2 # Guess values for system-dependent variables and create Makefiles.
3 # Generated by GNU Autoconf 2.69 for Wine 1.7.37.
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.37'
584 PACKAGE_STRING
='Wine 1.7.37'
585 PACKAGE_BUGREPORT
='wine-devel@winehq.org'
586 PACKAGE_URL
='http://www.winehq.org'
588 ac_unique_file
="server/atom.c"
589 # Factoring default headers for most tests.
590 ac_includes_default
="\
592 #ifdef HAVE_SYS_TYPES_H
593 # include <sys/types.h>
595 #ifdef HAVE_SYS_STAT_H
596 # include <sys/stat.h>
602 # ifdef HAVE_STDLIB_H
607 # if !defined STDC_HEADERS && defined HAVE_MEMORY_H
612 #ifdef HAVE_STRINGS_H
613 # include <strings.h>
615 #ifdef HAVE_INTTYPES_H
616 # include <inttypes.h>
625 ac_subst_vars
='LTLIBOBJS
698 APPLICATIONSERVICES_LIBS
783 program_transform_name
796 enable_option_checking
800 enable_maintainer_mode
857 enable_api_ms_win_core_com_l1_1_0
858 enable_api_ms_win_core_console_l1_1_0
859 enable_api_ms_win_core_datetime_l1_1_0
860 enable_api_ms_win_core_datetime_l1_1_1
861 enable_api_ms_win_core_debug_l1_1_1
862 enable_api_ms_win_core_errorhandling_l1_1_1
863 enable_api_ms_win_core_errorhandling_l1_1_2
864 enable_api_ms_win_core_fibers_l1_1_0
865 enable_api_ms_win_core_fibers_l1_1_1
866 enable_api_ms_win_core_file_l1_2_0
867 enable_api_ms_win_core_file_l2_1_0
868 enable_api_ms_win_core_file_l2_1_1
869 enable_api_ms_win_core_handle_l1_1_0
870 enable_api_ms_win_core_heap_l1_2_0
871 enable_api_ms_win_core_heap_obsolete_l1_1_0
872 enable_api_ms_win_core_interlocked_l1_2_0
873 enable_api_ms_win_core_io_l1_1_1
874 enable_api_ms_win_core_kernel32_legacy_l1_1_0
875 enable_api_ms_win_core_libraryloader_l1_1_1
876 enable_api_ms_win_core_localization_l1_2_0
877 enable_api_ms_win_core_localization_l1_2_1
878 enable_api_ms_win_core_localization_obsolete_l1_1_0
879 enable_api_ms_win_core_localregistry_l1_1_0
880 enable_api_ms_win_core_memory_l1_1_1
881 enable_api_ms_win_core_namedpipe_l1_2_0
882 enable_api_ms_win_core_processenvironment_l1_2_0
883 enable_api_ms_win_core_processthreads_l1_1_0
884 enable_api_ms_win_core_processthreads_l1_1_1
885 enable_api_ms_win_core_processthreads_l1_1_2
886 enable_api_ms_win_core_profile_l1_1_0
887 enable_api_ms_win_core_psapi_l1_1_0
888 enable_api_ms_win_core_registry_l1_1_0
889 enable_api_ms_win_core_rtlsupport_l1_2_0
890 enable_api_ms_win_core_shlwapi_legacy_l1_1_0
891 enable_api_ms_win_core_string_l1_1_0
892 enable_api_ms_win_core_synch_l1_2_0
893 enable_api_ms_win_core_sysinfo_l1_2_0
894 enable_api_ms_win_core_sysinfo_l1_2_1
895 enable_api_ms_win_core_threadpool_legacy_l1_1_0
896 enable_api_ms_win_core_timezone_l1_1_0
897 enable_api_ms_win_core_url_l1_1_0
898 enable_api_ms_win_core_util_l1_1_0
899 enable_api_ms_win_core_winrt_error_l1_1_0
900 enable_api_ms_win_core_winrt_error_l1_1_1
901 enable_api_ms_win_core_winrt_l1_1_0
902 enable_api_ms_win_core_winrt_string_l1_1_0
903 enable_api_ms_win_core_xstate_l2_1_0
904 enable_api_ms_win_downlevel_advapi32_l1_1_0
905 enable_api_ms_win_downlevel_advapi32_l2_1_0
906 enable_api_ms_win_downlevel_normaliz_l1_1_0
907 enable_api_ms_win_downlevel_ole32_l1_1_0
908 enable_api_ms_win_downlevel_shell32_l1_1_0
909 enable_api_ms_win_downlevel_shlwapi_l1_1_0
910 enable_api_ms_win_downlevel_shlwapi_l2_1_0
911 enable_api_ms_win_downlevel_user32_l1_1_0
912 enable_api_ms_win_downlevel_version_l1_1_0
913 enable_api_ms_win_eventing_provider_l1_1_0
914 enable_api_ms_win_ntuser_dc_access_l1_1_0
915 enable_api_ms_win_security_base_l1_1_0
916 enable_api_ms_win_security_base_l1_2_0
917 enable_api_ms_win_security_sddl_l1_1_0
918 enable_api_ms_win_service_core_l1_1_1
919 enable_api_ms_win_service_management_l1_1_0
920 enable_api_ms_win_service_winsvc_l1_2_0
963 enable_d3dcompiler_33
964 enable_d3dcompiler_34
965 enable_d3dcompiler_35
966 enable_d3dcompiler_36
967 enable_d3dcompiler_37
968 enable_d3dcompiler_38
969 enable_d3dcompiler_39
970 enable_d3dcompiler_40
971 enable_d3dcompiler_41
972 enable_d3dcompiler_42
973 enable_d3dcompiler_43
1049 enable_explorerframe
1050 enable_ext_ms_win_gdi_devcaps_l1_1_0
1205 enable_photometadatahandler
1287 enable_windowscodecs
1288 enable_windowscodecsext
1290 enable_winecoreaudio_drv
1292 enable_winegstreamer
1293 enable_winejoystick_drv
1299 enable_wineqtdecoder
1343 enable_documentation
1351 enable_aspnet_regiis
1384 enable_presentationfontcache
1397 enable_servicemodelreg
1418 enable_winemenubuilder
1420 enable_winemsibuilder
1434 ac_precious_vars
='build_alias
1483 # Initialize some variables set by options.
1485 ac_init_version
=false
1486 ac_unrecognized_opts
=
1487 ac_unrecognized_sep
=
1488 # The variables have the same names as the options, with
1489 # dashes changed to underlines.
1490 cache_file
=/dev
/null
1497 program_transform_name
=s
,x
,x
,
1505 # Installation directory options.
1506 # These are left unexpanded so users can "make install exec_prefix=/foo"
1507 # and all the variables that are supposed to be based on exec_prefix
1508 # by default will actually change.
1509 # Use braces instead of parens because sh, perl, etc. also accept them.
1510 # (The list follows the same order as the GNU Coding Standards.)
1511 bindir
='${exec_prefix}/bin'
1512 sbindir
='${exec_prefix}/sbin'
1513 libexecdir
='${exec_prefix}/libexec'
1514 datarootdir
='${prefix}/share'
1515 datadir
='${datarootdir}'
1516 sysconfdir
='${prefix}/etc'
1517 sharedstatedir
='${prefix}/com'
1518 localstatedir
='${prefix}/var'
1519 includedir
='${prefix}/include'
1520 oldincludedir
='/usr/include'
1521 docdir
='${datarootdir}/doc/${PACKAGE_TARNAME}'
1522 infodir
='${datarootdir}/info'
1527 libdir
='${exec_prefix}/lib'
1528 localedir
='${datarootdir}/locale'
1529 mandir
='${datarootdir}/man'
1535 # If the previous option needs an argument, assign it.
1536 if test -n "$ac_prev"; then
1537 eval $ac_prev=\
$ac_option
1543 *=?
*) ac_optarg
=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
1548 # Accept the important Cygnus configure options, so we can diagnose typos.
1550 case $ac_dashdash$ac_option in
1554 -bindir |
--bindir |
--bindi |
--bind |
--bin |
--bi)
1556 -bindir=* |
--bindir=* |
--bindi=* |
--bind=* |
--bin=* |
--bi=*)
1557 bindir
=$ac_optarg ;;
1559 -build |
--build |
--buil |
--bui |
--bu)
1560 ac_prev
=build_alias
;;
1561 -build=* |
--build=* |
--buil=* |
--bui=* |
--bu=*)
1562 build_alias
=$ac_optarg ;;
1564 -cache-file |
--cache-file |
--cache-fil |
--cache-fi \
1565 |
--cache-f |
--cache- |
--cache |
--cach |
--cac |
--ca |
--c)
1566 ac_prev
=cache_file
;;
1567 -cache-file=* |
--cache-file=* |
--cache-fil=* |
--cache-fi=* \
1568 |
--cache-f=* |
--cache-=* |
--cache=* |
--cach=* |
--cac=* |
--ca=* |
--c=*)
1569 cache_file
=$ac_optarg ;;
1571 --config-cache |
-C)
1572 cache_file
=config.cache
;;
1574 -datadir |
--datadir |
--datadi |
--datad)
1576 -datadir=* |
--datadir=* |
--datadi=* |
--datad=*)
1577 datadir
=$ac_optarg ;;
1579 -datarootdir |
--datarootdir |
--datarootdi |
--datarootd |
--dataroot \
1580 |
--dataroo |
--dataro |
--datar)
1581 ac_prev
=datarootdir
;;
1582 -datarootdir=* |
--datarootdir=* |
--datarootdi=* |
--datarootd=* \
1583 |
--dataroot=* |
--dataroo=* |
--dataro=* |
--datar=*)
1584 datarootdir
=$ac_optarg ;;
1586 -disable-* |
--disable-*)
1587 ac_useropt
=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
1588 # Reject names that are not valid shell variable names.
1589 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
1590 as_fn_error $?
"invalid feature name: $ac_useropt"
1591 ac_useropt_orig
=$ac_useropt
1592 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1593 case $ac_user_opts in
1595 "enable_
$ac_useropt"
1597 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
1598 ac_unrecognized_sep
=', ';;
1600 eval enable_
$ac_useropt=no
;;
1602 -docdir |
--docdir |
--docdi |
--doc |
--do)
1604 -docdir=* |
--docdir=* |
--docdi=* |
--doc=* |
--do=*)
1605 docdir
=$ac_optarg ;;
1607 -dvidir |
--dvidir |
--dvidi |
--dvid |
--dvi |
--dv)
1609 -dvidir=* |
--dvidir=* |
--dvidi=* |
--dvid=* |
--dvi=* |
--dv=*)
1610 dvidir
=$ac_optarg ;;
1612 -enable-* |
--enable-*)
1613 ac_useropt
=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
1614 # Reject names that are not valid shell variable names.
1615 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
1616 as_fn_error $?
"invalid feature name: $ac_useropt"
1617 ac_useropt_orig
=$ac_useropt
1618 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1619 case $ac_user_opts in
1621 "enable_
$ac_useropt"
1623 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
1624 ac_unrecognized_sep
=', ';;
1626 eval enable_
$ac_useropt=\
$ac_optarg ;;
1628 -exec-prefix |
--exec_prefix |
--exec-prefix |
--exec-prefi \
1629 |
--exec-pref |
--exec-pre |
--exec-pr |
--exec-p |
--exec- \
1630 |
--exec |
--exe |
--ex)
1631 ac_prev
=exec_prefix
;;
1632 -exec-prefix=* |
--exec_prefix=* |
--exec-prefix=* |
--exec-prefi=* \
1633 |
--exec-pref=* |
--exec-pre=* |
--exec-pr=* |
--exec-p=* |
--exec-=* \
1634 |
--exec=* |
--exe=* |
--ex=*)
1635 exec_prefix
=$ac_optarg ;;
1637 -gas |
--gas |
--ga |
--g)
1638 # Obsolete; use --with-gas.
1641 -help |
--help |
--hel |
--he |
-h)
1642 ac_init_help
=long
;;
1643 -help=r
* |
--help=r
* |
--hel=r
* |
--he=r
* |
-hr*)
1644 ac_init_help
=recursive
;;
1645 -help=s
* |
--help=s
* |
--hel=s
* |
--he=s
* |
-hs*)
1646 ac_init_help
=short
;;
1648 -host |
--host |
--hos |
--ho)
1649 ac_prev
=host_alias
;;
1650 -host=* |
--host=* |
--hos=* |
--ho=*)
1651 host_alias
=$ac_optarg ;;
1653 -htmldir |
--htmldir |
--htmldi |
--htmld |
--html |
--htm |
--ht)
1655 -htmldir=* |
--htmldir=* |
--htmldi=* |
--htmld=* |
--html=* |
--htm=* \
1657 htmldir
=$ac_optarg ;;
1659 -includedir |
--includedir |
--includedi |
--included |
--include \
1660 |
--includ |
--inclu |
--incl |
--inc)
1661 ac_prev
=includedir
;;
1662 -includedir=* |
--includedir=* |
--includedi=* |
--included=* |
--include=* \
1663 |
--includ=* |
--inclu=* |
--incl=* |
--inc=*)
1664 includedir
=$ac_optarg ;;
1666 -infodir |
--infodir |
--infodi |
--infod |
--info |
--inf)
1668 -infodir=* |
--infodir=* |
--infodi=* |
--infod=* |
--info=* |
--inf=*)
1669 infodir
=$ac_optarg ;;
1671 -libdir |
--libdir |
--libdi |
--libd)
1673 -libdir=* |
--libdir=* |
--libdi=* |
--libd=*)
1674 libdir
=$ac_optarg ;;
1676 -libexecdir |
--libexecdir |
--libexecdi |
--libexecd |
--libexec \
1677 |
--libexe |
--libex |
--libe)
1678 ac_prev
=libexecdir
;;
1679 -libexecdir=* |
--libexecdir=* |
--libexecdi=* |
--libexecd=* |
--libexec=* \
1680 |
--libexe=* |
--libex=* |
--libe=*)
1681 libexecdir
=$ac_optarg ;;
1683 -localedir |
--localedir |
--localedi |
--localed |
--locale)
1684 ac_prev
=localedir
;;
1685 -localedir=* |
--localedir=* |
--localedi=* |
--localed=* |
--locale=*)
1686 localedir
=$ac_optarg ;;
1688 -localstatedir |
--localstatedir |
--localstatedi |
--localstated \
1689 |
--localstate |
--localstat |
--localsta |
--localst |
--locals)
1690 ac_prev
=localstatedir
;;
1691 -localstatedir=* |
--localstatedir=* |
--localstatedi=* |
--localstated=* \
1692 |
--localstate=* |
--localstat=* |
--localsta=* |
--localst=* |
--locals=*)
1693 localstatedir
=$ac_optarg ;;
1695 -mandir |
--mandir |
--mandi |
--mand |
--man |
--ma |
--m)
1697 -mandir=* |
--mandir=* |
--mandi=* |
--mand=* |
--man=* |
--ma=* |
--m=*)
1698 mandir
=$ac_optarg ;;
1700 -nfp |
--nfp |
--nf)
1701 # Obsolete; use --without-fp.
1704 -no-create |
--no-create |
--no-creat |
--no-crea |
--no-cre \
1705 |
--no-cr |
--no-c |
-n)
1708 -no-recursion |
--no-recursion |
--no-recursio |
--no-recursi \
1709 |
--no-recurs |
--no-recur |
--no-recu |
--no-rec |
--no-re |
--no-r)
1712 -oldincludedir |
--oldincludedir |
--oldincludedi |
--oldincluded \
1713 |
--oldinclude |
--oldinclud |
--oldinclu |
--oldincl |
--oldinc \
1714 |
--oldin |
--oldi |
--old |
--ol |
--o)
1715 ac_prev
=oldincludedir
;;
1716 -oldincludedir=* |
--oldincludedir=* |
--oldincludedi=* |
--oldincluded=* \
1717 |
--oldinclude=* |
--oldinclud=* |
--oldinclu=* |
--oldincl=* |
--oldinc=* \
1718 |
--oldin=* |
--oldi=* |
--old=* |
--ol=* |
--o=*)
1719 oldincludedir
=$ac_optarg ;;
1721 -prefix |
--prefix |
--prefi |
--pref |
--pre |
--pr |
--p)
1723 -prefix=* |
--prefix=* |
--prefi=* |
--pref=* |
--pre=* |
--pr=* |
--p=*)
1724 prefix
=$ac_optarg ;;
1726 -program-prefix |
--program-prefix |
--program-prefi |
--program-pref \
1727 |
--program-pre |
--program-pr |
--program-p)
1728 ac_prev
=program_prefix
;;
1729 -program-prefix=* |
--program-prefix=* |
--program-prefi=* \
1730 |
--program-pref=* |
--program-pre=* |
--program-pr=* |
--program-p=*)
1731 program_prefix
=$ac_optarg ;;
1733 -program-suffix |
--program-suffix |
--program-suffi |
--program-suff \
1734 |
--program-suf |
--program-su |
--program-s)
1735 ac_prev
=program_suffix
;;
1736 -program-suffix=* |
--program-suffix=* |
--program-suffi=* \
1737 |
--program-suff=* |
--program-suf=* |
--program-su=* |
--program-s=*)
1738 program_suffix
=$ac_optarg ;;
1740 -program-transform-name |
--program-transform-name \
1741 |
--program-transform-nam |
--program-transform-na \
1742 |
--program-transform-n |
--program-transform- \
1743 |
--program-transform |
--program-transfor \
1744 |
--program-transfo |
--program-transf \
1745 |
--program-trans |
--program-tran \
1746 |
--progr-tra |
--program-tr |
--program-t)
1747 ac_prev
=program_transform_name
;;
1748 -program-transform-name=* |
--program-transform-name=* \
1749 |
--program-transform-nam=* |
--program-transform-na=* \
1750 |
--program-transform-n=* |
--program-transform-=* \
1751 |
--program-transform=* |
--program-transfor=* \
1752 |
--program-transfo=* |
--program-transf=* \
1753 |
--program-trans=* |
--program-tran=* \
1754 |
--progr-tra=* |
--program-tr=* |
--program-t=*)
1755 program_transform_name
=$ac_optarg ;;
1757 -pdfdir |
--pdfdir |
--pdfdi |
--pdfd |
--pdf |
--pd)
1759 -pdfdir=* |
--pdfdir=* |
--pdfdi=* |
--pdfd=* |
--pdf=* |
--pd=*)
1760 pdfdir
=$ac_optarg ;;
1762 -psdir |
--psdir |
--psdi |
--psd |
--ps)
1764 -psdir=* |
--psdir=* |
--psdi=* |
--psd=* |
--ps=*)
1767 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
1768 |
-silent |
--silent |
--silen |
--sile |
--sil)
1771 -sbindir |
--sbindir |
--sbindi |
--sbind |
--sbin |
--sbi |
--sb)
1773 -sbindir=* |
--sbindir=* |
--sbindi=* |
--sbind=* |
--sbin=* \
1775 sbindir
=$ac_optarg ;;
1777 -sharedstatedir |
--sharedstatedir |
--sharedstatedi \
1778 |
--sharedstated |
--sharedstate |
--sharedstat |
--sharedsta \
1779 |
--sharedst |
--shareds |
--shared |
--share |
--shar \
1781 ac_prev
=sharedstatedir
;;
1782 -sharedstatedir=* |
--sharedstatedir=* |
--sharedstatedi=* \
1783 |
--sharedstated=* |
--sharedstate=* |
--sharedstat=* |
--sharedsta=* \
1784 |
--sharedst=* |
--shareds=* |
--shared=* |
--share=* |
--shar=* \
1786 sharedstatedir
=$ac_optarg ;;
1788 -site |
--site |
--sit)
1790 -site=* |
--site=* |
--sit=*)
1793 -srcdir |
--srcdir |
--srcdi |
--srcd |
--src |
--sr)
1795 -srcdir=* |
--srcdir=* |
--srcdi=* |
--srcd=* |
--src=* |
--sr=*)
1796 srcdir
=$ac_optarg ;;
1798 -sysconfdir |
--sysconfdir |
--sysconfdi |
--sysconfd |
--sysconf \
1799 |
--syscon |
--sysco |
--sysc |
--sys |
--sy)
1800 ac_prev
=sysconfdir
;;
1801 -sysconfdir=* |
--sysconfdir=* |
--sysconfdi=* |
--sysconfd=* |
--sysconf=* \
1802 |
--syscon=* |
--sysco=* |
--sysc=* |
--sys=* |
--sy=*)
1803 sysconfdir
=$ac_optarg ;;
1805 -target |
--target |
--targe |
--targ |
--tar |
--ta |
--t)
1806 ac_prev
=target_alias
;;
1807 -target=* |
--target=* |
--targe=* |
--targ=* |
--tar=* |
--ta=* |
--t=*)
1808 target_alias
=$ac_optarg ;;
1810 -v |
-verbose |
--verbose |
--verbos |
--verbo |
--verb)
1813 -version |
--version |
--versio |
--versi |
--vers |
-V)
1814 ac_init_version
=: ;;
1817 ac_useropt
=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1818 # Reject names that are not valid shell variable names.
1819 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
1820 as_fn_error $?
"invalid package name: $ac_useropt"
1821 ac_useropt_orig
=$ac_useropt
1822 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1823 case $ac_user_opts in
1827 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
1828 ac_unrecognized_sep
=', ';;
1830 eval with_
$ac_useropt=\
$ac_optarg ;;
1832 -without-* |
--without-*)
1833 ac_useropt
=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1834 # Reject names that are not valid shell variable names.
1835 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
1836 as_fn_error $?
"invalid package name: $ac_useropt"
1837 ac_useropt_orig
=$ac_useropt
1838 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1839 case $ac_user_opts in
1843 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
1844 ac_unrecognized_sep
=', ';;
1846 eval with_
$ac_useropt=no
;;
1849 # Obsolete; use --with-x.
1852 -x-includes |
--x-includes |
--x-include |
--x-includ |
--x-inclu \
1853 |
--x-incl |
--x-inc |
--x-in |
--x-i)
1854 ac_prev
=x_includes
;;
1855 -x-includes=* |
--x-includes=* |
--x-include=* |
--x-includ=* |
--x-inclu=* \
1856 |
--x-incl=* |
--x-inc=* |
--x-in=* |
--x-i=*)
1857 x_includes
=$ac_optarg ;;
1859 -x-libraries |
--x-libraries |
--x-librarie |
--x-librari \
1860 |
--x-librar |
--x-libra |
--x-libr |
--x-lib |
--x-li |
--x-l)
1861 ac_prev
=x_libraries
;;
1862 -x-libraries=* |
--x-libraries=* |
--x-librarie=* |
--x-librari=* \
1863 |
--x-librar=* |
--x-libra=* |
--x-libr=* |
--x-lib=* |
--x-li=* |
--x-l=*)
1864 x_libraries
=$ac_optarg ;;
1866 -*) as_fn_error $?
"unrecognized option: \`$ac_option'
1867 Try \`$0 --help' for more information"
1871 ac_envvar
=`expr "x$ac_option" : 'x\([^=]*\)='`
1872 # Reject names that are not valid shell variable names.
1873 case $ac_envvar in #(
1874 '' |
[0-9]* |
*[!_
$as_cr_alnum]* )
1875 as_fn_error $?
"invalid variable name: \`$ac_envvar'" ;;
1877 eval $ac_envvar=\
$ac_optarg
1878 export $ac_envvar ;;
1881 # FIXME: should be removed in autoconf 3.0.
1882 $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1883 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev
/null
&&
1884 $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1885 : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}"
1891 if test -n "$ac_prev"; then
1892 ac_option
=--`echo $ac_prev | sed 's/_/-/g'`
1893 as_fn_error $?
"missing argument to $ac_option"
1896 if test -n "$ac_unrecognized_opts"; then
1897 case $enable_option_checking in
1899 fatal
) as_fn_error $?
"unrecognized options: $ac_unrecognized_opts" ;;
1900 *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
1904 # Check all directory arguments for consistency.
1905 for ac_var
in exec_prefix prefix bindir sbindir libexecdir datarootdir \
1906 datadir sysconfdir sharedstatedir localstatedir includedir \
1907 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1908 libdir localedir mandir
1910 eval ac_val
=\$
$ac_var
1911 # Remove trailing slashes.
1914 ac_val
=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
1915 eval $ac_var=\
$ac_val;;
1917 # Be sure to have absolute directory names.
1919 [\\/$
]* | ?
:[\\/]* ) continue;;
1920 NONE |
'' ) case $ac_var in *prefix
) continue;; esac;;
1922 as_fn_error $?
"expected an absolute directory name for --$ac_var: $ac_val"
1925 # There might be people who depend on the old broken behavior: `$host'
1926 # used to hold the argument of --host etc.
1927 # FIXME: To remove some day.
1930 target
=$target_alias
1932 # FIXME: To remove some day.
1933 if test "x$host_alias" != x
; then
1934 if test "x$build_alias" = x
; then
1935 cross_compiling
=maybe
1936 elif test "x$build_alias" != "x$host_alias"; then
1942 test -n "$host_alias" && ac_tool_prefix
=$host_alias-
1944 test "$silent" = yes && exec 6>/dev
/null
1947 ac_pwd
=`pwd` && test -n "$ac_pwd" &&
1948 ac_ls_di
=`ls -di .` &&
1949 ac_pwd_ls_di
=`cd "$ac_pwd" && ls -di .` ||
1950 as_fn_error $?
"working directory cannot be determined"
1951 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1952 as_fn_error $?
"pwd does not report name of working directory"
1955 # Find the source files, if location was not specified.
1956 if test -z "$srcdir"; then
1957 ac_srcdir_defaulted
=yes
1958 # Try the directory containing this script, then the parent directory.
1959 ac_confdir
=`$as_dirname -- "$as_myself" ||
1960 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1961 X"$as_myself" : 'X\(//\)[^/]' \| \
1962 X"$as_myself" : 'X\(//\)$' \| \
1963 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
1964 $as_echo X"$as_myself" |
1965 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1983 if test ! -r "$srcdir/$ac_unique_file"; then
1987 ac_srcdir_defaulted
=no
1989 if test ! -r "$srcdir/$ac_unique_file"; then
1990 test "$ac_srcdir_defaulted" = yes && srcdir
="$ac_confdir or .."
1991 as_fn_error $?
"cannot find sources ($ac_unique_file) in $srcdir"
1993 ac_msg
="sources are in $srcdir, but \`cd $srcdir' does not work"
1995 cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
1997 # When building in place, set srcdir=.
1998 if test "$ac_abs_confdir" = "$ac_pwd"; then
2001 # Remove unnecessary trailing slashes from srcdir.
2002 # Double slashes in file names in object file debugging info
2003 # mess up M-x gdb in Emacs.
2005 */) srcdir
=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
2007 for ac_var
in $ac_precious_vars; do
2008 eval ac_env_
${ac_var}_set=\${${ac_var}+set}
2009 eval ac_env_
${ac_var}_value
=\$
${ac_var}
2010 eval ac_cv_env_
${ac_var}_set=\${${ac_var}+set}
2011 eval ac_cv_env_
${ac_var}_value
=\$
${ac_var}
2015 # Report the --help message.
2017 if test "$ac_init_help" = "long"; then
2018 # Omit some internal or obsolete options to make the list less imposing.
2019 # This message is too long to be a string in the A/UX 3.1 sh.
2021 \`configure' configures Wine 1.7.37 to adapt to many kinds of systems.
2023 Usage: $0 [OPTION]... [VAR=VALUE]...
2025 To assign environment variables (e.g., CC, CFLAGS...), specify them as
2026 VAR=VALUE. See below for descriptions of some of the useful variables.
2028 Defaults for the options are specified in brackets.
2031 -h, --help display this help and exit
2032 --help=short display options specific to this package
2033 --help=recursive display the short help of all the included packages
2034 -V, --version display version information and exit
2035 -q, --quiet, --silent do not print \`checking ...' messages
2036 --cache-file=FILE cache test results in FILE [disabled]
2037 -C, --config-cache alias for \`--cache-file=config.cache'
2038 -n, --no-create do not create output files
2039 --srcdir=DIR find the sources in DIR [configure dir or \`..']
2041 Installation directories:
2042 --prefix=PREFIX install architecture-independent files in PREFIX
2043 [$ac_default_prefix]
2044 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
2047 By default, \`make install' will install all the files in
2048 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
2049 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
2050 for instance \`--prefix=\$HOME'.
2052 For better control, use the options below.
2054 Fine tuning of the installation directories:
2055 --bindir=DIR user executables [EPREFIX/bin]
2056 --sbindir=DIR system admin executables [EPREFIX/sbin]
2057 --libexecdir=DIR program executables [EPREFIX/libexec]
2058 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
2059 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
2060 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
2061 --libdir=DIR object code libraries [EPREFIX/lib]
2062 --includedir=DIR C header files [PREFIX/include]
2063 --oldincludedir=DIR C header files for non-gcc [/usr/include]
2064 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
2065 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
2066 --infodir=DIR info documentation [DATAROOTDIR/info]
2067 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
2068 --mandir=DIR man documentation [DATAROOTDIR/man]
2069 --docdir=DIR documentation root [DATAROOTDIR/doc/wine]
2070 --htmldir=DIR html documentation [DOCDIR]
2071 --dvidir=DIR dvi documentation [DOCDIR]
2072 --pdfdir=DIR pdf documentation [DOCDIR]
2073 --psdir=DIR ps documentation [DOCDIR]
2079 --x-includes=DIR X include files are
in DIR
2080 --x-libraries=DIR X library files are
in DIR
2083 --build=BUILD configure
for building on BUILD
[guessed
]
2084 --host=HOST cross-compile to build programs to run on HOST
[BUILD
]
2088 if test -n "$ac_init_help"; then
2089 case $ac_init_help in
2090 short | recursive
) echo "Configuration of Wine 1.7.37:";;
2095 --disable-option-checking ignore unrecognized
--enable/--with options
2096 --disable-FEATURE do not include FEATURE
(same as
--enable-FEATURE=no
)
2097 --enable-FEATURE[=ARG
] include FEATURE
[ARG
=yes]
2098 --disable-win16 do not include Win16 support
2099 --enable-win64 build a Win64 emulator on AMD64
(won
't run Win32
2101 --disable-tests do not build the regression tests
2102 --enable-maintainer-mode
2103 enable maintainer-specific build rules
2104 --disable-largefile omit support for large files
2107 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
2108 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
2109 --without-alsa do not use the Alsa sound support
2110 --without-capi do not use CAPI (ISDN support)
2111 --without-cms do not use CMS (color management support)
2112 --without-coreaudio do not use the CoreAudio sound support
2113 --without-cups do not use CUPS
2114 --without-curses do not use (n)curses
2115 --without-dbus do not use DBus (dynamic device support)
2116 --without-fontconfig do not use fontconfig
2117 --without-freetype do not use the FreeType library
2118 --without-gettext do not use gettext
2119 --with-gettextpo use the GetTextPO library to rebuild po files
2120 --without-gphoto do not use gphoto (Digital Camera support)
2121 --without-glu do not use the GLU library
2122 --without-gnutls do not use GnuTLS (schannel support)
2123 --without-gsm do not use libgsm (GSM 06.10 codec support)
2124 --without-gstreamer do not use GStreamer (codecs support)
2125 --without-hal do not use HAL (dynamic device support)
2126 --without-jpeg do not use JPEG
2127 --without-ldap do not use LDAP
2128 --without-mpg123 do not use the mpg123 library
2129 --without-netapi do not use the Samba NetAPI library
2130 --without-openal do not use OpenAL
2131 --without-opencl do not use OpenCL
2132 --without-opengl do not use OpenGL
2133 --without-osmesa do not use the OSMesa library
2134 --without-oss do not use the OSS sound support
2135 --without-pcap do not use the Packet Capture library
2136 --without-png do not use PNG
2137 --without-pthread do not use the pthread library
2138 --without-sane do not use SANE (scanner support)
2139 --without-tiff do not use TIFF
2140 --without-v4l do not use v4l1 (v4l support)
2141 --without-xcomposite do not use the Xcomposite extension
2142 --without-xcursor do not use the Xcursor extension
2143 --without-xinerama do not use Xinerama (multi-monitor support)
2144 --without-xinput do not use the Xinput extension
2145 --without-xinput2 do not use the Xinput 2 extension
2146 --without-xml do not use XML
2147 --without-xrandr do not use Xrandr (resolution changes)
2148 --without-xrender do not use the Xrender extension
2149 --without-xshape do not use the Xshape extension
2150 --without-xshm do not use XShm (shared memory extension)
2151 --without-xslt do not use XSLT
2152 --without-xxf86vm do not use XFree video mode extension
2153 --without-zlib do not use Zlib (data compression)
2154 --with-wine-tools=DIR use Wine tools from directory DIR
2155 --with-wine64=DIR use the 64-bit Wine in DIR for a Wow64 build
2156 --with-x use the X Window System
2158 Some influential environment variables:
2159 CC C compiler command
2160 CFLAGS C compiler flags
2161 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
2162 nonstandard directory <lib dir>
2163 LIBS libraries to pass to the linker, e.g. -l<library>
2164 CPPFLAGS (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if
2165 you have headers in a nonstandard directory <include dir>
2166 CXX C++ compiler command
2167 CXXFLAGS C++ compiler flags
2169 XMKMF Path to xmkmf, Makefile generator for X Window System
2170 XML2_CFLAGS C compiler flags for libxml-2.0, overriding pkg-config
2171 XML2_LIBS Linker flags for libxml-2.0, overriding pkg-config
2172 XSLT_CFLAGS C compiler flags for libxslt, overriding pkg-config
2173 XSLT_LIBS Linker flags for libxslt, overriding pkg-config
2174 DBUS_CFLAGS C compiler flags for dbus-1, overriding pkg-config
2175 DBUS_LIBS Linker flags for dbus-1, overriding pkg-config
2176 HAL_CFLAGS C compiler flags for hal, overriding pkg-config
2177 HAL_LIBS Linker flags for hal, overriding pkg-config
2179 C compiler flags for gnutls, overriding pkg-config
2180 GNUTLS_LIBS Linker flags for gnutls, overriding pkg-config
2181 SANE_CFLAGS C compiler flags for libsane, overriding pkg-config
2182 SANE_LIBS Linker flags for libsane, overriding pkg-config
2184 C compiler flags for libgphoto2, overriding pkg-config
2186 Linker flags for libgphoto2, overriding pkg-config
2188 C compiler flags for libgphoto2_port, overriding pkg-config
2190 Linker flags for libgphoto2_port, overriding pkg-config
2192 C compiler flags for lcms2, overriding pkg-config
2193 LCMS2_LIBS Linker flags for lcms2, overriding pkg-config
2195 C compiler flags for freetype2, overriding pkg-config
2197 Linker flags for freetype2, overriding pkg-config
2199 C compiler flags for gstreamer-app-0.10, overriding pkg-config
2201 Linker flags for gstreamer-app-0.10, overriding pkg-config
2203 C compiler flags for capi20, overriding pkg-config
2204 CAPI20_LIBS Linker flags for capi20, overriding pkg-config
2206 C compiler flags for fontconfig, overriding pkg-config
2208 Linker flags for fontconfig, overriding pkg-config
2209 JPEG_CFLAGS C compiler flags for libjpeg, overriding pkg-config
2210 JPEG_LIBS Linker flags for libjpeg, overriding pkg-config
2211 PNG_CFLAGS C compiler flags for libpng, overriding pkg-config
2212 PNG_LIBS Linker flags for libpng, overriding pkg-config
2213 TIFF_CFLAGS C compiler flags for libtiff, overriding pkg-config
2214 TIFF_LIBS Linker flags for libtiff, overriding pkg-config
2216 C compiler flags for libmpg123, overriding pkg-config
2217 MPG123_LIBS Linker flags for libmpg123, overriding pkg-config
2219 Use these variables to override the choices made by `configure' or to
help
2220 it to
find libraries and programs with nonstandard names
/locations.
2222 Report bugs to
<wine-devel@winehq.org
>.
2223 Wine home page
: <http
://www.winehq.org
>.
2228 if test "$ac_init_help" = "recursive"; then
2229 # If there are subdirs, report their specific --help.
2230 for ac_dir
in : $ac_subdirs_all; do test "x$ac_dir" = x
: && continue
2231 test -d "$ac_dir" ||
2232 { cd "$srcdir" && ac_pwd
=`pwd` && srcdir
=.
&& test -d "$ac_dir"; } ||
2237 .
) ac_dir_suffix
= ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
2239 ac_dir_suffix
=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
2240 # A ".." for each directory in $ac_dir_suffix.
2241 ac_top_builddir_sub
=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
2242 case $ac_top_builddir_sub in
2243 "") ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
2244 *) ac_top_build_prefix
=$ac_top_builddir_sub/ ;;
2247 ac_abs_top_builddir
=$ac_pwd
2248 ac_abs_builddir
=$ac_pwd$ac_dir_suffix
2249 # for backward compatibility:
2250 ac_top_builddir
=$ac_top_build_prefix
2253 .
) # We are building in place.
2255 ac_top_srcdir
=$ac_top_builddir_sub
2256 ac_abs_top_srcdir
=$ac_pwd ;;
2257 [\\/]* | ?
:[\\/]* ) # Absolute name.
2258 ac_srcdir
=$srcdir$ac_dir_suffix;
2259 ac_top_srcdir
=$srcdir
2260 ac_abs_top_srcdir
=$srcdir ;;
2262 ac_srcdir
=$ac_top_build_prefix$srcdir$ac_dir_suffix
2263 ac_top_srcdir
=$ac_top_build_prefix$srcdir
2264 ac_abs_top_srcdir
=$ac_pwd/$srcdir ;;
2266 ac_abs_srcdir
=$ac_abs_top_srcdir$ac_dir_suffix
2268 cd "$ac_dir" ||
{ ac_status
=$?
; continue; }
2269 # Check for guested configure.
2270 if test -f "$ac_srcdir/configure.gnu"; then
2272 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
2273 elif test -f "$ac_srcdir/configure"; then
2275 $SHELL "$ac_srcdir/configure" --help=recursive
2277 $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
2279 cd "$ac_pwd" ||
{ ac_status
=$?
; break; }
2283 test -n "$ac_init_help" && exit $ac_status
2284 if $ac_init_version; then
2286 Wine configure
1.7.37
2287 generated by GNU Autoconf
2.69
2289 Copyright
(C
) 2012 Free Software Foundation
, Inc.
2290 This configure
script is free software
; the Free Software Foundation
2291 gives unlimited permission to copy
, distribute and modify it.
2296 ## ------------------------ ##
2297 ## Autoconf initialization. ##
2298 ## ------------------------ ##
2300 # ac_fn_c_try_compile LINENO
2301 # --------------------------
2302 # Try to compile conftest.$ac_ext, and return whether this succeeded.
2303 ac_fn_c_try_compile
()
2305 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
2306 rm -f conftest.
$ac_objext
2307 if { { ac_try
="$ac_compile"
2309 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
2310 *) ac_try_echo=$ac_try;;
2312 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2313 $as_echo "$ac_try_echo"; } >&5
2314 (eval "$ac_compile") 2>conftest.err
2316 if test -s conftest.err; then
2317 grep -v '^ *+' conftest.err >conftest.er1
2318 cat conftest.er1 >&5
2319 mv -f conftest.er1 conftest.err
2321 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2322 test $ac_status = 0; } && {
2323 test -z "$ac_c_werror_flag" ||
2324 test ! -s conftest.err
2325 } && test -s conftest.$ac_objext; then :
2328 $as_echo "$as_me: failed program was:" >&5
2329 sed 's/^/| /' conftest.$ac_ext >&5
2333 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2334 as_fn_set_status $ac_retval
2336 } # ac_fn_c_try_compile
2338 # ac_fn_cxx_try_compile LINENO
2339 # ----------------------------
2340 # Try to compile conftest.$ac_ext, and return whether this succeeded.
2341 ac_fn_cxx_try_compile ()
2343 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2344 rm -f conftest.$ac_objext
2345 if { { ac_try="$ac_compile"
2347 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
2348 *) ac_try_echo
=$ac_try;;
2350 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2351 $as_echo "$ac_try_echo"; } >&5
2352 (eval "$ac_compile") 2>conftest.err
2354 if test -s conftest.err
; then
2355 grep -v '^ *+' conftest.err
>conftest.er1
2356 cat conftest.er1
>&5
2357 mv -f conftest.er1 conftest.err
2359 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2360 test $ac_status = 0; } && {
2361 test -z "$ac_cxx_werror_flag" ||
2362 test ! -s conftest.err
2363 } && test -s conftest.
$ac_objext; then :
2366 $as_echo "$as_me: failed program was:" >&5
2367 sed 's/^/| /' conftest.
$ac_ext >&5
2371 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2372 as_fn_set_status
$ac_retval
2374 } # ac_fn_cxx_try_compile
2376 # ac_fn_c_try_link LINENO
2377 # -----------------------
2378 # Try to link conftest.$ac_ext, and return whether this succeeded.
2381 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
2382 rm -f conftest.
$ac_objext conftest
$ac_exeext
2383 if { { ac_try
="$ac_link"
2385 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
2386 *) ac_try_echo=$ac_try;;
2388 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2389 $as_echo "$ac_try_echo"; } >&5
2390 (eval "$ac_link") 2>conftest.err
2392 if test -s conftest.err; then
2393 grep -v '^ *+' conftest.err >conftest.er1
2394 cat conftest.er1 >&5
2395 mv -f conftest.er1 conftest.err
2397 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2398 test $ac_status = 0; } && {
2399 test -z "$ac_c_werror_flag" ||
2400 test ! -s conftest.err
2401 } && test -s conftest$ac_exeext && {
2402 test "$cross_compiling" = yes ||
2403 test -x conftest$ac_exeext
2407 $as_echo "$as_me: failed program was:" >&5
2408 sed 's/^/| /' conftest.$ac_ext >&5
2412 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
2413 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
2414 # interfere with the next link command; also delete a directory that is
2415 # left behind by Apple's compiler. We do this before executing the actions.
2416 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
2417 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2418 as_fn_set_status $ac_retval
2420 } # ac_fn_c_try_link
2422 # ac_fn_c_try_cpp LINENO
2423 # ----------------------
2424 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
2427 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2428 if { { ac_try="$ac_cpp conftest.$ac_ext"
2430 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
2431 *) ac_try_echo
=$ac_try;;
2433 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2434 $as_echo "$ac_try_echo"; } >&5
2435 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
2437 if test -s conftest.err
; then
2438 grep -v '^ *+' conftest.err
>conftest.er1
2439 cat conftest.er1
>&5
2440 mv -f conftest.er1 conftest.err
2442 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2443 test $ac_status = 0; } > conftest.i
&& {
2444 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
2445 test ! -s conftest.err
2449 $as_echo "$as_me: failed program was:" >&5
2450 sed 's/^/| /' conftest.
$ac_ext >&5
2454 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2455 as_fn_set_status
$ac_retval
2459 # ac_fn_c_check_header_mongrel LINENO HEADER VAR INCLUDES
2460 # -------------------------------------------------------
2461 # Tests whether HEADER exists, giving a warning if it cannot be compiled using
2462 # the include files in INCLUDES and setting the cache variable VAR
2464 ac_fn_c_check_header_mongrel
()
2466 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
2467 if eval \
${$3+:} false
; then :
2468 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2469 $as_echo_n "checking for $2... " >&6; }
2470 if eval \
${$3+:} false
; then :
2471 $as_echo_n "(cached) " >&6
2474 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2475 $as_echo "$ac_res" >&6; }
2477 # Is the header compilable?
2478 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
2479 $as_echo_n "checking $2 usability... " >&6; }
2480 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
2481 /* end confdefs.h. */
2485 if ac_fn_c_try_compile
"$LINENO"; then :
2486 ac_header_compiler
=yes
2488 ac_header_compiler
=no
2490 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
2491 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
2492 $as_echo "$ac_header_compiler" >&6; }
2494 # Is the header present?
2495 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
2496 $as_echo_n "checking $2 presence... " >&6; }
2497 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
2498 /* end confdefs.h. */
2501 if ac_fn_c_try_cpp
"$LINENO"; then :
2502 ac_header_preproc
=yes
2504 ac_header_preproc
=no
2506 rm -f conftest.err conftest.i conftest.
$ac_ext
2507 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
2508 $as_echo "$ac_header_preproc" >&6; }
2510 # So? What about this header?
2511 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in #((
2513 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
2514 $as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
2515 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
2516 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
2519 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
2520 $as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
2521 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: check for missing prerequisite headers?" >&5
2522 $as_echo "$as_me: WARNING: $2: check for missing prerequisite headers?" >&2;}
2523 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
2524 $as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
2525 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&5
2526 $as_echo "$as_me: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&2;}
2527 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
2528 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
2529 ( $as_echo "## ------------------------------------ ##
2530 ## Report this to wine-devel@winehq.org ##
2531 ## ------------------------------------ ##"
2532 ) |
sed "s/^/$as_me: WARNING: /" >&2
2535 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2536 $as_echo_n "checking for $2... " >&6; }
2537 if eval \
${$3+:} false
; then :
2538 $as_echo_n "(cached) " >&6
2540 eval "$3=\$ac_header_compiler"
2543 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2544 $as_echo "$ac_res" >&6; }
2546 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2548 } # ac_fn_c_check_header_mongrel
2550 # ac_fn_c_try_run LINENO
2551 # ----------------------
2552 # Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
2553 # that executables *can* be run.
2556 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
2557 if { { ac_try
="$ac_link"
2559 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
2560 *) ac_try_echo=$ac_try;;
2562 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2563 $as_echo "$ac_try_echo"; } >&5
2564 (eval "$ac_link") 2>&5
2566 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2567 test $ac_status = 0; } && { ac_try='./conftest$ac_exeext'
2568 { { case "(($ac_try" in
2569 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
2570 *) ac_try_echo
=$ac_try;;
2572 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2573 $as_echo "$ac_try_echo"; } >&5
2574 (eval "$ac_try") 2>&5
2576 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2577 test $ac_status = 0; }; }; then :
2580 $as_echo "$as_me: program exited with status $ac_status" >&5
2581 $as_echo "$as_me: failed program was:" >&5
2582 sed 's/^/| /' conftest.
$ac_ext >&5
2584 ac_retval
=$ac_status
2586 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
2587 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2588 as_fn_set_status
$ac_retval
2592 # ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
2593 # -------------------------------------------------------
2594 # Tests whether HEADER exists and can be compiled using the include files in
2595 # INCLUDES, setting the cache variable VAR accordingly.
2596 ac_fn_c_check_header_compile
()
2598 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
2599 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2600 $as_echo_n "checking for $2... " >&6; }
2601 if eval \
${$3+:} false
; then :
2602 $as_echo_n "(cached) " >&6
2604 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
2605 /* end confdefs.h. */
2609 if ac_fn_c_try_compile
"$LINENO"; then :
2614 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
2617 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2618 $as_echo "$ac_res" >&6; }
2619 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2621 } # ac_fn_c_check_header_compile
2623 # ac_fn_c_check_func LINENO FUNC VAR
2624 # ----------------------------------
2625 # Tests whether FUNC exists, setting the cache variable VAR accordingly
2626 ac_fn_c_check_func
()
2628 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
2629 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2630 $as_echo_n "checking for $2... " >&6; }
2631 if eval \
${$3+:} false
; then :
2632 $as_echo_n "(cached) " >&6
2634 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
2635 /* end confdefs.h. */
2636 /* Define $2 to an innocuous variant, in case <limits.h> declares $2.
2637 For example, HP-UX 11i <limits.h> declares gettimeofday. */
2638 #define $2 innocuous_$2
2640 /* System header to define __stub macros and hopefully few prototypes,
2641 which can conflict with char $2 (); below.
2642 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
2643 <limits.h> exists even on freestanding compilers. */
2646 # include <limits.h>
2648 # include <assert.h>
2653 /* Override any GCC internal prototype to avoid an error.
2654 Use char because int might match the return type of a GCC
2655 builtin and then its argument prototype would still apply. */
2660 /* The GNU C library defines this for functions which it implements
2661 to always fail with ENOSYS. Some functions are actually named
2662 something starting with __ and the normal name is an alias. */
2663 #if defined __stub_$2 || defined __stub___$2
2675 if ac_fn_c_try_link
"$LINENO"; then :
2680 rm -f core conftest.err conftest.
$ac_objext \
2681 conftest
$ac_exeext conftest.
$ac_ext
2684 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2685 $as_echo "$ac_res" >&6; }
2686 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2688 } # ac_fn_c_check_func
2690 # ac_fn_c_check_member LINENO AGGR MEMBER VAR INCLUDES
2691 # ----------------------------------------------------
2692 # Tries to find if the field MEMBER exists in type AGGR, after including
2693 # INCLUDES, setting cache variable VAR accordingly.
2694 ac_fn_c_check_member
()
2696 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
2697 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2.$3" >&5
2698 $as_echo_n "checking for $2.$3... " >&6; }
2699 if eval \
${$4+:} false
; then :
2700 $as_echo_n "(cached) " >&6
2702 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
2703 /* end confdefs.h. */
2715 if ac_fn_c_try_compile
"$LINENO"; then :
2718 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
2719 /* end confdefs.h. */
2725 if (sizeof ac_aggr.$3)
2731 if ac_fn_c_try_compile
"$LINENO"; then :
2736 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
2738 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
2741 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2742 $as_echo "$ac_res" >&6; }
2743 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2745 } # ac_fn_c_check_member
2747 # ac_fn_c_check_type LINENO TYPE VAR INCLUDES
2748 # -------------------------------------------
2749 # Tests whether TYPE exists after having included INCLUDES, setting cache
2750 # variable VAR accordingly.
2751 ac_fn_c_check_type
()
2753 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
2754 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2755 $as_echo_n "checking for $2... " >&6; }
2756 if eval \
${$3+:} false
; then :
2757 $as_echo_n "(cached) " >&6
2760 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
2761 /* end confdefs.h. */
2772 if ac_fn_c_try_compile
"$LINENO"; then :
2773 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
2774 /* end confdefs.h. */
2785 if ac_fn_c_try_compile
"$LINENO"; then :
2790 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
2792 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
2795 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2796 $as_echo "$ac_res" >&6; }
2797 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2799 } # ac_fn_c_check_type
2800 cat >config.log
<<_ACEOF
2801 This file contains any messages produced by compilers while
2802 running configure, to aid debugging if configure makes a mistake.
2804 It was created by Wine $as_me 1.7.37, which was
2805 generated by GNU Autoconf 2.69. Invocation command line was
2817 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
2818 uname -m = `(uname -m) 2>/dev/null || echo unknown`
2819 uname -r = `(uname -r) 2>/dev/null || echo unknown`
2820 uname -s = `(uname -s) 2>/dev/null || echo unknown`
2821 uname -v = `(uname -v) 2>/dev/null || echo unknown`
2823 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
2824 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
2826 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
2827 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
2828 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
2829 /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
2830 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
2831 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
2832 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
2836 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2840 test -z "$as_dir" && as_dir
=.
2841 $as_echo "PATH: $as_dir"
2857 # Keep a trace of the command line.
2858 # Strip out --no-create and --no-recursion so they do not pile up.
2859 # Strip out --silent because we don't want to record it for future runs.
2860 # Also quote any args containing shell meta-characters.
2861 # Make two passes to allow for proper duplicate-argument suppression.
2865 ac_must_keep_next
=false
2871 -no-create |
--no-c* |
-n |
-no-recursion |
--no-r*) continue ;;
2872 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
2873 |
-silent |
--silent |
--silen |
--sile |
--sil)
2876 ac_arg
=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
2879 1) as_fn_append ac_configure_args0
" '$ac_arg'" ;;
2881 as_fn_append ac_configure_args1
" '$ac_arg'"
2882 if test $ac_must_keep_next = true
; then
2883 ac_must_keep_next
=false
# Got value, back to normal.
2886 *=* |
--config-cache |
-C |
-disable-* |
--disable-* \
2887 |
-enable-* |
--enable-* |
-gas |
--g* |
-nfp |
--nf* \
2888 |
-q |
-quiet |
--q* |
-silent |
--sil* |
-v |
-verb* \
2889 |
-with-* |
--with-* |
-without-* |
--without-* |
--x)
2890 case "$ac_configure_args0 " in
2891 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
2894 -* ) ac_must_keep_next
=true
;;
2897 as_fn_append ac_configure_args
" '$ac_arg'"
2902 { ac_configure_args0
=; unset ac_configure_args0
;}
2903 { ac_configure_args1
=; unset ac_configure_args1
;}
2905 # When interrupted or exit'd, cleanup temporary files, and complete
2906 # config.log. We remove comments because anyway the quotes in there
2907 # would cause problems or look ugly.
2908 # WARNING: Use '\'' to represent an apostrophe within the trap.
2909 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
2910 trap 'exit_status=$?
2911 # Save into config.log some information that might help in debugging.
2915 $as_echo "## ---------------- ##
2916 ## Cache variables. ##
2917 ## ---------------- ##"
2919 # The following way of writing the cache mishandles newlines in values,
2921 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
2922 eval ac_val=\$$ac_var
2926 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
2927 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
2930 _ | IFS | as_nl) ;; #(
2931 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
2932 *) { eval $ac_var=; unset $ac_var;} ;;
2937 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
2938 *${as_nl}ac_space=\ *)
2940 "s/'\''/'\''\\\\'\'''\''/g;
2941 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
2944 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
2951 $as_echo "## ----------------- ##
2952 ## Output variables. ##
2953 ## ----------------- ##"
2955 for ac_var in $ac_subst_vars
2957 eval ac_val=\$$ac_var
2959 *\'\''*) ac_val
=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2961 $as_echo "$ac_var='\''$ac_val'\''"
2965 if test -n "$ac_subst_files"; then
2966 $as_echo "## ------------------- ##
2967 ## File substitutions. ##
2968 ## ------------------- ##"
2970 for ac_var
in $ac_subst_files
2972 eval ac_val
=\$
$ac_var
2974 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2976 $as_echo "$ac_var='\''$ac_val'\''"
2981 if test -s confdefs.h; then
2982 $as_echo "## ----------- ##
2989 test "$ac_signal" != 0 &&
2990 $as_echo "$as_me: caught signal $ac_signal"
2991 $as_echo "$as_me: exit $exit_status"
2993 rm -f core *.core core.conftest.* &&
2994 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
2997 for ac_signal
in 1 2 13 15; do
2998 trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
3002 # confdefs.h avoids OS command line length limits that DEFS can exceed.
3003 rm -f -r conftest
* confdefs.h
3005 $as_echo "/* confdefs.h */" > confdefs.h
3007 # Predefined preprocessor variables.
3009 cat >>confdefs.h
<<_ACEOF
3010 #define PACKAGE_NAME "$PACKAGE_NAME"
3013 cat >>confdefs.h
<<_ACEOF
3014 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
3017 cat >>confdefs.h
<<_ACEOF
3018 #define PACKAGE_VERSION "$PACKAGE_VERSION"
3021 cat >>confdefs.h
<<_ACEOF
3022 #define PACKAGE_STRING "$PACKAGE_STRING"
3025 cat >>confdefs.h
<<_ACEOF
3026 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
3029 cat >>confdefs.h
<<_ACEOF
3030 #define PACKAGE_URL "$PACKAGE_URL"
3034 # Let the site file select an alternate cache file if it wants to.
3035 # Prefer an explicitly selected file to automatically selected ones.
3038 if test -n "$CONFIG_SITE"; then
3039 # We do not want a PATH search for config.site.
3040 case $CONFIG_SITE in #((
3041 -*) ac_site_file1
=.
/$CONFIG_SITE;;
3042 */*) ac_site_file1
=$CONFIG_SITE;;
3043 *) ac_site_file1
=.
/$CONFIG_SITE;;
3045 elif test "x$prefix" != xNONE
; then
3046 ac_site_file1
=$prefix/share
/config.site
3047 ac_site_file2
=$prefix/etc
/config.site
3049 ac_site_file1
=$ac_default_prefix/share
/config.site
3050 ac_site_file2
=$ac_default_prefix/etc
/config.site
3052 for ac_site_file
in "$ac_site_file1" "$ac_site_file2"
3054 test "x$ac_site_file" = xNONE
&& continue
3055 if test /dev
/null
!= "$ac_site_file" && test -r "$ac_site_file"; then
3056 { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
3057 $as_echo "$as_me: loading site script $ac_site_file" >&6;}
3058 sed 's/^/| /' "$ac_site_file" >&5
3060 ||
{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3061 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3062 as_fn_error $?
"failed to load site script $ac_site_file
3063 See \`config.log' for more details" "$LINENO" 5; }
3067 if test -r "$cache_file"; then
3068 # Some versions of bash will fail to source /dev/null (special files
3069 # actually), so we avoid doing that. DJGPP emulates it as a regular file.
3070 if test /dev
/null
!= "$cache_file" && test -f "$cache_file"; then
3071 { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
3072 $as_echo "$as_me: loading cache $cache_file" >&6;}
3074 [\\/]* | ?
:[\\/]* ) .
"$cache_file";;
3075 *) .
"./$cache_file";;
3079 { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
3080 $as_echo "$as_me: creating cache $cache_file" >&6;}
3084 # Check that the precious variables saved in the cache have kept the same
3086 ac_cache_corrupted
=false
3087 for ac_var
in $ac_precious_vars; do
3088 eval ac_old_set
=\
$ac_cv_env_${ac_var}_set
3089 eval ac_new_set
=\
$ac_env_${ac_var}_set
3090 eval ac_old_val
=\
$ac_cv_env_${ac_var}_value
3091 eval ac_new_val
=\
$ac_env_${ac_var}_value
3092 case $ac_old_set,$ac_new_set in
3094 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
3095 $as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
3096 ac_cache_corrupted
=: ;;
3098 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
3099 $as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
3100 ac_cache_corrupted
=: ;;
3103 if test "x$ac_old_val" != "x$ac_new_val"; then
3104 # differences in whitespace do not lead to failure.
3105 ac_old_val_w
=`echo x $ac_old_val`
3106 ac_new_val_w
=`echo x $ac_new_val`
3107 if test "$ac_old_val_w" != "$ac_new_val_w"; then
3108 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
3109 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
3110 ac_cache_corrupted
=:
3112 { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
3113 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
3114 eval $ac_var=\
$ac_old_val
3116 { $as_echo "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5
3117 $as_echo "$as_me: former value: \`$ac_old_val'" >&2;}
3118 { $as_echo "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5
3119 $as_echo "$as_me: current value: \`$ac_new_val'" >&2;}
3122 # Pass precious variables to config.status.
3123 if test "$ac_new_set" = set; then
3125 *\'*) ac_arg
=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
3126 *) ac_arg
=$ac_var=$ac_new_val ;;
3128 case " $ac_configure_args " in
3129 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
3130 *) as_fn_append ac_configure_args
" '$ac_arg'" ;;
3134 if $ac_cache_corrupted; then
3135 { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3136 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3137 { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
3138 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
3139 as_fn_error $?
"run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
3141 ## -------------------- ##
3142 ## Main body of script. ##
3143 ## -------------------- ##
3146 ac_cpp
='$CPP $CPPFLAGS'
3147 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3148 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3149 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
3153 ac_config_headers
="$ac_config_headers include/config.h"
3156 for ac_dir
in tools
"$srcdir"/tools
; do
3157 if test -f "$ac_dir/install-sh"; then
3159 ac_install_sh
="$ac_aux_dir/install-sh -c"
3161 elif test -f "$ac_dir/install.sh"; then
3163 ac_install_sh
="$ac_aux_dir/install.sh -c"
3165 elif test -f "$ac_dir/shtool"; then
3167 ac_install_sh
="$ac_aux_dir/shtool install -c"
3171 if test -z "$ac_aux_dir"; then
3172 as_fn_error $?
"cannot find install-sh, install.sh, or shtool in tools \"$srcdir\"/tools" "$LINENO" 5
3175 # These three variables are undocumented and unsupported,
3176 # and are intended to be withdrawn in a future Autoconf release.
3177 # They can cause serious problems if a builder's source tree is in a directory
3178 # whose full name contains unusual characters.
3179 ac_config_guess
="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
3180 ac_config_sub
="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
3181 ac_configure
="$SHELL $ac_aux_dir/configure" # Please don't use this var.
3185 libwine_version
="1.0"
3189 # Check whether --enable-win16 was given.
3190 if test "${enable_win16+set}" = set; then :
3191 enableval
=$enable_win16;
3194 # Check whether --enable-win64 was given.
3195 if test "${enable_win64+set}" = set; then :
3196 enableval
=$enable_win64;
3199 # Check whether --enable-tests was given.
3200 if test "${enable_tests+set}" = set; then :
3201 enableval
=$enable_tests;
3204 # Check whether --enable-maintainer-mode was given.
3205 if test "${enable_maintainer_mode+set}" = set; then :
3206 enableval
=$enable_maintainer_mode;
3211 # Check whether --with-alsa was given.
3212 if test "${with_alsa+set}" = set; then :
3213 withval
=$with_alsa; if test "x$withval" = "xno"; then ac_cv_header_sys_asoundlib_h
=no
; ac_cv_header_alsa_asoundlib_h
=no
; fi
3217 # Check whether --with-capi was given.
3218 if test "${with_capi+set}" = set; then :
3223 # Check whether --with-cms was given.
3224 if test "${with_cms+set}" = set; then :
3229 # Check whether --with-coreaudio was given.
3230 if test "${with_coreaudio+set}" = set; then :
3231 withval
=$with_coreaudio; if test "x$withval" = "xno"; then ac_cv_header_CoreAudio_CoreAudio_h
=no
; fi
3235 # Check whether --with-cups was given.
3236 if test "${with_cups+set}" = set; then :
3241 # Check whether --with-curses was given.
3242 if test "${with_curses+set}" = set; then :
3243 withval
=$with_curses; if test "x$withval" = "xno"; then ac_cv_header_ncurses_h
=no
; ac_cv_header_curses_h
=no
; fi
3247 # Check whether --with-dbus was given.
3248 if test "${with_dbus+set}" = set; then :
3253 # Check whether --with-fontconfig was given.
3254 if test "${with_fontconfig+set}" = set; then :
3255 withval
=$with_fontconfig;
3259 # Check whether --with-freetype was given.
3260 if test "${with_freetype+set}" = set; then :
3261 withval
=$with_freetype;
3265 # Check whether --with-gettext was given.
3266 if test "${with_gettext+set}" = set; then :
3267 withval
=$with_gettext;
3271 # Check whether --with-gettextpo was given.
3272 if test "${with_gettextpo+set}" = set; then :
3273 withval
=$with_gettextpo; if test "x$withval" = "xno"; then ac_cv_header_gettext_po_h
=no
; fi
3277 # Check whether --with-gphoto was given.
3278 if test "${with_gphoto+set}" = set; then :
3279 withval
=$with_gphoto;
3283 # Check whether --with-glu was given.
3284 if test "${with_glu+set}" = set; then :
3289 # Check whether --with-gnutls was given.
3290 if test "${with_gnutls+set}" = set; then :
3291 withval
=$with_gnutls;
3295 # Check whether --with-gsm was given.
3296 if test "${with_gsm+set}" = set; then :
3297 withval
=$with_gsm; if test "x$withval" = "xno"; then ac_cv_header_gsm_h
=no
; ac_cv_header_gsm_gsm_h
=no
; fi
3301 # Check whether --with-gstreamer was given.
3302 if test "${with_gstreamer+set}" = set; then :
3303 withval
=$with_gstreamer;
3307 # Check whether --with-hal was given.
3308 if test "${with_hal+set}" = set; then :
3313 # Check whether --with-jpeg was given.
3314 if test "${with_jpeg+set}" = set; then :
3319 # Check whether --with-ldap was given.
3320 if test "${with_ldap+set}" = set; then :
3321 withval
=$with_ldap; if test "x$withval" = "xno"; then ac_cv_header_ldap_h
=no
; ac_cv_header_lber_h
=no
; fi
3325 # Check whether --with-mpg123 was given.
3326 if test "${with_mpg123+set}" = set; then :
3327 withval
=$with_mpg123;
3331 # Check whether --with-netapi was given.
3332 if test "${with_netapi+set}" = set; then :
3333 withval
=$with_netapi;
3337 # Check whether --with-openal was given.
3338 if test "${with_openal+set}" = set; then :
3339 withval
=$with_openal; if test "x$withval" = "xno"; then ac_cv_header_AL_al_h
=no
; ac_cv_header_OpenAL_al_h
=no
; fi
3343 # Check whether --with-opencl was given.
3344 if test "${with_opencl+set}" = set; then :
3345 withval
=$with_opencl; if test "x$withval" = "xno"; then ac_cv_header_CL_cl_h
=no
; ac_cv_header_OpenCL_opencl_h
=no
; fi
3349 # Check whether --with-opengl was given.
3350 if test "${with_opengl+set}" = set; then :
3351 withval
=$with_opengl;
3355 # Check whether --with-osmesa was given.
3356 if test "${with_osmesa+set}" = set; then :
3357 withval
=$with_osmesa;
3361 # Check whether --with-oss was given.
3362 if test "${with_oss+set}" = set; then :
3367 # Check whether --with-pcap was given.
3368 if test "${with_pcap+set}" = set; then :
3369 withval
=$with_pcap; if test "x$withval" = "xno"; then ac_cv_header_pcap_pcap_h
=no
; fi
3373 # Check whether --with-png was given.
3374 if test "${with_png+set}" = set; then :
3379 # Check whether --with-pthread was given.
3380 if test "${with_pthread+set}" = set; then :
3381 withval
=$with_pthread; if test "x$withval" = "xno"; then ac_cv_header_pthread_h
=no
; fi
3385 # Check whether --with-sane was given.
3386 if test "${with_sane+set}" = set; then :
3391 # Check whether --with-tiff was given.
3392 if test "${with_tiff+set}" = set; then :
3397 # Check whether --with-v4l was given.
3398 if test "${with_v4l+set}" = set; then :
3403 # Check whether --with-xcomposite was given.
3404 if test "${with_xcomposite+set}" = set; then :
3405 withval
=$with_xcomposite; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xcomposite_h
=no
; fi
3409 # Check whether --with-xcursor was given.
3410 if test "${with_xcursor+set}" = set; then :
3411 withval
=$with_xcursor; if test "x$withval" = "xno"; then ac_cv_header_X11_Xcursor_Xcursor_h
=no
; fi
3415 # Check whether --with-xinerama was given.
3416 if test "${with_xinerama+set}" = set; then :
3417 withval
=$with_xinerama; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xinerama_h
=no
; fi
3421 # Check whether --with-xinput was given.
3422 if test "${with_xinput+set}" = set; then :
3423 withval
=$with_xinput; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_XInput_h
=no
; fi
3427 # Check whether --with-xinput2 was given.
3428 if test "${with_xinput2+set}" = set; then :
3429 withval
=$with_xinput2; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_XInput2_h
=no
; fi
3433 # Check whether --with-xml was given.
3434 if test "${with_xml+set}" = set; then :
3439 # Check whether --with-xrandr was given.
3440 if test "${with_xrandr+set}" = set; then :
3441 withval
=$with_xrandr; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xrandr_h
=no
; fi
3445 # Check whether --with-xrender was given.
3446 if test "${with_xrender+set}" = set; then :
3447 withval
=$with_xrender; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xrender_h
=no
; fi
3451 # Check whether --with-xshape was given.
3452 if test "${with_xshape+set}" = set; then :
3453 withval
=$with_xshape; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_shape_h
=no
; fi
3457 # Check whether --with-xshm was given.
3458 if test "${with_xshm+set}" = set; then :
3459 withval
=$with_xshm; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_XShm_h
=no
; fi
3463 # Check whether --with-xslt was given.
3464 if test "${with_xslt+set}" = set; then :
3469 # Check whether --with-xxf86vm was given.
3470 if test "${with_xxf86vm+set}" = set; then :
3471 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
3475 # Check whether --with-zlib was given.
3476 if test "${with_zlib+set}" = set; then :
3477 withval
=$with_zlib; if test "x$withval" = "xno"; then ac_cv_header_zlib_h
=no
; fi
3482 # Check whether --with-wine-tools was given.
3483 if test "${with_wine_tools+set}" = set; then :
3484 withval
=$with_wine_tools;
3488 # Check whether --with-wine64 was given.
3489 if test "${with_wine64+set}" = set; then :
3490 withval
=$with_wine64;
3494 # Make sure we can run config.sub.
3495 $SHELL "$ac_aux_dir/config.sub" sun4
>/dev
/null
2>&1 ||
3496 as_fn_error $?
"cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
3498 { $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
3499 $as_echo_n "checking build system type... " >&6; }
3500 if ${ac_cv_build+:} false
; then :
3501 $as_echo_n "(cached) " >&6
3503 ac_build_alias
=$build_alias
3504 test "x$ac_build_alias" = x
&&
3505 ac_build_alias
=`$SHELL "$ac_aux_dir/config.guess"`
3506 test "x$ac_build_alias" = x
&&
3507 as_fn_error $?
"cannot guess build type; you must specify one" "$LINENO" 5
3508 ac_cv_build
=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
3509 as_fn_error $?
"$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
3512 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
3513 $as_echo "$ac_cv_build" >&6; }
3514 case $ac_cv_build in
3516 *) as_fn_error $?
"invalid value of canonical build" "$LINENO" 5;;
3519 ac_save_IFS
=$IFS; IFS
='-'
3525 # Remember, the first character of IFS is used to create $*,
3526 # except with old shells:
3529 case $build_os in *\
*) build_os
=`echo "$build_os" | sed 's/ /-/g'`;; esac
3532 { $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
3533 $as_echo_n "checking host system type... " >&6; }
3534 if ${ac_cv_host+:} false
; then :
3535 $as_echo_n "(cached) " >&6
3537 if test "x$host_alias" = x
; then
3538 ac_cv_host
=$ac_cv_build
3540 ac_cv_host
=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
3541 as_fn_error $?
"$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
3545 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
3546 $as_echo "$ac_cv_host" >&6; }
3549 *) as_fn_error $?
"invalid value of canonical host" "$LINENO" 5;;
3552 ac_save_IFS
=$IFS; IFS
='-'
3558 # Remember, the first character of IFS is used to create $*,
3559 # except with old shells:
3562 case $host_os in *\
*) host_os
=`echo "$host_os" | sed 's/ /-/g'`;; esac
3568 *) if test -f "$srcdir/Makefile" -o -f "$srcdir/include/config.h"; then
3569 as_fn_error $?
"you are building out of the source tree, but the source tree contains object files.
3570 You need to run 'make distclean' in the source tree first." "$LINENO" 5
3575 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
3576 $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
3578 ac_make
=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
3579 if eval \
${ac_cv_prog_make_${ac_make}_set+:} false
; then :
3580 $as_echo_n "(cached) " >&6
3582 cat >conftest.
make <<\_ACEOF
3585 @
echo '@@@%%%=$(MAKE)=@@@%%%'
3587 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
3588 case `${MAKE-make} -f conftest.make 2>/dev/null` in
3590 eval ac_cv_prog_make_
${ac_make}_set
=yes;;
3592 eval ac_cv_prog_make_
${ac_make}_set
=no
;;
3596 if eval test \
$ac_cv_prog_make_${ac_make}_set
= yes; then
3597 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3598 $as_echo "yes" >&6; }
3601 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3602 $as_echo "no" >&6; }
3603 SET_MAKE
="MAKE=${MAKE-make}"
3607 ac_cpp
='$CPP $CPPFLAGS'
3608 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3609 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3610 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
3611 if test -n "$ac_tool_prefix"; then
3612 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
3613 set dummy
${ac_tool_prefix}gcc
; ac_word
=$2
3614 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3615 $as_echo_n "checking for $ac_word... " >&6; }
3616 if ${ac_cv_prog_CC+:} false
; then :
3617 $as_echo_n "(cached) " >&6
3619 if test -n "$CC"; then
3620 ac_cv_prog_CC
="$CC" # Let the user override the test.
3622 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3626 test -z "$as_dir" && as_dir
=.
3627 for ac_exec_ext
in '' $ac_executable_extensions; do
3628 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
3629 ac_cv_prog_CC
="${ac_tool_prefix}gcc"
3630 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3640 if test -n "$CC"; then
3641 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3642 $as_echo "$CC" >&6; }
3644 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3645 $as_echo "no" >&6; }
3650 if test -z "$ac_cv_prog_CC"; then
3652 # Extract the first word of "gcc", so it can be a program name with args.
3653 set dummy gcc
; ac_word
=$2
3654 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3655 $as_echo_n "checking for $ac_word... " >&6; }
3656 if ${ac_cv_prog_ac_ct_CC+:} false
; then :
3657 $as_echo_n "(cached) " >&6
3659 if test -n "$ac_ct_CC"; then
3660 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
3662 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3666 test -z "$as_dir" && as_dir
=.
3667 for ac_exec_ext
in '' $ac_executable_extensions; do
3668 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
3669 ac_cv_prog_ac_ct_CC
="gcc"
3670 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3679 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
3680 if test -n "$ac_ct_CC"; then
3681 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3682 $as_echo "$ac_ct_CC" >&6; }
3684 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3685 $as_echo "no" >&6; }
3688 if test "x$ac_ct_CC" = x
; then
3691 case $cross_compiling:$ac_tool_warned in
3693 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3694 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3695 ac_tool_warned
=yes ;;
3703 if test -z "$CC"; then
3704 if test -n "$ac_tool_prefix"; then
3705 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
3706 set dummy
${ac_tool_prefix}cc
; ac_word
=$2
3707 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3708 $as_echo_n "checking for $ac_word... " >&6; }
3709 if ${ac_cv_prog_CC+:} false
; then :
3710 $as_echo_n "(cached) " >&6
3712 if test -n "$CC"; then
3713 ac_cv_prog_CC
="$CC" # Let the user override the test.
3715 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3719 test -z "$as_dir" && as_dir
=.
3720 for ac_exec_ext
in '' $ac_executable_extensions; do
3721 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
3722 ac_cv_prog_CC
="${ac_tool_prefix}cc"
3723 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3733 if test -n "$CC"; then
3734 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3735 $as_echo "$CC" >&6; }
3737 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3738 $as_echo "no" >&6; }
3744 if test -z "$CC"; then
3745 # Extract the first word of "cc", so it can be a program name with args.
3746 set dummy cc
; ac_word
=$2
3747 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3748 $as_echo_n "checking for $ac_word... " >&6; }
3749 if ${ac_cv_prog_CC+:} false
; then :
3750 $as_echo_n "(cached) " >&6
3752 if test -n "$CC"; then
3753 ac_cv_prog_CC
="$CC" # Let the user override the test.
3756 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3760 test -z "$as_dir" && as_dir
=.
3761 for ac_exec_ext
in '' $ac_executable_extensions; do
3762 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
3763 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
3764 ac_prog_rejected
=yes
3768 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3775 if test $ac_prog_rejected = yes; then
3776 # We found a bogon in the path, so make sure we never use it.
3777 set dummy
$ac_cv_prog_CC
3779 if test $# != 0; then
3780 # We chose a different compiler from the bogus one.
3781 # However, it has the same basename, so the bogon will be chosen
3782 # first if we set CC to just the basename; use the full file name.
3784 ac_cv_prog_CC
="$as_dir/$ac_word${1+' '}$@"
3790 if test -n "$CC"; then
3791 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3792 $as_echo "$CC" >&6; }
3794 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3795 $as_echo "no" >&6; }
3800 if test -z "$CC"; then
3801 if test -n "$ac_tool_prefix"; then
3802 for ac_prog
in cl.exe
3804 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
3805 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
3806 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3807 $as_echo_n "checking for $ac_word... " >&6; }
3808 if ${ac_cv_prog_CC+:} false
; then :
3809 $as_echo_n "(cached) " >&6
3811 if test -n "$CC"; then
3812 ac_cv_prog_CC
="$CC" # Let the user override the test.
3814 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3818 test -z "$as_dir" && as_dir
=.
3819 for ac_exec_ext
in '' $ac_executable_extensions; do
3820 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
3821 ac_cv_prog_CC
="$ac_tool_prefix$ac_prog"
3822 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3832 if test -n "$CC"; then
3833 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3834 $as_echo "$CC" >&6; }
3836 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3837 $as_echo "no" >&6; }
3841 test -n "$CC" && break
3844 if test -z "$CC"; then
3846 for ac_prog
in cl.exe
3848 # Extract the first word of "$ac_prog", so it can be a program name with args.
3849 set dummy
$ac_prog; ac_word
=$2
3850 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3851 $as_echo_n "checking for $ac_word... " >&6; }
3852 if ${ac_cv_prog_ac_ct_CC+:} false
; then :
3853 $as_echo_n "(cached) " >&6
3855 if test -n "$ac_ct_CC"; then
3856 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
3858 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3862 test -z "$as_dir" && as_dir
=.
3863 for ac_exec_ext
in '' $ac_executable_extensions; do
3864 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
3865 ac_cv_prog_ac_ct_CC
="$ac_prog"
3866 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3875 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
3876 if test -n "$ac_ct_CC"; then
3877 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3878 $as_echo "$ac_ct_CC" >&6; }
3880 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3881 $as_echo "no" >&6; }
3885 test -n "$ac_ct_CC" && break
3888 if test "x$ac_ct_CC" = x
; then
3891 case $cross_compiling:$ac_tool_warned in
3893 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3894 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3895 ac_tool_warned
=yes ;;
3904 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3905 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3906 as_fn_error $?
"no acceptable C compiler found in \$PATH
3907 See \`config.log' for more details" "$LINENO" 5; }
3909 # Provide some information about the compiler.
3910 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
3913 for ac_option
in --version -v -V -qversion; do
3914 { { ac_try
="$ac_compiler $ac_option >&5"
3916 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
3917 *) ac_try_echo=$ac_try;;
3919 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3920 $as_echo "$ac_try_echo"; } >&5
3921 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
3923 if test -s conftest.err; then
3925 ... rest of stderr output deleted ...
3926 10q' conftest.err >conftest.er1
3927 cat conftest.er1 >&5
3929 rm -f conftest.er1 conftest.err
3930 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3931 test $ac_status = 0; }
3934 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3935 /* end confdefs.h. */
3945 ac_clean_files_save=$ac_clean_files
3946 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
3947 # Try to create an executable without -o first, disregard a.out.
3948 # It will help us diagnose broken compilers, and finding out an intuition
3950 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
3951 $as_echo_n "checking whether the C compiler works... " >&6; }
3952 ac_link_default=`$as_echo "$ac_link" |
sed 's/ -o *conftest[^ ]*//'`
3954 # The possible output files:
3955 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
3958 for ac_file in $ac_files
3961 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
3962 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
3967 if { { ac_try="$ac_link_default"
3969 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
3970 *) ac_try_echo
=$ac_try;;
3972 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3973 $as_echo "$ac_try_echo"; } >&5
3974 (eval "$ac_link_default") 2>&5
3976 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3977 test $ac_status = 0; }; then :
3978 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
3979 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
3980 # in a Makefile. We should not override ac_cv_exeext if it was cached,
3981 # so that the user can short-circuit this test for compilers unknown to
3983 for ac_file
in $ac_files ''
3985 test -f "$ac_file" ||
continue
3987 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg |
*.map |
*.inf |
*.dSYM |
*.o |
*.obj
)
3990 # We found the default executable, but exeext='' is most
3994 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no
;
3996 ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
3998 # We set ac_cv_exeext here because the later test for it is not
3999 # safe: cross compilers may not add the suffix if given an `-o'
4000 # argument, so we may need to know it at that point already.
4001 # Even if this section looks crufty: it has the advantage of
4008 test "$ac_cv_exeext" = no
&& ac_cv_exeext
=
4013 if test -z "$ac_file"; then :
4014 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4015 $as_echo "no" >&6; }
4016 $as_echo "$as_me: failed program was:" >&5
4017 sed 's/^/| /' conftest.
$ac_ext >&5
4019 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4020 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4021 as_fn_error
77 "C compiler cannot create executables
4022 See \`config.log' for more details" "$LINENO" 5; }
4024 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4025 $as_echo "yes" >&6; }
4027 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
4028 $as_echo_n "checking for C compiler default output file name... " >&6; }
4029 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
4030 $as_echo "$ac_file" >&6; }
4031 ac_exeext
=$ac_cv_exeext
4033 rm -f -r a.out a.out.dSYM a.exe conftest
$ac_cv_exeext b.out
4034 ac_clean_files
=$ac_clean_files_save
4035 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
4036 $as_echo_n "checking for suffix of executables... " >&6; }
4037 if { { ac_try
="$ac_link"
4039 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
4040 *) ac_try_echo=$ac_try;;
4042 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4043 $as_echo "$ac_try_echo"; } >&5
4044 (eval "$ac_link") 2>&5
4046 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4047 test $ac_status = 0; }; then :
4048 # If both `conftest.exe
' and `conftest' are
`present' (well, observable)
4049 # catch `conftest.exe
'. For instance with Cygwin, `ls conftest' will
4050 # work properly (i.e., refer to `conftest.exe'), while it won't with
4052 for ac_file
in conftest.exe conftest conftest.
*; do
4053 test -f "$ac_file" ||
continue
4055 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg |
*.map |
*.inf |
*.dSYM |
*.o |
*.obj
) ;;
4056 *.
* ) ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
4062 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4063 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4064 as_fn_error $?
"cannot compute suffix of executables: cannot compile and link
4065 See \`config.log' for more details" "$LINENO" 5; }
4067 rm -f conftest conftest
$ac_cv_exeext
4068 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
4069 $as_echo "$ac_cv_exeext" >&6; }
4071 rm -f conftest.
$ac_ext
4072 EXEEXT
=$ac_cv_exeext
4074 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4075 /* end confdefs.h. */
4080 FILE *f = fopen ("conftest.out", "w");
4081 return ferror (f) || fclose (f) != 0;
4087 ac_clean_files
="$ac_clean_files conftest.out"
4088 # Check that the compiler produces executables we can run. If not, either
4089 # the compiler is broken, or we cross compile.
4090 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
4091 $as_echo_n "checking whether we are cross compiling... " >&6; }
4092 if test "$cross_compiling" != yes; then
4093 { { ac_try
="$ac_link"
4095 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
4096 *) ac_try_echo=$ac_try;;
4098 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4099 $as_echo "$ac_try_echo"; } >&5
4100 (eval "$ac_link") 2>&5
4102 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4103 test $ac_status = 0; }
4104 if { ac_try='./conftest$ac_cv_exeext'
4105 { { case "(($ac_try" in
4106 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
4107 *) ac_try_echo
=$ac_try;;
4109 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4110 $as_echo "$ac_try_echo"; } >&5
4111 (eval "$ac_try") 2>&5
4113 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4114 test $ac_status = 0; }; }; then
4117 if test "$cross_compiling" = maybe
; then
4120 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4121 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4122 as_fn_error $?
"cannot run C compiled programs.
4123 If you meant to cross compile, use \`--host'.
4124 See \`config.log' for more details" "$LINENO" 5; }
4128 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
4129 $as_echo "$cross_compiling" >&6; }
4131 rm -f conftest.
$ac_ext conftest
$ac_cv_exeext conftest.out
4132 ac_clean_files
=$ac_clean_files_save
4133 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
4134 $as_echo_n "checking for suffix of object files... " >&6; }
4135 if ${ac_cv_objext+:} false
; then :
4136 $as_echo_n "(cached) " >&6
4138 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4139 /* end confdefs.h. */
4149 rm -f conftest.o conftest.obj
4150 if { { ac_try
="$ac_compile"
4152 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
4153 *) ac_try_echo=$ac_try;;
4155 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4156 $as_echo "$ac_try_echo"; } >&5
4157 (eval "$ac_compile") 2>&5
4159 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4160 test $ac_status = 0; }; then :
4161 for ac_file in conftest.o conftest.obj conftest.*; do
4162 test -f "$ac_file" || continue;
4164 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
4165 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
4170 $as_echo "$as_me: failed program was:" >&5
4171 sed 's/^/| /' conftest.$ac_ext >&5
4173 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4174 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4175 as_fn_error $? "cannot compute suffix of object files
: cannot compile
4176 See \
`config.log' for more details" "$LINENO" 5; }
4178 rm -f conftest.$ac_cv_objext conftest.$ac_ext
4180 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
4181 $as_echo "$ac_cv_objext" >&6; }
4182 OBJEXT=$ac_cv_objext
4184 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
4185 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
4186 if ${ac_cv_c_compiler_gnu+:} false; then :
4187 $as_echo_n "(cached) " >&6
4189 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4190 /* end confdefs.h. */
4203 if ac_fn_c_try_compile "$LINENO"; then :
4208 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4209 ac_cv_c_compiler_gnu=$ac_compiler_gnu
4212 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
4213 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
4214 if test $ac_compiler_gnu = yes; then
4219 ac_test_CFLAGS=${CFLAGS+set}
4220 ac_save_CFLAGS=$CFLAGS
4221 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
4222 $as_echo_n "checking whether $CC accepts -g... " >&6; }
4223 if ${ac_cv_prog_cc_g+:} false; then :
4224 $as_echo_n "(cached) " >&6
4226 ac_save_c_werror_flag=$ac_c_werror_flag
4227 ac_c_werror_flag=yes
4230 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4231 /* end confdefs.h. */
4241 if ac_fn_c_try_compile "$LINENO"; then :
4245 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4246 /* end confdefs.h. */
4256 if ac_fn_c_try_compile "$LINENO"; then :
4259 ac_c_werror_flag=$ac_save_c_werror_flag
4261 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4262 /* end confdefs.h. */
4272 if ac_fn_c_try_compile "$LINENO"; then :
4275 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4277 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4279 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4280 ac_c_werror_flag=$ac_save_c_werror_flag
4282 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
4283 $as_echo "$ac_cv_prog_cc_g" >&6; }
4284 if test "$ac_test_CFLAGS" = set; then
4285 CFLAGS=$ac_save_CFLAGS
4286 elif test $ac_cv_prog_cc_g = yes; then
4287 if test "$GCC" = yes; then
4293 if test "$GCC" = yes; then
4299 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
4300 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
4301 if ${ac_cv_prog_cc_c89+:} false; then :
4302 $as_echo_n "(cached) " >&6
4304 ac_cv_prog_cc_c89=no
4306 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4307 /* end confdefs.h. */
4311 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
4312 struct buf { int x; };
4313 FILE * (*rcsopen) (struct buf *, struct stat *, int);
4314 static char *e (p, i)
4320 static char *f (char * (*g) (char **, int), char **p, ...)
4325 s = g (p, va_arg (v,int));
4330 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
4331 function prototypes and stuff, but not '\xHH' hex character constants.
4332 These don't provoke an error unfortunately, instead are silently treated
4333 as 'x'. The following induces an error, until -std is added to get
4334 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
4335 array size at least. It's necessary to write '\x00'==0 to get something
4336 that's true only with -std. */
4337 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
4339 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
4340 inside strings and character constants. */
4342 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
4344 int test (int i, double x);
4345 struct s1 {int (*f) (int a);};
4346 struct s2 {int (*f) (double a);};
4347 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
4353 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
4358 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
4359 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
4361 CC="$ac_save_CC $ac_arg"
4362 if ac_fn_c_try_compile "$LINENO"; then :
4363 ac_cv_prog_cc_c89=$ac_arg
4365 rm -f core conftest.err conftest.$ac_objext
4366 test "x$ac_cv_prog_cc_c89" != "xno" && break
4368 rm -f conftest.$ac_ext
4373 case "x$ac_cv_prog_cc_c89" in
4375 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
4376 $as_echo "none needed" >&6; } ;;
4378 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
4379 $as_echo "unsupported" >&6; } ;;
4381 CC="$CC $ac_cv_prog_cc_c89"
4382 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
4383 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
4385 if test "x$ac_cv_prog_cc_c89" != xno; then :
4390 ac_cpp='$CPP $CPPFLAGS'
4391 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4392 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4393 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4396 ac_cpp='$CXXCPP $CPPFLAGS'
4397 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4398 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4399 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
4400 if test -z "$CXX"; then
4401 if test -n "$CCC"; then
4404 if test -n "$ac_tool_prefix"; then
4405 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
4407 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
4408 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
4409 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4410 $as_echo_n "checking for $ac_word... " >&6; }
4411 if ${ac_cv_prog_CXX+:} false; then :
4412 $as_echo_n "(cached) " >&6
4414 if test -n "$CXX"; then
4415 ac_cv_prog_CXX="$CXX" # Let the user override the test.
4417 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4421 test -z "$as_dir" && as_dir=.
4422 for ac_exec_ext in '' $ac_executable_extensions; do
4423 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4424 ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"
4425 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4435 if test -n "$CXX"; then
4436 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXX" >&5
4437 $as_echo "$CXX" >&6; }
4439 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4440 $as_echo "no" >&6; }
4444 test -n "$CXX" && break
4447 if test -z "$CXX"; then
4449 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
4451 # Extract the first word of "$ac_prog", so it can be a program name with args.
4452 set dummy $ac_prog; ac_word=$2
4453 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4454 $as_echo_n "checking for $ac_word... " >&6; }
4455 if ${ac_cv_prog_ac_ct_CXX+:} false; then :
4456 $as_echo_n "(cached) " >&6
4458 if test -n "$ac_ct_CXX"; then
4459 ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
4461 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4465 test -z "$as_dir" && as_dir=.
4466 for ac_exec_ext in '' $ac_executable_extensions; do
4467 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4468 ac_cv_prog_ac_ct_CXX="$ac_prog"
4469 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4478 ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
4479 if test -n "$ac_ct_CXX"; then
4480 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CXX" >&5
4481 $as_echo "$ac_ct_CXX" >&6; }
4483 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4484 $as_echo "no" >&6; }
4488 test -n "$ac_ct_CXX" && break
4491 if test "x$ac_ct_CXX" = x; then
4494 case $cross_compiling:$ac_tool_warned in
4496 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4497 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4498 ac_tool_warned=yes ;;
4506 # Provide some information about the compiler.
4507 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C++ compiler version" >&5
4510 for ac_option in --version -v -V -qversion; do
4511 { { ac_try="$ac_compiler $ac_option >&5"
4513 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
4514 *) ac_try_echo
=$ac_try;;
4516 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4517 $as_echo "$ac_try_echo"; } >&5
4518 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
4520 if test -s conftest.err
; then
4522 ... rest of stderr output deleted ...
4523 10q' conftest.err
>conftest.er1
4524 cat conftest.er1
>&5
4526 rm -f conftest.er1 conftest.err
4527 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4528 test $ac_status = 0; }
4531 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C++ compiler" >&5
4532 $as_echo_n "checking whether we are using the GNU C++ compiler... " >&6; }
4533 if ${ac_cv_cxx_compiler_gnu+:} false
; then :
4534 $as_echo_n "(cached) " >&6
4536 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4537 /* end confdefs.h. */
4550 if ac_fn_cxx_try_compile
"$LINENO"; then :
4555 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
4556 ac_cv_cxx_compiler_gnu
=$ac_compiler_gnu
4559 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cxx_compiler_gnu" >&5
4560 $as_echo "$ac_cv_cxx_compiler_gnu" >&6; }
4561 if test $ac_compiler_gnu = yes; then
4566 ac_test_CXXFLAGS
=${CXXFLAGS+set}
4567 ac_save_CXXFLAGS
=$CXXFLAGS
4568 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CXX accepts -g" >&5
4569 $as_echo_n "checking whether $CXX accepts -g... " >&6; }
4570 if ${ac_cv_prog_cxx_g+:} false
; then :
4571 $as_echo_n "(cached) " >&6
4573 ac_save_cxx_werror_flag
=$ac_cxx_werror_flag
4574 ac_cxx_werror_flag
=yes
4577 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4578 /* end confdefs.h. */
4588 if ac_fn_cxx_try_compile
"$LINENO"; then :
4589 ac_cv_prog_cxx_g
=yes
4592 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4593 /* end confdefs.h. */
4603 if ac_fn_cxx_try_compile
"$LINENO"; then :
4606 ac_cxx_werror_flag
=$ac_save_cxx_werror_flag
4608 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4609 /* end confdefs.h. */
4619 if ac_fn_cxx_try_compile
"$LINENO"; then :
4620 ac_cv_prog_cxx_g
=yes
4622 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
4624 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
4626 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
4627 ac_cxx_werror_flag
=$ac_save_cxx_werror_flag
4629 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cxx_g" >&5
4630 $as_echo "$ac_cv_prog_cxx_g" >&6; }
4631 if test "$ac_test_CXXFLAGS" = set; then
4632 CXXFLAGS
=$ac_save_CXXFLAGS
4633 elif test $ac_cv_prog_cxx_g = yes; then
4634 if test "$GXX" = yes; then
4640 if test "$GXX" = yes; then
4647 ac_cpp
='$CPP $CPPFLAGS'
4648 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4649 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4650 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
4652 if test -n "$ac_tool_prefix"; then
4653 # Extract the first word of "${ac_tool_prefix}cpp", so it can be a program name with args.
4654 set dummy
${ac_tool_prefix}cpp
; ac_word
=$2
4655 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4656 $as_echo_n "checking for $ac_word... " >&6; }
4657 if ${ac_cv_prog_CPPBIN+:} false
; then :
4658 $as_echo_n "(cached) " >&6
4660 if test -n "$CPPBIN"; then
4661 ac_cv_prog_CPPBIN
="$CPPBIN" # Let the user override the test.
4663 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4667 test -z "$as_dir" && as_dir
=.
4668 for ac_exec_ext
in '' $ac_executable_extensions; do
4669 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
4670 ac_cv_prog_CPPBIN
="${ac_tool_prefix}cpp"
4671 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4680 CPPBIN
=$ac_cv_prog_CPPBIN
4681 if test -n "$CPPBIN"; then
4682 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPPBIN" >&5
4683 $as_echo "$CPPBIN" >&6; }
4685 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4686 $as_echo "no" >&6; }
4691 if test -z "$ac_cv_prog_CPPBIN"; then
4692 ac_ct_CPPBIN
=$CPPBIN
4693 # Extract the first word of "cpp", so it can be a program name with args.
4694 set dummy cpp
; ac_word
=$2
4695 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4696 $as_echo_n "checking for $ac_word... " >&6; }
4697 if ${ac_cv_prog_ac_ct_CPPBIN+:} false
; then :
4698 $as_echo_n "(cached) " >&6
4700 if test -n "$ac_ct_CPPBIN"; then
4701 ac_cv_prog_ac_ct_CPPBIN
="$ac_ct_CPPBIN" # Let the user override the test.
4703 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4707 test -z "$as_dir" && as_dir
=.
4708 for ac_exec_ext
in '' $ac_executable_extensions; do
4709 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
4710 ac_cv_prog_ac_ct_CPPBIN
="cpp"
4711 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4720 ac_ct_CPPBIN
=$ac_cv_prog_ac_ct_CPPBIN
4721 if test -n "$ac_ct_CPPBIN"; then
4722 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CPPBIN" >&5
4723 $as_echo "$ac_ct_CPPBIN" >&6; }
4725 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4726 $as_echo "no" >&6; }
4729 if test "x$ac_ct_CPPBIN" = x
; then
4732 case $cross_compiling:$ac_tool_warned in
4734 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4735 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4736 ac_tool_warned
=yes ;;
4738 CPPBIN
=$ac_ct_CPPBIN
4741 CPPBIN
="$ac_cv_prog_CPPBIN"
4745 cat >>confdefs.h
<<_ACEOF
4746 #define EXEEXT "$ac_exeext"
4749 if test -n "$ac_tool_prefix"; then
4750 # Extract the first word of "${ac_tool_prefix}ld", so it can be a program name with args.
4751 set dummy
${ac_tool_prefix}ld
; ac_word
=$2
4752 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4753 $as_echo_n "checking for $ac_word... " >&6; }
4754 if ${ac_cv_prog_LD+:} false
; then :
4755 $as_echo_n "(cached) " >&6
4757 if test -n "$LD"; then
4758 ac_cv_prog_LD
="$LD" # Let the user override the test.
4760 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4764 test -z "$as_dir" && as_dir
=.
4765 for ac_exec_ext
in '' $ac_executable_extensions; do
4766 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
4767 ac_cv_prog_LD
="${ac_tool_prefix}ld"
4768 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4778 if test -n "$LD"; then
4779 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
4780 $as_echo "$LD" >&6; }
4782 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4783 $as_echo "no" >&6; }
4788 if test -z "$ac_cv_prog_LD"; then
4790 # Extract the first word of "ld", so it can be a program name with args.
4791 set dummy ld
; ac_word
=$2
4792 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4793 $as_echo_n "checking for $ac_word... " >&6; }
4794 if ${ac_cv_prog_ac_ct_LD+:} false
; then :
4795 $as_echo_n "(cached) " >&6
4797 if test -n "$ac_ct_LD"; then
4798 ac_cv_prog_ac_ct_LD
="$ac_ct_LD" # Let the user override the test.
4800 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4804 test -z "$as_dir" && as_dir
=.
4805 for ac_exec_ext
in '' $ac_executable_extensions; do
4806 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
4807 ac_cv_prog_ac_ct_LD
="ld"
4808 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4817 ac_ct_LD
=$ac_cv_prog_ac_ct_LD
4818 if test -n "$ac_ct_LD"; then
4819 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_LD" >&5
4820 $as_echo "$ac_ct_LD" >&6; }
4822 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4823 $as_echo "no" >&6; }
4826 if test "x$ac_ct_LD" = x
; then
4829 case $cross_compiling:$ac_tool_warned in
4831 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4832 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4833 ac_tool_warned
=yes ;;
4844 if test "x$enable_win64" = "xyes"
4849 notice_platform
="64-bit "
4856 notice_platform
="32-bit "
4859 enable_win16
=${enable_win16:-yes}
4861 with_fontconfig
=${with_fontconfig:-no}
4864 if test "x$enable_win64" != "xyes" -a "$cross_compiling" != "yes"
4868 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC works" >&5
4869 $as_echo_n "checking whether $CC works... " >&6; }
4871 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4872 /* end confdefs.h. */
4882 if ac_fn_c_try_link
"$LINENO"; then :
4883 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4884 $as_echo "yes" >&6; }
4886 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4887 $as_echo "no" >&6; }
4888 as_fn_error $?
"Cannot build a 32-bit program, you need to install 32-bit development libraries." "$LINENO" 5
4890 rm -f core conftest.err conftest.
$ac_objext \
4891 conftest
$ac_exeext conftest.
$ac_ext
4893 notice_platform
="32-bit "
4896 enable_win16
=${enable_win16:-yes}
4898 if test "x${GCC}" = "xyes"
4900 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC supports __builtin_ms_va_list" >&5
4901 $as_echo_n "checking whether $CC supports __builtin_ms_va_list... " >&6; }
4902 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4903 /* end confdefs.h. */
4908 void func(__builtin_ms_va_list *args);
4913 if ac_fn_c_try_compile
"$LINENO"; then :
4914 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4915 $as_echo "yes" >&6; }
4917 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4918 $as_echo "no" >&6; }
4919 as_fn_error $?
"You need gcc >= 4.4 to build Wine as 64-bit." "$LINENO" 5
4921 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
4928 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC supports Thumb" >&5
4929 $as_echo_n "checking whether $CC supports Thumb... " >&6; }
4930 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4931 /* end confdefs.h. */
4932 int ac_test(int i) { return i; }
4936 asm(".thumb\nblx ac_test\n.arm"); if (ac_test(1)) return 1
4941 if ac_fn_c_try_link
"$LINENO"; then :
4942 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4943 $as_echo "yes" >&6; }
4945 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4946 $as_echo "no" >&6; }
4947 as_fn_error $?
"You need a target with Thumb support to build Wine for ARM." "$LINENO" 5
4949 rm -f core conftest.err conftest.
$ac_objext \
4950 conftest
$ac_exeext conftest.
$ac_ext
4951 CFLAGS
="$CFLAGS -marm"
4955 *-mingw32*|
*-cygwin*)
4956 enable_win16
=${enable_win16:-no}
4957 CFLAGS
="$CFLAGS -D_WIN32"
4960 enable_win16
=${enable_win16:-yes}
4964 enable_win16
=${enable_win16:-no}
4965 enable_win64
=${enable_win64:-no}
4967 enable_winetest
=${enable_winetest:-$enable_tests}
4969 if test -n "$with_wine64"
4971 if test "x$enable_win64" = "xyes"
4973 as_fn_error $?
"--enable-win64 and --with-wine64 are mutually exclusive.
4974 --enable-win64 should be used in the 64-bit build tree, --with-wine64 in the 32-bit Wow64 build tree." "$LINENO" 5
4976 enable_fonts
=${enable_fonts:-no}
4977 enable_server
=${enable_server:-no}
4978 elif test "x$enable_win64" = "xyes"
4980 test "x$libdir" != "x\${exec_prefix}/lib" || libdir
="\${exec_prefix}/lib64"
4983 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for the directory containing the Wine tools" >&5
4984 $as_echo_n "checking for the directory containing the Wine tools... " >&6; }
4985 if ${wine_cv_toolsdir+:} false
; then :
4986 $as_echo_n "(cached) " >&6
4988 wine_cv_toolsdir
="$with_wine_tools"
4989 if test -z "$with_wine_tools"; then
4990 if test "$cross_compiling" = "yes"; then
4991 as_fn_error $?
"you must use the --with-wine-tools option when cross-compiling." "$LINENO" 5
4992 elif test -n "$with_wine64"; then
4993 wine_cv_toolsdir
="$with_wine64"
4996 if test -z "$wine_cv_toolsdir"; then
4997 wine_makedep
=tools
/makedep
4998 wine_cv_toolsdir
="\$(top_builddir)"
4999 elif test -d "$wine_cv_toolsdir/tools/winebuild"; then
5000 wine_makedep
=$wine_cv_toolsdir/tools
/makedep
5001 case "$wine_cv_toolsdir" in
5003 *) wine_cv_toolsdir
="\$(top_builddir)/$wine_cv_toolsdir" ;;
5005 enable_tools
=${enable_tools:-no}
5006 test -f "$wine_makedep" || as_fn_error $?
"the Wine tools have not yet been built in $wine_cv_toolsdir" "$LINENO" 5
5008 as_fn_error $?
"could not find Wine tools in $wine_cv_toolsdir" "$LINENO" 5
5011 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_toolsdir" >&5
5012 $as_echo "$wine_cv_toolsdir" >&6; }
5013 TOOLSDIR
=$wine_cv_toolsdir
5015 if test -n "$host_alias" -a "$host_alias" != "$build_alias"
5017 TARGETFLAGS
="-b $host_alias $TARGETFLAGS"
5023 # Extract the first word of "$ac_prog", so it can be a program name with args.
5024 set dummy
$ac_prog; ac_word
=$2
5025 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5026 $as_echo_n "checking for $ac_word... " >&6; }
5027 if ${ac_cv_prog_FLEX+:} false
; then :
5028 $as_echo_n "(cached) " >&6
5030 if test -n "$FLEX"; then
5031 ac_cv_prog_FLEX
="$FLEX" # Let the user override the test.
5033 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5037 test -z "$as_dir" && as_dir
=.
5038 for ac_exec_ext
in '' $ac_executable_extensions; do
5039 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
5040 ac_cv_prog_FLEX
="$ac_prog"
5041 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5050 FLEX
=$ac_cv_prog_FLEX
5051 if test -n "$FLEX"; then
5052 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $FLEX" >&5
5053 $as_echo "$FLEX" >&6; }
5055 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5056 $as_echo "no" >&6; }
5060 test -n "$FLEX" && break
5062 test -n "$FLEX" || FLEX
="none"
5064 if test "$FLEX" = "none"
5066 as_fn_error $?
"no suitable flex found. Please install the 'flex' package." "$LINENO" 5
5068 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether flex is recent enough" >&5
5069 $as_echo_n "checking whether flex is recent enough... " >&6; }
5070 cat >conftest.l
<<EOF
5072 #include "prediluvian.h"
5076 if $FLEX -t conftest.l
>/dev
/null
2>&5
5078 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5079 $as_echo "yes" >&6; }
5081 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5082 $as_echo "no" >&6; }
5083 as_fn_error $?
"Your flex version is too old. Please install flex version 2.5.33 or newer." "$LINENO" 5
5086 for ac_prog
in bison
5088 # Extract the first word of "$ac_prog", so it can be a program name with args.
5089 set dummy
$ac_prog; ac_word
=$2
5090 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5091 $as_echo_n "checking for $ac_word... " >&6; }
5092 if ${ac_cv_prog_BISON+:} false
; then :
5093 $as_echo_n "(cached) " >&6
5095 if test -n "$BISON"; then
5096 ac_cv_prog_BISON
="$BISON" # Let the user override the test.
5098 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5102 test -z "$as_dir" && as_dir
=.
5103 for ac_exec_ext
in '' $ac_executable_extensions; do
5104 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
5105 ac_cv_prog_BISON
="$ac_prog"
5106 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5115 BISON
=$ac_cv_prog_BISON
5116 if test -n "$BISON"; then
5117 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $BISON" >&5
5118 $as_echo "$BISON" >&6; }
5120 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5121 $as_echo "no" >&6; }
5125 test -n "$BISON" && break
5127 test -n "$BISON" || BISON
="none"
5129 if test "$BISON" = "none"
5131 as_fn_error $?
"no suitable bison found. Please install the 'bison' package." "$LINENO" 5
5134 if test -n "$ac_tool_prefix"; then
5135 for ac_prog
in ar gar
5137 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
5138 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
5139 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5140 $as_echo_n "checking for $ac_word... " >&6; }
5141 if ${ac_cv_prog_AR+:} false
; then :
5142 $as_echo_n "(cached) " >&6
5144 if test -n "$AR"; then
5145 ac_cv_prog_AR
="$AR" # Let the user override the test.
5147 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5151 test -z "$as_dir" && as_dir
=.
5152 for ac_exec_ext
in '' $ac_executable_extensions; do
5153 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
5154 ac_cv_prog_AR
="$ac_tool_prefix$ac_prog"
5155 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5165 if test -n "$AR"; then
5166 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
5167 $as_echo "$AR" >&6; }
5169 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5170 $as_echo "no" >&6; }
5174 test -n "$AR" && break
5177 if test -z "$AR"; then
5179 for ac_prog
in ar gar
5181 # Extract the first word of "$ac_prog", so it can be a program name with args.
5182 set dummy
$ac_prog; ac_word
=$2
5183 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5184 $as_echo_n "checking for $ac_word... " >&6; }
5185 if ${ac_cv_prog_ac_ct_AR+:} false
; then :
5186 $as_echo_n "(cached) " >&6
5188 if test -n "$ac_ct_AR"; then
5189 ac_cv_prog_ac_ct_AR
="$ac_ct_AR" # Let the user override the test.
5191 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5195 test -z "$as_dir" && as_dir
=.
5196 for ac_exec_ext
in '' $ac_executable_extensions; do
5197 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
5198 ac_cv_prog_ac_ct_AR
="$ac_prog"
5199 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5208 ac_ct_AR
=$ac_cv_prog_ac_ct_AR
5209 if test -n "$ac_ct_AR"; then
5210 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5
5211 $as_echo "$ac_ct_AR" >&6; }
5213 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5214 $as_echo "no" >&6; }
5218 test -n "$ac_ct_AR" && break
5221 if test "x$ac_ct_AR" = x
; then
5224 case $cross_compiling:$ac_tool_warned in
5226 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5227 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5228 ac_tool_warned
=yes ;;
5234 if test -n "$ac_tool_prefix"; then
5235 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
5236 set dummy
${ac_tool_prefix}strip
; ac_word
=$2
5237 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5238 $as_echo_n "checking for $ac_word... " >&6; }
5239 if ${ac_cv_prog_STRIP+:} false
; then :
5240 $as_echo_n "(cached) " >&6
5242 if test -n "$STRIP"; then
5243 ac_cv_prog_STRIP
="$STRIP" # Let the user override the test.
5245 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5249 test -z "$as_dir" && as_dir
=.
5250 for ac_exec_ext
in '' $ac_executable_extensions; do
5251 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
5252 ac_cv_prog_STRIP
="${ac_tool_prefix}strip"
5253 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5262 STRIP
=$ac_cv_prog_STRIP
5263 if test -n "$STRIP"; then
5264 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
5265 $as_echo "$STRIP" >&6; }
5267 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5268 $as_echo "no" >&6; }
5273 if test -z "$ac_cv_prog_STRIP"; then
5275 # Extract the first word of "strip", so it can be a program name with args.
5276 set dummy strip
; ac_word
=$2
5277 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5278 $as_echo_n "checking for $ac_word... " >&6; }
5279 if ${ac_cv_prog_ac_ct_STRIP+:} false
; then :
5280 $as_echo_n "(cached) " >&6
5282 if test -n "$ac_ct_STRIP"; then
5283 ac_cv_prog_ac_ct_STRIP
="$ac_ct_STRIP" # Let the user override the test.
5285 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5289 test -z "$as_dir" && as_dir
=.
5290 for ac_exec_ext
in '' $ac_executable_extensions; do
5291 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
5292 ac_cv_prog_ac_ct_STRIP
="strip"
5293 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5302 ac_ct_STRIP
=$ac_cv_prog_ac_ct_STRIP
5303 if test -n "$ac_ct_STRIP"; then
5304 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
5305 $as_echo "$ac_ct_STRIP" >&6; }
5307 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5308 $as_echo "no" >&6; }
5311 if test "x$ac_ct_STRIP" = x
; then
5314 case $cross_compiling:$ac_tool_warned in
5316 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5317 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5318 ac_tool_warned
=yes ;;
5323 STRIP
="$ac_cv_prog_STRIP"
5328 if test -n "$ac_tool_prefix"; then
5329 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
5330 set dummy
${ac_tool_prefix}ranlib
; ac_word
=$2
5331 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5332 $as_echo_n "checking for $ac_word... " >&6; }
5333 if ${ac_cv_prog_RANLIB+:} false
; then :
5334 $as_echo_n "(cached) " >&6
5336 if test -n "$RANLIB"; then
5337 ac_cv_prog_RANLIB
="$RANLIB" # Let the user override the test.
5339 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5343 test -z "$as_dir" && as_dir
=.
5344 for ac_exec_ext
in '' $ac_executable_extensions; do
5345 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
5346 ac_cv_prog_RANLIB
="${ac_tool_prefix}ranlib"
5347 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5356 RANLIB
=$ac_cv_prog_RANLIB
5357 if test -n "$RANLIB"; then
5358 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
5359 $as_echo "$RANLIB" >&6; }
5361 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5362 $as_echo "no" >&6; }
5367 if test -z "$ac_cv_prog_RANLIB"; then
5368 ac_ct_RANLIB
=$RANLIB
5369 # Extract the first word of "ranlib", so it can be a program name with args.
5370 set dummy ranlib
; ac_word
=$2
5371 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5372 $as_echo_n "checking for $ac_word... " >&6; }
5373 if ${ac_cv_prog_ac_ct_RANLIB+:} false
; then :
5374 $as_echo_n "(cached) " >&6
5376 if test -n "$ac_ct_RANLIB"; then
5377 ac_cv_prog_ac_ct_RANLIB
="$ac_ct_RANLIB" # Let the user override the test.
5379 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5383 test -z "$as_dir" && as_dir
=.
5384 for ac_exec_ext
in '' $ac_executable_extensions; do
5385 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
5386 ac_cv_prog_ac_ct_RANLIB
="ranlib"
5387 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5396 ac_ct_RANLIB
=$ac_cv_prog_ac_ct_RANLIB
5397 if test -n "$ac_ct_RANLIB"; then
5398 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
5399 $as_echo "$ac_ct_RANLIB" >&6; }
5401 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5402 $as_echo "no" >&6; }
5405 if test "x$ac_ct_RANLIB" = x
; then
5408 case $cross_compiling:$ac_tool_warned in
5410 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5411 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5412 ac_tool_warned
=yes ;;
5414 RANLIB
=$ac_ct_RANLIB
5417 RANLIB
="$ac_cv_prog_RANLIB"
5420 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5
5421 $as_echo_n "checking whether ln -s works... " >&6; }
5423 if test "$LN_S" = "ln -s"; then
5424 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5425 $as_echo "yes" >&6; }
5427 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5
5428 $as_echo "no, using $LN_S" >&6; }
5431 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
5432 $as_echo_n "checking for grep that handles long lines and -e... " >&6; }
5433 if ${ac_cv_path_GREP+:} false
; then :
5434 $as_echo_n "(cached) " >&6
5436 if test -z "$GREP"; then
5437 ac_path_GREP_found
=false
5438 # Loop through the user's path and test for each of PROGNAME-LIST
5439 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5440 for as_dir
in $PATH$PATH_SEPARATOR/usr
/xpg
4/bin
5443 test -z "$as_dir" && as_dir
=.
5444 for ac_prog
in grep ggrep
; do
5445 for ac_exec_ext
in '' $ac_executable_extensions; do
5446 ac_path_GREP
="$as_dir/$ac_prog$ac_exec_ext"
5447 as_fn_executable_p
"$ac_path_GREP" ||
continue
5448 # Check for GNU ac_path_GREP and select it if it is found.
5449 # Check for GNU $ac_path_GREP
5450 case `"$ac_path_GREP" --version 2>&1` in
5452 ac_cv_path_GREP
="$ac_path_GREP" ac_path_GREP_found
=:;;
5455 $as_echo_n 0123456789 >"conftest.in"
5458 cat "conftest.in" "conftest.in" >"conftest.tmp"
5459 mv "conftest.tmp" "conftest.in"
5460 cp "conftest.in" "conftest.nl"
5461 $as_echo 'GREP' >> "conftest.nl"
5462 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev
/null ||
break
5463 diff "conftest.out" "conftest.nl" >/dev
/null
2>&1 ||
break
5464 as_fn_arith
$ac_count + 1 && ac_count
=$as_val
5465 if test $ac_count -gt ${ac_path_GREP_max-0}; then
5466 # Best one so far, save it but keep looking for a better one
5467 ac_cv_path_GREP
="$ac_path_GREP"
5468 ac_path_GREP_max
=$ac_count
5470 # 10*(2^10) chars as input seems more than enough
5471 test $ac_count -gt 10 && break
5473 rm -f conftest.
in conftest.tmp conftest.
nl conftest.out
;;
5476 $ac_path_GREP_found && break 3
5481 if test -z "$ac_cv_path_GREP"; then
5482 as_fn_error $?
"no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
5485 ac_cv_path_GREP
=$GREP
5489 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
5490 $as_echo "$ac_cv_path_GREP" >&6; }
5491 GREP
="$ac_cv_path_GREP"
5494 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
5495 $as_echo_n "checking for egrep... " >&6; }
5496 if ${ac_cv_path_EGREP+:} false
; then :
5497 $as_echo_n "(cached) " >&6
5499 if echo a |
$GREP -E '(a|b)' >/dev
/null
2>&1
5500 then ac_cv_path_EGREP
="$GREP -E"
5502 if test -z "$EGREP"; then
5503 ac_path_EGREP_found
=false
5504 # Loop through the user's path and test for each of PROGNAME-LIST
5505 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5506 for as_dir
in $PATH$PATH_SEPARATOR/usr
/xpg
4/bin
5509 test -z "$as_dir" && as_dir
=.
5510 for ac_prog
in egrep; do
5511 for ac_exec_ext
in '' $ac_executable_extensions; do
5512 ac_path_EGREP
="$as_dir/$ac_prog$ac_exec_ext"
5513 as_fn_executable_p
"$ac_path_EGREP" ||
continue
5514 # Check for GNU ac_path_EGREP and select it if it is found.
5515 # Check for GNU $ac_path_EGREP
5516 case `"$ac_path_EGREP" --version 2>&1` in
5518 ac_cv_path_EGREP
="$ac_path_EGREP" ac_path_EGREP_found
=:;;
5521 $as_echo_n 0123456789 >"conftest.in"
5524 cat "conftest.in" "conftest.in" >"conftest.tmp"
5525 mv "conftest.tmp" "conftest.in"
5526 cp "conftest.in" "conftest.nl"
5527 $as_echo 'EGREP' >> "conftest.nl"
5528 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev
/null ||
break
5529 diff "conftest.out" "conftest.nl" >/dev
/null
2>&1 ||
break
5530 as_fn_arith
$ac_count + 1 && ac_count
=$as_val
5531 if test $ac_count -gt ${ac_path_EGREP_max-0}; then
5532 # Best one so far, save it but keep looking for a better one
5533 ac_cv_path_EGREP
="$ac_path_EGREP"
5534 ac_path_EGREP_max
=$ac_count
5536 # 10*(2^10) chars as input seems more than enough
5537 test $ac_count -gt 10 && break
5539 rm -f conftest.
in conftest.tmp conftest.
nl conftest.out
;;
5542 $ac_path_EGREP_found && break 3
5547 if test -z "$ac_cv_path_EGREP"; then
5548 as_fn_error $?
"no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
5551 ac_cv_path_EGREP
=$EGREP
5556 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
5557 $as_echo "$ac_cv_path_EGREP" >&6; }
5558 EGREP
="$ac_cv_path_EGREP"
5561 # Extract the first word of "ldconfig", so it can be a program name with args.
5562 set dummy ldconfig
; ac_word
=$2
5563 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5564 $as_echo_n "checking for $ac_word... " >&6; }
5565 if ${ac_cv_path_LDCONFIG+:} false
; then :
5566 $as_echo_n "(cached) " >&6
5570 ac_cv_path_LDCONFIG
="$LDCONFIG" # Let the user override the test with a path.
5573 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5574 for as_dir
in /sbin
/usr
/sbin
$PATH
5577 test -z "$as_dir" && as_dir
=.
5578 for ac_exec_ext
in '' $ac_executable_extensions; do
5579 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
5580 ac_cv_path_LDCONFIG
="$as_dir/$ac_word$ac_exec_ext"
5581 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5588 test -z "$ac_cv_path_LDCONFIG" && ac_cv_path_LDCONFIG
="true"
5592 LDCONFIG
=$ac_cv_path_LDCONFIG
5593 if test -n "$LDCONFIG"; then
5594 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LDCONFIG" >&5
5595 $as_echo "$LDCONFIG" >&6; }
5597 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5598 $as_echo "no" >&6; }
5602 for ac_prog
in msgfmt
5604 # Extract the first word of "$ac_prog", so it can be a program name with args.
5605 set dummy
$ac_prog; ac_word
=$2
5606 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5607 $as_echo_n "checking for $ac_word... " >&6; }
5608 if ${ac_cv_prog_MSGFMT+:} false
; then :
5609 $as_echo_n "(cached) " >&6
5611 if test -n "$MSGFMT"; then
5612 ac_cv_prog_MSGFMT
="$MSGFMT" # Let the user override the test.
5614 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5618 test -z "$as_dir" && as_dir
=.
5619 for ac_exec_ext
in '' $ac_executable_extensions; do
5620 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
5621 ac_cv_prog_MSGFMT
="$ac_prog"
5622 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5631 MSGFMT
=$ac_cv_prog_MSGFMT
5632 if test -n "$MSGFMT"; then
5633 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MSGFMT" >&5
5634 $as_echo "$MSGFMT" >&6; }
5636 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5637 $as_echo "no" >&6; }
5641 test -n "$MSGFMT" && break
5643 test -n "$MSGFMT" || MSGFMT
="false"
5645 if ${ac_tool_prefix+:} false
; then :
5646 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
5647 set dummy
${ac_tool_prefix}pkg-config
; ac_word
=$2
5648 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5649 $as_echo_n "checking for $ac_word... " >&6; }
5650 if ${ac_cv_prog_PKG_CONFIG+:} false
; then :
5651 $as_echo_n "(cached) " >&6
5653 if test -n "$PKG_CONFIG"; then
5654 ac_cv_prog_PKG_CONFIG
="$PKG_CONFIG" # Let the user override the test.
5656 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5660 test -z "$as_dir" && as_dir
=.
5661 for ac_exec_ext
in '' $ac_executable_extensions; do
5662 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
5663 ac_cv_prog_PKG_CONFIG
="${ac_tool_prefix}pkg-config"
5664 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5673 PKG_CONFIG
=$ac_cv_prog_PKG_CONFIG
5674 if test -n "$PKG_CONFIG"; then
5675 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
5676 $as_echo "$PKG_CONFIG" >&6; }
5678 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5679 $as_echo "no" >&6; }
5684 if ${ac_cv_prog_PKG_CONFIG:+false} :; then :
5685 if test "x$cross_compiling" = xyes
; then :
5688 { ac_cv_prog_PKG_CONFIG
=; unset ac_cv_prog_PKG_CONFIG
;}
5689 # Extract the first word of "pkg-config", so it can be a program name with args.
5690 set dummy pkg-config
; ac_word
=$2
5691 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5692 $as_echo_n "checking for $ac_word... " >&6; }
5693 if ${ac_cv_prog_PKG_CONFIG+:} false
; then :
5694 $as_echo_n "(cached) " >&6
5696 if test -n "$PKG_CONFIG"; then
5697 ac_cv_prog_PKG_CONFIG
="$PKG_CONFIG" # Let the user override the test.
5699 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5703 test -z "$as_dir" && as_dir
=.
5704 for ac_exec_ext
in '' $ac_executable_extensions; do
5705 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
5706 ac_cv_prog_PKG_CONFIG
="pkg-config"
5707 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5716 PKG_CONFIG
=$ac_cv_prog_PKG_CONFIG
5717 if test -n "$PKG_CONFIG"; then
5718 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
5719 $as_echo "$PKG_CONFIG" >&6; }
5721 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5722 $as_echo "no" >&6; }
5728 PKG_CONFIG
=$ac_cv_prog_PKG_CONFIG
5731 if test "x$enable_maintainer_mode" != "xyes"
5738 test "$srcdir" = . || as_fn_error $?
"Maintainer mode cannot work out of tree." "$LINENO" 5
5739 for ac_prog
in fontforge
5741 # Extract the first word of "$ac_prog", so it can be a program name with args.
5742 set dummy
$ac_prog; ac_word
=$2
5743 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5744 $as_echo_n "checking for $ac_word... " >&6; }
5745 if ${ac_cv_prog_FONTFORGE+:} false
; then :
5746 $as_echo_n "(cached) " >&6
5748 if test -n "$FONTFORGE"; then
5749 ac_cv_prog_FONTFORGE
="$FONTFORGE" # Let the user override the test.
5751 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5755 test -z "$as_dir" && as_dir
=.
5756 for ac_exec_ext
in '' $ac_executable_extensions; do
5757 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
5758 ac_cv_prog_FONTFORGE
="$ac_prog"
5759 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5768 FONTFORGE
=$ac_cv_prog_FONTFORGE
5769 if test -n "$FONTFORGE"; then
5770 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $FONTFORGE" >&5
5771 $as_echo "$FONTFORGE" >&6; }
5773 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5774 $as_echo "no" >&6; }
5778 test -n "$FONTFORGE" && break
5780 test -n "$FONTFORGE" || FONTFORGE
="false"
5782 for ac_prog
in rsvg-convert rsvg
5784 # Extract the first word of "$ac_prog", so it can be a program name with args.
5785 set dummy
$ac_prog; ac_word
=$2
5786 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5787 $as_echo_n "checking for $ac_word... " >&6; }
5788 if ${ac_cv_prog_RSVG+:} false
; then :
5789 $as_echo_n "(cached) " >&6
5791 if test -n "$RSVG"; then
5792 ac_cv_prog_RSVG
="$RSVG" # Let the user override the test.
5794 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5798 test -z "$as_dir" && as_dir
=.
5799 for ac_exec_ext
in '' $ac_executable_extensions; do
5800 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
5801 ac_cv_prog_RSVG
="$ac_prog"
5802 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5811 RSVG
=$ac_cv_prog_RSVG
5812 if test -n "$RSVG"; then
5813 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RSVG" >&5
5814 $as_echo "$RSVG" >&6; }
5816 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5817 $as_echo "no" >&6; }
5821 test -n "$RSVG" && break
5823 test -n "$RSVG" || RSVG
="false"
5825 for ac_prog
in convert
5827 # Extract the first word of "$ac_prog", so it can be a program name with args.
5828 set dummy
$ac_prog; ac_word
=$2
5829 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5830 $as_echo_n "checking for $ac_word... " >&6; }
5831 if ${ac_cv_prog_CONVERT+:} false
; then :
5832 $as_echo_n "(cached) " >&6
5834 if test -n "$CONVERT"; then
5835 ac_cv_prog_CONVERT
="$CONVERT" # Let the user override the test.
5837 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5841 test -z "$as_dir" && as_dir
=.
5842 for ac_exec_ext
in '' $ac_executable_extensions; do
5843 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
5844 ac_cv_prog_CONVERT
="$ac_prog"
5845 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5854 CONVERT
=$ac_cv_prog_CONVERT
5855 if test -n "$CONVERT"; then
5856 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CONVERT" >&5
5857 $as_echo "$CONVERT" >&6; }
5859 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5860 $as_echo "no" >&6; }
5864 test -n "$CONVERT" && break
5866 test -n "$CONVERT" || CONVERT
="false"
5868 for ac_prog
in icotool
5870 # Extract the first word of "$ac_prog", so it can be a program name with args.
5871 set dummy
$ac_prog; ac_word
=$2
5872 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5873 $as_echo_n "checking for $ac_word... " >&6; }
5874 if ${ac_cv_prog_ICOTOOL+:} false
; then :
5875 $as_echo_n "(cached) " >&6
5877 if test -n "$ICOTOOL"; then
5878 ac_cv_prog_ICOTOOL
="$ICOTOOL" # Let the user override the test.
5880 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5884 test -z "$as_dir" && as_dir
=.
5885 for ac_exec_ext
in '' $ac_executable_extensions; do
5886 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
5887 ac_cv_prog_ICOTOOL
="$ac_prog"
5888 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5897 ICOTOOL
=$ac_cv_prog_ICOTOOL
5898 if test -n "$ICOTOOL"; then
5899 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ICOTOOL" >&5
5900 $as_echo "$ICOTOOL" >&6; }
5902 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5903 $as_echo "no" >&6; }
5907 test -n "$ICOTOOL" && break
5909 test -n "$ICOTOOL" || ICOTOOL
="false"
5911 test "$FONTFORGE" != "false" || as_fn_error $?
"You need fontforge to rebuild fonts in maintainer mode." "$LINENO" 5
5912 test "$RSVG" != "false" || as_fn_error $?
"You need rsvg to rebuild icons in maintainer mode." "$LINENO" 5
5914 if test "$CONVERT" = false
5916 as_fn_error $?
"You need imagemagick to rebuild icons in maintainer mode." "$LINENO" 5
5918 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for recent enough imagemagick" >&5
5919 $as_echo_n "checking for recent enough imagemagick... " >&6; }
5920 convert_version
=`convert --version | head -n1`
5921 if test "x$convert_version" != "x"
5923 convert_version_major
=`expr "$convert_version" : '.* \([0-9]*\)\.[0-9]*'`
5924 convert_version_minor
=`expr "$convert_version" : '.* [0-9]*\.\([0-9]*\)'`
5925 if test "$convert_version_major" -eq 6 -a "$convert_version_minor" -lt 6
5930 if test "$CONVERT" = false
5932 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no ($convert_version_major.$convert_version_minor)" >&5
5933 $as_echo "no ($convert_version_major.$convert_version_minor)" >&6; }
5934 as_fn_error $?
"You need imagemagick version 6.6 or newer to rebuild icons in maintainer mode." "$LINENO" 5
5936 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes ($convert_version_major.$convert_version_minor)" >&5
5937 $as_echo "yes ($convert_version_major.$convert_version_minor)" >&6; }
5941 if test "$ICOTOOL" = false
5943 as_fn_error $?
"You need icotool to rebuild icons in maintainer mode." "$LINENO" 5
5945 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for recent enough icotool" >&5
5946 $as_echo_n "checking for recent enough icotool... " >&6; }
5947 icotool_version
=`icotool --version | head -n1`
5948 if test "x$icotool_version" != "x"
5950 icotool_version_major
=`expr "$icotool_version" : '.* \([0-9]*\)\.[0-9]*'`
5951 icotool_version_minor
=`expr "$icotool_version" : '.* [0-9]*\.\([0-9]*\)'`
5952 if test "$icotool_version_major" -eq 0 -a "$icotool_version_minor" -lt 29
5955 as_fn_append wine_warnings
"|icotool version 0.29.0 or newer is needed to rebuild icons."
5958 if test "$ICOTOOL" = false
5960 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no ($icotool_version_major.$icotool_version_minor)" >&5
5961 $as_echo "no ($icotool_version_major.$icotool_version_minor)" >&6; }
5962 as_fn_error $?
"You need icotool version 0.29.0 or newer to rebuild icons in maintainer mode." "$LINENO" 5
5964 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes ($icotool_version_major.$icotool_version_minor)" >&5
5965 $as_echo "yes ($icotool_version_major.$icotool_version_minor)" >&6; }
5971 { ac_cv_header_gettext_po_h
=; unset ac_cv_header_gettext_po_h
;}
5974 test "x$with_gettext" != xno || MSGFMT
=false
5975 if test "$MSGFMT" != "false"
5977 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether msgfmt supports contexts" >&5
5978 $as_echo_n "checking whether msgfmt supports contexts... " >&6; }
5979 cat >conftest.po
<<EOF
5985 if $MSGFMT -o /dev
/null conftest.po
2>&5
5987 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5988 $as_echo "yes" >&6; }
5990 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5991 $as_echo "no" >&6; }
5995 if test "$MSGFMT" = false
; then :
5996 case "x$with_gettext" in
5997 x
) as_fn_append wine_warnings
"|gettext tools not found (or too old), translations won't be built." ;;
5999 *) as_fn_error $?
"gettext tools not found (or too old), translations won't be built.
6000 This is an error since --with-gettext was requested." "$LINENO" 5 ;;
6005 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for i386_set_ldt in -li386" >&5
6006 $as_echo_n "checking for i386_set_ldt in -li386... " >&6; }
6007 if ${ac_cv_lib_i386_i386_set_ldt+:} false
; then :
6008 $as_echo_n "(cached) " >&6
6010 ac_check_lib_save_LIBS
=$LIBS
6012 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6013 /* end confdefs.h. */
6015 /* Override any GCC internal prototype to avoid an error.
6016 Use char because int might match the return type of a GCC
6017 builtin and then its argument prototype would still apply. */
6021 char i386_set_ldt ();
6025 return i386_set_ldt ();
6030 if ac_fn_c_try_link
"$LINENO"; then :
6031 ac_cv_lib_i386_i386_set_ldt
=yes
6033 ac_cv_lib_i386_i386_set_ldt
=no
6035 rm -f core conftest.err conftest.
$ac_objext \
6036 conftest
$ac_exeext conftest.
$ac_ext
6037 LIBS
=$ac_check_lib_save_LIBS
6039 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_i386_i386_set_ldt" >&5
6040 $as_echo "$ac_cv_lib_i386_i386_set_ldt" >&6; }
6041 if test "x$ac_cv_lib_i386_i386_set_ldt" = xyes
; then :
6042 cat >>confdefs.h
<<_ACEOF
6043 #define HAVE_LIBI386 1
6050 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _oss_ioctl in -lossaudio" >&5
6051 $as_echo_n "checking for _oss_ioctl in -lossaudio... " >&6; }
6052 if ${ac_cv_lib_ossaudio__oss_ioctl+:} false
; then :
6053 $as_echo_n "(cached) " >&6
6055 ac_check_lib_save_LIBS
=$LIBS
6056 LIBS
="-lossaudio $LIBS"
6057 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6058 /* end confdefs.h. */
6060 /* Override any GCC internal prototype to avoid an error.
6061 Use char because int might match the return type of a GCC
6062 builtin and then its argument prototype would still apply. */
6070 return _oss_ioctl ();
6075 if ac_fn_c_try_link
"$LINENO"; then :
6076 ac_cv_lib_ossaudio__oss_ioctl
=yes
6078 ac_cv_lib_ossaudio__oss_ioctl
=no
6080 rm -f core conftest.err conftest.
$ac_objext \
6081 conftest
$ac_exeext conftest.
$ac_ext
6082 LIBS
=$ac_check_lib_save_LIBS
6084 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ossaudio__oss_ioctl" >&5
6085 $as_echo "$ac_cv_lib_ossaudio__oss_ioctl" >&6; }
6086 if test "x$ac_cv_lib_ossaudio__oss_ioctl" = xyes
; then :
6087 cat >>confdefs.h
<<_ACEOF
6088 #define HAVE_LIBOSSAUDIO 1
6091 LIBS
="-lossaudio $LIBS"
6100 # Check whether --enable-largefile was given.
6101 if test "${enable_largefile+set}" = set; then :
6102 enableval
=$enable_largefile;
6105 if test "$enable_largefile" != no
; then
6107 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for special C compiler options needed for large files" >&5
6108 $as_echo_n "checking for special C compiler options needed for large files... " >&6; }
6109 if ${ac_cv_sys_largefile_CC+:} false
; then :
6110 $as_echo_n "(cached) " >&6
6112 ac_cv_sys_largefile_CC
=no
6113 if test "$GCC" != yes; then
6116 # IRIX 6.2 and later do not support large files by default,
6117 # so use the C compiler's -n32 option if that helps.
6118 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6119 /* end confdefs.h. */
6120 #include <sys/types.h>
6121 /* Check that off_t can represent 2**63 - 1 correctly.
6122 We can't simply define LARGE_OFF_T to be 9223372036854775807,
6123 since some C++ compilers masquerading as C compilers
6124 incorrectly reject 9223372036854775807. */
6125 #define LARGE_OFF_T ((((off_t) 1 << 31) << 31) - 1 + (((off_t) 1 << 31) << 31))
6126 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
6127 && LARGE_OFF_T % 2147483647 == 1)
6137 if ac_fn_c_try_compile
"$LINENO"; then :
6140 rm -f core conftest.err conftest.
$ac_objext
6142 if ac_fn_c_try_compile
"$LINENO"; then :
6143 ac_cv_sys_largefile_CC
=' -n32'; break
6145 rm -f core conftest.err conftest.
$ac_objext
6149 rm -f conftest.
$ac_ext
6152 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_largefile_CC" >&5
6153 $as_echo "$ac_cv_sys_largefile_CC" >&6; }
6154 if test "$ac_cv_sys_largefile_CC" != no
; then
6155 CC
=$CC$ac_cv_sys_largefile_CC
6158 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _FILE_OFFSET_BITS value needed for large files" >&5
6159 $as_echo_n "checking for _FILE_OFFSET_BITS value needed for large files... " >&6; }
6160 if ${ac_cv_sys_file_offset_bits+:} false
; then :
6161 $as_echo_n "(cached) " >&6
6164 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6165 /* end confdefs.h. */
6166 #include <sys/types.h>
6167 /* Check that off_t can represent 2**63 - 1 correctly.
6168 We can't simply define LARGE_OFF_T to be 9223372036854775807,
6169 since some C++ compilers masquerading as C compilers
6170 incorrectly reject 9223372036854775807. */
6171 #define LARGE_OFF_T ((((off_t) 1 << 31) << 31) - 1 + (((off_t) 1 << 31) << 31))
6172 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
6173 && LARGE_OFF_T % 2147483647 == 1)
6183 if ac_fn_c_try_compile
"$LINENO"; then :
6184 ac_cv_sys_file_offset_bits
=no
; break
6186 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
6187 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6188 /* end confdefs.h. */
6189 #define _FILE_OFFSET_BITS 64
6190 #include <sys/types.h>
6191 /* Check that off_t can represent 2**63 - 1 correctly.
6192 We can't simply define LARGE_OFF_T to be 9223372036854775807,
6193 since some C++ compilers masquerading as C compilers
6194 incorrectly reject 9223372036854775807. */
6195 #define LARGE_OFF_T ((((off_t) 1 << 31) << 31) - 1 + (((off_t) 1 << 31) << 31))
6196 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
6197 && LARGE_OFF_T % 2147483647 == 1)
6207 if ac_fn_c_try_compile
"$LINENO"; then :
6208 ac_cv_sys_file_offset_bits
=64; break
6210 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
6211 ac_cv_sys_file_offset_bits
=unknown
6215 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_file_offset_bits" >&5
6216 $as_echo "$ac_cv_sys_file_offset_bits" >&6; }
6217 case $ac_cv_sys_file_offset_bits in #(
6220 cat >>confdefs.h
<<_ACEOF
6221 #define _FILE_OFFSET_BITS $ac_cv_sys_file_offset_bits
6226 if test $ac_cv_sys_file_offset_bits = unknown
; then
6227 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _LARGE_FILES value needed for large files" >&5
6228 $as_echo_n "checking for _LARGE_FILES value needed for large files... " >&6; }
6229 if ${ac_cv_sys_large_files+:} false
; then :
6230 $as_echo_n "(cached) " >&6
6233 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6234 /* end confdefs.h. */
6235 #include <sys/types.h>
6236 /* Check that off_t can represent 2**63 - 1 correctly.
6237 We can't simply define LARGE_OFF_T to be 9223372036854775807,
6238 since some C++ compilers masquerading as C compilers
6239 incorrectly reject 9223372036854775807. */
6240 #define LARGE_OFF_T ((((off_t) 1 << 31) << 31) - 1 + (((off_t) 1 << 31) << 31))
6241 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
6242 && LARGE_OFF_T % 2147483647 == 1)
6252 if ac_fn_c_try_compile
"$LINENO"; then :
6253 ac_cv_sys_large_files
=no
; break
6255 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
6256 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6257 /* end confdefs.h. */
6258 #define _LARGE_FILES 1
6259 #include <sys/types.h>
6260 /* Check that off_t can represent 2**63 - 1 correctly.
6261 We can't simply define LARGE_OFF_T to be 9223372036854775807,
6262 since some C++ compilers masquerading as C compilers
6263 incorrectly reject 9223372036854775807. */
6264 #define LARGE_OFF_T ((((off_t) 1 << 31) << 31) - 1 + (((off_t) 1 << 31) << 31))
6265 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
6266 && LARGE_OFF_T % 2147483647 == 1)
6276 if ac_fn_c_try_compile
"$LINENO"; then :
6277 ac_cv_sys_large_files
=1; break
6279 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
6280 ac_cv_sys_large_files
=unknown
6284 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_large_files" >&5
6285 $as_echo "$ac_cv_sys_large_files" >&6; }
6286 case $ac_cv_sys_large_files in #(
6289 cat >>confdefs.h
<<_ACEOF
6290 #define _LARGE_FILES $ac_cv_sys_large_files
6302 ac_cpp
='$CPP $CPPFLAGS'
6303 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6304 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6305 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
6306 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
6307 $as_echo_n "checking how to run the C preprocessor... " >&6; }
6308 # On Suns, sometimes $CPP names a directory.
6309 if test -n "$CPP" && test -d "$CPP"; then
6312 if test -z "$CPP"; then
6313 if ${ac_cv_prog_CPP+:} false
; then :
6314 $as_echo_n "(cached) " >&6
6316 # Double quotes because CPP needs to be expanded
6317 for CPP
in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
6320 for ac_c_preproc_warn_flag
in '' yes
6322 # Use a header file that comes with gcc, so configuring glibc
6323 # with a fresh cross-compiler works.
6324 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
6325 # <limits.h> exists even on freestanding compilers.
6326 # On the NeXT, cc -E runs the code through the compiler's parser,
6327 # not just through cpp. "Syntax error" is here to catch this case.
6328 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6329 /* end confdefs.h. */
6331 # include <limits.h>
6333 # include <assert.h>
6337 if ac_fn_c_try_cpp
"$LINENO"; then :
6340 # Broken: fails on valid input.
6343 rm -f conftest.err conftest.i conftest.
$ac_ext
6345 # OK, works on sane cases. Now check whether nonexistent headers
6346 # can be detected and how.
6347 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6348 /* end confdefs.h. */
6349 #include <ac_nonexistent.h>
6351 if ac_fn_c_try_cpp
"$LINENO"; then :
6352 # Broken: success on invalid input.
6355 # Passes both tests.
6359 rm -f conftest.err conftest.i conftest.
$ac_ext
6362 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
6363 rm -f conftest.i conftest.err conftest.
$ac_ext
6364 if $ac_preproc_ok; then :
6376 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
6377 $as_echo "$CPP" >&6; }
6379 for ac_c_preproc_warn_flag
in '' yes
6381 # Use a header file that comes with gcc, so configuring glibc
6382 # with a fresh cross-compiler works.
6383 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
6384 # <limits.h> exists even on freestanding compilers.
6385 # On the NeXT, cc -E runs the code through the compiler's parser,
6386 # not just through cpp. "Syntax error" is here to catch this case.
6387 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6388 /* end confdefs.h. */
6390 # include <limits.h>
6392 # include <assert.h>
6396 if ac_fn_c_try_cpp
"$LINENO"; then :
6399 # Broken: fails on valid input.
6402 rm -f conftest.err conftest.i conftest.
$ac_ext
6404 # OK, works on sane cases. Now check whether nonexistent headers
6405 # can be detected and how.
6406 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6407 /* end confdefs.h. */
6408 #include <ac_nonexistent.h>
6410 if ac_fn_c_try_cpp
"$LINENO"; then :
6411 # Broken: success on invalid input.
6414 # Passes both tests.
6418 rm -f conftest.err conftest.i conftest.
$ac_ext
6421 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
6422 rm -f conftest.i conftest.err conftest.
$ac_ext
6423 if $ac_preproc_ok; then :
6426 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
6427 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
6428 as_fn_error $?
"C preprocessor \"$CPP\" fails sanity check
6429 See \`config.log' for more details" "$LINENO" 5; }
6433 ac_cpp
='$CPP $CPPFLAGS'
6434 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6435 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6436 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
6439 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
6440 $as_echo_n "checking for ANSI C header files... " >&6; }
6441 if ${ac_cv_header_stdc+:} false
; then :
6442 $as_echo_n "(cached) " >&6
6444 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6445 /* end confdefs.h. */
6459 if ac_fn_c_try_compile
"$LINENO"; then :
6460 ac_cv_header_stdc
=yes
6462 ac_cv_header_stdc
=no
6464 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
6466 if test $ac_cv_header_stdc = yes; then
6467 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
6468 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6469 /* end confdefs.h. */
6473 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
6474 $EGREP "memchr" >/dev
/null
2>&1; then :
6477 ac_cv_header_stdc
=no
6483 if test $ac_cv_header_stdc = yes; then
6484 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
6485 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6486 /* end confdefs.h. */
6490 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
6491 $EGREP "free" >/dev
/null
2>&1; then :
6494 ac_cv_header_stdc
=no
6500 if test $ac_cv_header_stdc = yes; then
6501 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
6502 if test "$cross_compiling" = yes; then :
6505 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6506 /* end confdefs.h. */
6509 #if ((' ' & 0x0FF) == 0x020)
6510 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
6511 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
6513 # define ISLOWER(c) \
6514 (('a' <= (c) && (c) <= 'i') \
6515 || ('j' <= (c) && (c) <= 'r') \
6516 || ('s' <= (c) && (c) <= 'z'))
6517 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
6520 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
6525 for (i = 0; i < 256; i++)
6526 if (XOR (islower (i), ISLOWER (i))
6527 || toupper (i) != TOUPPER (i))
6532 if ac_fn_c_try_run
"$LINENO"; then :
6535 ac_cv_header_stdc
=no
6537 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext \
6538 conftest.
$ac_objext conftest.beam conftest.
$ac_ext
6543 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
6544 $as_echo "$ac_cv_header_stdc" >&6; }
6545 if test $ac_cv_header_stdc = yes; then
6547 $as_echo "#define STDC_HEADERS 1" >>confdefs.h
6551 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
6552 for ac_header
in sys
/types.h sys
/stat.h stdlib.h string.h memory.h
strings.h \
6553 inttypes.h stdint.h unistd.h
6555 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
6556 ac_fn_c_check_header_compile
"$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
6558 if eval test \"x\$
"$as_ac_Header"\" = x
"yes"; then :
6559 cat >>confdefs.h
<<_ACEOF
6560 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
6570 ApplicationServices
/ApplicationServices.h \
6571 AudioToolbox
/AudioConverter.h \
6572 AudioUnit
/AudioUnit.h \
6573 AudioUnit
/AudioComponent.h \
6576 CoreAudio
/CoreAudio.h \
6577 CoreServices
/CoreServices.h \
6578 DiskArbitration
/DiskArbitration.h \
6580 IOKit
/hid
/IOHIDLib.h \
6583 QuickTime
/ImageCompression.h \
6584 Security
/Security.h \
6635 netinet
/in_systm.h \
6697 valgrind
/memcheck.h \
6698 valgrind
/valgrind.h \
6702 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
6703 ac_fn_c_check_header_mongrel
"$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
6704 if eval test \"x\$
"$as_ac_Header"\" = x
"yes"; then :
6705 cat >>confdefs.h
<<_ACEOF
6706 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
6713 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether stat file-mode macros are broken" >&5
6714 $as_echo_n "checking whether stat file-mode macros are broken... " >&6; }
6715 if ${ac_cv_header_stat_broken+:} false
; then :
6716 $as_echo_n "(cached) " >&6
6718 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6719 /* end confdefs.h. */
6720 #include <sys/types.h>
6721 #include <sys/stat.h>
6723 #if defined S_ISBLK && defined S_IFDIR
6724 extern char c1[S_ISBLK (S_IFDIR) ? -1 : 1];
6727 #if defined S_ISBLK && defined S_IFCHR
6728 extern char c2[S_ISBLK (S_IFCHR) ? -1 : 1];
6731 #if defined S_ISLNK && defined S_IFREG
6732 extern char c3[S_ISLNK (S_IFREG) ? -1 : 1];
6735 #if defined S_ISSOCK && defined S_IFREG
6736 extern char c4[S_ISSOCK (S_IFREG) ? -1 : 1];
6740 if ac_fn_c_try_compile
"$LINENO"; then :
6741 ac_cv_header_stat_broken
=no
6743 ac_cv_header_stat_broken
=yes
6745 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
6747 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stat_broken" >&5
6748 $as_echo "$ac_cv_header_stat_broken" >&6; }
6749 if test $ac_cv_header_stat_broken = yes; then
6751 $as_echo "#define STAT_MACROS_BROKEN 1" >>confdefs.h
6757 for ac_header
in sys
/mount.h sys
/statfs.h sys
/sysctl.h sys
/user.h sys
/vfs.h
6759 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
6760 ac_fn_c_check_header_compile
"$LINENO" "$ac_header" "$as_ac_Header" "#include <sys/types.h>
6761 #ifdef HAVE_SYS_PARAM_H
6762 # include <sys/param.h>
6765 if eval test \"x\$
"$as_ac_Header"\" = x
"yes"; then :
6766 cat >>confdefs.h
<<_ACEOF
6767 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
6782 netinet
/if_ether.h \
6783 netinet
/if_inarp.h \
6792 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
6793 ac_fn_c_check_header_compile
"$LINENO" "$ac_header" "$as_ac_Header" "#include <sys/types.h>
6794 #ifdef HAVE_SYS_SOCKET_H
6795 # include <sys/socket.h>
6797 #ifdef HAVE_SYS_SOCKETVAR_H
6798 # include <sys/socketvar.h>
6800 #ifdef HAVE_NET_ROUTE_H
6801 # include <net/route.h>
6803 #ifdef HAVE_NETINET_IN_H
6804 # include <netinet/in.h>
6806 #ifdef HAVE_NETINET_IN_SYSTM_H
6807 # include <netinet/in_systm.h>
6809 #ifdef HAVE_NET_IF_H
6810 # include <net/if.h>
6812 #ifdef HAVE_NETINET_IP_H
6813 # include <netinet/ip.h>
6816 if eval test \"x\$
"$as_ac_Header"\" = x
"yes"; then :
6817 cat >>confdefs.h
<<_ACEOF
6818 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
6826 for ac_header
in netinet
/tcp_timer.h netinet
/udp_var.h netinet
/icmp_var.h netinet
/tcp_var.h
6828 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
6829 ac_fn_c_check_header_compile
"$LINENO" "$ac_header" "$as_ac_Header" "#include <sys/types.h>
6833 #ifdef HAVE_SYS_SOCKET_H
6834 # include <sys/socket.h>
6836 #ifdef HAVE_SYS_SOCKETVAR_H
6837 # include <sys/socketvar.h>
6839 #ifdef HAVE_SYS_TIMEOUT_H
6840 # include <sys/timeout.h>
6842 #ifdef HAVE_NETINET_IN_H
6843 # include <netinet/in.h>
6845 #ifdef HAVE_NETINET_IN_SYSTM_H
6846 # include <netinet/in_systm.h>
6848 #ifdef HAVE_NETINET_IP_H
6849 # include <netinet/ip.h>
6851 #ifdef HAVE_NETINET_IP_VAR_H
6852 # include <netinet/ip_var.h>
6854 #ifdef HAVE_NETINET_IP_ICMP_H
6855 # include <netinet/ip_icmp.h>
6857 #ifdef HAVE_NETINET_UDP_H
6858 # include <netinet/udp.h>
6860 #ifdef HAVE_NETINET_TCP_H
6861 # include <netinet/tcp.h>
6863 #ifdef HAVE_NETINET_TCP_TIMER_H
6864 #include <netinet/tcp_timer.h>
6867 if eval test \"x\$
"$as_ac_Header"\" = x
"yes"; then :
6868 cat >>confdefs.h
<<_ACEOF
6869 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
6877 for ac_header
in linux
/ipx.h linux
/irda.h linux
/rtnetlink.h
6879 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
6880 ac_fn_c_check_header_compile
"$LINENO" "$ac_header" "$as_ac_Header" "#include <sys/types.h>
6881 #ifdef HAVE_ASM_TYPES_H
6882 # include <asm/types.h>
6884 #ifdef HAVE_SYS_SOCKET_H
6885 # include <sys/socket.h>
6887 #ifdef HAVE_LINUX_TYPES_H
6888 # include <linux/types.h>
6891 if eval test \"x\$
"$as_ac_Header"\" = x
"yes"; then :
6892 cat >>confdefs.h
<<_ACEOF
6893 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
6901 for ac_header
in mach-o
/dyld_images.h
6903 ac_fn_c_check_header_compile
"$LINENO" "mach-o/dyld_images.h" "ac_cv_header_mach_o_dyld_images_h" "#ifdef HAVE_STDBOOL_H
6904 # include <stdbool.h>
6906 #ifdef HAVE_STDINT_H
6907 # include <stdint.h>
6910 if test "x$ac_cv_header_mach_o_dyld_images_h" = xyes
; then :
6911 cat >>confdefs.h
<<_ACEOF
6912 #define HAVE_MACH_O_DYLD_IMAGES_H 1
6920 for ac_header
in resolv.h
6922 ac_fn_c_check_header_compile
"$LINENO" "resolv.h" "ac_cv_header_resolv_h" "#include <sys/types.h>
6923 #ifdef HAVE_SYS_SOCKET_H
6924 # include <sys/socket.h>
6926 #ifdef HAVE_NETINET_IN_H
6927 # include <netinet/in.h>
6929 #ifdef HAVE_ARPA_NAMESER_H
6930 # include <arpa/nameser.h>
6933 if test "x$ac_cv_header_resolv_h" = xyes
; then :
6934 cat >>confdefs.h
<<_ACEOF
6935 #define HAVE_RESOLV_H 1
6943 for ac_header
in ifaddrs.h
6945 ac_fn_c_check_header_compile
"$LINENO" "ifaddrs.h" "ac_cv_header_ifaddrs_h" "#include <sys/types.h>
6947 if test "x$ac_cv_header_ifaddrs_h" = xyes
; then :
6948 cat >>confdefs.h
<<_ACEOF
6949 #define HAVE_IFADDRS_H 1
6957 for ac_header
in sys
/ucontext.h
6959 ac_fn_c_check_header_compile
"$LINENO" "sys/ucontext.h" "ac_cv_header_sys_ucontext_h" "#include <signal.h>
6961 if test "x$ac_cv_header_sys_ucontext_h" = xyes
; then :
6962 cat >>confdefs.h
<<_ACEOF
6963 #define HAVE_SYS_UCONTEXT_H 1
6971 for ac_header
in sys
/thr.h
6973 ac_fn_c_check_header_compile
"$LINENO" "sys/thr.h" "ac_cv_header_sys_thr_h" "#include <sys/types.h>
6974 #ifdef HAVE_SYS_UCONTEXT_H
6975 #include <sys/ucontext.h>
6978 if test "x$ac_cv_header_sys_thr_h" = xyes
; then :
6979 cat >>confdefs.h
<<_ACEOF
6980 #define HAVE_SYS_THR_H 1
6988 for ac_header
in pthread_np.h
6990 ac_fn_c_check_header_compile
"$LINENO" "pthread_np.h" "ac_cv_header_pthread_np_h" "#ifdef HAVE_PTHREAD_H
6991 #include <pthread.h>
6994 if test "x$ac_cv_header_pthread_np_h" = xyes
; then :
6995 cat >>confdefs.h
<<_ACEOF
6996 #define HAVE_PTHREAD_NP_H 1
7004 for ac_header
in linux
/videodev.h linux
/videodev2.h libv4l1.h
7006 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
7007 ac_fn_c_check_header_compile
"$LINENO" "$ac_header" "$as_ac_Header" "#ifdef HAVE_SYS_TIME_H
7008 #include <sys/time.h>
7010 #include <sys/types.h>
7011 #ifdef HAVE_ASM_TYPES_H
7012 #include <asm/types.h>
7015 if eval test \"x\$
"$as_ac_Header"\" = x
"yes"; then :
7016 cat >>confdefs.h
<<_ACEOF
7017 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
7025 for ac_header
in libprocstat.h
7027 ac_fn_c_check_header_compile
"$LINENO" "libprocstat.h" "ac_cv_header_libprocstat_h" "#ifdef HAVE_SYS_PARAM_H
7028 #include <sys/param.h>
7030 #ifdef HAVE_SYS_QUEUE_H
7031 #include <sys/queue.h>
7033 #ifdef HAVE_SYS_SOCKET_H
7034 #include <sys/socket.h>
7037 if test "x$ac_cv_header_libprocstat_h" = xyes
; then :
7038 cat >>confdefs.h
<<_ACEOF
7039 #define HAVE_LIBPROCSTAT_H 1
7048 dlldir
="\${libdir}/wine"
7052 DLLFLAGS
="-D_REENTRANT"
7061 STATIC_IMPLIBEXT
="def.a"
7062 # Extract the first word of "ldd", so it can be a program name with args.
7063 set dummy ldd
; ac_word
=$2
7064 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7065 $as_echo_n "checking for $ac_word... " >&6; }
7066 if ${ac_cv_path_LDD+:} false
; then :
7067 $as_echo_n "(cached) " >&6
7071 ac_cv_path_LDD
="$LDD" # Let the user override the test with a path.
7074 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7075 as_dummy
="/sbin:/usr/sbin:$PATH"
7076 for as_dir
in $as_dummy
7079 test -z "$as_dir" && as_dir
=.
7080 for ac_exec_ext
in '' $ac_executable_extensions; do
7081 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
7082 ac_cv_path_LDD
="$as_dir/$ac_word$ac_exec_ext"
7083 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7090 test -z "$ac_cv_path_LDD" && ac_cv_path_LDD
="true"
7095 if test -n "$LDD"; then
7096 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LDD" >&5
7097 $as_echo "$LDD" >&6; }
7099 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7100 $as_echo "no" >&6; }
7104 if test -n "$ac_tool_prefix"; then
7105 # Extract the first word of "${ac_tool_prefix}readelf", so it can be a program name with args.
7106 set dummy
${ac_tool_prefix}readelf
; ac_word
=$2
7107 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7108 $as_echo_n "checking for $ac_word... " >&6; }
7109 if ${ac_cv_prog_READELF+:} false
; then :
7110 $as_echo_n "(cached) " >&6
7112 if test -n "$READELF"; then
7113 ac_cv_prog_READELF
="$READELF" # Let the user override the test.
7115 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7119 test -z "$as_dir" && as_dir
=.
7120 for ac_exec_ext
in '' $ac_executable_extensions; do
7121 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
7122 ac_cv_prog_READELF
="${ac_tool_prefix}readelf"
7123 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7132 READELF
=$ac_cv_prog_READELF
7133 if test -n "$READELF"; then
7134 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $READELF" >&5
7135 $as_echo "$READELF" >&6; }
7137 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7138 $as_echo "no" >&6; }
7143 if test -z "$ac_cv_prog_READELF"; then
7144 ac_ct_READELF
=$READELF
7145 # Extract the first word of "readelf", so it can be a program name with args.
7146 set dummy readelf
; ac_word
=$2
7147 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7148 $as_echo_n "checking for $ac_word... " >&6; }
7149 if ${ac_cv_prog_ac_ct_READELF+:} false
; then :
7150 $as_echo_n "(cached) " >&6
7152 if test -n "$ac_ct_READELF"; then
7153 ac_cv_prog_ac_ct_READELF
="$ac_ct_READELF" # Let the user override the test.
7155 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7159 test -z "$as_dir" && as_dir
=.
7160 for ac_exec_ext
in '' $ac_executable_extensions; do
7161 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
7162 ac_cv_prog_ac_ct_READELF
="readelf"
7163 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7172 ac_ct_READELF
=$ac_cv_prog_ac_ct_READELF
7173 if test -n "$ac_ct_READELF"; then
7174 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_READELF" >&5
7175 $as_echo "$ac_ct_READELF" >&6; }
7177 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7178 $as_echo "no" >&6; }
7181 if test "x$ac_ct_READELF" = x
; then
7184 case $cross_compiling:$ac_tool_warned in
7186 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7187 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7188 ac_tool_warned
=yes ;;
7190 READELF
=$ac_ct_READELF
7193 READELF
="$ac_cv_prog_READELF"
7196 wine_rules_file
=conf$
$rules.
make
7197 rm -f $wine_rules_file
7199 GITIGNORE
="# Automatically generated by configure; DO NOT EDIT!!"
7200 ALL_TEST_RESOURCES
=""
7203 wine_fn_append_file
()
7205 as_fn_append
$1 " \\$as_nl $2"
7208 wine_fn_ignore_file
()
7211 */*) as_fn_append GITIGNORE
"$as_nl$1" ;;
7212 \
**) as_fn_append GITIGNORE
"$as_nl$1" ;;
7213 *) as_fn_append GITIGNORE
"$as_nl/$1" ;;
7217 wine_fn_append_rule
()
7219 $as_echo "$1" >>$wine_rules_file
7224 expr ",$ac_flags," : ".*,$1,.*" >/dev
/null
7227 wine_fn_depend_rules
()
7229 wine_fn_append_rule \
7230 "$ac_dir/Makefile: $srcdir/$ac_dir/Makefile.in $srcdir/Make.vars.in config.status \$(MAKEDEP)
7231 @./config.status --file $ac_dir/Makefile:Make.vars.in:$ac_dir/Makefile.in && \$(MAKEDEP) $ac_dir
7232 depend: $ac_dir/depend
7233 .PHONY: $ac_dir/depend
7234 $ac_dir/depend: \$(MAKEDEP) dummy
7235 @./config.status --file $ac_dir/Makefile:Make.vars.in:$ac_dir/Makefile.in && \$(MAKEDEP) $ac_dir"
7238 wine_fn_pot_rules
()
7240 test "x$with_gettextpo" = xyes ||
return
7242 if wine_fn_has_flag mc
7244 wine_fn_append_file ALL_POT_FILES
$ac_dir/msg.pot
7245 wine_fn_append_rule \
7246 "$ac_dir/msg.pot: $ac_dir/Makefile dummy
7247 @cd $ac_dir && \$(MAKE) msg.pot
7248 $ac_dir/msg.pot: tools/wmc include"
7250 if wine_fn_has_flag po
7252 wine_fn_append_file ALL_POT_FILES
$ac_dir/rsrc.pot
7253 wine_fn_append_rule \
7254 "$ac_dir/rsrc.pot: $ac_dir/Makefile dummy
7255 @cd $ac_dir && \$(MAKE) rsrc.pot
7256 $ac_dir/rsrc.pot: tools/wrc include"
7260 wine_fn_all_rules
()
7262 wine_fn_depend_rules
7263 wine_fn_append_rule \
7266 $ac_dir: $ac_dir/Makefile dummy
7267 @cd $ac_dir && \$(MAKE)"
7270 wine_fn_install_rules
()
7272 wine_fn_has_flag install-lib || wine_fn_has_flag install-dev ||
return
7274 wine_fn_append_rule \
7275 ".PHONY: $ac_dir/install $ac_dir/uninstall
7276 $ac_dir/install:: $ac_dir
7277 @cd $ac_dir && \$(MAKE) install
7278 $ac_dir/uninstall:: $ac_dir/Makefile
7279 @cd $ac_dir && \$(MAKE) uninstall
7280 install:: $ac_dir/install
7281 __uninstall__: $ac_dir/uninstall"
7283 if wine_fn_has_flag install-lib
7285 wine_fn_append_rule \
7286 ".PHONY: $ac_dir/install-lib
7287 $ac_dir/install-lib:: $ac_dir
7288 @cd $ac_dir && \$(MAKE) install-lib
7289 install-lib:: $ac_dir/install-lib"
7292 if wine_fn_has_flag install-dev
7294 wine_fn_append_rule \
7295 ".PHONY: $ac_dir/install-dev
7296 $ac_dir/install-dev:: $ac_dir
7297 @cd $ac_dir && \$(MAKE) install-dev
7298 install-dev:: $ac_dir/install-dev"
7302 wine_fn_clean_rules
()
7305 ac_extraclean
="$ac_dir/Makefile"
7306 test "$srcdir" = .
&& ac_extraclean
="$ac_extraclean $ac_dir/.gitignore"
7308 */tests
) ac_extraclean
="$ac_extraclean $ac_dir/testlist.c" ;;
7311 if wine_fn_has_flag clean
7313 wine_fn_append_rule \
7314 "__clean__: $ac_dir/clean
7315 .PHONY: $ac_dir/clean
7316 $ac_dir/clean: $ac_dir/Makefile
7317 @cd $ac_dir && \$(MAKE) clean
7318 \$(RM) $ac_extraclean"
7320 wine_fn_append_rule \
7321 "__clean__: $ac_dir/clean
7322 .PHONY: $ac_dir/clean
7323 $ac_dir/clean: dummy
7324 \$(RM) \$(CLEAN_FILES:%=$ac_dir/%) $ac_clean $ac_extraclean"
7328 wine_fn_disabled_rules
()
7331 ac_extraclean
="$ac_dir/Makefile"
7332 test "$srcdir" = .
&& ac_extraclean
="$ac_extraclean $ac_dir/.gitignore"
7334 wine_fn_append_rule \
7335 "__clean__: $ac_dir/clean
7336 .PHONY: $ac_dir/clean
7337 $ac_dir/clean: dummy
7338 \$(RM) \$(CLEAN_FILES:%=$ac_dir/%) $ac_clean $ac_extraclean"
7341 wine_fn_config_makefile
()
7347 if eval test \"x\$
"$ac_enable"\" = x
"no"; then :
7348 wine_fn_disabled_rules
; return
7351 wine_fn_install_rules
7355 wine_fn_config_lib
()
7359 ac_dir
=dlls
/$ac_name
7362 if test "x$enable_tools" = xno
; then :
7365 ac_deps
="tools/widl tools/winebuild tools/winegcc $ac_deps"
7370 wine_fn_append_rule \
7371 ".PHONY: $ac_dir/install $ac_dir/uninstall
7372 $ac_dir/install:: $ac_dir
7373 \$(INSTALL_DATA) $ac_dir/lib$ac_name.a \$(DESTDIR)\$(dlldir)/lib$ac_name.a
7375 \$(RM) \$(DESTDIR)\$(dlldir)/lib$ac_name.a
7376 install install-dev:: $ac_dir/install
7377 __uninstall__: $ac_dir/uninstall
7378 __builddeps__: $ac_dir
7382 wine_fn_config_dll
()
7385 ac_dir
=dlls
/$ac_name
7388 ac_implib
=${4:-$ac_name}
7389 ac_file
=$ac_dir/lib
$ac_implib
7394 if test "x$enable_tools" = xno
; then :
7397 ac_deps
="tools/widl tools/winebuild tools/winegcc $ac_deps"
7400 *16) ac_implibflags
=" -m16" ;;
7402 *) ac_dll
=$ac_dll.dll
;;
7406 wine_fn_has_flag implib
&& ac_clean
="$ac_clean $ac_file.$IMPLIBEXT"
7407 wine_fn_has_flag mc
&& ac_clean
="$ac_clean $ac_dir/msg.pot"
7408 wine_fn_has_flag po
&& ac_clean
="$ac_clean $ac_dir/rsrc.pot"
7409 test -n "$DLLEXT" || ac_clean
="$ac_clean $ac_dir/$ac_dll"
7411 if eval test \"x\$
"$ac_enable"\" = x
"no"; then :
7412 if wine_fn_has_flag implib
&& test "$ac_enable" != enable_win16
7414 wine_fn_depend_rules
7415 wine_fn_clean_rules
$ac_clean
7417 wine_fn_disabled_rules
$ac_clean
7422 wine_fn_clean_rules
$ac_clean
7423 wine_fn_append_rule \
7424 "$ac_dir: __builddeps__
7425 manpages htmlpages sgmlpages xmlpages:: $ac_dir/Makefile
7426 @cd $ac_dir && \$(MAKE) \$@
7427 .PHONY: $ac_dir/install-lib $ac_dir/uninstall
7428 install install-lib:: $ac_dir/install-lib
7429 __uninstall__: $ac_dir/uninstall"
7430 if test -n "$DLLEXT"
7432 wine_fn_append_rule \
7433 "$ac_dir/install-lib:: $ac_dir
7434 \$(INSTALL_PROGRAM) $ac_dir/$ac_dll$DLLEXT \$(DESTDIR)\$(dlldir)/$DLLPREFIX$ac_dll$DLLEXT
7435 \$(INSTALL_DATA) $ac_dir/$ac_dll.fake \$(DESTDIR)\$(fakedlldir)/$ac_dll
7437 \$(RM) \$(DESTDIR)\$(dlldir)/$DLLPREFIX$ac_dll$DLLEXT \$(DESTDIR)\$(fakedlldir)/$ac_dll"
7439 wine_fn_append_rule \
7440 "$ac_dir/install-lib:: $ac_dir
7441 \$(INSTALL_PROGRAM) $ac_dir/$ac_dll \$(DESTDIR)\$(dlldir)/$ac_dll
7443 \$(RM) \$(DESTDIR)\$(dlldir)/$ac_dll"
7449 if wine_fn_has_flag staticimplib
7451 wine_fn_append_rule \
7452 "__builddeps__: $ac_file.$IMPLIBEXT $ac_file.$STATIC_IMPLIBEXT
7453 $ac_file.$IMPLIBEXT $ac_file.$STATIC_IMPLIBEXT $ac_file.cross.a: $ac_deps
7454 $ac_file.def: $srcdir/$ac_dir/$ac_name.spec $ac_dir/Makefile \$(WINEBUILD)
7455 \$(WINEBUILD) \$(TARGETFLAGS)$ac_implibflags -w --def -o \$@ --export $srcdir/$ac_dir/$ac_name.spec
7456 $ac_file.$STATIC_IMPLIBEXT: $ac_dir/Makefile dummy
7457 @cd $ac_dir && \$(MAKE) lib$ac_implib.$STATIC_IMPLIBEXT
7458 .PHONY: $ac_dir/install-dev $ac_dir/uninstall
7459 $ac_dir/install-dev:: $ac_file.$IMPLIBEXT
7460 \$(INSTALL_DATA) $ac_file.$IMPLIBEXT \$(DESTDIR)\$(dlldir)/lib$ac_implib.$IMPLIBEXT
7462 \$(RM) \$(DESTDIR)\$(dlldir)/lib$ac_implib.$IMPLIBEXT
7463 install install-dev:: $ac_dir/install-dev
7464 __uninstall__: $ac_dir/uninstall"
7466 if test "$IMPLIBEXT" != "$STATIC_IMPLIBEXT"
7468 wine_fn_append_rule \
7469 "$ac_dir/install-dev:: $ac_file.$STATIC_IMPLIBEXT __builddeps__
7470 \$(INSTALL_DATA) $ac_file.$STATIC_IMPLIBEXT \$(DESTDIR)\$(dlldir)/lib$ac_implib.$STATIC_IMPLIBEXT
7472 \$(RM) \$(DESTDIR)\$(dlldir)/lib$ac_implib.$STATIC_IMPLIBEXT"
7475 if test -n "$CROSSTARGET" -a -z "$ac_implibflags"
7477 wine_fn_append_rule \
7478 "__builddeps__: $ac_file.cross.a
7479 $ac_file.cross.a: $ac_dir/Makefile dummy
7480 @cd $ac_dir && \$(MAKE) lib$ac_implib.cross.a"
7483 elif wine_fn_has_flag implib
7485 wine_fn_append_rule \
7486 "__builddeps__: $ac_file.$IMPLIBEXT
7487 $ac_file.def: $srcdir/$ac_dir/$ac_name.spec $ac_dir/Makefile \$(WINEBUILD)
7488 \$(WINEBUILD) \$(TARGETFLAGS)$ac_implibflags -w --def -o \$@ --export $srcdir/$ac_dir/$ac_name.spec
7489 $ac_file.a: $srcdir/$ac_dir/$ac_name.spec $ac_dir/Makefile \$(WINEBUILD)
7490 \$(WINEBUILD) \$(TARGETFLAGS)$ac_implibflags -w --implib -o \$@ --export $srcdir/$ac_dir/$ac_name.spec
7491 .PHONY: $ac_dir/install-dev $ac_dir/uninstall
7492 $ac_dir/install-dev:: $ac_file.$IMPLIBEXT
7493 \$(INSTALL_DATA) $ac_file.$IMPLIBEXT \$(DESTDIR)\$(dlldir)/lib$ac_implib.$IMPLIBEXT
7495 \$(RM) \$(DESTDIR)\$(dlldir)/lib$ac_implib.$IMPLIBEXT
7496 install install-dev:: $ac_dir/install-dev
7497 __uninstall__: $ac_dir/uninstall"
7498 if test -n "$CROSSTARGET" -a -z "$ac_implibflags"
7500 wine_fn_append_rule \
7501 "__builddeps__: $ac_file.cross.a
7502 $ac_file.cross.a: $srcdir/$ac_dir/$ac_name.spec $ac_dir/Makefile \$(WINEBUILD)
7503 \$(WINEBUILD) \$(CROSSTARGET:%=-b %)$ac_implibflags -w --implib -o \$@ --export $srcdir/$ac_dir/$ac_name.spec"
7506 if test "$ac_name" != "$ac_implib"
7508 wine_fn_append_rule \
7509 "__builddeps__: dlls/lib$ac_implib.$IMPLIBEXT
7510 dlls/lib$ac_implib.$IMPLIBEXT: $ac_file.$IMPLIBEXT
7511 \$(RM) \$@ && \$(LN_S) $ac_name/lib$ac_implib.$IMPLIBEXT \$@
7513 \$(RM) dlls/lib$ac_implib.$IMPLIBEXT"
7514 wine_fn_ignore_file
"dlls/lib$ac_implib.$IMPLIBEXT"
7515 if test -n "$CROSSTARGET" -a -z "$ac_implibflags"
7517 wine_fn_append_rule \
7518 "__builddeps__: dlls/lib$ac_implib.cross.a
7519 dlls/lib$ac_implib.cross.a: $ac_file.cross.a
7520 \$(RM) \$@ && \$(LN_S) $ac_name/lib$ac_implib.cross.a \$@
7522 \$(RM) dlls/lib$ac_implib.cross.a"
7523 wine_fn_ignore_file
"dlls/lib$ac_implib.cross.a"
7529 wine_fn_config_program
()
7532 ac_dir
=programs
/$ac_name
7539 *) ac_program
=$ac_program.exe
;;
7543 wine_fn_has_flag mc
&& ac_clean
="$ac_clean $ac_dir/msg.pot"
7544 wine_fn_has_flag po
&& ac_clean
="$ac_clean $ac_dir/rsrc.pot"
7545 wine_fn_has_flag manpage
&& ac_clean
="$ac_clean $ac_dir/$ac_name.man"
7546 test -n "$DLLEXT" || ac_clean
="$ac_clean $ac_dir/$ac_program"
7548 if eval test \"x\$
"$ac_enable"\" = x
"no"; then :
7549 wine_fn_disabled_rules
$ac_clean; return
7553 wine_fn_clean_rules
$ac_clean
7554 wine_fn_append_rule
"$ac_dir: __builddeps__"
7557 wine_fn_has_flag
install ||
return
7558 wine_fn_append_rule \
7559 ".PHONY: $ac_dir/install $ac_dir/uninstall
7560 install install-lib:: $ac_dir/install
7561 __uninstall__: $ac_dir/uninstall"
7563 if test -n "$DLLEXT"
7565 wine_fn_append_rule \
7566 "$ac_dir/install:: $ac_dir
7567 \$(INSTALL_PROGRAM) $ac_dir/$ac_program$DLLEXT \$(DESTDIR)\$(dlldir)/$DLLPREFIX$ac_program$DLLEXT
7568 \$(INSTALL_DATA) $ac_dir/$ac_program.fake \$(DESTDIR)\$(fakedlldir)/$ac_program
7570 \$(RM) \$(DESTDIR)\$(dlldir)/$DLLPREFIX$ac_program$DLLEXT \$(DESTDIR)\$(fakedlldir)/$ac_program"
7572 if test -z "$with_wine64" && wine_fn_has_flag installbin
7574 wine_fn_append_rule \
7575 "$ac_dir/install:: __tooldeps__
7576 \$(INSTALL_SCRIPT) \$(TOOLSDIR)/tools/wineapploader \$(DESTDIR)\$(bindir)/$ac_name
7578 \$(RM) \$(DESTDIR)\$(bindir)/$ac_name"
7581 wine_fn_append_rule \
7582 "$ac_dir/install:: $ac_dir
7583 \$(INSTALL_PROGRAM) $ac_dir/$ac_program \$(DESTDIR)\$(bindir)/$ac_program
7585 \$(RM) \$(DESTDIR)\$(bindir)/$ac_program"
7588 if test -z "$with_wine64" && wine_fn_has_flag manpage
7590 wine_fn_append_rule \
7591 "$ac_dir/install:: $ac_dir
7592 \$(INSTALL_DATA) $ac_dir/$ac_name.man \$(DESTDIR)\$(mandir)/man\$(prog_manext)/$ac_name.\$(prog_manext)
7594 \$(RM) \$(DESTDIR)\$(mandir)/man\$(prog_manext)/$ac_name.\$(prog_manext)"
7598 wine_fn_config_test
()
7605 test -n "$CROSSTARGET" && ac_clean
=`expr $ac_dir/${ac_name} : "\\(.*\\)_test"`_crosstest.exe
7606 test -n "$DLLEXT" || ac_clean
="$ac_dir/${ac_name}.exe $ac_dir/${ac_name}-stripped.exe"
7608 if test "x$enable_tests" = xno
; then :
7609 wine_fn_disabled_rules
$ac_clean; return
7612 wine_fn_append_file ALL_TEST_RESOURCES
$ac_name.res
7614 wine_fn_clean_rules
$ac_clean
7616 wine_fn_append_rule \
7617 "$ac_dir: programs/winetest/Makefile __builddeps__
7618 programs/winetest: $ac_dir
7619 check test: $ac_dir/test
7620 .PHONY: $ac_dir/test
7622 @cd $ac_dir && \$(MAKE) test
7624 \$(RM) $ac_dir/*.ok"
7626 if test -n "$CROSSTARGET"
7628 wine_fn_append_rule \
7629 "crosstest: $ac_dir/crosstest
7630 .PHONY: $ac_dir/crosstest
7631 $ac_dir/crosstest: $ac_dir/Makefile __builddeps__ dummy
7632 @cd $ac_dir && \$(MAKE) crosstest"
7636 wine_fn_config_tool
()
7640 if test "x$enable_tools" = xno
; then :
7645 wine_fn_install_rules
7648 wine_fn_append_rule
"__tooldeps__: $ac_dir"
7649 wine_fn_append_rule
"$ac_dir: libs/port"
7651 tools
/winebuild
) wine_fn_append_rule
"\$(WINEBUILD): $ac_dir" ;;
7655 wine_fn_config_symlink
()
7658 if test "x$1" = "x-d"
7664 wine_fn_append_rule \
7666 @./config.status \$@
7669 for f
in $ac_links; do wine_fn_ignore_file
$f; done
7670 test -n "$ac_linkdir" ||
return
7671 wine_fn_append_rule
"$ac_linkdir/Makefile $ac_linkdir/depend: $ac_links"
7675 test "x$enable_win64" != "xyes" || wine_binary
="wine64"
7676 loader_programs
="$wine_binary wine-installed"
7677 libwine_soversion
=`expr $libwine_version : '\([0-9]*\)\..*'`
7682 install install-lib:: wine-installed
7683 \$(INSTALL_PROGRAM) wine-installed \$(DESTDIR)\$(bindir)/$wine_binary
7686 \$(RM) \$(DESTDIR)\$(bindir)/$wine_binary
7692 if test -n "$ac_tool_prefix"; then
7693 # Extract the first word of "${ac_tool_prefix}dlltool", so it can be a program name with args.
7694 set dummy
${ac_tool_prefix}dlltool
; ac_word
=$2
7695 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7696 $as_echo_n "checking for $ac_word... " >&6; }
7697 if ${ac_cv_prog_DLLTOOL+:} false
; then :
7698 $as_echo_n "(cached) " >&6
7700 if test -n "$DLLTOOL"; then
7701 ac_cv_prog_DLLTOOL
="$DLLTOOL" # Let the user override the test.
7703 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7707 test -z "$as_dir" && as_dir
=.
7708 for ac_exec_ext
in '' $ac_executable_extensions; do
7709 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
7710 ac_cv_prog_DLLTOOL
="${ac_tool_prefix}dlltool"
7711 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7720 DLLTOOL
=$ac_cv_prog_DLLTOOL
7721 if test -n "$DLLTOOL"; then
7722 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DLLTOOL" >&5
7723 $as_echo "$DLLTOOL" >&6; }
7725 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7726 $as_echo "no" >&6; }
7731 if test -z "$ac_cv_prog_DLLTOOL"; then
7732 ac_ct_DLLTOOL
=$DLLTOOL
7733 # Extract the first word of "dlltool", so it can be a program name with args.
7734 set dummy dlltool
; ac_word
=$2
7735 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7736 $as_echo_n "checking for $ac_word... " >&6; }
7737 if ${ac_cv_prog_ac_ct_DLLTOOL+:} false
; then :
7738 $as_echo_n "(cached) " >&6
7740 if test -n "$ac_ct_DLLTOOL"; then
7741 ac_cv_prog_ac_ct_DLLTOOL
="$ac_ct_DLLTOOL" # Let the user override the test.
7743 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7747 test -z "$as_dir" && as_dir
=.
7748 for ac_exec_ext
in '' $ac_executable_extensions; do
7749 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
7750 ac_cv_prog_ac_ct_DLLTOOL
="dlltool"
7751 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7760 ac_ct_DLLTOOL
=$ac_cv_prog_ac_ct_DLLTOOL
7761 if test -n "$ac_ct_DLLTOOL"; then
7762 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DLLTOOL" >&5
7763 $as_echo "$ac_ct_DLLTOOL" >&6; }
7765 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7766 $as_echo "no" >&6; }
7769 if test "x$ac_ct_DLLTOOL" = x
; then
7772 case $cross_compiling:$ac_tool_warned in
7774 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7775 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7776 ac_tool_warned
=yes ;;
7778 DLLTOOL
=$ac_ct_DLLTOOL
7781 DLLTOOL
="$ac_cv_prog_DLLTOOL"
7787 STATIC_IMPLIBEXT
="a"
7788 enable_iphlpapi
=${enable_iphlpapi:-no}
7789 enable_kernel32
=${enable_kernel32:-no}
7790 enable_msvcrt
=${enable_msvcrt:-no}
7791 enable_ntdll
=${enable_ntdll:-no}
7792 enable_ws2_32
=${enable_ws2_32:-no}
7793 enable_loader
=${enable_loader:-no}
7794 enable_server
=${enable_server:-no}
7795 with_x
=${with_x:-no}
7796 with_pthread
=${with_pthread:-no}
7802 SOCKET_LIBS
="-L\$(top_builddir)/dlls/ws2_32 -lws2_32"
7806 libwine_targets
="libwine.dll libwine.a"
7808 OBJS = \$(C_SRCS:.c=.o) \$(EXTRA_OBJS)
7810 all: libwine.dll libwine.a
7812 libwine.a: \$(srcdir)/wine.def
7813 \$(DLLTOOL) -l \$@ -d \$(srcdir)/wine.def
7815 libwine.dll: \$(OBJS) \$(srcdir)/wine.def
7816 \$(CC) -shared \$(srcdir)/wine.def -o \$@ \$(OBJS) $crtlibs \$(EXTRALIBS)
7818 install install-lib:: libwine.dll
7819 \$(INSTALL_DATA) libwine.dll \$(DESTDIR)\$(libdir)/libwine.dll
7821 install install-dev:: libwine.a
7822 \$(INSTALL_DATA) libwine.a \$(DESTDIR)\$(libdir)/libwine.a
7825 -cd \$(DESTDIR)\$(libdir) && \$(RM) libwine.a libwine.dll
7832 DLLFLAGS
="$DLLFLAGS -fPIC"
7833 LIBWINE_LDFLAGS
="-multiply_defined suppress"
7834 LDRPATH_INSTALL
="-Wl,-rpath,@loader_path/\`\$(MAKEDEP) -R \$(bindir) \$(libdir)\`"
7835 LDRPATH_LOCAL
="-Wl,-rpath,@loader_path/\$(top_builddir)/libs/wine"
7836 COREFOUNDATION_LIBS
="-framework CoreFoundation"
7838 IOKIT_LIBS
="-framework IOKit -framework CoreFoundation"
7840 FORCEFEEDBACK_LIBS
="-framework ForceFeedback -framework CoreFoundation"
7842 APPLICATIONSERVICES_LIBS
="-framework ApplicationServices"
7844 CORESERVICES_LIBS
="-framework CoreServices"
7846 APPKIT_LIBS
="-framework AppKit"
7848 LDEXECFLAGS
="-image_base 0x7bf00000 -Wl,-segaddr,WINE_DOS,0x00001000,-segaddr,WINE_SHAREDHEAP,0x7f000000,-sectcreate,__TEXT,__info_plist,wine_info.plist"
7849 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,-no_pie" >&5
7850 $as_echo_n "checking whether the compiler supports -Wl,-no_pie... " >&6; }
7851 if ${ac_cv_cflags__Wl__no_pie+:} false
; then :
7852 $as_echo_n "(cached) " >&6
7854 ac_wine_try_cflags_saved
=$CFLAGS
7855 CFLAGS
="$CFLAGS -Wl,-no_pie"
7856 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
7857 /* end confdefs.h. */
7858 int main(int argc, char **argv) { return 0; }
7860 if ac_fn_c_try_link
"$LINENO"; then :
7861 ac_cv_cflags__Wl__no_pie
=yes
7863 ac_cv_cflags__Wl__no_pie
=no
7865 rm -f core conftest.err conftest.
$ac_objext \
7866 conftest
$ac_exeext conftest.
$ac_ext
7867 CFLAGS
=$ac_wine_try_cflags_saved
7869 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl__no_pie" >&5
7870 $as_echo "$ac_cv_cflags__Wl__no_pie" >&6; }
7871 if test "x$ac_cv_cflags__Wl__no_pie" = xyes
; then :
7872 LDEXECFLAGS
="-Wl,-no_pie $LDEXECFLAGS"
7874 if test "$ac_cv_header_DiskArbitration_DiskArbitration_h" = "yes"
7876 DISKARBITRATION_LIBS
="-framework DiskArbitration -framework CoreFoundation"
7879 if test "$ac_cv_header_Security_Security_h" = "yes"
7881 SECURITY_LIBS
="-framework Security -framework CoreFoundation"
7883 ac_save_LIBS
="$LIBS"
7884 LIBS
="$LIBS $SECURITY_LIBS"
7885 for ac_func
in SSLCopyPeerCertificates
7887 ac_fn_c_check_func
"$LINENO" "SSLCopyPeerCertificates" "ac_cv_func_SSLCopyPeerCertificates"
7888 if test "x$ac_cv_func_SSLCopyPeerCertificates" = xyes
; then :
7889 cat >>confdefs.h
<<_ACEOF
7890 #define HAVE_SSLCOPYPEERCERTIFICATES 1
7896 LIBS
="$ac_save_LIBS"
7897 with_gnutls
=${with_gnutls:-no}
7899 if test "$ac_cv_header_CoreAudio_CoreAudio_h" = "yes" -a "$ac_cv_header_AudioUnit_AudioUnit_h" = "yes"
7901 if test "$ac_cv_header_AudioUnit_AudioComponent_h" = "yes"
7903 COREAUDIO_LIBS
="-framework CoreFoundation -framework CoreAudio -framework AudioUnit -framework AudioToolbox -framework CoreMIDI"
7906 COREAUDIO_LIBS
="-framework CoreAudio -framework AudioUnit -framework CoreServices -framework AudioToolbox -framework CoreMIDI"
7909 ac_save_LIBS
="$LIBS"
7910 LIBS
="$LIBS $COREAUDIO_LIBS"
7911 for ac_func
in AUGraphAddNode
7913 ac_fn_c_check_func
"$LINENO" "AUGraphAddNode" "ac_cv_func_AUGraphAddNode"
7914 if test "x$ac_cv_func_AUGraphAddNode" = xyes
; then :
7915 cat >>confdefs.h
<<_ACEOF
7916 #define HAVE_AUGRAPHADDNODE 1
7922 LIBS
="$ac_save_LIBS"
7924 if test "$ac_cv_header_OpenAL_al_h" = "yes"
7926 OPENAL_LIBS
="-framework OpenAL"
7929 cat >>confdefs.h
<<_ACEOF
7930 #define HAVE_OPENAL 1
7933 ac_cv_lib_openal
=yes
7935 if test "$ac_cv_header_OpenCL_opencl_h" = "yes"
7937 OPENCL_LIBS
="-framework OpenCL"
7939 ac_cv_lib_OpenCL_clGetPlatformInfo
=yes
7941 if test "$ac_cv_header_IOKit_hid_IOHIDLib_h" = "yes"
7943 ac_save_LIBS
="$LIBS"
7944 LIBS
="$LIBS $IOKIT_LIBS"
7945 for ac_func
in IOHIDManagerCreate
7947 ac_fn_c_check_func
"$LINENO" "IOHIDManagerCreate" "ac_cv_func_IOHIDManagerCreate"
7948 if test "x$ac_cv_func_IOHIDManagerCreate" = xyes
; then :
7949 cat >>confdefs.h
<<_ACEOF
7950 #define HAVE_IOHIDMANAGERCREATE 1
7956 LIBS
="$ac_save_LIBS"
7958 if test "$ac_cv_header_QuickTime_ImageCompression_h" = "yes"
7960 ac_save_LIBS
="$LIBS"
7961 LIBS
="-framework QuickTime -framework ApplicationServices -framework CoreVideo $LIBS"
7962 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for the QuickTime framework" >&5
7963 $as_echo_n "checking for the QuickTime framework... " >&6; }
7964 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
7965 /* end confdefs.h. */
7966 #include <QuickTime/ImageCompression.h>
7970 CodecManagerVersion(NULL);
7975 if ac_fn_c_try_link
"$LINENO"; then :
7976 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
7977 $as_echo "yes" >&6; }
7978 QUICKTIME_LIBS
="-framework QuickTime -framework ApplicationServices -framework CoreVideo"
7980 enable_wineqtdecoder
=${enable_wineqtdecoder:-yes}
7982 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7983 $as_echo "no" >&6; }
7984 ac_cv_header_QuickTime_ImageCompression_h
=no
7986 rm -f core conftest.err conftest.
$ac_objext \
7987 conftest
$ac_exeext conftest.
$ac_ext
7988 LIBS
="$ac_save_LIBS"
7990 if test "$ac_cv_header_QuickTime_ImageCompression_h" != "yes"
7992 as_fn_append wine_notices
"|QuickTime ${notice_platform}development files not found, video decoding won't be supported."
7994 if test "$ac_cv_header_Carbon_Carbon_h" = "yes"
7996 CARBON_LIBS
="-framework Carbon"
8000 if test "$ac_cv_header_ApplicationServices_ApplicationServices_h" = "yes"
8002 ac_save_LIBS
="$LIBS"
8003 LIBS
="$LIBS $APPLICATIONSERVICES_LIBS"
8004 ac_fn_c_check_func
"$LINENO" "CGDisplayModeGetWidth" "ac_cv_func_CGDisplayModeGetWidth"
8005 if test "x$ac_cv_func_CGDisplayModeGetWidth" = xyes
; then :
8006 enable_winemac_drv
=${enable_winemac_drv:-yes}
8009 LIBS
="$ac_save_LIBS"
8012 if test "x$enable_win16" = "xyes"
8014 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether 16-bit code can be built correctly" >&5
8015 $as_echo_n "checking whether 16-bit code can be built correctly... " >&6; }
8016 if test "$cross_compiling" = yes; then :
8017 { $as_echo "$as_me:${as_lineno-$LINENO}: result: cross-compiling, assuming yes" >&5
8018 $as_echo "cross-compiling, assuming yes" >&6; }
8020 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8021 /* end confdefs.h. */
8024 "good:\tnop;nop\n\t"
8025 ".globl _testfunc\n"
8026 "_testfunc:\tcallw good");
8027 extern void testfunc();
8031 unsigned short *p = (unsigned short *)testfunc;
8032 return p[0] != 0xe866 || p[1] != 0xfffa
8037 if ac_fn_c_try_run
"$LINENO"; then :
8038 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
8039 $as_echo "yes" >&6; }
8041 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8042 $as_echo "no" >&6; }
8043 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
8045 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext \
8046 conftest.
$ac_objext conftest.beam conftest.
$ac_ext
8051 libwine_targets
="libwine.dylib libwine.$libwine_soversion.dylib libwine.$libwine_version.dylib"
8053 OBJS = \$(C_SRCS:.c=.o) \$(EXTRA_OBJS)
8057 libwine.$libwine_version.dylib: \$(OBJS)
8058 \$(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 \$@
8060 libwine.$libwine_soversion.dylib: libwine.$libwine_version.dylib
8061 \$(RM) \$@ && \$(LN_S) libwine.$libwine_version.dylib \$@
8063 libwine.dylib: libwine.$libwine_soversion.dylib
8064 \$(RM) \$@ && \$(LN_S) libwine.$libwine_soversion.dylib \$@
8066 install install-lib:: libwine.$libwine_version.dylib
8067 \$(INSTALL_PROGRAM) libwine.$libwine_version.dylib \$(DESTDIR)\$(libdir)/libwine.$libwine_version.dylib
8068 cd \$(DESTDIR)\$(libdir) && \$(RM) libwine.$libwine_soversion.dylib && \$(LN_S) libwine.$libwine_version.dylib libwine.$libwine_soversion.dylib
8070 install install-dev::
8071 cd \$(DESTDIR)\$(libdir) && \$(RM) libwine.dylib && \$(LN_S) libwine.$libwine_version.dylib libwine.dylib
8074 -cd \$(DESTDIR)\$(libdir) && \$(RM) libwine.dylib libwine.$libwine_soversion.dylib libwine.$libwine_version.dylib
8078 as_fn_append LOADER_RULES
"
8079 $wine_binary: main.o wine_info.plist
8080 \$(CC) -o \$@ $LDEXECFLAGS main.o \$(LIBWINE) \$(LIBPORT) \$(EXTRALIBS) \$(LDFLAGS) \$(LDRPATH_LOCAL)
8082 wine-installed: main.o wine_info.plist
8083 \$(CC) -o \$@ $LDEXECFLAGS main.o \$(LIBWINE) \$(LIBPORT) \$(EXTRALIBS) \$(LDFLAGS) \$(LDRPATH_INSTALL)
8088 DLLFLAGS
="$DLLFLAGS -fPIC"
8092 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -Wl,--export-dynamic" >&5
8093 $as_echo_n "checking whether the compiler supports -fPIC -Wl,--export-dynamic... " >&6; }
8094 if ${ac_cv_cflags__fPIC__Wl___export_dynamic+:} false
; then :
8095 $as_echo_n "(cached) " >&6
8097 ac_wine_try_cflags_saved
=$CFLAGS
8098 CFLAGS
="$CFLAGS -fPIC -Wl,--export-dynamic"
8099 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8100 /* end confdefs.h. */
8101 int main(int argc, char **argv) { return 0; }
8103 if ac_fn_c_try_link
"$LINENO"; then :
8104 ac_cv_cflags__fPIC__Wl___export_dynamic
=yes
8106 ac_cv_cflags__fPIC__Wl___export_dynamic
=no
8108 rm -f core conftest.err conftest.
$ac_objext \
8109 conftest
$ac_exeext conftest.
$ac_ext
8110 CFLAGS
=$ac_wine_try_cflags_saved
8112 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fPIC__Wl___export_dynamic" >&5
8113 $as_echo "$ac_cv_cflags__fPIC__Wl___export_dynamic" >&6; }
8114 if test "x$ac_cv_cflags__fPIC__Wl___export_dynamic" = xyes
; then :
8115 LDEXECFLAGS
="-Wl,--export-dynamic"
8117 as_ac_var
=`$as_echo "ac_cv_cflags_-fPIC -Wl,--rpath,\\$ORIGIN/../lib" | $as_tr_sh`
8118 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -Wl,--rpath,\$ORIGIN/../lib" >&5
8119 $as_echo_n "checking whether the compiler supports -fPIC -Wl,--rpath,\$ORIGIN/../lib... " >&6; }
8120 if eval \
${$as_ac_var+:} false
; then :
8121 $as_echo_n "(cached) " >&6
8123 ac_wine_try_cflags_saved
=$CFLAGS
8124 CFLAGS
="$CFLAGS -fPIC -Wl,--rpath,\$ORIGIN/../lib"
8125 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8126 /* end confdefs.h. */
8127 int main(int argc, char **argv) { return 0; }
8129 if ac_fn_c_try_link
"$LINENO"; then :
8130 eval "$as_ac_var=yes"
8132 eval "$as_ac_var=no"
8134 rm -f core conftest.err conftest.
$ac_objext \
8135 conftest
$ac_exeext conftest.
$ac_ext
8136 CFLAGS
=$ac_wine_try_cflags_saved
8138 eval ac_res
=\$
$as_ac_var
8139 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
8140 $as_echo "$ac_res" >&6; }
8141 if eval test \"x\$
"$as_ac_var"\" = x
"yes"; then :
8142 LDRPATH_INSTALL
="-Wl,--rpath,\\\$\$ORIGIN/\`\$(MAKEDEP) -R \$(bindir) \$(libdir)\`"
8143 LDRPATH_LOCAL
="-Wl,--rpath,\\\$\$ORIGIN/\$(top_builddir)/libs/wine"
8145 as_ac_var
=`$as_echo "ac_cv_cflags_-fPIC -Wl,-R,\\$ORIGIN/../lib" | $as_tr_sh`
8146 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -Wl,-R,\$ORIGIN/../lib" >&5
8147 $as_echo_n "checking whether the compiler supports -fPIC -Wl,-R,\$ORIGIN/../lib... " >&6; }
8148 if eval \
${$as_ac_var+:} false
; then :
8149 $as_echo_n "(cached) " >&6
8151 ac_wine_try_cflags_saved
=$CFLAGS
8152 CFLAGS
="$CFLAGS -fPIC -Wl,-R,\$ORIGIN/../lib"
8153 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8154 /* end confdefs.h. */
8155 int main(int argc, char **argv) { return 0; }
8157 if ac_fn_c_try_link
"$LINENO"; then :
8158 eval "$as_ac_var=yes"
8160 eval "$as_ac_var=no"
8162 rm -f core conftest.err conftest.
$ac_objext \
8163 conftest
$ac_exeext conftest.
$ac_ext
8164 CFLAGS
=$ac_wine_try_cflags_saved
8166 eval ac_res
=\$
$as_ac_var
8167 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
8168 $as_echo "$ac_res" >&6; }
8169 if eval test \"x\$
"$as_ac_var"\" = x
"yes"; then :
8170 LDRPATH_INSTALL
="-Wl,-R,\\\$\$ORIGIN/\`\$(MAKEDEP) -R \$(bindir) \$(libdir)\`"
8171 LDRPATH_LOCAL
="-Wl,-R,\\\$\$ORIGIN/\$(top_builddir)/libs/wine"
8175 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,--enable-new-dtags" >&5
8176 $as_echo_n "checking whether the compiler supports -Wl,--enable-new-dtags... " >&6; }
8177 if ${ac_cv_cflags__Wl___enable_new_dtags+:} false
; then :
8178 $as_echo_n "(cached) " >&6
8180 ac_wine_try_cflags_saved
=$CFLAGS
8181 CFLAGS
="$CFLAGS -Wl,--enable-new-dtags"
8182 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8183 /* end confdefs.h. */
8184 int main(int argc, char **argv) { return 0; }
8186 if ac_fn_c_try_link
"$LINENO"; then :
8187 ac_cv_cflags__Wl___enable_new_dtags
=yes
8189 ac_cv_cflags__Wl___enable_new_dtags
=no
8191 rm -f core conftest.err conftest.
$ac_objext \
8192 conftest
$ac_exeext conftest.
$ac_ext
8193 CFLAGS
=$ac_wine_try_cflags_saved
8195 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl___enable_new_dtags" >&5
8196 $as_echo "$ac_cv_cflags__Wl___enable_new_dtags" >&6; }
8197 if test "x$ac_cv_cflags__Wl___enable_new_dtags" = xyes
; then :
8198 LDRPATH_INSTALL
="$LDRPATH_INSTALL -Wl,--enable-new-dtags"
8202 *i
[3456789]86* | x86_64
)
8203 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,--section-start,.interp=0x7bf00400" >&5
8204 $as_echo_n "checking whether the compiler supports -Wl,--section-start,.interp=0x7bf00400... " >&6; }
8205 if ${ac_cv_cflags__Wl___section_start__interp_0x7bf00400+:} false
; then :
8206 $as_echo_n "(cached) " >&6
8208 ac_wine_try_cflags_saved
=$CFLAGS
8209 CFLAGS
="$CFLAGS -Wl,--section-start,.interp=0x7bf00400"
8210 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8211 /* end confdefs.h. */
8212 int main(int argc, char **argv) { return 0; }
8214 if ac_fn_c_try_link
"$LINENO"; then :
8215 ac_cv_cflags__Wl___section_start__interp_0x7bf00400
=yes
8217 ac_cv_cflags__Wl___section_start__interp_0x7bf00400
=no
8219 rm -f core conftest.err conftest.
$ac_objext \
8220 conftest
$ac_exeext conftest.
$ac_ext
8221 CFLAGS
=$ac_wine_try_cflags_saved
8223 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl___section_start__interp_0x7bf00400" >&5
8224 $as_echo "$ac_cv_cflags__Wl___section_start__interp_0x7bf00400" >&6; }
8225 if test "x$ac_cv_cflags__Wl___section_start__interp_0x7bf00400" = xyes
; then :
8226 LDEXECFLAGS
="$LDEXECFLAGS -Wl,--section-start,.interp=0x7bf00400"
8231 libwine_targets
="libwine.so"
8233 OBJS = \$(C_SRCS:.c=.o) \$(EXTRA_OBJS)
8237 libwine.so: \$(OBJS)
8238 \$(CC) -shared \$(OBJS) \$(EXTRALIBS) \$(LDFLAGS) \$(LIBS) -o \$@
8240 install install-lib:: libwine.so
8241 \$(INSTALL_PROGRAM) libwine.so \$(DESTDIR)\$(libdir)/libwine.so
8244 \$(RM) \$(DESTDIR)\$(libdir)/libwine.so
8248 as_fn_append LOADER_RULES
"
8249 $wine_binary: main.o
8250 \$(CC) -o \$@ $LDEXECFLAGS main.o \$(LIBWINE) \$(LIBPORT) \$(EXTRALIBS) \$(LDFLAGS) \$(LDRPATH_LOCAL)
8252 wine-installed: main.o
8253 \$(CC) -o \$@ $LDEXECFLAGS main.o \$(LIBWINE) \$(LIBPORT) \$(EXTRALIBS) \$(LDFLAGS) \$(LDRPATH_INSTALL)
8258 DLLFLAGS
="$DLLFLAGS -fPIC"
8260 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we can build a GNU style ELF dll" >&5
8261 $as_echo_n "checking whether we can build a GNU style ELF dll... " >&6; }
8262 if ${ac_cv_c_dll_gnuelf+:} false
; then :
8263 $as_echo_n "(cached) " >&6
8265 ac_wine_try_cflags_saved
=$CFLAGS
8266 CFLAGS
="$CFLAGS -fPIC -shared -Wl,-Bsymbolic"
8267 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8268 /* end confdefs.h. */
8271 if ac_fn_c_try_link
"$LINENO"; then :
8272 ac_cv_c_dll_gnuelf
="yes"
8274 ac_cv_c_dll_gnuelf
="no"
8276 rm -f core conftest.err conftest.
$ac_objext \
8277 conftest
$ac_exeext conftest.
$ac_ext
8278 CFLAGS
=$ac_wine_try_cflags_saved
8280 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_dll_gnuelf" >&5
8281 $as_echo "$ac_cv_c_dll_gnuelf" >&6; }
8282 if test "$ac_cv_c_dll_gnuelf" = "yes"
8284 LDSHARED
="\$(CC) -shared"
8285 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -shared -Wl,-soname,confest.so.1" >&5
8286 $as_echo_n "checking whether the compiler supports -fPIC -shared -Wl,-soname,confest.so.1... " >&6; }
8287 if ${ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1+:} false
; then :
8288 $as_echo_n "(cached) " >&6
8290 ac_wine_try_cflags_saved
=$CFLAGS
8291 CFLAGS
="$CFLAGS -fPIC -shared -Wl,-soname,confest.so.1"
8292 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8293 /* end confdefs.h. */
8294 int main(int argc, char **argv) { return 0; }
8296 if ac_fn_c_try_link
"$LINENO"; then :
8297 ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1
=yes
8299 ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1
=no
8301 rm -f core conftest.err conftest.
$ac_objext \
8302 conftest
$ac_exeext conftest.
$ac_ext
8303 CFLAGS
=$ac_wine_try_cflags_saved
8305 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1" >&5
8306 $as_echo "$ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1" >&6; }
8307 if test "x$ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1" = xyes
; then :
8308 LDSHARED
="\$(CC) -shared -Wl,-soname,libwine.so.$libwine_soversion"
8310 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -shared -Wl,-h,confest.so.1" >&5
8311 $as_echo_n "checking whether the compiler supports -fPIC -shared -Wl,-h,confest.so.1... " >&6; }
8312 if ${ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1+:} false
; then :
8313 $as_echo_n "(cached) " >&6
8315 ac_wine_try_cflags_saved
=$CFLAGS
8316 CFLAGS
="$CFLAGS -fPIC -shared -Wl,-h,confest.so.1"
8317 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8318 /* end confdefs.h. */
8319 int main(int argc, char **argv) { return 0; }
8321 if ac_fn_c_try_link
"$LINENO"; then :
8322 ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1
=yes
8324 ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1
=no
8326 rm -f core conftest.err conftest.
$ac_objext \
8327 conftest
$ac_exeext conftest.
$ac_ext
8328 CFLAGS
=$ac_wine_try_cflags_saved
8330 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1" >&5
8331 $as_echo "$ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1" >&6; }
8332 if test "x$ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1" = xyes
; then :
8333 LDSHARED
="\$(CC) -shared -Wl,-h,libwine.so.$libwine_soversion"
8337 echo '{ global: *; };' >conftest.map
8338 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -shared -Wl,--version-script=conftest.map" >&5
8339 $as_echo_n "checking whether the compiler supports -fPIC -shared -Wl,--version-script=conftest.map... " >&6; }
8340 if ${ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map+:} false
; then :
8341 $as_echo_n "(cached) " >&6
8343 ac_wine_try_cflags_saved
=$CFLAGS
8344 CFLAGS
="$CFLAGS -fPIC -shared -Wl,--version-script=conftest.map"
8345 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8346 /* end confdefs.h. */
8347 int main(int argc, char **argv) { return 0; }
8349 if ac_fn_c_try_link
"$LINENO"; then :
8350 ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map
=yes
8352 ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map
=no
8354 rm -f core conftest.err conftest.
$ac_objext \
8355 conftest
$ac_exeext conftest.
$ac_ext
8356 CFLAGS
=$ac_wine_try_cflags_saved
8358 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map" >&5
8359 $as_echo "$ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map" >&6; }
8360 if test "x$ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map" = xyes
; then :
8361 LDSHARED
="$LDSHARED -Wl,--version-script=\$(srcdir)/wine.map"
8365 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -Wl,--export-dynamic" >&5
8366 $as_echo_n "checking whether the compiler supports -fPIC -Wl,--export-dynamic... " >&6; }
8367 if ${ac_cv_cflags__fPIC__Wl___export_dynamic+:} false
; then :
8368 $as_echo_n "(cached) " >&6
8370 ac_wine_try_cflags_saved
=$CFLAGS
8371 CFLAGS
="$CFLAGS -fPIC -Wl,--export-dynamic"
8372 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8373 /* end confdefs.h. */
8374 int main(int argc, char **argv) { return 0; }
8376 if ac_fn_c_try_link
"$LINENO"; then :
8377 ac_cv_cflags__fPIC__Wl___export_dynamic
=yes
8379 ac_cv_cflags__fPIC__Wl___export_dynamic
=no
8381 rm -f core conftest.err conftest.
$ac_objext \
8382 conftest
$ac_exeext conftest.
$ac_ext
8383 CFLAGS
=$ac_wine_try_cflags_saved
8385 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fPIC__Wl___export_dynamic" >&5
8386 $as_echo "$ac_cv_cflags__fPIC__Wl___export_dynamic" >&6; }
8387 if test "x$ac_cv_cflags__fPIC__Wl___export_dynamic" = xyes
; then :
8388 LDEXECFLAGS
="-Wl,--export-dynamic"
8391 as_ac_var
=`$as_echo "ac_cv_cflags_-fPIC -Wl,--rpath,\\$ORIGIN/../lib" | $as_tr_sh`
8392 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -Wl,--rpath,\$ORIGIN/../lib" >&5
8393 $as_echo_n "checking whether the compiler supports -fPIC -Wl,--rpath,\$ORIGIN/../lib... " >&6; }
8394 if eval \
${$as_ac_var+:} false
; then :
8395 $as_echo_n "(cached) " >&6
8397 ac_wine_try_cflags_saved
=$CFLAGS
8398 CFLAGS
="$CFLAGS -fPIC -Wl,--rpath,\$ORIGIN/../lib"
8399 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8400 /* end confdefs.h. */
8401 int main(int argc, char **argv) { return 0; }
8403 if ac_fn_c_try_link
"$LINENO"; then :
8404 eval "$as_ac_var=yes"
8406 eval "$as_ac_var=no"
8408 rm -f core conftest.err conftest.
$ac_objext \
8409 conftest
$ac_exeext conftest.
$ac_ext
8410 CFLAGS
=$ac_wine_try_cflags_saved
8412 eval ac_res
=\$
$as_ac_var
8413 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
8414 $as_echo "$ac_res" >&6; }
8415 if eval test \"x\$
"$as_ac_var"\" = x
"yes"; then :
8416 LDRPATH_INSTALL
="-Wl,--rpath,\\\$\$ORIGIN/\`\$(MAKEDEP) -R \$(bindir) \$(libdir)\`"
8417 LDRPATH_LOCAL
="-Wl,--rpath,\\\$\$ORIGIN/\$(top_builddir)/libs/wine"
8419 as_ac_var
=`$as_echo "ac_cv_cflags_-fPIC -Wl,-R,\\$ORIGIN/../lib" | $as_tr_sh`
8420 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -Wl,-R,\$ORIGIN/../lib" >&5
8421 $as_echo_n "checking whether the compiler supports -fPIC -Wl,-R,\$ORIGIN/../lib... " >&6; }
8422 if eval \
${$as_ac_var+:} false
; then :
8423 $as_echo_n "(cached) " >&6
8425 ac_wine_try_cflags_saved
=$CFLAGS
8426 CFLAGS
="$CFLAGS -fPIC -Wl,-R,\$ORIGIN/../lib"
8427 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8428 /* end confdefs.h. */
8429 int main(int argc, char **argv) { return 0; }
8431 if ac_fn_c_try_link
"$LINENO"; then :
8432 eval "$as_ac_var=yes"
8434 eval "$as_ac_var=no"
8436 rm -f core conftest.err conftest.
$ac_objext \
8437 conftest
$ac_exeext conftest.
$ac_ext
8438 CFLAGS
=$ac_wine_try_cflags_saved
8440 eval ac_res
=\$
$as_ac_var
8441 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
8442 $as_echo "$ac_res" >&6; }
8443 if eval test \"x\$
"$as_ac_var"\" = x
"yes"; then :
8444 LDRPATH_INSTALL
="-Wl,-R,\\\$\$ORIGIN/\`\$(MAKEDEP) -R \$(bindir) \$(libdir)\`"
8445 LDRPATH_LOCAL
="-Wl,-R,\\\$\$ORIGIN/\$(top_builddir)/libs/wine"
8449 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,--enable-new-dtags" >&5
8450 $as_echo_n "checking whether the compiler supports -Wl,--enable-new-dtags... " >&6; }
8451 if ${ac_cv_cflags__Wl___enable_new_dtags+:} false
; then :
8452 $as_echo_n "(cached) " >&6
8454 ac_wine_try_cflags_saved
=$CFLAGS
8455 CFLAGS
="$CFLAGS -Wl,--enable-new-dtags"
8456 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8457 /* end confdefs.h. */
8458 int main(int argc, char **argv) { return 0; }
8460 if ac_fn_c_try_link
"$LINENO"; then :
8461 ac_cv_cflags__Wl___enable_new_dtags
=yes
8463 ac_cv_cflags__Wl___enable_new_dtags
=no
8465 rm -f core conftest.err conftest.
$ac_objext \
8466 conftest
$ac_exeext conftest.
$ac_ext
8467 CFLAGS
=$ac_wine_try_cflags_saved
8469 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl___enable_new_dtags" >&5
8470 $as_echo "$ac_cv_cflags__Wl___enable_new_dtags" >&6; }
8471 if test "x$ac_cv_cflags__Wl___enable_new_dtags" = xyes
; then :
8472 LDRPATH_INSTALL
="$LDRPATH_INSTALL -Wl,--enable-new-dtags"
8476 *i
[3456789]86* | x86_64
)
8477 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,--section-start,.interp=0x7bf00400" >&5
8478 $as_echo_n "checking whether the compiler supports -Wl,--section-start,.interp=0x7bf00400... " >&6; }
8479 if ${ac_cv_cflags__Wl___section_start__interp_0x7bf00400+:} false
; then :
8480 $as_echo_n "(cached) " >&6
8482 ac_wine_try_cflags_saved
=$CFLAGS
8483 CFLAGS
="$CFLAGS -Wl,--section-start,.interp=0x7bf00400"
8484 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8485 /* end confdefs.h. */
8486 int main(int argc, char **argv) { return 0; }
8488 if ac_fn_c_try_link
"$LINENO"; then :
8489 ac_cv_cflags__Wl___section_start__interp_0x7bf00400
=yes
8491 ac_cv_cflags__Wl___section_start__interp_0x7bf00400
=no
8493 rm -f core conftest.err conftest.
$ac_objext \
8494 conftest
$ac_exeext conftest.
$ac_ext
8495 CFLAGS
=$ac_wine_try_cflags_saved
8497 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl___section_start__interp_0x7bf00400" >&5
8498 $as_echo "$ac_cv_cflags__Wl___section_start__interp_0x7bf00400" >&6; }
8499 if test "x$ac_cv_cflags__Wl___section_start__interp_0x7bf00400" = xyes
; then :
8501 freebsd
* | kfreebsd
*-gnu) LDEXECFLAGS
="$LDEXECFLAGS -Wl,--section-start,.interp=0x60000400" ;;
8502 *) LDEXECFLAGS
="$LDEXECFLAGS -Wl,--section-start,.interp=0x7bf00400" ;;
8506 # Extract the first word of "prelink", so it can be a program name with args.
8507 set dummy prelink
; ac_word
=$2
8508 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8509 $as_echo_n "checking for $ac_word... " >&6; }
8510 if ${ac_cv_path_PRELINK+:} false
; then :
8511 $as_echo_n "(cached) " >&6
8515 ac_cv_path_PRELINK
="$PRELINK" # Let the user override the test with a path.
8518 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
8519 for as_dir
in /sbin
/usr
/sbin
$PATH
8522 test -z "$as_dir" && as_dir
=.
8523 for ac_exec_ext
in '' $ac_executable_extensions; do
8524 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
8525 ac_cv_path_PRELINK
="$as_dir/$ac_word$ac_exec_ext"
8526 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8533 test -z "$ac_cv_path_PRELINK" && ac_cv_path_PRELINK
="false"
8537 PRELINK
=$ac_cv_path_PRELINK
8538 if test -n "$PRELINK"; then
8539 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PRELINK" >&5
8540 $as_echo "$PRELINK" >&6; }
8542 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8543 $as_echo "no" >&6; }
8547 if test "x$PRELINK" = xfalse
8549 as_fn_append wine_warnings
"|prelink not found, base address of core dlls won't be set correctly."
8555 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we can build a UnixWare (Solaris) dll" >&5
8556 $as_echo_n "checking whether we can build a UnixWare (Solaris) dll... " >&6; }
8557 if ${ac_cv_c_dll_unixware+:} false
; then :
8558 $as_echo_n "(cached) " >&6
8560 ac_wine_try_cflags_saved
=$CFLAGS
8561 CFLAGS
="$CFLAGS -fPIC -Wl,-G,-h,conftest.so.1.0,-B,symbolic"
8562 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8563 /* end confdefs.h. */
8566 if ac_fn_c_try_link
"$LINENO"; then :
8567 ac_cv_c_dll_unixware
="yes"
8569 ac_cv_c_dll_unixware
="no"
8571 rm -f core conftest.err conftest.
$ac_objext \
8572 conftest
$ac_exeext conftest.
$ac_ext
8573 CFLAGS
=$ac_wine_try_cflags_saved
8575 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_dll_unixware" >&5
8576 $as_echo "$ac_cv_c_dll_unixware" >&6; }
8577 if test "$ac_cv_c_dll_unixware" = "yes"
8579 LDSHARED
="\$(CC) -Wl,-G,-h,libwine.so.$libwine_soversion"
8582 libwine_targets
="libwine.so libwine.so.$libwine_soversion libwine.so.$libwine_version"
8584 OBJS = \$(C_SRCS:.c=.o) \$(EXTRA_OBJS)
8588 libwine.so.$libwine_version: \$(OBJS) \$(srcdir)/wine.map
8589 $LDSHARED \$(OBJS) \$(EXTRALIBS) \$(LDFLAGS) \$(LIBS) -o \$@
8591 libwine.so.$libwine_soversion: libwine.so.$libwine_version
8592 \$(RM) \$@ && \$(LN_S) libwine.so.$libwine_version \$@
8594 libwine.so: libwine.so.$libwine_soversion
8595 \$(RM) \$@ && \$(LN_S) libwine.so.$libwine_soversion \$@
8597 install install-lib:: libwine.so.$libwine_version
8598 \$(INSTALL_PROGRAM) libwine.so.$libwine_version \$(DESTDIR)\$(libdir)/libwine.so.$libwine_version
8599 cd \$(DESTDIR)\$(libdir) && \$(RM) libwine.so.$libwine_soversion && \$(LN_S) libwine.so.$libwine_version libwine.so.$libwine_soversion
8601 install install-dev::
8602 cd \$(DESTDIR)\$(libdir) && \$(RM) libwine.so && \$(LN_S) libwine.so.$libwine_version libwine.so
8605 -cd \$(DESTDIR)\$(libdir) && \$(RM) libwine.so libwine.so.$libwine_soversion libwine.so.$libwine_version
8609 as_fn_append LOADER_RULES
"
8610 $wine_binary: main.o
8611 \$(CC) -o \$@ $LDEXECFLAGS main.o \$(LIBWINE) \$(LIBPORT) \$(EXTRALIBS) \$(LDFLAGS) \$(LDRPATH_LOCAL)
8613 wine-installed: main.o
8614 \$(CC) -o \$@ $LDEXECFLAGS main.o \$(LIBWINE) \$(LIBPORT) \$(EXTRALIBS) \$(LDFLAGS) \$(LDRPATH_INSTALL)
8619 as_fn_append LIBWINE_RULES
"
8620 EXTRA_TARGETS = $libwine_targets
8623 enable_wineqtdecoder
=${enable_wineqtdecoder:-no}
8624 enable_winemac_drv
=${enable_winemac_drv:-no}
8628 if test "$cross_compiling" = "no" -a "x$enable_tests" != xno
-a "$LIBEXT" != "dll"
8632 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
8635 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 " ;;
8637 ac_prefix_list
="" ;;
8639 for ac_prog
in $ac_prefix_list
8641 # Extract the first word of "$ac_prog", so it can be a program name with args.
8642 set dummy
$ac_prog; ac_word
=$2
8643 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8644 $as_echo_n "checking for $ac_word... " >&6; }
8645 if ${ac_cv_prog_CROSSCC+:} false
; then :
8646 $as_echo_n "(cached) " >&6
8648 if test -n "$CROSSCC"; then
8649 ac_cv_prog_CROSSCC
="$CROSSCC" # Let the user override the test.
8651 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
8655 test -z "$as_dir" && as_dir
=.
8656 for ac_exec_ext
in '' $ac_executable_extensions; do
8657 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
8658 ac_cv_prog_CROSSCC
="$ac_prog"
8659 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8668 CROSSCC
=$ac_cv_prog_CROSSCC
8669 if test -n "$CROSSCC"; then
8670 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CROSSCC" >&5
8671 $as_echo "$CROSSCC" >&6; }
8673 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8674 $as_echo "no" >&6; }
8678 test -n "$CROSSCC" && break
8680 test -n "$CROSSCC" || CROSSCC
="false"
8682 if test "$CROSSCC" != "false"
8686 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CROSSCC works" >&5
8687 $as_echo_n "checking whether $CROSSCC works... " >&6; }
8688 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8689 /* end confdefs.h. */
8699 if ac_fn_c_try_compile
"$LINENO"; then :
8700 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
8701 $as_echo "yes" >&6; }
8707 *-gcc) CROSSTARGET
=`expr "$1" : '\(.*\)-gcc'` ;;
8712 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8713 $as_echo "no" >&6; }
8715 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
8721 if test "$ac_cv_header_pthread_h" = "yes"
8723 ac_fn_c_check_func
"$LINENO" "pthread_create" "ac_cv_func_pthread_create"
8724 if test "x$ac_cv_func_pthread_create" = xyes
; then :
8727 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pthread_create in -lpthread" >&5
8728 $as_echo_n "checking for pthread_create in -lpthread... " >&6; }
8729 if ${ac_cv_lib_pthread_pthread_create+:} false
; then :
8730 $as_echo_n "(cached) " >&6
8732 ac_check_lib_save_LIBS
=$LIBS
8733 LIBS
="-lpthread $LIBS"
8734 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8735 /* end confdefs.h. */
8737 /* Override any GCC internal prototype to avoid an error.
8738 Use char because int might match the return type of a GCC
8739 builtin and then its argument prototype would still apply. */
8743 char pthread_create ();
8747 return pthread_create ();
8752 if ac_fn_c_try_link
"$LINENO"; then :
8753 ac_cv_lib_pthread_pthread_create
=yes
8755 ac_cv_lib_pthread_pthread_create
=no
8757 rm -f core conftest.err conftest.
$ac_objext \
8758 conftest
$ac_exeext conftest.
$ac_ext
8759 LIBS
=$ac_check_lib_save_LIBS
8761 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_pthread_pthread_create" >&5
8762 $as_echo "$ac_cv_lib_pthread_pthread_create" >&6; }
8763 if test "x$ac_cv_lib_pthread_pthread_create" = xyes
; then :
8764 PTHREAD_LIBS
="-lpthread"
8771 if test "x$ac_cv_func_pthread_create" != xyes
-a "x$PTHREAD_LIBS" = x
; then :
8772 case "x$with_pthread" in
8774 *) as_fn_error $?
"pthread ${notice_platform}development files not found.
8775 Wine cannot support threads without libpthread.
8776 Use the --without-pthread option if you really want this." "$LINENO" 5 ;;
8781 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for X" >&5
8782 $as_echo_n "checking for X... " >&6; }
8785 # Check whether --with-x was given.
8786 if test "${with_x+set}" = set; then :
8790 # $have_x is `yes', `no', `disabled', or empty when we do not yet know.
8791 if test "x$with_x" = xno
; then
8792 # The user explicitly disabled X.
8795 case $x_includes,$x_libraries in #(
8796 *\'*) as_fn_error $?
"cannot use X directory names containing '" "$LINENO" 5;; #(
8797 *,NONE | NONE
,*) if ${ac_cv_have_x+:} false
; then :
8798 $as_echo_n "(cached) " >&6
8800 # One or both of the vars are not set, and there is no cached value.
8801 ac_x_includes
=no ac_x_libraries
=no
8802 rm -f -r conftest.dir
8803 if mkdir conftest.dir
; then
8805 cat >Imakefile
<<'_ACEOF'
8807 @echo incroot='${INCROOT}'
8809 @echo usrlibdir='${USRLIBDIR}'
8811 @echo libdir='${LIBDIR}'
8813 if (export CC
; ${XMKMF-xmkmf}) >/dev
/null
2>/dev
/null
&& test -f Makefile
; then
8814 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
8815 for ac_var
in incroot usrlibdir libdir
; do
8816 eval "ac_im_$ac_var=\`\${MAKE-make} $ac_var 2>/dev/null | sed -n 's/^$ac_var=//p'\`"
8818 # Open Windows xmkmf reportedly sets LIBDIR instead of USRLIBDIR.
8819 for ac_extension
in a so sl dylib la dll
; do
8820 if test ! -f "$ac_im_usrlibdir/libX11.$ac_extension" &&
8821 test -f "$ac_im_libdir/libX11.$ac_extension"; then
8822 ac_im_usrlibdir
=$ac_im_libdir; break
8825 # Screen out bogus values from the imake configuration. They are
8826 # bogus both because they are the default anyway, and because
8827 # using them would break gcc on systems where it needs fixed includes.
8828 case $ac_im_incroot in
8829 /usr
/include
) ac_x_includes
= ;;
8830 *) test -f "$ac_im_incroot/X11/Xos.h" && ac_x_includes
=$ac_im_incroot;;
8832 case $ac_im_usrlibdir in
8833 /usr
/lib |
/usr
/lib64 |
/lib |
/lib64
) ;;
8834 *) test -d "$ac_im_usrlibdir" && ac_x_libraries
=$ac_im_usrlibdir ;;
8838 rm -f -r conftest.dir
8841 # Standard set of common directories for X headers.
8842 # Check X11 before X11Rn because it is often a symlink to the current release.
8856 /usr/local/X11/include
8857 /usr/local/X11R7/include
8858 /usr/local/X11R6/include
8859 /usr/local/X11R5/include
8860 /usr/local/X11R4/include
8862 /usr/local/include/X11
8863 /usr/local/include/X11R7
8864 /usr/local/include/X11R6
8865 /usr/local/include/X11R5
8866 /usr/local/include/X11R4
8870 /usr/XFree86/include/X11
8874 /usr/unsupported/include
8876 /usr/local/x11r5/include
8877 /usr/lpp/Xamples/include
8879 /usr/openwin/include
8880 /usr/openwin/share/include'
8882 if test "$ac_x_includes" = no
; then
8883 # Guess where to find include files, by looking for Xlib.h.
8884 # First, try using that file with no special directory specified.
8885 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8886 /* end confdefs.h. */
8887 #include <X11/Xlib.h>
8889 if ac_fn_c_try_cpp
"$LINENO"; then :
8890 # We can compile using X headers with no special include directory.
8893 for ac_dir
in $ac_x_header_dirs; do
8894 if test -r "$ac_dir/X11/Xlib.h"; then
8895 ac_x_includes
=$ac_dir
8900 rm -f conftest.err conftest.i conftest.
$ac_ext
8901 fi # $ac_x_includes = no
8903 if test "$ac_x_libraries" = no
; then
8904 # Check for the libraries.
8905 # See if we find them without any special options.
8906 # Don't add to $LIBS permanently.
8909 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8910 /* end confdefs.h. */
8911 #include <X11/Xlib.h>
8920 if ac_fn_c_try_link
"$LINENO"; then :
8922 # We can link X programs with no special library path.
8926 for ac_dir
in `$as_echo "$ac_x_includes $ac_x_header_dirs" | sed s/include/lib/g`
8928 # Don't even attempt the hair of trying to link an X program!
8929 for ac_extension
in a so sl dylib la dll
; do
8930 if test -r "$ac_dir/libX11.$ac_extension"; then
8931 ac_x_libraries
=$ac_dir
8937 rm -f core conftest.err conftest.
$ac_objext \
8938 conftest
$ac_exeext conftest.
$ac_ext
8939 fi # $ac_x_libraries = no
8941 case $ac_x_includes,$ac_x_libraries in #(
8943 # Didn't find X, or a directory has "'" in its name.
8944 ac_cv_have_x
="have_x=no";; #(
8946 # Record where we found X for the cache.
8947 ac_cv_have_x
="have_x=yes\
8948 ac_x_includes='$ac_x_includes'\
8949 ac_x_libraries='$ac_x_libraries'"
8955 eval "$ac_cv_have_x"
8958 if test "$have_x" != yes; then
8959 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $have_x" >&5
8960 $as_echo "$have_x" >&6; }
8963 # If each of the values was on the command line, it overrides each guess.
8964 test "x$x_includes" = xNONE
&& x_includes
=$ac_x_includes
8965 test "x$x_libraries" = xNONE
&& x_libraries
=$ac_x_libraries
8966 # Update the cache value to reflect the command line values.
8967 ac_cv_have_x
="have_x=yes\
8968 ac_x_includes='$x_includes'\
8969 ac_x_libraries='$x_libraries'"
8970 { $as_echo "$as_me:${as_lineno-$LINENO}: result: libraries $x_libraries, headers $x_includes" >&5
8971 $as_echo "libraries $x_libraries, headers $x_includes" >&6; }
8974 if test "$no_x" = yes; then
8975 # Not all programs may use this symbol, but it does not hurt to define it.
8977 $as_echo "#define X_DISPLAY_MISSING 1" >>confdefs.h
8979 X_CFLAGS
= X_PRE_LIBS
= X_LIBS
= X_EXTRA_LIBS
=
8981 if test -n "$x_includes"; then
8982 X_CFLAGS
="$X_CFLAGS -I$x_includes"
8985 # It would also be nice to do this for all -L options, not just this one.
8986 if test -n "$x_libraries"; then
8987 X_LIBS
="$X_LIBS -L$x_libraries"
8988 # For Solaris; some versions of Sun CC require a space after -R and
8989 # others require no space. Words are not sufficient . . . .
8990 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -R must be followed by a space" >&5
8991 $as_echo_n "checking whether -R must be followed by a space... " >&6; }
8992 ac_xsave_LIBS
=$LIBS; LIBS
="$LIBS -R$x_libraries"
8993 ac_xsave_c_werror_flag
=$ac_c_werror_flag
8994 ac_c_werror_flag
=yes
8995 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8996 /* end confdefs.h. */
9006 if ac_fn_c_try_link
"$LINENO"; then :
9007 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9008 $as_echo "no" >&6; }
9009 X_LIBS
="$X_LIBS -R$x_libraries"
9011 LIBS
="$ac_xsave_LIBS -R $x_libraries"
9012 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9013 /* end confdefs.h. */
9023 if ac_fn_c_try_link
"$LINENO"; then :
9024 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
9025 $as_echo "yes" >&6; }
9026 X_LIBS
="$X_LIBS -R $x_libraries"
9028 { $as_echo "$as_me:${as_lineno-$LINENO}: result: neither works" >&5
9029 $as_echo "neither works" >&6; }
9031 rm -f core conftest.err conftest.
$ac_objext \
9032 conftest
$ac_exeext conftest.
$ac_ext
9034 rm -f core conftest.err conftest.
$ac_objext \
9035 conftest
$ac_exeext conftest.
$ac_ext
9036 ac_c_werror_flag
=$ac_xsave_c_werror_flag
9040 # Check for system-dependent libraries X programs must link with.
9041 # Do this before checking for the system-independent R6 libraries
9042 # (-lICE), since we may need -lsocket or whatever for X linking.
9044 if test "$ISC" = yes; then
9045 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lnsl_s -linet"
9047 # Martyn Johnson says this is needed for Ultrix, if the X
9048 # libraries were built with DECnet support. And Karl Berry says
9049 # the Alpha needs dnet_stub (dnet does not exist).
9050 ac_xsave_LIBS
="$LIBS"; LIBS
="$LIBS $X_LIBS -lX11"
9051 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9052 /* end confdefs.h. */
9054 /* Override any GCC internal prototype to avoid an error.
9055 Use char because int might match the return type of a GCC
9056 builtin and then its argument prototype would still apply. */
9060 char XOpenDisplay ();
9064 return XOpenDisplay ();
9069 if ac_fn_c_try_link
"$LINENO"; then :
9072 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dnet_ntoa in -ldnet" >&5
9073 $as_echo_n "checking for dnet_ntoa in -ldnet... " >&6; }
9074 if ${ac_cv_lib_dnet_dnet_ntoa+:} false
; then :
9075 $as_echo_n "(cached) " >&6
9077 ac_check_lib_save_LIBS
=$LIBS
9079 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9080 /* end confdefs.h. */
9082 /* Override any GCC internal prototype to avoid an error.
9083 Use char because int might match the return type of a GCC
9084 builtin and then its argument prototype would still apply. */
9092 return dnet_ntoa ();
9097 if ac_fn_c_try_link
"$LINENO"; then :
9098 ac_cv_lib_dnet_dnet_ntoa
=yes
9100 ac_cv_lib_dnet_dnet_ntoa
=no
9102 rm -f core conftest.err conftest.
$ac_objext \
9103 conftest
$ac_exeext conftest.
$ac_ext
9104 LIBS
=$ac_check_lib_save_LIBS
9106 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dnet_dnet_ntoa" >&5
9107 $as_echo "$ac_cv_lib_dnet_dnet_ntoa" >&6; }
9108 if test "x$ac_cv_lib_dnet_dnet_ntoa" = xyes
; then :
9109 X_EXTRA_LIBS
="$X_EXTRA_LIBS -ldnet"
9112 if test $ac_cv_lib_dnet_dnet_ntoa = no
; then
9113 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dnet_ntoa in -ldnet_stub" >&5
9114 $as_echo_n "checking for dnet_ntoa in -ldnet_stub... " >&6; }
9115 if ${ac_cv_lib_dnet_stub_dnet_ntoa+:} false
; then :
9116 $as_echo_n "(cached) " >&6
9118 ac_check_lib_save_LIBS
=$LIBS
9119 LIBS
="-ldnet_stub $LIBS"
9120 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9121 /* end confdefs.h. */
9123 /* Override any GCC internal prototype to avoid an error.
9124 Use char because int might match the return type of a GCC
9125 builtin and then its argument prototype would still apply. */
9133 return dnet_ntoa ();
9138 if ac_fn_c_try_link
"$LINENO"; then :
9139 ac_cv_lib_dnet_stub_dnet_ntoa
=yes
9141 ac_cv_lib_dnet_stub_dnet_ntoa
=no
9143 rm -f core conftest.err conftest.
$ac_objext \
9144 conftest
$ac_exeext conftest.
$ac_ext
9145 LIBS
=$ac_check_lib_save_LIBS
9147 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dnet_stub_dnet_ntoa" >&5
9148 $as_echo "$ac_cv_lib_dnet_stub_dnet_ntoa" >&6; }
9149 if test "x$ac_cv_lib_dnet_stub_dnet_ntoa" = xyes
; then :
9150 X_EXTRA_LIBS
="$X_EXTRA_LIBS -ldnet_stub"
9155 rm -f core conftest.err conftest.
$ac_objext \
9156 conftest
$ac_exeext conftest.
$ac_ext
9157 LIBS
="$ac_xsave_LIBS"
9159 # msh@cis.ufl.edu says -lnsl (and -lsocket) are needed for his 386/AT,
9160 # to get the SysV transport functions.
9161 # Chad R. Larson says the Pyramis MIS-ES running DC/OSx (SVR4)
9163 # The nsl library prevents programs from opening the X display
9164 # on Irix 5.2, according to T.E. Dickey.
9165 # The functions gethostbyname, getservbyname, and inet_addr are
9166 # in -lbsd on LynxOS 3.0.1/i386, according to Lars Hecking.
9167 ac_fn_c_check_func
"$LINENO" "gethostbyname" "ac_cv_func_gethostbyname"
9168 if test "x$ac_cv_func_gethostbyname" = xyes
; then :
9172 if test $ac_cv_func_gethostbyname = no
; then
9173 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gethostbyname in -lnsl" >&5
9174 $as_echo_n "checking for gethostbyname in -lnsl... " >&6; }
9175 if ${ac_cv_lib_nsl_gethostbyname+:} false
; then :
9176 $as_echo_n "(cached) " >&6
9178 ac_check_lib_save_LIBS
=$LIBS
9180 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9181 /* end confdefs.h. */
9183 /* Override any GCC internal prototype to avoid an error.
9184 Use char because int might match the return type of a GCC
9185 builtin and then its argument prototype would still apply. */
9189 char gethostbyname ();
9193 return gethostbyname ();
9198 if ac_fn_c_try_link
"$LINENO"; then :
9199 ac_cv_lib_nsl_gethostbyname
=yes
9201 ac_cv_lib_nsl_gethostbyname
=no
9203 rm -f core conftest.err conftest.
$ac_objext \
9204 conftest
$ac_exeext conftest.
$ac_ext
9205 LIBS
=$ac_check_lib_save_LIBS
9207 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_nsl_gethostbyname" >&5
9208 $as_echo "$ac_cv_lib_nsl_gethostbyname" >&6; }
9209 if test "x$ac_cv_lib_nsl_gethostbyname" = xyes
; then :
9210 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lnsl"
9213 if test $ac_cv_lib_nsl_gethostbyname = no
; then
9214 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gethostbyname in -lbsd" >&5
9215 $as_echo_n "checking for gethostbyname in -lbsd... " >&6; }
9216 if ${ac_cv_lib_bsd_gethostbyname+:} false
; then :
9217 $as_echo_n "(cached) " >&6
9219 ac_check_lib_save_LIBS
=$LIBS
9221 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9222 /* end confdefs.h. */
9224 /* Override any GCC internal prototype to avoid an error.
9225 Use char because int might match the return type of a GCC
9226 builtin and then its argument prototype would still apply. */
9230 char gethostbyname ();
9234 return gethostbyname ();
9239 if ac_fn_c_try_link
"$LINENO"; then :
9240 ac_cv_lib_bsd_gethostbyname
=yes
9242 ac_cv_lib_bsd_gethostbyname
=no
9244 rm -f core conftest.err conftest.
$ac_objext \
9245 conftest
$ac_exeext conftest.
$ac_ext
9246 LIBS
=$ac_check_lib_save_LIBS
9248 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_bsd_gethostbyname" >&5
9249 $as_echo "$ac_cv_lib_bsd_gethostbyname" >&6; }
9250 if test "x$ac_cv_lib_bsd_gethostbyname" = xyes
; then :
9251 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lbsd"
9257 # lieder@skyler.mavd.honeywell.com says without -lsocket,
9258 # socket/setsockopt and other routines are undefined under SCO ODT
9259 # 2.0. But -lsocket is broken on IRIX 5.2 (and is not necessary
9260 # on later versions), says Simon Leinen: it contains gethostby*
9261 # variants that don't use the name server (or something). -lsocket
9262 # must be given before -lnsl if both are needed. We assume that
9263 # if connect needs -lnsl, so does gethostbyname.
9264 ac_fn_c_check_func
"$LINENO" "connect" "ac_cv_func_connect"
9265 if test "x$ac_cv_func_connect" = xyes
; then :
9269 if test $ac_cv_func_connect = no
; then
9270 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for connect in -lsocket" >&5
9271 $as_echo_n "checking for connect in -lsocket... " >&6; }
9272 if ${ac_cv_lib_socket_connect+:} false
; then :
9273 $as_echo_n "(cached) " >&6
9275 ac_check_lib_save_LIBS
=$LIBS
9276 LIBS
="-lsocket $X_EXTRA_LIBS $LIBS"
9277 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9278 /* end confdefs.h. */
9280 /* Override any GCC internal prototype to avoid an error.
9281 Use char because int might match the return type of a GCC
9282 builtin and then its argument prototype would still apply. */
9295 if ac_fn_c_try_link
"$LINENO"; then :
9296 ac_cv_lib_socket_connect
=yes
9298 ac_cv_lib_socket_connect
=no
9300 rm -f core conftest.err conftest.
$ac_objext \
9301 conftest
$ac_exeext conftest.
$ac_ext
9302 LIBS
=$ac_check_lib_save_LIBS
9304 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_socket_connect" >&5
9305 $as_echo "$ac_cv_lib_socket_connect" >&6; }
9306 if test "x$ac_cv_lib_socket_connect" = xyes
; then :
9307 X_EXTRA_LIBS
="-lsocket $X_EXTRA_LIBS"
9312 # Guillermo Gomez says -lposix is necessary on A/UX.
9313 ac_fn_c_check_func
"$LINENO" "remove" "ac_cv_func_remove"
9314 if test "x$ac_cv_func_remove" = xyes
; then :
9318 if test $ac_cv_func_remove = no
; then
9319 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for remove in -lposix" >&5
9320 $as_echo_n "checking for remove in -lposix... " >&6; }
9321 if ${ac_cv_lib_posix_remove+:} false
; then :
9322 $as_echo_n "(cached) " >&6
9324 ac_check_lib_save_LIBS
=$LIBS
9325 LIBS
="-lposix $LIBS"
9326 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9327 /* end confdefs.h. */
9329 /* Override any GCC internal prototype to avoid an error.
9330 Use char because int might match the return type of a GCC
9331 builtin and then its argument prototype would still apply. */
9344 if ac_fn_c_try_link
"$LINENO"; then :
9345 ac_cv_lib_posix_remove
=yes
9347 ac_cv_lib_posix_remove
=no
9349 rm -f core conftest.err conftest.
$ac_objext \
9350 conftest
$ac_exeext conftest.
$ac_ext
9351 LIBS
=$ac_check_lib_save_LIBS
9353 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_posix_remove" >&5
9354 $as_echo "$ac_cv_lib_posix_remove" >&6; }
9355 if test "x$ac_cv_lib_posix_remove" = xyes
; then :
9356 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lposix"
9361 # BSDI BSD/OS 2.1 needs -lipc for XOpenDisplay.
9362 ac_fn_c_check_func
"$LINENO" "shmat" "ac_cv_func_shmat"
9363 if test "x$ac_cv_func_shmat" = xyes
; then :
9367 if test $ac_cv_func_shmat = no
; then
9368 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shmat in -lipc" >&5
9369 $as_echo_n "checking for shmat in -lipc... " >&6; }
9370 if ${ac_cv_lib_ipc_shmat+:} false
; then :
9371 $as_echo_n "(cached) " >&6
9373 ac_check_lib_save_LIBS
=$LIBS
9375 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9376 /* end confdefs.h. */
9378 /* Override any GCC internal prototype to avoid an error.
9379 Use char because int might match the return type of a GCC
9380 builtin and then its argument prototype would still apply. */
9393 if ac_fn_c_try_link
"$LINENO"; then :
9394 ac_cv_lib_ipc_shmat
=yes
9396 ac_cv_lib_ipc_shmat
=no
9398 rm -f core conftest.err conftest.
$ac_objext \
9399 conftest
$ac_exeext conftest.
$ac_ext
9400 LIBS
=$ac_check_lib_save_LIBS
9402 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ipc_shmat" >&5
9403 $as_echo "$ac_cv_lib_ipc_shmat" >&6; }
9404 if test "x$ac_cv_lib_ipc_shmat" = xyes
; then :
9405 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lipc"
9411 # Check for libraries that X11R6 Xt/Xaw programs need.
9412 ac_save_LDFLAGS
=$LDFLAGS
9413 test -n "$x_libraries" && LDFLAGS
="$LDFLAGS -L$x_libraries"
9414 # SM needs ICE to (dynamically) link under SunOS 4.x (so we have to
9415 # check for ICE first), but we must link in the order -lSM -lICE or
9416 # we get undefined symbols. So assume we have SM if we have ICE.
9417 # These have to be linked with before -lX11, unlike the other
9418 # libraries we check for below, so use a different variable.
9419 # John Interrante, Karl Berry
9420 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for IceConnectionNumber in -lICE" >&5
9421 $as_echo_n "checking for IceConnectionNumber in -lICE... " >&6; }
9422 if ${ac_cv_lib_ICE_IceConnectionNumber+:} false
; then :
9423 $as_echo_n "(cached) " >&6
9425 ac_check_lib_save_LIBS
=$LIBS
9426 LIBS
="-lICE $X_EXTRA_LIBS $LIBS"
9427 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9428 /* end confdefs.h. */
9430 /* Override any GCC internal prototype to avoid an error.
9431 Use char because int might match the return type of a GCC
9432 builtin and then its argument prototype would still apply. */
9436 char IceConnectionNumber ();
9440 return IceConnectionNumber ();
9445 if ac_fn_c_try_link
"$LINENO"; then :
9446 ac_cv_lib_ICE_IceConnectionNumber
=yes
9448 ac_cv_lib_ICE_IceConnectionNumber
=no
9450 rm -f core conftest.err conftest.
$ac_objext \
9451 conftest
$ac_exeext conftest.
$ac_ext
9452 LIBS
=$ac_check_lib_save_LIBS
9454 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ICE_IceConnectionNumber" >&5
9455 $as_echo "$ac_cv_lib_ICE_IceConnectionNumber" >&6; }
9456 if test "x$ac_cv_lib_ICE_IceConnectionNumber" = xyes
; then :
9457 X_PRE_LIBS
="$X_PRE_LIBS -lSM -lICE"
9460 LDFLAGS
=$ac_save_LDFLAGS
9465 if test "$have_x" = "yes"
9467 ac_save_CPPFLAGS
="$CPPFLAGS"
9468 CPPFLAGS
="$CPPFLAGS $X_CFLAGS"
9470 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lX11" >&5
9471 $as_echo_n "checking for -lX11... " >&6; }
9472 if ${ac_cv_lib_soname_X11+:} false
; then :
9473 $as_echo_n "(cached) " >&6
9475 ac_check_soname_save_LIBS
=$LIBS
9476 LIBS
="-lX11 $X_LIBS $X_EXTRA_LIBS $LIBS"
9477 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9478 /* end confdefs.h. */
9480 /* Override any GCC internal prototype to avoid an error.
9481 Use char because int might match the return type of a GCC
9482 builtin and then its argument prototype would still apply. */
9486 char XCreateWindow ();
9490 return XCreateWindow ();
9495 if ac_fn_c_try_link
"$LINENO"; then :
9497 dll
) ac_cv_lib_soname_X11
=`$ac_cv_path_LDD conftest.exe | grep "X11" | sed -e "s/dll.*/dll/"';2,$d'` ;;
9498 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'` ;;
9499 *) ac_cv_lib_soname_X11
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libX11\\.$LIBEXT" | sed -e "s/^.*\\[\\(libX11\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
9500 if ${ac_cv_lib_soname_X11:+false} :; then :
9501 ac_cv_lib_soname_X11
=`$LDD conftest$ac_exeext | grep "libX11\\.$LIBEXT" | sed -e "s/^.*\(libX11\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
9505 rm -f core conftest.err conftest.
$ac_objext \
9506 conftest
$ac_exeext conftest.
$ac_ext
9507 LIBS
=$ac_check_soname_save_LIBS
9509 if ${ac_cv_lib_soname_X11:+false} :; then :
9510 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
9511 $as_echo "not found" >&6; }
9514 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_X11" >&5
9515 $as_echo "$ac_cv_lib_soname_X11" >&6; }
9517 cat >>confdefs.h
<<_ACEOF
9518 #define SONAME_LIBX11 "$ac_cv_lib_soname_X11"
9523 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXext" >&5
9524 $as_echo_n "checking for -lXext... " >&6; }
9525 if ${ac_cv_lib_soname_Xext+:} false
; then :
9526 $as_echo_n "(cached) " >&6
9528 ac_check_soname_save_LIBS
=$LIBS
9529 LIBS
="-lXext $X_LIBS -lX11 $X_EXTRA_LIBS $LIBS"
9530 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9531 /* end confdefs.h. */
9533 /* Override any GCC internal prototype to avoid an error.
9534 Use char because int might match the return type of a GCC
9535 builtin and then its argument prototype would still apply. */
9539 char XextCreateExtension ();
9543 return XextCreateExtension ();
9548 if ac_fn_c_try_link
"$LINENO"; then :
9550 dll
) ac_cv_lib_soname_Xext
=`$ac_cv_path_LDD conftest.exe | grep "Xext" | sed -e "s/dll.*/dll/"';2,$d'` ;;
9551 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'` ;;
9552 *) ac_cv_lib_soname_Xext
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXext\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXext\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
9553 if ${ac_cv_lib_soname_Xext:+false} :; then :
9554 ac_cv_lib_soname_Xext
=`$LDD conftest$ac_exeext | grep "libXext\\.$LIBEXT" | sed -e "s/^.*\(libXext\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
9558 rm -f core conftest.err conftest.
$ac_objext \
9559 conftest
$ac_exeext conftest.
$ac_ext
9560 LIBS
=$ac_check_soname_save_LIBS
9562 if ${ac_cv_lib_soname_Xext:+false} :; then :
9563 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
9564 $as_echo "not found" >&6; }
9567 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xext" >&5
9568 $as_echo "$ac_cv_lib_soname_Xext" >&6; }
9570 cat >>confdefs.h
<<_ACEOF
9571 #define SONAME_LIBXEXT "$ac_cv_lib_soname_Xext"
9574 X_LIBS
="$X_LIBS -lXext"
9576 X_LIBS
="$X_LIBS -lX11"
9578 for ac_header
in X11
/Xlib.h \
9581 X11
/Xcursor
/Xcursor.h \
9582 X11
/extensions
/shape.h \
9583 X11
/extensions
/XInput.h \
9584 X11
/extensions
/XInput2.h \
9585 X11
/extensions
/XShm.h \
9586 X11
/extensions
/Xcomposite.h \
9587 X11
/extensions
/Xinerama.h \
9588 X11
/extensions
/Xrandr.h \
9589 X11
/extensions
/Xrender.h \
9590 X11
/extensions
/xf86vmode.h \
9591 X11
/extensions
/xf86vmproto.h
9593 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
9594 ac_fn_c_check_header_compile
"$LINENO" "$ac_header" "$as_ac_Header" "#ifdef HAVE_X11_XLIB_H
9595 # include <X11/Xlib.h>
9597 #ifdef HAVE_X11_XUTIL_H
9598 # include <X11/Xutil.h>
9601 if eval test \"x\$
"$as_ac_Header"\" = x
"yes"; then :
9602 cat >>confdefs.h
<<_ACEOF
9603 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
9611 if test "$ac_cv_header_X11_XKBlib_h" = "yes"
9613 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XkbQueryExtension in -lX11" >&5
9614 $as_echo_n "checking for XkbQueryExtension in -lX11... " >&6; }
9615 if ${ac_cv_lib_X11_XkbQueryExtension+:} false
; then :
9616 $as_echo_n "(cached) " >&6
9618 ac_check_lib_save_LIBS
=$LIBS
9619 LIBS
="-lX11 $X_LIBS $X_EXTRA_LIBS $LIBS"
9620 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9621 /* end confdefs.h. */
9623 /* Override any GCC internal prototype to avoid an error.
9624 Use char because int might match the return type of a GCC
9625 builtin and then its argument prototype would still apply. */
9629 char XkbQueryExtension ();
9633 return XkbQueryExtension ();
9638 if ac_fn_c_try_link
"$LINENO"; then :
9639 ac_cv_lib_X11_XkbQueryExtension
=yes
9641 ac_cv_lib_X11_XkbQueryExtension
=no
9643 rm -f core conftest.err conftest.
$ac_objext \
9644 conftest
$ac_exeext conftest.
$ac_ext
9645 LIBS
=$ac_check_lib_save_LIBS
9647 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_X11_XkbQueryExtension" >&5
9648 $as_echo "$ac_cv_lib_X11_XkbQueryExtension" >&6; }
9649 if test "x$ac_cv_lib_X11_XkbQueryExtension" = xyes
; then :
9651 $as_echo "#define HAVE_XKB 1" >>confdefs.h
9657 if test "$ac_cv_header_X11_Xcursor_Xcursor_h" = "yes"
9659 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXcursor" >&5
9660 $as_echo_n "checking for -lXcursor... " >&6; }
9661 if ${ac_cv_lib_soname_Xcursor+:} false
; then :
9662 $as_echo_n "(cached) " >&6
9664 ac_check_soname_save_LIBS
=$LIBS
9665 LIBS
="-lXcursor $X_LIBS $X_EXTRA_LIBS $LIBS"
9666 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9667 /* end confdefs.h. */
9669 /* Override any GCC internal prototype to avoid an error.
9670 Use char because int might match the return type of a GCC
9671 builtin and then its argument prototype would still apply. */
9675 char XcursorImageLoadCursor ();
9679 return XcursorImageLoadCursor ();
9684 if ac_fn_c_try_link
"$LINENO"; then :
9686 dll
) ac_cv_lib_soname_Xcursor
=`$ac_cv_path_LDD conftest.exe | grep "Xcursor" | sed -e "s/dll.*/dll/"';2,$d'` ;;
9687 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'` ;;
9688 *) ac_cv_lib_soname_Xcursor
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXcursor\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXcursor\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
9689 if ${ac_cv_lib_soname_Xcursor:+false} :; then :
9690 ac_cv_lib_soname_Xcursor
=`$LDD conftest$ac_exeext | grep "libXcursor\\.$LIBEXT" | sed -e "s/^.*\(libXcursor\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
9694 rm -f core conftest.err conftest.
$ac_objext \
9695 conftest
$ac_exeext conftest.
$ac_ext
9696 LIBS
=$ac_check_soname_save_LIBS
9698 if ${ac_cv_lib_soname_Xcursor:+false} :; then :
9699 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
9700 $as_echo "not found" >&6; }
9703 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xcursor" >&5
9704 $as_echo "$ac_cv_lib_soname_Xcursor" >&6; }
9706 cat >>confdefs.h
<<_ACEOF
9707 #define SONAME_LIBXCURSOR "$ac_cv_lib_soname_Xcursor"
9713 if test "x$ac_cv_lib_soname_Xcursor" = "x"; then :
9714 case "x$with_xcursor" in
9715 x
) as_fn_append wine_notices
"|libxcursor ${notice_platform}development files not found, the Xcursor extension won't be supported." ;;
9717 *) as_fn_error $?
"libxcursor ${notice_platform}development files not found, the Xcursor extension won't be supported.
9718 This is an error since --with-xcursor was requested." "$LINENO" 5 ;;
9722 if test "$ac_cv_header_X11_extensions_XInput_h" = "yes"
9724 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXi" >&5
9725 $as_echo_n "checking for -lXi... " >&6; }
9726 if ${ac_cv_lib_soname_Xi+:} false
; then :
9727 $as_echo_n "(cached) " >&6
9729 ac_check_soname_save_LIBS
=$LIBS
9730 LIBS
="-lXi $X_LIBS $X_EXTRA_LIBS $LIBS"
9731 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9732 /* end confdefs.h. */
9734 /* Override any GCC internal prototype to avoid an error.
9735 Use char because int might match the return type of a GCC
9736 builtin and then its argument prototype would still apply. */
9740 char XOpenDevice ();
9744 return XOpenDevice ();
9749 if ac_fn_c_try_link
"$LINENO"; then :
9751 dll
) ac_cv_lib_soname_Xi
=`$ac_cv_path_LDD conftest.exe | grep "Xi" | sed -e "s/dll.*/dll/"';2,$d'` ;;
9752 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'` ;;
9753 *) ac_cv_lib_soname_Xi
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXi\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXi\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
9754 if ${ac_cv_lib_soname_Xi:+false} :; then :
9755 ac_cv_lib_soname_Xi
=`$LDD conftest$ac_exeext | grep "libXi\\.$LIBEXT" | sed -e "s/^.*\(libXi\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
9759 rm -f core conftest.err conftest.
$ac_objext \
9760 conftest
$ac_exeext conftest.
$ac_ext
9761 LIBS
=$ac_check_soname_save_LIBS
9763 if ${ac_cv_lib_soname_Xi:+false} :; then :
9764 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
9765 $as_echo "not found" >&6; }
9768 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xi" >&5
9769 $as_echo "$ac_cv_lib_soname_Xi" >&6; }
9771 cat >>confdefs.h
<<_ACEOF
9772 #define SONAME_LIBXI "$ac_cv_lib_soname_Xi"
9778 if test "x$ac_cv_lib_soname_Xi" = "x"; then :
9779 case "x$with_xinput" in
9780 x
) as_fn_append wine_notices
"|libxi ${notice_platform}development files not found, the Xinput extension won't be supported." ;;
9782 *) as_fn_error $?
"libxi ${notice_platform}development files not found, the Xinput extension won't be supported.
9783 This is an error since --with-xinput was requested." "$LINENO" 5 ;;
9787 if test "x$ac_cv_lib_soname_Xi" != x
9789 if test "$ac_cv_header_X11_extensions_XInput2_h" != "yes"; then :
9790 case "x$with_xinput2" in
9791 x
) as_fn_append wine_notices
"|XInput2 headers not found, the XInput 2 extension won't be supported." ;;
9793 *) as_fn_error $?
"XInput2 headers not found, the XInput 2 extension won't be supported.
9794 This is an error since --with-xinput2 was requested." "$LINENO" 5 ;;
9799 if test "$ac_cv_header_X11_extensions_XShm_h" = "yes"
9801 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XShmQueryExtension in -lXext" >&5
9802 $as_echo_n "checking for XShmQueryExtension in -lXext... " >&6; }
9803 if ${ac_cv_lib_Xext_XShmQueryExtension+:} false
; then :
9804 $as_echo_n "(cached) " >&6
9806 ac_check_lib_save_LIBS
=$LIBS
9807 LIBS
="-lXext $X_LIBS $X_EXTRA_LIBS $LIBS"
9808 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9809 /* end confdefs.h. */
9811 /* Override any GCC internal prototype to avoid an error.
9812 Use char because int might match the return type of a GCC
9813 builtin and then its argument prototype would still apply. */
9817 char XShmQueryExtension ();
9821 return XShmQueryExtension ();
9826 if ac_fn_c_try_link
"$LINENO"; then :
9827 ac_cv_lib_Xext_XShmQueryExtension
=yes
9829 ac_cv_lib_Xext_XShmQueryExtension
=no
9831 rm -f core conftest.err conftest.
$ac_objext \
9832 conftest
$ac_exeext conftest.
$ac_ext
9833 LIBS
=$ac_check_lib_save_LIBS
9835 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xext_XShmQueryExtension" >&5
9836 $as_echo "$ac_cv_lib_Xext_XShmQueryExtension" >&6; }
9837 if test "x$ac_cv_lib_Xext_XShmQueryExtension" = xyes
; then :
9839 $as_echo "#define HAVE_LIBXXSHM 1" >>confdefs.h
9844 if test "$ac_cv_lib_Xext_XShmQueryExtension" != "yes"; then :
9845 case "x$with_xshm" in
9846 x
) as_fn_append wine_notices
"|XShm ${notice_platform}development files not found, X Shared Memory won't be supported." ;;
9848 *) as_fn_error $?
"XShm ${notice_platform}development files not found, X Shared Memory won't be supported.
9849 This is an error since --with-xshm was requested." "$LINENO" 5 ;;
9853 if test "$ac_cv_header_X11_extensions_shape_h" = "yes"
9855 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XShapeQueryExtension in -lXext" >&5
9856 $as_echo_n "checking for XShapeQueryExtension in -lXext... " >&6; }
9857 if ${ac_cv_lib_Xext_XShapeQueryExtension+:} false
; then :
9858 $as_echo_n "(cached) " >&6
9860 ac_check_lib_save_LIBS
=$LIBS
9861 LIBS
="-lXext $X_LIBS $X_EXTRA_LIBS $LIBS"
9862 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9863 /* end confdefs.h. */
9865 /* Override any GCC internal prototype to avoid an error.
9866 Use char because int might match the return type of a GCC
9867 builtin and then its argument prototype would still apply. */
9871 char XShapeQueryExtension ();
9875 return XShapeQueryExtension ();
9880 if ac_fn_c_try_link
"$LINENO"; then :
9881 ac_cv_lib_Xext_XShapeQueryExtension
=yes
9883 ac_cv_lib_Xext_XShapeQueryExtension
=no
9885 rm -f core conftest.err conftest.
$ac_objext \
9886 conftest
$ac_exeext conftest.
$ac_ext
9887 LIBS
=$ac_check_lib_save_LIBS
9889 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xext_XShapeQueryExtension" >&5
9890 $as_echo "$ac_cv_lib_Xext_XShapeQueryExtension" >&6; }
9891 if test "x$ac_cv_lib_Xext_XShapeQueryExtension" = xyes
; then :
9893 $as_echo "#define HAVE_LIBXSHAPE 1" >>confdefs.h
9898 if test "$ac_cv_lib_Xext_XShapeQueryExtension" != "yes"; then :
9899 case "x$with_xshape" in
9900 x
) as_fn_append wine_notices
"|XShape ${notice_platform}development files not found, XShape won't be supported." ;;
9902 *) as_fn_error $?
"XShape ${notice_platform}development files not found, XShape won't be supported.
9903 This is an error since --with-xshape was requested." "$LINENO" 5 ;;
9907 if test "$ac_cv_header_X11_extensions_xf86vmode_h" = "yes" -o "$ac_cv_header_X11_extensions_xf86vmproto_h" = "yes"
9909 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXxf86vm" >&5
9910 $as_echo_n "checking for -lXxf86vm... " >&6; }
9911 if ${ac_cv_lib_soname_Xxf86vm+:} false
; then :
9912 $as_echo_n "(cached) " >&6
9914 ac_check_soname_save_LIBS
=$LIBS
9915 LIBS
="-lXxf86vm $X_LIBS $X_EXTRA_LIBS $LIBS"
9916 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9917 /* end confdefs.h. */
9919 /* Override any GCC internal prototype to avoid an error.
9920 Use char because int might match the return type of a GCC
9921 builtin and then its argument prototype would still apply. */
9925 char XF86VidModeQueryExtension ();
9929 return XF86VidModeQueryExtension ();
9934 if ac_fn_c_try_link
"$LINENO"; then :
9936 dll
) ac_cv_lib_soname_Xxf86vm
=`$ac_cv_path_LDD conftest.exe | grep "Xxf86vm" | sed -e "s/dll.*/dll/"';2,$d'` ;;
9937 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'` ;;
9938 *) ac_cv_lib_soname_Xxf86vm
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXxf86vm\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXxf86vm\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
9939 if ${ac_cv_lib_soname_Xxf86vm:+false} :; then :
9940 ac_cv_lib_soname_Xxf86vm
=`$LDD conftest$ac_exeext | grep "libXxf86vm\\.$LIBEXT" | sed -e "s/^.*\(libXxf86vm\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
9944 rm -f core conftest.err conftest.
$ac_objext \
9945 conftest
$ac_exeext conftest.
$ac_ext
9946 LIBS
=$ac_check_soname_save_LIBS
9948 if ${ac_cv_lib_soname_Xxf86vm:+false} :; then :
9949 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
9950 $as_echo "not found" >&6; }
9953 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xxf86vm" >&5
9954 $as_echo "$ac_cv_lib_soname_Xxf86vm" >&6; }
9956 cat >>confdefs.h
<<_ACEOF
9957 #define SONAME_LIBXXF86VM "$ac_cv_lib_soname_Xxf86vm"
9963 if test "x$ac_cv_lib_soname_Xxf86vm" = "x"; then :
9964 case "x$with_xxf86vm" in
9965 x
) as_fn_append wine_notices
"|libXxf86vm ${notice_platform}development files not found, XFree86 Vidmode won't be supported." ;;
9967 *) as_fn_error $?
"libXxf86vm ${notice_platform}development files not found, XFree86 Vidmode won't be supported.
9968 This is an error since --with-xxf86vm was requested." "$LINENO" 5 ;;
9972 if test "$ac_cv_header_X11_extensions_Xrender_h" = "yes" -a "x$ac_cv_lib_soname_X11" != "x"
9974 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXrender" >&5
9975 $as_echo_n "checking for -lXrender... " >&6; }
9976 if ${ac_cv_lib_soname_Xrender+:} false
; then :
9977 $as_echo_n "(cached) " >&6
9979 ac_check_soname_save_LIBS
=$LIBS
9980 LIBS
="-lXrender $X_LIBS $X_EXTRA_LIBS $LIBS"
9981 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9982 /* end confdefs.h. */
9984 /* Override any GCC internal prototype to avoid an error.
9985 Use char because int might match the return type of a GCC
9986 builtin and then its argument prototype would still apply. */
9990 char XRenderQueryExtension ();
9994 return XRenderQueryExtension ();
9999 if ac_fn_c_try_link
"$LINENO"; then :
10001 dll
) ac_cv_lib_soname_Xrender
=`$ac_cv_path_LDD conftest.exe | grep "Xrender" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10002 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'` ;;
10003 *) ac_cv_lib_soname_Xrender
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXrender\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXrender\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10004 if ${ac_cv_lib_soname_Xrender:+false} :; then :
10005 ac_cv_lib_soname_Xrender
=`$LDD conftest$ac_exeext | grep "libXrender\\.$LIBEXT" | sed -e "s/^.*\(libXrender\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10009 rm -f core conftest.err conftest.
$ac_objext \
10010 conftest
$ac_exeext conftest.
$ac_ext
10011 LIBS
=$ac_check_soname_save_LIBS
10013 if ${ac_cv_lib_soname_Xrender:+false} :; then :
10014 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10015 $as_echo "not found" >&6; }
10018 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xrender" >&5
10019 $as_echo "$ac_cv_lib_soname_Xrender" >&6; }
10021 cat >>confdefs.h
<<_ACEOF
10022 #define SONAME_LIBXRENDER "$ac_cv_lib_soname_Xrender"
10025 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XRenderSetPictureTransform in -lXrender" >&5
10026 $as_echo_n "checking for XRenderSetPictureTransform in -lXrender... " >&6; }
10027 if ${ac_cv_lib_Xrender_XRenderSetPictureTransform+:} false
; then :
10028 $as_echo_n "(cached) " >&6
10030 ac_check_lib_save_LIBS
=$LIBS
10031 LIBS
="-lXrender $X_LIBS $X_EXTRA_LIBS $LIBS"
10032 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10033 /* end confdefs.h. */
10035 /* Override any GCC internal prototype to avoid an error.
10036 Use char because int might match the return type of a GCC
10037 builtin and then its argument prototype would still apply. */
10041 char XRenderSetPictureTransform ();
10045 return XRenderSetPictureTransform ();
10050 if ac_fn_c_try_link
"$LINENO"; then :
10051 ac_cv_lib_Xrender_XRenderSetPictureTransform
=yes
10053 ac_cv_lib_Xrender_XRenderSetPictureTransform
=no
10055 rm -f core conftest.err conftest.
$ac_objext \
10056 conftest
$ac_exeext conftest.
$ac_ext
10057 LIBS
=$ac_check_lib_save_LIBS
10059 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xrender_XRenderSetPictureTransform" >&5
10060 $as_echo "$ac_cv_lib_Xrender_XRenderSetPictureTransform" >&6; }
10061 if test "x$ac_cv_lib_Xrender_XRenderSetPictureTransform" = xyes
; then :
10063 $as_echo "#define HAVE_XRENDERSETPICTURETRANSFORM 1" >>confdefs.h
10067 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XRenderCreateLinearGradient in -lXrender" >&5
10068 $as_echo_n "checking for XRenderCreateLinearGradient in -lXrender... " >&6; }
10069 if ${ac_cv_lib_Xrender_XRenderCreateLinearGradient+:} false
; then :
10070 $as_echo_n "(cached) " >&6
10072 ac_check_lib_save_LIBS
=$LIBS
10073 LIBS
="-lXrender $X_LIBS $X_EXTRA_LIBS $LIBS"
10074 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10075 /* end confdefs.h. */
10077 /* Override any GCC internal prototype to avoid an error.
10078 Use char because int might match the return type of a GCC
10079 builtin and then its argument prototype would still apply. */
10083 char XRenderCreateLinearGradient ();
10087 return XRenderCreateLinearGradient ();
10092 if ac_fn_c_try_link
"$LINENO"; then :
10093 ac_cv_lib_Xrender_XRenderCreateLinearGradient
=yes
10095 ac_cv_lib_Xrender_XRenderCreateLinearGradient
=no
10097 rm -f core conftest.err conftest.
$ac_objext \
10098 conftest
$ac_exeext conftest.
$ac_ext
10099 LIBS
=$ac_check_lib_save_LIBS
10101 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xrender_XRenderCreateLinearGradient" >&5
10102 $as_echo "$ac_cv_lib_Xrender_XRenderCreateLinearGradient" >&6; }
10103 if test "x$ac_cv_lib_Xrender_XRenderCreateLinearGradient" = xyes
; then :
10105 $as_echo "#define HAVE_XRENDERCREATELINEARGRADIENT 1" >>confdefs.h
10112 if test "x$ac_cv_lib_soname_Xrender" = "x"; then :
10113 case "x$with_xrender" in
10114 x
) as_fn_append wine_warnings
"|libxrender ${notice_platform}development files not found, XRender won't be supported." ;;
10116 *) as_fn_error $?
"libxrender ${notice_platform}development files not found, XRender won't be supported.
10117 This is an error since --with-xrender was requested." "$LINENO" 5 ;;
10121 if test "$ac_cv_header_X11_extensions_Xrandr_h" = "yes" -a "x$ac_cv_lib_soname_Xrender" != "x"
10123 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10124 /* end confdefs.h. */
10125 #include <X11/Xlib.h>
10126 #include <X11/extensions/Xrandr.h>
10130 static typeof(XRRSetScreenConfigAndRate) * func; if (func) return 0;
10135 if ac_fn_c_try_compile
"$LINENO"; then :
10136 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXrandr" >&5
10137 $as_echo_n "checking for -lXrandr... " >&6; }
10138 if ${ac_cv_lib_soname_Xrandr+:} false
; then :
10139 $as_echo_n "(cached) " >&6
10141 ac_check_soname_save_LIBS
=$LIBS
10142 LIBS
="-lXrandr $X_LIBS $X_EXTRA_LIBS $LIBS"
10143 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10144 /* end confdefs.h. */
10146 /* Override any GCC internal prototype to avoid an error.
10147 Use char because int might match the return type of a GCC
10148 builtin and then its argument prototype would still apply. */
10152 char XRRQueryExtension ();
10156 return XRRQueryExtension ();
10161 if ac_fn_c_try_link
"$LINENO"; then :
10163 dll
) ac_cv_lib_soname_Xrandr
=`$ac_cv_path_LDD conftest.exe | grep "Xrandr" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10164 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'` ;;
10165 *) ac_cv_lib_soname_Xrandr
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXrandr\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXrandr\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10166 if ${ac_cv_lib_soname_Xrandr:+false} :; then :
10167 ac_cv_lib_soname_Xrandr
=`$LDD conftest$ac_exeext | grep "libXrandr\\.$LIBEXT" | sed -e "s/^.*\(libXrandr\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10171 rm -f core conftest.err conftest.
$ac_objext \
10172 conftest
$ac_exeext conftest.
$ac_ext
10173 LIBS
=$ac_check_soname_save_LIBS
10175 if ${ac_cv_lib_soname_Xrandr:+false} :; then :
10176 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10177 $as_echo "not found" >&6; }
10180 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xrandr" >&5
10181 $as_echo "$ac_cv_lib_soname_Xrandr" >&6; }
10183 cat >>confdefs.h
<<_ACEOF
10184 #define SONAME_LIBXRANDR "$ac_cv_lib_soname_Xrandr"
10187 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10188 /* end confdefs.h. */
10189 #include <X11/Xlib.h>
10190 #include <X11/extensions/Xrandr.h>
10194 static typeof(XRRGetScreenResources) *f; if (f) return 0;
10199 if ac_fn_c_try_compile
"$LINENO"; then :
10201 $as_echo "#define HAVE_XRRGETSCREENRESOURCES 1" >>confdefs.h
10204 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
10207 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
10209 if test "x$ac_cv_lib_soname_Xrandr" = "x"; then :
10210 case "x$with_xrandr" in
10211 x
) as_fn_append wine_notices
"|libxrandr ${notice_platform}development files not found, XRandr won't be supported." ;;
10213 *) as_fn_error $?
"libxrandr ${notice_platform}development files not found, XRandr won't be supported.
10214 This is an error since --with-xrandr was requested." "$LINENO" 5 ;;
10218 if test "$ac_cv_header_X11_extensions_Xinerama_h" = "yes"
10220 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10221 /* end confdefs.h. */
10222 #include <X11/Xlib.h>
10223 #include <X11/extensions/Xinerama.h>
10227 static typeof(XineramaQueryScreens) * func; if (func) return 0;
10232 if ac_fn_c_try_compile
"$LINENO"; then :
10233 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXinerama" >&5
10234 $as_echo_n "checking for -lXinerama... " >&6; }
10235 if ${ac_cv_lib_soname_Xinerama+:} false
; then :
10236 $as_echo_n "(cached) " >&6
10238 ac_check_soname_save_LIBS
=$LIBS
10239 LIBS
="-lXinerama $X_LIBS $X_EXTRA_LIBS $LIBS"
10240 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10241 /* end confdefs.h. */
10243 /* Override any GCC internal prototype to avoid an error.
10244 Use char because int might match the return type of a GCC
10245 builtin and then its argument prototype would still apply. */
10249 char XineramaQueryScreens ();
10253 return XineramaQueryScreens ();
10258 if ac_fn_c_try_link
"$LINENO"; then :
10260 dll
) ac_cv_lib_soname_Xinerama
=`$ac_cv_path_LDD conftest.exe | grep "Xinerama" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10261 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'` ;;
10262 *) ac_cv_lib_soname_Xinerama
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXinerama\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXinerama\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10263 if ${ac_cv_lib_soname_Xinerama:+false} :; then :
10264 ac_cv_lib_soname_Xinerama
=`$LDD conftest$ac_exeext | grep "libXinerama\\.$LIBEXT" | sed -e "s/^.*\(libXinerama\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10268 rm -f core conftest.err conftest.
$ac_objext \
10269 conftest
$ac_exeext conftest.
$ac_ext
10270 LIBS
=$ac_check_soname_save_LIBS
10272 if ${ac_cv_lib_soname_Xinerama:+false} :; then :
10273 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10274 $as_echo "not found" >&6; }
10277 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xinerama" >&5
10278 $as_echo "$ac_cv_lib_soname_Xinerama" >&6; }
10280 cat >>confdefs.h
<<_ACEOF
10281 #define SONAME_LIBXINERAMA "$ac_cv_lib_soname_Xinerama"
10287 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
10289 if test "x$ac_cv_lib_soname_Xinerama" = "x"; then :
10290 case "x$with_xinerama" in
10291 x
) as_fn_append wine_notices
"|libxinerama ${notice_platform}development files not found, multi-monitor setups won't be supported." ;;
10293 *) as_fn_error $?
"libxinerama ${notice_platform}development files not found, multi-monitor setups won't be supported.
10294 This is an error since --with-xinerama was requested." "$LINENO" 5 ;;
10298 if test "$ac_cv_header_X11_extensions_Xcomposite_h" = "yes"
10300 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXcomposite" >&5
10301 $as_echo_n "checking for -lXcomposite... " >&6; }
10302 if ${ac_cv_lib_soname_Xcomposite+:} false
; then :
10303 $as_echo_n "(cached) " >&6
10305 ac_check_soname_save_LIBS
=$LIBS
10306 LIBS
="-lXcomposite $X_LIBS $X_EXTRA_LIBS $LIBS"
10307 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10308 /* end confdefs.h. */
10310 /* Override any GCC internal prototype to avoid an error.
10311 Use char because int might match the return type of a GCC
10312 builtin and then its argument prototype would still apply. */
10316 char XCompositeRedirectWindow ();
10320 return XCompositeRedirectWindow ();
10325 if ac_fn_c_try_link
"$LINENO"; then :
10327 dll
) ac_cv_lib_soname_Xcomposite
=`$ac_cv_path_LDD conftest.exe | grep "Xcomposite" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10328 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'` ;;
10329 *) ac_cv_lib_soname_Xcomposite
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXcomposite\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXcomposite\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10330 if ${ac_cv_lib_soname_Xcomposite:+false} :; then :
10331 ac_cv_lib_soname_Xcomposite
=`$LDD conftest$ac_exeext | grep "libXcomposite\\.$LIBEXT" | sed -e "s/^.*\(libXcomposite\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10335 rm -f core conftest.err conftest.
$ac_objext \
10336 conftest
$ac_exeext conftest.
$ac_ext
10337 LIBS
=$ac_check_soname_save_LIBS
10339 if ${ac_cv_lib_soname_Xcomposite:+false} :; then :
10340 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10341 $as_echo "not found" >&6; }
10344 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xcomposite" >&5
10345 $as_echo "$ac_cv_lib_soname_Xcomposite" >&6; }
10347 cat >>confdefs.h
<<_ACEOF
10348 #define SONAME_LIBXCOMPOSITE "$ac_cv_lib_soname_Xcomposite"
10354 if test "x$ac_cv_lib_soname_Xcomposite" = "x"; then :
10355 case "x$with_xcomposite" in
10356 x
) as_fn_append wine_notices
"|libxcomposite ${notice_platform}development files not found, Xcomposite won't be supported." ;;
10358 *) as_fn_error $?
"libxcomposite ${notice_platform}development files not found, Xcomposite won't be supported.
10359 This is an error since --with-xcomposite was requested." "$LINENO" 5 ;;
10363 ac_fn_c_check_member
"$LINENO" "XICCallback" "callback" "ac_cv_member_XICCallback_callback" "#ifdef HAVE_X11_XLIB_H
10364 #include <X11/Xlib.h>
10367 if test "x$ac_cv_member_XICCallback_callback" = xyes
; then :
10369 cat >>confdefs.h
<<_ACEOF
10370 #define HAVE_XICCALLBACK_CALLBACK 1
10375 ac_fn_c_check_member
"$LINENO" "XEvent" "xcookie" "ac_cv_member_XEvent_xcookie" "#ifdef HAVE_X11_XLIB_H
10376 #include <X11/Xlib.h>
10379 if test "x$ac_cv_member_XEvent_xcookie" = xyes
; then :
10381 cat >>confdefs.h
<<_ACEOF
10382 #define HAVE_XEVENT_XCOOKIE 1
10391 if test "x$with_opengl" != "xno"
10393 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lGL" >&5
10394 $as_echo_n "checking for -lGL... " >&6; }
10395 if ${ac_cv_lib_soname_GL+:} false
; then :
10396 $as_echo_n "(cached) " >&6
10398 ac_check_soname_save_LIBS
=$LIBS
10399 LIBS
="-lGL $X_LIBS -lm $X_EXTRA_LIBS $LIBS"
10400 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10401 /* end confdefs.h. */
10403 /* Override any GCC internal prototype to avoid an error.
10404 Use char because int might match the return type of a GCC
10405 builtin and then its argument prototype would still apply. */
10409 char glXCreateContext ();
10413 return glXCreateContext ();
10418 if ac_fn_c_try_link
"$LINENO"; then :
10420 dll
) ac_cv_lib_soname_GL
=`$ac_cv_path_LDD conftest.exe | grep "GL" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10421 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'` ;;
10422 *) ac_cv_lib_soname_GL
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libGL\\.$LIBEXT" | sed -e "s/^.*\\[\\(libGL\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10423 if ${ac_cv_lib_soname_GL:+false} :; then :
10424 ac_cv_lib_soname_GL
=`$LDD conftest$ac_exeext | grep "libGL\\.$LIBEXT" | sed -e "s/^.*\(libGL\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10428 rm -f core conftest.err conftest.
$ac_objext \
10429 conftest
$ac_exeext conftest.
$ac_ext
10430 LIBS
=$ac_check_soname_save_LIBS
10432 if ${ac_cv_lib_soname_GL:+false} :; then :
10433 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10434 $as_echo "not found" >&6; }
10435 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lGL" >&5
10436 $as_echo_n "checking for -lGL... " >&6; }
10437 if ${ac_cv_lib_soname_GL+:} false
; then :
10438 $as_echo_n "(cached) " >&6
10440 ac_check_soname_save_LIBS
=$LIBS
10441 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"
10442 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10443 /* end confdefs.h. */
10445 /* Override any GCC internal prototype to avoid an error.
10446 Use char because int might match the return type of a GCC
10447 builtin and then its argument prototype would still apply. */
10451 char glXCreateContext ();
10455 return glXCreateContext ();
10460 if ac_fn_c_try_link
"$LINENO"; then :
10462 dll
) ac_cv_lib_soname_GL
=`$ac_cv_path_LDD conftest.exe | grep "GL" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10463 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'` ;;
10464 *) ac_cv_lib_soname_GL
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libGL\\.$LIBEXT" | sed -e "s/^.*\\[\\(libGL\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10465 if ${ac_cv_lib_soname_GL:+false} :; then :
10466 ac_cv_lib_soname_GL
=`$LDD conftest$ac_exeext | grep "libGL\\.$LIBEXT" | sed -e "s/^.*\(libGL\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10470 rm -f core conftest.err conftest.
$ac_objext \
10471 conftest
$ac_exeext conftest.
$ac_ext
10472 LIBS
=$ac_check_soname_save_LIBS
10474 if ${ac_cv_lib_soname_GL:+false} :; then :
10475 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10476 $as_echo "not found" >&6; }
10477 if test -f /usr
/X11R
6/lib
/libGL.a
10479 opengl_msg
="/usr/X11R6/lib/libGL.a is present on your system.
10480 This probably prevents linking to OpenGL. Try deleting the file and restarting configure."
10482 opengl_msg
="No OpenGL library found on this system."
10485 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_GL" >&5
10486 $as_echo "$ac_cv_lib_soname_GL" >&6; }
10488 cat >>confdefs.h
<<_ACEOF
10489 #define SONAME_LIBGL "$ac_cv_lib_soname_GL"
10492 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"
10495 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_GL" >&5
10496 $as_echo "$ac_cv_lib_soname_GL" >&6; }
10498 cat >>confdefs.h
<<_ACEOF
10499 #define SONAME_LIBGL "$ac_cv_lib_soname_GL"
10504 if test "x$with_glu" != "xno"
10506 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gluLookAt in -lGLU" >&5
10507 $as_echo_n "checking for gluLookAt in -lGLU... " >&6; }
10508 if ${ac_cv_lib_GLU_gluLookAt+:} false
; then :
10509 $as_echo_n "(cached) " >&6
10511 ac_check_lib_save_LIBS
=$LIBS
10512 LIBS
="-lGLU $OPENGL_LIBS $X_LIBS -lm $X_EXTRA_LIBS $LIBS"
10513 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10514 /* end confdefs.h. */
10516 /* Override any GCC internal prototype to avoid an error.
10517 Use char because int might match the return type of a GCC
10518 builtin and then its argument prototype would still apply. */
10526 return gluLookAt ();
10531 if ac_fn_c_try_link
"$LINENO"; then :
10532 ac_cv_lib_GLU_gluLookAt
=yes
10534 ac_cv_lib_GLU_gluLookAt
=no
10536 rm -f core conftest.err conftest.
$ac_objext \
10537 conftest
$ac_exeext conftest.
$ac_ext
10538 LIBS
=$ac_check_lib_save_LIBS
10540 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_GLU_gluLookAt" >&5
10541 $as_echo "$ac_cv_lib_GLU_gluLookAt" >&6; }
10542 if test "x$ac_cv_lib_GLU_gluLookAt" = xyes
; then :
10546 if test "x$ac_cv_lib_GLU_gluLookAt" != xyes
; then :
10547 case "x$with_glu" in
10548 x
) as_fn_append wine_notices
"|libGLU ${notice_platform}development files not found, GLU won't be supported." ;;
10550 *) as_fn_error $?
"libGLU ${notice_platform}development files not found, GLU won't be supported.
10551 This is an error since --with-glu was requested." "$LINENO" 5 ;;
10556 if test "x$with_osmesa" != "xno"
10558 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lOSMesa" >&5
10559 $as_echo_n "checking for -lOSMesa... " >&6; }
10560 if ${ac_cv_lib_soname_OSMesa+:} false
; then :
10561 $as_echo_n "(cached) " >&6
10563 ac_check_soname_save_LIBS
=$LIBS
10564 LIBS
="-lOSMesa $X_LIBS -lm $X_EXTRA_LIBS $LIBS"
10565 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10566 /* end confdefs.h. */
10568 /* Override any GCC internal prototype to avoid an error.
10569 Use char because int might match the return type of a GCC
10570 builtin and then its argument prototype would still apply. */
10583 if ac_fn_c_try_link
"$LINENO"; then :
10585 dll
) ac_cv_lib_soname_OSMesa
=`$ac_cv_path_LDD conftest.exe | grep "OSMesa" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10586 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'` ;;
10587 *) ac_cv_lib_soname_OSMesa
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libOSMesa\\.$LIBEXT" | sed -e "s/^.*\\[\\(libOSMesa\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10588 if ${ac_cv_lib_soname_OSMesa:+false} :; then :
10589 ac_cv_lib_soname_OSMesa
=`$LDD conftest$ac_exeext | grep "libOSMesa\\.$LIBEXT" | sed -e "s/^.*\(libOSMesa\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10593 rm -f core conftest.err conftest.
$ac_objext \
10594 conftest
$ac_exeext conftest.
$ac_ext
10595 LIBS
=$ac_check_soname_save_LIBS
10597 if ${ac_cv_lib_soname_OSMesa:+false} :; then :
10598 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10599 $as_echo "not found" >&6; }
10602 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_OSMesa" >&5
10603 $as_echo "$ac_cv_lib_soname_OSMesa" >&6; }
10605 cat >>confdefs.h
<<_ACEOF
10606 #define SONAME_LIBOSMESA "$ac_cv_lib_soname_OSMesa"
10611 if test "x$ac_cv_lib_soname_OSMesa" = "x"; then :
10612 case "x$with_osmesa" in
10613 x
) as_fn_append wine_notices
"|libOSMesa ${notice_platform}development files not found (or too old), OpenGL rendering in bitmaps won't be supported." ;;
10615 *) as_fn_error $?
"libOSMesa ${notice_platform}development files not found (or too old), OpenGL rendering in bitmaps won't be supported.
10616 This is an error since --with-osmesa was requested." "$LINENO" 5 ;;
10621 if test -n "$opengl_msg"; then :
10622 case "x$with_opengl" in
10623 x
) as_fn_append wine_warnings
"|$opengl_msg
10624 OpenGL and Direct3D won't be supported." ;;
10626 *) as_fn_error $?
"$opengl_msg
10627 OpenGL and Direct3D won't be supported.
10628 This is an error since --with-opengl was requested." "$LINENO" 5 ;;
10632 CPPFLAGS
="$ac_save_CPPFLAGS"
10636 enable_winex11_drv
=${enable_winex11_drv:-no}
10638 if test "x$X_LIBS" = "x"; then :
10641 *) as_fn_error $?
"X ${notice_platform}development files not found. Wine will be built
10642 without X support, which probably isn't what you want. You will need
10643 to install ${notice_platform}development packages of Xlib/Xfree86 at the very least.
10644 Use the --without-x option if you really want this." "$LINENO" 5 ;;
10648 test "x$ac_cv_lib_GLU_gluLookAt" != xyes
&& enable_glu32
=${enable_glu32:-no}
10650 if test "$ac_cv_header_CL_cl_h" = "yes"
10652 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for clGetPlatformInfo in -lOpenCL" >&5
10653 $as_echo_n "checking for clGetPlatformInfo in -lOpenCL... " >&6; }
10654 if ${ac_cv_lib_OpenCL_clGetPlatformInfo+:} false
; then :
10655 $as_echo_n "(cached) " >&6
10657 ac_check_lib_save_LIBS
=$LIBS
10658 LIBS
="-lOpenCL $LIBS"
10659 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10660 /* end confdefs.h. */
10662 /* Override any GCC internal prototype to avoid an error.
10663 Use char because int might match the return type of a GCC
10664 builtin and then its argument prototype would still apply. */
10668 char clGetPlatformInfo ();
10672 return clGetPlatformInfo ();
10677 if ac_fn_c_try_link
"$LINENO"; then :
10678 ac_cv_lib_OpenCL_clGetPlatformInfo
=yes
10680 ac_cv_lib_OpenCL_clGetPlatformInfo
=no
10682 rm -f core conftest.err conftest.
$ac_objext \
10683 conftest
$ac_exeext conftest.
$ac_ext
10684 LIBS
=$ac_check_lib_save_LIBS
10686 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_OpenCL_clGetPlatformInfo" >&5
10687 $as_echo "$ac_cv_lib_OpenCL_clGetPlatformInfo" >&6; }
10688 if test "x$ac_cv_lib_OpenCL_clGetPlatformInfo" = xyes
; then :
10689 OPENCL_LIBS
="-lOpenCL"
10694 if test "x$ac_cv_lib_OpenCL_clGetPlatformInfo" != xyes
; then :
10695 case "x$with_opencl" in
10696 x
) as_fn_append wine_notices
"|OpenCL ${notice_platform}development files not found, OpenCL won't be supported." ;;
10698 *) as_fn_error $?
"OpenCL ${notice_platform}development files not found, OpenCL won't be supported.
10699 This is an error since --with-opencl was requested." "$LINENO" 5 ;;
10702 test "x$ac_cv_lib_OpenCL_clGetPlatformInfo" != xyes
&& enable_opencl
=${enable_opencl:-no}
10704 if test "$ac_cv_header_pcap_pcap_h" = "yes"
10706 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pcap_create in -lpcap" >&5
10707 $as_echo_n "checking for pcap_create in -lpcap... " >&6; }
10708 if ${ac_cv_lib_pcap_pcap_create+:} false
; then :
10709 $as_echo_n "(cached) " >&6
10711 ac_check_lib_save_LIBS
=$LIBS
10712 LIBS
="-lpcap $LIBS"
10713 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10714 /* end confdefs.h. */
10716 /* Override any GCC internal prototype to avoid an error.
10717 Use char because int might match the return type of a GCC
10718 builtin and then its argument prototype would still apply. */
10722 char pcap_create ();
10726 return pcap_create ();
10731 if ac_fn_c_try_link
"$LINENO"; then :
10732 ac_cv_lib_pcap_pcap_create
=yes
10734 ac_cv_lib_pcap_pcap_create
=no
10736 rm -f core conftest.err conftest.
$ac_objext \
10737 conftest
$ac_exeext conftest.
$ac_ext
10738 LIBS
=$ac_check_lib_save_LIBS
10740 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_pcap_pcap_create" >&5
10741 $as_echo "$ac_cv_lib_pcap_pcap_create" >&6; }
10742 if test "x$ac_cv_lib_pcap_pcap_create" = xyes
; then :
10748 if test "x$ac_cv_lib_pcap_pcap_create" != xyes
; then :
10749 case "x$with_pcap" in
10750 x
) as_fn_append wine_notices
"|pcap ${notice_platform}development files not found, wpcap won't be supported." ;;
10752 *) as_fn_error $?
"pcap ${notice_platform}development files not found, wpcap won't be supported.
10753 This is an error since --with-pcap was requested." "$LINENO" 5 ;;
10756 test "x$ac_cv_lib_pcap_pcap_create" != xyes
&& enable_wpcap
=${enable_wpcap:-no}
10759 if test "x$with_xml" != "xno"
10761 if ${XML2_CFLAGS:+false} :; then :
10762 if ${PKG_CONFIG+:} false
; then :
10763 XML2_CFLAGS
=`$PKG_CONFIG --cflags libxml-2.0 2>/dev/null`
10766 test "$cross_compiling" = yes || XML2_CFLAGS
=${XML2_CFLAGS:-`xml2-config --cflags 2>/dev/null`}
10767 if ${XML2_LIBS:+false} :; then :
10768 if ${PKG_CONFIG+:} false
; then :
10769 XML2_LIBS
=`$PKG_CONFIG --libs libxml-2.0 2>/dev/null`
10772 test "$cross_compiling" = yes || XML2_LIBS
=${XML2_LIBS:-`xml2-config --libs 2>/dev/null`}
10773 XML2_LIBS
=${XML2_LIBS:-"-lxml2"}
10774 $as_echo "$as_me:${as_lineno-$LINENO}: libxml-2.0 cflags: $XML2_CFLAGS" >&5
10775 $as_echo "$as_me:${as_lineno-$LINENO}: libxml-2.0 libs: $XML2_LIBS" >&5
10776 ac_save_CPPFLAGS
=$CPPFLAGS
10777 CPPFLAGS
="$CPPFLAGS $XML2_CFLAGS"
10778 for ac_header
in libxml
/parser.h libxml
/xmlsave.h libxml
/SAX2.h
10780 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
10781 ac_fn_c_check_header_mongrel
"$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
10782 if eval test \"x\$
"$as_ac_Header"\" = x
"yes"; then :
10783 cat >>confdefs.h
<<_ACEOF
10784 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
10791 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"
10793 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlParseMemory in -lxml2" >&5
10794 $as_echo_n "checking for xmlParseMemory in -lxml2... " >&6; }
10795 if ${ac_cv_lib_xml2_xmlParseMemory+:} false
; then :
10796 $as_echo_n "(cached) " >&6
10798 ac_check_lib_save_LIBS
=$LIBS
10799 LIBS
="-lxml2 $XML2_LIBS $LIBS"
10800 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10801 /* end confdefs.h. */
10803 /* Override any GCC internal prototype to avoid an error.
10804 Use char because int might match the return type of a GCC
10805 builtin and then its argument prototype would still apply. */
10809 char xmlParseMemory ();
10813 return xmlParseMemory ();
10818 if ac_fn_c_try_link
"$LINENO"; then :
10819 ac_cv_lib_xml2_xmlParseMemory
=yes
10821 ac_cv_lib_xml2_xmlParseMemory
=no
10823 rm -f core conftest.err conftest.
$ac_objext \
10824 conftest
$ac_exeext conftest.
$ac_ext
10825 LIBS
=$ac_check_lib_save_LIBS
10827 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlParseMemory" >&5
10828 $as_echo "$ac_cv_lib_xml2_xmlParseMemory" >&6; }
10829 if test "x$ac_cv_lib_xml2_xmlParseMemory" = xyes
; then :
10831 $as_echo "#define HAVE_LIBXML2 1" >>confdefs.h
10837 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlReadMemory in -lxml2" >&5
10838 $as_echo_n "checking for xmlReadMemory in -lxml2... " >&6; }
10839 if ${ac_cv_lib_xml2_xmlReadMemory+:} false
; then :
10840 $as_echo_n "(cached) " >&6
10842 ac_check_lib_save_LIBS
=$LIBS
10843 LIBS
="-lxml2 $XML2_LIBS $LIBS"
10844 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10845 /* end confdefs.h. */
10847 /* Override any GCC internal prototype to avoid an error.
10848 Use char because int might match the return type of a GCC
10849 builtin and then its argument prototype would still apply. */
10853 char xmlReadMemory ();
10857 return xmlReadMemory ();
10862 if ac_fn_c_try_link
"$LINENO"; then :
10863 ac_cv_lib_xml2_xmlReadMemory
=yes
10865 ac_cv_lib_xml2_xmlReadMemory
=no
10867 rm -f core conftest.err conftest.
$ac_objext \
10868 conftest
$ac_exeext conftest.
$ac_ext
10869 LIBS
=$ac_check_lib_save_LIBS
10871 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlReadMemory" >&5
10872 $as_echo "$ac_cv_lib_xml2_xmlReadMemory" >&6; }
10873 if test "x$ac_cv_lib_xml2_xmlReadMemory" = xyes
; then :
10875 $as_echo "#define HAVE_XMLREADMEMORY 1" >>confdefs.h
10879 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlNewDocPI in -lxml2" >&5
10880 $as_echo_n "checking for xmlNewDocPI in -lxml2... " >&6; }
10881 if ${ac_cv_lib_xml2_xmlNewDocPI+:} false
; then :
10882 $as_echo_n "(cached) " >&6
10884 ac_check_lib_save_LIBS
=$LIBS
10885 LIBS
="-lxml2 $XML2_LIBS $LIBS"
10886 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10887 /* end confdefs.h. */
10889 /* Override any GCC internal prototype to avoid an error.
10890 Use char because int might match the return type of a GCC
10891 builtin and then its argument prototype would still apply. */
10895 char xmlNewDocPI ();
10899 return xmlNewDocPI ();
10904 if ac_fn_c_try_link
"$LINENO"; then :
10905 ac_cv_lib_xml2_xmlNewDocPI
=yes
10907 ac_cv_lib_xml2_xmlNewDocPI
=no
10909 rm -f core conftest.err conftest.
$ac_objext \
10910 conftest
$ac_exeext conftest.
$ac_ext
10911 LIBS
=$ac_check_lib_save_LIBS
10913 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlNewDocPI" >&5
10914 $as_echo "$ac_cv_lib_xml2_xmlNewDocPI" >&6; }
10915 if test "x$ac_cv_lib_xml2_xmlNewDocPI" = xyes
; then :
10917 $as_echo "#define HAVE_XMLNEWDOCPI 1" >>confdefs.h
10921 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlSchemaSetParserStructuredErrors in -lxml2" >&5
10922 $as_echo_n "checking for xmlSchemaSetParserStructuredErrors in -lxml2... " >&6; }
10923 if ${ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors+:} false
; then :
10924 $as_echo_n "(cached) " >&6
10926 ac_check_lib_save_LIBS
=$LIBS
10927 LIBS
="-lxml2 $XML2_LIBS $LIBS"
10928 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10929 /* end confdefs.h. */
10931 /* Override any GCC internal prototype to avoid an error.
10932 Use char because int might match the return type of a GCC
10933 builtin and then its argument prototype would still apply. */
10937 char xmlSchemaSetParserStructuredErrors ();
10941 return xmlSchemaSetParserStructuredErrors ();
10946 if ac_fn_c_try_link
"$LINENO"; then :
10947 ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors
=yes
10949 ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors
=no
10951 rm -f core conftest.err conftest.
$ac_objext \
10952 conftest
$ac_exeext conftest.
$ac_ext
10953 LIBS
=$ac_check_lib_save_LIBS
10955 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors" >&5
10956 $as_echo "$ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors" >&6; }
10957 if test "x$ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors" = xyes
; then :
10959 $as_echo "#define HAVE_XMLSCHEMASSETPARSERSTRUCTUREDERRORS 1" >>confdefs.h
10963 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlSchemaSetValidStructuredErrors in -lxml2" >&5
10964 $as_echo_n "checking for xmlSchemaSetValidStructuredErrors in -lxml2... " >&6; }
10965 if ${ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors+:} false
; then :
10966 $as_echo_n "(cached) " >&6
10968 ac_check_lib_save_LIBS
=$LIBS
10969 LIBS
="-lxml2 $XML2_LIBS $LIBS"
10970 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10971 /* end confdefs.h. */
10973 /* Override any GCC internal prototype to avoid an error.
10974 Use char because int might match the return type of a GCC
10975 builtin and then its argument prototype would still apply. */
10979 char xmlSchemaSetValidStructuredErrors ();
10983 return xmlSchemaSetValidStructuredErrors ();
10988 if ac_fn_c_try_link
"$LINENO"; then :
10989 ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors
=yes
10991 ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors
=no
10993 rm -f core conftest.err conftest.
$ac_objext \
10994 conftest
$ac_exeext conftest.
$ac_ext
10995 LIBS
=$ac_check_lib_save_LIBS
10997 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors" >&5
10998 $as_echo "$ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors" >&6; }
10999 if test "x$ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors" = xyes
; then :
11001 $as_echo "#define HAVE_XMLSCHEMASSETVALIDSTRUCTUREDERRORS 1" >>confdefs.h
11005 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlFirstElementChild in -lxml2" >&5
11006 $as_echo_n "checking for xmlFirstElementChild in -lxml2... " >&6; }
11007 if ${ac_cv_lib_xml2_xmlFirstElementChild+:} false
; then :
11008 $as_echo_n "(cached) " >&6
11010 ac_check_lib_save_LIBS
=$LIBS
11011 LIBS
="-lxml2 $XML2_LIBS $LIBS"
11012 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11013 /* end confdefs.h. */
11015 /* Override any GCC internal prototype to avoid an error.
11016 Use char because int might match the return type of a GCC
11017 builtin and then its argument prototype would still apply. */
11021 char xmlFirstElementChild ();
11025 return xmlFirstElementChild ();
11030 if ac_fn_c_try_link
"$LINENO"; then :
11031 ac_cv_lib_xml2_xmlFirstElementChild
=yes
11033 ac_cv_lib_xml2_xmlFirstElementChild
=no
11035 rm -f core conftest.err conftest.
$ac_objext \
11036 conftest
$ac_exeext conftest.
$ac_ext
11037 LIBS
=$ac_check_lib_save_LIBS
11039 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlFirstElementChild" >&5
11040 $as_echo "$ac_cv_lib_xml2_xmlFirstElementChild" >&6; }
11041 if test "x$ac_cv_lib_xml2_xmlFirstElementChild" = xyes
; then :
11043 $as_echo "#define HAVE_XMLFIRSTELEMENTCHILD 1" >>confdefs.h
11047 ac_fn_c_check_type
"$LINENO" "xmlDocProperties" "ac_cv_type_xmlDocProperties" "#include <libxml/tree.h>
11049 if test "x$ac_cv_type_xmlDocProperties" = xyes
; then :
11051 $as_echo "#define HAVE_XMLDOC_PROPERTIES 1" >>confdefs.h
11059 CPPFLAGS
=$ac_save_CPPFLAGS
11060 test -z "$XML2_CFLAGS" || XML2_CFLAGS
=`echo " $XML2_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
11061 test -z "$XML2_LIBS" || XML2_LIBS
=`echo " $XML2_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
11064 if test "$ac_cv_lib_xml2_xmlParseMemory" != "yes"; then :
11065 case "x$with_xml" in
11066 x
) as_fn_append wine_warnings
"|libxml2 ${notice_platform}development files not found (or too old), XML won't be supported." ;;
11068 *) as_fn_error $?
"libxml2 ${notice_platform}development files not found (or too old), XML won't be supported.
11069 This is an error since --with-xml was requested." "$LINENO" 5 ;;
11073 if test "x$with_xslt" != "xno"
11075 if ${XSLT_CFLAGS:+false} :; then :
11076 if ${PKG_CONFIG+:} false
; then :
11077 XSLT_CFLAGS
=`$PKG_CONFIG --cflags libxslt 2>/dev/null`
11080 test "$cross_compiling" = yes || XSLT_CFLAGS
=${XSLT_CFLAGS:-`xslt-config --cflags 2>/dev/null`}
11081 if ${XSLT_LIBS:+false} :; then :
11082 if ${PKG_CONFIG+:} false
; then :
11083 XSLT_LIBS
=`$PKG_CONFIG --libs libxslt 2>/dev/null`
11086 test "$cross_compiling" = yes || XSLT_LIBS
=${XSLT_LIBS:-`xslt-config --libs 2>/dev/null`}
11087 XSLT_LIBS
=${XSLT_LIBS:-"-lxml2"}
11088 $as_echo "$as_me:${as_lineno-$LINENO}: libxslt cflags: $XSLT_CFLAGS" >&5
11089 $as_echo "$as_me:${as_lineno-$LINENO}: libxslt libs: $XSLT_LIBS" >&5
11090 ac_save_CPPFLAGS
=$CPPFLAGS
11091 CPPFLAGS
="$CPPFLAGS $XSLT_CFLAGS"
11092 for ac_header
in libxslt
/pattern.h libxslt
/transform.h
11094 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
11095 ac_fn_c_check_header_compile
"$LINENO" "$ac_header" "$as_ac_Header" "#ifdef HAVE_LIBXSLT_PATTERN_H
11096 # include <libxslt/pattern.h>
11099 if eval test \"x\$
"$as_ac_Header"\" = x
"yes"; then :
11100 cat >>confdefs.h
<<_ACEOF
11101 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
11108 if test "$ac_cv_header_libxslt_transform_h" = "yes"
11110 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lxslt" >&5
11111 $as_echo_n "checking for -lxslt... " >&6; }
11112 if ${ac_cv_lib_soname_xslt+:} false
; then :
11113 $as_echo_n "(cached) " >&6
11115 ac_check_soname_save_LIBS
=$LIBS
11116 LIBS
="-lxslt $XSLT_LIBS $LIBS"
11117 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11118 /* end confdefs.h. */
11120 /* Override any GCC internal prototype to avoid an error.
11121 Use char because int might match the return type of a GCC
11122 builtin and then its argument prototype would still apply. */
11126 char xsltCompilePattern ();
11130 return xsltCompilePattern ();
11135 if ac_fn_c_try_link
"$LINENO"; then :
11137 dll
) ac_cv_lib_soname_xslt
=`$ac_cv_path_LDD conftest.exe | grep "xslt" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11138 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'` ;;
11139 *) ac_cv_lib_soname_xslt
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libxslt\\.$LIBEXT" | sed -e "s/^.*\\[\\(libxslt\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
11140 if ${ac_cv_lib_soname_xslt:+false} :; then :
11141 ac_cv_lib_soname_xslt
=`$LDD conftest$ac_exeext | grep "libxslt\\.$LIBEXT" | sed -e "s/^.*\(libxslt\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11145 rm -f core conftest.err conftest.
$ac_objext \
11146 conftest
$ac_exeext conftest.
$ac_ext
11147 LIBS
=$ac_check_soname_save_LIBS
11149 if ${ac_cv_lib_soname_xslt:+false} :; then :
11150 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11151 $as_echo "not found" >&6; }
11154 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_xslt" >&5
11155 $as_echo "$ac_cv_lib_soname_xslt" >&6; }
11157 cat >>confdefs.h
<<_ACEOF
11158 #define SONAME_LIBXSLT "$ac_cv_lib_soname_xslt"
11166 CPPFLAGS
=$ac_save_CPPFLAGS
11167 test -z "$XSLT_CFLAGS" || XSLT_CFLAGS
=`echo " $XSLT_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
11168 test -z "$XSLT_LIBS" || XSLT_LIBS
=`echo " $XSLT_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
11171 if test "x$ac_cv_lib_soname_xslt" = "x"; then :
11172 case "x$with_xslt" in
11173 x
) as_fn_append wine_warnings
"|libxslt ${notice_platform}development files not found, xslt won't be supported." ;;
11175 *) as_fn_error $?
"libxslt ${notice_platform}development files not found, xslt won't be supported.
11176 This is an error since --with-xslt was requested." "$LINENO" 5 ;;
11180 if test "x$with_dbus" != "xno"
11182 if ${DBUS_CFLAGS:+false} :; then :
11183 if ${PKG_CONFIG+:} false
; then :
11184 DBUS_CFLAGS
=`$PKG_CONFIG --cflags dbus-1 2>/dev/null`
11188 if ${DBUS_LIBS:+false} :; then :
11189 if ${PKG_CONFIG+:} false
; then :
11190 DBUS_LIBS
=`$PKG_CONFIG --libs dbus-1 2>/dev/null`
11195 $as_echo "$as_me:${as_lineno-$LINENO}: dbus-1 cflags: $DBUS_CFLAGS" >&5
11196 $as_echo "$as_me:${as_lineno-$LINENO}: dbus-1 libs: $DBUS_LIBS" >&5
11197 ac_save_CPPFLAGS
=$CPPFLAGS
11198 CPPFLAGS
="$CPPFLAGS $DBUS_CFLAGS"
11199 ac_fn_c_check_header_mongrel
"$LINENO" "dbus/dbus.h" "ac_cv_header_dbus_dbus_h" "$ac_includes_default"
11200 if test "x$ac_cv_header_dbus_dbus_h" = xyes
; then :
11201 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -ldbus-1" >&5
11202 $as_echo_n "checking for -ldbus-1... " >&6; }
11203 if ${ac_cv_lib_soname_dbus_1+:} false
; then :
11204 $as_echo_n "(cached) " >&6
11206 ac_check_soname_save_LIBS
=$LIBS
11207 LIBS
="-ldbus-1 $DBUS_LIBS $LIBS"
11208 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11209 /* end confdefs.h. */
11211 /* Override any GCC internal prototype to avoid an error.
11212 Use char because int might match the return type of a GCC
11213 builtin and then its argument prototype would still apply. */
11217 char dbus_connection_close ();
11221 return dbus_connection_close ();
11226 if ac_fn_c_try_link
"$LINENO"; then :
11228 dll
) ac_cv_lib_soname_dbus_1
=`$ac_cv_path_LDD conftest.exe | grep "dbus-1" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11229 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'` ;;
11230 *) 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'`
11231 if ${ac_cv_lib_soname_dbus_1:+false} :; then :
11232 ac_cv_lib_soname_dbus_1
=`$LDD conftest$ac_exeext | grep "libdbus-1\\.$LIBEXT" | sed -e "s/^.*\(libdbus-1\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11236 rm -f core conftest.err conftest.
$ac_objext \
11237 conftest
$ac_exeext conftest.
$ac_ext
11238 LIBS
=$ac_check_soname_save_LIBS
11240 if ${ac_cv_lib_soname_dbus_1:+false} :; then :
11241 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11242 $as_echo "not found" >&6; }
11245 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_dbus_1" >&5
11246 $as_echo "$ac_cv_lib_soname_dbus_1" >&6; }
11248 cat >>confdefs.h
<<_ACEOF
11249 #define SONAME_LIBDBUS_1 "$ac_cv_lib_soname_dbus_1"
11259 CPPFLAGS
=$ac_save_CPPFLAGS
11260 test -z "$DBUS_CFLAGS" || DBUS_CFLAGS
=`echo " $DBUS_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
11261 test -z "$DBUS_LIBS" || DBUS_LIBS
=`echo " $DBUS_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
11264 if test "x$ac_cv_lib_soname_dbus_1" = "x" -a \
11265 "x$ac_cv_header_DiskArbitration_DiskArbitration_h" != "xyes"; then :
11266 case "x$with_dbus" in
11267 x
) as_fn_append wine_notices
"|libdbus ${notice_platform}development files not found, no dynamic device support." ;;
11269 *) as_fn_error $?
"libdbus ${notice_platform}development files not found, no dynamic device support.
11270 This is an error since --with-dbus was requested." "$LINENO" 5 ;;
11274 if test "x$with_hal" != "xno" -a "x$ac_cv_lib_soname_dbus_1" != x
11276 if ${HAL_CFLAGS:+false} :; then :
11277 if ${PKG_CONFIG+:} false
; then :
11278 HAL_CFLAGS
=`$PKG_CONFIG --cflags hal 2>/dev/null`
11282 if ${HAL_LIBS:+false} :; then :
11283 if ${PKG_CONFIG+:} false
; then :
11284 HAL_LIBS
=`$PKG_CONFIG --libs hal 2>/dev/null`
11288 HAL_LIBS
=${HAL_LIBS:-"-ldbus-1"}
11289 $as_echo "$as_me:${as_lineno-$LINENO}: hal cflags: $HAL_CFLAGS" >&5
11290 $as_echo "$as_me:${as_lineno-$LINENO}: hal libs: $HAL_LIBS" >&5
11291 ac_save_CPPFLAGS
=$CPPFLAGS
11292 CPPFLAGS
="$CPPFLAGS $HAL_CFLAGS"
11293 ac_fn_c_check_header_mongrel
"$LINENO" "hal/libhal.h" "ac_cv_header_hal_libhal_h" "$ac_includes_default"
11294 if test "x$ac_cv_header_hal_libhal_h" = xyes
; then :
11295 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lhal" >&5
11296 $as_echo_n "checking for -lhal... " >&6; }
11297 if ${ac_cv_lib_soname_hal+:} false
; then :
11298 $as_echo_n "(cached) " >&6
11300 ac_check_soname_save_LIBS
=$LIBS
11301 LIBS
="-lhal $HAL_LIBS $LIBS"
11302 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11303 /* end confdefs.h. */
11305 /* Override any GCC internal prototype to avoid an error.
11306 Use char because int might match the return type of a GCC
11307 builtin and then its argument prototype would still apply. */
11311 char libhal_ctx_new ();
11315 return libhal_ctx_new ();
11320 if ac_fn_c_try_link
"$LINENO"; then :
11322 dll
) ac_cv_lib_soname_hal
=`$ac_cv_path_LDD conftest.exe | grep "hal" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11323 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'` ;;
11324 *) ac_cv_lib_soname_hal
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libhal\\.$LIBEXT" | sed -e "s/^.*\\[\\(libhal\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
11325 if ${ac_cv_lib_soname_hal:+false} :; then :
11326 ac_cv_lib_soname_hal
=`$LDD conftest$ac_exeext | grep "libhal\\.$LIBEXT" | sed -e "s/^.*\(libhal\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11330 rm -f core conftest.err conftest.
$ac_objext \
11331 conftest
$ac_exeext conftest.
$ac_ext
11332 LIBS
=$ac_check_soname_save_LIBS
11334 if ${ac_cv_lib_soname_hal:+false} :; then :
11335 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11336 $as_echo "not found" >&6; }
11339 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_hal" >&5
11340 $as_echo "$ac_cv_lib_soname_hal" >&6; }
11342 cat >>confdefs.h
<<_ACEOF
11343 #define SONAME_LIBHAL "$ac_cv_lib_soname_hal"
11353 CPPFLAGS
=$ac_save_CPPFLAGS
11354 test -z "$HAL_CFLAGS" || HAL_CFLAGS
=`echo " $HAL_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
11355 test -z "$HAL_LIBS" || HAL_LIBS
=`echo " $HAL_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
11357 if test "x$ac_cv_lib_soname_hal" = "x" -a \
11358 "x$ac_cv_header_DiskArbitration_DiskArbitration_h" != "xyes"; then :
11359 case "x$with_hal" in
11360 x
) as_fn_append wine_notices
"|libhal ${notice_platform}development files not found, no legacy dynamic device support." ;;
11362 *) as_fn_error $?
"libhal ${notice_platform}development files not found, no legacy dynamic device support.
11363 This is an error since --with-hal was requested." "$LINENO" 5 ;;
11368 if test "x$with_gnutls" != "xno"
11370 if ${GNUTLS_CFLAGS:+false} :; then :
11371 if ${PKG_CONFIG+:} false
; then :
11372 GNUTLS_CFLAGS
=`$PKG_CONFIG --cflags gnutls 2>/dev/null`
11376 if ${GNUTLS_LIBS:+false} :; then :
11377 if ${PKG_CONFIG+:} false
; then :
11378 GNUTLS_LIBS
=`$PKG_CONFIG --libs gnutls 2>/dev/null`
11383 $as_echo "$as_me:${as_lineno-$LINENO}: gnutls cflags: $GNUTLS_CFLAGS" >&5
11384 $as_echo "$as_me:${as_lineno-$LINENO}: gnutls libs: $GNUTLS_LIBS" >&5
11385 ac_save_CPPFLAGS
=$CPPFLAGS
11386 CPPFLAGS
="$CPPFLAGS $GNUTLS_CFLAGS"
11387 ac_fn_c_check_header_mongrel
"$LINENO" "gnutls/gnutls.h" "ac_cv_header_gnutls_gnutls_h" "$ac_includes_default"
11388 if test "x$ac_cv_header_gnutls_gnutls_h" = xyes
; then :
11389 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11390 /* end confdefs.h. */
11391 #include <gnutls/gnutls.h>
11392 #include <gnutls/crypto.h>
11396 static typeof(gnutls_mac_get_key_size) *func; if (func) return 0;
11401 if ac_fn_c_try_compile
"$LINENO"; then :
11402 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lgnutls" >&5
11403 $as_echo_n "checking for -lgnutls... " >&6; }
11404 if ${ac_cv_lib_soname_gnutls+:} false
; then :
11405 $as_echo_n "(cached) " >&6
11407 ac_check_soname_save_LIBS
=$LIBS
11408 LIBS
="-lgnutls $GNUTLS_LIBS $LIBS"
11409 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11410 /* end confdefs.h. */
11412 /* Override any GCC internal prototype to avoid an error.
11413 Use char because int might match the return type of a GCC
11414 builtin and then its argument prototype would still apply. */
11418 char gnutls_global_init ();
11422 return gnutls_global_init ();
11427 if ac_fn_c_try_link
"$LINENO"; then :
11429 dll
) ac_cv_lib_soname_gnutls
=`$ac_cv_path_LDD conftest.exe | grep "gnutls" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11430 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'` ;;
11431 *) 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'`
11432 if ${ac_cv_lib_soname_gnutls:+false} :; then :
11433 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'`
11437 rm -f core conftest.err conftest.
$ac_objext \
11438 conftest
$ac_exeext conftest.
$ac_ext
11439 LIBS
=$ac_check_soname_save_LIBS
11441 if ${ac_cv_lib_soname_gnutls:+false} :; then :
11442 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11443 $as_echo "not found" >&6; }
11446 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_gnutls" >&5
11447 $as_echo "$ac_cv_lib_soname_gnutls" >&6; }
11449 cat >>confdefs.h
<<_ACEOF
11450 #define SONAME_LIBGNUTLS "$ac_cv_lib_soname_gnutls"
11456 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
11462 CPPFLAGS
=$ac_save_CPPFLAGS
11463 test -z "$GNUTLS_CFLAGS" || GNUTLS_CFLAGS
=`echo " $GNUTLS_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
11464 test -z "$GNUTLS_LIBS" || GNUTLS_LIBS
=`echo " $GNUTLS_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
11467 if test "x$ac_cv_lib_soname_gnutls" = "x"; then :
11468 case "x$with_gnutls" in
11469 x
) as_fn_append wine_warnings
"|libgnutls ${notice_platform}development files not found, no schannel support." ;;
11471 *) as_fn_error $?
"libgnutls ${notice_platform}development files not found, no schannel support.
11472 This is an error since --with-gnutls was requested." "$LINENO" 5 ;;
11477 if test "$ac_cv_header_ncurses_h" = "yes"
11479 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lncurses" >&5
11480 $as_echo_n "checking for -lncurses... " >&6; }
11481 if ${ac_cv_lib_soname_ncurses+:} false
; then :
11482 $as_echo_n "(cached) " >&6
11484 ac_check_soname_save_LIBS
=$LIBS
11485 LIBS
="-lncurses $LIBS"
11486 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11487 /* end confdefs.h. */
11489 /* Override any GCC internal prototype to avoid an error.
11490 Use char because int might match the return type of a GCC
11491 builtin and then its argument prototype would still apply. */
11504 if ac_fn_c_try_link
"$LINENO"; then :
11506 dll
) ac_cv_lib_soname_ncurses
=`$ac_cv_path_LDD conftest.exe | grep "ncurses" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11507 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'` ;;
11508 *) 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'`
11509 if ${ac_cv_lib_soname_ncurses:+false} :; then :
11510 ac_cv_lib_soname_ncurses
=`$LDD conftest$ac_exeext | grep "libncursesw\\{0,1\\}\\.$LIBEXT" | sed -e "s/^.*\(libncursesw\\{0,1\\}\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11514 rm -f core conftest.err conftest.
$ac_objext \
11515 conftest
$ac_exeext conftest.
$ac_ext
11516 LIBS
=$ac_check_soname_save_LIBS
11518 if ${ac_cv_lib_soname_ncurses:+false} :; then :
11519 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11520 $as_echo "not found" >&6; }
11523 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_ncurses" >&5
11524 $as_echo "$ac_cv_lib_soname_ncurses" >&6; }
11526 cat >>confdefs.h
<<_ACEOF
11527 #define SONAME_LIBNCURSES "$ac_cv_lib_soname_ncurses"
11530 CURSES_LIBS
="-lncurses"
11532 elif test "$ac_cv_header_curses_h" = "yes"
11534 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lcurses" >&5
11535 $as_echo_n "checking for -lcurses... " >&6; }
11536 if ${ac_cv_lib_soname_curses+:} false
; then :
11537 $as_echo_n "(cached) " >&6
11539 ac_check_soname_save_LIBS
=$LIBS
11540 LIBS
="-lcurses $LIBS"
11541 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11542 /* end confdefs.h. */
11544 /* Override any GCC internal prototype to avoid an error.
11545 Use char because int might match the return type of a GCC
11546 builtin and then its argument prototype would still apply. */
11559 if ac_fn_c_try_link
"$LINENO"; then :
11561 dll
) ac_cv_lib_soname_curses
=`$ac_cv_path_LDD conftest.exe | grep "curses" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11562 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'` ;;
11563 *) ac_cv_lib_soname_curses
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libcurses\\.$LIBEXT" | sed -e "s/^.*\\[\\(libcurses\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
11564 if ${ac_cv_lib_soname_curses:+false} :; then :
11565 ac_cv_lib_soname_curses
=`$LDD conftest$ac_exeext | grep "libcurses\\.$LIBEXT" | sed -e "s/^.*\(libcurses\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11569 rm -f core conftest.err conftest.
$ac_objext \
11570 conftest
$ac_exeext conftest.
$ac_ext
11571 LIBS
=$ac_check_soname_save_LIBS
11573 if ${ac_cv_lib_soname_curses:+false} :; then :
11574 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11575 $as_echo "not found" >&6; }
11578 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_curses" >&5
11579 $as_echo "$ac_cv_lib_soname_curses" >&6; }
11581 cat >>confdefs.h
<<_ACEOF
11582 #define SONAME_LIBCURSES "$ac_cv_lib_soname_curses"
11585 CURSES_LIBS
="-lcurses"
11588 ac_save_LIBS
="$LIBS"
11589 LIBS
="$LIBS $CURSES_LIBS"
11590 for ac_func
in mousemask
11592 ac_fn_c_check_func
"$LINENO" "mousemask" "ac_cv_func_mousemask"
11593 if test "x$ac_cv_func_mousemask" = xyes
; then :
11594 cat >>confdefs.h
<<_ACEOF
11595 #define HAVE_MOUSEMASK 1
11601 LIBS
="$ac_save_LIBS"
11602 if test "x$ac_cv_lib_soname_curses$ac_cv_lib_soname_ncurses" = "x"; then :
11603 case "x$with_curses" in
11604 x
) as_fn_append wine_notices
"|lib(n)curses ${notice_platform}development files not found, curses won't be supported." ;;
11606 *) as_fn_error $?
"lib(n)curses ${notice_platform}development files not found, curses won't be supported.
11607 This is an error since --with-curses was requested." "$LINENO" 5 ;;
11611 if test "x$with_sane" != "xno"
11613 if ${SANE_CFLAGS:+false} :; then :
11614 if ${PKG_CONFIG+:} false
; then :
11615 SANE_CFLAGS
=`$PKG_CONFIG --cflags libsane 2>/dev/null`
11618 test "$cross_compiling" = yes || SANE_CFLAGS
=${SANE_CFLAGS:-`sane-config --cflags 2>/dev/null`}
11619 if ${SANE_LIBS:+false} :; then :
11620 if ${PKG_CONFIG+:} false
; then :
11621 SANE_LIBS
=`$PKG_CONFIG --libs libsane 2>/dev/null`
11624 test "$cross_compiling" = yes || SANE_LIBS
=${SANE_LIBS:-`sane-config --ldflags 2>/dev/null`}
11626 $as_echo "$as_me:${as_lineno-$LINENO}: libsane cflags: $SANE_CFLAGS" >&5
11627 $as_echo "$as_me:${as_lineno-$LINENO}: libsane libs: $SANE_LIBS" >&5
11628 ac_save_CPPFLAGS
=$CPPFLAGS
11629 CPPFLAGS
="$CPPFLAGS $SANE_CFLAGS"
11630 ac_fn_c_check_header_mongrel
"$LINENO" "sane/sane.h" "ac_cv_header_sane_sane_h" "$ac_includes_default"
11631 if test "x$ac_cv_header_sane_sane_h" = xyes
; then :
11632 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lsane" >&5
11633 $as_echo_n "checking for -lsane... " >&6; }
11634 if ${ac_cv_lib_soname_sane+:} false
; then :
11635 $as_echo_n "(cached) " >&6
11637 ac_check_soname_save_LIBS
=$LIBS
11638 LIBS
="-lsane $SANE_LIBS $LIBS"
11639 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11640 /* end confdefs.h. */
11642 /* Override any GCC internal prototype to avoid an error.
11643 Use char because int might match the return type of a GCC
11644 builtin and then its argument prototype would still apply. */
11652 return sane_init ();
11657 if ac_fn_c_try_link
"$LINENO"; then :
11659 dll
) ac_cv_lib_soname_sane
=`$ac_cv_path_LDD conftest.exe | grep "sane" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11660 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'` ;;
11661 *) ac_cv_lib_soname_sane
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libsane\\.$LIBEXT" | sed -e "s/^.*\\[\\(libsane\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
11662 if ${ac_cv_lib_soname_sane:+false} :; then :
11663 ac_cv_lib_soname_sane
=`$LDD conftest$ac_exeext | grep "libsane\\.$LIBEXT" | sed -e "s/^.*\(libsane\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11667 rm -f core conftest.err conftest.
$ac_objext \
11668 conftest
$ac_exeext conftest.
$ac_ext
11669 LIBS
=$ac_check_soname_save_LIBS
11671 if ${ac_cv_lib_soname_sane:+false} :; then :
11672 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11673 $as_echo "not found" >&6; }
11676 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_sane" >&5
11677 $as_echo "$ac_cv_lib_soname_sane" >&6; }
11679 cat >>confdefs.h
<<_ACEOF
11680 #define SONAME_LIBSANE "$ac_cv_lib_soname_sane"
11690 CPPFLAGS
=$ac_save_CPPFLAGS
11691 test -z "$SANE_CFLAGS" || SANE_CFLAGS
=`echo " $SANE_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
11692 test -z "$SANE_LIBS" || SANE_LIBS
=`echo " $SANE_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
11695 if test "x$ac_cv_lib_soname_sane" = "x"; then :
11696 case "x$with_sane" in
11697 x
) as_fn_append wine_notices
"|libsane ${notice_platform}development files not found, scanners won't be supported." ;;
11699 *) as_fn_error $?
"libsane ${notice_platform}development files not found, scanners won't be supported.
11700 This is an error since --with-sane was requested." "$LINENO" 5 ;;
11704 if test "x$with_v4l" != "xno"
11706 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lv4l1" >&5
11707 $as_echo_n "checking for -lv4l1... " >&6; }
11708 if ${ac_cv_lib_soname_v4l1+:} false
; then :
11709 $as_echo_n "(cached) " >&6
11711 ac_check_soname_save_LIBS
=$LIBS
11712 LIBS
="-lv4l1 $LIBS"
11713 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11714 /* end confdefs.h. */
11716 /* Override any GCC internal prototype to avoid an error.
11717 Use char because int might match the return type of a GCC
11718 builtin and then its argument prototype would still apply. */
11726 return v4l1_open ();
11731 if ac_fn_c_try_link
"$LINENO"; then :
11733 dll
) ac_cv_lib_soname_v4l1
=`$ac_cv_path_LDD conftest.exe | grep "v4l1" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11734 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'` ;;
11735 *) ac_cv_lib_soname_v4l1
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libv4l1\\.$LIBEXT" | sed -e "s/^.*\\[\\(libv4l1\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
11736 if ${ac_cv_lib_soname_v4l1:+false} :; then :
11737 ac_cv_lib_soname_v4l1
=`$LDD conftest$ac_exeext | grep "libv4l1\\.$LIBEXT" | sed -e "s/^.*\(libv4l1\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11741 rm -f core conftest.err conftest.
$ac_objext \
11742 conftest
$ac_exeext conftest.
$ac_ext
11743 LIBS
=$ac_check_soname_save_LIBS
11745 if ${ac_cv_lib_soname_v4l1:+false} :; then :
11746 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11747 $as_echo "not found" >&6; }
11750 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_v4l1" >&5
11751 $as_echo "$ac_cv_lib_soname_v4l1" >&6; }
11753 cat >>confdefs.h
<<_ACEOF
11754 #define SONAME_LIBV4L1 "$ac_cv_lib_soname_v4l1"
11760 if test "x$ac_cv_lib_soname_v4l1" = "x"; then :
11761 case "x$with_v4l" in
11762 x
) as_fn_append wine_notices
"|libv4l ${notice_platform}development files not found." ;;
11764 *) as_fn_error $?
"libv4l ${notice_platform}development files not found.
11765 This is an error since --with-v4l was requested." "$LINENO" 5 ;;
11769 if test "x$with_gphoto" != "xno"
11771 if ${GPHOTO2_CFLAGS:+false} :; then :
11772 if ${PKG_CONFIG+:} false
; then :
11773 GPHOTO2_CFLAGS
=`$PKG_CONFIG --cflags libgphoto2 2>/dev/null`
11776 test "$cross_compiling" = yes || GPHOTO2_CFLAGS
=${GPHOTO2_CFLAGS:-`gphoto2-config --cflags 2>/dev/null`}
11777 if ${GPHOTO2_LIBS:+false} :; then :
11778 if ${PKG_CONFIG+:} false
; then :
11779 GPHOTO2_LIBS
=`$PKG_CONFIG --libs libgphoto2 2>/dev/null`
11782 test "$cross_compiling" = yes || GPHOTO2_LIBS
=${GPHOTO2_LIBS:-`gphoto2-config --libs 2>/dev/null`}
11783 GPHOTO2_LIBS
=${GPHOTO2_LIBS:-"-lgphoto2"}
11784 $as_echo "$as_me:${as_lineno-$LINENO}: libgphoto2 cflags: $GPHOTO2_CFLAGS" >&5
11785 $as_echo "$as_me:${as_lineno-$LINENO}: libgphoto2 libs: $GPHOTO2_LIBS" >&5
11786 ac_save_CPPFLAGS
=$CPPFLAGS
11787 CPPFLAGS
="$CPPFLAGS $GPHOTO2_CFLAGS"
11788 ac_fn_c_check_header_mongrel
"$LINENO" "gphoto2-camera.h" "ac_cv_header_gphoto2_camera_h" "$ac_includes_default"
11789 if test "x$ac_cv_header_gphoto2_camera_h" = xyes
; then :
11790 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gp_camera_new in -lgphoto2" >&5
11791 $as_echo_n "checking for gp_camera_new in -lgphoto2... " >&6; }
11792 if ${ac_cv_lib_gphoto2_gp_camera_new+:} false
; then :
11793 $as_echo_n "(cached) " >&6
11795 ac_check_lib_save_LIBS
=$LIBS
11796 LIBS
="-lgphoto2 $GPHOTO2_LIBS $LIBS"
11797 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11798 /* end confdefs.h. */
11800 /* Override any GCC internal prototype to avoid an error.
11801 Use char because int might match the return type of a GCC
11802 builtin and then its argument prototype would still apply. */
11806 char gp_camera_new ();
11810 return gp_camera_new ();
11815 if ac_fn_c_try_link
"$LINENO"; then :
11816 ac_cv_lib_gphoto2_gp_camera_new
=yes
11818 ac_cv_lib_gphoto2_gp_camera_new
=no
11820 rm -f core conftest.err conftest.
$ac_objext \
11821 conftest
$ac_exeext conftest.
$ac_ext
11822 LIBS
=$ac_check_lib_save_LIBS
11824 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gphoto2_gp_camera_new" >&5
11825 $as_echo "$ac_cv_lib_gphoto2_gp_camera_new" >&6; }
11826 if test "x$ac_cv_lib_gphoto2_gp_camera_new" = xyes
; then :
11828 $as_echo "#define HAVE_GPHOTO2 1" >>confdefs.h
11831 GPHOTO2_LIBS
=""; GPHOTO2_CFLAGS
=""
11835 GPHOTO2_LIBS
=""; GPHOTO2_CFLAGS
=""
11839 CPPFLAGS
=$ac_save_CPPFLAGS
11840 test -z "$GPHOTO2_CFLAGS" || GPHOTO2_CFLAGS
=`echo " $GPHOTO2_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
11841 test -z "$GPHOTO2_LIBS" || GPHOTO2_LIBS
=`echo " $GPHOTO2_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
11843 if ${GPHOTO2_PORT_CFLAGS:+false} :; then :
11844 if ${PKG_CONFIG+:} false
; then :
11845 GPHOTO2_PORT_CFLAGS
=`$PKG_CONFIG --cflags libgphoto2_port 2>/dev/null`
11848 test "$cross_compiling" = yes || GPHOTO2_PORT_CFLAGS
=${GPHOTO2_PORT_CFLAGS:-`gphoto2-port-config --cflags 2>/dev/null`}
11849 if ${GPHOTO2_PORT_LIBS:+false} :; then :
11850 if ${PKG_CONFIG+:} false
; then :
11851 GPHOTO2_PORT_LIBS
=`$PKG_CONFIG --libs libgphoto2_port 2>/dev/null`
11854 test "$cross_compiling" = yes || GPHOTO2_PORT_LIBS
=${GPHOTO2_PORT_LIBS:-`gphoto2-port-config --libs 2>/dev/null`}
11855 GPHOTO2_PORT_LIBS
=${GPHOTO2_PORT_LIBS:-"-lgphoto2_port"}
11856 $as_echo "$as_me:${as_lineno-$LINENO}: libgphoto2_port cflags: $GPHOTO2_PORT_CFLAGS" >&5
11857 $as_echo "$as_me:${as_lineno-$LINENO}: libgphoto2_port libs: $GPHOTO2_PORT_LIBS" >&5
11858 ac_save_CPPFLAGS
=$CPPFLAGS
11859 CPPFLAGS
="$CPPFLAGS $GPHOTO2_PORT_CFLAGS"
11860 ac_fn_c_check_header_mongrel
"$LINENO" "gphoto2-port.h" "ac_cv_header_gphoto2_port_h" "$ac_includes_default"
11861 if test "x$ac_cv_header_gphoto2_port_h" = xyes
; then :
11862 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gp_port_info_list_new in -lgphoto2_port" >&5
11863 $as_echo_n "checking for gp_port_info_list_new in -lgphoto2_port... " >&6; }
11864 if ${ac_cv_lib_gphoto2_port_gp_port_info_list_new+:} false
; then :
11865 $as_echo_n "(cached) " >&6
11867 ac_check_lib_save_LIBS
=$LIBS
11868 LIBS
="-lgphoto2_port $GPHOTO2_PORT_LIBS $LIBS"
11869 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11870 /* end confdefs.h. */
11872 /* Override any GCC internal prototype to avoid an error.
11873 Use char because int might match the return type of a GCC
11874 builtin and then its argument prototype would still apply. */
11878 char gp_port_info_list_new ();
11882 return gp_port_info_list_new ();
11887 if ac_fn_c_try_link
"$LINENO"; then :
11888 ac_cv_lib_gphoto2_port_gp_port_info_list_new
=yes
11890 ac_cv_lib_gphoto2_port_gp_port_info_list_new
=no
11892 rm -f core conftest.err conftest.
$ac_objext \
11893 conftest
$ac_exeext conftest.
$ac_ext
11894 LIBS
=$ac_check_lib_save_LIBS
11896 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gphoto2_port_gp_port_info_list_new" >&5
11897 $as_echo "$ac_cv_lib_gphoto2_port_gp_port_info_list_new" >&6; }
11898 if test "x$ac_cv_lib_gphoto2_port_gp_port_info_list_new" = xyes
; then :
11900 $as_echo "#define HAVE_GPHOTO2_PORT 1" >>confdefs.h
11903 GPHOTO2_PORT_LIBS
=""; GPHOTO2_PORT_CFLAGS
=""
11907 GPHOTO2_PORT_LIBS
=""; GPHOTO2_PORT_CFLAGS
=""
11911 CPPFLAGS
=$ac_save_CPPFLAGS
11912 test -z "$GPHOTO2_PORT_CFLAGS" || GPHOTO2_PORT_CFLAGS
=`echo " $GPHOTO2_PORT_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
11913 test -z "$GPHOTO2_PORT_LIBS" || GPHOTO2_PORT_LIBS
=`echo " $GPHOTO2_PORT_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
11916 if test "$ac_cv_lib_gphoto2_gp_camera_new" != "yes"; then :
11917 case "x$with_gphoto" in
11918 x
) as_fn_append wine_notices
"|libgphoto2 ${notice_platform}development files not found, digital cameras won't be supported." ;;
11920 *) as_fn_error $?
"libgphoto2 ${notice_platform}development files not found, digital cameras won't be supported.
11921 This is an error since --with-gphoto was requested." "$LINENO" 5 ;;
11924 if test "$ac_cv_lib_gphoto2_port_gp_port_info_list_new" != "yes"; then :
11925 case "x$with_gphoto" in
11926 x
) as_fn_append wine_notices
"|libgphoto2_port ${notice_platform}development files not found, digital cameras won't be auto-detected." ;;
11928 *) as_fn_error $?
"libgphoto2_port ${notice_platform}development files not found, digital cameras won't be auto-detected.
11929 This is an error since --with-gphoto was requested." "$LINENO" 5 ;;
11934 if test "$ac_cv_header_resolv_h" = "yes"
11936 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for resolver library" >&5
11937 $as_echo_n "checking for resolver library... " >&6; }
11938 if ${ac_cv_have_resolv+:} false
; then :
11939 $as_echo_n "(cached) " >&6
11941 ac_save_LIBS
="$LIBS"
11942 for lib
in '' -lresolv
11944 LIBS
="$lib $ac_save_LIBS"
11945 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11946 /* end confdefs.h. */
11947 #ifdef HAVE_NETINET_IN_H
11948 #include <netinet/in.h>
11950 #include <resolv.h>
11954 if (!(_res.options & RES_INIT)) res_init(); res_query("foo",ns_c_in,0,0,0)
11959 if ac_fn_c_try_link
"$LINENO"; then :
11960 ac_cv_have_resolv
=${lib:-"none required"}
11962 ac_cv_have_resolv
="not found"
11964 rm -f core conftest.err conftest.
$ac_objext \
11965 conftest
$ac_exeext conftest.
$ac_ext
11966 test "x$ac_cv_have_resolv" = "xnot found" ||
break
11968 LIBS
="$ac_save_LIBS"
11970 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_resolv" >&5
11971 $as_echo "$ac_cv_have_resolv" >&6; }
11973 case "$ac_cv_have_resolv" in
11977 $as_echo "#define HAVE_RESOLV 1" >>confdefs.h
11980 $as_echo "#define HAVE_RESOLV 1" >>confdefs.h
11982 RESOLV_LIBS
=$ac_cv_have_resolv
11987 if test "x$with_cms" != "xno"
11989 if ${LCMS2_CFLAGS:+false} :; then :
11990 if ${PKG_CONFIG+:} false
; then :
11991 LCMS2_CFLAGS
=`$PKG_CONFIG --cflags lcms2 2>/dev/null`
11995 if ${LCMS2_LIBS:+false} :; then :
11996 if ${PKG_CONFIG+:} false
; then :
11997 LCMS2_LIBS
=`$PKG_CONFIG --libs lcms2 2>/dev/null`
12001 LCMS2_LIBS
=${LCMS2_LIBS:-"-llcms2"}
12002 $as_echo "$as_me:${as_lineno-$LINENO}: lcms2 cflags: $LCMS2_CFLAGS" >&5
12003 $as_echo "$as_me:${as_lineno-$LINENO}: lcms2 libs: $LCMS2_LIBS" >&5
12004 ac_save_CPPFLAGS
=$CPPFLAGS
12005 CPPFLAGS
="$CPPFLAGS $LCMS2_CFLAGS"
12006 for ac_header
in lcms2.h
12008 ac_fn_c_check_header_mongrel
"$LINENO" "lcms2.h" "ac_cv_header_lcms2_h" "$ac_includes_default"
12009 if test "x$ac_cv_header_lcms2_h" = xyes
; then :
12010 cat >>confdefs.h
<<_ACEOF
12011 #define HAVE_LCMS2_H 1
12018 if test "$ac_cv_header_lcms2_h" = "yes"
12020 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cmsOpenProfileFromFile in -llcms2" >&5
12021 $as_echo_n "checking for cmsOpenProfileFromFile in -llcms2... " >&6; }
12022 if ${ac_cv_lib_lcms2_cmsOpenProfileFromFile+:} false
; then :
12023 $as_echo_n "(cached) " >&6
12025 ac_check_lib_save_LIBS
=$LIBS
12026 LIBS
="-llcms2 $LCMS2_LIBS $LIBS"
12027 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12028 /* end confdefs.h. */
12030 /* Override any GCC internal prototype to avoid an error.
12031 Use char because int might match the return type of a GCC
12032 builtin and then its argument prototype would still apply. */
12036 char cmsOpenProfileFromFile ();
12040 return cmsOpenProfileFromFile ();
12045 if ac_fn_c_try_link
"$LINENO"; then :
12046 ac_cv_lib_lcms2_cmsOpenProfileFromFile
=yes
12048 ac_cv_lib_lcms2_cmsOpenProfileFromFile
=no
12050 rm -f core conftest.err conftest.
$ac_objext \
12051 conftest
$ac_exeext conftest.
$ac_ext
12052 LIBS
=$ac_check_lib_save_LIBS
12054 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_lcms2_cmsOpenProfileFromFile" >&5
12055 $as_echo "$ac_cv_lib_lcms2_cmsOpenProfileFromFile" >&6; }
12056 if test "x$ac_cv_lib_lcms2_cmsOpenProfileFromFile" = xyes
; then :
12058 $as_echo "#define HAVE_LCMS2 1" >>confdefs.h
12068 CPPFLAGS
=$ac_save_CPPFLAGS
12069 test -z "$LCMS2_CFLAGS" || LCMS2_CFLAGS
=`echo " $LCMS2_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
12070 test -z "$LCMS2_LIBS" || LCMS2_LIBS
=`echo " $LCMS2_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
12073 if test "$ac_cv_lib_lcms2_cmsOpenProfileFromFile" != "yes"; then :
12074 case "x$with_cms" in
12075 x
) as_fn_append wine_notices
"|liblcms2 ${notice_platform}development files not found, Color Management won't be supported." ;;
12077 *) as_fn_error $?
"liblcms2 ${notice_platform}development files not found, Color Management won't be supported.
12078 This is an error since --with-cms was requested." "$LINENO" 5 ;;
12082 if test "x$with_freetype" != "xno"
12084 if ${FREETYPE_CFLAGS:+false} :; then :
12085 if ${PKG_CONFIG+:} false
; then :
12086 FREETYPE_CFLAGS
=`$PKG_CONFIG --cflags freetype2 2>/dev/null`
12089 test "$cross_compiling" = yes || FREETYPE_CFLAGS
=${FREETYPE_CFLAGS:-`(freetype-config --cflags || freetype2-config --cflags) 2>/dev/null`}
12090 if ${FREETYPE_LIBS:+false} :; then :
12091 if ${PKG_CONFIG+:} false
; then :
12092 FREETYPE_LIBS
=`$PKG_CONFIG --libs freetype2 2>/dev/null`
12095 test "$cross_compiling" = yes || FREETYPE_LIBS
=${FREETYPE_LIBS:-`(freetype-config --libs || freetype2-config --libs) 2>/dev/null`}
12096 FREETYPE_LIBS
=${FREETYPE_LIBS:-"-lfreetype"}
12097 $as_echo "$as_me:${as_lineno-$LINENO}: freetype2 cflags: $FREETYPE_CFLAGS" >&5
12098 $as_echo "$as_me:${as_lineno-$LINENO}: freetype2 libs: $FREETYPE_LIBS" >&5
12099 ac_save_CPPFLAGS
=$CPPFLAGS
12100 CPPFLAGS
="$CPPFLAGS $FREETYPE_CFLAGS"
12101 for ac_header
in ft2build.h
12103 ac_fn_c_check_header_mongrel
"$LINENO" "ft2build.h" "ac_cv_header_ft2build_h" "$ac_includes_default"
12104 if test "x$ac_cv_header_ft2build_h" = xyes
; then :
12105 cat >>confdefs.h
<<_ACEOF
12106 #define HAVE_FT2BUILD_H 1
12113 if test "$ac_cv_header_ft2build_h" = "yes"
12115 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lfreetype" >&5
12116 $as_echo_n "checking for -lfreetype... " >&6; }
12117 if ${ac_cv_lib_soname_freetype+:} false
; then :
12118 $as_echo_n "(cached) " >&6
12120 ac_check_soname_save_LIBS
=$LIBS
12121 LIBS
="-lfreetype $FREETYPE_LIBS $LIBS"
12122 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12123 /* end confdefs.h. */
12125 /* Override any GCC internal prototype to avoid an error.
12126 Use char because int might match the return type of a GCC
12127 builtin and then its argument prototype would still apply. */
12131 char FT_Init_FreeType ();
12135 return FT_Init_FreeType ();
12140 if ac_fn_c_try_link
"$LINENO"; then :
12142 dll
) ac_cv_lib_soname_freetype
=`$ac_cv_path_LDD conftest.exe | grep "freetype" | sed -e "s/dll.*/dll/"';2,$d'` ;;
12143 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'` ;;
12144 *) ac_cv_lib_soname_freetype
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libfreetype\\.$LIBEXT" | sed -e "s/^.*\\[\\(libfreetype\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
12145 if ${ac_cv_lib_soname_freetype:+false} :; then :
12146 ac_cv_lib_soname_freetype
=`$LDD conftest$ac_exeext | grep "libfreetype\\.$LIBEXT" | sed -e "s/^.*\(libfreetype\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
12150 rm -f core conftest.err conftest.
$ac_objext \
12151 conftest
$ac_exeext conftest.
$ac_ext
12152 LIBS
=$ac_check_soname_save_LIBS
12154 if ${ac_cv_lib_soname_freetype:+false} :; then :
12155 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
12156 $as_echo "not found" >&6; }
12159 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_freetype" >&5
12160 $as_echo "$ac_cv_lib_soname_freetype" >&6; }
12162 cat >>confdefs.h
<<_ACEOF
12163 #define SONAME_LIBFREETYPE "$ac_cv_lib_soname_freetype"
12167 $as_echo "#define HAVE_FREETYPE 1" >>confdefs.h
12169 ac_fn_c_check_type
"$LINENO" "FT_TrueTypeEngineType" "ac_cv_type_FT_TrueTypeEngineType" "#include <ft2build.h>
12170 #include FT_MODULE_H
12172 if test "x$ac_cv_type_FT_TrueTypeEngineType" = xyes
; then :
12174 cat >>confdefs.h
<<_ACEOF
12175 #define HAVE_FT_TRUETYPEENGINETYPE 1
12186 CPPFLAGS
=$ac_save_CPPFLAGS
12187 test -z "$FREETYPE_CFLAGS" || FREETYPE_CFLAGS
=`echo " $FREETYPE_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
12188 test -z "$FREETYPE_LIBS" || FREETYPE_LIBS
=`echo " $FREETYPE_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
12191 if test "x$ac_cv_lib_soname_freetype" = x
; then :
12192 case "x$with_freetype" in
12194 *) as_fn_error $?
"FreeType ${notice_platform}development files not found. Fonts will not be built.
12195 Use the --without-freetype option if you really want this." "$LINENO" 5 ;;
12198 test "x$ac_cv_lib_soname_freetype" = x
&& enable_fonts
=${enable_fonts:-no}
12200 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for parport header/ppdev.h" >&5
12201 $as_echo_n "checking for parport header/ppdev.h... " >&6; }
12202 if ${ac_cv_c_ppdev+:} false
; then :
12203 $as_echo_n "(cached) " >&6
12205 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12206 /* end confdefs.h. */
12207 #ifdef HAVE_SYS_IOCTL_H
12208 # include <sys/ioctl.h>
12210 #include <linux/ppdev.h>
12214 ioctl (1,PPCLAIM,0)
12219 if ac_fn_c_try_compile
"$LINENO"; then :
12220 ac_cv_c_ppdev
="yes"
12224 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
12226 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_ppdev" >&5
12227 $as_echo "$ac_cv_c_ppdev" >&6; }
12228 if test "$ac_cv_c_ppdev" = "yes"
12231 $as_echo "#define HAVE_PPDEV 1" >>confdefs.h
12235 ac_wine_check_funcs_save_LIBS
="$LIBS"
12236 LIBS
="$LIBS $PTHREAD_LIBS"
12238 pthread_attr_get_np \
12239 pthread_getattr_np \
12240 pthread_getthreadid_np \
12241 pthread_get_stackaddr_np \
12242 pthread_get_stacksize_np
12244 as_ac_var
=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
12245 ac_fn_c_check_func
"$LINENO" "$ac_func" "$as_ac_var"
12246 if eval test \"x\$
"$as_ac_var"\" = x
"yes"; then :
12247 cat >>confdefs.h
<<_ACEOF
12248 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
12254 LIBS
="$ac_wine_check_funcs_save_LIBS"
12256 if test "$ac_cv_header_zlib_h" = "yes"
12258 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for inflate in -lz" >&5
12259 $as_echo_n "checking for inflate in -lz... " >&6; }
12260 if ${ac_cv_lib_z_inflate+:} false
; then :
12261 $as_echo_n "(cached) " >&6
12263 ac_check_lib_save_LIBS
=$LIBS
12265 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12266 /* end confdefs.h. */
12268 /* Override any GCC internal prototype to avoid an error.
12269 Use char because int might match the return type of a GCC
12270 builtin and then its argument prototype would still apply. */
12283 if ac_fn_c_try_link
"$LINENO"; then :
12284 ac_cv_lib_z_inflate
=yes
12286 ac_cv_lib_z_inflate
=no
12288 rm -f core conftest.err conftest.
$ac_objext \
12289 conftest
$ac_exeext conftest.
$ac_ext
12290 LIBS
=$ac_check_lib_save_LIBS
12292 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_z_inflate" >&5
12293 $as_echo "$ac_cv_lib_z_inflate" >&6; }
12294 if test "x$ac_cv_lib_z_inflate" = xyes
; then :
12296 $as_echo "#define HAVE_ZLIB 1" >>confdefs.h
12303 if test "x$Z_LIBS" = "x"; then :
12304 case "x$with_zlib" in
12305 x
) as_fn_append wine_notices
"|libz ${notice_platform}development files not found, data compression won't be supported." ;;
12307 *) as_fn_error $?
"libz ${notice_platform}development files not found, data compression won't be supported.
12308 This is an error since --with-zlib was requested." "$LINENO" 5 ;;
12312 if test "x$enable_tools" != xno
12314 if test "$ac_cv_header_gettext_po_h" = "yes"
12316 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for po_message_msgctxt in -lgettextpo" >&5
12317 $as_echo_n "checking for po_message_msgctxt in -lgettextpo... " >&6; }
12318 if ${ac_cv_lib_gettextpo_po_message_msgctxt+:} false
; then :
12319 $as_echo_n "(cached) " >&6
12321 ac_check_lib_save_LIBS
=$LIBS
12322 LIBS
="-lgettextpo $LIBS"
12323 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12324 /* end confdefs.h. */
12326 /* Override any GCC internal prototype to avoid an error.
12327 Use char because int might match the return type of a GCC
12328 builtin and then its argument prototype would still apply. */
12332 char po_message_msgctxt ();
12336 return po_message_msgctxt ();
12341 if ac_fn_c_try_link
"$LINENO"; then :
12342 ac_cv_lib_gettextpo_po_message_msgctxt
=yes
12344 ac_cv_lib_gettextpo_po_message_msgctxt
=no
12346 rm -f core conftest.err conftest.
$ac_objext \
12347 conftest
$ac_exeext conftest.
$ac_ext
12348 LIBS
=$ac_check_lib_save_LIBS
12350 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gettextpo_po_message_msgctxt" >&5
12351 $as_echo "$ac_cv_lib_gettextpo_po_message_msgctxt" >&6; }
12352 if test "x$ac_cv_lib_gettextpo_po_message_msgctxt" = xyes
; then :
12354 $as_echo "#define HAVE_LIBGETTEXTPO 1" >>confdefs.h
12356 GETTEXTPO_LIBS
="-lgettextpo"
12361 test "x$with_gettextpo" != xyes ||
if test "x$GETTEXTPO_LIBS" = "x"; then :
12362 case "x$with_gettextpo" in
12363 x
) as_fn_append wine_notices
"|GetText ${notice_platform}development files not found (or too old), po files can't be rebuilt." ;;
12365 *) as_fn_error $?
"GetText ${notice_platform}development files not found (or too old), po files can't be rebuilt.
12366 This is an error since --with-gettextpo was requested." "$LINENO" 5 ;;
12371 if test "x$with_gstreamer" != "xno"
12373 if ${GSTREAMER_CFLAGS:+false} :; then :
12374 if ${PKG_CONFIG+:} false
; then :
12375 GSTREAMER_CFLAGS
=`$PKG_CONFIG --cflags gstreamer-app-0.10 2>/dev/null`
12379 if ${GSTREAMER_LIBS:+false} :; then :
12380 if ${PKG_CONFIG+:} false
; then :
12381 GSTREAMER_LIBS
=`$PKG_CONFIG --libs gstreamer-app-0.10 2>/dev/null`
12386 $as_echo "$as_me:${as_lineno-$LINENO}: gstreamer-app-0.10 cflags: $GSTREAMER_CFLAGS" >&5
12387 $as_echo "$as_me:${as_lineno-$LINENO}: gstreamer-app-0.10 libs: $GSTREAMER_LIBS" >&5
12388 ac_save_CPPFLAGS
=$CPPFLAGS
12389 CPPFLAGS
="$CPPFLAGS $GSTREAMER_CFLAGS"
12391 for i
in $GSTREAMER_CFLAGS
12394 -I*) ac_gst_incl
="$ac_gst_incl $i";;
12397 GSTREAMER_CFLAGS
=$ac_gst_incl
12398 CPPFLAGS
="$ac_save_CPPFLAGS $GSTREAMER_CFLAGS"
12399 ac_fn_c_check_header_mongrel
"$LINENO" "gst/gstpad.h" "ac_cv_header_gst_gstpad_h" "$ac_includes_default"
12400 if test "x$ac_cv_header_gst_gstpad_h" = xyes
; then :
12401 ac_fn_c_check_header_mongrel
"$LINENO" "gst/app/gstappsink.h" "ac_cv_header_gst_app_gstappsink_h" "$ac_includes_default"
12402 if test "x$ac_cv_header_gst_app_gstappsink_h" = xyes
; then :
12403 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether gint64 defined by gst/app/gstappsink.h is indeed 64-bit" >&5
12404 $as_echo_n "checking whether gint64 defined by gst/app/gstappsink.h is indeed 64-bit... " >&6; }
12405 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12406 /* end confdefs.h. */
12407 #include <gst/app/gstappsink.h>
12411 static int a[sizeof(gint64) > 4 ? 1 : -1]; if (a[0]) return 0;
12416 if ac_fn_c_try_compile
"$LINENO"; then :
12417 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
12418 $as_echo "yes" >&6; }
12419 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gst_pad_get_caps_reffed in -lgstreamer-0.10" >&5
12420 $as_echo_n "checking for gst_pad_get_caps_reffed in -lgstreamer-0.10... " >&6; }
12421 if ${ac_cv_lib_gstreamer_0_10_gst_pad_get_caps_reffed+:} false
; then :
12422 $as_echo_n "(cached) " >&6
12424 ac_check_lib_save_LIBS
=$LIBS
12425 LIBS
="-lgstreamer-0.10 $LIBS"
12426 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12427 /* end confdefs.h. */
12429 /* Override any GCC internal prototype to avoid an error.
12430 Use char because int might match the return type of a GCC
12431 builtin and then its argument prototype would still apply. */
12435 char gst_pad_get_caps_reffed ();
12439 return gst_pad_get_caps_reffed ();
12444 if ac_fn_c_try_link
"$LINENO"; then :
12445 ac_cv_lib_gstreamer_0_10_gst_pad_get_caps_reffed
=yes
12447 ac_cv_lib_gstreamer_0_10_gst_pad_get_caps_reffed
=no
12449 rm -f core conftest.err conftest.
$ac_objext \
12450 conftest
$ac_exeext conftest.
$ac_ext
12451 LIBS
=$ac_check_lib_save_LIBS
12453 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gstreamer_0_10_gst_pad_get_caps_reffed" >&5
12454 $as_echo "$ac_cv_lib_gstreamer_0_10_gst_pad_get_caps_reffed" >&6; }
12455 if test "x$ac_cv_lib_gstreamer_0_10_gst_pad_get_caps_reffed" = xyes
; then :
12456 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gst_app_buffer_new in -lgstapp-0.10" >&5
12457 $as_echo_n "checking for gst_app_buffer_new in -lgstapp-0.10... " >&6; }
12458 if ${ac_cv_lib_gstapp_0_10_gst_app_buffer_new+:} false
; then :
12459 $as_echo_n "(cached) " >&6
12461 ac_check_lib_save_LIBS
=$LIBS
12462 LIBS
="-lgstapp-0.10 $GSTREAMER_LIBS $LIBS"
12463 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12464 /* end confdefs.h. */
12466 /* Override any GCC internal prototype to avoid an error.
12467 Use char because int might match the return type of a GCC
12468 builtin and then its argument prototype would still apply. */
12472 char gst_app_buffer_new ();
12476 return gst_app_buffer_new ();
12481 if ac_fn_c_try_link
"$LINENO"; then :
12482 ac_cv_lib_gstapp_0_10_gst_app_buffer_new
=yes
12484 ac_cv_lib_gstapp_0_10_gst_app_buffer_new
=no
12486 rm -f core conftest.err conftest.
$ac_objext \
12487 conftest
$ac_exeext conftest.
$ac_ext
12488 LIBS
=$ac_check_lib_save_LIBS
12490 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gstapp_0_10_gst_app_buffer_new" >&5
12491 $as_echo "$ac_cv_lib_gstapp_0_10_gst_app_buffer_new" >&6; }
12492 if test "x$ac_cv_lib_gstapp_0_10_gst_app_buffer_new" = xyes
; then :
12499 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12500 $as_echo "no" >&6; }
12502 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
12507 GSTREAMER_CFLAGS
=""
12511 CPPFLAGS
=$ac_save_CPPFLAGS
12512 test -z "$GSTREAMER_CFLAGS" || GSTREAMER_CFLAGS
=`echo " $GSTREAMER_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
12513 test -z "$GSTREAMER_LIBS" || GSTREAMER_LIBS
=`echo " $GSTREAMER_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
12516 if test "x$ac_cv_lib_gstapp_0_10_gst_app_buffer_new" != xyes
-a "x$ac_cv_header_QuickTime_ImageCompression_h" != xyes
; then :
12517 case "x$with_gstreamer" in
12518 x
) as_fn_append wine_notices
"|gstreamer-0.10 base plugins ${notice_platform}development files not found, gstreamer support disabled" ;;
12520 *) as_fn_error $?
"gstreamer-0.10 base plugins ${notice_platform}development files not found, gstreamer support disabled
12521 This is an error since --with-gstreamer was requested." "$LINENO" 5 ;;
12524 test "x$ac_cv_lib_gstapp_0_10_gst_app_buffer_new" = xyes || enable_winegstreamer
=${enable_winegstreamer:-no}
12528 if test "$ac_cv_header_sys_asoundlib_h" = "yes" -o "$ac_cv_header_alsa_asoundlib_h" = "yes"
12530 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for snd_pcm_hw_params_get_access_mask in -lasound" >&5
12531 $as_echo_n "checking for snd_pcm_hw_params_get_access_mask in -lasound... " >&6; }
12532 if ${ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask+:} false
; then :
12533 $as_echo_n "(cached) " >&6
12535 ac_check_lib_save_LIBS
=$LIBS
12536 LIBS
="-lasound $LIBS"
12537 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12538 /* end confdefs.h. */
12540 /* Override any GCC internal prototype to avoid an error.
12541 Use char because int might match the return type of a GCC
12542 builtin and then its argument prototype would still apply. */
12546 char snd_pcm_hw_params_get_access_mask ();
12550 return snd_pcm_hw_params_get_access_mask ();
12555 if ac_fn_c_try_link
"$LINENO"; then :
12556 ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask
=yes
12558 ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask
=no
12560 rm -f core conftest.err conftest.
$ac_objext \
12561 conftest
$ac_exeext conftest.
$ac_ext
12562 LIBS
=$ac_check_lib_save_LIBS
12564 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask" >&5
12565 $as_echo "$ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask" >&6; }
12566 if test "x$ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask" = xyes
; then :
12567 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12568 /* end confdefs.h. */
12569 #ifdef HAVE_ALSA_ASOUNDLIB_H
12570 #include <alsa/asoundlib.h>
12571 #elif defined(HAVE_SYS_ASOUNDLIB_H)
12572 #include <sys/asoundlib.h>
12577 snd_pcm_hw_params_get_access_mask(NULL, NULL)
12582 if ac_fn_c_try_compile
"$LINENO"; then :
12583 ALSA_LIBS
="-lasound"
12585 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
12590 if test "x$with_oss" != xno
12592 ac_save_CPPFLAGS
="$CPPFLAGS"
12593 if test -f /etc
/oss.conf
12597 ac_oss_incl
="-I${OSSLIBDIR:-/usr/lib/oss}/include"
12598 CPPFLAGS
="$CPPFLAGS $ac_oss_incl"
12599 ac_fn_c_check_header_mongrel
"$LINENO" "sys/soundcard.h" "ac_cv_header_sys_soundcard_h" "$ac_includes_default"
12600 if test "x$ac_cv_header_sys_soundcard_h" = xyes
; then :
12601 ac_fn_c_check_member
"$LINENO" "oss_sysinfo" "numaudioengines" "ac_cv_member_oss_sysinfo_numaudioengines" "#include <sys/soundcard.h>
12603 if test "x$ac_cv_member_oss_sysinfo_numaudioengines" = xyes
; then :
12605 cat >>confdefs.h
<<_ACEOF
12606 #define HAVE_OSS_SYSINFO_NUMAUDIOENGINES 1
12609 OSS4_CFLAGS
="$ac_oss_incl"
12616 CPPFLAGS
="$ac_save_CPPFLAGS"
12617 if test "x$ac_cv_member_oss_sysinfo_numaudioengines" != xyes
12619 as_fn_append wine_notices
"|OSS sound system found but too old (OSSv4 needed), OSS won't be supported."
12623 if test "x$with_capi" != "xno"
12625 if ${CAPI20_CFLAGS:+false} :; then :
12626 if ${PKG_CONFIG+:} false
; then :
12627 CAPI20_CFLAGS
=`$PKG_CONFIG --cflags capi20 2>/dev/null`
12631 if ${CAPI20_LIBS:+false} :; then :
12632 if ${PKG_CONFIG+:} false
; then :
12633 CAPI20_LIBS
=`$PKG_CONFIG --libs capi20 2>/dev/null`
12638 $as_echo "$as_me:${as_lineno-$LINENO}: capi20 cflags: $CAPI20_CFLAGS" >&5
12639 $as_echo "$as_me:${as_lineno-$LINENO}: capi20 libs: $CAPI20_LIBS" >&5
12640 ac_save_CPPFLAGS
=$CPPFLAGS
12641 CPPFLAGS
="$CPPFLAGS $CAPI20_CFLAGS"
12642 for ac_header
in capi20.h linux
/capi.h
12644 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
12645 ac_fn_c_check_header_compile
"$LINENO" "$ac_header" "$as_ac_Header" "#define __user
12647 if eval test \"x\$
"$as_ac_Header"\" = x
"yes"; then :
12648 cat >>confdefs.h
<<_ACEOF
12649 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
12656 if test "$ac_cv_header_capi20_h" = "yes" -a "$ac_cv_header_linux_capi_h" = "yes"
12658 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lcapi20" >&5
12659 $as_echo_n "checking for -lcapi20... " >&6; }
12660 if ${ac_cv_lib_soname_capi20+:} false
; then :
12661 $as_echo_n "(cached) " >&6
12663 ac_check_soname_save_LIBS
=$LIBS
12664 LIBS
="-lcapi20 $CAPI20_LIBS $LIBS"
12665 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12666 /* end confdefs.h. */
12668 /* Override any GCC internal prototype to avoid an error.
12669 Use char because int might match the return type of a GCC
12670 builtin and then its argument prototype would still apply. */
12674 char capi20_register ();
12678 return capi20_register ();
12683 if ac_fn_c_try_link
"$LINENO"; then :
12685 dll
) ac_cv_lib_soname_capi20
=`$ac_cv_path_LDD conftest.exe | grep "capi20" | sed -e "s/dll.*/dll/"';2,$d'` ;;
12686 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'` ;;
12687 *) ac_cv_lib_soname_capi20
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libcapi20\\.$LIBEXT" | sed -e "s/^.*\\[\\(libcapi20\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
12688 if ${ac_cv_lib_soname_capi20:+false} :; then :
12689 ac_cv_lib_soname_capi20
=`$LDD conftest$ac_exeext | grep "libcapi20\\.$LIBEXT" | sed -e "s/^.*\(libcapi20\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
12693 rm -f core conftest.err conftest.
$ac_objext \
12694 conftest
$ac_exeext conftest.
$ac_ext
12695 LIBS
=$ac_check_soname_save_LIBS
12697 if ${ac_cv_lib_soname_capi20:+false} :; then :
12698 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
12699 $as_echo "not found" >&6; }
12702 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_capi20" >&5
12703 $as_echo "$ac_cv_lib_soname_capi20" >&6; }
12705 cat >>confdefs.h
<<_ACEOF
12706 #define SONAME_LIBCAPI20 "$ac_cv_lib_soname_capi20"
12712 CPPFLAGS
=$ac_save_CPPFLAGS
12713 test -z "$CAPI20_CFLAGS" || CAPI20_CFLAGS
=`echo " $CAPI20_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
12714 test -z "$CAPI20_LIBS" || CAPI20_LIBS
=`echo " $CAPI20_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
12717 if test "x$ac_cv_lib_soname_capi20" = "x"; then :
12718 case "x$with_capi" in
12719 x
) as_fn_append wine_notices
"|libcapi20 ${notice_platform}development files not found, ISDN won't be supported." ;;
12721 *) as_fn_error $?
"libcapi20 ${notice_platform}development files not found, ISDN won't be supported.
12722 This is an error since --with-capi was requested." "$LINENO" 5 ;;
12728 if test "x$with_cups" != "xno"
12730 ac_save_CPPFLAGS
="$CPPFLAGS"
12731 ac_cups_cflags
=`cups-config --cflags 2>/dev/null`
12732 ac_cups_libs
=`cups-config --ldflags 2>/dev/null`
12733 CPPFLAGS
="$CPPFLAGS $ac_cups_cflags"
12734 for ac_header
in cups
/cups.h
12736 ac_fn_c_check_header_mongrel
"$LINENO" "cups/cups.h" "ac_cv_header_cups_cups_h" "$ac_includes_default"
12737 if test "x$ac_cv_header_cups_cups_h" = xyes
; then :
12738 cat >>confdefs.h
<<_ACEOF
12739 #define HAVE_CUPS_CUPS_H 1
12741 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lcups" >&5
12742 $as_echo_n "checking for -lcups... " >&6; }
12743 if ${ac_cv_lib_soname_cups+:} false
; then :
12744 $as_echo_n "(cached) " >&6
12746 ac_check_soname_save_LIBS
=$LIBS
12747 LIBS
="-lcups $ac_cups_libs $LIBS"
12748 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12749 /* end confdefs.h. */
12751 /* Override any GCC internal prototype to avoid an error.
12752 Use char because int might match the return type of a GCC
12753 builtin and then its argument prototype would still apply. */
12757 char cupsGetDefault ();
12761 return cupsGetDefault ();
12766 if ac_fn_c_try_link
"$LINENO"; then :
12768 dll
) ac_cv_lib_soname_cups
=`$ac_cv_path_LDD conftest.exe | grep "cups" | sed -e "s/dll.*/dll/"';2,$d'` ;;
12769 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'` ;;
12770 *) ac_cv_lib_soname_cups
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libcups\\.$LIBEXT" | sed -e "s/^.*\\[\\(libcups\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
12771 if ${ac_cv_lib_soname_cups:+false} :; then :
12772 ac_cv_lib_soname_cups
=`$LDD conftest$ac_exeext | grep "libcups\\.$LIBEXT" | sed -e "s/^.*\(libcups\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
12776 rm -f core conftest.err conftest.
$ac_objext \
12777 conftest
$ac_exeext conftest.
$ac_ext
12778 LIBS
=$ac_check_soname_save_LIBS
12780 if ${ac_cv_lib_soname_cups:+false} :; then :
12781 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
12782 $as_echo "not found" >&6; }
12785 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_cups" >&5
12786 $as_echo "$ac_cv_lib_soname_cups" >&6; }
12788 cat >>confdefs.h
<<_ACEOF
12789 #define SONAME_LIBCUPS "$ac_cv_lib_soname_cups"
12792 CUPS_CFLAGS
="$ac_cups_cflags"
12798 CPPFLAGS
="$ac_save_CPPFLAGS"
12800 if test "x$ac_cv_lib_soname_cups" = "x"; then :
12801 case "x$with_cups" in
12802 x
) as_fn_append wine_notices
"|libcups ${notice_platform}development files not found, CUPS won't be supported." ;;
12804 *) as_fn_error $?
"libcups ${notice_platform}development files not found, CUPS won't be supported.
12805 This is an error since --with-cups was requested." "$LINENO" 5 ;;
12809 if test "x$with_fontconfig" != "xno"
12811 if ${FONTCONFIG_CFLAGS:+false} :; then :
12812 if ${PKG_CONFIG+:} false
; then :
12813 FONTCONFIG_CFLAGS
=`$PKG_CONFIG --cflags fontconfig 2>/dev/null`
12816 test "$cross_compiling" = yes || FONTCONFIG_CFLAGS
=${FONTCONFIG_CFLAGS:-$X_CFLAGS}
12817 if ${FONTCONFIG_LIBS:+false} :; then :
12818 if ${PKG_CONFIG+:} false
; then :
12819 FONTCONFIG_LIBS
=`$PKG_CONFIG --libs fontconfig 2>/dev/null`
12822 test "$cross_compiling" = yes || FONTCONFIG_LIBS
=${FONTCONFIG_LIBS:-$X_LIBS}
12824 $as_echo "$as_me:${as_lineno-$LINENO}: fontconfig cflags: $FONTCONFIG_CFLAGS" >&5
12825 $as_echo "$as_me:${as_lineno-$LINENO}: fontconfig libs: $FONTCONFIG_LIBS" >&5
12826 ac_save_CPPFLAGS
=$CPPFLAGS
12827 CPPFLAGS
="$CPPFLAGS $FONTCONFIG_CFLAGS"
12828 for ac_header
in fontconfig
/fontconfig.h
12830 ac_fn_c_check_header_mongrel
"$LINENO" "fontconfig/fontconfig.h" "ac_cv_header_fontconfig_fontconfig_h" "$ac_includes_default"
12831 if test "x$ac_cv_header_fontconfig_fontconfig_h" = xyes
; then :
12832 cat >>confdefs.h
<<_ACEOF
12833 #define HAVE_FONTCONFIG_FONTCONFIG_H 1
12840 if test "$ac_cv_header_fontconfig_fontconfig_h" = "yes"
12842 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lfontconfig" >&5
12843 $as_echo_n "checking for -lfontconfig... " >&6; }
12844 if ${ac_cv_lib_soname_fontconfig+:} false
; then :
12845 $as_echo_n "(cached) " >&6
12847 ac_check_soname_save_LIBS
=$LIBS
12848 LIBS
="-lfontconfig $FONTCONFIG_LIBS $LIBS"
12849 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12850 /* end confdefs.h. */
12852 /* Override any GCC internal prototype to avoid an error.
12853 Use char because int might match the return type of a GCC
12854 builtin and then its argument prototype would still apply. */
12867 if ac_fn_c_try_link
"$LINENO"; then :
12869 dll
) ac_cv_lib_soname_fontconfig
=`$ac_cv_path_LDD conftest.exe | grep "fontconfig" | sed -e "s/dll.*/dll/"';2,$d'` ;;
12870 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'` ;;
12871 *) ac_cv_lib_soname_fontconfig
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libfontconfig\\.$LIBEXT" | sed -e "s/^.*\\[\\(libfontconfig\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
12872 if ${ac_cv_lib_soname_fontconfig:+false} :; then :
12873 ac_cv_lib_soname_fontconfig
=`$LDD conftest$ac_exeext | grep "libfontconfig\\.$LIBEXT" | sed -e "s/^.*\(libfontconfig\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
12877 rm -f core conftest.err conftest.
$ac_objext \
12878 conftest
$ac_exeext conftest.
$ac_ext
12879 LIBS
=$ac_check_soname_save_LIBS
12881 if ${ac_cv_lib_soname_fontconfig:+false} :; then :
12882 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
12883 $as_echo "not found" >&6; }
12884 FONTCONFIG_CFLAGS
=""
12886 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_fontconfig" >&5
12887 $as_echo "$ac_cv_lib_soname_fontconfig" >&6; }
12889 cat >>confdefs.h
<<_ACEOF
12890 #define SONAME_LIBFONTCONFIG "$ac_cv_lib_soname_fontconfig"
12896 FONTCONFIG_CFLAGS
=""
12898 CPPFLAGS
=$ac_save_CPPFLAGS
12899 test -z "$FONTCONFIG_CFLAGS" || FONTCONFIG_CFLAGS
=`echo " $FONTCONFIG_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
12900 test -z "$FONTCONFIG_LIBS" || FONTCONFIG_LIBS
=`echo " $FONTCONFIG_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
12903 if test "x$ac_cv_lib_soname_fontconfig" = "x"; then :
12904 case "x$with_fontconfig" in
12905 x
) as_fn_append wine_notices
"|fontconfig ${notice_platform}development files not found, fontconfig won't be supported." ;;
12907 *) as_fn_error $?
"fontconfig ${notice_platform}development files not found, fontconfig won't be supported.
12908 This is an error since --with-fontconfig was requested." "$LINENO" 5 ;;
12912 if test "$ac_cv_header_gsm_h" = "yes" -o "$ac_cv_header_gsm_gsm_h" = "yes"
12914 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lgsm" >&5
12915 $as_echo_n "checking for -lgsm... " >&6; }
12916 if ${ac_cv_lib_soname_gsm+:} false
; then :
12917 $as_echo_n "(cached) " >&6
12919 ac_check_soname_save_LIBS
=$LIBS
12921 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12922 /* end confdefs.h. */
12924 /* Override any GCC internal prototype to avoid an error.
12925 Use char because int might match the return type of a GCC
12926 builtin and then its argument prototype would still apply. */
12930 char gsm_create ();
12934 return gsm_create ();
12939 if ac_fn_c_try_link
"$LINENO"; then :
12941 dll
) ac_cv_lib_soname_gsm
=`$ac_cv_path_LDD conftest.exe | grep "gsm" | sed -e "s/dll.*/dll/"';2,$d'` ;;
12942 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'` ;;
12943 *) ac_cv_lib_soname_gsm
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libgsm\\.$LIBEXT" | sed -e "s/^.*\\[\\(libgsm\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
12944 if ${ac_cv_lib_soname_gsm:+false} :; then :
12945 ac_cv_lib_soname_gsm
=`$LDD conftest$ac_exeext | grep "libgsm\\.$LIBEXT" | sed -e "s/^.*\(libgsm\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
12949 rm -f core conftest.err conftest.
$ac_objext \
12950 conftest
$ac_exeext conftest.
$ac_ext
12951 LIBS
=$ac_check_soname_save_LIBS
12953 if ${ac_cv_lib_soname_gsm:+false} :; then :
12954 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
12955 $as_echo "not found" >&6; }
12958 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_gsm" >&5
12959 $as_echo "$ac_cv_lib_soname_gsm" >&6; }
12961 cat >>confdefs.h
<<_ACEOF
12962 #define SONAME_LIBGSM "$ac_cv_lib_soname_gsm"
12968 if test "x$ac_cv_lib_soname_gsm" = "x"; then :
12969 case "x$with_gsm" in
12970 x
) as_fn_append wine_notices
"|libgsm ${notice_platform}development files not found, gsm 06.10 codec won't be supported." ;;
12972 *) as_fn_error $?
"libgsm ${notice_platform}development files not found, gsm 06.10 codec won't be supported.
12973 This is an error since --with-gsm was requested." "$LINENO" 5 ;;
12977 if test "x$with_jpeg" != "xno"
12979 if ${JPEG_CFLAGS:+false} :; then :
12980 if ${PKG_CONFIG+:} false
; then :
12981 JPEG_CFLAGS
=`$PKG_CONFIG --cflags libjpeg 2>/dev/null`
12985 if ${JPEG_LIBS:+false} :; then :
12986 if ${PKG_CONFIG+:} false
; then :
12987 JPEG_LIBS
=`$PKG_CONFIG --libs libjpeg 2>/dev/null`
12992 $as_echo "$as_me:${as_lineno-$LINENO}: libjpeg cflags: $JPEG_CFLAGS" >&5
12993 $as_echo "$as_me:${as_lineno-$LINENO}: libjpeg libs: $JPEG_LIBS" >&5
12994 ac_save_CPPFLAGS
=$CPPFLAGS
12995 CPPFLAGS
="$CPPFLAGS $JPEG_CFLAGS"
12996 for ac_header
in jpeglib.h
12998 ac_fn_c_check_header_mongrel
"$LINENO" "jpeglib.h" "ac_cv_header_jpeglib_h" "$ac_includes_default"
12999 if test "x$ac_cv_header_jpeglib_h" = xyes
; then :
13000 cat >>confdefs.h
<<_ACEOF
13001 #define HAVE_JPEGLIB_H 1
13008 if test "$ac_cv_header_jpeglib_h" = "yes"
13010 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -ljpeg" >&5
13011 $as_echo_n "checking for -ljpeg... " >&6; }
13012 if ${ac_cv_lib_soname_jpeg+:} false
; then :
13013 $as_echo_n "(cached) " >&6
13015 ac_check_soname_save_LIBS
=$LIBS
13016 LIBS
="-ljpeg $JPEG_LIBS $LIBS"
13017 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13018 /* end confdefs.h. */
13020 /* Override any GCC internal prototype to avoid an error.
13021 Use char because int might match the return type of a GCC
13022 builtin and then its argument prototype would still apply. */
13026 char jpeg_start_decompress ();
13030 return jpeg_start_decompress ();
13035 if ac_fn_c_try_link
"$LINENO"; then :
13037 dll
) ac_cv_lib_soname_jpeg
=`$ac_cv_path_LDD conftest.exe | grep "jpeg" | sed -e "s/dll.*/dll/"';2,$d'` ;;
13038 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'` ;;
13039 *) ac_cv_lib_soname_jpeg
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libjpeg\\.$LIBEXT" | sed -e "s/^.*\\[\\(libjpeg\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
13040 if ${ac_cv_lib_soname_jpeg:+false} :; then :
13041 ac_cv_lib_soname_jpeg
=`$LDD conftest$ac_exeext | grep "libjpeg\\.$LIBEXT" | sed -e "s/^.*\(libjpeg\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
13045 rm -f core conftest.err conftest.
$ac_objext \
13046 conftest
$ac_exeext conftest.
$ac_ext
13047 LIBS
=$ac_check_soname_save_LIBS
13049 if ${ac_cv_lib_soname_jpeg:+false} :; then :
13050 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13051 $as_echo "not found" >&6; }
13054 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_jpeg" >&5
13055 $as_echo "$ac_cv_lib_soname_jpeg" >&6; }
13057 cat >>confdefs.h
<<_ACEOF
13058 #define SONAME_LIBJPEG "$ac_cv_lib_soname_jpeg"
13066 CPPFLAGS
=$ac_save_CPPFLAGS
13067 test -z "$JPEG_CFLAGS" || JPEG_CFLAGS
=`echo " $JPEG_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
13068 test -z "$JPEG_LIBS" || JPEG_LIBS
=`echo " $JPEG_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
13071 if test "x$ac_cv_lib_soname_jpeg" = "x"; then :
13072 case "x$with_jpeg" in
13073 x
) as_fn_append wine_warnings
"|libjpeg ${notice_platform}development files not found, JPEG won't be supported." ;;
13075 *) as_fn_error $?
"libjpeg ${notice_platform}development files not found, JPEG won't be supported.
13076 This is an error since --with-jpeg was requested." "$LINENO" 5 ;;
13080 if test "x$with_png" != "xno"
13082 if ${PNG_CFLAGS:+false} :; then :
13083 if ${PKG_CONFIG+:} false
; then :
13084 PNG_CFLAGS
=`$PKG_CONFIG --cflags libpng 2>/dev/null`
13087 test "$cross_compiling" = yes || PNG_CFLAGS
=${PNG_CFLAGS:-$X_CFLAGS}
13088 if ${PNG_LIBS:+false} :; then :
13089 if ${PKG_CONFIG+:} false
; then :
13090 PNG_LIBS
=`$PKG_CONFIG --libs libpng 2>/dev/null`
13093 test "$cross_compiling" = yes || PNG_LIBS
=${PNG_LIBS:-$X_LIBS}
13095 $as_echo "$as_me:${as_lineno-$LINENO}: libpng cflags: $PNG_CFLAGS" >&5
13096 $as_echo "$as_me:${as_lineno-$LINENO}: libpng libs: $PNG_LIBS" >&5
13097 ac_save_CPPFLAGS
=$CPPFLAGS
13098 CPPFLAGS
="$CPPFLAGS $PNG_CFLAGS"
13099 for ac_header
in png.h
13101 ac_fn_c_check_header_mongrel
"$LINENO" "png.h" "ac_cv_header_png_h" "$ac_includes_default"
13102 if test "x$ac_cv_header_png_h" = xyes
; then :
13103 cat >>confdefs.h
<<_ACEOF
13104 #define HAVE_PNG_H 1
13111 if test "$ac_cv_header_png_h" = "yes"
13113 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lpng" >&5
13114 $as_echo_n "checking for -lpng... " >&6; }
13115 if ${ac_cv_lib_soname_png+:} false
; then :
13116 $as_echo_n "(cached) " >&6
13118 ac_check_soname_save_LIBS
=$LIBS
13119 LIBS
="-lpng $PNG_LIBS -lm -lz $LIBS"
13120 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13121 /* end confdefs.h. */
13123 /* Override any GCC internal prototype to avoid an error.
13124 Use char because int might match the return type of a GCC
13125 builtin and then its argument prototype would still apply. */
13129 char png_create_read_struct ();
13133 return png_create_read_struct ();
13138 if ac_fn_c_try_link
"$LINENO"; then :
13140 dll
) ac_cv_lib_soname_png
=`$ac_cv_path_LDD conftest.exe | grep "png" | sed -e "s/dll.*/dll/"';2,$d'` ;;
13141 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'` ;;
13142 *) 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'`
13143 if ${ac_cv_lib_soname_png:+false} :; then :
13144 ac_cv_lib_soname_png
=`$LDD conftest$ac_exeext | grep "libpng[0-9]*\\.$LIBEXT" | sed -e "s/^.*\(libpng[0-9]*\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
13148 rm -f core conftest.err conftest.
$ac_objext \
13149 conftest
$ac_exeext conftest.
$ac_ext
13150 LIBS
=$ac_check_soname_save_LIBS
13152 if ${ac_cv_lib_soname_png:+false} :; then :
13153 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13154 $as_echo "not found" >&6; }
13157 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_png" >&5
13158 $as_echo "$ac_cv_lib_soname_png" >&6; }
13160 cat >>confdefs.h
<<_ACEOF
13161 #define SONAME_LIBPNG "$ac_cv_lib_soname_png"
13164 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13165 /* end confdefs.h. */
13170 typeof(png_set_expand_gray_1_2_4_to_8) *p
13175 if ac_fn_c_try_compile
"$LINENO"; then :
13177 $as_echo "#define HAVE_PNG_SET_EXPAND_GRAY_1_2_4_TO_8 1" >>confdefs.h
13180 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
13185 CPPFLAGS
=$ac_save_CPPFLAGS
13186 test -z "$PNG_CFLAGS" || PNG_CFLAGS
=`echo " $PNG_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
13187 test -z "$PNG_LIBS" || PNG_LIBS
=`echo " $PNG_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
13190 if test "x$ac_cv_lib_soname_png" = "x"; then :
13191 case "x$with_png" in
13192 x
) as_fn_append wine_warnings
"|libpng ${notice_platform}development files not found, PNG won't be supported." ;;
13194 *) as_fn_error $?
"libpng ${notice_platform}development files not found, PNG won't be supported.
13195 This is an error since --with-png was requested." "$LINENO" 5 ;;
13199 if test "x$with_tiff" != "xno"
13201 if ${TIFF_CFLAGS:+false} :; then :
13202 if ${PKG_CONFIG+:} false
; then :
13203 TIFF_CFLAGS
=`$PKG_CONFIG --cflags libtiff 2>/dev/null`
13207 if ${TIFF_LIBS:+false} :; then :
13208 if ${PKG_CONFIG+:} false
; then :
13209 TIFF_LIBS
=`$PKG_CONFIG --libs libtiff 2>/dev/null`
13214 $as_echo "$as_me:${as_lineno-$LINENO}: libtiff cflags: $TIFF_CFLAGS" >&5
13215 $as_echo "$as_me:${as_lineno-$LINENO}: libtiff libs: $TIFF_LIBS" >&5
13216 ac_save_CPPFLAGS
=$CPPFLAGS
13217 CPPFLAGS
="$CPPFLAGS $TIFF_CFLAGS"
13218 for ac_header
in tiffio.h
13220 ac_fn_c_check_header_mongrel
"$LINENO" "tiffio.h" "ac_cv_header_tiffio_h" "$ac_includes_default"
13221 if test "x$ac_cv_header_tiffio_h" = xyes
; then :
13222 cat >>confdefs.h
<<_ACEOF
13223 #define HAVE_TIFFIO_H 1
13230 if test "$ac_cv_header_tiffio_h" = "yes"
13232 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -ltiff" >&5
13233 $as_echo_n "checking for -ltiff... " >&6; }
13234 if ${ac_cv_lib_soname_tiff+:} false
; then :
13235 $as_echo_n "(cached) " >&6
13237 ac_check_soname_save_LIBS
=$LIBS
13238 LIBS
="-ltiff $TIFF_LIBS $LIBS"
13239 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13240 /* end confdefs.h. */
13242 /* Override any GCC internal prototype to avoid an error.
13243 Use char because int might match the return type of a GCC
13244 builtin and then its argument prototype would still apply. */
13248 char TIFFClientOpen ();
13252 return TIFFClientOpen ();
13257 if ac_fn_c_try_link
"$LINENO"; then :
13259 dll
) ac_cv_lib_soname_tiff
=`$ac_cv_path_LDD conftest.exe | grep "tiff" | sed -e "s/dll.*/dll/"';2,$d'` ;;
13260 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'` ;;
13261 *) ac_cv_lib_soname_tiff
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libtiff\\.$LIBEXT" | sed -e "s/^.*\\[\\(libtiff\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
13262 if ${ac_cv_lib_soname_tiff:+false} :; then :
13263 ac_cv_lib_soname_tiff
=`$LDD conftest$ac_exeext | grep "libtiff\\.$LIBEXT" | sed -e "s/^.*\(libtiff\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
13267 rm -f core conftest.err conftest.
$ac_objext \
13268 conftest
$ac_exeext conftest.
$ac_ext
13269 LIBS
=$ac_check_soname_save_LIBS
13271 if ${ac_cv_lib_soname_tiff:+false} :; then :
13272 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13273 $as_echo "not found" >&6; }
13276 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_tiff" >&5
13277 $as_echo "$ac_cv_lib_soname_tiff" >&6; }
13279 cat >>confdefs.h
<<_ACEOF
13280 #define SONAME_LIBTIFF "$ac_cv_lib_soname_tiff"
13286 CPPFLAGS
=$ac_save_CPPFLAGS
13287 test -z "$TIFF_CFLAGS" || TIFF_CFLAGS
=`echo " $TIFF_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
13288 test -z "$TIFF_LIBS" || TIFF_LIBS
=`echo " $TIFF_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
13291 if test "x$ac_cv_lib_soname_tiff" = "x"; then :
13292 case "x$with_tiff" in
13293 x
) as_fn_append wine_notices
"|libtiff ${notice_platform}development files not found, TIFF won't be supported." ;;
13295 *) as_fn_error $?
"libtiff ${notice_platform}development files not found, TIFF won't be supported.
13296 This is an error since --with-tiff was requested." "$LINENO" 5 ;;
13300 if test "x$with_mpg123" != "xno"
13302 if ${MPG123_CFLAGS:+false} :; then :
13303 if ${PKG_CONFIG+:} false
; then :
13304 MPG123_CFLAGS
=`$PKG_CONFIG --cflags libmpg123 2>/dev/null`
13308 if ${MPG123_LIBS:+false} :; then :
13309 if ${PKG_CONFIG+:} false
; then :
13310 MPG123_LIBS
=`$PKG_CONFIG --libs libmpg123 2>/dev/null`
13314 MPG123_LIBS
=${MPG123_LIBS:-"-lmpg123"}
13315 $as_echo "$as_me:${as_lineno-$LINENO}: libmpg123 cflags: $MPG123_CFLAGS" >&5
13316 $as_echo "$as_me:${as_lineno-$LINENO}: libmpg123 libs: $MPG123_LIBS" >&5
13317 ac_save_CPPFLAGS
=$CPPFLAGS
13318 CPPFLAGS
="$CPPFLAGS $MPG123_CFLAGS"
13319 for ac_header
in mpg123.h
13321 ac_fn_c_check_header_mongrel
"$LINENO" "mpg123.h" "ac_cv_header_mpg123_h" "$ac_includes_default"
13322 if test "x$ac_cv_header_mpg123_h" = xyes
; then :
13323 cat >>confdefs.h
<<_ACEOF
13324 #define HAVE_MPG123_H 1
13331 if test "$ac_cv_header_mpg123_h" = "yes"
13333 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for mpg123_feed in -lmpg123" >&5
13334 $as_echo_n "checking for mpg123_feed in -lmpg123... " >&6; }
13335 if ${ac_cv_lib_mpg123_mpg123_feed+:} false
; then :
13336 $as_echo_n "(cached) " >&6
13338 ac_check_lib_save_LIBS
=$LIBS
13339 LIBS
="-lmpg123 $MPG123_LIBS $LIBS"
13340 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13341 /* end confdefs.h. */
13343 /* Override any GCC internal prototype to avoid an error.
13344 Use char because int might match the return type of a GCC
13345 builtin and then its argument prototype would still apply. */
13349 char mpg123_feed ();
13353 return mpg123_feed ();
13358 if ac_fn_c_try_link
"$LINENO"; then :
13359 ac_cv_lib_mpg123_mpg123_feed
=yes
13361 ac_cv_lib_mpg123_mpg123_feed
=no
13363 rm -f core conftest.err conftest.
$ac_objext \
13364 conftest
$ac_exeext conftest.
$ac_ext
13365 LIBS
=$ac_check_lib_save_LIBS
13367 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_mpg123_mpg123_feed" >&5
13368 $as_echo "$ac_cv_lib_mpg123_mpg123_feed" >&6; }
13369 if test "x$ac_cv_lib_mpg123_mpg123_feed" = xyes
; then :
13379 CPPFLAGS
=$ac_save_CPPFLAGS
13380 test -z "$MPG123_CFLAGS" || MPG123_CFLAGS
=`echo " $MPG123_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
13381 test -z "$MPG123_LIBS" || MPG123_LIBS
=`echo " $MPG123_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
13384 if test "x$ac_cv_lib_mpg123_mpg123_feed" != xyes
-a x
"$ac_cv_header_CoreAudio_CoreAudio_h" != xyes
; then :
13385 case "x$with_mpg123" in
13386 x
) as_fn_append wine_notices
"|libmpg123 ${notice_platform}development files not found (or too old), mp3 codec won't be supported." ;;
13388 *) as_fn_error $?
"libmpg123 ${notice_platform}development files not found (or too old), mp3 codec won't be supported.
13389 This is an error since --with-mpg123 was requested." "$LINENO" 5 ;;
13392 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}
13394 if test "$ac_cv_header_AL_al_h" = "yes"
13396 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lopenal" >&5
13397 $as_echo_n "checking for -lopenal... " >&6; }
13398 if ${ac_cv_lib_soname_openal+:} false
; then :
13399 $as_echo_n "(cached) " >&6
13401 ac_check_soname_save_LIBS
=$LIBS
13402 LIBS
="-lopenal $LIBS"
13403 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13404 /* end confdefs.h. */
13406 /* Override any GCC internal prototype to avoid an error.
13407 Use char because int might match the return type of a GCC
13408 builtin and then its argument prototype would still apply. */
13412 char alGetSource3i ();
13416 return alGetSource3i ();
13421 if ac_fn_c_try_link
"$LINENO"; then :
13423 dll
) ac_cv_lib_soname_openal
=`$ac_cv_path_LDD conftest.exe | grep "openal" | sed -e "s/dll.*/dll/"';2,$d'` ;;
13424 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'` ;;
13425 *) ac_cv_lib_soname_openal
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libopenal\\.$LIBEXT" | sed -e "s/^.*\\[\\(libopenal\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
13426 if ${ac_cv_lib_soname_openal:+false} :; then :
13427 ac_cv_lib_soname_openal
=`$LDD conftest$ac_exeext | grep "libopenal\\.$LIBEXT" | sed -e "s/^.*\(libopenal\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
13431 rm -f core conftest.err conftest.
$ac_objext \
13432 conftest
$ac_exeext conftest.
$ac_ext
13433 LIBS
=$ac_check_soname_save_LIBS
13435 if ${ac_cv_lib_soname_openal:+false} :; then :
13436 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13437 $as_echo "not found" >&6; }
13440 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_openal" >&5
13441 $as_echo "$ac_cv_lib_soname_openal" >&6; }
13443 cat >>confdefs.h
<<_ACEOF
13444 #define SONAME_LIBOPENAL "$ac_cv_lib_soname_openal"
13447 OPENAL_LIBS
="-lopenal"
13449 ac_cv_lib_openal
=yes
13451 cat >>confdefs.h
<<_ACEOF
13452 #define HAVE_OPENAL 1
13457 if test "x$ac_cv_lib_openal" != xyes
; then :
13458 case "x$with_openal" in
13459 x
) as_fn_append wine_notices
"|libopenal ${notice_platform}development files not found (or too old), OpenAL won't be supported." ;;
13461 *) as_fn_error $?
"libopenal ${notice_platform}development files not found (or too old), OpenAL won't be supported.
13462 This is an error since --with-openal was requested." "$LINENO" 5 ;;
13465 test "x$ac_cv_lib_openal" = xyes || enable_openal32
=${enable_openal32:-no}
13467 if test "$ac_cv_header_kstat_h" = "yes"
13469 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for kstat_open in -lkstat" >&5
13470 $as_echo_n "checking for kstat_open in -lkstat... " >&6; }
13471 if ${ac_cv_lib_kstat_kstat_open+:} false
; then :
13472 $as_echo_n "(cached) " >&6
13474 ac_check_lib_save_LIBS
=$LIBS
13475 LIBS
="-lkstat $LIBS"
13476 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13477 /* end confdefs.h. */
13479 /* Override any GCC internal prototype to avoid an error.
13480 Use char because int might match the return type of a GCC
13481 builtin and then its argument prototype would still apply. */
13485 char kstat_open ();
13489 return kstat_open ();
13494 if ac_fn_c_try_link
"$LINENO"; then :
13495 ac_cv_lib_kstat_kstat_open
=yes
13497 ac_cv_lib_kstat_kstat_open
=no
13499 rm -f core conftest.err conftest.
$ac_objext \
13500 conftest
$ac_exeext conftest.
$ac_ext
13501 LIBS
=$ac_check_lib_save_LIBS
13503 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_kstat_kstat_open" >&5
13504 $as_echo "$ac_cv_lib_kstat_kstat_open" >&6; }
13505 if test "x$ac_cv_lib_kstat_kstat_open" = xyes
; then :
13507 $as_echo "#define HAVE_LIBKSTAT 1" >>confdefs.h
13509 KSTAT_LIBS
="-lkstat"
13515 if test "$ac_cv_header_libprocstat_h" = "yes"
13517 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for procstat_open_sysctl in -lprocstat" >&5
13518 $as_echo_n "checking for procstat_open_sysctl in -lprocstat... " >&6; }
13519 if ${ac_cv_lib_procstat_procstat_open_sysctl+:} false
; then :
13520 $as_echo_n "(cached) " >&6
13522 ac_check_lib_save_LIBS
=$LIBS
13523 LIBS
="-lprocstat $LIBS"
13524 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13525 /* end confdefs.h. */
13527 /* Override any GCC internal prototype to avoid an error.
13528 Use char because int might match the return type of a GCC
13529 builtin and then its argument prototype would still apply. */
13533 char procstat_open_sysctl ();
13537 return procstat_open_sysctl ();
13542 if ac_fn_c_try_link
"$LINENO"; then :
13543 ac_cv_lib_procstat_procstat_open_sysctl
=yes
13545 ac_cv_lib_procstat_procstat_open_sysctl
=no
13547 rm -f core conftest.err conftest.
$ac_objext \
13548 conftest
$ac_exeext conftest.
$ac_ext
13549 LIBS
=$ac_check_lib_save_LIBS
13551 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_procstat_procstat_open_sysctl" >&5
13552 $as_echo "$ac_cv_lib_procstat_procstat_open_sysctl" >&6; }
13553 if test "x$ac_cv_lib_procstat_procstat_open_sysctl" = xyes
; then :
13555 $as_echo "#define HAVE_LIBPROCSTAT 1" >>confdefs.h
13557 PROCSTAT_LIBS
="-lprocstat"
13563 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lodbc" >&5
13564 $as_echo_n "checking for -lodbc... " >&6; }
13565 if ${ac_cv_lib_soname_odbc+:} false
; then :
13566 $as_echo_n "(cached) " >&6
13568 ac_check_soname_save_LIBS
=$LIBS
13569 LIBS
="-lodbc $LIBS"
13570 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13571 /* end confdefs.h. */
13573 /* Override any GCC internal prototype to avoid an error.
13574 Use char because int might match the return type of a GCC
13575 builtin and then its argument prototype would still apply. */
13579 char SQLConnect ();
13583 return SQLConnect ();
13588 if ac_fn_c_try_link
"$LINENO"; then :
13590 dll
) ac_cv_lib_soname_odbc
=`$ac_cv_path_LDD conftest.exe | grep "odbc" | sed -e "s/dll.*/dll/"';2,$d'` ;;
13591 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'` ;;
13592 *) ac_cv_lib_soname_odbc
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libodbc\\.$LIBEXT" | sed -e "s/^.*\\[\\(libodbc\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
13593 if ${ac_cv_lib_soname_odbc:+false} :; then :
13594 ac_cv_lib_soname_odbc
=`$LDD conftest$ac_exeext | grep "libodbc\\.$LIBEXT" | sed -e "s/^.*\(libodbc\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
13598 rm -f core conftest.err conftest.
$ac_objext \
13599 conftest
$ac_exeext conftest.
$ac_ext
13600 LIBS
=$ac_check_soname_save_LIBS
13602 if ${ac_cv_lib_soname_odbc:+false} :; then :
13603 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13604 $as_echo "not found" >&6; }
13605 cat >>confdefs.h
<<_ACEOF
13606 #define SONAME_LIBODBC "libodbc.$LIBEXT"
13610 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_odbc" >&5
13611 $as_echo "$ac_cv_lib_soname_odbc" >&6; }
13613 cat >>confdefs.h
<<_ACEOF
13614 #define SONAME_LIBODBC "$ac_cv_lib_soname_odbc"
13620 if test "x$with_netapi" != "xno"
13622 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lnetapi" >&5
13623 $as_echo_n "checking for -lnetapi... " >&6; }
13624 if ${ac_cv_lib_soname_netapi+:} false
; then :
13625 $as_echo_n "(cached) " >&6
13627 ac_check_soname_save_LIBS
=$LIBS
13628 LIBS
="-lnetapi $LIBS"
13629 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13630 /* end confdefs.h. */
13632 /* Override any GCC internal prototype to avoid an error.
13633 Use char because int might match the return type of a GCC
13634 builtin and then its argument prototype would still apply. */
13638 char libnetapi_init ();
13642 return libnetapi_init ();
13647 if ac_fn_c_try_link
"$LINENO"; then :
13649 dll
) ac_cv_lib_soname_netapi
=`$ac_cv_path_LDD conftest.exe | grep "netapi" | sed -e "s/dll.*/dll/"';2,$d'` ;;
13650 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'` ;;
13651 *) ac_cv_lib_soname_netapi
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libnetapi\\.$LIBEXT" | sed -e "s/^.*\\[\\(libnetapi\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
13652 if ${ac_cv_lib_soname_netapi:+false} :; then :
13653 ac_cv_lib_soname_netapi
=`$LDD conftest$ac_exeext | grep "libnetapi\\.$LIBEXT" | sed -e "s/^.*\(libnetapi\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
13657 rm -f core conftest.err conftest.
$ac_objext \
13658 conftest
$ac_exeext conftest.
$ac_ext
13659 LIBS
=$ac_check_soname_save_LIBS
13661 if ${ac_cv_lib_soname_netapi:+false} :; then :
13662 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13663 $as_echo "not found" >&6; }
13664 cat >>confdefs.h
<<_ACEOF
13665 #define SONAME_LIBNETAPI "libnetapi.$LIBEXT"
13669 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_netapi" >&5
13670 $as_echo "$ac_cv_lib_soname_netapi" >&6; }
13672 cat >>confdefs.h
<<_ACEOF
13673 #define SONAME_LIBNETAPI "$ac_cv_lib_soname_netapi"
13680 test -n "$ALSA_LIBS" || enable_winealsa_drv
=${enable_winealsa_drv:-no}
13681 test -n "$COREAUDIO_LIBS" || enable_winecoreaudio_drv
=${enable_winecoreaudio_drv:-no}
13682 test "x$ac_cv_member_oss_sysinfo_numaudioengines" = xyes || enable_wineoss_drv
=${enable_wineoss_drv:-no}
13683 test "$ac_cv_header_linux_joystick_h" = "yes" || enable_winejoystick_drv
=${enable_winejoystick_drv:-no}
13685 if test "x$ALSA_LIBS$COREAUDIO_LIBS" = "x" -a \
13686 "x$ac_cv_member_oss_sysinfo_numaudioengines" != xyes
-a \
13687 "x$with_alsa$with_coreaudio$with_oss" != xnonono
13689 as_fn_append wine_warnings
"|No sound system was found. Windows applications will be silent."
13695 if test "x${GCC}" = "xyes"
13697 EXTRACFLAGS
="-Wall -pipe"
13699 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gcc strength-reduce bug" >&5
13700 $as_echo_n "checking for gcc strength-reduce bug... " >&6; }
13701 if ${ac_cv_c_gcc_strength_bug+:} false
; then :
13702 $as_echo_n "(cached) " >&6
13704 if test "$cross_compiling" = yes; then :
13705 ac_cv_c_gcc_strength_bug
="yes"
13707 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13708 /* end confdefs.h. */
13709 int L[4] = {0,1,2,3};
13713 static int Array[3];
13714 unsigned int B = 3;
13716 for(i=0; i<B; i++) Array[i] = i - 3;
13717 for(i=0; i<4 - 1; i++) L[i] = L[i + 1];
13719 return (Array[1] != -2 || L[2] != 3)
13724 if ac_fn_c_try_run
"$LINENO"; then :
13725 ac_cv_c_gcc_strength_bug
="no"
13727 ac_cv_c_gcc_strength_bug
="yes"
13729 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext \
13730 conftest.
$ac_objext conftest.beam conftest.
$ac_ext
13734 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_gcc_strength_bug" >&5
13735 $as_echo "$ac_cv_c_gcc_strength_bug" >&6; }
13736 if test "$ac_cv_c_gcc_strength_bug" = "yes"
13738 EXTRACFLAGS
="$EXTRACFLAGS -fno-strength-reduce"
13741 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fno-builtin" >&5
13742 $as_echo_n "checking whether the compiler supports -fno-builtin... " >&6; }
13743 if ${ac_cv_cflags__fno_builtin+:} false
; then :
13744 $as_echo_n "(cached) " >&6
13746 ac_wine_try_cflags_saved
=$CFLAGS
13747 CFLAGS
="$CFLAGS -fno-builtin"
13748 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13749 /* end confdefs.h. */
13750 int main(int argc, char **argv) { return 0; }
13752 if ac_fn_c_try_link
"$LINENO"; then :
13753 ac_cv_cflags__fno_builtin
=yes
13755 ac_cv_cflags__fno_builtin
=no
13757 rm -f core conftest.err conftest.
$ac_objext \
13758 conftest
$ac_exeext conftest.
$ac_ext
13759 CFLAGS
=$ac_wine_try_cflags_saved
13761 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fno_builtin" >&5
13762 $as_echo "$ac_cv_cflags__fno_builtin" >&6; }
13763 if test "x$ac_cv_cflags__fno_builtin" = xyes
; then :
13764 BUILTINFLAG
="-fno-builtin"
13767 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fno-strict-aliasing" >&5
13768 $as_echo_n "checking whether the compiler supports -fno-strict-aliasing... " >&6; }
13769 if ${ac_cv_cflags__fno_strict_aliasing+:} false
; then :
13770 $as_echo_n "(cached) " >&6
13772 ac_wine_try_cflags_saved
=$CFLAGS
13773 CFLAGS
="$CFLAGS -fno-strict-aliasing"
13774 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13775 /* end confdefs.h. */
13776 int main(int argc, char **argv) { return 0; }
13778 if ac_fn_c_try_link
"$LINENO"; then :
13779 ac_cv_cflags__fno_strict_aliasing
=yes
13781 ac_cv_cflags__fno_strict_aliasing
=no
13783 rm -f core conftest.err conftest.
$ac_objext \
13784 conftest
$ac_exeext conftest.
$ac_ext
13785 CFLAGS
=$ac_wine_try_cflags_saved
13787 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fno_strict_aliasing" >&5
13788 $as_echo "$ac_cv_cflags__fno_strict_aliasing" >&6; }
13789 if test "x$ac_cv_cflags__fno_strict_aliasing" = xyes
; then :
13790 EXTRACFLAGS
="$EXTRACFLAGS -fno-strict-aliasing"
13792 saved_CFLAGS
=$CFLAGS
13793 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Werror=unknown-warning-option" >&5
13794 $as_echo_n "checking whether the compiler supports -Werror=unknown-warning-option... " >&6; }
13795 if ${ac_cv_cflags__Werror_unknown_warning_option+:} false
; then :
13796 $as_echo_n "(cached) " >&6
13798 ac_wine_try_cflags_saved
=$CFLAGS
13799 CFLAGS
="$CFLAGS -Werror=unknown-warning-option"
13800 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13801 /* end confdefs.h. */
13802 int main(int argc, char **argv) { return 0; }
13804 if ac_fn_c_try_link
"$LINENO"; then :
13805 ac_cv_cflags__Werror_unknown_warning_option
=yes
13807 ac_cv_cflags__Werror_unknown_warning_option
=no
13809 rm -f core conftest.err conftest.
$ac_objext \
13810 conftest
$ac_exeext conftest.
$ac_ext
13811 CFLAGS
=$ac_wine_try_cflags_saved
13813 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Werror_unknown_warning_option" >&5
13814 $as_echo "$ac_cv_cflags__Werror_unknown_warning_option" >&6; }
13815 if test "x$ac_cv_cflags__Werror_unknown_warning_option" = xyes
; then :
13816 CFLAGS
="$CFLAGS -Werror=unknown-warning-option"
13818 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wdeclaration-after-statement" >&5
13819 $as_echo_n "checking whether the compiler supports -Wdeclaration-after-statement... " >&6; }
13820 if ${ac_cv_cflags__Wdeclaration_after_statement+:} false
; then :
13821 $as_echo_n "(cached) " >&6
13823 ac_wine_try_cflags_saved
=$CFLAGS
13824 CFLAGS
="$CFLAGS -Wdeclaration-after-statement"
13825 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13826 /* end confdefs.h. */
13827 int main(int argc, char **argv) { return 0; }
13829 if ac_fn_c_try_link
"$LINENO"; then :
13830 ac_cv_cflags__Wdeclaration_after_statement
=yes
13832 ac_cv_cflags__Wdeclaration_after_statement
=no
13834 rm -f core conftest.err conftest.
$ac_objext \
13835 conftest
$ac_exeext conftest.
$ac_ext
13836 CFLAGS
=$ac_wine_try_cflags_saved
13838 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wdeclaration_after_statement" >&5
13839 $as_echo "$ac_cv_cflags__Wdeclaration_after_statement" >&6; }
13840 if test "x$ac_cv_cflags__Wdeclaration_after_statement" = xyes
; then :
13841 EXTRACFLAGS
="$EXTRACFLAGS -Wdeclaration-after-statement"
13843 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wempty-body" >&5
13844 $as_echo_n "checking whether the compiler supports -Wempty-body... " >&6; }
13845 if ${ac_cv_cflags__Wempty_body+:} false
; then :
13846 $as_echo_n "(cached) " >&6
13848 ac_wine_try_cflags_saved
=$CFLAGS
13849 CFLAGS
="$CFLAGS -Wempty-body"
13850 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13851 /* end confdefs.h. */
13852 int main(int argc, char **argv) { return 0; }
13854 if ac_fn_c_try_link
"$LINENO"; then :
13855 ac_cv_cflags__Wempty_body
=yes
13857 ac_cv_cflags__Wempty_body
=no
13859 rm -f core conftest.err conftest.
$ac_objext \
13860 conftest
$ac_exeext conftest.
$ac_ext
13861 CFLAGS
=$ac_wine_try_cflags_saved
13863 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wempty_body" >&5
13864 $as_echo "$ac_cv_cflags__Wempty_body" >&6; }
13865 if test "x$ac_cv_cflags__Wempty_body" = xyes
; then :
13866 EXTRACFLAGS
="$EXTRACFLAGS -Wempty-body"
13868 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wignored-qualifiers" >&5
13869 $as_echo_n "checking whether the compiler supports -Wignored-qualifiers... " >&6; }
13870 if ${ac_cv_cflags__Wignored_qualifiers+:} false
; then :
13871 $as_echo_n "(cached) " >&6
13873 ac_wine_try_cflags_saved
=$CFLAGS
13874 CFLAGS
="$CFLAGS -Wignored-qualifiers"
13875 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13876 /* end confdefs.h. */
13877 int main(int argc, char **argv) { return 0; }
13879 if ac_fn_c_try_link
"$LINENO"; then :
13880 ac_cv_cflags__Wignored_qualifiers
=yes
13882 ac_cv_cflags__Wignored_qualifiers
=no
13884 rm -f core conftest.err conftest.
$ac_objext \
13885 conftest
$ac_exeext conftest.
$ac_ext
13886 CFLAGS
=$ac_wine_try_cflags_saved
13888 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wignored_qualifiers" >&5
13889 $as_echo "$ac_cv_cflags__Wignored_qualifiers" >&6; }
13890 if test "x$ac_cv_cflags__Wignored_qualifiers" = xyes
; then :
13891 EXTRACFLAGS
="$EXTRACFLAGS -Wignored-qualifiers"
13893 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wstrict-prototypes" >&5
13894 $as_echo_n "checking whether the compiler supports -Wstrict-prototypes... " >&6; }
13895 if ${ac_cv_cflags__Wstrict_prototypes+:} false
; then :
13896 $as_echo_n "(cached) " >&6
13898 ac_wine_try_cflags_saved
=$CFLAGS
13899 CFLAGS
="$CFLAGS -Wstrict-prototypes"
13900 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13901 /* end confdefs.h. */
13902 int main(int argc, char **argv) { return 0; }
13904 if ac_fn_c_try_link
"$LINENO"; then :
13905 ac_cv_cflags__Wstrict_prototypes
=yes
13907 ac_cv_cflags__Wstrict_prototypes
=no
13909 rm -f core conftest.err conftest.
$ac_objext \
13910 conftest
$ac_exeext conftest.
$ac_ext
13911 CFLAGS
=$ac_wine_try_cflags_saved
13913 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wstrict_prototypes" >&5
13914 $as_echo "$ac_cv_cflags__Wstrict_prototypes" >&6; }
13915 if test "x$ac_cv_cflags__Wstrict_prototypes" = xyes
; then :
13916 EXTRACFLAGS
="$EXTRACFLAGS -Wstrict-prototypes"
13918 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wtype-limits" >&5
13919 $as_echo_n "checking whether the compiler supports -Wtype-limits... " >&6; }
13920 if ${ac_cv_cflags__Wtype_limits+:} false
; then :
13921 $as_echo_n "(cached) " >&6
13923 ac_wine_try_cflags_saved
=$CFLAGS
13924 CFLAGS
="$CFLAGS -Wtype-limits"
13925 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13926 /* end confdefs.h. */
13927 int main(int argc, char **argv) { return 0; }
13929 if ac_fn_c_try_link
"$LINENO"; then :
13930 ac_cv_cflags__Wtype_limits
=yes
13932 ac_cv_cflags__Wtype_limits
=no
13934 rm -f core conftest.err conftest.
$ac_objext \
13935 conftest
$ac_exeext conftest.
$ac_ext
13936 CFLAGS
=$ac_wine_try_cflags_saved
13938 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wtype_limits" >&5
13939 $as_echo "$ac_cv_cflags__Wtype_limits" >&6; }
13940 if test "x$ac_cv_cflags__Wtype_limits" = xyes
; then :
13941 EXTRACFLAGS
="$EXTRACFLAGS -Wtype-limits"
13943 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wunused-but-set-parameter" >&5
13944 $as_echo_n "checking whether the compiler supports -Wunused-but-set-parameter... " >&6; }
13945 if ${ac_cv_cflags__Wunused_but_set_parameter+:} false
; then :
13946 $as_echo_n "(cached) " >&6
13948 ac_wine_try_cflags_saved
=$CFLAGS
13949 CFLAGS
="$CFLAGS -Wunused-but-set-parameter"
13950 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13951 /* end confdefs.h. */
13952 int main(int argc, char **argv) { return 0; }
13954 if ac_fn_c_try_link
"$LINENO"; then :
13955 ac_cv_cflags__Wunused_but_set_parameter
=yes
13957 ac_cv_cflags__Wunused_but_set_parameter
=no
13959 rm -f core conftest.err conftest.
$ac_objext \
13960 conftest
$ac_exeext conftest.
$ac_ext
13961 CFLAGS
=$ac_wine_try_cflags_saved
13963 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wunused_but_set_parameter" >&5
13964 $as_echo "$ac_cv_cflags__Wunused_but_set_parameter" >&6; }
13965 if test "x$ac_cv_cflags__Wunused_but_set_parameter" = xyes
; then :
13966 EXTRACFLAGS
="$EXTRACFLAGS -Wunused-but-set-parameter"
13968 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wvla" >&5
13969 $as_echo_n "checking whether the compiler supports -Wvla... " >&6; }
13970 if ${ac_cv_cflags__Wvla+:} false
; then :
13971 $as_echo_n "(cached) " >&6
13973 ac_wine_try_cflags_saved
=$CFLAGS
13974 CFLAGS
="$CFLAGS -Wvla"
13975 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13976 /* end confdefs.h. */
13977 int main(int argc, char **argv) { return 0; }
13979 if ac_fn_c_try_link
"$LINENO"; then :
13980 ac_cv_cflags__Wvla
=yes
13982 ac_cv_cflags__Wvla
=no
13984 rm -f core conftest.err conftest.
$ac_objext \
13985 conftest
$ac_exeext conftest.
$ac_ext
13986 CFLAGS
=$ac_wine_try_cflags_saved
13988 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wvla" >&5
13989 $as_echo "$ac_cv_cflags__Wvla" >&6; }
13990 if test "x$ac_cv_cflags__Wvla" = xyes
; then :
13991 EXTRACFLAGS
="$EXTRACFLAGS -Wvla"
13993 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wwrite-strings" >&5
13994 $as_echo_n "checking whether the compiler supports -Wwrite-strings... " >&6; }
13995 if ${ac_cv_cflags__Wwrite_strings+:} false
; then :
13996 $as_echo_n "(cached) " >&6
13998 ac_wine_try_cflags_saved
=$CFLAGS
13999 CFLAGS
="$CFLAGS -Wwrite-strings"
14000 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14001 /* end confdefs.h. */
14002 int main(int argc, char **argv) { return 0; }
14004 if ac_fn_c_try_link
"$LINENO"; then :
14005 ac_cv_cflags__Wwrite_strings
=yes
14007 ac_cv_cflags__Wwrite_strings
=no
14009 rm -f core conftest.err conftest.
$ac_objext \
14010 conftest
$ac_exeext conftest.
$ac_ext
14011 CFLAGS
=$ac_wine_try_cflags_saved
14013 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wwrite_strings" >&5
14014 $as_echo "$ac_cv_cflags__Wwrite_strings" >&6; }
14015 if test "x$ac_cv_cflags__Wwrite_strings" = xyes
; then :
14016 EXTRACFLAGS
="$EXTRACFLAGS -Wwrite-strings"
14019 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wpointer-arith" >&5
14020 $as_echo_n "checking whether the compiler supports -Wpointer-arith... " >&6; }
14021 if ${ac_cv_cflags__Wpointer_arith+:} false
; then :
14022 $as_echo_n "(cached) " >&6
14024 ac_wine_try_cflags_saved
=$CFLAGS
14025 CFLAGS
="$CFLAGS -Wpointer-arith"
14026 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14027 /* end confdefs.h. */
14028 int main(int argc, char **argv) { return 0; }
14030 if ac_fn_c_try_link
"$LINENO"; then :
14031 ac_cv_cflags__Wpointer_arith
=yes
14033 ac_cv_cflags__Wpointer_arith
=no
14035 rm -f core conftest.err conftest.
$ac_objext \
14036 conftest
$ac_exeext conftest.
$ac_ext
14037 CFLAGS
=$ac_wine_try_cflags_saved
14039 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wpointer_arith" >&5
14040 $as_echo "$ac_cv_cflags__Wpointer_arith" >&6; }
14041 if test "x$ac_cv_cflags__Wpointer_arith" = xyes
; then :
14042 saved_string_h_CFLAGS
=$CFLAGS
14043 CFLAGS
="$CFLAGS -Wpointer-arith -Werror"
14044 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for broken string.h that generates warnings with -Wpointer-arith" >&5
14045 $as_echo_n "checking for broken string.h that generates warnings with -Wpointer-arith... " >&6; }
14046 if ${ac_cv_c_string_h_warnings+:} false
; then :
14047 $as_echo_n "(cached) " >&6
14049 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14050 /* end confdefs.h. */
14051 #include <string.h>
14060 if ac_fn_c_try_compile
"$LINENO"; then :
14061 ac_cv_c_string_h_warnings
=no
14063 ac_cv_c_string_h_warnings
=yes
14065 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
14067 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_string_h_warnings" >&5
14068 $as_echo "$ac_cv_c_string_h_warnings" >&6; }
14069 test "$ac_cv_c_string_h_warnings" = yes || EXTRACFLAGS
="$EXTRACFLAGS -Wpointer-arith"
14070 CFLAGS
=$saved_string_h_CFLAGS
14073 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wlogical-op" >&5
14074 $as_echo_n "checking whether the compiler supports -Wlogical-op... " >&6; }
14075 if ${ac_cv_cflags__Wlogical_op+:} false
; then :
14076 $as_echo_n "(cached) " >&6
14078 ac_wine_try_cflags_saved
=$CFLAGS
14079 CFLAGS
="$CFLAGS -Wlogical-op"
14080 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14081 /* end confdefs.h. */
14082 int main(int argc, char **argv) { return 0; }
14084 if ac_fn_c_try_link
"$LINENO"; then :
14085 ac_cv_cflags__Wlogical_op
=yes
14087 ac_cv_cflags__Wlogical_op
=no
14089 rm -f core conftest.err conftest.
$ac_objext \
14090 conftest
$ac_exeext conftest.
$ac_ext
14091 CFLAGS
=$ac_wine_try_cflags_saved
14093 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wlogical_op" >&5
14094 $as_echo "$ac_cv_cflags__Wlogical_op" >&6; }
14095 if test "x$ac_cv_cflags__Wlogical_op" = xyes
; then :
14096 saved_string_h_CFLAGS
=$CFLAGS
14097 CFLAGS
="$CFLAGS -Wlogical-op -Werror"
14098 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for broken string.h that generates warnings with -Wlogical-op" >&5
14099 $as_echo_n "checking for broken string.h that generates warnings with -Wlogical-op... " >&6; }
14100 if ${ac_cv_c_logicalop_noisy+:} false
; then :
14101 $as_echo_n "(cached) " >&6
14103 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14104 /* end confdefs.h. */
14105 #include <string.h>
14106 char*f(const char *h,char n) {return strchr(h,n);}
14115 if ac_fn_c_try_compile
"$LINENO"; then :
14116 ac_cv_c_logicalop_noisy
=no
14118 ac_cv_c_logicalop_noisy
=yes
14120 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
14122 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_logicalop_noisy" >&5
14123 $as_echo "$ac_cv_c_logicalop_noisy" >&6; }
14124 CFLAGS
=$saved_string_h_CFLAGS
14125 test "$ac_cv_c_logicalop_noisy" = yes || EXTRACFLAGS
="$EXTRACFLAGS -Wlogical-op"
14128 CFLAGS
=$saved_CFLAGS
14130 for ac_flag
in $CFLAGS; do
14132 -g) case $host_os in
14133 darwin
*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -gstabs+" >&5
14134 $as_echo_n "checking whether the compiler supports -gstabs+... " >&6; }
14135 if ${ac_cv_cflags__gstabsp+:} false
; then :
14136 $as_echo_n "(cached) " >&6
14138 ac_wine_try_cflags_saved
=$CFLAGS
14139 CFLAGS
="$CFLAGS -gstabs+"
14140 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14141 /* end confdefs.h. */
14142 int main(int argc, char **argv) { return 0; }
14144 if ac_fn_c_try_link
"$LINENO"; then :
14145 ac_cv_cflags__gstabsp
=yes
14147 ac_cv_cflags__gstabsp
=no
14149 rm -f core conftest.err conftest.
$ac_objext \
14150 conftest
$ac_exeext conftest.
$ac_ext
14151 CFLAGS
=$ac_wine_try_cflags_saved
14153 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__gstabsp" >&5
14154 $as_echo "$ac_cv_cflags__gstabsp" >&6; }
14155 if test "x$ac_cv_cflags__gstabsp" = xyes
; then :
14156 EXTRACFLAGS
="$EXTRACFLAGS -gstabs+"
14158 *) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -gdwarf-2" >&5
14159 $as_echo_n "checking whether the compiler supports -gdwarf-2... " >&6; }
14160 if ${ac_cv_cflags__gdwarf_2+:} false
; then :
14161 $as_echo_n "(cached) " >&6
14163 ac_wine_try_cflags_saved
=$CFLAGS
14164 CFLAGS
="$CFLAGS -gdwarf-2"
14165 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14166 /* end confdefs.h. */
14167 int main(int argc, char **argv) { return 0; }
14169 if ac_fn_c_try_link
"$LINENO"; then :
14170 ac_cv_cflags__gdwarf_2
=yes
14172 ac_cv_cflags__gdwarf_2
=no
14174 rm -f core conftest.err conftest.
$ac_objext \
14175 conftest
$ac_exeext conftest.
$ac_ext
14176 CFLAGS
=$ac_wine_try_cflags_saved
14178 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__gdwarf_2" >&5
14179 $as_echo "$ac_cv_cflags__gdwarf_2" >&6; }
14180 if test "x$ac_cv_cflags__gdwarf_2" = xyes
; then :
14181 EXTRACFLAGS
="$EXTRACFLAGS -gdwarf-2"
14183 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -gstrict-dwarf" >&5
14184 $as_echo_n "checking whether the compiler supports -gstrict-dwarf... " >&6; }
14185 if ${ac_cv_cflags__gstrict_dwarf+:} false
; then :
14186 $as_echo_n "(cached) " >&6
14188 ac_wine_try_cflags_saved
=$CFLAGS
14189 CFLAGS
="$CFLAGS -gstrict-dwarf"
14190 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14191 /* end confdefs.h. */
14192 int main(int argc, char **argv) { return 0; }
14194 if ac_fn_c_try_link
"$LINENO"; then :
14195 ac_cv_cflags__gstrict_dwarf
=yes
14197 ac_cv_cflags__gstrict_dwarf
=no
14199 rm -f core conftest.err conftest.
$ac_objext \
14200 conftest
$ac_exeext conftest.
$ac_ext
14201 CFLAGS
=$ac_wine_try_cflags_saved
14203 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__gstrict_dwarf" >&5
14204 $as_echo "$ac_cv_cflags__gstrict_dwarf" >&6; }
14205 if test "x$ac_cv_cflags__gstrict_dwarf" = xyes
; then :
14206 EXTRACFLAGS
="$EXTRACFLAGS -gstrict-dwarf"
14213 *i
[3456789]86*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fno-omit-frame-pointer" >&5
14214 $as_echo_n "checking whether the compiler supports -fno-omit-frame-pointer... " >&6; }
14215 if ${ac_cv_cflags__fno_omit_frame_pointer+:} false
; then :
14216 $as_echo_n "(cached) " >&6
14218 ac_wine_try_cflags_saved
=$CFLAGS
14219 CFLAGS
="$CFLAGS -fno-omit-frame-pointer"
14220 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14221 /* end confdefs.h. */
14222 int main(int argc, char **argv) { return 0; }
14224 if ac_fn_c_try_link
"$LINENO"; then :
14225 ac_cv_cflags__fno_omit_frame_pointer
=yes
14227 ac_cv_cflags__fno_omit_frame_pointer
=no
14229 rm -f core conftest.err conftest.
$ac_objext \
14230 conftest
$ac_exeext conftest.
$ac_ext
14231 CFLAGS
=$ac_wine_try_cflags_saved
14233 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fno_omit_frame_pointer" >&5
14234 $as_echo "$ac_cv_cflags__fno_omit_frame_pointer" >&6; }
14235 if test "x$ac_cv_cflags__fno_omit_frame_pointer" = xyes
; then :
14236 EXTRACFLAGS
="$EXTRACFLAGS -fno-omit-frame-pointer"
14241 x86_64-
*mingw32
*|x86_64-
*cygwin
*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wno-format" >&5
14242 $as_echo_n "checking whether the compiler supports -Wno-format... " >&6; }
14243 if ${ac_cv_cflags__Wno_format+:} false
; then :
14244 $as_echo_n "(cached) " >&6
14246 ac_wine_try_cflags_saved
=$CFLAGS
14247 CFLAGS
="$CFLAGS -Wno-format"
14248 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14249 /* end confdefs.h. */
14250 int main(int argc, char **argv) { return 0; }
14252 if ac_fn_c_try_link
"$LINENO"; then :
14253 ac_cv_cflags__Wno_format
=yes
14255 ac_cv_cflags__Wno_format
=no
14257 rm -f core conftest.err conftest.
$ac_objext \
14258 conftest
$ac_exeext conftest.
$ac_ext
14259 CFLAGS
=$ac_wine_try_cflags_saved
14261 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wno_format" >&5
14262 $as_echo "$ac_cv_cflags__Wno_format" >&6; }
14263 if test "x$ac_cv_cflags__Wno_format" = xyes
; then :
14264 EXTRACFLAGS
="$EXTRACFLAGS -Wno-format"
14268 if test "x$enable_maintainer_mode" = "xyes"
14270 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Werror" >&5
14271 $as_echo_n "checking whether the compiler supports -Werror... " >&6; }
14272 if ${ac_cv_cflags__Werror+:} false
; then :
14273 $as_echo_n "(cached) " >&6
14275 ac_wine_try_cflags_saved
=$CFLAGS
14276 CFLAGS
="$CFLAGS -Werror"
14277 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14278 /* end confdefs.h. */
14279 int main(int argc, char **argv) { return 0; }
14281 if ac_fn_c_try_link
"$LINENO"; then :
14282 ac_cv_cflags__Werror
=yes
14284 ac_cv_cflags__Werror
=no
14286 rm -f core conftest.err conftest.
$ac_objext \
14287 conftest
$ac_exeext conftest.
$ac_ext
14288 CFLAGS
=$ac_wine_try_cflags_saved
14290 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Werror" >&5
14291 $as_echo "$ac_cv_cflags__Werror" >&6; }
14292 if test "x$ac_cv_cflags__Werror" = xyes
; then :
14293 EXTRACFLAGS
="$EXTRACFLAGS -Werror"
14297 saved_CFLAGS
="$CFLAGS"
14298 CFLAGS
="$CFLAGS -Werror"
14299 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ms_hook_prologue attribute" >&5
14300 $as_echo_n "checking for ms_hook_prologue attribute... " >&6; }
14301 if ${ac_cv_have_ms_hook_prologue+:} false
; then :
14302 $as_echo_n "(cached) " >&6
14304 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14305 /* end confdefs.h. */
14306 int __attribute__((__ms_hook_prologue__)) test(void) { return 0; }
14315 if ac_fn_c_try_compile
"$LINENO"; then :
14316 ac_cv_have_ms_hook_prologue
="yes"
14318 ac_cv_have_ms_hook_prologue
="no"
14320 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
14322 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_ms_hook_prologue" >&5
14323 $as_echo "$ac_cv_have_ms_hook_prologue" >&6; }
14324 CFLAGS
="$saved_CFLAGS"
14325 if test "$ac_cv_have_ms_hook_prologue" = "yes"
14328 $as_echo "#define DECLSPEC_HOTPATCH __attribute__((__ms_hook_prologue__))" >>confdefs.h
14331 $as_echo "#define DECLSPEC_HOTPATCH /* */" >>confdefs.h
14337 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for the need to disable Fortify" >&5
14338 $as_echo_n "checking for the need to disable Fortify... " >&6; }
14339 if ${ac_cv_c_fortify_enabled+:} false
; then :
14340 $as_echo_n "(cached) " >&6
14342 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14343 /* end confdefs.h. */
14344 #include <string.h>
14348 #if defined(__USE_FORTIFY_LEVEL) && __USE_FORTIFY_LEVEL > 0
14349 #error Fortify enabled
14355 if ac_fn_c_try_compile
"$LINENO"; then :
14356 ac_cv_c_fortify_enabled
=no
14358 ac_cv_c_fortify_enabled
=yes
14360 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
14362 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_fortify_enabled" >&5
14363 $as_echo "$ac_cv_c_fortify_enabled" >&6; }
14364 if test "$ac_cv_c_fortify_enabled" = yes
14366 CFLAGS
="$CFLAGS -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=0"
14370 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether external symbols need an underscore prefix" >&5
14371 $as_echo_n "checking whether external symbols need an underscore prefix... " >&6; }
14372 if ${ac_cv_c_extern_prefix+:} false
; then :
14373 $as_echo_n "(cached) " >&6
14375 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14376 /* end confdefs.h. */
14377 extern int ac_test;
14381 asm(".globl _ac_test\n_ac_test:\t.long 0"); if (ac_test) return 1
14386 if ac_fn_c_try_link
"$LINENO"; then :
14387 ac_cv_c_extern_prefix
="yes"
14389 ac_cv_c_extern_prefix
="no"
14391 rm -f core conftest.err conftest.
$ac_objext \
14392 conftest
$ac_exeext conftest.
$ac_ext
14394 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_extern_prefix" >&5
14395 $as_echo "$ac_cv_c_extern_prefix" >&6; }
14399 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether external symbols need stdcall decoration" >&5
14400 $as_echo_n "checking whether external symbols need stdcall decoration... " >&6; }
14401 if ${ac_cv_c_stdcall_suffix+:} false
; then :
14402 $as_echo_n "(cached) " >&6
14404 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14405 /* end confdefs.h. */
14407 #define __stdcall __attribute__((__stdcall__))
14409 int __stdcall ac_test(int i) { return i; }
14413 asm("jmp _ac_test@4"); if (ac_test(1)) return 1
14418 if ac_fn_c_try_link
"$LINENO"; then :
14419 ac_cv_c_stdcall_suffix
="yes"
14421 ac_cv_c_stdcall_suffix
="no"
14423 rm -f core conftest.err conftest.
$ac_objext \
14424 conftest
$ac_exeext conftest.
$ac_ext
14426 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_stdcall_suffix" >&5
14427 $as_echo "$ac_cv_c_stdcall_suffix" >&6; } ;;
14428 *) ac_cv_c_stdcall_suffix
="no" ;;
14432 if test "$ac_cv_c_extern_prefix" = "yes"
14434 $as_echo "#define __ASM_NAME(name) \"_\" name" >>confdefs.h
14436 asm_name_prefix
="_"
14438 $as_echo "#define __ASM_NAME(name) name" >>confdefs.h
14444 if test "$ac_cv_c_stdcall_suffix" = "yes"
14446 $as_echo "#define __ASM_STDCALL(args) \"@\" #args" >>confdefs.h
14449 $as_echo "#define __ASM_STDCALL(args) \"\"" >>confdefs.h
14454 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to define a function in assembly code" >&5
14455 $as_echo_n "checking how to define a function in assembly code... " >&6; }
14456 if ${ac_cv_asm_func_def+:} false
; then :
14457 $as_echo_n "(cached) " >&6
14459 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14460 /* end confdefs.h. */
14465 asm("\t.globl _ac_test\n\t.def _ac_test; .scl 2; .type 32; .endef\n_ac_test:\t.long 0");
14470 if ac_fn_c_try_link
"$LINENO"; then :
14471 ac_cv_asm_func_def
=".def"
14473 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14474 /* end confdefs.h. */
14479 asm("\t.globl _ac_test\n\t.type _ac_test,@function\n_ac_test:\t.long 0");
14484 if ac_fn_c_try_link
"$LINENO"; then :
14485 ac_cv_asm_func_def
=".type @function"
14487 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14488 /* end confdefs.h. */
14493 asm("\t.globl _ac_test\n\t.type _ac_test,2\n_ac_test:\t.long 0");
14498 if ac_fn_c_try_link
"$LINENO"; then :
14499 ac_cv_asm_func_def
=".type 2"
14501 ac_cv_asm_func_def
="unknown"
14503 rm -f core conftest.err conftest.
$ac_objext \
14504 conftest
$ac_exeext conftest.
$ac_ext
14506 rm -f core conftest.err conftest.
$ac_objext \
14507 conftest
$ac_exeext conftest.
$ac_ext
14509 rm -f core conftest.err conftest.
$ac_objext \
14510 conftest
$ac_exeext conftest.
$ac_ext
14512 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_asm_func_def" >&5
14513 $as_echo "$ac_cv_asm_func_def" >&6; }
14516 case "$ac_cv_asm_func_def" in
14518 $as_echo "#define __ASM_FUNC(name) \".def \" __ASM_NAME(name) \"; .scl 2; .type 32; .endef\"" >>confdefs.h
14520 asm_func_header
=".def $asm_name_prefix\" #name suffix \"; .scl 2; .type 32; .endef" ;;
14522 $as_echo "#define __ASM_FUNC(name) \".type \" __ASM_NAME(name) \",@function\"" >>confdefs.h
14524 asm_func_header
=".type $asm_name_prefix\" #name suffix \",@function" ;;
14526 $as_echo "#define __ASM_FUNC(name) \".type \" __ASM_NAME(name) \",2\"" >>confdefs.h
14528 asm_func_header
=".type $asm_name_prefix\" #name suffix \",2" ;;
14530 $as_echo "#define __ASM_FUNC(name) \"\"" >>confdefs.h
14532 asm_func_header
="" ;;
14535 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether asm() works outside of functions" >&5
14536 $as_echo_n "checking whether asm() works outside of functions... " >&6; }
14537 if ${ac_cv_c_asm_outside_funcs+:} false
; then :
14538 $as_echo_n "(cached) " >&6
14540 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14541 /* end confdefs.h. */
14542 asm(".text\n\t.long 0");
14551 if ac_fn_c_try_compile
"$LINENO"; then :
14552 ac_cv_c_asm_outside_funcs
="yes"
14554 ac_cv_c_asm_outside_funcs
="no"
14556 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
14558 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_asm_outside_funcs" >&5
14559 $as_echo "$ac_cv_c_asm_outside_funcs" >&6; }
14561 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether .previous is supported in assembly code" >&5
14562 $as_echo_n "checking whether .previous is supported in assembly code... " >&6; }
14563 if ${ac_cv_c_dot_previous+:} false
; then :
14564 $as_echo_n "(cached) " >&6
14566 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14567 /* end confdefs.h. */
14572 asm(".text\nac_test:\t.long 0\n\t.previous");
14577 if ac_fn_c_try_link
"$LINENO"; then :
14578 ac_cv_c_dot_previous
="yes"
14580 ac_cv_c_dot_previous
="no"
14582 rm -f core conftest.err conftest.
$ac_objext \
14583 conftest
$ac_exeext conftest.
$ac_ext
14585 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_dot_previous" >&5
14586 $as_echo "$ac_cv_c_dot_previous" >&6; }
14588 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether CFI directives are supported in assembly code" >&5
14589 $as_echo_n "checking whether CFI directives are supported in assembly code... " >&6; }
14590 if ${ac_cv_c_cfi_support+:} false
; then :
14591 $as_echo_n "(cached) " >&6
14593 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14594 /* end confdefs.h. */
14595 asm(".text\nac_test:\t.cfi_startproc\n\t.long 0\n\t.cfi_endproc");
14604 if ac_fn_c_try_compile
"$LINENO"; then :
14605 ac_cv_c_cfi_support
="yes"
14607 ac_cv_c_cfi_support
="no"
14609 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
14611 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_cfi_support" >&5
14612 $as_echo "$ac_cv_c_cfi_support" >&6; }
14614 asm_func_header
=".globl $asm_name_prefix\" #name suffix \"\\n\\t$asm_func_header\\n$asm_name_prefix\" #name suffix \":\\n\\t"
14615 asm_func_trailer
=""
14616 if test "$ac_cv_c_dot_previous" = "yes"
14618 asm_func_trailer
="\\n\\t.previous"
14620 if test "$ac_cv_c_cfi_support" = "yes"
14622 asm_func_header
="$asm_func_header.cfi_startproc\\n\\t"
14623 asm_func_trailer
="\\n\\t.cfi_endproc$asm_func_trailer"
14625 $as_echo "#define __ASM_CFI(str) str" >>confdefs.h
14627 UNWINDFLAGS
=-fasynchronous-unwind-tables
14630 $as_echo "#define __ASM_CFI(str) \"\"" >>confdefs.h
14634 asm_func_code
="$asm_func_header\" code \"$asm_func_trailer"
14637 if test "$ac_cv_c_asm_outside_funcs" = "yes"
14639 cat >>confdefs.h
<<_ACEOF
14640 #define __ASM_DEFINE_FUNC(name,suffix,code) asm(".text\n\t.align 4\n\t$asm_func_code");
14644 cat >>confdefs.h
<<_ACEOF
14645 #define __ASM_DEFINE_FUNC(name,suffix,code) void __asm_dummy_##name(void) { asm(".text\n\t.align 4\n\t$asm_func_code"); }
14650 $as_echo "#define __ASM_GLOBAL_FUNC(name,code) __ASM_DEFINE_FUNC(name,\"\",code)" >>confdefs.h
14653 $as_echo "#define __ASM_STDCALL_FUNC(name,args,code) __ASM_DEFINE_FUNC(name,__ASM_STDCALL(args),code)" >>confdefs.h
14658 cygwin
*|mingw32
*) TOOLSEXT
=".exe"
14665 *i
[3456789]86*|x86_64
*)
14666 test "$wine_binary" = wine || wine_fn_ignore_file
"loader/wine-preloader"
14667 loader_programs
="$loader_programs $wine_binary-preloader"
14668 as_fn_append LOADER_RULES
"
14669 $wine_binary-preloader: preloader.o
14670 \$(CC) -o \$@ -static -nostartfiles -nodefaultlibs -Wl,-Ttext=0x7c400000 preloader.o \$(LIBPORT) \$(LDFLAGS)
14672 install install-lib:: $wine_binary-preloader
14673 \$(INSTALL_PROGRAM) $wine_binary-preloader \$(DESTDIR)\$(bindir)/$wine_binary-preloader
14676 \$(RM) \$(DESTDIR)\$(bindir)/$wine_binary-preloader
14678 preloader_EXTRADEFS = $BUILTINFLAG
14683 as_fn_append LOADER_RULES
"
14684 PROGRAMS = $loader_programs
14688 ac_save_CFLAGS
="$CFLAGS"
14689 CFLAGS
="$CFLAGS $BUILTINFLAG"
14768 as_ac_var
=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
14769 ac_fn_c_check_func
"$LINENO" "$ac_func" "$as_ac_var"
14770 if eval test \"x\$
"$as_ac_var"\" = x
"yes"; then :
14771 cat >>confdefs.h
<<_ACEOF
14772 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
14778 CFLAGS
="$ac_save_CFLAGS"
14780 if test "$ac_cv_func_dlopen" = no
14782 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
14783 $as_echo_n "checking for dlopen in -ldl... " >&6; }
14784 if ${ac_cv_lib_dl_dlopen+:} false
; then :
14785 $as_echo_n "(cached) " >&6
14787 ac_check_lib_save_LIBS
=$LIBS
14789 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14790 /* end confdefs.h. */
14792 /* Override any GCC internal prototype to avoid an error.
14793 Use char because int might match the return type of a GCC
14794 builtin and then its argument prototype would still apply. */
14807 if ac_fn_c_try_link
"$LINENO"; then :
14808 ac_cv_lib_dl_dlopen
=yes
14810 ac_cv_lib_dl_dlopen
=no
14812 rm -f core conftest.err conftest.
$ac_objext \
14813 conftest
$ac_exeext conftest.
$ac_ext
14814 LIBS
=$ac_check_lib_save_LIBS
14816 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
14817 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
14818 if test "x$ac_cv_lib_dl_dlopen" = xyes
; then :
14819 $as_echo "#define HAVE_DLOPEN 1" >>confdefs.h
14825 ac_wine_check_funcs_save_LIBS
="$LIBS"
14826 LIBS
="$LIBS $DL_LIBS"
14827 for ac_func
in dladdr
14829 ac_fn_c_check_func
"$LINENO" "dladdr" "ac_cv_func_dladdr"
14830 if test "x$ac_cv_func_dladdr" = xyes
; then :
14831 cat >>confdefs.h
<<_ACEOF
14832 #define HAVE_DLADDR 1
14838 LIBS
="$ac_wine_check_funcs_save_LIBS"
14840 if test "$ac_cv_func_poll" = no
14842 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for poll in -lpoll" >&5
14843 $as_echo_n "checking for poll in -lpoll... " >&6; }
14844 if ${ac_cv_lib_poll_poll+:} false
; then :
14845 $as_echo_n "(cached) " >&6
14847 ac_check_lib_save_LIBS
=$LIBS
14848 LIBS
="-lpoll $LIBS"
14849 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14850 /* end confdefs.h. */
14852 /* Override any GCC internal prototype to avoid an error.
14853 Use char because int might match the return type of a GCC
14854 builtin and then its argument prototype would still apply. */
14867 if ac_fn_c_try_link
"$LINENO"; then :
14868 ac_cv_lib_poll_poll
=yes
14870 ac_cv_lib_poll_poll
=no
14872 rm -f core conftest.err conftest.
$ac_objext \
14873 conftest
$ac_exeext conftest.
$ac_ext
14874 LIBS
=$ac_check_lib_save_LIBS
14876 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_poll_poll" >&5
14877 $as_echo "$ac_cv_lib_poll_poll" >&6; }
14878 if test "x$ac_cv_lib_poll_poll" = xyes
; then :
14879 $as_echo "#define HAVE_POLL 1" >>confdefs.h
14886 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing gethostbyname" >&5
14887 $as_echo_n "checking for library containing gethostbyname... " >&6; }
14888 if ${ac_cv_search_gethostbyname+:} false
; then :
14889 $as_echo_n "(cached) " >&6
14891 ac_func_search_save_LIBS
=$LIBS
14892 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14893 /* end confdefs.h. */
14895 /* Override any GCC internal prototype to avoid an error.
14896 Use char because int might match the return type of a GCC
14897 builtin and then its argument prototype would still apply. */
14901 char gethostbyname ();
14905 return gethostbyname ();
14910 for ac_lib
in '' nsl
; do
14911 if test -z "$ac_lib"; then
14912 ac_res
="none required"
14915 LIBS
="-l$ac_lib $ac_func_search_save_LIBS"
14917 if ac_fn_c_try_link
"$LINENO"; then :
14918 ac_cv_search_gethostbyname
=$ac_res
14920 rm -f core conftest.err conftest.
$ac_objext \
14922 if ${ac_cv_search_gethostbyname+:} false
; then :
14926 if ${ac_cv_search_gethostbyname+:} false
; then :
14929 ac_cv_search_gethostbyname
=no
14931 rm conftest.
$ac_ext
14932 LIBS
=$ac_func_search_save_LIBS
14934 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_gethostbyname" >&5
14935 $as_echo "$ac_cv_search_gethostbyname" >&6; }
14936 ac_res
=$ac_cv_search_gethostbyname
14937 if test "$ac_res" != no
; then :
14938 test "$ac_res" = "none required" || LIBS
="$ac_res $LIBS"
14943 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing connect" >&5
14944 $as_echo_n "checking for library containing connect... " >&6; }
14945 if ${ac_cv_search_connect+:} false
; then :
14946 $as_echo_n "(cached) " >&6
14948 ac_func_search_save_LIBS
=$LIBS
14949 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14950 /* end confdefs.h. */
14952 /* Override any GCC internal prototype to avoid an error.
14953 Use char because int might match the return type of a GCC
14954 builtin and then its argument prototype would still apply. */
14967 for ac_lib
in '' socket
; do
14968 if test -z "$ac_lib"; then
14969 ac_res
="none required"
14972 LIBS
="-l$ac_lib $ac_func_search_save_LIBS"
14974 if ac_fn_c_try_link
"$LINENO"; then :
14975 ac_cv_search_connect
=$ac_res
14977 rm -f core conftest.err conftest.
$ac_objext \
14979 if ${ac_cv_search_connect+:} false
; then :
14983 if ${ac_cv_search_connect+:} false
; then :
14986 ac_cv_search_connect
=no
14988 rm conftest.
$ac_ext
14989 LIBS
=$ac_func_search_save_LIBS
14991 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_connect" >&5
14992 $as_echo "$ac_cv_search_connect" >&6; }
14993 ac_res
=$ac_cv_search_connect
14994 if test "$ac_res" != no
; then :
14995 test "$ac_res" = "none required" || LIBS
="$ac_res $LIBS"
15000 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing inet_aton" >&5
15001 $as_echo_n "checking for library containing inet_aton... " >&6; }
15002 if ${ac_cv_search_inet_aton+:} false
; then :
15003 $as_echo_n "(cached) " >&6
15005 ac_func_search_save_LIBS
=$LIBS
15006 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15007 /* end confdefs.h. */
15009 /* Override any GCC internal prototype to avoid an error.
15010 Use char because int might match the return type of a GCC
15011 builtin and then its argument prototype would still apply. */
15019 return inet_aton ();
15024 for ac_lib
in '' resolv
; do
15025 if test -z "$ac_lib"; then
15026 ac_res
="none required"
15029 LIBS
="-l$ac_lib $ac_func_search_save_LIBS"
15031 if ac_fn_c_try_link
"$LINENO"; then :
15032 ac_cv_search_inet_aton
=$ac_res
15034 rm -f core conftest.err conftest.
$ac_objext \
15036 if ${ac_cv_search_inet_aton+:} false
; then :
15040 if ${ac_cv_search_inet_aton+:} false
; then :
15043 ac_cv_search_inet_aton
=no
15045 rm conftest.
$ac_ext
15046 LIBS
=$ac_func_search_save_LIBS
15048 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_inet_aton" >&5
15049 $as_echo "$ac_cv_search_inet_aton" >&6; }
15050 ac_res
=$ac_cv_search_inet_aton
15051 if test "$ac_res" != no
; then :
15052 test "$ac_res" = "none required" || LIBS
="$ac_res $LIBS"
15072 as_ac_var
=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
15073 ac_fn_c_check_func
"$LINENO" "$ac_func" "$as_ac_var"
15074 if eval test \"x\$
"$as_ac_var"\" = x
"yes"; then :
15075 cat >>confdefs.h
<<_ACEOF
15076 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
15084 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing clock_gettime" >&5
15085 $as_echo_n "checking for library containing clock_gettime... " >&6; }
15086 if ${ac_cv_search_clock_gettime+:} false
; then :
15087 $as_echo_n "(cached) " >&6
15089 ac_func_search_save_LIBS
=$LIBS
15090 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15091 /* end confdefs.h. */
15093 /* Override any GCC internal prototype to avoid an error.
15094 Use char because int might match the return type of a GCC
15095 builtin and then its argument prototype would still apply. */
15099 char clock_gettime ();
15103 return clock_gettime ();
15108 for ac_lib
in '' rt
; do
15109 if test -z "$ac_lib"; then
15110 ac_res
="none required"
15113 LIBS
="-l$ac_lib $ac_func_search_save_LIBS"
15115 if ac_fn_c_try_link
"$LINENO"; then :
15116 ac_cv_search_clock_gettime
=$ac_res
15118 rm -f core conftest.err conftest.
$ac_objext \
15120 if ${ac_cv_search_clock_gettime+:} false
; then :
15124 if ${ac_cv_search_clock_gettime+:} false
; then :
15127 ac_cv_search_clock_gettime
=no
15129 rm conftest.
$ac_ext
15130 LIBS
=$ac_func_search_save_LIBS
15132 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_clock_gettime" >&5
15133 $as_echo "$ac_cv_search_clock_gettime" >&6; }
15134 ac_res
=$ac_cv_search_clock_gettime
15135 if test "$ac_res" != no
; then :
15136 test "$ac_res" = "none required" || LIBS
="$ac_res $LIBS"
15138 $as_echo "#define HAVE_CLOCK_GETTIME 1" >>confdefs.h
15140 test "$ac_res" = "none required" || RT_LIBS
="$ac_res"
15148 if test "$ac_cv_header_ldap_h" = "yes" -a "$ac_cv_header_lber_h" = "yes"
15150 ac_fn_c_check_type
"$LINENO" "LDAPSortKey" "ac_cv_type_LDAPSortKey" "#include <ldap.h>
15152 if test "x$ac_cv_type_LDAPSortKey" = xyes
; then :
15153 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldap_initialize in -lldap_r" >&5
15154 $as_echo_n "checking for ldap_initialize in -lldap_r... " >&6; }
15155 if ${ac_cv_lib_ldap_r_ldap_initialize+:} false
; then :
15156 $as_echo_n "(cached) " >&6
15158 ac_check_lib_save_LIBS
=$LIBS
15159 LIBS
="-lldap_r $PTHREAD_LIBS $LIBS"
15160 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15161 /* end confdefs.h. */
15163 /* Override any GCC internal prototype to avoid an error.
15164 Use char because int might match the return type of a GCC
15165 builtin and then its argument prototype would still apply. */
15169 char ldap_initialize ();
15173 return ldap_initialize ();
15178 if ac_fn_c_try_link
"$LINENO"; then :
15179 ac_cv_lib_ldap_r_ldap_initialize
=yes
15181 ac_cv_lib_ldap_r_ldap_initialize
=no
15183 rm -f core conftest.err conftest.
$ac_objext \
15184 conftest
$ac_exeext conftest.
$ac_ext
15185 LIBS
=$ac_check_lib_save_LIBS
15187 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ldap_r_ldap_initialize" >&5
15188 $as_echo "$ac_cv_lib_ldap_r_ldap_initialize" >&6; }
15189 if test "x$ac_cv_lib_ldap_r_ldap_initialize" = xyes
; then :
15190 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ber_init in -llber" >&5
15191 $as_echo_n "checking for ber_init in -llber... " >&6; }
15192 if ${ac_cv_lib_lber_ber_init+:} false
; then :
15193 $as_echo_n "(cached) " >&6
15195 ac_check_lib_save_LIBS
=$LIBS
15196 LIBS
="-llber $PTHREAD_LIBS $LIBS"
15197 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15198 /* end confdefs.h. */
15200 /* Override any GCC internal prototype to avoid an error.
15201 Use char because int might match the return type of a GCC
15202 builtin and then its argument prototype would still apply. */
15210 return ber_init ();
15215 if ac_fn_c_try_link
"$LINENO"; then :
15216 ac_cv_lib_lber_ber_init
=yes
15218 ac_cv_lib_lber_ber_init
=no
15220 rm -f core conftest.err conftest.
$ac_objext \
15221 conftest
$ac_exeext conftest.
$ac_ext
15222 LIBS
=$ac_check_lib_save_LIBS
15224 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_lber_ber_init" >&5
15225 $as_echo "$ac_cv_lib_lber_ber_init" >&6; }
15226 if test "x$ac_cv_lib_lber_ber_init" = xyes
; then :
15228 $as_echo "#define HAVE_LDAP 1" >>confdefs.h
15230 LDAP_LIBS
="-lldap_r -llber"
15237 ac_wine_check_funcs_save_LIBS
="$LIBS"
15238 LIBS
="$LIBS $LDAP_LIBS $PTHREAD_LIBS"
15240 ldap_count_references \
15241 ldap_first_reference \
15242 ldap_next_reference \
15243 ldap_parse_reference \
15244 ldap_parse_sort_control \
15245 ldap_parse_sortresponse_control \
15246 ldap_parse_vlv_control \
15247 ldap_parse_vlvresponse_control
15249 as_ac_var
=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
15250 ac_fn_c_check_func
"$LINENO" "$ac_func" "$as_ac_var"
15251 if eval test \"x\$
"$as_ac_var"\" = x
"yes"; then :
15252 cat >>confdefs.h
<<_ACEOF
15253 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
15259 LIBS
="$ac_wine_check_funcs_save_LIBS"
15261 if test "x$LDAP_LIBS" = "x"; then :
15262 case "x$with_ldap" in
15263 x
) as_fn_append wine_notices
"|libldap (OpenLDAP) ${notice_platform}development files not found, LDAP won't be supported." ;;
15265 *) as_fn_error $?
"libldap (OpenLDAP) ${notice_platform}development files not found, LDAP won't be supported.
15266 This is an error since --with-ldap was requested." "$LINENO" 5 ;;
15270 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether mkdir takes only one argument" >&5
15271 $as_echo_n "checking whether mkdir takes only one argument... " >&6; }
15272 if ${wine_cv_one_arg_mkdir+:} false
; then :
15273 $as_echo_n "(cached) " >&6
15275 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15276 /* end confdefs.h. */
15277 #include <sys/stat.h>
15286 if ac_fn_c_try_compile
"$LINENO"; then :
15287 wine_cv_one_arg_mkdir
=yes
15289 wine_cv_one_arg_mkdir
=no
15291 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
15293 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_one_arg_mkdir" >&5
15294 $as_echo "$wine_cv_one_arg_mkdir" >&6; }
15295 if test "$wine_cv_one_arg_mkdir" = "yes"
15298 $as_echo "#define HAVE_ONE_ARG_MKDIR 1" >>confdefs.h
15302 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sched_setaffinity" >&5
15303 $as_echo_n "checking for sched_setaffinity... " >&6; }
15304 if ${wine_cv_have_sched_setaffinity+:} false
; then :
15305 $as_echo_n "(cached) " >&6
15307 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15308 /* end confdefs.h. */
15309 #define _GNU_SOURCE
15314 sched_setaffinity(0, 0, 0);
15319 if ac_fn_c_try_link
"$LINENO"; then :
15320 wine_cv_have_sched_setaffinity
=yes
15322 wine_cv_have_sched_setaffinity
=no
15324 rm -f core conftest.err conftest.
$ac_objext \
15325 conftest
$ac_exeext conftest.
$ac_ext
15327 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_have_sched_setaffinity" >&5
15328 $as_echo "$wine_cv_have_sched_setaffinity" >&6; }
15329 if test "$wine_cv_have_sched_setaffinity" = "yes"
15332 $as_echo "#define HAVE_SCHED_SETAFFINITY 1" >>confdefs.h
15336 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fallocate" >&5
15337 $as_echo_n "checking for fallocate... " >&6; }
15338 if ${wine_cv_have_fallocate+:} false
; then :
15339 $as_echo_n "(cached) " >&6
15341 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15342 /* end confdefs.h. */
15343 #define _GNU_SOURCE
15348 fallocate(-1, 0, 0, 0);
15353 if ac_fn_c_try_link
"$LINENO"; then :
15354 wine_cv_have_fallocate
=yes
15356 wine_cv_have_fallocate
=no
15358 rm -f core conftest.err conftest.
$ac_objext \
15359 conftest
$ac_exeext conftest.
$ac_ext
15361 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_have_fallocate" >&5
15362 $as_echo "$wine_cv_have_fallocate" >&6; }
15363 if test "$wine_cv_have_fallocate" = "yes"
15366 $as_echo "#define HAVE_FALLOCATE 1" >>confdefs.h
15371 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for inline" >&5
15372 $as_echo_n "checking for inline... " >&6; }
15373 if ${ac_cv_c_inline+:} false
; then :
15374 $as_echo_n "(cached) " >&6
15377 for ac_kw
in inline __inline__ __inline
; do
15378 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15379 /* end confdefs.h. */
15380 #ifndef __cplusplus
15382 static $ac_kw foo_t static_foo () {return 0; }
15383 $ac_kw foo_t foo () {return 0; }
15387 if ac_fn_c_try_compile
"$LINENO"; then :
15388 ac_cv_c_inline
=$ac_kw
15390 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
15391 test "$ac_cv_c_inline" != no
&& break
15395 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_inline" >&5
15396 $as_echo "$ac_cv_c_inline" >&6; }
15398 case $ac_cv_c_inline in
15401 case $ac_cv_c_inline in
15403 *) ac_val
=$ac_cv_c_inline;;
15405 cat >>confdefs.h
<<_ACEOF
15406 #ifndef __cplusplus
15407 #define inline $ac_val
15413 ac_fn_c_check_type
"$LINENO" "mode_t" "ac_cv_type_mode_t" "$ac_includes_default"
15414 if test "x$ac_cv_type_mode_t" = xyes
; then :
15416 cat >>confdefs.h
<<_ACEOF
15417 #define HAVE_MODE_T 1
15422 ac_fn_c_check_type
"$LINENO" "off_t" "ac_cv_type_off_t" "$ac_includes_default"
15423 if test "x$ac_cv_type_off_t" = xyes
; then :
15425 cat >>confdefs.h
<<_ACEOF
15426 #define HAVE_OFF_T 1
15431 ac_fn_c_check_type
"$LINENO" "pid_t" "ac_cv_type_pid_t" "$ac_includes_default"
15432 if test "x$ac_cv_type_pid_t" = xyes
; then :
15434 cat >>confdefs.h
<<_ACEOF
15435 #define HAVE_PID_T 1
15440 ac_fn_c_check_type
"$LINENO" "size_t" "ac_cv_type_size_t" "$ac_includes_default"
15441 if test "x$ac_cv_type_size_t" = xyes
; then :
15443 cat >>confdefs.h
<<_ACEOF
15444 #define HAVE_SIZE_T 1
15449 ac_fn_c_check_type
"$LINENO" "ssize_t" "ac_cv_type_ssize_t" "$ac_includes_default"
15450 if test "x$ac_cv_type_ssize_t" = xyes
; then :
15452 cat >>confdefs.h
<<_ACEOF
15453 #define HAVE_SSIZE_T 1
15458 ac_fn_c_check_type
"$LINENO" "long long" "ac_cv_type_long_long" "$ac_includes_default"
15459 if test "x$ac_cv_type_long_long" = xyes
; then :
15461 cat >>confdefs.h
<<_ACEOF
15462 #define HAVE_LONG_LONG 1
15467 ac_fn_c_check_type
"$LINENO" "fsblkcnt_t" "ac_cv_type_fsblkcnt_t" "$ac_includes_default"
15468 if test "x$ac_cv_type_fsblkcnt_t" = xyes
; then :
15470 cat >>confdefs.h
<<_ACEOF
15471 #define HAVE_FSBLKCNT_T 1
15476 ac_fn_c_check_type
"$LINENO" "fsfilcnt_t" "ac_cv_type_fsfilcnt_t" "$ac_includes_default"
15477 if test "x$ac_cv_type_fsfilcnt_t" = xyes
; then :
15479 cat >>confdefs.h
<<_ACEOF
15480 #define HAVE_FSFILCNT_T 1
15486 ac_fn_c_check_type
"$LINENO" "sigset_t" "ac_cv_type_sigset_t" "#include <sys/types.h>
15487 #include <signal.h>
15489 if test "x$ac_cv_type_sigset_t" = xyes
; then :
15491 cat >>confdefs.h
<<_ACEOF
15492 #define HAVE_SIGSET_T 1
15498 ac_fn_c_check_type
"$LINENO" "request_sense" "ac_cv_type_request_sense" "#include <linux/cdrom.h>
15500 if test "x$ac_cv_type_request_sense" = xyes
; then :
15502 cat >>confdefs.h
<<_ACEOF
15503 #define HAVE_REQUEST_SENSE 1
15510 ac_fn_c_check_type
"$LINENO" "struct xinpgen" "ac_cv_type_struct_xinpgen" "#include <sys/types.h>
15511 #ifdef HAVE_SYS_SOCKET_H
15512 #include <sys/socket.h>
15514 #ifdef HAVE_SYS_SOCKETVAR_H
15515 #include <sys/socketvar.h>
15517 #ifdef HAVE_NET_ROUTE_H
15518 #include <net/route.h>
15520 #ifdef HAVE_NETINET_IN_H
15521 #include <netinet/in.h>
15523 #ifdef HAVE_NETINET_IN_SYSTM_H
15524 #include <netinet/in_systm.h>
15526 #ifdef HAVE_NETINET_IP_H
15527 #include <netinet/ip.h>
15529 #ifdef HAVE_NETINET_IN_PCB_H
15530 #include <netinet/in_pcb.h>
15533 if test "x$ac_cv_type_struct_xinpgen" = xyes
; then :
15535 cat >>confdefs.h
<<_ACEOF
15536 #define HAVE_STRUCT_XINPGEN 1
15543 ac_fn_c_check_type
"$LINENO" "struct r_debug" "ac_cv_type_struct_r_debug" "#ifdef HAVE_LINK_H
15546 #ifdef HAVE_SYS_LINK_H
15547 #include <sys/link.h>
15550 if test "x$ac_cv_type_struct_r_debug" = xyes
; then :
15552 cat >>confdefs.h
<<_ACEOF
15553 #define HAVE_STRUCT_R_DEBUG 1
15558 ac_fn_c_check_type
"$LINENO" "struct link_map" "ac_cv_type_struct_link_map" "#ifdef HAVE_LINK_H
15561 #ifdef HAVE_SYS_LINK_H
15562 #include <sys/link.h>
15565 if test "x$ac_cv_type_struct_link_map" = xyes
; then :
15567 cat >>confdefs.h
<<_ACEOF
15568 #define HAVE_STRUCT_LINK_MAP 1
15575 ac_fn_c_check_member
"$LINENO" "struct ff_effect" "direction" "ac_cv_member_struct_ff_effect_direction" "#ifdef HAVE_LINUX_INPUT_H
15576 #include <linux/input.h>
15579 if test "x$ac_cv_member_struct_ff_effect_direction" = xyes
; then :
15581 cat >>confdefs.h
<<_ACEOF
15582 #define HAVE_STRUCT_FF_EFFECT_DIRECTION 1
15589 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sigaddset" >&5
15590 $as_echo_n "checking for sigaddset... " >&6; }
15591 if ${wine_cv_have_sigaddset+:} false
; then :
15592 $as_echo_n "(cached) " >&6
15594 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15595 /* end confdefs.h. */
15596 #include <signal.h>
15600 sigset_t set; sigaddset(&set,SIGTERM);
15605 if ac_fn_c_try_link
"$LINENO"; then :
15606 wine_cv_have_sigaddset
=yes
15608 wine_cv_have_sigaddset
=no
15610 rm -f core conftest.err conftest.
$ac_objext \
15611 conftest
$ac_exeext conftest.
$ac_ext
15613 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_have_sigaddset" >&5
15614 $as_echo "$wine_cv_have_sigaddset" >&6; }
15615 if test "$wine_cv_have_sigaddset" = "yes"
15618 $as_echo "#define HAVE_SIGADDSET 1" >>confdefs.h
15623 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we can use re-entrant gethostbyname_r Linux style" >&5
15624 $as_echo_n "checking whether we can use re-entrant gethostbyname_r Linux style... " >&6; }
15625 if ${wine_cv_linux_gethostbyname_r_6+:} false
; then :
15626 $as_echo_n "(cached) " >&6
15628 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15629 /* end confdefs.h. */
15637 struct hostent *result;
15644 gethostbyname_r(name,&he,buf,bufsize,&result,&errnr);
15645 gethostbyaddr_r(addr, addrlen, addrtype,&he,buf,bufsize,&result,&errnr);
15651 if ac_fn_c_try_link
"$LINENO"; then :
15652 wine_cv_linux_gethostbyname_r_6
=yes
15654 wine_cv_linux_gethostbyname_r_6
=no
15657 rm -f core conftest.err conftest.
$ac_objext \
15658 conftest
$ac_exeext conftest.
$ac_ext
15661 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_linux_gethostbyname_r_6" >&5
15662 $as_echo "$wine_cv_linux_gethostbyname_r_6" >&6; }
15663 if test "$wine_cv_linux_gethostbyname_r_6" = "yes"
15666 $as_echo "#define HAVE_LINUX_GETHOSTBYNAME_R_6 1" >>confdefs.h
15670 if test "$ac_cv_header_linux_joystick_h" = "yes"
15672 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether linux/joystick.h uses the Linux 2.2+ API" >&5
15673 $as_echo_n "checking whether linux/joystick.h uses the Linux 2.2+ API... " >&6; }
15674 if ${wine_cv_linux_joystick_22_api+:} false
; then :
15675 $as_echo_n "(cached) " >&6
15677 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15678 /* end confdefs.h. */
15680 #include <sys/ioctl.h>
15681 #include <sys/types.h>
15682 #include <linux/joystick.h>
15684 struct js_event blub;
15685 #if !defined(JS_EVENT_AXIS) || !defined(JS_EVENT_BUTTON)
15686 #error "no 2.2 header"
15697 if ac_fn_c_try_compile
"$LINENO"; then :
15698 wine_cv_linux_joystick_22_api
=yes
15700 wine_cv_linux_joystick_22_api
=no
15702 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
15705 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_linux_joystick_22_api" >&5
15706 $as_echo "$wine_cv_linux_joystick_22_api" >&6; }
15707 if test "$wine_cv_linux_joystick_22_api" = "yes"
15710 $as_echo "#define HAVE_LINUX_22_JOYSTICK_API 1" >>confdefs.h
15716 ac_fn_c_check_member
"$LINENO" "struct statfs" "f_bfree" "ac_cv_member_struct_statfs_f_bfree" "#include <sys/types.h>
15717 #ifdef HAVE_SYS_PARAM_H
15718 # include <sys/param.h>
15720 #ifdef HAVE_SYS_MOUNT_H
15721 # include <sys/mount.h>
15723 #ifdef HAVE_SYS_VFS_H
15724 # include <sys/vfs.h>
15726 #ifdef HAVE_SYS_STATFS_H
15727 # include <sys/statfs.h>
15730 if test "x$ac_cv_member_struct_statfs_f_bfree" = xyes
; then :
15732 cat >>confdefs.h
<<_ACEOF
15733 #define HAVE_STRUCT_STATFS_F_BFREE 1
15738 ac_fn_c_check_member
"$LINENO" "struct statfs" "f_bavail" "ac_cv_member_struct_statfs_f_bavail" "#include <sys/types.h>
15739 #ifdef HAVE_SYS_PARAM_H
15740 # include <sys/param.h>
15742 #ifdef HAVE_SYS_MOUNT_H
15743 # include <sys/mount.h>
15745 #ifdef HAVE_SYS_VFS_H
15746 # include <sys/vfs.h>
15748 #ifdef HAVE_SYS_STATFS_H
15749 # include <sys/statfs.h>
15752 if test "x$ac_cv_member_struct_statfs_f_bavail" = xyes
; then :
15754 cat >>confdefs.h
<<_ACEOF
15755 #define HAVE_STRUCT_STATFS_F_BAVAIL 1
15760 ac_fn_c_check_member
"$LINENO" "struct statfs" "f_frsize" "ac_cv_member_struct_statfs_f_frsize" "#include <sys/types.h>
15761 #ifdef HAVE_SYS_PARAM_H
15762 # include <sys/param.h>
15764 #ifdef HAVE_SYS_MOUNT_H
15765 # include <sys/mount.h>
15767 #ifdef HAVE_SYS_VFS_H
15768 # include <sys/vfs.h>
15770 #ifdef HAVE_SYS_STATFS_H
15771 # include <sys/statfs.h>
15774 if test "x$ac_cv_member_struct_statfs_f_frsize" = xyes
; then :
15776 cat >>confdefs.h
<<_ACEOF
15777 #define HAVE_STRUCT_STATFS_F_FRSIZE 1
15782 ac_fn_c_check_member
"$LINENO" "struct statfs" "f_ffree" "ac_cv_member_struct_statfs_f_ffree" "#include <sys/types.h>
15783 #ifdef HAVE_SYS_PARAM_H
15784 # include <sys/param.h>
15786 #ifdef HAVE_SYS_MOUNT_H
15787 # include <sys/mount.h>
15789 #ifdef HAVE_SYS_VFS_H
15790 # include <sys/vfs.h>
15792 #ifdef HAVE_SYS_STATFS_H
15793 # include <sys/statfs.h>
15796 if test "x$ac_cv_member_struct_statfs_f_ffree" = xyes
; then :
15798 cat >>confdefs.h
<<_ACEOF
15799 #define HAVE_STRUCT_STATFS_F_FFREE 1
15804 ac_fn_c_check_member
"$LINENO" "struct statfs" "f_favail" "ac_cv_member_struct_statfs_f_favail" "#include <sys/types.h>
15805 #ifdef HAVE_SYS_PARAM_H
15806 # include <sys/param.h>
15808 #ifdef HAVE_SYS_MOUNT_H
15809 # include <sys/mount.h>
15811 #ifdef HAVE_SYS_VFS_H
15812 # include <sys/vfs.h>
15814 #ifdef HAVE_SYS_STATFS_H
15815 # include <sys/statfs.h>
15818 if test "x$ac_cv_member_struct_statfs_f_favail" = xyes
; then :
15820 cat >>confdefs.h
<<_ACEOF
15821 #define HAVE_STRUCT_STATFS_F_FAVAIL 1
15826 ac_fn_c_check_member
"$LINENO" "struct statfs" "f_namelen" "ac_cv_member_struct_statfs_f_namelen" "#include <sys/types.h>
15827 #ifdef HAVE_SYS_PARAM_H
15828 # include <sys/param.h>
15830 #ifdef HAVE_SYS_MOUNT_H
15831 # include <sys/mount.h>
15833 #ifdef HAVE_SYS_VFS_H
15834 # include <sys/vfs.h>
15836 #ifdef HAVE_SYS_STATFS_H
15837 # include <sys/statfs.h>
15840 if test "x$ac_cv_member_struct_statfs_f_namelen" = xyes
; then :
15842 cat >>confdefs.h
<<_ACEOF
15843 #define HAVE_STRUCT_STATFS_F_NAMELEN 1
15850 ac_fn_c_check_member
"$LINENO" "struct statvfs" "f_blocks" "ac_cv_member_struct_statvfs_f_blocks" "#ifdef HAVE_SYS_STATVFS_H
15851 #include <sys/statvfs.h>
15854 if test "x$ac_cv_member_struct_statvfs_f_blocks" = xyes
; then :
15856 cat >>confdefs.h
<<_ACEOF
15857 #define HAVE_STRUCT_STATVFS_F_BLOCKS 1
15864 ac_fn_c_check_member
"$LINENO" "struct dirent" "d_reclen" "ac_cv_member_struct_dirent_d_reclen" "#ifdef HAVE_DIRENT_H
15865 #include <dirent.h>
15868 if test "x$ac_cv_member_struct_dirent_d_reclen" = xyes
; then :
15870 cat >>confdefs.h
<<_ACEOF
15871 #define HAVE_STRUCT_DIRENT_D_RECLEN 1
15878 ac_fn_c_check_member
"$LINENO" "struct msghdr" "msg_accrights" "ac_cv_member_struct_msghdr_msg_accrights" "#include <sys/types.h>
15879 #ifdef HAVE_SYS_SOCKET_H
15880 # include <sys/socket.h>
15882 #ifdef HAVE_SYS_UN_H
15883 # include <sys/un.h>
15886 if test "x$ac_cv_member_struct_msghdr_msg_accrights" = xyes
; then :
15888 cat >>confdefs.h
<<_ACEOF
15889 #define HAVE_STRUCT_MSGHDR_MSG_ACCRIGHTS 1
15894 ac_fn_c_check_member
"$LINENO" "struct sockaddr" "sa_len" "ac_cv_member_struct_sockaddr_sa_len" "#include <sys/types.h>
15895 #ifdef HAVE_SYS_SOCKET_H
15896 # include <sys/socket.h>
15898 #ifdef HAVE_SYS_UN_H
15899 # include <sys/un.h>
15902 if test "x$ac_cv_member_struct_sockaddr_sa_len" = xyes
; then :
15904 cat >>confdefs.h
<<_ACEOF
15905 #define HAVE_STRUCT_SOCKADDR_SA_LEN 1
15910 ac_fn_c_check_member
"$LINENO" "struct sockaddr_un" "sun_len" "ac_cv_member_struct_sockaddr_un_sun_len" "#include <sys/types.h>
15911 #ifdef HAVE_SYS_SOCKET_H
15912 # include <sys/socket.h>
15914 #ifdef HAVE_SYS_UN_H
15915 # include <sys/un.h>
15918 if test "x$ac_cv_member_struct_sockaddr_un_sun_len" = xyes
; then :
15920 cat >>confdefs.h
<<_ACEOF
15921 #define HAVE_STRUCT_SOCKADDR_UN_SUN_LEN 1
15928 ac_fn_c_check_member
"$LINENO" "scsireq_t" "cmd" "ac_cv_member_scsireq_t_cmd" "#include <sys/types.h>
15929 #ifdef HAVE_SCSI_SG_H
15930 #include <scsi/sg.h>
15933 if test "x$ac_cv_member_scsireq_t_cmd" = xyes
; then :
15935 cat >>confdefs.h
<<_ACEOF
15936 #define HAVE_SCSIREQ_T_CMD 1
15941 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>
15942 #ifdef HAVE_SCSI_SG_H
15943 #include <scsi/sg.h>
15946 if test "x$ac_cv_member_sg_io_hdr_t_interface_id" = xyes
; then :
15948 cat >>confdefs.h
<<_ACEOF
15949 #define HAVE_SG_IO_HDR_T_INTERFACE_ID 1
15956 ac_fn_c_check_member
"$LINENO" "siginfo_t" "si_fd" "ac_cv_member_siginfo_t_si_fd" "#include <signal.h>
15958 if test "x$ac_cv_member_siginfo_t_si_fd" = xyes
; then :
15960 cat >>confdefs.h
<<_ACEOF
15961 #define HAVE_SIGINFO_T_SI_FD 1
15968 ac_fn_c_check_member
"$LINENO" "struct mtget" "mt_blksiz" "ac_cv_member_struct_mtget_mt_blksiz" "#include <sys/types.h>
15969 #ifdef HAVE_SYS_MTIO_H
15970 #include <sys/mtio.h>
15973 if test "x$ac_cv_member_struct_mtget_mt_blksiz" = xyes
; then :
15975 cat >>confdefs.h
<<_ACEOF
15976 #define HAVE_STRUCT_MTGET_MT_BLKSIZ 1
15981 ac_fn_c_check_member
"$LINENO" "struct mtget" "mt_gstat" "ac_cv_member_struct_mtget_mt_gstat" "#include <sys/types.h>
15982 #ifdef HAVE_SYS_MTIO_H
15983 #include <sys/mtio.h>
15986 if test "x$ac_cv_member_struct_mtget_mt_gstat" = xyes
; then :
15988 cat >>confdefs.h
<<_ACEOF
15989 #define HAVE_STRUCT_MTGET_MT_GSTAT 1
15994 ac_fn_c_check_member
"$LINENO" "struct mtget" "mt_blkno" "ac_cv_member_struct_mtget_mt_blkno" "#include <sys/types.h>
15995 #ifdef HAVE_SYS_MTIO_H
15996 #include <sys/mtio.h>
15999 if test "x$ac_cv_member_struct_mtget_mt_blkno" = xyes
; then :
16001 cat >>confdefs.h
<<_ACEOF
16002 #define HAVE_STRUCT_MTGET_MT_BLKNO 1
16009 ac_fn_c_check_member
"$LINENO" "struct option" "name" "ac_cv_member_struct_option_name" "#ifdef HAVE_GETOPT_H
16010 #include <getopt.h>
16013 if test "x$ac_cv_member_struct_option_name" = xyes
; then :
16015 cat >>confdefs.h
<<_ACEOF
16016 #define HAVE_STRUCT_OPTION_NAME 1
16023 ac_fn_c_check_member
"$LINENO" "struct stat" "st_blocks" "ac_cv_member_struct_stat_st_blocks" "$ac_includes_default"
16024 if test "x$ac_cv_member_struct_stat_st_blocks" = xyes
; then :
16026 cat >>confdefs.h
<<_ACEOF
16027 #define HAVE_STRUCT_STAT_ST_BLOCKS 1
16032 ac_fn_c_check_member
"$LINENO" "struct stat" "st_mtim" "ac_cv_member_struct_stat_st_mtim" "$ac_includes_default"
16033 if test "x$ac_cv_member_struct_stat_st_mtim" = xyes
; then :
16035 cat >>confdefs.h
<<_ACEOF
16036 #define HAVE_STRUCT_STAT_ST_MTIM 1
16041 ac_fn_c_check_member
"$LINENO" "struct stat" "st_mtimespec" "ac_cv_member_struct_stat_st_mtimespec" "$ac_includes_default"
16042 if test "x$ac_cv_member_struct_stat_st_mtimespec" = xyes
; then :
16044 cat >>confdefs.h
<<_ACEOF
16045 #define HAVE_STRUCT_STAT_ST_MTIMESPEC 1
16050 ac_fn_c_check_member
"$LINENO" "struct stat" "st_ctim" "ac_cv_member_struct_stat_st_ctim" "$ac_includes_default"
16051 if test "x$ac_cv_member_struct_stat_st_ctim" = xyes
; then :
16053 cat >>confdefs.h
<<_ACEOF
16054 #define HAVE_STRUCT_STAT_ST_CTIM 1
16059 ac_fn_c_check_member
"$LINENO" "struct stat" "st_ctimespec" "ac_cv_member_struct_stat_st_ctimespec" "$ac_includes_default"
16060 if test "x$ac_cv_member_struct_stat_st_ctimespec" = xyes
; then :
16062 cat >>confdefs.h
<<_ACEOF
16063 #define HAVE_STRUCT_STAT_ST_CTIMESPEC 1
16068 ac_fn_c_check_member
"$LINENO" "struct stat" "st_atim" "ac_cv_member_struct_stat_st_atim" "$ac_includes_default"
16069 if test "x$ac_cv_member_struct_stat_st_atim" = xyes
; then :
16071 cat >>confdefs.h
<<_ACEOF
16072 #define HAVE_STRUCT_STAT_ST_ATIM 1
16077 ac_fn_c_check_member
"$LINENO" "struct stat" "st_atimespec" "ac_cv_member_struct_stat_st_atimespec" "$ac_includes_default"
16078 if test "x$ac_cv_member_struct_stat_st_atimespec" = xyes
; then :
16080 cat >>confdefs.h
<<_ACEOF
16081 #define HAVE_STRUCT_STAT_ST_ATIMESPEC 1
16086 ac_fn_c_check_member
"$LINENO" "struct stat" "st_birthtime" "ac_cv_member_struct_stat_st_birthtime" "$ac_includes_default"
16087 if test "x$ac_cv_member_struct_stat_st_birthtime" = xyes
; then :
16089 cat >>confdefs.h
<<_ACEOF
16090 #define HAVE_STRUCT_STAT_ST_BIRTHTIME 1
16095 ac_fn_c_check_member
"$LINENO" "struct stat" "st_birthtim" "ac_cv_member_struct_stat_st_birthtim" "$ac_includes_default"
16096 if test "x$ac_cv_member_struct_stat_st_birthtim" = xyes
; then :
16098 cat >>confdefs.h
<<_ACEOF
16099 #define HAVE_STRUCT_STAT_ST_BIRTHTIM 1
16104 ac_fn_c_check_member
"$LINENO" "struct stat" "st_birthtimespec" "ac_cv_member_struct_stat_st_birthtimespec" "$ac_includes_default"
16105 if test "x$ac_cv_member_struct_stat_st_birthtimespec" = xyes
; then :
16107 cat >>confdefs.h
<<_ACEOF
16108 #define HAVE_STRUCT_STAT_ST_BIRTHTIMESPEC 1
16113 ac_fn_c_check_member
"$LINENO" "struct stat" "__st_birthtime" "ac_cv_member_struct_stat___st_birthtime" "$ac_includes_default"
16114 if test "x$ac_cv_member_struct_stat___st_birthtime" = xyes
; then :
16116 cat >>confdefs.h
<<_ACEOF
16117 #define HAVE_STRUCT_STAT___ST_BIRTHTIME 1
16122 ac_fn_c_check_member
"$LINENO" "struct stat" "__st_birthtim" "ac_cv_member_struct_stat___st_birthtim" "$ac_includes_default"
16123 if test "x$ac_cv_member_struct_stat___st_birthtim" = xyes
; then :
16125 cat >>confdefs.h
<<_ACEOF
16126 #define HAVE_STRUCT_STAT___ST_BIRTHTIM 1
16133 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
16134 #include <sys/types.h>
16136 #ifdef HAVE_NETINET_IN_H
16137 #include <netinet/in.h>
16140 if test "x$ac_cv_member_struct_sockaddr_in6_sin6_scope_id" = xyes
; then :
16142 cat >>confdefs.h
<<_ACEOF
16143 #define HAVE_STRUCT_SOCKADDR_IN6_SIN6_SCOPE_ID 1
16150 ac_fn_c_check_type
"$LINENO" "struct __res_state" "ac_cv_type_struct___res_state" "#ifdef HAVE_RESOLV_H
16151 #include <resolv.h>
16154 if test "x$ac_cv_type_struct___res_state" = xyes
; then :
16156 cat >>confdefs.h
<<_ACEOF
16157 #define HAVE_STRUCT___RES_STATE 1
16164 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
16165 #include <resolv.h>
16168 if test "x$ac_cv_member_struct___res_state__u__ext_nscount6" = xyes
; then :
16170 cat >>confdefs.h
<<_ACEOF
16171 #define HAVE_STRUCT___RES_STATE__U__EXT_NSCOUNT6 1
16178 ac_fn_c_check_member
"$LINENO" "ns_msg" "_msg_ptr" "ac_cv_member_ns_msg__msg_ptr" "#ifdef HAVE_SYS_TYPES_H
16179 #include <sys/types.h>
16181 #ifdef HAVE_NETINET_IN_H
16182 # include <netinet/in.h>
16184 #ifdef HAVE_ARPA_NAMESER_H
16185 # include <arpa/nameser.h>
16188 if test "x$ac_cv_member_ns_msg__msg_ptr" = xyes
; then :
16190 cat >>confdefs.h
<<_ACEOF
16191 #define HAVE_NS_MSG__MSG_PTR 1
16198 ac_fn_c_check_member
"$LINENO" "struct icmpstat" "icps_inhist" "ac_cv_member_struct_icmpstat_icps_inhist" "#ifdef HAVE_SYS_TYPES_H
16199 #include <sys/types.h>
16201 #ifdef HAVE_NETINET_IP_H
16202 #include <netinet/ip.h>
16204 #ifdef HAVE_NETINET_IP_ICMP_H
16205 #include <netinet/ip_icmp.h>
16207 #ifdef HAVE_NETINET_ICMP_VAR_H
16208 #include <netinet/icmp_var.h>
16211 if test "x$ac_cv_member_struct_icmpstat_icps_inhist" = xyes
; then :
16213 cat >>confdefs.h
<<_ACEOF
16214 #define HAVE_STRUCT_ICMPSTAT_ICPS_INHIST 1
16221 ac_fn_c_check_member
"$LINENO" "struct icmpstat" "icps_outhist" "ac_cv_member_struct_icmpstat_icps_outhist" "#ifdef HAVE_SYS_TYPES_H
16222 #include <sys/types.h>
16224 #ifdef HAVE_ALIAS_H
16227 #ifdef HAVE_SYS_SOCKET_H
16228 #include <sys/socket.h>
16230 #ifdef HAVE_SYS_SOCKETVAR_H
16231 #include <sys/socketvar.h>
16233 #ifdef HAVE_SYS_TIMEOUT_H
16234 #include <sys/timeout.h>
16236 #ifdef HAVE_NETINET_IN_H
16237 #include <netinet/in.h>
16239 #ifdef HAVE_NETINET_IN_SYSTM_H
16240 #include <netinet/in_systm.h>
16242 #ifdef HAVE_NETINET_IP_H
16243 #include <netinet/ip.h>
16245 #ifdef HAVE_NETINET_IP_VAR_H
16246 #include <netinet/ip_var.h>
16248 #ifdef HAVE_NETINET_IP_ICMP_H
16249 #include <netinet/ip_icmp.h>
16251 #ifdef HAVE_NETINET_ICMP_VAR_H
16252 #include <netinet/icmp_var.h>
16255 if test "x$ac_cv_member_struct_icmpstat_icps_outhist" = xyes
; then :
16257 cat >>confdefs.h
<<_ACEOF
16258 #define HAVE_STRUCT_ICMPSTAT_ICPS_OUTHIST 1
16265 ac_fn_c_check_member
"$LINENO" "struct ipstat" "ips_total" "ac_cv_member_struct_ipstat_ips_total" "#ifdef HAVE_SYS_TYPES_H
16266 #include <sys/types.h>
16268 #ifdef HAVE_SYS_SOCKETVAR_H
16269 #include <sys/socketvar.h>
16271 #ifdef HAVE_NETINET_IN_H
16272 #include <netinet/in.h>
16274 #ifdef HAVE_NETINET_IP_VAR_H
16275 #include <netinet/ip_var.h>
16278 if test "x$ac_cv_member_struct_ipstat_ips_total" = xyes
; then :
16280 cat >>confdefs.h
<<_ACEOF
16281 #define HAVE_STRUCT_IPSTAT_IPS_TOTAL 1
16288 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
16289 #include <netinet/ip_var.h>
16292 if test "x$ac_cv_member_struct_ip_stats_ips_total" = xyes
; then :
16294 cat >>confdefs.h
<<_ACEOF
16295 #define HAVE_STRUCT_IP_STATS_IPS_TOTAL 1
16302 ac_fn_c_check_member
"$LINENO" "struct tcpstat" "tcps_connattempt" "ac_cv_member_struct_tcpstat_tcps_connattempt" "#ifdef HAVE_SYS_TYPES_H
16303 #include <sys/types.h>
16305 #ifdef HAVE_SYS_SOCKETVAR_H
16306 #include <sys/socketvar.h>
16308 #ifdef HAVE_NETINET_IN_H
16309 #include <netinet/in.h>
16311 #ifdef HAVE_NETINET_TCP_H
16312 #include <netinet/tcp.h>
16314 #ifdef HAVE_NETINET_TCP_VAR_H
16315 #include <netinet/tcp_var.h>
16318 if test "x$ac_cv_member_struct_tcpstat_tcps_connattempt" = xyes
; then :
16320 cat >>confdefs.h
<<_ACEOF
16321 #define HAVE_STRUCT_TCPSTAT_TCPS_CONNATTEMPT 1
16328 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
16329 #include <netinet/tcp_var.h>
16332 if test "x$ac_cv_member_struct_tcp_stats_tcps_connattempt" = xyes
; then :
16334 cat >>confdefs.h
<<_ACEOF
16335 #define HAVE_STRUCT_TCP_STATS_TCPS_CONNATTEMPT 1
16342 ac_fn_c_check_member
"$LINENO" "struct udpstat" "udps_ipackets" "ac_cv_member_struct_udpstat_udps_ipackets" "#ifdef HAVE_SYS_TYPES_H
16343 #include <sys/types.h>
16345 #ifdef HAVE_NETINET_IN_H
16346 #include <netinet/in.h>
16348 #ifdef HAVE_NETINET_IP_VAR_H
16349 #include <netinet/ip_var.h>
16351 #ifdef HAVE_NETINET_UDP_H
16352 #include <netinet/udp.h>
16354 #ifdef HAVE_NETINET_UDP_VAR_H
16355 #include <netinet/udp_var.h>
16358 if test "x$ac_cv_member_struct_udpstat_udps_ipackets" = xyes
; then :
16360 cat >>confdefs.h
<<_ACEOF
16361 #define HAVE_STRUCT_UDPSTAT_UDPS_IPACKETS 1
16368 ac_fn_c_check_member
"$LINENO" "struct ifreq" "ifr_hwaddr" "ac_cv_member_struct_ifreq_ifr_hwaddr" "#ifdef HAVE_SYS_TYPES_H
16369 #include <sys/types.h>
16371 #ifdef HAVE_NET_IF_H
16372 # include <net/if.h>
16375 if test "x$ac_cv_member_struct_ifreq_ifr_hwaddr" = xyes
; then :
16377 cat >>confdefs.h
<<_ACEOF
16378 #define HAVE_STRUCT_IFREQ_IFR_HWADDR 1
16385 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for timezone variable" >&5
16386 $as_echo_n "checking for timezone variable... " >&6; }
16387 if ${ac_cv_have_timezone+:} false
; then :
16388 $as_echo_n "(cached) " >&6
16390 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
16391 /* end confdefs.h. */
16401 if ac_fn_c_try_link
"$LINENO"; then :
16402 ac_cv_have_timezone
="yes"
16404 ac_cv_have_timezone
="no"
16406 rm -f core conftest.err conftest.
$ac_objext \
16407 conftest
$ac_exeext conftest.
$ac_ext
16409 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_timezone" >&5
16410 $as_echo "$ac_cv_have_timezone" >&6; }
16411 if test "$ac_cv_have_timezone" = "yes"
16414 $as_echo "#define HAVE_TIMEZONE 1" >>confdefs.h
16417 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for daylight variable" >&5
16418 $as_echo_n "checking for daylight variable... " >&6; }
16419 if ${ac_cv_have_daylight+:} false
; then :
16420 $as_echo_n "(cached) " >&6
16422 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
16423 /* end confdefs.h. */
16433 if ac_fn_c_try_link
"$LINENO"; then :
16434 ac_cv_have_daylight
="yes"
16436 ac_cv_have_daylight
="no"
16438 rm -f core conftest.err conftest.
$ac_objext \
16439 conftest
$ac_exeext conftest.
$ac_ext
16441 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_daylight" >&5
16442 $as_echo "$ac_cv_have_daylight" >&6; }
16443 if test "$ac_cv_have_daylight" = "yes"
16446 $as_echo "#define HAVE_DAYLIGHT 1" >>confdefs.h
16450 ac_save_LIBS
="$LIBS"
16452 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isfinite" >&5
16453 $as_echo_n "checking for isfinite... " >&6; }
16454 if ${ac_cv_have_isfinite+:} false
; then :
16455 $as_echo_n "(cached) " >&6
16457 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
16458 /* end confdefs.h. */
16459 #define _GNU_SOURCE
16464 float f = 0.0; return isfinite(f)
16469 if ac_fn_c_try_link
"$LINENO"; then :
16470 ac_cv_have_isfinite
="yes"
16472 ac_cv_have_isfinite
="no"
16474 rm -f core conftest.err conftest.
$ac_objext \
16475 conftest
$ac_exeext conftest.
$ac_ext
16477 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_isfinite" >&5
16478 $as_echo "$ac_cv_have_isfinite" >&6; }
16479 if test "$ac_cv_have_isfinite" = "yes"
16482 $as_echo "#define HAVE_ISFINITE 1" >>confdefs.h
16486 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinf" >&5
16487 $as_echo_n "checking for isinf... " >&6; }
16488 if ${ac_cv_have_isinf+:} false
; then :
16489 $as_echo_n "(cached) " >&6
16491 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
16492 /* end confdefs.h. */
16497 float f = 0.0; return isinf(f)
16502 if ac_fn_c_try_link
"$LINENO"; then :
16503 ac_cv_have_isinf
="yes"
16505 ac_cv_have_isinf
="no"
16507 rm -f core conftest.err conftest.
$ac_objext \
16508 conftest
$ac_exeext conftest.
$ac_ext
16510 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_isinf" >&5
16511 $as_echo "$ac_cv_have_isinf" >&6; }
16512 if test "$ac_cv_have_isinf" = "yes"
16515 $as_echo "#define HAVE_ISINF 1" >>confdefs.h
16519 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnan" >&5
16520 $as_echo_n "checking for isnan... " >&6; }
16521 if ${ac_cv_have_isnan+:} false
; then :
16522 $as_echo_n "(cached) " >&6
16524 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
16525 /* end confdefs.h. */
16530 float f = 0.0; return isnan(f)
16535 if ac_fn_c_try_link
"$LINENO"; then :
16536 ac_cv_have_isnan
="yes"
16538 ac_cv_have_isnan
="no"
16540 rm -f core conftest.err conftest.
$ac_objext \
16541 conftest
$ac_exeext conftest.
$ac_ext
16543 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_isnan" >&5
16544 $as_echo "$ac_cv_have_isnan" >&6; }
16545 if test "$ac_cv_have_isnan" = "yes"
16548 $as_echo "#define HAVE_ISNAN 1" >>confdefs.h
16575 as_ac_var
=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
16576 ac_fn_c_check_func
"$LINENO" "$ac_func" "$as_ac_var"
16577 if eval test \"x\$
"$as_ac_var"\" = x
"yes"; then :
16578 cat >>confdefs.h
<<_ACEOF
16579 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
16585 LIBS
="$ac_save_LIBS"
16587 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for __builtin_clz" >&5
16588 $as_echo_n "checking for __builtin_clz... " >&6; }
16589 if ${ac_cv_have___builtin_clz+:} false
; then :
16590 $as_echo_n "(cached) " >&6
16592 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
16593 /* end confdefs.h. */
16598 return __builtin_clz(1)
16603 if ac_fn_c_try_link
"$LINENO"; then :
16604 ac_cv_have___builtin_clz
="yes"
16606 ac_cv_have___builtin_clz
="no"
16608 rm -f core conftest.err conftest.
$ac_objext \
16609 conftest
$ac_exeext conftest.
$ac_ext
16611 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have___builtin_clz" >&5
16612 $as_echo "$ac_cv_have___builtin_clz" >&6; }
16613 if test "$ac_cv_have___builtin_clz" = "yes"
16616 $as_echo "#define HAVE___BUILTIN_CLZ 1" >>confdefs.h
16622 *i
[3456789]86*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __i386__" >&5
16623 $as_echo_n "checking whether we need to define __i386__... " >&6; }
16624 if ${ac_cv_cpp_def___i386__+:} false
; then :
16625 $as_echo_n "(cached) " >&6
16627 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
16628 /* end confdefs.h. */
16633 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
16634 $EGREP "yes" >/dev
/null
2>&1; then :
16635 ac_cv_cpp_def___i386__
=yes
16637 ac_cv_cpp_def___i386__
=no
16642 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___i386__" >&5
16643 $as_echo "$ac_cv_cpp_def___i386__" >&6; }
16644 if test "x$ac_cv_cpp_def___i386__" = xyes
; then :
16645 CFLAGS
="$CFLAGS -D__i386__"
16646 LINTFLAGS
="$LINTFLAGS -D__i386__"
16648 *x86_64
*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __x86_64__" >&5
16649 $as_echo_n "checking whether we need to define __x86_64__... " >&6; }
16650 if ${ac_cv_cpp_def___x86_64__+:} false
; then :
16651 $as_echo_n "(cached) " >&6
16653 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
16654 /* end confdefs.h. */
16659 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
16660 $EGREP "yes" >/dev
/null
2>&1; then :
16661 ac_cv_cpp_def___x86_64__
=yes
16663 ac_cv_cpp_def___x86_64__
=no
16668 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___x86_64__" >&5
16669 $as_echo "$ac_cv_cpp_def___x86_64__" >&6; }
16670 if test "x$ac_cv_cpp_def___x86_64__" = xyes
; then :
16671 CFLAGS
="$CFLAGS -D__x86_64__"
16672 LINTFLAGS
="$LINTFLAGS -D__x86_64__"
16674 *sparc64
*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __sparc64__" >&5
16675 $as_echo_n "checking whether we need to define __sparc64__... " >&6; }
16676 if ${ac_cv_cpp_def___sparc64__+:} false
; then :
16677 $as_echo_n "(cached) " >&6
16679 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
16680 /* end confdefs.h. */
16681 #ifndef __sparc64__
16685 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
16686 $EGREP "yes" >/dev
/null
2>&1; then :
16687 ac_cv_cpp_def___sparc64__
=yes
16689 ac_cv_cpp_def___sparc64__
=no
16694 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___sparc64__" >&5
16695 $as_echo "$ac_cv_cpp_def___sparc64__" >&6; }
16696 if test "x$ac_cv_cpp_def___sparc64__" = xyes
; then :
16697 CFLAGS
="$CFLAGS -D__sparc64__"
16698 LINTFLAGS
="$LINTFLAGS -D__sparc64__"
16700 *sparc
*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __sparc__" >&5
16701 $as_echo_n "checking whether we need to define __sparc__... " >&6; }
16702 if ${ac_cv_cpp_def___sparc__+:} false
; then :
16703 $as_echo_n "(cached) " >&6
16705 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
16706 /* end confdefs.h. */
16711 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
16712 $EGREP "yes" >/dev
/null
2>&1; then :
16713 ac_cv_cpp_def___sparc__
=yes
16715 ac_cv_cpp_def___sparc__
=no
16720 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___sparc__" >&5
16721 $as_echo "$ac_cv_cpp_def___sparc__" >&6; }
16722 if test "x$ac_cv_cpp_def___sparc__" = xyes
; then :
16723 CFLAGS
="$CFLAGS -D__sparc__"
16724 LINTFLAGS
="$LINTFLAGS -D__sparc__"
16726 *powerpc64
*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __powerpc64__" >&5
16727 $as_echo_n "checking whether we need to define __powerpc64__... " >&6; }
16728 if ${ac_cv_cpp_def___powerpc64__+:} false
; then :
16729 $as_echo_n "(cached) " >&6
16731 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
16732 /* end confdefs.h. */
16733 #ifndef __powerpc64__
16737 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
16738 $EGREP "yes" >/dev
/null
2>&1; then :
16739 ac_cv_cpp_def___powerpc64__
=yes
16741 ac_cv_cpp_def___powerpc64__
=no
16746 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___powerpc64__" >&5
16747 $as_echo "$ac_cv_cpp_def___powerpc64__" >&6; }
16748 if test "x$ac_cv_cpp_def___powerpc64__" = xyes
; then :
16749 CFLAGS
="$CFLAGS -D__powerpc64__"
16750 LINTFLAGS
="$LINTFLAGS -D__powerpc64__"
16752 *powerpc
*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __powerpc__" >&5
16753 $as_echo_n "checking whether we need to define __powerpc__... " >&6; }
16754 if ${ac_cv_cpp_def___powerpc__+:} false
; then :
16755 $as_echo_n "(cached) " >&6
16757 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
16758 /* end confdefs.h. */
16759 #ifndef __powerpc__
16763 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
16764 $EGREP "yes" >/dev
/null
2>&1; then :
16765 ac_cv_cpp_def___powerpc__
=yes
16767 ac_cv_cpp_def___powerpc__
=no
16772 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___powerpc__" >&5
16773 $as_echo "$ac_cv_cpp_def___powerpc__" >&6; }
16774 if test "x$ac_cv_cpp_def___powerpc__" = xyes
; then :
16775 CFLAGS
="$CFLAGS -D__powerpc__"
16776 LINTFLAGS
="$LINTFLAGS -D__powerpc__"
16778 *aarch64
*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __aarch64__" >&5
16779 $as_echo_n "checking whether we need to define __aarch64__... " >&6; }
16780 if ${ac_cv_cpp_def___aarch64__+:} false
; then :
16781 $as_echo_n "(cached) " >&6
16783 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
16784 /* end confdefs.h. */
16785 #ifndef __aarch64__
16789 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
16790 $EGREP "yes" >/dev
/null
2>&1; then :
16791 ac_cv_cpp_def___aarch64__
=yes
16793 ac_cv_cpp_def___aarch64__
=no
16798 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___aarch64__" >&5
16799 $as_echo "$ac_cv_cpp_def___aarch64__" >&6; }
16800 if test "x$ac_cv_cpp_def___aarch64__" = xyes
; then :
16801 CFLAGS
="$CFLAGS -D__aarch64__"
16802 LINTFLAGS
="$LINTFLAGS -D__aarch64__"
16804 *arm
*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __arm__" >&5
16805 $as_echo_n "checking whether we need to define __arm__... " >&6; }
16806 if ${ac_cv_cpp_def___arm__+:} false
; then :
16807 $as_echo_n "(cached) " >&6
16809 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
16810 /* end confdefs.h. */
16815 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
16816 $EGREP "yes" >/dev
/null
2>&1; then :
16817 ac_cv_cpp_def___arm__
=yes
16819 ac_cv_cpp_def___arm__
=no
16824 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___arm__" >&5
16825 $as_echo "$ac_cv_cpp_def___arm__" >&6; }
16826 if test "x$ac_cv_cpp_def___arm__" = xyes
; then :
16827 CFLAGS
="$CFLAGS -D__arm__"
16828 LINTFLAGS
="$LINTFLAGS -D__arm__"
16832 case $host_vendor in
16833 *sun
*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __sun__" >&5
16834 $as_echo_n "checking whether we need to define __sun__... " >&6; }
16835 if ${ac_cv_cpp_def___sun__+:} false
; then :
16836 $as_echo_n "(cached) " >&6
16838 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
16839 /* end confdefs.h. */
16844 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
16845 $EGREP "yes" >/dev
/null
2>&1; then :
16846 ac_cv_cpp_def___sun__
=yes
16848 ac_cv_cpp_def___sun__
=no
16853 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___sun__" >&5
16854 $as_echo "$ac_cv_cpp_def___sun__" >&6; }
16855 if test "x$ac_cv_cpp_def___sun__" = xyes
; then :
16856 CFLAGS
="$CFLAGS -D__sun__"
16857 LINTFLAGS
="$LINTFLAGS -D__sun__"
16865 ac_config_commands
="$ac_config_commands include/stamp-h"
16867 $as_echo_n "creating Makefile rules..." >&6
16869 ALL_VARS_RULES
="OPENGL_LIBS = $OPENGL_LIBS
16870 SOCKET_LIBS = $SOCKET_LIBS
16871 COREFOUNDATION_LIBS = $COREFOUNDATION_LIBS
16872 IOKIT_LIBS = $IOKIT_LIBS
16873 FORCEFEEDBACK_LIBS = $FORCEFEEDBACK_LIBS
16874 APPLICATIONSERVICES_LIBS = $APPLICATIONSERVICES_LIBS
16875 CORESERVICES_LIBS = $CORESERVICES_LIBS
16876 APPKIT_LIBS = $APPKIT_LIBS
16877 DISKARBITRATION_LIBS = $DISKARBITRATION_LIBS
16878 SECURITY_LIBS = $SECURITY_LIBS
16879 COREAUDIO_LIBS = $COREAUDIO_LIBS
16880 OPENAL_LIBS = $OPENAL_LIBS
16881 OPENCL_LIBS = $OPENCL_LIBS
16882 QUICKTIME_LIBS = $QUICKTIME_LIBS
16883 CARBON_LIBS = $CARBON_LIBS
16884 PTHREAD_LIBS = $PTHREAD_LIBS
16885 X_CFLAGS = $X_CFLAGS
16886 X_PRE_LIBS = $X_PRE_LIBS
16888 X_EXTRA_LIBS = $X_EXTRA_LIBS
16889 XML2_CFLAGS = $XML2_CFLAGS
16890 XML2_LIBS = $XML2_LIBS
16891 XSLT_CFLAGS = $XSLT_CFLAGS
16892 XSLT_LIBS = $XSLT_LIBS
16893 DBUS_CFLAGS = $DBUS_CFLAGS
16894 DBUS_LIBS = $DBUS_LIBS
16895 HAL_CFLAGS = $HAL_CFLAGS
16896 HAL_LIBS = $HAL_LIBS
16897 GNUTLS_CFLAGS = $GNUTLS_CFLAGS
16898 GNUTLS_LIBS = $GNUTLS_LIBS
16899 SANE_CFLAGS = $SANE_CFLAGS
16900 SANE_LIBS = $SANE_LIBS
16901 GPHOTO2_CFLAGS = $GPHOTO2_CFLAGS
16902 GPHOTO2_LIBS = $GPHOTO2_LIBS
16903 GPHOTO2_PORT_CFLAGS = $GPHOTO2_PORT_CFLAGS
16904 GPHOTO2_PORT_LIBS = $GPHOTO2_PORT_LIBS
16905 RESOLV_LIBS = $RESOLV_LIBS
16906 LCMS2_CFLAGS = $LCMS2_CFLAGS
16907 LCMS2_LIBS = $LCMS2_LIBS
16908 FREETYPE_CFLAGS = $FREETYPE_CFLAGS
16909 FREETYPE_LIBS = $FREETYPE_LIBS
16911 GETTEXTPO_LIBS = $GETTEXTPO_LIBS
16912 GSTREAMER_CFLAGS = $GSTREAMER_CFLAGS
16913 GSTREAMER_LIBS = $GSTREAMER_LIBS
16914 ALSA_LIBS = $ALSA_LIBS
16915 OSS4_CFLAGS = $OSS4_CFLAGS
16916 CAPI20_CFLAGS = $CAPI20_CFLAGS
16917 CAPI20_LIBS = $CAPI20_LIBS
16918 CUPS_CFLAGS = $CUPS_CFLAGS
16919 FONTCONFIG_CFLAGS = $FONTCONFIG_CFLAGS
16920 FONTCONFIG_LIBS = $FONTCONFIG_LIBS
16921 JPEG_CFLAGS = $JPEG_CFLAGS
16922 JPEG_LIBS = $JPEG_LIBS
16923 PNG_CFLAGS = $PNG_CFLAGS
16924 PNG_LIBS = $PNG_LIBS
16925 TIFF_CFLAGS = $TIFF_CFLAGS
16926 TIFF_LIBS = $TIFF_LIBS
16927 MPG123_CFLAGS = $MPG123_CFLAGS
16928 MPG123_LIBS = $MPG123_LIBS
16929 KSTAT_LIBS = $KSTAT_LIBS
16930 PROCSTAT_LIBS = $PROCSTAT_LIBS
16932 POLL_LIBS = $POLL_LIBS
16934 LDAP_LIBS = $LDAP_LIBS
16939 wine_fn_append_rule
"
16940 # Rules automatically generated by configure
16942 CLEAN_FILES = *.o *.a *.so *.res *.fake *.ok *.tab.[ch] *.yy.c
16947 Makefile: $srcdir/Makefile.in $srcdir/Make.vars.in config.status \$(MAKEDEP)
16948 @./config.status Make.tmp Makefile"
16950 test "$srcdir" = .
&& wine_fn_append_rule
"all: .gitignore
16951 .gitignore: config.status
16952 @./config.status .gitignore"
16954 test -n "$CROSSTARGET" || wine_fn_append_rule
"crosstest:
16955 @echo \"crosstest is not supported (mingw not installed?)\" && false"
16957 if test "x$enable_fonts" != xno
; then
16958 ac_config_links
="$ac_config_links fonts/marlett.ttf:fonts/marlett.ttf"
16959 ac_config_links
="$ac_config_links fonts/symbol.ttf:fonts/symbol.ttf"
16960 ac_config_links
="$ac_config_links fonts/tahoma.ttf:fonts/tahoma.ttf"
16961 ac_config_links
="$ac_config_links fonts/tahomabd.ttf:fonts/tahomabd.ttf"
16962 test "$srcdir" = "." || wine_fn_config_symlink fonts
/marlett.ttf fonts
/symbol.ttf fonts
/tahoma.ttf fonts
/tahomabd.ttf
16964 ac_config_links
="$ac_config_links loader/l_intl.nls:loader/l_intl.nls"
16965 test "$srcdir" = "." || wine_fn_config_symlink loader
/l_intl.nls
16966 ac_config_links
="$ac_config_links po/LINGUAS:po/LINGUAS"
16967 test "$srcdir" = "." || wine_fn_config_symlink po
/LINGUAS
16968 ac_config_links
="$ac_config_links wine:tools/winewrapper"
16969 wine_fn_config_symlink wine
16970 if test "x$enable_win64" != xno
; then
16971 ac_config_links
="$ac_config_links wine64:tools/winewrapper"
16972 wine_fn_config_symlink wine64
16975 wine_fn_config_dll acledit enable_acledit
16976 wine_fn_config_dll aclui enable_aclui implib
16977 wine_fn_config_dll activeds enable_activeds implib
16978 wine_fn_config_dll actxprxy enable_actxprxy clean
16979 wine_fn_config_lib adsiid
16980 wine_fn_config_dll advapi32 enable_advapi32 clean
,implib
16981 wine_fn_config_test dlls
/advapi32
/tests advapi32_test
16982 wine_fn_config_dll advpack enable_advpack implib
16983 wine_fn_config_test dlls
/advpack
/tests advpack_test
16984 wine_fn_config_dll amstream enable_amstream clean
16985 wine_fn_config_test dlls
/amstream
/tests amstream_test
16986 wine_fn_config_dll api-ms-win-core-com-l1-1-0 enable_api_ms_win_core_com_l1_1_0
16987 wine_fn_config_dll api-ms-win-core-console-l1-1-0 enable_api_ms_win_core_console_l1_1_0
16988 wine_fn_config_dll api-ms-win-core-datetime-l1-1-0 enable_api_ms_win_core_datetime_l1_1_0
16989 wine_fn_config_dll api-ms-win-core-datetime-l1-1-1 enable_api_ms_win_core_datetime_l1_1_1
16990 wine_fn_config_dll api-ms-win-core-debug-l1-1-1 enable_api_ms_win_core_debug_l1_1_1
16991 wine_fn_config_dll api-ms-win-core-errorhandling-l1-1-1 enable_api_ms_win_core_errorhandling_l1_1_1
16992 wine_fn_config_dll api-ms-win-core-errorhandling-l1-1-2 enable_api_ms_win_core_errorhandling_l1_1_2
16993 wine_fn_config_dll api-ms-win-core-fibers-l1-1-0 enable_api_ms_win_core_fibers_l1_1_0
16994 wine_fn_config_dll api-ms-win-core-fibers-l1-1-1 enable_api_ms_win_core_fibers_l1_1_1
16995 wine_fn_config_dll api-ms-win-core-file-l1-2-0 enable_api_ms_win_core_file_l1_2_0
16996 wine_fn_config_dll api-ms-win-core-file-l2-1-0 enable_api_ms_win_core_file_l2_1_0
16997 wine_fn_config_dll api-ms-win-core-file-l2-1-1 enable_api_ms_win_core_file_l2_1_1
16998 wine_fn_config_dll api-ms-win-core-handle-l1-1-0 enable_api_ms_win_core_handle_l1_1_0
16999 wine_fn_config_dll api-ms-win-core-heap-l1-2-0 enable_api_ms_win_core_heap_l1_2_0
17000 wine_fn_config_dll api-ms-win-core-heap-obsolete-l1-1-0 enable_api_ms_win_core_heap_obsolete_l1_1_0
17001 wine_fn_config_dll api-ms-win-core-interlocked-l1-2-0 enable_api_ms_win_core_interlocked_l1_2_0
17002 wine_fn_config_dll api-ms-win-core-io-l1-1-1 enable_api_ms_win_core_io_l1_1_1
17003 wine_fn_config_dll api-ms-win-core-kernel32-legacy-l1-1-0 enable_api_ms_win_core_kernel32_legacy_l1_1_0
17004 wine_fn_config_dll api-ms-win-core-libraryloader-l1-1-1 enable_api_ms_win_core_libraryloader_l1_1_1
17005 wine_fn_config_dll api-ms-win-core-localization-l1-2-0 enable_api_ms_win_core_localization_l1_2_0
17006 wine_fn_config_dll api-ms-win-core-localization-l1-2-1 enable_api_ms_win_core_localization_l1_2_1
17007 wine_fn_config_dll api-ms-win-core-localization-obsolete-l1-1-0 enable_api_ms_win_core_localization_obsolete_l1_1_0
17008 wine_fn_config_dll api-ms-win-core-localregistry-l1-1-0 enable_api_ms_win_core_localregistry_l1_1_0
17009 wine_fn_config_dll api-ms-win-core-memory-l1-1-1 enable_api_ms_win_core_memory_l1_1_1
17010 wine_fn_config_dll api-ms-win-core-namedpipe-l1-2-0 enable_api_ms_win_core_namedpipe_l1_2_0
17011 wine_fn_config_dll api-ms-win-core-processenvironment-l1-2-0 enable_api_ms_win_core_processenvironment_l1_2_0
17012 wine_fn_config_dll api-ms-win-core-processthreads-l1-1-0 enable_api_ms_win_core_processthreads_l1_1_0
17013 wine_fn_config_dll api-ms-win-core-processthreads-l1-1-1 enable_api_ms_win_core_processthreads_l1_1_1
17014 wine_fn_config_dll api-ms-win-core-processthreads-l1-1-2 enable_api_ms_win_core_processthreads_l1_1_2
17015 wine_fn_config_dll api-ms-win-core-profile-l1-1-0 enable_api_ms_win_core_profile_l1_1_0
17016 wine_fn_config_dll api-ms-win-core-psapi-l1-1-0 enable_api_ms_win_core_psapi_l1_1_0
17017 wine_fn_config_dll api-ms-win-core-registry-l1-1-0 enable_api_ms_win_core_registry_l1_1_0
17018 wine_fn_config_dll api-ms-win-core-rtlsupport-l1-2-0 enable_api_ms_win_core_rtlsupport_l1_2_0
17019 wine_fn_config_dll api-ms-win-core-shlwapi-legacy-l1-1-0 enable_api_ms_win_core_shlwapi_legacy_l1_1_0
17020 wine_fn_config_dll api-ms-win-core-string-l1-1-0 enable_api_ms_win_core_string_l1_1_0
17021 wine_fn_config_dll api-ms-win-core-synch-l1-2-0 enable_api_ms_win_core_synch_l1_2_0
17022 wine_fn_config_dll api-ms-win-core-sysinfo-l1-2-0 enable_api_ms_win_core_sysinfo_l1_2_0
17023 wine_fn_config_dll api-ms-win-core-sysinfo-l1-2-1 enable_api_ms_win_core_sysinfo_l1_2_1
17024 wine_fn_config_dll api-ms-win-core-threadpool-legacy-l1-1-0 enable_api_ms_win_core_threadpool_legacy_l1_1_0
17025 wine_fn_config_dll api-ms-win-core-timezone-l1-1-0 enable_api_ms_win_core_timezone_l1_1_0
17026 wine_fn_config_dll api-ms-win-core-url-l1-1-0 enable_api_ms_win_core_url_l1_1_0
17027 wine_fn_config_dll api-ms-win-core-util-l1-1-0 enable_api_ms_win_core_util_l1_1_0
17028 wine_fn_config_dll api-ms-win-core-winrt-error-l1-1-0 enable_api_ms_win_core_winrt_error_l1_1_0
17029 wine_fn_config_dll api-ms-win-core-winrt-error-l1-1-1 enable_api_ms_win_core_winrt_error_l1_1_1
17030 wine_fn_config_dll api-ms-win-core-winrt-l1-1-0 enable_api_ms_win_core_winrt_l1_1_0
17031 wine_fn_config_dll api-ms-win-core-winrt-string-l1-1-0 enable_api_ms_win_core_winrt_string_l1_1_0
17032 wine_fn_config_dll api-ms-win-core-xstate-l2-1-0 enable_api_ms_win_core_xstate_l2_1_0
17033 wine_fn_config_dll api-ms-win-downlevel-advapi32-l1-1-0 enable_api_ms_win_downlevel_advapi32_l1_1_0
17034 wine_fn_config_dll api-ms-win-downlevel-advapi32-l2-1-0 enable_api_ms_win_downlevel_advapi32_l2_1_0
17035 wine_fn_config_dll api-ms-win-downlevel-normaliz-l1-1-0 enable_api_ms_win_downlevel_normaliz_l1_1_0
17036 wine_fn_config_dll api-ms-win-downlevel-ole32-l1-1-0 enable_api_ms_win_downlevel_ole32_l1_1_0
17037 wine_fn_config_dll api-ms-win-downlevel-shell32-l1-1-0 enable_api_ms_win_downlevel_shell32_l1_1_0
17038 wine_fn_config_dll api-ms-win-downlevel-shlwapi-l1-1-0 enable_api_ms_win_downlevel_shlwapi_l1_1_0
17039 wine_fn_config_dll api-ms-win-downlevel-shlwapi-l2-1-0 enable_api_ms_win_downlevel_shlwapi_l2_1_0
17040 wine_fn_config_dll api-ms-win-downlevel-user32-l1-1-0 enable_api_ms_win_downlevel_user32_l1_1_0
17041 wine_fn_config_dll api-ms-win-downlevel-version-l1-1-0 enable_api_ms_win_downlevel_version_l1_1_0
17042 wine_fn_config_dll api-ms-win-eventing-provider-l1-1-0 enable_api_ms_win_eventing_provider_l1_1_0
17043 wine_fn_config_dll api-ms-win-ntuser-dc-access-l1-1-0 enable_api_ms_win_ntuser_dc_access_l1_1_0
17044 wine_fn_config_dll api-ms-win-security-base-l1-1-0 enable_api_ms_win_security_base_l1_1_0
17045 wine_fn_config_dll api-ms-win-security-base-l1-2-0 enable_api_ms_win_security_base_l1_2_0
17046 wine_fn_config_dll api-ms-win-security-sddl-l1-1-0 enable_api_ms_win_security_sddl_l1_1_0
17047 wine_fn_config_dll api-ms-win-service-core-l1-1-1 enable_api_ms_win_service_core_l1_1_1
17048 wine_fn_config_dll api-ms-win-service-management-l1-1-0 enable_api_ms_win_service_management_l1_1_0
17049 wine_fn_config_dll api-ms-win-service-winsvc-l1-2-0 enable_api_ms_win_service_winsvc_l1_2_0
17050 wine_fn_config_dll apphelp enable_apphelp
17051 wine_fn_config_test dlls
/apphelp
/tests apphelp_test
17052 wine_fn_config_dll appwiz.cpl enable_appwiz_cpl po
17053 wine_fn_config_dll atl enable_atl clean
,implib
17054 wine_fn_config_test dlls
/atl
/tests atl_test
17055 wine_fn_config_dll atl100 enable_atl100 clean
,implib
17056 wine_fn_config_test dlls
/atl100
/tests atl100_test
17057 wine_fn_config_dll atl110 enable_atl110 clean
17058 wine_fn_config_dll atl80 enable_atl80 clean
,implib
17059 wine_fn_config_test dlls
/atl80
/tests atl80_test
17060 wine_fn_config_dll atl90 enable_atl90 clean
17061 wine_fn_config_dll authz enable_authz
17062 wine_fn_config_dll avicap32 enable_avicap32 implib
17063 wine_fn_config_dll avifil32 enable_avifil32 clean
,implib
,po
17064 wine_fn_config_test dlls
/avifil32
/tests avifil32_test
17065 wine_fn_config_dll avifile.dll16 enable_win16
17066 wine_fn_config_dll avrt enable_avrt implib
17067 wine_fn_config_dll bcrypt enable_bcrypt
17068 wine_fn_config_test dlls
/bcrypt
/tests bcrypt_test
17069 wine_fn_config_dll browseui enable_browseui clean
,po
17070 wine_fn_config_test dlls
/browseui
/tests browseui_test
17071 wine_fn_config_dll cabinet enable_cabinet implib
17072 wine_fn_config_test dlls
/cabinet
/tests cabinet_test
17073 wine_fn_config_dll capi2032 enable_capi2032 implib
17074 wine_fn_config_dll cards enable_cards implib
17075 wine_fn_config_dll cfgmgr32 enable_cfgmgr32 implib
17076 wine_fn_config_dll clusapi enable_clusapi implib
17077 wine_fn_config_dll combase enable_combase
17078 wine_fn_config_test dlls
/combase
/tests combase_test
17079 wine_fn_config_dll comcat enable_comcat
17080 wine_fn_config_test dlls
/comcat
/tests comcat_test
17081 wine_fn_config_dll comctl32 enable_comctl32 implib
,po
17082 wine_fn_config_test dlls
/comctl32
/tests comctl32_test
17083 wine_fn_config_dll comdlg32 enable_comdlg32 clean
,implib
,po
17084 wine_fn_config_test dlls
/comdlg32
/tests comdlg32_test
17085 wine_fn_config_dll
comm.drv16 enable_win16
17086 wine_fn_config_dll commdlg.dll16 enable_win16
17087 wine_fn_config_dll compobj.dll16 enable_win16
17088 wine_fn_config_dll compstui enable_compstui implib
17089 wine_fn_config_dll comsvcs enable_comsvcs implib
17090 wine_fn_config_dll connect enable_connect
17091 wine_fn_config_dll credui enable_credui implib
,po
17092 wine_fn_config_test dlls
/credui
/tests credui_test
17093 wine_fn_config_dll crtdll enable_crtdll implib
17094 wine_fn_config_dll crypt32 enable_crypt32 implib
,po
17095 wine_fn_config_test dlls
/crypt32
/tests crypt32_test
17096 wine_fn_config_dll cryptdlg enable_cryptdlg po
17097 wine_fn_config_dll cryptdll enable_cryptdll implib
17098 wine_fn_config_dll cryptext enable_cryptext
17099 wine_fn_config_dll cryptnet enable_cryptnet implib
17100 wine_fn_config_test dlls
/cryptnet
/tests cryptnet_test
17101 wine_fn_config_dll cryptui enable_cryptui implib
,po
17102 wine_fn_config_test dlls
/cryptui
/tests cryptui_test
17103 wine_fn_config_dll ctapi32 enable_ctapi32
17104 wine_fn_config_dll ctl3d.dll16 enable_win16
17105 wine_fn_config_dll ctl3d32 enable_ctl3d32 implib
17106 wine_fn_config_dll ctl3dv2.dll16 enable_win16
17107 wine_fn_config_dll d2d1 enable_d2d1 implib
17108 wine_fn_config_test dlls
/d2d
1/tests d2d1_test
17109 wine_fn_config_dll d3d10 enable_d3d10 implib
17110 wine_fn_config_test dlls
/d3d10
/tests d3d10_test
17111 wine_fn_config_dll d3d10_1 enable_d3d10_1 implib
17112 wine_fn_config_dll d3d10core enable_d3d10core implib
17113 wine_fn_config_test dlls
/d3d10core
/tests d3d10core_test
17114 wine_fn_config_dll d3d11 enable_d3d11
17115 wine_fn_config_dll d3d8 enable_d3d8 implib
17116 wine_fn_config_test dlls
/d3d
8/tests d3d8_test
17117 wine_fn_config_dll d3d9 enable_d3d9 implib
17118 wine_fn_config_test dlls
/d3d
9/tests d3d9_test
17119 wine_fn_config_dll d3dcompiler_33 enable_d3dcompiler_33
17120 wine_fn_config_dll d3dcompiler_34 enable_d3dcompiler_34
17121 wine_fn_config_dll d3dcompiler_35 enable_d3dcompiler_35
17122 wine_fn_config_dll d3dcompiler_36 enable_d3dcompiler_36
17123 wine_fn_config_dll d3dcompiler_37 enable_d3dcompiler_37
17124 wine_fn_config_dll d3dcompiler_38 enable_d3dcompiler_38
17125 wine_fn_config_dll d3dcompiler_39 enable_d3dcompiler_39
17126 wine_fn_config_dll d3dcompiler_40 enable_d3dcompiler_40
17127 wine_fn_config_dll d3dcompiler_41 enable_d3dcompiler_41
17128 wine_fn_config_dll d3dcompiler_42 enable_d3dcompiler_42
17129 wine_fn_config_dll d3dcompiler_43 enable_d3dcompiler_43 implib d3dcompiler
17130 wine_fn_config_test dlls
/d3dcompiler_43
/tests d3dcompiler_43_test
17131 wine_fn_config_dll d3dim enable_d3dim implib
17132 wine_fn_config_dll d3drm enable_d3drm implib
17133 wine_fn_config_test dlls
/d3drm
/tests d3drm_test
17134 wine_fn_config_dll d3dx10_33 enable_d3dx10_33
17135 wine_fn_config_dll d3dx10_34 enable_d3dx10_34
17136 wine_fn_config_dll d3dx10_35 enable_d3dx10_35
17137 wine_fn_config_dll d3dx10_36 enable_d3dx10_36
17138 wine_fn_config_dll d3dx10_37 enable_d3dx10_37
17139 wine_fn_config_dll d3dx10_38 enable_d3dx10_38
17140 wine_fn_config_dll d3dx10_39 enable_d3dx10_39
17141 wine_fn_config_dll d3dx10_40 enable_d3dx10_40
17142 wine_fn_config_dll d3dx10_41 enable_d3dx10_41
17143 wine_fn_config_dll d3dx10_42 enable_d3dx10_42
17144 wine_fn_config_dll d3dx10_43 enable_d3dx10_43
17145 wine_fn_config_dll d3dx11_42 enable_d3dx11_42
17146 wine_fn_config_dll d3dx11_43 enable_d3dx11_43
17147 wine_fn_config_dll d3dx9_24 enable_d3dx9_24
17148 wine_fn_config_dll d3dx9_25 enable_d3dx9_25
17149 wine_fn_config_dll d3dx9_26 enable_d3dx9_26
17150 wine_fn_config_dll d3dx9_27 enable_d3dx9_27
17151 wine_fn_config_dll d3dx9_28 enable_d3dx9_28
17152 wine_fn_config_dll d3dx9_29 enable_d3dx9_29
17153 wine_fn_config_dll d3dx9_30 enable_d3dx9_30
17154 wine_fn_config_dll d3dx9_31 enable_d3dx9_31
17155 wine_fn_config_dll d3dx9_32 enable_d3dx9_32
17156 wine_fn_config_dll d3dx9_33 enable_d3dx9_33
17157 wine_fn_config_dll d3dx9_34 enable_d3dx9_34
17158 wine_fn_config_dll d3dx9_35 enable_d3dx9_35
17159 wine_fn_config_dll d3dx9_36 enable_d3dx9_36 implib d3dx9
17160 wine_fn_config_test dlls
/d3dx9_36
/tests d3dx9_36_test
17161 wine_fn_config_dll d3dx9_37 enable_d3dx9_37
17162 wine_fn_config_dll d3dx9_38 enable_d3dx9_38
17163 wine_fn_config_dll d3dx9_39 enable_d3dx9_39
17164 wine_fn_config_dll d3dx9_40 enable_d3dx9_40
17165 wine_fn_config_dll d3dx9_41 enable_d3dx9_41
17166 wine_fn_config_dll d3dx9_42 enable_d3dx9_42
17167 wine_fn_config_dll d3dx9_43 enable_d3dx9_43
17168 wine_fn_config_dll d3dxof enable_d3dxof clean
,implib
17169 wine_fn_config_test dlls
/d3dxof
/tests d3dxof_test
17170 wine_fn_config_dll dbgeng enable_dbgeng implib
17171 wine_fn_config_dll dbghelp enable_dbghelp implib
17172 wine_fn_config_dll dciman32 enable_dciman32 implib
17173 wine_fn_config_dll ddeml.dll16 enable_win16
17174 wine_fn_config_dll ddraw enable_ddraw clean
,implib
17175 wine_fn_config_test dlls
/ddraw
/tests ddraw_test
17176 wine_fn_config_dll ddrawex enable_ddrawex clean
17177 wine_fn_config_test dlls
/ddrawex
/tests ddrawex_test
17178 wine_fn_config_dll devenum enable_devenum clean
,po
17179 wine_fn_config_test dlls
/devenum
/tests devenum_test
17180 wine_fn_config_dll dhcpcsvc enable_dhcpcsvc
17181 wine_fn_config_dll difxapi enable_difxapi
17182 wine_fn_config_dll dinput enable_dinput clean
,implib
,po
,staticimplib
17183 wine_fn_config_test dlls
/dinput
/tests dinput_test
17184 wine_fn_config_dll dinput8 enable_dinput8 clean
,implib
17185 wine_fn_config_test dlls
/dinput
8/tests dinput8_test
17186 wine_fn_config_dll dispdib.dll16 enable_win16
17187 wine_fn_config_dll dispex enable_dispex clean
17188 wine_fn_config_test dlls
/dispex
/tests dispex_test
17189 wine_fn_config_dll display.drv16 enable_win16
17190 wine_fn_config_dll dmband enable_dmband clean
17191 wine_fn_config_test dlls
/dmband
/tests dmband_test
17192 wine_fn_config_dll dmcompos enable_dmcompos clean
17193 wine_fn_config_test dlls
/dmcompos
/tests dmcompos_test
17194 wine_fn_config_dll dmime enable_dmime clean
17195 wine_fn_config_test dlls
/dmime
/tests dmime_test
17196 wine_fn_config_dll dmloader enable_dmloader clean
17197 wine_fn_config_test dlls
/dmloader
/tests dmloader_test
17198 wine_fn_config_dll dmscript enable_dmscript clean
17199 wine_fn_config_test dlls
/dmscript
/tests dmscript_test
17200 wine_fn_config_dll dmstyle enable_dmstyle clean
17201 wine_fn_config_test dlls
/dmstyle
/tests dmstyle_test
17202 wine_fn_config_dll dmsynth enable_dmsynth clean
17203 wine_fn_config_test dlls
/dmsynth
/tests dmsynth_test
17204 wine_fn_config_dll dmusic enable_dmusic clean
17205 wine_fn_config_test dlls
/dmusic
/tests dmusic_test
17206 wine_fn_config_dll dmusic32 enable_dmusic32 implib
17207 wine_fn_config_dll dnsapi enable_dnsapi implib
17208 wine_fn_config_test dlls
/dnsapi
/tests dnsapi_test
17209 wine_fn_config_dll dplay enable_dplay implib
17210 wine_fn_config_dll dplayx enable_dplayx clean
,implib
17211 wine_fn_config_test dlls
/dplayx
/tests dplayx_test
17212 wine_fn_config_dll dpnaddr enable_dpnaddr
17213 wine_fn_config_dll dpnet enable_dpnet clean
,implib
17214 wine_fn_config_test dlls
/dpnet
/tests dpnet_test
17215 wine_fn_config_dll dpnhpast enable_dpnhpast
17216 wine_fn_config_dll dpnlobby enable_dpnlobby
17217 wine_fn_config_dll dpvoice enable_dpvoice clean
17218 wine_fn_config_test dlls
/dpvoice
/tests dpvoice_test
17219 wine_fn_config_dll dpwsockx enable_dpwsockx
17220 wine_fn_config_dll drmclien enable_drmclien
17221 wine_fn_config_dll dsound enable_dsound clean
,implib
17222 wine_fn_config_test dlls
/dsound
/tests dsound_test
17223 wine_fn_config_dll dssenh enable_dssenh
17224 wine_fn_config_test dlls
/dssenh
/tests dssenh_test
17225 wine_fn_config_dll dswave enable_dswave clean
17226 wine_fn_config_test dlls
/dswave
/tests dswave_test
17227 wine_fn_config_dll dwmapi enable_dwmapi implib
17228 wine_fn_config_dll dwrite enable_dwrite implib
17229 wine_fn_config_test dlls
/dwrite
/tests dwrite_test
17230 wine_fn_config_dll dxdiagn enable_dxdiagn clean
,po
17231 wine_fn_config_test dlls
/dxdiagn
/tests dxdiagn_test
17232 wine_fn_config_lib dxerr8
17233 wine_fn_config_lib dxerr9
17234 wine_fn_config_dll dxgi enable_dxgi implib
17235 wine_fn_config_test dlls
/dxgi
/tests dxgi_test
17236 wine_fn_config_lib dxguid
17237 wine_fn_config_dll dxva2 enable_dxva2
17238 wine_fn_config_dll evr enable_evr
17239 wine_fn_config_dll explorerframe enable_explorerframe clean
17240 wine_fn_config_test dlls
/explorerframe
/tests explorerframe_test
17241 wine_fn_config_dll ext-ms-win-gdi-devcaps-l1-1-0 enable_ext_ms_win_gdi_devcaps_l1_1_0
17242 wine_fn_config_dll faultrep enable_faultrep implib
17243 wine_fn_config_test dlls
/faultrep
/tests faultrep_test
17244 wine_fn_config_dll fltlib enable_fltlib
17245 wine_fn_config_dll fntcache enable_fntcache
17246 wine_fn_config_dll fontsub enable_fontsub
17247 wine_fn_config_dll fusion enable_fusion
17248 wine_fn_config_test dlls
/fusion
/tests fusion_test
17249 wine_fn_config_dll fwpuclnt enable_fwpuclnt
17250 wine_fn_config_dll gameux enable_gameux clean
17251 wine_fn_config_test dlls
/gameux
/tests gameux_test
17252 wine_fn_config_dll gdi.exe16 enable_win16
17253 wine_fn_config_dll gdi32 enable_gdi32 clean
,implib
,po
17254 wine_fn_config_test dlls
/gdi32
/tests gdi32_test
17255 wine_fn_config_dll gdiplus enable_gdiplus implib
17256 wine_fn_config_test dlls
/gdiplus
/tests gdiplus_test
17257 wine_fn_config_dll glu32 enable_glu32 implib
17258 wine_fn_config_dll gphoto2.ds enable_gphoto2_ds po
17259 wine_fn_config_dll gpkcsp enable_gpkcsp
17260 wine_fn_config_dll hal enable_hal
17261 wine_fn_config_dll hhctrl.ocx enable_hhctrl_ocx clean
,implib
,po htmlhelp
17262 wine_fn_config_dll hid enable_hid implib
17263 wine_fn_config_dll hlink enable_hlink clean
,implib
17264 wine_fn_config_test dlls
/hlink
/tests hlink_test
17265 wine_fn_config_dll hnetcfg enable_hnetcfg clean
17266 wine_fn_config_dll httpapi enable_httpapi
17267 wine_fn_config_dll iccvid enable_iccvid po
17268 wine_fn_config_dll icmp enable_icmp
17269 wine_fn_config_dll ieframe enable_ieframe clean
,implib
,po
17270 wine_fn_config_test dlls
/ieframe
/tests ieframe_test
17271 wine_fn_config_dll ifsmgr.vxd enable_win16
17272 wine_fn_config_dll imaadp32.acm enable_imaadp32_acm
17273 wine_fn_config_dll imagehlp enable_imagehlp implib
17274 wine_fn_config_test dlls
/imagehlp
/tests imagehlp_test
17275 wine_fn_config_dll imm.dll16 enable_win16
17276 wine_fn_config_dll imm32 enable_imm32 implib
17277 wine_fn_config_test dlls
/imm32
/tests imm32_test
17278 wine_fn_config_dll inetcomm enable_inetcomm clean
,implib
17279 wine_fn_config_test dlls
/inetcomm
/tests inetcomm_test
17280 wine_fn_config_dll inetcpl.cpl enable_inetcpl_cpl po
17281 wine_fn_config_dll inetmib1 enable_inetmib1
17282 wine_fn_config_test dlls
/inetmib
1/tests inetmib1_test
17283 wine_fn_config_dll infosoft enable_infosoft clean
17284 wine_fn_config_test dlls
/infosoft
/tests infosoft_test
17285 wine_fn_config_dll initpki enable_initpki
17286 wine_fn_config_dll inkobj enable_inkobj
17287 wine_fn_config_dll inseng enable_inseng clean
17288 wine_fn_config_dll iphlpapi enable_iphlpapi implib
17289 wine_fn_config_test dlls
/iphlpapi
/tests iphlpapi_test
17290 wine_fn_config_dll itircl enable_itircl
17291 wine_fn_config_dll itss enable_itss clean
17292 wine_fn_config_test dlls
/itss
/tests itss_test
17293 wine_fn_config_dll joy.cpl enable_joy_cpl po
17294 wine_fn_config_dll jscript enable_jscript clean
,po
17295 wine_fn_config_test dlls
/jscript
/tests jscript_test
17296 wine_fn_config_dll jsproxy enable_jsproxy implib
17297 wine_fn_config_dll kernel32 enable_kernel32 clean
,implib
,mc
17298 wine_fn_config_test dlls
/kernel32
/tests kernel32_test
17299 wine_fn_config_dll keyboard.drv16 enable_win16
17300 wine_fn_config_dll krnl386.exe16 enable_win16 implib kernel
17301 wine_fn_config_dll ksuser enable_ksuser
17302 wine_fn_config_dll ktmw32 enable_ktmw32
17303 wine_fn_config_dll loadperf enable_loadperf implib
17304 wine_fn_config_dll localspl enable_localspl po
17305 wine_fn_config_test dlls
/localspl
/tests localspl_test
17306 wine_fn_config_dll localui enable_localui po
17307 wine_fn_config_test dlls
/localui
/tests localui_test
17308 wine_fn_config_dll lz32 enable_lz32 implib
17309 wine_fn_config_test dlls
/lz32
/tests lz32_test
17310 wine_fn_config_dll lzexpand.dll16 enable_win16
17311 wine_fn_config_dll mapi32 enable_mapi32 implib
,po
17312 wine_fn_config_test dlls
/mapi32
/tests mapi32_test
17313 wine_fn_config_dll mapistub enable_mapistub
17314 wine_fn_config_dll mciavi32 enable_mciavi32
17315 wine_fn_config_dll mcicda enable_mcicda
17316 wine_fn_config_dll mciqtz32 enable_mciqtz32
17317 wine_fn_config_dll mciseq enable_mciseq
17318 wine_fn_config_dll mciwave enable_mciwave
17319 wine_fn_config_dll mf enable_mf
17320 wine_fn_config_dll mfplat enable_mfplat
17321 wine_fn_config_dll mfreadwrite enable_mfreadwrite
17322 wine_fn_config_dll mgmtapi enable_mgmtapi
17323 wine_fn_config_dll midimap enable_midimap
17324 wine_fn_config_dll mlang enable_mlang clean
,implib
17325 wine_fn_config_test dlls
/mlang
/tests mlang_test
17326 wine_fn_config_dll mmcndmgr enable_mmcndmgr clean
17327 wine_fn_config_test dlls
/mmcndmgr
/tests mmcndmgr_test
17328 wine_fn_config_dll mmdevapi enable_mmdevapi clean
17329 wine_fn_config_test dlls
/mmdevapi
/tests mmdevapi_test
17330 wine_fn_config_dll mmdevldr.vxd enable_win16
17331 wine_fn_config_dll mmsystem.dll16 enable_win16
17332 wine_fn_config_dll monodebg.vxd enable_win16
17333 wine_fn_config_dll mountmgr.sys enable_mountmgr_sys
17334 wine_fn_config_dll mouse.drv16 enable_win16
17335 wine_fn_config_dll mpr enable_mpr implib
,po
17336 wine_fn_config_test dlls
/mpr
/tests mpr_test
17337 wine_fn_config_dll mprapi enable_mprapi implib
17338 wine_fn_config_dll msacm.dll16 enable_win16
17339 wine_fn_config_dll msacm32.drv enable_msacm32_drv
17340 wine_fn_config_dll msacm32 enable_msacm32 implib
,po
17341 wine_fn_config_test dlls
/msacm32
/tests msacm32_test
17342 wine_fn_config_dll msadp32.acm enable_msadp32_acm
17343 wine_fn_config_dll msasn1 enable_msasn1 implib
17344 wine_fn_config_dll mscat32 enable_mscat32
17345 wine_fn_config_dll mscms enable_mscms implib
17346 wine_fn_config_test dlls
/mscms
/tests mscms_test
17347 wine_fn_config_dll mscoree enable_mscoree clean
17348 wine_fn_config_test dlls
/mscoree
/tests mscoree_test
17349 wine_fn_config_dll msctf enable_msctf clean
17350 wine_fn_config_test dlls
/msctf
/tests msctf_test
17351 wine_fn_config_dll msdaps enable_msdaps clean
17352 wine_fn_config_dll msdmo enable_msdmo implib
17353 wine_fn_config_test dlls
/msdmo
/tests msdmo_test
17354 wine_fn_config_dll msftedit enable_msftedit
17355 wine_fn_config_dll msg711.acm enable_msg711_acm
17356 wine_fn_config_dll msgsm32.acm enable_msgsm32_acm
17357 wine_fn_config_dll mshtml.tlb enable_mshtml_tlb clean
17358 wine_fn_config_dll mshtml enable_mshtml clean
,implib
,po
17359 wine_fn_config_test dlls
/mshtml
/tests mshtml_test clean
17360 wine_fn_config_dll msi enable_msi clean
,implib
,po
17361 wine_fn_config_test dlls
/msi
/tests msi_test
17362 wine_fn_config_dll msident enable_msident clean
17363 wine_fn_config_dll msimg32 enable_msimg32 implib
17364 wine_fn_config_dll msimsg enable_msimsg
17365 wine_fn_config_dll msimtf enable_msimtf clean
17366 wine_fn_config_dll msisip enable_msisip
17367 wine_fn_config_dll msisys.ocx enable_msisys_ocx
17368 wine_fn_config_dll msls31 enable_msls31
17369 wine_fn_config_dll msnet32 enable_msnet32
17370 wine_fn_config_dll mspatcha enable_mspatcha
17371 wine_fn_config_dll msrle32 enable_msrle32 po
17372 wine_fn_config_test dlls
/msrle32
/tests msrle32_test
17373 wine_fn_config_dll mssign32 enable_mssign32
17374 wine_fn_config_dll mssip32 enable_mssip32
17375 wine_fn_config_dll mstask enable_mstask clean
17376 wine_fn_config_test dlls
/mstask
/tests mstask_test
17377 wine_fn_config_dll msvcirt enable_msvcirt
17378 wine_fn_config_dll msvcm80 enable_msvcm80
17379 wine_fn_config_dll msvcm90 enable_msvcm90
17380 wine_fn_config_dll msvcp100 enable_msvcp100
17381 wine_fn_config_test dlls
/msvcp100
/tests msvcp100_test
17382 wine_fn_config_dll msvcp110 enable_msvcp110
17383 wine_fn_config_dll msvcp120 enable_msvcp120
17384 wine_fn_config_test dlls
/msvcp120
/tests msvcp120_test
17385 wine_fn_config_dll msvcp120_app enable_msvcp120_app
17386 wine_fn_config_dll msvcp60 enable_msvcp60
17387 wine_fn_config_test dlls
/msvcp60
/tests msvcp60_test
17388 wine_fn_config_dll msvcp70 enable_msvcp70
17389 wine_fn_config_dll msvcp71 enable_msvcp71
17390 wine_fn_config_dll msvcp80 enable_msvcp80
17391 wine_fn_config_dll msvcp90 enable_msvcp90
17392 wine_fn_config_test dlls
/msvcp90
/tests msvcp90_test
17393 wine_fn_config_dll msvcr100 enable_msvcr100 implib
17394 wine_fn_config_test dlls
/msvcr100
/tests msvcr100_test
17395 wine_fn_config_dll msvcr110 enable_msvcr110 implib
17396 wine_fn_config_dll msvcr120 enable_msvcr120 implib
17397 wine_fn_config_test dlls
/msvcr120
/tests msvcr120_test
17398 wine_fn_config_dll msvcr120_app enable_msvcr120_app
17399 wine_fn_config_dll msvcr70 enable_msvcr70 implib
17400 wine_fn_config_dll msvcr71 enable_msvcr71 implib
17401 wine_fn_config_dll msvcr80 enable_msvcr80 implib
17402 wine_fn_config_dll msvcr90 enable_msvcr90 implib
17403 wine_fn_config_test dlls
/msvcr90
/tests msvcr90_test
17404 wine_fn_config_dll msvcrt enable_msvcrt implib
17405 wine_fn_config_test dlls
/msvcrt
/tests msvcrt_test
17406 wine_fn_config_dll msvcrt20 enable_msvcrt20 implib
17407 wine_fn_config_dll msvcrt40 enable_msvcrt40 implib
17408 wine_fn_config_dll msvcrtd enable_msvcrtd implib
17409 wine_fn_config_test dlls
/msvcrtd
/tests msvcrtd_test
17410 wine_fn_config_dll msvfw32 enable_msvfw32 implib
,po
17411 wine_fn_config_test dlls
/msvfw32
/tests msvfw32_test
17412 wine_fn_config_dll msvidc32 enable_msvidc32 po
17413 wine_fn_config_dll msvideo.dll16 enable_win16
17414 wine_fn_config_dll mswsock enable_mswsock implib
17415 wine_fn_config_dll msxml enable_msxml clean
17416 wine_fn_config_dll msxml2 enable_msxml2 clean
17417 wine_fn_config_dll msxml3 enable_msxml3 clean
17418 wine_fn_config_test dlls
/msxml
3/tests msxml3_test clean
17419 wine_fn_config_dll msxml4 enable_msxml4 clean
17420 wine_fn_config_dll msxml6 enable_msxml6 clean
17421 wine_fn_config_dll nddeapi enable_nddeapi implib
17422 wine_fn_config_dll ndis.sys enable_ndis_sys
17423 wine_fn_config_dll netapi32 enable_netapi32 implib
17424 wine_fn_config_test dlls
/netapi32
/tests netapi32_test
17425 wine_fn_config_dll netcfgx enable_netcfgx clean
17426 wine_fn_config_test dlls
/netcfgx
/tests netcfgx_test
17427 wine_fn_config_dll netprofm enable_netprofm clean
17428 wine_fn_config_test dlls
/netprofm
/tests netprofm_test
17429 wine_fn_config_dll newdev enable_newdev implib
17430 wine_fn_config_dll normaliz enable_normaliz implib
17431 wine_fn_config_dll npmshtml enable_npmshtml
17432 wine_fn_config_dll npptools enable_npptools
17433 wine_fn_config_dll ntdll enable_ntdll implib
17434 wine_fn_config_test dlls
/ntdll
/tests ntdll_test
17435 wine_fn_config_dll ntdsapi enable_ntdsapi implib
17436 wine_fn_config_test dlls
/ntdsapi
/tests ntdsapi_test
17437 wine_fn_config_dll ntoskrnl.exe enable_ntoskrnl_exe implib
17438 wine_fn_config_dll ntprint enable_ntprint
17439 wine_fn_config_test dlls
/ntprint
/tests ntprint_test
17440 wine_fn_config_dll objsel enable_objsel clean
17441 wine_fn_config_dll odbc32 enable_odbc32 implib
17442 wine_fn_config_dll odbccp32 enable_odbccp32 implib
17443 wine_fn_config_test dlls
/odbccp32
/tests odbccp32_test
17444 wine_fn_config_dll odbccu32 enable_odbccu32
17445 wine_fn_config_dll ole2.dll16 enable_win16
17446 wine_fn_config_dll ole2conv.dll16 enable_win16
17447 wine_fn_config_dll ole2disp.dll16 enable_win16
17448 wine_fn_config_dll ole2nls.dll16 enable_win16
17449 wine_fn_config_dll ole2prox.dll16 enable_win16
17450 wine_fn_config_dll ole2thk.dll16 enable_win16
17451 wine_fn_config_dll ole32 enable_ole32 clean
,implib
17452 wine_fn_config_test dlls
/ole32
/tests ole32_test
17453 wine_fn_config_dll oleacc enable_oleacc clean
,implib
,po
17454 wine_fn_config_test dlls
/oleacc
/tests oleacc_test
17455 wine_fn_config_dll oleaut32 enable_oleaut32 clean
,implib
,po
17456 wine_fn_config_test dlls
/oleaut32
/tests oleaut32_test clean
17457 wine_fn_config_dll olecli.dll16 enable_win16
17458 wine_fn_config_dll olecli32 enable_olecli32 implib
17459 wine_fn_config_dll oledb32 enable_oledb32 clean
17460 wine_fn_config_test dlls
/oledb32
/tests oledb32_test clean
17461 wine_fn_config_dll oledlg enable_oledlg implib
,po
17462 wine_fn_config_dll olepro32 enable_olepro32 implib
17463 wine_fn_config_dll olesvr.dll16 enable_win16
17464 wine_fn_config_dll olesvr32 enable_olesvr32 implib
17465 wine_fn_config_dll olethk32 enable_olethk32
17466 wine_fn_config_dll openal32 enable_openal32
17467 wine_fn_config_dll opencl enable_opencl
17468 wine_fn_config_dll opengl32 enable_opengl32 implib
17469 wine_fn_config_test dlls
/opengl32
/tests opengl32_test
17470 wine_fn_config_dll packager enable_packager clean
17471 wine_fn_config_test dlls
/packager
/tests packager_test
17472 wine_fn_config_dll pdh enable_pdh implib
17473 wine_fn_config_test dlls
/pdh
/tests pdh_test
17474 wine_fn_config_dll photometadatahandler enable_photometadatahandler
17475 wine_fn_config_dll pidgen enable_pidgen
17476 wine_fn_config_dll powrprof enable_powrprof implib
17477 wine_fn_config_dll printui enable_printui
17478 wine_fn_config_dll prntvpt enable_prntvpt
17479 wine_fn_config_dll propsys enable_propsys clean
,implib
17480 wine_fn_config_test dlls
/propsys
/tests propsys_test
17481 wine_fn_config_dll psapi enable_psapi implib
17482 wine_fn_config_test dlls
/psapi
/tests psapi_test
17483 wine_fn_config_dll pstorec enable_pstorec clean
17484 wine_fn_config_dll qcap enable_qcap
17485 wine_fn_config_test dlls
/qcap
/tests qcap_test
17486 wine_fn_config_dll qedit enable_qedit clean
17487 wine_fn_config_test dlls
/qedit
/tests qedit_test
17488 wine_fn_config_dll qmgr enable_qmgr clean
17489 wine_fn_config_test dlls
/qmgr
/tests qmgr_test
17490 wine_fn_config_dll qmgrprxy enable_qmgrprxy clean
17491 wine_fn_config_dll quartz enable_quartz clean
,implib
17492 wine_fn_config_test dlls
/quartz
/tests quartz_test clean
17493 wine_fn_config_dll query enable_query
17494 wine_fn_config_dll rasapi16.dll16 enable_win16
17495 wine_fn_config_dll rasapi32 enable_rasapi32 implib
17496 wine_fn_config_test dlls
/rasapi32
/tests rasapi32_test
17497 wine_fn_config_dll rasdlg enable_rasdlg implib
17498 wine_fn_config_dll regapi enable_regapi
17499 wine_fn_config_dll resutils enable_resutils implib
17500 wine_fn_config_dll riched20 enable_riched20 implib
17501 wine_fn_config_test dlls
/riched20
/tests riched20_test
17502 wine_fn_config_dll riched32 enable_riched32
17503 wine_fn_config_test dlls
/riched32
/tests riched32_test
17504 wine_fn_config_dll rpcrt4 enable_rpcrt4 clean
,implib
17505 wine_fn_config_test dlls
/rpcrt
4/tests rpcrt4_test clean
17506 wine_fn_config_dll rsabase enable_rsabase
17507 wine_fn_config_dll rsaenh enable_rsaenh implib
17508 wine_fn_config_test dlls
/rsaenh
/tests rsaenh_test
17509 wine_fn_config_dll rstrtmgr enable_rstrtmgr
17510 wine_fn_config_dll rtutils enable_rtutils implib
17511 wine_fn_config_dll samlib enable_samlib
17512 wine_fn_config_dll sane.ds enable_sane_ds po
17513 wine_fn_config_dll scarddlg enable_scarddlg
17514 wine_fn_config_dll sccbase enable_sccbase
17515 wine_fn_config_dll schannel enable_schannel
17516 wine_fn_config_test dlls
/schannel
/tests schannel_test
17517 wine_fn_config_dll schedsvc enable_schedsvc clean
17518 wine_fn_config_test dlls
/schedsvc
/tests schedsvc_test clean
17519 wine_fn_config_dll scrrun enable_scrrun clean
17520 wine_fn_config_test dlls
/scrrun
/tests scrrun_test clean
17521 wine_fn_config_dll scsiport.sys enable_scsiport_sys
17522 wine_fn_config_dll secur32 enable_secur32 implib
17523 wine_fn_config_test dlls
/secur32
/tests secur32_test
17524 wine_fn_config_dll security enable_security
17525 wine_fn_config_dll sensapi enable_sensapi implib
17526 wine_fn_config_dll serialui enable_serialui implib
,po
17527 wine_fn_config_test dlls
/serialui
/tests serialui_test
17528 wine_fn_config_dll setupapi enable_setupapi implib
,po
17529 wine_fn_config_test dlls
/setupapi
/tests setupapi_test
17530 wine_fn_config_dll setupx.dll16 enable_win16
17531 wine_fn_config_dll sfc enable_sfc implib
17532 wine_fn_config_dll sfc_os enable_sfc_os implib
17533 wine_fn_config_dll shdoclc enable_shdoclc po
17534 wine_fn_config_dll shdocvw enable_shdocvw clean
,implib
17535 wine_fn_config_test dlls
/shdocvw
/tests shdocvw_test
17536 wine_fn_config_dll shell.dll16 enable_win16
17537 wine_fn_config_dll shell32 enable_shell32 clean
,implib
,po
17538 wine_fn_config_test dlls
/shell32
/tests shell32_test
17539 wine_fn_config_dll shfolder enable_shfolder implib
17540 wine_fn_config_dll shlwapi enable_shlwapi implib
,po
17541 wine_fn_config_test dlls
/shlwapi
/tests shlwapi_test
17542 wine_fn_config_dll slbcsp enable_slbcsp
17543 wine_fn_config_dll slc enable_slc implib
17544 wine_fn_config_test dlls
/slc
/tests slc_test
17545 wine_fn_config_dll snmpapi enable_snmpapi implib
17546 wine_fn_config_test dlls
/snmpapi
/tests snmpapi_test
17547 wine_fn_config_dll softpub enable_softpub
17548 wine_fn_config_dll sound.drv16 enable_win16
17549 wine_fn_config_dll spoolss enable_spoolss implib
17550 wine_fn_config_test dlls
/spoolss
/tests spoolss_test
17551 wine_fn_config_dll stdole2.tlb enable_stdole2_tlb clean
17552 wine_fn_config_dll stdole32.tlb enable_stdole32_tlb clean
17553 wine_fn_config_dll sti enable_sti clean
,implib
17554 wine_fn_config_test dlls
/sti
/tests sti_test
17555 wine_fn_config_dll storage.dll16 enable_win16
17556 wine_fn_config_dll stress.dll16 enable_win16
17557 wine_fn_config_lib strmbase
17558 wine_fn_config_lib strmiids
17559 wine_fn_config_dll svrapi enable_svrapi
17560 wine_fn_config_dll sxs enable_sxs implib
17561 wine_fn_config_test dlls
/sxs
/tests sxs_test
17562 wine_fn_config_dll system.drv16 enable_win16
17563 wine_fn_config_dll t2embed enable_t2embed
17564 wine_fn_config_dll tapi32 enable_tapi32 implib
17565 wine_fn_config_dll taskschd enable_taskschd clean
17566 wine_fn_config_test dlls
/taskschd
/tests taskschd_test
17567 wine_fn_config_dll toolhelp.dll16 enable_win16
17568 wine_fn_config_dll traffic enable_traffic
17569 wine_fn_config_dll twain.dll16 enable_win16
17570 wine_fn_config_dll twain_32 enable_twain_32
17571 wine_fn_config_test dlls
/twain_32
/tests twain_32_test
17572 wine_fn_config_dll typelib.dll16 enable_win16
17573 wine_fn_config_dll unicows enable_unicows implib
17574 wine_fn_config_dll updspapi enable_updspapi
17575 wine_fn_config_dll url enable_url implib
17576 wine_fn_config_dll urlmon enable_urlmon clean
,implib
,po
17577 wine_fn_config_test dlls
/urlmon
/tests urlmon_test
17578 wine_fn_config_dll usbd.sys enable_usbd_sys implib
17579 wine_fn_config_dll user.exe16 enable_win16
17580 wine_fn_config_dll user32 enable_user32 clean
,implib
,po
17581 wine_fn_config_test dlls
/user32
/tests user32_test
17582 wine_fn_config_dll userenv enable_userenv implib
17583 wine_fn_config_test dlls
/userenv
/tests userenv_test
17584 wine_fn_config_dll usp10 enable_usp10 implib
17585 wine_fn_config_test dlls
/usp10
/tests usp10_test
17586 wine_fn_config_lib uuid
17587 wine_fn_config_dll uxtheme enable_uxtheme implib
17588 wine_fn_config_test dlls
/uxtheme
/tests uxtheme_test
17589 wine_fn_config_dll vbscript enable_vbscript clean
17590 wine_fn_config_test dlls
/vbscript
/tests vbscript_test clean
17591 wine_fn_config_dll vcomp enable_vcomp
17592 wine_fn_config_dll vcomp100 enable_vcomp100
17593 wine_fn_config_dll vcomp90 enable_vcomp90
17594 wine_fn_config_dll vdhcp.vxd enable_win16
17595 wine_fn_config_dll vdmdbg enable_vdmdbg implib
17596 wine_fn_config_dll ver.dll16 enable_win16
17597 wine_fn_config_dll version enable_version implib
17598 wine_fn_config_test dlls
/version
/tests version_test
17599 wine_fn_config_dll vmm.vxd enable_win16
17600 wine_fn_config_dll vnbt.vxd enable_win16
17601 wine_fn_config_dll vnetbios.vxd enable_win16
17602 wine_fn_config_dll vssapi enable_vssapi
17603 wine_fn_config_dll vtdapi.vxd enable_win16
17604 wine_fn_config_dll vwin32.vxd enable_win16
17605 wine_fn_config_dll w32skrnl enable_win16
17606 wine_fn_config_dll w32sys.dll16 enable_win16
17607 wine_fn_config_dll wbemdisp enable_wbemdisp clean
17608 wine_fn_config_test dlls
/wbemdisp
/tests wbemdisp_test
17609 wine_fn_config_dll wbemprox enable_wbemprox clean
17610 wine_fn_config_test dlls
/wbemprox
/tests wbemprox_test
17611 wine_fn_config_dll webservices enable_webservices implib
17612 wine_fn_config_dll wer enable_wer implib
17613 wine_fn_config_test dlls
/wer
/tests wer_test
17614 wine_fn_config_dll wevtapi enable_wevtapi
17615 wine_fn_config_dll wiaservc enable_wiaservc clean
17616 wine_fn_config_dll win32s16.dll16 enable_win16
17617 wine_fn_config_dll win87em.dll16 enable_win16
17618 wine_fn_config_dll winaspi.dll16 enable_win16
17619 wine_fn_config_dll windebug.dll16 enable_win16
17620 wine_fn_config_dll windowscodecs enable_windowscodecs clean
,implib
17621 wine_fn_config_test dlls
/windowscodecs
/tests windowscodecs_test
17622 wine_fn_config_dll windowscodecsext enable_windowscodecsext implib
17623 wine_fn_config_test dlls
/windowscodecsext
/tests windowscodecsext_test
17624 wine_fn_config_dll winealsa.drv enable_winealsa_drv
17625 wine_fn_config_dll winecoreaudio.drv enable_winecoreaudio_drv
17626 wine_fn_config_lib winecrt0
17627 wine_fn_config_dll wined3d enable_wined3d implib
17628 wine_fn_config_dll winegstreamer enable_winegstreamer
17629 wine_fn_config_dll winejoystick.drv enable_winejoystick_drv
17630 wine_fn_config_dll winemac.drv enable_winemac_drv
17631 wine_fn_config_dll winemapi enable_winemapi
17632 wine_fn_config_dll winemp3.acm enable_winemp3_acm
17633 wine_fn_config_dll wineoss.drv enable_wineoss_drv
17634 wine_fn_config_dll wineps.drv enable_wineps_drv clean
,po
17635 wine_fn_config_dll wineps16.drv16 enable_win16
17636 wine_fn_config_dll wineqtdecoder enable_wineqtdecoder
17637 wine_fn_config_dll winex11.drv enable_winex11_drv
17638 wine_fn_config_dll wing.dll16 enable_win16
17639 wine_fn_config_dll wing32 enable_wing32
17640 wine_fn_config_dll winhttp enable_winhttp clean
,implib
17641 wine_fn_config_test dlls
/winhttp
/tests winhttp_test
17642 wine_fn_config_dll wininet enable_wininet implib
,po
17643 wine_fn_config_test dlls
/wininet
/tests wininet_test
17644 wine_fn_config_dll winmm enable_winmm implib
,po
17645 wine_fn_config_test dlls
/winmm
/tests winmm_test
17646 wine_fn_config_dll winnls.dll16 enable_win16
17647 wine_fn_config_dll winnls32 enable_winnls32 implib
17648 wine_fn_config_dll winscard enable_winscard implib
17649 wine_fn_config_dll winsock.dll16 enable_win16
17650 wine_fn_config_dll winspool.drv enable_winspool_drv implib
,po winspool
17651 wine_fn_config_test dlls
/winspool.drv
/tests winspool.drv_test
17652 wine_fn_config_dll winsta enable_winsta
17653 wine_fn_config_dll wintab.dll16 enable_win16
17654 wine_fn_config_dll wintab32 enable_wintab32 implib
17655 wine_fn_config_test dlls
/wintab32
/tests wintab32_test
17656 wine_fn_config_dll wintrust enable_wintrust implib
17657 wine_fn_config_test dlls
/wintrust
/tests wintrust_test
17658 wine_fn_config_dll wlanapi enable_wlanapi
17659 wine_fn_config_dll wldap32 enable_wldap32 implib
,po
17660 wine_fn_config_test dlls
/wldap32
/tests wldap32_test
17661 wine_fn_config_dll wmi enable_wmi
17662 wine_fn_config_dll wmiutils enable_wmiutils clean
17663 wine_fn_config_test dlls
/wmiutils
/tests wmiutils_test
17664 wine_fn_config_dll wmp enable_wmp clean
17665 wine_fn_config_test dlls
/wmp
/tests wmp_test
17666 wine_fn_config_dll wmvcore enable_wmvcore
17667 wine_fn_config_dll wnaspi32 enable_wnaspi32 implib
17668 wine_fn_config_dll wow32 enable_win16 implib
17669 wine_fn_config_dll wpcap enable_wpcap
17670 wine_fn_config_dll ws2_32 enable_ws2_32 implib
17671 wine_fn_config_test dlls
/ws2_32
/tests ws2_32_test
17672 wine_fn_config_dll wshom.ocx enable_wshom_ocx clean
17673 wine_fn_config_test dlls
/wshom.ocx
/tests wshom.ocx_test clean
17674 wine_fn_config_dll wsnmp32 enable_wsnmp32 implib
17675 wine_fn_config_test dlls
/wsnmp32
/tests wsnmp32_test
17676 wine_fn_config_dll wsock32 enable_wsock32 implib
17677 wine_fn_config_dll wtsapi32 enable_wtsapi32 implib
17678 wine_fn_config_test dlls
/wtsapi32
/tests wtsapi32_test
17679 wine_fn_config_dll wuapi enable_wuapi clean
17680 wine_fn_config_dll wuaueng enable_wuaueng
17681 wine_fn_config_dll x3daudio1_1 enable_x3daudio1_1
17682 wine_fn_config_dll x3daudio1_6 enable_x3daudio1_6
17683 wine_fn_config_dll x3daudio1_7 enable_x3daudio1_7
17684 wine_fn_config_dll xapofx1_1 enable_xapofx1_1
17685 wine_fn_config_dll xapofx1_3 enable_xapofx1_3
17686 wine_fn_config_dll xapofx1_4 enable_xapofx1_4
17687 wine_fn_config_dll xapofx1_5 enable_xapofx1_5
17688 wine_fn_config_dll xaudio2_7 enable_xaudio2_7
17689 wine_fn_config_dll xinput1_1 enable_xinput1_1
17690 wine_fn_config_dll xinput1_2 enable_xinput1_2
17691 wine_fn_config_dll xinput1_3 enable_xinput1_3 implib xinput
17692 wine_fn_config_test dlls
/xinput1_
3/tests xinput1_3_test
17693 wine_fn_config_dll xinput1_4 enable_xinput1_4
17694 wine_fn_config_dll xinput9_1_0 enable_xinput9_1_0
17695 wine_fn_config_dll xmllite enable_xmllite implib
17696 wine_fn_config_test dlls
/xmllite
/tests xmllite_test
17697 wine_fn_config_dll xolehlp enable_xolehlp
17698 wine_fn_config_dll xpsprint enable_xpsprint
17699 wine_fn_config_dll xpssvcs enable_xpssvcs
17700 wine_fn_config_makefile documentation enable_documentation clean
17701 wine_fn_config_makefile fonts enable_fonts clean
,install-lib
17702 wine_fn_config_makefile include enable_include clean
,install-dev
17703 wine_fn_config_makefile libs
/port enable_libs_port
17704 wine_fn_config_makefile libs
/wine enable_libs_wine clean
,install-dev
,install-lib
17705 wine_fn_config_makefile libs
/wpp enable_libs_wpp
17706 wine_fn_config_makefile loader enable_loader clean
,install-lib
,manpage
17707 wine_fn_config_program arp enable_arp
install
17708 wine_fn_config_program aspnet_regiis enable_aspnet_regiis
install
17709 wine_fn_config_program attrib enable_attrib
install,po
17710 wine_fn_config_program cabarc enable_cabarc
install
17711 wine_fn_config_program cacls enable_cacls
install
17712 wine_fn_config_program
clock enable_clock
install,po
17713 wine_fn_config_program cmd enable_cmd
install,po
17714 wine_fn_config_test programs
/cmd
/tests cmd.exe_test
17715 wine_fn_config_program conhost enable_conhost
install
17716 wine_fn_config_program control enable_control
install
17717 wine_fn_config_program cscript enable_cscript clean
,install
17718 wine_fn_config_program dpnsvr enable_dpnsvr
install
17719 wine_fn_config_program dxdiag enable_dxdiag
install,po
17720 wine_fn_config_program eject enable_eject
install
17721 wine_fn_config_program
expand enable_expand
install
17722 wine_fn_config_program explorer enable_explorer
install,po
17723 wine_fn_config_program extrac32 enable_extrac32
install
17724 wine_fn_config_program findstr enable_findstr
install
17725 wine_fn_config_program hh enable_hh
install
17726 wine_fn_config_program hostname enable_hostname
install,po
17727 wine_fn_config_program icinfo enable_icinfo
install
17728 wine_fn_config_program iexplore enable_iexplore
install
17729 wine_fn_config_program ipconfig enable_ipconfig
install,po
17730 wine_fn_config_program lodctr enable_lodctr
install
17731 wine_fn_config_program mofcomp enable_mofcomp
install
17732 wine_fn_config_program mshta enable_mshta
install
17733 wine_fn_config_program msiexec enable_msiexec
install,installbin
,manpage
17734 wine_fn_config_program net enable_net
install,po
17735 wine_fn_config_program netsh enable_netsh
install
17736 wine_fn_config_program netstat enable_netstat
install,po
17737 wine_fn_config_program ngen enable_ngen
install
17738 wine_fn_config_program notepad enable_notepad
install,installbin
,manpage
,po
17739 wine_fn_config_program oleview enable_oleview
install,po
17740 wine_fn_config_program
ping enable_ping
install
17741 wine_fn_config_program plugplay enable_plugplay
install
17742 wine_fn_config_program presentationfontcache enable_presentationfontcache
install
17743 wine_fn_config_program progman enable_progman
install,po
17744 wine_fn_config_program reg enable_reg
install,po
17745 wine_fn_config_test programs
/reg
/tests reg.exe_test
17746 wine_fn_config_program regasm enable_regasm
install
17747 wine_fn_config_program regedit enable_regedit
install,installbin
,manpage
,po
17748 wine_fn_config_test programs
/regedit
/tests regedit.exe_test
17749 wine_fn_config_program regsvcs enable_regsvcs
install
17750 wine_fn_config_program regsvr32 enable_regsvr32
install,installbin
,manpage
,po
17751 wine_fn_config_program rpcss enable_rpcss clean
,install
17752 wine_fn_config_program rundll.exe16 enable_win16
install
17753 wine_fn_config_program rundll32 enable_rundll32
install
17754 wine_fn_config_program sc enable_sc
install
17755 wine_fn_config_program schtasks enable_schtasks
install
17756 wine_fn_config_program sdbinst enable_sdbinst
install
17757 wine_fn_config_program secedit enable_secedit
install
17758 wine_fn_config_program servicemodelreg enable_servicemodelreg
install
17759 wine_fn_config_program services enable_services clean
,install
17760 wine_fn_config_test programs
/services
/tests services.exe_test
17761 wine_fn_config_program spoolsv enable_spoolsv
install
17762 wine_fn_config_program start enable_start
install,po
17763 wine_fn_config_program svchost enable_svchost
install
17764 wine_fn_config_program systeminfo enable_systeminfo
install
17765 wine_fn_config_program taskkill enable_taskkill
install,po
17766 wine_fn_config_program tasklist enable_tasklist
install
17767 wine_fn_config_program taskmgr enable_taskmgr
install,po
17768 wine_fn_config_program termsv enable_termsv
install
17769 wine_fn_config_program uninstaller enable_uninstaller
install,po
17770 wine_fn_config_program unlodctr enable_unlodctr
install
17771 wine_fn_config_program view enable_view
install,po
17772 wine_fn_config_program wevtutil enable_wevtutil
install
17773 wine_fn_config_program wineboot enable_wineboot
install,installbin
,manpage
,po
17774 wine_fn_config_program winebrowser enable_winebrowser
install
17775 wine_fn_config_program winecfg enable_winecfg
install,installbin
,manpage
,po
17776 wine_fn_config_program wineconsole enable_wineconsole
install,installbin
,manpage
,po
17777 wine_fn_config_program winedbg enable_winedbg
install,installbin
,manpage
,po
17778 wine_fn_config_program winedevice enable_winedevice
install
17779 wine_fn_config_program winefile enable_winefile
install,installbin
,manpage
,po
17780 wine_fn_config_program winemenubuilder enable_winemenubuilder
install
17781 wine_fn_config_program winemine enable_winemine
install,installbin
,manpage
,po
17782 wine_fn_config_program winemsibuilder enable_winemsibuilder
install
17783 wine_fn_config_program winepath enable_winepath
install,installbin
,manpage
17784 wine_fn_config_program winetest enable_winetest clean
17785 wine_fn_config_program winevdm enable_win16
install
17786 wine_fn_config_program winhelp.exe16 enable_win16
install
17787 wine_fn_config_program winhlp32 enable_winhlp32
install,po
17788 wine_fn_config_program winoldap.mod16 enable_win16
install
17789 wine_fn_config_program winver enable_winver
install
17790 wine_fn_config_program wmic enable_wmic
install,po
17791 wine_fn_config_program wordpad enable_wordpad
install,po
17792 wine_fn_config_program
write enable_write
install,po
17793 wine_fn_config_program wscript enable_wscript clean
,install
17794 wine_fn_config_test programs
/wscript
/tests wscript.exe_test
17795 wine_fn_config_program wusa enable_wusa
install
17796 wine_fn_config_program xcopy enable_xcopy
install,po
17797 wine_fn_config_test programs
/xcopy
/tests xcopy.exe_test
17798 wine_fn_config_makefile server enable_server clean
,install-lib
,manpage
17799 wine_fn_config_tool tools clean
,install-dev
,install-lib
,manpage
17800 wine_fn_config_tool tools
/sfnt2fon clean
17801 wine_fn_config_tool tools
/widl clean
,install-dev
,manpage
17802 wine_fn_config_tool tools
/winebuild clean
,install-dev
,manpage
17803 wine_fn_config_tool tools
/winedump clean
,install-dev
,manpage
17804 wine_fn_config_tool tools
/winegcc clean
,install-dev
,manpage
17805 wine_fn_config_tool tools
/wmc clean
,install-dev
,manpage
17806 wine_fn_config_tool tools
/wrc clean
,install-dev
,manpage
17858 wine_fn_ignore_file
".gitignore"
17859 wine_fn_ignore_file
"Makefile"
17860 wine_fn_ignore_file
"TAGS"
17861 wine_fn_ignore_file
"tags"
17862 wine_fn_ignore_file
"autom4te.cache"
17863 wine_fn_ignore_file
"config.cache"
17864 wine_fn_ignore_file
"config.log"
17865 wine_fn_ignore_file
"config.status"
17866 wine_fn_ignore_file
"configure.lineno"
17867 wine_fn_ignore_file
"include/config.h"
17868 wine_fn_ignore_file
"include/stamp-h"
17869 test "$wine_binary" = wine || wine_fn_ignore_file
"loader/wine"
17871 if test "x$enable_tools" != xno
17873 wine_fn_ignore_file
"tools/makedep$ac_exeext"
17874 ac_config_commands
="$ac_config_commands tools/makedep"
17878 ac_config_commands
="$ac_config_commands Makefile"
17881 ac_config_files
="$ac_config_files Make.tmp:Make.vars.in:Makefile.in"
17885 if test "x$enable_maintainer_mode" = xyes
17887 wine_fn_append_rule
"configure: configure.ac aclocal.m4
17888 autoconf --warnings=all
17889 include/config.h.in: include/stamp-h.in
17890 include/stamp-h.in: configure.ac aclocal.m4
17891 autoheader --warnings=all
17892 @echo timestamp > \$@"
17895 if test "x$with_gettextpo" = xyes
17897 test "$srcdir" = . || as_fn_error $?
"Rebuilding po files is not supported for out of tree builds." "$LINENO" 5
17898 wine_fn_append_rule
"ALL_POT_FILES =$ALL_POT_FILES
17899 \$(LINGUAS:%=po/%.po): po/wine.pot
17900 msgmerge --previous -q \$@ po/wine.pot | msgattrib --no-obsolete -o \$@.new && mv \$@.new \$@
17901 po/wine.pot: \$(ALL_POT_FILES)
17902 msgcat -o \$@ \$(ALL_POT_FILES)"
17905 if test "$MSGFMT" != false
17907 wine_fn_append_rule
"__builddeps__: \$(LINGUAS:%=po/%.mo)
17909 \$(RM) \$(LINGUAS:%=po/%.mo)"
17912 test "$srcdir" = . || posrc
="$srcdir/po"
17915 wine_fn_ignore_file
"po/$i.mo"
17916 wine_fn_append_rule
"po/$i.mo: $posrc/$i.po
17917 \$(MSGFMT) -o \$@ $posrc/$i.po"
17923 if test "x$enable_tools" != xno
17925 wine_fn_append_rule
"tools/makedep$ac_exeext: $srcdir/tools/makedep.c include/config.h config.status
17926 @./config.status tools/makedep
17927 Makefile: tools/makedep$ac_exeext
17929 \$(RM) tools/makedep$ac_exeext"
17931 wine_fn_append_rule
"\$(MAKEDEP):
17932 @echo \"You need to run make in $TOOLSDIR first\" && false"
17935 if test -n "$with_wine64"
17937 wine_fn_append_rule
"all: fonts server tools $with_wine64/loader/wine $with_wine64/loader/wine-preloader
17938 fonts server tools:
17939 \$(RM) \$@ && \$(LN_S) $with_wine64/\$@ \$@
17940 $with_wine64/loader/wine:
17941 \$(RM) \$@ && \$(LN_S) $ac_pwd/loader/wine \$@
17942 $with_wine64/loader/wine-preloader:
17943 \$(RM) \$@ && \$(LN_S) $ac_pwd/loader/wine-preloader \$@
17945 \$(RM) fonts server tools $with_wine64/loader/wine $with_wine64/loader/wine-preloader"
17947 as_fn_append LOADER_RULES
"
17948 install install-lib:: wine.inf install-man-pages
17949 \$(INSTALL_DATA) wine.inf \$(DESTDIR)\$(datadir)/wine/wine.inf
17950 \$(INSTALL_DATA) \$(srcdir)/l_intl.nls \$(DESTDIR)\$(datadir)/wine/l_intl.nls
17953 \$(RM) \$(DESTDIR)\$(datadir)/wine/wine.inf \$(DESTDIR)\$(datadir)/wine/l_intl.nls
17957 if test "$srcdir" = .
17959 ac_config_commands
="$ac_config_commands .gitignore"
17963 $as_echo " done" >&6
17964 cat >confcache
<<\_ACEOF
17965 # This file is a shell script that caches the results of configure
17966 # tests run on this system so they can be shared between configure
17967 # scripts and configure runs, see configure's option --config-cache.
17968 # It is not useful on other systems. If it contains results you don't
17969 # want to keep, you may remove or edit it.
17971 # config.status only pays attention to the cache file if you give it
17972 # the --recheck option to rerun configure.
17974 # `ac_cv_env_foo' variables (set or unset) will be overridden when
17975 # loading this file, other *unset* `ac_cv_foo' will be assigned the
17976 # following values.
17980 # The following way of writing the cache mishandles newlines in values,
17981 # but we know of no workaround that is simple, portable, and efficient.
17982 # So, we kill variables containing newlines.
17983 # Ultrix sh set writes to stderr and can't be redirected directly,
17984 # and sets the high bit in the cache file unless we assign to the vars.
17986 for ac_var
in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
17987 eval ac_val
=\$
$ac_var
17991 *_cv_
*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
17992 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
17995 _ | IFS | as_nl
) ;; #(
17996 BASH_ARGV | BASH_SOURCE
) eval $ac_var= ;; #(
17997 *) { eval $ac_var=; unset $ac_var;} ;;
18003 case $as_nl`(ac_space=' '; set) 2>&1` in #(
18004 *${as_nl}ac_space
=\
*)
18005 # `set' does not quote correctly, so add quotes: double-quote
18006 # substitution turns \\\\ into \\, and sed turns \\ into \.
18009 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
18012 # `set' quotes correctly as required by POSIX, so do not add quotes.
18013 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
18022 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
18024 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
18026 if diff "$cache_file" confcache
>/dev
/null
2>&1; then :; else
18027 if test -w "$cache_file"; then
18028 if test "x$cache_file" != "x/dev/null"; then
18029 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
18030 $as_echo "$as_me: updating cache $cache_file" >&6;}
18031 if test ! -f "$cache_file" ||
test -h "$cache_file"; then
18032 cat confcache
>"$cache_file"
18034 case $cache_file in #(
18036 mv -f confcache
"$cache_file"$$
&&
18037 mv -f "$cache_file"$$
"$cache_file" ;; #(
18039 mv -f confcache
"$cache_file" ;;
18044 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
18045 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
18050 test "x$prefix" = xNONE
&& prefix
=$ac_default_prefix
18051 # Let make expand exec_prefix.
18052 test "x$exec_prefix" = xNONE
&& exec_prefix
='${prefix}'
18054 DEFS
=-DHAVE_CONFIG_H
18059 for ac_i
in : $LIBOBJS; do test "x$ac_i" = x
: && continue
18060 # 1. Remove the extension, and $U if already installed.
18061 ac_script
='s/\$U\././;s/\.o$//;s/\.obj$//'
18062 ac_i
=`$as_echo "$ac_i" | sed "$ac_script"`
18063 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
18064 # will be set to the directory where LIBOBJS objects are built.
18065 as_fn_append ac_libobjs
" \${LIBOBJDIR}$ac_i\$U.$ac_objext"
18066 as_fn_append ac_ltlibobjs
" \${LIBOBJDIR}$ac_i"'$U.lo'
18068 LIBOBJS
=$ac_libobjs
18070 LTLIBOBJS
=$ac_ltlibobjs
18074 : "${CONFIG_STATUS=./config.status}"
18076 ac_clean_files_save
=$ac_clean_files
18077 ac_clean_files
="$ac_clean_files $CONFIG_STATUS"
18078 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
18079 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
18081 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
18083 # Generated by $as_me.
18084 # Run this file to recreate the current configuration.
18085 # Compiler output produced by configure, useful for debugging
18086 # configure, is in config.log if it exists.
18089 ac_cs_recheck=false
18092 SHELL=\${CONFIG_SHELL-$SHELL}
18095 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail
=1
18096 ## -------------------- ##
18097 ## M4sh Initialization. ##
18098 ## -------------------- ##
18100 # Be more Bourne compatible
18101 DUALCASE
=1; export DUALCASE
# for MKS sh
18102 if test -n "${ZSH_VERSION+set}" && (emulate sh
) >/dev
/null
2>&1; then :
18105 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
18106 # is contrary to our usage. Disable this feature.
18107 alias -g '${1+"$@"}'='"$@"'
18108 setopt NO_GLOB_SUBST
18110 case `(set -o) 2>/dev/null` in #(
18122 # Printing a long string crashes Solaris 7 /usr/bin/printf.
18123 as_echo
='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
18124 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
18125 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
18126 # Prefer a ksh shell builtin over an external printf program on Solaris,
18127 # but without wasting forks for bash or zsh.
18128 if test -z "$BASH_VERSION$ZSH_VERSION" \
18129 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
18130 as_echo='print
-r --'
18131 as_echo_n='print
-rn --'
18132 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
18133 as_echo='printf %s
\n'
18134 as_echo_n='printf %s
'
18136 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
18137 as_echo_body='eval /usr
/ucb
/echo -n "$1$as_nl"'
18138 as_echo_n='/usr
/ucb
/echo -n'
18140 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
18141 as_echo_n_body='eval
18145 expr "X$arg" : "X\\(.*\\)$as_nl";
18146 arg
=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
18148 expr "X$arg" : "X\\(.*\\)" |
tr -d "$as_nl"
18150 export as_echo_n_body
18151 as_echo_n='sh
-c $as_echo_n_body as_echo
'
18153 export as_echo_body
18154 as_echo='sh
-c $as_echo_body as_echo
'
18157 # The user is always right.
18158 if test "${PATH_SEPARATOR+set}" != set; then
18160 (PATH='/bin
;/bin
'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
18161 (PATH='/bin
:/bin
'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
18168 # We need space, tab and new line, in precisely that order. Quoting is
18169 # there to prevent editors from complaining about space-tab.
18170 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
18171 # splitting by setting IFS to empty value.)
18174 # Find who we are. Look in the path if we contain no directory separator.
18177 *[\\/]* ) as_myself=$0 ;;
18178 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
18179 for as_dir in $PATH
18182 test -z "$as_dir" && as_dir=.
18183 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
18189 # We did not find ourselves, most probably we were run as `sh COMMAND'
18190 # in which case we are not to be found in the path.
18191 if test "x$as_myself" = x
; then
18194 if test ! -f "$as_myself"; then
18195 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
18199 # Unset variables that we do not need and which cause bugs (e.g. in
18200 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
18201 # suppresses any "Segmentation fault" message there. '((' could
18202 # trigger a bug in pdksh 5.2.14.
18203 for as_var
in BASH_ENV ENV MAIL MAILPATH
18204 do eval test x\
${$as_var+set} = xset \
18205 && ( (unset $as_var) ||
exit 1) >/dev
/null
2>&1 && unset $as_var ||
:
18218 (unset CDPATH
) >/dev
/null
2>&1 && unset CDPATH
18221 # as_fn_error STATUS ERROR [LINENO LOG_FD]
18222 # ----------------------------------------
18223 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
18224 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
18225 # script with STATUS, using 1 if that was 0.
18228 as_status
=$1; test $as_status -eq 0 && as_status
=1
18230 as_lineno
=${as_lineno-"$3"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
18231 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
18233 $as_echo "$as_me: error: $2" >&2
18234 as_fn_exit
$as_status
18238 # as_fn_set_status STATUS
18239 # -----------------------
18240 # Set $? to STATUS, without forking.
18241 as_fn_set_status
()
18244 } # as_fn_set_status
18246 # as_fn_exit STATUS
18247 # -----------------
18248 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
18252 as_fn_set_status
$1
18258 # Portably unset VAR.
18261 { eval $1=; unset $1;}
18263 as_unset
=as_fn_unset
18264 # as_fn_append VAR VALUE
18265 # ----------------------
18266 # Append the text in VALUE to the end of the definition contained in VAR. Take
18267 # advantage of any shell optimizations that allow amortized linear growth over
18268 # repeated appends, instead of the typical quadratic growth present in naive
18270 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev
/null
; then :
18271 eval 'as_fn_append ()
18282 # as_fn_arith ARG...
18283 # ------------------
18284 # Perform arithmetic evaluation on the ARGs, and store the result in the
18285 # global $as_val. Take advantage of shells that can avoid forks. The arguments
18286 # must be portable across $(()) and expr.
18287 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev
/null
; then :
18288 eval 'as_fn_arith ()
18295 as_val
=`expr "$@" || test $? -eq 1`
18300 if expr a
: '\(a\)' >/dev
/null
2>&1 &&
18301 test "X`expr 00001 : '.*\(...\)'`" = X001
; then
18307 if (basename -- /) >/dev
/null
2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
18308 as_basename
=basename
18313 if (as_dir
=`dirname -- /` && test "X$as_dir" = X
/) >/dev
/null
2>&1; then
18319 as_me
=`$as_basename -- "$0" ||
18320 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
18321 X"$0" : 'X\(//\)$' \| \
18322 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
18324 sed '/^.*\/\([^/][^/]*\)\/*$/{
18338 # Avoid depending upon Character Ranges.
18339 as_cr_letters
='abcdefghijklmnopqrstuvwxyz'
18340 as_cr_LETTERS
='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
18341 as_cr_Letters
=$as_cr_letters$as_cr_LETTERS
18342 as_cr_digits
='0123456789'
18343 as_cr_alnum
=$as_cr_Letters$as_cr_digits
18345 ECHO_C
= ECHO_N
= ECHO_T
=
18346 case `echo -n x` in #(((((
18348 case `echo 'xy\c'` in
18349 *c
*) ECHO_T
=' ';; # ECHO_T is single tab character.
18351 *) echo `echo ksh88 bug on AIX 6.1` > /dev
/null
18358 rm -f conf$$ conf$$.exe conf$$.
file
18359 if test -d conf$$.dir
; then
18360 rm -f conf$$.dir
/conf$$.
file
18363 mkdir conf$$.dir
2>/dev
/null
18365 if (echo >conf$$.
file) 2>/dev
/null
; then
18366 if ln -s conf$$.
file conf$$
2>/dev
/null
; then
18368 # ... but there are two gotchas:
18369 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
18370 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
18371 # In both cases, we have to default to `cp -pR'.
18372 ln -s conf$$.
file conf$$.dir
2>/dev
/null
&& test ! -f conf$$.exe ||
18374 elif ln conf$$.
file conf$$
2>/dev
/null
; then
18382 rm -f conf$$ conf$$.exe conf$$.dir
/conf$$.
file conf$$.
file
18383 rmdir conf$$.dir
2>/dev
/null
18388 # Create "$as_dir" as a directory, including parents if necessary.
18393 -*) as_dir
=.
/$as_dir;;
18395 test -d "$as_dir" ||
eval $as_mkdir_p ||
{
18399 *\'*) as_qdir
=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
18400 *) as_qdir
=$as_dir;;
18402 as_dirs
="'$as_qdir' $as_dirs"
18403 as_dir
=`$as_dirname -- "$as_dir" ||
18404 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
18405 X"$as_dir" : 'X\(//\)[^/]' \| \
18406 X"$as_dir" : 'X\(//\)$' \| \
18407 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
18408 $as_echo X"$as_dir" |
18409 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
18413 /^X\(\/\/\)[^/].*/{
18426 test -d "$as_dir" && break
18428 test -z "$as_dirs" ||
eval "mkdir $as_dirs"
18429 } ||
test -d "$as_dir" || as_fn_error $?
"cannot create directory $as_dir"
18433 if mkdir
-p .
2>/dev
/null
; then
18434 as_mkdir_p
='mkdir -p "$as_dir"'
18436 test -d .
/-p && rmdir .
/-p
18441 # as_fn_executable_p FILE
18442 # -----------------------
18443 # Test if FILE is an executable regular file.
18444 as_fn_executable_p
()
18446 test -f "$1" && test -x "$1"
18447 } # as_fn_executable_p
18448 as_test_x
='test -x'
18449 as_executable_p
=as_fn_executable_p
18451 # Sed expression to map a string onto a valid CPP name.
18452 as_tr_cpp
="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
18454 # Sed expression to map a string onto a valid variable name.
18455 as_tr_sh
="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
18459 ## ----------------------------------- ##
18460 ## Main body of $CONFIG_STATUS script. ##
18461 ## ----------------------------------- ##
18463 test $as_write_fail = 0 && chmod +x
$CONFIG_STATUS || ac_write_fail
=1
18465 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
18466 # Save the log message, to keep $0 and so on meaningful, and to
18467 # report actual input values of CONFIG_FILES etc. instead of their
18468 # values after options handling.
18470 This file was extended by Wine $as_me 1.7.37, which was
18471 generated by GNU Autoconf 2.69. Invocation command line was
18473 CONFIG_FILES = $CONFIG_FILES
18474 CONFIG_HEADERS = $CONFIG_HEADERS
18475 CONFIG_LINKS = $CONFIG_LINKS
18476 CONFIG_COMMANDS = $CONFIG_COMMANDS
18479 on `(hostname || uname -n) 2>/dev/null | sed 1q`
18484 case $ac_config_files in *"
18485 "*) set x
$ac_config_files; shift; ac_config_files
=$
*;;
18488 case $ac_config_headers in *"
18489 "*) set x
$ac_config_headers; shift; ac_config_headers
=$
*;;
18493 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
18494 # Files that config.status was made for.
18495 config_files="$ac_config_files"
18496 config_headers="$ac_config_headers"
18497 config_links="$ac_config_links"
18498 config_commands="$ac_config_commands"
18502 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
18504 \`$as_me' instantiates files and other configuration actions
18505 from templates according to the current configuration. Unless the files
18506 and actions are specified as TAGs, all are instantiated by default.
18508 Usage: $0 [OPTION]... [TAG]...
18510 -h, --help print this help, then exit
18511 -V, --version print version number and configuration settings, then exit
18512 --config print configuration, then exit
18513 -q, --quiet, --silent
18514 do not print progress messages
18515 -d, --debug don't remove temporary files
18516 --recheck update $as_me by reconfiguring in the same conditions
18517 --file=FILE[:TEMPLATE]
18518 instantiate the configuration file FILE
18519 --header=FILE[:TEMPLATE]
18520 instantiate the configuration header FILE
18522 Configuration files:
18525 Configuration headers:
18528 Configuration links:
18531 Configuration commands:
18534 Report bugs to <wine-devel@winehq.org>.
18535 Wine home page: <http://www.winehq.org>."
18538 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
18539 ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
18541 Wine config.status 1.7.37
18542 configured by $0, generated by GNU Autoconf 2.69,
18543 with options \\"\$ac_cs_config\\"
18545 Copyright (C) 2012 Free Software Foundation, Inc.
18546 This config.status script is free software; the Free Software Foundation
18547 gives unlimited permission to copy, distribute and modify it."
18551 test -n "\$AWK" || AWK=awk
18554 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
18555 # The default lists apply if the user does not specify any file.
18561 ac_option
=`expr "X$1" : 'X\([^=]*\)='`
18562 ac_optarg
=`expr "X$1" : 'X[^=]*=\(.*\)'`
18566 ac_option
=`expr "X$1" : 'X\([^=]*\)='`
18578 # Handling of the options.
18579 -recheck |
--recheck |
--rechec |
--reche |
--rech |
--rec |
--re |
--r)
18581 --version |
--versio |
--versi |
--vers |
--ver |
--ve |
--v |
-V )
18582 $as_echo "$ac_cs_version"; exit ;;
18583 --config |
--confi |
--conf |
--con |
--co |
--c )
18584 $as_echo "$ac_cs_config"; exit ;;
18585 --debug |
--debu |
--deb |
--de |
--d |
-d )
18587 --file |
--fil |
--fi |
--f )
18590 *\'*) ac_optarg
=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
18591 '') as_fn_error $?
"missing file argument" ;;
18593 as_fn_append CONFIG_FILES
" '$ac_optarg'"
18594 ac_need_defaults
=false
;;
18595 --header |
--heade |
--head |
--hea )
18598 *\'*) ac_optarg
=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
18600 as_fn_append CONFIG_HEADERS
" '$ac_optarg'"
18601 ac_need_defaults
=false
;;
18603 # Conflict between --help and --header
18604 as_fn_error $?
"ambiguous option: \`$1'
18605 Try \`$0 --help' for more information.";;
18606 --help |
--hel |
-h )
18607 $as_echo "$ac_cs_usage"; exit ;;
18608 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
18609 |
-silent |
--silent |
--silen |
--sile |
--sil |
--si |
--s)
18612 # This is an error.
18613 -*) as_fn_error $?
"unrecognized option: \`$1'
18614 Try \`$0 --help' for more information." ;;
18616 *) as_fn_append ac_config_targets
" $1"
18617 ac_need_defaults
=false
;;
18623 ac_configure_extra_args
=
18625 if $ac_cs_silent; then
18627 ac_configure_extra_args
="$ac_configure_extra_args --silent"
18631 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
18632 if \$ac_cs_recheck; then
18633 set X $SHELL '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
18635 \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
18636 CONFIG_SHELL='$SHELL'
18637 export CONFIG_SHELL
18642 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
18646 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
18647 ## Running $as_me. ##
18653 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
18657 wine_fn_output_makedep ()
18659 as_dir=tools; as_fn_mkdir_p
18660 $CC -Iinclude -I$srcdir/include -D__WINESRC__ $EXTRACFLAGS $CPPFLAGS $CFLAGS -o tools/makedep$ac_exeext $srcdir/tools/makedep.c $LDFLAGS
18662 wine_fn_output_makefile ()
18664 cat Make.tmp - <<\_WINE_EOF >\$tmp/makefile && mv -f \$tmp/makefile \$1 && rm -f Make.tmp && "$wine_makedep" . && return
18665 `cat $wine_rules_file`
18667 as_fn_error $? "could not create Makefile" "$LINENO" 5
18669 wine_fn_output_gitignore ()
18671 sort <<\_WINE_EOF >\$tmp/gitignore && mv -f \$tmp/gitignore \$1 && return
18674 as_fn_error $? "could not create .gitignore" "$LINENO" 5
18679 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
18681 # Handling of arguments.
18682 for ac_config_target
in $ac_config_targets
18684 case $ac_config_target in
18685 "include/config.h") CONFIG_HEADERS
="$CONFIG_HEADERS include/config.h" ;;
18686 "include/stamp-h") CONFIG_COMMANDS
="$CONFIG_COMMANDS include/stamp-h" ;;
18687 "fonts/marlett.ttf") CONFIG_LINKS
="$CONFIG_LINKS fonts/marlett.ttf:fonts/marlett.ttf" ;;
18688 "fonts/symbol.ttf") CONFIG_LINKS
="$CONFIG_LINKS fonts/symbol.ttf:fonts/symbol.ttf" ;;
18689 "fonts/tahoma.ttf") CONFIG_LINKS
="$CONFIG_LINKS fonts/tahoma.ttf:fonts/tahoma.ttf" ;;
18690 "fonts/tahomabd.ttf") CONFIG_LINKS
="$CONFIG_LINKS fonts/tahomabd.ttf:fonts/tahomabd.ttf" ;;
18691 "loader/l_intl.nls") CONFIG_LINKS
="$CONFIG_LINKS loader/l_intl.nls:loader/l_intl.nls" ;;
18692 "po/LINGUAS") CONFIG_LINKS
="$CONFIG_LINKS po/LINGUAS:po/LINGUAS" ;;
18693 "wine") CONFIG_LINKS
="$CONFIG_LINKS wine:tools/winewrapper" ;;
18694 "wine64") CONFIG_LINKS
="$CONFIG_LINKS wine64:tools/winewrapper" ;;
18695 "tools/makedep") CONFIG_COMMANDS
="$CONFIG_COMMANDS tools/makedep" ;;
18696 "Makefile") CONFIG_COMMANDS
="$CONFIG_COMMANDS Makefile" ;;
18697 "Make.tmp") CONFIG_FILES
="$CONFIG_FILES Make.tmp:Make.vars.in:Makefile.in" ;;
18698 ".gitignore") CONFIG_COMMANDS
="$CONFIG_COMMANDS .gitignore" ;;
18700 *) as_fn_error $?
"invalid argument: \`$ac_config_target'" "$LINENO" 5;;
18705 # If the user did not use the arguments to specify the items to instantiate,
18706 # then the envvar interface is used. Set only those that are not.
18707 # We use the long form for the default assignment because of an extremely
18708 # bizarre bug on SunOS 4.1.3.
18709 if $ac_need_defaults; then
18710 test "${CONFIG_FILES+set}" = set || CONFIG_FILES
=$config_files
18711 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS
=$config_headers
18712 test "${CONFIG_LINKS+set}" = set || CONFIG_LINKS
=$config_links
18713 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS
=$config_commands
18716 # Have a temporary directory for convenience. Make it in the build tree
18717 # simply because there is no reason against having it here, and in addition,
18718 # creating and moving files from /tmp can sometimes cause problems.
18719 # Hook for its removal unless debugging.
18720 # Note that there is a small window in which the directory will not be cleaned:
18721 # after its creation but before its name has been assigned to `$tmp'.
18725 trap 'exit_status=$?
18726 : "${ac_tmp:=$tmp}"
18727 { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
18729 trap 'as_fn_exit 1' 1 2 13 15
18731 # Create a (secure) tmp directory for tmp files.
18734 tmp
=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
18738 tmp
=.
/conf$$
-$RANDOM
18739 (umask 077 && mkdir
"$tmp")
18740 } || as_fn_error $?
"cannot create a temporary directory in ." "$LINENO" 5
18743 # Set up the scripts for CONFIG_FILES section.
18744 # No need to generate them if there are no CONFIG_FILES.
18745 # This happens for instance with `./config.status config.h'.
18746 if test -n "$CONFIG_FILES"; then
18749 ac_cr
=`echo X | tr X '\015'`
18750 # On cygwin, bash can eat \r inside `` if the user requested igncr.
18751 # But we know of no other shell where ac_cr would be empty at this
18752 # point, so we can use a bashism as a fallback.
18753 if test "x$ac_cr" = x
; then
18754 eval ac_cr
=\$
\'\\r
\'
18756 ac_cs_awk_cr
=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
18757 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
18760 ac_cs_awk_cr
=$ac_cr
18763 echo 'BEGIN {' >"$ac_tmp/subs1.awk" &&
18768 echo "cat >conf$$subs.awk <<_ACEOF" &&
18769 echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
18771 } >conf$$subs.sh ||
18772 as_fn_error $? "could not
make $CONFIG_STATUS" "$LINENO" 5
18773 ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
18775 for ac_last_try in false false false false false :; do
18776 . ./conf$$subs.sh ||
18777 as_fn_error $? "could not
make $CONFIG_STATUS" "$LINENO" 5
18779 ac_delim_n=`sed -n "s
/.
*$ac_delim\$
/X
/p
" conf$$subs.awk | grep -c X`
18780 if test $ac_delim_n = $ac_delim_num; then
18782 elif $ac_last_try; then
18783 as_fn_error $? "could not
make $CONFIG_STATUS" "$LINENO" 5
18785 ac_delim="$ac_delim!$ac_delim _
$ac_delim!! "
18788 rm -f conf$$subs.sh
18790 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
18791 cat >>"\
$ac_tmp/subs1.
awk" <<\\_ACAWK &&
18795 s/^/S["/; s
/!.
*/"]=/
18805 s/\(.\{148\}\)..*/\1/
18807 s/["\\]/\\&/g
; s
/^
/"/; s/$/\\n"\\/
18812 s
/["\\]/\\&/g; s/^/"/; s
/$
/"\\/
18819 s/\(.\{148\}\)..*/\1/
18821 s/["\\]/\\&/g
; s
/^
/"/; s/$/"/
18825 s
/["\\]/\\&/g; s/^/"/; s
/$
/"\\/
18830 ' <conf$$subs.awk | sed '
18835 ' >>$CONFIG_STATUS || ac_write_fail=1
18836 rm -f conf$$subs.awk
18837 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
18839 cat >>"\
$ac_tmp/subs1.
awk" <<_ACAWK &&
18840 for (key in S) S_is_set[key] = 1
18846 nfields = split(line, field, "@
")
18848 len = length(field[1])
18849 for (i = 2; i < nfields; i++) {
18851 keylen = length(key)
18852 if (S_is_set[key]) {
18854 line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
18855 len += length(value) + length(field[++i])
18866 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
18867 if sed "s
/$ac_cr//" < /dev/null > /dev/null 2>&1; then
18868 sed "s
/$ac_cr\$
//; s
/$ac_cr/$ac_cs_awk_cr/g
"
18871 fi < "$ac_tmp/subs1.
awk" > "$ac_tmp/subs.
awk" \
18872 || as_fn_error $? "could not setup config files machinery
" "$LINENO" 5
18875 # VPATH may cause trouble with some makes, so we remove sole $(srcdir),
18876 # ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".
", strip leading and
18877 # trailing colons and then remove the whole line if VPATH becomes empty
18878 # (actually we leave an empty line to preserve line numbers).
18879 if test "x
$srcdir" = x.; then
18880 ac_vpsub='/^[ ]*VPATH[ ]*=[ ]*/{
18898 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
18899 fi # test -n "$CONFIG_FILES"
18901 # Set up the scripts for CONFIG_HEADERS section.
18902 # No need to generate them if there are no CONFIG_HEADERS.
18903 # This happens for instance with `./config.status Makefile'.
18904 if test -n "$CONFIG_HEADERS"; then
18905 cat >"$ac_tmp/defines.
awk" <<\_ACAWK ||
18909 # Transform confdefs.h into an awk script `defines.awk', embedded as
18910 # here-document in config.status, that substitutes the proper values into
18911 # config.h.in to produce config.h.
18913 # Create a delimiter string that does not exist in confdefs.h, to ease
18914 # handling of long lines.
18916 for ac_last_try in false false :; do
18917 ac_tt=`sed -n "/$ac_delim/p
" confdefs.h`
18918 if test -z "$ac_tt"; then
18920 elif $ac_last_try; then
18921 as_fn_error $? "could not
make $CONFIG_HEADERS" "$LINENO" 5
18923 ac_delim="$ac_delim!$ac_delim _
$ac_delim!! "
18927 # For the awk script, D is an array of macro values keyed by name,
18928 # likewise P contains macro parameters if any. Preserve backslash
18929 # newline sequences.
18931 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
18933 s/.\{148\}/&'"$ac_delim"'/g
18936 s/^[ ]*#[ ]*define[ ][ ]*/ /
18943 s
/^ \
('"$ac_word_re"'\
)\
(([^
()]*)\
)[ ]*\
(.
*\
)/P
["\1"]="\2"\
18945 s
/^ \
('"$ac_word_re"'\
)[ ]*\
(.
*\
)/D
["\1"]=" \2"/p
18949 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\
1"]="\
2"\
18950 D["\
1"]=" \
3\\\\\\n
"\\/p
18952 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\
1"]=" \
2\\\\\\n
"\\/p
18957 s/.\{148\}/&'"$ac_delim"'/g
18962 s/["\\]/\\&/g
; s
/^
/"/; s/$/"/p
18965 s
/["\\]/\\&/g; s/^/"/; s
/$
/\\\\\\n
"\\/p
18967 ' <confdefs.h | sed '
18968 s/'"$ac_delim"'/"\\\
18969 "/g' >>$CONFIG_STATUS || ac_write_fail=1
18971 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
18972 for (key in D) D_is_set[key] = 1
18975 /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
18977 split(line, arg, " ")
18978 if (arg[1] == "#") {
18982 defundef
= substr
(arg
[1], 2)
18985 split(mac1
, mac2
, "(") #)
18987 prefix
= substr
(line
, 1, index
(line
, defundef
) - 1)
18988 if (D_is_set
[macro
]) {
18989 # Preserve the white space surrounding the "#".
18990 print prefix
"define", macro P
[macro
] D
[macro
]
18993 # Replace #undef with comments. This is necessary, for example,
18994 # in the case of _POSIX_SOURCE, which is predefined and required
18995 # on some systems where configure will not decide to define it.
18996 if (defundef
== "undef") {
18997 print
"/*", prefix defundef
, macro
, "*/"
19005 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
19006 as_fn_error $?
"could not setup config headers machinery" "$LINENO" 5
19007 fi # test -n "$CONFIG_HEADERS"
19010 eval set X
" :F $CONFIG_FILES :H $CONFIG_HEADERS :L $CONFIG_LINKS :C $CONFIG_COMMANDS"
19015 :[FHLC
]) ac_mode
=$ac_tag; continue;;
19017 case $ac_mode$ac_tag in
19019 :L
* |
:C
*:*) as_fn_error $?
"invalid tag \`$ac_tag'" "$LINENO" 5;;
19020 :[FH
]-) ac_tag
=-:-;;
19021 :[FH
]*) ac_tag
=$ac_tag:$ac_tag.
in;;
19038 -) ac_f
="$ac_tmp/stdin";;
19039 *) # Look for the file first in the build tree, then in the source tree
19040 # (if the path is not absolute). The absolute path cannot be DOS-style,
19041 # because $ac_f cannot contain `:'.
19045 *) test -f "$srcdir/$ac_f" && ac_f
="$srcdir/$ac_f";;
19047 as_fn_error
1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
19049 case $ac_f in *\'*) ac_f
=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
19050 as_fn_append ac_file_inputs
" '$ac_f'"
19053 # Let's still pretend it is `configure' which instantiates (i.e., don't
19054 # use $as_me), people would be surprised to read:
19055 # /* config.h. Generated by config.status. */
19056 configure_input
='Generated from '`
19057 $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
19059 if test x
"$ac_file" != x-
; then
19060 configure_input
="$ac_file. $configure_input"
19061 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
19062 $as_echo "$as_me: creating $ac_file" >&6;}
19064 # Neutralize special characters interpreted by sed in replacement strings.
19065 case $configure_input in #(
19066 *\
&* |
*\|
* |
*\\* )
19067 ac_sed_conf_input
=`$as_echo "$configure_input" |
19068 sed 's/[\\\\&|]/\\\\&/g'`;; #(
19069 *) ac_sed_conf_input
=$configure_input;;
19073 *:-:* |
*:-) cat >"$ac_tmp/stdin" \
19074 || as_fn_error $?
"could not create $ac_file" "$LINENO" 5 ;;
19079 ac_dir
=`$as_dirname -- "$ac_file" ||
19080 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
19081 X"$ac_file" : 'X\(//\)[^/]' \| \
19082 X"$ac_file" : 'X\(//\)$' \| \
19083 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
19084 $as_echo X"$ac_file" |
19085 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
19089 /^X\(\/\/\)[^/].*/{
19102 as_dir
="$ac_dir"; as_fn_mkdir_p
19106 .
) ac_dir_suffix
= ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
19108 ac_dir_suffix
=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
19109 # A ".." for each directory in $ac_dir_suffix.
19110 ac_top_builddir_sub
=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
19111 case $ac_top_builddir_sub in
19112 "") ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
19113 *) ac_top_build_prefix
=$ac_top_builddir_sub/ ;;
19116 ac_abs_top_builddir
=$ac_pwd
19117 ac_abs_builddir
=$ac_pwd$ac_dir_suffix
19118 # for backward compatibility:
19119 ac_top_builddir
=$ac_top_build_prefix
19122 .
) # We are building in place.
19124 ac_top_srcdir
=$ac_top_builddir_sub
19125 ac_abs_top_srcdir
=$ac_pwd ;;
19126 [\\/]* | ?
:[\\/]* ) # Absolute name.
19127 ac_srcdir
=$srcdir$ac_dir_suffix;
19128 ac_top_srcdir
=$srcdir
19129 ac_abs_top_srcdir
=$srcdir ;;
19130 *) # Relative name.
19131 ac_srcdir
=$ac_top_build_prefix$srcdir$ac_dir_suffix
19132 ac_top_srcdir
=$ac_top_build_prefix$srcdir
19133 ac_abs_top_srcdir
=$ac_pwd/$srcdir ;;
19135 ac_abs_srcdir
=$ac_abs_top_srcdir$ac_dir_suffix
19146 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
19147 # If the template does not know about datarootdir, expand it.
19148 # FIXME: This hack should be removed a few years after 2.60.
19149 ac_datarootdir_hack
=; ac_datarootdir_seen
=
19160 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
19161 *datarootdir
*) ac_datarootdir_seen
=yes;;
19162 *@datadir@
*|
*@docdir@
*|
*@infodir@
*|
*@localedir@
*|
*@mandir@
*)
19163 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
19164 $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
19166 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
19167 ac_datarootdir_hack='
19168 s&@datadir@&$datadir&g
19169 s&@docdir@&$docdir&g
19170 s&@infodir@&$infodir&g
19171 s&@localedir@&$localedir&g
19172 s&@mandir@&$mandir&g
19173 s&\\\${datarootdir}&$datarootdir&g' ;;
19177 # Neutralize VPATH when `$srcdir' = `.'.
19178 # Shell code in configure.ac might set extrasub.
19179 # FIXME: do we really want to maintain this feature?
19180 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
19181 ac_sed_extra="$ac_vpsub
19184 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
19186 /@
[a-zA-Z_
][a-zA-Z_0-9
]*@
/!b
19187 s|@configure_input@|
$ac_sed_conf_input|
;t t
19188 s
&@top_builddir@
&$ac_top_builddir_sub&;t t
19189 s
&@top_build_prefix@
&$ac_top_build_prefix&;t t
19190 s
&@srcdir@
&$ac_srcdir&;t t
19191 s
&@abs_srcdir@
&$ac_abs_srcdir&;t t
19192 s
&@top_srcdir@
&$ac_top_srcdir&;t t
19193 s
&@abs_top_srcdir@
&$ac_abs_top_srcdir&;t t
19194 s
&@builddir@
&$ac_builddir&;t t
19195 s
&@abs_builddir@
&$ac_abs_builddir&;t t
19196 s
&@abs_top_builddir@
&$ac_abs_top_builddir&;t t
19197 $ac_datarootdir_hack
19199 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.
awk" \
19200 >$ac_tmp/out || as_fn_error $? "could not create
$ac_file" "$LINENO" 5
19202 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
19203 { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out
"`; test -n "$ac_out"; } &&
19204 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' \
19205 "$ac_tmp/out
"`; test -z "$ac_out"; } &&
19206 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: $ac_file contains a reference to the variable \
`datarootdir'
19207 which seems to be undefined. Please make sure it is defined" >&5
19208 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir
'
19209 which seems to be undefined. Please make sure it is defined" >&2;}
19211 rm -f "$ac_tmp/stdin"
19213 -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";;
19214 *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";;
19216 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
19222 if test x"$ac_file" != x-; then
19224 $as_echo "/* $configure_input */" \
19225 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs"
19226 } >"$ac_tmp/config.h" \
19227 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
19228 if diff "$ac_file" "$ac_tmp/config.h" >/dev/null 2>&1; then
19229 { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
19230 $as_echo "$as_me: $ac_file is unchanged" >&6;}
19233 mv "$ac_tmp/config.h" "$ac_file" \
19234 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
19237 $as_echo "/* $configure_input */" \
19238 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" \
19239 || as_fn_error $? "could not create -" "$LINENO" 5
19247 if test "$ac_source" = "$ac_file" && test "$srcdir" = '.
'; then
19250 # Prefer the file from the source tree if names are identical.
19251 if test "$ac_source" = "$ac_file" || test ! -r "$ac_source"; then
19252 ac_source=$srcdir/$ac_source
19255 { $as_echo "$as_me:${as_lineno-$LINENO}: linking $ac_source to $ac_file" >&5
19256 $as_echo "$as_me: linking $ac_source to $ac_file" >&6;}
19258 if test ! -r "$ac_source"; then
19259 as_fn_error $? "$ac_source: file not found" "$LINENO" 5
19263 # Try a relative symlink, then a hard link, then a copy.
19265 [\\/$]* | ?:[\\/]* ) ac_rel_source=$ac_source ;;
19266 *) ac_rel_source=$ac_top_build_prefix$ac_source ;;
19268 ln -s "$ac_rel_source" "$ac_file" 2>/dev/null ||
19269 ln "$ac_source" "$ac_file" 2>/dev/null ||
19270 cp -p "$ac_source" "$ac_file" ||
19271 as_fn_error $? "cannot link or copy $ac_source to $ac_file" "$LINENO" 5
19274 :C) { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
19275 $as_echo "$as_me: executing $ac_file commands" >&6;}
19280 case $ac_file$ac_mode in
19281 "include/stamp-h":C) echo timestamp > include/stamp-h ;;
19282 "tools/makedep":C) wine_fn_output_makedep || as_fn_exit $? ;;
19283 "Makefile":C) wine_fn_output_makefile Makefile ;;
19284 ".gitignore":C) wine_fn_output_gitignore .gitignore ;;
19292 ac_clean_files=$ac_clean_files_save
19294 test $ac_write_fail = 0 ||
19295 as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5
19298 # configure is writing to config.log, and then calls config.status.
19299 # config.status does its own redirection, appending to config.log.
19300 # Unfortunately, on DOS this fails, as config.log is still kept open
19301 # by configure, so config.status won't be able to
write to it
; its
19302 # output is simply discarded. So we exec the FD to /dev/null,
19303 # effectively closing config.log, so it can be properly (re)opened and
19304 # appended to by config.status. When coming back to configure, we
19305 # need to make the FD available again.
19306 if test "$no_create" != yes; then
19308 ac_config_status_args
=
19309 test "$silent" = yes &&
19310 ac_config_status_args
="$ac_config_status_args --quiet"
19312 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success
=false
19314 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
19315 # would make configure fail if this is the last instruction.
19316 $ac_cs_success || as_fn_exit
1
19318 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no
; then
19319 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
19320 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
19324 if test "$no_create" = "yes"
19330 if test "x$wine_notices != "x
; then
19333 for msg
in $wine_notices; do
19335 if ${msg:+false} :; then :
19338 { $as_echo "$as_me:${as_lineno-$LINENO}: $msg" >&5
19339 $as_echo "$as_me: $msg" >&6;}
19344 for msg
in $wine_warnings; do
19346 if ${msg:+false} :; then :
19350 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $msg" >&5
19351 $as_echo "$as_me: WARNING: $msg" >&2;}
19357 $as_me: Finished. Do '${ac_make}' to compile Wine.