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
962 enable_d3dcompiler_33
963 enable_d3dcompiler_34
964 enable_d3dcompiler_35
965 enable_d3dcompiler_36
966 enable_d3dcompiler_37
967 enable_d3dcompiler_38
968 enable_d3dcompiler_39
969 enable_d3dcompiler_40
970 enable_d3dcompiler_41
971 enable_d3dcompiler_42
972 enable_d3dcompiler_43
1048 enable_explorerframe
1049 enable_ext_ms_win_gdi_devcaps_l1_1_0
1203 enable_photometadatahandler
1285 enable_windowscodecs
1286 enable_windowscodecsext
1288 enable_winecoreaudio_drv
1290 enable_winegstreamer
1291 enable_winejoystick_drv
1297 enable_wineqtdecoder
1336 enable_documentation
1344 enable_aspnet_regiis
1377 enable_presentationfontcache
1390 enable_servicemodelreg
1411 enable_winemenubuilder
1413 enable_winemsibuilder
1427 ac_precious_vars
='build_alias
1476 # Initialize some variables set by options.
1478 ac_init_version
=false
1479 ac_unrecognized_opts
=
1480 ac_unrecognized_sep
=
1481 # The variables have the same names as the options, with
1482 # dashes changed to underlines.
1483 cache_file
=/dev
/null
1490 program_transform_name
=s
,x
,x
,
1498 # Installation directory options.
1499 # These are left unexpanded so users can "make install exec_prefix=/foo"
1500 # and all the variables that are supposed to be based on exec_prefix
1501 # by default will actually change.
1502 # Use braces instead of parens because sh, perl, etc. also accept them.
1503 # (The list follows the same order as the GNU Coding Standards.)
1504 bindir
='${exec_prefix}/bin'
1505 sbindir
='${exec_prefix}/sbin'
1506 libexecdir
='${exec_prefix}/libexec'
1507 datarootdir
='${prefix}/share'
1508 datadir
='${datarootdir}'
1509 sysconfdir
='${prefix}/etc'
1510 sharedstatedir
='${prefix}/com'
1511 localstatedir
='${prefix}/var'
1512 includedir
='${prefix}/include'
1513 oldincludedir
='/usr/include'
1514 docdir
='${datarootdir}/doc/${PACKAGE_TARNAME}'
1515 infodir
='${datarootdir}/info'
1520 libdir
='${exec_prefix}/lib'
1521 localedir
='${datarootdir}/locale'
1522 mandir
='${datarootdir}/man'
1528 # If the previous option needs an argument, assign it.
1529 if test -n "$ac_prev"; then
1530 eval $ac_prev=\
$ac_option
1536 *=?
*) ac_optarg
=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
1541 # Accept the important Cygnus configure options, so we can diagnose typos.
1543 case $ac_dashdash$ac_option in
1547 -bindir |
--bindir |
--bindi |
--bind |
--bin |
--bi)
1549 -bindir=* |
--bindir=* |
--bindi=* |
--bind=* |
--bin=* |
--bi=*)
1550 bindir
=$ac_optarg ;;
1552 -build |
--build |
--buil |
--bui |
--bu)
1553 ac_prev
=build_alias
;;
1554 -build=* |
--build=* |
--buil=* |
--bui=* |
--bu=*)
1555 build_alias
=$ac_optarg ;;
1557 -cache-file |
--cache-file |
--cache-fil |
--cache-fi \
1558 |
--cache-f |
--cache- |
--cache |
--cach |
--cac |
--ca |
--c)
1559 ac_prev
=cache_file
;;
1560 -cache-file=* |
--cache-file=* |
--cache-fil=* |
--cache-fi=* \
1561 |
--cache-f=* |
--cache-=* |
--cache=* |
--cach=* |
--cac=* |
--ca=* |
--c=*)
1562 cache_file
=$ac_optarg ;;
1564 --config-cache |
-C)
1565 cache_file
=config.cache
;;
1567 -datadir |
--datadir |
--datadi |
--datad)
1569 -datadir=* |
--datadir=* |
--datadi=* |
--datad=*)
1570 datadir
=$ac_optarg ;;
1572 -datarootdir |
--datarootdir |
--datarootdi |
--datarootd |
--dataroot \
1573 |
--dataroo |
--dataro |
--datar)
1574 ac_prev
=datarootdir
;;
1575 -datarootdir=* |
--datarootdir=* |
--datarootdi=* |
--datarootd=* \
1576 |
--dataroot=* |
--dataroo=* |
--dataro=* |
--datar=*)
1577 datarootdir
=$ac_optarg ;;
1579 -disable-* |
--disable-*)
1580 ac_useropt
=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
1581 # Reject names that are not valid shell variable names.
1582 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
1583 as_fn_error $?
"invalid feature name: $ac_useropt"
1584 ac_useropt_orig
=$ac_useropt
1585 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1586 case $ac_user_opts in
1588 "enable_
$ac_useropt"
1590 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
1591 ac_unrecognized_sep
=', ';;
1593 eval enable_
$ac_useropt=no
;;
1595 -docdir |
--docdir |
--docdi |
--doc |
--do)
1597 -docdir=* |
--docdir=* |
--docdi=* |
--doc=* |
--do=*)
1598 docdir
=$ac_optarg ;;
1600 -dvidir |
--dvidir |
--dvidi |
--dvid |
--dvi |
--dv)
1602 -dvidir=* |
--dvidir=* |
--dvidi=* |
--dvid=* |
--dvi=* |
--dv=*)
1603 dvidir
=$ac_optarg ;;
1605 -enable-* |
--enable-*)
1606 ac_useropt
=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
1607 # Reject names that are not valid shell variable names.
1608 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
1609 as_fn_error $?
"invalid feature name: $ac_useropt"
1610 ac_useropt_orig
=$ac_useropt
1611 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1612 case $ac_user_opts in
1614 "enable_
$ac_useropt"
1616 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
1617 ac_unrecognized_sep
=', ';;
1619 eval enable_
$ac_useropt=\
$ac_optarg ;;
1621 -exec-prefix |
--exec_prefix |
--exec-prefix |
--exec-prefi \
1622 |
--exec-pref |
--exec-pre |
--exec-pr |
--exec-p |
--exec- \
1623 |
--exec |
--exe |
--ex)
1624 ac_prev
=exec_prefix
;;
1625 -exec-prefix=* |
--exec_prefix=* |
--exec-prefix=* |
--exec-prefi=* \
1626 |
--exec-pref=* |
--exec-pre=* |
--exec-pr=* |
--exec-p=* |
--exec-=* \
1627 |
--exec=* |
--exe=* |
--ex=*)
1628 exec_prefix
=$ac_optarg ;;
1630 -gas |
--gas |
--ga |
--g)
1631 # Obsolete; use --with-gas.
1634 -help |
--help |
--hel |
--he |
-h)
1635 ac_init_help
=long
;;
1636 -help=r
* |
--help=r
* |
--hel=r
* |
--he=r
* |
-hr*)
1637 ac_init_help
=recursive
;;
1638 -help=s
* |
--help=s
* |
--hel=s
* |
--he=s
* |
-hs*)
1639 ac_init_help
=short
;;
1641 -host |
--host |
--hos |
--ho)
1642 ac_prev
=host_alias
;;
1643 -host=* |
--host=* |
--hos=* |
--ho=*)
1644 host_alias
=$ac_optarg ;;
1646 -htmldir |
--htmldir |
--htmldi |
--htmld |
--html |
--htm |
--ht)
1648 -htmldir=* |
--htmldir=* |
--htmldi=* |
--htmld=* |
--html=* |
--htm=* \
1650 htmldir
=$ac_optarg ;;
1652 -includedir |
--includedir |
--includedi |
--included |
--include \
1653 |
--includ |
--inclu |
--incl |
--inc)
1654 ac_prev
=includedir
;;
1655 -includedir=* |
--includedir=* |
--includedi=* |
--included=* |
--include=* \
1656 |
--includ=* |
--inclu=* |
--incl=* |
--inc=*)
1657 includedir
=$ac_optarg ;;
1659 -infodir |
--infodir |
--infodi |
--infod |
--info |
--inf)
1661 -infodir=* |
--infodir=* |
--infodi=* |
--infod=* |
--info=* |
--inf=*)
1662 infodir
=$ac_optarg ;;
1664 -libdir |
--libdir |
--libdi |
--libd)
1666 -libdir=* |
--libdir=* |
--libdi=* |
--libd=*)
1667 libdir
=$ac_optarg ;;
1669 -libexecdir |
--libexecdir |
--libexecdi |
--libexecd |
--libexec \
1670 |
--libexe |
--libex |
--libe)
1671 ac_prev
=libexecdir
;;
1672 -libexecdir=* |
--libexecdir=* |
--libexecdi=* |
--libexecd=* |
--libexec=* \
1673 |
--libexe=* |
--libex=* |
--libe=*)
1674 libexecdir
=$ac_optarg ;;
1676 -localedir |
--localedir |
--localedi |
--localed |
--locale)
1677 ac_prev
=localedir
;;
1678 -localedir=* |
--localedir=* |
--localedi=* |
--localed=* |
--locale=*)
1679 localedir
=$ac_optarg ;;
1681 -localstatedir |
--localstatedir |
--localstatedi |
--localstated \
1682 |
--localstate |
--localstat |
--localsta |
--localst |
--locals)
1683 ac_prev
=localstatedir
;;
1684 -localstatedir=* |
--localstatedir=* |
--localstatedi=* |
--localstated=* \
1685 |
--localstate=* |
--localstat=* |
--localsta=* |
--localst=* |
--locals=*)
1686 localstatedir
=$ac_optarg ;;
1688 -mandir |
--mandir |
--mandi |
--mand |
--man |
--ma |
--m)
1690 -mandir=* |
--mandir=* |
--mandi=* |
--mand=* |
--man=* |
--ma=* |
--m=*)
1691 mandir
=$ac_optarg ;;
1693 -nfp |
--nfp |
--nf)
1694 # Obsolete; use --without-fp.
1697 -no-create |
--no-create |
--no-creat |
--no-crea |
--no-cre \
1698 |
--no-cr |
--no-c |
-n)
1701 -no-recursion |
--no-recursion |
--no-recursio |
--no-recursi \
1702 |
--no-recurs |
--no-recur |
--no-recu |
--no-rec |
--no-re |
--no-r)
1705 -oldincludedir |
--oldincludedir |
--oldincludedi |
--oldincluded \
1706 |
--oldinclude |
--oldinclud |
--oldinclu |
--oldincl |
--oldinc \
1707 |
--oldin |
--oldi |
--old |
--ol |
--o)
1708 ac_prev
=oldincludedir
;;
1709 -oldincludedir=* |
--oldincludedir=* |
--oldincludedi=* |
--oldincluded=* \
1710 |
--oldinclude=* |
--oldinclud=* |
--oldinclu=* |
--oldincl=* |
--oldinc=* \
1711 |
--oldin=* |
--oldi=* |
--old=* |
--ol=* |
--o=*)
1712 oldincludedir
=$ac_optarg ;;
1714 -prefix |
--prefix |
--prefi |
--pref |
--pre |
--pr |
--p)
1716 -prefix=* |
--prefix=* |
--prefi=* |
--pref=* |
--pre=* |
--pr=* |
--p=*)
1717 prefix
=$ac_optarg ;;
1719 -program-prefix |
--program-prefix |
--program-prefi |
--program-pref \
1720 |
--program-pre |
--program-pr |
--program-p)
1721 ac_prev
=program_prefix
;;
1722 -program-prefix=* |
--program-prefix=* |
--program-prefi=* \
1723 |
--program-pref=* |
--program-pre=* |
--program-pr=* |
--program-p=*)
1724 program_prefix
=$ac_optarg ;;
1726 -program-suffix |
--program-suffix |
--program-suffi |
--program-suff \
1727 |
--program-suf |
--program-su |
--program-s)
1728 ac_prev
=program_suffix
;;
1729 -program-suffix=* |
--program-suffix=* |
--program-suffi=* \
1730 |
--program-suff=* |
--program-suf=* |
--program-su=* |
--program-s=*)
1731 program_suffix
=$ac_optarg ;;
1733 -program-transform-name |
--program-transform-name \
1734 |
--program-transform-nam |
--program-transform-na \
1735 |
--program-transform-n |
--program-transform- \
1736 |
--program-transform |
--program-transfor \
1737 |
--program-transfo |
--program-transf \
1738 |
--program-trans |
--program-tran \
1739 |
--progr-tra |
--program-tr |
--program-t)
1740 ac_prev
=program_transform_name
;;
1741 -program-transform-name=* |
--program-transform-name=* \
1742 |
--program-transform-nam=* |
--program-transform-na=* \
1743 |
--program-transform-n=* |
--program-transform-=* \
1744 |
--program-transform=* |
--program-transfor=* \
1745 |
--program-transfo=* |
--program-transf=* \
1746 |
--program-trans=* |
--program-tran=* \
1747 |
--progr-tra=* |
--program-tr=* |
--program-t=*)
1748 program_transform_name
=$ac_optarg ;;
1750 -pdfdir |
--pdfdir |
--pdfdi |
--pdfd |
--pdf |
--pd)
1752 -pdfdir=* |
--pdfdir=* |
--pdfdi=* |
--pdfd=* |
--pdf=* |
--pd=*)
1753 pdfdir
=$ac_optarg ;;
1755 -psdir |
--psdir |
--psdi |
--psd |
--ps)
1757 -psdir=* |
--psdir=* |
--psdi=* |
--psd=* |
--ps=*)
1760 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
1761 |
-silent |
--silent |
--silen |
--sile |
--sil)
1764 -sbindir |
--sbindir |
--sbindi |
--sbind |
--sbin |
--sbi |
--sb)
1766 -sbindir=* |
--sbindir=* |
--sbindi=* |
--sbind=* |
--sbin=* \
1768 sbindir
=$ac_optarg ;;
1770 -sharedstatedir |
--sharedstatedir |
--sharedstatedi \
1771 |
--sharedstated |
--sharedstate |
--sharedstat |
--sharedsta \
1772 |
--sharedst |
--shareds |
--shared |
--share |
--shar \
1774 ac_prev
=sharedstatedir
;;
1775 -sharedstatedir=* |
--sharedstatedir=* |
--sharedstatedi=* \
1776 |
--sharedstated=* |
--sharedstate=* |
--sharedstat=* |
--sharedsta=* \
1777 |
--sharedst=* |
--shareds=* |
--shared=* |
--share=* |
--shar=* \
1779 sharedstatedir
=$ac_optarg ;;
1781 -site |
--site |
--sit)
1783 -site=* |
--site=* |
--sit=*)
1786 -srcdir |
--srcdir |
--srcdi |
--srcd |
--src |
--sr)
1788 -srcdir=* |
--srcdir=* |
--srcdi=* |
--srcd=* |
--src=* |
--sr=*)
1789 srcdir
=$ac_optarg ;;
1791 -sysconfdir |
--sysconfdir |
--sysconfdi |
--sysconfd |
--sysconf \
1792 |
--syscon |
--sysco |
--sysc |
--sys |
--sy)
1793 ac_prev
=sysconfdir
;;
1794 -sysconfdir=* |
--sysconfdir=* |
--sysconfdi=* |
--sysconfd=* |
--sysconf=* \
1795 |
--syscon=* |
--sysco=* |
--sysc=* |
--sys=* |
--sy=*)
1796 sysconfdir
=$ac_optarg ;;
1798 -target |
--target |
--targe |
--targ |
--tar |
--ta |
--t)
1799 ac_prev
=target_alias
;;
1800 -target=* |
--target=* |
--targe=* |
--targ=* |
--tar=* |
--ta=* |
--t=*)
1801 target_alias
=$ac_optarg ;;
1803 -v |
-verbose |
--verbose |
--verbos |
--verbo |
--verb)
1806 -version |
--version |
--versio |
--versi |
--vers |
-V)
1807 ac_init_version
=: ;;
1810 ac_useropt
=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1811 # Reject names that are not valid shell variable names.
1812 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
1813 as_fn_error $?
"invalid package name: $ac_useropt"
1814 ac_useropt_orig
=$ac_useropt
1815 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1816 case $ac_user_opts in
1820 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
1821 ac_unrecognized_sep
=', ';;
1823 eval with_
$ac_useropt=\
$ac_optarg ;;
1825 -without-* |
--without-*)
1826 ac_useropt
=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1827 # Reject names that are not valid shell variable names.
1828 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
1829 as_fn_error $?
"invalid package name: $ac_useropt"
1830 ac_useropt_orig
=$ac_useropt
1831 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1832 case $ac_user_opts in
1836 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
1837 ac_unrecognized_sep
=', ';;
1839 eval with_
$ac_useropt=no
;;
1842 # Obsolete; use --with-x.
1845 -x-includes |
--x-includes |
--x-include |
--x-includ |
--x-inclu \
1846 |
--x-incl |
--x-inc |
--x-in |
--x-i)
1847 ac_prev
=x_includes
;;
1848 -x-includes=* |
--x-includes=* |
--x-include=* |
--x-includ=* |
--x-inclu=* \
1849 |
--x-incl=* |
--x-inc=* |
--x-in=* |
--x-i=*)
1850 x_includes
=$ac_optarg ;;
1852 -x-libraries |
--x-libraries |
--x-librarie |
--x-librari \
1853 |
--x-librar |
--x-libra |
--x-libr |
--x-lib |
--x-li |
--x-l)
1854 ac_prev
=x_libraries
;;
1855 -x-libraries=* |
--x-libraries=* |
--x-librarie=* |
--x-librari=* \
1856 |
--x-librar=* |
--x-libra=* |
--x-libr=* |
--x-lib=* |
--x-li=* |
--x-l=*)
1857 x_libraries
=$ac_optarg ;;
1859 -*) as_fn_error $?
"unrecognized option: \`$ac_option'
1860 Try \`$0 --help' for more information"
1864 ac_envvar
=`expr "x$ac_option" : 'x\([^=]*\)='`
1865 # Reject names that are not valid shell variable names.
1866 case $ac_envvar in #(
1867 '' |
[0-9]* |
*[!_
$as_cr_alnum]* )
1868 as_fn_error $?
"invalid variable name: \`$ac_envvar'" ;;
1870 eval $ac_envvar=\
$ac_optarg
1871 export $ac_envvar ;;
1874 # FIXME: should be removed in autoconf 3.0.
1875 $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1876 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev
/null
&&
1877 $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1878 : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}"
1884 if test -n "$ac_prev"; then
1885 ac_option
=--`echo $ac_prev | sed 's/_/-/g'`
1886 as_fn_error $?
"missing argument to $ac_option"
1889 if test -n "$ac_unrecognized_opts"; then
1890 case $enable_option_checking in
1892 fatal
) as_fn_error $?
"unrecognized options: $ac_unrecognized_opts" ;;
1893 *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
1897 # Check all directory arguments for consistency.
1898 for ac_var
in exec_prefix prefix bindir sbindir libexecdir datarootdir \
1899 datadir sysconfdir sharedstatedir localstatedir includedir \
1900 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1901 libdir localedir mandir
1903 eval ac_val
=\$
$ac_var
1904 # Remove trailing slashes.
1907 ac_val
=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
1908 eval $ac_var=\
$ac_val;;
1910 # Be sure to have absolute directory names.
1912 [\\/$
]* | ?
:[\\/]* ) continue;;
1913 NONE |
'' ) case $ac_var in *prefix
) continue;; esac;;
1915 as_fn_error $?
"expected an absolute directory name for --$ac_var: $ac_val"
1918 # There might be people who depend on the old broken behavior: `$host'
1919 # used to hold the argument of --host etc.
1920 # FIXME: To remove some day.
1923 target
=$target_alias
1925 # FIXME: To remove some day.
1926 if test "x$host_alias" != x
; then
1927 if test "x$build_alias" = x
; then
1928 cross_compiling
=maybe
1929 elif test "x$build_alias" != "x$host_alias"; then
1935 test -n "$host_alias" && ac_tool_prefix
=$host_alias-
1937 test "$silent" = yes && exec 6>/dev
/null
1940 ac_pwd
=`pwd` && test -n "$ac_pwd" &&
1941 ac_ls_di
=`ls -di .` &&
1942 ac_pwd_ls_di
=`cd "$ac_pwd" && ls -di .` ||
1943 as_fn_error $?
"working directory cannot be determined"
1944 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1945 as_fn_error $?
"pwd does not report name of working directory"
1948 # Find the source files, if location was not specified.
1949 if test -z "$srcdir"; then
1950 ac_srcdir_defaulted
=yes
1951 # Try the directory containing this script, then the parent directory.
1952 ac_confdir
=`$as_dirname -- "$as_myself" ||
1953 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1954 X"$as_myself" : 'X\(//\)[^/]' \| \
1955 X"$as_myself" : 'X\(//\)$' \| \
1956 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
1957 $as_echo X"$as_myself" |
1958 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1976 if test ! -r "$srcdir/$ac_unique_file"; then
1980 ac_srcdir_defaulted
=no
1982 if test ! -r "$srcdir/$ac_unique_file"; then
1983 test "$ac_srcdir_defaulted" = yes && srcdir
="$ac_confdir or .."
1984 as_fn_error $?
"cannot find sources ($ac_unique_file) in $srcdir"
1986 ac_msg
="sources are in $srcdir, but \`cd $srcdir' does not work"
1988 cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
1990 # When building in place, set srcdir=.
1991 if test "$ac_abs_confdir" = "$ac_pwd"; then
1994 # Remove unnecessary trailing slashes from srcdir.
1995 # Double slashes in file names in object file debugging info
1996 # mess up M-x gdb in Emacs.
1998 */) srcdir
=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
2000 for ac_var
in $ac_precious_vars; do
2001 eval ac_env_
${ac_var}_set=\${${ac_var}+set}
2002 eval ac_env_
${ac_var}_value
=\$
${ac_var}
2003 eval ac_cv_env_
${ac_var}_set=\${${ac_var}+set}
2004 eval ac_cv_env_
${ac_var}_value
=\$
${ac_var}
2008 # Report the --help message.
2010 if test "$ac_init_help" = "long"; then
2011 # Omit some internal or obsolete options to make the list less imposing.
2012 # This message is too long to be a string in the A/UX 3.1 sh.
2014 \`configure' configures Wine 1.7.36 to adapt to many kinds of systems.
2016 Usage: $0 [OPTION]... [VAR=VALUE]...
2018 To assign environment variables (e.g., CC, CFLAGS...), specify them as
2019 VAR=VALUE. See below for descriptions of some of the useful variables.
2021 Defaults for the options are specified in brackets.
2024 -h, --help display this help and exit
2025 --help=short display options specific to this package
2026 --help=recursive display the short help of all the included packages
2027 -V, --version display version information and exit
2028 -q, --quiet, --silent do not print \`checking ...' messages
2029 --cache-file=FILE cache test results in FILE [disabled]
2030 -C, --config-cache alias for \`--cache-file=config.cache'
2031 -n, --no-create do not create output files
2032 --srcdir=DIR find the sources in DIR [configure dir or \`..']
2034 Installation directories:
2035 --prefix=PREFIX install architecture-independent files in PREFIX
2036 [$ac_default_prefix]
2037 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
2040 By default, \`make install' will install all the files in
2041 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
2042 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
2043 for instance \`--prefix=\$HOME'.
2045 For better control, use the options below.
2047 Fine tuning of the installation directories:
2048 --bindir=DIR user executables [EPREFIX/bin]
2049 --sbindir=DIR system admin executables [EPREFIX/sbin]
2050 --libexecdir=DIR program executables [EPREFIX/libexec]
2051 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
2052 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
2053 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
2054 --libdir=DIR object code libraries [EPREFIX/lib]
2055 --includedir=DIR C header files [PREFIX/include]
2056 --oldincludedir=DIR C header files for non-gcc [/usr/include]
2057 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
2058 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
2059 --infodir=DIR info documentation [DATAROOTDIR/info]
2060 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
2061 --mandir=DIR man documentation [DATAROOTDIR/man]
2062 --docdir=DIR documentation root [DATAROOTDIR/doc/wine]
2063 --htmldir=DIR html documentation [DOCDIR]
2064 --dvidir=DIR dvi documentation [DOCDIR]
2065 --pdfdir=DIR pdf documentation [DOCDIR]
2066 --psdir=DIR ps documentation [DOCDIR]
2072 --x-includes=DIR X include files are
in DIR
2073 --x-libraries=DIR X library files are
in DIR
2076 --build=BUILD configure
for building on BUILD
[guessed
]
2077 --host=HOST cross-compile to build programs to run on HOST
[BUILD
]
2081 if test -n "$ac_init_help"; then
2082 case $ac_init_help in
2083 short | recursive
) echo "Configuration of Wine 1.7.36:";;
2088 --disable-option-checking ignore unrecognized
--enable/--with options
2089 --disable-FEATURE do not include FEATURE
(same as
--enable-FEATURE=no
)
2090 --enable-FEATURE[=ARG
] include FEATURE
[ARG
=yes]
2091 --disable-win16 do not include Win16 support
2092 --enable-win64 build a Win64 emulator on AMD64
(won
't run Win32
2094 --disable-tests do not build the regression tests
2095 --enable-maintainer-mode
2096 enable maintainer-specific build rules
2097 --disable-largefile omit support for large files
2100 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
2101 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
2102 --without-alsa do not use the Alsa sound support
2103 --without-capi do not use CAPI (ISDN support)
2104 --without-cms do not use CMS (color management support)
2105 --without-coreaudio do not use the CoreAudio sound support
2106 --without-cups do not use CUPS
2107 --without-curses do not use (n)curses
2108 --without-dbus do not use DBus (dynamic device support)
2109 --without-fontconfig do not use fontconfig
2110 --without-freetype do not use the FreeType library
2111 --without-gettext do not use gettext
2112 --with-gettextpo use the GetTextPO library to rebuild po files
2113 --without-gphoto do not use gphoto (Digital Camera support)
2114 --without-glu do not use the GLU library
2115 --without-gnutls do not use GnuTLS (schannel support)
2116 --without-gsm do not use libgsm (GSM 06.10 codec support)
2117 --without-gstreamer do not use GStreamer (codecs support)
2118 --without-hal do not use HAL (dynamic device support)
2119 --without-jpeg do not use JPEG
2120 --without-ldap do not use LDAP
2121 --without-mpg123 do not use the mpg123 library
2122 --without-netapi do not use the Samba NetAPI library
2123 --without-openal do not use OpenAL
2124 --without-opencl do not use OpenCL
2125 --without-opengl do not use OpenGL
2126 --without-osmesa do not use the OSMesa library
2127 --without-oss do not use the OSS sound support
2128 --without-pcap do not use the Packet Capture library
2129 --without-png do not use PNG
2130 --without-pthread do not use the pthread library
2131 --without-sane do not use SANE (scanner support)
2132 --without-tiff do not use TIFF
2133 --without-v4l do not use v4l1 (v4l support)
2134 --without-xcomposite do not use the Xcomposite extension
2135 --without-xcursor do not use the Xcursor extension
2136 --without-xinerama do not use Xinerama (multi-monitor support)
2137 --without-xinput do not use the Xinput extension
2138 --without-xinput2 do not use the Xinput 2 extension
2139 --without-xml do not use XML
2140 --without-xrandr do not use Xrandr (resolution changes)
2141 --without-xrender do not use the Xrender extension
2142 --without-xshape do not use the Xshape extension
2143 --without-xshm do not use XShm (shared memory extension)
2144 --without-xslt do not use XSLT
2145 --without-xxf86vm do not use XFree video mode extension
2146 --without-zlib do not use Zlib (data compression)
2147 --with-wine-tools=DIR use Wine tools from directory DIR
2148 --with-wine64=DIR use the 64-bit Wine in DIR for a Wow64 build
2149 --with-x use the X Window System
2151 Some influential environment variables:
2152 CC C compiler command
2153 CFLAGS C compiler flags
2154 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
2155 nonstandard directory <lib dir>
2156 LIBS libraries to pass to the linker, e.g. -l<library>
2157 CPPFLAGS (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if
2158 you have headers in a nonstandard directory <include dir>
2159 CXX C++ compiler command
2160 CXXFLAGS C++ compiler flags
2162 XMKMF Path to xmkmf, Makefile generator for X Window System
2163 XML2_CFLAGS C compiler flags for libxml-2.0, overriding pkg-config
2164 XML2_LIBS Linker flags for libxml-2.0, overriding pkg-config
2165 XSLT_CFLAGS C compiler flags for libxslt, overriding pkg-config
2166 XSLT_LIBS Linker flags for libxslt, overriding pkg-config
2167 DBUS_CFLAGS C compiler flags for dbus-1, overriding pkg-config
2168 DBUS_LIBS Linker flags for dbus-1, overriding pkg-config
2169 HAL_CFLAGS C compiler flags for hal, overriding pkg-config
2170 HAL_LIBS Linker flags for hal, overriding pkg-config
2172 C compiler flags for gnutls, overriding pkg-config
2173 GNUTLS_LIBS Linker flags for gnutls, overriding pkg-config
2174 SANE_CFLAGS C compiler flags for libsane, overriding pkg-config
2175 SANE_LIBS Linker flags for libsane, overriding pkg-config
2177 C compiler flags for libgphoto2, overriding pkg-config
2179 Linker flags for libgphoto2, overriding pkg-config
2181 C compiler flags for libgphoto2_port, overriding pkg-config
2183 Linker flags for libgphoto2_port, overriding pkg-config
2185 C compiler flags for lcms2, overriding pkg-config
2186 LCMS2_LIBS Linker flags for lcms2, overriding pkg-config
2188 C compiler flags for freetype2, overriding pkg-config
2190 Linker flags for freetype2, overriding pkg-config
2192 C compiler flags for gstreamer-app-0.10, overriding pkg-config
2194 Linker flags for gstreamer-app-0.10, overriding pkg-config
2196 C compiler flags for capi20, overriding pkg-config
2197 CAPI20_LIBS Linker flags for capi20, overriding pkg-config
2199 C compiler flags for fontconfig, overriding pkg-config
2201 Linker flags for fontconfig, overriding pkg-config
2202 JPEG_CFLAGS C compiler flags for libjpeg, overriding pkg-config
2203 JPEG_LIBS Linker flags for libjpeg, overriding pkg-config
2204 PNG_CFLAGS C compiler flags for libpng, overriding pkg-config
2205 PNG_LIBS Linker flags for libpng, overriding pkg-config
2206 TIFF_CFLAGS C compiler flags for libtiff, overriding pkg-config
2207 TIFF_LIBS Linker flags for libtiff, overriding pkg-config
2209 C compiler flags for libmpg123, overriding pkg-config
2210 MPG123_LIBS Linker flags for libmpg123, overriding pkg-config
2212 Use these variables to override the choices made by `configure' or to
help
2213 it to
find libraries and programs with nonstandard names
/locations.
2215 Report bugs to
<wine-devel@winehq.org
>.
2216 Wine home page
: <http
://www.winehq.org
>.
2221 if test "$ac_init_help" = "recursive"; then
2222 # If there are subdirs, report their specific --help.
2223 for ac_dir
in : $ac_subdirs_all; do test "x$ac_dir" = x
: && continue
2224 test -d "$ac_dir" ||
2225 { cd "$srcdir" && ac_pwd
=`pwd` && srcdir
=.
&& test -d "$ac_dir"; } ||
2230 .
) ac_dir_suffix
= ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
2232 ac_dir_suffix
=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
2233 # A ".." for each directory in $ac_dir_suffix.
2234 ac_top_builddir_sub
=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
2235 case $ac_top_builddir_sub in
2236 "") ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
2237 *) ac_top_build_prefix
=$ac_top_builddir_sub/ ;;
2240 ac_abs_top_builddir
=$ac_pwd
2241 ac_abs_builddir
=$ac_pwd$ac_dir_suffix
2242 # for backward compatibility:
2243 ac_top_builddir
=$ac_top_build_prefix
2246 .
) # We are building in place.
2248 ac_top_srcdir
=$ac_top_builddir_sub
2249 ac_abs_top_srcdir
=$ac_pwd ;;
2250 [\\/]* | ?
:[\\/]* ) # Absolute name.
2251 ac_srcdir
=$srcdir$ac_dir_suffix;
2252 ac_top_srcdir
=$srcdir
2253 ac_abs_top_srcdir
=$srcdir ;;
2255 ac_srcdir
=$ac_top_build_prefix$srcdir$ac_dir_suffix
2256 ac_top_srcdir
=$ac_top_build_prefix$srcdir
2257 ac_abs_top_srcdir
=$ac_pwd/$srcdir ;;
2259 ac_abs_srcdir
=$ac_abs_top_srcdir$ac_dir_suffix
2261 cd "$ac_dir" ||
{ ac_status
=$?
; continue; }
2262 # Check for guested configure.
2263 if test -f "$ac_srcdir/configure.gnu"; then
2265 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
2266 elif test -f "$ac_srcdir/configure"; then
2268 $SHELL "$ac_srcdir/configure" --help=recursive
2270 $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
2272 cd "$ac_pwd" ||
{ ac_status
=$?
; break; }
2276 test -n "$ac_init_help" && exit $ac_status
2277 if $ac_init_version; then
2279 Wine configure
1.7.36
2280 generated by GNU Autoconf
2.69
2282 Copyright
(C
) 2012 Free Software Foundation
, Inc.
2283 This configure
script is free software
; the Free Software Foundation
2284 gives unlimited permission to copy
, distribute and modify it.
2289 ## ------------------------ ##
2290 ## Autoconf initialization. ##
2291 ## ------------------------ ##
2293 # ac_fn_c_try_compile LINENO
2294 # --------------------------
2295 # Try to compile conftest.$ac_ext, and return whether this succeeded.
2296 ac_fn_c_try_compile
()
2298 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
2299 rm -f conftest.
$ac_objext
2300 if { { ac_try
="$ac_compile"
2302 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
2303 *) ac_try_echo=$ac_try;;
2305 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2306 $as_echo "$ac_try_echo"; } >&5
2307 (eval "$ac_compile") 2>conftest.err
2309 if test -s conftest.err; then
2310 grep -v '^ *+' conftest.err >conftest.er1
2311 cat conftest.er1 >&5
2312 mv -f conftest.er1 conftest.err
2314 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2315 test $ac_status = 0; } && {
2316 test -z "$ac_c_werror_flag" ||
2317 test ! -s conftest.err
2318 } && test -s conftest.$ac_objext; then :
2321 $as_echo "$as_me: failed program was:" >&5
2322 sed 's/^/| /' conftest.$ac_ext >&5
2326 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2327 as_fn_set_status $ac_retval
2329 } # ac_fn_c_try_compile
2331 # ac_fn_cxx_try_compile LINENO
2332 # ----------------------------
2333 # Try to compile conftest.$ac_ext, and return whether this succeeded.
2334 ac_fn_cxx_try_compile ()
2336 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2337 rm -f conftest.$ac_objext
2338 if { { ac_try="$ac_compile"
2340 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
2341 *) ac_try_echo
=$ac_try;;
2343 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2344 $as_echo "$ac_try_echo"; } >&5
2345 (eval "$ac_compile") 2>conftest.err
2347 if test -s conftest.err
; then
2348 grep -v '^ *+' conftest.err
>conftest.er1
2349 cat conftest.er1
>&5
2350 mv -f conftest.er1 conftest.err
2352 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2353 test $ac_status = 0; } && {
2354 test -z "$ac_cxx_werror_flag" ||
2355 test ! -s conftest.err
2356 } && test -s conftest.
$ac_objext; then :
2359 $as_echo "$as_me: failed program was:" >&5
2360 sed 's/^/| /' conftest.
$ac_ext >&5
2364 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2365 as_fn_set_status
$ac_retval
2367 } # ac_fn_cxx_try_compile
2369 # ac_fn_c_try_link LINENO
2370 # -----------------------
2371 # Try to link conftest.$ac_ext, and return whether this succeeded.
2374 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
2375 rm -f conftest.
$ac_objext conftest
$ac_exeext
2376 if { { ac_try
="$ac_link"
2378 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
2379 *) ac_try_echo=$ac_try;;
2381 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2382 $as_echo "$ac_try_echo"; } >&5
2383 (eval "$ac_link") 2>conftest.err
2385 if test -s conftest.err; then
2386 grep -v '^ *+' conftest.err >conftest.er1
2387 cat conftest.er1 >&5
2388 mv -f conftest.er1 conftest.err
2390 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2391 test $ac_status = 0; } && {
2392 test -z "$ac_c_werror_flag" ||
2393 test ! -s conftest.err
2394 } && test -s conftest$ac_exeext && {
2395 test "$cross_compiling" = yes ||
2396 test -x conftest$ac_exeext
2400 $as_echo "$as_me: failed program was:" >&5
2401 sed 's/^/| /' conftest.$ac_ext >&5
2405 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
2406 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
2407 # interfere with the next link command; also delete a directory that is
2408 # left behind by Apple's compiler. We do this before executing the actions.
2409 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
2410 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2411 as_fn_set_status $ac_retval
2413 } # ac_fn_c_try_link
2415 # ac_fn_c_try_cpp LINENO
2416 # ----------------------
2417 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
2420 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2421 if { { ac_try="$ac_cpp conftest.$ac_ext"
2423 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
2424 *) ac_try_echo
=$ac_try;;
2426 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2427 $as_echo "$ac_try_echo"; } >&5
2428 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
2430 if test -s conftest.err
; then
2431 grep -v '^ *+' conftest.err
>conftest.er1
2432 cat conftest.er1
>&5
2433 mv -f conftest.er1 conftest.err
2435 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2436 test $ac_status = 0; } > conftest.i
&& {
2437 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
2438 test ! -s conftest.err
2442 $as_echo "$as_me: failed program was:" >&5
2443 sed 's/^/| /' conftest.
$ac_ext >&5
2447 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2448 as_fn_set_status
$ac_retval
2452 # ac_fn_c_check_header_mongrel LINENO HEADER VAR INCLUDES
2453 # -------------------------------------------------------
2454 # Tests whether HEADER exists, giving a warning if it cannot be compiled using
2455 # the include files in INCLUDES and setting the cache variable VAR
2457 ac_fn_c_check_header_mongrel
()
2459 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
2460 if eval \
${$3+:} false
; then :
2461 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2462 $as_echo_n "checking for $2... " >&6; }
2463 if eval \
${$3+:} false
; then :
2464 $as_echo_n "(cached) " >&6
2467 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2468 $as_echo "$ac_res" >&6; }
2470 # Is the header compilable?
2471 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
2472 $as_echo_n "checking $2 usability... " >&6; }
2473 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
2474 /* end confdefs.h. */
2478 if ac_fn_c_try_compile
"$LINENO"; then :
2479 ac_header_compiler
=yes
2481 ac_header_compiler
=no
2483 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
2484 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
2485 $as_echo "$ac_header_compiler" >&6; }
2487 # Is the header present?
2488 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
2489 $as_echo_n "checking $2 presence... " >&6; }
2490 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
2491 /* end confdefs.h. */
2494 if ac_fn_c_try_cpp
"$LINENO"; then :
2495 ac_header_preproc
=yes
2497 ac_header_preproc
=no
2499 rm -f conftest.err conftest.i conftest.
$ac_ext
2500 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
2501 $as_echo "$ac_header_preproc" >&6; }
2503 # So? What about this header?
2504 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in #((
2506 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
2507 $as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
2508 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
2509 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
2512 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
2513 $as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
2514 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: check for missing prerequisite headers?" >&5
2515 $as_echo "$as_me: WARNING: $2: check for missing prerequisite headers?" >&2;}
2516 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
2517 $as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
2518 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&5
2519 $as_echo "$as_me: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&2;}
2520 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
2521 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
2522 ( $as_echo "## ------------------------------------ ##
2523 ## Report this to wine-devel@winehq.org ##
2524 ## ------------------------------------ ##"
2525 ) |
sed "s/^/$as_me: WARNING: /" >&2
2528 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2529 $as_echo_n "checking for $2... " >&6; }
2530 if eval \
${$3+:} false
; then :
2531 $as_echo_n "(cached) " >&6
2533 eval "$3=\$ac_header_compiler"
2536 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2537 $as_echo "$ac_res" >&6; }
2539 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2541 } # ac_fn_c_check_header_mongrel
2543 # ac_fn_c_try_run LINENO
2544 # ----------------------
2545 # Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
2546 # that executables *can* be run.
2549 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
2550 if { { ac_try
="$ac_link"
2552 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
2553 *) ac_try_echo=$ac_try;;
2555 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2556 $as_echo "$ac_try_echo"; } >&5
2557 (eval "$ac_link") 2>&5
2559 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2560 test $ac_status = 0; } && { ac_try='./conftest$ac_exeext'
2561 { { case "(($ac_try" in
2562 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
2563 *) ac_try_echo
=$ac_try;;
2565 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2566 $as_echo "$ac_try_echo"; } >&5
2567 (eval "$ac_try") 2>&5
2569 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2570 test $ac_status = 0; }; }; then :
2573 $as_echo "$as_me: program exited with status $ac_status" >&5
2574 $as_echo "$as_me: failed program was:" >&5
2575 sed 's/^/| /' conftest.
$ac_ext >&5
2577 ac_retval
=$ac_status
2579 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
2580 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2581 as_fn_set_status
$ac_retval
2585 # ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
2586 # -------------------------------------------------------
2587 # Tests whether HEADER exists and can be compiled using the include files in
2588 # INCLUDES, setting the cache variable VAR accordingly.
2589 ac_fn_c_check_header_compile
()
2591 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
2592 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2593 $as_echo_n "checking for $2... " >&6; }
2594 if eval \
${$3+:} false
; then :
2595 $as_echo_n "(cached) " >&6
2597 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
2598 /* end confdefs.h. */
2602 if ac_fn_c_try_compile
"$LINENO"; then :
2607 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
2610 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2611 $as_echo "$ac_res" >&6; }
2612 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2614 } # ac_fn_c_check_header_compile
2616 # ac_fn_c_check_func LINENO FUNC VAR
2617 # ----------------------------------
2618 # Tests whether FUNC exists, setting the cache variable VAR accordingly
2619 ac_fn_c_check_func
()
2621 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
2622 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2623 $as_echo_n "checking for $2... " >&6; }
2624 if eval \
${$3+:} false
; then :
2625 $as_echo_n "(cached) " >&6
2627 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
2628 /* end confdefs.h. */
2629 /* Define $2 to an innocuous variant, in case <limits.h> declares $2.
2630 For example, HP-UX 11i <limits.h> declares gettimeofday. */
2631 #define $2 innocuous_$2
2633 /* System header to define __stub macros and hopefully few prototypes,
2634 which can conflict with char $2 (); below.
2635 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
2636 <limits.h> exists even on freestanding compilers. */
2639 # include <limits.h>
2641 # include <assert.h>
2646 /* Override any GCC internal prototype to avoid an error.
2647 Use char because int might match the return type of a GCC
2648 builtin and then its argument prototype would still apply. */
2653 /* The GNU C library defines this for functions which it implements
2654 to always fail with ENOSYS. Some functions are actually named
2655 something starting with __ and the normal name is an alias. */
2656 #if defined __stub_$2 || defined __stub___$2
2668 if ac_fn_c_try_link
"$LINENO"; then :
2673 rm -f core conftest.err conftest.
$ac_objext \
2674 conftest
$ac_exeext conftest.
$ac_ext
2677 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2678 $as_echo "$ac_res" >&6; }
2679 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2681 } # ac_fn_c_check_func
2683 # ac_fn_c_check_member LINENO AGGR MEMBER VAR INCLUDES
2684 # ----------------------------------------------------
2685 # Tries to find if the field MEMBER exists in type AGGR, after including
2686 # INCLUDES, setting cache variable VAR accordingly.
2687 ac_fn_c_check_member
()
2689 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
2690 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2.$3" >&5
2691 $as_echo_n "checking for $2.$3... " >&6; }
2692 if eval \
${$4+:} false
; then :
2693 $as_echo_n "(cached) " >&6
2695 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
2696 /* end confdefs.h. */
2708 if ac_fn_c_try_compile
"$LINENO"; then :
2711 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
2712 /* end confdefs.h. */
2718 if (sizeof ac_aggr.$3)
2724 if ac_fn_c_try_compile
"$LINENO"; then :
2729 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
2731 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
2734 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2735 $as_echo "$ac_res" >&6; }
2736 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2738 } # ac_fn_c_check_member
2740 # ac_fn_c_check_type LINENO TYPE VAR INCLUDES
2741 # -------------------------------------------
2742 # Tests whether TYPE exists after having included INCLUDES, setting cache
2743 # variable VAR accordingly.
2744 ac_fn_c_check_type
()
2746 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
2747 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2748 $as_echo_n "checking for $2... " >&6; }
2749 if eval \
${$3+:} false
; then :
2750 $as_echo_n "(cached) " >&6
2753 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
2754 /* end confdefs.h. */
2765 if ac_fn_c_try_compile
"$LINENO"; then :
2766 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
2767 /* end confdefs.h. */
2778 if ac_fn_c_try_compile
"$LINENO"; then :
2783 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
2785 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
2788 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2789 $as_echo "$ac_res" >&6; }
2790 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2792 } # ac_fn_c_check_type
2793 cat >config.log
<<_ACEOF
2794 This file contains any messages produced by compilers while
2795 running configure, to aid debugging if configure makes a mistake.
2797 It was created by Wine $as_me 1.7.36, which was
2798 generated by GNU Autoconf 2.69. Invocation command line was
2810 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
2811 uname -m = `(uname -m) 2>/dev/null || echo unknown`
2812 uname -r = `(uname -r) 2>/dev/null || echo unknown`
2813 uname -s = `(uname -s) 2>/dev/null || echo unknown`
2814 uname -v = `(uname -v) 2>/dev/null || echo unknown`
2816 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
2817 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
2819 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
2820 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
2821 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
2822 /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
2823 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
2824 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
2825 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
2829 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2833 test -z "$as_dir" && as_dir
=.
2834 $as_echo "PATH: $as_dir"
2850 # Keep a trace of the command line.
2851 # Strip out --no-create and --no-recursion so they do not pile up.
2852 # Strip out --silent because we don't want to record it for future runs.
2853 # Also quote any args containing shell meta-characters.
2854 # Make two passes to allow for proper duplicate-argument suppression.
2858 ac_must_keep_next
=false
2864 -no-create |
--no-c* |
-n |
-no-recursion |
--no-r*) continue ;;
2865 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
2866 |
-silent |
--silent |
--silen |
--sile |
--sil)
2869 ac_arg
=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
2872 1) as_fn_append ac_configure_args0
" '$ac_arg'" ;;
2874 as_fn_append ac_configure_args1
" '$ac_arg'"
2875 if test $ac_must_keep_next = true
; then
2876 ac_must_keep_next
=false
# Got value, back to normal.
2879 *=* |
--config-cache |
-C |
-disable-* |
--disable-* \
2880 |
-enable-* |
--enable-* |
-gas |
--g* |
-nfp |
--nf* \
2881 |
-q |
-quiet |
--q* |
-silent |
--sil* |
-v |
-verb* \
2882 |
-with-* |
--with-* |
-without-* |
--without-* |
--x)
2883 case "$ac_configure_args0 " in
2884 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
2887 -* ) ac_must_keep_next
=true
;;
2890 as_fn_append ac_configure_args
" '$ac_arg'"
2895 { ac_configure_args0
=; unset ac_configure_args0
;}
2896 { ac_configure_args1
=; unset ac_configure_args1
;}
2898 # When interrupted or exit'd, cleanup temporary files, and complete
2899 # config.log. We remove comments because anyway the quotes in there
2900 # would cause problems or look ugly.
2901 # WARNING: Use '\'' to represent an apostrophe within the trap.
2902 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
2903 trap 'exit_status=$?
2904 # Save into config.log some information that might help in debugging.
2908 $as_echo "## ---------------- ##
2909 ## Cache variables. ##
2910 ## ---------------- ##"
2912 # The following way of writing the cache mishandles newlines in values,
2914 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
2915 eval ac_val=\$$ac_var
2919 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
2920 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
2923 _ | IFS | as_nl) ;; #(
2924 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
2925 *) { eval $ac_var=; unset $ac_var;} ;;
2930 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
2931 *${as_nl}ac_space=\ *)
2933 "s/'\''/'\''\\\\'\'''\''/g;
2934 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
2937 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
2944 $as_echo "## ----------------- ##
2945 ## Output variables. ##
2946 ## ----------------- ##"
2948 for ac_var in $ac_subst_vars
2950 eval ac_val=\$$ac_var
2952 *\'\''*) ac_val
=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2954 $as_echo "$ac_var='\''$ac_val'\''"
2958 if test -n "$ac_subst_files"; then
2959 $as_echo "## ------------------- ##
2960 ## File substitutions. ##
2961 ## ------------------- ##"
2963 for ac_var
in $ac_subst_files
2965 eval ac_val
=\$
$ac_var
2967 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2969 $as_echo "$ac_var='\''$ac_val'\''"
2974 if test -s confdefs.h; then
2975 $as_echo "## ----------- ##
2982 test "$ac_signal" != 0 &&
2983 $as_echo "$as_me: caught signal $ac_signal"
2984 $as_echo "$as_me: exit $exit_status"
2986 rm -f core *.core core.conftest.* &&
2987 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
2990 for ac_signal
in 1 2 13 15; do
2991 trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
2995 # confdefs.h avoids OS command line length limits that DEFS can exceed.
2996 rm -f -r conftest
* confdefs.h
2998 $as_echo "/* confdefs.h */" > confdefs.h
3000 # Predefined preprocessor variables.
3002 cat >>confdefs.h
<<_ACEOF
3003 #define PACKAGE_NAME "$PACKAGE_NAME"
3006 cat >>confdefs.h
<<_ACEOF
3007 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
3010 cat >>confdefs.h
<<_ACEOF
3011 #define PACKAGE_VERSION "$PACKAGE_VERSION"
3014 cat >>confdefs.h
<<_ACEOF
3015 #define PACKAGE_STRING "$PACKAGE_STRING"
3018 cat >>confdefs.h
<<_ACEOF
3019 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
3022 cat >>confdefs.h
<<_ACEOF
3023 #define PACKAGE_URL "$PACKAGE_URL"
3027 # Let the site file select an alternate cache file if it wants to.
3028 # Prefer an explicitly selected file to automatically selected ones.
3031 if test -n "$CONFIG_SITE"; then
3032 # We do not want a PATH search for config.site.
3033 case $CONFIG_SITE in #((
3034 -*) ac_site_file1
=.
/$CONFIG_SITE;;
3035 */*) ac_site_file1
=$CONFIG_SITE;;
3036 *) ac_site_file1
=.
/$CONFIG_SITE;;
3038 elif test "x$prefix" != xNONE
; then
3039 ac_site_file1
=$prefix/share
/config.site
3040 ac_site_file2
=$prefix/etc
/config.site
3042 ac_site_file1
=$ac_default_prefix/share
/config.site
3043 ac_site_file2
=$ac_default_prefix/etc
/config.site
3045 for ac_site_file
in "$ac_site_file1" "$ac_site_file2"
3047 test "x$ac_site_file" = xNONE
&& continue
3048 if test /dev
/null
!= "$ac_site_file" && test -r "$ac_site_file"; then
3049 { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
3050 $as_echo "$as_me: loading site script $ac_site_file" >&6;}
3051 sed 's/^/| /' "$ac_site_file" >&5
3053 ||
{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3054 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3055 as_fn_error $?
"failed to load site script $ac_site_file
3056 See \`config.log' for more details" "$LINENO" 5; }
3060 if test -r "$cache_file"; then
3061 # Some versions of bash will fail to source /dev/null (special files
3062 # actually), so we avoid doing that. DJGPP emulates it as a regular file.
3063 if test /dev
/null
!= "$cache_file" && test -f "$cache_file"; then
3064 { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
3065 $as_echo "$as_me: loading cache $cache_file" >&6;}
3067 [\\/]* | ?
:[\\/]* ) .
"$cache_file";;
3068 *) .
"./$cache_file";;
3072 { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
3073 $as_echo "$as_me: creating cache $cache_file" >&6;}
3077 # Check that the precious variables saved in the cache have kept the same
3079 ac_cache_corrupted
=false
3080 for ac_var
in $ac_precious_vars; do
3081 eval ac_old_set
=\
$ac_cv_env_${ac_var}_set
3082 eval ac_new_set
=\
$ac_env_${ac_var}_set
3083 eval ac_old_val
=\
$ac_cv_env_${ac_var}_value
3084 eval ac_new_val
=\
$ac_env_${ac_var}_value
3085 case $ac_old_set,$ac_new_set in
3087 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
3088 $as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
3089 ac_cache_corrupted
=: ;;
3091 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
3092 $as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
3093 ac_cache_corrupted
=: ;;
3096 if test "x$ac_old_val" != "x$ac_new_val"; then
3097 # differences in whitespace do not lead to failure.
3098 ac_old_val_w
=`echo x $ac_old_val`
3099 ac_new_val_w
=`echo x $ac_new_val`
3100 if test "$ac_old_val_w" != "$ac_new_val_w"; then
3101 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
3102 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
3103 ac_cache_corrupted
=:
3105 { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
3106 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
3107 eval $ac_var=\
$ac_old_val
3109 { $as_echo "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5
3110 $as_echo "$as_me: former value: \`$ac_old_val'" >&2;}
3111 { $as_echo "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5
3112 $as_echo "$as_me: current value: \`$ac_new_val'" >&2;}
3115 # Pass precious variables to config.status.
3116 if test "$ac_new_set" = set; then
3118 *\'*) ac_arg
=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
3119 *) ac_arg
=$ac_var=$ac_new_val ;;
3121 case " $ac_configure_args " in
3122 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
3123 *) as_fn_append ac_configure_args
" '$ac_arg'" ;;
3127 if $ac_cache_corrupted; then
3128 { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3129 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3130 { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
3131 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
3132 as_fn_error $?
"run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
3134 ## -------------------- ##
3135 ## Main body of script. ##
3136 ## -------------------- ##
3139 ac_cpp
='$CPP $CPPFLAGS'
3140 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3141 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3142 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
3146 ac_config_headers
="$ac_config_headers include/config.h"
3149 for ac_dir
in tools
"$srcdir"/tools
; do
3150 if test -f "$ac_dir/install-sh"; then
3152 ac_install_sh
="$ac_aux_dir/install-sh -c"
3154 elif test -f "$ac_dir/install.sh"; then
3156 ac_install_sh
="$ac_aux_dir/install.sh -c"
3158 elif test -f "$ac_dir/shtool"; then
3160 ac_install_sh
="$ac_aux_dir/shtool install -c"
3164 if test -z "$ac_aux_dir"; then
3165 as_fn_error $?
"cannot find install-sh, install.sh, or shtool in tools \"$srcdir\"/tools" "$LINENO" 5
3168 # These three variables are undocumented and unsupported,
3169 # and are intended to be withdrawn in a future Autoconf release.
3170 # They can cause serious problems if a builder's source tree is in a directory
3171 # whose full name contains unusual characters.
3172 ac_config_guess
="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
3173 ac_config_sub
="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
3174 ac_configure
="$SHELL $ac_aux_dir/configure" # Please don't use this var.
3178 libwine_version
="1.0"
3182 # Check whether --enable-win16 was given.
3183 if test "${enable_win16+set}" = set; then :
3184 enableval
=$enable_win16;
3187 # Check whether --enable-win64 was given.
3188 if test "${enable_win64+set}" = set; then :
3189 enableval
=$enable_win64;
3192 # Check whether --enable-tests was given.
3193 if test "${enable_tests+set}" = set; then :
3194 enableval
=$enable_tests;
3197 # Check whether --enable-maintainer-mode was given.
3198 if test "${enable_maintainer_mode+set}" = set; then :
3199 enableval
=$enable_maintainer_mode;
3204 # Check whether --with-alsa was given.
3205 if test "${with_alsa+set}" = set; then :
3206 withval
=$with_alsa; if test "x$withval" = "xno"; then ac_cv_header_sys_asoundlib_h
=no
; ac_cv_header_alsa_asoundlib_h
=no
; fi
3210 # Check whether --with-capi was given.
3211 if test "${with_capi+set}" = set; then :
3216 # Check whether --with-cms was given.
3217 if test "${with_cms+set}" = set; then :
3222 # Check whether --with-coreaudio was given.
3223 if test "${with_coreaudio+set}" = set; then :
3224 withval
=$with_coreaudio; if test "x$withval" = "xno"; then ac_cv_header_CoreAudio_CoreAudio_h
=no
; fi
3228 # Check whether --with-cups was given.
3229 if test "${with_cups+set}" = set; then :
3234 # Check whether --with-curses was given.
3235 if test "${with_curses+set}" = set; then :
3236 withval
=$with_curses; if test "x$withval" = "xno"; then ac_cv_header_ncurses_h
=no
; ac_cv_header_curses_h
=no
; fi
3240 # Check whether --with-dbus was given.
3241 if test "${with_dbus+set}" = set; then :
3246 # Check whether --with-fontconfig was given.
3247 if test "${with_fontconfig+set}" = set; then :
3248 withval
=$with_fontconfig;
3252 # Check whether --with-freetype was given.
3253 if test "${with_freetype+set}" = set; then :
3254 withval
=$with_freetype;
3258 # Check whether --with-gettext was given.
3259 if test "${with_gettext+set}" = set; then :
3260 withval
=$with_gettext;
3264 # Check whether --with-gettextpo was given.
3265 if test "${with_gettextpo+set}" = set; then :
3266 withval
=$with_gettextpo; if test "x$withval" = "xno"; then ac_cv_header_gettext_po_h
=no
; fi
3270 # Check whether --with-gphoto was given.
3271 if test "${with_gphoto+set}" = set; then :
3272 withval
=$with_gphoto;
3276 # Check whether --with-glu was given.
3277 if test "${with_glu+set}" = set; then :
3282 # Check whether --with-gnutls was given.
3283 if test "${with_gnutls+set}" = set; then :
3284 withval
=$with_gnutls;
3288 # Check whether --with-gsm was given.
3289 if test "${with_gsm+set}" = set; then :
3290 withval
=$with_gsm; if test "x$withval" = "xno"; then ac_cv_header_gsm_h
=no
; ac_cv_header_gsm_gsm_h
=no
; fi
3294 # Check whether --with-gstreamer was given.
3295 if test "${with_gstreamer+set}" = set; then :
3296 withval
=$with_gstreamer;
3300 # Check whether --with-hal was given.
3301 if test "${with_hal+set}" = set; then :
3306 # Check whether --with-jpeg was given.
3307 if test "${with_jpeg+set}" = set; then :
3312 # Check whether --with-ldap was given.
3313 if test "${with_ldap+set}" = set; then :
3314 withval
=$with_ldap; if test "x$withval" = "xno"; then ac_cv_header_ldap_h
=no
; ac_cv_header_lber_h
=no
; fi
3318 # Check whether --with-mpg123 was given.
3319 if test "${with_mpg123+set}" = set; then :
3320 withval
=$with_mpg123;
3324 # Check whether --with-netapi was given.
3325 if test "${with_netapi+set}" = set; then :
3326 withval
=$with_netapi;
3330 # Check whether --with-openal was given.
3331 if test "${with_openal+set}" = set; then :
3332 withval
=$with_openal; if test "x$withval" = "xno"; then ac_cv_header_AL_al_h
=no
; ac_cv_header_OpenAL_al_h
=no
; fi
3336 # Check whether --with-opencl was given.
3337 if test "${with_opencl+set}" = set; then :
3338 withval
=$with_opencl; if test "x$withval" = "xno"; then ac_cv_header_CL_cl_h
=no
; ac_cv_header_OpenCL_opencl_h
=no
; fi
3342 # Check whether --with-opengl was given.
3343 if test "${with_opengl+set}" = set; then :
3344 withval
=$with_opengl;
3348 # Check whether --with-osmesa was given.
3349 if test "${with_osmesa+set}" = set; then :
3350 withval
=$with_osmesa;
3354 # Check whether --with-oss was given.
3355 if test "${with_oss+set}" = set; then :
3360 # Check whether --with-pcap was given.
3361 if test "${with_pcap+set}" = set; then :
3362 withval
=$with_pcap; if test "x$withval" = "xno"; then ac_cv_header_pcap_pcap_h
=no
; fi
3366 # Check whether --with-png was given.
3367 if test "${with_png+set}" = set; then :
3372 # Check whether --with-pthread was given.
3373 if test "${with_pthread+set}" = set; then :
3374 withval
=$with_pthread; if test "x$withval" = "xno"; then ac_cv_header_pthread_h
=no
; fi
3378 # Check whether --with-sane was given.
3379 if test "${with_sane+set}" = set; then :
3384 # Check whether --with-tiff was given.
3385 if test "${with_tiff+set}" = set; then :
3390 # Check whether --with-v4l was given.
3391 if test "${with_v4l+set}" = set; then :
3396 # Check whether --with-xcomposite was given.
3397 if test "${with_xcomposite+set}" = set; then :
3398 withval
=$with_xcomposite; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xcomposite_h
=no
; fi
3402 # Check whether --with-xcursor was given.
3403 if test "${with_xcursor+set}" = set; then :
3404 withval
=$with_xcursor; if test "x$withval" = "xno"; then ac_cv_header_X11_Xcursor_Xcursor_h
=no
; fi
3408 # Check whether --with-xinerama was given.
3409 if test "${with_xinerama+set}" = set; then :
3410 withval
=$with_xinerama; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xinerama_h
=no
; fi
3414 # Check whether --with-xinput was given.
3415 if test "${with_xinput+set}" = set; then :
3416 withval
=$with_xinput; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_XInput_h
=no
; fi
3420 # Check whether --with-xinput2 was given.
3421 if test "${with_xinput2+set}" = set; then :
3422 withval
=$with_xinput2; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_XInput2_h
=no
; fi
3426 # Check whether --with-xml was given.
3427 if test "${with_xml+set}" = set; then :
3432 # Check whether --with-xrandr was given.
3433 if test "${with_xrandr+set}" = set; then :
3434 withval
=$with_xrandr; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xrandr_h
=no
; fi
3438 # Check whether --with-xrender was given.
3439 if test "${with_xrender+set}" = set; then :
3440 withval
=$with_xrender; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xrender_h
=no
; fi
3444 # Check whether --with-xshape was given.
3445 if test "${with_xshape+set}" = set; then :
3446 withval
=$with_xshape; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_shape_h
=no
; fi
3450 # Check whether --with-xshm was given.
3451 if test "${with_xshm+set}" = set; then :
3452 withval
=$with_xshm; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_XShm_h
=no
; fi
3456 # Check whether --with-xslt was given.
3457 if test "${with_xslt+set}" = set; then :
3462 # Check whether --with-xxf86vm was given.
3463 if test "${with_xxf86vm+set}" = set; then :
3464 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
3468 # Check whether --with-zlib was given.
3469 if test "${with_zlib+set}" = set; then :
3470 withval
=$with_zlib; if test "x$withval" = "xno"; then ac_cv_header_zlib_h
=no
; fi
3475 # Check whether --with-wine-tools was given.
3476 if test "${with_wine_tools+set}" = set; then :
3477 withval
=$with_wine_tools;
3481 # Check whether --with-wine64 was given.
3482 if test "${with_wine64+set}" = set; then :
3483 withval
=$with_wine64;
3487 # Make sure we can run config.sub.
3488 $SHELL "$ac_aux_dir/config.sub" sun4
>/dev
/null
2>&1 ||
3489 as_fn_error $?
"cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
3491 { $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
3492 $as_echo_n "checking build system type... " >&6; }
3493 if ${ac_cv_build+:} false
; then :
3494 $as_echo_n "(cached) " >&6
3496 ac_build_alias
=$build_alias
3497 test "x$ac_build_alias" = x
&&
3498 ac_build_alias
=`$SHELL "$ac_aux_dir/config.guess"`
3499 test "x$ac_build_alias" = x
&&
3500 as_fn_error $?
"cannot guess build type; you must specify one" "$LINENO" 5
3501 ac_cv_build
=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
3502 as_fn_error $?
"$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
3505 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
3506 $as_echo "$ac_cv_build" >&6; }
3507 case $ac_cv_build in
3509 *) as_fn_error $?
"invalid value of canonical build" "$LINENO" 5;;
3512 ac_save_IFS
=$IFS; IFS
='-'
3518 # Remember, the first character of IFS is used to create $*,
3519 # except with old shells:
3522 case $build_os in *\
*) build_os
=`echo "$build_os" | sed 's/ /-/g'`;; esac
3525 { $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
3526 $as_echo_n "checking host system type... " >&6; }
3527 if ${ac_cv_host+:} false
; then :
3528 $as_echo_n "(cached) " >&6
3530 if test "x$host_alias" = x
; then
3531 ac_cv_host
=$ac_cv_build
3533 ac_cv_host
=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
3534 as_fn_error $?
"$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
3538 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
3539 $as_echo "$ac_cv_host" >&6; }
3542 *) as_fn_error $?
"invalid value of canonical host" "$LINENO" 5;;
3545 ac_save_IFS
=$IFS; IFS
='-'
3551 # Remember, the first character of IFS is used to create $*,
3552 # except with old shells:
3555 case $host_os in *\
*) host_os
=`echo "$host_os" | sed 's/ /-/g'`;; esac
3561 *) if test -f "$srcdir/Makefile" -o -f "$srcdir/include/config.h"; then
3562 as_fn_error $?
"you are building out of the source tree, but the source tree contains object files.
3563 You need to run 'make distclean' in the source tree first." "$LINENO" 5
3568 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
3569 $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
3571 ac_make
=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
3572 if eval \
${ac_cv_prog_make_${ac_make}_set+:} false
; then :
3573 $as_echo_n "(cached) " >&6
3575 cat >conftest.
make <<\_ACEOF
3578 @
echo '@@@%%%=$(MAKE)=@@@%%%'
3580 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
3581 case `${MAKE-make} -f conftest.make 2>/dev/null` in
3583 eval ac_cv_prog_make_
${ac_make}_set
=yes;;
3585 eval ac_cv_prog_make_
${ac_make}_set
=no
;;
3589 if eval test \
$ac_cv_prog_make_${ac_make}_set
= yes; then
3590 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3591 $as_echo "yes" >&6; }
3594 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3595 $as_echo "no" >&6; }
3596 SET_MAKE
="MAKE=${MAKE-make}"
3600 ac_cpp
='$CPP $CPPFLAGS'
3601 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3602 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3603 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
3604 if test -n "$ac_tool_prefix"; then
3605 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
3606 set dummy
${ac_tool_prefix}gcc
; ac_word
=$2
3607 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3608 $as_echo_n "checking for $ac_word... " >&6; }
3609 if ${ac_cv_prog_CC+:} false
; then :
3610 $as_echo_n "(cached) " >&6
3612 if test -n "$CC"; then
3613 ac_cv_prog_CC
="$CC" # Let the user override the test.
3615 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3619 test -z "$as_dir" && as_dir
=.
3620 for ac_exec_ext
in '' $ac_executable_extensions; do
3621 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
3622 ac_cv_prog_CC
="${ac_tool_prefix}gcc"
3623 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3633 if test -n "$CC"; then
3634 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3635 $as_echo "$CC" >&6; }
3637 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3638 $as_echo "no" >&6; }
3643 if test -z "$ac_cv_prog_CC"; then
3645 # Extract the first word of "gcc", so it can be a program name with args.
3646 set dummy gcc
; ac_word
=$2
3647 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3648 $as_echo_n "checking for $ac_word... " >&6; }
3649 if ${ac_cv_prog_ac_ct_CC+:} false
; then :
3650 $as_echo_n "(cached) " >&6
3652 if test -n "$ac_ct_CC"; then
3653 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
3655 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3659 test -z "$as_dir" && as_dir
=.
3660 for ac_exec_ext
in '' $ac_executable_extensions; do
3661 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
3662 ac_cv_prog_ac_ct_CC
="gcc"
3663 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3672 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
3673 if test -n "$ac_ct_CC"; then
3674 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3675 $as_echo "$ac_ct_CC" >&6; }
3677 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3678 $as_echo "no" >&6; }
3681 if test "x$ac_ct_CC" = x
; then
3684 case $cross_compiling:$ac_tool_warned in
3686 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3687 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3688 ac_tool_warned
=yes ;;
3696 if test -z "$CC"; then
3697 if test -n "$ac_tool_prefix"; then
3698 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
3699 set dummy
${ac_tool_prefix}cc
; ac_word
=$2
3700 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3701 $as_echo_n "checking for $ac_word... " >&6; }
3702 if ${ac_cv_prog_CC+:} false
; then :
3703 $as_echo_n "(cached) " >&6
3705 if test -n "$CC"; then
3706 ac_cv_prog_CC
="$CC" # Let the user override the test.
3708 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3712 test -z "$as_dir" && as_dir
=.
3713 for ac_exec_ext
in '' $ac_executable_extensions; do
3714 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
3715 ac_cv_prog_CC
="${ac_tool_prefix}cc"
3716 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3726 if test -n "$CC"; then
3727 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3728 $as_echo "$CC" >&6; }
3730 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3731 $as_echo "no" >&6; }
3737 if test -z "$CC"; then
3738 # Extract the first word of "cc", so it can be a program name with args.
3739 set dummy cc
; ac_word
=$2
3740 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3741 $as_echo_n "checking for $ac_word... " >&6; }
3742 if ${ac_cv_prog_CC+:} false
; then :
3743 $as_echo_n "(cached) " >&6
3745 if test -n "$CC"; then
3746 ac_cv_prog_CC
="$CC" # Let the user override the test.
3749 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3753 test -z "$as_dir" && as_dir
=.
3754 for ac_exec_ext
in '' $ac_executable_extensions; do
3755 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
3756 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
3757 ac_prog_rejected
=yes
3761 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3768 if test $ac_prog_rejected = yes; then
3769 # We found a bogon in the path, so make sure we never use it.
3770 set dummy
$ac_cv_prog_CC
3772 if test $# != 0; then
3773 # We chose a different compiler from the bogus one.
3774 # However, it has the same basename, so the bogon will be chosen
3775 # first if we set CC to just the basename; use the full file name.
3777 ac_cv_prog_CC
="$as_dir/$ac_word${1+' '}$@"
3783 if test -n "$CC"; then
3784 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3785 $as_echo "$CC" >&6; }
3787 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3788 $as_echo "no" >&6; }
3793 if test -z "$CC"; then
3794 if test -n "$ac_tool_prefix"; then
3795 for ac_prog
in cl.exe
3797 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
3798 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
3799 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3800 $as_echo_n "checking for $ac_word... " >&6; }
3801 if ${ac_cv_prog_CC+:} false
; then :
3802 $as_echo_n "(cached) " >&6
3804 if test -n "$CC"; then
3805 ac_cv_prog_CC
="$CC" # Let the user override the test.
3807 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3811 test -z "$as_dir" && as_dir
=.
3812 for ac_exec_ext
in '' $ac_executable_extensions; do
3813 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
3814 ac_cv_prog_CC
="$ac_tool_prefix$ac_prog"
3815 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3825 if test -n "$CC"; then
3826 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3827 $as_echo "$CC" >&6; }
3829 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3830 $as_echo "no" >&6; }
3834 test -n "$CC" && break
3837 if test -z "$CC"; then
3839 for ac_prog
in cl.exe
3841 # Extract the first word of "$ac_prog", so it can be a program name with args.
3842 set dummy
$ac_prog; ac_word
=$2
3843 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3844 $as_echo_n "checking for $ac_word... " >&6; }
3845 if ${ac_cv_prog_ac_ct_CC+:} false
; then :
3846 $as_echo_n "(cached) " >&6
3848 if test -n "$ac_ct_CC"; then
3849 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
3851 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3855 test -z "$as_dir" && as_dir
=.
3856 for ac_exec_ext
in '' $ac_executable_extensions; do
3857 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
3858 ac_cv_prog_ac_ct_CC
="$ac_prog"
3859 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3868 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
3869 if test -n "$ac_ct_CC"; then
3870 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3871 $as_echo "$ac_ct_CC" >&6; }
3873 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3874 $as_echo "no" >&6; }
3878 test -n "$ac_ct_CC" && break
3881 if test "x$ac_ct_CC" = x
; then
3884 case $cross_compiling:$ac_tool_warned in
3886 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3887 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3888 ac_tool_warned
=yes ;;
3897 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3898 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3899 as_fn_error $?
"no acceptable C compiler found in \$PATH
3900 See \`config.log' for more details" "$LINENO" 5; }
3902 # Provide some information about the compiler.
3903 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
3906 for ac_option
in --version -v -V -qversion; do
3907 { { ac_try
="$ac_compiler $ac_option >&5"
3909 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
3910 *) ac_try_echo=$ac_try;;
3912 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3913 $as_echo "$ac_try_echo"; } >&5
3914 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
3916 if test -s conftest.err; then
3918 ... rest of stderr output deleted ...
3919 10q' conftest.err >conftest.er1
3920 cat conftest.er1 >&5
3922 rm -f conftest.er1 conftest.err
3923 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3924 test $ac_status = 0; }
3927 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3928 /* end confdefs.h. */
3938 ac_clean_files_save=$ac_clean_files
3939 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
3940 # Try to create an executable without -o first, disregard a.out.
3941 # It will help us diagnose broken compilers, and finding out an intuition
3943 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
3944 $as_echo_n "checking whether the C compiler works... " >&6; }
3945 ac_link_default=`$as_echo "$ac_link" |
sed 's/ -o *conftest[^ ]*//'`
3947 # The possible output files:
3948 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
3951 for ac_file in $ac_files
3954 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
3955 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
3960 if { { ac_try="$ac_link_default"
3962 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
3963 *) ac_try_echo
=$ac_try;;
3965 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3966 $as_echo "$ac_try_echo"; } >&5
3967 (eval "$ac_link_default") 2>&5
3969 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3970 test $ac_status = 0; }; then :
3971 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
3972 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
3973 # in a Makefile. We should not override ac_cv_exeext if it was cached,
3974 # so that the user can short-circuit this test for compilers unknown to
3976 for ac_file
in $ac_files ''
3978 test -f "$ac_file" ||
continue
3980 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg |
*.map |
*.inf |
*.dSYM |
*.o |
*.obj
)
3983 # We found the default executable, but exeext='' is most
3987 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no
;
3989 ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
3991 # We set ac_cv_exeext here because the later test for it is not
3992 # safe: cross compilers may not add the suffix if given an `-o'
3993 # argument, so we may need to know it at that point already.
3994 # Even if this section looks crufty: it has the advantage of
4001 test "$ac_cv_exeext" = no
&& ac_cv_exeext
=
4006 if test -z "$ac_file"; then :
4007 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4008 $as_echo "no" >&6; }
4009 $as_echo "$as_me: failed program was:" >&5
4010 sed 's/^/| /' conftest.
$ac_ext >&5
4012 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4013 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4014 as_fn_error
77 "C compiler cannot create executables
4015 See \`config.log' for more details" "$LINENO" 5; }
4017 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4018 $as_echo "yes" >&6; }
4020 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
4021 $as_echo_n "checking for C compiler default output file name... " >&6; }
4022 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
4023 $as_echo "$ac_file" >&6; }
4024 ac_exeext
=$ac_cv_exeext
4026 rm -f -r a.out a.out.dSYM a.exe conftest
$ac_cv_exeext b.out
4027 ac_clean_files
=$ac_clean_files_save
4028 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
4029 $as_echo_n "checking for suffix of executables... " >&6; }
4030 if { { ac_try
="$ac_link"
4032 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
4033 *) ac_try_echo=$ac_try;;
4035 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4036 $as_echo "$ac_try_echo"; } >&5
4037 (eval "$ac_link") 2>&5
4039 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4040 test $ac_status = 0; }; then :
4041 # If both `conftest.exe
' and `conftest' are
`present' (well, observable)
4042 # catch `conftest.exe
'. For instance with Cygwin, `ls conftest' will
4043 # work properly (i.e., refer to `conftest.exe'), while it won't with
4045 for ac_file
in conftest.exe conftest conftest.
*; do
4046 test -f "$ac_file" ||
continue
4048 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg |
*.map |
*.inf |
*.dSYM |
*.o |
*.obj
) ;;
4049 *.
* ) ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
4055 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4056 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4057 as_fn_error $?
"cannot compute suffix of executables: cannot compile and link
4058 See \`config.log' for more details" "$LINENO" 5; }
4060 rm -f conftest conftest
$ac_cv_exeext
4061 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
4062 $as_echo "$ac_cv_exeext" >&6; }
4064 rm -f conftest.
$ac_ext
4065 EXEEXT
=$ac_cv_exeext
4067 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4068 /* end confdefs.h. */
4073 FILE *f = fopen ("conftest.out", "w");
4074 return ferror (f) || fclose (f) != 0;
4080 ac_clean_files
="$ac_clean_files conftest.out"
4081 # Check that the compiler produces executables we can run. If not, either
4082 # the compiler is broken, or we cross compile.
4083 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
4084 $as_echo_n "checking whether we are cross compiling... " >&6; }
4085 if test "$cross_compiling" != yes; then
4086 { { ac_try
="$ac_link"
4088 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
4089 *) ac_try_echo=$ac_try;;
4091 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4092 $as_echo "$ac_try_echo"; } >&5
4093 (eval "$ac_link") 2>&5
4095 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4096 test $ac_status = 0; }
4097 if { ac_try='./conftest$ac_cv_exeext'
4098 { { case "(($ac_try" in
4099 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
4100 *) ac_try_echo
=$ac_try;;
4102 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4103 $as_echo "$ac_try_echo"; } >&5
4104 (eval "$ac_try") 2>&5
4106 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4107 test $ac_status = 0; }; }; then
4110 if test "$cross_compiling" = maybe
; then
4113 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4114 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4115 as_fn_error $?
"cannot run C compiled programs.
4116 If you meant to cross compile, use \`--host'.
4117 See \`config.log' for more details" "$LINENO" 5; }
4121 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
4122 $as_echo "$cross_compiling" >&6; }
4124 rm -f conftest.
$ac_ext conftest
$ac_cv_exeext conftest.out
4125 ac_clean_files
=$ac_clean_files_save
4126 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
4127 $as_echo_n "checking for suffix of object files... " >&6; }
4128 if ${ac_cv_objext+:} false
; then :
4129 $as_echo_n "(cached) " >&6
4131 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4132 /* end confdefs.h. */
4142 rm -f conftest.o conftest.obj
4143 if { { ac_try
="$ac_compile"
4145 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
4146 *) ac_try_echo=$ac_try;;
4148 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4149 $as_echo "$ac_try_echo"; } >&5
4150 (eval "$ac_compile") 2>&5
4152 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4153 test $ac_status = 0; }; then :
4154 for ac_file in conftest.o conftest.obj conftest.*; do
4155 test -f "$ac_file" || continue;
4157 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
4158 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
4163 $as_echo "$as_me: failed program was:" >&5
4164 sed 's/^/| /' conftest.$ac_ext >&5
4166 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4167 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4168 as_fn_error $? "cannot compute suffix of object files
: cannot compile
4169 See \
`config.log' for more details" "$LINENO" 5; }
4171 rm -f conftest.$ac_cv_objext conftest.$ac_ext
4173 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
4174 $as_echo "$ac_cv_objext" >&6; }
4175 OBJEXT=$ac_cv_objext
4177 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
4178 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
4179 if ${ac_cv_c_compiler_gnu+:} false; then :
4180 $as_echo_n "(cached) " >&6
4182 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4183 /* end confdefs.h. */
4196 if ac_fn_c_try_compile "$LINENO"; then :
4201 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4202 ac_cv_c_compiler_gnu=$ac_compiler_gnu
4205 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
4206 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
4207 if test $ac_compiler_gnu = yes; then
4212 ac_test_CFLAGS=${CFLAGS+set}
4213 ac_save_CFLAGS=$CFLAGS
4214 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
4215 $as_echo_n "checking whether $CC accepts -g... " >&6; }
4216 if ${ac_cv_prog_cc_g+:} false; then :
4217 $as_echo_n "(cached) " >&6
4219 ac_save_c_werror_flag=$ac_c_werror_flag
4220 ac_c_werror_flag=yes
4223 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4224 /* end confdefs.h. */
4234 if ac_fn_c_try_compile "$LINENO"; then :
4238 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4239 /* end confdefs.h. */
4249 if ac_fn_c_try_compile "$LINENO"; then :
4252 ac_c_werror_flag=$ac_save_c_werror_flag
4254 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4255 /* end confdefs.h. */
4265 if ac_fn_c_try_compile "$LINENO"; then :
4268 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4270 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4272 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4273 ac_c_werror_flag=$ac_save_c_werror_flag
4275 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
4276 $as_echo "$ac_cv_prog_cc_g" >&6; }
4277 if test "$ac_test_CFLAGS" = set; then
4278 CFLAGS=$ac_save_CFLAGS
4279 elif test $ac_cv_prog_cc_g = yes; then
4280 if test "$GCC" = yes; then
4286 if test "$GCC" = yes; then
4292 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
4293 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
4294 if ${ac_cv_prog_cc_c89+:} false; then :
4295 $as_echo_n "(cached) " >&6
4297 ac_cv_prog_cc_c89=no
4299 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4300 /* end confdefs.h. */
4304 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
4305 struct buf { int x; };
4306 FILE * (*rcsopen) (struct buf *, struct stat *, int);
4307 static char *e (p, i)
4313 static char *f (char * (*g) (char **, int), char **p, ...)
4318 s = g (p, va_arg (v,int));
4323 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
4324 function prototypes and stuff, but not '\xHH' hex character constants.
4325 These don't provoke an error unfortunately, instead are silently treated
4326 as 'x'. The following induces an error, until -std is added to get
4327 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
4328 array size at least. It's necessary to write '\x00'==0 to get something
4329 that's true only with -std. */
4330 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
4332 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
4333 inside strings and character constants. */
4335 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
4337 int test (int i, double x);
4338 struct s1 {int (*f) (int a);};
4339 struct s2 {int (*f) (double a);};
4340 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
4346 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
4351 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
4352 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
4354 CC="$ac_save_CC $ac_arg"
4355 if ac_fn_c_try_compile "$LINENO"; then :
4356 ac_cv_prog_cc_c89=$ac_arg
4358 rm -f core conftest.err conftest.$ac_objext
4359 test "x$ac_cv_prog_cc_c89" != "xno" && break
4361 rm -f conftest.$ac_ext
4366 case "x$ac_cv_prog_cc_c89" in
4368 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
4369 $as_echo "none needed" >&6; } ;;
4371 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
4372 $as_echo "unsupported" >&6; } ;;
4374 CC="$CC $ac_cv_prog_cc_c89"
4375 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
4376 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
4378 if test "x$ac_cv_prog_cc_c89" != xno; then :
4383 ac_cpp='$CPP $CPPFLAGS'
4384 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4385 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4386 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4389 ac_cpp='$CXXCPP $CPPFLAGS'
4390 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4391 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4392 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
4393 if test -z "$CXX"; then
4394 if test -n "$CCC"; then
4397 if test -n "$ac_tool_prefix"; then
4398 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
4400 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
4401 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
4402 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4403 $as_echo_n "checking for $ac_word... " >&6; }
4404 if ${ac_cv_prog_CXX+:} false; then :
4405 $as_echo_n "(cached) " >&6
4407 if test -n "$CXX"; then
4408 ac_cv_prog_CXX="$CXX" # Let the user override the test.
4410 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4414 test -z "$as_dir" && as_dir=.
4415 for ac_exec_ext in '' $ac_executable_extensions; do
4416 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4417 ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"
4418 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4428 if test -n "$CXX"; then
4429 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXX" >&5
4430 $as_echo "$CXX" >&6; }
4432 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4433 $as_echo "no" >&6; }
4437 test -n "$CXX" && break
4440 if test -z "$CXX"; then
4442 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
4444 # Extract the first word of "$ac_prog", so it can be a program name with args.
4445 set dummy $ac_prog; ac_word=$2
4446 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4447 $as_echo_n "checking for $ac_word... " >&6; }
4448 if ${ac_cv_prog_ac_ct_CXX+:} false; then :
4449 $as_echo_n "(cached) " >&6
4451 if test -n "$ac_ct_CXX"; then
4452 ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
4454 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4458 test -z "$as_dir" && as_dir=.
4459 for ac_exec_ext in '' $ac_executable_extensions; do
4460 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4461 ac_cv_prog_ac_ct_CXX="$ac_prog"
4462 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4471 ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
4472 if test -n "$ac_ct_CXX"; then
4473 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CXX" >&5
4474 $as_echo "$ac_ct_CXX" >&6; }
4476 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4477 $as_echo "no" >&6; }
4481 test -n "$ac_ct_CXX" && break
4484 if test "x$ac_ct_CXX" = x; then
4487 case $cross_compiling:$ac_tool_warned in
4489 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4490 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4491 ac_tool_warned=yes ;;
4499 # Provide some information about the compiler.
4500 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C++ compiler version" >&5
4503 for ac_option in --version -v -V -qversion; do
4504 { { ac_try="$ac_compiler $ac_option >&5"
4506 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
4507 *) ac_try_echo
=$ac_try;;
4509 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4510 $as_echo "$ac_try_echo"; } >&5
4511 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
4513 if test -s conftest.err
; then
4515 ... rest of stderr output deleted ...
4516 10q' conftest.err
>conftest.er1
4517 cat conftest.er1
>&5
4519 rm -f conftest.er1 conftest.err
4520 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4521 test $ac_status = 0; }
4524 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C++ compiler" >&5
4525 $as_echo_n "checking whether we are using the GNU C++ compiler... " >&6; }
4526 if ${ac_cv_cxx_compiler_gnu+:} false
; then :
4527 $as_echo_n "(cached) " >&6
4529 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4530 /* end confdefs.h. */
4543 if ac_fn_cxx_try_compile
"$LINENO"; then :
4548 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
4549 ac_cv_cxx_compiler_gnu
=$ac_compiler_gnu
4552 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cxx_compiler_gnu" >&5
4553 $as_echo "$ac_cv_cxx_compiler_gnu" >&6; }
4554 if test $ac_compiler_gnu = yes; then
4559 ac_test_CXXFLAGS
=${CXXFLAGS+set}
4560 ac_save_CXXFLAGS
=$CXXFLAGS
4561 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CXX accepts -g" >&5
4562 $as_echo_n "checking whether $CXX accepts -g... " >&6; }
4563 if ${ac_cv_prog_cxx_g+:} false
; then :
4564 $as_echo_n "(cached) " >&6
4566 ac_save_cxx_werror_flag
=$ac_cxx_werror_flag
4567 ac_cxx_werror_flag
=yes
4570 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4571 /* end confdefs.h. */
4581 if ac_fn_cxx_try_compile
"$LINENO"; then :
4582 ac_cv_prog_cxx_g
=yes
4585 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4586 /* end confdefs.h. */
4596 if ac_fn_cxx_try_compile
"$LINENO"; then :
4599 ac_cxx_werror_flag
=$ac_save_cxx_werror_flag
4601 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4602 /* end confdefs.h. */
4612 if ac_fn_cxx_try_compile
"$LINENO"; then :
4613 ac_cv_prog_cxx_g
=yes
4615 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
4617 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
4619 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
4620 ac_cxx_werror_flag
=$ac_save_cxx_werror_flag
4622 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cxx_g" >&5
4623 $as_echo "$ac_cv_prog_cxx_g" >&6; }
4624 if test "$ac_test_CXXFLAGS" = set; then
4625 CXXFLAGS
=$ac_save_CXXFLAGS
4626 elif test $ac_cv_prog_cxx_g = yes; then
4627 if test "$GXX" = yes; then
4633 if test "$GXX" = yes; then
4640 ac_cpp
='$CPP $CPPFLAGS'
4641 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4642 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4643 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
4645 if test -n "$ac_tool_prefix"; then
4646 # Extract the first word of "${ac_tool_prefix}cpp", so it can be a program name with args.
4647 set dummy
${ac_tool_prefix}cpp
; ac_word
=$2
4648 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4649 $as_echo_n "checking for $ac_word... " >&6; }
4650 if ${ac_cv_prog_CPPBIN+:} false
; then :
4651 $as_echo_n "(cached) " >&6
4653 if test -n "$CPPBIN"; then
4654 ac_cv_prog_CPPBIN
="$CPPBIN" # Let the user override the test.
4656 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4660 test -z "$as_dir" && as_dir
=.
4661 for ac_exec_ext
in '' $ac_executable_extensions; do
4662 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
4663 ac_cv_prog_CPPBIN
="${ac_tool_prefix}cpp"
4664 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4673 CPPBIN
=$ac_cv_prog_CPPBIN
4674 if test -n "$CPPBIN"; then
4675 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPPBIN" >&5
4676 $as_echo "$CPPBIN" >&6; }
4678 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4679 $as_echo "no" >&6; }
4684 if test -z "$ac_cv_prog_CPPBIN"; then
4685 ac_ct_CPPBIN
=$CPPBIN
4686 # Extract the first word of "cpp", so it can be a program name with args.
4687 set dummy cpp
; ac_word
=$2
4688 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4689 $as_echo_n "checking for $ac_word... " >&6; }
4690 if ${ac_cv_prog_ac_ct_CPPBIN+:} false
; then :
4691 $as_echo_n "(cached) " >&6
4693 if test -n "$ac_ct_CPPBIN"; then
4694 ac_cv_prog_ac_ct_CPPBIN
="$ac_ct_CPPBIN" # Let the user override the test.
4696 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4700 test -z "$as_dir" && as_dir
=.
4701 for ac_exec_ext
in '' $ac_executable_extensions; do
4702 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
4703 ac_cv_prog_ac_ct_CPPBIN
="cpp"
4704 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4713 ac_ct_CPPBIN
=$ac_cv_prog_ac_ct_CPPBIN
4714 if test -n "$ac_ct_CPPBIN"; then
4715 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CPPBIN" >&5
4716 $as_echo "$ac_ct_CPPBIN" >&6; }
4718 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4719 $as_echo "no" >&6; }
4722 if test "x$ac_ct_CPPBIN" = x
; then
4725 case $cross_compiling:$ac_tool_warned in
4727 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4728 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4729 ac_tool_warned
=yes ;;
4731 CPPBIN
=$ac_ct_CPPBIN
4734 CPPBIN
="$ac_cv_prog_CPPBIN"
4738 cat >>confdefs.h
<<_ACEOF
4739 #define EXEEXT "$ac_exeext"
4742 if test -n "$ac_tool_prefix"; then
4743 # Extract the first word of "${ac_tool_prefix}ld", so it can be a program name with args.
4744 set dummy
${ac_tool_prefix}ld
; ac_word
=$2
4745 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4746 $as_echo_n "checking for $ac_word... " >&6; }
4747 if ${ac_cv_prog_LD+:} false
; then :
4748 $as_echo_n "(cached) " >&6
4750 if test -n "$LD"; then
4751 ac_cv_prog_LD
="$LD" # Let the user override the test.
4753 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4757 test -z "$as_dir" && as_dir
=.
4758 for ac_exec_ext
in '' $ac_executable_extensions; do
4759 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
4760 ac_cv_prog_LD
="${ac_tool_prefix}ld"
4761 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4771 if test -n "$LD"; then
4772 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
4773 $as_echo "$LD" >&6; }
4775 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4776 $as_echo "no" >&6; }
4781 if test -z "$ac_cv_prog_LD"; then
4783 # Extract the first word of "ld", so it can be a program name with args.
4784 set dummy ld
; ac_word
=$2
4785 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4786 $as_echo_n "checking for $ac_word... " >&6; }
4787 if ${ac_cv_prog_ac_ct_LD+:} false
; then :
4788 $as_echo_n "(cached) " >&6
4790 if test -n "$ac_ct_LD"; then
4791 ac_cv_prog_ac_ct_LD
="$ac_ct_LD" # Let the user override the test.
4793 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4797 test -z "$as_dir" && as_dir
=.
4798 for ac_exec_ext
in '' $ac_executable_extensions; do
4799 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
4800 ac_cv_prog_ac_ct_LD
="ld"
4801 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4810 ac_ct_LD
=$ac_cv_prog_ac_ct_LD
4811 if test -n "$ac_ct_LD"; then
4812 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_LD" >&5
4813 $as_echo "$ac_ct_LD" >&6; }
4815 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4816 $as_echo "no" >&6; }
4819 if test "x$ac_ct_LD" = x
; then
4822 case $cross_compiling:$ac_tool_warned in
4824 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4825 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4826 ac_tool_warned
=yes ;;
4837 if test "x$enable_win64" = "xyes"
4842 notice_platform
="64-bit "
4849 notice_platform
="32-bit "
4852 enable_win16
=${enable_win16:-yes}
4854 with_fontconfig
=${with_fontconfig:-no}
4857 if test "x$enable_win64" != "xyes" -a "$cross_compiling" != "yes"
4861 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC works" >&5
4862 $as_echo_n "checking whether $CC works... " >&6; }
4864 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4865 /* end confdefs.h. */
4875 if ac_fn_c_try_link
"$LINENO"; then :
4876 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4877 $as_echo "yes" >&6; }
4879 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4880 $as_echo "no" >&6; }
4881 as_fn_error $?
"Cannot build a 32-bit program, you need to install 32-bit development libraries." "$LINENO" 5
4883 rm -f core conftest.err conftest.
$ac_objext \
4884 conftest
$ac_exeext conftest.
$ac_ext
4886 notice_platform
="32-bit "
4889 enable_win16
=${enable_win16:-yes}
4891 if test "x${GCC}" = "xyes"
4893 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC supports __builtin_ms_va_list" >&5
4894 $as_echo_n "checking whether $CC supports __builtin_ms_va_list... " >&6; }
4895 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4896 /* end confdefs.h. */
4901 void func(__builtin_ms_va_list *args);
4906 if ac_fn_c_try_compile
"$LINENO"; then :
4907 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4908 $as_echo "yes" >&6; }
4910 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4911 $as_echo "no" >&6; }
4912 as_fn_error $?
"You need gcc >= 4.4 to build Wine as 64-bit." "$LINENO" 5
4914 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
4921 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC supports Thumb" >&5
4922 $as_echo_n "checking whether $CC supports Thumb... " >&6; }
4923 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4924 /* end confdefs.h. */
4925 int ac_test(int i) { return i; }
4929 asm(".thumb\nblx ac_test\n.arm"); if (ac_test(1)) return 1
4934 if ac_fn_c_try_link
"$LINENO"; then :
4935 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4936 $as_echo "yes" >&6; }
4938 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4939 $as_echo "no" >&6; }
4940 as_fn_error $?
"You need a target with Thumb support to build Wine for ARM." "$LINENO" 5
4942 rm -f core conftest.err conftest.
$ac_objext \
4943 conftest
$ac_exeext conftest.
$ac_ext
4944 CFLAGS
="$CFLAGS -marm"
4948 *-mingw32*|
*-cygwin*)
4949 enable_win16
=${enable_win16:-no}
4950 CFLAGS
="$CFLAGS -D_WIN32"
4953 enable_win16
=${enable_win16:-yes}
4957 enable_win16
=${enable_win16:-no}
4958 enable_win64
=${enable_win64:-no}
4960 enable_winetest
=${enable_winetest:-$enable_tests}
4962 if test -n "$with_wine64"
4964 if test "x$enable_win64" = "xyes"
4966 as_fn_error $?
"--enable-win64 and --with-wine64 are mutually exclusive.
4967 --enable-win64 should be used in the 64-bit build tree, --with-wine64 in the 32-bit Wow64 build tree." "$LINENO" 5
4969 enable_fonts
=${enable_fonts:-no}
4970 enable_server
=${enable_server:-no}
4971 elif test "x$enable_win64" = "xyes"
4973 test "x$libdir" != "x\${exec_prefix}/lib" || libdir
="\${exec_prefix}/lib64"
4976 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for the directory containing the Wine tools" >&5
4977 $as_echo_n "checking for the directory containing the Wine tools... " >&6; }
4978 if ${wine_cv_toolsdir+:} false
; then :
4979 $as_echo_n "(cached) " >&6
4981 wine_cv_toolsdir
="$with_wine_tools"
4982 if test -z "$with_wine_tools"; then
4983 if test "$cross_compiling" = "yes"; then
4984 as_fn_error $?
"you must use the --with-wine-tools option when cross-compiling." "$LINENO" 5
4985 elif test -n "$with_wine64"; then
4986 wine_cv_toolsdir
="$with_wine64"
4989 if test -z "$wine_cv_toolsdir"; then
4990 wine_makedep
=tools
/makedep
4991 wine_cv_toolsdir
="\$(top_builddir)"
4992 elif test -d "$wine_cv_toolsdir/tools/winebuild"; then
4993 wine_makedep
=$wine_cv_toolsdir/tools
/makedep
4994 case "$wine_cv_toolsdir" in
4996 *) wine_cv_toolsdir
="\$(top_builddir)/$wine_cv_toolsdir" ;;
4998 enable_tools
=${enable_tools:-no}
4999 test -f "$wine_makedep" || as_fn_error $?
"the Wine tools have not yet been built in $wine_cv_toolsdir" "$LINENO" 5
5001 as_fn_error $?
"could not find Wine tools in $wine_cv_toolsdir" "$LINENO" 5
5004 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_toolsdir" >&5
5005 $as_echo "$wine_cv_toolsdir" >&6; }
5006 TOOLSDIR
=$wine_cv_toolsdir
5008 if test -n "$host_alias" -a "$host_alias" != "$build_alias"
5010 TARGETFLAGS
="-b $host_alias $TARGETFLAGS"
5016 # Extract the first word of "$ac_prog", so it can be a program name with args.
5017 set dummy
$ac_prog; ac_word
=$2
5018 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5019 $as_echo_n "checking for $ac_word... " >&6; }
5020 if ${ac_cv_prog_FLEX+:} false
; then :
5021 $as_echo_n "(cached) " >&6
5023 if test -n "$FLEX"; then
5024 ac_cv_prog_FLEX
="$FLEX" # Let the user override the test.
5026 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5030 test -z "$as_dir" && as_dir
=.
5031 for ac_exec_ext
in '' $ac_executable_extensions; do
5032 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
5033 ac_cv_prog_FLEX
="$ac_prog"
5034 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5043 FLEX
=$ac_cv_prog_FLEX
5044 if test -n "$FLEX"; then
5045 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $FLEX" >&5
5046 $as_echo "$FLEX" >&6; }
5048 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5049 $as_echo "no" >&6; }
5053 test -n "$FLEX" && break
5055 test -n "$FLEX" || FLEX
="none"
5057 if test "$FLEX" = "none"
5059 as_fn_error $?
"no suitable flex found. Please install the 'flex' package." "$LINENO" 5
5061 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether flex is recent enough" >&5
5062 $as_echo_n "checking whether flex is recent enough... " >&6; }
5063 cat >conftest.l
<<EOF
5065 #include "prediluvian.h"
5069 if $FLEX -t conftest.l
>/dev
/null
2>&5
5071 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5072 $as_echo "yes" >&6; }
5074 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5075 $as_echo "no" >&6; }
5076 as_fn_error $?
"Your flex version is too old. Please install flex version 2.5.33 or newer." "$LINENO" 5
5079 for ac_prog
in bison
5081 # Extract the first word of "$ac_prog", so it can be a program name with args.
5082 set dummy
$ac_prog; ac_word
=$2
5083 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5084 $as_echo_n "checking for $ac_word... " >&6; }
5085 if ${ac_cv_prog_BISON+:} false
; then :
5086 $as_echo_n "(cached) " >&6
5088 if test -n "$BISON"; then
5089 ac_cv_prog_BISON
="$BISON" # Let the user override the test.
5091 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5095 test -z "$as_dir" && as_dir
=.
5096 for ac_exec_ext
in '' $ac_executable_extensions; do
5097 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
5098 ac_cv_prog_BISON
="$ac_prog"
5099 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5108 BISON
=$ac_cv_prog_BISON
5109 if test -n "$BISON"; then
5110 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $BISON" >&5
5111 $as_echo "$BISON" >&6; }
5113 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5114 $as_echo "no" >&6; }
5118 test -n "$BISON" && break
5120 test -n "$BISON" || BISON
="none"
5122 if test "$BISON" = "none"
5124 as_fn_error $?
"no suitable bison found. Please install the 'bison' package." "$LINENO" 5
5127 if test -n "$ac_tool_prefix"; then
5128 for ac_prog
in ar gar
5130 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
5131 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
5132 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5133 $as_echo_n "checking for $ac_word... " >&6; }
5134 if ${ac_cv_prog_AR+:} false
; then :
5135 $as_echo_n "(cached) " >&6
5137 if test -n "$AR"; then
5138 ac_cv_prog_AR
="$AR" # Let the user override the test.
5140 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5144 test -z "$as_dir" && as_dir
=.
5145 for ac_exec_ext
in '' $ac_executable_extensions; do
5146 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
5147 ac_cv_prog_AR
="$ac_tool_prefix$ac_prog"
5148 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5158 if test -n "$AR"; then
5159 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
5160 $as_echo "$AR" >&6; }
5162 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5163 $as_echo "no" >&6; }
5167 test -n "$AR" && break
5170 if test -z "$AR"; then
5172 for ac_prog
in ar gar
5174 # Extract the first word of "$ac_prog", so it can be a program name with args.
5175 set dummy
$ac_prog; ac_word
=$2
5176 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5177 $as_echo_n "checking for $ac_word... " >&6; }
5178 if ${ac_cv_prog_ac_ct_AR+:} false
; then :
5179 $as_echo_n "(cached) " >&6
5181 if test -n "$ac_ct_AR"; then
5182 ac_cv_prog_ac_ct_AR
="$ac_ct_AR" # Let the user override the test.
5184 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5188 test -z "$as_dir" && as_dir
=.
5189 for ac_exec_ext
in '' $ac_executable_extensions; do
5190 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
5191 ac_cv_prog_ac_ct_AR
="$ac_prog"
5192 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5201 ac_ct_AR
=$ac_cv_prog_ac_ct_AR
5202 if test -n "$ac_ct_AR"; then
5203 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5
5204 $as_echo "$ac_ct_AR" >&6; }
5206 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5207 $as_echo "no" >&6; }
5211 test -n "$ac_ct_AR" && break
5214 if test "x$ac_ct_AR" = x
; then
5217 case $cross_compiling:$ac_tool_warned in
5219 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5220 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5221 ac_tool_warned
=yes ;;
5227 if test -n "$ac_tool_prefix"; then
5228 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
5229 set dummy
${ac_tool_prefix}strip
; ac_word
=$2
5230 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5231 $as_echo_n "checking for $ac_word... " >&6; }
5232 if ${ac_cv_prog_STRIP+:} false
; then :
5233 $as_echo_n "(cached) " >&6
5235 if test -n "$STRIP"; then
5236 ac_cv_prog_STRIP
="$STRIP" # Let the user override the test.
5238 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5242 test -z "$as_dir" && as_dir
=.
5243 for ac_exec_ext
in '' $ac_executable_extensions; do
5244 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
5245 ac_cv_prog_STRIP
="${ac_tool_prefix}strip"
5246 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5255 STRIP
=$ac_cv_prog_STRIP
5256 if test -n "$STRIP"; then
5257 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
5258 $as_echo "$STRIP" >&6; }
5260 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5261 $as_echo "no" >&6; }
5266 if test -z "$ac_cv_prog_STRIP"; then
5268 # Extract the first word of "strip", so it can be a program name with args.
5269 set dummy strip
; ac_word
=$2
5270 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5271 $as_echo_n "checking for $ac_word... " >&6; }
5272 if ${ac_cv_prog_ac_ct_STRIP+:} false
; then :
5273 $as_echo_n "(cached) " >&6
5275 if test -n "$ac_ct_STRIP"; then
5276 ac_cv_prog_ac_ct_STRIP
="$ac_ct_STRIP" # Let the user override the test.
5278 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5282 test -z "$as_dir" && as_dir
=.
5283 for ac_exec_ext
in '' $ac_executable_extensions; do
5284 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
5285 ac_cv_prog_ac_ct_STRIP
="strip"
5286 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5295 ac_ct_STRIP
=$ac_cv_prog_ac_ct_STRIP
5296 if test -n "$ac_ct_STRIP"; then
5297 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
5298 $as_echo "$ac_ct_STRIP" >&6; }
5300 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5301 $as_echo "no" >&6; }
5304 if test "x$ac_ct_STRIP" = x
; then
5307 case $cross_compiling:$ac_tool_warned in
5309 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5310 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5311 ac_tool_warned
=yes ;;
5316 STRIP
="$ac_cv_prog_STRIP"
5321 if test -n "$ac_tool_prefix"; then
5322 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
5323 set dummy
${ac_tool_prefix}ranlib
; ac_word
=$2
5324 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5325 $as_echo_n "checking for $ac_word... " >&6; }
5326 if ${ac_cv_prog_RANLIB+:} false
; then :
5327 $as_echo_n "(cached) " >&6
5329 if test -n "$RANLIB"; then
5330 ac_cv_prog_RANLIB
="$RANLIB" # Let the user override the test.
5332 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5336 test -z "$as_dir" && as_dir
=.
5337 for ac_exec_ext
in '' $ac_executable_extensions; do
5338 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
5339 ac_cv_prog_RANLIB
="${ac_tool_prefix}ranlib"
5340 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5349 RANLIB
=$ac_cv_prog_RANLIB
5350 if test -n "$RANLIB"; then
5351 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
5352 $as_echo "$RANLIB" >&6; }
5354 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5355 $as_echo "no" >&6; }
5360 if test -z "$ac_cv_prog_RANLIB"; then
5361 ac_ct_RANLIB
=$RANLIB
5362 # Extract the first word of "ranlib", so it can be a program name with args.
5363 set dummy ranlib
; ac_word
=$2
5364 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5365 $as_echo_n "checking for $ac_word... " >&6; }
5366 if ${ac_cv_prog_ac_ct_RANLIB+:} false
; then :
5367 $as_echo_n "(cached) " >&6
5369 if test -n "$ac_ct_RANLIB"; then
5370 ac_cv_prog_ac_ct_RANLIB
="$ac_ct_RANLIB" # Let the user override the test.
5372 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5376 test -z "$as_dir" && as_dir
=.
5377 for ac_exec_ext
in '' $ac_executable_extensions; do
5378 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
5379 ac_cv_prog_ac_ct_RANLIB
="ranlib"
5380 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5389 ac_ct_RANLIB
=$ac_cv_prog_ac_ct_RANLIB
5390 if test -n "$ac_ct_RANLIB"; then
5391 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
5392 $as_echo "$ac_ct_RANLIB" >&6; }
5394 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5395 $as_echo "no" >&6; }
5398 if test "x$ac_ct_RANLIB" = x
; then
5401 case $cross_compiling:$ac_tool_warned in
5403 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5404 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5405 ac_tool_warned
=yes ;;
5407 RANLIB
=$ac_ct_RANLIB
5410 RANLIB
="$ac_cv_prog_RANLIB"
5413 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5
5414 $as_echo_n "checking whether ln -s works... " >&6; }
5416 if test "$LN_S" = "ln -s"; then
5417 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5418 $as_echo "yes" >&6; }
5420 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5
5421 $as_echo "no, using $LN_S" >&6; }
5424 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
5425 $as_echo_n "checking for grep that handles long lines and -e... " >&6; }
5426 if ${ac_cv_path_GREP+:} false
; then :
5427 $as_echo_n "(cached) " >&6
5429 if test -z "$GREP"; then
5430 ac_path_GREP_found
=false
5431 # Loop through the user's path and test for each of PROGNAME-LIST
5432 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5433 for as_dir
in $PATH$PATH_SEPARATOR/usr
/xpg
4/bin
5436 test -z "$as_dir" && as_dir
=.
5437 for ac_prog
in grep ggrep
; do
5438 for ac_exec_ext
in '' $ac_executable_extensions; do
5439 ac_path_GREP
="$as_dir/$ac_prog$ac_exec_ext"
5440 as_fn_executable_p
"$ac_path_GREP" ||
continue
5441 # Check for GNU ac_path_GREP and select it if it is found.
5442 # Check for GNU $ac_path_GREP
5443 case `"$ac_path_GREP" --version 2>&1` in
5445 ac_cv_path_GREP
="$ac_path_GREP" ac_path_GREP_found
=:;;
5448 $as_echo_n 0123456789 >"conftest.in"
5451 cat "conftest.in" "conftest.in" >"conftest.tmp"
5452 mv "conftest.tmp" "conftest.in"
5453 cp "conftest.in" "conftest.nl"
5454 $as_echo 'GREP' >> "conftest.nl"
5455 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev
/null ||
break
5456 diff "conftest.out" "conftest.nl" >/dev
/null
2>&1 ||
break
5457 as_fn_arith
$ac_count + 1 && ac_count
=$as_val
5458 if test $ac_count -gt ${ac_path_GREP_max-0}; then
5459 # Best one so far, save it but keep looking for a better one
5460 ac_cv_path_GREP
="$ac_path_GREP"
5461 ac_path_GREP_max
=$ac_count
5463 # 10*(2^10) chars as input seems more than enough
5464 test $ac_count -gt 10 && break
5466 rm -f conftest.
in conftest.tmp conftest.
nl conftest.out
;;
5469 $ac_path_GREP_found && break 3
5474 if test -z "$ac_cv_path_GREP"; then
5475 as_fn_error $?
"no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
5478 ac_cv_path_GREP
=$GREP
5482 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
5483 $as_echo "$ac_cv_path_GREP" >&6; }
5484 GREP
="$ac_cv_path_GREP"
5487 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
5488 $as_echo_n "checking for egrep... " >&6; }
5489 if ${ac_cv_path_EGREP+:} false
; then :
5490 $as_echo_n "(cached) " >&6
5492 if echo a |
$GREP -E '(a|b)' >/dev
/null
2>&1
5493 then ac_cv_path_EGREP
="$GREP -E"
5495 if test -z "$EGREP"; then
5496 ac_path_EGREP_found
=false
5497 # Loop through the user's path and test for each of PROGNAME-LIST
5498 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5499 for as_dir
in $PATH$PATH_SEPARATOR/usr
/xpg
4/bin
5502 test -z "$as_dir" && as_dir
=.
5503 for ac_prog
in egrep; do
5504 for ac_exec_ext
in '' $ac_executable_extensions; do
5505 ac_path_EGREP
="$as_dir/$ac_prog$ac_exec_ext"
5506 as_fn_executable_p
"$ac_path_EGREP" ||
continue
5507 # Check for GNU ac_path_EGREP and select it if it is found.
5508 # Check for GNU $ac_path_EGREP
5509 case `"$ac_path_EGREP" --version 2>&1` in
5511 ac_cv_path_EGREP
="$ac_path_EGREP" ac_path_EGREP_found
=:;;
5514 $as_echo_n 0123456789 >"conftest.in"
5517 cat "conftest.in" "conftest.in" >"conftest.tmp"
5518 mv "conftest.tmp" "conftest.in"
5519 cp "conftest.in" "conftest.nl"
5520 $as_echo 'EGREP' >> "conftest.nl"
5521 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev
/null ||
break
5522 diff "conftest.out" "conftest.nl" >/dev
/null
2>&1 ||
break
5523 as_fn_arith
$ac_count + 1 && ac_count
=$as_val
5524 if test $ac_count -gt ${ac_path_EGREP_max-0}; then
5525 # Best one so far, save it but keep looking for a better one
5526 ac_cv_path_EGREP
="$ac_path_EGREP"
5527 ac_path_EGREP_max
=$ac_count
5529 # 10*(2^10) chars as input seems more than enough
5530 test $ac_count -gt 10 && break
5532 rm -f conftest.
in conftest.tmp conftest.
nl conftest.out
;;
5535 $ac_path_EGREP_found && break 3
5540 if test -z "$ac_cv_path_EGREP"; then
5541 as_fn_error $?
"no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
5544 ac_cv_path_EGREP
=$EGREP
5549 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
5550 $as_echo "$ac_cv_path_EGREP" >&6; }
5551 EGREP
="$ac_cv_path_EGREP"
5554 # Extract the first word of "ldconfig", so it can be a program name with args.
5555 set dummy ldconfig
; ac_word
=$2
5556 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5557 $as_echo_n "checking for $ac_word... " >&6; }
5558 if ${ac_cv_path_LDCONFIG+:} false
; then :
5559 $as_echo_n "(cached) " >&6
5563 ac_cv_path_LDCONFIG
="$LDCONFIG" # Let the user override the test with a path.
5566 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5567 for as_dir
in /sbin
/usr
/sbin
$PATH
5570 test -z "$as_dir" && as_dir
=.
5571 for ac_exec_ext
in '' $ac_executable_extensions; do
5572 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
5573 ac_cv_path_LDCONFIG
="$as_dir/$ac_word$ac_exec_ext"
5574 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5581 test -z "$ac_cv_path_LDCONFIG" && ac_cv_path_LDCONFIG
="true"
5585 LDCONFIG
=$ac_cv_path_LDCONFIG
5586 if test -n "$LDCONFIG"; then
5587 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LDCONFIG" >&5
5588 $as_echo "$LDCONFIG" >&6; }
5590 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5591 $as_echo "no" >&6; }
5595 for ac_prog
in msgfmt
5597 # Extract the first word of "$ac_prog", so it can be a program name with args.
5598 set dummy
$ac_prog; ac_word
=$2
5599 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5600 $as_echo_n "checking for $ac_word... " >&6; }
5601 if ${ac_cv_prog_MSGFMT+:} false
; then :
5602 $as_echo_n "(cached) " >&6
5604 if test -n "$MSGFMT"; then
5605 ac_cv_prog_MSGFMT
="$MSGFMT" # Let the user override the test.
5607 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5611 test -z "$as_dir" && as_dir
=.
5612 for ac_exec_ext
in '' $ac_executable_extensions; do
5613 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
5614 ac_cv_prog_MSGFMT
="$ac_prog"
5615 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5624 MSGFMT
=$ac_cv_prog_MSGFMT
5625 if test -n "$MSGFMT"; then
5626 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MSGFMT" >&5
5627 $as_echo "$MSGFMT" >&6; }
5629 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5630 $as_echo "no" >&6; }
5634 test -n "$MSGFMT" && break
5636 test -n "$MSGFMT" || MSGFMT
="false"
5638 if ${ac_tool_prefix+:} false
; then :
5639 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
5640 set dummy
${ac_tool_prefix}pkg-config
; ac_word
=$2
5641 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5642 $as_echo_n "checking for $ac_word... " >&6; }
5643 if ${ac_cv_prog_PKG_CONFIG+:} false
; then :
5644 $as_echo_n "(cached) " >&6
5646 if test -n "$PKG_CONFIG"; then
5647 ac_cv_prog_PKG_CONFIG
="$PKG_CONFIG" # Let the user override the test.
5649 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5653 test -z "$as_dir" && as_dir
=.
5654 for ac_exec_ext
in '' $ac_executable_extensions; do
5655 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
5656 ac_cv_prog_PKG_CONFIG
="${ac_tool_prefix}pkg-config"
5657 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5666 PKG_CONFIG
=$ac_cv_prog_PKG_CONFIG
5667 if test -n "$PKG_CONFIG"; then
5668 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
5669 $as_echo "$PKG_CONFIG" >&6; }
5671 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5672 $as_echo "no" >&6; }
5677 if ${ac_cv_prog_PKG_CONFIG:+false} :; then :
5678 if test "x$cross_compiling" = xyes
; then :
5681 { ac_cv_prog_PKG_CONFIG
=; unset ac_cv_prog_PKG_CONFIG
;}
5682 # Extract the first word of "pkg-config", so it can be a program name with args.
5683 set dummy pkg-config
; ac_word
=$2
5684 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5685 $as_echo_n "checking for $ac_word... " >&6; }
5686 if ${ac_cv_prog_PKG_CONFIG+:} false
; then :
5687 $as_echo_n "(cached) " >&6
5689 if test -n "$PKG_CONFIG"; then
5690 ac_cv_prog_PKG_CONFIG
="$PKG_CONFIG" # Let the user override the test.
5692 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5696 test -z "$as_dir" && as_dir
=.
5697 for ac_exec_ext
in '' $ac_executable_extensions; do
5698 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
5699 ac_cv_prog_PKG_CONFIG
="pkg-config"
5700 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5709 PKG_CONFIG
=$ac_cv_prog_PKG_CONFIG
5710 if test -n "$PKG_CONFIG"; then
5711 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
5712 $as_echo "$PKG_CONFIG" >&6; }
5714 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5715 $as_echo "no" >&6; }
5721 PKG_CONFIG
=$ac_cv_prog_PKG_CONFIG
5724 if test "x$enable_maintainer_mode" != "xyes"
5731 test "$srcdir" = . || as_fn_error $?
"Maintainer mode cannot work out of tree." "$LINENO" 5
5732 for ac_prog
in fontforge
5734 # Extract the first word of "$ac_prog", so it can be a program name with args.
5735 set dummy
$ac_prog; ac_word
=$2
5736 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5737 $as_echo_n "checking for $ac_word... " >&6; }
5738 if ${ac_cv_prog_FONTFORGE+:} false
; then :
5739 $as_echo_n "(cached) " >&6
5741 if test -n "$FONTFORGE"; then
5742 ac_cv_prog_FONTFORGE
="$FONTFORGE" # Let the user override the test.
5744 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5748 test -z "$as_dir" && as_dir
=.
5749 for ac_exec_ext
in '' $ac_executable_extensions; do
5750 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
5751 ac_cv_prog_FONTFORGE
="$ac_prog"
5752 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5761 FONTFORGE
=$ac_cv_prog_FONTFORGE
5762 if test -n "$FONTFORGE"; then
5763 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $FONTFORGE" >&5
5764 $as_echo "$FONTFORGE" >&6; }
5766 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5767 $as_echo "no" >&6; }
5771 test -n "$FONTFORGE" && break
5773 test -n "$FONTFORGE" || FONTFORGE
="false"
5775 for ac_prog
in rsvg-convert rsvg
5777 # Extract the first word of "$ac_prog", so it can be a program name with args.
5778 set dummy
$ac_prog; ac_word
=$2
5779 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5780 $as_echo_n "checking for $ac_word... " >&6; }
5781 if ${ac_cv_prog_RSVG+:} false
; then :
5782 $as_echo_n "(cached) " >&6
5784 if test -n "$RSVG"; then
5785 ac_cv_prog_RSVG
="$RSVG" # Let the user override the test.
5787 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5791 test -z "$as_dir" && as_dir
=.
5792 for ac_exec_ext
in '' $ac_executable_extensions; do
5793 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
5794 ac_cv_prog_RSVG
="$ac_prog"
5795 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5804 RSVG
=$ac_cv_prog_RSVG
5805 if test -n "$RSVG"; then
5806 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RSVG" >&5
5807 $as_echo "$RSVG" >&6; }
5809 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5810 $as_echo "no" >&6; }
5814 test -n "$RSVG" && break
5816 test -n "$RSVG" || RSVG
="false"
5818 for ac_prog
in convert
5820 # Extract the first word of "$ac_prog", so it can be a program name with args.
5821 set dummy
$ac_prog; ac_word
=$2
5822 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5823 $as_echo_n "checking for $ac_word... " >&6; }
5824 if ${ac_cv_prog_CONVERT+:} false
; then :
5825 $as_echo_n "(cached) " >&6
5827 if test -n "$CONVERT"; then
5828 ac_cv_prog_CONVERT
="$CONVERT" # Let the user override the test.
5830 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5834 test -z "$as_dir" && as_dir
=.
5835 for ac_exec_ext
in '' $ac_executable_extensions; do
5836 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
5837 ac_cv_prog_CONVERT
="$ac_prog"
5838 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5847 CONVERT
=$ac_cv_prog_CONVERT
5848 if test -n "$CONVERT"; then
5849 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CONVERT" >&5
5850 $as_echo "$CONVERT" >&6; }
5852 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5853 $as_echo "no" >&6; }
5857 test -n "$CONVERT" && break
5859 test -n "$CONVERT" || CONVERT
="false"
5861 for ac_prog
in icotool
5863 # Extract the first word of "$ac_prog", so it can be a program name with args.
5864 set dummy
$ac_prog; ac_word
=$2
5865 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5866 $as_echo_n "checking for $ac_word... " >&6; }
5867 if ${ac_cv_prog_ICOTOOL+:} false
; then :
5868 $as_echo_n "(cached) " >&6
5870 if test -n "$ICOTOOL"; then
5871 ac_cv_prog_ICOTOOL
="$ICOTOOL" # Let the user override the test.
5873 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5877 test -z "$as_dir" && as_dir
=.
5878 for ac_exec_ext
in '' $ac_executable_extensions; do
5879 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
5880 ac_cv_prog_ICOTOOL
="$ac_prog"
5881 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5890 ICOTOOL
=$ac_cv_prog_ICOTOOL
5891 if test -n "$ICOTOOL"; then
5892 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ICOTOOL" >&5
5893 $as_echo "$ICOTOOL" >&6; }
5895 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5896 $as_echo "no" >&6; }
5900 test -n "$ICOTOOL" && break
5902 test -n "$ICOTOOL" || ICOTOOL
="false"
5904 test "$FONTFORGE" != "false" || as_fn_error $?
"You need fontforge to rebuild fonts in maintainer mode." "$LINENO" 5
5905 test "$RSVG" != "false" || as_fn_error $?
"You need rsvg to rebuild icons in maintainer mode." "$LINENO" 5
5907 if test "$CONVERT" = false
5909 as_fn_error $?
"You need imagemagick to rebuild icons in maintainer mode." "$LINENO" 5
5911 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for recent enough imagemagick" >&5
5912 $as_echo_n "checking for recent enough imagemagick... " >&6; }
5913 convert_version
=`convert --version | head -n1`
5914 if test "x$convert_version" != "x"
5916 convert_version_major
=`expr "$convert_version" : '.* \([0-9]*\)\.[0-9]*'`
5917 convert_version_minor
=`expr "$convert_version" : '.* [0-9]*\.\([0-9]*\)'`
5918 if test "$convert_version_major" -eq 6 -a "$convert_version_minor" -lt 6
5923 if test "$CONVERT" = false
5925 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no ($convert_version_major.$convert_version_minor)" >&5
5926 $as_echo "no ($convert_version_major.$convert_version_minor)" >&6; }
5927 as_fn_error $?
"You need imagemagick version 6.6 or newer to rebuild icons in maintainer mode." "$LINENO" 5
5929 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes ($convert_version_major.$convert_version_minor)" >&5
5930 $as_echo "yes ($convert_version_major.$convert_version_minor)" >&6; }
5934 if test "$ICOTOOL" = false
5936 as_fn_error $?
"You need icotool to rebuild icons in maintainer mode." "$LINENO" 5
5938 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for recent enough icotool" >&5
5939 $as_echo_n "checking for recent enough icotool... " >&6; }
5940 icotool_version
=`icotool --version | head -n1`
5941 if test "x$icotool_version" != "x"
5943 icotool_version_major
=`expr "$icotool_version" : '.* \([0-9]*\)\.[0-9]*'`
5944 icotool_version_minor
=`expr "$icotool_version" : '.* [0-9]*\.\([0-9]*\)'`
5945 if test "$icotool_version_major" -eq 0 -a "$icotool_version_minor" -lt 29
5948 as_fn_append wine_warnings
"|icotool version 0.29.0 or newer is needed to rebuild icons."
5951 if test "$ICOTOOL" = false
5953 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no ($icotool_version_major.$icotool_version_minor)" >&5
5954 $as_echo "no ($icotool_version_major.$icotool_version_minor)" >&6; }
5955 as_fn_error $?
"You need icotool version 0.29.0 or newer to rebuild icons in maintainer mode." "$LINENO" 5
5957 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes ($icotool_version_major.$icotool_version_minor)" >&5
5958 $as_echo "yes ($icotool_version_major.$icotool_version_minor)" >&6; }
5964 { ac_cv_header_gettext_po_h
=; unset ac_cv_header_gettext_po_h
;}
5967 test "x$with_gettext" != xno || MSGFMT
=false
5968 if test "$MSGFMT" != "false"
5970 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether msgfmt supports contexts" >&5
5971 $as_echo_n "checking whether msgfmt supports contexts... " >&6; }
5972 cat >conftest.po
<<EOF
5978 if $MSGFMT -o /dev
/null conftest.po
2>&5
5980 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5981 $as_echo "yes" >&6; }
5983 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5984 $as_echo "no" >&6; }
5988 if test "$MSGFMT" = false
; then :
5989 case "x$with_gettext" in
5990 x
) as_fn_append wine_warnings
"|gettext tools not found (or too old), translations won't be built." ;;
5992 *) as_fn_error $?
"gettext tools not found (or too old), translations won't be built.
5993 This is an error since --with-gettext was requested." "$LINENO" 5 ;;
5998 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for i386_set_ldt in -li386" >&5
5999 $as_echo_n "checking for i386_set_ldt in -li386... " >&6; }
6000 if ${ac_cv_lib_i386_i386_set_ldt+:} false
; then :
6001 $as_echo_n "(cached) " >&6
6003 ac_check_lib_save_LIBS
=$LIBS
6005 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6006 /* end confdefs.h. */
6008 /* Override any GCC internal prototype to avoid an error.
6009 Use char because int might match the return type of a GCC
6010 builtin and then its argument prototype would still apply. */
6014 char i386_set_ldt ();
6018 return i386_set_ldt ();
6023 if ac_fn_c_try_link
"$LINENO"; then :
6024 ac_cv_lib_i386_i386_set_ldt
=yes
6026 ac_cv_lib_i386_i386_set_ldt
=no
6028 rm -f core conftest.err conftest.
$ac_objext \
6029 conftest
$ac_exeext conftest.
$ac_ext
6030 LIBS
=$ac_check_lib_save_LIBS
6032 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_i386_i386_set_ldt" >&5
6033 $as_echo "$ac_cv_lib_i386_i386_set_ldt" >&6; }
6034 if test "x$ac_cv_lib_i386_i386_set_ldt" = xyes
; then :
6035 cat >>confdefs.h
<<_ACEOF
6036 #define HAVE_LIBI386 1
6043 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _oss_ioctl in -lossaudio" >&5
6044 $as_echo_n "checking for _oss_ioctl in -lossaudio... " >&6; }
6045 if ${ac_cv_lib_ossaudio__oss_ioctl+:} false
; then :
6046 $as_echo_n "(cached) " >&6
6048 ac_check_lib_save_LIBS
=$LIBS
6049 LIBS
="-lossaudio $LIBS"
6050 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6051 /* end confdefs.h. */
6053 /* Override any GCC internal prototype to avoid an error.
6054 Use char because int might match the return type of a GCC
6055 builtin and then its argument prototype would still apply. */
6063 return _oss_ioctl ();
6068 if ac_fn_c_try_link
"$LINENO"; then :
6069 ac_cv_lib_ossaudio__oss_ioctl
=yes
6071 ac_cv_lib_ossaudio__oss_ioctl
=no
6073 rm -f core conftest.err conftest.
$ac_objext \
6074 conftest
$ac_exeext conftest.
$ac_ext
6075 LIBS
=$ac_check_lib_save_LIBS
6077 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ossaudio__oss_ioctl" >&5
6078 $as_echo "$ac_cv_lib_ossaudio__oss_ioctl" >&6; }
6079 if test "x$ac_cv_lib_ossaudio__oss_ioctl" = xyes
; then :
6080 cat >>confdefs.h
<<_ACEOF
6081 #define HAVE_LIBOSSAUDIO 1
6084 LIBS
="-lossaudio $LIBS"
6093 # Check whether --enable-largefile was given.
6094 if test "${enable_largefile+set}" = set; then :
6095 enableval
=$enable_largefile;
6098 if test "$enable_largefile" != no
; then
6100 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for special C compiler options needed for large files" >&5
6101 $as_echo_n "checking for special C compiler options needed for large files... " >&6; }
6102 if ${ac_cv_sys_largefile_CC+:} false
; then :
6103 $as_echo_n "(cached) " >&6
6105 ac_cv_sys_largefile_CC
=no
6106 if test "$GCC" != yes; then
6109 # IRIX 6.2 and later do not support large files by default,
6110 # so use the C compiler's -n32 option if that helps.
6111 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6112 /* end confdefs.h. */
6113 #include <sys/types.h>
6114 /* Check that off_t can represent 2**63 - 1 correctly.
6115 We can't simply define LARGE_OFF_T to be 9223372036854775807,
6116 since some C++ compilers masquerading as C compilers
6117 incorrectly reject 9223372036854775807. */
6118 #define LARGE_OFF_T ((((off_t) 1 << 31) << 31) - 1 + (((off_t) 1 << 31) << 31))
6119 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
6120 && LARGE_OFF_T % 2147483647 == 1)
6130 if ac_fn_c_try_compile
"$LINENO"; then :
6133 rm -f core conftest.err conftest.
$ac_objext
6135 if ac_fn_c_try_compile
"$LINENO"; then :
6136 ac_cv_sys_largefile_CC
=' -n32'; break
6138 rm -f core conftest.err conftest.
$ac_objext
6142 rm -f conftest.
$ac_ext
6145 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_largefile_CC" >&5
6146 $as_echo "$ac_cv_sys_largefile_CC" >&6; }
6147 if test "$ac_cv_sys_largefile_CC" != no
; then
6148 CC
=$CC$ac_cv_sys_largefile_CC
6151 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _FILE_OFFSET_BITS value needed for large files" >&5
6152 $as_echo_n "checking for _FILE_OFFSET_BITS value needed for large files... " >&6; }
6153 if ${ac_cv_sys_file_offset_bits+:} false
; then :
6154 $as_echo_n "(cached) " >&6
6157 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6158 /* end confdefs.h. */
6159 #include <sys/types.h>
6160 /* Check that off_t can represent 2**63 - 1 correctly.
6161 We can't simply define LARGE_OFF_T to be 9223372036854775807,
6162 since some C++ compilers masquerading as C compilers
6163 incorrectly reject 9223372036854775807. */
6164 #define LARGE_OFF_T ((((off_t) 1 << 31) << 31) - 1 + (((off_t) 1 << 31) << 31))
6165 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
6166 && LARGE_OFF_T % 2147483647 == 1)
6176 if ac_fn_c_try_compile
"$LINENO"; then :
6177 ac_cv_sys_file_offset_bits
=no
; break
6179 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
6180 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6181 /* end confdefs.h. */
6182 #define _FILE_OFFSET_BITS 64
6183 #include <sys/types.h>
6184 /* Check that off_t can represent 2**63 - 1 correctly.
6185 We can't simply define LARGE_OFF_T to be 9223372036854775807,
6186 since some C++ compilers masquerading as C compilers
6187 incorrectly reject 9223372036854775807. */
6188 #define LARGE_OFF_T ((((off_t) 1 << 31) << 31) - 1 + (((off_t) 1 << 31) << 31))
6189 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
6190 && LARGE_OFF_T % 2147483647 == 1)
6200 if ac_fn_c_try_compile
"$LINENO"; then :
6201 ac_cv_sys_file_offset_bits
=64; break
6203 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
6204 ac_cv_sys_file_offset_bits
=unknown
6208 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_file_offset_bits" >&5
6209 $as_echo "$ac_cv_sys_file_offset_bits" >&6; }
6210 case $ac_cv_sys_file_offset_bits in #(
6213 cat >>confdefs.h
<<_ACEOF
6214 #define _FILE_OFFSET_BITS $ac_cv_sys_file_offset_bits
6219 if test $ac_cv_sys_file_offset_bits = unknown
; then
6220 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _LARGE_FILES value needed for large files" >&5
6221 $as_echo_n "checking for _LARGE_FILES value needed for large files... " >&6; }
6222 if ${ac_cv_sys_large_files+:} false
; then :
6223 $as_echo_n "(cached) " >&6
6226 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6227 /* end confdefs.h. */
6228 #include <sys/types.h>
6229 /* Check that off_t can represent 2**63 - 1 correctly.
6230 We can't simply define LARGE_OFF_T to be 9223372036854775807,
6231 since some C++ compilers masquerading as C compilers
6232 incorrectly reject 9223372036854775807. */
6233 #define LARGE_OFF_T ((((off_t) 1 << 31) << 31) - 1 + (((off_t) 1 << 31) << 31))
6234 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
6235 && LARGE_OFF_T % 2147483647 == 1)
6245 if ac_fn_c_try_compile
"$LINENO"; then :
6246 ac_cv_sys_large_files
=no
; break
6248 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
6249 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6250 /* end confdefs.h. */
6251 #define _LARGE_FILES 1
6252 #include <sys/types.h>
6253 /* Check that off_t can represent 2**63 - 1 correctly.
6254 We can't simply define LARGE_OFF_T to be 9223372036854775807,
6255 since some C++ compilers masquerading as C compilers
6256 incorrectly reject 9223372036854775807. */
6257 #define LARGE_OFF_T ((((off_t) 1 << 31) << 31) - 1 + (((off_t) 1 << 31) << 31))
6258 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
6259 && LARGE_OFF_T % 2147483647 == 1)
6269 if ac_fn_c_try_compile
"$LINENO"; then :
6270 ac_cv_sys_large_files
=1; break
6272 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
6273 ac_cv_sys_large_files
=unknown
6277 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_large_files" >&5
6278 $as_echo "$ac_cv_sys_large_files" >&6; }
6279 case $ac_cv_sys_large_files in #(
6282 cat >>confdefs.h
<<_ACEOF
6283 #define _LARGE_FILES $ac_cv_sys_large_files
6295 ac_cpp
='$CPP $CPPFLAGS'
6296 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6297 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6298 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
6299 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
6300 $as_echo_n "checking how to run the C preprocessor... " >&6; }
6301 # On Suns, sometimes $CPP names a directory.
6302 if test -n "$CPP" && test -d "$CPP"; then
6305 if test -z "$CPP"; then
6306 if ${ac_cv_prog_CPP+:} false
; then :
6307 $as_echo_n "(cached) " >&6
6309 # Double quotes because CPP needs to be expanded
6310 for CPP
in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
6313 for ac_c_preproc_warn_flag
in '' yes
6315 # Use a header file that comes with gcc, so configuring glibc
6316 # with a fresh cross-compiler works.
6317 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
6318 # <limits.h> exists even on freestanding compilers.
6319 # On the NeXT, cc -E runs the code through the compiler's parser,
6320 # not just through cpp. "Syntax error" is here to catch this case.
6321 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6322 /* end confdefs.h. */
6324 # include <limits.h>
6326 # include <assert.h>
6330 if ac_fn_c_try_cpp
"$LINENO"; then :
6333 # Broken: fails on valid input.
6336 rm -f conftest.err conftest.i conftest.
$ac_ext
6338 # OK, works on sane cases. Now check whether nonexistent headers
6339 # can be detected and how.
6340 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6341 /* end confdefs.h. */
6342 #include <ac_nonexistent.h>
6344 if ac_fn_c_try_cpp
"$LINENO"; then :
6345 # Broken: success on invalid input.
6348 # Passes both tests.
6352 rm -f conftest.err conftest.i conftest.
$ac_ext
6355 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
6356 rm -f conftest.i conftest.err conftest.
$ac_ext
6357 if $ac_preproc_ok; then :
6369 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
6370 $as_echo "$CPP" >&6; }
6372 for ac_c_preproc_warn_flag
in '' yes
6374 # Use a header file that comes with gcc, so configuring glibc
6375 # with a fresh cross-compiler works.
6376 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
6377 # <limits.h> exists even on freestanding compilers.
6378 # On the NeXT, cc -E runs the code through the compiler's parser,
6379 # not just through cpp. "Syntax error" is here to catch this case.
6380 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6381 /* end confdefs.h. */
6383 # include <limits.h>
6385 # include <assert.h>
6389 if ac_fn_c_try_cpp
"$LINENO"; then :
6392 # Broken: fails on valid input.
6395 rm -f conftest.err conftest.i conftest.
$ac_ext
6397 # OK, works on sane cases. Now check whether nonexistent headers
6398 # can be detected and how.
6399 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6400 /* end confdefs.h. */
6401 #include <ac_nonexistent.h>
6403 if ac_fn_c_try_cpp
"$LINENO"; then :
6404 # Broken: success on invalid input.
6407 # Passes both tests.
6411 rm -f conftest.err conftest.i conftest.
$ac_ext
6414 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
6415 rm -f conftest.i conftest.err conftest.
$ac_ext
6416 if $ac_preproc_ok; then :
6419 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
6420 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
6421 as_fn_error $?
"C preprocessor \"$CPP\" fails sanity check
6422 See \`config.log' for more details" "$LINENO" 5; }
6426 ac_cpp
='$CPP $CPPFLAGS'
6427 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6428 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6429 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
6432 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
6433 $as_echo_n "checking for ANSI C header files... " >&6; }
6434 if ${ac_cv_header_stdc+:} false
; then :
6435 $as_echo_n "(cached) " >&6
6437 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6438 /* end confdefs.h. */
6452 if ac_fn_c_try_compile
"$LINENO"; then :
6453 ac_cv_header_stdc
=yes
6455 ac_cv_header_stdc
=no
6457 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
6459 if test $ac_cv_header_stdc = yes; then
6460 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
6461 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6462 /* end confdefs.h. */
6466 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
6467 $EGREP "memchr" >/dev
/null
2>&1; then :
6470 ac_cv_header_stdc
=no
6476 if test $ac_cv_header_stdc = yes; then
6477 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
6478 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6479 /* end confdefs.h. */
6483 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
6484 $EGREP "free" >/dev
/null
2>&1; then :
6487 ac_cv_header_stdc
=no
6493 if test $ac_cv_header_stdc = yes; then
6494 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
6495 if test "$cross_compiling" = yes; then :
6498 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6499 /* end confdefs.h. */
6502 #if ((' ' & 0x0FF) == 0x020)
6503 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
6504 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
6506 # define ISLOWER(c) \
6507 (('a' <= (c) && (c) <= 'i') \
6508 || ('j' <= (c) && (c) <= 'r') \
6509 || ('s' <= (c) && (c) <= 'z'))
6510 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
6513 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
6518 for (i = 0; i < 256; i++)
6519 if (XOR (islower (i), ISLOWER (i))
6520 || toupper (i) != TOUPPER (i))
6525 if ac_fn_c_try_run
"$LINENO"; then :
6528 ac_cv_header_stdc
=no
6530 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext \
6531 conftest.
$ac_objext conftest.beam conftest.
$ac_ext
6536 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
6537 $as_echo "$ac_cv_header_stdc" >&6; }
6538 if test $ac_cv_header_stdc = yes; then
6540 $as_echo "#define STDC_HEADERS 1" >>confdefs.h
6544 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
6545 for ac_header
in sys
/types.h sys
/stat.h stdlib.h string.h memory.h
strings.h \
6546 inttypes.h stdint.h unistd.h
6548 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
6549 ac_fn_c_check_header_compile
"$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
6551 if eval test \"x\$
"$as_ac_Header"\" = x
"yes"; then :
6552 cat >>confdefs.h
<<_ACEOF
6553 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
6563 ApplicationServices
/ApplicationServices.h \
6564 AudioToolbox
/AudioConverter.h \
6565 AudioUnit
/AudioUnit.h \
6566 AudioUnit
/AudioComponent.h \
6569 CoreAudio
/CoreAudio.h \
6570 CoreServices
/CoreServices.h \
6571 DiskArbitration
/DiskArbitration.h \
6573 IOKit
/hid
/IOHIDLib.h \
6576 QuickTime
/ImageCompression.h \
6577 Security
/Security.h \
6628 netinet
/in_systm.h \
6690 valgrind
/memcheck.h \
6691 valgrind
/valgrind.h \
6695 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
6696 ac_fn_c_check_header_mongrel
"$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
6697 if eval test \"x\$
"$as_ac_Header"\" = x
"yes"; then :
6698 cat >>confdefs.h
<<_ACEOF
6699 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
6706 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether stat file-mode macros are broken" >&5
6707 $as_echo_n "checking whether stat file-mode macros are broken... " >&6; }
6708 if ${ac_cv_header_stat_broken+:} false
; then :
6709 $as_echo_n "(cached) " >&6
6711 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6712 /* end confdefs.h. */
6713 #include <sys/types.h>
6714 #include <sys/stat.h>
6716 #if defined S_ISBLK && defined S_IFDIR
6717 extern char c1[S_ISBLK (S_IFDIR) ? -1 : 1];
6720 #if defined S_ISBLK && defined S_IFCHR
6721 extern char c2[S_ISBLK (S_IFCHR) ? -1 : 1];
6724 #if defined S_ISLNK && defined S_IFREG
6725 extern char c3[S_ISLNK (S_IFREG) ? -1 : 1];
6728 #if defined S_ISSOCK && defined S_IFREG
6729 extern char c4[S_ISSOCK (S_IFREG) ? -1 : 1];
6733 if ac_fn_c_try_compile
"$LINENO"; then :
6734 ac_cv_header_stat_broken
=no
6736 ac_cv_header_stat_broken
=yes
6738 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
6740 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stat_broken" >&5
6741 $as_echo "$ac_cv_header_stat_broken" >&6; }
6742 if test $ac_cv_header_stat_broken = yes; then
6744 $as_echo "#define STAT_MACROS_BROKEN 1" >>confdefs.h
6750 for ac_header
in sys
/mount.h sys
/statfs.h sys
/sysctl.h sys
/user.h sys
/vfs.h
6752 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
6753 ac_fn_c_check_header_compile
"$LINENO" "$ac_header" "$as_ac_Header" "#include <sys/types.h>
6754 #ifdef HAVE_SYS_PARAM_H
6755 # include <sys/param.h>
6758 if eval test \"x\$
"$as_ac_Header"\" = x
"yes"; then :
6759 cat >>confdefs.h
<<_ACEOF
6760 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
6775 netinet
/if_ether.h \
6776 netinet
/if_inarp.h \
6785 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
6786 ac_fn_c_check_header_compile
"$LINENO" "$ac_header" "$as_ac_Header" "#include <sys/types.h>
6787 #ifdef HAVE_SYS_SOCKET_H
6788 # include <sys/socket.h>
6790 #ifdef HAVE_SYS_SOCKETVAR_H
6791 # include <sys/socketvar.h>
6793 #ifdef HAVE_NET_ROUTE_H
6794 # include <net/route.h>
6796 #ifdef HAVE_NETINET_IN_H
6797 # include <netinet/in.h>
6799 #ifdef HAVE_NETINET_IN_SYSTM_H
6800 # include <netinet/in_systm.h>
6802 #ifdef HAVE_NET_IF_H
6803 # include <net/if.h>
6805 #ifdef HAVE_NETINET_IP_H
6806 # include <netinet/ip.h>
6809 if eval test \"x\$
"$as_ac_Header"\" = x
"yes"; then :
6810 cat >>confdefs.h
<<_ACEOF
6811 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
6819 for ac_header
in netinet
/tcp_timer.h netinet
/udp_var.h netinet
/icmp_var.h netinet
/tcp_var.h
6821 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
6822 ac_fn_c_check_header_compile
"$LINENO" "$ac_header" "$as_ac_Header" "#include <sys/types.h>
6826 #ifdef HAVE_SYS_SOCKET_H
6827 # include <sys/socket.h>
6829 #ifdef HAVE_SYS_SOCKETVAR_H
6830 # include <sys/socketvar.h>
6832 #ifdef HAVE_SYS_TIMEOUT_H
6833 # include <sys/timeout.h>
6835 #ifdef HAVE_NETINET_IN_H
6836 # include <netinet/in.h>
6838 #ifdef HAVE_NETINET_IN_SYSTM_H
6839 # include <netinet/in_systm.h>
6841 #ifdef HAVE_NETINET_IP_H
6842 # include <netinet/ip.h>
6844 #ifdef HAVE_NETINET_IP_VAR_H
6845 # include <netinet/ip_var.h>
6847 #ifdef HAVE_NETINET_IP_ICMP_H
6848 # include <netinet/ip_icmp.h>
6850 #ifdef HAVE_NETINET_UDP_H
6851 # include <netinet/udp.h>
6853 #ifdef HAVE_NETINET_TCP_H
6854 # include <netinet/tcp.h>
6856 #ifdef HAVE_NETINET_TCP_TIMER_H
6857 #include <netinet/tcp_timer.h>
6860 if eval test \"x\$
"$as_ac_Header"\" = x
"yes"; then :
6861 cat >>confdefs.h
<<_ACEOF
6862 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
6870 for ac_header
in linux
/ipx.h linux
/irda.h linux
/rtnetlink.h
6872 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
6873 ac_fn_c_check_header_compile
"$LINENO" "$ac_header" "$as_ac_Header" "#include <sys/types.h>
6874 #ifdef HAVE_ASM_TYPES_H
6875 # include <asm/types.h>
6877 #ifdef HAVE_SYS_SOCKET_H
6878 # include <sys/socket.h>
6880 #ifdef HAVE_LINUX_TYPES_H
6881 # include <linux/types.h>
6884 if eval test \"x\$
"$as_ac_Header"\" = x
"yes"; then :
6885 cat >>confdefs.h
<<_ACEOF
6886 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
6894 for ac_header
in mach-o
/dyld_images.h
6896 ac_fn_c_check_header_compile
"$LINENO" "mach-o/dyld_images.h" "ac_cv_header_mach_o_dyld_images_h" "#ifdef HAVE_STDBOOL_H
6897 # include <stdbool.h>
6899 #ifdef HAVE_STDINT_H
6900 # include <stdint.h>
6903 if test "x$ac_cv_header_mach_o_dyld_images_h" = xyes
; then :
6904 cat >>confdefs.h
<<_ACEOF
6905 #define HAVE_MACH_O_DYLD_IMAGES_H 1
6913 for ac_header
in resolv.h
6915 ac_fn_c_check_header_compile
"$LINENO" "resolv.h" "ac_cv_header_resolv_h" "#include <sys/types.h>
6916 #ifdef HAVE_SYS_SOCKET_H
6917 # include <sys/socket.h>
6919 #ifdef HAVE_NETINET_IN_H
6920 # include <netinet/in.h>
6922 #ifdef HAVE_ARPA_NAMESER_H
6923 # include <arpa/nameser.h>
6926 if test "x$ac_cv_header_resolv_h" = xyes
; then :
6927 cat >>confdefs.h
<<_ACEOF
6928 #define HAVE_RESOLV_H 1
6936 for ac_header
in ifaddrs.h
6938 ac_fn_c_check_header_compile
"$LINENO" "ifaddrs.h" "ac_cv_header_ifaddrs_h" "#include <sys/types.h>
6940 if test "x$ac_cv_header_ifaddrs_h" = xyes
; then :
6941 cat >>confdefs.h
<<_ACEOF
6942 #define HAVE_IFADDRS_H 1
6950 for ac_header
in sys
/ucontext.h
6952 ac_fn_c_check_header_compile
"$LINENO" "sys/ucontext.h" "ac_cv_header_sys_ucontext_h" "#include <signal.h>
6954 if test "x$ac_cv_header_sys_ucontext_h" = xyes
; then :
6955 cat >>confdefs.h
<<_ACEOF
6956 #define HAVE_SYS_UCONTEXT_H 1
6964 for ac_header
in sys
/thr.h
6966 ac_fn_c_check_header_compile
"$LINENO" "sys/thr.h" "ac_cv_header_sys_thr_h" "#include <sys/types.h>
6967 #ifdef HAVE_SYS_UCONTEXT_H
6968 #include <sys/ucontext.h>
6971 if test "x$ac_cv_header_sys_thr_h" = xyes
; then :
6972 cat >>confdefs.h
<<_ACEOF
6973 #define HAVE_SYS_THR_H 1
6981 for ac_header
in pthread_np.h
6983 ac_fn_c_check_header_compile
"$LINENO" "pthread_np.h" "ac_cv_header_pthread_np_h" "#ifdef HAVE_PTHREAD_H
6984 #include <pthread.h>
6987 if test "x$ac_cv_header_pthread_np_h" = xyes
; then :
6988 cat >>confdefs.h
<<_ACEOF
6989 #define HAVE_PTHREAD_NP_H 1
6997 for ac_header
in linux
/videodev.h linux
/videodev2.h libv4l1.h
6999 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
7000 ac_fn_c_check_header_compile
"$LINENO" "$ac_header" "$as_ac_Header" "#ifdef HAVE_SYS_TIME_H
7001 #include <sys/time.h>
7003 #include <sys/types.h>
7004 #ifdef HAVE_ASM_TYPES_H
7005 #include <asm/types.h>
7008 if eval test \"x\$
"$as_ac_Header"\" = x
"yes"; then :
7009 cat >>confdefs.h
<<_ACEOF
7010 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
7018 for ac_header
in libprocstat.h
7020 ac_fn_c_check_header_compile
"$LINENO" "libprocstat.h" "ac_cv_header_libprocstat_h" "#ifdef HAVE_SYS_PARAM_H
7021 #include <sys/param.h>
7023 #ifdef HAVE_SYS_QUEUE_H
7024 #include <sys/queue.h>
7026 #ifdef HAVE_SYS_SOCKET_H
7027 #include <sys/socket.h>
7030 if test "x$ac_cv_header_libprocstat_h" = xyes
; then :
7031 cat >>confdefs.h
<<_ACEOF
7032 #define HAVE_LIBPROCSTAT_H 1
7041 dlldir
="\${libdir}/wine"
7045 DLLFLAGS
="-D_REENTRANT"
7054 STATIC_IMPLIBEXT
="def.a"
7055 # Extract the first word of "ldd", so it can be a program name with args.
7056 set dummy ldd
; ac_word
=$2
7057 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7058 $as_echo_n "checking for $ac_word... " >&6; }
7059 if ${ac_cv_path_LDD+:} false
; then :
7060 $as_echo_n "(cached) " >&6
7064 ac_cv_path_LDD
="$LDD" # Let the user override the test with a path.
7067 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7068 as_dummy
="/sbin:/usr/sbin:$PATH"
7069 for as_dir
in $as_dummy
7072 test -z "$as_dir" && as_dir
=.
7073 for ac_exec_ext
in '' $ac_executable_extensions; do
7074 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
7075 ac_cv_path_LDD
="$as_dir/$ac_word$ac_exec_ext"
7076 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7083 test -z "$ac_cv_path_LDD" && ac_cv_path_LDD
="true"
7088 if test -n "$LDD"; then
7089 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LDD" >&5
7090 $as_echo "$LDD" >&6; }
7092 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7093 $as_echo "no" >&6; }
7097 if test -n "$ac_tool_prefix"; then
7098 # Extract the first word of "${ac_tool_prefix}readelf", so it can be a program name with args.
7099 set dummy
${ac_tool_prefix}readelf
; ac_word
=$2
7100 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7101 $as_echo_n "checking for $ac_word... " >&6; }
7102 if ${ac_cv_prog_READELF+:} false
; then :
7103 $as_echo_n "(cached) " >&6
7105 if test -n "$READELF"; then
7106 ac_cv_prog_READELF
="$READELF" # Let the user override the test.
7108 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7112 test -z "$as_dir" && as_dir
=.
7113 for ac_exec_ext
in '' $ac_executable_extensions; do
7114 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
7115 ac_cv_prog_READELF
="${ac_tool_prefix}readelf"
7116 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7125 READELF
=$ac_cv_prog_READELF
7126 if test -n "$READELF"; then
7127 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $READELF" >&5
7128 $as_echo "$READELF" >&6; }
7130 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7131 $as_echo "no" >&6; }
7136 if test -z "$ac_cv_prog_READELF"; then
7137 ac_ct_READELF
=$READELF
7138 # Extract the first word of "readelf", so it can be a program name with args.
7139 set dummy readelf
; ac_word
=$2
7140 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7141 $as_echo_n "checking for $ac_word... " >&6; }
7142 if ${ac_cv_prog_ac_ct_READELF+:} false
; then :
7143 $as_echo_n "(cached) " >&6
7145 if test -n "$ac_ct_READELF"; then
7146 ac_cv_prog_ac_ct_READELF
="$ac_ct_READELF" # Let the user override the test.
7148 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7152 test -z "$as_dir" && as_dir
=.
7153 for ac_exec_ext
in '' $ac_executable_extensions; do
7154 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
7155 ac_cv_prog_ac_ct_READELF
="readelf"
7156 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7165 ac_ct_READELF
=$ac_cv_prog_ac_ct_READELF
7166 if test -n "$ac_ct_READELF"; then
7167 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_READELF" >&5
7168 $as_echo "$ac_ct_READELF" >&6; }
7170 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7171 $as_echo "no" >&6; }
7174 if test "x$ac_ct_READELF" = x
; then
7177 case $cross_compiling:$ac_tool_warned in
7179 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7180 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7181 ac_tool_warned
=yes ;;
7183 READELF
=$ac_ct_READELF
7186 READELF
="$ac_cv_prog_READELF"
7189 wine_rules_file
=conf$
$rules.
make
7190 rm -f $wine_rules_file
7192 GITIGNORE
="# Automatically generated by configure; DO NOT EDIT!!"
7193 ALL_TEST_RESOURCES
=""
7196 wine_fn_append_file
()
7198 as_fn_append
$1 " \\$as_nl $2"
7201 wine_fn_ignore_file
()
7204 */*) as_fn_append GITIGNORE
"$as_nl$1" ;;
7205 \
**) as_fn_append GITIGNORE
"$as_nl$1" ;;
7206 *) as_fn_append GITIGNORE
"$as_nl/$1" ;;
7210 wine_fn_append_rule
()
7212 $as_echo "$1" >>$wine_rules_file
7217 expr ",$ac_flags," : ".*,$1,.*" >/dev
/null
7220 wine_fn_depend_rules
()
7222 wine_fn_append_rule \
7223 "$ac_dir/Makefile: $srcdir/$ac_dir/Makefile.in $srcdir/Make.vars.in config.status \$(MAKEDEP)
7224 @./config.status --file $ac_dir/Makefile:Make.vars.in:$ac_dir/Makefile.in && \$(MAKEDEP) $ac_dir
7225 depend: $ac_dir/depend
7226 .PHONY: $ac_dir/depend
7227 $ac_dir/depend: \$(MAKEDEP) dummy
7228 @./config.status --file $ac_dir/Makefile:Make.vars.in:$ac_dir/Makefile.in && \$(MAKEDEP) $ac_dir"
7231 wine_fn_pot_rules
()
7233 test "x$with_gettextpo" = xyes ||
return
7235 if wine_fn_has_flag mc
7237 wine_fn_append_file ALL_POT_FILES
$ac_dir/msg.pot
7238 wine_fn_append_rule \
7239 "$ac_dir/msg.pot: $ac_dir/Makefile dummy
7240 @cd $ac_dir && \$(MAKE) msg.pot
7241 $ac_dir/msg.pot: tools/wmc include"
7243 if wine_fn_has_flag po
7245 wine_fn_append_file ALL_POT_FILES
$ac_dir/rsrc.pot
7246 wine_fn_append_rule \
7247 "$ac_dir/rsrc.pot: $ac_dir/Makefile dummy
7248 @cd $ac_dir && \$(MAKE) rsrc.pot
7249 $ac_dir/rsrc.pot: tools/wrc include"
7253 wine_fn_all_rules
()
7255 wine_fn_depend_rules
7256 wine_fn_append_rule \
7259 $ac_dir: $ac_dir/Makefile dummy
7260 @cd $ac_dir && \$(MAKE)"
7263 wine_fn_install_rules
()
7265 wine_fn_has_flag install-lib || wine_fn_has_flag install-dev ||
return
7267 wine_fn_append_rule \
7268 ".PHONY: $ac_dir/install $ac_dir/uninstall
7269 $ac_dir/install:: $ac_dir
7270 @cd $ac_dir && \$(MAKE) install
7271 $ac_dir/uninstall:: $ac_dir/Makefile
7272 @cd $ac_dir && \$(MAKE) uninstall
7273 install:: $ac_dir/install
7274 __uninstall__: $ac_dir/uninstall"
7276 if wine_fn_has_flag install-lib
7278 wine_fn_append_rule \
7279 ".PHONY: $ac_dir/install-lib
7280 $ac_dir/install-lib:: $ac_dir
7281 @cd $ac_dir && \$(MAKE) install-lib
7282 install-lib:: $ac_dir/install-lib"
7285 if wine_fn_has_flag install-dev
7287 wine_fn_append_rule \
7288 ".PHONY: $ac_dir/install-dev
7289 $ac_dir/install-dev:: $ac_dir
7290 @cd $ac_dir && \$(MAKE) install-dev
7291 install-dev:: $ac_dir/install-dev"
7295 wine_fn_clean_rules
()
7298 ac_extraclean
="$ac_dir/Makefile"
7299 test "$srcdir" = .
&& ac_extraclean
="$ac_extraclean $ac_dir/.gitignore"
7301 */tests
) ac_extraclean
="$ac_extraclean $ac_dir/testlist.c" ;;
7304 if wine_fn_has_flag clean
7306 wine_fn_append_rule \
7307 "__clean__: $ac_dir/clean
7308 .PHONY: $ac_dir/clean
7309 $ac_dir/clean: $ac_dir/Makefile
7310 @cd $ac_dir && \$(MAKE) clean
7311 \$(RM) $ac_extraclean"
7313 wine_fn_append_rule \
7314 "__clean__: $ac_dir/clean
7315 .PHONY: $ac_dir/clean
7316 $ac_dir/clean: dummy
7317 \$(RM) \$(CLEAN_FILES:%=$ac_dir/%) $ac_clean $ac_extraclean"
7321 wine_fn_disabled_rules
()
7324 ac_extraclean
="$ac_dir/Makefile"
7325 test "$srcdir" = .
&& ac_extraclean
="$ac_extraclean $ac_dir/.gitignore"
7327 wine_fn_append_rule \
7328 "__clean__: $ac_dir/clean
7329 .PHONY: $ac_dir/clean
7330 $ac_dir/clean: dummy
7331 \$(RM) \$(CLEAN_FILES:%=$ac_dir/%) $ac_clean $ac_extraclean"
7334 wine_fn_config_makefile
()
7340 if eval test \"x\$
"$ac_enable"\" = x
"no"; then :
7341 wine_fn_disabled_rules
; return
7344 wine_fn_install_rules
7348 wine_fn_config_lib
()
7352 ac_dir
=dlls
/$ac_name
7355 if test "x$enable_tools" = xno
; then :
7358 ac_deps
="tools/widl tools/winebuild tools/winegcc $ac_deps"
7363 wine_fn_append_rule \
7364 ".PHONY: $ac_dir/install $ac_dir/uninstall
7365 $ac_dir/install:: $ac_dir
7366 \$(INSTALL_DATA) $ac_dir/lib$ac_name.a \$(DESTDIR)\$(dlldir)/lib$ac_name.a
7368 \$(RM) \$(DESTDIR)\$(dlldir)/lib$ac_name.a
7369 install install-dev:: $ac_dir/install
7370 __uninstall__: $ac_dir/uninstall
7371 __builddeps__: $ac_dir
7375 wine_fn_config_dll
()
7378 ac_dir
=dlls
/$ac_name
7381 ac_implib
=${4:-$ac_name}
7382 ac_file
=$ac_dir/lib
$ac_implib
7387 if test "x$enable_tools" = xno
; then :
7390 ac_deps
="tools/widl tools/winebuild tools/winegcc $ac_deps"
7393 *16) ac_implibflags
=" -m16" ;;
7395 *) ac_dll
=$ac_dll.dll
;;
7399 wine_fn_has_flag implib
&& ac_clean
="$ac_clean $ac_file.$IMPLIBEXT"
7400 wine_fn_has_flag mc
&& ac_clean
="$ac_clean $ac_dir/msg.pot"
7401 wine_fn_has_flag po
&& ac_clean
="$ac_clean $ac_dir/rsrc.pot"
7402 test -n "$DLLEXT" || ac_clean
="$ac_clean $ac_dir/$ac_dll"
7404 if eval test \"x\$
"$ac_enable"\" = x
"no"; then :
7405 if wine_fn_has_flag implib
&& test "$ac_enable" != enable_win16
7407 wine_fn_depend_rules
7408 wine_fn_clean_rules
$ac_clean
7410 wine_fn_disabled_rules
$ac_clean
7415 wine_fn_clean_rules
$ac_clean
7416 wine_fn_append_rule \
7417 "$ac_dir: __builddeps__
7418 manpages htmlpages sgmlpages xmlpages:: $ac_dir/Makefile
7419 @cd $ac_dir && \$(MAKE) \$@
7420 .PHONY: $ac_dir/install-lib $ac_dir/uninstall
7421 install install-lib:: $ac_dir/install-lib
7422 __uninstall__: $ac_dir/uninstall"
7423 if test -n "$DLLEXT"
7425 wine_fn_append_rule \
7426 "$ac_dir/install-lib:: $ac_dir
7427 \$(INSTALL_PROGRAM) $ac_dir/$ac_dll$DLLEXT \$(DESTDIR)\$(dlldir)/$DLLPREFIX$ac_dll$DLLEXT
7428 \$(INSTALL_DATA) $ac_dir/$ac_dll.fake \$(DESTDIR)\$(fakedlldir)/$ac_dll
7430 \$(RM) \$(DESTDIR)\$(dlldir)/$DLLPREFIX$ac_dll$DLLEXT \$(DESTDIR)\$(fakedlldir)/$ac_dll"
7432 wine_fn_append_rule \
7433 "$ac_dir/install-lib:: $ac_dir
7434 \$(INSTALL_PROGRAM) $ac_dir/$ac_dll \$(DESTDIR)\$(dlldir)/$ac_dll
7436 \$(RM) \$(DESTDIR)\$(dlldir)/$ac_dll"
7442 if wine_fn_has_flag staticimplib
7444 wine_fn_append_rule \
7445 "__builddeps__: $ac_file.$IMPLIBEXT $ac_file.$STATIC_IMPLIBEXT
7446 $ac_file.$IMPLIBEXT $ac_file.$STATIC_IMPLIBEXT $ac_file.cross.a: $ac_deps
7447 $ac_file.def: $srcdir/$ac_dir/$ac_name.spec $ac_dir/Makefile \$(WINEBUILD)
7448 \$(WINEBUILD) \$(TARGETFLAGS)$ac_implibflags -w --def -o \$@ --export $srcdir/$ac_dir/$ac_name.spec
7449 $ac_file.$STATIC_IMPLIBEXT: $ac_dir/Makefile dummy
7450 @cd $ac_dir && \$(MAKE) lib$ac_implib.$STATIC_IMPLIBEXT
7451 .PHONY: $ac_dir/install-dev $ac_dir/uninstall
7452 $ac_dir/install-dev:: $ac_file.$IMPLIBEXT
7453 \$(INSTALL_DATA) $ac_file.$IMPLIBEXT \$(DESTDIR)\$(dlldir)/lib$ac_implib.$IMPLIBEXT
7455 \$(RM) \$(DESTDIR)\$(dlldir)/lib$ac_implib.$IMPLIBEXT
7456 install install-dev:: $ac_dir/install-dev
7457 __uninstall__: $ac_dir/uninstall"
7459 if test "$IMPLIBEXT" != "$STATIC_IMPLIBEXT"
7461 wine_fn_append_rule \
7462 "$ac_dir/install-dev:: $ac_file.$STATIC_IMPLIBEXT __builddeps__
7463 \$(INSTALL_DATA) $ac_file.$STATIC_IMPLIBEXT \$(DESTDIR)\$(dlldir)/lib$ac_implib.$STATIC_IMPLIBEXT
7465 \$(RM) \$(DESTDIR)\$(dlldir)/lib$ac_implib.$STATIC_IMPLIBEXT"
7468 if test -n "$CROSSTARGET" -a -z "$ac_implibflags"
7470 wine_fn_append_rule \
7471 "__builddeps__: $ac_file.cross.a
7472 $ac_file.cross.a: $ac_dir/Makefile dummy
7473 @cd $ac_dir && \$(MAKE) lib$ac_implib.cross.a"
7476 elif wine_fn_has_flag implib
7478 wine_fn_append_rule \
7479 "__builddeps__: $ac_file.$IMPLIBEXT
7480 $ac_file.def: $srcdir/$ac_dir/$ac_name.spec $ac_dir/Makefile \$(WINEBUILD)
7481 \$(WINEBUILD) \$(TARGETFLAGS)$ac_implibflags -w --def -o \$@ --export $srcdir/$ac_dir/$ac_name.spec
7482 $ac_file.a: $srcdir/$ac_dir/$ac_name.spec $ac_dir/Makefile \$(WINEBUILD)
7483 \$(WINEBUILD) \$(TARGETFLAGS)$ac_implibflags -w --implib -o \$@ --export $srcdir/$ac_dir/$ac_name.spec
7484 .PHONY: $ac_dir/install-dev $ac_dir/uninstall
7485 $ac_dir/install-dev:: $ac_file.$IMPLIBEXT
7486 \$(INSTALL_DATA) $ac_file.$IMPLIBEXT \$(DESTDIR)\$(dlldir)/lib$ac_implib.$IMPLIBEXT
7488 \$(RM) \$(DESTDIR)\$(dlldir)/lib$ac_implib.$IMPLIBEXT
7489 install install-dev:: $ac_dir/install-dev
7490 __uninstall__: $ac_dir/uninstall"
7491 if test -n "$CROSSTARGET" -a -z "$ac_implibflags"
7493 wine_fn_append_rule \
7494 "__builddeps__: $ac_file.cross.a
7495 $ac_file.cross.a: $srcdir/$ac_dir/$ac_name.spec $ac_dir/Makefile \$(WINEBUILD)
7496 \$(WINEBUILD) \$(CROSSTARGET:%=-b %)$ac_implibflags -w --implib -o \$@ --export $srcdir/$ac_dir/$ac_name.spec"
7499 if test "$ac_name" != "$ac_implib"
7501 wine_fn_append_rule \
7502 "__builddeps__: dlls/lib$ac_implib.$IMPLIBEXT
7503 dlls/lib$ac_implib.$IMPLIBEXT: $ac_file.$IMPLIBEXT
7504 \$(RM) \$@ && \$(LN_S) $ac_name/lib$ac_implib.$IMPLIBEXT \$@
7506 \$(RM) dlls/lib$ac_implib.$IMPLIBEXT"
7507 wine_fn_ignore_file
"dlls/lib$ac_implib.$IMPLIBEXT"
7508 if test -n "$CROSSTARGET" -a -z "$ac_implibflags"
7510 wine_fn_append_rule \
7511 "__builddeps__: dlls/lib$ac_implib.cross.a
7512 dlls/lib$ac_implib.cross.a: $ac_file.cross.a
7513 \$(RM) \$@ && \$(LN_S) $ac_name/lib$ac_implib.cross.a \$@
7515 \$(RM) dlls/lib$ac_implib.cross.a"
7516 wine_fn_ignore_file
"dlls/lib$ac_implib.cross.a"
7522 wine_fn_config_program
()
7525 ac_dir
=programs
/$ac_name
7532 *) ac_program
=$ac_program.exe
;;
7536 wine_fn_has_flag mc
&& ac_clean
="$ac_clean $ac_dir/msg.pot"
7537 wine_fn_has_flag po
&& ac_clean
="$ac_clean $ac_dir/rsrc.pot"
7538 wine_fn_has_flag manpage
&& ac_clean
="$ac_clean $ac_dir/$ac_name.man"
7539 test -n "$DLLEXT" || ac_clean
="$ac_clean $ac_dir/$ac_program"
7541 if eval test \"x\$
"$ac_enable"\" = x
"no"; then :
7542 wine_fn_disabled_rules
$ac_clean; return
7546 wine_fn_clean_rules
$ac_clean
7547 wine_fn_append_rule
"$ac_dir: __builddeps__"
7550 wine_fn_has_flag
install ||
return
7551 wine_fn_append_rule \
7552 ".PHONY: $ac_dir/install $ac_dir/uninstall
7553 install install-lib:: $ac_dir/install
7554 __uninstall__: $ac_dir/uninstall"
7556 if test -n "$DLLEXT"
7558 wine_fn_append_rule \
7559 "$ac_dir/install:: $ac_dir
7560 \$(INSTALL_PROGRAM) $ac_dir/$ac_program$DLLEXT \$(DESTDIR)\$(dlldir)/$DLLPREFIX$ac_program$DLLEXT
7561 \$(INSTALL_DATA) $ac_dir/$ac_program.fake \$(DESTDIR)\$(fakedlldir)/$ac_program
7563 \$(RM) \$(DESTDIR)\$(dlldir)/$DLLPREFIX$ac_program$DLLEXT \$(DESTDIR)\$(fakedlldir)/$ac_program"
7565 if test -z "$with_wine64" && wine_fn_has_flag installbin
7567 wine_fn_append_rule \
7568 "$ac_dir/install:: __tooldeps__
7569 \$(INSTALL_SCRIPT) \$(TOOLSDIR)/tools/wineapploader \$(DESTDIR)\$(bindir)/$ac_name
7571 \$(RM) \$(DESTDIR)\$(bindir)/$ac_name"
7574 wine_fn_append_rule \
7575 "$ac_dir/install:: $ac_dir
7576 \$(INSTALL_PROGRAM) $ac_dir/$ac_program \$(DESTDIR)\$(bindir)/$ac_program
7578 \$(RM) \$(DESTDIR)\$(bindir)/$ac_program"
7581 if test -z "$with_wine64" && wine_fn_has_flag manpage
7583 wine_fn_append_rule \
7584 "$ac_dir/install:: $ac_dir
7585 \$(INSTALL_DATA) $ac_dir/$ac_name.man \$(DESTDIR)\$(mandir)/man\$(prog_manext)/$ac_name.\$(prog_manext)
7587 \$(RM) \$(DESTDIR)\$(mandir)/man\$(prog_manext)/$ac_name.\$(prog_manext)"
7591 wine_fn_config_test
()
7598 test -n "$CROSSTARGET" && ac_clean
=`expr $ac_dir/${ac_name} : "\\(.*\\)_test"`_crosstest.exe
7599 test -n "$DLLEXT" || ac_clean
="$ac_dir/${ac_name}.exe $ac_dir/${ac_name}-stripped.exe"
7601 if test "x$enable_tests" = xno
; then :
7602 wine_fn_disabled_rules
$ac_clean; return
7605 wine_fn_append_file ALL_TEST_RESOURCES
$ac_name.res
7607 wine_fn_clean_rules
$ac_clean
7609 wine_fn_append_rule \
7610 "$ac_dir: programs/winetest/Makefile __builddeps__
7611 programs/winetest: $ac_dir
7612 check test: $ac_dir/test
7613 .PHONY: $ac_dir/test
7615 @cd $ac_dir && \$(MAKE) test
7617 \$(RM) $ac_dir/*.ok"
7619 if test -n "$CROSSTARGET"
7621 wine_fn_append_rule \
7622 "crosstest: $ac_dir/crosstest
7623 .PHONY: $ac_dir/crosstest
7624 $ac_dir/crosstest: $ac_dir/Makefile __builddeps__ dummy
7625 @cd $ac_dir && \$(MAKE) crosstest"
7629 wine_fn_config_tool
()
7633 if test "x$enable_tools" = xno
; then :
7638 wine_fn_install_rules
7641 wine_fn_append_rule
"__tooldeps__: $ac_dir"
7642 wine_fn_append_rule
"$ac_dir: libs/port"
7644 tools
/winebuild
) wine_fn_append_rule
"\$(WINEBUILD): $ac_dir" ;;
7648 wine_fn_config_symlink
()
7651 if test "x$1" = "x-d"
7657 wine_fn_append_rule \
7659 @./config.status \$@
7662 for f
in $ac_links; do wine_fn_ignore_file
$f; done
7663 test -n "$ac_linkdir" ||
return
7664 wine_fn_append_rule
"$ac_linkdir/Makefile $ac_linkdir/depend: $ac_links"
7668 test "x$enable_win64" != "xyes" || wine_binary
="wine64"
7669 loader_programs
="$wine_binary wine-installed"
7670 libwine_soversion
=`expr $libwine_version : '\([0-9]*\)\..*'`
7675 install install-lib:: wine-installed
7676 \$(INSTALL_PROGRAM) wine-installed \$(DESTDIR)\$(bindir)/$wine_binary
7679 \$(RM) \$(DESTDIR)\$(bindir)/$wine_binary
7685 if test -n "$ac_tool_prefix"; then
7686 # Extract the first word of "${ac_tool_prefix}dlltool", so it can be a program name with args.
7687 set dummy
${ac_tool_prefix}dlltool
; ac_word
=$2
7688 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7689 $as_echo_n "checking for $ac_word... " >&6; }
7690 if ${ac_cv_prog_DLLTOOL+:} false
; then :
7691 $as_echo_n "(cached) " >&6
7693 if test -n "$DLLTOOL"; then
7694 ac_cv_prog_DLLTOOL
="$DLLTOOL" # Let the user override the test.
7696 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7700 test -z "$as_dir" && as_dir
=.
7701 for ac_exec_ext
in '' $ac_executable_extensions; do
7702 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
7703 ac_cv_prog_DLLTOOL
="${ac_tool_prefix}dlltool"
7704 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7713 DLLTOOL
=$ac_cv_prog_DLLTOOL
7714 if test -n "$DLLTOOL"; then
7715 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DLLTOOL" >&5
7716 $as_echo "$DLLTOOL" >&6; }
7718 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7719 $as_echo "no" >&6; }
7724 if test -z "$ac_cv_prog_DLLTOOL"; then
7725 ac_ct_DLLTOOL
=$DLLTOOL
7726 # Extract the first word of "dlltool", so it can be a program name with args.
7727 set dummy dlltool
; ac_word
=$2
7728 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7729 $as_echo_n "checking for $ac_word... " >&6; }
7730 if ${ac_cv_prog_ac_ct_DLLTOOL+:} false
; then :
7731 $as_echo_n "(cached) " >&6
7733 if test -n "$ac_ct_DLLTOOL"; then
7734 ac_cv_prog_ac_ct_DLLTOOL
="$ac_ct_DLLTOOL" # Let the user override the test.
7736 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7740 test -z "$as_dir" && as_dir
=.
7741 for ac_exec_ext
in '' $ac_executable_extensions; do
7742 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
7743 ac_cv_prog_ac_ct_DLLTOOL
="dlltool"
7744 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7753 ac_ct_DLLTOOL
=$ac_cv_prog_ac_ct_DLLTOOL
7754 if test -n "$ac_ct_DLLTOOL"; then
7755 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DLLTOOL" >&5
7756 $as_echo "$ac_ct_DLLTOOL" >&6; }
7758 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7759 $as_echo "no" >&6; }
7762 if test "x$ac_ct_DLLTOOL" = x
; then
7765 case $cross_compiling:$ac_tool_warned in
7767 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7768 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7769 ac_tool_warned
=yes ;;
7771 DLLTOOL
=$ac_ct_DLLTOOL
7774 DLLTOOL
="$ac_cv_prog_DLLTOOL"
7780 STATIC_IMPLIBEXT
="a"
7781 enable_iphlpapi
=${enable_iphlpapi:-no}
7782 enable_kernel32
=${enable_kernel32:-no}
7783 enable_msvcrt
=${enable_msvcrt:-no}
7784 enable_ntdll
=${enable_ntdll:-no}
7785 enable_ws2_32
=${enable_ws2_32:-no}
7786 enable_loader
=${enable_loader:-no}
7787 enable_server
=${enable_server:-no}
7788 with_x
=${with_x:-no}
7789 with_pthread
=${with_pthread:-no}
7795 SOCKET_LIBS
="-L\$(top_builddir)/dlls/ws2_32 -lws2_32"
7799 libwine_targets
="libwine.dll libwine.a"
7801 OBJS = \$(C_SRCS:.c=.o) \$(EXTRA_OBJS)
7803 all: libwine.dll libwine.a
7805 libwine.a: \$(srcdir)/wine.def
7806 \$(DLLTOOL) -l \$@ -d \$(srcdir)/wine.def
7808 libwine.dll: \$(OBJS) \$(srcdir)/wine.def
7809 \$(CC) -shared \$(srcdir)/wine.def -o \$@ \$(OBJS) $crtlibs \$(EXTRALIBS)
7811 install install-lib:: libwine.dll
7812 \$(INSTALL_DATA) libwine.dll \$(DESTDIR)\$(libdir)/libwine.dll
7814 install install-dev:: libwine.a
7815 \$(INSTALL_DATA) libwine.a \$(DESTDIR)\$(libdir)/libwine.a
7818 -cd \$(DESTDIR)\$(libdir) && \$(RM) libwine.a libwine.dll
7825 DLLFLAGS
="$DLLFLAGS -fPIC"
7826 LIBWINE_LDFLAGS
="-multiply_defined suppress"
7827 LDRPATH_INSTALL
="-Wl,-rpath,@loader_path/\`\$(MAKEDEP) -R \$(bindir) \$(libdir)\`"
7828 LDRPATH_LOCAL
="-Wl,-rpath,@loader_path/\$(top_builddir)/libs/wine"
7829 COREFOUNDATION_LIBS
="-framework CoreFoundation"
7831 IOKIT_LIBS
="-framework IOKit -framework CoreFoundation"
7833 FORCEFEEDBACK_LIBS
="-framework ForceFeedback -framework CoreFoundation"
7835 APPLICATIONSERVICES_LIBS
="-framework ApplicationServices"
7837 CORESERVICES_LIBS
="-framework CoreServices"
7839 APPKIT_LIBS
="-framework AppKit"
7841 LDEXECFLAGS
="-image_base 0x7bf00000 -Wl,-segaddr,WINE_DOS,0x00001000,-segaddr,WINE_SHAREDHEAP,0x7f000000,-sectcreate,__TEXT,__info_plist,wine_info.plist"
7842 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,-no_pie" >&5
7843 $as_echo_n "checking whether the compiler supports -Wl,-no_pie... " >&6; }
7844 if ${ac_cv_cflags__Wl__no_pie+:} false
; then :
7845 $as_echo_n "(cached) " >&6
7847 ac_wine_try_cflags_saved
=$CFLAGS
7848 CFLAGS
="$CFLAGS -Wl,-no_pie"
7849 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
7850 /* end confdefs.h. */
7851 int main(int argc, char **argv) { return 0; }
7853 if ac_fn_c_try_link
"$LINENO"; then :
7854 ac_cv_cflags__Wl__no_pie
=yes
7856 ac_cv_cflags__Wl__no_pie
=no
7858 rm -f core conftest.err conftest.
$ac_objext \
7859 conftest
$ac_exeext conftest.
$ac_ext
7860 CFLAGS
=$ac_wine_try_cflags_saved
7862 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl__no_pie" >&5
7863 $as_echo "$ac_cv_cflags__Wl__no_pie" >&6; }
7864 if test "x$ac_cv_cflags__Wl__no_pie" = xyes
; then :
7865 LDEXECFLAGS
="-Wl,-no_pie $LDEXECFLAGS"
7867 if test "$ac_cv_header_DiskArbitration_DiskArbitration_h" = "yes"
7869 DISKARBITRATION_LIBS
="-framework DiskArbitration -framework CoreFoundation"
7872 if test "$ac_cv_header_Security_Security_h" = "yes"
7874 SECURITY_LIBS
="-framework Security -framework CoreFoundation"
7876 ac_save_LIBS
="$LIBS"
7877 LIBS
="$LIBS $SECURITY_LIBS"
7878 for ac_func
in SSLCopyPeerCertificates
7880 ac_fn_c_check_func
"$LINENO" "SSLCopyPeerCertificates" "ac_cv_func_SSLCopyPeerCertificates"
7881 if test "x$ac_cv_func_SSLCopyPeerCertificates" = xyes
; then :
7882 cat >>confdefs.h
<<_ACEOF
7883 #define HAVE_SSLCOPYPEERCERTIFICATES 1
7889 LIBS
="$ac_save_LIBS"
7890 with_gnutls
=${with_gnutls:-no}
7892 if test "$ac_cv_header_CoreAudio_CoreAudio_h" = "yes" -a "$ac_cv_header_AudioUnit_AudioUnit_h" = "yes"
7894 if test "$ac_cv_header_AudioUnit_AudioComponent_h" = "yes"
7896 COREAUDIO_LIBS
="-framework CoreFoundation -framework CoreAudio -framework AudioUnit -framework AudioToolbox -framework CoreMIDI"
7899 COREAUDIO_LIBS
="-framework CoreAudio -framework AudioUnit -framework CoreServices -framework AudioToolbox -framework CoreMIDI"
7902 ac_save_LIBS
="$LIBS"
7903 LIBS
="$LIBS $COREAUDIO_LIBS"
7904 for ac_func
in AUGraphAddNode
7906 ac_fn_c_check_func
"$LINENO" "AUGraphAddNode" "ac_cv_func_AUGraphAddNode"
7907 if test "x$ac_cv_func_AUGraphAddNode" = xyes
; then :
7908 cat >>confdefs.h
<<_ACEOF
7909 #define HAVE_AUGRAPHADDNODE 1
7915 LIBS
="$ac_save_LIBS"
7917 if test "$ac_cv_header_OpenAL_al_h" = "yes"
7919 OPENAL_LIBS
="-framework OpenAL"
7922 cat >>confdefs.h
<<_ACEOF
7923 #define HAVE_OPENAL 1
7926 ac_cv_lib_openal
=yes
7928 if test "$ac_cv_header_OpenCL_opencl_h" = "yes"
7930 OPENCL_LIBS
="-framework OpenCL"
7932 ac_cv_lib_OpenCL_clGetPlatformInfo
=yes
7934 if test "$ac_cv_header_IOKit_hid_IOHIDLib_h" = "yes"
7936 ac_save_LIBS
="$LIBS"
7937 LIBS
="$LIBS $IOKIT_LIBS"
7938 for ac_func
in IOHIDManagerCreate
7940 ac_fn_c_check_func
"$LINENO" "IOHIDManagerCreate" "ac_cv_func_IOHIDManagerCreate"
7941 if test "x$ac_cv_func_IOHIDManagerCreate" = xyes
; then :
7942 cat >>confdefs.h
<<_ACEOF
7943 #define HAVE_IOHIDMANAGERCREATE 1
7949 LIBS
="$ac_save_LIBS"
7951 if test "$ac_cv_header_QuickTime_ImageCompression_h" = "yes"
7953 ac_save_LIBS
="$LIBS"
7954 LIBS
="-framework QuickTime -framework ApplicationServices -framework CoreVideo $LIBS"
7955 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for the QuickTime framework" >&5
7956 $as_echo_n "checking for the QuickTime framework... " >&6; }
7957 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
7958 /* end confdefs.h. */
7959 #include <QuickTime/ImageCompression.h>
7963 CodecManagerVersion(NULL);
7968 if ac_fn_c_try_link
"$LINENO"; then :
7969 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
7970 $as_echo "yes" >&6; }
7971 QUICKTIME_LIBS
="-framework QuickTime -framework ApplicationServices -framework CoreVideo"
7973 enable_wineqtdecoder
=${enable_wineqtdecoder:-yes}
7975 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7976 $as_echo "no" >&6; }
7977 ac_cv_header_QuickTime_ImageCompression_h
=no
7979 rm -f core conftest.err conftest.
$ac_objext \
7980 conftest
$ac_exeext conftest.
$ac_ext
7981 LIBS
="$ac_save_LIBS"
7983 if test "$ac_cv_header_QuickTime_ImageCompression_h" != "yes"
7985 as_fn_append wine_notices
"|QuickTime ${notice_platform}development files not found, video decoding won't be supported."
7987 if test "$ac_cv_header_Carbon_Carbon_h" = "yes"
7989 CARBON_LIBS
="-framework Carbon"
7993 if test "$ac_cv_header_ApplicationServices_ApplicationServices_h" = "yes"
7995 ac_save_LIBS
="$LIBS"
7996 LIBS
="$LIBS $APPLICATIONSERVICES_LIBS"
7997 ac_fn_c_check_func
"$LINENO" "CGDisplayModeGetWidth" "ac_cv_func_CGDisplayModeGetWidth"
7998 if test "x$ac_cv_func_CGDisplayModeGetWidth" = xyes
; then :
7999 enable_winemac_drv
=${enable_winemac_drv:-yes}
8002 LIBS
="$ac_save_LIBS"
8005 if test "x$enable_win16" = "xyes"
8007 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether 16-bit code can be built correctly" >&5
8008 $as_echo_n "checking whether 16-bit code can be built correctly... " >&6; }
8009 if test "$cross_compiling" = yes; then :
8010 { $as_echo "$as_me:${as_lineno-$LINENO}: result: cross-compiling, assuming yes" >&5
8011 $as_echo "cross-compiling, assuming yes" >&6; }
8013 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8014 /* end confdefs.h. */
8017 "good:\tnop;nop\n\t"
8018 ".globl _testfunc\n"
8019 "_testfunc:\tcallw good");
8020 extern void testfunc();
8024 unsigned short *p = (unsigned short *)testfunc;
8025 return p[0] != 0xe866 || p[1] != 0xfffa
8030 if ac_fn_c_try_run
"$LINENO"; then :
8031 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
8032 $as_echo "yes" >&6; }
8034 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8035 $as_echo "no" >&6; }
8036 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
8038 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext \
8039 conftest.
$ac_objext conftest.beam conftest.
$ac_ext
8044 libwine_targets
="libwine.dylib libwine.$libwine_soversion.dylib libwine.$libwine_version.dylib"
8046 OBJS = \$(C_SRCS:.c=.o) \$(EXTRA_OBJS)
8050 libwine.$libwine_version.dylib: \$(OBJS)
8051 \$(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 \$@
8053 libwine.$libwine_soversion.dylib: libwine.$libwine_version.dylib
8054 \$(RM) \$@ && \$(LN_S) libwine.$libwine_version.dylib \$@
8056 libwine.dylib: libwine.$libwine_soversion.dylib
8057 \$(RM) \$@ && \$(LN_S) libwine.$libwine_soversion.dylib \$@
8059 install install-lib:: libwine.$libwine_version.dylib
8060 \$(INSTALL_PROGRAM) libwine.$libwine_version.dylib \$(DESTDIR)\$(libdir)/libwine.$libwine_version.dylib
8061 cd \$(DESTDIR)\$(libdir) && \$(RM) libwine.$libwine_soversion.dylib && \$(LN_S) libwine.$libwine_version.dylib libwine.$libwine_soversion.dylib
8063 install install-dev::
8064 cd \$(DESTDIR)\$(libdir) && \$(RM) libwine.dylib && \$(LN_S) libwine.$libwine_version.dylib libwine.dylib
8067 -cd \$(DESTDIR)\$(libdir) && \$(RM) libwine.dylib libwine.$libwine_soversion.dylib libwine.$libwine_version.dylib
8071 as_fn_append LOADER_RULES
"
8072 $wine_binary: main.o wine_info.plist
8073 \$(CC) -o \$@ $LDEXECFLAGS main.o \$(LIBWINE) \$(LIBPORT) \$(EXTRALIBS) \$(LDFLAGS) \$(LDRPATH_LOCAL)
8075 wine-installed: main.o wine_info.plist
8076 \$(CC) -o \$@ $LDEXECFLAGS main.o \$(LIBWINE) \$(LIBPORT) \$(EXTRALIBS) \$(LDFLAGS) \$(LDRPATH_INSTALL)
8081 DLLFLAGS
="$DLLFLAGS -fPIC"
8085 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -Wl,--export-dynamic" >&5
8086 $as_echo_n "checking whether the compiler supports -fPIC -Wl,--export-dynamic... " >&6; }
8087 if ${ac_cv_cflags__fPIC__Wl___export_dynamic+:} false
; then :
8088 $as_echo_n "(cached) " >&6
8090 ac_wine_try_cflags_saved
=$CFLAGS
8091 CFLAGS
="$CFLAGS -fPIC -Wl,--export-dynamic"
8092 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8093 /* end confdefs.h. */
8094 int main(int argc, char **argv) { return 0; }
8096 if ac_fn_c_try_link
"$LINENO"; then :
8097 ac_cv_cflags__fPIC__Wl___export_dynamic
=yes
8099 ac_cv_cflags__fPIC__Wl___export_dynamic
=no
8101 rm -f core conftest.err conftest.
$ac_objext \
8102 conftest
$ac_exeext conftest.
$ac_ext
8103 CFLAGS
=$ac_wine_try_cflags_saved
8105 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fPIC__Wl___export_dynamic" >&5
8106 $as_echo "$ac_cv_cflags__fPIC__Wl___export_dynamic" >&6; }
8107 if test "x$ac_cv_cflags__fPIC__Wl___export_dynamic" = xyes
; then :
8108 LDEXECFLAGS
="-Wl,--export-dynamic"
8110 as_ac_var
=`$as_echo "ac_cv_cflags_-fPIC -Wl,--rpath,\\$ORIGIN/../lib" | $as_tr_sh`
8111 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -Wl,--rpath,\$ORIGIN/../lib" >&5
8112 $as_echo_n "checking whether the compiler supports -fPIC -Wl,--rpath,\$ORIGIN/../lib... " >&6; }
8113 if eval \
${$as_ac_var+:} false
; then :
8114 $as_echo_n "(cached) " >&6
8116 ac_wine_try_cflags_saved
=$CFLAGS
8117 CFLAGS
="$CFLAGS -fPIC -Wl,--rpath,\$ORIGIN/../lib"
8118 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8119 /* end confdefs.h. */
8120 int main(int argc, char **argv) { return 0; }
8122 if ac_fn_c_try_link
"$LINENO"; then :
8123 eval "$as_ac_var=yes"
8125 eval "$as_ac_var=no"
8127 rm -f core conftest.err conftest.
$ac_objext \
8128 conftest
$ac_exeext conftest.
$ac_ext
8129 CFLAGS
=$ac_wine_try_cflags_saved
8131 eval ac_res
=\$
$as_ac_var
8132 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
8133 $as_echo "$ac_res" >&6; }
8134 if eval test \"x\$
"$as_ac_var"\" = x
"yes"; then :
8135 LDRPATH_INSTALL
="-Wl,--rpath,\\\$\$ORIGIN/\`\$(MAKEDEP) -R \$(bindir) \$(libdir)\`"
8136 LDRPATH_LOCAL
="-Wl,--rpath,\\\$\$ORIGIN/\$(top_builddir)/libs/wine"
8138 as_ac_var
=`$as_echo "ac_cv_cflags_-fPIC -Wl,-R,\\$ORIGIN/../lib" | $as_tr_sh`
8139 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -Wl,-R,\$ORIGIN/../lib" >&5
8140 $as_echo_n "checking whether the compiler supports -fPIC -Wl,-R,\$ORIGIN/../lib... " >&6; }
8141 if eval \
${$as_ac_var+:} false
; then :
8142 $as_echo_n "(cached) " >&6
8144 ac_wine_try_cflags_saved
=$CFLAGS
8145 CFLAGS
="$CFLAGS -fPIC -Wl,-R,\$ORIGIN/../lib"
8146 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8147 /* end confdefs.h. */
8148 int main(int argc, char **argv) { return 0; }
8150 if ac_fn_c_try_link
"$LINENO"; then :
8151 eval "$as_ac_var=yes"
8153 eval "$as_ac_var=no"
8155 rm -f core conftest.err conftest.
$ac_objext \
8156 conftest
$ac_exeext conftest.
$ac_ext
8157 CFLAGS
=$ac_wine_try_cflags_saved
8159 eval ac_res
=\$
$as_ac_var
8160 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
8161 $as_echo "$ac_res" >&6; }
8162 if eval test \"x\$
"$as_ac_var"\" = x
"yes"; then :
8163 LDRPATH_INSTALL
="-Wl,-R,\\\$\$ORIGIN/\`\$(MAKEDEP) -R \$(bindir) \$(libdir)\`"
8164 LDRPATH_LOCAL
="-Wl,-R,\\\$\$ORIGIN/\$(top_builddir)/libs/wine"
8168 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,--enable-new-dtags" >&5
8169 $as_echo_n "checking whether the compiler supports -Wl,--enable-new-dtags... " >&6; }
8170 if ${ac_cv_cflags__Wl___enable_new_dtags+:} false
; then :
8171 $as_echo_n "(cached) " >&6
8173 ac_wine_try_cflags_saved
=$CFLAGS
8174 CFLAGS
="$CFLAGS -Wl,--enable-new-dtags"
8175 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8176 /* end confdefs.h. */
8177 int main(int argc, char **argv) { return 0; }
8179 if ac_fn_c_try_link
"$LINENO"; then :
8180 ac_cv_cflags__Wl___enable_new_dtags
=yes
8182 ac_cv_cflags__Wl___enable_new_dtags
=no
8184 rm -f core conftest.err conftest.
$ac_objext \
8185 conftest
$ac_exeext conftest.
$ac_ext
8186 CFLAGS
=$ac_wine_try_cflags_saved
8188 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl___enable_new_dtags" >&5
8189 $as_echo "$ac_cv_cflags__Wl___enable_new_dtags" >&6; }
8190 if test "x$ac_cv_cflags__Wl___enable_new_dtags" = xyes
; then :
8191 LDRPATH_INSTALL
="$LDRPATH_INSTALL -Wl,--enable-new-dtags"
8195 *i
[3456789]86* | x86_64
)
8196 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,--section-start,.interp=0x7bf00400" >&5
8197 $as_echo_n "checking whether the compiler supports -Wl,--section-start,.interp=0x7bf00400... " >&6; }
8198 if ${ac_cv_cflags__Wl___section_start__interp_0x7bf00400+:} false
; then :
8199 $as_echo_n "(cached) " >&6
8201 ac_wine_try_cflags_saved
=$CFLAGS
8202 CFLAGS
="$CFLAGS -Wl,--section-start,.interp=0x7bf00400"
8203 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8204 /* end confdefs.h. */
8205 int main(int argc, char **argv) { return 0; }
8207 if ac_fn_c_try_link
"$LINENO"; then :
8208 ac_cv_cflags__Wl___section_start__interp_0x7bf00400
=yes
8210 ac_cv_cflags__Wl___section_start__interp_0x7bf00400
=no
8212 rm -f core conftest.err conftest.
$ac_objext \
8213 conftest
$ac_exeext conftest.
$ac_ext
8214 CFLAGS
=$ac_wine_try_cflags_saved
8216 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl___section_start__interp_0x7bf00400" >&5
8217 $as_echo "$ac_cv_cflags__Wl___section_start__interp_0x7bf00400" >&6; }
8218 if test "x$ac_cv_cflags__Wl___section_start__interp_0x7bf00400" = xyes
; then :
8219 LDEXECFLAGS
="$LDEXECFLAGS -Wl,--section-start,.interp=0x7bf00400"
8224 libwine_targets
="libwine.so"
8226 OBJS = \$(C_SRCS:.c=.o) \$(EXTRA_OBJS)
8230 libwine.so: \$(OBJS)
8231 \$(CC) -shared \$(OBJS) \$(EXTRALIBS) \$(LDFLAGS) \$(LIBS) -o \$@
8233 install install-lib:: libwine.so
8234 \$(INSTALL_PROGRAM) libwine.so \$(DESTDIR)\$(libdir)/libwine.so
8237 \$(RM) \$(DESTDIR)\$(libdir)/libwine.so
8241 as_fn_append LOADER_RULES
"
8242 $wine_binary: main.o
8243 \$(CC) -o \$@ $LDEXECFLAGS main.o \$(LIBWINE) \$(LIBPORT) \$(EXTRALIBS) \$(LDFLAGS) \$(LDRPATH_LOCAL)
8245 wine-installed: main.o
8246 \$(CC) -o \$@ $LDEXECFLAGS main.o \$(LIBWINE) \$(LIBPORT) \$(EXTRALIBS) \$(LDFLAGS) \$(LDRPATH_INSTALL)
8251 DLLFLAGS
="$DLLFLAGS -fPIC"
8253 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we can build a GNU style ELF dll" >&5
8254 $as_echo_n "checking whether we can build a GNU style ELF dll... " >&6; }
8255 if ${ac_cv_c_dll_gnuelf+:} false
; then :
8256 $as_echo_n "(cached) " >&6
8258 ac_wine_try_cflags_saved
=$CFLAGS
8259 CFLAGS
="$CFLAGS -fPIC -shared -Wl,-Bsymbolic"
8260 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8261 /* end confdefs.h. */
8264 if ac_fn_c_try_link
"$LINENO"; then :
8265 ac_cv_c_dll_gnuelf
="yes"
8267 ac_cv_c_dll_gnuelf
="no"
8269 rm -f core conftest.err conftest.
$ac_objext \
8270 conftest
$ac_exeext conftest.
$ac_ext
8271 CFLAGS
=$ac_wine_try_cflags_saved
8273 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_dll_gnuelf" >&5
8274 $as_echo "$ac_cv_c_dll_gnuelf" >&6; }
8275 if test "$ac_cv_c_dll_gnuelf" = "yes"
8277 LDSHARED
="\$(CC) -shared"
8278 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -shared -Wl,-soname,confest.so.1" >&5
8279 $as_echo_n "checking whether the compiler supports -fPIC -shared -Wl,-soname,confest.so.1... " >&6; }
8280 if ${ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1+:} false
; then :
8281 $as_echo_n "(cached) " >&6
8283 ac_wine_try_cflags_saved
=$CFLAGS
8284 CFLAGS
="$CFLAGS -fPIC -shared -Wl,-soname,confest.so.1"
8285 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8286 /* end confdefs.h. */
8287 int main(int argc, char **argv) { return 0; }
8289 if ac_fn_c_try_link
"$LINENO"; then :
8290 ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1
=yes
8292 ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1
=no
8294 rm -f core conftest.err conftest.
$ac_objext \
8295 conftest
$ac_exeext conftest.
$ac_ext
8296 CFLAGS
=$ac_wine_try_cflags_saved
8298 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1" >&5
8299 $as_echo "$ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1" >&6; }
8300 if test "x$ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1" = xyes
; then :
8301 LDSHARED
="\$(CC) -shared -Wl,-soname,libwine.so.$libwine_soversion"
8303 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -shared -Wl,-h,confest.so.1" >&5
8304 $as_echo_n "checking whether the compiler supports -fPIC -shared -Wl,-h,confest.so.1... " >&6; }
8305 if ${ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1+:} false
; then :
8306 $as_echo_n "(cached) " >&6
8308 ac_wine_try_cflags_saved
=$CFLAGS
8309 CFLAGS
="$CFLAGS -fPIC -shared -Wl,-h,confest.so.1"
8310 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8311 /* end confdefs.h. */
8312 int main(int argc, char **argv) { return 0; }
8314 if ac_fn_c_try_link
"$LINENO"; then :
8315 ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1
=yes
8317 ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1
=no
8319 rm -f core conftest.err conftest.
$ac_objext \
8320 conftest
$ac_exeext conftest.
$ac_ext
8321 CFLAGS
=$ac_wine_try_cflags_saved
8323 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1" >&5
8324 $as_echo "$ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1" >&6; }
8325 if test "x$ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1" = xyes
; then :
8326 LDSHARED
="\$(CC) -shared -Wl,-h,libwine.so.$libwine_soversion"
8330 echo '{ global: *; };' >conftest.map
8331 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -shared -Wl,--version-script=conftest.map" >&5
8332 $as_echo_n "checking whether the compiler supports -fPIC -shared -Wl,--version-script=conftest.map... " >&6; }
8333 if ${ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map+:} false
; then :
8334 $as_echo_n "(cached) " >&6
8336 ac_wine_try_cflags_saved
=$CFLAGS
8337 CFLAGS
="$CFLAGS -fPIC -shared -Wl,--version-script=conftest.map"
8338 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8339 /* end confdefs.h. */
8340 int main(int argc, char **argv) { return 0; }
8342 if ac_fn_c_try_link
"$LINENO"; then :
8343 ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map
=yes
8345 ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map
=no
8347 rm -f core conftest.err conftest.
$ac_objext \
8348 conftest
$ac_exeext conftest.
$ac_ext
8349 CFLAGS
=$ac_wine_try_cflags_saved
8351 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map" >&5
8352 $as_echo "$ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map" >&6; }
8353 if test "x$ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map" = xyes
; then :
8354 LDSHARED
="$LDSHARED -Wl,--version-script=\$(srcdir)/wine.map"
8358 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -Wl,--export-dynamic" >&5
8359 $as_echo_n "checking whether the compiler supports -fPIC -Wl,--export-dynamic... " >&6; }
8360 if ${ac_cv_cflags__fPIC__Wl___export_dynamic+:} false
; then :
8361 $as_echo_n "(cached) " >&6
8363 ac_wine_try_cflags_saved
=$CFLAGS
8364 CFLAGS
="$CFLAGS -fPIC -Wl,--export-dynamic"
8365 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8366 /* end confdefs.h. */
8367 int main(int argc, char **argv) { return 0; }
8369 if ac_fn_c_try_link
"$LINENO"; then :
8370 ac_cv_cflags__fPIC__Wl___export_dynamic
=yes
8372 ac_cv_cflags__fPIC__Wl___export_dynamic
=no
8374 rm -f core conftest.err conftest.
$ac_objext \
8375 conftest
$ac_exeext conftest.
$ac_ext
8376 CFLAGS
=$ac_wine_try_cflags_saved
8378 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fPIC__Wl___export_dynamic" >&5
8379 $as_echo "$ac_cv_cflags__fPIC__Wl___export_dynamic" >&6; }
8380 if test "x$ac_cv_cflags__fPIC__Wl___export_dynamic" = xyes
; then :
8381 LDEXECFLAGS
="-Wl,--export-dynamic"
8384 as_ac_var
=`$as_echo "ac_cv_cflags_-fPIC -Wl,--rpath,\\$ORIGIN/../lib" | $as_tr_sh`
8385 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -Wl,--rpath,\$ORIGIN/../lib" >&5
8386 $as_echo_n "checking whether the compiler supports -fPIC -Wl,--rpath,\$ORIGIN/../lib... " >&6; }
8387 if eval \
${$as_ac_var+:} false
; then :
8388 $as_echo_n "(cached) " >&6
8390 ac_wine_try_cflags_saved
=$CFLAGS
8391 CFLAGS
="$CFLAGS -fPIC -Wl,--rpath,\$ORIGIN/../lib"
8392 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8393 /* end confdefs.h. */
8394 int main(int argc, char **argv) { return 0; }
8396 if ac_fn_c_try_link
"$LINENO"; then :
8397 eval "$as_ac_var=yes"
8399 eval "$as_ac_var=no"
8401 rm -f core conftest.err conftest.
$ac_objext \
8402 conftest
$ac_exeext conftest.
$ac_ext
8403 CFLAGS
=$ac_wine_try_cflags_saved
8405 eval ac_res
=\$
$as_ac_var
8406 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
8407 $as_echo "$ac_res" >&6; }
8408 if eval test \"x\$
"$as_ac_var"\" = x
"yes"; then :
8409 LDRPATH_INSTALL
="-Wl,--rpath,\\\$\$ORIGIN/\`\$(MAKEDEP) -R \$(bindir) \$(libdir)\`"
8410 LDRPATH_LOCAL
="-Wl,--rpath,\\\$\$ORIGIN/\$(top_builddir)/libs/wine"
8412 as_ac_var
=`$as_echo "ac_cv_cflags_-fPIC -Wl,-R,\\$ORIGIN/../lib" | $as_tr_sh`
8413 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -Wl,-R,\$ORIGIN/../lib" >&5
8414 $as_echo_n "checking whether the compiler supports -fPIC -Wl,-R,\$ORIGIN/../lib... " >&6; }
8415 if eval \
${$as_ac_var+:} false
; then :
8416 $as_echo_n "(cached) " >&6
8418 ac_wine_try_cflags_saved
=$CFLAGS
8419 CFLAGS
="$CFLAGS -fPIC -Wl,-R,\$ORIGIN/../lib"
8420 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8421 /* end confdefs.h. */
8422 int main(int argc, char **argv) { return 0; }
8424 if ac_fn_c_try_link
"$LINENO"; then :
8425 eval "$as_ac_var=yes"
8427 eval "$as_ac_var=no"
8429 rm -f core conftest.err conftest.
$ac_objext \
8430 conftest
$ac_exeext conftest.
$ac_ext
8431 CFLAGS
=$ac_wine_try_cflags_saved
8433 eval ac_res
=\$
$as_ac_var
8434 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
8435 $as_echo "$ac_res" >&6; }
8436 if eval test \"x\$
"$as_ac_var"\" = x
"yes"; then :
8437 LDRPATH_INSTALL
="-Wl,-R,\\\$\$ORIGIN/\`\$(MAKEDEP) -R \$(bindir) \$(libdir)\`"
8438 LDRPATH_LOCAL
="-Wl,-R,\\\$\$ORIGIN/\$(top_builddir)/libs/wine"
8442 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,--enable-new-dtags" >&5
8443 $as_echo_n "checking whether the compiler supports -Wl,--enable-new-dtags... " >&6; }
8444 if ${ac_cv_cflags__Wl___enable_new_dtags+:} false
; then :
8445 $as_echo_n "(cached) " >&6
8447 ac_wine_try_cflags_saved
=$CFLAGS
8448 CFLAGS
="$CFLAGS -Wl,--enable-new-dtags"
8449 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8450 /* end confdefs.h. */
8451 int main(int argc, char **argv) { return 0; }
8453 if ac_fn_c_try_link
"$LINENO"; then :
8454 ac_cv_cflags__Wl___enable_new_dtags
=yes
8456 ac_cv_cflags__Wl___enable_new_dtags
=no
8458 rm -f core conftest.err conftest.
$ac_objext \
8459 conftest
$ac_exeext conftest.
$ac_ext
8460 CFLAGS
=$ac_wine_try_cflags_saved
8462 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl___enable_new_dtags" >&5
8463 $as_echo "$ac_cv_cflags__Wl___enable_new_dtags" >&6; }
8464 if test "x$ac_cv_cflags__Wl___enable_new_dtags" = xyes
; then :
8465 LDRPATH_INSTALL
="$LDRPATH_INSTALL -Wl,--enable-new-dtags"
8469 *i
[3456789]86* | x86_64
)
8470 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,--section-start,.interp=0x7bf00400" >&5
8471 $as_echo_n "checking whether the compiler supports -Wl,--section-start,.interp=0x7bf00400... " >&6; }
8472 if ${ac_cv_cflags__Wl___section_start__interp_0x7bf00400+:} false
; then :
8473 $as_echo_n "(cached) " >&6
8475 ac_wine_try_cflags_saved
=$CFLAGS
8476 CFLAGS
="$CFLAGS -Wl,--section-start,.interp=0x7bf00400"
8477 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8478 /* end confdefs.h. */
8479 int main(int argc, char **argv) { return 0; }
8481 if ac_fn_c_try_link
"$LINENO"; then :
8482 ac_cv_cflags__Wl___section_start__interp_0x7bf00400
=yes
8484 ac_cv_cflags__Wl___section_start__interp_0x7bf00400
=no
8486 rm -f core conftest.err conftest.
$ac_objext \
8487 conftest
$ac_exeext conftest.
$ac_ext
8488 CFLAGS
=$ac_wine_try_cflags_saved
8490 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl___section_start__interp_0x7bf00400" >&5
8491 $as_echo "$ac_cv_cflags__Wl___section_start__interp_0x7bf00400" >&6; }
8492 if test "x$ac_cv_cflags__Wl___section_start__interp_0x7bf00400" = xyes
; then :
8494 freebsd
* | kfreebsd
*-gnu) LDEXECFLAGS
="$LDEXECFLAGS -Wl,--section-start,.interp=0x60000400" ;;
8495 *) LDEXECFLAGS
="$LDEXECFLAGS -Wl,--section-start,.interp=0x7bf00400" ;;
8499 # Extract the first word of "prelink", so it can be a program name with args.
8500 set dummy prelink
; ac_word
=$2
8501 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8502 $as_echo_n "checking for $ac_word... " >&6; }
8503 if ${ac_cv_path_PRELINK+:} false
; then :
8504 $as_echo_n "(cached) " >&6
8508 ac_cv_path_PRELINK
="$PRELINK" # Let the user override the test with a path.
8511 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
8512 for as_dir
in /sbin
/usr
/sbin
$PATH
8515 test -z "$as_dir" && as_dir
=.
8516 for ac_exec_ext
in '' $ac_executable_extensions; do
8517 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
8518 ac_cv_path_PRELINK
="$as_dir/$ac_word$ac_exec_ext"
8519 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8526 test -z "$ac_cv_path_PRELINK" && ac_cv_path_PRELINK
="false"
8530 PRELINK
=$ac_cv_path_PRELINK
8531 if test -n "$PRELINK"; then
8532 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PRELINK" >&5
8533 $as_echo "$PRELINK" >&6; }
8535 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8536 $as_echo "no" >&6; }
8540 if test "x$PRELINK" = xfalse
8542 as_fn_append wine_warnings
"|prelink not found, base address of core dlls won't be set correctly."
8548 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we can build a UnixWare (Solaris) dll" >&5
8549 $as_echo_n "checking whether we can build a UnixWare (Solaris) dll... " >&6; }
8550 if ${ac_cv_c_dll_unixware+:} false
; then :
8551 $as_echo_n "(cached) " >&6
8553 ac_wine_try_cflags_saved
=$CFLAGS
8554 CFLAGS
="$CFLAGS -fPIC -Wl,-G,-h,conftest.so.1.0,-B,symbolic"
8555 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8556 /* end confdefs.h. */
8559 if ac_fn_c_try_link
"$LINENO"; then :
8560 ac_cv_c_dll_unixware
="yes"
8562 ac_cv_c_dll_unixware
="no"
8564 rm -f core conftest.err conftest.
$ac_objext \
8565 conftest
$ac_exeext conftest.
$ac_ext
8566 CFLAGS
=$ac_wine_try_cflags_saved
8568 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_dll_unixware" >&5
8569 $as_echo "$ac_cv_c_dll_unixware" >&6; }
8570 if test "$ac_cv_c_dll_unixware" = "yes"
8572 LDSHARED
="\$(CC) -Wl,-G,-h,libwine.so.$libwine_soversion"
8575 libwine_targets
="libwine.so libwine.so.$libwine_soversion libwine.so.$libwine_version"
8577 OBJS = \$(C_SRCS:.c=.o) \$(EXTRA_OBJS)
8581 libwine.so.$libwine_version: \$(OBJS) \$(srcdir)/wine.map
8582 $LDSHARED \$(OBJS) \$(EXTRALIBS) \$(LDFLAGS) \$(LIBS) -o \$@
8584 libwine.so.$libwine_soversion: libwine.so.$libwine_version
8585 \$(RM) \$@ && \$(LN_S) libwine.so.$libwine_version \$@
8587 libwine.so: libwine.so.$libwine_soversion
8588 \$(RM) \$@ && \$(LN_S) libwine.so.$libwine_soversion \$@
8590 install install-lib:: libwine.so.$libwine_version
8591 \$(INSTALL_PROGRAM) libwine.so.$libwine_version \$(DESTDIR)\$(libdir)/libwine.so.$libwine_version
8592 cd \$(DESTDIR)\$(libdir) && \$(RM) libwine.so.$libwine_soversion && \$(LN_S) libwine.so.$libwine_version libwine.so.$libwine_soversion
8594 install install-dev::
8595 cd \$(DESTDIR)\$(libdir) && \$(RM) libwine.so && \$(LN_S) libwine.so.$libwine_version libwine.so
8598 -cd \$(DESTDIR)\$(libdir) && \$(RM) libwine.so libwine.so.$libwine_soversion libwine.so.$libwine_version
8602 as_fn_append LOADER_RULES
"
8603 $wine_binary: main.o
8604 \$(CC) -o \$@ $LDEXECFLAGS main.o \$(LIBWINE) \$(LIBPORT) \$(EXTRALIBS) \$(LDFLAGS) \$(LDRPATH_LOCAL)
8606 wine-installed: main.o
8607 \$(CC) -o \$@ $LDEXECFLAGS main.o \$(LIBWINE) \$(LIBPORT) \$(EXTRALIBS) \$(LDFLAGS) \$(LDRPATH_INSTALL)
8612 as_fn_append LIBWINE_RULES
"
8613 EXTRA_TARGETS = $libwine_targets
8616 enable_wineqtdecoder
=${enable_wineqtdecoder:-no}
8617 enable_winemac_drv
=${enable_winemac_drv:-no}
8621 if test "$cross_compiling" = "no" -a "x$enable_tests" != xno
-a "$LIBEXT" != "dll"
8625 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
8628 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 " ;;
8630 ac_prefix_list
="" ;;
8632 for ac_prog
in $ac_prefix_list
8634 # Extract the first word of "$ac_prog", so it can be a program name with args.
8635 set dummy
$ac_prog; ac_word
=$2
8636 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8637 $as_echo_n "checking for $ac_word... " >&6; }
8638 if ${ac_cv_prog_CROSSCC+:} false
; then :
8639 $as_echo_n "(cached) " >&6
8641 if test -n "$CROSSCC"; then
8642 ac_cv_prog_CROSSCC
="$CROSSCC" # Let the user override the test.
8644 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
8648 test -z "$as_dir" && as_dir
=.
8649 for ac_exec_ext
in '' $ac_executable_extensions; do
8650 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
8651 ac_cv_prog_CROSSCC
="$ac_prog"
8652 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8661 CROSSCC
=$ac_cv_prog_CROSSCC
8662 if test -n "$CROSSCC"; then
8663 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CROSSCC" >&5
8664 $as_echo "$CROSSCC" >&6; }
8666 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8667 $as_echo "no" >&6; }
8671 test -n "$CROSSCC" && break
8673 test -n "$CROSSCC" || CROSSCC
="false"
8675 if test "$CROSSCC" != "false"
8679 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CROSSCC works" >&5
8680 $as_echo_n "checking whether $CROSSCC works... " >&6; }
8681 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8682 /* end confdefs.h. */
8692 if ac_fn_c_try_compile
"$LINENO"; then :
8693 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
8694 $as_echo "yes" >&6; }
8700 *-gcc) CROSSTARGET
=`expr "$1" : '\(.*\)-gcc'` ;;
8705 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8706 $as_echo "no" >&6; }
8708 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
8714 if test "$ac_cv_header_pthread_h" = "yes"
8716 ac_fn_c_check_func
"$LINENO" "pthread_create" "ac_cv_func_pthread_create"
8717 if test "x$ac_cv_func_pthread_create" = xyes
; then :
8720 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pthread_create in -lpthread" >&5
8721 $as_echo_n "checking for pthread_create in -lpthread... " >&6; }
8722 if ${ac_cv_lib_pthread_pthread_create+:} false
; then :
8723 $as_echo_n "(cached) " >&6
8725 ac_check_lib_save_LIBS
=$LIBS
8726 LIBS
="-lpthread $LIBS"
8727 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8728 /* end confdefs.h. */
8730 /* Override any GCC internal prototype to avoid an error.
8731 Use char because int might match the return type of a GCC
8732 builtin and then its argument prototype would still apply. */
8736 char pthread_create ();
8740 return pthread_create ();
8745 if ac_fn_c_try_link
"$LINENO"; then :
8746 ac_cv_lib_pthread_pthread_create
=yes
8748 ac_cv_lib_pthread_pthread_create
=no
8750 rm -f core conftest.err conftest.
$ac_objext \
8751 conftest
$ac_exeext conftest.
$ac_ext
8752 LIBS
=$ac_check_lib_save_LIBS
8754 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_pthread_pthread_create" >&5
8755 $as_echo "$ac_cv_lib_pthread_pthread_create" >&6; }
8756 if test "x$ac_cv_lib_pthread_pthread_create" = xyes
; then :
8757 PTHREAD_LIBS
="-lpthread"
8764 if test "x$ac_cv_func_pthread_create" != xyes
-a "x$PTHREAD_LIBS" = x
; then :
8765 case "x$with_pthread" in
8767 *) as_fn_error $?
"pthread ${notice_platform}development files not found.
8768 Wine cannot support threads without libpthread.
8769 Use the --without-pthread option if you really want this." "$LINENO" 5 ;;
8774 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for X" >&5
8775 $as_echo_n "checking for X... " >&6; }
8778 # Check whether --with-x was given.
8779 if test "${with_x+set}" = set; then :
8783 # $have_x is `yes', `no', `disabled', or empty when we do not yet know.
8784 if test "x$with_x" = xno
; then
8785 # The user explicitly disabled X.
8788 case $x_includes,$x_libraries in #(
8789 *\'*) as_fn_error $?
"cannot use X directory names containing '" "$LINENO" 5;; #(
8790 *,NONE | NONE
,*) if ${ac_cv_have_x+:} false
; then :
8791 $as_echo_n "(cached) " >&6
8793 # One or both of the vars are not set, and there is no cached value.
8794 ac_x_includes
=no ac_x_libraries
=no
8795 rm -f -r conftest.dir
8796 if mkdir conftest.dir
; then
8798 cat >Imakefile
<<'_ACEOF'
8800 @echo incroot='${INCROOT}'
8802 @echo usrlibdir='${USRLIBDIR}'
8804 @echo libdir='${LIBDIR}'
8806 if (export CC
; ${XMKMF-xmkmf}) >/dev
/null
2>/dev
/null
&& test -f Makefile
; then
8807 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
8808 for ac_var
in incroot usrlibdir libdir
; do
8809 eval "ac_im_$ac_var=\`\${MAKE-make} $ac_var 2>/dev/null | sed -n 's/^$ac_var=//p'\`"
8811 # Open Windows xmkmf reportedly sets LIBDIR instead of USRLIBDIR.
8812 for ac_extension
in a so sl dylib la dll
; do
8813 if test ! -f "$ac_im_usrlibdir/libX11.$ac_extension" &&
8814 test -f "$ac_im_libdir/libX11.$ac_extension"; then
8815 ac_im_usrlibdir
=$ac_im_libdir; break
8818 # Screen out bogus values from the imake configuration. They are
8819 # bogus both because they are the default anyway, and because
8820 # using them would break gcc on systems where it needs fixed includes.
8821 case $ac_im_incroot in
8822 /usr
/include
) ac_x_includes
= ;;
8823 *) test -f "$ac_im_incroot/X11/Xos.h" && ac_x_includes
=$ac_im_incroot;;
8825 case $ac_im_usrlibdir in
8826 /usr
/lib |
/usr
/lib64 |
/lib |
/lib64
) ;;
8827 *) test -d "$ac_im_usrlibdir" && ac_x_libraries
=$ac_im_usrlibdir ;;
8831 rm -f -r conftest.dir
8834 # Standard set of common directories for X headers.
8835 # Check X11 before X11Rn because it is often a symlink to the current release.
8849 /usr/local/X11/include
8850 /usr/local/X11R7/include
8851 /usr/local/X11R6/include
8852 /usr/local/X11R5/include
8853 /usr/local/X11R4/include
8855 /usr/local/include/X11
8856 /usr/local/include/X11R7
8857 /usr/local/include/X11R6
8858 /usr/local/include/X11R5
8859 /usr/local/include/X11R4
8863 /usr/XFree86/include/X11
8867 /usr/unsupported/include
8869 /usr/local/x11r5/include
8870 /usr/lpp/Xamples/include
8872 /usr/openwin/include
8873 /usr/openwin/share/include'
8875 if test "$ac_x_includes" = no
; then
8876 # Guess where to find include files, by looking for Xlib.h.
8877 # First, try using that file with no special directory specified.
8878 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8879 /* end confdefs.h. */
8880 #include <X11/Xlib.h>
8882 if ac_fn_c_try_cpp
"$LINENO"; then :
8883 # We can compile using X headers with no special include directory.
8886 for ac_dir
in $ac_x_header_dirs; do
8887 if test -r "$ac_dir/X11/Xlib.h"; then
8888 ac_x_includes
=$ac_dir
8893 rm -f conftest.err conftest.i conftest.
$ac_ext
8894 fi # $ac_x_includes = no
8896 if test "$ac_x_libraries" = no
; then
8897 # Check for the libraries.
8898 # See if we find them without any special options.
8899 # Don't add to $LIBS permanently.
8902 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8903 /* end confdefs.h. */
8904 #include <X11/Xlib.h>
8913 if ac_fn_c_try_link
"$LINENO"; then :
8915 # We can link X programs with no special library path.
8919 for ac_dir
in `$as_echo "$ac_x_includes $ac_x_header_dirs" | sed s/include/lib/g`
8921 # Don't even attempt the hair of trying to link an X program!
8922 for ac_extension
in a so sl dylib la dll
; do
8923 if test -r "$ac_dir/libX11.$ac_extension"; then
8924 ac_x_libraries
=$ac_dir
8930 rm -f core conftest.err conftest.
$ac_objext \
8931 conftest
$ac_exeext conftest.
$ac_ext
8932 fi # $ac_x_libraries = no
8934 case $ac_x_includes,$ac_x_libraries in #(
8936 # Didn't find X, or a directory has "'" in its name.
8937 ac_cv_have_x
="have_x=no";; #(
8939 # Record where we found X for the cache.
8940 ac_cv_have_x
="have_x=yes\
8941 ac_x_includes='$ac_x_includes'\
8942 ac_x_libraries='$ac_x_libraries'"
8948 eval "$ac_cv_have_x"
8951 if test "$have_x" != yes; then
8952 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $have_x" >&5
8953 $as_echo "$have_x" >&6; }
8956 # If each of the values was on the command line, it overrides each guess.
8957 test "x$x_includes" = xNONE
&& x_includes
=$ac_x_includes
8958 test "x$x_libraries" = xNONE
&& x_libraries
=$ac_x_libraries
8959 # Update the cache value to reflect the command line values.
8960 ac_cv_have_x
="have_x=yes\
8961 ac_x_includes='$x_includes'\
8962 ac_x_libraries='$x_libraries'"
8963 { $as_echo "$as_me:${as_lineno-$LINENO}: result: libraries $x_libraries, headers $x_includes" >&5
8964 $as_echo "libraries $x_libraries, headers $x_includes" >&6; }
8967 if test "$no_x" = yes; then
8968 # Not all programs may use this symbol, but it does not hurt to define it.
8970 $as_echo "#define X_DISPLAY_MISSING 1" >>confdefs.h
8972 X_CFLAGS
= X_PRE_LIBS
= X_LIBS
= X_EXTRA_LIBS
=
8974 if test -n "$x_includes"; then
8975 X_CFLAGS
="$X_CFLAGS -I$x_includes"
8978 # It would also be nice to do this for all -L options, not just this one.
8979 if test -n "$x_libraries"; then
8980 X_LIBS
="$X_LIBS -L$x_libraries"
8981 # For Solaris; some versions of Sun CC require a space after -R and
8982 # others require no space. Words are not sufficient . . . .
8983 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -R must be followed by a space" >&5
8984 $as_echo_n "checking whether -R must be followed by a space... " >&6; }
8985 ac_xsave_LIBS
=$LIBS; LIBS
="$LIBS -R$x_libraries"
8986 ac_xsave_c_werror_flag
=$ac_c_werror_flag
8987 ac_c_werror_flag
=yes
8988 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8989 /* end confdefs.h. */
8999 if ac_fn_c_try_link
"$LINENO"; then :
9000 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9001 $as_echo "no" >&6; }
9002 X_LIBS
="$X_LIBS -R$x_libraries"
9004 LIBS
="$ac_xsave_LIBS -R $x_libraries"
9005 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9006 /* end confdefs.h. */
9016 if ac_fn_c_try_link
"$LINENO"; then :
9017 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
9018 $as_echo "yes" >&6; }
9019 X_LIBS
="$X_LIBS -R $x_libraries"
9021 { $as_echo "$as_me:${as_lineno-$LINENO}: result: neither works" >&5
9022 $as_echo "neither works" >&6; }
9024 rm -f core conftest.err conftest.
$ac_objext \
9025 conftest
$ac_exeext conftest.
$ac_ext
9027 rm -f core conftest.err conftest.
$ac_objext \
9028 conftest
$ac_exeext conftest.
$ac_ext
9029 ac_c_werror_flag
=$ac_xsave_c_werror_flag
9033 # Check for system-dependent libraries X programs must link with.
9034 # Do this before checking for the system-independent R6 libraries
9035 # (-lICE), since we may need -lsocket or whatever for X linking.
9037 if test "$ISC" = yes; then
9038 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lnsl_s -linet"
9040 # Martyn Johnson says this is needed for Ultrix, if the X
9041 # libraries were built with DECnet support. And Karl Berry says
9042 # the Alpha needs dnet_stub (dnet does not exist).
9043 ac_xsave_LIBS
="$LIBS"; LIBS
="$LIBS $X_LIBS -lX11"
9044 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9045 /* end confdefs.h. */
9047 /* Override any GCC internal prototype to avoid an error.
9048 Use char because int might match the return type of a GCC
9049 builtin and then its argument prototype would still apply. */
9053 char XOpenDisplay ();
9057 return XOpenDisplay ();
9062 if ac_fn_c_try_link
"$LINENO"; then :
9065 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dnet_ntoa in -ldnet" >&5
9066 $as_echo_n "checking for dnet_ntoa in -ldnet... " >&6; }
9067 if ${ac_cv_lib_dnet_dnet_ntoa+:} false
; then :
9068 $as_echo_n "(cached) " >&6
9070 ac_check_lib_save_LIBS
=$LIBS
9072 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9073 /* end confdefs.h. */
9075 /* Override any GCC internal prototype to avoid an error.
9076 Use char because int might match the return type of a GCC
9077 builtin and then its argument prototype would still apply. */
9085 return dnet_ntoa ();
9090 if ac_fn_c_try_link
"$LINENO"; then :
9091 ac_cv_lib_dnet_dnet_ntoa
=yes
9093 ac_cv_lib_dnet_dnet_ntoa
=no
9095 rm -f core conftest.err conftest.
$ac_objext \
9096 conftest
$ac_exeext conftest.
$ac_ext
9097 LIBS
=$ac_check_lib_save_LIBS
9099 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dnet_dnet_ntoa" >&5
9100 $as_echo "$ac_cv_lib_dnet_dnet_ntoa" >&6; }
9101 if test "x$ac_cv_lib_dnet_dnet_ntoa" = xyes
; then :
9102 X_EXTRA_LIBS
="$X_EXTRA_LIBS -ldnet"
9105 if test $ac_cv_lib_dnet_dnet_ntoa = no
; then
9106 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dnet_ntoa in -ldnet_stub" >&5
9107 $as_echo_n "checking for dnet_ntoa in -ldnet_stub... " >&6; }
9108 if ${ac_cv_lib_dnet_stub_dnet_ntoa+:} false
; then :
9109 $as_echo_n "(cached) " >&6
9111 ac_check_lib_save_LIBS
=$LIBS
9112 LIBS
="-ldnet_stub $LIBS"
9113 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9114 /* end confdefs.h. */
9116 /* Override any GCC internal prototype to avoid an error.
9117 Use char because int might match the return type of a GCC
9118 builtin and then its argument prototype would still apply. */
9126 return dnet_ntoa ();
9131 if ac_fn_c_try_link
"$LINENO"; then :
9132 ac_cv_lib_dnet_stub_dnet_ntoa
=yes
9134 ac_cv_lib_dnet_stub_dnet_ntoa
=no
9136 rm -f core conftest.err conftest.
$ac_objext \
9137 conftest
$ac_exeext conftest.
$ac_ext
9138 LIBS
=$ac_check_lib_save_LIBS
9140 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dnet_stub_dnet_ntoa" >&5
9141 $as_echo "$ac_cv_lib_dnet_stub_dnet_ntoa" >&6; }
9142 if test "x$ac_cv_lib_dnet_stub_dnet_ntoa" = xyes
; then :
9143 X_EXTRA_LIBS
="$X_EXTRA_LIBS -ldnet_stub"
9148 rm -f core conftest.err conftest.
$ac_objext \
9149 conftest
$ac_exeext conftest.
$ac_ext
9150 LIBS
="$ac_xsave_LIBS"
9152 # msh@cis.ufl.edu says -lnsl (and -lsocket) are needed for his 386/AT,
9153 # to get the SysV transport functions.
9154 # Chad R. Larson says the Pyramis MIS-ES running DC/OSx (SVR4)
9156 # The nsl library prevents programs from opening the X display
9157 # on Irix 5.2, according to T.E. Dickey.
9158 # The functions gethostbyname, getservbyname, and inet_addr are
9159 # in -lbsd on LynxOS 3.0.1/i386, according to Lars Hecking.
9160 ac_fn_c_check_func
"$LINENO" "gethostbyname" "ac_cv_func_gethostbyname"
9161 if test "x$ac_cv_func_gethostbyname" = xyes
; then :
9165 if test $ac_cv_func_gethostbyname = no
; then
9166 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gethostbyname in -lnsl" >&5
9167 $as_echo_n "checking for gethostbyname in -lnsl... " >&6; }
9168 if ${ac_cv_lib_nsl_gethostbyname+:} false
; then :
9169 $as_echo_n "(cached) " >&6
9171 ac_check_lib_save_LIBS
=$LIBS
9173 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9174 /* end confdefs.h. */
9176 /* Override any GCC internal prototype to avoid an error.
9177 Use char because int might match the return type of a GCC
9178 builtin and then its argument prototype would still apply. */
9182 char gethostbyname ();
9186 return gethostbyname ();
9191 if ac_fn_c_try_link
"$LINENO"; then :
9192 ac_cv_lib_nsl_gethostbyname
=yes
9194 ac_cv_lib_nsl_gethostbyname
=no
9196 rm -f core conftest.err conftest.
$ac_objext \
9197 conftest
$ac_exeext conftest.
$ac_ext
9198 LIBS
=$ac_check_lib_save_LIBS
9200 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_nsl_gethostbyname" >&5
9201 $as_echo "$ac_cv_lib_nsl_gethostbyname" >&6; }
9202 if test "x$ac_cv_lib_nsl_gethostbyname" = xyes
; then :
9203 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lnsl"
9206 if test $ac_cv_lib_nsl_gethostbyname = no
; then
9207 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gethostbyname in -lbsd" >&5
9208 $as_echo_n "checking for gethostbyname in -lbsd... " >&6; }
9209 if ${ac_cv_lib_bsd_gethostbyname+:} false
; then :
9210 $as_echo_n "(cached) " >&6
9212 ac_check_lib_save_LIBS
=$LIBS
9214 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9215 /* end confdefs.h. */
9217 /* Override any GCC internal prototype to avoid an error.
9218 Use char because int might match the return type of a GCC
9219 builtin and then its argument prototype would still apply. */
9223 char gethostbyname ();
9227 return gethostbyname ();
9232 if ac_fn_c_try_link
"$LINENO"; then :
9233 ac_cv_lib_bsd_gethostbyname
=yes
9235 ac_cv_lib_bsd_gethostbyname
=no
9237 rm -f core conftest.err conftest.
$ac_objext \
9238 conftest
$ac_exeext conftest.
$ac_ext
9239 LIBS
=$ac_check_lib_save_LIBS
9241 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_bsd_gethostbyname" >&5
9242 $as_echo "$ac_cv_lib_bsd_gethostbyname" >&6; }
9243 if test "x$ac_cv_lib_bsd_gethostbyname" = xyes
; then :
9244 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lbsd"
9250 # lieder@skyler.mavd.honeywell.com says without -lsocket,
9251 # socket/setsockopt and other routines are undefined under SCO ODT
9252 # 2.0. But -lsocket is broken on IRIX 5.2 (and is not necessary
9253 # on later versions), says Simon Leinen: it contains gethostby*
9254 # variants that don't use the name server (or something). -lsocket
9255 # must be given before -lnsl if both are needed. We assume that
9256 # if connect needs -lnsl, so does gethostbyname.
9257 ac_fn_c_check_func
"$LINENO" "connect" "ac_cv_func_connect"
9258 if test "x$ac_cv_func_connect" = xyes
; then :
9262 if test $ac_cv_func_connect = no
; then
9263 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for connect in -lsocket" >&5
9264 $as_echo_n "checking for connect in -lsocket... " >&6; }
9265 if ${ac_cv_lib_socket_connect+:} false
; then :
9266 $as_echo_n "(cached) " >&6
9268 ac_check_lib_save_LIBS
=$LIBS
9269 LIBS
="-lsocket $X_EXTRA_LIBS $LIBS"
9270 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9271 /* end confdefs.h. */
9273 /* Override any GCC internal prototype to avoid an error.
9274 Use char because int might match the return type of a GCC
9275 builtin and then its argument prototype would still apply. */
9288 if ac_fn_c_try_link
"$LINENO"; then :
9289 ac_cv_lib_socket_connect
=yes
9291 ac_cv_lib_socket_connect
=no
9293 rm -f core conftest.err conftest.
$ac_objext \
9294 conftest
$ac_exeext conftest.
$ac_ext
9295 LIBS
=$ac_check_lib_save_LIBS
9297 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_socket_connect" >&5
9298 $as_echo "$ac_cv_lib_socket_connect" >&6; }
9299 if test "x$ac_cv_lib_socket_connect" = xyes
; then :
9300 X_EXTRA_LIBS
="-lsocket $X_EXTRA_LIBS"
9305 # Guillermo Gomez says -lposix is necessary on A/UX.
9306 ac_fn_c_check_func
"$LINENO" "remove" "ac_cv_func_remove"
9307 if test "x$ac_cv_func_remove" = xyes
; then :
9311 if test $ac_cv_func_remove = no
; then
9312 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for remove in -lposix" >&5
9313 $as_echo_n "checking for remove in -lposix... " >&6; }
9314 if ${ac_cv_lib_posix_remove+:} false
; then :
9315 $as_echo_n "(cached) " >&6
9317 ac_check_lib_save_LIBS
=$LIBS
9318 LIBS
="-lposix $LIBS"
9319 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9320 /* end confdefs.h. */
9322 /* Override any GCC internal prototype to avoid an error.
9323 Use char because int might match the return type of a GCC
9324 builtin and then its argument prototype would still apply. */
9337 if ac_fn_c_try_link
"$LINENO"; then :
9338 ac_cv_lib_posix_remove
=yes
9340 ac_cv_lib_posix_remove
=no
9342 rm -f core conftest.err conftest.
$ac_objext \
9343 conftest
$ac_exeext conftest.
$ac_ext
9344 LIBS
=$ac_check_lib_save_LIBS
9346 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_posix_remove" >&5
9347 $as_echo "$ac_cv_lib_posix_remove" >&6; }
9348 if test "x$ac_cv_lib_posix_remove" = xyes
; then :
9349 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lposix"
9354 # BSDI BSD/OS 2.1 needs -lipc for XOpenDisplay.
9355 ac_fn_c_check_func
"$LINENO" "shmat" "ac_cv_func_shmat"
9356 if test "x$ac_cv_func_shmat" = xyes
; then :
9360 if test $ac_cv_func_shmat = no
; then
9361 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shmat in -lipc" >&5
9362 $as_echo_n "checking for shmat in -lipc... " >&6; }
9363 if ${ac_cv_lib_ipc_shmat+:} false
; then :
9364 $as_echo_n "(cached) " >&6
9366 ac_check_lib_save_LIBS
=$LIBS
9368 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9369 /* end confdefs.h. */
9371 /* Override any GCC internal prototype to avoid an error.
9372 Use char because int might match the return type of a GCC
9373 builtin and then its argument prototype would still apply. */
9386 if ac_fn_c_try_link
"$LINENO"; then :
9387 ac_cv_lib_ipc_shmat
=yes
9389 ac_cv_lib_ipc_shmat
=no
9391 rm -f core conftest.err conftest.
$ac_objext \
9392 conftest
$ac_exeext conftest.
$ac_ext
9393 LIBS
=$ac_check_lib_save_LIBS
9395 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ipc_shmat" >&5
9396 $as_echo "$ac_cv_lib_ipc_shmat" >&6; }
9397 if test "x$ac_cv_lib_ipc_shmat" = xyes
; then :
9398 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lipc"
9404 # Check for libraries that X11R6 Xt/Xaw programs need.
9405 ac_save_LDFLAGS
=$LDFLAGS
9406 test -n "$x_libraries" && LDFLAGS
="$LDFLAGS -L$x_libraries"
9407 # SM needs ICE to (dynamically) link under SunOS 4.x (so we have to
9408 # check for ICE first), but we must link in the order -lSM -lICE or
9409 # we get undefined symbols. So assume we have SM if we have ICE.
9410 # These have to be linked with before -lX11, unlike the other
9411 # libraries we check for below, so use a different variable.
9412 # John Interrante, Karl Berry
9413 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for IceConnectionNumber in -lICE" >&5
9414 $as_echo_n "checking for IceConnectionNumber in -lICE... " >&6; }
9415 if ${ac_cv_lib_ICE_IceConnectionNumber+:} false
; then :
9416 $as_echo_n "(cached) " >&6
9418 ac_check_lib_save_LIBS
=$LIBS
9419 LIBS
="-lICE $X_EXTRA_LIBS $LIBS"
9420 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9421 /* end confdefs.h. */
9423 /* Override any GCC internal prototype to avoid an error.
9424 Use char because int might match the return type of a GCC
9425 builtin and then its argument prototype would still apply. */
9429 char IceConnectionNumber ();
9433 return IceConnectionNumber ();
9438 if ac_fn_c_try_link
"$LINENO"; then :
9439 ac_cv_lib_ICE_IceConnectionNumber
=yes
9441 ac_cv_lib_ICE_IceConnectionNumber
=no
9443 rm -f core conftest.err conftest.
$ac_objext \
9444 conftest
$ac_exeext conftest.
$ac_ext
9445 LIBS
=$ac_check_lib_save_LIBS
9447 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ICE_IceConnectionNumber" >&5
9448 $as_echo "$ac_cv_lib_ICE_IceConnectionNumber" >&6; }
9449 if test "x$ac_cv_lib_ICE_IceConnectionNumber" = xyes
; then :
9450 X_PRE_LIBS
="$X_PRE_LIBS -lSM -lICE"
9453 LDFLAGS
=$ac_save_LDFLAGS
9458 if test "$have_x" = "yes"
9460 ac_save_CPPFLAGS
="$CPPFLAGS"
9461 CPPFLAGS
="$CPPFLAGS $X_CFLAGS"
9463 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lX11" >&5
9464 $as_echo_n "checking for -lX11... " >&6; }
9465 if ${ac_cv_lib_soname_X11+:} false
; then :
9466 $as_echo_n "(cached) " >&6
9468 ac_check_soname_save_LIBS
=$LIBS
9469 LIBS
="-lX11 $X_LIBS $X_EXTRA_LIBS $LIBS"
9470 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9471 /* end confdefs.h. */
9473 /* Override any GCC internal prototype to avoid an error.
9474 Use char because int might match the return type of a GCC
9475 builtin and then its argument prototype would still apply. */
9479 char XCreateWindow ();
9483 return XCreateWindow ();
9488 if ac_fn_c_try_link
"$LINENO"; then :
9490 dll
) ac_cv_lib_soname_X11
=`$ac_cv_path_LDD conftest.exe | grep "X11" | sed -e "s/dll.*/dll/"';2,$d'` ;;
9491 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'` ;;
9492 *) ac_cv_lib_soname_X11
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libX11\\.$LIBEXT" | sed -e "s/^.*\\[\\(libX11\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
9493 if ${ac_cv_lib_soname_X11:+false} :; then :
9494 ac_cv_lib_soname_X11
=`$LDD conftest$ac_exeext | grep "libX11\\.$LIBEXT" | sed -e "s/^.*\(libX11\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
9498 rm -f core conftest.err conftest.
$ac_objext \
9499 conftest
$ac_exeext conftest.
$ac_ext
9500 LIBS
=$ac_check_soname_save_LIBS
9502 if ${ac_cv_lib_soname_X11:+false} :; then :
9503 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
9504 $as_echo "not found" >&6; }
9507 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_X11" >&5
9508 $as_echo "$ac_cv_lib_soname_X11" >&6; }
9510 cat >>confdefs.h
<<_ACEOF
9511 #define SONAME_LIBX11 "$ac_cv_lib_soname_X11"
9516 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXext" >&5
9517 $as_echo_n "checking for -lXext... " >&6; }
9518 if ${ac_cv_lib_soname_Xext+:} false
; then :
9519 $as_echo_n "(cached) " >&6
9521 ac_check_soname_save_LIBS
=$LIBS
9522 LIBS
="-lXext $X_LIBS -lX11 $X_EXTRA_LIBS $LIBS"
9523 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9524 /* end confdefs.h. */
9526 /* Override any GCC internal prototype to avoid an error.
9527 Use char because int might match the return type of a GCC
9528 builtin and then its argument prototype would still apply. */
9532 char XextCreateExtension ();
9536 return XextCreateExtension ();
9541 if ac_fn_c_try_link
"$LINENO"; then :
9543 dll
) ac_cv_lib_soname_Xext
=`$ac_cv_path_LDD conftest.exe | grep "Xext" | sed -e "s/dll.*/dll/"';2,$d'` ;;
9544 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'` ;;
9545 *) ac_cv_lib_soname_Xext
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXext\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXext\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
9546 if ${ac_cv_lib_soname_Xext:+false} :; then :
9547 ac_cv_lib_soname_Xext
=`$LDD conftest$ac_exeext | grep "libXext\\.$LIBEXT" | sed -e "s/^.*\(libXext\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
9551 rm -f core conftest.err conftest.
$ac_objext \
9552 conftest
$ac_exeext conftest.
$ac_ext
9553 LIBS
=$ac_check_soname_save_LIBS
9555 if ${ac_cv_lib_soname_Xext:+false} :; then :
9556 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
9557 $as_echo "not found" >&6; }
9560 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xext" >&5
9561 $as_echo "$ac_cv_lib_soname_Xext" >&6; }
9563 cat >>confdefs.h
<<_ACEOF
9564 #define SONAME_LIBXEXT "$ac_cv_lib_soname_Xext"
9567 X_LIBS
="$X_LIBS -lXext"
9569 X_LIBS
="$X_LIBS -lX11"
9571 for ac_header
in X11
/Xlib.h \
9574 X11
/Xcursor
/Xcursor.h \
9575 X11
/extensions
/shape.h \
9576 X11
/extensions
/XInput.h \
9577 X11
/extensions
/XInput2.h \
9578 X11
/extensions
/XShm.h \
9579 X11
/extensions
/Xcomposite.h \
9580 X11
/extensions
/Xinerama.h \
9581 X11
/extensions
/Xrandr.h \
9582 X11
/extensions
/Xrender.h \
9583 X11
/extensions
/xf86vmode.h \
9584 X11
/extensions
/xf86vmproto.h
9586 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
9587 ac_fn_c_check_header_compile
"$LINENO" "$ac_header" "$as_ac_Header" "#ifdef HAVE_X11_XLIB_H
9588 # include <X11/Xlib.h>
9590 #ifdef HAVE_X11_XUTIL_H
9591 # include <X11/Xutil.h>
9594 if eval test \"x\$
"$as_ac_Header"\" = x
"yes"; then :
9595 cat >>confdefs.h
<<_ACEOF
9596 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
9604 if test "$ac_cv_header_X11_XKBlib_h" = "yes"
9606 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XkbQueryExtension in -lX11" >&5
9607 $as_echo_n "checking for XkbQueryExtension in -lX11... " >&6; }
9608 if ${ac_cv_lib_X11_XkbQueryExtension+:} false
; then :
9609 $as_echo_n "(cached) " >&6
9611 ac_check_lib_save_LIBS
=$LIBS
9612 LIBS
="-lX11 $X_LIBS $X_EXTRA_LIBS $LIBS"
9613 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9614 /* end confdefs.h. */
9616 /* Override any GCC internal prototype to avoid an error.
9617 Use char because int might match the return type of a GCC
9618 builtin and then its argument prototype would still apply. */
9622 char XkbQueryExtension ();
9626 return XkbQueryExtension ();
9631 if ac_fn_c_try_link
"$LINENO"; then :
9632 ac_cv_lib_X11_XkbQueryExtension
=yes
9634 ac_cv_lib_X11_XkbQueryExtension
=no
9636 rm -f core conftest.err conftest.
$ac_objext \
9637 conftest
$ac_exeext conftest.
$ac_ext
9638 LIBS
=$ac_check_lib_save_LIBS
9640 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_X11_XkbQueryExtension" >&5
9641 $as_echo "$ac_cv_lib_X11_XkbQueryExtension" >&6; }
9642 if test "x$ac_cv_lib_X11_XkbQueryExtension" = xyes
; then :
9644 $as_echo "#define HAVE_XKB 1" >>confdefs.h
9650 if test "$ac_cv_header_X11_Xcursor_Xcursor_h" = "yes"
9652 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXcursor" >&5
9653 $as_echo_n "checking for -lXcursor... " >&6; }
9654 if ${ac_cv_lib_soname_Xcursor+:} false
; then :
9655 $as_echo_n "(cached) " >&6
9657 ac_check_soname_save_LIBS
=$LIBS
9658 LIBS
="-lXcursor $X_LIBS $X_EXTRA_LIBS $LIBS"
9659 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9660 /* end confdefs.h. */
9662 /* Override any GCC internal prototype to avoid an error.
9663 Use char because int might match the return type of a GCC
9664 builtin and then its argument prototype would still apply. */
9668 char XcursorImageLoadCursor ();
9672 return XcursorImageLoadCursor ();
9677 if ac_fn_c_try_link
"$LINENO"; then :
9679 dll
) ac_cv_lib_soname_Xcursor
=`$ac_cv_path_LDD conftest.exe | grep "Xcursor" | sed -e "s/dll.*/dll/"';2,$d'` ;;
9680 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'` ;;
9681 *) ac_cv_lib_soname_Xcursor
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXcursor\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXcursor\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
9682 if ${ac_cv_lib_soname_Xcursor:+false} :; then :
9683 ac_cv_lib_soname_Xcursor
=`$LDD conftest$ac_exeext | grep "libXcursor\\.$LIBEXT" | sed -e "s/^.*\(libXcursor\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
9687 rm -f core conftest.err conftest.
$ac_objext \
9688 conftest
$ac_exeext conftest.
$ac_ext
9689 LIBS
=$ac_check_soname_save_LIBS
9691 if ${ac_cv_lib_soname_Xcursor:+false} :; then :
9692 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
9693 $as_echo "not found" >&6; }
9696 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xcursor" >&5
9697 $as_echo "$ac_cv_lib_soname_Xcursor" >&6; }
9699 cat >>confdefs.h
<<_ACEOF
9700 #define SONAME_LIBXCURSOR "$ac_cv_lib_soname_Xcursor"
9706 if test "x$ac_cv_lib_soname_Xcursor" = "x"; then :
9707 case "x$with_xcursor" in
9708 x
) as_fn_append wine_notices
"|libxcursor ${notice_platform}development files not found, the Xcursor extension won't be supported." ;;
9710 *) as_fn_error $?
"libxcursor ${notice_platform}development files not found, the Xcursor extension won't be supported.
9711 This is an error since --with-xcursor was requested." "$LINENO" 5 ;;
9715 if test "$ac_cv_header_X11_extensions_XInput_h" = "yes"
9717 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXi" >&5
9718 $as_echo_n "checking for -lXi... " >&6; }
9719 if ${ac_cv_lib_soname_Xi+:} false
; then :
9720 $as_echo_n "(cached) " >&6
9722 ac_check_soname_save_LIBS
=$LIBS
9723 LIBS
="-lXi $X_LIBS $X_EXTRA_LIBS $LIBS"
9724 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9725 /* end confdefs.h. */
9727 /* Override any GCC internal prototype to avoid an error.
9728 Use char because int might match the return type of a GCC
9729 builtin and then its argument prototype would still apply. */
9733 char XOpenDevice ();
9737 return XOpenDevice ();
9742 if ac_fn_c_try_link
"$LINENO"; then :
9744 dll
) ac_cv_lib_soname_Xi
=`$ac_cv_path_LDD conftest.exe | grep "Xi" | sed -e "s/dll.*/dll/"';2,$d'` ;;
9745 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'` ;;
9746 *) ac_cv_lib_soname_Xi
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXi\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXi\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
9747 if ${ac_cv_lib_soname_Xi:+false} :; then :
9748 ac_cv_lib_soname_Xi
=`$LDD conftest$ac_exeext | grep "libXi\\.$LIBEXT" | sed -e "s/^.*\(libXi\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
9752 rm -f core conftest.err conftest.
$ac_objext \
9753 conftest
$ac_exeext conftest.
$ac_ext
9754 LIBS
=$ac_check_soname_save_LIBS
9756 if ${ac_cv_lib_soname_Xi:+false} :; then :
9757 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
9758 $as_echo "not found" >&6; }
9761 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xi" >&5
9762 $as_echo "$ac_cv_lib_soname_Xi" >&6; }
9764 cat >>confdefs.h
<<_ACEOF
9765 #define SONAME_LIBXI "$ac_cv_lib_soname_Xi"
9771 if test "x$ac_cv_lib_soname_Xi" = "x"; then :
9772 case "x$with_xinput" in
9773 x
) as_fn_append wine_notices
"|libxi ${notice_platform}development files not found, the Xinput extension won't be supported." ;;
9775 *) as_fn_error $?
"libxi ${notice_platform}development files not found, the Xinput extension won't be supported.
9776 This is an error since --with-xinput was requested." "$LINENO" 5 ;;
9780 if test "x$ac_cv_lib_soname_Xi" != x
9782 if test "$ac_cv_header_X11_extensions_XInput2_h" != "yes"; then :
9783 case "x$with_xinput2" in
9784 x
) as_fn_append wine_notices
"|XInput2 headers not found, the XInput 2 extension won't be supported." ;;
9786 *) as_fn_error $?
"XInput2 headers not found, the XInput 2 extension won't be supported.
9787 This is an error since --with-xinput2 was requested." "$LINENO" 5 ;;
9792 if test "$ac_cv_header_X11_extensions_XShm_h" = "yes"
9794 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XShmQueryExtension in -lXext" >&5
9795 $as_echo_n "checking for XShmQueryExtension in -lXext... " >&6; }
9796 if ${ac_cv_lib_Xext_XShmQueryExtension+:} false
; then :
9797 $as_echo_n "(cached) " >&6
9799 ac_check_lib_save_LIBS
=$LIBS
9800 LIBS
="-lXext $X_LIBS $X_EXTRA_LIBS $LIBS"
9801 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9802 /* end confdefs.h. */
9804 /* Override any GCC internal prototype to avoid an error.
9805 Use char because int might match the return type of a GCC
9806 builtin and then its argument prototype would still apply. */
9810 char XShmQueryExtension ();
9814 return XShmQueryExtension ();
9819 if ac_fn_c_try_link
"$LINENO"; then :
9820 ac_cv_lib_Xext_XShmQueryExtension
=yes
9822 ac_cv_lib_Xext_XShmQueryExtension
=no
9824 rm -f core conftest.err conftest.
$ac_objext \
9825 conftest
$ac_exeext conftest.
$ac_ext
9826 LIBS
=$ac_check_lib_save_LIBS
9828 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xext_XShmQueryExtension" >&5
9829 $as_echo "$ac_cv_lib_Xext_XShmQueryExtension" >&6; }
9830 if test "x$ac_cv_lib_Xext_XShmQueryExtension" = xyes
; then :
9832 $as_echo "#define HAVE_LIBXXSHM 1" >>confdefs.h
9837 if test "$ac_cv_lib_Xext_XShmQueryExtension" != "yes"; then :
9838 case "x$with_xshm" in
9839 x
) as_fn_append wine_notices
"|XShm ${notice_platform}development files not found, X Shared Memory won't be supported." ;;
9841 *) as_fn_error $?
"XShm ${notice_platform}development files not found, X Shared Memory won't be supported.
9842 This is an error since --with-xshm was requested." "$LINENO" 5 ;;
9846 if test "$ac_cv_header_X11_extensions_shape_h" = "yes"
9848 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XShapeQueryExtension in -lXext" >&5
9849 $as_echo_n "checking for XShapeQueryExtension in -lXext... " >&6; }
9850 if ${ac_cv_lib_Xext_XShapeQueryExtension+:} false
; then :
9851 $as_echo_n "(cached) " >&6
9853 ac_check_lib_save_LIBS
=$LIBS
9854 LIBS
="-lXext $X_LIBS $X_EXTRA_LIBS $LIBS"
9855 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9856 /* end confdefs.h. */
9858 /* Override any GCC internal prototype to avoid an error.
9859 Use char because int might match the return type of a GCC
9860 builtin and then its argument prototype would still apply. */
9864 char XShapeQueryExtension ();
9868 return XShapeQueryExtension ();
9873 if ac_fn_c_try_link
"$LINENO"; then :
9874 ac_cv_lib_Xext_XShapeQueryExtension
=yes
9876 ac_cv_lib_Xext_XShapeQueryExtension
=no
9878 rm -f core conftest.err conftest.
$ac_objext \
9879 conftest
$ac_exeext conftest.
$ac_ext
9880 LIBS
=$ac_check_lib_save_LIBS
9882 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xext_XShapeQueryExtension" >&5
9883 $as_echo "$ac_cv_lib_Xext_XShapeQueryExtension" >&6; }
9884 if test "x$ac_cv_lib_Xext_XShapeQueryExtension" = xyes
; then :
9886 $as_echo "#define HAVE_LIBXSHAPE 1" >>confdefs.h
9891 if test "$ac_cv_lib_Xext_XShapeQueryExtension" != "yes"; then :
9892 case "x$with_xshape" in
9893 x
) as_fn_append wine_notices
"|XShape ${notice_platform}development files not found, XShape won't be supported." ;;
9895 *) as_fn_error $?
"XShape ${notice_platform}development files not found, XShape won't be supported.
9896 This is an error since --with-xshape was requested." "$LINENO" 5 ;;
9900 if test "$ac_cv_header_X11_extensions_xf86vmode_h" = "yes" -o "$ac_cv_header_X11_extensions_xf86vmproto_h" = "yes"
9902 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXxf86vm" >&5
9903 $as_echo_n "checking for -lXxf86vm... " >&6; }
9904 if ${ac_cv_lib_soname_Xxf86vm+:} false
; then :
9905 $as_echo_n "(cached) " >&6
9907 ac_check_soname_save_LIBS
=$LIBS
9908 LIBS
="-lXxf86vm $X_LIBS $X_EXTRA_LIBS $LIBS"
9909 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9910 /* end confdefs.h. */
9912 /* Override any GCC internal prototype to avoid an error.
9913 Use char because int might match the return type of a GCC
9914 builtin and then its argument prototype would still apply. */
9918 char XF86VidModeQueryExtension ();
9922 return XF86VidModeQueryExtension ();
9927 if ac_fn_c_try_link
"$LINENO"; then :
9929 dll
) ac_cv_lib_soname_Xxf86vm
=`$ac_cv_path_LDD conftest.exe | grep "Xxf86vm" | sed -e "s/dll.*/dll/"';2,$d'` ;;
9930 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'` ;;
9931 *) ac_cv_lib_soname_Xxf86vm
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXxf86vm\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXxf86vm\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
9932 if ${ac_cv_lib_soname_Xxf86vm:+false} :; then :
9933 ac_cv_lib_soname_Xxf86vm
=`$LDD conftest$ac_exeext | grep "libXxf86vm\\.$LIBEXT" | sed -e "s/^.*\(libXxf86vm\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
9937 rm -f core conftest.err conftest.
$ac_objext \
9938 conftest
$ac_exeext conftest.
$ac_ext
9939 LIBS
=$ac_check_soname_save_LIBS
9941 if ${ac_cv_lib_soname_Xxf86vm:+false} :; then :
9942 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
9943 $as_echo "not found" >&6; }
9946 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xxf86vm" >&5
9947 $as_echo "$ac_cv_lib_soname_Xxf86vm" >&6; }
9949 cat >>confdefs.h
<<_ACEOF
9950 #define SONAME_LIBXXF86VM "$ac_cv_lib_soname_Xxf86vm"
9956 if test "x$ac_cv_lib_soname_Xxf86vm" = "x"; then :
9957 case "x$with_xxf86vm" in
9958 x
) as_fn_append wine_notices
"|libXxf86vm ${notice_platform}development files not found, XFree86 Vidmode won't be supported." ;;
9960 *) as_fn_error $?
"libXxf86vm ${notice_platform}development files not found, XFree86 Vidmode won't be supported.
9961 This is an error since --with-xxf86vm was requested." "$LINENO" 5 ;;
9965 if test "$ac_cv_header_X11_extensions_Xrender_h" = "yes" -a "x$ac_cv_lib_soname_X11" != "x"
9967 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXrender" >&5
9968 $as_echo_n "checking for -lXrender... " >&6; }
9969 if ${ac_cv_lib_soname_Xrender+:} false
; then :
9970 $as_echo_n "(cached) " >&6
9972 ac_check_soname_save_LIBS
=$LIBS
9973 LIBS
="-lXrender $X_LIBS $X_EXTRA_LIBS $LIBS"
9974 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9975 /* end confdefs.h. */
9977 /* Override any GCC internal prototype to avoid an error.
9978 Use char because int might match the return type of a GCC
9979 builtin and then its argument prototype would still apply. */
9983 char XRenderQueryExtension ();
9987 return XRenderQueryExtension ();
9992 if ac_fn_c_try_link
"$LINENO"; then :
9994 dll
) ac_cv_lib_soname_Xrender
=`$ac_cv_path_LDD conftest.exe | grep "Xrender" | sed -e "s/dll.*/dll/"';2,$d'` ;;
9995 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'` ;;
9996 *) ac_cv_lib_soname_Xrender
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXrender\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXrender\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
9997 if ${ac_cv_lib_soname_Xrender:+false} :; then :
9998 ac_cv_lib_soname_Xrender
=`$LDD conftest$ac_exeext | grep "libXrender\\.$LIBEXT" | sed -e "s/^.*\(libXrender\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10002 rm -f core conftest.err conftest.
$ac_objext \
10003 conftest
$ac_exeext conftest.
$ac_ext
10004 LIBS
=$ac_check_soname_save_LIBS
10006 if ${ac_cv_lib_soname_Xrender:+false} :; then :
10007 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10008 $as_echo "not found" >&6; }
10011 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xrender" >&5
10012 $as_echo "$ac_cv_lib_soname_Xrender" >&6; }
10014 cat >>confdefs.h
<<_ACEOF
10015 #define SONAME_LIBXRENDER "$ac_cv_lib_soname_Xrender"
10018 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XRenderSetPictureTransform in -lXrender" >&5
10019 $as_echo_n "checking for XRenderSetPictureTransform in -lXrender... " >&6; }
10020 if ${ac_cv_lib_Xrender_XRenderSetPictureTransform+:} false
; then :
10021 $as_echo_n "(cached) " >&6
10023 ac_check_lib_save_LIBS
=$LIBS
10024 LIBS
="-lXrender $X_LIBS $X_EXTRA_LIBS $LIBS"
10025 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10026 /* end confdefs.h. */
10028 /* Override any GCC internal prototype to avoid an error.
10029 Use char because int might match the return type of a GCC
10030 builtin and then its argument prototype would still apply. */
10034 char XRenderSetPictureTransform ();
10038 return XRenderSetPictureTransform ();
10043 if ac_fn_c_try_link
"$LINENO"; then :
10044 ac_cv_lib_Xrender_XRenderSetPictureTransform
=yes
10046 ac_cv_lib_Xrender_XRenderSetPictureTransform
=no
10048 rm -f core conftest.err conftest.
$ac_objext \
10049 conftest
$ac_exeext conftest.
$ac_ext
10050 LIBS
=$ac_check_lib_save_LIBS
10052 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xrender_XRenderSetPictureTransform" >&5
10053 $as_echo "$ac_cv_lib_Xrender_XRenderSetPictureTransform" >&6; }
10054 if test "x$ac_cv_lib_Xrender_XRenderSetPictureTransform" = xyes
; then :
10056 $as_echo "#define HAVE_XRENDERSETPICTURETRANSFORM 1" >>confdefs.h
10060 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XRenderCreateLinearGradient in -lXrender" >&5
10061 $as_echo_n "checking for XRenderCreateLinearGradient in -lXrender... " >&6; }
10062 if ${ac_cv_lib_Xrender_XRenderCreateLinearGradient+:} false
; then :
10063 $as_echo_n "(cached) " >&6
10065 ac_check_lib_save_LIBS
=$LIBS
10066 LIBS
="-lXrender $X_LIBS $X_EXTRA_LIBS $LIBS"
10067 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10068 /* end confdefs.h. */
10070 /* Override any GCC internal prototype to avoid an error.
10071 Use char because int might match the return type of a GCC
10072 builtin and then its argument prototype would still apply. */
10076 char XRenderCreateLinearGradient ();
10080 return XRenderCreateLinearGradient ();
10085 if ac_fn_c_try_link
"$LINENO"; then :
10086 ac_cv_lib_Xrender_XRenderCreateLinearGradient
=yes
10088 ac_cv_lib_Xrender_XRenderCreateLinearGradient
=no
10090 rm -f core conftest.err conftest.
$ac_objext \
10091 conftest
$ac_exeext conftest.
$ac_ext
10092 LIBS
=$ac_check_lib_save_LIBS
10094 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xrender_XRenderCreateLinearGradient" >&5
10095 $as_echo "$ac_cv_lib_Xrender_XRenderCreateLinearGradient" >&6; }
10096 if test "x$ac_cv_lib_Xrender_XRenderCreateLinearGradient" = xyes
; then :
10098 $as_echo "#define HAVE_XRENDERCREATELINEARGRADIENT 1" >>confdefs.h
10105 if test "x$ac_cv_lib_soname_Xrender" = "x"; then :
10106 case "x$with_xrender" in
10107 x
) as_fn_append wine_warnings
"|libxrender ${notice_platform}development files not found, XRender won't be supported." ;;
10109 *) as_fn_error $?
"libxrender ${notice_platform}development files not found, XRender won't be supported.
10110 This is an error since --with-xrender was requested." "$LINENO" 5 ;;
10114 if test "$ac_cv_header_X11_extensions_Xrandr_h" = "yes" -a "x$ac_cv_lib_soname_Xrender" != "x"
10116 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10117 /* end confdefs.h. */
10118 #include <X11/Xlib.h>
10119 #include <X11/extensions/Xrandr.h>
10123 static typeof(XRRSetScreenConfigAndRate) * func; if (func) return 0;
10128 if ac_fn_c_try_compile
"$LINENO"; then :
10129 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXrandr" >&5
10130 $as_echo_n "checking for -lXrandr... " >&6; }
10131 if ${ac_cv_lib_soname_Xrandr+:} false
; then :
10132 $as_echo_n "(cached) " >&6
10134 ac_check_soname_save_LIBS
=$LIBS
10135 LIBS
="-lXrandr $X_LIBS $X_EXTRA_LIBS $LIBS"
10136 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10137 /* end confdefs.h. */
10139 /* Override any GCC internal prototype to avoid an error.
10140 Use char because int might match the return type of a GCC
10141 builtin and then its argument prototype would still apply. */
10145 char XRRQueryExtension ();
10149 return XRRQueryExtension ();
10154 if ac_fn_c_try_link
"$LINENO"; then :
10156 dll
) ac_cv_lib_soname_Xrandr
=`$ac_cv_path_LDD conftest.exe | grep "Xrandr" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10157 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'` ;;
10158 *) ac_cv_lib_soname_Xrandr
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXrandr\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXrandr\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10159 if ${ac_cv_lib_soname_Xrandr:+false} :; then :
10160 ac_cv_lib_soname_Xrandr
=`$LDD conftest$ac_exeext | grep "libXrandr\\.$LIBEXT" | sed -e "s/^.*\(libXrandr\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10164 rm -f core conftest.err conftest.
$ac_objext \
10165 conftest
$ac_exeext conftest.
$ac_ext
10166 LIBS
=$ac_check_soname_save_LIBS
10168 if ${ac_cv_lib_soname_Xrandr:+false} :; then :
10169 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10170 $as_echo "not found" >&6; }
10173 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xrandr" >&5
10174 $as_echo "$ac_cv_lib_soname_Xrandr" >&6; }
10176 cat >>confdefs.h
<<_ACEOF
10177 #define SONAME_LIBXRANDR "$ac_cv_lib_soname_Xrandr"
10180 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10181 /* end confdefs.h. */
10182 #include <X11/Xlib.h>
10183 #include <X11/extensions/Xrandr.h>
10187 static typeof(XRRGetScreenResources) *f; if (f) return 0;
10192 if ac_fn_c_try_compile
"$LINENO"; then :
10194 $as_echo "#define HAVE_XRRGETSCREENRESOURCES 1" >>confdefs.h
10197 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
10200 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
10202 if test "x$ac_cv_lib_soname_Xrandr" = "x"; then :
10203 case "x$with_xrandr" in
10204 x
) as_fn_append wine_notices
"|libxrandr ${notice_platform}development files not found, XRandr won't be supported." ;;
10206 *) as_fn_error $?
"libxrandr ${notice_platform}development files not found, XRandr won't be supported.
10207 This is an error since --with-xrandr was requested." "$LINENO" 5 ;;
10211 if test "$ac_cv_header_X11_extensions_Xinerama_h" = "yes"
10213 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10214 /* end confdefs.h. */
10215 #include <X11/Xlib.h>
10216 #include <X11/extensions/Xinerama.h>
10220 static typeof(XineramaQueryScreens) * func; if (func) return 0;
10225 if ac_fn_c_try_compile
"$LINENO"; then :
10226 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXinerama" >&5
10227 $as_echo_n "checking for -lXinerama... " >&6; }
10228 if ${ac_cv_lib_soname_Xinerama+:} false
; then :
10229 $as_echo_n "(cached) " >&6
10231 ac_check_soname_save_LIBS
=$LIBS
10232 LIBS
="-lXinerama $X_LIBS $X_EXTRA_LIBS $LIBS"
10233 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10234 /* end confdefs.h. */
10236 /* Override any GCC internal prototype to avoid an error.
10237 Use char because int might match the return type of a GCC
10238 builtin and then its argument prototype would still apply. */
10242 char XineramaQueryScreens ();
10246 return XineramaQueryScreens ();
10251 if ac_fn_c_try_link
"$LINENO"; then :
10253 dll
) ac_cv_lib_soname_Xinerama
=`$ac_cv_path_LDD conftest.exe | grep "Xinerama" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10254 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'` ;;
10255 *) ac_cv_lib_soname_Xinerama
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXinerama\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXinerama\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10256 if ${ac_cv_lib_soname_Xinerama:+false} :; then :
10257 ac_cv_lib_soname_Xinerama
=`$LDD conftest$ac_exeext | grep "libXinerama\\.$LIBEXT" | sed -e "s/^.*\(libXinerama\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10261 rm -f core conftest.err conftest.
$ac_objext \
10262 conftest
$ac_exeext conftest.
$ac_ext
10263 LIBS
=$ac_check_soname_save_LIBS
10265 if ${ac_cv_lib_soname_Xinerama:+false} :; then :
10266 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10267 $as_echo "not found" >&6; }
10270 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xinerama" >&5
10271 $as_echo "$ac_cv_lib_soname_Xinerama" >&6; }
10273 cat >>confdefs.h
<<_ACEOF
10274 #define SONAME_LIBXINERAMA "$ac_cv_lib_soname_Xinerama"
10280 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
10282 if test "x$ac_cv_lib_soname_Xinerama" = "x"; then :
10283 case "x$with_xinerama" in
10284 x
) as_fn_append wine_notices
"|libxinerama ${notice_platform}development files not found, multi-monitor setups won't be supported." ;;
10286 *) as_fn_error $?
"libxinerama ${notice_platform}development files not found, multi-monitor setups won't be supported.
10287 This is an error since --with-xinerama was requested." "$LINENO" 5 ;;
10291 if test "$ac_cv_header_X11_extensions_Xcomposite_h" = "yes"
10293 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXcomposite" >&5
10294 $as_echo_n "checking for -lXcomposite... " >&6; }
10295 if ${ac_cv_lib_soname_Xcomposite+:} false
; then :
10296 $as_echo_n "(cached) " >&6
10298 ac_check_soname_save_LIBS
=$LIBS
10299 LIBS
="-lXcomposite $X_LIBS $X_EXTRA_LIBS $LIBS"
10300 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10301 /* end confdefs.h. */
10303 /* Override any GCC internal prototype to avoid an error.
10304 Use char because int might match the return type of a GCC
10305 builtin and then its argument prototype would still apply. */
10309 char XCompositeRedirectWindow ();
10313 return XCompositeRedirectWindow ();
10318 if ac_fn_c_try_link
"$LINENO"; then :
10320 dll
) ac_cv_lib_soname_Xcomposite
=`$ac_cv_path_LDD conftest.exe | grep "Xcomposite" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10321 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'` ;;
10322 *) ac_cv_lib_soname_Xcomposite
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXcomposite\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXcomposite\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10323 if ${ac_cv_lib_soname_Xcomposite:+false} :; then :
10324 ac_cv_lib_soname_Xcomposite
=`$LDD conftest$ac_exeext | grep "libXcomposite\\.$LIBEXT" | sed -e "s/^.*\(libXcomposite\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10328 rm -f core conftest.err conftest.
$ac_objext \
10329 conftest
$ac_exeext conftest.
$ac_ext
10330 LIBS
=$ac_check_soname_save_LIBS
10332 if ${ac_cv_lib_soname_Xcomposite:+false} :; then :
10333 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10334 $as_echo "not found" >&6; }
10337 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xcomposite" >&5
10338 $as_echo "$ac_cv_lib_soname_Xcomposite" >&6; }
10340 cat >>confdefs.h
<<_ACEOF
10341 #define SONAME_LIBXCOMPOSITE "$ac_cv_lib_soname_Xcomposite"
10347 if test "x$ac_cv_lib_soname_Xcomposite" = "x"; then :
10348 case "x$with_xcomposite" in
10349 x
) as_fn_append wine_notices
"|libxcomposite ${notice_platform}development files not found, Xcomposite won't be supported." ;;
10351 *) as_fn_error $?
"libxcomposite ${notice_platform}development files not found, Xcomposite won't be supported.
10352 This is an error since --with-xcomposite was requested." "$LINENO" 5 ;;
10356 ac_fn_c_check_member
"$LINENO" "XICCallback" "callback" "ac_cv_member_XICCallback_callback" "#ifdef HAVE_X11_XLIB_H
10357 #include <X11/Xlib.h>
10360 if test "x$ac_cv_member_XICCallback_callback" = xyes
; then :
10362 cat >>confdefs.h
<<_ACEOF
10363 #define HAVE_XICCALLBACK_CALLBACK 1
10368 ac_fn_c_check_member
"$LINENO" "XEvent" "xcookie" "ac_cv_member_XEvent_xcookie" "#ifdef HAVE_X11_XLIB_H
10369 #include <X11/Xlib.h>
10372 if test "x$ac_cv_member_XEvent_xcookie" = xyes
; then :
10374 cat >>confdefs.h
<<_ACEOF
10375 #define HAVE_XEVENT_XCOOKIE 1
10384 if test "x$with_opengl" != "xno"
10386 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lGL" >&5
10387 $as_echo_n "checking for -lGL... " >&6; }
10388 if ${ac_cv_lib_soname_GL+:} false
; then :
10389 $as_echo_n "(cached) " >&6
10391 ac_check_soname_save_LIBS
=$LIBS
10392 LIBS
="-lGL $X_LIBS -lm $X_EXTRA_LIBS $LIBS"
10393 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10394 /* end confdefs.h. */
10396 /* Override any GCC internal prototype to avoid an error.
10397 Use char because int might match the return type of a GCC
10398 builtin and then its argument prototype would still apply. */
10402 char glXCreateContext ();
10406 return glXCreateContext ();
10411 if ac_fn_c_try_link
"$LINENO"; then :
10413 dll
) ac_cv_lib_soname_GL
=`$ac_cv_path_LDD conftest.exe | grep "GL" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10414 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'` ;;
10415 *) ac_cv_lib_soname_GL
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libGL\\.$LIBEXT" | sed -e "s/^.*\\[\\(libGL\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10416 if ${ac_cv_lib_soname_GL:+false} :; then :
10417 ac_cv_lib_soname_GL
=`$LDD conftest$ac_exeext | grep "libGL\\.$LIBEXT" | sed -e "s/^.*\(libGL\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10421 rm -f core conftest.err conftest.
$ac_objext \
10422 conftest
$ac_exeext conftest.
$ac_ext
10423 LIBS
=$ac_check_soname_save_LIBS
10425 if ${ac_cv_lib_soname_GL:+false} :; then :
10426 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10427 $as_echo "not found" >&6; }
10428 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lGL" >&5
10429 $as_echo_n "checking for -lGL... " >&6; }
10430 if ${ac_cv_lib_soname_GL+:} false
; then :
10431 $as_echo_n "(cached) " >&6
10433 ac_check_soname_save_LIBS
=$LIBS
10434 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"
10435 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10436 /* end confdefs.h. */
10438 /* Override any GCC internal prototype to avoid an error.
10439 Use char because int might match the return type of a GCC
10440 builtin and then its argument prototype would still apply. */
10444 char glXCreateContext ();
10448 return glXCreateContext ();
10453 if ac_fn_c_try_link
"$LINENO"; then :
10455 dll
) ac_cv_lib_soname_GL
=`$ac_cv_path_LDD conftest.exe | grep "GL" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10456 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'` ;;
10457 *) ac_cv_lib_soname_GL
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libGL\\.$LIBEXT" | sed -e "s/^.*\\[\\(libGL\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10458 if ${ac_cv_lib_soname_GL:+false} :; then :
10459 ac_cv_lib_soname_GL
=`$LDD conftest$ac_exeext | grep "libGL\\.$LIBEXT" | sed -e "s/^.*\(libGL\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10463 rm -f core conftest.err conftest.
$ac_objext \
10464 conftest
$ac_exeext conftest.
$ac_ext
10465 LIBS
=$ac_check_soname_save_LIBS
10467 if ${ac_cv_lib_soname_GL:+false} :; then :
10468 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10469 $as_echo "not found" >&6; }
10470 if test -f /usr
/X11R
6/lib
/libGL.a
10472 opengl_msg
="/usr/X11R6/lib/libGL.a is present on your system.
10473 This probably prevents linking to OpenGL. Try deleting the file and restarting configure."
10475 opengl_msg
="No OpenGL library found on this system."
10478 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_GL" >&5
10479 $as_echo "$ac_cv_lib_soname_GL" >&6; }
10481 cat >>confdefs.h
<<_ACEOF
10482 #define SONAME_LIBGL "$ac_cv_lib_soname_GL"
10485 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"
10488 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_GL" >&5
10489 $as_echo "$ac_cv_lib_soname_GL" >&6; }
10491 cat >>confdefs.h
<<_ACEOF
10492 #define SONAME_LIBGL "$ac_cv_lib_soname_GL"
10497 if test "x$with_glu" != "xno"
10499 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gluLookAt in -lGLU" >&5
10500 $as_echo_n "checking for gluLookAt in -lGLU... " >&6; }
10501 if ${ac_cv_lib_GLU_gluLookAt+:} false
; then :
10502 $as_echo_n "(cached) " >&6
10504 ac_check_lib_save_LIBS
=$LIBS
10505 LIBS
="-lGLU $OPENGL_LIBS $X_LIBS -lm $X_EXTRA_LIBS $LIBS"
10506 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10507 /* end confdefs.h. */
10509 /* Override any GCC internal prototype to avoid an error.
10510 Use char because int might match the return type of a GCC
10511 builtin and then its argument prototype would still apply. */
10519 return gluLookAt ();
10524 if ac_fn_c_try_link
"$LINENO"; then :
10525 ac_cv_lib_GLU_gluLookAt
=yes
10527 ac_cv_lib_GLU_gluLookAt
=no
10529 rm -f core conftest.err conftest.
$ac_objext \
10530 conftest
$ac_exeext conftest.
$ac_ext
10531 LIBS
=$ac_check_lib_save_LIBS
10533 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_GLU_gluLookAt" >&5
10534 $as_echo "$ac_cv_lib_GLU_gluLookAt" >&6; }
10535 if test "x$ac_cv_lib_GLU_gluLookAt" = xyes
; then :
10539 if test "x$ac_cv_lib_GLU_gluLookAt" != xyes
; then :
10540 case "x$with_glu" in
10541 x
) as_fn_append wine_notices
"|libGLU ${notice_platform}development files not found, GLU won't be supported." ;;
10543 *) as_fn_error $?
"libGLU ${notice_platform}development files not found, GLU won't be supported.
10544 This is an error since --with-glu was requested." "$LINENO" 5 ;;
10549 if test "x$with_osmesa" != "xno"
10551 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lOSMesa" >&5
10552 $as_echo_n "checking for -lOSMesa... " >&6; }
10553 if ${ac_cv_lib_soname_OSMesa+:} false
; then :
10554 $as_echo_n "(cached) " >&6
10556 ac_check_soname_save_LIBS
=$LIBS
10557 LIBS
="-lOSMesa $X_LIBS -lm $X_EXTRA_LIBS $LIBS"
10558 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10559 /* end confdefs.h. */
10561 /* Override any GCC internal prototype to avoid an error.
10562 Use char because int might match the return type of a GCC
10563 builtin and then its argument prototype would still apply. */
10576 if ac_fn_c_try_link
"$LINENO"; then :
10578 dll
) ac_cv_lib_soname_OSMesa
=`$ac_cv_path_LDD conftest.exe | grep "OSMesa" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10579 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'` ;;
10580 *) ac_cv_lib_soname_OSMesa
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libOSMesa\\.$LIBEXT" | sed -e "s/^.*\\[\\(libOSMesa\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10581 if ${ac_cv_lib_soname_OSMesa:+false} :; then :
10582 ac_cv_lib_soname_OSMesa
=`$LDD conftest$ac_exeext | grep "libOSMesa\\.$LIBEXT" | sed -e "s/^.*\(libOSMesa\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10586 rm -f core conftest.err conftest.
$ac_objext \
10587 conftest
$ac_exeext conftest.
$ac_ext
10588 LIBS
=$ac_check_soname_save_LIBS
10590 if ${ac_cv_lib_soname_OSMesa:+false} :; then :
10591 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10592 $as_echo "not found" >&6; }
10595 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_OSMesa" >&5
10596 $as_echo "$ac_cv_lib_soname_OSMesa" >&6; }
10598 cat >>confdefs.h
<<_ACEOF
10599 #define SONAME_LIBOSMESA "$ac_cv_lib_soname_OSMesa"
10604 if test "x$ac_cv_lib_soname_OSMesa" = "x"; then :
10605 case "x$with_osmesa" in
10606 x
) as_fn_append wine_notices
"|libOSMesa ${notice_platform}development files not found (or too old), OpenGL rendering in bitmaps won't be supported." ;;
10608 *) as_fn_error $?
"libOSMesa ${notice_platform}development files not found (or too old), OpenGL rendering in bitmaps won't be supported.
10609 This is an error since --with-osmesa was requested." "$LINENO" 5 ;;
10614 if test -n "$opengl_msg"; then :
10615 case "x$with_opengl" in
10616 x
) as_fn_append wine_warnings
"|$opengl_msg
10617 OpenGL and Direct3D won't be supported." ;;
10619 *) as_fn_error $?
"$opengl_msg
10620 OpenGL and Direct3D won't be supported.
10621 This is an error since --with-opengl was requested." "$LINENO" 5 ;;
10625 CPPFLAGS
="$ac_save_CPPFLAGS"
10629 enable_winex11_drv
=${enable_winex11_drv:-no}
10631 if test "x$X_LIBS" = "x"; then :
10634 *) as_fn_error $?
"X ${notice_platform}development files not found. Wine will be built
10635 without X support, which probably isn't what you want. You will need
10636 to install ${notice_platform}development packages of Xlib/Xfree86 at the very least.
10637 Use the --without-x option if you really want this." "$LINENO" 5 ;;
10641 test "x$ac_cv_lib_GLU_gluLookAt" != xyes
&& enable_glu32
=${enable_glu32:-no}
10643 if test "$ac_cv_header_CL_cl_h" = "yes"
10645 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for clGetPlatformInfo in -lOpenCL" >&5
10646 $as_echo_n "checking for clGetPlatformInfo in -lOpenCL... " >&6; }
10647 if ${ac_cv_lib_OpenCL_clGetPlatformInfo+:} false
; then :
10648 $as_echo_n "(cached) " >&6
10650 ac_check_lib_save_LIBS
=$LIBS
10651 LIBS
="-lOpenCL $LIBS"
10652 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10653 /* end confdefs.h. */
10655 /* Override any GCC internal prototype to avoid an error.
10656 Use char because int might match the return type of a GCC
10657 builtin and then its argument prototype would still apply. */
10661 char clGetPlatformInfo ();
10665 return clGetPlatformInfo ();
10670 if ac_fn_c_try_link
"$LINENO"; then :
10671 ac_cv_lib_OpenCL_clGetPlatformInfo
=yes
10673 ac_cv_lib_OpenCL_clGetPlatformInfo
=no
10675 rm -f core conftest.err conftest.
$ac_objext \
10676 conftest
$ac_exeext conftest.
$ac_ext
10677 LIBS
=$ac_check_lib_save_LIBS
10679 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_OpenCL_clGetPlatformInfo" >&5
10680 $as_echo "$ac_cv_lib_OpenCL_clGetPlatformInfo" >&6; }
10681 if test "x$ac_cv_lib_OpenCL_clGetPlatformInfo" = xyes
; then :
10682 OPENCL_LIBS
="-lOpenCL"
10687 if test "x$ac_cv_lib_OpenCL_clGetPlatformInfo" != xyes
; then :
10688 case "x$with_opencl" in
10689 x
) as_fn_append wine_notices
"|OpenCL ${notice_platform}development files not found, OpenCL won't be supported." ;;
10691 *) as_fn_error $?
"OpenCL ${notice_platform}development files not found, OpenCL won't be supported.
10692 This is an error since --with-opencl was requested." "$LINENO" 5 ;;
10695 test "x$ac_cv_lib_OpenCL_clGetPlatformInfo" != xyes
&& enable_opencl
=${enable_opencl:-no}
10697 if test "$ac_cv_header_pcap_pcap_h" = "yes"
10699 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pcap_create in -lpcap" >&5
10700 $as_echo_n "checking for pcap_create in -lpcap... " >&6; }
10701 if ${ac_cv_lib_pcap_pcap_create+:} false
; then :
10702 $as_echo_n "(cached) " >&6
10704 ac_check_lib_save_LIBS
=$LIBS
10705 LIBS
="-lpcap $LIBS"
10706 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10707 /* end confdefs.h. */
10709 /* Override any GCC internal prototype to avoid an error.
10710 Use char because int might match the return type of a GCC
10711 builtin and then its argument prototype would still apply. */
10715 char pcap_create ();
10719 return pcap_create ();
10724 if ac_fn_c_try_link
"$LINENO"; then :
10725 ac_cv_lib_pcap_pcap_create
=yes
10727 ac_cv_lib_pcap_pcap_create
=no
10729 rm -f core conftest.err conftest.
$ac_objext \
10730 conftest
$ac_exeext conftest.
$ac_ext
10731 LIBS
=$ac_check_lib_save_LIBS
10733 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_pcap_pcap_create" >&5
10734 $as_echo "$ac_cv_lib_pcap_pcap_create" >&6; }
10735 if test "x$ac_cv_lib_pcap_pcap_create" = xyes
; then :
10741 if test "x$ac_cv_lib_pcap_pcap_create" != xyes
; then :
10742 case "x$with_pcap" in
10743 x
) as_fn_append wine_notices
"|pcap ${notice_platform}development files not found, wpcap won't be supported." ;;
10745 *) as_fn_error $?
"pcap ${notice_platform}development files not found, wpcap won't be supported.
10746 This is an error since --with-pcap was requested." "$LINENO" 5 ;;
10749 test "x$ac_cv_lib_pcap_pcap_create" != xyes
&& enable_wpcap
=${enable_wpcap:-no}
10752 if test "x$with_xml" != "xno"
10754 if ${XML2_CFLAGS:+false} :; then :
10755 if ${PKG_CONFIG+:} false
; then :
10756 XML2_CFLAGS
=`$PKG_CONFIG --cflags libxml-2.0 2>/dev/null`
10759 test "$cross_compiling" = yes || XML2_CFLAGS
=${XML2_CFLAGS:-`xml2-config --cflags 2>/dev/null`}
10760 if ${XML2_LIBS:+false} :; then :
10761 if ${PKG_CONFIG+:} false
; then :
10762 XML2_LIBS
=`$PKG_CONFIG --libs libxml-2.0 2>/dev/null`
10765 test "$cross_compiling" = yes || XML2_LIBS
=${XML2_LIBS:-`xml2-config --libs 2>/dev/null`}
10766 XML2_LIBS
=${XML2_LIBS:-"-lxml2"}
10767 $as_echo "$as_me:${as_lineno-$LINENO}: libxml-2.0 cflags: $XML2_CFLAGS" >&5
10768 $as_echo "$as_me:${as_lineno-$LINENO}: libxml-2.0 libs: $XML2_LIBS" >&5
10769 ac_save_CPPFLAGS
=$CPPFLAGS
10770 CPPFLAGS
="$CPPFLAGS $XML2_CFLAGS"
10771 for ac_header
in libxml
/parser.h libxml
/xmlsave.h libxml
/SAX2.h
10773 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
10774 ac_fn_c_check_header_mongrel
"$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
10775 if eval test \"x\$
"$as_ac_Header"\" = x
"yes"; then :
10776 cat >>confdefs.h
<<_ACEOF
10777 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
10784 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"
10786 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlParseMemory in -lxml2" >&5
10787 $as_echo_n "checking for xmlParseMemory in -lxml2... " >&6; }
10788 if ${ac_cv_lib_xml2_xmlParseMemory+:} false
; then :
10789 $as_echo_n "(cached) " >&6
10791 ac_check_lib_save_LIBS
=$LIBS
10792 LIBS
="-lxml2 $XML2_LIBS $LIBS"
10793 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10794 /* end confdefs.h. */
10796 /* Override any GCC internal prototype to avoid an error.
10797 Use char because int might match the return type of a GCC
10798 builtin and then its argument prototype would still apply. */
10802 char xmlParseMemory ();
10806 return xmlParseMemory ();
10811 if ac_fn_c_try_link
"$LINENO"; then :
10812 ac_cv_lib_xml2_xmlParseMemory
=yes
10814 ac_cv_lib_xml2_xmlParseMemory
=no
10816 rm -f core conftest.err conftest.
$ac_objext \
10817 conftest
$ac_exeext conftest.
$ac_ext
10818 LIBS
=$ac_check_lib_save_LIBS
10820 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlParseMemory" >&5
10821 $as_echo "$ac_cv_lib_xml2_xmlParseMemory" >&6; }
10822 if test "x$ac_cv_lib_xml2_xmlParseMemory" = xyes
; then :
10824 $as_echo "#define HAVE_LIBXML2 1" >>confdefs.h
10830 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlReadMemory in -lxml2" >&5
10831 $as_echo_n "checking for xmlReadMemory in -lxml2... " >&6; }
10832 if ${ac_cv_lib_xml2_xmlReadMemory+:} false
; then :
10833 $as_echo_n "(cached) " >&6
10835 ac_check_lib_save_LIBS
=$LIBS
10836 LIBS
="-lxml2 $XML2_LIBS $LIBS"
10837 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10838 /* end confdefs.h. */
10840 /* Override any GCC internal prototype to avoid an error.
10841 Use char because int might match the return type of a GCC
10842 builtin and then its argument prototype would still apply. */
10846 char xmlReadMemory ();
10850 return xmlReadMemory ();
10855 if ac_fn_c_try_link
"$LINENO"; then :
10856 ac_cv_lib_xml2_xmlReadMemory
=yes
10858 ac_cv_lib_xml2_xmlReadMemory
=no
10860 rm -f core conftest.err conftest.
$ac_objext \
10861 conftest
$ac_exeext conftest.
$ac_ext
10862 LIBS
=$ac_check_lib_save_LIBS
10864 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlReadMemory" >&5
10865 $as_echo "$ac_cv_lib_xml2_xmlReadMemory" >&6; }
10866 if test "x$ac_cv_lib_xml2_xmlReadMemory" = xyes
; then :
10868 $as_echo "#define HAVE_XMLREADMEMORY 1" >>confdefs.h
10872 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlNewDocPI in -lxml2" >&5
10873 $as_echo_n "checking for xmlNewDocPI in -lxml2... " >&6; }
10874 if ${ac_cv_lib_xml2_xmlNewDocPI+:} false
; then :
10875 $as_echo_n "(cached) " >&6
10877 ac_check_lib_save_LIBS
=$LIBS
10878 LIBS
="-lxml2 $XML2_LIBS $LIBS"
10879 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10880 /* end confdefs.h. */
10882 /* Override any GCC internal prototype to avoid an error.
10883 Use char because int might match the return type of a GCC
10884 builtin and then its argument prototype would still apply. */
10888 char xmlNewDocPI ();
10892 return xmlNewDocPI ();
10897 if ac_fn_c_try_link
"$LINENO"; then :
10898 ac_cv_lib_xml2_xmlNewDocPI
=yes
10900 ac_cv_lib_xml2_xmlNewDocPI
=no
10902 rm -f core conftest.err conftest.
$ac_objext \
10903 conftest
$ac_exeext conftest.
$ac_ext
10904 LIBS
=$ac_check_lib_save_LIBS
10906 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlNewDocPI" >&5
10907 $as_echo "$ac_cv_lib_xml2_xmlNewDocPI" >&6; }
10908 if test "x$ac_cv_lib_xml2_xmlNewDocPI" = xyes
; then :
10910 $as_echo "#define HAVE_XMLNEWDOCPI 1" >>confdefs.h
10914 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlSchemaSetParserStructuredErrors in -lxml2" >&5
10915 $as_echo_n "checking for xmlSchemaSetParserStructuredErrors in -lxml2... " >&6; }
10916 if ${ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors+:} false
; then :
10917 $as_echo_n "(cached) " >&6
10919 ac_check_lib_save_LIBS
=$LIBS
10920 LIBS
="-lxml2 $XML2_LIBS $LIBS"
10921 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10922 /* end confdefs.h. */
10924 /* Override any GCC internal prototype to avoid an error.
10925 Use char because int might match the return type of a GCC
10926 builtin and then its argument prototype would still apply. */
10930 char xmlSchemaSetParserStructuredErrors ();
10934 return xmlSchemaSetParserStructuredErrors ();
10939 if ac_fn_c_try_link
"$LINENO"; then :
10940 ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors
=yes
10942 ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors
=no
10944 rm -f core conftest.err conftest.
$ac_objext \
10945 conftest
$ac_exeext conftest.
$ac_ext
10946 LIBS
=$ac_check_lib_save_LIBS
10948 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors" >&5
10949 $as_echo "$ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors" >&6; }
10950 if test "x$ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors" = xyes
; then :
10952 $as_echo "#define HAVE_XMLSCHEMASSETPARSERSTRUCTUREDERRORS 1" >>confdefs.h
10956 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlSchemaSetValidStructuredErrors in -lxml2" >&5
10957 $as_echo_n "checking for xmlSchemaSetValidStructuredErrors in -lxml2... " >&6; }
10958 if ${ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors+:} false
; then :
10959 $as_echo_n "(cached) " >&6
10961 ac_check_lib_save_LIBS
=$LIBS
10962 LIBS
="-lxml2 $XML2_LIBS $LIBS"
10963 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10964 /* end confdefs.h. */
10966 /* Override any GCC internal prototype to avoid an error.
10967 Use char because int might match the return type of a GCC
10968 builtin and then its argument prototype would still apply. */
10972 char xmlSchemaSetValidStructuredErrors ();
10976 return xmlSchemaSetValidStructuredErrors ();
10981 if ac_fn_c_try_link
"$LINENO"; then :
10982 ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors
=yes
10984 ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors
=no
10986 rm -f core conftest.err conftest.
$ac_objext \
10987 conftest
$ac_exeext conftest.
$ac_ext
10988 LIBS
=$ac_check_lib_save_LIBS
10990 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors" >&5
10991 $as_echo "$ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors" >&6; }
10992 if test "x$ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors" = xyes
; then :
10994 $as_echo "#define HAVE_XMLSCHEMASSETVALIDSTRUCTUREDERRORS 1" >>confdefs.h
10998 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlFirstElementChild in -lxml2" >&5
10999 $as_echo_n "checking for xmlFirstElementChild in -lxml2... " >&6; }
11000 if ${ac_cv_lib_xml2_xmlFirstElementChild+:} false
; then :
11001 $as_echo_n "(cached) " >&6
11003 ac_check_lib_save_LIBS
=$LIBS
11004 LIBS
="-lxml2 $XML2_LIBS $LIBS"
11005 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11006 /* end confdefs.h. */
11008 /* Override any GCC internal prototype to avoid an error.
11009 Use char because int might match the return type of a GCC
11010 builtin and then its argument prototype would still apply. */
11014 char xmlFirstElementChild ();
11018 return xmlFirstElementChild ();
11023 if ac_fn_c_try_link
"$LINENO"; then :
11024 ac_cv_lib_xml2_xmlFirstElementChild
=yes
11026 ac_cv_lib_xml2_xmlFirstElementChild
=no
11028 rm -f core conftest.err conftest.
$ac_objext \
11029 conftest
$ac_exeext conftest.
$ac_ext
11030 LIBS
=$ac_check_lib_save_LIBS
11032 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlFirstElementChild" >&5
11033 $as_echo "$ac_cv_lib_xml2_xmlFirstElementChild" >&6; }
11034 if test "x$ac_cv_lib_xml2_xmlFirstElementChild" = xyes
; then :
11036 $as_echo "#define HAVE_XMLFIRSTELEMENTCHILD 1" >>confdefs.h
11040 ac_fn_c_check_type
"$LINENO" "xmlDocProperties" "ac_cv_type_xmlDocProperties" "#include <libxml/tree.h>
11042 if test "x$ac_cv_type_xmlDocProperties" = xyes
; then :
11044 $as_echo "#define HAVE_XMLDOC_PROPERTIES 1" >>confdefs.h
11052 CPPFLAGS
=$ac_save_CPPFLAGS
11053 test -z "$XML2_CFLAGS" || XML2_CFLAGS
=`echo " $XML2_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
11054 test -z "$XML2_LIBS" || XML2_LIBS
=`echo " $XML2_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
11057 if test "$ac_cv_lib_xml2_xmlParseMemory" != "yes"; then :
11058 case "x$with_xml" in
11059 x
) as_fn_append wine_warnings
"|libxml2 ${notice_platform}development files not found (or too old), XML won't be supported." ;;
11061 *) as_fn_error $?
"libxml2 ${notice_platform}development files not found (or too old), XML won't be supported.
11062 This is an error since --with-xml was requested." "$LINENO" 5 ;;
11066 if test "x$with_xslt" != "xno"
11068 if ${XSLT_CFLAGS:+false} :; then :
11069 if ${PKG_CONFIG+:} false
; then :
11070 XSLT_CFLAGS
=`$PKG_CONFIG --cflags libxslt 2>/dev/null`
11073 test "$cross_compiling" = yes || XSLT_CFLAGS
=${XSLT_CFLAGS:-`xslt-config --cflags 2>/dev/null`}
11074 if ${XSLT_LIBS:+false} :; then :
11075 if ${PKG_CONFIG+:} false
; then :
11076 XSLT_LIBS
=`$PKG_CONFIG --libs libxslt 2>/dev/null`
11079 test "$cross_compiling" = yes || XSLT_LIBS
=${XSLT_LIBS:-`xslt-config --libs 2>/dev/null`}
11080 XSLT_LIBS
=${XSLT_LIBS:-"-lxml2"}
11081 $as_echo "$as_me:${as_lineno-$LINENO}: libxslt cflags: $XSLT_CFLAGS" >&5
11082 $as_echo "$as_me:${as_lineno-$LINENO}: libxslt libs: $XSLT_LIBS" >&5
11083 ac_save_CPPFLAGS
=$CPPFLAGS
11084 CPPFLAGS
="$CPPFLAGS $XSLT_CFLAGS"
11085 for ac_header
in libxslt
/pattern.h libxslt
/transform.h
11087 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
11088 ac_fn_c_check_header_compile
"$LINENO" "$ac_header" "$as_ac_Header" "#ifdef HAVE_LIBXSLT_PATTERN_H
11089 # include <libxslt/pattern.h>
11092 if eval test \"x\$
"$as_ac_Header"\" = x
"yes"; then :
11093 cat >>confdefs.h
<<_ACEOF
11094 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
11101 if test "$ac_cv_header_libxslt_transform_h" = "yes"
11103 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lxslt" >&5
11104 $as_echo_n "checking for -lxslt... " >&6; }
11105 if ${ac_cv_lib_soname_xslt+:} false
; then :
11106 $as_echo_n "(cached) " >&6
11108 ac_check_soname_save_LIBS
=$LIBS
11109 LIBS
="-lxslt $XSLT_LIBS $LIBS"
11110 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11111 /* end confdefs.h. */
11113 /* Override any GCC internal prototype to avoid an error.
11114 Use char because int might match the return type of a GCC
11115 builtin and then its argument prototype would still apply. */
11119 char xsltCompilePattern ();
11123 return xsltCompilePattern ();
11128 if ac_fn_c_try_link
"$LINENO"; then :
11130 dll
) ac_cv_lib_soname_xslt
=`$ac_cv_path_LDD conftest.exe | grep "xslt" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11131 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'` ;;
11132 *) ac_cv_lib_soname_xslt
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libxslt\\.$LIBEXT" | sed -e "s/^.*\\[\\(libxslt\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
11133 if ${ac_cv_lib_soname_xslt:+false} :; then :
11134 ac_cv_lib_soname_xslt
=`$LDD conftest$ac_exeext | grep "libxslt\\.$LIBEXT" | sed -e "s/^.*\(libxslt\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11138 rm -f core conftest.err conftest.
$ac_objext \
11139 conftest
$ac_exeext conftest.
$ac_ext
11140 LIBS
=$ac_check_soname_save_LIBS
11142 if ${ac_cv_lib_soname_xslt:+false} :; then :
11143 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11144 $as_echo "not found" >&6; }
11147 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_xslt" >&5
11148 $as_echo "$ac_cv_lib_soname_xslt" >&6; }
11150 cat >>confdefs.h
<<_ACEOF
11151 #define SONAME_LIBXSLT "$ac_cv_lib_soname_xslt"
11159 CPPFLAGS
=$ac_save_CPPFLAGS
11160 test -z "$XSLT_CFLAGS" || XSLT_CFLAGS
=`echo " $XSLT_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
11161 test -z "$XSLT_LIBS" || XSLT_LIBS
=`echo " $XSLT_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
11164 if test "x$ac_cv_lib_soname_xslt" = "x"; then :
11165 case "x$with_xslt" in
11166 x
) as_fn_append wine_warnings
"|libxslt ${notice_platform}development files not found, xslt won't be supported." ;;
11168 *) as_fn_error $?
"libxslt ${notice_platform}development files not found, xslt won't be supported.
11169 This is an error since --with-xslt was requested." "$LINENO" 5 ;;
11173 if test "x$with_dbus" != "xno"
11175 if ${DBUS_CFLAGS:+false} :; then :
11176 if ${PKG_CONFIG+:} false
; then :
11177 DBUS_CFLAGS
=`$PKG_CONFIG --cflags dbus-1 2>/dev/null`
11181 if ${DBUS_LIBS:+false} :; then :
11182 if ${PKG_CONFIG+:} false
; then :
11183 DBUS_LIBS
=`$PKG_CONFIG --libs dbus-1 2>/dev/null`
11188 $as_echo "$as_me:${as_lineno-$LINENO}: dbus-1 cflags: $DBUS_CFLAGS" >&5
11189 $as_echo "$as_me:${as_lineno-$LINENO}: dbus-1 libs: $DBUS_LIBS" >&5
11190 ac_save_CPPFLAGS
=$CPPFLAGS
11191 CPPFLAGS
="$CPPFLAGS $DBUS_CFLAGS"
11192 ac_fn_c_check_header_mongrel
"$LINENO" "dbus/dbus.h" "ac_cv_header_dbus_dbus_h" "$ac_includes_default"
11193 if test "x$ac_cv_header_dbus_dbus_h" = xyes
; then :
11194 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -ldbus-1" >&5
11195 $as_echo_n "checking for -ldbus-1... " >&6; }
11196 if ${ac_cv_lib_soname_dbus_1+:} false
; then :
11197 $as_echo_n "(cached) " >&6
11199 ac_check_soname_save_LIBS
=$LIBS
11200 LIBS
="-ldbus-1 $DBUS_LIBS $LIBS"
11201 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11202 /* end confdefs.h. */
11204 /* Override any GCC internal prototype to avoid an error.
11205 Use char because int might match the return type of a GCC
11206 builtin and then its argument prototype would still apply. */
11210 char dbus_connection_close ();
11214 return dbus_connection_close ();
11219 if ac_fn_c_try_link
"$LINENO"; then :
11221 dll
) ac_cv_lib_soname_dbus_1
=`$ac_cv_path_LDD conftest.exe | grep "dbus-1" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11222 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'` ;;
11223 *) 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'`
11224 if ${ac_cv_lib_soname_dbus_1:+false} :; then :
11225 ac_cv_lib_soname_dbus_1
=`$LDD conftest$ac_exeext | grep "libdbus-1\\.$LIBEXT" | sed -e "s/^.*\(libdbus-1\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11229 rm -f core conftest.err conftest.
$ac_objext \
11230 conftest
$ac_exeext conftest.
$ac_ext
11231 LIBS
=$ac_check_soname_save_LIBS
11233 if ${ac_cv_lib_soname_dbus_1:+false} :; then :
11234 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11235 $as_echo "not found" >&6; }
11238 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_dbus_1" >&5
11239 $as_echo "$ac_cv_lib_soname_dbus_1" >&6; }
11241 cat >>confdefs.h
<<_ACEOF
11242 #define SONAME_LIBDBUS_1 "$ac_cv_lib_soname_dbus_1"
11252 CPPFLAGS
=$ac_save_CPPFLAGS
11253 test -z "$DBUS_CFLAGS" || DBUS_CFLAGS
=`echo " $DBUS_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
11254 test -z "$DBUS_LIBS" || DBUS_LIBS
=`echo " $DBUS_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
11257 if test "x$ac_cv_lib_soname_dbus_1" = "x" -a \
11258 "x$ac_cv_header_DiskArbitration_DiskArbitration_h" != "xyes"; then :
11259 case "x$with_dbus" in
11260 x
) as_fn_append wine_notices
"|libdbus ${notice_platform}development files not found, no dynamic device support." ;;
11262 *) as_fn_error $?
"libdbus ${notice_platform}development files not found, no dynamic device support.
11263 This is an error since --with-dbus was requested." "$LINENO" 5 ;;
11267 if test "x$with_hal" != "xno" -a "x$ac_cv_lib_soname_dbus_1" != x
11269 if ${HAL_CFLAGS:+false} :; then :
11270 if ${PKG_CONFIG+:} false
; then :
11271 HAL_CFLAGS
=`$PKG_CONFIG --cflags hal 2>/dev/null`
11275 if ${HAL_LIBS:+false} :; then :
11276 if ${PKG_CONFIG+:} false
; then :
11277 HAL_LIBS
=`$PKG_CONFIG --libs hal 2>/dev/null`
11281 HAL_LIBS
=${HAL_LIBS:-"-ldbus-1"}
11282 $as_echo "$as_me:${as_lineno-$LINENO}: hal cflags: $HAL_CFLAGS" >&5
11283 $as_echo "$as_me:${as_lineno-$LINENO}: hal libs: $HAL_LIBS" >&5
11284 ac_save_CPPFLAGS
=$CPPFLAGS
11285 CPPFLAGS
="$CPPFLAGS $HAL_CFLAGS"
11286 ac_fn_c_check_header_mongrel
"$LINENO" "hal/libhal.h" "ac_cv_header_hal_libhal_h" "$ac_includes_default"
11287 if test "x$ac_cv_header_hal_libhal_h" = xyes
; then :
11288 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lhal" >&5
11289 $as_echo_n "checking for -lhal... " >&6; }
11290 if ${ac_cv_lib_soname_hal+:} false
; then :
11291 $as_echo_n "(cached) " >&6
11293 ac_check_soname_save_LIBS
=$LIBS
11294 LIBS
="-lhal $HAL_LIBS $LIBS"
11295 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11296 /* end confdefs.h. */
11298 /* Override any GCC internal prototype to avoid an error.
11299 Use char because int might match the return type of a GCC
11300 builtin and then its argument prototype would still apply. */
11304 char libhal_ctx_new ();
11308 return libhal_ctx_new ();
11313 if ac_fn_c_try_link
"$LINENO"; then :
11315 dll
) ac_cv_lib_soname_hal
=`$ac_cv_path_LDD conftest.exe | grep "hal" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11316 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'` ;;
11317 *) ac_cv_lib_soname_hal
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libhal\\.$LIBEXT" | sed -e "s/^.*\\[\\(libhal\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
11318 if ${ac_cv_lib_soname_hal:+false} :; then :
11319 ac_cv_lib_soname_hal
=`$LDD conftest$ac_exeext | grep "libhal\\.$LIBEXT" | sed -e "s/^.*\(libhal\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11323 rm -f core conftest.err conftest.
$ac_objext \
11324 conftest
$ac_exeext conftest.
$ac_ext
11325 LIBS
=$ac_check_soname_save_LIBS
11327 if ${ac_cv_lib_soname_hal:+false} :; then :
11328 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11329 $as_echo "not found" >&6; }
11332 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_hal" >&5
11333 $as_echo "$ac_cv_lib_soname_hal" >&6; }
11335 cat >>confdefs.h
<<_ACEOF
11336 #define SONAME_LIBHAL "$ac_cv_lib_soname_hal"
11346 CPPFLAGS
=$ac_save_CPPFLAGS
11347 test -z "$HAL_CFLAGS" || HAL_CFLAGS
=`echo " $HAL_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
11348 test -z "$HAL_LIBS" || HAL_LIBS
=`echo " $HAL_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
11350 if test "x$ac_cv_lib_soname_hal" = "x" -a \
11351 "x$ac_cv_header_DiskArbitration_DiskArbitration_h" != "xyes"; then :
11352 case "x$with_hal" in
11353 x
) as_fn_append wine_notices
"|libhal ${notice_platform}development files not found, no legacy dynamic device support." ;;
11355 *) as_fn_error $?
"libhal ${notice_platform}development files not found, no legacy dynamic device support.
11356 This is an error since --with-hal was requested." "$LINENO" 5 ;;
11361 if test "x$with_gnutls" != "xno"
11363 if ${GNUTLS_CFLAGS:+false} :; then :
11364 if ${PKG_CONFIG+:} false
; then :
11365 GNUTLS_CFLAGS
=`$PKG_CONFIG --cflags gnutls 2>/dev/null`
11369 if ${GNUTLS_LIBS:+false} :; then :
11370 if ${PKG_CONFIG+:} false
; then :
11371 GNUTLS_LIBS
=`$PKG_CONFIG --libs gnutls 2>/dev/null`
11376 $as_echo "$as_me:${as_lineno-$LINENO}: gnutls cflags: $GNUTLS_CFLAGS" >&5
11377 $as_echo "$as_me:${as_lineno-$LINENO}: gnutls libs: $GNUTLS_LIBS" >&5
11378 ac_save_CPPFLAGS
=$CPPFLAGS
11379 CPPFLAGS
="$CPPFLAGS $GNUTLS_CFLAGS"
11380 ac_fn_c_check_header_mongrel
"$LINENO" "gnutls/gnutls.h" "ac_cv_header_gnutls_gnutls_h" "$ac_includes_default"
11381 if test "x$ac_cv_header_gnutls_gnutls_h" = xyes
; then :
11382 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11383 /* end confdefs.h. */
11384 #include <gnutls/gnutls.h>
11385 #include <gnutls/crypto.h>
11389 static typeof(gnutls_mac_get_key_size) *func; if (func) return 0;
11394 if ac_fn_c_try_compile
"$LINENO"; then :
11395 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lgnutls" >&5
11396 $as_echo_n "checking for -lgnutls... " >&6; }
11397 if ${ac_cv_lib_soname_gnutls+:} false
; then :
11398 $as_echo_n "(cached) " >&6
11400 ac_check_soname_save_LIBS
=$LIBS
11401 LIBS
="-lgnutls $GNUTLS_LIBS $LIBS"
11402 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11403 /* end confdefs.h. */
11405 /* Override any GCC internal prototype to avoid an error.
11406 Use char because int might match the return type of a GCC
11407 builtin and then its argument prototype would still apply. */
11411 char gnutls_global_init ();
11415 return gnutls_global_init ();
11420 if ac_fn_c_try_link
"$LINENO"; then :
11422 dll
) ac_cv_lib_soname_gnutls
=`$ac_cv_path_LDD conftest.exe | grep "gnutls" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11423 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'` ;;
11424 *) 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'`
11425 if ${ac_cv_lib_soname_gnutls:+false} :; then :
11426 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'`
11430 rm -f core conftest.err conftest.
$ac_objext \
11431 conftest
$ac_exeext conftest.
$ac_ext
11432 LIBS
=$ac_check_soname_save_LIBS
11434 if ${ac_cv_lib_soname_gnutls:+false} :; then :
11435 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11436 $as_echo "not found" >&6; }
11439 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_gnutls" >&5
11440 $as_echo "$ac_cv_lib_soname_gnutls" >&6; }
11442 cat >>confdefs.h
<<_ACEOF
11443 #define SONAME_LIBGNUTLS "$ac_cv_lib_soname_gnutls"
11449 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
11455 CPPFLAGS
=$ac_save_CPPFLAGS
11456 test -z "$GNUTLS_CFLAGS" || GNUTLS_CFLAGS
=`echo " $GNUTLS_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
11457 test -z "$GNUTLS_LIBS" || GNUTLS_LIBS
=`echo " $GNUTLS_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
11460 if test "x$ac_cv_lib_soname_gnutls" = "x"; then :
11461 case "x$with_gnutls" in
11462 x
) as_fn_append wine_warnings
"|libgnutls ${notice_platform}development files not found, no schannel support." ;;
11464 *) as_fn_error $?
"libgnutls ${notice_platform}development files not found, no schannel support.
11465 This is an error since --with-gnutls was requested." "$LINENO" 5 ;;
11470 if test "$ac_cv_header_ncurses_h" = "yes"
11472 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lncurses" >&5
11473 $as_echo_n "checking for -lncurses... " >&6; }
11474 if ${ac_cv_lib_soname_ncurses+:} false
; then :
11475 $as_echo_n "(cached) " >&6
11477 ac_check_soname_save_LIBS
=$LIBS
11478 LIBS
="-lncurses $LIBS"
11479 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11480 /* end confdefs.h. */
11482 /* Override any GCC internal prototype to avoid an error.
11483 Use char because int might match the return type of a GCC
11484 builtin and then its argument prototype would still apply. */
11497 if ac_fn_c_try_link
"$LINENO"; then :
11499 dll
) ac_cv_lib_soname_ncurses
=`$ac_cv_path_LDD conftest.exe | grep "ncurses" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11500 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'` ;;
11501 *) 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'`
11502 if ${ac_cv_lib_soname_ncurses:+false} :; then :
11503 ac_cv_lib_soname_ncurses
=`$LDD conftest$ac_exeext | grep "libncursesw\\{0,1\\}\\.$LIBEXT" | sed -e "s/^.*\(libncursesw\\{0,1\\}\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11507 rm -f core conftest.err conftest.
$ac_objext \
11508 conftest
$ac_exeext conftest.
$ac_ext
11509 LIBS
=$ac_check_soname_save_LIBS
11511 if ${ac_cv_lib_soname_ncurses:+false} :; then :
11512 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11513 $as_echo "not found" >&6; }
11516 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_ncurses" >&5
11517 $as_echo "$ac_cv_lib_soname_ncurses" >&6; }
11519 cat >>confdefs.h
<<_ACEOF
11520 #define SONAME_LIBNCURSES "$ac_cv_lib_soname_ncurses"
11523 CURSES_LIBS
="-lncurses"
11525 elif test "$ac_cv_header_curses_h" = "yes"
11527 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lcurses" >&5
11528 $as_echo_n "checking for -lcurses... " >&6; }
11529 if ${ac_cv_lib_soname_curses+:} false
; then :
11530 $as_echo_n "(cached) " >&6
11532 ac_check_soname_save_LIBS
=$LIBS
11533 LIBS
="-lcurses $LIBS"
11534 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11535 /* end confdefs.h. */
11537 /* Override any GCC internal prototype to avoid an error.
11538 Use char because int might match the return type of a GCC
11539 builtin and then its argument prototype would still apply. */
11552 if ac_fn_c_try_link
"$LINENO"; then :
11554 dll
) ac_cv_lib_soname_curses
=`$ac_cv_path_LDD conftest.exe | grep "curses" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11555 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'` ;;
11556 *) ac_cv_lib_soname_curses
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libcurses\\.$LIBEXT" | sed -e "s/^.*\\[\\(libcurses\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
11557 if ${ac_cv_lib_soname_curses:+false} :; then :
11558 ac_cv_lib_soname_curses
=`$LDD conftest$ac_exeext | grep "libcurses\\.$LIBEXT" | sed -e "s/^.*\(libcurses\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11562 rm -f core conftest.err conftest.
$ac_objext \
11563 conftest
$ac_exeext conftest.
$ac_ext
11564 LIBS
=$ac_check_soname_save_LIBS
11566 if ${ac_cv_lib_soname_curses:+false} :; then :
11567 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11568 $as_echo "not found" >&6; }
11571 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_curses" >&5
11572 $as_echo "$ac_cv_lib_soname_curses" >&6; }
11574 cat >>confdefs.h
<<_ACEOF
11575 #define SONAME_LIBCURSES "$ac_cv_lib_soname_curses"
11578 CURSES_LIBS
="-lcurses"
11581 ac_save_LIBS
="$LIBS"
11582 LIBS
="$LIBS $CURSES_LIBS"
11583 for ac_func
in mousemask
11585 ac_fn_c_check_func
"$LINENO" "mousemask" "ac_cv_func_mousemask"
11586 if test "x$ac_cv_func_mousemask" = xyes
; then :
11587 cat >>confdefs.h
<<_ACEOF
11588 #define HAVE_MOUSEMASK 1
11594 LIBS
="$ac_save_LIBS"
11595 if test "x$ac_cv_lib_soname_curses$ac_cv_lib_soname_ncurses" = "x"; then :
11596 case "x$with_curses" in
11597 x
) as_fn_append wine_notices
"|lib(n)curses ${notice_platform}development files not found, curses won't be supported." ;;
11599 *) as_fn_error $?
"lib(n)curses ${notice_platform}development files not found, curses won't be supported.
11600 This is an error since --with-curses was requested." "$LINENO" 5 ;;
11604 if test "x$with_sane" != "xno"
11606 if ${SANE_CFLAGS:+false} :; then :
11607 if ${PKG_CONFIG+:} false
; then :
11608 SANE_CFLAGS
=`$PKG_CONFIG --cflags libsane 2>/dev/null`
11611 test "$cross_compiling" = yes || SANE_CFLAGS
=${SANE_CFLAGS:-`sane-config --cflags 2>/dev/null`}
11612 if ${SANE_LIBS:+false} :; then :
11613 if ${PKG_CONFIG+:} false
; then :
11614 SANE_LIBS
=`$PKG_CONFIG --libs libsane 2>/dev/null`
11617 test "$cross_compiling" = yes || SANE_LIBS
=${SANE_LIBS:-`sane-config --ldflags 2>/dev/null`}
11619 $as_echo "$as_me:${as_lineno-$LINENO}: libsane cflags: $SANE_CFLAGS" >&5
11620 $as_echo "$as_me:${as_lineno-$LINENO}: libsane libs: $SANE_LIBS" >&5
11621 ac_save_CPPFLAGS
=$CPPFLAGS
11622 CPPFLAGS
="$CPPFLAGS $SANE_CFLAGS"
11623 ac_fn_c_check_header_mongrel
"$LINENO" "sane/sane.h" "ac_cv_header_sane_sane_h" "$ac_includes_default"
11624 if test "x$ac_cv_header_sane_sane_h" = xyes
; then :
11625 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lsane" >&5
11626 $as_echo_n "checking for -lsane... " >&6; }
11627 if ${ac_cv_lib_soname_sane+:} false
; then :
11628 $as_echo_n "(cached) " >&6
11630 ac_check_soname_save_LIBS
=$LIBS
11631 LIBS
="-lsane $SANE_LIBS $LIBS"
11632 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11633 /* end confdefs.h. */
11635 /* Override any GCC internal prototype to avoid an error.
11636 Use char because int might match the return type of a GCC
11637 builtin and then its argument prototype would still apply. */
11645 return sane_init ();
11650 if ac_fn_c_try_link
"$LINENO"; then :
11652 dll
) ac_cv_lib_soname_sane
=`$ac_cv_path_LDD conftest.exe | grep "sane" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11653 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'` ;;
11654 *) ac_cv_lib_soname_sane
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libsane\\.$LIBEXT" | sed -e "s/^.*\\[\\(libsane\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
11655 if ${ac_cv_lib_soname_sane:+false} :; then :
11656 ac_cv_lib_soname_sane
=`$LDD conftest$ac_exeext | grep "libsane\\.$LIBEXT" | sed -e "s/^.*\(libsane\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11660 rm -f core conftest.err conftest.
$ac_objext \
11661 conftest
$ac_exeext conftest.
$ac_ext
11662 LIBS
=$ac_check_soname_save_LIBS
11664 if ${ac_cv_lib_soname_sane:+false} :; then :
11665 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11666 $as_echo "not found" >&6; }
11669 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_sane" >&5
11670 $as_echo "$ac_cv_lib_soname_sane" >&6; }
11672 cat >>confdefs.h
<<_ACEOF
11673 #define SONAME_LIBSANE "$ac_cv_lib_soname_sane"
11683 CPPFLAGS
=$ac_save_CPPFLAGS
11684 test -z "$SANE_CFLAGS" || SANE_CFLAGS
=`echo " $SANE_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
11685 test -z "$SANE_LIBS" || SANE_LIBS
=`echo " $SANE_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
11688 if test "x$ac_cv_lib_soname_sane" = "x"; then :
11689 case "x$with_sane" in
11690 x
) as_fn_append wine_notices
"|libsane ${notice_platform}development files not found, scanners won't be supported." ;;
11692 *) as_fn_error $?
"libsane ${notice_platform}development files not found, scanners won't be supported.
11693 This is an error since --with-sane was requested." "$LINENO" 5 ;;
11697 if test "x$with_v4l" != "xno"
11699 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lv4l1" >&5
11700 $as_echo_n "checking for -lv4l1... " >&6; }
11701 if ${ac_cv_lib_soname_v4l1+:} false
; then :
11702 $as_echo_n "(cached) " >&6
11704 ac_check_soname_save_LIBS
=$LIBS
11705 LIBS
="-lv4l1 $LIBS"
11706 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11707 /* end confdefs.h. */
11709 /* Override any GCC internal prototype to avoid an error.
11710 Use char because int might match the return type of a GCC
11711 builtin and then its argument prototype would still apply. */
11719 return v4l1_open ();
11724 if ac_fn_c_try_link
"$LINENO"; then :
11726 dll
) ac_cv_lib_soname_v4l1
=`$ac_cv_path_LDD conftest.exe | grep "v4l1" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11727 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'` ;;
11728 *) ac_cv_lib_soname_v4l1
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libv4l1\\.$LIBEXT" | sed -e "s/^.*\\[\\(libv4l1\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
11729 if ${ac_cv_lib_soname_v4l1:+false} :; then :
11730 ac_cv_lib_soname_v4l1
=`$LDD conftest$ac_exeext | grep "libv4l1\\.$LIBEXT" | sed -e "s/^.*\(libv4l1\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11734 rm -f core conftest.err conftest.
$ac_objext \
11735 conftest
$ac_exeext conftest.
$ac_ext
11736 LIBS
=$ac_check_soname_save_LIBS
11738 if ${ac_cv_lib_soname_v4l1:+false} :; then :
11739 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11740 $as_echo "not found" >&6; }
11743 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_v4l1" >&5
11744 $as_echo "$ac_cv_lib_soname_v4l1" >&6; }
11746 cat >>confdefs.h
<<_ACEOF
11747 #define SONAME_LIBV4L1 "$ac_cv_lib_soname_v4l1"
11753 if test "x$ac_cv_lib_soname_v4l1" = "x"; then :
11754 case "x$with_v4l" in
11755 x
) as_fn_append wine_notices
"|libv4l ${notice_platform}development files not found." ;;
11757 *) as_fn_error $?
"libv4l ${notice_platform}development files not found.
11758 This is an error since --with-v4l was requested." "$LINENO" 5 ;;
11762 if test "x$with_gphoto" != "xno"
11764 if ${GPHOTO2_CFLAGS:+false} :; then :
11765 if ${PKG_CONFIG+:} false
; then :
11766 GPHOTO2_CFLAGS
=`$PKG_CONFIG --cflags libgphoto2 2>/dev/null`
11769 test "$cross_compiling" = yes || GPHOTO2_CFLAGS
=${GPHOTO2_CFLAGS:-`gphoto2-config --cflags 2>/dev/null`}
11770 if ${GPHOTO2_LIBS:+false} :; then :
11771 if ${PKG_CONFIG+:} false
; then :
11772 GPHOTO2_LIBS
=`$PKG_CONFIG --libs libgphoto2 2>/dev/null`
11775 test "$cross_compiling" = yes || GPHOTO2_LIBS
=${GPHOTO2_LIBS:-`gphoto2-config --libs 2>/dev/null`}
11776 GPHOTO2_LIBS
=${GPHOTO2_LIBS:-"-lgphoto2"}
11777 $as_echo "$as_me:${as_lineno-$LINENO}: libgphoto2 cflags: $GPHOTO2_CFLAGS" >&5
11778 $as_echo "$as_me:${as_lineno-$LINENO}: libgphoto2 libs: $GPHOTO2_LIBS" >&5
11779 ac_save_CPPFLAGS
=$CPPFLAGS
11780 CPPFLAGS
="$CPPFLAGS $GPHOTO2_CFLAGS"
11781 ac_fn_c_check_header_mongrel
"$LINENO" "gphoto2-camera.h" "ac_cv_header_gphoto2_camera_h" "$ac_includes_default"
11782 if test "x$ac_cv_header_gphoto2_camera_h" = xyes
; then :
11783 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gp_camera_new in -lgphoto2" >&5
11784 $as_echo_n "checking for gp_camera_new in -lgphoto2... " >&6; }
11785 if ${ac_cv_lib_gphoto2_gp_camera_new+:} false
; then :
11786 $as_echo_n "(cached) " >&6
11788 ac_check_lib_save_LIBS
=$LIBS
11789 LIBS
="-lgphoto2 $GPHOTO2_LIBS $LIBS"
11790 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11791 /* end confdefs.h. */
11793 /* Override any GCC internal prototype to avoid an error.
11794 Use char because int might match the return type of a GCC
11795 builtin and then its argument prototype would still apply. */
11799 char gp_camera_new ();
11803 return gp_camera_new ();
11808 if ac_fn_c_try_link
"$LINENO"; then :
11809 ac_cv_lib_gphoto2_gp_camera_new
=yes
11811 ac_cv_lib_gphoto2_gp_camera_new
=no
11813 rm -f core conftest.err conftest.
$ac_objext \
11814 conftest
$ac_exeext conftest.
$ac_ext
11815 LIBS
=$ac_check_lib_save_LIBS
11817 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gphoto2_gp_camera_new" >&5
11818 $as_echo "$ac_cv_lib_gphoto2_gp_camera_new" >&6; }
11819 if test "x$ac_cv_lib_gphoto2_gp_camera_new" = xyes
; then :
11821 $as_echo "#define HAVE_GPHOTO2 1" >>confdefs.h
11824 GPHOTO2_LIBS
=""; GPHOTO2_CFLAGS
=""
11828 GPHOTO2_LIBS
=""; GPHOTO2_CFLAGS
=""
11832 CPPFLAGS
=$ac_save_CPPFLAGS
11833 test -z "$GPHOTO2_CFLAGS" || GPHOTO2_CFLAGS
=`echo " $GPHOTO2_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
11834 test -z "$GPHOTO2_LIBS" || GPHOTO2_LIBS
=`echo " $GPHOTO2_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
11836 if ${GPHOTO2_PORT_CFLAGS:+false} :; then :
11837 if ${PKG_CONFIG+:} false
; then :
11838 GPHOTO2_PORT_CFLAGS
=`$PKG_CONFIG --cflags libgphoto2_port 2>/dev/null`
11841 test "$cross_compiling" = yes || GPHOTO2_PORT_CFLAGS
=${GPHOTO2_PORT_CFLAGS:-`gphoto2-port-config --cflags 2>/dev/null`}
11842 if ${GPHOTO2_PORT_LIBS:+false} :; then :
11843 if ${PKG_CONFIG+:} false
; then :
11844 GPHOTO2_PORT_LIBS
=`$PKG_CONFIG --libs libgphoto2_port 2>/dev/null`
11847 test "$cross_compiling" = yes || GPHOTO2_PORT_LIBS
=${GPHOTO2_PORT_LIBS:-`gphoto2-port-config --libs 2>/dev/null`}
11848 GPHOTO2_PORT_LIBS
=${GPHOTO2_PORT_LIBS:-"-lgphoto2_port"}
11849 $as_echo "$as_me:${as_lineno-$LINENO}: libgphoto2_port cflags: $GPHOTO2_PORT_CFLAGS" >&5
11850 $as_echo "$as_me:${as_lineno-$LINENO}: libgphoto2_port libs: $GPHOTO2_PORT_LIBS" >&5
11851 ac_save_CPPFLAGS
=$CPPFLAGS
11852 CPPFLAGS
="$CPPFLAGS $GPHOTO2_PORT_CFLAGS"
11853 ac_fn_c_check_header_mongrel
"$LINENO" "gphoto2-port.h" "ac_cv_header_gphoto2_port_h" "$ac_includes_default"
11854 if test "x$ac_cv_header_gphoto2_port_h" = xyes
; then :
11855 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gp_port_info_list_new in -lgphoto2_port" >&5
11856 $as_echo_n "checking for gp_port_info_list_new in -lgphoto2_port... " >&6; }
11857 if ${ac_cv_lib_gphoto2_port_gp_port_info_list_new+:} false
; then :
11858 $as_echo_n "(cached) " >&6
11860 ac_check_lib_save_LIBS
=$LIBS
11861 LIBS
="-lgphoto2_port $GPHOTO2_PORT_LIBS $LIBS"
11862 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11863 /* end confdefs.h. */
11865 /* Override any GCC internal prototype to avoid an error.
11866 Use char because int might match the return type of a GCC
11867 builtin and then its argument prototype would still apply. */
11871 char gp_port_info_list_new ();
11875 return gp_port_info_list_new ();
11880 if ac_fn_c_try_link
"$LINENO"; then :
11881 ac_cv_lib_gphoto2_port_gp_port_info_list_new
=yes
11883 ac_cv_lib_gphoto2_port_gp_port_info_list_new
=no
11885 rm -f core conftest.err conftest.
$ac_objext \
11886 conftest
$ac_exeext conftest.
$ac_ext
11887 LIBS
=$ac_check_lib_save_LIBS
11889 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gphoto2_port_gp_port_info_list_new" >&5
11890 $as_echo "$ac_cv_lib_gphoto2_port_gp_port_info_list_new" >&6; }
11891 if test "x$ac_cv_lib_gphoto2_port_gp_port_info_list_new" = xyes
; then :
11893 $as_echo "#define HAVE_GPHOTO2_PORT 1" >>confdefs.h
11896 GPHOTO2_PORT_LIBS
=""; GPHOTO2_PORT_CFLAGS
=""
11900 GPHOTO2_PORT_LIBS
=""; GPHOTO2_PORT_CFLAGS
=""
11904 CPPFLAGS
=$ac_save_CPPFLAGS
11905 test -z "$GPHOTO2_PORT_CFLAGS" || GPHOTO2_PORT_CFLAGS
=`echo " $GPHOTO2_PORT_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
11906 test -z "$GPHOTO2_PORT_LIBS" || GPHOTO2_PORT_LIBS
=`echo " $GPHOTO2_PORT_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
11909 if test "$ac_cv_lib_gphoto2_gp_camera_new" != "yes"; then :
11910 case "x$with_gphoto" in
11911 x
) as_fn_append wine_notices
"|libgphoto2 ${notice_platform}development files not found, digital cameras won't be supported." ;;
11913 *) as_fn_error $?
"libgphoto2 ${notice_platform}development files not found, digital cameras won't be supported.
11914 This is an error since --with-gphoto was requested." "$LINENO" 5 ;;
11917 if test "$ac_cv_lib_gphoto2_port_gp_port_info_list_new" != "yes"; then :
11918 case "x$with_gphoto" in
11919 x
) as_fn_append wine_notices
"|libgphoto2_port ${notice_platform}development files not found, digital cameras won't be auto-detected." ;;
11921 *) as_fn_error $?
"libgphoto2_port ${notice_platform}development files not found, digital cameras won't be auto-detected.
11922 This is an error since --with-gphoto was requested." "$LINENO" 5 ;;
11927 if test "$ac_cv_header_resolv_h" = "yes"
11929 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for resolver library" >&5
11930 $as_echo_n "checking for resolver library... " >&6; }
11931 if ${ac_cv_have_resolv+:} false
; then :
11932 $as_echo_n "(cached) " >&6
11934 ac_save_LIBS
="$LIBS"
11935 for lib
in '' -lresolv
11937 LIBS
="$lib $ac_save_LIBS"
11938 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11939 /* end confdefs.h. */
11940 #ifdef HAVE_NETINET_IN_H
11941 #include <netinet/in.h>
11943 #include <resolv.h>
11947 if (!(_res.options & RES_INIT)) res_init(); res_query("foo",ns_c_in,0,0,0)
11952 if ac_fn_c_try_link
"$LINENO"; then :
11953 ac_cv_have_resolv
=${lib:-"none required"}
11955 ac_cv_have_resolv
="not found"
11957 rm -f core conftest.err conftest.
$ac_objext \
11958 conftest
$ac_exeext conftest.
$ac_ext
11959 test "x$ac_cv_have_resolv" = "xnot found" ||
break
11961 LIBS
="$ac_save_LIBS"
11963 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_resolv" >&5
11964 $as_echo "$ac_cv_have_resolv" >&6; }
11966 case "$ac_cv_have_resolv" in
11970 $as_echo "#define HAVE_RESOLV 1" >>confdefs.h
11973 $as_echo "#define HAVE_RESOLV 1" >>confdefs.h
11975 RESOLV_LIBS
=$ac_cv_have_resolv
11980 if test "x$with_cms" != "xno"
11982 if ${LCMS2_CFLAGS:+false} :; then :
11983 if ${PKG_CONFIG+:} false
; then :
11984 LCMS2_CFLAGS
=`$PKG_CONFIG --cflags lcms2 2>/dev/null`
11988 if ${LCMS2_LIBS:+false} :; then :
11989 if ${PKG_CONFIG+:} false
; then :
11990 LCMS2_LIBS
=`$PKG_CONFIG --libs lcms2 2>/dev/null`
11994 LCMS2_LIBS
=${LCMS2_LIBS:-"-llcms2"}
11995 $as_echo "$as_me:${as_lineno-$LINENO}: lcms2 cflags: $LCMS2_CFLAGS" >&5
11996 $as_echo "$as_me:${as_lineno-$LINENO}: lcms2 libs: $LCMS2_LIBS" >&5
11997 ac_save_CPPFLAGS
=$CPPFLAGS
11998 CPPFLAGS
="$CPPFLAGS $LCMS2_CFLAGS"
11999 for ac_header
in lcms2.h
12001 ac_fn_c_check_header_mongrel
"$LINENO" "lcms2.h" "ac_cv_header_lcms2_h" "$ac_includes_default"
12002 if test "x$ac_cv_header_lcms2_h" = xyes
; then :
12003 cat >>confdefs.h
<<_ACEOF
12004 #define HAVE_LCMS2_H 1
12011 if test "$ac_cv_header_lcms2_h" = "yes"
12013 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cmsOpenProfileFromFile in -llcms2" >&5
12014 $as_echo_n "checking for cmsOpenProfileFromFile in -llcms2... " >&6; }
12015 if ${ac_cv_lib_lcms2_cmsOpenProfileFromFile+:} false
; then :
12016 $as_echo_n "(cached) " >&6
12018 ac_check_lib_save_LIBS
=$LIBS
12019 LIBS
="-llcms2 $LCMS2_LIBS $LIBS"
12020 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12021 /* end confdefs.h. */
12023 /* Override any GCC internal prototype to avoid an error.
12024 Use char because int might match the return type of a GCC
12025 builtin and then its argument prototype would still apply. */
12029 char cmsOpenProfileFromFile ();
12033 return cmsOpenProfileFromFile ();
12038 if ac_fn_c_try_link
"$LINENO"; then :
12039 ac_cv_lib_lcms2_cmsOpenProfileFromFile
=yes
12041 ac_cv_lib_lcms2_cmsOpenProfileFromFile
=no
12043 rm -f core conftest.err conftest.
$ac_objext \
12044 conftest
$ac_exeext conftest.
$ac_ext
12045 LIBS
=$ac_check_lib_save_LIBS
12047 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_lcms2_cmsOpenProfileFromFile" >&5
12048 $as_echo "$ac_cv_lib_lcms2_cmsOpenProfileFromFile" >&6; }
12049 if test "x$ac_cv_lib_lcms2_cmsOpenProfileFromFile" = xyes
; then :
12051 $as_echo "#define HAVE_LCMS2 1" >>confdefs.h
12061 CPPFLAGS
=$ac_save_CPPFLAGS
12062 test -z "$LCMS2_CFLAGS" || LCMS2_CFLAGS
=`echo " $LCMS2_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
12063 test -z "$LCMS2_LIBS" || LCMS2_LIBS
=`echo " $LCMS2_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
12066 if test "$ac_cv_lib_lcms2_cmsOpenProfileFromFile" != "yes"; then :
12067 case "x$with_cms" in
12068 x
) as_fn_append wine_notices
"|liblcms2 ${notice_platform}development files not found, Color Management won't be supported." ;;
12070 *) as_fn_error $?
"liblcms2 ${notice_platform}development files not found, Color Management won't be supported.
12071 This is an error since --with-cms was requested." "$LINENO" 5 ;;
12075 if test "x$with_freetype" != "xno"
12077 if ${FREETYPE_CFLAGS:+false} :; then :
12078 if ${PKG_CONFIG+:} false
; then :
12079 FREETYPE_CFLAGS
=`$PKG_CONFIG --cflags freetype2 2>/dev/null`
12082 test "$cross_compiling" = yes || FREETYPE_CFLAGS
=${FREETYPE_CFLAGS:-`(freetype-config --cflags || freetype2-config --cflags) 2>/dev/null`}
12083 if ${FREETYPE_LIBS:+false} :; then :
12084 if ${PKG_CONFIG+:} false
; then :
12085 FREETYPE_LIBS
=`$PKG_CONFIG --libs freetype2 2>/dev/null`
12088 test "$cross_compiling" = yes || FREETYPE_LIBS
=${FREETYPE_LIBS:-`(freetype-config --libs || freetype2-config --libs) 2>/dev/null`}
12089 FREETYPE_LIBS
=${FREETYPE_LIBS:-"-lfreetype"}
12090 $as_echo "$as_me:${as_lineno-$LINENO}: freetype2 cflags: $FREETYPE_CFLAGS" >&5
12091 $as_echo "$as_me:${as_lineno-$LINENO}: freetype2 libs: $FREETYPE_LIBS" >&5
12092 ac_save_CPPFLAGS
=$CPPFLAGS
12093 CPPFLAGS
="$CPPFLAGS $FREETYPE_CFLAGS"
12094 for ac_header
in ft2build.h
12096 ac_fn_c_check_header_mongrel
"$LINENO" "ft2build.h" "ac_cv_header_ft2build_h" "$ac_includes_default"
12097 if test "x$ac_cv_header_ft2build_h" = xyes
; then :
12098 cat >>confdefs.h
<<_ACEOF
12099 #define HAVE_FT2BUILD_H 1
12106 if test "$ac_cv_header_ft2build_h" = "yes"
12108 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lfreetype" >&5
12109 $as_echo_n "checking for -lfreetype... " >&6; }
12110 if ${ac_cv_lib_soname_freetype+:} false
; then :
12111 $as_echo_n "(cached) " >&6
12113 ac_check_soname_save_LIBS
=$LIBS
12114 LIBS
="-lfreetype $FREETYPE_LIBS $LIBS"
12115 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12116 /* end confdefs.h. */
12118 /* Override any GCC internal prototype to avoid an error.
12119 Use char because int might match the return type of a GCC
12120 builtin and then its argument prototype would still apply. */
12124 char FT_Init_FreeType ();
12128 return FT_Init_FreeType ();
12133 if ac_fn_c_try_link
"$LINENO"; then :
12135 dll
) ac_cv_lib_soname_freetype
=`$ac_cv_path_LDD conftest.exe | grep "freetype" | sed -e "s/dll.*/dll/"';2,$d'` ;;
12136 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'` ;;
12137 *) ac_cv_lib_soname_freetype
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libfreetype\\.$LIBEXT" | sed -e "s/^.*\\[\\(libfreetype\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
12138 if ${ac_cv_lib_soname_freetype:+false} :; then :
12139 ac_cv_lib_soname_freetype
=`$LDD conftest$ac_exeext | grep "libfreetype\\.$LIBEXT" | sed -e "s/^.*\(libfreetype\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
12143 rm -f core conftest.err conftest.
$ac_objext \
12144 conftest
$ac_exeext conftest.
$ac_ext
12145 LIBS
=$ac_check_soname_save_LIBS
12147 if ${ac_cv_lib_soname_freetype:+false} :; then :
12148 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
12149 $as_echo "not found" >&6; }
12152 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_freetype" >&5
12153 $as_echo "$ac_cv_lib_soname_freetype" >&6; }
12155 cat >>confdefs.h
<<_ACEOF
12156 #define SONAME_LIBFREETYPE "$ac_cv_lib_soname_freetype"
12160 $as_echo "#define HAVE_FREETYPE 1" >>confdefs.h
12162 ac_fn_c_check_type
"$LINENO" "FT_TrueTypeEngineType" "ac_cv_type_FT_TrueTypeEngineType" "#include <ft2build.h>
12163 #include FT_MODULE_H
12165 if test "x$ac_cv_type_FT_TrueTypeEngineType" = xyes
; then :
12167 cat >>confdefs.h
<<_ACEOF
12168 #define HAVE_FT_TRUETYPEENGINETYPE 1
12179 CPPFLAGS
=$ac_save_CPPFLAGS
12180 test -z "$FREETYPE_CFLAGS" || FREETYPE_CFLAGS
=`echo " $FREETYPE_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
12181 test -z "$FREETYPE_LIBS" || FREETYPE_LIBS
=`echo " $FREETYPE_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
12184 if test "x$ac_cv_lib_soname_freetype" = x
; then :
12185 case "x$with_freetype" in
12187 *) as_fn_error $?
"FreeType ${notice_platform}development files not found. Fonts will not be built.
12188 Use the --without-freetype option if you really want this." "$LINENO" 5 ;;
12191 test "x$ac_cv_lib_soname_freetype" = x
&& enable_fonts
=${enable_fonts:-no}
12193 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for parport header/ppdev.h" >&5
12194 $as_echo_n "checking for parport header/ppdev.h... " >&6; }
12195 if ${ac_cv_c_ppdev+:} false
; then :
12196 $as_echo_n "(cached) " >&6
12198 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12199 /* end confdefs.h. */
12200 #ifdef HAVE_SYS_IOCTL_H
12201 # include <sys/ioctl.h>
12203 #include <linux/ppdev.h>
12207 ioctl (1,PPCLAIM,0)
12212 if ac_fn_c_try_compile
"$LINENO"; then :
12213 ac_cv_c_ppdev
="yes"
12217 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
12219 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_ppdev" >&5
12220 $as_echo "$ac_cv_c_ppdev" >&6; }
12221 if test "$ac_cv_c_ppdev" = "yes"
12224 $as_echo "#define HAVE_PPDEV 1" >>confdefs.h
12228 ac_wine_check_funcs_save_LIBS
="$LIBS"
12229 LIBS
="$LIBS $PTHREAD_LIBS"
12231 pthread_attr_get_np \
12232 pthread_getattr_np \
12233 pthread_getthreadid_np \
12234 pthread_get_stackaddr_np \
12235 pthread_get_stacksize_np
12237 as_ac_var
=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
12238 ac_fn_c_check_func
"$LINENO" "$ac_func" "$as_ac_var"
12239 if eval test \"x\$
"$as_ac_var"\" = x
"yes"; then :
12240 cat >>confdefs.h
<<_ACEOF
12241 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
12247 LIBS
="$ac_wine_check_funcs_save_LIBS"
12249 if test "$ac_cv_header_zlib_h" = "yes"
12251 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for inflate in -lz" >&5
12252 $as_echo_n "checking for inflate in -lz... " >&6; }
12253 if ${ac_cv_lib_z_inflate+:} false
; then :
12254 $as_echo_n "(cached) " >&6
12256 ac_check_lib_save_LIBS
=$LIBS
12258 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12259 /* end confdefs.h. */
12261 /* Override any GCC internal prototype to avoid an error.
12262 Use char because int might match the return type of a GCC
12263 builtin and then its argument prototype would still apply. */
12276 if ac_fn_c_try_link
"$LINENO"; then :
12277 ac_cv_lib_z_inflate
=yes
12279 ac_cv_lib_z_inflate
=no
12281 rm -f core conftest.err conftest.
$ac_objext \
12282 conftest
$ac_exeext conftest.
$ac_ext
12283 LIBS
=$ac_check_lib_save_LIBS
12285 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_z_inflate" >&5
12286 $as_echo "$ac_cv_lib_z_inflate" >&6; }
12287 if test "x$ac_cv_lib_z_inflate" = xyes
; then :
12289 $as_echo "#define HAVE_ZLIB 1" >>confdefs.h
12296 if test "x$Z_LIBS" = "x"; then :
12297 case "x$with_zlib" in
12298 x
) as_fn_append wine_notices
"|libz ${notice_platform}development files not found, data compression won't be supported." ;;
12300 *) as_fn_error $?
"libz ${notice_platform}development files not found, data compression won't be supported.
12301 This is an error since --with-zlib was requested." "$LINENO" 5 ;;
12305 if test "x$enable_tools" != xno
12307 if test "$ac_cv_header_gettext_po_h" = "yes"
12309 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for po_message_msgctxt in -lgettextpo" >&5
12310 $as_echo_n "checking for po_message_msgctxt in -lgettextpo... " >&6; }
12311 if ${ac_cv_lib_gettextpo_po_message_msgctxt+:} false
; then :
12312 $as_echo_n "(cached) " >&6
12314 ac_check_lib_save_LIBS
=$LIBS
12315 LIBS
="-lgettextpo $LIBS"
12316 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12317 /* end confdefs.h. */
12319 /* Override any GCC internal prototype to avoid an error.
12320 Use char because int might match the return type of a GCC
12321 builtin and then its argument prototype would still apply. */
12325 char po_message_msgctxt ();
12329 return po_message_msgctxt ();
12334 if ac_fn_c_try_link
"$LINENO"; then :
12335 ac_cv_lib_gettextpo_po_message_msgctxt
=yes
12337 ac_cv_lib_gettextpo_po_message_msgctxt
=no
12339 rm -f core conftest.err conftest.
$ac_objext \
12340 conftest
$ac_exeext conftest.
$ac_ext
12341 LIBS
=$ac_check_lib_save_LIBS
12343 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gettextpo_po_message_msgctxt" >&5
12344 $as_echo "$ac_cv_lib_gettextpo_po_message_msgctxt" >&6; }
12345 if test "x$ac_cv_lib_gettextpo_po_message_msgctxt" = xyes
; then :
12347 $as_echo "#define HAVE_LIBGETTEXTPO 1" >>confdefs.h
12349 GETTEXTPO_LIBS
="-lgettextpo"
12354 test "x$with_gettextpo" != xyes ||
if test "x$GETTEXTPO_LIBS" = "x"; then :
12355 case "x$with_gettextpo" in
12356 x
) as_fn_append wine_notices
"|GetText ${notice_platform}development files not found (or too old), po files can't be rebuilt." ;;
12358 *) as_fn_error $?
"GetText ${notice_platform}development files not found (or too old), po files can't be rebuilt.
12359 This is an error since --with-gettextpo was requested." "$LINENO" 5 ;;
12364 if test "x$with_gstreamer" != "xno"
12366 if ${GSTREAMER_CFLAGS:+false} :; then :
12367 if ${PKG_CONFIG+:} false
; then :
12368 GSTREAMER_CFLAGS
=`$PKG_CONFIG --cflags gstreamer-app-0.10 2>/dev/null`
12372 if ${GSTREAMER_LIBS:+false} :; then :
12373 if ${PKG_CONFIG+:} false
; then :
12374 GSTREAMER_LIBS
=`$PKG_CONFIG --libs gstreamer-app-0.10 2>/dev/null`
12379 $as_echo "$as_me:${as_lineno-$LINENO}: gstreamer-app-0.10 cflags: $GSTREAMER_CFLAGS" >&5
12380 $as_echo "$as_me:${as_lineno-$LINENO}: gstreamer-app-0.10 libs: $GSTREAMER_LIBS" >&5
12381 ac_save_CPPFLAGS
=$CPPFLAGS
12382 CPPFLAGS
="$CPPFLAGS $GSTREAMER_CFLAGS"
12384 for i
in $GSTREAMER_CFLAGS
12387 -I*) ac_gst_incl
="$ac_gst_incl $i";;
12390 GSTREAMER_CFLAGS
=$ac_gst_incl
12391 CPPFLAGS
="$ac_save_CPPFLAGS $GSTREAMER_CFLAGS"
12392 ac_fn_c_check_header_mongrel
"$LINENO" "gst/gstpad.h" "ac_cv_header_gst_gstpad_h" "$ac_includes_default"
12393 if test "x$ac_cv_header_gst_gstpad_h" = xyes
; then :
12394 ac_fn_c_check_header_mongrel
"$LINENO" "gst/app/gstappsink.h" "ac_cv_header_gst_app_gstappsink_h" "$ac_includes_default"
12395 if test "x$ac_cv_header_gst_app_gstappsink_h" = xyes
; then :
12396 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether gint64 defined by gst/app/gstappsink.h is indeed 64-bit" >&5
12397 $as_echo_n "checking whether gint64 defined by gst/app/gstappsink.h is indeed 64-bit... " >&6; }
12398 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12399 /* end confdefs.h. */
12400 #include <gst/app/gstappsink.h>
12404 static int a[sizeof(gint64) > 4 ? 1 : -1]; if (a[0]) return 0;
12409 if ac_fn_c_try_compile
"$LINENO"; then :
12410 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
12411 $as_echo "yes" >&6; }
12412 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gst_pad_get_caps_reffed in -lgstreamer-0.10" >&5
12413 $as_echo_n "checking for gst_pad_get_caps_reffed in -lgstreamer-0.10... " >&6; }
12414 if ${ac_cv_lib_gstreamer_0_10_gst_pad_get_caps_reffed+:} false
; then :
12415 $as_echo_n "(cached) " >&6
12417 ac_check_lib_save_LIBS
=$LIBS
12418 LIBS
="-lgstreamer-0.10 $LIBS"
12419 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12420 /* end confdefs.h. */
12422 /* Override any GCC internal prototype to avoid an error.
12423 Use char because int might match the return type of a GCC
12424 builtin and then its argument prototype would still apply. */
12428 char gst_pad_get_caps_reffed ();
12432 return gst_pad_get_caps_reffed ();
12437 if ac_fn_c_try_link
"$LINENO"; then :
12438 ac_cv_lib_gstreamer_0_10_gst_pad_get_caps_reffed
=yes
12440 ac_cv_lib_gstreamer_0_10_gst_pad_get_caps_reffed
=no
12442 rm -f core conftest.err conftest.
$ac_objext \
12443 conftest
$ac_exeext conftest.
$ac_ext
12444 LIBS
=$ac_check_lib_save_LIBS
12446 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gstreamer_0_10_gst_pad_get_caps_reffed" >&5
12447 $as_echo "$ac_cv_lib_gstreamer_0_10_gst_pad_get_caps_reffed" >&6; }
12448 if test "x$ac_cv_lib_gstreamer_0_10_gst_pad_get_caps_reffed" = xyes
; then :
12449 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gst_app_buffer_new in -lgstapp-0.10" >&5
12450 $as_echo_n "checking for gst_app_buffer_new in -lgstapp-0.10... " >&6; }
12451 if ${ac_cv_lib_gstapp_0_10_gst_app_buffer_new+:} false
; then :
12452 $as_echo_n "(cached) " >&6
12454 ac_check_lib_save_LIBS
=$LIBS
12455 LIBS
="-lgstapp-0.10 $GSTREAMER_LIBS $LIBS"
12456 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12457 /* end confdefs.h. */
12459 /* Override any GCC internal prototype to avoid an error.
12460 Use char because int might match the return type of a GCC
12461 builtin and then its argument prototype would still apply. */
12465 char gst_app_buffer_new ();
12469 return gst_app_buffer_new ();
12474 if ac_fn_c_try_link
"$LINENO"; then :
12475 ac_cv_lib_gstapp_0_10_gst_app_buffer_new
=yes
12477 ac_cv_lib_gstapp_0_10_gst_app_buffer_new
=no
12479 rm -f core conftest.err conftest.
$ac_objext \
12480 conftest
$ac_exeext conftest.
$ac_ext
12481 LIBS
=$ac_check_lib_save_LIBS
12483 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gstapp_0_10_gst_app_buffer_new" >&5
12484 $as_echo "$ac_cv_lib_gstapp_0_10_gst_app_buffer_new" >&6; }
12485 if test "x$ac_cv_lib_gstapp_0_10_gst_app_buffer_new" = xyes
; then :
12492 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12493 $as_echo "no" >&6; }
12495 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
12500 GSTREAMER_CFLAGS
=""
12504 CPPFLAGS
=$ac_save_CPPFLAGS
12505 test -z "$GSTREAMER_CFLAGS" || GSTREAMER_CFLAGS
=`echo " $GSTREAMER_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
12506 test -z "$GSTREAMER_LIBS" || GSTREAMER_LIBS
=`echo " $GSTREAMER_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
12509 if test "x$ac_cv_lib_gstapp_0_10_gst_app_buffer_new" != xyes
-a "x$ac_cv_header_QuickTime_ImageCompression_h" != xyes
; then :
12510 case "x$with_gstreamer" in
12511 x
) as_fn_append wine_notices
"|gstreamer-0.10 base plugins ${notice_platform}development files not found, gstreamer support disabled" ;;
12513 *) as_fn_error $?
"gstreamer-0.10 base plugins ${notice_platform}development files not found, gstreamer support disabled
12514 This is an error since --with-gstreamer was requested." "$LINENO" 5 ;;
12517 test "x$ac_cv_lib_gstapp_0_10_gst_app_buffer_new" = xyes || enable_winegstreamer
=${enable_winegstreamer:-no}
12521 if test "$ac_cv_header_sys_asoundlib_h" = "yes" -o "$ac_cv_header_alsa_asoundlib_h" = "yes"
12523 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for snd_pcm_hw_params_get_access_mask in -lasound" >&5
12524 $as_echo_n "checking for snd_pcm_hw_params_get_access_mask in -lasound... " >&6; }
12525 if ${ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask+:} false
; then :
12526 $as_echo_n "(cached) " >&6
12528 ac_check_lib_save_LIBS
=$LIBS
12529 LIBS
="-lasound $LIBS"
12530 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12531 /* end confdefs.h. */
12533 /* Override any GCC internal prototype to avoid an error.
12534 Use char because int might match the return type of a GCC
12535 builtin and then its argument prototype would still apply. */
12539 char snd_pcm_hw_params_get_access_mask ();
12543 return snd_pcm_hw_params_get_access_mask ();
12548 if ac_fn_c_try_link
"$LINENO"; then :
12549 ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask
=yes
12551 ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask
=no
12553 rm -f core conftest.err conftest.
$ac_objext \
12554 conftest
$ac_exeext conftest.
$ac_ext
12555 LIBS
=$ac_check_lib_save_LIBS
12557 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask" >&5
12558 $as_echo "$ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask" >&6; }
12559 if test "x$ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask" = xyes
; then :
12560 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12561 /* end confdefs.h. */
12562 #ifdef HAVE_ALSA_ASOUNDLIB_H
12563 #include <alsa/asoundlib.h>
12564 #elif defined(HAVE_SYS_ASOUNDLIB_H)
12565 #include <sys/asoundlib.h>
12570 snd_pcm_hw_params_get_access_mask(NULL, NULL)
12575 if ac_fn_c_try_compile
"$LINENO"; then :
12576 ALSA_LIBS
="-lasound"
12578 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
12583 if test "x$with_oss" != xno
12585 ac_save_CPPFLAGS
="$CPPFLAGS"
12586 if test -f /etc
/oss.conf
12590 ac_oss_incl
="-I${OSSLIBDIR:-/usr/lib/oss}/include"
12591 CPPFLAGS
="$CPPFLAGS $ac_oss_incl"
12592 ac_fn_c_check_header_mongrel
"$LINENO" "sys/soundcard.h" "ac_cv_header_sys_soundcard_h" "$ac_includes_default"
12593 if test "x$ac_cv_header_sys_soundcard_h" = xyes
; then :
12594 ac_fn_c_check_member
"$LINENO" "oss_sysinfo" "numaudioengines" "ac_cv_member_oss_sysinfo_numaudioengines" "#include <sys/soundcard.h>
12596 if test "x$ac_cv_member_oss_sysinfo_numaudioengines" = xyes
; then :
12598 cat >>confdefs.h
<<_ACEOF
12599 #define HAVE_OSS_SYSINFO_NUMAUDIOENGINES 1
12602 OSS4_CFLAGS
="$ac_oss_incl"
12609 CPPFLAGS
="$ac_save_CPPFLAGS"
12610 if test "x$ac_cv_member_oss_sysinfo_numaudioengines" != xyes
12612 as_fn_append wine_notices
"|OSS sound system found but too old (OSSv4 needed), OSS won't be supported."
12616 if test "x$with_capi" != "xno"
12618 if ${CAPI20_CFLAGS:+false} :; then :
12619 if ${PKG_CONFIG+:} false
; then :
12620 CAPI20_CFLAGS
=`$PKG_CONFIG --cflags capi20 2>/dev/null`
12624 if ${CAPI20_LIBS:+false} :; then :
12625 if ${PKG_CONFIG+:} false
; then :
12626 CAPI20_LIBS
=`$PKG_CONFIG --libs capi20 2>/dev/null`
12631 $as_echo "$as_me:${as_lineno-$LINENO}: capi20 cflags: $CAPI20_CFLAGS" >&5
12632 $as_echo "$as_me:${as_lineno-$LINENO}: capi20 libs: $CAPI20_LIBS" >&5
12633 ac_save_CPPFLAGS
=$CPPFLAGS
12634 CPPFLAGS
="$CPPFLAGS $CAPI20_CFLAGS"
12635 for ac_header
in capi20.h linux
/capi.h
12637 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
12638 ac_fn_c_check_header_compile
"$LINENO" "$ac_header" "$as_ac_Header" "#define __user
12640 if eval test \"x\$
"$as_ac_Header"\" = x
"yes"; then :
12641 cat >>confdefs.h
<<_ACEOF
12642 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
12649 if test "$ac_cv_header_capi20_h" = "yes" -a "$ac_cv_header_linux_capi_h" = "yes"
12651 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lcapi20" >&5
12652 $as_echo_n "checking for -lcapi20... " >&6; }
12653 if ${ac_cv_lib_soname_capi20+:} false
; then :
12654 $as_echo_n "(cached) " >&6
12656 ac_check_soname_save_LIBS
=$LIBS
12657 LIBS
="-lcapi20 $CAPI20_LIBS $LIBS"
12658 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12659 /* end confdefs.h. */
12661 /* Override any GCC internal prototype to avoid an error.
12662 Use char because int might match the return type of a GCC
12663 builtin and then its argument prototype would still apply. */
12667 char capi20_register ();
12671 return capi20_register ();
12676 if ac_fn_c_try_link
"$LINENO"; then :
12678 dll
) ac_cv_lib_soname_capi20
=`$ac_cv_path_LDD conftest.exe | grep "capi20" | sed -e "s/dll.*/dll/"';2,$d'` ;;
12679 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'` ;;
12680 *) ac_cv_lib_soname_capi20
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libcapi20\\.$LIBEXT" | sed -e "s/^.*\\[\\(libcapi20\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
12681 if ${ac_cv_lib_soname_capi20:+false} :; then :
12682 ac_cv_lib_soname_capi20
=`$LDD conftest$ac_exeext | grep "libcapi20\\.$LIBEXT" | sed -e "s/^.*\(libcapi20\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
12686 rm -f core conftest.err conftest.
$ac_objext \
12687 conftest
$ac_exeext conftest.
$ac_ext
12688 LIBS
=$ac_check_soname_save_LIBS
12690 if ${ac_cv_lib_soname_capi20:+false} :; then :
12691 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
12692 $as_echo "not found" >&6; }
12695 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_capi20" >&5
12696 $as_echo "$ac_cv_lib_soname_capi20" >&6; }
12698 cat >>confdefs.h
<<_ACEOF
12699 #define SONAME_LIBCAPI20 "$ac_cv_lib_soname_capi20"
12705 CPPFLAGS
=$ac_save_CPPFLAGS
12706 test -z "$CAPI20_CFLAGS" || CAPI20_CFLAGS
=`echo " $CAPI20_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
12707 test -z "$CAPI20_LIBS" || CAPI20_LIBS
=`echo " $CAPI20_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
12710 if test "x$ac_cv_lib_soname_capi20" = "x"; then :
12711 case "x$with_capi" in
12712 x
) as_fn_append wine_notices
"|libcapi20 ${notice_platform}development files not found, ISDN won't be supported." ;;
12714 *) as_fn_error $?
"libcapi20 ${notice_platform}development files not found, ISDN won't be supported.
12715 This is an error since --with-capi was requested." "$LINENO" 5 ;;
12721 if test "x$with_cups" != "xno"
12723 ac_save_CPPFLAGS
="$CPPFLAGS"
12724 ac_cups_cflags
=`cups-config --cflags 2>/dev/null`
12725 ac_cups_libs
=`cups-config --ldflags 2>/dev/null`
12726 CPPFLAGS
="$CPPFLAGS $ac_cups_cflags"
12727 for ac_header
in cups
/cups.h
12729 ac_fn_c_check_header_mongrel
"$LINENO" "cups/cups.h" "ac_cv_header_cups_cups_h" "$ac_includes_default"
12730 if test "x$ac_cv_header_cups_cups_h" = xyes
; then :
12731 cat >>confdefs.h
<<_ACEOF
12732 #define HAVE_CUPS_CUPS_H 1
12734 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lcups" >&5
12735 $as_echo_n "checking for -lcups... " >&6; }
12736 if ${ac_cv_lib_soname_cups+:} false
; then :
12737 $as_echo_n "(cached) " >&6
12739 ac_check_soname_save_LIBS
=$LIBS
12740 LIBS
="-lcups $ac_cups_libs $LIBS"
12741 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12742 /* end confdefs.h. */
12744 /* Override any GCC internal prototype to avoid an error.
12745 Use char because int might match the return type of a GCC
12746 builtin and then its argument prototype would still apply. */
12750 char cupsGetDefault ();
12754 return cupsGetDefault ();
12759 if ac_fn_c_try_link
"$LINENO"; then :
12761 dll
) ac_cv_lib_soname_cups
=`$ac_cv_path_LDD conftest.exe | grep "cups" | sed -e "s/dll.*/dll/"';2,$d'` ;;
12762 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'` ;;
12763 *) ac_cv_lib_soname_cups
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libcups\\.$LIBEXT" | sed -e "s/^.*\\[\\(libcups\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
12764 if ${ac_cv_lib_soname_cups:+false} :; then :
12765 ac_cv_lib_soname_cups
=`$LDD conftest$ac_exeext | grep "libcups\\.$LIBEXT" | sed -e "s/^.*\(libcups\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
12769 rm -f core conftest.err conftest.
$ac_objext \
12770 conftest
$ac_exeext conftest.
$ac_ext
12771 LIBS
=$ac_check_soname_save_LIBS
12773 if ${ac_cv_lib_soname_cups:+false} :; then :
12774 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
12775 $as_echo "not found" >&6; }
12778 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_cups" >&5
12779 $as_echo "$ac_cv_lib_soname_cups" >&6; }
12781 cat >>confdefs.h
<<_ACEOF
12782 #define SONAME_LIBCUPS "$ac_cv_lib_soname_cups"
12785 CUPS_CFLAGS
="$ac_cups_cflags"
12791 CPPFLAGS
="$ac_save_CPPFLAGS"
12793 if test "x$ac_cv_lib_soname_cups" = "x"; then :
12794 case "x$with_cups" in
12795 x
) as_fn_append wine_notices
"|libcups ${notice_platform}development files not found, CUPS won't be supported." ;;
12797 *) as_fn_error $?
"libcups ${notice_platform}development files not found, CUPS won't be supported.
12798 This is an error since --with-cups was requested." "$LINENO" 5 ;;
12802 if test "x$with_fontconfig" != "xno"
12804 if ${FONTCONFIG_CFLAGS:+false} :; then :
12805 if ${PKG_CONFIG+:} false
; then :
12806 FONTCONFIG_CFLAGS
=`$PKG_CONFIG --cflags fontconfig 2>/dev/null`
12809 test "$cross_compiling" = yes || FONTCONFIG_CFLAGS
=${FONTCONFIG_CFLAGS:-$X_CFLAGS}
12810 if ${FONTCONFIG_LIBS:+false} :; then :
12811 if ${PKG_CONFIG+:} false
; then :
12812 FONTCONFIG_LIBS
=`$PKG_CONFIG --libs fontconfig 2>/dev/null`
12815 test "$cross_compiling" = yes || FONTCONFIG_LIBS
=${FONTCONFIG_LIBS:-$X_LIBS}
12817 $as_echo "$as_me:${as_lineno-$LINENO}: fontconfig cflags: $FONTCONFIG_CFLAGS" >&5
12818 $as_echo "$as_me:${as_lineno-$LINENO}: fontconfig libs: $FONTCONFIG_LIBS" >&5
12819 ac_save_CPPFLAGS
=$CPPFLAGS
12820 CPPFLAGS
="$CPPFLAGS $FONTCONFIG_CFLAGS"
12821 for ac_header
in fontconfig
/fontconfig.h
12823 ac_fn_c_check_header_mongrel
"$LINENO" "fontconfig/fontconfig.h" "ac_cv_header_fontconfig_fontconfig_h" "$ac_includes_default"
12824 if test "x$ac_cv_header_fontconfig_fontconfig_h" = xyes
; then :
12825 cat >>confdefs.h
<<_ACEOF
12826 #define HAVE_FONTCONFIG_FONTCONFIG_H 1
12833 if test "$ac_cv_header_fontconfig_fontconfig_h" = "yes"
12835 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lfontconfig" >&5
12836 $as_echo_n "checking for -lfontconfig... " >&6; }
12837 if ${ac_cv_lib_soname_fontconfig+:} false
; then :
12838 $as_echo_n "(cached) " >&6
12840 ac_check_soname_save_LIBS
=$LIBS
12841 LIBS
="-lfontconfig $FONTCONFIG_LIBS $LIBS"
12842 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12843 /* end confdefs.h. */
12845 /* Override any GCC internal prototype to avoid an error.
12846 Use char because int might match the return type of a GCC
12847 builtin and then its argument prototype would still apply. */
12860 if ac_fn_c_try_link
"$LINENO"; then :
12862 dll
) ac_cv_lib_soname_fontconfig
=`$ac_cv_path_LDD conftest.exe | grep "fontconfig" | sed -e "s/dll.*/dll/"';2,$d'` ;;
12863 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'` ;;
12864 *) ac_cv_lib_soname_fontconfig
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libfontconfig\\.$LIBEXT" | sed -e "s/^.*\\[\\(libfontconfig\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
12865 if ${ac_cv_lib_soname_fontconfig:+false} :; then :
12866 ac_cv_lib_soname_fontconfig
=`$LDD conftest$ac_exeext | grep "libfontconfig\\.$LIBEXT" | sed -e "s/^.*\(libfontconfig\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
12870 rm -f core conftest.err conftest.
$ac_objext \
12871 conftest
$ac_exeext conftest.
$ac_ext
12872 LIBS
=$ac_check_soname_save_LIBS
12874 if ${ac_cv_lib_soname_fontconfig:+false} :; then :
12875 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
12876 $as_echo "not found" >&6; }
12877 FONTCONFIG_CFLAGS
=""
12879 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_fontconfig" >&5
12880 $as_echo "$ac_cv_lib_soname_fontconfig" >&6; }
12882 cat >>confdefs.h
<<_ACEOF
12883 #define SONAME_LIBFONTCONFIG "$ac_cv_lib_soname_fontconfig"
12889 FONTCONFIG_CFLAGS
=""
12891 CPPFLAGS
=$ac_save_CPPFLAGS
12892 test -z "$FONTCONFIG_CFLAGS" || FONTCONFIG_CFLAGS
=`echo " $FONTCONFIG_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
12893 test -z "$FONTCONFIG_LIBS" || FONTCONFIG_LIBS
=`echo " $FONTCONFIG_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
12896 if test "x$ac_cv_lib_soname_fontconfig" = "x"; then :
12897 case "x$with_fontconfig" in
12898 x
) as_fn_append wine_notices
"|fontconfig ${notice_platform}development files not found, fontconfig won't be supported." ;;
12900 *) as_fn_error $?
"fontconfig ${notice_platform}development files not found, fontconfig won't be supported.
12901 This is an error since --with-fontconfig was requested." "$LINENO" 5 ;;
12905 if test "$ac_cv_header_gsm_h" = "yes" -o "$ac_cv_header_gsm_gsm_h" = "yes"
12907 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lgsm" >&5
12908 $as_echo_n "checking for -lgsm... " >&6; }
12909 if ${ac_cv_lib_soname_gsm+:} false
; then :
12910 $as_echo_n "(cached) " >&6
12912 ac_check_soname_save_LIBS
=$LIBS
12914 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12915 /* end confdefs.h. */
12917 /* Override any GCC internal prototype to avoid an error.
12918 Use char because int might match the return type of a GCC
12919 builtin and then its argument prototype would still apply. */
12923 char gsm_create ();
12927 return gsm_create ();
12932 if ac_fn_c_try_link
"$LINENO"; then :
12934 dll
) ac_cv_lib_soname_gsm
=`$ac_cv_path_LDD conftest.exe | grep "gsm" | sed -e "s/dll.*/dll/"';2,$d'` ;;
12935 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'` ;;
12936 *) ac_cv_lib_soname_gsm
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libgsm\\.$LIBEXT" | sed -e "s/^.*\\[\\(libgsm\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
12937 if ${ac_cv_lib_soname_gsm:+false} :; then :
12938 ac_cv_lib_soname_gsm
=`$LDD conftest$ac_exeext | grep "libgsm\\.$LIBEXT" | sed -e "s/^.*\(libgsm\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
12942 rm -f core conftest.err conftest.
$ac_objext \
12943 conftest
$ac_exeext conftest.
$ac_ext
12944 LIBS
=$ac_check_soname_save_LIBS
12946 if ${ac_cv_lib_soname_gsm:+false} :; then :
12947 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
12948 $as_echo "not found" >&6; }
12951 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_gsm" >&5
12952 $as_echo "$ac_cv_lib_soname_gsm" >&6; }
12954 cat >>confdefs.h
<<_ACEOF
12955 #define SONAME_LIBGSM "$ac_cv_lib_soname_gsm"
12961 if test "x$ac_cv_lib_soname_gsm" = "x"; then :
12962 case "x$with_gsm" in
12963 x
) as_fn_append wine_notices
"|libgsm ${notice_platform}development files not found, gsm 06.10 codec won't be supported." ;;
12965 *) as_fn_error $?
"libgsm ${notice_platform}development files not found, gsm 06.10 codec won't be supported.
12966 This is an error since --with-gsm was requested." "$LINENO" 5 ;;
12970 if test "x$with_jpeg" != "xno"
12972 if ${JPEG_CFLAGS:+false} :; then :
12973 if ${PKG_CONFIG+:} false
; then :
12974 JPEG_CFLAGS
=`$PKG_CONFIG --cflags libjpeg 2>/dev/null`
12978 if ${JPEG_LIBS:+false} :; then :
12979 if ${PKG_CONFIG+:} false
; then :
12980 JPEG_LIBS
=`$PKG_CONFIG --libs libjpeg 2>/dev/null`
12985 $as_echo "$as_me:${as_lineno-$LINENO}: libjpeg cflags: $JPEG_CFLAGS" >&5
12986 $as_echo "$as_me:${as_lineno-$LINENO}: libjpeg libs: $JPEG_LIBS" >&5
12987 ac_save_CPPFLAGS
=$CPPFLAGS
12988 CPPFLAGS
="$CPPFLAGS $JPEG_CFLAGS"
12989 for ac_header
in jpeglib.h
12991 ac_fn_c_check_header_mongrel
"$LINENO" "jpeglib.h" "ac_cv_header_jpeglib_h" "$ac_includes_default"
12992 if test "x$ac_cv_header_jpeglib_h" = xyes
; then :
12993 cat >>confdefs.h
<<_ACEOF
12994 #define HAVE_JPEGLIB_H 1
13001 if test "$ac_cv_header_jpeglib_h" = "yes"
13003 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -ljpeg" >&5
13004 $as_echo_n "checking for -ljpeg... " >&6; }
13005 if ${ac_cv_lib_soname_jpeg+:} false
; then :
13006 $as_echo_n "(cached) " >&6
13008 ac_check_soname_save_LIBS
=$LIBS
13009 LIBS
="-ljpeg $JPEG_LIBS $LIBS"
13010 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13011 /* end confdefs.h. */
13013 /* Override any GCC internal prototype to avoid an error.
13014 Use char because int might match the return type of a GCC
13015 builtin and then its argument prototype would still apply. */
13019 char jpeg_start_decompress ();
13023 return jpeg_start_decompress ();
13028 if ac_fn_c_try_link
"$LINENO"; then :
13030 dll
) ac_cv_lib_soname_jpeg
=`$ac_cv_path_LDD conftest.exe | grep "jpeg" | sed -e "s/dll.*/dll/"';2,$d'` ;;
13031 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'` ;;
13032 *) ac_cv_lib_soname_jpeg
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libjpeg\\.$LIBEXT" | sed -e "s/^.*\\[\\(libjpeg\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
13033 if ${ac_cv_lib_soname_jpeg:+false} :; then :
13034 ac_cv_lib_soname_jpeg
=`$LDD conftest$ac_exeext | grep "libjpeg\\.$LIBEXT" | sed -e "s/^.*\(libjpeg\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
13038 rm -f core conftest.err conftest.
$ac_objext \
13039 conftest
$ac_exeext conftest.
$ac_ext
13040 LIBS
=$ac_check_soname_save_LIBS
13042 if ${ac_cv_lib_soname_jpeg:+false} :; then :
13043 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13044 $as_echo "not found" >&6; }
13047 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_jpeg" >&5
13048 $as_echo "$ac_cv_lib_soname_jpeg" >&6; }
13050 cat >>confdefs.h
<<_ACEOF
13051 #define SONAME_LIBJPEG "$ac_cv_lib_soname_jpeg"
13059 CPPFLAGS
=$ac_save_CPPFLAGS
13060 test -z "$JPEG_CFLAGS" || JPEG_CFLAGS
=`echo " $JPEG_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
13061 test -z "$JPEG_LIBS" || JPEG_LIBS
=`echo " $JPEG_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
13064 if test "x$ac_cv_lib_soname_jpeg" = "x"; then :
13065 case "x$with_jpeg" in
13066 x
) as_fn_append wine_warnings
"|libjpeg ${notice_platform}development files not found, JPEG won't be supported." ;;
13068 *) as_fn_error $?
"libjpeg ${notice_platform}development files not found, JPEG won't be supported.
13069 This is an error since --with-jpeg was requested." "$LINENO" 5 ;;
13073 if test "x$with_png" != "xno"
13075 if ${PNG_CFLAGS:+false} :; then :
13076 if ${PKG_CONFIG+:} false
; then :
13077 PNG_CFLAGS
=`$PKG_CONFIG --cflags libpng 2>/dev/null`
13080 test "$cross_compiling" = yes || PNG_CFLAGS
=${PNG_CFLAGS:-$X_CFLAGS}
13081 if ${PNG_LIBS:+false} :; then :
13082 if ${PKG_CONFIG+:} false
; then :
13083 PNG_LIBS
=`$PKG_CONFIG --libs libpng 2>/dev/null`
13086 test "$cross_compiling" = yes || PNG_LIBS
=${PNG_LIBS:-$X_LIBS}
13088 $as_echo "$as_me:${as_lineno-$LINENO}: libpng cflags: $PNG_CFLAGS" >&5
13089 $as_echo "$as_me:${as_lineno-$LINENO}: libpng libs: $PNG_LIBS" >&5
13090 ac_save_CPPFLAGS
=$CPPFLAGS
13091 CPPFLAGS
="$CPPFLAGS $PNG_CFLAGS"
13092 for ac_header
in png.h
13094 ac_fn_c_check_header_mongrel
"$LINENO" "png.h" "ac_cv_header_png_h" "$ac_includes_default"
13095 if test "x$ac_cv_header_png_h" = xyes
; then :
13096 cat >>confdefs.h
<<_ACEOF
13097 #define HAVE_PNG_H 1
13104 if test "$ac_cv_header_png_h" = "yes"
13106 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lpng" >&5
13107 $as_echo_n "checking for -lpng... " >&6; }
13108 if ${ac_cv_lib_soname_png+:} false
; then :
13109 $as_echo_n "(cached) " >&6
13111 ac_check_soname_save_LIBS
=$LIBS
13112 LIBS
="-lpng $PNG_LIBS -lm -lz $LIBS"
13113 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13114 /* end confdefs.h. */
13116 /* Override any GCC internal prototype to avoid an error.
13117 Use char because int might match the return type of a GCC
13118 builtin and then its argument prototype would still apply. */
13122 char png_create_read_struct ();
13126 return png_create_read_struct ();
13131 if ac_fn_c_try_link
"$LINENO"; then :
13133 dll
) ac_cv_lib_soname_png
=`$ac_cv_path_LDD conftest.exe | grep "png" | sed -e "s/dll.*/dll/"';2,$d'` ;;
13134 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'` ;;
13135 *) 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'`
13136 if ${ac_cv_lib_soname_png:+false} :; then :
13137 ac_cv_lib_soname_png
=`$LDD conftest$ac_exeext | grep "libpng[0-9]*\\.$LIBEXT" | sed -e "s/^.*\(libpng[0-9]*\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
13141 rm -f core conftest.err conftest.
$ac_objext \
13142 conftest
$ac_exeext conftest.
$ac_ext
13143 LIBS
=$ac_check_soname_save_LIBS
13145 if ${ac_cv_lib_soname_png:+false} :; then :
13146 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13147 $as_echo "not found" >&6; }
13150 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_png" >&5
13151 $as_echo "$ac_cv_lib_soname_png" >&6; }
13153 cat >>confdefs.h
<<_ACEOF
13154 #define SONAME_LIBPNG "$ac_cv_lib_soname_png"
13157 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13158 /* end confdefs.h. */
13163 typeof(png_set_expand_gray_1_2_4_to_8) *p
13168 if ac_fn_c_try_compile
"$LINENO"; then :
13170 $as_echo "#define HAVE_PNG_SET_EXPAND_GRAY_1_2_4_TO_8 1" >>confdefs.h
13173 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
13178 CPPFLAGS
=$ac_save_CPPFLAGS
13179 test -z "$PNG_CFLAGS" || PNG_CFLAGS
=`echo " $PNG_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
13180 test -z "$PNG_LIBS" || PNG_LIBS
=`echo " $PNG_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
13183 if test "x$ac_cv_lib_soname_png" = "x"; then :
13184 case "x$with_png" in
13185 x
) as_fn_append wine_warnings
"|libpng ${notice_platform}development files not found, PNG won't be supported." ;;
13187 *) as_fn_error $?
"libpng ${notice_platform}development files not found, PNG won't be supported.
13188 This is an error since --with-png was requested." "$LINENO" 5 ;;
13192 if test "x$with_tiff" != "xno"
13194 if ${TIFF_CFLAGS:+false} :; then :
13195 if ${PKG_CONFIG+:} false
; then :
13196 TIFF_CFLAGS
=`$PKG_CONFIG --cflags libtiff 2>/dev/null`
13200 if ${TIFF_LIBS:+false} :; then :
13201 if ${PKG_CONFIG+:} false
; then :
13202 TIFF_LIBS
=`$PKG_CONFIG --libs libtiff 2>/dev/null`
13207 $as_echo "$as_me:${as_lineno-$LINENO}: libtiff cflags: $TIFF_CFLAGS" >&5
13208 $as_echo "$as_me:${as_lineno-$LINENO}: libtiff libs: $TIFF_LIBS" >&5
13209 ac_save_CPPFLAGS
=$CPPFLAGS
13210 CPPFLAGS
="$CPPFLAGS $TIFF_CFLAGS"
13211 for ac_header
in tiffio.h
13213 ac_fn_c_check_header_mongrel
"$LINENO" "tiffio.h" "ac_cv_header_tiffio_h" "$ac_includes_default"
13214 if test "x$ac_cv_header_tiffio_h" = xyes
; then :
13215 cat >>confdefs.h
<<_ACEOF
13216 #define HAVE_TIFFIO_H 1
13223 if test "$ac_cv_header_tiffio_h" = "yes"
13225 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -ltiff" >&5
13226 $as_echo_n "checking for -ltiff... " >&6; }
13227 if ${ac_cv_lib_soname_tiff+:} false
; then :
13228 $as_echo_n "(cached) " >&6
13230 ac_check_soname_save_LIBS
=$LIBS
13231 LIBS
="-ltiff $TIFF_LIBS $LIBS"
13232 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13233 /* end confdefs.h. */
13235 /* Override any GCC internal prototype to avoid an error.
13236 Use char because int might match the return type of a GCC
13237 builtin and then its argument prototype would still apply. */
13241 char TIFFClientOpen ();
13245 return TIFFClientOpen ();
13250 if ac_fn_c_try_link
"$LINENO"; then :
13252 dll
) ac_cv_lib_soname_tiff
=`$ac_cv_path_LDD conftest.exe | grep "tiff" | sed -e "s/dll.*/dll/"';2,$d'` ;;
13253 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'` ;;
13254 *) ac_cv_lib_soname_tiff
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libtiff\\.$LIBEXT" | sed -e "s/^.*\\[\\(libtiff\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
13255 if ${ac_cv_lib_soname_tiff:+false} :; then :
13256 ac_cv_lib_soname_tiff
=`$LDD conftest$ac_exeext | grep "libtiff\\.$LIBEXT" | sed -e "s/^.*\(libtiff\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
13260 rm -f core conftest.err conftest.
$ac_objext \
13261 conftest
$ac_exeext conftest.
$ac_ext
13262 LIBS
=$ac_check_soname_save_LIBS
13264 if ${ac_cv_lib_soname_tiff:+false} :; then :
13265 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13266 $as_echo "not found" >&6; }
13269 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_tiff" >&5
13270 $as_echo "$ac_cv_lib_soname_tiff" >&6; }
13272 cat >>confdefs.h
<<_ACEOF
13273 #define SONAME_LIBTIFF "$ac_cv_lib_soname_tiff"
13279 CPPFLAGS
=$ac_save_CPPFLAGS
13280 test -z "$TIFF_CFLAGS" || TIFF_CFLAGS
=`echo " $TIFF_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
13281 test -z "$TIFF_LIBS" || TIFF_LIBS
=`echo " $TIFF_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
13284 if test "x$ac_cv_lib_soname_tiff" = "x"; then :
13285 case "x$with_tiff" in
13286 x
) as_fn_append wine_notices
"|libtiff ${notice_platform}development files not found, TIFF won't be supported." ;;
13288 *) as_fn_error $?
"libtiff ${notice_platform}development files not found, TIFF won't be supported.
13289 This is an error since --with-tiff was requested." "$LINENO" 5 ;;
13293 if test "x$with_mpg123" != "xno"
13295 if ${MPG123_CFLAGS:+false} :; then :
13296 if ${PKG_CONFIG+:} false
; then :
13297 MPG123_CFLAGS
=`$PKG_CONFIG --cflags libmpg123 2>/dev/null`
13301 if ${MPG123_LIBS:+false} :; then :
13302 if ${PKG_CONFIG+:} false
; then :
13303 MPG123_LIBS
=`$PKG_CONFIG --libs libmpg123 2>/dev/null`
13307 MPG123_LIBS
=${MPG123_LIBS:-"-lmpg123"}
13308 $as_echo "$as_me:${as_lineno-$LINENO}: libmpg123 cflags: $MPG123_CFLAGS" >&5
13309 $as_echo "$as_me:${as_lineno-$LINENO}: libmpg123 libs: $MPG123_LIBS" >&5
13310 ac_save_CPPFLAGS
=$CPPFLAGS
13311 CPPFLAGS
="$CPPFLAGS $MPG123_CFLAGS"
13312 for ac_header
in mpg123.h
13314 ac_fn_c_check_header_mongrel
"$LINENO" "mpg123.h" "ac_cv_header_mpg123_h" "$ac_includes_default"
13315 if test "x$ac_cv_header_mpg123_h" = xyes
; then :
13316 cat >>confdefs.h
<<_ACEOF
13317 #define HAVE_MPG123_H 1
13324 if test "$ac_cv_header_mpg123_h" = "yes"
13326 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for mpg123_feed in -lmpg123" >&5
13327 $as_echo_n "checking for mpg123_feed in -lmpg123... " >&6; }
13328 if ${ac_cv_lib_mpg123_mpg123_feed+:} false
; then :
13329 $as_echo_n "(cached) " >&6
13331 ac_check_lib_save_LIBS
=$LIBS
13332 LIBS
="-lmpg123 $MPG123_LIBS $LIBS"
13333 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13334 /* end confdefs.h. */
13336 /* Override any GCC internal prototype to avoid an error.
13337 Use char because int might match the return type of a GCC
13338 builtin and then its argument prototype would still apply. */
13342 char mpg123_feed ();
13346 return mpg123_feed ();
13351 if ac_fn_c_try_link
"$LINENO"; then :
13352 ac_cv_lib_mpg123_mpg123_feed
=yes
13354 ac_cv_lib_mpg123_mpg123_feed
=no
13356 rm -f core conftest.err conftest.
$ac_objext \
13357 conftest
$ac_exeext conftest.
$ac_ext
13358 LIBS
=$ac_check_lib_save_LIBS
13360 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_mpg123_mpg123_feed" >&5
13361 $as_echo "$ac_cv_lib_mpg123_mpg123_feed" >&6; }
13362 if test "x$ac_cv_lib_mpg123_mpg123_feed" = xyes
; then :
13372 CPPFLAGS
=$ac_save_CPPFLAGS
13373 test -z "$MPG123_CFLAGS" || MPG123_CFLAGS
=`echo " $MPG123_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
13374 test -z "$MPG123_LIBS" || MPG123_LIBS
=`echo " $MPG123_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
13377 if test "x$ac_cv_lib_mpg123_mpg123_feed" != xyes
-a x
"$ac_cv_header_CoreAudio_CoreAudio_h" != xyes
; then :
13378 case "x$with_mpg123" in
13379 x
) as_fn_append wine_notices
"|libmpg123 ${notice_platform}development files not found (or too old), mp3 codec won't be supported." ;;
13381 *) as_fn_error $?
"libmpg123 ${notice_platform}development files not found (or too old), mp3 codec won't be supported.
13382 This is an error since --with-mpg123 was requested." "$LINENO" 5 ;;
13385 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}
13387 if test "$ac_cv_header_AL_al_h" = "yes"
13389 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lopenal" >&5
13390 $as_echo_n "checking for -lopenal... " >&6; }
13391 if ${ac_cv_lib_soname_openal+:} false
; then :
13392 $as_echo_n "(cached) " >&6
13394 ac_check_soname_save_LIBS
=$LIBS
13395 LIBS
="-lopenal $LIBS"
13396 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13397 /* end confdefs.h. */
13399 /* Override any GCC internal prototype to avoid an error.
13400 Use char because int might match the return type of a GCC
13401 builtin and then its argument prototype would still apply. */
13405 char alGetSource3i ();
13409 return alGetSource3i ();
13414 if ac_fn_c_try_link
"$LINENO"; then :
13416 dll
) ac_cv_lib_soname_openal
=`$ac_cv_path_LDD conftest.exe | grep "openal" | sed -e "s/dll.*/dll/"';2,$d'` ;;
13417 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'` ;;
13418 *) ac_cv_lib_soname_openal
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libopenal\\.$LIBEXT" | sed -e "s/^.*\\[\\(libopenal\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
13419 if ${ac_cv_lib_soname_openal:+false} :; then :
13420 ac_cv_lib_soname_openal
=`$LDD conftest$ac_exeext | grep "libopenal\\.$LIBEXT" | sed -e "s/^.*\(libopenal\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
13424 rm -f core conftest.err conftest.
$ac_objext \
13425 conftest
$ac_exeext conftest.
$ac_ext
13426 LIBS
=$ac_check_soname_save_LIBS
13428 if ${ac_cv_lib_soname_openal:+false} :; then :
13429 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13430 $as_echo "not found" >&6; }
13433 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_openal" >&5
13434 $as_echo "$ac_cv_lib_soname_openal" >&6; }
13436 cat >>confdefs.h
<<_ACEOF
13437 #define SONAME_LIBOPENAL "$ac_cv_lib_soname_openal"
13440 OPENAL_LIBS
="-lopenal"
13442 ac_cv_lib_openal
=yes
13444 cat >>confdefs.h
<<_ACEOF
13445 #define HAVE_OPENAL 1
13450 if test "x$ac_cv_lib_openal" != xyes
; then :
13451 case "x$with_openal" in
13452 x
) as_fn_append wine_notices
"|libopenal ${notice_platform}development files not found (or too old), OpenAL won't be supported." ;;
13454 *) as_fn_error $?
"libopenal ${notice_platform}development files not found (or too old), OpenAL won't be supported.
13455 This is an error since --with-openal was requested." "$LINENO" 5 ;;
13458 test "x$ac_cv_lib_openal" = xyes || enable_openal32
=${enable_openal32:-no}
13460 if test "$ac_cv_header_kstat_h" = "yes"
13462 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for kstat_open in -lkstat" >&5
13463 $as_echo_n "checking for kstat_open in -lkstat... " >&6; }
13464 if ${ac_cv_lib_kstat_kstat_open+:} false
; then :
13465 $as_echo_n "(cached) " >&6
13467 ac_check_lib_save_LIBS
=$LIBS
13468 LIBS
="-lkstat $LIBS"
13469 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13470 /* end confdefs.h. */
13472 /* Override any GCC internal prototype to avoid an error.
13473 Use char because int might match the return type of a GCC
13474 builtin and then its argument prototype would still apply. */
13478 char kstat_open ();
13482 return kstat_open ();
13487 if ac_fn_c_try_link
"$LINENO"; then :
13488 ac_cv_lib_kstat_kstat_open
=yes
13490 ac_cv_lib_kstat_kstat_open
=no
13492 rm -f core conftest.err conftest.
$ac_objext \
13493 conftest
$ac_exeext conftest.
$ac_ext
13494 LIBS
=$ac_check_lib_save_LIBS
13496 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_kstat_kstat_open" >&5
13497 $as_echo "$ac_cv_lib_kstat_kstat_open" >&6; }
13498 if test "x$ac_cv_lib_kstat_kstat_open" = xyes
; then :
13500 $as_echo "#define HAVE_LIBKSTAT 1" >>confdefs.h
13502 KSTAT_LIBS
="-lkstat"
13508 if test "$ac_cv_header_libprocstat_h" = "yes"
13510 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for procstat_open_sysctl in -lprocstat" >&5
13511 $as_echo_n "checking for procstat_open_sysctl in -lprocstat... " >&6; }
13512 if ${ac_cv_lib_procstat_procstat_open_sysctl+:} false
; then :
13513 $as_echo_n "(cached) " >&6
13515 ac_check_lib_save_LIBS
=$LIBS
13516 LIBS
="-lprocstat $LIBS"
13517 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13518 /* end confdefs.h. */
13520 /* Override any GCC internal prototype to avoid an error.
13521 Use char because int might match the return type of a GCC
13522 builtin and then its argument prototype would still apply. */
13526 char procstat_open_sysctl ();
13530 return procstat_open_sysctl ();
13535 if ac_fn_c_try_link
"$LINENO"; then :
13536 ac_cv_lib_procstat_procstat_open_sysctl
=yes
13538 ac_cv_lib_procstat_procstat_open_sysctl
=no
13540 rm -f core conftest.err conftest.
$ac_objext \
13541 conftest
$ac_exeext conftest.
$ac_ext
13542 LIBS
=$ac_check_lib_save_LIBS
13544 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_procstat_procstat_open_sysctl" >&5
13545 $as_echo "$ac_cv_lib_procstat_procstat_open_sysctl" >&6; }
13546 if test "x$ac_cv_lib_procstat_procstat_open_sysctl" = xyes
; then :
13548 $as_echo "#define HAVE_LIBPROCSTAT 1" >>confdefs.h
13550 PROCSTAT_LIBS
="-lprocstat"
13556 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lodbc" >&5
13557 $as_echo_n "checking for -lodbc... " >&6; }
13558 if ${ac_cv_lib_soname_odbc+:} false
; then :
13559 $as_echo_n "(cached) " >&6
13561 ac_check_soname_save_LIBS
=$LIBS
13562 LIBS
="-lodbc $LIBS"
13563 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13564 /* end confdefs.h. */
13566 /* Override any GCC internal prototype to avoid an error.
13567 Use char because int might match the return type of a GCC
13568 builtin and then its argument prototype would still apply. */
13572 char SQLConnect ();
13576 return SQLConnect ();
13581 if ac_fn_c_try_link
"$LINENO"; then :
13583 dll
) ac_cv_lib_soname_odbc
=`$ac_cv_path_LDD conftest.exe | grep "odbc" | sed -e "s/dll.*/dll/"';2,$d'` ;;
13584 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'` ;;
13585 *) ac_cv_lib_soname_odbc
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libodbc\\.$LIBEXT" | sed -e "s/^.*\\[\\(libodbc\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
13586 if ${ac_cv_lib_soname_odbc:+false} :; then :
13587 ac_cv_lib_soname_odbc
=`$LDD conftest$ac_exeext | grep "libodbc\\.$LIBEXT" | sed -e "s/^.*\(libodbc\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
13591 rm -f core conftest.err conftest.
$ac_objext \
13592 conftest
$ac_exeext conftest.
$ac_ext
13593 LIBS
=$ac_check_soname_save_LIBS
13595 if ${ac_cv_lib_soname_odbc:+false} :; then :
13596 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13597 $as_echo "not found" >&6; }
13598 cat >>confdefs.h
<<_ACEOF
13599 #define SONAME_LIBODBC "libodbc.$LIBEXT"
13603 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_odbc" >&5
13604 $as_echo "$ac_cv_lib_soname_odbc" >&6; }
13606 cat >>confdefs.h
<<_ACEOF
13607 #define SONAME_LIBODBC "$ac_cv_lib_soname_odbc"
13613 if test "x$with_netapi" != "xno"
13615 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lnetapi" >&5
13616 $as_echo_n "checking for -lnetapi... " >&6; }
13617 if ${ac_cv_lib_soname_netapi+:} false
; then :
13618 $as_echo_n "(cached) " >&6
13620 ac_check_soname_save_LIBS
=$LIBS
13621 LIBS
="-lnetapi $LIBS"
13622 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13623 /* end confdefs.h. */
13625 /* Override any GCC internal prototype to avoid an error.
13626 Use char because int might match the return type of a GCC
13627 builtin and then its argument prototype would still apply. */
13631 char libnetapi_init ();
13635 return libnetapi_init ();
13640 if ac_fn_c_try_link
"$LINENO"; then :
13642 dll
) ac_cv_lib_soname_netapi
=`$ac_cv_path_LDD conftest.exe | grep "netapi" | sed -e "s/dll.*/dll/"';2,$d'` ;;
13643 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'` ;;
13644 *) ac_cv_lib_soname_netapi
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libnetapi\\.$LIBEXT" | sed -e "s/^.*\\[\\(libnetapi\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
13645 if ${ac_cv_lib_soname_netapi:+false} :; then :
13646 ac_cv_lib_soname_netapi
=`$LDD conftest$ac_exeext | grep "libnetapi\\.$LIBEXT" | sed -e "s/^.*\(libnetapi\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
13650 rm -f core conftest.err conftest.
$ac_objext \
13651 conftest
$ac_exeext conftest.
$ac_ext
13652 LIBS
=$ac_check_soname_save_LIBS
13654 if ${ac_cv_lib_soname_netapi:+false} :; then :
13655 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13656 $as_echo "not found" >&6; }
13657 cat >>confdefs.h
<<_ACEOF
13658 #define SONAME_LIBNETAPI "libnetapi.$LIBEXT"
13662 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_netapi" >&5
13663 $as_echo "$ac_cv_lib_soname_netapi" >&6; }
13665 cat >>confdefs.h
<<_ACEOF
13666 #define SONAME_LIBNETAPI "$ac_cv_lib_soname_netapi"
13673 test -n "$ALSA_LIBS" || enable_winealsa_drv
=${enable_winealsa_drv:-no}
13674 test -n "$COREAUDIO_LIBS" || enable_winecoreaudio_drv
=${enable_winecoreaudio_drv:-no}
13675 test "x$ac_cv_member_oss_sysinfo_numaudioengines" = xyes || enable_wineoss_drv
=${enable_wineoss_drv:-no}
13676 test "$ac_cv_header_linux_joystick_h" = "yes" || enable_winejoystick_drv
=${enable_winejoystick_drv:-no}
13678 if test "x$ALSA_LIBS$COREAUDIO_LIBS" = "x" -a \
13679 "x$ac_cv_member_oss_sysinfo_numaudioengines" != xyes
-a \
13680 "x$with_alsa$with_coreaudio$with_oss" != xnonono
13682 as_fn_append wine_warnings
"|No sound system was found. Windows applications will be silent."
13688 if test "x${GCC}" = "xyes"
13690 EXTRACFLAGS
="-Wall -pipe"
13692 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gcc strength-reduce bug" >&5
13693 $as_echo_n "checking for gcc strength-reduce bug... " >&6; }
13694 if ${ac_cv_c_gcc_strength_bug+:} false
; then :
13695 $as_echo_n "(cached) " >&6
13697 if test "$cross_compiling" = yes; then :
13698 ac_cv_c_gcc_strength_bug
="yes"
13700 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13701 /* end confdefs.h. */
13702 int L[4] = {0,1,2,3};
13706 static int Array[3];
13707 unsigned int B = 3;
13709 for(i=0; i<B; i++) Array[i] = i - 3;
13710 for(i=0; i<4 - 1; i++) L[i] = L[i + 1];
13712 return (Array[1] != -2 || L[2] != 3)
13717 if ac_fn_c_try_run
"$LINENO"; then :
13718 ac_cv_c_gcc_strength_bug
="no"
13720 ac_cv_c_gcc_strength_bug
="yes"
13722 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext \
13723 conftest.
$ac_objext conftest.beam conftest.
$ac_ext
13727 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_gcc_strength_bug" >&5
13728 $as_echo "$ac_cv_c_gcc_strength_bug" >&6; }
13729 if test "$ac_cv_c_gcc_strength_bug" = "yes"
13731 EXTRACFLAGS
="$EXTRACFLAGS -fno-strength-reduce"
13734 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fno-builtin" >&5
13735 $as_echo_n "checking whether the compiler supports -fno-builtin... " >&6; }
13736 if ${ac_cv_cflags__fno_builtin+:} false
; then :
13737 $as_echo_n "(cached) " >&6
13739 ac_wine_try_cflags_saved
=$CFLAGS
13740 CFLAGS
="$CFLAGS -fno-builtin"
13741 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13742 /* end confdefs.h. */
13743 int main(int argc, char **argv) { return 0; }
13745 if ac_fn_c_try_link
"$LINENO"; then :
13746 ac_cv_cflags__fno_builtin
=yes
13748 ac_cv_cflags__fno_builtin
=no
13750 rm -f core conftest.err conftest.
$ac_objext \
13751 conftest
$ac_exeext conftest.
$ac_ext
13752 CFLAGS
=$ac_wine_try_cflags_saved
13754 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fno_builtin" >&5
13755 $as_echo "$ac_cv_cflags__fno_builtin" >&6; }
13756 if test "x$ac_cv_cflags__fno_builtin" = xyes
; then :
13757 BUILTINFLAG
="-fno-builtin"
13760 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fno-strict-aliasing" >&5
13761 $as_echo_n "checking whether the compiler supports -fno-strict-aliasing... " >&6; }
13762 if ${ac_cv_cflags__fno_strict_aliasing+:} false
; then :
13763 $as_echo_n "(cached) " >&6
13765 ac_wine_try_cflags_saved
=$CFLAGS
13766 CFLAGS
="$CFLAGS -fno-strict-aliasing"
13767 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13768 /* end confdefs.h. */
13769 int main(int argc, char **argv) { return 0; }
13771 if ac_fn_c_try_link
"$LINENO"; then :
13772 ac_cv_cflags__fno_strict_aliasing
=yes
13774 ac_cv_cflags__fno_strict_aliasing
=no
13776 rm -f core conftest.err conftest.
$ac_objext \
13777 conftest
$ac_exeext conftest.
$ac_ext
13778 CFLAGS
=$ac_wine_try_cflags_saved
13780 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fno_strict_aliasing" >&5
13781 $as_echo "$ac_cv_cflags__fno_strict_aliasing" >&6; }
13782 if test "x$ac_cv_cflags__fno_strict_aliasing" = xyes
; then :
13783 EXTRACFLAGS
="$EXTRACFLAGS -fno-strict-aliasing"
13785 saved_CFLAGS
=$CFLAGS
13786 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Werror=unknown-warning-option" >&5
13787 $as_echo_n "checking whether the compiler supports -Werror=unknown-warning-option... " >&6; }
13788 if ${ac_cv_cflags__Werror_unknown_warning_option+:} false
; then :
13789 $as_echo_n "(cached) " >&6
13791 ac_wine_try_cflags_saved
=$CFLAGS
13792 CFLAGS
="$CFLAGS -Werror=unknown-warning-option"
13793 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13794 /* end confdefs.h. */
13795 int main(int argc, char **argv) { return 0; }
13797 if ac_fn_c_try_link
"$LINENO"; then :
13798 ac_cv_cflags__Werror_unknown_warning_option
=yes
13800 ac_cv_cflags__Werror_unknown_warning_option
=no
13802 rm -f core conftest.err conftest.
$ac_objext \
13803 conftest
$ac_exeext conftest.
$ac_ext
13804 CFLAGS
=$ac_wine_try_cflags_saved
13806 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Werror_unknown_warning_option" >&5
13807 $as_echo "$ac_cv_cflags__Werror_unknown_warning_option" >&6; }
13808 if test "x$ac_cv_cflags__Werror_unknown_warning_option" = xyes
; then :
13809 CFLAGS
="$CFLAGS -Werror=unknown-warning-option"
13811 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wdeclaration-after-statement" >&5
13812 $as_echo_n "checking whether the compiler supports -Wdeclaration-after-statement... " >&6; }
13813 if ${ac_cv_cflags__Wdeclaration_after_statement+:} false
; then :
13814 $as_echo_n "(cached) " >&6
13816 ac_wine_try_cflags_saved
=$CFLAGS
13817 CFLAGS
="$CFLAGS -Wdeclaration-after-statement"
13818 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13819 /* end confdefs.h. */
13820 int main(int argc, char **argv) { return 0; }
13822 if ac_fn_c_try_link
"$LINENO"; then :
13823 ac_cv_cflags__Wdeclaration_after_statement
=yes
13825 ac_cv_cflags__Wdeclaration_after_statement
=no
13827 rm -f core conftest.err conftest.
$ac_objext \
13828 conftest
$ac_exeext conftest.
$ac_ext
13829 CFLAGS
=$ac_wine_try_cflags_saved
13831 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wdeclaration_after_statement" >&5
13832 $as_echo "$ac_cv_cflags__Wdeclaration_after_statement" >&6; }
13833 if test "x$ac_cv_cflags__Wdeclaration_after_statement" = xyes
; then :
13834 EXTRACFLAGS
="$EXTRACFLAGS -Wdeclaration-after-statement"
13836 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wempty-body" >&5
13837 $as_echo_n "checking whether the compiler supports -Wempty-body... " >&6; }
13838 if ${ac_cv_cflags__Wempty_body+:} false
; then :
13839 $as_echo_n "(cached) " >&6
13841 ac_wine_try_cflags_saved
=$CFLAGS
13842 CFLAGS
="$CFLAGS -Wempty-body"
13843 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13844 /* end confdefs.h. */
13845 int main(int argc, char **argv) { return 0; }
13847 if ac_fn_c_try_link
"$LINENO"; then :
13848 ac_cv_cflags__Wempty_body
=yes
13850 ac_cv_cflags__Wempty_body
=no
13852 rm -f core conftest.err conftest.
$ac_objext \
13853 conftest
$ac_exeext conftest.
$ac_ext
13854 CFLAGS
=$ac_wine_try_cflags_saved
13856 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wempty_body" >&5
13857 $as_echo "$ac_cv_cflags__Wempty_body" >&6; }
13858 if test "x$ac_cv_cflags__Wempty_body" = xyes
; then :
13859 EXTRACFLAGS
="$EXTRACFLAGS -Wempty-body"
13861 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wignored-qualifiers" >&5
13862 $as_echo_n "checking whether the compiler supports -Wignored-qualifiers... " >&6; }
13863 if ${ac_cv_cflags__Wignored_qualifiers+:} false
; then :
13864 $as_echo_n "(cached) " >&6
13866 ac_wine_try_cflags_saved
=$CFLAGS
13867 CFLAGS
="$CFLAGS -Wignored-qualifiers"
13868 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13869 /* end confdefs.h. */
13870 int main(int argc, char **argv) { return 0; }
13872 if ac_fn_c_try_link
"$LINENO"; then :
13873 ac_cv_cflags__Wignored_qualifiers
=yes
13875 ac_cv_cflags__Wignored_qualifiers
=no
13877 rm -f core conftest.err conftest.
$ac_objext \
13878 conftest
$ac_exeext conftest.
$ac_ext
13879 CFLAGS
=$ac_wine_try_cflags_saved
13881 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wignored_qualifiers" >&5
13882 $as_echo "$ac_cv_cflags__Wignored_qualifiers" >&6; }
13883 if test "x$ac_cv_cflags__Wignored_qualifiers" = xyes
; then :
13884 EXTRACFLAGS
="$EXTRACFLAGS -Wignored-qualifiers"
13886 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wstrict-prototypes" >&5
13887 $as_echo_n "checking whether the compiler supports -Wstrict-prototypes... " >&6; }
13888 if ${ac_cv_cflags__Wstrict_prototypes+:} false
; then :
13889 $as_echo_n "(cached) " >&6
13891 ac_wine_try_cflags_saved
=$CFLAGS
13892 CFLAGS
="$CFLAGS -Wstrict-prototypes"
13893 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13894 /* end confdefs.h. */
13895 int main(int argc, char **argv) { return 0; }
13897 if ac_fn_c_try_link
"$LINENO"; then :
13898 ac_cv_cflags__Wstrict_prototypes
=yes
13900 ac_cv_cflags__Wstrict_prototypes
=no
13902 rm -f core conftest.err conftest.
$ac_objext \
13903 conftest
$ac_exeext conftest.
$ac_ext
13904 CFLAGS
=$ac_wine_try_cflags_saved
13906 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wstrict_prototypes" >&5
13907 $as_echo "$ac_cv_cflags__Wstrict_prototypes" >&6; }
13908 if test "x$ac_cv_cflags__Wstrict_prototypes" = xyes
; then :
13909 EXTRACFLAGS
="$EXTRACFLAGS -Wstrict-prototypes"
13911 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wtype-limits" >&5
13912 $as_echo_n "checking whether the compiler supports -Wtype-limits... " >&6; }
13913 if ${ac_cv_cflags__Wtype_limits+:} false
; then :
13914 $as_echo_n "(cached) " >&6
13916 ac_wine_try_cflags_saved
=$CFLAGS
13917 CFLAGS
="$CFLAGS -Wtype-limits"
13918 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13919 /* end confdefs.h. */
13920 int main(int argc, char **argv) { return 0; }
13922 if ac_fn_c_try_link
"$LINENO"; then :
13923 ac_cv_cflags__Wtype_limits
=yes
13925 ac_cv_cflags__Wtype_limits
=no
13927 rm -f core conftest.err conftest.
$ac_objext \
13928 conftest
$ac_exeext conftest.
$ac_ext
13929 CFLAGS
=$ac_wine_try_cflags_saved
13931 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wtype_limits" >&5
13932 $as_echo "$ac_cv_cflags__Wtype_limits" >&6; }
13933 if test "x$ac_cv_cflags__Wtype_limits" = xyes
; then :
13934 EXTRACFLAGS
="$EXTRACFLAGS -Wtype-limits"
13936 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wunused-but-set-parameter" >&5
13937 $as_echo_n "checking whether the compiler supports -Wunused-but-set-parameter... " >&6; }
13938 if ${ac_cv_cflags__Wunused_but_set_parameter+:} false
; then :
13939 $as_echo_n "(cached) " >&6
13941 ac_wine_try_cflags_saved
=$CFLAGS
13942 CFLAGS
="$CFLAGS -Wunused-but-set-parameter"
13943 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13944 /* end confdefs.h. */
13945 int main(int argc, char **argv) { return 0; }
13947 if ac_fn_c_try_link
"$LINENO"; then :
13948 ac_cv_cflags__Wunused_but_set_parameter
=yes
13950 ac_cv_cflags__Wunused_but_set_parameter
=no
13952 rm -f core conftest.err conftest.
$ac_objext \
13953 conftest
$ac_exeext conftest.
$ac_ext
13954 CFLAGS
=$ac_wine_try_cflags_saved
13956 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wunused_but_set_parameter" >&5
13957 $as_echo "$ac_cv_cflags__Wunused_but_set_parameter" >&6; }
13958 if test "x$ac_cv_cflags__Wunused_but_set_parameter" = xyes
; then :
13959 EXTRACFLAGS
="$EXTRACFLAGS -Wunused-but-set-parameter"
13961 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wvla" >&5
13962 $as_echo_n "checking whether the compiler supports -Wvla... " >&6; }
13963 if ${ac_cv_cflags__Wvla+:} false
; then :
13964 $as_echo_n "(cached) " >&6
13966 ac_wine_try_cflags_saved
=$CFLAGS
13967 CFLAGS
="$CFLAGS -Wvla"
13968 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13969 /* end confdefs.h. */
13970 int main(int argc, char **argv) { return 0; }
13972 if ac_fn_c_try_link
"$LINENO"; then :
13973 ac_cv_cflags__Wvla
=yes
13975 ac_cv_cflags__Wvla
=no
13977 rm -f core conftest.err conftest.
$ac_objext \
13978 conftest
$ac_exeext conftest.
$ac_ext
13979 CFLAGS
=$ac_wine_try_cflags_saved
13981 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wvla" >&5
13982 $as_echo "$ac_cv_cflags__Wvla" >&6; }
13983 if test "x$ac_cv_cflags__Wvla" = xyes
; then :
13984 EXTRACFLAGS
="$EXTRACFLAGS -Wvla"
13986 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wwrite-strings" >&5
13987 $as_echo_n "checking whether the compiler supports -Wwrite-strings... " >&6; }
13988 if ${ac_cv_cflags__Wwrite_strings+:} false
; then :
13989 $as_echo_n "(cached) " >&6
13991 ac_wine_try_cflags_saved
=$CFLAGS
13992 CFLAGS
="$CFLAGS -Wwrite-strings"
13993 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13994 /* end confdefs.h. */
13995 int main(int argc, char **argv) { return 0; }
13997 if ac_fn_c_try_link
"$LINENO"; then :
13998 ac_cv_cflags__Wwrite_strings
=yes
14000 ac_cv_cflags__Wwrite_strings
=no
14002 rm -f core conftest.err conftest.
$ac_objext \
14003 conftest
$ac_exeext conftest.
$ac_ext
14004 CFLAGS
=$ac_wine_try_cflags_saved
14006 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wwrite_strings" >&5
14007 $as_echo "$ac_cv_cflags__Wwrite_strings" >&6; }
14008 if test "x$ac_cv_cflags__Wwrite_strings" = xyes
; then :
14009 EXTRACFLAGS
="$EXTRACFLAGS -Wwrite-strings"
14012 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wpointer-arith" >&5
14013 $as_echo_n "checking whether the compiler supports -Wpointer-arith... " >&6; }
14014 if ${ac_cv_cflags__Wpointer_arith+:} false
; then :
14015 $as_echo_n "(cached) " >&6
14017 ac_wine_try_cflags_saved
=$CFLAGS
14018 CFLAGS
="$CFLAGS -Wpointer-arith"
14019 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14020 /* end confdefs.h. */
14021 int main(int argc, char **argv) { return 0; }
14023 if ac_fn_c_try_link
"$LINENO"; then :
14024 ac_cv_cflags__Wpointer_arith
=yes
14026 ac_cv_cflags__Wpointer_arith
=no
14028 rm -f core conftest.err conftest.
$ac_objext \
14029 conftest
$ac_exeext conftest.
$ac_ext
14030 CFLAGS
=$ac_wine_try_cflags_saved
14032 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wpointer_arith" >&5
14033 $as_echo "$ac_cv_cflags__Wpointer_arith" >&6; }
14034 if test "x$ac_cv_cflags__Wpointer_arith" = xyes
; then :
14035 saved_string_h_CFLAGS
=$CFLAGS
14036 CFLAGS
="$CFLAGS -Wpointer-arith -Werror"
14037 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for broken string.h that generates warnings with -Wpointer-arith" >&5
14038 $as_echo_n "checking for broken string.h that generates warnings with -Wpointer-arith... " >&6; }
14039 if ${ac_cv_c_string_h_warnings+:} false
; then :
14040 $as_echo_n "(cached) " >&6
14042 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14043 /* end confdefs.h. */
14044 #include <string.h>
14053 if ac_fn_c_try_compile
"$LINENO"; then :
14054 ac_cv_c_string_h_warnings
=no
14056 ac_cv_c_string_h_warnings
=yes
14058 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
14060 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_string_h_warnings" >&5
14061 $as_echo "$ac_cv_c_string_h_warnings" >&6; }
14062 test "$ac_cv_c_string_h_warnings" = yes || EXTRACFLAGS
="$EXTRACFLAGS -Wpointer-arith"
14063 CFLAGS
=$saved_string_h_CFLAGS
14066 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wlogical-op" >&5
14067 $as_echo_n "checking whether the compiler supports -Wlogical-op... " >&6; }
14068 if ${ac_cv_cflags__Wlogical_op+:} false
; then :
14069 $as_echo_n "(cached) " >&6
14071 ac_wine_try_cflags_saved
=$CFLAGS
14072 CFLAGS
="$CFLAGS -Wlogical-op"
14073 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14074 /* end confdefs.h. */
14075 int main(int argc, char **argv) { return 0; }
14077 if ac_fn_c_try_link
"$LINENO"; then :
14078 ac_cv_cflags__Wlogical_op
=yes
14080 ac_cv_cflags__Wlogical_op
=no
14082 rm -f core conftest.err conftest.
$ac_objext \
14083 conftest
$ac_exeext conftest.
$ac_ext
14084 CFLAGS
=$ac_wine_try_cflags_saved
14086 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wlogical_op" >&5
14087 $as_echo "$ac_cv_cflags__Wlogical_op" >&6; }
14088 if test "x$ac_cv_cflags__Wlogical_op" = xyes
; then :
14089 saved_string_h_CFLAGS
=$CFLAGS
14090 CFLAGS
="$CFLAGS -Wlogical-op -Werror"
14091 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for broken string.h that generates warnings with -Wlogical-op" >&5
14092 $as_echo_n "checking for broken string.h that generates warnings with -Wlogical-op... " >&6; }
14093 if ${ac_cv_c_logicalop_noisy+:} false
; then :
14094 $as_echo_n "(cached) " >&6
14096 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14097 /* end confdefs.h. */
14098 #include <string.h>
14099 char*f(const char *h,char n) {return strchr(h,n);}
14108 if ac_fn_c_try_compile
"$LINENO"; then :
14109 ac_cv_c_logicalop_noisy
=no
14111 ac_cv_c_logicalop_noisy
=yes
14113 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
14115 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_logicalop_noisy" >&5
14116 $as_echo "$ac_cv_c_logicalop_noisy" >&6; }
14117 CFLAGS
=$saved_string_h_CFLAGS
14118 test "$ac_cv_c_logicalop_noisy" = yes || EXTRACFLAGS
="$EXTRACFLAGS -Wlogical-op"
14121 CFLAGS
=$saved_CFLAGS
14123 for ac_flag
in $CFLAGS; do
14125 -g) case $host_os in
14126 darwin
*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -gstabs+" >&5
14127 $as_echo_n "checking whether the compiler supports -gstabs+... " >&6; }
14128 if ${ac_cv_cflags__gstabsp+:} false
; then :
14129 $as_echo_n "(cached) " >&6
14131 ac_wine_try_cflags_saved
=$CFLAGS
14132 CFLAGS
="$CFLAGS -gstabs+"
14133 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14134 /* end confdefs.h. */
14135 int main(int argc, char **argv) { return 0; }
14137 if ac_fn_c_try_link
"$LINENO"; then :
14138 ac_cv_cflags__gstabsp
=yes
14140 ac_cv_cflags__gstabsp
=no
14142 rm -f core conftest.err conftest.
$ac_objext \
14143 conftest
$ac_exeext conftest.
$ac_ext
14144 CFLAGS
=$ac_wine_try_cflags_saved
14146 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__gstabsp" >&5
14147 $as_echo "$ac_cv_cflags__gstabsp" >&6; }
14148 if test "x$ac_cv_cflags__gstabsp" = xyes
; then :
14149 EXTRACFLAGS
="$EXTRACFLAGS -gstabs+"
14151 *) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -gdwarf-2" >&5
14152 $as_echo_n "checking whether the compiler supports -gdwarf-2... " >&6; }
14153 if ${ac_cv_cflags__gdwarf_2+:} false
; then :
14154 $as_echo_n "(cached) " >&6
14156 ac_wine_try_cflags_saved
=$CFLAGS
14157 CFLAGS
="$CFLAGS -gdwarf-2"
14158 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14159 /* end confdefs.h. */
14160 int main(int argc, char **argv) { return 0; }
14162 if ac_fn_c_try_link
"$LINENO"; then :
14163 ac_cv_cflags__gdwarf_2
=yes
14165 ac_cv_cflags__gdwarf_2
=no
14167 rm -f core conftest.err conftest.
$ac_objext \
14168 conftest
$ac_exeext conftest.
$ac_ext
14169 CFLAGS
=$ac_wine_try_cflags_saved
14171 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__gdwarf_2" >&5
14172 $as_echo "$ac_cv_cflags__gdwarf_2" >&6; }
14173 if test "x$ac_cv_cflags__gdwarf_2" = xyes
; then :
14174 EXTRACFLAGS
="$EXTRACFLAGS -gdwarf-2"
14176 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -gstrict-dwarf" >&5
14177 $as_echo_n "checking whether the compiler supports -gstrict-dwarf... " >&6; }
14178 if ${ac_cv_cflags__gstrict_dwarf+:} false
; then :
14179 $as_echo_n "(cached) " >&6
14181 ac_wine_try_cflags_saved
=$CFLAGS
14182 CFLAGS
="$CFLAGS -gstrict-dwarf"
14183 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14184 /* end confdefs.h. */
14185 int main(int argc, char **argv) { return 0; }
14187 if ac_fn_c_try_link
"$LINENO"; then :
14188 ac_cv_cflags__gstrict_dwarf
=yes
14190 ac_cv_cflags__gstrict_dwarf
=no
14192 rm -f core conftest.err conftest.
$ac_objext \
14193 conftest
$ac_exeext conftest.
$ac_ext
14194 CFLAGS
=$ac_wine_try_cflags_saved
14196 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__gstrict_dwarf" >&5
14197 $as_echo "$ac_cv_cflags__gstrict_dwarf" >&6; }
14198 if test "x$ac_cv_cflags__gstrict_dwarf" = xyes
; then :
14199 EXTRACFLAGS
="$EXTRACFLAGS -gstrict-dwarf"
14206 *i
[3456789]86*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fno-omit-frame-pointer" >&5
14207 $as_echo_n "checking whether the compiler supports -fno-omit-frame-pointer... " >&6; }
14208 if ${ac_cv_cflags__fno_omit_frame_pointer+:} false
; then :
14209 $as_echo_n "(cached) " >&6
14211 ac_wine_try_cflags_saved
=$CFLAGS
14212 CFLAGS
="$CFLAGS -fno-omit-frame-pointer"
14213 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14214 /* end confdefs.h. */
14215 int main(int argc, char **argv) { return 0; }
14217 if ac_fn_c_try_link
"$LINENO"; then :
14218 ac_cv_cflags__fno_omit_frame_pointer
=yes
14220 ac_cv_cflags__fno_omit_frame_pointer
=no
14222 rm -f core conftest.err conftest.
$ac_objext \
14223 conftest
$ac_exeext conftest.
$ac_ext
14224 CFLAGS
=$ac_wine_try_cflags_saved
14226 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fno_omit_frame_pointer" >&5
14227 $as_echo "$ac_cv_cflags__fno_omit_frame_pointer" >&6; }
14228 if test "x$ac_cv_cflags__fno_omit_frame_pointer" = xyes
; then :
14229 EXTRACFLAGS
="$EXTRACFLAGS -fno-omit-frame-pointer"
14234 x86_64-
*mingw32
*|x86_64-
*cygwin
*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wno-format" >&5
14235 $as_echo_n "checking whether the compiler supports -Wno-format... " >&6; }
14236 if ${ac_cv_cflags__Wno_format+:} false
; then :
14237 $as_echo_n "(cached) " >&6
14239 ac_wine_try_cflags_saved
=$CFLAGS
14240 CFLAGS
="$CFLAGS -Wno-format"
14241 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14242 /* end confdefs.h. */
14243 int main(int argc, char **argv) { return 0; }
14245 if ac_fn_c_try_link
"$LINENO"; then :
14246 ac_cv_cflags__Wno_format
=yes
14248 ac_cv_cflags__Wno_format
=no
14250 rm -f core conftest.err conftest.
$ac_objext \
14251 conftest
$ac_exeext conftest.
$ac_ext
14252 CFLAGS
=$ac_wine_try_cflags_saved
14254 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wno_format" >&5
14255 $as_echo "$ac_cv_cflags__Wno_format" >&6; }
14256 if test "x$ac_cv_cflags__Wno_format" = xyes
; then :
14257 EXTRACFLAGS
="$EXTRACFLAGS -Wno-format"
14261 if test "x$enable_maintainer_mode" = "xyes"
14263 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Werror" >&5
14264 $as_echo_n "checking whether the compiler supports -Werror... " >&6; }
14265 if ${ac_cv_cflags__Werror+:} false
; then :
14266 $as_echo_n "(cached) " >&6
14268 ac_wine_try_cflags_saved
=$CFLAGS
14269 CFLAGS
="$CFLAGS -Werror"
14270 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14271 /* end confdefs.h. */
14272 int main(int argc, char **argv) { return 0; }
14274 if ac_fn_c_try_link
"$LINENO"; then :
14275 ac_cv_cflags__Werror
=yes
14277 ac_cv_cflags__Werror
=no
14279 rm -f core conftest.err conftest.
$ac_objext \
14280 conftest
$ac_exeext conftest.
$ac_ext
14281 CFLAGS
=$ac_wine_try_cflags_saved
14283 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Werror" >&5
14284 $as_echo "$ac_cv_cflags__Werror" >&6; }
14285 if test "x$ac_cv_cflags__Werror" = xyes
; then :
14286 EXTRACFLAGS
="$EXTRACFLAGS -Werror"
14290 saved_CFLAGS
="$CFLAGS"
14291 CFLAGS
="$CFLAGS -Werror"
14292 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ms_hook_prologue attribute" >&5
14293 $as_echo_n "checking for ms_hook_prologue attribute... " >&6; }
14294 if ${ac_cv_have_ms_hook_prologue+:} false
; then :
14295 $as_echo_n "(cached) " >&6
14297 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14298 /* end confdefs.h. */
14299 int __attribute__((__ms_hook_prologue__)) test(void) { return 0; }
14308 if ac_fn_c_try_compile
"$LINENO"; then :
14309 ac_cv_have_ms_hook_prologue
="yes"
14311 ac_cv_have_ms_hook_prologue
="no"
14313 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
14315 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_ms_hook_prologue" >&5
14316 $as_echo "$ac_cv_have_ms_hook_prologue" >&6; }
14317 CFLAGS
="$saved_CFLAGS"
14318 if test "$ac_cv_have_ms_hook_prologue" = "yes"
14321 $as_echo "#define DECLSPEC_HOTPATCH __attribute__((__ms_hook_prologue__))" >>confdefs.h
14324 $as_echo "#define DECLSPEC_HOTPATCH /* */" >>confdefs.h
14330 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for the need to disable Fortify" >&5
14331 $as_echo_n "checking for the need to disable Fortify... " >&6; }
14332 if ${ac_cv_c_fortify_enabled+:} false
; then :
14333 $as_echo_n "(cached) " >&6
14335 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14336 /* end confdefs.h. */
14337 #include <string.h>
14341 #if defined(__USE_FORTIFY_LEVEL) && __USE_FORTIFY_LEVEL > 0
14342 #error Fortify enabled
14348 if ac_fn_c_try_compile
"$LINENO"; then :
14349 ac_cv_c_fortify_enabled
=no
14351 ac_cv_c_fortify_enabled
=yes
14353 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
14355 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_fortify_enabled" >&5
14356 $as_echo "$ac_cv_c_fortify_enabled" >&6; }
14357 if test "$ac_cv_c_fortify_enabled" = yes
14359 CFLAGS
="$CFLAGS -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=0"
14363 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether external symbols need an underscore prefix" >&5
14364 $as_echo_n "checking whether external symbols need an underscore prefix... " >&6; }
14365 if ${ac_cv_c_extern_prefix+:} false
; then :
14366 $as_echo_n "(cached) " >&6
14368 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14369 /* end confdefs.h. */
14370 extern int ac_test;
14374 asm(".globl _ac_test\n_ac_test:\t.long 0"); if (ac_test) return 1
14379 if ac_fn_c_try_link
"$LINENO"; then :
14380 ac_cv_c_extern_prefix
="yes"
14382 ac_cv_c_extern_prefix
="no"
14384 rm -f core conftest.err conftest.
$ac_objext \
14385 conftest
$ac_exeext conftest.
$ac_ext
14387 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_extern_prefix" >&5
14388 $as_echo "$ac_cv_c_extern_prefix" >&6; }
14392 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether external symbols need stdcall decoration" >&5
14393 $as_echo_n "checking whether external symbols need stdcall decoration... " >&6; }
14394 if ${ac_cv_c_stdcall_suffix+:} false
; then :
14395 $as_echo_n "(cached) " >&6
14397 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14398 /* end confdefs.h. */
14400 #define __stdcall __attribute__((__stdcall__))
14402 int __stdcall ac_test(int i) { return i; }
14406 asm("jmp _ac_test@4"); if (ac_test(1)) return 1
14411 if ac_fn_c_try_link
"$LINENO"; then :
14412 ac_cv_c_stdcall_suffix
="yes"
14414 ac_cv_c_stdcall_suffix
="no"
14416 rm -f core conftest.err conftest.
$ac_objext \
14417 conftest
$ac_exeext conftest.
$ac_ext
14419 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_stdcall_suffix" >&5
14420 $as_echo "$ac_cv_c_stdcall_suffix" >&6; } ;;
14421 *) ac_cv_c_stdcall_suffix
="no" ;;
14425 if test "$ac_cv_c_extern_prefix" = "yes"
14427 $as_echo "#define __ASM_NAME(name) \"_\" name" >>confdefs.h
14429 asm_name_prefix
="_"
14431 $as_echo "#define __ASM_NAME(name) name" >>confdefs.h
14437 if test "$ac_cv_c_stdcall_suffix" = "yes"
14439 $as_echo "#define __ASM_STDCALL(args) \"@\" #args" >>confdefs.h
14442 $as_echo "#define __ASM_STDCALL(args) \"\"" >>confdefs.h
14447 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to define a function in assembly code" >&5
14448 $as_echo_n "checking how to define a function in assembly code... " >&6; }
14449 if ${ac_cv_asm_func_def+:} false
; then :
14450 $as_echo_n "(cached) " >&6
14452 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14453 /* end confdefs.h. */
14458 asm("\t.globl _ac_test\n\t.def _ac_test; .scl 2; .type 32; .endef\n_ac_test:\t.long 0");
14463 if ac_fn_c_try_link
"$LINENO"; then :
14464 ac_cv_asm_func_def
=".def"
14466 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14467 /* end confdefs.h. */
14472 asm("\t.globl _ac_test\n\t.type _ac_test,@function\n_ac_test:\t.long 0");
14477 if ac_fn_c_try_link
"$LINENO"; then :
14478 ac_cv_asm_func_def
=".type @function"
14480 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14481 /* end confdefs.h. */
14486 asm("\t.globl _ac_test\n\t.type _ac_test,2\n_ac_test:\t.long 0");
14491 if ac_fn_c_try_link
"$LINENO"; then :
14492 ac_cv_asm_func_def
=".type 2"
14494 ac_cv_asm_func_def
="unknown"
14496 rm -f core conftest.err conftest.
$ac_objext \
14497 conftest
$ac_exeext conftest.
$ac_ext
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 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_asm_func_def" >&5
14506 $as_echo "$ac_cv_asm_func_def" >&6; }
14509 case "$ac_cv_asm_func_def" in
14511 $as_echo "#define __ASM_FUNC(name) \".def \" __ASM_NAME(name) \"; .scl 2; .type 32; .endef\"" >>confdefs.h
14513 asm_func_header
=".def $asm_name_prefix\" #name suffix \"; .scl 2; .type 32; .endef" ;;
14515 $as_echo "#define __ASM_FUNC(name) \".type \" __ASM_NAME(name) \",@function\"" >>confdefs.h
14517 asm_func_header
=".type $asm_name_prefix\" #name suffix \",@function" ;;
14519 $as_echo "#define __ASM_FUNC(name) \".type \" __ASM_NAME(name) \",2\"" >>confdefs.h
14521 asm_func_header
=".type $asm_name_prefix\" #name suffix \",2" ;;
14523 $as_echo "#define __ASM_FUNC(name) \"\"" >>confdefs.h
14525 asm_func_header
="" ;;
14528 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether asm() works outside of functions" >&5
14529 $as_echo_n "checking whether asm() works outside of functions... " >&6; }
14530 if ${ac_cv_c_asm_outside_funcs+:} false
; then :
14531 $as_echo_n "(cached) " >&6
14533 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14534 /* end confdefs.h. */
14535 asm(".text\n\t.long 0");
14544 if ac_fn_c_try_compile
"$LINENO"; then :
14545 ac_cv_c_asm_outside_funcs
="yes"
14547 ac_cv_c_asm_outside_funcs
="no"
14549 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
14551 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_asm_outside_funcs" >&5
14552 $as_echo "$ac_cv_c_asm_outside_funcs" >&6; }
14554 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether .previous is supported in assembly code" >&5
14555 $as_echo_n "checking whether .previous is supported in assembly code... " >&6; }
14556 if ${ac_cv_c_dot_previous+:} false
; then :
14557 $as_echo_n "(cached) " >&6
14559 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14560 /* end confdefs.h. */
14565 asm(".text\nac_test:\t.long 0\n\t.previous");
14570 if ac_fn_c_try_link
"$LINENO"; then :
14571 ac_cv_c_dot_previous
="yes"
14573 ac_cv_c_dot_previous
="no"
14575 rm -f core conftest.err conftest.
$ac_objext \
14576 conftest
$ac_exeext conftest.
$ac_ext
14578 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_dot_previous" >&5
14579 $as_echo "$ac_cv_c_dot_previous" >&6; }
14581 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether CFI directives are supported in assembly code" >&5
14582 $as_echo_n "checking whether CFI directives are supported in assembly code... " >&6; }
14583 if ${ac_cv_c_cfi_support+:} false
; then :
14584 $as_echo_n "(cached) " >&6
14586 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14587 /* end confdefs.h. */
14588 asm(".text\nac_test:\t.cfi_startproc\n\t.long 0\n\t.cfi_endproc");
14597 if ac_fn_c_try_compile
"$LINENO"; then :
14598 ac_cv_c_cfi_support
="yes"
14600 ac_cv_c_cfi_support
="no"
14602 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
14604 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_cfi_support" >&5
14605 $as_echo "$ac_cv_c_cfi_support" >&6; }
14607 asm_func_header
=".globl $asm_name_prefix\" #name suffix \"\\n\\t$asm_func_header\\n$asm_name_prefix\" #name suffix \":\\n\\t"
14608 asm_func_trailer
=""
14609 if test "$ac_cv_c_dot_previous" = "yes"
14611 asm_func_trailer
="\\n\\t.previous"
14613 if test "$ac_cv_c_cfi_support" = "yes"
14615 asm_func_header
="$asm_func_header.cfi_startproc\\n\\t"
14616 asm_func_trailer
="\\n\\t.cfi_endproc$asm_func_trailer"
14618 $as_echo "#define __ASM_CFI(str) str" >>confdefs.h
14620 UNWINDFLAGS
=-fasynchronous-unwind-tables
14623 $as_echo "#define __ASM_CFI(str) \"\"" >>confdefs.h
14627 asm_func_code
="$asm_func_header\" code \"$asm_func_trailer"
14630 if test "$ac_cv_c_asm_outside_funcs" = "yes"
14632 cat >>confdefs.h
<<_ACEOF
14633 #define __ASM_DEFINE_FUNC(name,suffix,code) asm(".text\n\t.align 4\n\t$asm_func_code");
14637 cat >>confdefs.h
<<_ACEOF
14638 #define __ASM_DEFINE_FUNC(name,suffix,code) void __asm_dummy_##name(void) { asm(".text\n\t.align 4\n\t$asm_func_code"); }
14643 $as_echo "#define __ASM_GLOBAL_FUNC(name,code) __ASM_DEFINE_FUNC(name,\"\",code)" >>confdefs.h
14646 $as_echo "#define __ASM_STDCALL_FUNC(name,args,code) __ASM_DEFINE_FUNC(name,__ASM_STDCALL(args),code)" >>confdefs.h
14651 cygwin
*|mingw32
*) TOOLSEXT
=".exe"
14658 *i
[3456789]86*|x86_64
*)
14659 test "$wine_binary" = wine || wine_fn_ignore_file
"loader/wine-preloader"
14660 loader_programs
="$loader_programs $wine_binary-preloader"
14661 as_fn_append LOADER_RULES
"
14662 $wine_binary-preloader: preloader.o
14663 \$(CC) -o \$@ -static -nostartfiles -nodefaultlibs -Wl,-Ttext=0x7c400000 preloader.o \$(LIBPORT) \$(LDFLAGS)
14665 install install-lib:: $wine_binary-preloader
14666 \$(INSTALL_PROGRAM) $wine_binary-preloader \$(DESTDIR)\$(bindir)/$wine_binary-preloader
14669 \$(RM) \$(DESTDIR)\$(bindir)/$wine_binary-preloader
14671 preloader_EXTRADEFS = $BUILTINFLAG
14676 as_fn_append LOADER_RULES
"
14677 PROGRAMS = $loader_programs
14681 ac_save_CFLAGS
="$CFLAGS"
14682 CFLAGS
="$CFLAGS $BUILTINFLAG"
14761 as_ac_var
=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
14762 ac_fn_c_check_func
"$LINENO" "$ac_func" "$as_ac_var"
14763 if eval test \"x\$
"$as_ac_var"\" = x
"yes"; then :
14764 cat >>confdefs.h
<<_ACEOF
14765 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
14771 CFLAGS
="$ac_save_CFLAGS"
14773 if test "$ac_cv_func_dlopen" = no
14775 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
14776 $as_echo_n "checking for dlopen in -ldl... " >&6; }
14777 if ${ac_cv_lib_dl_dlopen+:} false
; then :
14778 $as_echo_n "(cached) " >&6
14780 ac_check_lib_save_LIBS
=$LIBS
14782 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14783 /* end confdefs.h. */
14785 /* Override any GCC internal prototype to avoid an error.
14786 Use char because int might match the return type of a GCC
14787 builtin and then its argument prototype would still apply. */
14800 if ac_fn_c_try_link
"$LINENO"; then :
14801 ac_cv_lib_dl_dlopen
=yes
14803 ac_cv_lib_dl_dlopen
=no
14805 rm -f core conftest.err conftest.
$ac_objext \
14806 conftest
$ac_exeext conftest.
$ac_ext
14807 LIBS
=$ac_check_lib_save_LIBS
14809 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
14810 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
14811 if test "x$ac_cv_lib_dl_dlopen" = xyes
; then :
14812 $as_echo "#define HAVE_DLOPEN 1" >>confdefs.h
14818 ac_wine_check_funcs_save_LIBS
="$LIBS"
14819 LIBS
="$LIBS $DL_LIBS"
14820 for ac_func
in dladdr
14822 ac_fn_c_check_func
"$LINENO" "dladdr" "ac_cv_func_dladdr"
14823 if test "x$ac_cv_func_dladdr" = xyes
; then :
14824 cat >>confdefs.h
<<_ACEOF
14825 #define HAVE_DLADDR 1
14831 LIBS
="$ac_wine_check_funcs_save_LIBS"
14833 if test "$ac_cv_func_poll" = no
14835 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for poll in -lpoll" >&5
14836 $as_echo_n "checking for poll in -lpoll... " >&6; }
14837 if ${ac_cv_lib_poll_poll+:} false
; then :
14838 $as_echo_n "(cached) " >&6
14840 ac_check_lib_save_LIBS
=$LIBS
14841 LIBS
="-lpoll $LIBS"
14842 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14843 /* end confdefs.h. */
14845 /* Override any GCC internal prototype to avoid an error.
14846 Use char because int might match the return type of a GCC
14847 builtin and then its argument prototype would still apply. */
14860 if ac_fn_c_try_link
"$LINENO"; then :
14861 ac_cv_lib_poll_poll
=yes
14863 ac_cv_lib_poll_poll
=no
14865 rm -f core conftest.err conftest.
$ac_objext \
14866 conftest
$ac_exeext conftest.
$ac_ext
14867 LIBS
=$ac_check_lib_save_LIBS
14869 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_poll_poll" >&5
14870 $as_echo "$ac_cv_lib_poll_poll" >&6; }
14871 if test "x$ac_cv_lib_poll_poll" = xyes
; then :
14872 $as_echo "#define HAVE_POLL 1" >>confdefs.h
14879 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing gethostbyname" >&5
14880 $as_echo_n "checking for library containing gethostbyname... " >&6; }
14881 if ${ac_cv_search_gethostbyname+:} false
; then :
14882 $as_echo_n "(cached) " >&6
14884 ac_func_search_save_LIBS
=$LIBS
14885 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14886 /* end confdefs.h. */
14888 /* Override any GCC internal prototype to avoid an error.
14889 Use char because int might match the return type of a GCC
14890 builtin and then its argument prototype would still apply. */
14894 char gethostbyname ();
14898 return gethostbyname ();
14903 for ac_lib
in '' nsl
; do
14904 if test -z "$ac_lib"; then
14905 ac_res
="none required"
14908 LIBS
="-l$ac_lib $ac_func_search_save_LIBS"
14910 if ac_fn_c_try_link
"$LINENO"; then :
14911 ac_cv_search_gethostbyname
=$ac_res
14913 rm -f core conftest.err conftest.
$ac_objext \
14915 if ${ac_cv_search_gethostbyname+:} false
; then :
14919 if ${ac_cv_search_gethostbyname+:} false
; then :
14922 ac_cv_search_gethostbyname
=no
14924 rm conftest.
$ac_ext
14925 LIBS
=$ac_func_search_save_LIBS
14927 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_gethostbyname" >&5
14928 $as_echo "$ac_cv_search_gethostbyname" >&6; }
14929 ac_res
=$ac_cv_search_gethostbyname
14930 if test "$ac_res" != no
; then :
14931 test "$ac_res" = "none required" || LIBS
="$ac_res $LIBS"
14936 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing connect" >&5
14937 $as_echo_n "checking for library containing connect... " >&6; }
14938 if ${ac_cv_search_connect+:} false
; then :
14939 $as_echo_n "(cached) " >&6
14941 ac_func_search_save_LIBS
=$LIBS
14942 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14943 /* end confdefs.h. */
14945 /* Override any GCC internal prototype to avoid an error.
14946 Use char because int might match the return type of a GCC
14947 builtin and then its argument prototype would still apply. */
14960 for ac_lib
in '' socket
; do
14961 if test -z "$ac_lib"; then
14962 ac_res
="none required"
14965 LIBS
="-l$ac_lib $ac_func_search_save_LIBS"
14967 if ac_fn_c_try_link
"$LINENO"; then :
14968 ac_cv_search_connect
=$ac_res
14970 rm -f core conftest.err conftest.
$ac_objext \
14972 if ${ac_cv_search_connect+:} false
; then :
14976 if ${ac_cv_search_connect+:} false
; then :
14979 ac_cv_search_connect
=no
14981 rm conftest.
$ac_ext
14982 LIBS
=$ac_func_search_save_LIBS
14984 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_connect" >&5
14985 $as_echo "$ac_cv_search_connect" >&6; }
14986 ac_res
=$ac_cv_search_connect
14987 if test "$ac_res" != no
; then :
14988 test "$ac_res" = "none required" || LIBS
="$ac_res $LIBS"
14993 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing inet_aton" >&5
14994 $as_echo_n "checking for library containing inet_aton... " >&6; }
14995 if ${ac_cv_search_inet_aton+:} false
; then :
14996 $as_echo_n "(cached) " >&6
14998 ac_func_search_save_LIBS
=$LIBS
14999 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15000 /* end confdefs.h. */
15002 /* Override any GCC internal prototype to avoid an error.
15003 Use char because int might match the return type of a GCC
15004 builtin and then its argument prototype would still apply. */
15012 return inet_aton ();
15017 for ac_lib
in '' resolv
; do
15018 if test -z "$ac_lib"; then
15019 ac_res
="none required"
15022 LIBS
="-l$ac_lib $ac_func_search_save_LIBS"
15024 if ac_fn_c_try_link
"$LINENO"; then :
15025 ac_cv_search_inet_aton
=$ac_res
15027 rm -f core conftest.err conftest.
$ac_objext \
15029 if ${ac_cv_search_inet_aton+:} false
; then :
15033 if ${ac_cv_search_inet_aton+:} false
; then :
15036 ac_cv_search_inet_aton
=no
15038 rm conftest.
$ac_ext
15039 LIBS
=$ac_func_search_save_LIBS
15041 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_inet_aton" >&5
15042 $as_echo "$ac_cv_search_inet_aton" >&6; }
15043 ac_res
=$ac_cv_search_inet_aton
15044 if test "$ac_res" != no
; then :
15045 test "$ac_res" = "none required" || LIBS
="$ac_res $LIBS"
15065 as_ac_var
=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
15066 ac_fn_c_check_func
"$LINENO" "$ac_func" "$as_ac_var"
15067 if eval test \"x\$
"$as_ac_var"\" = x
"yes"; then :
15068 cat >>confdefs.h
<<_ACEOF
15069 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
15077 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing clock_gettime" >&5
15078 $as_echo_n "checking for library containing clock_gettime... " >&6; }
15079 if ${ac_cv_search_clock_gettime+:} false
; then :
15080 $as_echo_n "(cached) " >&6
15082 ac_func_search_save_LIBS
=$LIBS
15083 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15084 /* end confdefs.h. */
15086 /* Override any GCC internal prototype to avoid an error.
15087 Use char because int might match the return type of a GCC
15088 builtin and then its argument prototype would still apply. */
15092 char clock_gettime ();
15096 return clock_gettime ();
15101 for ac_lib
in '' rt
; do
15102 if test -z "$ac_lib"; then
15103 ac_res
="none required"
15106 LIBS
="-l$ac_lib $ac_func_search_save_LIBS"
15108 if ac_fn_c_try_link
"$LINENO"; then :
15109 ac_cv_search_clock_gettime
=$ac_res
15111 rm -f core conftest.err conftest.
$ac_objext \
15113 if ${ac_cv_search_clock_gettime+:} false
; then :
15117 if ${ac_cv_search_clock_gettime+:} false
; then :
15120 ac_cv_search_clock_gettime
=no
15122 rm conftest.
$ac_ext
15123 LIBS
=$ac_func_search_save_LIBS
15125 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_clock_gettime" >&5
15126 $as_echo "$ac_cv_search_clock_gettime" >&6; }
15127 ac_res
=$ac_cv_search_clock_gettime
15128 if test "$ac_res" != no
; then :
15129 test "$ac_res" = "none required" || LIBS
="$ac_res $LIBS"
15131 $as_echo "#define HAVE_CLOCK_GETTIME 1" >>confdefs.h
15133 test "$ac_res" = "none required" || RT_LIBS
="$ac_res"
15141 if test "$ac_cv_header_ldap_h" = "yes" -a "$ac_cv_header_lber_h" = "yes"
15143 ac_fn_c_check_type
"$LINENO" "LDAPSortKey" "ac_cv_type_LDAPSortKey" "#include <ldap.h>
15145 if test "x$ac_cv_type_LDAPSortKey" = xyes
; then :
15146 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldap_initialize in -lldap_r" >&5
15147 $as_echo_n "checking for ldap_initialize in -lldap_r... " >&6; }
15148 if ${ac_cv_lib_ldap_r_ldap_initialize+:} false
; then :
15149 $as_echo_n "(cached) " >&6
15151 ac_check_lib_save_LIBS
=$LIBS
15152 LIBS
="-lldap_r $PTHREAD_LIBS $LIBS"
15153 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15154 /* end confdefs.h. */
15156 /* Override any GCC internal prototype to avoid an error.
15157 Use char because int might match the return type of a GCC
15158 builtin and then its argument prototype would still apply. */
15162 char ldap_initialize ();
15166 return ldap_initialize ();
15171 if ac_fn_c_try_link
"$LINENO"; then :
15172 ac_cv_lib_ldap_r_ldap_initialize
=yes
15174 ac_cv_lib_ldap_r_ldap_initialize
=no
15176 rm -f core conftest.err conftest.
$ac_objext \
15177 conftest
$ac_exeext conftest.
$ac_ext
15178 LIBS
=$ac_check_lib_save_LIBS
15180 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ldap_r_ldap_initialize" >&5
15181 $as_echo "$ac_cv_lib_ldap_r_ldap_initialize" >&6; }
15182 if test "x$ac_cv_lib_ldap_r_ldap_initialize" = xyes
; then :
15183 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ber_init in -llber" >&5
15184 $as_echo_n "checking for ber_init in -llber... " >&6; }
15185 if ${ac_cv_lib_lber_ber_init+:} false
; then :
15186 $as_echo_n "(cached) " >&6
15188 ac_check_lib_save_LIBS
=$LIBS
15189 LIBS
="-llber $PTHREAD_LIBS $LIBS"
15190 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15191 /* end confdefs.h. */
15193 /* Override any GCC internal prototype to avoid an error.
15194 Use char because int might match the return type of a GCC
15195 builtin and then its argument prototype would still apply. */
15203 return ber_init ();
15208 if ac_fn_c_try_link
"$LINENO"; then :
15209 ac_cv_lib_lber_ber_init
=yes
15211 ac_cv_lib_lber_ber_init
=no
15213 rm -f core conftest.err conftest.
$ac_objext \
15214 conftest
$ac_exeext conftest.
$ac_ext
15215 LIBS
=$ac_check_lib_save_LIBS
15217 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_lber_ber_init" >&5
15218 $as_echo "$ac_cv_lib_lber_ber_init" >&6; }
15219 if test "x$ac_cv_lib_lber_ber_init" = xyes
; then :
15221 $as_echo "#define HAVE_LDAP 1" >>confdefs.h
15223 LDAP_LIBS
="-lldap_r -llber"
15230 ac_wine_check_funcs_save_LIBS
="$LIBS"
15231 LIBS
="$LIBS $LDAP_LIBS $PTHREAD_LIBS"
15233 ldap_count_references \
15234 ldap_first_reference \
15235 ldap_next_reference \
15236 ldap_parse_reference \
15237 ldap_parse_sort_control \
15238 ldap_parse_sortresponse_control \
15239 ldap_parse_vlv_control \
15240 ldap_parse_vlvresponse_control
15242 as_ac_var
=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
15243 ac_fn_c_check_func
"$LINENO" "$ac_func" "$as_ac_var"
15244 if eval test \"x\$
"$as_ac_var"\" = x
"yes"; then :
15245 cat >>confdefs.h
<<_ACEOF
15246 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
15252 LIBS
="$ac_wine_check_funcs_save_LIBS"
15254 if test "x$LDAP_LIBS" = "x"; then :
15255 case "x$with_ldap" in
15256 x
) as_fn_append wine_notices
"|libldap (OpenLDAP) ${notice_platform}development files not found, LDAP won't be supported." ;;
15258 *) as_fn_error $?
"libldap (OpenLDAP) ${notice_platform}development files not found, LDAP won't be supported.
15259 This is an error since --with-ldap was requested." "$LINENO" 5 ;;
15263 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether mkdir takes only one argument" >&5
15264 $as_echo_n "checking whether mkdir takes only one argument... " >&6; }
15265 if ${wine_cv_one_arg_mkdir+:} false
; then :
15266 $as_echo_n "(cached) " >&6
15268 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15269 /* end confdefs.h. */
15270 #include <sys/stat.h>
15279 if ac_fn_c_try_compile
"$LINENO"; then :
15280 wine_cv_one_arg_mkdir
=yes
15282 wine_cv_one_arg_mkdir
=no
15284 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
15286 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_one_arg_mkdir" >&5
15287 $as_echo "$wine_cv_one_arg_mkdir" >&6; }
15288 if test "$wine_cv_one_arg_mkdir" = "yes"
15291 $as_echo "#define HAVE_ONE_ARG_MKDIR 1" >>confdefs.h
15295 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sched_setaffinity" >&5
15296 $as_echo_n "checking for sched_setaffinity... " >&6; }
15297 if ${wine_cv_have_sched_setaffinity+:} false
; then :
15298 $as_echo_n "(cached) " >&6
15300 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15301 /* end confdefs.h. */
15302 #define _GNU_SOURCE
15307 sched_setaffinity(0, 0, 0);
15312 if ac_fn_c_try_link
"$LINENO"; then :
15313 wine_cv_have_sched_setaffinity
=yes
15315 wine_cv_have_sched_setaffinity
=no
15317 rm -f core conftest.err conftest.
$ac_objext \
15318 conftest
$ac_exeext conftest.
$ac_ext
15320 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_have_sched_setaffinity" >&5
15321 $as_echo "$wine_cv_have_sched_setaffinity" >&6; }
15322 if test "$wine_cv_have_sched_setaffinity" = "yes"
15325 $as_echo "#define HAVE_SCHED_SETAFFINITY 1" >>confdefs.h
15329 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fallocate" >&5
15330 $as_echo_n "checking for fallocate... " >&6; }
15331 if ${wine_cv_have_fallocate+:} false
; then :
15332 $as_echo_n "(cached) " >&6
15334 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15335 /* end confdefs.h. */
15336 #define _GNU_SOURCE
15341 fallocate(-1, 0, 0, 0);
15346 if ac_fn_c_try_link
"$LINENO"; then :
15347 wine_cv_have_fallocate
=yes
15349 wine_cv_have_fallocate
=no
15351 rm -f core conftest.err conftest.
$ac_objext \
15352 conftest
$ac_exeext conftest.
$ac_ext
15354 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_have_fallocate" >&5
15355 $as_echo "$wine_cv_have_fallocate" >&6; }
15356 if test "$wine_cv_have_fallocate" = "yes"
15359 $as_echo "#define HAVE_FALLOCATE 1" >>confdefs.h
15364 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for inline" >&5
15365 $as_echo_n "checking for inline... " >&6; }
15366 if ${ac_cv_c_inline+:} false
; then :
15367 $as_echo_n "(cached) " >&6
15370 for ac_kw
in inline __inline__ __inline
; do
15371 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15372 /* end confdefs.h. */
15373 #ifndef __cplusplus
15375 static $ac_kw foo_t static_foo () {return 0; }
15376 $ac_kw foo_t foo () {return 0; }
15380 if ac_fn_c_try_compile
"$LINENO"; then :
15381 ac_cv_c_inline
=$ac_kw
15383 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
15384 test "$ac_cv_c_inline" != no
&& break
15388 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_inline" >&5
15389 $as_echo "$ac_cv_c_inline" >&6; }
15391 case $ac_cv_c_inline in
15394 case $ac_cv_c_inline in
15396 *) ac_val
=$ac_cv_c_inline;;
15398 cat >>confdefs.h
<<_ACEOF
15399 #ifndef __cplusplus
15400 #define inline $ac_val
15406 ac_fn_c_check_type
"$LINENO" "mode_t" "ac_cv_type_mode_t" "$ac_includes_default"
15407 if test "x$ac_cv_type_mode_t" = xyes
; then :
15409 cat >>confdefs.h
<<_ACEOF
15410 #define HAVE_MODE_T 1
15415 ac_fn_c_check_type
"$LINENO" "off_t" "ac_cv_type_off_t" "$ac_includes_default"
15416 if test "x$ac_cv_type_off_t" = xyes
; then :
15418 cat >>confdefs.h
<<_ACEOF
15419 #define HAVE_OFF_T 1
15424 ac_fn_c_check_type
"$LINENO" "pid_t" "ac_cv_type_pid_t" "$ac_includes_default"
15425 if test "x$ac_cv_type_pid_t" = xyes
; then :
15427 cat >>confdefs.h
<<_ACEOF
15428 #define HAVE_PID_T 1
15433 ac_fn_c_check_type
"$LINENO" "size_t" "ac_cv_type_size_t" "$ac_includes_default"
15434 if test "x$ac_cv_type_size_t" = xyes
; then :
15436 cat >>confdefs.h
<<_ACEOF
15437 #define HAVE_SIZE_T 1
15442 ac_fn_c_check_type
"$LINENO" "ssize_t" "ac_cv_type_ssize_t" "$ac_includes_default"
15443 if test "x$ac_cv_type_ssize_t" = xyes
; then :
15445 cat >>confdefs.h
<<_ACEOF
15446 #define HAVE_SSIZE_T 1
15451 ac_fn_c_check_type
"$LINENO" "long long" "ac_cv_type_long_long" "$ac_includes_default"
15452 if test "x$ac_cv_type_long_long" = xyes
; then :
15454 cat >>confdefs.h
<<_ACEOF
15455 #define HAVE_LONG_LONG 1
15460 ac_fn_c_check_type
"$LINENO" "fsblkcnt_t" "ac_cv_type_fsblkcnt_t" "$ac_includes_default"
15461 if test "x$ac_cv_type_fsblkcnt_t" = xyes
; then :
15463 cat >>confdefs.h
<<_ACEOF
15464 #define HAVE_FSBLKCNT_T 1
15469 ac_fn_c_check_type
"$LINENO" "fsfilcnt_t" "ac_cv_type_fsfilcnt_t" "$ac_includes_default"
15470 if test "x$ac_cv_type_fsfilcnt_t" = xyes
; then :
15472 cat >>confdefs.h
<<_ACEOF
15473 #define HAVE_FSFILCNT_T 1
15479 ac_fn_c_check_type
"$LINENO" "sigset_t" "ac_cv_type_sigset_t" "#include <sys/types.h>
15480 #include <signal.h>
15482 if test "x$ac_cv_type_sigset_t" = xyes
; then :
15484 cat >>confdefs.h
<<_ACEOF
15485 #define HAVE_SIGSET_T 1
15491 ac_fn_c_check_type
"$LINENO" "request_sense" "ac_cv_type_request_sense" "#include <linux/cdrom.h>
15493 if test "x$ac_cv_type_request_sense" = xyes
; then :
15495 cat >>confdefs.h
<<_ACEOF
15496 #define HAVE_REQUEST_SENSE 1
15503 ac_fn_c_check_type
"$LINENO" "struct xinpgen" "ac_cv_type_struct_xinpgen" "#include <sys/types.h>
15504 #ifdef HAVE_SYS_SOCKET_H
15505 #include <sys/socket.h>
15507 #ifdef HAVE_SYS_SOCKETVAR_H
15508 #include <sys/socketvar.h>
15510 #ifdef HAVE_NET_ROUTE_H
15511 #include <net/route.h>
15513 #ifdef HAVE_NETINET_IN_H
15514 #include <netinet/in.h>
15516 #ifdef HAVE_NETINET_IN_SYSTM_H
15517 #include <netinet/in_systm.h>
15519 #ifdef HAVE_NETINET_IP_H
15520 #include <netinet/ip.h>
15522 #ifdef HAVE_NETINET_IN_PCB_H
15523 #include <netinet/in_pcb.h>
15526 if test "x$ac_cv_type_struct_xinpgen" = xyes
; then :
15528 cat >>confdefs.h
<<_ACEOF
15529 #define HAVE_STRUCT_XINPGEN 1
15536 ac_fn_c_check_type
"$LINENO" "struct r_debug" "ac_cv_type_struct_r_debug" "#ifdef HAVE_LINK_H
15539 #ifdef HAVE_SYS_LINK_H
15540 #include <sys/link.h>
15543 if test "x$ac_cv_type_struct_r_debug" = xyes
; then :
15545 cat >>confdefs.h
<<_ACEOF
15546 #define HAVE_STRUCT_R_DEBUG 1
15551 ac_fn_c_check_type
"$LINENO" "struct link_map" "ac_cv_type_struct_link_map" "#ifdef HAVE_LINK_H
15554 #ifdef HAVE_SYS_LINK_H
15555 #include <sys/link.h>
15558 if test "x$ac_cv_type_struct_link_map" = xyes
; then :
15560 cat >>confdefs.h
<<_ACEOF
15561 #define HAVE_STRUCT_LINK_MAP 1
15568 ac_fn_c_check_member
"$LINENO" "struct ff_effect" "direction" "ac_cv_member_struct_ff_effect_direction" "#ifdef HAVE_LINUX_INPUT_H
15569 #include <linux/input.h>
15572 if test "x$ac_cv_member_struct_ff_effect_direction" = xyes
; then :
15574 cat >>confdefs.h
<<_ACEOF
15575 #define HAVE_STRUCT_FF_EFFECT_DIRECTION 1
15582 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sigaddset" >&5
15583 $as_echo_n "checking for sigaddset... " >&6; }
15584 if ${wine_cv_have_sigaddset+:} false
; then :
15585 $as_echo_n "(cached) " >&6
15587 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15588 /* end confdefs.h. */
15589 #include <signal.h>
15593 sigset_t set; sigaddset(&set,SIGTERM);
15598 if ac_fn_c_try_link
"$LINENO"; then :
15599 wine_cv_have_sigaddset
=yes
15601 wine_cv_have_sigaddset
=no
15603 rm -f core conftest.err conftest.
$ac_objext \
15604 conftest
$ac_exeext conftest.
$ac_ext
15606 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_have_sigaddset" >&5
15607 $as_echo "$wine_cv_have_sigaddset" >&6; }
15608 if test "$wine_cv_have_sigaddset" = "yes"
15611 $as_echo "#define HAVE_SIGADDSET 1" >>confdefs.h
15616 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we can use re-entrant gethostbyname_r Linux style" >&5
15617 $as_echo_n "checking whether we can use re-entrant gethostbyname_r Linux style... " >&6; }
15618 if ${wine_cv_linux_gethostbyname_r_6+:} false
; then :
15619 $as_echo_n "(cached) " >&6
15621 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15622 /* end confdefs.h. */
15630 struct hostent *result;
15637 gethostbyname_r(name,&he,buf,bufsize,&result,&errnr);
15638 gethostbyaddr_r(addr, addrlen, addrtype,&he,buf,bufsize,&result,&errnr);
15644 if ac_fn_c_try_link
"$LINENO"; then :
15645 wine_cv_linux_gethostbyname_r_6
=yes
15647 wine_cv_linux_gethostbyname_r_6
=no
15650 rm -f core conftest.err conftest.
$ac_objext \
15651 conftest
$ac_exeext conftest.
$ac_ext
15654 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_linux_gethostbyname_r_6" >&5
15655 $as_echo "$wine_cv_linux_gethostbyname_r_6" >&6; }
15656 if test "$wine_cv_linux_gethostbyname_r_6" = "yes"
15659 $as_echo "#define HAVE_LINUX_GETHOSTBYNAME_R_6 1" >>confdefs.h
15663 if test "$ac_cv_header_linux_joystick_h" = "yes"
15665 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether linux/joystick.h uses the Linux 2.2+ API" >&5
15666 $as_echo_n "checking whether linux/joystick.h uses the Linux 2.2+ API... " >&6; }
15667 if ${wine_cv_linux_joystick_22_api+:} false
; then :
15668 $as_echo_n "(cached) " >&6
15670 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15671 /* end confdefs.h. */
15673 #include <sys/ioctl.h>
15674 #include <sys/types.h>
15675 #include <linux/joystick.h>
15677 struct js_event blub;
15678 #if !defined(JS_EVENT_AXIS) || !defined(JS_EVENT_BUTTON)
15679 #error "no 2.2 header"
15690 if ac_fn_c_try_compile
"$LINENO"; then :
15691 wine_cv_linux_joystick_22_api
=yes
15693 wine_cv_linux_joystick_22_api
=no
15695 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
15698 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_linux_joystick_22_api" >&5
15699 $as_echo "$wine_cv_linux_joystick_22_api" >&6; }
15700 if test "$wine_cv_linux_joystick_22_api" = "yes"
15703 $as_echo "#define HAVE_LINUX_22_JOYSTICK_API 1" >>confdefs.h
15709 ac_fn_c_check_member
"$LINENO" "struct statfs" "f_bfree" "ac_cv_member_struct_statfs_f_bfree" "#include <sys/types.h>
15710 #ifdef HAVE_SYS_PARAM_H
15711 # include <sys/param.h>
15713 #ifdef HAVE_SYS_MOUNT_H
15714 # include <sys/mount.h>
15716 #ifdef HAVE_SYS_VFS_H
15717 # include <sys/vfs.h>
15719 #ifdef HAVE_SYS_STATFS_H
15720 # include <sys/statfs.h>
15723 if test "x$ac_cv_member_struct_statfs_f_bfree" = xyes
; then :
15725 cat >>confdefs.h
<<_ACEOF
15726 #define HAVE_STRUCT_STATFS_F_BFREE 1
15731 ac_fn_c_check_member
"$LINENO" "struct statfs" "f_bavail" "ac_cv_member_struct_statfs_f_bavail" "#include <sys/types.h>
15732 #ifdef HAVE_SYS_PARAM_H
15733 # include <sys/param.h>
15735 #ifdef HAVE_SYS_MOUNT_H
15736 # include <sys/mount.h>
15738 #ifdef HAVE_SYS_VFS_H
15739 # include <sys/vfs.h>
15741 #ifdef HAVE_SYS_STATFS_H
15742 # include <sys/statfs.h>
15745 if test "x$ac_cv_member_struct_statfs_f_bavail" = xyes
; then :
15747 cat >>confdefs.h
<<_ACEOF
15748 #define HAVE_STRUCT_STATFS_F_BAVAIL 1
15753 ac_fn_c_check_member
"$LINENO" "struct statfs" "f_frsize" "ac_cv_member_struct_statfs_f_frsize" "#include <sys/types.h>
15754 #ifdef HAVE_SYS_PARAM_H
15755 # include <sys/param.h>
15757 #ifdef HAVE_SYS_MOUNT_H
15758 # include <sys/mount.h>
15760 #ifdef HAVE_SYS_VFS_H
15761 # include <sys/vfs.h>
15763 #ifdef HAVE_SYS_STATFS_H
15764 # include <sys/statfs.h>
15767 if test "x$ac_cv_member_struct_statfs_f_frsize" = xyes
; then :
15769 cat >>confdefs.h
<<_ACEOF
15770 #define HAVE_STRUCT_STATFS_F_FRSIZE 1
15775 ac_fn_c_check_member
"$LINENO" "struct statfs" "f_ffree" "ac_cv_member_struct_statfs_f_ffree" "#include <sys/types.h>
15776 #ifdef HAVE_SYS_PARAM_H
15777 # include <sys/param.h>
15779 #ifdef HAVE_SYS_MOUNT_H
15780 # include <sys/mount.h>
15782 #ifdef HAVE_SYS_VFS_H
15783 # include <sys/vfs.h>
15785 #ifdef HAVE_SYS_STATFS_H
15786 # include <sys/statfs.h>
15789 if test "x$ac_cv_member_struct_statfs_f_ffree" = xyes
; then :
15791 cat >>confdefs.h
<<_ACEOF
15792 #define HAVE_STRUCT_STATFS_F_FFREE 1
15797 ac_fn_c_check_member
"$LINENO" "struct statfs" "f_favail" "ac_cv_member_struct_statfs_f_favail" "#include <sys/types.h>
15798 #ifdef HAVE_SYS_PARAM_H
15799 # include <sys/param.h>
15801 #ifdef HAVE_SYS_MOUNT_H
15802 # include <sys/mount.h>
15804 #ifdef HAVE_SYS_VFS_H
15805 # include <sys/vfs.h>
15807 #ifdef HAVE_SYS_STATFS_H
15808 # include <sys/statfs.h>
15811 if test "x$ac_cv_member_struct_statfs_f_favail" = xyes
; then :
15813 cat >>confdefs.h
<<_ACEOF
15814 #define HAVE_STRUCT_STATFS_F_FAVAIL 1
15819 ac_fn_c_check_member
"$LINENO" "struct statfs" "f_namelen" "ac_cv_member_struct_statfs_f_namelen" "#include <sys/types.h>
15820 #ifdef HAVE_SYS_PARAM_H
15821 # include <sys/param.h>
15823 #ifdef HAVE_SYS_MOUNT_H
15824 # include <sys/mount.h>
15826 #ifdef HAVE_SYS_VFS_H
15827 # include <sys/vfs.h>
15829 #ifdef HAVE_SYS_STATFS_H
15830 # include <sys/statfs.h>
15833 if test "x$ac_cv_member_struct_statfs_f_namelen" = xyes
; then :
15835 cat >>confdefs.h
<<_ACEOF
15836 #define HAVE_STRUCT_STATFS_F_NAMELEN 1
15843 ac_fn_c_check_member
"$LINENO" "struct statvfs" "f_blocks" "ac_cv_member_struct_statvfs_f_blocks" "#ifdef HAVE_SYS_STATVFS_H
15844 #include <sys/statvfs.h>
15847 if test "x$ac_cv_member_struct_statvfs_f_blocks" = xyes
; then :
15849 cat >>confdefs.h
<<_ACEOF
15850 #define HAVE_STRUCT_STATVFS_F_BLOCKS 1
15857 ac_fn_c_check_member
"$LINENO" "struct dirent" "d_reclen" "ac_cv_member_struct_dirent_d_reclen" "#ifdef HAVE_DIRENT_H
15858 #include <dirent.h>
15861 if test "x$ac_cv_member_struct_dirent_d_reclen" = xyes
; then :
15863 cat >>confdefs.h
<<_ACEOF
15864 #define HAVE_STRUCT_DIRENT_D_RECLEN 1
15871 ac_fn_c_check_member
"$LINENO" "struct msghdr" "msg_accrights" "ac_cv_member_struct_msghdr_msg_accrights" "#include <sys/types.h>
15872 #ifdef HAVE_SYS_SOCKET_H
15873 # include <sys/socket.h>
15875 #ifdef HAVE_SYS_UN_H
15876 # include <sys/un.h>
15879 if test "x$ac_cv_member_struct_msghdr_msg_accrights" = xyes
; then :
15881 cat >>confdefs.h
<<_ACEOF
15882 #define HAVE_STRUCT_MSGHDR_MSG_ACCRIGHTS 1
15887 ac_fn_c_check_member
"$LINENO" "struct sockaddr" "sa_len" "ac_cv_member_struct_sockaddr_sa_len" "#include <sys/types.h>
15888 #ifdef HAVE_SYS_SOCKET_H
15889 # include <sys/socket.h>
15891 #ifdef HAVE_SYS_UN_H
15892 # include <sys/un.h>
15895 if test "x$ac_cv_member_struct_sockaddr_sa_len" = xyes
; then :
15897 cat >>confdefs.h
<<_ACEOF
15898 #define HAVE_STRUCT_SOCKADDR_SA_LEN 1
15903 ac_fn_c_check_member
"$LINENO" "struct sockaddr_un" "sun_len" "ac_cv_member_struct_sockaddr_un_sun_len" "#include <sys/types.h>
15904 #ifdef HAVE_SYS_SOCKET_H
15905 # include <sys/socket.h>
15907 #ifdef HAVE_SYS_UN_H
15908 # include <sys/un.h>
15911 if test "x$ac_cv_member_struct_sockaddr_un_sun_len" = xyes
; then :
15913 cat >>confdefs.h
<<_ACEOF
15914 #define HAVE_STRUCT_SOCKADDR_UN_SUN_LEN 1
15921 ac_fn_c_check_member
"$LINENO" "scsireq_t" "cmd" "ac_cv_member_scsireq_t_cmd" "#include <sys/types.h>
15922 #ifdef HAVE_SCSI_SG_H
15923 #include <scsi/sg.h>
15926 if test "x$ac_cv_member_scsireq_t_cmd" = xyes
; then :
15928 cat >>confdefs.h
<<_ACEOF
15929 #define HAVE_SCSIREQ_T_CMD 1
15934 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>
15935 #ifdef HAVE_SCSI_SG_H
15936 #include <scsi/sg.h>
15939 if test "x$ac_cv_member_sg_io_hdr_t_interface_id" = xyes
; then :
15941 cat >>confdefs.h
<<_ACEOF
15942 #define HAVE_SG_IO_HDR_T_INTERFACE_ID 1
15949 ac_fn_c_check_member
"$LINENO" "siginfo_t" "si_fd" "ac_cv_member_siginfo_t_si_fd" "#include <signal.h>
15951 if test "x$ac_cv_member_siginfo_t_si_fd" = xyes
; then :
15953 cat >>confdefs.h
<<_ACEOF
15954 #define HAVE_SIGINFO_T_SI_FD 1
15961 ac_fn_c_check_member
"$LINENO" "struct mtget" "mt_blksiz" "ac_cv_member_struct_mtget_mt_blksiz" "#include <sys/types.h>
15962 #ifdef HAVE_SYS_MTIO_H
15963 #include <sys/mtio.h>
15966 if test "x$ac_cv_member_struct_mtget_mt_blksiz" = xyes
; then :
15968 cat >>confdefs.h
<<_ACEOF
15969 #define HAVE_STRUCT_MTGET_MT_BLKSIZ 1
15974 ac_fn_c_check_member
"$LINENO" "struct mtget" "mt_gstat" "ac_cv_member_struct_mtget_mt_gstat" "#include <sys/types.h>
15975 #ifdef HAVE_SYS_MTIO_H
15976 #include <sys/mtio.h>
15979 if test "x$ac_cv_member_struct_mtget_mt_gstat" = xyes
; then :
15981 cat >>confdefs.h
<<_ACEOF
15982 #define HAVE_STRUCT_MTGET_MT_GSTAT 1
15987 ac_fn_c_check_member
"$LINENO" "struct mtget" "mt_blkno" "ac_cv_member_struct_mtget_mt_blkno" "#include <sys/types.h>
15988 #ifdef HAVE_SYS_MTIO_H
15989 #include <sys/mtio.h>
15992 if test "x$ac_cv_member_struct_mtget_mt_blkno" = xyes
; then :
15994 cat >>confdefs.h
<<_ACEOF
15995 #define HAVE_STRUCT_MTGET_MT_BLKNO 1
16002 ac_fn_c_check_member
"$LINENO" "struct option" "name" "ac_cv_member_struct_option_name" "#ifdef HAVE_GETOPT_H
16003 #include <getopt.h>
16006 if test "x$ac_cv_member_struct_option_name" = xyes
; then :
16008 cat >>confdefs.h
<<_ACEOF
16009 #define HAVE_STRUCT_OPTION_NAME 1
16016 ac_fn_c_check_member
"$LINENO" "struct stat" "st_blocks" "ac_cv_member_struct_stat_st_blocks" "$ac_includes_default"
16017 if test "x$ac_cv_member_struct_stat_st_blocks" = xyes
; then :
16019 cat >>confdefs.h
<<_ACEOF
16020 #define HAVE_STRUCT_STAT_ST_BLOCKS 1
16025 ac_fn_c_check_member
"$LINENO" "struct stat" "st_mtim" "ac_cv_member_struct_stat_st_mtim" "$ac_includes_default"
16026 if test "x$ac_cv_member_struct_stat_st_mtim" = xyes
; then :
16028 cat >>confdefs.h
<<_ACEOF
16029 #define HAVE_STRUCT_STAT_ST_MTIM 1
16034 ac_fn_c_check_member
"$LINENO" "struct stat" "st_mtimespec" "ac_cv_member_struct_stat_st_mtimespec" "$ac_includes_default"
16035 if test "x$ac_cv_member_struct_stat_st_mtimespec" = xyes
; then :
16037 cat >>confdefs.h
<<_ACEOF
16038 #define HAVE_STRUCT_STAT_ST_MTIMESPEC 1
16043 ac_fn_c_check_member
"$LINENO" "struct stat" "st_ctim" "ac_cv_member_struct_stat_st_ctim" "$ac_includes_default"
16044 if test "x$ac_cv_member_struct_stat_st_ctim" = xyes
; then :
16046 cat >>confdefs.h
<<_ACEOF
16047 #define HAVE_STRUCT_STAT_ST_CTIM 1
16052 ac_fn_c_check_member
"$LINENO" "struct stat" "st_ctimespec" "ac_cv_member_struct_stat_st_ctimespec" "$ac_includes_default"
16053 if test "x$ac_cv_member_struct_stat_st_ctimespec" = xyes
; then :
16055 cat >>confdefs.h
<<_ACEOF
16056 #define HAVE_STRUCT_STAT_ST_CTIMESPEC 1
16061 ac_fn_c_check_member
"$LINENO" "struct stat" "st_atim" "ac_cv_member_struct_stat_st_atim" "$ac_includes_default"
16062 if test "x$ac_cv_member_struct_stat_st_atim" = xyes
; then :
16064 cat >>confdefs.h
<<_ACEOF
16065 #define HAVE_STRUCT_STAT_ST_ATIM 1
16070 ac_fn_c_check_member
"$LINENO" "struct stat" "st_atimespec" "ac_cv_member_struct_stat_st_atimespec" "$ac_includes_default"
16071 if test "x$ac_cv_member_struct_stat_st_atimespec" = xyes
; then :
16073 cat >>confdefs.h
<<_ACEOF
16074 #define HAVE_STRUCT_STAT_ST_ATIMESPEC 1
16079 ac_fn_c_check_member
"$LINENO" "struct stat" "st_birthtime" "ac_cv_member_struct_stat_st_birthtime" "$ac_includes_default"
16080 if test "x$ac_cv_member_struct_stat_st_birthtime" = xyes
; then :
16082 cat >>confdefs.h
<<_ACEOF
16083 #define HAVE_STRUCT_STAT_ST_BIRTHTIME 1
16088 ac_fn_c_check_member
"$LINENO" "struct stat" "st_birthtim" "ac_cv_member_struct_stat_st_birthtim" "$ac_includes_default"
16089 if test "x$ac_cv_member_struct_stat_st_birthtim" = xyes
; then :
16091 cat >>confdefs.h
<<_ACEOF
16092 #define HAVE_STRUCT_STAT_ST_BIRTHTIM 1
16097 ac_fn_c_check_member
"$LINENO" "struct stat" "st_birthtimespec" "ac_cv_member_struct_stat_st_birthtimespec" "$ac_includes_default"
16098 if test "x$ac_cv_member_struct_stat_st_birthtimespec" = xyes
; then :
16100 cat >>confdefs.h
<<_ACEOF
16101 #define HAVE_STRUCT_STAT_ST_BIRTHTIMESPEC 1
16106 ac_fn_c_check_member
"$LINENO" "struct stat" "__st_birthtime" "ac_cv_member_struct_stat___st_birthtime" "$ac_includes_default"
16107 if test "x$ac_cv_member_struct_stat___st_birthtime" = xyes
; then :
16109 cat >>confdefs.h
<<_ACEOF
16110 #define HAVE_STRUCT_STAT___ST_BIRTHTIME 1
16115 ac_fn_c_check_member
"$LINENO" "struct stat" "__st_birthtim" "ac_cv_member_struct_stat___st_birthtim" "$ac_includes_default"
16116 if test "x$ac_cv_member_struct_stat___st_birthtim" = xyes
; then :
16118 cat >>confdefs.h
<<_ACEOF
16119 #define HAVE_STRUCT_STAT___ST_BIRTHTIM 1
16126 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
16127 #include <sys/types.h>
16129 #ifdef HAVE_NETINET_IN_H
16130 #include <netinet/in.h>
16133 if test "x$ac_cv_member_struct_sockaddr_in6_sin6_scope_id" = xyes
; then :
16135 cat >>confdefs.h
<<_ACEOF
16136 #define HAVE_STRUCT_SOCKADDR_IN6_SIN6_SCOPE_ID 1
16143 ac_fn_c_check_type
"$LINENO" "struct __res_state" "ac_cv_type_struct___res_state" "#ifdef HAVE_RESOLV_H
16144 #include <resolv.h>
16147 if test "x$ac_cv_type_struct___res_state" = xyes
; then :
16149 cat >>confdefs.h
<<_ACEOF
16150 #define HAVE_STRUCT___RES_STATE 1
16157 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
16158 #include <resolv.h>
16161 if test "x$ac_cv_member_struct___res_state__u__ext_nscount6" = xyes
; then :
16163 cat >>confdefs.h
<<_ACEOF
16164 #define HAVE_STRUCT___RES_STATE__U__EXT_NSCOUNT6 1
16171 ac_fn_c_check_member
"$LINENO" "ns_msg" "_msg_ptr" "ac_cv_member_ns_msg__msg_ptr" "#ifdef HAVE_SYS_TYPES_H
16172 #include <sys/types.h>
16174 #ifdef HAVE_NETINET_IN_H
16175 # include <netinet/in.h>
16177 #ifdef HAVE_ARPA_NAMESER_H
16178 # include <arpa/nameser.h>
16181 if test "x$ac_cv_member_ns_msg__msg_ptr" = xyes
; then :
16183 cat >>confdefs.h
<<_ACEOF
16184 #define HAVE_NS_MSG__MSG_PTR 1
16191 ac_fn_c_check_member
"$LINENO" "struct icmpstat" "icps_inhist" "ac_cv_member_struct_icmpstat_icps_inhist" "#ifdef HAVE_SYS_TYPES_H
16192 #include <sys/types.h>
16194 #ifdef HAVE_NETINET_IP_H
16195 #include <netinet/ip.h>
16197 #ifdef HAVE_NETINET_IP_ICMP_H
16198 #include <netinet/ip_icmp.h>
16200 #ifdef HAVE_NETINET_ICMP_VAR_H
16201 #include <netinet/icmp_var.h>
16204 if test "x$ac_cv_member_struct_icmpstat_icps_inhist" = xyes
; then :
16206 cat >>confdefs.h
<<_ACEOF
16207 #define HAVE_STRUCT_ICMPSTAT_ICPS_INHIST 1
16214 ac_fn_c_check_member
"$LINENO" "struct icmpstat" "icps_outhist" "ac_cv_member_struct_icmpstat_icps_outhist" "#ifdef HAVE_SYS_TYPES_H
16215 #include <sys/types.h>
16217 #ifdef HAVE_ALIAS_H
16220 #ifdef HAVE_SYS_SOCKET_H
16221 #include <sys/socket.h>
16223 #ifdef HAVE_SYS_SOCKETVAR_H
16224 #include <sys/socketvar.h>
16226 #ifdef HAVE_SYS_TIMEOUT_H
16227 #include <sys/timeout.h>
16229 #ifdef HAVE_NETINET_IN_H
16230 #include <netinet/in.h>
16232 #ifdef HAVE_NETINET_IN_SYSTM_H
16233 #include <netinet/in_systm.h>
16235 #ifdef HAVE_NETINET_IP_H
16236 #include <netinet/ip.h>
16238 #ifdef HAVE_NETINET_IP_VAR_H
16239 #include <netinet/ip_var.h>
16241 #ifdef HAVE_NETINET_IP_ICMP_H
16242 #include <netinet/ip_icmp.h>
16244 #ifdef HAVE_NETINET_ICMP_VAR_H
16245 #include <netinet/icmp_var.h>
16248 if test "x$ac_cv_member_struct_icmpstat_icps_outhist" = xyes
; then :
16250 cat >>confdefs.h
<<_ACEOF
16251 #define HAVE_STRUCT_ICMPSTAT_ICPS_OUTHIST 1
16258 ac_fn_c_check_member
"$LINENO" "struct ipstat" "ips_total" "ac_cv_member_struct_ipstat_ips_total" "#ifdef HAVE_SYS_TYPES_H
16259 #include <sys/types.h>
16261 #ifdef HAVE_SYS_SOCKETVAR_H
16262 #include <sys/socketvar.h>
16264 #ifdef HAVE_NETINET_IN_H
16265 #include <netinet/in.h>
16267 #ifdef HAVE_NETINET_IP_VAR_H
16268 #include <netinet/ip_var.h>
16271 if test "x$ac_cv_member_struct_ipstat_ips_total" = xyes
; then :
16273 cat >>confdefs.h
<<_ACEOF
16274 #define HAVE_STRUCT_IPSTAT_IPS_TOTAL 1
16281 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
16282 #include <netinet/ip_var.h>
16285 if test "x$ac_cv_member_struct_ip_stats_ips_total" = xyes
; then :
16287 cat >>confdefs.h
<<_ACEOF
16288 #define HAVE_STRUCT_IP_STATS_IPS_TOTAL 1
16295 ac_fn_c_check_member
"$LINENO" "struct tcpstat" "tcps_connattempt" "ac_cv_member_struct_tcpstat_tcps_connattempt" "#ifdef HAVE_SYS_TYPES_H
16296 #include <sys/types.h>
16298 #ifdef HAVE_SYS_SOCKETVAR_H
16299 #include <sys/socketvar.h>
16301 #ifdef HAVE_NETINET_IN_H
16302 #include <netinet/in.h>
16304 #ifdef HAVE_NETINET_TCP_H
16305 #include <netinet/tcp.h>
16307 #ifdef HAVE_NETINET_TCP_VAR_H
16308 #include <netinet/tcp_var.h>
16311 if test "x$ac_cv_member_struct_tcpstat_tcps_connattempt" = xyes
; then :
16313 cat >>confdefs.h
<<_ACEOF
16314 #define HAVE_STRUCT_TCPSTAT_TCPS_CONNATTEMPT 1
16321 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
16322 #include <netinet/tcp_var.h>
16325 if test "x$ac_cv_member_struct_tcp_stats_tcps_connattempt" = xyes
; then :
16327 cat >>confdefs.h
<<_ACEOF
16328 #define HAVE_STRUCT_TCP_STATS_TCPS_CONNATTEMPT 1
16335 ac_fn_c_check_member
"$LINENO" "struct udpstat" "udps_ipackets" "ac_cv_member_struct_udpstat_udps_ipackets" "#ifdef HAVE_SYS_TYPES_H
16336 #include <sys/types.h>
16338 #ifdef HAVE_NETINET_IN_H
16339 #include <netinet/in.h>
16341 #ifdef HAVE_NETINET_IP_VAR_H
16342 #include <netinet/ip_var.h>
16344 #ifdef HAVE_NETINET_UDP_H
16345 #include <netinet/udp.h>
16347 #ifdef HAVE_NETINET_UDP_VAR_H
16348 #include <netinet/udp_var.h>
16351 if test "x$ac_cv_member_struct_udpstat_udps_ipackets" = xyes
; then :
16353 cat >>confdefs.h
<<_ACEOF
16354 #define HAVE_STRUCT_UDPSTAT_UDPS_IPACKETS 1
16361 ac_fn_c_check_member
"$LINENO" "struct ifreq" "ifr_hwaddr" "ac_cv_member_struct_ifreq_ifr_hwaddr" "#ifdef HAVE_SYS_TYPES_H
16362 #include <sys/types.h>
16364 #ifdef HAVE_NET_IF_H
16365 # include <net/if.h>
16368 if test "x$ac_cv_member_struct_ifreq_ifr_hwaddr" = xyes
; then :
16370 cat >>confdefs.h
<<_ACEOF
16371 #define HAVE_STRUCT_IFREQ_IFR_HWADDR 1
16378 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for timezone variable" >&5
16379 $as_echo_n "checking for timezone variable... " >&6; }
16380 if ${ac_cv_have_timezone+:} false
; then :
16381 $as_echo_n "(cached) " >&6
16383 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
16384 /* end confdefs.h. */
16394 if ac_fn_c_try_link
"$LINENO"; then :
16395 ac_cv_have_timezone
="yes"
16397 ac_cv_have_timezone
="no"
16399 rm -f core conftest.err conftest.
$ac_objext \
16400 conftest
$ac_exeext conftest.
$ac_ext
16402 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_timezone" >&5
16403 $as_echo "$ac_cv_have_timezone" >&6; }
16404 if test "$ac_cv_have_timezone" = "yes"
16407 $as_echo "#define HAVE_TIMEZONE 1" >>confdefs.h
16410 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for daylight variable" >&5
16411 $as_echo_n "checking for daylight variable... " >&6; }
16412 if ${ac_cv_have_daylight+:} false
; then :
16413 $as_echo_n "(cached) " >&6
16415 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
16416 /* end confdefs.h. */
16426 if ac_fn_c_try_link
"$LINENO"; then :
16427 ac_cv_have_daylight
="yes"
16429 ac_cv_have_daylight
="no"
16431 rm -f core conftest.err conftest.
$ac_objext \
16432 conftest
$ac_exeext conftest.
$ac_ext
16434 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_daylight" >&5
16435 $as_echo "$ac_cv_have_daylight" >&6; }
16436 if test "$ac_cv_have_daylight" = "yes"
16439 $as_echo "#define HAVE_DAYLIGHT 1" >>confdefs.h
16443 ac_save_LIBS
="$LIBS"
16445 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isfinite" >&5
16446 $as_echo_n "checking for isfinite... " >&6; }
16447 if ${ac_cv_have_isfinite+:} false
; then :
16448 $as_echo_n "(cached) " >&6
16450 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
16451 /* end confdefs.h. */
16452 #define _GNU_SOURCE
16457 float f = 0.0; return isfinite(f)
16462 if ac_fn_c_try_link
"$LINENO"; then :
16463 ac_cv_have_isfinite
="yes"
16465 ac_cv_have_isfinite
="no"
16467 rm -f core conftest.err conftest.
$ac_objext \
16468 conftest
$ac_exeext conftest.
$ac_ext
16470 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_isfinite" >&5
16471 $as_echo "$ac_cv_have_isfinite" >&6; }
16472 if test "$ac_cv_have_isfinite" = "yes"
16475 $as_echo "#define HAVE_ISFINITE 1" >>confdefs.h
16479 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinf" >&5
16480 $as_echo_n "checking for isinf... " >&6; }
16481 if ${ac_cv_have_isinf+:} false
; then :
16482 $as_echo_n "(cached) " >&6
16484 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
16485 /* end confdefs.h. */
16490 float f = 0.0; return isinf(f)
16495 if ac_fn_c_try_link
"$LINENO"; then :
16496 ac_cv_have_isinf
="yes"
16498 ac_cv_have_isinf
="no"
16500 rm -f core conftest.err conftest.
$ac_objext \
16501 conftest
$ac_exeext conftest.
$ac_ext
16503 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_isinf" >&5
16504 $as_echo "$ac_cv_have_isinf" >&6; }
16505 if test "$ac_cv_have_isinf" = "yes"
16508 $as_echo "#define HAVE_ISINF 1" >>confdefs.h
16512 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnan" >&5
16513 $as_echo_n "checking for isnan... " >&6; }
16514 if ${ac_cv_have_isnan+:} false
; then :
16515 $as_echo_n "(cached) " >&6
16517 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
16518 /* end confdefs.h. */
16523 float f = 0.0; return isnan(f)
16528 if ac_fn_c_try_link
"$LINENO"; then :
16529 ac_cv_have_isnan
="yes"
16531 ac_cv_have_isnan
="no"
16533 rm -f core conftest.err conftest.
$ac_objext \
16534 conftest
$ac_exeext conftest.
$ac_ext
16536 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_isnan" >&5
16537 $as_echo "$ac_cv_have_isnan" >&6; }
16538 if test "$ac_cv_have_isnan" = "yes"
16541 $as_echo "#define HAVE_ISNAN 1" >>confdefs.h
16568 as_ac_var
=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
16569 ac_fn_c_check_func
"$LINENO" "$ac_func" "$as_ac_var"
16570 if eval test \"x\$
"$as_ac_var"\" = x
"yes"; then :
16571 cat >>confdefs.h
<<_ACEOF
16572 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
16578 LIBS
="$ac_save_LIBS"
16580 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for __builtin_clz" >&5
16581 $as_echo_n "checking for __builtin_clz... " >&6; }
16582 if ${ac_cv_have___builtin_clz+:} false
; then :
16583 $as_echo_n "(cached) " >&6
16585 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
16586 /* end confdefs.h. */
16591 return __builtin_clz(1)
16596 if ac_fn_c_try_link
"$LINENO"; then :
16597 ac_cv_have___builtin_clz
="yes"
16599 ac_cv_have___builtin_clz
="no"
16601 rm -f core conftest.err conftest.
$ac_objext \
16602 conftest
$ac_exeext conftest.
$ac_ext
16604 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have___builtin_clz" >&5
16605 $as_echo "$ac_cv_have___builtin_clz" >&6; }
16606 if test "$ac_cv_have___builtin_clz" = "yes"
16609 $as_echo "#define HAVE___BUILTIN_CLZ 1" >>confdefs.h
16615 *i
[3456789]86*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __i386__" >&5
16616 $as_echo_n "checking whether we need to define __i386__... " >&6; }
16617 if ${ac_cv_cpp_def___i386__+:} false
; then :
16618 $as_echo_n "(cached) " >&6
16620 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
16621 /* end confdefs.h. */
16626 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
16627 $EGREP "yes" >/dev
/null
2>&1; then :
16628 ac_cv_cpp_def___i386__
=yes
16630 ac_cv_cpp_def___i386__
=no
16635 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___i386__" >&5
16636 $as_echo "$ac_cv_cpp_def___i386__" >&6; }
16637 if test "x$ac_cv_cpp_def___i386__" = xyes
; then :
16638 CFLAGS
="$CFLAGS -D__i386__"
16639 LINTFLAGS
="$LINTFLAGS -D__i386__"
16641 *x86_64
*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __x86_64__" >&5
16642 $as_echo_n "checking whether we need to define __x86_64__... " >&6; }
16643 if ${ac_cv_cpp_def___x86_64__+:} false
; then :
16644 $as_echo_n "(cached) " >&6
16646 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
16647 /* end confdefs.h. */
16652 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
16653 $EGREP "yes" >/dev
/null
2>&1; then :
16654 ac_cv_cpp_def___x86_64__
=yes
16656 ac_cv_cpp_def___x86_64__
=no
16661 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___x86_64__" >&5
16662 $as_echo "$ac_cv_cpp_def___x86_64__" >&6; }
16663 if test "x$ac_cv_cpp_def___x86_64__" = xyes
; then :
16664 CFLAGS
="$CFLAGS -D__x86_64__"
16665 LINTFLAGS
="$LINTFLAGS -D__x86_64__"
16667 *sparc64
*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __sparc64__" >&5
16668 $as_echo_n "checking whether we need to define __sparc64__... " >&6; }
16669 if ${ac_cv_cpp_def___sparc64__+:} false
; then :
16670 $as_echo_n "(cached) " >&6
16672 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
16673 /* end confdefs.h. */
16674 #ifndef __sparc64__
16678 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
16679 $EGREP "yes" >/dev
/null
2>&1; then :
16680 ac_cv_cpp_def___sparc64__
=yes
16682 ac_cv_cpp_def___sparc64__
=no
16687 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___sparc64__" >&5
16688 $as_echo "$ac_cv_cpp_def___sparc64__" >&6; }
16689 if test "x$ac_cv_cpp_def___sparc64__" = xyes
; then :
16690 CFLAGS
="$CFLAGS -D__sparc64__"
16691 LINTFLAGS
="$LINTFLAGS -D__sparc64__"
16693 *sparc
*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __sparc__" >&5
16694 $as_echo_n "checking whether we need to define __sparc__... " >&6; }
16695 if ${ac_cv_cpp_def___sparc__+:} false
; then :
16696 $as_echo_n "(cached) " >&6
16698 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
16699 /* end confdefs.h. */
16704 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
16705 $EGREP "yes" >/dev
/null
2>&1; then :
16706 ac_cv_cpp_def___sparc__
=yes
16708 ac_cv_cpp_def___sparc__
=no
16713 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___sparc__" >&5
16714 $as_echo "$ac_cv_cpp_def___sparc__" >&6; }
16715 if test "x$ac_cv_cpp_def___sparc__" = xyes
; then :
16716 CFLAGS
="$CFLAGS -D__sparc__"
16717 LINTFLAGS
="$LINTFLAGS -D__sparc__"
16719 *powerpc64
*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __powerpc64__" >&5
16720 $as_echo_n "checking whether we need to define __powerpc64__... " >&6; }
16721 if ${ac_cv_cpp_def___powerpc64__+:} false
; then :
16722 $as_echo_n "(cached) " >&6
16724 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
16725 /* end confdefs.h. */
16726 #ifndef __powerpc64__
16730 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
16731 $EGREP "yes" >/dev
/null
2>&1; then :
16732 ac_cv_cpp_def___powerpc64__
=yes
16734 ac_cv_cpp_def___powerpc64__
=no
16739 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___powerpc64__" >&5
16740 $as_echo "$ac_cv_cpp_def___powerpc64__" >&6; }
16741 if test "x$ac_cv_cpp_def___powerpc64__" = xyes
; then :
16742 CFLAGS
="$CFLAGS -D__powerpc64__"
16743 LINTFLAGS
="$LINTFLAGS -D__powerpc64__"
16745 *powerpc
*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __powerpc__" >&5
16746 $as_echo_n "checking whether we need to define __powerpc__... " >&6; }
16747 if ${ac_cv_cpp_def___powerpc__+:} false
; then :
16748 $as_echo_n "(cached) " >&6
16750 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
16751 /* end confdefs.h. */
16752 #ifndef __powerpc__
16756 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
16757 $EGREP "yes" >/dev
/null
2>&1; then :
16758 ac_cv_cpp_def___powerpc__
=yes
16760 ac_cv_cpp_def___powerpc__
=no
16765 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___powerpc__" >&5
16766 $as_echo "$ac_cv_cpp_def___powerpc__" >&6; }
16767 if test "x$ac_cv_cpp_def___powerpc__" = xyes
; then :
16768 CFLAGS
="$CFLAGS -D__powerpc__"
16769 LINTFLAGS
="$LINTFLAGS -D__powerpc__"
16771 *aarch64
*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __aarch64__" >&5
16772 $as_echo_n "checking whether we need to define __aarch64__... " >&6; }
16773 if ${ac_cv_cpp_def___aarch64__+:} false
; then :
16774 $as_echo_n "(cached) " >&6
16776 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
16777 /* end confdefs.h. */
16778 #ifndef __aarch64__
16782 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
16783 $EGREP "yes" >/dev
/null
2>&1; then :
16784 ac_cv_cpp_def___aarch64__
=yes
16786 ac_cv_cpp_def___aarch64__
=no
16791 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___aarch64__" >&5
16792 $as_echo "$ac_cv_cpp_def___aarch64__" >&6; }
16793 if test "x$ac_cv_cpp_def___aarch64__" = xyes
; then :
16794 CFLAGS
="$CFLAGS -D__aarch64__"
16795 LINTFLAGS
="$LINTFLAGS -D__aarch64__"
16797 *arm
*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __arm__" >&5
16798 $as_echo_n "checking whether we need to define __arm__... " >&6; }
16799 if ${ac_cv_cpp_def___arm__+:} false
; then :
16800 $as_echo_n "(cached) " >&6
16802 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
16803 /* end confdefs.h. */
16808 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
16809 $EGREP "yes" >/dev
/null
2>&1; then :
16810 ac_cv_cpp_def___arm__
=yes
16812 ac_cv_cpp_def___arm__
=no
16817 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___arm__" >&5
16818 $as_echo "$ac_cv_cpp_def___arm__" >&6; }
16819 if test "x$ac_cv_cpp_def___arm__" = xyes
; then :
16820 CFLAGS
="$CFLAGS -D__arm__"
16821 LINTFLAGS
="$LINTFLAGS -D__arm__"
16825 case $host_vendor in
16826 *sun
*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __sun__" >&5
16827 $as_echo_n "checking whether we need to define __sun__... " >&6; }
16828 if ${ac_cv_cpp_def___sun__+:} false
; then :
16829 $as_echo_n "(cached) " >&6
16831 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
16832 /* end confdefs.h. */
16837 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
16838 $EGREP "yes" >/dev
/null
2>&1; then :
16839 ac_cv_cpp_def___sun__
=yes
16841 ac_cv_cpp_def___sun__
=no
16846 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___sun__" >&5
16847 $as_echo "$ac_cv_cpp_def___sun__" >&6; }
16848 if test "x$ac_cv_cpp_def___sun__" = xyes
; then :
16849 CFLAGS
="$CFLAGS -D__sun__"
16850 LINTFLAGS
="$LINTFLAGS -D__sun__"
16858 ac_config_commands
="$ac_config_commands include/stamp-h"
16860 $as_echo_n "creating Makefile rules..." >&6
16862 ALL_VARS_RULES
="OPENGL_LIBS = $OPENGL_LIBS
16863 SOCKET_LIBS = $SOCKET_LIBS
16864 COREFOUNDATION_LIBS = $COREFOUNDATION_LIBS
16865 IOKIT_LIBS = $IOKIT_LIBS
16866 FORCEFEEDBACK_LIBS = $FORCEFEEDBACK_LIBS
16867 APPLICATIONSERVICES_LIBS = $APPLICATIONSERVICES_LIBS
16868 CORESERVICES_LIBS = $CORESERVICES_LIBS
16869 APPKIT_LIBS = $APPKIT_LIBS
16870 DISKARBITRATION_LIBS = $DISKARBITRATION_LIBS
16871 SECURITY_LIBS = $SECURITY_LIBS
16872 COREAUDIO_LIBS = $COREAUDIO_LIBS
16873 OPENAL_LIBS = $OPENAL_LIBS
16874 OPENCL_LIBS = $OPENCL_LIBS
16875 QUICKTIME_LIBS = $QUICKTIME_LIBS
16876 CARBON_LIBS = $CARBON_LIBS
16877 PTHREAD_LIBS = $PTHREAD_LIBS
16878 X_CFLAGS = $X_CFLAGS
16879 X_PRE_LIBS = $X_PRE_LIBS
16881 X_EXTRA_LIBS = $X_EXTRA_LIBS
16882 XML2_CFLAGS = $XML2_CFLAGS
16883 XML2_LIBS = $XML2_LIBS
16884 XSLT_CFLAGS = $XSLT_CFLAGS
16885 XSLT_LIBS = $XSLT_LIBS
16886 DBUS_CFLAGS = $DBUS_CFLAGS
16887 DBUS_LIBS = $DBUS_LIBS
16888 HAL_CFLAGS = $HAL_CFLAGS
16889 HAL_LIBS = $HAL_LIBS
16890 GNUTLS_CFLAGS = $GNUTLS_CFLAGS
16891 GNUTLS_LIBS = $GNUTLS_LIBS
16892 SANE_CFLAGS = $SANE_CFLAGS
16893 SANE_LIBS = $SANE_LIBS
16894 GPHOTO2_CFLAGS = $GPHOTO2_CFLAGS
16895 GPHOTO2_LIBS = $GPHOTO2_LIBS
16896 GPHOTO2_PORT_CFLAGS = $GPHOTO2_PORT_CFLAGS
16897 GPHOTO2_PORT_LIBS = $GPHOTO2_PORT_LIBS
16898 RESOLV_LIBS = $RESOLV_LIBS
16899 LCMS2_CFLAGS = $LCMS2_CFLAGS
16900 LCMS2_LIBS = $LCMS2_LIBS
16901 FREETYPE_CFLAGS = $FREETYPE_CFLAGS
16902 FREETYPE_LIBS = $FREETYPE_LIBS
16904 GETTEXTPO_LIBS = $GETTEXTPO_LIBS
16905 GSTREAMER_CFLAGS = $GSTREAMER_CFLAGS
16906 GSTREAMER_LIBS = $GSTREAMER_LIBS
16907 ALSA_LIBS = $ALSA_LIBS
16908 OSS4_CFLAGS = $OSS4_CFLAGS
16909 CAPI20_CFLAGS = $CAPI20_CFLAGS
16910 CAPI20_LIBS = $CAPI20_LIBS
16911 CUPS_CFLAGS = $CUPS_CFLAGS
16912 FONTCONFIG_CFLAGS = $FONTCONFIG_CFLAGS
16913 FONTCONFIG_LIBS = $FONTCONFIG_LIBS
16914 JPEG_CFLAGS = $JPEG_CFLAGS
16915 JPEG_LIBS = $JPEG_LIBS
16916 PNG_CFLAGS = $PNG_CFLAGS
16917 PNG_LIBS = $PNG_LIBS
16918 TIFF_CFLAGS = $TIFF_CFLAGS
16919 TIFF_LIBS = $TIFF_LIBS
16920 MPG123_CFLAGS = $MPG123_CFLAGS
16921 MPG123_LIBS = $MPG123_LIBS
16922 KSTAT_LIBS = $KSTAT_LIBS
16923 PROCSTAT_LIBS = $PROCSTAT_LIBS
16925 POLL_LIBS = $POLL_LIBS
16927 LDAP_LIBS = $LDAP_LIBS
16932 wine_fn_append_rule
"
16933 # Rules automatically generated by configure
16935 CLEAN_FILES = *.o *.a *.so *.res *.fake *.ok *.tab.[ch] *.yy.c
16940 Makefile: $srcdir/Makefile.in $srcdir/Make.vars.in config.status \$(MAKEDEP)
16941 @./config.status Make.tmp Makefile"
16943 test "$srcdir" = .
&& wine_fn_append_rule
"all: .gitignore
16944 .gitignore: config.status
16945 @./config.status .gitignore"
16947 test -n "$CROSSTARGET" || wine_fn_append_rule
"crosstest:
16948 @echo \"crosstest is not supported (mingw not installed?)\" && false"
16950 if test "x$enable_fonts" != xno
; then
16951 ac_config_links
="$ac_config_links fonts/marlett.ttf:fonts/marlett.ttf"
16952 ac_config_links
="$ac_config_links fonts/symbol.ttf:fonts/symbol.ttf"
16953 ac_config_links
="$ac_config_links fonts/tahoma.ttf:fonts/tahoma.ttf"
16954 ac_config_links
="$ac_config_links fonts/tahomabd.ttf:fonts/tahomabd.ttf"
16955 test "$srcdir" = "." || wine_fn_config_symlink fonts
/marlett.ttf fonts
/symbol.ttf fonts
/tahoma.ttf fonts
/tahomabd.ttf
16957 ac_config_links
="$ac_config_links loader/l_intl.nls:loader/l_intl.nls"
16958 test "$srcdir" = "." || wine_fn_config_symlink loader
/l_intl.nls
16959 ac_config_links
="$ac_config_links po/LINGUAS:po/LINGUAS"
16960 test "$srcdir" = "." || wine_fn_config_symlink po
/LINGUAS
16961 ac_config_links
="$ac_config_links wine:tools/winewrapper"
16962 wine_fn_config_symlink wine
16963 if test "x$enable_win64" != xno
; then
16964 ac_config_links
="$ac_config_links wine64:tools/winewrapper"
16965 wine_fn_config_symlink wine64
16968 wine_fn_config_dll acledit enable_acledit
16969 wine_fn_config_dll aclui enable_aclui implib
16970 wine_fn_config_dll activeds enable_activeds implib
16971 wine_fn_config_dll actxprxy enable_actxprxy clean
16972 wine_fn_config_lib adsiid
16973 wine_fn_config_dll advapi32 enable_advapi32 clean
,implib
16974 wine_fn_config_test dlls
/advapi32
/tests advapi32_test
16975 wine_fn_config_dll advpack enable_advpack implib
16976 wine_fn_config_test dlls
/advpack
/tests advpack_test
16977 wine_fn_config_dll amstream enable_amstream clean
16978 wine_fn_config_test dlls
/amstream
/tests amstream_test
16979 wine_fn_config_dll api-ms-win-core-com-l1-1-0 enable_api_ms_win_core_com_l1_1_0
16980 wine_fn_config_dll api-ms-win-core-console-l1-1-0 enable_api_ms_win_core_console_l1_1_0
16981 wine_fn_config_dll api-ms-win-core-datetime-l1-1-0 enable_api_ms_win_core_datetime_l1_1_0
16982 wine_fn_config_dll api-ms-win-core-datetime-l1-1-1 enable_api_ms_win_core_datetime_l1_1_1
16983 wine_fn_config_dll api-ms-win-core-debug-l1-1-1 enable_api_ms_win_core_debug_l1_1_1
16984 wine_fn_config_dll api-ms-win-core-errorhandling-l1-1-1 enable_api_ms_win_core_errorhandling_l1_1_1
16985 wine_fn_config_dll api-ms-win-core-errorhandling-l1-1-2 enable_api_ms_win_core_errorhandling_l1_1_2
16986 wine_fn_config_dll api-ms-win-core-fibers-l1-1-0 enable_api_ms_win_core_fibers_l1_1_0
16987 wine_fn_config_dll api-ms-win-core-fibers-l1-1-1 enable_api_ms_win_core_fibers_l1_1_1
16988 wine_fn_config_dll api-ms-win-core-file-l1-2-0 enable_api_ms_win_core_file_l1_2_0
16989 wine_fn_config_dll api-ms-win-core-file-l2-1-0 enable_api_ms_win_core_file_l2_1_0
16990 wine_fn_config_dll api-ms-win-core-file-l2-1-1 enable_api_ms_win_core_file_l2_1_1
16991 wine_fn_config_dll api-ms-win-core-handle-l1-1-0 enable_api_ms_win_core_handle_l1_1_0
16992 wine_fn_config_dll api-ms-win-core-heap-l1-2-0 enable_api_ms_win_core_heap_l1_2_0
16993 wine_fn_config_dll api-ms-win-core-heap-obsolete-l1-1-0 enable_api_ms_win_core_heap_obsolete_l1_1_0
16994 wine_fn_config_dll api-ms-win-core-interlocked-l1-2-0 enable_api_ms_win_core_interlocked_l1_2_0
16995 wine_fn_config_dll api-ms-win-core-io-l1-1-1 enable_api_ms_win_core_io_l1_1_1
16996 wine_fn_config_dll api-ms-win-core-kernel32-legacy-l1-1-0 enable_api_ms_win_core_kernel32_legacy_l1_1_0
16997 wine_fn_config_dll api-ms-win-core-libraryloader-l1-1-1 enable_api_ms_win_core_libraryloader_l1_1_1
16998 wine_fn_config_dll api-ms-win-core-localization-l1-2-0 enable_api_ms_win_core_localization_l1_2_0
16999 wine_fn_config_dll api-ms-win-core-localization-l1-2-1 enable_api_ms_win_core_localization_l1_2_1
17000 wine_fn_config_dll api-ms-win-core-localization-obsolete-l1-1-0 enable_api_ms_win_core_localization_obsolete_l1_1_0
17001 wine_fn_config_dll api-ms-win-core-localregistry-l1-1-0 enable_api_ms_win_core_localregistry_l1_1_0
17002 wine_fn_config_dll api-ms-win-core-memory-l1-1-1 enable_api_ms_win_core_memory_l1_1_1
17003 wine_fn_config_dll api-ms-win-core-namedpipe-l1-2-0 enable_api_ms_win_core_namedpipe_l1_2_0
17004 wine_fn_config_dll api-ms-win-core-processenvironment-l1-2-0 enable_api_ms_win_core_processenvironment_l1_2_0
17005 wine_fn_config_dll api-ms-win-core-processthreads-l1-1-0 enable_api_ms_win_core_processthreads_l1_1_0
17006 wine_fn_config_dll api-ms-win-core-processthreads-l1-1-1 enable_api_ms_win_core_processthreads_l1_1_1
17007 wine_fn_config_dll api-ms-win-core-processthreads-l1-1-2 enable_api_ms_win_core_processthreads_l1_1_2
17008 wine_fn_config_dll api-ms-win-core-profile-l1-1-0 enable_api_ms_win_core_profile_l1_1_0
17009 wine_fn_config_dll api-ms-win-core-psapi-l1-1-0 enable_api_ms_win_core_psapi_l1_1_0
17010 wine_fn_config_dll api-ms-win-core-registry-l1-1-0 enable_api_ms_win_core_registry_l1_1_0
17011 wine_fn_config_dll api-ms-win-core-rtlsupport-l1-2-0 enable_api_ms_win_core_rtlsupport_l1_2_0
17012 wine_fn_config_dll api-ms-win-core-shlwapi-legacy-l1-1-0 enable_api_ms_win_core_shlwapi_legacy_l1_1_0
17013 wine_fn_config_dll api-ms-win-core-string-l1-1-0 enable_api_ms_win_core_string_l1_1_0
17014 wine_fn_config_dll api-ms-win-core-synch-l1-2-0 enable_api_ms_win_core_synch_l1_2_0
17015 wine_fn_config_dll api-ms-win-core-sysinfo-l1-2-0 enable_api_ms_win_core_sysinfo_l1_2_0
17016 wine_fn_config_dll api-ms-win-core-sysinfo-l1-2-1 enable_api_ms_win_core_sysinfo_l1_2_1
17017 wine_fn_config_dll api-ms-win-core-threadpool-legacy-l1-1-0 enable_api_ms_win_core_threadpool_legacy_l1_1_0
17018 wine_fn_config_dll api-ms-win-core-timezone-l1-1-0 enable_api_ms_win_core_timezone_l1_1_0
17019 wine_fn_config_dll api-ms-win-core-url-l1-1-0 enable_api_ms_win_core_url_l1_1_0
17020 wine_fn_config_dll api-ms-win-core-util-l1-1-0 enable_api_ms_win_core_util_l1_1_0
17021 wine_fn_config_dll api-ms-win-core-winrt-error-l1-1-0 enable_api_ms_win_core_winrt_error_l1_1_0
17022 wine_fn_config_dll api-ms-win-core-winrt-error-l1-1-1 enable_api_ms_win_core_winrt_error_l1_1_1
17023 wine_fn_config_dll api-ms-win-core-winrt-l1-1-0 enable_api_ms_win_core_winrt_l1_1_0
17024 wine_fn_config_dll api-ms-win-core-winrt-string-l1-1-0 enable_api_ms_win_core_winrt_string_l1_1_0
17025 wine_fn_config_dll api-ms-win-core-xstate-l2-1-0 enable_api_ms_win_core_xstate_l2_1_0
17026 wine_fn_config_dll api-ms-win-downlevel-advapi32-l1-1-0 enable_api_ms_win_downlevel_advapi32_l1_1_0
17027 wine_fn_config_dll api-ms-win-downlevel-advapi32-l2-1-0 enable_api_ms_win_downlevel_advapi32_l2_1_0
17028 wine_fn_config_dll api-ms-win-downlevel-normaliz-l1-1-0 enable_api_ms_win_downlevel_normaliz_l1_1_0
17029 wine_fn_config_dll api-ms-win-downlevel-ole32-l1-1-0 enable_api_ms_win_downlevel_ole32_l1_1_0
17030 wine_fn_config_dll api-ms-win-downlevel-shell32-l1-1-0 enable_api_ms_win_downlevel_shell32_l1_1_0
17031 wine_fn_config_dll api-ms-win-downlevel-shlwapi-l1-1-0 enable_api_ms_win_downlevel_shlwapi_l1_1_0
17032 wine_fn_config_dll api-ms-win-downlevel-shlwapi-l2-1-0 enable_api_ms_win_downlevel_shlwapi_l2_1_0
17033 wine_fn_config_dll api-ms-win-downlevel-user32-l1-1-0 enable_api_ms_win_downlevel_user32_l1_1_0
17034 wine_fn_config_dll api-ms-win-downlevel-version-l1-1-0 enable_api_ms_win_downlevel_version_l1_1_0
17035 wine_fn_config_dll api-ms-win-eventing-provider-l1-1-0 enable_api_ms_win_eventing_provider_l1_1_0
17036 wine_fn_config_dll api-ms-win-ntuser-dc-access-l1-1-0 enable_api_ms_win_ntuser_dc_access_l1_1_0
17037 wine_fn_config_dll api-ms-win-security-base-l1-1-0 enable_api_ms_win_security_base_l1_1_0
17038 wine_fn_config_dll api-ms-win-security-base-l1-2-0 enable_api_ms_win_security_base_l1_2_0
17039 wine_fn_config_dll api-ms-win-security-sddl-l1-1-0 enable_api_ms_win_security_sddl_l1_1_0
17040 wine_fn_config_dll api-ms-win-service-core-l1-1-1 enable_api_ms_win_service_core_l1_1_1
17041 wine_fn_config_dll api-ms-win-service-management-l1-1-0 enable_api_ms_win_service_management_l1_1_0
17042 wine_fn_config_dll api-ms-win-service-winsvc-l1-2-0 enable_api_ms_win_service_winsvc_l1_2_0
17043 wine_fn_config_dll apphelp enable_apphelp
17044 wine_fn_config_test dlls
/apphelp
/tests apphelp_test
17045 wine_fn_config_dll appwiz.cpl enable_appwiz_cpl po
17046 wine_fn_config_dll atl enable_atl clean
,implib
17047 wine_fn_config_test dlls
/atl
/tests atl_test
17048 wine_fn_config_dll atl100 enable_atl100 clean
,implib
17049 wine_fn_config_test dlls
/atl100
/tests atl100_test
17050 wine_fn_config_dll atl110 enable_atl110 clean
17051 wine_fn_config_dll atl80 enable_atl80 clean
,implib
17052 wine_fn_config_test dlls
/atl80
/tests atl80_test
17053 wine_fn_config_dll atl90 enable_atl90 clean
17054 wine_fn_config_dll authz enable_authz
17055 wine_fn_config_dll avicap32 enable_avicap32 implib
17056 wine_fn_config_dll avifil32 enable_avifil32 clean
,implib
,po
17057 wine_fn_config_test dlls
/avifil32
/tests avifil32_test
17058 wine_fn_config_dll avifile.dll16 enable_win16
17059 wine_fn_config_dll avrt enable_avrt implib
17060 wine_fn_config_dll bcrypt enable_bcrypt
17061 wine_fn_config_test dlls
/bcrypt
/tests bcrypt_test
17062 wine_fn_config_dll browseui enable_browseui clean
,po
17063 wine_fn_config_test dlls
/browseui
/tests browseui_test
17064 wine_fn_config_dll cabinet enable_cabinet implib
17065 wine_fn_config_test dlls
/cabinet
/tests cabinet_test
17066 wine_fn_config_dll capi2032 enable_capi2032 implib
17067 wine_fn_config_dll cards enable_cards implib
17068 wine_fn_config_dll cfgmgr32 enable_cfgmgr32 implib
17069 wine_fn_config_dll clusapi enable_clusapi implib
17070 wine_fn_config_dll combase enable_combase
17071 wine_fn_config_test dlls
/combase
/tests combase_test
17072 wine_fn_config_dll comcat enable_comcat
17073 wine_fn_config_test dlls
/comcat
/tests comcat_test
17074 wine_fn_config_dll comctl32 enable_comctl32 implib
,po
17075 wine_fn_config_test dlls
/comctl32
/tests comctl32_test
17076 wine_fn_config_dll comdlg32 enable_comdlg32 clean
,implib
,po
17077 wine_fn_config_test dlls
/comdlg32
/tests comdlg32_test
17078 wine_fn_config_dll
comm.drv16 enable_win16
17079 wine_fn_config_dll commdlg.dll16 enable_win16
17080 wine_fn_config_dll compobj.dll16 enable_win16
17081 wine_fn_config_dll compstui enable_compstui implib
17082 wine_fn_config_dll comsvcs enable_comsvcs implib
17083 wine_fn_config_dll credui enable_credui implib
,po
17084 wine_fn_config_test dlls
/credui
/tests credui_test
17085 wine_fn_config_dll crtdll enable_crtdll implib
17086 wine_fn_config_dll crypt32 enable_crypt32 implib
,po
17087 wine_fn_config_test dlls
/crypt32
/tests crypt32_test
17088 wine_fn_config_dll cryptdlg enable_cryptdlg po
17089 wine_fn_config_dll cryptdll enable_cryptdll implib
17090 wine_fn_config_dll cryptext enable_cryptext
17091 wine_fn_config_dll cryptnet enable_cryptnet implib
17092 wine_fn_config_test dlls
/cryptnet
/tests cryptnet_test
17093 wine_fn_config_dll cryptui enable_cryptui implib
,po
17094 wine_fn_config_test dlls
/cryptui
/tests cryptui_test
17095 wine_fn_config_dll ctapi32 enable_ctapi32
17096 wine_fn_config_dll ctl3d.dll16 enable_win16
17097 wine_fn_config_dll ctl3d32 enable_ctl3d32 implib
17098 wine_fn_config_dll ctl3dv2.dll16 enable_win16
17099 wine_fn_config_dll d2d1 enable_d2d1 implib
17100 wine_fn_config_test dlls
/d2d
1/tests d2d1_test
17101 wine_fn_config_dll d3d10 enable_d3d10 implib
17102 wine_fn_config_test dlls
/d3d10
/tests d3d10_test
17103 wine_fn_config_dll d3d10_1 enable_d3d10_1 implib
17104 wine_fn_config_dll d3d10core enable_d3d10core implib
17105 wine_fn_config_test dlls
/d3d10core
/tests d3d10core_test
17106 wine_fn_config_dll d3d11 enable_d3d11
17107 wine_fn_config_dll d3d8 enable_d3d8 implib
17108 wine_fn_config_test dlls
/d3d
8/tests d3d8_test
17109 wine_fn_config_dll d3d9 enable_d3d9 implib
17110 wine_fn_config_test dlls
/d3d
9/tests d3d9_test
17111 wine_fn_config_dll d3dcompiler_33 enable_d3dcompiler_33
17112 wine_fn_config_dll d3dcompiler_34 enable_d3dcompiler_34
17113 wine_fn_config_dll d3dcompiler_35 enable_d3dcompiler_35
17114 wine_fn_config_dll d3dcompiler_36 enable_d3dcompiler_36
17115 wine_fn_config_dll d3dcompiler_37 enable_d3dcompiler_37
17116 wine_fn_config_dll d3dcompiler_38 enable_d3dcompiler_38
17117 wine_fn_config_dll d3dcompiler_39 enable_d3dcompiler_39
17118 wine_fn_config_dll d3dcompiler_40 enable_d3dcompiler_40
17119 wine_fn_config_dll d3dcompiler_41 enable_d3dcompiler_41
17120 wine_fn_config_dll d3dcompiler_42 enable_d3dcompiler_42
17121 wine_fn_config_dll d3dcompiler_43 enable_d3dcompiler_43 implib d3dcompiler
17122 wine_fn_config_test dlls
/d3dcompiler_43
/tests d3dcompiler_43_test
17123 wine_fn_config_dll d3dim enable_d3dim implib
17124 wine_fn_config_dll d3drm enable_d3drm implib
17125 wine_fn_config_test dlls
/d3drm
/tests d3drm_test
17126 wine_fn_config_dll d3dx10_33 enable_d3dx10_33
17127 wine_fn_config_dll d3dx10_34 enable_d3dx10_34
17128 wine_fn_config_dll d3dx10_35 enable_d3dx10_35
17129 wine_fn_config_dll d3dx10_36 enable_d3dx10_36
17130 wine_fn_config_dll d3dx10_37 enable_d3dx10_37
17131 wine_fn_config_dll d3dx10_38 enable_d3dx10_38
17132 wine_fn_config_dll d3dx10_39 enable_d3dx10_39
17133 wine_fn_config_dll d3dx10_40 enable_d3dx10_40
17134 wine_fn_config_dll d3dx10_41 enable_d3dx10_41
17135 wine_fn_config_dll d3dx10_42 enable_d3dx10_42
17136 wine_fn_config_dll d3dx10_43 enable_d3dx10_43
17137 wine_fn_config_dll d3dx11_42 enable_d3dx11_42
17138 wine_fn_config_dll d3dx11_43 enable_d3dx11_43
17139 wine_fn_config_dll d3dx9_24 enable_d3dx9_24
17140 wine_fn_config_dll d3dx9_25 enable_d3dx9_25
17141 wine_fn_config_dll d3dx9_26 enable_d3dx9_26
17142 wine_fn_config_dll d3dx9_27 enable_d3dx9_27
17143 wine_fn_config_dll d3dx9_28 enable_d3dx9_28
17144 wine_fn_config_dll d3dx9_29 enable_d3dx9_29
17145 wine_fn_config_dll d3dx9_30 enable_d3dx9_30
17146 wine_fn_config_dll d3dx9_31 enable_d3dx9_31
17147 wine_fn_config_dll d3dx9_32 enable_d3dx9_32
17148 wine_fn_config_dll d3dx9_33 enable_d3dx9_33
17149 wine_fn_config_dll d3dx9_34 enable_d3dx9_34
17150 wine_fn_config_dll d3dx9_35 enable_d3dx9_35
17151 wine_fn_config_dll d3dx9_36 enable_d3dx9_36 implib d3dx9
17152 wine_fn_config_test dlls
/d3dx9_36
/tests d3dx9_36_test
17153 wine_fn_config_dll d3dx9_37 enable_d3dx9_37
17154 wine_fn_config_dll d3dx9_38 enable_d3dx9_38
17155 wine_fn_config_dll d3dx9_39 enable_d3dx9_39
17156 wine_fn_config_dll d3dx9_40 enable_d3dx9_40
17157 wine_fn_config_dll d3dx9_41 enable_d3dx9_41
17158 wine_fn_config_dll d3dx9_42 enable_d3dx9_42
17159 wine_fn_config_dll d3dx9_43 enable_d3dx9_43
17160 wine_fn_config_dll d3dxof enable_d3dxof clean
,implib
17161 wine_fn_config_test dlls
/d3dxof
/tests d3dxof_test
17162 wine_fn_config_dll dbgeng enable_dbgeng implib
17163 wine_fn_config_dll dbghelp enable_dbghelp implib
17164 wine_fn_config_dll dciman32 enable_dciman32 implib
17165 wine_fn_config_dll ddeml.dll16 enable_win16
17166 wine_fn_config_dll ddraw enable_ddraw clean
,implib
17167 wine_fn_config_test dlls
/ddraw
/tests ddraw_test
17168 wine_fn_config_dll ddrawex enable_ddrawex clean
17169 wine_fn_config_test dlls
/ddrawex
/tests ddrawex_test
17170 wine_fn_config_dll devenum enable_devenum clean
,po
17171 wine_fn_config_test dlls
/devenum
/tests devenum_test
17172 wine_fn_config_dll dhcpcsvc enable_dhcpcsvc
17173 wine_fn_config_dll difxapi enable_difxapi
17174 wine_fn_config_dll dinput enable_dinput clean
,implib
,po
,staticimplib
17175 wine_fn_config_test dlls
/dinput
/tests dinput_test
17176 wine_fn_config_dll dinput8 enable_dinput8 clean
,implib
17177 wine_fn_config_test dlls
/dinput
8/tests dinput8_test
17178 wine_fn_config_dll dispdib.dll16 enable_win16
17179 wine_fn_config_dll dispex enable_dispex clean
17180 wine_fn_config_test dlls
/dispex
/tests dispex_test
17181 wine_fn_config_dll display.drv16 enable_win16
17182 wine_fn_config_dll dmband enable_dmband clean
17183 wine_fn_config_test dlls
/dmband
/tests dmband_test
17184 wine_fn_config_dll dmcompos enable_dmcompos clean
17185 wine_fn_config_test dlls
/dmcompos
/tests dmcompos_test
17186 wine_fn_config_dll dmime enable_dmime clean
17187 wine_fn_config_test dlls
/dmime
/tests dmime_test
17188 wine_fn_config_dll dmloader enable_dmloader clean
17189 wine_fn_config_test dlls
/dmloader
/tests dmloader_test
17190 wine_fn_config_dll dmscript enable_dmscript clean
17191 wine_fn_config_test dlls
/dmscript
/tests dmscript_test
17192 wine_fn_config_dll dmstyle enable_dmstyle clean
17193 wine_fn_config_test dlls
/dmstyle
/tests dmstyle_test
17194 wine_fn_config_dll dmsynth enable_dmsynth clean
17195 wine_fn_config_test dlls
/dmsynth
/tests dmsynth_test
17196 wine_fn_config_dll dmusic enable_dmusic clean
17197 wine_fn_config_test dlls
/dmusic
/tests dmusic_test
17198 wine_fn_config_dll dmusic32 enable_dmusic32 implib
17199 wine_fn_config_dll dnsapi enable_dnsapi implib
17200 wine_fn_config_test dlls
/dnsapi
/tests dnsapi_test
17201 wine_fn_config_dll dplay enable_dplay implib
17202 wine_fn_config_dll dplayx enable_dplayx clean
,implib
17203 wine_fn_config_test dlls
/dplayx
/tests dplayx_test
17204 wine_fn_config_dll dpnaddr enable_dpnaddr
17205 wine_fn_config_dll dpnet enable_dpnet clean
,implib
17206 wine_fn_config_test dlls
/dpnet
/tests dpnet_test
17207 wine_fn_config_dll dpnhpast enable_dpnhpast
17208 wine_fn_config_dll dpnlobby enable_dpnlobby
17209 wine_fn_config_dll dpvoice enable_dpvoice clean
17210 wine_fn_config_test dlls
/dpvoice
/tests dpvoice_test
17211 wine_fn_config_dll dpwsockx enable_dpwsockx
17212 wine_fn_config_dll drmclien enable_drmclien
17213 wine_fn_config_dll dsound enable_dsound clean
,implib
17214 wine_fn_config_test dlls
/dsound
/tests dsound_test
17215 wine_fn_config_dll dssenh enable_dssenh
17216 wine_fn_config_test dlls
/dssenh
/tests dssenh_test
17217 wine_fn_config_dll dswave enable_dswave clean
17218 wine_fn_config_test dlls
/dswave
/tests dswave_test
17219 wine_fn_config_dll dwmapi enable_dwmapi implib
17220 wine_fn_config_dll dwrite enable_dwrite implib
17221 wine_fn_config_test dlls
/dwrite
/tests dwrite_test
17222 wine_fn_config_dll dxdiagn enable_dxdiagn clean
,po
17223 wine_fn_config_test dlls
/dxdiagn
/tests dxdiagn_test
17224 wine_fn_config_lib dxerr8
17225 wine_fn_config_lib dxerr9
17226 wine_fn_config_dll dxgi enable_dxgi implib
17227 wine_fn_config_test dlls
/dxgi
/tests dxgi_test
17228 wine_fn_config_lib dxguid
17229 wine_fn_config_dll dxva2 enable_dxva2
17230 wine_fn_config_dll evr enable_evr
17231 wine_fn_config_dll explorerframe enable_explorerframe clean
17232 wine_fn_config_test dlls
/explorerframe
/tests explorerframe_test
17233 wine_fn_config_dll ext-ms-win-gdi-devcaps-l1-1-0 enable_ext_ms_win_gdi_devcaps_l1_1_0
17234 wine_fn_config_dll faultrep enable_faultrep implib
17235 wine_fn_config_test dlls
/faultrep
/tests faultrep_test
17236 wine_fn_config_dll fltlib enable_fltlib
17237 wine_fn_config_dll fntcache enable_fntcache
17238 wine_fn_config_dll fontsub enable_fontsub
17239 wine_fn_config_dll fusion enable_fusion
17240 wine_fn_config_test dlls
/fusion
/tests fusion_test
17241 wine_fn_config_dll fwpuclnt enable_fwpuclnt
17242 wine_fn_config_dll gameux enable_gameux clean
17243 wine_fn_config_test dlls
/gameux
/tests gameux_test
17244 wine_fn_config_dll gdi.exe16 enable_win16
17245 wine_fn_config_dll gdi32 enable_gdi32 clean
,implib
,po
17246 wine_fn_config_test dlls
/gdi32
/tests gdi32_test
17247 wine_fn_config_dll gdiplus enable_gdiplus implib
17248 wine_fn_config_test dlls
/gdiplus
/tests gdiplus_test
17249 wine_fn_config_dll glu32 enable_glu32 implib
17250 wine_fn_config_dll gphoto2.ds enable_gphoto2_ds po
17251 wine_fn_config_dll gpkcsp enable_gpkcsp
17252 wine_fn_config_dll hal enable_hal
17253 wine_fn_config_dll hhctrl.ocx enable_hhctrl_ocx clean
,implib
,po htmlhelp
17254 wine_fn_config_dll hid enable_hid implib
17255 wine_fn_config_dll hlink enable_hlink clean
,implib
17256 wine_fn_config_test dlls
/hlink
/tests hlink_test
17257 wine_fn_config_dll hnetcfg enable_hnetcfg clean
17258 wine_fn_config_dll httpapi enable_httpapi
17259 wine_fn_config_dll iccvid enable_iccvid po
17260 wine_fn_config_dll icmp enable_icmp
17261 wine_fn_config_dll ieframe enable_ieframe clean
,implib
,po
17262 wine_fn_config_test dlls
/ieframe
/tests ieframe_test
17263 wine_fn_config_dll ifsmgr.vxd enable_win16
17264 wine_fn_config_dll imaadp32.acm enable_imaadp32_acm
17265 wine_fn_config_dll imagehlp enable_imagehlp implib
17266 wine_fn_config_test dlls
/imagehlp
/tests imagehlp_test
17267 wine_fn_config_dll imm.dll16 enable_win16
17268 wine_fn_config_dll imm32 enable_imm32 implib
17269 wine_fn_config_test dlls
/imm32
/tests imm32_test
17270 wine_fn_config_dll inetcomm enable_inetcomm clean
,implib
17271 wine_fn_config_test dlls
/inetcomm
/tests inetcomm_test
17272 wine_fn_config_dll inetcpl.cpl enable_inetcpl_cpl po
17273 wine_fn_config_dll inetmib1 enable_inetmib1
17274 wine_fn_config_test dlls
/inetmib
1/tests inetmib1_test
17275 wine_fn_config_dll infosoft enable_infosoft clean
17276 wine_fn_config_test dlls
/infosoft
/tests infosoft_test
17277 wine_fn_config_dll initpki enable_initpki
17278 wine_fn_config_dll inkobj enable_inkobj
17279 wine_fn_config_dll inseng enable_inseng clean
17280 wine_fn_config_dll iphlpapi enable_iphlpapi implib
17281 wine_fn_config_test dlls
/iphlpapi
/tests iphlpapi_test
17282 wine_fn_config_dll itircl enable_itircl
17283 wine_fn_config_dll itss enable_itss clean
17284 wine_fn_config_test dlls
/itss
/tests itss_test
17285 wine_fn_config_dll joy.cpl enable_joy_cpl po
17286 wine_fn_config_dll jscript enable_jscript clean
,po
17287 wine_fn_config_test dlls
/jscript
/tests jscript_test
17288 wine_fn_config_dll jsproxy enable_jsproxy implib
17289 wine_fn_config_dll kernel32 enable_kernel32 clean
,implib
,mc
17290 wine_fn_config_test dlls
/kernel32
/tests kernel32_test
17291 wine_fn_config_dll keyboard.drv16 enable_win16
17292 wine_fn_config_dll krnl386.exe16 enable_win16 implib kernel
17293 wine_fn_config_dll ksuser enable_ksuser
17294 wine_fn_config_dll ktmw32 enable_ktmw32
17295 wine_fn_config_dll loadperf enable_loadperf implib
17296 wine_fn_config_dll localspl enable_localspl po
17297 wine_fn_config_test dlls
/localspl
/tests localspl_test
17298 wine_fn_config_dll localui enable_localui po
17299 wine_fn_config_test dlls
/localui
/tests localui_test
17300 wine_fn_config_dll lz32 enable_lz32 implib
17301 wine_fn_config_test dlls
/lz32
/tests lz32_test
17302 wine_fn_config_dll lzexpand.dll16 enable_win16
17303 wine_fn_config_dll mapi32 enable_mapi32 implib
,po
17304 wine_fn_config_test dlls
/mapi32
/tests mapi32_test
17305 wine_fn_config_dll mapistub enable_mapistub
17306 wine_fn_config_dll mciavi32 enable_mciavi32
17307 wine_fn_config_dll mcicda enable_mcicda
17308 wine_fn_config_dll mciqtz32 enable_mciqtz32
17309 wine_fn_config_dll mciseq enable_mciseq
17310 wine_fn_config_dll mciwave enable_mciwave
17311 wine_fn_config_dll mfplat enable_mfplat
17312 wine_fn_config_dll mfreadwrite enable_mfreadwrite
17313 wine_fn_config_dll mgmtapi enable_mgmtapi
17314 wine_fn_config_dll midimap enable_midimap
17315 wine_fn_config_dll mlang enable_mlang clean
,implib
17316 wine_fn_config_test dlls
/mlang
/tests mlang_test
17317 wine_fn_config_dll mmcndmgr enable_mmcndmgr clean
17318 wine_fn_config_test dlls
/mmcndmgr
/tests mmcndmgr_test
17319 wine_fn_config_dll mmdevapi enable_mmdevapi clean
17320 wine_fn_config_test dlls
/mmdevapi
/tests mmdevapi_test
17321 wine_fn_config_dll mmdevldr.vxd enable_win16
17322 wine_fn_config_dll mmsystem.dll16 enable_win16
17323 wine_fn_config_dll monodebg.vxd enable_win16
17324 wine_fn_config_dll mountmgr.sys enable_mountmgr_sys
17325 wine_fn_config_dll mouse.drv16 enable_win16
17326 wine_fn_config_dll mpr enable_mpr implib
,po
17327 wine_fn_config_test dlls
/mpr
/tests mpr_test
17328 wine_fn_config_dll mprapi enable_mprapi implib
17329 wine_fn_config_dll msacm.dll16 enable_win16
17330 wine_fn_config_dll msacm32.drv enable_msacm32_drv
17331 wine_fn_config_dll msacm32 enable_msacm32 implib
,po
17332 wine_fn_config_test dlls
/msacm32
/tests msacm32_test
17333 wine_fn_config_dll msadp32.acm enable_msadp32_acm
17334 wine_fn_config_dll msasn1 enable_msasn1 implib
17335 wine_fn_config_dll mscat32 enable_mscat32
17336 wine_fn_config_dll mscms enable_mscms implib
17337 wine_fn_config_test dlls
/mscms
/tests mscms_test
17338 wine_fn_config_dll mscoree enable_mscoree clean
17339 wine_fn_config_test dlls
/mscoree
/tests mscoree_test
17340 wine_fn_config_dll msctf enable_msctf clean
17341 wine_fn_config_test dlls
/msctf
/tests msctf_test
17342 wine_fn_config_dll msdaps enable_msdaps clean
17343 wine_fn_config_dll msdmo enable_msdmo implib
17344 wine_fn_config_test dlls
/msdmo
/tests msdmo_test
17345 wine_fn_config_dll msftedit enable_msftedit
17346 wine_fn_config_dll msg711.acm enable_msg711_acm
17347 wine_fn_config_dll msgsm32.acm enable_msgsm32_acm
17348 wine_fn_config_dll mshtml.tlb enable_mshtml_tlb clean
17349 wine_fn_config_dll mshtml enable_mshtml clean
,implib
,po
17350 wine_fn_config_test dlls
/mshtml
/tests mshtml_test clean
17351 wine_fn_config_dll msi enable_msi clean
,implib
,po
17352 wine_fn_config_test dlls
/msi
/tests msi_test
17353 wine_fn_config_dll msident enable_msident clean
17354 wine_fn_config_dll msimg32 enable_msimg32 implib
17355 wine_fn_config_dll msimsg enable_msimsg
17356 wine_fn_config_dll msimtf enable_msimtf clean
17357 wine_fn_config_dll msisip enable_msisip
17358 wine_fn_config_dll msisys.ocx enable_msisys_ocx
17359 wine_fn_config_dll msls31 enable_msls31
17360 wine_fn_config_dll msnet32 enable_msnet32
17361 wine_fn_config_dll mspatcha enable_mspatcha
17362 wine_fn_config_dll msrle32 enable_msrle32 po
17363 wine_fn_config_test dlls
/msrle32
/tests msrle32_test
17364 wine_fn_config_dll mssign32 enable_mssign32
17365 wine_fn_config_dll mssip32 enable_mssip32
17366 wine_fn_config_dll mstask enable_mstask clean
17367 wine_fn_config_test dlls
/mstask
/tests mstask_test
17368 wine_fn_config_dll msvcirt enable_msvcirt
17369 wine_fn_config_dll msvcm80 enable_msvcm80
17370 wine_fn_config_dll msvcm90 enable_msvcm90
17371 wine_fn_config_dll msvcp100 enable_msvcp100
17372 wine_fn_config_test dlls
/msvcp100
/tests msvcp100_test
17373 wine_fn_config_dll msvcp110 enable_msvcp110
17374 wine_fn_config_dll msvcp120 enable_msvcp120
17375 wine_fn_config_test dlls
/msvcp120
/tests msvcp120_test
17376 wine_fn_config_dll msvcp120_app enable_msvcp120_app
17377 wine_fn_config_dll msvcp60 enable_msvcp60
17378 wine_fn_config_test dlls
/msvcp60
/tests msvcp60_test
17379 wine_fn_config_dll msvcp70 enable_msvcp70
17380 wine_fn_config_dll msvcp71 enable_msvcp71
17381 wine_fn_config_dll msvcp80 enable_msvcp80
17382 wine_fn_config_dll msvcp90 enable_msvcp90
17383 wine_fn_config_test dlls
/msvcp90
/tests msvcp90_test
17384 wine_fn_config_dll msvcr100 enable_msvcr100 implib
17385 wine_fn_config_test dlls
/msvcr100
/tests msvcr100_test
17386 wine_fn_config_dll msvcr110 enable_msvcr110 implib
17387 wine_fn_config_dll msvcr120 enable_msvcr120 implib
17388 wine_fn_config_test dlls
/msvcr120
/tests msvcr120_test
17389 wine_fn_config_dll msvcr120_app enable_msvcr120_app
17390 wine_fn_config_dll msvcr70 enable_msvcr70 implib
17391 wine_fn_config_dll msvcr71 enable_msvcr71 implib
17392 wine_fn_config_dll msvcr80 enable_msvcr80 implib
17393 wine_fn_config_dll msvcr90 enable_msvcr90 implib
17394 wine_fn_config_test dlls
/msvcr90
/tests msvcr90_test
17395 wine_fn_config_dll msvcrt enable_msvcrt implib
17396 wine_fn_config_test dlls
/msvcrt
/tests msvcrt_test
17397 wine_fn_config_dll msvcrt20 enable_msvcrt20 implib
17398 wine_fn_config_dll msvcrt40 enable_msvcrt40 implib
17399 wine_fn_config_dll msvcrtd enable_msvcrtd implib
17400 wine_fn_config_test dlls
/msvcrtd
/tests msvcrtd_test
17401 wine_fn_config_dll msvfw32 enable_msvfw32 implib
,po
17402 wine_fn_config_test dlls
/msvfw32
/tests msvfw32_test
17403 wine_fn_config_dll msvidc32 enable_msvidc32 po
17404 wine_fn_config_dll msvideo.dll16 enable_win16
17405 wine_fn_config_dll mswsock enable_mswsock implib
17406 wine_fn_config_dll msxml enable_msxml clean
17407 wine_fn_config_dll msxml2 enable_msxml2 clean
17408 wine_fn_config_dll msxml3 enable_msxml3 clean
17409 wine_fn_config_test dlls
/msxml
3/tests msxml3_test clean
17410 wine_fn_config_dll msxml4 enable_msxml4 clean
17411 wine_fn_config_dll msxml6 enable_msxml6 clean
17412 wine_fn_config_dll nddeapi enable_nddeapi implib
17413 wine_fn_config_dll ndis.sys enable_ndis_sys
17414 wine_fn_config_dll netapi32 enable_netapi32 implib
17415 wine_fn_config_test dlls
/netapi32
/tests netapi32_test
17416 wine_fn_config_dll netcfgx enable_netcfgx clean
17417 wine_fn_config_test dlls
/netcfgx
/tests netcfgx_test
17418 wine_fn_config_dll netprofm enable_netprofm clean
17419 wine_fn_config_test dlls
/netprofm
/tests netprofm_test
17420 wine_fn_config_dll newdev enable_newdev implib
17421 wine_fn_config_dll normaliz enable_normaliz implib
17422 wine_fn_config_dll npmshtml enable_npmshtml
17423 wine_fn_config_dll npptools enable_npptools
17424 wine_fn_config_dll ntdll enable_ntdll implib
17425 wine_fn_config_test dlls
/ntdll
/tests ntdll_test
17426 wine_fn_config_dll ntdsapi enable_ntdsapi implib
17427 wine_fn_config_test dlls
/ntdsapi
/tests ntdsapi_test
17428 wine_fn_config_dll ntoskrnl.exe enable_ntoskrnl_exe implib
17429 wine_fn_config_dll ntprint enable_ntprint
17430 wine_fn_config_test dlls
/ntprint
/tests ntprint_test
17431 wine_fn_config_dll objsel enable_objsel clean
17432 wine_fn_config_dll odbc32 enable_odbc32 implib
17433 wine_fn_config_dll odbccp32 enable_odbccp32 implib
17434 wine_fn_config_test dlls
/odbccp32
/tests odbccp32_test
17435 wine_fn_config_dll odbccu32 enable_odbccu32
17436 wine_fn_config_dll ole2.dll16 enable_win16
17437 wine_fn_config_dll ole2conv.dll16 enable_win16
17438 wine_fn_config_dll ole2disp.dll16 enable_win16
17439 wine_fn_config_dll ole2nls.dll16 enable_win16
17440 wine_fn_config_dll ole2prox.dll16 enable_win16
17441 wine_fn_config_dll ole2thk.dll16 enable_win16
17442 wine_fn_config_dll ole32 enable_ole32 clean
,implib
17443 wine_fn_config_test dlls
/ole32
/tests ole32_test
17444 wine_fn_config_dll oleacc enable_oleacc clean
,implib
,po
17445 wine_fn_config_test dlls
/oleacc
/tests oleacc_test
17446 wine_fn_config_dll oleaut32 enable_oleaut32 clean
,implib
,po
17447 wine_fn_config_test dlls
/oleaut32
/tests oleaut32_test clean
17448 wine_fn_config_dll olecli.dll16 enable_win16
17449 wine_fn_config_dll olecli32 enable_olecli32 implib
17450 wine_fn_config_dll oledb32 enable_oledb32 clean
17451 wine_fn_config_test dlls
/oledb32
/tests oledb32_test clean
17452 wine_fn_config_dll oledlg enable_oledlg implib
,po
17453 wine_fn_config_dll olepro32 enable_olepro32 implib
17454 wine_fn_config_dll olesvr.dll16 enable_win16
17455 wine_fn_config_dll olesvr32 enable_olesvr32 implib
17456 wine_fn_config_dll olethk32 enable_olethk32
17457 wine_fn_config_dll openal32 enable_openal32
17458 wine_fn_config_dll opencl enable_opencl
17459 wine_fn_config_dll opengl32 enable_opengl32 implib
17460 wine_fn_config_test dlls
/opengl32
/tests opengl32_test
17461 wine_fn_config_dll packager enable_packager clean
17462 wine_fn_config_test dlls
/packager
/tests packager_test
17463 wine_fn_config_dll pdh enable_pdh implib
17464 wine_fn_config_test dlls
/pdh
/tests pdh_test
17465 wine_fn_config_dll photometadatahandler enable_photometadatahandler
17466 wine_fn_config_dll pidgen enable_pidgen
17467 wine_fn_config_dll powrprof enable_powrprof implib
17468 wine_fn_config_dll printui enable_printui
17469 wine_fn_config_dll prntvpt enable_prntvpt
17470 wine_fn_config_dll propsys enable_propsys clean
,implib
17471 wine_fn_config_test dlls
/propsys
/tests propsys_test
17472 wine_fn_config_dll psapi enable_psapi implib
17473 wine_fn_config_test dlls
/psapi
/tests psapi_test
17474 wine_fn_config_dll pstorec enable_pstorec clean
17475 wine_fn_config_dll qcap enable_qcap
17476 wine_fn_config_test dlls
/qcap
/tests qcap_test
17477 wine_fn_config_dll qedit enable_qedit clean
17478 wine_fn_config_test dlls
/qedit
/tests qedit_test
17479 wine_fn_config_dll qmgr enable_qmgr clean
17480 wine_fn_config_test dlls
/qmgr
/tests qmgr_test
17481 wine_fn_config_dll qmgrprxy enable_qmgrprxy clean
17482 wine_fn_config_dll quartz enable_quartz clean
,implib
17483 wine_fn_config_test dlls
/quartz
/tests quartz_test clean
17484 wine_fn_config_dll query enable_query
17485 wine_fn_config_dll rasapi16.dll16 enable_win16
17486 wine_fn_config_dll rasapi32 enable_rasapi32 implib
17487 wine_fn_config_test dlls
/rasapi32
/tests rasapi32_test
17488 wine_fn_config_dll rasdlg enable_rasdlg implib
17489 wine_fn_config_dll regapi enable_regapi
17490 wine_fn_config_dll resutils enable_resutils implib
17491 wine_fn_config_dll riched20 enable_riched20 implib
17492 wine_fn_config_test dlls
/riched20
/tests riched20_test
17493 wine_fn_config_dll riched32 enable_riched32
17494 wine_fn_config_test dlls
/riched32
/tests riched32_test
17495 wine_fn_config_dll rpcrt4 enable_rpcrt4 clean
,implib
17496 wine_fn_config_test dlls
/rpcrt
4/tests rpcrt4_test clean
17497 wine_fn_config_dll rsabase enable_rsabase
17498 wine_fn_config_dll rsaenh enable_rsaenh implib
17499 wine_fn_config_test dlls
/rsaenh
/tests rsaenh_test
17500 wine_fn_config_dll rstrtmgr enable_rstrtmgr
17501 wine_fn_config_dll rtutils enable_rtutils implib
17502 wine_fn_config_dll samlib enable_samlib
17503 wine_fn_config_dll sane.ds enable_sane_ds po
17504 wine_fn_config_dll scarddlg enable_scarddlg
17505 wine_fn_config_dll sccbase enable_sccbase
17506 wine_fn_config_dll schannel enable_schannel
17507 wine_fn_config_test dlls
/schannel
/tests schannel_test
17508 wine_fn_config_dll schedsvc enable_schedsvc clean
17509 wine_fn_config_test dlls
/schedsvc
/tests schedsvc_test clean
17510 wine_fn_config_dll scrrun enable_scrrun clean
17511 wine_fn_config_test dlls
/scrrun
/tests scrrun_test clean
17512 wine_fn_config_dll scsiport.sys enable_scsiport_sys
17513 wine_fn_config_dll secur32 enable_secur32 implib
17514 wine_fn_config_test dlls
/secur32
/tests secur32_test
17515 wine_fn_config_dll security enable_security
17516 wine_fn_config_dll sensapi enable_sensapi implib
17517 wine_fn_config_dll serialui enable_serialui implib
,po
17518 wine_fn_config_test dlls
/serialui
/tests serialui_test
17519 wine_fn_config_dll setupapi enable_setupapi implib
,po
17520 wine_fn_config_test dlls
/setupapi
/tests setupapi_test
17521 wine_fn_config_dll setupx.dll16 enable_win16
17522 wine_fn_config_dll sfc enable_sfc implib
17523 wine_fn_config_dll sfc_os enable_sfc_os implib
17524 wine_fn_config_dll shdoclc enable_shdoclc po
17525 wine_fn_config_dll shdocvw enable_shdocvw clean
,implib
17526 wine_fn_config_test dlls
/shdocvw
/tests shdocvw_test
17527 wine_fn_config_dll shell.dll16 enable_win16
17528 wine_fn_config_dll shell32 enable_shell32 clean
,implib
,po
17529 wine_fn_config_test dlls
/shell32
/tests shell32_test
17530 wine_fn_config_dll shfolder enable_shfolder implib
17531 wine_fn_config_dll shlwapi enable_shlwapi implib
,po
17532 wine_fn_config_test dlls
/shlwapi
/tests shlwapi_test
17533 wine_fn_config_dll slbcsp enable_slbcsp
17534 wine_fn_config_dll slc enable_slc implib
17535 wine_fn_config_test dlls
/slc
/tests slc_test
17536 wine_fn_config_dll snmpapi enable_snmpapi implib
17537 wine_fn_config_test dlls
/snmpapi
/tests snmpapi_test
17538 wine_fn_config_dll softpub enable_softpub
17539 wine_fn_config_dll sound.drv16 enable_win16
17540 wine_fn_config_dll spoolss enable_spoolss implib
17541 wine_fn_config_test dlls
/spoolss
/tests spoolss_test
17542 wine_fn_config_dll stdole2.tlb enable_stdole2_tlb clean
17543 wine_fn_config_dll stdole32.tlb enable_stdole32_tlb clean
17544 wine_fn_config_dll sti enable_sti clean
,implib
17545 wine_fn_config_test dlls
/sti
/tests sti_test
17546 wine_fn_config_dll storage.dll16 enable_win16
17547 wine_fn_config_dll stress.dll16 enable_win16
17548 wine_fn_config_lib strmbase
17549 wine_fn_config_lib strmiids
17550 wine_fn_config_dll svrapi enable_svrapi
17551 wine_fn_config_dll sxs enable_sxs implib
17552 wine_fn_config_test dlls
/sxs
/tests sxs_test
17553 wine_fn_config_dll system.drv16 enable_win16
17554 wine_fn_config_dll t2embed enable_t2embed
17555 wine_fn_config_dll tapi32 enable_tapi32 implib
17556 wine_fn_config_dll taskschd enable_taskschd clean
17557 wine_fn_config_test dlls
/taskschd
/tests taskschd_test
17558 wine_fn_config_dll toolhelp.dll16 enable_win16
17559 wine_fn_config_dll traffic enable_traffic
17560 wine_fn_config_dll twain.dll16 enable_win16
17561 wine_fn_config_dll twain_32 enable_twain_32
17562 wine_fn_config_test dlls
/twain_32
/tests twain_32_test
17563 wine_fn_config_dll typelib.dll16 enable_win16
17564 wine_fn_config_dll unicows enable_unicows implib
17565 wine_fn_config_dll updspapi enable_updspapi
17566 wine_fn_config_dll url enable_url implib
17567 wine_fn_config_dll urlmon enable_urlmon clean
,implib
,po
17568 wine_fn_config_test dlls
/urlmon
/tests urlmon_test
17569 wine_fn_config_dll usbd.sys enable_usbd_sys implib
17570 wine_fn_config_dll user.exe16 enable_win16
17571 wine_fn_config_dll user32 enable_user32 clean
,implib
,po
17572 wine_fn_config_test dlls
/user32
/tests user32_test
17573 wine_fn_config_dll userenv enable_userenv implib
17574 wine_fn_config_test dlls
/userenv
/tests userenv_test
17575 wine_fn_config_dll usp10 enable_usp10 implib
17576 wine_fn_config_test dlls
/usp10
/tests usp10_test
17577 wine_fn_config_lib uuid
17578 wine_fn_config_dll uxtheme enable_uxtheme implib
17579 wine_fn_config_test dlls
/uxtheme
/tests uxtheme_test
17580 wine_fn_config_dll vbscript enable_vbscript clean
17581 wine_fn_config_test dlls
/vbscript
/tests vbscript_test clean
17582 wine_fn_config_dll vcomp enable_vcomp
17583 wine_fn_config_dll vcomp100 enable_vcomp100
17584 wine_fn_config_dll vcomp90 enable_vcomp90
17585 wine_fn_config_dll vdhcp.vxd enable_win16
17586 wine_fn_config_dll vdmdbg enable_vdmdbg implib
17587 wine_fn_config_dll ver.dll16 enable_win16
17588 wine_fn_config_dll version enable_version implib
17589 wine_fn_config_test dlls
/version
/tests version_test
17590 wine_fn_config_dll vmm.vxd enable_win16
17591 wine_fn_config_dll vnbt.vxd enable_win16
17592 wine_fn_config_dll vnetbios.vxd enable_win16
17593 wine_fn_config_dll vssapi enable_vssapi
17594 wine_fn_config_dll vtdapi.vxd enable_win16
17595 wine_fn_config_dll vwin32.vxd enable_win16
17596 wine_fn_config_dll w32skrnl enable_win16
17597 wine_fn_config_dll w32sys.dll16 enable_win16
17598 wine_fn_config_dll wbemdisp enable_wbemdisp clean
17599 wine_fn_config_test dlls
/wbemdisp
/tests wbemdisp_test
17600 wine_fn_config_dll wbemprox enable_wbemprox clean
17601 wine_fn_config_test dlls
/wbemprox
/tests wbemprox_test
17602 wine_fn_config_dll webservices enable_webservices implib
17603 wine_fn_config_dll wer enable_wer implib
17604 wine_fn_config_test dlls
/wer
/tests wer_test
17605 wine_fn_config_dll wevtapi enable_wevtapi
17606 wine_fn_config_dll wiaservc enable_wiaservc clean
17607 wine_fn_config_dll win32s16.dll16 enable_win16
17608 wine_fn_config_dll win87em.dll16 enable_win16
17609 wine_fn_config_dll winaspi.dll16 enable_win16
17610 wine_fn_config_dll windebug.dll16 enable_win16
17611 wine_fn_config_dll windowscodecs enable_windowscodecs clean
,implib
17612 wine_fn_config_test dlls
/windowscodecs
/tests windowscodecs_test
17613 wine_fn_config_dll windowscodecsext enable_windowscodecsext implib
17614 wine_fn_config_test dlls
/windowscodecsext
/tests windowscodecsext_test
17615 wine_fn_config_dll winealsa.drv enable_winealsa_drv
17616 wine_fn_config_dll winecoreaudio.drv enable_winecoreaudio_drv
17617 wine_fn_config_lib winecrt0
17618 wine_fn_config_dll wined3d enable_wined3d implib
17619 wine_fn_config_dll winegstreamer enable_winegstreamer
17620 wine_fn_config_dll winejoystick.drv enable_winejoystick_drv
17621 wine_fn_config_dll winemac.drv enable_winemac_drv
17622 wine_fn_config_dll winemapi enable_winemapi
17623 wine_fn_config_dll winemp3.acm enable_winemp3_acm
17624 wine_fn_config_dll wineoss.drv enable_wineoss_drv
17625 wine_fn_config_dll wineps.drv enable_wineps_drv clean
,po
17626 wine_fn_config_dll wineps16.drv16 enable_win16
17627 wine_fn_config_dll wineqtdecoder enable_wineqtdecoder
17628 wine_fn_config_dll winex11.drv enable_winex11_drv
17629 wine_fn_config_dll wing.dll16 enable_win16
17630 wine_fn_config_dll wing32 enable_wing32
17631 wine_fn_config_dll winhttp enable_winhttp clean
,implib
17632 wine_fn_config_test dlls
/winhttp
/tests winhttp_test
17633 wine_fn_config_dll wininet enable_wininet implib
,po
17634 wine_fn_config_test dlls
/wininet
/tests wininet_test
17635 wine_fn_config_dll winmm enable_winmm implib
,po
17636 wine_fn_config_test dlls
/winmm
/tests winmm_test
17637 wine_fn_config_dll winnls.dll16 enable_win16
17638 wine_fn_config_dll winnls32 enable_winnls32 implib
17639 wine_fn_config_dll winscard enable_winscard implib
17640 wine_fn_config_dll winsock.dll16 enable_win16
17641 wine_fn_config_dll winspool.drv enable_winspool_drv implib
,po winspool
17642 wine_fn_config_test dlls
/winspool.drv
/tests winspool.drv_test
17643 wine_fn_config_dll winsta enable_winsta
17644 wine_fn_config_dll wintab.dll16 enable_win16
17645 wine_fn_config_dll wintab32 enable_wintab32 implib
17646 wine_fn_config_test dlls
/wintab32
/tests wintab32_test
17647 wine_fn_config_dll wintrust enable_wintrust implib
17648 wine_fn_config_test dlls
/wintrust
/tests wintrust_test
17649 wine_fn_config_dll wlanapi enable_wlanapi
17650 wine_fn_config_dll wldap32 enable_wldap32 implib
,po
17651 wine_fn_config_test dlls
/wldap32
/tests wldap32_test
17652 wine_fn_config_dll wmi enable_wmi
17653 wine_fn_config_dll wmiutils enable_wmiutils clean
17654 wine_fn_config_test dlls
/wmiutils
/tests wmiutils_test
17655 wine_fn_config_dll wmp enable_wmp clean
17656 wine_fn_config_test dlls
/wmp
/tests wmp_test
17657 wine_fn_config_dll wmvcore enable_wmvcore
17658 wine_fn_config_dll wnaspi32 enable_wnaspi32 implib
17659 wine_fn_config_dll wow32 enable_win16 implib
17660 wine_fn_config_dll wpcap enable_wpcap
17661 wine_fn_config_dll ws2_32 enable_ws2_32 implib
17662 wine_fn_config_test dlls
/ws2_32
/tests ws2_32_test
17663 wine_fn_config_dll wshom.ocx enable_wshom_ocx clean
17664 wine_fn_config_test dlls
/wshom.ocx
/tests wshom.ocx_test clean
17665 wine_fn_config_dll wsnmp32 enable_wsnmp32 implib
17666 wine_fn_config_test dlls
/wsnmp32
/tests wsnmp32_test
17667 wine_fn_config_dll wsock32 enable_wsock32 implib
17668 wine_fn_config_dll wtsapi32 enable_wtsapi32 implib
17669 wine_fn_config_test dlls
/wtsapi32
/tests wtsapi32_test
17670 wine_fn_config_dll wuapi enable_wuapi clean
17671 wine_fn_config_dll wuaueng enable_wuaueng
17672 wine_fn_config_dll x3daudio1_7 enable_x3daudio1_7
17673 wine_fn_config_dll xapofx1_1 enable_xapofx1_1
17674 wine_fn_config_dll xaudio2_7 enable_xaudio2_7
17675 wine_fn_config_dll xinput1_1 enable_xinput1_1
17676 wine_fn_config_dll xinput1_2 enable_xinput1_2
17677 wine_fn_config_dll xinput1_3 enable_xinput1_3 implib xinput
17678 wine_fn_config_test dlls
/xinput1_
3/tests xinput1_3_test
17679 wine_fn_config_dll xinput1_4 enable_xinput1_4
17680 wine_fn_config_dll xinput9_1_0 enable_xinput9_1_0
17681 wine_fn_config_dll xmllite enable_xmllite implib
17682 wine_fn_config_test dlls
/xmllite
/tests xmllite_test
17683 wine_fn_config_dll xolehlp enable_xolehlp
17684 wine_fn_config_dll xpsprint enable_xpsprint
17685 wine_fn_config_dll xpssvcs enable_xpssvcs
17686 wine_fn_config_makefile documentation enable_documentation clean
17687 wine_fn_config_makefile fonts enable_fonts clean
,install-lib
17688 wine_fn_config_makefile include enable_include clean
,install-dev
17689 wine_fn_config_makefile libs
/port enable_libs_port
17690 wine_fn_config_makefile libs
/wine enable_libs_wine clean
,install-dev
,install-lib
17691 wine_fn_config_makefile libs
/wpp enable_libs_wpp
17692 wine_fn_config_makefile loader enable_loader clean
,install-lib
,manpage
17693 wine_fn_config_program arp enable_arp
install
17694 wine_fn_config_program aspnet_regiis enable_aspnet_regiis
install
17695 wine_fn_config_program attrib enable_attrib
install,po
17696 wine_fn_config_program cabarc enable_cabarc
install
17697 wine_fn_config_program cacls enable_cacls
install
17698 wine_fn_config_program
clock enable_clock
install,po
17699 wine_fn_config_program cmd enable_cmd
install,po
17700 wine_fn_config_test programs
/cmd
/tests cmd.exe_test
17701 wine_fn_config_program conhost enable_conhost
install
17702 wine_fn_config_program control enable_control
install
17703 wine_fn_config_program cscript enable_cscript clean
,install
17704 wine_fn_config_program dpnsvr enable_dpnsvr
install
17705 wine_fn_config_program dxdiag enable_dxdiag
install,po
17706 wine_fn_config_program eject enable_eject
install
17707 wine_fn_config_program
expand enable_expand
install
17708 wine_fn_config_program explorer enable_explorer
install,po
17709 wine_fn_config_program extrac32 enable_extrac32
install
17710 wine_fn_config_program findstr enable_findstr
install
17711 wine_fn_config_program hh enable_hh
install
17712 wine_fn_config_program hostname enable_hostname
install,po
17713 wine_fn_config_program icinfo enable_icinfo
install
17714 wine_fn_config_program iexplore enable_iexplore
install
17715 wine_fn_config_program ipconfig enable_ipconfig
install,po
17716 wine_fn_config_program lodctr enable_lodctr
install
17717 wine_fn_config_program mofcomp enable_mofcomp
install
17718 wine_fn_config_program mshta enable_mshta
install
17719 wine_fn_config_program msiexec enable_msiexec
install,installbin
,manpage
17720 wine_fn_config_program net enable_net
install,po
17721 wine_fn_config_program netsh enable_netsh
install
17722 wine_fn_config_program netstat enable_netstat
install,po
17723 wine_fn_config_program ngen enable_ngen
install
17724 wine_fn_config_program notepad enable_notepad
install,installbin
,manpage
,po
17725 wine_fn_config_program oleview enable_oleview
install,po
17726 wine_fn_config_program
ping enable_ping
install
17727 wine_fn_config_program plugplay enable_plugplay
install
17728 wine_fn_config_program presentationfontcache enable_presentationfontcache
install
17729 wine_fn_config_program progman enable_progman
install,po
17730 wine_fn_config_program reg enable_reg
install,po
17731 wine_fn_config_test programs
/reg
/tests reg.exe_test
17732 wine_fn_config_program regasm enable_regasm
install
17733 wine_fn_config_program regedit enable_regedit
install,installbin
,manpage
,po
17734 wine_fn_config_test programs
/regedit
/tests regedit.exe_test
17735 wine_fn_config_program regsvcs enable_regsvcs
install
17736 wine_fn_config_program regsvr32 enable_regsvr32
install,installbin
,manpage
,po
17737 wine_fn_config_program rpcss enable_rpcss clean
,install
17738 wine_fn_config_program rundll.exe16 enable_win16
install
17739 wine_fn_config_program rundll32 enable_rundll32
install
17740 wine_fn_config_program sc enable_sc
install
17741 wine_fn_config_program schtasks enable_schtasks
install
17742 wine_fn_config_program sdbinst enable_sdbinst
install
17743 wine_fn_config_program secedit enable_secedit
install
17744 wine_fn_config_program servicemodelreg enable_servicemodelreg
install
17745 wine_fn_config_program services enable_services clean
,install
17746 wine_fn_config_test programs
/services
/tests services.exe_test
17747 wine_fn_config_program spoolsv enable_spoolsv
install
17748 wine_fn_config_program start enable_start
install,po
17749 wine_fn_config_program svchost enable_svchost
install
17750 wine_fn_config_program systeminfo enable_systeminfo
install
17751 wine_fn_config_program taskkill enable_taskkill
install,po
17752 wine_fn_config_program tasklist enable_tasklist
install
17753 wine_fn_config_program taskmgr enable_taskmgr
install,po
17754 wine_fn_config_program termsv enable_termsv
install
17755 wine_fn_config_program uninstaller enable_uninstaller
install,po
17756 wine_fn_config_program unlodctr enable_unlodctr
install
17757 wine_fn_config_program view enable_view
install,po
17758 wine_fn_config_program wevtutil enable_wevtutil
install
17759 wine_fn_config_program wineboot enable_wineboot
install,installbin
,manpage
,po
17760 wine_fn_config_program winebrowser enable_winebrowser
install
17761 wine_fn_config_program winecfg enable_winecfg
install,installbin
,manpage
,po
17762 wine_fn_config_program wineconsole enable_wineconsole
install,installbin
,manpage
,po
17763 wine_fn_config_program winedbg enable_winedbg
install,installbin
,manpage
,po
17764 wine_fn_config_program winedevice enable_winedevice
install
17765 wine_fn_config_program winefile enable_winefile
install,installbin
,manpage
,po
17766 wine_fn_config_program winemenubuilder enable_winemenubuilder
install
17767 wine_fn_config_program winemine enable_winemine
install,installbin
,manpage
,po
17768 wine_fn_config_program winemsibuilder enable_winemsibuilder
install
17769 wine_fn_config_program winepath enable_winepath
install,installbin
,manpage
17770 wine_fn_config_program winetest enable_winetest clean
17771 wine_fn_config_program winevdm enable_win16
install
17772 wine_fn_config_program winhelp.exe16 enable_win16
install
17773 wine_fn_config_program winhlp32 enable_winhlp32
install,po
17774 wine_fn_config_program winoldap.mod16 enable_win16
install
17775 wine_fn_config_program winver enable_winver
install
17776 wine_fn_config_program wmic enable_wmic
install,po
17777 wine_fn_config_program wordpad enable_wordpad
install,po
17778 wine_fn_config_program
write enable_write
install,po
17779 wine_fn_config_program wscript enable_wscript clean
,install
17780 wine_fn_config_test programs
/wscript
/tests wscript.exe_test
17781 wine_fn_config_program wusa enable_wusa
install
17782 wine_fn_config_program xcopy enable_xcopy
install,po
17783 wine_fn_config_test programs
/xcopy
/tests xcopy.exe_test
17784 wine_fn_config_makefile server enable_server clean
,install-lib
,manpage
17785 wine_fn_config_tool tools clean
,install-dev
,install-lib
,manpage
17786 wine_fn_config_tool tools
/sfnt2fon clean
17787 wine_fn_config_tool tools
/widl clean
,install-dev
,manpage
17788 wine_fn_config_tool tools
/winebuild clean
,install-dev
,manpage
17789 wine_fn_config_tool tools
/winedump clean
,install-dev
,manpage
17790 wine_fn_config_tool tools
/winegcc clean
,install-dev
,manpage
17791 wine_fn_config_tool tools
/wmc clean
,install-dev
,manpage
17792 wine_fn_config_tool tools
/wrc clean
,install-dev
,manpage
17844 wine_fn_ignore_file
".gitignore"
17845 wine_fn_ignore_file
"Makefile"
17846 wine_fn_ignore_file
"TAGS"
17847 wine_fn_ignore_file
"tags"
17848 wine_fn_ignore_file
"autom4te.cache"
17849 wine_fn_ignore_file
"config.cache"
17850 wine_fn_ignore_file
"config.log"
17851 wine_fn_ignore_file
"config.status"
17852 wine_fn_ignore_file
"configure.lineno"
17853 wine_fn_ignore_file
"include/config.h"
17854 wine_fn_ignore_file
"include/stamp-h"
17855 test "$wine_binary" = wine || wine_fn_ignore_file
"loader/wine"
17857 if test "x$enable_tools" != xno
17859 wine_fn_ignore_file
"tools/makedep$ac_exeext"
17860 ac_config_commands
="$ac_config_commands tools/makedep"
17864 ac_config_commands
="$ac_config_commands Makefile"
17867 ac_config_files
="$ac_config_files Make.tmp:Make.vars.in:Makefile.in"
17871 if test "x$enable_maintainer_mode" = xyes
17873 wine_fn_append_rule
"configure: configure.ac aclocal.m4
17874 autoconf --warnings=all
17875 include/config.h.in: include/stamp-h.in
17876 include/stamp-h.in: configure.ac aclocal.m4
17877 autoheader --warnings=all
17878 @echo timestamp > \$@"
17881 if test "x$with_gettextpo" = xyes
17883 test "$srcdir" = . || as_fn_error $?
"Rebuilding po files is not supported for out of tree builds." "$LINENO" 5
17884 wine_fn_append_rule
"ALL_POT_FILES =$ALL_POT_FILES
17885 \$(LINGUAS:%=po/%.po): po/wine.pot
17886 msgmerge --previous -q \$@ po/wine.pot | msgattrib --no-obsolete -o \$@.new && mv \$@.new \$@
17887 po/wine.pot: \$(ALL_POT_FILES)
17888 msgcat -o \$@ \$(ALL_POT_FILES)"
17891 if test "$MSGFMT" != false
17893 wine_fn_append_rule
"__builddeps__: \$(LINGUAS:%=po/%.mo)
17895 \$(RM) \$(LINGUAS:%=po/%.mo)"
17898 test "$srcdir" = . || posrc
="$srcdir/po"
17901 wine_fn_ignore_file
"po/$i.mo"
17902 wine_fn_append_rule
"po/$i.mo: $posrc/$i.po
17903 \$(MSGFMT) -o \$@ $posrc/$i.po"
17909 if test "x$enable_tools" != xno
17911 wine_fn_append_rule
"tools/makedep$ac_exeext: $srcdir/tools/makedep.c include/config.h config.status
17912 @./config.status tools/makedep
17913 Makefile: tools/makedep$ac_exeext
17915 \$(RM) tools/makedep$ac_exeext"
17917 wine_fn_append_rule
"\$(MAKEDEP):
17918 @echo \"You need to run make in $TOOLSDIR first\" && false"
17921 if test -n "$with_wine64"
17923 wine_fn_append_rule
"all: fonts server tools $with_wine64/loader/wine $with_wine64/loader/wine-preloader
17924 fonts server tools:
17925 \$(RM) \$@ && \$(LN_S) $with_wine64/\$@ \$@
17926 $with_wine64/loader/wine:
17927 \$(RM) \$@ && \$(LN_S) $ac_pwd/loader/wine \$@
17928 $with_wine64/loader/wine-preloader:
17929 \$(RM) \$@ && \$(LN_S) $ac_pwd/loader/wine-preloader \$@
17931 \$(RM) fonts server tools $with_wine64/loader/wine $with_wine64/loader/wine-preloader"
17933 as_fn_append LOADER_RULES
"
17934 install install-lib:: wine.inf install-man-pages
17935 \$(INSTALL_DATA) wine.inf \$(DESTDIR)\$(datadir)/wine/wine.inf
17936 \$(INSTALL_DATA) \$(srcdir)/l_intl.nls \$(DESTDIR)\$(datadir)/wine/l_intl.nls
17939 \$(RM) \$(DESTDIR)\$(datadir)/wine/wine.inf \$(DESTDIR)\$(datadir)/wine/l_intl.nls
17943 if test "$srcdir" = .
17945 ac_config_commands
="$ac_config_commands .gitignore"
17949 $as_echo " done" >&6
17950 cat >confcache
<<\_ACEOF
17951 # This file is a shell script that caches the results of configure
17952 # tests run on this system so they can be shared between configure
17953 # scripts and configure runs, see configure's option --config-cache.
17954 # It is not useful on other systems. If it contains results you don't
17955 # want to keep, you may remove or edit it.
17957 # config.status only pays attention to the cache file if you give it
17958 # the --recheck option to rerun configure.
17960 # `ac_cv_env_foo' variables (set or unset) will be overridden when
17961 # loading this file, other *unset* `ac_cv_foo' will be assigned the
17962 # following values.
17966 # The following way of writing the cache mishandles newlines in values,
17967 # but we know of no workaround that is simple, portable, and efficient.
17968 # So, we kill variables containing newlines.
17969 # Ultrix sh set writes to stderr and can't be redirected directly,
17970 # and sets the high bit in the cache file unless we assign to the vars.
17972 for ac_var
in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
17973 eval ac_val
=\$
$ac_var
17977 *_cv_
*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
17978 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
17981 _ | IFS | as_nl
) ;; #(
17982 BASH_ARGV | BASH_SOURCE
) eval $ac_var= ;; #(
17983 *) { eval $ac_var=; unset $ac_var;} ;;
17989 case $as_nl`(ac_space=' '; set) 2>&1` in #(
17990 *${as_nl}ac_space
=\
*)
17991 # `set' does not quote correctly, so add quotes: double-quote
17992 # substitution turns \\\\ into \\, and sed turns \\ into \.
17995 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
17998 # `set' quotes correctly as required by POSIX, so do not add quotes.
17999 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
18008 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
18010 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
18012 if diff "$cache_file" confcache
>/dev
/null
2>&1; then :; else
18013 if test -w "$cache_file"; then
18014 if test "x$cache_file" != "x/dev/null"; then
18015 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
18016 $as_echo "$as_me: updating cache $cache_file" >&6;}
18017 if test ! -f "$cache_file" ||
test -h "$cache_file"; then
18018 cat confcache
>"$cache_file"
18020 case $cache_file in #(
18022 mv -f confcache
"$cache_file"$$
&&
18023 mv -f "$cache_file"$$
"$cache_file" ;; #(
18025 mv -f confcache
"$cache_file" ;;
18030 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
18031 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
18036 test "x$prefix" = xNONE
&& prefix
=$ac_default_prefix
18037 # Let make expand exec_prefix.
18038 test "x$exec_prefix" = xNONE
&& exec_prefix
='${prefix}'
18040 DEFS
=-DHAVE_CONFIG_H
18045 for ac_i
in : $LIBOBJS; do test "x$ac_i" = x
: && continue
18046 # 1. Remove the extension, and $U if already installed.
18047 ac_script
='s/\$U\././;s/\.o$//;s/\.obj$//'
18048 ac_i
=`$as_echo "$ac_i" | sed "$ac_script"`
18049 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
18050 # will be set to the directory where LIBOBJS objects are built.
18051 as_fn_append ac_libobjs
" \${LIBOBJDIR}$ac_i\$U.$ac_objext"
18052 as_fn_append ac_ltlibobjs
" \${LIBOBJDIR}$ac_i"'$U.lo'
18054 LIBOBJS
=$ac_libobjs
18056 LTLIBOBJS
=$ac_ltlibobjs
18060 : "${CONFIG_STATUS=./config.status}"
18062 ac_clean_files_save
=$ac_clean_files
18063 ac_clean_files
="$ac_clean_files $CONFIG_STATUS"
18064 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
18065 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
18067 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
18069 # Generated by $as_me.
18070 # Run this file to recreate the current configuration.
18071 # Compiler output produced by configure, useful for debugging
18072 # configure, is in config.log if it exists.
18075 ac_cs_recheck=false
18078 SHELL=\${CONFIG_SHELL-$SHELL}
18081 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail
=1
18082 ## -------------------- ##
18083 ## M4sh Initialization. ##
18084 ## -------------------- ##
18086 # Be more Bourne compatible
18087 DUALCASE
=1; export DUALCASE
# for MKS sh
18088 if test -n "${ZSH_VERSION+set}" && (emulate sh
) >/dev
/null
2>&1; then :
18091 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
18092 # is contrary to our usage. Disable this feature.
18093 alias -g '${1+"$@"}'='"$@"'
18094 setopt NO_GLOB_SUBST
18096 case `(set -o) 2>/dev/null` in #(
18108 # Printing a long string crashes Solaris 7 /usr/bin/printf.
18109 as_echo
='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
18110 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
18111 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
18112 # Prefer a ksh shell builtin over an external printf program on Solaris,
18113 # but without wasting forks for bash or zsh.
18114 if test -z "$BASH_VERSION$ZSH_VERSION" \
18115 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
18116 as_echo='print
-r --'
18117 as_echo_n='print
-rn --'
18118 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
18119 as_echo='printf %s
\n'
18120 as_echo_n='printf %s
'
18122 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
18123 as_echo_body='eval /usr
/ucb
/echo -n "$1$as_nl"'
18124 as_echo_n='/usr
/ucb
/echo -n'
18126 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
18127 as_echo_n_body='eval
18131 expr "X$arg" : "X\\(.*\\)$as_nl";
18132 arg
=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
18134 expr "X$arg" : "X\\(.*\\)" |
tr -d "$as_nl"
18136 export as_echo_n_body
18137 as_echo_n='sh
-c $as_echo_n_body as_echo
'
18139 export as_echo_body
18140 as_echo='sh
-c $as_echo_body as_echo
'
18143 # The user is always right.
18144 if test "${PATH_SEPARATOR+set}" != set; then
18146 (PATH='/bin
;/bin
'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
18147 (PATH='/bin
:/bin
'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
18154 # We need space, tab and new line, in precisely that order. Quoting is
18155 # there to prevent editors from complaining about space-tab.
18156 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
18157 # splitting by setting IFS to empty value.)
18160 # Find who we are. Look in the path if we contain no directory separator.
18163 *[\\/]* ) as_myself=$0 ;;
18164 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
18165 for as_dir in $PATH
18168 test -z "$as_dir" && as_dir=.
18169 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
18175 # We did not find ourselves, most probably we were run as `sh COMMAND'
18176 # in which case we are not to be found in the path.
18177 if test "x$as_myself" = x
; then
18180 if test ! -f "$as_myself"; then
18181 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
18185 # Unset variables that we do not need and which cause bugs (e.g. in
18186 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
18187 # suppresses any "Segmentation fault" message there. '((' could
18188 # trigger a bug in pdksh 5.2.14.
18189 for as_var
in BASH_ENV ENV MAIL MAILPATH
18190 do eval test x\
${$as_var+set} = xset \
18191 && ( (unset $as_var) ||
exit 1) >/dev
/null
2>&1 && unset $as_var ||
:
18204 (unset CDPATH
) >/dev
/null
2>&1 && unset CDPATH
18207 # as_fn_error STATUS ERROR [LINENO LOG_FD]
18208 # ----------------------------------------
18209 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
18210 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
18211 # script with STATUS, using 1 if that was 0.
18214 as_status
=$1; test $as_status -eq 0 && as_status
=1
18216 as_lineno
=${as_lineno-"$3"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
18217 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
18219 $as_echo "$as_me: error: $2" >&2
18220 as_fn_exit
$as_status
18224 # as_fn_set_status STATUS
18225 # -----------------------
18226 # Set $? to STATUS, without forking.
18227 as_fn_set_status
()
18230 } # as_fn_set_status
18232 # as_fn_exit STATUS
18233 # -----------------
18234 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
18238 as_fn_set_status
$1
18244 # Portably unset VAR.
18247 { eval $1=; unset $1;}
18249 as_unset
=as_fn_unset
18250 # as_fn_append VAR VALUE
18251 # ----------------------
18252 # Append the text in VALUE to the end of the definition contained in VAR. Take
18253 # advantage of any shell optimizations that allow amortized linear growth over
18254 # repeated appends, instead of the typical quadratic growth present in naive
18256 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev
/null
; then :
18257 eval 'as_fn_append ()
18268 # as_fn_arith ARG...
18269 # ------------------
18270 # Perform arithmetic evaluation on the ARGs, and store the result in the
18271 # global $as_val. Take advantage of shells that can avoid forks. The arguments
18272 # must be portable across $(()) and expr.
18273 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev
/null
; then :
18274 eval 'as_fn_arith ()
18281 as_val
=`expr "$@" || test $? -eq 1`
18286 if expr a
: '\(a\)' >/dev
/null
2>&1 &&
18287 test "X`expr 00001 : '.*\(...\)'`" = X001
; then
18293 if (basename -- /) >/dev
/null
2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
18294 as_basename
=basename
18299 if (as_dir
=`dirname -- /` && test "X$as_dir" = X
/) >/dev
/null
2>&1; then
18305 as_me
=`$as_basename -- "$0" ||
18306 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
18307 X"$0" : 'X\(//\)$' \| \
18308 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
18310 sed '/^.*\/\([^/][^/]*\)\/*$/{
18324 # Avoid depending upon Character Ranges.
18325 as_cr_letters
='abcdefghijklmnopqrstuvwxyz'
18326 as_cr_LETTERS
='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
18327 as_cr_Letters
=$as_cr_letters$as_cr_LETTERS
18328 as_cr_digits
='0123456789'
18329 as_cr_alnum
=$as_cr_Letters$as_cr_digits
18331 ECHO_C
= ECHO_N
= ECHO_T
=
18332 case `echo -n x` in #(((((
18334 case `echo 'xy\c'` in
18335 *c
*) ECHO_T
=' ';; # ECHO_T is single tab character.
18337 *) echo `echo ksh88 bug on AIX 6.1` > /dev
/null
18344 rm -f conf$$ conf$$.exe conf$$.
file
18345 if test -d conf$$.dir
; then
18346 rm -f conf$$.dir
/conf$$.
file
18349 mkdir conf$$.dir
2>/dev
/null
18351 if (echo >conf$$.
file) 2>/dev
/null
; then
18352 if ln -s conf$$.
file conf$$
2>/dev
/null
; then
18354 # ... but there are two gotchas:
18355 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
18356 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
18357 # In both cases, we have to default to `cp -pR'.
18358 ln -s conf$$.
file conf$$.dir
2>/dev
/null
&& test ! -f conf$$.exe ||
18360 elif ln conf$$.
file conf$$
2>/dev
/null
; then
18368 rm -f conf$$ conf$$.exe conf$$.dir
/conf$$.
file conf$$.
file
18369 rmdir conf$$.dir
2>/dev
/null
18374 # Create "$as_dir" as a directory, including parents if necessary.
18379 -*) as_dir
=.
/$as_dir;;
18381 test -d "$as_dir" ||
eval $as_mkdir_p ||
{
18385 *\'*) as_qdir
=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
18386 *) as_qdir
=$as_dir;;
18388 as_dirs
="'$as_qdir' $as_dirs"
18389 as_dir
=`$as_dirname -- "$as_dir" ||
18390 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
18391 X"$as_dir" : 'X\(//\)[^/]' \| \
18392 X"$as_dir" : 'X\(//\)$' \| \
18393 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
18394 $as_echo X"$as_dir" |
18395 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
18399 /^X\(\/\/\)[^/].*/{
18412 test -d "$as_dir" && break
18414 test -z "$as_dirs" ||
eval "mkdir $as_dirs"
18415 } ||
test -d "$as_dir" || as_fn_error $?
"cannot create directory $as_dir"
18419 if mkdir
-p .
2>/dev
/null
; then
18420 as_mkdir_p
='mkdir -p "$as_dir"'
18422 test -d .
/-p && rmdir .
/-p
18427 # as_fn_executable_p FILE
18428 # -----------------------
18429 # Test if FILE is an executable regular file.
18430 as_fn_executable_p
()
18432 test -f "$1" && test -x "$1"
18433 } # as_fn_executable_p
18434 as_test_x
='test -x'
18435 as_executable_p
=as_fn_executable_p
18437 # Sed expression to map a string onto a valid CPP name.
18438 as_tr_cpp
="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
18440 # Sed expression to map a string onto a valid variable name.
18441 as_tr_sh
="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
18445 ## ----------------------------------- ##
18446 ## Main body of $CONFIG_STATUS script. ##
18447 ## ----------------------------------- ##
18449 test $as_write_fail = 0 && chmod +x
$CONFIG_STATUS || ac_write_fail
=1
18451 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
18452 # Save the log message, to keep $0 and so on meaningful, and to
18453 # report actual input values of CONFIG_FILES etc. instead of their
18454 # values after options handling.
18456 This file was extended by Wine $as_me 1.7.36, which was
18457 generated by GNU Autoconf 2.69. Invocation command line was
18459 CONFIG_FILES = $CONFIG_FILES
18460 CONFIG_HEADERS = $CONFIG_HEADERS
18461 CONFIG_LINKS = $CONFIG_LINKS
18462 CONFIG_COMMANDS = $CONFIG_COMMANDS
18465 on `(hostname || uname -n) 2>/dev/null | sed 1q`
18470 case $ac_config_files in *"
18471 "*) set x
$ac_config_files; shift; ac_config_files
=$
*;;
18474 case $ac_config_headers in *"
18475 "*) set x
$ac_config_headers; shift; ac_config_headers
=$
*;;
18479 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
18480 # Files that config.status was made for.
18481 config_files="$ac_config_files"
18482 config_headers="$ac_config_headers"
18483 config_links="$ac_config_links"
18484 config_commands="$ac_config_commands"
18488 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
18490 \`$as_me' instantiates files and other configuration actions
18491 from templates according to the current configuration. Unless the files
18492 and actions are specified as TAGs, all are instantiated by default.
18494 Usage: $0 [OPTION]... [TAG]...
18496 -h, --help print this help, then exit
18497 -V, --version print version number and configuration settings, then exit
18498 --config print configuration, then exit
18499 -q, --quiet, --silent
18500 do not print progress messages
18501 -d, --debug don't remove temporary files
18502 --recheck update $as_me by reconfiguring in the same conditions
18503 --file=FILE[:TEMPLATE]
18504 instantiate the configuration file FILE
18505 --header=FILE[:TEMPLATE]
18506 instantiate the configuration header FILE
18508 Configuration files:
18511 Configuration headers:
18514 Configuration links:
18517 Configuration commands:
18520 Report bugs to <wine-devel@winehq.org>.
18521 Wine home page: <http://www.winehq.org>."
18524 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
18525 ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
18527 Wine config.status 1.7.36
18528 configured by $0, generated by GNU Autoconf 2.69,
18529 with options \\"\$ac_cs_config\\"
18531 Copyright (C) 2012 Free Software Foundation, Inc.
18532 This config.status script is free software; the Free Software Foundation
18533 gives unlimited permission to copy, distribute and modify it."
18537 test -n "\$AWK" || AWK=awk
18540 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
18541 # The default lists apply if the user does not specify any file.
18547 ac_option
=`expr "X$1" : 'X\([^=]*\)='`
18548 ac_optarg
=`expr "X$1" : 'X[^=]*=\(.*\)'`
18552 ac_option
=`expr "X$1" : 'X\([^=]*\)='`
18564 # Handling of the options.
18565 -recheck |
--recheck |
--rechec |
--reche |
--rech |
--rec |
--re |
--r)
18567 --version |
--versio |
--versi |
--vers |
--ver |
--ve |
--v |
-V )
18568 $as_echo "$ac_cs_version"; exit ;;
18569 --config |
--confi |
--conf |
--con |
--co |
--c )
18570 $as_echo "$ac_cs_config"; exit ;;
18571 --debug |
--debu |
--deb |
--de |
--d |
-d )
18573 --file |
--fil |
--fi |
--f )
18576 *\'*) ac_optarg
=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
18577 '') as_fn_error $?
"missing file argument" ;;
18579 as_fn_append CONFIG_FILES
" '$ac_optarg'"
18580 ac_need_defaults
=false
;;
18581 --header |
--heade |
--head |
--hea )
18584 *\'*) ac_optarg
=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
18586 as_fn_append CONFIG_HEADERS
" '$ac_optarg'"
18587 ac_need_defaults
=false
;;
18589 # Conflict between --help and --header
18590 as_fn_error $?
"ambiguous option: \`$1'
18591 Try \`$0 --help' for more information.";;
18592 --help |
--hel |
-h )
18593 $as_echo "$ac_cs_usage"; exit ;;
18594 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
18595 |
-silent |
--silent |
--silen |
--sile |
--sil |
--si |
--s)
18598 # This is an error.
18599 -*) as_fn_error $?
"unrecognized option: \`$1'
18600 Try \`$0 --help' for more information." ;;
18602 *) as_fn_append ac_config_targets
" $1"
18603 ac_need_defaults
=false
;;
18609 ac_configure_extra_args
=
18611 if $ac_cs_silent; then
18613 ac_configure_extra_args
="$ac_configure_extra_args --silent"
18617 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
18618 if \$ac_cs_recheck; then
18619 set X $SHELL '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
18621 \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
18622 CONFIG_SHELL='$SHELL'
18623 export CONFIG_SHELL
18628 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
18632 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
18633 ## Running $as_me. ##
18639 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
18643 wine_fn_output_makedep ()
18645 as_dir=tools; as_fn_mkdir_p
18646 $CC -Iinclude -I$srcdir/include -D__WINESRC__ $EXTRACFLAGS $CPPFLAGS $CFLAGS -o tools/makedep$ac_exeext $srcdir/tools/makedep.c $LDFLAGS
18648 wine_fn_output_makefile ()
18650 cat Make.tmp - <<\_WINE_EOF >\$tmp/makefile && mv -f \$tmp/makefile \$1 && rm -f Make.tmp && "$wine_makedep" . && return
18651 `cat $wine_rules_file`
18653 as_fn_error $? "could not create Makefile" "$LINENO" 5
18655 wine_fn_output_gitignore ()
18657 sort <<\_WINE_EOF >\$tmp/gitignore && mv -f \$tmp/gitignore \$1 && return
18660 as_fn_error $? "could not create .gitignore" "$LINENO" 5
18665 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
18667 # Handling of arguments.
18668 for ac_config_target
in $ac_config_targets
18670 case $ac_config_target in
18671 "include/config.h") CONFIG_HEADERS
="$CONFIG_HEADERS include/config.h" ;;
18672 "include/stamp-h") CONFIG_COMMANDS
="$CONFIG_COMMANDS include/stamp-h" ;;
18673 "fonts/marlett.ttf") CONFIG_LINKS
="$CONFIG_LINKS fonts/marlett.ttf:fonts/marlett.ttf" ;;
18674 "fonts/symbol.ttf") CONFIG_LINKS
="$CONFIG_LINKS fonts/symbol.ttf:fonts/symbol.ttf" ;;
18675 "fonts/tahoma.ttf") CONFIG_LINKS
="$CONFIG_LINKS fonts/tahoma.ttf:fonts/tahoma.ttf" ;;
18676 "fonts/tahomabd.ttf") CONFIG_LINKS
="$CONFIG_LINKS fonts/tahomabd.ttf:fonts/tahomabd.ttf" ;;
18677 "loader/l_intl.nls") CONFIG_LINKS
="$CONFIG_LINKS loader/l_intl.nls:loader/l_intl.nls" ;;
18678 "po/LINGUAS") CONFIG_LINKS
="$CONFIG_LINKS po/LINGUAS:po/LINGUAS" ;;
18679 "wine") CONFIG_LINKS
="$CONFIG_LINKS wine:tools/winewrapper" ;;
18680 "wine64") CONFIG_LINKS
="$CONFIG_LINKS wine64:tools/winewrapper" ;;
18681 "tools/makedep") CONFIG_COMMANDS
="$CONFIG_COMMANDS tools/makedep" ;;
18682 "Makefile") CONFIG_COMMANDS
="$CONFIG_COMMANDS Makefile" ;;
18683 "Make.tmp") CONFIG_FILES
="$CONFIG_FILES Make.tmp:Make.vars.in:Makefile.in" ;;
18684 ".gitignore") CONFIG_COMMANDS
="$CONFIG_COMMANDS .gitignore" ;;
18686 *) as_fn_error $?
"invalid argument: \`$ac_config_target'" "$LINENO" 5;;
18691 # If the user did not use the arguments to specify the items to instantiate,
18692 # then the envvar interface is used. Set only those that are not.
18693 # We use the long form for the default assignment because of an extremely
18694 # bizarre bug on SunOS 4.1.3.
18695 if $ac_need_defaults; then
18696 test "${CONFIG_FILES+set}" = set || CONFIG_FILES
=$config_files
18697 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS
=$config_headers
18698 test "${CONFIG_LINKS+set}" = set || CONFIG_LINKS
=$config_links
18699 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS
=$config_commands
18702 # Have a temporary directory for convenience. Make it in the build tree
18703 # simply because there is no reason against having it here, and in addition,
18704 # creating and moving files from /tmp can sometimes cause problems.
18705 # Hook for its removal unless debugging.
18706 # Note that there is a small window in which the directory will not be cleaned:
18707 # after its creation but before its name has been assigned to `$tmp'.
18711 trap 'exit_status=$?
18712 : "${ac_tmp:=$tmp}"
18713 { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
18715 trap 'as_fn_exit 1' 1 2 13 15
18717 # Create a (secure) tmp directory for tmp files.
18720 tmp
=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
18724 tmp
=.
/conf$$
-$RANDOM
18725 (umask 077 && mkdir
"$tmp")
18726 } || as_fn_error $?
"cannot create a temporary directory in ." "$LINENO" 5
18729 # Set up the scripts for CONFIG_FILES section.
18730 # No need to generate them if there are no CONFIG_FILES.
18731 # This happens for instance with `./config.status config.h'.
18732 if test -n "$CONFIG_FILES"; then
18735 ac_cr
=`echo X | tr X '\015'`
18736 # On cygwin, bash can eat \r inside `` if the user requested igncr.
18737 # But we know of no other shell where ac_cr would be empty at this
18738 # point, so we can use a bashism as a fallback.
18739 if test "x$ac_cr" = x
; then
18740 eval ac_cr
=\$
\'\\r
\'
18742 ac_cs_awk_cr
=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
18743 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
18746 ac_cs_awk_cr
=$ac_cr
18749 echo 'BEGIN {' >"$ac_tmp/subs1.awk" &&
18754 echo "cat >conf$$subs.awk <<_ACEOF" &&
18755 echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
18757 } >conf$$subs.sh ||
18758 as_fn_error $? "could not
make $CONFIG_STATUS" "$LINENO" 5
18759 ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
18761 for ac_last_try in false false false false false :; do
18762 . ./conf$$subs.sh ||
18763 as_fn_error $? "could not
make $CONFIG_STATUS" "$LINENO" 5
18765 ac_delim_n=`sed -n "s
/.
*$ac_delim\$
/X
/p
" conf$$subs.awk | grep -c X`
18766 if test $ac_delim_n = $ac_delim_num; then
18768 elif $ac_last_try; then
18769 as_fn_error $? "could not
make $CONFIG_STATUS" "$LINENO" 5
18771 ac_delim="$ac_delim!$ac_delim _
$ac_delim!! "
18774 rm -f conf$$subs.sh
18776 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
18777 cat >>"\
$ac_tmp/subs1.
awk" <<\\_ACAWK &&
18781 s/^/S["/; s
/!.
*/"]=/
18791 s/\(.\{148\}\)..*/\1/
18793 s/["\\]/\\&/g
; s
/^
/"/; s/$/\\n"\\/
18798 s
/["\\]/\\&/g; s/^/"/; s
/$
/"\\/
18805 s/\(.\{148\}\)..*/\1/
18807 s/["\\]/\\&/g
; s
/^
/"/; s/$/"/
18811 s
/["\\]/\\&/g; s/^/"/; s
/$
/"\\/
18816 ' <conf$$subs.awk | sed '
18821 ' >>$CONFIG_STATUS || ac_write_fail=1
18822 rm -f conf$$subs.awk
18823 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
18825 cat >>"\
$ac_tmp/subs1.
awk" <<_ACAWK &&
18826 for (key in S) S_is_set[key] = 1
18832 nfields = split(line, field, "@
")
18834 len = length(field[1])
18835 for (i = 2; i < nfields; i++) {
18837 keylen = length(key)
18838 if (S_is_set[key]) {
18840 line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
18841 len += length(value) + length(field[++i])
18852 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
18853 if sed "s
/$ac_cr//" < /dev/null > /dev/null 2>&1; then
18854 sed "s
/$ac_cr\$
//; s
/$ac_cr/$ac_cs_awk_cr/g
"
18857 fi < "$ac_tmp/subs1.
awk" > "$ac_tmp/subs.
awk" \
18858 || as_fn_error $? "could not setup config files machinery
" "$LINENO" 5
18861 # VPATH may cause trouble with some makes, so we remove sole $(srcdir),
18862 # ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".
", strip leading and
18863 # trailing colons and then remove the whole line if VPATH becomes empty
18864 # (actually we leave an empty line to preserve line numbers).
18865 if test "x
$srcdir" = x.; then
18866 ac_vpsub='/^[ ]*VPATH[ ]*=[ ]*/{
18884 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
18885 fi # test -n "$CONFIG_FILES"
18887 # Set up the scripts for CONFIG_HEADERS section.
18888 # No need to generate them if there are no CONFIG_HEADERS.
18889 # This happens for instance with `./config.status Makefile'.
18890 if test -n "$CONFIG_HEADERS"; then
18891 cat >"$ac_tmp/defines.
awk" <<\_ACAWK ||
18895 # Transform confdefs.h into an awk script `defines.awk', embedded as
18896 # here-document in config.status, that substitutes the proper values into
18897 # config.h.in to produce config.h.
18899 # Create a delimiter string that does not exist in confdefs.h, to ease
18900 # handling of long lines.
18902 for ac_last_try in false false :; do
18903 ac_tt=`sed -n "/$ac_delim/p
" confdefs.h`
18904 if test -z "$ac_tt"; then
18906 elif $ac_last_try; then
18907 as_fn_error $? "could not
make $CONFIG_HEADERS" "$LINENO" 5
18909 ac_delim="$ac_delim!$ac_delim _
$ac_delim!! "
18913 # For the awk script, D is an array of macro values keyed by name,
18914 # likewise P contains macro parameters if any. Preserve backslash
18915 # newline sequences.
18917 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
18919 s/.\{148\}/&'"$ac_delim"'/g
18922 s/^[ ]*#[ ]*define[ ][ ]*/ /
18929 s
/^ \
('"$ac_word_re"'\
)\
(([^
()]*)\
)[ ]*\
(.
*\
)/P
["\1"]="\2"\
18931 s
/^ \
('"$ac_word_re"'\
)[ ]*\
(.
*\
)/D
["\1"]=" \2"/p
18935 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\
1"]="\
2"\
18936 D["\
1"]=" \
3\\\\\\n
"\\/p
18938 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\
1"]=" \
2\\\\\\n
"\\/p
18943 s/.\{148\}/&'"$ac_delim"'/g
18948 s/["\\]/\\&/g
; s
/^
/"/; s/$/"/p
18951 s
/["\\]/\\&/g; s/^/"/; s
/$
/\\\\\\n
"\\/p
18953 ' <confdefs.h | sed '
18954 s/'"$ac_delim"'/"\\\
18955 "/g' >>$CONFIG_STATUS || ac_write_fail=1
18957 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
18958 for (key in D) D_is_set[key] = 1
18961 /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
18963 split(line, arg, " ")
18964 if (arg[1] == "#") {
18968 defundef
= substr
(arg
[1], 2)
18971 split(mac1
, mac2
, "(") #)
18973 prefix
= substr
(line
, 1, index
(line
, defundef
) - 1)
18974 if (D_is_set
[macro
]) {
18975 # Preserve the white space surrounding the "#".
18976 print prefix
"define", macro P
[macro
] D
[macro
]
18979 # Replace #undef with comments. This is necessary, for example,
18980 # in the case of _POSIX_SOURCE, which is predefined and required
18981 # on some systems where configure will not decide to define it.
18982 if (defundef
== "undef") {
18983 print
"/*", prefix defundef
, macro
, "*/"
18991 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
18992 as_fn_error $?
"could not setup config headers machinery" "$LINENO" 5
18993 fi # test -n "$CONFIG_HEADERS"
18996 eval set X
" :F $CONFIG_FILES :H $CONFIG_HEADERS :L $CONFIG_LINKS :C $CONFIG_COMMANDS"
19001 :[FHLC
]) ac_mode
=$ac_tag; continue;;
19003 case $ac_mode$ac_tag in
19005 :L
* |
:C
*:*) as_fn_error $?
"invalid tag \`$ac_tag'" "$LINENO" 5;;
19006 :[FH
]-) ac_tag
=-:-;;
19007 :[FH
]*) ac_tag
=$ac_tag:$ac_tag.
in;;
19024 -) ac_f
="$ac_tmp/stdin";;
19025 *) # Look for the file first in the build tree, then in the source tree
19026 # (if the path is not absolute). The absolute path cannot be DOS-style,
19027 # because $ac_f cannot contain `:'.
19031 *) test -f "$srcdir/$ac_f" && ac_f
="$srcdir/$ac_f";;
19033 as_fn_error
1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
19035 case $ac_f in *\'*) ac_f
=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
19036 as_fn_append ac_file_inputs
" '$ac_f'"
19039 # Let's still pretend it is `configure' which instantiates (i.e., don't
19040 # use $as_me), people would be surprised to read:
19041 # /* config.h. Generated by config.status. */
19042 configure_input
='Generated from '`
19043 $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
19045 if test x
"$ac_file" != x-
; then
19046 configure_input
="$ac_file. $configure_input"
19047 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
19048 $as_echo "$as_me: creating $ac_file" >&6;}
19050 # Neutralize special characters interpreted by sed in replacement strings.
19051 case $configure_input in #(
19052 *\
&* |
*\|
* |
*\\* )
19053 ac_sed_conf_input
=`$as_echo "$configure_input" |
19054 sed 's/[\\\\&|]/\\\\&/g'`;; #(
19055 *) ac_sed_conf_input
=$configure_input;;
19059 *:-:* |
*:-) cat >"$ac_tmp/stdin" \
19060 || as_fn_error $?
"could not create $ac_file" "$LINENO" 5 ;;
19065 ac_dir
=`$as_dirname -- "$ac_file" ||
19066 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
19067 X"$ac_file" : 'X\(//\)[^/]' \| \
19068 X"$ac_file" : 'X\(//\)$' \| \
19069 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
19070 $as_echo X"$ac_file" |
19071 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
19075 /^X\(\/\/\)[^/].*/{
19088 as_dir
="$ac_dir"; as_fn_mkdir_p
19092 .
) ac_dir_suffix
= ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
19094 ac_dir_suffix
=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
19095 # A ".." for each directory in $ac_dir_suffix.
19096 ac_top_builddir_sub
=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
19097 case $ac_top_builddir_sub in
19098 "") ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
19099 *) ac_top_build_prefix
=$ac_top_builddir_sub/ ;;
19102 ac_abs_top_builddir
=$ac_pwd
19103 ac_abs_builddir
=$ac_pwd$ac_dir_suffix
19104 # for backward compatibility:
19105 ac_top_builddir
=$ac_top_build_prefix
19108 .
) # We are building in place.
19110 ac_top_srcdir
=$ac_top_builddir_sub
19111 ac_abs_top_srcdir
=$ac_pwd ;;
19112 [\\/]* | ?
:[\\/]* ) # Absolute name.
19113 ac_srcdir
=$srcdir$ac_dir_suffix;
19114 ac_top_srcdir
=$srcdir
19115 ac_abs_top_srcdir
=$srcdir ;;
19116 *) # Relative name.
19117 ac_srcdir
=$ac_top_build_prefix$srcdir$ac_dir_suffix
19118 ac_top_srcdir
=$ac_top_build_prefix$srcdir
19119 ac_abs_top_srcdir
=$ac_pwd/$srcdir ;;
19121 ac_abs_srcdir
=$ac_abs_top_srcdir$ac_dir_suffix
19132 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
19133 # If the template does not know about datarootdir, expand it.
19134 # FIXME: This hack should be removed a few years after 2.60.
19135 ac_datarootdir_hack
=; ac_datarootdir_seen
=
19146 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
19147 *datarootdir
*) ac_datarootdir_seen
=yes;;
19148 *@datadir@
*|
*@docdir@
*|
*@infodir@
*|
*@localedir@
*|
*@mandir@
*)
19149 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
19150 $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
19152 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
19153 ac_datarootdir_hack='
19154 s&@datadir@&$datadir&g
19155 s&@docdir@&$docdir&g
19156 s&@infodir@&$infodir&g
19157 s&@localedir@&$localedir&g
19158 s&@mandir@&$mandir&g
19159 s&\\\${datarootdir}&$datarootdir&g' ;;
19163 # Neutralize VPATH when `$srcdir' = `.'.
19164 # Shell code in configure.ac might set extrasub.
19165 # FIXME: do we really want to maintain this feature?
19166 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
19167 ac_sed_extra="$ac_vpsub
19170 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
19172 /@
[a-zA-Z_
][a-zA-Z_0-9
]*@
/!b
19173 s|@configure_input@|
$ac_sed_conf_input|
;t t
19174 s
&@top_builddir@
&$ac_top_builddir_sub&;t t
19175 s
&@top_build_prefix@
&$ac_top_build_prefix&;t t
19176 s
&@srcdir@
&$ac_srcdir&;t t
19177 s
&@abs_srcdir@
&$ac_abs_srcdir&;t t
19178 s
&@top_srcdir@
&$ac_top_srcdir&;t t
19179 s
&@abs_top_srcdir@
&$ac_abs_top_srcdir&;t t
19180 s
&@builddir@
&$ac_builddir&;t t
19181 s
&@abs_builddir@
&$ac_abs_builddir&;t t
19182 s
&@abs_top_builddir@
&$ac_abs_top_builddir&;t t
19183 $ac_datarootdir_hack
19185 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.
awk" \
19186 >$ac_tmp/out || as_fn_error $? "could not create
$ac_file" "$LINENO" 5
19188 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
19189 { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out
"`; test -n "$ac_out"; } &&
19190 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' \
19191 "$ac_tmp/out
"`; test -z "$ac_out"; } &&
19192 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: $ac_file contains a reference to the variable \
`datarootdir'
19193 which seems to be undefined. Please make sure it is defined" >&5
19194 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir
'
19195 which seems to be undefined. Please make sure it is defined" >&2;}
19197 rm -f "$ac_tmp/stdin"
19199 -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";;
19200 *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";;
19202 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
19208 if test x"$ac_file" != x-; then
19210 $as_echo "/* $configure_input */" \
19211 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs"
19212 } >"$ac_tmp/config.h" \
19213 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
19214 if diff "$ac_file" "$ac_tmp/config.h" >/dev/null 2>&1; then
19215 { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
19216 $as_echo "$as_me: $ac_file is unchanged" >&6;}
19219 mv "$ac_tmp/config.h" "$ac_file" \
19220 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
19223 $as_echo "/* $configure_input */" \
19224 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" \
19225 || as_fn_error $? "could not create -" "$LINENO" 5
19233 if test "$ac_source" = "$ac_file" && test "$srcdir" = '.
'; then
19236 # Prefer the file from the source tree if names are identical.
19237 if test "$ac_source" = "$ac_file" || test ! -r "$ac_source"; then
19238 ac_source=$srcdir/$ac_source
19241 { $as_echo "$as_me:${as_lineno-$LINENO}: linking $ac_source to $ac_file" >&5
19242 $as_echo "$as_me: linking $ac_source to $ac_file" >&6;}
19244 if test ! -r "$ac_source"; then
19245 as_fn_error $? "$ac_source: file not found" "$LINENO" 5
19249 # Try a relative symlink, then a hard link, then a copy.
19251 [\\/$]* | ?:[\\/]* ) ac_rel_source=$ac_source ;;
19252 *) ac_rel_source=$ac_top_build_prefix$ac_source ;;
19254 ln -s "$ac_rel_source" "$ac_file" 2>/dev/null ||
19255 ln "$ac_source" "$ac_file" 2>/dev/null ||
19256 cp -p "$ac_source" "$ac_file" ||
19257 as_fn_error $? "cannot link or copy $ac_source to $ac_file" "$LINENO" 5
19260 :C) { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
19261 $as_echo "$as_me: executing $ac_file commands" >&6;}
19266 case $ac_file$ac_mode in
19267 "include/stamp-h":C) echo timestamp > include/stamp-h ;;
19268 "tools/makedep":C) wine_fn_output_makedep || as_fn_exit $? ;;
19269 "Makefile":C) wine_fn_output_makefile Makefile ;;
19270 ".gitignore":C) wine_fn_output_gitignore .gitignore ;;
19278 ac_clean_files=$ac_clean_files_save
19280 test $ac_write_fail = 0 ||
19281 as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5
19284 # configure is writing to config.log, and then calls config.status.
19285 # config.status does its own redirection, appending to config.log.
19286 # Unfortunately, on DOS this fails, as config.log is still kept open
19287 # by configure, so config.status won't be able to
write to it
; its
19288 # output is simply discarded. So we exec the FD to /dev/null,
19289 # effectively closing config.log, so it can be properly (re)opened and
19290 # appended to by config.status. When coming back to configure, we
19291 # need to make the FD available again.
19292 if test "$no_create" != yes; then
19294 ac_config_status_args
=
19295 test "$silent" = yes &&
19296 ac_config_status_args
="$ac_config_status_args --quiet"
19298 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success
=false
19300 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
19301 # would make configure fail if this is the last instruction.
19302 $ac_cs_success || as_fn_exit
1
19304 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no
; then
19305 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
19306 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
19310 if test "$no_create" = "yes"
19316 if test "x$wine_notices != "x
; then
19319 for msg
in $wine_notices; do
19321 if ${msg:+false} :; then :
19324 { $as_echo "$as_me:${as_lineno-$LINENO}: $msg" >&5
19325 $as_echo "$as_me: $msg" >&6;}
19330 for msg
in $wine_warnings; do
19332 if ${msg:+false} :; then :
19336 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $msg" >&5
19337 $as_echo "$as_me: WARNING: $msg" >&2;}
19343 $as_me: Finished. Do '${ac_make}' to compile Wine.