2 # Guess values for system-dependent variables and create Makefiles.
3 # Generated by GNU Autoconf 2.69 for Wine 1.7.42.
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.42'
584 PACKAGE_STRING
='Wine 1.7.42'
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
783 program_transform_name
796 enable_option_checking
800 enable_maintainer_mode
857 enable_api_ms_win_core_com_l1_1_0
858 enable_api_ms_win_core_console_l1_1_0
859 enable_api_ms_win_core_datetime_l1_1_0
860 enable_api_ms_win_core_datetime_l1_1_1
861 enable_api_ms_win_core_debug_l1_1_0
862 enable_api_ms_win_core_debug_l1_1_1
863 enable_api_ms_win_core_errorhandling_l1_1_1
864 enable_api_ms_win_core_errorhandling_l1_1_2
865 enable_api_ms_win_core_fibers_l1_1_0
866 enable_api_ms_win_core_fibers_l1_1_1
867 enable_api_ms_win_core_file_l1_2_0
868 enable_api_ms_win_core_file_l2_1_0
869 enable_api_ms_win_core_file_l2_1_1
870 enable_api_ms_win_core_handle_l1_1_0
871 enable_api_ms_win_core_heap_l1_2_0
872 enable_api_ms_win_core_heap_obsolete_l1_1_0
873 enable_api_ms_win_core_interlocked_l1_2_0
874 enable_api_ms_win_core_io_l1_1_1
875 enable_api_ms_win_core_kernel32_legacy_l1_1_0
876 enable_api_ms_win_core_libraryloader_l1_1_1
877 enable_api_ms_win_core_localization_l1_2_0
878 enable_api_ms_win_core_localization_l1_2_1
879 enable_api_ms_win_core_localization_obsolete_l1_1_0
880 enable_api_ms_win_core_localregistry_l1_1_0
881 enable_api_ms_win_core_memory_l1_1_1
882 enable_api_ms_win_core_namedpipe_l1_2_0
883 enable_api_ms_win_core_processenvironment_l1_2_0
884 enable_api_ms_win_core_processthreads_l1_1_0
885 enable_api_ms_win_core_processthreads_l1_1_1
886 enable_api_ms_win_core_processthreads_l1_1_2
887 enable_api_ms_win_core_profile_l1_1_0
888 enable_api_ms_win_core_psapi_l1_1_0
889 enable_api_ms_win_core_registry_l1_1_0
890 enable_api_ms_win_core_rtlsupport_l1_2_0
891 enable_api_ms_win_core_shlwapi_legacy_l1_1_0
892 enable_api_ms_win_core_string_l1_1_0
893 enable_api_ms_win_core_synch_l1_2_0
894 enable_api_ms_win_core_sysinfo_l1_2_0
895 enable_api_ms_win_core_sysinfo_l1_2_1
896 enable_api_ms_win_core_threadpool_legacy_l1_1_0
897 enable_api_ms_win_core_timezone_l1_1_0
898 enable_api_ms_win_core_url_l1_1_0
899 enable_api_ms_win_core_util_l1_1_0
900 enable_api_ms_win_core_winrt_error_l1_1_0
901 enable_api_ms_win_core_winrt_error_l1_1_1
902 enable_api_ms_win_core_winrt_l1_1_0
903 enable_api_ms_win_core_winrt_string_l1_1_0
904 enable_api_ms_win_core_xstate_l2_1_0
905 enable_api_ms_win_downlevel_advapi32_l1_1_0
906 enable_api_ms_win_downlevel_advapi32_l2_1_0
907 enable_api_ms_win_downlevel_normaliz_l1_1_0
908 enable_api_ms_win_downlevel_ole32_l1_1_0
909 enable_api_ms_win_downlevel_shell32_l1_1_0
910 enable_api_ms_win_downlevel_shlwapi_l1_1_0
911 enable_api_ms_win_downlevel_shlwapi_l2_1_0
912 enable_api_ms_win_downlevel_user32_l1_1_0
913 enable_api_ms_win_downlevel_version_l1_1_0
914 enable_api_ms_win_eventing_provider_l1_1_0
915 enable_api_ms_win_ntuser_dc_access_l1_1_0
916 enable_api_ms_win_security_base_l1_1_0
917 enable_api_ms_win_security_base_l1_2_0
918 enable_api_ms_win_security_sddl_l1_1_0
919 enable_api_ms_win_service_core_l1_1_1
920 enable_api_ms_win_service_management_l1_1_0
921 enable_api_ms_win_service_winsvc_l1_2_0
964 enable_d3dcompiler_33
965 enable_d3dcompiler_34
966 enable_d3dcompiler_35
967 enable_d3dcompiler_36
968 enable_d3dcompiler_37
969 enable_d3dcompiler_38
970 enable_d3dcompiler_39
971 enable_d3dcompiler_40
972 enable_d3dcompiler_41
973 enable_d3dcompiler_42
974 enable_d3dcompiler_43
1050 enable_explorerframe
1051 enable_ext_ms_win_gdi_devcaps_l1_1_0
1206 enable_photometadatahandler
1288 enable_windowscodecs
1289 enable_windowscodecsext
1291 enable_winecoreaudio_drv
1293 enable_winegstreamer
1294 enable_winejoystick_drv
1300 enable_wineqtdecoder
1348 enable_documentation
1356 enable_aspnet_regiis
1389 enable_presentationfontcache
1402 enable_servicemodelreg
1423 enable_winemenubuilder
1425 enable_winemsibuilder
1439 ac_precious_vars
='build_alias
1488 # Initialize some variables set by options.
1490 ac_init_version
=false
1491 ac_unrecognized_opts
=
1492 ac_unrecognized_sep
=
1493 # The variables have the same names as the options, with
1494 # dashes changed to underlines.
1495 cache_file
=/dev
/null
1502 program_transform_name
=s
,x
,x
,
1510 # Installation directory options.
1511 # These are left unexpanded so users can "make install exec_prefix=/foo"
1512 # and all the variables that are supposed to be based on exec_prefix
1513 # by default will actually change.
1514 # Use braces instead of parens because sh, perl, etc. also accept them.
1515 # (The list follows the same order as the GNU Coding Standards.)
1516 bindir
='${exec_prefix}/bin'
1517 sbindir
='${exec_prefix}/sbin'
1518 libexecdir
='${exec_prefix}/libexec'
1519 datarootdir
='${prefix}/share'
1520 datadir
='${datarootdir}'
1521 sysconfdir
='${prefix}/etc'
1522 sharedstatedir
='${prefix}/com'
1523 localstatedir
='${prefix}/var'
1524 includedir
='${prefix}/include'
1525 oldincludedir
='/usr/include'
1526 docdir
='${datarootdir}/doc/${PACKAGE_TARNAME}'
1527 infodir
='${datarootdir}/info'
1532 libdir
='${exec_prefix}/lib'
1533 localedir
='${datarootdir}/locale'
1534 mandir
='${datarootdir}/man'
1540 # If the previous option needs an argument, assign it.
1541 if test -n "$ac_prev"; then
1542 eval $ac_prev=\
$ac_option
1548 *=?
*) ac_optarg
=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
1553 # Accept the important Cygnus configure options, so we can diagnose typos.
1555 case $ac_dashdash$ac_option in
1559 -bindir |
--bindir |
--bindi |
--bind |
--bin |
--bi)
1561 -bindir=* |
--bindir=* |
--bindi=* |
--bind=* |
--bin=* |
--bi=*)
1562 bindir
=$ac_optarg ;;
1564 -build |
--build |
--buil |
--bui |
--bu)
1565 ac_prev
=build_alias
;;
1566 -build=* |
--build=* |
--buil=* |
--bui=* |
--bu=*)
1567 build_alias
=$ac_optarg ;;
1569 -cache-file |
--cache-file |
--cache-fil |
--cache-fi \
1570 |
--cache-f |
--cache- |
--cache |
--cach |
--cac |
--ca |
--c)
1571 ac_prev
=cache_file
;;
1572 -cache-file=* |
--cache-file=* |
--cache-fil=* |
--cache-fi=* \
1573 |
--cache-f=* |
--cache-=* |
--cache=* |
--cach=* |
--cac=* |
--ca=* |
--c=*)
1574 cache_file
=$ac_optarg ;;
1576 --config-cache |
-C)
1577 cache_file
=config.cache
;;
1579 -datadir |
--datadir |
--datadi |
--datad)
1581 -datadir=* |
--datadir=* |
--datadi=* |
--datad=*)
1582 datadir
=$ac_optarg ;;
1584 -datarootdir |
--datarootdir |
--datarootdi |
--datarootd |
--dataroot \
1585 |
--dataroo |
--dataro |
--datar)
1586 ac_prev
=datarootdir
;;
1587 -datarootdir=* |
--datarootdir=* |
--datarootdi=* |
--datarootd=* \
1588 |
--dataroot=* |
--dataroo=* |
--dataro=* |
--datar=*)
1589 datarootdir
=$ac_optarg ;;
1591 -disable-* |
--disable-*)
1592 ac_useropt
=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
1593 # Reject names that are not valid shell variable names.
1594 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
1595 as_fn_error $?
"invalid feature name: $ac_useropt"
1596 ac_useropt_orig
=$ac_useropt
1597 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1598 case $ac_user_opts in
1600 "enable_
$ac_useropt"
1602 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
1603 ac_unrecognized_sep
=', ';;
1605 eval enable_
$ac_useropt=no
;;
1607 -docdir |
--docdir |
--docdi |
--doc |
--do)
1609 -docdir=* |
--docdir=* |
--docdi=* |
--doc=* |
--do=*)
1610 docdir
=$ac_optarg ;;
1612 -dvidir |
--dvidir |
--dvidi |
--dvid |
--dvi |
--dv)
1614 -dvidir=* |
--dvidir=* |
--dvidi=* |
--dvid=* |
--dvi=* |
--dv=*)
1615 dvidir
=$ac_optarg ;;
1617 -enable-* |
--enable-*)
1618 ac_useropt
=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
1619 # Reject names that are not valid shell variable names.
1620 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
1621 as_fn_error $?
"invalid feature name: $ac_useropt"
1622 ac_useropt_orig
=$ac_useropt
1623 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1624 case $ac_user_opts in
1626 "enable_
$ac_useropt"
1628 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
1629 ac_unrecognized_sep
=', ';;
1631 eval enable_
$ac_useropt=\
$ac_optarg ;;
1633 -exec-prefix |
--exec_prefix |
--exec-prefix |
--exec-prefi \
1634 |
--exec-pref |
--exec-pre |
--exec-pr |
--exec-p |
--exec- \
1635 |
--exec |
--exe |
--ex)
1636 ac_prev
=exec_prefix
;;
1637 -exec-prefix=* |
--exec_prefix=* |
--exec-prefix=* |
--exec-prefi=* \
1638 |
--exec-pref=* |
--exec-pre=* |
--exec-pr=* |
--exec-p=* |
--exec-=* \
1639 |
--exec=* |
--exe=* |
--ex=*)
1640 exec_prefix
=$ac_optarg ;;
1642 -gas |
--gas |
--ga |
--g)
1643 # Obsolete; use --with-gas.
1646 -help |
--help |
--hel |
--he |
-h)
1647 ac_init_help
=long
;;
1648 -help=r
* |
--help=r
* |
--hel=r
* |
--he=r
* |
-hr*)
1649 ac_init_help
=recursive
;;
1650 -help=s
* |
--help=s
* |
--hel=s
* |
--he=s
* |
-hs*)
1651 ac_init_help
=short
;;
1653 -host |
--host |
--hos |
--ho)
1654 ac_prev
=host_alias
;;
1655 -host=* |
--host=* |
--hos=* |
--ho=*)
1656 host_alias
=$ac_optarg ;;
1658 -htmldir |
--htmldir |
--htmldi |
--htmld |
--html |
--htm |
--ht)
1660 -htmldir=* |
--htmldir=* |
--htmldi=* |
--htmld=* |
--html=* |
--htm=* \
1662 htmldir
=$ac_optarg ;;
1664 -includedir |
--includedir |
--includedi |
--included |
--include \
1665 |
--includ |
--inclu |
--incl |
--inc)
1666 ac_prev
=includedir
;;
1667 -includedir=* |
--includedir=* |
--includedi=* |
--included=* |
--include=* \
1668 |
--includ=* |
--inclu=* |
--incl=* |
--inc=*)
1669 includedir
=$ac_optarg ;;
1671 -infodir |
--infodir |
--infodi |
--infod |
--info |
--inf)
1673 -infodir=* |
--infodir=* |
--infodi=* |
--infod=* |
--info=* |
--inf=*)
1674 infodir
=$ac_optarg ;;
1676 -libdir |
--libdir |
--libdi |
--libd)
1678 -libdir=* |
--libdir=* |
--libdi=* |
--libd=*)
1679 libdir
=$ac_optarg ;;
1681 -libexecdir |
--libexecdir |
--libexecdi |
--libexecd |
--libexec \
1682 |
--libexe |
--libex |
--libe)
1683 ac_prev
=libexecdir
;;
1684 -libexecdir=* |
--libexecdir=* |
--libexecdi=* |
--libexecd=* |
--libexec=* \
1685 |
--libexe=* |
--libex=* |
--libe=*)
1686 libexecdir
=$ac_optarg ;;
1688 -localedir |
--localedir |
--localedi |
--localed |
--locale)
1689 ac_prev
=localedir
;;
1690 -localedir=* |
--localedir=* |
--localedi=* |
--localed=* |
--locale=*)
1691 localedir
=$ac_optarg ;;
1693 -localstatedir |
--localstatedir |
--localstatedi |
--localstated \
1694 |
--localstate |
--localstat |
--localsta |
--localst |
--locals)
1695 ac_prev
=localstatedir
;;
1696 -localstatedir=* |
--localstatedir=* |
--localstatedi=* |
--localstated=* \
1697 |
--localstate=* |
--localstat=* |
--localsta=* |
--localst=* |
--locals=*)
1698 localstatedir
=$ac_optarg ;;
1700 -mandir |
--mandir |
--mandi |
--mand |
--man |
--ma |
--m)
1702 -mandir=* |
--mandir=* |
--mandi=* |
--mand=* |
--man=* |
--ma=* |
--m=*)
1703 mandir
=$ac_optarg ;;
1705 -nfp |
--nfp |
--nf)
1706 # Obsolete; use --without-fp.
1709 -no-create |
--no-create |
--no-creat |
--no-crea |
--no-cre \
1710 |
--no-cr |
--no-c |
-n)
1713 -no-recursion |
--no-recursion |
--no-recursio |
--no-recursi \
1714 |
--no-recurs |
--no-recur |
--no-recu |
--no-rec |
--no-re |
--no-r)
1717 -oldincludedir |
--oldincludedir |
--oldincludedi |
--oldincluded \
1718 |
--oldinclude |
--oldinclud |
--oldinclu |
--oldincl |
--oldinc \
1719 |
--oldin |
--oldi |
--old |
--ol |
--o)
1720 ac_prev
=oldincludedir
;;
1721 -oldincludedir=* |
--oldincludedir=* |
--oldincludedi=* |
--oldincluded=* \
1722 |
--oldinclude=* |
--oldinclud=* |
--oldinclu=* |
--oldincl=* |
--oldinc=* \
1723 |
--oldin=* |
--oldi=* |
--old=* |
--ol=* |
--o=*)
1724 oldincludedir
=$ac_optarg ;;
1726 -prefix |
--prefix |
--prefi |
--pref |
--pre |
--pr |
--p)
1728 -prefix=* |
--prefix=* |
--prefi=* |
--pref=* |
--pre=* |
--pr=* |
--p=*)
1729 prefix
=$ac_optarg ;;
1731 -program-prefix |
--program-prefix |
--program-prefi |
--program-pref \
1732 |
--program-pre |
--program-pr |
--program-p)
1733 ac_prev
=program_prefix
;;
1734 -program-prefix=* |
--program-prefix=* |
--program-prefi=* \
1735 |
--program-pref=* |
--program-pre=* |
--program-pr=* |
--program-p=*)
1736 program_prefix
=$ac_optarg ;;
1738 -program-suffix |
--program-suffix |
--program-suffi |
--program-suff \
1739 |
--program-suf |
--program-su |
--program-s)
1740 ac_prev
=program_suffix
;;
1741 -program-suffix=* |
--program-suffix=* |
--program-suffi=* \
1742 |
--program-suff=* |
--program-suf=* |
--program-su=* |
--program-s=*)
1743 program_suffix
=$ac_optarg ;;
1745 -program-transform-name |
--program-transform-name \
1746 |
--program-transform-nam |
--program-transform-na \
1747 |
--program-transform-n |
--program-transform- \
1748 |
--program-transform |
--program-transfor \
1749 |
--program-transfo |
--program-transf \
1750 |
--program-trans |
--program-tran \
1751 |
--progr-tra |
--program-tr |
--program-t)
1752 ac_prev
=program_transform_name
;;
1753 -program-transform-name=* |
--program-transform-name=* \
1754 |
--program-transform-nam=* |
--program-transform-na=* \
1755 |
--program-transform-n=* |
--program-transform-=* \
1756 |
--program-transform=* |
--program-transfor=* \
1757 |
--program-transfo=* |
--program-transf=* \
1758 |
--program-trans=* |
--program-tran=* \
1759 |
--progr-tra=* |
--program-tr=* |
--program-t=*)
1760 program_transform_name
=$ac_optarg ;;
1762 -pdfdir |
--pdfdir |
--pdfdi |
--pdfd |
--pdf |
--pd)
1764 -pdfdir=* |
--pdfdir=* |
--pdfdi=* |
--pdfd=* |
--pdf=* |
--pd=*)
1765 pdfdir
=$ac_optarg ;;
1767 -psdir |
--psdir |
--psdi |
--psd |
--ps)
1769 -psdir=* |
--psdir=* |
--psdi=* |
--psd=* |
--ps=*)
1772 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
1773 |
-silent |
--silent |
--silen |
--sile |
--sil)
1776 -sbindir |
--sbindir |
--sbindi |
--sbind |
--sbin |
--sbi |
--sb)
1778 -sbindir=* |
--sbindir=* |
--sbindi=* |
--sbind=* |
--sbin=* \
1780 sbindir
=$ac_optarg ;;
1782 -sharedstatedir |
--sharedstatedir |
--sharedstatedi \
1783 |
--sharedstated |
--sharedstate |
--sharedstat |
--sharedsta \
1784 |
--sharedst |
--shareds |
--shared |
--share |
--shar \
1786 ac_prev
=sharedstatedir
;;
1787 -sharedstatedir=* |
--sharedstatedir=* |
--sharedstatedi=* \
1788 |
--sharedstated=* |
--sharedstate=* |
--sharedstat=* |
--sharedsta=* \
1789 |
--sharedst=* |
--shareds=* |
--shared=* |
--share=* |
--shar=* \
1791 sharedstatedir
=$ac_optarg ;;
1793 -site |
--site |
--sit)
1795 -site=* |
--site=* |
--sit=*)
1798 -srcdir |
--srcdir |
--srcdi |
--srcd |
--src |
--sr)
1800 -srcdir=* |
--srcdir=* |
--srcdi=* |
--srcd=* |
--src=* |
--sr=*)
1801 srcdir
=$ac_optarg ;;
1803 -sysconfdir |
--sysconfdir |
--sysconfdi |
--sysconfd |
--sysconf \
1804 |
--syscon |
--sysco |
--sysc |
--sys |
--sy)
1805 ac_prev
=sysconfdir
;;
1806 -sysconfdir=* |
--sysconfdir=* |
--sysconfdi=* |
--sysconfd=* |
--sysconf=* \
1807 |
--syscon=* |
--sysco=* |
--sysc=* |
--sys=* |
--sy=*)
1808 sysconfdir
=$ac_optarg ;;
1810 -target |
--target |
--targe |
--targ |
--tar |
--ta |
--t)
1811 ac_prev
=target_alias
;;
1812 -target=* |
--target=* |
--targe=* |
--targ=* |
--tar=* |
--ta=* |
--t=*)
1813 target_alias
=$ac_optarg ;;
1815 -v |
-verbose |
--verbose |
--verbos |
--verbo |
--verb)
1818 -version |
--version |
--versio |
--versi |
--vers |
-V)
1819 ac_init_version
=: ;;
1822 ac_useropt
=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1823 # Reject names that are not valid shell variable names.
1824 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
1825 as_fn_error $?
"invalid package name: $ac_useropt"
1826 ac_useropt_orig
=$ac_useropt
1827 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1828 case $ac_user_opts in
1832 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
1833 ac_unrecognized_sep
=', ';;
1835 eval with_
$ac_useropt=\
$ac_optarg ;;
1837 -without-* |
--without-*)
1838 ac_useropt
=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1839 # Reject names that are not valid shell variable names.
1840 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
1841 as_fn_error $?
"invalid package name: $ac_useropt"
1842 ac_useropt_orig
=$ac_useropt
1843 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1844 case $ac_user_opts in
1848 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
1849 ac_unrecognized_sep
=', ';;
1851 eval with_
$ac_useropt=no
;;
1854 # Obsolete; use --with-x.
1857 -x-includes |
--x-includes |
--x-include |
--x-includ |
--x-inclu \
1858 |
--x-incl |
--x-inc |
--x-in |
--x-i)
1859 ac_prev
=x_includes
;;
1860 -x-includes=* |
--x-includes=* |
--x-include=* |
--x-includ=* |
--x-inclu=* \
1861 |
--x-incl=* |
--x-inc=* |
--x-in=* |
--x-i=*)
1862 x_includes
=$ac_optarg ;;
1864 -x-libraries |
--x-libraries |
--x-librarie |
--x-librari \
1865 |
--x-librar |
--x-libra |
--x-libr |
--x-lib |
--x-li |
--x-l)
1866 ac_prev
=x_libraries
;;
1867 -x-libraries=* |
--x-libraries=* |
--x-librarie=* |
--x-librari=* \
1868 |
--x-librar=* |
--x-libra=* |
--x-libr=* |
--x-lib=* |
--x-li=* |
--x-l=*)
1869 x_libraries
=$ac_optarg ;;
1871 -*) as_fn_error $?
"unrecognized option: \`$ac_option'
1872 Try \`$0 --help' for more information"
1876 ac_envvar
=`expr "x$ac_option" : 'x\([^=]*\)='`
1877 # Reject names that are not valid shell variable names.
1878 case $ac_envvar in #(
1879 '' |
[0-9]* |
*[!_
$as_cr_alnum]* )
1880 as_fn_error $?
"invalid variable name: \`$ac_envvar'" ;;
1882 eval $ac_envvar=\
$ac_optarg
1883 export $ac_envvar ;;
1886 # FIXME: should be removed in autoconf 3.0.
1887 $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1888 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev
/null
&&
1889 $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1890 : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}"
1896 if test -n "$ac_prev"; then
1897 ac_option
=--`echo $ac_prev | sed 's/_/-/g'`
1898 as_fn_error $?
"missing argument to $ac_option"
1901 if test -n "$ac_unrecognized_opts"; then
1902 case $enable_option_checking in
1904 fatal
) as_fn_error $?
"unrecognized options: $ac_unrecognized_opts" ;;
1905 *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
1909 # Check all directory arguments for consistency.
1910 for ac_var
in exec_prefix prefix bindir sbindir libexecdir datarootdir \
1911 datadir sysconfdir sharedstatedir localstatedir includedir \
1912 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1913 libdir localedir mandir
1915 eval ac_val
=\$
$ac_var
1916 # Remove trailing slashes.
1919 ac_val
=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
1920 eval $ac_var=\
$ac_val;;
1922 # Be sure to have absolute directory names.
1924 [\\/$
]* | ?
:[\\/]* ) continue;;
1925 NONE |
'' ) case $ac_var in *prefix
) continue;; esac;;
1927 as_fn_error $?
"expected an absolute directory name for --$ac_var: $ac_val"
1930 # There might be people who depend on the old broken behavior: `$host'
1931 # used to hold the argument of --host etc.
1932 # FIXME: To remove some day.
1935 target
=$target_alias
1937 # FIXME: To remove some day.
1938 if test "x$host_alias" != x
; then
1939 if test "x$build_alias" = x
; then
1940 cross_compiling
=maybe
1941 elif test "x$build_alias" != "x$host_alias"; then
1947 test -n "$host_alias" && ac_tool_prefix
=$host_alias-
1949 test "$silent" = yes && exec 6>/dev
/null
1952 ac_pwd
=`pwd` && test -n "$ac_pwd" &&
1953 ac_ls_di
=`ls -di .` &&
1954 ac_pwd_ls_di
=`cd "$ac_pwd" && ls -di .` ||
1955 as_fn_error $?
"working directory cannot be determined"
1956 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1957 as_fn_error $?
"pwd does not report name of working directory"
1960 # Find the source files, if location was not specified.
1961 if test -z "$srcdir"; then
1962 ac_srcdir_defaulted
=yes
1963 # Try the directory containing this script, then the parent directory.
1964 ac_confdir
=`$as_dirname -- "$as_myself" ||
1965 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1966 X"$as_myself" : 'X\(//\)[^/]' \| \
1967 X"$as_myself" : 'X\(//\)$' \| \
1968 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
1969 $as_echo X"$as_myself" |
1970 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1988 if test ! -r "$srcdir/$ac_unique_file"; then
1992 ac_srcdir_defaulted
=no
1994 if test ! -r "$srcdir/$ac_unique_file"; then
1995 test "$ac_srcdir_defaulted" = yes && srcdir
="$ac_confdir or .."
1996 as_fn_error $?
"cannot find sources ($ac_unique_file) in $srcdir"
1998 ac_msg
="sources are in $srcdir, but \`cd $srcdir' does not work"
2000 cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
2002 # When building in place, set srcdir=.
2003 if test "$ac_abs_confdir" = "$ac_pwd"; then
2006 # Remove unnecessary trailing slashes from srcdir.
2007 # Double slashes in file names in object file debugging info
2008 # mess up M-x gdb in Emacs.
2010 */) srcdir
=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
2012 for ac_var
in $ac_precious_vars; do
2013 eval ac_env_
${ac_var}_set=\${${ac_var}+set}
2014 eval ac_env_
${ac_var}_value
=\$
${ac_var}
2015 eval ac_cv_env_
${ac_var}_set=\${${ac_var}+set}
2016 eval ac_cv_env_
${ac_var}_value
=\$
${ac_var}
2020 # Report the --help message.
2022 if test "$ac_init_help" = "long"; then
2023 # Omit some internal or obsolete options to make the list less imposing.
2024 # This message is too long to be a string in the A/UX 3.1 sh.
2026 \`configure' configures Wine 1.7.42 to adapt to many kinds of systems.
2028 Usage: $0 [OPTION]... [VAR=VALUE]...
2030 To assign environment variables (e.g., CC, CFLAGS...), specify them as
2031 VAR=VALUE. See below for descriptions of some of the useful variables.
2033 Defaults for the options are specified in brackets.
2036 -h, --help display this help and exit
2037 --help=short display options specific to this package
2038 --help=recursive display the short help of all the included packages
2039 -V, --version display version information and exit
2040 -q, --quiet, --silent do not print \`checking ...' messages
2041 --cache-file=FILE cache test results in FILE [disabled]
2042 -C, --config-cache alias for \`--cache-file=config.cache'
2043 -n, --no-create do not create output files
2044 --srcdir=DIR find the sources in DIR [configure dir or \`..']
2046 Installation directories:
2047 --prefix=PREFIX install architecture-independent files in PREFIX
2048 [$ac_default_prefix]
2049 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
2052 By default, \`make install' will install all the files in
2053 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
2054 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
2055 for instance \`--prefix=\$HOME'.
2057 For better control, use the options below.
2059 Fine tuning of the installation directories:
2060 --bindir=DIR user executables [EPREFIX/bin]
2061 --sbindir=DIR system admin executables [EPREFIX/sbin]
2062 --libexecdir=DIR program executables [EPREFIX/libexec]
2063 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
2064 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
2065 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
2066 --libdir=DIR object code libraries [EPREFIX/lib]
2067 --includedir=DIR C header files [PREFIX/include]
2068 --oldincludedir=DIR C header files for non-gcc [/usr/include]
2069 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
2070 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
2071 --infodir=DIR info documentation [DATAROOTDIR/info]
2072 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
2073 --mandir=DIR man documentation [DATAROOTDIR/man]
2074 --docdir=DIR documentation root [DATAROOTDIR/doc/wine]
2075 --htmldir=DIR html documentation [DOCDIR]
2076 --dvidir=DIR dvi documentation [DOCDIR]
2077 --pdfdir=DIR pdf documentation [DOCDIR]
2078 --psdir=DIR ps documentation [DOCDIR]
2084 --x-includes=DIR X include files are
in DIR
2085 --x-libraries=DIR X library files are
in DIR
2088 --build=BUILD configure
for building on BUILD
[guessed
]
2089 --host=HOST cross-compile to build programs to run on HOST
[BUILD
]
2093 if test -n "$ac_init_help"; then
2094 case $ac_init_help in
2095 short | recursive
) echo "Configuration of Wine 1.7.42:";;
2100 --disable-option-checking ignore unrecognized
--enable/--with options
2101 --disable-FEATURE do not include FEATURE
(same as
--enable-FEATURE=no
)
2102 --enable-FEATURE[=ARG
] include FEATURE
[ARG
=yes]
2103 --disable-win16 do not include Win16 support
2104 --enable-win64 build a Win64 emulator on AMD64
(won
't run Win32
2106 --disable-tests do not build the regression tests
2107 --enable-maintainer-mode
2108 enable maintainer-specific build rules
2109 --disable-largefile omit support for large files
2112 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
2113 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
2114 --without-alsa do not use the Alsa sound support
2115 --without-capi do not use CAPI (ISDN support)
2116 --without-cms do not use CMS (color management support)
2117 --without-coreaudio do not use the CoreAudio sound support
2118 --without-cups do not use CUPS
2119 --without-curses do not use (n)curses
2120 --without-dbus do not use DBus (dynamic device support)
2121 --without-fontconfig do not use fontconfig
2122 --without-freetype do not use the FreeType library
2123 --without-gettext do not use gettext
2124 --with-gettextpo use the GetTextPO library to rebuild po files
2125 --without-gphoto do not use gphoto (Digital Camera support)
2126 --without-glu do not use the GLU library
2127 --without-gnutls do not use GnuTLS (schannel support)
2128 --without-gsm do not use libgsm (GSM 06.10 codec support)
2129 --without-gstreamer do not use GStreamer (codecs support)
2130 --without-hal do not use HAL (dynamic device support)
2131 --without-jpeg do not use JPEG
2132 --without-ldap do not use LDAP
2133 --without-mpg123 do not use the mpg123 library
2134 --without-netapi do not use the Samba NetAPI library
2135 --without-openal do not use OpenAL
2136 --without-opencl do not use OpenCL
2137 --without-opengl do not use OpenGL
2138 --without-osmesa do not use the OSMesa library
2139 --without-oss do not use the OSS sound support
2140 --without-pcap do not use the Packet Capture library
2141 --without-png do not use PNG
2142 --without-pthread do not use the pthread library
2143 --without-sane do not use SANE (scanner support)
2144 --without-tiff do not use TIFF
2145 --without-v4l do not use v4l1 (v4l support)
2146 --without-xcomposite do not use the Xcomposite extension
2147 --without-xcursor do not use the Xcursor extension
2148 --without-xinerama do not use Xinerama (multi-monitor support)
2149 --without-xinput do not use the Xinput extension
2150 --without-xinput2 do not use the Xinput 2 extension
2151 --without-xml do not use XML
2152 --without-xrandr do not use Xrandr (resolution changes)
2153 --without-xrender do not use the Xrender extension
2154 --without-xshape do not use the Xshape extension
2155 --without-xshm do not use XShm (shared memory extension)
2156 --without-xslt do not use XSLT
2157 --without-xxf86vm do not use XFree video mode extension
2158 --without-zlib do not use Zlib (data compression)
2159 --with-wine-tools=DIR use Wine tools from directory DIR
2160 --with-wine64=DIR use the 64-bit Wine in DIR for a Wow64 build
2161 --with-x use the X Window System
2163 Some influential environment variables:
2164 CC C compiler command
2165 CFLAGS C compiler flags
2166 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
2167 nonstandard directory <lib dir>
2168 LIBS libraries to pass to the linker, e.g. -l<library>
2169 CPPFLAGS (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if
2170 you have headers in a nonstandard directory <include dir>
2171 CXX C++ compiler command
2172 CXXFLAGS C++ compiler flags
2174 XMKMF Path to xmkmf, Makefile generator for X Window System
2175 XML2_CFLAGS C compiler flags for libxml-2.0, overriding pkg-config
2176 XML2_LIBS Linker flags for libxml-2.0, overriding pkg-config
2177 XSLT_CFLAGS C compiler flags for libxslt, overriding pkg-config
2178 XSLT_LIBS Linker flags for libxslt, overriding pkg-config
2179 DBUS_CFLAGS C compiler flags for dbus-1, overriding pkg-config
2180 DBUS_LIBS Linker flags for dbus-1, overriding pkg-config
2181 HAL_CFLAGS C compiler flags for hal, overriding pkg-config
2182 HAL_LIBS Linker flags for hal, overriding pkg-config
2184 C compiler flags for gnutls, overriding pkg-config
2185 GNUTLS_LIBS Linker flags for gnutls, overriding pkg-config
2186 SANE_CFLAGS C compiler flags for libsane, overriding pkg-config
2187 SANE_LIBS Linker flags for libsane, overriding pkg-config
2189 C compiler flags for libgphoto2, overriding pkg-config
2191 Linker flags for libgphoto2, overriding pkg-config
2193 C compiler flags for libgphoto2_port, overriding pkg-config
2195 Linker flags for libgphoto2_port, overriding pkg-config
2197 C compiler flags for lcms2, overriding pkg-config
2198 LCMS2_LIBS Linker flags for lcms2, overriding pkg-config
2200 C compiler flags for freetype2, overriding pkg-config
2202 Linker flags for freetype2, overriding pkg-config
2204 C compiler flags for gstreamer-app-0.10, overriding pkg-config
2206 Linker flags for gstreamer-app-0.10, overriding pkg-config
2208 C compiler flags for capi20, overriding pkg-config
2209 CAPI20_LIBS Linker flags for capi20, overriding pkg-config
2211 C compiler flags for fontconfig, overriding pkg-config
2213 Linker flags for fontconfig, overriding pkg-config
2214 JPEG_CFLAGS C compiler flags for libjpeg, overriding pkg-config
2215 JPEG_LIBS Linker flags for libjpeg, overriding pkg-config
2216 PNG_CFLAGS C compiler flags for libpng, overriding pkg-config
2217 PNG_LIBS Linker flags for libpng, overriding pkg-config
2218 TIFF_CFLAGS C compiler flags for libtiff, overriding pkg-config
2219 TIFF_LIBS Linker flags for libtiff, overriding pkg-config
2221 C compiler flags for libmpg123, overriding pkg-config
2222 MPG123_LIBS Linker flags for libmpg123, overriding pkg-config
2224 Use these variables to override the choices made by `configure' or to
help
2225 it to
find libraries and programs with nonstandard names
/locations.
2227 Report bugs to
<wine-devel@winehq.org
>.
2228 Wine home page
: <http
://www.winehq.org
>.
2233 if test "$ac_init_help" = "recursive"; then
2234 # If there are subdirs, report their specific --help.
2235 for ac_dir
in : $ac_subdirs_all; do test "x$ac_dir" = x
: && continue
2236 test -d "$ac_dir" ||
2237 { cd "$srcdir" && ac_pwd
=`pwd` && srcdir
=.
&& test -d "$ac_dir"; } ||
2242 .
) ac_dir_suffix
= ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
2244 ac_dir_suffix
=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
2245 # A ".." for each directory in $ac_dir_suffix.
2246 ac_top_builddir_sub
=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
2247 case $ac_top_builddir_sub in
2248 "") ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
2249 *) ac_top_build_prefix
=$ac_top_builddir_sub/ ;;
2252 ac_abs_top_builddir
=$ac_pwd
2253 ac_abs_builddir
=$ac_pwd$ac_dir_suffix
2254 # for backward compatibility:
2255 ac_top_builddir
=$ac_top_build_prefix
2258 .
) # We are building in place.
2260 ac_top_srcdir
=$ac_top_builddir_sub
2261 ac_abs_top_srcdir
=$ac_pwd ;;
2262 [\\/]* | ?
:[\\/]* ) # Absolute name.
2263 ac_srcdir
=$srcdir$ac_dir_suffix;
2264 ac_top_srcdir
=$srcdir
2265 ac_abs_top_srcdir
=$srcdir ;;
2267 ac_srcdir
=$ac_top_build_prefix$srcdir$ac_dir_suffix
2268 ac_top_srcdir
=$ac_top_build_prefix$srcdir
2269 ac_abs_top_srcdir
=$ac_pwd/$srcdir ;;
2271 ac_abs_srcdir
=$ac_abs_top_srcdir$ac_dir_suffix
2273 cd "$ac_dir" ||
{ ac_status
=$?
; continue; }
2274 # Check for guested configure.
2275 if test -f "$ac_srcdir/configure.gnu"; then
2277 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
2278 elif test -f "$ac_srcdir/configure"; then
2280 $SHELL "$ac_srcdir/configure" --help=recursive
2282 $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
2284 cd "$ac_pwd" ||
{ ac_status
=$?
; break; }
2288 test -n "$ac_init_help" && exit $ac_status
2289 if $ac_init_version; then
2291 Wine configure
1.7.42
2292 generated by GNU Autoconf
2.69
2294 Copyright
(C
) 2012 Free Software Foundation
, Inc.
2295 This configure
script is free software
; the Free Software Foundation
2296 gives unlimited permission to copy
, distribute and modify it.
2301 ## ------------------------ ##
2302 ## Autoconf initialization. ##
2303 ## ------------------------ ##
2305 # ac_fn_c_try_compile LINENO
2306 # --------------------------
2307 # Try to compile conftest.$ac_ext, and return whether this succeeded.
2308 ac_fn_c_try_compile
()
2310 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
2311 rm -f conftest.
$ac_objext
2312 if { { ac_try
="$ac_compile"
2314 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
2315 *) ac_try_echo=$ac_try;;
2317 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2318 $as_echo "$ac_try_echo"; } >&5
2319 (eval "$ac_compile") 2>conftest.err
2321 if test -s conftest.err; then
2322 grep -v '^ *+' conftest.err >conftest.er1
2323 cat conftest.er1 >&5
2324 mv -f conftest.er1 conftest.err
2326 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2327 test $ac_status = 0; } && {
2328 test -z "$ac_c_werror_flag" ||
2329 test ! -s conftest.err
2330 } && test -s conftest.$ac_objext; then :
2333 $as_echo "$as_me: failed program was:" >&5
2334 sed 's/^/| /' conftest.$ac_ext >&5
2338 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2339 as_fn_set_status $ac_retval
2341 } # ac_fn_c_try_compile
2343 # ac_fn_cxx_try_compile LINENO
2344 # ----------------------------
2345 # Try to compile conftest.$ac_ext, and return whether this succeeded.
2346 ac_fn_cxx_try_compile ()
2348 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2349 rm -f conftest.$ac_objext
2350 if { { ac_try="$ac_compile"
2352 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
2353 *) ac_try_echo
=$ac_try;;
2355 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2356 $as_echo "$ac_try_echo"; } >&5
2357 (eval "$ac_compile") 2>conftest.err
2359 if test -s conftest.err
; then
2360 grep -v '^ *+' conftest.err
>conftest.er1
2361 cat conftest.er1
>&5
2362 mv -f conftest.er1 conftest.err
2364 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2365 test $ac_status = 0; } && {
2366 test -z "$ac_cxx_werror_flag" ||
2367 test ! -s conftest.err
2368 } && test -s conftest.
$ac_objext; then :
2371 $as_echo "$as_me: failed program was:" >&5
2372 sed 's/^/| /' conftest.
$ac_ext >&5
2376 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2377 as_fn_set_status
$ac_retval
2379 } # ac_fn_cxx_try_compile
2381 # ac_fn_c_try_link LINENO
2382 # -----------------------
2383 # Try to link conftest.$ac_ext, and return whether this succeeded.
2386 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
2387 rm -f conftest.
$ac_objext conftest
$ac_exeext
2388 if { { ac_try
="$ac_link"
2390 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
2391 *) ac_try_echo=$ac_try;;
2393 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2394 $as_echo "$ac_try_echo"; } >&5
2395 (eval "$ac_link") 2>conftest.err
2397 if test -s conftest.err; then
2398 grep -v '^ *+' conftest.err >conftest.er1
2399 cat conftest.er1 >&5
2400 mv -f conftest.er1 conftest.err
2402 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2403 test $ac_status = 0; } && {
2404 test -z "$ac_c_werror_flag" ||
2405 test ! -s conftest.err
2406 } && test -s conftest$ac_exeext && {
2407 test "$cross_compiling" = yes ||
2408 test -x conftest$ac_exeext
2412 $as_echo "$as_me: failed program was:" >&5
2413 sed 's/^/| /' conftest.$ac_ext >&5
2417 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
2418 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
2419 # interfere with the next link command; also delete a directory that is
2420 # left behind by Apple's compiler. We do this before executing the actions.
2421 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
2422 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2423 as_fn_set_status $ac_retval
2425 } # ac_fn_c_try_link
2427 # ac_fn_c_try_cpp LINENO
2428 # ----------------------
2429 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
2432 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2433 if { { ac_try="$ac_cpp conftest.$ac_ext"
2435 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
2436 *) ac_try_echo
=$ac_try;;
2438 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2439 $as_echo "$ac_try_echo"; } >&5
2440 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
2442 if test -s conftest.err
; then
2443 grep -v '^ *+' conftest.err
>conftest.er1
2444 cat conftest.er1
>&5
2445 mv -f conftest.er1 conftest.err
2447 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2448 test $ac_status = 0; } > conftest.i
&& {
2449 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
2450 test ! -s conftest.err
2454 $as_echo "$as_me: failed program was:" >&5
2455 sed 's/^/| /' conftest.
$ac_ext >&5
2459 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2460 as_fn_set_status
$ac_retval
2464 # ac_fn_c_check_header_mongrel LINENO HEADER VAR INCLUDES
2465 # -------------------------------------------------------
2466 # Tests whether HEADER exists, giving a warning if it cannot be compiled using
2467 # the include files in INCLUDES and setting the cache variable VAR
2469 ac_fn_c_check_header_mongrel
()
2471 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
2472 if eval \
${$3+:} false
; then :
2473 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2474 $as_echo_n "checking for $2... " >&6; }
2475 if eval \
${$3+:} false
; then :
2476 $as_echo_n "(cached) " >&6
2479 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2480 $as_echo "$ac_res" >&6; }
2482 # Is the header compilable?
2483 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
2484 $as_echo_n "checking $2 usability... " >&6; }
2485 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
2486 /* end confdefs.h. */
2490 if ac_fn_c_try_compile
"$LINENO"; then :
2491 ac_header_compiler
=yes
2493 ac_header_compiler
=no
2495 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
2496 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
2497 $as_echo "$ac_header_compiler" >&6; }
2499 # Is the header present?
2500 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
2501 $as_echo_n "checking $2 presence... " >&6; }
2502 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
2503 /* end confdefs.h. */
2506 if ac_fn_c_try_cpp
"$LINENO"; then :
2507 ac_header_preproc
=yes
2509 ac_header_preproc
=no
2511 rm -f conftest.err conftest.i conftest.
$ac_ext
2512 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
2513 $as_echo "$ac_header_preproc" >&6; }
2515 # So? What about this header?
2516 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in #((
2518 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
2519 $as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
2520 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
2521 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
2524 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
2525 $as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
2526 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: check for missing prerequisite headers?" >&5
2527 $as_echo "$as_me: WARNING: $2: check for missing prerequisite headers?" >&2;}
2528 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
2529 $as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
2530 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&5
2531 $as_echo "$as_me: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&2;}
2532 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
2533 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
2534 ( $as_echo "## ------------------------------------ ##
2535 ## Report this to wine-devel@winehq.org ##
2536 ## ------------------------------------ ##"
2537 ) |
sed "s/^/$as_me: WARNING: /" >&2
2540 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2541 $as_echo_n "checking for $2... " >&6; }
2542 if eval \
${$3+:} false
; then :
2543 $as_echo_n "(cached) " >&6
2545 eval "$3=\$ac_header_compiler"
2548 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2549 $as_echo "$ac_res" >&6; }
2551 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2553 } # ac_fn_c_check_header_mongrel
2555 # ac_fn_c_try_run LINENO
2556 # ----------------------
2557 # Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
2558 # that executables *can* be run.
2561 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
2562 if { { ac_try
="$ac_link"
2564 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
2565 *) ac_try_echo=$ac_try;;
2567 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2568 $as_echo "$ac_try_echo"; } >&5
2569 (eval "$ac_link") 2>&5
2571 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2572 test $ac_status = 0; } && { ac_try='./conftest$ac_exeext'
2573 { { case "(($ac_try" in
2574 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
2575 *) ac_try_echo
=$ac_try;;
2577 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2578 $as_echo "$ac_try_echo"; } >&5
2579 (eval "$ac_try") 2>&5
2581 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2582 test $ac_status = 0; }; }; then :
2585 $as_echo "$as_me: program exited with status $ac_status" >&5
2586 $as_echo "$as_me: failed program was:" >&5
2587 sed 's/^/| /' conftest.
$ac_ext >&5
2589 ac_retval
=$ac_status
2591 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
2592 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2593 as_fn_set_status
$ac_retval
2597 # ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
2598 # -------------------------------------------------------
2599 # Tests whether HEADER exists and can be compiled using the include files in
2600 # INCLUDES, setting the cache variable VAR accordingly.
2601 ac_fn_c_check_header_compile
()
2603 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
2604 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2605 $as_echo_n "checking for $2... " >&6; }
2606 if eval \
${$3+:} false
; then :
2607 $as_echo_n "(cached) " >&6
2609 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
2610 /* end confdefs.h. */
2614 if ac_fn_c_try_compile
"$LINENO"; then :
2619 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
2622 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2623 $as_echo "$ac_res" >&6; }
2624 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2626 } # ac_fn_c_check_header_compile
2628 # ac_fn_c_check_func LINENO FUNC VAR
2629 # ----------------------------------
2630 # Tests whether FUNC exists, setting the cache variable VAR accordingly
2631 ac_fn_c_check_func
()
2633 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
2634 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2635 $as_echo_n "checking for $2... " >&6; }
2636 if eval \
${$3+:} false
; then :
2637 $as_echo_n "(cached) " >&6
2639 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
2640 /* end confdefs.h. */
2641 /* Define $2 to an innocuous variant, in case <limits.h> declares $2.
2642 For example, HP-UX 11i <limits.h> declares gettimeofday. */
2643 #define $2 innocuous_$2
2645 /* System header to define __stub macros and hopefully few prototypes,
2646 which can conflict with char $2 (); below.
2647 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
2648 <limits.h> exists even on freestanding compilers. */
2651 # include <limits.h>
2653 # include <assert.h>
2658 /* Override any GCC internal prototype to avoid an error.
2659 Use char because int might match the return type of a GCC
2660 builtin and then its argument prototype would still apply. */
2665 /* The GNU C library defines this for functions which it implements
2666 to always fail with ENOSYS. Some functions are actually named
2667 something starting with __ and the normal name is an alias. */
2668 #if defined __stub_$2 || defined __stub___$2
2680 if ac_fn_c_try_link
"$LINENO"; then :
2685 rm -f core conftest.err conftest.
$ac_objext \
2686 conftest
$ac_exeext conftest.
$ac_ext
2689 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2690 $as_echo "$ac_res" >&6; }
2691 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2693 } # ac_fn_c_check_func
2695 # ac_fn_c_check_member LINENO AGGR MEMBER VAR INCLUDES
2696 # ----------------------------------------------------
2697 # Tries to find if the field MEMBER exists in type AGGR, after including
2698 # INCLUDES, setting cache variable VAR accordingly.
2699 ac_fn_c_check_member
()
2701 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
2702 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2.$3" >&5
2703 $as_echo_n "checking for $2.$3... " >&6; }
2704 if eval \
${$4+:} false
; then :
2705 $as_echo_n "(cached) " >&6
2707 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
2708 /* end confdefs.h. */
2720 if ac_fn_c_try_compile
"$LINENO"; then :
2723 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
2724 /* end confdefs.h. */
2730 if (sizeof ac_aggr.$3)
2736 if ac_fn_c_try_compile
"$LINENO"; then :
2741 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
2743 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
2746 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2747 $as_echo "$ac_res" >&6; }
2748 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2750 } # ac_fn_c_check_member
2752 # ac_fn_c_check_type LINENO TYPE VAR INCLUDES
2753 # -------------------------------------------
2754 # Tests whether TYPE exists after having included INCLUDES, setting cache
2755 # variable VAR accordingly.
2756 ac_fn_c_check_type
()
2758 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
2759 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2760 $as_echo_n "checking for $2... " >&6; }
2761 if eval \
${$3+:} false
; then :
2762 $as_echo_n "(cached) " >&6
2765 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
2766 /* end confdefs.h. */
2777 if ac_fn_c_try_compile
"$LINENO"; then :
2778 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
2779 /* end confdefs.h. */
2790 if ac_fn_c_try_compile
"$LINENO"; then :
2795 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
2797 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
2800 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2801 $as_echo "$ac_res" >&6; }
2802 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2804 } # ac_fn_c_check_type
2805 cat >config.log
<<_ACEOF
2806 This file contains any messages produced by compilers while
2807 running configure, to aid debugging if configure makes a mistake.
2809 It was created by Wine $as_me 1.7.42, which was
2810 generated by GNU Autoconf 2.69. Invocation command line was
2822 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
2823 uname -m = `(uname -m) 2>/dev/null || echo unknown`
2824 uname -r = `(uname -r) 2>/dev/null || echo unknown`
2825 uname -s = `(uname -s) 2>/dev/null || echo unknown`
2826 uname -v = `(uname -v) 2>/dev/null || echo unknown`
2828 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
2829 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
2831 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
2832 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
2833 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
2834 /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
2835 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
2836 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
2837 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
2841 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2845 test -z "$as_dir" && as_dir
=.
2846 $as_echo "PATH: $as_dir"
2862 # Keep a trace of the command line.
2863 # Strip out --no-create and --no-recursion so they do not pile up.
2864 # Strip out --silent because we don't want to record it for future runs.
2865 # Also quote any args containing shell meta-characters.
2866 # Make two passes to allow for proper duplicate-argument suppression.
2870 ac_must_keep_next
=false
2876 -no-create |
--no-c* |
-n |
-no-recursion |
--no-r*) continue ;;
2877 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
2878 |
-silent |
--silent |
--silen |
--sile |
--sil)
2881 ac_arg
=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
2884 1) as_fn_append ac_configure_args0
" '$ac_arg'" ;;
2886 as_fn_append ac_configure_args1
" '$ac_arg'"
2887 if test $ac_must_keep_next = true
; then
2888 ac_must_keep_next
=false
# Got value, back to normal.
2891 *=* |
--config-cache |
-C |
-disable-* |
--disable-* \
2892 |
-enable-* |
--enable-* |
-gas |
--g* |
-nfp |
--nf* \
2893 |
-q |
-quiet |
--q* |
-silent |
--sil* |
-v |
-verb* \
2894 |
-with-* |
--with-* |
-without-* |
--without-* |
--x)
2895 case "$ac_configure_args0 " in
2896 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
2899 -* ) ac_must_keep_next
=true
;;
2902 as_fn_append ac_configure_args
" '$ac_arg'"
2907 { ac_configure_args0
=; unset ac_configure_args0
;}
2908 { ac_configure_args1
=; unset ac_configure_args1
;}
2910 # When interrupted or exit'd, cleanup temporary files, and complete
2911 # config.log. We remove comments because anyway the quotes in there
2912 # would cause problems or look ugly.
2913 # WARNING: Use '\'' to represent an apostrophe within the trap.
2914 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
2915 trap 'exit_status=$?
2916 # Save into config.log some information that might help in debugging.
2920 $as_echo "## ---------------- ##
2921 ## Cache variables. ##
2922 ## ---------------- ##"
2924 # The following way of writing the cache mishandles newlines in values,
2926 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
2927 eval ac_val=\$$ac_var
2931 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
2932 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
2935 _ | IFS | as_nl) ;; #(
2936 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
2937 *) { eval $ac_var=; unset $ac_var;} ;;
2942 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
2943 *${as_nl}ac_space=\ *)
2945 "s/'\''/'\''\\\\'\'''\''/g;
2946 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
2949 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
2956 $as_echo "## ----------------- ##
2957 ## Output variables. ##
2958 ## ----------------- ##"
2960 for ac_var in $ac_subst_vars
2962 eval ac_val=\$$ac_var
2964 *\'\''*) ac_val
=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2966 $as_echo "$ac_var='\''$ac_val'\''"
2970 if test -n "$ac_subst_files"; then
2971 $as_echo "## ------------------- ##
2972 ## File substitutions. ##
2973 ## ------------------- ##"
2975 for ac_var
in $ac_subst_files
2977 eval ac_val
=\$
$ac_var
2979 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2981 $as_echo "$ac_var='\''$ac_val'\''"
2986 if test -s confdefs.h; then
2987 $as_echo "## ----------- ##
2994 test "$ac_signal" != 0 &&
2995 $as_echo "$as_me: caught signal $ac_signal"
2996 $as_echo "$as_me: exit $exit_status"
2998 rm -f core *.core core.conftest.* &&
2999 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
3002 for ac_signal
in 1 2 13 15; do
3003 trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
3007 # confdefs.h avoids OS command line length limits that DEFS can exceed.
3008 rm -f -r conftest
* confdefs.h
3010 $as_echo "/* confdefs.h */" > confdefs.h
3012 # Predefined preprocessor variables.
3014 cat >>confdefs.h
<<_ACEOF
3015 #define PACKAGE_NAME "$PACKAGE_NAME"
3018 cat >>confdefs.h
<<_ACEOF
3019 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
3022 cat >>confdefs.h
<<_ACEOF
3023 #define PACKAGE_VERSION "$PACKAGE_VERSION"
3026 cat >>confdefs.h
<<_ACEOF
3027 #define PACKAGE_STRING "$PACKAGE_STRING"
3030 cat >>confdefs.h
<<_ACEOF
3031 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
3034 cat >>confdefs.h
<<_ACEOF
3035 #define PACKAGE_URL "$PACKAGE_URL"
3039 # Let the site file select an alternate cache file if it wants to.
3040 # Prefer an explicitly selected file to automatically selected ones.
3043 if test -n "$CONFIG_SITE"; then
3044 # We do not want a PATH search for config.site.
3045 case $CONFIG_SITE in #((
3046 -*) ac_site_file1
=.
/$CONFIG_SITE;;
3047 */*) ac_site_file1
=$CONFIG_SITE;;
3048 *) ac_site_file1
=.
/$CONFIG_SITE;;
3050 elif test "x$prefix" != xNONE
; then
3051 ac_site_file1
=$prefix/share
/config.site
3052 ac_site_file2
=$prefix/etc
/config.site
3054 ac_site_file1
=$ac_default_prefix/share
/config.site
3055 ac_site_file2
=$ac_default_prefix/etc
/config.site
3057 for ac_site_file
in "$ac_site_file1" "$ac_site_file2"
3059 test "x$ac_site_file" = xNONE
&& continue
3060 if test /dev
/null
!= "$ac_site_file" && test -r "$ac_site_file"; then
3061 { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
3062 $as_echo "$as_me: loading site script $ac_site_file" >&6;}
3063 sed 's/^/| /' "$ac_site_file" >&5
3065 ||
{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3066 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3067 as_fn_error $?
"failed to load site script $ac_site_file
3068 See \`config.log' for more details" "$LINENO" 5; }
3072 if test -r "$cache_file"; then
3073 # Some versions of bash will fail to source /dev/null (special files
3074 # actually), so we avoid doing that. DJGPP emulates it as a regular file.
3075 if test /dev
/null
!= "$cache_file" && test -f "$cache_file"; then
3076 { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
3077 $as_echo "$as_me: loading cache $cache_file" >&6;}
3079 [\\/]* | ?
:[\\/]* ) .
"$cache_file";;
3080 *) .
"./$cache_file";;
3084 { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
3085 $as_echo "$as_me: creating cache $cache_file" >&6;}
3089 # Check that the precious variables saved in the cache have kept the same
3091 ac_cache_corrupted
=false
3092 for ac_var
in $ac_precious_vars; do
3093 eval ac_old_set
=\
$ac_cv_env_${ac_var}_set
3094 eval ac_new_set
=\
$ac_env_${ac_var}_set
3095 eval ac_old_val
=\
$ac_cv_env_${ac_var}_value
3096 eval ac_new_val
=\
$ac_env_${ac_var}_value
3097 case $ac_old_set,$ac_new_set in
3099 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
3100 $as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
3101 ac_cache_corrupted
=: ;;
3103 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
3104 $as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
3105 ac_cache_corrupted
=: ;;
3108 if test "x$ac_old_val" != "x$ac_new_val"; then
3109 # differences in whitespace do not lead to failure.
3110 ac_old_val_w
=`echo x $ac_old_val`
3111 ac_new_val_w
=`echo x $ac_new_val`
3112 if test "$ac_old_val_w" != "$ac_new_val_w"; then
3113 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
3114 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
3115 ac_cache_corrupted
=:
3117 { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
3118 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
3119 eval $ac_var=\
$ac_old_val
3121 { $as_echo "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5
3122 $as_echo "$as_me: former value: \`$ac_old_val'" >&2;}
3123 { $as_echo "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5
3124 $as_echo "$as_me: current value: \`$ac_new_val'" >&2;}
3127 # Pass precious variables to config.status.
3128 if test "$ac_new_set" = set; then
3130 *\'*) ac_arg
=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
3131 *) ac_arg
=$ac_var=$ac_new_val ;;
3133 case " $ac_configure_args " in
3134 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
3135 *) as_fn_append ac_configure_args
" '$ac_arg'" ;;
3139 if $ac_cache_corrupted; then
3140 { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3141 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3142 { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
3143 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
3144 as_fn_error $?
"run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
3146 ## -------------------- ##
3147 ## Main body of script. ##
3148 ## -------------------- ##
3151 ac_cpp
='$CPP $CPPFLAGS'
3152 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3153 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3154 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
3158 ac_config_headers
="$ac_config_headers include/config.h"
3161 for ac_dir
in tools
"$srcdir"/tools
; do
3162 if test -f "$ac_dir/install-sh"; then
3164 ac_install_sh
="$ac_aux_dir/install-sh -c"
3166 elif test -f "$ac_dir/install.sh"; then
3168 ac_install_sh
="$ac_aux_dir/install.sh -c"
3170 elif test -f "$ac_dir/shtool"; then
3172 ac_install_sh
="$ac_aux_dir/shtool install -c"
3176 if test -z "$ac_aux_dir"; then
3177 as_fn_error $?
"cannot find install-sh, install.sh, or shtool in tools \"$srcdir\"/tools" "$LINENO" 5
3180 # These three variables are undocumented and unsupported,
3181 # and are intended to be withdrawn in a future Autoconf release.
3182 # They can cause serious problems if a builder's source tree is in a directory
3183 # whose full name contains unusual characters.
3184 ac_config_guess
="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
3185 ac_config_sub
="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
3186 ac_configure
="$SHELL $ac_aux_dir/configure" # Please don't use this var.
3190 libwine_version
="1.0"
3194 # Check whether --enable-win16 was given.
3195 if test "${enable_win16+set}" = set; then :
3196 enableval
=$enable_win16;
3199 # Check whether --enable-win64 was given.
3200 if test "${enable_win64+set}" = set; then :
3201 enableval
=$enable_win64;
3204 # Check whether --enable-tests was given.
3205 if test "${enable_tests+set}" = set; then :
3206 enableval
=$enable_tests;
3209 # Check whether --enable-maintainer-mode was given.
3210 if test "${enable_maintainer_mode+set}" = set; then :
3211 enableval
=$enable_maintainer_mode;
3216 # Check whether --with-alsa was given.
3217 if test "${with_alsa+set}" = set; then :
3218 withval
=$with_alsa; if test "x$withval" = "xno"; then ac_cv_header_sys_asoundlib_h
=no
; ac_cv_header_alsa_asoundlib_h
=no
; fi
3222 # Check whether --with-capi was given.
3223 if test "${with_capi+set}" = set; then :
3228 # Check whether --with-cms was given.
3229 if test "${with_cms+set}" = set; then :
3234 # Check whether --with-coreaudio was given.
3235 if test "${with_coreaudio+set}" = set; then :
3236 withval
=$with_coreaudio; if test "x$withval" = "xno"; then ac_cv_header_CoreAudio_CoreAudio_h
=no
; fi
3240 # Check whether --with-cups was given.
3241 if test "${with_cups+set}" = set; then :
3246 # Check whether --with-curses was given.
3247 if test "${with_curses+set}" = set; then :
3248 withval
=$with_curses; if test "x$withval" = "xno"; then ac_cv_header_ncurses_h
=no
; ac_cv_header_curses_h
=no
; fi
3252 # Check whether --with-dbus was given.
3253 if test "${with_dbus+set}" = set; then :
3258 # Check whether --with-fontconfig was given.
3259 if test "${with_fontconfig+set}" = set; then :
3260 withval
=$with_fontconfig;
3264 # Check whether --with-freetype was given.
3265 if test "${with_freetype+set}" = set; then :
3266 withval
=$with_freetype;
3270 # Check whether --with-gettext was given.
3271 if test "${with_gettext+set}" = set; then :
3272 withval
=$with_gettext;
3276 # Check whether --with-gettextpo was given.
3277 if test "${with_gettextpo+set}" = set; then :
3278 withval
=$with_gettextpo; if test "x$withval" = "xno"; then ac_cv_header_gettext_po_h
=no
; fi
3282 # Check whether --with-gphoto was given.
3283 if test "${with_gphoto+set}" = set; then :
3284 withval
=$with_gphoto;
3288 # Check whether --with-glu was given.
3289 if test "${with_glu+set}" = set; then :
3294 # Check whether --with-gnutls was given.
3295 if test "${with_gnutls+set}" = set; then :
3296 withval
=$with_gnutls;
3300 # Check whether --with-gsm was given.
3301 if test "${with_gsm+set}" = set; then :
3302 withval
=$with_gsm; if test "x$withval" = "xno"; then ac_cv_header_gsm_h
=no
; ac_cv_header_gsm_gsm_h
=no
; fi
3306 # Check whether --with-gstreamer was given.
3307 if test "${with_gstreamer+set}" = set; then :
3308 withval
=$with_gstreamer;
3312 # Check whether --with-hal was given.
3313 if test "${with_hal+set}" = set; then :
3318 # Check whether --with-jpeg was given.
3319 if test "${with_jpeg+set}" = set; then :
3324 # Check whether --with-ldap was given.
3325 if test "${with_ldap+set}" = set; then :
3326 withval
=$with_ldap; if test "x$withval" = "xno"; then ac_cv_header_ldap_h
=no
; ac_cv_header_lber_h
=no
; fi
3330 # Check whether --with-mpg123 was given.
3331 if test "${with_mpg123+set}" = set; then :
3332 withval
=$with_mpg123;
3336 # Check whether --with-netapi was given.
3337 if test "${with_netapi+set}" = set; then :
3338 withval
=$with_netapi;
3342 # Check whether --with-openal was given.
3343 if test "${with_openal+set}" = set; then :
3344 withval
=$with_openal; if test "x$withval" = "xno"; then ac_cv_header_AL_al_h
=no
; ac_cv_header_OpenAL_al_h
=no
; fi
3348 # Check whether --with-opencl was given.
3349 if test "${with_opencl+set}" = set; then :
3350 withval
=$with_opencl; if test "x$withval" = "xno"; then ac_cv_header_CL_cl_h
=no
; ac_cv_header_OpenCL_opencl_h
=no
; fi
3354 # Check whether --with-opengl was given.
3355 if test "${with_opengl+set}" = set; then :
3356 withval
=$with_opengl;
3360 # Check whether --with-osmesa was given.
3361 if test "${with_osmesa+set}" = set; then :
3362 withval
=$with_osmesa;
3366 # Check whether --with-oss was given.
3367 if test "${with_oss+set}" = set; then :
3372 # Check whether --with-pcap was given.
3373 if test "${with_pcap+set}" = set; then :
3374 withval
=$with_pcap; if test "x$withval" = "xno"; then ac_cv_header_pcap_pcap_h
=no
; fi
3378 # Check whether --with-png was given.
3379 if test "${with_png+set}" = set; then :
3384 # Check whether --with-pthread was given.
3385 if test "${with_pthread+set}" = set; then :
3386 withval
=$with_pthread; if test "x$withval" = "xno"; then ac_cv_header_pthread_h
=no
; fi
3390 # Check whether --with-sane was given.
3391 if test "${with_sane+set}" = set; then :
3396 # Check whether --with-tiff was given.
3397 if test "${with_tiff+set}" = set; then :
3402 # Check whether --with-v4l was given.
3403 if test "${with_v4l+set}" = set; then :
3408 # Check whether --with-xcomposite was given.
3409 if test "${with_xcomposite+set}" = set; then :
3410 withval
=$with_xcomposite; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xcomposite_h
=no
; fi
3414 # Check whether --with-xcursor was given.
3415 if test "${with_xcursor+set}" = set; then :
3416 withval
=$with_xcursor; if test "x$withval" = "xno"; then ac_cv_header_X11_Xcursor_Xcursor_h
=no
; fi
3420 # Check whether --with-xinerama was given.
3421 if test "${with_xinerama+set}" = set; then :
3422 withval
=$with_xinerama; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xinerama_h
=no
; fi
3426 # Check whether --with-xinput was given.
3427 if test "${with_xinput+set}" = set; then :
3428 withval
=$with_xinput; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_XInput_h
=no
; fi
3432 # Check whether --with-xinput2 was given.
3433 if test "${with_xinput2+set}" = set; then :
3434 withval
=$with_xinput2; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_XInput2_h
=no
; fi
3438 # Check whether --with-xml was given.
3439 if test "${with_xml+set}" = set; then :
3444 # Check whether --with-xrandr was given.
3445 if test "${with_xrandr+set}" = set; then :
3446 withval
=$with_xrandr; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xrandr_h
=no
; fi
3450 # Check whether --with-xrender was given.
3451 if test "${with_xrender+set}" = set; then :
3452 withval
=$with_xrender; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xrender_h
=no
; fi
3456 # Check whether --with-xshape was given.
3457 if test "${with_xshape+set}" = set; then :
3458 withval
=$with_xshape; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_shape_h
=no
; fi
3462 # Check whether --with-xshm was given.
3463 if test "${with_xshm+set}" = set; then :
3464 withval
=$with_xshm; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_XShm_h
=no
; fi
3468 # Check whether --with-xslt was given.
3469 if test "${with_xslt+set}" = set; then :
3474 # Check whether --with-xxf86vm was given.
3475 if test "${with_xxf86vm+set}" = set; then :
3476 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
3480 # Check whether --with-zlib was given.
3481 if test "${with_zlib+set}" = set; then :
3482 withval
=$with_zlib; if test "x$withval" = "xno"; then ac_cv_header_zlib_h
=no
; fi
3487 # Check whether --with-wine-tools was given.
3488 if test "${with_wine_tools+set}" = set; then :
3489 withval
=$with_wine_tools;
3493 # Check whether --with-wine64 was given.
3494 if test "${with_wine64+set}" = set; then :
3495 withval
=$with_wine64;
3499 # Make sure we can run config.sub.
3500 $SHELL "$ac_aux_dir/config.sub" sun4
>/dev
/null
2>&1 ||
3501 as_fn_error $?
"cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
3503 { $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
3504 $as_echo_n "checking build system type... " >&6; }
3505 if ${ac_cv_build+:} false
; then :
3506 $as_echo_n "(cached) " >&6
3508 ac_build_alias
=$build_alias
3509 test "x$ac_build_alias" = x
&&
3510 ac_build_alias
=`$SHELL "$ac_aux_dir/config.guess"`
3511 test "x$ac_build_alias" = x
&&
3512 as_fn_error $?
"cannot guess build type; you must specify one" "$LINENO" 5
3513 ac_cv_build
=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
3514 as_fn_error $?
"$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
3517 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
3518 $as_echo "$ac_cv_build" >&6; }
3519 case $ac_cv_build in
3521 *) as_fn_error $?
"invalid value of canonical build" "$LINENO" 5;;
3524 ac_save_IFS
=$IFS; IFS
='-'
3530 # Remember, the first character of IFS is used to create $*,
3531 # except with old shells:
3534 case $build_os in *\
*) build_os
=`echo "$build_os" | sed 's/ /-/g'`;; esac
3537 { $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
3538 $as_echo_n "checking host system type... " >&6; }
3539 if ${ac_cv_host+:} false
; then :
3540 $as_echo_n "(cached) " >&6
3542 if test "x$host_alias" = x
; then
3543 ac_cv_host
=$ac_cv_build
3545 ac_cv_host
=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
3546 as_fn_error $?
"$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
3550 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
3551 $as_echo "$ac_cv_host" >&6; }
3554 *) as_fn_error $?
"invalid value of canonical host" "$LINENO" 5;;
3557 ac_save_IFS
=$IFS; IFS
='-'
3563 # Remember, the first character of IFS is used to create $*,
3564 # except with old shells:
3567 case $host_os in *\
*) host_os
=`echo "$host_os" | sed 's/ /-/g'`;; esac
3573 *) if test -f "$srcdir/Makefile" -o -f "$srcdir/include/config.h"; then
3574 as_fn_error $?
"you are building out of the source tree, but the source tree contains object files.
3575 You need to run 'make distclean' in the source tree first." "$LINENO" 5
3580 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
3581 $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
3583 ac_make
=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
3584 if eval \
${ac_cv_prog_make_${ac_make}_set+:} false
; then :
3585 $as_echo_n "(cached) " >&6
3587 cat >conftest.
make <<\_ACEOF
3590 @
echo '@@@%%%=$(MAKE)=@@@%%%'
3592 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
3593 case `${MAKE-make} -f conftest.make 2>/dev/null` in
3595 eval ac_cv_prog_make_
${ac_make}_set
=yes;;
3597 eval ac_cv_prog_make_
${ac_make}_set
=no
;;
3601 if eval test \
$ac_cv_prog_make_${ac_make}_set
= yes; then
3602 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3603 $as_echo "yes" >&6; }
3606 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3607 $as_echo "no" >&6; }
3608 SET_MAKE
="MAKE=${MAKE-make}"
3612 ac_cpp
='$CPP $CPPFLAGS'
3613 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3614 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3615 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
3616 if test -n "$ac_tool_prefix"; then
3617 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
3618 set dummy
${ac_tool_prefix}gcc
; ac_word
=$2
3619 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3620 $as_echo_n "checking for $ac_word... " >&6; }
3621 if ${ac_cv_prog_CC+:} false
; then :
3622 $as_echo_n "(cached) " >&6
3624 if test -n "$CC"; then
3625 ac_cv_prog_CC
="$CC" # Let the user override the test.
3627 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3631 test -z "$as_dir" && as_dir
=.
3632 for ac_exec_ext
in '' $ac_executable_extensions; do
3633 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
3634 ac_cv_prog_CC
="${ac_tool_prefix}gcc"
3635 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3645 if test -n "$CC"; then
3646 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3647 $as_echo "$CC" >&6; }
3649 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3650 $as_echo "no" >&6; }
3655 if test -z "$ac_cv_prog_CC"; then
3657 # Extract the first word of "gcc", so it can be a program name with args.
3658 set dummy gcc
; ac_word
=$2
3659 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3660 $as_echo_n "checking for $ac_word... " >&6; }
3661 if ${ac_cv_prog_ac_ct_CC+:} false
; then :
3662 $as_echo_n "(cached) " >&6
3664 if test -n "$ac_ct_CC"; then
3665 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
3667 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3671 test -z "$as_dir" && as_dir
=.
3672 for ac_exec_ext
in '' $ac_executable_extensions; do
3673 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
3674 ac_cv_prog_ac_ct_CC
="gcc"
3675 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3684 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
3685 if test -n "$ac_ct_CC"; then
3686 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3687 $as_echo "$ac_ct_CC" >&6; }
3689 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3690 $as_echo "no" >&6; }
3693 if test "x$ac_ct_CC" = x
; then
3696 case $cross_compiling:$ac_tool_warned in
3698 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3699 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3700 ac_tool_warned
=yes ;;
3708 if test -z "$CC"; then
3709 if test -n "$ac_tool_prefix"; then
3710 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
3711 set dummy
${ac_tool_prefix}cc
; ac_word
=$2
3712 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3713 $as_echo_n "checking for $ac_word... " >&6; }
3714 if ${ac_cv_prog_CC+:} false
; then :
3715 $as_echo_n "(cached) " >&6
3717 if test -n "$CC"; then
3718 ac_cv_prog_CC
="$CC" # Let the user override the test.
3720 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3724 test -z "$as_dir" && as_dir
=.
3725 for ac_exec_ext
in '' $ac_executable_extensions; do
3726 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
3727 ac_cv_prog_CC
="${ac_tool_prefix}cc"
3728 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3738 if test -n "$CC"; then
3739 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3740 $as_echo "$CC" >&6; }
3742 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3743 $as_echo "no" >&6; }
3749 if test -z "$CC"; then
3750 # Extract the first word of "cc", so it can be a program name with args.
3751 set dummy cc
; ac_word
=$2
3752 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3753 $as_echo_n "checking for $ac_word... " >&6; }
3754 if ${ac_cv_prog_CC+:} false
; then :
3755 $as_echo_n "(cached) " >&6
3757 if test -n "$CC"; then
3758 ac_cv_prog_CC
="$CC" # Let the user override the test.
3761 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3765 test -z "$as_dir" && as_dir
=.
3766 for ac_exec_ext
in '' $ac_executable_extensions; do
3767 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
3768 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
3769 ac_prog_rejected
=yes
3773 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3780 if test $ac_prog_rejected = yes; then
3781 # We found a bogon in the path, so make sure we never use it.
3782 set dummy
$ac_cv_prog_CC
3784 if test $# != 0; then
3785 # We chose a different compiler from the bogus one.
3786 # However, it has the same basename, so the bogon will be chosen
3787 # first if we set CC to just the basename; use the full file name.
3789 ac_cv_prog_CC
="$as_dir/$ac_word${1+' '}$@"
3795 if test -n "$CC"; then
3796 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3797 $as_echo "$CC" >&6; }
3799 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3800 $as_echo "no" >&6; }
3805 if test -z "$CC"; then
3806 if test -n "$ac_tool_prefix"; then
3807 for ac_prog
in cl.exe
3809 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
3810 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
3811 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3812 $as_echo_n "checking for $ac_word... " >&6; }
3813 if ${ac_cv_prog_CC+:} false
; then :
3814 $as_echo_n "(cached) " >&6
3816 if test -n "$CC"; then
3817 ac_cv_prog_CC
="$CC" # Let the user override the test.
3819 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3823 test -z "$as_dir" && as_dir
=.
3824 for ac_exec_ext
in '' $ac_executable_extensions; do
3825 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
3826 ac_cv_prog_CC
="$ac_tool_prefix$ac_prog"
3827 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3837 if test -n "$CC"; then
3838 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3839 $as_echo "$CC" >&6; }
3841 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3842 $as_echo "no" >&6; }
3846 test -n "$CC" && break
3849 if test -z "$CC"; then
3851 for ac_prog
in cl.exe
3853 # Extract the first word of "$ac_prog", so it can be a program name with args.
3854 set dummy
$ac_prog; ac_word
=$2
3855 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3856 $as_echo_n "checking for $ac_word... " >&6; }
3857 if ${ac_cv_prog_ac_ct_CC+:} false
; then :
3858 $as_echo_n "(cached) " >&6
3860 if test -n "$ac_ct_CC"; then
3861 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
3863 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3867 test -z "$as_dir" && as_dir
=.
3868 for ac_exec_ext
in '' $ac_executable_extensions; do
3869 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
3870 ac_cv_prog_ac_ct_CC
="$ac_prog"
3871 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3880 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
3881 if test -n "$ac_ct_CC"; then
3882 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3883 $as_echo "$ac_ct_CC" >&6; }
3885 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3886 $as_echo "no" >&6; }
3890 test -n "$ac_ct_CC" && break
3893 if test "x$ac_ct_CC" = x
; then
3896 case $cross_compiling:$ac_tool_warned in
3898 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3899 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3900 ac_tool_warned
=yes ;;
3909 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3910 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3911 as_fn_error $?
"no acceptable C compiler found in \$PATH
3912 See \`config.log' for more details" "$LINENO" 5; }
3914 # Provide some information about the compiler.
3915 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
3918 for ac_option
in --version -v -V -qversion; do
3919 { { ac_try
="$ac_compiler $ac_option >&5"
3921 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
3922 *) ac_try_echo=$ac_try;;
3924 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3925 $as_echo "$ac_try_echo"; } >&5
3926 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
3928 if test -s conftest.err; then
3930 ... rest of stderr output deleted ...
3931 10q' conftest.err >conftest.er1
3932 cat conftest.er1 >&5
3934 rm -f conftest.er1 conftest.err
3935 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3936 test $ac_status = 0; }
3939 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3940 /* end confdefs.h. */
3950 ac_clean_files_save=$ac_clean_files
3951 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
3952 # Try to create an executable without -o first, disregard a.out.
3953 # It will help us diagnose broken compilers, and finding out an intuition
3955 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
3956 $as_echo_n "checking whether the C compiler works... " >&6; }
3957 ac_link_default=`$as_echo "$ac_link" |
sed 's/ -o *conftest[^ ]*//'`
3959 # The possible output files:
3960 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
3963 for ac_file in $ac_files
3966 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
3967 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
3972 if { { ac_try="$ac_link_default"
3974 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
3975 *) ac_try_echo
=$ac_try;;
3977 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3978 $as_echo "$ac_try_echo"; } >&5
3979 (eval "$ac_link_default") 2>&5
3981 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3982 test $ac_status = 0; }; then :
3983 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
3984 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
3985 # in a Makefile. We should not override ac_cv_exeext if it was cached,
3986 # so that the user can short-circuit this test for compilers unknown to
3988 for ac_file
in $ac_files ''
3990 test -f "$ac_file" ||
continue
3992 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg |
*.map |
*.inf |
*.dSYM |
*.o |
*.obj
)
3995 # We found the default executable, but exeext='' is most
3999 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no
;
4001 ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
4003 # We set ac_cv_exeext here because the later test for it is not
4004 # safe: cross compilers may not add the suffix if given an `-o'
4005 # argument, so we may need to know it at that point already.
4006 # Even if this section looks crufty: it has the advantage of
4013 test "$ac_cv_exeext" = no
&& ac_cv_exeext
=
4018 if test -z "$ac_file"; then :
4019 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4020 $as_echo "no" >&6; }
4021 $as_echo "$as_me: failed program was:" >&5
4022 sed 's/^/| /' conftest.
$ac_ext >&5
4024 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4025 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4026 as_fn_error
77 "C compiler cannot create executables
4027 See \`config.log' for more details" "$LINENO" 5; }
4029 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4030 $as_echo "yes" >&6; }
4032 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
4033 $as_echo_n "checking for C compiler default output file name... " >&6; }
4034 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
4035 $as_echo "$ac_file" >&6; }
4036 ac_exeext
=$ac_cv_exeext
4038 rm -f -r a.out a.out.dSYM a.exe conftest
$ac_cv_exeext b.out
4039 ac_clean_files
=$ac_clean_files_save
4040 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
4041 $as_echo_n "checking for suffix of executables... " >&6; }
4042 if { { ac_try
="$ac_link"
4044 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
4045 *) ac_try_echo=$ac_try;;
4047 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4048 $as_echo "$ac_try_echo"; } >&5
4049 (eval "$ac_link") 2>&5
4051 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4052 test $ac_status = 0; }; then :
4053 # If both `conftest.exe
' and `conftest' are
`present' (well, observable)
4054 # catch `conftest.exe
'. For instance with Cygwin, `ls conftest' will
4055 # work properly (i.e., refer to `conftest.exe'), while it won't with
4057 for ac_file
in conftest.exe conftest conftest.
*; do
4058 test -f "$ac_file" ||
continue
4060 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg |
*.map |
*.inf |
*.dSYM |
*.o |
*.obj
) ;;
4061 *.
* ) ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
4067 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4068 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4069 as_fn_error $?
"cannot compute suffix of executables: cannot compile and link
4070 See \`config.log' for more details" "$LINENO" 5; }
4072 rm -f conftest conftest
$ac_cv_exeext
4073 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
4074 $as_echo "$ac_cv_exeext" >&6; }
4076 rm -f conftest.
$ac_ext
4077 EXEEXT
=$ac_cv_exeext
4079 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4080 /* end confdefs.h. */
4085 FILE *f = fopen ("conftest.out", "w");
4086 return ferror (f) || fclose (f) != 0;
4092 ac_clean_files
="$ac_clean_files conftest.out"
4093 # Check that the compiler produces executables we can run. If not, either
4094 # the compiler is broken, or we cross compile.
4095 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
4096 $as_echo_n "checking whether we are cross compiling... " >&6; }
4097 if test "$cross_compiling" != yes; then
4098 { { ac_try
="$ac_link"
4100 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
4101 *) ac_try_echo=$ac_try;;
4103 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4104 $as_echo "$ac_try_echo"; } >&5
4105 (eval "$ac_link") 2>&5
4107 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4108 test $ac_status = 0; }
4109 if { ac_try='./conftest$ac_cv_exeext'
4110 { { case "(($ac_try" in
4111 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
4112 *) ac_try_echo
=$ac_try;;
4114 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4115 $as_echo "$ac_try_echo"; } >&5
4116 (eval "$ac_try") 2>&5
4118 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4119 test $ac_status = 0; }; }; then
4122 if test "$cross_compiling" = maybe
; then
4125 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4126 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4127 as_fn_error $?
"cannot run C compiled programs.
4128 If you meant to cross compile, use \`--host'.
4129 See \`config.log' for more details" "$LINENO" 5; }
4133 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
4134 $as_echo "$cross_compiling" >&6; }
4136 rm -f conftest.
$ac_ext conftest
$ac_cv_exeext conftest.out
4137 ac_clean_files
=$ac_clean_files_save
4138 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
4139 $as_echo_n "checking for suffix of object files... " >&6; }
4140 if ${ac_cv_objext+:} false
; then :
4141 $as_echo_n "(cached) " >&6
4143 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4144 /* end confdefs.h. */
4154 rm -f conftest.o conftest.obj
4155 if { { ac_try
="$ac_compile"
4157 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
4158 *) ac_try_echo=$ac_try;;
4160 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4161 $as_echo "$ac_try_echo"; } >&5
4162 (eval "$ac_compile") 2>&5
4164 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4165 test $ac_status = 0; }; then :
4166 for ac_file in conftest.o conftest.obj conftest.*; do
4167 test -f "$ac_file" || continue;
4169 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
4170 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
4175 $as_echo "$as_me: failed program was:" >&5
4176 sed 's/^/| /' conftest.$ac_ext >&5
4178 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4179 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4180 as_fn_error $? "cannot compute suffix of object files
: cannot compile
4181 See \
`config.log' for more details" "$LINENO" 5; }
4183 rm -f conftest.$ac_cv_objext conftest.$ac_ext
4185 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
4186 $as_echo "$ac_cv_objext" >&6; }
4187 OBJEXT=$ac_cv_objext
4189 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
4190 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
4191 if ${ac_cv_c_compiler_gnu+:} false; then :
4192 $as_echo_n "(cached) " >&6
4194 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4195 /* end confdefs.h. */
4208 if ac_fn_c_try_compile "$LINENO"; then :
4213 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4214 ac_cv_c_compiler_gnu=$ac_compiler_gnu
4217 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
4218 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
4219 if test $ac_compiler_gnu = yes; then
4224 ac_test_CFLAGS=${CFLAGS+set}
4225 ac_save_CFLAGS=$CFLAGS
4226 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
4227 $as_echo_n "checking whether $CC accepts -g... " >&6; }
4228 if ${ac_cv_prog_cc_g+:} false; then :
4229 $as_echo_n "(cached) " >&6
4231 ac_save_c_werror_flag=$ac_c_werror_flag
4232 ac_c_werror_flag=yes
4235 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4236 /* end confdefs.h. */
4246 if ac_fn_c_try_compile "$LINENO"; then :
4250 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4251 /* end confdefs.h. */
4261 if ac_fn_c_try_compile "$LINENO"; then :
4264 ac_c_werror_flag=$ac_save_c_werror_flag
4266 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4267 /* end confdefs.h. */
4277 if ac_fn_c_try_compile "$LINENO"; then :
4280 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4282 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4284 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4285 ac_c_werror_flag=$ac_save_c_werror_flag
4287 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
4288 $as_echo "$ac_cv_prog_cc_g" >&6; }
4289 if test "$ac_test_CFLAGS" = set; then
4290 CFLAGS=$ac_save_CFLAGS
4291 elif test $ac_cv_prog_cc_g = yes; then
4292 if test "$GCC" = yes; then
4298 if test "$GCC" = yes; then
4304 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
4305 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
4306 if ${ac_cv_prog_cc_c89+:} false; then :
4307 $as_echo_n "(cached) " >&6
4309 ac_cv_prog_cc_c89=no
4311 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4312 /* end confdefs.h. */
4316 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
4317 struct buf { int x; };
4318 FILE * (*rcsopen) (struct buf *, struct stat *, int);
4319 static char *e (p, i)
4325 static char *f (char * (*g) (char **, int), char **p, ...)
4330 s = g (p, va_arg (v,int));
4335 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
4336 function prototypes and stuff, but not '\xHH' hex character constants.
4337 These don't provoke an error unfortunately, instead are silently treated
4338 as 'x'. The following induces an error, until -std is added to get
4339 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
4340 array size at least. It's necessary to write '\x00'==0 to get something
4341 that's true only with -std. */
4342 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
4344 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
4345 inside strings and character constants. */
4347 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
4349 int test (int i, double x);
4350 struct s1 {int (*f) (int a);};
4351 struct s2 {int (*f) (double a);};
4352 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
4358 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
4363 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
4364 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
4366 CC="$ac_save_CC $ac_arg"
4367 if ac_fn_c_try_compile "$LINENO"; then :
4368 ac_cv_prog_cc_c89=$ac_arg
4370 rm -f core conftest.err conftest.$ac_objext
4371 test "x$ac_cv_prog_cc_c89" != "xno" && break
4373 rm -f conftest.$ac_ext
4378 case "x$ac_cv_prog_cc_c89" in
4380 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
4381 $as_echo "none needed" >&6; } ;;
4383 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
4384 $as_echo "unsupported" >&6; } ;;
4386 CC="$CC $ac_cv_prog_cc_c89"
4387 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
4388 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
4390 if test "x$ac_cv_prog_cc_c89" != xno; then :
4395 ac_cpp='$CPP $CPPFLAGS'
4396 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4397 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4398 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4401 ac_cpp='$CXXCPP $CPPFLAGS'
4402 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4403 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4404 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
4405 if test -z "$CXX"; then
4406 if test -n "$CCC"; then
4409 if test -n "$ac_tool_prefix"; then
4410 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
4412 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
4413 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
4414 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4415 $as_echo_n "checking for $ac_word... " >&6; }
4416 if ${ac_cv_prog_CXX+:} false; then :
4417 $as_echo_n "(cached) " >&6
4419 if test -n "$CXX"; then
4420 ac_cv_prog_CXX="$CXX" # Let the user override the test.
4422 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4426 test -z "$as_dir" && as_dir=.
4427 for ac_exec_ext in '' $ac_executable_extensions; do
4428 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4429 ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"
4430 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4440 if test -n "$CXX"; then
4441 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXX" >&5
4442 $as_echo "$CXX" >&6; }
4444 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4445 $as_echo "no" >&6; }
4449 test -n "$CXX" && break
4452 if test -z "$CXX"; then
4454 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
4456 # Extract the first word of "$ac_prog", so it can be a program name with args.
4457 set dummy $ac_prog; ac_word=$2
4458 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4459 $as_echo_n "checking for $ac_word... " >&6; }
4460 if ${ac_cv_prog_ac_ct_CXX+:} false; then :
4461 $as_echo_n "(cached) " >&6
4463 if test -n "$ac_ct_CXX"; then
4464 ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
4466 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4470 test -z "$as_dir" && as_dir=.
4471 for ac_exec_ext in '' $ac_executable_extensions; do
4472 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4473 ac_cv_prog_ac_ct_CXX="$ac_prog"
4474 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4483 ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
4484 if test -n "$ac_ct_CXX"; then
4485 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CXX" >&5
4486 $as_echo "$ac_ct_CXX" >&6; }
4488 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4489 $as_echo "no" >&6; }
4493 test -n "$ac_ct_CXX" && break
4496 if test "x$ac_ct_CXX" = x; then
4499 case $cross_compiling:$ac_tool_warned in
4501 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4502 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4503 ac_tool_warned=yes ;;
4511 # Provide some information about the compiler.
4512 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C++ compiler version" >&5
4515 for ac_option in --version -v -V -qversion; do
4516 { { ac_try="$ac_compiler $ac_option >&5"
4518 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
4519 *) ac_try_echo
=$ac_try;;
4521 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4522 $as_echo "$ac_try_echo"; } >&5
4523 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
4525 if test -s conftest.err
; then
4527 ... rest of stderr output deleted ...
4528 10q' conftest.err
>conftest.er1
4529 cat conftest.er1
>&5
4531 rm -f conftest.er1 conftest.err
4532 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4533 test $ac_status = 0; }
4536 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C++ compiler" >&5
4537 $as_echo_n "checking whether we are using the GNU C++ compiler... " >&6; }
4538 if ${ac_cv_cxx_compiler_gnu+:} false
; then :
4539 $as_echo_n "(cached) " >&6
4541 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4542 /* end confdefs.h. */
4555 if ac_fn_cxx_try_compile
"$LINENO"; then :
4560 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
4561 ac_cv_cxx_compiler_gnu
=$ac_compiler_gnu
4564 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cxx_compiler_gnu" >&5
4565 $as_echo "$ac_cv_cxx_compiler_gnu" >&6; }
4566 if test $ac_compiler_gnu = yes; then
4571 ac_test_CXXFLAGS
=${CXXFLAGS+set}
4572 ac_save_CXXFLAGS
=$CXXFLAGS
4573 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CXX accepts -g" >&5
4574 $as_echo_n "checking whether $CXX accepts -g... " >&6; }
4575 if ${ac_cv_prog_cxx_g+:} false
; then :
4576 $as_echo_n "(cached) " >&6
4578 ac_save_cxx_werror_flag
=$ac_cxx_werror_flag
4579 ac_cxx_werror_flag
=yes
4582 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4583 /* end confdefs.h. */
4593 if ac_fn_cxx_try_compile
"$LINENO"; then :
4594 ac_cv_prog_cxx_g
=yes
4597 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4598 /* end confdefs.h. */
4608 if ac_fn_cxx_try_compile
"$LINENO"; then :
4611 ac_cxx_werror_flag
=$ac_save_cxx_werror_flag
4613 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4614 /* end confdefs.h. */
4624 if ac_fn_cxx_try_compile
"$LINENO"; then :
4625 ac_cv_prog_cxx_g
=yes
4627 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
4629 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
4631 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
4632 ac_cxx_werror_flag
=$ac_save_cxx_werror_flag
4634 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cxx_g" >&5
4635 $as_echo "$ac_cv_prog_cxx_g" >&6; }
4636 if test "$ac_test_CXXFLAGS" = set; then
4637 CXXFLAGS
=$ac_save_CXXFLAGS
4638 elif test $ac_cv_prog_cxx_g = yes; then
4639 if test "$GXX" = yes; then
4645 if test "$GXX" = yes; then
4652 ac_cpp
='$CPP $CPPFLAGS'
4653 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4654 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4655 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
4657 if test -n "$ac_tool_prefix"; then
4658 # Extract the first word of "${ac_tool_prefix}cpp", so it can be a program name with args.
4659 set dummy
${ac_tool_prefix}cpp
; ac_word
=$2
4660 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4661 $as_echo_n "checking for $ac_word... " >&6; }
4662 if ${ac_cv_prog_CPPBIN+:} false
; then :
4663 $as_echo_n "(cached) " >&6
4665 if test -n "$CPPBIN"; then
4666 ac_cv_prog_CPPBIN
="$CPPBIN" # Let the user override the test.
4668 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4672 test -z "$as_dir" && as_dir
=.
4673 for ac_exec_ext
in '' $ac_executable_extensions; do
4674 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
4675 ac_cv_prog_CPPBIN
="${ac_tool_prefix}cpp"
4676 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4685 CPPBIN
=$ac_cv_prog_CPPBIN
4686 if test -n "$CPPBIN"; then
4687 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPPBIN" >&5
4688 $as_echo "$CPPBIN" >&6; }
4690 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4691 $as_echo "no" >&6; }
4696 if test -z "$ac_cv_prog_CPPBIN"; then
4697 ac_ct_CPPBIN
=$CPPBIN
4698 # Extract the first word of "cpp", so it can be a program name with args.
4699 set dummy cpp
; ac_word
=$2
4700 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4701 $as_echo_n "checking for $ac_word... " >&6; }
4702 if ${ac_cv_prog_ac_ct_CPPBIN+:} false
; then :
4703 $as_echo_n "(cached) " >&6
4705 if test -n "$ac_ct_CPPBIN"; then
4706 ac_cv_prog_ac_ct_CPPBIN
="$ac_ct_CPPBIN" # Let the user override the test.
4708 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4712 test -z "$as_dir" && as_dir
=.
4713 for ac_exec_ext
in '' $ac_executable_extensions; do
4714 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
4715 ac_cv_prog_ac_ct_CPPBIN
="cpp"
4716 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4725 ac_ct_CPPBIN
=$ac_cv_prog_ac_ct_CPPBIN
4726 if test -n "$ac_ct_CPPBIN"; then
4727 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CPPBIN" >&5
4728 $as_echo "$ac_ct_CPPBIN" >&6; }
4730 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4731 $as_echo "no" >&6; }
4734 if test "x$ac_ct_CPPBIN" = x
; then
4737 case $cross_compiling:$ac_tool_warned in
4739 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4740 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4741 ac_tool_warned
=yes ;;
4743 CPPBIN
=$ac_ct_CPPBIN
4746 CPPBIN
="$ac_cv_prog_CPPBIN"
4750 cat >>confdefs.h
<<_ACEOF
4751 #define EXEEXT "$ac_exeext"
4754 if test -n "$ac_tool_prefix"; then
4755 # Extract the first word of "${ac_tool_prefix}ld", so it can be a program name with args.
4756 set dummy
${ac_tool_prefix}ld
; ac_word
=$2
4757 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4758 $as_echo_n "checking for $ac_word... " >&6; }
4759 if ${ac_cv_prog_LD+:} false
; then :
4760 $as_echo_n "(cached) " >&6
4762 if test -n "$LD"; then
4763 ac_cv_prog_LD
="$LD" # Let the user override the test.
4765 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4769 test -z "$as_dir" && as_dir
=.
4770 for ac_exec_ext
in '' $ac_executable_extensions; do
4771 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
4772 ac_cv_prog_LD
="${ac_tool_prefix}ld"
4773 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4783 if test -n "$LD"; then
4784 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
4785 $as_echo "$LD" >&6; }
4787 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4788 $as_echo "no" >&6; }
4793 if test -z "$ac_cv_prog_LD"; then
4795 # Extract the first word of "ld", so it can be a program name with args.
4796 set dummy ld
; ac_word
=$2
4797 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4798 $as_echo_n "checking for $ac_word... " >&6; }
4799 if ${ac_cv_prog_ac_ct_LD+:} false
; then :
4800 $as_echo_n "(cached) " >&6
4802 if test -n "$ac_ct_LD"; then
4803 ac_cv_prog_ac_ct_LD
="$ac_ct_LD" # Let the user override the test.
4805 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4809 test -z "$as_dir" && as_dir
=.
4810 for ac_exec_ext
in '' $ac_executable_extensions; do
4811 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
4812 ac_cv_prog_ac_ct_LD
="ld"
4813 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4822 ac_ct_LD
=$ac_cv_prog_ac_ct_LD
4823 if test -n "$ac_ct_LD"; then
4824 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_LD" >&5
4825 $as_echo "$ac_ct_LD" >&6; }
4827 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4828 $as_echo "no" >&6; }
4831 if test "x$ac_ct_LD" = x
; then
4834 case $cross_compiling:$ac_tool_warned in
4836 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4837 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4838 ac_tool_warned
=yes ;;
4849 if test "x$enable_win64" = "xyes"
4854 notice_platform
="64-bit "
4861 notice_platform
="32-bit "
4864 enable_win16
=${enable_win16:-yes}
4866 with_fontconfig
=${with_fontconfig:-no}
4869 if test "x$enable_win64" != "xyes" -a "$cross_compiling" != "yes"
4873 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC works" >&5
4874 $as_echo_n "checking whether $CC works... " >&6; }
4876 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4877 /* end confdefs.h. */
4887 if ac_fn_c_try_link
"$LINENO"; then :
4888 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4889 $as_echo "yes" >&6; }
4891 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4892 $as_echo "no" >&6; }
4893 as_fn_error $?
"Cannot build a 32-bit program, you need to install 32-bit development libraries." "$LINENO" 5
4895 rm -f core conftest.err conftest.
$ac_objext \
4896 conftest
$ac_exeext conftest.
$ac_ext
4898 notice_platform
="32-bit "
4901 enable_win16
=${enable_win16:-yes}
4903 if test "x${GCC}" = "xyes"
4905 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC supports __builtin_ms_va_list" >&5
4906 $as_echo_n "checking whether $CC supports __builtin_ms_va_list... " >&6; }
4907 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4908 /* end confdefs.h. */
4913 void func(__builtin_ms_va_list *args);
4918 if ac_fn_c_try_compile
"$LINENO"; then :
4919 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4920 $as_echo "yes" >&6; }
4922 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4923 $as_echo "no" >&6; }
4924 as_fn_error $?
"You need gcc >= 4.4 to build Wine as 64-bit." "$LINENO" 5
4926 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
4934 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC supports Thumb" >&5
4935 $as_echo_n "checking whether $CC supports Thumb... " >&6; }
4936 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4937 /* end confdefs.h. */
4938 int ac_test(int i) { return i; }
4942 asm(".thumb\nblx ac_test\n.arm"); if (ac_test(1)) return 1
4947 if ac_fn_c_try_link
"$LINENO"; then :
4948 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4949 $as_echo "yes" >&6; }
4951 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4952 $as_echo "no" >&6; }
4953 as_fn_error $?
"You need a target with Thumb support to build Wine for ARM." "$LINENO" 5
4955 rm -f core conftest.err conftest.
$ac_objext \
4956 conftest
$ac_exeext conftest.
$ac_ext
4957 CFLAGS
="$CFLAGS -marm"
4961 *-mingw32*|
*-cygwin*)
4962 enable_win16
=${enable_win16:-no}
4963 CFLAGS
="$CFLAGS -D_WIN32"
4966 enable_win16
=${enable_win16:-yes}
4970 enable_win16
=${enable_win16:-no}
4971 enable_win64
=${enable_win64:-no}
4973 enable_winetest
=${enable_winetest:-$enable_tests}
4975 if test -n "$with_wine64"
4977 if test "x$enable_win64" = "xyes"
4979 as_fn_error $?
"--enable-win64 and --with-wine64 are mutually exclusive.
4980 --enable-win64 should be used in the 64-bit build tree, --with-wine64 in the 32-bit Wow64 build tree." "$LINENO" 5
4982 enable_fonts
=${enable_fonts:-no}
4983 enable_server
=${enable_server:-no}
4984 elif test "x$enable_win64" = "xyes"
4986 test "x$libdir" != "x\${exec_prefix}/lib" || libdir
="\${exec_prefix}/lib64"
4989 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for the directory containing the Wine tools" >&5
4990 $as_echo_n "checking for the directory containing the Wine tools... " >&6; }
4991 if ${wine_cv_toolsdir+:} false
; then :
4992 $as_echo_n "(cached) " >&6
4994 wine_cv_toolsdir
="$with_wine_tools"
4995 if test -z "$with_wine_tools"; then
4996 if test "$cross_compiling" = "yes"; then
4997 as_fn_error $?
"you must use the --with-wine-tools option when cross-compiling." "$LINENO" 5
4998 elif test -n "$with_wine64"; then
4999 wine_cv_toolsdir
="$with_wine64"
5002 if test -z "$wine_cv_toolsdir"; then
5003 wine_makedep
=tools
/makedep
5004 wine_cv_toolsdir
="\$(top_builddir)"
5005 elif test -d "$wine_cv_toolsdir/tools/winebuild"; then
5006 wine_makedep
=$wine_cv_toolsdir/tools
/makedep
5007 case "$wine_cv_toolsdir" in
5009 *) wine_cv_toolsdir
="\$(top_builddir)/$wine_cv_toolsdir" ;;
5011 enable_tools
=${enable_tools:-no}
5012 test -f "$wine_makedep" || as_fn_error $?
"the Wine tools have not yet been built in $wine_cv_toolsdir" "$LINENO" 5
5014 as_fn_error $?
"could not find Wine tools in $wine_cv_toolsdir" "$LINENO" 5
5017 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_toolsdir" >&5
5018 $as_echo "$wine_cv_toolsdir" >&6; }
5019 TOOLSDIR
=$wine_cv_toolsdir
5021 if test -n "$host_alias" -a "$host_alias" != "$build_alias"
5023 TARGETFLAGS
="-b $host_alias $TARGETFLAGS"
5029 # Extract the first word of "$ac_prog", so it can be a program name with args.
5030 set dummy
$ac_prog; ac_word
=$2
5031 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5032 $as_echo_n "checking for $ac_word... " >&6; }
5033 if ${ac_cv_prog_FLEX+:} false
; then :
5034 $as_echo_n "(cached) " >&6
5036 if test -n "$FLEX"; then
5037 ac_cv_prog_FLEX
="$FLEX" # Let the user override the test.
5039 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5043 test -z "$as_dir" && as_dir
=.
5044 for ac_exec_ext
in '' $ac_executable_extensions; do
5045 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
5046 ac_cv_prog_FLEX
="$ac_prog"
5047 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5056 FLEX
=$ac_cv_prog_FLEX
5057 if test -n "$FLEX"; then
5058 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $FLEX" >&5
5059 $as_echo "$FLEX" >&6; }
5061 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5062 $as_echo "no" >&6; }
5066 test -n "$FLEX" && break
5068 test -n "$FLEX" || FLEX
="none"
5070 if test "$FLEX" = "none"
5072 as_fn_error $?
"no suitable flex found. Please install the 'flex' package." "$LINENO" 5
5074 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether flex is recent enough" >&5
5075 $as_echo_n "checking whether flex is recent enough... " >&6; }
5076 cat >conftest.l
<<EOF
5078 #include "prediluvian.h"
5082 if $FLEX -t conftest.l
>/dev
/null
2>&5
5084 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5085 $as_echo "yes" >&6; }
5087 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5088 $as_echo "no" >&6; }
5089 as_fn_error $?
"Your flex version is too old. Please install flex version 2.5.33 or newer." "$LINENO" 5
5092 for ac_prog
in bison
5094 # Extract the first word of "$ac_prog", so it can be a program name with args.
5095 set dummy
$ac_prog; ac_word
=$2
5096 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5097 $as_echo_n "checking for $ac_word... " >&6; }
5098 if ${ac_cv_prog_BISON+:} false
; then :
5099 $as_echo_n "(cached) " >&6
5101 if test -n "$BISON"; then
5102 ac_cv_prog_BISON
="$BISON" # Let the user override the test.
5104 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5108 test -z "$as_dir" && as_dir
=.
5109 for ac_exec_ext
in '' $ac_executable_extensions; do
5110 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
5111 ac_cv_prog_BISON
="$ac_prog"
5112 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5121 BISON
=$ac_cv_prog_BISON
5122 if test -n "$BISON"; then
5123 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $BISON" >&5
5124 $as_echo "$BISON" >&6; }
5126 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5127 $as_echo "no" >&6; }
5131 test -n "$BISON" && break
5133 test -n "$BISON" || BISON
="none"
5135 if test "$BISON" = "none"
5137 as_fn_error $?
"no suitable bison found. Please install the 'bison' package." "$LINENO" 5
5140 if test -n "$ac_tool_prefix"; then
5141 for ac_prog
in ar gar
5143 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
5144 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
5145 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5146 $as_echo_n "checking for $ac_word... " >&6; }
5147 if ${ac_cv_prog_AR+:} false
; then :
5148 $as_echo_n "(cached) " >&6
5150 if test -n "$AR"; then
5151 ac_cv_prog_AR
="$AR" # Let the user override the test.
5153 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5157 test -z "$as_dir" && as_dir
=.
5158 for ac_exec_ext
in '' $ac_executable_extensions; do
5159 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
5160 ac_cv_prog_AR
="$ac_tool_prefix$ac_prog"
5161 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5171 if test -n "$AR"; then
5172 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
5173 $as_echo "$AR" >&6; }
5175 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5176 $as_echo "no" >&6; }
5180 test -n "$AR" && break
5183 if test -z "$AR"; then
5185 for ac_prog
in ar gar
5187 # Extract the first word of "$ac_prog", so it can be a program name with args.
5188 set dummy
$ac_prog; ac_word
=$2
5189 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5190 $as_echo_n "checking for $ac_word... " >&6; }
5191 if ${ac_cv_prog_ac_ct_AR+:} false
; then :
5192 $as_echo_n "(cached) " >&6
5194 if test -n "$ac_ct_AR"; then
5195 ac_cv_prog_ac_ct_AR
="$ac_ct_AR" # Let the user override the test.
5197 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5201 test -z "$as_dir" && as_dir
=.
5202 for ac_exec_ext
in '' $ac_executable_extensions; do
5203 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
5204 ac_cv_prog_ac_ct_AR
="$ac_prog"
5205 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5214 ac_ct_AR
=$ac_cv_prog_ac_ct_AR
5215 if test -n "$ac_ct_AR"; then
5216 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5
5217 $as_echo "$ac_ct_AR" >&6; }
5219 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5220 $as_echo "no" >&6; }
5224 test -n "$ac_ct_AR" && break
5227 if test "x$ac_ct_AR" = x
; then
5230 case $cross_compiling:$ac_tool_warned in
5232 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5233 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5234 ac_tool_warned
=yes ;;
5240 if test -n "$ac_tool_prefix"; then
5241 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
5242 set dummy
${ac_tool_prefix}strip
; ac_word
=$2
5243 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5244 $as_echo_n "checking for $ac_word... " >&6; }
5245 if ${ac_cv_prog_STRIP+:} false
; then :
5246 $as_echo_n "(cached) " >&6
5248 if test -n "$STRIP"; then
5249 ac_cv_prog_STRIP
="$STRIP" # Let the user override the test.
5251 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5255 test -z "$as_dir" && as_dir
=.
5256 for ac_exec_ext
in '' $ac_executable_extensions; do
5257 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
5258 ac_cv_prog_STRIP
="${ac_tool_prefix}strip"
5259 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5268 STRIP
=$ac_cv_prog_STRIP
5269 if test -n "$STRIP"; then
5270 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
5271 $as_echo "$STRIP" >&6; }
5273 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5274 $as_echo "no" >&6; }
5279 if test -z "$ac_cv_prog_STRIP"; then
5281 # Extract the first word of "strip", so it can be a program name with args.
5282 set dummy strip
; ac_word
=$2
5283 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5284 $as_echo_n "checking for $ac_word... " >&6; }
5285 if ${ac_cv_prog_ac_ct_STRIP+:} false
; then :
5286 $as_echo_n "(cached) " >&6
5288 if test -n "$ac_ct_STRIP"; then
5289 ac_cv_prog_ac_ct_STRIP
="$ac_ct_STRIP" # Let the user override the test.
5291 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5295 test -z "$as_dir" && as_dir
=.
5296 for ac_exec_ext
in '' $ac_executable_extensions; do
5297 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
5298 ac_cv_prog_ac_ct_STRIP
="strip"
5299 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5308 ac_ct_STRIP
=$ac_cv_prog_ac_ct_STRIP
5309 if test -n "$ac_ct_STRIP"; then
5310 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
5311 $as_echo "$ac_ct_STRIP" >&6; }
5313 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5314 $as_echo "no" >&6; }
5317 if test "x$ac_ct_STRIP" = x
; then
5320 case $cross_compiling:$ac_tool_warned in
5322 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5323 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5324 ac_tool_warned
=yes ;;
5329 STRIP
="$ac_cv_prog_STRIP"
5334 if test -n "$ac_tool_prefix"; then
5335 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
5336 set dummy
${ac_tool_prefix}ranlib
; ac_word
=$2
5337 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5338 $as_echo_n "checking for $ac_word... " >&6; }
5339 if ${ac_cv_prog_RANLIB+:} false
; then :
5340 $as_echo_n "(cached) " >&6
5342 if test -n "$RANLIB"; then
5343 ac_cv_prog_RANLIB
="$RANLIB" # Let the user override the test.
5345 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5349 test -z "$as_dir" && as_dir
=.
5350 for ac_exec_ext
in '' $ac_executable_extensions; do
5351 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
5352 ac_cv_prog_RANLIB
="${ac_tool_prefix}ranlib"
5353 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5362 RANLIB
=$ac_cv_prog_RANLIB
5363 if test -n "$RANLIB"; then
5364 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
5365 $as_echo "$RANLIB" >&6; }
5367 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5368 $as_echo "no" >&6; }
5373 if test -z "$ac_cv_prog_RANLIB"; then
5374 ac_ct_RANLIB
=$RANLIB
5375 # Extract the first word of "ranlib", so it can be a program name with args.
5376 set dummy ranlib
; ac_word
=$2
5377 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5378 $as_echo_n "checking for $ac_word... " >&6; }
5379 if ${ac_cv_prog_ac_ct_RANLIB+:} false
; then :
5380 $as_echo_n "(cached) " >&6
5382 if test -n "$ac_ct_RANLIB"; then
5383 ac_cv_prog_ac_ct_RANLIB
="$ac_ct_RANLIB" # Let the user override the test.
5385 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5389 test -z "$as_dir" && as_dir
=.
5390 for ac_exec_ext
in '' $ac_executable_extensions; do
5391 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
5392 ac_cv_prog_ac_ct_RANLIB
="ranlib"
5393 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5402 ac_ct_RANLIB
=$ac_cv_prog_ac_ct_RANLIB
5403 if test -n "$ac_ct_RANLIB"; then
5404 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
5405 $as_echo "$ac_ct_RANLIB" >&6; }
5407 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5408 $as_echo "no" >&6; }
5411 if test "x$ac_ct_RANLIB" = x
; then
5414 case $cross_compiling:$ac_tool_warned in
5416 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5417 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5418 ac_tool_warned
=yes ;;
5420 RANLIB
=$ac_ct_RANLIB
5423 RANLIB
="$ac_cv_prog_RANLIB"
5426 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5
5427 $as_echo_n "checking whether ln -s works... " >&6; }
5429 if test "$LN_S" = "ln -s"; then
5430 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5431 $as_echo "yes" >&6; }
5433 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5
5434 $as_echo "no, using $LN_S" >&6; }
5437 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
5438 $as_echo_n "checking for grep that handles long lines and -e... " >&6; }
5439 if ${ac_cv_path_GREP+:} false
; then :
5440 $as_echo_n "(cached) " >&6
5442 if test -z "$GREP"; then
5443 ac_path_GREP_found
=false
5444 # Loop through the user's path and test for each of PROGNAME-LIST
5445 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5446 for as_dir
in $PATH$PATH_SEPARATOR/usr
/xpg
4/bin
5449 test -z "$as_dir" && as_dir
=.
5450 for ac_prog
in grep ggrep
; do
5451 for ac_exec_ext
in '' $ac_executable_extensions; do
5452 ac_path_GREP
="$as_dir/$ac_prog$ac_exec_ext"
5453 as_fn_executable_p
"$ac_path_GREP" ||
continue
5454 # Check for GNU ac_path_GREP and select it if it is found.
5455 # Check for GNU $ac_path_GREP
5456 case `"$ac_path_GREP" --version 2>&1` in
5458 ac_cv_path_GREP
="$ac_path_GREP" ac_path_GREP_found
=:;;
5461 $as_echo_n 0123456789 >"conftest.in"
5464 cat "conftest.in" "conftest.in" >"conftest.tmp"
5465 mv "conftest.tmp" "conftest.in"
5466 cp "conftest.in" "conftest.nl"
5467 $as_echo 'GREP' >> "conftest.nl"
5468 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev
/null ||
break
5469 diff "conftest.out" "conftest.nl" >/dev
/null
2>&1 ||
break
5470 as_fn_arith
$ac_count + 1 && ac_count
=$as_val
5471 if test $ac_count -gt ${ac_path_GREP_max-0}; then
5472 # Best one so far, save it but keep looking for a better one
5473 ac_cv_path_GREP
="$ac_path_GREP"
5474 ac_path_GREP_max
=$ac_count
5476 # 10*(2^10) chars as input seems more than enough
5477 test $ac_count -gt 10 && break
5479 rm -f conftest.
in conftest.tmp conftest.
nl conftest.out
;;
5482 $ac_path_GREP_found && break 3
5487 if test -z "$ac_cv_path_GREP"; then
5488 as_fn_error $?
"no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
5491 ac_cv_path_GREP
=$GREP
5495 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
5496 $as_echo "$ac_cv_path_GREP" >&6; }
5497 GREP
="$ac_cv_path_GREP"
5500 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
5501 $as_echo_n "checking for egrep... " >&6; }
5502 if ${ac_cv_path_EGREP+:} false
; then :
5503 $as_echo_n "(cached) " >&6
5505 if echo a |
$GREP -E '(a|b)' >/dev
/null
2>&1
5506 then ac_cv_path_EGREP
="$GREP -E"
5508 if test -z "$EGREP"; then
5509 ac_path_EGREP_found
=false
5510 # Loop through the user's path and test for each of PROGNAME-LIST
5511 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5512 for as_dir
in $PATH$PATH_SEPARATOR/usr
/xpg
4/bin
5515 test -z "$as_dir" && as_dir
=.
5516 for ac_prog
in egrep; do
5517 for ac_exec_ext
in '' $ac_executable_extensions; do
5518 ac_path_EGREP
="$as_dir/$ac_prog$ac_exec_ext"
5519 as_fn_executable_p
"$ac_path_EGREP" ||
continue
5520 # Check for GNU ac_path_EGREP and select it if it is found.
5521 # Check for GNU $ac_path_EGREP
5522 case `"$ac_path_EGREP" --version 2>&1` in
5524 ac_cv_path_EGREP
="$ac_path_EGREP" ac_path_EGREP_found
=:;;
5527 $as_echo_n 0123456789 >"conftest.in"
5530 cat "conftest.in" "conftest.in" >"conftest.tmp"
5531 mv "conftest.tmp" "conftest.in"
5532 cp "conftest.in" "conftest.nl"
5533 $as_echo 'EGREP' >> "conftest.nl"
5534 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev
/null ||
break
5535 diff "conftest.out" "conftest.nl" >/dev
/null
2>&1 ||
break
5536 as_fn_arith
$ac_count + 1 && ac_count
=$as_val
5537 if test $ac_count -gt ${ac_path_EGREP_max-0}; then
5538 # Best one so far, save it but keep looking for a better one
5539 ac_cv_path_EGREP
="$ac_path_EGREP"
5540 ac_path_EGREP_max
=$ac_count
5542 # 10*(2^10) chars as input seems more than enough
5543 test $ac_count -gt 10 && break
5545 rm -f conftest.
in conftest.tmp conftest.
nl conftest.out
;;
5548 $ac_path_EGREP_found && break 3
5553 if test -z "$ac_cv_path_EGREP"; then
5554 as_fn_error $?
"no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
5557 ac_cv_path_EGREP
=$EGREP
5562 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
5563 $as_echo "$ac_cv_path_EGREP" >&6; }
5564 EGREP
="$ac_cv_path_EGREP"
5567 # Extract the first word of "ldconfig", so it can be a program name with args.
5568 set dummy ldconfig
; ac_word
=$2
5569 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5570 $as_echo_n "checking for $ac_word... " >&6; }
5571 if ${ac_cv_path_LDCONFIG+:} false
; then :
5572 $as_echo_n "(cached) " >&6
5576 ac_cv_path_LDCONFIG
="$LDCONFIG" # Let the user override the test with a path.
5579 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5580 for as_dir
in /sbin
/usr
/sbin
$PATH
5583 test -z "$as_dir" && as_dir
=.
5584 for ac_exec_ext
in '' $ac_executable_extensions; do
5585 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
5586 ac_cv_path_LDCONFIG
="$as_dir/$ac_word$ac_exec_ext"
5587 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5594 test -z "$ac_cv_path_LDCONFIG" && ac_cv_path_LDCONFIG
="true"
5598 LDCONFIG
=$ac_cv_path_LDCONFIG
5599 if test -n "$LDCONFIG"; then
5600 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LDCONFIG" >&5
5601 $as_echo "$LDCONFIG" >&6; }
5603 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5604 $as_echo "no" >&6; }
5608 for ac_prog
in msgfmt
5610 # Extract the first word of "$ac_prog", so it can be a program name with args.
5611 set dummy
$ac_prog; ac_word
=$2
5612 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5613 $as_echo_n "checking for $ac_word... " >&6; }
5614 if ${ac_cv_prog_MSGFMT+:} false
; then :
5615 $as_echo_n "(cached) " >&6
5617 if test -n "$MSGFMT"; then
5618 ac_cv_prog_MSGFMT
="$MSGFMT" # Let the user override the test.
5620 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5624 test -z "$as_dir" && as_dir
=.
5625 for ac_exec_ext
in '' $ac_executable_extensions; do
5626 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
5627 ac_cv_prog_MSGFMT
="$ac_prog"
5628 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5637 MSGFMT
=$ac_cv_prog_MSGFMT
5638 if test -n "$MSGFMT"; then
5639 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MSGFMT" >&5
5640 $as_echo "$MSGFMT" >&6; }
5642 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5643 $as_echo "no" >&6; }
5647 test -n "$MSGFMT" && break
5649 test -n "$MSGFMT" || MSGFMT
="false"
5651 if ${ac_tool_prefix+:} false
; then :
5652 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
5653 set dummy
${ac_tool_prefix}pkg-config
; ac_word
=$2
5654 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5655 $as_echo_n "checking for $ac_word... " >&6; }
5656 if ${ac_cv_prog_PKG_CONFIG+:} false
; then :
5657 $as_echo_n "(cached) " >&6
5659 if test -n "$PKG_CONFIG"; then
5660 ac_cv_prog_PKG_CONFIG
="$PKG_CONFIG" # Let the user override the test.
5662 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5666 test -z "$as_dir" && as_dir
=.
5667 for ac_exec_ext
in '' $ac_executable_extensions; do
5668 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
5669 ac_cv_prog_PKG_CONFIG
="${ac_tool_prefix}pkg-config"
5670 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5679 PKG_CONFIG
=$ac_cv_prog_PKG_CONFIG
5680 if test -n "$PKG_CONFIG"; then
5681 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
5682 $as_echo "$PKG_CONFIG" >&6; }
5684 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5685 $as_echo "no" >&6; }
5690 if ${ac_cv_prog_PKG_CONFIG:+false} :; then :
5691 if test "x$cross_compiling" = xyes
; then :
5694 { ac_cv_prog_PKG_CONFIG
=; unset ac_cv_prog_PKG_CONFIG
;}
5695 # Extract the first word of "pkg-config", so it can be a program name with args.
5696 set dummy pkg-config
; ac_word
=$2
5697 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5698 $as_echo_n "checking for $ac_word... " >&6; }
5699 if ${ac_cv_prog_PKG_CONFIG+:} false
; then :
5700 $as_echo_n "(cached) " >&6
5702 if test -n "$PKG_CONFIG"; then
5703 ac_cv_prog_PKG_CONFIG
="$PKG_CONFIG" # Let the user override the test.
5705 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5709 test -z "$as_dir" && as_dir
=.
5710 for ac_exec_ext
in '' $ac_executable_extensions; do
5711 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
5712 ac_cv_prog_PKG_CONFIG
="pkg-config"
5713 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5722 PKG_CONFIG
=$ac_cv_prog_PKG_CONFIG
5723 if test -n "$PKG_CONFIG"; then
5724 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
5725 $as_echo "$PKG_CONFIG" >&6; }
5727 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5728 $as_echo "no" >&6; }
5734 PKG_CONFIG
=$ac_cv_prog_PKG_CONFIG
5737 if test "x$enable_maintainer_mode" != "xyes"
5744 test "$srcdir" = . || as_fn_error $?
"Maintainer mode cannot work out of tree." "$LINENO" 5
5745 for ac_prog
in fontforge
5747 # Extract the first word of "$ac_prog", so it can be a program name with args.
5748 set dummy
$ac_prog; ac_word
=$2
5749 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5750 $as_echo_n "checking for $ac_word... " >&6; }
5751 if ${ac_cv_prog_FONTFORGE+:} false
; then :
5752 $as_echo_n "(cached) " >&6
5754 if test -n "$FONTFORGE"; then
5755 ac_cv_prog_FONTFORGE
="$FONTFORGE" # Let the user override the test.
5757 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5761 test -z "$as_dir" && as_dir
=.
5762 for ac_exec_ext
in '' $ac_executable_extensions; do
5763 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
5764 ac_cv_prog_FONTFORGE
="$ac_prog"
5765 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5774 FONTFORGE
=$ac_cv_prog_FONTFORGE
5775 if test -n "$FONTFORGE"; then
5776 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $FONTFORGE" >&5
5777 $as_echo "$FONTFORGE" >&6; }
5779 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5780 $as_echo "no" >&6; }
5784 test -n "$FONTFORGE" && break
5786 test -n "$FONTFORGE" || FONTFORGE
="false"
5788 for ac_prog
in rsvg-convert rsvg
5790 # Extract the first word of "$ac_prog", so it can be a program name with args.
5791 set dummy
$ac_prog; ac_word
=$2
5792 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5793 $as_echo_n "checking for $ac_word... " >&6; }
5794 if ${ac_cv_prog_RSVG+:} false
; then :
5795 $as_echo_n "(cached) " >&6
5797 if test -n "$RSVG"; then
5798 ac_cv_prog_RSVG
="$RSVG" # Let the user override the test.
5800 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5804 test -z "$as_dir" && as_dir
=.
5805 for ac_exec_ext
in '' $ac_executable_extensions; do
5806 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
5807 ac_cv_prog_RSVG
="$ac_prog"
5808 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5817 RSVG
=$ac_cv_prog_RSVG
5818 if test -n "$RSVG"; then
5819 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RSVG" >&5
5820 $as_echo "$RSVG" >&6; }
5822 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5823 $as_echo "no" >&6; }
5827 test -n "$RSVG" && break
5829 test -n "$RSVG" || RSVG
="false"
5831 for ac_prog
in convert
5833 # Extract the first word of "$ac_prog", so it can be a program name with args.
5834 set dummy
$ac_prog; ac_word
=$2
5835 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5836 $as_echo_n "checking for $ac_word... " >&6; }
5837 if ${ac_cv_prog_CONVERT+:} false
; then :
5838 $as_echo_n "(cached) " >&6
5840 if test -n "$CONVERT"; then
5841 ac_cv_prog_CONVERT
="$CONVERT" # Let the user override the test.
5843 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5847 test -z "$as_dir" && as_dir
=.
5848 for ac_exec_ext
in '' $ac_executable_extensions; do
5849 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
5850 ac_cv_prog_CONVERT
="$ac_prog"
5851 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5860 CONVERT
=$ac_cv_prog_CONVERT
5861 if test -n "$CONVERT"; then
5862 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CONVERT" >&5
5863 $as_echo "$CONVERT" >&6; }
5865 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5866 $as_echo "no" >&6; }
5870 test -n "$CONVERT" && break
5872 test -n "$CONVERT" || CONVERT
="false"
5874 for ac_prog
in icotool
5876 # Extract the first word of "$ac_prog", so it can be a program name with args.
5877 set dummy
$ac_prog; ac_word
=$2
5878 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5879 $as_echo_n "checking for $ac_word... " >&6; }
5880 if ${ac_cv_prog_ICOTOOL+:} false
; then :
5881 $as_echo_n "(cached) " >&6
5883 if test -n "$ICOTOOL"; then
5884 ac_cv_prog_ICOTOOL
="$ICOTOOL" # Let the user override the test.
5886 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5890 test -z "$as_dir" && as_dir
=.
5891 for ac_exec_ext
in '' $ac_executable_extensions; do
5892 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
5893 ac_cv_prog_ICOTOOL
="$ac_prog"
5894 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5903 ICOTOOL
=$ac_cv_prog_ICOTOOL
5904 if test -n "$ICOTOOL"; then
5905 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ICOTOOL" >&5
5906 $as_echo "$ICOTOOL" >&6; }
5908 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5909 $as_echo "no" >&6; }
5913 test -n "$ICOTOOL" && break
5915 test -n "$ICOTOOL" || ICOTOOL
="false"
5917 test "$FONTFORGE" != "false" || as_fn_error $?
"You need fontforge to rebuild fonts in maintainer mode." "$LINENO" 5
5918 test "$RSVG" != "false" || as_fn_error $?
"You need rsvg to rebuild icons in maintainer mode." "$LINENO" 5
5920 if test "$CONVERT" = false
5922 as_fn_error $?
"You need imagemagick to rebuild icons in maintainer mode." "$LINENO" 5
5924 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for recent enough imagemagick" >&5
5925 $as_echo_n "checking for recent enough imagemagick... " >&6; }
5926 convert_version
=`convert --version | head -n1`
5927 if test "x$convert_version" != "x"
5929 convert_version_major
=`expr "$convert_version" : '.* \([0-9]*\)\.[0-9]*'`
5930 convert_version_minor
=`expr "$convert_version" : '.* [0-9]*\.\([0-9]*\)'`
5931 if test "$convert_version_major" -eq 6 -a "$convert_version_minor" -lt 6
5936 if test "$CONVERT" = false
5938 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no ($convert_version_major.$convert_version_minor)" >&5
5939 $as_echo "no ($convert_version_major.$convert_version_minor)" >&6; }
5940 as_fn_error $?
"You need imagemagick version 6.6 or newer to rebuild icons in maintainer mode." "$LINENO" 5
5942 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes ($convert_version_major.$convert_version_minor)" >&5
5943 $as_echo "yes ($convert_version_major.$convert_version_minor)" >&6; }
5947 if test "$ICOTOOL" = false
5949 as_fn_error $?
"You need icotool to rebuild icons in maintainer mode." "$LINENO" 5
5951 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for recent enough icotool" >&5
5952 $as_echo_n "checking for recent enough icotool... " >&6; }
5953 icotool_version
=`icotool --version | head -n1`
5954 if test "x$icotool_version" != "x"
5956 icotool_version_major
=`expr "$icotool_version" : '.* \([0-9]*\)\.[0-9]*'`
5957 icotool_version_minor
=`expr "$icotool_version" : '.* [0-9]*\.\([0-9]*\)'`
5958 if test "$icotool_version_major" -eq 0 -a "$icotool_version_minor" -lt 29
5961 as_fn_append wine_warnings
"|icotool version 0.29.0 or newer is needed to rebuild icons."
5964 if test "$ICOTOOL" = false
5966 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no ($icotool_version_major.$icotool_version_minor)" >&5
5967 $as_echo "no ($icotool_version_major.$icotool_version_minor)" >&6; }
5968 as_fn_error $?
"You need icotool version 0.29.0 or newer to rebuild icons in maintainer mode." "$LINENO" 5
5970 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes ($icotool_version_major.$icotool_version_minor)" >&5
5971 $as_echo "yes ($icotool_version_major.$icotool_version_minor)" >&6; }
5977 { ac_cv_header_gettext_po_h
=; unset ac_cv_header_gettext_po_h
;}
5980 test "x$with_gettext" != xno || MSGFMT
=false
5981 if test "$MSGFMT" != "false"
5983 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether msgfmt supports contexts" >&5
5984 $as_echo_n "checking whether msgfmt supports contexts... " >&6; }
5985 cat >conftest.po
<<EOF
5991 if $MSGFMT -o /dev
/null conftest.po
2>&5
5993 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5994 $as_echo "yes" >&6; }
5996 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5997 $as_echo "no" >&6; }
6001 if test "$MSGFMT" = false
; then :
6002 case "x$with_gettext" in
6003 x
) as_fn_append wine_warnings
"|gettext tools not found (or too old), translations won't be built." ;;
6005 *) as_fn_error $?
"gettext tools not found (or too old), translations won't be built.
6006 This is an error since --with-gettext was requested." "$LINENO" 5 ;;
6011 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for i386_set_ldt in -li386" >&5
6012 $as_echo_n "checking for i386_set_ldt in -li386... " >&6; }
6013 if ${ac_cv_lib_i386_i386_set_ldt+:} false
; then :
6014 $as_echo_n "(cached) " >&6
6016 ac_check_lib_save_LIBS
=$LIBS
6018 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6019 /* end confdefs.h. */
6021 /* Override any GCC internal prototype to avoid an error.
6022 Use char because int might match the return type of a GCC
6023 builtin and then its argument prototype would still apply. */
6027 char i386_set_ldt ();
6031 return i386_set_ldt ();
6036 if ac_fn_c_try_link
"$LINENO"; then :
6037 ac_cv_lib_i386_i386_set_ldt
=yes
6039 ac_cv_lib_i386_i386_set_ldt
=no
6041 rm -f core conftest.err conftest.
$ac_objext \
6042 conftest
$ac_exeext conftest.
$ac_ext
6043 LIBS
=$ac_check_lib_save_LIBS
6045 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_i386_i386_set_ldt" >&5
6046 $as_echo "$ac_cv_lib_i386_i386_set_ldt" >&6; }
6047 if test "x$ac_cv_lib_i386_i386_set_ldt" = xyes
; then :
6048 cat >>confdefs.h
<<_ACEOF
6049 #define HAVE_LIBI386 1
6056 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _oss_ioctl in -lossaudio" >&5
6057 $as_echo_n "checking for _oss_ioctl in -lossaudio... " >&6; }
6058 if ${ac_cv_lib_ossaudio__oss_ioctl+:} false
; then :
6059 $as_echo_n "(cached) " >&6
6061 ac_check_lib_save_LIBS
=$LIBS
6062 LIBS
="-lossaudio $LIBS"
6063 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6064 /* end confdefs.h. */
6066 /* Override any GCC internal prototype to avoid an error.
6067 Use char because int might match the return type of a GCC
6068 builtin and then its argument prototype would still apply. */
6076 return _oss_ioctl ();
6081 if ac_fn_c_try_link
"$LINENO"; then :
6082 ac_cv_lib_ossaudio__oss_ioctl
=yes
6084 ac_cv_lib_ossaudio__oss_ioctl
=no
6086 rm -f core conftest.err conftest.
$ac_objext \
6087 conftest
$ac_exeext conftest.
$ac_ext
6088 LIBS
=$ac_check_lib_save_LIBS
6090 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ossaudio__oss_ioctl" >&5
6091 $as_echo "$ac_cv_lib_ossaudio__oss_ioctl" >&6; }
6092 if test "x$ac_cv_lib_ossaudio__oss_ioctl" = xyes
; then :
6093 cat >>confdefs.h
<<_ACEOF
6094 #define HAVE_LIBOSSAUDIO 1
6097 LIBS
="-lossaudio $LIBS"
6106 # Check whether --enable-largefile was given.
6107 if test "${enable_largefile+set}" = set; then :
6108 enableval
=$enable_largefile;
6111 if test "$enable_largefile" != no
; then
6113 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for special C compiler options needed for large files" >&5
6114 $as_echo_n "checking for special C compiler options needed for large files... " >&6; }
6115 if ${ac_cv_sys_largefile_CC+:} false
; then :
6116 $as_echo_n "(cached) " >&6
6118 ac_cv_sys_largefile_CC
=no
6119 if test "$GCC" != yes; then
6122 # IRIX 6.2 and later do not support large files by default,
6123 # so use the C compiler's -n32 option if that helps.
6124 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6125 /* end confdefs.h. */
6126 #include <sys/types.h>
6127 /* Check that off_t can represent 2**63 - 1 correctly.
6128 We can't simply define LARGE_OFF_T to be 9223372036854775807,
6129 since some C++ compilers masquerading as C compilers
6130 incorrectly reject 9223372036854775807. */
6131 #define LARGE_OFF_T ((((off_t) 1 << 31) << 31) - 1 + (((off_t) 1 << 31) << 31))
6132 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
6133 && LARGE_OFF_T % 2147483647 == 1)
6143 if ac_fn_c_try_compile
"$LINENO"; then :
6146 rm -f core conftest.err conftest.
$ac_objext
6148 if ac_fn_c_try_compile
"$LINENO"; then :
6149 ac_cv_sys_largefile_CC
=' -n32'; break
6151 rm -f core conftest.err conftest.
$ac_objext
6155 rm -f conftest.
$ac_ext
6158 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_largefile_CC" >&5
6159 $as_echo "$ac_cv_sys_largefile_CC" >&6; }
6160 if test "$ac_cv_sys_largefile_CC" != no
; then
6161 CC
=$CC$ac_cv_sys_largefile_CC
6164 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _FILE_OFFSET_BITS value needed for large files" >&5
6165 $as_echo_n "checking for _FILE_OFFSET_BITS value needed for large files... " >&6; }
6166 if ${ac_cv_sys_file_offset_bits+:} false
; then :
6167 $as_echo_n "(cached) " >&6
6170 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6171 /* end confdefs.h. */
6172 #include <sys/types.h>
6173 /* Check that off_t can represent 2**63 - 1 correctly.
6174 We can't simply define LARGE_OFF_T to be 9223372036854775807,
6175 since some C++ compilers masquerading as C compilers
6176 incorrectly reject 9223372036854775807. */
6177 #define LARGE_OFF_T ((((off_t) 1 << 31) << 31) - 1 + (((off_t) 1 << 31) << 31))
6178 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
6179 && LARGE_OFF_T % 2147483647 == 1)
6189 if ac_fn_c_try_compile
"$LINENO"; then :
6190 ac_cv_sys_file_offset_bits
=no
; break
6192 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
6193 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6194 /* end confdefs.h. */
6195 #define _FILE_OFFSET_BITS 64
6196 #include <sys/types.h>
6197 /* Check that off_t can represent 2**63 - 1 correctly.
6198 We can't simply define LARGE_OFF_T to be 9223372036854775807,
6199 since some C++ compilers masquerading as C compilers
6200 incorrectly reject 9223372036854775807. */
6201 #define LARGE_OFF_T ((((off_t) 1 << 31) << 31) - 1 + (((off_t) 1 << 31) << 31))
6202 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
6203 && LARGE_OFF_T % 2147483647 == 1)
6213 if ac_fn_c_try_compile
"$LINENO"; then :
6214 ac_cv_sys_file_offset_bits
=64; break
6216 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
6217 ac_cv_sys_file_offset_bits
=unknown
6221 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_file_offset_bits" >&5
6222 $as_echo "$ac_cv_sys_file_offset_bits" >&6; }
6223 case $ac_cv_sys_file_offset_bits in #(
6226 cat >>confdefs.h
<<_ACEOF
6227 #define _FILE_OFFSET_BITS $ac_cv_sys_file_offset_bits
6232 if test $ac_cv_sys_file_offset_bits = unknown
; then
6233 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _LARGE_FILES value needed for large files" >&5
6234 $as_echo_n "checking for _LARGE_FILES value needed for large files... " >&6; }
6235 if ${ac_cv_sys_large_files+:} false
; then :
6236 $as_echo_n "(cached) " >&6
6239 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6240 /* end confdefs.h. */
6241 #include <sys/types.h>
6242 /* Check that off_t can represent 2**63 - 1 correctly.
6243 We can't simply define LARGE_OFF_T to be 9223372036854775807,
6244 since some C++ compilers masquerading as C compilers
6245 incorrectly reject 9223372036854775807. */
6246 #define LARGE_OFF_T ((((off_t) 1 << 31) << 31) - 1 + (((off_t) 1 << 31) << 31))
6247 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
6248 && LARGE_OFF_T % 2147483647 == 1)
6258 if ac_fn_c_try_compile
"$LINENO"; then :
6259 ac_cv_sys_large_files
=no
; break
6261 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
6262 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6263 /* end confdefs.h. */
6264 #define _LARGE_FILES 1
6265 #include <sys/types.h>
6266 /* Check that off_t can represent 2**63 - 1 correctly.
6267 We can't simply define LARGE_OFF_T to be 9223372036854775807,
6268 since some C++ compilers masquerading as C compilers
6269 incorrectly reject 9223372036854775807. */
6270 #define LARGE_OFF_T ((((off_t) 1 << 31) << 31) - 1 + (((off_t) 1 << 31) << 31))
6271 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
6272 && LARGE_OFF_T % 2147483647 == 1)
6282 if ac_fn_c_try_compile
"$LINENO"; then :
6283 ac_cv_sys_large_files
=1; break
6285 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
6286 ac_cv_sys_large_files
=unknown
6290 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_large_files" >&5
6291 $as_echo "$ac_cv_sys_large_files" >&6; }
6292 case $ac_cv_sys_large_files in #(
6295 cat >>confdefs.h
<<_ACEOF
6296 #define _LARGE_FILES $ac_cv_sys_large_files
6308 ac_cpp
='$CPP $CPPFLAGS'
6309 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6310 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6311 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
6312 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
6313 $as_echo_n "checking how to run the C preprocessor... " >&6; }
6314 # On Suns, sometimes $CPP names a directory.
6315 if test -n "$CPP" && test -d "$CPP"; then
6318 if test -z "$CPP"; then
6319 if ${ac_cv_prog_CPP+:} false
; then :
6320 $as_echo_n "(cached) " >&6
6322 # Double quotes because CPP needs to be expanded
6323 for CPP
in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
6326 for ac_c_preproc_warn_flag
in '' yes
6328 # Use a header file that comes with gcc, so configuring glibc
6329 # with a fresh cross-compiler works.
6330 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
6331 # <limits.h> exists even on freestanding compilers.
6332 # On the NeXT, cc -E runs the code through the compiler's parser,
6333 # not just through cpp. "Syntax error" is here to catch this case.
6334 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6335 /* end confdefs.h. */
6337 # include <limits.h>
6339 # include <assert.h>
6343 if ac_fn_c_try_cpp
"$LINENO"; then :
6346 # Broken: fails on valid input.
6349 rm -f conftest.err conftest.i conftest.
$ac_ext
6351 # OK, works on sane cases. Now check whether nonexistent headers
6352 # can be detected and how.
6353 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6354 /* end confdefs.h. */
6355 #include <ac_nonexistent.h>
6357 if ac_fn_c_try_cpp
"$LINENO"; then :
6358 # Broken: success on invalid input.
6361 # Passes both tests.
6365 rm -f conftest.err conftest.i conftest.
$ac_ext
6368 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
6369 rm -f conftest.i conftest.err conftest.
$ac_ext
6370 if $ac_preproc_ok; then :
6382 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
6383 $as_echo "$CPP" >&6; }
6385 for ac_c_preproc_warn_flag
in '' yes
6387 # Use a header file that comes with gcc, so configuring glibc
6388 # with a fresh cross-compiler works.
6389 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
6390 # <limits.h> exists even on freestanding compilers.
6391 # On the NeXT, cc -E runs the code through the compiler's parser,
6392 # not just through cpp. "Syntax error" is here to catch this case.
6393 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6394 /* end confdefs.h. */
6396 # include <limits.h>
6398 # include <assert.h>
6402 if ac_fn_c_try_cpp
"$LINENO"; then :
6405 # Broken: fails on valid input.
6408 rm -f conftest.err conftest.i conftest.
$ac_ext
6410 # OK, works on sane cases. Now check whether nonexistent headers
6411 # can be detected and how.
6412 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6413 /* end confdefs.h. */
6414 #include <ac_nonexistent.h>
6416 if ac_fn_c_try_cpp
"$LINENO"; then :
6417 # Broken: success on invalid input.
6420 # Passes both tests.
6424 rm -f conftest.err conftest.i conftest.
$ac_ext
6427 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
6428 rm -f conftest.i conftest.err conftest.
$ac_ext
6429 if $ac_preproc_ok; then :
6432 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
6433 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
6434 as_fn_error $?
"C preprocessor \"$CPP\" fails sanity check
6435 See \`config.log' for more details" "$LINENO" 5; }
6439 ac_cpp
='$CPP $CPPFLAGS'
6440 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6441 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6442 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
6445 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
6446 $as_echo_n "checking for ANSI C header files... " >&6; }
6447 if ${ac_cv_header_stdc+:} false
; then :
6448 $as_echo_n "(cached) " >&6
6450 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6451 /* end confdefs.h. */
6465 if ac_fn_c_try_compile
"$LINENO"; then :
6466 ac_cv_header_stdc
=yes
6468 ac_cv_header_stdc
=no
6470 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
6472 if test $ac_cv_header_stdc = yes; then
6473 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
6474 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6475 /* end confdefs.h. */
6479 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
6480 $EGREP "memchr" >/dev
/null
2>&1; then :
6483 ac_cv_header_stdc
=no
6489 if test $ac_cv_header_stdc = yes; then
6490 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
6491 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6492 /* end confdefs.h. */
6496 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
6497 $EGREP "free" >/dev
/null
2>&1; then :
6500 ac_cv_header_stdc
=no
6506 if test $ac_cv_header_stdc = yes; then
6507 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
6508 if test "$cross_compiling" = yes; then :
6511 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6512 /* end confdefs.h. */
6515 #if ((' ' & 0x0FF) == 0x020)
6516 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
6517 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
6519 # define ISLOWER(c) \
6520 (('a' <= (c) && (c) <= 'i') \
6521 || ('j' <= (c) && (c) <= 'r') \
6522 || ('s' <= (c) && (c) <= 'z'))
6523 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
6526 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
6531 for (i = 0; i < 256; i++)
6532 if (XOR (islower (i), ISLOWER (i))
6533 || toupper (i) != TOUPPER (i))
6538 if ac_fn_c_try_run
"$LINENO"; then :
6541 ac_cv_header_stdc
=no
6543 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext \
6544 conftest.
$ac_objext conftest.beam conftest.
$ac_ext
6549 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
6550 $as_echo "$ac_cv_header_stdc" >&6; }
6551 if test $ac_cv_header_stdc = yes; then
6553 $as_echo "#define STDC_HEADERS 1" >>confdefs.h
6557 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
6558 for ac_header
in sys
/types.h sys
/stat.h stdlib.h string.h memory.h
strings.h \
6559 inttypes.h stdint.h unistd.h
6561 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
6562 ac_fn_c_check_header_compile
"$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
6564 if eval test \"x\$
"$as_ac_Header"\" = x
"yes"; then :
6565 cat >>confdefs.h
<<_ACEOF
6566 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
6576 ApplicationServices
/ApplicationServices.h \
6577 AudioToolbox
/AudioConverter.h \
6578 AudioUnit
/AudioUnit.h \
6579 AudioUnit
/AudioComponent.h \
6582 CoreAudio
/CoreAudio.h \
6583 CoreServices
/CoreServices.h \
6584 DiskArbitration
/DiskArbitration.h \
6586 IOKit
/hid
/IOHIDLib.h \
6589 QuickTime
/ImageCompression.h \
6590 Security
/Security.h \
6641 netinet
/in_systm.h \
6703 valgrind
/memcheck.h \
6704 valgrind
/valgrind.h \
6708 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
6709 ac_fn_c_check_header_mongrel
"$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
6710 if eval test \"x\$
"$as_ac_Header"\" = x
"yes"; then :
6711 cat >>confdefs.h
<<_ACEOF
6712 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
6719 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether stat file-mode macros are broken" >&5
6720 $as_echo_n "checking whether stat file-mode macros are broken... " >&6; }
6721 if ${ac_cv_header_stat_broken+:} false
; then :
6722 $as_echo_n "(cached) " >&6
6724 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6725 /* end confdefs.h. */
6726 #include <sys/types.h>
6727 #include <sys/stat.h>
6729 #if defined S_ISBLK && defined S_IFDIR
6730 extern char c1[S_ISBLK (S_IFDIR) ? -1 : 1];
6733 #if defined S_ISBLK && defined S_IFCHR
6734 extern char c2[S_ISBLK (S_IFCHR) ? -1 : 1];
6737 #if defined S_ISLNK && defined S_IFREG
6738 extern char c3[S_ISLNK (S_IFREG) ? -1 : 1];
6741 #if defined S_ISSOCK && defined S_IFREG
6742 extern char c4[S_ISSOCK (S_IFREG) ? -1 : 1];
6746 if ac_fn_c_try_compile
"$LINENO"; then :
6747 ac_cv_header_stat_broken
=no
6749 ac_cv_header_stat_broken
=yes
6751 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
6753 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stat_broken" >&5
6754 $as_echo "$ac_cv_header_stat_broken" >&6; }
6755 if test $ac_cv_header_stat_broken = yes; then
6757 $as_echo "#define STAT_MACROS_BROKEN 1" >>confdefs.h
6763 for ac_header
in sys
/mount.h sys
/statfs.h sys
/sysctl.h sys
/user.h sys
/vfs.h
6765 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
6766 ac_fn_c_check_header_compile
"$LINENO" "$ac_header" "$as_ac_Header" "#include <sys/types.h>
6767 #ifdef HAVE_SYS_PARAM_H
6768 # include <sys/param.h>
6771 if eval test \"x\$
"$as_ac_Header"\" = x
"yes"; then :
6772 cat >>confdefs.h
<<_ACEOF
6773 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
6788 netinet
/if_ether.h \
6789 netinet
/if_inarp.h \
6798 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
6799 ac_fn_c_check_header_compile
"$LINENO" "$ac_header" "$as_ac_Header" "#include <sys/types.h>
6800 #ifdef HAVE_SYS_SOCKET_H
6801 # include <sys/socket.h>
6803 #ifdef HAVE_SYS_SOCKETVAR_H
6804 # include <sys/socketvar.h>
6806 #ifdef HAVE_NET_ROUTE_H
6807 # include <net/route.h>
6809 #ifdef HAVE_NETINET_IN_H
6810 # include <netinet/in.h>
6812 #ifdef HAVE_NETINET_IN_SYSTM_H
6813 # include <netinet/in_systm.h>
6815 #ifdef HAVE_NET_IF_H
6816 # include <net/if.h>
6818 #ifdef HAVE_NETINET_IP_H
6819 # include <netinet/ip.h>
6822 if eval test \"x\$
"$as_ac_Header"\" = x
"yes"; then :
6823 cat >>confdefs.h
<<_ACEOF
6824 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
6832 for ac_header
in netinet
/tcp_timer.h netinet
/udp_var.h netinet
/icmp_var.h netinet
/tcp_var.h
6834 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
6835 ac_fn_c_check_header_compile
"$LINENO" "$ac_header" "$as_ac_Header" "#include <sys/types.h>
6839 #ifdef HAVE_SYS_SOCKET_H
6840 # include <sys/socket.h>
6842 #ifdef HAVE_SYS_SOCKETVAR_H
6843 # include <sys/socketvar.h>
6845 #ifdef HAVE_SYS_TIMEOUT_H
6846 # include <sys/timeout.h>
6848 #ifdef HAVE_NETINET_IN_H
6849 # include <netinet/in.h>
6851 #ifdef HAVE_NETINET_IN_SYSTM_H
6852 # include <netinet/in_systm.h>
6854 #ifdef HAVE_NETINET_IP_H
6855 # include <netinet/ip.h>
6857 #ifdef HAVE_NETINET_IP_VAR_H
6858 # include <netinet/ip_var.h>
6860 #ifdef HAVE_NETINET_IP_ICMP_H
6861 # include <netinet/ip_icmp.h>
6863 #ifdef HAVE_NETINET_UDP_H
6864 # include <netinet/udp.h>
6866 #ifdef HAVE_NETINET_TCP_H
6867 # include <netinet/tcp.h>
6869 #ifdef HAVE_NETINET_TCP_TIMER_H
6870 #include <netinet/tcp_timer.h>
6873 if eval test \"x\$
"$as_ac_Header"\" = x
"yes"; then :
6874 cat >>confdefs.h
<<_ACEOF
6875 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
6883 for ac_header
in linux
/ipx.h linux
/irda.h linux
/rtnetlink.h
6885 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
6886 ac_fn_c_check_header_compile
"$LINENO" "$ac_header" "$as_ac_Header" "#include <sys/types.h>
6887 #ifdef HAVE_ASM_TYPES_H
6888 # include <asm/types.h>
6890 #ifdef HAVE_SYS_SOCKET_H
6891 # include <sys/socket.h>
6893 #ifdef HAVE_LINUX_TYPES_H
6894 # include <linux/types.h>
6897 if eval test \"x\$
"$as_ac_Header"\" = x
"yes"; then :
6898 cat >>confdefs.h
<<_ACEOF
6899 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
6907 for ac_header
in mach-o
/dyld_images.h
6909 ac_fn_c_check_header_compile
"$LINENO" "mach-o/dyld_images.h" "ac_cv_header_mach_o_dyld_images_h" "#ifdef HAVE_STDBOOL_H
6910 # include <stdbool.h>
6912 #ifdef HAVE_STDINT_H
6913 # include <stdint.h>
6916 if test "x$ac_cv_header_mach_o_dyld_images_h" = xyes
; then :
6917 cat >>confdefs.h
<<_ACEOF
6918 #define HAVE_MACH_O_DYLD_IMAGES_H 1
6926 for ac_header
in resolv.h
6928 ac_fn_c_check_header_compile
"$LINENO" "resolv.h" "ac_cv_header_resolv_h" "#include <sys/types.h>
6929 #ifdef HAVE_SYS_SOCKET_H
6930 # include <sys/socket.h>
6932 #ifdef HAVE_NETINET_IN_H
6933 # include <netinet/in.h>
6935 #ifdef HAVE_ARPA_NAMESER_H
6936 # include <arpa/nameser.h>
6939 if test "x$ac_cv_header_resolv_h" = xyes
; then :
6940 cat >>confdefs.h
<<_ACEOF
6941 #define HAVE_RESOLV_H 1
6949 for ac_header
in ifaddrs.h
6951 ac_fn_c_check_header_compile
"$LINENO" "ifaddrs.h" "ac_cv_header_ifaddrs_h" "#include <sys/types.h>
6953 if test "x$ac_cv_header_ifaddrs_h" = xyes
; then :
6954 cat >>confdefs.h
<<_ACEOF
6955 #define HAVE_IFADDRS_H 1
6963 for ac_header
in sys
/ucontext.h
6965 ac_fn_c_check_header_compile
"$LINENO" "sys/ucontext.h" "ac_cv_header_sys_ucontext_h" "#include <signal.h>
6967 if test "x$ac_cv_header_sys_ucontext_h" = xyes
; then :
6968 cat >>confdefs.h
<<_ACEOF
6969 #define HAVE_SYS_UCONTEXT_H 1
6977 for ac_header
in sys
/thr.h
6979 ac_fn_c_check_header_compile
"$LINENO" "sys/thr.h" "ac_cv_header_sys_thr_h" "#include <sys/types.h>
6980 #ifdef HAVE_SYS_UCONTEXT_H
6981 #include <sys/ucontext.h>
6984 if test "x$ac_cv_header_sys_thr_h" = xyes
; then :
6985 cat >>confdefs.h
<<_ACEOF
6986 #define HAVE_SYS_THR_H 1
6994 for ac_header
in pthread_np.h
6996 ac_fn_c_check_header_compile
"$LINENO" "pthread_np.h" "ac_cv_header_pthread_np_h" "#ifdef HAVE_PTHREAD_H
6997 #include <pthread.h>
7000 if test "x$ac_cv_header_pthread_np_h" = xyes
; then :
7001 cat >>confdefs.h
<<_ACEOF
7002 #define HAVE_PTHREAD_NP_H 1
7010 for ac_header
in linux
/videodev.h linux
/videodev2.h libv4l1.h
7012 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
7013 ac_fn_c_check_header_compile
"$LINENO" "$ac_header" "$as_ac_Header" "#ifdef HAVE_SYS_TIME_H
7014 #include <sys/time.h>
7016 #include <sys/types.h>
7017 #ifdef HAVE_ASM_TYPES_H
7018 #include <asm/types.h>
7021 if eval test \"x\$
"$as_ac_Header"\" = x
"yes"; then :
7022 cat >>confdefs.h
<<_ACEOF
7023 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
7031 for ac_header
in libprocstat.h
7033 ac_fn_c_check_header_compile
"$LINENO" "libprocstat.h" "ac_cv_header_libprocstat_h" "#ifdef HAVE_SYS_PARAM_H
7034 #include <sys/param.h>
7036 #ifdef HAVE_SYS_QUEUE_H
7037 #include <sys/queue.h>
7039 #ifdef HAVE_SYS_SOCKET_H
7040 #include <sys/socket.h>
7043 if test "x$ac_cv_header_libprocstat_h" = xyes
; then :
7044 cat >>confdefs.h
<<_ACEOF
7045 #define HAVE_LIBPROCSTAT_H 1
7054 dlldir
="\${libdir}/wine"
7058 DLLFLAGS
="-D_REENTRANT"
7067 STATIC_IMPLIBEXT
="def.a"
7068 # Extract the first word of "ldd", so it can be a program name with args.
7069 set dummy ldd
; ac_word
=$2
7070 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7071 $as_echo_n "checking for $ac_word... " >&6; }
7072 if ${ac_cv_path_LDD+:} false
; then :
7073 $as_echo_n "(cached) " >&6
7077 ac_cv_path_LDD
="$LDD" # Let the user override the test with a path.
7080 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7081 as_dummy
="/sbin:/usr/sbin:$PATH"
7082 for as_dir
in $as_dummy
7085 test -z "$as_dir" && as_dir
=.
7086 for ac_exec_ext
in '' $ac_executable_extensions; do
7087 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
7088 ac_cv_path_LDD
="$as_dir/$ac_word$ac_exec_ext"
7089 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7096 test -z "$ac_cv_path_LDD" && ac_cv_path_LDD
="true"
7101 if test -n "$LDD"; then
7102 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LDD" >&5
7103 $as_echo "$LDD" >&6; }
7105 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7106 $as_echo "no" >&6; }
7110 if test -n "$ac_tool_prefix"; then
7111 # Extract the first word of "${ac_tool_prefix}readelf", so it can be a program name with args.
7112 set dummy
${ac_tool_prefix}readelf
; ac_word
=$2
7113 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7114 $as_echo_n "checking for $ac_word... " >&6; }
7115 if ${ac_cv_prog_READELF+:} false
; then :
7116 $as_echo_n "(cached) " >&6
7118 if test -n "$READELF"; then
7119 ac_cv_prog_READELF
="$READELF" # Let the user override the test.
7121 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7125 test -z "$as_dir" && as_dir
=.
7126 for ac_exec_ext
in '' $ac_executable_extensions; do
7127 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
7128 ac_cv_prog_READELF
="${ac_tool_prefix}readelf"
7129 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7138 READELF
=$ac_cv_prog_READELF
7139 if test -n "$READELF"; then
7140 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $READELF" >&5
7141 $as_echo "$READELF" >&6; }
7143 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7144 $as_echo "no" >&6; }
7149 if test -z "$ac_cv_prog_READELF"; then
7150 ac_ct_READELF
=$READELF
7151 # Extract the first word of "readelf", so it can be a program name with args.
7152 set dummy readelf
; ac_word
=$2
7153 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7154 $as_echo_n "checking for $ac_word... " >&6; }
7155 if ${ac_cv_prog_ac_ct_READELF+:} false
; then :
7156 $as_echo_n "(cached) " >&6
7158 if test -n "$ac_ct_READELF"; then
7159 ac_cv_prog_ac_ct_READELF
="$ac_ct_READELF" # Let the user override the test.
7161 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7165 test -z "$as_dir" && as_dir
=.
7166 for ac_exec_ext
in '' $ac_executable_extensions; do
7167 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
7168 ac_cv_prog_ac_ct_READELF
="readelf"
7169 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7178 ac_ct_READELF
=$ac_cv_prog_ac_ct_READELF
7179 if test -n "$ac_ct_READELF"; then
7180 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_READELF" >&5
7181 $as_echo "$ac_ct_READELF" >&6; }
7183 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7184 $as_echo "no" >&6; }
7187 if test "x$ac_ct_READELF" = x
; then
7190 case $cross_compiling:$ac_tool_warned in
7192 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7193 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7194 ac_tool_warned
=yes ;;
7196 READELF
=$ac_ct_READELF
7199 READELF
="$ac_cv_prog_READELF"
7202 wine_rules_file
=conf$
$rules.
make
7203 rm -f $wine_rules_file
7205 GITIGNORE
="# Automatically generated by configure; DO NOT EDIT!!"
7206 ALL_TEST_RESOURCES
=""
7209 wine_fn_append_file
()
7211 as_fn_append
$1 " \\$as_nl $2"
7214 wine_fn_ignore_file
()
7217 */*) as_fn_append GITIGNORE
"$as_nl$1" ;;
7218 \
**) as_fn_append GITIGNORE
"$as_nl$1" ;;
7219 *) as_fn_append GITIGNORE
"$as_nl/$1" ;;
7223 wine_fn_append_rule
()
7225 $as_echo "$1" >>$wine_rules_file
7230 expr ",$ac_flags," : ".*,$1,.*" >/dev
/null
7233 wine_fn_depend_rules
()
7235 wine_fn_append_rule \
7236 "$ac_dir/Makefile: $srcdir/$ac_dir/Makefile.in $srcdir/Make.vars.in config.status \$(MAKEDEP)
7237 @./config.status --file $ac_dir/Makefile:Make.vars.in:$ac_dir/Makefile.in && \$(MAKEDEP) $ac_dir
7238 depend: $ac_dir/depend
7239 .PHONY: $ac_dir/depend
7240 $ac_dir/depend: \$(MAKEDEP) dummy
7241 @./config.status --file $ac_dir/Makefile:Make.vars.in:$ac_dir/Makefile.in && \$(MAKEDEP) $ac_dir"
7244 wine_fn_pot_rules
()
7246 test "x$with_gettextpo" = xyes ||
return
7248 if wine_fn_has_flag mc
7250 wine_fn_append_file ALL_POT_FILES
$ac_dir/msg.pot
7251 wine_fn_append_rule \
7252 "$ac_dir/msg.pot: $ac_dir/Makefile dummy
7253 @cd $ac_dir && \$(MAKE) msg.pot
7254 $ac_dir/msg.pot: tools/wmc include"
7256 if wine_fn_has_flag po
7258 wine_fn_append_file ALL_POT_FILES
$ac_dir/rsrc.pot
7259 wine_fn_append_rule \
7260 "$ac_dir/rsrc.pot: $ac_dir/Makefile dummy
7261 @cd $ac_dir && \$(MAKE) rsrc.pot
7262 $ac_dir/rsrc.pot: tools/wrc include"
7266 wine_fn_all_rules
()
7268 wine_fn_depend_rules
7269 wine_fn_append_rule \
7272 $ac_dir: $ac_dir/Makefile dummy
7273 @cd $ac_dir && \$(MAKE)"
7276 wine_fn_install_rules
()
7278 wine_fn_has_flag install-lib || wine_fn_has_flag install-dev ||
return
7280 wine_fn_append_rule \
7281 ".PHONY: $ac_dir/install $ac_dir/uninstall
7282 $ac_dir/install:: $ac_dir
7283 @cd $ac_dir && \$(MAKE) install
7284 $ac_dir/uninstall:: $ac_dir/Makefile
7285 @cd $ac_dir && \$(MAKE) uninstall
7286 install:: $ac_dir/install
7287 __uninstall__: $ac_dir/uninstall"
7289 if wine_fn_has_flag install-lib
7291 wine_fn_append_rule \
7292 ".PHONY: $ac_dir/install-lib
7293 $ac_dir/install-lib:: $ac_dir
7294 @cd $ac_dir && \$(MAKE) install-lib
7295 install-lib:: $ac_dir/install-lib"
7298 if wine_fn_has_flag install-dev
7300 wine_fn_append_rule \
7301 ".PHONY: $ac_dir/install-dev
7302 $ac_dir/install-dev:: $ac_dir
7303 @cd $ac_dir && \$(MAKE) install-dev
7304 install-dev:: $ac_dir/install-dev"
7308 wine_fn_clean_rules
()
7311 ac_extraclean
="$ac_dir/Makefile"
7312 test "$srcdir" = .
&& ac_extraclean
="$ac_extraclean $ac_dir/.gitignore"
7314 */tests
) ac_extraclean
="$ac_extraclean $ac_dir/testlist.c" ;;
7317 if wine_fn_has_flag clean
7319 wine_fn_append_rule \
7320 "__clean__: $ac_dir/clean
7321 .PHONY: $ac_dir/clean
7322 $ac_dir/clean: $ac_dir/Makefile
7323 @cd $ac_dir && \$(MAKE) clean
7324 \$(RM) $ac_extraclean"
7326 wine_fn_append_rule \
7327 "__clean__: $ac_dir/clean
7328 .PHONY: $ac_dir/clean
7329 $ac_dir/clean: dummy
7330 \$(RM) \$(CLEAN_FILES:%=$ac_dir/%) $ac_clean $ac_extraclean"
7334 wine_fn_disabled_rules
()
7337 ac_extraclean
="$ac_dir/Makefile"
7338 test "$srcdir" = .
&& ac_extraclean
="$ac_extraclean $ac_dir/.gitignore"
7340 wine_fn_append_rule \
7341 "__clean__: $ac_dir/clean
7342 .PHONY: $ac_dir/clean
7343 $ac_dir/clean: dummy
7344 \$(RM) \$(CLEAN_FILES:%=$ac_dir/%) $ac_clean $ac_extraclean"
7347 wine_fn_config_makefile
()
7353 if eval test \"x\$
"$ac_enable"\" = x
"no"; then :
7354 wine_fn_disabled_rules
; return
7357 wine_fn_install_rules
7361 wine_fn_config_lib
()
7365 ac_dir
=dlls
/$ac_name
7368 if test "x$enable_tools" = xno
; then :
7371 ac_deps
="tools/widl tools/winebuild tools/winegcc $ac_deps"
7376 wine_fn_append_rule \
7377 ".PHONY: $ac_dir/install $ac_dir/uninstall
7378 $ac_dir/install:: $ac_dir
7379 \$(INSTALL_DATA) $ac_dir/lib$ac_name.a \$(DESTDIR)\$(dlldir)/lib$ac_name.a
7381 \$(RM) \$(DESTDIR)\$(dlldir)/lib$ac_name.a
7382 install install-dev:: $ac_dir/install
7383 __uninstall__: $ac_dir/uninstall
7384 __builddeps__: $ac_dir
7388 wine_fn_config_dll
()
7391 ac_dir
=dlls
/$ac_name
7394 ac_implib
=${4:-$ac_name}
7395 ac_file
=$ac_dir/lib
$ac_implib
7400 if test "x$enable_tools" = xno
; then :
7403 ac_deps
="tools/widl tools/winebuild tools/winegcc $ac_deps"
7406 *16) ac_implibflags
=" -m16" ;;
7408 *) ac_dll
=$ac_dll.dll
;;
7412 wine_fn_has_flag implib
&& ac_clean
="$ac_clean $ac_file.$IMPLIBEXT"
7413 wine_fn_has_flag mc
&& ac_clean
="$ac_clean $ac_dir/msg.pot"
7414 wine_fn_has_flag po
&& ac_clean
="$ac_clean $ac_dir/rsrc.pot"
7415 test -n "$DLLEXT" || ac_clean
="$ac_clean $ac_dir/$ac_dll"
7417 if eval test \"x\$
"$ac_enable"\" = x
"no"; then :
7418 if wine_fn_has_flag implib
&& test "$ac_enable" != enable_win16
7420 wine_fn_depend_rules
7421 wine_fn_clean_rules
$ac_clean
7423 wine_fn_disabled_rules
$ac_clean
7428 wine_fn_clean_rules
$ac_clean
7429 wine_fn_append_rule \
7430 "$ac_dir: __builddeps__
7431 manpages htmlpages sgmlpages xmlpages:: $ac_dir/Makefile
7432 @cd $ac_dir && \$(MAKE) \$@
7433 .PHONY: $ac_dir/install-lib $ac_dir/uninstall
7434 install install-lib:: $ac_dir/install-lib
7435 __uninstall__: $ac_dir/uninstall"
7436 if test -n "$DLLEXT"
7438 wine_fn_append_rule \
7439 "$ac_dir/install-lib:: $ac_dir
7440 \$(INSTALL_PROGRAM) $ac_dir/$ac_dll$DLLEXT \$(DESTDIR)\$(dlldir)/$DLLPREFIX$ac_dll$DLLEXT
7441 \$(INSTALL_DATA) $ac_dir/$ac_dll.fake \$(DESTDIR)\$(fakedlldir)/$ac_dll
7443 \$(RM) \$(DESTDIR)\$(dlldir)/$DLLPREFIX$ac_dll$DLLEXT \$(DESTDIR)\$(fakedlldir)/$ac_dll"
7445 wine_fn_append_rule \
7446 "$ac_dir/install-lib:: $ac_dir
7447 \$(INSTALL_PROGRAM) $ac_dir/$ac_dll \$(DESTDIR)\$(dlldir)/$ac_dll
7449 \$(RM) \$(DESTDIR)\$(dlldir)/$ac_dll"
7455 if wine_fn_has_flag staticimplib
7457 wine_fn_append_rule \
7458 "__builddeps__: $ac_file.$IMPLIBEXT $ac_file.$STATIC_IMPLIBEXT
7459 $ac_file.$IMPLIBEXT $ac_file.$STATIC_IMPLIBEXT $ac_file.cross.a: $ac_deps
7460 $ac_file.def: $srcdir/$ac_dir/$ac_name.spec $ac_dir/Makefile \$(WINEBUILD)
7461 \$(WINEBUILD) \$(TARGETFLAGS)$ac_implibflags -w --def -o \$@ --export $srcdir/$ac_dir/$ac_name.spec
7462 $ac_file.$STATIC_IMPLIBEXT: $ac_dir/Makefile dummy
7463 @cd $ac_dir && \$(MAKE) lib$ac_implib.$STATIC_IMPLIBEXT
7464 .PHONY: $ac_dir/install-dev $ac_dir/uninstall
7465 $ac_dir/install-dev:: $ac_file.$IMPLIBEXT
7466 \$(INSTALL_DATA) $ac_file.$IMPLIBEXT \$(DESTDIR)\$(dlldir)/lib$ac_implib.$IMPLIBEXT
7468 \$(RM) \$(DESTDIR)\$(dlldir)/lib$ac_implib.$IMPLIBEXT
7469 install install-dev:: $ac_dir/install-dev
7470 __uninstall__: $ac_dir/uninstall"
7472 if test "$IMPLIBEXT" != "$STATIC_IMPLIBEXT"
7474 wine_fn_append_rule \
7475 "$ac_dir/install-dev:: $ac_file.$STATIC_IMPLIBEXT __builddeps__
7476 \$(INSTALL_DATA) $ac_file.$STATIC_IMPLIBEXT \$(DESTDIR)\$(dlldir)/lib$ac_implib.$STATIC_IMPLIBEXT
7478 \$(RM) \$(DESTDIR)\$(dlldir)/lib$ac_implib.$STATIC_IMPLIBEXT"
7481 if test -n "$CROSSTARGET" -a -z "$ac_implibflags"
7483 wine_fn_append_rule \
7484 "__builddeps__: $ac_file.cross.a
7485 $ac_file.cross.a: $ac_dir/Makefile dummy
7486 @cd $ac_dir && \$(MAKE) lib$ac_implib.cross.a"
7489 elif wine_fn_has_flag implib
7491 wine_fn_append_rule \
7492 "__builddeps__: $ac_file.$IMPLIBEXT
7493 $ac_file.def: $srcdir/$ac_dir/$ac_name.spec $ac_dir/Makefile \$(WINEBUILD)
7494 \$(WINEBUILD) \$(TARGETFLAGS)$ac_implibflags -w --def -o \$@ --export $srcdir/$ac_dir/$ac_name.spec
7495 $ac_file.a: $srcdir/$ac_dir/$ac_name.spec $ac_dir/Makefile \$(WINEBUILD)
7496 \$(WINEBUILD) \$(TARGETFLAGS)$ac_implibflags -w --implib -o \$@ --export $srcdir/$ac_dir/$ac_name.spec
7497 .PHONY: $ac_dir/install-dev $ac_dir/uninstall
7498 $ac_dir/install-dev:: $ac_file.$IMPLIBEXT
7499 \$(INSTALL_DATA) $ac_file.$IMPLIBEXT \$(DESTDIR)\$(dlldir)/lib$ac_implib.$IMPLIBEXT
7501 \$(RM) \$(DESTDIR)\$(dlldir)/lib$ac_implib.$IMPLIBEXT
7502 install install-dev:: $ac_dir/install-dev
7503 __uninstall__: $ac_dir/uninstall"
7504 if test -n "$CROSSTARGET" -a -z "$ac_implibflags"
7506 wine_fn_append_rule \
7507 "__builddeps__: $ac_file.cross.a
7508 $ac_file.cross.a: $srcdir/$ac_dir/$ac_name.spec $ac_dir/Makefile \$(WINEBUILD)
7509 \$(WINEBUILD) \$(CROSSTARGET:%=-b %)$ac_implibflags -w --implib -o \$@ --export $srcdir/$ac_dir/$ac_name.spec"
7512 if test "$ac_name" != "$ac_implib"
7514 wine_fn_append_rule \
7515 "__builddeps__: dlls/lib$ac_implib.$IMPLIBEXT
7516 dlls/lib$ac_implib.$IMPLIBEXT: $ac_file.$IMPLIBEXT
7517 \$(RM) \$@ && \$(LN_S) $ac_name/lib$ac_implib.$IMPLIBEXT \$@
7519 \$(RM) dlls/lib$ac_implib.$IMPLIBEXT"
7520 wine_fn_ignore_file
"dlls/lib$ac_implib.$IMPLIBEXT"
7521 if test -n "$CROSSTARGET" -a -z "$ac_implibflags"
7523 wine_fn_append_rule \
7524 "__builddeps__: dlls/lib$ac_implib.cross.a
7525 dlls/lib$ac_implib.cross.a: $ac_file.cross.a
7526 \$(RM) \$@ && \$(LN_S) $ac_name/lib$ac_implib.cross.a \$@
7528 \$(RM) dlls/lib$ac_implib.cross.a"
7529 wine_fn_ignore_file
"dlls/lib$ac_implib.cross.a"
7535 wine_fn_config_program
()
7538 ac_dir
=programs
/$ac_name
7545 *) ac_program
=$ac_program.exe
;;
7549 wine_fn_has_flag mc
&& ac_clean
="$ac_clean $ac_dir/msg.pot"
7550 wine_fn_has_flag po
&& ac_clean
="$ac_clean $ac_dir/rsrc.pot"
7551 wine_fn_has_flag manpage
&& ac_clean
="$ac_clean $ac_dir/$ac_name.man"
7552 test -n "$DLLEXT" || ac_clean
="$ac_clean $ac_dir/$ac_program"
7554 if eval test \"x\$
"$ac_enable"\" = x
"no"; then :
7555 wine_fn_disabled_rules
$ac_clean; return
7559 wine_fn_clean_rules
$ac_clean
7560 wine_fn_append_rule
"$ac_dir: __builddeps__"
7563 wine_fn_has_flag
install ||
return
7564 wine_fn_append_rule \
7565 ".PHONY: $ac_dir/install $ac_dir/uninstall
7566 install install-lib:: $ac_dir/install
7567 __uninstall__: $ac_dir/uninstall"
7569 if test -n "$DLLEXT"
7571 wine_fn_append_rule \
7572 "$ac_dir/install:: $ac_dir
7573 \$(INSTALL_PROGRAM) $ac_dir/$ac_program$DLLEXT \$(DESTDIR)\$(dlldir)/$DLLPREFIX$ac_program$DLLEXT
7574 \$(INSTALL_DATA) $ac_dir/$ac_program.fake \$(DESTDIR)\$(fakedlldir)/$ac_program
7576 \$(RM) \$(DESTDIR)\$(dlldir)/$DLLPREFIX$ac_program$DLLEXT \$(DESTDIR)\$(fakedlldir)/$ac_program"
7578 if test -z "$with_wine64" && wine_fn_has_flag installbin
7580 wine_fn_append_rule \
7581 "$ac_dir/install:: __tooldeps__
7582 \$(INSTALL_SCRIPT) \$(TOOLSDIR)/tools/wineapploader \$(DESTDIR)\$(bindir)/$ac_name
7584 \$(RM) \$(DESTDIR)\$(bindir)/$ac_name"
7587 wine_fn_append_rule \
7588 "$ac_dir/install:: $ac_dir
7589 \$(INSTALL_PROGRAM) $ac_dir/$ac_program \$(DESTDIR)\$(bindir)/$ac_program
7591 \$(RM) \$(DESTDIR)\$(bindir)/$ac_program"
7594 if test -z "$with_wine64" && wine_fn_has_flag manpage
7596 wine_fn_append_rule \
7597 "$ac_dir/install:: $ac_dir
7598 \$(INSTALL_DATA) $ac_dir/$ac_name.man \$(DESTDIR)\$(mandir)/man\$(prog_manext)/$ac_name.\$(prog_manext)
7600 \$(RM) \$(DESTDIR)\$(mandir)/man\$(prog_manext)/$ac_name.\$(prog_manext)"
7604 wine_fn_config_test
()
7611 test -n "$CROSSTARGET" && ac_clean
=`expr $ac_dir/${ac_name} : "\\(.*\\)_test"`_crosstest.exe
7612 test -n "$DLLEXT" || ac_clean
="$ac_dir/${ac_name}.exe $ac_dir/${ac_name}-stripped.exe"
7614 if test "x$enable_tests" = xno
; then :
7615 wine_fn_disabled_rules
$ac_clean; return
7618 wine_fn_append_file ALL_TEST_RESOURCES
$ac_name.res
7620 wine_fn_clean_rules
$ac_clean
7622 wine_fn_append_rule \
7623 "$ac_dir: programs/winetest/Makefile __builddeps__
7624 programs/winetest: $ac_dir
7625 check test: $ac_dir/test
7626 .PHONY: $ac_dir/test
7628 @cd $ac_dir && \$(MAKE) test
7630 \$(RM) $ac_dir/*.ok"
7632 if test -n "$CROSSTARGET"
7634 wine_fn_append_rule \
7635 "crosstest: $ac_dir/crosstest
7636 .PHONY: $ac_dir/crosstest
7637 $ac_dir/crosstest: $ac_dir/Makefile __builddeps__ dummy
7638 @cd $ac_dir && \$(MAKE) crosstest"
7642 wine_fn_config_tool
()
7646 if test "x$enable_tools" = xno
; then :
7651 wine_fn_install_rules
7654 wine_fn_append_rule
"__tooldeps__: $ac_dir"
7655 wine_fn_append_rule
"$ac_dir: libs/port"
7657 tools
/winebuild
) wine_fn_append_rule
"\$(WINEBUILD): $ac_dir" ;;
7661 wine_fn_config_symlink
()
7664 if test "x$1" = "x-d"
7670 wine_fn_append_rule \
7672 @./config.status \$@
7675 for f
in $ac_links; do wine_fn_ignore_file
$f; done
7676 test -n "$ac_linkdir" ||
return
7677 wine_fn_append_rule
"$ac_linkdir/Makefile $ac_linkdir/depend: $ac_links"
7681 test "x$enable_win64" != "xyes" || wine_binary
="wine64"
7682 loader_programs
="$wine_binary wine-installed"
7683 libwine_soversion
=`expr $libwine_version : '\([0-9]*\)\..*'`
7688 install install-lib:: wine-installed
7689 \$(INSTALL_PROGRAM) wine-installed \$(DESTDIR)\$(bindir)/$wine_binary
7692 \$(RM) \$(DESTDIR)\$(bindir)/$wine_binary
7698 if test -n "$ac_tool_prefix"; then
7699 # Extract the first word of "${ac_tool_prefix}dlltool", so it can be a program name with args.
7700 set dummy
${ac_tool_prefix}dlltool
; ac_word
=$2
7701 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7702 $as_echo_n "checking for $ac_word... " >&6; }
7703 if ${ac_cv_prog_DLLTOOL+:} false
; then :
7704 $as_echo_n "(cached) " >&6
7706 if test -n "$DLLTOOL"; then
7707 ac_cv_prog_DLLTOOL
="$DLLTOOL" # Let the user override the test.
7709 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7713 test -z "$as_dir" && as_dir
=.
7714 for ac_exec_ext
in '' $ac_executable_extensions; do
7715 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
7716 ac_cv_prog_DLLTOOL
="${ac_tool_prefix}dlltool"
7717 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7726 DLLTOOL
=$ac_cv_prog_DLLTOOL
7727 if test -n "$DLLTOOL"; then
7728 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DLLTOOL" >&5
7729 $as_echo "$DLLTOOL" >&6; }
7731 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7732 $as_echo "no" >&6; }
7737 if test -z "$ac_cv_prog_DLLTOOL"; then
7738 ac_ct_DLLTOOL
=$DLLTOOL
7739 # Extract the first word of "dlltool", so it can be a program name with args.
7740 set dummy dlltool
; ac_word
=$2
7741 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7742 $as_echo_n "checking for $ac_word... " >&6; }
7743 if ${ac_cv_prog_ac_ct_DLLTOOL+:} false
; then :
7744 $as_echo_n "(cached) " >&6
7746 if test -n "$ac_ct_DLLTOOL"; then
7747 ac_cv_prog_ac_ct_DLLTOOL
="$ac_ct_DLLTOOL" # Let the user override the test.
7749 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7753 test -z "$as_dir" && as_dir
=.
7754 for ac_exec_ext
in '' $ac_executable_extensions; do
7755 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
7756 ac_cv_prog_ac_ct_DLLTOOL
="dlltool"
7757 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7766 ac_ct_DLLTOOL
=$ac_cv_prog_ac_ct_DLLTOOL
7767 if test -n "$ac_ct_DLLTOOL"; then
7768 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DLLTOOL" >&5
7769 $as_echo "$ac_ct_DLLTOOL" >&6; }
7771 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7772 $as_echo "no" >&6; }
7775 if test "x$ac_ct_DLLTOOL" = x
; then
7778 case $cross_compiling:$ac_tool_warned in
7780 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7781 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7782 ac_tool_warned
=yes ;;
7784 DLLTOOL
=$ac_ct_DLLTOOL
7787 DLLTOOL
="$ac_cv_prog_DLLTOOL"
7793 STATIC_IMPLIBEXT
="a"
7794 enable_iphlpapi
=${enable_iphlpapi:-no}
7795 enable_kernel32
=${enable_kernel32:-no}
7796 enable_msvcrt
=${enable_msvcrt:-no}
7797 enable_ntdll
=${enable_ntdll:-no}
7798 enable_ws2_32
=${enable_ws2_32:-no}
7799 enable_loader
=${enable_loader:-no}
7800 enable_server
=${enable_server:-no}
7801 with_x
=${with_x:-no}
7802 with_pthread
=${with_pthread:-no}
7808 SOCKET_LIBS
="-L\$(top_builddir)/dlls/ws2_32 -lws2_32"
7812 libwine_targets
="libwine.dll libwine.a"
7814 OBJS = \$(C_SRCS:.c=.o) \$(EXTRA_OBJS)
7816 all: libwine.dll libwine.a
7818 libwine.a: \$(srcdir)/wine.def
7819 \$(DLLTOOL) -l \$@ -d \$(srcdir)/wine.def
7821 libwine.dll: \$(OBJS) \$(srcdir)/wine.def
7822 \$(CC) -shared \$(srcdir)/wine.def -o \$@ \$(OBJS) $crtlibs \$(EXTRALIBS)
7824 install install-lib:: libwine.dll
7825 \$(INSTALL_DATA) libwine.dll \$(DESTDIR)\$(libdir)/libwine.dll
7827 install install-dev:: libwine.a
7828 \$(INSTALL_DATA) libwine.a \$(DESTDIR)\$(libdir)/libwine.a
7831 -cd \$(DESTDIR)\$(libdir) && \$(RM) libwine.a libwine.dll
7838 DLLFLAGS
="$DLLFLAGS -fPIC"
7839 LIBWINE_LDFLAGS
="-multiply_defined suppress"
7840 LDRPATH_INSTALL
="-Wl,-rpath,@loader_path/\`\$(MAKEDEP) -R \$(bindir) \$(libdir)\`"
7841 LDRPATH_LOCAL
="-Wl,-rpath,@loader_path/\$(top_builddir)/libs/wine"
7842 COREFOUNDATION_LIBS
="-framework CoreFoundation"
7844 IOKIT_LIBS
="-framework IOKit -framework CoreFoundation"
7846 FORCEFEEDBACK_LIBS
="-framework ForceFeedback -framework CoreFoundation"
7848 APPLICATIONSERVICES_LIBS
="-framework ApplicationServices"
7850 CORESERVICES_LIBS
="-framework CoreServices"
7852 APPKIT_LIBS
="-framework AppKit"
7854 LDEXECFLAGS
="-image_base 0x7bf00000 -Wl,-segaddr,WINE_DOS,0x00001000,-segaddr,WINE_SHAREDHEAP,0x7f000000,-sectcreate,__TEXT,__info_plist,wine_info.plist"
7855 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,-no_pie" >&5
7856 $as_echo_n "checking whether the compiler supports -Wl,-no_pie... " >&6; }
7857 if ${ac_cv_cflags__Wl__no_pie+:} false
; then :
7858 $as_echo_n "(cached) " >&6
7860 ac_wine_try_cflags_saved
=$CFLAGS
7861 CFLAGS
="$CFLAGS -Wl,-no_pie"
7862 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
7863 /* end confdefs.h. */
7864 int main(int argc, char **argv) { return 0; }
7866 if ac_fn_c_try_link
"$LINENO"; then :
7867 ac_cv_cflags__Wl__no_pie
=yes
7869 ac_cv_cflags__Wl__no_pie
=no
7871 rm -f core conftest.err conftest.
$ac_objext \
7872 conftest
$ac_exeext conftest.
$ac_ext
7873 CFLAGS
=$ac_wine_try_cflags_saved
7875 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl__no_pie" >&5
7876 $as_echo "$ac_cv_cflags__Wl__no_pie" >&6; }
7877 if test "x$ac_cv_cflags__Wl__no_pie" = xyes
; then :
7878 LDEXECFLAGS
="-Wl,-no_pie $LDEXECFLAGS"
7880 if test "$ac_cv_header_DiskArbitration_DiskArbitration_h" = "yes"
7882 DISKARBITRATION_LIBS
="-framework DiskArbitration -framework CoreFoundation"
7885 if test "$ac_cv_header_Security_Security_h" = "yes"
7887 SECURITY_LIBS
="-framework Security -framework CoreFoundation"
7889 ac_save_LIBS
="$LIBS"
7890 LIBS
="$LIBS $SECURITY_LIBS"
7891 for ac_func
in SSLCopyPeerCertificates
7893 ac_fn_c_check_func
"$LINENO" "SSLCopyPeerCertificates" "ac_cv_func_SSLCopyPeerCertificates"
7894 if test "x$ac_cv_func_SSLCopyPeerCertificates" = xyes
; then :
7895 cat >>confdefs.h
<<_ACEOF
7896 #define HAVE_SSLCOPYPEERCERTIFICATES 1
7902 LIBS
="$ac_save_LIBS"
7903 with_gnutls
=${with_gnutls:-no}
7905 if test "$ac_cv_header_CoreAudio_CoreAudio_h" = "yes" -a "$ac_cv_header_AudioUnit_AudioUnit_h" = "yes"
7907 if test "$ac_cv_header_AudioUnit_AudioComponent_h" = "yes"
7909 COREAUDIO_LIBS
="-framework CoreFoundation -framework CoreAudio -framework AudioUnit -framework AudioToolbox -framework CoreMIDI"
7912 COREAUDIO_LIBS
="-framework CoreAudio -framework AudioUnit -framework CoreServices -framework AudioToolbox -framework CoreMIDI"
7915 ac_save_LIBS
="$LIBS"
7916 LIBS
="$LIBS $COREAUDIO_LIBS"
7917 for ac_func
in AUGraphAddNode
7919 ac_fn_c_check_func
"$LINENO" "AUGraphAddNode" "ac_cv_func_AUGraphAddNode"
7920 if test "x$ac_cv_func_AUGraphAddNode" = xyes
; then :
7921 cat >>confdefs.h
<<_ACEOF
7922 #define HAVE_AUGRAPHADDNODE 1
7928 LIBS
="$ac_save_LIBS"
7930 if test "$ac_cv_header_OpenAL_al_h" = "yes"
7932 OPENAL_LIBS
="-framework OpenAL"
7935 cat >>confdefs.h
<<_ACEOF
7936 #define HAVE_OPENAL 1
7939 ac_cv_lib_openal
=yes
7941 if test "$ac_cv_header_OpenCL_opencl_h" = "yes"
7943 OPENCL_LIBS
="-framework OpenCL"
7945 ac_cv_lib_OpenCL_clGetPlatformInfo
=yes
7947 if test "$ac_cv_header_IOKit_hid_IOHIDLib_h" = "yes"
7949 ac_save_LIBS
="$LIBS"
7950 LIBS
="$LIBS $IOKIT_LIBS"
7951 for ac_func
in IOHIDManagerCreate
7953 ac_fn_c_check_func
"$LINENO" "IOHIDManagerCreate" "ac_cv_func_IOHIDManagerCreate"
7954 if test "x$ac_cv_func_IOHIDManagerCreate" = xyes
; then :
7955 cat >>confdefs.h
<<_ACEOF
7956 #define HAVE_IOHIDMANAGERCREATE 1
7962 LIBS
="$ac_save_LIBS"
7964 if test "$ac_cv_header_QuickTime_ImageCompression_h" = "yes"
7966 ac_save_LIBS
="$LIBS"
7967 LIBS
="-framework QuickTime -framework ApplicationServices -framework CoreVideo $LIBS"
7968 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for the QuickTime framework" >&5
7969 $as_echo_n "checking for the QuickTime framework... " >&6; }
7970 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
7971 /* end confdefs.h. */
7972 #include <QuickTime/ImageCompression.h>
7976 CodecManagerVersion(NULL);
7981 if ac_fn_c_try_link
"$LINENO"; then :
7982 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
7983 $as_echo "yes" >&6; }
7984 QUICKTIME_LIBS
="-framework QuickTime -framework ApplicationServices -framework CoreVideo"
7986 enable_wineqtdecoder
=${enable_wineqtdecoder:-yes}
7988 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7989 $as_echo "no" >&6; }
7990 ac_cv_header_QuickTime_ImageCompression_h
=no
7992 rm -f core conftest.err conftest.
$ac_objext \
7993 conftest
$ac_exeext conftest.
$ac_ext
7994 LIBS
="$ac_save_LIBS"
7996 if test "$ac_cv_header_QuickTime_ImageCompression_h" != "yes"
7998 as_fn_append wine_notices
"|QuickTime ${notice_platform}development files not found, video decoding won't be supported."
8000 if test "$ac_cv_header_Carbon_Carbon_h" = "yes"
8002 CARBON_LIBS
="-framework Carbon"
8006 if test "$ac_cv_header_ApplicationServices_ApplicationServices_h" = "yes"
8008 ac_save_LIBS
="$LIBS"
8009 LIBS
="$LIBS $APPLICATIONSERVICES_LIBS"
8010 ac_fn_c_check_func
"$LINENO" "CGDisplayModeGetWidth" "ac_cv_func_CGDisplayModeGetWidth"
8011 if test "x$ac_cv_func_CGDisplayModeGetWidth" = xyes
; then :
8012 enable_winemac_drv
=${enable_winemac_drv:-yes}
8015 LIBS
="$ac_save_LIBS"
8018 if test "x$enable_win16" = "xyes"
8020 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether 16-bit code can be built correctly" >&5
8021 $as_echo_n "checking whether 16-bit code can be built correctly... " >&6; }
8022 if test "$cross_compiling" = yes; then :
8023 { $as_echo "$as_me:${as_lineno-$LINENO}: result: cross-compiling, assuming yes" >&5
8024 $as_echo "cross-compiling, assuming yes" >&6; }
8026 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8027 /* end confdefs.h. */
8030 "good:\tnop;nop\n\t"
8031 ".globl _testfunc\n"
8032 "_testfunc:\tcallw good");
8033 extern void testfunc();
8037 unsigned short *p = (unsigned short *)testfunc;
8038 return p[0] != 0xe866 || p[1] != 0xfffa
8043 if ac_fn_c_try_run
"$LINENO"; then :
8044 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
8045 $as_echo "yes" >&6; }
8047 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8048 $as_echo "no" >&6; }
8049 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
8051 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext \
8052 conftest.
$ac_objext conftest.beam conftest.
$ac_ext
8057 libwine_targets
="libwine.dylib libwine.$libwine_soversion.dylib libwine.$libwine_version.dylib"
8059 OBJS = \$(C_SRCS:.c=.o) \$(EXTRA_OBJS)
8063 libwine.$libwine_version.dylib: \$(OBJS)
8064 \$(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 \$@
8066 libwine.$libwine_soversion.dylib: libwine.$libwine_version.dylib
8067 \$(RM) \$@ && \$(LN_S) libwine.$libwine_version.dylib \$@
8069 libwine.dylib: libwine.$libwine_soversion.dylib
8070 \$(RM) \$@ && \$(LN_S) libwine.$libwine_soversion.dylib \$@
8072 install install-lib:: libwine.$libwine_version.dylib
8073 \$(INSTALL_PROGRAM) libwine.$libwine_version.dylib \$(DESTDIR)\$(libdir)/libwine.$libwine_version.dylib
8074 cd \$(DESTDIR)\$(libdir) && \$(RM) libwine.$libwine_soversion.dylib && \$(LN_S) libwine.$libwine_version.dylib libwine.$libwine_soversion.dylib
8076 install install-dev::
8077 cd \$(DESTDIR)\$(libdir) && \$(RM) libwine.dylib && \$(LN_S) libwine.$libwine_version.dylib libwine.dylib
8080 -cd \$(DESTDIR)\$(libdir) && \$(RM) libwine.dylib libwine.$libwine_soversion.dylib libwine.$libwine_version.dylib
8084 as_fn_append LOADER_RULES
"
8085 $wine_binary: main.o wine_info.plist
8086 \$(CC) -o \$@ $LDEXECFLAGS main.o \$(LIBWINE) \$(LIBPORT) \$(EXTRALIBS) \$(LDFLAGS) \$(LDRPATH_LOCAL)
8088 wine-installed: main.o wine_info.plist
8089 \$(CC) -o \$@ $LDEXECFLAGS main.o \$(LIBWINE) \$(LIBPORT) \$(EXTRALIBS) \$(LDFLAGS) \$(LDRPATH_INSTALL)
8094 DLLFLAGS
="$DLLFLAGS -fPIC"
8098 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -Wl,--export-dynamic" >&5
8099 $as_echo_n "checking whether the compiler supports -fPIC -Wl,--export-dynamic... " >&6; }
8100 if ${ac_cv_cflags__fPIC__Wl___export_dynamic+:} false
; then :
8101 $as_echo_n "(cached) " >&6
8103 ac_wine_try_cflags_saved
=$CFLAGS
8104 CFLAGS
="$CFLAGS -fPIC -Wl,--export-dynamic"
8105 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8106 /* end confdefs.h. */
8107 int main(int argc, char **argv) { return 0; }
8109 if ac_fn_c_try_link
"$LINENO"; then :
8110 ac_cv_cflags__fPIC__Wl___export_dynamic
=yes
8112 ac_cv_cflags__fPIC__Wl___export_dynamic
=no
8114 rm -f core conftest.err conftest.
$ac_objext \
8115 conftest
$ac_exeext conftest.
$ac_ext
8116 CFLAGS
=$ac_wine_try_cflags_saved
8118 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fPIC__Wl___export_dynamic" >&5
8119 $as_echo "$ac_cv_cflags__fPIC__Wl___export_dynamic" >&6; }
8120 if test "x$ac_cv_cflags__fPIC__Wl___export_dynamic" = xyes
; then :
8121 LDEXECFLAGS
="-Wl,--export-dynamic"
8123 as_ac_var
=`$as_echo "ac_cv_cflags_-fPIC -Wl,--rpath,\\$ORIGIN/../lib" | $as_tr_sh`
8124 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -Wl,--rpath,\$ORIGIN/../lib" >&5
8125 $as_echo_n "checking whether the compiler supports -fPIC -Wl,--rpath,\$ORIGIN/../lib... " >&6; }
8126 if eval \
${$as_ac_var+:} false
; then :
8127 $as_echo_n "(cached) " >&6
8129 ac_wine_try_cflags_saved
=$CFLAGS
8130 CFLAGS
="$CFLAGS -fPIC -Wl,--rpath,\$ORIGIN/../lib"
8131 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8132 /* end confdefs.h. */
8133 int main(int argc, char **argv) { return 0; }
8135 if ac_fn_c_try_link
"$LINENO"; then :
8136 eval "$as_ac_var=yes"
8138 eval "$as_ac_var=no"
8140 rm -f core conftest.err conftest.
$ac_objext \
8141 conftest
$ac_exeext conftest.
$ac_ext
8142 CFLAGS
=$ac_wine_try_cflags_saved
8144 eval ac_res
=\$
$as_ac_var
8145 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
8146 $as_echo "$ac_res" >&6; }
8147 if eval test \"x\$
"$as_ac_var"\" = x
"yes"; then :
8148 LDRPATH_INSTALL
="-Wl,--rpath,\\\$\$ORIGIN/\`\$(MAKEDEP) -R \$(bindir) \$(libdir)\`"
8149 LDRPATH_LOCAL
="-Wl,--rpath,\\\$\$ORIGIN/\$(top_builddir)/libs/wine"
8151 as_ac_var
=`$as_echo "ac_cv_cflags_-fPIC -Wl,-R,\\$ORIGIN/../lib" | $as_tr_sh`
8152 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -Wl,-R,\$ORIGIN/../lib" >&5
8153 $as_echo_n "checking whether the compiler supports -fPIC -Wl,-R,\$ORIGIN/../lib... " >&6; }
8154 if eval \
${$as_ac_var+:} false
; then :
8155 $as_echo_n "(cached) " >&6
8157 ac_wine_try_cflags_saved
=$CFLAGS
8158 CFLAGS
="$CFLAGS -fPIC -Wl,-R,\$ORIGIN/../lib"
8159 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8160 /* end confdefs.h. */
8161 int main(int argc, char **argv) { return 0; }
8163 if ac_fn_c_try_link
"$LINENO"; then :
8164 eval "$as_ac_var=yes"
8166 eval "$as_ac_var=no"
8168 rm -f core conftest.err conftest.
$ac_objext \
8169 conftest
$ac_exeext conftest.
$ac_ext
8170 CFLAGS
=$ac_wine_try_cflags_saved
8172 eval ac_res
=\$
$as_ac_var
8173 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
8174 $as_echo "$ac_res" >&6; }
8175 if eval test \"x\$
"$as_ac_var"\" = x
"yes"; then :
8176 LDRPATH_INSTALL
="-Wl,-R,\\\$\$ORIGIN/\`\$(MAKEDEP) -R \$(bindir) \$(libdir)\`"
8177 LDRPATH_LOCAL
="-Wl,-R,\\\$\$ORIGIN/\$(top_builddir)/libs/wine"
8181 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,--enable-new-dtags" >&5
8182 $as_echo_n "checking whether the compiler supports -Wl,--enable-new-dtags... " >&6; }
8183 if ${ac_cv_cflags__Wl___enable_new_dtags+:} false
; then :
8184 $as_echo_n "(cached) " >&6
8186 ac_wine_try_cflags_saved
=$CFLAGS
8187 CFLAGS
="$CFLAGS -Wl,--enable-new-dtags"
8188 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8189 /* end confdefs.h. */
8190 int main(int argc, char **argv) { return 0; }
8192 if ac_fn_c_try_link
"$LINENO"; then :
8193 ac_cv_cflags__Wl___enable_new_dtags
=yes
8195 ac_cv_cflags__Wl___enable_new_dtags
=no
8197 rm -f core conftest.err conftest.
$ac_objext \
8198 conftest
$ac_exeext conftest.
$ac_ext
8199 CFLAGS
=$ac_wine_try_cflags_saved
8201 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl___enable_new_dtags" >&5
8202 $as_echo "$ac_cv_cflags__Wl___enable_new_dtags" >&6; }
8203 if test "x$ac_cv_cflags__Wl___enable_new_dtags" = xyes
; then :
8204 LDRPATH_INSTALL
="$LDRPATH_INSTALL -Wl,--enable-new-dtags"
8208 *i
[3456789]86* | x86_64
)
8209 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,--section-start,.interp=0x7bf00400" >&5
8210 $as_echo_n "checking whether the compiler supports -Wl,--section-start,.interp=0x7bf00400... " >&6; }
8211 if ${ac_cv_cflags__Wl___section_start__interp_0x7bf00400+:} false
; then :
8212 $as_echo_n "(cached) " >&6
8214 ac_wine_try_cflags_saved
=$CFLAGS
8215 CFLAGS
="$CFLAGS -Wl,--section-start,.interp=0x7bf00400"
8216 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8217 /* end confdefs.h. */
8218 int main(int argc, char **argv) { return 0; }
8220 if ac_fn_c_try_link
"$LINENO"; then :
8221 ac_cv_cflags__Wl___section_start__interp_0x7bf00400
=yes
8223 ac_cv_cflags__Wl___section_start__interp_0x7bf00400
=no
8225 rm -f core conftest.err conftest.
$ac_objext \
8226 conftest
$ac_exeext conftest.
$ac_ext
8227 CFLAGS
=$ac_wine_try_cflags_saved
8229 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl___section_start__interp_0x7bf00400" >&5
8230 $as_echo "$ac_cv_cflags__Wl___section_start__interp_0x7bf00400" >&6; }
8231 if test "x$ac_cv_cflags__Wl___section_start__interp_0x7bf00400" = xyes
; then :
8232 LDEXECFLAGS
="$LDEXECFLAGS -Wl,--section-start,.interp=0x7bf00400"
8237 libwine_targets
="libwine.so"
8239 OBJS = \$(C_SRCS:.c=.o) \$(EXTRA_OBJS)
8243 libwine.so: \$(OBJS)
8244 \$(CC) -shared \$(OBJS) \$(EXTRALIBS) \$(LDFLAGS) \$(LIBS) -o \$@
8246 install install-lib:: libwine.so
8247 \$(INSTALL_PROGRAM) libwine.so \$(DESTDIR)\$(libdir)/libwine.so
8250 \$(RM) \$(DESTDIR)\$(libdir)/libwine.so
8254 as_fn_append LOADER_RULES
"
8255 $wine_binary: main.o
8256 \$(CC) -o \$@ $LDEXECFLAGS main.o \$(LIBWINE) \$(LIBPORT) \$(EXTRALIBS) \$(LDFLAGS) \$(LDRPATH_LOCAL)
8258 wine-installed: main.o
8259 \$(CC) -o \$@ $LDEXECFLAGS main.o \$(LIBWINE) \$(LIBPORT) \$(EXTRALIBS) \$(LDFLAGS) \$(LDRPATH_INSTALL)
8264 DLLFLAGS
="$DLLFLAGS -fPIC"
8266 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we can build a GNU style ELF dll" >&5
8267 $as_echo_n "checking whether we can build a GNU style ELF dll... " >&6; }
8268 if ${ac_cv_c_dll_gnuelf+:} false
; then :
8269 $as_echo_n "(cached) " >&6
8271 ac_wine_try_cflags_saved
=$CFLAGS
8272 CFLAGS
="$CFLAGS -fPIC -shared -Wl,-Bsymbolic"
8273 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8274 /* end confdefs.h. */
8277 if ac_fn_c_try_link
"$LINENO"; then :
8278 ac_cv_c_dll_gnuelf
="yes"
8280 ac_cv_c_dll_gnuelf
="no"
8282 rm -f core conftest.err conftest.
$ac_objext \
8283 conftest
$ac_exeext conftest.
$ac_ext
8284 CFLAGS
=$ac_wine_try_cflags_saved
8286 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_dll_gnuelf" >&5
8287 $as_echo "$ac_cv_c_dll_gnuelf" >&6; }
8288 if test "$ac_cv_c_dll_gnuelf" = "yes"
8290 LDSHARED
="\$(CC) -shared"
8291 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -shared -Wl,-soname,confest.so.1" >&5
8292 $as_echo_n "checking whether the compiler supports -fPIC -shared -Wl,-soname,confest.so.1... " >&6; }
8293 if ${ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1+:} false
; then :
8294 $as_echo_n "(cached) " >&6
8296 ac_wine_try_cflags_saved
=$CFLAGS
8297 CFLAGS
="$CFLAGS -fPIC -shared -Wl,-soname,confest.so.1"
8298 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8299 /* end confdefs.h. */
8300 int main(int argc, char **argv) { return 0; }
8302 if ac_fn_c_try_link
"$LINENO"; then :
8303 ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1
=yes
8305 ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1
=no
8307 rm -f core conftest.err conftest.
$ac_objext \
8308 conftest
$ac_exeext conftest.
$ac_ext
8309 CFLAGS
=$ac_wine_try_cflags_saved
8311 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1" >&5
8312 $as_echo "$ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1" >&6; }
8313 if test "x$ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1" = xyes
; then :
8314 LDSHARED
="\$(CC) -shared -Wl,-soname,libwine.so.$libwine_soversion"
8316 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -shared -Wl,-h,confest.so.1" >&5
8317 $as_echo_n "checking whether the compiler supports -fPIC -shared -Wl,-h,confest.so.1... " >&6; }
8318 if ${ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1+:} false
; then :
8319 $as_echo_n "(cached) " >&6
8321 ac_wine_try_cflags_saved
=$CFLAGS
8322 CFLAGS
="$CFLAGS -fPIC -shared -Wl,-h,confest.so.1"
8323 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8324 /* end confdefs.h. */
8325 int main(int argc, char **argv) { return 0; }
8327 if ac_fn_c_try_link
"$LINENO"; then :
8328 ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1
=yes
8330 ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1
=no
8332 rm -f core conftest.err conftest.
$ac_objext \
8333 conftest
$ac_exeext conftest.
$ac_ext
8334 CFLAGS
=$ac_wine_try_cflags_saved
8336 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1" >&5
8337 $as_echo "$ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1" >&6; }
8338 if test "x$ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1" = xyes
; then :
8339 LDSHARED
="\$(CC) -shared -Wl,-h,libwine.so.$libwine_soversion"
8343 echo '{ global: *; };' >conftest.map
8344 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -shared -Wl,--version-script=conftest.map" >&5
8345 $as_echo_n "checking whether the compiler supports -fPIC -shared -Wl,--version-script=conftest.map... " >&6; }
8346 if ${ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map+:} false
; then :
8347 $as_echo_n "(cached) " >&6
8349 ac_wine_try_cflags_saved
=$CFLAGS
8350 CFLAGS
="$CFLAGS -fPIC -shared -Wl,--version-script=conftest.map"
8351 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8352 /* end confdefs.h. */
8353 int main(int argc, char **argv) { return 0; }
8355 if ac_fn_c_try_link
"$LINENO"; then :
8356 ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map
=yes
8358 ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map
=no
8360 rm -f core conftest.err conftest.
$ac_objext \
8361 conftest
$ac_exeext conftest.
$ac_ext
8362 CFLAGS
=$ac_wine_try_cflags_saved
8364 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map" >&5
8365 $as_echo "$ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map" >&6; }
8366 if test "x$ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map" = xyes
; then :
8367 LDSHARED
="$LDSHARED -Wl,--version-script=\$(srcdir)/wine.map"
8371 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -Wl,--export-dynamic" >&5
8372 $as_echo_n "checking whether the compiler supports -fPIC -Wl,--export-dynamic... " >&6; }
8373 if ${ac_cv_cflags__fPIC__Wl___export_dynamic+:} false
; then :
8374 $as_echo_n "(cached) " >&6
8376 ac_wine_try_cflags_saved
=$CFLAGS
8377 CFLAGS
="$CFLAGS -fPIC -Wl,--export-dynamic"
8378 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8379 /* end confdefs.h. */
8380 int main(int argc, char **argv) { return 0; }
8382 if ac_fn_c_try_link
"$LINENO"; then :
8383 ac_cv_cflags__fPIC__Wl___export_dynamic
=yes
8385 ac_cv_cflags__fPIC__Wl___export_dynamic
=no
8387 rm -f core conftest.err conftest.
$ac_objext \
8388 conftest
$ac_exeext conftest.
$ac_ext
8389 CFLAGS
=$ac_wine_try_cflags_saved
8391 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fPIC__Wl___export_dynamic" >&5
8392 $as_echo "$ac_cv_cflags__fPIC__Wl___export_dynamic" >&6; }
8393 if test "x$ac_cv_cflags__fPIC__Wl___export_dynamic" = xyes
; then :
8394 LDEXECFLAGS
="-Wl,--export-dynamic"
8397 as_ac_var
=`$as_echo "ac_cv_cflags_-fPIC -Wl,--rpath,\\$ORIGIN/../lib" | $as_tr_sh`
8398 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -Wl,--rpath,\$ORIGIN/../lib" >&5
8399 $as_echo_n "checking whether the compiler supports -fPIC -Wl,--rpath,\$ORIGIN/../lib... " >&6; }
8400 if eval \
${$as_ac_var+:} false
; then :
8401 $as_echo_n "(cached) " >&6
8403 ac_wine_try_cflags_saved
=$CFLAGS
8404 CFLAGS
="$CFLAGS -fPIC -Wl,--rpath,\$ORIGIN/../lib"
8405 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8406 /* end confdefs.h. */
8407 int main(int argc, char **argv) { return 0; }
8409 if ac_fn_c_try_link
"$LINENO"; then :
8410 eval "$as_ac_var=yes"
8412 eval "$as_ac_var=no"
8414 rm -f core conftest.err conftest.
$ac_objext \
8415 conftest
$ac_exeext conftest.
$ac_ext
8416 CFLAGS
=$ac_wine_try_cflags_saved
8418 eval ac_res
=\$
$as_ac_var
8419 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
8420 $as_echo "$ac_res" >&6; }
8421 if eval test \"x\$
"$as_ac_var"\" = x
"yes"; then :
8422 LDRPATH_INSTALL
="-Wl,--rpath,\\\$\$ORIGIN/\`\$(MAKEDEP) -R \$(bindir) \$(libdir)\`"
8423 LDRPATH_LOCAL
="-Wl,--rpath,\\\$\$ORIGIN/\$(top_builddir)/libs/wine"
8425 as_ac_var
=`$as_echo "ac_cv_cflags_-fPIC -Wl,-R,\\$ORIGIN/../lib" | $as_tr_sh`
8426 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -Wl,-R,\$ORIGIN/../lib" >&5
8427 $as_echo_n "checking whether the compiler supports -fPIC -Wl,-R,\$ORIGIN/../lib... " >&6; }
8428 if eval \
${$as_ac_var+:} false
; then :
8429 $as_echo_n "(cached) " >&6
8431 ac_wine_try_cflags_saved
=$CFLAGS
8432 CFLAGS
="$CFLAGS -fPIC -Wl,-R,\$ORIGIN/../lib"
8433 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8434 /* end confdefs.h. */
8435 int main(int argc, char **argv) { return 0; }
8437 if ac_fn_c_try_link
"$LINENO"; then :
8438 eval "$as_ac_var=yes"
8440 eval "$as_ac_var=no"
8442 rm -f core conftest.err conftest.
$ac_objext \
8443 conftest
$ac_exeext conftest.
$ac_ext
8444 CFLAGS
=$ac_wine_try_cflags_saved
8446 eval ac_res
=\$
$as_ac_var
8447 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
8448 $as_echo "$ac_res" >&6; }
8449 if eval test \"x\$
"$as_ac_var"\" = x
"yes"; then :
8450 LDRPATH_INSTALL
="-Wl,-R,\\\$\$ORIGIN/\`\$(MAKEDEP) -R \$(bindir) \$(libdir)\`"
8451 LDRPATH_LOCAL
="-Wl,-R,\\\$\$ORIGIN/\$(top_builddir)/libs/wine"
8455 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,--enable-new-dtags" >&5
8456 $as_echo_n "checking whether the compiler supports -Wl,--enable-new-dtags... " >&6; }
8457 if ${ac_cv_cflags__Wl___enable_new_dtags+:} false
; then :
8458 $as_echo_n "(cached) " >&6
8460 ac_wine_try_cflags_saved
=$CFLAGS
8461 CFLAGS
="$CFLAGS -Wl,--enable-new-dtags"
8462 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8463 /* end confdefs.h. */
8464 int main(int argc, char **argv) { return 0; }
8466 if ac_fn_c_try_link
"$LINENO"; then :
8467 ac_cv_cflags__Wl___enable_new_dtags
=yes
8469 ac_cv_cflags__Wl___enable_new_dtags
=no
8471 rm -f core conftest.err conftest.
$ac_objext \
8472 conftest
$ac_exeext conftest.
$ac_ext
8473 CFLAGS
=$ac_wine_try_cflags_saved
8475 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl___enable_new_dtags" >&5
8476 $as_echo "$ac_cv_cflags__Wl___enable_new_dtags" >&6; }
8477 if test "x$ac_cv_cflags__Wl___enable_new_dtags" = xyes
; then :
8478 LDRPATH_INSTALL
="$LDRPATH_INSTALL -Wl,--enable-new-dtags"
8482 *i
[3456789]86* | x86_64
)
8483 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,--section-start,.interp=0x7bf00400" >&5
8484 $as_echo_n "checking whether the compiler supports -Wl,--section-start,.interp=0x7bf00400... " >&6; }
8485 if ${ac_cv_cflags__Wl___section_start__interp_0x7bf00400+:} false
; then :
8486 $as_echo_n "(cached) " >&6
8488 ac_wine_try_cflags_saved
=$CFLAGS
8489 CFLAGS
="$CFLAGS -Wl,--section-start,.interp=0x7bf00400"
8490 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8491 /* end confdefs.h. */
8492 int main(int argc, char **argv) { return 0; }
8494 if ac_fn_c_try_link
"$LINENO"; then :
8495 ac_cv_cflags__Wl___section_start__interp_0x7bf00400
=yes
8497 ac_cv_cflags__Wl___section_start__interp_0x7bf00400
=no
8499 rm -f core conftest.err conftest.
$ac_objext \
8500 conftest
$ac_exeext conftest.
$ac_ext
8501 CFLAGS
=$ac_wine_try_cflags_saved
8503 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl___section_start__interp_0x7bf00400" >&5
8504 $as_echo "$ac_cv_cflags__Wl___section_start__interp_0x7bf00400" >&6; }
8505 if test "x$ac_cv_cflags__Wl___section_start__interp_0x7bf00400" = xyes
; then :
8507 freebsd
* | kfreebsd
*-gnu) LDEXECFLAGS
="$LDEXECFLAGS -Wl,--section-start,.interp=0x60000400" ;;
8508 *) LDEXECFLAGS
="$LDEXECFLAGS -Wl,--section-start,.interp=0x7bf00400" ;;
8512 # Extract the first word of "prelink", so it can be a program name with args.
8513 set dummy prelink
; ac_word
=$2
8514 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8515 $as_echo_n "checking for $ac_word... " >&6; }
8516 if ${ac_cv_path_PRELINK+:} false
; then :
8517 $as_echo_n "(cached) " >&6
8521 ac_cv_path_PRELINK
="$PRELINK" # Let the user override the test with a path.
8524 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
8525 for as_dir
in /sbin
/usr
/sbin
$PATH
8528 test -z "$as_dir" && as_dir
=.
8529 for ac_exec_ext
in '' $ac_executable_extensions; do
8530 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
8531 ac_cv_path_PRELINK
="$as_dir/$ac_word$ac_exec_ext"
8532 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8539 test -z "$ac_cv_path_PRELINK" && ac_cv_path_PRELINK
="false"
8543 PRELINK
=$ac_cv_path_PRELINK
8544 if test -n "$PRELINK"; then
8545 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PRELINK" >&5
8546 $as_echo "$PRELINK" >&6; }
8548 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8549 $as_echo "no" >&6; }
8553 if test "x$PRELINK" = xfalse
8555 as_fn_append wine_warnings
"|prelink not found, base address of core dlls won't be set correctly."
8561 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we can build a UnixWare (Solaris) dll" >&5
8562 $as_echo_n "checking whether we can build a UnixWare (Solaris) dll... " >&6; }
8563 if ${ac_cv_c_dll_unixware+:} false
; then :
8564 $as_echo_n "(cached) " >&6
8566 ac_wine_try_cflags_saved
=$CFLAGS
8567 CFLAGS
="$CFLAGS -fPIC -Wl,-G,-h,conftest.so.1.0,-B,symbolic"
8568 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8569 /* end confdefs.h. */
8572 if ac_fn_c_try_link
"$LINENO"; then :
8573 ac_cv_c_dll_unixware
="yes"
8575 ac_cv_c_dll_unixware
="no"
8577 rm -f core conftest.err conftest.
$ac_objext \
8578 conftest
$ac_exeext conftest.
$ac_ext
8579 CFLAGS
=$ac_wine_try_cflags_saved
8581 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_dll_unixware" >&5
8582 $as_echo "$ac_cv_c_dll_unixware" >&6; }
8583 if test "$ac_cv_c_dll_unixware" = "yes"
8585 LDSHARED
="\$(CC) -Wl,-G,-h,libwine.so.$libwine_soversion"
8588 libwine_targets
="libwine.so libwine.so.$libwine_soversion libwine.so.$libwine_version"
8590 OBJS = \$(C_SRCS:.c=.o) \$(EXTRA_OBJS)
8594 libwine.so.$libwine_version: \$(OBJS) \$(srcdir)/wine.map
8595 $LDSHARED \$(OBJS) \$(EXTRALIBS) \$(LDFLAGS) \$(LIBS) -o \$@
8597 libwine.so.$libwine_soversion: libwine.so.$libwine_version
8598 \$(RM) \$@ && \$(LN_S) libwine.so.$libwine_version \$@
8600 libwine.so: libwine.so.$libwine_soversion
8601 \$(RM) \$@ && \$(LN_S) libwine.so.$libwine_soversion \$@
8603 install install-lib:: libwine.so.$libwine_version
8604 \$(INSTALL_PROGRAM) libwine.so.$libwine_version \$(DESTDIR)\$(libdir)/libwine.so.$libwine_version
8605 cd \$(DESTDIR)\$(libdir) && \$(RM) libwine.so.$libwine_soversion && \$(LN_S) libwine.so.$libwine_version libwine.so.$libwine_soversion
8607 install install-dev::
8608 cd \$(DESTDIR)\$(libdir) && \$(RM) libwine.so && \$(LN_S) libwine.so.$libwine_version libwine.so
8611 -cd \$(DESTDIR)\$(libdir) && \$(RM) libwine.so libwine.so.$libwine_soversion libwine.so.$libwine_version
8615 as_fn_append LOADER_RULES
"
8616 $wine_binary: main.o
8617 \$(CC) -o \$@ $LDEXECFLAGS main.o \$(LIBWINE) \$(LIBPORT) \$(EXTRALIBS) \$(LDFLAGS) \$(LDRPATH_LOCAL)
8619 wine-installed: main.o
8620 \$(CC) -o \$@ $LDEXECFLAGS main.o \$(LIBWINE) \$(LIBPORT) \$(EXTRALIBS) \$(LDFLAGS) \$(LDRPATH_INSTALL)
8625 as_fn_append LIBWINE_RULES
"
8626 EXTRA_TARGETS = $libwine_targets
8629 enable_wineqtdecoder
=${enable_wineqtdecoder:-no}
8630 enable_winemac_drv
=${enable_winemac_drv:-no}
8634 if test "$cross_compiling" = "no" -a "x$enable_tests" != xno
-a "$LIBEXT" != "dll"
8638 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
8641 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 " ;;
8643 ac_prefix_list
="" ;;
8645 for ac_prog
in $ac_prefix_list
8647 # Extract the first word of "$ac_prog", so it can be a program name with args.
8648 set dummy
$ac_prog; ac_word
=$2
8649 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8650 $as_echo_n "checking for $ac_word... " >&6; }
8651 if ${ac_cv_prog_CROSSCC+:} false
; then :
8652 $as_echo_n "(cached) " >&6
8654 if test -n "$CROSSCC"; then
8655 ac_cv_prog_CROSSCC
="$CROSSCC" # Let the user override the test.
8657 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
8661 test -z "$as_dir" && as_dir
=.
8662 for ac_exec_ext
in '' $ac_executable_extensions; do
8663 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
8664 ac_cv_prog_CROSSCC
="$ac_prog"
8665 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8674 CROSSCC
=$ac_cv_prog_CROSSCC
8675 if test -n "$CROSSCC"; then
8676 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CROSSCC" >&5
8677 $as_echo "$CROSSCC" >&6; }
8679 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8680 $as_echo "no" >&6; }
8684 test -n "$CROSSCC" && break
8686 test -n "$CROSSCC" || CROSSCC
="false"
8688 if test "$CROSSCC" != "false"
8692 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CROSSCC works" >&5
8693 $as_echo_n "checking whether $CROSSCC works... " >&6; }
8694 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8695 /* end confdefs.h. */
8705 if ac_fn_c_try_compile
"$LINENO"; then :
8706 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
8707 $as_echo "yes" >&6; }
8713 *-gcc) CROSSTARGET
=`expr "$1" : '\(.*\)-gcc'` ;;
8718 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8719 $as_echo "no" >&6; }
8721 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
8727 if test "$ac_cv_header_pthread_h" = "yes"
8729 ac_fn_c_check_func
"$LINENO" "pthread_create" "ac_cv_func_pthread_create"
8730 if test "x$ac_cv_func_pthread_create" = xyes
; then :
8733 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pthread_create in -lpthread" >&5
8734 $as_echo_n "checking for pthread_create in -lpthread... " >&6; }
8735 if ${ac_cv_lib_pthread_pthread_create+:} false
; then :
8736 $as_echo_n "(cached) " >&6
8738 ac_check_lib_save_LIBS
=$LIBS
8739 LIBS
="-lpthread $LIBS"
8740 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8741 /* end confdefs.h. */
8743 /* Override any GCC internal prototype to avoid an error.
8744 Use char because int might match the return type of a GCC
8745 builtin and then its argument prototype would still apply. */
8749 char pthread_create ();
8753 return pthread_create ();
8758 if ac_fn_c_try_link
"$LINENO"; then :
8759 ac_cv_lib_pthread_pthread_create
=yes
8761 ac_cv_lib_pthread_pthread_create
=no
8763 rm -f core conftest.err conftest.
$ac_objext \
8764 conftest
$ac_exeext conftest.
$ac_ext
8765 LIBS
=$ac_check_lib_save_LIBS
8767 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_pthread_pthread_create" >&5
8768 $as_echo "$ac_cv_lib_pthread_pthread_create" >&6; }
8769 if test "x$ac_cv_lib_pthread_pthread_create" = xyes
; then :
8770 PTHREAD_LIBS
="-lpthread"
8777 if test "x$ac_cv_func_pthread_create" != xyes
-a "x$PTHREAD_LIBS" = x
; then :
8778 case "x$with_pthread" in
8780 *) as_fn_error $?
"pthread ${notice_platform}development files not found.
8781 Wine cannot support threads without libpthread.
8782 Use the --without-pthread option if you really want this." "$LINENO" 5 ;;
8787 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for X" >&5
8788 $as_echo_n "checking for X... " >&6; }
8791 # Check whether --with-x was given.
8792 if test "${with_x+set}" = set; then :
8796 # $have_x is `yes', `no', `disabled', or empty when we do not yet know.
8797 if test "x$with_x" = xno
; then
8798 # The user explicitly disabled X.
8801 case $x_includes,$x_libraries in #(
8802 *\'*) as_fn_error $?
"cannot use X directory names containing '" "$LINENO" 5;; #(
8803 *,NONE | NONE
,*) if ${ac_cv_have_x+:} false
; then :
8804 $as_echo_n "(cached) " >&6
8806 # One or both of the vars are not set, and there is no cached value.
8807 ac_x_includes
=no ac_x_libraries
=no
8808 rm -f -r conftest.dir
8809 if mkdir conftest.dir
; then
8811 cat >Imakefile
<<'_ACEOF'
8813 @echo incroot='${INCROOT}'
8815 @echo usrlibdir='${USRLIBDIR}'
8817 @echo libdir='${LIBDIR}'
8819 if (export CC
; ${XMKMF-xmkmf}) >/dev
/null
2>/dev
/null
&& test -f Makefile
; then
8820 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
8821 for ac_var
in incroot usrlibdir libdir
; do
8822 eval "ac_im_$ac_var=\`\${MAKE-make} $ac_var 2>/dev/null | sed -n 's/^$ac_var=//p'\`"
8824 # Open Windows xmkmf reportedly sets LIBDIR instead of USRLIBDIR.
8825 for ac_extension
in a so sl dylib la dll
; do
8826 if test ! -f "$ac_im_usrlibdir/libX11.$ac_extension" &&
8827 test -f "$ac_im_libdir/libX11.$ac_extension"; then
8828 ac_im_usrlibdir
=$ac_im_libdir; break
8831 # Screen out bogus values from the imake configuration. They are
8832 # bogus both because they are the default anyway, and because
8833 # using them would break gcc on systems where it needs fixed includes.
8834 case $ac_im_incroot in
8835 /usr
/include
) ac_x_includes
= ;;
8836 *) test -f "$ac_im_incroot/X11/Xos.h" && ac_x_includes
=$ac_im_incroot;;
8838 case $ac_im_usrlibdir in
8839 /usr
/lib |
/usr
/lib64 |
/lib |
/lib64
) ;;
8840 *) test -d "$ac_im_usrlibdir" && ac_x_libraries
=$ac_im_usrlibdir ;;
8844 rm -f -r conftest.dir
8847 # Standard set of common directories for X headers.
8848 # Check X11 before X11Rn because it is often a symlink to the current release.
8862 /usr/local/X11/include
8863 /usr/local/X11R7/include
8864 /usr/local/X11R6/include
8865 /usr/local/X11R5/include
8866 /usr/local/X11R4/include
8868 /usr/local/include/X11
8869 /usr/local/include/X11R7
8870 /usr/local/include/X11R6
8871 /usr/local/include/X11R5
8872 /usr/local/include/X11R4
8876 /usr/XFree86/include/X11
8880 /usr/unsupported/include
8882 /usr/local/x11r5/include
8883 /usr/lpp/Xamples/include
8885 /usr/openwin/include
8886 /usr/openwin/share/include'
8888 if test "$ac_x_includes" = no
; then
8889 # Guess where to find include files, by looking for Xlib.h.
8890 # First, try using that file with no special directory specified.
8891 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8892 /* end confdefs.h. */
8893 #include <X11/Xlib.h>
8895 if ac_fn_c_try_cpp
"$LINENO"; then :
8896 # We can compile using X headers with no special include directory.
8899 for ac_dir
in $ac_x_header_dirs; do
8900 if test -r "$ac_dir/X11/Xlib.h"; then
8901 ac_x_includes
=$ac_dir
8906 rm -f conftest.err conftest.i conftest.
$ac_ext
8907 fi # $ac_x_includes = no
8909 if test "$ac_x_libraries" = no
; then
8910 # Check for the libraries.
8911 # See if we find them without any special options.
8912 # Don't add to $LIBS permanently.
8915 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8916 /* end confdefs.h. */
8917 #include <X11/Xlib.h>
8926 if ac_fn_c_try_link
"$LINENO"; then :
8928 # We can link X programs with no special library path.
8932 for ac_dir
in `$as_echo "$ac_x_includes $ac_x_header_dirs" | sed s/include/lib/g`
8934 # Don't even attempt the hair of trying to link an X program!
8935 for ac_extension
in a so sl dylib la dll
; do
8936 if test -r "$ac_dir/libX11.$ac_extension"; then
8937 ac_x_libraries
=$ac_dir
8943 rm -f core conftest.err conftest.
$ac_objext \
8944 conftest
$ac_exeext conftest.
$ac_ext
8945 fi # $ac_x_libraries = no
8947 case $ac_x_includes,$ac_x_libraries in #(
8949 # Didn't find X, or a directory has "'" in its name.
8950 ac_cv_have_x
="have_x=no";; #(
8952 # Record where we found X for the cache.
8953 ac_cv_have_x
="have_x=yes\
8954 ac_x_includes='$ac_x_includes'\
8955 ac_x_libraries='$ac_x_libraries'"
8961 eval "$ac_cv_have_x"
8964 if test "$have_x" != yes; then
8965 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $have_x" >&5
8966 $as_echo "$have_x" >&6; }
8969 # If each of the values was on the command line, it overrides each guess.
8970 test "x$x_includes" = xNONE
&& x_includes
=$ac_x_includes
8971 test "x$x_libraries" = xNONE
&& x_libraries
=$ac_x_libraries
8972 # Update the cache value to reflect the command line values.
8973 ac_cv_have_x
="have_x=yes\
8974 ac_x_includes='$x_includes'\
8975 ac_x_libraries='$x_libraries'"
8976 { $as_echo "$as_me:${as_lineno-$LINENO}: result: libraries $x_libraries, headers $x_includes" >&5
8977 $as_echo "libraries $x_libraries, headers $x_includes" >&6; }
8980 if test "$no_x" = yes; then
8981 # Not all programs may use this symbol, but it does not hurt to define it.
8983 $as_echo "#define X_DISPLAY_MISSING 1" >>confdefs.h
8985 X_CFLAGS
= X_PRE_LIBS
= X_LIBS
= X_EXTRA_LIBS
=
8987 if test -n "$x_includes"; then
8988 X_CFLAGS
="$X_CFLAGS -I$x_includes"
8991 # It would also be nice to do this for all -L options, not just this one.
8992 if test -n "$x_libraries"; then
8993 X_LIBS
="$X_LIBS -L$x_libraries"
8994 # For Solaris; some versions of Sun CC require a space after -R and
8995 # others require no space. Words are not sufficient . . . .
8996 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -R must be followed by a space" >&5
8997 $as_echo_n "checking whether -R must be followed by a space... " >&6; }
8998 ac_xsave_LIBS
=$LIBS; LIBS
="$LIBS -R$x_libraries"
8999 ac_xsave_c_werror_flag
=$ac_c_werror_flag
9000 ac_c_werror_flag
=yes
9001 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9002 /* end confdefs.h. */
9012 if ac_fn_c_try_link
"$LINENO"; then :
9013 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9014 $as_echo "no" >&6; }
9015 X_LIBS
="$X_LIBS -R$x_libraries"
9017 LIBS
="$ac_xsave_LIBS -R $x_libraries"
9018 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9019 /* end confdefs.h. */
9029 if ac_fn_c_try_link
"$LINENO"; then :
9030 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
9031 $as_echo "yes" >&6; }
9032 X_LIBS
="$X_LIBS -R $x_libraries"
9034 { $as_echo "$as_me:${as_lineno-$LINENO}: result: neither works" >&5
9035 $as_echo "neither works" >&6; }
9037 rm -f core conftest.err conftest.
$ac_objext \
9038 conftest
$ac_exeext conftest.
$ac_ext
9040 rm -f core conftest.err conftest.
$ac_objext \
9041 conftest
$ac_exeext conftest.
$ac_ext
9042 ac_c_werror_flag
=$ac_xsave_c_werror_flag
9046 # Check for system-dependent libraries X programs must link with.
9047 # Do this before checking for the system-independent R6 libraries
9048 # (-lICE), since we may need -lsocket or whatever for X linking.
9050 if test "$ISC" = yes; then
9051 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lnsl_s -linet"
9053 # Martyn Johnson says this is needed for Ultrix, if the X
9054 # libraries were built with DECnet support. And Karl Berry says
9055 # the Alpha needs dnet_stub (dnet does not exist).
9056 ac_xsave_LIBS
="$LIBS"; LIBS
="$LIBS $X_LIBS -lX11"
9057 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9058 /* end confdefs.h. */
9060 /* Override any GCC internal prototype to avoid an error.
9061 Use char because int might match the return type of a GCC
9062 builtin and then its argument prototype would still apply. */
9066 char XOpenDisplay ();
9070 return XOpenDisplay ();
9075 if ac_fn_c_try_link
"$LINENO"; then :
9078 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dnet_ntoa in -ldnet" >&5
9079 $as_echo_n "checking for dnet_ntoa in -ldnet... " >&6; }
9080 if ${ac_cv_lib_dnet_dnet_ntoa+:} false
; then :
9081 $as_echo_n "(cached) " >&6
9083 ac_check_lib_save_LIBS
=$LIBS
9085 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9086 /* end confdefs.h. */
9088 /* Override any GCC internal prototype to avoid an error.
9089 Use char because int might match the return type of a GCC
9090 builtin and then its argument prototype would still apply. */
9098 return dnet_ntoa ();
9103 if ac_fn_c_try_link
"$LINENO"; then :
9104 ac_cv_lib_dnet_dnet_ntoa
=yes
9106 ac_cv_lib_dnet_dnet_ntoa
=no
9108 rm -f core conftest.err conftest.
$ac_objext \
9109 conftest
$ac_exeext conftest.
$ac_ext
9110 LIBS
=$ac_check_lib_save_LIBS
9112 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dnet_dnet_ntoa" >&5
9113 $as_echo "$ac_cv_lib_dnet_dnet_ntoa" >&6; }
9114 if test "x$ac_cv_lib_dnet_dnet_ntoa" = xyes
; then :
9115 X_EXTRA_LIBS
="$X_EXTRA_LIBS -ldnet"
9118 if test $ac_cv_lib_dnet_dnet_ntoa = no
; then
9119 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dnet_ntoa in -ldnet_stub" >&5
9120 $as_echo_n "checking for dnet_ntoa in -ldnet_stub... " >&6; }
9121 if ${ac_cv_lib_dnet_stub_dnet_ntoa+:} false
; then :
9122 $as_echo_n "(cached) " >&6
9124 ac_check_lib_save_LIBS
=$LIBS
9125 LIBS
="-ldnet_stub $LIBS"
9126 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9127 /* end confdefs.h. */
9129 /* Override any GCC internal prototype to avoid an error.
9130 Use char because int might match the return type of a GCC
9131 builtin and then its argument prototype would still apply. */
9139 return dnet_ntoa ();
9144 if ac_fn_c_try_link
"$LINENO"; then :
9145 ac_cv_lib_dnet_stub_dnet_ntoa
=yes
9147 ac_cv_lib_dnet_stub_dnet_ntoa
=no
9149 rm -f core conftest.err conftest.
$ac_objext \
9150 conftest
$ac_exeext conftest.
$ac_ext
9151 LIBS
=$ac_check_lib_save_LIBS
9153 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dnet_stub_dnet_ntoa" >&5
9154 $as_echo "$ac_cv_lib_dnet_stub_dnet_ntoa" >&6; }
9155 if test "x$ac_cv_lib_dnet_stub_dnet_ntoa" = xyes
; then :
9156 X_EXTRA_LIBS
="$X_EXTRA_LIBS -ldnet_stub"
9161 rm -f core conftest.err conftest.
$ac_objext \
9162 conftest
$ac_exeext conftest.
$ac_ext
9163 LIBS
="$ac_xsave_LIBS"
9165 # msh@cis.ufl.edu says -lnsl (and -lsocket) are needed for his 386/AT,
9166 # to get the SysV transport functions.
9167 # Chad R. Larson says the Pyramis MIS-ES running DC/OSx (SVR4)
9169 # The nsl library prevents programs from opening the X display
9170 # on Irix 5.2, according to T.E. Dickey.
9171 # The functions gethostbyname, getservbyname, and inet_addr are
9172 # in -lbsd on LynxOS 3.0.1/i386, according to Lars Hecking.
9173 ac_fn_c_check_func
"$LINENO" "gethostbyname" "ac_cv_func_gethostbyname"
9174 if test "x$ac_cv_func_gethostbyname" = xyes
; then :
9178 if test $ac_cv_func_gethostbyname = no
; then
9179 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gethostbyname in -lnsl" >&5
9180 $as_echo_n "checking for gethostbyname in -lnsl... " >&6; }
9181 if ${ac_cv_lib_nsl_gethostbyname+:} false
; then :
9182 $as_echo_n "(cached) " >&6
9184 ac_check_lib_save_LIBS
=$LIBS
9186 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9187 /* end confdefs.h. */
9189 /* Override any GCC internal prototype to avoid an error.
9190 Use char because int might match the return type of a GCC
9191 builtin and then its argument prototype would still apply. */
9195 char gethostbyname ();
9199 return gethostbyname ();
9204 if ac_fn_c_try_link
"$LINENO"; then :
9205 ac_cv_lib_nsl_gethostbyname
=yes
9207 ac_cv_lib_nsl_gethostbyname
=no
9209 rm -f core conftest.err conftest.
$ac_objext \
9210 conftest
$ac_exeext conftest.
$ac_ext
9211 LIBS
=$ac_check_lib_save_LIBS
9213 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_nsl_gethostbyname" >&5
9214 $as_echo "$ac_cv_lib_nsl_gethostbyname" >&6; }
9215 if test "x$ac_cv_lib_nsl_gethostbyname" = xyes
; then :
9216 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lnsl"
9219 if test $ac_cv_lib_nsl_gethostbyname = no
; then
9220 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gethostbyname in -lbsd" >&5
9221 $as_echo_n "checking for gethostbyname in -lbsd... " >&6; }
9222 if ${ac_cv_lib_bsd_gethostbyname+:} false
; then :
9223 $as_echo_n "(cached) " >&6
9225 ac_check_lib_save_LIBS
=$LIBS
9227 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9228 /* end confdefs.h. */
9230 /* Override any GCC internal prototype to avoid an error.
9231 Use char because int might match the return type of a GCC
9232 builtin and then its argument prototype would still apply. */
9236 char gethostbyname ();
9240 return gethostbyname ();
9245 if ac_fn_c_try_link
"$LINENO"; then :
9246 ac_cv_lib_bsd_gethostbyname
=yes
9248 ac_cv_lib_bsd_gethostbyname
=no
9250 rm -f core conftest.err conftest.
$ac_objext \
9251 conftest
$ac_exeext conftest.
$ac_ext
9252 LIBS
=$ac_check_lib_save_LIBS
9254 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_bsd_gethostbyname" >&5
9255 $as_echo "$ac_cv_lib_bsd_gethostbyname" >&6; }
9256 if test "x$ac_cv_lib_bsd_gethostbyname" = xyes
; then :
9257 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lbsd"
9263 # lieder@skyler.mavd.honeywell.com says without -lsocket,
9264 # socket/setsockopt and other routines are undefined under SCO ODT
9265 # 2.0. But -lsocket is broken on IRIX 5.2 (and is not necessary
9266 # on later versions), says Simon Leinen: it contains gethostby*
9267 # variants that don't use the name server (or something). -lsocket
9268 # must be given before -lnsl if both are needed. We assume that
9269 # if connect needs -lnsl, so does gethostbyname.
9270 ac_fn_c_check_func
"$LINENO" "connect" "ac_cv_func_connect"
9271 if test "x$ac_cv_func_connect" = xyes
; then :
9275 if test $ac_cv_func_connect = no
; then
9276 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for connect in -lsocket" >&5
9277 $as_echo_n "checking for connect in -lsocket... " >&6; }
9278 if ${ac_cv_lib_socket_connect+:} false
; then :
9279 $as_echo_n "(cached) " >&6
9281 ac_check_lib_save_LIBS
=$LIBS
9282 LIBS
="-lsocket $X_EXTRA_LIBS $LIBS"
9283 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9284 /* end confdefs.h. */
9286 /* Override any GCC internal prototype to avoid an error.
9287 Use char because int might match the return type of a GCC
9288 builtin and then its argument prototype would still apply. */
9301 if ac_fn_c_try_link
"$LINENO"; then :
9302 ac_cv_lib_socket_connect
=yes
9304 ac_cv_lib_socket_connect
=no
9306 rm -f core conftest.err conftest.
$ac_objext \
9307 conftest
$ac_exeext conftest.
$ac_ext
9308 LIBS
=$ac_check_lib_save_LIBS
9310 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_socket_connect" >&5
9311 $as_echo "$ac_cv_lib_socket_connect" >&6; }
9312 if test "x$ac_cv_lib_socket_connect" = xyes
; then :
9313 X_EXTRA_LIBS
="-lsocket $X_EXTRA_LIBS"
9318 # Guillermo Gomez says -lposix is necessary on A/UX.
9319 ac_fn_c_check_func
"$LINENO" "remove" "ac_cv_func_remove"
9320 if test "x$ac_cv_func_remove" = xyes
; then :
9324 if test $ac_cv_func_remove = no
; then
9325 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for remove in -lposix" >&5
9326 $as_echo_n "checking for remove in -lposix... " >&6; }
9327 if ${ac_cv_lib_posix_remove+:} false
; then :
9328 $as_echo_n "(cached) " >&6
9330 ac_check_lib_save_LIBS
=$LIBS
9331 LIBS
="-lposix $LIBS"
9332 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9333 /* end confdefs.h. */
9335 /* Override any GCC internal prototype to avoid an error.
9336 Use char because int might match the return type of a GCC
9337 builtin and then its argument prototype would still apply. */
9350 if ac_fn_c_try_link
"$LINENO"; then :
9351 ac_cv_lib_posix_remove
=yes
9353 ac_cv_lib_posix_remove
=no
9355 rm -f core conftest.err conftest.
$ac_objext \
9356 conftest
$ac_exeext conftest.
$ac_ext
9357 LIBS
=$ac_check_lib_save_LIBS
9359 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_posix_remove" >&5
9360 $as_echo "$ac_cv_lib_posix_remove" >&6; }
9361 if test "x$ac_cv_lib_posix_remove" = xyes
; then :
9362 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lposix"
9367 # BSDI BSD/OS 2.1 needs -lipc for XOpenDisplay.
9368 ac_fn_c_check_func
"$LINENO" "shmat" "ac_cv_func_shmat"
9369 if test "x$ac_cv_func_shmat" = xyes
; then :
9373 if test $ac_cv_func_shmat = no
; then
9374 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shmat in -lipc" >&5
9375 $as_echo_n "checking for shmat in -lipc... " >&6; }
9376 if ${ac_cv_lib_ipc_shmat+:} false
; then :
9377 $as_echo_n "(cached) " >&6
9379 ac_check_lib_save_LIBS
=$LIBS
9381 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9382 /* end confdefs.h. */
9384 /* Override any GCC internal prototype to avoid an error.
9385 Use char because int might match the return type of a GCC
9386 builtin and then its argument prototype would still apply. */
9399 if ac_fn_c_try_link
"$LINENO"; then :
9400 ac_cv_lib_ipc_shmat
=yes
9402 ac_cv_lib_ipc_shmat
=no
9404 rm -f core conftest.err conftest.
$ac_objext \
9405 conftest
$ac_exeext conftest.
$ac_ext
9406 LIBS
=$ac_check_lib_save_LIBS
9408 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ipc_shmat" >&5
9409 $as_echo "$ac_cv_lib_ipc_shmat" >&6; }
9410 if test "x$ac_cv_lib_ipc_shmat" = xyes
; then :
9411 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lipc"
9417 # Check for libraries that X11R6 Xt/Xaw programs need.
9418 ac_save_LDFLAGS
=$LDFLAGS
9419 test -n "$x_libraries" && LDFLAGS
="$LDFLAGS -L$x_libraries"
9420 # SM needs ICE to (dynamically) link under SunOS 4.x (so we have to
9421 # check for ICE first), but we must link in the order -lSM -lICE or
9422 # we get undefined symbols. So assume we have SM if we have ICE.
9423 # These have to be linked with before -lX11, unlike the other
9424 # libraries we check for below, so use a different variable.
9425 # John Interrante, Karl Berry
9426 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for IceConnectionNumber in -lICE" >&5
9427 $as_echo_n "checking for IceConnectionNumber in -lICE... " >&6; }
9428 if ${ac_cv_lib_ICE_IceConnectionNumber+:} false
; then :
9429 $as_echo_n "(cached) " >&6
9431 ac_check_lib_save_LIBS
=$LIBS
9432 LIBS
="-lICE $X_EXTRA_LIBS $LIBS"
9433 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9434 /* end confdefs.h. */
9436 /* Override any GCC internal prototype to avoid an error.
9437 Use char because int might match the return type of a GCC
9438 builtin and then its argument prototype would still apply. */
9442 char IceConnectionNumber ();
9446 return IceConnectionNumber ();
9451 if ac_fn_c_try_link
"$LINENO"; then :
9452 ac_cv_lib_ICE_IceConnectionNumber
=yes
9454 ac_cv_lib_ICE_IceConnectionNumber
=no
9456 rm -f core conftest.err conftest.
$ac_objext \
9457 conftest
$ac_exeext conftest.
$ac_ext
9458 LIBS
=$ac_check_lib_save_LIBS
9460 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ICE_IceConnectionNumber" >&5
9461 $as_echo "$ac_cv_lib_ICE_IceConnectionNumber" >&6; }
9462 if test "x$ac_cv_lib_ICE_IceConnectionNumber" = xyes
; then :
9463 X_PRE_LIBS
="$X_PRE_LIBS -lSM -lICE"
9466 LDFLAGS
=$ac_save_LDFLAGS
9471 if test "$have_x" = "yes"
9473 ac_save_CPPFLAGS
="$CPPFLAGS"
9474 CPPFLAGS
="$CPPFLAGS $X_CFLAGS"
9476 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lX11" >&5
9477 $as_echo_n "checking for -lX11... " >&6; }
9478 if ${ac_cv_lib_soname_X11+:} false
; then :
9479 $as_echo_n "(cached) " >&6
9481 ac_check_soname_save_LIBS
=$LIBS
9482 LIBS
="-lX11 $X_LIBS $X_EXTRA_LIBS $LIBS"
9483 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9484 /* end confdefs.h. */
9486 /* Override any GCC internal prototype to avoid an error.
9487 Use char because int might match the return type of a GCC
9488 builtin and then its argument prototype would still apply. */
9492 char XCreateWindow ();
9496 return XCreateWindow ();
9501 if ac_fn_c_try_link
"$LINENO"; then :
9503 dll
) ac_cv_lib_soname_X11
=`$ac_cv_path_LDD conftest.exe | grep "X11" | sed -e "s/dll.*/dll/"';2,$d'` ;;
9504 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'` ;;
9505 *) ac_cv_lib_soname_X11
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libX11\\.$LIBEXT" | sed -e "s/^.*\\[\\(libX11\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
9506 if ${ac_cv_lib_soname_X11:+false} :; then :
9507 ac_cv_lib_soname_X11
=`$LDD conftest$ac_exeext | grep "libX11\\.$LIBEXT" | sed -e "s/^.*\(libX11\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
9511 rm -f core conftest.err conftest.
$ac_objext \
9512 conftest
$ac_exeext conftest.
$ac_ext
9513 LIBS
=$ac_check_soname_save_LIBS
9515 if ${ac_cv_lib_soname_X11:+false} :; then :
9516 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
9517 $as_echo "not found" >&6; }
9520 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_X11" >&5
9521 $as_echo "$ac_cv_lib_soname_X11" >&6; }
9523 cat >>confdefs.h
<<_ACEOF
9524 #define SONAME_LIBX11 "$ac_cv_lib_soname_X11"
9529 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXext" >&5
9530 $as_echo_n "checking for -lXext... " >&6; }
9531 if ${ac_cv_lib_soname_Xext+:} false
; then :
9532 $as_echo_n "(cached) " >&6
9534 ac_check_soname_save_LIBS
=$LIBS
9535 LIBS
="-lXext $X_LIBS -lX11 $X_EXTRA_LIBS $LIBS"
9536 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9537 /* end confdefs.h. */
9539 /* Override any GCC internal prototype to avoid an error.
9540 Use char because int might match the return type of a GCC
9541 builtin and then its argument prototype would still apply. */
9545 char XextCreateExtension ();
9549 return XextCreateExtension ();
9554 if ac_fn_c_try_link
"$LINENO"; then :
9556 dll
) ac_cv_lib_soname_Xext
=`$ac_cv_path_LDD conftest.exe | grep "Xext" | sed -e "s/dll.*/dll/"';2,$d'` ;;
9557 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'` ;;
9558 *) ac_cv_lib_soname_Xext
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXext\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXext\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
9559 if ${ac_cv_lib_soname_Xext:+false} :; then :
9560 ac_cv_lib_soname_Xext
=`$LDD conftest$ac_exeext | grep "libXext\\.$LIBEXT" | sed -e "s/^.*\(libXext\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
9564 rm -f core conftest.err conftest.
$ac_objext \
9565 conftest
$ac_exeext conftest.
$ac_ext
9566 LIBS
=$ac_check_soname_save_LIBS
9568 if ${ac_cv_lib_soname_Xext:+false} :; then :
9569 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
9570 $as_echo "not found" >&6; }
9573 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xext" >&5
9574 $as_echo "$ac_cv_lib_soname_Xext" >&6; }
9576 cat >>confdefs.h
<<_ACEOF
9577 #define SONAME_LIBXEXT "$ac_cv_lib_soname_Xext"
9580 X_LIBS
="$X_LIBS -lXext"
9582 X_LIBS
="$X_LIBS -lX11"
9584 for ac_header
in X11
/Xlib.h \
9587 X11
/Xcursor
/Xcursor.h \
9588 X11
/extensions
/shape.h \
9589 X11
/extensions
/XInput.h \
9590 X11
/extensions
/XInput2.h \
9591 X11
/extensions
/XShm.h \
9592 X11
/extensions
/Xcomposite.h \
9593 X11
/extensions
/Xinerama.h \
9594 X11
/extensions
/Xrandr.h \
9595 X11
/extensions
/Xrender.h \
9596 X11
/extensions
/xf86vmode.h \
9597 X11
/extensions
/xf86vmproto.h
9599 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
9600 ac_fn_c_check_header_compile
"$LINENO" "$ac_header" "$as_ac_Header" "#ifdef HAVE_X11_XLIB_H
9601 # include <X11/Xlib.h>
9603 #ifdef HAVE_X11_XUTIL_H
9604 # include <X11/Xutil.h>
9607 if eval test \"x\$
"$as_ac_Header"\" = x
"yes"; then :
9608 cat >>confdefs.h
<<_ACEOF
9609 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
9617 if test "$ac_cv_header_X11_XKBlib_h" = "yes"
9619 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XkbQueryExtension in -lX11" >&5
9620 $as_echo_n "checking for XkbQueryExtension in -lX11... " >&6; }
9621 if ${ac_cv_lib_X11_XkbQueryExtension+:} false
; then :
9622 $as_echo_n "(cached) " >&6
9624 ac_check_lib_save_LIBS
=$LIBS
9625 LIBS
="-lX11 $X_LIBS $X_EXTRA_LIBS $LIBS"
9626 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9627 /* end confdefs.h. */
9629 /* Override any GCC internal prototype to avoid an error.
9630 Use char because int might match the return type of a GCC
9631 builtin and then its argument prototype would still apply. */
9635 char XkbQueryExtension ();
9639 return XkbQueryExtension ();
9644 if ac_fn_c_try_link
"$LINENO"; then :
9645 ac_cv_lib_X11_XkbQueryExtension
=yes
9647 ac_cv_lib_X11_XkbQueryExtension
=no
9649 rm -f core conftest.err conftest.
$ac_objext \
9650 conftest
$ac_exeext conftest.
$ac_ext
9651 LIBS
=$ac_check_lib_save_LIBS
9653 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_X11_XkbQueryExtension" >&5
9654 $as_echo "$ac_cv_lib_X11_XkbQueryExtension" >&6; }
9655 if test "x$ac_cv_lib_X11_XkbQueryExtension" = xyes
; then :
9657 $as_echo "#define HAVE_XKB 1" >>confdefs.h
9663 if test "$ac_cv_header_X11_Xcursor_Xcursor_h" = "yes"
9665 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXcursor" >&5
9666 $as_echo_n "checking for -lXcursor... " >&6; }
9667 if ${ac_cv_lib_soname_Xcursor+:} false
; then :
9668 $as_echo_n "(cached) " >&6
9670 ac_check_soname_save_LIBS
=$LIBS
9671 LIBS
="-lXcursor $X_LIBS $X_EXTRA_LIBS $LIBS"
9672 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9673 /* end confdefs.h. */
9675 /* Override any GCC internal prototype to avoid an error.
9676 Use char because int might match the return type of a GCC
9677 builtin and then its argument prototype would still apply. */
9681 char XcursorImageLoadCursor ();
9685 return XcursorImageLoadCursor ();
9690 if ac_fn_c_try_link
"$LINENO"; then :
9692 dll
) ac_cv_lib_soname_Xcursor
=`$ac_cv_path_LDD conftest.exe | grep "Xcursor" | sed -e "s/dll.*/dll/"';2,$d'` ;;
9693 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'` ;;
9694 *) ac_cv_lib_soname_Xcursor
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXcursor\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXcursor\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
9695 if ${ac_cv_lib_soname_Xcursor:+false} :; then :
9696 ac_cv_lib_soname_Xcursor
=`$LDD conftest$ac_exeext | grep "libXcursor\\.$LIBEXT" | sed -e "s/^.*\(libXcursor\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
9700 rm -f core conftest.err conftest.
$ac_objext \
9701 conftest
$ac_exeext conftest.
$ac_ext
9702 LIBS
=$ac_check_soname_save_LIBS
9704 if ${ac_cv_lib_soname_Xcursor:+false} :; then :
9705 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
9706 $as_echo "not found" >&6; }
9709 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xcursor" >&5
9710 $as_echo "$ac_cv_lib_soname_Xcursor" >&6; }
9712 cat >>confdefs.h
<<_ACEOF
9713 #define SONAME_LIBXCURSOR "$ac_cv_lib_soname_Xcursor"
9719 if test "x$ac_cv_lib_soname_Xcursor" = "x"; then :
9720 case "x$with_xcursor" in
9721 x
) as_fn_append wine_notices
"|libxcursor ${notice_platform}development files not found, the Xcursor extension won't be supported." ;;
9723 *) as_fn_error $?
"libxcursor ${notice_platform}development files not found, the Xcursor extension won't be supported.
9724 This is an error since --with-xcursor was requested." "$LINENO" 5 ;;
9728 if test "$ac_cv_header_X11_extensions_XInput_h" = "yes"
9730 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXi" >&5
9731 $as_echo_n "checking for -lXi... " >&6; }
9732 if ${ac_cv_lib_soname_Xi+:} false
; then :
9733 $as_echo_n "(cached) " >&6
9735 ac_check_soname_save_LIBS
=$LIBS
9736 LIBS
="-lXi $X_LIBS $X_EXTRA_LIBS $LIBS"
9737 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9738 /* end confdefs.h. */
9740 /* Override any GCC internal prototype to avoid an error.
9741 Use char because int might match the return type of a GCC
9742 builtin and then its argument prototype would still apply. */
9746 char XOpenDevice ();
9750 return XOpenDevice ();
9755 if ac_fn_c_try_link
"$LINENO"; then :
9757 dll
) ac_cv_lib_soname_Xi
=`$ac_cv_path_LDD conftest.exe | grep "Xi" | sed -e "s/dll.*/dll/"';2,$d'` ;;
9758 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'` ;;
9759 *) ac_cv_lib_soname_Xi
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXi\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXi\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
9760 if ${ac_cv_lib_soname_Xi:+false} :; then :
9761 ac_cv_lib_soname_Xi
=`$LDD conftest$ac_exeext | grep "libXi\\.$LIBEXT" | sed -e "s/^.*\(libXi\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
9765 rm -f core conftest.err conftest.
$ac_objext \
9766 conftest
$ac_exeext conftest.
$ac_ext
9767 LIBS
=$ac_check_soname_save_LIBS
9769 if ${ac_cv_lib_soname_Xi:+false} :; then :
9770 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
9771 $as_echo "not found" >&6; }
9774 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xi" >&5
9775 $as_echo "$ac_cv_lib_soname_Xi" >&6; }
9777 cat >>confdefs.h
<<_ACEOF
9778 #define SONAME_LIBXI "$ac_cv_lib_soname_Xi"
9784 if test "x$ac_cv_lib_soname_Xi" = "x"; then :
9785 case "x$with_xinput" in
9786 x
) as_fn_append wine_notices
"|libxi ${notice_platform}development files not found, the Xinput extension won't be supported." ;;
9788 *) as_fn_error $?
"libxi ${notice_platform}development files not found, the Xinput extension won't be supported.
9789 This is an error since --with-xinput was requested." "$LINENO" 5 ;;
9793 if test "x$ac_cv_lib_soname_Xi" != x
9795 if test "$ac_cv_header_X11_extensions_XInput2_h" != "yes"; then :
9796 case "x$with_xinput2" in
9797 x
) as_fn_append wine_notices
"|XInput2 headers not found, the XInput 2 extension won't be supported." ;;
9799 *) as_fn_error $?
"XInput2 headers not found, the XInput 2 extension won't be supported.
9800 This is an error since --with-xinput2 was requested." "$LINENO" 5 ;;
9805 if test "$ac_cv_header_X11_extensions_XShm_h" = "yes"
9807 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XShmQueryExtension in -lXext" >&5
9808 $as_echo_n "checking for XShmQueryExtension in -lXext... " >&6; }
9809 if ${ac_cv_lib_Xext_XShmQueryExtension+:} false
; then :
9810 $as_echo_n "(cached) " >&6
9812 ac_check_lib_save_LIBS
=$LIBS
9813 LIBS
="-lXext $X_LIBS $X_EXTRA_LIBS $LIBS"
9814 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9815 /* end confdefs.h. */
9817 /* Override any GCC internal prototype to avoid an error.
9818 Use char because int might match the return type of a GCC
9819 builtin and then its argument prototype would still apply. */
9823 char XShmQueryExtension ();
9827 return XShmQueryExtension ();
9832 if ac_fn_c_try_link
"$LINENO"; then :
9833 ac_cv_lib_Xext_XShmQueryExtension
=yes
9835 ac_cv_lib_Xext_XShmQueryExtension
=no
9837 rm -f core conftest.err conftest.
$ac_objext \
9838 conftest
$ac_exeext conftest.
$ac_ext
9839 LIBS
=$ac_check_lib_save_LIBS
9841 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xext_XShmQueryExtension" >&5
9842 $as_echo "$ac_cv_lib_Xext_XShmQueryExtension" >&6; }
9843 if test "x$ac_cv_lib_Xext_XShmQueryExtension" = xyes
; then :
9845 $as_echo "#define HAVE_LIBXXSHM 1" >>confdefs.h
9850 if test "$ac_cv_lib_Xext_XShmQueryExtension" != "yes"; then :
9851 case "x$with_xshm" in
9852 x
) as_fn_append wine_notices
"|XShm ${notice_platform}development files not found, X Shared Memory won't be supported." ;;
9854 *) as_fn_error $?
"XShm ${notice_platform}development files not found, X Shared Memory won't be supported.
9855 This is an error since --with-xshm was requested." "$LINENO" 5 ;;
9859 if test "$ac_cv_header_X11_extensions_shape_h" = "yes"
9861 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XShapeQueryExtension in -lXext" >&5
9862 $as_echo_n "checking for XShapeQueryExtension in -lXext... " >&6; }
9863 if ${ac_cv_lib_Xext_XShapeQueryExtension+:} false
; then :
9864 $as_echo_n "(cached) " >&6
9866 ac_check_lib_save_LIBS
=$LIBS
9867 LIBS
="-lXext $X_LIBS $X_EXTRA_LIBS $LIBS"
9868 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9869 /* end confdefs.h. */
9871 /* Override any GCC internal prototype to avoid an error.
9872 Use char because int might match the return type of a GCC
9873 builtin and then its argument prototype would still apply. */
9877 char XShapeQueryExtension ();
9881 return XShapeQueryExtension ();
9886 if ac_fn_c_try_link
"$LINENO"; then :
9887 ac_cv_lib_Xext_XShapeQueryExtension
=yes
9889 ac_cv_lib_Xext_XShapeQueryExtension
=no
9891 rm -f core conftest.err conftest.
$ac_objext \
9892 conftest
$ac_exeext conftest.
$ac_ext
9893 LIBS
=$ac_check_lib_save_LIBS
9895 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xext_XShapeQueryExtension" >&5
9896 $as_echo "$ac_cv_lib_Xext_XShapeQueryExtension" >&6; }
9897 if test "x$ac_cv_lib_Xext_XShapeQueryExtension" = xyes
; then :
9899 $as_echo "#define HAVE_LIBXSHAPE 1" >>confdefs.h
9904 if test "$ac_cv_lib_Xext_XShapeQueryExtension" != "yes"; then :
9905 case "x$with_xshape" in
9906 x
) as_fn_append wine_notices
"|XShape ${notice_platform}development files not found, XShape won't be supported." ;;
9908 *) as_fn_error $?
"XShape ${notice_platform}development files not found, XShape won't be supported.
9909 This is an error since --with-xshape was requested." "$LINENO" 5 ;;
9913 if test "$ac_cv_header_X11_extensions_xf86vmode_h" = "yes" -o "$ac_cv_header_X11_extensions_xf86vmproto_h" = "yes"
9915 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXxf86vm" >&5
9916 $as_echo_n "checking for -lXxf86vm... " >&6; }
9917 if ${ac_cv_lib_soname_Xxf86vm+:} false
; then :
9918 $as_echo_n "(cached) " >&6
9920 ac_check_soname_save_LIBS
=$LIBS
9921 LIBS
="-lXxf86vm $X_LIBS $X_EXTRA_LIBS $LIBS"
9922 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9923 /* end confdefs.h. */
9925 /* Override any GCC internal prototype to avoid an error.
9926 Use char because int might match the return type of a GCC
9927 builtin and then its argument prototype would still apply. */
9931 char XF86VidModeQueryExtension ();
9935 return XF86VidModeQueryExtension ();
9940 if ac_fn_c_try_link
"$LINENO"; then :
9942 dll
) ac_cv_lib_soname_Xxf86vm
=`$ac_cv_path_LDD conftest.exe | grep "Xxf86vm" | sed -e "s/dll.*/dll/"';2,$d'` ;;
9943 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'` ;;
9944 *) ac_cv_lib_soname_Xxf86vm
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXxf86vm\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXxf86vm\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
9945 if ${ac_cv_lib_soname_Xxf86vm:+false} :; then :
9946 ac_cv_lib_soname_Xxf86vm
=`$LDD conftest$ac_exeext | grep "libXxf86vm\\.$LIBEXT" | sed -e "s/^.*\(libXxf86vm\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
9950 rm -f core conftest.err conftest.
$ac_objext \
9951 conftest
$ac_exeext conftest.
$ac_ext
9952 LIBS
=$ac_check_soname_save_LIBS
9954 if ${ac_cv_lib_soname_Xxf86vm:+false} :; then :
9955 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
9956 $as_echo "not found" >&6; }
9959 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xxf86vm" >&5
9960 $as_echo "$ac_cv_lib_soname_Xxf86vm" >&6; }
9962 cat >>confdefs.h
<<_ACEOF
9963 #define SONAME_LIBXXF86VM "$ac_cv_lib_soname_Xxf86vm"
9969 if test "x$ac_cv_lib_soname_Xxf86vm" = "x"; then :
9970 case "x$with_xxf86vm" in
9971 x
) as_fn_append wine_notices
"|libXxf86vm ${notice_platform}development files not found, XFree86 Vidmode won't be supported." ;;
9973 *) as_fn_error $?
"libXxf86vm ${notice_platform}development files not found, XFree86 Vidmode won't be supported.
9974 This is an error since --with-xxf86vm was requested." "$LINENO" 5 ;;
9978 if test "$ac_cv_header_X11_extensions_Xrender_h" = "yes" -a "x$ac_cv_lib_soname_X11" != "x"
9980 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXrender" >&5
9981 $as_echo_n "checking for -lXrender... " >&6; }
9982 if ${ac_cv_lib_soname_Xrender+:} false
; then :
9983 $as_echo_n "(cached) " >&6
9985 ac_check_soname_save_LIBS
=$LIBS
9986 LIBS
="-lXrender $X_LIBS $X_EXTRA_LIBS $LIBS"
9987 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9988 /* end confdefs.h. */
9990 /* Override any GCC internal prototype to avoid an error.
9991 Use char because int might match the return type of a GCC
9992 builtin and then its argument prototype would still apply. */
9996 char XRenderQueryExtension ();
10000 return XRenderQueryExtension ();
10005 if ac_fn_c_try_link
"$LINENO"; then :
10007 dll
) ac_cv_lib_soname_Xrender
=`$ac_cv_path_LDD conftest.exe | grep "Xrender" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10008 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'` ;;
10009 *) ac_cv_lib_soname_Xrender
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXrender\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXrender\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10010 if ${ac_cv_lib_soname_Xrender:+false} :; then :
10011 ac_cv_lib_soname_Xrender
=`$LDD conftest$ac_exeext | grep "libXrender\\.$LIBEXT" | sed -e "s/^.*\(libXrender\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10015 rm -f core conftest.err conftest.
$ac_objext \
10016 conftest
$ac_exeext conftest.
$ac_ext
10017 LIBS
=$ac_check_soname_save_LIBS
10019 if ${ac_cv_lib_soname_Xrender:+false} :; then :
10020 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10021 $as_echo "not found" >&6; }
10024 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xrender" >&5
10025 $as_echo "$ac_cv_lib_soname_Xrender" >&6; }
10027 cat >>confdefs.h
<<_ACEOF
10028 #define SONAME_LIBXRENDER "$ac_cv_lib_soname_Xrender"
10031 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XRenderSetPictureTransform in -lXrender" >&5
10032 $as_echo_n "checking for XRenderSetPictureTransform in -lXrender... " >&6; }
10033 if ${ac_cv_lib_Xrender_XRenderSetPictureTransform+:} false
; then :
10034 $as_echo_n "(cached) " >&6
10036 ac_check_lib_save_LIBS
=$LIBS
10037 LIBS
="-lXrender $X_LIBS $X_EXTRA_LIBS $LIBS"
10038 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10039 /* end confdefs.h. */
10041 /* Override any GCC internal prototype to avoid an error.
10042 Use char because int might match the return type of a GCC
10043 builtin and then its argument prototype would still apply. */
10047 char XRenderSetPictureTransform ();
10051 return XRenderSetPictureTransform ();
10056 if ac_fn_c_try_link
"$LINENO"; then :
10057 ac_cv_lib_Xrender_XRenderSetPictureTransform
=yes
10059 ac_cv_lib_Xrender_XRenderSetPictureTransform
=no
10061 rm -f core conftest.err conftest.
$ac_objext \
10062 conftest
$ac_exeext conftest.
$ac_ext
10063 LIBS
=$ac_check_lib_save_LIBS
10065 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xrender_XRenderSetPictureTransform" >&5
10066 $as_echo "$ac_cv_lib_Xrender_XRenderSetPictureTransform" >&6; }
10067 if test "x$ac_cv_lib_Xrender_XRenderSetPictureTransform" = xyes
; then :
10069 $as_echo "#define HAVE_XRENDERSETPICTURETRANSFORM 1" >>confdefs.h
10073 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XRenderCreateLinearGradient in -lXrender" >&5
10074 $as_echo_n "checking for XRenderCreateLinearGradient in -lXrender... " >&6; }
10075 if ${ac_cv_lib_Xrender_XRenderCreateLinearGradient+:} false
; then :
10076 $as_echo_n "(cached) " >&6
10078 ac_check_lib_save_LIBS
=$LIBS
10079 LIBS
="-lXrender $X_LIBS $X_EXTRA_LIBS $LIBS"
10080 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10081 /* end confdefs.h. */
10083 /* Override any GCC internal prototype to avoid an error.
10084 Use char because int might match the return type of a GCC
10085 builtin and then its argument prototype would still apply. */
10089 char XRenderCreateLinearGradient ();
10093 return XRenderCreateLinearGradient ();
10098 if ac_fn_c_try_link
"$LINENO"; then :
10099 ac_cv_lib_Xrender_XRenderCreateLinearGradient
=yes
10101 ac_cv_lib_Xrender_XRenderCreateLinearGradient
=no
10103 rm -f core conftest.err conftest.
$ac_objext \
10104 conftest
$ac_exeext conftest.
$ac_ext
10105 LIBS
=$ac_check_lib_save_LIBS
10107 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xrender_XRenderCreateLinearGradient" >&5
10108 $as_echo "$ac_cv_lib_Xrender_XRenderCreateLinearGradient" >&6; }
10109 if test "x$ac_cv_lib_Xrender_XRenderCreateLinearGradient" = xyes
; then :
10111 $as_echo "#define HAVE_XRENDERCREATELINEARGRADIENT 1" >>confdefs.h
10118 if test "x$ac_cv_lib_soname_Xrender" = "x"; then :
10119 case "x$with_xrender" in
10120 x
) as_fn_append wine_warnings
"|libxrender ${notice_platform}development files not found, XRender won't be supported." ;;
10122 *) as_fn_error $?
"libxrender ${notice_platform}development files not found, XRender won't be supported.
10123 This is an error since --with-xrender was requested." "$LINENO" 5 ;;
10127 if test "$ac_cv_header_X11_extensions_Xrandr_h" = "yes" -a "x$ac_cv_lib_soname_Xrender" != "x"
10129 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10130 /* end confdefs.h. */
10131 #include <X11/Xlib.h>
10132 #include <X11/extensions/Xrandr.h>
10136 static typeof(XRRSetScreenConfigAndRate) * func; if (func) return 0;
10141 if ac_fn_c_try_compile
"$LINENO"; then :
10142 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXrandr" >&5
10143 $as_echo_n "checking for -lXrandr... " >&6; }
10144 if ${ac_cv_lib_soname_Xrandr+:} false
; then :
10145 $as_echo_n "(cached) " >&6
10147 ac_check_soname_save_LIBS
=$LIBS
10148 LIBS
="-lXrandr $X_LIBS $X_EXTRA_LIBS $LIBS"
10149 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10150 /* end confdefs.h. */
10152 /* Override any GCC internal prototype to avoid an error.
10153 Use char because int might match the return type of a GCC
10154 builtin and then its argument prototype would still apply. */
10158 char XRRQueryExtension ();
10162 return XRRQueryExtension ();
10167 if ac_fn_c_try_link
"$LINENO"; then :
10169 dll
) ac_cv_lib_soname_Xrandr
=`$ac_cv_path_LDD conftest.exe | grep "Xrandr" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10170 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'` ;;
10171 *) ac_cv_lib_soname_Xrandr
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXrandr\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXrandr\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10172 if ${ac_cv_lib_soname_Xrandr:+false} :; then :
10173 ac_cv_lib_soname_Xrandr
=`$LDD conftest$ac_exeext | grep "libXrandr\\.$LIBEXT" | sed -e "s/^.*\(libXrandr\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10177 rm -f core conftest.err conftest.
$ac_objext \
10178 conftest
$ac_exeext conftest.
$ac_ext
10179 LIBS
=$ac_check_soname_save_LIBS
10181 if ${ac_cv_lib_soname_Xrandr:+false} :; then :
10182 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10183 $as_echo "not found" >&6; }
10186 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xrandr" >&5
10187 $as_echo "$ac_cv_lib_soname_Xrandr" >&6; }
10189 cat >>confdefs.h
<<_ACEOF
10190 #define SONAME_LIBXRANDR "$ac_cv_lib_soname_Xrandr"
10193 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10194 /* end confdefs.h. */
10195 #include <X11/Xlib.h>
10196 #include <X11/extensions/Xrandr.h>
10200 static typeof(XRRGetScreenResources) *f; if (f) return 0;
10205 if ac_fn_c_try_compile
"$LINENO"; then :
10207 $as_echo "#define HAVE_XRRGETSCREENRESOURCES 1" >>confdefs.h
10210 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
10213 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
10215 if test "x$ac_cv_lib_soname_Xrandr" = "x"; then :
10216 case "x$with_xrandr" in
10217 x
) as_fn_append wine_notices
"|libxrandr ${notice_platform}development files not found, XRandr won't be supported." ;;
10219 *) as_fn_error $?
"libxrandr ${notice_platform}development files not found, XRandr won't be supported.
10220 This is an error since --with-xrandr was requested." "$LINENO" 5 ;;
10224 if test "$ac_cv_header_X11_extensions_Xinerama_h" = "yes"
10226 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10227 /* end confdefs.h. */
10228 #include <X11/Xlib.h>
10229 #include <X11/extensions/Xinerama.h>
10233 static typeof(XineramaQueryScreens) * func; if (func) return 0;
10238 if ac_fn_c_try_compile
"$LINENO"; then :
10239 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXinerama" >&5
10240 $as_echo_n "checking for -lXinerama... " >&6; }
10241 if ${ac_cv_lib_soname_Xinerama+:} false
; then :
10242 $as_echo_n "(cached) " >&6
10244 ac_check_soname_save_LIBS
=$LIBS
10245 LIBS
="-lXinerama $X_LIBS $X_EXTRA_LIBS $LIBS"
10246 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10247 /* end confdefs.h. */
10249 /* Override any GCC internal prototype to avoid an error.
10250 Use char because int might match the return type of a GCC
10251 builtin and then its argument prototype would still apply. */
10255 char XineramaQueryScreens ();
10259 return XineramaQueryScreens ();
10264 if ac_fn_c_try_link
"$LINENO"; then :
10266 dll
) ac_cv_lib_soname_Xinerama
=`$ac_cv_path_LDD conftest.exe | grep "Xinerama" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10267 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'` ;;
10268 *) ac_cv_lib_soname_Xinerama
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXinerama\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXinerama\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10269 if ${ac_cv_lib_soname_Xinerama:+false} :; then :
10270 ac_cv_lib_soname_Xinerama
=`$LDD conftest$ac_exeext | grep "libXinerama\\.$LIBEXT" | sed -e "s/^.*\(libXinerama\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10274 rm -f core conftest.err conftest.
$ac_objext \
10275 conftest
$ac_exeext conftest.
$ac_ext
10276 LIBS
=$ac_check_soname_save_LIBS
10278 if ${ac_cv_lib_soname_Xinerama:+false} :; then :
10279 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10280 $as_echo "not found" >&6; }
10283 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xinerama" >&5
10284 $as_echo "$ac_cv_lib_soname_Xinerama" >&6; }
10286 cat >>confdefs.h
<<_ACEOF
10287 #define SONAME_LIBXINERAMA "$ac_cv_lib_soname_Xinerama"
10293 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
10295 if test "x$ac_cv_lib_soname_Xinerama" = "x"; then :
10296 case "x$with_xinerama" in
10297 x
) as_fn_append wine_notices
"|libxinerama ${notice_platform}development files not found, multi-monitor setups won't be supported." ;;
10299 *) as_fn_error $?
"libxinerama ${notice_platform}development files not found, multi-monitor setups won't be supported.
10300 This is an error since --with-xinerama was requested." "$LINENO" 5 ;;
10304 if test "$ac_cv_header_X11_extensions_Xcomposite_h" = "yes"
10306 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXcomposite" >&5
10307 $as_echo_n "checking for -lXcomposite... " >&6; }
10308 if ${ac_cv_lib_soname_Xcomposite+:} false
; then :
10309 $as_echo_n "(cached) " >&6
10311 ac_check_soname_save_LIBS
=$LIBS
10312 LIBS
="-lXcomposite $X_LIBS $X_EXTRA_LIBS $LIBS"
10313 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10314 /* end confdefs.h. */
10316 /* Override any GCC internal prototype to avoid an error.
10317 Use char because int might match the return type of a GCC
10318 builtin and then its argument prototype would still apply. */
10322 char XCompositeRedirectWindow ();
10326 return XCompositeRedirectWindow ();
10331 if ac_fn_c_try_link
"$LINENO"; then :
10333 dll
) ac_cv_lib_soname_Xcomposite
=`$ac_cv_path_LDD conftest.exe | grep "Xcomposite" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10334 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'` ;;
10335 *) ac_cv_lib_soname_Xcomposite
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXcomposite\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXcomposite\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10336 if ${ac_cv_lib_soname_Xcomposite:+false} :; then :
10337 ac_cv_lib_soname_Xcomposite
=`$LDD conftest$ac_exeext | grep "libXcomposite\\.$LIBEXT" | sed -e "s/^.*\(libXcomposite\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10341 rm -f core conftest.err conftest.
$ac_objext \
10342 conftest
$ac_exeext conftest.
$ac_ext
10343 LIBS
=$ac_check_soname_save_LIBS
10345 if ${ac_cv_lib_soname_Xcomposite:+false} :; then :
10346 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10347 $as_echo "not found" >&6; }
10350 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xcomposite" >&5
10351 $as_echo "$ac_cv_lib_soname_Xcomposite" >&6; }
10353 cat >>confdefs.h
<<_ACEOF
10354 #define SONAME_LIBXCOMPOSITE "$ac_cv_lib_soname_Xcomposite"
10360 if test "x$ac_cv_lib_soname_Xcomposite" = "x"; then :
10361 case "x$with_xcomposite" in
10362 x
) as_fn_append wine_notices
"|libxcomposite ${notice_platform}development files not found, Xcomposite won't be supported." ;;
10364 *) as_fn_error $?
"libxcomposite ${notice_platform}development files not found, Xcomposite won't be supported.
10365 This is an error since --with-xcomposite was requested." "$LINENO" 5 ;;
10369 ac_fn_c_check_member
"$LINENO" "XICCallback" "callback" "ac_cv_member_XICCallback_callback" "#ifdef HAVE_X11_XLIB_H
10370 #include <X11/Xlib.h>
10373 if test "x$ac_cv_member_XICCallback_callback" = xyes
; then :
10375 cat >>confdefs.h
<<_ACEOF
10376 #define HAVE_XICCALLBACK_CALLBACK 1
10381 ac_fn_c_check_member
"$LINENO" "XEvent" "xcookie" "ac_cv_member_XEvent_xcookie" "#ifdef HAVE_X11_XLIB_H
10382 #include <X11/Xlib.h>
10385 if test "x$ac_cv_member_XEvent_xcookie" = xyes
; then :
10387 cat >>confdefs.h
<<_ACEOF
10388 #define HAVE_XEVENT_XCOOKIE 1
10397 if test "x$with_opengl" != "xno"
10399 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lGL" >&5
10400 $as_echo_n "checking for -lGL... " >&6; }
10401 if ${ac_cv_lib_soname_GL+:} false
; then :
10402 $as_echo_n "(cached) " >&6
10404 ac_check_soname_save_LIBS
=$LIBS
10405 LIBS
="-lGL $X_LIBS -lm $X_EXTRA_LIBS $LIBS"
10406 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10407 /* end confdefs.h. */
10409 /* Override any GCC internal prototype to avoid an error.
10410 Use char because int might match the return type of a GCC
10411 builtin and then its argument prototype would still apply. */
10415 char glXCreateContext ();
10419 return glXCreateContext ();
10424 if ac_fn_c_try_link
"$LINENO"; then :
10426 dll
) ac_cv_lib_soname_GL
=`$ac_cv_path_LDD conftest.exe | grep "GL" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10427 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'` ;;
10428 *) ac_cv_lib_soname_GL
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libGL\\.$LIBEXT" | sed -e "s/^.*\\[\\(libGL\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10429 if ${ac_cv_lib_soname_GL:+false} :; then :
10430 ac_cv_lib_soname_GL
=`$LDD conftest$ac_exeext | grep "libGL\\.$LIBEXT" | sed -e "s/^.*\(libGL\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10434 rm -f core conftest.err conftest.
$ac_objext \
10435 conftest
$ac_exeext conftest.
$ac_ext
10436 LIBS
=$ac_check_soname_save_LIBS
10438 if ${ac_cv_lib_soname_GL:+false} :; then :
10439 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10440 $as_echo "not found" >&6; }
10441 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lGL" >&5
10442 $as_echo_n "checking for -lGL... " >&6; }
10443 if ${ac_cv_lib_soname_GL+:} false
; then :
10444 $as_echo_n "(cached) " >&6
10446 ac_check_soname_save_LIBS
=$LIBS
10447 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"
10448 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10449 /* end confdefs.h. */
10451 /* Override any GCC internal prototype to avoid an error.
10452 Use char because int might match the return type of a GCC
10453 builtin and then its argument prototype would still apply. */
10457 char glXCreateContext ();
10461 return glXCreateContext ();
10466 if ac_fn_c_try_link
"$LINENO"; then :
10468 dll
) ac_cv_lib_soname_GL
=`$ac_cv_path_LDD conftest.exe | grep "GL" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10469 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'` ;;
10470 *) ac_cv_lib_soname_GL
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libGL\\.$LIBEXT" | sed -e "s/^.*\\[\\(libGL\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10471 if ${ac_cv_lib_soname_GL:+false} :; then :
10472 ac_cv_lib_soname_GL
=`$LDD conftest$ac_exeext | grep "libGL\\.$LIBEXT" | sed -e "s/^.*\(libGL\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10476 rm -f core conftest.err conftest.
$ac_objext \
10477 conftest
$ac_exeext conftest.
$ac_ext
10478 LIBS
=$ac_check_soname_save_LIBS
10480 if ${ac_cv_lib_soname_GL:+false} :; then :
10481 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10482 $as_echo "not found" >&6; }
10483 if test -f /usr
/X11R
6/lib
/libGL.a
10485 opengl_msg
="/usr/X11R6/lib/libGL.a is present on your system.
10486 This probably prevents linking to OpenGL. Try deleting the file and restarting configure."
10488 opengl_msg
="No OpenGL library found on this system."
10491 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_GL" >&5
10492 $as_echo "$ac_cv_lib_soname_GL" >&6; }
10494 cat >>confdefs.h
<<_ACEOF
10495 #define SONAME_LIBGL "$ac_cv_lib_soname_GL"
10498 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"
10501 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_GL" >&5
10502 $as_echo "$ac_cv_lib_soname_GL" >&6; }
10504 cat >>confdefs.h
<<_ACEOF
10505 #define SONAME_LIBGL "$ac_cv_lib_soname_GL"
10510 if test "x$with_glu" != "xno"
10512 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gluLookAt in -lGLU" >&5
10513 $as_echo_n "checking for gluLookAt in -lGLU... " >&6; }
10514 if ${ac_cv_lib_GLU_gluLookAt+:} false
; then :
10515 $as_echo_n "(cached) " >&6
10517 ac_check_lib_save_LIBS
=$LIBS
10518 LIBS
="-lGLU $OPENGL_LIBS $X_LIBS -lm $X_EXTRA_LIBS $LIBS"
10519 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10520 /* end confdefs.h. */
10522 /* Override any GCC internal prototype to avoid an error.
10523 Use char because int might match the return type of a GCC
10524 builtin and then its argument prototype would still apply. */
10532 return gluLookAt ();
10537 if ac_fn_c_try_link
"$LINENO"; then :
10538 ac_cv_lib_GLU_gluLookAt
=yes
10540 ac_cv_lib_GLU_gluLookAt
=no
10542 rm -f core conftest.err conftest.
$ac_objext \
10543 conftest
$ac_exeext conftest.
$ac_ext
10544 LIBS
=$ac_check_lib_save_LIBS
10546 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_GLU_gluLookAt" >&5
10547 $as_echo "$ac_cv_lib_GLU_gluLookAt" >&6; }
10548 if test "x$ac_cv_lib_GLU_gluLookAt" = xyes
; then :
10552 if test "x$ac_cv_lib_GLU_gluLookAt" != xyes
; then :
10553 case "x$with_glu" in
10554 x
) as_fn_append wine_notices
"|libGLU ${notice_platform}development files not found, GLU won't be supported." ;;
10556 *) as_fn_error $?
"libGLU ${notice_platform}development files not found, GLU won't be supported.
10557 This is an error since --with-glu was requested." "$LINENO" 5 ;;
10562 if test "x$with_osmesa" != "xno"
10564 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lOSMesa" >&5
10565 $as_echo_n "checking for -lOSMesa... " >&6; }
10566 if ${ac_cv_lib_soname_OSMesa+:} false
; then :
10567 $as_echo_n "(cached) " >&6
10569 ac_check_soname_save_LIBS
=$LIBS
10570 LIBS
="-lOSMesa $X_LIBS -lm $X_EXTRA_LIBS $LIBS"
10571 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10572 /* end confdefs.h. */
10574 /* Override any GCC internal prototype to avoid an error.
10575 Use char because int might match the return type of a GCC
10576 builtin and then its argument prototype would still apply. */
10589 if ac_fn_c_try_link
"$LINENO"; then :
10591 dll
) ac_cv_lib_soname_OSMesa
=`$ac_cv_path_LDD conftest.exe | grep "OSMesa" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10592 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'` ;;
10593 *) ac_cv_lib_soname_OSMesa
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libOSMesa\\.$LIBEXT" | sed -e "s/^.*\\[\\(libOSMesa\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10594 if ${ac_cv_lib_soname_OSMesa:+false} :; then :
10595 ac_cv_lib_soname_OSMesa
=`$LDD conftest$ac_exeext | grep "libOSMesa\\.$LIBEXT" | sed -e "s/^.*\(libOSMesa\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10599 rm -f core conftest.err conftest.
$ac_objext \
10600 conftest
$ac_exeext conftest.
$ac_ext
10601 LIBS
=$ac_check_soname_save_LIBS
10603 if ${ac_cv_lib_soname_OSMesa:+false} :; then :
10604 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10605 $as_echo "not found" >&6; }
10608 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_OSMesa" >&5
10609 $as_echo "$ac_cv_lib_soname_OSMesa" >&6; }
10611 cat >>confdefs.h
<<_ACEOF
10612 #define SONAME_LIBOSMESA "$ac_cv_lib_soname_OSMesa"
10617 if test "x$ac_cv_lib_soname_OSMesa" = "x"; then :
10618 case "x$with_osmesa" in
10619 x
) as_fn_append wine_notices
"|libOSMesa ${notice_platform}development files not found (or too old), OpenGL rendering in bitmaps won't be supported." ;;
10621 *) as_fn_error $?
"libOSMesa ${notice_platform}development files not found (or too old), OpenGL rendering in bitmaps won't be supported.
10622 This is an error since --with-osmesa was requested." "$LINENO" 5 ;;
10627 if test -n "$opengl_msg"; then :
10628 case "x$with_opengl" in
10629 x
) as_fn_append wine_warnings
"|$opengl_msg
10630 OpenGL and Direct3D won't be supported." ;;
10632 *) as_fn_error $?
"$opengl_msg
10633 OpenGL and Direct3D won't be supported.
10634 This is an error since --with-opengl was requested." "$LINENO" 5 ;;
10638 CPPFLAGS
="$ac_save_CPPFLAGS"
10642 enable_winex11_drv
=${enable_winex11_drv:-no}
10644 if test "x$X_LIBS" = "x"; then :
10647 *) as_fn_error $?
"X ${notice_platform}development files not found. Wine will be built
10648 without X support, which probably isn't what you want. You will need
10649 to install ${notice_platform}development packages of Xlib/Xfree86 at the very least.
10650 Use the --without-x option if you really want this." "$LINENO" 5 ;;
10654 test "x$ac_cv_lib_GLU_gluLookAt" != xyes
&& enable_glu32
=${enable_glu32:-no}
10656 if test "$ac_cv_header_CL_cl_h" = "yes"
10658 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for clGetPlatformInfo in -lOpenCL" >&5
10659 $as_echo_n "checking for clGetPlatformInfo in -lOpenCL... " >&6; }
10660 if ${ac_cv_lib_OpenCL_clGetPlatformInfo+:} false
; then :
10661 $as_echo_n "(cached) " >&6
10663 ac_check_lib_save_LIBS
=$LIBS
10664 LIBS
="-lOpenCL $LIBS"
10665 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10666 /* end confdefs.h. */
10668 /* Override any GCC internal prototype to avoid an error.
10669 Use char because int might match the return type of a GCC
10670 builtin and then its argument prototype would still apply. */
10674 char clGetPlatformInfo ();
10678 return clGetPlatformInfo ();
10683 if ac_fn_c_try_link
"$LINENO"; then :
10684 ac_cv_lib_OpenCL_clGetPlatformInfo
=yes
10686 ac_cv_lib_OpenCL_clGetPlatformInfo
=no
10688 rm -f core conftest.err conftest.
$ac_objext \
10689 conftest
$ac_exeext conftest.
$ac_ext
10690 LIBS
=$ac_check_lib_save_LIBS
10692 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_OpenCL_clGetPlatformInfo" >&5
10693 $as_echo "$ac_cv_lib_OpenCL_clGetPlatformInfo" >&6; }
10694 if test "x$ac_cv_lib_OpenCL_clGetPlatformInfo" = xyes
; then :
10695 OPENCL_LIBS
="-lOpenCL"
10700 if test "x$ac_cv_lib_OpenCL_clGetPlatformInfo" != xyes
; then :
10701 case "x$with_opencl" in
10702 x
) as_fn_append wine_notices
"|OpenCL ${notice_platform}development files not found, OpenCL won't be supported." ;;
10704 *) as_fn_error $?
"OpenCL ${notice_platform}development files not found, OpenCL won't be supported.
10705 This is an error since --with-opencl was requested." "$LINENO" 5 ;;
10708 test "x$ac_cv_lib_OpenCL_clGetPlatformInfo" != xyes
&& enable_opencl
=${enable_opencl:-no}
10710 if test "$ac_cv_header_pcap_pcap_h" = "yes"
10712 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pcap_create in -lpcap" >&5
10713 $as_echo_n "checking for pcap_create in -lpcap... " >&6; }
10714 if ${ac_cv_lib_pcap_pcap_create+:} false
; then :
10715 $as_echo_n "(cached) " >&6
10717 ac_check_lib_save_LIBS
=$LIBS
10718 LIBS
="-lpcap $LIBS"
10719 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10720 /* end confdefs.h. */
10722 /* Override any GCC internal prototype to avoid an error.
10723 Use char because int might match the return type of a GCC
10724 builtin and then its argument prototype would still apply. */
10728 char pcap_create ();
10732 return pcap_create ();
10737 if ac_fn_c_try_link
"$LINENO"; then :
10738 ac_cv_lib_pcap_pcap_create
=yes
10740 ac_cv_lib_pcap_pcap_create
=no
10742 rm -f core conftest.err conftest.
$ac_objext \
10743 conftest
$ac_exeext conftest.
$ac_ext
10744 LIBS
=$ac_check_lib_save_LIBS
10746 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_pcap_pcap_create" >&5
10747 $as_echo "$ac_cv_lib_pcap_pcap_create" >&6; }
10748 if test "x$ac_cv_lib_pcap_pcap_create" = xyes
; then :
10754 if test "x$ac_cv_lib_pcap_pcap_create" != xyes
; then :
10755 case "x$with_pcap" in
10756 x
) as_fn_append wine_notices
"|pcap ${notice_platform}development files not found, wpcap won't be supported." ;;
10758 *) as_fn_error $?
"pcap ${notice_platform}development files not found, wpcap won't be supported.
10759 This is an error since --with-pcap was requested." "$LINENO" 5 ;;
10762 test "x$ac_cv_lib_pcap_pcap_create" != xyes
&& enable_wpcap
=${enable_wpcap:-no}
10765 if test "x$with_xml" != "xno"
10767 if ${XML2_CFLAGS:+false} :; then :
10768 if ${PKG_CONFIG+:} false
; then :
10769 XML2_CFLAGS
=`$PKG_CONFIG --cflags libxml-2.0 2>/dev/null`
10772 test "$cross_compiling" = yes || XML2_CFLAGS
=${XML2_CFLAGS:-`xml2-config --cflags 2>/dev/null`}
10773 if ${XML2_LIBS:+false} :; then :
10774 if ${PKG_CONFIG+:} false
; then :
10775 XML2_LIBS
=`$PKG_CONFIG --libs libxml-2.0 2>/dev/null`
10778 test "$cross_compiling" = yes || XML2_LIBS
=${XML2_LIBS:-`xml2-config --libs 2>/dev/null`}
10779 XML2_LIBS
=${XML2_LIBS:-"-lxml2"}
10780 $as_echo "$as_me:${as_lineno-$LINENO}: libxml-2.0 cflags: $XML2_CFLAGS" >&5
10781 $as_echo "$as_me:${as_lineno-$LINENO}: libxml-2.0 libs: $XML2_LIBS" >&5
10782 ac_save_CPPFLAGS
=$CPPFLAGS
10783 CPPFLAGS
="$CPPFLAGS $XML2_CFLAGS"
10784 for ac_header
in libxml
/parser.h libxml
/xmlsave.h libxml
/SAX2.h
10786 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
10787 ac_fn_c_check_header_mongrel
"$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
10788 if eval test \"x\$
"$as_ac_Header"\" = x
"yes"; then :
10789 cat >>confdefs.h
<<_ACEOF
10790 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
10797 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"
10799 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlParseMemory in -lxml2" >&5
10800 $as_echo_n "checking for xmlParseMemory in -lxml2... " >&6; }
10801 if ${ac_cv_lib_xml2_xmlParseMemory+:} false
; then :
10802 $as_echo_n "(cached) " >&6
10804 ac_check_lib_save_LIBS
=$LIBS
10805 LIBS
="-lxml2 $XML2_LIBS $LIBS"
10806 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10807 /* end confdefs.h. */
10809 /* Override any GCC internal prototype to avoid an error.
10810 Use char because int might match the return type of a GCC
10811 builtin and then its argument prototype would still apply. */
10815 char xmlParseMemory ();
10819 return xmlParseMemory ();
10824 if ac_fn_c_try_link
"$LINENO"; then :
10825 ac_cv_lib_xml2_xmlParseMemory
=yes
10827 ac_cv_lib_xml2_xmlParseMemory
=no
10829 rm -f core conftest.err conftest.
$ac_objext \
10830 conftest
$ac_exeext conftest.
$ac_ext
10831 LIBS
=$ac_check_lib_save_LIBS
10833 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlParseMemory" >&5
10834 $as_echo "$ac_cv_lib_xml2_xmlParseMemory" >&6; }
10835 if test "x$ac_cv_lib_xml2_xmlParseMemory" = xyes
; then :
10837 $as_echo "#define HAVE_LIBXML2 1" >>confdefs.h
10843 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlReadMemory in -lxml2" >&5
10844 $as_echo_n "checking for xmlReadMemory in -lxml2... " >&6; }
10845 if ${ac_cv_lib_xml2_xmlReadMemory+:} false
; then :
10846 $as_echo_n "(cached) " >&6
10848 ac_check_lib_save_LIBS
=$LIBS
10849 LIBS
="-lxml2 $XML2_LIBS $LIBS"
10850 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10851 /* end confdefs.h. */
10853 /* Override any GCC internal prototype to avoid an error.
10854 Use char because int might match the return type of a GCC
10855 builtin and then its argument prototype would still apply. */
10859 char xmlReadMemory ();
10863 return xmlReadMemory ();
10868 if ac_fn_c_try_link
"$LINENO"; then :
10869 ac_cv_lib_xml2_xmlReadMemory
=yes
10871 ac_cv_lib_xml2_xmlReadMemory
=no
10873 rm -f core conftest.err conftest.
$ac_objext \
10874 conftest
$ac_exeext conftest.
$ac_ext
10875 LIBS
=$ac_check_lib_save_LIBS
10877 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlReadMemory" >&5
10878 $as_echo "$ac_cv_lib_xml2_xmlReadMemory" >&6; }
10879 if test "x$ac_cv_lib_xml2_xmlReadMemory" = xyes
; then :
10881 $as_echo "#define HAVE_XMLREADMEMORY 1" >>confdefs.h
10885 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlNewDocPI in -lxml2" >&5
10886 $as_echo_n "checking for xmlNewDocPI in -lxml2... " >&6; }
10887 if ${ac_cv_lib_xml2_xmlNewDocPI+:} false
; then :
10888 $as_echo_n "(cached) " >&6
10890 ac_check_lib_save_LIBS
=$LIBS
10891 LIBS
="-lxml2 $XML2_LIBS $LIBS"
10892 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10893 /* end confdefs.h. */
10895 /* Override any GCC internal prototype to avoid an error.
10896 Use char because int might match the return type of a GCC
10897 builtin and then its argument prototype would still apply. */
10901 char xmlNewDocPI ();
10905 return xmlNewDocPI ();
10910 if ac_fn_c_try_link
"$LINENO"; then :
10911 ac_cv_lib_xml2_xmlNewDocPI
=yes
10913 ac_cv_lib_xml2_xmlNewDocPI
=no
10915 rm -f core conftest.err conftest.
$ac_objext \
10916 conftest
$ac_exeext conftest.
$ac_ext
10917 LIBS
=$ac_check_lib_save_LIBS
10919 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlNewDocPI" >&5
10920 $as_echo "$ac_cv_lib_xml2_xmlNewDocPI" >&6; }
10921 if test "x$ac_cv_lib_xml2_xmlNewDocPI" = xyes
; then :
10923 $as_echo "#define HAVE_XMLNEWDOCPI 1" >>confdefs.h
10927 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlSchemaSetParserStructuredErrors in -lxml2" >&5
10928 $as_echo_n "checking for xmlSchemaSetParserStructuredErrors in -lxml2... " >&6; }
10929 if ${ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors+:} false
; then :
10930 $as_echo_n "(cached) " >&6
10932 ac_check_lib_save_LIBS
=$LIBS
10933 LIBS
="-lxml2 $XML2_LIBS $LIBS"
10934 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10935 /* end confdefs.h. */
10937 /* Override any GCC internal prototype to avoid an error.
10938 Use char because int might match the return type of a GCC
10939 builtin and then its argument prototype would still apply. */
10943 char xmlSchemaSetParserStructuredErrors ();
10947 return xmlSchemaSetParserStructuredErrors ();
10952 if ac_fn_c_try_link
"$LINENO"; then :
10953 ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors
=yes
10955 ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors
=no
10957 rm -f core conftest.err conftest.
$ac_objext \
10958 conftest
$ac_exeext conftest.
$ac_ext
10959 LIBS
=$ac_check_lib_save_LIBS
10961 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors" >&5
10962 $as_echo "$ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors" >&6; }
10963 if test "x$ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors" = xyes
; then :
10965 $as_echo "#define HAVE_XMLSCHEMASSETPARSERSTRUCTUREDERRORS 1" >>confdefs.h
10969 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlSchemaSetValidStructuredErrors in -lxml2" >&5
10970 $as_echo_n "checking for xmlSchemaSetValidStructuredErrors in -lxml2... " >&6; }
10971 if ${ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors+:} false
; then :
10972 $as_echo_n "(cached) " >&6
10974 ac_check_lib_save_LIBS
=$LIBS
10975 LIBS
="-lxml2 $XML2_LIBS $LIBS"
10976 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10977 /* end confdefs.h. */
10979 /* Override any GCC internal prototype to avoid an error.
10980 Use char because int might match the return type of a GCC
10981 builtin and then its argument prototype would still apply. */
10985 char xmlSchemaSetValidStructuredErrors ();
10989 return xmlSchemaSetValidStructuredErrors ();
10994 if ac_fn_c_try_link
"$LINENO"; then :
10995 ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors
=yes
10997 ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors
=no
10999 rm -f core conftest.err conftest.
$ac_objext \
11000 conftest
$ac_exeext conftest.
$ac_ext
11001 LIBS
=$ac_check_lib_save_LIBS
11003 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors" >&5
11004 $as_echo "$ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors" >&6; }
11005 if test "x$ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors" = xyes
; then :
11007 $as_echo "#define HAVE_XMLSCHEMASSETVALIDSTRUCTUREDERRORS 1" >>confdefs.h
11011 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlFirstElementChild in -lxml2" >&5
11012 $as_echo_n "checking for xmlFirstElementChild in -lxml2... " >&6; }
11013 if ${ac_cv_lib_xml2_xmlFirstElementChild+:} false
; then :
11014 $as_echo_n "(cached) " >&6
11016 ac_check_lib_save_LIBS
=$LIBS
11017 LIBS
="-lxml2 $XML2_LIBS $LIBS"
11018 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11019 /* end confdefs.h. */
11021 /* Override any GCC internal prototype to avoid an error.
11022 Use char because int might match the return type of a GCC
11023 builtin and then its argument prototype would still apply. */
11027 char xmlFirstElementChild ();
11031 return xmlFirstElementChild ();
11036 if ac_fn_c_try_link
"$LINENO"; then :
11037 ac_cv_lib_xml2_xmlFirstElementChild
=yes
11039 ac_cv_lib_xml2_xmlFirstElementChild
=no
11041 rm -f core conftest.err conftest.
$ac_objext \
11042 conftest
$ac_exeext conftest.
$ac_ext
11043 LIBS
=$ac_check_lib_save_LIBS
11045 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlFirstElementChild" >&5
11046 $as_echo "$ac_cv_lib_xml2_xmlFirstElementChild" >&6; }
11047 if test "x$ac_cv_lib_xml2_xmlFirstElementChild" = xyes
; then :
11049 $as_echo "#define HAVE_XMLFIRSTELEMENTCHILD 1" >>confdefs.h
11053 ac_fn_c_check_type
"$LINENO" "xmlDocProperties" "ac_cv_type_xmlDocProperties" "#include <libxml/tree.h>
11055 if test "x$ac_cv_type_xmlDocProperties" = xyes
; then :
11057 $as_echo "#define HAVE_XMLDOC_PROPERTIES 1" >>confdefs.h
11065 CPPFLAGS
=$ac_save_CPPFLAGS
11066 test -z "$XML2_CFLAGS" || XML2_CFLAGS
=`echo " $XML2_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
11067 test -z "$XML2_LIBS" || XML2_LIBS
=`echo " $XML2_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
11070 if test "$ac_cv_lib_xml2_xmlParseMemory" != "yes"; then :
11071 case "x$with_xml" in
11072 x
) as_fn_append wine_warnings
"|libxml2 ${notice_platform}development files not found (or too old), XML won't be supported." ;;
11074 *) as_fn_error $?
"libxml2 ${notice_platform}development files not found (or too old), XML won't be supported.
11075 This is an error since --with-xml was requested." "$LINENO" 5 ;;
11079 if test "x$with_xslt" != "xno"
11081 if ${XSLT_CFLAGS:+false} :; then :
11082 if ${PKG_CONFIG+:} false
; then :
11083 XSLT_CFLAGS
=`$PKG_CONFIG --cflags libxslt 2>/dev/null`
11086 test "$cross_compiling" = yes || XSLT_CFLAGS
=${XSLT_CFLAGS:-`xslt-config --cflags 2>/dev/null`}
11087 if ${XSLT_LIBS:+false} :; then :
11088 if ${PKG_CONFIG+:} false
; then :
11089 XSLT_LIBS
=`$PKG_CONFIG --libs libxslt 2>/dev/null`
11092 test "$cross_compiling" = yes || XSLT_LIBS
=${XSLT_LIBS:-`xslt-config --libs 2>/dev/null`}
11093 XSLT_LIBS
=${XSLT_LIBS:-"-lxml2"}
11094 $as_echo "$as_me:${as_lineno-$LINENO}: libxslt cflags: $XSLT_CFLAGS" >&5
11095 $as_echo "$as_me:${as_lineno-$LINENO}: libxslt libs: $XSLT_LIBS" >&5
11096 ac_save_CPPFLAGS
=$CPPFLAGS
11097 CPPFLAGS
="$CPPFLAGS $XSLT_CFLAGS"
11098 for ac_header
in libxslt
/pattern.h libxslt
/transform.h
11100 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
11101 ac_fn_c_check_header_compile
"$LINENO" "$ac_header" "$as_ac_Header" "#ifdef HAVE_LIBXSLT_PATTERN_H
11102 # include <libxslt/pattern.h>
11105 if eval test \"x\$
"$as_ac_Header"\" = x
"yes"; then :
11106 cat >>confdefs.h
<<_ACEOF
11107 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
11114 if test "$ac_cv_header_libxslt_transform_h" = "yes"
11116 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lxslt" >&5
11117 $as_echo_n "checking for -lxslt... " >&6; }
11118 if ${ac_cv_lib_soname_xslt+:} false
; then :
11119 $as_echo_n "(cached) " >&6
11121 ac_check_soname_save_LIBS
=$LIBS
11122 LIBS
="-lxslt $XSLT_LIBS $LIBS"
11123 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11124 /* end confdefs.h. */
11126 /* Override any GCC internal prototype to avoid an error.
11127 Use char because int might match the return type of a GCC
11128 builtin and then its argument prototype would still apply. */
11132 char xsltCompilePattern ();
11136 return xsltCompilePattern ();
11141 if ac_fn_c_try_link
"$LINENO"; then :
11143 dll
) ac_cv_lib_soname_xslt
=`$ac_cv_path_LDD conftest.exe | grep "xslt" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11144 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'` ;;
11145 *) ac_cv_lib_soname_xslt
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libxslt\\.$LIBEXT" | sed -e "s/^.*\\[\\(libxslt\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
11146 if ${ac_cv_lib_soname_xslt:+false} :; then :
11147 ac_cv_lib_soname_xslt
=`$LDD conftest$ac_exeext | grep "libxslt\\.$LIBEXT" | sed -e "s/^.*\(libxslt\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11151 rm -f core conftest.err conftest.
$ac_objext \
11152 conftest
$ac_exeext conftest.
$ac_ext
11153 LIBS
=$ac_check_soname_save_LIBS
11155 if ${ac_cv_lib_soname_xslt:+false} :; then :
11156 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11157 $as_echo "not found" >&6; }
11160 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_xslt" >&5
11161 $as_echo "$ac_cv_lib_soname_xslt" >&6; }
11163 cat >>confdefs.h
<<_ACEOF
11164 #define SONAME_LIBXSLT "$ac_cv_lib_soname_xslt"
11172 CPPFLAGS
=$ac_save_CPPFLAGS
11173 test -z "$XSLT_CFLAGS" || XSLT_CFLAGS
=`echo " $XSLT_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
11174 test -z "$XSLT_LIBS" || XSLT_LIBS
=`echo " $XSLT_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
11177 if test "x$ac_cv_lib_soname_xslt" = "x"; then :
11178 case "x$with_xslt" in
11179 x
) as_fn_append wine_warnings
"|libxslt ${notice_platform}development files not found, xslt won't be supported." ;;
11181 *) as_fn_error $?
"libxslt ${notice_platform}development files not found, xslt won't be supported.
11182 This is an error since --with-xslt was requested." "$LINENO" 5 ;;
11186 if test "x$with_dbus" != "xno"
11188 if ${DBUS_CFLAGS:+false} :; then :
11189 if ${PKG_CONFIG+:} false
; then :
11190 DBUS_CFLAGS
=`$PKG_CONFIG --cflags dbus-1 2>/dev/null`
11194 if ${DBUS_LIBS:+false} :; then :
11195 if ${PKG_CONFIG+:} false
; then :
11196 DBUS_LIBS
=`$PKG_CONFIG --libs dbus-1 2>/dev/null`
11201 $as_echo "$as_me:${as_lineno-$LINENO}: dbus-1 cflags: $DBUS_CFLAGS" >&5
11202 $as_echo "$as_me:${as_lineno-$LINENO}: dbus-1 libs: $DBUS_LIBS" >&5
11203 ac_save_CPPFLAGS
=$CPPFLAGS
11204 CPPFLAGS
="$CPPFLAGS $DBUS_CFLAGS"
11205 ac_fn_c_check_header_mongrel
"$LINENO" "dbus/dbus.h" "ac_cv_header_dbus_dbus_h" "$ac_includes_default"
11206 if test "x$ac_cv_header_dbus_dbus_h" = xyes
; then :
11207 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -ldbus-1" >&5
11208 $as_echo_n "checking for -ldbus-1... " >&6; }
11209 if ${ac_cv_lib_soname_dbus_1+:} false
; then :
11210 $as_echo_n "(cached) " >&6
11212 ac_check_soname_save_LIBS
=$LIBS
11213 LIBS
="-ldbus-1 $DBUS_LIBS $LIBS"
11214 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11215 /* end confdefs.h. */
11217 /* Override any GCC internal prototype to avoid an error.
11218 Use char because int might match the return type of a GCC
11219 builtin and then its argument prototype would still apply. */
11223 char dbus_connection_close ();
11227 return dbus_connection_close ();
11232 if ac_fn_c_try_link
"$LINENO"; then :
11234 dll
) ac_cv_lib_soname_dbus_1
=`$ac_cv_path_LDD conftest.exe | grep "dbus-1" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11235 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'` ;;
11236 *) 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'`
11237 if ${ac_cv_lib_soname_dbus_1:+false} :; then :
11238 ac_cv_lib_soname_dbus_1
=`$LDD conftest$ac_exeext | grep "libdbus-1\\.$LIBEXT" | sed -e "s/^.*\(libdbus-1\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11242 rm -f core conftest.err conftest.
$ac_objext \
11243 conftest
$ac_exeext conftest.
$ac_ext
11244 LIBS
=$ac_check_soname_save_LIBS
11246 if ${ac_cv_lib_soname_dbus_1:+false} :; then :
11247 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11248 $as_echo "not found" >&6; }
11251 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_dbus_1" >&5
11252 $as_echo "$ac_cv_lib_soname_dbus_1" >&6; }
11254 cat >>confdefs.h
<<_ACEOF
11255 #define SONAME_LIBDBUS_1 "$ac_cv_lib_soname_dbus_1"
11265 CPPFLAGS
=$ac_save_CPPFLAGS
11266 test -z "$DBUS_CFLAGS" || DBUS_CFLAGS
=`echo " $DBUS_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
11267 test -z "$DBUS_LIBS" || DBUS_LIBS
=`echo " $DBUS_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
11270 if test "x$ac_cv_lib_soname_dbus_1" = "x" -a \
11271 "x$ac_cv_header_DiskArbitration_DiskArbitration_h" != "xyes"; then :
11272 case "x$with_dbus" in
11273 x
) as_fn_append wine_notices
"|libdbus ${notice_platform}development files not found, no dynamic device support." ;;
11275 *) as_fn_error $?
"libdbus ${notice_platform}development files not found, no dynamic device support.
11276 This is an error since --with-dbus was requested." "$LINENO" 5 ;;
11280 if test "x$with_hal" != "xno" -a "x$ac_cv_lib_soname_dbus_1" != x
11282 if ${HAL_CFLAGS:+false} :; then :
11283 if ${PKG_CONFIG+:} false
; then :
11284 HAL_CFLAGS
=`$PKG_CONFIG --cflags hal 2>/dev/null`
11288 if ${HAL_LIBS:+false} :; then :
11289 if ${PKG_CONFIG+:} false
; then :
11290 HAL_LIBS
=`$PKG_CONFIG --libs hal 2>/dev/null`
11294 HAL_LIBS
=${HAL_LIBS:-"-ldbus-1"}
11295 $as_echo "$as_me:${as_lineno-$LINENO}: hal cflags: $HAL_CFLAGS" >&5
11296 $as_echo "$as_me:${as_lineno-$LINENO}: hal libs: $HAL_LIBS" >&5
11297 ac_save_CPPFLAGS
=$CPPFLAGS
11298 CPPFLAGS
="$CPPFLAGS $HAL_CFLAGS"
11299 ac_fn_c_check_header_mongrel
"$LINENO" "hal/libhal.h" "ac_cv_header_hal_libhal_h" "$ac_includes_default"
11300 if test "x$ac_cv_header_hal_libhal_h" = xyes
; then :
11301 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lhal" >&5
11302 $as_echo_n "checking for -lhal... " >&6; }
11303 if ${ac_cv_lib_soname_hal+:} false
; then :
11304 $as_echo_n "(cached) " >&6
11306 ac_check_soname_save_LIBS
=$LIBS
11307 LIBS
="-lhal $HAL_LIBS $LIBS"
11308 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11309 /* end confdefs.h. */
11311 /* Override any GCC internal prototype to avoid an error.
11312 Use char because int might match the return type of a GCC
11313 builtin and then its argument prototype would still apply. */
11317 char libhal_ctx_new ();
11321 return libhal_ctx_new ();
11326 if ac_fn_c_try_link
"$LINENO"; then :
11328 dll
) ac_cv_lib_soname_hal
=`$ac_cv_path_LDD conftest.exe | grep "hal" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11329 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'` ;;
11330 *) ac_cv_lib_soname_hal
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libhal\\.$LIBEXT" | sed -e "s/^.*\\[\\(libhal\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
11331 if ${ac_cv_lib_soname_hal:+false} :; then :
11332 ac_cv_lib_soname_hal
=`$LDD conftest$ac_exeext | grep "libhal\\.$LIBEXT" | sed -e "s/^.*\(libhal\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11336 rm -f core conftest.err conftest.
$ac_objext \
11337 conftest
$ac_exeext conftest.
$ac_ext
11338 LIBS
=$ac_check_soname_save_LIBS
11340 if ${ac_cv_lib_soname_hal:+false} :; then :
11341 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11342 $as_echo "not found" >&6; }
11345 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_hal" >&5
11346 $as_echo "$ac_cv_lib_soname_hal" >&6; }
11348 cat >>confdefs.h
<<_ACEOF
11349 #define SONAME_LIBHAL "$ac_cv_lib_soname_hal"
11359 CPPFLAGS
=$ac_save_CPPFLAGS
11360 test -z "$HAL_CFLAGS" || HAL_CFLAGS
=`echo " $HAL_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
11361 test -z "$HAL_LIBS" || HAL_LIBS
=`echo " $HAL_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
11363 if test "x$ac_cv_lib_soname_hal" = "x" -a \
11364 "x$ac_cv_header_DiskArbitration_DiskArbitration_h" != "xyes"; then :
11365 case "x$with_hal" in
11366 x
) as_fn_append wine_notices
"|libhal ${notice_platform}development files not found, no legacy dynamic device support." ;;
11368 *) as_fn_error $?
"libhal ${notice_platform}development files not found, no legacy dynamic device support.
11369 This is an error since --with-hal was requested." "$LINENO" 5 ;;
11374 if test "x$with_gnutls" != "xno"
11376 if ${GNUTLS_CFLAGS:+false} :; then :
11377 if ${PKG_CONFIG+:} false
; then :
11378 GNUTLS_CFLAGS
=`$PKG_CONFIG --cflags gnutls 2>/dev/null`
11382 if ${GNUTLS_LIBS:+false} :; then :
11383 if ${PKG_CONFIG+:} false
; then :
11384 GNUTLS_LIBS
=`$PKG_CONFIG --libs gnutls 2>/dev/null`
11389 $as_echo "$as_me:${as_lineno-$LINENO}: gnutls cflags: $GNUTLS_CFLAGS" >&5
11390 $as_echo "$as_me:${as_lineno-$LINENO}: gnutls libs: $GNUTLS_LIBS" >&5
11391 ac_save_CPPFLAGS
=$CPPFLAGS
11392 CPPFLAGS
="$CPPFLAGS $GNUTLS_CFLAGS"
11393 ac_fn_c_check_header_mongrel
"$LINENO" "gnutls/gnutls.h" "ac_cv_header_gnutls_gnutls_h" "$ac_includes_default"
11394 if test "x$ac_cv_header_gnutls_gnutls_h" = xyes
; then :
11395 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11396 /* end confdefs.h. */
11397 #include <gnutls/gnutls.h>
11398 #include <gnutls/crypto.h>
11402 static typeof(gnutls_mac_get_key_size) *func; if (func) return 0;
11407 if ac_fn_c_try_compile
"$LINENO"; then :
11408 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lgnutls" >&5
11409 $as_echo_n "checking for -lgnutls... " >&6; }
11410 if ${ac_cv_lib_soname_gnutls+:} false
; then :
11411 $as_echo_n "(cached) " >&6
11413 ac_check_soname_save_LIBS
=$LIBS
11414 LIBS
="-lgnutls $GNUTLS_LIBS $LIBS"
11415 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11416 /* end confdefs.h. */
11418 /* Override any GCC internal prototype to avoid an error.
11419 Use char because int might match the return type of a GCC
11420 builtin and then its argument prototype would still apply. */
11424 char gnutls_global_init ();
11428 return gnutls_global_init ();
11433 if ac_fn_c_try_link
"$LINENO"; then :
11435 dll
) ac_cv_lib_soname_gnutls
=`$ac_cv_path_LDD conftest.exe | grep "gnutls" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11436 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'` ;;
11437 *) 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'`
11438 if ${ac_cv_lib_soname_gnutls:+false} :; then :
11439 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'`
11443 rm -f core conftest.err conftest.
$ac_objext \
11444 conftest
$ac_exeext conftest.
$ac_ext
11445 LIBS
=$ac_check_soname_save_LIBS
11447 if ${ac_cv_lib_soname_gnutls:+false} :; then :
11448 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11449 $as_echo "not found" >&6; }
11452 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_gnutls" >&5
11453 $as_echo "$ac_cv_lib_soname_gnutls" >&6; }
11455 cat >>confdefs.h
<<_ACEOF
11456 #define SONAME_LIBGNUTLS "$ac_cv_lib_soname_gnutls"
11462 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
11468 CPPFLAGS
=$ac_save_CPPFLAGS
11469 test -z "$GNUTLS_CFLAGS" || GNUTLS_CFLAGS
=`echo " $GNUTLS_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
11470 test -z "$GNUTLS_LIBS" || GNUTLS_LIBS
=`echo " $GNUTLS_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
11473 if test "x$ac_cv_lib_soname_gnutls" = "x"; then :
11474 case "x$with_gnutls" in
11475 x
) as_fn_append wine_warnings
"|libgnutls ${notice_platform}development files not found, no schannel support." ;;
11477 *) as_fn_error $?
"libgnutls ${notice_platform}development files not found, no schannel support.
11478 This is an error since --with-gnutls was requested." "$LINENO" 5 ;;
11483 if test "$ac_cv_header_ncurses_h" = "yes"
11485 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lncurses" >&5
11486 $as_echo_n "checking for -lncurses... " >&6; }
11487 if ${ac_cv_lib_soname_ncurses+:} false
; then :
11488 $as_echo_n "(cached) " >&6
11490 ac_check_soname_save_LIBS
=$LIBS
11491 LIBS
="-lncurses $LIBS"
11492 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11493 /* end confdefs.h. */
11495 /* Override any GCC internal prototype to avoid an error.
11496 Use char because int might match the return type of a GCC
11497 builtin and then its argument prototype would still apply. */
11510 if ac_fn_c_try_link
"$LINENO"; then :
11512 dll
) ac_cv_lib_soname_ncurses
=`$ac_cv_path_LDD conftest.exe | grep "ncurses" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11513 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'` ;;
11514 *) 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'`
11515 if ${ac_cv_lib_soname_ncurses:+false} :; then :
11516 ac_cv_lib_soname_ncurses
=`$LDD conftest$ac_exeext | grep "libncursesw\\{0,1\\}\\.$LIBEXT" | sed -e "s/^.*\(libncursesw\\{0,1\\}\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11520 rm -f core conftest.err conftest.
$ac_objext \
11521 conftest
$ac_exeext conftest.
$ac_ext
11522 LIBS
=$ac_check_soname_save_LIBS
11524 if ${ac_cv_lib_soname_ncurses:+false} :; then :
11525 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11526 $as_echo "not found" >&6; }
11529 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_ncurses" >&5
11530 $as_echo "$ac_cv_lib_soname_ncurses" >&6; }
11532 cat >>confdefs.h
<<_ACEOF
11533 #define SONAME_LIBNCURSES "$ac_cv_lib_soname_ncurses"
11536 CURSES_LIBS
="-lncurses"
11538 elif test "$ac_cv_header_curses_h" = "yes"
11540 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lcurses" >&5
11541 $as_echo_n "checking for -lcurses... " >&6; }
11542 if ${ac_cv_lib_soname_curses+:} false
; then :
11543 $as_echo_n "(cached) " >&6
11545 ac_check_soname_save_LIBS
=$LIBS
11546 LIBS
="-lcurses $LIBS"
11547 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11548 /* end confdefs.h. */
11550 /* Override any GCC internal prototype to avoid an error.
11551 Use char because int might match the return type of a GCC
11552 builtin and then its argument prototype would still apply. */
11565 if ac_fn_c_try_link
"$LINENO"; then :
11567 dll
) ac_cv_lib_soname_curses
=`$ac_cv_path_LDD conftest.exe | grep "curses" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11568 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'` ;;
11569 *) ac_cv_lib_soname_curses
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libcurses\\.$LIBEXT" | sed -e "s/^.*\\[\\(libcurses\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
11570 if ${ac_cv_lib_soname_curses:+false} :; then :
11571 ac_cv_lib_soname_curses
=`$LDD conftest$ac_exeext | grep "libcurses\\.$LIBEXT" | sed -e "s/^.*\(libcurses\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11575 rm -f core conftest.err conftest.
$ac_objext \
11576 conftest
$ac_exeext conftest.
$ac_ext
11577 LIBS
=$ac_check_soname_save_LIBS
11579 if ${ac_cv_lib_soname_curses:+false} :; then :
11580 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11581 $as_echo "not found" >&6; }
11584 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_curses" >&5
11585 $as_echo "$ac_cv_lib_soname_curses" >&6; }
11587 cat >>confdefs.h
<<_ACEOF
11588 #define SONAME_LIBCURSES "$ac_cv_lib_soname_curses"
11591 CURSES_LIBS
="-lcurses"
11594 ac_save_LIBS
="$LIBS"
11595 LIBS
="$LIBS $CURSES_LIBS"
11596 for ac_func
in mousemask
11598 ac_fn_c_check_func
"$LINENO" "mousemask" "ac_cv_func_mousemask"
11599 if test "x$ac_cv_func_mousemask" = xyes
; then :
11600 cat >>confdefs.h
<<_ACEOF
11601 #define HAVE_MOUSEMASK 1
11607 LIBS
="$ac_save_LIBS"
11608 if test "x$ac_cv_lib_soname_curses$ac_cv_lib_soname_ncurses" = "x"; then :
11609 case "x$with_curses" in
11610 x
) as_fn_append wine_notices
"|lib(n)curses ${notice_platform}development files not found, curses won't be supported." ;;
11612 *) as_fn_error $?
"lib(n)curses ${notice_platform}development files not found, curses won't be supported.
11613 This is an error since --with-curses was requested." "$LINENO" 5 ;;
11617 if test "x$with_sane" != "xno"
11619 if ${SANE_CFLAGS:+false} :; then :
11620 if ${PKG_CONFIG+:} false
; then :
11621 SANE_CFLAGS
=`$PKG_CONFIG --cflags libsane 2>/dev/null`
11624 test "$cross_compiling" = yes || SANE_CFLAGS
=${SANE_CFLAGS:-`sane-config --cflags 2>/dev/null`}
11625 if ${SANE_LIBS:+false} :; then :
11626 if ${PKG_CONFIG+:} false
; then :
11627 SANE_LIBS
=`$PKG_CONFIG --libs libsane 2>/dev/null`
11630 test "$cross_compiling" = yes || SANE_LIBS
=${SANE_LIBS:-`sane-config --ldflags 2>/dev/null`}
11632 $as_echo "$as_me:${as_lineno-$LINENO}: libsane cflags: $SANE_CFLAGS" >&5
11633 $as_echo "$as_me:${as_lineno-$LINENO}: libsane libs: $SANE_LIBS" >&5
11634 ac_save_CPPFLAGS
=$CPPFLAGS
11635 CPPFLAGS
="$CPPFLAGS $SANE_CFLAGS"
11636 ac_fn_c_check_header_mongrel
"$LINENO" "sane/sane.h" "ac_cv_header_sane_sane_h" "$ac_includes_default"
11637 if test "x$ac_cv_header_sane_sane_h" = xyes
; then :
11638 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lsane" >&5
11639 $as_echo_n "checking for -lsane... " >&6; }
11640 if ${ac_cv_lib_soname_sane+:} false
; then :
11641 $as_echo_n "(cached) " >&6
11643 ac_check_soname_save_LIBS
=$LIBS
11644 LIBS
="-lsane $SANE_LIBS $LIBS"
11645 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11646 /* end confdefs.h. */
11648 /* Override any GCC internal prototype to avoid an error.
11649 Use char because int might match the return type of a GCC
11650 builtin and then its argument prototype would still apply. */
11658 return sane_init ();
11663 if ac_fn_c_try_link
"$LINENO"; then :
11665 dll
) ac_cv_lib_soname_sane
=`$ac_cv_path_LDD conftest.exe | grep "sane" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11666 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'` ;;
11667 *) ac_cv_lib_soname_sane
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libsane\\.$LIBEXT" | sed -e "s/^.*\\[\\(libsane\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
11668 if ${ac_cv_lib_soname_sane:+false} :; then :
11669 ac_cv_lib_soname_sane
=`$LDD conftest$ac_exeext | grep "libsane\\.$LIBEXT" | sed -e "s/^.*\(libsane\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11673 rm -f core conftest.err conftest.
$ac_objext \
11674 conftest
$ac_exeext conftest.
$ac_ext
11675 LIBS
=$ac_check_soname_save_LIBS
11677 if ${ac_cv_lib_soname_sane:+false} :; then :
11678 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11679 $as_echo "not found" >&6; }
11682 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_sane" >&5
11683 $as_echo "$ac_cv_lib_soname_sane" >&6; }
11685 cat >>confdefs.h
<<_ACEOF
11686 #define SONAME_LIBSANE "$ac_cv_lib_soname_sane"
11696 CPPFLAGS
=$ac_save_CPPFLAGS
11697 test -z "$SANE_CFLAGS" || SANE_CFLAGS
=`echo " $SANE_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
11698 test -z "$SANE_LIBS" || SANE_LIBS
=`echo " $SANE_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
11701 if test "x$ac_cv_lib_soname_sane" = "x"; then :
11702 case "x$with_sane" in
11703 x
) as_fn_append wine_notices
"|libsane ${notice_platform}development files not found, scanners won't be supported." ;;
11705 *) as_fn_error $?
"libsane ${notice_platform}development files not found, scanners won't be supported.
11706 This is an error since --with-sane was requested." "$LINENO" 5 ;;
11710 if test "x$with_v4l" != "xno"
11712 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lv4l1" >&5
11713 $as_echo_n "checking for -lv4l1... " >&6; }
11714 if ${ac_cv_lib_soname_v4l1+:} false
; then :
11715 $as_echo_n "(cached) " >&6
11717 ac_check_soname_save_LIBS
=$LIBS
11718 LIBS
="-lv4l1 $LIBS"
11719 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11720 /* end confdefs.h. */
11722 /* Override any GCC internal prototype to avoid an error.
11723 Use char because int might match the return type of a GCC
11724 builtin and then its argument prototype would still apply. */
11732 return v4l1_open ();
11737 if ac_fn_c_try_link
"$LINENO"; then :
11739 dll
) ac_cv_lib_soname_v4l1
=`$ac_cv_path_LDD conftest.exe | grep "v4l1" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11740 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'` ;;
11741 *) ac_cv_lib_soname_v4l1
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libv4l1\\.$LIBEXT" | sed -e "s/^.*\\[\\(libv4l1\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
11742 if ${ac_cv_lib_soname_v4l1:+false} :; then :
11743 ac_cv_lib_soname_v4l1
=`$LDD conftest$ac_exeext | grep "libv4l1\\.$LIBEXT" | sed -e "s/^.*\(libv4l1\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11747 rm -f core conftest.err conftest.
$ac_objext \
11748 conftest
$ac_exeext conftest.
$ac_ext
11749 LIBS
=$ac_check_soname_save_LIBS
11751 if ${ac_cv_lib_soname_v4l1:+false} :; then :
11752 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11753 $as_echo "not found" >&6; }
11756 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_v4l1" >&5
11757 $as_echo "$ac_cv_lib_soname_v4l1" >&6; }
11759 cat >>confdefs.h
<<_ACEOF
11760 #define SONAME_LIBV4L1 "$ac_cv_lib_soname_v4l1"
11766 if test "x$ac_cv_lib_soname_v4l1" = "x"; then :
11767 case "x$with_v4l" in
11768 x
) as_fn_append wine_notices
"|libv4l ${notice_platform}development files not found." ;;
11770 *) as_fn_error $?
"libv4l ${notice_platform}development files not found.
11771 This is an error since --with-v4l was requested." "$LINENO" 5 ;;
11775 if test "x$with_gphoto" != "xno"
11777 if ${GPHOTO2_CFLAGS:+false} :; then :
11778 if ${PKG_CONFIG+:} false
; then :
11779 GPHOTO2_CFLAGS
=`$PKG_CONFIG --cflags libgphoto2 2>/dev/null`
11782 test "$cross_compiling" = yes || GPHOTO2_CFLAGS
=${GPHOTO2_CFLAGS:-`gphoto2-config --cflags 2>/dev/null`}
11783 if ${GPHOTO2_LIBS:+false} :; then :
11784 if ${PKG_CONFIG+:} false
; then :
11785 GPHOTO2_LIBS
=`$PKG_CONFIG --libs libgphoto2 2>/dev/null`
11788 test "$cross_compiling" = yes || GPHOTO2_LIBS
=${GPHOTO2_LIBS:-`gphoto2-config --libs 2>/dev/null`}
11789 GPHOTO2_LIBS
=${GPHOTO2_LIBS:-"-lgphoto2"}
11790 $as_echo "$as_me:${as_lineno-$LINENO}: libgphoto2 cflags: $GPHOTO2_CFLAGS" >&5
11791 $as_echo "$as_me:${as_lineno-$LINENO}: libgphoto2 libs: $GPHOTO2_LIBS" >&5
11792 ac_save_CPPFLAGS
=$CPPFLAGS
11793 CPPFLAGS
="$CPPFLAGS $GPHOTO2_CFLAGS"
11794 ac_fn_c_check_header_mongrel
"$LINENO" "gphoto2-camera.h" "ac_cv_header_gphoto2_camera_h" "$ac_includes_default"
11795 if test "x$ac_cv_header_gphoto2_camera_h" = xyes
; then :
11796 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gp_camera_new in -lgphoto2" >&5
11797 $as_echo_n "checking for gp_camera_new in -lgphoto2... " >&6; }
11798 if ${ac_cv_lib_gphoto2_gp_camera_new+:} false
; then :
11799 $as_echo_n "(cached) " >&6
11801 ac_check_lib_save_LIBS
=$LIBS
11802 LIBS
="-lgphoto2 $GPHOTO2_LIBS $LIBS"
11803 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11804 /* end confdefs.h. */
11806 /* Override any GCC internal prototype to avoid an error.
11807 Use char because int might match the return type of a GCC
11808 builtin and then its argument prototype would still apply. */
11812 char gp_camera_new ();
11816 return gp_camera_new ();
11821 if ac_fn_c_try_link
"$LINENO"; then :
11822 ac_cv_lib_gphoto2_gp_camera_new
=yes
11824 ac_cv_lib_gphoto2_gp_camera_new
=no
11826 rm -f core conftest.err conftest.
$ac_objext \
11827 conftest
$ac_exeext conftest.
$ac_ext
11828 LIBS
=$ac_check_lib_save_LIBS
11830 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gphoto2_gp_camera_new" >&5
11831 $as_echo "$ac_cv_lib_gphoto2_gp_camera_new" >&6; }
11832 if test "x$ac_cv_lib_gphoto2_gp_camera_new" = xyes
; then :
11834 $as_echo "#define HAVE_GPHOTO2 1" >>confdefs.h
11837 GPHOTO2_LIBS
=""; GPHOTO2_CFLAGS
=""
11841 GPHOTO2_LIBS
=""; GPHOTO2_CFLAGS
=""
11845 CPPFLAGS
=$ac_save_CPPFLAGS
11846 test -z "$GPHOTO2_CFLAGS" || GPHOTO2_CFLAGS
=`echo " $GPHOTO2_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
11847 test -z "$GPHOTO2_LIBS" || GPHOTO2_LIBS
=`echo " $GPHOTO2_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
11849 if ${GPHOTO2_PORT_CFLAGS:+false} :; then :
11850 if ${PKG_CONFIG+:} false
; then :
11851 GPHOTO2_PORT_CFLAGS
=`$PKG_CONFIG --cflags libgphoto2_port 2>/dev/null`
11854 test "$cross_compiling" = yes || GPHOTO2_PORT_CFLAGS
=${GPHOTO2_PORT_CFLAGS:-`gphoto2-port-config --cflags 2>/dev/null`}
11855 if ${GPHOTO2_PORT_LIBS:+false} :; then :
11856 if ${PKG_CONFIG+:} false
; then :
11857 GPHOTO2_PORT_LIBS
=`$PKG_CONFIG --libs libgphoto2_port 2>/dev/null`
11860 test "$cross_compiling" = yes || GPHOTO2_PORT_LIBS
=${GPHOTO2_PORT_LIBS:-`gphoto2-port-config --libs 2>/dev/null`}
11861 GPHOTO2_PORT_LIBS
=${GPHOTO2_PORT_LIBS:-"-lgphoto2_port"}
11862 $as_echo "$as_me:${as_lineno-$LINENO}: libgphoto2_port cflags: $GPHOTO2_PORT_CFLAGS" >&5
11863 $as_echo "$as_me:${as_lineno-$LINENO}: libgphoto2_port libs: $GPHOTO2_PORT_LIBS" >&5
11864 ac_save_CPPFLAGS
=$CPPFLAGS
11865 CPPFLAGS
="$CPPFLAGS $GPHOTO2_PORT_CFLAGS"
11866 ac_fn_c_check_header_mongrel
"$LINENO" "gphoto2-port.h" "ac_cv_header_gphoto2_port_h" "$ac_includes_default"
11867 if test "x$ac_cv_header_gphoto2_port_h" = xyes
; then :
11868 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gp_port_info_list_new in -lgphoto2_port" >&5
11869 $as_echo_n "checking for gp_port_info_list_new in -lgphoto2_port... " >&6; }
11870 if ${ac_cv_lib_gphoto2_port_gp_port_info_list_new+:} false
; then :
11871 $as_echo_n "(cached) " >&6
11873 ac_check_lib_save_LIBS
=$LIBS
11874 LIBS
="-lgphoto2_port $GPHOTO2_PORT_LIBS $LIBS"
11875 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11876 /* end confdefs.h. */
11878 /* Override any GCC internal prototype to avoid an error.
11879 Use char because int might match the return type of a GCC
11880 builtin and then its argument prototype would still apply. */
11884 char gp_port_info_list_new ();
11888 return gp_port_info_list_new ();
11893 if ac_fn_c_try_link
"$LINENO"; then :
11894 ac_cv_lib_gphoto2_port_gp_port_info_list_new
=yes
11896 ac_cv_lib_gphoto2_port_gp_port_info_list_new
=no
11898 rm -f core conftest.err conftest.
$ac_objext \
11899 conftest
$ac_exeext conftest.
$ac_ext
11900 LIBS
=$ac_check_lib_save_LIBS
11902 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gphoto2_port_gp_port_info_list_new" >&5
11903 $as_echo "$ac_cv_lib_gphoto2_port_gp_port_info_list_new" >&6; }
11904 if test "x$ac_cv_lib_gphoto2_port_gp_port_info_list_new" = xyes
; then :
11906 $as_echo "#define HAVE_GPHOTO2_PORT 1" >>confdefs.h
11909 GPHOTO2_PORT_LIBS
=""; GPHOTO2_PORT_CFLAGS
=""
11913 GPHOTO2_PORT_LIBS
=""; GPHOTO2_PORT_CFLAGS
=""
11917 CPPFLAGS
=$ac_save_CPPFLAGS
11918 test -z "$GPHOTO2_PORT_CFLAGS" || GPHOTO2_PORT_CFLAGS
=`echo " $GPHOTO2_PORT_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
11919 test -z "$GPHOTO2_PORT_LIBS" || GPHOTO2_PORT_LIBS
=`echo " $GPHOTO2_PORT_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
11922 if test "$ac_cv_lib_gphoto2_gp_camera_new" != "yes"; then :
11923 case "x$with_gphoto" in
11924 x
) as_fn_append wine_notices
"|libgphoto2 ${notice_platform}development files not found, digital cameras won't be supported." ;;
11926 *) as_fn_error $?
"libgphoto2 ${notice_platform}development files not found, digital cameras won't be supported.
11927 This is an error since --with-gphoto was requested." "$LINENO" 5 ;;
11930 if test "$ac_cv_lib_gphoto2_port_gp_port_info_list_new" != "yes"; then :
11931 case "x$with_gphoto" in
11932 x
) as_fn_append wine_notices
"|libgphoto2_port ${notice_platform}development files not found, digital cameras won't be auto-detected." ;;
11934 *) as_fn_error $?
"libgphoto2_port ${notice_platform}development files not found, digital cameras won't be auto-detected.
11935 This is an error since --with-gphoto was requested." "$LINENO" 5 ;;
11940 if test "$ac_cv_header_resolv_h" = "yes"
11942 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for resolver library" >&5
11943 $as_echo_n "checking for resolver library... " >&6; }
11944 if ${ac_cv_have_resolv+:} false
; then :
11945 $as_echo_n "(cached) " >&6
11947 ac_save_LIBS
="$LIBS"
11948 for lib
in '' -lresolv
11950 LIBS
="$lib $ac_save_LIBS"
11951 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11952 /* end confdefs.h. */
11953 #ifdef HAVE_NETINET_IN_H
11954 #include <netinet/in.h>
11956 #include <resolv.h>
11960 if (!(_res.options & RES_INIT)) res_init(); res_query("foo",ns_c_in,0,0,0)
11965 if ac_fn_c_try_link
"$LINENO"; then :
11966 ac_cv_have_resolv
=${lib:-"none required"}
11968 ac_cv_have_resolv
="not found"
11970 rm -f core conftest.err conftest.
$ac_objext \
11971 conftest
$ac_exeext conftest.
$ac_ext
11972 test "x$ac_cv_have_resolv" = "xnot found" ||
break
11974 LIBS
="$ac_save_LIBS"
11976 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_resolv" >&5
11977 $as_echo "$ac_cv_have_resolv" >&6; }
11979 case "$ac_cv_have_resolv" in
11983 $as_echo "#define HAVE_RESOLV 1" >>confdefs.h
11986 $as_echo "#define HAVE_RESOLV 1" >>confdefs.h
11988 RESOLV_LIBS
=$ac_cv_have_resolv
11993 if test "x$with_cms" != "xno"
11995 if ${LCMS2_CFLAGS:+false} :; then :
11996 if ${PKG_CONFIG+:} false
; then :
11997 LCMS2_CFLAGS
=`$PKG_CONFIG --cflags lcms2 2>/dev/null`
12001 if ${LCMS2_LIBS:+false} :; then :
12002 if ${PKG_CONFIG+:} false
; then :
12003 LCMS2_LIBS
=`$PKG_CONFIG --libs lcms2 2>/dev/null`
12007 LCMS2_LIBS
=${LCMS2_LIBS:-"-llcms2"}
12008 $as_echo "$as_me:${as_lineno-$LINENO}: lcms2 cflags: $LCMS2_CFLAGS" >&5
12009 $as_echo "$as_me:${as_lineno-$LINENO}: lcms2 libs: $LCMS2_LIBS" >&5
12010 ac_save_CPPFLAGS
=$CPPFLAGS
12011 CPPFLAGS
="$CPPFLAGS $LCMS2_CFLAGS"
12012 for ac_header
in lcms2.h
12014 ac_fn_c_check_header_mongrel
"$LINENO" "lcms2.h" "ac_cv_header_lcms2_h" "$ac_includes_default"
12015 if test "x$ac_cv_header_lcms2_h" = xyes
; then :
12016 cat >>confdefs.h
<<_ACEOF
12017 #define HAVE_LCMS2_H 1
12024 if test "$ac_cv_header_lcms2_h" = "yes"
12026 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cmsOpenProfileFromFile in -llcms2" >&5
12027 $as_echo_n "checking for cmsOpenProfileFromFile in -llcms2... " >&6; }
12028 if ${ac_cv_lib_lcms2_cmsOpenProfileFromFile+:} false
; then :
12029 $as_echo_n "(cached) " >&6
12031 ac_check_lib_save_LIBS
=$LIBS
12032 LIBS
="-llcms2 $LCMS2_LIBS $LIBS"
12033 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12034 /* end confdefs.h. */
12036 /* Override any GCC internal prototype to avoid an error.
12037 Use char because int might match the return type of a GCC
12038 builtin and then its argument prototype would still apply. */
12042 char cmsOpenProfileFromFile ();
12046 return cmsOpenProfileFromFile ();
12051 if ac_fn_c_try_link
"$LINENO"; then :
12052 ac_cv_lib_lcms2_cmsOpenProfileFromFile
=yes
12054 ac_cv_lib_lcms2_cmsOpenProfileFromFile
=no
12056 rm -f core conftest.err conftest.
$ac_objext \
12057 conftest
$ac_exeext conftest.
$ac_ext
12058 LIBS
=$ac_check_lib_save_LIBS
12060 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_lcms2_cmsOpenProfileFromFile" >&5
12061 $as_echo "$ac_cv_lib_lcms2_cmsOpenProfileFromFile" >&6; }
12062 if test "x$ac_cv_lib_lcms2_cmsOpenProfileFromFile" = xyes
; then :
12064 $as_echo "#define HAVE_LCMS2 1" >>confdefs.h
12074 CPPFLAGS
=$ac_save_CPPFLAGS
12075 test -z "$LCMS2_CFLAGS" || LCMS2_CFLAGS
=`echo " $LCMS2_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
12076 test -z "$LCMS2_LIBS" || LCMS2_LIBS
=`echo " $LCMS2_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
12079 if test "$ac_cv_lib_lcms2_cmsOpenProfileFromFile" != "yes"; then :
12080 case "x$with_cms" in
12081 x
) as_fn_append wine_notices
"|liblcms2 ${notice_platform}development files not found, Color Management won't be supported." ;;
12083 *) as_fn_error $?
"liblcms2 ${notice_platform}development files not found, Color Management won't be supported.
12084 This is an error since --with-cms was requested." "$LINENO" 5 ;;
12088 if test "x$with_freetype" != "xno"
12090 if ${FREETYPE_CFLAGS:+false} :; then :
12091 if ${PKG_CONFIG+:} false
; then :
12092 FREETYPE_CFLAGS
=`$PKG_CONFIG --cflags freetype2 2>/dev/null`
12095 test "$cross_compiling" = yes || FREETYPE_CFLAGS
=${FREETYPE_CFLAGS:-`(freetype-config --cflags || freetype2-config --cflags) 2>/dev/null`}
12096 if ${FREETYPE_LIBS:+false} :; then :
12097 if ${PKG_CONFIG+:} false
; then :
12098 FREETYPE_LIBS
=`$PKG_CONFIG --libs freetype2 2>/dev/null`
12101 test "$cross_compiling" = yes || FREETYPE_LIBS
=${FREETYPE_LIBS:-`(freetype-config --libs || freetype2-config --libs) 2>/dev/null`}
12102 FREETYPE_LIBS
=${FREETYPE_LIBS:-"-lfreetype"}
12103 $as_echo "$as_me:${as_lineno-$LINENO}: freetype2 cflags: $FREETYPE_CFLAGS" >&5
12104 $as_echo "$as_me:${as_lineno-$LINENO}: freetype2 libs: $FREETYPE_LIBS" >&5
12105 ac_save_CPPFLAGS
=$CPPFLAGS
12106 CPPFLAGS
="$CPPFLAGS $FREETYPE_CFLAGS"
12107 for ac_header
in ft2build.h
12109 ac_fn_c_check_header_mongrel
"$LINENO" "ft2build.h" "ac_cv_header_ft2build_h" "$ac_includes_default"
12110 if test "x$ac_cv_header_ft2build_h" = xyes
; then :
12111 cat >>confdefs.h
<<_ACEOF
12112 #define HAVE_FT2BUILD_H 1
12119 if test "$ac_cv_header_ft2build_h" = "yes"
12121 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lfreetype" >&5
12122 $as_echo_n "checking for -lfreetype... " >&6; }
12123 if ${ac_cv_lib_soname_freetype+:} false
; then :
12124 $as_echo_n "(cached) " >&6
12126 ac_check_soname_save_LIBS
=$LIBS
12127 LIBS
="-lfreetype $FREETYPE_LIBS $LIBS"
12128 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12129 /* end confdefs.h. */
12131 /* Override any GCC internal prototype to avoid an error.
12132 Use char because int might match the return type of a GCC
12133 builtin and then its argument prototype would still apply. */
12137 char FT_Init_FreeType ();
12141 return FT_Init_FreeType ();
12146 if ac_fn_c_try_link
"$LINENO"; then :
12148 dll
) ac_cv_lib_soname_freetype
=`$ac_cv_path_LDD conftest.exe | grep "freetype" | sed -e "s/dll.*/dll/"';2,$d'` ;;
12149 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'` ;;
12150 *) ac_cv_lib_soname_freetype
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libfreetype\\.$LIBEXT" | sed -e "s/^.*\\[\\(libfreetype\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
12151 if ${ac_cv_lib_soname_freetype:+false} :; then :
12152 ac_cv_lib_soname_freetype
=`$LDD conftest$ac_exeext | grep "libfreetype\\.$LIBEXT" | sed -e "s/^.*\(libfreetype\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
12156 rm -f core conftest.err conftest.
$ac_objext \
12157 conftest
$ac_exeext conftest.
$ac_ext
12158 LIBS
=$ac_check_soname_save_LIBS
12160 if ${ac_cv_lib_soname_freetype:+false} :; then :
12161 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
12162 $as_echo "not found" >&6; }
12165 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_freetype" >&5
12166 $as_echo "$ac_cv_lib_soname_freetype" >&6; }
12168 cat >>confdefs.h
<<_ACEOF
12169 #define SONAME_LIBFREETYPE "$ac_cv_lib_soname_freetype"
12173 $as_echo "#define HAVE_FREETYPE 1" >>confdefs.h
12175 ac_fn_c_check_type
"$LINENO" "FT_TrueTypeEngineType" "ac_cv_type_FT_TrueTypeEngineType" "#include <ft2build.h>
12176 #include FT_MODULE_H
12178 if test "x$ac_cv_type_FT_TrueTypeEngineType" = xyes
; then :
12180 cat >>confdefs.h
<<_ACEOF
12181 #define HAVE_FT_TRUETYPEENGINETYPE 1
12192 CPPFLAGS
=$ac_save_CPPFLAGS
12193 test -z "$FREETYPE_CFLAGS" || FREETYPE_CFLAGS
=`echo " $FREETYPE_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
12194 test -z "$FREETYPE_LIBS" || FREETYPE_LIBS
=`echo " $FREETYPE_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
12197 if test "x$ac_cv_lib_soname_freetype" = x
; then :
12198 case "x$with_freetype" in
12200 *) as_fn_error $?
"FreeType ${notice_platform}development files not found. Fonts will not be built.
12201 Use the --without-freetype option if you really want this." "$LINENO" 5 ;;
12204 test "x$ac_cv_lib_soname_freetype" = x
&& enable_fonts
=${enable_fonts:-no}
12206 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for parport header/ppdev.h" >&5
12207 $as_echo_n "checking for parport header/ppdev.h... " >&6; }
12208 if ${ac_cv_c_ppdev+:} false
; then :
12209 $as_echo_n "(cached) " >&6
12211 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12212 /* end confdefs.h. */
12213 #ifdef HAVE_SYS_IOCTL_H
12214 # include <sys/ioctl.h>
12216 #include <linux/ppdev.h>
12220 ioctl (1,PPCLAIM,0)
12225 if ac_fn_c_try_compile
"$LINENO"; then :
12226 ac_cv_c_ppdev
="yes"
12230 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
12232 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_ppdev" >&5
12233 $as_echo "$ac_cv_c_ppdev" >&6; }
12234 if test "$ac_cv_c_ppdev" = "yes"
12237 $as_echo "#define HAVE_PPDEV 1" >>confdefs.h
12241 ac_wine_check_funcs_save_LIBS
="$LIBS"
12242 LIBS
="$LIBS $PTHREAD_LIBS"
12244 pthread_attr_get_np \
12245 pthread_getattr_np \
12246 pthread_getthreadid_np \
12247 pthread_get_stackaddr_np \
12248 pthread_get_stacksize_np
12250 as_ac_var
=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
12251 ac_fn_c_check_func
"$LINENO" "$ac_func" "$as_ac_var"
12252 if eval test \"x\$
"$as_ac_var"\" = x
"yes"; then :
12253 cat >>confdefs.h
<<_ACEOF
12254 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
12260 LIBS
="$ac_wine_check_funcs_save_LIBS"
12262 if test "$ac_cv_header_zlib_h" = "yes"
12264 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for inflate in -lz" >&5
12265 $as_echo_n "checking for inflate in -lz... " >&6; }
12266 if ${ac_cv_lib_z_inflate+:} false
; then :
12267 $as_echo_n "(cached) " >&6
12269 ac_check_lib_save_LIBS
=$LIBS
12271 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12272 /* end confdefs.h. */
12274 /* Override any GCC internal prototype to avoid an error.
12275 Use char because int might match the return type of a GCC
12276 builtin and then its argument prototype would still apply. */
12289 if ac_fn_c_try_link
"$LINENO"; then :
12290 ac_cv_lib_z_inflate
=yes
12292 ac_cv_lib_z_inflate
=no
12294 rm -f core conftest.err conftest.
$ac_objext \
12295 conftest
$ac_exeext conftest.
$ac_ext
12296 LIBS
=$ac_check_lib_save_LIBS
12298 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_z_inflate" >&5
12299 $as_echo "$ac_cv_lib_z_inflate" >&6; }
12300 if test "x$ac_cv_lib_z_inflate" = xyes
; then :
12302 $as_echo "#define HAVE_ZLIB 1" >>confdefs.h
12309 if test "x$Z_LIBS" = "x"; then :
12310 case "x$with_zlib" in
12311 x
) as_fn_append wine_notices
"|libz ${notice_platform}development files not found, data compression won't be supported." ;;
12313 *) as_fn_error $?
"libz ${notice_platform}development files not found, data compression won't be supported.
12314 This is an error since --with-zlib was requested." "$LINENO" 5 ;;
12318 if test "x$enable_tools" != xno
12320 if test "$ac_cv_header_gettext_po_h" = "yes"
12322 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for po_message_msgctxt in -lgettextpo" >&5
12323 $as_echo_n "checking for po_message_msgctxt in -lgettextpo... " >&6; }
12324 if ${ac_cv_lib_gettextpo_po_message_msgctxt+:} false
; then :
12325 $as_echo_n "(cached) " >&6
12327 ac_check_lib_save_LIBS
=$LIBS
12328 LIBS
="-lgettextpo $LIBS"
12329 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12330 /* end confdefs.h. */
12332 /* Override any GCC internal prototype to avoid an error.
12333 Use char because int might match the return type of a GCC
12334 builtin and then its argument prototype would still apply. */
12338 char po_message_msgctxt ();
12342 return po_message_msgctxt ();
12347 if ac_fn_c_try_link
"$LINENO"; then :
12348 ac_cv_lib_gettextpo_po_message_msgctxt
=yes
12350 ac_cv_lib_gettextpo_po_message_msgctxt
=no
12352 rm -f core conftest.err conftest.
$ac_objext \
12353 conftest
$ac_exeext conftest.
$ac_ext
12354 LIBS
=$ac_check_lib_save_LIBS
12356 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gettextpo_po_message_msgctxt" >&5
12357 $as_echo "$ac_cv_lib_gettextpo_po_message_msgctxt" >&6; }
12358 if test "x$ac_cv_lib_gettextpo_po_message_msgctxt" = xyes
; then :
12360 $as_echo "#define HAVE_LIBGETTEXTPO 1" >>confdefs.h
12362 GETTEXTPO_LIBS
="-lgettextpo"
12367 test "x$with_gettextpo" != xyes ||
if test "x$GETTEXTPO_LIBS" = "x"; then :
12368 case "x$with_gettextpo" in
12369 x
) as_fn_append wine_notices
"|GetText ${notice_platform}development files not found (or too old), po files can't be rebuilt." ;;
12371 *) as_fn_error $?
"GetText ${notice_platform}development files not found (or too old), po files can't be rebuilt.
12372 This is an error since --with-gettextpo was requested." "$LINENO" 5 ;;
12377 if test "x$with_gstreamer" != "xno"
12379 if ${GSTREAMER_CFLAGS:+false} :; then :
12380 if ${PKG_CONFIG+:} false
; then :
12381 GSTREAMER_CFLAGS
=`$PKG_CONFIG --cflags gstreamer-app-0.10 2>/dev/null`
12385 if ${GSTREAMER_LIBS:+false} :; then :
12386 if ${PKG_CONFIG+:} false
; then :
12387 GSTREAMER_LIBS
=`$PKG_CONFIG --libs gstreamer-app-0.10 2>/dev/null`
12392 $as_echo "$as_me:${as_lineno-$LINENO}: gstreamer-app-0.10 cflags: $GSTREAMER_CFLAGS" >&5
12393 $as_echo "$as_me:${as_lineno-$LINENO}: gstreamer-app-0.10 libs: $GSTREAMER_LIBS" >&5
12394 ac_save_CPPFLAGS
=$CPPFLAGS
12395 CPPFLAGS
="$CPPFLAGS $GSTREAMER_CFLAGS"
12397 for i
in $GSTREAMER_CFLAGS
12400 -I*) ac_gst_incl
="$ac_gst_incl $i";;
12403 GSTREAMER_CFLAGS
=$ac_gst_incl
12404 CPPFLAGS
="$ac_save_CPPFLAGS $GSTREAMER_CFLAGS"
12405 ac_fn_c_check_header_mongrel
"$LINENO" "gst/gstpad.h" "ac_cv_header_gst_gstpad_h" "$ac_includes_default"
12406 if test "x$ac_cv_header_gst_gstpad_h" = xyes
; then :
12407 ac_fn_c_check_header_mongrel
"$LINENO" "gst/app/gstappsink.h" "ac_cv_header_gst_app_gstappsink_h" "$ac_includes_default"
12408 if test "x$ac_cv_header_gst_app_gstappsink_h" = xyes
; then :
12409 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether gint64 defined by gst/app/gstappsink.h is indeed 64-bit" >&5
12410 $as_echo_n "checking whether gint64 defined by gst/app/gstappsink.h is indeed 64-bit... " >&6; }
12411 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12412 /* end confdefs.h. */
12413 #include <gst/app/gstappsink.h>
12417 static int a[sizeof(gint64) > 4 ? 1 : -1]; if (a[0]) return 0;
12422 if ac_fn_c_try_compile
"$LINENO"; then :
12423 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
12424 $as_echo "yes" >&6; }
12425 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gst_pad_get_caps_reffed in -lgstreamer-0.10" >&5
12426 $as_echo_n "checking for gst_pad_get_caps_reffed in -lgstreamer-0.10... " >&6; }
12427 if ${ac_cv_lib_gstreamer_0_10_gst_pad_get_caps_reffed+:} false
; then :
12428 $as_echo_n "(cached) " >&6
12430 ac_check_lib_save_LIBS
=$LIBS
12431 LIBS
="-lgstreamer-0.10 $LIBS"
12432 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12433 /* end confdefs.h. */
12435 /* Override any GCC internal prototype to avoid an error.
12436 Use char because int might match the return type of a GCC
12437 builtin and then its argument prototype would still apply. */
12441 char gst_pad_get_caps_reffed ();
12445 return gst_pad_get_caps_reffed ();
12450 if ac_fn_c_try_link
"$LINENO"; then :
12451 ac_cv_lib_gstreamer_0_10_gst_pad_get_caps_reffed
=yes
12453 ac_cv_lib_gstreamer_0_10_gst_pad_get_caps_reffed
=no
12455 rm -f core conftest.err conftest.
$ac_objext \
12456 conftest
$ac_exeext conftest.
$ac_ext
12457 LIBS
=$ac_check_lib_save_LIBS
12459 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gstreamer_0_10_gst_pad_get_caps_reffed" >&5
12460 $as_echo "$ac_cv_lib_gstreamer_0_10_gst_pad_get_caps_reffed" >&6; }
12461 if test "x$ac_cv_lib_gstreamer_0_10_gst_pad_get_caps_reffed" = xyes
; then :
12462 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gst_app_buffer_new in -lgstapp-0.10" >&5
12463 $as_echo_n "checking for gst_app_buffer_new in -lgstapp-0.10... " >&6; }
12464 if ${ac_cv_lib_gstapp_0_10_gst_app_buffer_new+:} false
; then :
12465 $as_echo_n "(cached) " >&6
12467 ac_check_lib_save_LIBS
=$LIBS
12468 LIBS
="-lgstapp-0.10 $GSTREAMER_LIBS $LIBS"
12469 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12470 /* end confdefs.h. */
12472 /* Override any GCC internal prototype to avoid an error.
12473 Use char because int might match the return type of a GCC
12474 builtin and then its argument prototype would still apply. */
12478 char gst_app_buffer_new ();
12482 return gst_app_buffer_new ();
12487 if ac_fn_c_try_link
"$LINENO"; then :
12488 ac_cv_lib_gstapp_0_10_gst_app_buffer_new
=yes
12490 ac_cv_lib_gstapp_0_10_gst_app_buffer_new
=no
12492 rm -f core conftest.err conftest.
$ac_objext \
12493 conftest
$ac_exeext conftest.
$ac_ext
12494 LIBS
=$ac_check_lib_save_LIBS
12496 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gstapp_0_10_gst_app_buffer_new" >&5
12497 $as_echo "$ac_cv_lib_gstapp_0_10_gst_app_buffer_new" >&6; }
12498 if test "x$ac_cv_lib_gstapp_0_10_gst_app_buffer_new" = xyes
; then :
12505 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12506 $as_echo "no" >&6; }
12508 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
12513 GSTREAMER_CFLAGS
=""
12517 CPPFLAGS
=$ac_save_CPPFLAGS
12518 test -z "$GSTREAMER_CFLAGS" || GSTREAMER_CFLAGS
=`echo " $GSTREAMER_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
12519 test -z "$GSTREAMER_LIBS" || GSTREAMER_LIBS
=`echo " $GSTREAMER_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
12522 if test "x$ac_cv_lib_gstapp_0_10_gst_app_buffer_new" != xyes
-a "x$ac_cv_header_QuickTime_ImageCompression_h" != xyes
; then :
12523 case "x$with_gstreamer" in
12524 x
) as_fn_append wine_notices
"|gstreamer-0.10 base plugins ${notice_platform}development files not found, gstreamer support disabled" ;;
12526 *) as_fn_error $?
"gstreamer-0.10 base plugins ${notice_platform}development files not found, gstreamer support disabled
12527 This is an error since --with-gstreamer was requested." "$LINENO" 5 ;;
12530 test "x$ac_cv_lib_gstapp_0_10_gst_app_buffer_new" = xyes || enable_winegstreamer
=${enable_winegstreamer:-no}
12534 if test "$ac_cv_header_sys_asoundlib_h" = "yes" -o "$ac_cv_header_alsa_asoundlib_h" = "yes"
12536 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for snd_pcm_hw_params_get_access_mask in -lasound" >&5
12537 $as_echo_n "checking for snd_pcm_hw_params_get_access_mask in -lasound... " >&6; }
12538 if ${ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask+:} false
; then :
12539 $as_echo_n "(cached) " >&6
12541 ac_check_lib_save_LIBS
=$LIBS
12542 LIBS
="-lasound $LIBS"
12543 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12544 /* end confdefs.h. */
12546 /* Override any GCC internal prototype to avoid an error.
12547 Use char because int might match the return type of a GCC
12548 builtin and then its argument prototype would still apply. */
12552 char snd_pcm_hw_params_get_access_mask ();
12556 return snd_pcm_hw_params_get_access_mask ();
12561 if ac_fn_c_try_link
"$LINENO"; then :
12562 ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask
=yes
12564 ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask
=no
12566 rm -f core conftest.err conftest.
$ac_objext \
12567 conftest
$ac_exeext conftest.
$ac_ext
12568 LIBS
=$ac_check_lib_save_LIBS
12570 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask" >&5
12571 $as_echo "$ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask" >&6; }
12572 if test "x$ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask" = xyes
; then :
12573 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12574 /* end confdefs.h. */
12575 #ifdef HAVE_ALSA_ASOUNDLIB_H
12576 #include <alsa/asoundlib.h>
12577 #elif defined(HAVE_SYS_ASOUNDLIB_H)
12578 #include <sys/asoundlib.h>
12583 snd_pcm_hw_params_get_access_mask(NULL, NULL)
12588 if ac_fn_c_try_compile
"$LINENO"; then :
12589 ALSA_LIBS
="-lasound"
12591 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
12596 if test "x$with_oss" != xno
12598 ac_save_CPPFLAGS
="$CPPFLAGS"
12599 if test -f /etc
/oss.conf
12603 ac_oss_incl
="-I${OSSLIBDIR:-/usr/lib/oss}/include"
12604 CPPFLAGS
="$CPPFLAGS $ac_oss_incl"
12605 ac_fn_c_check_header_mongrel
"$LINENO" "sys/soundcard.h" "ac_cv_header_sys_soundcard_h" "$ac_includes_default"
12606 if test "x$ac_cv_header_sys_soundcard_h" = xyes
; then :
12607 ac_fn_c_check_member
"$LINENO" "oss_sysinfo" "numaudioengines" "ac_cv_member_oss_sysinfo_numaudioengines" "#include <sys/soundcard.h>
12609 if test "x$ac_cv_member_oss_sysinfo_numaudioengines" = xyes
; then :
12611 cat >>confdefs.h
<<_ACEOF
12612 #define HAVE_OSS_SYSINFO_NUMAUDIOENGINES 1
12615 OSS4_CFLAGS
="$ac_oss_incl"
12622 CPPFLAGS
="$ac_save_CPPFLAGS"
12623 if test "x$ac_cv_member_oss_sysinfo_numaudioengines" != xyes
12625 as_fn_append wine_notices
"|OSS sound system found but too old (OSSv4 needed), OSS won't be supported."
12629 if test "x$with_capi" != "xno"
12631 if ${CAPI20_CFLAGS:+false} :; then :
12632 if ${PKG_CONFIG+:} false
; then :
12633 CAPI20_CFLAGS
=`$PKG_CONFIG --cflags capi20 2>/dev/null`
12637 if ${CAPI20_LIBS:+false} :; then :
12638 if ${PKG_CONFIG+:} false
; then :
12639 CAPI20_LIBS
=`$PKG_CONFIG --libs capi20 2>/dev/null`
12644 $as_echo "$as_me:${as_lineno-$LINENO}: capi20 cflags: $CAPI20_CFLAGS" >&5
12645 $as_echo "$as_me:${as_lineno-$LINENO}: capi20 libs: $CAPI20_LIBS" >&5
12646 ac_save_CPPFLAGS
=$CPPFLAGS
12647 CPPFLAGS
="$CPPFLAGS $CAPI20_CFLAGS"
12648 for ac_header
in capi20.h linux
/capi.h
12650 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
12651 ac_fn_c_check_header_compile
"$LINENO" "$ac_header" "$as_ac_Header" "#define __user
12653 if eval test \"x\$
"$as_ac_Header"\" = x
"yes"; then :
12654 cat >>confdefs.h
<<_ACEOF
12655 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
12662 if test "$ac_cv_header_capi20_h" = "yes" -a "$ac_cv_header_linux_capi_h" = "yes"
12664 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lcapi20" >&5
12665 $as_echo_n "checking for -lcapi20... " >&6; }
12666 if ${ac_cv_lib_soname_capi20+:} false
; then :
12667 $as_echo_n "(cached) " >&6
12669 ac_check_soname_save_LIBS
=$LIBS
12670 LIBS
="-lcapi20 $CAPI20_LIBS $LIBS"
12671 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12672 /* end confdefs.h. */
12674 /* Override any GCC internal prototype to avoid an error.
12675 Use char because int might match the return type of a GCC
12676 builtin and then its argument prototype would still apply. */
12680 char capi20_register ();
12684 return capi20_register ();
12689 if ac_fn_c_try_link
"$LINENO"; then :
12691 dll
) ac_cv_lib_soname_capi20
=`$ac_cv_path_LDD conftest.exe | grep "capi20" | sed -e "s/dll.*/dll/"';2,$d'` ;;
12692 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'` ;;
12693 *) ac_cv_lib_soname_capi20
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libcapi20\\.$LIBEXT" | sed -e "s/^.*\\[\\(libcapi20\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
12694 if ${ac_cv_lib_soname_capi20:+false} :; then :
12695 ac_cv_lib_soname_capi20
=`$LDD conftest$ac_exeext | grep "libcapi20\\.$LIBEXT" | sed -e "s/^.*\(libcapi20\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
12699 rm -f core conftest.err conftest.
$ac_objext \
12700 conftest
$ac_exeext conftest.
$ac_ext
12701 LIBS
=$ac_check_soname_save_LIBS
12703 if ${ac_cv_lib_soname_capi20:+false} :; then :
12704 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
12705 $as_echo "not found" >&6; }
12708 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_capi20" >&5
12709 $as_echo "$ac_cv_lib_soname_capi20" >&6; }
12711 cat >>confdefs.h
<<_ACEOF
12712 #define SONAME_LIBCAPI20 "$ac_cv_lib_soname_capi20"
12718 CPPFLAGS
=$ac_save_CPPFLAGS
12719 test -z "$CAPI20_CFLAGS" || CAPI20_CFLAGS
=`echo " $CAPI20_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
12720 test -z "$CAPI20_LIBS" || CAPI20_LIBS
=`echo " $CAPI20_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
12723 if test "x$ac_cv_lib_soname_capi20" = "x"; then :
12724 case "x$with_capi" in
12725 x
) as_fn_append wine_notices
"|libcapi20 ${notice_platform}development files not found, ISDN won't be supported." ;;
12727 *) as_fn_error $?
"libcapi20 ${notice_platform}development files not found, ISDN won't be supported.
12728 This is an error since --with-capi was requested." "$LINENO" 5 ;;
12734 if test "x$with_cups" != "xno"
12736 ac_save_CPPFLAGS
="$CPPFLAGS"
12737 ac_cups_cflags
=`cups-config --cflags 2>/dev/null`
12738 ac_cups_libs
=`cups-config --ldflags 2>/dev/null`
12739 CPPFLAGS
="$CPPFLAGS $ac_cups_cflags"
12740 for ac_header
in cups
/cups.h
12742 ac_fn_c_check_header_mongrel
"$LINENO" "cups/cups.h" "ac_cv_header_cups_cups_h" "$ac_includes_default"
12743 if test "x$ac_cv_header_cups_cups_h" = xyes
; then :
12744 cat >>confdefs.h
<<_ACEOF
12745 #define HAVE_CUPS_CUPS_H 1
12747 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lcups" >&5
12748 $as_echo_n "checking for -lcups... " >&6; }
12749 if ${ac_cv_lib_soname_cups+:} false
; then :
12750 $as_echo_n "(cached) " >&6
12752 ac_check_soname_save_LIBS
=$LIBS
12753 LIBS
="-lcups $ac_cups_libs $LIBS"
12754 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12755 /* end confdefs.h. */
12757 /* Override any GCC internal prototype to avoid an error.
12758 Use char because int might match the return type of a GCC
12759 builtin and then its argument prototype would still apply. */
12763 char cupsGetDefault ();
12767 return cupsGetDefault ();
12772 if ac_fn_c_try_link
"$LINENO"; then :
12774 dll
) ac_cv_lib_soname_cups
=`$ac_cv_path_LDD conftest.exe | grep "cups" | sed -e "s/dll.*/dll/"';2,$d'` ;;
12775 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'` ;;
12776 *) ac_cv_lib_soname_cups
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libcups\\.$LIBEXT" | sed -e "s/^.*\\[\\(libcups\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
12777 if ${ac_cv_lib_soname_cups:+false} :; then :
12778 ac_cv_lib_soname_cups
=`$LDD conftest$ac_exeext | grep "libcups\\.$LIBEXT" | sed -e "s/^.*\(libcups\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
12782 rm -f core conftest.err conftest.
$ac_objext \
12783 conftest
$ac_exeext conftest.
$ac_ext
12784 LIBS
=$ac_check_soname_save_LIBS
12786 if ${ac_cv_lib_soname_cups:+false} :; then :
12787 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
12788 $as_echo "not found" >&6; }
12791 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_cups" >&5
12792 $as_echo "$ac_cv_lib_soname_cups" >&6; }
12794 cat >>confdefs.h
<<_ACEOF
12795 #define SONAME_LIBCUPS "$ac_cv_lib_soname_cups"
12798 CUPS_CFLAGS
="$ac_cups_cflags"
12804 CPPFLAGS
="$ac_save_CPPFLAGS"
12806 if test "x$ac_cv_lib_soname_cups" = "x"; then :
12807 case "x$with_cups" in
12808 x
) as_fn_append wine_notices
"|libcups ${notice_platform}development files not found, CUPS won't be supported." ;;
12810 *) as_fn_error $?
"libcups ${notice_platform}development files not found, CUPS won't be supported.
12811 This is an error since --with-cups was requested." "$LINENO" 5 ;;
12815 if test "x$with_fontconfig" != "xno"
12817 if ${FONTCONFIG_CFLAGS:+false} :; then :
12818 if ${PKG_CONFIG+:} false
; then :
12819 FONTCONFIG_CFLAGS
=`$PKG_CONFIG --cflags fontconfig 2>/dev/null`
12822 test "$cross_compiling" = yes || FONTCONFIG_CFLAGS
=${FONTCONFIG_CFLAGS:-$X_CFLAGS}
12823 if ${FONTCONFIG_LIBS:+false} :; then :
12824 if ${PKG_CONFIG+:} false
; then :
12825 FONTCONFIG_LIBS
=`$PKG_CONFIG --libs fontconfig 2>/dev/null`
12828 test "$cross_compiling" = yes || FONTCONFIG_LIBS
=${FONTCONFIG_LIBS:-$X_LIBS}
12830 $as_echo "$as_me:${as_lineno-$LINENO}: fontconfig cflags: $FONTCONFIG_CFLAGS" >&5
12831 $as_echo "$as_me:${as_lineno-$LINENO}: fontconfig libs: $FONTCONFIG_LIBS" >&5
12832 ac_save_CPPFLAGS
=$CPPFLAGS
12833 CPPFLAGS
="$CPPFLAGS $FONTCONFIG_CFLAGS"
12834 for ac_header
in fontconfig
/fontconfig.h
12836 ac_fn_c_check_header_mongrel
"$LINENO" "fontconfig/fontconfig.h" "ac_cv_header_fontconfig_fontconfig_h" "$ac_includes_default"
12837 if test "x$ac_cv_header_fontconfig_fontconfig_h" = xyes
; then :
12838 cat >>confdefs.h
<<_ACEOF
12839 #define HAVE_FONTCONFIG_FONTCONFIG_H 1
12846 if test "$ac_cv_header_fontconfig_fontconfig_h" = "yes"
12848 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lfontconfig" >&5
12849 $as_echo_n "checking for -lfontconfig... " >&6; }
12850 if ${ac_cv_lib_soname_fontconfig+:} false
; then :
12851 $as_echo_n "(cached) " >&6
12853 ac_check_soname_save_LIBS
=$LIBS
12854 LIBS
="-lfontconfig $FONTCONFIG_LIBS $LIBS"
12855 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12856 /* end confdefs.h. */
12858 /* Override any GCC internal prototype to avoid an error.
12859 Use char because int might match the return type of a GCC
12860 builtin and then its argument prototype would still apply. */
12873 if ac_fn_c_try_link
"$LINENO"; then :
12875 dll
) ac_cv_lib_soname_fontconfig
=`$ac_cv_path_LDD conftest.exe | grep "fontconfig" | sed -e "s/dll.*/dll/"';2,$d'` ;;
12876 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'` ;;
12877 *) ac_cv_lib_soname_fontconfig
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libfontconfig\\.$LIBEXT" | sed -e "s/^.*\\[\\(libfontconfig\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
12878 if ${ac_cv_lib_soname_fontconfig:+false} :; then :
12879 ac_cv_lib_soname_fontconfig
=`$LDD conftest$ac_exeext | grep "libfontconfig\\.$LIBEXT" | sed -e "s/^.*\(libfontconfig\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
12883 rm -f core conftest.err conftest.
$ac_objext \
12884 conftest
$ac_exeext conftest.
$ac_ext
12885 LIBS
=$ac_check_soname_save_LIBS
12887 if ${ac_cv_lib_soname_fontconfig:+false} :; then :
12888 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
12889 $as_echo "not found" >&6; }
12890 FONTCONFIG_CFLAGS
=""
12892 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_fontconfig" >&5
12893 $as_echo "$ac_cv_lib_soname_fontconfig" >&6; }
12895 cat >>confdefs.h
<<_ACEOF
12896 #define SONAME_LIBFONTCONFIG "$ac_cv_lib_soname_fontconfig"
12902 FONTCONFIG_CFLAGS
=""
12904 CPPFLAGS
=$ac_save_CPPFLAGS
12905 test -z "$FONTCONFIG_CFLAGS" || FONTCONFIG_CFLAGS
=`echo " $FONTCONFIG_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
12906 test -z "$FONTCONFIG_LIBS" || FONTCONFIG_LIBS
=`echo " $FONTCONFIG_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
12909 if test "x$ac_cv_lib_soname_fontconfig" = "x"; then :
12910 case "x$with_fontconfig" in
12911 x
) as_fn_append wine_notices
"|fontconfig ${notice_platform}development files not found, fontconfig won't be supported." ;;
12913 *) as_fn_error $?
"fontconfig ${notice_platform}development files not found, fontconfig won't be supported.
12914 This is an error since --with-fontconfig was requested." "$LINENO" 5 ;;
12918 if test "$ac_cv_header_gsm_h" = "yes" -o "$ac_cv_header_gsm_gsm_h" = "yes"
12920 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lgsm" >&5
12921 $as_echo_n "checking for -lgsm... " >&6; }
12922 if ${ac_cv_lib_soname_gsm+:} false
; then :
12923 $as_echo_n "(cached) " >&6
12925 ac_check_soname_save_LIBS
=$LIBS
12927 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12928 /* end confdefs.h. */
12930 /* Override any GCC internal prototype to avoid an error.
12931 Use char because int might match the return type of a GCC
12932 builtin and then its argument prototype would still apply. */
12936 char gsm_create ();
12940 return gsm_create ();
12945 if ac_fn_c_try_link
"$LINENO"; then :
12947 dll
) ac_cv_lib_soname_gsm
=`$ac_cv_path_LDD conftest.exe | grep "gsm" | sed -e "s/dll.*/dll/"';2,$d'` ;;
12948 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'` ;;
12949 *) ac_cv_lib_soname_gsm
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libgsm\\.$LIBEXT" | sed -e "s/^.*\\[\\(libgsm\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
12950 if ${ac_cv_lib_soname_gsm:+false} :; then :
12951 ac_cv_lib_soname_gsm
=`$LDD conftest$ac_exeext | grep "libgsm\\.$LIBEXT" | sed -e "s/^.*\(libgsm\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
12955 rm -f core conftest.err conftest.
$ac_objext \
12956 conftest
$ac_exeext conftest.
$ac_ext
12957 LIBS
=$ac_check_soname_save_LIBS
12959 if ${ac_cv_lib_soname_gsm:+false} :; then :
12960 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
12961 $as_echo "not found" >&6; }
12964 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_gsm" >&5
12965 $as_echo "$ac_cv_lib_soname_gsm" >&6; }
12967 cat >>confdefs.h
<<_ACEOF
12968 #define SONAME_LIBGSM "$ac_cv_lib_soname_gsm"
12974 if test "x$ac_cv_lib_soname_gsm" = "x"; then :
12975 case "x$with_gsm" in
12976 x
) as_fn_append wine_notices
"|libgsm ${notice_platform}development files not found, gsm 06.10 codec won't be supported." ;;
12978 *) as_fn_error $?
"libgsm ${notice_platform}development files not found, gsm 06.10 codec won't be supported.
12979 This is an error since --with-gsm was requested." "$LINENO" 5 ;;
12983 if test "x$with_jpeg" != "xno"
12985 if ${JPEG_CFLAGS:+false} :; then :
12986 if ${PKG_CONFIG+:} false
; then :
12987 JPEG_CFLAGS
=`$PKG_CONFIG --cflags libjpeg 2>/dev/null`
12991 if ${JPEG_LIBS:+false} :; then :
12992 if ${PKG_CONFIG+:} false
; then :
12993 JPEG_LIBS
=`$PKG_CONFIG --libs libjpeg 2>/dev/null`
12998 $as_echo "$as_me:${as_lineno-$LINENO}: libjpeg cflags: $JPEG_CFLAGS" >&5
12999 $as_echo "$as_me:${as_lineno-$LINENO}: libjpeg libs: $JPEG_LIBS" >&5
13000 ac_save_CPPFLAGS
=$CPPFLAGS
13001 CPPFLAGS
="$CPPFLAGS $JPEG_CFLAGS"
13002 for ac_header
in jpeglib.h
13004 ac_fn_c_check_header_mongrel
"$LINENO" "jpeglib.h" "ac_cv_header_jpeglib_h" "$ac_includes_default"
13005 if test "x$ac_cv_header_jpeglib_h" = xyes
; then :
13006 cat >>confdefs.h
<<_ACEOF
13007 #define HAVE_JPEGLIB_H 1
13014 if test "$ac_cv_header_jpeglib_h" = "yes"
13016 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -ljpeg" >&5
13017 $as_echo_n "checking for -ljpeg... " >&6; }
13018 if ${ac_cv_lib_soname_jpeg+:} false
; then :
13019 $as_echo_n "(cached) " >&6
13021 ac_check_soname_save_LIBS
=$LIBS
13022 LIBS
="-ljpeg $JPEG_LIBS $LIBS"
13023 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13024 /* end confdefs.h. */
13026 /* Override any GCC internal prototype to avoid an error.
13027 Use char because int might match the return type of a GCC
13028 builtin and then its argument prototype would still apply. */
13032 char jpeg_start_decompress ();
13036 return jpeg_start_decompress ();
13041 if ac_fn_c_try_link
"$LINENO"; then :
13043 dll
) ac_cv_lib_soname_jpeg
=`$ac_cv_path_LDD conftest.exe | grep "jpeg" | sed -e "s/dll.*/dll/"';2,$d'` ;;
13044 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'` ;;
13045 *) ac_cv_lib_soname_jpeg
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libjpeg\\.$LIBEXT" | sed -e "s/^.*\\[\\(libjpeg\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
13046 if ${ac_cv_lib_soname_jpeg:+false} :; then :
13047 ac_cv_lib_soname_jpeg
=`$LDD conftest$ac_exeext | grep "libjpeg\\.$LIBEXT" | sed -e "s/^.*\(libjpeg\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
13051 rm -f core conftest.err conftest.
$ac_objext \
13052 conftest
$ac_exeext conftest.
$ac_ext
13053 LIBS
=$ac_check_soname_save_LIBS
13055 if ${ac_cv_lib_soname_jpeg:+false} :; then :
13056 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13057 $as_echo "not found" >&6; }
13060 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_jpeg" >&5
13061 $as_echo "$ac_cv_lib_soname_jpeg" >&6; }
13063 cat >>confdefs.h
<<_ACEOF
13064 #define SONAME_LIBJPEG "$ac_cv_lib_soname_jpeg"
13072 CPPFLAGS
=$ac_save_CPPFLAGS
13073 test -z "$JPEG_CFLAGS" || JPEG_CFLAGS
=`echo " $JPEG_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
13074 test -z "$JPEG_LIBS" || JPEG_LIBS
=`echo " $JPEG_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
13077 if test "x$ac_cv_lib_soname_jpeg" = "x"; then :
13078 case "x$with_jpeg" in
13079 x
) as_fn_append wine_warnings
"|libjpeg ${notice_platform}development files not found, JPEG won't be supported." ;;
13081 *) as_fn_error $?
"libjpeg ${notice_platform}development files not found, JPEG won't be supported.
13082 This is an error since --with-jpeg was requested." "$LINENO" 5 ;;
13086 if test "x$with_png" != "xno"
13088 if ${PNG_CFLAGS:+false} :; then :
13089 if ${PKG_CONFIG+:} false
; then :
13090 PNG_CFLAGS
=`$PKG_CONFIG --cflags libpng 2>/dev/null`
13093 test "$cross_compiling" = yes || PNG_CFLAGS
=${PNG_CFLAGS:-$X_CFLAGS}
13094 if ${PNG_LIBS:+false} :; then :
13095 if ${PKG_CONFIG+:} false
; then :
13096 PNG_LIBS
=`$PKG_CONFIG --libs libpng 2>/dev/null`
13099 test "$cross_compiling" = yes || PNG_LIBS
=${PNG_LIBS:-$X_LIBS}
13101 $as_echo "$as_me:${as_lineno-$LINENO}: libpng cflags: $PNG_CFLAGS" >&5
13102 $as_echo "$as_me:${as_lineno-$LINENO}: libpng libs: $PNG_LIBS" >&5
13103 ac_save_CPPFLAGS
=$CPPFLAGS
13104 CPPFLAGS
="$CPPFLAGS $PNG_CFLAGS"
13105 for ac_header
in png.h
13107 ac_fn_c_check_header_mongrel
"$LINENO" "png.h" "ac_cv_header_png_h" "$ac_includes_default"
13108 if test "x$ac_cv_header_png_h" = xyes
; then :
13109 cat >>confdefs.h
<<_ACEOF
13110 #define HAVE_PNG_H 1
13117 if test "$ac_cv_header_png_h" = "yes"
13119 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lpng" >&5
13120 $as_echo_n "checking for -lpng... " >&6; }
13121 if ${ac_cv_lib_soname_png+:} false
; then :
13122 $as_echo_n "(cached) " >&6
13124 ac_check_soname_save_LIBS
=$LIBS
13125 LIBS
="-lpng $PNG_LIBS -lm -lz $LIBS"
13126 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13127 /* end confdefs.h. */
13129 /* Override any GCC internal prototype to avoid an error.
13130 Use char because int might match the return type of a GCC
13131 builtin and then its argument prototype would still apply. */
13135 char png_create_read_struct ();
13139 return png_create_read_struct ();
13144 if ac_fn_c_try_link
"$LINENO"; then :
13146 dll
) ac_cv_lib_soname_png
=`$ac_cv_path_LDD conftest.exe | grep "png" | sed -e "s/dll.*/dll/"';2,$d'` ;;
13147 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'` ;;
13148 *) 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'`
13149 if ${ac_cv_lib_soname_png:+false} :; then :
13150 ac_cv_lib_soname_png
=`$LDD conftest$ac_exeext | grep "libpng[0-9]*\\.$LIBEXT" | sed -e "s/^.*\(libpng[0-9]*\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
13154 rm -f core conftest.err conftest.
$ac_objext \
13155 conftest
$ac_exeext conftest.
$ac_ext
13156 LIBS
=$ac_check_soname_save_LIBS
13158 if ${ac_cv_lib_soname_png:+false} :; then :
13159 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13160 $as_echo "not found" >&6; }
13163 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_png" >&5
13164 $as_echo "$ac_cv_lib_soname_png" >&6; }
13166 cat >>confdefs.h
<<_ACEOF
13167 #define SONAME_LIBPNG "$ac_cv_lib_soname_png"
13170 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13171 /* end confdefs.h. */
13176 typeof(png_set_expand_gray_1_2_4_to_8) *p
13181 if ac_fn_c_try_compile
"$LINENO"; then :
13183 $as_echo "#define HAVE_PNG_SET_EXPAND_GRAY_1_2_4_TO_8 1" >>confdefs.h
13186 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
13191 CPPFLAGS
=$ac_save_CPPFLAGS
13192 test -z "$PNG_CFLAGS" || PNG_CFLAGS
=`echo " $PNG_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
13193 test -z "$PNG_LIBS" || PNG_LIBS
=`echo " $PNG_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
13196 if test "x$ac_cv_lib_soname_png" = "x"; then :
13197 case "x$with_png" in
13198 x
) as_fn_append wine_warnings
"|libpng ${notice_platform}development files not found, PNG won't be supported." ;;
13200 *) as_fn_error $?
"libpng ${notice_platform}development files not found, PNG won't be supported.
13201 This is an error since --with-png was requested." "$LINENO" 5 ;;
13205 if test "x$with_tiff" != "xno"
13207 if ${TIFF_CFLAGS:+false} :; then :
13208 if ${PKG_CONFIG+:} false
; then :
13209 TIFF_CFLAGS
=`$PKG_CONFIG --cflags libtiff 2>/dev/null`
13213 if ${TIFF_LIBS:+false} :; then :
13214 if ${PKG_CONFIG+:} false
; then :
13215 TIFF_LIBS
=`$PKG_CONFIG --libs libtiff 2>/dev/null`
13220 $as_echo "$as_me:${as_lineno-$LINENO}: libtiff cflags: $TIFF_CFLAGS" >&5
13221 $as_echo "$as_me:${as_lineno-$LINENO}: libtiff libs: $TIFF_LIBS" >&5
13222 ac_save_CPPFLAGS
=$CPPFLAGS
13223 CPPFLAGS
="$CPPFLAGS $TIFF_CFLAGS"
13224 for ac_header
in tiffio.h
13226 ac_fn_c_check_header_mongrel
"$LINENO" "tiffio.h" "ac_cv_header_tiffio_h" "$ac_includes_default"
13227 if test "x$ac_cv_header_tiffio_h" = xyes
; then :
13228 cat >>confdefs.h
<<_ACEOF
13229 #define HAVE_TIFFIO_H 1
13236 if test "$ac_cv_header_tiffio_h" = "yes"
13238 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -ltiff" >&5
13239 $as_echo_n "checking for -ltiff... " >&6; }
13240 if ${ac_cv_lib_soname_tiff+:} false
; then :
13241 $as_echo_n "(cached) " >&6
13243 ac_check_soname_save_LIBS
=$LIBS
13244 LIBS
="-ltiff $TIFF_LIBS $LIBS"
13245 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13246 /* end confdefs.h. */
13248 /* Override any GCC internal prototype to avoid an error.
13249 Use char because int might match the return type of a GCC
13250 builtin and then its argument prototype would still apply. */
13254 char TIFFClientOpen ();
13258 return TIFFClientOpen ();
13263 if ac_fn_c_try_link
"$LINENO"; then :
13265 dll
) ac_cv_lib_soname_tiff
=`$ac_cv_path_LDD conftest.exe | grep "tiff" | sed -e "s/dll.*/dll/"';2,$d'` ;;
13266 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'` ;;
13267 *) ac_cv_lib_soname_tiff
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libtiff\\.$LIBEXT" | sed -e "s/^.*\\[\\(libtiff\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
13268 if ${ac_cv_lib_soname_tiff:+false} :; then :
13269 ac_cv_lib_soname_tiff
=`$LDD conftest$ac_exeext | grep "libtiff\\.$LIBEXT" | sed -e "s/^.*\(libtiff\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
13273 rm -f core conftest.err conftest.
$ac_objext \
13274 conftest
$ac_exeext conftest.
$ac_ext
13275 LIBS
=$ac_check_soname_save_LIBS
13277 if ${ac_cv_lib_soname_tiff:+false} :; then :
13278 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13279 $as_echo "not found" >&6; }
13282 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_tiff" >&5
13283 $as_echo "$ac_cv_lib_soname_tiff" >&6; }
13285 cat >>confdefs.h
<<_ACEOF
13286 #define SONAME_LIBTIFF "$ac_cv_lib_soname_tiff"
13292 CPPFLAGS
=$ac_save_CPPFLAGS
13293 test -z "$TIFF_CFLAGS" || TIFF_CFLAGS
=`echo " $TIFF_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
13294 test -z "$TIFF_LIBS" || TIFF_LIBS
=`echo " $TIFF_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
13297 if test "x$ac_cv_lib_soname_tiff" = "x"; then :
13298 case "x$with_tiff" in
13299 x
) as_fn_append wine_notices
"|libtiff ${notice_platform}development files not found, TIFF won't be supported." ;;
13301 *) as_fn_error $?
"libtiff ${notice_platform}development files not found, TIFF won't be supported.
13302 This is an error since --with-tiff was requested." "$LINENO" 5 ;;
13306 if test "x$with_mpg123" != "xno"
13308 if ${MPG123_CFLAGS:+false} :; then :
13309 if ${PKG_CONFIG+:} false
; then :
13310 MPG123_CFLAGS
=`$PKG_CONFIG --cflags libmpg123 2>/dev/null`
13314 if ${MPG123_LIBS:+false} :; then :
13315 if ${PKG_CONFIG+:} false
; then :
13316 MPG123_LIBS
=`$PKG_CONFIG --libs libmpg123 2>/dev/null`
13320 MPG123_LIBS
=${MPG123_LIBS:-"-lmpg123"}
13321 $as_echo "$as_me:${as_lineno-$LINENO}: libmpg123 cflags: $MPG123_CFLAGS" >&5
13322 $as_echo "$as_me:${as_lineno-$LINENO}: libmpg123 libs: $MPG123_LIBS" >&5
13323 ac_save_CPPFLAGS
=$CPPFLAGS
13324 CPPFLAGS
="$CPPFLAGS $MPG123_CFLAGS"
13325 for ac_header
in mpg123.h
13327 ac_fn_c_check_header_mongrel
"$LINENO" "mpg123.h" "ac_cv_header_mpg123_h" "$ac_includes_default"
13328 if test "x$ac_cv_header_mpg123_h" = xyes
; then :
13329 cat >>confdefs.h
<<_ACEOF
13330 #define HAVE_MPG123_H 1
13337 if test "$ac_cv_header_mpg123_h" = "yes"
13339 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for mpg123_feed in -lmpg123" >&5
13340 $as_echo_n "checking for mpg123_feed in -lmpg123... " >&6; }
13341 if ${ac_cv_lib_mpg123_mpg123_feed+:} false
; then :
13342 $as_echo_n "(cached) " >&6
13344 ac_check_lib_save_LIBS
=$LIBS
13345 LIBS
="-lmpg123 $MPG123_LIBS $LIBS"
13346 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13347 /* end confdefs.h. */
13349 /* Override any GCC internal prototype to avoid an error.
13350 Use char because int might match the return type of a GCC
13351 builtin and then its argument prototype would still apply. */
13355 char mpg123_feed ();
13359 return mpg123_feed ();
13364 if ac_fn_c_try_link
"$LINENO"; then :
13365 ac_cv_lib_mpg123_mpg123_feed
=yes
13367 ac_cv_lib_mpg123_mpg123_feed
=no
13369 rm -f core conftest.err conftest.
$ac_objext \
13370 conftest
$ac_exeext conftest.
$ac_ext
13371 LIBS
=$ac_check_lib_save_LIBS
13373 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_mpg123_mpg123_feed" >&5
13374 $as_echo "$ac_cv_lib_mpg123_mpg123_feed" >&6; }
13375 if test "x$ac_cv_lib_mpg123_mpg123_feed" = xyes
; then :
13385 CPPFLAGS
=$ac_save_CPPFLAGS
13386 test -z "$MPG123_CFLAGS" || MPG123_CFLAGS
=`echo " $MPG123_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
13387 test -z "$MPG123_LIBS" || MPG123_LIBS
=`echo " $MPG123_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
13390 if test "x$ac_cv_lib_mpg123_mpg123_feed" != xyes
-a x
"$ac_cv_header_CoreAudio_CoreAudio_h" != xyes
; then :
13391 case "x$with_mpg123" in
13392 x
) as_fn_append wine_notices
"|libmpg123 ${notice_platform}development files not found (or too old), mp3 codec won't be supported." ;;
13394 *) as_fn_error $?
"libmpg123 ${notice_platform}development files not found (or too old), mp3 codec won't be supported.
13395 This is an error since --with-mpg123 was requested." "$LINENO" 5 ;;
13398 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}
13400 if test "$ac_cv_header_AL_al_h" = "yes"
13402 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lopenal" >&5
13403 $as_echo_n "checking for -lopenal... " >&6; }
13404 if ${ac_cv_lib_soname_openal+:} false
; then :
13405 $as_echo_n "(cached) " >&6
13407 ac_check_soname_save_LIBS
=$LIBS
13408 LIBS
="-lopenal $LIBS"
13409 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13410 /* end confdefs.h. */
13412 /* Override any GCC internal prototype to avoid an error.
13413 Use char because int might match the return type of a GCC
13414 builtin and then its argument prototype would still apply. */
13418 char alGetSource3i ();
13422 return alGetSource3i ();
13427 if ac_fn_c_try_link
"$LINENO"; then :
13429 dll
) ac_cv_lib_soname_openal
=`$ac_cv_path_LDD conftest.exe | grep "openal" | sed -e "s/dll.*/dll/"';2,$d'` ;;
13430 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'` ;;
13431 *) ac_cv_lib_soname_openal
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libopenal\\.$LIBEXT" | sed -e "s/^.*\\[\\(libopenal\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
13432 if ${ac_cv_lib_soname_openal:+false} :; then :
13433 ac_cv_lib_soname_openal
=`$LDD conftest$ac_exeext | grep "libopenal\\.$LIBEXT" | sed -e "s/^.*\(libopenal\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
13437 rm -f core conftest.err conftest.
$ac_objext \
13438 conftest
$ac_exeext conftest.
$ac_ext
13439 LIBS
=$ac_check_soname_save_LIBS
13441 if ${ac_cv_lib_soname_openal:+false} :; then :
13442 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13443 $as_echo "not found" >&6; }
13446 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_openal" >&5
13447 $as_echo "$ac_cv_lib_soname_openal" >&6; }
13449 cat >>confdefs.h
<<_ACEOF
13450 #define SONAME_LIBOPENAL "$ac_cv_lib_soname_openal"
13453 OPENAL_LIBS
="-lopenal"
13455 ac_cv_lib_openal
=yes
13457 cat >>confdefs.h
<<_ACEOF
13458 #define HAVE_OPENAL 1
13463 if test "x$ac_cv_lib_openal" != xyes
; then :
13464 case "x$with_openal" in
13465 x
) as_fn_append wine_notices
"|libopenal ${notice_platform}development files not found (or too old), OpenAL won't be supported." ;;
13467 *) as_fn_error $?
"libopenal ${notice_platform}development files not found (or too old), OpenAL won't be supported.
13468 This is an error since --with-openal was requested." "$LINENO" 5 ;;
13471 test "x$ac_cv_lib_openal" = xyes || enable_openal32
=${enable_openal32:-no}
13473 if test "$ac_cv_header_kstat_h" = "yes"
13475 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for kstat_open in -lkstat" >&5
13476 $as_echo_n "checking for kstat_open in -lkstat... " >&6; }
13477 if ${ac_cv_lib_kstat_kstat_open+:} false
; then :
13478 $as_echo_n "(cached) " >&6
13480 ac_check_lib_save_LIBS
=$LIBS
13481 LIBS
="-lkstat $LIBS"
13482 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13483 /* end confdefs.h. */
13485 /* Override any GCC internal prototype to avoid an error.
13486 Use char because int might match the return type of a GCC
13487 builtin and then its argument prototype would still apply. */
13491 char kstat_open ();
13495 return kstat_open ();
13500 if ac_fn_c_try_link
"$LINENO"; then :
13501 ac_cv_lib_kstat_kstat_open
=yes
13503 ac_cv_lib_kstat_kstat_open
=no
13505 rm -f core conftest.err conftest.
$ac_objext \
13506 conftest
$ac_exeext conftest.
$ac_ext
13507 LIBS
=$ac_check_lib_save_LIBS
13509 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_kstat_kstat_open" >&5
13510 $as_echo "$ac_cv_lib_kstat_kstat_open" >&6; }
13511 if test "x$ac_cv_lib_kstat_kstat_open" = xyes
; then :
13513 $as_echo "#define HAVE_LIBKSTAT 1" >>confdefs.h
13515 KSTAT_LIBS
="-lkstat"
13521 if test "$ac_cv_header_libprocstat_h" = "yes"
13523 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for procstat_open_sysctl in -lprocstat" >&5
13524 $as_echo_n "checking for procstat_open_sysctl in -lprocstat... " >&6; }
13525 if ${ac_cv_lib_procstat_procstat_open_sysctl+:} false
; then :
13526 $as_echo_n "(cached) " >&6
13528 ac_check_lib_save_LIBS
=$LIBS
13529 LIBS
="-lprocstat $LIBS"
13530 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13531 /* end confdefs.h. */
13533 /* Override any GCC internal prototype to avoid an error.
13534 Use char because int might match the return type of a GCC
13535 builtin and then its argument prototype would still apply. */
13539 char procstat_open_sysctl ();
13543 return procstat_open_sysctl ();
13548 if ac_fn_c_try_link
"$LINENO"; then :
13549 ac_cv_lib_procstat_procstat_open_sysctl
=yes
13551 ac_cv_lib_procstat_procstat_open_sysctl
=no
13553 rm -f core conftest.err conftest.
$ac_objext \
13554 conftest
$ac_exeext conftest.
$ac_ext
13555 LIBS
=$ac_check_lib_save_LIBS
13557 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_procstat_procstat_open_sysctl" >&5
13558 $as_echo "$ac_cv_lib_procstat_procstat_open_sysctl" >&6; }
13559 if test "x$ac_cv_lib_procstat_procstat_open_sysctl" = xyes
; then :
13561 $as_echo "#define HAVE_LIBPROCSTAT 1" >>confdefs.h
13563 PROCSTAT_LIBS
="-lprocstat"
13569 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lodbc" >&5
13570 $as_echo_n "checking for -lodbc... " >&6; }
13571 if ${ac_cv_lib_soname_odbc+:} false
; then :
13572 $as_echo_n "(cached) " >&6
13574 ac_check_soname_save_LIBS
=$LIBS
13575 LIBS
="-lodbc $LIBS"
13576 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13577 /* end confdefs.h. */
13579 /* Override any GCC internal prototype to avoid an error.
13580 Use char because int might match the return type of a GCC
13581 builtin and then its argument prototype would still apply. */
13585 char SQLConnect ();
13589 return SQLConnect ();
13594 if ac_fn_c_try_link
"$LINENO"; then :
13596 dll
) ac_cv_lib_soname_odbc
=`$ac_cv_path_LDD conftest.exe | grep "odbc" | sed -e "s/dll.*/dll/"';2,$d'` ;;
13597 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'` ;;
13598 *) ac_cv_lib_soname_odbc
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libodbc\\.$LIBEXT" | sed -e "s/^.*\\[\\(libodbc\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
13599 if ${ac_cv_lib_soname_odbc:+false} :; then :
13600 ac_cv_lib_soname_odbc
=`$LDD conftest$ac_exeext | grep "libodbc\\.$LIBEXT" | sed -e "s/^.*\(libodbc\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
13604 rm -f core conftest.err conftest.
$ac_objext \
13605 conftest
$ac_exeext conftest.
$ac_ext
13606 LIBS
=$ac_check_soname_save_LIBS
13608 if ${ac_cv_lib_soname_odbc:+false} :; then :
13609 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13610 $as_echo "not found" >&6; }
13611 cat >>confdefs.h
<<_ACEOF
13612 #define SONAME_LIBODBC "libodbc.$LIBEXT"
13616 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_odbc" >&5
13617 $as_echo "$ac_cv_lib_soname_odbc" >&6; }
13619 cat >>confdefs.h
<<_ACEOF
13620 #define SONAME_LIBODBC "$ac_cv_lib_soname_odbc"
13626 if test "x$with_netapi" != "xno"
13628 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lnetapi" >&5
13629 $as_echo_n "checking for -lnetapi... " >&6; }
13630 if ${ac_cv_lib_soname_netapi+:} false
; then :
13631 $as_echo_n "(cached) " >&6
13633 ac_check_soname_save_LIBS
=$LIBS
13634 LIBS
="-lnetapi $LIBS"
13635 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13636 /* end confdefs.h. */
13638 /* Override any GCC internal prototype to avoid an error.
13639 Use char because int might match the return type of a GCC
13640 builtin and then its argument prototype would still apply. */
13644 char libnetapi_init ();
13648 return libnetapi_init ();
13653 if ac_fn_c_try_link
"$LINENO"; then :
13655 dll
) ac_cv_lib_soname_netapi
=`$ac_cv_path_LDD conftest.exe | grep "netapi" | sed -e "s/dll.*/dll/"';2,$d'` ;;
13656 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'` ;;
13657 *) ac_cv_lib_soname_netapi
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libnetapi\\.$LIBEXT" | sed -e "s/^.*\\[\\(libnetapi\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
13658 if ${ac_cv_lib_soname_netapi:+false} :; then :
13659 ac_cv_lib_soname_netapi
=`$LDD conftest$ac_exeext | grep "libnetapi\\.$LIBEXT" | sed -e "s/^.*\(libnetapi\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
13663 rm -f core conftest.err conftest.
$ac_objext \
13664 conftest
$ac_exeext conftest.
$ac_ext
13665 LIBS
=$ac_check_soname_save_LIBS
13667 if ${ac_cv_lib_soname_netapi:+false} :; then :
13668 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13669 $as_echo "not found" >&6; }
13670 cat >>confdefs.h
<<_ACEOF
13671 #define SONAME_LIBNETAPI "libnetapi.$LIBEXT"
13675 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_netapi" >&5
13676 $as_echo "$ac_cv_lib_soname_netapi" >&6; }
13678 cat >>confdefs.h
<<_ACEOF
13679 #define SONAME_LIBNETAPI "$ac_cv_lib_soname_netapi"
13686 test -n "$ALSA_LIBS" || enable_winealsa_drv
=${enable_winealsa_drv:-no}
13687 test -n "$COREAUDIO_LIBS" || enable_winecoreaudio_drv
=${enable_winecoreaudio_drv:-no}
13688 test "x$ac_cv_member_oss_sysinfo_numaudioengines" = xyes || enable_wineoss_drv
=${enable_wineoss_drv:-no}
13689 test "$ac_cv_header_linux_joystick_h" = "yes" -o "$ac_cv_header_IOKit_hid_IOHIDLib_h" = "yes" || enable_winejoystick_drv
=${enable_winejoystick_drv:-no}
13691 if test "x$ALSA_LIBS$COREAUDIO_LIBS" = "x" -a \
13692 "x$ac_cv_member_oss_sysinfo_numaudioengines" != xyes
-a \
13693 "x$with_alsa$with_coreaudio$with_oss" != xnonono
13695 as_fn_append wine_warnings
"|No sound system was found. Windows applications will be silent."
13701 if test "x${GCC}" = "xyes"
13703 EXTRACFLAGS
="-Wall -pipe"
13705 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gcc strength-reduce bug" >&5
13706 $as_echo_n "checking for gcc strength-reduce bug... " >&6; }
13707 if ${ac_cv_c_gcc_strength_bug+:} false
; then :
13708 $as_echo_n "(cached) " >&6
13710 if test "$cross_compiling" = yes; then :
13711 ac_cv_c_gcc_strength_bug
="yes"
13713 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13714 /* end confdefs.h. */
13715 int L[4] = {0,1,2,3};
13719 static int Array[3];
13720 unsigned int B = 3;
13722 for(i=0; i<B; i++) Array[i] = i - 3;
13723 for(i=0; i<4 - 1; i++) L[i] = L[i + 1];
13725 return (Array[1] != -2 || L[2] != 3)
13730 if ac_fn_c_try_run
"$LINENO"; then :
13731 ac_cv_c_gcc_strength_bug
="no"
13733 ac_cv_c_gcc_strength_bug
="yes"
13735 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext \
13736 conftest.
$ac_objext conftest.beam conftest.
$ac_ext
13740 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_gcc_strength_bug" >&5
13741 $as_echo "$ac_cv_c_gcc_strength_bug" >&6; }
13742 if test "$ac_cv_c_gcc_strength_bug" = "yes"
13744 EXTRACFLAGS
="$EXTRACFLAGS -fno-strength-reduce"
13747 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fno-builtin" >&5
13748 $as_echo_n "checking whether the compiler supports -fno-builtin... " >&6; }
13749 if ${ac_cv_cflags__fno_builtin+:} false
; then :
13750 $as_echo_n "(cached) " >&6
13752 ac_wine_try_cflags_saved
=$CFLAGS
13753 CFLAGS
="$CFLAGS -fno-builtin"
13754 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13755 /* end confdefs.h. */
13756 int main(int argc, char **argv) { return 0; }
13758 if ac_fn_c_try_link
"$LINENO"; then :
13759 ac_cv_cflags__fno_builtin
=yes
13761 ac_cv_cflags__fno_builtin
=no
13763 rm -f core conftest.err conftest.
$ac_objext \
13764 conftest
$ac_exeext conftest.
$ac_ext
13765 CFLAGS
=$ac_wine_try_cflags_saved
13767 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fno_builtin" >&5
13768 $as_echo "$ac_cv_cflags__fno_builtin" >&6; }
13769 if test "x$ac_cv_cflags__fno_builtin" = xyes
; then :
13770 BUILTINFLAG
="-fno-builtin"
13773 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fno-strict-aliasing" >&5
13774 $as_echo_n "checking whether the compiler supports -fno-strict-aliasing... " >&6; }
13775 if ${ac_cv_cflags__fno_strict_aliasing+:} false
; then :
13776 $as_echo_n "(cached) " >&6
13778 ac_wine_try_cflags_saved
=$CFLAGS
13779 CFLAGS
="$CFLAGS -fno-strict-aliasing"
13780 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13781 /* end confdefs.h. */
13782 int main(int argc, char **argv) { return 0; }
13784 if ac_fn_c_try_link
"$LINENO"; then :
13785 ac_cv_cflags__fno_strict_aliasing
=yes
13787 ac_cv_cflags__fno_strict_aliasing
=no
13789 rm -f core conftest.err conftest.
$ac_objext \
13790 conftest
$ac_exeext conftest.
$ac_ext
13791 CFLAGS
=$ac_wine_try_cflags_saved
13793 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fno_strict_aliasing" >&5
13794 $as_echo "$ac_cv_cflags__fno_strict_aliasing" >&6; }
13795 if test "x$ac_cv_cflags__fno_strict_aliasing" = xyes
; then :
13796 EXTRACFLAGS
="$EXTRACFLAGS -fno-strict-aliasing"
13798 saved_CFLAGS
=$CFLAGS
13799 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Werror=unknown-warning-option" >&5
13800 $as_echo_n "checking whether the compiler supports -Werror=unknown-warning-option... " >&6; }
13801 if ${ac_cv_cflags__Werror_unknown_warning_option+:} false
; then :
13802 $as_echo_n "(cached) " >&6
13804 ac_wine_try_cflags_saved
=$CFLAGS
13805 CFLAGS
="$CFLAGS -Werror=unknown-warning-option"
13806 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13807 /* end confdefs.h. */
13808 int main(int argc, char **argv) { return 0; }
13810 if ac_fn_c_try_link
"$LINENO"; then :
13811 ac_cv_cflags__Werror_unknown_warning_option
=yes
13813 ac_cv_cflags__Werror_unknown_warning_option
=no
13815 rm -f core conftest.err conftest.
$ac_objext \
13816 conftest
$ac_exeext conftest.
$ac_ext
13817 CFLAGS
=$ac_wine_try_cflags_saved
13819 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Werror_unknown_warning_option" >&5
13820 $as_echo "$ac_cv_cflags__Werror_unknown_warning_option" >&6; }
13821 if test "x$ac_cv_cflags__Werror_unknown_warning_option" = xyes
; then :
13822 CFLAGS
="$CFLAGS -Werror=unknown-warning-option"
13824 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wdeclaration-after-statement" >&5
13825 $as_echo_n "checking whether the compiler supports -Wdeclaration-after-statement... " >&6; }
13826 if ${ac_cv_cflags__Wdeclaration_after_statement+:} false
; then :
13827 $as_echo_n "(cached) " >&6
13829 ac_wine_try_cflags_saved
=$CFLAGS
13830 CFLAGS
="$CFLAGS -Wdeclaration-after-statement"
13831 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13832 /* end confdefs.h. */
13833 int main(int argc, char **argv) { return 0; }
13835 if ac_fn_c_try_link
"$LINENO"; then :
13836 ac_cv_cflags__Wdeclaration_after_statement
=yes
13838 ac_cv_cflags__Wdeclaration_after_statement
=no
13840 rm -f core conftest.err conftest.
$ac_objext \
13841 conftest
$ac_exeext conftest.
$ac_ext
13842 CFLAGS
=$ac_wine_try_cflags_saved
13844 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wdeclaration_after_statement" >&5
13845 $as_echo "$ac_cv_cflags__Wdeclaration_after_statement" >&6; }
13846 if test "x$ac_cv_cflags__Wdeclaration_after_statement" = xyes
; then :
13847 EXTRACFLAGS
="$EXTRACFLAGS -Wdeclaration-after-statement"
13849 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wempty-body" >&5
13850 $as_echo_n "checking whether the compiler supports -Wempty-body... " >&6; }
13851 if ${ac_cv_cflags__Wempty_body+:} false
; then :
13852 $as_echo_n "(cached) " >&6
13854 ac_wine_try_cflags_saved
=$CFLAGS
13855 CFLAGS
="$CFLAGS -Wempty-body"
13856 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13857 /* end confdefs.h. */
13858 int main(int argc, char **argv) { return 0; }
13860 if ac_fn_c_try_link
"$LINENO"; then :
13861 ac_cv_cflags__Wempty_body
=yes
13863 ac_cv_cflags__Wempty_body
=no
13865 rm -f core conftest.err conftest.
$ac_objext \
13866 conftest
$ac_exeext conftest.
$ac_ext
13867 CFLAGS
=$ac_wine_try_cflags_saved
13869 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wempty_body" >&5
13870 $as_echo "$ac_cv_cflags__Wempty_body" >&6; }
13871 if test "x$ac_cv_cflags__Wempty_body" = xyes
; then :
13872 EXTRACFLAGS
="$EXTRACFLAGS -Wempty-body"
13874 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wignored-qualifiers" >&5
13875 $as_echo_n "checking whether the compiler supports -Wignored-qualifiers... " >&6; }
13876 if ${ac_cv_cflags__Wignored_qualifiers+:} false
; then :
13877 $as_echo_n "(cached) " >&6
13879 ac_wine_try_cflags_saved
=$CFLAGS
13880 CFLAGS
="$CFLAGS -Wignored-qualifiers"
13881 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13882 /* end confdefs.h. */
13883 int main(int argc, char **argv) { return 0; }
13885 if ac_fn_c_try_link
"$LINENO"; then :
13886 ac_cv_cflags__Wignored_qualifiers
=yes
13888 ac_cv_cflags__Wignored_qualifiers
=no
13890 rm -f core conftest.err conftest.
$ac_objext \
13891 conftest
$ac_exeext conftest.
$ac_ext
13892 CFLAGS
=$ac_wine_try_cflags_saved
13894 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wignored_qualifiers" >&5
13895 $as_echo "$ac_cv_cflags__Wignored_qualifiers" >&6; }
13896 if test "x$ac_cv_cflags__Wignored_qualifiers" = xyes
; then :
13897 EXTRACFLAGS
="$EXTRACFLAGS -Wignored-qualifiers"
13899 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wstrict-prototypes" >&5
13900 $as_echo_n "checking whether the compiler supports -Wstrict-prototypes... " >&6; }
13901 if ${ac_cv_cflags__Wstrict_prototypes+:} false
; then :
13902 $as_echo_n "(cached) " >&6
13904 ac_wine_try_cflags_saved
=$CFLAGS
13905 CFLAGS
="$CFLAGS -Wstrict-prototypes"
13906 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13907 /* end confdefs.h. */
13908 int main(int argc, char **argv) { return 0; }
13910 if ac_fn_c_try_link
"$LINENO"; then :
13911 ac_cv_cflags__Wstrict_prototypes
=yes
13913 ac_cv_cflags__Wstrict_prototypes
=no
13915 rm -f core conftest.err conftest.
$ac_objext \
13916 conftest
$ac_exeext conftest.
$ac_ext
13917 CFLAGS
=$ac_wine_try_cflags_saved
13919 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wstrict_prototypes" >&5
13920 $as_echo "$ac_cv_cflags__Wstrict_prototypes" >&6; }
13921 if test "x$ac_cv_cflags__Wstrict_prototypes" = xyes
; then :
13922 EXTRACFLAGS
="$EXTRACFLAGS -Wstrict-prototypes"
13924 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wtype-limits" >&5
13925 $as_echo_n "checking whether the compiler supports -Wtype-limits... " >&6; }
13926 if ${ac_cv_cflags__Wtype_limits+:} false
; then :
13927 $as_echo_n "(cached) " >&6
13929 ac_wine_try_cflags_saved
=$CFLAGS
13930 CFLAGS
="$CFLAGS -Wtype-limits"
13931 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13932 /* end confdefs.h. */
13933 int main(int argc, char **argv) { return 0; }
13935 if ac_fn_c_try_link
"$LINENO"; then :
13936 ac_cv_cflags__Wtype_limits
=yes
13938 ac_cv_cflags__Wtype_limits
=no
13940 rm -f core conftest.err conftest.
$ac_objext \
13941 conftest
$ac_exeext conftest.
$ac_ext
13942 CFLAGS
=$ac_wine_try_cflags_saved
13944 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wtype_limits" >&5
13945 $as_echo "$ac_cv_cflags__Wtype_limits" >&6; }
13946 if test "x$ac_cv_cflags__Wtype_limits" = xyes
; then :
13947 EXTRACFLAGS
="$EXTRACFLAGS -Wtype-limits"
13949 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wunused-but-set-parameter" >&5
13950 $as_echo_n "checking whether the compiler supports -Wunused-but-set-parameter... " >&6; }
13951 if ${ac_cv_cflags__Wunused_but_set_parameter+:} false
; then :
13952 $as_echo_n "(cached) " >&6
13954 ac_wine_try_cflags_saved
=$CFLAGS
13955 CFLAGS
="$CFLAGS -Wunused-but-set-parameter"
13956 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13957 /* end confdefs.h. */
13958 int main(int argc, char **argv) { return 0; }
13960 if ac_fn_c_try_link
"$LINENO"; then :
13961 ac_cv_cflags__Wunused_but_set_parameter
=yes
13963 ac_cv_cflags__Wunused_but_set_parameter
=no
13965 rm -f core conftest.err conftest.
$ac_objext \
13966 conftest
$ac_exeext conftest.
$ac_ext
13967 CFLAGS
=$ac_wine_try_cflags_saved
13969 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wunused_but_set_parameter" >&5
13970 $as_echo "$ac_cv_cflags__Wunused_but_set_parameter" >&6; }
13971 if test "x$ac_cv_cflags__Wunused_but_set_parameter" = xyes
; then :
13972 EXTRACFLAGS
="$EXTRACFLAGS -Wunused-but-set-parameter"
13974 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wvla" >&5
13975 $as_echo_n "checking whether the compiler supports -Wvla... " >&6; }
13976 if ${ac_cv_cflags__Wvla+:} false
; then :
13977 $as_echo_n "(cached) " >&6
13979 ac_wine_try_cflags_saved
=$CFLAGS
13980 CFLAGS
="$CFLAGS -Wvla"
13981 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13982 /* end confdefs.h. */
13983 int main(int argc, char **argv) { return 0; }
13985 if ac_fn_c_try_link
"$LINENO"; then :
13986 ac_cv_cflags__Wvla
=yes
13988 ac_cv_cflags__Wvla
=no
13990 rm -f core conftest.err conftest.
$ac_objext \
13991 conftest
$ac_exeext conftest.
$ac_ext
13992 CFLAGS
=$ac_wine_try_cflags_saved
13994 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wvla" >&5
13995 $as_echo "$ac_cv_cflags__Wvla" >&6; }
13996 if test "x$ac_cv_cflags__Wvla" = xyes
; then :
13997 EXTRACFLAGS
="$EXTRACFLAGS -Wvla"
13999 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wwrite-strings" >&5
14000 $as_echo_n "checking whether the compiler supports -Wwrite-strings... " >&6; }
14001 if ${ac_cv_cflags__Wwrite_strings+:} false
; then :
14002 $as_echo_n "(cached) " >&6
14004 ac_wine_try_cflags_saved
=$CFLAGS
14005 CFLAGS
="$CFLAGS -Wwrite-strings"
14006 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14007 /* end confdefs.h. */
14008 int main(int argc, char **argv) { return 0; }
14010 if ac_fn_c_try_link
"$LINENO"; then :
14011 ac_cv_cflags__Wwrite_strings
=yes
14013 ac_cv_cflags__Wwrite_strings
=no
14015 rm -f core conftest.err conftest.
$ac_objext \
14016 conftest
$ac_exeext conftest.
$ac_ext
14017 CFLAGS
=$ac_wine_try_cflags_saved
14019 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wwrite_strings" >&5
14020 $as_echo "$ac_cv_cflags__Wwrite_strings" >&6; }
14021 if test "x$ac_cv_cflags__Wwrite_strings" = xyes
; then :
14022 EXTRACFLAGS
="$EXTRACFLAGS -Wwrite-strings"
14025 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wpointer-arith" >&5
14026 $as_echo_n "checking whether the compiler supports -Wpointer-arith... " >&6; }
14027 if ${ac_cv_cflags__Wpointer_arith+:} false
; then :
14028 $as_echo_n "(cached) " >&6
14030 ac_wine_try_cflags_saved
=$CFLAGS
14031 CFLAGS
="$CFLAGS -Wpointer-arith"
14032 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14033 /* end confdefs.h. */
14034 int main(int argc, char **argv) { return 0; }
14036 if ac_fn_c_try_link
"$LINENO"; then :
14037 ac_cv_cflags__Wpointer_arith
=yes
14039 ac_cv_cflags__Wpointer_arith
=no
14041 rm -f core conftest.err conftest.
$ac_objext \
14042 conftest
$ac_exeext conftest.
$ac_ext
14043 CFLAGS
=$ac_wine_try_cflags_saved
14045 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wpointer_arith" >&5
14046 $as_echo "$ac_cv_cflags__Wpointer_arith" >&6; }
14047 if test "x$ac_cv_cflags__Wpointer_arith" = xyes
; then :
14048 saved_string_h_CFLAGS
=$CFLAGS
14049 CFLAGS
="$CFLAGS -Wpointer-arith -Werror"
14050 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for broken string.h that generates warnings with -Wpointer-arith" >&5
14051 $as_echo_n "checking for broken string.h that generates warnings with -Wpointer-arith... " >&6; }
14052 if ${ac_cv_c_string_h_warnings+:} false
; then :
14053 $as_echo_n "(cached) " >&6
14055 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14056 /* end confdefs.h. */
14057 #include <string.h>
14066 if ac_fn_c_try_compile
"$LINENO"; then :
14067 ac_cv_c_string_h_warnings
=no
14069 ac_cv_c_string_h_warnings
=yes
14071 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
14073 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_string_h_warnings" >&5
14074 $as_echo "$ac_cv_c_string_h_warnings" >&6; }
14075 test "$ac_cv_c_string_h_warnings" = yes || EXTRACFLAGS
="$EXTRACFLAGS -Wpointer-arith"
14076 CFLAGS
=$saved_string_h_CFLAGS
14079 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wlogical-op" >&5
14080 $as_echo_n "checking whether the compiler supports -Wlogical-op... " >&6; }
14081 if ${ac_cv_cflags__Wlogical_op+:} false
; then :
14082 $as_echo_n "(cached) " >&6
14084 ac_wine_try_cflags_saved
=$CFLAGS
14085 CFLAGS
="$CFLAGS -Wlogical-op"
14086 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14087 /* end confdefs.h. */
14088 int main(int argc, char **argv) { return 0; }
14090 if ac_fn_c_try_link
"$LINENO"; then :
14091 ac_cv_cflags__Wlogical_op
=yes
14093 ac_cv_cflags__Wlogical_op
=no
14095 rm -f core conftest.err conftest.
$ac_objext \
14096 conftest
$ac_exeext conftest.
$ac_ext
14097 CFLAGS
=$ac_wine_try_cflags_saved
14099 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wlogical_op" >&5
14100 $as_echo "$ac_cv_cflags__Wlogical_op" >&6; }
14101 if test "x$ac_cv_cflags__Wlogical_op" = xyes
; then :
14102 saved_string_h_CFLAGS
=$CFLAGS
14103 CFLAGS
="$CFLAGS -Wlogical-op -Werror"
14104 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for broken string.h that generates warnings with -Wlogical-op" >&5
14105 $as_echo_n "checking for broken string.h that generates warnings with -Wlogical-op... " >&6; }
14106 if ${ac_cv_c_logicalop_noisy+:} false
; then :
14107 $as_echo_n "(cached) " >&6
14109 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14110 /* end confdefs.h. */
14111 #include <string.h>
14112 char*f(const char *h,char n) {return strchr(h,n);}
14121 if ac_fn_c_try_compile
"$LINENO"; then :
14122 ac_cv_c_logicalop_noisy
=no
14124 ac_cv_c_logicalop_noisy
=yes
14126 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
14128 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_logicalop_noisy" >&5
14129 $as_echo "$ac_cv_c_logicalop_noisy" >&6; }
14130 CFLAGS
=$saved_string_h_CFLAGS
14131 test "$ac_cv_c_logicalop_noisy" = yes || EXTRACFLAGS
="$EXTRACFLAGS -Wlogical-op"
14134 CFLAGS
=$saved_CFLAGS
14136 for ac_flag
in $CFLAGS; do
14138 -g) case $host_os in
14139 darwin
*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -gstabs+" >&5
14140 $as_echo_n "checking whether the compiler supports -gstabs+... " >&6; }
14141 if ${ac_cv_cflags__gstabsp+:} false
; then :
14142 $as_echo_n "(cached) " >&6
14144 ac_wine_try_cflags_saved
=$CFLAGS
14145 CFLAGS
="$CFLAGS -gstabs+"
14146 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14147 /* end confdefs.h. */
14148 int main(int argc, char **argv) { return 0; }
14150 if ac_fn_c_try_link
"$LINENO"; then :
14151 ac_cv_cflags__gstabsp
=yes
14153 ac_cv_cflags__gstabsp
=no
14155 rm -f core conftest.err conftest.
$ac_objext \
14156 conftest
$ac_exeext conftest.
$ac_ext
14157 CFLAGS
=$ac_wine_try_cflags_saved
14159 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__gstabsp" >&5
14160 $as_echo "$ac_cv_cflags__gstabsp" >&6; }
14161 if test "x$ac_cv_cflags__gstabsp" = xyes
; then :
14162 EXTRACFLAGS
="$EXTRACFLAGS -gstabs+"
14164 *) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -gdwarf-2" >&5
14165 $as_echo_n "checking whether the compiler supports -gdwarf-2... " >&6; }
14166 if ${ac_cv_cflags__gdwarf_2+:} false
; then :
14167 $as_echo_n "(cached) " >&6
14169 ac_wine_try_cflags_saved
=$CFLAGS
14170 CFLAGS
="$CFLAGS -gdwarf-2"
14171 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14172 /* end confdefs.h. */
14173 int main(int argc, char **argv) { return 0; }
14175 if ac_fn_c_try_link
"$LINENO"; then :
14176 ac_cv_cflags__gdwarf_2
=yes
14178 ac_cv_cflags__gdwarf_2
=no
14180 rm -f core conftest.err conftest.
$ac_objext \
14181 conftest
$ac_exeext conftest.
$ac_ext
14182 CFLAGS
=$ac_wine_try_cflags_saved
14184 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__gdwarf_2" >&5
14185 $as_echo "$ac_cv_cflags__gdwarf_2" >&6; }
14186 if test "x$ac_cv_cflags__gdwarf_2" = xyes
; then :
14187 EXTRACFLAGS
="$EXTRACFLAGS -gdwarf-2"
14189 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -gstrict-dwarf" >&5
14190 $as_echo_n "checking whether the compiler supports -gstrict-dwarf... " >&6; }
14191 if ${ac_cv_cflags__gstrict_dwarf+:} false
; then :
14192 $as_echo_n "(cached) " >&6
14194 ac_wine_try_cflags_saved
=$CFLAGS
14195 CFLAGS
="$CFLAGS -gstrict-dwarf"
14196 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14197 /* end confdefs.h. */
14198 int main(int argc, char **argv) { return 0; }
14200 if ac_fn_c_try_link
"$LINENO"; then :
14201 ac_cv_cflags__gstrict_dwarf
=yes
14203 ac_cv_cflags__gstrict_dwarf
=no
14205 rm -f core conftest.err conftest.
$ac_objext \
14206 conftest
$ac_exeext conftest.
$ac_ext
14207 CFLAGS
=$ac_wine_try_cflags_saved
14209 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__gstrict_dwarf" >&5
14210 $as_echo "$ac_cv_cflags__gstrict_dwarf" >&6; }
14211 if test "x$ac_cv_cflags__gstrict_dwarf" = xyes
; then :
14212 EXTRACFLAGS
="$EXTRACFLAGS -gstrict-dwarf"
14219 *i
[3456789]86*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fno-omit-frame-pointer" >&5
14220 $as_echo_n "checking whether the compiler supports -fno-omit-frame-pointer... " >&6; }
14221 if ${ac_cv_cflags__fno_omit_frame_pointer+:} false
; then :
14222 $as_echo_n "(cached) " >&6
14224 ac_wine_try_cflags_saved
=$CFLAGS
14225 CFLAGS
="$CFLAGS -fno-omit-frame-pointer"
14226 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14227 /* end confdefs.h. */
14228 int main(int argc, char **argv) { return 0; }
14230 if ac_fn_c_try_link
"$LINENO"; then :
14231 ac_cv_cflags__fno_omit_frame_pointer
=yes
14233 ac_cv_cflags__fno_omit_frame_pointer
=no
14235 rm -f core conftest.err conftest.
$ac_objext \
14236 conftest
$ac_exeext conftest.
$ac_ext
14237 CFLAGS
=$ac_wine_try_cflags_saved
14239 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fno_omit_frame_pointer" >&5
14240 $as_echo "$ac_cv_cflags__fno_omit_frame_pointer" >&6; }
14241 if test "x$ac_cv_cflags__fno_omit_frame_pointer" = xyes
; then :
14242 EXTRACFLAGS
="$EXTRACFLAGS -fno-omit-frame-pointer"
14247 x86_64-
*mingw32
*|x86_64-
*cygwin
*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wno-format" >&5
14248 $as_echo_n "checking whether the compiler supports -Wno-format... " >&6; }
14249 if ${ac_cv_cflags__Wno_format+:} false
; then :
14250 $as_echo_n "(cached) " >&6
14252 ac_wine_try_cflags_saved
=$CFLAGS
14253 CFLAGS
="$CFLAGS -Wno-format"
14254 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14255 /* end confdefs.h. */
14256 int main(int argc, char **argv) { return 0; }
14258 if ac_fn_c_try_link
"$LINENO"; then :
14259 ac_cv_cflags__Wno_format
=yes
14261 ac_cv_cflags__Wno_format
=no
14263 rm -f core conftest.err conftest.
$ac_objext \
14264 conftest
$ac_exeext conftest.
$ac_ext
14265 CFLAGS
=$ac_wine_try_cflags_saved
14267 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wno_format" >&5
14268 $as_echo "$ac_cv_cflags__Wno_format" >&6; }
14269 if test "x$ac_cv_cflags__Wno_format" = xyes
; then :
14270 EXTRACFLAGS
="$EXTRACFLAGS -Wno-format"
14274 if test "x$enable_maintainer_mode" = "xyes"
14276 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Werror" >&5
14277 $as_echo_n "checking whether the compiler supports -Werror... " >&6; }
14278 if ${ac_cv_cflags__Werror+:} false
; then :
14279 $as_echo_n "(cached) " >&6
14281 ac_wine_try_cflags_saved
=$CFLAGS
14282 CFLAGS
="$CFLAGS -Werror"
14283 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14284 /* end confdefs.h. */
14285 int main(int argc, char **argv) { return 0; }
14287 if ac_fn_c_try_link
"$LINENO"; then :
14288 ac_cv_cflags__Werror
=yes
14290 ac_cv_cflags__Werror
=no
14292 rm -f core conftest.err conftest.
$ac_objext \
14293 conftest
$ac_exeext conftest.
$ac_ext
14294 CFLAGS
=$ac_wine_try_cflags_saved
14296 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Werror" >&5
14297 $as_echo "$ac_cv_cflags__Werror" >&6; }
14298 if test "x$ac_cv_cflags__Werror" = xyes
; then :
14299 EXTRACFLAGS
="$EXTRACFLAGS -Werror"
14303 saved_CFLAGS
="$CFLAGS"
14304 CFLAGS
="$CFLAGS -Werror"
14305 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ms_hook_prologue attribute" >&5
14306 $as_echo_n "checking for ms_hook_prologue attribute... " >&6; }
14307 if ${ac_cv_have_ms_hook_prologue+:} false
; then :
14308 $as_echo_n "(cached) " >&6
14310 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14311 /* end confdefs.h. */
14312 int __attribute__((__ms_hook_prologue__)) test(void) { return 0; }
14321 if ac_fn_c_try_compile
"$LINENO"; then :
14322 ac_cv_have_ms_hook_prologue
="yes"
14324 ac_cv_have_ms_hook_prologue
="no"
14326 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
14328 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_ms_hook_prologue" >&5
14329 $as_echo "$ac_cv_have_ms_hook_prologue" >&6; }
14330 CFLAGS
="$saved_CFLAGS"
14331 if test "$ac_cv_have_ms_hook_prologue" = "yes"
14334 $as_echo "#define DECLSPEC_HOTPATCH __attribute__((__ms_hook_prologue__))" >>confdefs.h
14337 $as_echo "#define DECLSPEC_HOTPATCH /* */" >>confdefs.h
14343 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for the need to disable Fortify" >&5
14344 $as_echo_n "checking for the need to disable Fortify... " >&6; }
14345 if ${ac_cv_c_fortify_enabled+:} false
; then :
14346 $as_echo_n "(cached) " >&6
14348 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14349 /* end confdefs.h. */
14350 #include <string.h>
14354 #if defined(__USE_FORTIFY_LEVEL) && __USE_FORTIFY_LEVEL > 0
14355 #error Fortify enabled
14361 if ac_fn_c_try_compile
"$LINENO"; then :
14362 ac_cv_c_fortify_enabled
=no
14364 ac_cv_c_fortify_enabled
=yes
14366 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
14368 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_fortify_enabled" >&5
14369 $as_echo "$ac_cv_c_fortify_enabled" >&6; }
14370 if test "$ac_cv_c_fortify_enabled" = yes
14372 CFLAGS
="$CFLAGS -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=0"
14376 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether external symbols need an underscore prefix" >&5
14377 $as_echo_n "checking whether external symbols need an underscore prefix... " >&6; }
14378 if ${ac_cv_c_extern_prefix+:} false
; then :
14379 $as_echo_n "(cached) " >&6
14381 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14382 /* end confdefs.h. */
14383 extern int ac_test;
14387 asm(".globl _ac_test\n_ac_test:\t.long 0"); if (ac_test) return 1
14392 if ac_fn_c_try_link
"$LINENO"; then :
14393 ac_cv_c_extern_prefix
="yes"
14395 ac_cv_c_extern_prefix
="no"
14397 rm -f core conftest.err conftest.
$ac_objext \
14398 conftest
$ac_exeext conftest.
$ac_ext
14400 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_extern_prefix" >&5
14401 $as_echo "$ac_cv_c_extern_prefix" >&6; }
14405 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether external symbols need stdcall decoration" >&5
14406 $as_echo_n "checking whether external symbols need stdcall decoration... " >&6; }
14407 if ${ac_cv_c_stdcall_suffix+:} false
; then :
14408 $as_echo_n "(cached) " >&6
14410 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14411 /* end confdefs.h. */
14413 #define __stdcall __attribute__((__stdcall__))
14415 int __stdcall ac_test(int i) { return i; }
14419 asm("jmp _ac_test@4"); if (ac_test(1)) return 1
14424 if ac_fn_c_try_link
"$LINENO"; then :
14425 ac_cv_c_stdcall_suffix
="yes"
14427 ac_cv_c_stdcall_suffix
="no"
14429 rm -f core conftest.err conftest.
$ac_objext \
14430 conftest
$ac_exeext conftest.
$ac_ext
14432 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_stdcall_suffix" >&5
14433 $as_echo "$ac_cv_c_stdcall_suffix" >&6; } ;;
14434 *) ac_cv_c_stdcall_suffix
="no" ;;
14438 if test "$ac_cv_c_extern_prefix" = "yes"
14440 $as_echo "#define __ASM_NAME(name) \"_\" name" >>confdefs.h
14442 asm_name_prefix
="_"
14444 $as_echo "#define __ASM_NAME(name) name" >>confdefs.h
14450 if test "$ac_cv_c_stdcall_suffix" = "yes"
14452 $as_echo "#define __ASM_STDCALL(args) \"@\" #args" >>confdefs.h
14455 $as_echo "#define __ASM_STDCALL(args) \"\"" >>confdefs.h
14460 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to define a function in assembly code" >&5
14461 $as_echo_n "checking how to define a function in assembly code... " >&6; }
14462 if ${ac_cv_asm_func_def+:} false
; then :
14463 $as_echo_n "(cached) " >&6
14465 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14466 /* end confdefs.h. */
14471 asm("\t.globl _ac_test\n\t.def _ac_test; .scl 2; .type 32; .endef\n_ac_test:\t.long 0");
14476 if ac_fn_c_try_link
"$LINENO"; then :
14477 ac_cv_asm_func_def
=".def"
14479 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14480 /* end confdefs.h. */
14485 asm("\t.globl _ac_test\n\t.type _ac_test,@function\n_ac_test:\t.long 0");
14490 if ac_fn_c_try_link
"$LINENO"; then :
14491 ac_cv_asm_func_def
=".type @function"
14493 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14494 /* end confdefs.h. */
14499 asm("\t.globl _ac_test\n\t.type _ac_test,2\n_ac_test:\t.long 0");
14504 if ac_fn_c_try_link
"$LINENO"; then :
14505 ac_cv_asm_func_def
=".type 2"
14507 ac_cv_asm_func_def
="unknown"
14509 rm -f core conftest.err conftest.
$ac_objext \
14510 conftest
$ac_exeext conftest.
$ac_ext
14512 rm -f core conftest.err conftest.
$ac_objext \
14513 conftest
$ac_exeext conftest.
$ac_ext
14515 rm -f core conftest.err conftest.
$ac_objext \
14516 conftest
$ac_exeext conftest.
$ac_ext
14518 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_asm_func_def" >&5
14519 $as_echo "$ac_cv_asm_func_def" >&6; }
14522 case "$ac_cv_asm_func_def" in
14524 $as_echo "#define __ASM_FUNC(name) \".def \" __ASM_NAME(name) \"; .scl 2; .type 32; .endef\"" >>confdefs.h
14526 asm_func_header
=".def $asm_name_prefix\" #name suffix \"; .scl 2; .type 32; .endef" ;;
14528 $as_echo "#define __ASM_FUNC(name) \".type \" __ASM_NAME(name) \",@function\"" >>confdefs.h
14530 asm_func_header
=".type $asm_name_prefix\" #name suffix \",@function" ;;
14532 $as_echo "#define __ASM_FUNC(name) \".type \" __ASM_NAME(name) \",2\"" >>confdefs.h
14534 asm_func_header
=".type $asm_name_prefix\" #name suffix \",2" ;;
14536 $as_echo "#define __ASM_FUNC(name) \"\"" >>confdefs.h
14538 asm_func_header
="" ;;
14541 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether asm() works outside of functions" >&5
14542 $as_echo_n "checking whether asm() works outside of functions... " >&6; }
14543 if ${ac_cv_c_asm_outside_funcs+:} false
; then :
14544 $as_echo_n "(cached) " >&6
14546 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14547 /* end confdefs.h. */
14548 asm(".text\n\t.long 0");
14557 if ac_fn_c_try_compile
"$LINENO"; then :
14558 ac_cv_c_asm_outside_funcs
="yes"
14560 ac_cv_c_asm_outside_funcs
="no"
14562 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
14564 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_asm_outside_funcs" >&5
14565 $as_echo "$ac_cv_c_asm_outside_funcs" >&6; }
14567 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether .previous is supported in assembly code" >&5
14568 $as_echo_n "checking whether .previous is supported in assembly code... " >&6; }
14569 if ${ac_cv_c_dot_previous+:} false
; then :
14570 $as_echo_n "(cached) " >&6
14572 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14573 /* end confdefs.h. */
14578 asm(".text\nac_test:\t.long 0\n\t.previous");
14583 if ac_fn_c_try_link
"$LINENO"; then :
14584 ac_cv_c_dot_previous
="yes"
14586 ac_cv_c_dot_previous
="no"
14588 rm -f core conftest.err conftest.
$ac_objext \
14589 conftest
$ac_exeext conftest.
$ac_ext
14591 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_dot_previous" >&5
14592 $as_echo "$ac_cv_c_dot_previous" >&6; }
14594 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether CFI directives are supported in assembly code" >&5
14595 $as_echo_n "checking whether CFI directives are supported in assembly code... " >&6; }
14596 if ${ac_cv_c_cfi_support+:} false
; then :
14597 $as_echo_n "(cached) " >&6
14599 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14600 /* end confdefs.h. */
14601 asm(".text\nac_test:\t.cfi_startproc\n\t.long 0\n\t.cfi_endproc");
14610 if ac_fn_c_try_compile
"$LINENO"; then :
14611 ac_cv_c_cfi_support
="yes"
14613 ac_cv_c_cfi_support
="no"
14615 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
14617 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_cfi_support" >&5
14618 $as_echo "$ac_cv_c_cfi_support" >&6; }
14620 asm_func_header
=".globl $asm_name_prefix\" #name suffix \"\\n\\t$asm_func_header\\n$asm_name_prefix\" #name suffix \":\\n\\t"
14621 asm_func_trailer
=""
14622 if test "$ac_cv_c_dot_previous" = "yes"
14624 asm_func_trailer
="\\n\\t.previous"
14626 if test "$ac_cv_c_cfi_support" = "yes"
14628 asm_func_header
="$asm_func_header.cfi_startproc\\n\\t"
14629 asm_func_trailer
="\\n\\t.cfi_endproc$asm_func_trailer"
14631 $as_echo "#define __ASM_CFI(str) str" >>confdefs.h
14633 UNWINDFLAGS
=-fasynchronous-unwind-tables
14636 $as_echo "#define __ASM_CFI(str) \"\"" >>confdefs.h
14640 asm_func_code
="$asm_func_header\" code \"$asm_func_trailer"
14643 if test "$ac_cv_c_asm_outside_funcs" = "yes"
14645 cat >>confdefs.h
<<_ACEOF
14646 #define __ASM_DEFINE_FUNC(name,suffix,code) asm(".text\n\t.align 4\n\t$asm_func_code");
14650 cat >>confdefs.h
<<_ACEOF
14651 #define __ASM_DEFINE_FUNC(name,suffix,code) void __asm_dummy_##name(void) { asm(".text\n\t.align 4\n\t$asm_func_code"); }
14656 $as_echo "#define __ASM_GLOBAL_FUNC(name,code) __ASM_DEFINE_FUNC(name,\"\",code)" >>confdefs.h
14659 $as_echo "#define __ASM_STDCALL_FUNC(name,args,code) __ASM_DEFINE_FUNC(name,__ASM_STDCALL(args),code)" >>confdefs.h
14664 cygwin
*|mingw32
*) TOOLSEXT
=".exe"
14671 *i
[3456789]86*|x86_64
*)
14672 test "$wine_binary" = wine || wine_fn_ignore_file
"loader/wine-preloader"
14673 loader_programs
="$loader_programs $wine_binary-preloader"
14674 as_fn_append LOADER_RULES
"
14675 $wine_binary-preloader: preloader.o
14676 \$(CC) -o \$@ -static -nostartfiles -nodefaultlibs -Wl,-Ttext=0x7c400000 preloader.o \$(LIBPORT) \$(LDFLAGS)
14678 install install-lib:: $wine_binary-preloader
14679 \$(INSTALL_PROGRAM) $wine_binary-preloader \$(DESTDIR)\$(bindir)/$wine_binary-preloader
14682 \$(RM) \$(DESTDIR)\$(bindir)/$wine_binary-preloader
14684 preloader_EXTRADEFS = $BUILTINFLAG
14689 as_fn_append LOADER_RULES
"
14690 PROGRAMS = $loader_programs
14694 ac_save_CFLAGS
="$CFLAGS"
14695 CFLAGS
="$CFLAGS $BUILTINFLAG"
14774 as_ac_var
=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
14775 ac_fn_c_check_func
"$LINENO" "$ac_func" "$as_ac_var"
14776 if eval test \"x\$
"$as_ac_var"\" = x
"yes"; then :
14777 cat >>confdefs.h
<<_ACEOF
14778 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
14784 CFLAGS
="$ac_save_CFLAGS"
14786 if test "$ac_cv_func_dlopen" = no
14788 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
14789 $as_echo_n "checking for dlopen in -ldl... " >&6; }
14790 if ${ac_cv_lib_dl_dlopen+:} false
; then :
14791 $as_echo_n "(cached) " >&6
14793 ac_check_lib_save_LIBS
=$LIBS
14795 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14796 /* end confdefs.h. */
14798 /* Override any GCC internal prototype to avoid an error.
14799 Use char because int might match the return type of a GCC
14800 builtin and then its argument prototype would still apply. */
14813 if ac_fn_c_try_link
"$LINENO"; then :
14814 ac_cv_lib_dl_dlopen
=yes
14816 ac_cv_lib_dl_dlopen
=no
14818 rm -f core conftest.err conftest.
$ac_objext \
14819 conftest
$ac_exeext conftest.
$ac_ext
14820 LIBS
=$ac_check_lib_save_LIBS
14822 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
14823 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
14824 if test "x$ac_cv_lib_dl_dlopen" = xyes
; then :
14825 $as_echo "#define HAVE_DLOPEN 1" >>confdefs.h
14831 ac_wine_check_funcs_save_LIBS
="$LIBS"
14832 LIBS
="$LIBS $DL_LIBS"
14833 for ac_func
in dladdr
14835 ac_fn_c_check_func
"$LINENO" "dladdr" "ac_cv_func_dladdr"
14836 if test "x$ac_cv_func_dladdr" = xyes
; then :
14837 cat >>confdefs.h
<<_ACEOF
14838 #define HAVE_DLADDR 1
14844 LIBS
="$ac_wine_check_funcs_save_LIBS"
14846 if test "$ac_cv_func_poll" = no
14848 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for poll in -lpoll" >&5
14849 $as_echo_n "checking for poll in -lpoll... " >&6; }
14850 if ${ac_cv_lib_poll_poll+:} false
; then :
14851 $as_echo_n "(cached) " >&6
14853 ac_check_lib_save_LIBS
=$LIBS
14854 LIBS
="-lpoll $LIBS"
14855 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14856 /* end confdefs.h. */
14858 /* Override any GCC internal prototype to avoid an error.
14859 Use char because int might match the return type of a GCC
14860 builtin and then its argument prototype would still apply. */
14873 if ac_fn_c_try_link
"$LINENO"; then :
14874 ac_cv_lib_poll_poll
=yes
14876 ac_cv_lib_poll_poll
=no
14878 rm -f core conftest.err conftest.
$ac_objext \
14879 conftest
$ac_exeext conftest.
$ac_ext
14880 LIBS
=$ac_check_lib_save_LIBS
14882 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_poll_poll" >&5
14883 $as_echo "$ac_cv_lib_poll_poll" >&6; }
14884 if test "x$ac_cv_lib_poll_poll" = xyes
; then :
14885 $as_echo "#define HAVE_POLL 1" >>confdefs.h
14892 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing gethostbyname" >&5
14893 $as_echo_n "checking for library containing gethostbyname... " >&6; }
14894 if ${ac_cv_search_gethostbyname+:} false
; then :
14895 $as_echo_n "(cached) " >&6
14897 ac_func_search_save_LIBS
=$LIBS
14898 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14899 /* end confdefs.h. */
14901 /* Override any GCC internal prototype to avoid an error.
14902 Use char because int might match the return type of a GCC
14903 builtin and then its argument prototype would still apply. */
14907 char gethostbyname ();
14911 return gethostbyname ();
14916 for ac_lib
in '' nsl
; do
14917 if test -z "$ac_lib"; then
14918 ac_res
="none required"
14921 LIBS
="-l$ac_lib $ac_func_search_save_LIBS"
14923 if ac_fn_c_try_link
"$LINENO"; then :
14924 ac_cv_search_gethostbyname
=$ac_res
14926 rm -f core conftest.err conftest.
$ac_objext \
14928 if ${ac_cv_search_gethostbyname+:} false
; then :
14932 if ${ac_cv_search_gethostbyname+:} false
; then :
14935 ac_cv_search_gethostbyname
=no
14937 rm conftest.
$ac_ext
14938 LIBS
=$ac_func_search_save_LIBS
14940 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_gethostbyname" >&5
14941 $as_echo "$ac_cv_search_gethostbyname" >&6; }
14942 ac_res
=$ac_cv_search_gethostbyname
14943 if test "$ac_res" != no
; then :
14944 test "$ac_res" = "none required" || LIBS
="$ac_res $LIBS"
14949 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing connect" >&5
14950 $as_echo_n "checking for library containing connect... " >&6; }
14951 if ${ac_cv_search_connect+:} false
; then :
14952 $as_echo_n "(cached) " >&6
14954 ac_func_search_save_LIBS
=$LIBS
14955 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14956 /* end confdefs.h. */
14958 /* Override any GCC internal prototype to avoid an error.
14959 Use char because int might match the return type of a GCC
14960 builtin and then its argument prototype would still apply. */
14973 for ac_lib
in '' socket
; do
14974 if test -z "$ac_lib"; then
14975 ac_res
="none required"
14978 LIBS
="-l$ac_lib $ac_func_search_save_LIBS"
14980 if ac_fn_c_try_link
"$LINENO"; then :
14981 ac_cv_search_connect
=$ac_res
14983 rm -f core conftest.err conftest.
$ac_objext \
14985 if ${ac_cv_search_connect+:} false
; then :
14989 if ${ac_cv_search_connect+:} false
; then :
14992 ac_cv_search_connect
=no
14994 rm conftest.
$ac_ext
14995 LIBS
=$ac_func_search_save_LIBS
14997 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_connect" >&5
14998 $as_echo "$ac_cv_search_connect" >&6; }
14999 ac_res
=$ac_cv_search_connect
15000 if test "$ac_res" != no
; then :
15001 test "$ac_res" = "none required" || LIBS
="$ac_res $LIBS"
15006 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing inet_aton" >&5
15007 $as_echo_n "checking for library containing inet_aton... " >&6; }
15008 if ${ac_cv_search_inet_aton+:} false
; then :
15009 $as_echo_n "(cached) " >&6
15011 ac_func_search_save_LIBS
=$LIBS
15012 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15013 /* end confdefs.h. */
15015 /* Override any GCC internal prototype to avoid an error.
15016 Use char because int might match the return type of a GCC
15017 builtin and then its argument prototype would still apply. */
15025 return inet_aton ();
15030 for ac_lib
in '' resolv
; do
15031 if test -z "$ac_lib"; then
15032 ac_res
="none required"
15035 LIBS
="-l$ac_lib $ac_func_search_save_LIBS"
15037 if ac_fn_c_try_link
"$LINENO"; then :
15038 ac_cv_search_inet_aton
=$ac_res
15040 rm -f core conftest.err conftest.
$ac_objext \
15042 if ${ac_cv_search_inet_aton+:} false
; then :
15046 if ${ac_cv_search_inet_aton+:} false
; then :
15049 ac_cv_search_inet_aton
=no
15051 rm conftest.
$ac_ext
15052 LIBS
=$ac_func_search_save_LIBS
15054 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_inet_aton" >&5
15055 $as_echo "$ac_cv_search_inet_aton" >&6; }
15056 ac_res
=$ac_cv_search_inet_aton
15057 if test "$ac_res" != no
; then :
15058 test "$ac_res" = "none required" || LIBS
="$ac_res $LIBS"
15078 as_ac_var
=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
15079 ac_fn_c_check_func
"$LINENO" "$ac_func" "$as_ac_var"
15080 if eval test \"x\$
"$as_ac_var"\" = x
"yes"; then :
15081 cat >>confdefs.h
<<_ACEOF
15082 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
15090 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing clock_gettime" >&5
15091 $as_echo_n "checking for library containing clock_gettime... " >&6; }
15092 if ${ac_cv_search_clock_gettime+:} false
; then :
15093 $as_echo_n "(cached) " >&6
15095 ac_func_search_save_LIBS
=$LIBS
15096 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15097 /* end confdefs.h. */
15099 /* Override any GCC internal prototype to avoid an error.
15100 Use char because int might match the return type of a GCC
15101 builtin and then its argument prototype would still apply. */
15105 char clock_gettime ();
15109 return clock_gettime ();
15114 for ac_lib
in '' rt
; do
15115 if test -z "$ac_lib"; then
15116 ac_res
="none required"
15119 LIBS
="-l$ac_lib $ac_func_search_save_LIBS"
15121 if ac_fn_c_try_link
"$LINENO"; then :
15122 ac_cv_search_clock_gettime
=$ac_res
15124 rm -f core conftest.err conftest.
$ac_objext \
15126 if ${ac_cv_search_clock_gettime+:} false
; then :
15130 if ${ac_cv_search_clock_gettime+:} false
; then :
15133 ac_cv_search_clock_gettime
=no
15135 rm conftest.
$ac_ext
15136 LIBS
=$ac_func_search_save_LIBS
15138 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_clock_gettime" >&5
15139 $as_echo "$ac_cv_search_clock_gettime" >&6; }
15140 ac_res
=$ac_cv_search_clock_gettime
15141 if test "$ac_res" != no
; then :
15142 test "$ac_res" = "none required" || LIBS
="$ac_res $LIBS"
15144 $as_echo "#define HAVE_CLOCK_GETTIME 1" >>confdefs.h
15146 test "$ac_res" = "none required" || RT_LIBS
="$ac_res"
15154 if test "$ac_cv_header_ldap_h" = "yes" -a "$ac_cv_header_lber_h" = "yes"
15156 ac_fn_c_check_type
"$LINENO" "LDAPSortKey" "ac_cv_type_LDAPSortKey" "#include <ldap.h>
15158 if test "x$ac_cv_type_LDAPSortKey" = xyes
; then :
15159 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldap_initialize in -lldap_r" >&5
15160 $as_echo_n "checking for ldap_initialize in -lldap_r... " >&6; }
15161 if ${ac_cv_lib_ldap_r_ldap_initialize+:} false
; then :
15162 $as_echo_n "(cached) " >&6
15164 ac_check_lib_save_LIBS
=$LIBS
15165 LIBS
="-lldap_r $PTHREAD_LIBS $LIBS"
15166 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15167 /* end confdefs.h. */
15169 /* Override any GCC internal prototype to avoid an error.
15170 Use char because int might match the return type of a GCC
15171 builtin and then its argument prototype would still apply. */
15175 char ldap_initialize ();
15179 return ldap_initialize ();
15184 if ac_fn_c_try_link
"$LINENO"; then :
15185 ac_cv_lib_ldap_r_ldap_initialize
=yes
15187 ac_cv_lib_ldap_r_ldap_initialize
=no
15189 rm -f core conftest.err conftest.
$ac_objext \
15190 conftest
$ac_exeext conftest.
$ac_ext
15191 LIBS
=$ac_check_lib_save_LIBS
15193 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ldap_r_ldap_initialize" >&5
15194 $as_echo "$ac_cv_lib_ldap_r_ldap_initialize" >&6; }
15195 if test "x$ac_cv_lib_ldap_r_ldap_initialize" = xyes
; then :
15196 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ber_init in -llber" >&5
15197 $as_echo_n "checking for ber_init in -llber... " >&6; }
15198 if ${ac_cv_lib_lber_ber_init+:} false
; then :
15199 $as_echo_n "(cached) " >&6
15201 ac_check_lib_save_LIBS
=$LIBS
15202 LIBS
="-llber $PTHREAD_LIBS $LIBS"
15203 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15204 /* end confdefs.h. */
15206 /* Override any GCC internal prototype to avoid an error.
15207 Use char because int might match the return type of a GCC
15208 builtin and then its argument prototype would still apply. */
15216 return ber_init ();
15221 if ac_fn_c_try_link
"$LINENO"; then :
15222 ac_cv_lib_lber_ber_init
=yes
15224 ac_cv_lib_lber_ber_init
=no
15226 rm -f core conftest.err conftest.
$ac_objext \
15227 conftest
$ac_exeext conftest.
$ac_ext
15228 LIBS
=$ac_check_lib_save_LIBS
15230 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_lber_ber_init" >&5
15231 $as_echo "$ac_cv_lib_lber_ber_init" >&6; }
15232 if test "x$ac_cv_lib_lber_ber_init" = xyes
; then :
15234 $as_echo "#define HAVE_LDAP 1" >>confdefs.h
15236 LDAP_LIBS
="-lldap_r -llber"
15243 ac_wine_check_funcs_save_LIBS
="$LIBS"
15244 LIBS
="$LIBS $LDAP_LIBS $PTHREAD_LIBS"
15246 ldap_count_references \
15247 ldap_first_reference \
15248 ldap_next_reference \
15249 ldap_parse_reference \
15250 ldap_parse_sort_control \
15251 ldap_parse_sortresponse_control \
15252 ldap_parse_vlv_control \
15253 ldap_parse_vlvresponse_control
15255 as_ac_var
=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
15256 ac_fn_c_check_func
"$LINENO" "$ac_func" "$as_ac_var"
15257 if eval test \"x\$
"$as_ac_var"\" = x
"yes"; then :
15258 cat >>confdefs.h
<<_ACEOF
15259 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
15265 LIBS
="$ac_wine_check_funcs_save_LIBS"
15267 if test "x$LDAP_LIBS" = "x"; then :
15268 case "x$with_ldap" in
15269 x
) as_fn_append wine_notices
"|libldap (OpenLDAP) ${notice_platform}development files not found, LDAP won't be supported." ;;
15271 *) as_fn_error $?
"libldap (OpenLDAP) ${notice_platform}development files not found, LDAP won't be supported.
15272 This is an error since --with-ldap was requested." "$LINENO" 5 ;;
15276 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether mkdir takes only one argument" >&5
15277 $as_echo_n "checking whether mkdir takes only one argument... " >&6; }
15278 if ${wine_cv_one_arg_mkdir+:} false
; then :
15279 $as_echo_n "(cached) " >&6
15281 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15282 /* end confdefs.h. */
15283 #include <sys/stat.h>
15292 if ac_fn_c_try_compile
"$LINENO"; then :
15293 wine_cv_one_arg_mkdir
=yes
15295 wine_cv_one_arg_mkdir
=no
15297 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
15299 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_one_arg_mkdir" >&5
15300 $as_echo "$wine_cv_one_arg_mkdir" >&6; }
15301 if test "$wine_cv_one_arg_mkdir" = "yes"
15304 $as_echo "#define HAVE_ONE_ARG_MKDIR 1" >>confdefs.h
15308 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sched_setaffinity" >&5
15309 $as_echo_n "checking for sched_setaffinity... " >&6; }
15310 if ${wine_cv_have_sched_setaffinity+:} false
; then :
15311 $as_echo_n "(cached) " >&6
15313 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15314 /* end confdefs.h. */
15315 #define _GNU_SOURCE
15320 sched_setaffinity(0, 0, 0);
15325 if ac_fn_c_try_link
"$LINENO"; then :
15326 wine_cv_have_sched_setaffinity
=yes
15328 wine_cv_have_sched_setaffinity
=no
15330 rm -f core conftest.err conftest.
$ac_objext \
15331 conftest
$ac_exeext conftest.
$ac_ext
15333 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_have_sched_setaffinity" >&5
15334 $as_echo "$wine_cv_have_sched_setaffinity" >&6; }
15335 if test "$wine_cv_have_sched_setaffinity" = "yes"
15338 $as_echo "#define HAVE_SCHED_SETAFFINITY 1" >>confdefs.h
15342 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fallocate" >&5
15343 $as_echo_n "checking for fallocate... " >&6; }
15344 if ${wine_cv_have_fallocate+:} false
; then :
15345 $as_echo_n "(cached) " >&6
15347 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15348 /* end confdefs.h. */
15349 #define _GNU_SOURCE
15354 fallocate(-1, 0, 0, 0);
15359 if ac_fn_c_try_link
"$LINENO"; then :
15360 wine_cv_have_fallocate
=yes
15362 wine_cv_have_fallocate
=no
15364 rm -f core conftest.err conftest.
$ac_objext \
15365 conftest
$ac_exeext conftest.
$ac_ext
15367 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_have_fallocate" >&5
15368 $as_echo "$wine_cv_have_fallocate" >&6; }
15369 if test "$wine_cv_have_fallocate" = "yes"
15372 $as_echo "#define HAVE_FALLOCATE 1" >>confdefs.h
15377 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for inline" >&5
15378 $as_echo_n "checking for inline... " >&6; }
15379 if ${ac_cv_c_inline+:} false
; then :
15380 $as_echo_n "(cached) " >&6
15383 for ac_kw
in inline __inline__ __inline
; do
15384 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15385 /* end confdefs.h. */
15386 #ifndef __cplusplus
15388 static $ac_kw foo_t static_foo () {return 0; }
15389 $ac_kw foo_t foo () {return 0; }
15393 if ac_fn_c_try_compile
"$LINENO"; then :
15394 ac_cv_c_inline
=$ac_kw
15396 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
15397 test "$ac_cv_c_inline" != no
&& break
15401 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_inline" >&5
15402 $as_echo "$ac_cv_c_inline" >&6; }
15404 case $ac_cv_c_inline in
15407 case $ac_cv_c_inline in
15409 *) ac_val
=$ac_cv_c_inline;;
15411 cat >>confdefs.h
<<_ACEOF
15412 #ifndef __cplusplus
15413 #define inline $ac_val
15419 ac_fn_c_check_type
"$LINENO" "mode_t" "ac_cv_type_mode_t" "$ac_includes_default"
15420 if test "x$ac_cv_type_mode_t" = xyes
; then :
15422 cat >>confdefs.h
<<_ACEOF
15423 #define HAVE_MODE_T 1
15428 ac_fn_c_check_type
"$LINENO" "off_t" "ac_cv_type_off_t" "$ac_includes_default"
15429 if test "x$ac_cv_type_off_t" = xyes
; then :
15431 cat >>confdefs.h
<<_ACEOF
15432 #define HAVE_OFF_T 1
15437 ac_fn_c_check_type
"$LINENO" "pid_t" "ac_cv_type_pid_t" "$ac_includes_default"
15438 if test "x$ac_cv_type_pid_t" = xyes
; then :
15440 cat >>confdefs.h
<<_ACEOF
15441 #define HAVE_PID_T 1
15446 ac_fn_c_check_type
"$LINENO" "size_t" "ac_cv_type_size_t" "$ac_includes_default"
15447 if test "x$ac_cv_type_size_t" = xyes
; then :
15449 cat >>confdefs.h
<<_ACEOF
15450 #define HAVE_SIZE_T 1
15455 ac_fn_c_check_type
"$LINENO" "ssize_t" "ac_cv_type_ssize_t" "$ac_includes_default"
15456 if test "x$ac_cv_type_ssize_t" = xyes
; then :
15458 cat >>confdefs.h
<<_ACEOF
15459 #define HAVE_SSIZE_T 1
15464 ac_fn_c_check_type
"$LINENO" "long long" "ac_cv_type_long_long" "$ac_includes_default"
15465 if test "x$ac_cv_type_long_long" = xyes
; then :
15467 cat >>confdefs.h
<<_ACEOF
15468 #define HAVE_LONG_LONG 1
15473 ac_fn_c_check_type
"$LINENO" "fsblkcnt_t" "ac_cv_type_fsblkcnt_t" "$ac_includes_default"
15474 if test "x$ac_cv_type_fsblkcnt_t" = xyes
; then :
15476 cat >>confdefs.h
<<_ACEOF
15477 #define HAVE_FSBLKCNT_T 1
15482 ac_fn_c_check_type
"$LINENO" "fsfilcnt_t" "ac_cv_type_fsfilcnt_t" "$ac_includes_default"
15483 if test "x$ac_cv_type_fsfilcnt_t" = xyes
; then :
15485 cat >>confdefs.h
<<_ACEOF
15486 #define HAVE_FSFILCNT_T 1
15492 ac_fn_c_check_type
"$LINENO" "sigset_t" "ac_cv_type_sigset_t" "#include <sys/types.h>
15493 #include <signal.h>
15495 if test "x$ac_cv_type_sigset_t" = xyes
; then :
15497 cat >>confdefs.h
<<_ACEOF
15498 #define HAVE_SIGSET_T 1
15504 ac_fn_c_check_type
"$LINENO" "request_sense" "ac_cv_type_request_sense" "#include <linux/cdrom.h>
15506 if test "x$ac_cv_type_request_sense" = xyes
; then :
15508 cat >>confdefs.h
<<_ACEOF
15509 #define HAVE_REQUEST_SENSE 1
15516 ac_fn_c_check_type
"$LINENO" "struct xinpgen" "ac_cv_type_struct_xinpgen" "#include <sys/types.h>
15517 #ifdef HAVE_SYS_SOCKET_H
15518 #include <sys/socket.h>
15520 #ifdef HAVE_SYS_SOCKETVAR_H
15521 #include <sys/socketvar.h>
15523 #ifdef HAVE_NET_ROUTE_H
15524 #include <net/route.h>
15526 #ifdef HAVE_NETINET_IN_H
15527 #include <netinet/in.h>
15529 #ifdef HAVE_NETINET_IN_SYSTM_H
15530 #include <netinet/in_systm.h>
15532 #ifdef HAVE_NETINET_IP_H
15533 #include <netinet/ip.h>
15535 #ifdef HAVE_NETINET_IN_PCB_H
15536 #include <netinet/in_pcb.h>
15539 if test "x$ac_cv_type_struct_xinpgen" = xyes
; then :
15541 cat >>confdefs.h
<<_ACEOF
15542 #define HAVE_STRUCT_XINPGEN 1
15549 ac_fn_c_check_type
"$LINENO" "struct r_debug" "ac_cv_type_struct_r_debug" "#ifdef HAVE_LINK_H
15552 #ifdef HAVE_SYS_LINK_H
15553 #include <sys/link.h>
15556 if test "x$ac_cv_type_struct_r_debug" = xyes
; then :
15558 cat >>confdefs.h
<<_ACEOF
15559 #define HAVE_STRUCT_R_DEBUG 1
15564 ac_fn_c_check_type
"$LINENO" "struct link_map" "ac_cv_type_struct_link_map" "#ifdef HAVE_LINK_H
15567 #ifdef HAVE_SYS_LINK_H
15568 #include <sys/link.h>
15571 if test "x$ac_cv_type_struct_link_map" = xyes
; then :
15573 cat >>confdefs.h
<<_ACEOF
15574 #define HAVE_STRUCT_LINK_MAP 1
15581 ac_fn_c_check_member
"$LINENO" "struct ff_effect" "direction" "ac_cv_member_struct_ff_effect_direction" "#ifdef HAVE_LINUX_INPUT_H
15582 #include <linux/input.h>
15585 if test "x$ac_cv_member_struct_ff_effect_direction" = xyes
; then :
15587 cat >>confdefs.h
<<_ACEOF
15588 #define HAVE_STRUCT_FF_EFFECT_DIRECTION 1
15595 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sigaddset" >&5
15596 $as_echo_n "checking for sigaddset... " >&6; }
15597 if ${wine_cv_have_sigaddset+:} false
; then :
15598 $as_echo_n "(cached) " >&6
15600 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15601 /* end confdefs.h. */
15602 #include <signal.h>
15606 sigset_t set; sigaddset(&set,SIGTERM);
15611 if ac_fn_c_try_link
"$LINENO"; then :
15612 wine_cv_have_sigaddset
=yes
15614 wine_cv_have_sigaddset
=no
15616 rm -f core conftest.err conftest.
$ac_objext \
15617 conftest
$ac_exeext conftest.
$ac_ext
15619 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_have_sigaddset" >&5
15620 $as_echo "$wine_cv_have_sigaddset" >&6; }
15621 if test "$wine_cv_have_sigaddset" = "yes"
15624 $as_echo "#define HAVE_SIGADDSET 1" >>confdefs.h
15629 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we can use re-entrant gethostbyname_r Linux style" >&5
15630 $as_echo_n "checking whether we can use re-entrant gethostbyname_r Linux style... " >&6; }
15631 if ${wine_cv_linux_gethostbyname_r_6+:} false
; then :
15632 $as_echo_n "(cached) " >&6
15634 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15635 /* end confdefs.h. */
15643 struct hostent *result;
15650 gethostbyname_r(name,&he,buf,bufsize,&result,&errnr);
15651 gethostbyaddr_r(addr, addrlen, addrtype,&he,buf,bufsize,&result,&errnr);
15657 if ac_fn_c_try_link
"$LINENO"; then :
15658 wine_cv_linux_gethostbyname_r_6
=yes
15660 wine_cv_linux_gethostbyname_r_6
=no
15663 rm -f core conftest.err conftest.
$ac_objext \
15664 conftest
$ac_exeext conftest.
$ac_ext
15667 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_linux_gethostbyname_r_6" >&5
15668 $as_echo "$wine_cv_linux_gethostbyname_r_6" >&6; }
15669 if test "$wine_cv_linux_gethostbyname_r_6" = "yes"
15672 $as_echo "#define HAVE_LINUX_GETHOSTBYNAME_R_6 1" >>confdefs.h
15676 if test "$ac_cv_header_linux_joystick_h" = "yes"
15678 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether linux/joystick.h uses the Linux 2.2+ API" >&5
15679 $as_echo_n "checking whether linux/joystick.h uses the Linux 2.2+ API... " >&6; }
15680 if ${wine_cv_linux_joystick_22_api+:} false
; then :
15681 $as_echo_n "(cached) " >&6
15683 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15684 /* end confdefs.h. */
15686 #include <sys/ioctl.h>
15687 #include <sys/types.h>
15688 #include <linux/joystick.h>
15690 struct js_event blub;
15691 #if !defined(JS_EVENT_AXIS) || !defined(JS_EVENT_BUTTON)
15692 #error "no 2.2 header"
15703 if ac_fn_c_try_compile
"$LINENO"; then :
15704 wine_cv_linux_joystick_22_api
=yes
15706 wine_cv_linux_joystick_22_api
=no
15708 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
15711 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_linux_joystick_22_api" >&5
15712 $as_echo "$wine_cv_linux_joystick_22_api" >&6; }
15713 if test "$wine_cv_linux_joystick_22_api" = "yes"
15716 $as_echo "#define HAVE_LINUX_22_JOYSTICK_API 1" >>confdefs.h
15722 ac_fn_c_check_member
"$LINENO" "struct statfs" "f_bfree" "ac_cv_member_struct_statfs_f_bfree" "#include <sys/types.h>
15723 #ifdef HAVE_SYS_PARAM_H
15724 # include <sys/param.h>
15726 #ifdef HAVE_SYS_MOUNT_H
15727 # include <sys/mount.h>
15729 #ifdef HAVE_SYS_VFS_H
15730 # include <sys/vfs.h>
15732 #ifdef HAVE_SYS_STATFS_H
15733 # include <sys/statfs.h>
15736 if test "x$ac_cv_member_struct_statfs_f_bfree" = xyes
; then :
15738 cat >>confdefs.h
<<_ACEOF
15739 #define HAVE_STRUCT_STATFS_F_BFREE 1
15744 ac_fn_c_check_member
"$LINENO" "struct statfs" "f_bavail" "ac_cv_member_struct_statfs_f_bavail" "#include <sys/types.h>
15745 #ifdef HAVE_SYS_PARAM_H
15746 # include <sys/param.h>
15748 #ifdef HAVE_SYS_MOUNT_H
15749 # include <sys/mount.h>
15751 #ifdef HAVE_SYS_VFS_H
15752 # include <sys/vfs.h>
15754 #ifdef HAVE_SYS_STATFS_H
15755 # include <sys/statfs.h>
15758 if test "x$ac_cv_member_struct_statfs_f_bavail" = xyes
; then :
15760 cat >>confdefs.h
<<_ACEOF
15761 #define HAVE_STRUCT_STATFS_F_BAVAIL 1
15766 ac_fn_c_check_member
"$LINENO" "struct statfs" "f_frsize" "ac_cv_member_struct_statfs_f_frsize" "#include <sys/types.h>
15767 #ifdef HAVE_SYS_PARAM_H
15768 # include <sys/param.h>
15770 #ifdef HAVE_SYS_MOUNT_H
15771 # include <sys/mount.h>
15773 #ifdef HAVE_SYS_VFS_H
15774 # include <sys/vfs.h>
15776 #ifdef HAVE_SYS_STATFS_H
15777 # include <sys/statfs.h>
15780 if test "x$ac_cv_member_struct_statfs_f_frsize" = xyes
; then :
15782 cat >>confdefs.h
<<_ACEOF
15783 #define HAVE_STRUCT_STATFS_F_FRSIZE 1
15788 ac_fn_c_check_member
"$LINENO" "struct statfs" "f_ffree" "ac_cv_member_struct_statfs_f_ffree" "#include <sys/types.h>
15789 #ifdef HAVE_SYS_PARAM_H
15790 # include <sys/param.h>
15792 #ifdef HAVE_SYS_MOUNT_H
15793 # include <sys/mount.h>
15795 #ifdef HAVE_SYS_VFS_H
15796 # include <sys/vfs.h>
15798 #ifdef HAVE_SYS_STATFS_H
15799 # include <sys/statfs.h>
15802 if test "x$ac_cv_member_struct_statfs_f_ffree" = xyes
; then :
15804 cat >>confdefs.h
<<_ACEOF
15805 #define HAVE_STRUCT_STATFS_F_FFREE 1
15810 ac_fn_c_check_member
"$LINENO" "struct statfs" "f_favail" "ac_cv_member_struct_statfs_f_favail" "#include <sys/types.h>
15811 #ifdef HAVE_SYS_PARAM_H
15812 # include <sys/param.h>
15814 #ifdef HAVE_SYS_MOUNT_H
15815 # include <sys/mount.h>
15817 #ifdef HAVE_SYS_VFS_H
15818 # include <sys/vfs.h>
15820 #ifdef HAVE_SYS_STATFS_H
15821 # include <sys/statfs.h>
15824 if test "x$ac_cv_member_struct_statfs_f_favail" = xyes
; then :
15826 cat >>confdefs.h
<<_ACEOF
15827 #define HAVE_STRUCT_STATFS_F_FAVAIL 1
15832 ac_fn_c_check_member
"$LINENO" "struct statfs" "f_namelen" "ac_cv_member_struct_statfs_f_namelen" "#include <sys/types.h>
15833 #ifdef HAVE_SYS_PARAM_H
15834 # include <sys/param.h>
15836 #ifdef HAVE_SYS_MOUNT_H
15837 # include <sys/mount.h>
15839 #ifdef HAVE_SYS_VFS_H
15840 # include <sys/vfs.h>
15842 #ifdef HAVE_SYS_STATFS_H
15843 # include <sys/statfs.h>
15846 if test "x$ac_cv_member_struct_statfs_f_namelen" = xyes
; then :
15848 cat >>confdefs.h
<<_ACEOF
15849 #define HAVE_STRUCT_STATFS_F_NAMELEN 1
15856 ac_fn_c_check_member
"$LINENO" "struct statvfs" "f_blocks" "ac_cv_member_struct_statvfs_f_blocks" "#ifdef HAVE_SYS_STATVFS_H
15857 #include <sys/statvfs.h>
15860 if test "x$ac_cv_member_struct_statvfs_f_blocks" = xyes
; then :
15862 cat >>confdefs.h
<<_ACEOF
15863 #define HAVE_STRUCT_STATVFS_F_BLOCKS 1
15870 ac_fn_c_check_member
"$LINENO" "struct dirent" "d_reclen" "ac_cv_member_struct_dirent_d_reclen" "#ifdef HAVE_DIRENT_H
15871 #include <dirent.h>
15874 if test "x$ac_cv_member_struct_dirent_d_reclen" = xyes
; then :
15876 cat >>confdefs.h
<<_ACEOF
15877 #define HAVE_STRUCT_DIRENT_D_RECLEN 1
15884 ac_fn_c_check_member
"$LINENO" "struct msghdr" "msg_accrights" "ac_cv_member_struct_msghdr_msg_accrights" "#include <sys/types.h>
15885 #ifdef HAVE_SYS_SOCKET_H
15886 # include <sys/socket.h>
15888 #ifdef HAVE_SYS_UN_H
15889 # include <sys/un.h>
15892 if test "x$ac_cv_member_struct_msghdr_msg_accrights" = xyes
; then :
15894 cat >>confdefs.h
<<_ACEOF
15895 #define HAVE_STRUCT_MSGHDR_MSG_ACCRIGHTS 1
15900 ac_fn_c_check_member
"$LINENO" "struct sockaddr" "sa_len" "ac_cv_member_struct_sockaddr_sa_len" "#include <sys/types.h>
15901 #ifdef HAVE_SYS_SOCKET_H
15902 # include <sys/socket.h>
15904 #ifdef HAVE_SYS_UN_H
15905 # include <sys/un.h>
15908 if test "x$ac_cv_member_struct_sockaddr_sa_len" = xyes
; then :
15910 cat >>confdefs.h
<<_ACEOF
15911 #define HAVE_STRUCT_SOCKADDR_SA_LEN 1
15916 ac_fn_c_check_member
"$LINENO" "struct sockaddr_un" "sun_len" "ac_cv_member_struct_sockaddr_un_sun_len" "#include <sys/types.h>
15917 #ifdef HAVE_SYS_SOCKET_H
15918 # include <sys/socket.h>
15920 #ifdef HAVE_SYS_UN_H
15921 # include <sys/un.h>
15924 if test "x$ac_cv_member_struct_sockaddr_un_sun_len" = xyes
; then :
15926 cat >>confdefs.h
<<_ACEOF
15927 #define HAVE_STRUCT_SOCKADDR_UN_SUN_LEN 1
15934 ac_fn_c_check_member
"$LINENO" "scsireq_t" "cmd" "ac_cv_member_scsireq_t_cmd" "#include <sys/types.h>
15935 #ifdef HAVE_SCSI_SG_H
15936 #include <scsi/sg.h>
15939 if test "x$ac_cv_member_scsireq_t_cmd" = xyes
; then :
15941 cat >>confdefs.h
<<_ACEOF
15942 #define HAVE_SCSIREQ_T_CMD 1
15947 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>
15948 #ifdef HAVE_SCSI_SG_H
15949 #include <scsi/sg.h>
15952 if test "x$ac_cv_member_sg_io_hdr_t_interface_id" = xyes
; then :
15954 cat >>confdefs.h
<<_ACEOF
15955 #define HAVE_SG_IO_HDR_T_INTERFACE_ID 1
15962 ac_fn_c_check_member
"$LINENO" "siginfo_t" "si_fd" "ac_cv_member_siginfo_t_si_fd" "#include <signal.h>
15964 if test "x$ac_cv_member_siginfo_t_si_fd" = xyes
; then :
15966 cat >>confdefs.h
<<_ACEOF
15967 #define HAVE_SIGINFO_T_SI_FD 1
15974 ac_fn_c_check_member
"$LINENO" "struct mtget" "mt_blksiz" "ac_cv_member_struct_mtget_mt_blksiz" "#include <sys/types.h>
15975 #ifdef HAVE_SYS_MTIO_H
15976 #include <sys/mtio.h>
15979 if test "x$ac_cv_member_struct_mtget_mt_blksiz" = xyes
; then :
15981 cat >>confdefs.h
<<_ACEOF
15982 #define HAVE_STRUCT_MTGET_MT_BLKSIZ 1
15987 ac_fn_c_check_member
"$LINENO" "struct mtget" "mt_gstat" "ac_cv_member_struct_mtget_mt_gstat" "#include <sys/types.h>
15988 #ifdef HAVE_SYS_MTIO_H
15989 #include <sys/mtio.h>
15992 if test "x$ac_cv_member_struct_mtget_mt_gstat" = xyes
; then :
15994 cat >>confdefs.h
<<_ACEOF
15995 #define HAVE_STRUCT_MTGET_MT_GSTAT 1
16000 ac_fn_c_check_member
"$LINENO" "struct mtget" "mt_blkno" "ac_cv_member_struct_mtget_mt_blkno" "#include <sys/types.h>
16001 #ifdef HAVE_SYS_MTIO_H
16002 #include <sys/mtio.h>
16005 if test "x$ac_cv_member_struct_mtget_mt_blkno" = xyes
; then :
16007 cat >>confdefs.h
<<_ACEOF
16008 #define HAVE_STRUCT_MTGET_MT_BLKNO 1
16015 ac_fn_c_check_member
"$LINENO" "struct option" "name" "ac_cv_member_struct_option_name" "#ifdef HAVE_GETOPT_H
16016 #include <getopt.h>
16019 if test "x$ac_cv_member_struct_option_name" = xyes
; then :
16021 cat >>confdefs.h
<<_ACEOF
16022 #define HAVE_STRUCT_OPTION_NAME 1
16029 ac_fn_c_check_member
"$LINENO" "struct stat" "st_blocks" "ac_cv_member_struct_stat_st_blocks" "$ac_includes_default"
16030 if test "x$ac_cv_member_struct_stat_st_blocks" = xyes
; then :
16032 cat >>confdefs.h
<<_ACEOF
16033 #define HAVE_STRUCT_STAT_ST_BLOCKS 1
16038 ac_fn_c_check_member
"$LINENO" "struct stat" "st_mtim" "ac_cv_member_struct_stat_st_mtim" "$ac_includes_default"
16039 if test "x$ac_cv_member_struct_stat_st_mtim" = xyes
; then :
16041 cat >>confdefs.h
<<_ACEOF
16042 #define HAVE_STRUCT_STAT_ST_MTIM 1
16047 ac_fn_c_check_member
"$LINENO" "struct stat" "st_mtimespec" "ac_cv_member_struct_stat_st_mtimespec" "$ac_includes_default"
16048 if test "x$ac_cv_member_struct_stat_st_mtimespec" = xyes
; then :
16050 cat >>confdefs.h
<<_ACEOF
16051 #define HAVE_STRUCT_STAT_ST_MTIMESPEC 1
16056 ac_fn_c_check_member
"$LINENO" "struct stat" "st_ctim" "ac_cv_member_struct_stat_st_ctim" "$ac_includes_default"
16057 if test "x$ac_cv_member_struct_stat_st_ctim" = xyes
; then :
16059 cat >>confdefs.h
<<_ACEOF
16060 #define HAVE_STRUCT_STAT_ST_CTIM 1
16065 ac_fn_c_check_member
"$LINENO" "struct stat" "st_ctimespec" "ac_cv_member_struct_stat_st_ctimespec" "$ac_includes_default"
16066 if test "x$ac_cv_member_struct_stat_st_ctimespec" = xyes
; then :
16068 cat >>confdefs.h
<<_ACEOF
16069 #define HAVE_STRUCT_STAT_ST_CTIMESPEC 1
16074 ac_fn_c_check_member
"$LINENO" "struct stat" "st_atim" "ac_cv_member_struct_stat_st_atim" "$ac_includes_default"
16075 if test "x$ac_cv_member_struct_stat_st_atim" = xyes
; then :
16077 cat >>confdefs.h
<<_ACEOF
16078 #define HAVE_STRUCT_STAT_ST_ATIM 1
16083 ac_fn_c_check_member
"$LINENO" "struct stat" "st_atimespec" "ac_cv_member_struct_stat_st_atimespec" "$ac_includes_default"
16084 if test "x$ac_cv_member_struct_stat_st_atimespec" = xyes
; then :
16086 cat >>confdefs.h
<<_ACEOF
16087 #define HAVE_STRUCT_STAT_ST_ATIMESPEC 1
16092 ac_fn_c_check_member
"$LINENO" "struct stat" "st_birthtime" "ac_cv_member_struct_stat_st_birthtime" "$ac_includes_default"
16093 if test "x$ac_cv_member_struct_stat_st_birthtime" = xyes
; then :
16095 cat >>confdefs.h
<<_ACEOF
16096 #define HAVE_STRUCT_STAT_ST_BIRTHTIME 1
16101 ac_fn_c_check_member
"$LINENO" "struct stat" "st_birthtim" "ac_cv_member_struct_stat_st_birthtim" "$ac_includes_default"
16102 if test "x$ac_cv_member_struct_stat_st_birthtim" = xyes
; then :
16104 cat >>confdefs.h
<<_ACEOF
16105 #define HAVE_STRUCT_STAT_ST_BIRTHTIM 1
16110 ac_fn_c_check_member
"$LINENO" "struct stat" "st_birthtimespec" "ac_cv_member_struct_stat_st_birthtimespec" "$ac_includes_default"
16111 if test "x$ac_cv_member_struct_stat_st_birthtimespec" = xyes
; then :
16113 cat >>confdefs.h
<<_ACEOF
16114 #define HAVE_STRUCT_STAT_ST_BIRTHTIMESPEC 1
16119 ac_fn_c_check_member
"$LINENO" "struct stat" "__st_birthtime" "ac_cv_member_struct_stat___st_birthtime" "$ac_includes_default"
16120 if test "x$ac_cv_member_struct_stat___st_birthtime" = xyes
; then :
16122 cat >>confdefs.h
<<_ACEOF
16123 #define HAVE_STRUCT_STAT___ST_BIRTHTIME 1
16128 ac_fn_c_check_member
"$LINENO" "struct stat" "__st_birthtim" "ac_cv_member_struct_stat___st_birthtim" "$ac_includes_default"
16129 if test "x$ac_cv_member_struct_stat___st_birthtim" = xyes
; then :
16131 cat >>confdefs.h
<<_ACEOF
16132 #define HAVE_STRUCT_STAT___ST_BIRTHTIM 1
16139 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
16140 #include <sys/types.h>
16142 #ifdef HAVE_NETINET_IN_H
16143 #include <netinet/in.h>
16146 if test "x$ac_cv_member_struct_sockaddr_in6_sin6_scope_id" = xyes
; then :
16148 cat >>confdefs.h
<<_ACEOF
16149 #define HAVE_STRUCT_SOCKADDR_IN6_SIN6_SCOPE_ID 1
16156 ac_fn_c_check_type
"$LINENO" "struct __res_state" "ac_cv_type_struct___res_state" "#ifdef HAVE_RESOLV_H
16157 #include <resolv.h>
16160 if test "x$ac_cv_type_struct___res_state" = xyes
; then :
16162 cat >>confdefs.h
<<_ACEOF
16163 #define HAVE_STRUCT___RES_STATE 1
16170 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
16171 #include <resolv.h>
16174 if test "x$ac_cv_member_struct___res_state__u__ext_nscount6" = xyes
; then :
16176 cat >>confdefs.h
<<_ACEOF
16177 #define HAVE_STRUCT___RES_STATE__U__EXT_NSCOUNT6 1
16184 ac_fn_c_check_member
"$LINENO" "ns_msg" "_msg_ptr" "ac_cv_member_ns_msg__msg_ptr" "#ifdef HAVE_SYS_TYPES_H
16185 #include <sys/types.h>
16187 #ifdef HAVE_NETINET_IN_H
16188 # include <netinet/in.h>
16190 #ifdef HAVE_ARPA_NAMESER_H
16191 # include <arpa/nameser.h>
16194 if test "x$ac_cv_member_ns_msg__msg_ptr" = xyes
; then :
16196 cat >>confdefs.h
<<_ACEOF
16197 #define HAVE_NS_MSG__MSG_PTR 1
16204 ac_fn_c_check_member
"$LINENO" "struct icmpstat" "icps_inhist" "ac_cv_member_struct_icmpstat_icps_inhist" "#ifdef HAVE_SYS_TYPES_H
16205 #include <sys/types.h>
16207 #ifdef HAVE_NETINET_IP_H
16208 #include <netinet/ip.h>
16210 #ifdef HAVE_NETINET_IP_ICMP_H
16211 #include <netinet/ip_icmp.h>
16213 #ifdef HAVE_NETINET_ICMP_VAR_H
16214 #include <netinet/icmp_var.h>
16217 if test "x$ac_cv_member_struct_icmpstat_icps_inhist" = xyes
; then :
16219 cat >>confdefs.h
<<_ACEOF
16220 #define HAVE_STRUCT_ICMPSTAT_ICPS_INHIST 1
16227 ac_fn_c_check_member
"$LINENO" "struct icmpstat" "icps_outhist" "ac_cv_member_struct_icmpstat_icps_outhist" "#ifdef HAVE_SYS_TYPES_H
16228 #include <sys/types.h>
16230 #ifdef HAVE_ALIAS_H
16233 #ifdef HAVE_SYS_SOCKET_H
16234 #include <sys/socket.h>
16236 #ifdef HAVE_SYS_SOCKETVAR_H
16237 #include <sys/socketvar.h>
16239 #ifdef HAVE_SYS_TIMEOUT_H
16240 #include <sys/timeout.h>
16242 #ifdef HAVE_NETINET_IN_H
16243 #include <netinet/in.h>
16245 #ifdef HAVE_NETINET_IN_SYSTM_H
16246 #include <netinet/in_systm.h>
16248 #ifdef HAVE_NETINET_IP_H
16249 #include <netinet/ip.h>
16251 #ifdef HAVE_NETINET_IP_VAR_H
16252 #include <netinet/ip_var.h>
16254 #ifdef HAVE_NETINET_IP_ICMP_H
16255 #include <netinet/ip_icmp.h>
16257 #ifdef HAVE_NETINET_ICMP_VAR_H
16258 #include <netinet/icmp_var.h>
16261 if test "x$ac_cv_member_struct_icmpstat_icps_outhist" = xyes
; then :
16263 cat >>confdefs.h
<<_ACEOF
16264 #define HAVE_STRUCT_ICMPSTAT_ICPS_OUTHIST 1
16271 ac_fn_c_check_member
"$LINENO" "struct ipstat" "ips_total" "ac_cv_member_struct_ipstat_ips_total" "#ifdef HAVE_SYS_TYPES_H
16272 #include <sys/types.h>
16274 #ifdef HAVE_SYS_SOCKETVAR_H
16275 #include <sys/socketvar.h>
16277 #ifdef HAVE_NETINET_IN_H
16278 #include <netinet/in.h>
16280 #ifdef HAVE_NETINET_IP_VAR_H
16281 #include <netinet/ip_var.h>
16284 if test "x$ac_cv_member_struct_ipstat_ips_total" = xyes
; then :
16286 cat >>confdefs.h
<<_ACEOF
16287 #define HAVE_STRUCT_IPSTAT_IPS_TOTAL 1
16294 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
16295 #include <netinet/ip_var.h>
16298 if test "x$ac_cv_member_struct_ip_stats_ips_total" = xyes
; then :
16300 cat >>confdefs.h
<<_ACEOF
16301 #define HAVE_STRUCT_IP_STATS_IPS_TOTAL 1
16308 ac_fn_c_check_member
"$LINENO" "struct tcpstat" "tcps_connattempt" "ac_cv_member_struct_tcpstat_tcps_connattempt" "#ifdef HAVE_SYS_TYPES_H
16309 #include <sys/types.h>
16311 #ifdef HAVE_SYS_SOCKETVAR_H
16312 #include <sys/socketvar.h>
16314 #ifdef HAVE_NETINET_IN_H
16315 #include <netinet/in.h>
16317 #ifdef HAVE_NETINET_TCP_H
16318 #include <netinet/tcp.h>
16320 #ifdef HAVE_NETINET_TCP_VAR_H
16321 #include <netinet/tcp_var.h>
16324 if test "x$ac_cv_member_struct_tcpstat_tcps_connattempt" = xyes
; then :
16326 cat >>confdefs.h
<<_ACEOF
16327 #define HAVE_STRUCT_TCPSTAT_TCPS_CONNATTEMPT 1
16334 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
16335 #include <netinet/tcp_var.h>
16338 if test "x$ac_cv_member_struct_tcp_stats_tcps_connattempt" = xyes
; then :
16340 cat >>confdefs.h
<<_ACEOF
16341 #define HAVE_STRUCT_TCP_STATS_TCPS_CONNATTEMPT 1
16348 ac_fn_c_check_member
"$LINENO" "struct udpstat" "udps_ipackets" "ac_cv_member_struct_udpstat_udps_ipackets" "#ifdef HAVE_SYS_TYPES_H
16349 #include <sys/types.h>
16351 #ifdef HAVE_NETINET_IN_H
16352 #include <netinet/in.h>
16354 #ifdef HAVE_NETINET_IP_VAR_H
16355 #include <netinet/ip_var.h>
16357 #ifdef HAVE_NETINET_UDP_H
16358 #include <netinet/udp.h>
16360 #ifdef HAVE_NETINET_UDP_VAR_H
16361 #include <netinet/udp_var.h>
16364 if test "x$ac_cv_member_struct_udpstat_udps_ipackets" = xyes
; then :
16366 cat >>confdefs.h
<<_ACEOF
16367 #define HAVE_STRUCT_UDPSTAT_UDPS_IPACKETS 1
16374 ac_fn_c_check_member
"$LINENO" "struct ifreq" "ifr_hwaddr" "ac_cv_member_struct_ifreq_ifr_hwaddr" "#ifdef HAVE_SYS_TYPES_H
16375 #include <sys/types.h>
16377 #ifdef HAVE_NET_IF_H
16378 # include <net/if.h>
16381 if test "x$ac_cv_member_struct_ifreq_ifr_hwaddr" = xyes
; then :
16383 cat >>confdefs.h
<<_ACEOF
16384 #define HAVE_STRUCT_IFREQ_IFR_HWADDR 1
16391 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for timezone variable" >&5
16392 $as_echo_n "checking for timezone variable... " >&6; }
16393 if ${ac_cv_have_timezone+:} false
; then :
16394 $as_echo_n "(cached) " >&6
16396 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
16397 /* end confdefs.h. */
16407 if ac_fn_c_try_link
"$LINENO"; then :
16408 ac_cv_have_timezone
="yes"
16410 ac_cv_have_timezone
="no"
16412 rm -f core conftest.err conftest.
$ac_objext \
16413 conftest
$ac_exeext conftest.
$ac_ext
16415 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_timezone" >&5
16416 $as_echo "$ac_cv_have_timezone" >&6; }
16417 if test "$ac_cv_have_timezone" = "yes"
16420 $as_echo "#define HAVE_TIMEZONE 1" >>confdefs.h
16423 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for daylight variable" >&5
16424 $as_echo_n "checking for daylight variable... " >&6; }
16425 if ${ac_cv_have_daylight+:} false
; then :
16426 $as_echo_n "(cached) " >&6
16428 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
16429 /* end confdefs.h. */
16439 if ac_fn_c_try_link
"$LINENO"; then :
16440 ac_cv_have_daylight
="yes"
16442 ac_cv_have_daylight
="no"
16444 rm -f core conftest.err conftest.
$ac_objext \
16445 conftest
$ac_exeext conftest.
$ac_ext
16447 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_daylight" >&5
16448 $as_echo "$ac_cv_have_daylight" >&6; }
16449 if test "$ac_cv_have_daylight" = "yes"
16452 $as_echo "#define HAVE_DAYLIGHT 1" >>confdefs.h
16456 ac_save_LIBS
="$LIBS"
16458 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isfinite" >&5
16459 $as_echo_n "checking for isfinite... " >&6; }
16460 if ${ac_cv_have_isfinite+:} false
; then :
16461 $as_echo_n "(cached) " >&6
16463 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
16464 /* end confdefs.h. */
16465 #define _GNU_SOURCE
16470 float f = 0.0; return isfinite(f)
16475 if ac_fn_c_try_link
"$LINENO"; then :
16476 ac_cv_have_isfinite
="yes"
16478 ac_cv_have_isfinite
="no"
16480 rm -f core conftest.err conftest.
$ac_objext \
16481 conftest
$ac_exeext conftest.
$ac_ext
16483 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_isfinite" >&5
16484 $as_echo "$ac_cv_have_isfinite" >&6; }
16485 if test "$ac_cv_have_isfinite" = "yes"
16488 $as_echo "#define HAVE_ISFINITE 1" >>confdefs.h
16492 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinf" >&5
16493 $as_echo_n "checking for isinf... " >&6; }
16494 if ${ac_cv_have_isinf+:} false
; then :
16495 $as_echo_n "(cached) " >&6
16497 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
16498 /* end confdefs.h. */
16503 float f = 0.0; return isinf(f)
16508 if ac_fn_c_try_link
"$LINENO"; then :
16509 ac_cv_have_isinf
="yes"
16511 ac_cv_have_isinf
="no"
16513 rm -f core conftest.err conftest.
$ac_objext \
16514 conftest
$ac_exeext conftest.
$ac_ext
16516 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_isinf" >&5
16517 $as_echo "$ac_cv_have_isinf" >&6; }
16518 if test "$ac_cv_have_isinf" = "yes"
16521 $as_echo "#define HAVE_ISINF 1" >>confdefs.h
16525 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnan" >&5
16526 $as_echo_n "checking for isnan... " >&6; }
16527 if ${ac_cv_have_isnan+:} false
; then :
16528 $as_echo_n "(cached) " >&6
16530 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
16531 /* end confdefs.h. */
16536 float f = 0.0; return isnan(f)
16541 if ac_fn_c_try_link
"$LINENO"; then :
16542 ac_cv_have_isnan
="yes"
16544 ac_cv_have_isnan
="no"
16546 rm -f core conftest.err conftest.
$ac_objext \
16547 conftest
$ac_exeext conftest.
$ac_ext
16549 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_isnan" >&5
16550 $as_echo "$ac_cv_have_isnan" >&6; }
16551 if test "$ac_cv_have_isnan" = "yes"
16554 $as_echo "#define HAVE_ISNAN 1" >>confdefs.h
16581 as_ac_var
=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
16582 ac_fn_c_check_func
"$LINENO" "$ac_func" "$as_ac_var"
16583 if eval test \"x\$
"$as_ac_var"\" = x
"yes"; then :
16584 cat >>confdefs.h
<<_ACEOF
16585 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
16591 LIBS
="$ac_save_LIBS"
16593 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for __builtin_clz" >&5
16594 $as_echo_n "checking for __builtin_clz... " >&6; }
16595 if ${ac_cv_have___builtin_clz+:} false
; then :
16596 $as_echo_n "(cached) " >&6
16598 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
16599 /* end confdefs.h. */
16604 return __builtin_clz(1)
16609 if ac_fn_c_try_link
"$LINENO"; then :
16610 ac_cv_have___builtin_clz
="yes"
16612 ac_cv_have___builtin_clz
="no"
16614 rm -f core conftest.err conftest.
$ac_objext \
16615 conftest
$ac_exeext conftest.
$ac_ext
16617 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have___builtin_clz" >&5
16618 $as_echo "$ac_cv_have___builtin_clz" >&6; }
16619 if test "$ac_cv_have___builtin_clz" = "yes"
16622 $as_echo "#define HAVE___BUILTIN_CLZ 1" >>confdefs.h
16628 *i
[3456789]86*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __i386__" >&5
16629 $as_echo_n "checking whether we need to define __i386__... " >&6; }
16630 if ${ac_cv_cpp_def___i386__+:} false
; then :
16631 $as_echo_n "(cached) " >&6
16633 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
16634 /* end confdefs.h. */
16639 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
16640 $EGREP "yes" >/dev
/null
2>&1; then :
16641 ac_cv_cpp_def___i386__
=yes
16643 ac_cv_cpp_def___i386__
=no
16648 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___i386__" >&5
16649 $as_echo "$ac_cv_cpp_def___i386__" >&6; }
16650 if test "x$ac_cv_cpp_def___i386__" = xyes
; then :
16651 CFLAGS
="$CFLAGS -D__i386__"
16652 LINTFLAGS
="$LINTFLAGS -D__i386__"
16654 *x86_64
*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __x86_64__" >&5
16655 $as_echo_n "checking whether we need to define __x86_64__... " >&6; }
16656 if ${ac_cv_cpp_def___x86_64__+:} false
; then :
16657 $as_echo_n "(cached) " >&6
16659 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
16660 /* end confdefs.h. */
16665 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
16666 $EGREP "yes" >/dev
/null
2>&1; then :
16667 ac_cv_cpp_def___x86_64__
=yes
16669 ac_cv_cpp_def___x86_64__
=no
16674 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___x86_64__" >&5
16675 $as_echo "$ac_cv_cpp_def___x86_64__" >&6; }
16676 if test "x$ac_cv_cpp_def___x86_64__" = xyes
; then :
16677 CFLAGS
="$CFLAGS -D__x86_64__"
16678 LINTFLAGS
="$LINTFLAGS -D__x86_64__"
16680 *sparc64
*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __sparc64__" >&5
16681 $as_echo_n "checking whether we need to define __sparc64__... " >&6; }
16682 if ${ac_cv_cpp_def___sparc64__+:} false
; then :
16683 $as_echo_n "(cached) " >&6
16685 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
16686 /* end confdefs.h. */
16687 #ifndef __sparc64__
16691 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
16692 $EGREP "yes" >/dev
/null
2>&1; then :
16693 ac_cv_cpp_def___sparc64__
=yes
16695 ac_cv_cpp_def___sparc64__
=no
16700 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___sparc64__" >&5
16701 $as_echo "$ac_cv_cpp_def___sparc64__" >&6; }
16702 if test "x$ac_cv_cpp_def___sparc64__" = xyes
; then :
16703 CFLAGS
="$CFLAGS -D__sparc64__"
16704 LINTFLAGS
="$LINTFLAGS -D__sparc64__"
16706 *sparc
*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __sparc__" >&5
16707 $as_echo_n "checking whether we need to define __sparc__... " >&6; }
16708 if ${ac_cv_cpp_def___sparc__+:} false
; then :
16709 $as_echo_n "(cached) " >&6
16711 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
16712 /* end confdefs.h. */
16717 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
16718 $EGREP "yes" >/dev
/null
2>&1; then :
16719 ac_cv_cpp_def___sparc__
=yes
16721 ac_cv_cpp_def___sparc__
=no
16726 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___sparc__" >&5
16727 $as_echo "$ac_cv_cpp_def___sparc__" >&6; }
16728 if test "x$ac_cv_cpp_def___sparc__" = xyes
; then :
16729 CFLAGS
="$CFLAGS -D__sparc__"
16730 LINTFLAGS
="$LINTFLAGS -D__sparc__"
16732 *powerpc64
*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __powerpc64__" >&5
16733 $as_echo_n "checking whether we need to define __powerpc64__... " >&6; }
16734 if ${ac_cv_cpp_def___powerpc64__+:} false
; then :
16735 $as_echo_n "(cached) " >&6
16737 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
16738 /* end confdefs.h. */
16739 #ifndef __powerpc64__
16743 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
16744 $EGREP "yes" >/dev
/null
2>&1; then :
16745 ac_cv_cpp_def___powerpc64__
=yes
16747 ac_cv_cpp_def___powerpc64__
=no
16752 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___powerpc64__" >&5
16753 $as_echo "$ac_cv_cpp_def___powerpc64__" >&6; }
16754 if test "x$ac_cv_cpp_def___powerpc64__" = xyes
; then :
16755 CFLAGS
="$CFLAGS -D__powerpc64__"
16756 LINTFLAGS
="$LINTFLAGS -D__powerpc64__"
16758 *powerpc
*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __powerpc__" >&5
16759 $as_echo_n "checking whether we need to define __powerpc__... " >&6; }
16760 if ${ac_cv_cpp_def___powerpc__+:} false
; then :
16761 $as_echo_n "(cached) " >&6
16763 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
16764 /* end confdefs.h. */
16765 #ifndef __powerpc__
16769 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
16770 $EGREP "yes" >/dev
/null
2>&1; then :
16771 ac_cv_cpp_def___powerpc__
=yes
16773 ac_cv_cpp_def___powerpc__
=no
16778 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___powerpc__" >&5
16779 $as_echo "$ac_cv_cpp_def___powerpc__" >&6; }
16780 if test "x$ac_cv_cpp_def___powerpc__" = xyes
; then :
16781 CFLAGS
="$CFLAGS -D__powerpc__"
16782 LINTFLAGS
="$LINTFLAGS -D__powerpc__"
16784 *aarch64
*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __aarch64__" >&5
16785 $as_echo_n "checking whether we need to define __aarch64__... " >&6; }
16786 if ${ac_cv_cpp_def___aarch64__+:} false
; then :
16787 $as_echo_n "(cached) " >&6
16789 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
16790 /* end confdefs.h. */
16791 #ifndef __aarch64__
16795 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
16796 $EGREP "yes" >/dev
/null
2>&1; then :
16797 ac_cv_cpp_def___aarch64__
=yes
16799 ac_cv_cpp_def___aarch64__
=no
16804 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___aarch64__" >&5
16805 $as_echo "$ac_cv_cpp_def___aarch64__" >&6; }
16806 if test "x$ac_cv_cpp_def___aarch64__" = xyes
; then :
16807 CFLAGS
="$CFLAGS -D__aarch64__"
16808 LINTFLAGS
="$LINTFLAGS -D__aarch64__"
16810 *arm
*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __arm__" >&5
16811 $as_echo_n "checking whether we need to define __arm__... " >&6; }
16812 if ${ac_cv_cpp_def___arm__+:} false
; then :
16813 $as_echo_n "(cached) " >&6
16815 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
16816 /* end confdefs.h. */
16821 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
16822 $EGREP "yes" >/dev
/null
2>&1; then :
16823 ac_cv_cpp_def___arm__
=yes
16825 ac_cv_cpp_def___arm__
=no
16830 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___arm__" >&5
16831 $as_echo "$ac_cv_cpp_def___arm__" >&6; }
16832 if test "x$ac_cv_cpp_def___arm__" = xyes
; then :
16833 CFLAGS
="$CFLAGS -D__arm__"
16834 LINTFLAGS
="$LINTFLAGS -D__arm__"
16838 case $host_vendor in
16839 *sun
*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __sun__" >&5
16840 $as_echo_n "checking whether we need to define __sun__... " >&6; }
16841 if ${ac_cv_cpp_def___sun__+:} false
; then :
16842 $as_echo_n "(cached) " >&6
16844 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
16845 /* end confdefs.h. */
16850 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
16851 $EGREP "yes" >/dev
/null
2>&1; then :
16852 ac_cv_cpp_def___sun__
=yes
16854 ac_cv_cpp_def___sun__
=no
16859 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___sun__" >&5
16860 $as_echo "$ac_cv_cpp_def___sun__" >&6; }
16861 if test "x$ac_cv_cpp_def___sun__" = xyes
; then :
16862 CFLAGS
="$CFLAGS -D__sun__"
16863 LINTFLAGS
="$LINTFLAGS -D__sun__"
16871 ac_config_commands
="$ac_config_commands include/stamp-h"
16873 $as_echo_n "creating Makefile rules..." >&6
16875 ALL_VARS_RULES
="OPENGL_LIBS = $OPENGL_LIBS
16876 SOCKET_LIBS = $SOCKET_LIBS
16877 COREFOUNDATION_LIBS = $COREFOUNDATION_LIBS
16878 IOKIT_LIBS = $IOKIT_LIBS
16879 FORCEFEEDBACK_LIBS = $FORCEFEEDBACK_LIBS
16880 APPLICATIONSERVICES_LIBS = $APPLICATIONSERVICES_LIBS
16881 CORESERVICES_LIBS = $CORESERVICES_LIBS
16882 APPKIT_LIBS = $APPKIT_LIBS
16883 DISKARBITRATION_LIBS = $DISKARBITRATION_LIBS
16884 SECURITY_LIBS = $SECURITY_LIBS
16885 COREAUDIO_LIBS = $COREAUDIO_LIBS
16886 OPENAL_LIBS = $OPENAL_LIBS
16887 OPENCL_LIBS = $OPENCL_LIBS
16888 QUICKTIME_LIBS = $QUICKTIME_LIBS
16889 CARBON_LIBS = $CARBON_LIBS
16890 PTHREAD_LIBS = $PTHREAD_LIBS
16891 X_CFLAGS = $X_CFLAGS
16892 X_PRE_LIBS = $X_PRE_LIBS
16894 X_EXTRA_LIBS = $X_EXTRA_LIBS
16895 XML2_CFLAGS = $XML2_CFLAGS
16896 XML2_LIBS = $XML2_LIBS
16897 XSLT_CFLAGS = $XSLT_CFLAGS
16898 XSLT_LIBS = $XSLT_LIBS
16899 DBUS_CFLAGS = $DBUS_CFLAGS
16900 DBUS_LIBS = $DBUS_LIBS
16901 HAL_CFLAGS = $HAL_CFLAGS
16902 HAL_LIBS = $HAL_LIBS
16903 GNUTLS_CFLAGS = $GNUTLS_CFLAGS
16904 GNUTLS_LIBS = $GNUTLS_LIBS
16905 SANE_CFLAGS = $SANE_CFLAGS
16906 SANE_LIBS = $SANE_LIBS
16907 GPHOTO2_CFLAGS = $GPHOTO2_CFLAGS
16908 GPHOTO2_LIBS = $GPHOTO2_LIBS
16909 GPHOTO2_PORT_CFLAGS = $GPHOTO2_PORT_CFLAGS
16910 GPHOTO2_PORT_LIBS = $GPHOTO2_PORT_LIBS
16911 RESOLV_LIBS = $RESOLV_LIBS
16912 LCMS2_CFLAGS = $LCMS2_CFLAGS
16913 LCMS2_LIBS = $LCMS2_LIBS
16914 FREETYPE_CFLAGS = $FREETYPE_CFLAGS
16915 FREETYPE_LIBS = $FREETYPE_LIBS
16917 GETTEXTPO_LIBS = $GETTEXTPO_LIBS
16918 GSTREAMER_CFLAGS = $GSTREAMER_CFLAGS
16919 GSTREAMER_LIBS = $GSTREAMER_LIBS
16920 ALSA_LIBS = $ALSA_LIBS
16921 OSS4_CFLAGS = $OSS4_CFLAGS
16922 CAPI20_CFLAGS = $CAPI20_CFLAGS
16923 CAPI20_LIBS = $CAPI20_LIBS
16924 CUPS_CFLAGS = $CUPS_CFLAGS
16925 FONTCONFIG_CFLAGS = $FONTCONFIG_CFLAGS
16926 FONTCONFIG_LIBS = $FONTCONFIG_LIBS
16927 JPEG_CFLAGS = $JPEG_CFLAGS
16928 JPEG_LIBS = $JPEG_LIBS
16929 PNG_CFLAGS = $PNG_CFLAGS
16930 PNG_LIBS = $PNG_LIBS
16931 TIFF_CFLAGS = $TIFF_CFLAGS
16932 TIFF_LIBS = $TIFF_LIBS
16933 MPG123_CFLAGS = $MPG123_CFLAGS
16934 MPG123_LIBS = $MPG123_LIBS
16935 KSTAT_LIBS = $KSTAT_LIBS
16936 PROCSTAT_LIBS = $PROCSTAT_LIBS
16938 POLL_LIBS = $POLL_LIBS
16940 LDAP_LIBS = $LDAP_LIBS
16945 wine_fn_append_rule
"
16946 # Rules automatically generated by configure
16948 CLEAN_FILES = *.o *.a *.so *.res *.fake *.ok *.tab.[ch] *.yy.c
16953 Makefile: $srcdir/Makefile.in $srcdir/Make.vars.in config.status \$(MAKEDEP)
16954 @./config.status Make.tmp Makefile"
16956 test "$srcdir" = .
&& wine_fn_append_rule
"all: .gitignore
16957 .gitignore: config.status
16958 @./config.status .gitignore"
16960 test -n "$CROSSTARGET" || wine_fn_append_rule
"crosstest:
16961 @echo \"crosstest is not supported (mingw not installed?)\" && false"
16963 if test "x$enable_fonts" != xno
; then
16964 ac_config_links
="$ac_config_links fonts/marlett.ttf:fonts/marlett.ttf"
16965 ac_config_links
="$ac_config_links fonts/symbol.ttf:fonts/symbol.ttf"
16966 ac_config_links
="$ac_config_links fonts/tahoma.ttf:fonts/tahoma.ttf"
16967 ac_config_links
="$ac_config_links fonts/tahomabd.ttf:fonts/tahomabd.ttf"
16968 test "$srcdir" = "." || wine_fn_config_symlink fonts
/marlett.ttf fonts
/symbol.ttf fonts
/tahoma.ttf fonts
/tahomabd.ttf
16970 ac_config_links
="$ac_config_links loader/l_intl.nls:loader/l_intl.nls"
16971 test "$srcdir" = "." || wine_fn_config_symlink loader
/l_intl.nls
16972 ac_config_links
="$ac_config_links po/LINGUAS:po/LINGUAS"
16973 test "$srcdir" = "." || wine_fn_config_symlink po
/LINGUAS
16974 ac_config_links
="$ac_config_links wine:tools/winewrapper"
16975 wine_fn_config_symlink wine
16976 if test "x$enable_win64" != xno
; then
16977 ac_config_links
="$ac_config_links wine64:tools/winewrapper"
16978 wine_fn_config_symlink wine64
16981 wine_fn_config_dll acledit enable_acledit
16982 wine_fn_config_dll aclui enable_aclui implib
16983 wine_fn_config_dll activeds enable_activeds implib
16984 wine_fn_config_dll actxprxy enable_actxprxy clean
16985 wine_fn_config_lib adsiid
16986 wine_fn_config_dll advapi32 enable_advapi32 clean
,implib
16987 wine_fn_config_test dlls
/advapi32
/tests advapi32_test
16988 wine_fn_config_dll advpack enable_advpack implib
16989 wine_fn_config_test dlls
/advpack
/tests advpack_test
16990 wine_fn_config_dll amstream enable_amstream clean
16991 wine_fn_config_test dlls
/amstream
/tests amstream_test
16992 wine_fn_config_dll api-ms-win-core-com-l1-1-0 enable_api_ms_win_core_com_l1_1_0
16993 wine_fn_config_dll api-ms-win-core-console-l1-1-0 enable_api_ms_win_core_console_l1_1_0
16994 wine_fn_config_dll api-ms-win-core-datetime-l1-1-0 enable_api_ms_win_core_datetime_l1_1_0
16995 wine_fn_config_dll api-ms-win-core-datetime-l1-1-1 enable_api_ms_win_core_datetime_l1_1_1
16996 wine_fn_config_dll api-ms-win-core-debug-l1-1-0 enable_api_ms_win_core_debug_l1_1_0
16997 wine_fn_config_dll api-ms-win-core-debug-l1-1-1 enable_api_ms_win_core_debug_l1_1_1
16998 wine_fn_config_dll api-ms-win-core-errorhandling-l1-1-1 enable_api_ms_win_core_errorhandling_l1_1_1
16999 wine_fn_config_dll api-ms-win-core-errorhandling-l1-1-2 enable_api_ms_win_core_errorhandling_l1_1_2
17000 wine_fn_config_dll api-ms-win-core-fibers-l1-1-0 enable_api_ms_win_core_fibers_l1_1_0
17001 wine_fn_config_dll api-ms-win-core-fibers-l1-1-1 enable_api_ms_win_core_fibers_l1_1_1
17002 wine_fn_config_dll api-ms-win-core-file-l1-2-0 enable_api_ms_win_core_file_l1_2_0
17003 wine_fn_config_dll api-ms-win-core-file-l2-1-0 enable_api_ms_win_core_file_l2_1_0
17004 wine_fn_config_dll api-ms-win-core-file-l2-1-1 enable_api_ms_win_core_file_l2_1_1
17005 wine_fn_config_dll api-ms-win-core-handle-l1-1-0 enable_api_ms_win_core_handle_l1_1_0
17006 wine_fn_config_dll api-ms-win-core-heap-l1-2-0 enable_api_ms_win_core_heap_l1_2_0
17007 wine_fn_config_dll api-ms-win-core-heap-obsolete-l1-1-0 enable_api_ms_win_core_heap_obsolete_l1_1_0
17008 wine_fn_config_dll api-ms-win-core-interlocked-l1-2-0 enable_api_ms_win_core_interlocked_l1_2_0
17009 wine_fn_config_dll api-ms-win-core-io-l1-1-1 enable_api_ms_win_core_io_l1_1_1
17010 wine_fn_config_dll api-ms-win-core-kernel32-legacy-l1-1-0 enable_api_ms_win_core_kernel32_legacy_l1_1_0
17011 wine_fn_config_dll api-ms-win-core-libraryloader-l1-1-1 enable_api_ms_win_core_libraryloader_l1_1_1
17012 wine_fn_config_dll api-ms-win-core-localization-l1-2-0 enable_api_ms_win_core_localization_l1_2_0
17013 wine_fn_config_dll api-ms-win-core-localization-l1-2-1 enable_api_ms_win_core_localization_l1_2_1
17014 wine_fn_config_dll api-ms-win-core-localization-obsolete-l1-1-0 enable_api_ms_win_core_localization_obsolete_l1_1_0
17015 wine_fn_config_dll api-ms-win-core-localregistry-l1-1-0 enable_api_ms_win_core_localregistry_l1_1_0
17016 wine_fn_config_dll api-ms-win-core-memory-l1-1-1 enable_api_ms_win_core_memory_l1_1_1
17017 wine_fn_config_dll api-ms-win-core-namedpipe-l1-2-0 enable_api_ms_win_core_namedpipe_l1_2_0
17018 wine_fn_config_dll api-ms-win-core-processenvironment-l1-2-0 enable_api_ms_win_core_processenvironment_l1_2_0
17019 wine_fn_config_dll api-ms-win-core-processthreads-l1-1-0 enable_api_ms_win_core_processthreads_l1_1_0
17020 wine_fn_config_dll api-ms-win-core-processthreads-l1-1-1 enable_api_ms_win_core_processthreads_l1_1_1
17021 wine_fn_config_dll api-ms-win-core-processthreads-l1-1-2 enable_api_ms_win_core_processthreads_l1_1_2
17022 wine_fn_config_dll api-ms-win-core-profile-l1-1-0 enable_api_ms_win_core_profile_l1_1_0
17023 wine_fn_config_dll api-ms-win-core-psapi-l1-1-0 enable_api_ms_win_core_psapi_l1_1_0
17024 wine_fn_config_dll api-ms-win-core-registry-l1-1-0 enable_api_ms_win_core_registry_l1_1_0
17025 wine_fn_config_dll api-ms-win-core-rtlsupport-l1-2-0 enable_api_ms_win_core_rtlsupport_l1_2_0
17026 wine_fn_config_dll api-ms-win-core-shlwapi-legacy-l1-1-0 enable_api_ms_win_core_shlwapi_legacy_l1_1_0
17027 wine_fn_config_dll api-ms-win-core-string-l1-1-0 enable_api_ms_win_core_string_l1_1_0
17028 wine_fn_config_dll api-ms-win-core-synch-l1-2-0 enable_api_ms_win_core_synch_l1_2_0
17029 wine_fn_config_dll api-ms-win-core-sysinfo-l1-2-0 enable_api_ms_win_core_sysinfo_l1_2_0
17030 wine_fn_config_dll api-ms-win-core-sysinfo-l1-2-1 enable_api_ms_win_core_sysinfo_l1_2_1
17031 wine_fn_config_dll api-ms-win-core-threadpool-legacy-l1-1-0 enable_api_ms_win_core_threadpool_legacy_l1_1_0
17032 wine_fn_config_dll api-ms-win-core-timezone-l1-1-0 enable_api_ms_win_core_timezone_l1_1_0
17033 wine_fn_config_dll api-ms-win-core-url-l1-1-0 enable_api_ms_win_core_url_l1_1_0
17034 wine_fn_config_dll api-ms-win-core-util-l1-1-0 enable_api_ms_win_core_util_l1_1_0
17035 wine_fn_config_dll api-ms-win-core-winrt-error-l1-1-0 enable_api_ms_win_core_winrt_error_l1_1_0
17036 wine_fn_config_dll api-ms-win-core-winrt-error-l1-1-1 enable_api_ms_win_core_winrt_error_l1_1_1
17037 wine_fn_config_dll api-ms-win-core-winrt-l1-1-0 enable_api_ms_win_core_winrt_l1_1_0
17038 wine_fn_config_dll api-ms-win-core-winrt-string-l1-1-0 enable_api_ms_win_core_winrt_string_l1_1_0
17039 wine_fn_config_dll api-ms-win-core-xstate-l2-1-0 enable_api_ms_win_core_xstate_l2_1_0
17040 wine_fn_config_dll api-ms-win-downlevel-advapi32-l1-1-0 enable_api_ms_win_downlevel_advapi32_l1_1_0
17041 wine_fn_config_dll api-ms-win-downlevel-advapi32-l2-1-0 enable_api_ms_win_downlevel_advapi32_l2_1_0
17042 wine_fn_config_dll api-ms-win-downlevel-normaliz-l1-1-0 enable_api_ms_win_downlevel_normaliz_l1_1_0
17043 wine_fn_config_dll api-ms-win-downlevel-ole32-l1-1-0 enable_api_ms_win_downlevel_ole32_l1_1_0
17044 wine_fn_config_dll api-ms-win-downlevel-shell32-l1-1-0 enable_api_ms_win_downlevel_shell32_l1_1_0
17045 wine_fn_config_dll api-ms-win-downlevel-shlwapi-l1-1-0 enable_api_ms_win_downlevel_shlwapi_l1_1_0
17046 wine_fn_config_dll api-ms-win-downlevel-shlwapi-l2-1-0 enable_api_ms_win_downlevel_shlwapi_l2_1_0
17047 wine_fn_config_dll api-ms-win-downlevel-user32-l1-1-0 enable_api_ms_win_downlevel_user32_l1_1_0
17048 wine_fn_config_dll api-ms-win-downlevel-version-l1-1-0 enable_api_ms_win_downlevel_version_l1_1_0
17049 wine_fn_config_dll api-ms-win-eventing-provider-l1-1-0 enable_api_ms_win_eventing_provider_l1_1_0
17050 wine_fn_config_dll api-ms-win-ntuser-dc-access-l1-1-0 enable_api_ms_win_ntuser_dc_access_l1_1_0
17051 wine_fn_config_dll api-ms-win-security-base-l1-1-0 enable_api_ms_win_security_base_l1_1_0
17052 wine_fn_config_dll api-ms-win-security-base-l1-2-0 enable_api_ms_win_security_base_l1_2_0
17053 wine_fn_config_dll api-ms-win-security-sddl-l1-1-0 enable_api_ms_win_security_sddl_l1_1_0
17054 wine_fn_config_dll api-ms-win-service-core-l1-1-1 enable_api_ms_win_service_core_l1_1_1
17055 wine_fn_config_dll api-ms-win-service-management-l1-1-0 enable_api_ms_win_service_management_l1_1_0
17056 wine_fn_config_dll api-ms-win-service-winsvc-l1-2-0 enable_api_ms_win_service_winsvc_l1_2_0
17057 wine_fn_config_dll apphelp enable_apphelp
17058 wine_fn_config_test dlls
/apphelp
/tests apphelp_test
17059 wine_fn_config_dll appwiz.cpl enable_appwiz_cpl po
17060 wine_fn_config_dll atl enable_atl clean
,implib
17061 wine_fn_config_test dlls
/atl
/tests atl_test
17062 wine_fn_config_dll atl100 enable_atl100 clean
,implib
17063 wine_fn_config_test dlls
/atl100
/tests atl100_test
17064 wine_fn_config_dll atl110 enable_atl110 clean
17065 wine_fn_config_dll atl80 enable_atl80 clean
,implib
17066 wine_fn_config_test dlls
/atl80
/tests atl80_test
17067 wine_fn_config_dll atl90 enable_atl90 clean
17068 wine_fn_config_dll authz enable_authz
17069 wine_fn_config_dll avicap32 enable_avicap32 implib
17070 wine_fn_config_dll avifil32 enable_avifil32 clean
,implib
,po
17071 wine_fn_config_test dlls
/avifil32
/tests avifil32_test
17072 wine_fn_config_dll avifile.dll16 enable_win16
17073 wine_fn_config_dll avrt enable_avrt implib
17074 wine_fn_config_dll bcrypt enable_bcrypt
17075 wine_fn_config_test dlls
/bcrypt
/tests bcrypt_test
17076 wine_fn_config_dll browseui enable_browseui clean
,po
17077 wine_fn_config_test dlls
/browseui
/tests browseui_test
17078 wine_fn_config_dll cabinet enable_cabinet implib
17079 wine_fn_config_test dlls
/cabinet
/tests cabinet_test
17080 wine_fn_config_dll capi2032 enable_capi2032 implib
17081 wine_fn_config_dll cards enable_cards implib
17082 wine_fn_config_dll cfgmgr32 enable_cfgmgr32 implib
17083 wine_fn_config_dll clusapi enable_clusapi implib
17084 wine_fn_config_dll combase enable_combase
17085 wine_fn_config_test dlls
/combase
/tests combase_test
17086 wine_fn_config_dll comcat enable_comcat
17087 wine_fn_config_test dlls
/comcat
/tests comcat_test
17088 wine_fn_config_dll comctl32 enable_comctl32 implib
,po
17089 wine_fn_config_test dlls
/comctl32
/tests comctl32_test
17090 wine_fn_config_dll comdlg32 enable_comdlg32 clean
,implib
,po
17091 wine_fn_config_test dlls
/comdlg32
/tests comdlg32_test
17092 wine_fn_config_dll
comm.drv16 enable_win16
17093 wine_fn_config_dll commdlg.dll16 enable_win16
17094 wine_fn_config_dll compobj.dll16 enable_win16
17095 wine_fn_config_dll compstui enable_compstui implib
17096 wine_fn_config_dll comsvcs enable_comsvcs implib
17097 wine_fn_config_dll connect enable_connect
17098 wine_fn_config_dll credui enable_credui implib
,po
17099 wine_fn_config_test dlls
/credui
/tests credui_test
17100 wine_fn_config_dll crtdll enable_crtdll implib
17101 wine_fn_config_dll crypt32 enable_crypt32 implib
,po
17102 wine_fn_config_test dlls
/crypt32
/tests crypt32_test
17103 wine_fn_config_dll cryptdlg enable_cryptdlg po
17104 wine_fn_config_dll cryptdll enable_cryptdll implib
17105 wine_fn_config_dll cryptext enable_cryptext
17106 wine_fn_config_dll cryptnet enable_cryptnet implib
17107 wine_fn_config_test dlls
/cryptnet
/tests cryptnet_test
17108 wine_fn_config_dll cryptui enable_cryptui implib
,po
17109 wine_fn_config_test dlls
/cryptui
/tests cryptui_test
17110 wine_fn_config_dll ctapi32 enable_ctapi32
17111 wine_fn_config_dll ctl3d.dll16 enable_win16
17112 wine_fn_config_dll ctl3d32 enable_ctl3d32 implib
17113 wine_fn_config_dll ctl3dv2.dll16 enable_win16
17114 wine_fn_config_dll d2d1 enable_d2d1 implib
17115 wine_fn_config_test dlls
/d2d
1/tests d2d1_test
17116 wine_fn_config_dll d3d10 enable_d3d10 implib
17117 wine_fn_config_test dlls
/d3d10
/tests d3d10_test
17118 wine_fn_config_dll d3d10_1 enable_d3d10_1 implib
17119 wine_fn_config_dll d3d10core enable_d3d10core implib
17120 wine_fn_config_test dlls
/d3d10core
/tests d3d10core_test
17121 wine_fn_config_dll d3d11 enable_d3d11
17122 wine_fn_config_dll d3d8 enable_d3d8 implib
17123 wine_fn_config_test dlls
/d3d
8/tests d3d8_test
17124 wine_fn_config_dll d3d9 enable_d3d9 implib
17125 wine_fn_config_test dlls
/d3d
9/tests d3d9_test
17126 wine_fn_config_dll d3dcompiler_33 enable_d3dcompiler_33
17127 wine_fn_config_dll d3dcompiler_34 enable_d3dcompiler_34
17128 wine_fn_config_dll d3dcompiler_35 enable_d3dcompiler_35
17129 wine_fn_config_dll d3dcompiler_36 enable_d3dcompiler_36
17130 wine_fn_config_dll d3dcompiler_37 enable_d3dcompiler_37
17131 wine_fn_config_dll d3dcompiler_38 enable_d3dcompiler_38
17132 wine_fn_config_dll d3dcompiler_39 enable_d3dcompiler_39
17133 wine_fn_config_dll d3dcompiler_40 enable_d3dcompiler_40
17134 wine_fn_config_dll d3dcompiler_41 enable_d3dcompiler_41
17135 wine_fn_config_dll d3dcompiler_42 enable_d3dcompiler_42
17136 wine_fn_config_dll d3dcompiler_43 enable_d3dcompiler_43 implib d3dcompiler
17137 wine_fn_config_test dlls
/d3dcompiler_43
/tests d3dcompiler_43_test
17138 wine_fn_config_dll d3dim enable_d3dim implib
17139 wine_fn_config_dll d3drm enable_d3drm implib
17140 wine_fn_config_test dlls
/d3drm
/tests d3drm_test
17141 wine_fn_config_dll d3dx10_33 enable_d3dx10_33
17142 wine_fn_config_dll d3dx10_34 enable_d3dx10_34
17143 wine_fn_config_dll d3dx10_35 enable_d3dx10_35
17144 wine_fn_config_dll d3dx10_36 enable_d3dx10_36
17145 wine_fn_config_dll d3dx10_37 enable_d3dx10_37
17146 wine_fn_config_dll d3dx10_38 enable_d3dx10_38
17147 wine_fn_config_dll d3dx10_39 enable_d3dx10_39
17148 wine_fn_config_dll d3dx10_40 enable_d3dx10_40
17149 wine_fn_config_dll d3dx10_41 enable_d3dx10_41
17150 wine_fn_config_dll d3dx10_42 enable_d3dx10_42
17151 wine_fn_config_dll d3dx10_43 enable_d3dx10_43
17152 wine_fn_config_dll d3dx11_42 enable_d3dx11_42
17153 wine_fn_config_dll d3dx11_43 enable_d3dx11_43
17154 wine_fn_config_dll d3dx9_24 enable_d3dx9_24
17155 wine_fn_config_dll d3dx9_25 enable_d3dx9_25
17156 wine_fn_config_dll d3dx9_26 enable_d3dx9_26
17157 wine_fn_config_dll d3dx9_27 enable_d3dx9_27
17158 wine_fn_config_dll d3dx9_28 enable_d3dx9_28
17159 wine_fn_config_dll d3dx9_29 enable_d3dx9_29
17160 wine_fn_config_dll d3dx9_30 enable_d3dx9_30
17161 wine_fn_config_dll d3dx9_31 enable_d3dx9_31
17162 wine_fn_config_dll d3dx9_32 enable_d3dx9_32
17163 wine_fn_config_dll d3dx9_33 enable_d3dx9_33
17164 wine_fn_config_dll d3dx9_34 enable_d3dx9_34
17165 wine_fn_config_dll d3dx9_35 enable_d3dx9_35
17166 wine_fn_config_dll d3dx9_36 enable_d3dx9_36 implib d3dx9
17167 wine_fn_config_test dlls
/d3dx9_36
/tests d3dx9_36_test
17168 wine_fn_config_dll d3dx9_37 enable_d3dx9_37
17169 wine_fn_config_dll d3dx9_38 enable_d3dx9_38
17170 wine_fn_config_dll d3dx9_39 enable_d3dx9_39
17171 wine_fn_config_dll d3dx9_40 enable_d3dx9_40
17172 wine_fn_config_dll d3dx9_41 enable_d3dx9_41
17173 wine_fn_config_dll d3dx9_42 enable_d3dx9_42
17174 wine_fn_config_dll d3dx9_43 enable_d3dx9_43
17175 wine_fn_config_dll d3dxof enable_d3dxof clean
,implib
17176 wine_fn_config_test dlls
/d3dxof
/tests d3dxof_test
17177 wine_fn_config_dll dbgeng enable_dbgeng implib
17178 wine_fn_config_dll dbghelp enable_dbghelp implib
17179 wine_fn_config_dll dciman32 enable_dciman32 implib
17180 wine_fn_config_dll ddeml.dll16 enable_win16
17181 wine_fn_config_dll ddraw enable_ddraw clean
,implib
17182 wine_fn_config_test dlls
/ddraw
/tests ddraw_test
17183 wine_fn_config_dll ddrawex enable_ddrawex clean
17184 wine_fn_config_test dlls
/ddrawex
/tests ddrawex_test
17185 wine_fn_config_dll devenum enable_devenum clean
,po
17186 wine_fn_config_test dlls
/devenum
/tests devenum_test
17187 wine_fn_config_dll dhcpcsvc enable_dhcpcsvc
17188 wine_fn_config_dll difxapi enable_difxapi
17189 wine_fn_config_dll dinput enable_dinput clean
,implib
,po
,staticimplib
17190 wine_fn_config_test dlls
/dinput
/tests dinput_test
17191 wine_fn_config_dll dinput8 enable_dinput8 clean
,implib
17192 wine_fn_config_test dlls
/dinput
8/tests dinput8_test
17193 wine_fn_config_dll dispdib.dll16 enable_win16
17194 wine_fn_config_dll dispex enable_dispex clean
17195 wine_fn_config_test dlls
/dispex
/tests dispex_test
17196 wine_fn_config_dll display.drv16 enable_win16
17197 wine_fn_config_dll dmband enable_dmband clean
17198 wine_fn_config_test dlls
/dmband
/tests dmband_test
17199 wine_fn_config_dll dmcompos enable_dmcompos clean
17200 wine_fn_config_test dlls
/dmcompos
/tests dmcompos_test
17201 wine_fn_config_dll dmime enable_dmime clean
17202 wine_fn_config_test dlls
/dmime
/tests dmime_test
17203 wine_fn_config_dll dmloader enable_dmloader clean
17204 wine_fn_config_test dlls
/dmloader
/tests dmloader_test
17205 wine_fn_config_dll dmscript enable_dmscript clean
17206 wine_fn_config_test dlls
/dmscript
/tests dmscript_test
17207 wine_fn_config_dll dmstyle enable_dmstyle clean
17208 wine_fn_config_test dlls
/dmstyle
/tests dmstyle_test
17209 wine_fn_config_dll dmsynth enable_dmsynth clean
17210 wine_fn_config_test dlls
/dmsynth
/tests dmsynth_test
17211 wine_fn_config_dll dmusic enable_dmusic clean
17212 wine_fn_config_test dlls
/dmusic
/tests dmusic_test
17213 wine_fn_config_dll dmusic32 enable_dmusic32 implib
17214 wine_fn_config_dll dnsapi enable_dnsapi implib
17215 wine_fn_config_test dlls
/dnsapi
/tests dnsapi_test
17216 wine_fn_config_dll dplay enable_dplay implib
17217 wine_fn_config_dll dplayx enable_dplayx clean
,implib
17218 wine_fn_config_test dlls
/dplayx
/tests dplayx_test
17219 wine_fn_config_dll dpnaddr enable_dpnaddr
17220 wine_fn_config_dll dpnet enable_dpnet clean
,implib
17221 wine_fn_config_test dlls
/dpnet
/tests dpnet_test
17222 wine_fn_config_dll dpnhpast enable_dpnhpast
17223 wine_fn_config_dll dpnlobby enable_dpnlobby
17224 wine_fn_config_dll dpvoice enable_dpvoice clean
17225 wine_fn_config_test dlls
/dpvoice
/tests dpvoice_test
17226 wine_fn_config_dll dpwsockx enable_dpwsockx
17227 wine_fn_config_dll drmclien enable_drmclien
17228 wine_fn_config_dll dsound enable_dsound clean
,implib
17229 wine_fn_config_test dlls
/dsound
/tests dsound_test
17230 wine_fn_config_dll dssenh enable_dssenh
17231 wine_fn_config_test dlls
/dssenh
/tests dssenh_test
17232 wine_fn_config_dll dswave enable_dswave clean
17233 wine_fn_config_test dlls
/dswave
/tests dswave_test
17234 wine_fn_config_dll dwmapi enable_dwmapi implib
17235 wine_fn_config_dll dwrite enable_dwrite implib
17236 wine_fn_config_test dlls
/dwrite
/tests dwrite_test
17237 wine_fn_config_dll dxdiagn enable_dxdiagn clean
,po
17238 wine_fn_config_test dlls
/dxdiagn
/tests dxdiagn_test
17239 wine_fn_config_lib dxerr8
17240 wine_fn_config_lib dxerr9
17241 wine_fn_config_dll dxgi enable_dxgi implib
17242 wine_fn_config_test dlls
/dxgi
/tests dxgi_test
17243 wine_fn_config_lib dxguid
17244 wine_fn_config_dll dxva2 enable_dxva2
17245 wine_fn_config_dll evr enable_evr
17246 wine_fn_config_dll explorerframe enable_explorerframe clean
17247 wine_fn_config_test dlls
/explorerframe
/tests explorerframe_test
17248 wine_fn_config_dll ext-ms-win-gdi-devcaps-l1-1-0 enable_ext_ms_win_gdi_devcaps_l1_1_0
17249 wine_fn_config_dll faultrep enable_faultrep implib
17250 wine_fn_config_test dlls
/faultrep
/tests faultrep_test
17251 wine_fn_config_dll fltlib enable_fltlib
17252 wine_fn_config_dll fntcache enable_fntcache
17253 wine_fn_config_dll fontsub enable_fontsub
17254 wine_fn_config_dll fusion enable_fusion
17255 wine_fn_config_test dlls
/fusion
/tests fusion_test
17256 wine_fn_config_dll fwpuclnt enable_fwpuclnt
17257 wine_fn_config_dll gameux enable_gameux clean
17258 wine_fn_config_test dlls
/gameux
/tests gameux_test
17259 wine_fn_config_dll gdi.exe16 enable_win16
17260 wine_fn_config_dll gdi32 enable_gdi32 clean
,implib
,po
17261 wine_fn_config_test dlls
/gdi32
/tests gdi32_test
17262 wine_fn_config_dll gdiplus enable_gdiplus implib
17263 wine_fn_config_test dlls
/gdiplus
/tests gdiplus_test
17264 wine_fn_config_dll glu32 enable_glu32 implib
17265 wine_fn_config_dll gphoto2.ds enable_gphoto2_ds po
17266 wine_fn_config_dll gpkcsp enable_gpkcsp
17267 wine_fn_config_dll hal enable_hal
17268 wine_fn_config_dll hhctrl.ocx enable_hhctrl_ocx clean
,implib
,po htmlhelp
17269 wine_fn_config_dll hid enable_hid implib
17270 wine_fn_config_dll hlink enable_hlink clean
,implib
17271 wine_fn_config_test dlls
/hlink
/tests hlink_test
17272 wine_fn_config_dll hnetcfg enable_hnetcfg clean
17273 wine_fn_config_dll httpapi enable_httpapi
17274 wine_fn_config_dll iccvid enable_iccvid po
17275 wine_fn_config_dll icmp enable_icmp
17276 wine_fn_config_dll ieframe enable_ieframe clean
,implib
,po
17277 wine_fn_config_test dlls
/ieframe
/tests ieframe_test
17278 wine_fn_config_dll ifsmgr.vxd enable_win16
17279 wine_fn_config_dll imaadp32.acm enable_imaadp32_acm
17280 wine_fn_config_dll imagehlp enable_imagehlp implib
17281 wine_fn_config_test dlls
/imagehlp
/tests imagehlp_test
17282 wine_fn_config_dll imm.dll16 enable_win16
17283 wine_fn_config_dll imm32 enable_imm32 implib
17284 wine_fn_config_test dlls
/imm32
/tests imm32_test
17285 wine_fn_config_dll inetcomm enable_inetcomm clean
,implib
17286 wine_fn_config_test dlls
/inetcomm
/tests inetcomm_test
17287 wine_fn_config_dll inetcpl.cpl enable_inetcpl_cpl po
17288 wine_fn_config_dll inetmib1 enable_inetmib1
17289 wine_fn_config_test dlls
/inetmib
1/tests inetmib1_test
17290 wine_fn_config_dll infosoft enable_infosoft clean
17291 wine_fn_config_test dlls
/infosoft
/tests infosoft_test
17292 wine_fn_config_dll initpki enable_initpki
17293 wine_fn_config_dll inkobj enable_inkobj
17294 wine_fn_config_dll inseng enable_inseng clean
17295 wine_fn_config_dll iphlpapi enable_iphlpapi implib
17296 wine_fn_config_test dlls
/iphlpapi
/tests iphlpapi_test
17297 wine_fn_config_dll itircl enable_itircl
17298 wine_fn_config_dll itss enable_itss clean
17299 wine_fn_config_test dlls
/itss
/tests itss_test
17300 wine_fn_config_dll joy.cpl enable_joy_cpl po
17301 wine_fn_config_dll jscript enable_jscript clean
,po
17302 wine_fn_config_test dlls
/jscript
/tests jscript_test
17303 wine_fn_config_dll jsproxy enable_jsproxy implib
17304 wine_fn_config_dll kernel32 enable_kernel32 clean
,implib
,mc
17305 wine_fn_config_test dlls
/kernel32
/tests kernel32_test
17306 wine_fn_config_dll keyboard.drv16 enable_win16
17307 wine_fn_config_dll krnl386.exe16 enable_win16 implib kernel
17308 wine_fn_config_dll ksuser enable_ksuser
17309 wine_fn_config_dll ktmw32 enable_ktmw32
17310 wine_fn_config_dll loadperf enable_loadperf implib
17311 wine_fn_config_dll localspl enable_localspl po
17312 wine_fn_config_test dlls
/localspl
/tests localspl_test
17313 wine_fn_config_dll localui enable_localui po
17314 wine_fn_config_test dlls
/localui
/tests localui_test
17315 wine_fn_config_dll lz32 enable_lz32 implib
17316 wine_fn_config_test dlls
/lz32
/tests lz32_test
17317 wine_fn_config_dll lzexpand.dll16 enable_win16
17318 wine_fn_config_dll mapi32 enable_mapi32 implib
,po
17319 wine_fn_config_test dlls
/mapi32
/tests mapi32_test
17320 wine_fn_config_dll mapistub enable_mapistub
17321 wine_fn_config_dll mciavi32 enable_mciavi32
17322 wine_fn_config_dll mcicda enable_mcicda
17323 wine_fn_config_dll mciqtz32 enable_mciqtz32
17324 wine_fn_config_dll mciseq enable_mciseq
17325 wine_fn_config_dll mciwave enable_mciwave
17326 wine_fn_config_dll mf enable_mf
17327 wine_fn_config_dll mfplat enable_mfplat
17328 wine_fn_config_dll mfreadwrite enable_mfreadwrite
17329 wine_fn_config_dll mgmtapi enable_mgmtapi
17330 wine_fn_config_dll midimap enable_midimap
17331 wine_fn_config_dll mlang enable_mlang clean
,implib
17332 wine_fn_config_test dlls
/mlang
/tests mlang_test
17333 wine_fn_config_dll mmcndmgr enable_mmcndmgr clean
17334 wine_fn_config_test dlls
/mmcndmgr
/tests mmcndmgr_test
17335 wine_fn_config_dll mmdevapi enable_mmdevapi clean
17336 wine_fn_config_test dlls
/mmdevapi
/tests mmdevapi_test
17337 wine_fn_config_dll mmdevldr.vxd enable_win16
17338 wine_fn_config_dll mmsystem.dll16 enable_win16
17339 wine_fn_config_dll monodebg.vxd enable_win16
17340 wine_fn_config_dll mountmgr.sys enable_mountmgr_sys
17341 wine_fn_config_dll mouse.drv16 enable_win16
17342 wine_fn_config_dll mpr enable_mpr implib
,po
17343 wine_fn_config_test dlls
/mpr
/tests mpr_test
17344 wine_fn_config_dll mprapi enable_mprapi implib
17345 wine_fn_config_dll msacm.dll16 enable_win16
17346 wine_fn_config_dll msacm32.drv enable_msacm32_drv
17347 wine_fn_config_dll msacm32 enable_msacm32 implib
,po
17348 wine_fn_config_test dlls
/msacm32
/tests msacm32_test
17349 wine_fn_config_dll msadp32.acm enable_msadp32_acm
17350 wine_fn_config_dll msasn1 enable_msasn1 implib
17351 wine_fn_config_dll mscat32 enable_mscat32
17352 wine_fn_config_dll mscms enable_mscms implib
17353 wine_fn_config_test dlls
/mscms
/tests mscms_test
17354 wine_fn_config_dll mscoree enable_mscoree clean
17355 wine_fn_config_test dlls
/mscoree
/tests mscoree_test
17356 wine_fn_config_dll msctf enable_msctf clean
17357 wine_fn_config_test dlls
/msctf
/tests msctf_test
17358 wine_fn_config_dll msdaps enable_msdaps clean
17359 wine_fn_config_dll msdmo enable_msdmo implib
17360 wine_fn_config_test dlls
/msdmo
/tests msdmo_test
17361 wine_fn_config_dll msftedit enable_msftedit
17362 wine_fn_config_dll msg711.acm enable_msg711_acm
17363 wine_fn_config_dll msgsm32.acm enable_msgsm32_acm
17364 wine_fn_config_dll mshtml.tlb enable_mshtml_tlb clean
17365 wine_fn_config_dll mshtml enable_mshtml clean
,implib
,po
17366 wine_fn_config_test dlls
/mshtml
/tests mshtml_test clean
17367 wine_fn_config_dll msi enable_msi clean
,implib
,po
17368 wine_fn_config_test dlls
/msi
/tests msi_test
17369 wine_fn_config_dll msident enable_msident clean
17370 wine_fn_config_dll msimg32 enable_msimg32 implib
17371 wine_fn_config_dll msimsg enable_msimsg
17372 wine_fn_config_dll msimtf enable_msimtf clean
17373 wine_fn_config_dll msisip enable_msisip
17374 wine_fn_config_dll msisys.ocx enable_msisys_ocx
17375 wine_fn_config_dll msls31 enable_msls31
17376 wine_fn_config_dll msnet32 enable_msnet32
17377 wine_fn_config_dll mspatcha enable_mspatcha implib
17378 wine_fn_config_dll msrle32 enable_msrle32 po
17379 wine_fn_config_test dlls
/msrle32
/tests msrle32_test
17380 wine_fn_config_dll mssign32 enable_mssign32
17381 wine_fn_config_dll mssip32 enable_mssip32
17382 wine_fn_config_dll mstask enable_mstask clean
17383 wine_fn_config_test dlls
/mstask
/tests mstask_test
17384 wine_fn_config_dll msvcirt enable_msvcirt
17385 wine_fn_config_dll msvcm80 enable_msvcm80
17386 wine_fn_config_dll msvcm90 enable_msvcm90
17387 wine_fn_config_dll msvcp100 enable_msvcp100
17388 wine_fn_config_test dlls
/msvcp100
/tests msvcp100_test
17389 wine_fn_config_dll msvcp110 enable_msvcp110
17390 wine_fn_config_dll msvcp120 enable_msvcp120
17391 wine_fn_config_test dlls
/msvcp120
/tests msvcp120_test
17392 wine_fn_config_dll msvcp120_app enable_msvcp120_app
17393 wine_fn_config_dll msvcp60 enable_msvcp60
17394 wine_fn_config_test dlls
/msvcp60
/tests msvcp60_test
17395 wine_fn_config_dll msvcp70 enable_msvcp70
17396 wine_fn_config_dll msvcp71 enable_msvcp71
17397 wine_fn_config_dll msvcp80 enable_msvcp80
17398 wine_fn_config_dll msvcp90 enable_msvcp90
17399 wine_fn_config_test dlls
/msvcp90
/tests msvcp90_test
17400 wine_fn_config_dll msvcr100 enable_msvcr100 implib
17401 wine_fn_config_test dlls
/msvcr100
/tests msvcr100_test
17402 wine_fn_config_dll msvcr110 enable_msvcr110 implib
17403 wine_fn_config_dll msvcr120 enable_msvcr120 implib
17404 wine_fn_config_test dlls
/msvcr120
/tests msvcr120_test
17405 wine_fn_config_dll msvcr120_app enable_msvcr120_app
17406 wine_fn_config_dll msvcr70 enable_msvcr70 implib
17407 wine_fn_config_dll msvcr71 enable_msvcr71 implib
17408 wine_fn_config_dll msvcr80 enable_msvcr80 implib
17409 wine_fn_config_dll msvcr90 enable_msvcr90 implib
17410 wine_fn_config_test dlls
/msvcr90
/tests msvcr90_test
17411 wine_fn_config_dll msvcrt enable_msvcrt implib
17412 wine_fn_config_test dlls
/msvcrt
/tests msvcrt_test
17413 wine_fn_config_dll msvcrt20 enable_msvcrt20 implib
17414 wine_fn_config_dll msvcrt40 enable_msvcrt40 implib
17415 wine_fn_config_dll msvcrtd enable_msvcrtd implib
17416 wine_fn_config_test dlls
/msvcrtd
/tests msvcrtd_test
17417 wine_fn_config_dll msvfw32 enable_msvfw32 implib
,po
17418 wine_fn_config_test dlls
/msvfw32
/tests msvfw32_test
17419 wine_fn_config_dll msvidc32 enable_msvidc32 po
17420 wine_fn_config_dll msvideo.dll16 enable_win16
17421 wine_fn_config_dll mswsock enable_mswsock implib
17422 wine_fn_config_dll msxml enable_msxml clean
17423 wine_fn_config_dll msxml2 enable_msxml2 clean
17424 wine_fn_config_dll msxml3 enable_msxml3 clean
17425 wine_fn_config_test dlls
/msxml
3/tests msxml3_test clean
17426 wine_fn_config_dll msxml4 enable_msxml4 clean
17427 wine_fn_config_dll msxml6 enable_msxml6 clean
17428 wine_fn_config_dll nddeapi enable_nddeapi implib
17429 wine_fn_config_dll ndis.sys enable_ndis_sys
17430 wine_fn_config_dll netapi32 enable_netapi32 implib
17431 wine_fn_config_test dlls
/netapi32
/tests netapi32_test
17432 wine_fn_config_dll netcfgx enable_netcfgx clean
17433 wine_fn_config_test dlls
/netcfgx
/tests netcfgx_test
17434 wine_fn_config_dll netprofm enable_netprofm clean
17435 wine_fn_config_test dlls
/netprofm
/tests netprofm_test
17436 wine_fn_config_dll newdev enable_newdev implib
17437 wine_fn_config_dll normaliz enable_normaliz implib
17438 wine_fn_config_dll npmshtml enable_npmshtml
17439 wine_fn_config_dll npptools enable_npptools
17440 wine_fn_config_dll ntdll enable_ntdll implib
17441 wine_fn_config_test dlls
/ntdll
/tests ntdll_test
17442 wine_fn_config_dll ntdsapi enable_ntdsapi implib
17443 wine_fn_config_test dlls
/ntdsapi
/tests ntdsapi_test
17444 wine_fn_config_dll ntoskrnl.exe enable_ntoskrnl_exe implib
17445 wine_fn_config_dll ntprint enable_ntprint
17446 wine_fn_config_test dlls
/ntprint
/tests ntprint_test
17447 wine_fn_config_dll objsel enable_objsel clean
17448 wine_fn_config_dll odbc32 enable_odbc32 implib
17449 wine_fn_config_dll odbccp32 enable_odbccp32 implib
17450 wine_fn_config_test dlls
/odbccp32
/tests odbccp32_test
17451 wine_fn_config_dll odbccu32 enable_odbccu32
17452 wine_fn_config_dll ole2.dll16 enable_win16
17453 wine_fn_config_dll ole2conv.dll16 enable_win16
17454 wine_fn_config_dll ole2disp.dll16 enable_win16
17455 wine_fn_config_dll ole2nls.dll16 enable_win16
17456 wine_fn_config_dll ole2prox.dll16 enable_win16
17457 wine_fn_config_dll ole2thk.dll16 enable_win16
17458 wine_fn_config_dll ole32 enable_ole32 clean
,implib
17459 wine_fn_config_test dlls
/ole32
/tests ole32_test
17460 wine_fn_config_dll oleacc enable_oleacc clean
,implib
,po
17461 wine_fn_config_test dlls
/oleacc
/tests oleacc_test
17462 wine_fn_config_dll oleaut32 enable_oleaut32 clean
,implib
,po
17463 wine_fn_config_test dlls
/oleaut32
/tests oleaut32_test clean
17464 wine_fn_config_dll olecli.dll16 enable_win16
17465 wine_fn_config_dll olecli32 enable_olecli32 implib
17466 wine_fn_config_dll oledb32 enable_oledb32 clean
17467 wine_fn_config_test dlls
/oledb32
/tests oledb32_test clean
17468 wine_fn_config_dll oledlg enable_oledlg implib
,po
17469 wine_fn_config_dll olepro32 enable_olepro32 implib
17470 wine_fn_config_dll olesvr.dll16 enable_win16
17471 wine_fn_config_dll olesvr32 enable_olesvr32 implib
17472 wine_fn_config_dll olethk32 enable_olethk32
17473 wine_fn_config_dll openal32 enable_openal32
17474 wine_fn_config_dll opencl enable_opencl
17475 wine_fn_config_dll opengl32 enable_opengl32 implib
17476 wine_fn_config_test dlls
/opengl32
/tests opengl32_test
17477 wine_fn_config_dll packager enable_packager clean
17478 wine_fn_config_test dlls
/packager
/tests packager_test
17479 wine_fn_config_dll pdh enable_pdh implib
17480 wine_fn_config_test dlls
/pdh
/tests pdh_test
17481 wine_fn_config_dll photometadatahandler enable_photometadatahandler
17482 wine_fn_config_dll pidgen enable_pidgen
17483 wine_fn_config_dll powrprof enable_powrprof implib
17484 wine_fn_config_dll printui enable_printui
17485 wine_fn_config_dll prntvpt enable_prntvpt
17486 wine_fn_config_dll propsys enable_propsys clean
,implib
17487 wine_fn_config_test dlls
/propsys
/tests propsys_test
17488 wine_fn_config_dll psapi enable_psapi implib
17489 wine_fn_config_test dlls
/psapi
/tests psapi_test
17490 wine_fn_config_dll pstorec enable_pstorec clean
17491 wine_fn_config_dll qcap enable_qcap
17492 wine_fn_config_test dlls
/qcap
/tests qcap_test
17493 wine_fn_config_dll qedit enable_qedit clean
17494 wine_fn_config_test dlls
/qedit
/tests qedit_test
17495 wine_fn_config_dll qmgr enable_qmgr clean
17496 wine_fn_config_test dlls
/qmgr
/tests qmgr_test
17497 wine_fn_config_dll qmgrprxy enable_qmgrprxy clean
17498 wine_fn_config_dll quartz enable_quartz clean
,implib
17499 wine_fn_config_test dlls
/quartz
/tests quartz_test clean
17500 wine_fn_config_dll query enable_query
17501 wine_fn_config_dll rasapi16.dll16 enable_win16
17502 wine_fn_config_dll rasapi32 enable_rasapi32 implib
17503 wine_fn_config_test dlls
/rasapi32
/tests rasapi32_test
17504 wine_fn_config_dll rasdlg enable_rasdlg implib
17505 wine_fn_config_dll regapi enable_regapi
17506 wine_fn_config_dll resutils enable_resutils implib
17507 wine_fn_config_dll riched20 enable_riched20 implib
17508 wine_fn_config_test dlls
/riched20
/tests riched20_test
17509 wine_fn_config_dll riched32 enable_riched32
17510 wine_fn_config_test dlls
/riched32
/tests riched32_test
17511 wine_fn_config_dll rpcrt4 enable_rpcrt4 clean
,implib
17512 wine_fn_config_test dlls
/rpcrt
4/tests rpcrt4_test clean
17513 wine_fn_config_dll rsabase enable_rsabase
17514 wine_fn_config_dll rsaenh enable_rsaenh implib
17515 wine_fn_config_test dlls
/rsaenh
/tests rsaenh_test
17516 wine_fn_config_dll rstrtmgr enable_rstrtmgr
17517 wine_fn_config_dll rtutils enable_rtutils implib
17518 wine_fn_config_dll samlib enable_samlib
17519 wine_fn_config_dll sane.ds enable_sane_ds po
17520 wine_fn_config_dll scarddlg enable_scarddlg
17521 wine_fn_config_dll sccbase enable_sccbase
17522 wine_fn_config_dll schannel enable_schannel
17523 wine_fn_config_test dlls
/schannel
/tests schannel_test
17524 wine_fn_config_dll schedsvc enable_schedsvc clean
17525 wine_fn_config_test dlls
/schedsvc
/tests schedsvc_test clean
17526 wine_fn_config_dll scrrun enable_scrrun clean
17527 wine_fn_config_test dlls
/scrrun
/tests scrrun_test clean
17528 wine_fn_config_dll scsiport.sys enable_scsiport_sys
17529 wine_fn_config_dll secur32 enable_secur32 implib
17530 wine_fn_config_test dlls
/secur32
/tests secur32_test
17531 wine_fn_config_dll security enable_security
17532 wine_fn_config_dll sensapi enable_sensapi implib
17533 wine_fn_config_dll serialui enable_serialui implib
,po
17534 wine_fn_config_test dlls
/serialui
/tests serialui_test
17535 wine_fn_config_dll setupapi enable_setupapi implib
,po
17536 wine_fn_config_test dlls
/setupapi
/tests setupapi_test
17537 wine_fn_config_dll setupx.dll16 enable_win16
17538 wine_fn_config_dll sfc enable_sfc implib
17539 wine_fn_config_dll sfc_os enable_sfc_os implib
17540 wine_fn_config_dll shdoclc enable_shdoclc po
17541 wine_fn_config_dll shdocvw enable_shdocvw clean
,implib
17542 wine_fn_config_test dlls
/shdocvw
/tests shdocvw_test
17543 wine_fn_config_dll shell.dll16 enable_win16
17544 wine_fn_config_dll shell32 enable_shell32 clean
,implib
,po
17545 wine_fn_config_test dlls
/shell32
/tests shell32_test
17546 wine_fn_config_dll shfolder enable_shfolder implib
17547 wine_fn_config_dll shlwapi enable_shlwapi implib
,po
17548 wine_fn_config_test dlls
/shlwapi
/tests shlwapi_test
17549 wine_fn_config_dll slbcsp enable_slbcsp
17550 wine_fn_config_dll slc enable_slc implib
17551 wine_fn_config_test dlls
/slc
/tests slc_test
17552 wine_fn_config_dll snmpapi enable_snmpapi implib
17553 wine_fn_config_test dlls
/snmpapi
/tests snmpapi_test
17554 wine_fn_config_dll softpub enable_softpub
17555 wine_fn_config_dll sound.drv16 enable_win16
17556 wine_fn_config_dll spoolss enable_spoolss implib
17557 wine_fn_config_test dlls
/spoolss
/tests spoolss_test
17558 wine_fn_config_dll stdole2.tlb enable_stdole2_tlb clean
17559 wine_fn_config_dll stdole32.tlb enable_stdole32_tlb clean
17560 wine_fn_config_dll sti enable_sti clean
,implib
17561 wine_fn_config_test dlls
/sti
/tests sti_test
17562 wine_fn_config_dll storage.dll16 enable_win16
17563 wine_fn_config_dll stress.dll16 enable_win16
17564 wine_fn_config_lib strmbase
17565 wine_fn_config_lib strmiids
17566 wine_fn_config_dll svrapi enable_svrapi
17567 wine_fn_config_dll sxs enable_sxs implib
17568 wine_fn_config_test dlls
/sxs
/tests sxs_test
17569 wine_fn_config_dll system.drv16 enable_win16
17570 wine_fn_config_dll t2embed enable_t2embed
17571 wine_fn_config_dll tapi32 enable_tapi32 implib
17572 wine_fn_config_dll taskschd enable_taskschd clean
17573 wine_fn_config_test dlls
/taskschd
/tests taskschd_test
17574 wine_fn_config_dll toolhelp.dll16 enable_win16
17575 wine_fn_config_dll traffic enable_traffic
17576 wine_fn_config_dll twain.dll16 enable_win16
17577 wine_fn_config_dll twain_32 enable_twain_32
17578 wine_fn_config_test dlls
/twain_32
/tests twain_32_test
17579 wine_fn_config_dll typelib.dll16 enable_win16
17580 wine_fn_config_dll unicows enable_unicows implib
17581 wine_fn_config_dll updspapi enable_updspapi
17582 wine_fn_config_dll url enable_url implib
17583 wine_fn_config_dll urlmon enable_urlmon clean
,implib
,po
17584 wine_fn_config_test dlls
/urlmon
/tests urlmon_test
17585 wine_fn_config_dll usbd.sys enable_usbd_sys implib
17586 wine_fn_config_dll user.exe16 enable_win16
17587 wine_fn_config_dll user32 enable_user32 clean
,implib
,po
17588 wine_fn_config_test dlls
/user32
/tests user32_test
17589 wine_fn_config_dll userenv enable_userenv implib
17590 wine_fn_config_test dlls
/userenv
/tests userenv_test
17591 wine_fn_config_dll usp10 enable_usp10 implib
17592 wine_fn_config_test dlls
/usp10
/tests usp10_test
17593 wine_fn_config_lib uuid
17594 wine_fn_config_dll uxtheme enable_uxtheme implib
17595 wine_fn_config_test dlls
/uxtheme
/tests uxtheme_test
17596 wine_fn_config_dll vbscript enable_vbscript clean
17597 wine_fn_config_test dlls
/vbscript
/tests vbscript_test clean
17598 wine_fn_config_dll vcomp enable_vcomp
17599 wine_fn_config_dll vcomp100 enable_vcomp100
17600 wine_fn_config_dll vcomp90 enable_vcomp90
17601 wine_fn_config_dll vdhcp.vxd enable_win16
17602 wine_fn_config_dll vdmdbg enable_vdmdbg implib
17603 wine_fn_config_dll ver.dll16 enable_win16
17604 wine_fn_config_dll version enable_version implib
17605 wine_fn_config_test dlls
/version
/tests version_test
17606 wine_fn_config_dll vmm.vxd enable_win16
17607 wine_fn_config_dll vnbt.vxd enable_win16
17608 wine_fn_config_dll vnetbios.vxd enable_win16
17609 wine_fn_config_dll vssapi enable_vssapi
17610 wine_fn_config_dll vtdapi.vxd enable_win16
17611 wine_fn_config_dll vwin32.vxd enable_win16
17612 wine_fn_config_dll w32skrnl enable_win16
17613 wine_fn_config_dll w32sys.dll16 enable_win16
17614 wine_fn_config_dll wbemdisp enable_wbemdisp clean
17615 wine_fn_config_test dlls
/wbemdisp
/tests wbemdisp_test
17616 wine_fn_config_dll wbemprox enable_wbemprox clean
17617 wine_fn_config_test dlls
/wbemprox
/tests wbemprox_test
17618 wine_fn_config_dll webservices enable_webservices implib
17619 wine_fn_config_dll wer enable_wer implib
17620 wine_fn_config_test dlls
/wer
/tests wer_test
17621 wine_fn_config_dll wevtapi enable_wevtapi
17622 wine_fn_config_dll wiaservc enable_wiaservc clean
17623 wine_fn_config_dll win32s16.dll16 enable_win16
17624 wine_fn_config_dll win87em.dll16 enable_win16
17625 wine_fn_config_dll winaspi.dll16 enable_win16
17626 wine_fn_config_dll windebug.dll16 enable_win16
17627 wine_fn_config_dll windowscodecs enable_windowscodecs clean
,implib
17628 wine_fn_config_test dlls
/windowscodecs
/tests windowscodecs_test
17629 wine_fn_config_dll windowscodecsext enable_windowscodecsext implib
17630 wine_fn_config_test dlls
/windowscodecsext
/tests windowscodecsext_test
17631 wine_fn_config_dll winealsa.drv enable_winealsa_drv
17632 wine_fn_config_dll winecoreaudio.drv enable_winecoreaudio_drv
17633 wine_fn_config_lib winecrt0
17634 wine_fn_config_dll wined3d enable_wined3d implib
17635 wine_fn_config_dll winegstreamer enable_winegstreamer
17636 wine_fn_config_dll winejoystick.drv enable_winejoystick_drv
17637 wine_fn_config_dll winemac.drv enable_winemac_drv
17638 wine_fn_config_dll winemapi enable_winemapi
17639 wine_fn_config_dll winemp3.acm enable_winemp3_acm
17640 wine_fn_config_dll wineoss.drv enable_wineoss_drv
17641 wine_fn_config_dll wineps.drv enable_wineps_drv clean
,po
17642 wine_fn_config_dll wineps16.drv16 enable_win16
17643 wine_fn_config_dll wineqtdecoder enable_wineqtdecoder
17644 wine_fn_config_dll winex11.drv enable_winex11_drv
17645 wine_fn_config_dll wing.dll16 enable_win16
17646 wine_fn_config_dll wing32 enable_wing32
17647 wine_fn_config_dll winhttp enable_winhttp clean
,implib
17648 wine_fn_config_test dlls
/winhttp
/tests winhttp_test
17649 wine_fn_config_dll wininet enable_wininet implib
,po
17650 wine_fn_config_test dlls
/wininet
/tests wininet_test
17651 wine_fn_config_dll winmm enable_winmm implib
,po
17652 wine_fn_config_test dlls
/winmm
/tests winmm_test
17653 wine_fn_config_dll winnls.dll16 enable_win16
17654 wine_fn_config_dll winnls32 enable_winnls32 implib
17655 wine_fn_config_dll winscard enable_winscard implib
17656 wine_fn_config_dll winsock.dll16 enable_win16
17657 wine_fn_config_dll winspool.drv enable_winspool_drv implib
,po winspool
17658 wine_fn_config_test dlls
/winspool.drv
/tests winspool.drv_test
17659 wine_fn_config_dll winsta enable_winsta
17660 wine_fn_config_dll wintab.dll16 enable_win16
17661 wine_fn_config_dll wintab32 enable_wintab32 implib
17662 wine_fn_config_test dlls
/wintab32
/tests wintab32_test
17663 wine_fn_config_dll wintrust enable_wintrust implib
17664 wine_fn_config_test dlls
/wintrust
/tests wintrust_test
17665 wine_fn_config_dll wlanapi enable_wlanapi
17666 wine_fn_config_dll wldap32 enable_wldap32 implib
,po
17667 wine_fn_config_test dlls
/wldap32
/tests wldap32_test
17668 wine_fn_config_dll wmi enable_wmi
17669 wine_fn_config_dll wmiutils enable_wmiutils clean
17670 wine_fn_config_test dlls
/wmiutils
/tests wmiutils_test
17671 wine_fn_config_dll wmp enable_wmp clean
17672 wine_fn_config_test dlls
/wmp
/tests wmp_test
17673 wine_fn_config_dll wmvcore enable_wmvcore
17674 wine_fn_config_dll wnaspi32 enable_wnaspi32 implib
17675 wine_fn_config_dll wow32 enable_win16 implib
17676 wine_fn_config_dll wpcap enable_wpcap
17677 wine_fn_config_dll ws2_32 enable_ws2_32 implib
17678 wine_fn_config_test dlls
/ws2_32
/tests ws2_32_test
17679 wine_fn_config_dll wshom.ocx enable_wshom_ocx clean
17680 wine_fn_config_test dlls
/wshom.ocx
/tests wshom.ocx_test clean
17681 wine_fn_config_dll wsnmp32 enable_wsnmp32 implib
17682 wine_fn_config_test dlls
/wsnmp32
/tests wsnmp32_test
17683 wine_fn_config_dll wsock32 enable_wsock32 implib
17684 wine_fn_config_dll wtsapi32 enable_wtsapi32 implib
17685 wine_fn_config_test dlls
/wtsapi32
/tests wtsapi32_test
17686 wine_fn_config_dll wuapi enable_wuapi clean
17687 wine_fn_config_dll wuaueng enable_wuaueng
17688 wine_fn_config_dll x3daudio1_1 enable_x3daudio1_1
17689 wine_fn_config_dll x3daudio1_2 enable_x3daudio1_2
17690 wine_fn_config_dll x3daudio1_3 enable_x3daudio1_3
17691 wine_fn_config_dll x3daudio1_4 enable_x3daudio1_4
17692 wine_fn_config_dll x3daudio1_5 enable_x3daudio1_5
17693 wine_fn_config_dll x3daudio1_6 enable_x3daudio1_6
17694 wine_fn_config_dll x3daudio1_7 enable_x3daudio1_7
17695 wine_fn_config_dll xapofx1_1 enable_xapofx1_1
17696 wine_fn_config_dll xapofx1_3 enable_xapofx1_3
17697 wine_fn_config_dll xapofx1_4 enable_xapofx1_4
17698 wine_fn_config_dll xapofx1_5 enable_xapofx1_5
17699 wine_fn_config_dll xaudio2_7 enable_xaudio2_7
17700 wine_fn_config_dll xinput1_1 enable_xinput1_1
17701 wine_fn_config_dll xinput1_2 enable_xinput1_2
17702 wine_fn_config_dll xinput1_3 enable_xinput1_3 implib xinput
17703 wine_fn_config_test dlls
/xinput1_
3/tests xinput1_3_test
17704 wine_fn_config_dll xinput1_4 enable_xinput1_4
17705 wine_fn_config_dll xinput9_1_0 enable_xinput9_1_0
17706 wine_fn_config_dll xmllite enable_xmllite implib
17707 wine_fn_config_test dlls
/xmllite
/tests xmllite_test
17708 wine_fn_config_dll xolehlp enable_xolehlp
17709 wine_fn_config_dll xpsprint enable_xpsprint
17710 wine_fn_config_dll xpssvcs enable_xpssvcs
17711 wine_fn_config_makefile documentation enable_documentation clean
17712 wine_fn_config_makefile fonts enable_fonts clean
,install-lib
17713 wine_fn_config_makefile include enable_include clean
,install-dev
17714 wine_fn_config_makefile libs
/port enable_libs_port
17715 wine_fn_config_makefile libs
/wine enable_libs_wine clean
,install-dev
,install-lib
17716 wine_fn_config_makefile libs
/wpp enable_libs_wpp
17717 wine_fn_config_makefile loader enable_loader clean
,install-lib
,manpage
17718 wine_fn_config_program arp enable_arp
install
17719 wine_fn_config_program aspnet_regiis enable_aspnet_regiis
install
17720 wine_fn_config_program attrib enable_attrib
install,po
17721 wine_fn_config_program cabarc enable_cabarc
install
17722 wine_fn_config_program cacls enable_cacls
install
17723 wine_fn_config_program
clock enable_clock
install,po
17724 wine_fn_config_program cmd enable_cmd
install,po
17725 wine_fn_config_test programs
/cmd
/tests cmd.exe_test
17726 wine_fn_config_program conhost enable_conhost
install
17727 wine_fn_config_program control enable_control
install
17728 wine_fn_config_program cscript enable_cscript clean
,install
17729 wine_fn_config_program dpnsvr enable_dpnsvr
install
17730 wine_fn_config_program dxdiag enable_dxdiag
install,po
17731 wine_fn_config_program eject enable_eject
install
17732 wine_fn_config_program
expand enable_expand
install
17733 wine_fn_config_program explorer enable_explorer
install,po
17734 wine_fn_config_program extrac32 enable_extrac32
install
17735 wine_fn_config_program findstr enable_findstr
install
17736 wine_fn_config_program hh enable_hh
install
17737 wine_fn_config_program hostname enable_hostname
install,po
17738 wine_fn_config_program icinfo enable_icinfo
install
17739 wine_fn_config_program iexplore enable_iexplore
install
17740 wine_fn_config_program ipconfig enable_ipconfig
install,po
17741 wine_fn_config_program lodctr enable_lodctr
install
17742 wine_fn_config_program mofcomp enable_mofcomp
install
17743 wine_fn_config_program mshta enable_mshta
install
17744 wine_fn_config_program msiexec enable_msiexec
install,installbin
,manpage
17745 wine_fn_config_program net enable_net
install,po
17746 wine_fn_config_program netsh enable_netsh
install
17747 wine_fn_config_program netstat enable_netstat
install,po
17748 wine_fn_config_program ngen enable_ngen
install
17749 wine_fn_config_program notepad enable_notepad
install,installbin
,manpage
,po
17750 wine_fn_config_program oleview enable_oleview
install,po
17751 wine_fn_config_program
ping enable_ping
install
17752 wine_fn_config_program plugplay enable_plugplay
install
17753 wine_fn_config_program presentationfontcache enable_presentationfontcache
install
17754 wine_fn_config_program progman enable_progman
install,po
17755 wine_fn_config_program reg enable_reg
install,po
17756 wine_fn_config_test programs
/reg
/tests reg.exe_test
17757 wine_fn_config_program regasm enable_regasm
install
17758 wine_fn_config_program regedit enable_regedit
install,installbin
,manpage
,po
17759 wine_fn_config_test programs
/regedit
/tests regedit.exe_test
17760 wine_fn_config_program regsvcs enable_regsvcs
install
17761 wine_fn_config_program regsvr32 enable_regsvr32
install,installbin
,manpage
,po
17762 wine_fn_config_program rpcss enable_rpcss clean
,install
17763 wine_fn_config_program rundll.exe16 enable_win16
install
17764 wine_fn_config_program rundll32 enable_rundll32
install
17765 wine_fn_config_program sc enable_sc
install
17766 wine_fn_config_program schtasks enable_schtasks
install
17767 wine_fn_config_program sdbinst enable_sdbinst
install
17768 wine_fn_config_program secedit enable_secedit
install
17769 wine_fn_config_program servicemodelreg enable_servicemodelreg
install
17770 wine_fn_config_program services enable_services clean
,install
17771 wine_fn_config_test programs
/services
/tests services.exe_test
17772 wine_fn_config_program spoolsv enable_spoolsv
install
17773 wine_fn_config_program start enable_start
install,po
17774 wine_fn_config_program svchost enable_svchost
install
17775 wine_fn_config_program systeminfo enable_systeminfo
install
17776 wine_fn_config_program taskkill enable_taskkill
install,po
17777 wine_fn_config_program tasklist enable_tasklist
install
17778 wine_fn_config_program taskmgr enable_taskmgr
install,po
17779 wine_fn_config_program termsv enable_termsv
install
17780 wine_fn_config_program uninstaller enable_uninstaller
install,po
17781 wine_fn_config_program unlodctr enable_unlodctr
install
17782 wine_fn_config_program view enable_view
install,po
17783 wine_fn_config_program wevtutil enable_wevtutil
install
17784 wine_fn_config_program wineboot enable_wineboot
install,installbin
,manpage
,po
17785 wine_fn_config_program winebrowser enable_winebrowser
install
17786 wine_fn_config_program winecfg enable_winecfg
install,installbin
,manpage
,po
17787 wine_fn_config_program wineconsole enable_wineconsole
install,installbin
,manpage
,po
17788 wine_fn_config_program winedbg enable_winedbg
install,installbin
,manpage
,po
17789 wine_fn_config_program winedevice enable_winedevice
install
17790 wine_fn_config_program winefile enable_winefile
install,installbin
,manpage
,po
17791 wine_fn_config_program winemenubuilder enable_winemenubuilder
install
17792 wine_fn_config_program winemine enable_winemine
install,installbin
,manpage
,po
17793 wine_fn_config_program winemsibuilder enable_winemsibuilder
install
17794 wine_fn_config_program winepath enable_winepath
install,installbin
,manpage
17795 wine_fn_config_program winetest enable_winetest clean
17796 wine_fn_config_program winevdm enable_win16
install
17797 wine_fn_config_program winhelp.exe16 enable_win16
install
17798 wine_fn_config_program winhlp32 enable_winhlp32
install,po
17799 wine_fn_config_program winoldap.mod16 enable_win16
install
17800 wine_fn_config_program winver enable_winver
install
17801 wine_fn_config_program wmic enable_wmic
install,po
17802 wine_fn_config_program wordpad enable_wordpad
install,po
17803 wine_fn_config_program
write enable_write
install,po
17804 wine_fn_config_program wscript enable_wscript clean
,install
17805 wine_fn_config_test programs
/wscript
/tests wscript.exe_test
17806 wine_fn_config_program wusa enable_wusa
install
17807 wine_fn_config_program xcopy enable_xcopy
install,po
17808 wine_fn_config_test programs
/xcopy
/tests xcopy.exe_test
17809 wine_fn_config_makefile server enable_server clean
,install-lib
,manpage
17810 wine_fn_config_tool tools clean
,install-dev
,install-lib
,manpage
17811 wine_fn_config_tool tools
/sfnt2fon clean
17812 wine_fn_config_tool tools
/widl clean
,install-dev
,manpage
17813 wine_fn_config_tool tools
/winebuild clean
,install-dev
,manpage
17814 wine_fn_config_tool tools
/winedump clean
,install-dev
,manpage
17815 wine_fn_config_tool tools
/winegcc clean
,install-dev
,manpage
17816 wine_fn_config_tool tools
/wmc clean
,install-dev
,manpage
17817 wine_fn_config_tool tools
/wrc clean
,install-dev
,manpage
17869 wine_fn_ignore_file
".gitignore"
17870 wine_fn_ignore_file
"Makefile"
17871 wine_fn_ignore_file
"TAGS"
17872 wine_fn_ignore_file
"tags"
17873 wine_fn_ignore_file
"autom4te.cache"
17874 wine_fn_ignore_file
"config.cache"
17875 wine_fn_ignore_file
"config.log"
17876 wine_fn_ignore_file
"config.status"
17877 wine_fn_ignore_file
"configure.lineno"
17878 wine_fn_ignore_file
"include/config.h"
17879 wine_fn_ignore_file
"include/stamp-h"
17880 test "$wine_binary" = wine || wine_fn_ignore_file
"loader/wine"
17882 if test "x$enable_tools" != xno
17884 wine_fn_ignore_file
"tools/makedep$ac_exeext"
17885 ac_config_commands
="$ac_config_commands tools/makedep"
17889 ac_config_commands
="$ac_config_commands Makefile"
17892 ac_config_files
="$ac_config_files Make.tmp:Make.vars.in:Makefile.in"
17896 if test "x$enable_maintainer_mode" = xyes
17898 wine_fn_append_rule
"configure: configure.ac aclocal.m4
17899 autoconf --warnings=all
17900 include/config.h.in: include/stamp-h.in
17901 include/stamp-h.in: configure.ac aclocal.m4
17902 autoheader --warnings=all
17903 @echo timestamp > \$@"
17906 if test "x$with_gettextpo" = xyes
17908 test "$srcdir" = . || as_fn_error $?
"Rebuilding po files is not supported for out of tree builds." "$LINENO" 5
17909 wine_fn_append_rule
"ALL_POT_FILES =$ALL_POT_FILES
17910 \$(LINGUAS:%=po/%.po): po/wine.pot
17911 msgmerge --previous -q \$@ po/wine.pot | msgattrib --no-obsolete -o \$@.new && mv \$@.new \$@
17912 po/wine.pot: \$(ALL_POT_FILES)
17913 msgcat -o \$@ \$(ALL_POT_FILES)"
17916 if test "$MSGFMT" != false
17918 wine_fn_append_rule
"__builddeps__: \$(LINGUAS:%=po/%.mo)
17920 \$(RM) \$(LINGUAS:%=po/%.mo)"
17923 test "$srcdir" = . || posrc
="$srcdir/po"
17926 wine_fn_ignore_file
"po/$i.mo"
17927 wine_fn_append_rule
"po/$i.mo: $posrc/$i.po
17928 \$(MSGFMT) -o \$@ $posrc/$i.po"
17934 if test "x$enable_tools" != xno
17936 wine_fn_append_rule
"tools/makedep$ac_exeext: $srcdir/tools/makedep.c include/config.h config.status
17937 @./config.status tools/makedep
17938 Makefile: tools/makedep$ac_exeext
17940 \$(RM) tools/makedep$ac_exeext"
17942 wine_fn_append_rule
"\$(MAKEDEP):
17943 @echo \"You need to run make in $TOOLSDIR first\" && false"
17946 if test -n "$with_wine64"
17948 wine_fn_append_rule
"all: fonts server tools $with_wine64/loader/wine $with_wine64/loader/wine-preloader
17949 fonts server tools:
17950 \$(RM) \$@ && \$(LN_S) $with_wine64/\$@ \$@
17951 $with_wine64/loader/wine:
17952 \$(RM) \$@ && \$(LN_S) $ac_pwd/loader/wine \$@
17953 $with_wine64/loader/wine-preloader:
17954 \$(RM) \$@ && \$(LN_S) $ac_pwd/loader/wine-preloader \$@
17956 \$(RM) fonts server tools $with_wine64/loader/wine $with_wine64/loader/wine-preloader"
17958 as_fn_append LOADER_RULES
"
17959 install install-lib:: wine.inf install-man-pages
17960 \$(INSTALL_DATA) wine.inf \$(DESTDIR)\$(datadir)/wine/wine.inf
17961 \$(INSTALL_DATA) \$(srcdir)/l_intl.nls \$(DESTDIR)\$(datadir)/wine/l_intl.nls
17964 \$(RM) \$(DESTDIR)\$(datadir)/wine/wine.inf \$(DESTDIR)\$(datadir)/wine/l_intl.nls
17968 if test "$srcdir" = .
17970 ac_config_commands
="$ac_config_commands .gitignore"
17974 $as_echo " done" >&6
17975 cat >confcache
<<\_ACEOF
17976 # This file is a shell script that caches the results of configure
17977 # tests run on this system so they can be shared between configure
17978 # scripts and configure runs, see configure's option --config-cache.
17979 # It is not useful on other systems. If it contains results you don't
17980 # want to keep, you may remove or edit it.
17982 # config.status only pays attention to the cache file if you give it
17983 # the --recheck option to rerun configure.
17985 # `ac_cv_env_foo' variables (set or unset) will be overridden when
17986 # loading this file, other *unset* `ac_cv_foo' will be assigned the
17987 # following values.
17991 # The following way of writing the cache mishandles newlines in values,
17992 # but we know of no workaround that is simple, portable, and efficient.
17993 # So, we kill variables containing newlines.
17994 # Ultrix sh set writes to stderr and can't be redirected directly,
17995 # and sets the high bit in the cache file unless we assign to the vars.
17997 for ac_var
in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
17998 eval ac_val
=\$
$ac_var
18002 *_cv_
*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
18003 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
18006 _ | IFS | as_nl
) ;; #(
18007 BASH_ARGV | BASH_SOURCE
) eval $ac_var= ;; #(
18008 *) { eval $ac_var=; unset $ac_var;} ;;
18014 case $as_nl`(ac_space=' '; set) 2>&1` in #(
18015 *${as_nl}ac_space
=\
*)
18016 # `set' does not quote correctly, so add quotes: double-quote
18017 # substitution turns \\\\ into \\, and sed turns \\ into \.
18020 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
18023 # `set' quotes correctly as required by POSIX, so do not add quotes.
18024 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
18033 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
18035 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
18037 if diff "$cache_file" confcache
>/dev
/null
2>&1; then :; else
18038 if test -w "$cache_file"; then
18039 if test "x$cache_file" != "x/dev/null"; then
18040 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
18041 $as_echo "$as_me: updating cache $cache_file" >&6;}
18042 if test ! -f "$cache_file" ||
test -h "$cache_file"; then
18043 cat confcache
>"$cache_file"
18045 case $cache_file in #(
18047 mv -f confcache
"$cache_file"$$
&&
18048 mv -f "$cache_file"$$
"$cache_file" ;; #(
18050 mv -f confcache
"$cache_file" ;;
18055 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
18056 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
18061 test "x$prefix" = xNONE
&& prefix
=$ac_default_prefix
18062 # Let make expand exec_prefix.
18063 test "x$exec_prefix" = xNONE
&& exec_prefix
='${prefix}'
18065 DEFS
=-DHAVE_CONFIG_H
18070 for ac_i
in : $LIBOBJS; do test "x$ac_i" = x
: && continue
18071 # 1. Remove the extension, and $U if already installed.
18072 ac_script
='s/\$U\././;s/\.o$//;s/\.obj$//'
18073 ac_i
=`$as_echo "$ac_i" | sed "$ac_script"`
18074 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
18075 # will be set to the directory where LIBOBJS objects are built.
18076 as_fn_append ac_libobjs
" \${LIBOBJDIR}$ac_i\$U.$ac_objext"
18077 as_fn_append ac_ltlibobjs
" \${LIBOBJDIR}$ac_i"'$U.lo'
18079 LIBOBJS
=$ac_libobjs
18081 LTLIBOBJS
=$ac_ltlibobjs
18085 : "${CONFIG_STATUS=./config.status}"
18087 ac_clean_files_save
=$ac_clean_files
18088 ac_clean_files
="$ac_clean_files $CONFIG_STATUS"
18089 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
18090 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
18092 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
18094 # Generated by $as_me.
18095 # Run this file to recreate the current configuration.
18096 # Compiler output produced by configure, useful for debugging
18097 # configure, is in config.log if it exists.
18100 ac_cs_recheck=false
18103 SHELL=\${CONFIG_SHELL-$SHELL}
18106 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail
=1
18107 ## -------------------- ##
18108 ## M4sh Initialization. ##
18109 ## -------------------- ##
18111 # Be more Bourne compatible
18112 DUALCASE
=1; export DUALCASE
# for MKS sh
18113 if test -n "${ZSH_VERSION+set}" && (emulate sh
) >/dev
/null
2>&1; then :
18116 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
18117 # is contrary to our usage. Disable this feature.
18118 alias -g '${1+"$@"}'='"$@"'
18119 setopt NO_GLOB_SUBST
18121 case `(set -o) 2>/dev/null` in #(
18133 # Printing a long string crashes Solaris 7 /usr/bin/printf.
18134 as_echo
='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
18135 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
18136 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
18137 # Prefer a ksh shell builtin over an external printf program on Solaris,
18138 # but without wasting forks for bash or zsh.
18139 if test -z "$BASH_VERSION$ZSH_VERSION" \
18140 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
18141 as_echo='print
-r --'
18142 as_echo_n='print
-rn --'
18143 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
18144 as_echo='printf %s
\n'
18145 as_echo_n='printf %s
'
18147 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
18148 as_echo_body='eval /usr
/ucb
/echo -n "$1$as_nl"'
18149 as_echo_n='/usr
/ucb
/echo -n'
18151 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
18152 as_echo_n_body='eval
18156 expr "X$arg" : "X\\(.*\\)$as_nl";
18157 arg
=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
18159 expr "X$arg" : "X\\(.*\\)" |
tr -d "$as_nl"
18161 export as_echo_n_body
18162 as_echo_n='sh
-c $as_echo_n_body as_echo
'
18164 export as_echo_body
18165 as_echo='sh
-c $as_echo_body as_echo
'
18168 # The user is always right.
18169 if test "${PATH_SEPARATOR+set}" != set; then
18171 (PATH='/bin
;/bin
'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
18172 (PATH='/bin
:/bin
'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
18179 # We need space, tab and new line, in precisely that order. Quoting is
18180 # there to prevent editors from complaining about space-tab.
18181 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
18182 # splitting by setting IFS to empty value.)
18185 # Find who we are. Look in the path if we contain no directory separator.
18188 *[\\/]* ) as_myself=$0 ;;
18189 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
18190 for as_dir in $PATH
18193 test -z "$as_dir" && as_dir=.
18194 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
18200 # We did not find ourselves, most probably we were run as `sh COMMAND'
18201 # in which case we are not to be found in the path.
18202 if test "x$as_myself" = x
; then
18205 if test ! -f "$as_myself"; then
18206 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
18210 # Unset variables that we do not need and which cause bugs (e.g. in
18211 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
18212 # suppresses any "Segmentation fault" message there. '((' could
18213 # trigger a bug in pdksh 5.2.14.
18214 for as_var
in BASH_ENV ENV MAIL MAILPATH
18215 do eval test x\
${$as_var+set} = xset \
18216 && ( (unset $as_var) ||
exit 1) >/dev
/null
2>&1 && unset $as_var ||
:
18229 (unset CDPATH
) >/dev
/null
2>&1 && unset CDPATH
18232 # as_fn_error STATUS ERROR [LINENO LOG_FD]
18233 # ----------------------------------------
18234 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
18235 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
18236 # script with STATUS, using 1 if that was 0.
18239 as_status
=$1; test $as_status -eq 0 && as_status
=1
18241 as_lineno
=${as_lineno-"$3"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
18242 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
18244 $as_echo "$as_me: error: $2" >&2
18245 as_fn_exit
$as_status
18249 # as_fn_set_status STATUS
18250 # -----------------------
18251 # Set $? to STATUS, without forking.
18252 as_fn_set_status
()
18255 } # as_fn_set_status
18257 # as_fn_exit STATUS
18258 # -----------------
18259 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
18263 as_fn_set_status
$1
18269 # Portably unset VAR.
18272 { eval $1=; unset $1;}
18274 as_unset
=as_fn_unset
18275 # as_fn_append VAR VALUE
18276 # ----------------------
18277 # Append the text in VALUE to the end of the definition contained in VAR. Take
18278 # advantage of any shell optimizations that allow amortized linear growth over
18279 # repeated appends, instead of the typical quadratic growth present in naive
18281 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev
/null
; then :
18282 eval 'as_fn_append ()
18293 # as_fn_arith ARG...
18294 # ------------------
18295 # Perform arithmetic evaluation on the ARGs, and store the result in the
18296 # global $as_val. Take advantage of shells that can avoid forks. The arguments
18297 # must be portable across $(()) and expr.
18298 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev
/null
; then :
18299 eval 'as_fn_arith ()
18306 as_val
=`expr "$@" || test $? -eq 1`
18311 if expr a
: '\(a\)' >/dev
/null
2>&1 &&
18312 test "X`expr 00001 : '.*\(...\)'`" = X001
; then
18318 if (basename -- /) >/dev
/null
2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
18319 as_basename
=basename
18324 if (as_dir
=`dirname -- /` && test "X$as_dir" = X
/) >/dev
/null
2>&1; then
18330 as_me
=`$as_basename -- "$0" ||
18331 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
18332 X"$0" : 'X\(//\)$' \| \
18333 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
18335 sed '/^.*\/\([^/][^/]*\)\/*$/{
18349 # Avoid depending upon Character Ranges.
18350 as_cr_letters
='abcdefghijklmnopqrstuvwxyz'
18351 as_cr_LETTERS
='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
18352 as_cr_Letters
=$as_cr_letters$as_cr_LETTERS
18353 as_cr_digits
='0123456789'
18354 as_cr_alnum
=$as_cr_Letters$as_cr_digits
18356 ECHO_C
= ECHO_N
= ECHO_T
=
18357 case `echo -n x` in #(((((
18359 case `echo 'xy\c'` in
18360 *c
*) ECHO_T
=' ';; # ECHO_T is single tab character.
18362 *) echo `echo ksh88 bug on AIX 6.1` > /dev
/null
18369 rm -f conf$$ conf$$.exe conf$$.
file
18370 if test -d conf$$.dir
; then
18371 rm -f conf$$.dir
/conf$$.
file
18374 mkdir conf$$.dir
2>/dev
/null
18376 if (echo >conf$$.
file) 2>/dev
/null
; then
18377 if ln -s conf$$.
file conf$$
2>/dev
/null
; then
18379 # ... but there are two gotchas:
18380 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
18381 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
18382 # In both cases, we have to default to `cp -pR'.
18383 ln -s conf$$.
file conf$$.dir
2>/dev
/null
&& test ! -f conf$$.exe ||
18385 elif ln conf$$.
file conf$$
2>/dev
/null
; then
18393 rm -f conf$$ conf$$.exe conf$$.dir
/conf$$.
file conf$$.
file
18394 rmdir conf$$.dir
2>/dev
/null
18399 # Create "$as_dir" as a directory, including parents if necessary.
18404 -*) as_dir
=.
/$as_dir;;
18406 test -d "$as_dir" ||
eval $as_mkdir_p ||
{
18410 *\'*) as_qdir
=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
18411 *) as_qdir
=$as_dir;;
18413 as_dirs
="'$as_qdir' $as_dirs"
18414 as_dir
=`$as_dirname -- "$as_dir" ||
18415 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
18416 X"$as_dir" : 'X\(//\)[^/]' \| \
18417 X"$as_dir" : 'X\(//\)$' \| \
18418 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
18419 $as_echo X"$as_dir" |
18420 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
18424 /^X\(\/\/\)[^/].*/{
18437 test -d "$as_dir" && break
18439 test -z "$as_dirs" ||
eval "mkdir $as_dirs"
18440 } ||
test -d "$as_dir" || as_fn_error $?
"cannot create directory $as_dir"
18444 if mkdir
-p .
2>/dev
/null
; then
18445 as_mkdir_p
='mkdir -p "$as_dir"'
18447 test -d .
/-p && rmdir .
/-p
18452 # as_fn_executable_p FILE
18453 # -----------------------
18454 # Test if FILE is an executable regular file.
18455 as_fn_executable_p
()
18457 test -f "$1" && test -x "$1"
18458 } # as_fn_executable_p
18459 as_test_x
='test -x'
18460 as_executable_p
=as_fn_executable_p
18462 # Sed expression to map a string onto a valid CPP name.
18463 as_tr_cpp
="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
18465 # Sed expression to map a string onto a valid variable name.
18466 as_tr_sh
="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
18470 ## ----------------------------------- ##
18471 ## Main body of $CONFIG_STATUS script. ##
18472 ## ----------------------------------- ##
18474 test $as_write_fail = 0 && chmod +x
$CONFIG_STATUS || ac_write_fail
=1
18476 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
18477 # Save the log message, to keep $0 and so on meaningful, and to
18478 # report actual input values of CONFIG_FILES etc. instead of their
18479 # values after options handling.
18481 This file was extended by Wine $as_me 1.7.42, which was
18482 generated by GNU Autoconf 2.69. Invocation command line was
18484 CONFIG_FILES = $CONFIG_FILES
18485 CONFIG_HEADERS = $CONFIG_HEADERS
18486 CONFIG_LINKS = $CONFIG_LINKS
18487 CONFIG_COMMANDS = $CONFIG_COMMANDS
18490 on `(hostname || uname -n) 2>/dev/null | sed 1q`
18495 case $ac_config_files in *"
18496 "*) set x
$ac_config_files; shift; ac_config_files
=$
*;;
18499 case $ac_config_headers in *"
18500 "*) set x
$ac_config_headers; shift; ac_config_headers
=$
*;;
18504 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
18505 # Files that config.status was made for.
18506 config_files="$ac_config_files"
18507 config_headers="$ac_config_headers"
18508 config_links="$ac_config_links"
18509 config_commands="$ac_config_commands"
18513 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
18515 \`$as_me' instantiates files and other configuration actions
18516 from templates according to the current configuration. Unless the files
18517 and actions are specified as TAGs, all are instantiated by default.
18519 Usage: $0 [OPTION]... [TAG]...
18521 -h, --help print this help, then exit
18522 -V, --version print version number and configuration settings, then exit
18523 --config print configuration, then exit
18524 -q, --quiet, --silent
18525 do not print progress messages
18526 -d, --debug don't remove temporary files
18527 --recheck update $as_me by reconfiguring in the same conditions
18528 --file=FILE[:TEMPLATE]
18529 instantiate the configuration file FILE
18530 --header=FILE[:TEMPLATE]
18531 instantiate the configuration header FILE
18533 Configuration files:
18536 Configuration headers:
18539 Configuration links:
18542 Configuration commands:
18545 Report bugs to <wine-devel@winehq.org>.
18546 Wine home page: <http://www.winehq.org>."
18549 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
18550 ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
18552 Wine config.status 1.7.42
18553 configured by $0, generated by GNU Autoconf 2.69,
18554 with options \\"\$ac_cs_config\\"
18556 Copyright (C) 2012 Free Software Foundation, Inc.
18557 This config.status script is free software; the Free Software Foundation
18558 gives unlimited permission to copy, distribute and modify it."
18562 test -n "\$AWK" || AWK=awk
18565 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
18566 # The default lists apply if the user does not specify any file.
18572 ac_option
=`expr "X$1" : 'X\([^=]*\)='`
18573 ac_optarg
=`expr "X$1" : 'X[^=]*=\(.*\)'`
18577 ac_option
=`expr "X$1" : 'X\([^=]*\)='`
18589 # Handling of the options.
18590 -recheck |
--recheck |
--rechec |
--reche |
--rech |
--rec |
--re |
--r)
18592 --version |
--versio |
--versi |
--vers |
--ver |
--ve |
--v |
-V )
18593 $as_echo "$ac_cs_version"; exit ;;
18594 --config |
--confi |
--conf |
--con |
--co |
--c )
18595 $as_echo "$ac_cs_config"; exit ;;
18596 --debug |
--debu |
--deb |
--de |
--d |
-d )
18598 --file |
--fil |
--fi |
--f )
18601 *\'*) ac_optarg
=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
18602 '') as_fn_error $?
"missing file argument" ;;
18604 as_fn_append CONFIG_FILES
" '$ac_optarg'"
18605 ac_need_defaults
=false
;;
18606 --header |
--heade |
--head |
--hea )
18609 *\'*) ac_optarg
=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
18611 as_fn_append CONFIG_HEADERS
" '$ac_optarg'"
18612 ac_need_defaults
=false
;;
18614 # Conflict between --help and --header
18615 as_fn_error $?
"ambiguous option: \`$1'
18616 Try \`$0 --help' for more information.";;
18617 --help |
--hel |
-h )
18618 $as_echo "$ac_cs_usage"; exit ;;
18619 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
18620 |
-silent |
--silent |
--silen |
--sile |
--sil |
--si |
--s)
18623 # This is an error.
18624 -*) as_fn_error $?
"unrecognized option: \`$1'
18625 Try \`$0 --help' for more information." ;;
18627 *) as_fn_append ac_config_targets
" $1"
18628 ac_need_defaults
=false
;;
18634 ac_configure_extra_args
=
18636 if $ac_cs_silent; then
18638 ac_configure_extra_args
="$ac_configure_extra_args --silent"
18642 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
18643 if \$ac_cs_recheck; then
18644 set X $SHELL '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
18646 \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
18647 CONFIG_SHELL='$SHELL'
18648 export CONFIG_SHELL
18653 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
18657 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
18658 ## Running $as_me. ##
18664 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
18668 wine_fn_output_makedep ()
18670 as_dir=tools; as_fn_mkdir_p
18671 $CC -Iinclude -I$srcdir/include -D__WINESRC__ $EXTRACFLAGS $CPPFLAGS $CFLAGS -o tools/makedep$ac_exeext $srcdir/tools/makedep.c $LDFLAGS
18673 wine_fn_output_makefile ()
18675 cat Make.tmp - <<\_WINE_EOF >\$tmp/makefile && mv -f \$tmp/makefile \$1 && rm -f Make.tmp && "$wine_makedep" . && return
18676 `cat $wine_rules_file`
18678 as_fn_error $? "could not create Makefile" "$LINENO" 5
18680 wine_fn_output_gitignore ()
18682 sort <<\_WINE_EOF >\$tmp/gitignore && mv -f \$tmp/gitignore \$1 && return
18685 as_fn_error $? "could not create .gitignore" "$LINENO" 5
18690 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
18692 # Handling of arguments.
18693 for ac_config_target
in $ac_config_targets
18695 case $ac_config_target in
18696 "include/config.h") CONFIG_HEADERS
="$CONFIG_HEADERS include/config.h" ;;
18697 "include/stamp-h") CONFIG_COMMANDS
="$CONFIG_COMMANDS include/stamp-h" ;;
18698 "fonts/marlett.ttf") CONFIG_LINKS
="$CONFIG_LINKS fonts/marlett.ttf:fonts/marlett.ttf" ;;
18699 "fonts/symbol.ttf") CONFIG_LINKS
="$CONFIG_LINKS fonts/symbol.ttf:fonts/symbol.ttf" ;;
18700 "fonts/tahoma.ttf") CONFIG_LINKS
="$CONFIG_LINKS fonts/tahoma.ttf:fonts/tahoma.ttf" ;;
18701 "fonts/tahomabd.ttf") CONFIG_LINKS
="$CONFIG_LINKS fonts/tahomabd.ttf:fonts/tahomabd.ttf" ;;
18702 "loader/l_intl.nls") CONFIG_LINKS
="$CONFIG_LINKS loader/l_intl.nls:loader/l_intl.nls" ;;
18703 "po/LINGUAS") CONFIG_LINKS
="$CONFIG_LINKS po/LINGUAS:po/LINGUAS" ;;
18704 "wine") CONFIG_LINKS
="$CONFIG_LINKS wine:tools/winewrapper" ;;
18705 "wine64") CONFIG_LINKS
="$CONFIG_LINKS wine64:tools/winewrapper" ;;
18706 "tools/makedep") CONFIG_COMMANDS
="$CONFIG_COMMANDS tools/makedep" ;;
18707 "Makefile") CONFIG_COMMANDS
="$CONFIG_COMMANDS Makefile" ;;
18708 "Make.tmp") CONFIG_FILES
="$CONFIG_FILES Make.tmp:Make.vars.in:Makefile.in" ;;
18709 ".gitignore") CONFIG_COMMANDS
="$CONFIG_COMMANDS .gitignore" ;;
18711 *) as_fn_error $?
"invalid argument: \`$ac_config_target'" "$LINENO" 5;;
18716 # If the user did not use the arguments to specify the items to instantiate,
18717 # then the envvar interface is used. Set only those that are not.
18718 # We use the long form for the default assignment because of an extremely
18719 # bizarre bug on SunOS 4.1.3.
18720 if $ac_need_defaults; then
18721 test "${CONFIG_FILES+set}" = set || CONFIG_FILES
=$config_files
18722 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS
=$config_headers
18723 test "${CONFIG_LINKS+set}" = set || CONFIG_LINKS
=$config_links
18724 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS
=$config_commands
18727 # Have a temporary directory for convenience. Make it in the build tree
18728 # simply because there is no reason against having it here, and in addition,
18729 # creating and moving files from /tmp can sometimes cause problems.
18730 # Hook for its removal unless debugging.
18731 # Note that there is a small window in which the directory will not be cleaned:
18732 # after its creation but before its name has been assigned to `$tmp'.
18736 trap 'exit_status=$?
18737 : "${ac_tmp:=$tmp}"
18738 { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
18740 trap 'as_fn_exit 1' 1 2 13 15
18742 # Create a (secure) tmp directory for tmp files.
18745 tmp
=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
18749 tmp
=.
/conf$$
-$RANDOM
18750 (umask 077 && mkdir
"$tmp")
18751 } || as_fn_error $?
"cannot create a temporary directory in ." "$LINENO" 5
18754 # Set up the scripts for CONFIG_FILES section.
18755 # No need to generate them if there are no CONFIG_FILES.
18756 # This happens for instance with `./config.status config.h'.
18757 if test -n "$CONFIG_FILES"; then
18760 ac_cr
=`echo X | tr X '\015'`
18761 # On cygwin, bash can eat \r inside `` if the user requested igncr.
18762 # But we know of no other shell where ac_cr would be empty at this
18763 # point, so we can use a bashism as a fallback.
18764 if test "x$ac_cr" = x
; then
18765 eval ac_cr
=\$
\'\\r
\'
18767 ac_cs_awk_cr
=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
18768 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
18771 ac_cs_awk_cr
=$ac_cr
18774 echo 'BEGIN {' >"$ac_tmp/subs1.awk" &&
18779 echo "cat >conf$$subs.awk <<_ACEOF" &&
18780 echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
18782 } >conf$$subs.sh ||
18783 as_fn_error $? "could not
make $CONFIG_STATUS" "$LINENO" 5
18784 ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
18786 for ac_last_try in false false false false false :; do
18787 . ./conf$$subs.sh ||
18788 as_fn_error $? "could not
make $CONFIG_STATUS" "$LINENO" 5
18790 ac_delim_n=`sed -n "s
/.
*$ac_delim\$
/X
/p
" conf$$subs.awk | grep -c X`
18791 if test $ac_delim_n = $ac_delim_num; then
18793 elif $ac_last_try; then
18794 as_fn_error $? "could not
make $CONFIG_STATUS" "$LINENO" 5
18796 ac_delim="$ac_delim!$ac_delim _
$ac_delim!! "
18799 rm -f conf$$subs.sh
18801 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
18802 cat >>"\
$ac_tmp/subs1.
awk" <<\\_ACAWK &&
18806 s/^/S["/; s
/!.
*/"]=/
18816 s/\(.\{148\}\)..*/\1/
18818 s/["\\]/\\&/g
; s
/^
/"/; s/$/\\n"\\/
18823 s
/["\\]/\\&/g; s/^/"/; s
/$
/"\\/
18830 s/\(.\{148\}\)..*/\1/
18832 s/["\\]/\\&/g
; s
/^
/"/; s/$/"/
18836 s
/["\\]/\\&/g; s/^/"/; s
/$
/"\\/
18841 ' <conf$$subs.awk | sed '
18846 ' >>$CONFIG_STATUS || ac_write_fail=1
18847 rm -f conf$$subs.awk
18848 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
18850 cat >>"\
$ac_tmp/subs1.
awk" <<_ACAWK &&
18851 for (key in S) S_is_set[key] = 1
18857 nfields = split(line, field, "@
")
18859 len = length(field[1])
18860 for (i = 2; i < nfields; i++) {
18862 keylen = length(key)
18863 if (S_is_set[key]) {
18865 line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
18866 len += length(value) + length(field[++i])
18877 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
18878 if sed "s
/$ac_cr//" < /dev/null > /dev/null 2>&1; then
18879 sed "s
/$ac_cr\$
//; s
/$ac_cr/$ac_cs_awk_cr/g
"
18882 fi < "$ac_tmp/subs1.
awk" > "$ac_tmp/subs.
awk" \
18883 || as_fn_error $? "could not setup config files machinery
" "$LINENO" 5
18886 # VPATH may cause trouble with some makes, so we remove sole $(srcdir),
18887 # ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".
", strip leading and
18888 # trailing colons and then remove the whole line if VPATH becomes empty
18889 # (actually we leave an empty line to preserve line numbers).
18890 if test "x
$srcdir" = x.; then
18891 ac_vpsub='/^[ ]*VPATH[ ]*=[ ]*/{
18909 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
18910 fi # test -n "$CONFIG_FILES"
18912 # Set up the scripts for CONFIG_HEADERS section.
18913 # No need to generate them if there are no CONFIG_HEADERS.
18914 # This happens for instance with `./config.status Makefile'.
18915 if test -n "$CONFIG_HEADERS"; then
18916 cat >"$ac_tmp/defines.
awk" <<\_ACAWK ||
18920 # Transform confdefs.h into an awk script `defines.awk', embedded as
18921 # here-document in config.status, that substitutes the proper values into
18922 # config.h.in to produce config.h.
18924 # Create a delimiter string that does not exist in confdefs.h, to ease
18925 # handling of long lines.
18927 for ac_last_try in false false :; do
18928 ac_tt=`sed -n "/$ac_delim/p
" confdefs.h`
18929 if test -z "$ac_tt"; then
18931 elif $ac_last_try; then
18932 as_fn_error $? "could not
make $CONFIG_HEADERS" "$LINENO" 5
18934 ac_delim="$ac_delim!$ac_delim _
$ac_delim!! "
18938 # For the awk script, D is an array of macro values keyed by name,
18939 # likewise P contains macro parameters if any. Preserve backslash
18940 # newline sequences.
18942 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
18944 s/.\{148\}/&'"$ac_delim"'/g
18947 s/^[ ]*#[ ]*define[ ][ ]*/ /
18954 s
/^ \
('"$ac_word_re"'\
)\
(([^
()]*)\
)[ ]*\
(.
*\
)/P
["\1"]="\2"\
18956 s
/^ \
('"$ac_word_re"'\
)[ ]*\
(.
*\
)/D
["\1"]=" \2"/p
18960 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\
1"]="\
2"\
18961 D["\
1"]=" \
3\\\\\\n
"\\/p
18963 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\
1"]=" \
2\\\\\\n
"\\/p
18968 s/.\{148\}/&'"$ac_delim"'/g
18973 s/["\\]/\\&/g
; s
/^
/"/; s/$/"/p
18976 s
/["\\]/\\&/g; s/^/"/; s
/$
/\\\\\\n
"\\/p
18978 ' <confdefs.h | sed '
18979 s/'"$ac_delim"'/"\\\
18980 "/g' >>$CONFIG_STATUS || ac_write_fail=1
18982 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
18983 for (key in D) D_is_set[key] = 1
18986 /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
18988 split(line, arg, " ")
18989 if (arg[1] == "#") {
18993 defundef
= substr
(arg
[1], 2)
18996 split(mac1
, mac2
, "(") #)
18998 prefix
= substr
(line
, 1, index
(line
, defundef
) - 1)
18999 if (D_is_set
[macro
]) {
19000 # Preserve the white space surrounding the "#".
19001 print prefix
"define", macro P
[macro
] D
[macro
]
19004 # Replace #undef with comments. This is necessary, for example,
19005 # in the case of _POSIX_SOURCE, which is predefined and required
19006 # on some systems where configure will not decide to define it.
19007 if (defundef
== "undef") {
19008 print
"/*", prefix defundef
, macro
, "*/"
19016 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
19017 as_fn_error $?
"could not setup config headers machinery" "$LINENO" 5
19018 fi # test -n "$CONFIG_HEADERS"
19021 eval set X
" :F $CONFIG_FILES :H $CONFIG_HEADERS :L $CONFIG_LINKS :C $CONFIG_COMMANDS"
19026 :[FHLC
]) ac_mode
=$ac_tag; continue;;
19028 case $ac_mode$ac_tag in
19030 :L
* |
:C
*:*) as_fn_error $?
"invalid tag \`$ac_tag'" "$LINENO" 5;;
19031 :[FH
]-) ac_tag
=-:-;;
19032 :[FH
]*) ac_tag
=$ac_tag:$ac_tag.
in;;
19049 -) ac_f
="$ac_tmp/stdin";;
19050 *) # Look for the file first in the build tree, then in the source tree
19051 # (if the path is not absolute). The absolute path cannot be DOS-style,
19052 # because $ac_f cannot contain `:'.
19056 *) test -f "$srcdir/$ac_f" && ac_f
="$srcdir/$ac_f";;
19058 as_fn_error
1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
19060 case $ac_f in *\'*) ac_f
=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
19061 as_fn_append ac_file_inputs
" '$ac_f'"
19064 # Let's still pretend it is `configure' which instantiates (i.e., don't
19065 # use $as_me), people would be surprised to read:
19066 # /* config.h. Generated by config.status. */
19067 configure_input
='Generated from '`
19068 $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
19070 if test x
"$ac_file" != x-
; then
19071 configure_input
="$ac_file. $configure_input"
19072 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
19073 $as_echo "$as_me: creating $ac_file" >&6;}
19075 # Neutralize special characters interpreted by sed in replacement strings.
19076 case $configure_input in #(
19077 *\
&* |
*\|
* |
*\\* )
19078 ac_sed_conf_input
=`$as_echo "$configure_input" |
19079 sed 's/[\\\\&|]/\\\\&/g'`;; #(
19080 *) ac_sed_conf_input
=$configure_input;;
19084 *:-:* |
*:-) cat >"$ac_tmp/stdin" \
19085 || as_fn_error $?
"could not create $ac_file" "$LINENO" 5 ;;
19090 ac_dir
=`$as_dirname -- "$ac_file" ||
19091 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
19092 X"$ac_file" : 'X\(//\)[^/]' \| \
19093 X"$ac_file" : 'X\(//\)$' \| \
19094 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
19095 $as_echo X"$ac_file" |
19096 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
19100 /^X\(\/\/\)[^/].*/{
19113 as_dir
="$ac_dir"; as_fn_mkdir_p
19117 .
) ac_dir_suffix
= ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
19119 ac_dir_suffix
=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
19120 # A ".." for each directory in $ac_dir_suffix.
19121 ac_top_builddir_sub
=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
19122 case $ac_top_builddir_sub in
19123 "") ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
19124 *) ac_top_build_prefix
=$ac_top_builddir_sub/ ;;
19127 ac_abs_top_builddir
=$ac_pwd
19128 ac_abs_builddir
=$ac_pwd$ac_dir_suffix
19129 # for backward compatibility:
19130 ac_top_builddir
=$ac_top_build_prefix
19133 .
) # We are building in place.
19135 ac_top_srcdir
=$ac_top_builddir_sub
19136 ac_abs_top_srcdir
=$ac_pwd ;;
19137 [\\/]* | ?
:[\\/]* ) # Absolute name.
19138 ac_srcdir
=$srcdir$ac_dir_suffix;
19139 ac_top_srcdir
=$srcdir
19140 ac_abs_top_srcdir
=$srcdir ;;
19141 *) # Relative name.
19142 ac_srcdir
=$ac_top_build_prefix$srcdir$ac_dir_suffix
19143 ac_top_srcdir
=$ac_top_build_prefix$srcdir
19144 ac_abs_top_srcdir
=$ac_pwd/$srcdir ;;
19146 ac_abs_srcdir
=$ac_abs_top_srcdir$ac_dir_suffix
19157 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
19158 # If the template does not know about datarootdir, expand it.
19159 # FIXME: This hack should be removed a few years after 2.60.
19160 ac_datarootdir_hack
=; ac_datarootdir_seen
=
19171 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
19172 *datarootdir
*) ac_datarootdir_seen
=yes;;
19173 *@datadir@
*|
*@docdir@
*|
*@infodir@
*|
*@localedir@
*|
*@mandir@
*)
19174 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
19175 $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
19177 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
19178 ac_datarootdir_hack='
19179 s&@datadir@&$datadir&g
19180 s&@docdir@&$docdir&g
19181 s&@infodir@&$infodir&g
19182 s&@localedir@&$localedir&g
19183 s&@mandir@&$mandir&g
19184 s&\\\${datarootdir}&$datarootdir&g' ;;
19188 # Neutralize VPATH when `$srcdir' = `.'.
19189 # Shell code in configure.ac might set extrasub.
19190 # FIXME: do we really want to maintain this feature?
19191 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
19192 ac_sed_extra="$ac_vpsub
19195 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
19197 /@
[a-zA-Z_
][a-zA-Z_0-9
]*@
/!b
19198 s|@configure_input@|
$ac_sed_conf_input|
;t t
19199 s
&@top_builddir@
&$ac_top_builddir_sub&;t t
19200 s
&@top_build_prefix@
&$ac_top_build_prefix&;t t
19201 s
&@srcdir@
&$ac_srcdir&;t t
19202 s
&@abs_srcdir@
&$ac_abs_srcdir&;t t
19203 s
&@top_srcdir@
&$ac_top_srcdir&;t t
19204 s
&@abs_top_srcdir@
&$ac_abs_top_srcdir&;t t
19205 s
&@builddir@
&$ac_builddir&;t t
19206 s
&@abs_builddir@
&$ac_abs_builddir&;t t
19207 s
&@abs_top_builddir@
&$ac_abs_top_builddir&;t t
19208 $ac_datarootdir_hack
19210 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.
awk" \
19211 >$ac_tmp/out || as_fn_error $? "could not create
$ac_file" "$LINENO" 5
19213 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
19214 { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out
"`; test -n "$ac_out"; } &&
19215 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' \
19216 "$ac_tmp/out
"`; test -z "$ac_out"; } &&
19217 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: $ac_file contains a reference to the variable \
`datarootdir'
19218 which seems to be undefined. Please make sure it is defined" >&5
19219 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir
'
19220 which seems to be undefined. Please make sure it is defined" >&2;}
19222 rm -f "$ac_tmp/stdin"
19224 -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";;
19225 *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";;
19227 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
19233 if test x"$ac_file" != x-; then
19235 $as_echo "/* $configure_input */" \
19236 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs"
19237 } >"$ac_tmp/config.h" \
19238 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
19239 if diff "$ac_file" "$ac_tmp/config.h" >/dev/null 2>&1; then
19240 { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
19241 $as_echo "$as_me: $ac_file is unchanged" >&6;}
19244 mv "$ac_tmp/config.h" "$ac_file" \
19245 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
19248 $as_echo "/* $configure_input */" \
19249 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" \
19250 || as_fn_error $? "could not create -" "$LINENO" 5
19258 if test "$ac_source" = "$ac_file" && test "$srcdir" = '.
'; then
19261 # Prefer the file from the source tree if names are identical.
19262 if test "$ac_source" = "$ac_file" || test ! -r "$ac_source"; then
19263 ac_source=$srcdir/$ac_source
19266 { $as_echo "$as_me:${as_lineno-$LINENO}: linking $ac_source to $ac_file" >&5
19267 $as_echo "$as_me: linking $ac_source to $ac_file" >&6;}
19269 if test ! -r "$ac_source"; then
19270 as_fn_error $? "$ac_source: file not found" "$LINENO" 5
19274 # Try a relative symlink, then a hard link, then a copy.
19276 [\\/$]* | ?:[\\/]* ) ac_rel_source=$ac_source ;;
19277 *) ac_rel_source=$ac_top_build_prefix$ac_source ;;
19279 ln -s "$ac_rel_source" "$ac_file" 2>/dev/null ||
19280 ln "$ac_source" "$ac_file" 2>/dev/null ||
19281 cp -p "$ac_source" "$ac_file" ||
19282 as_fn_error $? "cannot link or copy $ac_source to $ac_file" "$LINENO" 5
19285 :C) { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
19286 $as_echo "$as_me: executing $ac_file commands" >&6;}
19291 case $ac_file$ac_mode in
19292 "include/stamp-h":C) echo timestamp > include/stamp-h ;;
19293 "tools/makedep":C) wine_fn_output_makedep || as_fn_exit $? ;;
19294 "Makefile":C) wine_fn_output_makefile Makefile ;;
19295 ".gitignore":C) wine_fn_output_gitignore .gitignore ;;
19303 ac_clean_files=$ac_clean_files_save
19305 test $ac_write_fail = 0 ||
19306 as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5
19309 # configure is writing to config.log, and then calls config.status.
19310 # config.status does its own redirection, appending to config.log.
19311 # Unfortunately, on DOS this fails, as config.log is still kept open
19312 # by configure, so config.status won't be able to
write to it
; its
19313 # output is simply discarded. So we exec the FD to /dev/null,
19314 # effectively closing config.log, so it can be properly (re)opened and
19315 # appended to by config.status. When coming back to configure, we
19316 # need to make the FD available again.
19317 if test "$no_create" != yes; then
19319 ac_config_status_args
=
19320 test "$silent" = yes &&
19321 ac_config_status_args
="$ac_config_status_args --quiet"
19323 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success
=false
19325 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
19326 # would make configure fail if this is the last instruction.
19327 $ac_cs_success || as_fn_exit
1
19329 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no
; then
19330 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
19331 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
19335 if test "$no_create" = "yes"
19341 if test "x$wine_notices != "x
; then
19344 for msg
in $wine_notices; do
19346 if ${msg:+false} :; then :
19349 { $as_echo "$as_me:${as_lineno-$LINENO}: $msg" >&5
19350 $as_echo "$as_me: $msg" >&6;}
19355 for msg
in $wine_warnings; do
19357 if ${msg:+false} :; then :
19361 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $msg" >&5
19362 $as_echo "$as_me: WARNING: $msg" >&2;}
19368 $as_me: Finished. Do '${ac_make}' to compile Wine.