2 # Guess values for system-dependent variables and create Makefiles.
3 # Generated by GNU Autoconf 2.69 for Wine 1.7.36.
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.36'
584 PACKAGE_STRING
='Wine 1.7.36'
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_1
862 enable_api_ms_win_core_errorhandling_l1_1_1
863 enable_api_ms_win_core_errorhandling_l1_1_2
864 enable_api_ms_win_core_fibers_l1_1_0
865 enable_api_ms_win_core_fibers_l1_1_1
866 enable_api_ms_win_core_file_l1_2_0
867 enable_api_ms_win_core_file_l2_1_0
868 enable_api_ms_win_core_file_l2_1_1
869 enable_api_ms_win_core_handle_l1_1_0
870 enable_api_ms_win_core_heap_l1_2_0
871 enable_api_ms_win_core_heap_obsolete_l1_1_0
872 enable_api_ms_win_core_interlocked_l1_2_0
873 enable_api_ms_win_core_io_l1_1_1
874 enable_api_ms_win_core_kernel32_legacy_l1_1_0
875 enable_api_ms_win_core_libraryloader_l1_1_1
876 enable_api_ms_win_core_localization_l1_2_0
877 enable_api_ms_win_core_localization_l1_2_1
878 enable_api_ms_win_core_localization_obsolete_l1_1_0
879 enable_api_ms_win_core_localregistry_l1_1_0
880 enable_api_ms_win_core_memory_l1_1_1
881 enable_api_ms_win_core_namedpipe_l1_2_0
882 enable_api_ms_win_core_processenvironment_l1_2_0
883 enable_api_ms_win_core_processthreads_l1_1_0
884 enable_api_ms_win_core_processthreads_l1_1_1
885 enable_api_ms_win_core_processthreads_l1_1_2
886 enable_api_ms_win_core_profile_l1_1_0
887 enable_api_ms_win_core_psapi_l1_1_0
888 enable_api_ms_win_core_registry_l1_1_0
889 enable_api_ms_win_core_rtlsupport_l1_2_0
890 enable_api_ms_win_core_shlwapi_legacy_l1_1_0
891 enable_api_ms_win_core_string_l1_1_0
892 enable_api_ms_win_core_synch_l1_2_0
893 enable_api_ms_win_core_sysinfo_l1_2_0
894 enable_api_ms_win_core_sysinfo_l1_2_1
895 enable_api_ms_win_core_threadpool_legacy_l1_1_0
896 enable_api_ms_win_core_timezone_l1_1_0
897 enable_api_ms_win_core_url_l1_1_0
898 enable_api_ms_win_core_util_l1_1_0
899 enable_api_ms_win_core_winrt_error_l1_1_0
900 enable_api_ms_win_core_winrt_error_l1_1_1
901 enable_api_ms_win_core_winrt_l1_1_0
902 enable_api_ms_win_core_winrt_string_l1_1_0
903 enable_api_ms_win_core_xstate_l2_1_0
904 enable_api_ms_win_downlevel_advapi32_l1_1_0
905 enable_api_ms_win_downlevel_advapi32_l2_1_0
906 enable_api_ms_win_downlevel_normaliz_l1_1_0
907 enable_api_ms_win_downlevel_ole32_l1_1_0
908 enable_api_ms_win_downlevel_shell32_l1_1_0
909 enable_api_ms_win_downlevel_shlwapi_l1_1_0
910 enable_api_ms_win_downlevel_shlwapi_l2_1_0
911 enable_api_ms_win_downlevel_user32_l1_1_0
912 enable_api_ms_win_downlevel_version_l1_1_0
913 enable_api_ms_win_eventing_provider_l1_1_0
914 enable_api_ms_win_ntuser_dc_access_l1_1_0
915 enable_api_ms_win_security_base_l1_1_0
916 enable_api_ms_win_security_base_l1_2_0
917 enable_api_ms_win_security_sddl_l1_1_0
918 enable_api_ms_win_service_core_l1_1_1
919 enable_api_ms_win_service_management_l1_1_0
920 enable_api_ms_win_service_winsvc_l1_2_0
963 enable_d3dcompiler_33
964 enable_d3dcompiler_34
965 enable_d3dcompiler_35
966 enable_d3dcompiler_36
967 enable_d3dcompiler_37
968 enable_d3dcompiler_38
969 enable_d3dcompiler_39
970 enable_d3dcompiler_40
971 enable_d3dcompiler_41
972 enable_d3dcompiler_42
973 enable_d3dcompiler_43
1049 enable_explorerframe
1050 enable_ext_ms_win_gdi_devcaps_l1_1_0
1205 enable_photometadatahandler
1287 enable_windowscodecs
1288 enable_windowscodecsext
1290 enable_winecoreaudio_drv
1292 enable_winegstreamer
1293 enable_winejoystick_drv
1299 enable_wineqtdecoder
1339 enable_documentation
1347 enable_aspnet_regiis
1380 enable_presentationfontcache
1393 enable_servicemodelreg
1414 enable_winemenubuilder
1416 enable_winemsibuilder
1430 ac_precious_vars
='build_alias
1479 # Initialize some variables set by options.
1481 ac_init_version
=false
1482 ac_unrecognized_opts
=
1483 ac_unrecognized_sep
=
1484 # The variables have the same names as the options, with
1485 # dashes changed to underlines.
1486 cache_file
=/dev
/null
1493 program_transform_name
=s
,x
,x
,
1501 # Installation directory options.
1502 # These are left unexpanded so users can "make install exec_prefix=/foo"
1503 # and all the variables that are supposed to be based on exec_prefix
1504 # by default will actually change.
1505 # Use braces instead of parens because sh, perl, etc. also accept them.
1506 # (The list follows the same order as the GNU Coding Standards.)
1507 bindir
='${exec_prefix}/bin'
1508 sbindir
='${exec_prefix}/sbin'
1509 libexecdir
='${exec_prefix}/libexec'
1510 datarootdir
='${prefix}/share'
1511 datadir
='${datarootdir}'
1512 sysconfdir
='${prefix}/etc'
1513 sharedstatedir
='${prefix}/com'
1514 localstatedir
='${prefix}/var'
1515 includedir
='${prefix}/include'
1516 oldincludedir
='/usr/include'
1517 docdir
='${datarootdir}/doc/${PACKAGE_TARNAME}'
1518 infodir
='${datarootdir}/info'
1523 libdir
='${exec_prefix}/lib'
1524 localedir
='${datarootdir}/locale'
1525 mandir
='${datarootdir}/man'
1531 # If the previous option needs an argument, assign it.
1532 if test -n "$ac_prev"; then
1533 eval $ac_prev=\
$ac_option
1539 *=?
*) ac_optarg
=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
1544 # Accept the important Cygnus configure options, so we can diagnose typos.
1546 case $ac_dashdash$ac_option in
1550 -bindir |
--bindir |
--bindi |
--bind |
--bin |
--bi)
1552 -bindir=* |
--bindir=* |
--bindi=* |
--bind=* |
--bin=* |
--bi=*)
1553 bindir
=$ac_optarg ;;
1555 -build |
--build |
--buil |
--bui |
--bu)
1556 ac_prev
=build_alias
;;
1557 -build=* |
--build=* |
--buil=* |
--bui=* |
--bu=*)
1558 build_alias
=$ac_optarg ;;
1560 -cache-file |
--cache-file |
--cache-fil |
--cache-fi \
1561 |
--cache-f |
--cache- |
--cache |
--cach |
--cac |
--ca |
--c)
1562 ac_prev
=cache_file
;;
1563 -cache-file=* |
--cache-file=* |
--cache-fil=* |
--cache-fi=* \
1564 |
--cache-f=* |
--cache-=* |
--cache=* |
--cach=* |
--cac=* |
--ca=* |
--c=*)
1565 cache_file
=$ac_optarg ;;
1567 --config-cache |
-C)
1568 cache_file
=config.cache
;;
1570 -datadir |
--datadir |
--datadi |
--datad)
1572 -datadir=* |
--datadir=* |
--datadi=* |
--datad=*)
1573 datadir
=$ac_optarg ;;
1575 -datarootdir |
--datarootdir |
--datarootdi |
--datarootd |
--dataroot \
1576 |
--dataroo |
--dataro |
--datar)
1577 ac_prev
=datarootdir
;;
1578 -datarootdir=* |
--datarootdir=* |
--datarootdi=* |
--datarootd=* \
1579 |
--dataroot=* |
--dataroo=* |
--dataro=* |
--datar=*)
1580 datarootdir
=$ac_optarg ;;
1582 -disable-* |
--disable-*)
1583 ac_useropt
=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
1584 # Reject names that are not valid shell variable names.
1585 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
1586 as_fn_error $?
"invalid feature name: $ac_useropt"
1587 ac_useropt_orig
=$ac_useropt
1588 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1589 case $ac_user_opts in
1591 "enable_
$ac_useropt"
1593 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
1594 ac_unrecognized_sep
=', ';;
1596 eval enable_
$ac_useropt=no
;;
1598 -docdir |
--docdir |
--docdi |
--doc |
--do)
1600 -docdir=* |
--docdir=* |
--docdi=* |
--doc=* |
--do=*)
1601 docdir
=$ac_optarg ;;
1603 -dvidir |
--dvidir |
--dvidi |
--dvid |
--dvi |
--dv)
1605 -dvidir=* |
--dvidir=* |
--dvidi=* |
--dvid=* |
--dvi=* |
--dv=*)
1606 dvidir
=$ac_optarg ;;
1608 -enable-* |
--enable-*)
1609 ac_useropt
=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
1610 # Reject names that are not valid shell variable names.
1611 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
1612 as_fn_error $?
"invalid feature name: $ac_useropt"
1613 ac_useropt_orig
=$ac_useropt
1614 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1615 case $ac_user_opts in
1617 "enable_
$ac_useropt"
1619 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
1620 ac_unrecognized_sep
=', ';;
1622 eval enable_
$ac_useropt=\
$ac_optarg ;;
1624 -exec-prefix |
--exec_prefix |
--exec-prefix |
--exec-prefi \
1625 |
--exec-pref |
--exec-pre |
--exec-pr |
--exec-p |
--exec- \
1626 |
--exec |
--exe |
--ex)
1627 ac_prev
=exec_prefix
;;
1628 -exec-prefix=* |
--exec_prefix=* |
--exec-prefix=* |
--exec-prefi=* \
1629 |
--exec-pref=* |
--exec-pre=* |
--exec-pr=* |
--exec-p=* |
--exec-=* \
1630 |
--exec=* |
--exe=* |
--ex=*)
1631 exec_prefix
=$ac_optarg ;;
1633 -gas |
--gas |
--ga |
--g)
1634 # Obsolete; use --with-gas.
1637 -help |
--help |
--hel |
--he |
-h)
1638 ac_init_help
=long
;;
1639 -help=r
* |
--help=r
* |
--hel=r
* |
--he=r
* |
-hr*)
1640 ac_init_help
=recursive
;;
1641 -help=s
* |
--help=s
* |
--hel=s
* |
--he=s
* |
-hs*)
1642 ac_init_help
=short
;;
1644 -host |
--host |
--hos |
--ho)
1645 ac_prev
=host_alias
;;
1646 -host=* |
--host=* |
--hos=* |
--ho=*)
1647 host_alias
=$ac_optarg ;;
1649 -htmldir |
--htmldir |
--htmldi |
--htmld |
--html |
--htm |
--ht)
1651 -htmldir=* |
--htmldir=* |
--htmldi=* |
--htmld=* |
--html=* |
--htm=* \
1653 htmldir
=$ac_optarg ;;
1655 -includedir |
--includedir |
--includedi |
--included |
--include \
1656 |
--includ |
--inclu |
--incl |
--inc)
1657 ac_prev
=includedir
;;
1658 -includedir=* |
--includedir=* |
--includedi=* |
--included=* |
--include=* \
1659 |
--includ=* |
--inclu=* |
--incl=* |
--inc=*)
1660 includedir
=$ac_optarg ;;
1662 -infodir |
--infodir |
--infodi |
--infod |
--info |
--inf)
1664 -infodir=* |
--infodir=* |
--infodi=* |
--infod=* |
--info=* |
--inf=*)
1665 infodir
=$ac_optarg ;;
1667 -libdir |
--libdir |
--libdi |
--libd)
1669 -libdir=* |
--libdir=* |
--libdi=* |
--libd=*)
1670 libdir
=$ac_optarg ;;
1672 -libexecdir |
--libexecdir |
--libexecdi |
--libexecd |
--libexec \
1673 |
--libexe |
--libex |
--libe)
1674 ac_prev
=libexecdir
;;
1675 -libexecdir=* |
--libexecdir=* |
--libexecdi=* |
--libexecd=* |
--libexec=* \
1676 |
--libexe=* |
--libex=* |
--libe=*)
1677 libexecdir
=$ac_optarg ;;
1679 -localedir |
--localedir |
--localedi |
--localed |
--locale)
1680 ac_prev
=localedir
;;
1681 -localedir=* |
--localedir=* |
--localedi=* |
--localed=* |
--locale=*)
1682 localedir
=$ac_optarg ;;
1684 -localstatedir |
--localstatedir |
--localstatedi |
--localstated \
1685 |
--localstate |
--localstat |
--localsta |
--localst |
--locals)
1686 ac_prev
=localstatedir
;;
1687 -localstatedir=* |
--localstatedir=* |
--localstatedi=* |
--localstated=* \
1688 |
--localstate=* |
--localstat=* |
--localsta=* |
--localst=* |
--locals=*)
1689 localstatedir
=$ac_optarg ;;
1691 -mandir |
--mandir |
--mandi |
--mand |
--man |
--ma |
--m)
1693 -mandir=* |
--mandir=* |
--mandi=* |
--mand=* |
--man=* |
--ma=* |
--m=*)
1694 mandir
=$ac_optarg ;;
1696 -nfp |
--nfp |
--nf)
1697 # Obsolete; use --without-fp.
1700 -no-create |
--no-create |
--no-creat |
--no-crea |
--no-cre \
1701 |
--no-cr |
--no-c |
-n)
1704 -no-recursion |
--no-recursion |
--no-recursio |
--no-recursi \
1705 |
--no-recurs |
--no-recur |
--no-recu |
--no-rec |
--no-re |
--no-r)
1708 -oldincludedir |
--oldincludedir |
--oldincludedi |
--oldincluded \
1709 |
--oldinclude |
--oldinclud |
--oldinclu |
--oldincl |
--oldinc \
1710 |
--oldin |
--oldi |
--old |
--ol |
--o)
1711 ac_prev
=oldincludedir
;;
1712 -oldincludedir=* |
--oldincludedir=* |
--oldincludedi=* |
--oldincluded=* \
1713 |
--oldinclude=* |
--oldinclud=* |
--oldinclu=* |
--oldincl=* |
--oldinc=* \
1714 |
--oldin=* |
--oldi=* |
--old=* |
--ol=* |
--o=*)
1715 oldincludedir
=$ac_optarg ;;
1717 -prefix |
--prefix |
--prefi |
--pref |
--pre |
--pr |
--p)
1719 -prefix=* |
--prefix=* |
--prefi=* |
--pref=* |
--pre=* |
--pr=* |
--p=*)
1720 prefix
=$ac_optarg ;;
1722 -program-prefix |
--program-prefix |
--program-prefi |
--program-pref \
1723 |
--program-pre |
--program-pr |
--program-p)
1724 ac_prev
=program_prefix
;;
1725 -program-prefix=* |
--program-prefix=* |
--program-prefi=* \
1726 |
--program-pref=* |
--program-pre=* |
--program-pr=* |
--program-p=*)
1727 program_prefix
=$ac_optarg ;;
1729 -program-suffix |
--program-suffix |
--program-suffi |
--program-suff \
1730 |
--program-suf |
--program-su |
--program-s)
1731 ac_prev
=program_suffix
;;
1732 -program-suffix=* |
--program-suffix=* |
--program-suffi=* \
1733 |
--program-suff=* |
--program-suf=* |
--program-su=* |
--program-s=*)
1734 program_suffix
=$ac_optarg ;;
1736 -program-transform-name |
--program-transform-name \
1737 |
--program-transform-nam |
--program-transform-na \
1738 |
--program-transform-n |
--program-transform- \
1739 |
--program-transform |
--program-transfor \
1740 |
--program-transfo |
--program-transf \
1741 |
--program-trans |
--program-tran \
1742 |
--progr-tra |
--program-tr |
--program-t)
1743 ac_prev
=program_transform_name
;;
1744 -program-transform-name=* |
--program-transform-name=* \
1745 |
--program-transform-nam=* |
--program-transform-na=* \
1746 |
--program-transform-n=* |
--program-transform-=* \
1747 |
--program-transform=* |
--program-transfor=* \
1748 |
--program-transfo=* |
--program-transf=* \
1749 |
--program-trans=* |
--program-tran=* \
1750 |
--progr-tra=* |
--program-tr=* |
--program-t=*)
1751 program_transform_name
=$ac_optarg ;;
1753 -pdfdir |
--pdfdir |
--pdfdi |
--pdfd |
--pdf |
--pd)
1755 -pdfdir=* |
--pdfdir=* |
--pdfdi=* |
--pdfd=* |
--pdf=* |
--pd=*)
1756 pdfdir
=$ac_optarg ;;
1758 -psdir |
--psdir |
--psdi |
--psd |
--ps)
1760 -psdir=* |
--psdir=* |
--psdi=* |
--psd=* |
--ps=*)
1763 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
1764 |
-silent |
--silent |
--silen |
--sile |
--sil)
1767 -sbindir |
--sbindir |
--sbindi |
--sbind |
--sbin |
--sbi |
--sb)
1769 -sbindir=* |
--sbindir=* |
--sbindi=* |
--sbind=* |
--sbin=* \
1771 sbindir
=$ac_optarg ;;
1773 -sharedstatedir |
--sharedstatedir |
--sharedstatedi \
1774 |
--sharedstated |
--sharedstate |
--sharedstat |
--sharedsta \
1775 |
--sharedst |
--shareds |
--shared |
--share |
--shar \
1777 ac_prev
=sharedstatedir
;;
1778 -sharedstatedir=* |
--sharedstatedir=* |
--sharedstatedi=* \
1779 |
--sharedstated=* |
--sharedstate=* |
--sharedstat=* |
--sharedsta=* \
1780 |
--sharedst=* |
--shareds=* |
--shared=* |
--share=* |
--shar=* \
1782 sharedstatedir
=$ac_optarg ;;
1784 -site |
--site |
--sit)
1786 -site=* |
--site=* |
--sit=*)
1789 -srcdir |
--srcdir |
--srcdi |
--srcd |
--src |
--sr)
1791 -srcdir=* |
--srcdir=* |
--srcdi=* |
--srcd=* |
--src=* |
--sr=*)
1792 srcdir
=$ac_optarg ;;
1794 -sysconfdir |
--sysconfdir |
--sysconfdi |
--sysconfd |
--sysconf \
1795 |
--syscon |
--sysco |
--sysc |
--sys |
--sy)
1796 ac_prev
=sysconfdir
;;
1797 -sysconfdir=* |
--sysconfdir=* |
--sysconfdi=* |
--sysconfd=* |
--sysconf=* \
1798 |
--syscon=* |
--sysco=* |
--sysc=* |
--sys=* |
--sy=*)
1799 sysconfdir
=$ac_optarg ;;
1801 -target |
--target |
--targe |
--targ |
--tar |
--ta |
--t)
1802 ac_prev
=target_alias
;;
1803 -target=* |
--target=* |
--targe=* |
--targ=* |
--tar=* |
--ta=* |
--t=*)
1804 target_alias
=$ac_optarg ;;
1806 -v |
-verbose |
--verbose |
--verbos |
--verbo |
--verb)
1809 -version |
--version |
--versio |
--versi |
--vers |
-V)
1810 ac_init_version
=: ;;
1813 ac_useropt
=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1814 # Reject names that are not valid shell variable names.
1815 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
1816 as_fn_error $?
"invalid package name: $ac_useropt"
1817 ac_useropt_orig
=$ac_useropt
1818 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1819 case $ac_user_opts in
1823 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
1824 ac_unrecognized_sep
=', ';;
1826 eval with_
$ac_useropt=\
$ac_optarg ;;
1828 -without-* |
--without-*)
1829 ac_useropt
=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1830 # Reject names that are not valid shell variable names.
1831 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
1832 as_fn_error $?
"invalid package name: $ac_useropt"
1833 ac_useropt_orig
=$ac_useropt
1834 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1835 case $ac_user_opts in
1839 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
1840 ac_unrecognized_sep
=', ';;
1842 eval with_
$ac_useropt=no
;;
1845 # Obsolete; use --with-x.
1848 -x-includes |
--x-includes |
--x-include |
--x-includ |
--x-inclu \
1849 |
--x-incl |
--x-inc |
--x-in |
--x-i)
1850 ac_prev
=x_includes
;;
1851 -x-includes=* |
--x-includes=* |
--x-include=* |
--x-includ=* |
--x-inclu=* \
1852 |
--x-incl=* |
--x-inc=* |
--x-in=* |
--x-i=*)
1853 x_includes
=$ac_optarg ;;
1855 -x-libraries |
--x-libraries |
--x-librarie |
--x-librari \
1856 |
--x-librar |
--x-libra |
--x-libr |
--x-lib |
--x-li |
--x-l)
1857 ac_prev
=x_libraries
;;
1858 -x-libraries=* |
--x-libraries=* |
--x-librarie=* |
--x-librari=* \
1859 |
--x-librar=* |
--x-libra=* |
--x-libr=* |
--x-lib=* |
--x-li=* |
--x-l=*)
1860 x_libraries
=$ac_optarg ;;
1862 -*) as_fn_error $?
"unrecognized option: \`$ac_option'
1863 Try \`$0 --help' for more information"
1867 ac_envvar
=`expr "x$ac_option" : 'x\([^=]*\)='`
1868 # Reject names that are not valid shell variable names.
1869 case $ac_envvar in #(
1870 '' |
[0-9]* |
*[!_
$as_cr_alnum]* )
1871 as_fn_error $?
"invalid variable name: \`$ac_envvar'" ;;
1873 eval $ac_envvar=\
$ac_optarg
1874 export $ac_envvar ;;
1877 # FIXME: should be removed in autoconf 3.0.
1878 $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1879 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev
/null
&&
1880 $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1881 : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}"
1887 if test -n "$ac_prev"; then
1888 ac_option
=--`echo $ac_prev | sed 's/_/-/g'`
1889 as_fn_error $?
"missing argument to $ac_option"
1892 if test -n "$ac_unrecognized_opts"; then
1893 case $enable_option_checking in
1895 fatal
) as_fn_error $?
"unrecognized options: $ac_unrecognized_opts" ;;
1896 *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
1900 # Check all directory arguments for consistency.
1901 for ac_var
in exec_prefix prefix bindir sbindir libexecdir datarootdir \
1902 datadir sysconfdir sharedstatedir localstatedir includedir \
1903 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1904 libdir localedir mandir
1906 eval ac_val
=\$
$ac_var
1907 # Remove trailing slashes.
1910 ac_val
=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
1911 eval $ac_var=\
$ac_val;;
1913 # Be sure to have absolute directory names.
1915 [\\/$
]* | ?
:[\\/]* ) continue;;
1916 NONE |
'' ) case $ac_var in *prefix
) continue;; esac;;
1918 as_fn_error $?
"expected an absolute directory name for --$ac_var: $ac_val"
1921 # There might be people who depend on the old broken behavior: `$host'
1922 # used to hold the argument of --host etc.
1923 # FIXME: To remove some day.
1926 target
=$target_alias
1928 # FIXME: To remove some day.
1929 if test "x$host_alias" != x
; then
1930 if test "x$build_alias" = x
; then
1931 cross_compiling
=maybe
1932 elif test "x$build_alias" != "x$host_alias"; then
1938 test -n "$host_alias" && ac_tool_prefix
=$host_alias-
1940 test "$silent" = yes && exec 6>/dev
/null
1943 ac_pwd
=`pwd` && test -n "$ac_pwd" &&
1944 ac_ls_di
=`ls -di .` &&
1945 ac_pwd_ls_di
=`cd "$ac_pwd" && ls -di .` ||
1946 as_fn_error $?
"working directory cannot be determined"
1947 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1948 as_fn_error $?
"pwd does not report name of working directory"
1951 # Find the source files, if location was not specified.
1952 if test -z "$srcdir"; then
1953 ac_srcdir_defaulted
=yes
1954 # Try the directory containing this script, then the parent directory.
1955 ac_confdir
=`$as_dirname -- "$as_myself" ||
1956 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1957 X"$as_myself" : 'X\(//\)[^/]' \| \
1958 X"$as_myself" : 'X\(//\)$' \| \
1959 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
1960 $as_echo X"$as_myself" |
1961 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1979 if test ! -r "$srcdir/$ac_unique_file"; then
1983 ac_srcdir_defaulted
=no
1985 if test ! -r "$srcdir/$ac_unique_file"; then
1986 test "$ac_srcdir_defaulted" = yes && srcdir
="$ac_confdir or .."
1987 as_fn_error $?
"cannot find sources ($ac_unique_file) in $srcdir"
1989 ac_msg
="sources are in $srcdir, but \`cd $srcdir' does not work"
1991 cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
1993 # When building in place, set srcdir=.
1994 if test "$ac_abs_confdir" = "$ac_pwd"; then
1997 # Remove unnecessary trailing slashes from srcdir.
1998 # Double slashes in file names in object file debugging info
1999 # mess up M-x gdb in Emacs.
2001 */) srcdir
=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
2003 for ac_var
in $ac_precious_vars; do
2004 eval ac_env_
${ac_var}_set=\${${ac_var}+set}
2005 eval ac_env_
${ac_var}_value
=\$
${ac_var}
2006 eval ac_cv_env_
${ac_var}_set=\${${ac_var}+set}
2007 eval ac_cv_env_
${ac_var}_value
=\$
${ac_var}
2011 # Report the --help message.
2013 if test "$ac_init_help" = "long"; then
2014 # Omit some internal or obsolete options to make the list less imposing.
2015 # This message is too long to be a string in the A/UX 3.1 sh.
2017 \`configure' configures Wine 1.7.36 to adapt to many kinds of systems.
2019 Usage: $0 [OPTION]... [VAR=VALUE]...
2021 To assign environment variables (e.g., CC, CFLAGS...), specify them as
2022 VAR=VALUE. See below for descriptions of some of the useful variables.
2024 Defaults for the options are specified in brackets.
2027 -h, --help display this help and exit
2028 --help=short display options specific to this package
2029 --help=recursive display the short help of all the included packages
2030 -V, --version display version information and exit
2031 -q, --quiet, --silent do not print \`checking ...' messages
2032 --cache-file=FILE cache test results in FILE [disabled]
2033 -C, --config-cache alias for \`--cache-file=config.cache'
2034 -n, --no-create do not create output files
2035 --srcdir=DIR find the sources in DIR [configure dir or \`..']
2037 Installation directories:
2038 --prefix=PREFIX install architecture-independent files in PREFIX
2039 [$ac_default_prefix]
2040 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
2043 By default, \`make install' will install all the files in
2044 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
2045 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
2046 for instance \`--prefix=\$HOME'.
2048 For better control, use the options below.
2050 Fine tuning of the installation directories:
2051 --bindir=DIR user executables [EPREFIX/bin]
2052 --sbindir=DIR system admin executables [EPREFIX/sbin]
2053 --libexecdir=DIR program executables [EPREFIX/libexec]
2054 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
2055 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
2056 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
2057 --libdir=DIR object code libraries [EPREFIX/lib]
2058 --includedir=DIR C header files [PREFIX/include]
2059 --oldincludedir=DIR C header files for non-gcc [/usr/include]
2060 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
2061 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
2062 --infodir=DIR info documentation [DATAROOTDIR/info]
2063 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
2064 --mandir=DIR man documentation [DATAROOTDIR/man]
2065 --docdir=DIR documentation root [DATAROOTDIR/doc/wine]
2066 --htmldir=DIR html documentation [DOCDIR]
2067 --dvidir=DIR dvi documentation [DOCDIR]
2068 --pdfdir=DIR pdf documentation [DOCDIR]
2069 --psdir=DIR ps documentation [DOCDIR]
2075 --x-includes=DIR X include files are
in DIR
2076 --x-libraries=DIR X library files are
in DIR
2079 --build=BUILD configure
for building on BUILD
[guessed
]
2080 --host=HOST cross-compile to build programs to run on HOST
[BUILD
]
2084 if test -n "$ac_init_help"; then
2085 case $ac_init_help in
2086 short | recursive
) echo "Configuration of Wine 1.7.36:";;
2091 --disable-option-checking ignore unrecognized
--enable/--with options
2092 --disable-FEATURE do not include FEATURE
(same as
--enable-FEATURE=no
)
2093 --enable-FEATURE[=ARG
] include FEATURE
[ARG
=yes]
2094 --disable-win16 do not include Win16 support
2095 --enable-win64 build a Win64 emulator on AMD64
(won
't run Win32
2097 --disable-tests do not build the regression tests
2098 --enable-maintainer-mode
2099 enable maintainer-specific build rules
2100 --disable-largefile omit support for large files
2103 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
2104 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
2105 --without-alsa do not use the Alsa sound support
2106 --without-capi do not use CAPI (ISDN support)
2107 --without-cms do not use CMS (color management support)
2108 --without-coreaudio do not use the CoreAudio sound support
2109 --without-cups do not use CUPS
2110 --without-curses do not use (n)curses
2111 --without-dbus do not use DBus (dynamic device support)
2112 --without-fontconfig do not use fontconfig
2113 --without-freetype do not use the FreeType library
2114 --without-gettext do not use gettext
2115 --with-gettextpo use the GetTextPO library to rebuild po files
2116 --without-gphoto do not use gphoto (Digital Camera support)
2117 --without-glu do not use the GLU library
2118 --without-gnutls do not use GnuTLS (schannel support)
2119 --without-gsm do not use libgsm (GSM 06.10 codec support)
2120 --without-gstreamer do not use GStreamer (codecs support)
2121 --without-hal do not use HAL (dynamic device support)
2122 --without-jpeg do not use JPEG
2123 --without-ldap do not use LDAP
2124 --without-mpg123 do not use the mpg123 library
2125 --without-netapi do not use the Samba NetAPI library
2126 --without-openal do not use OpenAL
2127 --without-opencl do not use OpenCL
2128 --without-opengl do not use OpenGL
2129 --without-osmesa do not use the OSMesa library
2130 --without-oss do not use the OSS sound support
2131 --without-pcap do not use the Packet Capture library
2132 --without-png do not use PNG
2133 --without-pthread do not use the pthread library
2134 --without-sane do not use SANE (scanner support)
2135 --without-tiff do not use TIFF
2136 --without-v4l do not use v4l1 (v4l support)
2137 --without-xcomposite do not use the Xcomposite extension
2138 --without-xcursor do not use the Xcursor extension
2139 --without-xinerama do not use Xinerama (multi-monitor support)
2140 --without-xinput do not use the Xinput extension
2141 --without-xinput2 do not use the Xinput 2 extension
2142 --without-xml do not use XML
2143 --without-xrandr do not use Xrandr (resolution changes)
2144 --without-xrender do not use the Xrender extension
2145 --without-xshape do not use the Xshape extension
2146 --without-xshm do not use XShm (shared memory extension)
2147 --without-xslt do not use XSLT
2148 --without-xxf86vm do not use XFree video mode extension
2149 --without-zlib do not use Zlib (data compression)
2150 --with-wine-tools=DIR use Wine tools from directory DIR
2151 --with-wine64=DIR use the 64-bit Wine in DIR for a Wow64 build
2152 --with-x use the X Window System
2154 Some influential environment variables:
2155 CC C compiler command
2156 CFLAGS C compiler flags
2157 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
2158 nonstandard directory <lib dir>
2159 LIBS libraries to pass to the linker, e.g. -l<library>
2160 CPPFLAGS (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if
2161 you have headers in a nonstandard directory <include dir>
2162 CXX C++ compiler command
2163 CXXFLAGS C++ compiler flags
2165 XMKMF Path to xmkmf, Makefile generator for X Window System
2166 XML2_CFLAGS C compiler flags for libxml-2.0, overriding pkg-config
2167 XML2_LIBS Linker flags for libxml-2.0, overriding pkg-config
2168 XSLT_CFLAGS C compiler flags for libxslt, overriding pkg-config
2169 XSLT_LIBS Linker flags for libxslt, overriding pkg-config
2170 DBUS_CFLAGS C compiler flags for dbus-1, overriding pkg-config
2171 DBUS_LIBS Linker flags for dbus-1, overriding pkg-config
2172 HAL_CFLAGS C compiler flags for hal, overriding pkg-config
2173 HAL_LIBS Linker flags for hal, overriding pkg-config
2175 C compiler flags for gnutls, overriding pkg-config
2176 GNUTLS_LIBS Linker flags for gnutls, overriding pkg-config
2177 SANE_CFLAGS C compiler flags for libsane, overriding pkg-config
2178 SANE_LIBS Linker flags for libsane, overriding pkg-config
2180 C compiler flags for libgphoto2, overriding pkg-config
2182 Linker flags for libgphoto2, overriding pkg-config
2184 C compiler flags for libgphoto2_port, overriding pkg-config
2186 Linker flags for libgphoto2_port, overriding pkg-config
2188 C compiler flags for lcms2, overriding pkg-config
2189 LCMS2_LIBS Linker flags for lcms2, overriding pkg-config
2191 C compiler flags for freetype2, overriding pkg-config
2193 Linker flags for freetype2, overriding pkg-config
2195 C compiler flags for gstreamer-app-0.10, overriding pkg-config
2197 Linker flags for gstreamer-app-0.10, overriding pkg-config
2199 C compiler flags for capi20, overriding pkg-config
2200 CAPI20_LIBS Linker flags for capi20, overriding pkg-config
2202 C compiler flags for fontconfig, overriding pkg-config
2204 Linker flags for fontconfig, overriding pkg-config
2205 JPEG_CFLAGS C compiler flags for libjpeg, overriding pkg-config
2206 JPEG_LIBS Linker flags for libjpeg, overriding pkg-config
2207 PNG_CFLAGS C compiler flags for libpng, overriding pkg-config
2208 PNG_LIBS Linker flags for libpng, overriding pkg-config
2209 TIFF_CFLAGS C compiler flags for libtiff, overriding pkg-config
2210 TIFF_LIBS Linker flags for libtiff, overriding pkg-config
2212 C compiler flags for libmpg123, overriding pkg-config
2213 MPG123_LIBS Linker flags for libmpg123, overriding pkg-config
2215 Use these variables to override the choices made by `configure' or to
help
2216 it to
find libraries and programs with nonstandard names
/locations.
2218 Report bugs to
<wine-devel@winehq.org
>.
2219 Wine home page
: <http
://www.winehq.org
>.
2224 if test "$ac_init_help" = "recursive"; then
2225 # If there are subdirs, report their specific --help.
2226 for ac_dir
in : $ac_subdirs_all; do test "x$ac_dir" = x
: && continue
2227 test -d "$ac_dir" ||
2228 { cd "$srcdir" && ac_pwd
=`pwd` && srcdir
=.
&& test -d "$ac_dir"; } ||
2233 .
) ac_dir_suffix
= ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
2235 ac_dir_suffix
=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
2236 # A ".." for each directory in $ac_dir_suffix.
2237 ac_top_builddir_sub
=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
2238 case $ac_top_builddir_sub in
2239 "") ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
2240 *) ac_top_build_prefix
=$ac_top_builddir_sub/ ;;
2243 ac_abs_top_builddir
=$ac_pwd
2244 ac_abs_builddir
=$ac_pwd$ac_dir_suffix
2245 # for backward compatibility:
2246 ac_top_builddir
=$ac_top_build_prefix
2249 .
) # We are building in place.
2251 ac_top_srcdir
=$ac_top_builddir_sub
2252 ac_abs_top_srcdir
=$ac_pwd ;;
2253 [\\/]* | ?
:[\\/]* ) # Absolute name.
2254 ac_srcdir
=$srcdir$ac_dir_suffix;
2255 ac_top_srcdir
=$srcdir
2256 ac_abs_top_srcdir
=$srcdir ;;
2258 ac_srcdir
=$ac_top_build_prefix$srcdir$ac_dir_suffix
2259 ac_top_srcdir
=$ac_top_build_prefix$srcdir
2260 ac_abs_top_srcdir
=$ac_pwd/$srcdir ;;
2262 ac_abs_srcdir
=$ac_abs_top_srcdir$ac_dir_suffix
2264 cd "$ac_dir" ||
{ ac_status
=$?
; continue; }
2265 # Check for guested configure.
2266 if test -f "$ac_srcdir/configure.gnu"; then
2268 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
2269 elif test -f "$ac_srcdir/configure"; then
2271 $SHELL "$ac_srcdir/configure" --help=recursive
2273 $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
2275 cd "$ac_pwd" ||
{ ac_status
=$?
; break; }
2279 test -n "$ac_init_help" && exit $ac_status
2280 if $ac_init_version; then
2282 Wine configure
1.7.36
2283 generated by GNU Autoconf
2.69
2285 Copyright
(C
) 2012 Free Software Foundation
, Inc.
2286 This configure
script is free software
; the Free Software Foundation
2287 gives unlimited permission to copy
, distribute and modify it.
2292 ## ------------------------ ##
2293 ## Autoconf initialization. ##
2294 ## ------------------------ ##
2296 # ac_fn_c_try_compile LINENO
2297 # --------------------------
2298 # Try to compile conftest.$ac_ext, and return whether this succeeded.
2299 ac_fn_c_try_compile
()
2301 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
2302 rm -f conftest.
$ac_objext
2303 if { { ac_try
="$ac_compile"
2305 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
2306 *) ac_try_echo=$ac_try;;
2308 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2309 $as_echo "$ac_try_echo"; } >&5
2310 (eval "$ac_compile") 2>conftest.err
2312 if test -s conftest.err; then
2313 grep -v '^ *+' conftest.err >conftest.er1
2314 cat conftest.er1 >&5
2315 mv -f conftest.er1 conftest.err
2317 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2318 test $ac_status = 0; } && {
2319 test -z "$ac_c_werror_flag" ||
2320 test ! -s conftest.err
2321 } && test -s conftest.$ac_objext; then :
2324 $as_echo "$as_me: failed program was:" >&5
2325 sed 's/^/| /' conftest.$ac_ext >&5
2329 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2330 as_fn_set_status $ac_retval
2332 } # ac_fn_c_try_compile
2334 # ac_fn_cxx_try_compile LINENO
2335 # ----------------------------
2336 # Try to compile conftest.$ac_ext, and return whether this succeeded.
2337 ac_fn_cxx_try_compile ()
2339 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2340 rm -f conftest.$ac_objext
2341 if { { ac_try="$ac_compile"
2343 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
2344 *) ac_try_echo
=$ac_try;;
2346 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2347 $as_echo "$ac_try_echo"; } >&5
2348 (eval "$ac_compile") 2>conftest.err
2350 if test -s conftest.err
; then
2351 grep -v '^ *+' conftest.err
>conftest.er1
2352 cat conftest.er1
>&5
2353 mv -f conftest.er1 conftest.err
2355 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2356 test $ac_status = 0; } && {
2357 test -z "$ac_cxx_werror_flag" ||
2358 test ! -s conftest.err
2359 } && test -s conftest.
$ac_objext; then :
2362 $as_echo "$as_me: failed program was:" >&5
2363 sed 's/^/| /' conftest.
$ac_ext >&5
2367 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2368 as_fn_set_status
$ac_retval
2370 } # ac_fn_cxx_try_compile
2372 # ac_fn_c_try_link LINENO
2373 # -----------------------
2374 # Try to link conftest.$ac_ext, and return whether this succeeded.
2377 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
2378 rm -f conftest.
$ac_objext conftest
$ac_exeext
2379 if { { ac_try
="$ac_link"
2381 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
2382 *) ac_try_echo=$ac_try;;
2384 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2385 $as_echo "$ac_try_echo"; } >&5
2386 (eval "$ac_link") 2>conftest.err
2388 if test -s conftest.err; then
2389 grep -v '^ *+' conftest.err >conftest.er1
2390 cat conftest.er1 >&5
2391 mv -f conftest.er1 conftest.err
2393 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2394 test $ac_status = 0; } && {
2395 test -z "$ac_c_werror_flag" ||
2396 test ! -s conftest.err
2397 } && test -s conftest$ac_exeext && {
2398 test "$cross_compiling" = yes ||
2399 test -x conftest$ac_exeext
2403 $as_echo "$as_me: failed program was:" >&5
2404 sed 's/^/| /' conftest.$ac_ext >&5
2408 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
2409 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
2410 # interfere with the next link command; also delete a directory that is
2411 # left behind by Apple's compiler. We do this before executing the actions.
2412 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
2413 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2414 as_fn_set_status $ac_retval
2416 } # ac_fn_c_try_link
2418 # ac_fn_c_try_cpp LINENO
2419 # ----------------------
2420 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
2423 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2424 if { { ac_try="$ac_cpp conftest.$ac_ext"
2426 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
2427 *) ac_try_echo
=$ac_try;;
2429 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2430 $as_echo "$ac_try_echo"; } >&5
2431 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
2433 if test -s conftest.err
; then
2434 grep -v '^ *+' conftest.err
>conftest.er1
2435 cat conftest.er1
>&5
2436 mv -f conftest.er1 conftest.err
2438 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2439 test $ac_status = 0; } > conftest.i
&& {
2440 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
2441 test ! -s conftest.err
2445 $as_echo "$as_me: failed program was:" >&5
2446 sed 's/^/| /' conftest.
$ac_ext >&5
2450 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2451 as_fn_set_status
$ac_retval
2455 # ac_fn_c_check_header_mongrel LINENO HEADER VAR INCLUDES
2456 # -------------------------------------------------------
2457 # Tests whether HEADER exists, giving a warning if it cannot be compiled using
2458 # the include files in INCLUDES and setting the cache variable VAR
2460 ac_fn_c_check_header_mongrel
()
2462 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
2463 if eval \
${$3+:} false
; then :
2464 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2465 $as_echo_n "checking for $2... " >&6; }
2466 if eval \
${$3+:} false
; then :
2467 $as_echo_n "(cached) " >&6
2470 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2471 $as_echo "$ac_res" >&6; }
2473 # Is the header compilable?
2474 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
2475 $as_echo_n "checking $2 usability... " >&6; }
2476 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
2477 /* end confdefs.h. */
2481 if ac_fn_c_try_compile
"$LINENO"; then :
2482 ac_header_compiler
=yes
2484 ac_header_compiler
=no
2486 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
2487 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
2488 $as_echo "$ac_header_compiler" >&6; }
2490 # Is the header present?
2491 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
2492 $as_echo_n "checking $2 presence... " >&6; }
2493 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
2494 /* end confdefs.h. */
2497 if ac_fn_c_try_cpp
"$LINENO"; then :
2498 ac_header_preproc
=yes
2500 ac_header_preproc
=no
2502 rm -f conftest.err conftest.i conftest.
$ac_ext
2503 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
2504 $as_echo "$ac_header_preproc" >&6; }
2506 # So? What about this header?
2507 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in #((
2509 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
2510 $as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
2511 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
2512 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
2515 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
2516 $as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
2517 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: check for missing prerequisite headers?" >&5
2518 $as_echo "$as_me: WARNING: $2: check for missing prerequisite headers?" >&2;}
2519 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
2520 $as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
2521 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&5
2522 $as_echo "$as_me: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&2;}
2523 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
2524 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
2525 ( $as_echo "## ------------------------------------ ##
2526 ## Report this to wine-devel@winehq.org ##
2527 ## ------------------------------------ ##"
2528 ) |
sed "s/^/$as_me: WARNING: /" >&2
2531 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2532 $as_echo_n "checking for $2... " >&6; }
2533 if eval \
${$3+:} false
; then :
2534 $as_echo_n "(cached) " >&6
2536 eval "$3=\$ac_header_compiler"
2539 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2540 $as_echo "$ac_res" >&6; }
2542 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2544 } # ac_fn_c_check_header_mongrel
2546 # ac_fn_c_try_run LINENO
2547 # ----------------------
2548 # Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
2549 # that executables *can* be run.
2552 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
2553 if { { ac_try
="$ac_link"
2555 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
2556 *) ac_try_echo=$ac_try;;
2558 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2559 $as_echo "$ac_try_echo"; } >&5
2560 (eval "$ac_link") 2>&5
2562 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2563 test $ac_status = 0; } && { ac_try='./conftest$ac_exeext'
2564 { { case "(($ac_try" in
2565 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
2566 *) ac_try_echo
=$ac_try;;
2568 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2569 $as_echo "$ac_try_echo"; } >&5
2570 (eval "$ac_try") 2>&5
2572 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2573 test $ac_status = 0; }; }; then :
2576 $as_echo "$as_me: program exited with status $ac_status" >&5
2577 $as_echo "$as_me: failed program was:" >&5
2578 sed 's/^/| /' conftest.
$ac_ext >&5
2580 ac_retval
=$ac_status
2582 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
2583 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2584 as_fn_set_status
$ac_retval
2588 # ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
2589 # -------------------------------------------------------
2590 # Tests whether HEADER exists and can be compiled using the include files in
2591 # INCLUDES, setting the cache variable VAR accordingly.
2592 ac_fn_c_check_header_compile
()
2594 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
2595 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2596 $as_echo_n "checking for $2... " >&6; }
2597 if eval \
${$3+:} false
; then :
2598 $as_echo_n "(cached) " >&6
2600 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
2601 /* end confdefs.h. */
2605 if ac_fn_c_try_compile
"$LINENO"; then :
2610 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
2613 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2614 $as_echo "$ac_res" >&6; }
2615 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2617 } # ac_fn_c_check_header_compile
2619 # ac_fn_c_check_func LINENO FUNC VAR
2620 # ----------------------------------
2621 # Tests whether FUNC exists, setting the cache variable VAR accordingly
2622 ac_fn_c_check_func
()
2624 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
2625 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2626 $as_echo_n "checking for $2... " >&6; }
2627 if eval \
${$3+:} false
; then :
2628 $as_echo_n "(cached) " >&6
2630 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
2631 /* end confdefs.h. */
2632 /* Define $2 to an innocuous variant, in case <limits.h> declares $2.
2633 For example, HP-UX 11i <limits.h> declares gettimeofday. */
2634 #define $2 innocuous_$2
2636 /* System header to define __stub macros and hopefully few prototypes,
2637 which can conflict with char $2 (); below.
2638 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
2639 <limits.h> exists even on freestanding compilers. */
2642 # include <limits.h>
2644 # include <assert.h>
2649 /* Override any GCC internal prototype to avoid an error.
2650 Use char because int might match the return type of a GCC
2651 builtin and then its argument prototype would still apply. */
2656 /* The GNU C library defines this for functions which it implements
2657 to always fail with ENOSYS. Some functions are actually named
2658 something starting with __ and the normal name is an alias. */
2659 #if defined __stub_$2 || defined __stub___$2
2671 if ac_fn_c_try_link
"$LINENO"; then :
2676 rm -f core conftest.err conftest.
$ac_objext \
2677 conftest
$ac_exeext conftest.
$ac_ext
2680 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2681 $as_echo "$ac_res" >&6; }
2682 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2684 } # ac_fn_c_check_func
2686 # ac_fn_c_check_member LINENO AGGR MEMBER VAR INCLUDES
2687 # ----------------------------------------------------
2688 # Tries to find if the field MEMBER exists in type AGGR, after including
2689 # INCLUDES, setting cache variable VAR accordingly.
2690 ac_fn_c_check_member
()
2692 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
2693 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2.$3" >&5
2694 $as_echo_n "checking for $2.$3... " >&6; }
2695 if eval \
${$4+:} false
; then :
2696 $as_echo_n "(cached) " >&6
2698 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
2699 /* end confdefs.h. */
2711 if ac_fn_c_try_compile
"$LINENO"; then :
2714 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
2715 /* end confdefs.h. */
2721 if (sizeof ac_aggr.$3)
2727 if ac_fn_c_try_compile
"$LINENO"; then :
2732 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
2734 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
2737 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2738 $as_echo "$ac_res" >&6; }
2739 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2741 } # ac_fn_c_check_member
2743 # ac_fn_c_check_type LINENO TYPE VAR INCLUDES
2744 # -------------------------------------------
2745 # Tests whether TYPE exists after having included INCLUDES, setting cache
2746 # variable VAR accordingly.
2747 ac_fn_c_check_type
()
2749 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
2750 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2751 $as_echo_n "checking for $2... " >&6; }
2752 if eval \
${$3+:} false
; then :
2753 $as_echo_n "(cached) " >&6
2756 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
2757 /* end confdefs.h. */
2768 if ac_fn_c_try_compile
"$LINENO"; then :
2769 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
2770 /* end confdefs.h. */
2781 if ac_fn_c_try_compile
"$LINENO"; then :
2786 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
2788 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
2791 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2792 $as_echo "$ac_res" >&6; }
2793 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2795 } # ac_fn_c_check_type
2796 cat >config.log
<<_ACEOF
2797 This file contains any messages produced by compilers while
2798 running configure, to aid debugging if configure makes a mistake.
2800 It was created by Wine $as_me 1.7.36, which was
2801 generated by GNU Autoconf 2.69. Invocation command line was
2813 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
2814 uname -m = `(uname -m) 2>/dev/null || echo unknown`
2815 uname -r = `(uname -r) 2>/dev/null || echo unknown`
2816 uname -s = `(uname -s) 2>/dev/null || echo unknown`
2817 uname -v = `(uname -v) 2>/dev/null || echo unknown`
2819 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
2820 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
2822 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
2823 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
2824 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
2825 /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
2826 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
2827 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
2828 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
2832 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2836 test -z "$as_dir" && as_dir
=.
2837 $as_echo "PATH: $as_dir"
2853 # Keep a trace of the command line.
2854 # Strip out --no-create and --no-recursion so they do not pile up.
2855 # Strip out --silent because we don't want to record it for future runs.
2856 # Also quote any args containing shell meta-characters.
2857 # Make two passes to allow for proper duplicate-argument suppression.
2861 ac_must_keep_next
=false
2867 -no-create |
--no-c* |
-n |
-no-recursion |
--no-r*) continue ;;
2868 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
2869 |
-silent |
--silent |
--silen |
--sile |
--sil)
2872 ac_arg
=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
2875 1) as_fn_append ac_configure_args0
" '$ac_arg'" ;;
2877 as_fn_append ac_configure_args1
" '$ac_arg'"
2878 if test $ac_must_keep_next = true
; then
2879 ac_must_keep_next
=false
# Got value, back to normal.
2882 *=* |
--config-cache |
-C |
-disable-* |
--disable-* \
2883 |
-enable-* |
--enable-* |
-gas |
--g* |
-nfp |
--nf* \
2884 |
-q |
-quiet |
--q* |
-silent |
--sil* |
-v |
-verb* \
2885 |
-with-* |
--with-* |
-without-* |
--without-* |
--x)
2886 case "$ac_configure_args0 " in
2887 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
2890 -* ) ac_must_keep_next
=true
;;
2893 as_fn_append ac_configure_args
" '$ac_arg'"
2898 { ac_configure_args0
=; unset ac_configure_args0
;}
2899 { ac_configure_args1
=; unset ac_configure_args1
;}
2901 # When interrupted or exit'd, cleanup temporary files, and complete
2902 # config.log. We remove comments because anyway the quotes in there
2903 # would cause problems or look ugly.
2904 # WARNING: Use '\'' to represent an apostrophe within the trap.
2905 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
2906 trap 'exit_status=$?
2907 # Save into config.log some information that might help in debugging.
2911 $as_echo "## ---------------- ##
2912 ## Cache variables. ##
2913 ## ---------------- ##"
2915 # The following way of writing the cache mishandles newlines in values,
2917 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
2918 eval ac_val=\$$ac_var
2922 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
2923 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
2926 _ | IFS | as_nl) ;; #(
2927 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
2928 *) { eval $ac_var=; unset $ac_var;} ;;
2933 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
2934 *${as_nl}ac_space=\ *)
2936 "s/'\''/'\''\\\\'\'''\''/g;
2937 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
2940 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
2947 $as_echo "## ----------------- ##
2948 ## Output variables. ##
2949 ## ----------------- ##"
2951 for ac_var in $ac_subst_vars
2953 eval ac_val=\$$ac_var
2955 *\'\''*) ac_val
=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2957 $as_echo "$ac_var='\''$ac_val'\''"
2961 if test -n "$ac_subst_files"; then
2962 $as_echo "## ------------------- ##
2963 ## File substitutions. ##
2964 ## ------------------- ##"
2966 for ac_var
in $ac_subst_files
2968 eval ac_val
=\$
$ac_var
2970 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2972 $as_echo "$ac_var='\''$ac_val'\''"
2977 if test -s confdefs.h; then
2978 $as_echo "## ----------- ##
2985 test "$ac_signal" != 0 &&
2986 $as_echo "$as_me: caught signal $ac_signal"
2987 $as_echo "$as_me: exit $exit_status"
2989 rm -f core *.core core.conftest.* &&
2990 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
2993 for ac_signal
in 1 2 13 15; do
2994 trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
2998 # confdefs.h avoids OS command line length limits that DEFS can exceed.
2999 rm -f -r conftest
* confdefs.h
3001 $as_echo "/* confdefs.h */" > confdefs.h
3003 # Predefined preprocessor variables.
3005 cat >>confdefs.h
<<_ACEOF
3006 #define PACKAGE_NAME "$PACKAGE_NAME"
3009 cat >>confdefs.h
<<_ACEOF
3010 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
3013 cat >>confdefs.h
<<_ACEOF
3014 #define PACKAGE_VERSION "$PACKAGE_VERSION"
3017 cat >>confdefs.h
<<_ACEOF
3018 #define PACKAGE_STRING "$PACKAGE_STRING"
3021 cat >>confdefs.h
<<_ACEOF
3022 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
3025 cat >>confdefs.h
<<_ACEOF
3026 #define PACKAGE_URL "$PACKAGE_URL"
3030 # Let the site file select an alternate cache file if it wants to.
3031 # Prefer an explicitly selected file to automatically selected ones.
3034 if test -n "$CONFIG_SITE"; then
3035 # We do not want a PATH search for config.site.
3036 case $CONFIG_SITE in #((
3037 -*) ac_site_file1
=.
/$CONFIG_SITE;;
3038 */*) ac_site_file1
=$CONFIG_SITE;;
3039 *) ac_site_file1
=.
/$CONFIG_SITE;;
3041 elif test "x$prefix" != xNONE
; then
3042 ac_site_file1
=$prefix/share
/config.site
3043 ac_site_file2
=$prefix/etc
/config.site
3045 ac_site_file1
=$ac_default_prefix/share
/config.site
3046 ac_site_file2
=$ac_default_prefix/etc
/config.site
3048 for ac_site_file
in "$ac_site_file1" "$ac_site_file2"
3050 test "x$ac_site_file" = xNONE
&& continue
3051 if test /dev
/null
!= "$ac_site_file" && test -r "$ac_site_file"; then
3052 { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
3053 $as_echo "$as_me: loading site script $ac_site_file" >&6;}
3054 sed 's/^/| /' "$ac_site_file" >&5
3056 ||
{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3057 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3058 as_fn_error $?
"failed to load site script $ac_site_file
3059 See \`config.log' for more details" "$LINENO" 5; }
3063 if test -r "$cache_file"; then
3064 # Some versions of bash will fail to source /dev/null (special files
3065 # actually), so we avoid doing that. DJGPP emulates it as a regular file.
3066 if test /dev
/null
!= "$cache_file" && test -f "$cache_file"; then
3067 { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
3068 $as_echo "$as_me: loading cache $cache_file" >&6;}
3070 [\\/]* | ?
:[\\/]* ) .
"$cache_file";;
3071 *) .
"./$cache_file";;
3075 { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
3076 $as_echo "$as_me: creating cache $cache_file" >&6;}
3080 # Check that the precious variables saved in the cache have kept the same
3082 ac_cache_corrupted
=false
3083 for ac_var
in $ac_precious_vars; do
3084 eval ac_old_set
=\
$ac_cv_env_${ac_var}_set
3085 eval ac_new_set
=\
$ac_env_${ac_var}_set
3086 eval ac_old_val
=\
$ac_cv_env_${ac_var}_value
3087 eval ac_new_val
=\
$ac_env_${ac_var}_value
3088 case $ac_old_set,$ac_new_set in
3090 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
3091 $as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
3092 ac_cache_corrupted
=: ;;
3094 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
3095 $as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
3096 ac_cache_corrupted
=: ;;
3099 if test "x$ac_old_val" != "x$ac_new_val"; then
3100 # differences in whitespace do not lead to failure.
3101 ac_old_val_w
=`echo x $ac_old_val`
3102 ac_new_val_w
=`echo x $ac_new_val`
3103 if test "$ac_old_val_w" != "$ac_new_val_w"; then
3104 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
3105 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
3106 ac_cache_corrupted
=:
3108 { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
3109 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
3110 eval $ac_var=\
$ac_old_val
3112 { $as_echo "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5
3113 $as_echo "$as_me: former value: \`$ac_old_val'" >&2;}
3114 { $as_echo "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5
3115 $as_echo "$as_me: current value: \`$ac_new_val'" >&2;}
3118 # Pass precious variables to config.status.
3119 if test "$ac_new_set" = set; then
3121 *\'*) ac_arg
=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
3122 *) ac_arg
=$ac_var=$ac_new_val ;;
3124 case " $ac_configure_args " in
3125 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
3126 *) as_fn_append ac_configure_args
" '$ac_arg'" ;;
3130 if $ac_cache_corrupted; then
3131 { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3132 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3133 { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
3134 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
3135 as_fn_error $?
"run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
3137 ## -------------------- ##
3138 ## Main body of script. ##
3139 ## -------------------- ##
3142 ac_cpp
='$CPP $CPPFLAGS'
3143 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3144 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3145 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
3149 ac_config_headers
="$ac_config_headers include/config.h"
3152 for ac_dir
in tools
"$srcdir"/tools
; do
3153 if test -f "$ac_dir/install-sh"; then
3155 ac_install_sh
="$ac_aux_dir/install-sh -c"
3157 elif test -f "$ac_dir/install.sh"; then
3159 ac_install_sh
="$ac_aux_dir/install.sh -c"
3161 elif test -f "$ac_dir/shtool"; then
3163 ac_install_sh
="$ac_aux_dir/shtool install -c"
3167 if test -z "$ac_aux_dir"; then
3168 as_fn_error $?
"cannot find install-sh, install.sh, or shtool in tools \"$srcdir\"/tools" "$LINENO" 5
3171 # These three variables are undocumented and unsupported,
3172 # and are intended to be withdrawn in a future Autoconf release.
3173 # They can cause serious problems if a builder's source tree is in a directory
3174 # whose full name contains unusual characters.
3175 ac_config_guess
="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
3176 ac_config_sub
="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
3177 ac_configure
="$SHELL $ac_aux_dir/configure" # Please don't use this var.
3181 libwine_version
="1.0"
3185 # Check whether --enable-win16 was given.
3186 if test "${enable_win16+set}" = set; then :
3187 enableval
=$enable_win16;
3190 # Check whether --enable-win64 was given.
3191 if test "${enable_win64+set}" = set; then :
3192 enableval
=$enable_win64;
3195 # Check whether --enable-tests was given.
3196 if test "${enable_tests+set}" = set; then :
3197 enableval
=$enable_tests;
3200 # Check whether --enable-maintainer-mode was given.
3201 if test "${enable_maintainer_mode+set}" = set; then :
3202 enableval
=$enable_maintainer_mode;
3207 # Check whether --with-alsa was given.
3208 if test "${with_alsa+set}" = set; then :
3209 withval
=$with_alsa; if test "x$withval" = "xno"; then ac_cv_header_sys_asoundlib_h
=no
; ac_cv_header_alsa_asoundlib_h
=no
; fi
3213 # Check whether --with-capi was given.
3214 if test "${with_capi+set}" = set; then :
3219 # Check whether --with-cms was given.
3220 if test "${with_cms+set}" = set; then :
3225 # Check whether --with-coreaudio was given.
3226 if test "${with_coreaudio+set}" = set; then :
3227 withval
=$with_coreaudio; if test "x$withval" = "xno"; then ac_cv_header_CoreAudio_CoreAudio_h
=no
; fi
3231 # Check whether --with-cups was given.
3232 if test "${with_cups+set}" = set; then :
3237 # Check whether --with-curses was given.
3238 if test "${with_curses+set}" = set; then :
3239 withval
=$with_curses; if test "x$withval" = "xno"; then ac_cv_header_ncurses_h
=no
; ac_cv_header_curses_h
=no
; fi
3243 # Check whether --with-dbus was given.
3244 if test "${with_dbus+set}" = set; then :
3249 # Check whether --with-fontconfig was given.
3250 if test "${with_fontconfig+set}" = set; then :
3251 withval
=$with_fontconfig;
3255 # Check whether --with-freetype was given.
3256 if test "${with_freetype+set}" = set; then :
3257 withval
=$with_freetype;
3261 # Check whether --with-gettext was given.
3262 if test "${with_gettext+set}" = set; then :
3263 withval
=$with_gettext;
3267 # Check whether --with-gettextpo was given.
3268 if test "${with_gettextpo+set}" = set; then :
3269 withval
=$with_gettextpo; if test "x$withval" = "xno"; then ac_cv_header_gettext_po_h
=no
; fi
3273 # Check whether --with-gphoto was given.
3274 if test "${with_gphoto+set}" = set; then :
3275 withval
=$with_gphoto;
3279 # Check whether --with-glu was given.
3280 if test "${with_glu+set}" = set; then :
3285 # Check whether --with-gnutls was given.
3286 if test "${with_gnutls+set}" = set; then :
3287 withval
=$with_gnutls;
3291 # Check whether --with-gsm was given.
3292 if test "${with_gsm+set}" = set; then :
3293 withval
=$with_gsm; if test "x$withval" = "xno"; then ac_cv_header_gsm_h
=no
; ac_cv_header_gsm_gsm_h
=no
; fi
3297 # Check whether --with-gstreamer was given.
3298 if test "${with_gstreamer+set}" = set; then :
3299 withval
=$with_gstreamer;
3303 # Check whether --with-hal was given.
3304 if test "${with_hal+set}" = set; then :
3309 # Check whether --with-jpeg was given.
3310 if test "${with_jpeg+set}" = set; then :
3315 # Check whether --with-ldap was given.
3316 if test "${with_ldap+set}" = set; then :
3317 withval
=$with_ldap; if test "x$withval" = "xno"; then ac_cv_header_ldap_h
=no
; ac_cv_header_lber_h
=no
; fi
3321 # Check whether --with-mpg123 was given.
3322 if test "${with_mpg123+set}" = set; then :
3323 withval
=$with_mpg123;
3327 # Check whether --with-netapi was given.
3328 if test "${with_netapi+set}" = set; then :
3329 withval
=$with_netapi;
3333 # Check whether --with-openal was given.
3334 if test "${with_openal+set}" = set; then :
3335 withval
=$with_openal; if test "x$withval" = "xno"; then ac_cv_header_AL_al_h
=no
; ac_cv_header_OpenAL_al_h
=no
; fi
3339 # Check whether --with-opencl was given.
3340 if test "${with_opencl+set}" = set; then :
3341 withval
=$with_opencl; if test "x$withval" = "xno"; then ac_cv_header_CL_cl_h
=no
; ac_cv_header_OpenCL_opencl_h
=no
; fi
3345 # Check whether --with-opengl was given.
3346 if test "${with_opengl+set}" = set; then :
3347 withval
=$with_opengl;
3351 # Check whether --with-osmesa was given.
3352 if test "${with_osmesa+set}" = set; then :
3353 withval
=$with_osmesa;
3357 # Check whether --with-oss was given.
3358 if test "${with_oss+set}" = set; then :
3363 # Check whether --with-pcap was given.
3364 if test "${with_pcap+set}" = set; then :
3365 withval
=$with_pcap; if test "x$withval" = "xno"; then ac_cv_header_pcap_pcap_h
=no
; fi
3369 # Check whether --with-png was given.
3370 if test "${with_png+set}" = set; then :
3375 # Check whether --with-pthread was given.
3376 if test "${with_pthread+set}" = set; then :
3377 withval
=$with_pthread; if test "x$withval" = "xno"; then ac_cv_header_pthread_h
=no
; fi
3381 # Check whether --with-sane was given.
3382 if test "${with_sane+set}" = set; then :
3387 # Check whether --with-tiff was given.
3388 if test "${with_tiff+set}" = set; then :
3393 # Check whether --with-v4l was given.
3394 if test "${with_v4l+set}" = set; then :
3399 # Check whether --with-xcomposite was given.
3400 if test "${with_xcomposite+set}" = set; then :
3401 withval
=$with_xcomposite; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xcomposite_h
=no
; fi
3405 # Check whether --with-xcursor was given.
3406 if test "${with_xcursor+set}" = set; then :
3407 withval
=$with_xcursor; if test "x$withval" = "xno"; then ac_cv_header_X11_Xcursor_Xcursor_h
=no
; fi
3411 # Check whether --with-xinerama was given.
3412 if test "${with_xinerama+set}" = set; then :
3413 withval
=$with_xinerama; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xinerama_h
=no
; fi
3417 # Check whether --with-xinput was given.
3418 if test "${with_xinput+set}" = set; then :
3419 withval
=$with_xinput; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_XInput_h
=no
; fi
3423 # Check whether --with-xinput2 was given.
3424 if test "${with_xinput2+set}" = set; then :
3425 withval
=$with_xinput2; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_XInput2_h
=no
; fi
3429 # Check whether --with-xml was given.
3430 if test "${with_xml+set}" = set; then :
3435 # Check whether --with-xrandr was given.
3436 if test "${with_xrandr+set}" = set; then :
3437 withval
=$with_xrandr; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xrandr_h
=no
; fi
3441 # Check whether --with-xrender was given.
3442 if test "${with_xrender+set}" = set; then :
3443 withval
=$with_xrender; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xrender_h
=no
; fi
3447 # Check whether --with-xshape was given.
3448 if test "${with_xshape+set}" = set; then :
3449 withval
=$with_xshape; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_shape_h
=no
; fi
3453 # Check whether --with-xshm was given.
3454 if test "${with_xshm+set}" = set; then :
3455 withval
=$with_xshm; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_XShm_h
=no
; fi
3459 # Check whether --with-xslt was given.
3460 if test "${with_xslt+set}" = set; then :
3465 # Check whether --with-xxf86vm was given.
3466 if test "${with_xxf86vm+set}" = set; then :
3467 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
3471 # Check whether --with-zlib was given.
3472 if test "${with_zlib+set}" = set; then :
3473 withval
=$with_zlib; if test "x$withval" = "xno"; then ac_cv_header_zlib_h
=no
; fi
3478 # Check whether --with-wine-tools was given.
3479 if test "${with_wine_tools+set}" = set; then :
3480 withval
=$with_wine_tools;
3484 # Check whether --with-wine64 was given.
3485 if test "${with_wine64+set}" = set; then :
3486 withval
=$with_wine64;
3490 # Make sure we can run config.sub.
3491 $SHELL "$ac_aux_dir/config.sub" sun4
>/dev
/null
2>&1 ||
3492 as_fn_error $?
"cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
3494 { $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
3495 $as_echo_n "checking build system type... " >&6; }
3496 if ${ac_cv_build+:} false
; then :
3497 $as_echo_n "(cached) " >&6
3499 ac_build_alias
=$build_alias
3500 test "x$ac_build_alias" = x
&&
3501 ac_build_alias
=`$SHELL "$ac_aux_dir/config.guess"`
3502 test "x$ac_build_alias" = x
&&
3503 as_fn_error $?
"cannot guess build type; you must specify one" "$LINENO" 5
3504 ac_cv_build
=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
3505 as_fn_error $?
"$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
3508 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
3509 $as_echo "$ac_cv_build" >&6; }
3510 case $ac_cv_build in
3512 *) as_fn_error $?
"invalid value of canonical build" "$LINENO" 5;;
3515 ac_save_IFS
=$IFS; IFS
='-'
3521 # Remember, the first character of IFS is used to create $*,
3522 # except with old shells:
3525 case $build_os in *\
*) build_os
=`echo "$build_os" | sed 's/ /-/g'`;; esac
3528 { $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
3529 $as_echo_n "checking host system type... " >&6; }
3530 if ${ac_cv_host+:} false
; then :
3531 $as_echo_n "(cached) " >&6
3533 if test "x$host_alias" = x
; then
3534 ac_cv_host
=$ac_cv_build
3536 ac_cv_host
=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
3537 as_fn_error $?
"$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
3541 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
3542 $as_echo "$ac_cv_host" >&6; }
3545 *) as_fn_error $?
"invalid value of canonical host" "$LINENO" 5;;
3548 ac_save_IFS
=$IFS; IFS
='-'
3554 # Remember, the first character of IFS is used to create $*,
3555 # except with old shells:
3558 case $host_os in *\
*) host_os
=`echo "$host_os" | sed 's/ /-/g'`;; esac
3564 *) if test -f "$srcdir/Makefile" -o -f "$srcdir/include/config.h"; then
3565 as_fn_error $?
"you are building out of the source tree, but the source tree contains object files.
3566 You need to run 'make distclean' in the source tree first." "$LINENO" 5
3571 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
3572 $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
3574 ac_make
=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
3575 if eval \
${ac_cv_prog_make_${ac_make}_set+:} false
; then :
3576 $as_echo_n "(cached) " >&6
3578 cat >conftest.
make <<\_ACEOF
3581 @
echo '@@@%%%=$(MAKE)=@@@%%%'
3583 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
3584 case `${MAKE-make} -f conftest.make 2>/dev/null` in
3586 eval ac_cv_prog_make_
${ac_make}_set
=yes;;
3588 eval ac_cv_prog_make_
${ac_make}_set
=no
;;
3592 if eval test \
$ac_cv_prog_make_${ac_make}_set
= yes; then
3593 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3594 $as_echo "yes" >&6; }
3597 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3598 $as_echo "no" >&6; }
3599 SET_MAKE
="MAKE=${MAKE-make}"
3603 ac_cpp
='$CPP $CPPFLAGS'
3604 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3605 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3606 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
3607 if test -n "$ac_tool_prefix"; then
3608 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
3609 set dummy
${ac_tool_prefix}gcc
; ac_word
=$2
3610 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3611 $as_echo_n "checking for $ac_word... " >&6; }
3612 if ${ac_cv_prog_CC+:} false
; then :
3613 $as_echo_n "(cached) " >&6
3615 if test -n "$CC"; then
3616 ac_cv_prog_CC
="$CC" # Let the user override the test.
3618 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3622 test -z "$as_dir" && as_dir
=.
3623 for ac_exec_ext
in '' $ac_executable_extensions; do
3624 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
3625 ac_cv_prog_CC
="${ac_tool_prefix}gcc"
3626 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3636 if test -n "$CC"; then
3637 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3638 $as_echo "$CC" >&6; }
3640 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3641 $as_echo "no" >&6; }
3646 if test -z "$ac_cv_prog_CC"; then
3648 # Extract the first word of "gcc", so it can be a program name with args.
3649 set dummy gcc
; ac_word
=$2
3650 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3651 $as_echo_n "checking for $ac_word... " >&6; }
3652 if ${ac_cv_prog_ac_ct_CC+:} false
; then :
3653 $as_echo_n "(cached) " >&6
3655 if test -n "$ac_ct_CC"; then
3656 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
3658 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3662 test -z "$as_dir" && as_dir
=.
3663 for ac_exec_ext
in '' $ac_executable_extensions; do
3664 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
3665 ac_cv_prog_ac_ct_CC
="gcc"
3666 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3675 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
3676 if test -n "$ac_ct_CC"; then
3677 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3678 $as_echo "$ac_ct_CC" >&6; }
3680 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3681 $as_echo "no" >&6; }
3684 if test "x$ac_ct_CC" = x
; then
3687 case $cross_compiling:$ac_tool_warned in
3689 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3690 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3691 ac_tool_warned
=yes ;;
3699 if test -z "$CC"; then
3700 if test -n "$ac_tool_prefix"; then
3701 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
3702 set dummy
${ac_tool_prefix}cc
; ac_word
=$2
3703 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3704 $as_echo_n "checking for $ac_word... " >&6; }
3705 if ${ac_cv_prog_CC+:} false
; then :
3706 $as_echo_n "(cached) " >&6
3708 if test -n "$CC"; then
3709 ac_cv_prog_CC
="$CC" # Let the user override the test.
3711 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3715 test -z "$as_dir" && as_dir
=.
3716 for ac_exec_ext
in '' $ac_executable_extensions; do
3717 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
3718 ac_cv_prog_CC
="${ac_tool_prefix}cc"
3719 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3729 if test -n "$CC"; then
3730 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3731 $as_echo "$CC" >&6; }
3733 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3734 $as_echo "no" >&6; }
3740 if test -z "$CC"; then
3741 # Extract the first word of "cc", so it can be a program name with args.
3742 set dummy cc
; ac_word
=$2
3743 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3744 $as_echo_n "checking for $ac_word... " >&6; }
3745 if ${ac_cv_prog_CC+:} false
; then :
3746 $as_echo_n "(cached) " >&6
3748 if test -n "$CC"; then
3749 ac_cv_prog_CC
="$CC" # Let the user override the test.
3752 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3756 test -z "$as_dir" && as_dir
=.
3757 for ac_exec_ext
in '' $ac_executable_extensions; do
3758 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
3759 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
3760 ac_prog_rejected
=yes
3764 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3771 if test $ac_prog_rejected = yes; then
3772 # We found a bogon in the path, so make sure we never use it.
3773 set dummy
$ac_cv_prog_CC
3775 if test $# != 0; then
3776 # We chose a different compiler from the bogus one.
3777 # However, it has the same basename, so the bogon will be chosen
3778 # first if we set CC to just the basename; use the full file name.
3780 ac_cv_prog_CC
="$as_dir/$ac_word${1+' '}$@"
3786 if test -n "$CC"; then
3787 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3788 $as_echo "$CC" >&6; }
3790 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3791 $as_echo "no" >&6; }
3796 if test -z "$CC"; then
3797 if test -n "$ac_tool_prefix"; then
3798 for ac_prog
in cl.exe
3800 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
3801 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
3802 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3803 $as_echo_n "checking for $ac_word... " >&6; }
3804 if ${ac_cv_prog_CC+:} false
; then :
3805 $as_echo_n "(cached) " >&6
3807 if test -n "$CC"; then
3808 ac_cv_prog_CC
="$CC" # Let the user override the test.
3810 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3814 test -z "$as_dir" && as_dir
=.
3815 for ac_exec_ext
in '' $ac_executable_extensions; do
3816 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
3817 ac_cv_prog_CC
="$ac_tool_prefix$ac_prog"
3818 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3828 if test -n "$CC"; then
3829 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3830 $as_echo "$CC" >&6; }
3832 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3833 $as_echo "no" >&6; }
3837 test -n "$CC" && break
3840 if test -z "$CC"; then
3842 for ac_prog
in cl.exe
3844 # Extract the first word of "$ac_prog", so it can be a program name with args.
3845 set dummy
$ac_prog; ac_word
=$2
3846 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3847 $as_echo_n "checking for $ac_word... " >&6; }
3848 if ${ac_cv_prog_ac_ct_CC+:} false
; then :
3849 $as_echo_n "(cached) " >&6
3851 if test -n "$ac_ct_CC"; then
3852 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
3854 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3858 test -z "$as_dir" && as_dir
=.
3859 for ac_exec_ext
in '' $ac_executable_extensions; do
3860 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
3861 ac_cv_prog_ac_ct_CC
="$ac_prog"
3862 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3871 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
3872 if test -n "$ac_ct_CC"; then
3873 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3874 $as_echo "$ac_ct_CC" >&6; }
3876 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3877 $as_echo "no" >&6; }
3881 test -n "$ac_ct_CC" && break
3884 if test "x$ac_ct_CC" = x
; then
3887 case $cross_compiling:$ac_tool_warned in
3889 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3890 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3891 ac_tool_warned
=yes ;;
3900 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3901 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3902 as_fn_error $?
"no acceptable C compiler found in \$PATH
3903 See \`config.log' for more details" "$LINENO" 5; }
3905 # Provide some information about the compiler.
3906 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
3909 for ac_option
in --version -v -V -qversion; do
3910 { { ac_try
="$ac_compiler $ac_option >&5"
3912 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
3913 *) ac_try_echo=$ac_try;;
3915 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3916 $as_echo "$ac_try_echo"; } >&5
3917 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
3919 if test -s conftest.err; then
3921 ... rest of stderr output deleted ...
3922 10q' conftest.err >conftest.er1
3923 cat conftest.er1 >&5
3925 rm -f conftest.er1 conftest.err
3926 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3927 test $ac_status = 0; }
3930 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3931 /* end confdefs.h. */
3941 ac_clean_files_save=$ac_clean_files
3942 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
3943 # Try to create an executable without -o first, disregard a.out.
3944 # It will help us diagnose broken compilers, and finding out an intuition
3946 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
3947 $as_echo_n "checking whether the C compiler works... " >&6; }
3948 ac_link_default=`$as_echo "$ac_link" |
sed 's/ -o *conftest[^ ]*//'`
3950 # The possible output files:
3951 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
3954 for ac_file in $ac_files
3957 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
3958 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
3963 if { { ac_try="$ac_link_default"
3965 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
3966 *) ac_try_echo
=$ac_try;;
3968 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3969 $as_echo "$ac_try_echo"; } >&5
3970 (eval "$ac_link_default") 2>&5
3972 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3973 test $ac_status = 0; }; then :
3974 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
3975 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
3976 # in a Makefile. We should not override ac_cv_exeext if it was cached,
3977 # so that the user can short-circuit this test for compilers unknown to
3979 for ac_file
in $ac_files ''
3981 test -f "$ac_file" ||
continue
3983 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg |
*.map |
*.inf |
*.dSYM |
*.o |
*.obj
)
3986 # We found the default executable, but exeext='' is most
3990 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no
;
3992 ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
3994 # We set ac_cv_exeext here because the later test for it is not
3995 # safe: cross compilers may not add the suffix if given an `-o'
3996 # argument, so we may need to know it at that point already.
3997 # Even if this section looks crufty: it has the advantage of
4004 test "$ac_cv_exeext" = no
&& ac_cv_exeext
=
4009 if test -z "$ac_file"; then :
4010 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4011 $as_echo "no" >&6; }
4012 $as_echo "$as_me: failed program was:" >&5
4013 sed 's/^/| /' conftest.
$ac_ext >&5
4015 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4016 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4017 as_fn_error
77 "C compiler cannot create executables
4018 See \`config.log' for more details" "$LINENO" 5; }
4020 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4021 $as_echo "yes" >&6; }
4023 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
4024 $as_echo_n "checking for C compiler default output file name... " >&6; }
4025 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
4026 $as_echo "$ac_file" >&6; }
4027 ac_exeext
=$ac_cv_exeext
4029 rm -f -r a.out a.out.dSYM a.exe conftest
$ac_cv_exeext b.out
4030 ac_clean_files
=$ac_clean_files_save
4031 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
4032 $as_echo_n "checking for suffix of executables... " >&6; }
4033 if { { ac_try
="$ac_link"
4035 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
4036 *) ac_try_echo=$ac_try;;
4038 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4039 $as_echo "$ac_try_echo"; } >&5
4040 (eval "$ac_link") 2>&5
4042 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4043 test $ac_status = 0; }; then :
4044 # If both `conftest.exe
' and `conftest' are
`present' (well, observable)
4045 # catch `conftest.exe
'. For instance with Cygwin, `ls conftest' will
4046 # work properly (i.e., refer to `conftest.exe'), while it won't with
4048 for ac_file
in conftest.exe conftest conftest.
*; do
4049 test -f "$ac_file" ||
continue
4051 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg |
*.map |
*.inf |
*.dSYM |
*.o |
*.obj
) ;;
4052 *.
* ) ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
4058 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4059 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4060 as_fn_error $?
"cannot compute suffix of executables: cannot compile and link
4061 See \`config.log' for more details" "$LINENO" 5; }
4063 rm -f conftest conftest
$ac_cv_exeext
4064 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
4065 $as_echo "$ac_cv_exeext" >&6; }
4067 rm -f conftest.
$ac_ext
4068 EXEEXT
=$ac_cv_exeext
4070 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4071 /* end confdefs.h. */
4076 FILE *f = fopen ("conftest.out", "w");
4077 return ferror (f) || fclose (f) != 0;
4083 ac_clean_files
="$ac_clean_files conftest.out"
4084 # Check that the compiler produces executables we can run. If not, either
4085 # the compiler is broken, or we cross compile.
4086 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
4087 $as_echo_n "checking whether we are cross compiling... " >&6; }
4088 if test "$cross_compiling" != yes; then
4089 { { ac_try
="$ac_link"
4091 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
4092 *) ac_try_echo=$ac_try;;
4094 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4095 $as_echo "$ac_try_echo"; } >&5
4096 (eval "$ac_link") 2>&5
4098 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4099 test $ac_status = 0; }
4100 if { ac_try='./conftest$ac_cv_exeext'
4101 { { case "(($ac_try" in
4102 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
4103 *) ac_try_echo
=$ac_try;;
4105 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4106 $as_echo "$ac_try_echo"; } >&5
4107 (eval "$ac_try") 2>&5
4109 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4110 test $ac_status = 0; }; }; then
4113 if test "$cross_compiling" = maybe
; then
4116 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4117 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4118 as_fn_error $?
"cannot run C compiled programs.
4119 If you meant to cross compile, use \`--host'.
4120 See \`config.log' for more details" "$LINENO" 5; }
4124 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
4125 $as_echo "$cross_compiling" >&6; }
4127 rm -f conftest.
$ac_ext conftest
$ac_cv_exeext conftest.out
4128 ac_clean_files
=$ac_clean_files_save
4129 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
4130 $as_echo_n "checking for suffix of object files... " >&6; }
4131 if ${ac_cv_objext+:} false
; then :
4132 $as_echo_n "(cached) " >&6
4134 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4135 /* end confdefs.h. */
4145 rm -f conftest.o conftest.obj
4146 if { { ac_try
="$ac_compile"
4148 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
4149 *) ac_try_echo=$ac_try;;
4151 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4152 $as_echo "$ac_try_echo"; } >&5
4153 (eval "$ac_compile") 2>&5
4155 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4156 test $ac_status = 0; }; then :
4157 for ac_file in conftest.o conftest.obj conftest.*; do
4158 test -f "$ac_file" || continue;
4160 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
4161 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
4166 $as_echo "$as_me: failed program was:" >&5
4167 sed 's/^/| /' conftest.$ac_ext >&5
4169 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4170 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4171 as_fn_error $? "cannot compute suffix of object files
: cannot compile
4172 See \
`config.log' for more details" "$LINENO" 5; }
4174 rm -f conftest.$ac_cv_objext conftest.$ac_ext
4176 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
4177 $as_echo "$ac_cv_objext" >&6; }
4178 OBJEXT=$ac_cv_objext
4180 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
4181 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
4182 if ${ac_cv_c_compiler_gnu+:} false; then :
4183 $as_echo_n "(cached) " >&6
4185 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4186 /* end confdefs.h. */
4199 if ac_fn_c_try_compile "$LINENO"; then :
4204 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4205 ac_cv_c_compiler_gnu=$ac_compiler_gnu
4208 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
4209 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
4210 if test $ac_compiler_gnu = yes; then
4215 ac_test_CFLAGS=${CFLAGS+set}
4216 ac_save_CFLAGS=$CFLAGS
4217 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
4218 $as_echo_n "checking whether $CC accepts -g... " >&6; }
4219 if ${ac_cv_prog_cc_g+:} false; then :
4220 $as_echo_n "(cached) " >&6
4222 ac_save_c_werror_flag=$ac_c_werror_flag
4223 ac_c_werror_flag=yes
4226 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4227 /* end confdefs.h. */
4237 if ac_fn_c_try_compile "$LINENO"; then :
4241 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4242 /* end confdefs.h. */
4252 if ac_fn_c_try_compile "$LINENO"; then :
4255 ac_c_werror_flag=$ac_save_c_werror_flag
4257 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4258 /* end confdefs.h. */
4268 if ac_fn_c_try_compile "$LINENO"; then :
4271 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4273 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4275 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4276 ac_c_werror_flag=$ac_save_c_werror_flag
4278 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
4279 $as_echo "$ac_cv_prog_cc_g" >&6; }
4280 if test "$ac_test_CFLAGS" = set; then
4281 CFLAGS=$ac_save_CFLAGS
4282 elif test $ac_cv_prog_cc_g = yes; then
4283 if test "$GCC" = yes; then
4289 if test "$GCC" = yes; then
4295 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
4296 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
4297 if ${ac_cv_prog_cc_c89+:} false; then :
4298 $as_echo_n "(cached) " >&6
4300 ac_cv_prog_cc_c89=no
4302 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4303 /* end confdefs.h. */
4307 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
4308 struct buf { int x; };
4309 FILE * (*rcsopen) (struct buf *, struct stat *, int);
4310 static char *e (p, i)
4316 static char *f (char * (*g) (char **, int), char **p, ...)
4321 s = g (p, va_arg (v,int));
4326 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
4327 function prototypes and stuff, but not '\xHH' hex character constants.
4328 These don't provoke an error unfortunately, instead are silently treated
4329 as 'x'. The following induces an error, until -std is added to get
4330 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
4331 array size at least. It's necessary to write '\x00'==0 to get something
4332 that's true only with -std. */
4333 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
4335 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
4336 inside strings and character constants. */
4338 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
4340 int test (int i, double x);
4341 struct s1 {int (*f) (int a);};
4342 struct s2 {int (*f) (double a);};
4343 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
4349 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
4354 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
4355 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
4357 CC="$ac_save_CC $ac_arg"
4358 if ac_fn_c_try_compile "$LINENO"; then :
4359 ac_cv_prog_cc_c89=$ac_arg
4361 rm -f core conftest.err conftest.$ac_objext
4362 test "x$ac_cv_prog_cc_c89" != "xno" && break
4364 rm -f conftest.$ac_ext
4369 case "x$ac_cv_prog_cc_c89" in
4371 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
4372 $as_echo "none needed" >&6; } ;;
4374 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
4375 $as_echo "unsupported" >&6; } ;;
4377 CC="$CC $ac_cv_prog_cc_c89"
4378 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
4379 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
4381 if test "x$ac_cv_prog_cc_c89" != xno; then :
4386 ac_cpp='$CPP $CPPFLAGS'
4387 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4388 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4389 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4392 ac_cpp='$CXXCPP $CPPFLAGS'
4393 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4394 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4395 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
4396 if test -z "$CXX"; then
4397 if test -n "$CCC"; then
4400 if test -n "$ac_tool_prefix"; then
4401 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
4403 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
4404 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
4405 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4406 $as_echo_n "checking for $ac_word... " >&6; }
4407 if ${ac_cv_prog_CXX+:} false; then :
4408 $as_echo_n "(cached) " >&6
4410 if test -n "$CXX"; then
4411 ac_cv_prog_CXX="$CXX" # Let the user override the test.
4413 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4417 test -z "$as_dir" && as_dir=.
4418 for ac_exec_ext in '' $ac_executable_extensions; do
4419 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4420 ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"
4421 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4431 if test -n "$CXX"; then
4432 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXX" >&5
4433 $as_echo "$CXX" >&6; }
4435 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4436 $as_echo "no" >&6; }
4440 test -n "$CXX" && break
4443 if test -z "$CXX"; then
4445 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
4447 # Extract the first word of "$ac_prog", so it can be a program name with args.
4448 set dummy $ac_prog; ac_word=$2
4449 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4450 $as_echo_n "checking for $ac_word... " >&6; }
4451 if ${ac_cv_prog_ac_ct_CXX+:} false; then :
4452 $as_echo_n "(cached) " >&6
4454 if test -n "$ac_ct_CXX"; then
4455 ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
4457 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4461 test -z "$as_dir" && as_dir=.
4462 for ac_exec_ext in '' $ac_executable_extensions; do
4463 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4464 ac_cv_prog_ac_ct_CXX="$ac_prog"
4465 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4474 ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
4475 if test -n "$ac_ct_CXX"; then
4476 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CXX" >&5
4477 $as_echo "$ac_ct_CXX" >&6; }
4479 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4480 $as_echo "no" >&6; }
4484 test -n "$ac_ct_CXX" && break
4487 if test "x$ac_ct_CXX" = x; then
4490 case $cross_compiling:$ac_tool_warned in
4492 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4493 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4494 ac_tool_warned=yes ;;
4502 # Provide some information about the compiler.
4503 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C++ compiler version" >&5
4506 for ac_option in --version -v -V -qversion; do
4507 { { ac_try="$ac_compiler $ac_option >&5"
4509 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
4510 *) ac_try_echo
=$ac_try;;
4512 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4513 $as_echo "$ac_try_echo"; } >&5
4514 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
4516 if test -s conftest.err
; then
4518 ... rest of stderr output deleted ...
4519 10q' conftest.err
>conftest.er1
4520 cat conftest.er1
>&5
4522 rm -f conftest.er1 conftest.err
4523 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4524 test $ac_status = 0; }
4527 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C++ compiler" >&5
4528 $as_echo_n "checking whether we are using the GNU C++ compiler... " >&6; }
4529 if ${ac_cv_cxx_compiler_gnu+:} false
; then :
4530 $as_echo_n "(cached) " >&6
4532 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4533 /* end confdefs.h. */
4546 if ac_fn_cxx_try_compile
"$LINENO"; then :
4551 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
4552 ac_cv_cxx_compiler_gnu
=$ac_compiler_gnu
4555 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cxx_compiler_gnu" >&5
4556 $as_echo "$ac_cv_cxx_compiler_gnu" >&6; }
4557 if test $ac_compiler_gnu = yes; then
4562 ac_test_CXXFLAGS
=${CXXFLAGS+set}
4563 ac_save_CXXFLAGS
=$CXXFLAGS
4564 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CXX accepts -g" >&5
4565 $as_echo_n "checking whether $CXX accepts -g... " >&6; }
4566 if ${ac_cv_prog_cxx_g+:} false
; then :
4567 $as_echo_n "(cached) " >&6
4569 ac_save_cxx_werror_flag
=$ac_cxx_werror_flag
4570 ac_cxx_werror_flag
=yes
4573 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4574 /* end confdefs.h. */
4584 if ac_fn_cxx_try_compile
"$LINENO"; then :
4585 ac_cv_prog_cxx_g
=yes
4588 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4589 /* end confdefs.h. */
4599 if ac_fn_cxx_try_compile
"$LINENO"; then :
4602 ac_cxx_werror_flag
=$ac_save_cxx_werror_flag
4604 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4605 /* end confdefs.h. */
4615 if ac_fn_cxx_try_compile
"$LINENO"; then :
4616 ac_cv_prog_cxx_g
=yes
4618 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
4620 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
4622 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
4623 ac_cxx_werror_flag
=$ac_save_cxx_werror_flag
4625 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cxx_g" >&5
4626 $as_echo "$ac_cv_prog_cxx_g" >&6; }
4627 if test "$ac_test_CXXFLAGS" = set; then
4628 CXXFLAGS
=$ac_save_CXXFLAGS
4629 elif test $ac_cv_prog_cxx_g = yes; then
4630 if test "$GXX" = yes; then
4636 if test "$GXX" = yes; then
4643 ac_cpp
='$CPP $CPPFLAGS'
4644 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4645 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4646 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
4648 if test -n "$ac_tool_prefix"; then
4649 # Extract the first word of "${ac_tool_prefix}cpp", so it can be a program name with args.
4650 set dummy
${ac_tool_prefix}cpp
; ac_word
=$2
4651 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4652 $as_echo_n "checking for $ac_word... " >&6; }
4653 if ${ac_cv_prog_CPPBIN+:} false
; then :
4654 $as_echo_n "(cached) " >&6
4656 if test -n "$CPPBIN"; then
4657 ac_cv_prog_CPPBIN
="$CPPBIN" # Let the user override the test.
4659 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4663 test -z "$as_dir" && as_dir
=.
4664 for ac_exec_ext
in '' $ac_executable_extensions; do
4665 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
4666 ac_cv_prog_CPPBIN
="${ac_tool_prefix}cpp"
4667 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4676 CPPBIN
=$ac_cv_prog_CPPBIN
4677 if test -n "$CPPBIN"; then
4678 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPPBIN" >&5
4679 $as_echo "$CPPBIN" >&6; }
4681 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4682 $as_echo "no" >&6; }
4687 if test -z "$ac_cv_prog_CPPBIN"; then
4688 ac_ct_CPPBIN
=$CPPBIN
4689 # Extract the first word of "cpp", so it can be a program name with args.
4690 set dummy cpp
; ac_word
=$2
4691 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4692 $as_echo_n "checking for $ac_word... " >&6; }
4693 if ${ac_cv_prog_ac_ct_CPPBIN+:} false
; then :
4694 $as_echo_n "(cached) " >&6
4696 if test -n "$ac_ct_CPPBIN"; then
4697 ac_cv_prog_ac_ct_CPPBIN
="$ac_ct_CPPBIN" # Let the user override the test.
4699 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4703 test -z "$as_dir" && as_dir
=.
4704 for ac_exec_ext
in '' $ac_executable_extensions; do
4705 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
4706 ac_cv_prog_ac_ct_CPPBIN
="cpp"
4707 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4716 ac_ct_CPPBIN
=$ac_cv_prog_ac_ct_CPPBIN
4717 if test -n "$ac_ct_CPPBIN"; then
4718 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CPPBIN" >&5
4719 $as_echo "$ac_ct_CPPBIN" >&6; }
4721 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4722 $as_echo "no" >&6; }
4725 if test "x$ac_ct_CPPBIN" = x
; then
4728 case $cross_compiling:$ac_tool_warned in
4730 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4731 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4732 ac_tool_warned
=yes ;;
4734 CPPBIN
=$ac_ct_CPPBIN
4737 CPPBIN
="$ac_cv_prog_CPPBIN"
4741 cat >>confdefs.h
<<_ACEOF
4742 #define EXEEXT "$ac_exeext"
4745 if test -n "$ac_tool_prefix"; then
4746 # Extract the first word of "${ac_tool_prefix}ld", so it can be a program name with args.
4747 set dummy
${ac_tool_prefix}ld
; ac_word
=$2
4748 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4749 $as_echo_n "checking for $ac_word... " >&6; }
4750 if ${ac_cv_prog_LD+:} false
; then :
4751 $as_echo_n "(cached) " >&6
4753 if test -n "$LD"; then
4754 ac_cv_prog_LD
="$LD" # Let the user override the test.
4756 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4760 test -z "$as_dir" && as_dir
=.
4761 for ac_exec_ext
in '' $ac_executable_extensions; do
4762 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
4763 ac_cv_prog_LD
="${ac_tool_prefix}ld"
4764 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4774 if test -n "$LD"; then
4775 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
4776 $as_echo "$LD" >&6; }
4778 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4779 $as_echo "no" >&6; }
4784 if test -z "$ac_cv_prog_LD"; then
4786 # Extract the first word of "ld", so it can be a program name with args.
4787 set dummy ld
; ac_word
=$2
4788 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4789 $as_echo_n "checking for $ac_word... " >&6; }
4790 if ${ac_cv_prog_ac_ct_LD+:} false
; then :
4791 $as_echo_n "(cached) " >&6
4793 if test -n "$ac_ct_LD"; then
4794 ac_cv_prog_ac_ct_LD
="$ac_ct_LD" # Let the user override the test.
4796 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4800 test -z "$as_dir" && as_dir
=.
4801 for ac_exec_ext
in '' $ac_executable_extensions; do
4802 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
4803 ac_cv_prog_ac_ct_LD
="ld"
4804 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4813 ac_ct_LD
=$ac_cv_prog_ac_ct_LD
4814 if test -n "$ac_ct_LD"; then
4815 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_LD" >&5
4816 $as_echo "$ac_ct_LD" >&6; }
4818 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4819 $as_echo "no" >&6; }
4822 if test "x$ac_ct_LD" = x
; then
4825 case $cross_compiling:$ac_tool_warned in
4827 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4828 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4829 ac_tool_warned
=yes ;;
4840 if test "x$enable_win64" = "xyes"
4845 notice_platform
="64-bit "
4852 notice_platform
="32-bit "
4855 enable_win16
=${enable_win16:-yes}
4857 with_fontconfig
=${with_fontconfig:-no}
4860 if test "x$enable_win64" != "xyes" -a "$cross_compiling" != "yes"
4864 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC works" >&5
4865 $as_echo_n "checking whether $CC works... " >&6; }
4867 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4868 /* end confdefs.h. */
4878 if ac_fn_c_try_link
"$LINENO"; then :
4879 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4880 $as_echo "yes" >&6; }
4882 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4883 $as_echo "no" >&6; }
4884 as_fn_error $?
"Cannot build a 32-bit program, you need to install 32-bit development libraries." "$LINENO" 5
4886 rm -f core conftest.err conftest.
$ac_objext \
4887 conftest
$ac_exeext conftest.
$ac_ext
4889 notice_platform
="32-bit "
4892 enable_win16
=${enable_win16:-yes}
4894 if test "x${GCC}" = "xyes"
4896 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC supports __builtin_ms_va_list" >&5
4897 $as_echo_n "checking whether $CC supports __builtin_ms_va_list... " >&6; }
4898 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4899 /* end confdefs.h. */
4904 void func(__builtin_ms_va_list *args);
4909 if ac_fn_c_try_compile
"$LINENO"; then :
4910 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4911 $as_echo "yes" >&6; }
4913 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4914 $as_echo "no" >&6; }
4915 as_fn_error $?
"You need gcc >= 4.4 to build Wine as 64-bit." "$LINENO" 5
4917 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
4924 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC supports Thumb" >&5
4925 $as_echo_n "checking whether $CC supports Thumb... " >&6; }
4926 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4927 /* end confdefs.h. */
4928 int ac_test(int i) { return i; }
4932 asm(".thumb\nblx ac_test\n.arm"); if (ac_test(1)) return 1
4937 if ac_fn_c_try_link
"$LINENO"; then :
4938 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4939 $as_echo "yes" >&6; }
4941 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4942 $as_echo "no" >&6; }
4943 as_fn_error $?
"You need a target with Thumb support to build Wine for ARM." "$LINENO" 5
4945 rm -f core conftest.err conftest.
$ac_objext \
4946 conftest
$ac_exeext conftest.
$ac_ext
4947 CFLAGS
="$CFLAGS -marm"
4951 *-mingw32*|
*-cygwin*)
4952 enable_win16
=${enable_win16:-no}
4953 CFLAGS
="$CFLAGS -D_WIN32"
4956 enable_win16
=${enable_win16:-yes}
4960 enable_win16
=${enable_win16:-no}
4961 enable_win64
=${enable_win64:-no}
4963 enable_winetest
=${enable_winetest:-$enable_tests}
4965 if test -n "$with_wine64"
4967 if test "x$enable_win64" = "xyes"
4969 as_fn_error $?
"--enable-win64 and --with-wine64 are mutually exclusive.
4970 --enable-win64 should be used in the 64-bit build tree, --with-wine64 in the 32-bit Wow64 build tree." "$LINENO" 5
4972 enable_fonts
=${enable_fonts:-no}
4973 enable_server
=${enable_server:-no}
4974 elif test "x$enable_win64" = "xyes"
4976 test "x$libdir" != "x\${exec_prefix}/lib" || libdir
="\${exec_prefix}/lib64"
4979 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for the directory containing the Wine tools" >&5
4980 $as_echo_n "checking for the directory containing the Wine tools... " >&6; }
4981 if ${wine_cv_toolsdir+:} false
; then :
4982 $as_echo_n "(cached) " >&6
4984 wine_cv_toolsdir
="$with_wine_tools"
4985 if test -z "$with_wine_tools"; then
4986 if test "$cross_compiling" = "yes"; then
4987 as_fn_error $?
"you must use the --with-wine-tools option when cross-compiling." "$LINENO" 5
4988 elif test -n "$with_wine64"; then
4989 wine_cv_toolsdir
="$with_wine64"
4992 if test -z "$wine_cv_toolsdir"; then
4993 wine_makedep
=tools
/makedep
4994 wine_cv_toolsdir
="\$(top_builddir)"
4995 elif test -d "$wine_cv_toolsdir/tools/winebuild"; then
4996 wine_makedep
=$wine_cv_toolsdir/tools
/makedep
4997 case "$wine_cv_toolsdir" in
4999 *) wine_cv_toolsdir
="\$(top_builddir)/$wine_cv_toolsdir" ;;
5001 enable_tools
=${enable_tools:-no}
5002 test -f "$wine_makedep" || as_fn_error $?
"the Wine tools have not yet been built in $wine_cv_toolsdir" "$LINENO" 5
5004 as_fn_error $?
"could not find Wine tools in $wine_cv_toolsdir" "$LINENO" 5
5007 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_toolsdir" >&5
5008 $as_echo "$wine_cv_toolsdir" >&6; }
5009 TOOLSDIR
=$wine_cv_toolsdir
5011 if test -n "$host_alias" -a "$host_alias" != "$build_alias"
5013 TARGETFLAGS
="-b $host_alias $TARGETFLAGS"
5019 # Extract the first word of "$ac_prog", so it can be a program name with args.
5020 set dummy
$ac_prog; ac_word
=$2
5021 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5022 $as_echo_n "checking for $ac_word... " >&6; }
5023 if ${ac_cv_prog_FLEX+:} false
; then :
5024 $as_echo_n "(cached) " >&6
5026 if test -n "$FLEX"; then
5027 ac_cv_prog_FLEX
="$FLEX" # Let the user override the test.
5029 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5033 test -z "$as_dir" && as_dir
=.
5034 for ac_exec_ext
in '' $ac_executable_extensions; do
5035 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
5036 ac_cv_prog_FLEX
="$ac_prog"
5037 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5046 FLEX
=$ac_cv_prog_FLEX
5047 if test -n "$FLEX"; then
5048 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $FLEX" >&5
5049 $as_echo "$FLEX" >&6; }
5051 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5052 $as_echo "no" >&6; }
5056 test -n "$FLEX" && break
5058 test -n "$FLEX" || FLEX
="none"
5060 if test "$FLEX" = "none"
5062 as_fn_error $?
"no suitable flex found. Please install the 'flex' package." "$LINENO" 5
5064 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether flex is recent enough" >&5
5065 $as_echo_n "checking whether flex is recent enough... " >&6; }
5066 cat >conftest.l
<<EOF
5068 #include "prediluvian.h"
5072 if $FLEX -t conftest.l
>/dev
/null
2>&5
5074 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5075 $as_echo "yes" >&6; }
5077 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5078 $as_echo "no" >&6; }
5079 as_fn_error $?
"Your flex version is too old. Please install flex version 2.5.33 or newer." "$LINENO" 5
5082 for ac_prog
in bison
5084 # Extract the first word of "$ac_prog", so it can be a program name with args.
5085 set dummy
$ac_prog; ac_word
=$2
5086 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5087 $as_echo_n "checking for $ac_word... " >&6; }
5088 if ${ac_cv_prog_BISON+:} false
; then :
5089 $as_echo_n "(cached) " >&6
5091 if test -n "$BISON"; then
5092 ac_cv_prog_BISON
="$BISON" # Let the user override the test.
5094 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5098 test -z "$as_dir" && as_dir
=.
5099 for ac_exec_ext
in '' $ac_executable_extensions; do
5100 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
5101 ac_cv_prog_BISON
="$ac_prog"
5102 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5111 BISON
=$ac_cv_prog_BISON
5112 if test -n "$BISON"; then
5113 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $BISON" >&5
5114 $as_echo "$BISON" >&6; }
5116 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5117 $as_echo "no" >&6; }
5121 test -n "$BISON" && break
5123 test -n "$BISON" || BISON
="none"
5125 if test "$BISON" = "none"
5127 as_fn_error $?
"no suitable bison found. Please install the 'bison' package." "$LINENO" 5
5130 if test -n "$ac_tool_prefix"; then
5131 for ac_prog
in ar gar
5133 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
5134 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
5135 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5136 $as_echo_n "checking for $ac_word... " >&6; }
5137 if ${ac_cv_prog_AR+:} false
; then :
5138 $as_echo_n "(cached) " >&6
5140 if test -n "$AR"; then
5141 ac_cv_prog_AR
="$AR" # Let the user override the test.
5143 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5147 test -z "$as_dir" && as_dir
=.
5148 for ac_exec_ext
in '' $ac_executable_extensions; do
5149 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
5150 ac_cv_prog_AR
="$ac_tool_prefix$ac_prog"
5151 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5161 if test -n "$AR"; then
5162 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
5163 $as_echo "$AR" >&6; }
5165 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5166 $as_echo "no" >&6; }
5170 test -n "$AR" && break
5173 if test -z "$AR"; then
5175 for ac_prog
in ar gar
5177 # Extract the first word of "$ac_prog", so it can be a program name with args.
5178 set dummy
$ac_prog; ac_word
=$2
5179 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5180 $as_echo_n "checking for $ac_word... " >&6; }
5181 if ${ac_cv_prog_ac_ct_AR+:} false
; then :
5182 $as_echo_n "(cached) " >&6
5184 if test -n "$ac_ct_AR"; then
5185 ac_cv_prog_ac_ct_AR
="$ac_ct_AR" # Let the user override the test.
5187 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5191 test -z "$as_dir" && as_dir
=.
5192 for ac_exec_ext
in '' $ac_executable_extensions; do
5193 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
5194 ac_cv_prog_ac_ct_AR
="$ac_prog"
5195 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5204 ac_ct_AR
=$ac_cv_prog_ac_ct_AR
5205 if test -n "$ac_ct_AR"; then
5206 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5
5207 $as_echo "$ac_ct_AR" >&6; }
5209 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5210 $as_echo "no" >&6; }
5214 test -n "$ac_ct_AR" && break
5217 if test "x$ac_ct_AR" = x
; then
5220 case $cross_compiling:$ac_tool_warned in
5222 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5223 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5224 ac_tool_warned
=yes ;;
5230 if test -n "$ac_tool_prefix"; then
5231 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
5232 set dummy
${ac_tool_prefix}strip
; ac_word
=$2
5233 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5234 $as_echo_n "checking for $ac_word... " >&6; }
5235 if ${ac_cv_prog_STRIP+:} false
; then :
5236 $as_echo_n "(cached) " >&6
5238 if test -n "$STRIP"; then
5239 ac_cv_prog_STRIP
="$STRIP" # Let the user override the test.
5241 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5245 test -z "$as_dir" && as_dir
=.
5246 for ac_exec_ext
in '' $ac_executable_extensions; do
5247 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
5248 ac_cv_prog_STRIP
="${ac_tool_prefix}strip"
5249 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5258 STRIP
=$ac_cv_prog_STRIP
5259 if test -n "$STRIP"; then
5260 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
5261 $as_echo "$STRIP" >&6; }
5263 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5264 $as_echo "no" >&6; }
5269 if test -z "$ac_cv_prog_STRIP"; then
5271 # Extract the first word of "strip", so it can be a program name with args.
5272 set dummy strip
; ac_word
=$2
5273 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5274 $as_echo_n "checking for $ac_word... " >&6; }
5275 if ${ac_cv_prog_ac_ct_STRIP+:} false
; then :
5276 $as_echo_n "(cached) " >&6
5278 if test -n "$ac_ct_STRIP"; then
5279 ac_cv_prog_ac_ct_STRIP
="$ac_ct_STRIP" # Let the user override the test.
5281 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5285 test -z "$as_dir" && as_dir
=.
5286 for ac_exec_ext
in '' $ac_executable_extensions; do
5287 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
5288 ac_cv_prog_ac_ct_STRIP
="strip"
5289 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5298 ac_ct_STRIP
=$ac_cv_prog_ac_ct_STRIP
5299 if test -n "$ac_ct_STRIP"; then
5300 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
5301 $as_echo "$ac_ct_STRIP" >&6; }
5303 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5304 $as_echo "no" >&6; }
5307 if test "x$ac_ct_STRIP" = x
; then
5310 case $cross_compiling:$ac_tool_warned in
5312 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5313 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5314 ac_tool_warned
=yes ;;
5319 STRIP
="$ac_cv_prog_STRIP"
5324 if test -n "$ac_tool_prefix"; then
5325 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
5326 set dummy
${ac_tool_prefix}ranlib
; ac_word
=$2
5327 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5328 $as_echo_n "checking for $ac_word... " >&6; }
5329 if ${ac_cv_prog_RANLIB+:} false
; then :
5330 $as_echo_n "(cached) " >&6
5332 if test -n "$RANLIB"; then
5333 ac_cv_prog_RANLIB
="$RANLIB" # Let the user override the test.
5335 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5339 test -z "$as_dir" && as_dir
=.
5340 for ac_exec_ext
in '' $ac_executable_extensions; do
5341 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
5342 ac_cv_prog_RANLIB
="${ac_tool_prefix}ranlib"
5343 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5352 RANLIB
=$ac_cv_prog_RANLIB
5353 if test -n "$RANLIB"; then
5354 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
5355 $as_echo "$RANLIB" >&6; }
5357 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5358 $as_echo "no" >&6; }
5363 if test -z "$ac_cv_prog_RANLIB"; then
5364 ac_ct_RANLIB
=$RANLIB
5365 # Extract the first word of "ranlib", so it can be a program name with args.
5366 set dummy ranlib
; ac_word
=$2
5367 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5368 $as_echo_n "checking for $ac_word... " >&6; }
5369 if ${ac_cv_prog_ac_ct_RANLIB+:} false
; then :
5370 $as_echo_n "(cached) " >&6
5372 if test -n "$ac_ct_RANLIB"; then
5373 ac_cv_prog_ac_ct_RANLIB
="$ac_ct_RANLIB" # Let the user override the test.
5375 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5379 test -z "$as_dir" && as_dir
=.
5380 for ac_exec_ext
in '' $ac_executable_extensions; do
5381 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
5382 ac_cv_prog_ac_ct_RANLIB
="ranlib"
5383 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5392 ac_ct_RANLIB
=$ac_cv_prog_ac_ct_RANLIB
5393 if test -n "$ac_ct_RANLIB"; then
5394 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
5395 $as_echo "$ac_ct_RANLIB" >&6; }
5397 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5398 $as_echo "no" >&6; }
5401 if test "x$ac_ct_RANLIB" = x
; then
5404 case $cross_compiling:$ac_tool_warned in
5406 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5407 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5408 ac_tool_warned
=yes ;;
5410 RANLIB
=$ac_ct_RANLIB
5413 RANLIB
="$ac_cv_prog_RANLIB"
5416 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5
5417 $as_echo_n "checking whether ln -s works... " >&6; }
5419 if test "$LN_S" = "ln -s"; then
5420 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5421 $as_echo "yes" >&6; }
5423 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5
5424 $as_echo "no, using $LN_S" >&6; }
5427 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
5428 $as_echo_n "checking for grep that handles long lines and -e... " >&6; }
5429 if ${ac_cv_path_GREP+:} false
; then :
5430 $as_echo_n "(cached) " >&6
5432 if test -z "$GREP"; then
5433 ac_path_GREP_found
=false
5434 # Loop through the user's path and test for each of PROGNAME-LIST
5435 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5436 for as_dir
in $PATH$PATH_SEPARATOR/usr
/xpg
4/bin
5439 test -z "$as_dir" && as_dir
=.
5440 for ac_prog
in grep ggrep
; do
5441 for ac_exec_ext
in '' $ac_executable_extensions; do
5442 ac_path_GREP
="$as_dir/$ac_prog$ac_exec_ext"
5443 as_fn_executable_p
"$ac_path_GREP" ||
continue
5444 # Check for GNU ac_path_GREP and select it if it is found.
5445 # Check for GNU $ac_path_GREP
5446 case `"$ac_path_GREP" --version 2>&1` in
5448 ac_cv_path_GREP
="$ac_path_GREP" ac_path_GREP_found
=:;;
5451 $as_echo_n 0123456789 >"conftest.in"
5454 cat "conftest.in" "conftest.in" >"conftest.tmp"
5455 mv "conftest.tmp" "conftest.in"
5456 cp "conftest.in" "conftest.nl"
5457 $as_echo 'GREP' >> "conftest.nl"
5458 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev
/null ||
break
5459 diff "conftest.out" "conftest.nl" >/dev
/null
2>&1 ||
break
5460 as_fn_arith
$ac_count + 1 && ac_count
=$as_val
5461 if test $ac_count -gt ${ac_path_GREP_max-0}; then
5462 # Best one so far, save it but keep looking for a better one
5463 ac_cv_path_GREP
="$ac_path_GREP"
5464 ac_path_GREP_max
=$ac_count
5466 # 10*(2^10) chars as input seems more than enough
5467 test $ac_count -gt 10 && break
5469 rm -f conftest.
in conftest.tmp conftest.
nl conftest.out
;;
5472 $ac_path_GREP_found && break 3
5477 if test -z "$ac_cv_path_GREP"; then
5478 as_fn_error $?
"no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
5481 ac_cv_path_GREP
=$GREP
5485 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
5486 $as_echo "$ac_cv_path_GREP" >&6; }
5487 GREP
="$ac_cv_path_GREP"
5490 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
5491 $as_echo_n "checking for egrep... " >&6; }
5492 if ${ac_cv_path_EGREP+:} false
; then :
5493 $as_echo_n "(cached) " >&6
5495 if echo a |
$GREP -E '(a|b)' >/dev
/null
2>&1
5496 then ac_cv_path_EGREP
="$GREP -E"
5498 if test -z "$EGREP"; then
5499 ac_path_EGREP_found
=false
5500 # Loop through the user's path and test for each of PROGNAME-LIST
5501 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5502 for as_dir
in $PATH$PATH_SEPARATOR/usr
/xpg
4/bin
5505 test -z "$as_dir" && as_dir
=.
5506 for ac_prog
in egrep; do
5507 for ac_exec_ext
in '' $ac_executable_extensions; do
5508 ac_path_EGREP
="$as_dir/$ac_prog$ac_exec_ext"
5509 as_fn_executable_p
"$ac_path_EGREP" ||
continue
5510 # Check for GNU ac_path_EGREP and select it if it is found.
5511 # Check for GNU $ac_path_EGREP
5512 case `"$ac_path_EGREP" --version 2>&1` in
5514 ac_cv_path_EGREP
="$ac_path_EGREP" ac_path_EGREP_found
=:;;
5517 $as_echo_n 0123456789 >"conftest.in"
5520 cat "conftest.in" "conftest.in" >"conftest.tmp"
5521 mv "conftest.tmp" "conftest.in"
5522 cp "conftest.in" "conftest.nl"
5523 $as_echo 'EGREP' >> "conftest.nl"
5524 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev
/null ||
break
5525 diff "conftest.out" "conftest.nl" >/dev
/null
2>&1 ||
break
5526 as_fn_arith
$ac_count + 1 && ac_count
=$as_val
5527 if test $ac_count -gt ${ac_path_EGREP_max-0}; then
5528 # Best one so far, save it but keep looking for a better one
5529 ac_cv_path_EGREP
="$ac_path_EGREP"
5530 ac_path_EGREP_max
=$ac_count
5532 # 10*(2^10) chars as input seems more than enough
5533 test $ac_count -gt 10 && break
5535 rm -f conftest.
in conftest.tmp conftest.
nl conftest.out
;;
5538 $ac_path_EGREP_found && break 3
5543 if test -z "$ac_cv_path_EGREP"; then
5544 as_fn_error $?
"no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
5547 ac_cv_path_EGREP
=$EGREP
5552 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
5553 $as_echo "$ac_cv_path_EGREP" >&6; }
5554 EGREP
="$ac_cv_path_EGREP"
5557 # Extract the first word of "ldconfig", so it can be a program name with args.
5558 set dummy ldconfig
; ac_word
=$2
5559 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5560 $as_echo_n "checking for $ac_word... " >&6; }
5561 if ${ac_cv_path_LDCONFIG+:} false
; then :
5562 $as_echo_n "(cached) " >&6
5566 ac_cv_path_LDCONFIG
="$LDCONFIG" # Let the user override the test with a path.
5569 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5570 for as_dir
in /sbin
/usr
/sbin
$PATH
5573 test -z "$as_dir" && as_dir
=.
5574 for ac_exec_ext
in '' $ac_executable_extensions; do
5575 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
5576 ac_cv_path_LDCONFIG
="$as_dir/$ac_word$ac_exec_ext"
5577 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5584 test -z "$ac_cv_path_LDCONFIG" && ac_cv_path_LDCONFIG
="true"
5588 LDCONFIG
=$ac_cv_path_LDCONFIG
5589 if test -n "$LDCONFIG"; then
5590 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LDCONFIG" >&5
5591 $as_echo "$LDCONFIG" >&6; }
5593 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5594 $as_echo "no" >&6; }
5598 for ac_prog
in msgfmt
5600 # Extract the first word of "$ac_prog", so it can be a program name with args.
5601 set dummy
$ac_prog; ac_word
=$2
5602 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5603 $as_echo_n "checking for $ac_word... " >&6; }
5604 if ${ac_cv_prog_MSGFMT+:} false
; then :
5605 $as_echo_n "(cached) " >&6
5607 if test -n "$MSGFMT"; then
5608 ac_cv_prog_MSGFMT
="$MSGFMT" # Let the user override the test.
5610 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5614 test -z "$as_dir" && as_dir
=.
5615 for ac_exec_ext
in '' $ac_executable_extensions; do
5616 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
5617 ac_cv_prog_MSGFMT
="$ac_prog"
5618 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5627 MSGFMT
=$ac_cv_prog_MSGFMT
5628 if test -n "$MSGFMT"; then
5629 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MSGFMT" >&5
5630 $as_echo "$MSGFMT" >&6; }
5632 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5633 $as_echo "no" >&6; }
5637 test -n "$MSGFMT" && break
5639 test -n "$MSGFMT" || MSGFMT
="false"
5641 if ${ac_tool_prefix+:} false
; then :
5642 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
5643 set dummy
${ac_tool_prefix}pkg-config
; ac_word
=$2
5644 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5645 $as_echo_n "checking for $ac_word... " >&6; }
5646 if ${ac_cv_prog_PKG_CONFIG+:} false
; then :
5647 $as_echo_n "(cached) " >&6
5649 if test -n "$PKG_CONFIG"; then
5650 ac_cv_prog_PKG_CONFIG
="$PKG_CONFIG" # Let the user override the test.
5652 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5656 test -z "$as_dir" && as_dir
=.
5657 for ac_exec_ext
in '' $ac_executable_extensions; do
5658 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
5659 ac_cv_prog_PKG_CONFIG
="${ac_tool_prefix}pkg-config"
5660 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5669 PKG_CONFIG
=$ac_cv_prog_PKG_CONFIG
5670 if test -n "$PKG_CONFIG"; then
5671 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
5672 $as_echo "$PKG_CONFIG" >&6; }
5674 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5675 $as_echo "no" >&6; }
5680 if ${ac_cv_prog_PKG_CONFIG:+false} :; then :
5681 if test "x$cross_compiling" = xyes
; then :
5684 { ac_cv_prog_PKG_CONFIG
=; unset ac_cv_prog_PKG_CONFIG
;}
5685 # Extract the first word of "pkg-config", so it can be a program name with args.
5686 set dummy pkg-config
; ac_word
=$2
5687 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5688 $as_echo_n "checking for $ac_word... " >&6; }
5689 if ${ac_cv_prog_PKG_CONFIG+:} false
; then :
5690 $as_echo_n "(cached) " >&6
5692 if test -n "$PKG_CONFIG"; then
5693 ac_cv_prog_PKG_CONFIG
="$PKG_CONFIG" # Let the user override the test.
5695 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5699 test -z "$as_dir" && as_dir
=.
5700 for ac_exec_ext
in '' $ac_executable_extensions; do
5701 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
5702 ac_cv_prog_PKG_CONFIG
="pkg-config"
5703 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5712 PKG_CONFIG
=$ac_cv_prog_PKG_CONFIG
5713 if test -n "$PKG_CONFIG"; then
5714 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
5715 $as_echo "$PKG_CONFIG" >&6; }
5717 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5718 $as_echo "no" >&6; }
5724 PKG_CONFIG
=$ac_cv_prog_PKG_CONFIG
5727 if test "x$enable_maintainer_mode" != "xyes"
5734 test "$srcdir" = . || as_fn_error $?
"Maintainer mode cannot work out of tree." "$LINENO" 5
5735 for ac_prog
in fontforge
5737 # Extract the first word of "$ac_prog", so it can be a program name with args.
5738 set dummy
$ac_prog; ac_word
=$2
5739 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5740 $as_echo_n "checking for $ac_word... " >&6; }
5741 if ${ac_cv_prog_FONTFORGE+:} false
; then :
5742 $as_echo_n "(cached) " >&6
5744 if test -n "$FONTFORGE"; then
5745 ac_cv_prog_FONTFORGE
="$FONTFORGE" # Let the user override the test.
5747 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5751 test -z "$as_dir" && as_dir
=.
5752 for ac_exec_ext
in '' $ac_executable_extensions; do
5753 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
5754 ac_cv_prog_FONTFORGE
="$ac_prog"
5755 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5764 FONTFORGE
=$ac_cv_prog_FONTFORGE
5765 if test -n "$FONTFORGE"; then
5766 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $FONTFORGE" >&5
5767 $as_echo "$FONTFORGE" >&6; }
5769 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5770 $as_echo "no" >&6; }
5774 test -n "$FONTFORGE" && break
5776 test -n "$FONTFORGE" || FONTFORGE
="false"
5778 for ac_prog
in rsvg-convert rsvg
5780 # Extract the first word of "$ac_prog", so it can be a program name with args.
5781 set dummy
$ac_prog; ac_word
=$2
5782 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5783 $as_echo_n "checking for $ac_word... " >&6; }
5784 if ${ac_cv_prog_RSVG+:} false
; then :
5785 $as_echo_n "(cached) " >&6
5787 if test -n "$RSVG"; then
5788 ac_cv_prog_RSVG
="$RSVG" # Let the user override the test.
5790 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5794 test -z "$as_dir" && as_dir
=.
5795 for ac_exec_ext
in '' $ac_executable_extensions; do
5796 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
5797 ac_cv_prog_RSVG
="$ac_prog"
5798 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5807 RSVG
=$ac_cv_prog_RSVG
5808 if test -n "$RSVG"; then
5809 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RSVG" >&5
5810 $as_echo "$RSVG" >&6; }
5812 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5813 $as_echo "no" >&6; }
5817 test -n "$RSVG" && break
5819 test -n "$RSVG" || RSVG
="false"
5821 for ac_prog
in convert
5823 # Extract the first word of "$ac_prog", so it can be a program name with args.
5824 set dummy
$ac_prog; ac_word
=$2
5825 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5826 $as_echo_n "checking for $ac_word... " >&6; }
5827 if ${ac_cv_prog_CONVERT+:} false
; then :
5828 $as_echo_n "(cached) " >&6
5830 if test -n "$CONVERT"; then
5831 ac_cv_prog_CONVERT
="$CONVERT" # Let the user override the test.
5833 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5837 test -z "$as_dir" && as_dir
=.
5838 for ac_exec_ext
in '' $ac_executable_extensions; do
5839 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
5840 ac_cv_prog_CONVERT
="$ac_prog"
5841 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5850 CONVERT
=$ac_cv_prog_CONVERT
5851 if test -n "$CONVERT"; then
5852 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CONVERT" >&5
5853 $as_echo "$CONVERT" >&6; }
5855 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5856 $as_echo "no" >&6; }
5860 test -n "$CONVERT" && break
5862 test -n "$CONVERT" || CONVERT
="false"
5864 for ac_prog
in icotool
5866 # Extract the first word of "$ac_prog", so it can be a program name with args.
5867 set dummy
$ac_prog; ac_word
=$2
5868 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5869 $as_echo_n "checking for $ac_word... " >&6; }
5870 if ${ac_cv_prog_ICOTOOL+:} false
; then :
5871 $as_echo_n "(cached) " >&6
5873 if test -n "$ICOTOOL"; then
5874 ac_cv_prog_ICOTOOL
="$ICOTOOL" # Let the user override the test.
5876 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5880 test -z "$as_dir" && as_dir
=.
5881 for ac_exec_ext
in '' $ac_executable_extensions; do
5882 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
5883 ac_cv_prog_ICOTOOL
="$ac_prog"
5884 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5893 ICOTOOL
=$ac_cv_prog_ICOTOOL
5894 if test -n "$ICOTOOL"; then
5895 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ICOTOOL" >&5
5896 $as_echo "$ICOTOOL" >&6; }
5898 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5899 $as_echo "no" >&6; }
5903 test -n "$ICOTOOL" && break
5905 test -n "$ICOTOOL" || ICOTOOL
="false"
5907 test "$FONTFORGE" != "false" || as_fn_error $?
"You need fontforge to rebuild fonts in maintainer mode." "$LINENO" 5
5908 test "$RSVG" != "false" || as_fn_error $?
"You need rsvg to rebuild icons in maintainer mode." "$LINENO" 5
5910 if test "$CONVERT" = false
5912 as_fn_error $?
"You need imagemagick to rebuild icons in maintainer mode." "$LINENO" 5
5914 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for recent enough imagemagick" >&5
5915 $as_echo_n "checking for recent enough imagemagick... " >&6; }
5916 convert_version
=`convert --version | head -n1`
5917 if test "x$convert_version" != "x"
5919 convert_version_major
=`expr "$convert_version" : '.* \([0-9]*\)\.[0-9]*'`
5920 convert_version_minor
=`expr "$convert_version" : '.* [0-9]*\.\([0-9]*\)'`
5921 if test "$convert_version_major" -eq 6 -a "$convert_version_minor" -lt 6
5926 if test "$CONVERT" = false
5928 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no ($convert_version_major.$convert_version_minor)" >&5
5929 $as_echo "no ($convert_version_major.$convert_version_minor)" >&6; }
5930 as_fn_error $?
"You need imagemagick version 6.6 or newer to rebuild icons in maintainer mode." "$LINENO" 5
5932 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes ($convert_version_major.$convert_version_minor)" >&5
5933 $as_echo "yes ($convert_version_major.$convert_version_minor)" >&6; }
5937 if test "$ICOTOOL" = false
5939 as_fn_error $?
"You need icotool to rebuild icons in maintainer mode." "$LINENO" 5
5941 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for recent enough icotool" >&5
5942 $as_echo_n "checking for recent enough icotool... " >&6; }
5943 icotool_version
=`icotool --version | head -n1`
5944 if test "x$icotool_version" != "x"
5946 icotool_version_major
=`expr "$icotool_version" : '.* \([0-9]*\)\.[0-9]*'`
5947 icotool_version_minor
=`expr "$icotool_version" : '.* [0-9]*\.\([0-9]*\)'`
5948 if test "$icotool_version_major" -eq 0 -a "$icotool_version_minor" -lt 29
5951 as_fn_append wine_warnings
"|icotool version 0.29.0 or newer is needed to rebuild icons."
5954 if test "$ICOTOOL" = false
5956 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no ($icotool_version_major.$icotool_version_minor)" >&5
5957 $as_echo "no ($icotool_version_major.$icotool_version_minor)" >&6; }
5958 as_fn_error $?
"You need icotool version 0.29.0 or newer to rebuild icons in maintainer mode." "$LINENO" 5
5960 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes ($icotool_version_major.$icotool_version_minor)" >&5
5961 $as_echo "yes ($icotool_version_major.$icotool_version_minor)" >&6; }
5967 { ac_cv_header_gettext_po_h
=; unset ac_cv_header_gettext_po_h
;}
5970 test "x$with_gettext" != xno || MSGFMT
=false
5971 if test "$MSGFMT" != "false"
5973 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether msgfmt supports contexts" >&5
5974 $as_echo_n "checking whether msgfmt supports contexts... " >&6; }
5975 cat >conftest.po
<<EOF
5981 if $MSGFMT -o /dev
/null conftest.po
2>&5
5983 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5984 $as_echo "yes" >&6; }
5986 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5987 $as_echo "no" >&6; }
5991 if test "$MSGFMT" = false
; then :
5992 case "x$with_gettext" in
5993 x
) as_fn_append wine_warnings
"|gettext tools not found (or too old), translations won't be built." ;;
5995 *) as_fn_error $?
"gettext tools not found (or too old), translations won't be built.
5996 This is an error since --with-gettext was requested." "$LINENO" 5 ;;
6001 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for i386_set_ldt in -li386" >&5
6002 $as_echo_n "checking for i386_set_ldt in -li386... " >&6; }
6003 if ${ac_cv_lib_i386_i386_set_ldt+:} false
; then :
6004 $as_echo_n "(cached) " >&6
6006 ac_check_lib_save_LIBS
=$LIBS
6008 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6009 /* end confdefs.h. */
6011 /* Override any GCC internal prototype to avoid an error.
6012 Use char because int might match the return type of a GCC
6013 builtin and then its argument prototype would still apply. */
6017 char i386_set_ldt ();
6021 return i386_set_ldt ();
6026 if ac_fn_c_try_link
"$LINENO"; then :
6027 ac_cv_lib_i386_i386_set_ldt
=yes
6029 ac_cv_lib_i386_i386_set_ldt
=no
6031 rm -f core conftest.err conftest.
$ac_objext \
6032 conftest
$ac_exeext conftest.
$ac_ext
6033 LIBS
=$ac_check_lib_save_LIBS
6035 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_i386_i386_set_ldt" >&5
6036 $as_echo "$ac_cv_lib_i386_i386_set_ldt" >&6; }
6037 if test "x$ac_cv_lib_i386_i386_set_ldt" = xyes
; then :
6038 cat >>confdefs.h
<<_ACEOF
6039 #define HAVE_LIBI386 1
6046 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _oss_ioctl in -lossaudio" >&5
6047 $as_echo_n "checking for _oss_ioctl in -lossaudio... " >&6; }
6048 if ${ac_cv_lib_ossaudio__oss_ioctl+:} false
; then :
6049 $as_echo_n "(cached) " >&6
6051 ac_check_lib_save_LIBS
=$LIBS
6052 LIBS
="-lossaudio $LIBS"
6053 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6054 /* end confdefs.h. */
6056 /* Override any GCC internal prototype to avoid an error.
6057 Use char because int might match the return type of a GCC
6058 builtin and then its argument prototype would still apply. */
6066 return _oss_ioctl ();
6071 if ac_fn_c_try_link
"$LINENO"; then :
6072 ac_cv_lib_ossaudio__oss_ioctl
=yes
6074 ac_cv_lib_ossaudio__oss_ioctl
=no
6076 rm -f core conftest.err conftest.
$ac_objext \
6077 conftest
$ac_exeext conftest.
$ac_ext
6078 LIBS
=$ac_check_lib_save_LIBS
6080 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ossaudio__oss_ioctl" >&5
6081 $as_echo "$ac_cv_lib_ossaudio__oss_ioctl" >&6; }
6082 if test "x$ac_cv_lib_ossaudio__oss_ioctl" = xyes
; then :
6083 cat >>confdefs.h
<<_ACEOF
6084 #define HAVE_LIBOSSAUDIO 1
6087 LIBS
="-lossaudio $LIBS"
6096 # Check whether --enable-largefile was given.
6097 if test "${enable_largefile+set}" = set; then :
6098 enableval
=$enable_largefile;
6101 if test "$enable_largefile" != no
; then
6103 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for special C compiler options needed for large files" >&5
6104 $as_echo_n "checking for special C compiler options needed for large files... " >&6; }
6105 if ${ac_cv_sys_largefile_CC+:} false
; then :
6106 $as_echo_n "(cached) " >&6
6108 ac_cv_sys_largefile_CC
=no
6109 if test "$GCC" != yes; then
6112 # IRIX 6.2 and later do not support large files by default,
6113 # so use the C compiler's -n32 option if that helps.
6114 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6115 /* end confdefs.h. */
6116 #include <sys/types.h>
6117 /* Check that off_t can represent 2**63 - 1 correctly.
6118 We can't simply define LARGE_OFF_T to be 9223372036854775807,
6119 since some C++ compilers masquerading as C compilers
6120 incorrectly reject 9223372036854775807. */
6121 #define LARGE_OFF_T ((((off_t) 1 << 31) << 31) - 1 + (((off_t) 1 << 31) << 31))
6122 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
6123 && LARGE_OFF_T % 2147483647 == 1)
6133 if ac_fn_c_try_compile
"$LINENO"; then :
6136 rm -f core conftest.err conftest.
$ac_objext
6138 if ac_fn_c_try_compile
"$LINENO"; then :
6139 ac_cv_sys_largefile_CC
=' -n32'; break
6141 rm -f core conftest.err conftest.
$ac_objext
6145 rm -f conftest.
$ac_ext
6148 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_largefile_CC" >&5
6149 $as_echo "$ac_cv_sys_largefile_CC" >&6; }
6150 if test "$ac_cv_sys_largefile_CC" != no
; then
6151 CC
=$CC$ac_cv_sys_largefile_CC
6154 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _FILE_OFFSET_BITS value needed for large files" >&5
6155 $as_echo_n "checking for _FILE_OFFSET_BITS value needed for large files... " >&6; }
6156 if ${ac_cv_sys_file_offset_bits+:} false
; then :
6157 $as_echo_n "(cached) " >&6
6160 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6161 /* end confdefs.h. */
6162 #include <sys/types.h>
6163 /* Check that off_t can represent 2**63 - 1 correctly.
6164 We can't simply define LARGE_OFF_T to be 9223372036854775807,
6165 since some C++ compilers masquerading as C compilers
6166 incorrectly reject 9223372036854775807. */
6167 #define LARGE_OFF_T ((((off_t) 1 << 31) << 31) - 1 + (((off_t) 1 << 31) << 31))
6168 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
6169 && LARGE_OFF_T % 2147483647 == 1)
6179 if ac_fn_c_try_compile
"$LINENO"; then :
6180 ac_cv_sys_file_offset_bits
=no
; break
6182 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
6183 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6184 /* end confdefs.h. */
6185 #define _FILE_OFFSET_BITS 64
6186 #include <sys/types.h>
6187 /* Check that off_t can represent 2**63 - 1 correctly.
6188 We can't simply define LARGE_OFF_T to be 9223372036854775807,
6189 since some C++ compilers masquerading as C compilers
6190 incorrectly reject 9223372036854775807. */
6191 #define LARGE_OFF_T ((((off_t) 1 << 31) << 31) - 1 + (((off_t) 1 << 31) << 31))
6192 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
6193 && LARGE_OFF_T % 2147483647 == 1)
6203 if ac_fn_c_try_compile
"$LINENO"; then :
6204 ac_cv_sys_file_offset_bits
=64; break
6206 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
6207 ac_cv_sys_file_offset_bits
=unknown
6211 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_file_offset_bits" >&5
6212 $as_echo "$ac_cv_sys_file_offset_bits" >&6; }
6213 case $ac_cv_sys_file_offset_bits in #(
6216 cat >>confdefs.h
<<_ACEOF
6217 #define _FILE_OFFSET_BITS $ac_cv_sys_file_offset_bits
6222 if test $ac_cv_sys_file_offset_bits = unknown
; then
6223 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _LARGE_FILES value needed for large files" >&5
6224 $as_echo_n "checking for _LARGE_FILES value needed for large files... " >&6; }
6225 if ${ac_cv_sys_large_files+:} false
; then :
6226 $as_echo_n "(cached) " >&6
6229 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6230 /* end confdefs.h. */
6231 #include <sys/types.h>
6232 /* Check that off_t can represent 2**63 - 1 correctly.
6233 We can't simply define LARGE_OFF_T to be 9223372036854775807,
6234 since some C++ compilers masquerading as C compilers
6235 incorrectly reject 9223372036854775807. */
6236 #define LARGE_OFF_T ((((off_t) 1 << 31) << 31) - 1 + (((off_t) 1 << 31) << 31))
6237 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
6238 && LARGE_OFF_T % 2147483647 == 1)
6248 if ac_fn_c_try_compile
"$LINENO"; then :
6249 ac_cv_sys_large_files
=no
; break
6251 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
6252 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6253 /* end confdefs.h. */
6254 #define _LARGE_FILES 1
6255 #include <sys/types.h>
6256 /* Check that off_t can represent 2**63 - 1 correctly.
6257 We can't simply define LARGE_OFF_T to be 9223372036854775807,
6258 since some C++ compilers masquerading as C compilers
6259 incorrectly reject 9223372036854775807. */
6260 #define LARGE_OFF_T ((((off_t) 1 << 31) << 31) - 1 + (((off_t) 1 << 31) << 31))
6261 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
6262 && LARGE_OFF_T % 2147483647 == 1)
6272 if ac_fn_c_try_compile
"$LINENO"; then :
6273 ac_cv_sys_large_files
=1; break
6275 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
6276 ac_cv_sys_large_files
=unknown
6280 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_large_files" >&5
6281 $as_echo "$ac_cv_sys_large_files" >&6; }
6282 case $ac_cv_sys_large_files in #(
6285 cat >>confdefs.h
<<_ACEOF
6286 #define _LARGE_FILES $ac_cv_sys_large_files
6298 ac_cpp
='$CPP $CPPFLAGS'
6299 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6300 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6301 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
6302 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
6303 $as_echo_n "checking how to run the C preprocessor... " >&6; }
6304 # On Suns, sometimes $CPP names a directory.
6305 if test -n "$CPP" && test -d "$CPP"; then
6308 if test -z "$CPP"; then
6309 if ${ac_cv_prog_CPP+:} false
; then :
6310 $as_echo_n "(cached) " >&6
6312 # Double quotes because CPP needs to be expanded
6313 for CPP
in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
6316 for ac_c_preproc_warn_flag
in '' yes
6318 # Use a header file that comes with gcc, so configuring glibc
6319 # with a fresh cross-compiler works.
6320 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
6321 # <limits.h> exists even on freestanding compilers.
6322 # On the NeXT, cc -E runs the code through the compiler's parser,
6323 # not just through cpp. "Syntax error" is here to catch this case.
6324 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6325 /* end confdefs.h. */
6327 # include <limits.h>
6329 # include <assert.h>
6333 if ac_fn_c_try_cpp
"$LINENO"; then :
6336 # Broken: fails on valid input.
6339 rm -f conftest.err conftest.i conftest.
$ac_ext
6341 # OK, works on sane cases. Now check whether nonexistent headers
6342 # can be detected and how.
6343 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6344 /* end confdefs.h. */
6345 #include <ac_nonexistent.h>
6347 if ac_fn_c_try_cpp
"$LINENO"; then :
6348 # Broken: success on invalid input.
6351 # Passes both tests.
6355 rm -f conftest.err conftest.i conftest.
$ac_ext
6358 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
6359 rm -f conftest.i conftest.err conftest.
$ac_ext
6360 if $ac_preproc_ok; then :
6372 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
6373 $as_echo "$CPP" >&6; }
6375 for ac_c_preproc_warn_flag
in '' yes
6377 # Use a header file that comes with gcc, so configuring glibc
6378 # with a fresh cross-compiler works.
6379 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
6380 # <limits.h> exists even on freestanding compilers.
6381 # On the NeXT, cc -E runs the code through the compiler's parser,
6382 # not just through cpp. "Syntax error" is here to catch this case.
6383 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6384 /* end confdefs.h. */
6386 # include <limits.h>
6388 # include <assert.h>
6392 if ac_fn_c_try_cpp
"$LINENO"; then :
6395 # Broken: fails on valid input.
6398 rm -f conftest.err conftest.i conftest.
$ac_ext
6400 # OK, works on sane cases. Now check whether nonexistent headers
6401 # can be detected and how.
6402 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6403 /* end confdefs.h. */
6404 #include <ac_nonexistent.h>
6406 if ac_fn_c_try_cpp
"$LINENO"; then :
6407 # Broken: success on invalid input.
6410 # Passes both tests.
6414 rm -f conftest.err conftest.i conftest.
$ac_ext
6417 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
6418 rm -f conftest.i conftest.err conftest.
$ac_ext
6419 if $ac_preproc_ok; then :
6422 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
6423 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
6424 as_fn_error $?
"C preprocessor \"$CPP\" fails sanity check
6425 See \`config.log' for more details" "$LINENO" 5; }
6429 ac_cpp
='$CPP $CPPFLAGS'
6430 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6431 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6432 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
6435 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
6436 $as_echo_n "checking for ANSI C header files... " >&6; }
6437 if ${ac_cv_header_stdc+:} false
; then :
6438 $as_echo_n "(cached) " >&6
6440 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6441 /* end confdefs.h. */
6455 if ac_fn_c_try_compile
"$LINENO"; then :
6456 ac_cv_header_stdc
=yes
6458 ac_cv_header_stdc
=no
6460 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
6462 if test $ac_cv_header_stdc = yes; then
6463 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
6464 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6465 /* end confdefs.h. */
6469 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
6470 $EGREP "memchr" >/dev
/null
2>&1; then :
6473 ac_cv_header_stdc
=no
6479 if test $ac_cv_header_stdc = yes; then
6480 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
6481 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6482 /* end confdefs.h. */
6486 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
6487 $EGREP "free" >/dev
/null
2>&1; then :
6490 ac_cv_header_stdc
=no
6496 if test $ac_cv_header_stdc = yes; then
6497 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
6498 if test "$cross_compiling" = yes; then :
6501 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6502 /* end confdefs.h. */
6505 #if ((' ' & 0x0FF) == 0x020)
6506 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
6507 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
6509 # define ISLOWER(c) \
6510 (('a' <= (c) && (c) <= 'i') \
6511 || ('j' <= (c) && (c) <= 'r') \
6512 || ('s' <= (c) && (c) <= 'z'))
6513 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
6516 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
6521 for (i = 0; i < 256; i++)
6522 if (XOR (islower (i), ISLOWER (i))
6523 || toupper (i) != TOUPPER (i))
6528 if ac_fn_c_try_run
"$LINENO"; then :
6531 ac_cv_header_stdc
=no
6533 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext \
6534 conftest.
$ac_objext conftest.beam conftest.
$ac_ext
6539 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
6540 $as_echo "$ac_cv_header_stdc" >&6; }
6541 if test $ac_cv_header_stdc = yes; then
6543 $as_echo "#define STDC_HEADERS 1" >>confdefs.h
6547 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
6548 for ac_header
in sys
/types.h sys
/stat.h stdlib.h string.h memory.h
strings.h \
6549 inttypes.h stdint.h unistd.h
6551 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
6552 ac_fn_c_check_header_compile
"$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
6554 if eval test \"x\$
"$as_ac_Header"\" = x
"yes"; then :
6555 cat >>confdefs.h
<<_ACEOF
6556 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
6566 ApplicationServices
/ApplicationServices.h \
6567 AudioToolbox
/AudioConverter.h \
6568 AudioUnit
/AudioUnit.h \
6569 AudioUnit
/AudioComponent.h \
6572 CoreAudio
/CoreAudio.h \
6573 CoreServices
/CoreServices.h \
6574 DiskArbitration
/DiskArbitration.h \
6576 IOKit
/hid
/IOHIDLib.h \
6579 QuickTime
/ImageCompression.h \
6580 Security
/Security.h \
6631 netinet
/in_systm.h \
6693 valgrind
/memcheck.h \
6694 valgrind
/valgrind.h \
6698 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
6699 ac_fn_c_check_header_mongrel
"$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
6700 if eval test \"x\$
"$as_ac_Header"\" = x
"yes"; then :
6701 cat >>confdefs.h
<<_ACEOF
6702 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
6709 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether stat file-mode macros are broken" >&5
6710 $as_echo_n "checking whether stat file-mode macros are broken... " >&6; }
6711 if ${ac_cv_header_stat_broken+:} false
; then :
6712 $as_echo_n "(cached) " >&6
6714 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6715 /* end confdefs.h. */
6716 #include <sys/types.h>
6717 #include <sys/stat.h>
6719 #if defined S_ISBLK && defined S_IFDIR
6720 extern char c1[S_ISBLK (S_IFDIR) ? -1 : 1];
6723 #if defined S_ISBLK && defined S_IFCHR
6724 extern char c2[S_ISBLK (S_IFCHR) ? -1 : 1];
6727 #if defined S_ISLNK && defined S_IFREG
6728 extern char c3[S_ISLNK (S_IFREG) ? -1 : 1];
6731 #if defined S_ISSOCK && defined S_IFREG
6732 extern char c4[S_ISSOCK (S_IFREG) ? -1 : 1];
6736 if ac_fn_c_try_compile
"$LINENO"; then :
6737 ac_cv_header_stat_broken
=no
6739 ac_cv_header_stat_broken
=yes
6741 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
6743 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stat_broken" >&5
6744 $as_echo "$ac_cv_header_stat_broken" >&6; }
6745 if test $ac_cv_header_stat_broken = yes; then
6747 $as_echo "#define STAT_MACROS_BROKEN 1" >>confdefs.h
6753 for ac_header
in sys
/mount.h sys
/statfs.h sys
/sysctl.h sys
/user.h sys
/vfs.h
6755 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
6756 ac_fn_c_check_header_compile
"$LINENO" "$ac_header" "$as_ac_Header" "#include <sys/types.h>
6757 #ifdef HAVE_SYS_PARAM_H
6758 # include <sys/param.h>
6761 if eval test \"x\$
"$as_ac_Header"\" = x
"yes"; then :
6762 cat >>confdefs.h
<<_ACEOF
6763 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
6778 netinet
/if_ether.h \
6779 netinet
/if_inarp.h \
6788 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
6789 ac_fn_c_check_header_compile
"$LINENO" "$ac_header" "$as_ac_Header" "#include <sys/types.h>
6790 #ifdef HAVE_SYS_SOCKET_H
6791 # include <sys/socket.h>
6793 #ifdef HAVE_SYS_SOCKETVAR_H
6794 # include <sys/socketvar.h>
6796 #ifdef HAVE_NET_ROUTE_H
6797 # include <net/route.h>
6799 #ifdef HAVE_NETINET_IN_H
6800 # include <netinet/in.h>
6802 #ifdef HAVE_NETINET_IN_SYSTM_H
6803 # include <netinet/in_systm.h>
6805 #ifdef HAVE_NET_IF_H
6806 # include <net/if.h>
6808 #ifdef HAVE_NETINET_IP_H
6809 # include <netinet/ip.h>
6812 if eval test \"x\$
"$as_ac_Header"\" = x
"yes"; then :
6813 cat >>confdefs.h
<<_ACEOF
6814 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
6822 for ac_header
in netinet
/tcp_timer.h netinet
/udp_var.h netinet
/icmp_var.h netinet
/tcp_var.h
6824 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
6825 ac_fn_c_check_header_compile
"$LINENO" "$ac_header" "$as_ac_Header" "#include <sys/types.h>
6829 #ifdef HAVE_SYS_SOCKET_H
6830 # include <sys/socket.h>
6832 #ifdef HAVE_SYS_SOCKETVAR_H
6833 # include <sys/socketvar.h>
6835 #ifdef HAVE_SYS_TIMEOUT_H
6836 # include <sys/timeout.h>
6838 #ifdef HAVE_NETINET_IN_H
6839 # include <netinet/in.h>
6841 #ifdef HAVE_NETINET_IN_SYSTM_H
6842 # include <netinet/in_systm.h>
6844 #ifdef HAVE_NETINET_IP_H
6845 # include <netinet/ip.h>
6847 #ifdef HAVE_NETINET_IP_VAR_H
6848 # include <netinet/ip_var.h>
6850 #ifdef HAVE_NETINET_IP_ICMP_H
6851 # include <netinet/ip_icmp.h>
6853 #ifdef HAVE_NETINET_UDP_H
6854 # include <netinet/udp.h>
6856 #ifdef HAVE_NETINET_TCP_H
6857 # include <netinet/tcp.h>
6859 #ifdef HAVE_NETINET_TCP_TIMER_H
6860 #include <netinet/tcp_timer.h>
6863 if eval test \"x\$
"$as_ac_Header"\" = x
"yes"; then :
6864 cat >>confdefs.h
<<_ACEOF
6865 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
6873 for ac_header
in linux
/ipx.h linux
/irda.h linux
/rtnetlink.h
6875 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
6876 ac_fn_c_check_header_compile
"$LINENO" "$ac_header" "$as_ac_Header" "#include <sys/types.h>
6877 #ifdef HAVE_ASM_TYPES_H
6878 # include <asm/types.h>
6880 #ifdef HAVE_SYS_SOCKET_H
6881 # include <sys/socket.h>
6883 #ifdef HAVE_LINUX_TYPES_H
6884 # include <linux/types.h>
6887 if eval test \"x\$
"$as_ac_Header"\" = x
"yes"; then :
6888 cat >>confdefs.h
<<_ACEOF
6889 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
6897 for ac_header
in mach-o
/dyld_images.h
6899 ac_fn_c_check_header_compile
"$LINENO" "mach-o/dyld_images.h" "ac_cv_header_mach_o_dyld_images_h" "#ifdef HAVE_STDBOOL_H
6900 # include <stdbool.h>
6902 #ifdef HAVE_STDINT_H
6903 # include <stdint.h>
6906 if test "x$ac_cv_header_mach_o_dyld_images_h" = xyes
; then :
6907 cat >>confdefs.h
<<_ACEOF
6908 #define HAVE_MACH_O_DYLD_IMAGES_H 1
6916 for ac_header
in resolv.h
6918 ac_fn_c_check_header_compile
"$LINENO" "resolv.h" "ac_cv_header_resolv_h" "#include <sys/types.h>
6919 #ifdef HAVE_SYS_SOCKET_H
6920 # include <sys/socket.h>
6922 #ifdef HAVE_NETINET_IN_H
6923 # include <netinet/in.h>
6925 #ifdef HAVE_ARPA_NAMESER_H
6926 # include <arpa/nameser.h>
6929 if test "x$ac_cv_header_resolv_h" = xyes
; then :
6930 cat >>confdefs.h
<<_ACEOF
6931 #define HAVE_RESOLV_H 1
6939 for ac_header
in ifaddrs.h
6941 ac_fn_c_check_header_compile
"$LINENO" "ifaddrs.h" "ac_cv_header_ifaddrs_h" "#include <sys/types.h>
6943 if test "x$ac_cv_header_ifaddrs_h" = xyes
; then :
6944 cat >>confdefs.h
<<_ACEOF
6945 #define HAVE_IFADDRS_H 1
6953 for ac_header
in sys
/ucontext.h
6955 ac_fn_c_check_header_compile
"$LINENO" "sys/ucontext.h" "ac_cv_header_sys_ucontext_h" "#include <signal.h>
6957 if test "x$ac_cv_header_sys_ucontext_h" = xyes
; then :
6958 cat >>confdefs.h
<<_ACEOF
6959 #define HAVE_SYS_UCONTEXT_H 1
6967 for ac_header
in sys
/thr.h
6969 ac_fn_c_check_header_compile
"$LINENO" "sys/thr.h" "ac_cv_header_sys_thr_h" "#include <sys/types.h>
6970 #ifdef HAVE_SYS_UCONTEXT_H
6971 #include <sys/ucontext.h>
6974 if test "x$ac_cv_header_sys_thr_h" = xyes
; then :
6975 cat >>confdefs.h
<<_ACEOF
6976 #define HAVE_SYS_THR_H 1
6984 for ac_header
in pthread_np.h
6986 ac_fn_c_check_header_compile
"$LINENO" "pthread_np.h" "ac_cv_header_pthread_np_h" "#ifdef HAVE_PTHREAD_H
6987 #include <pthread.h>
6990 if test "x$ac_cv_header_pthread_np_h" = xyes
; then :
6991 cat >>confdefs.h
<<_ACEOF
6992 #define HAVE_PTHREAD_NP_H 1
7000 for ac_header
in linux
/videodev.h linux
/videodev2.h libv4l1.h
7002 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
7003 ac_fn_c_check_header_compile
"$LINENO" "$ac_header" "$as_ac_Header" "#ifdef HAVE_SYS_TIME_H
7004 #include <sys/time.h>
7006 #include <sys/types.h>
7007 #ifdef HAVE_ASM_TYPES_H
7008 #include <asm/types.h>
7011 if eval test \"x\$
"$as_ac_Header"\" = x
"yes"; then :
7012 cat >>confdefs.h
<<_ACEOF
7013 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
7021 for ac_header
in libprocstat.h
7023 ac_fn_c_check_header_compile
"$LINENO" "libprocstat.h" "ac_cv_header_libprocstat_h" "#ifdef HAVE_SYS_PARAM_H
7024 #include <sys/param.h>
7026 #ifdef HAVE_SYS_QUEUE_H
7027 #include <sys/queue.h>
7029 #ifdef HAVE_SYS_SOCKET_H
7030 #include <sys/socket.h>
7033 if test "x$ac_cv_header_libprocstat_h" = xyes
; then :
7034 cat >>confdefs.h
<<_ACEOF
7035 #define HAVE_LIBPROCSTAT_H 1
7044 dlldir
="\${libdir}/wine"
7048 DLLFLAGS
="-D_REENTRANT"
7057 STATIC_IMPLIBEXT
="def.a"
7058 # Extract the first word of "ldd", so it can be a program name with args.
7059 set dummy ldd
; ac_word
=$2
7060 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7061 $as_echo_n "checking for $ac_word... " >&6; }
7062 if ${ac_cv_path_LDD+:} false
; then :
7063 $as_echo_n "(cached) " >&6
7067 ac_cv_path_LDD
="$LDD" # Let the user override the test with a path.
7070 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7071 as_dummy
="/sbin:/usr/sbin:$PATH"
7072 for as_dir
in $as_dummy
7075 test -z "$as_dir" && as_dir
=.
7076 for ac_exec_ext
in '' $ac_executable_extensions; do
7077 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
7078 ac_cv_path_LDD
="$as_dir/$ac_word$ac_exec_ext"
7079 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7086 test -z "$ac_cv_path_LDD" && ac_cv_path_LDD
="true"
7091 if test -n "$LDD"; then
7092 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LDD" >&5
7093 $as_echo "$LDD" >&6; }
7095 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7096 $as_echo "no" >&6; }
7100 if test -n "$ac_tool_prefix"; then
7101 # Extract the first word of "${ac_tool_prefix}readelf", so it can be a program name with args.
7102 set dummy
${ac_tool_prefix}readelf
; ac_word
=$2
7103 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7104 $as_echo_n "checking for $ac_word... " >&6; }
7105 if ${ac_cv_prog_READELF+:} false
; then :
7106 $as_echo_n "(cached) " >&6
7108 if test -n "$READELF"; then
7109 ac_cv_prog_READELF
="$READELF" # Let the user override the test.
7111 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7115 test -z "$as_dir" && as_dir
=.
7116 for ac_exec_ext
in '' $ac_executable_extensions; do
7117 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
7118 ac_cv_prog_READELF
="${ac_tool_prefix}readelf"
7119 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7128 READELF
=$ac_cv_prog_READELF
7129 if test -n "$READELF"; then
7130 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $READELF" >&5
7131 $as_echo "$READELF" >&6; }
7133 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7134 $as_echo "no" >&6; }
7139 if test -z "$ac_cv_prog_READELF"; then
7140 ac_ct_READELF
=$READELF
7141 # Extract the first word of "readelf", so it can be a program name with args.
7142 set dummy readelf
; ac_word
=$2
7143 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7144 $as_echo_n "checking for $ac_word... " >&6; }
7145 if ${ac_cv_prog_ac_ct_READELF+:} false
; then :
7146 $as_echo_n "(cached) " >&6
7148 if test -n "$ac_ct_READELF"; then
7149 ac_cv_prog_ac_ct_READELF
="$ac_ct_READELF" # Let the user override the test.
7151 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7155 test -z "$as_dir" && as_dir
=.
7156 for ac_exec_ext
in '' $ac_executable_extensions; do
7157 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
7158 ac_cv_prog_ac_ct_READELF
="readelf"
7159 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7168 ac_ct_READELF
=$ac_cv_prog_ac_ct_READELF
7169 if test -n "$ac_ct_READELF"; then
7170 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_READELF" >&5
7171 $as_echo "$ac_ct_READELF" >&6; }
7173 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7174 $as_echo "no" >&6; }
7177 if test "x$ac_ct_READELF" = x
; then
7180 case $cross_compiling:$ac_tool_warned in
7182 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7183 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7184 ac_tool_warned
=yes ;;
7186 READELF
=$ac_ct_READELF
7189 READELF
="$ac_cv_prog_READELF"
7192 wine_rules_file
=conf$
$rules.
make
7193 rm -f $wine_rules_file
7195 GITIGNORE
="# Automatically generated by configure; DO NOT EDIT!!"
7196 ALL_TEST_RESOURCES
=""
7199 wine_fn_append_file
()
7201 as_fn_append
$1 " \\$as_nl $2"
7204 wine_fn_ignore_file
()
7207 */*) as_fn_append GITIGNORE
"$as_nl$1" ;;
7208 \
**) as_fn_append GITIGNORE
"$as_nl$1" ;;
7209 *) as_fn_append GITIGNORE
"$as_nl/$1" ;;
7213 wine_fn_append_rule
()
7215 $as_echo "$1" >>$wine_rules_file
7220 expr ",$ac_flags," : ".*,$1,.*" >/dev
/null
7223 wine_fn_depend_rules
()
7225 wine_fn_append_rule \
7226 "$ac_dir/Makefile: $srcdir/$ac_dir/Makefile.in $srcdir/Make.vars.in config.status \$(MAKEDEP)
7227 @./config.status --file $ac_dir/Makefile:Make.vars.in:$ac_dir/Makefile.in && \$(MAKEDEP) $ac_dir
7228 depend: $ac_dir/depend
7229 .PHONY: $ac_dir/depend
7230 $ac_dir/depend: \$(MAKEDEP) dummy
7231 @./config.status --file $ac_dir/Makefile:Make.vars.in:$ac_dir/Makefile.in && \$(MAKEDEP) $ac_dir"
7234 wine_fn_pot_rules
()
7236 test "x$with_gettextpo" = xyes ||
return
7238 if wine_fn_has_flag mc
7240 wine_fn_append_file ALL_POT_FILES
$ac_dir/msg.pot
7241 wine_fn_append_rule \
7242 "$ac_dir/msg.pot: $ac_dir/Makefile dummy
7243 @cd $ac_dir && \$(MAKE) msg.pot
7244 $ac_dir/msg.pot: tools/wmc include"
7246 if wine_fn_has_flag po
7248 wine_fn_append_file ALL_POT_FILES
$ac_dir/rsrc.pot
7249 wine_fn_append_rule \
7250 "$ac_dir/rsrc.pot: $ac_dir/Makefile dummy
7251 @cd $ac_dir && \$(MAKE) rsrc.pot
7252 $ac_dir/rsrc.pot: tools/wrc include"
7256 wine_fn_all_rules
()
7258 wine_fn_depend_rules
7259 wine_fn_append_rule \
7262 $ac_dir: $ac_dir/Makefile dummy
7263 @cd $ac_dir && \$(MAKE)"
7266 wine_fn_install_rules
()
7268 wine_fn_has_flag install-lib || wine_fn_has_flag install-dev ||
return
7270 wine_fn_append_rule \
7271 ".PHONY: $ac_dir/install $ac_dir/uninstall
7272 $ac_dir/install:: $ac_dir
7273 @cd $ac_dir && \$(MAKE) install
7274 $ac_dir/uninstall:: $ac_dir/Makefile
7275 @cd $ac_dir && \$(MAKE) uninstall
7276 install:: $ac_dir/install
7277 __uninstall__: $ac_dir/uninstall"
7279 if wine_fn_has_flag install-lib
7281 wine_fn_append_rule \
7282 ".PHONY: $ac_dir/install-lib
7283 $ac_dir/install-lib:: $ac_dir
7284 @cd $ac_dir && \$(MAKE) install-lib
7285 install-lib:: $ac_dir/install-lib"
7288 if wine_fn_has_flag install-dev
7290 wine_fn_append_rule \
7291 ".PHONY: $ac_dir/install-dev
7292 $ac_dir/install-dev:: $ac_dir
7293 @cd $ac_dir && \$(MAKE) install-dev
7294 install-dev:: $ac_dir/install-dev"
7298 wine_fn_clean_rules
()
7301 ac_extraclean
="$ac_dir/Makefile"
7302 test "$srcdir" = .
&& ac_extraclean
="$ac_extraclean $ac_dir/.gitignore"
7304 */tests
) ac_extraclean
="$ac_extraclean $ac_dir/testlist.c" ;;
7307 if wine_fn_has_flag clean
7309 wine_fn_append_rule \
7310 "__clean__: $ac_dir/clean
7311 .PHONY: $ac_dir/clean
7312 $ac_dir/clean: $ac_dir/Makefile
7313 @cd $ac_dir && \$(MAKE) clean
7314 \$(RM) $ac_extraclean"
7316 wine_fn_append_rule \
7317 "__clean__: $ac_dir/clean
7318 .PHONY: $ac_dir/clean
7319 $ac_dir/clean: dummy
7320 \$(RM) \$(CLEAN_FILES:%=$ac_dir/%) $ac_clean $ac_extraclean"
7324 wine_fn_disabled_rules
()
7327 ac_extraclean
="$ac_dir/Makefile"
7328 test "$srcdir" = .
&& ac_extraclean
="$ac_extraclean $ac_dir/.gitignore"
7330 wine_fn_append_rule \
7331 "__clean__: $ac_dir/clean
7332 .PHONY: $ac_dir/clean
7333 $ac_dir/clean: dummy
7334 \$(RM) \$(CLEAN_FILES:%=$ac_dir/%) $ac_clean $ac_extraclean"
7337 wine_fn_config_makefile
()
7343 if eval test \"x\$
"$ac_enable"\" = x
"no"; then :
7344 wine_fn_disabled_rules
; return
7347 wine_fn_install_rules
7351 wine_fn_config_lib
()
7355 ac_dir
=dlls
/$ac_name
7358 if test "x$enable_tools" = xno
; then :
7361 ac_deps
="tools/widl tools/winebuild tools/winegcc $ac_deps"
7366 wine_fn_append_rule \
7367 ".PHONY: $ac_dir/install $ac_dir/uninstall
7368 $ac_dir/install:: $ac_dir
7369 \$(INSTALL_DATA) $ac_dir/lib$ac_name.a \$(DESTDIR)\$(dlldir)/lib$ac_name.a
7371 \$(RM) \$(DESTDIR)\$(dlldir)/lib$ac_name.a
7372 install install-dev:: $ac_dir/install
7373 __uninstall__: $ac_dir/uninstall
7374 __builddeps__: $ac_dir
7378 wine_fn_config_dll
()
7381 ac_dir
=dlls
/$ac_name
7384 ac_implib
=${4:-$ac_name}
7385 ac_file
=$ac_dir/lib
$ac_implib
7390 if test "x$enable_tools" = xno
; then :
7393 ac_deps
="tools/widl tools/winebuild tools/winegcc $ac_deps"
7396 *16) ac_implibflags
=" -m16" ;;
7398 *) ac_dll
=$ac_dll.dll
;;
7402 wine_fn_has_flag implib
&& ac_clean
="$ac_clean $ac_file.$IMPLIBEXT"
7403 wine_fn_has_flag mc
&& ac_clean
="$ac_clean $ac_dir/msg.pot"
7404 wine_fn_has_flag po
&& ac_clean
="$ac_clean $ac_dir/rsrc.pot"
7405 test -n "$DLLEXT" || ac_clean
="$ac_clean $ac_dir/$ac_dll"
7407 if eval test \"x\$
"$ac_enable"\" = x
"no"; then :
7408 if wine_fn_has_flag implib
&& test "$ac_enable" != enable_win16
7410 wine_fn_depend_rules
7411 wine_fn_clean_rules
$ac_clean
7413 wine_fn_disabled_rules
$ac_clean
7418 wine_fn_clean_rules
$ac_clean
7419 wine_fn_append_rule \
7420 "$ac_dir: __builddeps__
7421 manpages htmlpages sgmlpages xmlpages:: $ac_dir/Makefile
7422 @cd $ac_dir && \$(MAKE) \$@
7423 .PHONY: $ac_dir/install-lib $ac_dir/uninstall
7424 install install-lib:: $ac_dir/install-lib
7425 __uninstall__: $ac_dir/uninstall"
7426 if test -n "$DLLEXT"
7428 wine_fn_append_rule \
7429 "$ac_dir/install-lib:: $ac_dir
7430 \$(INSTALL_PROGRAM) $ac_dir/$ac_dll$DLLEXT \$(DESTDIR)\$(dlldir)/$DLLPREFIX$ac_dll$DLLEXT
7431 \$(INSTALL_DATA) $ac_dir/$ac_dll.fake \$(DESTDIR)\$(fakedlldir)/$ac_dll
7433 \$(RM) \$(DESTDIR)\$(dlldir)/$DLLPREFIX$ac_dll$DLLEXT \$(DESTDIR)\$(fakedlldir)/$ac_dll"
7435 wine_fn_append_rule \
7436 "$ac_dir/install-lib:: $ac_dir
7437 \$(INSTALL_PROGRAM) $ac_dir/$ac_dll \$(DESTDIR)\$(dlldir)/$ac_dll
7439 \$(RM) \$(DESTDIR)\$(dlldir)/$ac_dll"
7445 if wine_fn_has_flag staticimplib
7447 wine_fn_append_rule \
7448 "__builddeps__: $ac_file.$IMPLIBEXT $ac_file.$STATIC_IMPLIBEXT
7449 $ac_file.$IMPLIBEXT $ac_file.$STATIC_IMPLIBEXT $ac_file.cross.a: $ac_deps
7450 $ac_file.def: $srcdir/$ac_dir/$ac_name.spec $ac_dir/Makefile \$(WINEBUILD)
7451 \$(WINEBUILD) \$(TARGETFLAGS)$ac_implibflags -w --def -o \$@ --export $srcdir/$ac_dir/$ac_name.spec
7452 $ac_file.$STATIC_IMPLIBEXT: $ac_dir/Makefile dummy
7453 @cd $ac_dir && \$(MAKE) lib$ac_implib.$STATIC_IMPLIBEXT
7454 .PHONY: $ac_dir/install-dev $ac_dir/uninstall
7455 $ac_dir/install-dev:: $ac_file.$IMPLIBEXT
7456 \$(INSTALL_DATA) $ac_file.$IMPLIBEXT \$(DESTDIR)\$(dlldir)/lib$ac_implib.$IMPLIBEXT
7458 \$(RM) \$(DESTDIR)\$(dlldir)/lib$ac_implib.$IMPLIBEXT
7459 install install-dev:: $ac_dir/install-dev
7460 __uninstall__: $ac_dir/uninstall"
7462 if test "$IMPLIBEXT" != "$STATIC_IMPLIBEXT"
7464 wine_fn_append_rule \
7465 "$ac_dir/install-dev:: $ac_file.$STATIC_IMPLIBEXT __builddeps__
7466 \$(INSTALL_DATA) $ac_file.$STATIC_IMPLIBEXT \$(DESTDIR)\$(dlldir)/lib$ac_implib.$STATIC_IMPLIBEXT
7468 \$(RM) \$(DESTDIR)\$(dlldir)/lib$ac_implib.$STATIC_IMPLIBEXT"
7471 if test -n "$CROSSTARGET" -a -z "$ac_implibflags"
7473 wine_fn_append_rule \
7474 "__builddeps__: $ac_file.cross.a
7475 $ac_file.cross.a: $ac_dir/Makefile dummy
7476 @cd $ac_dir && \$(MAKE) lib$ac_implib.cross.a"
7479 elif wine_fn_has_flag implib
7481 wine_fn_append_rule \
7482 "__builddeps__: $ac_file.$IMPLIBEXT
7483 $ac_file.def: $srcdir/$ac_dir/$ac_name.spec $ac_dir/Makefile \$(WINEBUILD)
7484 \$(WINEBUILD) \$(TARGETFLAGS)$ac_implibflags -w --def -o \$@ --export $srcdir/$ac_dir/$ac_name.spec
7485 $ac_file.a: $srcdir/$ac_dir/$ac_name.spec $ac_dir/Makefile \$(WINEBUILD)
7486 \$(WINEBUILD) \$(TARGETFLAGS)$ac_implibflags -w --implib -o \$@ --export $srcdir/$ac_dir/$ac_name.spec
7487 .PHONY: $ac_dir/install-dev $ac_dir/uninstall
7488 $ac_dir/install-dev:: $ac_file.$IMPLIBEXT
7489 \$(INSTALL_DATA) $ac_file.$IMPLIBEXT \$(DESTDIR)\$(dlldir)/lib$ac_implib.$IMPLIBEXT
7491 \$(RM) \$(DESTDIR)\$(dlldir)/lib$ac_implib.$IMPLIBEXT
7492 install install-dev:: $ac_dir/install-dev
7493 __uninstall__: $ac_dir/uninstall"
7494 if test -n "$CROSSTARGET" -a -z "$ac_implibflags"
7496 wine_fn_append_rule \
7497 "__builddeps__: $ac_file.cross.a
7498 $ac_file.cross.a: $srcdir/$ac_dir/$ac_name.spec $ac_dir/Makefile \$(WINEBUILD)
7499 \$(WINEBUILD) \$(CROSSTARGET:%=-b %)$ac_implibflags -w --implib -o \$@ --export $srcdir/$ac_dir/$ac_name.spec"
7502 if test "$ac_name" != "$ac_implib"
7504 wine_fn_append_rule \
7505 "__builddeps__: dlls/lib$ac_implib.$IMPLIBEXT
7506 dlls/lib$ac_implib.$IMPLIBEXT: $ac_file.$IMPLIBEXT
7507 \$(RM) \$@ && \$(LN_S) $ac_name/lib$ac_implib.$IMPLIBEXT \$@
7509 \$(RM) dlls/lib$ac_implib.$IMPLIBEXT"
7510 wine_fn_ignore_file
"dlls/lib$ac_implib.$IMPLIBEXT"
7511 if test -n "$CROSSTARGET" -a -z "$ac_implibflags"
7513 wine_fn_append_rule \
7514 "__builddeps__: dlls/lib$ac_implib.cross.a
7515 dlls/lib$ac_implib.cross.a: $ac_file.cross.a
7516 \$(RM) \$@ && \$(LN_S) $ac_name/lib$ac_implib.cross.a \$@
7518 \$(RM) dlls/lib$ac_implib.cross.a"
7519 wine_fn_ignore_file
"dlls/lib$ac_implib.cross.a"
7525 wine_fn_config_program
()
7528 ac_dir
=programs
/$ac_name
7535 *) ac_program
=$ac_program.exe
;;
7539 wine_fn_has_flag mc
&& ac_clean
="$ac_clean $ac_dir/msg.pot"
7540 wine_fn_has_flag po
&& ac_clean
="$ac_clean $ac_dir/rsrc.pot"
7541 wine_fn_has_flag manpage
&& ac_clean
="$ac_clean $ac_dir/$ac_name.man"
7542 test -n "$DLLEXT" || ac_clean
="$ac_clean $ac_dir/$ac_program"
7544 if eval test \"x\$
"$ac_enable"\" = x
"no"; then :
7545 wine_fn_disabled_rules
$ac_clean; return
7549 wine_fn_clean_rules
$ac_clean
7550 wine_fn_append_rule
"$ac_dir: __builddeps__"
7553 wine_fn_has_flag
install ||
return
7554 wine_fn_append_rule \
7555 ".PHONY: $ac_dir/install $ac_dir/uninstall
7556 install install-lib:: $ac_dir/install
7557 __uninstall__: $ac_dir/uninstall"
7559 if test -n "$DLLEXT"
7561 wine_fn_append_rule \
7562 "$ac_dir/install:: $ac_dir
7563 \$(INSTALL_PROGRAM) $ac_dir/$ac_program$DLLEXT \$(DESTDIR)\$(dlldir)/$DLLPREFIX$ac_program$DLLEXT
7564 \$(INSTALL_DATA) $ac_dir/$ac_program.fake \$(DESTDIR)\$(fakedlldir)/$ac_program
7566 \$(RM) \$(DESTDIR)\$(dlldir)/$DLLPREFIX$ac_program$DLLEXT \$(DESTDIR)\$(fakedlldir)/$ac_program"
7568 if test -z "$with_wine64" && wine_fn_has_flag installbin
7570 wine_fn_append_rule \
7571 "$ac_dir/install:: __tooldeps__
7572 \$(INSTALL_SCRIPT) \$(TOOLSDIR)/tools/wineapploader \$(DESTDIR)\$(bindir)/$ac_name
7574 \$(RM) \$(DESTDIR)\$(bindir)/$ac_name"
7577 wine_fn_append_rule \
7578 "$ac_dir/install:: $ac_dir
7579 \$(INSTALL_PROGRAM) $ac_dir/$ac_program \$(DESTDIR)\$(bindir)/$ac_program
7581 \$(RM) \$(DESTDIR)\$(bindir)/$ac_program"
7584 if test -z "$with_wine64" && wine_fn_has_flag manpage
7586 wine_fn_append_rule \
7587 "$ac_dir/install:: $ac_dir
7588 \$(INSTALL_DATA) $ac_dir/$ac_name.man \$(DESTDIR)\$(mandir)/man\$(prog_manext)/$ac_name.\$(prog_manext)
7590 \$(RM) \$(DESTDIR)\$(mandir)/man\$(prog_manext)/$ac_name.\$(prog_manext)"
7594 wine_fn_config_test
()
7601 test -n "$CROSSTARGET" && ac_clean
=`expr $ac_dir/${ac_name} : "\\(.*\\)_test"`_crosstest.exe
7602 test -n "$DLLEXT" || ac_clean
="$ac_dir/${ac_name}.exe $ac_dir/${ac_name}-stripped.exe"
7604 if test "x$enable_tests" = xno
; then :
7605 wine_fn_disabled_rules
$ac_clean; return
7608 wine_fn_append_file ALL_TEST_RESOURCES
$ac_name.res
7610 wine_fn_clean_rules
$ac_clean
7612 wine_fn_append_rule \
7613 "$ac_dir: programs/winetest/Makefile __builddeps__
7614 programs/winetest: $ac_dir
7615 check test: $ac_dir/test
7616 .PHONY: $ac_dir/test
7618 @cd $ac_dir && \$(MAKE) test
7620 \$(RM) $ac_dir/*.ok"
7622 if test -n "$CROSSTARGET"
7624 wine_fn_append_rule \
7625 "crosstest: $ac_dir/crosstest
7626 .PHONY: $ac_dir/crosstest
7627 $ac_dir/crosstest: $ac_dir/Makefile __builddeps__ dummy
7628 @cd $ac_dir && \$(MAKE) crosstest"
7632 wine_fn_config_tool
()
7636 if test "x$enable_tools" = xno
; then :
7641 wine_fn_install_rules
7644 wine_fn_append_rule
"__tooldeps__: $ac_dir"
7645 wine_fn_append_rule
"$ac_dir: libs/port"
7647 tools
/winebuild
) wine_fn_append_rule
"\$(WINEBUILD): $ac_dir" ;;
7651 wine_fn_config_symlink
()
7654 if test "x$1" = "x-d"
7660 wine_fn_append_rule \
7662 @./config.status \$@
7665 for f
in $ac_links; do wine_fn_ignore_file
$f; done
7666 test -n "$ac_linkdir" ||
return
7667 wine_fn_append_rule
"$ac_linkdir/Makefile $ac_linkdir/depend: $ac_links"
7671 test "x$enable_win64" != "xyes" || wine_binary
="wine64"
7672 loader_programs
="$wine_binary wine-installed"
7673 libwine_soversion
=`expr $libwine_version : '\([0-9]*\)\..*'`
7678 install install-lib:: wine-installed
7679 \$(INSTALL_PROGRAM) wine-installed \$(DESTDIR)\$(bindir)/$wine_binary
7682 \$(RM) \$(DESTDIR)\$(bindir)/$wine_binary
7688 if test -n "$ac_tool_prefix"; then
7689 # Extract the first word of "${ac_tool_prefix}dlltool", so it can be a program name with args.
7690 set dummy
${ac_tool_prefix}dlltool
; ac_word
=$2
7691 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7692 $as_echo_n "checking for $ac_word... " >&6; }
7693 if ${ac_cv_prog_DLLTOOL+:} false
; then :
7694 $as_echo_n "(cached) " >&6
7696 if test -n "$DLLTOOL"; then
7697 ac_cv_prog_DLLTOOL
="$DLLTOOL" # Let the user override the test.
7699 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7703 test -z "$as_dir" && as_dir
=.
7704 for ac_exec_ext
in '' $ac_executable_extensions; do
7705 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
7706 ac_cv_prog_DLLTOOL
="${ac_tool_prefix}dlltool"
7707 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7716 DLLTOOL
=$ac_cv_prog_DLLTOOL
7717 if test -n "$DLLTOOL"; then
7718 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DLLTOOL" >&5
7719 $as_echo "$DLLTOOL" >&6; }
7721 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7722 $as_echo "no" >&6; }
7727 if test -z "$ac_cv_prog_DLLTOOL"; then
7728 ac_ct_DLLTOOL
=$DLLTOOL
7729 # Extract the first word of "dlltool", so it can be a program name with args.
7730 set dummy dlltool
; ac_word
=$2
7731 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7732 $as_echo_n "checking for $ac_word... " >&6; }
7733 if ${ac_cv_prog_ac_ct_DLLTOOL+:} false
; then :
7734 $as_echo_n "(cached) " >&6
7736 if test -n "$ac_ct_DLLTOOL"; then
7737 ac_cv_prog_ac_ct_DLLTOOL
="$ac_ct_DLLTOOL" # Let the user override the test.
7739 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7743 test -z "$as_dir" && as_dir
=.
7744 for ac_exec_ext
in '' $ac_executable_extensions; do
7745 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
7746 ac_cv_prog_ac_ct_DLLTOOL
="dlltool"
7747 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7756 ac_ct_DLLTOOL
=$ac_cv_prog_ac_ct_DLLTOOL
7757 if test -n "$ac_ct_DLLTOOL"; then
7758 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DLLTOOL" >&5
7759 $as_echo "$ac_ct_DLLTOOL" >&6; }
7761 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7762 $as_echo "no" >&6; }
7765 if test "x$ac_ct_DLLTOOL" = x
; then
7768 case $cross_compiling:$ac_tool_warned in
7770 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7771 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7772 ac_tool_warned
=yes ;;
7774 DLLTOOL
=$ac_ct_DLLTOOL
7777 DLLTOOL
="$ac_cv_prog_DLLTOOL"
7783 STATIC_IMPLIBEXT
="a"
7784 enable_iphlpapi
=${enable_iphlpapi:-no}
7785 enable_kernel32
=${enable_kernel32:-no}
7786 enable_msvcrt
=${enable_msvcrt:-no}
7787 enable_ntdll
=${enable_ntdll:-no}
7788 enable_ws2_32
=${enable_ws2_32:-no}
7789 enable_loader
=${enable_loader:-no}
7790 enable_server
=${enable_server:-no}
7791 with_x
=${with_x:-no}
7792 with_pthread
=${with_pthread:-no}
7798 SOCKET_LIBS
="-L\$(top_builddir)/dlls/ws2_32 -lws2_32"
7802 libwine_targets
="libwine.dll libwine.a"
7804 OBJS = \$(C_SRCS:.c=.o) \$(EXTRA_OBJS)
7806 all: libwine.dll libwine.a
7808 libwine.a: \$(srcdir)/wine.def
7809 \$(DLLTOOL) -l \$@ -d \$(srcdir)/wine.def
7811 libwine.dll: \$(OBJS) \$(srcdir)/wine.def
7812 \$(CC) -shared \$(srcdir)/wine.def -o \$@ \$(OBJS) $crtlibs \$(EXTRALIBS)
7814 install install-lib:: libwine.dll
7815 \$(INSTALL_DATA) libwine.dll \$(DESTDIR)\$(libdir)/libwine.dll
7817 install install-dev:: libwine.a
7818 \$(INSTALL_DATA) libwine.a \$(DESTDIR)\$(libdir)/libwine.a
7821 -cd \$(DESTDIR)\$(libdir) && \$(RM) libwine.a libwine.dll
7828 DLLFLAGS
="$DLLFLAGS -fPIC"
7829 LIBWINE_LDFLAGS
="-multiply_defined suppress"
7830 LDRPATH_INSTALL
="-Wl,-rpath,@loader_path/\`\$(MAKEDEP) -R \$(bindir) \$(libdir)\`"
7831 LDRPATH_LOCAL
="-Wl,-rpath,@loader_path/\$(top_builddir)/libs/wine"
7832 COREFOUNDATION_LIBS
="-framework CoreFoundation"
7834 IOKIT_LIBS
="-framework IOKit -framework CoreFoundation"
7836 FORCEFEEDBACK_LIBS
="-framework ForceFeedback -framework CoreFoundation"
7838 APPLICATIONSERVICES_LIBS
="-framework ApplicationServices"
7840 CORESERVICES_LIBS
="-framework CoreServices"
7842 APPKIT_LIBS
="-framework AppKit"
7844 LDEXECFLAGS
="-image_base 0x7bf00000 -Wl,-segaddr,WINE_DOS,0x00001000,-segaddr,WINE_SHAREDHEAP,0x7f000000,-sectcreate,__TEXT,__info_plist,wine_info.plist"
7845 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,-no_pie" >&5
7846 $as_echo_n "checking whether the compiler supports -Wl,-no_pie... " >&6; }
7847 if ${ac_cv_cflags__Wl__no_pie+:} false
; then :
7848 $as_echo_n "(cached) " >&6
7850 ac_wine_try_cflags_saved
=$CFLAGS
7851 CFLAGS
="$CFLAGS -Wl,-no_pie"
7852 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
7853 /* end confdefs.h. */
7854 int main(int argc, char **argv) { return 0; }
7856 if ac_fn_c_try_link
"$LINENO"; then :
7857 ac_cv_cflags__Wl__no_pie
=yes
7859 ac_cv_cflags__Wl__no_pie
=no
7861 rm -f core conftest.err conftest.
$ac_objext \
7862 conftest
$ac_exeext conftest.
$ac_ext
7863 CFLAGS
=$ac_wine_try_cflags_saved
7865 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl__no_pie" >&5
7866 $as_echo "$ac_cv_cflags__Wl__no_pie" >&6; }
7867 if test "x$ac_cv_cflags__Wl__no_pie" = xyes
; then :
7868 LDEXECFLAGS
="-Wl,-no_pie $LDEXECFLAGS"
7870 if test "$ac_cv_header_DiskArbitration_DiskArbitration_h" = "yes"
7872 DISKARBITRATION_LIBS
="-framework DiskArbitration -framework CoreFoundation"
7875 if test "$ac_cv_header_Security_Security_h" = "yes"
7877 SECURITY_LIBS
="-framework Security -framework CoreFoundation"
7879 ac_save_LIBS
="$LIBS"
7880 LIBS
="$LIBS $SECURITY_LIBS"
7881 for ac_func
in SSLCopyPeerCertificates
7883 ac_fn_c_check_func
"$LINENO" "SSLCopyPeerCertificates" "ac_cv_func_SSLCopyPeerCertificates"
7884 if test "x$ac_cv_func_SSLCopyPeerCertificates" = xyes
; then :
7885 cat >>confdefs.h
<<_ACEOF
7886 #define HAVE_SSLCOPYPEERCERTIFICATES 1
7892 LIBS
="$ac_save_LIBS"
7893 with_gnutls
=${with_gnutls:-no}
7895 if test "$ac_cv_header_CoreAudio_CoreAudio_h" = "yes" -a "$ac_cv_header_AudioUnit_AudioUnit_h" = "yes"
7897 if test "$ac_cv_header_AudioUnit_AudioComponent_h" = "yes"
7899 COREAUDIO_LIBS
="-framework CoreFoundation -framework CoreAudio -framework AudioUnit -framework AudioToolbox -framework CoreMIDI"
7902 COREAUDIO_LIBS
="-framework CoreAudio -framework AudioUnit -framework CoreServices -framework AudioToolbox -framework CoreMIDI"
7905 ac_save_LIBS
="$LIBS"
7906 LIBS
="$LIBS $COREAUDIO_LIBS"
7907 for ac_func
in AUGraphAddNode
7909 ac_fn_c_check_func
"$LINENO" "AUGraphAddNode" "ac_cv_func_AUGraphAddNode"
7910 if test "x$ac_cv_func_AUGraphAddNode" = xyes
; then :
7911 cat >>confdefs.h
<<_ACEOF
7912 #define HAVE_AUGRAPHADDNODE 1
7918 LIBS
="$ac_save_LIBS"
7920 if test "$ac_cv_header_OpenAL_al_h" = "yes"
7922 OPENAL_LIBS
="-framework OpenAL"
7925 cat >>confdefs.h
<<_ACEOF
7926 #define HAVE_OPENAL 1
7929 ac_cv_lib_openal
=yes
7931 if test "$ac_cv_header_OpenCL_opencl_h" = "yes"
7933 OPENCL_LIBS
="-framework OpenCL"
7935 ac_cv_lib_OpenCL_clGetPlatformInfo
=yes
7937 if test "$ac_cv_header_IOKit_hid_IOHIDLib_h" = "yes"
7939 ac_save_LIBS
="$LIBS"
7940 LIBS
="$LIBS $IOKIT_LIBS"
7941 for ac_func
in IOHIDManagerCreate
7943 ac_fn_c_check_func
"$LINENO" "IOHIDManagerCreate" "ac_cv_func_IOHIDManagerCreate"
7944 if test "x$ac_cv_func_IOHIDManagerCreate" = xyes
; then :
7945 cat >>confdefs.h
<<_ACEOF
7946 #define HAVE_IOHIDMANAGERCREATE 1
7952 LIBS
="$ac_save_LIBS"
7954 if test "$ac_cv_header_QuickTime_ImageCompression_h" = "yes"
7956 ac_save_LIBS
="$LIBS"
7957 LIBS
="-framework QuickTime -framework ApplicationServices -framework CoreVideo $LIBS"
7958 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for the QuickTime framework" >&5
7959 $as_echo_n "checking for the QuickTime framework... " >&6; }
7960 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
7961 /* end confdefs.h. */
7962 #include <QuickTime/ImageCompression.h>
7966 CodecManagerVersion(NULL);
7971 if ac_fn_c_try_link
"$LINENO"; then :
7972 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
7973 $as_echo "yes" >&6; }
7974 QUICKTIME_LIBS
="-framework QuickTime -framework ApplicationServices -framework CoreVideo"
7976 enable_wineqtdecoder
=${enable_wineqtdecoder:-yes}
7978 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7979 $as_echo "no" >&6; }
7980 ac_cv_header_QuickTime_ImageCompression_h
=no
7982 rm -f core conftest.err conftest.
$ac_objext \
7983 conftest
$ac_exeext conftest.
$ac_ext
7984 LIBS
="$ac_save_LIBS"
7986 if test "$ac_cv_header_QuickTime_ImageCompression_h" != "yes"
7988 as_fn_append wine_notices
"|QuickTime ${notice_platform}development files not found, video decoding won't be supported."
7990 if test "$ac_cv_header_Carbon_Carbon_h" = "yes"
7992 CARBON_LIBS
="-framework Carbon"
7996 if test "$ac_cv_header_ApplicationServices_ApplicationServices_h" = "yes"
7998 ac_save_LIBS
="$LIBS"
7999 LIBS
="$LIBS $APPLICATIONSERVICES_LIBS"
8000 ac_fn_c_check_func
"$LINENO" "CGDisplayModeGetWidth" "ac_cv_func_CGDisplayModeGetWidth"
8001 if test "x$ac_cv_func_CGDisplayModeGetWidth" = xyes
; then :
8002 enable_winemac_drv
=${enable_winemac_drv:-yes}
8005 LIBS
="$ac_save_LIBS"
8008 if test "x$enable_win16" = "xyes"
8010 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether 16-bit code can be built correctly" >&5
8011 $as_echo_n "checking whether 16-bit code can be built correctly... " >&6; }
8012 if test "$cross_compiling" = yes; then :
8013 { $as_echo "$as_me:${as_lineno-$LINENO}: result: cross-compiling, assuming yes" >&5
8014 $as_echo "cross-compiling, assuming yes" >&6; }
8016 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8017 /* end confdefs.h. */
8020 "good:\tnop;nop\n\t"
8021 ".globl _testfunc\n"
8022 "_testfunc:\tcallw good");
8023 extern void testfunc();
8027 unsigned short *p = (unsigned short *)testfunc;
8028 return p[0] != 0xe866 || p[1] != 0xfffa
8033 if ac_fn_c_try_run
"$LINENO"; then :
8034 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
8035 $as_echo "yes" >&6; }
8037 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8038 $as_echo "no" >&6; }
8039 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
8041 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext \
8042 conftest.
$ac_objext conftest.beam conftest.
$ac_ext
8047 libwine_targets
="libwine.dylib libwine.$libwine_soversion.dylib libwine.$libwine_version.dylib"
8049 OBJS = \$(C_SRCS:.c=.o) \$(EXTRA_OBJS)
8053 libwine.$libwine_version.dylib: \$(OBJS)
8054 \$(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 \$@
8056 libwine.$libwine_soversion.dylib: libwine.$libwine_version.dylib
8057 \$(RM) \$@ && \$(LN_S) libwine.$libwine_version.dylib \$@
8059 libwine.dylib: libwine.$libwine_soversion.dylib
8060 \$(RM) \$@ && \$(LN_S) libwine.$libwine_soversion.dylib \$@
8062 install install-lib:: libwine.$libwine_version.dylib
8063 \$(INSTALL_PROGRAM) libwine.$libwine_version.dylib \$(DESTDIR)\$(libdir)/libwine.$libwine_version.dylib
8064 cd \$(DESTDIR)\$(libdir) && \$(RM) libwine.$libwine_soversion.dylib && \$(LN_S) libwine.$libwine_version.dylib libwine.$libwine_soversion.dylib
8066 install install-dev::
8067 cd \$(DESTDIR)\$(libdir) && \$(RM) libwine.dylib && \$(LN_S) libwine.$libwine_version.dylib libwine.dylib
8070 -cd \$(DESTDIR)\$(libdir) && \$(RM) libwine.dylib libwine.$libwine_soversion.dylib libwine.$libwine_version.dylib
8074 as_fn_append LOADER_RULES
"
8075 $wine_binary: main.o wine_info.plist
8076 \$(CC) -o \$@ $LDEXECFLAGS main.o \$(LIBWINE) \$(LIBPORT) \$(EXTRALIBS) \$(LDFLAGS) \$(LDRPATH_LOCAL)
8078 wine-installed: main.o wine_info.plist
8079 \$(CC) -o \$@ $LDEXECFLAGS main.o \$(LIBWINE) \$(LIBPORT) \$(EXTRALIBS) \$(LDFLAGS) \$(LDRPATH_INSTALL)
8084 DLLFLAGS
="$DLLFLAGS -fPIC"
8088 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -Wl,--export-dynamic" >&5
8089 $as_echo_n "checking whether the compiler supports -fPIC -Wl,--export-dynamic... " >&6; }
8090 if ${ac_cv_cflags__fPIC__Wl___export_dynamic+:} false
; then :
8091 $as_echo_n "(cached) " >&6
8093 ac_wine_try_cflags_saved
=$CFLAGS
8094 CFLAGS
="$CFLAGS -fPIC -Wl,--export-dynamic"
8095 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8096 /* end confdefs.h. */
8097 int main(int argc, char **argv) { return 0; }
8099 if ac_fn_c_try_link
"$LINENO"; then :
8100 ac_cv_cflags__fPIC__Wl___export_dynamic
=yes
8102 ac_cv_cflags__fPIC__Wl___export_dynamic
=no
8104 rm -f core conftest.err conftest.
$ac_objext \
8105 conftest
$ac_exeext conftest.
$ac_ext
8106 CFLAGS
=$ac_wine_try_cflags_saved
8108 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fPIC__Wl___export_dynamic" >&5
8109 $as_echo "$ac_cv_cflags__fPIC__Wl___export_dynamic" >&6; }
8110 if test "x$ac_cv_cflags__fPIC__Wl___export_dynamic" = xyes
; then :
8111 LDEXECFLAGS
="-Wl,--export-dynamic"
8113 as_ac_var
=`$as_echo "ac_cv_cflags_-fPIC -Wl,--rpath,\\$ORIGIN/../lib" | $as_tr_sh`
8114 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -Wl,--rpath,\$ORIGIN/../lib" >&5
8115 $as_echo_n "checking whether the compiler supports -fPIC -Wl,--rpath,\$ORIGIN/../lib... " >&6; }
8116 if eval \
${$as_ac_var+:} false
; then :
8117 $as_echo_n "(cached) " >&6
8119 ac_wine_try_cflags_saved
=$CFLAGS
8120 CFLAGS
="$CFLAGS -fPIC -Wl,--rpath,\$ORIGIN/../lib"
8121 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8122 /* end confdefs.h. */
8123 int main(int argc, char **argv) { return 0; }
8125 if ac_fn_c_try_link
"$LINENO"; then :
8126 eval "$as_ac_var=yes"
8128 eval "$as_ac_var=no"
8130 rm -f core conftest.err conftest.
$ac_objext \
8131 conftest
$ac_exeext conftest.
$ac_ext
8132 CFLAGS
=$ac_wine_try_cflags_saved
8134 eval ac_res
=\$
$as_ac_var
8135 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
8136 $as_echo "$ac_res" >&6; }
8137 if eval test \"x\$
"$as_ac_var"\" = x
"yes"; then :
8138 LDRPATH_INSTALL
="-Wl,--rpath,\\\$\$ORIGIN/\`\$(MAKEDEP) -R \$(bindir) \$(libdir)\`"
8139 LDRPATH_LOCAL
="-Wl,--rpath,\\\$\$ORIGIN/\$(top_builddir)/libs/wine"
8141 as_ac_var
=`$as_echo "ac_cv_cflags_-fPIC -Wl,-R,\\$ORIGIN/../lib" | $as_tr_sh`
8142 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -Wl,-R,\$ORIGIN/../lib" >&5
8143 $as_echo_n "checking whether the compiler supports -fPIC -Wl,-R,\$ORIGIN/../lib... " >&6; }
8144 if eval \
${$as_ac_var+:} false
; then :
8145 $as_echo_n "(cached) " >&6
8147 ac_wine_try_cflags_saved
=$CFLAGS
8148 CFLAGS
="$CFLAGS -fPIC -Wl,-R,\$ORIGIN/../lib"
8149 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8150 /* end confdefs.h. */
8151 int main(int argc, char **argv) { return 0; }
8153 if ac_fn_c_try_link
"$LINENO"; then :
8154 eval "$as_ac_var=yes"
8156 eval "$as_ac_var=no"
8158 rm -f core conftest.err conftest.
$ac_objext \
8159 conftest
$ac_exeext conftest.
$ac_ext
8160 CFLAGS
=$ac_wine_try_cflags_saved
8162 eval ac_res
=\$
$as_ac_var
8163 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
8164 $as_echo "$ac_res" >&6; }
8165 if eval test \"x\$
"$as_ac_var"\" = x
"yes"; then :
8166 LDRPATH_INSTALL
="-Wl,-R,\\\$\$ORIGIN/\`\$(MAKEDEP) -R \$(bindir) \$(libdir)\`"
8167 LDRPATH_LOCAL
="-Wl,-R,\\\$\$ORIGIN/\$(top_builddir)/libs/wine"
8171 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,--enable-new-dtags" >&5
8172 $as_echo_n "checking whether the compiler supports -Wl,--enable-new-dtags... " >&6; }
8173 if ${ac_cv_cflags__Wl___enable_new_dtags+:} false
; then :
8174 $as_echo_n "(cached) " >&6
8176 ac_wine_try_cflags_saved
=$CFLAGS
8177 CFLAGS
="$CFLAGS -Wl,--enable-new-dtags"
8178 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8179 /* end confdefs.h. */
8180 int main(int argc, char **argv) { return 0; }
8182 if ac_fn_c_try_link
"$LINENO"; then :
8183 ac_cv_cflags__Wl___enable_new_dtags
=yes
8185 ac_cv_cflags__Wl___enable_new_dtags
=no
8187 rm -f core conftest.err conftest.
$ac_objext \
8188 conftest
$ac_exeext conftest.
$ac_ext
8189 CFLAGS
=$ac_wine_try_cflags_saved
8191 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl___enable_new_dtags" >&5
8192 $as_echo "$ac_cv_cflags__Wl___enable_new_dtags" >&6; }
8193 if test "x$ac_cv_cflags__Wl___enable_new_dtags" = xyes
; then :
8194 LDRPATH_INSTALL
="$LDRPATH_INSTALL -Wl,--enable-new-dtags"
8198 *i
[3456789]86* | x86_64
)
8199 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,--section-start,.interp=0x7bf00400" >&5
8200 $as_echo_n "checking whether the compiler supports -Wl,--section-start,.interp=0x7bf00400... " >&6; }
8201 if ${ac_cv_cflags__Wl___section_start__interp_0x7bf00400+:} false
; then :
8202 $as_echo_n "(cached) " >&6
8204 ac_wine_try_cflags_saved
=$CFLAGS
8205 CFLAGS
="$CFLAGS -Wl,--section-start,.interp=0x7bf00400"
8206 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8207 /* end confdefs.h. */
8208 int main(int argc, char **argv) { return 0; }
8210 if ac_fn_c_try_link
"$LINENO"; then :
8211 ac_cv_cflags__Wl___section_start__interp_0x7bf00400
=yes
8213 ac_cv_cflags__Wl___section_start__interp_0x7bf00400
=no
8215 rm -f core conftest.err conftest.
$ac_objext \
8216 conftest
$ac_exeext conftest.
$ac_ext
8217 CFLAGS
=$ac_wine_try_cflags_saved
8219 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl___section_start__interp_0x7bf00400" >&5
8220 $as_echo "$ac_cv_cflags__Wl___section_start__interp_0x7bf00400" >&6; }
8221 if test "x$ac_cv_cflags__Wl___section_start__interp_0x7bf00400" = xyes
; then :
8222 LDEXECFLAGS
="$LDEXECFLAGS -Wl,--section-start,.interp=0x7bf00400"
8227 libwine_targets
="libwine.so"
8229 OBJS = \$(C_SRCS:.c=.o) \$(EXTRA_OBJS)
8233 libwine.so: \$(OBJS)
8234 \$(CC) -shared \$(OBJS) \$(EXTRALIBS) \$(LDFLAGS) \$(LIBS) -o \$@
8236 install install-lib:: libwine.so
8237 \$(INSTALL_PROGRAM) libwine.so \$(DESTDIR)\$(libdir)/libwine.so
8240 \$(RM) \$(DESTDIR)\$(libdir)/libwine.so
8244 as_fn_append LOADER_RULES
"
8245 $wine_binary: main.o
8246 \$(CC) -o \$@ $LDEXECFLAGS main.o \$(LIBWINE) \$(LIBPORT) \$(EXTRALIBS) \$(LDFLAGS) \$(LDRPATH_LOCAL)
8248 wine-installed: main.o
8249 \$(CC) -o \$@ $LDEXECFLAGS main.o \$(LIBWINE) \$(LIBPORT) \$(EXTRALIBS) \$(LDFLAGS) \$(LDRPATH_INSTALL)
8254 DLLFLAGS
="$DLLFLAGS -fPIC"
8256 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we can build a GNU style ELF dll" >&5
8257 $as_echo_n "checking whether we can build a GNU style ELF dll... " >&6; }
8258 if ${ac_cv_c_dll_gnuelf+:} false
; then :
8259 $as_echo_n "(cached) " >&6
8261 ac_wine_try_cflags_saved
=$CFLAGS
8262 CFLAGS
="$CFLAGS -fPIC -shared -Wl,-Bsymbolic"
8263 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8264 /* end confdefs.h. */
8267 if ac_fn_c_try_link
"$LINENO"; then :
8268 ac_cv_c_dll_gnuelf
="yes"
8270 ac_cv_c_dll_gnuelf
="no"
8272 rm -f core conftest.err conftest.
$ac_objext \
8273 conftest
$ac_exeext conftest.
$ac_ext
8274 CFLAGS
=$ac_wine_try_cflags_saved
8276 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_dll_gnuelf" >&5
8277 $as_echo "$ac_cv_c_dll_gnuelf" >&6; }
8278 if test "$ac_cv_c_dll_gnuelf" = "yes"
8280 LDSHARED
="\$(CC) -shared"
8281 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -shared -Wl,-soname,confest.so.1" >&5
8282 $as_echo_n "checking whether the compiler supports -fPIC -shared -Wl,-soname,confest.so.1... " >&6; }
8283 if ${ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1+:} false
; then :
8284 $as_echo_n "(cached) " >&6
8286 ac_wine_try_cflags_saved
=$CFLAGS
8287 CFLAGS
="$CFLAGS -fPIC -shared -Wl,-soname,confest.so.1"
8288 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8289 /* end confdefs.h. */
8290 int main(int argc, char **argv) { return 0; }
8292 if ac_fn_c_try_link
"$LINENO"; then :
8293 ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1
=yes
8295 ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1
=no
8297 rm -f core conftest.err conftest.
$ac_objext \
8298 conftest
$ac_exeext conftest.
$ac_ext
8299 CFLAGS
=$ac_wine_try_cflags_saved
8301 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1" >&5
8302 $as_echo "$ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1" >&6; }
8303 if test "x$ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1" = xyes
; then :
8304 LDSHARED
="\$(CC) -shared -Wl,-soname,libwine.so.$libwine_soversion"
8306 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -shared -Wl,-h,confest.so.1" >&5
8307 $as_echo_n "checking whether the compiler supports -fPIC -shared -Wl,-h,confest.so.1... " >&6; }
8308 if ${ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1+:} false
; then :
8309 $as_echo_n "(cached) " >&6
8311 ac_wine_try_cflags_saved
=$CFLAGS
8312 CFLAGS
="$CFLAGS -fPIC -shared -Wl,-h,confest.so.1"
8313 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8314 /* end confdefs.h. */
8315 int main(int argc, char **argv) { return 0; }
8317 if ac_fn_c_try_link
"$LINENO"; then :
8318 ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1
=yes
8320 ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1
=no
8322 rm -f core conftest.err conftest.
$ac_objext \
8323 conftest
$ac_exeext conftest.
$ac_ext
8324 CFLAGS
=$ac_wine_try_cflags_saved
8326 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1" >&5
8327 $as_echo "$ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1" >&6; }
8328 if test "x$ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1" = xyes
; then :
8329 LDSHARED
="\$(CC) -shared -Wl,-h,libwine.so.$libwine_soversion"
8333 echo '{ global: *; };' >conftest.map
8334 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -shared -Wl,--version-script=conftest.map" >&5
8335 $as_echo_n "checking whether the compiler supports -fPIC -shared -Wl,--version-script=conftest.map... " >&6; }
8336 if ${ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map+:} false
; then :
8337 $as_echo_n "(cached) " >&6
8339 ac_wine_try_cflags_saved
=$CFLAGS
8340 CFLAGS
="$CFLAGS -fPIC -shared -Wl,--version-script=conftest.map"
8341 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8342 /* end confdefs.h. */
8343 int main(int argc, char **argv) { return 0; }
8345 if ac_fn_c_try_link
"$LINENO"; then :
8346 ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map
=yes
8348 ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map
=no
8350 rm -f core conftest.err conftest.
$ac_objext \
8351 conftest
$ac_exeext conftest.
$ac_ext
8352 CFLAGS
=$ac_wine_try_cflags_saved
8354 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map" >&5
8355 $as_echo "$ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map" >&6; }
8356 if test "x$ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map" = xyes
; then :
8357 LDSHARED
="$LDSHARED -Wl,--version-script=\$(srcdir)/wine.map"
8361 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -Wl,--export-dynamic" >&5
8362 $as_echo_n "checking whether the compiler supports -fPIC -Wl,--export-dynamic... " >&6; }
8363 if ${ac_cv_cflags__fPIC__Wl___export_dynamic+:} false
; then :
8364 $as_echo_n "(cached) " >&6
8366 ac_wine_try_cflags_saved
=$CFLAGS
8367 CFLAGS
="$CFLAGS -fPIC -Wl,--export-dynamic"
8368 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8369 /* end confdefs.h. */
8370 int main(int argc, char **argv) { return 0; }
8372 if ac_fn_c_try_link
"$LINENO"; then :
8373 ac_cv_cflags__fPIC__Wl___export_dynamic
=yes
8375 ac_cv_cflags__fPIC__Wl___export_dynamic
=no
8377 rm -f core conftest.err conftest.
$ac_objext \
8378 conftest
$ac_exeext conftest.
$ac_ext
8379 CFLAGS
=$ac_wine_try_cflags_saved
8381 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fPIC__Wl___export_dynamic" >&5
8382 $as_echo "$ac_cv_cflags__fPIC__Wl___export_dynamic" >&6; }
8383 if test "x$ac_cv_cflags__fPIC__Wl___export_dynamic" = xyes
; then :
8384 LDEXECFLAGS
="-Wl,--export-dynamic"
8387 as_ac_var
=`$as_echo "ac_cv_cflags_-fPIC -Wl,--rpath,\\$ORIGIN/../lib" | $as_tr_sh`
8388 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -Wl,--rpath,\$ORIGIN/../lib" >&5
8389 $as_echo_n "checking whether the compiler supports -fPIC -Wl,--rpath,\$ORIGIN/../lib... " >&6; }
8390 if eval \
${$as_ac_var+:} false
; then :
8391 $as_echo_n "(cached) " >&6
8393 ac_wine_try_cflags_saved
=$CFLAGS
8394 CFLAGS
="$CFLAGS -fPIC -Wl,--rpath,\$ORIGIN/../lib"
8395 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8396 /* end confdefs.h. */
8397 int main(int argc, char **argv) { return 0; }
8399 if ac_fn_c_try_link
"$LINENO"; then :
8400 eval "$as_ac_var=yes"
8402 eval "$as_ac_var=no"
8404 rm -f core conftest.err conftest.
$ac_objext \
8405 conftest
$ac_exeext conftest.
$ac_ext
8406 CFLAGS
=$ac_wine_try_cflags_saved
8408 eval ac_res
=\$
$as_ac_var
8409 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
8410 $as_echo "$ac_res" >&6; }
8411 if eval test \"x\$
"$as_ac_var"\" = x
"yes"; then :
8412 LDRPATH_INSTALL
="-Wl,--rpath,\\\$\$ORIGIN/\`\$(MAKEDEP) -R \$(bindir) \$(libdir)\`"
8413 LDRPATH_LOCAL
="-Wl,--rpath,\\\$\$ORIGIN/\$(top_builddir)/libs/wine"
8415 as_ac_var
=`$as_echo "ac_cv_cflags_-fPIC -Wl,-R,\\$ORIGIN/../lib" | $as_tr_sh`
8416 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -Wl,-R,\$ORIGIN/../lib" >&5
8417 $as_echo_n "checking whether the compiler supports -fPIC -Wl,-R,\$ORIGIN/../lib... " >&6; }
8418 if eval \
${$as_ac_var+:} false
; then :
8419 $as_echo_n "(cached) " >&6
8421 ac_wine_try_cflags_saved
=$CFLAGS
8422 CFLAGS
="$CFLAGS -fPIC -Wl,-R,\$ORIGIN/../lib"
8423 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8424 /* end confdefs.h. */
8425 int main(int argc, char **argv) { return 0; }
8427 if ac_fn_c_try_link
"$LINENO"; then :
8428 eval "$as_ac_var=yes"
8430 eval "$as_ac_var=no"
8432 rm -f core conftest.err conftest.
$ac_objext \
8433 conftest
$ac_exeext conftest.
$ac_ext
8434 CFLAGS
=$ac_wine_try_cflags_saved
8436 eval ac_res
=\$
$as_ac_var
8437 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
8438 $as_echo "$ac_res" >&6; }
8439 if eval test \"x\$
"$as_ac_var"\" = x
"yes"; then :
8440 LDRPATH_INSTALL
="-Wl,-R,\\\$\$ORIGIN/\`\$(MAKEDEP) -R \$(bindir) \$(libdir)\`"
8441 LDRPATH_LOCAL
="-Wl,-R,\\\$\$ORIGIN/\$(top_builddir)/libs/wine"
8445 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,--enable-new-dtags" >&5
8446 $as_echo_n "checking whether the compiler supports -Wl,--enable-new-dtags... " >&6; }
8447 if ${ac_cv_cflags__Wl___enable_new_dtags+:} false
; then :
8448 $as_echo_n "(cached) " >&6
8450 ac_wine_try_cflags_saved
=$CFLAGS
8451 CFLAGS
="$CFLAGS -Wl,--enable-new-dtags"
8452 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8453 /* end confdefs.h. */
8454 int main(int argc, char **argv) { return 0; }
8456 if ac_fn_c_try_link
"$LINENO"; then :
8457 ac_cv_cflags__Wl___enable_new_dtags
=yes
8459 ac_cv_cflags__Wl___enable_new_dtags
=no
8461 rm -f core conftest.err conftest.
$ac_objext \
8462 conftest
$ac_exeext conftest.
$ac_ext
8463 CFLAGS
=$ac_wine_try_cflags_saved
8465 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl___enable_new_dtags" >&5
8466 $as_echo "$ac_cv_cflags__Wl___enable_new_dtags" >&6; }
8467 if test "x$ac_cv_cflags__Wl___enable_new_dtags" = xyes
; then :
8468 LDRPATH_INSTALL
="$LDRPATH_INSTALL -Wl,--enable-new-dtags"
8472 *i
[3456789]86* | x86_64
)
8473 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,--section-start,.interp=0x7bf00400" >&5
8474 $as_echo_n "checking whether the compiler supports -Wl,--section-start,.interp=0x7bf00400... " >&6; }
8475 if ${ac_cv_cflags__Wl___section_start__interp_0x7bf00400+:} false
; then :
8476 $as_echo_n "(cached) " >&6
8478 ac_wine_try_cflags_saved
=$CFLAGS
8479 CFLAGS
="$CFLAGS -Wl,--section-start,.interp=0x7bf00400"
8480 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8481 /* end confdefs.h. */
8482 int main(int argc, char **argv) { return 0; }
8484 if ac_fn_c_try_link
"$LINENO"; then :
8485 ac_cv_cflags__Wl___section_start__interp_0x7bf00400
=yes
8487 ac_cv_cflags__Wl___section_start__interp_0x7bf00400
=no
8489 rm -f core conftest.err conftest.
$ac_objext \
8490 conftest
$ac_exeext conftest.
$ac_ext
8491 CFLAGS
=$ac_wine_try_cflags_saved
8493 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl___section_start__interp_0x7bf00400" >&5
8494 $as_echo "$ac_cv_cflags__Wl___section_start__interp_0x7bf00400" >&6; }
8495 if test "x$ac_cv_cflags__Wl___section_start__interp_0x7bf00400" = xyes
; then :
8497 freebsd
* | kfreebsd
*-gnu) LDEXECFLAGS
="$LDEXECFLAGS -Wl,--section-start,.interp=0x60000400" ;;
8498 *) LDEXECFLAGS
="$LDEXECFLAGS -Wl,--section-start,.interp=0x7bf00400" ;;
8502 # Extract the first word of "prelink", so it can be a program name with args.
8503 set dummy prelink
; ac_word
=$2
8504 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8505 $as_echo_n "checking for $ac_word... " >&6; }
8506 if ${ac_cv_path_PRELINK+:} false
; then :
8507 $as_echo_n "(cached) " >&6
8511 ac_cv_path_PRELINK
="$PRELINK" # Let the user override the test with a path.
8514 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
8515 for as_dir
in /sbin
/usr
/sbin
$PATH
8518 test -z "$as_dir" && as_dir
=.
8519 for ac_exec_ext
in '' $ac_executable_extensions; do
8520 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
8521 ac_cv_path_PRELINK
="$as_dir/$ac_word$ac_exec_ext"
8522 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8529 test -z "$ac_cv_path_PRELINK" && ac_cv_path_PRELINK
="false"
8533 PRELINK
=$ac_cv_path_PRELINK
8534 if test -n "$PRELINK"; then
8535 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PRELINK" >&5
8536 $as_echo "$PRELINK" >&6; }
8538 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8539 $as_echo "no" >&6; }
8543 if test "x$PRELINK" = xfalse
8545 as_fn_append wine_warnings
"|prelink not found, base address of core dlls won't be set correctly."
8551 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we can build a UnixWare (Solaris) dll" >&5
8552 $as_echo_n "checking whether we can build a UnixWare (Solaris) dll... " >&6; }
8553 if ${ac_cv_c_dll_unixware+:} false
; then :
8554 $as_echo_n "(cached) " >&6
8556 ac_wine_try_cflags_saved
=$CFLAGS
8557 CFLAGS
="$CFLAGS -fPIC -Wl,-G,-h,conftest.so.1.0,-B,symbolic"
8558 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8559 /* end confdefs.h. */
8562 if ac_fn_c_try_link
"$LINENO"; then :
8563 ac_cv_c_dll_unixware
="yes"
8565 ac_cv_c_dll_unixware
="no"
8567 rm -f core conftest.err conftest.
$ac_objext \
8568 conftest
$ac_exeext conftest.
$ac_ext
8569 CFLAGS
=$ac_wine_try_cflags_saved
8571 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_dll_unixware" >&5
8572 $as_echo "$ac_cv_c_dll_unixware" >&6; }
8573 if test "$ac_cv_c_dll_unixware" = "yes"
8575 LDSHARED
="\$(CC) -Wl,-G,-h,libwine.so.$libwine_soversion"
8578 libwine_targets
="libwine.so libwine.so.$libwine_soversion libwine.so.$libwine_version"
8580 OBJS = \$(C_SRCS:.c=.o) \$(EXTRA_OBJS)
8584 libwine.so.$libwine_version: \$(OBJS) \$(srcdir)/wine.map
8585 $LDSHARED \$(OBJS) \$(EXTRALIBS) \$(LDFLAGS) \$(LIBS) -o \$@
8587 libwine.so.$libwine_soversion: libwine.so.$libwine_version
8588 \$(RM) \$@ && \$(LN_S) libwine.so.$libwine_version \$@
8590 libwine.so: libwine.so.$libwine_soversion
8591 \$(RM) \$@ && \$(LN_S) libwine.so.$libwine_soversion \$@
8593 install install-lib:: libwine.so.$libwine_version
8594 \$(INSTALL_PROGRAM) libwine.so.$libwine_version \$(DESTDIR)\$(libdir)/libwine.so.$libwine_version
8595 cd \$(DESTDIR)\$(libdir) && \$(RM) libwine.so.$libwine_soversion && \$(LN_S) libwine.so.$libwine_version libwine.so.$libwine_soversion
8597 install install-dev::
8598 cd \$(DESTDIR)\$(libdir) && \$(RM) libwine.so && \$(LN_S) libwine.so.$libwine_version libwine.so
8601 -cd \$(DESTDIR)\$(libdir) && \$(RM) libwine.so libwine.so.$libwine_soversion libwine.so.$libwine_version
8605 as_fn_append LOADER_RULES
"
8606 $wine_binary: main.o
8607 \$(CC) -o \$@ $LDEXECFLAGS main.o \$(LIBWINE) \$(LIBPORT) \$(EXTRALIBS) \$(LDFLAGS) \$(LDRPATH_LOCAL)
8609 wine-installed: main.o
8610 \$(CC) -o \$@ $LDEXECFLAGS main.o \$(LIBWINE) \$(LIBPORT) \$(EXTRALIBS) \$(LDFLAGS) \$(LDRPATH_INSTALL)
8615 as_fn_append LIBWINE_RULES
"
8616 EXTRA_TARGETS = $libwine_targets
8619 enable_wineqtdecoder
=${enable_wineqtdecoder:-no}
8620 enable_winemac_drv
=${enable_winemac_drv:-no}
8624 if test "$cross_compiling" = "no" -a "x$enable_tests" != xno
-a "$LIBEXT" != "dll"
8628 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
8631 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 " ;;
8633 ac_prefix_list
="" ;;
8635 for ac_prog
in $ac_prefix_list
8637 # Extract the first word of "$ac_prog", so it can be a program name with args.
8638 set dummy
$ac_prog; ac_word
=$2
8639 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8640 $as_echo_n "checking for $ac_word... " >&6; }
8641 if ${ac_cv_prog_CROSSCC+:} false
; then :
8642 $as_echo_n "(cached) " >&6
8644 if test -n "$CROSSCC"; then
8645 ac_cv_prog_CROSSCC
="$CROSSCC" # Let the user override the test.
8647 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
8651 test -z "$as_dir" && as_dir
=.
8652 for ac_exec_ext
in '' $ac_executable_extensions; do
8653 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
8654 ac_cv_prog_CROSSCC
="$ac_prog"
8655 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8664 CROSSCC
=$ac_cv_prog_CROSSCC
8665 if test -n "$CROSSCC"; then
8666 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CROSSCC" >&5
8667 $as_echo "$CROSSCC" >&6; }
8669 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8670 $as_echo "no" >&6; }
8674 test -n "$CROSSCC" && break
8676 test -n "$CROSSCC" || CROSSCC
="false"
8678 if test "$CROSSCC" != "false"
8682 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CROSSCC works" >&5
8683 $as_echo_n "checking whether $CROSSCC works... " >&6; }
8684 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8685 /* end confdefs.h. */
8695 if ac_fn_c_try_compile
"$LINENO"; then :
8696 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
8697 $as_echo "yes" >&6; }
8703 *-gcc) CROSSTARGET
=`expr "$1" : '\(.*\)-gcc'` ;;
8708 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8709 $as_echo "no" >&6; }
8711 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
8717 if test "$ac_cv_header_pthread_h" = "yes"
8719 ac_fn_c_check_func
"$LINENO" "pthread_create" "ac_cv_func_pthread_create"
8720 if test "x$ac_cv_func_pthread_create" = xyes
; then :
8723 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pthread_create in -lpthread" >&5
8724 $as_echo_n "checking for pthread_create in -lpthread... " >&6; }
8725 if ${ac_cv_lib_pthread_pthread_create+:} false
; then :
8726 $as_echo_n "(cached) " >&6
8728 ac_check_lib_save_LIBS
=$LIBS
8729 LIBS
="-lpthread $LIBS"
8730 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8731 /* end confdefs.h. */
8733 /* Override any GCC internal prototype to avoid an error.
8734 Use char because int might match the return type of a GCC
8735 builtin and then its argument prototype would still apply. */
8739 char pthread_create ();
8743 return pthread_create ();
8748 if ac_fn_c_try_link
"$LINENO"; then :
8749 ac_cv_lib_pthread_pthread_create
=yes
8751 ac_cv_lib_pthread_pthread_create
=no
8753 rm -f core conftest.err conftest.
$ac_objext \
8754 conftest
$ac_exeext conftest.
$ac_ext
8755 LIBS
=$ac_check_lib_save_LIBS
8757 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_pthread_pthread_create" >&5
8758 $as_echo "$ac_cv_lib_pthread_pthread_create" >&6; }
8759 if test "x$ac_cv_lib_pthread_pthread_create" = xyes
; then :
8760 PTHREAD_LIBS
="-lpthread"
8767 if test "x$ac_cv_func_pthread_create" != xyes
-a "x$PTHREAD_LIBS" = x
; then :
8768 case "x$with_pthread" in
8770 *) as_fn_error $?
"pthread ${notice_platform}development files not found.
8771 Wine cannot support threads without libpthread.
8772 Use the --without-pthread option if you really want this." "$LINENO" 5 ;;
8777 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for X" >&5
8778 $as_echo_n "checking for X... " >&6; }
8781 # Check whether --with-x was given.
8782 if test "${with_x+set}" = set; then :
8786 # $have_x is `yes', `no', `disabled', or empty when we do not yet know.
8787 if test "x$with_x" = xno
; then
8788 # The user explicitly disabled X.
8791 case $x_includes,$x_libraries in #(
8792 *\'*) as_fn_error $?
"cannot use X directory names containing '" "$LINENO" 5;; #(
8793 *,NONE | NONE
,*) if ${ac_cv_have_x+:} false
; then :
8794 $as_echo_n "(cached) " >&6
8796 # One or both of the vars are not set, and there is no cached value.
8797 ac_x_includes
=no ac_x_libraries
=no
8798 rm -f -r conftest.dir
8799 if mkdir conftest.dir
; then
8801 cat >Imakefile
<<'_ACEOF'
8803 @echo incroot='${INCROOT}'
8805 @echo usrlibdir='${USRLIBDIR}'
8807 @echo libdir='${LIBDIR}'
8809 if (export CC
; ${XMKMF-xmkmf}) >/dev
/null
2>/dev
/null
&& test -f Makefile
; then
8810 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
8811 for ac_var
in incroot usrlibdir libdir
; do
8812 eval "ac_im_$ac_var=\`\${MAKE-make} $ac_var 2>/dev/null | sed -n 's/^$ac_var=//p'\`"
8814 # Open Windows xmkmf reportedly sets LIBDIR instead of USRLIBDIR.
8815 for ac_extension
in a so sl dylib la dll
; do
8816 if test ! -f "$ac_im_usrlibdir/libX11.$ac_extension" &&
8817 test -f "$ac_im_libdir/libX11.$ac_extension"; then
8818 ac_im_usrlibdir
=$ac_im_libdir; break
8821 # Screen out bogus values from the imake configuration. They are
8822 # bogus both because they are the default anyway, and because
8823 # using them would break gcc on systems where it needs fixed includes.
8824 case $ac_im_incroot in
8825 /usr
/include
) ac_x_includes
= ;;
8826 *) test -f "$ac_im_incroot/X11/Xos.h" && ac_x_includes
=$ac_im_incroot;;
8828 case $ac_im_usrlibdir in
8829 /usr
/lib |
/usr
/lib64 |
/lib |
/lib64
) ;;
8830 *) test -d "$ac_im_usrlibdir" && ac_x_libraries
=$ac_im_usrlibdir ;;
8834 rm -f -r conftest.dir
8837 # Standard set of common directories for X headers.
8838 # Check X11 before X11Rn because it is often a symlink to the current release.
8852 /usr/local/X11/include
8853 /usr/local/X11R7/include
8854 /usr/local/X11R6/include
8855 /usr/local/X11R5/include
8856 /usr/local/X11R4/include
8858 /usr/local/include/X11
8859 /usr/local/include/X11R7
8860 /usr/local/include/X11R6
8861 /usr/local/include/X11R5
8862 /usr/local/include/X11R4
8866 /usr/XFree86/include/X11
8870 /usr/unsupported/include
8872 /usr/local/x11r5/include
8873 /usr/lpp/Xamples/include
8875 /usr/openwin/include
8876 /usr/openwin/share/include'
8878 if test "$ac_x_includes" = no
; then
8879 # Guess where to find include files, by looking for Xlib.h.
8880 # First, try using that file with no special directory specified.
8881 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8882 /* end confdefs.h. */
8883 #include <X11/Xlib.h>
8885 if ac_fn_c_try_cpp
"$LINENO"; then :
8886 # We can compile using X headers with no special include directory.
8889 for ac_dir
in $ac_x_header_dirs; do
8890 if test -r "$ac_dir/X11/Xlib.h"; then
8891 ac_x_includes
=$ac_dir
8896 rm -f conftest.err conftest.i conftest.
$ac_ext
8897 fi # $ac_x_includes = no
8899 if test "$ac_x_libraries" = no
; then
8900 # Check for the libraries.
8901 # See if we find them without any special options.
8902 # Don't add to $LIBS permanently.
8905 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8906 /* end confdefs.h. */
8907 #include <X11/Xlib.h>
8916 if ac_fn_c_try_link
"$LINENO"; then :
8918 # We can link X programs with no special library path.
8922 for ac_dir
in `$as_echo "$ac_x_includes $ac_x_header_dirs" | sed s/include/lib/g`
8924 # Don't even attempt the hair of trying to link an X program!
8925 for ac_extension
in a so sl dylib la dll
; do
8926 if test -r "$ac_dir/libX11.$ac_extension"; then
8927 ac_x_libraries
=$ac_dir
8933 rm -f core conftest.err conftest.
$ac_objext \
8934 conftest
$ac_exeext conftest.
$ac_ext
8935 fi # $ac_x_libraries = no
8937 case $ac_x_includes,$ac_x_libraries in #(
8939 # Didn't find X, or a directory has "'" in its name.
8940 ac_cv_have_x
="have_x=no";; #(
8942 # Record where we found X for the cache.
8943 ac_cv_have_x
="have_x=yes\
8944 ac_x_includes='$ac_x_includes'\
8945 ac_x_libraries='$ac_x_libraries'"
8951 eval "$ac_cv_have_x"
8954 if test "$have_x" != yes; then
8955 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $have_x" >&5
8956 $as_echo "$have_x" >&6; }
8959 # If each of the values was on the command line, it overrides each guess.
8960 test "x$x_includes" = xNONE
&& x_includes
=$ac_x_includes
8961 test "x$x_libraries" = xNONE
&& x_libraries
=$ac_x_libraries
8962 # Update the cache value to reflect the command line values.
8963 ac_cv_have_x
="have_x=yes\
8964 ac_x_includes='$x_includes'\
8965 ac_x_libraries='$x_libraries'"
8966 { $as_echo "$as_me:${as_lineno-$LINENO}: result: libraries $x_libraries, headers $x_includes" >&5
8967 $as_echo "libraries $x_libraries, headers $x_includes" >&6; }
8970 if test "$no_x" = yes; then
8971 # Not all programs may use this symbol, but it does not hurt to define it.
8973 $as_echo "#define X_DISPLAY_MISSING 1" >>confdefs.h
8975 X_CFLAGS
= X_PRE_LIBS
= X_LIBS
= X_EXTRA_LIBS
=
8977 if test -n "$x_includes"; then
8978 X_CFLAGS
="$X_CFLAGS -I$x_includes"
8981 # It would also be nice to do this for all -L options, not just this one.
8982 if test -n "$x_libraries"; then
8983 X_LIBS
="$X_LIBS -L$x_libraries"
8984 # For Solaris; some versions of Sun CC require a space after -R and
8985 # others require no space. Words are not sufficient . . . .
8986 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -R must be followed by a space" >&5
8987 $as_echo_n "checking whether -R must be followed by a space... " >&6; }
8988 ac_xsave_LIBS
=$LIBS; LIBS
="$LIBS -R$x_libraries"
8989 ac_xsave_c_werror_flag
=$ac_c_werror_flag
8990 ac_c_werror_flag
=yes
8991 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8992 /* end confdefs.h. */
9002 if ac_fn_c_try_link
"$LINENO"; then :
9003 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9004 $as_echo "no" >&6; }
9005 X_LIBS
="$X_LIBS -R$x_libraries"
9007 LIBS
="$ac_xsave_LIBS -R $x_libraries"
9008 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9009 /* end confdefs.h. */
9019 if ac_fn_c_try_link
"$LINENO"; then :
9020 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
9021 $as_echo "yes" >&6; }
9022 X_LIBS
="$X_LIBS -R $x_libraries"
9024 { $as_echo "$as_me:${as_lineno-$LINENO}: result: neither works" >&5
9025 $as_echo "neither works" >&6; }
9027 rm -f core conftest.err conftest.
$ac_objext \
9028 conftest
$ac_exeext conftest.
$ac_ext
9030 rm -f core conftest.err conftest.
$ac_objext \
9031 conftest
$ac_exeext conftest.
$ac_ext
9032 ac_c_werror_flag
=$ac_xsave_c_werror_flag
9036 # Check for system-dependent libraries X programs must link with.
9037 # Do this before checking for the system-independent R6 libraries
9038 # (-lICE), since we may need -lsocket or whatever for X linking.
9040 if test "$ISC" = yes; then
9041 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lnsl_s -linet"
9043 # Martyn Johnson says this is needed for Ultrix, if the X
9044 # libraries were built with DECnet support. And Karl Berry says
9045 # the Alpha needs dnet_stub (dnet does not exist).
9046 ac_xsave_LIBS
="$LIBS"; LIBS
="$LIBS $X_LIBS -lX11"
9047 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9048 /* end confdefs.h. */
9050 /* Override any GCC internal prototype to avoid an error.
9051 Use char because int might match the return type of a GCC
9052 builtin and then its argument prototype would still apply. */
9056 char XOpenDisplay ();
9060 return XOpenDisplay ();
9065 if ac_fn_c_try_link
"$LINENO"; then :
9068 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dnet_ntoa in -ldnet" >&5
9069 $as_echo_n "checking for dnet_ntoa in -ldnet... " >&6; }
9070 if ${ac_cv_lib_dnet_dnet_ntoa+:} false
; then :
9071 $as_echo_n "(cached) " >&6
9073 ac_check_lib_save_LIBS
=$LIBS
9075 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9076 /* end confdefs.h. */
9078 /* Override any GCC internal prototype to avoid an error.
9079 Use char because int might match the return type of a GCC
9080 builtin and then its argument prototype would still apply. */
9088 return dnet_ntoa ();
9093 if ac_fn_c_try_link
"$LINENO"; then :
9094 ac_cv_lib_dnet_dnet_ntoa
=yes
9096 ac_cv_lib_dnet_dnet_ntoa
=no
9098 rm -f core conftest.err conftest.
$ac_objext \
9099 conftest
$ac_exeext conftest.
$ac_ext
9100 LIBS
=$ac_check_lib_save_LIBS
9102 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dnet_dnet_ntoa" >&5
9103 $as_echo "$ac_cv_lib_dnet_dnet_ntoa" >&6; }
9104 if test "x$ac_cv_lib_dnet_dnet_ntoa" = xyes
; then :
9105 X_EXTRA_LIBS
="$X_EXTRA_LIBS -ldnet"
9108 if test $ac_cv_lib_dnet_dnet_ntoa = no
; then
9109 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dnet_ntoa in -ldnet_stub" >&5
9110 $as_echo_n "checking for dnet_ntoa in -ldnet_stub... " >&6; }
9111 if ${ac_cv_lib_dnet_stub_dnet_ntoa+:} false
; then :
9112 $as_echo_n "(cached) " >&6
9114 ac_check_lib_save_LIBS
=$LIBS
9115 LIBS
="-ldnet_stub $LIBS"
9116 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9117 /* end confdefs.h. */
9119 /* Override any GCC internal prototype to avoid an error.
9120 Use char because int might match the return type of a GCC
9121 builtin and then its argument prototype would still apply. */
9129 return dnet_ntoa ();
9134 if ac_fn_c_try_link
"$LINENO"; then :
9135 ac_cv_lib_dnet_stub_dnet_ntoa
=yes
9137 ac_cv_lib_dnet_stub_dnet_ntoa
=no
9139 rm -f core conftest.err conftest.
$ac_objext \
9140 conftest
$ac_exeext conftest.
$ac_ext
9141 LIBS
=$ac_check_lib_save_LIBS
9143 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dnet_stub_dnet_ntoa" >&5
9144 $as_echo "$ac_cv_lib_dnet_stub_dnet_ntoa" >&6; }
9145 if test "x$ac_cv_lib_dnet_stub_dnet_ntoa" = xyes
; then :
9146 X_EXTRA_LIBS
="$X_EXTRA_LIBS -ldnet_stub"
9151 rm -f core conftest.err conftest.
$ac_objext \
9152 conftest
$ac_exeext conftest.
$ac_ext
9153 LIBS
="$ac_xsave_LIBS"
9155 # msh@cis.ufl.edu says -lnsl (and -lsocket) are needed for his 386/AT,
9156 # to get the SysV transport functions.
9157 # Chad R. Larson says the Pyramis MIS-ES running DC/OSx (SVR4)
9159 # The nsl library prevents programs from opening the X display
9160 # on Irix 5.2, according to T.E. Dickey.
9161 # The functions gethostbyname, getservbyname, and inet_addr are
9162 # in -lbsd on LynxOS 3.0.1/i386, according to Lars Hecking.
9163 ac_fn_c_check_func
"$LINENO" "gethostbyname" "ac_cv_func_gethostbyname"
9164 if test "x$ac_cv_func_gethostbyname" = xyes
; then :
9168 if test $ac_cv_func_gethostbyname = no
; then
9169 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gethostbyname in -lnsl" >&5
9170 $as_echo_n "checking for gethostbyname in -lnsl... " >&6; }
9171 if ${ac_cv_lib_nsl_gethostbyname+:} false
; then :
9172 $as_echo_n "(cached) " >&6
9174 ac_check_lib_save_LIBS
=$LIBS
9176 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9177 /* end confdefs.h. */
9179 /* Override any GCC internal prototype to avoid an error.
9180 Use char because int might match the return type of a GCC
9181 builtin and then its argument prototype would still apply. */
9185 char gethostbyname ();
9189 return gethostbyname ();
9194 if ac_fn_c_try_link
"$LINENO"; then :
9195 ac_cv_lib_nsl_gethostbyname
=yes
9197 ac_cv_lib_nsl_gethostbyname
=no
9199 rm -f core conftest.err conftest.
$ac_objext \
9200 conftest
$ac_exeext conftest.
$ac_ext
9201 LIBS
=$ac_check_lib_save_LIBS
9203 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_nsl_gethostbyname" >&5
9204 $as_echo "$ac_cv_lib_nsl_gethostbyname" >&6; }
9205 if test "x$ac_cv_lib_nsl_gethostbyname" = xyes
; then :
9206 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lnsl"
9209 if test $ac_cv_lib_nsl_gethostbyname = no
; then
9210 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gethostbyname in -lbsd" >&5
9211 $as_echo_n "checking for gethostbyname in -lbsd... " >&6; }
9212 if ${ac_cv_lib_bsd_gethostbyname+:} false
; then :
9213 $as_echo_n "(cached) " >&6
9215 ac_check_lib_save_LIBS
=$LIBS
9217 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9218 /* end confdefs.h. */
9220 /* Override any GCC internal prototype to avoid an error.
9221 Use char because int might match the return type of a GCC
9222 builtin and then its argument prototype would still apply. */
9226 char gethostbyname ();
9230 return gethostbyname ();
9235 if ac_fn_c_try_link
"$LINENO"; then :
9236 ac_cv_lib_bsd_gethostbyname
=yes
9238 ac_cv_lib_bsd_gethostbyname
=no
9240 rm -f core conftest.err conftest.
$ac_objext \
9241 conftest
$ac_exeext conftest.
$ac_ext
9242 LIBS
=$ac_check_lib_save_LIBS
9244 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_bsd_gethostbyname" >&5
9245 $as_echo "$ac_cv_lib_bsd_gethostbyname" >&6; }
9246 if test "x$ac_cv_lib_bsd_gethostbyname" = xyes
; then :
9247 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lbsd"
9253 # lieder@skyler.mavd.honeywell.com says without -lsocket,
9254 # socket/setsockopt and other routines are undefined under SCO ODT
9255 # 2.0. But -lsocket is broken on IRIX 5.2 (and is not necessary
9256 # on later versions), says Simon Leinen: it contains gethostby*
9257 # variants that don't use the name server (or something). -lsocket
9258 # must be given before -lnsl if both are needed. We assume that
9259 # if connect needs -lnsl, so does gethostbyname.
9260 ac_fn_c_check_func
"$LINENO" "connect" "ac_cv_func_connect"
9261 if test "x$ac_cv_func_connect" = xyes
; then :
9265 if test $ac_cv_func_connect = no
; then
9266 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for connect in -lsocket" >&5
9267 $as_echo_n "checking for connect in -lsocket... " >&6; }
9268 if ${ac_cv_lib_socket_connect+:} false
; then :
9269 $as_echo_n "(cached) " >&6
9271 ac_check_lib_save_LIBS
=$LIBS
9272 LIBS
="-lsocket $X_EXTRA_LIBS $LIBS"
9273 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9274 /* end confdefs.h. */
9276 /* Override any GCC internal prototype to avoid an error.
9277 Use char because int might match the return type of a GCC
9278 builtin and then its argument prototype would still apply. */
9291 if ac_fn_c_try_link
"$LINENO"; then :
9292 ac_cv_lib_socket_connect
=yes
9294 ac_cv_lib_socket_connect
=no
9296 rm -f core conftest.err conftest.
$ac_objext \
9297 conftest
$ac_exeext conftest.
$ac_ext
9298 LIBS
=$ac_check_lib_save_LIBS
9300 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_socket_connect" >&5
9301 $as_echo "$ac_cv_lib_socket_connect" >&6; }
9302 if test "x$ac_cv_lib_socket_connect" = xyes
; then :
9303 X_EXTRA_LIBS
="-lsocket $X_EXTRA_LIBS"
9308 # Guillermo Gomez says -lposix is necessary on A/UX.
9309 ac_fn_c_check_func
"$LINENO" "remove" "ac_cv_func_remove"
9310 if test "x$ac_cv_func_remove" = xyes
; then :
9314 if test $ac_cv_func_remove = no
; then
9315 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for remove in -lposix" >&5
9316 $as_echo_n "checking for remove in -lposix... " >&6; }
9317 if ${ac_cv_lib_posix_remove+:} false
; then :
9318 $as_echo_n "(cached) " >&6
9320 ac_check_lib_save_LIBS
=$LIBS
9321 LIBS
="-lposix $LIBS"
9322 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9323 /* end confdefs.h. */
9325 /* Override any GCC internal prototype to avoid an error.
9326 Use char because int might match the return type of a GCC
9327 builtin and then its argument prototype would still apply. */
9340 if ac_fn_c_try_link
"$LINENO"; then :
9341 ac_cv_lib_posix_remove
=yes
9343 ac_cv_lib_posix_remove
=no
9345 rm -f core conftest.err conftest.
$ac_objext \
9346 conftest
$ac_exeext conftest.
$ac_ext
9347 LIBS
=$ac_check_lib_save_LIBS
9349 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_posix_remove" >&5
9350 $as_echo "$ac_cv_lib_posix_remove" >&6; }
9351 if test "x$ac_cv_lib_posix_remove" = xyes
; then :
9352 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lposix"
9357 # BSDI BSD/OS 2.1 needs -lipc for XOpenDisplay.
9358 ac_fn_c_check_func
"$LINENO" "shmat" "ac_cv_func_shmat"
9359 if test "x$ac_cv_func_shmat" = xyes
; then :
9363 if test $ac_cv_func_shmat = no
; then
9364 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shmat in -lipc" >&5
9365 $as_echo_n "checking for shmat in -lipc... " >&6; }
9366 if ${ac_cv_lib_ipc_shmat+:} false
; then :
9367 $as_echo_n "(cached) " >&6
9369 ac_check_lib_save_LIBS
=$LIBS
9371 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9372 /* end confdefs.h. */
9374 /* Override any GCC internal prototype to avoid an error.
9375 Use char because int might match the return type of a GCC
9376 builtin and then its argument prototype would still apply. */
9389 if ac_fn_c_try_link
"$LINENO"; then :
9390 ac_cv_lib_ipc_shmat
=yes
9392 ac_cv_lib_ipc_shmat
=no
9394 rm -f core conftest.err conftest.
$ac_objext \
9395 conftest
$ac_exeext conftest.
$ac_ext
9396 LIBS
=$ac_check_lib_save_LIBS
9398 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ipc_shmat" >&5
9399 $as_echo "$ac_cv_lib_ipc_shmat" >&6; }
9400 if test "x$ac_cv_lib_ipc_shmat" = xyes
; then :
9401 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lipc"
9407 # Check for libraries that X11R6 Xt/Xaw programs need.
9408 ac_save_LDFLAGS
=$LDFLAGS
9409 test -n "$x_libraries" && LDFLAGS
="$LDFLAGS -L$x_libraries"
9410 # SM needs ICE to (dynamically) link under SunOS 4.x (so we have to
9411 # check for ICE first), but we must link in the order -lSM -lICE or
9412 # we get undefined symbols. So assume we have SM if we have ICE.
9413 # These have to be linked with before -lX11, unlike the other
9414 # libraries we check for below, so use a different variable.
9415 # John Interrante, Karl Berry
9416 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for IceConnectionNumber in -lICE" >&5
9417 $as_echo_n "checking for IceConnectionNumber in -lICE... " >&6; }
9418 if ${ac_cv_lib_ICE_IceConnectionNumber+:} false
; then :
9419 $as_echo_n "(cached) " >&6
9421 ac_check_lib_save_LIBS
=$LIBS
9422 LIBS
="-lICE $X_EXTRA_LIBS $LIBS"
9423 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9424 /* end confdefs.h. */
9426 /* Override any GCC internal prototype to avoid an error.
9427 Use char because int might match the return type of a GCC
9428 builtin and then its argument prototype would still apply. */
9432 char IceConnectionNumber ();
9436 return IceConnectionNumber ();
9441 if ac_fn_c_try_link
"$LINENO"; then :
9442 ac_cv_lib_ICE_IceConnectionNumber
=yes
9444 ac_cv_lib_ICE_IceConnectionNumber
=no
9446 rm -f core conftest.err conftest.
$ac_objext \
9447 conftest
$ac_exeext conftest.
$ac_ext
9448 LIBS
=$ac_check_lib_save_LIBS
9450 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ICE_IceConnectionNumber" >&5
9451 $as_echo "$ac_cv_lib_ICE_IceConnectionNumber" >&6; }
9452 if test "x$ac_cv_lib_ICE_IceConnectionNumber" = xyes
; then :
9453 X_PRE_LIBS
="$X_PRE_LIBS -lSM -lICE"
9456 LDFLAGS
=$ac_save_LDFLAGS
9461 if test "$have_x" = "yes"
9463 ac_save_CPPFLAGS
="$CPPFLAGS"
9464 CPPFLAGS
="$CPPFLAGS $X_CFLAGS"
9466 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lX11" >&5
9467 $as_echo_n "checking for -lX11... " >&6; }
9468 if ${ac_cv_lib_soname_X11+:} false
; then :
9469 $as_echo_n "(cached) " >&6
9471 ac_check_soname_save_LIBS
=$LIBS
9472 LIBS
="-lX11 $X_LIBS $X_EXTRA_LIBS $LIBS"
9473 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9474 /* end confdefs.h. */
9476 /* Override any GCC internal prototype to avoid an error.
9477 Use char because int might match the return type of a GCC
9478 builtin and then its argument prototype would still apply. */
9482 char XCreateWindow ();
9486 return XCreateWindow ();
9491 if ac_fn_c_try_link
"$LINENO"; then :
9493 dll
) ac_cv_lib_soname_X11
=`$ac_cv_path_LDD conftest.exe | grep "X11" | sed -e "s/dll.*/dll/"';2,$d'` ;;
9494 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'` ;;
9495 *) ac_cv_lib_soname_X11
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libX11\\.$LIBEXT" | sed -e "s/^.*\\[\\(libX11\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
9496 if ${ac_cv_lib_soname_X11:+false} :; then :
9497 ac_cv_lib_soname_X11
=`$LDD conftest$ac_exeext | grep "libX11\\.$LIBEXT" | sed -e "s/^.*\(libX11\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
9501 rm -f core conftest.err conftest.
$ac_objext \
9502 conftest
$ac_exeext conftest.
$ac_ext
9503 LIBS
=$ac_check_soname_save_LIBS
9505 if ${ac_cv_lib_soname_X11:+false} :; then :
9506 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
9507 $as_echo "not found" >&6; }
9510 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_X11" >&5
9511 $as_echo "$ac_cv_lib_soname_X11" >&6; }
9513 cat >>confdefs.h
<<_ACEOF
9514 #define SONAME_LIBX11 "$ac_cv_lib_soname_X11"
9519 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXext" >&5
9520 $as_echo_n "checking for -lXext... " >&6; }
9521 if ${ac_cv_lib_soname_Xext+:} false
; then :
9522 $as_echo_n "(cached) " >&6
9524 ac_check_soname_save_LIBS
=$LIBS
9525 LIBS
="-lXext $X_LIBS -lX11 $X_EXTRA_LIBS $LIBS"
9526 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9527 /* end confdefs.h. */
9529 /* Override any GCC internal prototype to avoid an error.
9530 Use char because int might match the return type of a GCC
9531 builtin and then its argument prototype would still apply. */
9535 char XextCreateExtension ();
9539 return XextCreateExtension ();
9544 if ac_fn_c_try_link
"$LINENO"; then :
9546 dll
) ac_cv_lib_soname_Xext
=`$ac_cv_path_LDD conftest.exe | grep "Xext" | sed -e "s/dll.*/dll/"';2,$d'` ;;
9547 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'` ;;
9548 *) ac_cv_lib_soname_Xext
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXext\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXext\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
9549 if ${ac_cv_lib_soname_Xext:+false} :; then :
9550 ac_cv_lib_soname_Xext
=`$LDD conftest$ac_exeext | grep "libXext\\.$LIBEXT" | sed -e "s/^.*\(libXext\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
9554 rm -f core conftest.err conftest.
$ac_objext \
9555 conftest
$ac_exeext conftest.
$ac_ext
9556 LIBS
=$ac_check_soname_save_LIBS
9558 if ${ac_cv_lib_soname_Xext:+false} :; then :
9559 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
9560 $as_echo "not found" >&6; }
9563 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xext" >&5
9564 $as_echo "$ac_cv_lib_soname_Xext" >&6; }
9566 cat >>confdefs.h
<<_ACEOF
9567 #define SONAME_LIBXEXT "$ac_cv_lib_soname_Xext"
9570 X_LIBS
="$X_LIBS -lXext"
9572 X_LIBS
="$X_LIBS -lX11"
9574 for ac_header
in X11
/Xlib.h \
9577 X11
/Xcursor
/Xcursor.h \
9578 X11
/extensions
/shape.h \
9579 X11
/extensions
/XInput.h \
9580 X11
/extensions
/XInput2.h \
9581 X11
/extensions
/XShm.h \
9582 X11
/extensions
/Xcomposite.h \
9583 X11
/extensions
/Xinerama.h \
9584 X11
/extensions
/Xrandr.h \
9585 X11
/extensions
/Xrender.h \
9586 X11
/extensions
/xf86vmode.h \
9587 X11
/extensions
/xf86vmproto.h
9589 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
9590 ac_fn_c_check_header_compile
"$LINENO" "$ac_header" "$as_ac_Header" "#ifdef HAVE_X11_XLIB_H
9591 # include <X11/Xlib.h>
9593 #ifdef HAVE_X11_XUTIL_H
9594 # include <X11/Xutil.h>
9597 if eval test \"x\$
"$as_ac_Header"\" = x
"yes"; then :
9598 cat >>confdefs.h
<<_ACEOF
9599 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
9607 if test "$ac_cv_header_X11_XKBlib_h" = "yes"
9609 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XkbQueryExtension in -lX11" >&5
9610 $as_echo_n "checking for XkbQueryExtension in -lX11... " >&6; }
9611 if ${ac_cv_lib_X11_XkbQueryExtension+:} false
; then :
9612 $as_echo_n "(cached) " >&6
9614 ac_check_lib_save_LIBS
=$LIBS
9615 LIBS
="-lX11 $X_LIBS $X_EXTRA_LIBS $LIBS"
9616 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9617 /* end confdefs.h. */
9619 /* Override any GCC internal prototype to avoid an error.
9620 Use char because int might match the return type of a GCC
9621 builtin and then its argument prototype would still apply. */
9625 char XkbQueryExtension ();
9629 return XkbQueryExtension ();
9634 if ac_fn_c_try_link
"$LINENO"; then :
9635 ac_cv_lib_X11_XkbQueryExtension
=yes
9637 ac_cv_lib_X11_XkbQueryExtension
=no
9639 rm -f core conftest.err conftest.
$ac_objext \
9640 conftest
$ac_exeext conftest.
$ac_ext
9641 LIBS
=$ac_check_lib_save_LIBS
9643 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_X11_XkbQueryExtension" >&5
9644 $as_echo "$ac_cv_lib_X11_XkbQueryExtension" >&6; }
9645 if test "x$ac_cv_lib_X11_XkbQueryExtension" = xyes
; then :
9647 $as_echo "#define HAVE_XKB 1" >>confdefs.h
9653 if test "$ac_cv_header_X11_Xcursor_Xcursor_h" = "yes"
9655 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXcursor" >&5
9656 $as_echo_n "checking for -lXcursor... " >&6; }
9657 if ${ac_cv_lib_soname_Xcursor+:} false
; then :
9658 $as_echo_n "(cached) " >&6
9660 ac_check_soname_save_LIBS
=$LIBS
9661 LIBS
="-lXcursor $X_LIBS $X_EXTRA_LIBS $LIBS"
9662 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9663 /* end confdefs.h. */
9665 /* Override any GCC internal prototype to avoid an error.
9666 Use char because int might match the return type of a GCC
9667 builtin and then its argument prototype would still apply. */
9671 char XcursorImageLoadCursor ();
9675 return XcursorImageLoadCursor ();
9680 if ac_fn_c_try_link
"$LINENO"; then :
9682 dll
) ac_cv_lib_soname_Xcursor
=`$ac_cv_path_LDD conftest.exe | grep "Xcursor" | sed -e "s/dll.*/dll/"';2,$d'` ;;
9683 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'` ;;
9684 *) ac_cv_lib_soname_Xcursor
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXcursor\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXcursor\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
9685 if ${ac_cv_lib_soname_Xcursor:+false} :; then :
9686 ac_cv_lib_soname_Xcursor
=`$LDD conftest$ac_exeext | grep "libXcursor\\.$LIBEXT" | sed -e "s/^.*\(libXcursor\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
9690 rm -f core conftest.err conftest.
$ac_objext \
9691 conftest
$ac_exeext conftest.
$ac_ext
9692 LIBS
=$ac_check_soname_save_LIBS
9694 if ${ac_cv_lib_soname_Xcursor:+false} :; then :
9695 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
9696 $as_echo "not found" >&6; }
9699 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xcursor" >&5
9700 $as_echo "$ac_cv_lib_soname_Xcursor" >&6; }
9702 cat >>confdefs.h
<<_ACEOF
9703 #define SONAME_LIBXCURSOR "$ac_cv_lib_soname_Xcursor"
9709 if test "x$ac_cv_lib_soname_Xcursor" = "x"; then :
9710 case "x$with_xcursor" in
9711 x
) as_fn_append wine_notices
"|libxcursor ${notice_platform}development files not found, the Xcursor extension won't be supported." ;;
9713 *) as_fn_error $?
"libxcursor ${notice_platform}development files not found, the Xcursor extension won't be supported.
9714 This is an error since --with-xcursor was requested." "$LINENO" 5 ;;
9718 if test "$ac_cv_header_X11_extensions_XInput_h" = "yes"
9720 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXi" >&5
9721 $as_echo_n "checking for -lXi... " >&6; }
9722 if ${ac_cv_lib_soname_Xi+:} false
; then :
9723 $as_echo_n "(cached) " >&6
9725 ac_check_soname_save_LIBS
=$LIBS
9726 LIBS
="-lXi $X_LIBS $X_EXTRA_LIBS $LIBS"
9727 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9728 /* end confdefs.h. */
9730 /* Override any GCC internal prototype to avoid an error.
9731 Use char because int might match the return type of a GCC
9732 builtin and then its argument prototype would still apply. */
9736 char XOpenDevice ();
9740 return XOpenDevice ();
9745 if ac_fn_c_try_link
"$LINENO"; then :
9747 dll
) ac_cv_lib_soname_Xi
=`$ac_cv_path_LDD conftest.exe | grep "Xi" | sed -e "s/dll.*/dll/"';2,$d'` ;;
9748 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'` ;;
9749 *) ac_cv_lib_soname_Xi
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXi\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXi\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
9750 if ${ac_cv_lib_soname_Xi:+false} :; then :
9751 ac_cv_lib_soname_Xi
=`$LDD conftest$ac_exeext | grep "libXi\\.$LIBEXT" | sed -e "s/^.*\(libXi\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
9755 rm -f core conftest.err conftest.
$ac_objext \
9756 conftest
$ac_exeext conftest.
$ac_ext
9757 LIBS
=$ac_check_soname_save_LIBS
9759 if ${ac_cv_lib_soname_Xi:+false} :; then :
9760 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
9761 $as_echo "not found" >&6; }
9764 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xi" >&5
9765 $as_echo "$ac_cv_lib_soname_Xi" >&6; }
9767 cat >>confdefs.h
<<_ACEOF
9768 #define SONAME_LIBXI "$ac_cv_lib_soname_Xi"
9774 if test "x$ac_cv_lib_soname_Xi" = "x"; then :
9775 case "x$with_xinput" in
9776 x
) as_fn_append wine_notices
"|libxi ${notice_platform}development files not found, the Xinput extension won't be supported." ;;
9778 *) as_fn_error $?
"libxi ${notice_platform}development files not found, the Xinput extension won't be supported.
9779 This is an error since --with-xinput was requested." "$LINENO" 5 ;;
9783 if test "x$ac_cv_lib_soname_Xi" != x
9785 if test "$ac_cv_header_X11_extensions_XInput2_h" != "yes"; then :
9786 case "x$with_xinput2" in
9787 x
) as_fn_append wine_notices
"|XInput2 headers not found, the XInput 2 extension won't be supported." ;;
9789 *) as_fn_error $?
"XInput2 headers not found, the XInput 2 extension won't be supported.
9790 This is an error since --with-xinput2 was requested." "$LINENO" 5 ;;
9795 if test "$ac_cv_header_X11_extensions_XShm_h" = "yes"
9797 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XShmQueryExtension in -lXext" >&5
9798 $as_echo_n "checking for XShmQueryExtension in -lXext... " >&6; }
9799 if ${ac_cv_lib_Xext_XShmQueryExtension+:} false
; then :
9800 $as_echo_n "(cached) " >&6
9802 ac_check_lib_save_LIBS
=$LIBS
9803 LIBS
="-lXext $X_LIBS $X_EXTRA_LIBS $LIBS"
9804 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9805 /* end confdefs.h. */
9807 /* Override any GCC internal prototype to avoid an error.
9808 Use char because int might match the return type of a GCC
9809 builtin and then its argument prototype would still apply. */
9813 char XShmQueryExtension ();
9817 return XShmQueryExtension ();
9822 if ac_fn_c_try_link
"$LINENO"; then :
9823 ac_cv_lib_Xext_XShmQueryExtension
=yes
9825 ac_cv_lib_Xext_XShmQueryExtension
=no
9827 rm -f core conftest.err conftest.
$ac_objext \
9828 conftest
$ac_exeext conftest.
$ac_ext
9829 LIBS
=$ac_check_lib_save_LIBS
9831 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xext_XShmQueryExtension" >&5
9832 $as_echo "$ac_cv_lib_Xext_XShmQueryExtension" >&6; }
9833 if test "x$ac_cv_lib_Xext_XShmQueryExtension" = xyes
; then :
9835 $as_echo "#define HAVE_LIBXXSHM 1" >>confdefs.h
9840 if test "$ac_cv_lib_Xext_XShmQueryExtension" != "yes"; then :
9841 case "x$with_xshm" in
9842 x
) as_fn_append wine_notices
"|XShm ${notice_platform}development files not found, X Shared Memory won't be supported." ;;
9844 *) as_fn_error $?
"XShm ${notice_platform}development files not found, X Shared Memory won't be supported.
9845 This is an error since --with-xshm was requested." "$LINENO" 5 ;;
9849 if test "$ac_cv_header_X11_extensions_shape_h" = "yes"
9851 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XShapeQueryExtension in -lXext" >&5
9852 $as_echo_n "checking for XShapeQueryExtension in -lXext... " >&6; }
9853 if ${ac_cv_lib_Xext_XShapeQueryExtension+:} false
; then :
9854 $as_echo_n "(cached) " >&6
9856 ac_check_lib_save_LIBS
=$LIBS
9857 LIBS
="-lXext $X_LIBS $X_EXTRA_LIBS $LIBS"
9858 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9859 /* end confdefs.h. */
9861 /* Override any GCC internal prototype to avoid an error.
9862 Use char because int might match the return type of a GCC
9863 builtin and then its argument prototype would still apply. */
9867 char XShapeQueryExtension ();
9871 return XShapeQueryExtension ();
9876 if ac_fn_c_try_link
"$LINENO"; then :
9877 ac_cv_lib_Xext_XShapeQueryExtension
=yes
9879 ac_cv_lib_Xext_XShapeQueryExtension
=no
9881 rm -f core conftest.err conftest.
$ac_objext \
9882 conftest
$ac_exeext conftest.
$ac_ext
9883 LIBS
=$ac_check_lib_save_LIBS
9885 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xext_XShapeQueryExtension" >&5
9886 $as_echo "$ac_cv_lib_Xext_XShapeQueryExtension" >&6; }
9887 if test "x$ac_cv_lib_Xext_XShapeQueryExtension" = xyes
; then :
9889 $as_echo "#define HAVE_LIBXSHAPE 1" >>confdefs.h
9894 if test "$ac_cv_lib_Xext_XShapeQueryExtension" != "yes"; then :
9895 case "x$with_xshape" in
9896 x
) as_fn_append wine_notices
"|XShape ${notice_platform}development files not found, XShape won't be supported." ;;
9898 *) as_fn_error $?
"XShape ${notice_platform}development files not found, XShape won't be supported.
9899 This is an error since --with-xshape was requested." "$LINENO" 5 ;;
9903 if test "$ac_cv_header_X11_extensions_xf86vmode_h" = "yes" -o "$ac_cv_header_X11_extensions_xf86vmproto_h" = "yes"
9905 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXxf86vm" >&5
9906 $as_echo_n "checking for -lXxf86vm... " >&6; }
9907 if ${ac_cv_lib_soname_Xxf86vm+:} false
; then :
9908 $as_echo_n "(cached) " >&6
9910 ac_check_soname_save_LIBS
=$LIBS
9911 LIBS
="-lXxf86vm $X_LIBS $X_EXTRA_LIBS $LIBS"
9912 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9913 /* end confdefs.h. */
9915 /* Override any GCC internal prototype to avoid an error.
9916 Use char because int might match the return type of a GCC
9917 builtin and then its argument prototype would still apply. */
9921 char XF86VidModeQueryExtension ();
9925 return XF86VidModeQueryExtension ();
9930 if ac_fn_c_try_link
"$LINENO"; then :
9932 dll
) ac_cv_lib_soname_Xxf86vm
=`$ac_cv_path_LDD conftest.exe | grep "Xxf86vm" | sed -e "s/dll.*/dll/"';2,$d'` ;;
9933 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'` ;;
9934 *) ac_cv_lib_soname_Xxf86vm
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXxf86vm\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXxf86vm\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
9935 if ${ac_cv_lib_soname_Xxf86vm:+false} :; then :
9936 ac_cv_lib_soname_Xxf86vm
=`$LDD conftest$ac_exeext | grep "libXxf86vm\\.$LIBEXT" | sed -e "s/^.*\(libXxf86vm\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
9940 rm -f core conftest.err conftest.
$ac_objext \
9941 conftest
$ac_exeext conftest.
$ac_ext
9942 LIBS
=$ac_check_soname_save_LIBS
9944 if ${ac_cv_lib_soname_Xxf86vm:+false} :; then :
9945 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
9946 $as_echo "not found" >&6; }
9949 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xxf86vm" >&5
9950 $as_echo "$ac_cv_lib_soname_Xxf86vm" >&6; }
9952 cat >>confdefs.h
<<_ACEOF
9953 #define SONAME_LIBXXF86VM "$ac_cv_lib_soname_Xxf86vm"
9959 if test "x$ac_cv_lib_soname_Xxf86vm" = "x"; then :
9960 case "x$with_xxf86vm" in
9961 x
) as_fn_append wine_notices
"|libXxf86vm ${notice_platform}development files not found, XFree86 Vidmode won't be supported." ;;
9963 *) as_fn_error $?
"libXxf86vm ${notice_platform}development files not found, XFree86 Vidmode won't be supported.
9964 This is an error since --with-xxf86vm was requested." "$LINENO" 5 ;;
9968 if test "$ac_cv_header_X11_extensions_Xrender_h" = "yes" -a "x$ac_cv_lib_soname_X11" != "x"
9970 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXrender" >&5
9971 $as_echo_n "checking for -lXrender... " >&6; }
9972 if ${ac_cv_lib_soname_Xrender+:} false
; then :
9973 $as_echo_n "(cached) " >&6
9975 ac_check_soname_save_LIBS
=$LIBS
9976 LIBS
="-lXrender $X_LIBS $X_EXTRA_LIBS $LIBS"
9977 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9978 /* end confdefs.h. */
9980 /* Override any GCC internal prototype to avoid an error.
9981 Use char because int might match the return type of a GCC
9982 builtin and then its argument prototype would still apply. */
9986 char XRenderQueryExtension ();
9990 return XRenderQueryExtension ();
9995 if ac_fn_c_try_link
"$LINENO"; then :
9997 dll
) ac_cv_lib_soname_Xrender
=`$ac_cv_path_LDD conftest.exe | grep "Xrender" | sed -e "s/dll.*/dll/"';2,$d'` ;;
9998 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'` ;;
9999 *) ac_cv_lib_soname_Xrender
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXrender\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXrender\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10000 if ${ac_cv_lib_soname_Xrender:+false} :; then :
10001 ac_cv_lib_soname_Xrender
=`$LDD conftest$ac_exeext | grep "libXrender\\.$LIBEXT" | sed -e "s/^.*\(libXrender\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10005 rm -f core conftest.err conftest.
$ac_objext \
10006 conftest
$ac_exeext conftest.
$ac_ext
10007 LIBS
=$ac_check_soname_save_LIBS
10009 if ${ac_cv_lib_soname_Xrender:+false} :; then :
10010 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10011 $as_echo "not found" >&6; }
10014 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xrender" >&5
10015 $as_echo "$ac_cv_lib_soname_Xrender" >&6; }
10017 cat >>confdefs.h
<<_ACEOF
10018 #define SONAME_LIBXRENDER "$ac_cv_lib_soname_Xrender"
10021 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XRenderSetPictureTransform in -lXrender" >&5
10022 $as_echo_n "checking for XRenderSetPictureTransform in -lXrender... " >&6; }
10023 if ${ac_cv_lib_Xrender_XRenderSetPictureTransform+:} false
; then :
10024 $as_echo_n "(cached) " >&6
10026 ac_check_lib_save_LIBS
=$LIBS
10027 LIBS
="-lXrender $X_LIBS $X_EXTRA_LIBS $LIBS"
10028 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10029 /* end confdefs.h. */
10031 /* Override any GCC internal prototype to avoid an error.
10032 Use char because int might match the return type of a GCC
10033 builtin and then its argument prototype would still apply. */
10037 char XRenderSetPictureTransform ();
10041 return XRenderSetPictureTransform ();
10046 if ac_fn_c_try_link
"$LINENO"; then :
10047 ac_cv_lib_Xrender_XRenderSetPictureTransform
=yes
10049 ac_cv_lib_Xrender_XRenderSetPictureTransform
=no
10051 rm -f core conftest.err conftest.
$ac_objext \
10052 conftest
$ac_exeext conftest.
$ac_ext
10053 LIBS
=$ac_check_lib_save_LIBS
10055 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xrender_XRenderSetPictureTransform" >&5
10056 $as_echo "$ac_cv_lib_Xrender_XRenderSetPictureTransform" >&6; }
10057 if test "x$ac_cv_lib_Xrender_XRenderSetPictureTransform" = xyes
; then :
10059 $as_echo "#define HAVE_XRENDERSETPICTURETRANSFORM 1" >>confdefs.h
10063 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XRenderCreateLinearGradient in -lXrender" >&5
10064 $as_echo_n "checking for XRenderCreateLinearGradient in -lXrender... " >&6; }
10065 if ${ac_cv_lib_Xrender_XRenderCreateLinearGradient+:} false
; then :
10066 $as_echo_n "(cached) " >&6
10068 ac_check_lib_save_LIBS
=$LIBS
10069 LIBS
="-lXrender $X_LIBS $X_EXTRA_LIBS $LIBS"
10070 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10071 /* end confdefs.h. */
10073 /* Override any GCC internal prototype to avoid an error.
10074 Use char because int might match the return type of a GCC
10075 builtin and then its argument prototype would still apply. */
10079 char XRenderCreateLinearGradient ();
10083 return XRenderCreateLinearGradient ();
10088 if ac_fn_c_try_link
"$LINENO"; then :
10089 ac_cv_lib_Xrender_XRenderCreateLinearGradient
=yes
10091 ac_cv_lib_Xrender_XRenderCreateLinearGradient
=no
10093 rm -f core conftest.err conftest.
$ac_objext \
10094 conftest
$ac_exeext conftest.
$ac_ext
10095 LIBS
=$ac_check_lib_save_LIBS
10097 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xrender_XRenderCreateLinearGradient" >&5
10098 $as_echo "$ac_cv_lib_Xrender_XRenderCreateLinearGradient" >&6; }
10099 if test "x$ac_cv_lib_Xrender_XRenderCreateLinearGradient" = xyes
; then :
10101 $as_echo "#define HAVE_XRENDERCREATELINEARGRADIENT 1" >>confdefs.h
10108 if test "x$ac_cv_lib_soname_Xrender" = "x"; then :
10109 case "x$with_xrender" in
10110 x
) as_fn_append wine_warnings
"|libxrender ${notice_platform}development files not found, XRender won't be supported." ;;
10112 *) as_fn_error $?
"libxrender ${notice_platform}development files not found, XRender won't be supported.
10113 This is an error since --with-xrender was requested." "$LINENO" 5 ;;
10117 if test "$ac_cv_header_X11_extensions_Xrandr_h" = "yes" -a "x$ac_cv_lib_soname_Xrender" != "x"
10119 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10120 /* end confdefs.h. */
10121 #include <X11/Xlib.h>
10122 #include <X11/extensions/Xrandr.h>
10126 static typeof(XRRSetScreenConfigAndRate) * func; if (func) return 0;
10131 if ac_fn_c_try_compile
"$LINENO"; then :
10132 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXrandr" >&5
10133 $as_echo_n "checking for -lXrandr... " >&6; }
10134 if ${ac_cv_lib_soname_Xrandr+:} false
; then :
10135 $as_echo_n "(cached) " >&6
10137 ac_check_soname_save_LIBS
=$LIBS
10138 LIBS
="-lXrandr $X_LIBS $X_EXTRA_LIBS $LIBS"
10139 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10140 /* end confdefs.h. */
10142 /* Override any GCC internal prototype to avoid an error.
10143 Use char because int might match the return type of a GCC
10144 builtin and then its argument prototype would still apply. */
10148 char XRRQueryExtension ();
10152 return XRRQueryExtension ();
10157 if ac_fn_c_try_link
"$LINENO"; then :
10159 dll
) ac_cv_lib_soname_Xrandr
=`$ac_cv_path_LDD conftest.exe | grep "Xrandr" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10160 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'` ;;
10161 *) ac_cv_lib_soname_Xrandr
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXrandr\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXrandr\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10162 if ${ac_cv_lib_soname_Xrandr:+false} :; then :
10163 ac_cv_lib_soname_Xrandr
=`$LDD conftest$ac_exeext | grep "libXrandr\\.$LIBEXT" | sed -e "s/^.*\(libXrandr\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10167 rm -f core conftest.err conftest.
$ac_objext \
10168 conftest
$ac_exeext conftest.
$ac_ext
10169 LIBS
=$ac_check_soname_save_LIBS
10171 if ${ac_cv_lib_soname_Xrandr:+false} :; then :
10172 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10173 $as_echo "not found" >&6; }
10176 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xrandr" >&5
10177 $as_echo "$ac_cv_lib_soname_Xrandr" >&6; }
10179 cat >>confdefs.h
<<_ACEOF
10180 #define SONAME_LIBXRANDR "$ac_cv_lib_soname_Xrandr"
10183 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10184 /* end confdefs.h. */
10185 #include <X11/Xlib.h>
10186 #include <X11/extensions/Xrandr.h>
10190 static typeof(XRRGetScreenResources) *f; if (f) return 0;
10195 if ac_fn_c_try_compile
"$LINENO"; then :
10197 $as_echo "#define HAVE_XRRGETSCREENRESOURCES 1" >>confdefs.h
10200 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
10203 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
10205 if test "x$ac_cv_lib_soname_Xrandr" = "x"; then :
10206 case "x$with_xrandr" in
10207 x
) as_fn_append wine_notices
"|libxrandr ${notice_platform}development files not found, XRandr won't be supported." ;;
10209 *) as_fn_error $?
"libxrandr ${notice_platform}development files not found, XRandr won't be supported.
10210 This is an error since --with-xrandr was requested." "$LINENO" 5 ;;
10214 if test "$ac_cv_header_X11_extensions_Xinerama_h" = "yes"
10216 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10217 /* end confdefs.h. */
10218 #include <X11/Xlib.h>
10219 #include <X11/extensions/Xinerama.h>
10223 static typeof(XineramaQueryScreens) * func; if (func) return 0;
10228 if ac_fn_c_try_compile
"$LINENO"; then :
10229 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXinerama" >&5
10230 $as_echo_n "checking for -lXinerama... " >&6; }
10231 if ${ac_cv_lib_soname_Xinerama+:} false
; then :
10232 $as_echo_n "(cached) " >&6
10234 ac_check_soname_save_LIBS
=$LIBS
10235 LIBS
="-lXinerama $X_LIBS $X_EXTRA_LIBS $LIBS"
10236 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10237 /* end confdefs.h. */
10239 /* Override any GCC internal prototype to avoid an error.
10240 Use char because int might match the return type of a GCC
10241 builtin and then its argument prototype would still apply. */
10245 char XineramaQueryScreens ();
10249 return XineramaQueryScreens ();
10254 if ac_fn_c_try_link
"$LINENO"; then :
10256 dll
) ac_cv_lib_soname_Xinerama
=`$ac_cv_path_LDD conftest.exe | grep "Xinerama" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10257 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'` ;;
10258 *) ac_cv_lib_soname_Xinerama
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXinerama\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXinerama\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10259 if ${ac_cv_lib_soname_Xinerama:+false} :; then :
10260 ac_cv_lib_soname_Xinerama
=`$LDD conftest$ac_exeext | grep "libXinerama\\.$LIBEXT" | sed -e "s/^.*\(libXinerama\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10264 rm -f core conftest.err conftest.
$ac_objext \
10265 conftest
$ac_exeext conftest.
$ac_ext
10266 LIBS
=$ac_check_soname_save_LIBS
10268 if ${ac_cv_lib_soname_Xinerama:+false} :; then :
10269 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10270 $as_echo "not found" >&6; }
10273 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xinerama" >&5
10274 $as_echo "$ac_cv_lib_soname_Xinerama" >&6; }
10276 cat >>confdefs.h
<<_ACEOF
10277 #define SONAME_LIBXINERAMA "$ac_cv_lib_soname_Xinerama"
10283 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
10285 if test "x$ac_cv_lib_soname_Xinerama" = "x"; then :
10286 case "x$with_xinerama" in
10287 x
) as_fn_append wine_notices
"|libxinerama ${notice_platform}development files not found, multi-monitor setups won't be supported." ;;
10289 *) as_fn_error $?
"libxinerama ${notice_platform}development files not found, multi-monitor setups won't be supported.
10290 This is an error since --with-xinerama was requested." "$LINENO" 5 ;;
10294 if test "$ac_cv_header_X11_extensions_Xcomposite_h" = "yes"
10296 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXcomposite" >&5
10297 $as_echo_n "checking for -lXcomposite... " >&6; }
10298 if ${ac_cv_lib_soname_Xcomposite+:} false
; then :
10299 $as_echo_n "(cached) " >&6
10301 ac_check_soname_save_LIBS
=$LIBS
10302 LIBS
="-lXcomposite $X_LIBS $X_EXTRA_LIBS $LIBS"
10303 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10304 /* end confdefs.h. */
10306 /* Override any GCC internal prototype to avoid an error.
10307 Use char because int might match the return type of a GCC
10308 builtin and then its argument prototype would still apply. */
10312 char XCompositeRedirectWindow ();
10316 return XCompositeRedirectWindow ();
10321 if ac_fn_c_try_link
"$LINENO"; then :
10323 dll
) ac_cv_lib_soname_Xcomposite
=`$ac_cv_path_LDD conftest.exe | grep "Xcomposite" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10324 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'` ;;
10325 *) ac_cv_lib_soname_Xcomposite
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXcomposite\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXcomposite\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10326 if ${ac_cv_lib_soname_Xcomposite:+false} :; then :
10327 ac_cv_lib_soname_Xcomposite
=`$LDD conftest$ac_exeext | grep "libXcomposite\\.$LIBEXT" | sed -e "s/^.*\(libXcomposite\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10331 rm -f core conftest.err conftest.
$ac_objext \
10332 conftest
$ac_exeext conftest.
$ac_ext
10333 LIBS
=$ac_check_soname_save_LIBS
10335 if ${ac_cv_lib_soname_Xcomposite:+false} :; then :
10336 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10337 $as_echo "not found" >&6; }
10340 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xcomposite" >&5
10341 $as_echo "$ac_cv_lib_soname_Xcomposite" >&6; }
10343 cat >>confdefs.h
<<_ACEOF
10344 #define SONAME_LIBXCOMPOSITE "$ac_cv_lib_soname_Xcomposite"
10350 if test "x$ac_cv_lib_soname_Xcomposite" = "x"; then :
10351 case "x$with_xcomposite" in
10352 x
) as_fn_append wine_notices
"|libxcomposite ${notice_platform}development files not found, Xcomposite won't be supported." ;;
10354 *) as_fn_error $?
"libxcomposite ${notice_platform}development files not found, Xcomposite won't be supported.
10355 This is an error since --with-xcomposite was requested." "$LINENO" 5 ;;
10359 ac_fn_c_check_member
"$LINENO" "XICCallback" "callback" "ac_cv_member_XICCallback_callback" "#ifdef HAVE_X11_XLIB_H
10360 #include <X11/Xlib.h>
10363 if test "x$ac_cv_member_XICCallback_callback" = xyes
; then :
10365 cat >>confdefs.h
<<_ACEOF
10366 #define HAVE_XICCALLBACK_CALLBACK 1
10371 ac_fn_c_check_member
"$LINENO" "XEvent" "xcookie" "ac_cv_member_XEvent_xcookie" "#ifdef HAVE_X11_XLIB_H
10372 #include <X11/Xlib.h>
10375 if test "x$ac_cv_member_XEvent_xcookie" = xyes
; then :
10377 cat >>confdefs.h
<<_ACEOF
10378 #define HAVE_XEVENT_XCOOKIE 1
10387 if test "x$with_opengl" != "xno"
10389 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lGL" >&5
10390 $as_echo_n "checking for -lGL... " >&6; }
10391 if ${ac_cv_lib_soname_GL+:} false
; then :
10392 $as_echo_n "(cached) " >&6
10394 ac_check_soname_save_LIBS
=$LIBS
10395 LIBS
="-lGL $X_LIBS -lm $X_EXTRA_LIBS $LIBS"
10396 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10397 /* end confdefs.h. */
10399 /* Override any GCC internal prototype to avoid an error.
10400 Use char because int might match the return type of a GCC
10401 builtin and then its argument prototype would still apply. */
10405 char glXCreateContext ();
10409 return glXCreateContext ();
10414 if ac_fn_c_try_link
"$LINENO"; then :
10416 dll
) ac_cv_lib_soname_GL
=`$ac_cv_path_LDD conftest.exe | grep "GL" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10417 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'` ;;
10418 *) ac_cv_lib_soname_GL
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libGL\\.$LIBEXT" | sed -e "s/^.*\\[\\(libGL\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10419 if ${ac_cv_lib_soname_GL:+false} :; then :
10420 ac_cv_lib_soname_GL
=`$LDD conftest$ac_exeext | grep "libGL\\.$LIBEXT" | sed -e "s/^.*\(libGL\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10424 rm -f core conftest.err conftest.
$ac_objext \
10425 conftest
$ac_exeext conftest.
$ac_ext
10426 LIBS
=$ac_check_soname_save_LIBS
10428 if ${ac_cv_lib_soname_GL:+false} :; then :
10429 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10430 $as_echo "not found" >&6; }
10431 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lGL" >&5
10432 $as_echo_n "checking for -lGL... " >&6; }
10433 if ${ac_cv_lib_soname_GL+:} false
; then :
10434 $as_echo_n "(cached) " >&6
10436 ac_check_soname_save_LIBS
=$LIBS
10437 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"
10438 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10439 /* end confdefs.h. */
10441 /* Override any GCC internal prototype to avoid an error.
10442 Use char because int might match the return type of a GCC
10443 builtin and then its argument prototype would still apply. */
10447 char glXCreateContext ();
10451 return glXCreateContext ();
10456 if ac_fn_c_try_link
"$LINENO"; then :
10458 dll
) ac_cv_lib_soname_GL
=`$ac_cv_path_LDD conftest.exe | grep "GL" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10459 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'` ;;
10460 *) ac_cv_lib_soname_GL
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libGL\\.$LIBEXT" | sed -e "s/^.*\\[\\(libGL\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10461 if ${ac_cv_lib_soname_GL:+false} :; then :
10462 ac_cv_lib_soname_GL
=`$LDD conftest$ac_exeext | grep "libGL\\.$LIBEXT" | sed -e "s/^.*\(libGL\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10466 rm -f core conftest.err conftest.
$ac_objext \
10467 conftest
$ac_exeext conftest.
$ac_ext
10468 LIBS
=$ac_check_soname_save_LIBS
10470 if ${ac_cv_lib_soname_GL:+false} :; then :
10471 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10472 $as_echo "not found" >&6; }
10473 if test -f /usr
/X11R
6/lib
/libGL.a
10475 opengl_msg
="/usr/X11R6/lib/libGL.a is present on your system.
10476 This probably prevents linking to OpenGL. Try deleting the file and restarting configure."
10478 opengl_msg
="No OpenGL library found on this system."
10481 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_GL" >&5
10482 $as_echo "$ac_cv_lib_soname_GL" >&6; }
10484 cat >>confdefs.h
<<_ACEOF
10485 #define SONAME_LIBGL "$ac_cv_lib_soname_GL"
10488 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"
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"
10500 if test "x$with_glu" != "xno"
10502 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gluLookAt in -lGLU" >&5
10503 $as_echo_n "checking for gluLookAt in -lGLU... " >&6; }
10504 if ${ac_cv_lib_GLU_gluLookAt+:} false
; then :
10505 $as_echo_n "(cached) " >&6
10507 ac_check_lib_save_LIBS
=$LIBS
10508 LIBS
="-lGLU $OPENGL_LIBS $X_LIBS -lm $X_EXTRA_LIBS $LIBS"
10509 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10510 /* end confdefs.h. */
10512 /* Override any GCC internal prototype to avoid an error.
10513 Use char because int might match the return type of a GCC
10514 builtin and then its argument prototype would still apply. */
10522 return gluLookAt ();
10527 if ac_fn_c_try_link
"$LINENO"; then :
10528 ac_cv_lib_GLU_gluLookAt
=yes
10530 ac_cv_lib_GLU_gluLookAt
=no
10532 rm -f core conftest.err conftest.
$ac_objext \
10533 conftest
$ac_exeext conftest.
$ac_ext
10534 LIBS
=$ac_check_lib_save_LIBS
10536 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_GLU_gluLookAt" >&5
10537 $as_echo "$ac_cv_lib_GLU_gluLookAt" >&6; }
10538 if test "x$ac_cv_lib_GLU_gluLookAt" = xyes
; then :
10542 if test "x$ac_cv_lib_GLU_gluLookAt" != xyes
; then :
10543 case "x$with_glu" in
10544 x
) as_fn_append wine_notices
"|libGLU ${notice_platform}development files not found, GLU won't be supported." ;;
10546 *) as_fn_error $?
"libGLU ${notice_platform}development files not found, GLU won't be supported.
10547 This is an error since --with-glu was requested." "$LINENO" 5 ;;
10552 if test "x$with_osmesa" != "xno"
10554 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lOSMesa" >&5
10555 $as_echo_n "checking for -lOSMesa... " >&6; }
10556 if ${ac_cv_lib_soname_OSMesa+:} false
; then :
10557 $as_echo_n "(cached) " >&6
10559 ac_check_soname_save_LIBS
=$LIBS
10560 LIBS
="-lOSMesa $X_LIBS -lm $X_EXTRA_LIBS $LIBS"
10561 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10562 /* end confdefs.h. */
10564 /* Override any GCC internal prototype to avoid an error.
10565 Use char because int might match the return type of a GCC
10566 builtin and then its argument prototype would still apply. */
10579 if ac_fn_c_try_link
"$LINENO"; then :
10581 dll
) ac_cv_lib_soname_OSMesa
=`$ac_cv_path_LDD conftest.exe | grep "OSMesa" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10582 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'` ;;
10583 *) ac_cv_lib_soname_OSMesa
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libOSMesa\\.$LIBEXT" | sed -e "s/^.*\\[\\(libOSMesa\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10584 if ${ac_cv_lib_soname_OSMesa:+false} :; then :
10585 ac_cv_lib_soname_OSMesa
=`$LDD conftest$ac_exeext | grep "libOSMesa\\.$LIBEXT" | sed -e "s/^.*\(libOSMesa\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10589 rm -f core conftest.err conftest.
$ac_objext \
10590 conftest
$ac_exeext conftest.
$ac_ext
10591 LIBS
=$ac_check_soname_save_LIBS
10593 if ${ac_cv_lib_soname_OSMesa:+false} :; then :
10594 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10595 $as_echo "not found" >&6; }
10598 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_OSMesa" >&5
10599 $as_echo "$ac_cv_lib_soname_OSMesa" >&6; }
10601 cat >>confdefs.h
<<_ACEOF
10602 #define SONAME_LIBOSMESA "$ac_cv_lib_soname_OSMesa"
10607 if test "x$ac_cv_lib_soname_OSMesa" = "x"; then :
10608 case "x$with_osmesa" in
10609 x
) as_fn_append wine_notices
"|libOSMesa ${notice_platform}development files not found (or too old), OpenGL rendering in bitmaps won't be supported." ;;
10611 *) as_fn_error $?
"libOSMesa ${notice_platform}development files not found (or too old), OpenGL rendering in bitmaps won't be supported.
10612 This is an error since --with-osmesa was requested." "$LINENO" 5 ;;
10617 if test -n "$opengl_msg"; then :
10618 case "x$with_opengl" in
10619 x
) as_fn_append wine_warnings
"|$opengl_msg
10620 OpenGL and Direct3D won't be supported." ;;
10622 *) as_fn_error $?
"$opengl_msg
10623 OpenGL and Direct3D won't be supported.
10624 This is an error since --with-opengl was requested." "$LINENO" 5 ;;
10628 CPPFLAGS
="$ac_save_CPPFLAGS"
10632 enable_winex11_drv
=${enable_winex11_drv:-no}
10634 if test "x$X_LIBS" = "x"; then :
10637 *) as_fn_error $?
"X ${notice_platform}development files not found. Wine will be built
10638 without X support, which probably isn't what you want. You will need
10639 to install ${notice_platform}development packages of Xlib/Xfree86 at the very least.
10640 Use the --without-x option if you really want this." "$LINENO" 5 ;;
10644 test "x$ac_cv_lib_GLU_gluLookAt" != xyes
&& enable_glu32
=${enable_glu32:-no}
10646 if test "$ac_cv_header_CL_cl_h" = "yes"
10648 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for clGetPlatformInfo in -lOpenCL" >&5
10649 $as_echo_n "checking for clGetPlatformInfo in -lOpenCL... " >&6; }
10650 if ${ac_cv_lib_OpenCL_clGetPlatformInfo+:} false
; then :
10651 $as_echo_n "(cached) " >&6
10653 ac_check_lib_save_LIBS
=$LIBS
10654 LIBS
="-lOpenCL $LIBS"
10655 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10656 /* end confdefs.h. */
10658 /* Override any GCC internal prototype to avoid an error.
10659 Use char because int might match the return type of a GCC
10660 builtin and then its argument prototype would still apply. */
10664 char clGetPlatformInfo ();
10668 return clGetPlatformInfo ();
10673 if ac_fn_c_try_link
"$LINENO"; then :
10674 ac_cv_lib_OpenCL_clGetPlatformInfo
=yes
10676 ac_cv_lib_OpenCL_clGetPlatformInfo
=no
10678 rm -f core conftest.err conftest.
$ac_objext \
10679 conftest
$ac_exeext conftest.
$ac_ext
10680 LIBS
=$ac_check_lib_save_LIBS
10682 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_OpenCL_clGetPlatformInfo" >&5
10683 $as_echo "$ac_cv_lib_OpenCL_clGetPlatformInfo" >&6; }
10684 if test "x$ac_cv_lib_OpenCL_clGetPlatformInfo" = xyes
; then :
10685 OPENCL_LIBS
="-lOpenCL"
10690 if test "x$ac_cv_lib_OpenCL_clGetPlatformInfo" != xyes
; then :
10691 case "x$with_opencl" in
10692 x
) as_fn_append wine_notices
"|OpenCL ${notice_platform}development files not found, OpenCL won't be supported." ;;
10694 *) as_fn_error $?
"OpenCL ${notice_platform}development files not found, OpenCL won't be supported.
10695 This is an error since --with-opencl was requested." "$LINENO" 5 ;;
10698 test "x$ac_cv_lib_OpenCL_clGetPlatformInfo" != xyes
&& enable_opencl
=${enable_opencl:-no}
10700 if test "$ac_cv_header_pcap_pcap_h" = "yes"
10702 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pcap_create in -lpcap" >&5
10703 $as_echo_n "checking for pcap_create in -lpcap... " >&6; }
10704 if ${ac_cv_lib_pcap_pcap_create+:} false
; then :
10705 $as_echo_n "(cached) " >&6
10707 ac_check_lib_save_LIBS
=$LIBS
10708 LIBS
="-lpcap $LIBS"
10709 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10710 /* end confdefs.h. */
10712 /* Override any GCC internal prototype to avoid an error.
10713 Use char because int might match the return type of a GCC
10714 builtin and then its argument prototype would still apply. */
10718 char pcap_create ();
10722 return pcap_create ();
10727 if ac_fn_c_try_link
"$LINENO"; then :
10728 ac_cv_lib_pcap_pcap_create
=yes
10730 ac_cv_lib_pcap_pcap_create
=no
10732 rm -f core conftest.err conftest.
$ac_objext \
10733 conftest
$ac_exeext conftest.
$ac_ext
10734 LIBS
=$ac_check_lib_save_LIBS
10736 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_pcap_pcap_create" >&5
10737 $as_echo "$ac_cv_lib_pcap_pcap_create" >&6; }
10738 if test "x$ac_cv_lib_pcap_pcap_create" = xyes
; then :
10744 if test "x$ac_cv_lib_pcap_pcap_create" != xyes
; then :
10745 case "x$with_pcap" in
10746 x
) as_fn_append wine_notices
"|pcap ${notice_platform}development files not found, wpcap won't be supported." ;;
10748 *) as_fn_error $?
"pcap ${notice_platform}development files not found, wpcap won't be supported.
10749 This is an error since --with-pcap was requested." "$LINENO" 5 ;;
10752 test "x$ac_cv_lib_pcap_pcap_create" != xyes
&& enable_wpcap
=${enable_wpcap:-no}
10755 if test "x$with_xml" != "xno"
10757 if ${XML2_CFLAGS:+false} :; then :
10758 if ${PKG_CONFIG+:} false
; then :
10759 XML2_CFLAGS
=`$PKG_CONFIG --cflags libxml-2.0 2>/dev/null`
10762 test "$cross_compiling" = yes || XML2_CFLAGS
=${XML2_CFLAGS:-`xml2-config --cflags 2>/dev/null`}
10763 if ${XML2_LIBS:+false} :; then :
10764 if ${PKG_CONFIG+:} false
; then :
10765 XML2_LIBS
=`$PKG_CONFIG --libs libxml-2.0 2>/dev/null`
10768 test "$cross_compiling" = yes || XML2_LIBS
=${XML2_LIBS:-`xml2-config --libs 2>/dev/null`}
10769 XML2_LIBS
=${XML2_LIBS:-"-lxml2"}
10770 $as_echo "$as_me:${as_lineno-$LINENO}: libxml-2.0 cflags: $XML2_CFLAGS" >&5
10771 $as_echo "$as_me:${as_lineno-$LINENO}: libxml-2.0 libs: $XML2_LIBS" >&5
10772 ac_save_CPPFLAGS
=$CPPFLAGS
10773 CPPFLAGS
="$CPPFLAGS $XML2_CFLAGS"
10774 for ac_header
in libxml
/parser.h libxml
/xmlsave.h libxml
/SAX2.h
10776 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
10777 ac_fn_c_check_header_mongrel
"$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
10778 if eval test \"x\$
"$as_ac_Header"\" = x
"yes"; then :
10779 cat >>confdefs.h
<<_ACEOF
10780 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
10787 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"
10789 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlParseMemory in -lxml2" >&5
10790 $as_echo_n "checking for xmlParseMemory in -lxml2... " >&6; }
10791 if ${ac_cv_lib_xml2_xmlParseMemory+:} false
; then :
10792 $as_echo_n "(cached) " >&6
10794 ac_check_lib_save_LIBS
=$LIBS
10795 LIBS
="-lxml2 $XML2_LIBS $LIBS"
10796 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10797 /* end confdefs.h. */
10799 /* Override any GCC internal prototype to avoid an error.
10800 Use char because int might match the return type of a GCC
10801 builtin and then its argument prototype would still apply. */
10805 char xmlParseMemory ();
10809 return xmlParseMemory ();
10814 if ac_fn_c_try_link
"$LINENO"; then :
10815 ac_cv_lib_xml2_xmlParseMemory
=yes
10817 ac_cv_lib_xml2_xmlParseMemory
=no
10819 rm -f core conftest.err conftest.
$ac_objext \
10820 conftest
$ac_exeext conftest.
$ac_ext
10821 LIBS
=$ac_check_lib_save_LIBS
10823 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlParseMemory" >&5
10824 $as_echo "$ac_cv_lib_xml2_xmlParseMemory" >&6; }
10825 if test "x$ac_cv_lib_xml2_xmlParseMemory" = xyes
; then :
10827 $as_echo "#define HAVE_LIBXML2 1" >>confdefs.h
10833 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlReadMemory in -lxml2" >&5
10834 $as_echo_n "checking for xmlReadMemory in -lxml2... " >&6; }
10835 if ${ac_cv_lib_xml2_xmlReadMemory+:} false
; then :
10836 $as_echo_n "(cached) " >&6
10838 ac_check_lib_save_LIBS
=$LIBS
10839 LIBS
="-lxml2 $XML2_LIBS $LIBS"
10840 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10841 /* end confdefs.h. */
10843 /* Override any GCC internal prototype to avoid an error.
10844 Use char because int might match the return type of a GCC
10845 builtin and then its argument prototype would still apply. */
10849 char xmlReadMemory ();
10853 return xmlReadMemory ();
10858 if ac_fn_c_try_link
"$LINENO"; then :
10859 ac_cv_lib_xml2_xmlReadMemory
=yes
10861 ac_cv_lib_xml2_xmlReadMemory
=no
10863 rm -f core conftest.err conftest.
$ac_objext \
10864 conftest
$ac_exeext conftest.
$ac_ext
10865 LIBS
=$ac_check_lib_save_LIBS
10867 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlReadMemory" >&5
10868 $as_echo "$ac_cv_lib_xml2_xmlReadMemory" >&6; }
10869 if test "x$ac_cv_lib_xml2_xmlReadMemory" = xyes
; then :
10871 $as_echo "#define HAVE_XMLREADMEMORY 1" >>confdefs.h
10875 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlNewDocPI in -lxml2" >&5
10876 $as_echo_n "checking for xmlNewDocPI in -lxml2... " >&6; }
10877 if ${ac_cv_lib_xml2_xmlNewDocPI+:} false
; then :
10878 $as_echo_n "(cached) " >&6
10880 ac_check_lib_save_LIBS
=$LIBS
10881 LIBS
="-lxml2 $XML2_LIBS $LIBS"
10882 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10883 /* end confdefs.h. */
10885 /* Override any GCC internal prototype to avoid an error.
10886 Use char because int might match the return type of a GCC
10887 builtin and then its argument prototype would still apply. */
10891 char xmlNewDocPI ();
10895 return xmlNewDocPI ();
10900 if ac_fn_c_try_link
"$LINENO"; then :
10901 ac_cv_lib_xml2_xmlNewDocPI
=yes
10903 ac_cv_lib_xml2_xmlNewDocPI
=no
10905 rm -f core conftest.err conftest.
$ac_objext \
10906 conftest
$ac_exeext conftest.
$ac_ext
10907 LIBS
=$ac_check_lib_save_LIBS
10909 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlNewDocPI" >&5
10910 $as_echo "$ac_cv_lib_xml2_xmlNewDocPI" >&6; }
10911 if test "x$ac_cv_lib_xml2_xmlNewDocPI" = xyes
; then :
10913 $as_echo "#define HAVE_XMLNEWDOCPI 1" >>confdefs.h
10917 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlSchemaSetParserStructuredErrors in -lxml2" >&5
10918 $as_echo_n "checking for xmlSchemaSetParserStructuredErrors in -lxml2... " >&6; }
10919 if ${ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors+:} false
; then :
10920 $as_echo_n "(cached) " >&6
10922 ac_check_lib_save_LIBS
=$LIBS
10923 LIBS
="-lxml2 $XML2_LIBS $LIBS"
10924 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10925 /* end confdefs.h. */
10927 /* Override any GCC internal prototype to avoid an error.
10928 Use char because int might match the return type of a GCC
10929 builtin and then its argument prototype would still apply. */
10933 char xmlSchemaSetParserStructuredErrors ();
10937 return xmlSchemaSetParserStructuredErrors ();
10942 if ac_fn_c_try_link
"$LINENO"; then :
10943 ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors
=yes
10945 ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors
=no
10947 rm -f core conftest.err conftest.
$ac_objext \
10948 conftest
$ac_exeext conftest.
$ac_ext
10949 LIBS
=$ac_check_lib_save_LIBS
10951 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors" >&5
10952 $as_echo "$ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors" >&6; }
10953 if test "x$ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors" = xyes
; then :
10955 $as_echo "#define HAVE_XMLSCHEMASSETPARSERSTRUCTUREDERRORS 1" >>confdefs.h
10959 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlSchemaSetValidStructuredErrors in -lxml2" >&5
10960 $as_echo_n "checking for xmlSchemaSetValidStructuredErrors in -lxml2... " >&6; }
10961 if ${ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors+:} false
; then :
10962 $as_echo_n "(cached) " >&6
10964 ac_check_lib_save_LIBS
=$LIBS
10965 LIBS
="-lxml2 $XML2_LIBS $LIBS"
10966 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10967 /* end confdefs.h. */
10969 /* Override any GCC internal prototype to avoid an error.
10970 Use char because int might match the return type of a GCC
10971 builtin and then its argument prototype would still apply. */
10975 char xmlSchemaSetValidStructuredErrors ();
10979 return xmlSchemaSetValidStructuredErrors ();
10984 if ac_fn_c_try_link
"$LINENO"; then :
10985 ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors
=yes
10987 ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors
=no
10989 rm -f core conftest.err conftest.
$ac_objext \
10990 conftest
$ac_exeext conftest.
$ac_ext
10991 LIBS
=$ac_check_lib_save_LIBS
10993 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors" >&5
10994 $as_echo "$ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors" >&6; }
10995 if test "x$ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors" = xyes
; then :
10997 $as_echo "#define HAVE_XMLSCHEMASSETVALIDSTRUCTUREDERRORS 1" >>confdefs.h
11001 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlFirstElementChild in -lxml2" >&5
11002 $as_echo_n "checking for xmlFirstElementChild in -lxml2... " >&6; }
11003 if ${ac_cv_lib_xml2_xmlFirstElementChild+:} false
; then :
11004 $as_echo_n "(cached) " >&6
11006 ac_check_lib_save_LIBS
=$LIBS
11007 LIBS
="-lxml2 $XML2_LIBS $LIBS"
11008 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11009 /* end confdefs.h. */
11011 /* Override any GCC internal prototype to avoid an error.
11012 Use char because int might match the return type of a GCC
11013 builtin and then its argument prototype would still apply. */
11017 char xmlFirstElementChild ();
11021 return xmlFirstElementChild ();
11026 if ac_fn_c_try_link
"$LINENO"; then :
11027 ac_cv_lib_xml2_xmlFirstElementChild
=yes
11029 ac_cv_lib_xml2_xmlFirstElementChild
=no
11031 rm -f core conftest.err conftest.
$ac_objext \
11032 conftest
$ac_exeext conftest.
$ac_ext
11033 LIBS
=$ac_check_lib_save_LIBS
11035 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlFirstElementChild" >&5
11036 $as_echo "$ac_cv_lib_xml2_xmlFirstElementChild" >&6; }
11037 if test "x$ac_cv_lib_xml2_xmlFirstElementChild" = xyes
; then :
11039 $as_echo "#define HAVE_XMLFIRSTELEMENTCHILD 1" >>confdefs.h
11043 ac_fn_c_check_type
"$LINENO" "xmlDocProperties" "ac_cv_type_xmlDocProperties" "#include <libxml/tree.h>
11045 if test "x$ac_cv_type_xmlDocProperties" = xyes
; then :
11047 $as_echo "#define HAVE_XMLDOC_PROPERTIES 1" >>confdefs.h
11055 CPPFLAGS
=$ac_save_CPPFLAGS
11056 test -z "$XML2_CFLAGS" || XML2_CFLAGS
=`echo " $XML2_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
11057 test -z "$XML2_LIBS" || XML2_LIBS
=`echo " $XML2_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
11060 if test "$ac_cv_lib_xml2_xmlParseMemory" != "yes"; then :
11061 case "x$with_xml" in
11062 x
) as_fn_append wine_warnings
"|libxml2 ${notice_platform}development files not found (or too old), XML won't be supported." ;;
11064 *) as_fn_error $?
"libxml2 ${notice_platform}development files not found (or too old), XML won't be supported.
11065 This is an error since --with-xml was requested." "$LINENO" 5 ;;
11069 if test "x$with_xslt" != "xno"
11071 if ${XSLT_CFLAGS:+false} :; then :
11072 if ${PKG_CONFIG+:} false
; then :
11073 XSLT_CFLAGS
=`$PKG_CONFIG --cflags libxslt 2>/dev/null`
11076 test "$cross_compiling" = yes || XSLT_CFLAGS
=${XSLT_CFLAGS:-`xslt-config --cflags 2>/dev/null`}
11077 if ${XSLT_LIBS:+false} :; then :
11078 if ${PKG_CONFIG+:} false
; then :
11079 XSLT_LIBS
=`$PKG_CONFIG --libs libxslt 2>/dev/null`
11082 test "$cross_compiling" = yes || XSLT_LIBS
=${XSLT_LIBS:-`xslt-config --libs 2>/dev/null`}
11083 XSLT_LIBS
=${XSLT_LIBS:-"-lxml2"}
11084 $as_echo "$as_me:${as_lineno-$LINENO}: libxslt cflags: $XSLT_CFLAGS" >&5
11085 $as_echo "$as_me:${as_lineno-$LINENO}: libxslt libs: $XSLT_LIBS" >&5
11086 ac_save_CPPFLAGS
=$CPPFLAGS
11087 CPPFLAGS
="$CPPFLAGS $XSLT_CFLAGS"
11088 for ac_header
in libxslt
/pattern.h libxslt
/transform.h
11090 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
11091 ac_fn_c_check_header_compile
"$LINENO" "$ac_header" "$as_ac_Header" "#ifdef HAVE_LIBXSLT_PATTERN_H
11092 # include <libxslt/pattern.h>
11095 if eval test \"x\$
"$as_ac_Header"\" = x
"yes"; then :
11096 cat >>confdefs.h
<<_ACEOF
11097 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
11104 if test "$ac_cv_header_libxslt_transform_h" = "yes"
11106 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lxslt" >&5
11107 $as_echo_n "checking for -lxslt... " >&6; }
11108 if ${ac_cv_lib_soname_xslt+:} false
; then :
11109 $as_echo_n "(cached) " >&6
11111 ac_check_soname_save_LIBS
=$LIBS
11112 LIBS
="-lxslt $XSLT_LIBS $LIBS"
11113 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11114 /* end confdefs.h. */
11116 /* Override any GCC internal prototype to avoid an error.
11117 Use char because int might match the return type of a GCC
11118 builtin and then its argument prototype would still apply. */
11122 char xsltCompilePattern ();
11126 return xsltCompilePattern ();
11131 if ac_fn_c_try_link
"$LINENO"; then :
11133 dll
) ac_cv_lib_soname_xslt
=`$ac_cv_path_LDD conftest.exe | grep "xslt" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11134 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'` ;;
11135 *) ac_cv_lib_soname_xslt
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libxslt\\.$LIBEXT" | sed -e "s/^.*\\[\\(libxslt\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
11136 if ${ac_cv_lib_soname_xslt:+false} :; then :
11137 ac_cv_lib_soname_xslt
=`$LDD conftest$ac_exeext | grep "libxslt\\.$LIBEXT" | sed -e "s/^.*\(libxslt\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11141 rm -f core conftest.err conftest.
$ac_objext \
11142 conftest
$ac_exeext conftest.
$ac_ext
11143 LIBS
=$ac_check_soname_save_LIBS
11145 if ${ac_cv_lib_soname_xslt:+false} :; then :
11146 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11147 $as_echo "not found" >&6; }
11150 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_xslt" >&5
11151 $as_echo "$ac_cv_lib_soname_xslt" >&6; }
11153 cat >>confdefs.h
<<_ACEOF
11154 #define SONAME_LIBXSLT "$ac_cv_lib_soname_xslt"
11162 CPPFLAGS
=$ac_save_CPPFLAGS
11163 test -z "$XSLT_CFLAGS" || XSLT_CFLAGS
=`echo " $XSLT_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
11164 test -z "$XSLT_LIBS" || XSLT_LIBS
=`echo " $XSLT_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
11167 if test "x$ac_cv_lib_soname_xslt" = "x"; then :
11168 case "x$with_xslt" in
11169 x
) as_fn_append wine_warnings
"|libxslt ${notice_platform}development files not found, xslt won't be supported." ;;
11171 *) as_fn_error $?
"libxslt ${notice_platform}development files not found, xslt won't be supported.
11172 This is an error since --with-xslt was requested." "$LINENO" 5 ;;
11176 if test "x$with_dbus" != "xno"
11178 if ${DBUS_CFLAGS:+false} :; then :
11179 if ${PKG_CONFIG+:} false
; then :
11180 DBUS_CFLAGS
=`$PKG_CONFIG --cflags dbus-1 2>/dev/null`
11184 if ${DBUS_LIBS:+false} :; then :
11185 if ${PKG_CONFIG+:} false
; then :
11186 DBUS_LIBS
=`$PKG_CONFIG --libs dbus-1 2>/dev/null`
11191 $as_echo "$as_me:${as_lineno-$LINENO}: dbus-1 cflags: $DBUS_CFLAGS" >&5
11192 $as_echo "$as_me:${as_lineno-$LINENO}: dbus-1 libs: $DBUS_LIBS" >&5
11193 ac_save_CPPFLAGS
=$CPPFLAGS
11194 CPPFLAGS
="$CPPFLAGS $DBUS_CFLAGS"
11195 ac_fn_c_check_header_mongrel
"$LINENO" "dbus/dbus.h" "ac_cv_header_dbus_dbus_h" "$ac_includes_default"
11196 if test "x$ac_cv_header_dbus_dbus_h" = xyes
; then :
11197 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -ldbus-1" >&5
11198 $as_echo_n "checking for -ldbus-1... " >&6; }
11199 if ${ac_cv_lib_soname_dbus_1+:} false
; then :
11200 $as_echo_n "(cached) " >&6
11202 ac_check_soname_save_LIBS
=$LIBS
11203 LIBS
="-ldbus-1 $DBUS_LIBS $LIBS"
11204 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11205 /* end confdefs.h. */
11207 /* Override any GCC internal prototype to avoid an error.
11208 Use char because int might match the return type of a GCC
11209 builtin and then its argument prototype would still apply. */
11213 char dbus_connection_close ();
11217 return dbus_connection_close ();
11222 if ac_fn_c_try_link
"$LINENO"; then :
11224 dll
) ac_cv_lib_soname_dbus_1
=`$ac_cv_path_LDD conftest.exe | grep "dbus-1" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11225 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'` ;;
11226 *) 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'`
11227 if ${ac_cv_lib_soname_dbus_1:+false} :; then :
11228 ac_cv_lib_soname_dbus_1
=`$LDD conftest$ac_exeext | grep "libdbus-1\\.$LIBEXT" | sed -e "s/^.*\(libdbus-1\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11232 rm -f core conftest.err conftest.
$ac_objext \
11233 conftest
$ac_exeext conftest.
$ac_ext
11234 LIBS
=$ac_check_soname_save_LIBS
11236 if ${ac_cv_lib_soname_dbus_1:+false} :; then :
11237 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11238 $as_echo "not found" >&6; }
11241 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_dbus_1" >&5
11242 $as_echo "$ac_cv_lib_soname_dbus_1" >&6; }
11244 cat >>confdefs.h
<<_ACEOF
11245 #define SONAME_LIBDBUS_1 "$ac_cv_lib_soname_dbus_1"
11255 CPPFLAGS
=$ac_save_CPPFLAGS
11256 test -z "$DBUS_CFLAGS" || DBUS_CFLAGS
=`echo " $DBUS_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
11257 test -z "$DBUS_LIBS" || DBUS_LIBS
=`echo " $DBUS_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
11260 if test "x$ac_cv_lib_soname_dbus_1" = "x" -a \
11261 "x$ac_cv_header_DiskArbitration_DiskArbitration_h" != "xyes"; then :
11262 case "x$with_dbus" in
11263 x
) as_fn_append wine_notices
"|libdbus ${notice_platform}development files not found, no dynamic device support." ;;
11265 *) as_fn_error $?
"libdbus ${notice_platform}development files not found, no dynamic device support.
11266 This is an error since --with-dbus was requested." "$LINENO" 5 ;;
11270 if test "x$with_hal" != "xno" -a "x$ac_cv_lib_soname_dbus_1" != x
11272 if ${HAL_CFLAGS:+false} :; then :
11273 if ${PKG_CONFIG+:} false
; then :
11274 HAL_CFLAGS
=`$PKG_CONFIG --cflags hal 2>/dev/null`
11278 if ${HAL_LIBS:+false} :; then :
11279 if ${PKG_CONFIG+:} false
; then :
11280 HAL_LIBS
=`$PKG_CONFIG --libs hal 2>/dev/null`
11284 HAL_LIBS
=${HAL_LIBS:-"-ldbus-1"}
11285 $as_echo "$as_me:${as_lineno-$LINENO}: hal cflags: $HAL_CFLAGS" >&5
11286 $as_echo "$as_me:${as_lineno-$LINENO}: hal libs: $HAL_LIBS" >&5
11287 ac_save_CPPFLAGS
=$CPPFLAGS
11288 CPPFLAGS
="$CPPFLAGS $HAL_CFLAGS"
11289 ac_fn_c_check_header_mongrel
"$LINENO" "hal/libhal.h" "ac_cv_header_hal_libhal_h" "$ac_includes_default"
11290 if test "x$ac_cv_header_hal_libhal_h" = xyes
; then :
11291 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lhal" >&5
11292 $as_echo_n "checking for -lhal... " >&6; }
11293 if ${ac_cv_lib_soname_hal+:} false
; then :
11294 $as_echo_n "(cached) " >&6
11296 ac_check_soname_save_LIBS
=$LIBS
11297 LIBS
="-lhal $HAL_LIBS $LIBS"
11298 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11299 /* end confdefs.h. */
11301 /* Override any GCC internal prototype to avoid an error.
11302 Use char because int might match the return type of a GCC
11303 builtin and then its argument prototype would still apply. */
11307 char libhal_ctx_new ();
11311 return libhal_ctx_new ();
11316 if ac_fn_c_try_link
"$LINENO"; then :
11318 dll
) ac_cv_lib_soname_hal
=`$ac_cv_path_LDD conftest.exe | grep "hal" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11319 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'` ;;
11320 *) ac_cv_lib_soname_hal
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libhal\\.$LIBEXT" | sed -e "s/^.*\\[\\(libhal\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
11321 if ${ac_cv_lib_soname_hal:+false} :; then :
11322 ac_cv_lib_soname_hal
=`$LDD conftest$ac_exeext | grep "libhal\\.$LIBEXT" | sed -e "s/^.*\(libhal\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11326 rm -f core conftest.err conftest.
$ac_objext \
11327 conftest
$ac_exeext conftest.
$ac_ext
11328 LIBS
=$ac_check_soname_save_LIBS
11330 if ${ac_cv_lib_soname_hal:+false} :; then :
11331 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11332 $as_echo "not found" >&6; }
11335 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_hal" >&5
11336 $as_echo "$ac_cv_lib_soname_hal" >&6; }
11338 cat >>confdefs.h
<<_ACEOF
11339 #define SONAME_LIBHAL "$ac_cv_lib_soname_hal"
11349 CPPFLAGS
=$ac_save_CPPFLAGS
11350 test -z "$HAL_CFLAGS" || HAL_CFLAGS
=`echo " $HAL_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
11351 test -z "$HAL_LIBS" || HAL_LIBS
=`echo " $HAL_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
11353 if test "x$ac_cv_lib_soname_hal" = "x" -a \
11354 "x$ac_cv_header_DiskArbitration_DiskArbitration_h" != "xyes"; then :
11355 case "x$with_hal" in
11356 x
) as_fn_append wine_notices
"|libhal ${notice_platform}development files not found, no legacy dynamic device support." ;;
11358 *) as_fn_error $?
"libhal ${notice_platform}development files not found, no legacy dynamic device support.
11359 This is an error since --with-hal was requested." "$LINENO" 5 ;;
11364 if test "x$with_gnutls" != "xno"
11366 if ${GNUTLS_CFLAGS:+false} :; then :
11367 if ${PKG_CONFIG+:} false
; then :
11368 GNUTLS_CFLAGS
=`$PKG_CONFIG --cflags gnutls 2>/dev/null`
11372 if ${GNUTLS_LIBS:+false} :; then :
11373 if ${PKG_CONFIG+:} false
; then :
11374 GNUTLS_LIBS
=`$PKG_CONFIG --libs gnutls 2>/dev/null`
11379 $as_echo "$as_me:${as_lineno-$LINENO}: gnutls cflags: $GNUTLS_CFLAGS" >&5
11380 $as_echo "$as_me:${as_lineno-$LINENO}: gnutls libs: $GNUTLS_LIBS" >&5
11381 ac_save_CPPFLAGS
=$CPPFLAGS
11382 CPPFLAGS
="$CPPFLAGS $GNUTLS_CFLAGS"
11383 ac_fn_c_check_header_mongrel
"$LINENO" "gnutls/gnutls.h" "ac_cv_header_gnutls_gnutls_h" "$ac_includes_default"
11384 if test "x$ac_cv_header_gnutls_gnutls_h" = xyes
; then :
11385 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11386 /* end confdefs.h. */
11387 #include <gnutls/gnutls.h>
11388 #include <gnutls/crypto.h>
11392 static typeof(gnutls_mac_get_key_size) *func; if (func) return 0;
11397 if ac_fn_c_try_compile
"$LINENO"; then :
11398 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lgnutls" >&5
11399 $as_echo_n "checking for -lgnutls... " >&6; }
11400 if ${ac_cv_lib_soname_gnutls+:} false
; then :
11401 $as_echo_n "(cached) " >&6
11403 ac_check_soname_save_LIBS
=$LIBS
11404 LIBS
="-lgnutls $GNUTLS_LIBS $LIBS"
11405 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11406 /* end confdefs.h. */
11408 /* Override any GCC internal prototype to avoid an error.
11409 Use char because int might match the return type of a GCC
11410 builtin and then its argument prototype would still apply. */
11414 char gnutls_global_init ();
11418 return gnutls_global_init ();
11423 if ac_fn_c_try_link
"$LINENO"; then :
11425 dll
) ac_cv_lib_soname_gnutls
=`$ac_cv_path_LDD conftest.exe | grep "gnutls" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11426 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'` ;;
11427 *) 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'`
11428 if ${ac_cv_lib_soname_gnutls:+false} :; then :
11429 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'`
11433 rm -f core conftest.err conftest.
$ac_objext \
11434 conftest
$ac_exeext conftest.
$ac_ext
11435 LIBS
=$ac_check_soname_save_LIBS
11437 if ${ac_cv_lib_soname_gnutls:+false} :; then :
11438 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11439 $as_echo "not found" >&6; }
11442 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_gnutls" >&5
11443 $as_echo "$ac_cv_lib_soname_gnutls" >&6; }
11445 cat >>confdefs.h
<<_ACEOF
11446 #define SONAME_LIBGNUTLS "$ac_cv_lib_soname_gnutls"
11452 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
11458 CPPFLAGS
=$ac_save_CPPFLAGS
11459 test -z "$GNUTLS_CFLAGS" || GNUTLS_CFLAGS
=`echo " $GNUTLS_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
11460 test -z "$GNUTLS_LIBS" || GNUTLS_LIBS
=`echo " $GNUTLS_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
11463 if test "x$ac_cv_lib_soname_gnutls" = "x"; then :
11464 case "x$with_gnutls" in
11465 x
) as_fn_append wine_warnings
"|libgnutls ${notice_platform}development files not found, no schannel support." ;;
11467 *) as_fn_error $?
"libgnutls ${notice_platform}development files not found, no schannel support.
11468 This is an error since --with-gnutls was requested." "$LINENO" 5 ;;
11473 if test "$ac_cv_header_ncurses_h" = "yes"
11475 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lncurses" >&5
11476 $as_echo_n "checking for -lncurses... " >&6; }
11477 if ${ac_cv_lib_soname_ncurses+:} false
; then :
11478 $as_echo_n "(cached) " >&6
11480 ac_check_soname_save_LIBS
=$LIBS
11481 LIBS
="-lncurses $LIBS"
11482 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11483 /* end confdefs.h. */
11485 /* Override any GCC internal prototype to avoid an error.
11486 Use char because int might match the return type of a GCC
11487 builtin and then its argument prototype would still apply. */
11500 if ac_fn_c_try_link
"$LINENO"; then :
11502 dll
) ac_cv_lib_soname_ncurses
=`$ac_cv_path_LDD conftest.exe | grep "ncurses" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11503 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'` ;;
11504 *) 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'`
11505 if ${ac_cv_lib_soname_ncurses:+false} :; then :
11506 ac_cv_lib_soname_ncurses
=`$LDD conftest$ac_exeext | grep "libncursesw\\{0,1\\}\\.$LIBEXT" | sed -e "s/^.*\(libncursesw\\{0,1\\}\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11510 rm -f core conftest.err conftest.
$ac_objext \
11511 conftest
$ac_exeext conftest.
$ac_ext
11512 LIBS
=$ac_check_soname_save_LIBS
11514 if ${ac_cv_lib_soname_ncurses:+false} :; then :
11515 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11516 $as_echo "not found" >&6; }
11519 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_ncurses" >&5
11520 $as_echo "$ac_cv_lib_soname_ncurses" >&6; }
11522 cat >>confdefs.h
<<_ACEOF
11523 #define SONAME_LIBNCURSES "$ac_cv_lib_soname_ncurses"
11526 CURSES_LIBS
="-lncurses"
11528 elif test "$ac_cv_header_curses_h" = "yes"
11530 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lcurses" >&5
11531 $as_echo_n "checking for -lcurses... " >&6; }
11532 if ${ac_cv_lib_soname_curses+:} false
; then :
11533 $as_echo_n "(cached) " >&6
11535 ac_check_soname_save_LIBS
=$LIBS
11536 LIBS
="-lcurses $LIBS"
11537 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11538 /* end confdefs.h. */
11540 /* Override any GCC internal prototype to avoid an error.
11541 Use char because int might match the return type of a GCC
11542 builtin and then its argument prototype would still apply. */
11555 if ac_fn_c_try_link
"$LINENO"; then :
11557 dll
) ac_cv_lib_soname_curses
=`$ac_cv_path_LDD conftest.exe | grep "curses" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11558 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'` ;;
11559 *) ac_cv_lib_soname_curses
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libcurses\\.$LIBEXT" | sed -e "s/^.*\\[\\(libcurses\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
11560 if ${ac_cv_lib_soname_curses:+false} :; then :
11561 ac_cv_lib_soname_curses
=`$LDD conftest$ac_exeext | grep "libcurses\\.$LIBEXT" | sed -e "s/^.*\(libcurses\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11565 rm -f core conftest.err conftest.
$ac_objext \
11566 conftest
$ac_exeext conftest.
$ac_ext
11567 LIBS
=$ac_check_soname_save_LIBS
11569 if ${ac_cv_lib_soname_curses:+false} :; then :
11570 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11571 $as_echo "not found" >&6; }
11574 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_curses" >&5
11575 $as_echo "$ac_cv_lib_soname_curses" >&6; }
11577 cat >>confdefs.h
<<_ACEOF
11578 #define SONAME_LIBCURSES "$ac_cv_lib_soname_curses"
11581 CURSES_LIBS
="-lcurses"
11584 ac_save_LIBS
="$LIBS"
11585 LIBS
="$LIBS $CURSES_LIBS"
11586 for ac_func
in mousemask
11588 ac_fn_c_check_func
"$LINENO" "mousemask" "ac_cv_func_mousemask"
11589 if test "x$ac_cv_func_mousemask" = xyes
; then :
11590 cat >>confdefs.h
<<_ACEOF
11591 #define HAVE_MOUSEMASK 1
11597 LIBS
="$ac_save_LIBS"
11598 if test "x$ac_cv_lib_soname_curses$ac_cv_lib_soname_ncurses" = "x"; then :
11599 case "x$with_curses" in
11600 x
) as_fn_append wine_notices
"|lib(n)curses ${notice_platform}development files not found, curses won't be supported." ;;
11602 *) as_fn_error $?
"lib(n)curses ${notice_platform}development files not found, curses won't be supported.
11603 This is an error since --with-curses was requested." "$LINENO" 5 ;;
11607 if test "x$with_sane" != "xno"
11609 if ${SANE_CFLAGS:+false} :; then :
11610 if ${PKG_CONFIG+:} false
; then :
11611 SANE_CFLAGS
=`$PKG_CONFIG --cflags libsane 2>/dev/null`
11614 test "$cross_compiling" = yes || SANE_CFLAGS
=${SANE_CFLAGS:-`sane-config --cflags 2>/dev/null`}
11615 if ${SANE_LIBS:+false} :; then :
11616 if ${PKG_CONFIG+:} false
; then :
11617 SANE_LIBS
=`$PKG_CONFIG --libs libsane 2>/dev/null`
11620 test "$cross_compiling" = yes || SANE_LIBS
=${SANE_LIBS:-`sane-config --ldflags 2>/dev/null`}
11622 $as_echo "$as_me:${as_lineno-$LINENO}: libsane cflags: $SANE_CFLAGS" >&5
11623 $as_echo "$as_me:${as_lineno-$LINENO}: libsane libs: $SANE_LIBS" >&5
11624 ac_save_CPPFLAGS
=$CPPFLAGS
11625 CPPFLAGS
="$CPPFLAGS $SANE_CFLAGS"
11626 ac_fn_c_check_header_mongrel
"$LINENO" "sane/sane.h" "ac_cv_header_sane_sane_h" "$ac_includes_default"
11627 if test "x$ac_cv_header_sane_sane_h" = xyes
; then :
11628 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lsane" >&5
11629 $as_echo_n "checking for -lsane... " >&6; }
11630 if ${ac_cv_lib_soname_sane+:} false
; then :
11631 $as_echo_n "(cached) " >&6
11633 ac_check_soname_save_LIBS
=$LIBS
11634 LIBS
="-lsane $SANE_LIBS $LIBS"
11635 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11636 /* end confdefs.h. */
11638 /* Override any GCC internal prototype to avoid an error.
11639 Use char because int might match the return type of a GCC
11640 builtin and then its argument prototype would still apply. */
11648 return sane_init ();
11653 if ac_fn_c_try_link
"$LINENO"; then :
11655 dll
) ac_cv_lib_soname_sane
=`$ac_cv_path_LDD conftest.exe | grep "sane" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11656 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'` ;;
11657 *) ac_cv_lib_soname_sane
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libsane\\.$LIBEXT" | sed -e "s/^.*\\[\\(libsane\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
11658 if ${ac_cv_lib_soname_sane:+false} :; then :
11659 ac_cv_lib_soname_sane
=`$LDD conftest$ac_exeext | grep "libsane\\.$LIBEXT" | sed -e "s/^.*\(libsane\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11663 rm -f core conftest.err conftest.
$ac_objext \
11664 conftest
$ac_exeext conftest.
$ac_ext
11665 LIBS
=$ac_check_soname_save_LIBS
11667 if ${ac_cv_lib_soname_sane:+false} :; then :
11668 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11669 $as_echo "not found" >&6; }
11672 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_sane" >&5
11673 $as_echo "$ac_cv_lib_soname_sane" >&6; }
11675 cat >>confdefs.h
<<_ACEOF
11676 #define SONAME_LIBSANE "$ac_cv_lib_soname_sane"
11686 CPPFLAGS
=$ac_save_CPPFLAGS
11687 test -z "$SANE_CFLAGS" || SANE_CFLAGS
=`echo " $SANE_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
11688 test -z "$SANE_LIBS" || SANE_LIBS
=`echo " $SANE_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
11691 if test "x$ac_cv_lib_soname_sane" = "x"; then :
11692 case "x$with_sane" in
11693 x
) as_fn_append wine_notices
"|libsane ${notice_platform}development files not found, scanners won't be supported." ;;
11695 *) as_fn_error $?
"libsane ${notice_platform}development files not found, scanners won't be supported.
11696 This is an error since --with-sane was requested." "$LINENO" 5 ;;
11700 if test "x$with_v4l" != "xno"
11702 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lv4l1" >&5
11703 $as_echo_n "checking for -lv4l1... " >&6; }
11704 if ${ac_cv_lib_soname_v4l1+:} false
; then :
11705 $as_echo_n "(cached) " >&6
11707 ac_check_soname_save_LIBS
=$LIBS
11708 LIBS
="-lv4l1 $LIBS"
11709 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11710 /* end confdefs.h. */
11712 /* Override any GCC internal prototype to avoid an error.
11713 Use char because int might match the return type of a GCC
11714 builtin and then its argument prototype would still apply. */
11722 return v4l1_open ();
11727 if ac_fn_c_try_link
"$LINENO"; then :
11729 dll
) ac_cv_lib_soname_v4l1
=`$ac_cv_path_LDD conftest.exe | grep "v4l1" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11730 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'` ;;
11731 *) ac_cv_lib_soname_v4l1
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libv4l1\\.$LIBEXT" | sed -e "s/^.*\\[\\(libv4l1\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
11732 if ${ac_cv_lib_soname_v4l1:+false} :; then :
11733 ac_cv_lib_soname_v4l1
=`$LDD conftest$ac_exeext | grep "libv4l1\\.$LIBEXT" | sed -e "s/^.*\(libv4l1\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11737 rm -f core conftest.err conftest.
$ac_objext \
11738 conftest
$ac_exeext conftest.
$ac_ext
11739 LIBS
=$ac_check_soname_save_LIBS
11741 if ${ac_cv_lib_soname_v4l1:+false} :; then :
11742 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11743 $as_echo "not found" >&6; }
11746 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_v4l1" >&5
11747 $as_echo "$ac_cv_lib_soname_v4l1" >&6; }
11749 cat >>confdefs.h
<<_ACEOF
11750 #define SONAME_LIBV4L1 "$ac_cv_lib_soname_v4l1"
11756 if test "x$ac_cv_lib_soname_v4l1" = "x"; then :
11757 case "x$with_v4l" in
11758 x
) as_fn_append wine_notices
"|libv4l ${notice_platform}development files not found." ;;
11760 *) as_fn_error $?
"libv4l ${notice_platform}development files not found.
11761 This is an error since --with-v4l was requested." "$LINENO" 5 ;;
11765 if test "x$with_gphoto" != "xno"
11767 if ${GPHOTO2_CFLAGS:+false} :; then :
11768 if ${PKG_CONFIG+:} false
; then :
11769 GPHOTO2_CFLAGS
=`$PKG_CONFIG --cflags libgphoto2 2>/dev/null`
11772 test "$cross_compiling" = yes || GPHOTO2_CFLAGS
=${GPHOTO2_CFLAGS:-`gphoto2-config --cflags 2>/dev/null`}
11773 if ${GPHOTO2_LIBS:+false} :; then :
11774 if ${PKG_CONFIG+:} false
; then :
11775 GPHOTO2_LIBS
=`$PKG_CONFIG --libs libgphoto2 2>/dev/null`
11778 test "$cross_compiling" = yes || GPHOTO2_LIBS
=${GPHOTO2_LIBS:-`gphoto2-config --libs 2>/dev/null`}
11779 GPHOTO2_LIBS
=${GPHOTO2_LIBS:-"-lgphoto2"}
11780 $as_echo "$as_me:${as_lineno-$LINENO}: libgphoto2 cflags: $GPHOTO2_CFLAGS" >&5
11781 $as_echo "$as_me:${as_lineno-$LINENO}: libgphoto2 libs: $GPHOTO2_LIBS" >&5
11782 ac_save_CPPFLAGS
=$CPPFLAGS
11783 CPPFLAGS
="$CPPFLAGS $GPHOTO2_CFLAGS"
11784 ac_fn_c_check_header_mongrel
"$LINENO" "gphoto2-camera.h" "ac_cv_header_gphoto2_camera_h" "$ac_includes_default"
11785 if test "x$ac_cv_header_gphoto2_camera_h" = xyes
; then :
11786 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gp_camera_new in -lgphoto2" >&5
11787 $as_echo_n "checking for gp_camera_new in -lgphoto2... " >&6; }
11788 if ${ac_cv_lib_gphoto2_gp_camera_new+:} false
; then :
11789 $as_echo_n "(cached) " >&6
11791 ac_check_lib_save_LIBS
=$LIBS
11792 LIBS
="-lgphoto2 $GPHOTO2_LIBS $LIBS"
11793 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11794 /* end confdefs.h. */
11796 /* Override any GCC internal prototype to avoid an error.
11797 Use char because int might match the return type of a GCC
11798 builtin and then its argument prototype would still apply. */
11802 char gp_camera_new ();
11806 return gp_camera_new ();
11811 if ac_fn_c_try_link
"$LINENO"; then :
11812 ac_cv_lib_gphoto2_gp_camera_new
=yes
11814 ac_cv_lib_gphoto2_gp_camera_new
=no
11816 rm -f core conftest.err conftest.
$ac_objext \
11817 conftest
$ac_exeext conftest.
$ac_ext
11818 LIBS
=$ac_check_lib_save_LIBS
11820 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gphoto2_gp_camera_new" >&5
11821 $as_echo "$ac_cv_lib_gphoto2_gp_camera_new" >&6; }
11822 if test "x$ac_cv_lib_gphoto2_gp_camera_new" = xyes
; then :
11824 $as_echo "#define HAVE_GPHOTO2 1" >>confdefs.h
11827 GPHOTO2_LIBS
=""; GPHOTO2_CFLAGS
=""
11831 GPHOTO2_LIBS
=""; GPHOTO2_CFLAGS
=""
11835 CPPFLAGS
=$ac_save_CPPFLAGS
11836 test -z "$GPHOTO2_CFLAGS" || GPHOTO2_CFLAGS
=`echo " $GPHOTO2_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
11837 test -z "$GPHOTO2_LIBS" || GPHOTO2_LIBS
=`echo " $GPHOTO2_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
11839 if ${GPHOTO2_PORT_CFLAGS:+false} :; then :
11840 if ${PKG_CONFIG+:} false
; then :
11841 GPHOTO2_PORT_CFLAGS
=`$PKG_CONFIG --cflags libgphoto2_port 2>/dev/null`
11844 test "$cross_compiling" = yes || GPHOTO2_PORT_CFLAGS
=${GPHOTO2_PORT_CFLAGS:-`gphoto2-port-config --cflags 2>/dev/null`}
11845 if ${GPHOTO2_PORT_LIBS:+false} :; then :
11846 if ${PKG_CONFIG+:} false
; then :
11847 GPHOTO2_PORT_LIBS
=`$PKG_CONFIG --libs libgphoto2_port 2>/dev/null`
11850 test "$cross_compiling" = yes || GPHOTO2_PORT_LIBS
=${GPHOTO2_PORT_LIBS:-`gphoto2-port-config --libs 2>/dev/null`}
11851 GPHOTO2_PORT_LIBS
=${GPHOTO2_PORT_LIBS:-"-lgphoto2_port"}
11852 $as_echo "$as_me:${as_lineno-$LINENO}: libgphoto2_port cflags: $GPHOTO2_PORT_CFLAGS" >&5
11853 $as_echo "$as_me:${as_lineno-$LINENO}: libgphoto2_port libs: $GPHOTO2_PORT_LIBS" >&5
11854 ac_save_CPPFLAGS
=$CPPFLAGS
11855 CPPFLAGS
="$CPPFLAGS $GPHOTO2_PORT_CFLAGS"
11856 ac_fn_c_check_header_mongrel
"$LINENO" "gphoto2-port.h" "ac_cv_header_gphoto2_port_h" "$ac_includes_default"
11857 if test "x$ac_cv_header_gphoto2_port_h" = xyes
; then :
11858 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gp_port_info_list_new in -lgphoto2_port" >&5
11859 $as_echo_n "checking for gp_port_info_list_new in -lgphoto2_port... " >&6; }
11860 if ${ac_cv_lib_gphoto2_port_gp_port_info_list_new+:} false
; then :
11861 $as_echo_n "(cached) " >&6
11863 ac_check_lib_save_LIBS
=$LIBS
11864 LIBS
="-lgphoto2_port $GPHOTO2_PORT_LIBS $LIBS"
11865 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11866 /* end confdefs.h. */
11868 /* Override any GCC internal prototype to avoid an error.
11869 Use char because int might match the return type of a GCC
11870 builtin and then its argument prototype would still apply. */
11874 char gp_port_info_list_new ();
11878 return gp_port_info_list_new ();
11883 if ac_fn_c_try_link
"$LINENO"; then :
11884 ac_cv_lib_gphoto2_port_gp_port_info_list_new
=yes
11886 ac_cv_lib_gphoto2_port_gp_port_info_list_new
=no
11888 rm -f core conftest.err conftest.
$ac_objext \
11889 conftest
$ac_exeext conftest.
$ac_ext
11890 LIBS
=$ac_check_lib_save_LIBS
11892 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gphoto2_port_gp_port_info_list_new" >&5
11893 $as_echo "$ac_cv_lib_gphoto2_port_gp_port_info_list_new" >&6; }
11894 if test "x$ac_cv_lib_gphoto2_port_gp_port_info_list_new" = xyes
; then :
11896 $as_echo "#define HAVE_GPHOTO2_PORT 1" >>confdefs.h
11899 GPHOTO2_PORT_LIBS
=""; GPHOTO2_PORT_CFLAGS
=""
11903 GPHOTO2_PORT_LIBS
=""; GPHOTO2_PORT_CFLAGS
=""
11907 CPPFLAGS
=$ac_save_CPPFLAGS
11908 test -z "$GPHOTO2_PORT_CFLAGS" || GPHOTO2_PORT_CFLAGS
=`echo " $GPHOTO2_PORT_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
11909 test -z "$GPHOTO2_PORT_LIBS" || GPHOTO2_PORT_LIBS
=`echo " $GPHOTO2_PORT_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
11912 if test "$ac_cv_lib_gphoto2_gp_camera_new" != "yes"; then :
11913 case "x$with_gphoto" in
11914 x
) as_fn_append wine_notices
"|libgphoto2 ${notice_platform}development files not found, digital cameras won't be supported." ;;
11916 *) as_fn_error $?
"libgphoto2 ${notice_platform}development files not found, digital cameras won't be supported.
11917 This is an error since --with-gphoto was requested." "$LINENO" 5 ;;
11920 if test "$ac_cv_lib_gphoto2_port_gp_port_info_list_new" != "yes"; then :
11921 case "x$with_gphoto" in
11922 x
) as_fn_append wine_notices
"|libgphoto2_port ${notice_platform}development files not found, digital cameras won't be auto-detected." ;;
11924 *) as_fn_error $?
"libgphoto2_port ${notice_platform}development files not found, digital cameras won't be auto-detected.
11925 This is an error since --with-gphoto was requested." "$LINENO" 5 ;;
11930 if test "$ac_cv_header_resolv_h" = "yes"
11932 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for resolver library" >&5
11933 $as_echo_n "checking for resolver library... " >&6; }
11934 if ${ac_cv_have_resolv+:} false
; then :
11935 $as_echo_n "(cached) " >&6
11937 ac_save_LIBS
="$LIBS"
11938 for lib
in '' -lresolv
11940 LIBS
="$lib $ac_save_LIBS"
11941 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11942 /* end confdefs.h. */
11943 #ifdef HAVE_NETINET_IN_H
11944 #include <netinet/in.h>
11946 #include <resolv.h>
11950 if (!(_res.options & RES_INIT)) res_init(); res_query("foo",ns_c_in,0,0,0)
11955 if ac_fn_c_try_link
"$LINENO"; then :
11956 ac_cv_have_resolv
=${lib:-"none required"}
11958 ac_cv_have_resolv
="not found"
11960 rm -f core conftest.err conftest.
$ac_objext \
11961 conftest
$ac_exeext conftest.
$ac_ext
11962 test "x$ac_cv_have_resolv" = "xnot found" ||
break
11964 LIBS
="$ac_save_LIBS"
11966 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_resolv" >&5
11967 $as_echo "$ac_cv_have_resolv" >&6; }
11969 case "$ac_cv_have_resolv" in
11973 $as_echo "#define HAVE_RESOLV 1" >>confdefs.h
11976 $as_echo "#define HAVE_RESOLV 1" >>confdefs.h
11978 RESOLV_LIBS
=$ac_cv_have_resolv
11983 if test "x$with_cms" != "xno"
11985 if ${LCMS2_CFLAGS:+false} :; then :
11986 if ${PKG_CONFIG+:} false
; then :
11987 LCMS2_CFLAGS
=`$PKG_CONFIG --cflags lcms2 2>/dev/null`
11991 if ${LCMS2_LIBS:+false} :; then :
11992 if ${PKG_CONFIG+:} false
; then :
11993 LCMS2_LIBS
=`$PKG_CONFIG --libs lcms2 2>/dev/null`
11997 LCMS2_LIBS
=${LCMS2_LIBS:-"-llcms2"}
11998 $as_echo "$as_me:${as_lineno-$LINENO}: lcms2 cflags: $LCMS2_CFLAGS" >&5
11999 $as_echo "$as_me:${as_lineno-$LINENO}: lcms2 libs: $LCMS2_LIBS" >&5
12000 ac_save_CPPFLAGS
=$CPPFLAGS
12001 CPPFLAGS
="$CPPFLAGS $LCMS2_CFLAGS"
12002 for ac_header
in lcms2.h
12004 ac_fn_c_check_header_mongrel
"$LINENO" "lcms2.h" "ac_cv_header_lcms2_h" "$ac_includes_default"
12005 if test "x$ac_cv_header_lcms2_h" = xyes
; then :
12006 cat >>confdefs.h
<<_ACEOF
12007 #define HAVE_LCMS2_H 1
12014 if test "$ac_cv_header_lcms2_h" = "yes"
12016 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cmsOpenProfileFromFile in -llcms2" >&5
12017 $as_echo_n "checking for cmsOpenProfileFromFile in -llcms2... " >&6; }
12018 if ${ac_cv_lib_lcms2_cmsOpenProfileFromFile+:} false
; then :
12019 $as_echo_n "(cached) " >&6
12021 ac_check_lib_save_LIBS
=$LIBS
12022 LIBS
="-llcms2 $LCMS2_LIBS $LIBS"
12023 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12024 /* end confdefs.h. */
12026 /* Override any GCC internal prototype to avoid an error.
12027 Use char because int might match the return type of a GCC
12028 builtin and then its argument prototype would still apply. */
12032 char cmsOpenProfileFromFile ();
12036 return cmsOpenProfileFromFile ();
12041 if ac_fn_c_try_link
"$LINENO"; then :
12042 ac_cv_lib_lcms2_cmsOpenProfileFromFile
=yes
12044 ac_cv_lib_lcms2_cmsOpenProfileFromFile
=no
12046 rm -f core conftest.err conftest.
$ac_objext \
12047 conftest
$ac_exeext conftest.
$ac_ext
12048 LIBS
=$ac_check_lib_save_LIBS
12050 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_lcms2_cmsOpenProfileFromFile" >&5
12051 $as_echo "$ac_cv_lib_lcms2_cmsOpenProfileFromFile" >&6; }
12052 if test "x$ac_cv_lib_lcms2_cmsOpenProfileFromFile" = xyes
; then :
12054 $as_echo "#define HAVE_LCMS2 1" >>confdefs.h
12064 CPPFLAGS
=$ac_save_CPPFLAGS
12065 test -z "$LCMS2_CFLAGS" || LCMS2_CFLAGS
=`echo " $LCMS2_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
12066 test -z "$LCMS2_LIBS" || LCMS2_LIBS
=`echo " $LCMS2_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
12069 if test "$ac_cv_lib_lcms2_cmsOpenProfileFromFile" != "yes"; then :
12070 case "x$with_cms" in
12071 x
) as_fn_append wine_notices
"|liblcms2 ${notice_platform}development files not found, Color Management won't be supported." ;;
12073 *) as_fn_error $?
"liblcms2 ${notice_platform}development files not found, Color Management won't be supported.
12074 This is an error since --with-cms was requested." "$LINENO" 5 ;;
12078 if test "x$with_freetype" != "xno"
12080 if ${FREETYPE_CFLAGS:+false} :; then :
12081 if ${PKG_CONFIG+:} false
; then :
12082 FREETYPE_CFLAGS
=`$PKG_CONFIG --cflags freetype2 2>/dev/null`
12085 test "$cross_compiling" = yes || FREETYPE_CFLAGS
=${FREETYPE_CFLAGS:-`(freetype-config --cflags || freetype2-config --cflags) 2>/dev/null`}
12086 if ${FREETYPE_LIBS:+false} :; then :
12087 if ${PKG_CONFIG+:} false
; then :
12088 FREETYPE_LIBS
=`$PKG_CONFIG --libs freetype2 2>/dev/null`
12091 test "$cross_compiling" = yes || FREETYPE_LIBS
=${FREETYPE_LIBS:-`(freetype-config --libs || freetype2-config --libs) 2>/dev/null`}
12092 FREETYPE_LIBS
=${FREETYPE_LIBS:-"-lfreetype"}
12093 $as_echo "$as_me:${as_lineno-$LINENO}: freetype2 cflags: $FREETYPE_CFLAGS" >&5
12094 $as_echo "$as_me:${as_lineno-$LINENO}: freetype2 libs: $FREETYPE_LIBS" >&5
12095 ac_save_CPPFLAGS
=$CPPFLAGS
12096 CPPFLAGS
="$CPPFLAGS $FREETYPE_CFLAGS"
12097 for ac_header
in ft2build.h
12099 ac_fn_c_check_header_mongrel
"$LINENO" "ft2build.h" "ac_cv_header_ft2build_h" "$ac_includes_default"
12100 if test "x$ac_cv_header_ft2build_h" = xyes
; then :
12101 cat >>confdefs.h
<<_ACEOF
12102 #define HAVE_FT2BUILD_H 1
12109 if test "$ac_cv_header_ft2build_h" = "yes"
12111 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lfreetype" >&5
12112 $as_echo_n "checking for -lfreetype... " >&6; }
12113 if ${ac_cv_lib_soname_freetype+:} false
; then :
12114 $as_echo_n "(cached) " >&6
12116 ac_check_soname_save_LIBS
=$LIBS
12117 LIBS
="-lfreetype $FREETYPE_LIBS $LIBS"
12118 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12119 /* end confdefs.h. */
12121 /* Override any GCC internal prototype to avoid an error.
12122 Use char because int might match the return type of a GCC
12123 builtin and then its argument prototype would still apply. */
12127 char FT_Init_FreeType ();
12131 return FT_Init_FreeType ();
12136 if ac_fn_c_try_link
"$LINENO"; then :
12138 dll
) ac_cv_lib_soname_freetype
=`$ac_cv_path_LDD conftest.exe | grep "freetype" | sed -e "s/dll.*/dll/"';2,$d'` ;;
12139 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'` ;;
12140 *) ac_cv_lib_soname_freetype
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libfreetype\\.$LIBEXT" | sed -e "s/^.*\\[\\(libfreetype\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
12141 if ${ac_cv_lib_soname_freetype:+false} :; then :
12142 ac_cv_lib_soname_freetype
=`$LDD conftest$ac_exeext | grep "libfreetype\\.$LIBEXT" | sed -e "s/^.*\(libfreetype\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
12146 rm -f core conftest.err conftest.
$ac_objext \
12147 conftest
$ac_exeext conftest.
$ac_ext
12148 LIBS
=$ac_check_soname_save_LIBS
12150 if ${ac_cv_lib_soname_freetype:+false} :; then :
12151 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
12152 $as_echo "not found" >&6; }
12155 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_freetype" >&5
12156 $as_echo "$ac_cv_lib_soname_freetype" >&6; }
12158 cat >>confdefs.h
<<_ACEOF
12159 #define SONAME_LIBFREETYPE "$ac_cv_lib_soname_freetype"
12163 $as_echo "#define HAVE_FREETYPE 1" >>confdefs.h
12165 ac_fn_c_check_type
"$LINENO" "FT_TrueTypeEngineType" "ac_cv_type_FT_TrueTypeEngineType" "#include <ft2build.h>
12166 #include FT_MODULE_H
12168 if test "x$ac_cv_type_FT_TrueTypeEngineType" = xyes
; then :
12170 cat >>confdefs.h
<<_ACEOF
12171 #define HAVE_FT_TRUETYPEENGINETYPE 1
12182 CPPFLAGS
=$ac_save_CPPFLAGS
12183 test -z "$FREETYPE_CFLAGS" || FREETYPE_CFLAGS
=`echo " $FREETYPE_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
12184 test -z "$FREETYPE_LIBS" || FREETYPE_LIBS
=`echo " $FREETYPE_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
12187 if test "x$ac_cv_lib_soname_freetype" = x
; then :
12188 case "x$with_freetype" in
12190 *) as_fn_error $?
"FreeType ${notice_platform}development files not found. Fonts will not be built.
12191 Use the --without-freetype option if you really want this." "$LINENO" 5 ;;
12194 test "x$ac_cv_lib_soname_freetype" = x
&& enable_fonts
=${enable_fonts:-no}
12196 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for parport header/ppdev.h" >&5
12197 $as_echo_n "checking for parport header/ppdev.h... " >&6; }
12198 if ${ac_cv_c_ppdev+:} false
; then :
12199 $as_echo_n "(cached) " >&6
12201 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12202 /* end confdefs.h. */
12203 #ifdef HAVE_SYS_IOCTL_H
12204 # include <sys/ioctl.h>
12206 #include <linux/ppdev.h>
12210 ioctl (1,PPCLAIM,0)
12215 if ac_fn_c_try_compile
"$LINENO"; then :
12216 ac_cv_c_ppdev
="yes"
12220 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
12222 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_ppdev" >&5
12223 $as_echo "$ac_cv_c_ppdev" >&6; }
12224 if test "$ac_cv_c_ppdev" = "yes"
12227 $as_echo "#define HAVE_PPDEV 1" >>confdefs.h
12231 ac_wine_check_funcs_save_LIBS
="$LIBS"
12232 LIBS
="$LIBS $PTHREAD_LIBS"
12234 pthread_attr_get_np \
12235 pthread_getattr_np \
12236 pthread_getthreadid_np \
12237 pthread_get_stackaddr_np \
12238 pthread_get_stacksize_np
12240 as_ac_var
=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
12241 ac_fn_c_check_func
"$LINENO" "$ac_func" "$as_ac_var"
12242 if eval test \"x\$
"$as_ac_var"\" = x
"yes"; then :
12243 cat >>confdefs.h
<<_ACEOF
12244 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
12250 LIBS
="$ac_wine_check_funcs_save_LIBS"
12252 if test "$ac_cv_header_zlib_h" = "yes"
12254 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for inflate in -lz" >&5
12255 $as_echo_n "checking for inflate in -lz... " >&6; }
12256 if ${ac_cv_lib_z_inflate+:} false
; then :
12257 $as_echo_n "(cached) " >&6
12259 ac_check_lib_save_LIBS
=$LIBS
12261 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12262 /* end confdefs.h. */
12264 /* Override any GCC internal prototype to avoid an error.
12265 Use char because int might match the return type of a GCC
12266 builtin and then its argument prototype would still apply. */
12279 if ac_fn_c_try_link
"$LINENO"; then :
12280 ac_cv_lib_z_inflate
=yes
12282 ac_cv_lib_z_inflate
=no
12284 rm -f core conftest.err conftest.
$ac_objext \
12285 conftest
$ac_exeext conftest.
$ac_ext
12286 LIBS
=$ac_check_lib_save_LIBS
12288 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_z_inflate" >&5
12289 $as_echo "$ac_cv_lib_z_inflate" >&6; }
12290 if test "x$ac_cv_lib_z_inflate" = xyes
; then :
12292 $as_echo "#define HAVE_ZLIB 1" >>confdefs.h
12299 if test "x$Z_LIBS" = "x"; then :
12300 case "x$with_zlib" in
12301 x
) as_fn_append wine_notices
"|libz ${notice_platform}development files not found, data compression won't be supported." ;;
12303 *) as_fn_error $?
"libz ${notice_platform}development files not found, data compression won't be supported.
12304 This is an error since --with-zlib was requested." "$LINENO" 5 ;;
12308 if test "x$enable_tools" != xno
12310 if test "$ac_cv_header_gettext_po_h" = "yes"
12312 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for po_message_msgctxt in -lgettextpo" >&5
12313 $as_echo_n "checking for po_message_msgctxt in -lgettextpo... " >&6; }
12314 if ${ac_cv_lib_gettextpo_po_message_msgctxt+:} false
; then :
12315 $as_echo_n "(cached) " >&6
12317 ac_check_lib_save_LIBS
=$LIBS
12318 LIBS
="-lgettextpo $LIBS"
12319 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12320 /* end confdefs.h. */
12322 /* Override any GCC internal prototype to avoid an error.
12323 Use char because int might match the return type of a GCC
12324 builtin and then its argument prototype would still apply. */
12328 char po_message_msgctxt ();
12332 return po_message_msgctxt ();
12337 if ac_fn_c_try_link
"$LINENO"; then :
12338 ac_cv_lib_gettextpo_po_message_msgctxt
=yes
12340 ac_cv_lib_gettextpo_po_message_msgctxt
=no
12342 rm -f core conftest.err conftest.
$ac_objext \
12343 conftest
$ac_exeext conftest.
$ac_ext
12344 LIBS
=$ac_check_lib_save_LIBS
12346 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gettextpo_po_message_msgctxt" >&5
12347 $as_echo "$ac_cv_lib_gettextpo_po_message_msgctxt" >&6; }
12348 if test "x$ac_cv_lib_gettextpo_po_message_msgctxt" = xyes
; then :
12350 $as_echo "#define HAVE_LIBGETTEXTPO 1" >>confdefs.h
12352 GETTEXTPO_LIBS
="-lgettextpo"
12357 test "x$with_gettextpo" != xyes ||
if test "x$GETTEXTPO_LIBS" = "x"; then :
12358 case "x$with_gettextpo" in
12359 x
) as_fn_append wine_notices
"|GetText ${notice_platform}development files not found (or too old), po files can't be rebuilt." ;;
12361 *) as_fn_error $?
"GetText ${notice_platform}development files not found (or too old), po files can't be rebuilt.
12362 This is an error since --with-gettextpo was requested." "$LINENO" 5 ;;
12367 if test "x$with_gstreamer" != "xno"
12369 if ${GSTREAMER_CFLAGS:+false} :; then :
12370 if ${PKG_CONFIG+:} false
; then :
12371 GSTREAMER_CFLAGS
=`$PKG_CONFIG --cflags gstreamer-app-0.10 2>/dev/null`
12375 if ${GSTREAMER_LIBS:+false} :; then :
12376 if ${PKG_CONFIG+:} false
; then :
12377 GSTREAMER_LIBS
=`$PKG_CONFIG --libs gstreamer-app-0.10 2>/dev/null`
12382 $as_echo "$as_me:${as_lineno-$LINENO}: gstreamer-app-0.10 cflags: $GSTREAMER_CFLAGS" >&5
12383 $as_echo "$as_me:${as_lineno-$LINENO}: gstreamer-app-0.10 libs: $GSTREAMER_LIBS" >&5
12384 ac_save_CPPFLAGS
=$CPPFLAGS
12385 CPPFLAGS
="$CPPFLAGS $GSTREAMER_CFLAGS"
12387 for i
in $GSTREAMER_CFLAGS
12390 -I*) ac_gst_incl
="$ac_gst_incl $i";;
12393 GSTREAMER_CFLAGS
=$ac_gst_incl
12394 CPPFLAGS
="$ac_save_CPPFLAGS $GSTREAMER_CFLAGS"
12395 ac_fn_c_check_header_mongrel
"$LINENO" "gst/gstpad.h" "ac_cv_header_gst_gstpad_h" "$ac_includes_default"
12396 if test "x$ac_cv_header_gst_gstpad_h" = xyes
; then :
12397 ac_fn_c_check_header_mongrel
"$LINENO" "gst/app/gstappsink.h" "ac_cv_header_gst_app_gstappsink_h" "$ac_includes_default"
12398 if test "x$ac_cv_header_gst_app_gstappsink_h" = xyes
; then :
12399 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether gint64 defined by gst/app/gstappsink.h is indeed 64-bit" >&5
12400 $as_echo_n "checking whether gint64 defined by gst/app/gstappsink.h is indeed 64-bit... " >&6; }
12401 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12402 /* end confdefs.h. */
12403 #include <gst/app/gstappsink.h>
12407 static int a[sizeof(gint64) > 4 ? 1 : -1]; if (a[0]) return 0;
12412 if ac_fn_c_try_compile
"$LINENO"; then :
12413 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
12414 $as_echo "yes" >&6; }
12415 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gst_pad_get_caps_reffed in -lgstreamer-0.10" >&5
12416 $as_echo_n "checking for gst_pad_get_caps_reffed in -lgstreamer-0.10... " >&6; }
12417 if ${ac_cv_lib_gstreamer_0_10_gst_pad_get_caps_reffed+:} false
; then :
12418 $as_echo_n "(cached) " >&6
12420 ac_check_lib_save_LIBS
=$LIBS
12421 LIBS
="-lgstreamer-0.10 $LIBS"
12422 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12423 /* end confdefs.h. */
12425 /* Override any GCC internal prototype to avoid an error.
12426 Use char because int might match the return type of a GCC
12427 builtin and then its argument prototype would still apply. */
12431 char gst_pad_get_caps_reffed ();
12435 return gst_pad_get_caps_reffed ();
12440 if ac_fn_c_try_link
"$LINENO"; then :
12441 ac_cv_lib_gstreamer_0_10_gst_pad_get_caps_reffed
=yes
12443 ac_cv_lib_gstreamer_0_10_gst_pad_get_caps_reffed
=no
12445 rm -f core conftest.err conftest.
$ac_objext \
12446 conftest
$ac_exeext conftest.
$ac_ext
12447 LIBS
=$ac_check_lib_save_LIBS
12449 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gstreamer_0_10_gst_pad_get_caps_reffed" >&5
12450 $as_echo "$ac_cv_lib_gstreamer_0_10_gst_pad_get_caps_reffed" >&6; }
12451 if test "x$ac_cv_lib_gstreamer_0_10_gst_pad_get_caps_reffed" = xyes
; then :
12452 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gst_app_buffer_new in -lgstapp-0.10" >&5
12453 $as_echo_n "checking for gst_app_buffer_new in -lgstapp-0.10... " >&6; }
12454 if ${ac_cv_lib_gstapp_0_10_gst_app_buffer_new+:} false
; then :
12455 $as_echo_n "(cached) " >&6
12457 ac_check_lib_save_LIBS
=$LIBS
12458 LIBS
="-lgstapp-0.10 $GSTREAMER_LIBS $LIBS"
12459 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12460 /* end confdefs.h. */
12462 /* Override any GCC internal prototype to avoid an error.
12463 Use char because int might match the return type of a GCC
12464 builtin and then its argument prototype would still apply. */
12468 char gst_app_buffer_new ();
12472 return gst_app_buffer_new ();
12477 if ac_fn_c_try_link
"$LINENO"; then :
12478 ac_cv_lib_gstapp_0_10_gst_app_buffer_new
=yes
12480 ac_cv_lib_gstapp_0_10_gst_app_buffer_new
=no
12482 rm -f core conftest.err conftest.
$ac_objext \
12483 conftest
$ac_exeext conftest.
$ac_ext
12484 LIBS
=$ac_check_lib_save_LIBS
12486 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gstapp_0_10_gst_app_buffer_new" >&5
12487 $as_echo "$ac_cv_lib_gstapp_0_10_gst_app_buffer_new" >&6; }
12488 if test "x$ac_cv_lib_gstapp_0_10_gst_app_buffer_new" = xyes
; then :
12495 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12496 $as_echo "no" >&6; }
12498 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
12503 GSTREAMER_CFLAGS
=""
12507 CPPFLAGS
=$ac_save_CPPFLAGS
12508 test -z "$GSTREAMER_CFLAGS" || GSTREAMER_CFLAGS
=`echo " $GSTREAMER_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
12509 test -z "$GSTREAMER_LIBS" || GSTREAMER_LIBS
=`echo " $GSTREAMER_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
12512 if test "x$ac_cv_lib_gstapp_0_10_gst_app_buffer_new" != xyes
-a "x$ac_cv_header_QuickTime_ImageCompression_h" != xyes
; then :
12513 case "x$with_gstreamer" in
12514 x
) as_fn_append wine_notices
"|gstreamer-0.10 base plugins ${notice_platform}development files not found, gstreamer support disabled" ;;
12516 *) as_fn_error $?
"gstreamer-0.10 base plugins ${notice_platform}development files not found, gstreamer support disabled
12517 This is an error since --with-gstreamer was requested." "$LINENO" 5 ;;
12520 test "x$ac_cv_lib_gstapp_0_10_gst_app_buffer_new" = xyes || enable_winegstreamer
=${enable_winegstreamer:-no}
12524 if test "$ac_cv_header_sys_asoundlib_h" = "yes" -o "$ac_cv_header_alsa_asoundlib_h" = "yes"
12526 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for snd_pcm_hw_params_get_access_mask in -lasound" >&5
12527 $as_echo_n "checking for snd_pcm_hw_params_get_access_mask in -lasound... " >&6; }
12528 if ${ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask+:} false
; then :
12529 $as_echo_n "(cached) " >&6
12531 ac_check_lib_save_LIBS
=$LIBS
12532 LIBS
="-lasound $LIBS"
12533 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12534 /* end confdefs.h. */
12536 /* Override any GCC internal prototype to avoid an error.
12537 Use char because int might match the return type of a GCC
12538 builtin and then its argument prototype would still apply. */
12542 char snd_pcm_hw_params_get_access_mask ();
12546 return snd_pcm_hw_params_get_access_mask ();
12551 if ac_fn_c_try_link
"$LINENO"; then :
12552 ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask
=yes
12554 ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask
=no
12556 rm -f core conftest.err conftest.
$ac_objext \
12557 conftest
$ac_exeext conftest.
$ac_ext
12558 LIBS
=$ac_check_lib_save_LIBS
12560 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask" >&5
12561 $as_echo "$ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask" >&6; }
12562 if test "x$ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask" = xyes
; then :
12563 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12564 /* end confdefs.h. */
12565 #ifdef HAVE_ALSA_ASOUNDLIB_H
12566 #include <alsa/asoundlib.h>
12567 #elif defined(HAVE_SYS_ASOUNDLIB_H)
12568 #include <sys/asoundlib.h>
12573 snd_pcm_hw_params_get_access_mask(NULL, NULL)
12578 if ac_fn_c_try_compile
"$LINENO"; then :
12579 ALSA_LIBS
="-lasound"
12581 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
12586 if test "x$with_oss" != xno
12588 ac_save_CPPFLAGS
="$CPPFLAGS"
12589 if test -f /etc
/oss.conf
12593 ac_oss_incl
="-I${OSSLIBDIR:-/usr/lib/oss}/include"
12594 CPPFLAGS
="$CPPFLAGS $ac_oss_incl"
12595 ac_fn_c_check_header_mongrel
"$LINENO" "sys/soundcard.h" "ac_cv_header_sys_soundcard_h" "$ac_includes_default"
12596 if test "x$ac_cv_header_sys_soundcard_h" = xyes
; then :
12597 ac_fn_c_check_member
"$LINENO" "oss_sysinfo" "numaudioengines" "ac_cv_member_oss_sysinfo_numaudioengines" "#include <sys/soundcard.h>
12599 if test "x$ac_cv_member_oss_sysinfo_numaudioengines" = xyes
; then :
12601 cat >>confdefs.h
<<_ACEOF
12602 #define HAVE_OSS_SYSINFO_NUMAUDIOENGINES 1
12605 OSS4_CFLAGS
="$ac_oss_incl"
12612 CPPFLAGS
="$ac_save_CPPFLAGS"
12613 if test "x$ac_cv_member_oss_sysinfo_numaudioengines" != xyes
12615 as_fn_append wine_notices
"|OSS sound system found but too old (OSSv4 needed), OSS won't be supported."
12619 if test "x$with_capi" != "xno"
12621 if ${CAPI20_CFLAGS:+false} :; then :
12622 if ${PKG_CONFIG+:} false
; then :
12623 CAPI20_CFLAGS
=`$PKG_CONFIG --cflags capi20 2>/dev/null`
12627 if ${CAPI20_LIBS:+false} :; then :
12628 if ${PKG_CONFIG+:} false
; then :
12629 CAPI20_LIBS
=`$PKG_CONFIG --libs capi20 2>/dev/null`
12634 $as_echo "$as_me:${as_lineno-$LINENO}: capi20 cflags: $CAPI20_CFLAGS" >&5
12635 $as_echo "$as_me:${as_lineno-$LINENO}: capi20 libs: $CAPI20_LIBS" >&5
12636 ac_save_CPPFLAGS
=$CPPFLAGS
12637 CPPFLAGS
="$CPPFLAGS $CAPI20_CFLAGS"
12638 for ac_header
in capi20.h linux
/capi.h
12640 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
12641 ac_fn_c_check_header_compile
"$LINENO" "$ac_header" "$as_ac_Header" "#define __user
12643 if eval test \"x\$
"$as_ac_Header"\" = x
"yes"; then :
12644 cat >>confdefs.h
<<_ACEOF
12645 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
12652 if test "$ac_cv_header_capi20_h" = "yes" -a "$ac_cv_header_linux_capi_h" = "yes"
12654 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lcapi20" >&5
12655 $as_echo_n "checking for -lcapi20... " >&6; }
12656 if ${ac_cv_lib_soname_capi20+:} false
; then :
12657 $as_echo_n "(cached) " >&6
12659 ac_check_soname_save_LIBS
=$LIBS
12660 LIBS
="-lcapi20 $CAPI20_LIBS $LIBS"
12661 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12662 /* end confdefs.h. */
12664 /* Override any GCC internal prototype to avoid an error.
12665 Use char because int might match the return type of a GCC
12666 builtin and then its argument prototype would still apply. */
12670 char capi20_register ();
12674 return capi20_register ();
12679 if ac_fn_c_try_link
"$LINENO"; then :
12681 dll
) ac_cv_lib_soname_capi20
=`$ac_cv_path_LDD conftest.exe | grep "capi20" | sed -e "s/dll.*/dll/"';2,$d'` ;;
12682 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'` ;;
12683 *) ac_cv_lib_soname_capi20
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libcapi20\\.$LIBEXT" | sed -e "s/^.*\\[\\(libcapi20\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
12684 if ${ac_cv_lib_soname_capi20:+false} :; then :
12685 ac_cv_lib_soname_capi20
=`$LDD conftest$ac_exeext | grep "libcapi20\\.$LIBEXT" | sed -e "s/^.*\(libcapi20\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
12689 rm -f core conftest.err conftest.
$ac_objext \
12690 conftest
$ac_exeext conftest.
$ac_ext
12691 LIBS
=$ac_check_soname_save_LIBS
12693 if ${ac_cv_lib_soname_capi20:+false} :; then :
12694 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
12695 $as_echo "not found" >&6; }
12698 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_capi20" >&5
12699 $as_echo "$ac_cv_lib_soname_capi20" >&6; }
12701 cat >>confdefs.h
<<_ACEOF
12702 #define SONAME_LIBCAPI20 "$ac_cv_lib_soname_capi20"
12708 CPPFLAGS
=$ac_save_CPPFLAGS
12709 test -z "$CAPI20_CFLAGS" || CAPI20_CFLAGS
=`echo " $CAPI20_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
12710 test -z "$CAPI20_LIBS" || CAPI20_LIBS
=`echo " $CAPI20_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
12713 if test "x$ac_cv_lib_soname_capi20" = "x"; then :
12714 case "x$with_capi" in
12715 x
) as_fn_append wine_notices
"|libcapi20 ${notice_platform}development files not found, ISDN won't be supported." ;;
12717 *) as_fn_error $?
"libcapi20 ${notice_platform}development files not found, ISDN won't be supported.
12718 This is an error since --with-capi was requested." "$LINENO" 5 ;;
12724 if test "x$with_cups" != "xno"
12726 ac_save_CPPFLAGS
="$CPPFLAGS"
12727 ac_cups_cflags
=`cups-config --cflags 2>/dev/null`
12728 ac_cups_libs
=`cups-config --ldflags 2>/dev/null`
12729 CPPFLAGS
="$CPPFLAGS $ac_cups_cflags"
12730 for ac_header
in cups
/cups.h
12732 ac_fn_c_check_header_mongrel
"$LINENO" "cups/cups.h" "ac_cv_header_cups_cups_h" "$ac_includes_default"
12733 if test "x$ac_cv_header_cups_cups_h" = xyes
; then :
12734 cat >>confdefs.h
<<_ACEOF
12735 #define HAVE_CUPS_CUPS_H 1
12737 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lcups" >&5
12738 $as_echo_n "checking for -lcups... " >&6; }
12739 if ${ac_cv_lib_soname_cups+:} false
; then :
12740 $as_echo_n "(cached) " >&6
12742 ac_check_soname_save_LIBS
=$LIBS
12743 LIBS
="-lcups $ac_cups_libs $LIBS"
12744 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12745 /* end confdefs.h. */
12747 /* Override any GCC internal prototype to avoid an error.
12748 Use char because int might match the return type of a GCC
12749 builtin and then its argument prototype would still apply. */
12753 char cupsGetDefault ();
12757 return cupsGetDefault ();
12762 if ac_fn_c_try_link
"$LINENO"; then :
12764 dll
) ac_cv_lib_soname_cups
=`$ac_cv_path_LDD conftest.exe | grep "cups" | sed -e "s/dll.*/dll/"';2,$d'` ;;
12765 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'` ;;
12766 *) ac_cv_lib_soname_cups
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libcups\\.$LIBEXT" | sed -e "s/^.*\\[\\(libcups\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
12767 if ${ac_cv_lib_soname_cups:+false} :; then :
12768 ac_cv_lib_soname_cups
=`$LDD conftest$ac_exeext | grep "libcups\\.$LIBEXT" | sed -e "s/^.*\(libcups\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
12772 rm -f core conftest.err conftest.
$ac_objext \
12773 conftest
$ac_exeext conftest.
$ac_ext
12774 LIBS
=$ac_check_soname_save_LIBS
12776 if ${ac_cv_lib_soname_cups:+false} :; then :
12777 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
12778 $as_echo "not found" >&6; }
12781 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_cups" >&5
12782 $as_echo "$ac_cv_lib_soname_cups" >&6; }
12784 cat >>confdefs.h
<<_ACEOF
12785 #define SONAME_LIBCUPS "$ac_cv_lib_soname_cups"
12788 CUPS_CFLAGS
="$ac_cups_cflags"
12794 CPPFLAGS
="$ac_save_CPPFLAGS"
12796 if test "x$ac_cv_lib_soname_cups" = "x"; then :
12797 case "x$with_cups" in
12798 x
) as_fn_append wine_notices
"|libcups ${notice_platform}development files not found, CUPS won't be supported." ;;
12800 *) as_fn_error $?
"libcups ${notice_platform}development files not found, CUPS won't be supported.
12801 This is an error since --with-cups was requested." "$LINENO" 5 ;;
12805 if test "x$with_fontconfig" != "xno"
12807 if ${FONTCONFIG_CFLAGS:+false} :; then :
12808 if ${PKG_CONFIG+:} false
; then :
12809 FONTCONFIG_CFLAGS
=`$PKG_CONFIG --cflags fontconfig 2>/dev/null`
12812 test "$cross_compiling" = yes || FONTCONFIG_CFLAGS
=${FONTCONFIG_CFLAGS:-$X_CFLAGS}
12813 if ${FONTCONFIG_LIBS:+false} :; then :
12814 if ${PKG_CONFIG+:} false
; then :
12815 FONTCONFIG_LIBS
=`$PKG_CONFIG --libs fontconfig 2>/dev/null`
12818 test "$cross_compiling" = yes || FONTCONFIG_LIBS
=${FONTCONFIG_LIBS:-$X_LIBS}
12820 $as_echo "$as_me:${as_lineno-$LINENO}: fontconfig cflags: $FONTCONFIG_CFLAGS" >&5
12821 $as_echo "$as_me:${as_lineno-$LINENO}: fontconfig libs: $FONTCONFIG_LIBS" >&5
12822 ac_save_CPPFLAGS
=$CPPFLAGS
12823 CPPFLAGS
="$CPPFLAGS $FONTCONFIG_CFLAGS"
12824 for ac_header
in fontconfig
/fontconfig.h
12826 ac_fn_c_check_header_mongrel
"$LINENO" "fontconfig/fontconfig.h" "ac_cv_header_fontconfig_fontconfig_h" "$ac_includes_default"
12827 if test "x$ac_cv_header_fontconfig_fontconfig_h" = xyes
; then :
12828 cat >>confdefs.h
<<_ACEOF
12829 #define HAVE_FONTCONFIG_FONTCONFIG_H 1
12836 if test "$ac_cv_header_fontconfig_fontconfig_h" = "yes"
12838 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lfontconfig" >&5
12839 $as_echo_n "checking for -lfontconfig... " >&6; }
12840 if ${ac_cv_lib_soname_fontconfig+:} false
; then :
12841 $as_echo_n "(cached) " >&6
12843 ac_check_soname_save_LIBS
=$LIBS
12844 LIBS
="-lfontconfig $FONTCONFIG_LIBS $LIBS"
12845 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12846 /* end confdefs.h. */
12848 /* Override any GCC internal prototype to avoid an error.
12849 Use char because int might match the return type of a GCC
12850 builtin and then its argument prototype would still apply. */
12863 if ac_fn_c_try_link
"$LINENO"; then :
12865 dll
) ac_cv_lib_soname_fontconfig
=`$ac_cv_path_LDD conftest.exe | grep "fontconfig" | sed -e "s/dll.*/dll/"';2,$d'` ;;
12866 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'` ;;
12867 *) ac_cv_lib_soname_fontconfig
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libfontconfig\\.$LIBEXT" | sed -e "s/^.*\\[\\(libfontconfig\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
12868 if ${ac_cv_lib_soname_fontconfig:+false} :; then :
12869 ac_cv_lib_soname_fontconfig
=`$LDD conftest$ac_exeext | grep "libfontconfig\\.$LIBEXT" | sed -e "s/^.*\(libfontconfig\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
12873 rm -f core conftest.err conftest.
$ac_objext \
12874 conftest
$ac_exeext conftest.
$ac_ext
12875 LIBS
=$ac_check_soname_save_LIBS
12877 if ${ac_cv_lib_soname_fontconfig:+false} :; then :
12878 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
12879 $as_echo "not found" >&6; }
12880 FONTCONFIG_CFLAGS
=""
12882 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_fontconfig" >&5
12883 $as_echo "$ac_cv_lib_soname_fontconfig" >&6; }
12885 cat >>confdefs.h
<<_ACEOF
12886 #define SONAME_LIBFONTCONFIG "$ac_cv_lib_soname_fontconfig"
12892 FONTCONFIG_CFLAGS
=""
12894 CPPFLAGS
=$ac_save_CPPFLAGS
12895 test -z "$FONTCONFIG_CFLAGS" || FONTCONFIG_CFLAGS
=`echo " $FONTCONFIG_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
12896 test -z "$FONTCONFIG_LIBS" || FONTCONFIG_LIBS
=`echo " $FONTCONFIG_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
12899 if test "x$ac_cv_lib_soname_fontconfig" = "x"; then :
12900 case "x$with_fontconfig" in
12901 x
) as_fn_append wine_notices
"|fontconfig ${notice_platform}development files not found, fontconfig won't be supported." ;;
12903 *) as_fn_error $?
"fontconfig ${notice_platform}development files not found, fontconfig won't be supported.
12904 This is an error since --with-fontconfig was requested." "$LINENO" 5 ;;
12908 if test "$ac_cv_header_gsm_h" = "yes" -o "$ac_cv_header_gsm_gsm_h" = "yes"
12910 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lgsm" >&5
12911 $as_echo_n "checking for -lgsm... " >&6; }
12912 if ${ac_cv_lib_soname_gsm+:} false
; then :
12913 $as_echo_n "(cached) " >&6
12915 ac_check_soname_save_LIBS
=$LIBS
12917 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12918 /* end confdefs.h. */
12920 /* Override any GCC internal prototype to avoid an error.
12921 Use char because int might match the return type of a GCC
12922 builtin and then its argument prototype would still apply. */
12926 char gsm_create ();
12930 return gsm_create ();
12935 if ac_fn_c_try_link
"$LINENO"; then :
12937 dll
) ac_cv_lib_soname_gsm
=`$ac_cv_path_LDD conftest.exe | grep "gsm" | sed -e "s/dll.*/dll/"';2,$d'` ;;
12938 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'` ;;
12939 *) ac_cv_lib_soname_gsm
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libgsm\\.$LIBEXT" | sed -e "s/^.*\\[\\(libgsm\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
12940 if ${ac_cv_lib_soname_gsm:+false} :; then :
12941 ac_cv_lib_soname_gsm
=`$LDD conftest$ac_exeext | grep "libgsm\\.$LIBEXT" | sed -e "s/^.*\(libgsm\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
12945 rm -f core conftest.err conftest.
$ac_objext \
12946 conftest
$ac_exeext conftest.
$ac_ext
12947 LIBS
=$ac_check_soname_save_LIBS
12949 if ${ac_cv_lib_soname_gsm:+false} :; then :
12950 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
12951 $as_echo "not found" >&6; }
12954 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_gsm" >&5
12955 $as_echo "$ac_cv_lib_soname_gsm" >&6; }
12957 cat >>confdefs.h
<<_ACEOF
12958 #define SONAME_LIBGSM "$ac_cv_lib_soname_gsm"
12964 if test "x$ac_cv_lib_soname_gsm" = "x"; then :
12965 case "x$with_gsm" in
12966 x
) as_fn_append wine_notices
"|libgsm ${notice_platform}development files not found, gsm 06.10 codec won't be supported." ;;
12968 *) as_fn_error $?
"libgsm ${notice_platform}development files not found, gsm 06.10 codec won't be supported.
12969 This is an error since --with-gsm was requested." "$LINENO" 5 ;;
12973 if test "x$with_jpeg" != "xno"
12975 if ${JPEG_CFLAGS:+false} :; then :
12976 if ${PKG_CONFIG+:} false
; then :
12977 JPEG_CFLAGS
=`$PKG_CONFIG --cflags libjpeg 2>/dev/null`
12981 if ${JPEG_LIBS:+false} :; then :
12982 if ${PKG_CONFIG+:} false
; then :
12983 JPEG_LIBS
=`$PKG_CONFIG --libs libjpeg 2>/dev/null`
12988 $as_echo "$as_me:${as_lineno-$LINENO}: libjpeg cflags: $JPEG_CFLAGS" >&5
12989 $as_echo "$as_me:${as_lineno-$LINENO}: libjpeg libs: $JPEG_LIBS" >&5
12990 ac_save_CPPFLAGS
=$CPPFLAGS
12991 CPPFLAGS
="$CPPFLAGS $JPEG_CFLAGS"
12992 for ac_header
in jpeglib.h
12994 ac_fn_c_check_header_mongrel
"$LINENO" "jpeglib.h" "ac_cv_header_jpeglib_h" "$ac_includes_default"
12995 if test "x$ac_cv_header_jpeglib_h" = xyes
; then :
12996 cat >>confdefs.h
<<_ACEOF
12997 #define HAVE_JPEGLIB_H 1
13004 if test "$ac_cv_header_jpeglib_h" = "yes"
13006 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -ljpeg" >&5
13007 $as_echo_n "checking for -ljpeg... " >&6; }
13008 if ${ac_cv_lib_soname_jpeg+:} false
; then :
13009 $as_echo_n "(cached) " >&6
13011 ac_check_soname_save_LIBS
=$LIBS
13012 LIBS
="-ljpeg $JPEG_LIBS $LIBS"
13013 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13014 /* end confdefs.h. */
13016 /* Override any GCC internal prototype to avoid an error.
13017 Use char because int might match the return type of a GCC
13018 builtin and then its argument prototype would still apply. */
13022 char jpeg_start_decompress ();
13026 return jpeg_start_decompress ();
13031 if ac_fn_c_try_link
"$LINENO"; then :
13033 dll
) ac_cv_lib_soname_jpeg
=`$ac_cv_path_LDD conftest.exe | grep "jpeg" | sed -e "s/dll.*/dll/"';2,$d'` ;;
13034 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'` ;;
13035 *) ac_cv_lib_soname_jpeg
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libjpeg\\.$LIBEXT" | sed -e "s/^.*\\[\\(libjpeg\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
13036 if ${ac_cv_lib_soname_jpeg:+false} :; then :
13037 ac_cv_lib_soname_jpeg
=`$LDD conftest$ac_exeext | grep "libjpeg\\.$LIBEXT" | sed -e "s/^.*\(libjpeg\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
13041 rm -f core conftest.err conftest.
$ac_objext \
13042 conftest
$ac_exeext conftest.
$ac_ext
13043 LIBS
=$ac_check_soname_save_LIBS
13045 if ${ac_cv_lib_soname_jpeg:+false} :; then :
13046 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13047 $as_echo "not found" >&6; }
13050 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_jpeg" >&5
13051 $as_echo "$ac_cv_lib_soname_jpeg" >&6; }
13053 cat >>confdefs.h
<<_ACEOF
13054 #define SONAME_LIBJPEG "$ac_cv_lib_soname_jpeg"
13062 CPPFLAGS
=$ac_save_CPPFLAGS
13063 test -z "$JPEG_CFLAGS" || JPEG_CFLAGS
=`echo " $JPEG_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
13064 test -z "$JPEG_LIBS" || JPEG_LIBS
=`echo " $JPEG_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
13067 if test "x$ac_cv_lib_soname_jpeg" = "x"; then :
13068 case "x$with_jpeg" in
13069 x
) as_fn_append wine_warnings
"|libjpeg ${notice_platform}development files not found, JPEG won't be supported." ;;
13071 *) as_fn_error $?
"libjpeg ${notice_platform}development files not found, JPEG won't be supported.
13072 This is an error since --with-jpeg was requested." "$LINENO" 5 ;;
13076 if test "x$with_png" != "xno"
13078 if ${PNG_CFLAGS:+false} :; then :
13079 if ${PKG_CONFIG+:} false
; then :
13080 PNG_CFLAGS
=`$PKG_CONFIG --cflags libpng 2>/dev/null`
13083 test "$cross_compiling" = yes || PNG_CFLAGS
=${PNG_CFLAGS:-$X_CFLAGS}
13084 if ${PNG_LIBS:+false} :; then :
13085 if ${PKG_CONFIG+:} false
; then :
13086 PNG_LIBS
=`$PKG_CONFIG --libs libpng 2>/dev/null`
13089 test "$cross_compiling" = yes || PNG_LIBS
=${PNG_LIBS:-$X_LIBS}
13091 $as_echo "$as_me:${as_lineno-$LINENO}: libpng cflags: $PNG_CFLAGS" >&5
13092 $as_echo "$as_me:${as_lineno-$LINENO}: libpng libs: $PNG_LIBS" >&5
13093 ac_save_CPPFLAGS
=$CPPFLAGS
13094 CPPFLAGS
="$CPPFLAGS $PNG_CFLAGS"
13095 for ac_header
in png.h
13097 ac_fn_c_check_header_mongrel
"$LINENO" "png.h" "ac_cv_header_png_h" "$ac_includes_default"
13098 if test "x$ac_cv_header_png_h" = xyes
; then :
13099 cat >>confdefs.h
<<_ACEOF
13100 #define HAVE_PNG_H 1
13107 if test "$ac_cv_header_png_h" = "yes"
13109 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lpng" >&5
13110 $as_echo_n "checking for -lpng... " >&6; }
13111 if ${ac_cv_lib_soname_png+:} false
; then :
13112 $as_echo_n "(cached) " >&6
13114 ac_check_soname_save_LIBS
=$LIBS
13115 LIBS
="-lpng $PNG_LIBS -lm -lz $LIBS"
13116 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13117 /* end confdefs.h. */
13119 /* Override any GCC internal prototype to avoid an error.
13120 Use char because int might match the return type of a GCC
13121 builtin and then its argument prototype would still apply. */
13125 char png_create_read_struct ();
13129 return png_create_read_struct ();
13134 if ac_fn_c_try_link
"$LINENO"; then :
13136 dll
) ac_cv_lib_soname_png
=`$ac_cv_path_LDD conftest.exe | grep "png" | sed -e "s/dll.*/dll/"';2,$d'` ;;
13137 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'` ;;
13138 *) 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'`
13139 if ${ac_cv_lib_soname_png:+false} :; then :
13140 ac_cv_lib_soname_png
=`$LDD conftest$ac_exeext | grep "libpng[0-9]*\\.$LIBEXT" | sed -e "s/^.*\(libpng[0-9]*\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
13144 rm -f core conftest.err conftest.
$ac_objext \
13145 conftest
$ac_exeext conftest.
$ac_ext
13146 LIBS
=$ac_check_soname_save_LIBS
13148 if ${ac_cv_lib_soname_png:+false} :; then :
13149 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13150 $as_echo "not found" >&6; }
13153 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_png" >&5
13154 $as_echo "$ac_cv_lib_soname_png" >&6; }
13156 cat >>confdefs.h
<<_ACEOF
13157 #define SONAME_LIBPNG "$ac_cv_lib_soname_png"
13160 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13161 /* end confdefs.h. */
13166 typeof(png_set_expand_gray_1_2_4_to_8) *p
13171 if ac_fn_c_try_compile
"$LINENO"; then :
13173 $as_echo "#define HAVE_PNG_SET_EXPAND_GRAY_1_2_4_TO_8 1" >>confdefs.h
13176 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
13181 CPPFLAGS
=$ac_save_CPPFLAGS
13182 test -z "$PNG_CFLAGS" || PNG_CFLAGS
=`echo " $PNG_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
13183 test -z "$PNG_LIBS" || PNG_LIBS
=`echo " $PNG_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
13186 if test "x$ac_cv_lib_soname_png" = "x"; then :
13187 case "x$with_png" in
13188 x
) as_fn_append wine_warnings
"|libpng ${notice_platform}development files not found, PNG won't be supported." ;;
13190 *) as_fn_error $?
"libpng ${notice_platform}development files not found, PNG won't be supported.
13191 This is an error since --with-png was requested." "$LINENO" 5 ;;
13195 if test "x$with_tiff" != "xno"
13197 if ${TIFF_CFLAGS:+false} :; then :
13198 if ${PKG_CONFIG+:} false
; then :
13199 TIFF_CFLAGS
=`$PKG_CONFIG --cflags libtiff 2>/dev/null`
13203 if ${TIFF_LIBS:+false} :; then :
13204 if ${PKG_CONFIG+:} false
; then :
13205 TIFF_LIBS
=`$PKG_CONFIG --libs libtiff 2>/dev/null`
13210 $as_echo "$as_me:${as_lineno-$LINENO}: libtiff cflags: $TIFF_CFLAGS" >&5
13211 $as_echo "$as_me:${as_lineno-$LINENO}: libtiff libs: $TIFF_LIBS" >&5
13212 ac_save_CPPFLAGS
=$CPPFLAGS
13213 CPPFLAGS
="$CPPFLAGS $TIFF_CFLAGS"
13214 for ac_header
in tiffio.h
13216 ac_fn_c_check_header_mongrel
"$LINENO" "tiffio.h" "ac_cv_header_tiffio_h" "$ac_includes_default"
13217 if test "x$ac_cv_header_tiffio_h" = xyes
; then :
13218 cat >>confdefs.h
<<_ACEOF
13219 #define HAVE_TIFFIO_H 1
13226 if test "$ac_cv_header_tiffio_h" = "yes"
13228 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -ltiff" >&5
13229 $as_echo_n "checking for -ltiff... " >&6; }
13230 if ${ac_cv_lib_soname_tiff+:} false
; then :
13231 $as_echo_n "(cached) " >&6
13233 ac_check_soname_save_LIBS
=$LIBS
13234 LIBS
="-ltiff $TIFF_LIBS $LIBS"
13235 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13236 /* end confdefs.h. */
13238 /* Override any GCC internal prototype to avoid an error.
13239 Use char because int might match the return type of a GCC
13240 builtin and then its argument prototype would still apply. */
13244 char TIFFClientOpen ();
13248 return TIFFClientOpen ();
13253 if ac_fn_c_try_link
"$LINENO"; then :
13255 dll
) ac_cv_lib_soname_tiff
=`$ac_cv_path_LDD conftest.exe | grep "tiff" | sed -e "s/dll.*/dll/"';2,$d'` ;;
13256 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'` ;;
13257 *) ac_cv_lib_soname_tiff
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libtiff\\.$LIBEXT" | sed -e "s/^.*\\[\\(libtiff\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
13258 if ${ac_cv_lib_soname_tiff:+false} :; then :
13259 ac_cv_lib_soname_tiff
=`$LDD conftest$ac_exeext | grep "libtiff\\.$LIBEXT" | sed -e "s/^.*\(libtiff\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
13263 rm -f core conftest.err conftest.
$ac_objext \
13264 conftest
$ac_exeext conftest.
$ac_ext
13265 LIBS
=$ac_check_soname_save_LIBS
13267 if ${ac_cv_lib_soname_tiff:+false} :; then :
13268 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13269 $as_echo "not found" >&6; }
13272 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_tiff" >&5
13273 $as_echo "$ac_cv_lib_soname_tiff" >&6; }
13275 cat >>confdefs.h
<<_ACEOF
13276 #define SONAME_LIBTIFF "$ac_cv_lib_soname_tiff"
13282 CPPFLAGS
=$ac_save_CPPFLAGS
13283 test -z "$TIFF_CFLAGS" || TIFF_CFLAGS
=`echo " $TIFF_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
13284 test -z "$TIFF_LIBS" || TIFF_LIBS
=`echo " $TIFF_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
13287 if test "x$ac_cv_lib_soname_tiff" = "x"; then :
13288 case "x$with_tiff" in
13289 x
) as_fn_append wine_notices
"|libtiff ${notice_platform}development files not found, TIFF won't be supported." ;;
13291 *) as_fn_error $?
"libtiff ${notice_platform}development files not found, TIFF won't be supported.
13292 This is an error since --with-tiff was requested." "$LINENO" 5 ;;
13296 if test "x$with_mpg123" != "xno"
13298 if ${MPG123_CFLAGS:+false} :; then :
13299 if ${PKG_CONFIG+:} false
; then :
13300 MPG123_CFLAGS
=`$PKG_CONFIG --cflags libmpg123 2>/dev/null`
13304 if ${MPG123_LIBS:+false} :; then :
13305 if ${PKG_CONFIG+:} false
; then :
13306 MPG123_LIBS
=`$PKG_CONFIG --libs libmpg123 2>/dev/null`
13310 MPG123_LIBS
=${MPG123_LIBS:-"-lmpg123"}
13311 $as_echo "$as_me:${as_lineno-$LINENO}: libmpg123 cflags: $MPG123_CFLAGS" >&5
13312 $as_echo "$as_me:${as_lineno-$LINENO}: libmpg123 libs: $MPG123_LIBS" >&5
13313 ac_save_CPPFLAGS
=$CPPFLAGS
13314 CPPFLAGS
="$CPPFLAGS $MPG123_CFLAGS"
13315 for ac_header
in mpg123.h
13317 ac_fn_c_check_header_mongrel
"$LINENO" "mpg123.h" "ac_cv_header_mpg123_h" "$ac_includes_default"
13318 if test "x$ac_cv_header_mpg123_h" = xyes
; then :
13319 cat >>confdefs.h
<<_ACEOF
13320 #define HAVE_MPG123_H 1
13327 if test "$ac_cv_header_mpg123_h" = "yes"
13329 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for mpg123_feed in -lmpg123" >&5
13330 $as_echo_n "checking for mpg123_feed in -lmpg123... " >&6; }
13331 if ${ac_cv_lib_mpg123_mpg123_feed+:} false
; then :
13332 $as_echo_n "(cached) " >&6
13334 ac_check_lib_save_LIBS
=$LIBS
13335 LIBS
="-lmpg123 $MPG123_LIBS $LIBS"
13336 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13337 /* end confdefs.h. */
13339 /* Override any GCC internal prototype to avoid an error.
13340 Use char because int might match the return type of a GCC
13341 builtin and then its argument prototype would still apply. */
13345 char mpg123_feed ();
13349 return mpg123_feed ();
13354 if ac_fn_c_try_link
"$LINENO"; then :
13355 ac_cv_lib_mpg123_mpg123_feed
=yes
13357 ac_cv_lib_mpg123_mpg123_feed
=no
13359 rm -f core conftest.err conftest.
$ac_objext \
13360 conftest
$ac_exeext conftest.
$ac_ext
13361 LIBS
=$ac_check_lib_save_LIBS
13363 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_mpg123_mpg123_feed" >&5
13364 $as_echo "$ac_cv_lib_mpg123_mpg123_feed" >&6; }
13365 if test "x$ac_cv_lib_mpg123_mpg123_feed" = xyes
; then :
13375 CPPFLAGS
=$ac_save_CPPFLAGS
13376 test -z "$MPG123_CFLAGS" || MPG123_CFLAGS
=`echo " $MPG123_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
13377 test -z "$MPG123_LIBS" || MPG123_LIBS
=`echo " $MPG123_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
13380 if test "x$ac_cv_lib_mpg123_mpg123_feed" != xyes
-a x
"$ac_cv_header_CoreAudio_CoreAudio_h" != xyes
; then :
13381 case "x$with_mpg123" in
13382 x
) as_fn_append wine_notices
"|libmpg123 ${notice_platform}development files not found (or too old), mp3 codec won't be supported." ;;
13384 *) as_fn_error $?
"libmpg123 ${notice_platform}development files not found (or too old), mp3 codec won't be supported.
13385 This is an error since --with-mpg123 was requested." "$LINENO" 5 ;;
13388 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}
13390 if test "$ac_cv_header_AL_al_h" = "yes"
13392 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lopenal" >&5
13393 $as_echo_n "checking for -lopenal... " >&6; }
13394 if ${ac_cv_lib_soname_openal+:} false
; then :
13395 $as_echo_n "(cached) " >&6
13397 ac_check_soname_save_LIBS
=$LIBS
13398 LIBS
="-lopenal $LIBS"
13399 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13400 /* end confdefs.h. */
13402 /* Override any GCC internal prototype to avoid an error.
13403 Use char because int might match the return type of a GCC
13404 builtin and then its argument prototype would still apply. */
13408 char alGetSource3i ();
13412 return alGetSource3i ();
13417 if ac_fn_c_try_link
"$LINENO"; then :
13419 dll
) ac_cv_lib_soname_openal
=`$ac_cv_path_LDD conftest.exe | grep "openal" | sed -e "s/dll.*/dll/"';2,$d'` ;;
13420 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'` ;;
13421 *) ac_cv_lib_soname_openal
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libopenal\\.$LIBEXT" | sed -e "s/^.*\\[\\(libopenal\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
13422 if ${ac_cv_lib_soname_openal:+false} :; then :
13423 ac_cv_lib_soname_openal
=`$LDD conftest$ac_exeext | grep "libopenal\\.$LIBEXT" | sed -e "s/^.*\(libopenal\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
13427 rm -f core conftest.err conftest.
$ac_objext \
13428 conftest
$ac_exeext conftest.
$ac_ext
13429 LIBS
=$ac_check_soname_save_LIBS
13431 if ${ac_cv_lib_soname_openal:+false} :; then :
13432 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13433 $as_echo "not found" >&6; }
13436 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_openal" >&5
13437 $as_echo "$ac_cv_lib_soname_openal" >&6; }
13439 cat >>confdefs.h
<<_ACEOF
13440 #define SONAME_LIBOPENAL "$ac_cv_lib_soname_openal"
13443 OPENAL_LIBS
="-lopenal"
13445 ac_cv_lib_openal
=yes
13447 cat >>confdefs.h
<<_ACEOF
13448 #define HAVE_OPENAL 1
13453 if test "x$ac_cv_lib_openal" != xyes
; then :
13454 case "x$with_openal" in
13455 x
) as_fn_append wine_notices
"|libopenal ${notice_platform}development files not found (or too old), OpenAL won't be supported." ;;
13457 *) as_fn_error $?
"libopenal ${notice_platform}development files not found (or too old), OpenAL won't be supported.
13458 This is an error since --with-openal was requested." "$LINENO" 5 ;;
13461 test "x$ac_cv_lib_openal" = xyes || enable_openal32
=${enable_openal32:-no}
13463 if test "$ac_cv_header_kstat_h" = "yes"
13465 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for kstat_open in -lkstat" >&5
13466 $as_echo_n "checking for kstat_open in -lkstat... " >&6; }
13467 if ${ac_cv_lib_kstat_kstat_open+:} false
; then :
13468 $as_echo_n "(cached) " >&6
13470 ac_check_lib_save_LIBS
=$LIBS
13471 LIBS
="-lkstat $LIBS"
13472 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13473 /* end confdefs.h. */
13475 /* Override any GCC internal prototype to avoid an error.
13476 Use char because int might match the return type of a GCC
13477 builtin and then its argument prototype would still apply. */
13481 char kstat_open ();
13485 return kstat_open ();
13490 if ac_fn_c_try_link
"$LINENO"; then :
13491 ac_cv_lib_kstat_kstat_open
=yes
13493 ac_cv_lib_kstat_kstat_open
=no
13495 rm -f core conftest.err conftest.
$ac_objext \
13496 conftest
$ac_exeext conftest.
$ac_ext
13497 LIBS
=$ac_check_lib_save_LIBS
13499 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_kstat_kstat_open" >&5
13500 $as_echo "$ac_cv_lib_kstat_kstat_open" >&6; }
13501 if test "x$ac_cv_lib_kstat_kstat_open" = xyes
; then :
13503 $as_echo "#define HAVE_LIBKSTAT 1" >>confdefs.h
13505 KSTAT_LIBS
="-lkstat"
13511 if test "$ac_cv_header_libprocstat_h" = "yes"
13513 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for procstat_open_sysctl in -lprocstat" >&5
13514 $as_echo_n "checking for procstat_open_sysctl in -lprocstat... " >&6; }
13515 if ${ac_cv_lib_procstat_procstat_open_sysctl+:} false
; then :
13516 $as_echo_n "(cached) " >&6
13518 ac_check_lib_save_LIBS
=$LIBS
13519 LIBS
="-lprocstat $LIBS"
13520 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13521 /* end confdefs.h. */
13523 /* Override any GCC internal prototype to avoid an error.
13524 Use char because int might match the return type of a GCC
13525 builtin and then its argument prototype would still apply. */
13529 char procstat_open_sysctl ();
13533 return procstat_open_sysctl ();
13538 if ac_fn_c_try_link
"$LINENO"; then :
13539 ac_cv_lib_procstat_procstat_open_sysctl
=yes
13541 ac_cv_lib_procstat_procstat_open_sysctl
=no
13543 rm -f core conftest.err conftest.
$ac_objext \
13544 conftest
$ac_exeext conftest.
$ac_ext
13545 LIBS
=$ac_check_lib_save_LIBS
13547 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_procstat_procstat_open_sysctl" >&5
13548 $as_echo "$ac_cv_lib_procstat_procstat_open_sysctl" >&6; }
13549 if test "x$ac_cv_lib_procstat_procstat_open_sysctl" = xyes
; then :
13551 $as_echo "#define HAVE_LIBPROCSTAT 1" >>confdefs.h
13553 PROCSTAT_LIBS
="-lprocstat"
13559 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lodbc" >&5
13560 $as_echo_n "checking for -lodbc... " >&6; }
13561 if ${ac_cv_lib_soname_odbc+:} false
; then :
13562 $as_echo_n "(cached) " >&6
13564 ac_check_soname_save_LIBS
=$LIBS
13565 LIBS
="-lodbc $LIBS"
13566 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13567 /* end confdefs.h. */
13569 /* Override any GCC internal prototype to avoid an error.
13570 Use char because int might match the return type of a GCC
13571 builtin and then its argument prototype would still apply. */
13575 char SQLConnect ();
13579 return SQLConnect ();
13584 if ac_fn_c_try_link
"$LINENO"; then :
13586 dll
) ac_cv_lib_soname_odbc
=`$ac_cv_path_LDD conftest.exe | grep "odbc" | sed -e "s/dll.*/dll/"';2,$d'` ;;
13587 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'` ;;
13588 *) ac_cv_lib_soname_odbc
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libodbc\\.$LIBEXT" | sed -e "s/^.*\\[\\(libodbc\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
13589 if ${ac_cv_lib_soname_odbc:+false} :; then :
13590 ac_cv_lib_soname_odbc
=`$LDD conftest$ac_exeext | grep "libodbc\\.$LIBEXT" | sed -e "s/^.*\(libodbc\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
13594 rm -f core conftest.err conftest.
$ac_objext \
13595 conftest
$ac_exeext conftest.
$ac_ext
13596 LIBS
=$ac_check_soname_save_LIBS
13598 if ${ac_cv_lib_soname_odbc:+false} :; then :
13599 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13600 $as_echo "not found" >&6; }
13601 cat >>confdefs.h
<<_ACEOF
13602 #define SONAME_LIBODBC "libodbc.$LIBEXT"
13606 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_odbc" >&5
13607 $as_echo "$ac_cv_lib_soname_odbc" >&6; }
13609 cat >>confdefs.h
<<_ACEOF
13610 #define SONAME_LIBODBC "$ac_cv_lib_soname_odbc"
13616 if test "x$with_netapi" != "xno"
13618 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lnetapi" >&5
13619 $as_echo_n "checking for -lnetapi... " >&6; }
13620 if ${ac_cv_lib_soname_netapi+:} false
; then :
13621 $as_echo_n "(cached) " >&6
13623 ac_check_soname_save_LIBS
=$LIBS
13624 LIBS
="-lnetapi $LIBS"
13625 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13626 /* end confdefs.h. */
13628 /* Override any GCC internal prototype to avoid an error.
13629 Use char because int might match the return type of a GCC
13630 builtin and then its argument prototype would still apply. */
13634 char libnetapi_init ();
13638 return libnetapi_init ();
13643 if ac_fn_c_try_link
"$LINENO"; then :
13645 dll
) ac_cv_lib_soname_netapi
=`$ac_cv_path_LDD conftest.exe | grep "netapi" | sed -e "s/dll.*/dll/"';2,$d'` ;;
13646 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'` ;;
13647 *) ac_cv_lib_soname_netapi
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libnetapi\\.$LIBEXT" | sed -e "s/^.*\\[\\(libnetapi\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
13648 if ${ac_cv_lib_soname_netapi:+false} :; then :
13649 ac_cv_lib_soname_netapi
=`$LDD conftest$ac_exeext | grep "libnetapi\\.$LIBEXT" | sed -e "s/^.*\(libnetapi\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
13653 rm -f core conftest.err conftest.
$ac_objext \
13654 conftest
$ac_exeext conftest.
$ac_ext
13655 LIBS
=$ac_check_soname_save_LIBS
13657 if ${ac_cv_lib_soname_netapi:+false} :; then :
13658 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13659 $as_echo "not found" >&6; }
13660 cat >>confdefs.h
<<_ACEOF
13661 #define SONAME_LIBNETAPI "libnetapi.$LIBEXT"
13665 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_netapi" >&5
13666 $as_echo "$ac_cv_lib_soname_netapi" >&6; }
13668 cat >>confdefs.h
<<_ACEOF
13669 #define SONAME_LIBNETAPI "$ac_cv_lib_soname_netapi"
13676 test -n "$ALSA_LIBS" || enable_winealsa_drv
=${enable_winealsa_drv:-no}
13677 test -n "$COREAUDIO_LIBS" || enable_winecoreaudio_drv
=${enable_winecoreaudio_drv:-no}
13678 test "x$ac_cv_member_oss_sysinfo_numaudioengines" = xyes || enable_wineoss_drv
=${enable_wineoss_drv:-no}
13679 test "$ac_cv_header_linux_joystick_h" = "yes" || enable_winejoystick_drv
=${enable_winejoystick_drv:-no}
13681 if test "x$ALSA_LIBS$COREAUDIO_LIBS" = "x" -a \
13682 "x$ac_cv_member_oss_sysinfo_numaudioengines" != xyes
-a \
13683 "x$with_alsa$with_coreaudio$with_oss" != xnonono
13685 as_fn_append wine_warnings
"|No sound system was found. Windows applications will be silent."
13691 if test "x${GCC}" = "xyes"
13693 EXTRACFLAGS
="-Wall -pipe"
13695 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gcc strength-reduce bug" >&5
13696 $as_echo_n "checking for gcc strength-reduce bug... " >&6; }
13697 if ${ac_cv_c_gcc_strength_bug+:} false
; then :
13698 $as_echo_n "(cached) " >&6
13700 if test "$cross_compiling" = yes; then :
13701 ac_cv_c_gcc_strength_bug
="yes"
13703 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13704 /* end confdefs.h. */
13705 int L[4] = {0,1,2,3};
13709 static int Array[3];
13710 unsigned int B = 3;
13712 for(i=0; i<B; i++) Array[i] = i - 3;
13713 for(i=0; i<4 - 1; i++) L[i] = L[i + 1];
13715 return (Array[1] != -2 || L[2] != 3)
13720 if ac_fn_c_try_run
"$LINENO"; then :
13721 ac_cv_c_gcc_strength_bug
="no"
13723 ac_cv_c_gcc_strength_bug
="yes"
13725 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext \
13726 conftest.
$ac_objext conftest.beam conftest.
$ac_ext
13730 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_gcc_strength_bug" >&5
13731 $as_echo "$ac_cv_c_gcc_strength_bug" >&6; }
13732 if test "$ac_cv_c_gcc_strength_bug" = "yes"
13734 EXTRACFLAGS
="$EXTRACFLAGS -fno-strength-reduce"
13737 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fno-builtin" >&5
13738 $as_echo_n "checking whether the compiler supports -fno-builtin... " >&6; }
13739 if ${ac_cv_cflags__fno_builtin+:} false
; then :
13740 $as_echo_n "(cached) " >&6
13742 ac_wine_try_cflags_saved
=$CFLAGS
13743 CFLAGS
="$CFLAGS -fno-builtin"
13744 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13745 /* end confdefs.h. */
13746 int main(int argc, char **argv) { return 0; }
13748 if ac_fn_c_try_link
"$LINENO"; then :
13749 ac_cv_cflags__fno_builtin
=yes
13751 ac_cv_cflags__fno_builtin
=no
13753 rm -f core conftest.err conftest.
$ac_objext \
13754 conftest
$ac_exeext conftest.
$ac_ext
13755 CFLAGS
=$ac_wine_try_cflags_saved
13757 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fno_builtin" >&5
13758 $as_echo "$ac_cv_cflags__fno_builtin" >&6; }
13759 if test "x$ac_cv_cflags__fno_builtin" = xyes
; then :
13760 BUILTINFLAG
="-fno-builtin"
13763 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fno-strict-aliasing" >&5
13764 $as_echo_n "checking whether the compiler supports -fno-strict-aliasing... " >&6; }
13765 if ${ac_cv_cflags__fno_strict_aliasing+:} false
; then :
13766 $as_echo_n "(cached) " >&6
13768 ac_wine_try_cflags_saved
=$CFLAGS
13769 CFLAGS
="$CFLAGS -fno-strict-aliasing"
13770 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13771 /* end confdefs.h. */
13772 int main(int argc, char **argv) { return 0; }
13774 if ac_fn_c_try_link
"$LINENO"; then :
13775 ac_cv_cflags__fno_strict_aliasing
=yes
13777 ac_cv_cflags__fno_strict_aliasing
=no
13779 rm -f core conftest.err conftest.
$ac_objext \
13780 conftest
$ac_exeext conftest.
$ac_ext
13781 CFLAGS
=$ac_wine_try_cflags_saved
13783 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fno_strict_aliasing" >&5
13784 $as_echo "$ac_cv_cflags__fno_strict_aliasing" >&6; }
13785 if test "x$ac_cv_cflags__fno_strict_aliasing" = xyes
; then :
13786 EXTRACFLAGS
="$EXTRACFLAGS -fno-strict-aliasing"
13788 saved_CFLAGS
=$CFLAGS
13789 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Werror=unknown-warning-option" >&5
13790 $as_echo_n "checking whether the compiler supports -Werror=unknown-warning-option... " >&6; }
13791 if ${ac_cv_cflags__Werror_unknown_warning_option+:} false
; then :
13792 $as_echo_n "(cached) " >&6
13794 ac_wine_try_cflags_saved
=$CFLAGS
13795 CFLAGS
="$CFLAGS -Werror=unknown-warning-option"
13796 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13797 /* end confdefs.h. */
13798 int main(int argc, char **argv) { return 0; }
13800 if ac_fn_c_try_link
"$LINENO"; then :
13801 ac_cv_cflags__Werror_unknown_warning_option
=yes
13803 ac_cv_cflags__Werror_unknown_warning_option
=no
13805 rm -f core conftest.err conftest.
$ac_objext \
13806 conftest
$ac_exeext conftest.
$ac_ext
13807 CFLAGS
=$ac_wine_try_cflags_saved
13809 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Werror_unknown_warning_option" >&5
13810 $as_echo "$ac_cv_cflags__Werror_unknown_warning_option" >&6; }
13811 if test "x$ac_cv_cflags__Werror_unknown_warning_option" = xyes
; then :
13812 CFLAGS
="$CFLAGS -Werror=unknown-warning-option"
13814 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wdeclaration-after-statement" >&5
13815 $as_echo_n "checking whether the compiler supports -Wdeclaration-after-statement... " >&6; }
13816 if ${ac_cv_cflags__Wdeclaration_after_statement+:} false
; then :
13817 $as_echo_n "(cached) " >&6
13819 ac_wine_try_cflags_saved
=$CFLAGS
13820 CFLAGS
="$CFLAGS -Wdeclaration-after-statement"
13821 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13822 /* end confdefs.h. */
13823 int main(int argc, char **argv) { return 0; }
13825 if ac_fn_c_try_link
"$LINENO"; then :
13826 ac_cv_cflags__Wdeclaration_after_statement
=yes
13828 ac_cv_cflags__Wdeclaration_after_statement
=no
13830 rm -f core conftest.err conftest.
$ac_objext \
13831 conftest
$ac_exeext conftest.
$ac_ext
13832 CFLAGS
=$ac_wine_try_cflags_saved
13834 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wdeclaration_after_statement" >&5
13835 $as_echo "$ac_cv_cflags__Wdeclaration_after_statement" >&6; }
13836 if test "x$ac_cv_cflags__Wdeclaration_after_statement" = xyes
; then :
13837 EXTRACFLAGS
="$EXTRACFLAGS -Wdeclaration-after-statement"
13839 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wempty-body" >&5
13840 $as_echo_n "checking whether the compiler supports -Wempty-body... " >&6; }
13841 if ${ac_cv_cflags__Wempty_body+:} false
; then :
13842 $as_echo_n "(cached) " >&6
13844 ac_wine_try_cflags_saved
=$CFLAGS
13845 CFLAGS
="$CFLAGS -Wempty-body"
13846 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13847 /* end confdefs.h. */
13848 int main(int argc, char **argv) { return 0; }
13850 if ac_fn_c_try_link
"$LINENO"; then :
13851 ac_cv_cflags__Wempty_body
=yes
13853 ac_cv_cflags__Wempty_body
=no
13855 rm -f core conftest.err conftest.
$ac_objext \
13856 conftest
$ac_exeext conftest.
$ac_ext
13857 CFLAGS
=$ac_wine_try_cflags_saved
13859 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wempty_body" >&5
13860 $as_echo "$ac_cv_cflags__Wempty_body" >&6; }
13861 if test "x$ac_cv_cflags__Wempty_body" = xyes
; then :
13862 EXTRACFLAGS
="$EXTRACFLAGS -Wempty-body"
13864 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wignored-qualifiers" >&5
13865 $as_echo_n "checking whether the compiler supports -Wignored-qualifiers... " >&6; }
13866 if ${ac_cv_cflags__Wignored_qualifiers+:} false
; then :
13867 $as_echo_n "(cached) " >&6
13869 ac_wine_try_cflags_saved
=$CFLAGS
13870 CFLAGS
="$CFLAGS -Wignored-qualifiers"
13871 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13872 /* end confdefs.h. */
13873 int main(int argc, char **argv) { return 0; }
13875 if ac_fn_c_try_link
"$LINENO"; then :
13876 ac_cv_cflags__Wignored_qualifiers
=yes
13878 ac_cv_cflags__Wignored_qualifiers
=no
13880 rm -f core conftest.err conftest.
$ac_objext \
13881 conftest
$ac_exeext conftest.
$ac_ext
13882 CFLAGS
=$ac_wine_try_cflags_saved
13884 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wignored_qualifiers" >&5
13885 $as_echo "$ac_cv_cflags__Wignored_qualifiers" >&6; }
13886 if test "x$ac_cv_cflags__Wignored_qualifiers" = xyes
; then :
13887 EXTRACFLAGS
="$EXTRACFLAGS -Wignored-qualifiers"
13889 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wstrict-prototypes" >&5
13890 $as_echo_n "checking whether the compiler supports -Wstrict-prototypes... " >&6; }
13891 if ${ac_cv_cflags__Wstrict_prototypes+:} false
; then :
13892 $as_echo_n "(cached) " >&6
13894 ac_wine_try_cflags_saved
=$CFLAGS
13895 CFLAGS
="$CFLAGS -Wstrict-prototypes"
13896 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13897 /* end confdefs.h. */
13898 int main(int argc, char **argv) { return 0; }
13900 if ac_fn_c_try_link
"$LINENO"; then :
13901 ac_cv_cflags__Wstrict_prototypes
=yes
13903 ac_cv_cflags__Wstrict_prototypes
=no
13905 rm -f core conftest.err conftest.
$ac_objext \
13906 conftest
$ac_exeext conftest.
$ac_ext
13907 CFLAGS
=$ac_wine_try_cflags_saved
13909 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wstrict_prototypes" >&5
13910 $as_echo "$ac_cv_cflags__Wstrict_prototypes" >&6; }
13911 if test "x$ac_cv_cflags__Wstrict_prototypes" = xyes
; then :
13912 EXTRACFLAGS
="$EXTRACFLAGS -Wstrict-prototypes"
13914 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wtype-limits" >&5
13915 $as_echo_n "checking whether the compiler supports -Wtype-limits... " >&6; }
13916 if ${ac_cv_cflags__Wtype_limits+:} false
; then :
13917 $as_echo_n "(cached) " >&6
13919 ac_wine_try_cflags_saved
=$CFLAGS
13920 CFLAGS
="$CFLAGS -Wtype-limits"
13921 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13922 /* end confdefs.h. */
13923 int main(int argc, char **argv) { return 0; }
13925 if ac_fn_c_try_link
"$LINENO"; then :
13926 ac_cv_cflags__Wtype_limits
=yes
13928 ac_cv_cflags__Wtype_limits
=no
13930 rm -f core conftest.err conftest.
$ac_objext \
13931 conftest
$ac_exeext conftest.
$ac_ext
13932 CFLAGS
=$ac_wine_try_cflags_saved
13934 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wtype_limits" >&5
13935 $as_echo "$ac_cv_cflags__Wtype_limits" >&6; }
13936 if test "x$ac_cv_cflags__Wtype_limits" = xyes
; then :
13937 EXTRACFLAGS
="$EXTRACFLAGS -Wtype-limits"
13939 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wunused-but-set-parameter" >&5
13940 $as_echo_n "checking whether the compiler supports -Wunused-but-set-parameter... " >&6; }
13941 if ${ac_cv_cflags__Wunused_but_set_parameter+:} false
; then :
13942 $as_echo_n "(cached) " >&6
13944 ac_wine_try_cflags_saved
=$CFLAGS
13945 CFLAGS
="$CFLAGS -Wunused-but-set-parameter"
13946 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13947 /* end confdefs.h. */
13948 int main(int argc, char **argv) { return 0; }
13950 if ac_fn_c_try_link
"$LINENO"; then :
13951 ac_cv_cflags__Wunused_but_set_parameter
=yes
13953 ac_cv_cflags__Wunused_but_set_parameter
=no
13955 rm -f core conftest.err conftest.
$ac_objext \
13956 conftest
$ac_exeext conftest.
$ac_ext
13957 CFLAGS
=$ac_wine_try_cflags_saved
13959 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wunused_but_set_parameter" >&5
13960 $as_echo "$ac_cv_cflags__Wunused_but_set_parameter" >&6; }
13961 if test "x$ac_cv_cflags__Wunused_but_set_parameter" = xyes
; then :
13962 EXTRACFLAGS
="$EXTRACFLAGS -Wunused-but-set-parameter"
13964 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wvla" >&5
13965 $as_echo_n "checking whether the compiler supports -Wvla... " >&6; }
13966 if ${ac_cv_cflags__Wvla+:} false
; then :
13967 $as_echo_n "(cached) " >&6
13969 ac_wine_try_cflags_saved
=$CFLAGS
13970 CFLAGS
="$CFLAGS -Wvla"
13971 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13972 /* end confdefs.h. */
13973 int main(int argc, char **argv) { return 0; }
13975 if ac_fn_c_try_link
"$LINENO"; then :
13976 ac_cv_cflags__Wvla
=yes
13978 ac_cv_cflags__Wvla
=no
13980 rm -f core conftest.err conftest.
$ac_objext \
13981 conftest
$ac_exeext conftest.
$ac_ext
13982 CFLAGS
=$ac_wine_try_cflags_saved
13984 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wvla" >&5
13985 $as_echo "$ac_cv_cflags__Wvla" >&6; }
13986 if test "x$ac_cv_cflags__Wvla" = xyes
; then :
13987 EXTRACFLAGS
="$EXTRACFLAGS -Wvla"
13989 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wwrite-strings" >&5
13990 $as_echo_n "checking whether the compiler supports -Wwrite-strings... " >&6; }
13991 if ${ac_cv_cflags__Wwrite_strings+:} false
; then :
13992 $as_echo_n "(cached) " >&6
13994 ac_wine_try_cflags_saved
=$CFLAGS
13995 CFLAGS
="$CFLAGS -Wwrite-strings"
13996 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13997 /* end confdefs.h. */
13998 int main(int argc, char **argv) { return 0; }
14000 if ac_fn_c_try_link
"$LINENO"; then :
14001 ac_cv_cflags__Wwrite_strings
=yes
14003 ac_cv_cflags__Wwrite_strings
=no
14005 rm -f core conftest.err conftest.
$ac_objext \
14006 conftest
$ac_exeext conftest.
$ac_ext
14007 CFLAGS
=$ac_wine_try_cflags_saved
14009 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wwrite_strings" >&5
14010 $as_echo "$ac_cv_cflags__Wwrite_strings" >&6; }
14011 if test "x$ac_cv_cflags__Wwrite_strings" = xyes
; then :
14012 EXTRACFLAGS
="$EXTRACFLAGS -Wwrite-strings"
14015 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wpointer-arith" >&5
14016 $as_echo_n "checking whether the compiler supports -Wpointer-arith... " >&6; }
14017 if ${ac_cv_cflags__Wpointer_arith+:} false
; then :
14018 $as_echo_n "(cached) " >&6
14020 ac_wine_try_cflags_saved
=$CFLAGS
14021 CFLAGS
="$CFLAGS -Wpointer-arith"
14022 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14023 /* end confdefs.h. */
14024 int main(int argc, char **argv) { return 0; }
14026 if ac_fn_c_try_link
"$LINENO"; then :
14027 ac_cv_cflags__Wpointer_arith
=yes
14029 ac_cv_cflags__Wpointer_arith
=no
14031 rm -f core conftest.err conftest.
$ac_objext \
14032 conftest
$ac_exeext conftest.
$ac_ext
14033 CFLAGS
=$ac_wine_try_cflags_saved
14035 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wpointer_arith" >&5
14036 $as_echo "$ac_cv_cflags__Wpointer_arith" >&6; }
14037 if test "x$ac_cv_cflags__Wpointer_arith" = xyes
; then :
14038 saved_string_h_CFLAGS
=$CFLAGS
14039 CFLAGS
="$CFLAGS -Wpointer-arith -Werror"
14040 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for broken string.h that generates warnings with -Wpointer-arith" >&5
14041 $as_echo_n "checking for broken string.h that generates warnings with -Wpointer-arith... " >&6; }
14042 if ${ac_cv_c_string_h_warnings+:} false
; then :
14043 $as_echo_n "(cached) " >&6
14045 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14046 /* end confdefs.h. */
14047 #include <string.h>
14056 if ac_fn_c_try_compile
"$LINENO"; then :
14057 ac_cv_c_string_h_warnings
=no
14059 ac_cv_c_string_h_warnings
=yes
14061 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
14063 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_string_h_warnings" >&5
14064 $as_echo "$ac_cv_c_string_h_warnings" >&6; }
14065 test "$ac_cv_c_string_h_warnings" = yes || EXTRACFLAGS
="$EXTRACFLAGS -Wpointer-arith"
14066 CFLAGS
=$saved_string_h_CFLAGS
14069 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wlogical-op" >&5
14070 $as_echo_n "checking whether the compiler supports -Wlogical-op... " >&6; }
14071 if ${ac_cv_cflags__Wlogical_op+:} false
; then :
14072 $as_echo_n "(cached) " >&6
14074 ac_wine_try_cflags_saved
=$CFLAGS
14075 CFLAGS
="$CFLAGS -Wlogical-op"
14076 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14077 /* end confdefs.h. */
14078 int main(int argc, char **argv) { return 0; }
14080 if ac_fn_c_try_link
"$LINENO"; then :
14081 ac_cv_cflags__Wlogical_op
=yes
14083 ac_cv_cflags__Wlogical_op
=no
14085 rm -f core conftest.err conftest.
$ac_objext \
14086 conftest
$ac_exeext conftest.
$ac_ext
14087 CFLAGS
=$ac_wine_try_cflags_saved
14089 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wlogical_op" >&5
14090 $as_echo "$ac_cv_cflags__Wlogical_op" >&6; }
14091 if test "x$ac_cv_cflags__Wlogical_op" = xyes
; then :
14092 saved_string_h_CFLAGS
=$CFLAGS
14093 CFLAGS
="$CFLAGS -Wlogical-op -Werror"
14094 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for broken string.h that generates warnings with -Wlogical-op" >&5
14095 $as_echo_n "checking for broken string.h that generates warnings with -Wlogical-op... " >&6; }
14096 if ${ac_cv_c_logicalop_noisy+:} false
; then :
14097 $as_echo_n "(cached) " >&6
14099 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14100 /* end confdefs.h. */
14101 #include <string.h>
14102 char*f(const char *h,char n) {return strchr(h,n);}
14111 if ac_fn_c_try_compile
"$LINENO"; then :
14112 ac_cv_c_logicalop_noisy
=no
14114 ac_cv_c_logicalop_noisy
=yes
14116 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
14118 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_logicalop_noisy" >&5
14119 $as_echo "$ac_cv_c_logicalop_noisy" >&6; }
14120 CFLAGS
=$saved_string_h_CFLAGS
14121 test "$ac_cv_c_logicalop_noisy" = yes || EXTRACFLAGS
="$EXTRACFLAGS -Wlogical-op"
14124 CFLAGS
=$saved_CFLAGS
14126 for ac_flag
in $CFLAGS; do
14128 -g) case $host_os in
14129 darwin
*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -gstabs+" >&5
14130 $as_echo_n "checking whether the compiler supports -gstabs+... " >&6; }
14131 if ${ac_cv_cflags__gstabsp+:} false
; then :
14132 $as_echo_n "(cached) " >&6
14134 ac_wine_try_cflags_saved
=$CFLAGS
14135 CFLAGS
="$CFLAGS -gstabs+"
14136 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14137 /* end confdefs.h. */
14138 int main(int argc, char **argv) { return 0; }
14140 if ac_fn_c_try_link
"$LINENO"; then :
14141 ac_cv_cflags__gstabsp
=yes
14143 ac_cv_cflags__gstabsp
=no
14145 rm -f core conftest.err conftest.
$ac_objext \
14146 conftest
$ac_exeext conftest.
$ac_ext
14147 CFLAGS
=$ac_wine_try_cflags_saved
14149 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__gstabsp" >&5
14150 $as_echo "$ac_cv_cflags__gstabsp" >&6; }
14151 if test "x$ac_cv_cflags__gstabsp" = xyes
; then :
14152 EXTRACFLAGS
="$EXTRACFLAGS -gstabs+"
14154 *) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -gdwarf-2" >&5
14155 $as_echo_n "checking whether the compiler supports -gdwarf-2... " >&6; }
14156 if ${ac_cv_cflags__gdwarf_2+:} false
; then :
14157 $as_echo_n "(cached) " >&6
14159 ac_wine_try_cflags_saved
=$CFLAGS
14160 CFLAGS
="$CFLAGS -gdwarf-2"
14161 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14162 /* end confdefs.h. */
14163 int main(int argc, char **argv) { return 0; }
14165 if ac_fn_c_try_link
"$LINENO"; then :
14166 ac_cv_cflags__gdwarf_2
=yes
14168 ac_cv_cflags__gdwarf_2
=no
14170 rm -f core conftest.err conftest.
$ac_objext \
14171 conftest
$ac_exeext conftest.
$ac_ext
14172 CFLAGS
=$ac_wine_try_cflags_saved
14174 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__gdwarf_2" >&5
14175 $as_echo "$ac_cv_cflags__gdwarf_2" >&6; }
14176 if test "x$ac_cv_cflags__gdwarf_2" = xyes
; then :
14177 EXTRACFLAGS
="$EXTRACFLAGS -gdwarf-2"
14179 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -gstrict-dwarf" >&5
14180 $as_echo_n "checking whether the compiler supports -gstrict-dwarf... " >&6; }
14181 if ${ac_cv_cflags__gstrict_dwarf+:} false
; then :
14182 $as_echo_n "(cached) " >&6
14184 ac_wine_try_cflags_saved
=$CFLAGS
14185 CFLAGS
="$CFLAGS -gstrict-dwarf"
14186 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14187 /* end confdefs.h. */
14188 int main(int argc, char **argv) { return 0; }
14190 if ac_fn_c_try_link
"$LINENO"; then :
14191 ac_cv_cflags__gstrict_dwarf
=yes
14193 ac_cv_cflags__gstrict_dwarf
=no
14195 rm -f core conftest.err conftest.
$ac_objext \
14196 conftest
$ac_exeext conftest.
$ac_ext
14197 CFLAGS
=$ac_wine_try_cflags_saved
14199 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__gstrict_dwarf" >&5
14200 $as_echo "$ac_cv_cflags__gstrict_dwarf" >&6; }
14201 if test "x$ac_cv_cflags__gstrict_dwarf" = xyes
; then :
14202 EXTRACFLAGS
="$EXTRACFLAGS -gstrict-dwarf"
14209 *i
[3456789]86*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fno-omit-frame-pointer" >&5
14210 $as_echo_n "checking whether the compiler supports -fno-omit-frame-pointer... " >&6; }
14211 if ${ac_cv_cflags__fno_omit_frame_pointer+:} false
; then :
14212 $as_echo_n "(cached) " >&6
14214 ac_wine_try_cflags_saved
=$CFLAGS
14215 CFLAGS
="$CFLAGS -fno-omit-frame-pointer"
14216 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14217 /* end confdefs.h. */
14218 int main(int argc, char **argv) { return 0; }
14220 if ac_fn_c_try_link
"$LINENO"; then :
14221 ac_cv_cflags__fno_omit_frame_pointer
=yes
14223 ac_cv_cflags__fno_omit_frame_pointer
=no
14225 rm -f core conftest.err conftest.
$ac_objext \
14226 conftest
$ac_exeext conftest.
$ac_ext
14227 CFLAGS
=$ac_wine_try_cflags_saved
14229 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fno_omit_frame_pointer" >&5
14230 $as_echo "$ac_cv_cflags__fno_omit_frame_pointer" >&6; }
14231 if test "x$ac_cv_cflags__fno_omit_frame_pointer" = xyes
; then :
14232 EXTRACFLAGS
="$EXTRACFLAGS -fno-omit-frame-pointer"
14237 x86_64-
*mingw32
*|x86_64-
*cygwin
*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wno-format" >&5
14238 $as_echo_n "checking whether the compiler supports -Wno-format... " >&6; }
14239 if ${ac_cv_cflags__Wno_format+:} false
; then :
14240 $as_echo_n "(cached) " >&6
14242 ac_wine_try_cflags_saved
=$CFLAGS
14243 CFLAGS
="$CFLAGS -Wno-format"
14244 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14245 /* end confdefs.h. */
14246 int main(int argc, char **argv) { return 0; }
14248 if ac_fn_c_try_link
"$LINENO"; then :
14249 ac_cv_cflags__Wno_format
=yes
14251 ac_cv_cflags__Wno_format
=no
14253 rm -f core conftest.err conftest.
$ac_objext \
14254 conftest
$ac_exeext conftest.
$ac_ext
14255 CFLAGS
=$ac_wine_try_cflags_saved
14257 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wno_format" >&5
14258 $as_echo "$ac_cv_cflags__Wno_format" >&6; }
14259 if test "x$ac_cv_cflags__Wno_format" = xyes
; then :
14260 EXTRACFLAGS
="$EXTRACFLAGS -Wno-format"
14264 if test "x$enable_maintainer_mode" = "xyes"
14266 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Werror" >&5
14267 $as_echo_n "checking whether the compiler supports -Werror... " >&6; }
14268 if ${ac_cv_cflags__Werror+:} false
; then :
14269 $as_echo_n "(cached) " >&6
14271 ac_wine_try_cflags_saved
=$CFLAGS
14272 CFLAGS
="$CFLAGS -Werror"
14273 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14274 /* end confdefs.h. */
14275 int main(int argc, char **argv) { return 0; }
14277 if ac_fn_c_try_link
"$LINENO"; then :
14278 ac_cv_cflags__Werror
=yes
14280 ac_cv_cflags__Werror
=no
14282 rm -f core conftest.err conftest.
$ac_objext \
14283 conftest
$ac_exeext conftest.
$ac_ext
14284 CFLAGS
=$ac_wine_try_cflags_saved
14286 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Werror" >&5
14287 $as_echo "$ac_cv_cflags__Werror" >&6; }
14288 if test "x$ac_cv_cflags__Werror" = xyes
; then :
14289 EXTRACFLAGS
="$EXTRACFLAGS -Werror"
14293 saved_CFLAGS
="$CFLAGS"
14294 CFLAGS
="$CFLAGS -Werror"
14295 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ms_hook_prologue attribute" >&5
14296 $as_echo_n "checking for ms_hook_prologue attribute... " >&6; }
14297 if ${ac_cv_have_ms_hook_prologue+:} false
; then :
14298 $as_echo_n "(cached) " >&6
14300 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14301 /* end confdefs.h. */
14302 int __attribute__((__ms_hook_prologue__)) test(void) { return 0; }
14311 if ac_fn_c_try_compile
"$LINENO"; then :
14312 ac_cv_have_ms_hook_prologue
="yes"
14314 ac_cv_have_ms_hook_prologue
="no"
14316 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
14318 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_ms_hook_prologue" >&5
14319 $as_echo "$ac_cv_have_ms_hook_prologue" >&6; }
14320 CFLAGS
="$saved_CFLAGS"
14321 if test "$ac_cv_have_ms_hook_prologue" = "yes"
14324 $as_echo "#define DECLSPEC_HOTPATCH __attribute__((__ms_hook_prologue__))" >>confdefs.h
14327 $as_echo "#define DECLSPEC_HOTPATCH /* */" >>confdefs.h
14333 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for the need to disable Fortify" >&5
14334 $as_echo_n "checking for the need to disable Fortify... " >&6; }
14335 if ${ac_cv_c_fortify_enabled+:} false
; then :
14336 $as_echo_n "(cached) " >&6
14338 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14339 /* end confdefs.h. */
14340 #include <string.h>
14344 #if defined(__USE_FORTIFY_LEVEL) && __USE_FORTIFY_LEVEL > 0
14345 #error Fortify enabled
14351 if ac_fn_c_try_compile
"$LINENO"; then :
14352 ac_cv_c_fortify_enabled
=no
14354 ac_cv_c_fortify_enabled
=yes
14356 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
14358 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_fortify_enabled" >&5
14359 $as_echo "$ac_cv_c_fortify_enabled" >&6; }
14360 if test "$ac_cv_c_fortify_enabled" = yes
14362 CFLAGS
="$CFLAGS -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=0"
14366 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether external symbols need an underscore prefix" >&5
14367 $as_echo_n "checking whether external symbols need an underscore prefix... " >&6; }
14368 if ${ac_cv_c_extern_prefix+:} false
; then :
14369 $as_echo_n "(cached) " >&6
14371 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14372 /* end confdefs.h. */
14373 extern int ac_test;
14377 asm(".globl _ac_test\n_ac_test:\t.long 0"); if (ac_test) return 1
14382 if ac_fn_c_try_link
"$LINENO"; then :
14383 ac_cv_c_extern_prefix
="yes"
14385 ac_cv_c_extern_prefix
="no"
14387 rm -f core conftest.err conftest.
$ac_objext \
14388 conftest
$ac_exeext conftest.
$ac_ext
14390 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_extern_prefix" >&5
14391 $as_echo "$ac_cv_c_extern_prefix" >&6; }
14395 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether external symbols need stdcall decoration" >&5
14396 $as_echo_n "checking whether external symbols need stdcall decoration... " >&6; }
14397 if ${ac_cv_c_stdcall_suffix+:} false
; then :
14398 $as_echo_n "(cached) " >&6
14400 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14401 /* end confdefs.h. */
14403 #define __stdcall __attribute__((__stdcall__))
14405 int __stdcall ac_test(int i) { return i; }
14409 asm("jmp _ac_test@4"); if (ac_test(1)) return 1
14414 if ac_fn_c_try_link
"$LINENO"; then :
14415 ac_cv_c_stdcall_suffix
="yes"
14417 ac_cv_c_stdcall_suffix
="no"
14419 rm -f core conftest.err conftest.
$ac_objext \
14420 conftest
$ac_exeext conftest.
$ac_ext
14422 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_stdcall_suffix" >&5
14423 $as_echo "$ac_cv_c_stdcall_suffix" >&6; } ;;
14424 *) ac_cv_c_stdcall_suffix
="no" ;;
14428 if test "$ac_cv_c_extern_prefix" = "yes"
14430 $as_echo "#define __ASM_NAME(name) \"_\" name" >>confdefs.h
14432 asm_name_prefix
="_"
14434 $as_echo "#define __ASM_NAME(name) name" >>confdefs.h
14440 if test "$ac_cv_c_stdcall_suffix" = "yes"
14442 $as_echo "#define __ASM_STDCALL(args) \"@\" #args" >>confdefs.h
14445 $as_echo "#define __ASM_STDCALL(args) \"\"" >>confdefs.h
14450 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to define a function in assembly code" >&5
14451 $as_echo_n "checking how to define a function in assembly code... " >&6; }
14452 if ${ac_cv_asm_func_def+:} false
; then :
14453 $as_echo_n "(cached) " >&6
14455 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14456 /* end confdefs.h. */
14461 asm("\t.globl _ac_test\n\t.def _ac_test; .scl 2; .type 32; .endef\n_ac_test:\t.long 0");
14466 if ac_fn_c_try_link
"$LINENO"; then :
14467 ac_cv_asm_func_def
=".def"
14469 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14470 /* end confdefs.h. */
14475 asm("\t.globl _ac_test\n\t.type _ac_test,@function\n_ac_test:\t.long 0");
14480 if ac_fn_c_try_link
"$LINENO"; then :
14481 ac_cv_asm_func_def
=".type @function"
14483 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14484 /* end confdefs.h. */
14489 asm("\t.globl _ac_test\n\t.type _ac_test,2\n_ac_test:\t.long 0");
14494 if ac_fn_c_try_link
"$LINENO"; then :
14495 ac_cv_asm_func_def
=".type 2"
14497 ac_cv_asm_func_def
="unknown"
14499 rm -f core conftest.err conftest.
$ac_objext \
14500 conftest
$ac_exeext conftest.
$ac_ext
14502 rm -f core conftest.err conftest.
$ac_objext \
14503 conftest
$ac_exeext conftest.
$ac_ext
14505 rm -f core conftest.err conftest.
$ac_objext \
14506 conftest
$ac_exeext conftest.
$ac_ext
14508 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_asm_func_def" >&5
14509 $as_echo "$ac_cv_asm_func_def" >&6; }
14512 case "$ac_cv_asm_func_def" in
14514 $as_echo "#define __ASM_FUNC(name) \".def \" __ASM_NAME(name) \"; .scl 2; .type 32; .endef\"" >>confdefs.h
14516 asm_func_header
=".def $asm_name_prefix\" #name suffix \"; .scl 2; .type 32; .endef" ;;
14518 $as_echo "#define __ASM_FUNC(name) \".type \" __ASM_NAME(name) \",@function\"" >>confdefs.h
14520 asm_func_header
=".type $asm_name_prefix\" #name suffix \",@function" ;;
14522 $as_echo "#define __ASM_FUNC(name) \".type \" __ASM_NAME(name) \",2\"" >>confdefs.h
14524 asm_func_header
=".type $asm_name_prefix\" #name suffix \",2" ;;
14526 $as_echo "#define __ASM_FUNC(name) \"\"" >>confdefs.h
14528 asm_func_header
="" ;;
14531 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether asm() works outside of functions" >&5
14532 $as_echo_n "checking whether asm() works outside of functions... " >&6; }
14533 if ${ac_cv_c_asm_outside_funcs+:} false
; then :
14534 $as_echo_n "(cached) " >&6
14536 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14537 /* end confdefs.h. */
14538 asm(".text\n\t.long 0");
14547 if ac_fn_c_try_compile
"$LINENO"; then :
14548 ac_cv_c_asm_outside_funcs
="yes"
14550 ac_cv_c_asm_outside_funcs
="no"
14552 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
14554 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_asm_outside_funcs" >&5
14555 $as_echo "$ac_cv_c_asm_outside_funcs" >&6; }
14557 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether .previous is supported in assembly code" >&5
14558 $as_echo_n "checking whether .previous is supported in assembly code... " >&6; }
14559 if ${ac_cv_c_dot_previous+:} false
; then :
14560 $as_echo_n "(cached) " >&6
14562 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14563 /* end confdefs.h. */
14568 asm(".text\nac_test:\t.long 0\n\t.previous");
14573 if ac_fn_c_try_link
"$LINENO"; then :
14574 ac_cv_c_dot_previous
="yes"
14576 ac_cv_c_dot_previous
="no"
14578 rm -f core conftest.err conftest.
$ac_objext \
14579 conftest
$ac_exeext conftest.
$ac_ext
14581 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_dot_previous" >&5
14582 $as_echo "$ac_cv_c_dot_previous" >&6; }
14584 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether CFI directives are supported in assembly code" >&5
14585 $as_echo_n "checking whether CFI directives are supported in assembly code... " >&6; }
14586 if ${ac_cv_c_cfi_support+:} false
; then :
14587 $as_echo_n "(cached) " >&6
14589 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14590 /* end confdefs.h. */
14591 asm(".text\nac_test:\t.cfi_startproc\n\t.long 0\n\t.cfi_endproc");
14600 if ac_fn_c_try_compile
"$LINENO"; then :
14601 ac_cv_c_cfi_support
="yes"
14603 ac_cv_c_cfi_support
="no"
14605 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
14607 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_cfi_support" >&5
14608 $as_echo "$ac_cv_c_cfi_support" >&6; }
14610 asm_func_header
=".globl $asm_name_prefix\" #name suffix \"\\n\\t$asm_func_header\\n$asm_name_prefix\" #name suffix \":\\n\\t"
14611 asm_func_trailer
=""
14612 if test "$ac_cv_c_dot_previous" = "yes"
14614 asm_func_trailer
="\\n\\t.previous"
14616 if test "$ac_cv_c_cfi_support" = "yes"
14618 asm_func_header
="$asm_func_header.cfi_startproc\\n\\t"
14619 asm_func_trailer
="\\n\\t.cfi_endproc$asm_func_trailer"
14621 $as_echo "#define __ASM_CFI(str) str" >>confdefs.h
14623 UNWINDFLAGS
=-fasynchronous-unwind-tables
14626 $as_echo "#define __ASM_CFI(str) \"\"" >>confdefs.h
14630 asm_func_code
="$asm_func_header\" code \"$asm_func_trailer"
14633 if test "$ac_cv_c_asm_outside_funcs" = "yes"
14635 cat >>confdefs.h
<<_ACEOF
14636 #define __ASM_DEFINE_FUNC(name,suffix,code) asm(".text\n\t.align 4\n\t$asm_func_code");
14640 cat >>confdefs.h
<<_ACEOF
14641 #define __ASM_DEFINE_FUNC(name,suffix,code) void __asm_dummy_##name(void) { asm(".text\n\t.align 4\n\t$asm_func_code"); }
14646 $as_echo "#define __ASM_GLOBAL_FUNC(name,code) __ASM_DEFINE_FUNC(name,\"\",code)" >>confdefs.h
14649 $as_echo "#define __ASM_STDCALL_FUNC(name,args,code) __ASM_DEFINE_FUNC(name,__ASM_STDCALL(args),code)" >>confdefs.h
14654 cygwin
*|mingw32
*) TOOLSEXT
=".exe"
14661 *i
[3456789]86*|x86_64
*)
14662 test "$wine_binary" = wine || wine_fn_ignore_file
"loader/wine-preloader"
14663 loader_programs
="$loader_programs $wine_binary-preloader"
14664 as_fn_append LOADER_RULES
"
14665 $wine_binary-preloader: preloader.o
14666 \$(CC) -o \$@ -static -nostartfiles -nodefaultlibs -Wl,-Ttext=0x7c400000 preloader.o \$(LIBPORT) \$(LDFLAGS)
14668 install install-lib:: $wine_binary-preloader
14669 \$(INSTALL_PROGRAM) $wine_binary-preloader \$(DESTDIR)\$(bindir)/$wine_binary-preloader
14672 \$(RM) \$(DESTDIR)\$(bindir)/$wine_binary-preloader
14674 preloader_EXTRADEFS = $BUILTINFLAG
14679 as_fn_append LOADER_RULES
"
14680 PROGRAMS = $loader_programs
14684 ac_save_CFLAGS
="$CFLAGS"
14685 CFLAGS
="$CFLAGS $BUILTINFLAG"
14764 as_ac_var
=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
14765 ac_fn_c_check_func
"$LINENO" "$ac_func" "$as_ac_var"
14766 if eval test \"x\$
"$as_ac_var"\" = x
"yes"; then :
14767 cat >>confdefs.h
<<_ACEOF
14768 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
14774 CFLAGS
="$ac_save_CFLAGS"
14776 if test "$ac_cv_func_dlopen" = no
14778 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
14779 $as_echo_n "checking for dlopen in -ldl... " >&6; }
14780 if ${ac_cv_lib_dl_dlopen+:} false
; then :
14781 $as_echo_n "(cached) " >&6
14783 ac_check_lib_save_LIBS
=$LIBS
14785 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14786 /* end confdefs.h. */
14788 /* Override any GCC internal prototype to avoid an error.
14789 Use char because int might match the return type of a GCC
14790 builtin and then its argument prototype would still apply. */
14803 if ac_fn_c_try_link
"$LINENO"; then :
14804 ac_cv_lib_dl_dlopen
=yes
14806 ac_cv_lib_dl_dlopen
=no
14808 rm -f core conftest.err conftest.
$ac_objext \
14809 conftest
$ac_exeext conftest.
$ac_ext
14810 LIBS
=$ac_check_lib_save_LIBS
14812 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
14813 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
14814 if test "x$ac_cv_lib_dl_dlopen" = xyes
; then :
14815 $as_echo "#define HAVE_DLOPEN 1" >>confdefs.h
14821 ac_wine_check_funcs_save_LIBS
="$LIBS"
14822 LIBS
="$LIBS $DL_LIBS"
14823 for ac_func
in dladdr
14825 ac_fn_c_check_func
"$LINENO" "dladdr" "ac_cv_func_dladdr"
14826 if test "x$ac_cv_func_dladdr" = xyes
; then :
14827 cat >>confdefs.h
<<_ACEOF
14828 #define HAVE_DLADDR 1
14834 LIBS
="$ac_wine_check_funcs_save_LIBS"
14836 if test "$ac_cv_func_poll" = no
14838 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for poll in -lpoll" >&5
14839 $as_echo_n "checking for poll in -lpoll... " >&6; }
14840 if ${ac_cv_lib_poll_poll+:} false
; then :
14841 $as_echo_n "(cached) " >&6
14843 ac_check_lib_save_LIBS
=$LIBS
14844 LIBS
="-lpoll $LIBS"
14845 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14846 /* end confdefs.h. */
14848 /* Override any GCC internal prototype to avoid an error.
14849 Use char because int might match the return type of a GCC
14850 builtin and then its argument prototype would still apply. */
14863 if ac_fn_c_try_link
"$LINENO"; then :
14864 ac_cv_lib_poll_poll
=yes
14866 ac_cv_lib_poll_poll
=no
14868 rm -f core conftest.err conftest.
$ac_objext \
14869 conftest
$ac_exeext conftest.
$ac_ext
14870 LIBS
=$ac_check_lib_save_LIBS
14872 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_poll_poll" >&5
14873 $as_echo "$ac_cv_lib_poll_poll" >&6; }
14874 if test "x$ac_cv_lib_poll_poll" = xyes
; then :
14875 $as_echo "#define HAVE_POLL 1" >>confdefs.h
14882 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing gethostbyname" >&5
14883 $as_echo_n "checking for library containing gethostbyname... " >&6; }
14884 if ${ac_cv_search_gethostbyname+:} false
; then :
14885 $as_echo_n "(cached) " >&6
14887 ac_func_search_save_LIBS
=$LIBS
14888 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14889 /* end confdefs.h. */
14891 /* Override any GCC internal prototype to avoid an error.
14892 Use char because int might match the return type of a GCC
14893 builtin and then its argument prototype would still apply. */
14897 char gethostbyname ();
14901 return gethostbyname ();
14906 for ac_lib
in '' nsl
; do
14907 if test -z "$ac_lib"; then
14908 ac_res
="none required"
14911 LIBS
="-l$ac_lib $ac_func_search_save_LIBS"
14913 if ac_fn_c_try_link
"$LINENO"; then :
14914 ac_cv_search_gethostbyname
=$ac_res
14916 rm -f core conftest.err conftest.
$ac_objext \
14918 if ${ac_cv_search_gethostbyname+:} false
; then :
14922 if ${ac_cv_search_gethostbyname+:} false
; then :
14925 ac_cv_search_gethostbyname
=no
14927 rm conftest.
$ac_ext
14928 LIBS
=$ac_func_search_save_LIBS
14930 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_gethostbyname" >&5
14931 $as_echo "$ac_cv_search_gethostbyname" >&6; }
14932 ac_res
=$ac_cv_search_gethostbyname
14933 if test "$ac_res" != no
; then :
14934 test "$ac_res" = "none required" || LIBS
="$ac_res $LIBS"
14939 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing connect" >&5
14940 $as_echo_n "checking for library containing connect... " >&6; }
14941 if ${ac_cv_search_connect+:} false
; then :
14942 $as_echo_n "(cached) " >&6
14944 ac_func_search_save_LIBS
=$LIBS
14945 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14946 /* end confdefs.h. */
14948 /* Override any GCC internal prototype to avoid an error.
14949 Use char because int might match the return type of a GCC
14950 builtin and then its argument prototype would still apply. */
14963 for ac_lib
in '' socket
; do
14964 if test -z "$ac_lib"; then
14965 ac_res
="none required"
14968 LIBS
="-l$ac_lib $ac_func_search_save_LIBS"
14970 if ac_fn_c_try_link
"$LINENO"; then :
14971 ac_cv_search_connect
=$ac_res
14973 rm -f core conftest.err conftest.
$ac_objext \
14975 if ${ac_cv_search_connect+:} false
; then :
14979 if ${ac_cv_search_connect+:} false
; then :
14982 ac_cv_search_connect
=no
14984 rm conftest.
$ac_ext
14985 LIBS
=$ac_func_search_save_LIBS
14987 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_connect" >&5
14988 $as_echo "$ac_cv_search_connect" >&6; }
14989 ac_res
=$ac_cv_search_connect
14990 if test "$ac_res" != no
; then :
14991 test "$ac_res" = "none required" || LIBS
="$ac_res $LIBS"
14996 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing inet_aton" >&5
14997 $as_echo_n "checking for library containing inet_aton... " >&6; }
14998 if ${ac_cv_search_inet_aton+:} false
; then :
14999 $as_echo_n "(cached) " >&6
15001 ac_func_search_save_LIBS
=$LIBS
15002 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15003 /* end confdefs.h. */
15005 /* Override any GCC internal prototype to avoid an error.
15006 Use char because int might match the return type of a GCC
15007 builtin and then its argument prototype would still apply. */
15015 return inet_aton ();
15020 for ac_lib
in '' resolv
; do
15021 if test -z "$ac_lib"; then
15022 ac_res
="none required"
15025 LIBS
="-l$ac_lib $ac_func_search_save_LIBS"
15027 if ac_fn_c_try_link
"$LINENO"; then :
15028 ac_cv_search_inet_aton
=$ac_res
15030 rm -f core conftest.err conftest.
$ac_objext \
15032 if ${ac_cv_search_inet_aton+:} false
; then :
15036 if ${ac_cv_search_inet_aton+:} false
; then :
15039 ac_cv_search_inet_aton
=no
15041 rm conftest.
$ac_ext
15042 LIBS
=$ac_func_search_save_LIBS
15044 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_inet_aton" >&5
15045 $as_echo "$ac_cv_search_inet_aton" >&6; }
15046 ac_res
=$ac_cv_search_inet_aton
15047 if test "$ac_res" != no
; then :
15048 test "$ac_res" = "none required" || LIBS
="$ac_res $LIBS"
15068 as_ac_var
=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
15069 ac_fn_c_check_func
"$LINENO" "$ac_func" "$as_ac_var"
15070 if eval test \"x\$
"$as_ac_var"\" = x
"yes"; then :
15071 cat >>confdefs.h
<<_ACEOF
15072 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
15080 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing clock_gettime" >&5
15081 $as_echo_n "checking for library containing clock_gettime... " >&6; }
15082 if ${ac_cv_search_clock_gettime+:} false
; then :
15083 $as_echo_n "(cached) " >&6
15085 ac_func_search_save_LIBS
=$LIBS
15086 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15087 /* end confdefs.h. */
15089 /* Override any GCC internal prototype to avoid an error.
15090 Use char because int might match the return type of a GCC
15091 builtin and then its argument prototype would still apply. */
15095 char clock_gettime ();
15099 return clock_gettime ();
15104 for ac_lib
in '' rt
; do
15105 if test -z "$ac_lib"; then
15106 ac_res
="none required"
15109 LIBS
="-l$ac_lib $ac_func_search_save_LIBS"
15111 if ac_fn_c_try_link
"$LINENO"; then :
15112 ac_cv_search_clock_gettime
=$ac_res
15114 rm -f core conftest.err conftest.
$ac_objext \
15116 if ${ac_cv_search_clock_gettime+:} false
; then :
15120 if ${ac_cv_search_clock_gettime+:} false
; then :
15123 ac_cv_search_clock_gettime
=no
15125 rm conftest.
$ac_ext
15126 LIBS
=$ac_func_search_save_LIBS
15128 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_clock_gettime" >&5
15129 $as_echo "$ac_cv_search_clock_gettime" >&6; }
15130 ac_res
=$ac_cv_search_clock_gettime
15131 if test "$ac_res" != no
; then :
15132 test "$ac_res" = "none required" || LIBS
="$ac_res $LIBS"
15134 $as_echo "#define HAVE_CLOCK_GETTIME 1" >>confdefs.h
15136 test "$ac_res" = "none required" || RT_LIBS
="$ac_res"
15144 if test "$ac_cv_header_ldap_h" = "yes" -a "$ac_cv_header_lber_h" = "yes"
15146 ac_fn_c_check_type
"$LINENO" "LDAPSortKey" "ac_cv_type_LDAPSortKey" "#include <ldap.h>
15148 if test "x$ac_cv_type_LDAPSortKey" = xyes
; then :
15149 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldap_initialize in -lldap_r" >&5
15150 $as_echo_n "checking for ldap_initialize in -lldap_r... " >&6; }
15151 if ${ac_cv_lib_ldap_r_ldap_initialize+:} false
; then :
15152 $as_echo_n "(cached) " >&6
15154 ac_check_lib_save_LIBS
=$LIBS
15155 LIBS
="-lldap_r $PTHREAD_LIBS $LIBS"
15156 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15157 /* end confdefs.h. */
15159 /* Override any GCC internal prototype to avoid an error.
15160 Use char because int might match the return type of a GCC
15161 builtin and then its argument prototype would still apply. */
15165 char ldap_initialize ();
15169 return ldap_initialize ();
15174 if ac_fn_c_try_link
"$LINENO"; then :
15175 ac_cv_lib_ldap_r_ldap_initialize
=yes
15177 ac_cv_lib_ldap_r_ldap_initialize
=no
15179 rm -f core conftest.err conftest.
$ac_objext \
15180 conftest
$ac_exeext conftest.
$ac_ext
15181 LIBS
=$ac_check_lib_save_LIBS
15183 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ldap_r_ldap_initialize" >&5
15184 $as_echo "$ac_cv_lib_ldap_r_ldap_initialize" >&6; }
15185 if test "x$ac_cv_lib_ldap_r_ldap_initialize" = xyes
; then :
15186 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ber_init in -llber" >&5
15187 $as_echo_n "checking for ber_init in -llber... " >&6; }
15188 if ${ac_cv_lib_lber_ber_init+:} false
; then :
15189 $as_echo_n "(cached) " >&6
15191 ac_check_lib_save_LIBS
=$LIBS
15192 LIBS
="-llber $PTHREAD_LIBS $LIBS"
15193 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15194 /* end confdefs.h. */
15196 /* Override any GCC internal prototype to avoid an error.
15197 Use char because int might match the return type of a GCC
15198 builtin and then its argument prototype would still apply. */
15206 return ber_init ();
15211 if ac_fn_c_try_link
"$LINENO"; then :
15212 ac_cv_lib_lber_ber_init
=yes
15214 ac_cv_lib_lber_ber_init
=no
15216 rm -f core conftest.err conftest.
$ac_objext \
15217 conftest
$ac_exeext conftest.
$ac_ext
15218 LIBS
=$ac_check_lib_save_LIBS
15220 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_lber_ber_init" >&5
15221 $as_echo "$ac_cv_lib_lber_ber_init" >&6; }
15222 if test "x$ac_cv_lib_lber_ber_init" = xyes
; then :
15224 $as_echo "#define HAVE_LDAP 1" >>confdefs.h
15226 LDAP_LIBS
="-lldap_r -llber"
15233 ac_wine_check_funcs_save_LIBS
="$LIBS"
15234 LIBS
="$LIBS $LDAP_LIBS $PTHREAD_LIBS"
15236 ldap_count_references \
15237 ldap_first_reference \
15238 ldap_next_reference \
15239 ldap_parse_reference \
15240 ldap_parse_sort_control \
15241 ldap_parse_sortresponse_control \
15242 ldap_parse_vlv_control \
15243 ldap_parse_vlvresponse_control
15245 as_ac_var
=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
15246 ac_fn_c_check_func
"$LINENO" "$ac_func" "$as_ac_var"
15247 if eval test \"x\$
"$as_ac_var"\" = x
"yes"; then :
15248 cat >>confdefs.h
<<_ACEOF
15249 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
15255 LIBS
="$ac_wine_check_funcs_save_LIBS"
15257 if test "x$LDAP_LIBS" = "x"; then :
15258 case "x$with_ldap" in
15259 x
) as_fn_append wine_notices
"|libldap (OpenLDAP) ${notice_platform}development files not found, LDAP won't be supported." ;;
15261 *) as_fn_error $?
"libldap (OpenLDAP) ${notice_platform}development files not found, LDAP won't be supported.
15262 This is an error since --with-ldap was requested." "$LINENO" 5 ;;
15266 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether mkdir takes only one argument" >&5
15267 $as_echo_n "checking whether mkdir takes only one argument... " >&6; }
15268 if ${wine_cv_one_arg_mkdir+:} false
; then :
15269 $as_echo_n "(cached) " >&6
15271 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15272 /* end confdefs.h. */
15273 #include <sys/stat.h>
15282 if ac_fn_c_try_compile
"$LINENO"; then :
15283 wine_cv_one_arg_mkdir
=yes
15285 wine_cv_one_arg_mkdir
=no
15287 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
15289 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_one_arg_mkdir" >&5
15290 $as_echo "$wine_cv_one_arg_mkdir" >&6; }
15291 if test "$wine_cv_one_arg_mkdir" = "yes"
15294 $as_echo "#define HAVE_ONE_ARG_MKDIR 1" >>confdefs.h
15298 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sched_setaffinity" >&5
15299 $as_echo_n "checking for sched_setaffinity... " >&6; }
15300 if ${wine_cv_have_sched_setaffinity+:} false
; then :
15301 $as_echo_n "(cached) " >&6
15303 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15304 /* end confdefs.h. */
15305 #define _GNU_SOURCE
15310 sched_setaffinity(0, 0, 0);
15315 if ac_fn_c_try_link
"$LINENO"; then :
15316 wine_cv_have_sched_setaffinity
=yes
15318 wine_cv_have_sched_setaffinity
=no
15320 rm -f core conftest.err conftest.
$ac_objext \
15321 conftest
$ac_exeext conftest.
$ac_ext
15323 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_have_sched_setaffinity" >&5
15324 $as_echo "$wine_cv_have_sched_setaffinity" >&6; }
15325 if test "$wine_cv_have_sched_setaffinity" = "yes"
15328 $as_echo "#define HAVE_SCHED_SETAFFINITY 1" >>confdefs.h
15332 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fallocate" >&5
15333 $as_echo_n "checking for fallocate... " >&6; }
15334 if ${wine_cv_have_fallocate+:} false
; then :
15335 $as_echo_n "(cached) " >&6
15337 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15338 /* end confdefs.h. */
15339 #define _GNU_SOURCE
15344 fallocate(-1, 0, 0, 0);
15349 if ac_fn_c_try_link
"$LINENO"; then :
15350 wine_cv_have_fallocate
=yes
15352 wine_cv_have_fallocate
=no
15354 rm -f core conftest.err conftest.
$ac_objext \
15355 conftest
$ac_exeext conftest.
$ac_ext
15357 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_have_fallocate" >&5
15358 $as_echo "$wine_cv_have_fallocate" >&6; }
15359 if test "$wine_cv_have_fallocate" = "yes"
15362 $as_echo "#define HAVE_FALLOCATE 1" >>confdefs.h
15367 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for inline" >&5
15368 $as_echo_n "checking for inline... " >&6; }
15369 if ${ac_cv_c_inline+:} false
; then :
15370 $as_echo_n "(cached) " >&6
15373 for ac_kw
in inline __inline__ __inline
; do
15374 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15375 /* end confdefs.h. */
15376 #ifndef __cplusplus
15378 static $ac_kw foo_t static_foo () {return 0; }
15379 $ac_kw foo_t foo () {return 0; }
15383 if ac_fn_c_try_compile
"$LINENO"; then :
15384 ac_cv_c_inline
=$ac_kw
15386 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
15387 test "$ac_cv_c_inline" != no
&& break
15391 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_inline" >&5
15392 $as_echo "$ac_cv_c_inline" >&6; }
15394 case $ac_cv_c_inline in
15397 case $ac_cv_c_inline in
15399 *) ac_val
=$ac_cv_c_inline;;
15401 cat >>confdefs.h
<<_ACEOF
15402 #ifndef __cplusplus
15403 #define inline $ac_val
15409 ac_fn_c_check_type
"$LINENO" "mode_t" "ac_cv_type_mode_t" "$ac_includes_default"
15410 if test "x$ac_cv_type_mode_t" = xyes
; then :
15412 cat >>confdefs.h
<<_ACEOF
15413 #define HAVE_MODE_T 1
15418 ac_fn_c_check_type
"$LINENO" "off_t" "ac_cv_type_off_t" "$ac_includes_default"
15419 if test "x$ac_cv_type_off_t" = xyes
; then :
15421 cat >>confdefs.h
<<_ACEOF
15422 #define HAVE_OFF_T 1
15427 ac_fn_c_check_type
"$LINENO" "pid_t" "ac_cv_type_pid_t" "$ac_includes_default"
15428 if test "x$ac_cv_type_pid_t" = xyes
; then :
15430 cat >>confdefs.h
<<_ACEOF
15431 #define HAVE_PID_T 1
15436 ac_fn_c_check_type
"$LINENO" "size_t" "ac_cv_type_size_t" "$ac_includes_default"
15437 if test "x$ac_cv_type_size_t" = xyes
; then :
15439 cat >>confdefs.h
<<_ACEOF
15440 #define HAVE_SIZE_T 1
15445 ac_fn_c_check_type
"$LINENO" "ssize_t" "ac_cv_type_ssize_t" "$ac_includes_default"
15446 if test "x$ac_cv_type_ssize_t" = xyes
; then :
15448 cat >>confdefs.h
<<_ACEOF
15449 #define HAVE_SSIZE_T 1
15454 ac_fn_c_check_type
"$LINENO" "long long" "ac_cv_type_long_long" "$ac_includes_default"
15455 if test "x$ac_cv_type_long_long" = xyes
; then :
15457 cat >>confdefs.h
<<_ACEOF
15458 #define HAVE_LONG_LONG 1
15463 ac_fn_c_check_type
"$LINENO" "fsblkcnt_t" "ac_cv_type_fsblkcnt_t" "$ac_includes_default"
15464 if test "x$ac_cv_type_fsblkcnt_t" = xyes
; then :
15466 cat >>confdefs.h
<<_ACEOF
15467 #define HAVE_FSBLKCNT_T 1
15472 ac_fn_c_check_type
"$LINENO" "fsfilcnt_t" "ac_cv_type_fsfilcnt_t" "$ac_includes_default"
15473 if test "x$ac_cv_type_fsfilcnt_t" = xyes
; then :
15475 cat >>confdefs.h
<<_ACEOF
15476 #define HAVE_FSFILCNT_T 1
15482 ac_fn_c_check_type
"$LINENO" "sigset_t" "ac_cv_type_sigset_t" "#include <sys/types.h>
15483 #include <signal.h>
15485 if test "x$ac_cv_type_sigset_t" = xyes
; then :
15487 cat >>confdefs.h
<<_ACEOF
15488 #define HAVE_SIGSET_T 1
15494 ac_fn_c_check_type
"$LINENO" "request_sense" "ac_cv_type_request_sense" "#include <linux/cdrom.h>
15496 if test "x$ac_cv_type_request_sense" = xyes
; then :
15498 cat >>confdefs.h
<<_ACEOF
15499 #define HAVE_REQUEST_SENSE 1
15506 ac_fn_c_check_type
"$LINENO" "struct xinpgen" "ac_cv_type_struct_xinpgen" "#include <sys/types.h>
15507 #ifdef HAVE_SYS_SOCKET_H
15508 #include <sys/socket.h>
15510 #ifdef HAVE_SYS_SOCKETVAR_H
15511 #include <sys/socketvar.h>
15513 #ifdef HAVE_NET_ROUTE_H
15514 #include <net/route.h>
15516 #ifdef HAVE_NETINET_IN_H
15517 #include <netinet/in.h>
15519 #ifdef HAVE_NETINET_IN_SYSTM_H
15520 #include <netinet/in_systm.h>
15522 #ifdef HAVE_NETINET_IP_H
15523 #include <netinet/ip.h>
15525 #ifdef HAVE_NETINET_IN_PCB_H
15526 #include <netinet/in_pcb.h>
15529 if test "x$ac_cv_type_struct_xinpgen" = xyes
; then :
15531 cat >>confdefs.h
<<_ACEOF
15532 #define HAVE_STRUCT_XINPGEN 1
15539 ac_fn_c_check_type
"$LINENO" "struct r_debug" "ac_cv_type_struct_r_debug" "#ifdef HAVE_LINK_H
15542 #ifdef HAVE_SYS_LINK_H
15543 #include <sys/link.h>
15546 if test "x$ac_cv_type_struct_r_debug" = xyes
; then :
15548 cat >>confdefs.h
<<_ACEOF
15549 #define HAVE_STRUCT_R_DEBUG 1
15554 ac_fn_c_check_type
"$LINENO" "struct link_map" "ac_cv_type_struct_link_map" "#ifdef HAVE_LINK_H
15557 #ifdef HAVE_SYS_LINK_H
15558 #include <sys/link.h>
15561 if test "x$ac_cv_type_struct_link_map" = xyes
; then :
15563 cat >>confdefs.h
<<_ACEOF
15564 #define HAVE_STRUCT_LINK_MAP 1
15571 ac_fn_c_check_member
"$LINENO" "struct ff_effect" "direction" "ac_cv_member_struct_ff_effect_direction" "#ifdef HAVE_LINUX_INPUT_H
15572 #include <linux/input.h>
15575 if test "x$ac_cv_member_struct_ff_effect_direction" = xyes
; then :
15577 cat >>confdefs.h
<<_ACEOF
15578 #define HAVE_STRUCT_FF_EFFECT_DIRECTION 1
15585 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sigaddset" >&5
15586 $as_echo_n "checking for sigaddset... " >&6; }
15587 if ${wine_cv_have_sigaddset+:} false
; then :
15588 $as_echo_n "(cached) " >&6
15590 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15591 /* end confdefs.h. */
15592 #include <signal.h>
15596 sigset_t set; sigaddset(&set,SIGTERM);
15601 if ac_fn_c_try_link
"$LINENO"; then :
15602 wine_cv_have_sigaddset
=yes
15604 wine_cv_have_sigaddset
=no
15606 rm -f core conftest.err conftest.
$ac_objext \
15607 conftest
$ac_exeext conftest.
$ac_ext
15609 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_have_sigaddset" >&5
15610 $as_echo "$wine_cv_have_sigaddset" >&6; }
15611 if test "$wine_cv_have_sigaddset" = "yes"
15614 $as_echo "#define HAVE_SIGADDSET 1" >>confdefs.h
15619 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we can use re-entrant gethostbyname_r Linux style" >&5
15620 $as_echo_n "checking whether we can use re-entrant gethostbyname_r Linux style... " >&6; }
15621 if ${wine_cv_linux_gethostbyname_r_6+:} false
; then :
15622 $as_echo_n "(cached) " >&6
15624 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15625 /* end confdefs.h. */
15633 struct hostent *result;
15640 gethostbyname_r(name,&he,buf,bufsize,&result,&errnr);
15641 gethostbyaddr_r(addr, addrlen, addrtype,&he,buf,bufsize,&result,&errnr);
15647 if ac_fn_c_try_link
"$LINENO"; then :
15648 wine_cv_linux_gethostbyname_r_6
=yes
15650 wine_cv_linux_gethostbyname_r_6
=no
15653 rm -f core conftest.err conftest.
$ac_objext \
15654 conftest
$ac_exeext conftest.
$ac_ext
15657 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_linux_gethostbyname_r_6" >&5
15658 $as_echo "$wine_cv_linux_gethostbyname_r_6" >&6; }
15659 if test "$wine_cv_linux_gethostbyname_r_6" = "yes"
15662 $as_echo "#define HAVE_LINUX_GETHOSTBYNAME_R_6 1" >>confdefs.h
15666 if test "$ac_cv_header_linux_joystick_h" = "yes"
15668 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether linux/joystick.h uses the Linux 2.2+ API" >&5
15669 $as_echo_n "checking whether linux/joystick.h uses the Linux 2.2+ API... " >&6; }
15670 if ${wine_cv_linux_joystick_22_api+:} false
; then :
15671 $as_echo_n "(cached) " >&6
15673 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15674 /* end confdefs.h. */
15676 #include <sys/ioctl.h>
15677 #include <sys/types.h>
15678 #include <linux/joystick.h>
15680 struct js_event blub;
15681 #if !defined(JS_EVENT_AXIS) || !defined(JS_EVENT_BUTTON)
15682 #error "no 2.2 header"
15693 if ac_fn_c_try_compile
"$LINENO"; then :
15694 wine_cv_linux_joystick_22_api
=yes
15696 wine_cv_linux_joystick_22_api
=no
15698 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
15701 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_linux_joystick_22_api" >&5
15702 $as_echo "$wine_cv_linux_joystick_22_api" >&6; }
15703 if test "$wine_cv_linux_joystick_22_api" = "yes"
15706 $as_echo "#define HAVE_LINUX_22_JOYSTICK_API 1" >>confdefs.h
15712 ac_fn_c_check_member
"$LINENO" "struct statfs" "f_bfree" "ac_cv_member_struct_statfs_f_bfree" "#include <sys/types.h>
15713 #ifdef HAVE_SYS_PARAM_H
15714 # include <sys/param.h>
15716 #ifdef HAVE_SYS_MOUNT_H
15717 # include <sys/mount.h>
15719 #ifdef HAVE_SYS_VFS_H
15720 # include <sys/vfs.h>
15722 #ifdef HAVE_SYS_STATFS_H
15723 # include <sys/statfs.h>
15726 if test "x$ac_cv_member_struct_statfs_f_bfree" = xyes
; then :
15728 cat >>confdefs.h
<<_ACEOF
15729 #define HAVE_STRUCT_STATFS_F_BFREE 1
15734 ac_fn_c_check_member
"$LINENO" "struct statfs" "f_bavail" "ac_cv_member_struct_statfs_f_bavail" "#include <sys/types.h>
15735 #ifdef HAVE_SYS_PARAM_H
15736 # include <sys/param.h>
15738 #ifdef HAVE_SYS_MOUNT_H
15739 # include <sys/mount.h>
15741 #ifdef HAVE_SYS_VFS_H
15742 # include <sys/vfs.h>
15744 #ifdef HAVE_SYS_STATFS_H
15745 # include <sys/statfs.h>
15748 if test "x$ac_cv_member_struct_statfs_f_bavail" = xyes
; then :
15750 cat >>confdefs.h
<<_ACEOF
15751 #define HAVE_STRUCT_STATFS_F_BAVAIL 1
15756 ac_fn_c_check_member
"$LINENO" "struct statfs" "f_frsize" "ac_cv_member_struct_statfs_f_frsize" "#include <sys/types.h>
15757 #ifdef HAVE_SYS_PARAM_H
15758 # include <sys/param.h>
15760 #ifdef HAVE_SYS_MOUNT_H
15761 # include <sys/mount.h>
15763 #ifdef HAVE_SYS_VFS_H
15764 # include <sys/vfs.h>
15766 #ifdef HAVE_SYS_STATFS_H
15767 # include <sys/statfs.h>
15770 if test "x$ac_cv_member_struct_statfs_f_frsize" = xyes
; then :
15772 cat >>confdefs.h
<<_ACEOF
15773 #define HAVE_STRUCT_STATFS_F_FRSIZE 1
15778 ac_fn_c_check_member
"$LINENO" "struct statfs" "f_ffree" "ac_cv_member_struct_statfs_f_ffree" "#include <sys/types.h>
15779 #ifdef HAVE_SYS_PARAM_H
15780 # include <sys/param.h>
15782 #ifdef HAVE_SYS_MOUNT_H
15783 # include <sys/mount.h>
15785 #ifdef HAVE_SYS_VFS_H
15786 # include <sys/vfs.h>
15788 #ifdef HAVE_SYS_STATFS_H
15789 # include <sys/statfs.h>
15792 if test "x$ac_cv_member_struct_statfs_f_ffree" = xyes
; then :
15794 cat >>confdefs.h
<<_ACEOF
15795 #define HAVE_STRUCT_STATFS_F_FFREE 1
15800 ac_fn_c_check_member
"$LINENO" "struct statfs" "f_favail" "ac_cv_member_struct_statfs_f_favail" "#include <sys/types.h>
15801 #ifdef HAVE_SYS_PARAM_H
15802 # include <sys/param.h>
15804 #ifdef HAVE_SYS_MOUNT_H
15805 # include <sys/mount.h>
15807 #ifdef HAVE_SYS_VFS_H
15808 # include <sys/vfs.h>
15810 #ifdef HAVE_SYS_STATFS_H
15811 # include <sys/statfs.h>
15814 if test "x$ac_cv_member_struct_statfs_f_favail" = xyes
; then :
15816 cat >>confdefs.h
<<_ACEOF
15817 #define HAVE_STRUCT_STATFS_F_FAVAIL 1
15822 ac_fn_c_check_member
"$LINENO" "struct statfs" "f_namelen" "ac_cv_member_struct_statfs_f_namelen" "#include <sys/types.h>
15823 #ifdef HAVE_SYS_PARAM_H
15824 # include <sys/param.h>
15826 #ifdef HAVE_SYS_MOUNT_H
15827 # include <sys/mount.h>
15829 #ifdef HAVE_SYS_VFS_H
15830 # include <sys/vfs.h>
15832 #ifdef HAVE_SYS_STATFS_H
15833 # include <sys/statfs.h>
15836 if test "x$ac_cv_member_struct_statfs_f_namelen" = xyes
; then :
15838 cat >>confdefs.h
<<_ACEOF
15839 #define HAVE_STRUCT_STATFS_F_NAMELEN 1
15846 ac_fn_c_check_member
"$LINENO" "struct statvfs" "f_blocks" "ac_cv_member_struct_statvfs_f_blocks" "#ifdef HAVE_SYS_STATVFS_H
15847 #include <sys/statvfs.h>
15850 if test "x$ac_cv_member_struct_statvfs_f_blocks" = xyes
; then :
15852 cat >>confdefs.h
<<_ACEOF
15853 #define HAVE_STRUCT_STATVFS_F_BLOCKS 1
15860 ac_fn_c_check_member
"$LINENO" "struct dirent" "d_reclen" "ac_cv_member_struct_dirent_d_reclen" "#ifdef HAVE_DIRENT_H
15861 #include <dirent.h>
15864 if test "x$ac_cv_member_struct_dirent_d_reclen" = xyes
; then :
15866 cat >>confdefs.h
<<_ACEOF
15867 #define HAVE_STRUCT_DIRENT_D_RECLEN 1
15874 ac_fn_c_check_member
"$LINENO" "struct msghdr" "msg_accrights" "ac_cv_member_struct_msghdr_msg_accrights" "#include <sys/types.h>
15875 #ifdef HAVE_SYS_SOCKET_H
15876 # include <sys/socket.h>
15878 #ifdef HAVE_SYS_UN_H
15879 # include <sys/un.h>
15882 if test "x$ac_cv_member_struct_msghdr_msg_accrights" = xyes
; then :
15884 cat >>confdefs.h
<<_ACEOF
15885 #define HAVE_STRUCT_MSGHDR_MSG_ACCRIGHTS 1
15890 ac_fn_c_check_member
"$LINENO" "struct sockaddr" "sa_len" "ac_cv_member_struct_sockaddr_sa_len" "#include <sys/types.h>
15891 #ifdef HAVE_SYS_SOCKET_H
15892 # include <sys/socket.h>
15894 #ifdef HAVE_SYS_UN_H
15895 # include <sys/un.h>
15898 if test "x$ac_cv_member_struct_sockaddr_sa_len" = xyes
; then :
15900 cat >>confdefs.h
<<_ACEOF
15901 #define HAVE_STRUCT_SOCKADDR_SA_LEN 1
15906 ac_fn_c_check_member
"$LINENO" "struct sockaddr_un" "sun_len" "ac_cv_member_struct_sockaddr_un_sun_len" "#include <sys/types.h>
15907 #ifdef HAVE_SYS_SOCKET_H
15908 # include <sys/socket.h>
15910 #ifdef HAVE_SYS_UN_H
15911 # include <sys/un.h>
15914 if test "x$ac_cv_member_struct_sockaddr_un_sun_len" = xyes
; then :
15916 cat >>confdefs.h
<<_ACEOF
15917 #define HAVE_STRUCT_SOCKADDR_UN_SUN_LEN 1
15924 ac_fn_c_check_member
"$LINENO" "scsireq_t" "cmd" "ac_cv_member_scsireq_t_cmd" "#include <sys/types.h>
15925 #ifdef HAVE_SCSI_SG_H
15926 #include <scsi/sg.h>
15929 if test "x$ac_cv_member_scsireq_t_cmd" = xyes
; then :
15931 cat >>confdefs.h
<<_ACEOF
15932 #define HAVE_SCSIREQ_T_CMD 1
15937 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>
15938 #ifdef HAVE_SCSI_SG_H
15939 #include <scsi/sg.h>
15942 if test "x$ac_cv_member_sg_io_hdr_t_interface_id" = xyes
; then :
15944 cat >>confdefs.h
<<_ACEOF
15945 #define HAVE_SG_IO_HDR_T_INTERFACE_ID 1
15952 ac_fn_c_check_member
"$LINENO" "siginfo_t" "si_fd" "ac_cv_member_siginfo_t_si_fd" "#include <signal.h>
15954 if test "x$ac_cv_member_siginfo_t_si_fd" = xyes
; then :
15956 cat >>confdefs.h
<<_ACEOF
15957 #define HAVE_SIGINFO_T_SI_FD 1
15964 ac_fn_c_check_member
"$LINENO" "struct mtget" "mt_blksiz" "ac_cv_member_struct_mtget_mt_blksiz" "#include <sys/types.h>
15965 #ifdef HAVE_SYS_MTIO_H
15966 #include <sys/mtio.h>
15969 if test "x$ac_cv_member_struct_mtget_mt_blksiz" = xyes
; then :
15971 cat >>confdefs.h
<<_ACEOF
15972 #define HAVE_STRUCT_MTGET_MT_BLKSIZ 1
15977 ac_fn_c_check_member
"$LINENO" "struct mtget" "mt_gstat" "ac_cv_member_struct_mtget_mt_gstat" "#include <sys/types.h>
15978 #ifdef HAVE_SYS_MTIO_H
15979 #include <sys/mtio.h>
15982 if test "x$ac_cv_member_struct_mtget_mt_gstat" = xyes
; then :
15984 cat >>confdefs.h
<<_ACEOF
15985 #define HAVE_STRUCT_MTGET_MT_GSTAT 1
15990 ac_fn_c_check_member
"$LINENO" "struct mtget" "mt_blkno" "ac_cv_member_struct_mtget_mt_blkno" "#include <sys/types.h>
15991 #ifdef HAVE_SYS_MTIO_H
15992 #include <sys/mtio.h>
15995 if test "x$ac_cv_member_struct_mtget_mt_blkno" = xyes
; then :
15997 cat >>confdefs.h
<<_ACEOF
15998 #define HAVE_STRUCT_MTGET_MT_BLKNO 1
16005 ac_fn_c_check_member
"$LINENO" "struct option" "name" "ac_cv_member_struct_option_name" "#ifdef HAVE_GETOPT_H
16006 #include <getopt.h>
16009 if test "x$ac_cv_member_struct_option_name" = xyes
; then :
16011 cat >>confdefs.h
<<_ACEOF
16012 #define HAVE_STRUCT_OPTION_NAME 1
16019 ac_fn_c_check_member
"$LINENO" "struct stat" "st_blocks" "ac_cv_member_struct_stat_st_blocks" "$ac_includes_default"
16020 if test "x$ac_cv_member_struct_stat_st_blocks" = xyes
; then :
16022 cat >>confdefs.h
<<_ACEOF
16023 #define HAVE_STRUCT_STAT_ST_BLOCKS 1
16028 ac_fn_c_check_member
"$LINENO" "struct stat" "st_mtim" "ac_cv_member_struct_stat_st_mtim" "$ac_includes_default"
16029 if test "x$ac_cv_member_struct_stat_st_mtim" = xyes
; then :
16031 cat >>confdefs.h
<<_ACEOF
16032 #define HAVE_STRUCT_STAT_ST_MTIM 1
16037 ac_fn_c_check_member
"$LINENO" "struct stat" "st_mtimespec" "ac_cv_member_struct_stat_st_mtimespec" "$ac_includes_default"
16038 if test "x$ac_cv_member_struct_stat_st_mtimespec" = xyes
; then :
16040 cat >>confdefs.h
<<_ACEOF
16041 #define HAVE_STRUCT_STAT_ST_MTIMESPEC 1
16046 ac_fn_c_check_member
"$LINENO" "struct stat" "st_ctim" "ac_cv_member_struct_stat_st_ctim" "$ac_includes_default"
16047 if test "x$ac_cv_member_struct_stat_st_ctim" = xyes
; then :
16049 cat >>confdefs.h
<<_ACEOF
16050 #define HAVE_STRUCT_STAT_ST_CTIM 1
16055 ac_fn_c_check_member
"$LINENO" "struct stat" "st_ctimespec" "ac_cv_member_struct_stat_st_ctimespec" "$ac_includes_default"
16056 if test "x$ac_cv_member_struct_stat_st_ctimespec" = xyes
; then :
16058 cat >>confdefs.h
<<_ACEOF
16059 #define HAVE_STRUCT_STAT_ST_CTIMESPEC 1
16064 ac_fn_c_check_member
"$LINENO" "struct stat" "st_atim" "ac_cv_member_struct_stat_st_atim" "$ac_includes_default"
16065 if test "x$ac_cv_member_struct_stat_st_atim" = xyes
; then :
16067 cat >>confdefs.h
<<_ACEOF
16068 #define HAVE_STRUCT_STAT_ST_ATIM 1
16073 ac_fn_c_check_member
"$LINENO" "struct stat" "st_atimespec" "ac_cv_member_struct_stat_st_atimespec" "$ac_includes_default"
16074 if test "x$ac_cv_member_struct_stat_st_atimespec" = xyes
; then :
16076 cat >>confdefs.h
<<_ACEOF
16077 #define HAVE_STRUCT_STAT_ST_ATIMESPEC 1
16082 ac_fn_c_check_member
"$LINENO" "struct stat" "st_birthtime" "ac_cv_member_struct_stat_st_birthtime" "$ac_includes_default"
16083 if test "x$ac_cv_member_struct_stat_st_birthtime" = xyes
; then :
16085 cat >>confdefs.h
<<_ACEOF
16086 #define HAVE_STRUCT_STAT_ST_BIRTHTIME 1
16091 ac_fn_c_check_member
"$LINENO" "struct stat" "st_birthtim" "ac_cv_member_struct_stat_st_birthtim" "$ac_includes_default"
16092 if test "x$ac_cv_member_struct_stat_st_birthtim" = xyes
; then :
16094 cat >>confdefs.h
<<_ACEOF
16095 #define HAVE_STRUCT_STAT_ST_BIRTHTIM 1
16100 ac_fn_c_check_member
"$LINENO" "struct stat" "st_birthtimespec" "ac_cv_member_struct_stat_st_birthtimespec" "$ac_includes_default"
16101 if test "x$ac_cv_member_struct_stat_st_birthtimespec" = xyes
; then :
16103 cat >>confdefs.h
<<_ACEOF
16104 #define HAVE_STRUCT_STAT_ST_BIRTHTIMESPEC 1
16109 ac_fn_c_check_member
"$LINENO" "struct stat" "__st_birthtime" "ac_cv_member_struct_stat___st_birthtime" "$ac_includes_default"
16110 if test "x$ac_cv_member_struct_stat___st_birthtime" = xyes
; then :
16112 cat >>confdefs.h
<<_ACEOF
16113 #define HAVE_STRUCT_STAT___ST_BIRTHTIME 1
16118 ac_fn_c_check_member
"$LINENO" "struct stat" "__st_birthtim" "ac_cv_member_struct_stat___st_birthtim" "$ac_includes_default"
16119 if test "x$ac_cv_member_struct_stat___st_birthtim" = xyes
; then :
16121 cat >>confdefs.h
<<_ACEOF
16122 #define HAVE_STRUCT_STAT___ST_BIRTHTIM 1
16129 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
16130 #include <sys/types.h>
16132 #ifdef HAVE_NETINET_IN_H
16133 #include <netinet/in.h>
16136 if test "x$ac_cv_member_struct_sockaddr_in6_sin6_scope_id" = xyes
; then :
16138 cat >>confdefs.h
<<_ACEOF
16139 #define HAVE_STRUCT_SOCKADDR_IN6_SIN6_SCOPE_ID 1
16146 ac_fn_c_check_type
"$LINENO" "struct __res_state" "ac_cv_type_struct___res_state" "#ifdef HAVE_RESOLV_H
16147 #include <resolv.h>
16150 if test "x$ac_cv_type_struct___res_state" = xyes
; then :
16152 cat >>confdefs.h
<<_ACEOF
16153 #define HAVE_STRUCT___RES_STATE 1
16160 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
16161 #include <resolv.h>
16164 if test "x$ac_cv_member_struct___res_state__u__ext_nscount6" = xyes
; then :
16166 cat >>confdefs.h
<<_ACEOF
16167 #define HAVE_STRUCT___RES_STATE__U__EXT_NSCOUNT6 1
16174 ac_fn_c_check_member
"$LINENO" "ns_msg" "_msg_ptr" "ac_cv_member_ns_msg__msg_ptr" "#ifdef HAVE_SYS_TYPES_H
16175 #include <sys/types.h>
16177 #ifdef HAVE_NETINET_IN_H
16178 # include <netinet/in.h>
16180 #ifdef HAVE_ARPA_NAMESER_H
16181 # include <arpa/nameser.h>
16184 if test "x$ac_cv_member_ns_msg__msg_ptr" = xyes
; then :
16186 cat >>confdefs.h
<<_ACEOF
16187 #define HAVE_NS_MSG__MSG_PTR 1
16194 ac_fn_c_check_member
"$LINENO" "struct icmpstat" "icps_inhist" "ac_cv_member_struct_icmpstat_icps_inhist" "#ifdef HAVE_SYS_TYPES_H
16195 #include <sys/types.h>
16197 #ifdef HAVE_NETINET_IP_H
16198 #include <netinet/ip.h>
16200 #ifdef HAVE_NETINET_IP_ICMP_H
16201 #include <netinet/ip_icmp.h>
16203 #ifdef HAVE_NETINET_ICMP_VAR_H
16204 #include <netinet/icmp_var.h>
16207 if test "x$ac_cv_member_struct_icmpstat_icps_inhist" = xyes
; then :
16209 cat >>confdefs.h
<<_ACEOF
16210 #define HAVE_STRUCT_ICMPSTAT_ICPS_INHIST 1
16217 ac_fn_c_check_member
"$LINENO" "struct icmpstat" "icps_outhist" "ac_cv_member_struct_icmpstat_icps_outhist" "#ifdef HAVE_SYS_TYPES_H
16218 #include <sys/types.h>
16220 #ifdef HAVE_ALIAS_H
16223 #ifdef HAVE_SYS_SOCKET_H
16224 #include <sys/socket.h>
16226 #ifdef HAVE_SYS_SOCKETVAR_H
16227 #include <sys/socketvar.h>
16229 #ifdef HAVE_SYS_TIMEOUT_H
16230 #include <sys/timeout.h>
16232 #ifdef HAVE_NETINET_IN_H
16233 #include <netinet/in.h>
16235 #ifdef HAVE_NETINET_IN_SYSTM_H
16236 #include <netinet/in_systm.h>
16238 #ifdef HAVE_NETINET_IP_H
16239 #include <netinet/ip.h>
16241 #ifdef HAVE_NETINET_IP_VAR_H
16242 #include <netinet/ip_var.h>
16244 #ifdef HAVE_NETINET_IP_ICMP_H
16245 #include <netinet/ip_icmp.h>
16247 #ifdef HAVE_NETINET_ICMP_VAR_H
16248 #include <netinet/icmp_var.h>
16251 if test "x$ac_cv_member_struct_icmpstat_icps_outhist" = xyes
; then :
16253 cat >>confdefs.h
<<_ACEOF
16254 #define HAVE_STRUCT_ICMPSTAT_ICPS_OUTHIST 1
16261 ac_fn_c_check_member
"$LINENO" "struct ipstat" "ips_total" "ac_cv_member_struct_ipstat_ips_total" "#ifdef HAVE_SYS_TYPES_H
16262 #include <sys/types.h>
16264 #ifdef HAVE_SYS_SOCKETVAR_H
16265 #include <sys/socketvar.h>
16267 #ifdef HAVE_NETINET_IN_H
16268 #include <netinet/in.h>
16270 #ifdef HAVE_NETINET_IP_VAR_H
16271 #include <netinet/ip_var.h>
16274 if test "x$ac_cv_member_struct_ipstat_ips_total" = xyes
; then :
16276 cat >>confdefs.h
<<_ACEOF
16277 #define HAVE_STRUCT_IPSTAT_IPS_TOTAL 1
16284 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
16285 #include <netinet/ip_var.h>
16288 if test "x$ac_cv_member_struct_ip_stats_ips_total" = xyes
; then :
16290 cat >>confdefs.h
<<_ACEOF
16291 #define HAVE_STRUCT_IP_STATS_IPS_TOTAL 1
16298 ac_fn_c_check_member
"$LINENO" "struct tcpstat" "tcps_connattempt" "ac_cv_member_struct_tcpstat_tcps_connattempt" "#ifdef HAVE_SYS_TYPES_H
16299 #include <sys/types.h>
16301 #ifdef HAVE_SYS_SOCKETVAR_H
16302 #include <sys/socketvar.h>
16304 #ifdef HAVE_NETINET_IN_H
16305 #include <netinet/in.h>
16307 #ifdef HAVE_NETINET_TCP_H
16308 #include <netinet/tcp.h>
16310 #ifdef HAVE_NETINET_TCP_VAR_H
16311 #include <netinet/tcp_var.h>
16314 if test "x$ac_cv_member_struct_tcpstat_tcps_connattempt" = xyes
; then :
16316 cat >>confdefs.h
<<_ACEOF
16317 #define HAVE_STRUCT_TCPSTAT_TCPS_CONNATTEMPT 1
16324 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
16325 #include <netinet/tcp_var.h>
16328 if test "x$ac_cv_member_struct_tcp_stats_tcps_connattempt" = xyes
; then :
16330 cat >>confdefs.h
<<_ACEOF
16331 #define HAVE_STRUCT_TCP_STATS_TCPS_CONNATTEMPT 1
16338 ac_fn_c_check_member
"$LINENO" "struct udpstat" "udps_ipackets" "ac_cv_member_struct_udpstat_udps_ipackets" "#ifdef HAVE_SYS_TYPES_H
16339 #include <sys/types.h>
16341 #ifdef HAVE_NETINET_IN_H
16342 #include <netinet/in.h>
16344 #ifdef HAVE_NETINET_IP_VAR_H
16345 #include <netinet/ip_var.h>
16347 #ifdef HAVE_NETINET_UDP_H
16348 #include <netinet/udp.h>
16350 #ifdef HAVE_NETINET_UDP_VAR_H
16351 #include <netinet/udp_var.h>
16354 if test "x$ac_cv_member_struct_udpstat_udps_ipackets" = xyes
; then :
16356 cat >>confdefs.h
<<_ACEOF
16357 #define HAVE_STRUCT_UDPSTAT_UDPS_IPACKETS 1
16364 ac_fn_c_check_member
"$LINENO" "struct ifreq" "ifr_hwaddr" "ac_cv_member_struct_ifreq_ifr_hwaddr" "#ifdef HAVE_SYS_TYPES_H
16365 #include <sys/types.h>
16367 #ifdef HAVE_NET_IF_H
16368 # include <net/if.h>
16371 if test "x$ac_cv_member_struct_ifreq_ifr_hwaddr" = xyes
; then :
16373 cat >>confdefs.h
<<_ACEOF
16374 #define HAVE_STRUCT_IFREQ_IFR_HWADDR 1
16381 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for timezone variable" >&5
16382 $as_echo_n "checking for timezone variable... " >&6; }
16383 if ${ac_cv_have_timezone+:} false
; then :
16384 $as_echo_n "(cached) " >&6
16386 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
16387 /* end confdefs.h. */
16397 if ac_fn_c_try_link
"$LINENO"; then :
16398 ac_cv_have_timezone
="yes"
16400 ac_cv_have_timezone
="no"
16402 rm -f core conftest.err conftest.
$ac_objext \
16403 conftest
$ac_exeext conftest.
$ac_ext
16405 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_timezone" >&5
16406 $as_echo "$ac_cv_have_timezone" >&6; }
16407 if test "$ac_cv_have_timezone" = "yes"
16410 $as_echo "#define HAVE_TIMEZONE 1" >>confdefs.h
16413 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for daylight variable" >&5
16414 $as_echo_n "checking for daylight variable... " >&6; }
16415 if ${ac_cv_have_daylight+:} false
; then :
16416 $as_echo_n "(cached) " >&6
16418 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
16419 /* end confdefs.h. */
16429 if ac_fn_c_try_link
"$LINENO"; then :
16430 ac_cv_have_daylight
="yes"
16432 ac_cv_have_daylight
="no"
16434 rm -f core conftest.err conftest.
$ac_objext \
16435 conftest
$ac_exeext conftest.
$ac_ext
16437 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_daylight" >&5
16438 $as_echo "$ac_cv_have_daylight" >&6; }
16439 if test "$ac_cv_have_daylight" = "yes"
16442 $as_echo "#define HAVE_DAYLIGHT 1" >>confdefs.h
16446 ac_save_LIBS
="$LIBS"
16448 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isfinite" >&5
16449 $as_echo_n "checking for isfinite... " >&6; }
16450 if ${ac_cv_have_isfinite+:} false
; then :
16451 $as_echo_n "(cached) " >&6
16453 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
16454 /* end confdefs.h. */
16455 #define _GNU_SOURCE
16460 float f = 0.0; return isfinite(f)
16465 if ac_fn_c_try_link
"$LINENO"; then :
16466 ac_cv_have_isfinite
="yes"
16468 ac_cv_have_isfinite
="no"
16470 rm -f core conftest.err conftest.
$ac_objext \
16471 conftest
$ac_exeext conftest.
$ac_ext
16473 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_isfinite" >&5
16474 $as_echo "$ac_cv_have_isfinite" >&6; }
16475 if test "$ac_cv_have_isfinite" = "yes"
16478 $as_echo "#define HAVE_ISFINITE 1" >>confdefs.h
16482 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinf" >&5
16483 $as_echo_n "checking for isinf... " >&6; }
16484 if ${ac_cv_have_isinf+:} false
; then :
16485 $as_echo_n "(cached) " >&6
16487 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
16488 /* end confdefs.h. */
16493 float f = 0.0; return isinf(f)
16498 if ac_fn_c_try_link
"$LINENO"; then :
16499 ac_cv_have_isinf
="yes"
16501 ac_cv_have_isinf
="no"
16503 rm -f core conftest.err conftest.
$ac_objext \
16504 conftest
$ac_exeext conftest.
$ac_ext
16506 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_isinf" >&5
16507 $as_echo "$ac_cv_have_isinf" >&6; }
16508 if test "$ac_cv_have_isinf" = "yes"
16511 $as_echo "#define HAVE_ISINF 1" >>confdefs.h
16515 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnan" >&5
16516 $as_echo_n "checking for isnan... " >&6; }
16517 if ${ac_cv_have_isnan+:} false
; then :
16518 $as_echo_n "(cached) " >&6
16520 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
16521 /* end confdefs.h. */
16526 float f = 0.0; return isnan(f)
16531 if ac_fn_c_try_link
"$LINENO"; then :
16532 ac_cv_have_isnan
="yes"
16534 ac_cv_have_isnan
="no"
16536 rm -f core conftest.err conftest.
$ac_objext \
16537 conftest
$ac_exeext conftest.
$ac_ext
16539 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_isnan" >&5
16540 $as_echo "$ac_cv_have_isnan" >&6; }
16541 if test "$ac_cv_have_isnan" = "yes"
16544 $as_echo "#define HAVE_ISNAN 1" >>confdefs.h
16571 as_ac_var
=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
16572 ac_fn_c_check_func
"$LINENO" "$ac_func" "$as_ac_var"
16573 if eval test \"x\$
"$as_ac_var"\" = x
"yes"; then :
16574 cat >>confdefs.h
<<_ACEOF
16575 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
16581 LIBS
="$ac_save_LIBS"
16583 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for __builtin_clz" >&5
16584 $as_echo_n "checking for __builtin_clz... " >&6; }
16585 if ${ac_cv_have___builtin_clz+:} false
; then :
16586 $as_echo_n "(cached) " >&6
16588 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
16589 /* end confdefs.h. */
16594 return __builtin_clz(1)
16599 if ac_fn_c_try_link
"$LINENO"; then :
16600 ac_cv_have___builtin_clz
="yes"
16602 ac_cv_have___builtin_clz
="no"
16604 rm -f core conftest.err conftest.
$ac_objext \
16605 conftest
$ac_exeext conftest.
$ac_ext
16607 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have___builtin_clz" >&5
16608 $as_echo "$ac_cv_have___builtin_clz" >&6; }
16609 if test "$ac_cv_have___builtin_clz" = "yes"
16612 $as_echo "#define HAVE___BUILTIN_CLZ 1" >>confdefs.h
16618 *i
[3456789]86*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __i386__" >&5
16619 $as_echo_n "checking whether we need to define __i386__... " >&6; }
16620 if ${ac_cv_cpp_def___i386__+:} false
; then :
16621 $as_echo_n "(cached) " >&6
16623 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
16624 /* end confdefs.h. */
16629 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
16630 $EGREP "yes" >/dev
/null
2>&1; then :
16631 ac_cv_cpp_def___i386__
=yes
16633 ac_cv_cpp_def___i386__
=no
16638 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___i386__" >&5
16639 $as_echo "$ac_cv_cpp_def___i386__" >&6; }
16640 if test "x$ac_cv_cpp_def___i386__" = xyes
; then :
16641 CFLAGS
="$CFLAGS -D__i386__"
16642 LINTFLAGS
="$LINTFLAGS -D__i386__"
16644 *x86_64
*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __x86_64__" >&5
16645 $as_echo_n "checking whether we need to define __x86_64__... " >&6; }
16646 if ${ac_cv_cpp_def___x86_64__+:} false
; then :
16647 $as_echo_n "(cached) " >&6
16649 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
16650 /* end confdefs.h. */
16655 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
16656 $EGREP "yes" >/dev
/null
2>&1; then :
16657 ac_cv_cpp_def___x86_64__
=yes
16659 ac_cv_cpp_def___x86_64__
=no
16664 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___x86_64__" >&5
16665 $as_echo "$ac_cv_cpp_def___x86_64__" >&6; }
16666 if test "x$ac_cv_cpp_def___x86_64__" = xyes
; then :
16667 CFLAGS
="$CFLAGS -D__x86_64__"
16668 LINTFLAGS
="$LINTFLAGS -D__x86_64__"
16670 *sparc64
*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __sparc64__" >&5
16671 $as_echo_n "checking whether we need to define __sparc64__... " >&6; }
16672 if ${ac_cv_cpp_def___sparc64__+:} false
; then :
16673 $as_echo_n "(cached) " >&6
16675 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
16676 /* end confdefs.h. */
16677 #ifndef __sparc64__
16681 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
16682 $EGREP "yes" >/dev
/null
2>&1; then :
16683 ac_cv_cpp_def___sparc64__
=yes
16685 ac_cv_cpp_def___sparc64__
=no
16690 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___sparc64__" >&5
16691 $as_echo "$ac_cv_cpp_def___sparc64__" >&6; }
16692 if test "x$ac_cv_cpp_def___sparc64__" = xyes
; then :
16693 CFLAGS
="$CFLAGS -D__sparc64__"
16694 LINTFLAGS
="$LINTFLAGS -D__sparc64__"
16696 *sparc
*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __sparc__" >&5
16697 $as_echo_n "checking whether we need to define __sparc__... " >&6; }
16698 if ${ac_cv_cpp_def___sparc__+:} false
; then :
16699 $as_echo_n "(cached) " >&6
16701 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
16702 /* end confdefs.h. */
16707 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
16708 $EGREP "yes" >/dev
/null
2>&1; then :
16709 ac_cv_cpp_def___sparc__
=yes
16711 ac_cv_cpp_def___sparc__
=no
16716 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___sparc__" >&5
16717 $as_echo "$ac_cv_cpp_def___sparc__" >&6; }
16718 if test "x$ac_cv_cpp_def___sparc__" = xyes
; then :
16719 CFLAGS
="$CFLAGS -D__sparc__"
16720 LINTFLAGS
="$LINTFLAGS -D__sparc__"
16722 *powerpc64
*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __powerpc64__" >&5
16723 $as_echo_n "checking whether we need to define __powerpc64__... " >&6; }
16724 if ${ac_cv_cpp_def___powerpc64__+:} false
; then :
16725 $as_echo_n "(cached) " >&6
16727 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
16728 /* end confdefs.h. */
16729 #ifndef __powerpc64__
16733 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
16734 $EGREP "yes" >/dev
/null
2>&1; then :
16735 ac_cv_cpp_def___powerpc64__
=yes
16737 ac_cv_cpp_def___powerpc64__
=no
16742 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___powerpc64__" >&5
16743 $as_echo "$ac_cv_cpp_def___powerpc64__" >&6; }
16744 if test "x$ac_cv_cpp_def___powerpc64__" = xyes
; then :
16745 CFLAGS
="$CFLAGS -D__powerpc64__"
16746 LINTFLAGS
="$LINTFLAGS -D__powerpc64__"
16748 *powerpc
*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __powerpc__" >&5
16749 $as_echo_n "checking whether we need to define __powerpc__... " >&6; }
16750 if ${ac_cv_cpp_def___powerpc__+:} false
; then :
16751 $as_echo_n "(cached) " >&6
16753 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
16754 /* end confdefs.h. */
16755 #ifndef __powerpc__
16759 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
16760 $EGREP "yes" >/dev
/null
2>&1; then :
16761 ac_cv_cpp_def___powerpc__
=yes
16763 ac_cv_cpp_def___powerpc__
=no
16768 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___powerpc__" >&5
16769 $as_echo "$ac_cv_cpp_def___powerpc__" >&6; }
16770 if test "x$ac_cv_cpp_def___powerpc__" = xyes
; then :
16771 CFLAGS
="$CFLAGS -D__powerpc__"
16772 LINTFLAGS
="$LINTFLAGS -D__powerpc__"
16774 *aarch64
*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __aarch64__" >&5
16775 $as_echo_n "checking whether we need to define __aarch64__... " >&6; }
16776 if ${ac_cv_cpp_def___aarch64__+:} false
; then :
16777 $as_echo_n "(cached) " >&6
16779 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
16780 /* end confdefs.h. */
16781 #ifndef __aarch64__
16785 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
16786 $EGREP "yes" >/dev
/null
2>&1; then :
16787 ac_cv_cpp_def___aarch64__
=yes
16789 ac_cv_cpp_def___aarch64__
=no
16794 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___aarch64__" >&5
16795 $as_echo "$ac_cv_cpp_def___aarch64__" >&6; }
16796 if test "x$ac_cv_cpp_def___aarch64__" = xyes
; then :
16797 CFLAGS
="$CFLAGS -D__aarch64__"
16798 LINTFLAGS
="$LINTFLAGS -D__aarch64__"
16800 *arm
*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __arm__" >&5
16801 $as_echo_n "checking whether we need to define __arm__... " >&6; }
16802 if ${ac_cv_cpp_def___arm__+:} false
; then :
16803 $as_echo_n "(cached) " >&6
16805 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
16806 /* end confdefs.h. */
16811 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
16812 $EGREP "yes" >/dev
/null
2>&1; then :
16813 ac_cv_cpp_def___arm__
=yes
16815 ac_cv_cpp_def___arm__
=no
16820 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___arm__" >&5
16821 $as_echo "$ac_cv_cpp_def___arm__" >&6; }
16822 if test "x$ac_cv_cpp_def___arm__" = xyes
; then :
16823 CFLAGS
="$CFLAGS -D__arm__"
16824 LINTFLAGS
="$LINTFLAGS -D__arm__"
16828 case $host_vendor in
16829 *sun
*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __sun__" >&5
16830 $as_echo_n "checking whether we need to define __sun__... " >&6; }
16831 if ${ac_cv_cpp_def___sun__+:} false
; then :
16832 $as_echo_n "(cached) " >&6
16834 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
16835 /* end confdefs.h. */
16840 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
16841 $EGREP "yes" >/dev
/null
2>&1; then :
16842 ac_cv_cpp_def___sun__
=yes
16844 ac_cv_cpp_def___sun__
=no
16849 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___sun__" >&5
16850 $as_echo "$ac_cv_cpp_def___sun__" >&6; }
16851 if test "x$ac_cv_cpp_def___sun__" = xyes
; then :
16852 CFLAGS
="$CFLAGS -D__sun__"
16853 LINTFLAGS
="$LINTFLAGS -D__sun__"
16861 ac_config_commands
="$ac_config_commands include/stamp-h"
16863 $as_echo_n "creating Makefile rules..." >&6
16865 ALL_VARS_RULES
="OPENGL_LIBS = $OPENGL_LIBS
16866 SOCKET_LIBS = $SOCKET_LIBS
16867 COREFOUNDATION_LIBS = $COREFOUNDATION_LIBS
16868 IOKIT_LIBS = $IOKIT_LIBS
16869 FORCEFEEDBACK_LIBS = $FORCEFEEDBACK_LIBS
16870 APPLICATIONSERVICES_LIBS = $APPLICATIONSERVICES_LIBS
16871 CORESERVICES_LIBS = $CORESERVICES_LIBS
16872 APPKIT_LIBS = $APPKIT_LIBS
16873 DISKARBITRATION_LIBS = $DISKARBITRATION_LIBS
16874 SECURITY_LIBS = $SECURITY_LIBS
16875 COREAUDIO_LIBS = $COREAUDIO_LIBS
16876 OPENAL_LIBS = $OPENAL_LIBS
16877 OPENCL_LIBS = $OPENCL_LIBS
16878 QUICKTIME_LIBS = $QUICKTIME_LIBS
16879 CARBON_LIBS = $CARBON_LIBS
16880 PTHREAD_LIBS = $PTHREAD_LIBS
16881 X_CFLAGS = $X_CFLAGS
16882 X_PRE_LIBS = $X_PRE_LIBS
16884 X_EXTRA_LIBS = $X_EXTRA_LIBS
16885 XML2_CFLAGS = $XML2_CFLAGS
16886 XML2_LIBS = $XML2_LIBS
16887 XSLT_CFLAGS = $XSLT_CFLAGS
16888 XSLT_LIBS = $XSLT_LIBS
16889 DBUS_CFLAGS = $DBUS_CFLAGS
16890 DBUS_LIBS = $DBUS_LIBS
16891 HAL_CFLAGS = $HAL_CFLAGS
16892 HAL_LIBS = $HAL_LIBS
16893 GNUTLS_CFLAGS = $GNUTLS_CFLAGS
16894 GNUTLS_LIBS = $GNUTLS_LIBS
16895 SANE_CFLAGS = $SANE_CFLAGS
16896 SANE_LIBS = $SANE_LIBS
16897 GPHOTO2_CFLAGS = $GPHOTO2_CFLAGS
16898 GPHOTO2_LIBS = $GPHOTO2_LIBS
16899 GPHOTO2_PORT_CFLAGS = $GPHOTO2_PORT_CFLAGS
16900 GPHOTO2_PORT_LIBS = $GPHOTO2_PORT_LIBS
16901 RESOLV_LIBS = $RESOLV_LIBS
16902 LCMS2_CFLAGS = $LCMS2_CFLAGS
16903 LCMS2_LIBS = $LCMS2_LIBS
16904 FREETYPE_CFLAGS = $FREETYPE_CFLAGS
16905 FREETYPE_LIBS = $FREETYPE_LIBS
16907 GETTEXTPO_LIBS = $GETTEXTPO_LIBS
16908 GSTREAMER_CFLAGS = $GSTREAMER_CFLAGS
16909 GSTREAMER_LIBS = $GSTREAMER_LIBS
16910 ALSA_LIBS = $ALSA_LIBS
16911 OSS4_CFLAGS = $OSS4_CFLAGS
16912 CAPI20_CFLAGS = $CAPI20_CFLAGS
16913 CAPI20_LIBS = $CAPI20_LIBS
16914 CUPS_CFLAGS = $CUPS_CFLAGS
16915 FONTCONFIG_CFLAGS = $FONTCONFIG_CFLAGS
16916 FONTCONFIG_LIBS = $FONTCONFIG_LIBS
16917 JPEG_CFLAGS = $JPEG_CFLAGS
16918 JPEG_LIBS = $JPEG_LIBS
16919 PNG_CFLAGS = $PNG_CFLAGS
16920 PNG_LIBS = $PNG_LIBS
16921 TIFF_CFLAGS = $TIFF_CFLAGS
16922 TIFF_LIBS = $TIFF_LIBS
16923 MPG123_CFLAGS = $MPG123_CFLAGS
16924 MPG123_LIBS = $MPG123_LIBS
16925 KSTAT_LIBS = $KSTAT_LIBS
16926 PROCSTAT_LIBS = $PROCSTAT_LIBS
16928 POLL_LIBS = $POLL_LIBS
16930 LDAP_LIBS = $LDAP_LIBS
16935 wine_fn_append_rule
"
16936 # Rules automatically generated by configure
16938 CLEAN_FILES = *.o *.a *.so *.res *.fake *.ok *.tab.[ch] *.yy.c
16943 Makefile: $srcdir/Makefile.in $srcdir/Make.vars.in config.status \$(MAKEDEP)
16944 @./config.status Make.tmp Makefile"
16946 test "$srcdir" = .
&& wine_fn_append_rule
"all: .gitignore
16947 .gitignore: config.status
16948 @./config.status .gitignore"
16950 test -n "$CROSSTARGET" || wine_fn_append_rule
"crosstest:
16951 @echo \"crosstest is not supported (mingw not installed?)\" && false"
16953 if test "x$enable_fonts" != xno
; then
16954 ac_config_links
="$ac_config_links fonts/marlett.ttf:fonts/marlett.ttf"
16955 ac_config_links
="$ac_config_links fonts/symbol.ttf:fonts/symbol.ttf"
16956 ac_config_links
="$ac_config_links fonts/tahoma.ttf:fonts/tahoma.ttf"
16957 ac_config_links
="$ac_config_links fonts/tahomabd.ttf:fonts/tahomabd.ttf"
16958 test "$srcdir" = "." || wine_fn_config_symlink fonts
/marlett.ttf fonts
/symbol.ttf fonts
/tahoma.ttf fonts
/tahomabd.ttf
16960 ac_config_links
="$ac_config_links loader/l_intl.nls:loader/l_intl.nls"
16961 test "$srcdir" = "." || wine_fn_config_symlink loader
/l_intl.nls
16962 ac_config_links
="$ac_config_links po/LINGUAS:po/LINGUAS"
16963 test "$srcdir" = "." || wine_fn_config_symlink po
/LINGUAS
16964 ac_config_links
="$ac_config_links wine:tools/winewrapper"
16965 wine_fn_config_symlink wine
16966 if test "x$enable_win64" != xno
; then
16967 ac_config_links
="$ac_config_links wine64:tools/winewrapper"
16968 wine_fn_config_symlink wine64
16971 wine_fn_config_dll acledit enable_acledit
16972 wine_fn_config_dll aclui enable_aclui implib
16973 wine_fn_config_dll activeds enable_activeds implib
16974 wine_fn_config_dll actxprxy enable_actxprxy clean
16975 wine_fn_config_lib adsiid
16976 wine_fn_config_dll advapi32 enable_advapi32 clean
,implib
16977 wine_fn_config_test dlls
/advapi32
/tests advapi32_test
16978 wine_fn_config_dll advpack enable_advpack implib
16979 wine_fn_config_test dlls
/advpack
/tests advpack_test
16980 wine_fn_config_dll amstream enable_amstream clean
16981 wine_fn_config_test dlls
/amstream
/tests amstream_test
16982 wine_fn_config_dll api-ms-win-core-com-l1-1-0 enable_api_ms_win_core_com_l1_1_0
16983 wine_fn_config_dll api-ms-win-core-console-l1-1-0 enable_api_ms_win_core_console_l1_1_0
16984 wine_fn_config_dll api-ms-win-core-datetime-l1-1-0 enable_api_ms_win_core_datetime_l1_1_0
16985 wine_fn_config_dll api-ms-win-core-datetime-l1-1-1 enable_api_ms_win_core_datetime_l1_1_1
16986 wine_fn_config_dll api-ms-win-core-debug-l1-1-1 enable_api_ms_win_core_debug_l1_1_1
16987 wine_fn_config_dll api-ms-win-core-errorhandling-l1-1-1 enable_api_ms_win_core_errorhandling_l1_1_1
16988 wine_fn_config_dll api-ms-win-core-errorhandling-l1-1-2 enable_api_ms_win_core_errorhandling_l1_1_2
16989 wine_fn_config_dll api-ms-win-core-fibers-l1-1-0 enable_api_ms_win_core_fibers_l1_1_0
16990 wine_fn_config_dll api-ms-win-core-fibers-l1-1-1 enable_api_ms_win_core_fibers_l1_1_1
16991 wine_fn_config_dll api-ms-win-core-file-l1-2-0 enable_api_ms_win_core_file_l1_2_0
16992 wine_fn_config_dll api-ms-win-core-file-l2-1-0 enable_api_ms_win_core_file_l2_1_0
16993 wine_fn_config_dll api-ms-win-core-file-l2-1-1 enable_api_ms_win_core_file_l2_1_1
16994 wine_fn_config_dll api-ms-win-core-handle-l1-1-0 enable_api_ms_win_core_handle_l1_1_0
16995 wine_fn_config_dll api-ms-win-core-heap-l1-2-0 enable_api_ms_win_core_heap_l1_2_0
16996 wine_fn_config_dll api-ms-win-core-heap-obsolete-l1-1-0 enable_api_ms_win_core_heap_obsolete_l1_1_0
16997 wine_fn_config_dll api-ms-win-core-interlocked-l1-2-0 enable_api_ms_win_core_interlocked_l1_2_0
16998 wine_fn_config_dll api-ms-win-core-io-l1-1-1 enable_api_ms_win_core_io_l1_1_1
16999 wine_fn_config_dll api-ms-win-core-kernel32-legacy-l1-1-0 enable_api_ms_win_core_kernel32_legacy_l1_1_0
17000 wine_fn_config_dll api-ms-win-core-libraryloader-l1-1-1 enable_api_ms_win_core_libraryloader_l1_1_1
17001 wine_fn_config_dll api-ms-win-core-localization-l1-2-0 enable_api_ms_win_core_localization_l1_2_0
17002 wine_fn_config_dll api-ms-win-core-localization-l1-2-1 enable_api_ms_win_core_localization_l1_2_1
17003 wine_fn_config_dll api-ms-win-core-localization-obsolete-l1-1-0 enable_api_ms_win_core_localization_obsolete_l1_1_0
17004 wine_fn_config_dll api-ms-win-core-localregistry-l1-1-0 enable_api_ms_win_core_localregistry_l1_1_0
17005 wine_fn_config_dll api-ms-win-core-memory-l1-1-1 enable_api_ms_win_core_memory_l1_1_1
17006 wine_fn_config_dll api-ms-win-core-namedpipe-l1-2-0 enable_api_ms_win_core_namedpipe_l1_2_0
17007 wine_fn_config_dll api-ms-win-core-processenvironment-l1-2-0 enable_api_ms_win_core_processenvironment_l1_2_0
17008 wine_fn_config_dll api-ms-win-core-processthreads-l1-1-0 enable_api_ms_win_core_processthreads_l1_1_0
17009 wine_fn_config_dll api-ms-win-core-processthreads-l1-1-1 enable_api_ms_win_core_processthreads_l1_1_1
17010 wine_fn_config_dll api-ms-win-core-processthreads-l1-1-2 enable_api_ms_win_core_processthreads_l1_1_2
17011 wine_fn_config_dll api-ms-win-core-profile-l1-1-0 enable_api_ms_win_core_profile_l1_1_0
17012 wine_fn_config_dll api-ms-win-core-psapi-l1-1-0 enable_api_ms_win_core_psapi_l1_1_0
17013 wine_fn_config_dll api-ms-win-core-registry-l1-1-0 enable_api_ms_win_core_registry_l1_1_0
17014 wine_fn_config_dll api-ms-win-core-rtlsupport-l1-2-0 enable_api_ms_win_core_rtlsupport_l1_2_0
17015 wine_fn_config_dll api-ms-win-core-shlwapi-legacy-l1-1-0 enable_api_ms_win_core_shlwapi_legacy_l1_1_0
17016 wine_fn_config_dll api-ms-win-core-string-l1-1-0 enable_api_ms_win_core_string_l1_1_0
17017 wine_fn_config_dll api-ms-win-core-synch-l1-2-0 enable_api_ms_win_core_synch_l1_2_0
17018 wine_fn_config_dll api-ms-win-core-sysinfo-l1-2-0 enable_api_ms_win_core_sysinfo_l1_2_0
17019 wine_fn_config_dll api-ms-win-core-sysinfo-l1-2-1 enable_api_ms_win_core_sysinfo_l1_2_1
17020 wine_fn_config_dll api-ms-win-core-threadpool-legacy-l1-1-0 enable_api_ms_win_core_threadpool_legacy_l1_1_0
17021 wine_fn_config_dll api-ms-win-core-timezone-l1-1-0 enable_api_ms_win_core_timezone_l1_1_0
17022 wine_fn_config_dll api-ms-win-core-url-l1-1-0 enable_api_ms_win_core_url_l1_1_0
17023 wine_fn_config_dll api-ms-win-core-util-l1-1-0 enable_api_ms_win_core_util_l1_1_0
17024 wine_fn_config_dll api-ms-win-core-winrt-error-l1-1-0 enable_api_ms_win_core_winrt_error_l1_1_0
17025 wine_fn_config_dll api-ms-win-core-winrt-error-l1-1-1 enable_api_ms_win_core_winrt_error_l1_1_1
17026 wine_fn_config_dll api-ms-win-core-winrt-l1-1-0 enable_api_ms_win_core_winrt_l1_1_0
17027 wine_fn_config_dll api-ms-win-core-winrt-string-l1-1-0 enable_api_ms_win_core_winrt_string_l1_1_0
17028 wine_fn_config_dll api-ms-win-core-xstate-l2-1-0 enable_api_ms_win_core_xstate_l2_1_0
17029 wine_fn_config_dll api-ms-win-downlevel-advapi32-l1-1-0 enable_api_ms_win_downlevel_advapi32_l1_1_0
17030 wine_fn_config_dll api-ms-win-downlevel-advapi32-l2-1-0 enable_api_ms_win_downlevel_advapi32_l2_1_0
17031 wine_fn_config_dll api-ms-win-downlevel-normaliz-l1-1-0 enable_api_ms_win_downlevel_normaliz_l1_1_0
17032 wine_fn_config_dll api-ms-win-downlevel-ole32-l1-1-0 enable_api_ms_win_downlevel_ole32_l1_1_0
17033 wine_fn_config_dll api-ms-win-downlevel-shell32-l1-1-0 enable_api_ms_win_downlevel_shell32_l1_1_0
17034 wine_fn_config_dll api-ms-win-downlevel-shlwapi-l1-1-0 enable_api_ms_win_downlevel_shlwapi_l1_1_0
17035 wine_fn_config_dll api-ms-win-downlevel-shlwapi-l2-1-0 enable_api_ms_win_downlevel_shlwapi_l2_1_0
17036 wine_fn_config_dll api-ms-win-downlevel-user32-l1-1-0 enable_api_ms_win_downlevel_user32_l1_1_0
17037 wine_fn_config_dll api-ms-win-downlevel-version-l1-1-0 enable_api_ms_win_downlevel_version_l1_1_0
17038 wine_fn_config_dll api-ms-win-eventing-provider-l1-1-0 enable_api_ms_win_eventing_provider_l1_1_0
17039 wine_fn_config_dll api-ms-win-ntuser-dc-access-l1-1-0 enable_api_ms_win_ntuser_dc_access_l1_1_0
17040 wine_fn_config_dll api-ms-win-security-base-l1-1-0 enable_api_ms_win_security_base_l1_1_0
17041 wine_fn_config_dll api-ms-win-security-base-l1-2-0 enable_api_ms_win_security_base_l1_2_0
17042 wine_fn_config_dll api-ms-win-security-sddl-l1-1-0 enable_api_ms_win_security_sddl_l1_1_0
17043 wine_fn_config_dll api-ms-win-service-core-l1-1-1 enable_api_ms_win_service_core_l1_1_1
17044 wine_fn_config_dll api-ms-win-service-management-l1-1-0 enable_api_ms_win_service_management_l1_1_0
17045 wine_fn_config_dll api-ms-win-service-winsvc-l1-2-0 enable_api_ms_win_service_winsvc_l1_2_0
17046 wine_fn_config_dll apphelp enable_apphelp
17047 wine_fn_config_test dlls
/apphelp
/tests apphelp_test
17048 wine_fn_config_dll appwiz.cpl enable_appwiz_cpl po
17049 wine_fn_config_dll atl enable_atl clean
,implib
17050 wine_fn_config_test dlls
/atl
/tests atl_test
17051 wine_fn_config_dll atl100 enable_atl100 clean
,implib
17052 wine_fn_config_test dlls
/atl100
/tests atl100_test
17053 wine_fn_config_dll atl110 enable_atl110 clean
17054 wine_fn_config_dll atl80 enable_atl80 clean
,implib
17055 wine_fn_config_test dlls
/atl80
/tests atl80_test
17056 wine_fn_config_dll atl90 enable_atl90 clean
17057 wine_fn_config_dll authz enable_authz
17058 wine_fn_config_dll avicap32 enable_avicap32 implib
17059 wine_fn_config_dll avifil32 enable_avifil32 clean
,implib
,po
17060 wine_fn_config_test dlls
/avifil32
/tests avifil32_test
17061 wine_fn_config_dll avifile.dll16 enable_win16
17062 wine_fn_config_dll avrt enable_avrt implib
17063 wine_fn_config_dll bcrypt enable_bcrypt
17064 wine_fn_config_test dlls
/bcrypt
/tests bcrypt_test
17065 wine_fn_config_dll browseui enable_browseui clean
,po
17066 wine_fn_config_test dlls
/browseui
/tests browseui_test
17067 wine_fn_config_dll cabinet enable_cabinet implib
17068 wine_fn_config_test dlls
/cabinet
/tests cabinet_test
17069 wine_fn_config_dll capi2032 enable_capi2032 implib
17070 wine_fn_config_dll cards enable_cards implib
17071 wine_fn_config_dll cfgmgr32 enable_cfgmgr32 implib
17072 wine_fn_config_dll clusapi enable_clusapi implib
17073 wine_fn_config_dll combase enable_combase
17074 wine_fn_config_test dlls
/combase
/tests combase_test
17075 wine_fn_config_dll comcat enable_comcat
17076 wine_fn_config_test dlls
/comcat
/tests comcat_test
17077 wine_fn_config_dll comctl32 enable_comctl32 implib
,po
17078 wine_fn_config_test dlls
/comctl32
/tests comctl32_test
17079 wine_fn_config_dll comdlg32 enable_comdlg32 clean
,implib
,po
17080 wine_fn_config_test dlls
/comdlg32
/tests comdlg32_test
17081 wine_fn_config_dll
comm.drv16 enable_win16
17082 wine_fn_config_dll commdlg.dll16 enable_win16
17083 wine_fn_config_dll compobj.dll16 enable_win16
17084 wine_fn_config_dll compstui enable_compstui implib
17085 wine_fn_config_dll comsvcs enable_comsvcs implib
17086 wine_fn_config_dll connect enable_connect
17087 wine_fn_config_dll credui enable_credui implib
,po
17088 wine_fn_config_test dlls
/credui
/tests credui_test
17089 wine_fn_config_dll crtdll enable_crtdll implib
17090 wine_fn_config_dll crypt32 enable_crypt32 implib
,po
17091 wine_fn_config_test dlls
/crypt32
/tests crypt32_test
17092 wine_fn_config_dll cryptdlg enable_cryptdlg po
17093 wine_fn_config_dll cryptdll enable_cryptdll implib
17094 wine_fn_config_dll cryptext enable_cryptext
17095 wine_fn_config_dll cryptnet enable_cryptnet implib
17096 wine_fn_config_test dlls
/cryptnet
/tests cryptnet_test
17097 wine_fn_config_dll cryptui enable_cryptui implib
,po
17098 wine_fn_config_test dlls
/cryptui
/tests cryptui_test
17099 wine_fn_config_dll ctapi32 enable_ctapi32
17100 wine_fn_config_dll ctl3d.dll16 enable_win16
17101 wine_fn_config_dll ctl3d32 enable_ctl3d32 implib
17102 wine_fn_config_dll ctl3dv2.dll16 enable_win16
17103 wine_fn_config_dll d2d1 enable_d2d1 implib
17104 wine_fn_config_test dlls
/d2d
1/tests d2d1_test
17105 wine_fn_config_dll d3d10 enable_d3d10 implib
17106 wine_fn_config_test dlls
/d3d10
/tests d3d10_test
17107 wine_fn_config_dll d3d10_1 enable_d3d10_1 implib
17108 wine_fn_config_dll d3d10core enable_d3d10core implib
17109 wine_fn_config_test dlls
/d3d10core
/tests d3d10core_test
17110 wine_fn_config_dll d3d11 enable_d3d11
17111 wine_fn_config_dll d3d8 enable_d3d8 implib
17112 wine_fn_config_test dlls
/d3d
8/tests d3d8_test
17113 wine_fn_config_dll d3d9 enable_d3d9 implib
17114 wine_fn_config_test dlls
/d3d
9/tests d3d9_test
17115 wine_fn_config_dll d3dcompiler_33 enable_d3dcompiler_33
17116 wine_fn_config_dll d3dcompiler_34 enable_d3dcompiler_34
17117 wine_fn_config_dll d3dcompiler_35 enable_d3dcompiler_35
17118 wine_fn_config_dll d3dcompiler_36 enable_d3dcompiler_36
17119 wine_fn_config_dll d3dcompiler_37 enable_d3dcompiler_37
17120 wine_fn_config_dll d3dcompiler_38 enable_d3dcompiler_38
17121 wine_fn_config_dll d3dcompiler_39 enable_d3dcompiler_39
17122 wine_fn_config_dll d3dcompiler_40 enable_d3dcompiler_40
17123 wine_fn_config_dll d3dcompiler_41 enable_d3dcompiler_41
17124 wine_fn_config_dll d3dcompiler_42 enable_d3dcompiler_42
17125 wine_fn_config_dll d3dcompiler_43 enable_d3dcompiler_43 implib d3dcompiler
17126 wine_fn_config_test dlls
/d3dcompiler_43
/tests d3dcompiler_43_test
17127 wine_fn_config_dll d3dim enable_d3dim implib
17128 wine_fn_config_dll d3drm enable_d3drm implib
17129 wine_fn_config_test dlls
/d3drm
/tests d3drm_test
17130 wine_fn_config_dll d3dx10_33 enable_d3dx10_33
17131 wine_fn_config_dll d3dx10_34 enable_d3dx10_34
17132 wine_fn_config_dll d3dx10_35 enable_d3dx10_35
17133 wine_fn_config_dll d3dx10_36 enable_d3dx10_36
17134 wine_fn_config_dll d3dx10_37 enable_d3dx10_37
17135 wine_fn_config_dll d3dx10_38 enable_d3dx10_38
17136 wine_fn_config_dll d3dx10_39 enable_d3dx10_39
17137 wine_fn_config_dll d3dx10_40 enable_d3dx10_40
17138 wine_fn_config_dll d3dx10_41 enable_d3dx10_41
17139 wine_fn_config_dll d3dx10_42 enable_d3dx10_42
17140 wine_fn_config_dll d3dx10_43 enable_d3dx10_43
17141 wine_fn_config_dll d3dx11_42 enable_d3dx11_42
17142 wine_fn_config_dll d3dx11_43 enable_d3dx11_43
17143 wine_fn_config_dll d3dx9_24 enable_d3dx9_24
17144 wine_fn_config_dll d3dx9_25 enable_d3dx9_25
17145 wine_fn_config_dll d3dx9_26 enable_d3dx9_26
17146 wine_fn_config_dll d3dx9_27 enable_d3dx9_27
17147 wine_fn_config_dll d3dx9_28 enable_d3dx9_28
17148 wine_fn_config_dll d3dx9_29 enable_d3dx9_29
17149 wine_fn_config_dll d3dx9_30 enable_d3dx9_30
17150 wine_fn_config_dll d3dx9_31 enable_d3dx9_31
17151 wine_fn_config_dll d3dx9_32 enable_d3dx9_32
17152 wine_fn_config_dll d3dx9_33 enable_d3dx9_33
17153 wine_fn_config_dll d3dx9_34 enable_d3dx9_34
17154 wine_fn_config_dll d3dx9_35 enable_d3dx9_35
17155 wine_fn_config_dll d3dx9_36 enable_d3dx9_36 implib d3dx9
17156 wine_fn_config_test dlls
/d3dx9_36
/tests d3dx9_36_test
17157 wine_fn_config_dll d3dx9_37 enable_d3dx9_37
17158 wine_fn_config_dll d3dx9_38 enable_d3dx9_38
17159 wine_fn_config_dll d3dx9_39 enable_d3dx9_39
17160 wine_fn_config_dll d3dx9_40 enable_d3dx9_40
17161 wine_fn_config_dll d3dx9_41 enable_d3dx9_41
17162 wine_fn_config_dll d3dx9_42 enable_d3dx9_42
17163 wine_fn_config_dll d3dx9_43 enable_d3dx9_43
17164 wine_fn_config_dll d3dxof enable_d3dxof clean
,implib
17165 wine_fn_config_test dlls
/d3dxof
/tests d3dxof_test
17166 wine_fn_config_dll dbgeng enable_dbgeng implib
17167 wine_fn_config_dll dbghelp enable_dbghelp implib
17168 wine_fn_config_dll dciman32 enable_dciman32 implib
17169 wine_fn_config_dll ddeml.dll16 enable_win16
17170 wine_fn_config_dll ddraw enable_ddraw clean
,implib
17171 wine_fn_config_test dlls
/ddraw
/tests ddraw_test
17172 wine_fn_config_dll ddrawex enable_ddrawex clean
17173 wine_fn_config_test dlls
/ddrawex
/tests ddrawex_test
17174 wine_fn_config_dll devenum enable_devenum clean
,po
17175 wine_fn_config_test dlls
/devenum
/tests devenum_test
17176 wine_fn_config_dll dhcpcsvc enable_dhcpcsvc
17177 wine_fn_config_dll difxapi enable_difxapi
17178 wine_fn_config_dll dinput enable_dinput clean
,implib
,po
,staticimplib
17179 wine_fn_config_test dlls
/dinput
/tests dinput_test
17180 wine_fn_config_dll dinput8 enable_dinput8 clean
,implib
17181 wine_fn_config_test dlls
/dinput
8/tests dinput8_test
17182 wine_fn_config_dll dispdib.dll16 enable_win16
17183 wine_fn_config_dll dispex enable_dispex clean
17184 wine_fn_config_test dlls
/dispex
/tests dispex_test
17185 wine_fn_config_dll display.drv16 enable_win16
17186 wine_fn_config_dll dmband enable_dmband clean
17187 wine_fn_config_test dlls
/dmband
/tests dmband_test
17188 wine_fn_config_dll dmcompos enable_dmcompos clean
17189 wine_fn_config_test dlls
/dmcompos
/tests dmcompos_test
17190 wine_fn_config_dll dmime enable_dmime clean
17191 wine_fn_config_test dlls
/dmime
/tests dmime_test
17192 wine_fn_config_dll dmloader enable_dmloader clean
17193 wine_fn_config_test dlls
/dmloader
/tests dmloader_test
17194 wine_fn_config_dll dmscript enable_dmscript clean
17195 wine_fn_config_test dlls
/dmscript
/tests dmscript_test
17196 wine_fn_config_dll dmstyle enable_dmstyle clean
17197 wine_fn_config_test dlls
/dmstyle
/tests dmstyle_test
17198 wine_fn_config_dll dmsynth enable_dmsynth clean
17199 wine_fn_config_test dlls
/dmsynth
/tests dmsynth_test
17200 wine_fn_config_dll dmusic enable_dmusic clean
17201 wine_fn_config_test dlls
/dmusic
/tests dmusic_test
17202 wine_fn_config_dll dmusic32 enable_dmusic32 implib
17203 wine_fn_config_dll dnsapi enable_dnsapi implib
17204 wine_fn_config_test dlls
/dnsapi
/tests dnsapi_test
17205 wine_fn_config_dll dplay enable_dplay implib
17206 wine_fn_config_dll dplayx enable_dplayx clean
,implib
17207 wine_fn_config_test dlls
/dplayx
/tests dplayx_test
17208 wine_fn_config_dll dpnaddr enable_dpnaddr
17209 wine_fn_config_dll dpnet enable_dpnet clean
,implib
17210 wine_fn_config_test dlls
/dpnet
/tests dpnet_test
17211 wine_fn_config_dll dpnhpast enable_dpnhpast
17212 wine_fn_config_dll dpnlobby enable_dpnlobby
17213 wine_fn_config_dll dpvoice enable_dpvoice clean
17214 wine_fn_config_test dlls
/dpvoice
/tests dpvoice_test
17215 wine_fn_config_dll dpwsockx enable_dpwsockx
17216 wine_fn_config_dll drmclien enable_drmclien
17217 wine_fn_config_dll dsound enable_dsound clean
,implib
17218 wine_fn_config_test dlls
/dsound
/tests dsound_test
17219 wine_fn_config_dll dssenh enable_dssenh
17220 wine_fn_config_test dlls
/dssenh
/tests dssenh_test
17221 wine_fn_config_dll dswave enable_dswave clean
17222 wine_fn_config_test dlls
/dswave
/tests dswave_test
17223 wine_fn_config_dll dwmapi enable_dwmapi implib
17224 wine_fn_config_dll dwrite enable_dwrite implib
17225 wine_fn_config_test dlls
/dwrite
/tests dwrite_test
17226 wine_fn_config_dll dxdiagn enable_dxdiagn clean
,po
17227 wine_fn_config_test dlls
/dxdiagn
/tests dxdiagn_test
17228 wine_fn_config_lib dxerr8
17229 wine_fn_config_lib dxerr9
17230 wine_fn_config_dll dxgi enable_dxgi implib
17231 wine_fn_config_test dlls
/dxgi
/tests dxgi_test
17232 wine_fn_config_lib dxguid
17233 wine_fn_config_dll dxva2 enable_dxva2
17234 wine_fn_config_dll evr enable_evr
17235 wine_fn_config_dll explorerframe enable_explorerframe clean
17236 wine_fn_config_test dlls
/explorerframe
/tests explorerframe_test
17237 wine_fn_config_dll ext-ms-win-gdi-devcaps-l1-1-0 enable_ext_ms_win_gdi_devcaps_l1_1_0
17238 wine_fn_config_dll faultrep enable_faultrep implib
17239 wine_fn_config_test dlls
/faultrep
/tests faultrep_test
17240 wine_fn_config_dll fltlib enable_fltlib
17241 wine_fn_config_dll fntcache enable_fntcache
17242 wine_fn_config_dll fontsub enable_fontsub
17243 wine_fn_config_dll fusion enable_fusion
17244 wine_fn_config_test dlls
/fusion
/tests fusion_test
17245 wine_fn_config_dll fwpuclnt enable_fwpuclnt
17246 wine_fn_config_dll gameux enable_gameux clean
17247 wine_fn_config_test dlls
/gameux
/tests gameux_test
17248 wine_fn_config_dll gdi.exe16 enable_win16
17249 wine_fn_config_dll gdi32 enable_gdi32 clean
,implib
,po
17250 wine_fn_config_test dlls
/gdi32
/tests gdi32_test
17251 wine_fn_config_dll gdiplus enable_gdiplus implib
17252 wine_fn_config_test dlls
/gdiplus
/tests gdiplus_test
17253 wine_fn_config_dll glu32 enable_glu32 implib
17254 wine_fn_config_dll gphoto2.ds enable_gphoto2_ds po
17255 wine_fn_config_dll gpkcsp enable_gpkcsp
17256 wine_fn_config_dll hal enable_hal
17257 wine_fn_config_dll hhctrl.ocx enable_hhctrl_ocx clean
,implib
,po htmlhelp
17258 wine_fn_config_dll hid enable_hid implib
17259 wine_fn_config_dll hlink enable_hlink clean
,implib
17260 wine_fn_config_test dlls
/hlink
/tests hlink_test
17261 wine_fn_config_dll hnetcfg enable_hnetcfg clean
17262 wine_fn_config_dll httpapi enable_httpapi
17263 wine_fn_config_dll iccvid enable_iccvid po
17264 wine_fn_config_dll icmp enable_icmp
17265 wine_fn_config_dll ieframe enable_ieframe clean
,implib
,po
17266 wine_fn_config_test dlls
/ieframe
/tests ieframe_test
17267 wine_fn_config_dll ifsmgr.vxd enable_win16
17268 wine_fn_config_dll imaadp32.acm enable_imaadp32_acm
17269 wine_fn_config_dll imagehlp enable_imagehlp implib
17270 wine_fn_config_test dlls
/imagehlp
/tests imagehlp_test
17271 wine_fn_config_dll imm.dll16 enable_win16
17272 wine_fn_config_dll imm32 enable_imm32 implib
17273 wine_fn_config_test dlls
/imm32
/tests imm32_test
17274 wine_fn_config_dll inetcomm enable_inetcomm clean
,implib
17275 wine_fn_config_test dlls
/inetcomm
/tests inetcomm_test
17276 wine_fn_config_dll inetcpl.cpl enable_inetcpl_cpl po
17277 wine_fn_config_dll inetmib1 enable_inetmib1
17278 wine_fn_config_test dlls
/inetmib
1/tests inetmib1_test
17279 wine_fn_config_dll infosoft enable_infosoft clean
17280 wine_fn_config_test dlls
/infosoft
/tests infosoft_test
17281 wine_fn_config_dll initpki enable_initpki
17282 wine_fn_config_dll inkobj enable_inkobj
17283 wine_fn_config_dll inseng enable_inseng clean
17284 wine_fn_config_dll iphlpapi enable_iphlpapi implib
17285 wine_fn_config_test dlls
/iphlpapi
/tests iphlpapi_test
17286 wine_fn_config_dll itircl enable_itircl
17287 wine_fn_config_dll itss enable_itss clean
17288 wine_fn_config_test dlls
/itss
/tests itss_test
17289 wine_fn_config_dll joy.cpl enable_joy_cpl po
17290 wine_fn_config_dll jscript enable_jscript clean
,po
17291 wine_fn_config_test dlls
/jscript
/tests jscript_test
17292 wine_fn_config_dll jsproxy enable_jsproxy implib
17293 wine_fn_config_dll kernel32 enable_kernel32 clean
,implib
,mc
17294 wine_fn_config_test dlls
/kernel32
/tests kernel32_test
17295 wine_fn_config_dll keyboard.drv16 enable_win16
17296 wine_fn_config_dll krnl386.exe16 enable_win16 implib kernel
17297 wine_fn_config_dll ksuser enable_ksuser
17298 wine_fn_config_dll ktmw32 enable_ktmw32
17299 wine_fn_config_dll loadperf enable_loadperf implib
17300 wine_fn_config_dll localspl enable_localspl po
17301 wine_fn_config_test dlls
/localspl
/tests localspl_test
17302 wine_fn_config_dll localui enable_localui po
17303 wine_fn_config_test dlls
/localui
/tests localui_test
17304 wine_fn_config_dll lz32 enable_lz32 implib
17305 wine_fn_config_test dlls
/lz32
/tests lz32_test
17306 wine_fn_config_dll lzexpand.dll16 enable_win16
17307 wine_fn_config_dll mapi32 enable_mapi32 implib
,po
17308 wine_fn_config_test dlls
/mapi32
/tests mapi32_test
17309 wine_fn_config_dll mapistub enable_mapistub
17310 wine_fn_config_dll mciavi32 enable_mciavi32
17311 wine_fn_config_dll mcicda enable_mcicda
17312 wine_fn_config_dll mciqtz32 enable_mciqtz32
17313 wine_fn_config_dll mciseq enable_mciseq
17314 wine_fn_config_dll mciwave enable_mciwave
17315 wine_fn_config_dll mf enable_mf
17316 wine_fn_config_dll mfplat enable_mfplat
17317 wine_fn_config_dll mfreadwrite enable_mfreadwrite
17318 wine_fn_config_dll mgmtapi enable_mgmtapi
17319 wine_fn_config_dll midimap enable_midimap
17320 wine_fn_config_dll mlang enable_mlang clean
,implib
17321 wine_fn_config_test dlls
/mlang
/tests mlang_test
17322 wine_fn_config_dll mmcndmgr enable_mmcndmgr clean
17323 wine_fn_config_test dlls
/mmcndmgr
/tests mmcndmgr_test
17324 wine_fn_config_dll mmdevapi enable_mmdevapi clean
17325 wine_fn_config_test dlls
/mmdevapi
/tests mmdevapi_test
17326 wine_fn_config_dll mmdevldr.vxd enable_win16
17327 wine_fn_config_dll mmsystem.dll16 enable_win16
17328 wine_fn_config_dll monodebg.vxd enable_win16
17329 wine_fn_config_dll mountmgr.sys enable_mountmgr_sys
17330 wine_fn_config_dll mouse.drv16 enable_win16
17331 wine_fn_config_dll mpr enable_mpr implib
,po
17332 wine_fn_config_test dlls
/mpr
/tests mpr_test
17333 wine_fn_config_dll mprapi enable_mprapi implib
17334 wine_fn_config_dll msacm.dll16 enable_win16
17335 wine_fn_config_dll msacm32.drv enable_msacm32_drv
17336 wine_fn_config_dll msacm32 enable_msacm32 implib
,po
17337 wine_fn_config_test dlls
/msacm32
/tests msacm32_test
17338 wine_fn_config_dll msadp32.acm enable_msadp32_acm
17339 wine_fn_config_dll msasn1 enable_msasn1 implib
17340 wine_fn_config_dll mscat32 enable_mscat32
17341 wine_fn_config_dll mscms enable_mscms implib
17342 wine_fn_config_test dlls
/mscms
/tests mscms_test
17343 wine_fn_config_dll mscoree enable_mscoree clean
17344 wine_fn_config_test dlls
/mscoree
/tests mscoree_test
17345 wine_fn_config_dll msctf enable_msctf clean
17346 wine_fn_config_test dlls
/msctf
/tests msctf_test
17347 wine_fn_config_dll msdaps enable_msdaps clean
17348 wine_fn_config_dll msdmo enable_msdmo implib
17349 wine_fn_config_test dlls
/msdmo
/tests msdmo_test
17350 wine_fn_config_dll msftedit enable_msftedit
17351 wine_fn_config_dll msg711.acm enable_msg711_acm
17352 wine_fn_config_dll msgsm32.acm enable_msgsm32_acm
17353 wine_fn_config_dll mshtml.tlb enable_mshtml_tlb clean
17354 wine_fn_config_dll mshtml enable_mshtml clean
,implib
,po
17355 wine_fn_config_test dlls
/mshtml
/tests mshtml_test clean
17356 wine_fn_config_dll msi enable_msi clean
,implib
,po
17357 wine_fn_config_test dlls
/msi
/tests msi_test
17358 wine_fn_config_dll msident enable_msident clean
17359 wine_fn_config_dll msimg32 enable_msimg32 implib
17360 wine_fn_config_dll msimsg enable_msimsg
17361 wine_fn_config_dll msimtf enable_msimtf clean
17362 wine_fn_config_dll msisip enable_msisip
17363 wine_fn_config_dll msisys.ocx enable_msisys_ocx
17364 wine_fn_config_dll msls31 enable_msls31
17365 wine_fn_config_dll msnet32 enable_msnet32
17366 wine_fn_config_dll mspatcha enable_mspatcha
17367 wine_fn_config_dll msrle32 enable_msrle32 po
17368 wine_fn_config_test dlls
/msrle32
/tests msrle32_test
17369 wine_fn_config_dll mssign32 enable_mssign32
17370 wine_fn_config_dll mssip32 enable_mssip32
17371 wine_fn_config_dll mstask enable_mstask clean
17372 wine_fn_config_test dlls
/mstask
/tests mstask_test
17373 wine_fn_config_dll msvcirt enable_msvcirt
17374 wine_fn_config_dll msvcm80 enable_msvcm80
17375 wine_fn_config_dll msvcm90 enable_msvcm90
17376 wine_fn_config_dll msvcp100 enable_msvcp100
17377 wine_fn_config_test dlls
/msvcp100
/tests msvcp100_test
17378 wine_fn_config_dll msvcp110 enable_msvcp110
17379 wine_fn_config_dll msvcp120 enable_msvcp120
17380 wine_fn_config_test dlls
/msvcp120
/tests msvcp120_test
17381 wine_fn_config_dll msvcp120_app enable_msvcp120_app
17382 wine_fn_config_dll msvcp60 enable_msvcp60
17383 wine_fn_config_test dlls
/msvcp60
/tests msvcp60_test
17384 wine_fn_config_dll msvcp70 enable_msvcp70
17385 wine_fn_config_dll msvcp71 enable_msvcp71
17386 wine_fn_config_dll msvcp80 enable_msvcp80
17387 wine_fn_config_dll msvcp90 enable_msvcp90
17388 wine_fn_config_test dlls
/msvcp90
/tests msvcp90_test
17389 wine_fn_config_dll msvcr100 enable_msvcr100 implib
17390 wine_fn_config_test dlls
/msvcr100
/tests msvcr100_test
17391 wine_fn_config_dll msvcr110 enable_msvcr110 implib
17392 wine_fn_config_dll msvcr120 enable_msvcr120 implib
17393 wine_fn_config_test dlls
/msvcr120
/tests msvcr120_test
17394 wine_fn_config_dll msvcr120_app enable_msvcr120_app
17395 wine_fn_config_dll msvcr70 enable_msvcr70 implib
17396 wine_fn_config_dll msvcr71 enable_msvcr71 implib
17397 wine_fn_config_dll msvcr80 enable_msvcr80 implib
17398 wine_fn_config_dll msvcr90 enable_msvcr90 implib
17399 wine_fn_config_test dlls
/msvcr90
/tests msvcr90_test
17400 wine_fn_config_dll msvcrt enable_msvcrt implib
17401 wine_fn_config_test dlls
/msvcrt
/tests msvcrt_test
17402 wine_fn_config_dll msvcrt20 enable_msvcrt20 implib
17403 wine_fn_config_dll msvcrt40 enable_msvcrt40 implib
17404 wine_fn_config_dll msvcrtd enable_msvcrtd implib
17405 wine_fn_config_test dlls
/msvcrtd
/tests msvcrtd_test
17406 wine_fn_config_dll msvfw32 enable_msvfw32 implib
,po
17407 wine_fn_config_test dlls
/msvfw32
/tests msvfw32_test
17408 wine_fn_config_dll msvidc32 enable_msvidc32 po
17409 wine_fn_config_dll msvideo.dll16 enable_win16
17410 wine_fn_config_dll mswsock enable_mswsock implib
17411 wine_fn_config_dll msxml enable_msxml clean
17412 wine_fn_config_dll msxml2 enable_msxml2 clean
17413 wine_fn_config_dll msxml3 enable_msxml3 clean
17414 wine_fn_config_test dlls
/msxml
3/tests msxml3_test clean
17415 wine_fn_config_dll msxml4 enable_msxml4 clean
17416 wine_fn_config_dll msxml6 enable_msxml6 clean
17417 wine_fn_config_dll nddeapi enable_nddeapi implib
17418 wine_fn_config_dll ndis.sys enable_ndis_sys
17419 wine_fn_config_dll netapi32 enable_netapi32 implib
17420 wine_fn_config_test dlls
/netapi32
/tests netapi32_test
17421 wine_fn_config_dll netcfgx enable_netcfgx clean
17422 wine_fn_config_test dlls
/netcfgx
/tests netcfgx_test
17423 wine_fn_config_dll netprofm enable_netprofm clean
17424 wine_fn_config_test dlls
/netprofm
/tests netprofm_test
17425 wine_fn_config_dll newdev enable_newdev implib
17426 wine_fn_config_dll normaliz enable_normaliz implib
17427 wine_fn_config_dll npmshtml enable_npmshtml
17428 wine_fn_config_dll npptools enable_npptools
17429 wine_fn_config_dll ntdll enable_ntdll implib
17430 wine_fn_config_test dlls
/ntdll
/tests ntdll_test
17431 wine_fn_config_dll ntdsapi enable_ntdsapi implib
17432 wine_fn_config_test dlls
/ntdsapi
/tests ntdsapi_test
17433 wine_fn_config_dll ntoskrnl.exe enable_ntoskrnl_exe implib
17434 wine_fn_config_dll ntprint enable_ntprint
17435 wine_fn_config_test dlls
/ntprint
/tests ntprint_test
17436 wine_fn_config_dll objsel enable_objsel clean
17437 wine_fn_config_dll odbc32 enable_odbc32 implib
17438 wine_fn_config_dll odbccp32 enable_odbccp32 implib
17439 wine_fn_config_test dlls
/odbccp32
/tests odbccp32_test
17440 wine_fn_config_dll odbccu32 enable_odbccu32
17441 wine_fn_config_dll ole2.dll16 enable_win16
17442 wine_fn_config_dll ole2conv.dll16 enable_win16
17443 wine_fn_config_dll ole2disp.dll16 enable_win16
17444 wine_fn_config_dll ole2nls.dll16 enable_win16
17445 wine_fn_config_dll ole2prox.dll16 enable_win16
17446 wine_fn_config_dll ole2thk.dll16 enable_win16
17447 wine_fn_config_dll ole32 enable_ole32 clean
,implib
17448 wine_fn_config_test dlls
/ole32
/tests ole32_test
17449 wine_fn_config_dll oleacc enable_oleacc clean
,implib
,po
17450 wine_fn_config_test dlls
/oleacc
/tests oleacc_test
17451 wine_fn_config_dll oleaut32 enable_oleaut32 clean
,implib
,po
17452 wine_fn_config_test dlls
/oleaut32
/tests oleaut32_test clean
17453 wine_fn_config_dll olecli.dll16 enable_win16
17454 wine_fn_config_dll olecli32 enable_olecli32 implib
17455 wine_fn_config_dll oledb32 enable_oledb32 clean
17456 wine_fn_config_test dlls
/oledb32
/tests oledb32_test clean
17457 wine_fn_config_dll oledlg enable_oledlg implib
,po
17458 wine_fn_config_dll olepro32 enable_olepro32 implib
17459 wine_fn_config_dll olesvr.dll16 enable_win16
17460 wine_fn_config_dll olesvr32 enable_olesvr32 implib
17461 wine_fn_config_dll olethk32 enable_olethk32
17462 wine_fn_config_dll openal32 enable_openal32
17463 wine_fn_config_dll opencl enable_opencl
17464 wine_fn_config_dll opengl32 enable_opengl32 implib
17465 wine_fn_config_test dlls
/opengl32
/tests opengl32_test
17466 wine_fn_config_dll packager enable_packager clean
17467 wine_fn_config_test dlls
/packager
/tests packager_test
17468 wine_fn_config_dll pdh enable_pdh implib
17469 wine_fn_config_test dlls
/pdh
/tests pdh_test
17470 wine_fn_config_dll photometadatahandler enable_photometadatahandler
17471 wine_fn_config_dll pidgen enable_pidgen
17472 wine_fn_config_dll powrprof enable_powrprof implib
17473 wine_fn_config_dll printui enable_printui
17474 wine_fn_config_dll prntvpt enable_prntvpt
17475 wine_fn_config_dll propsys enable_propsys clean
,implib
17476 wine_fn_config_test dlls
/propsys
/tests propsys_test
17477 wine_fn_config_dll psapi enable_psapi implib
17478 wine_fn_config_test dlls
/psapi
/tests psapi_test
17479 wine_fn_config_dll pstorec enable_pstorec clean
17480 wine_fn_config_dll qcap enable_qcap
17481 wine_fn_config_test dlls
/qcap
/tests qcap_test
17482 wine_fn_config_dll qedit enable_qedit clean
17483 wine_fn_config_test dlls
/qedit
/tests qedit_test
17484 wine_fn_config_dll qmgr enable_qmgr clean
17485 wine_fn_config_test dlls
/qmgr
/tests qmgr_test
17486 wine_fn_config_dll qmgrprxy enable_qmgrprxy clean
17487 wine_fn_config_dll quartz enable_quartz clean
,implib
17488 wine_fn_config_test dlls
/quartz
/tests quartz_test clean
17489 wine_fn_config_dll query enable_query
17490 wine_fn_config_dll rasapi16.dll16 enable_win16
17491 wine_fn_config_dll rasapi32 enable_rasapi32 implib
17492 wine_fn_config_test dlls
/rasapi32
/tests rasapi32_test
17493 wine_fn_config_dll rasdlg enable_rasdlg implib
17494 wine_fn_config_dll regapi enable_regapi
17495 wine_fn_config_dll resutils enable_resutils implib
17496 wine_fn_config_dll riched20 enable_riched20 implib
17497 wine_fn_config_test dlls
/riched20
/tests riched20_test
17498 wine_fn_config_dll riched32 enable_riched32
17499 wine_fn_config_test dlls
/riched32
/tests riched32_test
17500 wine_fn_config_dll rpcrt4 enable_rpcrt4 clean
,implib
17501 wine_fn_config_test dlls
/rpcrt
4/tests rpcrt4_test clean
17502 wine_fn_config_dll rsabase enable_rsabase
17503 wine_fn_config_dll rsaenh enable_rsaenh implib
17504 wine_fn_config_test dlls
/rsaenh
/tests rsaenh_test
17505 wine_fn_config_dll rstrtmgr enable_rstrtmgr
17506 wine_fn_config_dll rtutils enable_rtutils implib
17507 wine_fn_config_dll samlib enable_samlib
17508 wine_fn_config_dll sane.ds enable_sane_ds po
17509 wine_fn_config_dll scarddlg enable_scarddlg
17510 wine_fn_config_dll sccbase enable_sccbase
17511 wine_fn_config_dll schannel enable_schannel
17512 wine_fn_config_test dlls
/schannel
/tests schannel_test
17513 wine_fn_config_dll schedsvc enable_schedsvc clean
17514 wine_fn_config_test dlls
/schedsvc
/tests schedsvc_test clean
17515 wine_fn_config_dll scrrun enable_scrrun clean
17516 wine_fn_config_test dlls
/scrrun
/tests scrrun_test clean
17517 wine_fn_config_dll scsiport.sys enable_scsiport_sys
17518 wine_fn_config_dll secur32 enable_secur32 implib
17519 wine_fn_config_test dlls
/secur32
/tests secur32_test
17520 wine_fn_config_dll security enable_security
17521 wine_fn_config_dll sensapi enable_sensapi implib
17522 wine_fn_config_dll serialui enable_serialui implib
,po
17523 wine_fn_config_test dlls
/serialui
/tests serialui_test
17524 wine_fn_config_dll setupapi enable_setupapi implib
,po
17525 wine_fn_config_test dlls
/setupapi
/tests setupapi_test
17526 wine_fn_config_dll setupx.dll16 enable_win16
17527 wine_fn_config_dll sfc enable_sfc implib
17528 wine_fn_config_dll sfc_os enable_sfc_os implib
17529 wine_fn_config_dll shdoclc enable_shdoclc po
17530 wine_fn_config_dll shdocvw enable_shdocvw clean
,implib
17531 wine_fn_config_test dlls
/shdocvw
/tests shdocvw_test
17532 wine_fn_config_dll shell.dll16 enable_win16
17533 wine_fn_config_dll shell32 enable_shell32 clean
,implib
,po
17534 wine_fn_config_test dlls
/shell32
/tests shell32_test
17535 wine_fn_config_dll shfolder enable_shfolder implib
17536 wine_fn_config_dll shlwapi enable_shlwapi implib
,po
17537 wine_fn_config_test dlls
/shlwapi
/tests shlwapi_test
17538 wine_fn_config_dll slbcsp enable_slbcsp
17539 wine_fn_config_dll slc enable_slc implib
17540 wine_fn_config_test dlls
/slc
/tests slc_test
17541 wine_fn_config_dll snmpapi enable_snmpapi implib
17542 wine_fn_config_test dlls
/snmpapi
/tests snmpapi_test
17543 wine_fn_config_dll softpub enable_softpub
17544 wine_fn_config_dll sound.drv16 enable_win16
17545 wine_fn_config_dll spoolss enable_spoolss implib
17546 wine_fn_config_test dlls
/spoolss
/tests spoolss_test
17547 wine_fn_config_dll stdole2.tlb enable_stdole2_tlb clean
17548 wine_fn_config_dll stdole32.tlb enable_stdole32_tlb clean
17549 wine_fn_config_dll sti enable_sti clean
,implib
17550 wine_fn_config_test dlls
/sti
/tests sti_test
17551 wine_fn_config_dll storage.dll16 enable_win16
17552 wine_fn_config_dll stress.dll16 enable_win16
17553 wine_fn_config_lib strmbase
17554 wine_fn_config_lib strmiids
17555 wine_fn_config_dll svrapi enable_svrapi
17556 wine_fn_config_dll sxs enable_sxs implib
17557 wine_fn_config_test dlls
/sxs
/tests sxs_test
17558 wine_fn_config_dll system.drv16 enable_win16
17559 wine_fn_config_dll t2embed enable_t2embed
17560 wine_fn_config_dll tapi32 enable_tapi32 implib
17561 wine_fn_config_dll taskschd enable_taskschd clean
17562 wine_fn_config_test dlls
/taskschd
/tests taskschd_test
17563 wine_fn_config_dll toolhelp.dll16 enable_win16
17564 wine_fn_config_dll traffic enable_traffic
17565 wine_fn_config_dll twain.dll16 enable_win16
17566 wine_fn_config_dll twain_32 enable_twain_32
17567 wine_fn_config_test dlls
/twain_32
/tests twain_32_test
17568 wine_fn_config_dll typelib.dll16 enable_win16
17569 wine_fn_config_dll unicows enable_unicows implib
17570 wine_fn_config_dll updspapi enable_updspapi
17571 wine_fn_config_dll url enable_url implib
17572 wine_fn_config_dll urlmon enable_urlmon clean
,implib
,po
17573 wine_fn_config_test dlls
/urlmon
/tests urlmon_test
17574 wine_fn_config_dll usbd.sys enable_usbd_sys implib
17575 wine_fn_config_dll user.exe16 enable_win16
17576 wine_fn_config_dll user32 enable_user32 clean
,implib
,po
17577 wine_fn_config_test dlls
/user32
/tests user32_test
17578 wine_fn_config_dll userenv enable_userenv implib
17579 wine_fn_config_test dlls
/userenv
/tests userenv_test
17580 wine_fn_config_dll usp10 enable_usp10 implib
17581 wine_fn_config_test dlls
/usp10
/tests usp10_test
17582 wine_fn_config_lib uuid
17583 wine_fn_config_dll uxtheme enable_uxtheme implib
17584 wine_fn_config_test dlls
/uxtheme
/tests uxtheme_test
17585 wine_fn_config_dll vbscript enable_vbscript clean
17586 wine_fn_config_test dlls
/vbscript
/tests vbscript_test clean
17587 wine_fn_config_dll vcomp enable_vcomp
17588 wine_fn_config_dll vcomp100 enable_vcomp100
17589 wine_fn_config_dll vcomp90 enable_vcomp90
17590 wine_fn_config_dll vdhcp.vxd enable_win16
17591 wine_fn_config_dll vdmdbg enable_vdmdbg implib
17592 wine_fn_config_dll ver.dll16 enable_win16
17593 wine_fn_config_dll version enable_version implib
17594 wine_fn_config_test dlls
/version
/tests version_test
17595 wine_fn_config_dll vmm.vxd enable_win16
17596 wine_fn_config_dll vnbt.vxd enable_win16
17597 wine_fn_config_dll vnetbios.vxd enable_win16
17598 wine_fn_config_dll vssapi enable_vssapi
17599 wine_fn_config_dll vtdapi.vxd enable_win16
17600 wine_fn_config_dll vwin32.vxd enable_win16
17601 wine_fn_config_dll w32skrnl enable_win16
17602 wine_fn_config_dll w32sys.dll16 enable_win16
17603 wine_fn_config_dll wbemdisp enable_wbemdisp clean
17604 wine_fn_config_test dlls
/wbemdisp
/tests wbemdisp_test
17605 wine_fn_config_dll wbemprox enable_wbemprox clean
17606 wine_fn_config_test dlls
/wbemprox
/tests wbemprox_test
17607 wine_fn_config_dll webservices enable_webservices implib
17608 wine_fn_config_dll wer enable_wer implib
17609 wine_fn_config_test dlls
/wer
/tests wer_test
17610 wine_fn_config_dll wevtapi enable_wevtapi
17611 wine_fn_config_dll wiaservc enable_wiaservc clean
17612 wine_fn_config_dll win32s16.dll16 enable_win16
17613 wine_fn_config_dll win87em.dll16 enable_win16
17614 wine_fn_config_dll winaspi.dll16 enable_win16
17615 wine_fn_config_dll windebug.dll16 enable_win16
17616 wine_fn_config_dll windowscodecs enable_windowscodecs clean
,implib
17617 wine_fn_config_test dlls
/windowscodecs
/tests windowscodecs_test
17618 wine_fn_config_dll windowscodecsext enable_windowscodecsext implib
17619 wine_fn_config_test dlls
/windowscodecsext
/tests windowscodecsext_test
17620 wine_fn_config_dll winealsa.drv enable_winealsa_drv
17621 wine_fn_config_dll winecoreaudio.drv enable_winecoreaudio_drv
17622 wine_fn_config_lib winecrt0
17623 wine_fn_config_dll wined3d enable_wined3d implib
17624 wine_fn_config_dll winegstreamer enable_winegstreamer
17625 wine_fn_config_dll winejoystick.drv enable_winejoystick_drv
17626 wine_fn_config_dll winemac.drv enable_winemac_drv
17627 wine_fn_config_dll winemapi enable_winemapi
17628 wine_fn_config_dll winemp3.acm enable_winemp3_acm
17629 wine_fn_config_dll wineoss.drv enable_wineoss_drv
17630 wine_fn_config_dll wineps.drv enable_wineps_drv clean
,po
17631 wine_fn_config_dll wineps16.drv16 enable_win16
17632 wine_fn_config_dll wineqtdecoder enable_wineqtdecoder
17633 wine_fn_config_dll winex11.drv enable_winex11_drv
17634 wine_fn_config_dll wing.dll16 enable_win16
17635 wine_fn_config_dll wing32 enable_wing32
17636 wine_fn_config_dll winhttp enable_winhttp clean
,implib
17637 wine_fn_config_test dlls
/winhttp
/tests winhttp_test
17638 wine_fn_config_dll wininet enable_wininet implib
,po
17639 wine_fn_config_test dlls
/wininet
/tests wininet_test
17640 wine_fn_config_dll winmm enable_winmm implib
,po
17641 wine_fn_config_test dlls
/winmm
/tests winmm_test
17642 wine_fn_config_dll winnls.dll16 enable_win16
17643 wine_fn_config_dll winnls32 enable_winnls32 implib
17644 wine_fn_config_dll winscard enable_winscard implib
17645 wine_fn_config_dll winsock.dll16 enable_win16
17646 wine_fn_config_dll winspool.drv enable_winspool_drv implib
,po winspool
17647 wine_fn_config_test dlls
/winspool.drv
/tests winspool.drv_test
17648 wine_fn_config_dll winsta enable_winsta
17649 wine_fn_config_dll wintab.dll16 enable_win16
17650 wine_fn_config_dll wintab32 enable_wintab32 implib
17651 wine_fn_config_test dlls
/wintab32
/tests wintab32_test
17652 wine_fn_config_dll wintrust enable_wintrust implib
17653 wine_fn_config_test dlls
/wintrust
/tests wintrust_test
17654 wine_fn_config_dll wlanapi enable_wlanapi
17655 wine_fn_config_dll wldap32 enable_wldap32 implib
,po
17656 wine_fn_config_test dlls
/wldap32
/tests wldap32_test
17657 wine_fn_config_dll wmi enable_wmi
17658 wine_fn_config_dll wmiutils enable_wmiutils clean
17659 wine_fn_config_test dlls
/wmiutils
/tests wmiutils_test
17660 wine_fn_config_dll wmp enable_wmp clean
17661 wine_fn_config_test dlls
/wmp
/tests wmp_test
17662 wine_fn_config_dll wmvcore enable_wmvcore
17663 wine_fn_config_dll wnaspi32 enable_wnaspi32 implib
17664 wine_fn_config_dll wow32 enable_win16 implib
17665 wine_fn_config_dll wpcap enable_wpcap
17666 wine_fn_config_dll ws2_32 enable_ws2_32 implib
17667 wine_fn_config_test dlls
/ws2_32
/tests ws2_32_test
17668 wine_fn_config_dll wshom.ocx enable_wshom_ocx clean
17669 wine_fn_config_test dlls
/wshom.ocx
/tests wshom.ocx_test clean
17670 wine_fn_config_dll wsnmp32 enable_wsnmp32 implib
17671 wine_fn_config_test dlls
/wsnmp32
/tests wsnmp32_test
17672 wine_fn_config_dll wsock32 enable_wsock32 implib
17673 wine_fn_config_dll wtsapi32 enable_wtsapi32 implib
17674 wine_fn_config_test dlls
/wtsapi32
/tests wtsapi32_test
17675 wine_fn_config_dll wuapi enable_wuapi clean
17676 wine_fn_config_dll wuaueng enable_wuaueng
17677 wine_fn_config_dll x3daudio1_7 enable_x3daudio1_7
17678 wine_fn_config_dll xapofx1_1 enable_xapofx1_1
17679 wine_fn_config_dll xapofx1_5 enable_xapofx1_5
17680 wine_fn_config_dll xaudio2_7 enable_xaudio2_7
17681 wine_fn_config_dll xinput1_1 enable_xinput1_1
17682 wine_fn_config_dll xinput1_2 enable_xinput1_2
17683 wine_fn_config_dll xinput1_3 enable_xinput1_3 implib xinput
17684 wine_fn_config_test dlls
/xinput1_
3/tests xinput1_3_test
17685 wine_fn_config_dll xinput1_4 enable_xinput1_4
17686 wine_fn_config_dll xinput9_1_0 enable_xinput9_1_0
17687 wine_fn_config_dll xmllite enable_xmllite implib
17688 wine_fn_config_test dlls
/xmllite
/tests xmllite_test
17689 wine_fn_config_dll xolehlp enable_xolehlp
17690 wine_fn_config_dll xpsprint enable_xpsprint
17691 wine_fn_config_dll xpssvcs enable_xpssvcs
17692 wine_fn_config_makefile documentation enable_documentation clean
17693 wine_fn_config_makefile fonts enable_fonts clean
,install-lib
17694 wine_fn_config_makefile include enable_include clean
,install-dev
17695 wine_fn_config_makefile libs
/port enable_libs_port
17696 wine_fn_config_makefile libs
/wine enable_libs_wine clean
,install-dev
,install-lib
17697 wine_fn_config_makefile libs
/wpp enable_libs_wpp
17698 wine_fn_config_makefile loader enable_loader clean
,install-lib
,manpage
17699 wine_fn_config_program arp enable_arp
install
17700 wine_fn_config_program aspnet_regiis enable_aspnet_regiis
install
17701 wine_fn_config_program attrib enable_attrib
install,po
17702 wine_fn_config_program cabarc enable_cabarc
install
17703 wine_fn_config_program cacls enable_cacls
install
17704 wine_fn_config_program
clock enable_clock
install,po
17705 wine_fn_config_program cmd enable_cmd
install,po
17706 wine_fn_config_test programs
/cmd
/tests cmd.exe_test
17707 wine_fn_config_program conhost enable_conhost
install
17708 wine_fn_config_program control enable_control
install
17709 wine_fn_config_program cscript enable_cscript clean
,install
17710 wine_fn_config_program dpnsvr enable_dpnsvr
install
17711 wine_fn_config_program dxdiag enable_dxdiag
install,po
17712 wine_fn_config_program eject enable_eject
install
17713 wine_fn_config_program
expand enable_expand
install
17714 wine_fn_config_program explorer enable_explorer
install,po
17715 wine_fn_config_program extrac32 enable_extrac32
install
17716 wine_fn_config_program findstr enable_findstr
install
17717 wine_fn_config_program hh enable_hh
install
17718 wine_fn_config_program hostname enable_hostname
install,po
17719 wine_fn_config_program icinfo enable_icinfo
install
17720 wine_fn_config_program iexplore enable_iexplore
install
17721 wine_fn_config_program ipconfig enable_ipconfig
install,po
17722 wine_fn_config_program lodctr enable_lodctr
install
17723 wine_fn_config_program mofcomp enable_mofcomp
install
17724 wine_fn_config_program mshta enable_mshta
install
17725 wine_fn_config_program msiexec enable_msiexec
install,installbin
,manpage
17726 wine_fn_config_program net enable_net
install,po
17727 wine_fn_config_program netsh enable_netsh
install
17728 wine_fn_config_program netstat enable_netstat
install,po
17729 wine_fn_config_program ngen enable_ngen
install
17730 wine_fn_config_program notepad enable_notepad
install,installbin
,manpage
,po
17731 wine_fn_config_program oleview enable_oleview
install,po
17732 wine_fn_config_program
ping enable_ping
install
17733 wine_fn_config_program plugplay enable_plugplay
install
17734 wine_fn_config_program presentationfontcache enable_presentationfontcache
install
17735 wine_fn_config_program progman enable_progman
install,po
17736 wine_fn_config_program reg enable_reg
install,po
17737 wine_fn_config_test programs
/reg
/tests reg.exe_test
17738 wine_fn_config_program regasm enable_regasm
install
17739 wine_fn_config_program regedit enable_regedit
install,installbin
,manpage
,po
17740 wine_fn_config_test programs
/regedit
/tests regedit.exe_test
17741 wine_fn_config_program regsvcs enable_regsvcs
install
17742 wine_fn_config_program regsvr32 enable_regsvr32
install,installbin
,manpage
,po
17743 wine_fn_config_program rpcss enable_rpcss clean
,install
17744 wine_fn_config_program rundll.exe16 enable_win16
install
17745 wine_fn_config_program rundll32 enable_rundll32
install
17746 wine_fn_config_program sc enable_sc
install
17747 wine_fn_config_program schtasks enable_schtasks
install
17748 wine_fn_config_program sdbinst enable_sdbinst
install
17749 wine_fn_config_program secedit enable_secedit
install
17750 wine_fn_config_program servicemodelreg enable_servicemodelreg
install
17751 wine_fn_config_program services enable_services clean
,install
17752 wine_fn_config_test programs
/services
/tests services.exe_test
17753 wine_fn_config_program spoolsv enable_spoolsv
install
17754 wine_fn_config_program start enable_start
install,po
17755 wine_fn_config_program svchost enable_svchost
install
17756 wine_fn_config_program systeminfo enable_systeminfo
install
17757 wine_fn_config_program taskkill enable_taskkill
install,po
17758 wine_fn_config_program tasklist enable_tasklist
install
17759 wine_fn_config_program taskmgr enable_taskmgr
install,po
17760 wine_fn_config_program termsv enable_termsv
install
17761 wine_fn_config_program uninstaller enable_uninstaller
install,po
17762 wine_fn_config_program unlodctr enable_unlodctr
install
17763 wine_fn_config_program view enable_view
install,po
17764 wine_fn_config_program wevtutil enable_wevtutil
install
17765 wine_fn_config_program wineboot enable_wineboot
install,installbin
,manpage
,po
17766 wine_fn_config_program winebrowser enable_winebrowser
install
17767 wine_fn_config_program winecfg enable_winecfg
install,installbin
,manpage
,po
17768 wine_fn_config_program wineconsole enable_wineconsole
install,installbin
,manpage
,po
17769 wine_fn_config_program winedbg enable_winedbg
install,installbin
,manpage
,po
17770 wine_fn_config_program winedevice enable_winedevice
install
17771 wine_fn_config_program winefile enable_winefile
install,installbin
,manpage
,po
17772 wine_fn_config_program winemenubuilder enable_winemenubuilder
install
17773 wine_fn_config_program winemine enable_winemine
install,installbin
,manpage
,po
17774 wine_fn_config_program winemsibuilder enable_winemsibuilder
install
17775 wine_fn_config_program winepath enable_winepath
install,installbin
,manpage
17776 wine_fn_config_program winetest enable_winetest clean
17777 wine_fn_config_program winevdm enable_win16
install
17778 wine_fn_config_program winhelp.exe16 enable_win16
install
17779 wine_fn_config_program winhlp32 enable_winhlp32
install,po
17780 wine_fn_config_program winoldap.mod16 enable_win16
install
17781 wine_fn_config_program winver enable_winver
install
17782 wine_fn_config_program wmic enable_wmic
install,po
17783 wine_fn_config_program wordpad enable_wordpad
install,po
17784 wine_fn_config_program
write enable_write
install,po
17785 wine_fn_config_program wscript enable_wscript clean
,install
17786 wine_fn_config_test programs
/wscript
/tests wscript.exe_test
17787 wine_fn_config_program wusa enable_wusa
install
17788 wine_fn_config_program xcopy enable_xcopy
install,po
17789 wine_fn_config_test programs
/xcopy
/tests xcopy.exe_test
17790 wine_fn_config_makefile server enable_server clean
,install-lib
,manpage
17791 wine_fn_config_tool tools clean
,install-dev
,install-lib
,manpage
17792 wine_fn_config_tool tools
/sfnt2fon clean
17793 wine_fn_config_tool tools
/widl clean
,install-dev
,manpage
17794 wine_fn_config_tool tools
/winebuild clean
,install-dev
,manpage
17795 wine_fn_config_tool tools
/winedump clean
,install-dev
,manpage
17796 wine_fn_config_tool tools
/winegcc clean
,install-dev
,manpage
17797 wine_fn_config_tool tools
/wmc clean
,install-dev
,manpage
17798 wine_fn_config_tool tools
/wrc clean
,install-dev
,manpage
17850 wine_fn_ignore_file
".gitignore"
17851 wine_fn_ignore_file
"Makefile"
17852 wine_fn_ignore_file
"TAGS"
17853 wine_fn_ignore_file
"tags"
17854 wine_fn_ignore_file
"autom4te.cache"
17855 wine_fn_ignore_file
"config.cache"
17856 wine_fn_ignore_file
"config.log"
17857 wine_fn_ignore_file
"config.status"
17858 wine_fn_ignore_file
"configure.lineno"
17859 wine_fn_ignore_file
"include/config.h"
17860 wine_fn_ignore_file
"include/stamp-h"
17861 test "$wine_binary" = wine || wine_fn_ignore_file
"loader/wine"
17863 if test "x$enable_tools" != xno
17865 wine_fn_ignore_file
"tools/makedep$ac_exeext"
17866 ac_config_commands
="$ac_config_commands tools/makedep"
17870 ac_config_commands
="$ac_config_commands Makefile"
17873 ac_config_files
="$ac_config_files Make.tmp:Make.vars.in:Makefile.in"
17877 if test "x$enable_maintainer_mode" = xyes
17879 wine_fn_append_rule
"configure: configure.ac aclocal.m4
17880 autoconf --warnings=all
17881 include/config.h.in: include/stamp-h.in
17882 include/stamp-h.in: configure.ac aclocal.m4
17883 autoheader --warnings=all
17884 @echo timestamp > \$@"
17887 if test "x$with_gettextpo" = xyes
17889 test "$srcdir" = . || as_fn_error $?
"Rebuilding po files is not supported for out of tree builds." "$LINENO" 5
17890 wine_fn_append_rule
"ALL_POT_FILES =$ALL_POT_FILES
17891 \$(LINGUAS:%=po/%.po): po/wine.pot
17892 msgmerge --previous -q \$@ po/wine.pot | msgattrib --no-obsolete -o \$@.new && mv \$@.new \$@
17893 po/wine.pot: \$(ALL_POT_FILES)
17894 msgcat -o \$@ \$(ALL_POT_FILES)"
17897 if test "$MSGFMT" != false
17899 wine_fn_append_rule
"__builddeps__: \$(LINGUAS:%=po/%.mo)
17901 \$(RM) \$(LINGUAS:%=po/%.mo)"
17904 test "$srcdir" = . || posrc
="$srcdir/po"
17907 wine_fn_ignore_file
"po/$i.mo"
17908 wine_fn_append_rule
"po/$i.mo: $posrc/$i.po
17909 \$(MSGFMT) -o \$@ $posrc/$i.po"
17915 if test "x$enable_tools" != xno
17917 wine_fn_append_rule
"tools/makedep$ac_exeext: $srcdir/tools/makedep.c include/config.h config.status
17918 @./config.status tools/makedep
17919 Makefile: tools/makedep$ac_exeext
17921 \$(RM) tools/makedep$ac_exeext"
17923 wine_fn_append_rule
"\$(MAKEDEP):
17924 @echo \"You need to run make in $TOOLSDIR first\" && false"
17927 if test -n "$with_wine64"
17929 wine_fn_append_rule
"all: fonts server tools $with_wine64/loader/wine $with_wine64/loader/wine-preloader
17930 fonts server tools:
17931 \$(RM) \$@ && \$(LN_S) $with_wine64/\$@ \$@
17932 $with_wine64/loader/wine:
17933 \$(RM) \$@ && \$(LN_S) $ac_pwd/loader/wine \$@
17934 $with_wine64/loader/wine-preloader:
17935 \$(RM) \$@ && \$(LN_S) $ac_pwd/loader/wine-preloader \$@
17937 \$(RM) fonts server tools $with_wine64/loader/wine $with_wine64/loader/wine-preloader"
17939 as_fn_append LOADER_RULES
"
17940 install install-lib:: wine.inf install-man-pages
17941 \$(INSTALL_DATA) wine.inf \$(DESTDIR)\$(datadir)/wine/wine.inf
17942 \$(INSTALL_DATA) \$(srcdir)/l_intl.nls \$(DESTDIR)\$(datadir)/wine/l_intl.nls
17945 \$(RM) \$(DESTDIR)\$(datadir)/wine/wine.inf \$(DESTDIR)\$(datadir)/wine/l_intl.nls
17949 if test "$srcdir" = .
17951 ac_config_commands
="$ac_config_commands .gitignore"
17955 $as_echo " done" >&6
17956 cat >confcache
<<\_ACEOF
17957 # This file is a shell script that caches the results of configure
17958 # tests run on this system so they can be shared between configure
17959 # scripts and configure runs, see configure's option --config-cache.
17960 # It is not useful on other systems. If it contains results you don't
17961 # want to keep, you may remove or edit it.
17963 # config.status only pays attention to the cache file if you give it
17964 # the --recheck option to rerun configure.
17966 # `ac_cv_env_foo' variables (set or unset) will be overridden when
17967 # loading this file, other *unset* `ac_cv_foo' will be assigned the
17968 # following values.
17972 # The following way of writing the cache mishandles newlines in values,
17973 # but we know of no workaround that is simple, portable, and efficient.
17974 # So, we kill variables containing newlines.
17975 # Ultrix sh set writes to stderr and can't be redirected directly,
17976 # and sets the high bit in the cache file unless we assign to the vars.
17978 for ac_var
in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
17979 eval ac_val
=\$
$ac_var
17983 *_cv_
*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
17984 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
17987 _ | IFS | as_nl
) ;; #(
17988 BASH_ARGV | BASH_SOURCE
) eval $ac_var= ;; #(
17989 *) { eval $ac_var=; unset $ac_var;} ;;
17995 case $as_nl`(ac_space=' '; set) 2>&1` in #(
17996 *${as_nl}ac_space
=\
*)
17997 # `set' does not quote correctly, so add quotes: double-quote
17998 # substitution turns \\\\ into \\, and sed turns \\ into \.
18001 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
18004 # `set' quotes correctly as required by POSIX, so do not add quotes.
18005 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
18014 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
18016 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
18018 if diff "$cache_file" confcache
>/dev
/null
2>&1; then :; else
18019 if test -w "$cache_file"; then
18020 if test "x$cache_file" != "x/dev/null"; then
18021 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
18022 $as_echo "$as_me: updating cache $cache_file" >&6;}
18023 if test ! -f "$cache_file" ||
test -h "$cache_file"; then
18024 cat confcache
>"$cache_file"
18026 case $cache_file in #(
18028 mv -f confcache
"$cache_file"$$
&&
18029 mv -f "$cache_file"$$
"$cache_file" ;; #(
18031 mv -f confcache
"$cache_file" ;;
18036 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
18037 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
18042 test "x$prefix" = xNONE
&& prefix
=$ac_default_prefix
18043 # Let make expand exec_prefix.
18044 test "x$exec_prefix" = xNONE
&& exec_prefix
='${prefix}'
18046 DEFS
=-DHAVE_CONFIG_H
18051 for ac_i
in : $LIBOBJS; do test "x$ac_i" = x
: && continue
18052 # 1. Remove the extension, and $U if already installed.
18053 ac_script
='s/\$U\././;s/\.o$//;s/\.obj$//'
18054 ac_i
=`$as_echo "$ac_i" | sed "$ac_script"`
18055 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
18056 # will be set to the directory where LIBOBJS objects are built.
18057 as_fn_append ac_libobjs
" \${LIBOBJDIR}$ac_i\$U.$ac_objext"
18058 as_fn_append ac_ltlibobjs
" \${LIBOBJDIR}$ac_i"'$U.lo'
18060 LIBOBJS
=$ac_libobjs
18062 LTLIBOBJS
=$ac_ltlibobjs
18066 : "${CONFIG_STATUS=./config.status}"
18068 ac_clean_files_save
=$ac_clean_files
18069 ac_clean_files
="$ac_clean_files $CONFIG_STATUS"
18070 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
18071 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
18073 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
18075 # Generated by $as_me.
18076 # Run this file to recreate the current configuration.
18077 # Compiler output produced by configure, useful for debugging
18078 # configure, is in config.log if it exists.
18081 ac_cs_recheck=false
18084 SHELL=\${CONFIG_SHELL-$SHELL}
18087 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail
=1
18088 ## -------------------- ##
18089 ## M4sh Initialization. ##
18090 ## -------------------- ##
18092 # Be more Bourne compatible
18093 DUALCASE
=1; export DUALCASE
# for MKS sh
18094 if test -n "${ZSH_VERSION+set}" && (emulate sh
) >/dev
/null
2>&1; then :
18097 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
18098 # is contrary to our usage. Disable this feature.
18099 alias -g '${1+"$@"}'='"$@"'
18100 setopt NO_GLOB_SUBST
18102 case `(set -o) 2>/dev/null` in #(
18114 # Printing a long string crashes Solaris 7 /usr/bin/printf.
18115 as_echo
='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
18116 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
18117 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
18118 # Prefer a ksh shell builtin over an external printf program on Solaris,
18119 # but without wasting forks for bash or zsh.
18120 if test -z "$BASH_VERSION$ZSH_VERSION" \
18121 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
18122 as_echo='print
-r --'
18123 as_echo_n='print
-rn --'
18124 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
18125 as_echo='printf %s
\n'
18126 as_echo_n='printf %s
'
18128 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
18129 as_echo_body='eval /usr
/ucb
/echo -n "$1$as_nl"'
18130 as_echo_n='/usr
/ucb
/echo -n'
18132 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
18133 as_echo_n_body='eval
18137 expr "X$arg" : "X\\(.*\\)$as_nl";
18138 arg
=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
18140 expr "X$arg" : "X\\(.*\\)" |
tr -d "$as_nl"
18142 export as_echo_n_body
18143 as_echo_n='sh
-c $as_echo_n_body as_echo
'
18145 export as_echo_body
18146 as_echo='sh
-c $as_echo_body as_echo
'
18149 # The user is always right.
18150 if test "${PATH_SEPARATOR+set}" != set; then
18152 (PATH='/bin
;/bin
'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
18153 (PATH='/bin
:/bin
'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
18160 # We need space, tab and new line, in precisely that order. Quoting is
18161 # there to prevent editors from complaining about space-tab.
18162 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
18163 # splitting by setting IFS to empty value.)
18166 # Find who we are. Look in the path if we contain no directory separator.
18169 *[\\/]* ) as_myself=$0 ;;
18170 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
18171 for as_dir in $PATH
18174 test -z "$as_dir" && as_dir=.
18175 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
18181 # We did not find ourselves, most probably we were run as `sh COMMAND'
18182 # in which case we are not to be found in the path.
18183 if test "x$as_myself" = x
; then
18186 if test ! -f "$as_myself"; then
18187 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
18191 # Unset variables that we do not need and which cause bugs (e.g. in
18192 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
18193 # suppresses any "Segmentation fault" message there. '((' could
18194 # trigger a bug in pdksh 5.2.14.
18195 for as_var
in BASH_ENV ENV MAIL MAILPATH
18196 do eval test x\
${$as_var+set} = xset \
18197 && ( (unset $as_var) ||
exit 1) >/dev
/null
2>&1 && unset $as_var ||
:
18210 (unset CDPATH
) >/dev
/null
2>&1 && unset CDPATH
18213 # as_fn_error STATUS ERROR [LINENO LOG_FD]
18214 # ----------------------------------------
18215 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
18216 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
18217 # script with STATUS, using 1 if that was 0.
18220 as_status
=$1; test $as_status -eq 0 && as_status
=1
18222 as_lineno
=${as_lineno-"$3"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
18223 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
18225 $as_echo "$as_me: error: $2" >&2
18226 as_fn_exit
$as_status
18230 # as_fn_set_status STATUS
18231 # -----------------------
18232 # Set $? to STATUS, without forking.
18233 as_fn_set_status
()
18236 } # as_fn_set_status
18238 # as_fn_exit STATUS
18239 # -----------------
18240 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
18244 as_fn_set_status
$1
18250 # Portably unset VAR.
18253 { eval $1=; unset $1;}
18255 as_unset
=as_fn_unset
18256 # as_fn_append VAR VALUE
18257 # ----------------------
18258 # Append the text in VALUE to the end of the definition contained in VAR. Take
18259 # advantage of any shell optimizations that allow amortized linear growth over
18260 # repeated appends, instead of the typical quadratic growth present in naive
18262 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev
/null
; then :
18263 eval 'as_fn_append ()
18274 # as_fn_arith ARG...
18275 # ------------------
18276 # Perform arithmetic evaluation on the ARGs, and store the result in the
18277 # global $as_val. Take advantage of shells that can avoid forks. The arguments
18278 # must be portable across $(()) and expr.
18279 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev
/null
; then :
18280 eval 'as_fn_arith ()
18287 as_val
=`expr "$@" || test $? -eq 1`
18292 if expr a
: '\(a\)' >/dev
/null
2>&1 &&
18293 test "X`expr 00001 : '.*\(...\)'`" = X001
; then
18299 if (basename -- /) >/dev
/null
2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
18300 as_basename
=basename
18305 if (as_dir
=`dirname -- /` && test "X$as_dir" = X
/) >/dev
/null
2>&1; then
18311 as_me
=`$as_basename -- "$0" ||
18312 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
18313 X"$0" : 'X\(//\)$' \| \
18314 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
18316 sed '/^.*\/\([^/][^/]*\)\/*$/{
18330 # Avoid depending upon Character Ranges.
18331 as_cr_letters
='abcdefghijklmnopqrstuvwxyz'
18332 as_cr_LETTERS
='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
18333 as_cr_Letters
=$as_cr_letters$as_cr_LETTERS
18334 as_cr_digits
='0123456789'
18335 as_cr_alnum
=$as_cr_Letters$as_cr_digits
18337 ECHO_C
= ECHO_N
= ECHO_T
=
18338 case `echo -n x` in #(((((
18340 case `echo 'xy\c'` in
18341 *c
*) ECHO_T
=' ';; # ECHO_T is single tab character.
18343 *) echo `echo ksh88 bug on AIX 6.1` > /dev
/null
18350 rm -f conf$$ conf$$.exe conf$$.
file
18351 if test -d conf$$.dir
; then
18352 rm -f conf$$.dir
/conf$$.
file
18355 mkdir conf$$.dir
2>/dev
/null
18357 if (echo >conf$$.
file) 2>/dev
/null
; then
18358 if ln -s conf$$.
file conf$$
2>/dev
/null
; then
18360 # ... but there are two gotchas:
18361 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
18362 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
18363 # In both cases, we have to default to `cp -pR'.
18364 ln -s conf$$.
file conf$$.dir
2>/dev
/null
&& test ! -f conf$$.exe ||
18366 elif ln conf$$.
file conf$$
2>/dev
/null
; then
18374 rm -f conf$$ conf$$.exe conf$$.dir
/conf$$.
file conf$$.
file
18375 rmdir conf$$.dir
2>/dev
/null
18380 # Create "$as_dir" as a directory, including parents if necessary.
18385 -*) as_dir
=.
/$as_dir;;
18387 test -d "$as_dir" ||
eval $as_mkdir_p ||
{
18391 *\'*) as_qdir
=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
18392 *) as_qdir
=$as_dir;;
18394 as_dirs
="'$as_qdir' $as_dirs"
18395 as_dir
=`$as_dirname -- "$as_dir" ||
18396 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
18397 X"$as_dir" : 'X\(//\)[^/]' \| \
18398 X"$as_dir" : 'X\(//\)$' \| \
18399 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
18400 $as_echo X"$as_dir" |
18401 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
18405 /^X\(\/\/\)[^/].*/{
18418 test -d "$as_dir" && break
18420 test -z "$as_dirs" ||
eval "mkdir $as_dirs"
18421 } ||
test -d "$as_dir" || as_fn_error $?
"cannot create directory $as_dir"
18425 if mkdir
-p .
2>/dev
/null
; then
18426 as_mkdir_p
='mkdir -p "$as_dir"'
18428 test -d .
/-p && rmdir .
/-p
18433 # as_fn_executable_p FILE
18434 # -----------------------
18435 # Test if FILE is an executable regular file.
18436 as_fn_executable_p
()
18438 test -f "$1" && test -x "$1"
18439 } # as_fn_executable_p
18440 as_test_x
='test -x'
18441 as_executable_p
=as_fn_executable_p
18443 # Sed expression to map a string onto a valid CPP name.
18444 as_tr_cpp
="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
18446 # Sed expression to map a string onto a valid variable name.
18447 as_tr_sh
="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
18451 ## ----------------------------------- ##
18452 ## Main body of $CONFIG_STATUS script. ##
18453 ## ----------------------------------- ##
18455 test $as_write_fail = 0 && chmod +x
$CONFIG_STATUS || ac_write_fail
=1
18457 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
18458 # Save the log message, to keep $0 and so on meaningful, and to
18459 # report actual input values of CONFIG_FILES etc. instead of their
18460 # values after options handling.
18462 This file was extended by Wine $as_me 1.7.36, which was
18463 generated by GNU Autoconf 2.69. Invocation command line was
18465 CONFIG_FILES = $CONFIG_FILES
18466 CONFIG_HEADERS = $CONFIG_HEADERS
18467 CONFIG_LINKS = $CONFIG_LINKS
18468 CONFIG_COMMANDS = $CONFIG_COMMANDS
18471 on `(hostname || uname -n) 2>/dev/null | sed 1q`
18476 case $ac_config_files in *"
18477 "*) set x
$ac_config_files; shift; ac_config_files
=$
*;;
18480 case $ac_config_headers in *"
18481 "*) set x
$ac_config_headers; shift; ac_config_headers
=$
*;;
18485 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
18486 # Files that config.status was made for.
18487 config_files="$ac_config_files"
18488 config_headers="$ac_config_headers"
18489 config_links="$ac_config_links"
18490 config_commands="$ac_config_commands"
18494 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
18496 \`$as_me' instantiates files and other configuration actions
18497 from templates according to the current configuration. Unless the files
18498 and actions are specified as TAGs, all are instantiated by default.
18500 Usage: $0 [OPTION]... [TAG]...
18502 -h, --help print this help, then exit
18503 -V, --version print version number and configuration settings, then exit
18504 --config print configuration, then exit
18505 -q, --quiet, --silent
18506 do not print progress messages
18507 -d, --debug don't remove temporary files
18508 --recheck update $as_me by reconfiguring in the same conditions
18509 --file=FILE[:TEMPLATE]
18510 instantiate the configuration file FILE
18511 --header=FILE[:TEMPLATE]
18512 instantiate the configuration header FILE
18514 Configuration files:
18517 Configuration headers:
18520 Configuration links:
18523 Configuration commands:
18526 Report bugs to <wine-devel@winehq.org>.
18527 Wine home page: <http://www.winehq.org>."
18530 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
18531 ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
18533 Wine config.status 1.7.36
18534 configured by $0, generated by GNU Autoconf 2.69,
18535 with options \\"\$ac_cs_config\\"
18537 Copyright (C) 2012 Free Software Foundation, Inc.
18538 This config.status script is free software; the Free Software Foundation
18539 gives unlimited permission to copy, distribute and modify it."
18543 test -n "\$AWK" || AWK=awk
18546 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
18547 # The default lists apply if the user does not specify any file.
18553 ac_option
=`expr "X$1" : 'X\([^=]*\)='`
18554 ac_optarg
=`expr "X$1" : 'X[^=]*=\(.*\)'`
18558 ac_option
=`expr "X$1" : 'X\([^=]*\)='`
18570 # Handling of the options.
18571 -recheck |
--recheck |
--rechec |
--reche |
--rech |
--rec |
--re |
--r)
18573 --version |
--versio |
--versi |
--vers |
--ver |
--ve |
--v |
-V )
18574 $as_echo "$ac_cs_version"; exit ;;
18575 --config |
--confi |
--conf |
--con |
--co |
--c )
18576 $as_echo "$ac_cs_config"; exit ;;
18577 --debug |
--debu |
--deb |
--de |
--d |
-d )
18579 --file |
--fil |
--fi |
--f )
18582 *\'*) ac_optarg
=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
18583 '') as_fn_error $?
"missing file argument" ;;
18585 as_fn_append CONFIG_FILES
" '$ac_optarg'"
18586 ac_need_defaults
=false
;;
18587 --header |
--heade |
--head |
--hea )
18590 *\'*) ac_optarg
=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
18592 as_fn_append CONFIG_HEADERS
" '$ac_optarg'"
18593 ac_need_defaults
=false
;;
18595 # Conflict between --help and --header
18596 as_fn_error $?
"ambiguous option: \`$1'
18597 Try \`$0 --help' for more information.";;
18598 --help |
--hel |
-h )
18599 $as_echo "$ac_cs_usage"; exit ;;
18600 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
18601 |
-silent |
--silent |
--silen |
--sile |
--sil |
--si |
--s)
18604 # This is an error.
18605 -*) as_fn_error $?
"unrecognized option: \`$1'
18606 Try \`$0 --help' for more information." ;;
18608 *) as_fn_append ac_config_targets
" $1"
18609 ac_need_defaults
=false
;;
18615 ac_configure_extra_args
=
18617 if $ac_cs_silent; then
18619 ac_configure_extra_args
="$ac_configure_extra_args --silent"
18623 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
18624 if \$ac_cs_recheck; then
18625 set X $SHELL '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
18627 \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
18628 CONFIG_SHELL='$SHELL'
18629 export CONFIG_SHELL
18634 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
18638 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
18639 ## Running $as_me. ##
18645 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
18649 wine_fn_output_makedep ()
18651 as_dir=tools; as_fn_mkdir_p
18652 $CC -Iinclude -I$srcdir/include -D__WINESRC__ $EXTRACFLAGS $CPPFLAGS $CFLAGS -o tools/makedep$ac_exeext $srcdir/tools/makedep.c $LDFLAGS
18654 wine_fn_output_makefile ()
18656 cat Make.tmp - <<\_WINE_EOF >\$tmp/makefile && mv -f \$tmp/makefile \$1 && rm -f Make.tmp && "$wine_makedep" . && return
18657 `cat $wine_rules_file`
18659 as_fn_error $? "could not create Makefile" "$LINENO" 5
18661 wine_fn_output_gitignore ()
18663 sort <<\_WINE_EOF >\$tmp/gitignore && mv -f \$tmp/gitignore \$1 && return
18666 as_fn_error $? "could not create .gitignore" "$LINENO" 5
18671 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
18673 # Handling of arguments.
18674 for ac_config_target
in $ac_config_targets
18676 case $ac_config_target in
18677 "include/config.h") CONFIG_HEADERS
="$CONFIG_HEADERS include/config.h" ;;
18678 "include/stamp-h") CONFIG_COMMANDS
="$CONFIG_COMMANDS include/stamp-h" ;;
18679 "fonts/marlett.ttf") CONFIG_LINKS
="$CONFIG_LINKS fonts/marlett.ttf:fonts/marlett.ttf" ;;
18680 "fonts/symbol.ttf") CONFIG_LINKS
="$CONFIG_LINKS fonts/symbol.ttf:fonts/symbol.ttf" ;;
18681 "fonts/tahoma.ttf") CONFIG_LINKS
="$CONFIG_LINKS fonts/tahoma.ttf:fonts/tahoma.ttf" ;;
18682 "fonts/tahomabd.ttf") CONFIG_LINKS
="$CONFIG_LINKS fonts/tahomabd.ttf:fonts/tahomabd.ttf" ;;
18683 "loader/l_intl.nls") CONFIG_LINKS
="$CONFIG_LINKS loader/l_intl.nls:loader/l_intl.nls" ;;
18684 "po/LINGUAS") CONFIG_LINKS
="$CONFIG_LINKS po/LINGUAS:po/LINGUAS" ;;
18685 "wine") CONFIG_LINKS
="$CONFIG_LINKS wine:tools/winewrapper" ;;
18686 "wine64") CONFIG_LINKS
="$CONFIG_LINKS wine64:tools/winewrapper" ;;
18687 "tools/makedep") CONFIG_COMMANDS
="$CONFIG_COMMANDS tools/makedep" ;;
18688 "Makefile") CONFIG_COMMANDS
="$CONFIG_COMMANDS Makefile" ;;
18689 "Make.tmp") CONFIG_FILES
="$CONFIG_FILES Make.tmp:Make.vars.in:Makefile.in" ;;
18690 ".gitignore") CONFIG_COMMANDS
="$CONFIG_COMMANDS .gitignore" ;;
18692 *) as_fn_error $?
"invalid argument: \`$ac_config_target'" "$LINENO" 5;;
18697 # If the user did not use the arguments to specify the items to instantiate,
18698 # then the envvar interface is used. Set only those that are not.
18699 # We use the long form for the default assignment because of an extremely
18700 # bizarre bug on SunOS 4.1.3.
18701 if $ac_need_defaults; then
18702 test "${CONFIG_FILES+set}" = set || CONFIG_FILES
=$config_files
18703 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS
=$config_headers
18704 test "${CONFIG_LINKS+set}" = set || CONFIG_LINKS
=$config_links
18705 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS
=$config_commands
18708 # Have a temporary directory for convenience. Make it in the build tree
18709 # simply because there is no reason against having it here, and in addition,
18710 # creating and moving files from /tmp can sometimes cause problems.
18711 # Hook for its removal unless debugging.
18712 # Note that there is a small window in which the directory will not be cleaned:
18713 # after its creation but before its name has been assigned to `$tmp'.
18717 trap 'exit_status=$?
18718 : "${ac_tmp:=$tmp}"
18719 { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
18721 trap 'as_fn_exit 1' 1 2 13 15
18723 # Create a (secure) tmp directory for tmp files.
18726 tmp
=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
18730 tmp
=.
/conf$$
-$RANDOM
18731 (umask 077 && mkdir
"$tmp")
18732 } || as_fn_error $?
"cannot create a temporary directory in ." "$LINENO" 5
18735 # Set up the scripts for CONFIG_FILES section.
18736 # No need to generate them if there are no CONFIG_FILES.
18737 # This happens for instance with `./config.status config.h'.
18738 if test -n "$CONFIG_FILES"; then
18741 ac_cr
=`echo X | tr X '\015'`
18742 # On cygwin, bash can eat \r inside `` if the user requested igncr.
18743 # But we know of no other shell where ac_cr would be empty at this
18744 # point, so we can use a bashism as a fallback.
18745 if test "x$ac_cr" = x
; then
18746 eval ac_cr
=\$
\'\\r
\'
18748 ac_cs_awk_cr
=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
18749 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
18752 ac_cs_awk_cr
=$ac_cr
18755 echo 'BEGIN {' >"$ac_tmp/subs1.awk" &&
18760 echo "cat >conf$$subs.awk <<_ACEOF" &&
18761 echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
18763 } >conf$$subs.sh ||
18764 as_fn_error $? "could not
make $CONFIG_STATUS" "$LINENO" 5
18765 ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
18767 for ac_last_try in false false false false false :; do
18768 . ./conf$$subs.sh ||
18769 as_fn_error $? "could not
make $CONFIG_STATUS" "$LINENO" 5
18771 ac_delim_n=`sed -n "s
/.
*$ac_delim\$
/X
/p
" conf$$subs.awk | grep -c X`
18772 if test $ac_delim_n = $ac_delim_num; then
18774 elif $ac_last_try; then
18775 as_fn_error $? "could not
make $CONFIG_STATUS" "$LINENO" 5
18777 ac_delim="$ac_delim!$ac_delim _
$ac_delim!! "
18780 rm -f conf$$subs.sh
18782 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
18783 cat >>"\
$ac_tmp/subs1.
awk" <<\\_ACAWK &&
18787 s/^/S["/; s
/!.
*/"]=/
18797 s/\(.\{148\}\)..*/\1/
18799 s/["\\]/\\&/g
; s
/^
/"/; s/$/\\n"\\/
18804 s
/["\\]/\\&/g; s/^/"/; s
/$
/"\\/
18811 s/\(.\{148\}\)..*/\1/
18813 s/["\\]/\\&/g
; s
/^
/"/; s/$/"/
18817 s
/["\\]/\\&/g; s/^/"/; s
/$
/"\\/
18822 ' <conf$$subs.awk | sed '
18827 ' >>$CONFIG_STATUS || ac_write_fail=1
18828 rm -f conf$$subs.awk
18829 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
18831 cat >>"\
$ac_tmp/subs1.
awk" <<_ACAWK &&
18832 for (key in S) S_is_set[key] = 1
18838 nfields = split(line, field, "@
")
18840 len = length(field[1])
18841 for (i = 2; i < nfields; i++) {
18843 keylen = length(key)
18844 if (S_is_set[key]) {
18846 line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
18847 len += length(value) + length(field[++i])
18858 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
18859 if sed "s
/$ac_cr//" < /dev/null > /dev/null 2>&1; then
18860 sed "s
/$ac_cr\$
//; s
/$ac_cr/$ac_cs_awk_cr/g
"
18863 fi < "$ac_tmp/subs1.
awk" > "$ac_tmp/subs.
awk" \
18864 || as_fn_error $? "could not setup config files machinery
" "$LINENO" 5
18867 # VPATH may cause trouble with some makes, so we remove sole $(srcdir),
18868 # ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".
", strip leading and
18869 # trailing colons and then remove the whole line if VPATH becomes empty
18870 # (actually we leave an empty line to preserve line numbers).
18871 if test "x
$srcdir" = x.; then
18872 ac_vpsub='/^[ ]*VPATH[ ]*=[ ]*/{
18890 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
18891 fi # test -n "$CONFIG_FILES"
18893 # Set up the scripts for CONFIG_HEADERS section.
18894 # No need to generate them if there are no CONFIG_HEADERS.
18895 # This happens for instance with `./config.status Makefile'.
18896 if test -n "$CONFIG_HEADERS"; then
18897 cat >"$ac_tmp/defines.
awk" <<\_ACAWK ||
18901 # Transform confdefs.h into an awk script `defines.awk', embedded as
18902 # here-document in config.status, that substitutes the proper values into
18903 # config.h.in to produce config.h.
18905 # Create a delimiter string that does not exist in confdefs.h, to ease
18906 # handling of long lines.
18908 for ac_last_try in false false :; do
18909 ac_tt=`sed -n "/$ac_delim/p
" confdefs.h`
18910 if test -z "$ac_tt"; then
18912 elif $ac_last_try; then
18913 as_fn_error $? "could not
make $CONFIG_HEADERS" "$LINENO" 5
18915 ac_delim="$ac_delim!$ac_delim _
$ac_delim!! "
18919 # For the awk script, D is an array of macro values keyed by name,
18920 # likewise P contains macro parameters if any. Preserve backslash
18921 # newline sequences.
18923 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
18925 s/.\{148\}/&'"$ac_delim"'/g
18928 s/^[ ]*#[ ]*define[ ][ ]*/ /
18935 s
/^ \
('"$ac_word_re"'\
)\
(([^
()]*)\
)[ ]*\
(.
*\
)/P
["\1"]="\2"\
18937 s
/^ \
('"$ac_word_re"'\
)[ ]*\
(.
*\
)/D
["\1"]=" \2"/p
18941 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\
1"]="\
2"\
18942 D["\
1"]=" \
3\\\\\\n
"\\/p
18944 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\
1"]=" \
2\\\\\\n
"\\/p
18949 s/.\{148\}/&'"$ac_delim"'/g
18954 s/["\\]/\\&/g
; s
/^
/"/; s/$/"/p
18957 s
/["\\]/\\&/g; s/^/"/; s
/$
/\\\\\\n
"\\/p
18959 ' <confdefs.h | sed '
18960 s/'"$ac_delim"'/"\\\
18961 "/g' >>$CONFIG_STATUS || ac_write_fail=1
18963 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
18964 for (key in D) D_is_set[key] = 1
18967 /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
18969 split(line, arg, " ")
18970 if (arg[1] == "#") {
18974 defundef
= substr
(arg
[1], 2)
18977 split(mac1
, mac2
, "(") #)
18979 prefix
= substr
(line
, 1, index
(line
, defundef
) - 1)
18980 if (D_is_set
[macro
]) {
18981 # Preserve the white space surrounding the "#".
18982 print prefix
"define", macro P
[macro
] D
[macro
]
18985 # Replace #undef with comments. This is necessary, for example,
18986 # in the case of _POSIX_SOURCE, which is predefined and required
18987 # on some systems where configure will not decide to define it.
18988 if (defundef
== "undef") {
18989 print
"/*", prefix defundef
, macro
, "*/"
18997 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
18998 as_fn_error $?
"could not setup config headers machinery" "$LINENO" 5
18999 fi # test -n "$CONFIG_HEADERS"
19002 eval set X
" :F $CONFIG_FILES :H $CONFIG_HEADERS :L $CONFIG_LINKS :C $CONFIG_COMMANDS"
19007 :[FHLC
]) ac_mode
=$ac_tag; continue;;
19009 case $ac_mode$ac_tag in
19011 :L
* |
:C
*:*) as_fn_error $?
"invalid tag \`$ac_tag'" "$LINENO" 5;;
19012 :[FH
]-) ac_tag
=-:-;;
19013 :[FH
]*) ac_tag
=$ac_tag:$ac_tag.
in;;
19030 -) ac_f
="$ac_tmp/stdin";;
19031 *) # Look for the file first in the build tree, then in the source tree
19032 # (if the path is not absolute). The absolute path cannot be DOS-style,
19033 # because $ac_f cannot contain `:'.
19037 *) test -f "$srcdir/$ac_f" && ac_f
="$srcdir/$ac_f";;
19039 as_fn_error
1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
19041 case $ac_f in *\'*) ac_f
=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
19042 as_fn_append ac_file_inputs
" '$ac_f'"
19045 # Let's still pretend it is `configure' which instantiates (i.e., don't
19046 # use $as_me), people would be surprised to read:
19047 # /* config.h. Generated by config.status. */
19048 configure_input
='Generated from '`
19049 $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
19051 if test x
"$ac_file" != x-
; then
19052 configure_input
="$ac_file. $configure_input"
19053 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
19054 $as_echo "$as_me: creating $ac_file" >&6;}
19056 # Neutralize special characters interpreted by sed in replacement strings.
19057 case $configure_input in #(
19058 *\
&* |
*\|
* |
*\\* )
19059 ac_sed_conf_input
=`$as_echo "$configure_input" |
19060 sed 's/[\\\\&|]/\\\\&/g'`;; #(
19061 *) ac_sed_conf_input
=$configure_input;;
19065 *:-:* |
*:-) cat >"$ac_tmp/stdin" \
19066 || as_fn_error $?
"could not create $ac_file" "$LINENO" 5 ;;
19071 ac_dir
=`$as_dirname -- "$ac_file" ||
19072 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
19073 X"$ac_file" : 'X\(//\)[^/]' \| \
19074 X"$ac_file" : 'X\(//\)$' \| \
19075 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
19076 $as_echo X"$ac_file" |
19077 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
19081 /^X\(\/\/\)[^/].*/{
19094 as_dir
="$ac_dir"; as_fn_mkdir_p
19098 .
) ac_dir_suffix
= ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
19100 ac_dir_suffix
=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
19101 # A ".." for each directory in $ac_dir_suffix.
19102 ac_top_builddir_sub
=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
19103 case $ac_top_builddir_sub in
19104 "") ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
19105 *) ac_top_build_prefix
=$ac_top_builddir_sub/ ;;
19108 ac_abs_top_builddir
=$ac_pwd
19109 ac_abs_builddir
=$ac_pwd$ac_dir_suffix
19110 # for backward compatibility:
19111 ac_top_builddir
=$ac_top_build_prefix
19114 .
) # We are building in place.
19116 ac_top_srcdir
=$ac_top_builddir_sub
19117 ac_abs_top_srcdir
=$ac_pwd ;;
19118 [\\/]* | ?
:[\\/]* ) # Absolute name.
19119 ac_srcdir
=$srcdir$ac_dir_suffix;
19120 ac_top_srcdir
=$srcdir
19121 ac_abs_top_srcdir
=$srcdir ;;
19122 *) # Relative name.
19123 ac_srcdir
=$ac_top_build_prefix$srcdir$ac_dir_suffix
19124 ac_top_srcdir
=$ac_top_build_prefix$srcdir
19125 ac_abs_top_srcdir
=$ac_pwd/$srcdir ;;
19127 ac_abs_srcdir
=$ac_abs_top_srcdir$ac_dir_suffix
19138 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
19139 # If the template does not know about datarootdir, expand it.
19140 # FIXME: This hack should be removed a few years after 2.60.
19141 ac_datarootdir_hack
=; ac_datarootdir_seen
=
19152 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
19153 *datarootdir
*) ac_datarootdir_seen
=yes;;
19154 *@datadir@
*|
*@docdir@
*|
*@infodir@
*|
*@localedir@
*|
*@mandir@
*)
19155 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
19156 $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
19158 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
19159 ac_datarootdir_hack='
19160 s&@datadir@&$datadir&g
19161 s&@docdir@&$docdir&g
19162 s&@infodir@&$infodir&g
19163 s&@localedir@&$localedir&g
19164 s&@mandir@&$mandir&g
19165 s&\\\${datarootdir}&$datarootdir&g' ;;
19169 # Neutralize VPATH when `$srcdir' = `.'.
19170 # Shell code in configure.ac might set extrasub.
19171 # FIXME: do we really want to maintain this feature?
19172 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
19173 ac_sed_extra="$ac_vpsub
19176 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
19178 /@
[a-zA-Z_
][a-zA-Z_0-9
]*@
/!b
19179 s|@configure_input@|
$ac_sed_conf_input|
;t t
19180 s
&@top_builddir@
&$ac_top_builddir_sub&;t t
19181 s
&@top_build_prefix@
&$ac_top_build_prefix&;t t
19182 s
&@srcdir@
&$ac_srcdir&;t t
19183 s
&@abs_srcdir@
&$ac_abs_srcdir&;t t
19184 s
&@top_srcdir@
&$ac_top_srcdir&;t t
19185 s
&@abs_top_srcdir@
&$ac_abs_top_srcdir&;t t
19186 s
&@builddir@
&$ac_builddir&;t t
19187 s
&@abs_builddir@
&$ac_abs_builddir&;t t
19188 s
&@abs_top_builddir@
&$ac_abs_top_builddir&;t t
19189 $ac_datarootdir_hack
19191 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.
awk" \
19192 >$ac_tmp/out || as_fn_error $? "could not create
$ac_file" "$LINENO" 5
19194 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
19195 { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out
"`; test -n "$ac_out"; } &&
19196 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' \
19197 "$ac_tmp/out
"`; test -z "$ac_out"; } &&
19198 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: $ac_file contains a reference to the variable \
`datarootdir'
19199 which seems to be undefined. Please make sure it is defined" >&5
19200 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir
'
19201 which seems to be undefined. Please make sure it is defined" >&2;}
19203 rm -f "$ac_tmp/stdin"
19205 -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";;
19206 *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";;
19208 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
19214 if test x"$ac_file" != x-; then
19216 $as_echo "/* $configure_input */" \
19217 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs"
19218 } >"$ac_tmp/config.h" \
19219 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
19220 if diff "$ac_file" "$ac_tmp/config.h" >/dev/null 2>&1; then
19221 { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
19222 $as_echo "$as_me: $ac_file is unchanged" >&6;}
19225 mv "$ac_tmp/config.h" "$ac_file" \
19226 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
19229 $as_echo "/* $configure_input */" \
19230 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" \
19231 || as_fn_error $? "could not create -" "$LINENO" 5
19239 if test "$ac_source" = "$ac_file" && test "$srcdir" = '.
'; then
19242 # Prefer the file from the source tree if names are identical.
19243 if test "$ac_source" = "$ac_file" || test ! -r "$ac_source"; then
19244 ac_source=$srcdir/$ac_source
19247 { $as_echo "$as_me:${as_lineno-$LINENO}: linking $ac_source to $ac_file" >&5
19248 $as_echo "$as_me: linking $ac_source to $ac_file" >&6;}
19250 if test ! -r "$ac_source"; then
19251 as_fn_error $? "$ac_source: file not found" "$LINENO" 5
19255 # Try a relative symlink, then a hard link, then a copy.
19257 [\\/$]* | ?:[\\/]* ) ac_rel_source=$ac_source ;;
19258 *) ac_rel_source=$ac_top_build_prefix$ac_source ;;
19260 ln -s "$ac_rel_source" "$ac_file" 2>/dev/null ||
19261 ln "$ac_source" "$ac_file" 2>/dev/null ||
19262 cp -p "$ac_source" "$ac_file" ||
19263 as_fn_error $? "cannot link or copy $ac_source to $ac_file" "$LINENO" 5
19266 :C) { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
19267 $as_echo "$as_me: executing $ac_file commands" >&6;}
19272 case $ac_file$ac_mode in
19273 "include/stamp-h":C) echo timestamp > include/stamp-h ;;
19274 "tools/makedep":C) wine_fn_output_makedep || as_fn_exit $? ;;
19275 "Makefile":C) wine_fn_output_makefile Makefile ;;
19276 ".gitignore":C) wine_fn_output_gitignore .gitignore ;;
19284 ac_clean_files=$ac_clean_files_save
19286 test $ac_write_fail = 0 ||
19287 as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5
19290 # configure is writing to config.log, and then calls config.status.
19291 # config.status does its own redirection, appending to config.log.
19292 # Unfortunately, on DOS this fails, as config.log is still kept open
19293 # by configure, so config.status won't be able to
write to it
; its
19294 # output is simply discarded. So we exec the FD to /dev/null,
19295 # effectively closing config.log, so it can be properly (re)opened and
19296 # appended to by config.status. When coming back to configure, we
19297 # need to make the FD available again.
19298 if test "$no_create" != yes; then
19300 ac_config_status_args
=
19301 test "$silent" = yes &&
19302 ac_config_status_args
="$ac_config_status_args --quiet"
19304 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success
=false
19306 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
19307 # would make configure fail if this is the last instruction.
19308 $ac_cs_success || as_fn_exit
1
19310 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no
; then
19311 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
19312 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
19316 if test "$no_create" = "yes"
19322 if test "x$wine_notices != "x
; then
19325 for msg
in $wine_notices; do
19327 if ${msg:+false} :; then :
19330 { $as_echo "$as_me:${as_lineno-$LINENO}: $msg" >&5
19331 $as_echo "$as_me: $msg" >&6;}
19336 for msg
in $wine_warnings; do
19338 if ${msg:+false} :; then :
19342 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $msg" >&5
19343 $as_echo "$as_me: WARNING: $msg" >&2;}
19349 $as_me: Finished. Do '${ac_make}' to compile Wine.