2 # Guess values for system-dependent variables and create Makefiles.
3 # Generated by GNU Autoconf 2.69 for Wine 1.7.32.
5 # Report bugs to <wine-devel@winehq.org>.
8 # Copyright (C) 1992-1996, 1998-2012 Free Software Foundation, Inc.
11 # This configure script is free software; the Free Software Foundation
12 # gives unlimited permission to copy, distribute and modify it.
13 ## -------------------- ##
14 ## M4sh Initialization. ##
15 ## -------------------- ##
17 # Be more Bourne compatible
18 DUALCASE
=1; export DUALCASE
# for MKS sh
19 if test -n "${ZSH_VERSION+set}" && (emulate sh
) >/dev
/null
2>&1; then :
22 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
23 # is contrary to our usage. Disable this feature.
24 alias -g '${1+"$@"}'='"$@"'
27 case `(set -o) 2>/dev/null` in #(
39 # Printing a long string crashes Solaris 7 /usr/bin/printf.
40 as_echo
='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
41 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
42 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
43 # Prefer a ksh shell builtin over an external printf program on Solaris,
44 # but without wasting forks for bash or zsh.
45 if test -z "$BASH_VERSION$ZSH_VERSION" \
46 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
48 as_echo_n='print
-rn --'
49 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
53 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
54 as_echo_body='eval /usr
/ucb
/echo -n "$1$as_nl"'
55 as_echo_n='/usr
/ucb
/echo -n'
57 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
62 expr "X$arg" : "X\\(.*\\)$as_nl";
63 arg
=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
65 expr "X$arg" : "X\\(.*\\)" |
tr -d "$as_nl"
68 as_echo_n='sh
-c $as_echo_n_body as_echo
'
71 as_echo='sh
-c $as_echo_body as_echo
'
74 # The user is always right.
75 if test "${PATH_SEPARATOR+set}" != set; then
77 (PATH='/bin
;/bin
'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
78 (PATH='/bin
:/bin
'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
85 # We need space, tab and new line, in precisely that order. Quoting is
86 # there to prevent editors from complaining about space-tab.
87 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
88 # splitting by setting IFS to empty value.)
91 # Find who we are. Look in the path if we contain no directory separator.
94 *[\\/]* ) as_myself=$0 ;;
95 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
99 test -z "$as_dir" && as_dir=.
100 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
106 # We did not find ourselves, most probably we were run as `sh COMMAND'
107 # in which case we are not to be found in the path.
108 if test "x$as_myself" = x
; then
111 if test ! -f "$as_myself"; then
112 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
116 # Unset variables that we do not need and which cause bugs (e.g. in
117 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
118 # suppresses any "Segmentation fault" message there. '((' could
119 # trigger a bug in pdksh 5.2.14.
120 for as_var
in BASH_ENV ENV MAIL MAILPATH
121 do eval test x\
${$as_var+set} = xset \
122 && ( (unset $as_var) ||
exit 1) >/dev
/null
2>&1 && unset $as_var ||
:
135 (unset CDPATH
) >/dev
/null
2>&1 && unset CDPATH
137 # Use a proper internal environment variable to ensure we don't fall
138 # into an infinite loop, continuously re-executing ourselves.
139 if test x
"${_as_can_reexec}" != xno
&& test "x$CONFIG_SHELL" != x
; then
140 _as_can_reexec
=no
; export _as_can_reexec
;
141 # We cannot yet assume a decent shell, so we have to provide a
142 # neutralization value for shells without unset; and this also
143 # works around shells that cannot unset nonexistent variables.
144 # Preserve -v and -x to the replacement shell.
147 (unset BASH_ENV
) >/dev
/null
2>&1 && unset BASH_ENV ENV
149 *v
*x
* |
*x
*v
* ) as_opts
=-vx ;;
154 exec $CONFIG_SHELL $as_opts "$as_myself" ${1+"$@"}
155 # Admittedly, this is quite paranoid, since all the known shells bail
156 # out after a failed `exec'.
157 $as_echo "$0: could not re-execute with $CONFIG_SHELL" >&2
160 # We don't want this to propagate to other subprocesses.
161 { _as_can_reexec
=; unset _as_can_reexec
;}
162 if test "x$CONFIG_SHELL" = x
; then
163 as_bourne_compatible
="if test -n \"\${ZSH_VERSION+set}\" && (emulate sh) >/dev/null 2>&1; then :
166 # Pre-4.2 versions of Zsh do word splitting on \${1+\"\$@\"}, which
167 # is contrary to our usage. Disable this feature.
168 alias -g '\${1+\"\$@\"}'='\"\$@\"'
171 case \`(set -o) 2>/dev/null\` in #(
179 as_required
="as_fn_return () { (exit \$1); }
180 as_fn_success () { as_fn_return 0; }
181 as_fn_failure () { as_fn_return 1; }
182 as_fn_ret_success () { return 0; }
183 as_fn_ret_failure () { return 1; }
186 as_fn_success || { exitcode=1; echo as_fn_success failed.; }
187 as_fn_failure && { exitcode=1; echo as_fn_failure succeeded.; }
188 as_fn_ret_success || { exitcode=1; echo as_fn_ret_success failed.; }
189 as_fn_ret_failure && { exitcode=1; echo as_fn_ret_failure succeeded.; }
190 if ( set x; as_fn_ret_success y && test x = \"\$1\" ); then :
193 exitcode=1; echo positional parameters were not saved.
195 test x\$exitcode = x0 || exit 1
197 as_suggested
=" as_lineno_1=";as_suggested
=$as_suggested$LINENO;as_suggested
=$as_suggested" as_lineno_1a=\$LINENO
198 as_lineno_2=";as_suggested
=$as_suggested$LINENO;as_suggested
=$as_suggested" as_lineno_2a=\$LINENO
199 eval 'test \"x\$as_lineno_1'\$as_run'\" != \"x\$as_lineno_2'\$as_run'\" &&
200 test \"x\`expr \$as_lineno_1'\$as_run' + 1\`\" = \"x\$as_lineno_2'\$as_run'\"' || exit 1
201 test \$(( 1 + 1 )) = 2 || exit 1"
202 if (eval "$as_required") 2>/dev
/null
; then :
207 if test x
$as_have_required = xyes
&& (eval "$as_suggested") 2>/dev
/null
; then :
210 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
212 for as_dir
in /bin
$PATH_SEPARATOR/usr
/bin
$PATH_SEPARATOR$PATH
215 test -z "$as_dir" && as_dir
=.
219 for as_base
in sh bash ksh sh5
; do
220 # Try only shells that exist, to save several forks.
221 as_shell
=$as_dir/$as_base
222 if { test -f "$as_shell" ||
test -f "$as_shell.exe"; } &&
223 { $as_echo "$as_bourne_compatible""$as_required" | as_run
=a
"$as_shell"; } 2>/dev
/null
; then :
224 CONFIG_SHELL
=$as_shell as_have_required
=yes
225 if { $as_echo "$as_bourne_compatible""$as_suggested" | as_run
=a
"$as_shell"; } 2>/dev
/null
; then :
233 $as_found ||
{ if { test -f "$SHELL" ||
test -f "$SHELL.exe"; } &&
234 { $as_echo "$as_bourne_compatible""$as_required" | as_run
=a
"$SHELL"; } 2>/dev
/null
; then :
235 CONFIG_SHELL
=$SHELL as_have_required
=yes
240 if test "x$CONFIG_SHELL" != x
; then :
242 # We cannot yet assume a decent shell, so we have to provide a
243 # neutralization value for shells without unset; and this also
244 # works around shells that cannot unset nonexistent variables.
245 # Preserve -v and -x to the replacement shell.
248 (unset BASH_ENV
) >/dev
/null
2>&1 && unset BASH_ENV ENV
250 *v
*x
* |
*x
*v
* ) as_opts
=-vx ;;
255 exec $CONFIG_SHELL $as_opts "$as_myself" ${1+"$@"}
256 # Admittedly, this is quite paranoid, since all the known shells bail
257 # out after a failed `exec'.
258 $as_echo "$0: could not re-execute with $CONFIG_SHELL" >&2
262 if test x
$as_have_required = xno
; then :
263 $as_echo "$0: This script requires a shell more modern than all"
264 $as_echo "$0: the shells that I found on your system."
265 if test x
${ZSH_VERSION+set} = xset
; then
266 $as_echo "$0: In particular, zsh $ZSH_VERSION has bugs and should"
267 $as_echo "$0: be upgraded to zsh 4.3.4 or later."
269 $as_echo "$0: Please tell bug-autoconf@gnu.org and
270 $0: wine-devel@winehq.org about your system, including any
271 $0: error possibly output before this message. Then install
272 $0: a modern shell, or manually run the script under such a
273 $0: shell if you do have one."
279 SHELL
=${CONFIG_SHELL-/bin/sh}
281 # Unset more variables known to interfere with behavior of common tools.
282 CLICOLOR_FORCE
= GREP_OPTIONS
=
283 unset CLICOLOR_FORCE GREP_OPTIONS
285 ## --------------------- ##
286 ## M4sh Shell Functions. ##
287 ## --------------------- ##
290 # Portably unset VAR.
293 { eval $1=; unset $1;}
297 # as_fn_set_status STATUS
298 # -----------------------
299 # Set $? to STATUS, without forking.
307 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
317 # Create "$as_dir" as a directory, including parents if necessary.
322 -*) as_dir
=.
/$as_dir;;
324 test -d "$as_dir" ||
eval $as_mkdir_p ||
{
328 *\'*) as_qdir
=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
331 as_dirs
="'$as_qdir' $as_dirs"
332 as_dir
=`$as_dirname -- "$as_dir" ||
333 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
334 X"$as_dir" : 'X\(//\)[^/]' \| \
335 X"$as_dir" : 'X\(//\)$' \| \
336 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
337 $as_echo X"$as_dir" |
338 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
355 test -d "$as_dir" && break
357 test -z "$as_dirs" ||
eval "mkdir $as_dirs"
358 } ||
test -d "$as_dir" || as_fn_error $?
"cannot create directory $as_dir"
363 # as_fn_executable_p FILE
364 # -----------------------
365 # Test if FILE is an executable regular file.
366 as_fn_executable_p
()
368 test -f "$1" && test -x "$1"
369 } # as_fn_executable_p
370 # as_fn_append VAR VALUE
371 # ----------------------
372 # Append the text in VALUE to the end of the definition contained in VAR. Take
373 # advantage of any shell optimizations that allow amortized linear growth over
374 # repeated appends, instead of the typical quadratic growth present in naive
376 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev
/null
; then :
377 eval 'as_fn_append ()
390 # Perform arithmetic evaluation on the ARGs, and store the result in the
391 # global $as_val. Take advantage of shells that can avoid forks. The arguments
392 # must be portable across $(()) and expr.
393 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev
/null
; then :
401 as_val
=`expr "$@" || test $? -eq 1`
406 # as_fn_error STATUS ERROR [LINENO LOG_FD]
407 # ----------------------------------------
408 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
409 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
410 # script with STATUS, using 1 if that was 0.
413 as_status
=$1; test $as_status -eq 0 && as_status
=1
415 as_lineno
=${as_lineno-"$3"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
416 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
418 $as_echo "$as_me: error: $2" >&2
419 as_fn_exit
$as_status
422 if expr a
: '\(a\)' >/dev
/null
2>&1 &&
423 test "X`expr 00001 : '.*\(...\)'`" = X001
; then
429 if (basename -- /) >/dev
/null
2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
435 if (as_dir
=`dirname -- /` && test "X$as_dir" = X
/) >/dev
/null
2>&1; then
441 as_me
=`$as_basename -- "$0" ||
442 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
443 X"$0" : 'X\(//\)$' \| \
444 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
446 sed '/^.*\/\([^/][^/]*\)\/*$/{
460 # Avoid depending upon Character Ranges.
461 as_cr_letters
='abcdefghijklmnopqrstuvwxyz'
462 as_cr_LETTERS
='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
463 as_cr_Letters
=$as_cr_letters$as_cr_LETTERS
464 as_cr_digits
='0123456789'
465 as_cr_alnum
=$as_cr_Letters$as_cr_digits
468 as_lineno_1
=$LINENO as_lineno_1a
=$LINENO
469 as_lineno_2
=$LINENO as_lineno_2a
=$LINENO
470 eval 'test "x$as_lineno_1'$as_run'" != "x$as_lineno_2'$as_run'" &&
471 test "x`expr $as_lineno_1'$as_run' + 1`" = "x$as_lineno_2'$as_run'"' ||
{
472 # Blame Lee E. McMahon (1931-1989) for sed's syntax. :-)
484 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
488 chmod +x
"$as_me.lineno" ||
489 { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2; as_fn_exit
1; }
491 # If we had to re-execute with $CONFIG_SHELL, we're ensured to have
492 # already done that, so ensure we don't try to do so again and fall
493 # in an infinite loop. This has already happened in practice.
494 _as_can_reexec
=no
; export _as_can_reexec
495 # Don't try to exec as it changes $[0], causing all sort of problems
496 # (the dirname of $[0] is not the place where we might find the
497 # original and so on. Autoconf is especially sensitive to this).
499 # Exit status is that of the last command.
503 ECHO_C
= ECHO_N
= ECHO_T
=
504 case `echo -n x` in #(((((
506 case `echo 'xy\c'` in
507 *c
*) ECHO_T
=' ';; # ECHO_T is single tab character.
509 *) echo `echo ksh88 bug on AIX 6.1` > /dev
/null
516 rm -f conf$$ conf$$.exe conf$$.
file
517 if test -d conf$$.dir
; then
518 rm -f conf$$.dir
/conf$$.
file
521 mkdir conf$$.dir
2>/dev
/null
523 if (echo >conf$$.
file) 2>/dev
/null
; then
524 if ln -s conf$$.
file conf$$
2>/dev
/null
; then
526 # ... but there are two gotchas:
527 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
528 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
529 # In both cases, we have to default to `cp -pR'.
530 ln -s conf$$.
file conf$$.dir
2>/dev
/null
&& test ! -f conf$$.exe ||
532 elif ln conf$$.
file conf$$
2>/dev
/null
; then
540 rm -f conf$$ conf$$.exe conf$$.dir
/conf$$.
file conf$$.
file
541 rmdir conf$$.dir
2>/dev
/null
543 if mkdir
-p .
2>/dev
/null
; then
544 as_mkdir_p
='mkdir -p "$as_dir"'
546 test -d .
/-p && rmdir .
/-p
551 as_executable_p
=as_fn_executable_p
553 # Sed expression to map a string onto a valid CPP name.
554 as_tr_cpp
="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
556 # Sed expression to map a string onto a valid variable name.
557 as_tr_sh
="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
560 test -n "$DJDIR" ||
exec 7<&0 </dev
/null
564 # hostname on some systems (SVR3.2, old GNU/Linux) returns a bogus exit status,
565 # so uname gets run too.
566 ac_hostname
=`(hostname || uname -n) 2>/dev/null | sed 1q`
571 ac_default_prefix
=/usr
/local
573 ac_config_libobj_dir
=.
580 # Identity of this package.
582 PACKAGE_TARNAME
='wine'
583 PACKAGE_VERSION
='1.7.32'
584 PACKAGE_STRING
='Wine 1.7.32'
585 PACKAGE_BUGREPORT
='wine-devel@winehq.org'
586 PACKAGE_URL
='http://www.winehq.org'
588 ac_unique_file
="server/atom.c"
589 # Factoring default headers for most tests.
590 ac_includes_default
="\
592 #ifdef HAVE_SYS_TYPES_H
593 # include <sys/types.h>
595 #ifdef HAVE_SYS_STAT_H
596 # include <sys/stat.h>
602 # ifdef HAVE_STDLIB_H
607 # if !defined STDC_HEADERS && defined HAVE_MEMORY_H
612 #ifdef HAVE_STRINGS_H
613 # include <strings.h>
615 #ifdef HAVE_INTTYPES_H
616 # include <inttypes.h>
625 ac_subst_vars
='LTLIBOBJS
698 APPLICATIONSERVICES_LIBS
782 program_transform_name
795 enable_option_checking
799 enable_maintainer_mode
856 enable_api_ms_win_core_com_l1_1_0
857 enable_api_ms_win_core_console_l1_1_0
858 enable_api_ms_win_core_datetime_l1_1_0
859 enable_api_ms_win_core_datetime_l1_1_1
860 enable_api_ms_win_core_debug_l1_1_1
861 enable_api_ms_win_core_errorhandling_l1_1_1
862 enable_api_ms_win_core_fibers_l1_1_0
863 enable_api_ms_win_core_fibers_l1_1_1
864 enable_api_ms_win_core_file_l1_2_0
865 enable_api_ms_win_core_file_l2_1_0
866 enable_api_ms_win_core_file_l2_1_1
867 enable_api_ms_win_core_handle_l1_1_0
868 enable_api_ms_win_core_heap_l1_2_0
869 enable_api_ms_win_core_heap_obsolete_l1_1_0
870 enable_api_ms_win_core_interlocked_l1_2_0
871 enable_api_ms_win_core_io_l1_1_1
872 enable_api_ms_win_core_kernel32_legacy_l1_1_0
873 enable_api_ms_win_core_libraryloader_l1_1_1
874 enable_api_ms_win_core_localization_l1_2_0
875 enable_api_ms_win_core_localization_l1_2_1
876 enable_api_ms_win_core_localization_obsolete_l1_1_0
877 enable_api_ms_win_core_localregistry_l1_1_0
878 enable_api_ms_win_core_memory_l1_1_1
879 enable_api_ms_win_core_namedpipe_l1_2_0
880 enable_api_ms_win_core_processenvironment_l1_2_0
881 enable_api_ms_win_core_processthreads_l1_1_0
882 enable_api_ms_win_core_processthreads_l1_1_1
883 enable_api_ms_win_core_processthreads_l1_1_2
884 enable_api_ms_win_core_profile_l1_1_0
885 enable_api_ms_win_core_psapi_l1_1_0
886 enable_api_ms_win_core_registry_l1_1_0
887 enable_api_ms_win_core_rtlsupport_l1_2_0
888 enable_api_ms_win_core_shlwapi_legacy_l1_1_0
889 enable_api_ms_win_core_string_l1_1_0
890 enable_api_ms_win_core_synch_l1_2_0
891 enable_api_ms_win_core_sysinfo_l1_2_0
892 enable_api_ms_win_core_sysinfo_l1_2_1
893 enable_api_ms_win_core_threadpool_legacy_l1_1_0
894 enable_api_ms_win_core_timezone_l1_1_0
895 enable_api_ms_win_core_url_l1_1_0
896 enable_api_ms_win_core_util_l1_1_0
897 enable_api_ms_win_core_winrt_error_l1_1_0
898 enable_api_ms_win_core_winrt_l1_1_0
899 enable_api_ms_win_core_winrt_string_l1_1_0
900 enable_api_ms_win_downlevel_advapi32_l1_1_0
901 enable_api_ms_win_downlevel_advapi32_l2_1_0
902 enable_api_ms_win_downlevel_normaliz_l1_1_0
903 enable_api_ms_win_downlevel_ole32_l1_1_0
904 enable_api_ms_win_downlevel_shell32_l1_1_0
905 enable_api_ms_win_downlevel_shlwapi_l1_1_0
906 enable_api_ms_win_downlevel_shlwapi_l2_1_0
907 enable_api_ms_win_downlevel_user32_l1_1_0
908 enable_api_ms_win_downlevel_version_l1_1_0
909 enable_api_ms_win_eventing_provider_l1_1_0
910 enable_api_ms_win_ntuser_dc_access_l1_1_0
911 enable_api_ms_win_security_base_l1_1_0
912 enable_api_ms_win_security_base_l1_2_0
913 enable_api_ms_win_security_sddl_l1_1_0
914 enable_api_ms_win_service_core_l1_1_1
915 enable_api_ms_win_service_management_l1_1_0
916 enable_api_ms_win_service_winsvc_l1_2_0
957 enable_d3dcompiler_33
958 enable_d3dcompiler_34
959 enable_d3dcompiler_35
960 enable_d3dcompiler_36
961 enable_d3dcompiler_37
962 enable_d3dcompiler_38
963 enable_d3dcompiler_39
964 enable_d3dcompiler_40
965 enable_d3dcompiler_41
966 enable_d3dcompiler_42
967 enable_d3dcompiler_43
1042 enable_explorerframe
1043 enable_ext_ms_win_gdi_devcaps_l1_1_0
1193 enable_photometadatahandler
1275 enable_windowscodecs
1276 enable_windowscodecsext
1278 enable_winecoreaudio_drv
1280 enable_winegstreamer
1281 enable_winejoystick_drv
1287 enable_wineqtdecoder
1324 enable_documentation
1332 enable_aspnet_regiis
1365 enable_presentationfontcache
1378 enable_servicemodelreg
1399 enable_winemenubuilder
1401 enable_winemsibuilder
1415 ac_precious_vars
='build_alias
1464 # Initialize some variables set by options.
1466 ac_init_version
=false
1467 ac_unrecognized_opts
=
1468 ac_unrecognized_sep
=
1469 # The variables have the same names as the options, with
1470 # dashes changed to underlines.
1471 cache_file
=/dev
/null
1478 program_transform_name
=s
,x
,x
,
1486 # Installation directory options.
1487 # These are left unexpanded so users can "make install exec_prefix=/foo"
1488 # and all the variables that are supposed to be based on exec_prefix
1489 # by default will actually change.
1490 # Use braces instead of parens because sh, perl, etc. also accept them.
1491 # (The list follows the same order as the GNU Coding Standards.)
1492 bindir
='${exec_prefix}/bin'
1493 sbindir
='${exec_prefix}/sbin'
1494 libexecdir
='${exec_prefix}/libexec'
1495 datarootdir
='${prefix}/share'
1496 datadir
='${datarootdir}'
1497 sysconfdir
='${prefix}/etc'
1498 sharedstatedir
='${prefix}/com'
1499 localstatedir
='${prefix}/var'
1500 includedir
='${prefix}/include'
1501 oldincludedir
='/usr/include'
1502 docdir
='${datarootdir}/doc/${PACKAGE_TARNAME}'
1503 infodir
='${datarootdir}/info'
1508 libdir
='${exec_prefix}/lib'
1509 localedir
='${datarootdir}/locale'
1510 mandir
='${datarootdir}/man'
1516 # If the previous option needs an argument, assign it.
1517 if test -n "$ac_prev"; then
1518 eval $ac_prev=\
$ac_option
1524 *=?
*) ac_optarg
=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
1529 # Accept the important Cygnus configure options, so we can diagnose typos.
1531 case $ac_dashdash$ac_option in
1535 -bindir |
--bindir |
--bindi |
--bind |
--bin |
--bi)
1537 -bindir=* |
--bindir=* |
--bindi=* |
--bind=* |
--bin=* |
--bi=*)
1538 bindir
=$ac_optarg ;;
1540 -build |
--build |
--buil |
--bui |
--bu)
1541 ac_prev
=build_alias
;;
1542 -build=* |
--build=* |
--buil=* |
--bui=* |
--bu=*)
1543 build_alias
=$ac_optarg ;;
1545 -cache-file |
--cache-file |
--cache-fil |
--cache-fi \
1546 |
--cache-f |
--cache- |
--cache |
--cach |
--cac |
--ca |
--c)
1547 ac_prev
=cache_file
;;
1548 -cache-file=* |
--cache-file=* |
--cache-fil=* |
--cache-fi=* \
1549 |
--cache-f=* |
--cache-=* |
--cache=* |
--cach=* |
--cac=* |
--ca=* |
--c=*)
1550 cache_file
=$ac_optarg ;;
1552 --config-cache |
-C)
1553 cache_file
=config.cache
;;
1555 -datadir |
--datadir |
--datadi |
--datad)
1557 -datadir=* |
--datadir=* |
--datadi=* |
--datad=*)
1558 datadir
=$ac_optarg ;;
1560 -datarootdir |
--datarootdir |
--datarootdi |
--datarootd |
--dataroot \
1561 |
--dataroo |
--dataro |
--datar)
1562 ac_prev
=datarootdir
;;
1563 -datarootdir=* |
--datarootdir=* |
--datarootdi=* |
--datarootd=* \
1564 |
--dataroot=* |
--dataroo=* |
--dataro=* |
--datar=*)
1565 datarootdir
=$ac_optarg ;;
1567 -disable-* |
--disable-*)
1568 ac_useropt
=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
1569 # Reject names that are not valid shell variable names.
1570 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
1571 as_fn_error $?
"invalid feature name: $ac_useropt"
1572 ac_useropt_orig
=$ac_useropt
1573 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1574 case $ac_user_opts in
1576 "enable_
$ac_useropt"
1578 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
1579 ac_unrecognized_sep
=', ';;
1581 eval enable_
$ac_useropt=no
;;
1583 -docdir |
--docdir |
--docdi |
--doc |
--do)
1585 -docdir=* |
--docdir=* |
--docdi=* |
--doc=* |
--do=*)
1586 docdir
=$ac_optarg ;;
1588 -dvidir |
--dvidir |
--dvidi |
--dvid |
--dvi |
--dv)
1590 -dvidir=* |
--dvidir=* |
--dvidi=* |
--dvid=* |
--dvi=* |
--dv=*)
1591 dvidir
=$ac_optarg ;;
1593 -enable-* |
--enable-*)
1594 ac_useropt
=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
1595 # Reject names that are not valid shell variable names.
1596 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
1597 as_fn_error $?
"invalid feature name: $ac_useropt"
1598 ac_useropt_orig
=$ac_useropt
1599 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1600 case $ac_user_opts in
1602 "enable_
$ac_useropt"
1604 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
1605 ac_unrecognized_sep
=', ';;
1607 eval enable_
$ac_useropt=\
$ac_optarg ;;
1609 -exec-prefix |
--exec_prefix |
--exec-prefix |
--exec-prefi \
1610 |
--exec-pref |
--exec-pre |
--exec-pr |
--exec-p |
--exec- \
1611 |
--exec |
--exe |
--ex)
1612 ac_prev
=exec_prefix
;;
1613 -exec-prefix=* |
--exec_prefix=* |
--exec-prefix=* |
--exec-prefi=* \
1614 |
--exec-pref=* |
--exec-pre=* |
--exec-pr=* |
--exec-p=* |
--exec-=* \
1615 |
--exec=* |
--exe=* |
--ex=*)
1616 exec_prefix
=$ac_optarg ;;
1618 -gas |
--gas |
--ga |
--g)
1619 # Obsolete; use --with-gas.
1622 -help |
--help |
--hel |
--he |
-h)
1623 ac_init_help
=long
;;
1624 -help=r
* |
--help=r
* |
--hel=r
* |
--he=r
* |
-hr*)
1625 ac_init_help
=recursive
;;
1626 -help=s
* |
--help=s
* |
--hel=s
* |
--he=s
* |
-hs*)
1627 ac_init_help
=short
;;
1629 -host |
--host |
--hos |
--ho)
1630 ac_prev
=host_alias
;;
1631 -host=* |
--host=* |
--hos=* |
--ho=*)
1632 host_alias
=$ac_optarg ;;
1634 -htmldir |
--htmldir |
--htmldi |
--htmld |
--html |
--htm |
--ht)
1636 -htmldir=* |
--htmldir=* |
--htmldi=* |
--htmld=* |
--html=* |
--htm=* \
1638 htmldir
=$ac_optarg ;;
1640 -includedir |
--includedir |
--includedi |
--included |
--include \
1641 |
--includ |
--inclu |
--incl |
--inc)
1642 ac_prev
=includedir
;;
1643 -includedir=* |
--includedir=* |
--includedi=* |
--included=* |
--include=* \
1644 |
--includ=* |
--inclu=* |
--incl=* |
--inc=*)
1645 includedir
=$ac_optarg ;;
1647 -infodir |
--infodir |
--infodi |
--infod |
--info |
--inf)
1649 -infodir=* |
--infodir=* |
--infodi=* |
--infod=* |
--info=* |
--inf=*)
1650 infodir
=$ac_optarg ;;
1652 -libdir |
--libdir |
--libdi |
--libd)
1654 -libdir=* |
--libdir=* |
--libdi=* |
--libd=*)
1655 libdir
=$ac_optarg ;;
1657 -libexecdir |
--libexecdir |
--libexecdi |
--libexecd |
--libexec \
1658 |
--libexe |
--libex |
--libe)
1659 ac_prev
=libexecdir
;;
1660 -libexecdir=* |
--libexecdir=* |
--libexecdi=* |
--libexecd=* |
--libexec=* \
1661 |
--libexe=* |
--libex=* |
--libe=*)
1662 libexecdir
=$ac_optarg ;;
1664 -localedir |
--localedir |
--localedi |
--localed |
--locale)
1665 ac_prev
=localedir
;;
1666 -localedir=* |
--localedir=* |
--localedi=* |
--localed=* |
--locale=*)
1667 localedir
=$ac_optarg ;;
1669 -localstatedir |
--localstatedir |
--localstatedi |
--localstated \
1670 |
--localstate |
--localstat |
--localsta |
--localst |
--locals)
1671 ac_prev
=localstatedir
;;
1672 -localstatedir=* |
--localstatedir=* |
--localstatedi=* |
--localstated=* \
1673 |
--localstate=* |
--localstat=* |
--localsta=* |
--localst=* |
--locals=*)
1674 localstatedir
=$ac_optarg ;;
1676 -mandir |
--mandir |
--mandi |
--mand |
--man |
--ma |
--m)
1678 -mandir=* |
--mandir=* |
--mandi=* |
--mand=* |
--man=* |
--ma=* |
--m=*)
1679 mandir
=$ac_optarg ;;
1681 -nfp |
--nfp |
--nf)
1682 # Obsolete; use --without-fp.
1685 -no-create |
--no-create |
--no-creat |
--no-crea |
--no-cre \
1686 |
--no-cr |
--no-c |
-n)
1689 -no-recursion |
--no-recursion |
--no-recursio |
--no-recursi \
1690 |
--no-recurs |
--no-recur |
--no-recu |
--no-rec |
--no-re |
--no-r)
1693 -oldincludedir |
--oldincludedir |
--oldincludedi |
--oldincluded \
1694 |
--oldinclude |
--oldinclud |
--oldinclu |
--oldincl |
--oldinc \
1695 |
--oldin |
--oldi |
--old |
--ol |
--o)
1696 ac_prev
=oldincludedir
;;
1697 -oldincludedir=* |
--oldincludedir=* |
--oldincludedi=* |
--oldincluded=* \
1698 |
--oldinclude=* |
--oldinclud=* |
--oldinclu=* |
--oldincl=* |
--oldinc=* \
1699 |
--oldin=* |
--oldi=* |
--old=* |
--ol=* |
--o=*)
1700 oldincludedir
=$ac_optarg ;;
1702 -prefix |
--prefix |
--prefi |
--pref |
--pre |
--pr |
--p)
1704 -prefix=* |
--prefix=* |
--prefi=* |
--pref=* |
--pre=* |
--pr=* |
--p=*)
1705 prefix
=$ac_optarg ;;
1707 -program-prefix |
--program-prefix |
--program-prefi |
--program-pref \
1708 |
--program-pre |
--program-pr |
--program-p)
1709 ac_prev
=program_prefix
;;
1710 -program-prefix=* |
--program-prefix=* |
--program-prefi=* \
1711 |
--program-pref=* |
--program-pre=* |
--program-pr=* |
--program-p=*)
1712 program_prefix
=$ac_optarg ;;
1714 -program-suffix |
--program-suffix |
--program-suffi |
--program-suff \
1715 |
--program-suf |
--program-su |
--program-s)
1716 ac_prev
=program_suffix
;;
1717 -program-suffix=* |
--program-suffix=* |
--program-suffi=* \
1718 |
--program-suff=* |
--program-suf=* |
--program-su=* |
--program-s=*)
1719 program_suffix
=$ac_optarg ;;
1721 -program-transform-name |
--program-transform-name \
1722 |
--program-transform-nam |
--program-transform-na \
1723 |
--program-transform-n |
--program-transform- \
1724 |
--program-transform |
--program-transfor \
1725 |
--program-transfo |
--program-transf \
1726 |
--program-trans |
--program-tran \
1727 |
--progr-tra |
--program-tr |
--program-t)
1728 ac_prev
=program_transform_name
;;
1729 -program-transform-name=* |
--program-transform-name=* \
1730 |
--program-transform-nam=* |
--program-transform-na=* \
1731 |
--program-transform-n=* |
--program-transform-=* \
1732 |
--program-transform=* |
--program-transfor=* \
1733 |
--program-transfo=* |
--program-transf=* \
1734 |
--program-trans=* |
--program-tran=* \
1735 |
--progr-tra=* |
--program-tr=* |
--program-t=*)
1736 program_transform_name
=$ac_optarg ;;
1738 -pdfdir |
--pdfdir |
--pdfdi |
--pdfd |
--pdf |
--pd)
1740 -pdfdir=* |
--pdfdir=* |
--pdfdi=* |
--pdfd=* |
--pdf=* |
--pd=*)
1741 pdfdir
=$ac_optarg ;;
1743 -psdir |
--psdir |
--psdi |
--psd |
--ps)
1745 -psdir=* |
--psdir=* |
--psdi=* |
--psd=* |
--ps=*)
1748 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
1749 |
-silent |
--silent |
--silen |
--sile |
--sil)
1752 -sbindir |
--sbindir |
--sbindi |
--sbind |
--sbin |
--sbi |
--sb)
1754 -sbindir=* |
--sbindir=* |
--sbindi=* |
--sbind=* |
--sbin=* \
1756 sbindir
=$ac_optarg ;;
1758 -sharedstatedir |
--sharedstatedir |
--sharedstatedi \
1759 |
--sharedstated |
--sharedstate |
--sharedstat |
--sharedsta \
1760 |
--sharedst |
--shareds |
--shared |
--share |
--shar \
1762 ac_prev
=sharedstatedir
;;
1763 -sharedstatedir=* |
--sharedstatedir=* |
--sharedstatedi=* \
1764 |
--sharedstated=* |
--sharedstate=* |
--sharedstat=* |
--sharedsta=* \
1765 |
--sharedst=* |
--shareds=* |
--shared=* |
--share=* |
--shar=* \
1767 sharedstatedir
=$ac_optarg ;;
1769 -site |
--site |
--sit)
1771 -site=* |
--site=* |
--sit=*)
1774 -srcdir |
--srcdir |
--srcdi |
--srcd |
--src |
--sr)
1776 -srcdir=* |
--srcdir=* |
--srcdi=* |
--srcd=* |
--src=* |
--sr=*)
1777 srcdir
=$ac_optarg ;;
1779 -sysconfdir |
--sysconfdir |
--sysconfdi |
--sysconfd |
--sysconf \
1780 |
--syscon |
--sysco |
--sysc |
--sys |
--sy)
1781 ac_prev
=sysconfdir
;;
1782 -sysconfdir=* |
--sysconfdir=* |
--sysconfdi=* |
--sysconfd=* |
--sysconf=* \
1783 |
--syscon=* |
--sysco=* |
--sysc=* |
--sys=* |
--sy=*)
1784 sysconfdir
=$ac_optarg ;;
1786 -target |
--target |
--targe |
--targ |
--tar |
--ta |
--t)
1787 ac_prev
=target_alias
;;
1788 -target=* |
--target=* |
--targe=* |
--targ=* |
--tar=* |
--ta=* |
--t=*)
1789 target_alias
=$ac_optarg ;;
1791 -v |
-verbose |
--verbose |
--verbos |
--verbo |
--verb)
1794 -version |
--version |
--versio |
--versi |
--vers |
-V)
1795 ac_init_version
=: ;;
1798 ac_useropt
=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1799 # Reject names that are not valid shell variable names.
1800 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
1801 as_fn_error $?
"invalid package name: $ac_useropt"
1802 ac_useropt_orig
=$ac_useropt
1803 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1804 case $ac_user_opts in
1808 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
1809 ac_unrecognized_sep
=', ';;
1811 eval with_
$ac_useropt=\
$ac_optarg ;;
1813 -without-* |
--without-*)
1814 ac_useropt
=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1815 # Reject names that are not valid shell variable names.
1816 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
1817 as_fn_error $?
"invalid package name: $ac_useropt"
1818 ac_useropt_orig
=$ac_useropt
1819 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1820 case $ac_user_opts in
1824 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
1825 ac_unrecognized_sep
=', ';;
1827 eval with_
$ac_useropt=no
;;
1830 # Obsolete; use --with-x.
1833 -x-includes |
--x-includes |
--x-include |
--x-includ |
--x-inclu \
1834 |
--x-incl |
--x-inc |
--x-in |
--x-i)
1835 ac_prev
=x_includes
;;
1836 -x-includes=* |
--x-includes=* |
--x-include=* |
--x-includ=* |
--x-inclu=* \
1837 |
--x-incl=* |
--x-inc=* |
--x-in=* |
--x-i=*)
1838 x_includes
=$ac_optarg ;;
1840 -x-libraries |
--x-libraries |
--x-librarie |
--x-librari \
1841 |
--x-librar |
--x-libra |
--x-libr |
--x-lib |
--x-li |
--x-l)
1842 ac_prev
=x_libraries
;;
1843 -x-libraries=* |
--x-libraries=* |
--x-librarie=* |
--x-librari=* \
1844 |
--x-librar=* |
--x-libra=* |
--x-libr=* |
--x-lib=* |
--x-li=* |
--x-l=*)
1845 x_libraries
=$ac_optarg ;;
1847 -*) as_fn_error $?
"unrecognized option: \`$ac_option'
1848 Try \`$0 --help' for more information"
1852 ac_envvar
=`expr "x$ac_option" : 'x\([^=]*\)='`
1853 # Reject names that are not valid shell variable names.
1854 case $ac_envvar in #(
1855 '' |
[0-9]* |
*[!_
$as_cr_alnum]* )
1856 as_fn_error $?
"invalid variable name: \`$ac_envvar'" ;;
1858 eval $ac_envvar=\
$ac_optarg
1859 export $ac_envvar ;;
1862 # FIXME: should be removed in autoconf 3.0.
1863 $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1864 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev
/null
&&
1865 $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1866 : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}"
1872 if test -n "$ac_prev"; then
1873 ac_option
=--`echo $ac_prev | sed 's/_/-/g'`
1874 as_fn_error $?
"missing argument to $ac_option"
1877 if test -n "$ac_unrecognized_opts"; then
1878 case $enable_option_checking in
1880 fatal
) as_fn_error $?
"unrecognized options: $ac_unrecognized_opts" ;;
1881 *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
1885 # Check all directory arguments for consistency.
1886 for ac_var
in exec_prefix prefix bindir sbindir libexecdir datarootdir \
1887 datadir sysconfdir sharedstatedir localstatedir includedir \
1888 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1889 libdir localedir mandir
1891 eval ac_val
=\$
$ac_var
1892 # Remove trailing slashes.
1895 ac_val
=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
1896 eval $ac_var=\
$ac_val;;
1898 # Be sure to have absolute directory names.
1900 [\\/$
]* | ?
:[\\/]* ) continue;;
1901 NONE |
'' ) case $ac_var in *prefix
) continue;; esac;;
1903 as_fn_error $?
"expected an absolute directory name for --$ac_var: $ac_val"
1906 # There might be people who depend on the old broken behavior: `$host'
1907 # used to hold the argument of --host etc.
1908 # FIXME: To remove some day.
1911 target
=$target_alias
1913 # FIXME: To remove some day.
1914 if test "x$host_alias" != x
; then
1915 if test "x$build_alias" = x
; then
1916 cross_compiling
=maybe
1917 elif test "x$build_alias" != "x$host_alias"; then
1923 test -n "$host_alias" && ac_tool_prefix
=$host_alias-
1925 test "$silent" = yes && exec 6>/dev
/null
1928 ac_pwd
=`pwd` && test -n "$ac_pwd" &&
1929 ac_ls_di
=`ls -di .` &&
1930 ac_pwd_ls_di
=`cd "$ac_pwd" && ls -di .` ||
1931 as_fn_error $?
"working directory cannot be determined"
1932 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1933 as_fn_error $?
"pwd does not report name of working directory"
1936 # Find the source files, if location was not specified.
1937 if test -z "$srcdir"; then
1938 ac_srcdir_defaulted
=yes
1939 # Try the directory containing this script, then the parent directory.
1940 ac_confdir
=`$as_dirname -- "$as_myself" ||
1941 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1942 X"$as_myself" : 'X\(//\)[^/]' \| \
1943 X"$as_myself" : 'X\(//\)$' \| \
1944 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
1945 $as_echo X"$as_myself" |
1946 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1964 if test ! -r "$srcdir/$ac_unique_file"; then
1968 ac_srcdir_defaulted
=no
1970 if test ! -r "$srcdir/$ac_unique_file"; then
1971 test "$ac_srcdir_defaulted" = yes && srcdir
="$ac_confdir or .."
1972 as_fn_error $?
"cannot find sources ($ac_unique_file) in $srcdir"
1974 ac_msg
="sources are in $srcdir, but \`cd $srcdir' does not work"
1976 cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
1978 # When building in place, set srcdir=.
1979 if test "$ac_abs_confdir" = "$ac_pwd"; then
1982 # Remove unnecessary trailing slashes from srcdir.
1983 # Double slashes in file names in object file debugging info
1984 # mess up M-x gdb in Emacs.
1986 */) srcdir
=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1988 for ac_var
in $ac_precious_vars; do
1989 eval ac_env_
${ac_var}_set=\${${ac_var}+set}
1990 eval ac_env_
${ac_var}_value
=\$
${ac_var}
1991 eval ac_cv_env_
${ac_var}_set=\${${ac_var}+set}
1992 eval ac_cv_env_
${ac_var}_value
=\$
${ac_var}
1996 # Report the --help message.
1998 if test "$ac_init_help" = "long"; then
1999 # Omit some internal or obsolete options to make the list less imposing.
2000 # This message is too long to be a string in the A/UX 3.1 sh.
2002 \`configure' configures Wine 1.7.32 to adapt to many kinds of systems.
2004 Usage: $0 [OPTION]... [VAR=VALUE]...
2006 To assign environment variables (e.g., CC, CFLAGS...), specify them as
2007 VAR=VALUE. See below for descriptions of some of the useful variables.
2009 Defaults for the options are specified in brackets.
2012 -h, --help display this help and exit
2013 --help=short display options specific to this package
2014 --help=recursive display the short help of all the included packages
2015 -V, --version display version information and exit
2016 -q, --quiet, --silent do not print \`checking ...' messages
2017 --cache-file=FILE cache test results in FILE [disabled]
2018 -C, --config-cache alias for \`--cache-file=config.cache'
2019 -n, --no-create do not create output files
2020 --srcdir=DIR find the sources in DIR [configure dir or \`..']
2022 Installation directories:
2023 --prefix=PREFIX install architecture-independent files in PREFIX
2024 [$ac_default_prefix]
2025 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
2028 By default, \`make install' will install all the files in
2029 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
2030 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
2031 for instance \`--prefix=\$HOME'.
2033 For better control, use the options below.
2035 Fine tuning of the installation directories:
2036 --bindir=DIR user executables [EPREFIX/bin]
2037 --sbindir=DIR system admin executables [EPREFIX/sbin]
2038 --libexecdir=DIR program executables [EPREFIX/libexec]
2039 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
2040 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
2041 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
2042 --libdir=DIR object code libraries [EPREFIX/lib]
2043 --includedir=DIR C header files [PREFIX/include]
2044 --oldincludedir=DIR C header files for non-gcc [/usr/include]
2045 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
2046 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
2047 --infodir=DIR info documentation [DATAROOTDIR/info]
2048 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
2049 --mandir=DIR man documentation [DATAROOTDIR/man]
2050 --docdir=DIR documentation root [DATAROOTDIR/doc/wine]
2051 --htmldir=DIR html documentation [DOCDIR]
2052 --dvidir=DIR dvi documentation [DOCDIR]
2053 --pdfdir=DIR pdf documentation [DOCDIR]
2054 --psdir=DIR ps documentation [DOCDIR]
2060 --x-includes=DIR X include files are
in DIR
2061 --x-libraries=DIR X library files are
in DIR
2064 --build=BUILD configure
for building on BUILD
[guessed
]
2065 --host=HOST cross-compile to build programs to run on HOST
[BUILD
]
2069 if test -n "$ac_init_help"; then
2070 case $ac_init_help in
2071 short | recursive
) echo "Configuration of Wine 1.7.32:";;
2076 --disable-option-checking ignore unrecognized
--enable/--with options
2077 --disable-FEATURE do not include FEATURE
(same as
--enable-FEATURE=no
)
2078 --enable-FEATURE[=ARG
] include FEATURE
[ARG
=yes]
2079 --disable-win16 do not include Win16 support
2080 --enable-win64 build a Win64 emulator on AMD64
(won
't run Win32
2082 --disable-tests do not build the regression tests
2083 --enable-maintainer-mode
2084 enable maintainer-specific build rules
2085 --disable-largefile omit support for large files
2088 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
2089 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
2090 --without-alsa do not use the Alsa sound support
2091 --without-capi do not use CAPI (ISDN support)
2092 --without-cms do not use CMS (color management support)
2093 --without-coreaudio do not use the CoreAudio sound support
2094 --without-cups do not use CUPS
2095 --without-curses do not use (n)curses
2096 --without-dbus do not use DBus (dynamic device support)
2097 --without-fontconfig do not use fontconfig
2098 --without-freetype do not use the FreeType library
2099 --without-gettext do not use gettext
2100 --with-gettextpo use the GetTextPO library to rebuild po files
2101 --without-gphoto do not use gphoto (Digital Camera support)
2102 --without-glu do not use the GLU library
2103 --without-gnutls do not use GnuTLS (schannel support)
2104 --without-gsm do not use libgsm (GSM 06.10 codec support)
2105 --without-gstreamer do not use GStreamer (codecs support)
2106 --without-hal do not use HAL (dynamic device support)
2107 --without-jpeg do not use JPEG
2108 --without-ldap do not use LDAP
2109 --without-mpg123 do not use the mpg123 library
2110 --without-netapi do not use the Samba NetAPI library
2111 --without-openal do not use OpenAL
2112 --without-opencl do not use OpenCL
2113 --without-opengl do not use OpenGL
2114 --without-osmesa do not use the OSMesa library
2115 --without-oss do not use the OSS sound support
2116 --without-pcap do not use the Packet Capture library
2117 --without-png do not use PNG
2118 --without-pthread do not use the pthread library
2119 --without-sane do not use SANE (scanner support)
2120 --without-tiff do not use TIFF
2121 --without-v4l do not use v4l1 (v4l support)
2122 --without-xcomposite do not use the Xcomposite extension
2123 --without-xcursor do not use the Xcursor extension
2124 --without-xinerama do not use Xinerama (multi-monitor support)
2125 --without-xinput do not use the Xinput extension
2126 --without-xinput2 do not use the Xinput 2 extension
2127 --without-xml do not use XML
2128 --without-xrandr do not use Xrandr (resolution changes)
2129 --without-xrender do not use the Xrender extension
2130 --without-xshape do not use the Xshape extension
2131 --without-xshm do not use XShm (shared memory extension)
2132 --without-xslt do not use XSLT
2133 --without-xxf86vm do not use XFree video mode extension
2134 --without-zlib do not use Zlib (data compression)
2135 --with-wine-tools=DIR use Wine tools from directory DIR
2136 --with-wine64=DIR use the 64-bit Wine in DIR for a Wow64 build
2137 --with-x use the X Window System
2139 Some influential environment variables:
2140 CC C compiler command
2141 CFLAGS C compiler flags
2142 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
2143 nonstandard directory <lib dir>
2144 LIBS libraries to pass to the linker, e.g. -l<library>
2145 CPPFLAGS (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if
2146 you have headers in a nonstandard directory <include dir>
2147 CXX C++ compiler command
2148 CXXFLAGS C++ compiler flags
2150 XMKMF Path to xmkmf, Makefile generator for X Window System
2151 XML2_CFLAGS C compiler flags for libxml-2.0, overriding pkg-config
2152 XML2_LIBS Linker flags for libxml-2.0, overriding pkg-config
2153 XSLT_CFLAGS C compiler flags for libxslt, overriding pkg-config
2154 XSLT_LIBS Linker flags for libxslt, overriding pkg-config
2155 DBUS_CFLAGS C compiler flags for dbus-1, overriding pkg-config
2156 DBUS_LIBS Linker flags for dbus-1, overriding pkg-config
2157 HAL_CFLAGS C compiler flags for hal, overriding pkg-config
2158 HAL_LIBS Linker flags for hal, overriding pkg-config
2160 C compiler flags for gnutls, overriding pkg-config
2161 GNUTLS_LIBS Linker flags for gnutls, overriding pkg-config
2162 SANE_CFLAGS C compiler flags for libsane, overriding pkg-config
2163 SANE_LIBS Linker flags for libsane, overriding pkg-config
2165 C compiler flags for libgphoto2, overriding pkg-config
2167 Linker flags for libgphoto2, overriding pkg-config
2169 C compiler flags for libgphoto2_port, overriding pkg-config
2171 Linker flags for libgphoto2_port, overriding pkg-config
2173 C compiler flags for lcms2, overriding pkg-config
2174 LCMS2_LIBS Linker flags for lcms2, overriding pkg-config
2176 C compiler flags for freetype2, overriding pkg-config
2178 Linker flags for freetype2, overriding pkg-config
2180 C compiler flags for gstreamer-app-0.10, overriding pkg-config
2182 Linker flags for gstreamer-app-0.10, overriding pkg-config
2184 C compiler flags for capi20, overriding pkg-config
2185 CAPI20_LIBS Linker flags for capi20, overriding pkg-config
2187 C compiler flags for fontconfig, overriding pkg-config
2189 Linker flags for fontconfig, overriding pkg-config
2190 JPEG_CFLAGS C compiler flags for libjpeg, overriding pkg-config
2191 JPEG_LIBS Linker flags for libjpeg, overriding pkg-config
2192 PNG_CFLAGS C compiler flags for libpng, overriding pkg-config
2193 PNG_LIBS Linker flags for libpng, overriding pkg-config
2194 TIFF_CFLAGS C compiler flags for libtiff, overriding pkg-config
2195 TIFF_LIBS Linker flags for libtiff, overriding pkg-config
2197 C compiler flags for libmpg123, overriding pkg-config
2198 MPG123_LIBS Linker flags for libmpg123, overriding pkg-config
2200 Use these variables to override the choices made by `configure' or to
help
2201 it to
find libraries and programs with nonstandard names
/locations.
2203 Report bugs to
<wine-devel@winehq.org
>.
2204 Wine home page
: <http
://www.winehq.org
>.
2209 if test "$ac_init_help" = "recursive"; then
2210 # If there are subdirs, report their specific --help.
2211 for ac_dir
in : $ac_subdirs_all; do test "x$ac_dir" = x
: && continue
2212 test -d "$ac_dir" ||
2213 { cd "$srcdir" && ac_pwd
=`pwd` && srcdir
=.
&& test -d "$ac_dir"; } ||
2218 .
) ac_dir_suffix
= ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
2220 ac_dir_suffix
=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
2221 # A ".." for each directory in $ac_dir_suffix.
2222 ac_top_builddir_sub
=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
2223 case $ac_top_builddir_sub in
2224 "") ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
2225 *) ac_top_build_prefix
=$ac_top_builddir_sub/ ;;
2228 ac_abs_top_builddir
=$ac_pwd
2229 ac_abs_builddir
=$ac_pwd$ac_dir_suffix
2230 # for backward compatibility:
2231 ac_top_builddir
=$ac_top_build_prefix
2234 .
) # We are building in place.
2236 ac_top_srcdir
=$ac_top_builddir_sub
2237 ac_abs_top_srcdir
=$ac_pwd ;;
2238 [\\/]* | ?
:[\\/]* ) # Absolute name.
2239 ac_srcdir
=$srcdir$ac_dir_suffix;
2240 ac_top_srcdir
=$srcdir
2241 ac_abs_top_srcdir
=$srcdir ;;
2243 ac_srcdir
=$ac_top_build_prefix$srcdir$ac_dir_suffix
2244 ac_top_srcdir
=$ac_top_build_prefix$srcdir
2245 ac_abs_top_srcdir
=$ac_pwd/$srcdir ;;
2247 ac_abs_srcdir
=$ac_abs_top_srcdir$ac_dir_suffix
2249 cd "$ac_dir" ||
{ ac_status
=$?
; continue; }
2250 # Check for guested configure.
2251 if test -f "$ac_srcdir/configure.gnu"; then
2253 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
2254 elif test -f "$ac_srcdir/configure"; then
2256 $SHELL "$ac_srcdir/configure" --help=recursive
2258 $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
2260 cd "$ac_pwd" ||
{ ac_status
=$?
; break; }
2264 test -n "$ac_init_help" && exit $ac_status
2265 if $ac_init_version; then
2267 Wine configure
1.7.32
2268 generated by GNU Autoconf
2.69
2270 Copyright
(C
) 2012 Free Software Foundation
, Inc.
2271 This configure
script is free software
; the Free Software Foundation
2272 gives unlimited permission to copy
, distribute and modify it.
2277 ## ------------------------ ##
2278 ## Autoconf initialization. ##
2279 ## ------------------------ ##
2281 # ac_fn_c_try_compile LINENO
2282 # --------------------------
2283 # Try to compile conftest.$ac_ext, and return whether this succeeded.
2284 ac_fn_c_try_compile
()
2286 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
2287 rm -f conftest.
$ac_objext
2288 if { { ac_try
="$ac_compile"
2290 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
2291 *) ac_try_echo=$ac_try;;
2293 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2294 $as_echo "$ac_try_echo"; } >&5
2295 (eval "$ac_compile") 2>conftest.err
2297 if test -s conftest.err; then
2298 grep -v '^ *+' conftest.err >conftest.er1
2299 cat conftest.er1 >&5
2300 mv -f conftest.er1 conftest.err
2302 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2303 test $ac_status = 0; } && {
2304 test -z "$ac_c_werror_flag" ||
2305 test ! -s conftest.err
2306 } && test -s conftest.$ac_objext; then :
2309 $as_echo "$as_me: failed program was:" >&5
2310 sed 's/^/| /' conftest.$ac_ext >&5
2314 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2315 as_fn_set_status $ac_retval
2317 } # ac_fn_c_try_compile
2319 # ac_fn_cxx_try_compile LINENO
2320 # ----------------------------
2321 # Try to compile conftest.$ac_ext, and return whether this succeeded.
2322 ac_fn_cxx_try_compile ()
2324 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2325 rm -f conftest.$ac_objext
2326 if { { ac_try="$ac_compile"
2328 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
2329 *) ac_try_echo
=$ac_try;;
2331 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2332 $as_echo "$ac_try_echo"; } >&5
2333 (eval "$ac_compile") 2>conftest.err
2335 if test -s conftest.err
; then
2336 grep -v '^ *+' conftest.err
>conftest.er1
2337 cat conftest.er1
>&5
2338 mv -f conftest.er1 conftest.err
2340 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2341 test $ac_status = 0; } && {
2342 test -z "$ac_cxx_werror_flag" ||
2343 test ! -s conftest.err
2344 } && test -s conftest.
$ac_objext; then :
2347 $as_echo "$as_me: failed program was:" >&5
2348 sed 's/^/| /' conftest.
$ac_ext >&5
2352 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2353 as_fn_set_status
$ac_retval
2355 } # ac_fn_cxx_try_compile
2357 # ac_fn_c_try_link LINENO
2358 # -----------------------
2359 # Try to link conftest.$ac_ext, and return whether this succeeded.
2362 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
2363 rm -f conftest.
$ac_objext conftest
$ac_exeext
2364 if { { ac_try
="$ac_link"
2366 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
2367 *) ac_try_echo=$ac_try;;
2369 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2370 $as_echo "$ac_try_echo"; } >&5
2371 (eval "$ac_link") 2>conftest.err
2373 if test -s conftest.err; then
2374 grep -v '^ *+' conftest.err >conftest.er1
2375 cat conftest.er1 >&5
2376 mv -f conftest.er1 conftest.err
2378 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2379 test $ac_status = 0; } && {
2380 test -z "$ac_c_werror_flag" ||
2381 test ! -s conftest.err
2382 } && test -s conftest$ac_exeext && {
2383 test "$cross_compiling" = yes ||
2384 test -x conftest$ac_exeext
2388 $as_echo "$as_me: failed program was:" >&5
2389 sed 's/^/| /' conftest.$ac_ext >&5
2393 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
2394 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
2395 # interfere with the next link command; also delete a directory that is
2396 # left behind by Apple's compiler. We do this before executing the actions.
2397 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
2398 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2399 as_fn_set_status $ac_retval
2401 } # ac_fn_c_try_link
2403 # ac_fn_c_try_cpp LINENO
2404 # ----------------------
2405 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
2408 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2409 if { { ac_try="$ac_cpp conftest.$ac_ext"
2411 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
2412 *) ac_try_echo
=$ac_try;;
2414 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2415 $as_echo "$ac_try_echo"; } >&5
2416 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
2418 if test -s conftest.err
; then
2419 grep -v '^ *+' conftest.err
>conftest.er1
2420 cat conftest.er1
>&5
2421 mv -f conftest.er1 conftest.err
2423 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2424 test $ac_status = 0; } > conftest.i
&& {
2425 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
2426 test ! -s conftest.err
2430 $as_echo "$as_me: failed program was:" >&5
2431 sed 's/^/| /' conftest.
$ac_ext >&5
2435 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2436 as_fn_set_status
$ac_retval
2440 # ac_fn_c_check_header_mongrel LINENO HEADER VAR INCLUDES
2441 # -------------------------------------------------------
2442 # Tests whether HEADER exists, giving a warning if it cannot be compiled using
2443 # the include files in INCLUDES and setting the cache variable VAR
2445 ac_fn_c_check_header_mongrel
()
2447 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
2448 if eval \
${$3+:} false
; then :
2449 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2450 $as_echo_n "checking for $2... " >&6; }
2451 if eval \
${$3+:} false
; then :
2452 $as_echo_n "(cached) " >&6
2455 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2456 $as_echo "$ac_res" >&6; }
2458 # Is the header compilable?
2459 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
2460 $as_echo_n "checking $2 usability... " >&6; }
2461 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
2462 /* end confdefs.h. */
2466 if ac_fn_c_try_compile
"$LINENO"; then :
2467 ac_header_compiler
=yes
2469 ac_header_compiler
=no
2471 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
2472 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
2473 $as_echo "$ac_header_compiler" >&6; }
2475 # Is the header present?
2476 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
2477 $as_echo_n "checking $2 presence... " >&6; }
2478 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
2479 /* end confdefs.h. */
2482 if ac_fn_c_try_cpp
"$LINENO"; then :
2483 ac_header_preproc
=yes
2485 ac_header_preproc
=no
2487 rm -f conftest.err conftest.i conftest.
$ac_ext
2488 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
2489 $as_echo "$ac_header_preproc" >&6; }
2491 # So? What about this header?
2492 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in #((
2494 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
2495 $as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
2496 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
2497 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
2500 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
2501 $as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
2502 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: check for missing prerequisite headers?" >&5
2503 $as_echo "$as_me: WARNING: $2: check for missing prerequisite headers?" >&2;}
2504 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
2505 $as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
2506 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&5
2507 $as_echo "$as_me: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&2;}
2508 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
2509 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
2510 ( $as_echo "## ------------------------------------ ##
2511 ## Report this to wine-devel@winehq.org ##
2512 ## ------------------------------------ ##"
2513 ) |
sed "s/^/$as_me: WARNING: /" >&2
2516 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2517 $as_echo_n "checking for $2... " >&6; }
2518 if eval \
${$3+:} false
; then :
2519 $as_echo_n "(cached) " >&6
2521 eval "$3=\$ac_header_compiler"
2524 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2525 $as_echo "$ac_res" >&6; }
2527 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2529 } # ac_fn_c_check_header_mongrel
2531 # ac_fn_c_try_run LINENO
2532 # ----------------------
2533 # Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
2534 # that executables *can* be run.
2537 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
2538 if { { ac_try
="$ac_link"
2540 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
2541 *) ac_try_echo=$ac_try;;
2543 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2544 $as_echo "$ac_try_echo"; } >&5
2545 (eval "$ac_link") 2>&5
2547 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2548 test $ac_status = 0; } && { ac_try='./conftest$ac_exeext'
2549 { { case "(($ac_try" in
2550 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
2551 *) ac_try_echo
=$ac_try;;
2553 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2554 $as_echo "$ac_try_echo"; } >&5
2555 (eval "$ac_try") 2>&5
2557 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2558 test $ac_status = 0; }; }; then :
2561 $as_echo "$as_me: program exited with status $ac_status" >&5
2562 $as_echo "$as_me: failed program was:" >&5
2563 sed 's/^/| /' conftest.
$ac_ext >&5
2565 ac_retval
=$ac_status
2567 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
2568 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2569 as_fn_set_status
$ac_retval
2573 # ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
2574 # -------------------------------------------------------
2575 # Tests whether HEADER exists and can be compiled using the include files in
2576 # INCLUDES, setting the cache variable VAR accordingly.
2577 ac_fn_c_check_header_compile
()
2579 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
2580 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2581 $as_echo_n "checking for $2... " >&6; }
2582 if eval \
${$3+:} false
; then :
2583 $as_echo_n "(cached) " >&6
2585 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
2586 /* end confdefs.h. */
2590 if ac_fn_c_try_compile
"$LINENO"; then :
2595 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
2598 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2599 $as_echo "$ac_res" >&6; }
2600 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2602 } # ac_fn_c_check_header_compile
2604 # ac_fn_c_check_func LINENO FUNC VAR
2605 # ----------------------------------
2606 # Tests whether FUNC exists, setting the cache variable VAR accordingly
2607 ac_fn_c_check_func
()
2609 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
2610 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2611 $as_echo_n "checking for $2... " >&6; }
2612 if eval \
${$3+:} false
; then :
2613 $as_echo_n "(cached) " >&6
2615 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
2616 /* end confdefs.h. */
2617 /* Define $2 to an innocuous variant, in case <limits.h> declares $2.
2618 For example, HP-UX 11i <limits.h> declares gettimeofday. */
2619 #define $2 innocuous_$2
2621 /* System header to define __stub macros and hopefully few prototypes,
2622 which can conflict with char $2 (); below.
2623 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
2624 <limits.h> exists even on freestanding compilers. */
2627 # include <limits.h>
2629 # include <assert.h>
2634 /* Override any GCC internal prototype to avoid an error.
2635 Use char because int might match the return type of a GCC
2636 builtin and then its argument prototype would still apply. */
2641 /* The GNU C library defines this for functions which it implements
2642 to always fail with ENOSYS. Some functions are actually named
2643 something starting with __ and the normal name is an alias. */
2644 #if defined __stub_$2 || defined __stub___$2
2656 if ac_fn_c_try_link
"$LINENO"; then :
2661 rm -f core conftest.err conftest.
$ac_objext \
2662 conftest
$ac_exeext conftest.
$ac_ext
2665 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2666 $as_echo "$ac_res" >&6; }
2667 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2669 } # ac_fn_c_check_func
2671 # ac_fn_c_check_member LINENO AGGR MEMBER VAR INCLUDES
2672 # ----------------------------------------------------
2673 # Tries to find if the field MEMBER exists in type AGGR, after including
2674 # INCLUDES, setting cache variable VAR accordingly.
2675 ac_fn_c_check_member
()
2677 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
2678 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2.$3" >&5
2679 $as_echo_n "checking for $2.$3... " >&6; }
2680 if eval \
${$4+:} false
; then :
2681 $as_echo_n "(cached) " >&6
2683 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
2684 /* end confdefs.h. */
2696 if ac_fn_c_try_compile
"$LINENO"; then :
2699 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
2700 /* end confdefs.h. */
2706 if (sizeof ac_aggr.$3)
2712 if ac_fn_c_try_compile
"$LINENO"; then :
2717 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
2719 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
2722 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2723 $as_echo "$ac_res" >&6; }
2724 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2726 } # ac_fn_c_check_member
2728 # ac_fn_c_check_type LINENO TYPE VAR INCLUDES
2729 # -------------------------------------------
2730 # Tests whether TYPE exists after having included INCLUDES, setting cache
2731 # variable VAR accordingly.
2732 ac_fn_c_check_type
()
2734 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
2735 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2736 $as_echo_n "checking for $2... " >&6; }
2737 if eval \
${$3+:} false
; then :
2738 $as_echo_n "(cached) " >&6
2741 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
2742 /* end confdefs.h. */
2753 if ac_fn_c_try_compile
"$LINENO"; then :
2754 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
2755 /* end confdefs.h. */
2766 if ac_fn_c_try_compile
"$LINENO"; then :
2771 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
2773 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
2776 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2777 $as_echo "$ac_res" >&6; }
2778 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2780 } # ac_fn_c_check_type
2781 cat >config.log
<<_ACEOF
2782 This file contains any messages produced by compilers while
2783 running configure, to aid debugging if configure makes a mistake.
2785 It was created by Wine $as_me 1.7.32, which was
2786 generated by GNU Autoconf 2.69. Invocation command line was
2798 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
2799 uname -m = `(uname -m) 2>/dev/null || echo unknown`
2800 uname -r = `(uname -r) 2>/dev/null || echo unknown`
2801 uname -s = `(uname -s) 2>/dev/null || echo unknown`
2802 uname -v = `(uname -v) 2>/dev/null || echo unknown`
2804 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
2805 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
2807 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
2808 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
2809 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
2810 /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
2811 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
2812 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
2813 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
2817 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2821 test -z "$as_dir" && as_dir
=.
2822 $as_echo "PATH: $as_dir"
2838 # Keep a trace of the command line.
2839 # Strip out --no-create and --no-recursion so they do not pile up.
2840 # Strip out --silent because we don't want to record it for future runs.
2841 # Also quote any args containing shell meta-characters.
2842 # Make two passes to allow for proper duplicate-argument suppression.
2846 ac_must_keep_next
=false
2852 -no-create |
--no-c* |
-n |
-no-recursion |
--no-r*) continue ;;
2853 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
2854 |
-silent |
--silent |
--silen |
--sile |
--sil)
2857 ac_arg
=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
2860 1) as_fn_append ac_configure_args0
" '$ac_arg'" ;;
2862 as_fn_append ac_configure_args1
" '$ac_arg'"
2863 if test $ac_must_keep_next = true
; then
2864 ac_must_keep_next
=false
# Got value, back to normal.
2867 *=* |
--config-cache |
-C |
-disable-* |
--disable-* \
2868 |
-enable-* |
--enable-* |
-gas |
--g* |
-nfp |
--nf* \
2869 |
-q |
-quiet |
--q* |
-silent |
--sil* |
-v |
-verb* \
2870 |
-with-* |
--with-* |
-without-* |
--without-* |
--x)
2871 case "$ac_configure_args0 " in
2872 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
2875 -* ) ac_must_keep_next
=true
;;
2878 as_fn_append ac_configure_args
" '$ac_arg'"
2883 { ac_configure_args0
=; unset ac_configure_args0
;}
2884 { ac_configure_args1
=; unset ac_configure_args1
;}
2886 # When interrupted or exit'd, cleanup temporary files, and complete
2887 # config.log. We remove comments because anyway the quotes in there
2888 # would cause problems or look ugly.
2889 # WARNING: Use '\'' to represent an apostrophe within the trap.
2890 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
2891 trap 'exit_status=$?
2892 # Save into config.log some information that might help in debugging.
2896 $as_echo "## ---------------- ##
2897 ## Cache variables. ##
2898 ## ---------------- ##"
2900 # The following way of writing the cache mishandles newlines in values,
2902 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
2903 eval ac_val=\$$ac_var
2907 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
2908 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
2911 _ | IFS | as_nl) ;; #(
2912 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
2913 *) { eval $ac_var=; unset $ac_var;} ;;
2918 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
2919 *${as_nl}ac_space=\ *)
2921 "s/'\''/'\''\\\\'\'''\''/g;
2922 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
2925 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
2932 $as_echo "## ----------------- ##
2933 ## Output variables. ##
2934 ## ----------------- ##"
2936 for ac_var in $ac_subst_vars
2938 eval ac_val=\$$ac_var
2940 *\'\''*) ac_val
=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2942 $as_echo "$ac_var='\''$ac_val'\''"
2946 if test -n "$ac_subst_files"; then
2947 $as_echo "## ------------------- ##
2948 ## File substitutions. ##
2949 ## ------------------- ##"
2951 for ac_var
in $ac_subst_files
2953 eval ac_val
=\$
$ac_var
2955 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2957 $as_echo "$ac_var='\''$ac_val'\''"
2962 if test -s confdefs.h; then
2963 $as_echo "## ----------- ##
2970 test "$ac_signal" != 0 &&
2971 $as_echo "$as_me: caught signal $ac_signal"
2972 $as_echo "$as_me: exit $exit_status"
2974 rm -f core *.core core.conftest.* &&
2975 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
2978 for ac_signal
in 1 2 13 15; do
2979 trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
2983 # confdefs.h avoids OS command line length limits that DEFS can exceed.
2984 rm -f -r conftest
* confdefs.h
2986 $as_echo "/* confdefs.h */" > confdefs.h
2988 # Predefined preprocessor variables.
2990 cat >>confdefs.h
<<_ACEOF
2991 #define PACKAGE_NAME "$PACKAGE_NAME"
2994 cat >>confdefs.h
<<_ACEOF
2995 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
2998 cat >>confdefs.h
<<_ACEOF
2999 #define PACKAGE_VERSION "$PACKAGE_VERSION"
3002 cat >>confdefs.h
<<_ACEOF
3003 #define PACKAGE_STRING "$PACKAGE_STRING"
3006 cat >>confdefs.h
<<_ACEOF
3007 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
3010 cat >>confdefs.h
<<_ACEOF
3011 #define PACKAGE_URL "$PACKAGE_URL"
3015 # Let the site file select an alternate cache file if it wants to.
3016 # Prefer an explicitly selected file to automatically selected ones.
3019 if test -n "$CONFIG_SITE"; then
3020 # We do not want a PATH search for config.site.
3021 case $CONFIG_SITE in #((
3022 -*) ac_site_file1
=.
/$CONFIG_SITE;;
3023 */*) ac_site_file1
=$CONFIG_SITE;;
3024 *) ac_site_file1
=.
/$CONFIG_SITE;;
3026 elif test "x$prefix" != xNONE
; then
3027 ac_site_file1
=$prefix/share
/config.site
3028 ac_site_file2
=$prefix/etc
/config.site
3030 ac_site_file1
=$ac_default_prefix/share
/config.site
3031 ac_site_file2
=$ac_default_prefix/etc
/config.site
3033 for ac_site_file
in "$ac_site_file1" "$ac_site_file2"
3035 test "x$ac_site_file" = xNONE
&& continue
3036 if test /dev
/null
!= "$ac_site_file" && test -r "$ac_site_file"; then
3037 { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
3038 $as_echo "$as_me: loading site script $ac_site_file" >&6;}
3039 sed 's/^/| /' "$ac_site_file" >&5
3041 ||
{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3042 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3043 as_fn_error $?
"failed to load site script $ac_site_file
3044 See \`config.log' for more details" "$LINENO" 5; }
3048 if test -r "$cache_file"; then
3049 # Some versions of bash will fail to source /dev/null (special files
3050 # actually), so we avoid doing that. DJGPP emulates it as a regular file.
3051 if test /dev
/null
!= "$cache_file" && test -f "$cache_file"; then
3052 { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
3053 $as_echo "$as_me: loading cache $cache_file" >&6;}
3055 [\\/]* | ?
:[\\/]* ) .
"$cache_file";;
3056 *) .
"./$cache_file";;
3060 { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
3061 $as_echo "$as_me: creating cache $cache_file" >&6;}
3065 # Check that the precious variables saved in the cache have kept the same
3067 ac_cache_corrupted
=false
3068 for ac_var
in $ac_precious_vars; do
3069 eval ac_old_set
=\
$ac_cv_env_${ac_var}_set
3070 eval ac_new_set
=\
$ac_env_${ac_var}_set
3071 eval ac_old_val
=\
$ac_cv_env_${ac_var}_value
3072 eval ac_new_val
=\
$ac_env_${ac_var}_value
3073 case $ac_old_set,$ac_new_set in
3075 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
3076 $as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
3077 ac_cache_corrupted
=: ;;
3079 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
3080 $as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
3081 ac_cache_corrupted
=: ;;
3084 if test "x$ac_old_val" != "x$ac_new_val"; then
3085 # differences in whitespace do not lead to failure.
3086 ac_old_val_w
=`echo x $ac_old_val`
3087 ac_new_val_w
=`echo x $ac_new_val`
3088 if test "$ac_old_val_w" != "$ac_new_val_w"; then
3089 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
3090 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
3091 ac_cache_corrupted
=:
3093 { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
3094 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
3095 eval $ac_var=\
$ac_old_val
3097 { $as_echo "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5
3098 $as_echo "$as_me: former value: \`$ac_old_val'" >&2;}
3099 { $as_echo "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5
3100 $as_echo "$as_me: current value: \`$ac_new_val'" >&2;}
3103 # Pass precious variables to config.status.
3104 if test "$ac_new_set" = set; then
3106 *\'*) ac_arg
=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
3107 *) ac_arg
=$ac_var=$ac_new_val ;;
3109 case " $ac_configure_args " in
3110 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
3111 *) as_fn_append ac_configure_args
" '$ac_arg'" ;;
3115 if $ac_cache_corrupted; then
3116 { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3117 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3118 { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
3119 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
3120 as_fn_error $?
"run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
3122 ## -------------------- ##
3123 ## Main body of script. ##
3124 ## -------------------- ##
3127 ac_cpp
='$CPP $CPPFLAGS'
3128 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3129 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3130 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
3134 ac_config_headers
="$ac_config_headers include/config.h"
3137 for ac_dir
in tools
"$srcdir"/tools
; do
3138 if test -f "$ac_dir/install-sh"; then
3140 ac_install_sh
="$ac_aux_dir/install-sh -c"
3142 elif test -f "$ac_dir/install.sh"; then
3144 ac_install_sh
="$ac_aux_dir/install.sh -c"
3146 elif test -f "$ac_dir/shtool"; then
3148 ac_install_sh
="$ac_aux_dir/shtool install -c"
3152 if test -z "$ac_aux_dir"; then
3153 as_fn_error $?
"cannot find install-sh, install.sh, or shtool in tools \"$srcdir\"/tools" "$LINENO" 5
3156 # These three variables are undocumented and unsupported,
3157 # and are intended to be withdrawn in a future Autoconf release.
3158 # They can cause serious problems if a builder's source tree is in a directory
3159 # whose full name contains unusual characters.
3160 ac_config_guess
="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
3161 ac_config_sub
="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
3162 ac_configure
="$SHELL $ac_aux_dir/configure" # Please don't use this var.
3166 libwine_version
="1.0"
3170 # Check whether --enable-win16 was given.
3171 if test "${enable_win16+set}" = set; then :
3172 enableval
=$enable_win16;
3175 # Check whether --enable-win64 was given.
3176 if test "${enable_win64+set}" = set; then :
3177 enableval
=$enable_win64;
3180 # Check whether --enable-tests was given.
3181 if test "${enable_tests+set}" = set; then :
3182 enableval
=$enable_tests;
3185 # Check whether --enable-maintainer-mode was given.
3186 if test "${enable_maintainer_mode+set}" = set; then :
3187 enableval
=$enable_maintainer_mode;
3192 # Check whether --with-alsa was given.
3193 if test "${with_alsa+set}" = set; then :
3194 withval
=$with_alsa; if test "x$withval" = "xno"; then ac_cv_header_sys_asoundlib_h
=no
; ac_cv_header_alsa_asoundlib_h
=no
; fi
3198 # Check whether --with-capi was given.
3199 if test "${with_capi+set}" = set; then :
3204 # Check whether --with-cms was given.
3205 if test "${with_cms+set}" = set; then :
3210 # Check whether --with-coreaudio was given.
3211 if test "${with_coreaudio+set}" = set; then :
3212 withval
=$with_coreaudio; if test "x$withval" = "xno"; then ac_cv_header_CoreAudio_CoreAudio_h
=no
; fi
3216 # Check whether --with-cups was given.
3217 if test "${with_cups+set}" = set; then :
3222 # Check whether --with-curses was given.
3223 if test "${with_curses+set}" = set; then :
3224 withval
=$with_curses; if test "x$withval" = "xno"; then ac_cv_header_ncurses_h
=no
; ac_cv_header_curses_h
=no
; fi
3228 # Check whether --with-dbus was given.
3229 if test "${with_dbus+set}" = set; then :
3234 # Check whether --with-fontconfig was given.
3235 if test "${with_fontconfig+set}" = set; then :
3236 withval
=$with_fontconfig;
3240 # Check whether --with-freetype was given.
3241 if test "${with_freetype+set}" = set; then :
3242 withval
=$with_freetype;
3246 # Check whether --with-gettext was given.
3247 if test "${with_gettext+set}" = set; then :
3248 withval
=$with_gettext;
3252 # Check whether --with-gettextpo was given.
3253 if test "${with_gettextpo+set}" = set; then :
3254 withval
=$with_gettextpo; if test "x$withval" = "xno"; then ac_cv_header_gettext_po_h
=no
; fi
3258 # Check whether --with-gphoto was given.
3259 if test "${with_gphoto+set}" = set; then :
3260 withval
=$with_gphoto;
3264 # Check whether --with-glu was given.
3265 if test "${with_glu+set}" = set; then :
3270 # Check whether --with-gnutls was given.
3271 if test "${with_gnutls+set}" = set; then :
3272 withval
=$with_gnutls;
3276 # Check whether --with-gsm was given.
3277 if test "${with_gsm+set}" = set; then :
3278 withval
=$with_gsm; if test "x$withval" = "xno"; then ac_cv_header_gsm_h
=no
; ac_cv_header_gsm_gsm_h
=no
; fi
3282 # Check whether --with-gstreamer was given.
3283 if test "${with_gstreamer+set}" = set; then :
3284 withval
=$with_gstreamer;
3288 # Check whether --with-hal was given.
3289 if test "${with_hal+set}" = set; then :
3294 # Check whether --with-jpeg was given.
3295 if test "${with_jpeg+set}" = set; then :
3300 # Check whether --with-ldap was given.
3301 if test "${with_ldap+set}" = set; then :
3302 withval
=$with_ldap; if test "x$withval" = "xno"; then ac_cv_header_ldap_h
=no
; ac_cv_header_lber_h
=no
; fi
3306 # Check whether --with-mpg123 was given.
3307 if test "${with_mpg123+set}" = set; then :
3308 withval
=$with_mpg123;
3312 # Check whether --with-netapi was given.
3313 if test "${with_netapi+set}" = set; then :
3314 withval
=$with_netapi;
3318 # Check whether --with-openal was given.
3319 if test "${with_openal+set}" = set; then :
3320 withval
=$with_openal; if test "x$withval" = "xno"; then ac_cv_header_AL_al_h
=no
; ac_cv_header_OpenAL_al_h
=no
; fi
3324 # Check whether --with-opencl was given.
3325 if test "${with_opencl+set}" = set; then :
3326 withval
=$with_opencl; if test "x$withval" = "xno"; then ac_cv_header_CL_cl_h
=no
; ac_cv_header_OpenCL_opencl_h
=no
; fi
3330 # Check whether --with-opengl was given.
3331 if test "${with_opengl+set}" = set; then :
3332 withval
=$with_opengl;
3336 # Check whether --with-osmesa was given.
3337 if test "${with_osmesa+set}" = set; then :
3338 withval
=$with_osmesa;
3342 # Check whether --with-oss was given.
3343 if test "${with_oss+set}" = set; then :
3348 # Check whether --with-pcap was given.
3349 if test "${with_pcap+set}" = set; then :
3350 withval
=$with_pcap; if test "x$withval" = "xno"; then ac_cv_header_pcap_pcap_h
=no
; fi
3354 # Check whether --with-png was given.
3355 if test "${with_png+set}" = set; then :
3360 # Check whether --with-pthread was given.
3361 if test "${with_pthread+set}" = set; then :
3362 withval
=$with_pthread; if test "x$withval" = "xno"; then ac_cv_header_pthread_h
=no
; fi
3366 # Check whether --with-sane was given.
3367 if test "${with_sane+set}" = set; then :
3372 # Check whether --with-tiff was given.
3373 if test "${with_tiff+set}" = set; then :
3378 # Check whether --with-v4l was given.
3379 if test "${with_v4l+set}" = set; then :
3384 # Check whether --with-xcomposite was given.
3385 if test "${with_xcomposite+set}" = set; then :
3386 withval
=$with_xcomposite; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xcomposite_h
=no
; fi
3390 # Check whether --with-xcursor was given.
3391 if test "${with_xcursor+set}" = set; then :
3392 withval
=$with_xcursor; if test "x$withval" = "xno"; then ac_cv_header_X11_Xcursor_Xcursor_h
=no
; fi
3396 # Check whether --with-xinerama was given.
3397 if test "${with_xinerama+set}" = set; then :
3398 withval
=$with_xinerama; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xinerama_h
=no
; fi
3402 # Check whether --with-xinput was given.
3403 if test "${with_xinput+set}" = set; then :
3404 withval
=$with_xinput; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_XInput_h
=no
; fi
3408 # Check whether --with-xinput2 was given.
3409 if test "${with_xinput2+set}" = set; then :
3410 withval
=$with_xinput2; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_XInput2_h
=no
; fi
3414 # Check whether --with-xml was given.
3415 if test "${with_xml+set}" = set; then :
3420 # Check whether --with-xrandr was given.
3421 if test "${with_xrandr+set}" = set; then :
3422 withval
=$with_xrandr; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xrandr_h
=no
; fi
3426 # Check whether --with-xrender was given.
3427 if test "${with_xrender+set}" = set; then :
3428 withval
=$with_xrender; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xrender_h
=no
; fi
3432 # Check whether --with-xshape was given.
3433 if test "${with_xshape+set}" = set; then :
3434 withval
=$with_xshape; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_shape_h
=no
; fi
3438 # Check whether --with-xshm was given.
3439 if test "${with_xshm+set}" = set; then :
3440 withval
=$with_xshm; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_XShm_h
=no
; fi
3444 # Check whether --with-xslt was given.
3445 if test "${with_xslt+set}" = set; then :
3450 # Check whether --with-xxf86vm was given.
3451 if test "${with_xxf86vm+set}" = set; then :
3452 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
3456 # Check whether --with-zlib was given.
3457 if test "${with_zlib+set}" = set; then :
3458 withval
=$with_zlib; if test "x$withval" = "xno"; then ac_cv_header_zlib_h
=no
; fi
3463 # Check whether --with-wine-tools was given.
3464 if test "${with_wine_tools+set}" = set; then :
3465 withval
=$with_wine_tools;
3469 # Check whether --with-wine64 was given.
3470 if test "${with_wine64+set}" = set; then :
3471 withval
=$with_wine64;
3475 # Make sure we can run config.sub.
3476 $SHELL "$ac_aux_dir/config.sub" sun4
>/dev
/null
2>&1 ||
3477 as_fn_error $?
"cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
3479 { $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
3480 $as_echo_n "checking build system type... " >&6; }
3481 if ${ac_cv_build+:} false
; then :
3482 $as_echo_n "(cached) " >&6
3484 ac_build_alias
=$build_alias
3485 test "x$ac_build_alias" = x
&&
3486 ac_build_alias
=`$SHELL "$ac_aux_dir/config.guess"`
3487 test "x$ac_build_alias" = x
&&
3488 as_fn_error $?
"cannot guess build type; you must specify one" "$LINENO" 5
3489 ac_cv_build
=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
3490 as_fn_error $?
"$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
3493 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
3494 $as_echo "$ac_cv_build" >&6; }
3495 case $ac_cv_build in
3497 *) as_fn_error $?
"invalid value of canonical build" "$LINENO" 5;;
3500 ac_save_IFS
=$IFS; IFS
='-'
3506 # Remember, the first character of IFS is used to create $*,
3507 # except with old shells:
3510 case $build_os in *\
*) build_os
=`echo "$build_os" | sed 's/ /-/g'`;; esac
3513 { $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
3514 $as_echo_n "checking host system type... " >&6; }
3515 if ${ac_cv_host+:} false
; then :
3516 $as_echo_n "(cached) " >&6
3518 if test "x$host_alias" = x
; then
3519 ac_cv_host
=$ac_cv_build
3521 ac_cv_host
=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
3522 as_fn_error $?
"$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
3526 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
3527 $as_echo "$ac_cv_host" >&6; }
3530 *) as_fn_error $?
"invalid value of canonical host" "$LINENO" 5;;
3533 ac_save_IFS
=$IFS; IFS
='-'
3539 # Remember, the first character of IFS is used to create $*,
3540 # except with old shells:
3543 case $host_os in *\
*) host_os
=`echo "$host_os" | sed 's/ /-/g'`;; esac
3549 *) if test -f "$srcdir/Makefile" -o -f "$srcdir/include/config.h"; then
3550 as_fn_error $?
"you are building out of the source tree, but the source tree contains object files.
3551 You need to run 'make distclean' in the source tree first." "$LINENO" 5
3556 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
3557 $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
3559 ac_make
=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
3560 if eval \
${ac_cv_prog_make_${ac_make}_set+:} false
; then :
3561 $as_echo_n "(cached) " >&6
3563 cat >conftest.
make <<\_ACEOF
3566 @
echo '@@@%%%=$(MAKE)=@@@%%%'
3568 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
3569 case `${MAKE-make} -f conftest.make 2>/dev/null` in
3571 eval ac_cv_prog_make_
${ac_make}_set
=yes;;
3573 eval ac_cv_prog_make_
${ac_make}_set
=no
;;
3577 if eval test \
$ac_cv_prog_make_${ac_make}_set
= yes; then
3578 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3579 $as_echo "yes" >&6; }
3582 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3583 $as_echo "no" >&6; }
3584 SET_MAKE
="MAKE=${MAKE-make}"
3588 ac_cpp
='$CPP $CPPFLAGS'
3589 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3590 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3591 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
3592 if test -n "$ac_tool_prefix"; then
3593 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
3594 set dummy
${ac_tool_prefix}gcc
; ac_word
=$2
3595 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3596 $as_echo_n "checking for $ac_word... " >&6; }
3597 if ${ac_cv_prog_CC+:} false
; then :
3598 $as_echo_n "(cached) " >&6
3600 if test -n "$CC"; then
3601 ac_cv_prog_CC
="$CC" # Let the user override the test.
3603 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3607 test -z "$as_dir" && as_dir
=.
3608 for ac_exec_ext
in '' $ac_executable_extensions; do
3609 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
3610 ac_cv_prog_CC
="${ac_tool_prefix}gcc"
3611 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3621 if test -n "$CC"; then
3622 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3623 $as_echo "$CC" >&6; }
3625 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3626 $as_echo "no" >&6; }
3631 if test -z "$ac_cv_prog_CC"; then
3633 # Extract the first word of "gcc", so it can be a program name with args.
3634 set dummy gcc
; ac_word
=$2
3635 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3636 $as_echo_n "checking for $ac_word... " >&6; }
3637 if ${ac_cv_prog_ac_ct_CC+:} false
; then :
3638 $as_echo_n "(cached) " >&6
3640 if test -n "$ac_ct_CC"; then
3641 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
3643 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3647 test -z "$as_dir" && as_dir
=.
3648 for ac_exec_ext
in '' $ac_executable_extensions; do
3649 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
3650 ac_cv_prog_ac_ct_CC
="gcc"
3651 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3660 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
3661 if test -n "$ac_ct_CC"; then
3662 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3663 $as_echo "$ac_ct_CC" >&6; }
3665 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3666 $as_echo "no" >&6; }
3669 if test "x$ac_ct_CC" = x
; then
3672 case $cross_compiling:$ac_tool_warned in
3674 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3675 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3676 ac_tool_warned
=yes ;;
3684 if test -z "$CC"; then
3685 if test -n "$ac_tool_prefix"; then
3686 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
3687 set dummy
${ac_tool_prefix}cc
; ac_word
=$2
3688 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3689 $as_echo_n "checking for $ac_word... " >&6; }
3690 if ${ac_cv_prog_CC+:} false
; then :
3691 $as_echo_n "(cached) " >&6
3693 if test -n "$CC"; then
3694 ac_cv_prog_CC
="$CC" # Let the user override the test.
3696 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3700 test -z "$as_dir" && as_dir
=.
3701 for ac_exec_ext
in '' $ac_executable_extensions; do
3702 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
3703 ac_cv_prog_CC
="${ac_tool_prefix}cc"
3704 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3714 if test -n "$CC"; then
3715 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3716 $as_echo "$CC" >&6; }
3718 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3719 $as_echo "no" >&6; }
3725 if test -z "$CC"; then
3726 # Extract the first word of "cc", so it can be a program name with args.
3727 set dummy cc
; ac_word
=$2
3728 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3729 $as_echo_n "checking for $ac_word... " >&6; }
3730 if ${ac_cv_prog_CC+:} false
; then :
3731 $as_echo_n "(cached) " >&6
3733 if test -n "$CC"; then
3734 ac_cv_prog_CC
="$CC" # Let the user override the test.
3737 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3741 test -z "$as_dir" && as_dir
=.
3742 for ac_exec_ext
in '' $ac_executable_extensions; do
3743 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
3744 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
3745 ac_prog_rejected
=yes
3749 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3756 if test $ac_prog_rejected = yes; then
3757 # We found a bogon in the path, so make sure we never use it.
3758 set dummy
$ac_cv_prog_CC
3760 if test $# != 0; then
3761 # We chose a different compiler from the bogus one.
3762 # However, it has the same basename, so the bogon will be chosen
3763 # first if we set CC to just the basename; use the full file name.
3765 ac_cv_prog_CC
="$as_dir/$ac_word${1+' '}$@"
3771 if test -n "$CC"; then
3772 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3773 $as_echo "$CC" >&6; }
3775 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3776 $as_echo "no" >&6; }
3781 if test -z "$CC"; then
3782 if test -n "$ac_tool_prefix"; then
3783 for ac_prog
in cl.exe
3785 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
3786 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
3787 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3788 $as_echo_n "checking for $ac_word... " >&6; }
3789 if ${ac_cv_prog_CC+:} false
; then :
3790 $as_echo_n "(cached) " >&6
3792 if test -n "$CC"; then
3793 ac_cv_prog_CC
="$CC" # Let the user override the test.
3795 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3799 test -z "$as_dir" && as_dir
=.
3800 for ac_exec_ext
in '' $ac_executable_extensions; do
3801 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
3802 ac_cv_prog_CC
="$ac_tool_prefix$ac_prog"
3803 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3813 if test -n "$CC"; then
3814 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3815 $as_echo "$CC" >&6; }
3817 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3818 $as_echo "no" >&6; }
3822 test -n "$CC" && break
3825 if test -z "$CC"; then
3827 for ac_prog
in cl.exe
3829 # Extract the first word of "$ac_prog", so it can be a program name with args.
3830 set dummy
$ac_prog; ac_word
=$2
3831 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3832 $as_echo_n "checking for $ac_word... " >&6; }
3833 if ${ac_cv_prog_ac_ct_CC+:} false
; then :
3834 $as_echo_n "(cached) " >&6
3836 if test -n "$ac_ct_CC"; then
3837 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
3839 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3843 test -z "$as_dir" && as_dir
=.
3844 for ac_exec_ext
in '' $ac_executable_extensions; do
3845 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
3846 ac_cv_prog_ac_ct_CC
="$ac_prog"
3847 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3856 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
3857 if test -n "$ac_ct_CC"; then
3858 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3859 $as_echo "$ac_ct_CC" >&6; }
3861 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3862 $as_echo "no" >&6; }
3866 test -n "$ac_ct_CC" && break
3869 if test "x$ac_ct_CC" = x
; then
3872 case $cross_compiling:$ac_tool_warned in
3874 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3875 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3876 ac_tool_warned
=yes ;;
3885 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3886 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3887 as_fn_error $?
"no acceptable C compiler found in \$PATH
3888 See \`config.log' for more details" "$LINENO" 5; }
3890 # Provide some information about the compiler.
3891 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
3894 for ac_option
in --version -v -V -qversion; do
3895 { { ac_try
="$ac_compiler $ac_option >&5"
3897 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
3898 *) ac_try_echo=$ac_try;;
3900 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3901 $as_echo "$ac_try_echo"; } >&5
3902 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
3904 if test -s conftest.err; then
3906 ... rest of stderr output deleted ...
3907 10q' conftest.err >conftest.er1
3908 cat conftest.er1 >&5
3910 rm -f conftest.er1 conftest.err
3911 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3912 test $ac_status = 0; }
3915 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3916 /* end confdefs.h. */
3926 ac_clean_files_save=$ac_clean_files
3927 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
3928 # Try to create an executable without -o first, disregard a.out.
3929 # It will help us diagnose broken compilers, and finding out an intuition
3931 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
3932 $as_echo_n "checking whether the C compiler works... " >&6; }
3933 ac_link_default=`$as_echo "$ac_link" |
sed 's/ -o *conftest[^ ]*//'`
3935 # The possible output files:
3936 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
3939 for ac_file in $ac_files
3942 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
3943 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
3948 if { { ac_try="$ac_link_default"
3950 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
3951 *) ac_try_echo
=$ac_try;;
3953 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3954 $as_echo "$ac_try_echo"; } >&5
3955 (eval "$ac_link_default") 2>&5
3957 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3958 test $ac_status = 0; }; then :
3959 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
3960 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
3961 # in a Makefile. We should not override ac_cv_exeext if it was cached,
3962 # so that the user can short-circuit this test for compilers unknown to
3964 for ac_file
in $ac_files ''
3966 test -f "$ac_file" ||
continue
3968 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg |
*.map |
*.inf |
*.dSYM |
*.o |
*.obj
)
3971 # We found the default executable, but exeext='' is most
3975 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no
;
3977 ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
3979 # We set ac_cv_exeext here because the later test for it is not
3980 # safe: cross compilers may not add the suffix if given an `-o'
3981 # argument, so we may need to know it at that point already.
3982 # Even if this section looks crufty: it has the advantage of
3989 test "$ac_cv_exeext" = no
&& ac_cv_exeext
=
3994 if test -z "$ac_file"; then :
3995 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3996 $as_echo "no" >&6; }
3997 $as_echo "$as_me: failed program was:" >&5
3998 sed 's/^/| /' conftest.
$ac_ext >&5
4000 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4001 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4002 as_fn_error
77 "C compiler cannot create executables
4003 See \`config.log' for more details" "$LINENO" 5; }
4005 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4006 $as_echo "yes" >&6; }
4008 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
4009 $as_echo_n "checking for C compiler default output file name... " >&6; }
4010 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
4011 $as_echo "$ac_file" >&6; }
4012 ac_exeext
=$ac_cv_exeext
4014 rm -f -r a.out a.out.dSYM a.exe conftest
$ac_cv_exeext b.out
4015 ac_clean_files
=$ac_clean_files_save
4016 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
4017 $as_echo_n "checking for suffix of executables... " >&6; }
4018 if { { ac_try
="$ac_link"
4020 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
4021 *) ac_try_echo=$ac_try;;
4023 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4024 $as_echo "$ac_try_echo"; } >&5
4025 (eval "$ac_link") 2>&5
4027 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4028 test $ac_status = 0; }; then :
4029 # If both `conftest.exe
' and `conftest' are
`present' (well, observable)
4030 # catch `conftest.exe
'. For instance with Cygwin, `ls conftest' will
4031 # work properly (i.e., refer to `conftest.exe'), while it won't with
4033 for ac_file
in conftest.exe conftest conftest.
*; do
4034 test -f "$ac_file" ||
continue
4036 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg |
*.map |
*.inf |
*.dSYM |
*.o |
*.obj
) ;;
4037 *.
* ) ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
4043 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4044 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4045 as_fn_error $?
"cannot compute suffix of executables: cannot compile and link
4046 See \`config.log' for more details" "$LINENO" 5; }
4048 rm -f conftest conftest
$ac_cv_exeext
4049 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
4050 $as_echo "$ac_cv_exeext" >&6; }
4052 rm -f conftest.
$ac_ext
4053 EXEEXT
=$ac_cv_exeext
4055 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4056 /* end confdefs.h. */
4061 FILE *f = fopen ("conftest.out", "w");
4062 return ferror (f) || fclose (f) != 0;
4068 ac_clean_files
="$ac_clean_files conftest.out"
4069 # Check that the compiler produces executables we can run. If not, either
4070 # the compiler is broken, or we cross compile.
4071 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
4072 $as_echo_n "checking whether we are cross compiling... " >&6; }
4073 if test "$cross_compiling" != yes; then
4074 { { ac_try
="$ac_link"
4076 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
4077 *) ac_try_echo=$ac_try;;
4079 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4080 $as_echo "$ac_try_echo"; } >&5
4081 (eval "$ac_link") 2>&5
4083 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4084 test $ac_status = 0; }
4085 if { ac_try='./conftest$ac_cv_exeext'
4086 { { case "(($ac_try" in
4087 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
4088 *) ac_try_echo
=$ac_try;;
4090 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4091 $as_echo "$ac_try_echo"; } >&5
4092 (eval "$ac_try") 2>&5
4094 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4095 test $ac_status = 0; }; }; then
4098 if test "$cross_compiling" = maybe
; then
4101 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4102 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4103 as_fn_error $?
"cannot run C compiled programs.
4104 If you meant to cross compile, use \`--host'.
4105 See \`config.log' for more details" "$LINENO" 5; }
4109 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
4110 $as_echo "$cross_compiling" >&6; }
4112 rm -f conftest.
$ac_ext conftest
$ac_cv_exeext conftest.out
4113 ac_clean_files
=$ac_clean_files_save
4114 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
4115 $as_echo_n "checking for suffix of object files... " >&6; }
4116 if ${ac_cv_objext+:} false
; then :
4117 $as_echo_n "(cached) " >&6
4119 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4120 /* end confdefs.h. */
4130 rm -f conftest.o conftest.obj
4131 if { { ac_try
="$ac_compile"
4133 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
4134 *) ac_try_echo=$ac_try;;
4136 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4137 $as_echo "$ac_try_echo"; } >&5
4138 (eval "$ac_compile") 2>&5
4140 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4141 test $ac_status = 0; }; then :
4142 for ac_file in conftest.o conftest.obj conftest.*; do
4143 test -f "$ac_file" || continue;
4145 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
4146 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
4151 $as_echo "$as_me: failed program was:" >&5
4152 sed 's/^/| /' conftest.$ac_ext >&5
4154 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4155 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4156 as_fn_error $? "cannot compute suffix of object files
: cannot compile
4157 See \
`config.log' for more details" "$LINENO" 5; }
4159 rm -f conftest.$ac_cv_objext conftest.$ac_ext
4161 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
4162 $as_echo "$ac_cv_objext" >&6; }
4163 OBJEXT=$ac_cv_objext
4165 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
4166 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
4167 if ${ac_cv_c_compiler_gnu+:} false; then :
4168 $as_echo_n "(cached) " >&6
4170 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4171 /* end confdefs.h. */
4184 if ac_fn_c_try_compile "$LINENO"; then :
4189 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4190 ac_cv_c_compiler_gnu=$ac_compiler_gnu
4193 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
4194 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
4195 if test $ac_compiler_gnu = yes; then
4200 ac_test_CFLAGS=${CFLAGS+set}
4201 ac_save_CFLAGS=$CFLAGS
4202 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
4203 $as_echo_n "checking whether $CC accepts -g... " >&6; }
4204 if ${ac_cv_prog_cc_g+:} false; then :
4205 $as_echo_n "(cached) " >&6
4207 ac_save_c_werror_flag=$ac_c_werror_flag
4208 ac_c_werror_flag=yes
4211 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4212 /* end confdefs.h. */
4222 if ac_fn_c_try_compile "$LINENO"; then :
4226 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4227 /* end confdefs.h. */
4237 if ac_fn_c_try_compile "$LINENO"; then :
4240 ac_c_werror_flag=$ac_save_c_werror_flag
4242 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4243 /* end confdefs.h. */
4253 if ac_fn_c_try_compile "$LINENO"; then :
4256 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4258 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4260 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4261 ac_c_werror_flag=$ac_save_c_werror_flag
4263 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
4264 $as_echo "$ac_cv_prog_cc_g" >&6; }
4265 if test "$ac_test_CFLAGS" = set; then
4266 CFLAGS=$ac_save_CFLAGS
4267 elif test $ac_cv_prog_cc_g = yes; then
4268 if test "$GCC" = yes; then
4274 if test "$GCC" = yes; then
4280 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
4281 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
4282 if ${ac_cv_prog_cc_c89+:} false; then :
4283 $as_echo_n "(cached) " >&6
4285 ac_cv_prog_cc_c89=no
4287 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4288 /* end confdefs.h. */
4292 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
4293 struct buf { int x; };
4294 FILE * (*rcsopen) (struct buf *, struct stat *, int);
4295 static char *e (p, i)
4301 static char *f (char * (*g) (char **, int), char **p, ...)
4306 s = g (p, va_arg (v,int));
4311 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
4312 function prototypes and stuff, but not '\xHH' hex character constants.
4313 These don't provoke an error unfortunately, instead are silently treated
4314 as 'x'. The following induces an error, until -std is added to get
4315 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
4316 array size at least. It's necessary to write '\x00'==0 to get something
4317 that's true only with -std. */
4318 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
4320 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
4321 inside strings and character constants. */
4323 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
4325 int test (int i, double x);
4326 struct s1 {int (*f) (int a);};
4327 struct s2 {int (*f) (double a);};
4328 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
4334 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
4339 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
4340 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
4342 CC="$ac_save_CC $ac_arg"
4343 if ac_fn_c_try_compile "$LINENO"; then :
4344 ac_cv_prog_cc_c89=$ac_arg
4346 rm -f core conftest.err conftest.$ac_objext
4347 test "x$ac_cv_prog_cc_c89" != "xno" && break
4349 rm -f conftest.$ac_ext
4354 case "x$ac_cv_prog_cc_c89" in
4356 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
4357 $as_echo "none needed" >&6; } ;;
4359 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
4360 $as_echo "unsupported" >&6; } ;;
4362 CC="$CC $ac_cv_prog_cc_c89"
4363 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
4364 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
4366 if test "x$ac_cv_prog_cc_c89" != xno; then :
4371 ac_cpp='$CPP $CPPFLAGS'
4372 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4373 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4374 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4377 ac_cpp='$CXXCPP $CPPFLAGS'
4378 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4379 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4380 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
4381 if test -z "$CXX"; then
4382 if test -n "$CCC"; then
4385 if test -n "$ac_tool_prefix"; then
4386 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
4388 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
4389 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
4390 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4391 $as_echo_n "checking for $ac_word... " >&6; }
4392 if ${ac_cv_prog_CXX+:} false; then :
4393 $as_echo_n "(cached) " >&6
4395 if test -n "$CXX"; then
4396 ac_cv_prog_CXX="$CXX" # Let the user override the test.
4398 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4402 test -z "$as_dir" && as_dir=.
4403 for ac_exec_ext in '' $ac_executable_extensions; do
4404 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4405 ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"
4406 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4416 if test -n "$CXX"; then
4417 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXX" >&5
4418 $as_echo "$CXX" >&6; }
4420 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4421 $as_echo "no" >&6; }
4425 test -n "$CXX" && break
4428 if test -z "$CXX"; then
4430 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
4432 # Extract the first word of "$ac_prog", so it can be a program name with args.
4433 set dummy $ac_prog; ac_word=$2
4434 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4435 $as_echo_n "checking for $ac_word... " >&6; }
4436 if ${ac_cv_prog_ac_ct_CXX+:} false; then :
4437 $as_echo_n "(cached) " >&6
4439 if test -n "$ac_ct_CXX"; then
4440 ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
4442 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4446 test -z "$as_dir" && as_dir=.
4447 for ac_exec_ext in '' $ac_executable_extensions; do
4448 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4449 ac_cv_prog_ac_ct_CXX="$ac_prog"
4450 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4459 ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
4460 if test -n "$ac_ct_CXX"; then
4461 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CXX" >&5
4462 $as_echo "$ac_ct_CXX" >&6; }
4464 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4465 $as_echo "no" >&6; }
4469 test -n "$ac_ct_CXX" && break
4472 if test "x$ac_ct_CXX" = x; then
4475 case $cross_compiling:$ac_tool_warned in
4477 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4478 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4479 ac_tool_warned=yes ;;
4487 # Provide some information about the compiler.
4488 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C++ compiler version" >&5
4491 for ac_option in --version -v -V -qversion; do
4492 { { ac_try="$ac_compiler $ac_option >&5"
4494 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
4495 *) ac_try_echo
=$ac_try;;
4497 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4498 $as_echo "$ac_try_echo"; } >&5
4499 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
4501 if test -s conftest.err
; then
4503 ... rest of stderr output deleted ...
4504 10q' conftest.err
>conftest.er1
4505 cat conftest.er1
>&5
4507 rm -f conftest.er1 conftest.err
4508 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4509 test $ac_status = 0; }
4512 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C++ compiler" >&5
4513 $as_echo_n "checking whether we are using the GNU C++ compiler... " >&6; }
4514 if ${ac_cv_cxx_compiler_gnu+:} false
; then :
4515 $as_echo_n "(cached) " >&6
4517 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4518 /* end confdefs.h. */
4531 if ac_fn_cxx_try_compile
"$LINENO"; then :
4536 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
4537 ac_cv_cxx_compiler_gnu
=$ac_compiler_gnu
4540 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cxx_compiler_gnu" >&5
4541 $as_echo "$ac_cv_cxx_compiler_gnu" >&6; }
4542 if test $ac_compiler_gnu = yes; then
4547 ac_test_CXXFLAGS
=${CXXFLAGS+set}
4548 ac_save_CXXFLAGS
=$CXXFLAGS
4549 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CXX accepts -g" >&5
4550 $as_echo_n "checking whether $CXX accepts -g... " >&6; }
4551 if ${ac_cv_prog_cxx_g+:} false
; then :
4552 $as_echo_n "(cached) " >&6
4554 ac_save_cxx_werror_flag
=$ac_cxx_werror_flag
4555 ac_cxx_werror_flag
=yes
4558 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4559 /* end confdefs.h. */
4569 if ac_fn_cxx_try_compile
"$LINENO"; then :
4570 ac_cv_prog_cxx_g
=yes
4573 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4574 /* end confdefs.h. */
4584 if ac_fn_cxx_try_compile
"$LINENO"; then :
4587 ac_cxx_werror_flag
=$ac_save_cxx_werror_flag
4589 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4590 /* end confdefs.h. */
4600 if ac_fn_cxx_try_compile
"$LINENO"; then :
4601 ac_cv_prog_cxx_g
=yes
4603 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
4605 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
4607 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
4608 ac_cxx_werror_flag
=$ac_save_cxx_werror_flag
4610 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cxx_g" >&5
4611 $as_echo "$ac_cv_prog_cxx_g" >&6; }
4612 if test "$ac_test_CXXFLAGS" = set; then
4613 CXXFLAGS
=$ac_save_CXXFLAGS
4614 elif test $ac_cv_prog_cxx_g = yes; then
4615 if test "$GXX" = yes; then
4621 if test "$GXX" = yes; then
4628 ac_cpp
='$CPP $CPPFLAGS'
4629 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4630 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4631 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
4633 if test -n "$ac_tool_prefix"; then
4634 # Extract the first word of "${ac_tool_prefix}cpp", so it can be a program name with args.
4635 set dummy
${ac_tool_prefix}cpp
; ac_word
=$2
4636 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4637 $as_echo_n "checking for $ac_word... " >&6; }
4638 if ${ac_cv_prog_CPPBIN+:} false
; then :
4639 $as_echo_n "(cached) " >&6
4641 if test -n "$CPPBIN"; then
4642 ac_cv_prog_CPPBIN
="$CPPBIN" # Let the user override the test.
4644 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4648 test -z "$as_dir" && as_dir
=.
4649 for ac_exec_ext
in '' $ac_executable_extensions; do
4650 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
4651 ac_cv_prog_CPPBIN
="${ac_tool_prefix}cpp"
4652 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4661 CPPBIN
=$ac_cv_prog_CPPBIN
4662 if test -n "$CPPBIN"; then
4663 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPPBIN" >&5
4664 $as_echo "$CPPBIN" >&6; }
4666 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4667 $as_echo "no" >&6; }
4672 if test -z "$ac_cv_prog_CPPBIN"; then
4673 ac_ct_CPPBIN
=$CPPBIN
4674 # Extract the first word of "cpp", so it can be a program name with args.
4675 set dummy cpp
; ac_word
=$2
4676 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4677 $as_echo_n "checking for $ac_word... " >&6; }
4678 if ${ac_cv_prog_ac_ct_CPPBIN+:} false
; then :
4679 $as_echo_n "(cached) " >&6
4681 if test -n "$ac_ct_CPPBIN"; then
4682 ac_cv_prog_ac_ct_CPPBIN
="$ac_ct_CPPBIN" # Let the user override the test.
4684 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4688 test -z "$as_dir" && as_dir
=.
4689 for ac_exec_ext
in '' $ac_executable_extensions; do
4690 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
4691 ac_cv_prog_ac_ct_CPPBIN
="cpp"
4692 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4701 ac_ct_CPPBIN
=$ac_cv_prog_ac_ct_CPPBIN
4702 if test -n "$ac_ct_CPPBIN"; then
4703 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CPPBIN" >&5
4704 $as_echo "$ac_ct_CPPBIN" >&6; }
4706 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4707 $as_echo "no" >&6; }
4710 if test "x$ac_ct_CPPBIN" = x
; then
4713 case $cross_compiling:$ac_tool_warned in
4715 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4716 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4717 ac_tool_warned
=yes ;;
4719 CPPBIN
=$ac_ct_CPPBIN
4722 CPPBIN
="$ac_cv_prog_CPPBIN"
4726 cat >>confdefs.h
<<_ACEOF
4727 #define EXEEXT "$ac_exeext"
4733 if test "x$enable_win64" = "xyes"
4738 notice_platform
="64-bit "
4745 notice_platform
="32-bit "
4748 enable_win16
=${enable_win16:-yes}
4750 with_fontconfig
=${with_fontconfig:-no}
4753 if test "x$enable_win64" != "xyes" -a "$cross_compiling" != "yes"
4757 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC works" >&5
4758 $as_echo_n "checking whether $CC works... " >&6; }
4760 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4761 /* end confdefs.h. */
4771 if ac_fn_c_try_link
"$LINENO"; then :
4772 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4773 $as_echo "yes" >&6; }
4775 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4776 $as_echo "no" >&6; }
4777 as_fn_error $?
"Cannot build a 32-bit program, you need to install 32-bit development libraries." "$LINENO" 5
4779 rm -f core conftest.err conftest.
$ac_objext \
4780 conftest
$ac_exeext conftest.
$ac_ext
4782 notice_platform
="32-bit "
4785 enable_win16
=${enable_win16:-yes}
4787 if test "x${GCC}" = "xyes"
4789 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC supports __builtin_ms_va_list" >&5
4790 $as_echo_n "checking whether $CC supports __builtin_ms_va_list... " >&6; }
4791 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4792 /* end confdefs.h. */
4797 void func(__builtin_ms_va_list *args);
4802 if ac_fn_c_try_compile
"$LINENO"; then :
4803 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4804 $as_echo "yes" >&6; }
4806 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4807 $as_echo "no" >&6; }
4808 as_fn_error $?
"You need gcc >= 4.4 to build Wine as 64-bit." "$LINENO" 5
4810 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
4817 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC supports Thumb" >&5
4818 $as_echo_n "checking whether $CC supports Thumb... " >&6; }
4819 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4820 /* end confdefs.h. */
4821 int ac_test(int i) { return i; }
4825 asm(".thumb\nblx ac_test\n.arm"); if (ac_test(1)) return 1
4830 if ac_fn_c_try_link
"$LINENO"; then :
4831 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4832 $as_echo "yes" >&6; }
4834 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4835 $as_echo "no" >&6; }
4836 as_fn_error $?
"You need a target with Thumb support to build Wine for ARM." "$LINENO" 5
4838 rm -f core conftest.err conftest.
$ac_objext \
4839 conftest
$ac_exeext conftest.
$ac_ext
4840 CFLAGS
="$CFLAGS -marm"
4844 *-mingw32*|
*-cygwin*)
4845 enable_win16
=${enable_win16:-no}
4846 CFLAGS
="$CFLAGS -D_WIN32"
4849 enable_win16
=${enable_win16:-yes}
4853 enable_win16
=${enable_win16:-no}
4854 enable_win64
=${enable_win64:-no}
4856 enable_winetest
=${enable_winetest:-$enable_tests}
4858 if test -n "$with_wine64"
4860 if test "x$enable_win64" = "xyes"
4862 as_fn_error $?
"--enable-win64 and --with-wine64 are mutually exclusive.
4863 --enable-win64 should be used in the 64-bit build tree, --with-wine64 in the 32-bit Wow64 build tree." "$LINENO" 5
4865 enable_fonts
=${enable_fonts:-no}
4866 enable_server
=${enable_server:-no}
4867 elif test "x$enable_win64" = "xyes"
4869 test "x$libdir" != "x\${exec_prefix}/lib" || libdir
="\${exec_prefix}/lib64"
4872 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for the directory containing the Wine tools" >&5
4873 $as_echo_n "checking for the directory containing the Wine tools... " >&6; }
4874 if ${wine_cv_toolsdir+:} false
; then :
4875 $as_echo_n "(cached) " >&6
4877 wine_cv_toolsdir
="$with_wine_tools"
4878 if test -z "$with_wine_tools"; then
4879 if test "$cross_compiling" = "yes"; then
4880 as_fn_error $?
"you must use the --with-wine-tools option when cross-compiling." "$LINENO" 5
4881 elif test -n "$with_wine64"; then
4882 wine_cv_toolsdir
="$with_wine64"
4885 if test -z "$wine_cv_toolsdir"; then
4886 wine_makedep
=tools
/makedep
4887 wine_cv_toolsdir
="\$(top_builddir)"
4888 elif test -d "$wine_cv_toolsdir/tools/winebuild"; then
4889 wine_makedep
=$wine_cv_toolsdir/tools
/makedep
4890 case "$wine_cv_toolsdir" in
4892 *) wine_cv_toolsdir
="\$(top_builddir)/$wine_cv_toolsdir" ;;
4894 enable_tools
=${enable_tools:-no}
4895 test -f "$wine_makedep" || as_fn_error $?
"the Wine tools have not yet been built in $wine_cv_toolsdir" "$LINENO" 5
4897 as_fn_error $?
"could not find Wine tools in $wine_cv_toolsdir" "$LINENO" 5
4900 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_toolsdir" >&5
4901 $as_echo "$wine_cv_toolsdir" >&6; }
4902 TOOLSDIR
=$wine_cv_toolsdir
4904 if test -n "$host_alias" -a "$host_alias" != "$build_alias"
4906 TARGETFLAGS
="-b $host_alias $TARGETFLAGS"
4912 # Extract the first word of "$ac_prog", so it can be a program name with args.
4913 set dummy
$ac_prog; ac_word
=$2
4914 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4915 $as_echo_n "checking for $ac_word... " >&6; }
4916 if ${ac_cv_prog_FLEX+:} false
; then :
4917 $as_echo_n "(cached) " >&6
4919 if test -n "$FLEX"; then
4920 ac_cv_prog_FLEX
="$FLEX" # Let the user override the test.
4922 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4926 test -z "$as_dir" && as_dir
=.
4927 for ac_exec_ext
in '' $ac_executable_extensions; do
4928 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
4929 ac_cv_prog_FLEX
="$ac_prog"
4930 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4939 FLEX
=$ac_cv_prog_FLEX
4940 if test -n "$FLEX"; then
4941 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $FLEX" >&5
4942 $as_echo "$FLEX" >&6; }
4944 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4945 $as_echo "no" >&6; }
4949 test -n "$FLEX" && break
4951 test -n "$FLEX" || FLEX
="none"
4953 if test "$FLEX" = "none"
4955 as_fn_error $?
"no suitable flex found. Please install the 'flex' package." "$LINENO" 5
4957 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether flex is recent enough" >&5
4958 $as_echo_n "checking whether flex is recent enough... " >&6; }
4959 cat >conftest.l
<<EOF
4961 #include "prediluvian.h"
4965 if $FLEX -t conftest.l
>/dev
/null
2>&5
4967 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4968 $as_echo "yes" >&6; }
4970 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4971 $as_echo "no" >&6; }
4972 as_fn_error $?
"Your flex version is too old. Please install flex version 2.5.33 or newer." "$LINENO" 5
4975 for ac_prog
in bison
4977 # Extract the first word of "$ac_prog", so it can be a program name with args.
4978 set dummy
$ac_prog; ac_word
=$2
4979 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4980 $as_echo_n "checking for $ac_word... " >&6; }
4981 if ${ac_cv_prog_BISON+:} false
; then :
4982 $as_echo_n "(cached) " >&6
4984 if test -n "$BISON"; then
4985 ac_cv_prog_BISON
="$BISON" # Let the user override the test.
4987 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4991 test -z "$as_dir" && as_dir
=.
4992 for ac_exec_ext
in '' $ac_executable_extensions; do
4993 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
4994 ac_cv_prog_BISON
="$ac_prog"
4995 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5004 BISON
=$ac_cv_prog_BISON
5005 if test -n "$BISON"; then
5006 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $BISON" >&5
5007 $as_echo "$BISON" >&6; }
5009 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5010 $as_echo "no" >&6; }
5014 test -n "$BISON" && break
5016 test -n "$BISON" || BISON
="none"
5018 if test "$BISON" = "none"
5020 as_fn_error $?
"no suitable bison found. Please install the 'bison' package." "$LINENO" 5
5023 if test -n "$ac_tool_prefix"; then
5024 for ac_prog
in ar gar
5026 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
5027 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
5028 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5029 $as_echo_n "checking for $ac_word... " >&6; }
5030 if ${ac_cv_prog_AR+:} false
; then :
5031 $as_echo_n "(cached) " >&6
5033 if test -n "$AR"; then
5034 ac_cv_prog_AR
="$AR" # Let the user override the test.
5036 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5040 test -z "$as_dir" && as_dir
=.
5041 for ac_exec_ext
in '' $ac_executable_extensions; do
5042 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
5043 ac_cv_prog_AR
="$ac_tool_prefix$ac_prog"
5044 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5054 if test -n "$AR"; then
5055 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
5056 $as_echo "$AR" >&6; }
5058 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5059 $as_echo "no" >&6; }
5063 test -n "$AR" && break
5066 if test -z "$AR"; then
5068 for ac_prog
in ar gar
5070 # Extract the first word of "$ac_prog", so it can be a program name with args.
5071 set dummy
$ac_prog; ac_word
=$2
5072 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5073 $as_echo_n "checking for $ac_word... " >&6; }
5074 if ${ac_cv_prog_ac_ct_AR+:} false
; then :
5075 $as_echo_n "(cached) " >&6
5077 if test -n "$ac_ct_AR"; then
5078 ac_cv_prog_ac_ct_AR
="$ac_ct_AR" # Let the user override the test.
5080 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5084 test -z "$as_dir" && as_dir
=.
5085 for ac_exec_ext
in '' $ac_executable_extensions; do
5086 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
5087 ac_cv_prog_ac_ct_AR
="$ac_prog"
5088 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5097 ac_ct_AR
=$ac_cv_prog_ac_ct_AR
5098 if test -n "$ac_ct_AR"; then
5099 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5
5100 $as_echo "$ac_ct_AR" >&6; }
5102 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5103 $as_echo "no" >&6; }
5107 test -n "$ac_ct_AR" && break
5110 if test "x$ac_ct_AR" = x
; then
5113 case $cross_compiling:$ac_tool_warned in
5115 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5116 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5117 ac_tool_warned
=yes ;;
5123 if test -n "$ac_tool_prefix"; then
5124 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
5125 set dummy
${ac_tool_prefix}strip
; ac_word
=$2
5126 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5127 $as_echo_n "checking for $ac_word... " >&6; }
5128 if ${ac_cv_prog_STRIP+:} false
; then :
5129 $as_echo_n "(cached) " >&6
5131 if test -n "$STRIP"; then
5132 ac_cv_prog_STRIP
="$STRIP" # Let the user override the test.
5134 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5138 test -z "$as_dir" && as_dir
=.
5139 for ac_exec_ext
in '' $ac_executable_extensions; do
5140 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
5141 ac_cv_prog_STRIP
="${ac_tool_prefix}strip"
5142 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5151 STRIP
=$ac_cv_prog_STRIP
5152 if test -n "$STRIP"; then
5153 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
5154 $as_echo "$STRIP" >&6; }
5156 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5157 $as_echo "no" >&6; }
5162 if test -z "$ac_cv_prog_STRIP"; then
5164 # Extract the first word of "strip", so it can be a program name with args.
5165 set dummy strip
; ac_word
=$2
5166 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5167 $as_echo_n "checking for $ac_word... " >&6; }
5168 if ${ac_cv_prog_ac_ct_STRIP+:} false
; then :
5169 $as_echo_n "(cached) " >&6
5171 if test -n "$ac_ct_STRIP"; then
5172 ac_cv_prog_ac_ct_STRIP
="$ac_ct_STRIP" # Let the user override the test.
5174 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5178 test -z "$as_dir" && as_dir
=.
5179 for ac_exec_ext
in '' $ac_executable_extensions; do
5180 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
5181 ac_cv_prog_ac_ct_STRIP
="strip"
5182 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5191 ac_ct_STRIP
=$ac_cv_prog_ac_ct_STRIP
5192 if test -n "$ac_ct_STRIP"; then
5193 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
5194 $as_echo "$ac_ct_STRIP" >&6; }
5196 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5197 $as_echo "no" >&6; }
5200 if test "x$ac_ct_STRIP" = x
; then
5203 case $cross_compiling:$ac_tool_warned in
5205 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5206 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5207 ac_tool_warned
=yes ;;
5212 STRIP
="$ac_cv_prog_STRIP"
5217 if test -n "$ac_tool_prefix"; then
5218 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
5219 set dummy
${ac_tool_prefix}ranlib
; ac_word
=$2
5220 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5221 $as_echo_n "checking for $ac_word... " >&6; }
5222 if ${ac_cv_prog_RANLIB+:} false
; then :
5223 $as_echo_n "(cached) " >&6
5225 if test -n "$RANLIB"; then
5226 ac_cv_prog_RANLIB
="$RANLIB" # Let the user override the test.
5228 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5232 test -z "$as_dir" && as_dir
=.
5233 for ac_exec_ext
in '' $ac_executable_extensions; do
5234 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
5235 ac_cv_prog_RANLIB
="${ac_tool_prefix}ranlib"
5236 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5245 RANLIB
=$ac_cv_prog_RANLIB
5246 if test -n "$RANLIB"; then
5247 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
5248 $as_echo "$RANLIB" >&6; }
5250 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5251 $as_echo "no" >&6; }
5256 if test -z "$ac_cv_prog_RANLIB"; then
5257 ac_ct_RANLIB
=$RANLIB
5258 # Extract the first word of "ranlib", so it can be a program name with args.
5259 set dummy ranlib
; ac_word
=$2
5260 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5261 $as_echo_n "checking for $ac_word... " >&6; }
5262 if ${ac_cv_prog_ac_ct_RANLIB+:} false
; then :
5263 $as_echo_n "(cached) " >&6
5265 if test -n "$ac_ct_RANLIB"; then
5266 ac_cv_prog_ac_ct_RANLIB
="$ac_ct_RANLIB" # Let the user override the test.
5268 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5272 test -z "$as_dir" && as_dir
=.
5273 for ac_exec_ext
in '' $ac_executable_extensions; do
5274 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
5275 ac_cv_prog_ac_ct_RANLIB
="ranlib"
5276 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5285 ac_ct_RANLIB
=$ac_cv_prog_ac_ct_RANLIB
5286 if test -n "$ac_ct_RANLIB"; then
5287 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
5288 $as_echo "$ac_ct_RANLIB" >&6; }
5290 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5291 $as_echo "no" >&6; }
5294 if test "x$ac_ct_RANLIB" = x
; then
5297 case $cross_compiling:$ac_tool_warned in
5299 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5300 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5301 ac_tool_warned
=yes ;;
5303 RANLIB
=$ac_ct_RANLIB
5306 RANLIB
="$ac_cv_prog_RANLIB"
5309 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5
5310 $as_echo_n "checking whether ln -s works... " >&6; }
5312 if test "$LN_S" = "ln -s"; then
5313 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5314 $as_echo "yes" >&6; }
5316 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5
5317 $as_echo "no, using $LN_S" >&6; }
5320 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
5321 $as_echo_n "checking for grep that handles long lines and -e... " >&6; }
5322 if ${ac_cv_path_GREP+:} false
; then :
5323 $as_echo_n "(cached) " >&6
5325 if test -z "$GREP"; then
5326 ac_path_GREP_found
=false
5327 # Loop through the user's path and test for each of PROGNAME-LIST
5328 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5329 for as_dir
in $PATH$PATH_SEPARATOR/usr
/xpg
4/bin
5332 test -z "$as_dir" && as_dir
=.
5333 for ac_prog
in grep ggrep
; do
5334 for ac_exec_ext
in '' $ac_executable_extensions; do
5335 ac_path_GREP
="$as_dir/$ac_prog$ac_exec_ext"
5336 as_fn_executable_p
"$ac_path_GREP" ||
continue
5337 # Check for GNU ac_path_GREP and select it if it is found.
5338 # Check for GNU $ac_path_GREP
5339 case `"$ac_path_GREP" --version 2>&1` in
5341 ac_cv_path_GREP
="$ac_path_GREP" ac_path_GREP_found
=:;;
5344 $as_echo_n 0123456789 >"conftest.in"
5347 cat "conftest.in" "conftest.in" >"conftest.tmp"
5348 mv "conftest.tmp" "conftest.in"
5349 cp "conftest.in" "conftest.nl"
5350 $as_echo 'GREP' >> "conftest.nl"
5351 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev
/null ||
break
5352 diff "conftest.out" "conftest.nl" >/dev
/null
2>&1 ||
break
5353 as_fn_arith
$ac_count + 1 && ac_count
=$as_val
5354 if test $ac_count -gt ${ac_path_GREP_max-0}; then
5355 # Best one so far, save it but keep looking for a better one
5356 ac_cv_path_GREP
="$ac_path_GREP"
5357 ac_path_GREP_max
=$ac_count
5359 # 10*(2^10) chars as input seems more than enough
5360 test $ac_count -gt 10 && break
5362 rm -f conftest.
in conftest.tmp conftest.
nl conftest.out
;;
5365 $ac_path_GREP_found && break 3
5370 if test -z "$ac_cv_path_GREP"; then
5371 as_fn_error $?
"no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
5374 ac_cv_path_GREP
=$GREP
5378 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
5379 $as_echo "$ac_cv_path_GREP" >&6; }
5380 GREP
="$ac_cv_path_GREP"
5383 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
5384 $as_echo_n "checking for egrep... " >&6; }
5385 if ${ac_cv_path_EGREP+:} false
; then :
5386 $as_echo_n "(cached) " >&6
5388 if echo a |
$GREP -E '(a|b)' >/dev
/null
2>&1
5389 then ac_cv_path_EGREP
="$GREP -E"
5391 if test -z "$EGREP"; then
5392 ac_path_EGREP_found
=false
5393 # Loop through the user's path and test for each of PROGNAME-LIST
5394 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5395 for as_dir
in $PATH$PATH_SEPARATOR/usr
/xpg
4/bin
5398 test -z "$as_dir" && as_dir
=.
5399 for ac_prog
in egrep; do
5400 for ac_exec_ext
in '' $ac_executable_extensions; do
5401 ac_path_EGREP
="$as_dir/$ac_prog$ac_exec_ext"
5402 as_fn_executable_p
"$ac_path_EGREP" ||
continue
5403 # Check for GNU ac_path_EGREP and select it if it is found.
5404 # Check for GNU $ac_path_EGREP
5405 case `"$ac_path_EGREP" --version 2>&1` in
5407 ac_cv_path_EGREP
="$ac_path_EGREP" ac_path_EGREP_found
=:;;
5410 $as_echo_n 0123456789 >"conftest.in"
5413 cat "conftest.in" "conftest.in" >"conftest.tmp"
5414 mv "conftest.tmp" "conftest.in"
5415 cp "conftest.in" "conftest.nl"
5416 $as_echo 'EGREP' >> "conftest.nl"
5417 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev
/null ||
break
5418 diff "conftest.out" "conftest.nl" >/dev
/null
2>&1 ||
break
5419 as_fn_arith
$ac_count + 1 && ac_count
=$as_val
5420 if test $ac_count -gt ${ac_path_EGREP_max-0}; then
5421 # Best one so far, save it but keep looking for a better one
5422 ac_cv_path_EGREP
="$ac_path_EGREP"
5423 ac_path_EGREP_max
=$ac_count
5425 # 10*(2^10) chars as input seems more than enough
5426 test $ac_count -gt 10 && break
5428 rm -f conftest.
in conftest.tmp conftest.
nl conftest.out
;;
5431 $ac_path_EGREP_found && break 3
5436 if test -z "$ac_cv_path_EGREP"; then
5437 as_fn_error $?
"no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
5440 ac_cv_path_EGREP
=$EGREP
5445 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
5446 $as_echo "$ac_cv_path_EGREP" >&6; }
5447 EGREP
="$ac_cv_path_EGREP"
5450 # Extract the first word of "ldconfig", so it can be a program name with args.
5451 set dummy ldconfig
; ac_word
=$2
5452 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5453 $as_echo_n "checking for $ac_word... " >&6; }
5454 if ${ac_cv_path_LDCONFIG+:} false
; then :
5455 $as_echo_n "(cached) " >&6
5459 ac_cv_path_LDCONFIG
="$LDCONFIG" # Let the user override the test with a path.
5462 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5463 for as_dir
in /sbin
/usr
/sbin
$PATH
5466 test -z "$as_dir" && as_dir
=.
5467 for ac_exec_ext
in '' $ac_executable_extensions; do
5468 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
5469 ac_cv_path_LDCONFIG
="$as_dir/$ac_word$ac_exec_ext"
5470 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5477 test -z "$ac_cv_path_LDCONFIG" && ac_cv_path_LDCONFIG
="true"
5481 LDCONFIG
=$ac_cv_path_LDCONFIG
5482 if test -n "$LDCONFIG"; then
5483 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LDCONFIG" >&5
5484 $as_echo "$LDCONFIG" >&6; }
5486 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5487 $as_echo "no" >&6; }
5491 for ac_prog
in msgfmt
5493 # Extract the first word of "$ac_prog", so it can be a program name with args.
5494 set dummy
$ac_prog; ac_word
=$2
5495 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5496 $as_echo_n "checking for $ac_word... " >&6; }
5497 if ${ac_cv_prog_MSGFMT+:} false
; then :
5498 $as_echo_n "(cached) " >&6
5500 if test -n "$MSGFMT"; then
5501 ac_cv_prog_MSGFMT
="$MSGFMT" # Let the user override the test.
5503 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5507 test -z "$as_dir" && as_dir
=.
5508 for ac_exec_ext
in '' $ac_executable_extensions; do
5509 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
5510 ac_cv_prog_MSGFMT
="$ac_prog"
5511 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5520 MSGFMT
=$ac_cv_prog_MSGFMT
5521 if test -n "$MSGFMT"; then
5522 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MSGFMT" >&5
5523 $as_echo "$MSGFMT" >&6; }
5525 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5526 $as_echo "no" >&6; }
5530 test -n "$MSGFMT" && break
5532 test -n "$MSGFMT" || MSGFMT
="false"
5534 if ${ac_tool_prefix+:} false
; then :
5535 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
5536 set dummy
${ac_tool_prefix}pkg-config
; ac_word
=$2
5537 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5538 $as_echo_n "checking for $ac_word... " >&6; }
5539 if ${ac_cv_prog_PKG_CONFIG+:} false
; then :
5540 $as_echo_n "(cached) " >&6
5542 if test -n "$PKG_CONFIG"; then
5543 ac_cv_prog_PKG_CONFIG
="$PKG_CONFIG" # Let the user override the test.
5545 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5549 test -z "$as_dir" && as_dir
=.
5550 for ac_exec_ext
in '' $ac_executable_extensions; do
5551 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
5552 ac_cv_prog_PKG_CONFIG
="${ac_tool_prefix}pkg-config"
5553 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5562 PKG_CONFIG
=$ac_cv_prog_PKG_CONFIG
5563 if test -n "$PKG_CONFIG"; then
5564 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
5565 $as_echo "$PKG_CONFIG" >&6; }
5567 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5568 $as_echo "no" >&6; }
5573 if ${ac_cv_prog_PKG_CONFIG:+false} :; then :
5574 if test "x$cross_compiling" = xyes
; then :
5577 { ac_cv_prog_PKG_CONFIG
=; unset ac_cv_prog_PKG_CONFIG
;}
5578 # Extract the first word of "pkg-config", so it can be a program name with args.
5579 set dummy pkg-config
; ac_word
=$2
5580 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5581 $as_echo_n "checking for $ac_word... " >&6; }
5582 if ${ac_cv_prog_PKG_CONFIG+:} false
; then :
5583 $as_echo_n "(cached) " >&6
5585 if test -n "$PKG_CONFIG"; then
5586 ac_cv_prog_PKG_CONFIG
="$PKG_CONFIG" # Let the user override the test.
5588 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5592 test -z "$as_dir" && as_dir
=.
5593 for ac_exec_ext
in '' $ac_executable_extensions; do
5594 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
5595 ac_cv_prog_PKG_CONFIG
="pkg-config"
5596 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5605 PKG_CONFIG
=$ac_cv_prog_PKG_CONFIG
5606 if test -n "$PKG_CONFIG"; then
5607 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
5608 $as_echo "$PKG_CONFIG" >&6; }
5610 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5611 $as_echo "no" >&6; }
5617 PKG_CONFIG
=$ac_cv_prog_PKG_CONFIG
5620 if test "x$enable_maintainer_mode" != "xyes"
5627 test "$srcdir" = . || as_fn_error $?
"Maintainer mode cannot work out of tree." "$LINENO" 5
5628 for ac_prog
in fontforge
5630 # Extract the first word of "$ac_prog", so it can be a program name with args.
5631 set dummy
$ac_prog; ac_word
=$2
5632 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5633 $as_echo_n "checking for $ac_word... " >&6; }
5634 if ${ac_cv_prog_FONTFORGE+:} false
; then :
5635 $as_echo_n "(cached) " >&6
5637 if test -n "$FONTFORGE"; then
5638 ac_cv_prog_FONTFORGE
="$FONTFORGE" # Let the user override the test.
5640 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5644 test -z "$as_dir" && as_dir
=.
5645 for ac_exec_ext
in '' $ac_executable_extensions; do
5646 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
5647 ac_cv_prog_FONTFORGE
="$ac_prog"
5648 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5657 FONTFORGE
=$ac_cv_prog_FONTFORGE
5658 if test -n "$FONTFORGE"; then
5659 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $FONTFORGE" >&5
5660 $as_echo "$FONTFORGE" >&6; }
5662 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5663 $as_echo "no" >&6; }
5667 test -n "$FONTFORGE" && break
5669 test -n "$FONTFORGE" || FONTFORGE
="false"
5673 # Extract the first word of "$ac_prog", so it can be a program name with args.
5674 set dummy
$ac_prog; ac_word
=$2
5675 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5676 $as_echo_n "checking for $ac_word... " >&6; }
5677 if ${ac_cv_prog_RSVG+:} false
; then :
5678 $as_echo_n "(cached) " >&6
5680 if test -n "$RSVG"; then
5681 ac_cv_prog_RSVG
="$RSVG" # Let the user override the test.
5683 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5687 test -z "$as_dir" && as_dir
=.
5688 for ac_exec_ext
in '' $ac_executable_extensions; do
5689 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
5690 ac_cv_prog_RSVG
="$ac_prog"
5691 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5700 RSVG
=$ac_cv_prog_RSVG
5701 if test -n "$RSVG"; then
5702 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RSVG" >&5
5703 $as_echo "$RSVG" >&6; }
5705 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5706 $as_echo "no" >&6; }
5710 test -n "$RSVG" && break
5712 test -n "$RSVG" || RSVG
="false"
5714 for ac_prog
in convert
5716 # Extract the first word of "$ac_prog", so it can be a program name with args.
5717 set dummy
$ac_prog; ac_word
=$2
5718 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5719 $as_echo_n "checking for $ac_word... " >&6; }
5720 if ${ac_cv_prog_CONVERT+:} false
; then :
5721 $as_echo_n "(cached) " >&6
5723 if test -n "$CONVERT"; then
5724 ac_cv_prog_CONVERT
="$CONVERT" # Let the user override the test.
5726 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5730 test -z "$as_dir" && as_dir
=.
5731 for ac_exec_ext
in '' $ac_executable_extensions; do
5732 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
5733 ac_cv_prog_CONVERT
="$ac_prog"
5734 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5743 CONVERT
=$ac_cv_prog_CONVERT
5744 if test -n "$CONVERT"; then
5745 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CONVERT" >&5
5746 $as_echo "$CONVERT" >&6; }
5748 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5749 $as_echo "no" >&6; }
5753 test -n "$CONVERT" && break
5755 test -n "$CONVERT" || CONVERT
="false"
5757 for ac_prog
in icotool
5759 # Extract the first word of "$ac_prog", so it can be a program name with args.
5760 set dummy
$ac_prog; ac_word
=$2
5761 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5762 $as_echo_n "checking for $ac_word... " >&6; }
5763 if ${ac_cv_prog_ICOTOOL+:} false
; then :
5764 $as_echo_n "(cached) " >&6
5766 if test -n "$ICOTOOL"; then
5767 ac_cv_prog_ICOTOOL
="$ICOTOOL" # Let the user override the test.
5769 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5773 test -z "$as_dir" && as_dir
=.
5774 for ac_exec_ext
in '' $ac_executable_extensions; do
5775 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
5776 ac_cv_prog_ICOTOOL
="$ac_prog"
5777 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5786 ICOTOOL
=$ac_cv_prog_ICOTOOL
5787 if test -n "$ICOTOOL"; then
5788 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ICOTOOL" >&5
5789 $as_echo "$ICOTOOL" >&6; }
5791 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5792 $as_echo "no" >&6; }
5796 test -n "$ICOTOOL" && break
5798 test -n "$ICOTOOL" || ICOTOOL
="false"
5800 test "$FONTFORGE" != "false" || as_fn_error $?
"You need fontforge to rebuild fonts in maintainer mode." "$LINENO" 5
5801 test "$RSVG" != "false" || as_fn_error $?
"You need rsvg to rebuild icons in maintainer mode." "$LINENO" 5
5803 if test "$CONVERT" = false
5805 as_fn_error $?
"You need imagemagick to rebuild icons in maintainer mode." "$LINENO" 5
5807 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for recent enough imagemagick" >&5
5808 $as_echo_n "checking for recent enough imagemagick... " >&6; }
5809 convert_version
=`convert --version | head -n1`
5810 if test "x$convert_version" != "x"
5812 convert_version_major
=`expr "$convert_version" : '.* \([0-9]*\)\.[0-9]*'`
5813 convert_version_minor
=`expr "$convert_version" : '.* [0-9]*\.\([0-9]*\)'`
5814 if test "$convert_version_major" -eq 6 -a "$convert_version_minor" -lt 6
5819 if test "$CONVERT" = false
5821 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no ($convert_version_major.$convert_version_minor)" >&5
5822 $as_echo "no ($convert_version_major.$convert_version_minor)" >&6; }
5823 as_fn_error $?
"You need imagemagick version 6.6 or newer to rebuild icons in maintainer mode." "$LINENO" 5
5825 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes ($convert_version_major.$convert_version_minor)" >&5
5826 $as_echo "yes ($convert_version_major.$convert_version_minor)" >&6; }
5830 if test "$ICOTOOL" = false
5832 as_fn_error $?
"You need icotool to rebuild icons in maintainer mode." "$LINENO" 5
5834 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for recent enough icotool" >&5
5835 $as_echo_n "checking for recent enough icotool... " >&6; }
5836 icotool_version
=`icotool --version | head -n1`
5837 if test "x$icotool_version" != "x"
5839 icotool_version_major
=`expr "$icotool_version" : '.* \([0-9]*\)\.[0-9]*'`
5840 icotool_version_minor
=`expr "$icotool_version" : '.* [0-9]*\.\([0-9]*\)'`
5841 if test "$icotool_version_major" -eq 0 -a "$icotool_version_minor" -lt 29
5844 as_fn_append wine_warnings
"|icotool version 0.29.0 or newer is needed to rebuild icons."
5847 if test "$ICOTOOL" = false
5849 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no ($icotool_version_major.$icotool_version_minor)" >&5
5850 $as_echo "no ($icotool_version_major.$icotool_version_minor)" >&6; }
5851 as_fn_error $?
"You need icotool version 0.29.0 or newer to rebuild icons in maintainer mode." "$LINENO" 5
5853 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes ($icotool_version_major.$icotool_version_minor)" >&5
5854 $as_echo "yes ($icotool_version_major.$icotool_version_minor)" >&6; }
5860 { ac_cv_header_gettext_po_h
=; unset ac_cv_header_gettext_po_h
;}
5863 test "x$with_gettext" != xno || MSGFMT
=false
5864 if test "$MSGFMT" != "false"
5866 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether msgfmt supports contexts" >&5
5867 $as_echo_n "checking whether msgfmt supports contexts... " >&6; }
5868 cat >conftest.po
<<EOF
5874 if $MSGFMT -o /dev
/null conftest.po
2>&5
5876 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5877 $as_echo "yes" >&6; }
5879 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5880 $as_echo "no" >&6; }
5884 if test "$MSGFMT" = false
; then :
5885 case "x$with_gettext" in
5886 x
) as_fn_append wine_warnings
"|gettext tools not found (or too old), translations won't be built." ;;
5888 *) as_fn_error $?
"gettext tools not found (or too old), translations won't be built.
5889 This is an error since --with-gettext was requested." "$LINENO" 5 ;;
5894 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for i386_set_ldt in -li386" >&5
5895 $as_echo_n "checking for i386_set_ldt in -li386... " >&6; }
5896 if ${ac_cv_lib_i386_i386_set_ldt+:} false
; then :
5897 $as_echo_n "(cached) " >&6
5899 ac_check_lib_save_LIBS
=$LIBS
5901 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5902 /* end confdefs.h. */
5904 /* Override any GCC internal prototype to avoid an error.
5905 Use char because int might match the return type of a GCC
5906 builtin and then its argument prototype would still apply. */
5910 char i386_set_ldt ();
5914 return i386_set_ldt ();
5919 if ac_fn_c_try_link
"$LINENO"; then :
5920 ac_cv_lib_i386_i386_set_ldt
=yes
5922 ac_cv_lib_i386_i386_set_ldt
=no
5924 rm -f core conftest.err conftest.
$ac_objext \
5925 conftest
$ac_exeext conftest.
$ac_ext
5926 LIBS
=$ac_check_lib_save_LIBS
5928 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_i386_i386_set_ldt" >&5
5929 $as_echo "$ac_cv_lib_i386_i386_set_ldt" >&6; }
5930 if test "x$ac_cv_lib_i386_i386_set_ldt" = xyes
; then :
5931 cat >>confdefs.h
<<_ACEOF
5932 #define HAVE_LIBI386 1
5939 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _oss_ioctl in -lossaudio" >&5
5940 $as_echo_n "checking for _oss_ioctl in -lossaudio... " >&6; }
5941 if ${ac_cv_lib_ossaudio__oss_ioctl+:} false
; then :
5942 $as_echo_n "(cached) " >&6
5944 ac_check_lib_save_LIBS
=$LIBS
5945 LIBS
="-lossaudio $LIBS"
5946 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5947 /* end confdefs.h. */
5949 /* Override any GCC internal prototype to avoid an error.
5950 Use char because int might match the return type of a GCC
5951 builtin and then its argument prototype would still apply. */
5959 return _oss_ioctl ();
5964 if ac_fn_c_try_link
"$LINENO"; then :
5965 ac_cv_lib_ossaudio__oss_ioctl
=yes
5967 ac_cv_lib_ossaudio__oss_ioctl
=no
5969 rm -f core conftest.err conftest.
$ac_objext \
5970 conftest
$ac_exeext conftest.
$ac_ext
5971 LIBS
=$ac_check_lib_save_LIBS
5973 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ossaudio__oss_ioctl" >&5
5974 $as_echo "$ac_cv_lib_ossaudio__oss_ioctl" >&6; }
5975 if test "x$ac_cv_lib_ossaudio__oss_ioctl" = xyes
; then :
5976 cat >>confdefs.h
<<_ACEOF
5977 #define HAVE_LIBOSSAUDIO 1
5980 LIBS
="-lossaudio $LIBS"
5989 # Check whether --enable-largefile was given.
5990 if test "${enable_largefile+set}" = set; then :
5991 enableval
=$enable_largefile;
5994 if test "$enable_largefile" != no
; then
5996 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for special C compiler options needed for large files" >&5
5997 $as_echo_n "checking for special C compiler options needed for large files... " >&6; }
5998 if ${ac_cv_sys_largefile_CC+:} false
; then :
5999 $as_echo_n "(cached) " >&6
6001 ac_cv_sys_largefile_CC
=no
6002 if test "$GCC" != yes; then
6005 # IRIX 6.2 and later do not support large files by default,
6006 # so use the C compiler's -n32 option if that helps.
6007 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6008 /* end confdefs.h. */
6009 #include <sys/types.h>
6010 /* Check that off_t can represent 2**63 - 1 correctly.
6011 We can't simply define LARGE_OFF_T to be 9223372036854775807,
6012 since some C++ compilers masquerading as C compilers
6013 incorrectly reject 9223372036854775807. */
6014 #define LARGE_OFF_T ((((off_t) 1 << 31) << 31) - 1 + (((off_t) 1 << 31) << 31))
6015 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
6016 && LARGE_OFF_T % 2147483647 == 1)
6026 if ac_fn_c_try_compile
"$LINENO"; then :
6029 rm -f core conftest.err conftest.
$ac_objext
6031 if ac_fn_c_try_compile
"$LINENO"; then :
6032 ac_cv_sys_largefile_CC
=' -n32'; break
6034 rm -f core conftest.err conftest.
$ac_objext
6038 rm -f conftest.
$ac_ext
6041 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_largefile_CC" >&5
6042 $as_echo "$ac_cv_sys_largefile_CC" >&6; }
6043 if test "$ac_cv_sys_largefile_CC" != no
; then
6044 CC
=$CC$ac_cv_sys_largefile_CC
6047 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _FILE_OFFSET_BITS value needed for large files" >&5
6048 $as_echo_n "checking for _FILE_OFFSET_BITS value needed for large files... " >&6; }
6049 if ${ac_cv_sys_file_offset_bits+:} false
; then :
6050 $as_echo_n "(cached) " >&6
6053 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6054 /* end confdefs.h. */
6055 #include <sys/types.h>
6056 /* Check that off_t can represent 2**63 - 1 correctly.
6057 We can't simply define LARGE_OFF_T to be 9223372036854775807,
6058 since some C++ compilers masquerading as C compilers
6059 incorrectly reject 9223372036854775807. */
6060 #define LARGE_OFF_T ((((off_t) 1 << 31) << 31) - 1 + (((off_t) 1 << 31) << 31))
6061 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
6062 && LARGE_OFF_T % 2147483647 == 1)
6072 if ac_fn_c_try_compile
"$LINENO"; then :
6073 ac_cv_sys_file_offset_bits
=no
; break
6075 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
6076 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6077 /* end confdefs.h. */
6078 #define _FILE_OFFSET_BITS 64
6079 #include <sys/types.h>
6080 /* Check that off_t can represent 2**63 - 1 correctly.
6081 We can't simply define LARGE_OFF_T to be 9223372036854775807,
6082 since some C++ compilers masquerading as C compilers
6083 incorrectly reject 9223372036854775807. */
6084 #define LARGE_OFF_T ((((off_t) 1 << 31) << 31) - 1 + (((off_t) 1 << 31) << 31))
6085 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
6086 && LARGE_OFF_T % 2147483647 == 1)
6096 if ac_fn_c_try_compile
"$LINENO"; then :
6097 ac_cv_sys_file_offset_bits
=64; break
6099 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
6100 ac_cv_sys_file_offset_bits
=unknown
6104 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_file_offset_bits" >&5
6105 $as_echo "$ac_cv_sys_file_offset_bits" >&6; }
6106 case $ac_cv_sys_file_offset_bits in #(
6109 cat >>confdefs.h
<<_ACEOF
6110 #define _FILE_OFFSET_BITS $ac_cv_sys_file_offset_bits
6115 if test $ac_cv_sys_file_offset_bits = unknown
; then
6116 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _LARGE_FILES value needed for large files" >&5
6117 $as_echo_n "checking for _LARGE_FILES value needed for large files... " >&6; }
6118 if ${ac_cv_sys_large_files+:} false
; then :
6119 $as_echo_n "(cached) " >&6
6122 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6123 /* end confdefs.h. */
6124 #include <sys/types.h>
6125 /* Check that off_t can represent 2**63 - 1 correctly.
6126 We can't simply define LARGE_OFF_T to be 9223372036854775807,
6127 since some C++ compilers masquerading as C compilers
6128 incorrectly reject 9223372036854775807. */
6129 #define LARGE_OFF_T ((((off_t) 1 << 31) << 31) - 1 + (((off_t) 1 << 31) << 31))
6130 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
6131 && LARGE_OFF_T % 2147483647 == 1)
6141 if ac_fn_c_try_compile
"$LINENO"; then :
6142 ac_cv_sys_large_files
=no
; break
6144 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
6145 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6146 /* end confdefs.h. */
6147 #define _LARGE_FILES 1
6148 #include <sys/types.h>
6149 /* Check that off_t can represent 2**63 - 1 correctly.
6150 We can't simply define LARGE_OFF_T to be 9223372036854775807,
6151 since some C++ compilers masquerading as C compilers
6152 incorrectly reject 9223372036854775807. */
6153 #define LARGE_OFF_T ((((off_t) 1 << 31) << 31) - 1 + (((off_t) 1 << 31) << 31))
6154 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
6155 && LARGE_OFF_T % 2147483647 == 1)
6165 if ac_fn_c_try_compile
"$LINENO"; then :
6166 ac_cv_sys_large_files
=1; break
6168 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
6169 ac_cv_sys_large_files
=unknown
6173 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_large_files" >&5
6174 $as_echo "$ac_cv_sys_large_files" >&6; }
6175 case $ac_cv_sys_large_files in #(
6178 cat >>confdefs.h
<<_ACEOF
6179 #define _LARGE_FILES $ac_cv_sys_large_files
6191 ac_cpp
='$CPP $CPPFLAGS'
6192 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6193 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6194 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
6195 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
6196 $as_echo_n "checking how to run the C preprocessor... " >&6; }
6197 # On Suns, sometimes $CPP names a directory.
6198 if test -n "$CPP" && test -d "$CPP"; then
6201 if test -z "$CPP"; then
6202 if ${ac_cv_prog_CPP+:} false
; then :
6203 $as_echo_n "(cached) " >&6
6205 # Double quotes because CPP needs to be expanded
6206 for CPP
in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
6209 for ac_c_preproc_warn_flag
in '' yes
6211 # Use a header file that comes with gcc, so configuring glibc
6212 # with a fresh cross-compiler works.
6213 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
6214 # <limits.h> exists even on freestanding compilers.
6215 # On the NeXT, cc -E runs the code through the compiler's parser,
6216 # not just through cpp. "Syntax error" is here to catch this case.
6217 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6218 /* end confdefs.h. */
6220 # include <limits.h>
6222 # include <assert.h>
6226 if ac_fn_c_try_cpp
"$LINENO"; then :
6229 # Broken: fails on valid input.
6232 rm -f conftest.err conftest.i conftest.
$ac_ext
6234 # OK, works on sane cases. Now check whether nonexistent headers
6235 # can be detected and how.
6236 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6237 /* end confdefs.h. */
6238 #include <ac_nonexistent.h>
6240 if ac_fn_c_try_cpp
"$LINENO"; then :
6241 # Broken: success on invalid input.
6244 # Passes both tests.
6248 rm -f conftest.err conftest.i conftest.
$ac_ext
6251 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
6252 rm -f conftest.i conftest.err conftest.
$ac_ext
6253 if $ac_preproc_ok; then :
6265 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
6266 $as_echo "$CPP" >&6; }
6268 for ac_c_preproc_warn_flag
in '' yes
6270 # Use a header file that comes with gcc, so configuring glibc
6271 # with a fresh cross-compiler works.
6272 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
6273 # <limits.h> exists even on freestanding compilers.
6274 # On the NeXT, cc -E runs the code through the compiler's parser,
6275 # not just through cpp. "Syntax error" is here to catch this case.
6276 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6277 /* end confdefs.h. */
6279 # include <limits.h>
6281 # include <assert.h>
6285 if ac_fn_c_try_cpp
"$LINENO"; then :
6288 # Broken: fails on valid input.
6291 rm -f conftest.err conftest.i conftest.
$ac_ext
6293 # OK, works on sane cases. Now check whether nonexistent headers
6294 # can be detected and how.
6295 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6296 /* end confdefs.h. */
6297 #include <ac_nonexistent.h>
6299 if ac_fn_c_try_cpp
"$LINENO"; then :
6300 # Broken: success on invalid input.
6303 # Passes both tests.
6307 rm -f conftest.err conftest.i conftest.
$ac_ext
6310 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
6311 rm -f conftest.i conftest.err conftest.
$ac_ext
6312 if $ac_preproc_ok; then :
6315 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
6316 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
6317 as_fn_error $?
"C preprocessor \"$CPP\" fails sanity check
6318 See \`config.log' for more details" "$LINENO" 5; }
6322 ac_cpp
='$CPP $CPPFLAGS'
6323 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6324 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6325 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
6328 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
6329 $as_echo_n "checking for ANSI C header files... " >&6; }
6330 if ${ac_cv_header_stdc+:} false
; then :
6331 $as_echo_n "(cached) " >&6
6333 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6334 /* end confdefs.h. */
6348 if ac_fn_c_try_compile
"$LINENO"; then :
6349 ac_cv_header_stdc
=yes
6351 ac_cv_header_stdc
=no
6353 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
6355 if test $ac_cv_header_stdc = yes; then
6356 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
6357 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6358 /* end confdefs.h. */
6362 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
6363 $EGREP "memchr" >/dev
/null
2>&1; then :
6366 ac_cv_header_stdc
=no
6372 if test $ac_cv_header_stdc = yes; then
6373 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
6374 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6375 /* end confdefs.h. */
6379 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
6380 $EGREP "free" >/dev
/null
2>&1; then :
6383 ac_cv_header_stdc
=no
6389 if test $ac_cv_header_stdc = yes; then
6390 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
6391 if test "$cross_compiling" = yes; then :
6394 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6395 /* end confdefs.h. */
6398 #if ((' ' & 0x0FF) == 0x020)
6399 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
6400 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
6402 # define ISLOWER(c) \
6403 (('a' <= (c) && (c) <= 'i') \
6404 || ('j' <= (c) && (c) <= 'r') \
6405 || ('s' <= (c) && (c) <= 'z'))
6406 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
6409 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
6414 for (i = 0; i < 256; i++)
6415 if (XOR (islower (i), ISLOWER (i))
6416 || toupper (i) != TOUPPER (i))
6421 if ac_fn_c_try_run
"$LINENO"; then :
6424 ac_cv_header_stdc
=no
6426 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext \
6427 conftest.
$ac_objext conftest.beam conftest.
$ac_ext
6432 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
6433 $as_echo "$ac_cv_header_stdc" >&6; }
6434 if test $ac_cv_header_stdc = yes; then
6436 $as_echo "#define STDC_HEADERS 1" >>confdefs.h
6440 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
6441 for ac_header
in sys
/types.h sys
/stat.h stdlib.h string.h memory.h
strings.h \
6442 inttypes.h stdint.h unistd.h
6444 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
6445 ac_fn_c_check_header_compile
"$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
6447 if eval test \"x\$
"$as_ac_Header"\" = x
"yes"; then :
6448 cat >>confdefs.h
<<_ACEOF
6449 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
6459 ApplicationServices
/ApplicationServices.h \
6460 AudioToolbox
/AudioConverter.h \
6461 AudioUnit
/AudioUnit.h \
6462 AudioUnit
/AudioComponent.h \
6465 CoreAudio
/CoreAudio.h \
6466 CoreServices
/CoreServices.h \
6467 DiskArbitration
/DiskArbitration.h \
6469 IOKit
/hid
/IOHIDLib.h \
6472 QuickTime
/ImageCompression.h \
6473 Security
/Security.h \
6524 netinet
/in_systm.h \
6586 valgrind
/memcheck.h \
6587 valgrind
/valgrind.h \
6591 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
6592 ac_fn_c_check_header_mongrel
"$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
6593 if eval test \"x\$
"$as_ac_Header"\" = x
"yes"; then :
6594 cat >>confdefs.h
<<_ACEOF
6595 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
6602 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether stat file-mode macros are broken" >&5
6603 $as_echo_n "checking whether stat file-mode macros are broken... " >&6; }
6604 if ${ac_cv_header_stat_broken+:} false
; then :
6605 $as_echo_n "(cached) " >&6
6607 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6608 /* end confdefs.h. */
6609 #include <sys/types.h>
6610 #include <sys/stat.h>
6612 #if defined S_ISBLK && defined S_IFDIR
6613 extern char c1[S_ISBLK (S_IFDIR) ? -1 : 1];
6616 #if defined S_ISBLK && defined S_IFCHR
6617 extern char c2[S_ISBLK (S_IFCHR) ? -1 : 1];
6620 #if defined S_ISLNK && defined S_IFREG
6621 extern char c3[S_ISLNK (S_IFREG) ? -1 : 1];
6624 #if defined S_ISSOCK && defined S_IFREG
6625 extern char c4[S_ISSOCK (S_IFREG) ? -1 : 1];
6629 if ac_fn_c_try_compile
"$LINENO"; then :
6630 ac_cv_header_stat_broken
=no
6632 ac_cv_header_stat_broken
=yes
6634 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
6636 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stat_broken" >&5
6637 $as_echo "$ac_cv_header_stat_broken" >&6; }
6638 if test $ac_cv_header_stat_broken = yes; then
6640 $as_echo "#define STAT_MACROS_BROKEN 1" >>confdefs.h
6646 for ac_header
in sys
/mount.h sys
/statfs.h sys
/sysctl.h sys
/user.h sys
/vfs.h
6648 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
6649 ac_fn_c_check_header_compile
"$LINENO" "$ac_header" "$as_ac_Header" "#include <sys/types.h>
6650 #ifdef HAVE_SYS_PARAM_H
6651 # include <sys/param.h>
6654 if eval test \"x\$
"$as_ac_Header"\" = x
"yes"; then :
6655 cat >>confdefs.h
<<_ACEOF
6656 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
6671 netinet
/if_ether.h \
6672 netinet
/if_inarp.h \
6681 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
6682 ac_fn_c_check_header_compile
"$LINENO" "$ac_header" "$as_ac_Header" "#include <sys/types.h>
6683 #ifdef HAVE_SYS_SOCKET_H
6684 # include <sys/socket.h>
6686 #ifdef HAVE_SYS_SOCKETVAR_H
6687 # include <sys/socketvar.h>
6689 #ifdef HAVE_NET_ROUTE_H
6690 # include <net/route.h>
6692 #ifdef HAVE_NETINET_IN_H
6693 # include <netinet/in.h>
6695 #ifdef HAVE_NETINET_IN_SYSTM_H
6696 # include <netinet/in_systm.h>
6698 #ifdef HAVE_NET_IF_H
6699 # include <net/if.h>
6701 #ifdef HAVE_NETINET_IP_H
6702 # include <netinet/ip.h>
6705 if eval test \"x\$
"$as_ac_Header"\" = x
"yes"; then :
6706 cat >>confdefs.h
<<_ACEOF
6707 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
6715 for ac_header
in netinet
/tcp_timer.h netinet
/udp_var.h netinet
/icmp_var.h netinet
/tcp_var.h
6717 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
6718 ac_fn_c_check_header_compile
"$LINENO" "$ac_header" "$as_ac_Header" "#include <sys/types.h>
6722 #ifdef HAVE_SYS_SOCKET_H
6723 # include <sys/socket.h>
6725 #ifdef HAVE_SYS_SOCKETVAR_H
6726 # include <sys/socketvar.h>
6728 #ifdef HAVE_SYS_TIMEOUT_H
6729 # include <sys/timeout.h>
6731 #ifdef HAVE_NETINET_IN_H
6732 # include <netinet/in.h>
6734 #ifdef HAVE_NETINET_IN_SYSTM_H
6735 # include <netinet/in_systm.h>
6737 #ifdef HAVE_NETINET_IP_H
6738 # include <netinet/ip.h>
6740 #ifdef HAVE_NETINET_IP_VAR_H
6741 # include <netinet/ip_var.h>
6743 #ifdef HAVE_NETINET_IP_ICMP_H
6744 # include <netinet/ip_icmp.h>
6746 #ifdef HAVE_NETINET_UDP_H
6747 # include <netinet/udp.h>
6749 #ifdef HAVE_NETINET_TCP_H
6750 # include <netinet/tcp.h>
6752 #ifdef HAVE_NETINET_TCP_TIMER_H
6753 #include <netinet/tcp_timer.h>
6756 if eval test \"x\$
"$as_ac_Header"\" = x
"yes"; then :
6757 cat >>confdefs.h
<<_ACEOF
6758 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
6766 for ac_header
in linux
/ipx.h linux
/irda.h linux
/rtnetlink.h
6768 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
6769 ac_fn_c_check_header_compile
"$LINENO" "$ac_header" "$as_ac_Header" "#include <sys/types.h>
6770 #ifdef HAVE_ASM_TYPES_H
6771 # include <asm/types.h>
6773 #ifdef HAVE_SYS_SOCKET_H
6774 # include <sys/socket.h>
6776 #ifdef HAVE_LINUX_TYPES_H
6777 # include <linux/types.h>
6780 if eval test \"x\$
"$as_ac_Header"\" = x
"yes"; then :
6781 cat >>confdefs.h
<<_ACEOF
6782 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
6790 for ac_header
in mach-o
/dyld_images.h
6792 ac_fn_c_check_header_compile
"$LINENO" "mach-o/dyld_images.h" "ac_cv_header_mach_o_dyld_images_h" "#ifdef HAVE_STDBOOL_H
6793 # include <stdbool.h>
6795 #ifdef HAVE_STDINT_H
6796 # include <stdint.h>
6799 if test "x$ac_cv_header_mach_o_dyld_images_h" = xyes
; then :
6800 cat >>confdefs.h
<<_ACEOF
6801 #define HAVE_MACH_O_DYLD_IMAGES_H 1
6809 for ac_header
in resolv.h
6811 ac_fn_c_check_header_compile
"$LINENO" "resolv.h" "ac_cv_header_resolv_h" "#include <sys/types.h>
6812 #ifdef HAVE_SYS_SOCKET_H
6813 # include <sys/socket.h>
6815 #ifdef HAVE_NETINET_IN_H
6816 # include <netinet/in.h>
6818 #ifdef HAVE_ARPA_NAMESER_H
6819 # include <arpa/nameser.h>
6822 if test "x$ac_cv_header_resolv_h" = xyes
; then :
6823 cat >>confdefs.h
<<_ACEOF
6824 #define HAVE_RESOLV_H 1
6832 for ac_header
in ifaddrs.h
6834 ac_fn_c_check_header_compile
"$LINENO" "ifaddrs.h" "ac_cv_header_ifaddrs_h" "#include <sys/types.h>
6836 if test "x$ac_cv_header_ifaddrs_h" = xyes
; then :
6837 cat >>confdefs.h
<<_ACEOF
6838 #define HAVE_IFADDRS_H 1
6846 for ac_header
in sys
/ucontext.h
6848 ac_fn_c_check_header_compile
"$LINENO" "sys/ucontext.h" "ac_cv_header_sys_ucontext_h" "#include <signal.h>
6850 if test "x$ac_cv_header_sys_ucontext_h" = xyes
; then :
6851 cat >>confdefs.h
<<_ACEOF
6852 #define HAVE_SYS_UCONTEXT_H 1
6860 for ac_header
in sys
/thr.h
6862 ac_fn_c_check_header_compile
"$LINENO" "sys/thr.h" "ac_cv_header_sys_thr_h" "#include <sys/types.h>
6863 #ifdef HAVE_SYS_UCONTEXT_H
6864 #include <sys/ucontext.h>
6867 if test "x$ac_cv_header_sys_thr_h" = xyes
; then :
6868 cat >>confdefs.h
<<_ACEOF
6869 #define HAVE_SYS_THR_H 1
6877 for ac_header
in pthread_np.h
6879 ac_fn_c_check_header_compile
"$LINENO" "pthread_np.h" "ac_cv_header_pthread_np_h" "#ifdef HAVE_PTHREAD_H
6880 #include <pthread.h>
6883 if test "x$ac_cv_header_pthread_np_h" = xyes
; then :
6884 cat >>confdefs.h
<<_ACEOF
6885 #define HAVE_PTHREAD_NP_H 1
6893 for ac_header
in linux
/videodev.h linux
/videodev2.h libv4l1.h
6895 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
6896 ac_fn_c_check_header_compile
"$LINENO" "$ac_header" "$as_ac_Header" "#ifdef HAVE_SYS_TIME_H
6897 #include <sys/time.h>
6899 #include <sys/types.h>
6900 #ifdef HAVE_ASM_TYPES_H
6901 #include <asm/types.h>
6904 if eval test \"x\$
"$as_ac_Header"\" = x
"yes"; then :
6905 cat >>confdefs.h
<<_ACEOF
6906 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
6914 for ac_header
in libprocstat.h
6916 ac_fn_c_check_header_compile
"$LINENO" "libprocstat.h" "ac_cv_header_libprocstat_h" "#ifdef HAVE_SYS_PARAM_H
6917 #include <sys/param.h>
6919 #ifdef HAVE_SYS_QUEUE_H
6920 #include <sys/queue.h>
6922 #ifdef HAVE_SYS_SOCKET_H
6923 #include <sys/socket.h>
6926 if test "x$ac_cv_header_libprocstat_h" = xyes
; then :
6927 cat >>confdefs.h
<<_ACEOF
6928 #define HAVE_LIBPROCSTAT_H 1
6937 dlldir
="\${libdir}/wine"
6941 DLLFLAGS
="-D_REENTRANT"
6950 STATIC_IMPLIBEXT
="def.a"
6951 # Extract the first word of "ldd", so it can be a program name with args.
6952 set dummy ldd
; ac_word
=$2
6953 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6954 $as_echo_n "checking for $ac_word... " >&6; }
6955 if ${ac_cv_path_LDD+:} false
; then :
6956 $as_echo_n "(cached) " >&6
6960 ac_cv_path_LDD
="$LDD" # Let the user override the test with a path.
6963 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6964 as_dummy
="/sbin:/usr/sbin:$PATH"
6965 for as_dir
in $as_dummy
6968 test -z "$as_dir" && as_dir
=.
6969 for ac_exec_ext
in '' $ac_executable_extensions; do
6970 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
6971 ac_cv_path_LDD
="$as_dir/$ac_word$ac_exec_ext"
6972 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6979 test -z "$ac_cv_path_LDD" && ac_cv_path_LDD
="true"
6984 if test -n "$LDD"; then
6985 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LDD" >&5
6986 $as_echo "$LDD" >&6; }
6988 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6989 $as_echo "no" >&6; }
6993 if test -n "$ac_tool_prefix"; then
6994 # Extract the first word of "${ac_tool_prefix}readelf", so it can be a program name with args.
6995 set dummy
${ac_tool_prefix}readelf
; ac_word
=$2
6996 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6997 $as_echo_n "checking for $ac_word... " >&6; }
6998 if ${ac_cv_prog_READELF+:} false
; then :
6999 $as_echo_n "(cached) " >&6
7001 if test -n "$READELF"; then
7002 ac_cv_prog_READELF
="$READELF" # Let the user override the test.
7004 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7008 test -z "$as_dir" && as_dir
=.
7009 for ac_exec_ext
in '' $ac_executable_extensions; do
7010 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
7011 ac_cv_prog_READELF
="${ac_tool_prefix}readelf"
7012 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7021 READELF
=$ac_cv_prog_READELF
7022 if test -n "$READELF"; then
7023 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $READELF" >&5
7024 $as_echo "$READELF" >&6; }
7026 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7027 $as_echo "no" >&6; }
7032 if test -z "$ac_cv_prog_READELF"; then
7033 ac_ct_READELF
=$READELF
7034 # Extract the first word of "readelf", so it can be a program name with args.
7035 set dummy readelf
; ac_word
=$2
7036 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7037 $as_echo_n "checking for $ac_word... " >&6; }
7038 if ${ac_cv_prog_ac_ct_READELF+:} false
; then :
7039 $as_echo_n "(cached) " >&6
7041 if test -n "$ac_ct_READELF"; then
7042 ac_cv_prog_ac_ct_READELF
="$ac_ct_READELF" # Let the user override the test.
7044 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7048 test -z "$as_dir" && as_dir
=.
7049 for ac_exec_ext
in '' $ac_executable_extensions; do
7050 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
7051 ac_cv_prog_ac_ct_READELF
="readelf"
7052 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7061 ac_ct_READELF
=$ac_cv_prog_ac_ct_READELF
7062 if test -n "$ac_ct_READELF"; then
7063 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_READELF" >&5
7064 $as_echo "$ac_ct_READELF" >&6; }
7066 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7067 $as_echo "no" >&6; }
7070 if test "x$ac_ct_READELF" = x
; then
7073 case $cross_compiling:$ac_tool_warned in
7075 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7076 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7077 ac_tool_warned
=yes ;;
7079 READELF
=$ac_ct_READELF
7082 READELF
="$ac_cv_prog_READELF"
7085 wine_rules_file
=conf$
$rules.
make
7086 rm -f $wine_rules_file
7088 GITIGNORE
="# Automatically generated by configure; DO NOT EDIT!!"
7089 ALL_TEST_RESOURCES
=""
7092 wine_fn_append_file
()
7094 as_fn_append
$1 " \\$as_nl $2"
7097 wine_fn_ignore_file
()
7100 */*) as_fn_append GITIGNORE
"$as_nl$1" ;;
7101 \
**) as_fn_append GITIGNORE
"$as_nl$1" ;;
7102 *) as_fn_append GITIGNORE
"$as_nl/$1" ;;
7106 wine_fn_append_rule
()
7108 $as_echo "$1" >>$wine_rules_file
7113 expr ",$ac_flags," : ".*,$1,.*" >/dev
/null
7116 wine_fn_depend_rules
()
7118 wine_fn_append_rule \
7119 "$ac_dir/Makefile: $srcdir/$ac_dir/Makefile.in $srcdir/Make.vars.in config.status \$(MAKEDEP)
7120 @./config.status --file $ac_dir/Makefile:Make.vars.in:$ac_dir/Makefile.in && \$(MAKEDEP) $ac_dir
7121 depend: $ac_dir/depend
7122 .PHONY: $ac_dir/depend
7123 $ac_dir/depend: \$(MAKEDEP) dummy
7124 @./config.status --file $ac_dir/Makefile:Make.vars.in:$ac_dir/Makefile.in && \$(MAKEDEP) $ac_dir"
7127 wine_fn_pot_rules
()
7129 test "x$with_gettextpo" = xyes ||
return
7131 if wine_fn_has_flag mc
7133 wine_fn_append_file ALL_POT_FILES
$ac_dir/msg.pot
7134 wine_fn_append_rule \
7135 "$ac_dir/msg.pot: $ac_dir/Makefile dummy
7136 @cd $ac_dir && \$(MAKE) msg.pot
7137 $ac_dir/msg.pot: tools/wmc include"
7139 if wine_fn_has_flag po
7141 wine_fn_append_file ALL_POT_FILES
$ac_dir/rsrc.pot
7142 wine_fn_append_rule \
7143 "$ac_dir/rsrc.pot: $ac_dir/Makefile dummy
7144 @cd $ac_dir && \$(MAKE) rsrc.pot
7145 $ac_dir/rsrc.pot: tools/wrc include"
7149 wine_fn_all_rules
()
7151 wine_fn_depend_rules
7152 wine_fn_append_rule \
7155 $ac_dir: $ac_dir/Makefile dummy
7156 @cd $ac_dir && \$(MAKE)"
7159 wine_fn_install_rules
()
7161 wine_fn_has_flag install-lib || wine_fn_has_flag install-dev ||
return
7163 wine_fn_append_rule \
7164 ".PHONY: $ac_dir/install $ac_dir/uninstall
7165 $ac_dir/install:: $ac_dir
7166 @cd $ac_dir && \$(MAKE) install
7167 $ac_dir/uninstall:: $ac_dir/Makefile
7168 @cd $ac_dir && \$(MAKE) uninstall
7169 install:: $ac_dir/install
7170 __uninstall__: $ac_dir/uninstall"
7172 if wine_fn_has_flag install-lib
7174 wine_fn_append_rule \
7175 ".PHONY: $ac_dir/install-lib
7176 $ac_dir/install-lib:: $ac_dir
7177 @cd $ac_dir && \$(MAKE) install-lib
7178 install-lib:: $ac_dir/install-lib"
7181 if wine_fn_has_flag install-dev
7183 wine_fn_append_rule \
7184 ".PHONY: $ac_dir/install-dev
7185 $ac_dir/install-dev:: $ac_dir
7186 @cd $ac_dir && \$(MAKE) install-dev
7187 install-dev:: $ac_dir/install-dev"
7191 wine_fn_clean_rules
()
7194 ac_extraclean
="$ac_dir/Makefile"
7195 test "$srcdir" = .
&& ac_extraclean
="$ac_extraclean $ac_dir/.gitignore"
7197 */tests
) ac_extraclean
="$ac_extraclean $ac_dir/testlist.c" ;;
7200 if wine_fn_has_flag clean
7202 wine_fn_append_rule \
7203 "__clean__: $ac_dir/clean
7204 .PHONY: $ac_dir/clean
7205 $ac_dir/clean: $ac_dir/Makefile
7206 @cd $ac_dir && \$(MAKE) clean
7207 \$(RM) $ac_extraclean"
7209 wine_fn_append_rule \
7210 "__clean__: $ac_dir/clean
7211 .PHONY: $ac_dir/clean
7212 $ac_dir/clean: dummy
7213 \$(RM) \$(CLEAN_FILES:%=$ac_dir/%) $ac_clean $ac_extraclean"
7217 wine_fn_disabled_rules
()
7220 ac_extraclean
="$ac_dir/Makefile"
7221 test "$srcdir" = .
&& ac_extraclean
="$ac_extraclean $ac_dir/.gitignore"
7223 wine_fn_append_rule \
7224 "__clean__: $ac_dir/clean
7225 .PHONY: $ac_dir/clean
7226 $ac_dir/clean: dummy
7227 \$(RM) \$(CLEAN_FILES:%=$ac_dir/%) $ac_clean $ac_extraclean"
7230 wine_fn_config_makefile
()
7236 if eval test \"x\$
"$ac_enable"\" = x
"no"; then :
7237 wine_fn_disabled_rules
; return
7240 wine_fn_install_rules
7244 wine_fn_config_lib
()
7248 ac_dir
=dlls
/$ac_name
7251 if test "x$enable_tools" = xno
; then :
7254 ac_deps
="tools/widl tools/winebuild tools/winegcc $ac_deps"
7259 wine_fn_append_rule \
7260 ".PHONY: $ac_dir/install $ac_dir/uninstall
7261 $ac_dir/install:: $ac_dir
7262 \$(INSTALL_DATA) $ac_dir/lib$ac_name.a \$(DESTDIR)\$(dlldir)/lib$ac_name.a
7264 \$(RM) \$(DESTDIR)\$(dlldir)/lib$ac_name.a
7265 install install-dev:: $ac_dir/install
7266 __uninstall__: $ac_dir/uninstall
7267 __builddeps__: $ac_dir
7271 wine_fn_config_dll
()
7274 ac_dir
=dlls
/$ac_name
7277 ac_implib
=${4:-$ac_name}
7278 ac_file
=$ac_dir/lib
$ac_implib
7283 if test "x$enable_tools" = xno
; then :
7286 ac_deps
="tools/widl tools/winebuild tools/winegcc $ac_deps"
7289 *16) ac_implibflags
=" -m16" ;;
7291 *) ac_dll
=$ac_dll.dll
;;
7295 wine_fn_has_flag implib
&& ac_clean
="$ac_clean $ac_file.$IMPLIBEXT"
7296 wine_fn_has_flag mc
&& ac_clean
="$ac_clean $ac_dir/msg.pot"
7297 wine_fn_has_flag po
&& ac_clean
="$ac_clean $ac_dir/rsrc.pot"
7298 test -n "$DLLEXT" || ac_clean
="$ac_clean $ac_dir/$ac_dll"
7300 if eval test \"x\$
"$ac_enable"\" = x
"no"; then :
7301 if wine_fn_has_flag implib
&& test "$ac_enable" != enable_win16
7303 wine_fn_depend_rules
7304 wine_fn_clean_rules
$ac_clean
7306 wine_fn_disabled_rules
$ac_clean
7311 wine_fn_clean_rules
$ac_clean
7312 wine_fn_append_rule \
7313 "$ac_dir: __builddeps__
7314 manpages htmlpages sgmlpages xmlpages:: $ac_dir/Makefile
7315 @cd $ac_dir && \$(MAKE) \$@
7316 .PHONY: $ac_dir/install-lib $ac_dir/uninstall
7317 install install-lib:: $ac_dir/install-lib
7318 __uninstall__: $ac_dir/uninstall"
7319 if test -n "$DLLEXT"
7321 wine_fn_append_rule \
7322 "$ac_dir/install-lib:: $ac_dir
7323 \$(INSTALL_PROGRAM) $ac_dir/$ac_dll$DLLEXT \$(DESTDIR)\$(dlldir)/$DLLPREFIX$ac_dll$DLLEXT
7324 \$(INSTALL_DATA) $ac_dir/$ac_dll.fake \$(DESTDIR)\$(fakedlldir)/$ac_dll
7326 \$(RM) \$(DESTDIR)\$(dlldir)/$DLLPREFIX$ac_dll$DLLEXT \$(DESTDIR)\$(fakedlldir)/$ac_dll"
7328 wine_fn_append_rule \
7329 "$ac_dir/install-lib:: $ac_dir
7330 \$(INSTALL_PROGRAM) $ac_dir/$ac_dll \$(DESTDIR)\$(dlldir)/$ac_dll
7332 \$(RM) \$(DESTDIR)\$(dlldir)/$ac_dll"
7338 if wine_fn_has_flag staticimplib
7340 wine_fn_append_rule \
7341 "__builddeps__: $ac_file.$IMPLIBEXT $ac_file.$STATIC_IMPLIBEXT
7342 $ac_file.$IMPLIBEXT $ac_file.$STATIC_IMPLIBEXT $ac_file.cross.a: $ac_deps
7343 $ac_file.def: $srcdir/$ac_dir/$ac_name.spec $ac_dir/Makefile \$(WINEBUILD)
7344 \$(WINEBUILD) \$(TARGETFLAGS)$ac_implibflags -w --def -o \$@ --export $srcdir/$ac_dir/$ac_name.spec
7345 $ac_file.$STATIC_IMPLIBEXT: $ac_dir/Makefile dummy
7346 @cd $ac_dir && \$(MAKE) lib$ac_implib.$STATIC_IMPLIBEXT
7347 .PHONY: $ac_dir/install-dev $ac_dir/uninstall
7348 $ac_dir/install-dev:: $ac_file.$IMPLIBEXT
7349 \$(INSTALL_DATA) $ac_file.$IMPLIBEXT \$(DESTDIR)\$(dlldir)/lib$ac_implib.$IMPLIBEXT
7351 \$(RM) \$(DESTDIR)\$(dlldir)/lib$ac_implib.$IMPLIBEXT
7352 install install-dev:: $ac_dir/install-dev
7353 __uninstall__: $ac_dir/uninstall"
7355 if test "$IMPLIBEXT" != "$STATIC_IMPLIBEXT"
7357 wine_fn_append_rule \
7358 "$ac_dir/install-dev:: $ac_file.$STATIC_IMPLIBEXT __builddeps__
7359 \$(INSTALL_DATA) $ac_file.$STATIC_IMPLIBEXT \$(DESTDIR)\$(dlldir)/lib$ac_implib.$STATIC_IMPLIBEXT
7361 \$(RM) \$(DESTDIR)\$(dlldir)/lib$ac_implib.$STATIC_IMPLIBEXT"
7364 if test -n "$CROSSTARGET" -a -z "$ac_implibflags"
7366 wine_fn_append_rule \
7367 "__builddeps__: $ac_file.cross.a
7368 $ac_file.cross.a: $ac_dir/Makefile dummy
7369 @cd $ac_dir && \$(MAKE) lib$ac_implib.cross.a"
7372 elif wine_fn_has_flag implib
7374 wine_fn_append_rule \
7375 "__builddeps__: $ac_file.$IMPLIBEXT
7376 $ac_file.def: $srcdir/$ac_dir/$ac_name.spec $ac_dir/Makefile \$(WINEBUILD)
7377 \$(WINEBUILD) \$(TARGETFLAGS)$ac_implibflags -w --def -o \$@ --export $srcdir/$ac_dir/$ac_name.spec
7378 $ac_file.a: $srcdir/$ac_dir/$ac_name.spec $ac_dir/Makefile \$(WINEBUILD)
7379 \$(WINEBUILD) \$(TARGETFLAGS)$ac_implibflags -w --implib -o \$@ --export $srcdir/$ac_dir/$ac_name.spec
7380 .PHONY: $ac_dir/install-dev $ac_dir/uninstall
7381 $ac_dir/install-dev:: $ac_file.$IMPLIBEXT
7382 \$(INSTALL_DATA) $ac_file.$IMPLIBEXT \$(DESTDIR)\$(dlldir)/lib$ac_implib.$IMPLIBEXT
7384 \$(RM) \$(DESTDIR)\$(dlldir)/lib$ac_implib.$IMPLIBEXT
7385 install install-dev:: $ac_dir/install-dev
7386 __uninstall__: $ac_dir/uninstall"
7387 if test -n "$CROSSTARGET" -a -z "$ac_implibflags"
7389 wine_fn_append_rule \
7390 "__builddeps__: $ac_file.cross.a
7391 $ac_file.cross.a: $srcdir/$ac_dir/$ac_name.spec $ac_dir/Makefile \$(WINEBUILD)
7392 \$(WINEBUILD) \$(CROSSTARGET:%=-b %)$ac_implibflags -w --implib -o \$@ --export $srcdir/$ac_dir/$ac_name.spec"
7395 if test "$ac_name" != "$ac_implib"
7397 wine_fn_append_rule \
7398 "__builddeps__: dlls/lib$ac_implib.$IMPLIBEXT
7399 dlls/lib$ac_implib.$IMPLIBEXT: $ac_file.$IMPLIBEXT
7400 \$(RM) \$@ && \$(LN_S) $ac_name/lib$ac_implib.$IMPLIBEXT \$@
7402 \$(RM) dlls/lib$ac_implib.$IMPLIBEXT"
7403 wine_fn_ignore_file
"dlls/lib$ac_implib.$IMPLIBEXT"
7404 if test -n "$CROSSTARGET" -a -z "$ac_implibflags"
7406 wine_fn_append_rule \
7407 "__builddeps__: dlls/lib$ac_implib.cross.a
7408 dlls/lib$ac_implib.cross.a: $ac_file.cross.a
7409 \$(RM) \$@ && \$(LN_S) $ac_name/lib$ac_implib.cross.a \$@
7411 \$(RM) dlls/lib$ac_implib.cross.a"
7412 wine_fn_ignore_file
"dlls/lib$ac_implib.cross.a"
7418 wine_fn_config_program
()
7421 ac_dir
=programs
/$ac_name
7428 *) ac_program
=$ac_program.exe
;;
7432 wine_fn_has_flag mc
&& ac_clean
="$ac_clean $ac_dir/msg.pot"
7433 wine_fn_has_flag po
&& ac_clean
="$ac_clean $ac_dir/rsrc.pot"
7434 wine_fn_has_flag manpage
&& ac_clean
="$ac_clean $ac_dir/$ac_name.man"
7435 test -n "$DLLEXT" || ac_clean
="$ac_clean $ac_dir/$ac_program"
7437 if eval test \"x\$
"$ac_enable"\" = x
"no"; then :
7438 wine_fn_disabled_rules
$ac_clean; return
7442 wine_fn_clean_rules
$ac_clean
7443 wine_fn_append_rule
"$ac_dir: __builddeps__"
7446 wine_fn_has_flag
install ||
return
7447 wine_fn_append_rule \
7448 ".PHONY: $ac_dir/install $ac_dir/uninstall
7449 install install-lib:: $ac_dir/install
7450 __uninstall__: $ac_dir/uninstall"
7452 if test -n "$DLLEXT"
7454 wine_fn_append_rule \
7455 "$ac_dir/install:: $ac_dir
7456 \$(INSTALL_PROGRAM) $ac_dir/$ac_program$DLLEXT \$(DESTDIR)\$(dlldir)/$DLLPREFIX$ac_program$DLLEXT
7457 \$(INSTALL_DATA) $ac_dir/$ac_program.fake \$(DESTDIR)\$(fakedlldir)/$ac_program
7459 \$(RM) \$(DESTDIR)\$(dlldir)/$DLLPREFIX$ac_program$DLLEXT \$(DESTDIR)\$(fakedlldir)/$ac_program"
7461 if test -z "$with_wine64" && wine_fn_has_flag installbin
7463 wine_fn_append_rule \
7464 "$ac_dir/install:: __tooldeps__
7465 \$(INSTALL_SCRIPT) \$(TOOLSDIR)/tools/wineapploader \$(DESTDIR)\$(bindir)/$ac_name
7467 \$(RM) \$(DESTDIR)\$(bindir)/$ac_name"
7470 wine_fn_append_rule \
7471 "$ac_dir/install:: $ac_dir
7472 \$(INSTALL_PROGRAM) $ac_dir/$ac_program \$(DESTDIR)\$(bindir)/$ac_program
7474 \$(RM) \$(DESTDIR)\$(bindir)/$ac_program"
7477 if test -z "$with_wine64" && wine_fn_has_flag manpage
7479 wine_fn_append_rule \
7480 "$ac_dir/install:: $ac_dir
7481 \$(INSTALL_DATA) $ac_dir/$ac_name.man \$(DESTDIR)\$(mandir)/man\$(prog_manext)/$ac_name.\$(prog_manext)
7483 \$(RM) \$(DESTDIR)\$(mandir)/man\$(prog_manext)/$ac_name.\$(prog_manext)"
7487 wine_fn_config_test
()
7494 test -n "$CROSSTARGET" && ac_clean
=`expr $ac_dir/${ac_name} : "\\(.*\\)_test"`_crosstest.exe
7495 test -n "$DLLEXT" || ac_clean
="$ac_dir/${ac_name}.exe $ac_dir/${ac_name}-stripped.exe"
7497 if test "x$enable_tests" = xno
; then :
7498 wine_fn_disabled_rules
$ac_clean; return
7501 wine_fn_append_file ALL_TEST_RESOURCES
$ac_name.res
7503 wine_fn_clean_rules
$ac_clean
7505 wine_fn_append_rule \
7506 "$ac_dir: programs/winetest/Makefile __builddeps__
7507 programs/winetest: $ac_dir
7508 check test: $ac_dir/test
7509 .PHONY: $ac_dir/test
7511 @cd $ac_dir && \$(MAKE) test
7513 \$(RM) $ac_dir/*.ok"
7515 if test -n "$CROSSTARGET"
7517 wine_fn_append_rule \
7518 "crosstest: $ac_dir/crosstest
7519 .PHONY: $ac_dir/crosstest
7520 $ac_dir/crosstest: $ac_dir/Makefile __builddeps__ dummy
7521 @cd $ac_dir && \$(MAKE) crosstest"
7525 wine_fn_config_tool
()
7529 if test "x$enable_tools" = xno
; then :
7534 wine_fn_install_rules
7537 wine_fn_append_rule
"__tooldeps__: $ac_dir"
7538 wine_fn_append_rule
"$ac_dir: libs/port"
7540 tools
/winebuild
) wine_fn_append_rule
"\$(WINEBUILD): $ac_dir" ;;
7544 wine_fn_config_symlink
()
7547 if test "x$1" = "x-d"
7553 wine_fn_append_rule \
7555 @./config.status \$@
7558 for f
in $ac_links; do wine_fn_ignore_file
$f; done
7559 test -n "$ac_linkdir" ||
return
7560 wine_fn_append_rule
"$ac_linkdir/Makefile $ac_linkdir/depend: $ac_links"
7564 test "x$enable_win64" != "xyes" || wine_binary
="wine64"
7565 loader_programs
="$wine_binary wine-installed"
7566 libwine_soversion
=`expr $libwine_version : '\([0-9]*\)\..*'`
7571 install install-lib:: wine-installed
7572 \$(INSTALL_PROGRAM) wine-installed \$(DESTDIR)\$(bindir)/$wine_binary
7575 \$(RM) \$(DESTDIR)\$(bindir)/$wine_binary
7581 if test -n "$ac_tool_prefix"; then
7582 # Extract the first word of "${ac_tool_prefix}dlltool", so it can be a program name with args.
7583 set dummy
${ac_tool_prefix}dlltool
; ac_word
=$2
7584 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7585 $as_echo_n "checking for $ac_word... " >&6; }
7586 if ${ac_cv_prog_DLLTOOL+:} false
; then :
7587 $as_echo_n "(cached) " >&6
7589 if test -n "$DLLTOOL"; then
7590 ac_cv_prog_DLLTOOL
="$DLLTOOL" # Let the user override the test.
7592 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7596 test -z "$as_dir" && as_dir
=.
7597 for ac_exec_ext
in '' $ac_executable_extensions; do
7598 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
7599 ac_cv_prog_DLLTOOL
="${ac_tool_prefix}dlltool"
7600 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7609 DLLTOOL
=$ac_cv_prog_DLLTOOL
7610 if test -n "$DLLTOOL"; then
7611 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DLLTOOL" >&5
7612 $as_echo "$DLLTOOL" >&6; }
7614 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7615 $as_echo "no" >&6; }
7620 if test -z "$ac_cv_prog_DLLTOOL"; then
7621 ac_ct_DLLTOOL
=$DLLTOOL
7622 # Extract the first word of "dlltool", so it can be a program name with args.
7623 set dummy dlltool
; ac_word
=$2
7624 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7625 $as_echo_n "checking for $ac_word... " >&6; }
7626 if ${ac_cv_prog_ac_ct_DLLTOOL+:} false
; then :
7627 $as_echo_n "(cached) " >&6
7629 if test -n "$ac_ct_DLLTOOL"; then
7630 ac_cv_prog_ac_ct_DLLTOOL
="$ac_ct_DLLTOOL" # Let the user override the test.
7632 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7636 test -z "$as_dir" && as_dir
=.
7637 for ac_exec_ext
in '' $ac_executable_extensions; do
7638 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
7639 ac_cv_prog_ac_ct_DLLTOOL
="dlltool"
7640 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7649 ac_ct_DLLTOOL
=$ac_cv_prog_ac_ct_DLLTOOL
7650 if test -n "$ac_ct_DLLTOOL"; then
7651 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DLLTOOL" >&5
7652 $as_echo "$ac_ct_DLLTOOL" >&6; }
7654 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7655 $as_echo "no" >&6; }
7658 if test "x$ac_ct_DLLTOOL" = x
; then
7661 case $cross_compiling:$ac_tool_warned in
7663 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7664 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7665 ac_tool_warned
=yes ;;
7667 DLLTOOL
=$ac_ct_DLLTOOL
7670 DLLTOOL
="$ac_cv_prog_DLLTOOL"
7676 STATIC_IMPLIBEXT
="a"
7677 enable_iphlpapi
=${enable_iphlpapi:-no}
7678 enable_kernel32
=${enable_kernel32:-no}
7679 enable_msvcrt
=${enable_msvcrt:-no}
7680 enable_ntdll
=${enable_ntdll:-no}
7681 enable_ws2_32
=${enable_ws2_32:-no}
7682 enable_loader
=${enable_loader:-no}
7683 enable_server
=${enable_server:-no}
7684 with_x
=${with_x:-no}
7685 with_pthread
=${with_pthread:-no}
7691 SOCKET_LIBS
="-L\$(top_builddir)/dlls/ws2_32 -lws2_32"
7695 libwine_targets
="libwine.dll libwine.a"
7697 OBJS = \$(C_SRCS:.c=.o) \$(EXTRA_OBJS)
7699 all: libwine.dll libwine.a
7701 libwine.a: \$(srcdir)/wine.def
7702 \$(DLLTOOL) -l \$@ -d \$(srcdir)/wine.def
7704 libwine.dll: \$(OBJS) \$(srcdir)/wine.def
7705 \$(CC) -shared \$(srcdir)/wine.def -o \$@ \$(OBJS) $crtlibs \$(EXTRALIBS)
7707 install install-lib:: libwine.dll
7708 \$(INSTALL_DATA) libwine.dll \$(DESTDIR)\$(libdir)/libwine.dll
7710 install install-dev:: libwine.a
7711 \$(INSTALL_DATA) libwine.a \$(DESTDIR)\$(libdir)/libwine.a
7714 -cd \$(DESTDIR)\$(libdir) && \$(RM) libwine.a libwine.dll
7721 DLLFLAGS
="$DLLFLAGS -fPIC"
7722 LIBWINE_LDFLAGS
="-multiply_defined suppress"
7723 LDRPATH_INSTALL
="-Wl,-rpath,@loader_path/\`\$(MAKEDEP) -R \$(bindir) \$(libdir)\`"
7724 LDRPATH_LOCAL
="-Wl,-rpath,@loader_path/\$(top_builddir)/libs/wine"
7725 COREFOUNDATION_LIBS
="-framework CoreFoundation"
7727 IOKIT_LIBS
="-framework IOKit -framework CoreFoundation"
7729 FORCEFEEDBACK_LIBS
="-framework ForceFeedback -framework CoreFoundation"
7731 APPLICATIONSERVICES_LIBS
="-framework ApplicationServices"
7733 CORESERVICES_LIBS
="-framework CoreServices"
7735 APPKIT_LIBS
="-framework AppKit"
7737 LDEXECFLAGS
="-image_base 0x7bf00000 -Wl,-segaddr,WINE_DOS,0x00001000,-segaddr,WINE_SHAREDHEAP,0x7f000000,-sectcreate,__TEXT,__info_plist,wine_info.plist"
7738 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,-no_pie" >&5
7739 $as_echo_n "checking whether the compiler supports -Wl,-no_pie... " >&6; }
7740 if ${ac_cv_cflags__Wl__no_pie+:} false
; then :
7741 $as_echo_n "(cached) " >&6
7743 ac_wine_try_cflags_saved
=$CFLAGS
7744 CFLAGS
="$CFLAGS -Wl,-no_pie"
7745 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
7746 /* end confdefs.h. */
7747 int main(int argc, char **argv) { return 0; }
7749 if ac_fn_c_try_link
"$LINENO"; then :
7750 ac_cv_cflags__Wl__no_pie
=yes
7752 ac_cv_cflags__Wl__no_pie
=no
7754 rm -f core conftest.err conftest.
$ac_objext \
7755 conftest
$ac_exeext conftest.
$ac_ext
7756 CFLAGS
=$ac_wine_try_cflags_saved
7758 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl__no_pie" >&5
7759 $as_echo "$ac_cv_cflags__Wl__no_pie" >&6; }
7760 if test "x$ac_cv_cflags__Wl__no_pie" = xyes
; then :
7761 LDEXECFLAGS
="-Wl,-no_pie $LDEXECFLAGS"
7763 if test "$ac_cv_header_DiskArbitration_DiskArbitration_h" = "yes"
7765 DISKARBITRATION_LIBS
="-framework DiskArbitration -framework CoreFoundation"
7768 if test "$ac_cv_header_Security_Security_h" = "yes"
7770 SECURITY_LIBS
="-framework Security -framework CoreFoundation"
7772 ac_save_LIBS
="$LIBS"
7773 LIBS
="$LIBS $SECURITY_LIBS"
7774 for ac_func
in SSLCopyPeerCertificates
7776 ac_fn_c_check_func
"$LINENO" "SSLCopyPeerCertificates" "ac_cv_func_SSLCopyPeerCertificates"
7777 if test "x$ac_cv_func_SSLCopyPeerCertificates" = xyes
; then :
7778 cat >>confdefs.h
<<_ACEOF
7779 #define HAVE_SSLCOPYPEERCERTIFICATES 1
7785 LIBS
="$ac_save_LIBS"
7786 with_gnutls
=${with_gnutls:-no}
7788 if test "$ac_cv_header_CoreAudio_CoreAudio_h" = "yes" -a "$ac_cv_header_AudioUnit_AudioUnit_h" = "yes"
7790 if test "$ac_cv_header_AudioUnit_AudioComponent_h" = "yes"
7792 COREAUDIO_LIBS
="-framework CoreFoundation -framework CoreAudio -framework AudioUnit -framework AudioToolbox -framework CoreMIDI"
7795 COREAUDIO_LIBS
="-framework CoreAudio -framework AudioUnit -framework CoreServices -framework AudioToolbox -framework CoreMIDI"
7798 ac_save_LIBS
="$LIBS"
7799 LIBS
="$LIBS $COREAUDIO_LIBS"
7800 for ac_func
in AUGraphAddNode
7802 ac_fn_c_check_func
"$LINENO" "AUGraphAddNode" "ac_cv_func_AUGraphAddNode"
7803 if test "x$ac_cv_func_AUGraphAddNode" = xyes
; then :
7804 cat >>confdefs.h
<<_ACEOF
7805 #define HAVE_AUGRAPHADDNODE 1
7811 LIBS
="$ac_save_LIBS"
7813 if test "$ac_cv_header_OpenAL_al_h" = "yes"
7815 OPENAL_LIBS
="-framework OpenAL"
7818 cat >>confdefs.h
<<_ACEOF
7819 #define HAVE_OPENAL 1
7822 ac_cv_lib_openal
=yes
7824 if test "$ac_cv_header_OpenCL_opencl_h" = "yes"
7826 OPENCL_LIBS
="-framework OpenCL"
7828 ac_cv_lib_OpenCL_clGetPlatformInfo
=yes
7830 if test "$ac_cv_header_IOKit_hid_IOHIDLib_h" = "yes"
7832 ac_save_LIBS
="$LIBS"
7833 LIBS
="$LIBS $IOKIT_LIBS"
7834 for ac_func
in IOHIDManagerCreate
7836 ac_fn_c_check_func
"$LINENO" "IOHIDManagerCreate" "ac_cv_func_IOHIDManagerCreate"
7837 if test "x$ac_cv_func_IOHIDManagerCreate" = xyes
; then :
7838 cat >>confdefs.h
<<_ACEOF
7839 #define HAVE_IOHIDMANAGERCREATE 1
7845 LIBS
="$ac_save_LIBS"
7847 if test "$ac_cv_header_QuickTime_ImageCompression_h" = "yes"
7849 QUICKTIME_LIBS
="-framework QuickTime -framework ApplicationServices -framework CoreVideo"
7851 enable_wineqtdecoder
=${enable_wineqtdecoder:-yes}
7853 as_fn_append wine_notices
"|QuickTime ${notice_platform}development files not found, video decoding won't be supported."
7855 if test "$ac_cv_header_Carbon_Carbon_h" = "yes"
7857 CARBON_LIBS
="-framework Carbon"
7861 if test "$ac_cv_header_ApplicationServices_ApplicationServices_h" = "yes"
7863 ac_save_LIBS
="$LIBS"
7864 LIBS
="$LIBS $APPLICATIONSERVICES_LIBS"
7865 ac_fn_c_check_func
"$LINENO" "CGDisplayModeGetWidth" "ac_cv_func_CGDisplayModeGetWidth"
7866 if test "x$ac_cv_func_CGDisplayModeGetWidth" = xyes
; then :
7867 enable_winemac_drv
=${enable_winemac_drv:-yes}
7870 LIBS
="$ac_save_LIBS"
7873 if test "x$enable_win16" = "xyes"
7875 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether 16-bit code can be built correctly" >&5
7876 $as_echo_n "checking whether 16-bit code can be built correctly... " >&6; }
7877 if test "$cross_compiling" = yes; then :
7878 { $as_echo "$as_me:${as_lineno-$LINENO}: result: cross-compiling, assuming yes" >&5
7879 $as_echo "cross-compiling, assuming yes" >&6; }
7881 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
7882 /* end confdefs.h. */
7885 "good:\tnop;nop\n\t"
7886 ".globl _testfunc\n"
7887 "_testfunc:\tcallw good");
7888 extern void testfunc();
7892 unsigned short *p = (unsigned short *)testfunc;
7893 return p[0] != 0xe866 || p[1] != 0xfffa
7898 if ac_fn_c_try_run
"$LINENO"; then :
7899 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
7900 $as_echo "yes" >&6; }
7902 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7903 $as_echo "no" >&6; }
7904 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
7906 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext \
7907 conftest.
$ac_objext conftest.beam conftest.
$ac_ext
7912 libwine_targets
="libwine.dylib libwine.$libwine_soversion.dylib libwine.$libwine_version.dylib"
7914 OBJS = \$(C_SRCS:.c=.o) \$(EXTRA_OBJS)
7918 libwine.$libwine_version.dylib: \$(OBJS)
7919 \$(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 \$@
7921 libwine.$libwine_soversion.dylib: libwine.$libwine_version.dylib
7922 \$(RM) \$@ && \$(LN_S) libwine.$libwine_version.dylib \$@
7924 libwine.dylib: libwine.$libwine_soversion.dylib
7925 \$(RM) \$@ && \$(LN_S) libwine.$libwine_soversion.dylib \$@
7927 install install-lib:: libwine.$libwine_version.dylib
7928 \$(INSTALL_PROGRAM) libwine.$libwine_version.dylib \$(DESTDIR)\$(libdir)/libwine.$libwine_version.dylib
7929 cd \$(DESTDIR)\$(libdir) && \$(RM) libwine.$libwine_soversion.dylib && \$(LN_S) libwine.$libwine_version.dylib libwine.$libwine_soversion.dylib
7931 install install-dev::
7932 cd \$(DESTDIR)\$(libdir) && \$(RM) libwine.dylib && \$(LN_S) libwine.$libwine_version.dylib libwine.dylib
7935 -cd \$(DESTDIR)\$(libdir) && \$(RM) libwine.dylib libwine.$libwine_soversion.dylib libwine.$libwine_version.dylib
7939 as_fn_append LOADER_RULES
"
7940 $wine_binary: main.o wine_info.plist
7941 \$(CC) -o \$@ $LDEXECFLAGS main.o \$(LIBWINE) \$(LIBPORT) \$(EXTRALIBS) \$(LDFLAGS) \$(LDRPATH_LOCAL)
7943 wine-installed: main.o wine_info.plist
7944 \$(CC) -o \$@ $LDEXECFLAGS main.o \$(LIBWINE) \$(LIBPORT) \$(EXTRALIBS) \$(LDFLAGS) \$(LDRPATH_INSTALL)
7949 DLLFLAGS
="$DLLFLAGS -fPIC"
7953 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -Wl,--export-dynamic" >&5
7954 $as_echo_n "checking whether the compiler supports -fPIC -Wl,--export-dynamic... " >&6; }
7955 if ${ac_cv_cflags__fPIC__Wl___export_dynamic+:} false
; then :
7956 $as_echo_n "(cached) " >&6
7958 ac_wine_try_cflags_saved
=$CFLAGS
7959 CFLAGS
="$CFLAGS -fPIC -Wl,--export-dynamic"
7960 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
7961 /* end confdefs.h. */
7962 int main(int argc, char **argv) { return 0; }
7964 if ac_fn_c_try_link
"$LINENO"; then :
7965 ac_cv_cflags__fPIC__Wl___export_dynamic
=yes
7967 ac_cv_cflags__fPIC__Wl___export_dynamic
=no
7969 rm -f core conftest.err conftest.
$ac_objext \
7970 conftest
$ac_exeext conftest.
$ac_ext
7971 CFLAGS
=$ac_wine_try_cflags_saved
7973 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fPIC__Wl___export_dynamic" >&5
7974 $as_echo "$ac_cv_cflags__fPIC__Wl___export_dynamic" >&6; }
7975 if test "x$ac_cv_cflags__fPIC__Wl___export_dynamic" = xyes
; then :
7976 LDEXECFLAGS
="-Wl,--export-dynamic"
7978 as_ac_var
=`$as_echo "ac_cv_cflags_-fPIC -Wl,--rpath,\\$ORIGIN/../lib" | $as_tr_sh`
7979 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -Wl,--rpath,\$ORIGIN/../lib" >&5
7980 $as_echo_n "checking whether the compiler supports -fPIC -Wl,--rpath,\$ORIGIN/../lib... " >&6; }
7981 if eval \
${$as_ac_var+:} false
; then :
7982 $as_echo_n "(cached) " >&6
7984 ac_wine_try_cflags_saved
=$CFLAGS
7985 CFLAGS
="$CFLAGS -fPIC -Wl,--rpath,\$ORIGIN/../lib"
7986 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
7987 /* end confdefs.h. */
7988 int main(int argc, char **argv) { return 0; }
7990 if ac_fn_c_try_link
"$LINENO"; then :
7991 eval "$as_ac_var=yes"
7993 eval "$as_ac_var=no"
7995 rm -f core conftest.err conftest.
$ac_objext \
7996 conftest
$ac_exeext conftest.
$ac_ext
7997 CFLAGS
=$ac_wine_try_cflags_saved
7999 eval ac_res
=\$
$as_ac_var
8000 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
8001 $as_echo "$ac_res" >&6; }
8002 if eval test \"x\$
"$as_ac_var"\" = x
"yes"; then :
8003 LDRPATH_INSTALL
="-Wl,--rpath,\\\$\$ORIGIN/\`\$(MAKEDEP) -R \$(bindir) \$(libdir)\`"
8004 LDRPATH_LOCAL
="-Wl,--rpath,\\\$\$ORIGIN/\$(top_builddir)/libs/wine"
8006 as_ac_var
=`$as_echo "ac_cv_cflags_-fPIC -Wl,-R,\\$ORIGIN/../lib" | $as_tr_sh`
8007 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -Wl,-R,\$ORIGIN/../lib" >&5
8008 $as_echo_n "checking whether the compiler supports -fPIC -Wl,-R,\$ORIGIN/../lib... " >&6; }
8009 if eval \
${$as_ac_var+:} false
; then :
8010 $as_echo_n "(cached) " >&6
8012 ac_wine_try_cflags_saved
=$CFLAGS
8013 CFLAGS
="$CFLAGS -fPIC -Wl,-R,\$ORIGIN/../lib"
8014 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8015 /* end confdefs.h. */
8016 int main(int argc, char **argv) { return 0; }
8018 if ac_fn_c_try_link
"$LINENO"; then :
8019 eval "$as_ac_var=yes"
8021 eval "$as_ac_var=no"
8023 rm -f core conftest.err conftest.
$ac_objext \
8024 conftest
$ac_exeext conftest.
$ac_ext
8025 CFLAGS
=$ac_wine_try_cflags_saved
8027 eval ac_res
=\$
$as_ac_var
8028 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
8029 $as_echo "$ac_res" >&6; }
8030 if eval test \"x\$
"$as_ac_var"\" = x
"yes"; then :
8031 LDRPATH_INSTALL
="-Wl,-R,\\\$\$ORIGIN/\`\$(MAKEDEP) -R \$(bindir) \$(libdir)\`"
8032 LDRPATH_LOCAL
="-Wl,-R,\\\$\$ORIGIN/\$(top_builddir)/libs/wine"
8036 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,--enable-new-dtags" >&5
8037 $as_echo_n "checking whether the compiler supports -Wl,--enable-new-dtags... " >&6; }
8038 if ${ac_cv_cflags__Wl___enable_new_dtags+:} false
; then :
8039 $as_echo_n "(cached) " >&6
8041 ac_wine_try_cflags_saved
=$CFLAGS
8042 CFLAGS
="$CFLAGS -Wl,--enable-new-dtags"
8043 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8044 /* end confdefs.h. */
8045 int main(int argc, char **argv) { return 0; }
8047 if ac_fn_c_try_link
"$LINENO"; then :
8048 ac_cv_cflags__Wl___enable_new_dtags
=yes
8050 ac_cv_cflags__Wl___enable_new_dtags
=no
8052 rm -f core conftest.err conftest.
$ac_objext \
8053 conftest
$ac_exeext conftest.
$ac_ext
8054 CFLAGS
=$ac_wine_try_cflags_saved
8056 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl___enable_new_dtags" >&5
8057 $as_echo "$ac_cv_cflags__Wl___enable_new_dtags" >&6; }
8058 if test "x$ac_cv_cflags__Wl___enable_new_dtags" = xyes
; then :
8059 LDRPATH_INSTALL
="$LDRPATH_INSTALL -Wl,--enable-new-dtags"
8063 *i
[3456789]86* | x86_64
)
8064 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,--section-start,.interp=0x7bf00400" >&5
8065 $as_echo_n "checking whether the compiler supports -Wl,--section-start,.interp=0x7bf00400... " >&6; }
8066 if ${ac_cv_cflags__Wl___section_start__interp_0x7bf00400+:} false
; then :
8067 $as_echo_n "(cached) " >&6
8069 ac_wine_try_cflags_saved
=$CFLAGS
8070 CFLAGS
="$CFLAGS -Wl,--section-start,.interp=0x7bf00400"
8071 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8072 /* end confdefs.h. */
8073 int main(int argc, char **argv) { return 0; }
8075 if ac_fn_c_try_link
"$LINENO"; then :
8076 ac_cv_cflags__Wl___section_start__interp_0x7bf00400
=yes
8078 ac_cv_cflags__Wl___section_start__interp_0x7bf00400
=no
8080 rm -f core conftest.err conftest.
$ac_objext \
8081 conftest
$ac_exeext conftest.
$ac_ext
8082 CFLAGS
=$ac_wine_try_cflags_saved
8084 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl___section_start__interp_0x7bf00400" >&5
8085 $as_echo "$ac_cv_cflags__Wl___section_start__interp_0x7bf00400" >&6; }
8086 if test "x$ac_cv_cflags__Wl___section_start__interp_0x7bf00400" = xyes
; then :
8087 LDEXECFLAGS
="$LDEXECFLAGS -Wl,--section-start,.interp=0x7bf00400"
8092 libwine_targets
="libwine.so"
8094 OBJS = \$(C_SRCS:.c=.o) \$(EXTRA_OBJS)
8098 libwine.so: \$(OBJS)
8099 \$(CC) -shared \$(OBJS) \$(EXTRALIBS) \$(LDFLAGS) \$(LIBS) -o \$@
8101 install install-lib:: libwine.so
8102 \$(INSTALL_PROGRAM) libwine.so \$(DESTDIR)\$(libdir)/libwine.so
8105 \$(RM) \$(DESTDIR)\$(libdir)/libwine.so
8109 as_fn_append LOADER_RULES
"
8110 $wine_binary: main.o
8111 \$(CC) -o \$@ $LDEXECFLAGS main.o \$(LIBWINE) \$(LIBPORT) \$(EXTRALIBS) \$(LDFLAGS) \$(LDRPATH_LOCAL)
8113 wine-installed: main.o
8114 \$(CC) -o \$@ $LDEXECFLAGS main.o \$(LIBWINE) \$(LIBPORT) \$(EXTRALIBS) \$(LDFLAGS) \$(LDRPATH_INSTALL)
8119 DLLFLAGS
="$DLLFLAGS -fPIC"
8121 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we can build a GNU style ELF dll" >&5
8122 $as_echo_n "checking whether we can build a GNU style ELF dll... " >&6; }
8123 if ${ac_cv_c_dll_gnuelf+:} false
; then :
8124 $as_echo_n "(cached) " >&6
8126 ac_wine_try_cflags_saved
=$CFLAGS
8127 CFLAGS
="$CFLAGS -fPIC -shared -Wl,-Bsymbolic"
8128 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8129 /* end confdefs.h. */
8132 if ac_fn_c_try_link
"$LINENO"; then :
8133 ac_cv_c_dll_gnuelf
="yes"
8135 ac_cv_c_dll_gnuelf
="no"
8137 rm -f core conftest.err conftest.
$ac_objext \
8138 conftest
$ac_exeext conftest.
$ac_ext
8139 CFLAGS
=$ac_wine_try_cflags_saved
8141 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_dll_gnuelf" >&5
8142 $as_echo "$ac_cv_c_dll_gnuelf" >&6; }
8143 if test "$ac_cv_c_dll_gnuelf" = "yes"
8145 LDSHARED
="\$(CC) -shared"
8146 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -shared -Wl,-soname,confest.so.1" >&5
8147 $as_echo_n "checking whether the compiler supports -fPIC -shared -Wl,-soname,confest.so.1... " >&6; }
8148 if ${ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1+:} false
; then :
8149 $as_echo_n "(cached) " >&6
8151 ac_wine_try_cflags_saved
=$CFLAGS
8152 CFLAGS
="$CFLAGS -fPIC -shared -Wl,-soname,confest.so.1"
8153 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8154 /* end confdefs.h. */
8155 int main(int argc, char **argv) { return 0; }
8157 if ac_fn_c_try_link
"$LINENO"; then :
8158 ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1
=yes
8160 ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1
=no
8162 rm -f core conftest.err conftest.
$ac_objext \
8163 conftest
$ac_exeext conftest.
$ac_ext
8164 CFLAGS
=$ac_wine_try_cflags_saved
8166 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1" >&5
8167 $as_echo "$ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1" >&6; }
8168 if test "x$ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1" = xyes
; then :
8169 LDSHARED
="\$(CC) -shared -Wl,-soname,libwine.so.$libwine_soversion"
8171 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -shared -Wl,-h,confest.so.1" >&5
8172 $as_echo_n "checking whether the compiler supports -fPIC -shared -Wl,-h,confest.so.1... " >&6; }
8173 if ${ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1+:} false
; then :
8174 $as_echo_n "(cached) " >&6
8176 ac_wine_try_cflags_saved
=$CFLAGS
8177 CFLAGS
="$CFLAGS -fPIC -shared -Wl,-h,confest.so.1"
8178 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8179 /* end confdefs.h. */
8180 int main(int argc, char **argv) { return 0; }
8182 if ac_fn_c_try_link
"$LINENO"; then :
8183 ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1
=yes
8185 ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1
=no
8187 rm -f core conftest.err conftest.
$ac_objext \
8188 conftest
$ac_exeext conftest.
$ac_ext
8189 CFLAGS
=$ac_wine_try_cflags_saved
8191 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1" >&5
8192 $as_echo "$ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1" >&6; }
8193 if test "x$ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1" = xyes
; then :
8194 LDSHARED
="\$(CC) -shared -Wl,-h,libwine.so.$libwine_soversion"
8198 echo '{ global: *; };' >conftest.map
8199 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -shared -Wl,--version-script=conftest.map" >&5
8200 $as_echo_n "checking whether the compiler supports -fPIC -shared -Wl,--version-script=conftest.map... " >&6; }
8201 if ${ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map+:} false
; then :
8202 $as_echo_n "(cached) " >&6
8204 ac_wine_try_cflags_saved
=$CFLAGS
8205 CFLAGS
="$CFLAGS -fPIC -shared -Wl,--version-script=conftest.map"
8206 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8207 /* end confdefs.h. */
8208 int main(int argc, char **argv) { return 0; }
8210 if ac_fn_c_try_link
"$LINENO"; then :
8211 ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map
=yes
8213 ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map
=no
8215 rm -f core conftest.err conftest.
$ac_objext \
8216 conftest
$ac_exeext conftest.
$ac_ext
8217 CFLAGS
=$ac_wine_try_cflags_saved
8219 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map" >&5
8220 $as_echo "$ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map" >&6; }
8221 if test "x$ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map" = xyes
; then :
8222 LDSHARED
="$LDSHARED -Wl,--version-script=\$(srcdir)/wine.map"
8226 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -Wl,--export-dynamic" >&5
8227 $as_echo_n "checking whether the compiler supports -fPIC -Wl,--export-dynamic... " >&6; }
8228 if ${ac_cv_cflags__fPIC__Wl___export_dynamic+:} false
; then :
8229 $as_echo_n "(cached) " >&6
8231 ac_wine_try_cflags_saved
=$CFLAGS
8232 CFLAGS
="$CFLAGS -fPIC -Wl,--export-dynamic"
8233 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8234 /* end confdefs.h. */
8235 int main(int argc, char **argv) { return 0; }
8237 if ac_fn_c_try_link
"$LINENO"; then :
8238 ac_cv_cflags__fPIC__Wl___export_dynamic
=yes
8240 ac_cv_cflags__fPIC__Wl___export_dynamic
=no
8242 rm -f core conftest.err conftest.
$ac_objext \
8243 conftest
$ac_exeext conftest.
$ac_ext
8244 CFLAGS
=$ac_wine_try_cflags_saved
8246 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fPIC__Wl___export_dynamic" >&5
8247 $as_echo "$ac_cv_cflags__fPIC__Wl___export_dynamic" >&6; }
8248 if test "x$ac_cv_cflags__fPIC__Wl___export_dynamic" = xyes
; then :
8249 LDEXECFLAGS
="-Wl,--export-dynamic"
8252 as_ac_var
=`$as_echo "ac_cv_cflags_-fPIC -Wl,--rpath,\\$ORIGIN/../lib" | $as_tr_sh`
8253 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -Wl,--rpath,\$ORIGIN/../lib" >&5
8254 $as_echo_n "checking whether the compiler supports -fPIC -Wl,--rpath,\$ORIGIN/../lib... " >&6; }
8255 if eval \
${$as_ac_var+:} false
; then :
8256 $as_echo_n "(cached) " >&6
8258 ac_wine_try_cflags_saved
=$CFLAGS
8259 CFLAGS
="$CFLAGS -fPIC -Wl,--rpath,\$ORIGIN/../lib"
8260 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8261 /* end confdefs.h. */
8262 int main(int argc, char **argv) { return 0; }
8264 if ac_fn_c_try_link
"$LINENO"; then :
8265 eval "$as_ac_var=yes"
8267 eval "$as_ac_var=no"
8269 rm -f core conftest.err conftest.
$ac_objext \
8270 conftest
$ac_exeext conftest.
$ac_ext
8271 CFLAGS
=$ac_wine_try_cflags_saved
8273 eval ac_res
=\$
$as_ac_var
8274 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
8275 $as_echo "$ac_res" >&6; }
8276 if eval test \"x\$
"$as_ac_var"\" = x
"yes"; then :
8277 LDRPATH_INSTALL
="-Wl,--rpath,\\\$\$ORIGIN/\`\$(MAKEDEP) -R \$(bindir) \$(libdir)\`"
8278 LDRPATH_LOCAL
="-Wl,--rpath,\\\$\$ORIGIN/\$(top_builddir)/libs/wine"
8280 as_ac_var
=`$as_echo "ac_cv_cflags_-fPIC -Wl,-R,\\$ORIGIN/../lib" | $as_tr_sh`
8281 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -Wl,-R,\$ORIGIN/../lib" >&5
8282 $as_echo_n "checking whether the compiler supports -fPIC -Wl,-R,\$ORIGIN/../lib... " >&6; }
8283 if eval \
${$as_ac_var+:} false
; then :
8284 $as_echo_n "(cached) " >&6
8286 ac_wine_try_cflags_saved
=$CFLAGS
8287 CFLAGS
="$CFLAGS -fPIC -Wl,-R,\$ORIGIN/../lib"
8288 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8289 /* end confdefs.h. */
8290 int main(int argc, char **argv) { return 0; }
8292 if ac_fn_c_try_link
"$LINENO"; then :
8293 eval "$as_ac_var=yes"
8295 eval "$as_ac_var=no"
8297 rm -f core conftest.err conftest.
$ac_objext \
8298 conftest
$ac_exeext conftest.
$ac_ext
8299 CFLAGS
=$ac_wine_try_cflags_saved
8301 eval ac_res
=\$
$as_ac_var
8302 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
8303 $as_echo "$ac_res" >&6; }
8304 if eval test \"x\$
"$as_ac_var"\" = x
"yes"; then :
8305 LDRPATH_INSTALL
="-Wl,-R,\\\$\$ORIGIN/\`\$(MAKEDEP) -R \$(bindir) \$(libdir)\`"
8306 LDRPATH_LOCAL
="-Wl,-R,\\\$\$ORIGIN/\$(top_builddir)/libs/wine"
8310 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,--enable-new-dtags" >&5
8311 $as_echo_n "checking whether the compiler supports -Wl,--enable-new-dtags... " >&6; }
8312 if ${ac_cv_cflags__Wl___enable_new_dtags+:} false
; then :
8313 $as_echo_n "(cached) " >&6
8315 ac_wine_try_cflags_saved
=$CFLAGS
8316 CFLAGS
="$CFLAGS -Wl,--enable-new-dtags"
8317 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8318 /* end confdefs.h. */
8319 int main(int argc, char **argv) { return 0; }
8321 if ac_fn_c_try_link
"$LINENO"; then :
8322 ac_cv_cflags__Wl___enable_new_dtags
=yes
8324 ac_cv_cflags__Wl___enable_new_dtags
=no
8326 rm -f core conftest.err conftest.
$ac_objext \
8327 conftest
$ac_exeext conftest.
$ac_ext
8328 CFLAGS
=$ac_wine_try_cflags_saved
8330 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl___enable_new_dtags" >&5
8331 $as_echo "$ac_cv_cflags__Wl___enable_new_dtags" >&6; }
8332 if test "x$ac_cv_cflags__Wl___enable_new_dtags" = xyes
; then :
8333 LDRPATH_INSTALL
="$LDRPATH_INSTALL -Wl,--enable-new-dtags"
8337 *i
[3456789]86* | x86_64
)
8338 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,--section-start,.interp=0x7bf00400" >&5
8339 $as_echo_n "checking whether the compiler supports -Wl,--section-start,.interp=0x7bf00400... " >&6; }
8340 if ${ac_cv_cflags__Wl___section_start__interp_0x7bf00400+:} false
; then :
8341 $as_echo_n "(cached) " >&6
8343 ac_wine_try_cflags_saved
=$CFLAGS
8344 CFLAGS
="$CFLAGS -Wl,--section-start,.interp=0x7bf00400"
8345 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8346 /* end confdefs.h. */
8347 int main(int argc, char **argv) { return 0; }
8349 if ac_fn_c_try_link
"$LINENO"; then :
8350 ac_cv_cflags__Wl___section_start__interp_0x7bf00400
=yes
8352 ac_cv_cflags__Wl___section_start__interp_0x7bf00400
=no
8354 rm -f core conftest.err conftest.
$ac_objext \
8355 conftest
$ac_exeext conftest.
$ac_ext
8356 CFLAGS
=$ac_wine_try_cflags_saved
8358 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl___section_start__interp_0x7bf00400" >&5
8359 $as_echo "$ac_cv_cflags__Wl___section_start__interp_0x7bf00400" >&6; }
8360 if test "x$ac_cv_cflags__Wl___section_start__interp_0x7bf00400" = xyes
; then :
8362 freebsd
* | kfreebsd
*-gnu) LDEXECFLAGS
="$LDEXECFLAGS -Wl,--section-start,.interp=0x60000400" ;;
8363 *) LDEXECFLAGS
="$LDEXECFLAGS -Wl,--section-start,.interp=0x7bf00400" ;;
8367 # Extract the first word of "prelink", so it can be a program name with args.
8368 set dummy prelink
; ac_word
=$2
8369 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8370 $as_echo_n "checking for $ac_word... " >&6; }
8371 if ${ac_cv_path_PRELINK+:} false
; then :
8372 $as_echo_n "(cached) " >&6
8376 ac_cv_path_PRELINK
="$PRELINK" # Let the user override the test with a path.
8379 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
8380 for as_dir
in /sbin
/usr
/sbin
$PATH
8383 test -z "$as_dir" && as_dir
=.
8384 for ac_exec_ext
in '' $ac_executable_extensions; do
8385 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
8386 ac_cv_path_PRELINK
="$as_dir/$ac_word$ac_exec_ext"
8387 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8394 test -z "$ac_cv_path_PRELINK" && ac_cv_path_PRELINK
="false"
8398 PRELINK
=$ac_cv_path_PRELINK
8399 if test -n "$PRELINK"; then
8400 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PRELINK" >&5
8401 $as_echo "$PRELINK" >&6; }
8403 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8404 $as_echo "no" >&6; }
8408 if test "x$PRELINK" = xfalse
8410 as_fn_append wine_warnings
"|prelink not found, base address of core dlls won't be set correctly."
8416 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we can build a UnixWare (Solaris) dll" >&5
8417 $as_echo_n "checking whether we can build a UnixWare (Solaris) dll... " >&6; }
8418 if ${ac_cv_c_dll_unixware+:} false
; then :
8419 $as_echo_n "(cached) " >&6
8421 ac_wine_try_cflags_saved
=$CFLAGS
8422 CFLAGS
="$CFLAGS -fPIC -Wl,-G,-h,conftest.so.1.0,-B,symbolic"
8423 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8424 /* end confdefs.h. */
8427 if ac_fn_c_try_link
"$LINENO"; then :
8428 ac_cv_c_dll_unixware
="yes"
8430 ac_cv_c_dll_unixware
="no"
8432 rm -f core conftest.err conftest.
$ac_objext \
8433 conftest
$ac_exeext conftest.
$ac_ext
8434 CFLAGS
=$ac_wine_try_cflags_saved
8436 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_dll_unixware" >&5
8437 $as_echo "$ac_cv_c_dll_unixware" >&6; }
8438 if test "$ac_cv_c_dll_unixware" = "yes"
8440 LDSHARED
="\$(CC) -Wl,-G,-h,libwine.so.$libwine_soversion"
8443 libwine_targets
="libwine.so libwine.so.$libwine_soversion libwine.so.$libwine_version"
8445 OBJS = \$(C_SRCS:.c=.o) \$(EXTRA_OBJS)
8449 libwine.so.$libwine_version: \$(OBJS) \$(srcdir)/wine.map
8450 $LDSHARED \$(OBJS) \$(EXTRALIBS) \$(LDFLAGS) \$(LIBS) -o \$@
8452 libwine.so.$libwine_soversion: libwine.so.$libwine_version
8453 \$(RM) \$@ && \$(LN_S) libwine.so.$libwine_version \$@
8455 libwine.so: libwine.so.$libwine_soversion
8456 \$(RM) \$@ && \$(LN_S) libwine.so.$libwine_soversion \$@
8458 install install-lib:: libwine.so.$libwine_version
8459 \$(INSTALL_PROGRAM) libwine.so.$libwine_version \$(DESTDIR)\$(libdir)/libwine.so.$libwine_version
8460 cd \$(DESTDIR)\$(libdir) && \$(RM) libwine.so.$libwine_soversion && \$(LN_S) libwine.so.$libwine_version libwine.so.$libwine_soversion
8462 install install-dev::
8463 cd \$(DESTDIR)\$(libdir) && \$(RM) libwine.so && \$(LN_S) libwine.so.$libwine_version libwine.so
8466 -cd \$(DESTDIR)\$(libdir) && \$(RM) libwine.so libwine.so.$libwine_soversion libwine.so.$libwine_version
8470 as_fn_append LOADER_RULES
"
8471 $wine_binary: main.o
8472 \$(CC) -o \$@ $LDEXECFLAGS main.o \$(LIBWINE) \$(LIBPORT) \$(EXTRALIBS) \$(LDFLAGS) \$(LDRPATH_LOCAL)
8474 wine-installed: main.o
8475 \$(CC) -o \$@ $LDEXECFLAGS main.o \$(LIBWINE) \$(LIBPORT) \$(EXTRALIBS) \$(LDFLAGS) \$(LDRPATH_INSTALL)
8480 as_fn_append LIBWINE_RULES
"
8481 EXTRA_TARGETS = $libwine_targets
8484 enable_wineqtdecoder
=${enable_wineqtdecoder:-no}
8485 enable_winemac_drv
=${enable_winemac_drv:-no}
8489 if test "$cross_compiling" = "no" -a "x$enable_tests" != xno
-a "$LIBEXT" != "dll"
8493 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
8496 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 " ;;
8498 ac_prefix_list
="" ;;
8500 for ac_prog
in $ac_prefix_list
8502 # Extract the first word of "$ac_prog", so it can be a program name with args.
8503 set dummy
$ac_prog; ac_word
=$2
8504 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8505 $as_echo_n "checking for $ac_word... " >&6; }
8506 if ${ac_cv_prog_CROSSCC+:} false
; then :
8507 $as_echo_n "(cached) " >&6
8509 if test -n "$CROSSCC"; then
8510 ac_cv_prog_CROSSCC
="$CROSSCC" # Let the user override the test.
8512 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
8516 test -z "$as_dir" && as_dir
=.
8517 for ac_exec_ext
in '' $ac_executable_extensions; do
8518 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
8519 ac_cv_prog_CROSSCC
="$ac_prog"
8520 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8529 CROSSCC
=$ac_cv_prog_CROSSCC
8530 if test -n "$CROSSCC"; then
8531 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CROSSCC" >&5
8532 $as_echo "$CROSSCC" >&6; }
8534 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8535 $as_echo "no" >&6; }
8539 test -n "$CROSSCC" && break
8541 test -n "$CROSSCC" || CROSSCC
="false"
8543 if test "$CROSSCC" != "false"
8547 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CROSSCC works" >&5
8548 $as_echo_n "checking whether $CROSSCC works... " >&6; }
8549 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8550 /* end confdefs.h. */
8560 if ac_fn_c_try_compile
"$LINENO"; then :
8561 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
8562 $as_echo "yes" >&6; }
8568 *-gcc) CROSSTARGET
=`expr "$1" : '\(.*\)-gcc'` ;;
8573 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8574 $as_echo "no" >&6; }
8576 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
8582 if test "$ac_cv_header_pthread_h" = "yes"
8584 ac_fn_c_check_func
"$LINENO" "pthread_create" "ac_cv_func_pthread_create"
8585 if test "x$ac_cv_func_pthread_create" = xyes
; then :
8588 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pthread_create in -lpthread" >&5
8589 $as_echo_n "checking for pthread_create in -lpthread... " >&6; }
8590 if ${ac_cv_lib_pthread_pthread_create+:} false
; then :
8591 $as_echo_n "(cached) " >&6
8593 ac_check_lib_save_LIBS
=$LIBS
8594 LIBS
="-lpthread $LIBS"
8595 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8596 /* end confdefs.h. */
8598 /* Override any GCC internal prototype to avoid an error.
8599 Use char because int might match the return type of a GCC
8600 builtin and then its argument prototype would still apply. */
8604 char pthread_create ();
8608 return pthread_create ();
8613 if ac_fn_c_try_link
"$LINENO"; then :
8614 ac_cv_lib_pthread_pthread_create
=yes
8616 ac_cv_lib_pthread_pthread_create
=no
8618 rm -f core conftest.err conftest.
$ac_objext \
8619 conftest
$ac_exeext conftest.
$ac_ext
8620 LIBS
=$ac_check_lib_save_LIBS
8622 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_pthread_pthread_create" >&5
8623 $as_echo "$ac_cv_lib_pthread_pthread_create" >&6; }
8624 if test "x$ac_cv_lib_pthread_pthread_create" = xyes
; then :
8625 PTHREAD_LIBS
="-lpthread"
8632 if test "x$ac_cv_func_pthread_create" != xyes
-a "x$PTHREAD_LIBS" = x
; then :
8633 case "x$with_pthread" in
8635 *) as_fn_error $?
"pthread ${notice_platform}development files not found.
8636 Wine cannot support threads without libpthread.
8637 Use the --without-pthread option if you really want this." "$LINENO" 5 ;;
8642 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for X" >&5
8643 $as_echo_n "checking for X... " >&6; }
8646 # Check whether --with-x was given.
8647 if test "${with_x+set}" = set; then :
8651 # $have_x is `yes', `no', `disabled', or empty when we do not yet know.
8652 if test "x$with_x" = xno
; then
8653 # The user explicitly disabled X.
8656 case $x_includes,$x_libraries in #(
8657 *\'*) as_fn_error $?
"cannot use X directory names containing '" "$LINENO" 5;; #(
8658 *,NONE | NONE
,*) if ${ac_cv_have_x+:} false
; then :
8659 $as_echo_n "(cached) " >&6
8661 # One or both of the vars are not set, and there is no cached value.
8662 ac_x_includes
=no ac_x_libraries
=no
8663 rm -f -r conftest.dir
8664 if mkdir conftest.dir
; then
8666 cat >Imakefile
<<'_ACEOF'
8668 @echo incroot='${INCROOT}'
8670 @echo usrlibdir='${USRLIBDIR}'
8672 @echo libdir='${LIBDIR}'
8674 if (export CC
; ${XMKMF-xmkmf}) >/dev
/null
2>/dev
/null
&& test -f Makefile
; then
8675 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
8676 for ac_var
in incroot usrlibdir libdir
; do
8677 eval "ac_im_$ac_var=\`\${MAKE-make} $ac_var 2>/dev/null | sed -n 's/^$ac_var=//p'\`"
8679 # Open Windows xmkmf reportedly sets LIBDIR instead of USRLIBDIR.
8680 for ac_extension
in a so sl dylib la dll
; do
8681 if test ! -f "$ac_im_usrlibdir/libX11.$ac_extension" &&
8682 test -f "$ac_im_libdir/libX11.$ac_extension"; then
8683 ac_im_usrlibdir
=$ac_im_libdir; break
8686 # Screen out bogus values from the imake configuration. They are
8687 # bogus both because they are the default anyway, and because
8688 # using them would break gcc on systems where it needs fixed includes.
8689 case $ac_im_incroot in
8690 /usr
/include
) ac_x_includes
= ;;
8691 *) test -f "$ac_im_incroot/X11/Xos.h" && ac_x_includes
=$ac_im_incroot;;
8693 case $ac_im_usrlibdir in
8694 /usr
/lib |
/usr
/lib64 |
/lib |
/lib64
) ;;
8695 *) test -d "$ac_im_usrlibdir" && ac_x_libraries
=$ac_im_usrlibdir ;;
8699 rm -f -r conftest.dir
8702 # Standard set of common directories for X headers.
8703 # Check X11 before X11Rn because it is often a symlink to the current release.
8717 /usr/local/X11/include
8718 /usr/local/X11R7/include
8719 /usr/local/X11R6/include
8720 /usr/local/X11R5/include
8721 /usr/local/X11R4/include
8723 /usr/local/include/X11
8724 /usr/local/include/X11R7
8725 /usr/local/include/X11R6
8726 /usr/local/include/X11R5
8727 /usr/local/include/X11R4
8731 /usr/XFree86/include/X11
8735 /usr/unsupported/include
8737 /usr/local/x11r5/include
8738 /usr/lpp/Xamples/include
8740 /usr/openwin/include
8741 /usr/openwin/share/include'
8743 if test "$ac_x_includes" = no
; then
8744 # Guess where to find include files, by looking for Xlib.h.
8745 # First, try using that file with no special directory specified.
8746 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8747 /* end confdefs.h. */
8748 #include <X11/Xlib.h>
8750 if ac_fn_c_try_cpp
"$LINENO"; then :
8751 # We can compile using X headers with no special include directory.
8754 for ac_dir
in $ac_x_header_dirs; do
8755 if test -r "$ac_dir/X11/Xlib.h"; then
8756 ac_x_includes
=$ac_dir
8761 rm -f conftest.err conftest.i conftest.
$ac_ext
8762 fi # $ac_x_includes = no
8764 if test "$ac_x_libraries" = no
; then
8765 # Check for the libraries.
8766 # See if we find them without any special options.
8767 # Don't add to $LIBS permanently.
8770 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8771 /* end confdefs.h. */
8772 #include <X11/Xlib.h>
8781 if ac_fn_c_try_link
"$LINENO"; then :
8783 # We can link X programs with no special library path.
8787 for ac_dir
in `$as_echo "$ac_x_includes $ac_x_header_dirs" | sed s/include/lib/g`
8789 # Don't even attempt the hair of trying to link an X program!
8790 for ac_extension
in a so sl dylib la dll
; do
8791 if test -r "$ac_dir/libX11.$ac_extension"; then
8792 ac_x_libraries
=$ac_dir
8798 rm -f core conftest.err conftest.
$ac_objext \
8799 conftest
$ac_exeext conftest.
$ac_ext
8800 fi # $ac_x_libraries = no
8802 case $ac_x_includes,$ac_x_libraries in #(
8804 # Didn't find X, or a directory has "'" in its name.
8805 ac_cv_have_x
="have_x=no";; #(
8807 # Record where we found X for the cache.
8808 ac_cv_have_x
="have_x=yes\
8809 ac_x_includes='$ac_x_includes'\
8810 ac_x_libraries='$ac_x_libraries'"
8816 eval "$ac_cv_have_x"
8819 if test "$have_x" != yes; then
8820 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $have_x" >&5
8821 $as_echo "$have_x" >&6; }
8824 # If each of the values was on the command line, it overrides each guess.
8825 test "x$x_includes" = xNONE
&& x_includes
=$ac_x_includes
8826 test "x$x_libraries" = xNONE
&& x_libraries
=$ac_x_libraries
8827 # Update the cache value to reflect the command line values.
8828 ac_cv_have_x
="have_x=yes\
8829 ac_x_includes='$x_includes'\
8830 ac_x_libraries='$x_libraries'"
8831 { $as_echo "$as_me:${as_lineno-$LINENO}: result: libraries $x_libraries, headers $x_includes" >&5
8832 $as_echo "libraries $x_libraries, headers $x_includes" >&6; }
8835 if test "$no_x" = yes; then
8836 # Not all programs may use this symbol, but it does not hurt to define it.
8838 $as_echo "#define X_DISPLAY_MISSING 1" >>confdefs.h
8840 X_CFLAGS
= X_PRE_LIBS
= X_LIBS
= X_EXTRA_LIBS
=
8842 if test -n "$x_includes"; then
8843 X_CFLAGS
="$X_CFLAGS -I$x_includes"
8846 # It would also be nice to do this for all -L options, not just this one.
8847 if test -n "$x_libraries"; then
8848 X_LIBS
="$X_LIBS -L$x_libraries"
8849 # For Solaris; some versions of Sun CC require a space after -R and
8850 # others require no space. Words are not sufficient . . . .
8851 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -R must be followed by a space" >&5
8852 $as_echo_n "checking whether -R must be followed by a space... " >&6; }
8853 ac_xsave_LIBS
=$LIBS; LIBS
="$LIBS -R$x_libraries"
8854 ac_xsave_c_werror_flag
=$ac_c_werror_flag
8855 ac_c_werror_flag
=yes
8856 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8857 /* end confdefs.h. */
8867 if ac_fn_c_try_link
"$LINENO"; then :
8868 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8869 $as_echo "no" >&6; }
8870 X_LIBS
="$X_LIBS -R$x_libraries"
8872 LIBS
="$ac_xsave_LIBS -R $x_libraries"
8873 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8874 /* end confdefs.h. */
8884 if ac_fn_c_try_link
"$LINENO"; then :
8885 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
8886 $as_echo "yes" >&6; }
8887 X_LIBS
="$X_LIBS -R $x_libraries"
8889 { $as_echo "$as_me:${as_lineno-$LINENO}: result: neither works" >&5
8890 $as_echo "neither works" >&6; }
8892 rm -f core conftest.err conftest.
$ac_objext \
8893 conftest
$ac_exeext conftest.
$ac_ext
8895 rm -f core conftest.err conftest.
$ac_objext \
8896 conftest
$ac_exeext conftest.
$ac_ext
8897 ac_c_werror_flag
=$ac_xsave_c_werror_flag
8901 # Check for system-dependent libraries X programs must link with.
8902 # Do this before checking for the system-independent R6 libraries
8903 # (-lICE), since we may need -lsocket or whatever for X linking.
8905 if test "$ISC" = yes; then
8906 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lnsl_s -linet"
8908 # Martyn Johnson says this is needed for Ultrix, if the X
8909 # libraries were built with DECnet support. And Karl Berry says
8910 # the Alpha needs dnet_stub (dnet does not exist).
8911 ac_xsave_LIBS
="$LIBS"; LIBS
="$LIBS $X_LIBS -lX11"
8912 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8913 /* end confdefs.h. */
8915 /* Override any GCC internal prototype to avoid an error.
8916 Use char because int might match the return type of a GCC
8917 builtin and then its argument prototype would still apply. */
8921 char XOpenDisplay ();
8925 return XOpenDisplay ();
8930 if ac_fn_c_try_link
"$LINENO"; then :
8933 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dnet_ntoa in -ldnet" >&5
8934 $as_echo_n "checking for dnet_ntoa in -ldnet... " >&6; }
8935 if ${ac_cv_lib_dnet_dnet_ntoa+:} false
; then :
8936 $as_echo_n "(cached) " >&6
8938 ac_check_lib_save_LIBS
=$LIBS
8940 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8941 /* end confdefs.h. */
8943 /* Override any GCC internal prototype to avoid an error.
8944 Use char because int might match the return type of a GCC
8945 builtin and then its argument prototype would still apply. */
8953 return dnet_ntoa ();
8958 if ac_fn_c_try_link
"$LINENO"; then :
8959 ac_cv_lib_dnet_dnet_ntoa
=yes
8961 ac_cv_lib_dnet_dnet_ntoa
=no
8963 rm -f core conftest.err conftest.
$ac_objext \
8964 conftest
$ac_exeext conftest.
$ac_ext
8965 LIBS
=$ac_check_lib_save_LIBS
8967 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dnet_dnet_ntoa" >&5
8968 $as_echo "$ac_cv_lib_dnet_dnet_ntoa" >&6; }
8969 if test "x$ac_cv_lib_dnet_dnet_ntoa" = xyes
; then :
8970 X_EXTRA_LIBS
="$X_EXTRA_LIBS -ldnet"
8973 if test $ac_cv_lib_dnet_dnet_ntoa = no
; then
8974 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dnet_ntoa in -ldnet_stub" >&5
8975 $as_echo_n "checking for dnet_ntoa in -ldnet_stub... " >&6; }
8976 if ${ac_cv_lib_dnet_stub_dnet_ntoa+:} false
; then :
8977 $as_echo_n "(cached) " >&6
8979 ac_check_lib_save_LIBS
=$LIBS
8980 LIBS
="-ldnet_stub $LIBS"
8981 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8982 /* end confdefs.h. */
8984 /* Override any GCC internal prototype to avoid an error.
8985 Use char because int might match the return type of a GCC
8986 builtin and then its argument prototype would still apply. */
8994 return dnet_ntoa ();
8999 if ac_fn_c_try_link
"$LINENO"; then :
9000 ac_cv_lib_dnet_stub_dnet_ntoa
=yes
9002 ac_cv_lib_dnet_stub_dnet_ntoa
=no
9004 rm -f core conftest.err conftest.
$ac_objext \
9005 conftest
$ac_exeext conftest.
$ac_ext
9006 LIBS
=$ac_check_lib_save_LIBS
9008 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dnet_stub_dnet_ntoa" >&5
9009 $as_echo "$ac_cv_lib_dnet_stub_dnet_ntoa" >&6; }
9010 if test "x$ac_cv_lib_dnet_stub_dnet_ntoa" = xyes
; then :
9011 X_EXTRA_LIBS
="$X_EXTRA_LIBS -ldnet_stub"
9016 rm -f core conftest.err conftest.
$ac_objext \
9017 conftest
$ac_exeext conftest.
$ac_ext
9018 LIBS
="$ac_xsave_LIBS"
9020 # msh@cis.ufl.edu says -lnsl (and -lsocket) are needed for his 386/AT,
9021 # to get the SysV transport functions.
9022 # Chad R. Larson says the Pyramis MIS-ES running DC/OSx (SVR4)
9024 # The nsl library prevents programs from opening the X display
9025 # on Irix 5.2, according to T.E. Dickey.
9026 # The functions gethostbyname, getservbyname, and inet_addr are
9027 # in -lbsd on LynxOS 3.0.1/i386, according to Lars Hecking.
9028 ac_fn_c_check_func
"$LINENO" "gethostbyname" "ac_cv_func_gethostbyname"
9029 if test "x$ac_cv_func_gethostbyname" = xyes
; then :
9033 if test $ac_cv_func_gethostbyname = no
; then
9034 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gethostbyname in -lnsl" >&5
9035 $as_echo_n "checking for gethostbyname in -lnsl... " >&6; }
9036 if ${ac_cv_lib_nsl_gethostbyname+:} false
; then :
9037 $as_echo_n "(cached) " >&6
9039 ac_check_lib_save_LIBS
=$LIBS
9041 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9042 /* end confdefs.h. */
9044 /* Override any GCC internal prototype to avoid an error.
9045 Use char because int might match the return type of a GCC
9046 builtin and then its argument prototype would still apply. */
9050 char gethostbyname ();
9054 return gethostbyname ();
9059 if ac_fn_c_try_link
"$LINENO"; then :
9060 ac_cv_lib_nsl_gethostbyname
=yes
9062 ac_cv_lib_nsl_gethostbyname
=no
9064 rm -f core conftest.err conftest.
$ac_objext \
9065 conftest
$ac_exeext conftest.
$ac_ext
9066 LIBS
=$ac_check_lib_save_LIBS
9068 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_nsl_gethostbyname" >&5
9069 $as_echo "$ac_cv_lib_nsl_gethostbyname" >&6; }
9070 if test "x$ac_cv_lib_nsl_gethostbyname" = xyes
; then :
9071 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lnsl"
9074 if test $ac_cv_lib_nsl_gethostbyname = no
; then
9075 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gethostbyname in -lbsd" >&5
9076 $as_echo_n "checking for gethostbyname in -lbsd... " >&6; }
9077 if ${ac_cv_lib_bsd_gethostbyname+:} false
; then :
9078 $as_echo_n "(cached) " >&6
9080 ac_check_lib_save_LIBS
=$LIBS
9082 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9083 /* end confdefs.h. */
9085 /* Override any GCC internal prototype to avoid an error.
9086 Use char because int might match the return type of a GCC
9087 builtin and then its argument prototype would still apply. */
9091 char gethostbyname ();
9095 return gethostbyname ();
9100 if ac_fn_c_try_link
"$LINENO"; then :
9101 ac_cv_lib_bsd_gethostbyname
=yes
9103 ac_cv_lib_bsd_gethostbyname
=no
9105 rm -f core conftest.err conftest.
$ac_objext \
9106 conftest
$ac_exeext conftest.
$ac_ext
9107 LIBS
=$ac_check_lib_save_LIBS
9109 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_bsd_gethostbyname" >&5
9110 $as_echo "$ac_cv_lib_bsd_gethostbyname" >&6; }
9111 if test "x$ac_cv_lib_bsd_gethostbyname" = xyes
; then :
9112 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lbsd"
9118 # lieder@skyler.mavd.honeywell.com says without -lsocket,
9119 # socket/setsockopt and other routines are undefined under SCO ODT
9120 # 2.0. But -lsocket is broken on IRIX 5.2 (and is not necessary
9121 # on later versions), says Simon Leinen: it contains gethostby*
9122 # variants that don't use the name server (or something). -lsocket
9123 # must be given before -lnsl if both are needed. We assume that
9124 # if connect needs -lnsl, so does gethostbyname.
9125 ac_fn_c_check_func
"$LINENO" "connect" "ac_cv_func_connect"
9126 if test "x$ac_cv_func_connect" = xyes
; then :
9130 if test $ac_cv_func_connect = no
; then
9131 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for connect in -lsocket" >&5
9132 $as_echo_n "checking for connect in -lsocket... " >&6; }
9133 if ${ac_cv_lib_socket_connect+:} false
; then :
9134 $as_echo_n "(cached) " >&6
9136 ac_check_lib_save_LIBS
=$LIBS
9137 LIBS
="-lsocket $X_EXTRA_LIBS $LIBS"
9138 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9139 /* end confdefs.h. */
9141 /* Override any GCC internal prototype to avoid an error.
9142 Use char because int might match the return type of a GCC
9143 builtin and then its argument prototype would still apply. */
9156 if ac_fn_c_try_link
"$LINENO"; then :
9157 ac_cv_lib_socket_connect
=yes
9159 ac_cv_lib_socket_connect
=no
9161 rm -f core conftest.err conftest.
$ac_objext \
9162 conftest
$ac_exeext conftest.
$ac_ext
9163 LIBS
=$ac_check_lib_save_LIBS
9165 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_socket_connect" >&5
9166 $as_echo "$ac_cv_lib_socket_connect" >&6; }
9167 if test "x$ac_cv_lib_socket_connect" = xyes
; then :
9168 X_EXTRA_LIBS
="-lsocket $X_EXTRA_LIBS"
9173 # Guillermo Gomez says -lposix is necessary on A/UX.
9174 ac_fn_c_check_func
"$LINENO" "remove" "ac_cv_func_remove"
9175 if test "x$ac_cv_func_remove" = xyes
; then :
9179 if test $ac_cv_func_remove = no
; then
9180 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for remove in -lposix" >&5
9181 $as_echo_n "checking for remove in -lposix... " >&6; }
9182 if ${ac_cv_lib_posix_remove+:} false
; then :
9183 $as_echo_n "(cached) " >&6
9185 ac_check_lib_save_LIBS
=$LIBS
9186 LIBS
="-lposix $LIBS"
9187 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9188 /* end confdefs.h. */
9190 /* Override any GCC internal prototype to avoid an error.
9191 Use char because int might match the return type of a GCC
9192 builtin and then its argument prototype would still apply. */
9205 if ac_fn_c_try_link
"$LINENO"; then :
9206 ac_cv_lib_posix_remove
=yes
9208 ac_cv_lib_posix_remove
=no
9210 rm -f core conftest.err conftest.
$ac_objext \
9211 conftest
$ac_exeext conftest.
$ac_ext
9212 LIBS
=$ac_check_lib_save_LIBS
9214 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_posix_remove" >&5
9215 $as_echo "$ac_cv_lib_posix_remove" >&6; }
9216 if test "x$ac_cv_lib_posix_remove" = xyes
; then :
9217 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lposix"
9222 # BSDI BSD/OS 2.1 needs -lipc for XOpenDisplay.
9223 ac_fn_c_check_func
"$LINENO" "shmat" "ac_cv_func_shmat"
9224 if test "x$ac_cv_func_shmat" = xyes
; then :
9228 if test $ac_cv_func_shmat = no
; then
9229 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shmat in -lipc" >&5
9230 $as_echo_n "checking for shmat in -lipc... " >&6; }
9231 if ${ac_cv_lib_ipc_shmat+:} false
; then :
9232 $as_echo_n "(cached) " >&6
9234 ac_check_lib_save_LIBS
=$LIBS
9236 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9237 /* end confdefs.h. */
9239 /* Override any GCC internal prototype to avoid an error.
9240 Use char because int might match the return type of a GCC
9241 builtin and then its argument prototype would still apply. */
9254 if ac_fn_c_try_link
"$LINENO"; then :
9255 ac_cv_lib_ipc_shmat
=yes
9257 ac_cv_lib_ipc_shmat
=no
9259 rm -f core conftest.err conftest.
$ac_objext \
9260 conftest
$ac_exeext conftest.
$ac_ext
9261 LIBS
=$ac_check_lib_save_LIBS
9263 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ipc_shmat" >&5
9264 $as_echo "$ac_cv_lib_ipc_shmat" >&6; }
9265 if test "x$ac_cv_lib_ipc_shmat" = xyes
; then :
9266 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lipc"
9272 # Check for libraries that X11R6 Xt/Xaw programs need.
9273 ac_save_LDFLAGS
=$LDFLAGS
9274 test -n "$x_libraries" && LDFLAGS
="$LDFLAGS -L$x_libraries"
9275 # SM needs ICE to (dynamically) link under SunOS 4.x (so we have to
9276 # check for ICE first), but we must link in the order -lSM -lICE or
9277 # we get undefined symbols. So assume we have SM if we have ICE.
9278 # These have to be linked with before -lX11, unlike the other
9279 # libraries we check for below, so use a different variable.
9280 # John Interrante, Karl Berry
9281 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for IceConnectionNumber in -lICE" >&5
9282 $as_echo_n "checking for IceConnectionNumber in -lICE... " >&6; }
9283 if ${ac_cv_lib_ICE_IceConnectionNumber+:} false
; then :
9284 $as_echo_n "(cached) " >&6
9286 ac_check_lib_save_LIBS
=$LIBS
9287 LIBS
="-lICE $X_EXTRA_LIBS $LIBS"
9288 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9289 /* end confdefs.h. */
9291 /* Override any GCC internal prototype to avoid an error.
9292 Use char because int might match the return type of a GCC
9293 builtin and then its argument prototype would still apply. */
9297 char IceConnectionNumber ();
9301 return IceConnectionNumber ();
9306 if ac_fn_c_try_link
"$LINENO"; then :
9307 ac_cv_lib_ICE_IceConnectionNumber
=yes
9309 ac_cv_lib_ICE_IceConnectionNumber
=no
9311 rm -f core conftest.err conftest.
$ac_objext \
9312 conftest
$ac_exeext conftest.
$ac_ext
9313 LIBS
=$ac_check_lib_save_LIBS
9315 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ICE_IceConnectionNumber" >&5
9316 $as_echo "$ac_cv_lib_ICE_IceConnectionNumber" >&6; }
9317 if test "x$ac_cv_lib_ICE_IceConnectionNumber" = xyes
; then :
9318 X_PRE_LIBS
="$X_PRE_LIBS -lSM -lICE"
9321 LDFLAGS
=$ac_save_LDFLAGS
9326 if test "$have_x" = "yes"
9328 ac_save_CPPFLAGS
="$CPPFLAGS"
9329 CPPFLAGS
="$CPPFLAGS $X_CFLAGS"
9331 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lX11" >&5
9332 $as_echo_n "checking for -lX11... " >&6; }
9333 if ${ac_cv_lib_soname_X11+:} false
; then :
9334 $as_echo_n "(cached) " >&6
9336 ac_check_soname_save_LIBS
=$LIBS
9337 LIBS
="-lX11 $X_LIBS $X_EXTRA_LIBS $LIBS"
9338 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9339 /* end confdefs.h. */
9341 /* Override any GCC internal prototype to avoid an error.
9342 Use char because int might match the return type of a GCC
9343 builtin and then its argument prototype would still apply. */
9347 char XCreateWindow ();
9351 return XCreateWindow ();
9356 if ac_fn_c_try_link
"$LINENO"; then :
9358 dll
) ac_cv_lib_soname_X11
=`$ac_cv_path_LDD conftest.exe | grep "X11" | sed -e "s/dll.*/dll/"';2,$d'` ;;
9359 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'` ;;
9360 *) ac_cv_lib_soname_X11
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libX11\\.$LIBEXT" | sed -e "s/^.*\\[\\(libX11\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
9361 if ${ac_cv_lib_soname_X11:+false} :; then :
9362 ac_cv_lib_soname_X11
=`$LDD conftest$ac_exeext | grep "libX11\\.$LIBEXT" | sed -e "s/^.*\(libX11\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
9366 rm -f core conftest.err conftest.
$ac_objext \
9367 conftest
$ac_exeext conftest.
$ac_ext
9368 LIBS
=$ac_check_soname_save_LIBS
9370 if ${ac_cv_lib_soname_X11:+false} :; then :
9371 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
9372 $as_echo "not found" >&6; }
9375 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_X11" >&5
9376 $as_echo "$ac_cv_lib_soname_X11" >&6; }
9378 cat >>confdefs.h
<<_ACEOF
9379 #define SONAME_LIBX11 "$ac_cv_lib_soname_X11"
9384 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXext" >&5
9385 $as_echo_n "checking for -lXext... " >&6; }
9386 if ${ac_cv_lib_soname_Xext+:} false
; then :
9387 $as_echo_n "(cached) " >&6
9389 ac_check_soname_save_LIBS
=$LIBS
9390 LIBS
="-lXext $X_LIBS -lX11 $X_EXTRA_LIBS $LIBS"
9391 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9392 /* end confdefs.h. */
9394 /* Override any GCC internal prototype to avoid an error.
9395 Use char because int might match the return type of a GCC
9396 builtin and then its argument prototype would still apply. */
9400 char XextCreateExtension ();
9404 return XextCreateExtension ();
9409 if ac_fn_c_try_link
"$LINENO"; then :
9411 dll
) ac_cv_lib_soname_Xext
=`$ac_cv_path_LDD conftest.exe | grep "Xext" | sed -e "s/dll.*/dll/"';2,$d'` ;;
9412 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'` ;;
9413 *) ac_cv_lib_soname_Xext
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXext\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXext\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
9414 if ${ac_cv_lib_soname_Xext:+false} :; then :
9415 ac_cv_lib_soname_Xext
=`$LDD conftest$ac_exeext | grep "libXext\\.$LIBEXT" | sed -e "s/^.*\(libXext\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
9419 rm -f core conftest.err conftest.
$ac_objext \
9420 conftest
$ac_exeext conftest.
$ac_ext
9421 LIBS
=$ac_check_soname_save_LIBS
9423 if ${ac_cv_lib_soname_Xext:+false} :; then :
9424 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
9425 $as_echo "not found" >&6; }
9428 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xext" >&5
9429 $as_echo "$ac_cv_lib_soname_Xext" >&6; }
9431 cat >>confdefs.h
<<_ACEOF
9432 #define SONAME_LIBXEXT "$ac_cv_lib_soname_Xext"
9435 X_LIBS
="$X_LIBS -lXext"
9437 X_LIBS
="$X_LIBS -lX11"
9439 for ac_header
in X11
/Xlib.h \
9442 X11
/Xcursor
/Xcursor.h \
9443 X11
/extensions
/shape.h \
9444 X11
/extensions
/XInput.h \
9445 X11
/extensions
/XInput2.h \
9446 X11
/extensions
/XShm.h \
9447 X11
/extensions
/Xcomposite.h \
9448 X11
/extensions
/Xinerama.h \
9449 X11
/extensions
/Xrandr.h \
9450 X11
/extensions
/Xrender.h \
9451 X11
/extensions
/xf86vmode.h \
9452 X11
/extensions
/xf86vmproto.h
9454 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
9455 ac_fn_c_check_header_compile
"$LINENO" "$ac_header" "$as_ac_Header" "#ifdef HAVE_X11_XLIB_H
9456 # include <X11/Xlib.h>
9458 #ifdef HAVE_X11_XUTIL_H
9459 # include <X11/Xutil.h>
9462 if eval test \"x\$
"$as_ac_Header"\" = x
"yes"; then :
9463 cat >>confdefs.h
<<_ACEOF
9464 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
9472 if test "$ac_cv_header_X11_XKBlib_h" = "yes"
9474 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XkbQueryExtension in -lX11" >&5
9475 $as_echo_n "checking for XkbQueryExtension in -lX11... " >&6; }
9476 if ${ac_cv_lib_X11_XkbQueryExtension+:} false
; then :
9477 $as_echo_n "(cached) " >&6
9479 ac_check_lib_save_LIBS
=$LIBS
9480 LIBS
="-lX11 $X_LIBS $X_EXTRA_LIBS $LIBS"
9481 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9482 /* end confdefs.h. */
9484 /* Override any GCC internal prototype to avoid an error.
9485 Use char because int might match the return type of a GCC
9486 builtin and then its argument prototype would still apply. */
9490 char XkbQueryExtension ();
9494 return XkbQueryExtension ();
9499 if ac_fn_c_try_link
"$LINENO"; then :
9500 ac_cv_lib_X11_XkbQueryExtension
=yes
9502 ac_cv_lib_X11_XkbQueryExtension
=no
9504 rm -f core conftest.err conftest.
$ac_objext \
9505 conftest
$ac_exeext conftest.
$ac_ext
9506 LIBS
=$ac_check_lib_save_LIBS
9508 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_X11_XkbQueryExtension" >&5
9509 $as_echo "$ac_cv_lib_X11_XkbQueryExtension" >&6; }
9510 if test "x$ac_cv_lib_X11_XkbQueryExtension" = xyes
; then :
9512 $as_echo "#define HAVE_XKB 1" >>confdefs.h
9518 if test "$ac_cv_header_X11_Xcursor_Xcursor_h" = "yes"
9520 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXcursor" >&5
9521 $as_echo_n "checking for -lXcursor... " >&6; }
9522 if ${ac_cv_lib_soname_Xcursor+:} false
; then :
9523 $as_echo_n "(cached) " >&6
9525 ac_check_soname_save_LIBS
=$LIBS
9526 LIBS
="-lXcursor $X_LIBS $X_EXTRA_LIBS $LIBS"
9527 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9528 /* end confdefs.h. */
9530 /* Override any GCC internal prototype to avoid an error.
9531 Use char because int might match the return type of a GCC
9532 builtin and then its argument prototype would still apply. */
9536 char XcursorImageLoadCursor ();
9540 return XcursorImageLoadCursor ();
9545 if ac_fn_c_try_link
"$LINENO"; then :
9547 dll
) ac_cv_lib_soname_Xcursor
=`$ac_cv_path_LDD conftest.exe | grep "Xcursor" | sed -e "s/dll.*/dll/"';2,$d'` ;;
9548 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'` ;;
9549 *) ac_cv_lib_soname_Xcursor
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXcursor\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXcursor\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
9550 if ${ac_cv_lib_soname_Xcursor:+false} :; then :
9551 ac_cv_lib_soname_Xcursor
=`$LDD conftest$ac_exeext | grep "libXcursor\\.$LIBEXT" | sed -e "s/^.*\(libXcursor\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
9555 rm -f core conftest.err conftest.
$ac_objext \
9556 conftest
$ac_exeext conftest.
$ac_ext
9557 LIBS
=$ac_check_soname_save_LIBS
9559 if ${ac_cv_lib_soname_Xcursor:+false} :; then :
9560 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
9561 $as_echo "not found" >&6; }
9564 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xcursor" >&5
9565 $as_echo "$ac_cv_lib_soname_Xcursor" >&6; }
9567 cat >>confdefs.h
<<_ACEOF
9568 #define SONAME_LIBXCURSOR "$ac_cv_lib_soname_Xcursor"
9574 if test "x$ac_cv_lib_soname_Xcursor" = "x"; then :
9575 case "x$with_xcursor" in
9576 x
) as_fn_append wine_notices
"|libxcursor ${notice_platform}development files not found, the Xcursor extension won't be supported." ;;
9578 *) as_fn_error $?
"libxcursor ${notice_platform}development files not found, the Xcursor extension won't be supported.
9579 This is an error since --with-xcursor was requested." "$LINENO" 5 ;;
9583 if test "$ac_cv_header_X11_extensions_XInput_h" = "yes"
9585 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXi" >&5
9586 $as_echo_n "checking for -lXi... " >&6; }
9587 if ${ac_cv_lib_soname_Xi+:} false
; then :
9588 $as_echo_n "(cached) " >&6
9590 ac_check_soname_save_LIBS
=$LIBS
9591 LIBS
="-lXi $X_LIBS $X_EXTRA_LIBS $LIBS"
9592 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9593 /* end confdefs.h. */
9595 /* Override any GCC internal prototype to avoid an error.
9596 Use char because int might match the return type of a GCC
9597 builtin and then its argument prototype would still apply. */
9601 char XOpenDevice ();
9605 return XOpenDevice ();
9610 if ac_fn_c_try_link
"$LINENO"; then :
9612 dll
) ac_cv_lib_soname_Xi
=`$ac_cv_path_LDD conftest.exe | grep "Xi" | sed -e "s/dll.*/dll/"';2,$d'` ;;
9613 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'` ;;
9614 *) ac_cv_lib_soname_Xi
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXi\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXi\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
9615 if ${ac_cv_lib_soname_Xi:+false} :; then :
9616 ac_cv_lib_soname_Xi
=`$LDD conftest$ac_exeext | grep "libXi\\.$LIBEXT" | sed -e "s/^.*\(libXi\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
9620 rm -f core conftest.err conftest.
$ac_objext \
9621 conftest
$ac_exeext conftest.
$ac_ext
9622 LIBS
=$ac_check_soname_save_LIBS
9624 if ${ac_cv_lib_soname_Xi:+false} :; then :
9625 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
9626 $as_echo "not found" >&6; }
9629 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xi" >&5
9630 $as_echo "$ac_cv_lib_soname_Xi" >&6; }
9632 cat >>confdefs.h
<<_ACEOF
9633 #define SONAME_LIBXI "$ac_cv_lib_soname_Xi"
9639 if test "x$ac_cv_lib_soname_Xi" = "x"; then :
9640 case "x$with_xinput" in
9641 x
) as_fn_append wine_notices
"|libxi ${notice_platform}development files not found, the Xinput extension won't be supported." ;;
9643 *) as_fn_error $?
"libxi ${notice_platform}development files not found, the Xinput extension won't be supported.
9644 This is an error since --with-xinput was requested." "$LINENO" 5 ;;
9648 if test "x$ac_cv_lib_soname_Xi" != x
9650 if test "$ac_cv_header_X11_extensions_XInput2_h" != "yes"; then :
9651 case "x$with_xinput2" in
9652 x
) as_fn_append wine_notices
"|XInput2 headers not found, the XInput 2 extension won't be supported." ;;
9654 *) as_fn_error $?
"XInput2 headers not found, the XInput 2 extension won't be supported.
9655 This is an error since --with-xinput2 was requested." "$LINENO" 5 ;;
9660 if test "$ac_cv_header_X11_extensions_XShm_h" = "yes"
9662 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XShmQueryExtension in -lXext" >&5
9663 $as_echo_n "checking for XShmQueryExtension in -lXext... " >&6; }
9664 if ${ac_cv_lib_Xext_XShmQueryExtension+:} false
; then :
9665 $as_echo_n "(cached) " >&6
9667 ac_check_lib_save_LIBS
=$LIBS
9668 LIBS
="-lXext $X_LIBS $X_EXTRA_LIBS $LIBS"
9669 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9670 /* end confdefs.h. */
9672 /* Override any GCC internal prototype to avoid an error.
9673 Use char because int might match the return type of a GCC
9674 builtin and then its argument prototype would still apply. */
9678 char XShmQueryExtension ();
9682 return XShmQueryExtension ();
9687 if ac_fn_c_try_link
"$LINENO"; then :
9688 ac_cv_lib_Xext_XShmQueryExtension
=yes
9690 ac_cv_lib_Xext_XShmQueryExtension
=no
9692 rm -f core conftest.err conftest.
$ac_objext \
9693 conftest
$ac_exeext conftest.
$ac_ext
9694 LIBS
=$ac_check_lib_save_LIBS
9696 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xext_XShmQueryExtension" >&5
9697 $as_echo "$ac_cv_lib_Xext_XShmQueryExtension" >&6; }
9698 if test "x$ac_cv_lib_Xext_XShmQueryExtension" = xyes
; then :
9700 $as_echo "#define HAVE_LIBXXSHM 1" >>confdefs.h
9705 if test "$ac_cv_lib_Xext_XShmQueryExtension" != "yes"; then :
9706 case "x$with_xshm" in
9707 x
) as_fn_append wine_notices
"|XShm ${notice_platform}development files not found, X Shared Memory won't be supported." ;;
9709 *) as_fn_error $?
"XShm ${notice_platform}development files not found, X Shared Memory won't be supported.
9710 This is an error since --with-xshm was requested." "$LINENO" 5 ;;
9714 if test "$ac_cv_header_X11_extensions_shape_h" = "yes"
9716 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XShapeQueryExtension in -lXext" >&5
9717 $as_echo_n "checking for XShapeQueryExtension in -lXext... " >&6; }
9718 if ${ac_cv_lib_Xext_XShapeQueryExtension+:} false
; then :
9719 $as_echo_n "(cached) " >&6
9721 ac_check_lib_save_LIBS
=$LIBS
9722 LIBS
="-lXext $X_LIBS $X_EXTRA_LIBS $LIBS"
9723 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9724 /* end confdefs.h. */
9726 /* Override any GCC internal prototype to avoid an error.
9727 Use char because int might match the return type of a GCC
9728 builtin and then its argument prototype would still apply. */
9732 char XShapeQueryExtension ();
9736 return XShapeQueryExtension ();
9741 if ac_fn_c_try_link
"$LINENO"; then :
9742 ac_cv_lib_Xext_XShapeQueryExtension
=yes
9744 ac_cv_lib_Xext_XShapeQueryExtension
=no
9746 rm -f core conftest.err conftest.
$ac_objext \
9747 conftest
$ac_exeext conftest.
$ac_ext
9748 LIBS
=$ac_check_lib_save_LIBS
9750 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xext_XShapeQueryExtension" >&5
9751 $as_echo "$ac_cv_lib_Xext_XShapeQueryExtension" >&6; }
9752 if test "x$ac_cv_lib_Xext_XShapeQueryExtension" = xyes
; then :
9754 $as_echo "#define HAVE_LIBXSHAPE 1" >>confdefs.h
9759 if test "$ac_cv_lib_Xext_XShapeQueryExtension" != "yes"; then :
9760 case "x$with_xshape" in
9761 x
) as_fn_append wine_notices
"|XShape ${notice_platform}development files not found, XShape won't be supported." ;;
9763 *) as_fn_error $?
"XShape ${notice_platform}development files not found, XShape won't be supported.
9764 This is an error since --with-xshape was requested." "$LINENO" 5 ;;
9768 if test "$ac_cv_header_X11_extensions_xf86vmode_h" = "yes" -o "$ac_cv_header_X11_extensions_xf86vmproto_h" = "yes"
9770 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXxf86vm" >&5
9771 $as_echo_n "checking for -lXxf86vm... " >&6; }
9772 if ${ac_cv_lib_soname_Xxf86vm+:} false
; then :
9773 $as_echo_n "(cached) " >&6
9775 ac_check_soname_save_LIBS
=$LIBS
9776 LIBS
="-lXxf86vm $X_LIBS $X_EXTRA_LIBS $LIBS"
9777 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9778 /* end confdefs.h. */
9780 /* Override any GCC internal prototype to avoid an error.
9781 Use char because int might match the return type of a GCC
9782 builtin and then its argument prototype would still apply. */
9786 char XF86VidModeQueryExtension ();
9790 return XF86VidModeQueryExtension ();
9795 if ac_fn_c_try_link
"$LINENO"; then :
9797 dll
) ac_cv_lib_soname_Xxf86vm
=`$ac_cv_path_LDD conftest.exe | grep "Xxf86vm" | sed -e "s/dll.*/dll/"';2,$d'` ;;
9798 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'` ;;
9799 *) ac_cv_lib_soname_Xxf86vm
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXxf86vm\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXxf86vm\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
9800 if ${ac_cv_lib_soname_Xxf86vm:+false} :; then :
9801 ac_cv_lib_soname_Xxf86vm
=`$LDD conftest$ac_exeext | grep "libXxf86vm\\.$LIBEXT" | sed -e "s/^.*\(libXxf86vm\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
9805 rm -f core conftest.err conftest.
$ac_objext \
9806 conftest
$ac_exeext conftest.
$ac_ext
9807 LIBS
=$ac_check_soname_save_LIBS
9809 if ${ac_cv_lib_soname_Xxf86vm:+false} :; then :
9810 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
9811 $as_echo "not found" >&6; }
9814 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xxf86vm" >&5
9815 $as_echo "$ac_cv_lib_soname_Xxf86vm" >&6; }
9817 cat >>confdefs.h
<<_ACEOF
9818 #define SONAME_LIBXXF86VM "$ac_cv_lib_soname_Xxf86vm"
9824 if test "x$ac_cv_lib_soname_Xxf86vm" = "x"; then :
9825 case "x$with_xxf86vm" in
9826 x
) as_fn_append wine_notices
"|libXxf86vm ${notice_platform}development files not found, XFree86 Vidmode won't be supported." ;;
9828 *) as_fn_error $?
"libXxf86vm ${notice_platform}development files not found, XFree86 Vidmode won't be supported.
9829 This is an error since --with-xxf86vm was requested." "$LINENO" 5 ;;
9833 if test "$ac_cv_header_X11_extensions_Xrender_h" = "yes" -a "x$ac_cv_lib_soname_X11" != "x"
9835 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXrender" >&5
9836 $as_echo_n "checking for -lXrender... " >&6; }
9837 if ${ac_cv_lib_soname_Xrender+:} false
; then :
9838 $as_echo_n "(cached) " >&6
9840 ac_check_soname_save_LIBS
=$LIBS
9841 LIBS
="-lXrender $X_LIBS $X_EXTRA_LIBS $LIBS"
9842 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9843 /* end confdefs.h. */
9845 /* Override any GCC internal prototype to avoid an error.
9846 Use char because int might match the return type of a GCC
9847 builtin and then its argument prototype would still apply. */
9851 char XRenderQueryExtension ();
9855 return XRenderQueryExtension ();
9860 if ac_fn_c_try_link
"$LINENO"; then :
9862 dll
) ac_cv_lib_soname_Xrender
=`$ac_cv_path_LDD conftest.exe | grep "Xrender" | sed -e "s/dll.*/dll/"';2,$d'` ;;
9863 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'` ;;
9864 *) ac_cv_lib_soname_Xrender
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXrender\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXrender\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
9865 if ${ac_cv_lib_soname_Xrender:+false} :; then :
9866 ac_cv_lib_soname_Xrender
=`$LDD conftest$ac_exeext | grep "libXrender\\.$LIBEXT" | sed -e "s/^.*\(libXrender\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
9870 rm -f core conftest.err conftest.
$ac_objext \
9871 conftest
$ac_exeext conftest.
$ac_ext
9872 LIBS
=$ac_check_soname_save_LIBS
9874 if ${ac_cv_lib_soname_Xrender:+false} :; then :
9875 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
9876 $as_echo "not found" >&6; }
9879 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xrender" >&5
9880 $as_echo "$ac_cv_lib_soname_Xrender" >&6; }
9882 cat >>confdefs.h
<<_ACEOF
9883 #define SONAME_LIBXRENDER "$ac_cv_lib_soname_Xrender"
9886 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XRenderSetPictureTransform in -lXrender" >&5
9887 $as_echo_n "checking for XRenderSetPictureTransform in -lXrender... " >&6; }
9888 if ${ac_cv_lib_Xrender_XRenderSetPictureTransform+:} false
; then :
9889 $as_echo_n "(cached) " >&6
9891 ac_check_lib_save_LIBS
=$LIBS
9892 LIBS
="-lXrender $X_LIBS $X_EXTRA_LIBS $LIBS"
9893 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9894 /* end confdefs.h. */
9896 /* Override any GCC internal prototype to avoid an error.
9897 Use char because int might match the return type of a GCC
9898 builtin and then its argument prototype would still apply. */
9902 char XRenderSetPictureTransform ();
9906 return XRenderSetPictureTransform ();
9911 if ac_fn_c_try_link
"$LINENO"; then :
9912 ac_cv_lib_Xrender_XRenderSetPictureTransform
=yes
9914 ac_cv_lib_Xrender_XRenderSetPictureTransform
=no
9916 rm -f core conftest.err conftest.
$ac_objext \
9917 conftest
$ac_exeext conftest.
$ac_ext
9918 LIBS
=$ac_check_lib_save_LIBS
9920 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xrender_XRenderSetPictureTransform" >&5
9921 $as_echo "$ac_cv_lib_Xrender_XRenderSetPictureTransform" >&6; }
9922 if test "x$ac_cv_lib_Xrender_XRenderSetPictureTransform" = xyes
; then :
9924 $as_echo "#define HAVE_XRENDERSETPICTURETRANSFORM 1" >>confdefs.h
9928 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XRenderCreateLinearGradient in -lXrender" >&5
9929 $as_echo_n "checking for XRenderCreateLinearGradient in -lXrender... " >&6; }
9930 if ${ac_cv_lib_Xrender_XRenderCreateLinearGradient+:} false
; then :
9931 $as_echo_n "(cached) " >&6
9933 ac_check_lib_save_LIBS
=$LIBS
9934 LIBS
="-lXrender $X_LIBS $X_EXTRA_LIBS $LIBS"
9935 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9936 /* end confdefs.h. */
9938 /* Override any GCC internal prototype to avoid an error.
9939 Use char because int might match the return type of a GCC
9940 builtin and then its argument prototype would still apply. */
9944 char XRenderCreateLinearGradient ();
9948 return XRenderCreateLinearGradient ();
9953 if ac_fn_c_try_link
"$LINENO"; then :
9954 ac_cv_lib_Xrender_XRenderCreateLinearGradient
=yes
9956 ac_cv_lib_Xrender_XRenderCreateLinearGradient
=no
9958 rm -f core conftest.err conftest.
$ac_objext \
9959 conftest
$ac_exeext conftest.
$ac_ext
9960 LIBS
=$ac_check_lib_save_LIBS
9962 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xrender_XRenderCreateLinearGradient" >&5
9963 $as_echo "$ac_cv_lib_Xrender_XRenderCreateLinearGradient" >&6; }
9964 if test "x$ac_cv_lib_Xrender_XRenderCreateLinearGradient" = xyes
; then :
9966 $as_echo "#define HAVE_XRENDERCREATELINEARGRADIENT 1" >>confdefs.h
9973 if test "x$ac_cv_lib_soname_Xrender" = "x"; then :
9974 case "x$with_xrender" in
9975 x
) as_fn_append wine_warnings
"|libxrender ${notice_platform}development files not found, XRender won't be supported." ;;
9977 *) as_fn_error $?
"libxrender ${notice_platform}development files not found, XRender won't be supported.
9978 This is an error since --with-xrender was requested." "$LINENO" 5 ;;
9982 if test "$ac_cv_header_X11_extensions_Xrandr_h" = "yes" -a "x$ac_cv_lib_soname_Xrender" != "x"
9984 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9985 /* end confdefs.h. */
9986 #include <X11/Xlib.h>
9987 #include <X11/extensions/Xrandr.h>
9991 static typeof(XRRSetScreenConfigAndRate) * func; if (func) return 0;
9996 if ac_fn_c_try_compile
"$LINENO"; then :
9997 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXrandr" >&5
9998 $as_echo_n "checking for -lXrandr... " >&6; }
9999 if ${ac_cv_lib_soname_Xrandr+:} false
; then :
10000 $as_echo_n "(cached) " >&6
10002 ac_check_soname_save_LIBS
=$LIBS
10003 LIBS
="-lXrandr $X_LIBS $X_EXTRA_LIBS $LIBS"
10004 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10005 /* end confdefs.h. */
10007 /* Override any GCC internal prototype to avoid an error.
10008 Use char because int might match the return type of a GCC
10009 builtin and then its argument prototype would still apply. */
10013 char XRRQueryExtension ();
10017 return XRRQueryExtension ();
10022 if ac_fn_c_try_link
"$LINENO"; then :
10024 dll
) ac_cv_lib_soname_Xrandr
=`$ac_cv_path_LDD conftest.exe | grep "Xrandr" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10025 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'` ;;
10026 *) ac_cv_lib_soname_Xrandr
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXrandr\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXrandr\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10027 if ${ac_cv_lib_soname_Xrandr:+false} :; then :
10028 ac_cv_lib_soname_Xrandr
=`$LDD conftest$ac_exeext | grep "libXrandr\\.$LIBEXT" | sed -e "s/^.*\(libXrandr\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10032 rm -f core conftest.err conftest.
$ac_objext \
10033 conftest
$ac_exeext conftest.
$ac_ext
10034 LIBS
=$ac_check_soname_save_LIBS
10036 if ${ac_cv_lib_soname_Xrandr:+false} :; then :
10037 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10038 $as_echo "not found" >&6; }
10041 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xrandr" >&5
10042 $as_echo "$ac_cv_lib_soname_Xrandr" >&6; }
10044 cat >>confdefs.h
<<_ACEOF
10045 #define SONAME_LIBXRANDR "$ac_cv_lib_soname_Xrandr"
10048 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10049 /* end confdefs.h. */
10050 #include <X11/Xlib.h>
10051 #include <X11/extensions/Xrandr.h>
10055 static typeof(XRRGetScreenResources) *f; if (f) return 0;
10060 if ac_fn_c_try_compile
"$LINENO"; then :
10062 $as_echo "#define HAVE_XRRGETSCREENRESOURCES 1" >>confdefs.h
10065 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
10068 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
10070 if test "x$ac_cv_lib_soname_Xrandr" = "x"; then :
10071 case "x$with_xrandr" in
10072 x
) as_fn_append wine_notices
"|libxrandr ${notice_platform}development files not found, XRandr won't be supported." ;;
10074 *) as_fn_error $?
"libxrandr ${notice_platform}development files not found, XRandr won't be supported.
10075 This is an error since --with-xrandr was requested." "$LINENO" 5 ;;
10079 if test "$ac_cv_header_X11_extensions_Xinerama_h" = "yes"
10081 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10082 /* end confdefs.h. */
10083 #include <X11/Xlib.h>
10084 #include <X11/extensions/Xinerama.h>
10088 static typeof(XineramaQueryScreens) * func; if (func) return 0;
10093 if ac_fn_c_try_compile
"$LINENO"; then :
10094 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXinerama" >&5
10095 $as_echo_n "checking for -lXinerama... " >&6; }
10096 if ${ac_cv_lib_soname_Xinerama+:} false
; then :
10097 $as_echo_n "(cached) " >&6
10099 ac_check_soname_save_LIBS
=$LIBS
10100 LIBS
="-lXinerama $X_LIBS $X_EXTRA_LIBS $LIBS"
10101 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10102 /* end confdefs.h. */
10104 /* Override any GCC internal prototype to avoid an error.
10105 Use char because int might match the return type of a GCC
10106 builtin and then its argument prototype would still apply. */
10110 char XineramaQueryScreens ();
10114 return XineramaQueryScreens ();
10119 if ac_fn_c_try_link
"$LINENO"; then :
10121 dll
) ac_cv_lib_soname_Xinerama
=`$ac_cv_path_LDD conftest.exe | grep "Xinerama" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10122 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'` ;;
10123 *) ac_cv_lib_soname_Xinerama
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXinerama\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXinerama\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10124 if ${ac_cv_lib_soname_Xinerama:+false} :; then :
10125 ac_cv_lib_soname_Xinerama
=`$LDD conftest$ac_exeext | grep "libXinerama\\.$LIBEXT" | sed -e "s/^.*\(libXinerama\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10129 rm -f core conftest.err conftest.
$ac_objext \
10130 conftest
$ac_exeext conftest.
$ac_ext
10131 LIBS
=$ac_check_soname_save_LIBS
10133 if ${ac_cv_lib_soname_Xinerama:+false} :; then :
10134 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10135 $as_echo "not found" >&6; }
10138 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xinerama" >&5
10139 $as_echo "$ac_cv_lib_soname_Xinerama" >&6; }
10141 cat >>confdefs.h
<<_ACEOF
10142 #define SONAME_LIBXINERAMA "$ac_cv_lib_soname_Xinerama"
10148 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
10150 if test "x$ac_cv_lib_soname_Xinerama" = "x"; then :
10151 case "x$with_xinerama" in
10152 x
) as_fn_append wine_notices
"|libxinerama ${notice_platform}development files not found, multi-monitor setups won't be supported." ;;
10154 *) as_fn_error $?
"libxinerama ${notice_platform}development files not found, multi-monitor setups won't be supported.
10155 This is an error since --with-xinerama was requested." "$LINENO" 5 ;;
10159 if test "$ac_cv_header_X11_extensions_Xcomposite_h" = "yes"
10161 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXcomposite" >&5
10162 $as_echo_n "checking for -lXcomposite... " >&6; }
10163 if ${ac_cv_lib_soname_Xcomposite+:} false
; then :
10164 $as_echo_n "(cached) " >&6
10166 ac_check_soname_save_LIBS
=$LIBS
10167 LIBS
="-lXcomposite $X_LIBS $X_EXTRA_LIBS $LIBS"
10168 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10169 /* end confdefs.h. */
10171 /* Override any GCC internal prototype to avoid an error.
10172 Use char because int might match the return type of a GCC
10173 builtin and then its argument prototype would still apply. */
10177 char XCompositeRedirectWindow ();
10181 return XCompositeRedirectWindow ();
10186 if ac_fn_c_try_link
"$LINENO"; then :
10188 dll
) ac_cv_lib_soname_Xcomposite
=`$ac_cv_path_LDD conftest.exe | grep "Xcomposite" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10189 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'` ;;
10190 *) ac_cv_lib_soname_Xcomposite
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXcomposite\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXcomposite\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10191 if ${ac_cv_lib_soname_Xcomposite:+false} :; then :
10192 ac_cv_lib_soname_Xcomposite
=`$LDD conftest$ac_exeext | grep "libXcomposite\\.$LIBEXT" | sed -e "s/^.*\(libXcomposite\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10196 rm -f core conftest.err conftest.
$ac_objext \
10197 conftest
$ac_exeext conftest.
$ac_ext
10198 LIBS
=$ac_check_soname_save_LIBS
10200 if ${ac_cv_lib_soname_Xcomposite:+false} :; then :
10201 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10202 $as_echo "not found" >&6; }
10205 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xcomposite" >&5
10206 $as_echo "$ac_cv_lib_soname_Xcomposite" >&6; }
10208 cat >>confdefs.h
<<_ACEOF
10209 #define SONAME_LIBXCOMPOSITE "$ac_cv_lib_soname_Xcomposite"
10215 if test "x$ac_cv_lib_soname_Xcomposite" = "x"; then :
10216 case "x$with_xcomposite" in
10217 x
) as_fn_append wine_notices
"|libxcomposite ${notice_platform}development files not found, Xcomposite won't be supported." ;;
10219 *) as_fn_error $?
"libxcomposite ${notice_platform}development files not found, Xcomposite won't be supported.
10220 This is an error since --with-xcomposite was requested." "$LINENO" 5 ;;
10224 ac_fn_c_check_member
"$LINENO" "XICCallback" "callback" "ac_cv_member_XICCallback_callback" "#ifdef HAVE_X11_XLIB_H
10225 #include <X11/Xlib.h>
10228 if test "x$ac_cv_member_XICCallback_callback" = xyes
; then :
10230 cat >>confdefs.h
<<_ACEOF
10231 #define HAVE_XICCALLBACK_CALLBACK 1
10236 ac_fn_c_check_member
"$LINENO" "XEvent" "xcookie" "ac_cv_member_XEvent_xcookie" "#ifdef HAVE_X11_XLIB_H
10237 #include <X11/Xlib.h>
10240 if test "x$ac_cv_member_XEvent_xcookie" = xyes
; then :
10242 cat >>confdefs.h
<<_ACEOF
10243 #define HAVE_XEVENT_XCOOKIE 1
10252 if test "x$with_opengl" != "xno"
10254 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lGL" >&5
10255 $as_echo_n "checking for -lGL... " >&6; }
10256 if ${ac_cv_lib_soname_GL+:} false
; then :
10257 $as_echo_n "(cached) " >&6
10259 ac_check_soname_save_LIBS
=$LIBS
10260 LIBS
="-lGL $X_LIBS -lm $X_EXTRA_LIBS $LIBS"
10261 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10262 /* end confdefs.h. */
10264 /* Override any GCC internal prototype to avoid an error.
10265 Use char because int might match the return type of a GCC
10266 builtin and then its argument prototype would still apply. */
10270 char glXCreateContext ();
10274 return glXCreateContext ();
10279 if ac_fn_c_try_link
"$LINENO"; then :
10281 dll
) ac_cv_lib_soname_GL
=`$ac_cv_path_LDD conftest.exe | grep "GL" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10282 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'` ;;
10283 *) ac_cv_lib_soname_GL
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libGL\\.$LIBEXT" | sed -e "s/^.*\\[\\(libGL\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10284 if ${ac_cv_lib_soname_GL:+false} :; then :
10285 ac_cv_lib_soname_GL
=`$LDD conftest$ac_exeext | grep "libGL\\.$LIBEXT" | sed -e "s/^.*\(libGL\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10289 rm -f core conftest.err conftest.
$ac_objext \
10290 conftest
$ac_exeext conftest.
$ac_ext
10291 LIBS
=$ac_check_soname_save_LIBS
10293 if ${ac_cv_lib_soname_GL:+false} :; then :
10294 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10295 $as_echo "not found" >&6; }
10296 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lGL" >&5
10297 $as_echo_n "checking for -lGL... " >&6; }
10298 if ${ac_cv_lib_soname_GL+:} false
; then :
10299 $as_echo_n "(cached) " >&6
10301 ac_check_soname_save_LIBS
=$LIBS
10302 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"
10303 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10304 /* end confdefs.h. */
10306 /* Override any GCC internal prototype to avoid an error.
10307 Use char because int might match the return type of a GCC
10308 builtin and then its argument prototype would still apply. */
10312 char glXCreateContext ();
10316 return glXCreateContext ();
10321 if ac_fn_c_try_link
"$LINENO"; then :
10323 dll
) ac_cv_lib_soname_GL
=`$ac_cv_path_LDD conftest.exe | grep "GL" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10324 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'` ;;
10325 *) ac_cv_lib_soname_GL
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libGL\\.$LIBEXT" | sed -e "s/^.*\\[\\(libGL\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10326 if ${ac_cv_lib_soname_GL:+false} :; then :
10327 ac_cv_lib_soname_GL
=`$LDD conftest$ac_exeext | grep "libGL\\.$LIBEXT" | sed -e "s/^.*\(libGL\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10331 rm -f core conftest.err conftest.
$ac_objext \
10332 conftest
$ac_exeext conftest.
$ac_ext
10333 LIBS
=$ac_check_soname_save_LIBS
10335 if ${ac_cv_lib_soname_GL:+false} :; then :
10336 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10337 $as_echo "not found" >&6; }
10338 if test -f /usr
/X11R
6/lib
/libGL.a
10340 opengl_msg
="/usr/X11R6/lib/libGL.a is present on your system.
10341 This probably prevents linking to OpenGL. Try deleting the file and restarting configure."
10343 opengl_msg
="No OpenGL library found on this system."
10346 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_GL" >&5
10347 $as_echo "$ac_cv_lib_soname_GL" >&6; }
10349 cat >>confdefs.h
<<_ACEOF
10350 #define SONAME_LIBGL "$ac_cv_lib_soname_GL"
10353 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"
10356 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_GL" >&5
10357 $as_echo "$ac_cv_lib_soname_GL" >&6; }
10359 cat >>confdefs.h
<<_ACEOF
10360 #define SONAME_LIBGL "$ac_cv_lib_soname_GL"
10365 if test "x$with_glu" != "xno"
10367 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gluLookAt in -lGLU" >&5
10368 $as_echo_n "checking for gluLookAt in -lGLU... " >&6; }
10369 if ${ac_cv_lib_GLU_gluLookAt+:} false
; then :
10370 $as_echo_n "(cached) " >&6
10372 ac_check_lib_save_LIBS
=$LIBS
10373 LIBS
="-lGLU $OPENGL_LIBS $X_LIBS -lm $X_EXTRA_LIBS $LIBS"
10374 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10375 /* end confdefs.h. */
10377 /* Override any GCC internal prototype to avoid an error.
10378 Use char because int might match the return type of a GCC
10379 builtin and then its argument prototype would still apply. */
10387 return gluLookAt ();
10392 if ac_fn_c_try_link
"$LINENO"; then :
10393 ac_cv_lib_GLU_gluLookAt
=yes
10395 ac_cv_lib_GLU_gluLookAt
=no
10397 rm -f core conftest.err conftest.
$ac_objext \
10398 conftest
$ac_exeext conftest.
$ac_ext
10399 LIBS
=$ac_check_lib_save_LIBS
10401 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_GLU_gluLookAt" >&5
10402 $as_echo "$ac_cv_lib_GLU_gluLookAt" >&6; }
10403 if test "x$ac_cv_lib_GLU_gluLookAt" = xyes
; then :
10407 if test "x$ac_cv_lib_GLU_gluLookAt" != xyes
; then :
10408 case "x$with_glu" in
10409 x
) as_fn_append wine_notices
"|libGLU ${notice_platform}development files not found, GLU won't be supported." ;;
10411 *) as_fn_error $?
"libGLU ${notice_platform}development files not found, GLU won't be supported.
10412 This is an error since --with-glu was requested." "$LINENO" 5 ;;
10417 if test "x$with_osmesa" != "xno"
10419 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lOSMesa" >&5
10420 $as_echo_n "checking for -lOSMesa... " >&6; }
10421 if ${ac_cv_lib_soname_OSMesa+:} false
; then :
10422 $as_echo_n "(cached) " >&6
10424 ac_check_soname_save_LIBS
=$LIBS
10425 LIBS
="-lOSMesa $X_LIBS -lm $X_EXTRA_LIBS $LIBS"
10426 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10427 /* end confdefs.h. */
10429 /* Override any GCC internal prototype to avoid an error.
10430 Use char because int might match the return type of a GCC
10431 builtin and then its argument prototype would still apply. */
10444 if ac_fn_c_try_link
"$LINENO"; then :
10446 dll
) ac_cv_lib_soname_OSMesa
=`$ac_cv_path_LDD conftest.exe | grep "OSMesa" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10447 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'` ;;
10448 *) ac_cv_lib_soname_OSMesa
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libOSMesa\\.$LIBEXT" | sed -e "s/^.*\\[\\(libOSMesa\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10449 if ${ac_cv_lib_soname_OSMesa:+false} :; then :
10450 ac_cv_lib_soname_OSMesa
=`$LDD conftest$ac_exeext | grep "libOSMesa\\.$LIBEXT" | sed -e "s/^.*\(libOSMesa\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10454 rm -f core conftest.err conftest.
$ac_objext \
10455 conftest
$ac_exeext conftest.
$ac_ext
10456 LIBS
=$ac_check_soname_save_LIBS
10458 if ${ac_cv_lib_soname_OSMesa:+false} :; then :
10459 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10460 $as_echo "not found" >&6; }
10463 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_OSMesa" >&5
10464 $as_echo "$ac_cv_lib_soname_OSMesa" >&6; }
10466 cat >>confdefs.h
<<_ACEOF
10467 #define SONAME_LIBOSMESA "$ac_cv_lib_soname_OSMesa"
10472 if test "x$ac_cv_lib_soname_OSMesa" = "x"; then :
10473 case "x$with_osmesa" in
10474 x
) as_fn_append wine_notices
"|libOSMesa ${notice_platform}development files not found (or too old), OpenGL rendering in bitmaps won't be supported." ;;
10476 *) as_fn_error $?
"libOSMesa ${notice_platform}development files not found (or too old), OpenGL rendering in bitmaps won't be supported.
10477 This is an error since --with-osmesa was requested." "$LINENO" 5 ;;
10482 if test -n "$opengl_msg"; then :
10483 case "x$with_opengl" in
10484 x
) as_fn_append wine_warnings
"|$opengl_msg
10485 OpenGL and Direct3D won't be supported." ;;
10487 *) as_fn_error $?
"$opengl_msg
10488 OpenGL and Direct3D won't be supported.
10489 This is an error since --with-opengl was requested." "$LINENO" 5 ;;
10493 CPPFLAGS
="$ac_save_CPPFLAGS"
10497 enable_winex11_drv
=${enable_winex11_drv:-no}
10499 if test "x$X_LIBS" = "x"; then :
10502 *) as_fn_error $?
"X ${notice_platform}development files not found. Wine will be built
10503 without X support, which probably isn't what you want. You will need
10504 to install ${notice_platform}development packages of Xlib/Xfree86 at the very least.
10505 Use the --without-x option if you really want this." "$LINENO" 5 ;;
10509 test "x$ac_cv_lib_GLU_gluLookAt" != xyes
&& enable_glu32
=${enable_glu32:-no}
10511 if test "$ac_cv_header_CL_cl_h" = "yes"
10513 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for clGetPlatformInfo in -lOpenCL" >&5
10514 $as_echo_n "checking for clGetPlatformInfo in -lOpenCL... " >&6; }
10515 if ${ac_cv_lib_OpenCL_clGetPlatformInfo+:} false
; then :
10516 $as_echo_n "(cached) " >&6
10518 ac_check_lib_save_LIBS
=$LIBS
10519 LIBS
="-lOpenCL $LIBS"
10520 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10521 /* end confdefs.h. */
10523 /* Override any GCC internal prototype to avoid an error.
10524 Use char because int might match the return type of a GCC
10525 builtin and then its argument prototype would still apply. */
10529 char clGetPlatformInfo ();
10533 return clGetPlatformInfo ();
10538 if ac_fn_c_try_link
"$LINENO"; then :
10539 ac_cv_lib_OpenCL_clGetPlatformInfo
=yes
10541 ac_cv_lib_OpenCL_clGetPlatformInfo
=no
10543 rm -f core conftest.err conftest.
$ac_objext \
10544 conftest
$ac_exeext conftest.
$ac_ext
10545 LIBS
=$ac_check_lib_save_LIBS
10547 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_OpenCL_clGetPlatformInfo" >&5
10548 $as_echo "$ac_cv_lib_OpenCL_clGetPlatformInfo" >&6; }
10549 if test "x$ac_cv_lib_OpenCL_clGetPlatformInfo" = xyes
; then :
10550 OPENCL_LIBS
="-lOpenCL"
10555 if test "x$ac_cv_lib_OpenCL_clGetPlatformInfo" != xyes
; then :
10556 case "x$with_opencl" in
10557 x
) as_fn_append wine_notices
"|OpenCL ${notice_platform}development files not found, OpenCL won't be supported." ;;
10559 *) as_fn_error $?
"OpenCL ${notice_platform}development files not found, OpenCL won't be supported.
10560 This is an error since --with-opencl was requested." "$LINENO" 5 ;;
10563 test "x$ac_cv_lib_OpenCL_clGetPlatformInfo" != xyes
&& enable_opencl
=${enable_opencl:-no}
10565 if test "$ac_cv_header_pcap_pcap_h" = "yes"
10567 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pcap_create in -lpcap" >&5
10568 $as_echo_n "checking for pcap_create in -lpcap... " >&6; }
10569 if ${ac_cv_lib_pcap_pcap_create+:} false
; then :
10570 $as_echo_n "(cached) " >&6
10572 ac_check_lib_save_LIBS
=$LIBS
10573 LIBS
="-lpcap $LIBS"
10574 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10575 /* end confdefs.h. */
10577 /* Override any GCC internal prototype to avoid an error.
10578 Use char because int might match the return type of a GCC
10579 builtin and then its argument prototype would still apply. */
10583 char pcap_create ();
10587 return pcap_create ();
10592 if ac_fn_c_try_link
"$LINENO"; then :
10593 ac_cv_lib_pcap_pcap_create
=yes
10595 ac_cv_lib_pcap_pcap_create
=no
10597 rm -f core conftest.err conftest.
$ac_objext \
10598 conftest
$ac_exeext conftest.
$ac_ext
10599 LIBS
=$ac_check_lib_save_LIBS
10601 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_pcap_pcap_create" >&5
10602 $as_echo "$ac_cv_lib_pcap_pcap_create" >&6; }
10603 if test "x$ac_cv_lib_pcap_pcap_create" = xyes
; then :
10609 if test "x$ac_cv_lib_pcap_pcap_create" != xyes
; then :
10610 case "x$with_pcap" in
10611 x
) as_fn_append wine_notices
"|pcap ${notice_platform}development files not found, wpcap won't be supported." ;;
10613 *) as_fn_error $?
"pcap ${notice_platform}development files not found, wpcap won't be supported.
10614 This is an error since --with-pcap was requested." "$LINENO" 5 ;;
10617 test "x$ac_cv_lib_pcap_pcap_create" != xyes
&& enable_wpcap
=${enable_wpcap:-no}
10620 if test "x$with_xml" != "xno"
10622 if ${XML2_CFLAGS:+false} :; then :
10623 if ${PKG_CONFIG+:} false
; then :
10624 XML2_CFLAGS
=`$PKG_CONFIG --cflags libxml-2.0 2>/dev/null`
10627 test "$cross_compiling" = yes || XML2_CFLAGS
=${XML2_CFLAGS:-`xml2-config --cflags 2>/dev/null`}
10628 if ${XML2_LIBS:+false} :; then :
10629 if ${PKG_CONFIG+:} false
; then :
10630 XML2_LIBS
=`$PKG_CONFIG --libs libxml-2.0 2>/dev/null`
10633 test "$cross_compiling" = yes || XML2_LIBS
=${XML2_LIBS:-`xml2-config --libs 2>/dev/null`}
10634 XML2_LIBS
=${XML2_LIBS:-"-lxml2"}
10635 $as_echo "$as_me:${as_lineno-$LINENO}: libxml-2.0 cflags: $XML2_CFLAGS" >&5
10636 $as_echo "$as_me:${as_lineno-$LINENO}: libxml-2.0 libs: $XML2_LIBS" >&5
10637 ac_save_CPPFLAGS
=$CPPFLAGS
10638 CPPFLAGS
="$CPPFLAGS $XML2_CFLAGS"
10639 for ac_header
in libxml
/parser.h libxml
/xmlsave.h libxml
/SAX2.h
10641 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
10642 ac_fn_c_check_header_mongrel
"$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
10643 if eval test \"x\$
"$as_ac_Header"\" = x
"yes"; then :
10644 cat >>confdefs.h
<<_ACEOF
10645 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
10652 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"
10654 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlParseMemory in -lxml2" >&5
10655 $as_echo_n "checking for xmlParseMemory in -lxml2... " >&6; }
10656 if ${ac_cv_lib_xml2_xmlParseMemory+:} false
; then :
10657 $as_echo_n "(cached) " >&6
10659 ac_check_lib_save_LIBS
=$LIBS
10660 LIBS
="-lxml2 $XML2_LIBS $LIBS"
10661 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10662 /* end confdefs.h. */
10664 /* Override any GCC internal prototype to avoid an error.
10665 Use char because int might match the return type of a GCC
10666 builtin and then its argument prototype would still apply. */
10670 char xmlParseMemory ();
10674 return xmlParseMemory ();
10679 if ac_fn_c_try_link
"$LINENO"; then :
10680 ac_cv_lib_xml2_xmlParseMemory
=yes
10682 ac_cv_lib_xml2_xmlParseMemory
=no
10684 rm -f core conftest.err conftest.
$ac_objext \
10685 conftest
$ac_exeext conftest.
$ac_ext
10686 LIBS
=$ac_check_lib_save_LIBS
10688 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlParseMemory" >&5
10689 $as_echo "$ac_cv_lib_xml2_xmlParseMemory" >&6; }
10690 if test "x$ac_cv_lib_xml2_xmlParseMemory" = xyes
; then :
10692 $as_echo "#define HAVE_LIBXML2 1" >>confdefs.h
10698 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlReadMemory in -lxml2" >&5
10699 $as_echo_n "checking for xmlReadMemory in -lxml2... " >&6; }
10700 if ${ac_cv_lib_xml2_xmlReadMemory+:} false
; then :
10701 $as_echo_n "(cached) " >&6
10703 ac_check_lib_save_LIBS
=$LIBS
10704 LIBS
="-lxml2 $XML2_LIBS $LIBS"
10705 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10706 /* end confdefs.h. */
10708 /* Override any GCC internal prototype to avoid an error.
10709 Use char because int might match the return type of a GCC
10710 builtin and then its argument prototype would still apply. */
10714 char xmlReadMemory ();
10718 return xmlReadMemory ();
10723 if ac_fn_c_try_link
"$LINENO"; then :
10724 ac_cv_lib_xml2_xmlReadMemory
=yes
10726 ac_cv_lib_xml2_xmlReadMemory
=no
10728 rm -f core conftest.err conftest.
$ac_objext \
10729 conftest
$ac_exeext conftest.
$ac_ext
10730 LIBS
=$ac_check_lib_save_LIBS
10732 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlReadMemory" >&5
10733 $as_echo "$ac_cv_lib_xml2_xmlReadMemory" >&6; }
10734 if test "x$ac_cv_lib_xml2_xmlReadMemory" = xyes
; then :
10736 $as_echo "#define HAVE_XMLREADMEMORY 1" >>confdefs.h
10740 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlNewDocPI in -lxml2" >&5
10741 $as_echo_n "checking for xmlNewDocPI in -lxml2... " >&6; }
10742 if ${ac_cv_lib_xml2_xmlNewDocPI+:} false
; then :
10743 $as_echo_n "(cached) " >&6
10745 ac_check_lib_save_LIBS
=$LIBS
10746 LIBS
="-lxml2 $XML2_LIBS $LIBS"
10747 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10748 /* end confdefs.h. */
10750 /* Override any GCC internal prototype to avoid an error.
10751 Use char because int might match the return type of a GCC
10752 builtin and then its argument prototype would still apply. */
10756 char xmlNewDocPI ();
10760 return xmlNewDocPI ();
10765 if ac_fn_c_try_link
"$LINENO"; then :
10766 ac_cv_lib_xml2_xmlNewDocPI
=yes
10768 ac_cv_lib_xml2_xmlNewDocPI
=no
10770 rm -f core conftest.err conftest.
$ac_objext \
10771 conftest
$ac_exeext conftest.
$ac_ext
10772 LIBS
=$ac_check_lib_save_LIBS
10774 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlNewDocPI" >&5
10775 $as_echo "$ac_cv_lib_xml2_xmlNewDocPI" >&6; }
10776 if test "x$ac_cv_lib_xml2_xmlNewDocPI" = xyes
; then :
10778 $as_echo "#define HAVE_XMLNEWDOCPI 1" >>confdefs.h
10782 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlSchemaSetParserStructuredErrors in -lxml2" >&5
10783 $as_echo_n "checking for xmlSchemaSetParserStructuredErrors in -lxml2... " >&6; }
10784 if ${ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors+:} false
; then :
10785 $as_echo_n "(cached) " >&6
10787 ac_check_lib_save_LIBS
=$LIBS
10788 LIBS
="-lxml2 $XML2_LIBS $LIBS"
10789 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10790 /* end confdefs.h. */
10792 /* Override any GCC internal prototype to avoid an error.
10793 Use char because int might match the return type of a GCC
10794 builtin and then its argument prototype would still apply. */
10798 char xmlSchemaSetParserStructuredErrors ();
10802 return xmlSchemaSetParserStructuredErrors ();
10807 if ac_fn_c_try_link
"$LINENO"; then :
10808 ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors
=yes
10810 ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors
=no
10812 rm -f core conftest.err conftest.
$ac_objext \
10813 conftest
$ac_exeext conftest.
$ac_ext
10814 LIBS
=$ac_check_lib_save_LIBS
10816 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors" >&5
10817 $as_echo "$ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors" >&6; }
10818 if test "x$ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors" = xyes
; then :
10820 $as_echo "#define HAVE_XMLSCHEMASSETPARSERSTRUCTUREDERRORS 1" >>confdefs.h
10824 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlSchemaSetValidStructuredErrors in -lxml2" >&5
10825 $as_echo_n "checking for xmlSchemaSetValidStructuredErrors in -lxml2... " >&6; }
10826 if ${ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors+:} false
; then :
10827 $as_echo_n "(cached) " >&6
10829 ac_check_lib_save_LIBS
=$LIBS
10830 LIBS
="-lxml2 $XML2_LIBS $LIBS"
10831 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10832 /* end confdefs.h. */
10834 /* Override any GCC internal prototype to avoid an error.
10835 Use char because int might match the return type of a GCC
10836 builtin and then its argument prototype would still apply. */
10840 char xmlSchemaSetValidStructuredErrors ();
10844 return xmlSchemaSetValidStructuredErrors ();
10849 if ac_fn_c_try_link
"$LINENO"; then :
10850 ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors
=yes
10852 ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors
=no
10854 rm -f core conftest.err conftest.
$ac_objext \
10855 conftest
$ac_exeext conftest.
$ac_ext
10856 LIBS
=$ac_check_lib_save_LIBS
10858 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors" >&5
10859 $as_echo "$ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors" >&6; }
10860 if test "x$ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors" = xyes
; then :
10862 $as_echo "#define HAVE_XMLSCHEMASSETVALIDSTRUCTUREDERRORS 1" >>confdefs.h
10866 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlFirstElementChild in -lxml2" >&5
10867 $as_echo_n "checking for xmlFirstElementChild in -lxml2... " >&6; }
10868 if ${ac_cv_lib_xml2_xmlFirstElementChild+:} false
; then :
10869 $as_echo_n "(cached) " >&6
10871 ac_check_lib_save_LIBS
=$LIBS
10872 LIBS
="-lxml2 $XML2_LIBS $LIBS"
10873 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10874 /* end confdefs.h. */
10876 /* Override any GCC internal prototype to avoid an error.
10877 Use char because int might match the return type of a GCC
10878 builtin and then its argument prototype would still apply. */
10882 char xmlFirstElementChild ();
10886 return xmlFirstElementChild ();
10891 if ac_fn_c_try_link
"$LINENO"; then :
10892 ac_cv_lib_xml2_xmlFirstElementChild
=yes
10894 ac_cv_lib_xml2_xmlFirstElementChild
=no
10896 rm -f core conftest.err conftest.
$ac_objext \
10897 conftest
$ac_exeext conftest.
$ac_ext
10898 LIBS
=$ac_check_lib_save_LIBS
10900 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlFirstElementChild" >&5
10901 $as_echo "$ac_cv_lib_xml2_xmlFirstElementChild" >&6; }
10902 if test "x$ac_cv_lib_xml2_xmlFirstElementChild" = xyes
; then :
10904 $as_echo "#define HAVE_XMLFIRSTELEMENTCHILD 1" >>confdefs.h
10908 ac_fn_c_check_type
"$LINENO" "xmlDocProperties" "ac_cv_type_xmlDocProperties" "#include <libxml/tree.h>
10910 if test "x$ac_cv_type_xmlDocProperties" = xyes
; then :
10912 $as_echo "#define HAVE_XMLDOC_PROPERTIES 1" >>confdefs.h
10920 CPPFLAGS
=$ac_save_CPPFLAGS
10921 test -z "$XML2_CFLAGS" || XML2_CFLAGS
=`echo " $XML2_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
10922 test -z "$XML2_LIBS" || XML2_LIBS
=`echo " $XML2_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
10925 if test "$ac_cv_lib_xml2_xmlParseMemory" != "yes"; then :
10926 case "x$with_xml" in
10927 x
) as_fn_append wine_warnings
"|libxml2 ${notice_platform}development files not found (or too old), XML won't be supported." ;;
10929 *) as_fn_error $?
"libxml2 ${notice_platform}development files not found (or too old), XML won't be supported.
10930 This is an error since --with-xml was requested." "$LINENO" 5 ;;
10934 if test "x$with_xslt" != "xno"
10936 if ${XSLT_CFLAGS:+false} :; then :
10937 if ${PKG_CONFIG+:} false
; then :
10938 XSLT_CFLAGS
=`$PKG_CONFIG --cflags libxslt 2>/dev/null`
10941 test "$cross_compiling" = yes || XSLT_CFLAGS
=${XSLT_CFLAGS:-`xslt-config --cflags 2>/dev/null`}
10942 if ${XSLT_LIBS:+false} :; then :
10943 if ${PKG_CONFIG+:} false
; then :
10944 XSLT_LIBS
=`$PKG_CONFIG --libs libxslt 2>/dev/null`
10947 test "$cross_compiling" = yes || XSLT_LIBS
=${XSLT_LIBS:-`xslt-config --libs 2>/dev/null`}
10948 XSLT_LIBS
=${XSLT_LIBS:-"-lxml2"}
10949 $as_echo "$as_me:${as_lineno-$LINENO}: libxslt cflags: $XSLT_CFLAGS" >&5
10950 $as_echo "$as_me:${as_lineno-$LINENO}: libxslt libs: $XSLT_LIBS" >&5
10951 ac_save_CPPFLAGS
=$CPPFLAGS
10952 CPPFLAGS
="$CPPFLAGS $XSLT_CFLAGS"
10953 for ac_header
in libxslt
/pattern.h libxslt
/transform.h
10955 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
10956 ac_fn_c_check_header_compile
"$LINENO" "$ac_header" "$as_ac_Header" "#ifdef HAVE_LIBXSLT_PATTERN_H
10957 # include <libxslt/pattern.h>
10960 if eval test \"x\$
"$as_ac_Header"\" = x
"yes"; then :
10961 cat >>confdefs.h
<<_ACEOF
10962 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
10969 if test "$ac_cv_header_libxslt_transform_h" = "yes"
10971 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lxslt" >&5
10972 $as_echo_n "checking for -lxslt... " >&6; }
10973 if ${ac_cv_lib_soname_xslt+:} false
; then :
10974 $as_echo_n "(cached) " >&6
10976 ac_check_soname_save_LIBS
=$LIBS
10977 LIBS
="-lxslt $XSLT_LIBS $LIBS"
10978 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10979 /* end confdefs.h. */
10981 /* Override any GCC internal prototype to avoid an error.
10982 Use char because int might match the return type of a GCC
10983 builtin and then its argument prototype would still apply. */
10987 char xsltCompilePattern ();
10991 return xsltCompilePattern ();
10996 if ac_fn_c_try_link
"$LINENO"; then :
10998 dll
) ac_cv_lib_soname_xslt
=`$ac_cv_path_LDD conftest.exe | grep "xslt" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10999 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'` ;;
11000 *) ac_cv_lib_soname_xslt
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libxslt\\.$LIBEXT" | sed -e "s/^.*\\[\\(libxslt\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
11001 if ${ac_cv_lib_soname_xslt:+false} :; then :
11002 ac_cv_lib_soname_xslt
=`$LDD conftest$ac_exeext | grep "libxslt\\.$LIBEXT" | sed -e "s/^.*\(libxslt\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11006 rm -f core conftest.err conftest.
$ac_objext \
11007 conftest
$ac_exeext conftest.
$ac_ext
11008 LIBS
=$ac_check_soname_save_LIBS
11010 if ${ac_cv_lib_soname_xslt:+false} :; then :
11011 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11012 $as_echo "not found" >&6; }
11015 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_xslt" >&5
11016 $as_echo "$ac_cv_lib_soname_xslt" >&6; }
11018 cat >>confdefs.h
<<_ACEOF
11019 #define SONAME_LIBXSLT "$ac_cv_lib_soname_xslt"
11027 CPPFLAGS
=$ac_save_CPPFLAGS
11028 test -z "$XSLT_CFLAGS" || XSLT_CFLAGS
=`echo " $XSLT_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
11029 test -z "$XSLT_LIBS" || XSLT_LIBS
=`echo " $XSLT_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
11032 if test "x$ac_cv_lib_soname_xslt" = "x"; then :
11033 case "x$with_xslt" in
11034 x
) as_fn_append wine_warnings
"|libxslt ${notice_platform}development files not found, xslt won't be supported." ;;
11036 *) as_fn_error $?
"libxslt ${notice_platform}development files not found, xslt won't be supported.
11037 This is an error since --with-xslt was requested." "$LINENO" 5 ;;
11041 if test "x$with_dbus" != "xno"
11043 if ${DBUS_CFLAGS:+false} :; then :
11044 if ${PKG_CONFIG+:} false
; then :
11045 DBUS_CFLAGS
=`$PKG_CONFIG --cflags dbus-1 2>/dev/null`
11049 if ${DBUS_LIBS:+false} :; then :
11050 if ${PKG_CONFIG+:} false
; then :
11051 DBUS_LIBS
=`$PKG_CONFIG --libs dbus-1 2>/dev/null`
11056 $as_echo "$as_me:${as_lineno-$LINENO}: dbus-1 cflags: $DBUS_CFLAGS" >&5
11057 $as_echo "$as_me:${as_lineno-$LINENO}: dbus-1 libs: $DBUS_LIBS" >&5
11058 ac_save_CPPFLAGS
=$CPPFLAGS
11059 CPPFLAGS
="$CPPFLAGS $DBUS_CFLAGS"
11060 ac_fn_c_check_header_mongrel
"$LINENO" "dbus/dbus.h" "ac_cv_header_dbus_dbus_h" "$ac_includes_default"
11061 if test "x$ac_cv_header_dbus_dbus_h" = xyes
; then :
11062 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -ldbus-1" >&5
11063 $as_echo_n "checking for -ldbus-1... " >&6; }
11064 if ${ac_cv_lib_soname_dbus_1+:} false
; then :
11065 $as_echo_n "(cached) " >&6
11067 ac_check_soname_save_LIBS
=$LIBS
11068 LIBS
="-ldbus-1 $DBUS_LIBS $LIBS"
11069 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11070 /* end confdefs.h. */
11072 /* Override any GCC internal prototype to avoid an error.
11073 Use char because int might match the return type of a GCC
11074 builtin and then its argument prototype would still apply. */
11078 char dbus_connection_close ();
11082 return dbus_connection_close ();
11087 if ac_fn_c_try_link
"$LINENO"; then :
11089 dll
) ac_cv_lib_soname_dbus_1
=`$ac_cv_path_LDD conftest.exe | grep "dbus-1" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11090 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'` ;;
11091 *) 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'`
11092 if ${ac_cv_lib_soname_dbus_1:+false} :; then :
11093 ac_cv_lib_soname_dbus_1
=`$LDD conftest$ac_exeext | grep "libdbus-1\\.$LIBEXT" | sed -e "s/^.*\(libdbus-1\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11097 rm -f core conftest.err conftest.
$ac_objext \
11098 conftest
$ac_exeext conftest.
$ac_ext
11099 LIBS
=$ac_check_soname_save_LIBS
11101 if ${ac_cv_lib_soname_dbus_1:+false} :; then :
11102 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11103 $as_echo "not found" >&6; }
11106 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_dbus_1" >&5
11107 $as_echo "$ac_cv_lib_soname_dbus_1" >&6; }
11109 cat >>confdefs.h
<<_ACEOF
11110 #define SONAME_LIBDBUS_1 "$ac_cv_lib_soname_dbus_1"
11120 CPPFLAGS
=$ac_save_CPPFLAGS
11121 test -z "$DBUS_CFLAGS" || DBUS_CFLAGS
=`echo " $DBUS_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
11122 test -z "$DBUS_LIBS" || DBUS_LIBS
=`echo " $DBUS_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
11125 if test "x$ac_cv_lib_soname_dbus_1" = "x" -a \
11126 "x$ac_cv_header_DiskArbitration_DiskArbitration_h" != "xyes"; then :
11127 case "x$with_dbus" in
11128 x
) as_fn_append wine_notices
"|libdbus ${notice_platform}development files not found, no dynamic device support." ;;
11130 *) as_fn_error $?
"libdbus ${notice_platform}development files not found, no dynamic device support.
11131 This is an error since --with-dbus was requested." "$LINENO" 5 ;;
11135 if test "x$with_hal" != "xno" -a "x$ac_cv_lib_soname_dbus_1" != x
11137 if ${HAL_CFLAGS:+false} :; then :
11138 if ${PKG_CONFIG+:} false
; then :
11139 HAL_CFLAGS
=`$PKG_CONFIG --cflags hal 2>/dev/null`
11143 if ${HAL_LIBS:+false} :; then :
11144 if ${PKG_CONFIG+:} false
; then :
11145 HAL_LIBS
=`$PKG_CONFIG --libs hal 2>/dev/null`
11149 HAL_LIBS
=${HAL_LIBS:-"-ldbus-1"}
11150 $as_echo "$as_me:${as_lineno-$LINENO}: hal cflags: $HAL_CFLAGS" >&5
11151 $as_echo "$as_me:${as_lineno-$LINENO}: hal libs: $HAL_LIBS" >&5
11152 ac_save_CPPFLAGS
=$CPPFLAGS
11153 CPPFLAGS
="$CPPFLAGS $HAL_CFLAGS"
11154 ac_fn_c_check_header_mongrel
"$LINENO" "hal/libhal.h" "ac_cv_header_hal_libhal_h" "$ac_includes_default"
11155 if test "x$ac_cv_header_hal_libhal_h" = xyes
; then :
11156 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lhal" >&5
11157 $as_echo_n "checking for -lhal... " >&6; }
11158 if ${ac_cv_lib_soname_hal+:} false
; then :
11159 $as_echo_n "(cached) " >&6
11161 ac_check_soname_save_LIBS
=$LIBS
11162 LIBS
="-lhal $HAL_LIBS $LIBS"
11163 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11164 /* end confdefs.h. */
11166 /* Override any GCC internal prototype to avoid an error.
11167 Use char because int might match the return type of a GCC
11168 builtin and then its argument prototype would still apply. */
11172 char libhal_ctx_new ();
11176 return libhal_ctx_new ();
11181 if ac_fn_c_try_link
"$LINENO"; then :
11183 dll
) ac_cv_lib_soname_hal
=`$ac_cv_path_LDD conftest.exe | grep "hal" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11184 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'` ;;
11185 *) ac_cv_lib_soname_hal
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libhal\\.$LIBEXT" | sed -e "s/^.*\\[\\(libhal\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
11186 if ${ac_cv_lib_soname_hal:+false} :; then :
11187 ac_cv_lib_soname_hal
=`$LDD conftest$ac_exeext | grep "libhal\\.$LIBEXT" | sed -e "s/^.*\(libhal\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11191 rm -f core conftest.err conftest.
$ac_objext \
11192 conftest
$ac_exeext conftest.
$ac_ext
11193 LIBS
=$ac_check_soname_save_LIBS
11195 if ${ac_cv_lib_soname_hal:+false} :; then :
11196 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11197 $as_echo "not found" >&6; }
11200 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_hal" >&5
11201 $as_echo "$ac_cv_lib_soname_hal" >&6; }
11203 cat >>confdefs.h
<<_ACEOF
11204 #define SONAME_LIBHAL "$ac_cv_lib_soname_hal"
11214 CPPFLAGS
=$ac_save_CPPFLAGS
11215 test -z "$HAL_CFLAGS" || HAL_CFLAGS
=`echo " $HAL_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
11216 test -z "$HAL_LIBS" || HAL_LIBS
=`echo " $HAL_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
11218 if test "x$ac_cv_lib_soname_hal" = "x" -a \
11219 "x$ac_cv_header_DiskArbitration_DiskArbitration_h" != "xyes"; then :
11220 case "x$with_hal" in
11221 x
) as_fn_append wine_notices
"|libhal ${notice_platform}development files not found, no legacy dynamic device support." ;;
11223 *) as_fn_error $?
"libhal ${notice_platform}development files not found, no legacy dynamic device support.
11224 This is an error since --with-hal was requested." "$LINENO" 5 ;;
11229 if test "x$with_gnutls" != "xno"
11231 if ${GNUTLS_CFLAGS:+false} :; then :
11232 if ${PKG_CONFIG+:} false
; then :
11233 GNUTLS_CFLAGS
=`$PKG_CONFIG --cflags gnutls 2>/dev/null`
11237 if ${GNUTLS_LIBS:+false} :; then :
11238 if ${PKG_CONFIG+:} false
; then :
11239 GNUTLS_LIBS
=`$PKG_CONFIG --libs gnutls 2>/dev/null`
11244 $as_echo "$as_me:${as_lineno-$LINENO}: gnutls cflags: $GNUTLS_CFLAGS" >&5
11245 $as_echo "$as_me:${as_lineno-$LINENO}: gnutls libs: $GNUTLS_LIBS" >&5
11246 ac_save_CPPFLAGS
=$CPPFLAGS
11247 CPPFLAGS
="$CPPFLAGS $GNUTLS_CFLAGS"
11248 ac_fn_c_check_header_mongrel
"$LINENO" "gnutls/gnutls.h" "ac_cv_header_gnutls_gnutls_h" "$ac_includes_default"
11249 if test "x$ac_cv_header_gnutls_gnutls_h" = xyes
; then :
11250 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11251 /* end confdefs.h. */
11252 #include <gnutls/gnutls.h>
11253 #include <gnutls/crypto.h>
11257 static typeof(gnutls_mac_get_key_size) *func; if (func) return 0;
11262 if ac_fn_c_try_compile
"$LINENO"; then :
11263 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lgnutls" >&5
11264 $as_echo_n "checking for -lgnutls... " >&6; }
11265 if ${ac_cv_lib_soname_gnutls+:} false
; then :
11266 $as_echo_n "(cached) " >&6
11268 ac_check_soname_save_LIBS
=$LIBS
11269 LIBS
="-lgnutls $GNUTLS_LIBS $LIBS"
11270 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11271 /* end confdefs.h. */
11273 /* Override any GCC internal prototype to avoid an error.
11274 Use char because int might match the return type of a GCC
11275 builtin and then its argument prototype would still apply. */
11279 char gnutls_global_init ();
11283 return gnutls_global_init ();
11288 if ac_fn_c_try_link
"$LINENO"; then :
11290 dll
) ac_cv_lib_soname_gnutls
=`$ac_cv_path_LDD conftest.exe | grep "gnutls" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11291 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'` ;;
11292 *) 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'`
11293 if ${ac_cv_lib_soname_gnutls:+false} :; then :
11294 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'`
11298 rm -f core conftest.err conftest.
$ac_objext \
11299 conftest
$ac_exeext conftest.
$ac_ext
11300 LIBS
=$ac_check_soname_save_LIBS
11302 if ${ac_cv_lib_soname_gnutls:+false} :; then :
11303 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11304 $as_echo "not found" >&6; }
11307 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_gnutls" >&5
11308 $as_echo "$ac_cv_lib_soname_gnutls" >&6; }
11310 cat >>confdefs.h
<<_ACEOF
11311 #define SONAME_LIBGNUTLS "$ac_cv_lib_soname_gnutls"
11317 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
11323 CPPFLAGS
=$ac_save_CPPFLAGS
11324 test -z "$GNUTLS_CFLAGS" || GNUTLS_CFLAGS
=`echo " $GNUTLS_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
11325 test -z "$GNUTLS_LIBS" || GNUTLS_LIBS
=`echo " $GNUTLS_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
11328 if test "x$ac_cv_lib_soname_gnutls" = "x"; then :
11329 case "x$with_gnutls" in
11330 x
) as_fn_append wine_warnings
"|libgnutls ${notice_platform}development files not found, no schannel support." ;;
11332 *) as_fn_error $?
"libgnutls ${notice_platform}development files not found, no schannel support.
11333 This is an error since --with-gnutls was requested." "$LINENO" 5 ;;
11338 if test "$ac_cv_header_ncurses_h" = "yes"
11340 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lncurses" >&5
11341 $as_echo_n "checking for -lncurses... " >&6; }
11342 if ${ac_cv_lib_soname_ncurses+:} false
; then :
11343 $as_echo_n "(cached) " >&6
11345 ac_check_soname_save_LIBS
=$LIBS
11346 LIBS
="-lncurses $LIBS"
11347 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11348 /* end confdefs.h. */
11350 /* Override any GCC internal prototype to avoid an error.
11351 Use char because int might match the return type of a GCC
11352 builtin and then its argument prototype would still apply. */
11365 if ac_fn_c_try_link
"$LINENO"; then :
11367 dll
) ac_cv_lib_soname_ncurses
=`$ac_cv_path_LDD conftest.exe | grep "ncurses" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11368 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'` ;;
11369 *) 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'`
11370 if ${ac_cv_lib_soname_ncurses:+false} :; then :
11371 ac_cv_lib_soname_ncurses
=`$LDD conftest$ac_exeext | grep "libncursesw\\{0,1\\}\\.$LIBEXT" | sed -e "s/^.*\(libncursesw\\{0,1\\}\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11375 rm -f core conftest.err conftest.
$ac_objext \
11376 conftest
$ac_exeext conftest.
$ac_ext
11377 LIBS
=$ac_check_soname_save_LIBS
11379 if ${ac_cv_lib_soname_ncurses:+false} :; then :
11380 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11381 $as_echo "not found" >&6; }
11384 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_ncurses" >&5
11385 $as_echo "$ac_cv_lib_soname_ncurses" >&6; }
11387 cat >>confdefs.h
<<_ACEOF
11388 #define SONAME_LIBNCURSES "$ac_cv_lib_soname_ncurses"
11391 CURSES_LIBS
="-lncurses"
11393 elif test "$ac_cv_header_curses_h" = "yes"
11395 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lcurses" >&5
11396 $as_echo_n "checking for -lcurses... " >&6; }
11397 if ${ac_cv_lib_soname_curses+:} false
; then :
11398 $as_echo_n "(cached) " >&6
11400 ac_check_soname_save_LIBS
=$LIBS
11401 LIBS
="-lcurses $LIBS"
11402 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11403 /* end confdefs.h. */
11405 /* Override any GCC internal prototype to avoid an error.
11406 Use char because int might match the return type of a GCC
11407 builtin and then its argument prototype would still apply. */
11420 if ac_fn_c_try_link
"$LINENO"; then :
11422 dll
) ac_cv_lib_soname_curses
=`$ac_cv_path_LDD conftest.exe | grep "curses" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11423 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'` ;;
11424 *) ac_cv_lib_soname_curses
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libcurses\\.$LIBEXT" | sed -e "s/^.*\\[\\(libcurses\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
11425 if ${ac_cv_lib_soname_curses:+false} :; then :
11426 ac_cv_lib_soname_curses
=`$LDD conftest$ac_exeext | grep "libcurses\\.$LIBEXT" | sed -e "s/^.*\(libcurses\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11430 rm -f core conftest.err conftest.
$ac_objext \
11431 conftest
$ac_exeext conftest.
$ac_ext
11432 LIBS
=$ac_check_soname_save_LIBS
11434 if ${ac_cv_lib_soname_curses:+false} :; then :
11435 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11436 $as_echo "not found" >&6; }
11439 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_curses" >&5
11440 $as_echo "$ac_cv_lib_soname_curses" >&6; }
11442 cat >>confdefs.h
<<_ACEOF
11443 #define SONAME_LIBCURSES "$ac_cv_lib_soname_curses"
11446 CURSES_LIBS
="-lcurses"
11449 ac_save_LIBS
="$LIBS"
11450 LIBS
="$LIBS $CURSES_LIBS"
11451 for ac_func
in mousemask
11453 ac_fn_c_check_func
"$LINENO" "mousemask" "ac_cv_func_mousemask"
11454 if test "x$ac_cv_func_mousemask" = xyes
; then :
11455 cat >>confdefs.h
<<_ACEOF
11456 #define HAVE_MOUSEMASK 1
11462 LIBS
="$ac_save_LIBS"
11463 if test "x$ac_cv_lib_soname_curses$ac_cv_lib_soname_ncurses" = "x"; then :
11464 case "x$with_curses" in
11465 x
) as_fn_append wine_notices
"|lib(n)curses ${notice_platform}development files not found, curses won't be supported." ;;
11467 *) as_fn_error $?
"lib(n)curses ${notice_platform}development files not found, curses won't be supported.
11468 This is an error since --with-curses was requested." "$LINENO" 5 ;;
11472 if test "x$with_sane" != "xno"
11474 if ${SANE_CFLAGS:+false} :; then :
11475 if ${PKG_CONFIG+:} false
; then :
11476 SANE_CFLAGS
=`$PKG_CONFIG --cflags libsane 2>/dev/null`
11479 test "$cross_compiling" = yes || SANE_CFLAGS
=${SANE_CFLAGS:-`sane-config --cflags 2>/dev/null`}
11480 if ${SANE_LIBS:+false} :; then :
11481 if ${PKG_CONFIG+:} false
; then :
11482 SANE_LIBS
=`$PKG_CONFIG --libs libsane 2>/dev/null`
11485 test "$cross_compiling" = yes || SANE_LIBS
=${SANE_LIBS:-`sane-config --ldflags 2>/dev/null`}
11487 $as_echo "$as_me:${as_lineno-$LINENO}: libsane cflags: $SANE_CFLAGS" >&5
11488 $as_echo "$as_me:${as_lineno-$LINENO}: libsane libs: $SANE_LIBS" >&5
11489 ac_save_CPPFLAGS
=$CPPFLAGS
11490 CPPFLAGS
="$CPPFLAGS $SANE_CFLAGS"
11491 ac_fn_c_check_header_mongrel
"$LINENO" "sane/sane.h" "ac_cv_header_sane_sane_h" "$ac_includes_default"
11492 if test "x$ac_cv_header_sane_sane_h" = xyes
; then :
11493 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lsane" >&5
11494 $as_echo_n "checking for -lsane... " >&6; }
11495 if ${ac_cv_lib_soname_sane+:} false
; then :
11496 $as_echo_n "(cached) " >&6
11498 ac_check_soname_save_LIBS
=$LIBS
11499 LIBS
="-lsane $SANE_LIBS $LIBS"
11500 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11501 /* end confdefs.h. */
11503 /* Override any GCC internal prototype to avoid an error.
11504 Use char because int might match the return type of a GCC
11505 builtin and then its argument prototype would still apply. */
11513 return sane_init ();
11518 if ac_fn_c_try_link
"$LINENO"; then :
11520 dll
) ac_cv_lib_soname_sane
=`$ac_cv_path_LDD conftest.exe | grep "sane" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11521 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'` ;;
11522 *) ac_cv_lib_soname_sane
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libsane\\.$LIBEXT" | sed -e "s/^.*\\[\\(libsane\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
11523 if ${ac_cv_lib_soname_sane:+false} :; then :
11524 ac_cv_lib_soname_sane
=`$LDD conftest$ac_exeext | grep "libsane\\.$LIBEXT" | sed -e "s/^.*\(libsane\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11528 rm -f core conftest.err conftest.
$ac_objext \
11529 conftest
$ac_exeext conftest.
$ac_ext
11530 LIBS
=$ac_check_soname_save_LIBS
11532 if ${ac_cv_lib_soname_sane:+false} :; then :
11533 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11534 $as_echo "not found" >&6; }
11537 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_sane" >&5
11538 $as_echo "$ac_cv_lib_soname_sane" >&6; }
11540 cat >>confdefs.h
<<_ACEOF
11541 #define SONAME_LIBSANE "$ac_cv_lib_soname_sane"
11551 CPPFLAGS
=$ac_save_CPPFLAGS
11552 test -z "$SANE_CFLAGS" || SANE_CFLAGS
=`echo " $SANE_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
11553 test -z "$SANE_LIBS" || SANE_LIBS
=`echo " $SANE_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
11556 if test "x$ac_cv_lib_soname_sane" = "x"; then :
11557 case "x$with_sane" in
11558 x
) as_fn_append wine_notices
"|libsane ${notice_platform}development files not found, scanners won't be supported." ;;
11560 *) as_fn_error $?
"libsane ${notice_platform}development files not found, scanners won't be supported.
11561 This is an error since --with-sane was requested." "$LINENO" 5 ;;
11565 if test "x$with_v4l" != "xno"
11567 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lv4l1" >&5
11568 $as_echo_n "checking for -lv4l1... " >&6; }
11569 if ${ac_cv_lib_soname_v4l1+:} false
; then :
11570 $as_echo_n "(cached) " >&6
11572 ac_check_soname_save_LIBS
=$LIBS
11573 LIBS
="-lv4l1 $LIBS"
11574 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11575 /* end confdefs.h. */
11577 /* Override any GCC internal prototype to avoid an error.
11578 Use char because int might match the return type of a GCC
11579 builtin and then its argument prototype would still apply. */
11587 return v4l1_open ();
11592 if ac_fn_c_try_link
"$LINENO"; then :
11594 dll
) ac_cv_lib_soname_v4l1
=`$ac_cv_path_LDD conftest.exe | grep "v4l1" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11595 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'` ;;
11596 *) ac_cv_lib_soname_v4l1
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libv4l1\\.$LIBEXT" | sed -e "s/^.*\\[\\(libv4l1\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
11597 if ${ac_cv_lib_soname_v4l1:+false} :; then :
11598 ac_cv_lib_soname_v4l1
=`$LDD conftest$ac_exeext | grep "libv4l1\\.$LIBEXT" | sed -e "s/^.*\(libv4l1\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11602 rm -f core conftest.err conftest.
$ac_objext \
11603 conftest
$ac_exeext conftest.
$ac_ext
11604 LIBS
=$ac_check_soname_save_LIBS
11606 if ${ac_cv_lib_soname_v4l1:+false} :; then :
11607 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11608 $as_echo "not found" >&6; }
11611 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_v4l1" >&5
11612 $as_echo "$ac_cv_lib_soname_v4l1" >&6; }
11614 cat >>confdefs.h
<<_ACEOF
11615 #define SONAME_LIBV4L1 "$ac_cv_lib_soname_v4l1"
11621 if test "x$ac_cv_lib_soname_v4l1" = "x"; then :
11622 case "x$with_v4l" in
11623 x
) as_fn_append wine_notices
"|libv4l ${notice_platform}development files not found." ;;
11625 *) as_fn_error $?
"libv4l ${notice_platform}development files not found.
11626 This is an error since --with-v4l was requested." "$LINENO" 5 ;;
11630 if test "x$with_gphoto" != "xno"
11632 if ${GPHOTO2_CFLAGS:+false} :; then :
11633 if ${PKG_CONFIG+:} false
; then :
11634 GPHOTO2_CFLAGS
=`$PKG_CONFIG --cflags libgphoto2 2>/dev/null`
11637 test "$cross_compiling" = yes || GPHOTO2_CFLAGS
=${GPHOTO2_CFLAGS:-`gphoto2-config --cflags 2>/dev/null`}
11638 if ${GPHOTO2_LIBS:+false} :; then :
11639 if ${PKG_CONFIG+:} false
; then :
11640 GPHOTO2_LIBS
=`$PKG_CONFIG --libs libgphoto2 2>/dev/null`
11643 test "$cross_compiling" = yes || GPHOTO2_LIBS
=${GPHOTO2_LIBS:-`gphoto2-config --libs 2>/dev/null`}
11644 GPHOTO2_LIBS
=${GPHOTO2_LIBS:-"-lgphoto2"}
11645 $as_echo "$as_me:${as_lineno-$LINENO}: libgphoto2 cflags: $GPHOTO2_CFLAGS" >&5
11646 $as_echo "$as_me:${as_lineno-$LINENO}: libgphoto2 libs: $GPHOTO2_LIBS" >&5
11647 ac_save_CPPFLAGS
=$CPPFLAGS
11648 CPPFLAGS
="$CPPFLAGS $GPHOTO2_CFLAGS"
11649 ac_fn_c_check_header_mongrel
"$LINENO" "gphoto2-camera.h" "ac_cv_header_gphoto2_camera_h" "$ac_includes_default"
11650 if test "x$ac_cv_header_gphoto2_camera_h" = xyes
; then :
11651 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gp_camera_new in -lgphoto2" >&5
11652 $as_echo_n "checking for gp_camera_new in -lgphoto2... " >&6; }
11653 if ${ac_cv_lib_gphoto2_gp_camera_new+:} false
; then :
11654 $as_echo_n "(cached) " >&6
11656 ac_check_lib_save_LIBS
=$LIBS
11657 LIBS
="-lgphoto2 $GPHOTO2_LIBS $LIBS"
11658 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11659 /* end confdefs.h. */
11661 /* Override any GCC internal prototype to avoid an error.
11662 Use char because int might match the return type of a GCC
11663 builtin and then its argument prototype would still apply. */
11667 char gp_camera_new ();
11671 return gp_camera_new ();
11676 if ac_fn_c_try_link
"$LINENO"; then :
11677 ac_cv_lib_gphoto2_gp_camera_new
=yes
11679 ac_cv_lib_gphoto2_gp_camera_new
=no
11681 rm -f core conftest.err conftest.
$ac_objext \
11682 conftest
$ac_exeext conftest.
$ac_ext
11683 LIBS
=$ac_check_lib_save_LIBS
11685 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gphoto2_gp_camera_new" >&5
11686 $as_echo "$ac_cv_lib_gphoto2_gp_camera_new" >&6; }
11687 if test "x$ac_cv_lib_gphoto2_gp_camera_new" = xyes
; then :
11689 $as_echo "#define HAVE_GPHOTO2 1" >>confdefs.h
11692 GPHOTO2_LIBS
=""; GPHOTO2_CFLAGS
=""
11696 GPHOTO2_LIBS
=""; GPHOTO2_CFLAGS
=""
11700 CPPFLAGS
=$ac_save_CPPFLAGS
11701 test -z "$GPHOTO2_CFLAGS" || GPHOTO2_CFLAGS
=`echo " $GPHOTO2_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
11702 test -z "$GPHOTO2_LIBS" || GPHOTO2_LIBS
=`echo " $GPHOTO2_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
11704 if ${GPHOTO2_PORT_CFLAGS:+false} :; then :
11705 if ${PKG_CONFIG+:} false
; then :
11706 GPHOTO2_PORT_CFLAGS
=`$PKG_CONFIG --cflags libgphoto2_port 2>/dev/null`
11709 test "$cross_compiling" = yes || GPHOTO2_PORT_CFLAGS
=${GPHOTO2_PORT_CFLAGS:-`gphoto2-port-config --cflags 2>/dev/null`}
11710 if ${GPHOTO2_PORT_LIBS:+false} :; then :
11711 if ${PKG_CONFIG+:} false
; then :
11712 GPHOTO2_PORT_LIBS
=`$PKG_CONFIG --libs libgphoto2_port 2>/dev/null`
11715 test "$cross_compiling" = yes || GPHOTO2_PORT_LIBS
=${GPHOTO2_PORT_LIBS:-`gphoto2-port-config --libs 2>/dev/null`}
11716 GPHOTO2_PORT_LIBS
=${GPHOTO2_PORT_LIBS:-"-lgphoto2_port"}
11717 $as_echo "$as_me:${as_lineno-$LINENO}: libgphoto2_port cflags: $GPHOTO2_PORT_CFLAGS" >&5
11718 $as_echo "$as_me:${as_lineno-$LINENO}: libgphoto2_port libs: $GPHOTO2_PORT_LIBS" >&5
11719 ac_save_CPPFLAGS
=$CPPFLAGS
11720 CPPFLAGS
="$CPPFLAGS $GPHOTO2_PORT_CFLAGS"
11721 ac_fn_c_check_header_mongrel
"$LINENO" "gphoto2-port.h" "ac_cv_header_gphoto2_port_h" "$ac_includes_default"
11722 if test "x$ac_cv_header_gphoto2_port_h" = xyes
; then :
11723 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gp_port_info_list_new in -lgphoto2_port" >&5
11724 $as_echo_n "checking for gp_port_info_list_new in -lgphoto2_port... " >&6; }
11725 if ${ac_cv_lib_gphoto2_port_gp_port_info_list_new+:} false
; then :
11726 $as_echo_n "(cached) " >&6
11728 ac_check_lib_save_LIBS
=$LIBS
11729 LIBS
="-lgphoto2_port $GPHOTO2_PORT_LIBS $LIBS"
11730 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11731 /* end confdefs.h. */
11733 /* Override any GCC internal prototype to avoid an error.
11734 Use char because int might match the return type of a GCC
11735 builtin and then its argument prototype would still apply. */
11739 char gp_port_info_list_new ();
11743 return gp_port_info_list_new ();
11748 if ac_fn_c_try_link
"$LINENO"; then :
11749 ac_cv_lib_gphoto2_port_gp_port_info_list_new
=yes
11751 ac_cv_lib_gphoto2_port_gp_port_info_list_new
=no
11753 rm -f core conftest.err conftest.
$ac_objext \
11754 conftest
$ac_exeext conftest.
$ac_ext
11755 LIBS
=$ac_check_lib_save_LIBS
11757 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gphoto2_port_gp_port_info_list_new" >&5
11758 $as_echo "$ac_cv_lib_gphoto2_port_gp_port_info_list_new" >&6; }
11759 if test "x$ac_cv_lib_gphoto2_port_gp_port_info_list_new" = xyes
; then :
11761 $as_echo "#define HAVE_GPHOTO2_PORT 1" >>confdefs.h
11764 GPHOTO2_PORT_LIBS
=""; GPHOTO2_PORT_CFLAGS
=""
11768 GPHOTO2_PORT_LIBS
=""; GPHOTO2_PORT_CFLAGS
=""
11772 CPPFLAGS
=$ac_save_CPPFLAGS
11773 test -z "$GPHOTO2_PORT_CFLAGS" || GPHOTO2_PORT_CFLAGS
=`echo " $GPHOTO2_PORT_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
11774 test -z "$GPHOTO2_PORT_LIBS" || GPHOTO2_PORT_LIBS
=`echo " $GPHOTO2_PORT_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
11777 if test "$ac_cv_lib_gphoto2_gp_camera_new" != "yes"; then :
11778 case "x$with_gphoto" in
11779 x
) as_fn_append wine_notices
"|libgphoto2 ${notice_platform}development files not found, digital cameras won't be supported." ;;
11781 *) as_fn_error $?
"libgphoto2 ${notice_platform}development files not found, digital cameras won't be supported.
11782 This is an error since --with-gphoto was requested." "$LINENO" 5 ;;
11785 if test "$ac_cv_lib_gphoto2_port_gp_port_info_list_new" != "yes"; then :
11786 case "x$with_gphoto" in
11787 x
) as_fn_append wine_notices
"|libgphoto2_port ${notice_platform}development files not found, digital cameras won't be auto-detected." ;;
11789 *) as_fn_error $?
"libgphoto2_port ${notice_platform}development files not found, digital cameras won't be auto-detected.
11790 This is an error since --with-gphoto was requested." "$LINENO" 5 ;;
11795 if test "$ac_cv_header_resolv_h" = "yes"
11797 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for resolver library" >&5
11798 $as_echo_n "checking for resolver library... " >&6; }
11799 if ${ac_cv_have_resolv+:} false
; then :
11800 $as_echo_n "(cached) " >&6
11802 ac_save_LIBS
="$LIBS"
11803 for lib
in '' -lresolv
11805 LIBS
="$lib $ac_save_LIBS"
11806 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11807 /* end confdefs.h. */
11808 #ifdef HAVE_NETINET_IN_H
11809 #include <netinet/in.h>
11811 #include <resolv.h>
11815 if (!(_res.options & RES_INIT)) res_init(); res_query("foo",ns_c_in,0,0,0)
11820 if ac_fn_c_try_link
"$LINENO"; then :
11821 ac_cv_have_resolv
=${lib:-"none required"}
11823 ac_cv_have_resolv
="not found"
11825 rm -f core conftest.err conftest.
$ac_objext \
11826 conftest
$ac_exeext conftest.
$ac_ext
11827 test "x$ac_cv_have_resolv" = "xnot found" ||
break
11829 LIBS
="$ac_save_LIBS"
11831 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_resolv" >&5
11832 $as_echo "$ac_cv_have_resolv" >&6; }
11834 case "$ac_cv_have_resolv" in
11838 $as_echo "#define HAVE_RESOLV 1" >>confdefs.h
11841 $as_echo "#define HAVE_RESOLV 1" >>confdefs.h
11843 RESOLV_LIBS
=$ac_cv_have_resolv
11848 if test "x$with_lcms2" != "xno"
11850 if ${LCMS2_CFLAGS:+false} :; then :
11851 if ${PKG_CONFIG+:} false
; then :
11852 LCMS2_CFLAGS
=`$PKG_CONFIG --cflags lcms2 2>/dev/null`
11856 if ${LCMS2_LIBS:+false} :; then :
11857 if ${PKG_CONFIG+:} false
; then :
11858 LCMS2_LIBS
=`$PKG_CONFIG --libs lcms2 2>/dev/null`
11862 LCMS2_LIBS
=${LCMS2_LIBS:-"-llcms2"}
11863 $as_echo "$as_me:${as_lineno-$LINENO}: lcms2 cflags: $LCMS2_CFLAGS" >&5
11864 $as_echo "$as_me:${as_lineno-$LINENO}: lcms2 libs: $LCMS2_LIBS" >&5
11865 ac_save_CPPFLAGS
=$CPPFLAGS
11866 CPPFLAGS
="$CPPFLAGS $LCMS2_CFLAGS"
11867 for ac_header
in lcms2.h
11869 ac_fn_c_check_header_mongrel
"$LINENO" "lcms2.h" "ac_cv_header_lcms2_h" "$ac_includes_default"
11870 if test "x$ac_cv_header_lcms2_h" = xyes
; then :
11871 cat >>confdefs.h
<<_ACEOF
11872 #define HAVE_LCMS2_H 1
11879 if test "$ac_cv_header_lcms2_h" = "yes"
11881 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cmsOpenProfileFromFile in -llcms2" >&5
11882 $as_echo_n "checking for cmsOpenProfileFromFile in -llcms2... " >&6; }
11883 if ${ac_cv_lib_lcms2_cmsOpenProfileFromFile+:} false
; then :
11884 $as_echo_n "(cached) " >&6
11886 ac_check_lib_save_LIBS
=$LIBS
11887 LIBS
="-llcms2 $LCMS2_LIBS $LIBS"
11888 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11889 /* end confdefs.h. */
11891 /* Override any GCC internal prototype to avoid an error.
11892 Use char because int might match the return type of a GCC
11893 builtin and then its argument prototype would still apply. */
11897 char cmsOpenProfileFromFile ();
11901 return cmsOpenProfileFromFile ();
11906 if ac_fn_c_try_link
"$LINENO"; then :
11907 ac_cv_lib_lcms2_cmsOpenProfileFromFile
=yes
11909 ac_cv_lib_lcms2_cmsOpenProfileFromFile
=no
11911 rm -f core conftest.err conftest.
$ac_objext \
11912 conftest
$ac_exeext conftest.
$ac_ext
11913 LIBS
=$ac_check_lib_save_LIBS
11915 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_lcms2_cmsOpenProfileFromFile" >&5
11916 $as_echo "$ac_cv_lib_lcms2_cmsOpenProfileFromFile" >&6; }
11917 if test "x$ac_cv_lib_lcms2_cmsOpenProfileFromFile" = xyes
; then :
11919 $as_echo "#define HAVE_LCMS2 1" >>confdefs.h
11929 CPPFLAGS
=$ac_save_CPPFLAGS
11930 test -z "$LCMS2_CFLAGS" || LCMS2_CFLAGS
=`echo " $LCMS2_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
11931 test -z "$LCMS2_LIBS" || LCMS2_LIBS
=`echo " $LCMS2_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
11934 if test "$ac_cv_lib_lcms2_cmsOpenProfileFromFile" != "yes"; then :
11935 case "x$with_cms" in
11936 x
) as_fn_append wine_notices
"|liblcms2 ${notice_platform}development files not found, Color Management won't be supported." ;;
11938 *) as_fn_error $?
"liblcms2 ${notice_platform}development files not found, Color Management won't be supported.
11939 This is an error since --with-cms was requested." "$LINENO" 5 ;;
11943 if test "x$with_freetype" != "xno"
11945 if ${FREETYPE_CFLAGS:+false} :; then :
11946 if ${PKG_CONFIG+:} false
; then :
11947 FREETYPE_CFLAGS
=`$PKG_CONFIG --cflags freetype2 2>/dev/null`
11950 test "$cross_compiling" = yes || FREETYPE_CFLAGS
=${FREETYPE_CFLAGS:-`(freetype-config --cflags || freetype2-config --cflags) 2>/dev/null`}
11951 if ${FREETYPE_LIBS:+false} :; then :
11952 if ${PKG_CONFIG+:} false
; then :
11953 FREETYPE_LIBS
=`$PKG_CONFIG --libs freetype2 2>/dev/null`
11956 test "$cross_compiling" = yes || FREETYPE_LIBS
=${FREETYPE_LIBS:-`(freetype-config --libs || freetype2-config --libs) 2>/dev/null`}
11957 FREETYPE_LIBS
=${FREETYPE_LIBS:-"-lfreetype"}
11958 $as_echo "$as_me:${as_lineno-$LINENO}: freetype2 cflags: $FREETYPE_CFLAGS" >&5
11959 $as_echo "$as_me:${as_lineno-$LINENO}: freetype2 libs: $FREETYPE_LIBS" >&5
11960 ac_save_CPPFLAGS
=$CPPFLAGS
11961 CPPFLAGS
="$CPPFLAGS $FREETYPE_CFLAGS"
11962 for ac_header
in ft2build.h
11964 ac_fn_c_check_header_mongrel
"$LINENO" "ft2build.h" "ac_cv_header_ft2build_h" "$ac_includes_default"
11965 if test "x$ac_cv_header_ft2build_h" = xyes
; then :
11966 cat >>confdefs.h
<<_ACEOF
11967 #define HAVE_FT2BUILD_H 1
11974 if test "$ac_cv_header_ft2build_h" = "yes"
11976 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lfreetype" >&5
11977 $as_echo_n "checking for -lfreetype... " >&6; }
11978 if ${ac_cv_lib_soname_freetype+:} false
; then :
11979 $as_echo_n "(cached) " >&6
11981 ac_check_soname_save_LIBS
=$LIBS
11982 LIBS
="-lfreetype $FREETYPE_LIBS $LIBS"
11983 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11984 /* end confdefs.h. */
11986 /* Override any GCC internal prototype to avoid an error.
11987 Use char because int might match the return type of a GCC
11988 builtin and then its argument prototype would still apply. */
11992 char FT_Init_FreeType ();
11996 return FT_Init_FreeType ();
12001 if ac_fn_c_try_link
"$LINENO"; then :
12003 dll
) ac_cv_lib_soname_freetype
=`$ac_cv_path_LDD conftest.exe | grep "freetype" | sed -e "s/dll.*/dll/"';2,$d'` ;;
12004 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'` ;;
12005 *) ac_cv_lib_soname_freetype
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libfreetype\\.$LIBEXT" | sed -e "s/^.*\\[\\(libfreetype\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
12006 if ${ac_cv_lib_soname_freetype:+false} :; then :
12007 ac_cv_lib_soname_freetype
=`$LDD conftest$ac_exeext | grep "libfreetype\\.$LIBEXT" | sed -e "s/^.*\(libfreetype\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
12011 rm -f core conftest.err conftest.
$ac_objext \
12012 conftest
$ac_exeext conftest.
$ac_ext
12013 LIBS
=$ac_check_soname_save_LIBS
12015 if ${ac_cv_lib_soname_freetype:+false} :; then :
12016 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
12017 $as_echo "not found" >&6; }
12020 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_freetype" >&5
12021 $as_echo "$ac_cv_lib_soname_freetype" >&6; }
12023 cat >>confdefs.h
<<_ACEOF
12024 #define SONAME_LIBFREETYPE "$ac_cv_lib_soname_freetype"
12028 $as_echo "#define HAVE_FREETYPE 1" >>confdefs.h
12030 ac_fn_c_check_type
"$LINENO" "FT_TrueTypeEngineType" "ac_cv_type_FT_TrueTypeEngineType" "#include <ft2build.h>
12031 #include FT_MODULE_H
12033 if test "x$ac_cv_type_FT_TrueTypeEngineType" = xyes
; then :
12035 cat >>confdefs.h
<<_ACEOF
12036 #define HAVE_FT_TRUETYPEENGINETYPE 1
12047 CPPFLAGS
=$ac_save_CPPFLAGS
12048 test -z "$FREETYPE_CFLAGS" || FREETYPE_CFLAGS
=`echo " $FREETYPE_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
12049 test -z "$FREETYPE_LIBS" || FREETYPE_LIBS
=`echo " $FREETYPE_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
12052 if test "x$ac_cv_lib_soname_freetype" = x
; then :
12053 case "x$with_freetype" in
12055 *) as_fn_error $?
"FreeType ${notice_platform}development files not found. Fonts will not be built.
12056 Use the --without-freetype option if you really want this." "$LINENO" 5 ;;
12059 test "x$ac_cv_lib_soname_freetype" = x
&& enable_fonts
=${enable_fonts:-no}
12061 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for parport header/ppdev.h" >&5
12062 $as_echo_n "checking for parport header/ppdev.h... " >&6; }
12063 if ${ac_cv_c_ppdev+:} false
; then :
12064 $as_echo_n "(cached) " >&6
12066 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12067 /* end confdefs.h. */
12068 #ifdef HAVE_SYS_IOCTL_H
12069 # include <sys/ioctl.h>
12071 #include <linux/ppdev.h>
12075 ioctl (1,PPCLAIM,0)
12080 if ac_fn_c_try_compile
"$LINENO"; then :
12081 ac_cv_c_ppdev
="yes"
12085 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
12087 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_ppdev" >&5
12088 $as_echo "$ac_cv_c_ppdev" >&6; }
12089 if test "$ac_cv_c_ppdev" = "yes"
12092 $as_echo "#define HAVE_PPDEV 1" >>confdefs.h
12096 ac_wine_check_funcs_save_LIBS
="$LIBS"
12097 LIBS
="$LIBS $PTHREAD_LIBS"
12099 pthread_attr_get_np \
12100 pthread_getattr_np \
12101 pthread_getthreadid_np \
12102 pthread_get_stackaddr_np \
12103 pthread_get_stacksize_np
12105 as_ac_var
=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
12106 ac_fn_c_check_func
"$LINENO" "$ac_func" "$as_ac_var"
12107 if eval test \"x\$
"$as_ac_var"\" = x
"yes"; then :
12108 cat >>confdefs.h
<<_ACEOF
12109 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
12115 LIBS
="$ac_wine_check_funcs_save_LIBS"
12117 if test "$ac_cv_header_zlib_h" = "yes"
12119 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for inflate in -lz" >&5
12120 $as_echo_n "checking for inflate in -lz... " >&6; }
12121 if ${ac_cv_lib_z_inflate+:} false
; then :
12122 $as_echo_n "(cached) " >&6
12124 ac_check_lib_save_LIBS
=$LIBS
12126 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12127 /* end confdefs.h. */
12129 /* Override any GCC internal prototype to avoid an error.
12130 Use char because int might match the return type of a GCC
12131 builtin and then its argument prototype would still apply. */
12144 if ac_fn_c_try_link
"$LINENO"; then :
12145 ac_cv_lib_z_inflate
=yes
12147 ac_cv_lib_z_inflate
=no
12149 rm -f core conftest.err conftest.
$ac_objext \
12150 conftest
$ac_exeext conftest.
$ac_ext
12151 LIBS
=$ac_check_lib_save_LIBS
12153 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_z_inflate" >&5
12154 $as_echo "$ac_cv_lib_z_inflate" >&6; }
12155 if test "x$ac_cv_lib_z_inflate" = xyes
; then :
12157 $as_echo "#define HAVE_ZLIB 1" >>confdefs.h
12164 if test "x$Z_LIBS" = "x"; then :
12165 case "x$with_zlib" in
12166 x
) as_fn_append wine_notices
"|libz ${notice_platform}development files not found, data compression won't be supported." ;;
12168 *) as_fn_error $?
"libz ${notice_platform}development files not found, data compression won't be supported.
12169 This is an error since --with-zlib was requested." "$LINENO" 5 ;;
12173 if test "x$enable_tools" != xno
12175 if test "$ac_cv_header_gettext_po_h" = "yes"
12177 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for po_message_msgctxt in -lgettextpo" >&5
12178 $as_echo_n "checking for po_message_msgctxt in -lgettextpo... " >&6; }
12179 if ${ac_cv_lib_gettextpo_po_message_msgctxt+:} false
; then :
12180 $as_echo_n "(cached) " >&6
12182 ac_check_lib_save_LIBS
=$LIBS
12183 LIBS
="-lgettextpo $LIBS"
12184 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12185 /* end confdefs.h. */
12187 /* Override any GCC internal prototype to avoid an error.
12188 Use char because int might match the return type of a GCC
12189 builtin and then its argument prototype would still apply. */
12193 char po_message_msgctxt ();
12197 return po_message_msgctxt ();
12202 if ac_fn_c_try_link
"$LINENO"; then :
12203 ac_cv_lib_gettextpo_po_message_msgctxt
=yes
12205 ac_cv_lib_gettextpo_po_message_msgctxt
=no
12207 rm -f core conftest.err conftest.
$ac_objext \
12208 conftest
$ac_exeext conftest.
$ac_ext
12209 LIBS
=$ac_check_lib_save_LIBS
12211 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gettextpo_po_message_msgctxt" >&5
12212 $as_echo "$ac_cv_lib_gettextpo_po_message_msgctxt" >&6; }
12213 if test "x$ac_cv_lib_gettextpo_po_message_msgctxt" = xyes
; then :
12215 $as_echo "#define HAVE_LIBGETTEXTPO 1" >>confdefs.h
12217 GETTEXTPO_LIBS
="-lgettextpo"
12222 test "x$with_gettextpo" != xyes ||
if test "x$GETTEXTPO_LIBS" = "x"; then :
12223 case "x$with_gettextpo" in
12224 x
) as_fn_append wine_notices
"|GetText ${notice_platform}development files not found (or too old), po files can't be rebuilt." ;;
12226 *) as_fn_error $?
"GetText ${notice_platform}development files not found (or too old), po files can't be rebuilt.
12227 This is an error since --with-gettextpo was requested." "$LINENO" 5 ;;
12232 if test "x$with_gstreamer" != "xno"
12234 if ${GSTREAMER_CFLAGS:+false} :; then :
12235 if ${PKG_CONFIG+:} false
; then :
12236 GSTREAMER_CFLAGS
=`$PKG_CONFIG --cflags gstreamer-app-0.10 2>/dev/null`
12240 if ${GSTREAMER_LIBS:+false} :; then :
12241 if ${PKG_CONFIG+:} false
; then :
12242 GSTREAMER_LIBS
=`$PKG_CONFIG --libs gstreamer-app-0.10 2>/dev/null`
12247 $as_echo "$as_me:${as_lineno-$LINENO}: gstreamer-app-0.10 cflags: $GSTREAMER_CFLAGS" >&5
12248 $as_echo "$as_me:${as_lineno-$LINENO}: gstreamer-app-0.10 libs: $GSTREAMER_LIBS" >&5
12249 ac_save_CPPFLAGS
=$CPPFLAGS
12250 CPPFLAGS
="$CPPFLAGS $GSTREAMER_CFLAGS"
12252 for i
in $GSTREAMER_CFLAGS
12255 -I*) ac_gst_incl
="$ac_gst_incl $i";;
12258 GSTREAMER_CFLAGS
=$ac_gst_incl
12259 CPPFLAGS
="$ac_save_CPPFLAGS $GSTREAMER_CFLAGS"
12260 ac_fn_c_check_header_mongrel
"$LINENO" "gst/gstpad.h" "ac_cv_header_gst_gstpad_h" "$ac_includes_default"
12261 if test "x$ac_cv_header_gst_gstpad_h" = xyes
; then :
12262 ac_fn_c_check_header_mongrel
"$LINENO" "gst/app/gstappsink.h" "ac_cv_header_gst_app_gstappsink_h" "$ac_includes_default"
12263 if test "x$ac_cv_header_gst_app_gstappsink_h" = xyes
; then :
12264 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether gint64 defined by gst/app/gstappsink.h is indeed 64-bit" >&5
12265 $as_echo_n "checking whether gint64 defined by gst/app/gstappsink.h is indeed 64-bit... " >&6; }
12266 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12267 /* end confdefs.h. */
12268 #include <gst/app/gstappsink.h>
12272 static int a[sizeof(gint64) > 4 ? 1 : -1]; if (a[0]) return 0;
12277 if ac_fn_c_try_compile
"$LINENO"; then :
12278 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
12279 $as_echo "yes" >&6; }
12280 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gst_pad_get_caps_reffed in -lgstreamer-0.10" >&5
12281 $as_echo_n "checking for gst_pad_get_caps_reffed in -lgstreamer-0.10... " >&6; }
12282 if ${ac_cv_lib_gstreamer_0_10_gst_pad_get_caps_reffed+:} false
; then :
12283 $as_echo_n "(cached) " >&6
12285 ac_check_lib_save_LIBS
=$LIBS
12286 LIBS
="-lgstreamer-0.10 $LIBS"
12287 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12288 /* end confdefs.h. */
12290 /* Override any GCC internal prototype to avoid an error.
12291 Use char because int might match the return type of a GCC
12292 builtin and then its argument prototype would still apply. */
12296 char gst_pad_get_caps_reffed ();
12300 return gst_pad_get_caps_reffed ();
12305 if ac_fn_c_try_link
"$LINENO"; then :
12306 ac_cv_lib_gstreamer_0_10_gst_pad_get_caps_reffed
=yes
12308 ac_cv_lib_gstreamer_0_10_gst_pad_get_caps_reffed
=no
12310 rm -f core conftest.err conftest.
$ac_objext \
12311 conftest
$ac_exeext conftest.
$ac_ext
12312 LIBS
=$ac_check_lib_save_LIBS
12314 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gstreamer_0_10_gst_pad_get_caps_reffed" >&5
12315 $as_echo "$ac_cv_lib_gstreamer_0_10_gst_pad_get_caps_reffed" >&6; }
12316 if test "x$ac_cv_lib_gstreamer_0_10_gst_pad_get_caps_reffed" = xyes
; then :
12317 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gst_app_buffer_new in -lgstapp-0.10" >&5
12318 $as_echo_n "checking for gst_app_buffer_new in -lgstapp-0.10... " >&6; }
12319 if ${ac_cv_lib_gstapp_0_10_gst_app_buffer_new+:} false
; then :
12320 $as_echo_n "(cached) " >&6
12322 ac_check_lib_save_LIBS
=$LIBS
12323 LIBS
="-lgstapp-0.10 $GSTREAMER_LIBS $LIBS"
12324 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12325 /* end confdefs.h. */
12327 /* Override any GCC internal prototype to avoid an error.
12328 Use char because int might match the return type of a GCC
12329 builtin and then its argument prototype would still apply. */
12333 char gst_app_buffer_new ();
12337 return gst_app_buffer_new ();
12342 if ac_fn_c_try_link
"$LINENO"; then :
12343 ac_cv_lib_gstapp_0_10_gst_app_buffer_new
=yes
12345 ac_cv_lib_gstapp_0_10_gst_app_buffer_new
=no
12347 rm -f core conftest.err conftest.
$ac_objext \
12348 conftest
$ac_exeext conftest.
$ac_ext
12349 LIBS
=$ac_check_lib_save_LIBS
12351 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gstapp_0_10_gst_app_buffer_new" >&5
12352 $as_echo "$ac_cv_lib_gstapp_0_10_gst_app_buffer_new" >&6; }
12353 if test "x$ac_cv_lib_gstapp_0_10_gst_app_buffer_new" = xyes
; then :
12360 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12361 $as_echo "no" >&6; }
12363 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
12368 GSTREAMER_CFLAGS
=""
12372 CPPFLAGS
=$ac_save_CPPFLAGS
12373 test -z "$GSTREAMER_CFLAGS" || GSTREAMER_CFLAGS
=`echo " $GSTREAMER_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
12374 test -z "$GSTREAMER_LIBS" || GSTREAMER_LIBS
=`echo " $GSTREAMER_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
12377 if test "x$ac_cv_lib_gstapp_0_10_gst_app_buffer_new" != xyes
-a "x$ac_cv_header_QuickTime_ImageCompression_h" != xyes
; then :
12378 case "x$with_gstreamer" in
12379 x
) as_fn_append wine_notices
"|gstreamer-0.10 base plugins ${notice_platform}development files not found, gstreamer support disabled" ;;
12381 *) as_fn_error $?
"gstreamer-0.10 base plugins ${notice_platform}development files not found, gstreamer support disabled
12382 This is an error since --with-gstreamer was requested." "$LINENO" 5 ;;
12385 test "x$ac_cv_lib_gstapp_0_10_gst_app_buffer_new" = xyes || enable_winegstreamer
=${enable_winegstreamer:-no}
12389 if test "$ac_cv_header_sys_asoundlib_h" = "yes" -o "$ac_cv_header_alsa_asoundlib_h" = "yes"
12391 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for snd_pcm_hw_params_get_access_mask in -lasound" >&5
12392 $as_echo_n "checking for snd_pcm_hw_params_get_access_mask in -lasound... " >&6; }
12393 if ${ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask+:} false
; then :
12394 $as_echo_n "(cached) " >&6
12396 ac_check_lib_save_LIBS
=$LIBS
12397 LIBS
="-lasound $LIBS"
12398 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12399 /* end confdefs.h. */
12401 /* Override any GCC internal prototype to avoid an error.
12402 Use char because int might match the return type of a GCC
12403 builtin and then its argument prototype would still apply. */
12407 char snd_pcm_hw_params_get_access_mask ();
12411 return snd_pcm_hw_params_get_access_mask ();
12416 if ac_fn_c_try_link
"$LINENO"; then :
12417 ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask
=yes
12419 ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask
=no
12421 rm -f core conftest.err conftest.
$ac_objext \
12422 conftest
$ac_exeext conftest.
$ac_ext
12423 LIBS
=$ac_check_lib_save_LIBS
12425 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask" >&5
12426 $as_echo "$ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask" >&6; }
12427 if test "x$ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask" = xyes
; then :
12428 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12429 /* end confdefs.h. */
12430 #ifdef HAVE_ALSA_ASOUNDLIB_H
12431 #include <alsa/asoundlib.h>
12432 #elif defined(HAVE_SYS_ASOUNDLIB_H)
12433 #include <sys/asoundlib.h>
12438 snd_pcm_hw_params_get_access_mask(NULL, NULL)
12443 if ac_fn_c_try_compile
"$LINENO"; then :
12444 ALSA_LIBS
="-lasound"
12446 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
12451 if test "x$with_oss" != xno
12453 ac_save_CPPFLAGS
="$CPPFLAGS"
12454 if test -f /etc
/oss.conf
12458 ac_oss_incl
="-I${OSSLIBDIR:-/usr/lib/oss}/include"
12459 CPPFLAGS
="$CPPFLAGS $ac_oss_incl"
12460 ac_fn_c_check_header_mongrel
"$LINENO" "sys/soundcard.h" "ac_cv_header_sys_soundcard_h" "$ac_includes_default"
12461 if test "x$ac_cv_header_sys_soundcard_h" = xyes
; then :
12462 ac_fn_c_check_member
"$LINENO" "oss_sysinfo" "numaudioengines" "ac_cv_member_oss_sysinfo_numaudioengines" "#include <sys/soundcard.h>
12464 if test "x$ac_cv_member_oss_sysinfo_numaudioengines" = xyes
; then :
12466 cat >>confdefs.h
<<_ACEOF
12467 #define HAVE_OSS_SYSINFO_NUMAUDIOENGINES 1
12470 OSS4_CFLAGS
="$ac_oss_incl"
12477 CPPFLAGS
="$ac_save_CPPFLAGS"
12478 if test "x$ac_cv_member_oss_sysinfo_numaudioengines" != xyes
12480 as_fn_append wine_notices
"|OSS sound system found but too old (OSSv4 needed), OSS won't be supported."
12484 if test "x$with_capi" != "xno"
12486 if ${CAPI20_CFLAGS:+false} :; then :
12487 if ${PKG_CONFIG+:} false
; then :
12488 CAPI20_CFLAGS
=`$PKG_CONFIG --cflags capi20 2>/dev/null`
12492 if ${CAPI20_LIBS:+false} :; then :
12493 if ${PKG_CONFIG+:} false
; then :
12494 CAPI20_LIBS
=`$PKG_CONFIG --libs capi20 2>/dev/null`
12499 $as_echo "$as_me:${as_lineno-$LINENO}: capi20 cflags: $CAPI20_CFLAGS" >&5
12500 $as_echo "$as_me:${as_lineno-$LINENO}: capi20 libs: $CAPI20_LIBS" >&5
12501 ac_save_CPPFLAGS
=$CPPFLAGS
12502 CPPFLAGS
="$CPPFLAGS $CAPI20_CFLAGS"
12503 for ac_header
in capi20.h linux
/capi.h
12505 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
12506 ac_fn_c_check_header_compile
"$LINENO" "$ac_header" "$as_ac_Header" "#define __user
12508 if eval test \"x\$
"$as_ac_Header"\" = x
"yes"; then :
12509 cat >>confdefs.h
<<_ACEOF
12510 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
12517 if test "$ac_cv_header_capi20_h" = "yes" -a "$ac_cv_header_linux_capi_h" = "yes"
12519 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lcapi20" >&5
12520 $as_echo_n "checking for -lcapi20... " >&6; }
12521 if ${ac_cv_lib_soname_capi20+:} false
; then :
12522 $as_echo_n "(cached) " >&6
12524 ac_check_soname_save_LIBS
=$LIBS
12525 LIBS
="-lcapi20 $CAPI20_LIBS $LIBS"
12526 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12527 /* end confdefs.h. */
12529 /* Override any GCC internal prototype to avoid an error.
12530 Use char because int might match the return type of a GCC
12531 builtin and then its argument prototype would still apply. */
12535 char capi20_register ();
12539 return capi20_register ();
12544 if ac_fn_c_try_link
"$LINENO"; then :
12546 dll
) ac_cv_lib_soname_capi20
=`$ac_cv_path_LDD conftest.exe | grep "capi20" | sed -e "s/dll.*/dll/"';2,$d'` ;;
12547 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'` ;;
12548 *) ac_cv_lib_soname_capi20
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libcapi20\\.$LIBEXT" | sed -e "s/^.*\\[\\(libcapi20\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
12549 if ${ac_cv_lib_soname_capi20:+false} :; then :
12550 ac_cv_lib_soname_capi20
=`$LDD conftest$ac_exeext | grep "libcapi20\\.$LIBEXT" | sed -e "s/^.*\(libcapi20\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
12554 rm -f core conftest.err conftest.
$ac_objext \
12555 conftest
$ac_exeext conftest.
$ac_ext
12556 LIBS
=$ac_check_soname_save_LIBS
12558 if ${ac_cv_lib_soname_capi20:+false} :; then :
12559 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
12560 $as_echo "not found" >&6; }
12563 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_capi20" >&5
12564 $as_echo "$ac_cv_lib_soname_capi20" >&6; }
12566 cat >>confdefs.h
<<_ACEOF
12567 #define SONAME_LIBCAPI20 "$ac_cv_lib_soname_capi20"
12573 CPPFLAGS
=$ac_save_CPPFLAGS
12574 test -z "$CAPI20_CFLAGS" || CAPI20_CFLAGS
=`echo " $CAPI20_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
12575 test -z "$CAPI20_LIBS" || CAPI20_LIBS
=`echo " $CAPI20_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
12578 if test "x$ac_cv_lib_soname_capi20" = "x"; then :
12579 case "x$with_capi" in
12580 x
) as_fn_append wine_notices
"|libcapi20 ${notice_platform}development files not found, ISDN won't be supported." ;;
12582 *) as_fn_error $?
"libcapi20 ${notice_platform}development files not found, ISDN won't be supported.
12583 This is an error since --with-capi was requested." "$LINENO" 5 ;;
12589 if test "x$with_cups" != "xno"
12591 ac_save_CPPFLAGS
="$CPPFLAGS"
12592 ac_cups_cflags
=`cups-config --cflags 2>/dev/null`
12593 ac_cups_libs
=`cups-config --ldflags 2>/dev/null`
12594 CPPFLAGS
="$CPPFLAGS $ac_cups_cflags"
12595 for ac_header
in cups
/cups.h
12597 ac_fn_c_check_header_mongrel
"$LINENO" "cups/cups.h" "ac_cv_header_cups_cups_h" "$ac_includes_default"
12598 if test "x$ac_cv_header_cups_cups_h" = xyes
; then :
12599 cat >>confdefs.h
<<_ACEOF
12600 #define HAVE_CUPS_CUPS_H 1
12602 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lcups" >&5
12603 $as_echo_n "checking for -lcups... " >&6; }
12604 if ${ac_cv_lib_soname_cups+:} false
; then :
12605 $as_echo_n "(cached) " >&6
12607 ac_check_soname_save_LIBS
=$LIBS
12608 LIBS
="-lcups $ac_cups_libs $LIBS"
12609 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12610 /* end confdefs.h. */
12612 /* Override any GCC internal prototype to avoid an error.
12613 Use char because int might match the return type of a GCC
12614 builtin and then its argument prototype would still apply. */
12618 char cupsGetDefault ();
12622 return cupsGetDefault ();
12627 if ac_fn_c_try_link
"$LINENO"; then :
12629 dll
) ac_cv_lib_soname_cups
=`$ac_cv_path_LDD conftest.exe | grep "cups" | sed -e "s/dll.*/dll/"';2,$d'` ;;
12630 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'` ;;
12631 *) ac_cv_lib_soname_cups
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libcups\\.$LIBEXT" | sed -e "s/^.*\\[\\(libcups\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
12632 if ${ac_cv_lib_soname_cups:+false} :; then :
12633 ac_cv_lib_soname_cups
=`$LDD conftest$ac_exeext | grep "libcups\\.$LIBEXT" | sed -e "s/^.*\(libcups\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
12637 rm -f core conftest.err conftest.
$ac_objext \
12638 conftest
$ac_exeext conftest.
$ac_ext
12639 LIBS
=$ac_check_soname_save_LIBS
12641 if ${ac_cv_lib_soname_cups:+false} :; then :
12642 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
12643 $as_echo "not found" >&6; }
12646 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_cups" >&5
12647 $as_echo "$ac_cv_lib_soname_cups" >&6; }
12649 cat >>confdefs.h
<<_ACEOF
12650 #define SONAME_LIBCUPS "$ac_cv_lib_soname_cups"
12653 CUPS_CFLAGS
="$ac_cups_cflags"
12659 CPPFLAGS
="$ac_save_CPPFLAGS"
12661 if test "x$ac_cv_lib_soname_cups" = "x"; then :
12662 case "x$with_cups" in
12663 x
) as_fn_append wine_notices
"|libcups ${notice_platform}development files not found, CUPS won't be supported." ;;
12665 *) as_fn_error $?
"libcups ${notice_platform}development files not found, CUPS won't be supported.
12666 This is an error since --with-cups was requested." "$LINENO" 5 ;;
12670 if test "x$with_fontconfig" != "xno"
12672 if ${FONTCONFIG_CFLAGS:+false} :; then :
12673 if ${PKG_CONFIG+:} false
; then :
12674 FONTCONFIG_CFLAGS
=`$PKG_CONFIG --cflags fontconfig 2>/dev/null`
12677 test "$cross_compiling" = yes || FONTCONFIG_CFLAGS
=${FONTCONFIG_CFLAGS:-$X_CFLAGS}
12678 if ${FONTCONFIG_LIBS:+false} :; then :
12679 if ${PKG_CONFIG+:} false
; then :
12680 FONTCONFIG_LIBS
=`$PKG_CONFIG --libs fontconfig 2>/dev/null`
12683 test "$cross_compiling" = yes || FONTCONFIG_LIBS
=${FONTCONFIG_LIBS:-$X_LIBS}
12685 $as_echo "$as_me:${as_lineno-$LINENO}: fontconfig cflags: $FONTCONFIG_CFLAGS" >&5
12686 $as_echo "$as_me:${as_lineno-$LINENO}: fontconfig libs: $FONTCONFIG_LIBS" >&5
12687 ac_save_CPPFLAGS
=$CPPFLAGS
12688 CPPFLAGS
="$CPPFLAGS $FONTCONFIG_CFLAGS"
12689 for ac_header
in fontconfig
/fontconfig.h
12691 ac_fn_c_check_header_mongrel
"$LINENO" "fontconfig/fontconfig.h" "ac_cv_header_fontconfig_fontconfig_h" "$ac_includes_default"
12692 if test "x$ac_cv_header_fontconfig_fontconfig_h" = xyes
; then :
12693 cat >>confdefs.h
<<_ACEOF
12694 #define HAVE_FONTCONFIG_FONTCONFIG_H 1
12701 if test "$ac_cv_header_fontconfig_fontconfig_h" = "yes"
12703 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lfontconfig" >&5
12704 $as_echo_n "checking for -lfontconfig... " >&6; }
12705 if ${ac_cv_lib_soname_fontconfig+:} false
; then :
12706 $as_echo_n "(cached) " >&6
12708 ac_check_soname_save_LIBS
=$LIBS
12709 LIBS
="-lfontconfig $FONTCONFIG_LIBS $LIBS"
12710 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12711 /* end confdefs.h. */
12713 /* Override any GCC internal prototype to avoid an error.
12714 Use char because int might match the return type of a GCC
12715 builtin and then its argument prototype would still apply. */
12728 if ac_fn_c_try_link
"$LINENO"; then :
12730 dll
) ac_cv_lib_soname_fontconfig
=`$ac_cv_path_LDD conftest.exe | grep "fontconfig" | sed -e "s/dll.*/dll/"';2,$d'` ;;
12731 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'` ;;
12732 *) ac_cv_lib_soname_fontconfig
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libfontconfig\\.$LIBEXT" | sed -e "s/^.*\\[\\(libfontconfig\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
12733 if ${ac_cv_lib_soname_fontconfig:+false} :; then :
12734 ac_cv_lib_soname_fontconfig
=`$LDD conftest$ac_exeext | grep "libfontconfig\\.$LIBEXT" | sed -e "s/^.*\(libfontconfig\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
12738 rm -f core conftest.err conftest.
$ac_objext \
12739 conftest
$ac_exeext conftest.
$ac_ext
12740 LIBS
=$ac_check_soname_save_LIBS
12742 if ${ac_cv_lib_soname_fontconfig:+false} :; then :
12743 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
12744 $as_echo "not found" >&6; }
12745 FONTCONFIG_CFLAGS
=""
12747 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_fontconfig" >&5
12748 $as_echo "$ac_cv_lib_soname_fontconfig" >&6; }
12750 cat >>confdefs.h
<<_ACEOF
12751 #define SONAME_LIBFONTCONFIG "$ac_cv_lib_soname_fontconfig"
12757 FONTCONFIG_CFLAGS
=""
12759 CPPFLAGS
=$ac_save_CPPFLAGS
12760 test -z "$FONTCONFIG_CFLAGS" || FONTCONFIG_CFLAGS
=`echo " $FONTCONFIG_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
12761 test -z "$FONTCONFIG_LIBS" || FONTCONFIG_LIBS
=`echo " $FONTCONFIG_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
12764 if test "x$ac_cv_lib_soname_fontconfig" = "x"; then :
12765 case "x$with_fontconfig" in
12766 x
) as_fn_append wine_notices
"|fontconfig ${notice_platform}development files not found, fontconfig won't be supported." ;;
12768 *) as_fn_error $?
"fontconfig ${notice_platform}development files not found, fontconfig won't be supported.
12769 This is an error since --with-fontconfig was requested." "$LINENO" 5 ;;
12773 if test "$ac_cv_header_gsm_h" = "yes" -o "$ac_cv_header_gsm_gsm_h" = "yes"
12775 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lgsm" >&5
12776 $as_echo_n "checking for -lgsm... " >&6; }
12777 if ${ac_cv_lib_soname_gsm+:} false
; then :
12778 $as_echo_n "(cached) " >&6
12780 ac_check_soname_save_LIBS
=$LIBS
12782 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12783 /* end confdefs.h. */
12785 /* Override any GCC internal prototype to avoid an error.
12786 Use char because int might match the return type of a GCC
12787 builtin and then its argument prototype would still apply. */
12791 char gsm_create ();
12795 return gsm_create ();
12800 if ac_fn_c_try_link
"$LINENO"; then :
12802 dll
) ac_cv_lib_soname_gsm
=`$ac_cv_path_LDD conftest.exe | grep "gsm" | sed -e "s/dll.*/dll/"';2,$d'` ;;
12803 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'` ;;
12804 *) ac_cv_lib_soname_gsm
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libgsm\\.$LIBEXT" | sed -e "s/^.*\\[\\(libgsm\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
12805 if ${ac_cv_lib_soname_gsm:+false} :; then :
12806 ac_cv_lib_soname_gsm
=`$LDD conftest$ac_exeext | grep "libgsm\\.$LIBEXT" | sed -e "s/^.*\(libgsm\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
12810 rm -f core conftest.err conftest.
$ac_objext \
12811 conftest
$ac_exeext conftest.
$ac_ext
12812 LIBS
=$ac_check_soname_save_LIBS
12814 if ${ac_cv_lib_soname_gsm:+false} :; then :
12815 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
12816 $as_echo "not found" >&6; }
12819 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_gsm" >&5
12820 $as_echo "$ac_cv_lib_soname_gsm" >&6; }
12822 cat >>confdefs.h
<<_ACEOF
12823 #define SONAME_LIBGSM "$ac_cv_lib_soname_gsm"
12829 if test "x$ac_cv_lib_soname_gsm" = "x"; then :
12830 case "x$with_gsm" in
12831 x
) as_fn_append wine_notices
"|libgsm ${notice_platform}development files not found, gsm 06.10 codec won't be supported." ;;
12833 *) as_fn_error $?
"libgsm ${notice_platform}development files not found, gsm 06.10 codec won't be supported.
12834 This is an error since --with-gsm was requested." "$LINENO" 5 ;;
12838 if test "x$with_jpeg" != "xno"
12840 if ${JPEG_CFLAGS:+false} :; then :
12841 if ${PKG_CONFIG+:} false
; then :
12842 JPEG_CFLAGS
=`$PKG_CONFIG --cflags libjpeg 2>/dev/null`
12846 if ${JPEG_LIBS:+false} :; then :
12847 if ${PKG_CONFIG+:} false
; then :
12848 JPEG_LIBS
=`$PKG_CONFIG --libs libjpeg 2>/dev/null`
12853 $as_echo "$as_me:${as_lineno-$LINENO}: libjpeg cflags: $JPEG_CFLAGS" >&5
12854 $as_echo "$as_me:${as_lineno-$LINENO}: libjpeg libs: $JPEG_LIBS" >&5
12855 ac_save_CPPFLAGS
=$CPPFLAGS
12856 CPPFLAGS
="$CPPFLAGS $JPEG_CFLAGS"
12857 for ac_header
in jpeglib.h
12859 ac_fn_c_check_header_mongrel
"$LINENO" "jpeglib.h" "ac_cv_header_jpeglib_h" "$ac_includes_default"
12860 if test "x$ac_cv_header_jpeglib_h" = xyes
; then :
12861 cat >>confdefs.h
<<_ACEOF
12862 #define HAVE_JPEGLIB_H 1
12869 if test "$ac_cv_header_jpeglib_h" = "yes"
12871 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -ljpeg" >&5
12872 $as_echo_n "checking for -ljpeg... " >&6; }
12873 if ${ac_cv_lib_soname_jpeg+:} false
; then :
12874 $as_echo_n "(cached) " >&6
12876 ac_check_soname_save_LIBS
=$LIBS
12877 LIBS
="-ljpeg $JPEG_LIBS $LIBS"
12878 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12879 /* end confdefs.h. */
12881 /* Override any GCC internal prototype to avoid an error.
12882 Use char because int might match the return type of a GCC
12883 builtin and then its argument prototype would still apply. */
12887 char jpeg_start_decompress ();
12891 return jpeg_start_decompress ();
12896 if ac_fn_c_try_link
"$LINENO"; then :
12898 dll
) ac_cv_lib_soname_jpeg
=`$ac_cv_path_LDD conftest.exe | grep "jpeg" | sed -e "s/dll.*/dll/"';2,$d'` ;;
12899 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'` ;;
12900 *) ac_cv_lib_soname_jpeg
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libjpeg\\.$LIBEXT" | sed -e "s/^.*\\[\\(libjpeg\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
12901 if ${ac_cv_lib_soname_jpeg:+false} :; then :
12902 ac_cv_lib_soname_jpeg
=`$LDD conftest$ac_exeext | grep "libjpeg\\.$LIBEXT" | sed -e "s/^.*\(libjpeg\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
12906 rm -f core conftest.err conftest.
$ac_objext \
12907 conftest
$ac_exeext conftest.
$ac_ext
12908 LIBS
=$ac_check_soname_save_LIBS
12910 if ${ac_cv_lib_soname_jpeg:+false} :; then :
12911 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
12912 $as_echo "not found" >&6; }
12915 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_jpeg" >&5
12916 $as_echo "$ac_cv_lib_soname_jpeg" >&6; }
12918 cat >>confdefs.h
<<_ACEOF
12919 #define SONAME_LIBJPEG "$ac_cv_lib_soname_jpeg"
12927 CPPFLAGS
=$ac_save_CPPFLAGS
12928 test -z "$JPEG_CFLAGS" || JPEG_CFLAGS
=`echo " $JPEG_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
12929 test -z "$JPEG_LIBS" || JPEG_LIBS
=`echo " $JPEG_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
12932 if test "x$ac_cv_lib_soname_jpeg" = "x"; then :
12933 case "x$with_jpeg" in
12934 x
) as_fn_append wine_warnings
"|libjpeg ${notice_platform}development files not found, JPEG won't be supported." ;;
12936 *) as_fn_error $?
"libjpeg ${notice_platform}development files not found, JPEG won't be supported.
12937 This is an error since --with-jpeg was requested." "$LINENO" 5 ;;
12941 if test "x$with_png" != "xno"
12943 if ${PNG_CFLAGS:+false} :; then :
12944 if ${PKG_CONFIG+:} false
; then :
12945 PNG_CFLAGS
=`$PKG_CONFIG --cflags libpng 2>/dev/null`
12948 test "$cross_compiling" = yes || PNG_CFLAGS
=${PNG_CFLAGS:-$X_CFLAGS}
12949 if ${PNG_LIBS:+false} :; then :
12950 if ${PKG_CONFIG+:} false
; then :
12951 PNG_LIBS
=`$PKG_CONFIG --libs libpng 2>/dev/null`
12954 test "$cross_compiling" = yes || PNG_LIBS
=${PNG_LIBS:-$X_LIBS}
12956 $as_echo "$as_me:${as_lineno-$LINENO}: libpng cflags: $PNG_CFLAGS" >&5
12957 $as_echo "$as_me:${as_lineno-$LINENO}: libpng libs: $PNG_LIBS" >&5
12958 ac_save_CPPFLAGS
=$CPPFLAGS
12959 CPPFLAGS
="$CPPFLAGS $PNG_CFLAGS"
12960 for ac_header
in png.h
12962 ac_fn_c_check_header_mongrel
"$LINENO" "png.h" "ac_cv_header_png_h" "$ac_includes_default"
12963 if test "x$ac_cv_header_png_h" = xyes
; then :
12964 cat >>confdefs.h
<<_ACEOF
12965 #define HAVE_PNG_H 1
12972 if test "$ac_cv_header_png_h" = "yes"
12974 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lpng" >&5
12975 $as_echo_n "checking for -lpng... " >&6; }
12976 if ${ac_cv_lib_soname_png+:} false
; then :
12977 $as_echo_n "(cached) " >&6
12979 ac_check_soname_save_LIBS
=$LIBS
12980 LIBS
="-lpng $PNG_LIBS -lm -lz $LIBS"
12981 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12982 /* end confdefs.h. */
12984 /* Override any GCC internal prototype to avoid an error.
12985 Use char because int might match the return type of a GCC
12986 builtin and then its argument prototype would still apply. */
12990 char png_create_read_struct ();
12994 return png_create_read_struct ();
12999 if ac_fn_c_try_link
"$LINENO"; then :
13001 dll
) ac_cv_lib_soname_png
=`$ac_cv_path_LDD conftest.exe | grep "png" | sed -e "s/dll.*/dll/"';2,$d'` ;;
13002 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'` ;;
13003 *) 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'`
13004 if ${ac_cv_lib_soname_png:+false} :; then :
13005 ac_cv_lib_soname_png
=`$LDD conftest$ac_exeext | grep "libpng[0-9]*\\.$LIBEXT" | sed -e "s/^.*\(libpng[0-9]*\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
13009 rm -f core conftest.err conftest.
$ac_objext \
13010 conftest
$ac_exeext conftest.
$ac_ext
13011 LIBS
=$ac_check_soname_save_LIBS
13013 if ${ac_cv_lib_soname_png:+false} :; then :
13014 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13015 $as_echo "not found" >&6; }
13018 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_png" >&5
13019 $as_echo "$ac_cv_lib_soname_png" >&6; }
13021 cat >>confdefs.h
<<_ACEOF
13022 #define SONAME_LIBPNG "$ac_cv_lib_soname_png"
13025 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13026 /* end confdefs.h. */
13031 typeof(png_set_expand_gray_1_2_4_to_8) *p
13036 if ac_fn_c_try_compile
"$LINENO"; then :
13038 $as_echo "#define HAVE_PNG_SET_EXPAND_GRAY_1_2_4_TO_8 1" >>confdefs.h
13041 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
13046 CPPFLAGS
=$ac_save_CPPFLAGS
13047 test -z "$PNG_CFLAGS" || PNG_CFLAGS
=`echo " $PNG_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
13048 test -z "$PNG_LIBS" || PNG_LIBS
=`echo " $PNG_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
13051 if test "x$ac_cv_lib_soname_png" = "x"; then :
13052 case "x$with_png" in
13053 x
) as_fn_append wine_warnings
"|libpng ${notice_platform}development files not found, PNG won't be supported." ;;
13055 *) as_fn_error $?
"libpng ${notice_platform}development files not found, PNG won't be supported.
13056 This is an error since --with-png was requested." "$LINENO" 5 ;;
13060 if test "x$with_tiff" != "xno"
13062 if ${TIFF_CFLAGS:+false} :; then :
13063 if ${PKG_CONFIG+:} false
; then :
13064 TIFF_CFLAGS
=`$PKG_CONFIG --cflags libtiff 2>/dev/null`
13068 if ${TIFF_LIBS:+false} :; then :
13069 if ${PKG_CONFIG+:} false
; then :
13070 TIFF_LIBS
=`$PKG_CONFIG --libs libtiff 2>/dev/null`
13075 $as_echo "$as_me:${as_lineno-$LINENO}: libtiff cflags: $TIFF_CFLAGS" >&5
13076 $as_echo "$as_me:${as_lineno-$LINENO}: libtiff libs: $TIFF_LIBS" >&5
13077 ac_save_CPPFLAGS
=$CPPFLAGS
13078 CPPFLAGS
="$CPPFLAGS $TIFF_CFLAGS"
13079 for ac_header
in tiffio.h
13081 ac_fn_c_check_header_mongrel
"$LINENO" "tiffio.h" "ac_cv_header_tiffio_h" "$ac_includes_default"
13082 if test "x$ac_cv_header_tiffio_h" = xyes
; then :
13083 cat >>confdefs.h
<<_ACEOF
13084 #define HAVE_TIFFIO_H 1
13091 if test "$ac_cv_header_tiffio_h" = "yes"
13093 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -ltiff" >&5
13094 $as_echo_n "checking for -ltiff... " >&6; }
13095 if ${ac_cv_lib_soname_tiff+:} false
; then :
13096 $as_echo_n "(cached) " >&6
13098 ac_check_soname_save_LIBS
=$LIBS
13099 LIBS
="-ltiff $TIFF_LIBS $LIBS"
13100 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13101 /* end confdefs.h. */
13103 /* Override any GCC internal prototype to avoid an error.
13104 Use char because int might match the return type of a GCC
13105 builtin and then its argument prototype would still apply. */
13109 char TIFFClientOpen ();
13113 return TIFFClientOpen ();
13118 if ac_fn_c_try_link
"$LINENO"; then :
13120 dll
) ac_cv_lib_soname_tiff
=`$ac_cv_path_LDD conftest.exe | grep "tiff" | sed -e "s/dll.*/dll/"';2,$d'` ;;
13121 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'` ;;
13122 *) ac_cv_lib_soname_tiff
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libtiff\\.$LIBEXT" | sed -e "s/^.*\\[\\(libtiff\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
13123 if ${ac_cv_lib_soname_tiff:+false} :; then :
13124 ac_cv_lib_soname_tiff
=`$LDD conftest$ac_exeext | grep "libtiff\\.$LIBEXT" | sed -e "s/^.*\(libtiff\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
13128 rm -f core conftest.err conftest.
$ac_objext \
13129 conftest
$ac_exeext conftest.
$ac_ext
13130 LIBS
=$ac_check_soname_save_LIBS
13132 if ${ac_cv_lib_soname_tiff:+false} :; then :
13133 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13134 $as_echo "not found" >&6; }
13137 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_tiff" >&5
13138 $as_echo "$ac_cv_lib_soname_tiff" >&6; }
13140 cat >>confdefs.h
<<_ACEOF
13141 #define SONAME_LIBTIFF "$ac_cv_lib_soname_tiff"
13147 CPPFLAGS
=$ac_save_CPPFLAGS
13148 test -z "$TIFF_CFLAGS" || TIFF_CFLAGS
=`echo " $TIFF_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
13149 test -z "$TIFF_LIBS" || TIFF_LIBS
=`echo " $TIFF_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
13152 if test "x$ac_cv_lib_soname_tiff" = "x"; then :
13153 case "x$with_tiff" in
13154 x
) as_fn_append wine_notices
"|libtiff ${notice_platform}development files not found, TIFF won't be supported." ;;
13156 *) as_fn_error $?
"libtiff ${notice_platform}development files not found, TIFF won't be supported.
13157 This is an error since --with-tiff was requested." "$LINENO" 5 ;;
13161 if test "x$with_mpg123" != "xno"
13163 if ${MPG123_CFLAGS:+false} :; then :
13164 if ${PKG_CONFIG+:} false
; then :
13165 MPG123_CFLAGS
=`$PKG_CONFIG --cflags libmpg123 2>/dev/null`
13169 if ${MPG123_LIBS:+false} :; then :
13170 if ${PKG_CONFIG+:} false
; then :
13171 MPG123_LIBS
=`$PKG_CONFIG --libs libmpg123 2>/dev/null`
13175 MPG123_LIBS
=${MPG123_LIBS:-"-lmpg123"}
13176 $as_echo "$as_me:${as_lineno-$LINENO}: libmpg123 cflags: $MPG123_CFLAGS" >&5
13177 $as_echo "$as_me:${as_lineno-$LINENO}: libmpg123 libs: $MPG123_LIBS" >&5
13178 ac_save_CPPFLAGS
=$CPPFLAGS
13179 CPPFLAGS
="$CPPFLAGS $MPG123_CFLAGS"
13180 for ac_header
in mpg123.h
13182 ac_fn_c_check_header_mongrel
"$LINENO" "mpg123.h" "ac_cv_header_mpg123_h" "$ac_includes_default"
13183 if test "x$ac_cv_header_mpg123_h" = xyes
; then :
13184 cat >>confdefs.h
<<_ACEOF
13185 #define HAVE_MPG123_H 1
13192 if test "$ac_cv_header_mpg123_h" = "yes"
13194 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for mpg123_feed in -lmpg123" >&5
13195 $as_echo_n "checking for mpg123_feed in -lmpg123... " >&6; }
13196 if ${ac_cv_lib_mpg123_mpg123_feed+:} false
; then :
13197 $as_echo_n "(cached) " >&6
13199 ac_check_lib_save_LIBS
=$LIBS
13200 LIBS
="-lmpg123 $MPG123_LIBS $LIBS"
13201 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13202 /* end confdefs.h. */
13204 /* Override any GCC internal prototype to avoid an error.
13205 Use char because int might match the return type of a GCC
13206 builtin and then its argument prototype would still apply. */
13210 char mpg123_feed ();
13214 return mpg123_feed ();
13219 if ac_fn_c_try_link
"$LINENO"; then :
13220 ac_cv_lib_mpg123_mpg123_feed
=yes
13222 ac_cv_lib_mpg123_mpg123_feed
=no
13224 rm -f core conftest.err conftest.
$ac_objext \
13225 conftest
$ac_exeext conftest.
$ac_ext
13226 LIBS
=$ac_check_lib_save_LIBS
13228 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_mpg123_mpg123_feed" >&5
13229 $as_echo "$ac_cv_lib_mpg123_mpg123_feed" >&6; }
13230 if test "x$ac_cv_lib_mpg123_mpg123_feed" = xyes
; then :
13240 CPPFLAGS
=$ac_save_CPPFLAGS
13241 test -z "$MPG123_CFLAGS" || MPG123_CFLAGS
=`echo " $MPG123_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
13242 test -z "$MPG123_LIBS" || MPG123_LIBS
=`echo " $MPG123_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
13245 if test "x$ac_cv_lib_mpg123_mpg123_feed" != xyes
-a x
"$ac_cv_header_CoreAudio_CoreAudio_h" != xyes
; then :
13246 case "x$with_mpg123" in
13247 x
) as_fn_append wine_notices
"|libmpg123 ${notice_platform}development files not found (or too old), mp3 codec won't be supported." ;;
13249 *) as_fn_error $?
"libmpg123 ${notice_platform}development files not found (or too old), mp3 codec won't be supported.
13250 This is an error since --with-mpg123 was requested." "$LINENO" 5 ;;
13253 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}
13255 if test "$ac_cv_header_AL_al_h" = "yes"
13257 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lopenal" >&5
13258 $as_echo_n "checking for -lopenal... " >&6; }
13259 if ${ac_cv_lib_soname_openal+:} false
; then :
13260 $as_echo_n "(cached) " >&6
13262 ac_check_soname_save_LIBS
=$LIBS
13263 LIBS
="-lopenal $LIBS"
13264 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13265 /* end confdefs.h. */
13267 /* Override any GCC internal prototype to avoid an error.
13268 Use char because int might match the return type of a GCC
13269 builtin and then its argument prototype would still apply. */
13273 char alGetSource3i ();
13277 return alGetSource3i ();
13282 if ac_fn_c_try_link
"$LINENO"; then :
13284 dll
) ac_cv_lib_soname_openal
=`$ac_cv_path_LDD conftest.exe | grep "openal" | sed -e "s/dll.*/dll/"';2,$d'` ;;
13285 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'` ;;
13286 *) ac_cv_lib_soname_openal
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libopenal\\.$LIBEXT" | sed -e "s/^.*\\[\\(libopenal\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
13287 if ${ac_cv_lib_soname_openal:+false} :; then :
13288 ac_cv_lib_soname_openal
=`$LDD conftest$ac_exeext | grep "libopenal\\.$LIBEXT" | sed -e "s/^.*\(libopenal\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
13292 rm -f core conftest.err conftest.
$ac_objext \
13293 conftest
$ac_exeext conftest.
$ac_ext
13294 LIBS
=$ac_check_soname_save_LIBS
13296 if ${ac_cv_lib_soname_openal:+false} :; then :
13297 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13298 $as_echo "not found" >&6; }
13301 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_openal" >&5
13302 $as_echo "$ac_cv_lib_soname_openal" >&6; }
13304 cat >>confdefs.h
<<_ACEOF
13305 #define SONAME_LIBOPENAL "$ac_cv_lib_soname_openal"
13308 OPENAL_LIBS
="-lopenal"
13310 ac_cv_lib_openal
=yes
13312 cat >>confdefs.h
<<_ACEOF
13313 #define HAVE_OPENAL 1
13318 if test "x$ac_cv_lib_openal" != xyes
; then :
13319 case "x$with_openal" in
13320 x
) as_fn_append wine_notices
"|libopenal ${notice_platform}development files not found (or too old), OpenAL won't be supported." ;;
13322 *) as_fn_error $?
"libopenal ${notice_platform}development files not found (or too old), OpenAL won't be supported.
13323 This is an error since --with-openal was requested." "$LINENO" 5 ;;
13326 test "x$ac_cv_lib_openal" = xyes || enable_openal32
=${enable_openal32:-no}
13328 if test "$ac_cv_header_kstat_h" = "yes"
13330 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for kstat_open in -lkstat" >&5
13331 $as_echo_n "checking for kstat_open in -lkstat... " >&6; }
13332 if ${ac_cv_lib_kstat_kstat_open+:} false
; then :
13333 $as_echo_n "(cached) " >&6
13335 ac_check_lib_save_LIBS
=$LIBS
13336 LIBS
="-lkstat $LIBS"
13337 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13338 /* end confdefs.h. */
13340 /* Override any GCC internal prototype to avoid an error.
13341 Use char because int might match the return type of a GCC
13342 builtin and then its argument prototype would still apply. */
13346 char kstat_open ();
13350 return kstat_open ();
13355 if ac_fn_c_try_link
"$LINENO"; then :
13356 ac_cv_lib_kstat_kstat_open
=yes
13358 ac_cv_lib_kstat_kstat_open
=no
13360 rm -f core conftest.err conftest.
$ac_objext \
13361 conftest
$ac_exeext conftest.
$ac_ext
13362 LIBS
=$ac_check_lib_save_LIBS
13364 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_kstat_kstat_open" >&5
13365 $as_echo "$ac_cv_lib_kstat_kstat_open" >&6; }
13366 if test "x$ac_cv_lib_kstat_kstat_open" = xyes
; then :
13368 $as_echo "#define HAVE_LIBKSTAT 1" >>confdefs.h
13370 KSTAT_LIBS
="-lkstat"
13376 if test "$ac_cv_header_libprocstat_h" = "yes"
13378 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for procstat_open_sysctl in -lprocstat" >&5
13379 $as_echo_n "checking for procstat_open_sysctl in -lprocstat... " >&6; }
13380 if ${ac_cv_lib_procstat_procstat_open_sysctl+:} false
; then :
13381 $as_echo_n "(cached) " >&6
13383 ac_check_lib_save_LIBS
=$LIBS
13384 LIBS
="-lprocstat $LIBS"
13385 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13386 /* end confdefs.h. */
13388 /* Override any GCC internal prototype to avoid an error.
13389 Use char because int might match the return type of a GCC
13390 builtin and then its argument prototype would still apply. */
13394 char procstat_open_sysctl ();
13398 return procstat_open_sysctl ();
13403 if ac_fn_c_try_link
"$LINENO"; then :
13404 ac_cv_lib_procstat_procstat_open_sysctl
=yes
13406 ac_cv_lib_procstat_procstat_open_sysctl
=no
13408 rm -f core conftest.err conftest.
$ac_objext \
13409 conftest
$ac_exeext conftest.
$ac_ext
13410 LIBS
=$ac_check_lib_save_LIBS
13412 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_procstat_procstat_open_sysctl" >&5
13413 $as_echo "$ac_cv_lib_procstat_procstat_open_sysctl" >&6; }
13414 if test "x$ac_cv_lib_procstat_procstat_open_sysctl" = xyes
; then :
13416 $as_echo "#define HAVE_LIBPROCSTAT 1" >>confdefs.h
13418 PROCSTAT_LIBS
="-lprocstat"
13424 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lodbc" >&5
13425 $as_echo_n "checking for -lodbc... " >&6; }
13426 if ${ac_cv_lib_soname_odbc+:} false
; then :
13427 $as_echo_n "(cached) " >&6
13429 ac_check_soname_save_LIBS
=$LIBS
13430 LIBS
="-lodbc $LIBS"
13431 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13432 /* end confdefs.h. */
13434 /* Override any GCC internal prototype to avoid an error.
13435 Use char because int might match the return type of a GCC
13436 builtin and then its argument prototype would still apply. */
13440 char SQLConnect ();
13444 return SQLConnect ();
13449 if ac_fn_c_try_link
"$LINENO"; then :
13451 dll
) ac_cv_lib_soname_odbc
=`$ac_cv_path_LDD conftest.exe | grep "odbc" | sed -e "s/dll.*/dll/"';2,$d'` ;;
13452 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'` ;;
13453 *) ac_cv_lib_soname_odbc
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libodbc\\.$LIBEXT" | sed -e "s/^.*\\[\\(libodbc\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
13454 if ${ac_cv_lib_soname_odbc:+false} :; then :
13455 ac_cv_lib_soname_odbc
=`$LDD conftest$ac_exeext | grep "libodbc\\.$LIBEXT" | sed -e "s/^.*\(libodbc\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
13459 rm -f core conftest.err conftest.
$ac_objext \
13460 conftest
$ac_exeext conftest.
$ac_ext
13461 LIBS
=$ac_check_soname_save_LIBS
13463 if ${ac_cv_lib_soname_odbc:+false} :; then :
13464 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13465 $as_echo "not found" >&6; }
13466 cat >>confdefs.h
<<_ACEOF
13467 #define SONAME_LIBODBC "libodbc.$LIBEXT"
13471 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_odbc" >&5
13472 $as_echo "$ac_cv_lib_soname_odbc" >&6; }
13474 cat >>confdefs.h
<<_ACEOF
13475 #define SONAME_LIBODBC "$ac_cv_lib_soname_odbc"
13481 if test "x$with_netapi" != "xno"
13483 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lnetapi" >&5
13484 $as_echo_n "checking for -lnetapi... " >&6; }
13485 if ${ac_cv_lib_soname_netapi+:} false
; then :
13486 $as_echo_n "(cached) " >&6
13488 ac_check_soname_save_LIBS
=$LIBS
13489 LIBS
="-lnetapi $LIBS"
13490 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13491 /* end confdefs.h. */
13493 /* Override any GCC internal prototype to avoid an error.
13494 Use char because int might match the return type of a GCC
13495 builtin and then its argument prototype would still apply. */
13499 char libnetapi_init ();
13503 return libnetapi_init ();
13508 if ac_fn_c_try_link
"$LINENO"; then :
13510 dll
) ac_cv_lib_soname_netapi
=`$ac_cv_path_LDD conftest.exe | grep "netapi" | sed -e "s/dll.*/dll/"';2,$d'` ;;
13511 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'` ;;
13512 *) ac_cv_lib_soname_netapi
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libnetapi\\.$LIBEXT" | sed -e "s/^.*\\[\\(libnetapi\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
13513 if ${ac_cv_lib_soname_netapi:+false} :; then :
13514 ac_cv_lib_soname_netapi
=`$LDD conftest$ac_exeext | grep "libnetapi\\.$LIBEXT" | sed -e "s/^.*\(libnetapi\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
13518 rm -f core conftest.err conftest.
$ac_objext \
13519 conftest
$ac_exeext conftest.
$ac_ext
13520 LIBS
=$ac_check_soname_save_LIBS
13522 if ${ac_cv_lib_soname_netapi:+false} :; then :
13523 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13524 $as_echo "not found" >&6; }
13525 cat >>confdefs.h
<<_ACEOF
13526 #define SONAME_LIBNETAPI "libnetapi.$LIBEXT"
13530 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_netapi" >&5
13531 $as_echo "$ac_cv_lib_soname_netapi" >&6; }
13533 cat >>confdefs.h
<<_ACEOF
13534 #define SONAME_LIBNETAPI "$ac_cv_lib_soname_netapi"
13541 test -n "$ALSA_LIBS" || enable_winealsa_drv
=${enable_winealsa_drv:-no}
13542 test -n "$COREAUDIO_LIBS" || enable_winecoreaudio_drv
=${enable_winecoreaudio_drv:-no}
13543 test "x$ac_cv_member_oss_sysinfo_numaudioengines" = xyes || enable_wineoss_drv
=${enable_wineoss_drv:-no}
13544 test "$ac_cv_header_linux_joystick_h" = "yes" || enable_winejoystick_drv
=${enable_winejoystick_drv:-no}
13546 if test "x$ALSA_LIBS$COREAUDIO_LIBS" = "x" -a \
13547 "x$ac_cv_member_oss_sysinfo_numaudioengines" != xyes
-a \
13548 "x$with_alsa$with_coreaudio$with_oss" != xnonono
13550 as_fn_append wine_warnings
"|No sound system was found. Windows applications will be silent."
13556 if test "x${GCC}" = "xyes"
13558 EXTRACFLAGS
="-Wall -pipe"
13560 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gcc strength-reduce bug" >&5
13561 $as_echo_n "checking for gcc strength-reduce bug... " >&6; }
13562 if ${ac_cv_c_gcc_strength_bug+:} false
; then :
13563 $as_echo_n "(cached) " >&6
13565 if test "$cross_compiling" = yes; then :
13566 ac_cv_c_gcc_strength_bug
="yes"
13568 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13569 /* end confdefs.h. */
13570 int L[4] = {0,1,2,3};
13574 static int Array[3];
13575 unsigned int B = 3;
13577 for(i=0; i<B; i++) Array[i] = i - 3;
13578 for(i=0; i<4 - 1; i++) L[i] = L[i + 1];
13580 return (Array[1] != -2 || L[2] != 3)
13585 if ac_fn_c_try_run
"$LINENO"; then :
13586 ac_cv_c_gcc_strength_bug
="no"
13588 ac_cv_c_gcc_strength_bug
="yes"
13590 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext \
13591 conftest.
$ac_objext conftest.beam conftest.
$ac_ext
13595 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_gcc_strength_bug" >&5
13596 $as_echo "$ac_cv_c_gcc_strength_bug" >&6; }
13597 if test "$ac_cv_c_gcc_strength_bug" = "yes"
13599 EXTRACFLAGS
="$EXTRACFLAGS -fno-strength-reduce"
13602 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fno-builtin" >&5
13603 $as_echo_n "checking whether the compiler supports -fno-builtin... " >&6; }
13604 if ${ac_cv_cflags__fno_builtin+:} false
; then :
13605 $as_echo_n "(cached) " >&6
13607 ac_wine_try_cflags_saved
=$CFLAGS
13608 CFLAGS
="$CFLAGS -fno-builtin"
13609 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13610 /* end confdefs.h. */
13611 int main(int argc, char **argv) { return 0; }
13613 if ac_fn_c_try_link
"$LINENO"; then :
13614 ac_cv_cflags__fno_builtin
=yes
13616 ac_cv_cflags__fno_builtin
=no
13618 rm -f core conftest.err conftest.
$ac_objext \
13619 conftest
$ac_exeext conftest.
$ac_ext
13620 CFLAGS
=$ac_wine_try_cflags_saved
13622 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fno_builtin" >&5
13623 $as_echo "$ac_cv_cflags__fno_builtin" >&6; }
13624 if test "x$ac_cv_cflags__fno_builtin" = xyes
; then :
13625 BUILTINFLAG
="-fno-builtin"
13628 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fno-strict-aliasing" >&5
13629 $as_echo_n "checking whether the compiler supports -fno-strict-aliasing... " >&6; }
13630 if ${ac_cv_cflags__fno_strict_aliasing+:} false
; then :
13631 $as_echo_n "(cached) " >&6
13633 ac_wine_try_cflags_saved
=$CFLAGS
13634 CFLAGS
="$CFLAGS -fno-strict-aliasing"
13635 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13636 /* end confdefs.h. */
13637 int main(int argc, char **argv) { return 0; }
13639 if ac_fn_c_try_link
"$LINENO"; then :
13640 ac_cv_cflags__fno_strict_aliasing
=yes
13642 ac_cv_cflags__fno_strict_aliasing
=no
13644 rm -f core conftest.err conftest.
$ac_objext \
13645 conftest
$ac_exeext conftest.
$ac_ext
13646 CFLAGS
=$ac_wine_try_cflags_saved
13648 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fno_strict_aliasing" >&5
13649 $as_echo "$ac_cv_cflags__fno_strict_aliasing" >&6; }
13650 if test "x$ac_cv_cflags__fno_strict_aliasing" = xyes
; then :
13651 EXTRACFLAGS
="$EXTRACFLAGS -fno-strict-aliasing"
13653 saved_CFLAGS
=$CFLAGS
13654 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Werror=unknown-warning-option" >&5
13655 $as_echo_n "checking whether the compiler supports -Werror=unknown-warning-option... " >&6; }
13656 if ${ac_cv_cflags__Werror_unknown_warning_option+:} false
; then :
13657 $as_echo_n "(cached) " >&6
13659 ac_wine_try_cflags_saved
=$CFLAGS
13660 CFLAGS
="$CFLAGS -Werror=unknown-warning-option"
13661 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13662 /* end confdefs.h. */
13663 int main(int argc, char **argv) { return 0; }
13665 if ac_fn_c_try_link
"$LINENO"; then :
13666 ac_cv_cflags__Werror_unknown_warning_option
=yes
13668 ac_cv_cflags__Werror_unknown_warning_option
=no
13670 rm -f core conftest.err conftest.
$ac_objext \
13671 conftest
$ac_exeext conftest.
$ac_ext
13672 CFLAGS
=$ac_wine_try_cflags_saved
13674 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Werror_unknown_warning_option" >&5
13675 $as_echo "$ac_cv_cflags__Werror_unknown_warning_option" >&6; }
13676 if test "x$ac_cv_cflags__Werror_unknown_warning_option" = xyes
; then :
13677 CFLAGS
="$CFLAGS -Werror=unknown-warning-option"
13679 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wdeclaration-after-statement" >&5
13680 $as_echo_n "checking whether the compiler supports -Wdeclaration-after-statement... " >&6; }
13681 if ${ac_cv_cflags__Wdeclaration_after_statement+:} false
; then :
13682 $as_echo_n "(cached) " >&6
13684 ac_wine_try_cflags_saved
=$CFLAGS
13685 CFLAGS
="$CFLAGS -Wdeclaration-after-statement"
13686 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13687 /* end confdefs.h. */
13688 int main(int argc, char **argv) { return 0; }
13690 if ac_fn_c_try_link
"$LINENO"; then :
13691 ac_cv_cflags__Wdeclaration_after_statement
=yes
13693 ac_cv_cflags__Wdeclaration_after_statement
=no
13695 rm -f core conftest.err conftest.
$ac_objext \
13696 conftest
$ac_exeext conftest.
$ac_ext
13697 CFLAGS
=$ac_wine_try_cflags_saved
13699 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wdeclaration_after_statement" >&5
13700 $as_echo "$ac_cv_cflags__Wdeclaration_after_statement" >&6; }
13701 if test "x$ac_cv_cflags__Wdeclaration_after_statement" = xyes
; then :
13702 EXTRACFLAGS
="$EXTRACFLAGS -Wdeclaration-after-statement"
13704 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wempty-body" >&5
13705 $as_echo_n "checking whether the compiler supports -Wempty-body... " >&6; }
13706 if ${ac_cv_cflags__Wempty_body+:} false
; then :
13707 $as_echo_n "(cached) " >&6
13709 ac_wine_try_cflags_saved
=$CFLAGS
13710 CFLAGS
="$CFLAGS -Wempty-body"
13711 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13712 /* end confdefs.h. */
13713 int main(int argc, char **argv) { return 0; }
13715 if ac_fn_c_try_link
"$LINENO"; then :
13716 ac_cv_cflags__Wempty_body
=yes
13718 ac_cv_cflags__Wempty_body
=no
13720 rm -f core conftest.err conftest.
$ac_objext \
13721 conftest
$ac_exeext conftest.
$ac_ext
13722 CFLAGS
=$ac_wine_try_cflags_saved
13724 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wempty_body" >&5
13725 $as_echo "$ac_cv_cflags__Wempty_body" >&6; }
13726 if test "x$ac_cv_cflags__Wempty_body" = xyes
; then :
13727 EXTRACFLAGS
="$EXTRACFLAGS -Wempty-body"
13729 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wignored-qualifiers" >&5
13730 $as_echo_n "checking whether the compiler supports -Wignored-qualifiers... " >&6; }
13731 if ${ac_cv_cflags__Wignored_qualifiers+:} false
; then :
13732 $as_echo_n "(cached) " >&6
13734 ac_wine_try_cflags_saved
=$CFLAGS
13735 CFLAGS
="$CFLAGS -Wignored-qualifiers"
13736 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13737 /* end confdefs.h. */
13738 int main(int argc, char **argv) { return 0; }
13740 if ac_fn_c_try_link
"$LINENO"; then :
13741 ac_cv_cflags__Wignored_qualifiers
=yes
13743 ac_cv_cflags__Wignored_qualifiers
=no
13745 rm -f core conftest.err conftest.
$ac_objext \
13746 conftest
$ac_exeext conftest.
$ac_ext
13747 CFLAGS
=$ac_wine_try_cflags_saved
13749 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wignored_qualifiers" >&5
13750 $as_echo "$ac_cv_cflags__Wignored_qualifiers" >&6; }
13751 if test "x$ac_cv_cflags__Wignored_qualifiers" = xyes
; then :
13752 EXTRACFLAGS
="$EXTRACFLAGS -Wignored-qualifiers"
13754 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wstrict-prototypes" >&5
13755 $as_echo_n "checking whether the compiler supports -Wstrict-prototypes... " >&6; }
13756 if ${ac_cv_cflags__Wstrict_prototypes+:} false
; then :
13757 $as_echo_n "(cached) " >&6
13759 ac_wine_try_cflags_saved
=$CFLAGS
13760 CFLAGS
="$CFLAGS -Wstrict-prototypes"
13761 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13762 /* end confdefs.h. */
13763 int main(int argc, char **argv) { return 0; }
13765 if ac_fn_c_try_link
"$LINENO"; then :
13766 ac_cv_cflags__Wstrict_prototypes
=yes
13768 ac_cv_cflags__Wstrict_prototypes
=no
13770 rm -f core conftest.err conftest.
$ac_objext \
13771 conftest
$ac_exeext conftest.
$ac_ext
13772 CFLAGS
=$ac_wine_try_cflags_saved
13774 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wstrict_prototypes" >&5
13775 $as_echo "$ac_cv_cflags__Wstrict_prototypes" >&6; }
13776 if test "x$ac_cv_cflags__Wstrict_prototypes" = xyes
; then :
13777 EXTRACFLAGS
="$EXTRACFLAGS -Wstrict-prototypes"
13779 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wtype-limits" >&5
13780 $as_echo_n "checking whether the compiler supports -Wtype-limits... " >&6; }
13781 if ${ac_cv_cflags__Wtype_limits+:} false
; then :
13782 $as_echo_n "(cached) " >&6
13784 ac_wine_try_cflags_saved
=$CFLAGS
13785 CFLAGS
="$CFLAGS -Wtype-limits"
13786 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13787 /* end confdefs.h. */
13788 int main(int argc, char **argv) { return 0; }
13790 if ac_fn_c_try_link
"$LINENO"; then :
13791 ac_cv_cflags__Wtype_limits
=yes
13793 ac_cv_cflags__Wtype_limits
=no
13795 rm -f core conftest.err conftest.
$ac_objext \
13796 conftest
$ac_exeext conftest.
$ac_ext
13797 CFLAGS
=$ac_wine_try_cflags_saved
13799 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wtype_limits" >&5
13800 $as_echo "$ac_cv_cflags__Wtype_limits" >&6; }
13801 if test "x$ac_cv_cflags__Wtype_limits" = xyes
; then :
13802 EXTRACFLAGS
="$EXTRACFLAGS -Wtype-limits"
13804 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wunused-but-set-parameter" >&5
13805 $as_echo_n "checking whether the compiler supports -Wunused-but-set-parameter... " >&6; }
13806 if ${ac_cv_cflags__Wunused_but_set_parameter+:} false
; then :
13807 $as_echo_n "(cached) " >&6
13809 ac_wine_try_cflags_saved
=$CFLAGS
13810 CFLAGS
="$CFLAGS -Wunused-but-set-parameter"
13811 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13812 /* end confdefs.h. */
13813 int main(int argc, char **argv) { return 0; }
13815 if ac_fn_c_try_link
"$LINENO"; then :
13816 ac_cv_cflags__Wunused_but_set_parameter
=yes
13818 ac_cv_cflags__Wunused_but_set_parameter
=no
13820 rm -f core conftest.err conftest.
$ac_objext \
13821 conftest
$ac_exeext conftest.
$ac_ext
13822 CFLAGS
=$ac_wine_try_cflags_saved
13824 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wunused_but_set_parameter" >&5
13825 $as_echo "$ac_cv_cflags__Wunused_but_set_parameter" >&6; }
13826 if test "x$ac_cv_cflags__Wunused_but_set_parameter" = xyes
; then :
13827 EXTRACFLAGS
="$EXTRACFLAGS -Wunused-but-set-parameter"
13829 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wvla" >&5
13830 $as_echo_n "checking whether the compiler supports -Wvla... " >&6; }
13831 if ${ac_cv_cflags__Wvla+:} false
; then :
13832 $as_echo_n "(cached) " >&6
13834 ac_wine_try_cflags_saved
=$CFLAGS
13835 CFLAGS
="$CFLAGS -Wvla"
13836 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13837 /* end confdefs.h. */
13838 int main(int argc, char **argv) { return 0; }
13840 if ac_fn_c_try_link
"$LINENO"; then :
13841 ac_cv_cflags__Wvla
=yes
13843 ac_cv_cflags__Wvla
=no
13845 rm -f core conftest.err conftest.
$ac_objext \
13846 conftest
$ac_exeext conftest.
$ac_ext
13847 CFLAGS
=$ac_wine_try_cflags_saved
13849 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wvla" >&5
13850 $as_echo "$ac_cv_cflags__Wvla" >&6; }
13851 if test "x$ac_cv_cflags__Wvla" = xyes
; then :
13852 EXTRACFLAGS
="$EXTRACFLAGS -Wvla"
13854 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wwrite-strings" >&5
13855 $as_echo_n "checking whether the compiler supports -Wwrite-strings... " >&6; }
13856 if ${ac_cv_cflags__Wwrite_strings+:} false
; then :
13857 $as_echo_n "(cached) " >&6
13859 ac_wine_try_cflags_saved
=$CFLAGS
13860 CFLAGS
="$CFLAGS -Wwrite-strings"
13861 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13862 /* end confdefs.h. */
13863 int main(int argc, char **argv) { return 0; }
13865 if ac_fn_c_try_link
"$LINENO"; then :
13866 ac_cv_cflags__Wwrite_strings
=yes
13868 ac_cv_cflags__Wwrite_strings
=no
13870 rm -f core conftest.err conftest.
$ac_objext \
13871 conftest
$ac_exeext conftest.
$ac_ext
13872 CFLAGS
=$ac_wine_try_cflags_saved
13874 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wwrite_strings" >&5
13875 $as_echo "$ac_cv_cflags__Wwrite_strings" >&6; }
13876 if test "x$ac_cv_cflags__Wwrite_strings" = xyes
; then :
13877 EXTRACFLAGS
="$EXTRACFLAGS -Wwrite-strings"
13880 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wpointer-arith" >&5
13881 $as_echo_n "checking whether the compiler supports -Wpointer-arith... " >&6; }
13882 if ${ac_cv_cflags__Wpointer_arith+:} false
; then :
13883 $as_echo_n "(cached) " >&6
13885 ac_wine_try_cflags_saved
=$CFLAGS
13886 CFLAGS
="$CFLAGS -Wpointer-arith"
13887 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13888 /* end confdefs.h. */
13889 int main(int argc, char **argv) { return 0; }
13891 if ac_fn_c_try_link
"$LINENO"; then :
13892 ac_cv_cflags__Wpointer_arith
=yes
13894 ac_cv_cflags__Wpointer_arith
=no
13896 rm -f core conftest.err conftest.
$ac_objext \
13897 conftest
$ac_exeext conftest.
$ac_ext
13898 CFLAGS
=$ac_wine_try_cflags_saved
13900 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wpointer_arith" >&5
13901 $as_echo "$ac_cv_cflags__Wpointer_arith" >&6; }
13902 if test "x$ac_cv_cflags__Wpointer_arith" = xyes
; then :
13903 saved_string_h_CFLAGS
=$CFLAGS
13904 CFLAGS
="$CFLAGS -Wpointer-arith -Werror"
13905 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for broken string.h that generates warnings with -Wpointer-arith" >&5
13906 $as_echo_n "checking for broken string.h that generates warnings with -Wpointer-arith... " >&6; }
13907 if ${ac_cv_c_string_h_warnings+:} false
; then :
13908 $as_echo_n "(cached) " >&6
13910 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13911 /* end confdefs.h. */
13912 #include <string.h>
13921 if ac_fn_c_try_compile
"$LINENO"; then :
13922 ac_cv_c_string_h_warnings
=no
13924 ac_cv_c_string_h_warnings
=yes
13926 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
13928 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_string_h_warnings" >&5
13929 $as_echo "$ac_cv_c_string_h_warnings" >&6; }
13930 test "$ac_cv_c_string_h_warnings" = yes || EXTRACFLAGS
="$EXTRACFLAGS -Wpointer-arith"
13931 CFLAGS
=$saved_string_h_CFLAGS
13934 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wlogical-op" >&5
13935 $as_echo_n "checking whether the compiler supports -Wlogical-op... " >&6; }
13936 if ${ac_cv_cflags__Wlogical_op+:} false
; then :
13937 $as_echo_n "(cached) " >&6
13939 ac_wine_try_cflags_saved
=$CFLAGS
13940 CFLAGS
="$CFLAGS -Wlogical-op"
13941 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13942 /* end confdefs.h. */
13943 int main(int argc, char **argv) { return 0; }
13945 if ac_fn_c_try_link
"$LINENO"; then :
13946 ac_cv_cflags__Wlogical_op
=yes
13948 ac_cv_cflags__Wlogical_op
=no
13950 rm -f core conftest.err conftest.
$ac_objext \
13951 conftest
$ac_exeext conftest.
$ac_ext
13952 CFLAGS
=$ac_wine_try_cflags_saved
13954 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wlogical_op" >&5
13955 $as_echo "$ac_cv_cflags__Wlogical_op" >&6; }
13956 if test "x$ac_cv_cflags__Wlogical_op" = xyes
; then :
13957 saved_string_h_CFLAGS
=$CFLAGS
13958 CFLAGS
="$CFLAGS -Wlogical-op -Werror"
13959 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for broken string.h that generates warnings with -Wlogical-op" >&5
13960 $as_echo_n "checking for broken string.h that generates warnings with -Wlogical-op... " >&6; }
13961 if ${ac_cv_c_logicalop_noisy+:} false
; then :
13962 $as_echo_n "(cached) " >&6
13964 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13965 /* end confdefs.h. */
13966 #include <string.h>
13967 char*f(const char *h,char n) {return strchr(h,n);}
13976 if ac_fn_c_try_compile
"$LINENO"; then :
13977 ac_cv_c_logicalop_noisy
=no
13979 ac_cv_c_logicalop_noisy
=yes
13981 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
13983 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_logicalop_noisy" >&5
13984 $as_echo "$ac_cv_c_logicalop_noisy" >&6; }
13985 CFLAGS
=$saved_string_h_CFLAGS
13986 test "$ac_cv_c_logicalop_noisy" = yes || EXTRACFLAGS
="$EXTRACFLAGS -Wlogical-op"
13989 CFLAGS
=$saved_CFLAGS
13991 for ac_flag
in $CFLAGS; do
13993 -g) case $host_os in
13994 darwin
*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -gstabs+" >&5
13995 $as_echo_n "checking whether the compiler supports -gstabs+... " >&6; }
13996 if ${ac_cv_cflags__gstabsp+:} false
; then :
13997 $as_echo_n "(cached) " >&6
13999 ac_wine_try_cflags_saved
=$CFLAGS
14000 CFLAGS
="$CFLAGS -gstabs+"
14001 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14002 /* end confdefs.h. */
14003 int main(int argc, char **argv) { return 0; }
14005 if ac_fn_c_try_link
"$LINENO"; then :
14006 ac_cv_cflags__gstabsp
=yes
14008 ac_cv_cflags__gstabsp
=no
14010 rm -f core conftest.err conftest.
$ac_objext \
14011 conftest
$ac_exeext conftest.
$ac_ext
14012 CFLAGS
=$ac_wine_try_cflags_saved
14014 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__gstabsp" >&5
14015 $as_echo "$ac_cv_cflags__gstabsp" >&6; }
14016 if test "x$ac_cv_cflags__gstabsp" = xyes
; then :
14017 EXTRACFLAGS
="$EXTRACFLAGS -gstabs+"
14019 *) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -gdwarf-2" >&5
14020 $as_echo_n "checking whether the compiler supports -gdwarf-2... " >&6; }
14021 if ${ac_cv_cflags__gdwarf_2+:} false
; then :
14022 $as_echo_n "(cached) " >&6
14024 ac_wine_try_cflags_saved
=$CFLAGS
14025 CFLAGS
="$CFLAGS -gdwarf-2"
14026 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14027 /* end confdefs.h. */
14028 int main(int argc, char **argv) { return 0; }
14030 if ac_fn_c_try_link
"$LINENO"; then :
14031 ac_cv_cflags__gdwarf_2
=yes
14033 ac_cv_cflags__gdwarf_2
=no
14035 rm -f core conftest.err conftest.
$ac_objext \
14036 conftest
$ac_exeext conftest.
$ac_ext
14037 CFLAGS
=$ac_wine_try_cflags_saved
14039 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__gdwarf_2" >&5
14040 $as_echo "$ac_cv_cflags__gdwarf_2" >&6; }
14041 if test "x$ac_cv_cflags__gdwarf_2" = xyes
; then :
14042 EXTRACFLAGS
="$EXTRACFLAGS -gdwarf-2"
14044 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -gstrict-dwarf" >&5
14045 $as_echo_n "checking whether the compiler supports -gstrict-dwarf... " >&6; }
14046 if ${ac_cv_cflags__gstrict_dwarf+:} false
; then :
14047 $as_echo_n "(cached) " >&6
14049 ac_wine_try_cflags_saved
=$CFLAGS
14050 CFLAGS
="$CFLAGS -gstrict-dwarf"
14051 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14052 /* end confdefs.h. */
14053 int main(int argc, char **argv) { return 0; }
14055 if ac_fn_c_try_link
"$LINENO"; then :
14056 ac_cv_cflags__gstrict_dwarf
=yes
14058 ac_cv_cflags__gstrict_dwarf
=no
14060 rm -f core conftest.err conftest.
$ac_objext \
14061 conftest
$ac_exeext conftest.
$ac_ext
14062 CFLAGS
=$ac_wine_try_cflags_saved
14064 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__gstrict_dwarf" >&5
14065 $as_echo "$ac_cv_cflags__gstrict_dwarf" >&6; }
14066 if test "x$ac_cv_cflags__gstrict_dwarf" = xyes
; then :
14067 EXTRACFLAGS
="$EXTRACFLAGS -gstrict-dwarf"
14074 *i
[3456789]86*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fno-omit-frame-pointer" >&5
14075 $as_echo_n "checking whether the compiler supports -fno-omit-frame-pointer... " >&6; }
14076 if ${ac_cv_cflags__fno_omit_frame_pointer+:} false
; then :
14077 $as_echo_n "(cached) " >&6
14079 ac_wine_try_cflags_saved
=$CFLAGS
14080 CFLAGS
="$CFLAGS -fno-omit-frame-pointer"
14081 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14082 /* end confdefs.h. */
14083 int main(int argc, char **argv) { return 0; }
14085 if ac_fn_c_try_link
"$LINENO"; then :
14086 ac_cv_cflags__fno_omit_frame_pointer
=yes
14088 ac_cv_cflags__fno_omit_frame_pointer
=no
14090 rm -f core conftest.err conftest.
$ac_objext \
14091 conftest
$ac_exeext conftest.
$ac_ext
14092 CFLAGS
=$ac_wine_try_cflags_saved
14094 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fno_omit_frame_pointer" >&5
14095 $as_echo "$ac_cv_cflags__fno_omit_frame_pointer" >&6; }
14096 if test "x$ac_cv_cflags__fno_omit_frame_pointer" = xyes
; then :
14097 EXTRACFLAGS
="$EXTRACFLAGS -fno-omit-frame-pointer"
14102 x86_64-
*mingw32
*|x86_64-
*cygwin
*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wno-format" >&5
14103 $as_echo_n "checking whether the compiler supports -Wno-format... " >&6; }
14104 if ${ac_cv_cflags__Wno_format+:} false
; then :
14105 $as_echo_n "(cached) " >&6
14107 ac_wine_try_cflags_saved
=$CFLAGS
14108 CFLAGS
="$CFLAGS -Wno-format"
14109 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14110 /* end confdefs.h. */
14111 int main(int argc, char **argv) { return 0; }
14113 if ac_fn_c_try_link
"$LINENO"; then :
14114 ac_cv_cflags__Wno_format
=yes
14116 ac_cv_cflags__Wno_format
=no
14118 rm -f core conftest.err conftest.
$ac_objext \
14119 conftest
$ac_exeext conftest.
$ac_ext
14120 CFLAGS
=$ac_wine_try_cflags_saved
14122 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wno_format" >&5
14123 $as_echo "$ac_cv_cflags__Wno_format" >&6; }
14124 if test "x$ac_cv_cflags__Wno_format" = xyes
; then :
14125 EXTRACFLAGS
="$EXTRACFLAGS -Wno-format"
14129 if test "x$enable_maintainer_mode" = "xyes"
14131 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Werror" >&5
14132 $as_echo_n "checking whether the compiler supports -Werror... " >&6; }
14133 if ${ac_cv_cflags__Werror+:} false
; then :
14134 $as_echo_n "(cached) " >&6
14136 ac_wine_try_cflags_saved
=$CFLAGS
14137 CFLAGS
="$CFLAGS -Werror"
14138 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14139 /* end confdefs.h. */
14140 int main(int argc, char **argv) { return 0; }
14142 if ac_fn_c_try_link
"$LINENO"; then :
14143 ac_cv_cflags__Werror
=yes
14145 ac_cv_cflags__Werror
=no
14147 rm -f core conftest.err conftest.
$ac_objext \
14148 conftest
$ac_exeext conftest.
$ac_ext
14149 CFLAGS
=$ac_wine_try_cflags_saved
14151 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Werror" >&5
14152 $as_echo "$ac_cv_cflags__Werror" >&6; }
14153 if test "x$ac_cv_cflags__Werror" = xyes
; then :
14154 EXTRACFLAGS
="$EXTRACFLAGS -Werror"
14158 saved_CFLAGS
="$CFLAGS"
14159 CFLAGS
="$CFLAGS -Werror"
14160 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ms_hook_prologue attribute" >&5
14161 $as_echo_n "checking for ms_hook_prologue attribute... " >&6; }
14162 if ${ac_cv_have_ms_hook_prologue+:} false
; then :
14163 $as_echo_n "(cached) " >&6
14165 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14166 /* end confdefs.h. */
14167 int __attribute__((__ms_hook_prologue__)) test(void) { return 0; }
14176 if ac_fn_c_try_compile
"$LINENO"; then :
14177 ac_cv_have_ms_hook_prologue
="yes"
14179 ac_cv_have_ms_hook_prologue
="no"
14181 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
14183 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_ms_hook_prologue" >&5
14184 $as_echo "$ac_cv_have_ms_hook_prologue" >&6; }
14185 CFLAGS
="$saved_CFLAGS"
14186 if test "$ac_cv_have_ms_hook_prologue" = "yes"
14189 $as_echo "#define DECLSPEC_HOTPATCH __attribute__((__ms_hook_prologue__))" >>confdefs.h
14192 $as_echo "#define DECLSPEC_HOTPATCH /* */" >>confdefs.h
14198 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for the need to disable Fortify" >&5
14199 $as_echo_n "checking for the need to disable Fortify... " >&6; }
14200 if ${ac_cv_c_fortify_enabled+:} false
; then :
14201 $as_echo_n "(cached) " >&6
14203 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14204 /* end confdefs.h. */
14205 #include <string.h>
14209 #if defined(__USE_FORTIFY_LEVEL) && __USE_FORTIFY_LEVEL > 0
14210 #error Fortify enabled
14216 if ac_fn_c_try_compile
"$LINENO"; then :
14217 ac_cv_c_fortify_enabled
=no
14219 ac_cv_c_fortify_enabled
=yes
14221 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
14223 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_fortify_enabled" >&5
14224 $as_echo "$ac_cv_c_fortify_enabled" >&6; }
14225 if test "$ac_cv_c_fortify_enabled" = yes
14227 CFLAGS
="$CFLAGS -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=0"
14231 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether external symbols need an underscore prefix" >&5
14232 $as_echo_n "checking whether external symbols need an underscore prefix... " >&6; }
14233 if ${ac_cv_c_extern_prefix+:} false
; then :
14234 $as_echo_n "(cached) " >&6
14236 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14237 /* end confdefs.h. */
14238 extern int ac_test;
14242 asm(".globl _ac_test\n_ac_test:\t.long 0"); if (ac_test) return 1
14247 if ac_fn_c_try_link
"$LINENO"; then :
14248 ac_cv_c_extern_prefix
="yes"
14250 ac_cv_c_extern_prefix
="no"
14252 rm -f core conftest.err conftest.
$ac_objext \
14253 conftest
$ac_exeext conftest.
$ac_ext
14255 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_extern_prefix" >&5
14256 $as_echo "$ac_cv_c_extern_prefix" >&6; }
14260 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether external symbols need stdcall decoration" >&5
14261 $as_echo_n "checking whether external symbols need stdcall decoration... " >&6; }
14262 if ${ac_cv_c_stdcall_suffix+:} false
; then :
14263 $as_echo_n "(cached) " >&6
14265 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14266 /* end confdefs.h. */
14268 #define __stdcall __attribute__((__stdcall__))
14270 int __stdcall ac_test(int i) { return i; }
14274 asm("jmp _ac_test@4"); if (ac_test(1)) return 1
14279 if ac_fn_c_try_link
"$LINENO"; then :
14280 ac_cv_c_stdcall_suffix
="yes"
14282 ac_cv_c_stdcall_suffix
="no"
14284 rm -f core conftest.err conftest.
$ac_objext \
14285 conftest
$ac_exeext conftest.
$ac_ext
14287 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_stdcall_suffix" >&5
14288 $as_echo "$ac_cv_c_stdcall_suffix" >&6; } ;;
14289 *) ac_cv_c_stdcall_suffix
="no" ;;
14293 if test "$ac_cv_c_extern_prefix" = "yes"
14295 $as_echo "#define __ASM_NAME(name) \"_\" name" >>confdefs.h
14297 asm_name_prefix
="_"
14299 $as_echo "#define __ASM_NAME(name) name" >>confdefs.h
14305 if test "$ac_cv_c_stdcall_suffix" = "yes"
14307 $as_echo "#define __ASM_STDCALL(args) \"@\" #args" >>confdefs.h
14310 $as_echo "#define __ASM_STDCALL(args) \"\"" >>confdefs.h
14315 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to define a function in assembly code" >&5
14316 $as_echo_n "checking how to define a function in assembly code... " >&6; }
14317 if ${ac_cv_asm_func_def+:} false
; then :
14318 $as_echo_n "(cached) " >&6
14320 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14321 /* end confdefs.h. */
14326 asm("\t.globl _ac_test\n\t.def _ac_test; .scl 2; .type 32; .endef\n_ac_test:\t.long 0");
14331 if ac_fn_c_try_link
"$LINENO"; then :
14332 ac_cv_asm_func_def
=".def"
14334 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14335 /* end confdefs.h. */
14340 asm("\t.globl _ac_test\n\t.type _ac_test,@function\n_ac_test:\t.long 0");
14345 if ac_fn_c_try_link
"$LINENO"; then :
14346 ac_cv_asm_func_def
=".type @function"
14348 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14349 /* end confdefs.h. */
14354 asm("\t.globl _ac_test\n\t.type _ac_test,2\n_ac_test:\t.long 0");
14359 if ac_fn_c_try_link
"$LINENO"; then :
14360 ac_cv_asm_func_def
=".type 2"
14362 ac_cv_asm_func_def
="unknown"
14364 rm -f core conftest.err conftest.
$ac_objext \
14365 conftest
$ac_exeext conftest.
$ac_ext
14367 rm -f core conftest.err conftest.
$ac_objext \
14368 conftest
$ac_exeext conftest.
$ac_ext
14370 rm -f core conftest.err conftest.
$ac_objext \
14371 conftest
$ac_exeext conftest.
$ac_ext
14373 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_asm_func_def" >&5
14374 $as_echo "$ac_cv_asm_func_def" >&6; }
14377 case "$ac_cv_asm_func_def" in
14379 $as_echo "#define __ASM_FUNC(name) \".def \" __ASM_NAME(name) \"; .scl 2; .type 32; .endef\"" >>confdefs.h
14381 asm_func_header
=".def $asm_name_prefix\" #name suffix \"; .scl 2; .type 32; .endef" ;;
14383 $as_echo "#define __ASM_FUNC(name) \".type \" __ASM_NAME(name) \",@function\"" >>confdefs.h
14385 asm_func_header
=".type $asm_name_prefix\" #name suffix \",@function" ;;
14387 $as_echo "#define __ASM_FUNC(name) \".type \" __ASM_NAME(name) \",2\"" >>confdefs.h
14389 asm_func_header
=".type $asm_name_prefix\" #name suffix \",2" ;;
14391 $as_echo "#define __ASM_FUNC(name) \"\"" >>confdefs.h
14393 asm_func_header
="" ;;
14396 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether asm() works outside of functions" >&5
14397 $as_echo_n "checking whether asm() works outside of functions... " >&6; }
14398 if ${ac_cv_c_asm_outside_funcs+:} false
; then :
14399 $as_echo_n "(cached) " >&6
14401 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14402 /* end confdefs.h. */
14403 asm(".text\n\t.long 0");
14412 if ac_fn_c_try_compile
"$LINENO"; then :
14413 ac_cv_c_asm_outside_funcs
="yes"
14415 ac_cv_c_asm_outside_funcs
="no"
14417 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
14419 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_asm_outside_funcs" >&5
14420 $as_echo "$ac_cv_c_asm_outside_funcs" >&6; }
14422 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether .previous is supported in assembly code" >&5
14423 $as_echo_n "checking whether .previous is supported in assembly code... " >&6; }
14424 if ${ac_cv_c_dot_previous+:} false
; then :
14425 $as_echo_n "(cached) " >&6
14427 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14428 /* end confdefs.h. */
14433 asm(".text\nac_test:\t.long 0\n\t.previous");
14438 if ac_fn_c_try_link
"$LINENO"; then :
14439 ac_cv_c_dot_previous
="yes"
14441 ac_cv_c_dot_previous
="no"
14443 rm -f core conftest.err conftest.
$ac_objext \
14444 conftest
$ac_exeext conftest.
$ac_ext
14446 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_dot_previous" >&5
14447 $as_echo "$ac_cv_c_dot_previous" >&6; }
14449 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether CFI directives are supported in assembly code" >&5
14450 $as_echo_n "checking whether CFI directives are supported in assembly code... " >&6; }
14451 if ${ac_cv_c_cfi_support+:} false
; then :
14452 $as_echo_n "(cached) " >&6
14454 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14455 /* end confdefs.h. */
14456 asm(".text\nac_test:\t.cfi_startproc\n\t.long 0\n\t.cfi_endproc");
14465 if ac_fn_c_try_compile
"$LINENO"; then :
14466 ac_cv_c_cfi_support
="yes"
14468 ac_cv_c_cfi_support
="no"
14470 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
14472 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_cfi_support" >&5
14473 $as_echo "$ac_cv_c_cfi_support" >&6; }
14475 asm_func_header
=".globl $asm_name_prefix\" #name suffix \"\\n\\t$asm_func_header\\n$asm_name_prefix\" #name suffix \":\\n\\t"
14476 asm_func_trailer
=""
14477 if test "$ac_cv_c_dot_previous" = "yes"
14479 asm_func_trailer
="\\n\\t.previous"
14481 if test "$ac_cv_c_cfi_support" = "yes"
14483 asm_func_header
="$asm_func_header.cfi_startproc\\n\\t"
14484 asm_func_trailer
="\\n\\t.cfi_endproc$asm_func_trailer"
14486 $as_echo "#define __ASM_CFI(str) str" >>confdefs.h
14488 UNWINDFLAGS
=-fasynchronous-unwind-tables
14491 $as_echo "#define __ASM_CFI(str) \"\"" >>confdefs.h
14495 asm_func_code
="$asm_func_header\" code \"$asm_func_trailer"
14498 if test "$ac_cv_c_asm_outside_funcs" = "yes"
14500 cat >>confdefs.h
<<_ACEOF
14501 #define __ASM_DEFINE_FUNC(name,suffix,code) asm(".text\n\t.align 4\n\t$asm_func_code");
14505 cat >>confdefs.h
<<_ACEOF
14506 #define __ASM_DEFINE_FUNC(name,suffix,code) void __asm_dummy_##name(void) { asm(".text\n\t.align 4\n\t$asm_func_code"); }
14511 $as_echo "#define __ASM_GLOBAL_FUNC(name,code) __ASM_DEFINE_FUNC(name,\"\",code)" >>confdefs.h
14514 $as_echo "#define __ASM_STDCALL_FUNC(name,args,code) __ASM_DEFINE_FUNC(name,__ASM_STDCALL(args),code)" >>confdefs.h
14519 cygwin
*|mingw32
*) TOOLSEXT
=".exe"
14526 *i
[3456789]86*|x86_64
*)
14527 test "$wine_binary" = wine || wine_fn_ignore_file
"loader/wine-preloader"
14528 loader_programs
="$loader_programs $wine_binary-preloader"
14529 as_fn_append LOADER_RULES
"
14530 $wine_binary-preloader: preloader.o
14531 \$(CC) -o \$@ -static -nostartfiles -nodefaultlibs -Wl,-Ttext=0x7c400000 preloader.o \$(LIBPORT) \$(LDFLAGS)
14533 install install-lib:: $wine_binary-preloader
14534 \$(INSTALL_PROGRAM) $wine_binary-preloader \$(DESTDIR)\$(bindir)/$wine_binary-preloader
14537 \$(RM) \$(DESTDIR)\$(bindir)/$wine_binary-preloader
14539 preloader_EXTRADEFS = $BUILTINFLAG
14544 as_fn_append LOADER_RULES
"
14545 PROGRAMS = $loader_programs
14549 ac_save_CFLAGS
="$CFLAGS"
14550 CFLAGS
="$CFLAGS $BUILTINFLAG"
14627 as_ac_var
=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
14628 ac_fn_c_check_func
"$LINENO" "$ac_func" "$as_ac_var"
14629 if eval test \"x\$
"$as_ac_var"\" = x
"yes"; then :
14630 cat >>confdefs.h
<<_ACEOF
14631 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
14637 CFLAGS
="$ac_save_CFLAGS"
14639 if test "$ac_cv_func_dlopen" = no
14641 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
14642 $as_echo_n "checking for dlopen in -ldl... " >&6; }
14643 if ${ac_cv_lib_dl_dlopen+:} false
; then :
14644 $as_echo_n "(cached) " >&6
14646 ac_check_lib_save_LIBS
=$LIBS
14648 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14649 /* end confdefs.h. */
14651 /* Override any GCC internal prototype to avoid an error.
14652 Use char because int might match the return type of a GCC
14653 builtin and then its argument prototype would still apply. */
14666 if ac_fn_c_try_link
"$LINENO"; then :
14667 ac_cv_lib_dl_dlopen
=yes
14669 ac_cv_lib_dl_dlopen
=no
14671 rm -f core conftest.err conftest.
$ac_objext \
14672 conftest
$ac_exeext conftest.
$ac_ext
14673 LIBS
=$ac_check_lib_save_LIBS
14675 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
14676 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
14677 if test "x$ac_cv_lib_dl_dlopen" = xyes
; then :
14678 $as_echo "#define HAVE_DLOPEN 1" >>confdefs.h
14684 ac_wine_check_funcs_save_LIBS
="$LIBS"
14685 LIBS
="$LIBS $DL_LIBS"
14686 for ac_func
in dladdr
14688 ac_fn_c_check_func
"$LINENO" "dladdr" "ac_cv_func_dladdr"
14689 if test "x$ac_cv_func_dladdr" = xyes
; then :
14690 cat >>confdefs.h
<<_ACEOF
14691 #define HAVE_DLADDR 1
14697 LIBS
="$ac_wine_check_funcs_save_LIBS"
14699 if test "$ac_cv_func_poll" = no
14701 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for poll in -lpoll" >&5
14702 $as_echo_n "checking for poll in -lpoll... " >&6; }
14703 if ${ac_cv_lib_poll_poll+:} false
; then :
14704 $as_echo_n "(cached) " >&6
14706 ac_check_lib_save_LIBS
=$LIBS
14707 LIBS
="-lpoll $LIBS"
14708 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14709 /* end confdefs.h. */
14711 /* Override any GCC internal prototype to avoid an error.
14712 Use char because int might match the return type of a GCC
14713 builtin and then its argument prototype would still apply. */
14726 if ac_fn_c_try_link
"$LINENO"; then :
14727 ac_cv_lib_poll_poll
=yes
14729 ac_cv_lib_poll_poll
=no
14731 rm -f core conftest.err conftest.
$ac_objext \
14732 conftest
$ac_exeext conftest.
$ac_ext
14733 LIBS
=$ac_check_lib_save_LIBS
14735 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_poll_poll" >&5
14736 $as_echo "$ac_cv_lib_poll_poll" >&6; }
14737 if test "x$ac_cv_lib_poll_poll" = xyes
; then :
14738 $as_echo "#define HAVE_POLL 1" >>confdefs.h
14745 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing gethostbyname" >&5
14746 $as_echo_n "checking for library containing gethostbyname... " >&6; }
14747 if ${ac_cv_search_gethostbyname+:} false
; then :
14748 $as_echo_n "(cached) " >&6
14750 ac_func_search_save_LIBS
=$LIBS
14751 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14752 /* end confdefs.h. */
14754 /* Override any GCC internal prototype to avoid an error.
14755 Use char because int might match the return type of a GCC
14756 builtin and then its argument prototype would still apply. */
14760 char gethostbyname ();
14764 return gethostbyname ();
14769 for ac_lib
in '' nsl
; do
14770 if test -z "$ac_lib"; then
14771 ac_res
="none required"
14774 LIBS
="-l$ac_lib $ac_func_search_save_LIBS"
14776 if ac_fn_c_try_link
"$LINENO"; then :
14777 ac_cv_search_gethostbyname
=$ac_res
14779 rm -f core conftest.err conftest.
$ac_objext \
14781 if ${ac_cv_search_gethostbyname+:} false
; then :
14785 if ${ac_cv_search_gethostbyname+:} false
; then :
14788 ac_cv_search_gethostbyname
=no
14790 rm conftest.
$ac_ext
14791 LIBS
=$ac_func_search_save_LIBS
14793 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_gethostbyname" >&5
14794 $as_echo "$ac_cv_search_gethostbyname" >&6; }
14795 ac_res
=$ac_cv_search_gethostbyname
14796 if test "$ac_res" != no
; then :
14797 test "$ac_res" = "none required" || LIBS
="$ac_res $LIBS"
14802 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing connect" >&5
14803 $as_echo_n "checking for library containing connect... " >&6; }
14804 if ${ac_cv_search_connect+:} false
; then :
14805 $as_echo_n "(cached) " >&6
14807 ac_func_search_save_LIBS
=$LIBS
14808 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14809 /* end confdefs.h. */
14811 /* Override any GCC internal prototype to avoid an error.
14812 Use char because int might match the return type of a GCC
14813 builtin and then its argument prototype would still apply. */
14826 for ac_lib
in '' socket
; do
14827 if test -z "$ac_lib"; then
14828 ac_res
="none required"
14831 LIBS
="-l$ac_lib $ac_func_search_save_LIBS"
14833 if ac_fn_c_try_link
"$LINENO"; then :
14834 ac_cv_search_connect
=$ac_res
14836 rm -f core conftest.err conftest.
$ac_objext \
14838 if ${ac_cv_search_connect+:} false
; then :
14842 if ${ac_cv_search_connect+:} false
; then :
14845 ac_cv_search_connect
=no
14847 rm conftest.
$ac_ext
14848 LIBS
=$ac_func_search_save_LIBS
14850 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_connect" >&5
14851 $as_echo "$ac_cv_search_connect" >&6; }
14852 ac_res
=$ac_cv_search_connect
14853 if test "$ac_res" != no
; then :
14854 test "$ac_res" = "none required" || LIBS
="$ac_res $LIBS"
14859 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing inet_aton" >&5
14860 $as_echo_n "checking for library containing inet_aton... " >&6; }
14861 if ${ac_cv_search_inet_aton+:} false
; then :
14862 $as_echo_n "(cached) " >&6
14864 ac_func_search_save_LIBS
=$LIBS
14865 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14866 /* end confdefs.h. */
14868 /* Override any GCC internal prototype to avoid an error.
14869 Use char because int might match the return type of a GCC
14870 builtin and then its argument prototype would still apply. */
14878 return inet_aton ();
14883 for ac_lib
in '' resolv
; do
14884 if test -z "$ac_lib"; then
14885 ac_res
="none required"
14888 LIBS
="-l$ac_lib $ac_func_search_save_LIBS"
14890 if ac_fn_c_try_link
"$LINENO"; then :
14891 ac_cv_search_inet_aton
=$ac_res
14893 rm -f core conftest.err conftest.
$ac_objext \
14895 if ${ac_cv_search_inet_aton+:} false
; then :
14899 if ${ac_cv_search_inet_aton+:} false
; then :
14902 ac_cv_search_inet_aton
=no
14904 rm conftest.
$ac_ext
14905 LIBS
=$ac_func_search_save_LIBS
14907 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_inet_aton" >&5
14908 $as_echo "$ac_cv_search_inet_aton" >&6; }
14909 ac_res
=$ac_cv_search_inet_aton
14910 if test "$ac_res" != no
; then :
14911 test "$ac_res" = "none required" || LIBS
="$ac_res $LIBS"
14931 as_ac_var
=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
14932 ac_fn_c_check_func
"$LINENO" "$ac_func" "$as_ac_var"
14933 if eval test \"x\$
"$as_ac_var"\" = x
"yes"; then :
14934 cat >>confdefs.h
<<_ACEOF
14935 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
14943 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing clock_gettime" >&5
14944 $as_echo_n "checking for library containing clock_gettime... " >&6; }
14945 if ${ac_cv_search_clock_gettime+:} false
; then :
14946 $as_echo_n "(cached) " >&6
14948 ac_func_search_save_LIBS
=$LIBS
14949 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14950 /* end confdefs.h. */
14952 /* Override any GCC internal prototype to avoid an error.
14953 Use char because int might match the return type of a GCC
14954 builtin and then its argument prototype would still apply. */
14958 char clock_gettime ();
14962 return clock_gettime ();
14967 for ac_lib
in '' rt
; do
14968 if test -z "$ac_lib"; then
14969 ac_res
="none required"
14972 LIBS
="-l$ac_lib $ac_func_search_save_LIBS"
14974 if ac_fn_c_try_link
"$LINENO"; then :
14975 ac_cv_search_clock_gettime
=$ac_res
14977 rm -f core conftest.err conftest.
$ac_objext \
14979 if ${ac_cv_search_clock_gettime+:} false
; then :
14983 if ${ac_cv_search_clock_gettime+:} false
; then :
14986 ac_cv_search_clock_gettime
=no
14988 rm conftest.
$ac_ext
14989 LIBS
=$ac_func_search_save_LIBS
14991 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_clock_gettime" >&5
14992 $as_echo "$ac_cv_search_clock_gettime" >&6; }
14993 ac_res
=$ac_cv_search_clock_gettime
14994 if test "$ac_res" != no
; then :
14995 test "$ac_res" = "none required" || LIBS
="$ac_res $LIBS"
14997 $as_echo "#define HAVE_CLOCK_GETTIME 1" >>confdefs.h
14999 test "$ac_res" = "none required" || RT_LIBS
="$ac_res"
15007 if test "$ac_cv_header_ldap_h" = "yes" -a "$ac_cv_header_lber_h" = "yes"
15009 ac_fn_c_check_type
"$LINENO" "LDAPSortKey" "ac_cv_type_LDAPSortKey" "#include <ldap.h>
15011 if test "x$ac_cv_type_LDAPSortKey" = xyes
; then :
15012 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldap_initialize in -lldap_r" >&5
15013 $as_echo_n "checking for ldap_initialize in -lldap_r... " >&6; }
15014 if ${ac_cv_lib_ldap_r_ldap_initialize+:} false
; then :
15015 $as_echo_n "(cached) " >&6
15017 ac_check_lib_save_LIBS
=$LIBS
15018 LIBS
="-lldap_r $PTHREAD_LIBS $LIBS"
15019 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15020 /* end confdefs.h. */
15022 /* Override any GCC internal prototype to avoid an error.
15023 Use char because int might match the return type of a GCC
15024 builtin and then its argument prototype would still apply. */
15028 char ldap_initialize ();
15032 return ldap_initialize ();
15037 if ac_fn_c_try_link
"$LINENO"; then :
15038 ac_cv_lib_ldap_r_ldap_initialize
=yes
15040 ac_cv_lib_ldap_r_ldap_initialize
=no
15042 rm -f core conftest.err conftest.
$ac_objext \
15043 conftest
$ac_exeext conftest.
$ac_ext
15044 LIBS
=$ac_check_lib_save_LIBS
15046 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ldap_r_ldap_initialize" >&5
15047 $as_echo "$ac_cv_lib_ldap_r_ldap_initialize" >&6; }
15048 if test "x$ac_cv_lib_ldap_r_ldap_initialize" = xyes
; then :
15049 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ber_init in -llber" >&5
15050 $as_echo_n "checking for ber_init in -llber... " >&6; }
15051 if ${ac_cv_lib_lber_ber_init+:} false
; then :
15052 $as_echo_n "(cached) " >&6
15054 ac_check_lib_save_LIBS
=$LIBS
15055 LIBS
="-llber $PTHREAD_LIBS $LIBS"
15056 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15057 /* end confdefs.h. */
15059 /* Override any GCC internal prototype to avoid an error.
15060 Use char because int might match the return type of a GCC
15061 builtin and then its argument prototype would still apply. */
15069 return ber_init ();
15074 if ac_fn_c_try_link
"$LINENO"; then :
15075 ac_cv_lib_lber_ber_init
=yes
15077 ac_cv_lib_lber_ber_init
=no
15079 rm -f core conftest.err conftest.
$ac_objext \
15080 conftest
$ac_exeext conftest.
$ac_ext
15081 LIBS
=$ac_check_lib_save_LIBS
15083 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_lber_ber_init" >&5
15084 $as_echo "$ac_cv_lib_lber_ber_init" >&6; }
15085 if test "x$ac_cv_lib_lber_ber_init" = xyes
; then :
15087 $as_echo "#define HAVE_LDAP 1" >>confdefs.h
15089 LDAP_LIBS
="-lldap_r -llber"
15096 ac_wine_check_funcs_save_LIBS
="$LIBS"
15097 LIBS
="$LIBS $LDAP_LIBS $PTHREAD_LIBS"
15099 ldap_count_references \
15100 ldap_first_reference \
15101 ldap_next_reference \
15102 ldap_parse_reference \
15103 ldap_parse_sort_control \
15104 ldap_parse_sortresponse_control \
15105 ldap_parse_vlv_control \
15106 ldap_parse_vlvresponse_control
15108 as_ac_var
=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
15109 ac_fn_c_check_func
"$LINENO" "$ac_func" "$as_ac_var"
15110 if eval test \"x\$
"$as_ac_var"\" = x
"yes"; then :
15111 cat >>confdefs.h
<<_ACEOF
15112 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
15118 LIBS
="$ac_wine_check_funcs_save_LIBS"
15120 if test "x$LDAP_LIBS" = "x"; then :
15121 case "x$with_ldap" in
15122 x
) as_fn_append wine_notices
"|libldap (OpenLDAP) ${notice_platform}development files not found, LDAP won't be supported." ;;
15124 *) as_fn_error $?
"libldap (OpenLDAP) ${notice_platform}development files not found, LDAP won't be supported.
15125 This is an error since --with-ldap was requested." "$LINENO" 5 ;;
15129 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether mkdir takes only one argument" >&5
15130 $as_echo_n "checking whether mkdir takes only one argument... " >&6; }
15131 if ${wine_cv_one_arg_mkdir+:} false
; then :
15132 $as_echo_n "(cached) " >&6
15134 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15135 /* end confdefs.h. */
15136 #include <sys/stat.h>
15145 if ac_fn_c_try_compile
"$LINENO"; then :
15146 wine_cv_one_arg_mkdir
=yes
15148 wine_cv_one_arg_mkdir
=no
15150 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
15152 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_one_arg_mkdir" >&5
15153 $as_echo "$wine_cv_one_arg_mkdir" >&6; }
15154 if test "$wine_cv_one_arg_mkdir" = "yes"
15157 $as_echo "#define HAVE_ONE_ARG_MKDIR 1" >>confdefs.h
15161 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sched_setaffinity" >&5
15162 $as_echo_n "checking for sched_setaffinity... " >&6; }
15163 if ${wine_cv_have_sched_setaffinity+:} false
; then :
15164 $as_echo_n "(cached) " >&6
15166 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15167 /* end confdefs.h. */
15168 #define _GNU_SOURCE
15173 sched_setaffinity(0, 0, 0);
15178 if ac_fn_c_try_link
"$LINENO"; then :
15179 wine_cv_have_sched_setaffinity
=yes
15181 wine_cv_have_sched_setaffinity
=no
15183 rm -f core conftest.err conftest.
$ac_objext \
15184 conftest
$ac_exeext conftest.
$ac_ext
15186 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_have_sched_setaffinity" >&5
15187 $as_echo "$wine_cv_have_sched_setaffinity" >&6; }
15188 if test "$wine_cv_have_sched_setaffinity" = "yes"
15191 $as_echo "#define HAVE_SCHED_SETAFFINITY 1" >>confdefs.h
15195 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fallocate" >&5
15196 $as_echo_n "checking for fallocate... " >&6; }
15197 if ${wine_cv_have_fallocate+:} false
; then :
15198 $as_echo_n "(cached) " >&6
15200 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15201 /* end confdefs.h. */
15202 #define _GNU_SOURCE
15207 fallocate(-1, 0, 0, 0);
15212 if ac_fn_c_try_link
"$LINENO"; then :
15213 wine_cv_have_fallocate
=yes
15215 wine_cv_have_fallocate
=no
15217 rm -f core conftest.err conftest.
$ac_objext \
15218 conftest
$ac_exeext conftest.
$ac_ext
15220 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_have_fallocate" >&5
15221 $as_echo "$wine_cv_have_fallocate" >&6; }
15222 if test "$wine_cv_have_fallocate" = "yes"
15225 $as_echo "#define HAVE_FALLOCATE 1" >>confdefs.h
15230 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for inline" >&5
15231 $as_echo_n "checking for inline... " >&6; }
15232 if ${ac_cv_c_inline+:} false
; then :
15233 $as_echo_n "(cached) " >&6
15236 for ac_kw
in inline __inline__ __inline
; do
15237 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15238 /* end confdefs.h. */
15239 #ifndef __cplusplus
15241 static $ac_kw foo_t static_foo () {return 0; }
15242 $ac_kw foo_t foo () {return 0; }
15246 if ac_fn_c_try_compile
"$LINENO"; then :
15247 ac_cv_c_inline
=$ac_kw
15249 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
15250 test "$ac_cv_c_inline" != no
&& break
15254 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_inline" >&5
15255 $as_echo "$ac_cv_c_inline" >&6; }
15257 case $ac_cv_c_inline in
15260 case $ac_cv_c_inline in
15262 *) ac_val
=$ac_cv_c_inline;;
15264 cat >>confdefs.h
<<_ACEOF
15265 #ifndef __cplusplus
15266 #define inline $ac_val
15272 ac_fn_c_check_type
"$LINENO" "mode_t" "ac_cv_type_mode_t" "$ac_includes_default"
15273 if test "x$ac_cv_type_mode_t" = xyes
; then :
15275 cat >>confdefs.h
<<_ACEOF
15276 #define HAVE_MODE_T 1
15281 ac_fn_c_check_type
"$LINENO" "off_t" "ac_cv_type_off_t" "$ac_includes_default"
15282 if test "x$ac_cv_type_off_t" = xyes
; then :
15284 cat >>confdefs.h
<<_ACEOF
15285 #define HAVE_OFF_T 1
15290 ac_fn_c_check_type
"$LINENO" "pid_t" "ac_cv_type_pid_t" "$ac_includes_default"
15291 if test "x$ac_cv_type_pid_t" = xyes
; then :
15293 cat >>confdefs.h
<<_ACEOF
15294 #define HAVE_PID_T 1
15299 ac_fn_c_check_type
"$LINENO" "size_t" "ac_cv_type_size_t" "$ac_includes_default"
15300 if test "x$ac_cv_type_size_t" = xyes
; then :
15302 cat >>confdefs.h
<<_ACEOF
15303 #define HAVE_SIZE_T 1
15308 ac_fn_c_check_type
"$LINENO" "ssize_t" "ac_cv_type_ssize_t" "$ac_includes_default"
15309 if test "x$ac_cv_type_ssize_t" = xyes
; then :
15311 cat >>confdefs.h
<<_ACEOF
15312 #define HAVE_SSIZE_T 1
15317 ac_fn_c_check_type
"$LINENO" "long long" "ac_cv_type_long_long" "$ac_includes_default"
15318 if test "x$ac_cv_type_long_long" = xyes
; then :
15320 cat >>confdefs.h
<<_ACEOF
15321 #define HAVE_LONG_LONG 1
15326 ac_fn_c_check_type
"$LINENO" "fsblkcnt_t" "ac_cv_type_fsblkcnt_t" "$ac_includes_default"
15327 if test "x$ac_cv_type_fsblkcnt_t" = xyes
; then :
15329 cat >>confdefs.h
<<_ACEOF
15330 #define HAVE_FSBLKCNT_T 1
15335 ac_fn_c_check_type
"$LINENO" "fsfilcnt_t" "ac_cv_type_fsfilcnt_t" "$ac_includes_default"
15336 if test "x$ac_cv_type_fsfilcnt_t" = xyes
; then :
15338 cat >>confdefs.h
<<_ACEOF
15339 #define HAVE_FSFILCNT_T 1
15345 ac_fn_c_check_type
"$LINENO" "sigset_t" "ac_cv_type_sigset_t" "#include <sys/types.h>
15346 #include <signal.h>
15348 if test "x$ac_cv_type_sigset_t" = xyes
; then :
15350 cat >>confdefs.h
<<_ACEOF
15351 #define HAVE_SIGSET_T 1
15357 ac_fn_c_check_type
"$LINENO" "request_sense" "ac_cv_type_request_sense" "#include <linux/cdrom.h>
15359 if test "x$ac_cv_type_request_sense" = xyes
; then :
15361 cat >>confdefs.h
<<_ACEOF
15362 #define HAVE_REQUEST_SENSE 1
15369 ac_fn_c_check_type
"$LINENO" "struct xinpgen" "ac_cv_type_struct_xinpgen" "#include <sys/types.h>
15370 #ifdef HAVE_SYS_SOCKET_H
15371 #include <sys/socket.h>
15373 #ifdef HAVE_SYS_SOCKETVAR_H
15374 #include <sys/socketvar.h>
15376 #ifdef HAVE_NET_ROUTE_H
15377 #include <net/route.h>
15379 #ifdef HAVE_NETINET_IN_H
15380 #include <netinet/in.h>
15382 #ifdef HAVE_NETINET_IN_SYSTM_H
15383 #include <netinet/in_systm.h>
15385 #ifdef HAVE_NETINET_IP_H
15386 #include <netinet/ip.h>
15388 #ifdef HAVE_NETINET_IN_PCB_H
15389 #include <netinet/in_pcb.h>
15392 if test "x$ac_cv_type_struct_xinpgen" = xyes
; then :
15394 cat >>confdefs.h
<<_ACEOF
15395 #define HAVE_STRUCT_XINPGEN 1
15402 ac_fn_c_check_type
"$LINENO" "struct r_debug" "ac_cv_type_struct_r_debug" "#ifdef HAVE_LINK_H
15405 #ifdef HAVE_SYS_LINK_H
15406 #include <sys/link.h>
15409 if test "x$ac_cv_type_struct_r_debug" = xyes
; then :
15411 cat >>confdefs.h
<<_ACEOF
15412 #define HAVE_STRUCT_R_DEBUG 1
15417 ac_fn_c_check_type
"$LINENO" "struct link_map" "ac_cv_type_struct_link_map" "#ifdef HAVE_LINK_H
15420 #ifdef HAVE_SYS_LINK_H
15421 #include <sys/link.h>
15424 if test "x$ac_cv_type_struct_link_map" = xyes
; then :
15426 cat >>confdefs.h
<<_ACEOF
15427 #define HAVE_STRUCT_LINK_MAP 1
15434 ac_fn_c_check_member
"$LINENO" "struct ff_effect" "direction" "ac_cv_member_struct_ff_effect_direction" "#ifdef HAVE_LINUX_INPUT_H
15435 #include <linux/input.h>
15438 if test "x$ac_cv_member_struct_ff_effect_direction" = xyes
; then :
15440 cat >>confdefs.h
<<_ACEOF
15441 #define HAVE_STRUCT_FF_EFFECT_DIRECTION 1
15448 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sigaddset" >&5
15449 $as_echo_n "checking for sigaddset... " >&6; }
15450 if ${wine_cv_have_sigaddset+:} false
; then :
15451 $as_echo_n "(cached) " >&6
15453 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15454 /* end confdefs.h. */
15455 #include <signal.h>
15459 sigset_t set; sigaddset(&set,SIGTERM);
15464 if ac_fn_c_try_link
"$LINENO"; then :
15465 wine_cv_have_sigaddset
=yes
15467 wine_cv_have_sigaddset
=no
15469 rm -f core conftest.err conftest.
$ac_objext \
15470 conftest
$ac_exeext conftest.
$ac_ext
15472 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_have_sigaddset" >&5
15473 $as_echo "$wine_cv_have_sigaddset" >&6; }
15474 if test "$wine_cv_have_sigaddset" = "yes"
15477 $as_echo "#define HAVE_SIGADDSET 1" >>confdefs.h
15482 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we can use re-entrant gethostbyname_r Linux style" >&5
15483 $as_echo_n "checking whether we can use re-entrant gethostbyname_r Linux style... " >&6; }
15484 if ${wine_cv_linux_gethostbyname_r_6+:} false
; then :
15485 $as_echo_n "(cached) " >&6
15487 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15488 /* end confdefs.h. */
15496 struct hostent *result;
15503 gethostbyname_r(name,&he,buf,bufsize,&result,&errnr);
15504 gethostbyaddr_r(addr, addrlen, addrtype,&he,buf,bufsize,&result,&errnr);
15510 if ac_fn_c_try_link
"$LINENO"; then :
15511 wine_cv_linux_gethostbyname_r_6
=yes
15513 wine_cv_linux_gethostbyname_r_6
=no
15516 rm -f core conftest.err conftest.
$ac_objext \
15517 conftest
$ac_exeext conftest.
$ac_ext
15520 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_linux_gethostbyname_r_6" >&5
15521 $as_echo "$wine_cv_linux_gethostbyname_r_6" >&6; }
15522 if test "$wine_cv_linux_gethostbyname_r_6" = "yes"
15525 $as_echo "#define HAVE_LINUX_GETHOSTBYNAME_R_6 1" >>confdefs.h
15529 if test "$ac_cv_header_linux_joystick_h" = "yes"
15531 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether linux/joystick.h uses the Linux 2.2+ API" >&5
15532 $as_echo_n "checking whether linux/joystick.h uses the Linux 2.2+ API... " >&6; }
15533 if ${wine_cv_linux_joystick_22_api+:} false
; then :
15534 $as_echo_n "(cached) " >&6
15536 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15537 /* end confdefs.h. */
15539 #include <sys/ioctl.h>
15540 #include <sys/types.h>
15541 #include <linux/joystick.h>
15543 struct js_event blub;
15544 #if !defined(JS_EVENT_AXIS) || !defined(JS_EVENT_BUTTON)
15545 #error "no 2.2 header"
15556 if ac_fn_c_try_compile
"$LINENO"; then :
15557 wine_cv_linux_joystick_22_api
=yes
15559 wine_cv_linux_joystick_22_api
=no
15561 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
15564 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_linux_joystick_22_api" >&5
15565 $as_echo "$wine_cv_linux_joystick_22_api" >&6; }
15566 if test "$wine_cv_linux_joystick_22_api" = "yes"
15569 $as_echo "#define HAVE_LINUX_22_JOYSTICK_API 1" >>confdefs.h
15575 ac_fn_c_check_member
"$LINENO" "struct statfs" "f_bfree" "ac_cv_member_struct_statfs_f_bfree" "#include <sys/types.h>
15576 #ifdef HAVE_SYS_PARAM_H
15577 # include <sys/param.h>
15579 #ifdef HAVE_SYS_MOUNT_H
15580 # include <sys/mount.h>
15582 #ifdef HAVE_SYS_VFS_H
15583 # include <sys/vfs.h>
15585 #ifdef HAVE_SYS_STATFS_H
15586 # include <sys/statfs.h>
15589 if test "x$ac_cv_member_struct_statfs_f_bfree" = xyes
; then :
15591 cat >>confdefs.h
<<_ACEOF
15592 #define HAVE_STRUCT_STATFS_F_BFREE 1
15597 ac_fn_c_check_member
"$LINENO" "struct statfs" "f_bavail" "ac_cv_member_struct_statfs_f_bavail" "#include <sys/types.h>
15598 #ifdef HAVE_SYS_PARAM_H
15599 # include <sys/param.h>
15601 #ifdef HAVE_SYS_MOUNT_H
15602 # include <sys/mount.h>
15604 #ifdef HAVE_SYS_VFS_H
15605 # include <sys/vfs.h>
15607 #ifdef HAVE_SYS_STATFS_H
15608 # include <sys/statfs.h>
15611 if test "x$ac_cv_member_struct_statfs_f_bavail" = xyes
; then :
15613 cat >>confdefs.h
<<_ACEOF
15614 #define HAVE_STRUCT_STATFS_F_BAVAIL 1
15619 ac_fn_c_check_member
"$LINENO" "struct statfs" "f_frsize" "ac_cv_member_struct_statfs_f_frsize" "#include <sys/types.h>
15620 #ifdef HAVE_SYS_PARAM_H
15621 # include <sys/param.h>
15623 #ifdef HAVE_SYS_MOUNT_H
15624 # include <sys/mount.h>
15626 #ifdef HAVE_SYS_VFS_H
15627 # include <sys/vfs.h>
15629 #ifdef HAVE_SYS_STATFS_H
15630 # include <sys/statfs.h>
15633 if test "x$ac_cv_member_struct_statfs_f_frsize" = xyes
; then :
15635 cat >>confdefs.h
<<_ACEOF
15636 #define HAVE_STRUCT_STATFS_F_FRSIZE 1
15641 ac_fn_c_check_member
"$LINENO" "struct statfs" "f_ffree" "ac_cv_member_struct_statfs_f_ffree" "#include <sys/types.h>
15642 #ifdef HAVE_SYS_PARAM_H
15643 # include <sys/param.h>
15645 #ifdef HAVE_SYS_MOUNT_H
15646 # include <sys/mount.h>
15648 #ifdef HAVE_SYS_VFS_H
15649 # include <sys/vfs.h>
15651 #ifdef HAVE_SYS_STATFS_H
15652 # include <sys/statfs.h>
15655 if test "x$ac_cv_member_struct_statfs_f_ffree" = xyes
; then :
15657 cat >>confdefs.h
<<_ACEOF
15658 #define HAVE_STRUCT_STATFS_F_FFREE 1
15663 ac_fn_c_check_member
"$LINENO" "struct statfs" "f_favail" "ac_cv_member_struct_statfs_f_favail" "#include <sys/types.h>
15664 #ifdef HAVE_SYS_PARAM_H
15665 # include <sys/param.h>
15667 #ifdef HAVE_SYS_MOUNT_H
15668 # include <sys/mount.h>
15670 #ifdef HAVE_SYS_VFS_H
15671 # include <sys/vfs.h>
15673 #ifdef HAVE_SYS_STATFS_H
15674 # include <sys/statfs.h>
15677 if test "x$ac_cv_member_struct_statfs_f_favail" = xyes
; then :
15679 cat >>confdefs.h
<<_ACEOF
15680 #define HAVE_STRUCT_STATFS_F_FAVAIL 1
15685 ac_fn_c_check_member
"$LINENO" "struct statfs" "f_namelen" "ac_cv_member_struct_statfs_f_namelen" "#include <sys/types.h>
15686 #ifdef HAVE_SYS_PARAM_H
15687 # include <sys/param.h>
15689 #ifdef HAVE_SYS_MOUNT_H
15690 # include <sys/mount.h>
15692 #ifdef HAVE_SYS_VFS_H
15693 # include <sys/vfs.h>
15695 #ifdef HAVE_SYS_STATFS_H
15696 # include <sys/statfs.h>
15699 if test "x$ac_cv_member_struct_statfs_f_namelen" = xyes
; then :
15701 cat >>confdefs.h
<<_ACEOF
15702 #define HAVE_STRUCT_STATFS_F_NAMELEN 1
15709 ac_fn_c_check_member
"$LINENO" "struct statvfs" "f_blocks" "ac_cv_member_struct_statvfs_f_blocks" "#ifdef HAVE_SYS_STATVFS_H
15710 #include <sys/statvfs.h>
15713 if test "x$ac_cv_member_struct_statvfs_f_blocks" = xyes
; then :
15715 cat >>confdefs.h
<<_ACEOF
15716 #define HAVE_STRUCT_STATVFS_F_BLOCKS 1
15723 ac_fn_c_check_member
"$LINENO" "struct dirent" "d_reclen" "ac_cv_member_struct_dirent_d_reclen" "#ifdef HAVE_DIRENT_H
15724 #include <dirent.h>
15727 if test "x$ac_cv_member_struct_dirent_d_reclen" = xyes
; then :
15729 cat >>confdefs.h
<<_ACEOF
15730 #define HAVE_STRUCT_DIRENT_D_RECLEN 1
15737 ac_fn_c_check_member
"$LINENO" "struct msghdr" "msg_accrights" "ac_cv_member_struct_msghdr_msg_accrights" "#include <sys/types.h>
15738 #ifdef HAVE_SYS_SOCKET_H
15739 # include <sys/socket.h>
15741 #ifdef HAVE_SYS_UN_H
15742 # include <sys/un.h>
15745 if test "x$ac_cv_member_struct_msghdr_msg_accrights" = xyes
; then :
15747 cat >>confdefs.h
<<_ACEOF
15748 #define HAVE_STRUCT_MSGHDR_MSG_ACCRIGHTS 1
15753 ac_fn_c_check_member
"$LINENO" "struct sockaddr" "sa_len" "ac_cv_member_struct_sockaddr_sa_len" "#include <sys/types.h>
15754 #ifdef HAVE_SYS_SOCKET_H
15755 # include <sys/socket.h>
15757 #ifdef HAVE_SYS_UN_H
15758 # include <sys/un.h>
15761 if test "x$ac_cv_member_struct_sockaddr_sa_len" = xyes
; then :
15763 cat >>confdefs.h
<<_ACEOF
15764 #define HAVE_STRUCT_SOCKADDR_SA_LEN 1
15769 ac_fn_c_check_member
"$LINENO" "struct sockaddr_un" "sun_len" "ac_cv_member_struct_sockaddr_un_sun_len" "#include <sys/types.h>
15770 #ifdef HAVE_SYS_SOCKET_H
15771 # include <sys/socket.h>
15773 #ifdef HAVE_SYS_UN_H
15774 # include <sys/un.h>
15777 if test "x$ac_cv_member_struct_sockaddr_un_sun_len" = xyes
; then :
15779 cat >>confdefs.h
<<_ACEOF
15780 #define HAVE_STRUCT_SOCKADDR_UN_SUN_LEN 1
15787 ac_fn_c_check_member
"$LINENO" "scsireq_t" "cmd" "ac_cv_member_scsireq_t_cmd" "#include <sys/types.h>
15788 #ifdef HAVE_SCSI_SG_H
15789 #include <scsi/sg.h>
15792 if test "x$ac_cv_member_scsireq_t_cmd" = xyes
; then :
15794 cat >>confdefs.h
<<_ACEOF
15795 #define HAVE_SCSIREQ_T_CMD 1
15800 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>
15801 #ifdef HAVE_SCSI_SG_H
15802 #include <scsi/sg.h>
15805 if test "x$ac_cv_member_sg_io_hdr_t_interface_id" = xyes
; then :
15807 cat >>confdefs.h
<<_ACEOF
15808 #define HAVE_SG_IO_HDR_T_INTERFACE_ID 1
15815 ac_fn_c_check_member
"$LINENO" "siginfo_t" "si_fd" "ac_cv_member_siginfo_t_si_fd" "#include <signal.h>
15817 if test "x$ac_cv_member_siginfo_t_si_fd" = xyes
; then :
15819 cat >>confdefs.h
<<_ACEOF
15820 #define HAVE_SIGINFO_T_SI_FD 1
15827 ac_fn_c_check_member
"$LINENO" "struct mtget" "mt_blksiz" "ac_cv_member_struct_mtget_mt_blksiz" "#include <sys/types.h>
15828 #ifdef HAVE_SYS_MTIO_H
15829 #include <sys/mtio.h>
15832 if test "x$ac_cv_member_struct_mtget_mt_blksiz" = xyes
; then :
15834 cat >>confdefs.h
<<_ACEOF
15835 #define HAVE_STRUCT_MTGET_MT_BLKSIZ 1
15840 ac_fn_c_check_member
"$LINENO" "struct mtget" "mt_gstat" "ac_cv_member_struct_mtget_mt_gstat" "#include <sys/types.h>
15841 #ifdef HAVE_SYS_MTIO_H
15842 #include <sys/mtio.h>
15845 if test "x$ac_cv_member_struct_mtget_mt_gstat" = xyes
; then :
15847 cat >>confdefs.h
<<_ACEOF
15848 #define HAVE_STRUCT_MTGET_MT_GSTAT 1
15853 ac_fn_c_check_member
"$LINENO" "struct mtget" "mt_blkno" "ac_cv_member_struct_mtget_mt_blkno" "#include <sys/types.h>
15854 #ifdef HAVE_SYS_MTIO_H
15855 #include <sys/mtio.h>
15858 if test "x$ac_cv_member_struct_mtget_mt_blkno" = xyes
; then :
15860 cat >>confdefs.h
<<_ACEOF
15861 #define HAVE_STRUCT_MTGET_MT_BLKNO 1
15868 ac_fn_c_check_member
"$LINENO" "struct option" "name" "ac_cv_member_struct_option_name" "#ifdef HAVE_GETOPT_H
15869 #include <getopt.h>
15872 if test "x$ac_cv_member_struct_option_name" = xyes
; then :
15874 cat >>confdefs.h
<<_ACEOF
15875 #define HAVE_STRUCT_OPTION_NAME 1
15882 ac_fn_c_check_member
"$LINENO" "struct stat" "st_blocks" "ac_cv_member_struct_stat_st_blocks" "$ac_includes_default"
15883 if test "x$ac_cv_member_struct_stat_st_blocks" = xyes
; then :
15885 cat >>confdefs.h
<<_ACEOF
15886 #define HAVE_STRUCT_STAT_ST_BLOCKS 1
15891 ac_fn_c_check_member
"$LINENO" "struct stat" "st_mtim" "ac_cv_member_struct_stat_st_mtim" "$ac_includes_default"
15892 if test "x$ac_cv_member_struct_stat_st_mtim" = xyes
; then :
15894 cat >>confdefs.h
<<_ACEOF
15895 #define HAVE_STRUCT_STAT_ST_MTIM 1
15900 ac_fn_c_check_member
"$LINENO" "struct stat" "st_mtimespec" "ac_cv_member_struct_stat_st_mtimespec" "$ac_includes_default"
15901 if test "x$ac_cv_member_struct_stat_st_mtimespec" = xyes
; then :
15903 cat >>confdefs.h
<<_ACEOF
15904 #define HAVE_STRUCT_STAT_ST_MTIMESPEC 1
15909 ac_fn_c_check_member
"$LINENO" "struct stat" "st_ctim" "ac_cv_member_struct_stat_st_ctim" "$ac_includes_default"
15910 if test "x$ac_cv_member_struct_stat_st_ctim" = xyes
; then :
15912 cat >>confdefs.h
<<_ACEOF
15913 #define HAVE_STRUCT_STAT_ST_CTIM 1
15918 ac_fn_c_check_member
"$LINENO" "struct stat" "st_ctimespec" "ac_cv_member_struct_stat_st_ctimespec" "$ac_includes_default"
15919 if test "x$ac_cv_member_struct_stat_st_ctimespec" = xyes
; then :
15921 cat >>confdefs.h
<<_ACEOF
15922 #define HAVE_STRUCT_STAT_ST_CTIMESPEC 1
15927 ac_fn_c_check_member
"$LINENO" "struct stat" "st_atim" "ac_cv_member_struct_stat_st_atim" "$ac_includes_default"
15928 if test "x$ac_cv_member_struct_stat_st_atim" = xyes
; then :
15930 cat >>confdefs.h
<<_ACEOF
15931 #define HAVE_STRUCT_STAT_ST_ATIM 1
15936 ac_fn_c_check_member
"$LINENO" "struct stat" "st_atimespec" "ac_cv_member_struct_stat_st_atimespec" "$ac_includes_default"
15937 if test "x$ac_cv_member_struct_stat_st_atimespec" = xyes
; then :
15939 cat >>confdefs.h
<<_ACEOF
15940 #define HAVE_STRUCT_STAT_ST_ATIMESPEC 1
15945 ac_fn_c_check_member
"$LINENO" "struct stat" "st_birthtime" "ac_cv_member_struct_stat_st_birthtime" "$ac_includes_default"
15946 if test "x$ac_cv_member_struct_stat_st_birthtime" = xyes
; then :
15948 cat >>confdefs.h
<<_ACEOF
15949 #define HAVE_STRUCT_STAT_ST_BIRTHTIME 1
15954 ac_fn_c_check_member
"$LINENO" "struct stat" "st_birthtim" "ac_cv_member_struct_stat_st_birthtim" "$ac_includes_default"
15955 if test "x$ac_cv_member_struct_stat_st_birthtim" = xyes
; then :
15957 cat >>confdefs.h
<<_ACEOF
15958 #define HAVE_STRUCT_STAT_ST_BIRTHTIM 1
15963 ac_fn_c_check_member
"$LINENO" "struct stat" "st_birthtimespec" "ac_cv_member_struct_stat_st_birthtimespec" "$ac_includes_default"
15964 if test "x$ac_cv_member_struct_stat_st_birthtimespec" = xyes
; then :
15966 cat >>confdefs.h
<<_ACEOF
15967 #define HAVE_STRUCT_STAT_ST_BIRTHTIMESPEC 1
15972 ac_fn_c_check_member
"$LINENO" "struct stat" "__st_birthtime" "ac_cv_member_struct_stat___st_birthtime" "$ac_includes_default"
15973 if test "x$ac_cv_member_struct_stat___st_birthtime" = xyes
; then :
15975 cat >>confdefs.h
<<_ACEOF
15976 #define HAVE_STRUCT_STAT___ST_BIRTHTIME 1
15981 ac_fn_c_check_member
"$LINENO" "struct stat" "__st_birthtim" "ac_cv_member_struct_stat___st_birthtim" "$ac_includes_default"
15982 if test "x$ac_cv_member_struct_stat___st_birthtim" = xyes
; then :
15984 cat >>confdefs.h
<<_ACEOF
15985 #define HAVE_STRUCT_STAT___ST_BIRTHTIM 1
15992 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
15993 #include <sys/types.h>
15995 #ifdef HAVE_NETINET_IN_H
15996 #include <netinet/in.h>
15999 if test "x$ac_cv_member_struct_sockaddr_in6_sin6_scope_id" = xyes
; then :
16001 cat >>confdefs.h
<<_ACEOF
16002 #define HAVE_STRUCT_SOCKADDR_IN6_SIN6_SCOPE_ID 1
16009 ac_fn_c_check_type
"$LINENO" "struct __res_state" "ac_cv_type_struct___res_state" "#ifdef HAVE_RESOLV_H
16010 #include <resolv.h>
16013 if test "x$ac_cv_type_struct___res_state" = xyes
; then :
16015 cat >>confdefs.h
<<_ACEOF
16016 #define HAVE_STRUCT___RES_STATE 1
16023 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
16024 #include <resolv.h>
16027 if test "x$ac_cv_member_struct___res_state__u__ext_nscount6" = xyes
; then :
16029 cat >>confdefs.h
<<_ACEOF
16030 #define HAVE_STRUCT___RES_STATE__U__EXT_NSCOUNT6 1
16037 ac_fn_c_check_member
"$LINENO" "ns_msg" "_msg_ptr" "ac_cv_member_ns_msg__msg_ptr" "#ifdef HAVE_SYS_TYPES_H
16038 #include <sys/types.h>
16040 #ifdef HAVE_NETINET_IN_H
16041 # include <netinet/in.h>
16043 #ifdef HAVE_ARPA_NAMESER_H
16044 # include <arpa/nameser.h>
16047 if test "x$ac_cv_member_ns_msg__msg_ptr" = xyes
; then :
16049 cat >>confdefs.h
<<_ACEOF
16050 #define HAVE_NS_MSG__MSG_PTR 1
16057 ac_fn_c_check_member
"$LINENO" "struct icmpstat" "icps_inhist" "ac_cv_member_struct_icmpstat_icps_inhist" "#ifdef HAVE_SYS_TYPES_H
16058 #include <sys/types.h>
16060 #ifdef HAVE_NETINET_IP_H
16061 #include <netinet/ip.h>
16063 #ifdef HAVE_NETINET_IP_ICMP_H
16064 #include <netinet/ip_icmp.h>
16066 #ifdef HAVE_NETINET_ICMP_VAR_H
16067 #include <netinet/icmp_var.h>
16070 if test "x$ac_cv_member_struct_icmpstat_icps_inhist" = xyes
; then :
16072 cat >>confdefs.h
<<_ACEOF
16073 #define HAVE_STRUCT_ICMPSTAT_ICPS_INHIST 1
16080 ac_fn_c_check_member
"$LINENO" "struct icmpstat" "icps_outhist" "ac_cv_member_struct_icmpstat_icps_outhist" "#ifdef HAVE_SYS_TYPES_H
16081 #include <sys/types.h>
16083 #ifdef HAVE_ALIAS_H
16086 #ifdef HAVE_SYS_SOCKET_H
16087 #include <sys/socket.h>
16089 #ifdef HAVE_SYS_SOCKETVAR_H
16090 #include <sys/socketvar.h>
16092 #ifdef HAVE_SYS_TIMEOUT_H
16093 #include <sys/timeout.h>
16095 #ifdef HAVE_NETINET_IN_H
16096 #include <netinet/in.h>
16098 #ifdef HAVE_NETINET_IN_SYSTM_H
16099 #include <netinet/in_systm.h>
16101 #ifdef HAVE_NETINET_IP_H
16102 #include <netinet/ip.h>
16104 #ifdef HAVE_NETINET_IP_VAR_H
16105 #include <netinet/ip_var.h>
16107 #ifdef HAVE_NETINET_IP_ICMP_H
16108 #include <netinet/ip_icmp.h>
16110 #ifdef HAVE_NETINET_ICMP_VAR_H
16111 #include <netinet/icmp_var.h>
16114 if test "x$ac_cv_member_struct_icmpstat_icps_outhist" = xyes
; then :
16116 cat >>confdefs.h
<<_ACEOF
16117 #define HAVE_STRUCT_ICMPSTAT_ICPS_OUTHIST 1
16124 ac_fn_c_check_member
"$LINENO" "struct ipstat" "ips_total" "ac_cv_member_struct_ipstat_ips_total" "#ifdef HAVE_SYS_TYPES_H
16125 #include <sys/types.h>
16127 #ifdef HAVE_SYS_SOCKETVAR_H
16128 #include <sys/socketvar.h>
16130 #ifdef HAVE_NETINET_IN_H
16131 #include <netinet/in.h>
16133 #ifdef HAVE_NETINET_IP_VAR_H
16134 #include <netinet/ip_var.h>
16137 if test "x$ac_cv_member_struct_ipstat_ips_total" = xyes
; then :
16139 cat >>confdefs.h
<<_ACEOF
16140 #define HAVE_STRUCT_IPSTAT_IPS_TOTAL 1
16147 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
16148 #include <netinet/ip_var.h>
16151 if test "x$ac_cv_member_struct_ip_stats_ips_total" = xyes
; then :
16153 cat >>confdefs.h
<<_ACEOF
16154 #define HAVE_STRUCT_IP_STATS_IPS_TOTAL 1
16161 ac_fn_c_check_member
"$LINENO" "struct tcpstat" "tcps_connattempt" "ac_cv_member_struct_tcpstat_tcps_connattempt" "#ifdef HAVE_SYS_TYPES_H
16162 #include <sys/types.h>
16164 #ifdef HAVE_SYS_SOCKETVAR_H
16165 #include <sys/socketvar.h>
16167 #ifdef HAVE_NETINET_IN_H
16168 #include <netinet/in.h>
16170 #ifdef HAVE_NETINET_TCP_H
16171 #include <netinet/tcp.h>
16173 #ifdef HAVE_NETINET_TCP_VAR_H
16174 #include <netinet/tcp_var.h>
16177 if test "x$ac_cv_member_struct_tcpstat_tcps_connattempt" = xyes
; then :
16179 cat >>confdefs.h
<<_ACEOF
16180 #define HAVE_STRUCT_TCPSTAT_TCPS_CONNATTEMPT 1
16187 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
16188 #include <netinet/tcp_var.h>
16191 if test "x$ac_cv_member_struct_tcp_stats_tcps_connattempt" = xyes
; then :
16193 cat >>confdefs.h
<<_ACEOF
16194 #define HAVE_STRUCT_TCP_STATS_TCPS_CONNATTEMPT 1
16201 ac_fn_c_check_member
"$LINENO" "struct udpstat" "udps_ipackets" "ac_cv_member_struct_udpstat_udps_ipackets" "#ifdef HAVE_SYS_TYPES_H
16202 #include <sys/types.h>
16204 #ifdef HAVE_NETINET_IN_H
16205 #include <netinet/in.h>
16207 #ifdef HAVE_NETINET_IP_VAR_H
16208 #include <netinet/ip_var.h>
16210 #ifdef HAVE_NETINET_UDP_H
16211 #include <netinet/udp.h>
16213 #ifdef HAVE_NETINET_UDP_VAR_H
16214 #include <netinet/udp_var.h>
16217 if test "x$ac_cv_member_struct_udpstat_udps_ipackets" = xyes
; then :
16219 cat >>confdefs.h
<<_ACEOF
16220 #define HAVE_STRUCT_UDPSTAT_UDPS_IPACKETS 1
16227 ac_fn_c_check_member
"$LINENO" "struct ifreq" "ifr_hwaddr" "ac_cv_member_struct_ifreq_ifr_hwaddr" "#ifdef HAVE_SYS_TYPES_H
16228 #include <sys/types.h>
16230 #ifdef HAVE_NET_IF_H
16231 # include <net/if.h>
16234 if test "x$ac_cv_member_struct_ifreq_ifr_hwaddr" = xyes
; then :
16236 cat >>confdefs.h
<<_ACEOF
16237 #define HAVE_STRUCT_IFREQ_IFR_HWADDR 1
16244 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for timezone variable" >&5
16245 $as_echo_n "checking for timezone variable... " >&6; }
16246 if ${ac_cv_have_timezone+:} false
; then :
16247 $as_echo_n "(cached) " >&6
16249 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
16250 /* end confdefs.h. */
16260 if ac_fn_c_try_link
"$LINENO"; then :
16261 ac_cv_have_timezone
="yes"
16263 ac_cv_have_timezone
="no"
16265 rm -f core conftest.err conftest.
$ac_objext \
16266 conftest
$ac_exeext conftest.
$ac_ext
16268 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_timezone" >&5
16269 $as_echo "$ac_cv_have_timezone" >&6; }
16270 if test "$ac_cv_have_timezone" = "yes"
16273 $as_echo "#define HAVE_TIMEZONE 1" >>confdefs.h
16276 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for daylight variable" >&5
16277 $as_echo_n "checking for daylight variable... " >&6; }
16278 if ${ac_cv_have_daylight+:} false
; then :
16279 $as_echo_n "(cached) " >&6
16281 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
16282 /* end confdefs.h. */
16292 if ac_fn_c_try_link
"$LINENO"; then :
16293 ac_cv_have_daylight
="yes"
16295 ac_cv_have_daylight
="no"
16297 rm -f core conftest.err conftest.
$ac_objext \
16298 conftest
$ac_exeext conftest.
$ac_ext
16300 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_daylight" >&5
16301 $as_echo "$ac_cv_have_daylight" >&6; }
16302 if test "$ac_cv_have_daylight" = "yes"
16305 $as_echo "#define HAVE_DAYLIGHT 1" >>confdefs.h
16309 ac_save_LIBS
="$LIBS"
16311 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isfinite" >&5
16312 $as_echo_n "checking for isfinite... " >&6; }
16313 if ${ac_cv_have_isfinite+:} false
; then :
16314 $as_echo_n "(cached) " >&6
16316 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
16317 /* end confdefs.h. */
16318 #define _GNU_SOURCE
16323 float f = 0.0; return isfinite(f)
16328 if ac_fn_c_try_link
"$LINENO"; then :
16329 ac_cv_have_isfinite
="yes"
16331 ac_cv_have_isfinite
="no"
16333 rm -f core conftest.err conftest.
$ac_objext \
16334 conftest
$ac_exeext conftest.
$ac_ext
16336 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_isfinite" >&5
16337 $as_echo "$ac_cv_have_isfinite" >&6; }
16338 if test "$ac_cv_have_isfinite" = "yes"
16341 $as_echo "#define HAVE_ISFINITE 1" >>confdefs.h
16345 ac_save_LIBS
="$LIBS"
16347 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinf" >&5
16348 $as_echo_n "checking for isinf... " >&6; }
16349 if ${ac_cv_have_isinf+:} false
; then :
16350 $as_echo_n "(cached) " >&6
16352 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
16353 /* end confdefs.h. */
16358 float f = 0.0; return isinf(f)
16363 if ac_fn_c_try_link
"$LINENO"; then :
16364 ac_cv_have_isinf
="yes"
16366 ac_cv_have_isinf
="no"
16368 rm -f core conftest.err conftest.
$ac_objext \
16369 conftest
$ac_exeext conftest.
$ac_ext
16371 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_isinf" >&5
16372 $as_echo "$ac_cv_have_isinf" >&6; }
16373 if test "$ac_cv_have_isinf" = "yes"
16376 $as_echo "#define HAVE_ISINF 1" >>confdefs.h
16380 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnan" >&5
16381 $as_echo_n "checking for isnan... " >&6; }
16382 if ${ac_cv_have_isnan+:} false
; then :
16383 $as_echo_n "(cached) " >&6
16385 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
16386 /* end confdefs.h. */
16391 float f = 0.0; return isnan(f)
16396 if ac_fn_c_try_link
"$LINENO"; then :
16397 ac_cv_have_isnan
="yes"
16399 ac_cv_have_isnan
="no"
16401 rm -f core conftest.err conftest.
$ac_objext \
16402 conftest
$ac_exeext conftest.
$ac_ext
16404 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_isnan" >&5
16405 $as_echo "$ac_cv_have_isnan" >&6; }
16406 if test "$ac_cv_have_isnan" = "yes"
16409 $as_echo "#define HAVE_ISNAN 1" >>confdefs.h
16412 LIBS
="$ac_save_LIBS"
16416 *i
[3456789]86*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __i386__" >&5
16417 $as_echo_n "checking whether we need to define __i386__... " >&6; }
16418 if ${ac_cv_cpp_def___i386__+:} false
; then :
16419 $as_echo_n "(cached) " >&6
16421 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
16422 /* end confdefs.h. */
16427 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
16428 $EGREP "yes" >/dev
/null
2>&1; then :
16429 ac_cv_cpp_def___i386__
=yes
16431 ac_cv_cpp_def___i386__
=no
16436 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___i386__" >&5
16437 $as_echo "$ac_cv_cpp_def___i386__" >&6; }
16438 if test "x$ac_cv_cpp_def___i386__" = xyes
; then :
16439 CFLAGS
="$CFLAGS -D__i386__"
16440 LINTFLAGS
="$LINTFLAGS -D__i386__"
16442 *x86_64
*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __x86_64__" >&5
16443 $as_echo_n "checking whether we need to define __x86_64__... " >&6; }
16444 if ${ac_cv_cpp_def___x86_64__+:} false
; then :
16445 $as_echo_n "(cached) " >&6
16447 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
16448 /* end confdefs.h. */
16453 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
16454 $EGREP "yes" >/dev
/null
2>&1; then :
16455 ac_cv_cpp_def___x86_64__
=yes
16457 ac_cv_cpp_def___x86_64__
=no
16462 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___x86_64__" >&5
16463 $as_echo "$ac_cv_cpp_def___x86_64__" >&6; }
16464 if test "x$ac_cv_cpp_def___x86_64__" = xyes
; then :
16465 CFLAGS
="$CFLAGS -D__x86_64__"
16466 LINTFLAGS
="$LINTFLAGS -D__x86_64__"
16468 *sparc64
*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __sparc64__" >&5
16469 $as_echo_n "checking whether we need to define __sparc64__... " >&6; }
16470 if ${ac_cv_cpp_def___sparc64__+:} false
; then :
16471 $as_echo_n "(cached) " >&6
16473 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
16474 /* end confdefs.h. */
16475 #ifndef __sparc64__
16479 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
16480 $EGREP "yes" >/dev
/null
2>&1; then :
16481 ac_cv_cpp_def___sparc64__
=yes
16483 ac_cv_cpp_def___sparc64__
=no
16488 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___sparc64__" >&5
16489 $as_echo "$ac_cv_cpp_def___sparc64__" >&6; }
16490 if test "x$ac_cv_cpp_def___sparc64__" = xyes
; then :
16491 CFLAGS
="$CFLAGS -D__sparc64__"
16492 LINTFLAGS
="$LINTFLAGS -D__sparc64__"
16494 *sparc
*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __sparc__" >&5
16495 $as_echo_n "checking whether we need to define __sparc__... " >&6; }
16496 if ${ac_cv_cpp_def___sparc__+:} false
; then :
16497 $as_echo_n "(cached) " >&6
16499 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
16500 /* end confdefs.h. */
16505 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
16506 $EGREP "yes" >/dev
/null
2>&1; then :
16507 ac_cv_cpp_def___sparc__
=yes
16509 ac_cv_cpp_def___sparc__
=no
16514 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___sparc__" >&5
16515 $as_echo "$ac_cv_cpp_def___sparc__" >&6; }
16516 if test "x$ac_cv_cpp_def___sparc__" = xyes
; then :
16517 CFLAGS
="$CFLAGS -D__sparc__"
16518 LINTFLAGS
="$LINTFLAGS -D__sparc__"
16520 *powerpc64
*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __powerpc64__" >&5
16521 $as_echo_n "checking whether we need to define __powerpc64__... " >&6; }
16522 if ${ac_cv_cpp_def___powerpc64__+:} false
; then :
16523 $as_echo_n "(cached) " >&6
16525 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
16526 /* end confdefs.h. */
16527 #ifndef __powerpc64__
16531 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
16532 $EGREP "yes" >/dev
/null
2>&1; then :
16533 ac_cv_cpp_def___powerpc64__
=yes
16535 ac_cv_cpp_def___powerpc64__
=no
16540 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___powerpc64__" >&5
16541 $as_echo "$ac_cv_cpp_def___powerpc64__" >&6; }
16542 if test "x$ac_cv_cpp_def___powerpc64__" = xyes
; then :
16543 CFLAGS
="$CFLAGS -D__powerpc64__"
16544 LINTFLAGS
="$LINTFLAGS -D__powerpc64__"
16546 *powerpc
*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __powerpc__" >&5
16547 $as_echo_n "checking whether we need to define __powerpc__... " >&6; }
16548 if ${ac_cv_cpp_def___powerpc__+:} false
; then :
16549 $as_echo_n "(cached) " >&6
16551 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
16552 /* end confdefs.h. */
16553 #ifndef __powerpc__
16557 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
16558 $EGREP "yes" >/dev
/null
2>&1; then :
16559 ac_cv_cpp_def___powerpc__
=yes
16561 ac_cv_cpp_def___powerpc__
=no
16566 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___powerpc__" >&5
16567 $as_echo "$ac_cv_cpp_def___powerpc__" >&6; }
16568 if test "x$ac_cv_cpp_def___powerpc__" = xyes
; then :
16569 CFLAGS
="$CFLAGS -D__powerpc__"
16570 LINTFLAGS
="$LINTFLAGS -D__powerpc__"
16572 *aarch64
*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __aarch64__" >&5
16573 $as_echo_n "checking whether we need to define __aarch64__... " >&6; }
16574 if ${ac_cv_cpp_def___aarch64__+:} false
; then :
16575 $as_echo_n "(cached) " >&6
16577 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
16578 /* end confdefs.h. */
16579 #ifndef __aarch64__
16583 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
16584 $EGREP "yes" >/dev
/null
2>&1; then :
16585 ac_cv_cpp_def___aarch64__
=yes
16587 ac_cv_cpp_def___aarch64__
=no
16592 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___aarch64__" >&5
16593 $as_echo "$ac_cv_cpp_def___aarch64__" >&6; }
16594 if test "x$ac_cv_cpp_def___aarch64__" = xyes
; then :
16595 CFLAGS
="$CFLAGS -D__aarch64__"
16596 LINTFLAGS
="$LINTFLAGS -D__aarch64__"
16598 *arm
*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __arm__" >&5
16599 $as_echo_n "checking whether we need to define __arm__... " >&6; }
16600 if ${ac_cv_cpp_def___arm__+:} false
; then :
16601 $as_echo_n "(cached) " >&6
16603 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
16604 /* end confdefs.h. */
16609 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
16610 $EGREP "yes" >/dev
/null
2>&1; then :
16611 ac_cv_cpp_def___arm__
=yes
16613 ac_cv_cpp_def___arm__
=no
16618 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___arm__" >&5
16619 $as_echo "$ac_cv_cpp_def___arm__" >&6; }
16620 if test "x$ac_cv_cpp_def___arm__" = xyes
; then :
16621 CFLAGS
="$CFLAGS -D__arm__"
16622 LINTFLAGS
="$LINTFLAGS -D__arm__"
16626 case $host_vendor in
16627 *sun
*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __sun__" >&5
16628 $as_echo_n "checking whether we need to define __sun__... " >&6; }
16629 if ${ac_cv_cpp_def___sun__+:} false
; then :
16630 $as_echo_n "(cached) " >&6
16632 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
16633 /* end confdefs.h. */
16638 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
16639 $EGREP "yes" >/dev
/null
2>&1; then :
16640 ac_cv_cpp_def___sun__
=yes
16642 ac_cv_cpp_def___sun__
=no
16647 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___sun__" >&5
16648 $as_echo "$ac_cv_cpp_def___sun__" >&6; }
16649 if test "x$ac_cv_cpp_def___sun__" = xyes
; then :
16650 CFLAGS
="$CFLAGS -D__sun__"
16651 LINTFLAGS
="$LINTFLAGS -D__sun__"
16659 ac_config_commands
="$ac_config_commands include/stamp-h"
16661 $as_echo_n "creating Makefile rules..." >&6
16663 ALL_VARS_RULES
="OPENGL_LIBS = $OPENGL_LIBS
16664 SOCKET_LIBS = $SOCKET_LIBS
16665 COREFOUNDATION_LIBS = $COREFOUNDATION_LIBS
16666 IOKIT_LIBS = $IOKIT_LIBS
16667 FORCEFEEDBACK_LIBS = $FORCEFEEDBACK_LIBS
16668 APPLICATIONSERVICES_LIBS = $APPLICATIONSERVICES_LIBS
16669 CORESERVICES_LIBS = $CORESERVICES_LIBS
16670 APPKIT_LIBS = $APPKIT_LIBS
16671 DISKARBITRATION_LIBS = $DISKARBITRATION_LIBS
16672 SECURITY_LIBS = $SECURITY_LIBS
16673 COREAUDIO_LIBS = $COREAUDIO_LIBS
16674 OPENAL_LIBS = $OPENAL_LIBS
16675 OPENCL_LIBS = $OPENCL_LIBS
16676 QUICKTIME_LIBS = $QUICKTIME_LIBS
16677 CARBON_LIBS = $CARBON_LIBS
16678 PTHREAD_LIBS = $PTHREAD_LIBS
16679 X_CFLAGS = $X_CFLAGS
16680 X_PRE_LIBS = $X_PRE_LIBS
16682 X_EXTRA_LIBS = $X_EXTRA_LIBS
16683 XML2_CFLAGS = $XML2_CFLAGS
16684 XML2_LIBS = $XML2_LIBS
16685 XSLT_CFLAGS = $XSLT_CFLAGS
16686 XSLT_LIBS = $XSLT_LIBS
16687 DBUS_CFLAGS = $DBUS_CFLAGS
16688 DBUS_LIBS = $DBUS_LIBS
16689 HAL_CFLAGS = $HAL_CFLAGS
16690 HAL_LIBS = $HAL_LIBS
16691 GNUTLS_CFLAGS = $GNUTLS_CFLAGS
16692 GNUTLS_LIBS = $GNUTLS_LIBS
16693 SANE_CFLAGS = $SANE_CFLAGS
16694 SANE_LIBS = $SANE_LIBS
16695 GPHOTO2_CFLAGS = $GPHOTO2_CFLAGS
16696 GPHOTO2_LIBS = $GPHOTO2_LIBS
16697 GPHOTO2_PORT_CFLAGS = $GPHOTO2_PORT_CFLAGS
16698 GPHOTO2_PORT_LIBS = $GPHOTO2_PORT_LIBS
16699 RESOLV_LIBS = $RESOLV_LIBS
16700 LCMS2_CFLAGS = $LCMS2_CFLAGS
16701 LCMS2_LIBS = $LCMS2_LIBS
16702 FREETYPE_CFLAGS = $FREETYPE_CFLAGS
16703 FREETYPE_LIBS = $FREETYPE_LIBS
16705 GETTEXTPO_LIBS = $GETTEXTPO_LIBS
16706 GSTREAMER_CFLAGS = $GSTREAMER_CFLAGS
16707 GSTREAMER_LIBS = $GSTREAMER_LIBS
16708 ALSA_LIBS = $ALSA_LIBS
16709 OSS4_CFLAGS = $OSS4_CFLAGS
16710 CAPI20_CFLAGS = $CAPI20_CFLAGS
16711 CAPI20_LIBS = $CAPI20_LIBS
16712 CUPS_CFLAGS = $CUPS_CFLAGS
16713 FONTCONFIG_CFLAGS = $FONTCONFIG_CFLAGS
16714 FONTCONFIG_LIBS = $FONTCONFIG_LIBS
16715 JPEG_CFLAGS = $JPEG_CFLAGS
16716 JPEG_LIBS = $JPEG_LIBS
16717 PNG_CFLAGS = $PNG_CFLAGS
16718 PNG_LIBS = $PNG_LIBS
16719 TIFF_CFLAGS = $TIFF_CFLAGS
16720 TIFF_LIBS = $TIFF_LIBS
16721 MPG123_CFLAGS = $MPG123_CFLAGS
16722 MPG123_LIBS = $MPG123_LIBS
16723 KSTAT_LIBS = $KSTAT_LIBS
16724 PROCSTAT_LIBS = $PROCSTAT_LIBS
16726 POLL_LIBS = $POLL_LIBS
16728 LDAP_LIBS = $LDAP_LIBS
16733 wine_fn_append_rule
"
16734 # Rules automatically generated by configure
16736 CLEAN_FILES = *.o *.a *.so *.res *.fake *.ok *.tab.[ch] *.yy.c
16741 Makefile: $srcdir/Makefile.in $srcdir/Make.vars.in config.status \$(MAKEDEP)
16742 @./config.status Make.tmp Makefile"
16744 test "$srcdir" = .
&& wine_fn_append_rule
"all: .gitignore
16745 .gitignore: config.status
16746 @./config.status .gitignore"
16748 test -n "$CROSSTARGET" || wine_fn_append_rule
"crosstest:
16749 @echo \"crosstest is not supported (mingw not installed?)\" && false"
16751 if test "x$enable_fonts" != xno
; then
16752 ac_config_links
="$ac_config_links fonts/marlett.ttf:fonts/marlett.ttf"
16753 ac_config_links
="$ac_config_links fonts/symbol.ttf:fonts/symbol.ttf"
16754 ac_config_links
="$ac_config_links fonts/tahoma.ttf:fonts/tahoma.ttf"
16755 ac_config_links
="$ac_config_links fonts/tahomabd.ttf:fonts/tahomabd.ttf"
16756 test "$srcdir" = "." || wine_fn_config_symlink fonts
/marlett.ttf fonts
/symbol.ttf fonts
/tahoma.ttf fonts
/tahomabd.ttf
16758 ac_config_links
="$ac_config_links loader/l_intl.nls:loader/l_intl.nls"
16759 test "$srcdir" = "." || wine_fn_config_symlink loader
/l_intl.nls
16760 ac_config_links
="$ac_config_links po/LINGUAS:po/LINGUAS"
16761 test "$srcdir" = "." || wine_fn_config_symlink po
/LINGUAS
16762 ac_config_links
="$ac_config_links wine:tools/winewrapper"
16763 wine_fn_config_symlink wine
16764 if test "x$enable_win64" != xno
; then
16765 ac_config_links
="$ac_config_links wine64:tools/winewrapper"
16766 wine_fn_config_symlink wine64
16769 wine_fn_config_dll acledit enable_acledit
16770 wine_fn_config_dll aclui enable_aclui implib
16771 wine_fn_config_dll activeds enable_activeds implib
16772 wine_fn_config_dll actxprxy enable_actxprxy clean
16773 wine_fn_config_lib adsiid
16774 wine_fn_config_dll advapi32 enable_advapi32 clean
,implib
16775 wine_fn_config_test dlls
/advapi32
/tests advapi32_test
16776 wine_fn_config_dll advpack enable_advpack implib
16777 wine_fn_config_test dlls
/advpack
/tests advpack_test
16778 wine_fn_config_dll amstream enable_amstream clean
16779 wine_fn_config_test dlls
/amstream
/tests amstream_test
16780 wine_fn_config_dll api-ms-win-core-com-l1-1-0 enable_api_ms_win_core_com_l1_1_0
16781 wine_fn_config_dll api-ms-win-core-console-l1-1-0 enable_api_ms_win_core_console_l1_1_0
16782 wine_fn_config_dll api-ms-win-core-datetime-l1-1-0 enable_api_ms_win_core_datetime_l1_1_0
16783 wine_fn_config_dll api-ms-win-core-datetime-l1-1-1 enable_api_ms_win_core_datetime_l1_1_1
16784 wine_fn_config_dll api-ms-win-core-debug-l1-1-1 enable_api_ms_win_core_debug_l1_1_1
16785 wine_fn_config_dll api-ms-win-core-errorhandling-l1-1-1 enable_api_ms_win_core_errorhandling_l1_1_1
16786 wine_fn_config_dll api-ms-win-core-fibers-l1-1-0 enable_api_ms_win_core_fibers_l1_1_0
16787 wine_fn_config_dll api-ms-win-core-fibers-l1-1-1 enable_api_ms_win_core_fibers_l1_1_1
16788 wine_fn_config_dll api-ms-win-core-file-l1-2-0 enable_api_ms_win_core_file_l1_2_0
16789 wine_fn_config_dll api-ms-win-core-file-l2-1-0 enable_api_ms_win_core_file_l2_1_0
16790 wine_fn_config_dll api-ms-win-core-file-l2-1-1 enable_api_ms_win_core_file_l2_1_1
16791 wine_fn_config_dll api-ms-win-core-handle-l1-1-0 enable_api_ms_win_core_handle_l1_1_0
16792 wine_fn_config_dll api-ms-win-core-heap-l1-2-0 enable_api_ms_win_core_heap_l1_2_0
16793 wine_fn_config_dll api-ms-win-core-heap-obsolete-l1-1-0 enable_api_ms_win_core_heap_obsolete_l1_1_0
16794 wine_fn_config_dll api-ms-win-core-interlocked-l1-2-0 enable_api_ms_win_core_interlocked_l1_2_0
16795 wine_fn_config_dll api-ms-win-core-io-l1-1-1 enable_api_ms_win_core_io_l1_1_1
16796 wine_fn_config_dll api-ms-win-core-kernel32-legacy-l1-1-0 enable_api_ms_win_core_kernel32_legacy_l1_1_0
16797 wine_fn_config_dll api-ms-win-core-libraryloader-l1-1-1 enable_api_ms_win_core_libraryloader_l1_1_1
16798 wine_fn_config_dll api-ms-win-core-localization-l1-2-0 enable_api_ms_win_core_localization_l1_2_0
16799 wine_fn_config_dll api-ms-win-core-localization-l1-2-1 enable_api_ms_win_core_localization_l1_2_1
16800 wine_fn_config_dll api-ms-win-core-localization-obsolete-l1-1-0 enable_api_ms_win_core_localization_obsolete_l1_1_0
16801 wine_fn_config_dll api-ms-win-core-localregistry-l1-1-0 enable_api_ms_win_core_localregistry_l1_1_0
16802 wine_fn_config_dll api-ms-win-core-memory-l1-1-1 enable_api_ms_win_core_memory_l1_1_1
16803 wine_fn_config_dll api-ms-win-core-namedpipe-l1-2-0 enable_api_ms_win_core_namedpipe_l1_2_0
16804 wine_fn_config_dll api-ms-win-core-processenvironment-l1-2-0 enable_api_ms_win_core_processenvironment_l1_2_0
16805 wine_fn_config_dll api-ms-win-core-processthreads-l1-1-0 enable_api_ms_win_core_processthreads_l1_1_0
16806 wine_fn_config_dll api-ms-win-core-processthreads-l1-1-1 enable_api_ms_win_core_processthreads_l1_1_1
16807 wine_fn_config_dll api-ms-win-core-processthreads-l1-1-2 enable_api_ms_win_core_processthreads_l1_1_2
16808 wine_fn_config_dll api-ms-win-core-profile-l1-1-0 enable_api_ms_win_core_profile_l1_1_0
16809 wine_fn_config_dll api-ms-win-core-psapi-l1-1-0 enable_api_ms_win_core_psapi_l1_1_0
16810 wine_fn_config_dll api-ms-win-core-registry-l1-1-0 enable_api_ms_win_core_registry_l1_1_0
16811 wine_fn_config_dll api-ms-win-core-rtlsupport-l1-2-0 enable_api_ms_win_core_rtlsupport_l1_2_0
16812 wine_fn_config_dll api-ms-win-core-shlwapi-legacy-l1-1-0 enable_api_ms_win_core_shlwapi_legacy_l1_1_0
16813 wine_fn_config_dll api-ms-win-core-string-l1-1-0 enable_api_ms_win_core_string_l1_1_0
16814 wine_fn_config_dll api-ms-win-core-synch-l1-2-0 enable_api_ms_win_core_synch_l1_2_0
16815 wine_fn_config_dll api-ms-win-core-sysinfo-l1-2-0 enable_api_ms_win_core_sysinfo_l1_2_0
16816 wine_fn_config_dll api-ms-win-core-sysinfo-l1-2-1 enable_api_ms_win_core_sysinfo_l1_2_1
16817 wine_fn_config_dll api-ms-win-core-threadpool-legacy-l1-1-0 enable_api_ms_win_core_threadpool_legacy_l1_1_0
16818 wine_fn_config_dll api-ms-win-core-timezone-l1-1-0 enable_api_ms_win_core_timezone_l1_1_0
16819 wine_fn_config_dll api-ms-win-core-url-l1-1-0 enable_api_ms_win_core_url_l1_1_0
16820 wine_fn_config_dll api-ms-win-core-util-l1-1-0 enable_api_ms_win_core_util_l1_1_0
16821 wine_fn_config_dll api-ms-win-core-winrt-error-l1-1-0 enable_api_ms_win_core_winrt_error_l1_1_0
16822 wine_fn_config_dll api-ms-win-core-winrt-l1-1-0 enable_api_ms_win_core_winrt_l1_1_0
16823 wine_fn_config_dll api-ms-win-core-winrt-string-l1-1-0 enable_api_ms_win_core_winrt_string_l1_1_0
16824 wine_fn_config_dll api-ms-win-downlevel-advapi32-l1-1-0 enable_api_ms_win_downlevel_advapi32_l1_1_0
16825 wine_fn_config_dll api-ms-win-downlevel-advapi32-l2-1-0 enable_api_ms_win_downlevel_advapi32_l2_1_0
16826 wine_fn_config_dll api-ms-win-downlevel-normaliz-l1-1-0 enable_api_ms_win_downlevel_normaliz_l1_1_0
16827 wine_fn_config_dll api-ms-win-downlevel-ole32-l1-1-0 enable_api_ms_win_downlevel_ole32_l1_1_0
16828 wine_fn_config_dll api-ms-win-downlevel-shell32-l1-1-0 enable_api_ms_win_downlevel_shell32_l1_1_0
16829 wine_fn_config_dll api-ms-win-downlevel-shlwapi-l1-1-0 enable_api_ms_win_downlevel_shlwapi_l1_1_0
16830 wine_fn_config_dll api-ms-win-downlevel-shlwapi-l2-1-0 enable_api_ms_win_downlevel_shlwapi_l2_1_0
16831 wine_fn_config_dll api-ms-win-downlevel-user32-l1-1-0 enable_api_ms_win_downlevel_user32_l1_1_0
16832 wine_fn_config_dll api-ms-win-downlevel-version-l1-1-0 enable_api_ms_win_downlevel_version_l1_1_0
16833 wine_fn_config_dll api-ms-win-eventing-provider-l1-1-0 enable_api_ms_win_eventing_provider_l1_1_0
16834 wine_fn_config_dll api-ms-win-ntuser-dc-access-l1-1-0 enable_api_ms_win_ntuser_dc_access_l1_1_0
16835 wine_fn_config_dll api-ms-win-security-base-l1-1-0 enable_api_ms_win_security_base_l1_1_0
16836 wine_fn_config_dll api-ms-win-security-base-l1-2-0 enable_api_ms_win_security_base_l1_2_0
16837 wine_fn_config_dll api-ms-win-security-sddl-l1-1-0 enable_api_ms_win_security_sddl_l1_1_0
16838 wine_fn_config_dll api-ms-win-service-core-l1-1-1 enable_api_ms_win_service_core_l1_1_1
16839 wine_fn_config_dll api-ms-win-service-management-l1-1-0 enable_api_ms_win_service_management_l1_1_0
16840 wine_fn_config_dll api-ms-win-service-winsvc-l1-2-0 enable_api_ms_win_service_winsvc_l1_2_0
16841 wine_fn_config_dll apphelp enable_apphelp
16842 wine_fn_config_test dlls
/apphelp
/tests apphelp_test
16843 wine_fn_config_dll appwiz.cpl enable_appwiz_cpl po
16844 wine_fn_config_dll atl enable_atl clean
,implib
16845 wine_fn_config_test dlls
/atl
/tests atl_test
16846 wine_fn_config_dll atl100 enable_atl100 clean
,implib
16847 wine_fn_config_test dlls
/atl100
/tests atl100_test
16848 wine_fn_config_dll atl110 enable_atl110 clean
16849 wine_fn_config_dll atl80 enable_atl80 clean
,implib
16850 wine_fn_config_test dlls
/atl80
/tests atl80_test
16851 wine_fn_config_dll atl90 enable_atl90 clean
16852 wine_fn_config_dll authz enable_authz
16853 wine_fn_config_dll avicap32 enable_avicap32 implib
16854 wine_fn_config_dll avifil32 enable_avifil32 clean
,implib
,po
16855 wine_fn_config_test dlls
/avifil32
/tests avifil32_test
16856 wine_fn_config_dll avifile.dll16 enable_win16
16857 wine_fn_config_dll avrt enable_avrt implib
16858 wine_fn_config_dll bcrypt enable_bcrypt
16859 wine_fn_config_test dlls
/bcrypt
/tests bcrypt_test
16860 wine_fn_config_dll browseui enable_browseui clean
,po
16861 wine_fn_config_test dlls
/browseui
/tests browseui_test
16862 wine_fn_config_dll cabinet enable_cabinet implib
16863 wine_fn_config_test dlls
/cabinet
/tests cabinet_test
16864 wine_fn_config_dll capi2032 enable_capi2032 implib
16865 wine_fn_config_dll cards enable_cards implib
16866 wine_fn_config_dll cfgmgr32 enable_cfgmgr32 implib
16867 wine_fn_config_dll clusapi enable_clusapi implib
16868 wine_fn_config_dll comcat enable_comcat
16869 wine_fn_config_test dlls
/comcat
/tests comcat_test
16870 wine_fn_config_dll comctl32 enable_comctl32 implib
,po
16871 wine_fn_config_test dlls
/comctl32
/tests comctl32_test
16872 wine_fn_config_dll comdlg32 enable_comdlg32 clean
,implib
,po
16873 wine_fn_config_test dlls
/comdlg32
/tests comdlg32_test
16874 wine_fn_config_dll
comm.drv16 enable_win16
16875 wine_fn_config_dll commdlg.dll16 enable_win16
16876 wine_fn_config_dll compobj.dll16 enable_win16
16877 wine_fn_config_dll compstui enable_compstui implib
16878 wine_fn_config_dll comsvcs enable_comsvcs implib
16879 wine_fn_config_dll credui enable_credui implib
,po
16880 wine_fn_config_test dlls
/credui
/tests credui_test
16881 wine_fn_config_dll crtdll enable_crtdll implib
16882 wine_fn_config_dll crypt32 enable_crypt32 implib
,po
16883 wine_fn_config_test dlls
/crypt32
/tests crypt32_test
16884 wine_fn_config_dll cryptdlg enable_cryptdlg po
16885 wine_fn_config_dll cryptdll enable_cryptdll implib
16886 wine_fn_config_dll cryptext enable_cryptext
16887 wine_fn_config_dll cryptnet enable_cryptnet implib
16888 wine_fn_config_test dlls
/cryptnet
/tests cryptnet_test
16889 wine_fn_config_dll cryptui enable_cryptui implib
,po
16890 wine_fn_config_test dlls
/cryptui
/tests cryptui_test
16891 wine_fn_config_dll ctapi32 enable_ctapi32
16892 wine_fn_config_dll ctl3d.dll16 enable_win16
16893 wine_fn_config_dll ctl3d32 enable_ctl3d32 implib
16894 wine_fn_config_dll ctl3dv2.dll16 enable_win16
16895 wine_fn_config_dll d2d1 enable_d2d1 implib
16896 wine_fn_config_test dlls
/d2d
1/tests d2d1_test
16897 wine_fn_config_dll d3d10 enable_d3d10 implib
16898 wine_fn_config_test dlls
/d3d10
/tests d3d10_test
16899 wine_fn_config_dll d3d10_1 enable_d3d10_1 implib
16900 wine_fn_config_dll d3d10core enable_d3d10core implib
16901 wine_fn_config_test dlls
/d3d10core
/tests d3d10core_test
16902 wine_fn_config_dll d3d11 enable_d3d11
16903 wine_fn_config_dll d3d8 enable_d3d8 implib
16904 wine_fn_config_test dlls
/d3d
8/tests d3d8_test
16905 wine_fn_config_dll d3d9 enable_d3d9 implib
16906 wine_fn_config_test dlls
/d3d
9/tests d3d9_test
16907 wine_fn_config_dll d3dcompiler_33 enable_d3dcompiler_33
16908 wine_fn_config_dll d3dcompiler_34 enable_d3dcompiler_34
16909 wine_fn_config_dll d3dcompiler_35 enable_d3dcompiler_35
16910 wine_fn_config_dll d3dcompiler_36 enable_d3dcompiler_36
16911 wine_fn_config_dll d3dcompiler_37 enable_d3dcompiler_37
16912 wine_fn_config_dll d3dcompiler_38 enable_d3dcompiler_38
16913 wine_fn_config_dll d3dcompiler_39 enable_d3dcompiler_39
16914 wine_fn_config_dll d3dcompiler_40 enable_d3dcompiler_40
16915 wine_fn_config_dll d3dcompiler_41 enable_d3dcompiler_41
16916 wine_fn_config_dll d3dcompiler_42 enable_d3dcompiler_42
16917 wine_fn_config_dll d3dcompiler_43 enable_d3dcompiler_43 implib d3dcompiler
16918 wine_fn_config_test dlls
/d3dcompiler_43
/tests d3dcompiler_43_test
16919 wine_fn_config_dll d3dim enable_d3dim implib
16920 wine_fn_config_dll d3drm enable_d3drm implib
16921 wine_fn_config_test dlls
/d3drm
/tests d3drm_test
16922 wine_fn_config_dll d3dx10_33 enable_d3dx10_33
16923 wine_fn_config_dll d3dx10_34 enable_d3dx10_34
16924 wine_fn_config_dll d3dx10_35 enable_d3dx10_35
16925 wine_fn_config_dll d3dx10_36 enable_d3dx10_36
16926 wine_fn_config_dll d3dx10_37 enable_d3dx10_37
16927 wine_fn_config_dll d3dx10_38 enable_d3dx10_38
16928 wine_fn_config_dll d3dx10_39 enable_d3dx10_39
16929 wine_fn_config_dll d3dx10_40 enable_d3dx10_40
16930 wine_fn_config_dll d3dx10_41 enable_d3dx10_41
16931 wine_fn_config_dll d3dx10_42 enable_d3dx10_42
16932 wine_fn_config_dll d3dx10_43 enable_d3dx10_43
16933 wine_fn_config_dll d3dx11_42 enable_d3dx11_42
16934 wine_fn_config_dll d3dx11_43 enable_d3dx11_43
16935 wine_fn_config_dll d3dx9_24 enable_d3dx9_24
16936 wine_fn_config_dll d3dx9_25 enable_d3dx9_25
16937 wine_fn_config_dll d3dx9_26 enable_d3dx9_26
16938 wine_fn_config_dll d3dx9_27 enable_d3dx9_27
16939 wine_fn_config_dll d3dx9_28 enable_d3dx9_28
16940 wine_fn_config_dll d3dx9_29 enable_d3dx9_29
16941 wine_fn_config_dll d3dx9_30 enable_d3dx9_30
16942 wine_fn_config_dll d3dx9_31 enable_d3dx9_31
16943 wine_fn_config_dll d3dx9_32 enable_d3dx9_32
16944 wine_fn_config_dll d3dx9_33 enable_d3dx9_33
16945 wine_fn_config_dll d3dx9_34 enable_d3dx9_34
16946 wine_fn_config_dll d3dx9_35 enable_d3dx9_35
16947 wine_fn_config_dll d3dx9_36 enable_d3dx9_36 implib d3dx9
16948 wine_fn_config_test dlls
/d3dx9_36
/tests d3dx9_36_test
16949 wine_fn_config_dll d3dx9_37 enable_d3dx9_37
16950 wine_fn_config_dll d3dx9_38 enable_d3dx9_38
16951 wine_fn_config_dll d3dx9_39 enable_d3dx9_39
16952 wine_fn_config_dll d3dx9_40 enable_d3dx9_40
16953 wine_fn_config_dll d3dx9_41 enable_d3dx9_41
16954 wine_fn_config_dll d3dx9_42 enable_d3dx9_42
16955 wine_fn_config_dll d3dx9_43 enable_d3dx9_43
16956 wine_fn_config_dll d3dxof enable_d3dxof clean
,implib
16957 wine_fn_config_test dlls
/d3dxof
/tests d3dxof_test
16958 wine_fn_config_dll dbgeng enable_dbgeng implib
16959 wine_fn_config_dll dbghelp enable_dbghelp implib
16960 wine_fn_config_dll dciman32 enable_dciman32 implib
16961 wine_fn_config_dll ddeml.dll16 enable_win16
16962 wine_fn_config_dll ddraw enable_ddraw clean
,implib
16963 wine_fn_config_test dlls
/ddraw
/tests ddraw_test
16964 wine_fn_config_dll ddrawex enable_ddrawex clean
16965 wine_fn_config_test dlls
/ddrawex
/tests ddrawex_test
16966 wine_fn_config_dll devenum enable_devenum clean
,po
16967 wine_fn_config_test dlls
/devenum
/tests devenum_test
16968 wine_fn_config_dll dhcpcsvc enable_dhcpcsvc
16969 wine_fn_config_dll difxapi enable_difxapi
16970 wine_fn_config_dll dinput enable_dinput clean
,implib
,po
,staticimplib
16971 wine_fn_config_test dlls
/dinput
/tests dinput_test
16972 wine_fn_config_dll dinput8 enable_dinput8 clean
,implib
16973 wine_fn_config_test dlls
/dinput
8/tests dinput8_test
16974 wine_fn_config_dll dispdib.dll16 enable_win16
16975 wine_fn_config_dll dispex enable_dispex clean
16976 wine_fn_config_test dlls
/dispex
/tests dispex_test
16977 wine_fn_config_dll display.drv16 enable_win16
16978 wine_fn_config_dll dmband enable_dmband clean
16979 wine_fn_config_test dlls
/dmband
/tests dmband_test
16980 wine_fn_config_dll dmcompos enable_dmcompos clean
16981 wine_fn_config_test dlls
/dmcompos
/tests dmcompos_test
16982 wine_fn_config_dll dmime enable_dmime clean
16983 wine_fn_config_test dlls
/dmime
/tests dmime_test
16984 wine_fn_config_dll dmloader enable_dmloader clean
16985 wine_fn_config_test dlls
/dmloader
/tests dmloader_test
16986 wine_fn_config_dll dmscript enable_dmscript clean
16987 wine_fn_config_test dlls
/dmscript
/tests dmscript_test
16988 wine_fn_config_dll dmstyle enable_dmstyle clean
16989 wine_fn_config_test dlls
/dmstyle
/tests dmstyle_test
16990 wine_fn_config_dll dmsynth enable_dmsynth clean
16991 wine_fn_config_test dlls
/dmsynth
/tests dmsynth_test
16992 wine_fn_config_dll dmusic enable_dmusic clean
16993 wine_fn_config_test dlls
/dmusic
/tests dmusic_test
16994 wine_fn_config_dll dmusic32 enable_dmusic32 implib
16995 wine_fn_config_dll dnsapi enable_dnsapi implib
16996 wine_fn_config_test dlls
/dnsapi
/tests dnsapi_test
16997 wine_fn_config_dll dplay enable_dplay implib
16998 wine_fn_config_dll dplayx enable_dplayx clean
,implib
16999 wine_fn_config_test dlls
/dplayx
/tests dplayx_test
17000 wine_fn_config_dll dpnaddr enable_dpnaddr
17001 wine_fn_config_dll dpnet enable_dpnet clean
,implib
17002 wine_fn_config_test dlls
/dpnet
/tests dpnet_test
17003 wine_fn_config_dll dpnhpast enable_dpnhpast
17004 wine_fn_config_dll dpnlobby enable_dpnlobby
17005 wine_fn_config_dll dpvoice enable_dpvoice clean
17006 wine_fn_config_test dlls
/dpvoice
/tests dpvoice_test
17007 wine_fn_config_dll dpwsockx enable_dpwsockx
17008 wine_fn_config_dll drmclien enable_drmclien
17009 wine_fn_config_dll dsound enable_dsound clean
,implib
17010 wine_fn_config_test dlls
/dsound
/tests dsound_test
17011 wine_fn_config_dll dssenh enable_dssenh
17012 wine_fn_config_test dlls
/dssenh
/tests dssenh_test
17013 wine_fn_config_dll dswave enable_dswave clean
17014 wine_fn_config_test dlls
/dswave
/tests dswave_test
17015 wine_fn_config_dll dwmapi enable_dwmapi implib
17016 wine_fn_config_dll dwrite enable_dwrite implib
17017 wine_fn_config_test dlls
/dwrite
/tests dwrite_test
17018 wine_fn_config_dll dxdiagn enable_dxdiagn clean
,po
17019 wine_fn_config_test dlls
/dxdiagn
/tests dxdiagn_test
17020 wine_fn_config_lib dxerr8
17021 wine_fn_config_lib dxerr9
17022 wine_fn_config_dll dxgi enable_dxgi implib
17023 wine_fn_config_test dlls
/dxgi
/tests dxgi_test
17024 wine_fn_config_lib dxguid
17025 wine_fn_config_dll dxva2 enable_dxva2
17026 wine_fn_config_dll explorerframe enable_explorerframe clean
17027 wine_fn_config_test dlls
/explorerframe
/tests explorerframe_test
17028 wine_fn_config_dll ext-ms-win-gdi-devcaps-l1-1-0 enable_ext_ms_win_gdi_devcaps_l1_1_0
17029 wine_fn_config_dll faultrep enable_faultrep implib
17030 wine_fn_config_test dlls
/faultrep
/tests faultrep_test
17031 wine_fn_config_dll fltlib enable_fltlib
17032 wine_fn_config_dll fntcache enable_fntcache
17033 wine_fn_config_dll fontsub enable_fontsub
17034 wine_fn_config_dll fusion enable_fusion
17035 wine_fn_config_test dlls
/fusion
/tests fusion_test
17036 wine_fn_config_dll fwpuclnt enable_fwpuclnt
17037 wine_fn_config_dll gameux enable_gameux clean
17038 wine_fn_config_test dlls
/gameux
/tests gameux_test
17039 wine_fn_config_dll gdi.exe16 enable_win16
17040 wine_fn_config_dll gdi32 enable_gdi32 clean
,implib
,po
17041 wine_fn_config_test dlls
/gdi32
/tests gdi32_test
17042 wine_fn_config_dll gdiplus enable_gdiplus implib
17043 wine_fn_config_test dlls
/gdiplus
/tests gdiplus_test
17044 wine_fn_config_dll glu32 enable_glu32 implib
17045 wine_fn_config_dll gphoto2.ds enable_gphoto2_ds po
17046 wine_fn_config_dll gpkcsp enable_gpkcsp
17047 wine_fn_config_dll hal enable_hal
17048 wine_fn_config_dll hhctrl.ocx enable_hhctrl_ocx clean
,implib
,po htmlhelp
17049 wine_fn_config_dll hid enable_hid implib
17050 wine_fn_config_dll hlink enable_hlink clean
,implib
17051 wine_fn_config_test dlls
/hlink
/tests hlink_test
17052 wine_fn_config_dll hnetcfg enable_hnetcfg clean
17053 wine_fn_config_dll httpapi enable_httpapi
17054 wine_fn_config_dll iccvid enable_iccvid po
17055 wine_fn_config_dll icmp enable_icmp
17056 wine_fn_config_dll ieframe enable_ieframe clean
,implib
,po
17057 wine_fn_config_test dlls
/ieframe
/tests ieframe_test
17058 wine_fn_config_dll ifsmgr.vxd enable_win16
17059 wine_fn_config_dll imaadp32.acm enable_imaadp32_acm
17060 wine_fn_config_dll imagehlp enable_imagehlp implib
17061 wine_fn_config_test dlls
/imagehlp
/tests imagehlp_test
17062 wine_fn_config_dll imm.dll16 enable_win16
17063 wine_fn_config_dll imm32 enable_imm32 implib
17064 wine_fn_config_test dlls
/imm32
/tests imm32_test
17065 wine_fn_config_dll inetcomm enable_inetcomm clean
,implib
17066 wine_fn_config_test dlls
/inetcomm
/tests inetcomm_test
17067 wine_fn_config_dll inetcpl.cpl enable_inetcpl_cpl po
17068 wine_fn_config_dll inetmib1 enable_inetmib1
17069 wine_fn_config_test dlls
/inetmib
1/tests inetmib1_test
17070 wine_fn_config_dll infosoft enable_infosoft clean
17071 wine_fn_config_test dlls
/infosoft
/tests infosoft_test
17072 wine_fn_config_dll initpki enable_initpki
17073 wine_fn_config_dll inkobj enable_inkobj
17074 wine_fn_config_dll inseng enable_inseng clean
17075 wine_fn_config_dll iphlpapi enable_iphlpapi implib
17076 wine_fn_config_test dlls
/iphlpapi
/tests iphlpapi_test
17077 wine_fn_config_dll itircl enable_itircl
17078 wine_fn_config_dll itss enable_itss clean
17079 wine_fn_config_test dlls
/itss
/tests itss_test
17080 wine_fn_config_dll joy.cpl enable_joy_cpl po
17081 wine_fn_config_dll jscript enable_jscript clean
,po
17082 wine_fn_config_test dlls
/jscript
/tests jscript_test
17083 wine_fn_config_dll jsproxy enable_jsproxy implib
17084 wine_fn_config_dll kernel32 enable_kernel32 clean
,implib
,mc
17085 wine_fn_config_test dlls
/kernel32
/tests kernel32_test
17086 wine_fn_config_dll keyboard.drv16 enable_win16
17087 wine_fn_config_dll krnl386.exe16 enable_win16 implib kernel
17088 wine_fn_config_dll ksuser enable_ksuser
17089 wine_fn_config_dll ktmw32 enable_ktmw32
17090 wine_fn_config_dll loadperf enable_loadperf implib
17091 wine_fn_config_dll localspl enable_localspl po
17092 wine_fn_config_test dlls
/localspl
/tests localspl_test
17093 wine_fn_config_dll localui enable_localui po
17094 wine_fn_config_test dlls
/localui
/tests localui_test
17095 wine_fn_config_dll lz32 enable_lz32 implib
17096 wine_fn_config_test dlls
/lz32
/tests lz32_test
17097 wine_fn_config_dll lzexpand.dll16 enable_win16
17098 wine_fn_config_dll mapi32 enable_mapi32 implib
,po
17099 wine_fn_config_test dlls
/mapi32
/tests mapi32_test
17100 wine_fn_config_dll mapistub enable_mapistub
17101 wine_fn_config_dll mciavi32 enable_mciavi32
17102 wine_fn_config_dll mcicda enable_mcicda
17103 wine_fn_config_dll mciqtz32 enable_mciqtz32
17104 wine_fn_config_dll mciseq enable_mciseq
17105 wine_fn_config_dll mciwave enable_mciwave
17106 wine_fn_config_dll mgmtapi enable_mgmtapi
17107 wine_fn_config_dll midimap enable_midimap
17108 wine_fn_config_dll mlang enable_mlang clean
,implib
17109 wine_fn_config_test dlls
/mlang
/tests mlang_test
17110 wine_fn_config_dll mmcndmgr enable_mmcndmgr clean
17111 wine_fn_config_test dlls
/mmcndmgr
/tests mmcndmgr_test
17112 wine_fn_config_dll mmdevapi enable_mmdevapi clean
17113 wine_fn_config_test dlls
/mmdevapi
/tests mmdevapi_test
17114 wine_fn_config_dll mmdevldr.vxd enable_win16
17115 wine_fn_config_dll mmsystem.dll16 enable_win16
17116 wine_fn_config_dll monodebg.vxd enable_win16
17117 wine_fn_config_dll mountmgr.sys enable_mountmgr_sys
17118 wine_fn_config_dll mouse.drv16 enable_win16
17119 wine_fn_config_dll mpr enable_mpr implib
,po
17120 wine_fn_config_test dlls
/mpr
/tests mpr_test
17121 wine_fn_config_dll mprapi enable_mprapi implib
17122 wine_fn_config_dll msacm.dll16 enable_win16
17123 wine_fn_config_dll msacm32.drv enable_msacm32_drv
17124 wine_fn_config_dll msacm32 enable_msacm32 implib
,po
17125 wine_fn_config_test dlls
/msacm32
/tests msacm32_test
17126 wine_fn_config_dll msadp32.acm enable_msadp32_acm
17127 wine_fn_config_dll msasn1 enable_msasn1 implib
17128 wine_fn_config_dll mscat32 enable_mscat32
17129 wine_fn_config_dll mscms enable_mscms implib
17130 wine_fn_config_test dlls
/mscms
/tests mscms_test
17131 wine_fn_config_dll mscoree enable_mscoree clean
17132 wine_fn_config_test dlls
/mscoree
/tests mscoree_test
17133 wine_fn_config_dll msctf enable_msctf clean
17134 wine_fn_config_test dlls
/msctf
/tests msctf_test
17135 wine_fn_config_dll msdaps enable_msdaps clean
17136 wine_fn_config_dll msdmo enable_msdmo implib
17137 wine_fn_config_dll msftedit enable_msftedit
17138 wine_fn_config_dll msg711.acm enable_msg711_acm
17139 wine_fn_config_dll msgsm32.acm enable_msgsm32_acm
17140 wine_fn_config_dll mshtml.tlb enable_mshtml_tlb clean
17141 wine_fn_config_dll mshtml enable_mshtml clean
,implib
,po
17142 wine_fn_config_test dlls
/mshtml
/tests mshtml_test clean
17143 wine_fn_config_dll msi enable_msi clean
,implib
,po
17144 wine_fn_config_test dlls
/msi
/tests msi_test
17145 wine_fn_config_dll msident enable_msident clean
17146 wine_fn_config_dll msimg32 enable_msimg32 implib
17147 wine_fn_config_dll msimsg enable_msimsg
17148 wine_fn_config_dll msimtf enable_msimtf clean
17149 wine_fn_config_dll msisip enable_msisip
17150 wine_fn_config_dll msisys.ocx enable_msisys_ocx
17151 wine_fn_config_dll msls31 enable_msls31
17152 wine_fn_config_dll msnet32 enable_msnet32
17153 wine_fn_config_dll mspatcha enable_mspatcha
17154 wine_fn_config_dll msrle32 enable_msrle32 po
17155 wine_fn_config_test dlls
/msrle32
/tests msrle32_test
17156 wine_fn_config_dll mssign32 enable_mssign32
17157 wine_fn_config_dll mssip32 enable_mssip32
17158 wine_fn_config_dll mstask enable_mstask clean
17159 wine_fn_config_test dlls
/mstask
/tests mstask_test
17160 wine_fn_config_dll msvcirt enable_msvcirt
17161 wine_fn_config_dll msvcm80 enable_msvcm80
17162 wine_fn_config_dll msvcm90 enable_msvcm90
17163 wine_fn_config_dll msvcp100 enable_msvcp100
17164 wine_fn_config_test dlls
/msvcp100
/tests msvcp100_test
17165 wine_fn_config_dll msvcp110 enable_msvcp110
17166 wine_fn_config_dll msvcp120 enable_msvcp120
17167 wine_fn_config_dll msvcp60 enable_msvcp60
17168 wine_fn_config_test dlls
/msvcp60
/tests msvcp60_test
17169 wine_fn_config_dll msvcp70 enable_msvcp70
17170 wine_fn_config_dll msvcp71 enable_msvcp71
17171 wine_fn_config_dll msvcp80 enable_msvcp80
17172 wine_fn_config_dll msvcp90 enable_msvcp90
17173 wine_fn_config_test dlls
/msvcp90
/tests msvcp90_test
17174 wine_fn_config_dll msvcr100 enable_msvcr100 implib
17175 wine_fn_config_test dlls
/msvcr100
/tests msvcr100_test
17176 wine_fn_config_dll msvcr110 enable_msvcr110 implib
17177 wine_fn_config_dll msvcr120 enable_msvcr120 implib
17178 wine_fn_config_test dlls
/msvcr120
/tests msvcr120_test
17179 wine_fn_config_dll msvcr70 enable_msvcr70 implib
17180 wine_fn_config_dll msvcr71 enable_msvcr71 implib
17181 wine_fn_config_dll msvcr80 enable_msvcr80 implib
17182 wine_fn_config_dll msvcr90 enable_msvcr90 implib
17183 wine_fn_config_test dlls
/msvcr90
/tests msvcr90_test
17184 wine_fn_config_dll msvcrt enable_msvcrt implib
17185 wine_fn_config_test dlls
/msvcrt
/tests msvcrt_test
17186 wine_fn_config_dll msvcrt20 enable_msvcrt20 implib
17187 wine_fn_config_dll msvcrt40 enable_msvcrt40 implib
17188 wine_fn_config_dll msvcrtd enable_msvcrtd implib
17189 wine_fn_config_test dlls
/msvcrtd
/tests msvcrtd_test
17190 wine_fn_config_dll msvfw32 enable_msvfw32 implib
,po
17191 wine_fn_config_test dlls
/msvfw32
/tests msvfw32_test
17192 wine_fn_config_dll msvidc32 enable_msvidc32 po
17193 wine_fn_config_dll msvideo.dll16 enable_win16
17194 wine_fn_config_dll mswsock enable_mswsock implib
17195 wine_fn_config_dll msxml enable_msxml clean
17196 wine_fn_config_dll msxml2 enable_msxml2 clean
17197 wine_fn_config_dll msxml3 enable_msxml3 clean
17198 wine_fn_config_test dlls
/msxml
3/tests msxml3_test clean
17199 wine_fn_config_dll msxml4 enable_msxml4 clean
17200 wine_fn_config_dll msxml6 enable_msxml6 clean
17201 wine_fn_config_dll nddeapi enable_nddeapi implib
17202 wine_fn_config_dll ndis.sys enable_ndis_sys
17203 wine_fn_config_dll netapi32 enable_netapi32 implib
17204 wine_fn_config_test dlls
/netapi32
/tests netapi32_test
17205 wine_fn_config_dll netcfgx enable_netcfgx clean
17206 wine_fn_config_test dlls
/netcfgx
/tests netcfgx_test
17207 wine_fn_config_dll netprofm enable_netprofm clean
17208 wine_fn_config_test dlls
/netprofm
/tests netprofm_test
17209 wine_fn_config_dll newdev enable_newdev implib
17210 wine_fn_config_dll normaliz enable_normaliz implib
17211 wine_fn_config_dll npmshtml enable_npmshtml
17212 wine_fn_config_dll npptools enable_npptools
17213 wine_fn_config_dll ntdll enable_ntdll implib
17214 wine_fn_config_test dlls
/ntdll
/tests ntdll_test
17215 wine_fn_config_dll ntdsapi enable_ntdsapi implib
17216 wine_fn_config_test dlls
/ntdsapi
/tests ntdsapi_test
17217 wine_fn_config_dll ntoskrnl.exe enable_ntoskrnl_exe implib
17218 wine_fn_config_dll ntprint enable_ntprint
17219 wine_fn_config_test dlls
/ntprint
/tests ntprint_test
17220 wine_fn_config_dll objsel enable_objsel clean
17221 wine_fn_config_dll odbc32 enable_odbc32 implib
17222 wine_fn_config_dll odbccp32 enable_odbccp32 implib
17223 wine_fn_config_test dlls
/odbccp32
/tests odbccp32_test
17224 wine_fn_config_dll odbccu32 enable_odbccu32
17225 wine_fn_config_dll ole2.dll16 enable_win16
17226 wine_fn_config_dll ole2conv.dll16 enable_win16
17227 wine_fn_config_dll ole2disp.dll16 enable_win16
17228 wine_fn_config_dll ole2nls.dll16 enable_win16
17229 wine_fn_config_dll ole2prox.dll16 enable_win16
17230 wine_fn_config_dll ole2thk.dll16 enable_win16
17231 wine_fn_config_dll ole32 enable_ole32 clean
,implib
17232 wine_fn_config_test dlls
/ole32
/tests ole32_test
17233 wine_fn_config_dll oleacc enable_oleacc clean
,implib
,po
17234 wine_fn_config_test dlls
/oleacc
/tests oleacc_test
17235 wine_fn_config_dll oleaut32 enable_oleaut32 clean
,implib
,po
17236 wine_fn_config_test dlls
/oleaut32
/tests oleaut32_test clean
17237 wine_fn_config_dll olecli.dll16 enable_win16
17238 wine_fn_config_dll olecli32 enable_olecli32 implib
17239 wine_fn_config_dll oledb32 enable_oledb32 clean
17240 wine_fn_config_test dlls
/oledb32
/tests oledb32_test clean
17241 wine_fn_config_dll oledlg enable_oledlg implib
,po
17242 wine_fn_config_dll olepro32 enable_olepro32 implib
17243 wine_fn_config_dll olesvr.dll16 enable_win16
17244 wine_fn_config_dll olesvr32 enable_olesvr32 implib
17245 wine_fn_config_dll olethk32 enable_olethk32
17246 wine_fn_config_dll openal32 enable_openal32
17247 wine_fn_config_dll opencl enable_opencl
17248 wine_fn_config_dll opengl32 enable_opengl32 implib
17249 wine_fn_config_test dlls
/opengl32
/tests opengl32_test
17250 wine_fn_config_dll packager enable_packager clean
17251 wine_fn_config_test dlls
/packager
/tests packager_test
17252 wine_fn_config_dll pdh enable_pdh implib
17253 wine_fn_config_test dlls
/pdh
/tests pdh_test
17254 wine_fn_config_dll photometadatahandler enable_photometadatahandler
17255 wine_fn_config_dll pidgen enable_pidgen
17256 wine_fn_config_dll powrprof enable_powrprof implib
17257 wine_fn_config_dll printui enable_printui
17258 wine_fn_config_dll prntvpt enable_prntvpt
17259 wine_fn_config_dll propsys enable_propsys clean
,implib
17260 wine_fn_config_test dlls
/propsys
/tests propsys_test
17261 wine_fn_config_dll psapi enable_psapi implib
17262 wine_fn_config_test dlls
/psapi
/tests psapi_test
17263 wine_fn_config_dll pstorec enable_pstorec clean
17264 wine_fn_config_dll qcap enable_qcap
17265 wine_fn_config_test dlls
/qcap
/tests qcap_test
17266 wine_fn_config_dll qedit enable_qedit clean
17267 wine_fn_config_test dlls
/qedit
/tests qedit_test
17268 wine_fn_config_dll qmgr enable_qmgr clean
17269 wine_fn_config_test dlls
/qmgr
/tests qmgr_test
17270 wine_fn_config_dll qmgrprxy enable_qmgrprxy clean
17271 wine_fn_config_dll quartz enable_quartz clean
,implib
17272 wine_fn_config_test dlls
/quartz
/tests quartz_test clean
17273 wine_fn_config_dll query enable_query
17274 wine_fn_config_dll rasapi16.dll16 enable_win16
17275 wine_fn_config_dll rasapi32 enable_rasapi32 implib
17276 wine_fn_config_test dlls
/rasapi32
/tests rasapi32_test
17277 wine_fn_config_dll rasdlg enable_rasdlg implib
17278 wine_fn_config_dll regapi enable_regapi
17279 wine_fn_config_dll resutils enable_resutils implib
17280 wine_fn_config_dll riched20 enable_riched20 implib
17281 wine_fn_config_test dlls
/riched20
/tests riched20_test
17282 wine_fn_config_dll riched32 enable_riched32
17283 wine_fn_config_test dlls
/riched32
/tests riched32_test
17284 wine_fn_config_dll rpcrt4 enable_rpcrt4 clean
,implib
17285 wine_fn_config_test dlls
/rpcrt
4/tests rpcrt4_test clean
17286 wine_fn_config_dll rsabase enable_rsabase
17287 wine_fn_config_dll rsaenh enable_rsaenh implib
17288 wine_fn_config_test dlls
/rsaenh
/tests rsaenh_test
17289 wine_fn_config_dll rstrtmgr enable_rstrtmgr
17290 wine_fn_config_dll rtutils enable_rtutils implib
17291 wine_fn_config_dll samlib enable_samlib
17292 wine_fn_config_dll sane.ds enable_sane_ds po
17293 wine_fn_config_dll scarddlg enable_scarddlg
17294 wine_fn_config_dll sccbase enable_sccbase
17295 wine_fn_config_dll schannel enable_schannel
17296 wine_fn_config_test dlls
/schannel
/tests schannel_test
17297 wine_fn_config_dll schedsvc enable_schedsvc clean
17298 wine_fn_config_test dlls
/schedsvc
/tests schedsvc_test clean
17299 wine_fn_config_dll scrrun enable_scrrun clean
17300 wine_fn_config_test dlls
/scrrun
/tests scrrun_test clean
17301 wine_fn_config_dll scsiport.sys enable_scsiport_sys
17302 wine_fn_config_dll secur32 enable_secur32 implib
17303 wine_fn_config_test dlls
/secur32
/tests secur32_test
17304 wine_fn_config_dll security enable_security
17305 wine_fn_config_dll sensapi enable_sensapi implib
17306 wine_fn_config_dll serialui enable_serialui implib
,po
17307 wine_fn_config_test dlls
/serialui
/tests serialui_test
17308 wine_fn_config_dll setupapi enable_setupapi implib
,po
17309 wine_fn_config_test dlls
/setupapi
/tests setupapi_test
17310 wine_fn_config_dll setupx.dll16 enable_win16
17311 wine_fn_config_dll sfc enable_sfc implib
17312 wine_fn_config_dll sfc_os enable_sfc_os implib
17313 wine_fn_config_dll shdoclc enable_shdoclc po
17314 wine_fn_config_dll shdocvw enable_shdocvw clean
,implib
17315 wine_fn_config_test dlls
/shdocvw
/tests shdocvw_test
17316 wine_fn_config_dll shell.dll16 enable_win16
17317 wine_fn_config_dll shell32 enable_shell32 clean
,implib
,po
17318 wine_fn_config_test dlls
/shell32
/tests shell32_test
17319 wine_fn_config_dll shfolder enable_shfolder implib
17320 wine_fn_config_dll shlwapi enable_shlwapi implib
,po
17321 wine_fn_config_test dlls
/shlwapi
/tests shlwapi_test
17322 wine_fn_config_dll slbcsp enable_slbcsp
17323 wine_fn_config_dll slc enable_slc implib
17324 wine_fn_config_dll snmpapi enable_snmpapi implib
17325 wine_fn_config_test dlls
/snmpapi
/tests snmpapi_test
17326 wine_fn_config_dll softpub enable_softpub
17327 wine_fn_config_dll sound.drv16 enable_win16
17328 wine_fn_config_dll spoolss enable_spoolss implib
17329 wine_fn_config_test dlls
/spoolss
/tests spoolss_test
17330 wine_fn_config_dll stdole2.tlb enable_stdole2_tlb clean
17331 wine_fn_config_dll stdole32.tlb enable_stdole32_tlb clean
17332 wine_fn_config_dll sti enable_sti clean
,implib
17333 wine_fn_config_test dlls
/sti
/tests sti_test
17334 wine_fn_config_dll storage.dll16 enable_win16
17335 wine_fn_config_dll stress.dll16 enable_win16
17336 wine_fn_config_lib strmbase
17337 wine_fn_config_lib strmiids
17338 wine_fn_config_dll svrapi enable_svrapi
17339 wine_fn_config_dll sxs enable_sxs implib
17340 wine_fn_config_test dlls
/sxs
/tests sxs_test
17341 wine_fn_config_dll system.drv16 enable_win16
17342 wine_fn_config_dll t2embed enable_t2embed
17343 wine_fn_config_dll tapi32 enable_tapi32 implib
17344 wine_fn_config_dll taskschd enable_taskschd clean
17345 wine_fn_config_test dlls
/taskschd
/tests taskschd_test
17346 wine_fn_config_dll toolhelp.dll16 enable_win16
17347 wine_fn_config_dll traffic enable_traffic
17348 wine_fn_config_dll twain.dll16 enable_win16
17349 wine_fn_config_dll twain_32 enable_twain_32
17350 wine_fn_config_test dlls
/twain_32
/tests twain_32_test
17351 wine_fn_config_dll typelib.dll16 enable_win16
17352 wine_fn_config_dll unicows enable_unicows implib
17353 wine_fn_config_dll updspapi enable_updspapi
17354 wine_fn_config_dll url enable_url implib
17355 wine_fn_config_dll urlmon enable_urlmon clean
,implib
,po
17356 wine_fn_config_test dlls
/urlmon
/tests urlmon_test
17357 wine_fn_config_dll usbd.sys enable_usbd_sys implib
17358 wine_fn_config_dll user.exe16 enable_win16
17359 wine_fn_config_dll user32 enable_user32 clean
,implib
,po
17360 wine_fn_config_test dlls
/user32
/tests user32_test
17361 wine_fn_config_dll userenv enable_userenv implib
17362 wine_fn_config_test dlls
/userenv
/tests userenv_test
17363 wine_fn_config_dll usp10 enable_usp10 implib
17364 wine_fn_config_test dlls
/usp10
/tests usp10_test
17365 wine_fn_config_lib uuid
17366 wine_fn_config_dll uxtheme enable_uxtheme implib
17367 wine_fn_config_test dlls
/uxtheme
/tests uxtheme_test
17368 wine_fn_config_dll vbscript enable_vbscript clean
17369 wine_fn_config_test dlls
/vbscript
/tests vbscript_test clean
17370 wine_fn_config_dll vcomp enable_vcomp
17371 wine_fn_config_dll vcomp100 enable_vcomp100
17372 wine_fn_config_dll vcomp90 enable_vcomp90
17373 wine_fn_config_dll vdhcp.vxd enable_win16
17374 wine_fn_config_dll vdmdbg enable_vdmdbg implib
17375 wine_fn_config_dll ver.dll16 enable_win16
17376 wine_fn_config_dll version enable_version implib
17377 wine_fn_config_test dlls
/version
/tests version_test
17378 wine_fn_config_dll vmm.vxd enable_win16
17379 wine_fn_config_dll vnbt.vxd enable_win16
17380 wine_fn_config_dll vnetbios.vxd enable_win16
17381 wine_fn_config_dll vssapi enable_vssapi
17382 wine_fn_config_dll vtdapi.vxd enable_win16
17383 wine_fn_config_dll vwin32.vxd enable_win16
17384 wine_fn_config_dll w32skrnl enable_win16
17385 wine_fn_config_dll w32sys.dll16 enable_win16
17386 wine_fn_config_dll wbemdisp enable_wbemdisp clean
17387 wine_fn_config_dll wbemprox enable_wbemprox clean
17388 wine_fn_config_test dlls
/wbemprox
/tests wbemprox_test
17389 wine_fn_config_dll webservices enable_webservices implib
17390 wine_fn_config_dll wer enable_wer implib
17391 wine_fn_config_test dlls
/wer
/tests wer_test
17392 wine_fn_config_dll wevtapi enable_wevtapi
17393 wine_fn_config_dll wiaservc enable_wiaservc clean
17394 wine_fn_config_dll win32s16.dll16 enable_win16
17395 wine_fn_config_dll win87em.dll16 enable_win16
17396 wine_fn_config_dll winaspi.dll16 enable_win16
17397 wine_fn_config_dll windebug.dll16 enable_win16
17398 wine_fn_config_dll windowscodecs enable_windowscodecs clean
,implib
17399 wine_fn_config_test dlls
/windowscodecs
/tests windowscodecs_test
17400 wine_fn_config_dll windowscodecsext enable_windowscodecsext implib
17401 wine_fn_config_test dlls
/windowscodecsext
/tests windowscodecsext_test
17402 wine_fn_config_dll winealsa.drv enable_winealsa_drv
17403 wine_fn_config_dll winecoreaudio.drv enable_winecoreaudio_drv
17404 wine_fn_config_lib winecrt0
17405 wine_fn_config_dll wined3d enable_wined3d implib
17406 wine_fn_config_dll winegstreamer enable_winegstreamer
17407 wine_fn_config_dll winejoystick.drv enable_winejoystick_drv
17408 wine_fn_config_dll winemac.drv enable_winemac_drv
17409 wine_fn_config_dll winemapi enable_winemapi
17410 wine_fn_config_dll winemp3.acm enable_winemp3_acm
17411 wine_fn_config_dll wineoss.drv enable_wineoss_drv
17412 wine_fn_config_dll wineps.drv enable_wineps_drv clean
,po
17413 wine_fn_config_dll wineps16.drv16 enable_win16
17414 wine_fn_config_dll wineqtdecoder enable_wineqtdecoder
17415 wine_fn_config_dll winex11.drv enable_winex11_drv
17416 wine_fn_config_dll wing.dll16 enable_win16
17417 wine_fn_config_dll wing32 enable_wing32
17418 wine_fn_config_dll winhttp enable_winhttp clean
,implib
17419 wine_fn_config_test dlls
/winhttp
/tests winhttp_test
17420 wine_fn_config_dll wininet enable_wininet implib
,po
17421 wine_fn_config_test dlls
/wininet
/tests wininet_test
17422 wine_fn_config_dll winmm enable_winmm implib
,po
17423 wine_fn_config_test dlls
/winmm
/tests winmm_test
17424 wine_fn_config_dll winnls.dll16 enable_win16
17425 wine_fn_config_dll winnls32 enable_winnls32 implib
17426 wine_fn_config_dll winscard enable_winscard implib
17427 wine_fn_config_dll winsock.dll16 enable_win16
17428 wine_fn_config_dll winspool.drv enable_winspool_drv implib
,po winspool
17429 wine_fn_config_test dlls
/winspool.drv
/tests winspool.drv_test
17430 wine_fn_config_dll winsta enable_winsta
17431 wine_fn_config_dll wintab.dll16 enable_win16
17432 wine_fn_config_dll wintab32 enable_wintab32 implib
17433 wine_fn_config_test dlls
/wintab32
/tests wintab32_test
17434 wine_fn_config_dll wintrust enable_wintrust implib
17435 wine_fn_config_test dlls
/wintrust
/tests wintrust_test
17436 wine_fn_config_dll wlanapi enable_wlanapi
17437 wine_fn_config_dll wldap32 enable_wldap32 implib
,po
17438 wine_fn_config_test dlls
/wldap32
/tests wldap32_test
17439 wine_fn_config_dll wmi enable_wmi
17440 wine_fn_config_dll wmiutils enable_wmiutils clean
17441 wine_fn_config_test dlls
/wmiutils
/tests wmiutils_test
17442 wine_fn_config_dll wmp enable_wmp clean
17443 wine_fn_config_test dlls
/wmp
/tests wmp_test
17444 wine_fn_config_dll wmvcore enable_wmvcore
17445 wine_fn_config_dll wnaspi32 enable_wnaspi32 implib
17446 wine_fn_config_dll wow32 enable_win16 implib
17447 wine_fn_config_dll wpcap enable_wpcap
17448 wine_fn_config_dll ws2_32 enable_ws2_32 implib
17449 wine_fn_config_test dlls
/ws2_32
/tests ws2_32_test
17450 wine_fn_config_dll wshom.ocx enable_wshom_ocx clean
17451 wine_fn_config_test dlls
/wshom.ocx
/tests wshom.ocx_test clean
17452 wine_fn_config_dll wsnmp32 enable_wsnmp32 implib
17453 wine_fn_config_test dlls
/wsnmp32
/tests wsnmp32_test
17454 wine_fn_config_dll wsock32 enable_wsock32 implib
17455 wine_fn_config_dll wtsapi32 enable_wtsapi32 implib
17456 wine_fn_config_test dlls
/wtsapi32
/tests wtsapi32_test
17457 wine_fn_config_dll wuapi enable_wuapi clean
17458 wine_fn_config_dll wuaueng enable_wuaueng
17459 wine_fn_config_dll xapofx1_1 enable_xapofx1_1
17460 wine_fn_config_dll xinput1_1 enable_xinput1_1
17461 wine_fn_config_dll xinput1_2 enable_xinput1_2
17462 wine_fn_config_dll xinput1_3 enable_xinput1_3 implib xinput
17463 wine_fn_config_test dlls
/xinput1_
3/tests xinput1_3_test
17464 wine_fn_config_dll xinput1_4 enable_xinput1_4
17465 wine_fn_config_dll xinput9_1_0 enable_xinput9_1_0
17466 wine_fn_config_dll xmllite enable_xmllite implib
17467 wine_fn_config_test dlls
/xmllite
/tests xmllite_test
17468 wine_fn_config_dll xolehlp enable_xolehlp
17469 wine_fn_config_dll xpsprint enable_xpsprint
17470 wine_fn_config_dll xpssvcs enable_xpssvcs
17471 wine_fn_config_makefile documentation enable_documentation clean
17472 wine_fn_config_makefile fonts enable_fonts clean
,install-lib
17473 wine_fn_config_makefile include enable_include clean
,install-dev
17474 wine_fn_config_makefile libs
/port enable_libs_port
17475 wine_fn_config_makefile libs
/wine enable_libs_wine clean
,install-dev
,install-lib
17476 wine_fn_config_makefile libs
/wpp enable_libs_wpp
17477 wine_fn_config_makefile loader enable_loader clean
,install-lib
,manpage
17478 wine_fn_config_program arp enable_arp
install
17479 wine_fn_config_program aspnet_regiis enable_aspnet_regiis
install
17480 wine_fn_config_program attrib enable_attrib
install,po
17481 wine_fn_config_program cabarc enable_cabarc
install
17482 wine_fn_config_program cacls enable_cacls
install
17483 wine_fn_config_program
clock enable_clock
install,po
17484 wine_fn_config_program cmd enable_cmd
install,po
17485 wine_fn_config_test programs
/cmd
/tests cmd.exe_test
17486 wine_fn_config_program conhost enable_conhost
install
17487 wine_fn_config_program control enable_control
install
17488 wine_fn_config_program cscript enable_cscript clean
,install
17489 wine_fn_config_program dpnsvr enable_dpnsvr
install
17490 wine_fn_config_program dxdiag enable_dxdiag
install,po
17491 wine_fn_config_program eject enable_eject
install
17492 wine_fn_config_program
expand enable_expand
install
17493 wine_fn_config_program explorer enable_explorer
install,po
17494 wine_fn_config_program extrac32 enable_extrac32
install
17495 wine_fn_config_program findstr enable_findstr
install
17496 wine_fn_config_program hh enable_hh
install
17497 wine_fn_config_program hostname enable_hostname
install,po
17498 wine_fn_config_program icinfo enable_icinfo
install
17499 wine_fn_config_program iexplore enable_iexplore
install
17500 wine_fn_config_program ipconfig enable_ipconfig
install,po
17501 wine_fn_config_program lodctr enable_lodctr
install
17502 wine_fn_config_program mofcomp enable_mofcomp
install
17503 wine_fn_config_program mshta enable_mshta
install
17504 wine_fn_config_program msiexec enable_msiexec
install,installbin
,manpage
17505 wine_fn_config_program net enable_net
install,po
17506 wine_fn_config_program netsh enable_netsh
install
17507 wine_fn_config_program netstat enable_netstat
install,po
17508 wine_fn_config_program ngen enable_ngen
install
17509 wine_fn_config_program notepad enable_notepad
install,installbin
,manpage
,po
17510 wine_fn_config_program oleview enable_oleview
install,po
17511 wine_fn_config_program
ping enable_ping
install
17512 wine_fn_config_program plugplay enable_plugplay
install
17513 wine_fn_config_program presentationfontcache enable_presentationfontcache
install
17514 wine_fn_config_program progman enable_progman
install,po
17515 wine_fn_config_program reg enable_reg
install,po
17516 wine_fn_config_test programs
/reg
/tests reg.exe_test
17517 wine_fn_config_program regasm enable_regasm
install
17518 wine_fn_config_program regedit enable_regedit
install,installbin
,manpage
,po
17519 wine_fn_config_test programs
/regedit
/tests regedit.exe_test
17520 wine_fn_config_program regsvcs enable_regsvcs
install
17521 wine_fn_config_program regsvr32 enable_regsvr32
install,installbin
,manpage
,po
17522 wine_fn_config_program rpcss enable_rpcss clean
,install
17523 wine_fn_config_program rundll.exe16 enable_win16
install
17524 wine_fn_config_program rundll32 enable_rundll32
install
17525 wine_fn_config_program sc enable_sc
install
17526 wine_fn_config_program schtasks enable_schtasks
install
17527 wine_fn_config_program sdbinst enable_sdbinst
install
17528 wine_fn_config_program secedit enable_secedit
install
17529 wine_fn_config_program servicemodelreg enable_servicemodelreg
install
17530 wine_fn_config_program services enable_services clean
,install
17531 wine_fn_config_test programs
/services
/tests services.exe_test
17532 wine_fn_config_program spoolsv enable_spoolsv
install
17533 wine_fn_config_program start enable_start
install,po
17534 wine_fn_config_program svchost enable_svchost
install
17535 wine_fn_config_program systeminfo enable_systeminfo
install
17536 wine_fn_config_program taskkill enable_taskkill
install,po
17537 wine_fn_config_program tasklist enable_tasklist
install
17538 wine_fn_config_program taskmgr enable_taskmgr
install,po
17539 wine_fn_config_program termsv enable_termsv
install
17540 wine_fn_config_program uninstaller enable_uninstaller
install,po
17541 wine_fn_config_program unlodctr enable_unlodctr
install
17542 wine_fn_config_program view enable_view
install,po
17543 wine_fn_config_program wevtutil enable_wevtutil
install
17544 wine_fn_config_program wineboot enable_wineboot
install,installbin
,manpage
,po
17545 wine_fn_config_program winebrowser enable_winebrowser
install
17546 wine_fn_config_program winecfg enable_winecfg
install,installbin
,manpage
,po
17547 wine_fn_config_program wineconsole enable_wineconsole
install,installbin
,manpage
,po
17548 wine_fn_config_program winedbg enable_winedbg
install,installbin
,manpage
,po
17549 wine_fn_config_program winedevice enable_winedevice
install
17550 wine_fn_config_program winefile enable_winefile
install,installbin
,manpage
,po
17551 wine_fn_config_program winemenubuilder enable_winemenubuilder
install
17552 wine_fn_config_program winemine enable_winemine
install,installbin
,manpage
,po
17553 wine_fn_config_program winemsibuilder enable_winemsibuilder
install
17554 wine_fn_config_program winepath enable_winepath
install,installbin
,manpage
17555 wine_fn_config_program winetest enable_winetest clean
17556 wine_fn_config_program winevdm enable_win16
install
17557 wine_fn_config_program winhelp.exe16 enable_win16
install
17558 wine_fn_config_program winhlp32 enable_winhlp32
install,po
17559 wine_fn_config_program winoldap.mod16 enable_win16
install
17560 wine_fn_config_program winver enable_winver
install
17561 wine_fn_config_program wmic enable_wmic
install,po
17562 wine_fn_config_program wordpad enable_wordpad
install,po
17563 wine_fn_config_program
write enable_write
install,po
17564 wine_fn_config_program wscript enable_wscript clean
,install
17565 wine_fn_config_test programs
/wscript
/tests wscript.exe_test
17566 wine_fn_config_program wusa enable_wusa
install
17567 wine_fn_config_program xcopy enable_xcopy
install,po
17568 wine_fn_config_test programs
/xcopy
/tests xcopy.exe_test
17569 wine_fn_config_makefile server enable_server clean
,install-lib
,manpage
17570 wine_fn_config_tool tools clean
,install-dev
,install-lib
,manpage
17571 wine_fn_config_tool tools
/sfnt2fon clean
17572 wine_fn_config_tool tools
/widl clean
,install-dev
,manpage
17573 wine_fn_config_tool tools
/winebuild clean
,install-dev
,manpage
17574 wine_fn_config_tool tools
/winedump clean
,install-dev
,manpage
17575 wine_fn_config_tool tools
/winegcc clean
,install-dev
,manpage
17576 wine_fn_config_tool tools
/wmc clean
,install-dev
,manpage
17577 wine_fn_config_tool tools
/wrc clean
,install-dev
,manpage
17629 wine_fn_ignore_file
".gitignore"
17630 wine_fn_ignore_file
"Makefile"
17631 wine_fn_ignore_file
"TAGS"
17632 wine_fn_ignore_file
"tags"
17633 wine_fn_ignore_file
"autom4te.cache"
17634 wine_fn_ignore_file
"config.cache"
17635 wine_fn_ignore_file
"config.log"
17636 wine_fn_ignore_file
"config.status"
17637 wine_fn_ignore_file
"configure.lineno"
17638 wine_fn_ignore_file
"include/config.h"
17639 wine_fn_ignore_file
"include/stamp-h"
17640 test "$wine_binary" = wine || wine_fn_ignore_file
"loader/wine"
17642 if test "x$enable_tools" != xno
17644 wine_fn_ignore_file
"tools/makedep$ac_exeext"
17645 ac_config_commands
="$ac_config_commands tools/makedep"
17649 ac_config_commands
="$ac_config_commands Makefile"
17652 ac_config_files
="$ac_config_files Make.tmp:Make.vars.in:Makefile.in"
17656 if test "x$enable_maintainer_mode" = xyes
17658 wine_fn_append_rule
"configure: configure.ac aclocal.m4
17659 autoconf --warnings=all
17660 include/config.h.in: include/stamp-h.in
17661 include/stamp-h.in: configure.ac aclocal.m4
17662 autoheader --warnings=all
17663 @echo timestamp > \$@"
17666 if test "x$with_gettextpo" = xyes
17668 test "$srcdir" = . || as_fn_error $?
"Rebuilding po files is not supported for out of tree builds." "$LINENO" 5
17669 wine_fn_append_rule
"ALL_POT_FILES =$ALL_POT_FILES
17670 \$(LINGUAS:%=po/%.po): po/wine.pot
17671 msgmerge --previous -q \$@ po/wine.pot | msgattrib --no-obsolete -o \$@.new && mv \$@.new \$@
17672 po/wine.pot: \$(ALL_POT_FILES)
17673 msgcat -o \$@ \$(ALL_POT_FILES)"
17676 if test "$MSGFMT" != false
17678 wine_fn_append_rule
"__builddeps__: \$(LINGUAS:%=po/%.mo)
17680 \$(RM) \$(LINGUAS:%=po/%.mo)"
17683 test "$srcdir" = . || posrc
="$srcdir/po"
17686 wine_fn_ignore_file
"po/$i.mo"
17687 wine_fn_append_rule
"po/$i.mo: $posrc/$i.po
17688 \$(MSGFMT) -o \$@ $posrc/$i.po"
17694 if test "x$enable_tools" != xno
17696 wine_fn_append_rule
"tools/makedep$ac_exeext: $srcdir/tools/makedep.c include/config.h config.status
17697 @./config.status tools/makedep
17698 Makefile: tools/makedep$ac_exeext
17700 \$(RM) tools/makedep$ac_exeext"
17702 wine_fn_append_rule
"\$(MAKEDEP):
17703 @echo \"You need to run make in $TOOLSDIR first\" && false"
17706 if test -n "$with_wine64"
17708 wine_fn_append_rule
"all: fonts server tools $with_wine64/loader/wine $with_wine64/loader/wine-preloader
17709 fonts server tools:
17710 \$(RM) \$@ && \$(LN_S) $with_wine64/\$@ \$@
17711 $with_wine64/loader/wine:
17712 \$(RM) \$@ && \$(LN_S) $ac_pwd/loader/wine \$@
17713 $with_wine64/loader/wine-preloader:
17714 \$(RM) \$@ && \$(LN_S) $ac_pwd/loader/wine-preloader \$@
17716 \$(RM) fonts server tools $with_wine64/loader/wine $with_wine64/loader/wine-preloader"
17718 as_fn_append LOADER_RULES
"
17719 install install-lib:: wine.inf install-man-pages
17720 \$(INSTALL_DATA) wine.inf \$(DESTDIR)\$(datadir)/wine/wine.inf
17721 \$(INSTALL_DATA) \$(srcdir)/l_intl.nls \$(DESTDIR)\$(datadir)/wine/l_intl.nls
17724 \$(RM) \$(DESTDIR)\$(datadir)/wine/wine.inf \$(DESTDIR)\$(datadir)/wine/l_intl.nls
17728 if test "$srcdir" = .
17730 ac_config_commands
="$ac_config_commands .gitignore"
17734 $as_echo " done" >&6
17735 cat >confcache
<<\_ACEOF
17736 # This file is a shell script that caches the results of configure
17737 # tests run on this system so they can be shared between configure
17738 # scripts and configure runs, see configure's option --config-cache.
17739 # It is not useful on other systems. If it contains results you don't
17740 # want to keep, you may remove or edit it.
17742 # config.status only pays attention to the cache file if you give it
17743 # the --recheck option to rerun configure.
17745 # `ac_cv_env_foo' variables (set or unset) will be overridden when
17746 # loading this file, other *unset* `ac_cv_foo' will be assigned the
17747 # following values.
17751 # The following way of writing the cache mishandles newlines in values,
17752 # but we know of no workaround that is simple, portable, and efficient.
17753 # So, we kill variables containing newlines.
17754 # Ultrix sh set writes to stderr and can't be redirected directly,
17755 # and sets the high bit in the cache file unless we assign to the vars.
17757 for ac_var
in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
17758 eval ac_val
=\$
$ac_var
17762 *_cv_
*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
17763 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
17766 _ | IFS | as_nl
) ;; #(
17767 BASH_ARGV | BASH_SOURCE
) eval $ac_var= ;; #(
17768 *) { eval $ac_var=; unset $ac_var;} ;;
17774 case $as_nl`(ac_space=' '; set) 2>&1` in #(
17775 *${as_nl}ac_space
=\
*)
17776 # `set' does not quote correctly, so add quotes: double-quote
17777 # substitution turns \\\\ into \\, and sed turns \\ into \.
17780 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
17783 # `set' quotes correctly as required by POSIX, so do not add quotes.
17784 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
17793 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
17795 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
17797 if diff "$cache_file" confcache
>/dev
/null
2>&1; then :; else
17798 if test -w "$cache_file"; then
17799 if test "x$cache_file" != "x/dev/null"; then
17800 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
17801 $as_echo "$as_me: updating cache $cache_file" >&6;}
17802 if test ! -f "$cache_file" ||
test -h "$cache_file"; then
17803 cat confcache
>"$cache_file"
17805 case $cache_file in #(
17807 mv -f confcache
"$cache_file"$$
&&
17808 mv -f "$cache_file"$$
"$cache_file" ;; #(
17810 mv -f confcache
"$cache_file" ;;
17815 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
17816 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
17821 test "x$prefix" = xNONE
&& prefix
=$ac_default_prefix
17822 # Let make expand exec_prefix.
17823 test "x$exec_prefix" = xNONE
&& exec_prefix
='${prefix}'
17825 DEFS
=-DHAVE_CONFIG_H
17830 for ac_i
in : $LIBOBJS; do test "x$ac_i" = x
: && continue
17831 # 1. Remove the extension, and $U if already installed.
17832 ac_script
='s/\$U\././;s/\.o$//;s/\.obj$//'
17833 ac_i
=`$as_echo "$ac_i" | sed "$ac_script"`
17834 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
17835 # will be set to the directory where LIBOBJS objects are built.
17836 as_fn_append ac_libobjs
" \${LIBOBJDIR}$ac_i\$U.$ac_objext"
17837 as_fn_append ac_ltlibobjs
" \${LIBOBJDIR}$ac_i"'$U.lo'
17839 LIBOBJS
=$ac_libobjs
17841 LTLIBOBJS
=$ac_ltlibobjs
17845 : "${CONFIG_STATUS=./config.status}"
17847 ac_clean_files_save
=$ac_clean_files
17848 ac_clean_files
="$ac_clean_files $CONFIG_STATUS"
17849 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
17850 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
17852 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
17854 # Generated by $as_me.
17855 # Run this file to recreate the current configuration.
17856 # Compiler output produced by configure, useful for debugging
17857 # configure, is in config.log if it exists.
17860 ac_cs_recheck=false
17863 SHELL=\${CONFIG_SHELL-$SHELL}
17866 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail
=1
17867 ## -------------------- ##
17868 ## M4sh Initialization. ##
17869 ## -------------------- ##
17871 # Be more Bourne compatible
17872 DUALCASE
=1; export DUALCASE
# for MKS sh
17873 if test -n "${ZSH_VERSION+set}" && (emulate sh
) >/dev
/null
2>&1; then :
17876 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
17877 # is contrary to our usage. Disable this feature.
17878 alias -g '${1+"$@"}'='"$@"'
17879 setopt NO_GLOB_SUBST
17881 case `(set -o) 2>/dev/null` in #(
17893 # Printing a long string crashes Solaris 7 /usr/bin/printf.
17894 as_echo
='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
17895 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
17896 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
17897 # Prefer a ksh shell builtin over an external printf program on Solaris,
17898 # but without wasting forks for bash or zsh.
17899 if test -z "$BASH_VERSION$ZSH_VERSION" \
17900 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
17901 as_echo='print
-r --'
17902 as_echo_n='print
-rn --'
17903 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
17904 as_echo='printf %s
\n'
17905 as_echo_n='printf %s
'
17907 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
17908 as_echo_body='eval /usr
/ucb
/echo -n "$1$as_nl"'
17909 as_echo_n='/usr
/ucb
/echo -n'
17911 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
17912 as_echo_n_body='eval
17916 expr "X$arg" : "X\\(.*\\)$as_nl";
17917 arg
=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
17919 expr "X$arg" : "X\\(.*\\)" |
tr -d "$as_nl"
17921 export as_echo_n_body
17922 as_echo_n='sh
-c $as_echo_n_body as_echo
'
17924 export as_echo_body
17925 as_echo='sh
-c $as_echo_body as_echo
'
17928 # The user is always right.
17929 if test "${PATH_SEPARATOR+set}" != set; then
17931 (PATH='/bin
;/bin
'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
17932 (PATH='/bin
:/bin
'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
17939 # We need space, tab and new line, in precisely that order. Quoting is
17940 # there to prevent editors from complaining about space-tab.
17941 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
17942 # splitting by setting IFS to empty value.)
17945 # Find who we are. Look in the path if we contain no directory separator.
17948 *[\\/]* ) as_myself=$0 ;;
17949 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
17950 for as_dir in $PATH
17953 test -z "$as_dir" && as_dir=.
17954 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
17960 # We did not find ourselves, most probably we were run as `sh COMMAND'
17961 # in which case we are not to be found in the path.
17962 if test "x$as_myself" = x
; then
17965 if test ! -f "$as_myself"; then
17966 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
17970 # Unset variables that we do not need and which cause bugs (e.g. in
17971 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
17972 # suppresses any "Segmentation fault" message there. '((' could
17973 # trigger a bug in pdksh 5.2.14.
17974 for as_var
in BASH_ENV ENV MAIL MAILPATH
17975 do eval test x\
${$as_var+set} = xset \
17976 && ( (unset $as_var) ||
exit 1) >/dev
/null
2>&1 && unset $as_var ||
:
17989 (unset CDPATH
) >/dev
/null
2>&1 && unset CDPATH
17992 # as_fn_error STATUS ERROR [LINENO LOG_FD]
17993 # ----------------------------------------
17994 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
17995 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
17996 # script with STATUS, using 1 if that was 0.
17999 as_status
=$1; test $as_status -eq 0 && as_status
=1
18001 as_lineno
=${as_lineno-"$3"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
18002 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
18004 $as_echo "$as_me: error: $2" >&2
18005 as_fn_exit
$as_status
18009 # as_fn_set_status STATUS
18010 # -----------------------
18011 # Set $? to STATUS, without forking.
18012 as_fn_set_status
()
18015 } # as_fn_set_status
18017 # as_fn_exit STATUS
18018 # -----------------
18019 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
18023 as_fn_set_status
$1
18029 # Portably unset VAR.
18032 { eval $1=; unset $1;}
18034 as_unset
=as_fn_unset
18035 # as_fn_append VAR VALUE
18036 # ----------------------
18037 # Append the text in VALUE to the end of the definition contained in VAR. Take
18038 # advantage of any shell optimizations that allow amortized linear growth over
18039 # repeated appends, instead of the typical quadratic growth present in naive
18041 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev
/null
; then :
18042 eval 'as_fn_append ()
18053 # as_fn_arith ARG...
18054 # ------------------
18055 # Perform arithmetic evaluation on the ARGs, and store the result in the
18056 # global $as_val. Take advantage of shells that can avoid forks. The arguments
18057 # must be portable across $(()) and expr.
18058 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev
/null
; then :
18059 eval 'as_fn_arith ()
18066 as_val
=`expr "$@" || test $? -eq 1`
18071 if expr a
: '\(a\)' >/dev
/null
2>&1 &&
18072 test "X`expr 00001 : '.*\(...\)'`" = X001
; then
18078 if (basename -- /) >/dev
/null
2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
18079 as_basename
=basename
18084 if (as_dir
=`dirname -- /` && test "X$as_dir" = X
/) >/dev
/null
2>&1; then
18090 as_me
=`$as_basename -- "$0" ||
18091 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
18092 X"$0" : 'X\(//\)$' \| \
18093 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
18095 sed '/^.*\/\([^/][^/]*\)\/*$/{
18109 # Avoid depending upon Character Ranges.
18110 as_cr_letters
='abcdefghijklmnopqrstuvwxyz'
18111 as_cr_LETTERS
='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
18112 as_cr_Letters
=$as_cr_letters$as_cr_LETTERS
18113 as_cr_digits
='0123456789'
18114 as_cr_alnum
=$as_cr_Letters$as_cr_digits
18116 ECHO_C
= ECHO_N
= ECHO_T
=
18117 case `echo -n x` in #(((((
18119 case `echo 'xy\c'` in
18120 *c
*) ECHO_T
=' ';; # ECHO_T is single tab character.
18122 *) echo `echo ksh88 bug on AIX 6.1` > /dev
/null
18129 rm -f conf$$ conf$$.exe conf$$.
file
18130 if test -d conf$$.dir
; then
18131 rm -f conf$$.dir
/conf$$.
file
18134 mkdir conf$$.dir
2>/dev
/null
18136 if (echo >conf$$.
file) 2>/dev
/null
; then
18137 if ln -s conf$$.
file conf$$
2>/dev
/null
; then
18139 # ... but there are two gotchas:
18140 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
18141 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
18142 # In both cases, we have to default to `cp -pR'.
18143 ln -s conf$$.
file conf$$.dir
2>/dev
/null
&& test ! -f conf$$.exe ||
18145 elif ln conf$$.
file conf$$
2>/dev
/null
; then
18153 rm -f conf$$ conf$$.exe conf$$.dir
/conf$$.
file conf$$.
file
18154 rmdir conf$$.dir
2>/dev
/null
18159 # Create "$as_dir" as a directory, including parents if necessary.
18164 -*) as_dir
=.
/$as_dir;;
18166 test -d "$as_dir" ||
eval $as_mkdir_p ||
{
18170 *\'*) as_qdir
=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
18171 *) as_qdir
=$as_dir;;
18173 as_dirs
="'$as_qdir' $as_dirs"
18174 as_dir
=`$as_dirname -- "$as_dir" ||
18175 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
18176 X"$as_dir" : 'X\(//\)[^/]' \| \
18177 X"$as_dir" : 'X\(//\)$' \| \
18178 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
18179 $as_echo X"$as_dir" |
18180 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
18184 /^X\(\/\/\)[^/].*/{
18197 test -d "$as_dir" && break
18199 test -z "$as_dirs" ||
eval "mkdir $as_dirs"
18200 } ||
test -d "$as_dir" || as_fn_error $?
"cannot create directory $as_dir"
18204 if mkdir
-p .
2>/dev
/null
; then
18205 as_mkdir_p
='mkdir -p "$as_dir"'
18207 test -d .
/-p && rmdir .
/-p
18212 # as_fn_executable_p FILE
18213 # -----------------------
18214 # Test if FILE is an executable regular file.
18215 as_fn_executable_p
()
18217 test -f "$1" && test -x "$1"
18218 } # as_fn_executable_p
18219 as_test_x
='test -x'
18220 as_executable_p
=as_fn_executable_p
18222 # Sed expression to map a string onto a valid CPP name.
18223 as_tr_cpp
="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
18225 # Sed expression to map a string onto a valid variable name.
18226 as_tr_sh
="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
18230 ## ----------------------------------- ##
18231 ## Main body of $CONFIG_STATUS script. ##
18232 ## ----------------------------------- ##
18234 test $as_write_fail = 0 && chmod +x
$CONFIG_STATUS || ac_write_fail
=1
18236 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
18237 # Save the log message, to keep $0 and so on meaningful, and to
18238 # report actual input values of CONFIG_FILES etc. instead of their
18239 # values after options handling.
18241 This file was extended by Wine $as_me 1.7.32, which was
18242 generated by GNU Autoconf 2.69. Invocation command line was
18244 CONFIG_FILES = $CONFIG_FILES
18245 CONFIG_HEADERS = $CONFIG_HEADERS
18246 CONFIG_LINKS = $CONFIG_LINKS
18247 CONFIG_COMMANDS = $CONFIG_COMMANDS
18250 on `(hostname || uname -n) 2>/dev/null | sed 1q`
18255 case $ac_config_files in *"
18256 "*) set x
$ac_config_files; shift; ac_config_files
=$
*;;
18259 case $ac_config_headers in *"
18260 "*) set x
$ac_config_headers; shift; ac_config_headers
=$
*;;
18264 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
18265 # Files that config.status was made for.
18266 config_files="$ac_config_files"
18267 config_headers="$ac_config_headers"
18268 config_links="$ac_config_links"
18269 config_commands="$ac_config_commands"
18273 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
18275 \`$as_me' instantiates files and other configuration actions
18276 from templates according to the current configuration. Unless the files
18277 and actions are specified as TAGs, all are instantiated by default.
18279 Usage: $0 [OPTION]... [TAG]...
18281 -h, --help print this help, then exit
18282 -V, --version print version number and configuration settings, then exit
18283 --config print configuration, then exit
18284 -q, --quiet, --silent
18285 do not print progress messages
18286 -d, --debug don't remove temporary files
18287 --recheck update $as_me by reconfiguring in the same conditions
18288 --file=FILE[:TEMPLATE]
18289 instantiate the configuration file FILE
18290 --header=FILE[:TEMPLATE]
18291 instantiate the configuration header FILE
18293 Configuration files:
18296 Configuration headers:
18299 Configuration links:
18302 Configuration commands:
18305 Report bugs to <wine-devel@winehq.org>.
18306 Wine home page: <http://www.winehq.org>."
18309 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
18310 ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
18312 Wine config.status 1.7.32
18313 configured by $0, generated by GNU Autoconf 2.69,
18314 with options \\"\$ac_cs_config\\"
18316 Copyright (C) 2012 Free Software Foundation, Inc.
18317 This config.status script is free software; the Free Software Foundation
18318 gives unlimited permission to copy, distribute and modify it."
18322 test -n "\$AWK" || AWK=awk
18325 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
18326 # The default lists apply if the user does not specify any file.
18332 ac_option
=`expr "X$1" : 'X\([^=]*\)='`
18333 ac_optarg
=`expr "X$1" : 'X[^=]*=\(.*\)'`
18337 ac_option
=`expr "X$1" : 'X\([^=]*\)='`
18349 # Handling of the options.
18350 -recheck |
--recheck |
--rechec |
--reche |
--rech |
--rec |
--re |
--r)
18352 --version |
--versio |
--versi |
--vers |
--ver |
--ve |
--v |
-V )
18353 $as_echo "$ac_cs_version"; exit ;;
18354 --config |
--confi |
--conf |
--con |
--co |
--c )
18355 $as_echo "$ac_cs_config"; exit ;;
18356 --debug |
--debu |
--deb |
--de |
--d |
-d )
18358 --file |
--fil |
--fi |
--f )
18361 *\'*) ac_optarg
=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
18362 '') as_fn_error $?
"missing file argument" ;;
18364 as_fn_append CONFIG_FILES
" '$ac_optarg'"
18365 ac_need_defaults
=false
;;
18366 --header |
--heade |
--head |
--hea )
18369 *\'*) ac_optarg
=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
18371 as_fn_append CONFIG_HEADERS
" '$ac_optarg'"
18372 ac_need_defaults
=false
;;
18374 # Conflict between --help and --header
18375 as_fn_error $?
"ambiguous option: \`$1'
18376 Try \`$0 --help' for more information.";;
18377 --help |
--hel |
-h )
18378 $as_echo "$ac_cs_usage"; exit ;;
18379 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
18380 |
-silent |
--silent |
--silen |
--sile |
--sil |
--si |
--s)
18383 # This is an error.
18384 -*) as_fn_error $?
"unrecognized option: \`$1'
18385 Try \`$0 --help' for more information." ;;
18387 *) as_fn_append ac_config_targets
" $1"
18388 ac_need_defaults
=false
;;
18394 ac_configure_extra_args
=
18396 if $ac_cs_silent; then
18398 ac_configure_extra_args
="$ac_configure_extra_args --silent"
18402 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
18403 if \$ac_cs_recheck; then
18404 set X $SHELL '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
18406 \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
18407 CONFIG_SHELL='$SHELL'
18408 export CONFIG_SHELL
18413 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
18417 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
18418 ## Running $as_me. ##
18424 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
18428 wine_fn_output_makedep ()
18430 as_dir=tools; as_fn_mkdir_p
18431 $CC -Iinclude -I$srcdir/include -D__WINESRC__ $EXTRACFLAGS $CPPFLAGS $CFLAGS -o tools/makedep$ac_exeext $srcdir/tools/makedep.c $LDFLAGS
18433 wine_fn_output_makefile ()
18435 cat Make.tmp - <<\_WINE_EOF >\$tmp/makefile && mv -f \$tmp/makefile \$1 && rm -f Make.tmp && "$wine_makedep" . && return
18436 `cat $wine_rules_file`
18438 as_fn_error $? "could not create Makefile" "$LINENO" 5
18440 wine_fn_output_gitignore ()
18442 sort <<\_WINE_EOF >\$tmp/gitignore && mv -f \$tmp/gitignore \$1 && return
18445 as_fn_error $? "could not create .gitignore" "$LINENO" 5
18450 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
18452 # Handling of arguments.
18453 for ac_config_target
in $ac_config_targets
18455 case $ac_config_target in
18456 "include/config.h") CONFIG_HEADERS
="$CONFIG_HEADERS include/config.h" ;;
18457 "include/stamp-h") CONFIG_COMMANDS
="$CONFIG_COMMANDS include/stamp-h" ;;
18458 "fonts/marlett.ttf") CONFIG_LINKS
="$CONFIG_LINKS fonts/marlett.ttf:fonts/marlett.ttf" ;;
18459 "fonts/symbol.ttf") CONFIG_LINKS
="$CONFIG_LINKS fonts/symbol.ttf:fonts/symbol.ttf" ;;
18460 "fonts/tahoma.ttf") CONFIG_LINKS
="$CONFIG_LINKS fonts/tahoma.ttf:fonts/tahoma.ttf" ;;
18461 "fonts/tahomabd.ttf") CONFIG_LINKS
="$CONFIG_LINKS fonts/tahomabd.ttf:fonts/tahomabd.ttf" ;;
18462 "loader/l_intl.nls") CONFIG_LINKS
="$CONFIG_LINKS loader/l_intl.nls:loader/l_intl.nls" ;;
18463 "po/LINGUAS") CONFIG_LINKS
="$CONFIG_LINKS po/LINGUAS:po/LINGUAS" ;;
18464 "wine") CONFIG_LINKS
="$CONFIG_LINKS wine:tools/winewrapper" ;;
18465 "wine64") CONFIG_LINKS
="$CONFIG_LINKS wine64:tools/winewrapper" ;;
18466 "tools/makedep") CONFIG_COMMANDS
="$CONFIG_COMMANDS tools/makedep" ;;
18467 "Makefile") CONFIG_COMMANDS
="$CONFIG_COMMANDS Makefile" ;;
18468 "Make.tmp") CONFIG_FILES
="$CONFIG_FILES Make.tmp:Make.vars.in:Makefile.in" ;;
18469 ".gitignore") CONFIG_COMMANDS
="$CONFIG_COMMANDS .gitignore" ;;
18471 *) as_fn_error $?
"invalid argument: \`$ac_config_target'" "$LINENO" 5;;
18476 # If the user did not use the arguments to specify the items to instantiate,
18477 # then the envvar interface is used. Set only those that are not.
18478 # We use the long form for the default assignment because of an extremely
18479 # bizarre bug on SunOS 4.1.3.
18480 if $ac_need_defaults; then
18481 test "${CONFIG_FILES+set}" = set || CONFIG_FILES
=$config_files
18482 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS
=$config_headers
18483 test "${CONFIG_LINKS+set}" = set || CONFIG_LINKS
=$config_links
18484 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS
=$config_commands
18487 # Have a temporary directory for convenience. Make it in the build tree
18488 # simply because there is no reason against having it here, and in addition,
18489 # creating and moving files from /tmp can sometimes cause problems.
18490 # Hook for its removal unless debugging.
18491 # Note that there is a small window in which the directory will not be cleaned:
18492 # after its creation but before its name has been assigned to `$tmp'.
18496 trap 'exit_status=$?
18497 : "${ac_tmp:=$tmp}"
18498 { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
18500 trap 'as_fn_exit 1' 1 2 13 15
18502 # Create a (secure) tmp directory for tmp files.
18505 tmp
=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
18509 tmp
=.
/conf$$
-$RANDOM
18510 (umask 077 && mkdir
"$tmp")
18511 } || as_fn_error $?
"cannot create a temporary directory in ." "$LINENO" 5
18514 # Set up the scripts for CONFIG_FILES section.
18515 # No need to generate them if there are no CONFIG_FILES.
18516 # This happens for instance with `./config.status config.h'.
18517 if test -n "$CONFIG_FILES"; then
18520 ac_cr
=`echo X | tr X '\015'`
18521 # On cygwin, bash can eat \r inside `` if the user requested igncr.
18522 # But we know of no other shell where ac_cr would be empty at this
18523 # point, so we can use a bashism as a fallback.
18524 if test "x$ac_cr" = x
; then
18525 eval ac_cr
=\$
\'\\r
\'
18527 ac_cs_awk_cr
=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
18528 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
18531 ac_cs_awk_cr
=$ac_cr
18534 echo 'BEGIN {' >"$ac_tmp/subs1.awk" &&
18539 echo "cat >conf$$subs.awk <<_ACEOF" &&
18540 echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
18542 } >conf$$subs.sh ||
18543 as_fn_error $? "could not
make $CONFIG_STATUS" "$LINENO" 5
18544 ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
18546 for ac_last_try in false false false false false :; do
18547 . ./conf$$subs.sh ||
18548 as_fn_error $? "could not
make $CONFIG_STATUS" "$LINENO" 5
18550 ac_delim_n=`sed -n "s
/.
*$ac_delim\$
/X
/p
" conf$$subs.awk | grep -c X`
18551 if test $ac_delim_n = $ac_delim_num; then
18553 elif $ac_last_try; then
18554 as_fn_error $? "could not
make $CONFIG_STATUS" "$LINENO" 5
18556 ac_delim="$ac_delim!$ac_delim _
$ac_delim!! "
18559 rm -f conf$$subs.sh
18561 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
18562 cat >>"\
$ac_tmp/subs1.
awk" <<\\_ACAWK &&
18566 s/^/S["/; s
/!.
*/"]=/
18576 s/\(.\{148\}\)..*/\1/
18578 s/["\\]/\\&/g
; s
/^
/"/; s/$/\\n"\\/
18583 s
/["\\]/\\&/g; s/^/"/; s
/$
/"\\/
18590 s/\(.\{148\}\)..*/\1/
18592 s/["\\]/\\&/g
; s
/^
/"/; s/$/"/
18596 s
/["\\]/\\&/g; s/^/"/; s
/$
/"\\/
18601 ' <conf$$subs.awk | sed '
18606 ' >>$CONFIG_STATUS || ac_write_fail=1
18607 rm -f conf$$subs.awk
18608 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
18610 cat >>"\
$ac_tmp/subs1.
awk" <<_ACAWK &&
18611 for (key in S) S_is_set[key] = 1
18617 nfields = split(line, field, "@
")
18619 len = length(field[1])
18620 for (i = 2; i < nfields; i++) {
18622 keylen = length(key)
18623 if (S_is_set[key]) {
18625 line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
18626 len += length(value) + length(field[++i])
18637 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
18638 if sed "s
/$ac_cr//" < /dev/null > /dev/null 2>&1; then
18639 sed "s
/$ac_cr\$
//; s
/$ac_cr/$ac_cs_awk_cr/g
"
18642 fi < "$ac_tmp/subs1.
awk" > "$ac_tmp/subs.
awk" \
18643 || as_fn_error $? "could not setup config files machinery
" "$LINENO" 5
18646 # VPATH may cause trouble with some makes, so we remove sole $(srcdir),
18647 # ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".
", strip leading and
18648 # trailing colons and then remove the whole line if VPATH becomes empty
18649 # (actually we leave an empty line to preserve line numbers).
18650 if test "x
$srcdir" = x.; then
18651 ac_vpsub='/^[ ]*VPATH[ ]*=[ ]*/{
18669 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
18670 fi # test -n "$CONFIG_FILES"
18672 # Set up the scripts for CONFIG_HEADERS section.
18673 # No need to generate them if there are no CONFIG_HEADERS.
18674 # This happens for instance with `./config.status Makefile'.
18675 if test -n "$CONFIG_HEADERS"; then
18676 cat >"$ac_tmp/defines.
awk" <<\_ACAWK ||
18680 # Transform confdefs.h into an awk script `defines.awk', embedded as
18681 # here-document in config.status, that substitutes the proper values into
18682 # config.h.in to produce config.h.
18684 # Create a delimiter string that does not exist in confdefs.h, to ease
18685 # handling of long lines.
18687 for ac_last_try in false false :; do
18688 ac_tt=`sed -n "/$ac_delim/p
" confdefs.h`
18689 if test -z "$ac_tt"; then
18691 elif $ac_last_try; then
18692 as_fn_error $? "could not
make $CONFIG_HEADERS" "$LINENO" 5
18694 ac_delim="$ac_delim!$ac_delim _
$ac_delim!! "
18698 # For the awk script, D is an array of macro values keyed by name,
18699 # likewise P contains macro parameters if any. Preserve backslash
18700 # newline sequences.
18702 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
18704 s/.\{148\}/&'"$ac_delim"'/g
18707 s/^[ ]*#[ ]*define[ ][ ]*/ /
18714 s
/^ \
('"$ac_word_re"'\
)\
(([^
()]*)\
)[ ]*\
(.
*\
)/P
["\1"]="\2"\
18716 s
/^ \
('"$ac_word_re"'\
)[ ]*\
(.
*\
)/D
["\1"]=" \2"/p
18720 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\
1"]="\
2"\
18721 D["\
1"]=" \
3\\\\\\n
"\\/p
18723 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\
1"]=" \
2\\\\\\n
"\\/p
18728 s/.\{148\}/&'"$ac_delim"'/g
18733 s/["\\]/\\&/g
; s
/^
/"/; s/$/"/p
18736 s
/["\\]/\\&/g; s/^/"/; s
/$
/\\\\\\n
"\\/p
18738 ' <confdefs.h | sed '
18739 s/'"$ac_delim"'/"\\\
18740 "/g' >>$CONFIG_STATUS || ac_write_fail=1
18742 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
18743 for (key in D) D_is_set[key] = 1
18746 /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
18748 split(line, arg, " ")
18749 if (arg[1] == "#") {
18753 defundef
= substr
(arg
[1], 2)
18756 split(mac1
, mac2
, "(") #)
18758 prefix
= substr
(line
, 1, index
(line
, defundef
) - 1)
18759 if (D_is_set
[macro
]) {
18760 # Preserve the white space surrounding the "#".
18761 print prefix
"define", macro P
[macro
] D
[macro
]
18764 # Replace #undef with comments. This is necessary, for example,
18765 # in the case of _POSIX_SOURCE, which is predefined and required
18766 # on some systems where configure will not decide to define it.
18767 if (defundef
== "undef") {
18768 print
"/*", prefix defundef
, macro
, "*/"
18776 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
18777 as_fn_error $?
"could not setup config headers machinery" "$LINENO" 5
18778 fi # test -n "$CONFIG_HEADERS"
18781 eval set X
" :F $CONFIG_FILES :H $CONFIG_HEADERS :L $CONFIG_LINKS :C $CONFIG_COMMANDS"
18786 :[FHLC
]) ac_mode
=$ac_tag; continue;;
18788 case $ac_mode$ac_tag in
18790 :L
* |
:C
*:*) as_fn_error $?
"invalid tag \`$ac_tag'" "$LINENO" 5;;
18791 :[FH
]-) ac_tag
=-:-;;
18792 :[FH
]*) ac_tag
=$ac_tag:$ac_tag.
in;;
18809 -) ac_f
="$ac_tmp/stdin";;
18810 *) # Look for the file first in the build tree, then in the source tree
18811 # (if the path is not absolute). The absolute path cannot be DOS-style,
18812 # because $ac_f cannot contain `:'.
18816 *) test -f "$srcdir/$ac_f" && ac_f
="$srcdir/$ac_f";;
18818 as_fn_error
1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
18820 case $ac_f in *\'*) ac_f
=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
18821 as_fn_append ac_file_inputs
" '$ac_f'"
18824 # Let's still pretend it is `configure' which instantiates (i.e., don't
18825 # use $as_me), people would be surprised to read:
18826 # /* config.h. Generated by config.status. */
18827 configure_input
='Generated from '`
18828 $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
18830 if test x
"$ac_file" != x-
; then
18831 configure_input
="$ac_file. $configure_input"
18832 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
18833 $as_echo "$as_me: creating $ac_file" >&6;}
18835 # Neutralize special characters interpreted by sed in replacement strings.
18836 case $configure_input in #(
18837 *\
&* |
*\|
* |
*\\* )
18838 ac_sed_conf_input
=`$as_echo "$configure_input" |
18839 sed 's/[\\\\&|]/\\\\&/g'`;; #(
18840 *) ac_sed_conf_input
=$configure_input;;
18844 *:-:* |
*:-) cat >"$ac_tmp/stdin" \
18845 || as_fn_error $?
"could not create $ac_file" "$LINENO" 5 ;;
18850 ac_dir
=`$as_dirname -- "$ac_file" ||
18851 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
18852 X"$ac_file" : 'X\(//\)[^/]' \| \
18853 X"$ac_file" : 'X\(//\)$' \| \
18854 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
18855 $as_echo X"$ac_file" |
18856 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
18860 /^X\(\/\/\)[^/].*/{
18873 as_dir
="$ac_dir"; as_fn_mkdir_p
18877 .
) ac_dir_suffix
= ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
18879 ac_dir_suffix
=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
18880 # A ".." for each directory in $ac_dir_suffix.
18881 ac_top_builddir_sub
=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
18882 case $ac_top_builddir_sub in
18883 "") ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
18884 *) ac_top_build_prefix
=$ac_top_builddir_sub/ ;;
18887 ac_abs_top_builddir
=$ac_pwd
18888 ac_abs_builddir
=$ac_pwd$ac_dir_suffix
18889 # for backward compatibility:
18890 ac_top_builddir
=$ac_top_build_prefix
18893 .
) # We are building in place.
18895 ac_top_srcdir
=$ac_top_builddir_sub
18896 ac_abs_top_srcdir
=$ac_pwd ;;
18897 [\\/]* | ?
:[\\/]* ) # Absolute name.
18898 ac_srcdir
=$srcdir$ac_dir_suffix;
18899 ac_top_srcdir
=$srcdir
18900 ac_abs_top_srcdir
=$srcdir ;;
18901 *) # Relative name.
18902 ac_srcdir
=$ac_top_build_prefix$srcdir$ac_dir_suffix
18903 ac_top_srcdir
=$ac_top_build_prefix$srcdir
18904 ac_abs_top_srcdir
=$ac_pwd/$srcdir ;;
18906 ac_abs_srcdir
=$ac_abs_top_srcdir$ac_dir_suffix
18917 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
18918 # If the template does not know about datarootdir, expand it.
18919 # FIXME: This hack should be removed a few years after 2.60.
18920 ac_datarootdir_hack
=; ac_datarootdir_seen
=
18931 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
18932 *datarootdir
*) ac_datarootdir_seen
=yes;;
18933 *@datadir@
*|
*@docdir@
*|
*@infodir@
*|
*@localedir@
*|
*@mandir@
*)
18934 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
18935 $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
18937 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
18938 ac_datarootdir_hack='
18939 s&@datadir@&$datadir&g
18940 s&@docdir@&$docdir&g
18941 s&@infodir@&$infodir&g
18942 s&@localedir@&$localedir&g
18943 s&@mandir@&$mandir&g
18944 s&\\\${datarootdir}&$datarootdir&g' ;;
18948 # Neutralize VPATH when `$srcdir' = `.'.
18949 # Shell code in configure.ac might set extrasub.
18950 # FIXME: do we really want to maintain this feature?
18951 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
18952 ac_sed_extra="$ac_vpsub
18955 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
18957 /@
[a-zA-Z_
][a-zA-Z_0-9
]*@
/!b
18958 s|@configure_input@|
$ac_sed_conf_input|
;t t
18959 s
&@top_builddir@
&$ac_top_builddir_sub&;t t
18960 s
&@top_build_prefix@
&$ac_top_build_prefix&;t t
18961 s
&@srcdir@
&$ac_srcdir&;t t
18962 s
&@abs_srcdir@
&$ac_abs_srcdir&;t t
18963 s
&@top_srcdir@
&$ac_top_srcdir&;t t
18964 s
&@abs_top_srcdir@
&$ac_abs_top_srcdir&;t t
18965 s
&@builddir@
&$ac_builddir&;t t
18966 s
&@abs_builddir@
&$ac_abs_builddir&;t t
18967 s
&@abs_top_builddir@
&$ac_abs_top_builddir&;t t
18968 $ac_datarootdir_hack
18970 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.
awk" \
18971 >$ac_tmp/out || as_fn_error $? "could not create
$ac_file" "$LINENO" 5
18973 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
18974 { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out
"`; test -n "$ac_out"; } &&
18975 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' \
18976 "$ac_tmp/out
"`; test -z "$ac_out"; } &&
18977 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: $ac_file contains a reference to the variable \
`datarootdir'
18978 which seems to be undefined. Please make sure it is defined" >&5
18979 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir
'
18980 which seems to be undefined. Please make sure it is defined" >&2;}
18982 rm -f "$ac_tmp/stdin"
18984 -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";;
18985 *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";;
18987 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
18993 if test x"$ac_file" != x-; then
18995 $as_echo "/* $configure_input */" \
18996 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs"
18997 } >"$ac_tmp/config.h" \
18998 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
18999 if diff "$ac_file" "$ac_tmp/config.h" >/dev/null 2>&1; then
19000 { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
19001 $as_echo "$as_me: $ac_file is unchanged" >&6;}
19004 mv "$ac_tmp/config.h" "$ac_file" \
19005 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
19008 $as_echo "/* $configure_input */" \
19009 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" \
19010 || as_fn_error $? "could not create -" "$LINENO" 5
19018 if test "$ac_source" = "$ac_file" && test "$srcdir" = '.
'; then
19021 # Prefer the file from the source tree if names are identical.
19022 if test "$ac_source" = "$ac_file" || test ! -r "$ac_source"; then
19023 ac_source=$srcdir/$ac_source
19026 { $as_echo "$as_me:${as_lineno-$LINENO}: linking $ac_source to $ac_file" >&5
19027 $as_echo "$as_me: linking $ac_source to $ac_file" >&6;}
19029 if test ! -r "$ac_source"; then
19030 as_fn_error $? "$ac_source: file not found" "$LINENO" 5
19034 # Try a relative symlink, then a hard link, then a copy.
19036 [\\/$]* | ?:[\\/]* ) ac_rel_source=$ac_source ;;
19037 *) ac_rel_source=$ac_top_build_prefix$ac_source ;;
19039 ln -s "$ac_rel_source" "$ac_file" 2>/dev/null ||
19040 ln "$ac_source" "$ac_file" 2>/dev/null ||
19041 cp -p "$ac_source" "$ac_file" ||
19042 as_fn_error $? "cannot link or copy $ac_source to $ac_file" "$LINENO" 5
19045 :C) { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
19046 $as_echo "$as_me: executing $ac_file commands" >&6;}
19051 case $ac_file$ac_mode in
19052 "include/stamp-h":C) echo timestamp > include/stamp-h ;;
19053 "tools/makedep":C) wine_fn_output_makedep || as_fn_exit $? ;;
19054 "Makefile":C) wine_fn_output_makefile Makefile ;;
19055 ".gitignore":C) wine_fn_output_gitignore .gitignore ;;
19063 ac_clean_files=$ac_clean_files_save
19065 test $ac_write_fail = 0 ||
19066 as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5
19069 # configure is writing to config.log, and then calls config.status.
19070 # config.status does its own redirection, appending to config.log.
19071 # Unfortunately, on DOS this fails, as config.log is still kept open
19072 # by configure, so config.status won't be able to
write to it
; its
19073 # output is simply discarded. So we exec the FD to /dev/null,
19074 # effectively closing config.log, so it can be properly (re)opened and
19075 # appended to by config.status. When coming back to configure, we
19076 # need to make the FD available again.
19077 if test "$no_create" != yes; then
19079 ac_config_status_args
=
19080 test "$silent" = yes &&
19081 ac_config_status_args
="$ac_config_status_args --quiet"
19083 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success
=false
19085 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
19086 # would make configure fail if this is the last instruction.
19087 $ac_cs_success || as_fn_exit
1
19089 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no
; then
19090 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
19091 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
19095 if test "$no_create" = "yes"
19101 if test "x$wine_notices != "x
; then
19104 for msg
in $wine_notices; do
19106 if ${msg:+false} :; then :
19109 { $as_echo "$as_me:${as_lineno-$LINENO}: $msg" >&5
19110 $as_echo "$as_me: $msg" >&6;}
19115 for msg
in $wine_warnings; do
19117 if ${msg:+false} :; then :
19121 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $msg" >&5
19122 $as_echo "$as_me: WARNING: $msg" >&2;}
19128 $as_me: Finished. Do '${ac_make}' to compile Wine.