2 # Guess values for system-dependent variables and create Makefiles.
3 # Generated by GNU Autoconf 2.69 for Wine 1.7.42.
5 # Report bugs to <wine-devel@winehq.org>.
8 # Copyright (C) 1992-1996, 1998-2012 Free Software Foundation, Inc.
11 # This configure script is free software; the Free Software Foundation
12 # gives unlimited permission to copy, distribute and modify it.
13 ## -------------------- ##
14 ## M4sh Initialization. ##
15 ## -------------------- ##
17 # Be more Bourne compatible
18 DUALCASE
=1; export DUALCASE
# for MKS sh
19 if test -n "${ZSH_VERSION+set}" && (emulate sh
) >/dev
/null
2>&1; then :
22 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
23 # is contrary to our usage. Disable this feature.
24 alias -g '${1+"$@"}'='"$@"'
27 case `(set -o) 2>/dev/null` in #(
39 # Printing a long string crashes Solaris 7 /usr/bin/printf.
40 as_echo
='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
41 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
42 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
43 # Prefer a ksh shell builtin over an external printf program on Solaris,
44 # but without wasting forks for bash or zsh.
45 if test -z "$BASH_VERSION$ZSH_VERSION" \
46 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
48 as_echo_n='print
-rn --'
49 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
53 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
54 as_echo_body='eval /usr
/ucb
/echo -n "$1$as_nl"'
55 as_echo_n='/usr
/ucb
/echo -n'
57 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
62 expr "X$arg" : "X\\(.*\\)$as_nl";
63 arg
=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
65 expr "X$arg" : "X\\(.*\\)" |
tr -d "$as_nl"
68 as_echo_n='sh
-c $as_echo_n_body as_echo
'
71 as_echo='sh
-c $as_echo_body as_echo
'
74 # The user is always right.
75 if test "${PATH_SEPARATOR+set}" != set; then
77 (PATH='/bin
;/bin
'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
78 (PATH='/bin
:/bin
'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
85 # We need space, tab and new line, in precisely that order. Quoting is
86 # there to prevent editors from complaining about space-tab.
87 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
88 # splitting by setting IFS to empty value.)
91 # Find who we are. Look in the path if we contain no directory separator.
94 *[\\/]* ) as_myself=$0 ;;
95 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
99 test -z "$as_dir" && as_dir=.
100 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
106 # We did not find ourselves, most probably we were run as `sh COMMAND'
107 # in which case we are not to be found in the path.
108 if test "x$as_myself" = x
; then
111 if test ! -f "$as_myself"; then
112 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
116 # Unset variables that we do not need and which cause bugs (e.g. in
117 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
118 # suppresses any "Segmentation fault" message there. '((' could
119 # trigger a bug in pdksh 5.2.14.
120 for as_var
in BASH_ENV ENV MAIL MAILPATH
121 do eval test x\
${$as_var+set} = xset \
122 && ( (unset $as_var) ||
exit 1) >/dev
/null
2>&1 && unset $as_var ||
:
135 (unset CDPATH
) >/dev
/null
2>&1 && unset CDPATH
137 # Use a proper internal environment variable to ensure we don't fall
138 # into an infinite loop, continuously re-executing ourselves.
139 if test x
"${_as_can_reexec}" != xno
&& test "x$CONFIG_SHELL" != x
; then
140 _as_can_reexec
=no
; export _as_can_reexec
;
141 # We cannot yet assume a decent shell, so we have to provide a
142 # neutralization value for shells without unset; and this also
143 # works around shells that cannot unset nonexistent variables.
144 # Preserve -v and -x to the replacement shell.
147 (unset BASH_ENV
) >/dev
/null
2>&1 && unset BASH_ENV ENV
149 *v
*x
* |
*x
*v
* ) as_opts
=-vx ;;
154 exec $CONFIG_SHELL $as_opts "$as_myself" ${1+"$@"}
155 # Admittedly, this is quite paranoid, since all the known shells bail
156 # out after a failed `exec'.
157 $as_echo "$0: could not re-execute with $CONFIG_SHELL" >&2
160 # We don't want this to propagate to other subprocesses.
161 { _as_can_reexec
=; unset _as_can_reexec
;}
162 if test "x$CONFIG_SHELL" = x
; then
163 as_bourne_compatible
="if test -n \"\${ZSH_VERSION+set}\" && (emulate sh) >/dev/null 2>&1; then :
166 # Pre-4.2 versions of Zsh do word splitting on \${1+\"\$@\"}, which
167 # is contrary to our usage. Disable this feature.
168 alias -g '\${1+\"\$@\"}'='\"\$@\"'
171 case \`(set -o) 2>/dev/null\` in #(
179 as_required
="as_fn_return () { (exit \$1); }
180 as_fn_success () { as_fn_return 0; }
181 as_fn_failure () { as_fn_return 1; }
182 as_fn_ret_success () { return 0; }
183 as_fn_ret_failure () { return 1; }
186 as_fn_success || { exitcode=1; echo as_fn_success failed.; }
187 as_fn_failure && { exitcode=1; echo as_fn_failure succeeded.; }
188 as_fn_ret_success || { exitcode=1; echo as_fn_ret_success failed.; }
189 as_fn_ret_failure && { exitcode=1; echo as_fn_ret_failure succeeded.; }
190 if ( set x; as_fn_ret_success y && test x = \"\$1\" ); then :
193 exitcode=1; echo positional parameters were not saved.
195 test x\$exitcode = x0 || exit 1
197 as_suggested
=" as_lineno_1=";as_suggested
=$as_suggested$LINENO;as_suggested
=$as_suggested" as_lineno_1a=\$LINENO
198 as_lineno_2=";as_suggested
=$as_suggested$LINENO;as_suggested
=$as_suggested" as_lineno_2a=\$LINENO
199 eval 'test \"x\$as_lineno_1'\$as_run'\" != \"x\$as_lineno_2'\$as_run'\" &&
200 test \"x\`expr \$as_lineno_1'\$as_run' + 1\`\" = \"x\$as_lineno_2'\$as_run'\"' || exit 1
201 test \$(( 1 + 1 )) = 2 || exit 1"
202 if (eval "$as_required") 2>/dev
/null
; then :
207 if test x
$as_have_required = xyes
&& (eval "$as_suggested") 2>/dev
/null
; then :
210 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
212 for as_dir
in /bin
$PATH_SEPARATOR/usr
/bin
$PATH_SEPARATOR$PATH
215 test -z "$as_dir" && as_dir
=.
219 for as_base
in sh bash ksh sh5
; do
220 # Try only shells that exist, to save several forks.
221 as_shell
=$as_dir/$as_base
222 if { test -f "$as_shell" ||
test -f "$as_shell.exe"; } &&
223 { $as_echo "$as_bourne_compatible""$as_required" | as_run
=a
"$as_shell"; } 2>/dev
/null
; then :
224 CONFIG_SHELL
=$as_shell as_have_required
=yes
225 if { $as_echo "$as_bourne_compatible""$as_suggested" | as_run
=a
"$as_shell"; } 2>/dev
/null
; then :
233 $as_found ||
{ if { test -f "$SHELL" ||
test -f "$SHELL.exe"; } &&
234 { $as_echo "$as_bourne_compatible""$as_required" | as_run
=a
"$SHELL"; } 2>/dev
/null
; then :
235 CONFIG_SHELL
=$SHELL as_have_required
=yes
240 if test "x$CONFIG_SHELL" != x
; then :
242 # We cannot yet assume a decent shell, so we have to provide a
243 # neutralization value for shells without unset; and this also
244 # works around shells that cannot unset nonexistent variables.
245 # Preserve -v and -x to the replacement shell.
248 (unset BASH_ENV
) >/dev
/null
2>&1 && unset BASH_ENV ENV
250 *v
*x
* |
*x
*v
* ) as_opts
=-vx ;;
255 exec $CONFIG_SHELL $as_opts "$as_myself" ${1+"$@"}
256 # Admittedly, this is quite paranoid, since all the known shells bail
257 # out after a failed `exec'.
258 $as_echo "$0: could not re-execute with $CONFIG_SHELL" >&2
262 if test x
$as_have_required = xno
; then :
263 $as_echo "$0: This script requires a shell more modern than all"
264 $as_echo "$0: the shells that I found on your system."
265 if test x
${ZSH_VERSION+set} = xset
; then
266 $as_echo "$0: In particular, zsh $ZSH_VERSION has bugs and should"
267 $as_echo "$0: be upgraded to zsh 4.3.4 or later."
269 $as_echo "$0: Please tell bug-autoconf@gnu.org and
270 $0: wine-devel@winehq.org about your system, including any
271 $0: error possibly output before this message. Then install
272 $0: a modern shell, or manually run the script under such a
273 $0: shell if you do have one."
279 SHELL
=${CONFIG_SHELL-/bin/sh}
281 # Unset more variables known to interfere with behavior of common tools.
282 CLICOLOR_FORCE
= GREP_OPTIONS
=
283 unset CLICOLOR_FORCE GREP_OPTIONS
285 ## --------------------- ##
286 ## M4sh Shell Functions. ##
287 ## --------------------- ##
290 # Portably unset VAR.
293 { eval $1=; unset $1;}
297 # as_fn_set_status STATUS
298 # -----------------------
299 # Set $? to STATUS, without forking.
307 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
317 # Create "$as_dir" as a directory, including parents if necessary.
322 -*) as_dir
=.
/$as_dir;;
324 test -d "$as_dir" ||
eval $as_mkdir_p ||
{
328 *\'*) as_qdir
=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
331 as_dirs
="'$as_qdir' $as_dirs"
332 as_dir
=`$as_dirname -- "$as_dir" ||
333 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
334 X"$as_dir" : 'X\(//\)[^/]' \| \
335 X"$as_dir" : 'X\(//\)$' \| \
336 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
337 $as_echo X"$as_dir" |
338 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
355 test -d "$as_dir" && break
357 test -z "$as_dirs" ||
eval "mkdir $as_dirs"
358 } ||
test -d "$as_dir" || as_fn_error $?
"cannot create directory $as_dir"
363 # as_fn_executable_p FILE
364 # -----------------------
365 # Test if FILE is an executable regular file.
366 as_fn_executable_p
()
368 test -f "$1" && test -x "$1"
369 } # as_fn_executable_p
370 # as_fn_append VAR VALUE
371 # ----------------------
372 # Append the text in VALUE to the end of the definition contained in VAR. Take
373 # advantage of any shell optimizations that allow amortized linear growth over
374 # repeated appends, instead of the typical quadratic growth present in naive
376 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev
/null
; then :
377 eval 'as_fn_append ()
390 # Perform arithmetic evaluation on the ARGs, and store the result in the
391 # global $as_val. Take advantage of shells that can avoid forks. The arguments
392 # must be portable across $(()) and expr.
393 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev
/null
; then :
401 as_val
=`expr "$@" || test $? -eq 1`
406 # as_fn_error STATUS ERROR [LINENO LOG_FD]
407 # ----------------------------------------
408 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
409 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
410 # script with STATUS, using 1 if that was 0.
413 as_status
=$1; test $as_status -eq 0 && as_status
=1
415 as_lineno
=${as_lineno-"$3"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
416 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
418 $as_echo "$as_me: error: $2" >&2
419 as_fn_exit
$as_status
422 if expr a
: '\(a\)' >/dev
/null
2>&1 &&
423 test "X`expr 00001 : '.*\(...\)'`" = X001
; then
429 if (basename -- /) >/dev
/null
2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
435 if (as_dir
=`dirname -- /` && test "X$as_dir" = X
/) >/dev
/null
2>&1; then
441 as_me
=`$as_basename -- "$0" ||
442 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
443 X"$0" : 'X\(//\)$' \| \
444 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
446 sed '/^.*\/\([^/][^/]*\)\/*$/{
460 # Avoid depending upon Character Ranges.
461 as_cr_letters
='abcdefghijklmnopqrstuvwxyz'
462 as_cr_LETTERS
='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
463 as_cr_Letters
=$as_cr_letters$as_cr_LETTERS
464 as_cr_digits
='0123456789'
465 as_cr_alnum
=$as_cr_Letters$as_cr_digits
468 as_lineno_1
=$LINENO as_lineno_1a
=$LINENO
469 as_lineno_2
=$LINENO as_lineno_2a
=$LINENO
470 eval 'test "x$as_lineno_1'$as_run'" != "x$as_lineno_2'$as_run'" &&
471 test "x`expr $as_lineno_1'$as_run' + 1`" = "x$as_lineno_2'$as_run'"' ||
{
472 # Blame Lee E. McMahon (1931-1989) for sed's syntax. :-)
484 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
488 chmod +x
"$as_me.lineno" ||
489 { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2; as_fn_exit
1; }
491 # If we had to re-execute with $CONFIG_SHELL, we're ensured to have
492 # already done that, so ensure we don't try to do so again and fall
493 # in an infinite loop. This has already happened in practice.
494 _as_can_reexec
=no
; export _as_can_reexec
495 # Don't try to exec as it changes $[0], causing all sort of problems
496 # (the dirname of $[0] is not the place where we might find the
497 # original and so on. Autoconf is especially sensitive to this).
499 # Exit status is that of the last command.
503 ECHO_C
= ECHO_N
= ECHO_T
=
504 case `echo -n x` in #(((((
506 case `echo 'xy\c'` in
507 *c
*) ECHO_T
=' ';; # ECHO_T is single tab character.
509 *) echo `echo ksh88 bug on AIX 6.1` > /dev
/null
516 rm -f conf$$ conf$$.exe conf$$.
file
517 if test -d conf$$.dir
; then
518 rm -f conf$$.dir
/conf$$.
file
521 mkdir conf$$.dir
2>/dev
/null
523 if (echo >conf$$.
file) 2>/dev
/null
; then
524 if ln -s conf$$.
file conf$$
2>/dev
/null
; then
526 # ... but there are two gotchas:
527 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
528 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
529 # In both cases, we have to default to `cp -pR'.
530 ln -s conf$$.
file conf$$.dir
2>/dev
/null
&& test ! -f conf$$.exe ||
532 elif ln conf$$.
file conf$$
2>/dev
/null
; then
540 rm -f conf$$ conf$$.exe conf$$.dir
/conf$$.
file conf$$.
file
541 rmdir conf$$.dir
2>/dev
/null
543 if mkdir
-p .
2>/dev
/null
; then
544 as_mkdir_p
='mkdir -p "$as_dir"'
546 test -d .
/-p && rmdir .
/-p
551 as_executable_p
=as_fn_executable_p
553 # Sed expression to map a string onto a valid CPP name.
554 as_tr_cpp
="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
556 # Sed expression to map a string onto a valid variable name.
557 as_tr_sh
="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
560 test -n "$DJDIR" ||
exec 7<&0 </dev
/null
564 # hostname on some systems (SVR3.2, old GNU/Linux) returns a bogus exit status,
565 # so uname gets run too.
566 ac_hostname
=`(hostname || uname -n) 2>/dev/null | sed 1q`
571 ac_default_prefix
=/usr
/local
573 ac_config_libobj_dir
=.
580 # Identity of this package.
582 PACKAGE_TARNAME
='wine'
583 PACKAGE_VERSION
='1.7.42'
584 PACKAGE_STRING
='Wine 1.7.42'
585 PACKAGE_BUGREPORT
='wine-devel@winehq.org'
586 PACKAGE_URL
='http://www.winehq.org'
588 ac_unique_file
="server/atom.c"
589 # Factoring default headers for most tests.
590 ac_includes_default
="\
592 #ifdef HAVE_SYS_TYPES_H
593 # include <sys/types.h>
595 #ifdef HAVE_SYS_STAT_H
596 # include <sys/stat.h>
602 # ifdef HAVE_STDLIB_H
607 # if !defined STDC_HEADERS && defined HAVE_MEMORY_H
612 #ifdef HAVE_STRINGS_H
613 # include <strings.h>
615 #ifdef HAVE_INTTYPES_H
616 # include <inttypes.h>
625 ac_subst_vars
='LTLIBOBJS
698 APPLICATIONSERVICES_LIBS
783 program_transform_name
796 enable_option_checking
800 enable_maintainer_mode
857 enable_api_ms_win_core_com_l1_1_0
858 enable_api_ms_win_core_console_l1_1_0
859 enable_api_ms_win_core_datetime_l1_1_0
860 enable_api_ms_win_core_datetime_l1_1_1
861 enable_api_ms_win_core_debug_l1_1_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
1347 enable_documentation
1355 enable_aspnet_regiis
1388 enable_presentationfontcache
1401 enable_servicemodelreg
1422 enable_winemenubuilder
1424 enable_winemsibuilder
1438 ac_precious_vars
='build_alias
1487 # Initialize some variables set by options.
1489 ac_init_version
=false
1490 ac_unrecognized_opts
=
1491 ac_unrecognized_sep
=
1492 # The variables have the same names as the options, with
1493 # dashes changed to underlines.
1494 cache_file
=/dev
/null
1501 program_transform_name
=s
,x
,x
,
1509 # Installation directory options.
1510 # These are left unexpanded so users can "make install exec_prefix=/foo"
1511 # and all the variables that are supposed to be based on exec_prefix
1512 # by default will actually change.
1513 # Use braces instead of parens because sh, perl, etc. also accept them.
1514 # (The list follows the same order as the GNU Coding Standards.)
1515 bindir
='${exec_prefix}/bin'
1516 sbindir
='${exec_prefix}/sbin'
1517 libexecdir
='${exec_prefix}/libexec'
1518 datarootdir
='${prefix}/share'
1519 datadir
='${datarootdir}'
1520 sysconfdir
='${prefix}/etc'
1521 sharedstatedir
='${prefix}/com'
1522 localstatedir
='${prefix}/var'
1523 includedir
='${prefix}/include'
1524 oldincludedir
='/usr/include'
1525 docdir
='${datarootdir}/doc/${PACKAGE_TARNAME}'
1526 infodir
='${datarootdir}/info'
1531 libdir
='${exec_prefix}/lib'
1532 localedir
='${datarootdir}/locale'
1533 mandir
='${datarootdir}/man'
1539 # If the previous option needs an argument, assign it.
1540 if test -n "$ac_prev"; then
1541 eval $ac_prev=\
$ac_option
1547 *=?
*) ac_optarg
=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
1552 # Accept the important Cygnus configure options, so we can diagnose typos.
1554 case $ac_dashdash$ac_option in
1558 -bindir |
--bindir |
--bindi |
--bind |
--bin |
--bi)
1560 -bindir=* |
--bindir=* |
--bindi=* |
--bind=* |
--bin=* |
--bi=*)
1561 bindir
=$ac_optarg ;;
1563 -build |
--build |
--buil |
--bui |
--bu)
1564 ac_prev
=build_alias
;;
1565 -build=* |
--build=* |
--buil=* |
--bui=* |
--bu=*)
1566 build_alias
=$ac_optarg ;;
1568 -cache-file |
--cache-file |
--cache-fil |
--cache-fi \
1569 |
--cache-f |
--cache- |
--cache |
--cach |
--cac |
--ca |
--c)
1570 ac_prev
=cache_file
;;
1571 -cache-file=* |
--cache-file=* |
--cache-fil=* |
--cache-fi=* \
1572 |
--cache-f=* |
--cache-=* |
--cache=* |
--cach=* |
--cac=* |
--ca=* |
--c=*)
1573 cache_file
=$ac_optarg ;;
1575 --config-cache |
-C)
1576 cache_file
=config.cache
;;
1578 -datadir |
--datadir |
--datadi |
--datad)
1580 -datadir=* |
--datadir=* |
--datadi=* |
--datad=*)
1581 datadir
=$ac_optarg ;;
1583 -datarootdir |
--datarootdir |
--datarootdi |
--datarootd |
--dataroot \
1584 |
--dataroo |
--dataro |
--datar)
1585 ac_prev
=datarootdir
;;
1586 -datarootdir=* |
--datarootdir=* |
--datarootdi=* |
--datarootd=* \
1587 |
--dataroot=* |
--dataroo=* |
--dataro=* |
--datar=*)
1588 datarootdir
=$ac_optarg ;;
1590 -disable-* |
--disable-*)
1591 ac_useropt
=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
1592 # Reject names that are not valid shell variable names.
1593 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
1594 as_fn_error $?
"invalid feature name: $ac_useropt"
1595 ac_useropt_orig
=$ac_useropt
1596 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1597 case $ac_user_opts in
1599 "enable_
$ac_useropt"
1601 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
1602 ac_unrecognized_sep
=', ';;
1604 eval enable_
$ac_useropt=no
;;
1606 -docdir |
--docdir |
--docdi |
--doc |
--do)
1608 -docdir=* |
--docdir=* |
--docdi=* |
--doc=* |
--do=*)
1609 docdir
=$ac_optarg ;;
1611 -dvidir |
--dvidir |
--dvidi |
--dvid |
--dvi |
--dv)
1613 -dvidir=* |
--dvidir=* |
--dvidi=* |
--dvid=* |
--dvi=* |
--dv=*)
1614 dvidir
=$ac_optarg ;;
1616 -enable-* |
--enable-*)
1617 ac_useropt
=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
1618 # Reject names that are not valid shell variable names.
1619 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
1620 as_fn_error $?
"invalid feature name: $ac_useropt"
1621 ac_useropt_orig
=$ac_useropt
1622 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1623 case $ac_user_opts in
1625 "enable_
$ac_useropt"
1627 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
1628 ac_unrecognized_sep
=', ';;
1630 eval enable_
$ac_useropt=\
$ac_optarg ;;
1632 -exec-prefix |
--exec_prefix |
--exec-prefix |
--exec-prefi \
1633 |
--exec-pref |
--exec-pre |
--exec-pr |
--exec-p |
--exec- \
1634 |
--exec |
--exe |
--ex)
1635 ac_prev
=exec_prefix
;;
1636 -exec-prefix=* |
--exec_prefix=* |
--exec-prefix=* |
--exec-prefi=* \
1637 |
--exec-pref=* |
--exec-pre=* |
--exec-pr=* |
--exec-p=* |
--exec-=* \
1638 |
--exec=* |
--exe=* |
--ex=*)
1639 exec_prefix
=$ac_optarg ;;
1641 -gas |
--gas |
--ga |
--g)
1642 # Obsolete; use --with-gas.
1645 -help |
--help |
--hel |
--he |
-h)
1646 ac_init_help
=long
;;
1647 -help=r
* |
--help=r
* |
--hel=r
* |
--he=r
* |
-hr*)
1648 ac_init_help
=recursive
;;
1649 -help=s
* |
--help=s
* |
--hel=s
* |
--he=s
* |
-hs*)
1650 ac_init_help
=short
;;
1652 -host |
--host |
--hos |
--ho)
1653 ac_prev
=host_alias
;;
1654 -host=* |
--host=* |
--hos=* |
--ho=*)
1655 host_alias
=$ac_optarg ;;
1657 -htmldir |
--htmldir |
--htmldi |
--htmld |
--html |
--htm |
--ht)
1659 -htmldir=* |
--htmldir=* |
--htmldi=* |
--htmld=* |
--html=* |
--htm=* \
1661 htmldir
=$ac_optarg ;;
1663 -includedir |
--includedir |
--includedi |
--included |
--include \
1664 |
--includ |
--inclu |
--incl |
--inc)
1665 ac_prev
=includedir
;;
1666 -includedir=* |
--includedir=* |
--includedi=* |
--included=* |
--include=* \
1667 |
--includ=* |
--inclu=* |
--incl=* |
--inc=*)
1668 includedir
=$ac_optarg ;;
1670 -infodir |
--infodir |
--infodi |
--infod |
--info |
--inf)
1672 -infodir=* |
--infodir=* |
--infodi=* |
--infod=* |
--info=* |
--inf=*)
1673 infodir
=$ac_optarg ;;
1675 -libdir |
--libdir |
--libdi |
--libd)
1677 -libdir=* |
--libdir=* |
--libdi=* |
--libd=*)
1678 libdir
=$ac_optarg ;;
1680 -libexecdir |
--libexecdir |
--libexecdi |
--libexecd |
--libexec \
1681 |
--libexe |
--libex |
--libe)
1682 ac_prev
=libexecdir
;;
1683 -libexecdir=* |
--libexecdir=* |
--libexecdi=* |
--libexecd=* |
--libexec=* \
1684 |
--libexe=* |
--libex=* |
--libe=*)
1685 libexecdir
=$ac_optarg ;;
1687 -localedir |
--localedir |
--localedi |
--localed |
--locale)
1688 ac_prev
=localedir
;;
1689 -localedir=* |
--localedir=* |
--localedi=* |
--localed=* |
--locale=*)
1690 localedir
=$ac_optarg ;;
1692 -localstatedir |
--localstatedir |
--localstatedi |
--localstated \
1693 |
--localstate |
--localstat |
--localsta |
--localst |
--locals)
1694 ac_prev
=localstatedir
;;
1695 -localstatedir=* |
--localstatedir=* |
--localstatedi=* |
--localstated=* \
1696 |
--localstate=* |
--localstat=* |
--localsta=* |
--localst=* |
--locals=*)
1697 localstatedir
=$ac_optarg ;;
1699 -mandir |
--mandir |
--mandi |
--mand |
--man |
--ma |
--m)
1701 -mandir=* |
--mandir=* |
--mandi=* |
--mand=* |
--man=* |
--ma=* |
--m=*)
1702 mandir
=$ac_optarg ;;
1704 -nfp |
--nfp |
--nf)
1705 # Obsolete; use --without-fp.
1708 -no-create |
--no-create |
--no-creat |
--no-crea |
--no-cre \
1709 |
--no-cr |
--no-c |
-n)
1712 -no-recursion |
--no-recursion |
--no-recursio |
--no-recursi \
1713 |
--no-recurs |
--no-recur |
--no-recu |
--no-rec |
--no-re |
--no-r)
1716 -oldincludedir |
--oldincludedir |
--oldincludedi |
--oldincluded \
1717 |
--oldinclude |
--oldinclud |
--oldinclu |
--oldincl |
--oldinc \
1718 |
--oldin |
--oldi |
--old |
--ol |
--o)
1719 ac_prev
=oldincludedir
;;
1720 -oldincludedir=* |
--oldincludedir=* |
--oldincludedi=* |
--oldincluded=* \
1721 |
--oldinclude=* |
--oldinclud=* |
--oldinclu=* |
--oldincl=* |
--oldinc=* \
1722 |
--oldin=* |
--oldi=* |
--old=* |
--ol=* |
--o=*)
1723 oldincludedir
=$ac_optarg ;;
1725 -prefix |
--prefix |
--prefi |
--pref |
--pre |
--pr |
--p)
1727 -prefix=* |
--prefix=* |
--prefi=* |
--pref=* |
--pre=* |
--pr=* |
--p=*)
1728 prefix
=$ac_optarg ;;
1730 -program-prefix |
--program-prefix |
--program-prefi |
--program-pref \
1731 |
--program-pre |
--program-pr |
--program-p)
1732 ac_prev
=program_prefix
;;
1733 -program-prefix=* |
--program-prefix=* |
--program-prefi=* \
1734 |
--program-pref=* |
--program-pre=* |
--program-pr=* |
--program-p=*)
1735 program_prefix
=$ac_optarg ;;
1737 -program-suffix |
--program-suffix |
--program-suffi |
--program-suff \
1738 |
--program-suf |
--program-su |
--program-s)
1739 ac_prev
=program_suffix
;;
1740 -program-suffix=* |
--program-suffix=* |
--program-suffi=* \
1741 |
--program-suff=* |
--program-suf=* |
--program-su=* |
--program-s=*)
1742 program_suffix
=$ac_optarg ;;
1744 -program-transform-name |
--program-transform-name \
1745 |
--program-transform-nam |
--program-transform-na \
1746 |
--program-transform-n |
--program-transform- \
1747 |
--program-transform |
--program-transfor \
1748 |
--program-transfo |
--program-transf \
1749 |
--program-trans |
--program-tran \
1750 |
--progr-tra |
--program-tr |
--program-t)
1751 ac_prev
=program_transform_name
;;
1752 -program-transform-name=* |
--program-transform-name=* \
1753 |
--program-transform-nam=* |
--program-transform-na=* \
1754 |
--program-transform-n=* |
--program-transform-=* \
1755 |
--program-transform=* |
--program-transfor=* \
1756 |
--program-transfo=* |
--program-transf=* \
1757 |
--program-trans=* |
--program-tran=* \
1758 |
--progr-tra=* |
--program-tr=* |
--program-t=*)
1759 program_transform_name
=$ac_optarg ;;
1761 -pdfdir |
--pdfdir |
--pdfdi |
--pdfd |
--pdf |
--pd)
1763 -pdfdir=* |
--pdfdir=* |
--pdfdi=* |
--pdfd=* |
--pdf=* |
--pd=*)
1764 pdfdir
=$ac_optarg ;;
1766 -psdir |
--psdir |
--psdi |
--psd |
--ps)
1768 -psdir=* |
--psdir=* |
--psdi=* |
--psd=* |
--ps=*)
1771 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
1772 |
-silent |
--silent |
--silen |
--sile |
--sil)
1775 -sbindir |
--sbindir |
--sbindi |
--sbind |
--sbin |
--sbi |
--sb)
1777 -sbindir=* |
--sbindir=* |
--sbindi=* |
--sbind=* |
--sbin=* \
1779 sbindir
=$ac_optarg ;;
1781 -sharedstatedir |
--sharedstatedir |
--sharedstatedi \
1782 |
--sharedstated |
--sharedstate |
--sharedstat |
--sharedsta \
1783 |
--sharedst |
--shareds |
--shared |
--share |
--shar \
1785 ac_prev
=sharedstatedir
;;
1786 -sharedstatedir=* |
--sharedstatedir=* |
--sharedstatedi=* \
1787 |
--sharedstated=* |
--sharedstate=* |
--sharedstat=* |
--sharedsta=* \
1788 |
--sharedst=* |
--shareds=* |
--shared=* |
--share=* |
--shar=* \
1790 sharedstatedir
=$ac_optarg ;;
1792 -site |
--site |
--sit)
1794 -site=* |
--site=* |
--sit=*)
1797 -srcdir |
--srcdir |
--srcdi |
--srcd |
--src |
--sr)
1799 -srcdir=* |
--srcdir=* |
--srcdi=* |
--srcd=* |
--src=* |
--sr=*)
1800 srcdir
=$ac_optarg ;;
1802 -sysconfdir |
--sysconfdir |
--sysconfdi |
--sysconfd |
--sysconf \
1803 |
--syscon |
--sysco |
--sysc |
--sys |
--sy)
1804 ac_prev
=sysconfdir
;;
1805 -sysconfdir=* |
--sysconfdir=* |
--sysconfdi=* |
--sysconfd=* |
--sysconf=* \
1806 |
--syscon=* |
--sysco=* |
--sysc=* |
--sys=* |
--sy=*)
1807 sysconfdir
=$ac_optarg ;;
1809 -target |
--target |
--targe |
--targ |
--tar |
--ta |
--t)
1810 ac_prev
=target_alias
;;
1811 -target=* |
--target=* |
--targe=* |
--targ=* |
--tar=* |
--ta=* |
--t=*)
1812 target_alias
=$ac_optarg ;;
1814 -v |
-verbose |
--verbose |
--verbos |
--verbo |
--verb)
1817 -version |
--version |
--versio |
--versi |
--vers |
-V)
1818 ac_init_version
=: ;;
1821 ac_useropt
=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1822 # Reject names that are not valid shell variable names.
1823 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
1824 as_fn_error $?
"invalid package name: $ac_useropt"
1825 ac_useropt_orig
=$ac_useropt
1826 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1827 case $ac_user_opts in
1831 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
1832 ac_unrecognized_sep
=', ';;
1834 eval with_
$ac_useropt=\
$ac_optarg ;;
1836 -without-* |
--without-*)
1837 ac_useropt
=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1838 # Reject names that are not valid shell variable names.
1839 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
1840 as_fn_error $?
"invalid package name: $ac_useropt"
1841 ac_useropt_orig
=$ac_useropt
1842 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1843 case $ac_user_opts in
1847 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
1848 ac_unrecognized_sep
=', ';;
1850 eval with_
$ac_useropt=no
;;
1853 # Obsolete; use --with-x.
1856 -x-includes |
--x-includes |
--x-include |
--x-includ |
--x-inclu \
1857 |
--x-incl |
--x-inc |
--x-in |
--x-i)
1858 ac_prev
=x_includes
;;
1859 -x-includes=* |
--x-includes=* |
--x-include=* |
--x-includ=* |
--x-inclu=* \
1860 |
--x-incl=* |
--x-inc=* |
--x-in=* |
--x-i=*)
1861 x_includes
=$ac_optarg ;;
1863 -x-libraries |
--x-libraries |
--x-librarie |
--x-librari \
1864 |
--x-librar |
--x-libra |
--x-libr |
--x-lib |
--x-li |
--x-l)
1865 ac_prev
=x_libraries
;;
1866 -x-libraries=* |
--x-libraries=* |
--x-librarie=* |
--x-librari=* \
1867 |
--x-librar=* |
--x-libra=* |
--x-libr=* |
--x-lib=* |
--x-li=* |
--x-l=*)
1868 x_libraries
=$ac_optarg ;;
1870 -*) as_fn_error $?
"unrecognized option: \`$ac_option'
1871 Try \`$0 --help' for more information"
1875 ac_envvar
=`expr "x$ac_option" : 'x\([^=]*\)='`
1876 # Reject names that are not valid shell variable names.
1877 case $ac_envvar in #(
1878 '' |
[0-9]* |
*[!_
$as_cr_alnum]* )
1879 as_fn_error $?
"invalid variable name: \`$ac_envvar'" ;;
1881 eval $ac_envvar=\
$ac_optarg
1882 export $ac_envvar ;;
1885 # FIXME: should be removed in autoconf 3.0.
1886 $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1887 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev
/null
&&
1888 $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1889 : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}"
1895 if test -n "$ac_prev"; then
1896 ac_option
=--`echo $ac_prev | sed 's/_/-/g'`
1897 as_fn_error $?
"missing argument to $ac_option"
1900 if test -n "$ac_unrecognized_opts"; then
1901 case $enable_option_checking in
1903 fatal
) as_fn_error $?
"unrecognized options: $ac_unrecognized_opts" ;;
1904 *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
1908 # Check all directory arguments for consistency.
1909 for ac_var
in exec_prefix prefix bindir sbindir libexecdir datarootdir \
1910 datadir sysconfdir sharedstatedir localstatedir includedir \
1911 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1912 libdir localedir mandir
1914 eval ac_val
=\$
$ac_var
1915 # Remove trailing slashes.
1918 ac_val
=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
1919 eval $ac_var=\
$ac_val;;
1921 # Be sure to have absolute directory names.
1923 [\\/$
]* | ?
:[\\/]* ) continue;;
1924 NONE |
'' ) case $ac_var in *prefix
) continue;; esac;;
1926 as_fn_error $?
"expected an absolute directory name for --$ac_var: $ac_val"
1929 # There might be people who depend on the old broken behavior: `$host'
1930 # used to hold the argument of --host etc.
1931 # FIXME: To remove some day.
1934 target
=$target_alias
1936 # FIXME: To remove some day.
1937 if test "x$host_alias" != x
; then
1938 if test "x$build_alias" = x
; then
1939 cross_compiling
=maybe
1940 elif test "x$build_alias" != "x$host_alias"; then
1946 test -n "$host_alias" && ac_tool_prefix
=$host_alias-
1948 test "$silent" = yes && exec 6>/dev
/null
1951 ac_pwd
=`pwd` && test -n "$ac_pwd" &&
1952 ac_ls_di
=`ls -di .` &&
1953 ac_pwd_ls_di
=`cd "$ac_pwd" && ls -di .` ||
1954 as_fn_error $?
"working directory cannot be determined"
1955 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1956 as_fn_error $?
"pwd does not report name of working directory"
1959 # Find the source files, if location was not specified.
1960 if test -z "$srcdir"; then
1961 ac_srcdir_defaulted
=yes
1962 # Try the directory containing this script, then the parent directory.
1963 ac_confdir
=`$as_dirname -- "$as_myself" ||
1964 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1965 X"$as_myself" : 'X\(//\)[^/]' \| \
1966 X"$as_myself" : 'X\(//\)$' \| \
1967 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
1968 $as_echo X"$as_myself" |
1969 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1987 if test ! -r "$srcdir/$ac_unique_file"; then
1991 ac_srcdir_defaulted
=no
1993 if test ! -r "$srcdir/$ac_unique_file"; then
1994 test "$ac_srcdir_defaulted" = yes && srcdir
="$ac_confdir or .."
1995 as_fn_error $?
"cannot find sources ($ac_unique_file) in $srcdir"
1997 ac_msg
="sources are in $srcdir, but \`cd $srcdir' does not work"
1999 cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
2001 # When building in place, set srcdir=.
2002 if test "$ac_abs_confdir" = "$ac_pwd"; then
2005 # Remove unnecessary trailing slashes from srcdir.
2006 # Double slashes in file names in object file debugging info
2007 # mess up M-x gdb in Emacs.
2009 */) srcdir
=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
2011 for ac_var
in $ac_precious_vars; do
2012 eval ac_env_
${ac_var}_set=\${${ac_var}+set}
2013 eval ac_env_
${ac_var}_value
=\$
${ac_var}
2014 eval ac_cv_env_
${ac_var}_set=\${${ac_var}+set}
2015 eval ac_cv_env_
${ac_var}_value
=\$
${ac_var}
2019 # Report the --help message.
2021 if test "$ac_init_help" = "long"; then
2022 # Omit some internal or obsolete options to make the list less imposing.
2023 # This message is too long to be a string in the A/UX 3.1 sh.
2025 \`configure' configures Wine 1.7.42 to adapt to many kinds of systems.
2027 Usage: $0 [OPTION]... [VAR=VALUE]...
2029 To assign environment variables (e.g., CC, CFLAGS...), specify them as
2030 VAR=VALUE. See below for descriptions of some of the useful variables.
2032 Defaults for the options are specified in brackets.
2035 -h, --help display this help and exit
2036 --help=short display options specific to this package
2037 --help=recursive display the short help of all the included packages
2038 -V, --version display version information and exit
2039 -q, --quiet, --silent do not print \`checking ...' messages
2040 --cache-file=FILE cache test results in FILE [disabled]
2041 -C, --config-cache alias for \`--cache-file=config.cache'
2042 -n, --no-create do not create output files
2043 --srcdir=DIR find the sources in DIR [configure dir or \`..']
2045 Installation directories:
2046 --prefix=PREFIX install architecture-independent files in PREFIX
2047 [$ac_default_prefix]
2048 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
2051 By default, \`make install' will install all the files in
2052 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
2053 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
2054 for instance \`--prefix=\$HOME'.
2056 For better control, use the options below.
2058 Fine tuning of the installation directories:
2059 --bindir=DIR user executables [EPREFIX/bin]
2060 --sbindir=DIR system admin executables [EPREFIX/sbin]
2061 --libexecdir=DIR program executables [EPREFIX/libexec]
2062 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
2063 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
2064 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
2065 --libdir=DIR object code libraries [EPREFIX/lib]
2066 --includedir=DIR C header files [PREFIX/include]
2067 --oldincludedir=DIR C header files for non-gcc [/usr/include]
2068 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
2069 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
2070 --infodir=DIR info documentation [DATAROOTDIR/info]
2071 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
2072 --mandir=DIR man documentation [DATAROOTDIR/man]
2073 --docdir=DIR documentation root [DATAROOTDIR/doc/wine]
2074 --htmldir=DIR html documentation [DOCDIR]
2075 --dvidir=DIR dvi documentation [DOCDIR]
2076 --pdfdir=DIR pdf documentation [DOCDIR]
2077 --psdir=DIR ps documentation [DOCDIR]
2083 --x-includes=DIR X include files are
in DIR
2084 --x-libraries=DIR X library files are
in DIR
2087 --build=BUILD configure
for building on BUILD
[guessed
]
2088 --host=HOST cross-compile to build programs to run on HOST
[BUILD
]
2092 if test -n "$ac_init_help"; then
2093 case $ac_init_help in
2094 short | recursive
) echo "Configuration of Wine 1.7.42:";;
2099 --disable-option-checking ignore unrecognized
--enable/--with options
2100 --disable-FEATURE do not include FEATURE
(same as
--enable-FEATURE=no
)
2101 --enable-FEATURE[=ARG
] include FEATURE
[ARG
=yes]
2102 --disable-win16 do not include Win16 support
2103 --enable-win64 build a Win64 emulator on AMD64
(won
't run Win32
2105 --disable-tests do not build the regression tests
2106 --enable-maintainer-mode
2107 enable maintainer-specific build rules
2108 --disable-largefile omit support for large files
2111 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
2112 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
2113 --without-alsa do not use the Alsa sound support
2114 --without-capi do not use CAPI (ISDN support)
2115 --without-cms do not use CMS (color management support)
2116 --without-coreaudio do not use the CoreAudio sound support
2117 --without-cups do not use CUPS
2118 --without-curses do not use (n)curses
2119 --without-dbus do not use DBus (dynamic device support)
2120 --without-fontconfig do not use fontconfig
2121 --without-freetype do not use the FreeType library
2122 --without-gettext do not use gettext
2123 --with-gettextpo use the GetTextPO library to rebuild po files
2124 --without-gphoto do not use gphoto (Digital Camera support)
2125 --without-glu do not use the GLU library
2126 --without-gnutls do not use GnuTLS (schannel support)
2127 --without-gsm do not use libgsm (GSM 06.10 codec support)
2128 --without-gstreamer do not use GStreamer (codecs support)
2129 --without-hal do not use HAL (dynamic device support)
2130 --without-jpeg do not use JPEG
2131 --without-ldap do not use LDAP
2132 --without-mpg123 do not use the mpg123 library
2133 --without-netapi do not use the Samba NetAPI library
2134 --without-openal do not use OpenAL
2135 --without-opencl do not use OpenCL
2136 --without-opengl do not use OpenGL
2137 --without-osmesa do not use the OSMesa library
2138 --without-oss do not use the OSS sound support
2139 --without-pcap do not use the Packet Capture library
2140 --without-png do not use PNG
2141 --without-pthread do not use the pthread library
2142 --without-sane do not use SANE (scanner support)
2143 --without-tiff do not use TIFF
2144 --without-v4l do not use v4l1 (v4l support)
2145 --without-xcomposite do not use the Xcomposite extension
2146 --without-xcursor do not use the Xcursor extension
2147 --without-xinerama do not use Xinerama (multi-monitor support)
2148 --without-xinput do not use the Xinput extension
2149 --without-xinput2 do not use the Xinput 2 extension
2150 --without-xml do not use XML
2151 --without-xrandr do not use Xrandr (resolution changes)
2152 --without-xrender do not use the Xrender extension
2153 --without-xshape do not use the Xshape extension
2154 --without-xshm do not use XShm (shared memory extension)
2155 --without-xslt do not use XSLT
2156 --without-xxf86vm do not use XFree video mode extension
2157 --without-zlib do not use Zlib (data compression)
2158 --with-wine-tools=DIR use Wine tools from directory DIR
2159 --with-wine64=DIR use the 64-bit Wine in DIR for a Wow64 build
2160 --with-x use the X Window System
2162 Some influential environment variables:
2163 CC C compiler command
2164 CFLAGS C compiler flags
2165 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
2166 nonstandard directory <lib dir>
2167 LIBS libraries to pass to the linker, e.g. -l<library>
2168 CPPFLAGS (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if
2169 you have headers in a nonstandard directory <include dir>
2170 CXX C++ compiler command
2171 CXXFLAGS C++ compiler flags
2173 XMKMF Path to xmkmf, Makefile generator for X Window System
2174 XML2_CFLAGS C compiler flags for libxml-2.0, overriding pkg-config
2175 XML2_LIBS Linker flags for libxml-2.0, overriding pkg-config
2176 XSLT_CFLAGS C compiler flags for libxslt, overriding pkg-config
2177 XSLT_LIBS Linker flags for libxslt, overriding pkg-config
2178 DBUS_CFLAGS C compiler flags for dbus-1, overriding pkg-config
2179 DBUS_LIBS Linker flags for dbus-1, overriding pkg-config
2180 HAL_CFLAGS C compiler flags for hal, overriding pkg-config
2181 HAL_LIBS Linker flags for hal, overriding pkg-config
2183 C compiler flags for gnutls, overriding pkg-config
2184 GNUTLS_LIBS Linker flags for gnutls, overriding pkg-config
2185 SANE_CFLAGS C compiler flags for libsane, overriding pkg-config
2186 SANE_LIBS Linker flags for libsane, overriding pkg-config
2188 C compiler flags for libgphoto2, overriding pkg-config
2190 Linker flags for libgphoto2, overriding pkg-config
2192 C compiler flags for libgphoto2_port, overriding pkg-config
2194 Linker flags for libgphoto2_port, overriding pkg-config
2196 C compiler flags for lcms2, overriding pkg-config
2197 LCMS2_LIBS Linker flags for lcms2, overriding pkg-config
2199 C compiler flags for freetype2, overriding pkg-config
2201 Linker flags for freetype2, overriding pkg-config
2203 C compiler flags for gstreamer-app-0.10, overriding pkg-config
2205 Linker flags for gstreamer-app-0.10, overriding pkg-config
2207 C compiler flags for capi20, overriding pkg-config
2208 CAPI20_LIBS Linker flags for capi20, overriding pkg-config
2210 C compiler flags for fontconfig, overriding pkg-config
2212 Linker flags for fontconfig, overriding pkg-config
2213 JPEG_CFLAGS C compiler flags for libjpeg, overriding pkg-config
2214 JPEG_LIBS Linker flags for libjpeg, overriding pkg-config
2215 PNG_CFLAGS C compiler flags for libpng, overriding pkg-config
2216 PNG_LIBS Linker flags for libpng, overriding pkg-config
2217 TIFF_CFLAGS C compiler flags for libtiff, overriding pkg-config
2218 TIFF_LIBS Linker flags for libtiff, overriding pkg-config
2220 C compiler flags for libmpg123, overriding pkg-config
2221 MPG123_LIBS Linker flags for libmpg123, overriding pkg-config
2223 Use these variables to override the choices made by `configure' or to
help
2224 it to
find libraries and programs with nonstandard names
/locations.
2226 Report bugs to
<wine-devel@winehq.org
>.
2227 Wine home page
: <http
://www.winehq.org
>.
2232 if test "$ac_init_help" = "recursive"; then
2233 # If there are subdirs, report their specific --help.
2234 for ac_dir
in : $ac_subdirs_all; do test "x$ac_dir" = x
: && continue
2235 test -d "$ac_dir" ||
2236 { cd "$srcdir" && ac_pwd
=`pwd` && srcdir
=.
&& test -d "$ac_dir"; } ||
2241 .
) ac_dir_suffix
= ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
2243 ac_dir_suffix
=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
2244 # A ".." for each directory in $ac_dir_suffix.
2245 ac_top_builddir_sub
=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
2246 case $ac_top_builddir_sub in
2247 "") ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
2248 *) ac_top_build_prefix
=$ac_top_builddir_sub/ ;;
2251 ac_abs_top_builddir
=$ac_pwd
2252 ac_abs_builddir
=$ac_pwd$ac_dir_suffix
2253 # for backward compatibility:
2254 ac_top_builddir
=$ac_top_build_prefix
2257 .
) # We are building in place.
2259 ac_top_srcdir
=$ac_top_builddir_sub
2260 ac_abs_top_srcdir
=$ac_pwd ;;
2261 [\\/]* | ?
:[\\/]* ) # Absolute name.
2262 ac_srcdir
=$srcdir$ac_dir_suffix;
2263 ac_top_srcdir
=$srcdir
2264 ac_abs_top_srcdir
=$srcdir ;;
2266 ac_srcdir
=$ac_top_build_prefix$srcdir$ac_dir_suffix
2267 ac_top_srcdir
=$ac_top_build_prefix$srcdir
2268 ac_abs_top_srcdir
=$ac_pwd/$srcdir ;;
2270 ac_abs_srcdir
=$ac_abs_top_srcdir$ac_dir_suffix
2272 cd "$ac_dir" ||
{ ac_status
=$?
; continue; }
2273 # Check for guested configure.
2274 if test -f "$ac_srcdir/configure.gnu"; then
2276 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
2277 elif test -f "$ac_srcdir/configure"; then
2279 $SHELL "$ac_srcdir/configure" --help=recursive
2281 $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
2283 cd "$ac_pwd" ||
{ ac_status
=$?
; break; }
2287 test -n "$ac_init_help" && exit $ac_status
2288 if $ac_init_version; then
2290 Wine configure
1.7.42
2291 generated by GNU Autoconf
2.69
2293 Copyright
(C
) 2012 Free Software Foundation
, Inc.
2294 This configure
script is free software
; the Free Software Foundation
2295 gives unlimited permission to copy
, distribute and modify it.
2300 ## ------------------------ ##
2301 ## Autoconf initialization. ##
2302 ## ------------------------ ##
2304 # ac_fn_c_try_compile LINENO
2305 # --------------------------
2306 # Try to compile conftest.$ac_ext, and return whether this succeeded.
2307 ac_fn_c_try_compile
()
2309 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
2310 rm -f conftest.
$ac_objext
2311 if { { ac_try
="$ac_compile"
2313 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
2314 *) ac_try_echo=$ac_try;;
2316 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2317 $as_echo "$ac_try_echo"; } >&5
2318 (eval "$ac_compile") 2>conftest.err
2320 if test -s conftest.err; then
2321 grep -v '^ *+' conftest.err >conftest.er1
2322 cat conftest.er1 >&5
2323 mv -f conftest.er1 conftest.err
2325 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2326 test $ac_status = 0; } && {
2327 test -z "$ac_c_werror_flag" ||
2328 test ! -s conftest.err
2329 } && test -s conftest.$ac_objext; then :
2332 $as_echo "$as_me: failed program was:" >&5
2333 sed 's/^/| /' conftest.$ac_ext >&5
2337 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2338 as_fn_set_status $ac_retval
2340 } # ac_fn_c_try_compile
2342 # ac_fn_cxx_try_compile LINENO
2343 # ----------------------------
2344 # Try to compile conftest.$ac_ext, and return whether this succeeded.
2345 ac_fn_cxx_try_compile ()
2347 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2348 rm -f conftest.$ac_objext
2349 if { { ac_try="$ac_compile"
2351 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
2352 *) ac_try_echo
=$ac_try;;
2354 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2355 $as_echo "$ac_try_echo"; } >&5
2356 (eval "$ac_compile") 2>conftest.err
2358 if test -s conftest.err
; then
2359 grep -v '^ *+' conftest.err
>conftest.er1
2360 cat conftest.er1
>&5
2361 mv -f conftest.er1 conftest.err
2363 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2364 test $ac_status = 0; } && {
2365 test -z "$ac_cxx_werror_flag" ||
2366 test ! -s conftest.err
2367 } && test -s conftest.
$ac_objext; then :
2370 $as_echo "$as_me: failed program was:" >&5
2371 sed 's/^/| /' conftest.
$ac_ext >&5
2375 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2376 as_fn_set_status
$ac_retval
2378 } # ac_fn_cxx_try_compile
2380 # ac_fn_c_try_link LINENO
2381 # -----------------------
2382 # Try to link conftest.$ac_ext, and return whether this succeeded.
2385 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
2386 rm -f conftest.
$ac_objext conftest
$ac_exeext
2387 if { { ac_try
="$ac_link"
2389 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
2390 *) ac_try_echo=$ac_try;;
2392 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2393 $as_echo "$ac_try_echo"; } >&5
2394 (eval "$ac_link") 2>conftest.err
2396 if test -s conftest.err; then
2397 grep -v '^ *+' conftest.err >conftest.er1
2398 cat conftest.er1 >&5
2399 mv -f conftest.er1 conftest.err
2401 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2402 test $ac_status = 0; } && {
2403 test -z "$ac_c_werror_flag" ||
2404 test ! -s conftest.err
2405 } && test -s conftest$ac_exeext && {
2406 test "$cross_compiling" = yes ||
2407 test -x conftest$ac_exeext
2411 $as_echo "$as_me: failed program was:" >&5
2412 sed 's/^/| /' conftest.$ac_ext >&5
2416 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
2417 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
2418 # interfere with the next link command; also delete a directory that is
2419 # left behind by Apple's compiler. We do this before executing the actions.
2420 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
2421 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2422 as_fn_set_status $ac_retval
2424 } # ac_fn_c_try_link
2426 # ac_fn_c_try_cpp LINENO
2427 # ----------------------
2428 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
2431 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2432 if { { ac_try="$ac_cpp conftest.$ac_ext"
2434 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
2435 *) ac_try_echo
=$ac_try;;
2437 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2438 $as_echo "$ac_try_echo"; } >&5
2439 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
2441 if test -s conftest.err
; then
2442 grep -v '^ *+' conftest.err
>conftest.er1
2443 cat conftest.er1
>&5
2444 mv -f conftest.er1 conftest.err
2446 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2447 test $ac_status = 0; } > conftest.i
&& {
2448 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
2449 test ! -s conftest.err
2453 $as_echo "$as_me: failed program was:" >&5
2454 sed 's/^/| /' conftest.
$ac_ext >&5
2458 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2459 as_fn_set_status
$ac_retval
2463 # ac_fn_c_check_header_mongrel LINENO HEADER VAR INCLUDES
2464 # -------------------------------------------------------
2465 # Tests whether HEADER exists, giving a warning if it cannot be compiled using
2466 # the include files in INCLUDES and setting the cache variable VAR
2468 ac_fn_c_check_header_mongrel
()
2470 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
2471 if eval \
${$3+:} false
; then :
2472 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2473 $as_echo_n "checking for $2... " >&6; }
2474 if eval \
${$3+:} false
; then :
2475 $as_echo_n "(cached) " >&6
2478 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2479 $as_echo "$ac_res" >&6; }
2481 # Is the header compilable?
2482 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
2483 $as_echo_n "checking $2 usability... " >&6; }
2484 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
2485 /* end confdefs.h. */
2489 if ac_fn_c_try_compile
"$LINENO"; then :
2490 ac_header_compiler
=yes
2492 ac_header_compiler
=no
2494 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
2495 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
2496 $as_echo "$ac_header_compiler" >&6; }
2498 # Is the header present?
2499 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
2500 $as_echo_n "checking $2 presence... " >&6; }
2501 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
2502 /* end confdefs.h. */
2505 if ac_fn_c_try_cpp
"$LINENO"; then :
2506 ac_header_preproc
=yes
2508 ac_header_preproc
=no
2510 rm -f conftest.err conftest.i conftest.
$ac_ext
2511 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
2512 $as_echo "$ac_header_preproc" >&6; }
2514 # So? What about this header?
2515 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in #((
2517 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
2518 $as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
2519 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
2520 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
2523 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
2524 $as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
2525 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: check for missing prerequisite headers?" >&5
2526 $as_echo "$as_me: WARNING: $2: check for missing prerequisite headers?" >&2;}
2527 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
2528 $as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
2529 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&5
2530 $as_echo "$as_me: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&2;}
2531 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
2532 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
2533 ( $as_echo "## ------------------------------------ ##
2534 ## Report this to wine-devel@winehq.org ##
2535 ## ------------------------------------ ##"
2536 ) |
sed "s/^/$as_me: WARNING: /" >&2
2539 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2540 $as_echo_n "checking for $2... " >&6; }
2541 if eval \
${$3+:} false
; then :
2542 $as_echo_n "(cached) " >&6
2544 eval "$3=\$ac_header_compiler"
2547 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2548 $as_echo "$ac_res" >&6; }
2550 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2552 } # ac_fn_c_check_header_mongrel
2554 # ac_fn_c_try_run LINENO
2555 # ----------------------
2556 # Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
2557 # that executables *can* be run.
2560 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
2561 if { { ac_try
="$ac_link"
2563 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
2564 *) ac_try_echo=$ac_try;;
2566 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2567 $as_echo "$ac_try_echo"; } >&5
2568 (eval "$ac_link") 2>&5
2570 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2571 test $ac_status = 0; } && { ac_try='./conftest$ac_exeext'
2572 { { case "(($ac_try" in
2573 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
2574 *) ac_try_echo
=$ac_try;;
2576 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2577 $as_echo "$ac_try_echo"; } >&5
2578 (eval "$ac_try") 2>&5
2580 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2581 test $ac_status = 0; }; }; then :
2584 $as_echo "$as_me: program exited with status $ac_status" >&5
2585 $as_echo "$as_me: failed program was:" >&5
2586 sed 's/^/| /' conftest.
$ac_ext >&5
2588 ac_retval
=$ac_status
2590 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
2591 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2592 as_fn_set_status
$ac_retval
2596 # ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
2597 # -------------------------------------------------------
2598 # Tests whether HEADER exists and can be compiled using the include files in
2599 # INCLUDES, setting the cache variable VAR accordingly.
2600 ac_fn_c_check_header_compile
()
2602 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
2603 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2604 $as_echo_n "checking for $2... " >&6; }
2605 if eval \
${$3+:} false
; then :
2606 $as_echo_n "(cached) " >&6
2608 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
2609 /* end confdefs.h. */
2613 if ac_fn_c_try_compile
"$LINENO"; then :
2618 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
2621 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2622 $as_echo "$ac_res" >&6; }
2623 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2625 } # ac_fn_c_check_header_compile
2627 # ac_fn_c_check_func LINENO FUNC VAR
2628 # ----------------------------------
2629 # Tests whether FUNC exists, setting the cache variable VAR accordingly
2630 ac_fn_c_check_func
()
2632 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
2633 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2634 $as_echo_n "checking for $2... " >&6; }
2635 if eval \
${$3+:} false
; then :
2636 $as_echo_n "(cached) " >&6
2638 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
2639 /* end confdefs.h. */
2640 /* Define $2 to an innocuous variant, in case <limits.h> declares $2.
2641 For example, HP-UX 11i <limits.h> declares gettimeofday. */
2642 #define $2 innocuous_$2
2644 /* System header to define __stub macros and hopefully few prototypes,
2645 which can conflict with char $2 (); below.
2646 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
2647 <limits.h> exists even on freestanding compilers. */
2650 # include <limits.h>
2652 # include <assert.h>
2657 /* Override any GCC internal prototype to avoid an error.
2658 Use char because int might match the return type of a GCC
2659 builtin and then its argument prototype would still apply. */
2664 /* The GNU C library defines this for functions which it implements
2665 to always fail with ENOSYS. Some functions are actually named
2666 something starting with __ and the normal name is an alias. */
2667 #if defined __stub_$2 || defined __stub___$2
2679 if ac_fn_c_try_link
"$LINENO"; then :
2684 rm -f core conftest.err conftest.
$ac_objext \
2685 conftest
$ac_exeext conftest.
$ac_ext
2688 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2689 $as_echo "$ac_res" >&6; }
2690 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2692 } # ac_fn_c_check_func
2694 # ac_fn_c_check_member LINENO AGGR MEMBER VAR INCLUDES
2695 # ----------------------------------------------------
2696 # Tries to find if the field MEMBER exists in type AGGR, after including
2697 # INCLUDES, setting cache variable VAR accordingly.
2698 ac_fn_c_check_member
()
2700 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
2701 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2.$3" >&5
2702 $as_echo_n "checking for $2.$3... " >&6; }
2703 if eval \
${$4+:} false
; then :
2704 $as_echo_n "(cached) " >&6
2706 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
2707 /* end confdefs.h. */
2719 if ac_fn_c_try_compile
"$LINENO"; then :
2722 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
2723 /* end confdefs.h. */
2729 if (sizeof ac_aggr.$3)
2735 if ac_fn_c_try_compile
"$LINENO"; then :
2740 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
2742 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
2745 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2746 $as_echo "$ac_res" >&6; }
2747 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2749 } # ac_fn_c_check_member
2751 # ac_fn_c_check_type LINENO TYPE VAR INCLUDES
2752 # -------------------------------------------
2753 # Tests whether TYPE exists after having included INCLUDES, setting cache
2754 # variable VAR accordingly.
2755 ac_fn_c_check_type
()
2757 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
2758 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2759 $as_echo_n "checking for $2... " >&6; }
2760 if eval \
${$3+:} false
; then :
2761 $as_echo_n "(cached) " >&6
2764 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
2765 /* end confdefs.h. */
2776 if ac_fn_c_try_compile
"$LINENO"; then :
2777 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
2778 /* end confdefs.h. */
2789 if ac_fn_c_try_compile
"$LINENO"; then :
2794 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
2796 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
2799 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2800 $as_echo "$ac_res" >&6; }
2801 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2803 } # ac_fn_c_check_type
2804 cat >config.log
<<_ACEOF
2805 This file contains any messages produced by compilers while
2806 running configure, to aid debugging if configure makes a mistake.
2808 It was created by Wine $as_me 1.7.42, which was
2809 generated by GNU Autoconf 2.69. Invocation command line was
2821 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
2822 uname -m = `(uname -m) 2>/dev/null || echo unknown`
2823 uname -r = `(uname -r) 2>/dev/null || echo unknown`
2824 uname -s = `(uname -s) 2>/dev/null || echo unknown`
2825 uname -v = `(uname -v) 2>/dev/null || echo unknown`
2827 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
2828 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
2830 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
2831 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
2832 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
2833 /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
2834 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
2835 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
2836 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
2840 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2844 test -z "$as_dir" && as_dir
=.
2845 $as_echo "PATH: $as_dir"
2861 # Keep a trace of the command line.
2862 # Strip out --no-create and --no-recursion so they do not pile up.
2863 # Strip out --silent because we don't want to record it for future runs.
2864 # Also quote any args containing shell meta-characters.
2865 # Make two passes to allow for proper duplicate-argument suppression.
2869 ac_must_keep_next
=false
2875 -no-create |
--no-c* |
-n |
-no-recursion |
--no-r*) continue ;;
2876 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
2877 |
-silent |
--silent |
--silen |
--sile |
--sil)
2880 ac_arg
=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
2883 1) as_fn_append ac_configure_args0
" '$ac_arg'" ;;
2885 as_fn_append ac_configure_args1
" '$ac_arg'"
2886 if test $ac_must_keep_next = true
; then
2887 ac_must_keep_next
=false
# Got value, back to normal.
2890 *=* |
--config-cache |
-C |
-disable-* |
--disable-* \
2891 |
-enable-* |
--enable-* |
-gas |
--g* |
-nfp |
--nf* \
2892 |
-q |
-quiet |
--q* |
-silent |
--sil* |
-v |
-verb* \
2893 |
-with-* |
--with-* |
-without-* |
--without-* |
--x)
2894 case "$ac_configure_args0 " in
2895 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
2898 -* ) ac_must_keep_next
=true
;;
2901 as_fn_append ac_configure_args
" '$ac_arg'"
2906 { ac_configure_args0
=; unset ac_configure_args0
;}
2907 { ac_configure_args1
=; unset ac_configure_args1
;}
2909 # When interrupted or exit'd, cleanup temporary files, and complete
2910 # config.log. We remove comments because anyway the quotes in there
2911 # would cause problems or look ugly.
2912 # WARNING: Use '\'' to represent an apostrophe within the trap.
2913 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
2914 trap 'exit_status=$?
2915 # Save into config.log some information that might help in debugging.
2919 $as_echo "## ---------------- ##
2920 ## Cache variables. ##
2921 ## ---------------- ##"
2923 # The following way of writing the cache mishandles newlines in values,
2925 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
2926 eval ac_val=\$$ac_var
2930 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
2931 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
2934 _ | IFS | as_nl) ;; #(
2935 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
2936 *) { eval $ac_var=; unset $ac_var;} ;;
2941 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
2942 *${as_nl}ac_space=\ *)
2944 "s/'\''/'\''\\\\'\'''\''/g;
2945 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
2948 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
2955 $as_echo "## ----------------- ##
2956 ## Output variables. ##
2957 ## ----------------- ##"
2959 for ac_var in $ac_subst_vars
2961 eval ac_val=\$$ac_var
2963 *\'\''*) ac_val
=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2965 $as_echo "$ac_var='\''$ac_val'\''"
2969 if test -n "$ac_subst_files"; then
2970 $as_echo "## ------------------- ##
2971 ## File substitutions. ##
2972 ## ------------------- ##"
2974 for ac_var
in $ac_subst_files
2976 eval ac_val
=\$
$ac_var
2978 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2980 $as_echo "$ac_var='\''$ac_val'\''"
2985 if test -s confdefs.h; then
2986 $as_echo "## ----------- ##
2993 test "$ac_signal" != 0 &&
2994 $as_echo "$as_me: caught signal $ac_signal"
2995 $as_echo "$as_me: exit $exit_status"
2997 rm -f core *.core core.conftest.* &&
2998 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
3001 for ac_signal
in 1 2 13 15; do
3002 trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
3006 # confdefs.h avoids OS command line length limits that DEFS can exceed.
3007 rm -f -r conftest
* confdefs.h
3009 $as_echo "/* confdefs.h */" > confdefs.h
3011 # Predefined preprocessor variables.
3013 cat >>confdefs.h
<<_ACEOF
3014 #define PACKAGE_NAME "$PACKAGE_NAME"
3017 cat >>confdefs.h
<<_ACEOF
3018 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
3021 cat >>confdefs.h
<<_ACEOF
3022 #define PACKAGE_VERSION "$PACKAGE_VERSION"
3025 cat >>confdefs.h
<<_ACEOF
3026 #define PACKAGE_STRING "$PACKAGE_STRING"
3029 cat >>confdefs.h
<<_ACEOF
3030 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
3033 cat >>confdefs.h
<<_ACEOF
3034 #define PACKAGE_URL "$PACKAGE_URL"
3038 # Let the site file select an alternate cache file if it wants to.
3039 # Prefer an explicitly selected file to automatically selected ones.
3042 if test -n "$CONFIG_SITE"; then
3043 # We do not want a PATH search for config.site.
3044 case $CONFIG_SITE in #((
3045 -*) ac_site_file1
=.
/$CONFIG_SITE;;
3046 */*) ac_site_file1
=$CONFIG_SITE;;
3047 *) ac_site_file1
=.
/$CONFIG_SITE;;
3049 elif test "x$prefix" != xNONE
; then
3050 ac_site_file1
=$prefix/share
/config.site
3051 ac_site_file2
=$prefix/etc
/config.site
3053 ac_site_file1
=$ac_default_prefix/share
/config.site
3054 ac_site_file2
=$ac_default_prefix/etc
/config.site
3056 for ac_site_file
in "$ac_site_file1" "$ac_site_file2"
3058 test "x$ac_site_file" = xNONE
&& continue
3059 if test /dev
/null
!= "$ac_site_file" && test -r "$ac_site_file"; then
3060 { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
3061 $as_echo "$as_me: loading site script $ac_site_file" >&6;}
3062 sed 's/^/| /' "$ac_site_file" >&5
3064 ||
{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3065 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3066 as_fn_error $?
"failed to load site script $ac_site_file
3067 See \`config.log' for more details" "$LINENO" 5; }
3071 if test -r "$cache_file"; then
3072 # Some versions of bash will fail to source /dev/null (special files
3073 # actually), so we avoid doing that. DJGPP emulates it as a regular file.
3074 if test /dev
/null
!= "$cache_file" && test -f "$cache_file"; then
3075 { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
3076 $as_echo "$as_me: loading cache $cache_file" >&6;}
3078 [\\/]* | ?
:[\\/]* ) .
"$cache_file";;
3079 *) .
"./$cache_file";;
3083 { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
3084 $as_echo "$as_me: creating cache $cache_file" >&6;}
3088 # Check that the precious variables saved in the cache have kept the same
3090 ac_cache_corrupted
=false
3091 for ac_var
in $ac_precious_vars; do
3092 eval ac_old_set
=\
$ac_cv_env_${ac_var}_set
3093 eval ac_new_set
=\
$ac_env_${ac_var}_set
3094 eval ac_old_val
=\
$ac_cv_env_${ac_var}_value
3095 eval ac_new_val
=\
$ac_env_${ac_var}_value
3096 case $ac_old_set,$ac_new_set in
3098 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
3099 $as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
3100 ac_cache_corrupted
=: ;;
3102 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
3103 $as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
3104 ac_cache_corrupted
=: ;;
3107 if test "x$ac_old_val" != "x$ac_new_val"; then
3108 # differences in whitespace do not lead to failure.
3109 ac_old_val_w
=`echo x $ac_old_val`
3110 ac_new_val_w
=`echo x $ac_new_val`
3111 if test "$ac_old_val_w" != "$ac_new_val_w"; then
3112 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
3113 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
3114 ac_cache_corrupted
=:
3116 { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
3117 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
3118 eval $ac_var=\
$ac_old_val
3120 { $as_echo "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5
3121 $as_echo "$as_me: former value: \`$ac_old_val'" >&2;}
3122 { $as_echo "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5
3123 $as_echo "$as_me: current value: \`$ac_new_val'" >&2;}
3126 # Pass precious variables to config.status.
3127 if test "$ac_new_set" = set; then
3129 *\'*) ac_arg
=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
3130 *) ac_arg
=$ac_var=$ac_new_val ;;
3132 case " $ac_configure_args " in
3133 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
3134 *) as_fn_append ac_configure_args
" '$ac_arg'" ;;
3138 if $ac_cache_corrupted; then
3139 { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3140 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3141 { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
3142 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
3143 as_fn_error $?
"run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
3145 ## -------------------- ##
3146 ## Main body of script. ##
3147 ## -------------------- ##
3150 ac_cpp
='$CPP $CPPFLAGS'
3151 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3152 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3153 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
3157 ac_config_headers
="$ac_config_headers include/config.h"
3160 for ac_dir
in tools
"$srcdir"/tools
; do
3161 if test -f "$ac_dir/install-sh"; then
3163 ac_install_sh
="$ac_aux_dir/install-sh -c"
3165 elif test -f "$ac_dir/install.sh"; then
3167 ac_install_sh
="$ac_aux_dir/install.sh -c"
3169 elif test -f "$ac_dir/shtool"; then
3171 ac_install_sh
="$ac_aux_dir/shtool install -c"
3175 if test -z "$ac_aux_dir"; then
3176 as_fn_error $?
"cannot find install-sh, install.sh, or shtool in tools \"$srcdir\"/tools" "$LINENO" 5
3179 # These three variables are undocumented and unsupported,
3180 # and are intended to be withdrawn in a future Autoconf release.
3181 # They can cause serious problems if a builder's source tree is in a directory
3182 # whose full name contains unusual characters.
3183 ac_config_guess
="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
3184 ac_config_sub
="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
3185 ac_configure
="$SHELL $ac_aux_dir/configure" # Please don't use this var.
3189 libwine_version
="1.0"
3193 # Check whether --enable-win16 was given.
3194 if test "${enable_win16+set}" = set; then :
3195 enableval
=$enable_win16;
3198 # Check whether --enable-win64 was given.
3199 if test "${enable_win64+set}" = set; then :
3200 enableval
=$enable_win64;
3203 # Check whether --enable-tests was given.
3204 if test "${enable_tests+set}" = set; then :
3205 enableval
=$enable_tests;
3208 # Check whether --enable-maintainer-mode was given.
3209 if test "${enable_maintainer_mode+set}" = set; then :
3210 enableval
=$enable_maintainer_mode;
3215 # Check whether --with-alsa was given.
3216 if test "${with_alsa+set}" = set; then :
3217 withval
=$with_alsa; if test "x$withval" = "xno"; then ac_cv_header_sys_asoundlib_h
=no
; ac_cv_header_alsa_asoundlib_h
=no
; fi
3221 # Check whether --with-capi was given.
3222 if test "${with_capi+set}" = set; then :
3227 # Check whether --with-cms was given.
3228 if test "${with_cms+set}" = set; then :
3233 # Check whether --with-coreaudio was given.
3234 if test "${with_coreaudio+set}" = set; then :
3235 withval
=$with_coreaudio; if test "x$withval" = "xno"; then ac_cv_header_CoreAudio_CoreAudio_h
=no
; fi
3239 # Check whether --with-cups was given.
3240 if test "${with_cups+set}" = set; then :
3245 # Check whether --with-curses was given.
3246 if test "${with_curses+set}" = set; then :
3247 withval
=$with_curses; if test "x$withval" = "xno"; then ac_cv_header_ncurses_h
=no
; ac_cv_header_curses_h
=no
; fi
3251 # Check whether --with-dbus was given.
3252 if test "${with_dbus+set}" = set; then :
3257 # Check whether --with-fontconfig was given.
3258 if test "${with_fontconfig+set}" = set; then :
3259 withval
=$with_fontconfig;
3263 # Check whether --with-freetype was given.
3264 if test "${with_freetype+set}" = set; then :
3265 withval
=$with_freetype;
3269 # Check whether --with-gettext was given.
3270 if test "${with_gettext+set}" = set; then :
3271 withval
=$with_gettext;
3275 # Check whether --with-gettextpo was given.
3276 if test "${with_gettextpo+set}" = set; then :
3277 withval
=$with_gettextpo; if test "x$withval" = "xno"; then ac_cv_header_gettext_po_h
=no
; fi
3281 # Check whether --with-gphoto was given.
3282 if test "${with_gphoto+set}" = set; then :
3283 withval
=$with_gphoto;
3287 # Check whether --with-glu was given.
3288 if test "${with_glu+set}" = set; then :
3293 # Check whether --with-gnutls was given.
3294 if test "${with_gnutls+set}" = set; then :
3295 withval
=$with_gnutls;
3299 # Check whether --with-gsm was given.
3300 if test "${with_gsm+set}" = set; then :
3301 withval
=$with_gsm; if test "x$withval" = "xno"; then ac_cv_header_gsm_h
=no
; ac_cv_header_gsm_gsm_h
=no
; fi
3305 # Check whether --with-gstreamer was given.
3306 if test "${with_gstreamer+set}" = set; then :
3307 withval
=$with_gstreamer;
3311 # Check whether --with-hal was given.
3312 if test "${with_hal+set}" = set; then :
3317 # Check whether --with-jpeg was given.
3318 if test "${with_jpeg+set}" = set; then :
3323 # Check whether --with-ldap was given.
3324 if test "${with_ldap+set}" = set; then :
3325 withval
=$with_ldap; if test "x$withval" = "xno"; then ac_cv_header_ldap_h
=no
; ac_cv_header_lber_h
=no
; fi
3329 # Check whether --with-mpg123 was given.
3330 if test "${with_mpg123+set}" = set; then :
3331 withval
=$with_mpg123;
3335 # Check whether --with-netapi was given.
3336 if test "${with_netapi+set}" = set; then :
3337 withval
=$with_netapi;
3341 # Check whether --with-openal was given.
3342 if test "${with_openal+set}" = set; then :
3343 withval
=$with_openal; if test "x$withval" = "xno"; then ac_cv_header_AL_al_h
=no
; ac_cv_header_OpenAL_al_h
=no
; fi
3347 # Check whether --with-opencl was given.
3348 if test "${with_opencl+set}" = set; then :
3349 withval
=$with_opencl; if test "x$withval" = "xno"; then ac_cv_header_CL_cl_h
=no
; ac_cv_header_OpenCL_opencl_h
=no
; fi
3353 # Check whether --with-opengl was given.
3354 if test "${with_opengl+set}" = set; then :
3355 withval
=$with_opengl;
3359 # Check whether --with-osmesa was given.
3360 if test "${with_osmesa+set}" = set; then :
3361 withval
=$with_osmesa;
3365 # Check whether --with-oss was given.
3366 if test "${with_oss+set}" = set; then :
3371 # Check whether --with-pcap was given.
3372 if test "${with_pcap+set}" = set; then :
3373 withval
=$with_pcap; if test "x$withval" = "xno"; then ac_cv_header_pcap_pcap_h
=no
; fi
3377 # Check whether --with-png was given.
3378 if test "${with_png+set}" = set; then :
3383 # Check whether --with-pthread was given.
3384 if test "${with_pthread+set}" = set; then :
3385 withval
=$with_pthread; if test "x$withval" = "xno"; then ac_cv_header_pthread_h
=no
; fi
3389 # Check whether --with-sane was given.
3390 if test "${with_sane+set}" = set; then :
3395 # Check whether --with-tiff was given.
3396 if test "${with_tiff+set}" = set; then :
3401 # Check whether --with-v4l was given.
3402 if test "${with_v4l+set}" = set; then :
3407 # Check whether --with-xcomposite was given.
3408 if test "${with_xcomposite+set}" = set; then :
3409 withval
=$with_xcomposite; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xcomposite_h
=no
; fi
3413 # Check whether --with-xcursor was given.
3414 if test "${with_xcursor+set}" = set; then :
3415 withval
=$with_xcursor; if test "x$withval" = "xno"; then ac_cv_header_X11_Xcursor_Xcursor_h
=no
; fi
3419 # Check whether --with-xinerama was given.
3420 if test "${with_xinerama+set}" = set; then :
3421 withval
=$with_xinerama; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xinerama_h
=no
; fi
3425 # Check whether --with-xinput was given.
3426 if test "${with_xinput+set}" = set; then :
3427 withval
=$with_xinput; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_XInput_h
=no
; fi
3431 # Check whether --with-xinput2 was given.
3432 if test "${with_xinput2+set}" = set; then :
3433 withval
=$with_xinput2; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_XInput2_h
=no
; fi
3437 # Check whether --with-xml was given.
3438 if test "${with_xml+set}" = set; then :
3443 # Check whether --with-xrandr was given.
3444 if test "${with_xrandr+set}" = set; then :
3445 withval
=$with_xrandr; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xrandr_h
=no
; fi
3449 # Check whether --with-xrender was given.
3450 if test "${with_xrender+set}" = set; then :
3451 withval
=$with_xrender; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xrender_h
=no
; fi
3455 # Check whether --with-xshape was given.
3456 if test "${with_xshape+set}" = set; then :
3457 withval
=$with_xshape; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_shape_h
=no
; fi
3461 # Check whether --with-xshm was given.
3462 if test "${with_xshm+set}" = set; then :
3463 withval
=$with_xshm; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_XShm_h
=no
; fi
3467 # Check whether --with-xslt was given.
3468 if test "${with_xslt+set}" = set; then :
3473 # Check whether --with-xxf86vm was given.
3474 if test "${with_xxf86vm+set}" = set; then :
3475 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
3479 # Check whether --with-zlib was given.
3480 if test "${with_zlib+set}" = set; then :
3481 withval
=$with_zlib; if test "x$withval" = "xno"; then ac_cv_header_zlib_h
=no
; fi
3486 # Check whether --with-wine-tools was given.
3487 if test "${with_wine_tools+set}" = set; then :
3488 withval
=$with_wine_tools;
3492 # Check whether --with-wine64 was given.
3493 if test "${with_wine64+set}" = set; then :
3494 withval
=$with_wine64;
3498 # Make sure we can run config.sub.
3499 $SHELL "$ac_aux_dir/config.sub" sun4
>/dev
/null
2>&1 ||
3500 as_fn_error $?
"cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
3502 { $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
3503 $as_echo_n "checking build system type... " >&6; }
3504 if ${ac_cv_build+:} false
; then :
3505 $as_echo_n "(cached) " >&6
3507 ac_build_alias
=$build_alias
3508 test "x$ac_build_alias" = x
&&
3509 ac_build_alias
=`$SHELL "$ac_aux_dir/config.guess"`
3510 test "x$ac_build_alias" = x
&&
3511 as_fn_error $?
"cannot guess build type; you must specify one" "$LINENO" 5
3512 ac_cv_build
=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
3513 as_fn_error $?
"$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
3516 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
3517 $as_echo "$ac_cv_build" >&6; }
3518 case $ac_cv_build in
3520 *) as_fn_error $?
"invalid value of canonical build" "$LINENO" 5;;
3523 ac_save_IFS
=$IFS; IFS
='-'
3529 # Remember, the first character of IFS is used to create $*,
3530 # except with old shells:
3533 case $build_os in *\
*) build_os
=`echo "$build_os" | sed 's/ /-/g'`;; esac
3536 { $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
3537 $as_echo_n "checking host system type... " >&6; }
3538 if ${ac_cv_host+:} false
; then :
3539 $as_echo_n "(cached) " >&6
3541 if test "x$host_alias" = x
; then
3542 ac_cv_host
=$ac_cv_build
3544 ac_cv_host
=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
3545 as_fn_error $?
"$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
3549 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
3550 $as_echo "$ac_cv_host" >&6; }
3553 *) as_fn_error $?
"invalid value of canonical host" "$LINENO" 5;;
3556 ac_save_IFS
=$IFS; IFS
='-'
3562 # Remember, the first character of IFS is used to create $*,
3563 # except with old shells:
3566 case $host_os in *\
*) host_os
=`echo "$host_os" | sed 's/ /-/g'`;; esac
3572 *) if test -f "$srcdir/Makefile" -o -f "$srcdir/include/config.h"; then
3573 as_fn_error $?
"you are building out of the source tree, but the source tree contains object files.
3574 You need to run 'make distclean' in the source tree first." "$LINENO" 5
3579 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
3580 $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
3582 ac_make
=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
3583 if eval \
${ac_cv_prog_make_${ac_make}_set+:} false
; then :
3584 $as_echo_n "(cached) " >&6
3586 cat >conftest.
make <<\_ACEOF
3589 @
echo '@@@%%%=$(MAKE)=@@@%%%'
3591 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
3592 case `${MAKE-make} -f conftest.make 2>/dev/null` in
3594 eval ac_cv_prog_make_
${ac_make}_set
=yes;;
3596 eval ac_cv_prog_make_
${ac_make}_set
=no
;;
3600 if eval test \
$ac_cv_prog_make_${ac_make}_set
= yes; then
3601 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3602 $as_echo "yes" >&6; }
3605 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3606 $as_echo "no" >&6; }
3607 SET_MAKE
="MAKE=${MAKE-make}"
3611 ac_cpp
='$CPP $CPPFLAGS'
3612 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3613 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3614 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
3615 if test -n "$ac_tool_prefix"; then
3616 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
3617 set dummy
${ac_tool_prefix}gcc
; ac_word
=$2
3618 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3619 $as_echo_n "checking for $ac_word... " >&6; }
3620 if ${ac_cv_prog_CC+:} false
; then :
3621 $as_echo_n "(cached) " >&6
3623 if test -n "$CC"; then
3624 ac_cv_prog_CC
="$CC" # Let the user override the test.
3626 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3630 test -z "$as_dir" && as_dir
=.
3631 for ac_exec_ext
in '' $ac_executable_extensions; do
3632 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
3633 ac_cv_prog_CC
="${ac_tool_prefix}gcc"
3634 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3644 if test -n "$CC"; then
3645 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3646 $as_echo "$CC" >&6; }
3648 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3649 $as_echo "no" >&6; }
3654 if test -z "$ac_cv_prog_CC"; then
3656 # Extract the first word of "gcc", so it can be a program name with args.
3657 set dummy gcc
; ac_word
=$2
3658 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3659 $as_echo_n "checking for $ac_word... " >&6; }
3660 if ${ac_cv_prog_ac_ct_CC+:} false
; then :
3661 $as_echo_n "(cached) " >&6
3663 if test -n "$ac_ct_CC"; then
3664 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
3666 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3670 test -z "$as_dir" && as_dir
=.
3671 for ac_exec_ext
in '' $ac_executable_extensions; do
3672 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
3673 ac_cv_prog_ac_ct_CC
="gcc"
3674 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3683 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
3684 if test -n "$ac_ct_CC"; then
3685 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3686 $as_echo "$ac_ct_CC" >&6; }
3688 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3689 $as_echo "no" >&6; }
3692 if test "x$ac_ct_CC" = x
; then
3695 case $cross_compiling:$ac_tool_warned in
3697 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3698 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3699 ac_tool_warned
=yes ;;
3707 if test -z "$CC"; then
3708 if test -n "$ac_tool_prefix"; then
3709 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
3710 set dummy
${ac_tool_prefix}cc
; ac_word
=$2
3711 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3712 $as_echo_n "checking for $ac_word... " >&6; }
3713 if ${ac_cv_prog_CC+:} false
; then :
3714 $as_echo_n "(cached) " >&6
3716 if test -n "$CC"; then
3717 ac_cv_prog_CC
="$CC" # Let the user override the test.
3719 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3723 test -z "$as_dir" && as_dir
=.
3724 for ac_exec_ext
in '' $ac_executable_extensions; do
3725 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
3726 ac_cv_prog_CC
="${ac_tool_prefix}cc"
3727 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3737 if test -n "$CC"; then
3738 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3739 $as_echo "$CC" >&6; }
3741 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3742 $as_echo "no" >&6; }
3748 if test -z "$CC"; then
3749 # Extract the first word of "cc", so it can be a program name with args.
3750 set dummy cc
; ac_word
=$2
3751 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3752 $as_echo_n "checking for $ac_word... " >&6; }
3753 if ${ac_cv_prog_CC+:} false
; then :
3754 $as_echo_n "(cached) " >&6
3756 if test -n "$CC"; then
3757 ac_cv_prog_CC
="$CC" # Let the user override the test.
3760 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3764 test -z "$as_dir" && as_dir
=.
3765 for ac_exec_ext
in '' $ac_executable_extensions; do
3766 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
3767 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
3768 ac_prog_rejected
=yes
3772 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3779 if test $ac_prog_rejected = yes; then
3780 # We found a bogon in the path, so make sure we never use it.
3781 set dummy
$ac_cv_prog_CC
3783 if test $# != 0; then
3784 # We chose a different compiler from the bogus one.
3785 # However, it has the same basename, so the bogon will be chosen
3786 # first if we set CC to just the basename; use the full file name.
3788 ac_cv_prog_CC
="$as_dir/$ac_word${1+' '}$@"
3794 if test -n "$CC"; then
3795 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3796 $as_echo "$CC" >&6; }
3798 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3799 $as_echo "no" >&6; }
3804 if test -z "$CC"; then
3805 if test -n "$ac_tool_prefix"; then
3806 for ac_prog
in cl.exe
3808 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
3809 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
3810 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3811 $as_echo_n "checking for $ac_word... " >&6; }
3812 if ${ac_cv_prog_CC+:} false
; then :
3813 $as_echo_n "(cached) " >&6
3815 if test -n "$CC"; then
3816 ac_cv_prog_CC
="$CC" # Let the user override the test.
3818 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3822 test -z "$as_dir" && as_dir
=.
3823 for ac_exec_ext
in '' $ac_executable_extensions; do
3824 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
3825 ac_cv_prog_CC
="$ac_tool_prefix$ac_prog"
3826 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3836 if test -n "$CC"; then
3837 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3838 $as_echo "$CC" >&6; }
3840 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3841 $as_echo "no" >&6; }
3845 test -n "$CC" && break
3848 if test -z "$CC"; then
3850 for ac_prog
in cl.exe
3852 # Extract the first word of "$ac_prog", so it can be a program name with args.
3853 set dummy
$ac_prog; ac_word
=$2
3854 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3855 $as_echo_n "checking for $ac_word... " >&6; }
3856 if ${ac_cv_prog_ac_ct_CC+:} false
; then :
3857 $as_echo_n "(cached) " >&6
3859 if test -n "$ac_ct_CC"; then
3860 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
3862 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3866 test -z "$as_dir" && as_dir
=.
3867 for ac_exec_ext
in '' $ac_executable_extensions; do
3868 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
3869 ac_cv_prog_ac_ct_CC
="$ac_prog"
3870 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3879 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
3880 if test -n "$ac_ct_CC"; then
3881 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3882 $as_echo "$ac_ct_CC" >&6; }
3884 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3885 $as_echo "no" >&6; }
3889 test -n "$ac_ct_CC" && break
3892 if test "x$ac_ct_CC" = x
; then
3895 case $cross_compiling:$ac_tool_warned in
3897 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3898 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3899 ac_tool_warned
=yes ;;
3908 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3909 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3910 as_fn_error $?
"no acceptable C compiler found in \$PATH
3911 See \`config.log' for more details" "$LINENO" 5; }
3913 # Provide some information about the compiler.
3914 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
3917 for ac_option
in --version -v -V -qversion; do
3918 { { ac_try
="$ac_compiler $ac_option >&5"
3920 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
3921 *) ac_try_echo=$ac_try;;
3923 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3924 $as_echo "$ac_try_echo"; } >&5
3925 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
3927 if test -s conftest.err; then
3929 ... rest of stderr output deleted ...
3930 10q' conftest.err >conftest.er1
3931 cat conftest.er1 >&5
3933 rm -f conftest.er1 conftest.err
3934 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3935 test $ac_status = 0; }
3938 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3939 /* end confdefs.h. */
3949 ac_clean_files_save=$ac_clean_files
3950 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
3951 # Try to create an executable without -o first, disregard a.out.
3952 # It will help us diagnose broken compilers, and finding out an intuition
3954 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
3955 $as_echo_n "checking whether the C compiler works... " >&6; }
3956 ac_link_default=`$as_echo "$ac_link" |
sed 's/ -o *conftest[^ ]*//'`
3958 # The possible output files:
3959 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
3962 for ac_file in $ac_files
3965 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
3966 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
3971 if { { ac_try="$ac_link_default"
3973 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
3974 *) ac_try_echo
=$ac_try;;
3976 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3977 $as_echo "$ac_try_echo"; } >&5
3978 (eval "$ac_link_default") 2>&5
3980 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3981 test $ac_status = 0; }; then :
3982 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
3983 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
3984 # in a Makefile. We should not override ac_cv_exeext if it was cached,
3985 # so that the user can short-circuit this test for compilers unknown to
3987 for ac_file
in $ac_files ''
3989 test -f "$ac_file" ||
continue
3991 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg |
*.map |
*.inf |
*.dSYM |
*.o |
*.obj
)
3994 # We found the default executable, but exeext='' is most
3998 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no
;
4000 ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
4002 # We set ac_cv_exeext here because the later test for it is not
4003 # safe: cross compilers may not add the suffix if given an `-o'
4004 # argument, so we may need to know it at that point already.
4005 # Even if this section looks crufty: it has the advantage of
4012 test "$ac_cv_exeext" = no
&& ac_cv_exeext
=
4017 if test -z "$ac_file"; then :
4018 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4019 $as_echo "no" >&6; }
4020 $as_echo "$as_me: failed program was:" >&5
4021 sed 's/^/| /' conftest.
$ac_ext >&5
4023 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4024 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4025 as_fn_error
77 "C compiler cannot create executables
4026 See \`config.log' for more details" "$LINENO" 5; }
4028 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4029 $as_echo "yes" >&6; }
4031 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
4032 $as_echo_n "checking for C compiler default output file name... " >&6; }
4033 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
4034 $as_echo "$ac_file" >&6; }
4035 ac_exeext
=$ac_cv_exeext
4037 rm -f -r a.out a.out.dSYM a.exe conftest
$ac_cv_exeext b.out
4038 ac_clean_files
=$ac_clean_files_save
4039 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
4040 $as_echo_n "checking for suffix of executables... " >&6; }
4041 if { { ac_try
="$ac_link"
4043 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
4044 *) ac_try_echo=$ac_try;;
4046 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4047 $as_echo "$ac_try_echo"; } >&5
4048 (eval "$ac_link") 2>&5
4050 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4051 test $ac_status = 0; }; then :
4052 # If both `conftest.exe
' and `conftest' are
`present' (well, observable)
4053 # catch `conftest.exe
'. For instance with Cygwin, `ls conftest' will
4054 # work properly (i.e., refer to `conftest.exe'), while it won't with
4056 for ac_file
in conftest.exe conftest conftest.
*; do
4057 test -f "$ac_file" ||
continue
4059 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg |
*.map |
*.inf |
*.dSYM |
*.o |
*.obj
) ;;
4060 *.
* ) ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
4066 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4067 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4068 as_fn_error $?
"cannot compute suffix of executables: cannot compile and link
4069 See \`config.log' for more details" "$LINENO" 5; }
4071 rm -f conftest conftest
$ac_cv_exeext
4072 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
4073 $as_echo "$ac_cv_exeext" >&6; }
4075 rm -f conftest.
$ac_ext
4076 EXEEXT
=$ac_cv_exeext
4078 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4079 /* end confdefs.h. */
4084 FILE *f = fopen ("conftest.out", "w");
4085 return ferror (f) || fclose (f) != 0;
4091 ac_clean_files
="$ac_clean_files conftest.out"
4092 # Check that the compiler produces executables we can run. If not, either
4093 # the compiler is broken, or we cross compile.
4094 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
4095 $as_echo_n "checking whether we are cross compiling... " >&6; }
4096 if test "$cross_compiling" != yes; then
4097 { { ac_try
="$ac_link"
4099 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
4100 *) ac_try_echo=$ac_try;;
4102 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4103 $as_echo "$ac_try_echo"; } >&5
4104 (eval "$ac_link") 2>&5
4106 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4107 test $ac_status = 0; }
4108 if { ac_try='./conftest$ac_cv_exeext'
4109 { { case "(($ac_try" in
4110 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
4111 *) ac_try_echo
=$ac_try;;
4113 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4114 $as_echo "$ac_try_echo"; } >&5
4115 (eval "$ac_try") 2>&5
4117 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4118 test $ac_status = 0; }; }; then
4121 if test "$cross_compiling" = maybe
; then
4124 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4125 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4126 as_fn_error $?
"cannot run C compiled programs.
4127 If you meant to cross compile, use \`--host'.
4128 See \`config.log' for more details" "$LINENO" 5; }
4132 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
4133 $as_echo "$cross_compiling" >&6; }
4135 rm -f conftest.
$ac_ext conftest
$ac_cv_exeext conftest.out
4136 ac_clean_files
=$ac_clean_files_save
4137 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
4138 $as_echo_n "checking for suffix of object files... " >&6; }
4139 if ${ac_cv_objext+:} false
; then :
4140 $as_echo_n "(cached) " >&6
4142 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4143 /* end confdefs.h. */
4153 rm -f conftest.o conftest.obj
4154 if { { ac_try
="$ac_compile"
4156 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
4157 *) ac_try_echo=$ac_try;;
4159 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4160 $as_echo "$ac_try_echo"; } >&5
4161 (eval "$ac_compile") 2>&5
4163 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4164 test $ac_status = 0; }; then :
4165 for ac_file in conftest.o conftest.obj conftest.*; do
4166 test -f "$ac_file" || continue;
4168 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
4169 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
4174 $as_echo "$as_me: failed program was:" >&5
4175 sed 's/^/| /' conftest.$ac_ext >&5
4177 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4178 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4179 as_fn_error $? "cannot compute suffix of object files
: cannot compile
4180 See \
`config.log' for more details" "$LINENO" 5; }
4182 rm -f conftest.$ac_cv_objext conftest.$ac_ext
4184 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
4185 $as_echo "$ac_cv_objext" >&6; }
4186 OBJEXT=$ac_cv_objext
4188 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
4189 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
4190 if ${ac_cv_c_compiler_gnu+:} false; then :
4191 $as_echo_n "(cached) " >&6
4193 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4194 /* end confdefs.h. */
4207 if ac_fn_c_try_compile "$LINENO"; then :
4212 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4213 ac_cv_c_compiler_gnu=$ac_compiler_gnu
4216 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
4217 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
4218 if test $ac_compiler_gnu = yes; then
4223 ac_test_CFLAGS=${CFLAGS+set}
4224 ac_save_CFLAGS=$CFLAGS
4225 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
4226 $as_echo_n "checking whether $CC accepts -g... " >&6; }
4227 if ${ac_cv_prog_cc_g+:} false; then :
4228 $as_echo_n "(cached) " >&6
4230 ac_save_c_werror_flag=$ac_c_werror_flag
4231 ac_c_werror_flag=yes
4234 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4235 /* end confdefs.h. */
4245 if ac_fn_c_try_compile "$LINENO"; then :
4249 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4250 /* end confdefs.h. */
4260 if ac_fn_c_try_compile "$LINENO"; then :
4263 ac_c_werror_flag=$ac_save_c_werror_flag
4265 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4266 /* end confdefs.h. */
4276 if ac_fn_c_try_compile "$LINENO"; then :
4279 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4281 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4283 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4284 ac_c_werror_flag=$ac_save_c_werror_flag
4286 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
4287 $as_echo "$ac_cv_prog_cc_g" >&6; }
4288 if test "$ac_test_CFLAGS" = set; then
4289 CFLAGS=$ac_save_CFLAGS
4290 elif test $ac_cv_prog_cc_g = yes; then
4291 if test "$GCC" = yes; then
4297 if test "$GCC" = yes; then
4303 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
4304 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
4305 if ${ac_cv_prog_cc_c89+:} false; then :
4306 $as_echo_n "(cached) " >&6
4308 ac_cv_prog_cc_c89=no
4310 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4311 /* end confdefs.h. */
4315 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
4316 struct buf { int x; };
4317 FILE * (*rcsopen) (struct buf *, struct stat *, int);
4318 static char *e (p, i)
4324 static char *f (char * (*g) (char **, int), char **p, ...)
4329 s = g (p, va_arg (v,int));
4334 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
4335 function prototypes and stuff, but not '\xHH' hex character constants.
4336 These don't provoke an error unfortunately, instead are silently treated
4337 as 'x'. The following induces an error, until -std is added to get
4338 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
4339 array size at least. It's necessary to write '\x00'==0 to get something
4340 that's true only with -std. */
4341 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
4343 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
4344 inside strings and character constants. */
4346 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
4348 int test (int i, double x);
4349 struct s1 {int (*f) (int a);};
4350 struct s2 {int (*f) (double a);};
4351 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
4357 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
4362 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
4363 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
4365 CC="$ac_save_CC $ac_arg"
4366 if ac_fn_c_try_compile "$LINENO"; then :
4367 ac_cv_prog_cc_c89=$ac_arg
4369 rm -f core conftest.err conftest.$ac_objext
4370 test "x$ac_cv_prog_cc_c89" != "xno" && break
4372 rm -f conftest.$ac_ext
4377 case "x$ac_cv_prog_cc_c89" in
4379 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
4380 $as_echo "none needed" >&6; } ;;
4382 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
4383 $as_echo "unsupported" >&6; } ;;
4385 CC="$CC $ac_cv_prog_cc_c89"
4386 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
4387 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
4389 if test "x$ac_cv_prog_cc_c89" != xno; then :
4394 ac_cpp='$CPP $CPPFLAGS'
4395 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4396 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4397 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4400 ac_cpp='$CXXCPP $CPPFLAGS'
4401 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4402 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4403 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
4404 if test -z "$CXX"; then
4405 if test -n "$CCC"; then
4408 if test -n "$ac_tool_prefix"; then
4409 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
4411 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
4412 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
4413 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4414 $as_echo_n "checking for $ac_word... " >&6; }
4415 if ${ac_cv_prog_CXX+:} false; then :
4416 $as_echo_n "(cached) " >&6
4418 if test -n "$CXX"; then
4419 ac_cv_prog_CXX="$CXX" # Let the user override the test.
4421 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4425 test -z "$as_dir" && as_dir=.
4426 for ac_exec_ext in '' $ac_executable_extensions; do
4427 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4428 ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"
4429 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4439 if test -n "$CXX"; then
4440 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXX" >&5
4441 $as_echo "$CXX" >&6; }
4443 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4444 $as_echo "no" >&6; }
4448 test -n "$CXX" && break
4451 if test -z "$CXX"; then
4453 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
4455 # Extract the first word of "$ac_prog", so it can be a program name with args.
4456 set dummy $ac_prog; ac_word=$2
4457 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4458 $as_echo_n "checking for $ac_word... " >&6; }
4459 if ${ac_cv_prog_ac_ct_CXX+:} false; then :
4460 $as_echo_n "(cached) " >&6
4462 if test -n "$ac_ct_CXX"; then
4463 ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
4465 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4469 test -z "$as_dir" && as_dir=.
4470 for ac_exec_ext in '' $ac_executable_extensions; do
4471 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4472 ac_cv_prog_ac_ct_CXX="$ac_prog"
4473 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4482 ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
4483 if test -n "$ac_ct_CXX"; then
4484 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CXX" >&5
4485 $as_echo "$ac_ct_CXX" >&6; }
4487 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4488 $as_echo "no" >&6; }
4492 test -n "$ac_ct_CXX" && break
4495 if test "x$ac_ct_CXX" = x; then
4498 case $cross_compiling:$ac_tool_warned in
4500 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4501 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4502 ac_tool_warned=yes ;;
4510 # Provide some information about the compiler.
4511 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C++ compiler version" >&5
4514 for ac_option in --version -v -V -qversion; do
4515 { { ac_try="$ac_compiler $ac_option >&5"
4517 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
4518 *) ac_try_echo
=$ac_try;;
4520 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4521 $as_echo "$ac_try_echo"; } >&5
4522 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
4524 if test -s conftest.err
; then
4526 ... rest of stderr output deleted ...
4527 10q' conftest.err
>conftest.er1
4528 cat conftest.er1
>&5
4530 rm -f conftest.er1 conftest.err
4531 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4532 test $ac_status = 0; }
4535 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C++ compiler" >&5
4536 $as_echo_n "checking whether we are using the GNU C++ compiler... " >&6; }
4537 if ${ac_cv_cxx_compiler_gnu+:} false
; then :
4538 $as_echo_n "(cached) " >&6
4540 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4541 /* end confdefs.h. */
4554 if ac_fn_cxx_try_compile
"$LINENO"; then :
4559 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
4560 ac_cv_cxx_compiler_gnu
=$ac_compiler_gnu
4563 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cxx_compiler_gnu" >&5
4564 $as_echo "$ac_cv_cxx_compiler_gnu" >&6; }
4565 if test $ac_compiler_gnu = yes; then
4570 ac_test_CXXFLAGS
=${CXXFLAGS+set}
4571 ac_save_CXXFLAGS
=$CXXFLAGS
4572 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CXX accepts -g" >&5
4573 $as_echo_n "checking whether $CXX accepts -g... " >&6; }
4574 if ${ac_cv_prog_cxx_g+:} false
; then :
4575 $as_echo_n "(cached) " >&6
4577 ac_save_cxx_werror_flag
=$ac_cxx_werror_flag
4578 ac_cxx_werror_flag
=yes
4581 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4582 /* end confdefs.h. */
4592 if ac_fn_cxx_try_compile
"$LINENO"; then :
4593 ac_cv_prog_cxx_g
=yes
4596 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4597 /* end confdefs.h. */
4607 if ac_fn_cxx_try_compile
"$LINENO"; then :
4610 ac_cxx_werror_flag
=$ac_save_cxx_werror_flag
4612 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4613 /* end confdefs.h. */
4623 if ac_fn_cxx_try_compile
"$LINENO"; then :
4624 ac_cv_prog_cxx_g
=yes
4626 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
4628 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
4630 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
4631 ac_cxx_werror_flag
=$ac_save_cxx_werror_flag
4633 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cxx_g" >&5
4634 $as_echo "$ac_cv_prog_cxx_g" >&6; }
4635 if test "$ac_test_CXXFLAGS" = set; then
4636 CXXFLAGS
=$ac_save_CXXFLAGS
4637 elif test $ac_cv_prog_cxx_g = yes; then
4638 if test "$GXX" = yes; then
4644 if test "$GXX" = yes; then
4651 ac_cpp
='$CPP $CPPFLAGS'
4652 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4653 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4654 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
4656 if test -n "$ac_tool_prefix"; then
4657 # Extract the first word of "${ac_tool_prefix}cpp", so it can be a program name with args.
4658 set dummy
${ac_tool_prefix}cpp
; ac_word
=$2
4659 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4660 $as_echo_n "checking for $ac_word... " >&6; }
4661 if ${ac_cv_prog_CPPBIN+:} false
; then :
4662 $as_echo_n "(cached) " >&6
4664 if test -n "$CPPBIN"; then
4665 ac_cv_prog_CPPBIN
="$CPPBIN" # Let the user override the test.
4667 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4671 test -z "$as_dir" && as_dir
=.
4672 for ac_exec_ext
in '' $ac_executable_extensions; do
4673 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
4674 ac_cv_prog_CPPBIN
="${ac_tool_prefix}cpp"
4675 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4684 CPPBIN
=$ac_cv_prog_CPPBIN
4685 if test -n "$CPPBIN"; then
4686 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPPBIN" >&5
4687 $as_echo "$CPPBIN" >&6; }
4689 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4690 $as_echo "no" >&6; }
4695 if test -z "$ac_cv_prog_CPPBIN"; then
4696 ac_ct_CPPBIN
=$CPPBIN
4697 # Extract the first word of "cpp", so it can be a program name with args.
4698 set dummy cpp
; ac_word
=$2
4699 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4700 $as_echo_n "checking for $ac_word... " >&6; }
4701 if ${ac_cv_prog_ac_ct_CPPBIN+:} false
; then :
4702 $as_echo_n "(cached) " >&6
4704 if test -n "$ac_ct_CPPBIN"; then
4705 ac_cv_prog_ac_ct_CPPBIN
="$ac_ct_CPPBIN" # Let the user override the test.
4707 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4711 test -z "$as_dir" && as_dir
=.
4712 for ac_exec_ext
in '' $ac_executable_extensions; do
4713 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
4714 ac_cv_prog_ac_ct_CPPBIN
="cpp"
4715 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4724 ac_ct_CPPBIN
=$ac_cv_prog_ac_ct_CPPBIN
4725 if test -n "$ac_ct_CPPBIN"; then
4726 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CPPBIN" >&5
4727 $as_echo "$ac_ct_CPPBIN" >&6; }
4729 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4730 $as_echo "no" >&6; }
4733 if test "x$ac_ct_CPPBIN" = x
; then
4736 case $cross_compiling:$ac_tool_warned in
4738 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4739 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4740 ac_tool_warned
=yes ;;
4742 CPPBIN
=$ac_ct_CPPBIN
4745 CPPBIN
="$ac_cv_prog_CPPBIN"
4749 cat >>confdefs.h
<<_ACEOF
4750 #define EXEEXT "$ac_exeext"
4753 if test -n "$ac_tool_prefix"; then
4754 # Extract the first word of "${ac_tool_prefix}ld", so it can be a program name with args.
4755 set dummy
${ac_tool_prefix}ld
; ac_word
=$2
4756 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4757 $as_echo_n "checking for $ac_word... " >&6; }
4758 if ${ac_cv_prog_LD+:} false
; then :
4759 $as_echo_n "(cached) " >&6
4761 if test -n "$LD"; then
4762 ac_cv_prog_LD
="$LD" # Let the user override the test.
4764 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4768 test -z "$as_dir" && as_dir
=.
4769 for ac_exec_ext
in '' $ac_executable_extensions; do
4770 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
4771 ac_cv_prog_LD
="${ac_tool_prefix}ld"
4772 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4782 if test -n "$LD"; then
4783 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
4784 $as_echo "$LD" >&6; }
4786 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4787 $as_echo "no" >&6; }
4792 if test -z "$ac_cv_prog_LD"; then
4794 # Extract the first word of "ld", so it can be a program name with args.
4795 set dummy ld
; ac_word
=$2
4796 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4797 $as_echo_n "checking for $ac_word... " >&6; }
4798 if ${ac_cv_prog_ac_ct_LD+:} false
; then :
4799 $as_echo_n "(cached) " >&6
4801 if test -n "$ac_ct_LD"; then
4802 ac_cv_prog_ac_ct_LD
="$ac_ct_LD" # Let the user override the test.
4804 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4808 test -z "$as_dir" && as_dir
=.
4809 for ac_exec_ext
in '' $ac_executable_extensions; do
4810 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
4811 ac_cv_prog_ac_ct_LD
="ld"
4812 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4821 ac_ct_LD
=$ac_cv_prog_ac_ct_LD
4822 if test -n "$ac_ct_LD"; then
4823 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_LD" >&5
4824 $as_echo "$ac_ct_LD" >&6; }
4826 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4827 $as_echo "no" >&6; }
4830 if test "x$ac_ct_LD" = x
; then
4833 case $cross_compiling:$ac_tool_warned in
4835 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4836 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4837 ac_tool_warned
=yes ;;
4848 if test "x$enable_win64" = "xyes"
4853 notice_platform
="64-bit "
4860 notice_platform
="32-bit "
4863 enable_win16
=${enable_win16:-yes}
4865 with_fontconfig
=${with_fontconfig:-no}
4868 if test "x$enable_win64" != "xyes" -a "$cross_compiling" != "yes"
4872 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC works" >&5
4873 $as_echo_n "checking whether $CC works... " >&6; }
4875 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4876 /* end confdefs.h. */
4886 if ac_fn_c_try_link
"$LINENO"; then :
4887 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4888 $as_echo "yes" >&6; }
4890 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4891 $as_echo "no" >&6; }
4892 as_fn_error $?
"Cannot build a 32-bit program, you need to install 32-bit development libraries." "$LINENO" 5
4894 rm -f core conftest.err conftest.
$ac_objext \
4895 conftest
$ac_exeext conftest.
$ac_ext
4897 notice_platform
="32-bit "
4900 enable_win16
=${enable_win16:-yes}
4902 if test "x${GCC}" = "xyes"
4904 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC supports __builtin_ms_va_list" >&5
4905 $as_echo_n "checking whether $CC supports __builtin_ms_va_list... " >&6; }
4906 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4907 /* end confdefs.h. */
4912 void func(__builtin_ms_va_list *args);
4917 if ac_fn_c_try_compile
"$LINENO"; then :
4918 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4919 $as_echo "yes" >&6; }
4921 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4922 $as_echo "no" >&6; }
4923 as_fn_error $?
"You need gcc >= 4.4 to build Wine as 64-bit." "$LINENO" 5
4925 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
4933 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC supports Thumb" >&5
4934 $as_echo_n "checking whether $CC supports Thumb... " >&6; }
4935 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4936 /* end confdefs.h. */
4937 int ac_test(int i) { return i; }
4941 asm(".thumb\nblx ac_test\n.arm"); if (ac_test(1)) return 1
4946 if ac_fn_c_try_link
"$LINENO"; then :
4947 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4948 $as_echo "yes" >&6; }
4950 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4951 $as_echo "no" >&6; }
4952 as_fn_error $?
"You need a target with Thumb support to build Wine for ARM." "$LINENO" 5
4954 rm -f core conftest.err conftest.
$ac_objext \
4955 conftest
$ac_exeext conftest.
$ac_ext
4956 CFLAGS
="$CFLAGS -marm"
4960 *-mingw32*|
*-cygwin*)
4961 enable_win16
=${enable_win16:-no}
4962 CFLAGS
="$CFLAGS -D_WIN32"
4965 enable_win16
=${enable_win16:-yes}
4969 enable_win16
=${enable_win16:-no}
4970 enable_win64
=${enable_win64:-no}
4972 enable_winetest
=${enable_winetest:-$enable_tests}
4974 if test -n "$with_wine64"
4976 if test "x$enable_win64" = "xyes"
4978 as_fn_error $?
"--enable-win64 and --with-wine64 are mutually exclusive.
4979 --enable-win64 should be used in the 64-bit build tree, --with-wine64 in the 32-bit Wow64 build tree." "$LINENO" 5
4981 enable_fonts
=${enable_fonts:-no}
4982 enable_server
=${enable_server:-no}
4983 elif test "x$enable_win64" = "xyes"
4985 test "x$libdir" != "x\${exec_prefix}/lib" || libdir
="\${exec_prefix}/lib64"
4988 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for the directory containing the Wine tools" >&5
4989 $as_echo_n "checking for the directory containing the Wine tools... " >&6; }
4990 if ${wine_cv_toolsdir+:} false
; then :
4991 $as_echo_n "(cached) " >&6
4993 wine_cv_toolsdir
="$with_wine_tools"
4994 if test -z "$with_wine_tools"; then
4995 if test "$cross_compiling" = "yes"; then
4996 as_fn_error $?
"you must use the --with-wine-tools option when cross-compiling." "$LINENO" 5
4997 elif test -n "$with_wine64"; then
4998 wine_cv_toolsdir
="$with_wine64"
5001 if test -z "$wine_cv_toolsdir"; then
5002 wine_makedep
=tools
/makedep
5003 wine_cv_toolsdir
="\$(top_builddir)"
5004 elif test -d "$wine_cv_toolsdir/tools/winebuild"; then
5005 wine_makedep
=$wine_cv_toolsdir/tools
/makedep
5006 case "$wine_cv_toolsdir" in
5008 *) wine_cv_toolsdir
="\$(top_builddir)/$wine_cv_toolsdir" ;;
5010 enable_tools
=${enable_tools:-no}
5011 test -f "$wine_makedep" || as_fn_error $?
"the Wine tools have not yet been built in $wine_cv_toolsdir" "$LINENO" 5
5013 as_fn_error $?
"could not find Wine tools in $wine_cv_toolsdir" "$LINENO" 5
5016 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_toolsdir" >&5
5017 $as_echo "$wine_cv_toolsdir" >&6; }
5018 TOOLSDIR
=$wine_cv_toolsdir
5020 if test -n "$host_alias" -a "$host_alias" != "$build_alias"
5022 TARGETFLAGS
="-b $host_alias $TARGETFLAGS"
5028 # Extract the first word of "$ac_prog", so it can be a program name with args.
5029 set dummy
$ac_prog; ac_word
=$2
5030 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5031 $as_echo_n "checking for $ac_word... " >&6; }
5032 if ${ac_cv_prog_FLEX+:} false
; then :
5033 $as_echo_n "(cached) " >&6
5035 if test -n "$FLEX"; then
5036 ac_cv_prog_FLEX
="$FLEX" # Let the user override the test.
5038 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5042 test -z "$as_dir" && as_dir
=.
5043 for ac_exec_ext
in '' $ac_executable_extensions; do
5044 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
5045 ac_cv_prog_FLEX
="$ac_prog"
5046 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5055 FLEX
=$ac_cv_prog_FLEX
5056 if test -n "$FLEX"; then
5057 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $FLEX" >&5
5058 $as_echo "$FLEX" >&6; }
5060 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5061 $as_echo "no" >&6; }
5065 test -n "$FLEX" && break
5067 test -n "$FLEX" || FLEX
="none"
5069 if test "$FLEX" = "none"
5071 as_fn_error $?
"no suitable flex found. Please install the 'flex' package." "$LINENO" 5
5073 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether flex is recent enough" >&5
5074 $as_echo_n "checking whether flex is recent enough... " >&6; }
5075 cat >conftest.l
<<EOF
5077 #include "prediluvian.h"
5081 if $FLEX -t conftest.l
>/dev
/null
2>&5
5083 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5084 $as_echo "yes" >&6; }
5086 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5087 $as_echo "no" >&6; }
5088 as_fn_error $?
"Your flex version is too old. Please install flex version 2.5.33 or newer." "$LINENO" 5
5091 for ac_prog
in bison
5093 # Extract the first word of "$ac_prog", so it can be a program name with args.
5094 set dummy
$ac_prog; ac_word
=$2
5095 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5096 $as_echo_n "checking for $ac_word... " >&6; }
5097 if ${ac_cv_prog_BISON+:} false
; then :
5098 $as_echo_n "(cached) " >&6
5100 if test -n "$BISON"; then
5101 ac_cv_prog_BISON
="$BISON" # Let the user override the test.
5103 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5107 test -z "$as_dir" && as_dir
=.
5108 for ac_exec_ext
in '' $ac_executable_extensions; do
5109 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
5110 ac_cv_prog_BISON
="$ac_prog"
5111 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5120 BISON
=$ac_cv_prog_BISON
5121 if test -n "$BISON"; then
5122 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $BISON" >&5
5123 $as_echo "$BISON" >&6; }
5125 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5126 $as_echo "no" >&6; }
5130 test -n "$BISON" && break
5132 test -n "$BISON" || BISON
="none"
5134 if test "$BISON" = "none"
5136 as_fn_error $?
"no suitable bison found. Please install the 'bison' package." "$LINENO" 5
5139 if test -n "$ac_tool_prefix"; then
5140 for ac_prog
in ar gar
5142 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
5143 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
5144 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5145 $as_echo_n "checking for $ac_word... " >&6; }
5146 if ${ac_cv_prog_AR+:} false
; then :
5147 $as_echo_n "(cached) " >&6
5149 if test -n "$AR"; then
5150 ac_cv_prog_AR
="$AR" # Let the user override the test.
5152 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5156 test -z "$as_dir" && as_dir
=.
5157 for ac_exec_ext
in '' $ac_executable_extensions; do
5158 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
5159 ac_cv_prog_AR
="$ac_tool_prefix$ac_prog"
5160 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5170 if test -n "$AR"; then
5171 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
5172 $as_echo "$AR" >&6; }
5174 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5175 $as_echo "no" >&6; }
5179 test -n "$AR" && break
5182 if test -z "$AR"; then
5184 for ac_prog
in ar gar
5186 # Extract the first word of "$ac_prog", so it can be a program name with args.
5187 set dummy
$ac_prog; ac_word
=$2
5188 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5189 $as_echo_n "checking for $ac_word... " >&6; }
5190 if ${ac_cv_prog_ac_ct_AR+:} false
; then :
5191 $as_echo_n "(cached) " >&6
5193 if test -n "$ac_ct_AR"; then
5194 ac_cv_prog_ac_ct_AR
="$ac_ct_AR" # Let the user override the test.
5196 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5200 test -z "$as_dir" && as_dir
=.
5201 for ac_exec_ext
in '' $ac_executable_extensions; do
5202 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
5203 ac_cv_prog_ac_ct_AR
="$ac_prog"
5204 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5213 ac_ct_AR
=$ac_cv_prog_ac_ct_AR
5214 if test -n "$ac_ct_AR"; then
5215 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5
5216 $as_echo "$ac_ct_AR" >&6; }
5218 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5219 $as_echo "no" >&6; }
5223 test -n "$ac_ct_AR" && break
5226 if test "x$ac_ct_AR" = x
; then
5229 case $cross_compiling:$ac_tool_warned in
5231 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5232 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5233 ac_tool_warned
=yes ;;
5239 if test -n "$ac_tool_prefix"; then
5240 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
5241 set dummy
${ac_tool_prefix}strip
; ac_word
=$2
5242 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5243 $as_echo_n "checking for $ac_word... " >&6; }
5244 if ${ac_cv_prog_STRIP+:} false
; then :
5245 $as_echo_n "(cached) " >&6
5247 if test -n "$STRIP"; then
5248 ac_cv_prog_STRIP
="$STRIP" # Let the user override the test.
5250 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5254 test -z "$as_dir" && as_dir
=.
5255 for ac_exec_ext
in '' $ac_executable_extensions; do
5256 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
5257 ac_cv_prog_STRIP
="${ac_tool_prefix}strip"
5258 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5267 STRIP
=$ac_cv_prog_STRIP
5268 if test -n "$STRIP"; then
5269 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
5270 $as_echo "$STRIP" >&6; }
5272 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5273 $as_echo "no" >&6; }
5278 if test -z "$ac_cv_prog_STRIP"; then
5280 # Extract the first word of "strip", so it can be a program name with args.
5281 set dummy strip
; ac_word
=$2
5282 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5283 $as_echo_n "checking for $ac_word... " >&6; }
5284 if ${ac_cv_prog_ac_ct_STRIP+:} false
; then :
5285 $as_echo_n "(cached) " >&6
5287 if test -n "$ac_ct_STRIP"; then
5288 ac_cv_prog_ac_ct_STRIP
="$ac_ct_STRIP" # Let the user override the test.
5290 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5294 test -z "$as_dir" && as_dir
=.
5295 for ac_exec_ext
in '' $ac_executable_extensions; do
5296 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
5297 ac_cv_prog_ac_ct_STRIP
="strip"
5298 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5307 ac_ct_STRIP
=$ac_cv_prog_ac_ct_STRIP
5308 if test -n "$ac_ct_STRIP"; then
5309 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
5310 $as_echo "$ac_ct_STRIP" >&6; }
5312 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5313 $as_echo "no" >&6; }
5316 if test "x$ac_ct_STRIP" = x
; then
5319 case $cross_compiling:$ac_tool_warned in
5321 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5322 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5323 ac_tool_warned
=yes ;;
5328 STRIP
="$ac_cv_prog_STRIP"
5333 if test -n "$ac_tool_prefix"; then
5334 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
5335 set dummy
${ac_tool_prefix}ranlib
; ac_word
=$2
5336 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5337 $as_echo_n "checking for $ac_word... " >&6; }
5338 if ${ac_cv_prog_RANLIB+:} false
; then :
5339 $as_echo_n "(cached) " >&6
5341 if test -n "$RANLIB"; then
5342 ac_cv_prog_RANLIB
="$RANLIB" # Let the user override the test.
5344 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5348 test -z "$as_dir" && as_dir
=.
5349 for ac_exec_ext
in '' $ac_executable_extensions; do
5350 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
5351 ac_cv_prog_RANLIB
="${ac_tool_prefix}ranlib"
5352 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5361 RANLIB
=$ac_cv_prog_RANLIB
5362 if test -n "$RANLIB"; then
5363 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
5364 $as_echo "$RANLIB" >&6; }
5366 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5367 $as_echo "no" >&6; }
5372 if test -z "$ac_cv_prog_RANLIB"; then
5373 ac_ct_RANLIB
=$RANLIB
5374 # Extract the first word of "ranlib", so it can be a program name with args.
5375 set dummy ranlib
; ac_word
=$2
5376 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5377 $as_echo_n "checking for $ac_word... " >&6; }
5378 if ${ac_cv_prog_ac_ct_RANLIB+:} false
; then :
5379 $as_echo_n "(cached) " >&6
5381 if test -n "$ac_ct_RANLIB"; then
5382 ac_cv_prog_ac_ct_RANLIB
="$ac_ct_RANLIB" # Let the user override the test.
5384 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5388 test -z "$as_dir" && as_dir
=.
5389 for ac_exec_ext
in '' $ac_executable_extensions; do
5390 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
5391 ac_cv_prog_ac_ct_RANLIB
="ranlib"
5392 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5401 ac_ct_RANLIB
=$ac_cv_prog_ac_ct_RANLIB
5402 if test -n "$ac_ct_RANLIB"; then
5403 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
5404 $as_echo "$ac_ct_RANLIB" >&6; }
5406 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5407 $as_echo "no" >&6; }
5410 if test "x$ac_ct_RANLIB" = x
; then
5413 case $cross_compiling:$ac_tool_warned in
5415 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5416 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5417 ac_tool_warned
=yes ;;
5419 RANLIB
=$ac_ct_RANLIB
5422 RANLIB
="$ac_cv_prog_RANLIB"
5425 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5
5426 $as_echo_n "checking whether ln -s works... " >&6; }
5428 if test "$LN_S" = "ln -s"; then
5429 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5430 $as_echo "yes" >&6; }
5432 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5
5433 $as_echo "no, using $LN_S" >&6; }
5436 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
5437 $as_echo_n "checking for grep that handles long lines and -e... " >&6; }
5438 if ${ac_cv_path_GREP+:} false
; then :
5439 $as_echo_n "(cached) " >&6
5441 if test -z "$GREP"; then
5442 ac_path_GREP_found
=false
5443 # Loop through the user's path and test for each of PROGNAME-LIST
5444 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5445 for as_dir
in $PATH$PATH_SEPARATOR/usr
/xpg
4/bin
5448 test -z "$as_dir" && as_dir
=.
5449 for ac_prog
in grep ggrep
; do
5450 for ac_exec_ext
in '' $ac_executable_extensions; do
5451 ac_path_GREP
="$as_dir/$ac_prog$ac_exec_ext"
5452 as_fn_executable_p
"$ac_path_GREP" ||
continue
5453 # Check for GNU ac_path_GREP and select it if it is found.
5454 # Check for GNU $ac_path_GREP
5455 case `"$ac_path_GREP" --version 2>&1` in
5457 ac_cv_path_GREP
="$ac_path_GREP" ac_path_GREP_found
=:;;
5460 $as_echo_n 0123456789 >"conftest.in"
5463 cat "conftest.in" "conftest.in" >"conftest.tmp"
5464 mv "conftest.tmp" "conftest.in"
5465 cp "conftest.in" "conftest.nl"
5466 $as_echo 'GREP' >> "conftest.nl"
5467 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev
/null ||
break
5468 diff "conftest.out" "conftest.nl" >/dev
/null
2>&1 ||
break
5469 as_fn_arith
$ac_count + 1 && ac_count
=$as_val
5470 if test $ac_count -gt ${ac_path_GREP_max-0}; then
5471 # Best one so far, save it but keep looking for a better one
5472 ac_cv_path_GREP
="$ac_path_GREP"
5473 ac_path_GREP_max
=$ac_count
5475 # 10*(2^10) chars as input seems more than enough
5476 test $ac_count -gt 10 && break
5478 rm -f conftest.
in conftest.tmp conftest.
nl conftest.out
;;
5481 $ac_path_GREP_found && break 3
5486 if test -z "$ac_cv_path_GREP"; then
5487 as_fn_error $?
"no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
5490 ac_cv_path_GREP
=$GREP
5494 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
5495 $as_echo "$ac_cv_path_GREP" >&6; }
5496 GREP
="$ac_cv_path_GREP"
5499 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
5500 $as_echo_n "checking for egrep... " >&6; }
5501 if ${ac_cv_path_EGREP+:} false
; then :
5502 $as_echo_n "(cached) " >&6
5504 if echo a |
$GREP -E '(a|b)' >/dev
/null
2>&1
5505 then ac_cv_path_EGREP
="$GREP -E"
5507 if test -z "$EGREP"; then
5508 ac_path_EGREP_found
=false
5509 # Loop through the user's path and test for each of PROGNAME-LIST
5510 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5511 for as_dir
in $PATH$PATH_SEPARATOR/usr
/xpg
4/bin
5514 test -z "$as_dir" && as_dir
=.
5515 for ac_prog
in egrep; do
5516 for ac_exec_ext
in '' $ac_executable_extensions; do
5517 ac_path_EGREP
="$as_dir/$ac_prog$ac_exec_ext"
5518 as_fn_executable_p
"$ac_path_EGREP" ||
continue
5519 # Check for GNU ac_path_EGREP and select it if it is found.
5520 # Check for GNU $ac_path_EGREP
5521 case `"$ac_path_EGREP" --version 2>&1` in
5523 ac_cv_path_EGREP
="$ac_path_EGREP" ac_path_EGREP_found
=:;;
5526 $as_echo_n 0123456789 >"conftest.in"
5529 cat "conftest.in" "conftest.in" >"conftest.tmp"
5530 mv "conftest.tmp" "conftest.in"
5531 cp "conftest.in" "conftest.nl"
5532 $as_echo 'EGREP' >> "conftest.nl"
5533 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev
/null ||
break
5534 diff "conftest.out" "conftest.nl" >/dev
/null
2>&1 ||
break
5535 as_fn_arith
$ac_count + 1 && ac_count
=$as_val
5536 if test $ac_count -gt ${ac_path_EGREP_max-0}; then
5537 # Best one so far, save it but keep looking for a better one
5538 ac_cv_path_EGREP
="$ac_path_EGREP"
5539 ac_path_EGREP_max
=$ac_count
5541 # 10*(2^10) chars as input seems more than enough
5542 test $ac_count -gt 10 && break
5544 rm -f conftest.
in conftest.tmp conftest.
nl conftest.out
;;
5547 $ac_path_EGREP_found && break 3
5552 if test -z "$ac_cv_path_EGREP"; then
5553 as_fn_error $?
"no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
5556 ac_cv_path_EGREP
=$EGREP
5561 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
5562 $as_echo "$ac_cv_path_EGREP" >&6; }
5563 EGREP
="$ac_cv_path_EGREP"
5566 # Extract the first word of "ldconfig", so it can be a program name with args.
5567 set dummy ldconfig
; ac_word
=$2
5568 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5569 $as_echo_n "checking for $ac_word... " >&6; }
5570 if ${ac_cv_path_LDCONFIG+:} false
; then :
5571 $as_echo_n "(cached) " >&6
5575 ac_cv_path_LDCONFIG
="$LDCONFIG" # Let the user override the test with a path.
5578 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5579 for as_dir
in /sbin
/usr
/sbin
$PATH
5582 test -z "$as_dir" && as_dir
=.
5583 for ac_exec_ext
in '' $ac_executable_extensions; do
5584 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
5585 ac_cv_path_LDCONFIG
="$as_dir/$ac_word$ac_exec_ext"
5586 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5593 test -z "$ac_cv_path_LDCONFIG" && ac_cv_path_LDCONFIG
="true"
5597 LDCONFIG
=$ac_cv_path_LDCONFIG
5598 if test -n "$LDCONFIG"; then
5599 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LDCONFIG" >&5
5600 $as_echo "$LDCONFIG" >&6; }
5602 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5603 $as_echo "no" >&6; }
5607 for ac_prog
in msgfmt
5609 # Extract the first word of "$ac_prog", so it can be a program name with args.
5610 set dummy
$ac_prog; ac_word
=$2
5611 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5612 $as_echo_n "checking for $ac_word... " >&6; }
5613 if ${ac_cv_prog_MSGFMT+:} false
; then :
5614 $as_echo_n "(cached) " >&6
5616 if test -n "$MSGFMT"; then
5617 ac_cv_prog_MSGFMT
="$MSGFMT" # Let the user override the test.
5619 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5623 test -z "$as_dir" && as_dir
=.
5624 for ac_exec_ext
in '' $ac_executable_extensions; do
5625 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
5626 ac_cv_prog_MSGFMT
="$ac_prog"
5627 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5636 MSGFMT
=$ac_cv_prog_MSGFMT
5637 if test -n "$MSGFMT"; then
5638 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MSGFMT" >&5
5639 $as_echo "$MSGFMT" >&6; }
5641 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5642 $as_echo "no" >&6; }
5646 test -n "$MSGFMT" && break
5648 test -n "$MSGFMT" || MSGFMT
="false"
5650 if ${ac_tool_prefix+:} false
; then :
5651 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
5652 set dummy
${ac_tool_prefix}pkg-config
; ac_word
=$2
5653 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5654 $as_echo_n "checking for $ac_word... " >&6; }
5655 if ${ac_cv_prog_PKG_CONFIG+:} false
; then :
5656 $as_echo_n "(cached) " >&6
5658 if test -n "$PKG_CONFIG"; then
5659 ac_cv_prog_PKG_CONFIG
="$PKG_CONFIG" # Let the user override the test.
5661 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5665 test -z "$as_dir" && as_dir
=.
5666 for ac_exec_ext
in '' $ac_executable_extensions; do
5667 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
5668 ac_cv_prog_PKG_CONFIG
="${ac_tool_prefix}pkg-config"
5669 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5678 PKG_CONFIG
=$ac_cv_prog_PKG_CONFIG
5679 if test -n "$PKG_CONFIG"; then
5680 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
5681 $as_echo "$PKG_CONFIG" >&6; }
5683 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5684 $as_echo "no" >&6; }
5689 if ${ac_cv_prog_PKG_CONFIG:+false} :; then :
5690 if test "x$cross_compiling" = xyes
; then :
5693 { ac_cv_prog_PKG_CONFIG
=; unset ac_cv_prog_PKG_CONFIG
;}
5694 # Extract the first word of "pkg-config", so it can be a program name with args.
5695 set dummy pkg-config
; ac_word
=$2
5696 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5697 $as_echo_n "checking for $ac_word... " >&6; }
5698 if ${ac_cv_prog_PKG_CONFIG+:} false
; then :
5699 $as_echo_n "(cached) " >&6
5701 if test -n "$PKG_CONFIG"; then
5702 ac_cv_prog_PKG_CONFIG
="$PKG_CONFIG" # Let the user override the test.
5704 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5708 test -z "$as_dir" && as_dir
=.
5709 for ac_exec_ext
in '' $ac_executable_extensions; do
5710 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
5711 ac_cv_prog_PKG_CONFIG
="pkg-config"
5712 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5721 PKG_CONFIG
=$ac_cv_prog_PKG_CONFIG
5722 if test -n "$PKG_CONFIG"; then
5723 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
5724 $as_echo "$PKG_CONFIG" >&6; }
5726 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5727 $as_echo "no" >&6; }
5733 PKG_CONFIG
=$ac_cv_prog_PKG_CONFIG
5736 if test "x$enable_maintainer_mode" != "xyes"
5743 test "$srcdir" = . || as_fn_error $?
"Maintainer mode cannot work out of tree." "$LINENO" 5
5744 for ac_prog
in fontforge
5746 # Extract the first word of "$ac_prog", so it can be a program name with args.
5747 set dummy
$ac_prog; ac_word
=$2
5748 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5749 $as_echo_n "checking for $ac_word... " >&6; }
5750 if ${ac_cv_prog_FONTFORGE+:} false
; then :
5751 $as_echo_n "(cached) " >&6
5753 if test -n "$FONTFORGE"; then
5754 ac_cv_prog_FONTFORGE
="$FONTFORGE" # Let the user override the test.
5756 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5760 test -z "$as_dir" && as_dir
=.
5761 for ac_exec_ext
in '' $ac_executable_extensions; do
5762 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
5763 ac_cv_prog_FONTFORGE
="$ac_prog"
5764 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5773 FONTFORGE
=$ac_cv_prog_FONTFORGE
5774 if test -n "$FONTFORGE"; then
5775 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $FONTFORGE" >&5
5776 $as_echo "$FONTFORGE" >&6; }
5778 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5779 $as_echo "no" >&6; }
5783 test -n "$FONTFORGE" && break
5785 test -n "$FONTFORGE" || FONTFORGE
="false"
5787 for ac_prog
in rsvg-convert rsvg
5789 # Extract the first word of "$ac_prog", so it can be a program name with args.
5790 set dummy
$ac_prog; ac_word
=$2
5791 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5792 $as_echo_n "checking for $ac_word... " >&6; }
5793 if ${ac_cv_prog_RSVG+:} false
; then :
5794 $as_echo_n "(cached) " >&6
5796 if test -n "$RSVG"; then
5797 ac_cv_prog_RSVG
="$RSVG" # Let the user override the test.
5799 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5803 test -z "$as_dir" && as_dir
=.
5804 for ac_exec_ext
in '' $ac_executable_extensions; do
5805 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
5806 ac_cv_prog_RSVG
="$ac_prog"
5807 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5816 RSVG
=$ac_cv_prog_RSVG
5817 if test -n "$RSVG"; then
5818 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RSVG" >&5
5819 $as_echo "$RSVG" >&6; }
5821 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5822 $as_echo "no" >&6; }
5826 test -n "$RSVG" && break
5828 test -n "$RSVG" || RSVG
="false"
5830 for ac_prog
in convert
5832 # Extract the first word of "$ac_prog", so it can be a program name with args.
5833 set dummy
$ac_prog; ac_word
=$2
5834 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5835 $as_echo_n "checking for $ac_word... " >&6; }
5836 if ${ac_cv_prog_CONVERT+:} false
; then :
5837 $as_echo_n "(cached) " >&6
5839 if test -n "$CONVERT"; then
5840 ac_cv_prog_CONVERT
="$CONVERT" # Let the user override the test.
5842 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5846 test -z "$as_dir" && as_dir
=.
5847 for ac_exec_ext
in '' $ac_executable_extensions; do
5848 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
5849 ac_cv_prog_CONVERT
="$ac_prog"
5850 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5859 CONVERT
=$ac_cv_prog_CONVERT
5860 if test -n "$CONVERT"; then
5861 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CONVERT" >&5
5862 $as_echo "$CONVERT" >&6; }
5864 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5865 $as_echo "no" >&6; }
5869 test -n "$CONVERT" && break
5871 test -n "$CONVERT" || CONVERT
="false"
5873 for ac_prog
in icotool
5875 # Extract the first word of "$ac_prog", so it can be a program name with args.
5876 set dummy
$ac_prog; ac_word
=$2
5877 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5878 $as_echo_n "checking for $ac_word... " >&6; }
5879 if ${ac_cv_prog_ICOTOOL+:} false
; then :
5880 $as_echo_n "(cached) " >&6
5882 if test -n "$ICOTOOL"; then
5883 ac_cv_prog_ICOTOOL
="$ICOTOOL" # Let the user override the test.
5885 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5889 test -z "$as_dir" && as_dir
=.
5890 for ac_exec_ext
in '' $ac_executable_extensions; do
5891 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
5892 ac_cv_prog_ICOTOOL
="$ac_prog"
5893 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5902 ICOTOOL
=$ac_cv_prog_ICOTOOL
5903 if test -n "$ICOTOOL"; then
5904 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ICOTOOL" >&5
5905 $as_echo "$ICOTOOL" >&6; }
5907 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5908 $as_echo "no" >&6; }
5912 test -n "$ICOTOOL" && break
5914 test -n "$ICOTOOL" || ICOTOOL
="false"
5916 test "$FONTFORGE" != "false" || as_fn_error $?
"You need fontforge to rebuild fonts in maintainer mode." "$LINENO" 5
5917 test "$RSVG" != "false" || as_fn_error $?
"You need rsvg to rebuild icons in maintainer mode." "$LINENO" 5
5919 if test "$CONVERT" = false
5921 as_fn_error $?
"You need imagemagick to rebuild icons in maintainer mode." "$LINENO" 5
5923 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for recent enough imagemagick" >&5
5924 $as_echo_n "checking for recent enough imagemagick... " >&6; }
5925 convert_version
=`convert --version | head -n1`
5926 if test "x$convert_version" != "x"
5928 convert_version_major
=`expr "$convert_version" : '.* \([0-9]*\)\.[0-9]*'`
5929 convert_version_minor
=`expr "$convert_version" : '.* [0-9]*\.\([0-9]*\)'`
5930 if test "$convert_version_major" -eq 6 -a "$convert_version_minor" -lt 6
5935 if test "$CONVERT" = false
5937 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no ($convert_version_major.$convert_version_minor)" >&5
5938 $as_echo "no ($convert_version_major.$convert_version_minor)" >&6; }
5939 as_fn_error $?
"You need imagemagick version 6.6 or newer to rebuild icons in maintainer mode." "$LINENO" 5
5941 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes ($convert_version_major.$convert_version_minor)" >&5
5942 $as_echo "yes ($convert_version_major.$convert_version_minor)" >&6; }
5946 if test "$ICOTOOL" = false
5948 as_fn_error $?
"You need icotool to rebuild icons in maintainer mode." "$LINENO" 5
5950 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for recent enough icotool" >&5
5951 $as_echo_n "checking for recent enough icotool... " >&6; }
5952 icotool_version
=`icotool --version | head -n1`
5953 if test "x$icotool_version" != "x"
5955 icotool_version_major
=`expr "$icotool_version" : '.* \([0-9]*\)\.[0-9]*'`
5956 icotool_version_minor
=`expr "$icotool_version" : '.* [0-9]*\.\([0-9]*\)'`
5957 if test "$icotool_version_major" -eq 0 -a "$icotool_version_minor" -lt 29
5960 as_fn_append wine_warnings
"|icotool version 0.29.0 or newer is needed to rebuild icons."
5963 if test "$ICOTOOL" = false
5965 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no ($icotool_version_major.$icotool_version_minor)" >&5
5966 $as_echo "no ($icotool_version_major.$icotool_version_minor)" >&6; }
5967 as_fn_error $?
"You need icotool version 0.29.0 or newer to rebuild icons in maintainer mode." "$LINENO" 5
5969 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes ($icotool_version_major.$icotool_version_minor)" >&5
5970 $as_echo "yes ($icotool_version_major.$icotool_version_minor)" >&6; }
5976 { ac_cv_header_gettext_po_h
=; unset ac_cv_header_gettext_po_h
;}
5979 test "x$with_gettext" != xno || MSGFMT
=false
5980 if test "$MSGFMT" != "false"
5982 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether msgfmt supports contexts" >&5
5983 $as_echo_n "checking whether msgfmt supports contexts... " >&6; }
5984 cat >conftest.po
<<EOF
5990 if $MSGFMT -o /dev
/null conftest.po
2>&5
5992 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5993 $as_echo "yes" >&6; }
5995 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5996 $as_echo "no" >&6; }
6000 if test "$MSGFMT" = false
; then :
6001 case "x$with_gettext" in
6002 x
) as_fn_append wine_warnings
"|gettext tools not found (or too old), translations won't be built." ;;
6004 *) as_fn_error $?
"gettext tools not found (or too old), translations won't be built.
6005 This is an error since --with-gettext was requested." "$LINENO" 5 ;;
6010 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for i386_set_ldt in -li386" >&5
6011 $as_echo_n "checking for i386_set_ldt in -li386... " >&6; }
6012 if ${ac_cv_lib_i386_i386_set_ldt+:} false
; then :
6013 $as_echo_n "(cached) " >&6
6015 ac_check_lib_save_LIBS
=$LIBS
6017 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6018 /* end confdefs.h. */
6020 /* Override any GCC internal prototype to avoid an error.
6021 Use char because int might match the return type of a GCC
6022 builtin and then its argument prototype would still apply. */
6026 char i386_set_ldt ();
6030 return i386_set_ldt ();
6035 if ac_fn_c_try_link
"$LINENO"; then :
6036 ac_cv_lib_i386_i386_set_ldt
=yes
6038 ac_cv_lib_i386_i386_set_ldt
=no
6040 rm -f core conftest.err conftest.
$ac_objext \
6041 conftest
$ac_exeext conftest.
$ac_ext
6042 LIBS
=$ac_check_lib_save_LIBS
6044 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_i386_i386_set_ldt" >&5
6045 $as_echo "$ac_cv_lib_i386_i386_set_ldt" >&6; }
6046 if test "x$ac_cv_lib_i386_i386_set_ldt" = xyes
; then :
6047 cat >>confdefs.h
<<_ACEOF
6048 #define HAVE_LIBI386 1
6055 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _oss_ioctl in -lossaudio" >&5
6056 $as_echo_n "checking for _oss_ioctl in -lossaudio... " >&6; }
6057 if ${ac_cv_lib_ossaudio__oss_ioctl+:} false
; then :
6058 $as_echo_n "(cached) " >&6
6060 ac_check_lib_save_LIBS
=$LIBS
6061 LIBS
="-lossaudio $LIBS"
6062 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6063 /* end confdefs.h. */
6065 /* Override any GCC internal prototype to avoid an error.
6066 Use char because int might match the return type of a GCC
6067 builtin and then its argument prototype would still apply. */
6075 return _oss_ioctl ();
6080 if ac_fn_c_try_link
"$LINENO"; then :
6081 ac_cv_lib_ossaudio__oss_ioctl
=yes
6083 ac_cv_lib_ossaudio__oss_ioctl
=no
6085 rm -f core conftest.err conftest.
$ac_objext \
6086 conftest
$ac_exeext conftest.
$ac_ext
6087 LIBS
=$ac_check_lib_save_LIBS
6089 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ossaudio__oss_ioctl" >&5
6090 $as_echo "$ac_cv_lib_ossaudio__oss_ioctl" >&6; }
6091 if test "x$ac_cv_lib_ossaudio__oss_ioctl" = xyes
; then :
6092 cat >>confdefs.h
<<_ACEOF
6093 #define HAVE_LIBOSSAUDIO 1
6096 LIBS
="-lossaudio $LIBS"
6105 # Check whether --enable-largefile was given.
6106 if test "${enable_largefile+set}" = set; then :
6107 enableval
=$enable_largefile;
6110 if test "$enable_largefile" != no
; then
6112 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for special C compiler options needed for large files" >&5
6113 $as_echo_n "checking for special C compiler options needed for large files... " >&6; }
6114 if ${ac_cv_sys_largefile_CC+:} false
; then :
6115 $as_echo_n "(cached) " >&6
6117 ac_cv_sys_largefile_CC
=no
6118 if test "$GCC" != yes; then
6121 # IRIX 6.2 and later do not support large files by default,
6122 # so use the C compiler's -n32 option if that helps.
6123 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6124 /* end confdefs.h. */
6125 #include <sys/types.h>
6126 /* Check that off_t can represent 2**63 - 1 correctly.
6127 We can't simply define LARGE_OFF_T to be 9223372036854775807,
6128 since some C++ compilers masquerading as C compilers
6129 incorrectly reject 9223372036854775807. */
6130 #define LARGE_OFF_T ((((off_t) 1 << 31) << 31) - 1 + (((off_t) 1 << 31) << 31))
6131 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
6132 && LARGE_OFF_T % 2147483647 == 1)
6142 if ac_fn_c_try_compile
"$LINENO"; then :
6145 rm -f core conftest.err conftest.
$ac_objext
6147 if ac_fn_c_try_compile
"$LINENO"; then :
6148 ac_cv_sys_largefile_CC
=' -n32'; break
6150 rm -f core conftest.err conftest.
$ac_objext
6154 rm -f conftest.
$ac_ext
6157 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_largefile_CC" >&5
6158 $as_echo "$ac_cv_sys_largefile_CC" >&6; }
6159 if test "$ac_cv_sys_largefile_CC" != no
; then
6160 CC
=$CC$ac_cv_sys_largefile_CC
6163 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _FILE_OFFSET_BITS value needed for large files" >&5
6164 $as_echo_n "checking for _FILE_OFFSET_BITS value needed for large files... " >&6; }
6165 if ${ac_cv_sys_file_offset_bits+:} false
; then :
6166 $as_echo_n "(cached) " >&6
6169 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6170 /* end confdefs.h. */
6171 #include <sys/types.h>
6172 /* Check that off_t can represent 2**63 - 1 correctly.
6173 We can't simply define LARGE_OFF_T to be 9223372036854775807,
6174 since some C++ compilers masquerading as C compilers
6175 incorrectly reject 9223372036854775807. */
6176 #define LARGE_OFF_T ((((off_t) 1 << 31) << 31) - 1 + (((off_t) 1 << 31) << 31))
6177 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
6178 && LARGE_OFF_T % 2147483647 == 1)
6188 if ac_fn_c_try_compile
"$LINENO"; then :
6189 ac_cv_sys_file_offset_bits
=no
; break
6191 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
6192 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6193 /* end confdefs.h. */
6194 #define _FILE_OFFSET_BITS 64
6195 #include <sys/types.h>
6196 /* Check that off_t can represent 2**63 - 1 correctly.
6197 We can't simply define LARGE_OFF_T to be 9223372036854775807,
6198 since some C++ compilers masquerading as C compilers
6199 incorrectly reject 9223372036854775807. */
6200 #define LARGE_OFF_T ((((off_t) 1 << 31) << 31) - 1 + (((off_t) 1 << 31) << 31))
6201 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
6202 && LARGE_OFF_T % 2147483647 == 1)
6212 if ac_fn_c_try_compile
"$LINENO"; then :
6213 ac_cv_sys_file_offset_bits
=64; break
6215 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
6216 ac_cv_sys_file_offset_bits
=unknown
6220 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_file_offset_bits" >&5
6221 $as_echo "$ac_cv_sys_file_offset_bits" >&6; }
6222 case $ac_cv_sys_file_offset_bits in #(
6225 cat >>confdefs.h
<<_ACEOF
6226 #define _FILE_OFFSET_BITS $ac_cv_sys_file_offset_bits
6231 if test $ac_cv_sys_file_offset_bits = unknown
; then
6232 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _LARGE_FILES value needed for large files" >&5
6233 $as_echo_n "checking for _LARGE_FILES value needed for large files... " >&6; }
6234 if ${ac_cv_sys_large_files+:} false
; then :
6235 $as_echo_n "(cached) " >&6
6238 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6239 /* end confdefs.h. */
6240 #include <sys/types.h>
6241 /* Check that off_t can represent 2**63 - 1 correctly.
6242 We can't simply define LARGE_OFF_T to be 9223372036854775807,
6243 since some C++ compilers masquerading as C compilers
6244 incorrectly reject 9223372036854775807. */
6245 #define LARGE_OFF_T ((((off_t) 1 << 31) << 31) - 1 + (((off_t) 1 << 31) << 31))
6246 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
6247 && LARGE_OFF_T % 2147483647 == 1)
6257 if ac_fn_c_try_compile
"$LINENO"; then :
6258 ac_cv_sys_large_files
=no
; break
6260 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
6261 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6262 /* end confdefs.h. */
6263 #define _LARGE_FILES 1
6264 #include <sys/types.h>
6265 /* Check that off_t can represent 2**63 - 1 correctly.
6266 We can't simply define LARGE_OFF_T to be 9223372036854775807,
6267 since some C++ compilers masquerading as C compilers
6268 incorrectly reject 9223372036854775807. */
6269 #define LARGE_OFF_T ((((off_t) 1 << 31) << 31) - 1 + (((off_t) 1 << 31) << 31))
6270 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
6271 && LARGE_OFF_T % 2147483647 == 1)
6281 if ac_fn_c_try_compile
"$LINENO"; then :
6282 ac_cv_sys_large_files
=1; break
6284 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
6285 ac_cv_sys_large_files
=unknown
6289 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_large_files" >&5
6290 $as_echo "$ac_cv_sys_large_files" >&6; }
6291 case $ac_cv_sys_large_files in #(
6294 cat >>confdefs.h
<<_ACEOF
6295 #define _LARGE_FILES $ac_cv_sys_large_files
6307 ac_cpp
='$CPP $CPPFLAGS'
6308 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6309 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6310 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
6311 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
6312 $as_echo_n "checking how to run the C preprocessor... " >&6; }
6313 # On Suns, sometimes $CPP names a directory.
6314 if test -n "$CPP" && test -d "$CPP"; then
6317 if test -z "$CPP"; then
6318 if ${ac_cv_prog_CPP+:} false
; then :
6319 $as_echo_n "(cached) " >&6
6321 # Double quotes because CPP needs to be expanded
6322 for CPP
in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
6325 for ac_c_preproc_warn_flag
in '' yes
6327 # Use a header file that comes with gcc, so configuring glibc
6328 # with a fresh cross-compiler works.
6329 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
6330 # <limits.h> exists even on freestanding compilers.
6331 # On the NeXT, cc -E runs the code through the compiler's parser,
6332 # not just through cpp. "Syntax error" is here to catch this case.
6333 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6334 /* end confdefs.h. */
6336 # include <limits.h>
6338 # include <assert.h>
6342 if ac_fn_c_try_cpp
"$LINENO"; then :
6345 # Broken: fails on valid input.
6348 rm -f conftest.err conftest.i conftest.
$ac_ext
6350 # OK, works on sane cases. Now check whether nonexistent headers
6351 # can be detected and how.
6352 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6353 /* end confdefs.h. */
6354 #include <ac_nonexistent.h>
6356 if ac_fn_c_try_cpp
"$LINENO"; then :
6357 # Broken: success on invalid input.
6360 # Passes both tests.
6364 rm -f conftest.err conftest.i conftest.
$ac_ext
6367 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
6368 rm -f conftest.i conftest.err conftest.
$ac_ext
6369 if $ac_preproc_ok; then :
6381 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
6382 $as_echo "$CPP" >&6; }
6384 for ac_c_preproc_warn_flag
in '' yes
6386 # Use a header file that comes with gcc, so configuring glibc
6387 # with a fresh cross-compiler works.
6388 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
6389 # <limits.h> exists even on freestanding compilers.
6390 # On the NeXT, cc -E runs the code through the compiler's parser,
6391 # not just through cpp. "Syntax error" is here to catch this case.
6392 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6393 /* end confdefs.h. */
6395 # include <limits.h>
6397 # include <assert.h>
6401 if ac_fn_c_try_cpp
"$LINENO"; then :
6404 # Broken: fails on valid input.
6407 rm -f conftest.err conftest.i conftest.
$ac_ext
6409 # OK, works on sane cases. Now check whether nonexistent headers
6410 # can be detected and how.
6411 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6412 /* end confdefs.h. */
6413 #include <ac_nonexistent.h>
6415 if ac_fn_c_try_cpp
"$LINENO"; then :
6416 # Broken: success on invalid input.
6419 # Passes both tests.
6423 rm -f conftest.err conftest.i conftest.
$ac_ext
6426 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
6427 rm -f conftest.i conftest.err conftest.
$ac_ext
6428 if $ac_preproc_ok; then :
6431 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
6432 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
6433 as_fn_error $?
"C preprocessor \"$CPP\" fails sanity check
6434 See \`config.log' for more details" "$LINENO" 5; }
6438 ac_cpp
='$CPP $CPPFLAGS'
6439 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6440 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6441 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
6444 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
6445 $as_echo_n "checking for ANSI C header files... " >&6; }
6446 if ${ac_cv_header_stdc+:} false
; then :
6447 $as_echo_n "(cached) " >&6
6449 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6450 /* end confdefs.h. */
6464 if ac_fn_c_try_compile
"$LINENO"; then :
6465 ac_cv_header_stdc
=yes
6467 ac_cv_header_stdc
=no
6469 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
6471 if test $ac_cv_header_stdc = yes; then
6472 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
6473 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6474 /* end confdefs.h. */
6478 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
6479 $EGREP "memchr" >/dev
/null
2>&1; then :
6482 ac_cv_header_stdc
=no
6488 if test $ac_cv_header_stdc = yes; then
6489 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
6490 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6491 /* end confdefs.h. */
6495 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
6496 $EGREP "free" >/dev
/null
2>&1; then :
6499 ac_cv_header_stdc
=no
6505 if test $ac_cv_header_stdc = yes; then
6506 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
6507 if test "$cross_compiling" = yes; then :
6510 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6511 /* end confdefs.h. */
6514 #if ((' ' & 0x0FF) == 0x020)
6515 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
6516 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
6518 # define ISLOWER(c) \
6519 (('a' <= (c) && (c) <= 'i') \
6520 || ('j' <= (c) && (c) <= 'r') \
6521 || ('s' <= (c) && (c) <= 'z'))
6522 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
6525 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
6530 for (i = 0; i < 256; i++)
6531 if (XOR (islower (i), ISLOWER (i))
6532 || toupper (i) != TOUPPER (i))
6537 if ac_fn_c_try_run
"$LINENO"; then :
6540 ac_cv_header_stdc
=no
6542 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext \
6543 conftest.
$ac_objext conftest.beam conftest.
$ac_ext
6548 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
6549 $as_echo "$ac_cv_header_stdc" >&6; }
6550 if test $ac_cv_header_stdc = yes; then
6552 $as_echo "#define STDC_HEADERS 1" >>confdefs.h
6556 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
6557 for ac_header
in sys
/types.h sys
/stat.h stdlib.h string.h memory.h
strings.h \
6558 inttypes.h stdint.h unistd.h
6560 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
6561 ac_fn_c_check_header_compile
"$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
6563 if eval test \"x\$
"$as_ac_Header"\" = x
"yes"; then :
6564 cat >>confdefs.h
<<_ACEOF
6565 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
6575 ApplicationServices
/ApplicationServices.h \
6576 AudioToolbox
/AudioConverter.h \
6577 AudioUnit
/AudioUnit.h \
6578 AudioUnit
/AudioComponent.h \
6581 CoreAudio
/CoreAudio.h \
6582 CoreServices
/CoreServices.h \
6583 DiskArbitration
/DiskArbitration.h \
6585 IOKit
/hid
/IOHIDLib.h \
6588 QuickTime
/ImageCompression.h \
6589 Security
/Security.h \
6640 netinet
/in_systm.h \
6702 valgrind
/memcheck.h \
6703 valgrind
/valgrind.h \
6707 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
6708 ac_fn_c_check_header_mongrel
"$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
6709 if eval test \"x\$
"$as_ac_Header"\" = x
"yes"; then :
6710 cat >>confdefs.h
<<_ACEOF
6711 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
6718 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether stat file-mode macros are broken" >&5
6719 $as_echo_n "checking whether stat file-mode macros are broken... " >&6; }
6720 if ${ac_cv_header_stat_broken+:} false
; then :
6721 $as_echo_n "(cached) " >&6
6723 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6724 /* end confdefs.h. */
6725 #include <sys/types.h>
6726 #include <sys/stat.h>
6728 #if defined S_ISBLK && defined S_IFDIR
6729 extern char c1[S_ISBLK (S_IFDIR) ? -1 : 1];
6732 #if defined S_ISBLK && defined S_IFCHR
6733 extern char c2[S_ISBLK (S_IFCHR) ? -1 : 1];
6736 #if defined S_ISLNK && defined S_IFREG
6737 extern char c3[S_ISLNK (S_IFREG) ? -1 : 1];
6740 #if defined S_ISSOCK && defined S_IFREG
6741 extern char c4[S_ISSOCK (S_IFREG) ? -1 : 1];
6745 if ac_fn_c_try_compile
"$LINENO"; then :
6746 ac_cv_header_stat_broken
=no
6748 ac_cv_header_stat_broken
=yes
6750 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
6752 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stat_broken" >&5
6753 $as_echo "$ac_cv_header_stat_broken" >&6; }
6754 if test $ac_cv_header_stat_broken = yes; then
6756 $as_echo "#define STAT_MACROS_BROKEN 1" >>confdefs.h
6762 for ac_header
in sys
/mount.h sys
/statfs.h sys
/sysctl.h sys
/user.h sys
/vfs.h
6764 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
6765 ac_fn_c_check_header_compile
"$LINENO" "$ac_header" "$as_ac_Header" "#include <sys/types.h>
6766 #ifdef HAVE_SYS_PARAM_H
6767 # include <sys/param.h>
6770 if eval test \"x\$
"$as_ac_Header"\" = x
"yes"; then :
6771 cat >>confdefs.h
<<_ACEOF
6772 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
6787 netinet
/if_ether.h \
6788 netinet
/if_inarp.h \
6797 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
6798 ac_fn_c_check_header_compile
"$LINENO" "$ac_header" "$as_ac_Header" "#include <sys/types.h>
6799 #ifdef HAVE_SYS_SOCKET_H
6800 # include <sys/socket.h>
6802 #ifdef HAVE_SYS_SOCKETVAR_H
6803 # include <sys/socketvar.h>
6805 #ifdef HAVE_NET_ROUTE_H
6806 # include <net/route.h>
6808 #ifdef HAVE_NETINET_IN_H
6809 # include <netinet/in.h>
6811 #ifdef HAVE_NETINET_IN_SYSTM_H
6812 # include <netinet/in_systm.h>
6814 #ifdef HAVE_NET_IF_H
6815 # include <net/if.h>
6817 #ifdef HAVE_NETINET_IP_H
6818 # include <netinet/ip.h>
6821 if eval test \"x\$
"$as_ac_Header"\" = x
"yes"; then :
6822 cat >>confdefs.h
<<_ACEOF
6823 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
6831 for ac_header
in netinet
/tcp_timer.h netinet
/udp_var.h netinet
/icmp_var.h netinet
/tcp_var.h
6833 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
6834 ac_fn_c_check_header_compile
"$LINENO" "$ac_header" "$as_ac_Header" "#include <sys/types.h>
6838 #ifdef HAVE_SYS_SOCKET_H
6839 # include <sys/socket.h>
6841 #ifdef HAVE_SYS_SOCKETVAR_H
6842 # include <sys/socketvar.h>
6844 #ifdef HAVE_SYS_TIMEOUT_H
6845 # include <sys/timeout.h>
6847 #ifdef HAVE_NETINET_IN_H
6848 # include <netinet/in.h>
6850 #ifdef HAVE_NETINET_IN_SYSTM_H
6851 # include <netinet/in_systm.h>
6853 #ifdef HAVE_NETINET_IP_H
6854 # include <netinet/ip.h>
6856 #ifdef HAVE_NETINET_IP_VAR_H
6857 # include <netinet/ip_var.h>
6859 #ifdef HAVE_NETINET_IP_ICMP_H
6860 # include <netinet/ip_icmp.h>
6862 #ifdef HAVE_NETINET_UDP_H
6863 # include <netinet/udp.h>
6865 #ifdef HAVE_NETINET_TCP_H
6866 # include <netinet/tcp.h>
6868 #ifdef HAVE_NETINET_TCP_TIMER_H
6869 #include <netinet/tcp_timer.h>
6872 if eval test \"x\$
"$as_ac_Header"\" = x
"yes"; then :
6873 cat >>confdefs.h
<<_ACEOF
6874 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
6882 for ac_header
in linux
/ipx.h linux
/irda.h linux
/rtnetlink.h
6884 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
6885 ac_fn_c_check_header_compile
"$LINENO" "$ac_header" "$as_ac_Header" "#include <sys/types.h>
6886 #ifdef HAVE_ASM_TYPES_H
6887 # include <asm/types.h>
6889 #ifdef HAVE_SYS_SOCKET_H
6890 # include <sys/socket.h>
6892 #ifdef HAVE_LINUX_TYPES_H
6893 # include <linux/types.h>
6896 if eval test \"x\$
"$as_ac_Header"\" = x
"yes"; then :
6897 cat >>confdefs.h
<<_ACEOF
6898 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
6906 for ac_header
in mach-o
/dyld_images.h
6908 ac_fn_c_check_header_compile
"$LINENO" "mach-o/dyld_images.h" "ac_cv_header_mach_o_dyld_images_h" "#ifdef HAVE_STDBOOL_H
6909 # include <stdbool.h>
6911 #ifdef HAVE_STDINT_H
6912 # include <stdint.h>
6915 if test "x$ac_cv_header_mach_o_dyld_images_h" = xyes
; then :
6916 cat >>confdefs.h
<<_ACEOF
6917 #define HAVE_MACH_O_DYLD_IMAGES_H 1
6925 for ac_header
in resolv.h
6927 ac_fn_c_check_header_compile
"$LINENO" "resolv.h" "ac_cv_header_resolv_h" "#include <sys/types.h>
6928 #ifdef HAVE_SYS_SOCKET_H
6929 # include <sys/socket.h>
6931 #ifdef HAVE_NETINET_IN_H
6932 # include <netinet/in.h>
6934 #ifdef HAVE_ARPA_NAMESER_H
6935 # include <arpa/nameser.h>
6938 if test "x$ac_cv_header_resolv_h" = xyes
; then :
6939 cat >>confdefs.h
<<_ACEOF
6940 #define HAVE_RESOLV_H 1
6948 for ac_header
in ifaddrs.h
6950 ac_fn_c_check_header_compile
"$LINENO" "ifaddrs.h" "ac_cv_header_ifaddrs_h" "#include <sys/types.h>
6952 if test "x$ac_cv_header_ifaddrs_h" = xyes
; then :
6953 cat >>confdefs.h
<<_ACEOF
6954 #define HAVE_IFADDRS_H 1
6962 for ac_header
in sys
/ucontext.h
6964 ac_fn_c_check_header_compile
"$LINENO" "sys/ucontext.h" "ac_cv_header_sys_ucontext_h" "#include <signal.h>
6966 if test "x$ac_cv_header_sys_ucontext_h" = xyes
; then :
6967 cat >>confdefs.h
<<_ACEOF
6968 #define HAVE_SYS_UCONTEXT_H 1
6976 for ac_header
in sys
/thr.h
6978 ac_fn_c_check_header_compile
"$LINENO" "sys/thr.h" "ac_cv_header_sys_thr_h" "#include <sys/types.h>
6979 #ifdef HAVE_SYS_UCONTEXT_H
6980 #include <sys/ucontext.h>
6983 if test "x$ac_cv_header_sys_thr_h" = xyes
; then :
6984 cat >>confdefs.h
<<_ACEOF
6985 #define HAVE_SYS_THR_H 1
6993 for ac_header
in pthread_np.h
6995 ac_fn_c_check_header_compile
"$LINENO" "pthread_np.h" "ac_cv_header_pthread_np_h" "#ifdef HAVE_PTHREAD_H
6996 #include <pthread.h>
6999 if test "x$ac_cv_header_pthread_np_h" = xyes
; then :
7000 cat >>confdefs.h
<<_ACEOF
7001 #define HAVE_PTHREAD_NP_H 1
7009 for ac_header
in linux
/videodev.h linux
/videodev2.h libv4l1.h
7011 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
7012 ac_fn_c_check_header_compile
"$LINENO" "$ac_header" "$as_ac_Header" "#ifdef HAVE_SYS_TIME_H
7013 #include <sys/time.h>
7015 #include <sys/types.h>
7016 #ifdef HAVE_ASM_TYPES_H
7017 #include <asm/types.h>
7020 if eval test \"x\$
"$as_ac_Header"\" = x
"yes"; then :
7021 cat >>confdefs.h
<<_ACEOF
7022 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
7030 for ac_header
in libprocstat.h
7032 ac_fn_c_check_header_compile
"$LINENO" "libprocstat.h" "ac_cv_header_libprocstat_h" "#ifdef HAVE_SYS_PARAM_H
7033 #include <sys/param.h>
7035 #ifdef HAVE_SYS_QUEUE_H
7036 #include <sys/queue.h>
7038 #ifdef HAVE_SYS_SOCKET_H
7039 #include <sys/socket.h>
7042 if test "x$ac_cv_header_libprocstat_h" = xyes
; then :
7043 cat >>confdefs.h
<<_ACEOF
7044 #define HAVE_LIBPROCSTAT_H 1
7053 dlldir
="\${libdir}/wine"
7057 DLLFLAGS
="-D_REENTRANT"
7066 STATIC_IMPLIBEXT
="def.a"
7067 # Extract the first word of "ldd", so it can be a program name with args.
7068 set dummy ldd
; ac_word
=$2
7069 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7070 $as_echo_n "checking for $ac_word... " >&6; }
7071 if ${ac_cv_path_LDD+:} false
; then :
7072 $as_echo_n "(cached) " >&6
7076 ac_cv_path_LDD
="$LDD" # Let the user override the test with a path.
7079 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7080 as_dummy
="/sbin:/usr/sbin:$PATH"
7081 for as_dir
in $as_dummy
7084 test -z "$as_dir" && as_dir
=.
7085 for ac_exec_ext
in '' $ac_executable_extensions; do
7086 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
7087 ac_cv_path_LDD
="$as_dir/$ac_word$ac_exec_ext"
7088 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7095 test -z "$ac_cv_path_LDD" && ac_cv_path_LDD
="true"
7100 if test -n "$LDD"; then
7101 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LDD" >&5
7102 $as_echo "$LDD" >&6; }
7104 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7105 $as_echo "no" >&6; }
7109 if test -n "$ac_tool_prefix"; then
7110 # Extract the first word of "${ac_tool_prefix}readelf", so it can be a program name with args.
7111 set dummy
${ac_tool_prefix}readelf
; ac_word
=$2
7112 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7113 $as_echo_n "checking for $ac_word... " >&6; }
7114 if ${ac_cv_prog_READELF+:} false
; then :
7115 $as_echo_n "(cached) " >&6
7117 if test -n "$READELF"; then
7118 ac_cv_prog_READELF
="$READELF" # Let the user override the test.
7120 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7124 test -z "$as_dir" && as_dir
=.
7125 for ac_exec_ext
in '' $ac_executable_extensions; do
7126 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
7127 ac_cv_prog_READELF
="${ac_tool_prefix}readelf"
7128 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7137 READELF
=$ac_cv_prog_READELF
7138 if test -n "$READELF"; then
7139 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $READELF" >&5
7140 $as_echo "$READELF" >&6; }
7142 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7143 $as_echo "no" >&6; }
7148 if test -z "$ac_cv_prog_READELF"; then
7149 ac_ct_READELF
=$READELF
7150 # Extract the first word of "readelf", so it can be a program name with args.
7151 set dummy readelf
; ac_word
=$2
7152 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7153 $as_echo_n "checking for $ac_word... " >&6; }
7154 if ${ac_cv_prog_ac_ct_READELF+:} false
; then :
7155 $as_echo_n "(cached) " >&6
7157 if test -n "$ac_ct_READELF"; then
7158 ac_cv_prog_ac_ct_READELF
="$ac_ct_READELF" # Let the user override the test.
7160 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7164 test -z "$as_dir" && as_dir
=.
7165 for ac_exec_ext
in '' $ac_executable_extensions; do
7166 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
7167 ac_cv_prog_ac_ct_READELF
="readelf"
7168 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7177 ac_ct_READELF
=$ac_cv_prog_ac_ct_READELF
7178 if test -n "$ac_ct_READELF"; then
7179 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_READELF" >&5
7180 $as_echo "$ac_ct_READELF" >&6; }
7182 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7183 $as_echo "no" >&6; }
7186 if test "x$ac_ct_READELF" = x
; then
7189 case $cross_compiling:$ac_tool_warned in
7191 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7192 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7193 ac_tool_warned
=yes ;;
7195 READELF
=$ac_ct_READELF
7198 READELF
="$ac_cv_prog_READELF"
7201 wine_rules_file
=conf$
$rules.
make
7202 rm -f $wine_rules_file
7204 GITIGNORE
="# Automatically generated by configure; DO NOT EDIT!!"
7205 ALL_TEST_RESOURCES
=""
7208 wine_fn_append_file
()
7210 as_fn_append
$1 " \\$as_nl $2"
7213 wine_fn_ignore_file
()
7216 */*) as_fn_append GITIGNORE
"$as_nl$1" ;;
7217 \
**) as_fn_append GITIGNORE
"$as_nl$1" ;;
7218 *) as_fn_append GITIGNORE
"$as_nl/$1" ;;
7222 wine_fn_append_rule
()
7224 $as_echo "$1" >>$wine_rules_file
7229 expr ",$ac_flags," : ".*,$1,.*" >/dev
/null
7232 wine_fn_depend_rules
()
7234 wine_fn_append_rule \
7235 "$ac_dir/Makefile: $srcdir/$ac_dir/Makefile.in $srcdir/Make.vars.in config.status \$(MAKEDEP)
7236 @./config.status --file $ac_dir/Makefile:Make.vars.in:$ac_dir/Makefile.in && \$(MAKEDEP) $ac_dir
7237 depend: $ac_dir/depend
7238 .PHONY: $ac_dir/depend
7239 $ac_dir/depend: \$(MAKEDEP) dummy
7240 @./config.status --file $ac_dir/Makefile:Make.vars.in:$ac_dir/Makefile.in && \$(MAKEDEP) $ac_dir"
7243 wine_fn_pot_rules
()
7245 test "x$with_gettextpo" = xyes ||
return
7247 if wine_fn_has_flag mc
7249 wine_fn_append_file ALL_POT_FILES
$ac_dir/msg.pot
7250 wine_fn_append_rule \
7251 "$ac_dir/msg.pot: $ac_dir/Makefile dummy
7252 @cd $ac_dir && \$(MAKE) msg.pot
7253 $ac_dir/msg.pot: tools/wmc include"
7255 if wine_fn_has_flag po
7257 wine_fn_append_file ALL_POT_FILES
$ac_dir/rsrc.pot
7258 wine_fn_append_rule \
7259 "$ac_dir/rsrc.pot: $ac_dir/Makefile dummy
7260 @cd $ac_dir && \$(MAKE) rsrc.pot
7261 $ac_dir/rsrc.pot: tools/wrc include"
7265 wine_fn_all_rules
()
7267 wine_fn_depend_rules
7268 wine_fn_append_rule \
7271 $ac_dir: $ac_dir/Makefile dummy
7272 @cd $ac_dir && \$(MAKE)"
7275 wine_fn_install_rules
()
7277 wine_fn_has_flag install-lib || wine_fn_has_flag install-dev ||
return
7279 wine_fn_append_rule \
7280 ".PHONY: $ac_dir/install $ac_dir/uninstall
7281 $ac_dir/install:: $ac_dir
7282 @cd $ac_dir && \$(MAKE) install
7283 $ac_dir/uninstall:: $ac_dir/Makefile
7284 @cd $ac_dir && \$(MAKE) uninstall
7285 install:: $ac_dir/install
7286 __uninstall__: $ac_dir/uninstall"
7288 if wine_fn_has_flag install-lib
7290 wine_fn_append_rule \
7291 ".PHONY: $ac_dir/install-lib
7292 $ac_dir/install-lib:: $ac_dir
7293 @cd $ac_dir && \$(MAKE) install-lib
7294 install-lib:: $ac_dir/install-lib"
7297 if wine_fn_has_flag install-dev
7299 wine_fn_append_rule \
7300 ".PHONY: $ac_dir/install-dev
7301 $ac_dir/install-dev:: $ac_dir
7302 @cd $ac_dir && \$(MAKE) install-dev
7303 install-dev:: $ac_dir/install-dev"
7307 wine_fn_clean_rules
()
7310 ac_extraclean
="$ac_dir/Makefile"
7311 test "$srcdir" = .
&& ac_extraclean
="$ac_extraclean $ac_dir/.gitignore"
7313 */tests
) ac_extraclean
="$ac_extraclean $ac_dir/testlist.c" ;;
7316 if wine_fn_has_flag clean
7318 wine_fn_append_rule \
7319 "__clean__: $ac_dir/clean
7320 .PHONY: $ac_dir/clean
7321 $ac_dir/clean: $ac_dir/Makefile
7322 @cd $ac_dir && \$(MAKE) clean
7323 \$(RM) $ac_extraclean"
7325 wine_fn_append_rule \
7326 "__clean__: $ac_dir/clean
7327 .PHONY: $ac_dir/clean
7328 $ac_dir/clean: dummy
7329 \$(RM) \$(CLEAN_FILES:%=$ac_dir/%) $ac_clean $ac_extraclean"
7333 wine_fn_disabled_rules
()
7336 ac_extraclean
="$ac_dir/Makefile"
7337 test "$srcdir" = .
&& ac_extraclean
="$ac_extraclean $ac_dir/.gitignore"
7339 wine_fn_append_rule \
7340 "__clean__: $ac_dir/clean
7341 .PHONY: $ac_dir/clean
7342 $ac_dir/clean: dummy
7343 \$(RM) \$(CLEAN_FILES:%=$ac_dir/%) $ac_clean $ac_extraclean"
7346 wine_fn_config_makefile
()
7352 if eval test \"x\$
"$ac_enable"\" = x
"no"; then :
7353 wine_fn_disabled_rules
; return
7356 wine_fn_install_rules
7360 wine_fn_config_lib
()
7364 ac_dir
=dlls
/$ac_name
7367 if test "x$enable_tools" = xno
; then :
7370 ac_deps
="tools/widl tools/winebuild tools/winegcc $ac_deps"
7375 wine_fn_append_rule \
7376 ".PHONY: $ac_dir/install $ac_dir/uninstall
7377 $ac_dir/install:: $ac_dir
7378 \$(INSTALL_DATA) $ac_dir/lib$ac_name.a \$(DESTDIR)\$(dlldir)/lib$ac_name.a
7380 \$(RM) \$(DESTDIR)\$(dlldir)/lib$ac_name.a
7381 install install-dev:: $ac_dir/install
7382 __uninstall__: $ac_dir/uninstall
7383 __builddeps__: $ac_dir
7387 wine_fn_config_dll
()
7390 ac_dir
=dlls
/$ac_name
7393 ac_implib
=${4:-$ac_name}
7394 ac_file
=$ac_dir/lib
$ac_implib
7399 if test "x$enable_tools" = xno
; then :
7402 ac_deps
="tools/widl tools/winebuild tools/winegcc $ac_deps"
7405 *16) ac_implibflags
=" -m16" ;;
7407 *) ac_dll
=$ac_dll.dll
;;
7411 wine_fn_has_flag implib
&& ac_clean
="$ac_clean $ac_file.$IMPLIBEXT"
7412 wine_fn_has_flag mc
&& ac_clean
="$ac_clean $ac_dir/msg.pot"
7413 wine_fn_has_flag po
&& ac_clean
="$ac_clean $ac_dir/rsrc.pot"
7414 test -n "$DLLEXT" || ac_clean
="$ac_clean $ac_dir/$ac_dll"
7416 if eval test \"x\$
"$ac_enable"\" = x
"no"; then :
7417 if wine_fn_has_flag implib
&& test "$ac_enable" != enable_win16
7419 wine_fn_depend_rules
7420 wine_fn_clean_rules
$ac_clean
7422 wine_fn_disabled_rules
$ac_clean
7427 wine_fn_clean_rules
$ac_clean
7428 wine_fn_append_rule \
7429 "$ac_dir: __builddeps__
7430 manpages htmlpages sgmlpages xmlpages:: $ac_dir/Makefile
7431 @cd $ac_dir && \$(MAKE) \$@
7432 .PHONY: $ac_dir/install-lib $ac_dir/uninstall
7433 install install-lib:: $ac_dir/install-lib
7434 __uninstall__: $ac_dir/uninstall"
7435 if test -n "$DLLEXT"
7437 wine_fn_append_rule \
7438 "$ac_dir/install-lib:: $ac_dir
7439 \$(INSTALL_PROGRAM) $ac_dir/$ac_dll$DLLEXT \$(DESTDIR)\$(dlldir)/$DLLPREFIX$ac_dll$DLLEXT
7440 \$(INSTALL_DATA) $ac_dir/$ac_dll.fake \$(DESTDIR)\$(fakedlldir)/$ac_dll
7442 \$(RM) \$(DESTDIR)\$(dlldir)/$DLLPREFIX$ac_dll$DLLEXT \$(DESTDIR)\$(fakedlldir)/$ac_dll"
7444 wine_fn_append_rule \
7445 "$ac_dir/install-lib:: $ac_dir
7446 \$(INSTALL_PROGRAM) $ac_dir/$ac_dll \$(DESTDIR)\$(dlldir)/$ac_dll
7448 \$(RM) \$(DESTDIR)\$(dlldir)/$ac_dll"
7454 if wine_fn_has_flag staticimplib
7456 wine_fn_append_rule \
7457 "__builddeps__: $ac_file.$IMPLIBEXT $ac_file.$STATIC_IMPLIBEXT
7458 $ac_file.$IMPLIBEXT $ac_file.$STATIC_IMPLIBEXT $ac_file.cross.a: $ac_deps
7459 $ac_file.def: $srcdir/$ac_dir/$ac_name.spec $ac_dir/Makefile \$(WINEBUILD)
7460 \$(WINEBUILD) \$(TARGETFLAGS)$ac_implibflags -w --def -o \$@ --export $srcdir/$ac_dir/$ac_name.spec
7461 $ac_file.$STATIC_IMPLIBEXT: $ac_dir/Makefile dummy
7462 @cd $ac_dir && \$(MAKE) lib$ac_implib.$STATIC_IMPLIBEXT
7463 .PHONY: $ac_dir/install-dev $ac_dir/uninstall
7464 $ac_dir/install-dev:: $ac_file.$IMPLIBEXT
7465 \$(INSTALL_DATA) $ac_file.$IMPLIBEXT \$(DESTDIR)\$(dlldir)/lib$ac_implib.$IMPLIBEXT
7467 \$(RM) \$(DESTDIR)\$(dlldir)/lib$ac_implib.$IMPLIBEXT
7468 install install-dev:: $ac_dir/install-dev
7469 __uninstall__: $ac_dir/uninstall"
7471 if test "$IMPLIBEXT" != "$STATIC_IMPLIBEXT"
7473 wine_fn_append_rule \
7474 "$ac_dir/install-dev:: $ac_file.$STATIC_IMPLIBEXT __builddeps__
7475 \$(INSTALL_DATA) $ac_file.$STATIC_IMPLIBEXT \$(DESTDIR)\$(dlldir)/lib$ac_implib.$STATIC_IMPLIBEXT
7477 \$(RM) \$(DESTDIR)\$(dlldir)/lib$ac_implib.$STATIC_IMPLIBEXT"
7480 if test -n "$CROSSTARGET" -a -z "$ac_implibflags"
7482 wine_fn_append_rule \
7483 "__builddeps__: $ac_file.cross.a
7484 $ac_file.cross.a: $ac_dir/Makefile dummy
7485 @cd $ac_dir && \$(MAKE) lib$ac_implib.cross.a"
7488 elif wine_fn_has_flag implib
7490 wine_fn_append_rule \
7491 "__builddeps__: $ac_file.$IMPLIBEXT
7492 $ac_file.def: $srcdir/$ac_dir/$ac_name.spec $ac_dir/Makefile \$(WINEBUILD)
7493 \$(WINEBUILD) \$(TARGETFLAGS)$ac_implibflags -w --def -o \$@ --export $srcdir/$ac_dir/$ac_name.spec
7494 $ac_file.a: $srcdir/$ac_dir/$ac_name.spec $ac_dir/Makefile \$(WINEBUILD)
7495 \$(WINEBUILD) \$(TARGETFLAGS)$ac_implibflags -w --implib -o \$@ --export $srcdir/$ac_dir/$ac_name.spec
7496 .PHONY: $ac_dir/install-dev $ac_dir/uninstall
7497 $ac_dir/install-dev:: $ac_file.$IMPLIBEXT
7498 \$(INSTALL_DATA) $ac_file.$IMPLIBEXT \$(DESTDIR)\$(dlldir)/lib$ac_implib.$IMPLIBEXT
7500 \$(RM) \$(DESTDIR)\$(dlldir)/lib$ac_implib.$IMPLIBEXT
7501 install install-dev:: $ac_dir/install-dev
7502 __uninstall__: $ac_dir/uninstall"
7503 if test -n "$CROSSTARGET" -a -z "$ac_implibflags"
7505 wine_fn_append_rule \
7506 "__builddeps__: $ac_file.cross.a
7507 $ac_file.cross.a: $srcdir/$ac_dir/$ac_name.spec $ac_dir/Makefile \$(WINEBUILD)
7508 \$(WINEBUILD) \$(CROSSTARGET:%=-b %)$ac_implibflags -w --implib -o \$@ --export $srcdir/$ac_dir/$ac_name.spec"
7511 if test "$ac_name" != "$ac_implib"
7513 wine_fn_append_rule \
7514 "__builddeps__: dlls/lib$ac_implib.$IMPLIBEXT
7515 dlls/lib$ac_implib.$IMPLIBEXT: $ac_file.$IMPLIBEXT
7516 \$(RM) \$@ && \$(LN_S) $ac_name/lib$ac_implib.$IMPLIBEXT \$@
7518 \$(RM) dlls/lib$ac_implib.$IMPLIBEXT"
7519 wine_fn_ignore_file
"dlls/lib$ac_implib.$IMPLIBEXT"
7520 if test -n "$CROSSTARGET" -a -z "$ac_implibflags"
7522 wine_fn_append_rule \
7523 "__builddeps__: dlls/lib$ac_implib.cross.a
7524 dlls/lib$ac_implib.cross.a: $ac_file.cross.a
7525 \$(RM) \$@ && \$(LN_S) $ac_name/lib$ac_implib.cross.a \$@
7527 \$(RM) dlls/lib$ac_implib.cross.a"
7528 wine_fn_ignore_file
"dlls/lib$ac_implib.cross.a"
7534 wine_fn_config_program
()
7537 ac_dir
=programs
/$ac_name
7544 *) ac_program
=$ac_program.exe
;;
7548 wine_fn_has_flag mc
&& ac_clean
="$ac_clean $ac_dir/msg.pot"
7549 wine_fn_has_flag po
&& ac_clean
="$ac_clean $ac_dir/rsrc.pot"
7550 wine_fn_has_flag manpage
&& ac_clean
="$ac_clean $ac_dir/$ac_name.man"
7551 test -n "$DLLEXT" || ac_clean
="$ac_clean $ac_dir/$ac_program"
7553 if eval test \"x\$
"$ac_enable"\" = x
"no"; then :
7554 wine_fn_disabled_rules
$ac_clean; return
7558 wine_fn_clean_rules
$ac_clean
7559 wine_fn_append_rule
"$ac_dir: __builddeps__"
7562 wine_fn_has_flag
install ||
return
7563 wine_fn_append_rule \
7564 ".PHONY: $ac_dir/install $ac_dir/uninstall
7565 install install-lib:: $ac_dir/install
7566 __uninstall__: $ac_dir/uninstall"
7568 if test -n "$DLLEXT"
7570 wine_fn_append_rule \
7571 "$ac_dir/install:: $ac_dir
7572 \$(INSTALL_PROGRAM) $ac_dir/$ac_program$DLLEXT \$(DESTDIR)\$(dlldir)/$DLLPREFIX$ac_program$DLLEXT
7573 \$(INSTALL_DATA) $ac_dir/$ac_program.fake \$(DESTDIR)\$(fakedlldir)/$ac_program
7575 \$(RM) \$(DESTDIR)\$(dlldir)/$DLLPREFIX$ac_program$DLLEXT \$(DESTDIR)\$(fakedlldir)/$ac_program"
7577 if test -z "$with_wine64" && wine_fn_has_flag installbin
7579 wine_fn_append_rule \
7580 "$ac_dir/install:: __tooldeps__
7581 \$(INSTALL_SCRIPT) \$(TOOLSDIR)/tools/wineapploader \$(DESTDIR)\$(bindir)/$ac_name
7583 \$(RM) \$(DESTDIR)\$(bindir)/$ac_name"
7586 wine_fn_append_rule \
7587 "$ac_dir/install:: $ac_dir
7588 \$(INSTALL_PROGRAM) $ac_dir/$ac_program \$(DESTDIR)\$(bindir)/$ac_program
7590 \$(RM) \$(DESTDIR)\$(bindir)/$ac_program"
7593 if test -z "$with_wine64" && wine_fn_has_flag manpage
7595 wine_fn_append_rule \
7596 "$ac_dir/install:: $ac_dir
7597 \$(INSTALL_DATA) $ac_dir/$ac_name.man \$(DESTDIR)\$(mandir)/man\$(prog_manext)/$ac_name.\$(prog_manext)
7599 \$(RM) \$(DESTDIR)\$(mandir)/man\$(prog_manext)/$ac_name.\$(prog_manext)"
7603 wine_fn_config_test
()
7610 test -n "$CROSSTARGET" && ac_clean
=`expr $ac_dir/${ac_name} : "\\(.*\\)_test"`_crosstest.exe
7611 test -n "$DLLEXT" || ac_clean
="$ac_dir/${ac_name}.exe $ac_dir/${ac_name}-stripped.exe"
7613 if test "x$enable_tests" = xno
; then :
7614 wine_fn_disabled_rules
$ac_clean; return
7617 wine_fn_append_file ALL_TEST_RESOURCES
$ac_name.res
7619 wine_fn_clean_rules
$ac_clean
7621 wine_fn_append_rule \
7622 "$ac_dir: programs/winetest/Makefile __builddeps__
7623 programs/winetest: $ac_dir
7624 check test: $ac_dir/test
7625 .PHONY: $ac_dir/test
7627 @cd $ac_dir && \$(MAKE) test
7629 \$(RM) $ac_dir/*.ok"
7631 if test -n "$CROSSTARGET"
7633 wine_fn_append_rule \
7634 "crosstest: $ac_dir/crosstest
7635 .PHONY: $ac_dir/crosstest
7636 $ac_dir/crosstest: $ac_dir/Makefile __builddeps__ dummy
7637 @cd $ac_dir && \$(MAKE) crosstest"
7641 wine_fn_config_tool
()
7645 if test "x$enable_tools" = xno
; then :
7650 wine_fn_install_rules
7653 wine_fn_append_rule
"__tooldeps__: $ac_dir"
7654 wine_fn_append_rule
"$ac_dir: libs/port"
7656 tools
/winebuild
) wine_fn_append_rule
"\$(WINEBUILD): $ac_dir" ;;
7660 wine_fn_config_symlink
()
7663 if test "x$1" = "x-d"
7669 wine_fn_append_rule \
7671 @./config.status \$@
7674 for f
in $ac_links; do wine_fn_ignore_file
$f; done
7675 test -n "$ac_linkdir" ||
return
7676 wine_fn_append_rule
"$ac_linkdir/Makefile $ac_linkdir/depend: $ac_links"
7680 test "x$enable_win64" != "xyes" || wine_binary
="wine64"
7681 loader_programs
="$wine_binary wine-installed"
7682 libwine_soversion
=`expr $libwine_version : '\([0-9]*\)\..*'`
7687 install install-lib:: wine-installed
7688 \$(INSTALL_PROGRAM) wine-installed \$(DESTDIR)\$(bindir)/$wine_binary
7691 \$(RM) \$(DESTDIR)\$(bindir)/$wine_binary
7697 if test -n "$ac_tool_prefix"; then
7698 # Extract the first word of "${ac_tool_prefix}dlltool", so it can be a program name with args.
7699 set dummy
${ac_tool_prefix}dlltool
; ac_word
=$2
7700 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7701 $as_echo_n "checking for $ac_word... " >&6; }
7702 if ${ac_cv_prog_DLLTOOL+:} false
; then :
7703 $as_echo_n "(cached) " >&6
7705 if test -n "$DLLTOOL"; then
7706 ac_cv_prog_DLLTOOL
="$DLLTOOL" # Let the user override the test.
7708 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7712 test -z "$as_dir" && as_dir
=.
7713 for ac_exec_ext
in '' $ac_executable_extensions; do
7714 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
7715 ac_cv_prog_DLLTOOL
="${ac_tool_prefix}dlltool"
7716 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7725 DLLTOOL
=$ac_cv_prog_DLLTOOL
7726 if test -n "$DLLTOOL"; then
7727 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DLLTOOL" >&5
7728 $as_echo "$DLLTOOL" >&6; }
7730 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7731 $as_echo "no" >&6; }
7736 if test -z "$ac_cv_prog_DLLTOOL"; then
7737 ac_ct_DLLTOOL
=$DLLTOOL
7738 # Extract the first word of "dlltool", so it can be a program name with args.
7739 set dummy dlltool
; ac_word
=$2
7740 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7741 $as_echo_n "checking for $ac_word... " >&6; }
7742 if ${ac_cv_prog_ac_ct_DLLTOOL+:} false
; then :
7743 $as_echo_n "(cached) " >&6
7745 if test -n "$ac_ct_DLLTOOL"; then
7746 ac_cv_prog_ac_ct_DLLTOOL
="$ac_ct_DLLTOOL" # Let the user override the test.
7748 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7752 test -z "$as_dir" && as_dir
=.
7753 for ac_exec_ext
in '' $ac_executable_extensions; do
7754 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
7755 ac_cv_prog_ac_ct_DLLTOOL
="dlltool"
7756 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7765 ac_ct_DLLTOOL
=$ac_cv_prog_ac_ct_DLLTOOL
7766 if test -n "$ac_ct_DLLTOOL"; then
7767 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DLLTOOL" >&5
7768 $as_echo "$ac_ct_DLLTOOL" >&6; }
7770 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7771 $as_echo "no" >&6; }
7774 if test "x$ac_ct_DLLTOOL" = x
; then
7777 case $cross_compiling:$ac_tool_warned in
7779 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7780 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7781 ac_tool_warned
=yes ;;
7783 DLLTOOL
=$ac_ct_DLLTOOL
7786 DLLTOOL
="$ac_cv_prog_DLLTOOL"
7792 STATIC_IMPLIBEXT
="a"
7793 enable_iphlpapi
=${enable_iphlpapi:-no}
7794 enable_kernel32
=${enable_kernel32:-no}
7795 enable_msvcrt
=${enable_msvcrt:-no}
7796 enable_ntdll
=${enable_ntdll:-no}
7797 enable_ws2_32
=${enable_ws2_32:-no}
7798 enable_loader
=${enable_loader:-no}
7799 enable_server
=${enable_server:-no}
7800 with_x
=${with_x:-no}
7801 with_pthread
=${with_pthread:-no}
7807 SOCKET_LIBS
="-L\$(top_builddir)/dlls/ws2_32 -lws2_32"
7811 libwine_targets
="libwine.dll libwine.a"
7813 OBJS = \$(C_SRCS:.c=.o) \$(EXTRA_OBJS)
7815 all: libwine.dll libwine.a
7817 libwine.a: \$(srcdir)/wine.def
7818 \$(DLLTOOL) -l \$@ -d \$(srcdir)/wine.def
7820 libwine.dll: \$(OBJS) \$(srcdir)/wine.def
7821 \$(CC) -shared \$(srcdir)/wine.def -o \$@ \$(OBJS) $crtlibs \$(EXTRALIBS)
7823 install install-lib:: libwine.dll
7824 \$(INSTALL_DATA) libwine.dll \$(DESTDIR)\$(libdir)/libwine.dll
7826 install install-dev:: libwine.a
7827 \$(INSTALL_DATA) libwine.a \$(DESTDIR)\$(libdir)/libwine.a
7830 -cd \$(DESTDIR)\$(libdir) && \$(RM) libwine.a libwine.dll
7837 DLLFLAGS
="$DLLFLAGS -fPIC"
7838 LIBWINE_LDFLAGS
="-multiply_defined suppress"
7839 LDRPATH_INSTALL
="-Wl,-rpath,@loader_path/\`\$(MAKEDEP) -R \$(bindir) \$(libdir)\`"
7840 LDRPATH_LOCAL
="-Wl,-rpath,@loader_path/\$(top_builddir)/libs/wine"
7841 COREFOUNDATION_LIBS
="-framework CoreFoundation"
7843 IOKIT_LIBS
="-framework IOKit -framework CoreFoundation"
7845 FORCEFEEDBACK_LIBS
="-framework ForceFeedback -framework CoreFoundation"
7847 APPLICATIONSERVICES_LIBS
="-framework ApplicationServices"
7849 CORESERVICES_LIBS
="-framework CoreServices"
7851 APPKIT_LIBS
="-framework AppKit"
7853 LDEXECFLAGS
="-image_base 0x7bf00000 -Wl,-segaddr,WINE_DOS,0x00001000,-segaddr,WINE_SHAREDHEAP,0x7f000000,-sectcreate,__TEXT,__info_plist,wine_info.plist"
7854 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,-no_pie" >&5
7855 $as_echo_n "checking whether the compiler supports -Wl,-no_pie... " >&6; }
7856 if ${ac_cv_cflags__Wl__no_pie+:} false
; then :
7857 $as_echo_n "(cached) " >&6
7859 ac_wine_try_cflags_saved
=$CFLAGS
7860 CFLAGS
="$CFLAGS -Wl,-no_pie"
7861 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
7862 /* end confdefs.h. */
7863 int main(int argc, char **argv) { return 0; }
7865 if ac_fn_c_try_link
"$LINENO"; then :
7866 ac_cv_cflags__Wl__no_pie
=yes
7868 ac_cv_cflags__Wl__no_pie
=no
7870 rm -f core conftest.err conftest.
$ac_objext \
7871 conftest
$ac_exeext conftest.
$ac_ext
7872 CFLAGS
=$ac_wine_try_cflags_saved
7874 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl__no_pie" >&5
7875 $as_echo "$ac_cv_cflags__Wl__no_pie" >&6; }
7876 if test "x$ac_cv_cflags__Wl__no_pie" = xyes
; then :
7877 LDEXECFLAGS
="-Wl,-no_pie $LDEXECFLAGS"
7879 if test "$ac_cv_header_DiskArbitration_DiskArbitration_h" = "yes"
7881 DISKARBITRATION_LIBS
="-framework DiskArbitration -framework CoreFoundation"
7884 if test "$ac_cv_header_Security_Security_h" = "yes"
7886 SECURITY_LIBS
="-framework Security -framework CoreFoundation"
7888 ac_save_LIBS
="$LIBS"
7889 LIBS
="$LIBS $SECURITY_LIBS"
7890 for ac_func
in SSLCopyPeerCertificates
7892 ac_fn_c_check_func
"$LINENO" "SSLCopyPeerCertificates" "ac_cv_func_SSLCopyPeerCertificates"
7893 if test "x$ac_cv_func_SSLCopyPeerCertificates" = xyes
; then :
7894 cat >>confdefs.h
<<_ACEOF
7895 #define HAVE_SSLCOPYPEERCERTIFICATES 1
7901 LIBS
="$ac_save_LIBS"
7902 with_gnutls
=${with_gnutls:-no}
7904 if test "$ac_cv_header_CoreAudio_CoreAudio_h" = "yes" -a "$ac_cv_header_AudioUnit_AudioUnit_h" = "yes"
7906 if test "$ac_cv_header_AudioUnit_AudioComponent_h" = "yes"
7908 COREAUDIO_LIBS
="-framework CoreFoundation -framework CoreAudio -framework AudioUnit -framework AudioToolbox -framework CoreMIDI"
7911 COREAUDIO_LIBS
="-framework CoreAudio -framework AudioUnit -framework CoreServices -framework AudioToolbox -framework CoreMIDI"
7914 ac_save_LIBS
="$LIBS"
7915 LIBS
="$LIBS $COREAUDIO_LIBS"
7916 for ac_func
in AUGraphAddNode
7918 ac_fn_c_check_func
"$LINENO" "AUGraphAddNode" "ac_cv_func_AUGraphAddNode"
7919 if test "x$ac_cv_func_AUGraphAddNode" = xyes
; then :
7920 cat >>confdefs.h
<<_ACEOF
7921 #define HAVE_AUGRAPHADDNODE 1
7927 LIBS
="$ac_save_LIBS"
7929 if test "$ac_cv_header_OpenAL_al_h" = "yes"
7931 OPENAL_LIBS
="-framework OpenAL"
7934 cat >>confdefs.h
<<_ACEOF
7935 #define HAVE_OPENAL 1
7938 ac_cv_lib_openal
=yes
7940 if test "$ac_cv_header_OpenCL_opencl_h" = "yes"
7942 OPENCL_LIBS
="-framework OpenCL"
7944 ac_cv_lib_OpenCL_clGetPlatformInfo
=yes
7946 if test "$ac_cv_header_IOKit_hid_IOHIDLib_h" = "yes"
7948 ac_save_LIBS
="$LIBS"
7949 LIBS
="$LIBS $IOKIT_LIBS"
7950 for ac_func
in IOHIDManagerCreate
7952 ac_fn_c_check_func
"$LINENO" "IOHIDManagerCreate" "ac_cv_func_IOHIDManagerCreate"
7953 if test "x$ac_cv_func_IOHIDManagerCreate" = xyes
; then :
7954 cat >>confdefs.h
<<_ACEOF
7955 #define HAVE_IOHIDMANAGERCREATE 1
7961 LIBS
="$ac_save_LIBS"
7963 if test "$ac_cv_header_QuickTime_ImageCompression_h" = "yes"
7965 ac_save_LIBS
="$LIBS"
7966 LIBS
="-framework QuickTime -framework ApplicationServices -framework CoreVideo $LIBS"
7967 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for the QuickTime framework" >&5
7968 $as_echo_n "checking for the QuickTime framework... " >&6; }
7969 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
7970 /* end confdefs.h. */
7971 #include <QuickTime/ImageCompression.h>
7975 CodecManagerVersion(NULL);
7980 if ac_fn_c_try_link
"$LINENO"; then :
7981 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
7982 $as_echo "yes" >&6; }
7983 QUICKTIME_LIBS
="-framework QuickTime -framework ApplicationServices -framework CoreVideo"
7985 enable_wineqtdecoder
=${enable_wineqtdecoder:-yes}
7987 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7988 $as_echo "no" >&6; }
7989 ac_cv_header_QuickTime_ImageCompression_h
=no
7991 rm -f core conftest.err conftest.
$ac_objext \
7992 conftest
$ac_exeext conftest.
$ac_ext
7993 LIBS
="$ac_save_LIBS"
7995 if test "$ac_cv_header_QuickTime_ImageCompression_h" != "yes"
7997 as_fn_append wine_notices
"|QuickTime ${notice_platform}development files not found, video decoding won't be supported."
7999 if test "$ac_cv_header_Carbon_Carbon_h" = "yes"
8001 CARBON_LIBS
="-framework Carbon"
8005 if test "$ac_cv_header_ApplicationServices_ApplicationServices_h" = "yes"
8007 ac_save_LIBS
="$LIBS"
8008 LIBS
="$LIBS $APPLICATIONSERVICES_LIBS"
8009 ac_fn_c_check_func
"$LINENO" "CGDisplayModeGetWidth" "ac_cv_func_CGDisplayModeGetWidth"
8010 if test "x$ac_cv_func_CGDisplayModeGetWidth" = xyes
; then :
8011 enable_winemac_drv
=${enable_winemac_drv:-yes}
8014 LIBS
="$ac_save_LIBS"
8017 if test "x$enable_win16" = "xyes"
8019 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether 16-bit code can be built correctly" >&5
8020 $as_echo_n "checking whether 16-bit code can be built correctly... " >&6; }
8021 if test "$cross_compiling" = yes; then :
8022 { $as_echo "$as_me:${as_lineno-$LINENO}: result: cross-compiling, assuming yes" >&5
8023 $as_echo "cross-compiling, assuming yes" >&6; }
8025 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8026 /* end confdefs.h. */
8029 "good:\tnop;nop\n\t"
8030 ".globl _testfunc\n"
8031 "_testfunc:\tcallw good");
8032 extern void testfunc();
8036 unsigned short *p = (unsigned short *)testfunc;
8037 return p[0] != 0xe866 || p[1] != 0xfffa
8042 if ac_fn_c_try_run
"$LINENO"; then :
8043 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
8044 $as_echo "yes" >&6; }
8046 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8047 $as_echo "no" >&6; }
8048 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
8050 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext \
8051 conftest.
$ac_objext conftest.beam conftest.
$ac_ext
8056 libwine_targets
="libwine.dylib libwine.$libwine_soversion.dylib libwine.$libwine_version.dylib"
8058 OBJS = \$(C_SRCS:.c=.o) \$(EXTRA_OBJS)
8062 libwine.$libwine_version.dylib: \$(OBJS)
8063 \$(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 \$@
8065 libwine.$libwine_soversion.dylib: libwine.$libwine_version.dylib
8066 \$(RM) \$@ && \$(LN_S) libwine.$libwine_version.dylib \$@
8068 libwine.dylib: libwine.$libwine_soversion.dylib
8069 \$(RM) \$@ && \$(LN_S) libwine.$libwine_soversion.dylib \$@
8071 install install-lib:: libwine.$libwine_version.dylib
8072 \$(INSTALL_PROGRAM) libwine.$libwine_version.dylib \$(DESTDIR)\$(libdir)/libwine.$libwine_version.dylib
8073 cd \$(DESTDIR)\$(libdir) && \$(RM) libwine.$libwine_soversion.dylib && \$(LN_S) libwine.$libwine_version.dylib libwine.$libwine_soversion.dylib
8075 install install-dev::
8076 cd \$(DESTDIR)\$(libdir) && \$(RM) libwine.dylib && \$(LN_S) libwine.$libwine_version.dylib libwine.dylib
8079 -cd \$(DESTDIR)\$(libdir) && \$(RM) libwine.dylib libwine.$libwine_soversion.dylib libwine.$libwine_version.dylib
8083 as_fn_append LOADER_RULES
"
8084 $wine_binary: main.o wine_info.plist
8085 \$(CC) -o \$@ $LDEXECFLAGS main.o \$(LIBWINE) \$(LIBPORT) \$(EXTRALIBS) \$(LDFLAGS) \$(LDRPATH_LOCAL)
8087 wine-installed: main.o wine_info.plist
8088 \$(CC) -o \$@ $LDEXECFLAGS main.o \$(LIBWINE) \$(LIBPORT) \$(EXTRALIBS) \$(LDFLAGS) \$(LDRPATH_INSTALL)
8093 DLLFLAGS
="$DLLFLAGS -fPIC"
8097 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -Wl,--export-dynamic" >&5
8098 $as_echo_n "checking whether the compiler supports -fPIC -Wl,--export-dynamic... " >&6; }
8099 if ${ac_cv_cflags__fPIC__Wl___export_dynamic+:} false
; then :
8100 $as_echo_n "(cached) " >&6
8102 ac_wine_try_cflags_saved
=$CFLAGS
8103 CFLAGS
="$CFLAGS -fPIC -Wl,--export-dynamic"
8104 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8105 /* end confdefs.h. */
8106 int main(int argc, char **argv) { return 0; }
8108 if ac_fn_c_try_link
"$LINENO"; then :
8109 ac_cv_cflags__fPIC__Wl___export_dynamic
=yes
8111 ac_cv_cflags__fPIC__Wl___export_dynamic
=no
8113 rm -f core conftest.err conftest.
$ac_objext \
8114 conftest
$ac_exeext conftest.
$ac_ext
8115 CFLAGS
=$ac_wine_try_cflags_saved
8117 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fPIC__Wl___export_dynamic" >&5
8118 $as_echo "$ac_cv_cflags__fPIC__Wl___export_dynamic" >&6; }
8119 if test "x$ac_cv_cflags__fPIC__Wl___export_dynamic" = xyes
; then :
8120 LDEXECFLAGS
="-Wl,--export-dynamic"
8122 as_ac_var
=`$as_echo "ac_cv_cflags_-fPIC -Wl,--rpath,\\$ORIGIN/../lib" | $as_tr_sh`
8123 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -Wl,--rpath,\$ORIGIN/../lib" >&5
8124 $as_echo_n "checking whether the compiler supports -fPIC -Wl,--rpath,\$ORIGIN/../lib... " >&6; }
8125 if eval \
${$as_ac_var+:} false
; then :
8126 $as_echo_n "(cached) " >&6
8128 ac_wine_try_cflags_saved
=$CFLAGS
8129 CFLAGS
="$CFLAGS -fPIC -Wl,--rpath,\$ORIGIN/../lib"
8130 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8131 /* end confdefs.h. */
8132 int main(int argc, char **argv) { return 0; }
8134 if ac_fn_c_try_link
"$LINENO"; then :
8135 eval "$as_ac_var=yes"
8137 eval "$as_ac_var=no"
8139 rm -f core conftest.err conftest.
$ac_objext \
8140 conftest
$ac_exeext conftest.
$ac_ext
8141 CFLAGS
=$ac_wine_try_cflags_saved
8143 eval ac_res
=\$
$as_ac_var
8144 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
8145 $as_echo "$ac_res" >&6; }
8146 if eval test \"x\$
"$as_ac_var"\" = x
"yes"; then :
8147 LDRPATH_INSTALL
="-Wl,--rpath,\\\$\$ORIGIN/\`\$(MAKEDEP) -R \$(bindir) \$(libdir)\`"
8148 LDRPATH_LOCAL
="-Wl,--rpath,\\\$\$ORIGIN/\$(top_builddir)/libs/wine"
8150 as_ac_var
=`$as_echo "ac_cv_cflags_-fPIC -Wl,-R,\\$ORIGIN/../lib" | $as_tr_sh`
8151 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -Wl,-R,\$ORIGIN/../lib" >&5
8152 $as_echo_n "checking whether the compiler supports -fPIC -Wl,-R,\$ORIGIN/../lib... " >&6; }
8153 if eval \
${$as_ac_var+:} false
; then :
8154 $as_echo_n "(cached) " >&6
8156 ac_wine_try_cflags_saved
=$CFLAGS
8157 CFLAGS
="$CFLAGS -fPIC -Wl,-R,\$ORIGIN/../lib"
8158 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8159 /* end confdefs.h. */
8160 int main(int argc, char **argv) { return 0; }
8162 if ac_fn_c_try_link
"$LINENO"; then :
8163 eval "$as_ac_var=yes"
8165 eval "$as_ac_var=no"
8167 rm -f core conftest.err conftest.
$ac_objext \
8168 conftest
$ac_exeext conftest.
$ac_ext
8169 CFLAGS
=$ac_wine_try_cflags_saved
8171 eval ac_res
=\$
$as_ac_var
8172 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
8173 $as_echo "$ac_res" >&6; }
8174 if eval test \"x\$
"$as_ac_var"\" = x
"yes"; then :
8175 LDRPATH_INSTALL
="-Wl,-R,\\\$\$ORIGIN/\`\$(MAKEDEP) -R \$(bindir) \$(libdir)\`"
8176 LDRPATH_LOCAL
="-Wl,-R,\\\$\$ORIGIN/\$(top_builddir)/libs/wine"
8180 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,--enable-new-dtags" >&5
8181 $as_echo_n "checking whether the compiler supports -Wl,--enable-new-dtags... " >&6; }
8182 if ${ac_cv_cflags__Wl___enable_new_dtags+:} false
; then :
8183 $as_echo_n "(cached) " >&6
8185 ac_wine_try_cflags_saved
=$CFLAGS
8186 CFLAGS
="$CFLAGS -Wl,--enable-new-dtags"
8187 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8188 /* end confdefs.h. */
8189 int main(int argc, char **argv) { return 0; }
8191 if ac_fn_c_try_link
"$LINENO"; then :
8192 ac_cv_cflags__Wl___enable_new_dtags
=yes
8194 ac_cv_cflags__Wl___enable_new_dtags
=no
8196 rm -f core conftest.err conftest.
$ac_objext \
8197 conftest
$ac_exeext conftest.
$ac_ext
8198 CFLAGS
=$ac_wine_try_cflags_saved
8200 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl___enable_new_dtags" >&5
8201 $as_echo "$ac_cv_cflags__Wl___enable_new_dtags" >&6; }
8202 if test "x$ac_cv_cflags__Wl___enable_new_dtags" = xyes
; then :
8203 LDRPATH_INSTALL
="$LDRPATH_INSTALL -Wl,--enable-new-dtags"
8207 *i
[3456789]86* | x86_64
)
8208 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,--section-start,.interp=0x7bf00400" >&5
8209 $as_echo_n "checking whether the compiler supports -Wl,--section-start,.interp=0x7bf00400... " >&6; }
8210 if ${ac_cv_cflags__Wl___section_start__interp_0x7bf00400+:} false
; then :
8211 $as_echo_n "(cached) " >&6
8213 ac_wine_try_cflags_saved
=$CFLAGS
8214 CFLAGS
="$CFLAGS -Wl,--section-start,.interp=0x7bf00400"
8215 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8216 /* end confdefs.h. */
8217 int main(int argc, char **argv) { return 0; }
8219 if ac_fn_c_try_link
"$LINENO"; then :
8220 ac_cv_cflags__Wl___section_start__interp_0x7bf00400
=yes
8222 ac_cv_cflags__Wl___section_start__interp_0x7bf00400
=no
8224 rm -f core conftest.err conftest.
$ac_objext \
8225 conftest
$ac_exeext conftest.
$ac_ext
8226 CFLAGS
=$ac_wine_try_cflags_saved
8228 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl___section_start__interp_0x7bf00400" >&5
8229 $as_echo "$ac_cv_cflags__Wl___section_start__interp_0x7bf00400" >&6; }
8230 if test "x$ac_cv_cflags__Wl___section_start__interp_0x7bf00400" = xyes
; then :
8231 LDEXECFLAGS
="$LDEXECFLAGS -Wl,--section-start,.interp=0x7bf00400"
8236 libwine_targets
="libwine.so"
8238 OBJS = \$(C_SRCS:.c=.o) \$(EXTRA_OBJS)
8242 libwine.so: \$(OBJS)
8243 \$(CC) -shared \$(OBJS) \$(EXTRALIBS) \$(LDFLAGS) \$(LIBS) -o \$@
8245 install install-lib:: libwine.so
8246 \$(INSTALL_PROGRAM) libwine.so \$(DESTDIR)\$(libdir)/libwine.so
8249 \$(RM) \$(DESTDIR)\$(libdir)/libwine.so
8253 as_fn_append LOADER_RULES
"
8254 $wine_binary: main.o
8255 \$(CC) -o \$@ $LDEXECFLAGS main.o \$(LIBWINE) \$(LIBPORT) \$(EXTRALIBS) \$(LDFLAGS) \$(LDRPATH_LOCAL)
8257 wine-installed: main.o
8258 \$(CC) -o \$@ $LDEXECFLAGS main.o \$(LIBWINE) \$(LIBPORT) \$(EXTRALIBS) \$(LDFLAGS) \$(LDRPATH_INSTALL)
8263 DLLFLAGS
="$DLLFLAGS -fPIC"
8265 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we can build a GNU style ELF dll" >&5
8266 $as_echo_n "checking whether we can build a GNU style ELF dll... " >&6; }
8267 if ${ac_cv_c_dll_gnuelf+:} false
; then :
8268 $as_echo_n "(cached) " >&6
8270 ac_wine_try_cflags_saved
=$CFLAGS
8271 CFLAGS
="$CFLAGS -fPIC -shared -Wl,-Bsymbolic"
8272 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8273 /* end confdefs.h. */
8276 if ac_fn_c_try_link
"$LINENO"; then :
8277 ac_cv_c_dll_gnuelf
="yes"
8279 ac_cv_c_dll_gnuelf
="no"
8281 rm -f core conftest.err conftest.
$ac_objext \
8282 conftest
$ac_exeext conftest.
$ac_ext
8283 CFLAGS
=$ac_wine_try_cflags_saved
8285 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_dll_gnuelf" >&5
8286 $as_echo "$ac_cv_c_dll_gnuelf" >&6; }
8287 if test "$ac_cv_c_dll_gnuelf" = "yes"
8289 LDSHARED
="\$(CC) -shared"
8290 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -shared -Wl,-soname,confest.so.1" >&5
8291 $as_echo_n "checking whether the compiler supports -fPIC -shared -Wl,-soname,confest.so.1... " >&6; }
8292 if ${ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1+:} false
; then :
8293 $as_echo_n "(cached) " >&6
8295 ac_wine_try_cflags_saved
=$CFLAGS
8296 CFLAGS
="$CFLAGS -fPIC -shared -Wl,-soname,confest.so.1"
8297 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8298 /* end confdefs.h. */
8299 int main(int argc, char **argv) { return 0; }
8301 if ac_fn_c_try_link
"$LINENO"; then :
8302 ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1
=yes
8304 ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1
=no
8306 rm -f core conftest.err conftest.
$ac_objext \
8307 conftest
$ac_exeext conftest.
$ac_ext
8308 CFLAGS
=$ac_wine_try_cflags_saved
8310 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1" >&5
8311 $as_echo "$ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1" >&6; }
8312 if test "x$ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1" = xyes
; then :
8313 LDSHARED
="\$(CC) -shared -Wl,-soname,libwine.so.$libwine_soversion"
8315 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -shared -Wl,-h,confest.so.1" >&5
8316 $as_echo_n "checking whether the compiler supports -fPIC -shared -Wl,-h,confest.so.1... " >&6; }
8317 if ${ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1+:} false
; then :
8318 $as_echo_n "(cached) " >&6
8320 ac_wine_try_cflags_saved
=$CFLAGS
8321 CFLAGS
="$CFLAGS -fPIC -shared -Wl,-h,confest.so.1"
8322 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8323 /* end confdefs.h. */
8324 int main(int argc, char **argv) { return 0; }
8326 if ac_fn_c_try_link
"$LINENO"; then :
8327 ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1
=yes
8329 ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1
=no
8331 rm -f core conftest.err conftest.
$ac_objext \
8332 conftest
$ac_exeext conftest.
$ac_ext
8333 CFLAGS
=$ac_wine_try_cflags_saved
8335 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1" >&5
8336 $as_echo "$ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1" >&6; }
8337 if test "x$ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1" = xyes
; then :
8338 LDSHARED
="\$(CC) -shared -Wl,-h,libwine.so.$libwine_soversion"
8342 echo '{ global: *; };' >conftest.map
8343 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -shared -Wl,--version-script=conftest.map" >&5
8344 $as_echo_n "checking whether the compiler supports -fPIC -shared -Wl,--version-script=conftest.map... " >&6; }
8345 if ${ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map+:} false
; then :
8346 $as_echo_n "(cached) " >&6
8348 ac_wine_try_cflags_saved
=$CFLAGS
8349 CFLAGS
="$CFLAGS -fPIC -shared -Wl,--version-script=conftest.map"
8350 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8351 /* end confdefs.h. */
8352 int main(int argc, char **argv) { return 0; }
8354 if ac_fn_c_try_link
"$LINENO"; then :
8355 ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map
=yes
8357 ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map
=no
8359 rm -f core conftest.err conftest.
$ac_objext \
8360 conftest
$ac_exeext conftest.
$ac_ext
8361 CFLAGS
=$ac_wine_try_cflags_saved
8363 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map" >&5
8364 $as_echo "$ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map" >&6; }
8365 if test "x$ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map" = xyes
; then :
8366 LDSHARED
="$LDSHARED -Wl,--version-script=\$(srcdir)/wine.map"
8370 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -Wl,--export-dynamic" >&5
8371 $as_echo_n "checking whether the compiler supports -fPIC -Wl,--export-dynamic... " >&6; }
8372 if ${ac_cv_cflags__fPIC__Wl___export_dynamic+:} false
; then :
8373 $as_echo_n "(cached) " >&6
8375 ac_wine_try_cflags_saved
=$CFLAGS
8376 CFLAGS
="$CFLAGS -fPIC -Wl,--export-dynamic"
8377 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8378 /* end confdefs.h. */
8379 int main(int argc, char **argv) { return 0; }
8381 if ac_fn_c_try_link
"$LINENO"; then :
8382 ac_cv_cflags__fPIC__Wl___export_dynamic
=yes
8384 ac_cv_cflags__fPIC__Wl___export_dynamic
=no
8386 rm -f core conftest.err conftest.
$ac_objext \
8387 conftest
$ac_exeext conftest.
$ac_ext
8388 CFLAGS
=$ac_wine_try_cflags_saved
8390 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fPIC__Wl___export_dynamic" >&5
8391 $as_echo "$ac_cv_cflags__fPIC__Wl___export_dynamic" >&6; }
8392 if test "x$ac_cv_cflags__fPIC__Wl___export_dynamic" = xyes
; then :
8393 LDEXECFLAGS
="-Wl,--export-dynamic"
8396 as_ac_var
=`$as_echo "ac_cv_cflags_-fPIC -Wl,--rpath,\\$ORIGIN/../lib" | $as_tr_sh`
8397 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -Wl,--rpath,\$ORIGIN/../lib" >&5
8398 $as_echo_n "checking whether the compiler supports -fPIC -Wl,--rpath,\$ORIGIN/../lib... " >&6; }
8399 if eval \
${$as_ac_var+:} false
; then :
8400 $as_echo_n "(cached) " >&6
8402 ac_wine_try_cflags_saved
=$CFLAGS
8403 CFLAGS
="$CFLAGS -fPIC -Wl,--rpath,\$ORIGIN/../lib"
8404 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8405 /* end confdefs.h. */
8406 int main(int argc, char **argv) { return 0; }
8408 if ac_fn_c_try_link
"$LINENO"; then :
8409 eval "$as_ac_var=yes"
8411 eval "$as_ac_var=no"
8413 rm -f core conftest.err conftest.
$ac_objext \
8414 conftest
$ac_exeext conftest.
$ac_ext
8415 CFLAGS
=$ac_wine_try_cflags_saved
8417 eval ac_res
=\$
$as_ac_var
8418 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
8419 $as_echo "$ac_res" >&6; }
8420 if eval test \"x\$
"$as_ac_var"\" = x
"yes"; then :
8421 LDRPATH_INSTALL
="-Wl,--rpath,\\\$\$ORIGIN/\`\$(MAKEDEP) -R \$(bindir) \$(libdir)\`"
8422 LDRPATH_LOCAL
="-Wl,--rpath,\\\$\$ORIGIN/\$(top_builddir)/libs/wine"
8424 as_ac_var
=`$as_echo "ac_cv_cflags_-fPIC -Wl,-R,\\$ORIGIN/../lib" | $as_tr_sh`
8425 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -Wl,-R,\$ORIGIN/../lib" >&5
8426 $as_echo_n "checking whether the compiler supports -fPIC -Wl,-R,\$ORIGIN/../lib... " >&6; }
8427 if eval \
${$as_ac_var+:} false
; then :
8428 $as_echo_n "(cached) " >&6
8430 ac_wine_try_cflags_saved
=$CFLAGS
8431 CFLAGS
="$CFLAGS -fPIC -Wl,-R,\$ORIGIN/../lib"
8432 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8433 /* end confdefs.h. */
8434 int main(int argc, char **argv) { return 0; }
8436 if ac_fn_c_try_link
"$LINENO"; then :
8437 eval "$as_ac_var=yes"
8439 eval "$as_ac_var=no"
8441 rm -f core conftest.err conftest.
$ac_objext \
8442 conftest
$ac_exeext conftest.
$ac_ext
8443 CFLAGS
=$ac_wine_try_cflags_saved
8445 eval ac_res
=\$
$as_ac_var
8446 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
8447 $as_echo "$ac_res" >&6; }
8448 if eval test \"x\$
"$as_ac_var"\" = x
"yes"; then :
8449 LDRPATH_INSTALL
="-Wl,-R,\\\$\$ORIGIN/\`\$(MAKEDEP) -R \$(bindir) \$(libdir)\`"
8450 LDRPATH_LOCAL
="-Wl,-R,\\\$\$ORIGIN/\$(top_builddir)/libs/wine"
8454 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,--enable-new-dtags" >&5
8455 $as_echo_n "checking whether the compiler supports -Wl,--enable-new-dtags... " >&6; }
8456 if ${ac_cv_cflags__Wl___enable_new_dtags+:} false
; then :
8457 $as_echo_n "(cached) " >&6
8459 ac_wine_try_cflags_saved
=$CFLAGS
8460 CFLAGS
="$CFLAGS -Wl,--enable-new-dtags"
8461 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8462 /* end confdefs.h. */
8463 int main(int argc, char **argv) { return 0; }
8465 if ac_fn_c_try_link
"$LINENO"; then :
8466 ac_cv_cflags__Wl___enable_new_dtags
=yes
8468 ac_cv_cflags__Wl___enable_new_dtags
=no
8470 rm -f core conftest.err conftest.
$ac_objext \
8471 conftest
$ac_exeext conftest.
$ac_ext
8472 CFLAGS
=$ac_wine_try_cflags_saved
8474 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl___enable_new_dtags" >&5
8475 $as_echo "$ac_cv_cflags__Wl___enable_new_dtags" >&6; }
8476 if test "x$ac_cv_cflags__Wl___enable_new_dtags" = xyes
; then :
8477 LDRPATH_INSTALL
="$LDRPATH_INSTALL -Wl,--enable-new-dtags"
8481 *i
[3456789]86* | x86_64
)
8482 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,--section-start,.interp=0x7bf00400" >&5
8483 $as_echo_n "checking whether the compiler supports -Wl,--section-start,.interp=0x7bf00400... " >&6; }
8484 if ${ac_cv_cflags__Wl___section_start__interp_0x7bf00400+:} false
; then :
8485 $as_echo_n "(cached) " >&6
8487 ac_wine_try_cflags_saved
=$CFLAGS
8488 CFLAGS
="$CFLAGS -Wl,--section-start,.interp=0x7bf00400"
8489 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8490 /* end confdefs.h. */
8491 int main(int argc, char **argv) { return 0; }
8493 if ac_fn_c_try_link
"$LINENO"; then :
8494 ac_cv_cflags__Wl___section_start__interp_0x7bf00400
=yes
8496 ac_cv_cflags__Wl___section_start__interp_0x7bf00400
=no
8498 rm -f core conftest.err conftest.
$ac_objext \
8499 conftest
$ac_exeext conftest.
$ac_ext
8500 CFLAGS
=$ac_wine_try_cflags_saved
8502 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl___section_start__interp_0x7bf00400" >&5
8503 $as_echo "$ac_cv_cflags__Wl___section_start__interp_0x7bf00400" >&6; }
8504 if test "x$ac_cv_cflags__Wl___section_start__interp_0x7bf00400" = xyes
; then :
8506 freebsd
* | kfreebsd
*-gnu) LDEXECFLAGS
="$LDEXECFLAGS -Wl,--section-start,.interp=0x60000400" ;;
8507 *) LDEXECFLAGS
="$LDEXECFLAGS -Wl,--section-start,.interp=0x7bf00400" ;;
8511 # Extract the first word of "prelink", so it can be a program name with args.
8512 set dummy prelink
; ac_word
=$2
8513 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8514 $as_echo_n "checking for $ac_word... " >&6; }
8515 if ${ac_cv_path_PRELINK+:} false
; then :
8516 $as_echo_n "(cached) " >&6
8520 ac_cv_path_PRELINK
="$PRELINK" # Let the user override the test with a path.
8523 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
8524 for as_dir
in /sbin
/usr
/sbin
$PATH
8527 test -z "$as_dir" && as_dir
=.
8528 for ac_exec_ext
in '' $ac_executable_extensions; do
8529 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
8530 ac_cv_path_PRELINK
="$as_dir/$ac_word$ac_exec_ext"
8531 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8538 test -z "$ac_cv_path_PRELINK" && ac_cv_path_PRELINK
="false"
8542 PRELINK
=$ac_cv_path_PRELINK
8543 if test -n "$PRELINK"; then
8544 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PRELINK" >&5
8545 $as_echo "$PRELINK" >&6; }
8547 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8548 $as_echo "no" >&6; }
8552 if test "x$PRELINK" = xfalse
8554 as_fn_append wine_warnings
"|prelink not found, base address of core dlls won't be set correctly."
8560 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we can build a UnixWare (Solaris) dll" >&5
8561 $as_echo_n "checking whether we can build a UnixWare (Solaris) dll... " >&6; }
8562 if ${ac_cv_c_dll_unixware+:} false
; then :
8563 $as_echo_n "(cached) " >&6
8565 ac_wine_try_cflags_saved
=$CFLAGS
8566 CFLAGS
="$CFLAGS -fPIC -Wl,-G,-h,conftest.so.1.0,-B,symbolic"
8567 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8568 /* end confdefs.h. */
8571 if ac_fn_c_try_link
"$LINENO"; then :
8572 ac_cv_c_dll_unixware
="yes"
8574 ac_cv_c_dll_unixware
="no"
8576 rm -f core conftest.err conftest.
$ac_objext \
8577 conftest
$ac_exeext conftest.
$ac_ext
8578 CFLAGS
=$ac_wine_try_cflags_saved
8580 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_dll_unixware" >&5
8581 $as_echo "$ac_cv_c_dll_unixware" >&6; }
8582 if test "$ac_cv_c_dll_unixware" = "yes"
8584 LDSHARED
="\$(CC) -Wl,-G,-h,libwine.so.$libwine_soversion"
8587 libwine_targets
="libwine.so libwine.so.$libwine_soversion libwine.so.$libwine_version"
8589 OBJS = \$(C_SRCS:.c=.o) \$(EXTRA_OBJS)
8593 libwine.so.$libwine_version: \$(OBJS) \$(srcdir)/wine.map
8594 $LDSHARED \$(OBJS) \$(EXTRALIBS) \$(LDFLAGS) \$(LIBS) -o \$@
8596 libwine.so.$libwine_soversion: libwine.so.$libwine_version
8597 \$(RM) \$@ && \$(LN_S) libwine.so.$libwine_version \$@
8599 libwine.so: libwine.so.$libwine_soversion
8600 \$(RM) \$@ && \$(LN_S) libwine.so.$libwine_soversion \$@
8602 install install-lib:: libwine.so.$libwine_version
8603 \$(INSTALL_PROGRAM) libwine.so.$libwine_version \$(DESTDIR)\$(libdir)/libwine.so.$libwine_version
8604 cd \$(DESTDIR)\$(libdir) && \$(RM) libwine.so.$libwine_soversion && \$(LN_S) libwine.so.$libwine_version libwine.so.$libwine_soversion
8606 install install-dev::
8607 cd \$(DESTDIR)\$(libdir) && \$(RM) libwine.so && \$(LN_S) libwine.so.$libwine_version libwine.so
8610 -cd \$(DESTDIR)\$(libdir) && \$(RM) libwine.so libwine.so.$libwine_soversion libwine.so.$libwine_version
8614 as_fn_append LOADER_RULES
"
8615 $wine_binary: main.o
8616 \$(CC) -o \$@ $LDEXECFLAGS main.o \$(LIBWINE) \$(LIBPORT) \$(EXTRALIBS) \$(LDFLAGS) \$(LDRPATH_LOCAL)
8618 wine-installed: main.o
8619 \$(CC) -o \$@ $LDEXECFLAGS main.o \$(LIBWINE) \$(LIBPORT) \$(EXTRALIBS) \$(LDFLAGS) \$(LDRPATH_INSTALL)
8624 as_fn_append LIBWINE_RULES
"
8625 EXTRA_TARGETS = $libwine_targets
8628 enable_wineqtdecoder
=${enable_wineqtdecoder:-no}
8629 enable_winemac_drv
=${enable_winemac_drv:-no}
8633 if test "$cross_compiling" = "no" -a "x$enable_tests" != xno
-a "$LIBEXT" != "dll"
8637 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
8640 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 " ;;
8642 ac_prefix_list
="" ;;
8644 for ac_prog
in $ac_prefix_list
8646 # Extract the first word of "$ac_prog", so it can be a program name with args.
8647 set dummy
$ac_prog; ac_word
=$2
8648 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8649 $as_echo_n "checking for $ac_word... " >&6; }
8650 if ${ac_cv_prog_CROSSCC+:} false
; then :
8651 $as_echo_n "(cached) " >&6
8653 if test -n "$CROSSCC"; then
8654 ac_cv_prog_CROSSCC
="$CROSSCC" # Let the user override the test.
8656 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
8660 test -z "$as_dir" && as_dir
=.
8661 for ac_exec_ext
in '' $ac_executable_extensions; do
8662 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
8663 ac_cv_prog_CROSSCC
="$ac_prog"
8664 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8673 CROSSCC
=$ac_cv_prog_CROSSCC
8674 if test -n "$CROSSCC"; then
8675 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CROSSCC" >&5
8676 $as_echo "$CROSSCC" >&6; }
8678 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8679 $as_echo "no" >&6; }
8683 test -n "$CROSSCC" && break
8685 test -n "$CROSSCC" || CROSSCC
="false"
8687 if test "$CROSSCC" != "false"
8691 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CROSSCC works" >&5
8692 $as_echo_n "checking whether $CROSSCC works... " >&6; }
8693 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8694 /* end confdefs.h. */
8704 if ac_fn_c_try_compile
"$LINENO"; then :
8705 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
8706 $as_echo "yes" >&6; }
8712 *-gcc) CROSSTARGET
=`expr "$1" : '\(.*\)-gcc'` ;;
8717 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8718 $as_echo "no" >&6; }
8720 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
8726 if test "$ac_cv_header_pthread_h" = "yes"
8728 ac_fn_c_check_func
"$LINENO" "pthread_create" "ac_cv_func_pthread_create"
8729 if test "x$ac_cv_func_pthread_create" = xyes
; then :
8732 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pthread_create in -lpthread" >&5
8733 $as_echo_n "checking for pthread_create in -lpthread... " >&6; }
8734 if ${ac_cv_lib_pthread_pthread_create+:} false
; then :
8735 $as_echo_n "(cached) " >&6
8737 ac_check_lib_save_LIBS
=$LIBS
8738 LIBS
="-lpthread $LIBS"
8739 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8740 /* end confdefs.h. */
8742 /* Override any GCC internal prototype to avoid an error.
8743 Use char because int might match the return type of a GCC
8744 builtin and then its argument prototype would still apply. */
8748 char pthread_create ();
8752 return pthread_create ();
8757 if ac_fn_c_try_link
"$LINENO"; then :
8758 ac_cv_lib_pthread_pthread_create
=yes
8760 ac_cv_lib_pthread_pthread_create
=no
8762 rm -f core conftest.err conftest.
$ac_objext \
8763 conftest
$ac_exeext conftest.
$ac_ext
8764 LIBS
=$ac_check_lib_save_LIBS
8766 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_pthread_pthread_create" >&5
8767 $as_echo "$ac_cv_lib_pthread_pthread_create" >&6; }
8768 if test "x$ac_cv_lib_pthread_pthread_create" = xyes
; then :
8769 PTHREAD_LIBS
="-lpthread"
8776 if test "x$ac_cv_func_pthread_create" != xyes
-a "x$PTHREAD_LIBS" = x
; then :
8777 case "x$with_pthread" in
8779 *) as_fn_error $?
"pthread ${notice_platform}development files not found.
8780 Wine cannot support threads without libpthread.
8781 Use the --without-pthread option if you really want this." "$LINENO" 5 ;;
8786 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for X" >&5
8787 $as_echo_n "checking for X... " >&6; }
8790 # Check whether --with-x was given.
8791 if test "${with_x+set}" = set; then :
8795 # $have_x is `yes', `no', `disabled', or empty when we do not yet know.
8796 if test "x$with_x" = xno
; then
8797 # The user explicitly disabled X.
8800 case $x_includes,$x_libraries in #(
8801 *\'*) as_fn_error $?
"cannot use X directory names containing '" "$LINENO" 5;; #(
8802 *,NONE | NONE
,*) if ${ac_cv_have_x+:} false
; then :
8803 $as_echo_n "(cached) " >&6
8805 # One or both of the vars are not set, and there is no cached value.
8806 ac_x_includes
=no ac_x_libraries
=no
8807 rm -f -r conftest.dir
8808 if mkdir conftest.dir
; then
8810 cat >Imakefile
<<'_ACEOF'
8812 @echo incroot='${INCROOT}'
8814 @echo usrlibdir='${USRLIBDIR}'
8816 @echo libdir='${LIBDIR}'
8818 if (export CC
; ${XMKMF-xmkmf}) >/dev
/null
2>/dev
/null
&& test -f Makefile
; then
8819 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
8820 for ac_var
in incroot usrlibdir libdir
; do
8821 eval "ac_im_$ac_var=\`\${MAKE-make} $ac_var 2>/dev/null | sed -n 's/^$ac_var=//p'\`"
8823 # Open Windows xmkmf reportedly sets LIBDIR instead of USRLIBDIR.
8824 for ac_extension
in a so sl dylib la dll
; do
8825 if test ! -f "$ac_im_usrlibdir/libX11.$ac_extension" &&
8826 test -f "$ac_im_libdir/libX11.$ac_extension"; then
8827 ac_im_usrlibdir
=$ac_im_libdir; break
8830 # Screen out bogus values from the imake configuration. They are
8831 # bogus both because they are the default anyway, and because
8832 # using them would break gcc on systems where it needs fixed includes.
8833 case $ac_im_incroot in
8834 /usr
/include
) ac_x_includes
= ;;
8835 *) test -f "$ac_im_incroot/X11/Xos.h" && ac_x_includes
=$ac_im_incroot;;
8837 case $ac_im_usrlibdir in
8838 /usr
/lib |
/usr
/lib64 |
/lib |
/lib64
) ;;
8839 *) test -d "$ac_im_usrlibdir" && ac_x_libraries
=$ac_im_usrlibdir ;;
8843 rm -f -r conftest.dir
8846 # Standard set of common directories for X headers.
8847 # Check X11 before X11Rn because it is often a symlink to the current release.
8861 /usr/local/X11/include
8862 /usr/local/X11R7/include
8863 /usr/local/X11R6/include
8864 /usr/local/X11R5/include
8865 /usr/local/X11R4/include
8867 /usr/local/include/X11
8868 /usr/local/include/X11R7
8869 /usr/local/include/X11R6
8870 /usr/local/include/X11R5
8871 /usr/local/include/X11R4
8875 /usr/XFree86/include/X11
8879 /usr/unsupported/include
8881 /usr/local/x11r5/include
8882 /usr/lpp/Xamples/include
8884 /usr/openwin/include
8885 /usr/openwin/share/include'
8887 if test "$ac_x_includes" = no
; then
8888 # Guess where to find include files, by looking for Xlib.h.
8889 # First, try using that file with no special directory specified.
8890 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8891 /* end confdefs.h. */
8892 #include <X11/Xlib.h>
8894 if ac_fn_c_try_cpp
"$LINENO"; then :
8895 # We can compile using X headers with no special include directory.
8898 for ac_dir
in $ac_x_header_dirs; do
8899 if test -r "$ac_dir/X11/Xlib.h"; then
8900 ac_x_includes
=$ac_dir
8905 rm -f conftest.err conftest.i conftest.
$ac_ext
8906 fi # $ac_x_includes = no
8908 if test "$ac_x_libraries" = no
; then
8909 # Check for the libraries.
8910 # See if we find them without any special options.
8911 # Don't add to $LIBS permanently.
8914 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8915 /* end confdefs.h. */
8916 #include <X11/Xlib.h>
8925 if ac_fn_c_try_link
"$LINENO"; then :
8927 # We can link X programs with no special library path.
8931 for ac_dir
in `$as_echo "$ac_x_includes $ac_x_header_dirs" | sed s/include/lib/g`
8933 # Don't even attempt the hair of trying to link an X program!
8934 for ac_extension
in a so sl dylib la dll
; do
8935 if test -r "$ac_dir/libX11.$ac_extension"; then
8936 ac_x_libraries
=$ac_dir
8942 rm -f core conftest.err conftest.
$ac_objext \
8943 conftest
$ac_exeext conftest.
$ac_ext
8944 fi # $ac_x_libraries = no
8946 case $ac_x_includes,$ac_x_libraries in #(
8948 # Didn't find X, or a directory has "'" in its name.
8949 ac_cv_have_x
="have_x=no";; #(
8951 # Record where we found X for the cache.
8952 ac_cv_have_x
="have_x=yes\
8953 ac_x_includes='$ac_x_includes'\
8954 ac_x_libraries='$ac_x_libraries'"
8960 eval "$ac_cv_have_x"
8963 if test "$have_x" != yes; then
8964 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $have_x" >&5
8965 $as_echo "$have_x" >&6; }
8968 # If each of the values was on the command line, it overrides each guess.
8969 test "x$x_includes" = xNONE
&& x_includes
=$ac_x_includes
8970 test "x$x_libraries" = xNONE
&& x_libraries
=$ac_x_libraries
8971 # Update the cache value to reflect the command line values.
8972 ac_cv_have_x
="have_x=yes\
8973 ac_x_includes='$x_includes'\
8974 ac_x_libraries='$x_libraries'"
8975 { $as_echo "$as_me:${as_lineno-$LINENO}: result: libraries $x_libraries, headers $x_includes" >&5
8976 $as_echo "libraries $x_libraries, headers $x_includes" >&6; }
8979 if test "$no_x" = yes; then
8980 # Not all programs may use this symbol, but it does not hurt to define it.
8982 $as_echo "#define X_DISPLAY_MISSING 1" >>confdefs.h
8984 X_CFLAGS
= X_PRE_LIBS
= X_LIBS
= X_EXTRA_LIBS
=
8986 if test -n "$x_includes"; then
8987 X_CFLAGS
="$X_CFLAGS -I$x_includes"
8990 # It would also be nice to do this for all -L options, not just this one.
8991 if test -n "$x_libraries"; then
8992 X_LIBS
="$X_LIBS -L$x_libraries"
8993 # For Solaris; some versions of Sun CC require a space after -R and
8994 # others require no space. Words are not sufficient . . . .
8995 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -R must be followed by a space" >&5
8996 $as_echo_n "checking whether -R must be followed by a space... " >&6; }
8997 ac_xsave_LIBS
=$LIBS; LIBS
="$LIBS -R$x_libraries"
8998 ac_xsave_c_werror_flag
=$ac_c_werror_flag
8999 ac_c_werror_flag
=yes
9000 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9001 /* end confdefs.h. */
9011 if ac_fn_c_try_link
"$LINENO"; then :
9012 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9013 $as_echo "no" >&6; }
9014 X_LIBS
="$X_LIBS -R$x_libraries"
9016 LIBS
="$ac_xsave_LIBS -R $x_libraries"
9017 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9018 /* end confdefs.h. */
9028 if ac_fn_c_try_link
"$LINENO"; then :
9029 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
9030 $as_echo "yes" >&6; }
9031 X_LIBS
="$X_LIBS -R $x_libraries"
9033 { $as_echo "$as_me:${as_lineno-$LINENO}: result: neither works" >&5
9034 $as_echo "neither works" >&6; }
9036 rm -f core conftest.err conftest.
$ac_objext \
9037 conftest
$ac_exeext conftest.
$ac_ext
9039 rm -f core conftest.err conftest.
$ac_objext \
9040 conftest
$ac_exeext conftest.
$ac_ext
9041 ac_c_werror_flag
=$ac_xsave_c_werror_flag
9045 # Check for system-dependent libraries X programs must link with.
9046 # Do this before checking for the system-independent R6 libraries
9047 # (-lICE), since we may need -lsocket or whatever for X linking.
9049 if test "$ISC" = yes; then
9050 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lnsl_s -linet"
9052 # Martyn Johnson says this is needed for Ultrix, if the X
9053 # libraries were built with DECnet support. And Karl Berry says
9054 # the Alpha needs dnet_stub (dnet does not exist).
9055 ac_xsave_LIBS
="$LIBS"; LIBS
="$LIBS $X_LIBS -lX11"
9056 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9057 /* end confdefs.h. */
9059 /* Override any GCC internal prototype to avoid an error.
9060 Use char because int might match the return type of a GCC
9061 builtin and then its argument prototype would still apply. */
9065 char XOpenDisplay ();
9069 return XOpenDisplay ();
9074 if ac_fn_c_try_link
"$LINENO"; then :
9077 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dnet_ntoa in -ldnet" >&5
9078 $as_echo_n "checking for dnet_ntoa in -ldnet... " >&6; }
9079 if ${ac_cv_lib_dnet_dnet_ntoa+:} false
; then :
9080 $as_echo_n "(cached) " >&6
9082 ac_check_lib_save_LIBS
=$LIBS
9084 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9085 /* end confdefs.h. */
9087 /* Override any GCC internal prototype to avoid an error.
9088 Use char because int might match the return type of a GCC
9089 builtin and then its argument prototype would still apply. */
9097 return dnet_ntoa ();
9102 if ac_fn_c_try_link
"$LINENO"; then :
9103 ac_cv_lib_dnet_dnet_ntoa
=yes
9105 ac_cv_lib_dnet_dnet_ntoa
=no
9107 rm -f core conftest.err conftest.
$ac_objext \
9108 conftest
$ac_exeext conftest.
$ac_ext
9109 LIBS
=$ac_check_lib_save_LIBS
9111 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dnet_dnet_ntoa" >&5
9112 $as_echo "$ac_cv_lib_dnet_dnet_ntoa" >&6; }
9113 if test "x$ac_cv_lib_dnet_dnet_ntoa" = xyes
; then :
9114 X_EXTRA_LIBS
="$X_EXTRA_LIBS -ldnet"
9117 if test $ac_cv_lib_dnet_dnet_ntoa = no
; then
9118 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dnet_ntoa in -ldnet_stub" >&5
9119 $as_echo_n "checking for dnet_ntoa in -ldnet_stub... " >&6; }
9120 if ${ac_cv_lib_dnet_stub_dnet_ntoa+:} false
; then :
9121 $as_echo_n "(cached) " >&6
9123 ac_check_lib_save_LIBS
=$LIBS
9124 LIBS
="-ldnet_stub $LIBS"
9125 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9126 /* end confdefs.h. */
9128 /* Override any GCC internal prototype to avoid an error.
9129 Use char because int might match the return type of a GCC
9130 builtin and then its argument prototype would still apply. */
9138 return dnet_ntoa ();
9143 if ac_fn_c_try_link
"$LINENO"; then :
9144 ac_cv_lib_dnet_stub_dnet_ntoa
=yes
9146 ac_cv_lib_dnet_stub_dnet_ntoa
=no
9148 rm -f core conftest.err conftest.
$ac_objext \
9149 conftest
$ac_exeext conftest.
$ac_ext
9150 LIBS
=$ac_check_lib_save_LIBS
9152 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dnet_stub_dnet_ntoa" >&5
9153 $as_echo "$ac_cv_lib_dnet_stub_dnet_ntoa" >&6; }
9154 if test "x$ac_cv_lib_dnet_stub_dnet_ntoa" = xyes
; then :
9155 X_EXTRA_LIBS
="$X_EXTRA_LIBS -ldnet_stub"
9160 rm -f core conftest.err conftest.
$ac_objext \
9161 conftest
$ac_exeext conftest.
$ac_ext
9162 LIBS
="$ac_xsave_LIBS"
9164 # msh@cis.ufl.edu says -lnsl (and -lsocket) are needed for his 386/AT,
9165 # to get the SysV transport functions.
9166 # Chad R. Larson says the Pyramis MIS-ES running DC/OSx (SVR4)
9168 # The nsl library prevents programs from opening the X display
9169 # on Irix 5.2, according to T.E. Dickey.
9170 # The functions gethostbyname, getservbyname, and inet_addr are
9171 # in -lbsd on LynxOS 3.0.1/i386, according to Lars Hecking.
9172 ac_fn_c_check_func
"$LINENO" "gethostbyname" "ac_cv_func_gethostbyname"
9173 if test "x$ac_cv_func_gethostbyname" = xyes
; then :
9177 if test $ac_cv_func_gethostbyname = no
; then
9178 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gethostbyname in -lnsl" >&5
9179 $as_echo_n "checking for gethostbyname in -lnsl... " >&6; }
9180 if ${ac_cv_lib_nsl_gethostbyname+:} false
; then :
9181 $as_echo_n "(cached) " >&6
9183 ac_check_lib_save_LIBS
=$LIBS
9185 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9186 /* end confdefs.h. */
9188 /* Override any GCC internal prototype to avoid an error.
9189 Use char because int might match the return type of a GCC
9190 builtin and then its argument prototype would still apply. */
9194 char gethostbyname ();
9198 return gethostbyname ();
9203 if ac_fn_c_try_link
"$LINENO"; then :
9204 ac_cv_lib_nsl_gethostbyname
=yes
9206 ac_cv_lib_nsl_gethostbyname
=no
9208 rm -f core conftest.err conftest.
$ac_objext \
9209 conftest
$ac_exeext conftest.
$ac_ext
9210 LIBS
=$ac_check_lib_save_LIBS
9212 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_nsl_gethostbyname" >&5
9213 $as_echo "$ac_cv_lib_nsl_gethostbyname" >&6; }
9214 if test "x$ac_cv_lib_nsl_gethostbyname" = xyes
; then :
9215 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lnsl"
9218 if test $ac_cv_lib_nsl_gethostbyname = no
; then
9219 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gethostbyname in -lbsd" >&5
9220 $as_echo_n "checking for gethostbyname in -lbsd... " >&6; }
9221 if ${ac_cv_lib_bsd_gethostbyname+:} false
; then :
9222 $as_echo_n "(cached) " >&6
9224 ac_check_lib_save_LIBS
=$LIBS
9226 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9227 /* end confdefs.h. */
9229 /* Override any GCC internal prototype to avoid an error.
9230 Use char because int might match the return type of a GCC
9231 builtin and then its argument prototype would still apply. */
9235 char gethostbyname ();
9239 return gethostbyname ();
9244 if ac_fn_c_try_link
"$LINENO"; then :
9245 ac_cv_lib_bsd_gethostbyname
=yes
9247 ac_cv_lib_bsd_gethostbyname
=no
9249 rm -f core conftest.err conftest.
$ac_objext \
9250 conftest
$ac_exeext conftest.
$ac_ext
9251 LIBS
=$ac_check_lib_save_LIBS
9253 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_bsd_gethostbyname" >&5
9254 $as_echo "$ac_cv_lib_bsd_gethostbyname" >&6; }
9255 if test "x$ac_cv_lib_bsd_gethostbyname" = xyes
; then :
9256 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lbsd"
9262 # lieder@skyler.mavd.honeywell.com says without -lsocket,
9263 # socket/setsockopt and other routines are undefined under SCO ODT
9264 # 2.0. But -lsocket is broken on IRIX 5.2 (and is not necessary
9265 # on later versions), says Simon Leinen: it contains gethostby*
9266 # variants that don't use the name server (or something). -lsocket
9267 # must be given before -lnsl if both are needed. We assume that
9268 # if connect needs -lnsl, so does gethostbyname.
9269 ac_fn_c_check_func
"$LINENO" "connect" "ac_cv_func_connect"
9270 if test "x$ac_cv_func_connect" = xyes
; then :
9274 if test $ac_cv_func_connect = no
; then
9275 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for connect in -lsocket" >&5
9276 $as_echo_n "checking for connect in -lsocket... " >&6; }
9277 if ${ac_cv_lib_socket_connect+:} false
; then :
9278 $as_echo_n "(cached) " >&6
9280 ac_check_lib_save_LIBS
=$LIBS
9281 LIBS
="-lsocket $X_EXTRA_LIBS $LIBS"
9282 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9283 /* end confdefs.h. */
9285 /* Override any GCC internal prototype to avoid an error.
9286 Use char because int might match the return type of a GCC
9287 builtin and then its argument prototype would still apply. */
9300 if ac_fn_c_try_link
"$LINENO"; then :
9301 ac_cv_lib_socket_connect
=yes
9303 ac_cv_lib_socket_connect
=no
9305 rm -f core conftest.err conftest.
$ac_objext \
9306 conftest
$ac_exeext conftest.
$ac_ext
9307 LIBS
=$ac_check_lib_save_LIBS
9309 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_socket_connect" >&5
9310 $as_echo "$ac_cv_lib_socket_connect" >&6; }
9311 if test "x$ac_cv_lib_socket_connect" = xyes
; then :
9312 X_EXTRA_LIBS
="-lsocket $X_EXTRA_LIBS"
9317 # Guillermo Gomez says -lposix is necessary on A/UX.
9318 ac_fn_c_check_func
"$LINENO" "remove" "ac_cv_func_remove"
9319 if test "x$ac_cv_func_remove" = xyes
; then :
9323 if test $ac_cv_func_remove = no
; then
9324 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for remove in -lposix" >&5
9325 $as_echo_n "checking for remove in -lposix... " >&6; }
9326 if ${ac_cv_lib_posix_remove+:} false
; then :
9327 $as_echo_n "(cached) " >&6
9329 ac_check_lib_save_LIBS
=$LIBS
9330 LIBS
="-lposix $LIBS"
9331 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9332 /* end confdefs.h. */
9334 /* Override any GCC internal prototype to avoid an error.
9335 Use char because int might match the return type of a GCC
9336 builtin and then its argument prototype would still apply. */
9349 if ac_fn_c_try_link
"$LINENO"; then :
9350 ac_cv_lib_posix_remove
=yes
9352 ac_cv_lib_posix_remove
=no
9354 rm -f core conftest.err conftest.
$ac_objext \
9355 conftest
$ac_exeext conftest.
$ac_ext
9356 LIBS
=$ac_check_lib_save_LIBS
9358 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_posix_remove" >&5
9359 $as_echo "$ac_cv_lib_posix_remove" >&6; }
9360 if test "x$ac_cv_lib_posix_remove" = xyes
; then :
9361 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lposix"
9366 # BSDI BSD/OS 2.1 needs -lipc for XOpenDisplay.
9367 ac_fn_c_check_func
"$LINENO" "shmat" "ac_cv_func_shmat"
9368 if test "x$ac_cv_func_shmat" = xyes
; then :
9372 if test $ac_cv_func_shmat = no
; then
9373 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shmat in -lipc" >&5
9374 $as_echo_n "checking for shmat in -lipc... " >&6; }
9375 if ${ac_cv_lib_ipc_shmat+:} false
; then :
9376 $as_echo_n "(cached) " >&6
9378 ac_check_lib_save_LIBS
=$LIBS
9380 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9381 /* end confdefs.h. */
9383 /* Override any GCC internal prototype to avoid an error.
9384 Use char because int might match the return type of a GCC
9385 builtin and then its argument prototype would still apply. */
9398 if ac_fn_c_try_link
"$LINENO"; then :
9399 ac_cv_lib_ipc_shmat
=yes
9401 ac_cv_lib_ipc_shmat
=no
9403 rm -f core conftest.err conftest.
$ac_objext \
9404 conftest
$ac_exeext conftest.
$ac_ext
9405 LIBS
=$ac_check_lib_save_LIBS
9407 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ipc_shmat" >&5
9408 $as_echo "$ac_cv_lib_ipc_shmat" >&6; }
9409 if test "x$ac_cv_lib_ipc_shmat" = xyes
; then :
9410 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lipc"
9416 # Check for libraries that X11R6 Xt/Xaw programs need.
9417 ac_save_LDFLAGS
=$LDFLAGS
9418 test -n "$x_libraries" && LDFLAGS
="$LDFLAGS -L$x_libraries"
9419 # SM needs ICE to (dynamically) link under SunOS 4.x (so we have to
9420 # check for ICE first), but we must link in the order -lSM -lICE or
9421 # we get undefined symbols. So assume we have SM if we have ICE.
9422 # These have to be linked with before -lX11, unlike the other
9423 # libraries we check for below, so use a different variable.
9424 # John Interrante, Karl Berry
9425 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for IceConnectionNumber in -lICE" >&5
9426 $as_echo_n "checking for IceConnectionNumber in -lICE... " >&6; }
9427 if ${ac_cv_lib_ICE_IceConnectionNumber+:} false
; then :
9428 $as_echo_n "(cached) " >&6
9430 ac_check_lib_save_LIBS
=$LIBS
9431 LIBS
="-lICE $X_EXTRA_LIBS $LIBS"
9432 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9433 /* end confdefs.h. */
9435 /* Override any GCC internal prototype to avoid an error.
9436 Use char because int might match the return type of a GCC
9437 builtin and then its argument prototype would still apply. */
9441 char IceConnectionNumber ();
9445 return IceConnectionNumber ();
9450 if ac_fn_c_try_link
"$LINENO"; then :
9451 ac_cv_lib_ICE_IceConnectionNumber
=yes
9453 ac_cv_lib_ICE_IceConnectionNumber
=no
9455 rm -f core conftest.err conftest.
$ac_objext \
9456 conftest
$ac_exeext conftest.
$ac_ext
9457 LIBS
=$ac_check_lib_save_LIBS
9459 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ICE_IceConnectionNumber" >&5
9460 $as_echo "$ac_cv_lib_ICE_IceConnectionNumber" >&6; }
9461 if test "x$ac_cv_lib_ICE_IceConnectionNumber" = xyes
; then :
9462 X_PRE_LIBS
="$X_PRE_LIBS -lSM -lICE"
9465 LDFLAGS
=$ac_save_LDFLAGS
9470 if test "$have_x" = "yes"
9472 ac_save_CPPFLAGS
="$CPPFLAGS"
9473 CPPFLAGS
="$CPPFLAGS $X_CFLAGS"
9475 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lX11" >&5
9476 $as_echo_n "checking for -lX11... " >&6; }
9477 if ${ac_cv_lib_soname_X11+:} false
; then :
9478 $as_echo_n "(cached) " >&6
9480 ac_check_soname_save_LIBS
=$LIBS
9481 LIBS
="-lX11 $X_LIBS $X_EXTRA_LIBS $LIBS"
9482 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9483 /* end confdefs.h. */
9485 /* Override any GCC internal prototype to avoid an error.
9486 Use char because int might match the return type of a GCC
9487 builtin and then its argument prototype would still apply. */
9491 char XCreateWindow ();
9495 return XCreateWindow ();
9500 if ac_fn_c_try_link
"$LINENO"; then :
9502 dll
) ac_cv_lib_soname_X11
=`$ac_cv_path_LDD conftest.exe | grep "X11" | sed -e "s/dll.*/dll/"';2,$d'` ;;
9503 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'` ;;
9504 *) ac_cv_lib_soname_X11
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libX11\\.$LIBEXT" | sed -e "s/^.*\\[\\(libX11\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
9505 if ${ac_cv_lib_soname_X11:+false} :; then :
9506 ac_cv_lib_soname_X11
=`$LDD conftest$ac_exeext | grep "libX11\\.$LIBEXT" | sed -e "s/^.*\(libX11\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
9510 rm -f core conftest.err conftest.
$ac_objext \
9511 conftest
$ac_exeext conftest.
$ac_ext
9512 LIBS
=$ac_check_soname_save_LIBS
9514 if ${ac_cv_lib_soname_X11:+false} :; then :
9515 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
9516 $as_echo "not found" >&6; }
9519 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_X11" >&5
9520 $as_echo "$ac_cv_lib_soname_X11" >&6; }
9522 cat >>confdefs.h
<<_ACEOF
9523 #define SONAME_LIBX11 "$ac_cv_lib_soname_X11"
9528 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXext" >&5
9529 $as_echo_n "checking for -lXext... " >&6; }
9530 if ${ac_cv_lib_soname_Xext+:} false
; then :
9531 $as_echo_n "(cached) " >&6
9533 ac_check_soname_save_LIBS
=$LIBS
9534 LIBS
="-lXext $X_LIBS -lX11 $X_EXTRA_LIBS $LIBS"
9535 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9536 /* end confdefs.h. */
9538 /* Override any GCC internal prototype to avoid an error.
9539 Use char because int might match the return type of a GCC
9540 builtin and then its argument prototype would still apply. */
9544 char XextCreateExtension ();
9548 return XextCreateExtension ();
9553 if ac_fn_c_try_link
"$LINENO"; then :
9555 dll
) ac_cv_lib_soname_Xext
=`$ac_cv_path_LDD conftest.exe | grep "Xext" | sed -e "s/dll.*/dll/"';2,$d'` ;;
9556 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'` ;;
9557 *) ac_cv_lib_soname_Xext
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXext\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXext\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
9558 if ${ac_cv_lib_soname_Xext:+false} :; then :
9559 ac_cv_lib_soname_Xext
=`$LDD conftest$ac_exeext | grep "libXext\\.$LIBEXT" | sed -e "s/^.*\(libXext\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
9563 rm -f core conftest.err conftest.
$ac_objext \
9564 conftest
$ac_exeext conftest.
$ac_ext
9565 LIBS
=$ac_check_soname_save_LIBS
9567 if ${ac_cv_lib_soname_Xext:+false} :; then :
9568 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
9569 $as_echo "not found" >&6; }
9572 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xext" >&5
9573 $as_echo "$ac_cv_lib_soname_Xext" >&6; }
9575 cat >>confdefs.h
<<_ACEOF
9576 #define SONAME_LIBXEXT "$ac_cv_lib_soname_Xext"
9579 X_LIBS
="$X_LIBS -lXext"
9581 X_LIBS
="$X_LIBS -lX11"
9583 for ac_header
in X11
/Xlib.h \
9586 X11
/Xcursor
/Xcursor.h \
9587 X11
/extensions
/shape.h \
9588 X11
/extensions
/XInput.h \
9589 X11
/extensions
/XInput2.h \
9590 X11
/extensions
/XShm.h \
9591 X11
/extensions
/Xcomposite.h \
9592 X11
/extensions
/Xinerama.h \
9593 X11
/extensions
/Xrandr.h \
9594 X11
/extensions
/Xrender.h \
9595 X11
/extensions
/xf86vmode.h \
9596 X11
/extensions
/xf86vmproto.h
9598 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
9599 ac_fn_c_check_header_compile
"$LINENO" "$ac_header" "$as_ac_Header" "#ifdef HAVE_X11_XLIB_H
9600 # include <X11/Xlib.h>
9602 #ifdef HAVE_X11_XUTIL_H
9603 # include <X11/Xutil.h>
9606 if eval test \"x\$
"$as_ac_Header"\" = x
"yes"; then :
9607 cat >>confdefs.h
<<_ACEOF
9608 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
9616 if test "$ac_cv_header_X11_XKBlib_h" = "yes"
9618 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XkbQueryExtension in -lX11" >&5
9619 $as_echo_n "checking for XkbQueryExtension in -lX11... " >&6; }
9620 if ${ac_cv_lib_X11_XkbQueryExtension+:} false
; then :
9621 $as_echo_n "(cached) " >&6
9623 ac_check_lib_save_LIBS
=$LIBS
9624 LIBS
="-lX11 $X_LIBS $X_EXTRA_LIBS $LIBS"
9625 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9626 /* end confdefs.h. */
9628 /* Override any GCC internal prototype to avoid an error.
9629 Use char because int might match the return type of a GCC
9630 builtin and then its argument prototype would still apply. */
9634 char XkbQueryExtension ();
9638 return XkbQueryExtension ();
9643 if ac_fn_c_try_link
"$LINENO"; then :
9644 ac_cv_lib_X11_XkbQueryExtension
=yes
9646 ac_cv_lib_X11_XkbQueryExtension
=no
9648 rm -f core conftest.err conftest.
$ac_objext \
9649 conftest
$ac_exeext conftest.
$ac_ext
9650 LIBS
=$ac_check_lib_save_LIBS
9652 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_X11_XkbQueryExtension" >&5
9653 $as_echo "$ac_cv_lib_X11_XkbQueryExtension" >&6; }
9654 if test "x$ac_cv_lib_X11_XkbQueryExtension" = xyes
; then :
9656 $as_echo "#define HAVE_XKB 1" >>confdefs.h
9662 if test "$ac_cv_header_X11_Xcursor_Xcursor_h" = "yes"
9664 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXcursor" >&5
9665 $as_echo_n "checking for -lXcursor... " >&6; }
9666 if ${ac_cv_lib_soname_Xcursor+:} false
; then :
9667 $as_echo_n "(cached) " >&6
9669 ac_check_soname_save_LIBS
=$LIBS
9670 LIBS
="-lXcursor $X_LIBS $X_EXTRA_LIBS $LIBS"
9671 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9672 /* end confdefs.h. */
9674 /* Override any GCC internal prototype to avoid an error.
9675 Use char because int might match the return type of a GCC
9676 builtin and then its argument prototype would still apply. */
9680 char XcursorImageLoadCursor ();
9684 return XcursorImageLoadCursor ();
9689 if ac_fn_c_try_link
"$LINENO"; then :
9691 dll
) ac_cv_lib_soname_Xcursor
=`$ac_cv_path_LDD conftest.exe | grep "Xcursor" | sed -e "s/dll.*/dll/"';2,$d'` ;;
9692 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'` ;;
9693 *) ac_cv_lib_soname_Xcursor
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXcursor\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXcursor\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
9694 if ${ac_cv_lib_soname_Xcursor:+false} :; then :
9695 ac_cv_lib_soname_Xcursor
=`$LDD conftest$ac_exeext | grep "libXcursor\\.$LIBEXT" | sed -e "s/^.*\(libXcursor\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
9699 rm -f core conftest.err conftest.
$ac_objext \
9700 conftest
$ac_exeext conftest.
$ac_ext
9701 LIBS
=$ac_check_soname_save_LIBS
9703 if ${ac_cv_lib_soname_Xcursor:+false} :; then :
9704 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
9705 $as_echo "not found" >&6; }
9708 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xcursor" >&5
9709 $as_echo "$ac_cv_lib_soname_Xcursor" >&6; }
9711 cat >>confdefs.h
<<_ACEOF
9712 #define SONAME_LIBXCURSOR "$ac_cv_lib_soname_Xcursor"
9718 if test "x$ac_cv_lib_soname_Xcursor" = "x"; then :
9719 case "x$with_xcursor" in
9720 x
) as_fn_append wine_notices
"|libxcursor ${notice_platform}development files not found, the Xcursor extension won't be supported." ;;
9722 *) as_fn_error $?
"libxcursor ${notice_platform}development files not found, the Xcursor extension won't be supported.
9723 This is an error since --with-xcursor was requested." "$LINENO" 5 ;;
9727 if test "$ac_cv_header_X11_extensions_XInput_h" = "yes"
9729 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXi" >&5
9730 $as_echo_n "checking for -lXi... " >&6; }
9731 if ${ac_cv_lib_soname_Xi+:} false
; then :
9732 $as_echo_n "(cached) " >&6
9734 ac_check_soname_save_LIBS
=$LIBS
9735 LIBS
="-lXi $X_LIBS $X_EXTRA_LIBS $LIBS"
9736 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9737 /* end confdefs.h. */
9739 /* Override any GCC internal prototype to avoid an error.
9740 Use char because int might match the return type of a GCC
9741 builtin and then its argument prototype would still apply. */
9745 char XOpenDevice ();
9749 return XOpenDevice ();
9754 if ac_fn_c_try_link
"$LINENO"; then :
9756 dll
) ac_cv_lib_soname_Xi
=`$ac_cv_path_LDD conftest.exe | grep "Xi" | sed -e "s/dll.*/dll/"';2,$d'` ;;
9757 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'` ;;
9758 *) ac_cv_lib_soname_Xi
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXi\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXi\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
9759 if ${ac_cv_lib_soname_Xi:+false} :; then :
9760 ac_cv_lib_soname_Xi
=`$LDD conftest$ac_exeext | grep "libXi\\.$LIBEXT" | sed -e "s/^.*\(libXi\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
9764 rm -f core conftest.err conftest.
$ac_objext \
9765 conftest
$ac_exeext conftest.
$ac_ext
9766 LIBS
=$ac_check_soname_save_LIBS
9768 if ${ac_cv_lib_soname_Xi:+false} :; then :
9769 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
9770 $as_echo "not found" >&6; }
9773 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xi" >&5
9774 $as_echo "$ac_cv_lib_soname_Xi" >&6; }
9776 cat >>confdefs.h
<<_ACEOF
9777 #define SONAME_LIBXI "$ac_cv_lib_soname_Xi"
9783 if test "x$ac_cv_lib_soname_Xi" = "x"; then :
9784 case "x$with_xinput" in
9785 x
) as_fn_append wine_notices
"|libxi ${notice_platform}development files not found, the Xinput extension won't be supported." ;;
9787 *) as_fn_error $?
"libxi ${notice_platform}development files not found, the Xinput extension won't be supported.
9788 This is an error since --with-xinput was requested." "$LINENO" 5 ;;
9792 if test "x$ac_cv_lib_soname_Xi" != x
9794 if test "$ac_cv_header_X11_extensions_XInput2_h" != "yes"; then :
9795 case "x$with_xinput2" in
9796 x
) as_fn_append wine_notices
"|XInput2 headers not found, the XInput 2 extension won't be supported." ;;
9798 *) as_fn_error $?
"XInput2 headers not found, the XInput 2 extension won't be supported.
9799 This is an error since --with-xinput2 was requested." "$LINENO" 5 ;;
9804 if test "$ac_cv_header_X11_extensions_XShm_h" = "yes"
9806 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XShmQueryExtension in -lXext" >&5
9807 $as_echo_n "checking for XShmQueryExtension in -lXext... " >&6; }
9808 if ${ac_cv_lib_Xext_XShmQueryExtension+:} false
; then :
9809 $as_echo_n "(cached) " >&6
9811 ac_check_lib_save_LIBS
=$LIBS
9812 LIBS
="-lXext $X_LIBS $X_EXTRA_LIBS $LIBS"
9813 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9814 /* end confdefs.h. */
9816 /* Override any GCC internal prototype to avoid an error.
9817 Use char because int might match the return type of a GCC
9818 builtin and then its argument prototype would still apply. */
9822 char XShmQueryExtension ();
9826 return XShmQueryExtension ();
9831 if ac_fn_c_try_link
"$LINENO"; then :
9832 ac_cv_lib_Xext_XShmQueryExtension
=yes
9834 ac_cv_lib_Xext_XShmQueryExtension
=no
9836 rm -f core conftest.err conftest.
$ac_objext \
9837 conftest
$ac_exeext conftest.
$ac_ext
9838 LIBS
=$ac_check_lib_save_LIBS
9840 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xext_XShmQueryExtension" >&5
9841 $as_echo "$ac_cv_lib_Xext_XShmQueryExtension" >&6; }
9842 if test "x$ac_cv_lib_Xext_XShmQueryExtension" = xyes
; then :
9844 $as_echo "#define HAVE_LIBXXSHM 1" >>confdefs.h
9849 if test "$ac_cv_lib_Xext_XShmQueryExtension" != "yes"; then :
9850 case "x$with_xshm" in
9851 x
) as_fn_append wine_notices
"|XShm ${notice_platform}development files not found, X Shared Memory won't be supported." ;;
9853 *) as_fn_error $?
"XShm ${notice_platform}development files not found, X Shared Memory won't be supported.
9854 This is an error since --with-xshm was requested." "$LINENO" 5 ;;
9858 if test "$ac_cv_header_X11_extensions_shape_h" = "yes"
9860 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XShapeQueryExtension in -lXext" >&5
9861 $as_echo_n "checking for XShapeQueryExtension in -lXext... " >&6; }
9862 if ${ac_cv_lib_Xext_XShapeQueryExtension+:} false
; then :
9863 $as_echo_n "(cached) " >&6
9865 ac_check_lib_save_LIBS
=$LIBS
9866 LIBS
="-lXext $X_LIBS $X_EXTRA_LIBS $LIBS"
9867 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9868 /* end confdefs.h. */
9870 /* Override any GCC internal prototype to avoid an error.
9871 Use char because int might match the return type of a GCC
9872 builtin and then its argument prototype would still apply. */
9876 char XShapeQueryExtension ();
9880 return XShapeQueryExtension ();
9885 if ac_fn_c_try_link
"$LINENO"; then :
9886 ac_cv_lib_Xext_XShapeQueryExtension
=yes
9888 ac_cv_lib_Xext_XShapeQueryExtension
=no
9890 rm -f core conftest.err conftest.
$ac_objext \
9891 conftest
$ac_exeext conftest.
$ac_ext
9892 LIBS
=$ac_check_lib_save_LIBS
9894 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xext_XShapeQueryExtension" >&5
9895 $as_echo "$ac_cv_lib_Xext_XShapeQueryExtension" >&6; }
9896 if test "x$ac_cv_lib_Xext_XShapeQueryExtension" = xyes
; then :
9898 $as_echo "#define HAVE_LIBXSHAPE 1" >>confdefs.h
9903 if test "$ac_cv_lib_Xext_XShapeQueryExtension" != "yes"; then :
9904 case "x$with_xshape" in
9905 x
) as_fn_append wine_notices
"|XShape ${notice_platform}development files not found, XShape won't be supported." ;;
9907 *) as_fn_error $?
"XShape ${notice_platform}development files not found, XShape won't be supported.
9908 This is an error since --with-xshape was requested." "$LINENO" 5 ;;
9912 if test "$ac_cv_header_X11_extensions_xf86vmode_h" = "yes" -o "$ac_cv_header_X11_extensions_xf86vmproto_h" = "yes"
9914 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXxf86vm" >&5
9915 $as_echo_n "checking for -lXxf86vm... " >&6; }
9916 if ${ac_cv_lib_soname_Xxf86vm+:} false
; then :
9917 $as_echo_n "(cached) " >&6
9919 ac_check_soname_save_LIBS
=$LIBS
9920 LIBS
="-lXxf86vm $X_LIBS $X_EXTRA_LIBS $LIBS"
9921 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9922 /* end confdefs.h. */
9924 /* Override any GCC internal prototype to avoid an error.
9925 Use char because int might match the return type of a GCC
9926 builtin and then its argument prototype would still apply. */
9930 char XF86VidModeQueryExtension ();
9934 return XF86VidModeQueryExtension ();
9939 if ac_fn_c_try_link
"$LINENO"; then :
9941 dll
) ac_cv_lib_soname_Xxf86vm
=`$ac_cv_path_LDD conftest.exe | grep "Xxf86vm" | sed -e "s/dll.*/dll/"';2,$d'` ;;
9942 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'` ;;
9943 *) ac_cv_lib_soname_Xxf86vm
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXxf86vm\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXxf86vm\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
9944 if ${ac_cv_lib_soname_Xxf86vm:+false} :; then :
9945 ac_cv_lib_soname_Xxf86vm
=`$LDD conftest$ac_exeext | grep "libXxf86vm\\.$LIBEXT" | sed -e "s/^.*\(libXxf86vm\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
9949 rm -f core conftest.err conftest.
$ac_objext \
9950 conftest
$ac_exeext conftest.
$ac_ext
9951 LIBS
=$ac_check_soname_save_LIBS
9953 if ${ac_cv_lib_soname_Xxf86vm:+false} :; then :
9954 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
9955 $as_echo "not found" >&6; }
9958 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xxf86vm" >&5
9959 $as_echo "$ac_cv_lib_soname_Xxf86vm" >&6; }
9961 cat >>confdefs.h
<<_ACEOF
9962 #define SONAME_LIBXXF86VM "$ac_cv_lib_soname_Xxf86vm"
9968 if test "x$ac_cv_lib_soname_Xxf86vm" = "x"; then :
9969 case "x$with_xxf86vm" in
9970 x
) as_fn_append wine_notices
"|libXxf86vm ${notice_platform}development files not found, XFree86 Vidmode won't be supported." ;;
9972 *) as_fn_error $?
"libXxf86vm ${notice_platform}development files not found, XFree86 Vidmode won't be supported.
9973 This is an error since --with-xxf86vm was requested." "$LINENO" 5 ;;
9977 if test "$ac_cv_header_X11_extensions_Xrender_h" = "yes" -a "x$ac_cv_lib_soname_X11" != "x"
9979 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXrender" >&5
9980 $as_echo_n "checking for -lXrender... " >&6; }
9981 if ${ac_cv_lib_soname_Xrender+:} false
; then :
9982 $as_echo_n "(cached) " >&6
9984 ac_check_soname_save_LIBS
=$LIBS
9985 LIBS
="-lXrender $X_LIBS $X_EXTRA_LIBS $LIBS"
9986 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9987 /* end confdefs.h. */
9989 /* Override any GCC internal prototype to avoid an error.
9990 Use char because int might match the return type of a GCC
9991 builtin and then its argument prototype would still apply. */
9995 char XRenderQueryExtension ();
9999 return XRenderQueryExtension ();
10004 if ac_fn_c_try_link
"$LINENO"; then :
10006 dll
) ac_cv_lib_soname_Xrender
=`$ac_cv_path_LDD conftest.exe | grep "Xrender" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10007 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'` ;;
10008 *) ac_cv_lib_soname_Xrender
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXrender\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXrender\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10009 if ${ac_cv_lib_soname_Xrender:+false} :; then :
10010 ac_cv_lib_soname_Xrender
=`$LDD conftest$ac_exeext | grep "libXrender\\.$LIBEXT" | sed -e "s/^.*\(libXrender\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10014 rm -f core conftest.err conftest.
$ac_objext \
10015 conftest
$ac_exeext conftest.
$ac_ext
10016 LIBS
=$ac_check_soname_save_LIBS
10018 if ${ac_cv_lib_soname_Xrender:+false} :; then :
10019 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10020 $as_echo "not found" >&6; }
10023 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xrender" >&5
10024 $as_echo "$ac_cv_lib_soname_Xrender" >&6; }
10026 cat >>confdefs.h
<<_ACEOF
10027 #define SONAME_LIBXRENDER "$ac_cv_lib_soname_Xrender"
10030 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XRenderSetPictureTransform in -lXrender" >&5
10031 $as_echo_n "checking for XRenderSetPictureTransform in -lXrender... " >&6; }
10032 if ${ac_cv_lib_Xrender_XRenderSetPictureTransform+:} false
; then :
10033 $as_echo_n "(cached) " >&6
10035 ac_check_lib_save_LIBS
=$LIBS
10036 LIBS
="-lXrender $X_LIBS $X_EXTRA_LIBS $LIBS"
10037 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10038 /* end confdefs.h. */
10040 /* Override any GCC internal prototype to avoid an error.
10041 Use char because int might match the return type of a GCC
10042 builtin and then its argument prototype would still apply. */
10046 char XRenderSetPictureTransform ();
10050 return XRenderSetPictureTransform ();
10055 if ac_fn_c_try_link
"$LINENO"; then :
10056 ac_cv_lib_Xrender_XRenderSetPictureTransform
=yes
10058 ac_cv_lib_Xrender_XRenderSetPictureTransform
=no
10060 rm -f core conftest.err conftest.
$ac_objext \
10061 conftest
$ac_exeext conftest.
$ac_ext
10062 LIBS
=$ac_check_lib_save_LIBS
10064 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xrender_XRenderSetPictureTransform" >&5
10065 $as_echo "$ac_cv_lib_Xrender_XRenderSetPictureTransform" >&6; }
10066 if test "x$ac_cv_lib_Xrender_XRenderSetPictureTransform" = xyes
; then :
10068 $as_echo "#define HAVE_XRENDERSETPICTURETRANSFORM 1" >>confdefs.h
10072 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XRenderCreateLinearGradient in -lXrender" >&5
10073 $as_echo_n "checking for XRenderCreateLinearGradient in -lXrender... " >&6; }
10074 if ${ac_cv_lib_Xrender_XRenderCreateLinearGradient+:} false
; then :
10075 $as_echo_n "(cached) " >&6
10077 ac_check_lib_save_LIBS
=$LIBS
10078 LIBS
="-lXrender $X_LIBS $X_EXTRA_LIBS $LIBS"
10079 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10080 /* end confdefs.h. */
10082 /* Override any GCC internal prototype to avoid an error.
10083 Use char because int might match the return type of a GCC
10084 builtin and then its argument prototype would still apply. */
10088 char XRenderCreateLinearGradient ();
10092 return XRenderCreateLinearGradient ();
10097 if ac_fn_c_try_link
"$LINENO"; then :
10098 ac_cv_lib_Xrender_XRenderCreateLinearGradient
=yes
10100 ac_cv_lib_Xrender_XRenderCreateLinearGradient
=no
10102 rm -f core conftest.err conftest.
$ac_objext \
10103 conftest
$ac_exeext conftest.
$ac_ext
10104 LIBS
=$ac_check_lib_save_LIBS
10106 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xrender_XRenderCreateLinearGradient" >&5
10107 $as_echo "$ac_cv_lib_Xrender_XRenderCreateLinearGradient" >&6; }
10108 if test "x$ac_cv_lib_Xrender_XRenderCreateLinearGradient" = xyes
; then :
10110 $as_echo "#define HAVE_XRENDERCREATELINEARGRADIENT 1" >>confdefs.h
10117 if test "x$ac_cv_lib_soname_Xrender" = "x"; then :
10118 case "x$with_xrender" in
10119 x
) as_fn_append wine_warnings
"|libxrender ${notice_platform}development files not found, XRender won't be supported." ;;
10121 *) as_fn_error $?
"libxrender ${notice_platform}development files not found, XRender won't be supported.
10122 This is an error since --with-xrender was requested." "$LINENO" 5 ;;
10126 if test "$ac_cv_header_X11_extensions_Xrandr_h" = "yes" -a "x$ac_cv_lib_soname_Xrender" != "x"
10128 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10129 /* end confdefs.h. */
10130 #include <X11/Xlib.h>
10131 #include <X11/extensions/Xrandr.h>
10135 static typeof(XRRSetScreenConfigAndRate) * func; if (func) return 0;
10140 if ac_fn_c_try_compile
"$LINENO"; then :
10141 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXrandr" >&5
10142 $as_echo_n "checking for -lXrandr... " >&6; }
10143 if ${ac_cv_lib_soname_Xrandr+:} false
; then :
10144 $as_echo_n "(cached) " >&6
10146 ac_check_soname_save_LIBS
=$LIBS
10147 LIBS
="-lXrandr $X_LIBS $X_EXTRA_LIBS $LIBS"
10148 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10149 /* end confdefs.h. */
10151 /* Override any GCC internal prototype to avoid an error.
10152 Use char because int might match the return type of a GCC
10153 builtin and then its argument prototype would still apply. */
10157 char XRRQueryExtension ();
10161 return XRRQueryExtension ();
10166 if ac_fn_c_try_link
"$LINENO"; then :
10168 dll
) ac_cv_lib_soname_Xrandr
=`$ac_cv_path_LDD conftest.exe | grep "Xrandr" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10169 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'` ;;
10170 *) ac_cv_lib_soname_Xrandr
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXrandr\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXrandr\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10171 if ${ac_cv_lib_soname_Xrandr:+false} :; then :
10172 ac_cv_lib_soname_Xrandr
=`$LDD conftest$ac_exeext | grep "libXrandr\\.$LIBEXT" | sed -e "s/^.*\(libXrandr\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10176 rm -f core conftest.err conftest.
$ac_objext \
10177 conftest
$ac_exeext conftest.
$ac_ext
10178 LIBS
=$ac_check_soname_save_LIBS
10180 if ${ac_cv_lib_soname_Xrandr:+false} :; then :
10181 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10182 $as_echo "not found" >&6; }
10185 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xrandr" >&5
10186 $as_echo "$ac_cv_lib_soname_Xrandr" >&6; }
10188 cat >>confdefs.h
<<_ACEOF
10189 #define SONAME_LIBXRANDR "$ac_cv_lib_soname_Xrandr"
10192 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10193 /* end confdefs.h. */
10194 #include <X11/Xlib.h>
10195 #include <X11/extensions/Xrandr.h>
10199 static typeof(XRRGetScreenResources) *f; if (f) return 0;
10204 if ac_fn_c_try_compile
"$LINENO"; then :
10206 $as_echo "#define HAVE_XRRGETSCREENRESOURCES 1" >>confdefs.h
10209 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
10212 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
10214 if test "x$ac_cv_lib_soname_Xrandr" = "x"; then :
10215 case "x$with_xrandr" in
10216 x
) as_fn_append wine_notices
"|libxrandr ${notice_platform}development files not found, XRandr won't be supported." ;;
10218 *) as_fn_error $?
"libxrandr ${notice_platform}development files not found, XRandr won't be supported.
10219 This is an error since --with-xrandr was requested." "$LINENO" 5 ;;
10223 if test "$ac_cv_header_X11_extensions_Xinerama_h" = "yes"
10225 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10226 /* end confdefs.h. */
10227 #include <X11/Xlib.h>
10228 #include <X11/extensions/Xinerama.h>
10232 static typeof(XineramaQueryScreens) * func; if (func) return 0;
10237 if ac_fn_c_try_compile
"$LINENO"; then :
10238 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXinerama" >&5
10239 $as_echo_n "checking for -lXinerama... " >&6; }
10240 if ${ac_cv_lib_soname_Xinerama+:} false
; then :
10241 $as_echo_n "(cached) " >&6
10243 ac_check_soname_save_LIBS
=$LIBS
10244 LIBS
="-lXinerama $X_LIBS $X_EXTRA_LIBS $LIBS"
10245 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10246 /* end confdefs.h. */
10248 /* Override any GCC internal prototype to avoid an error.
10249 Use char because int might match the return type of a GCC
10250 builtin and then its argument prototype would still apply. */
10254 char XineramaQueryScreens ();
10258 return XineramaQueryScreens ();
10263 if ac_fn_c_try_link
"$LINENO"; then :
10265 dll
) ac_cv_lib_soname_Xinerama
=`$ac_cv_path_LDD conftest.exe | grep "Xinerama" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10266 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'` ;;
10267 *) ac_cv_lib_soname_Xinerama
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXinerama\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXinerama\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10268 if ${ac_cv_lib_soname_Xinerama:+false} :; then :
10269 ac_cv_lib_soname_Xinerama
=`$LDD conftest$ac_exeext | grep "libXinerama\\.$LIBEXT" | sed -e "s/^.*\(libXinerama\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10273 rm -f core conftest.err conftest.
$ac_objext \
10274 conftest
$ac_exeext conftest.
$ac_ext
10275 LIBS
=$ac_check_soname_save_LIBS
10277 if ${ac_cv_lib_soname_Xinerama:+false} :; then :
10278 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10279 $as_echo "not found" >&6; }
10282 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xinerama" >&5
10283 $as_echo "$ac_cv_lib_soname_Xinerama" >&6; }
10285 cat >>confdefs.h
<<_ACEOF
10286 #define SONAME_LIBXINERAMA "$ac_cv_lib_soname_Xinerama"
10292 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
10294 if test "x$ac_cv_lib_soname_Xinerama" = "x"; then :
10295 case "x$with_xinerama" in
10296 x
) as_fn_append wine_notices
"|libxinerama ${notice_platform}development files not found, multi-monitor setups won't be supported." ;;
10298 *) as_fn_error $?
"libxinerama ${notice_platform}development files not found, multi-monitor setups won't be supported.
10299 This is an error since --with-xinerama was requested." "$LINENO" 5 ;;
10303 if test "$ac_cv_header_X11_extensions_Xcomposite_h" = "yes"
10305 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXcomposite" >&5
10306 $as_echo_n "checking for -lXcomposite... " >&6; }
10307 if ${ac_cv_lib_soname_Xcomposite+:} false
; then :
10308 $as_echo_n "(cached) " >&6
10310 ac_check_soname_save_LIBS
=$LIBS
10311 LIBS
="-lXcomposite $X_LIBS $X_EXTRA_LIBS $LIBS"
10312 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10313 /* end confdefs.h. */
10315 /* Override any GCC internal prototype to avoid an error.
10316 Use char because int might match the return type of a GCC
10317 builtin and then its argument prototype would still apply. */
10321 char XCompositeRedirectWindow ();
10325 return XCompositeRedirectWindow ();
10330 if ac_fn_c_try_link
"$LINENO"; then :
10332 dll
) ac_cv_lib_soname_Xcomposite
=`$ac_cv_path_LDD conftest.exe | grep "Xcomposite" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10333 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'` ;;
10334 *) ac_cv_lib_soname_Xcomposite
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXcomposite\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXcomposite\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10335 if ${ac_cv_lib_soname_Xcomposite:+false} :; then :
10336 ac_cv_lib_soname_Xcomposite
=`$LDD conftest$ac_exeext | grep "libXcomposite\\.$LIBEXT" | sed -e "s/^.*\(libXcomposite\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10340 rm -f core conftest.err conftest.
$ac_objext \
10341 conftest
$ac_exeext conftest.
$ac_ext
10342 LIBS
=$ac_check_soname_save_LIBS
10344 if ${ac_cv_lib_soname_Xcomposite:+false} :; then :
10345 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10346 $as_echo "not found" >&6; }
10349 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xcomposite" >&5
10350 $as_echo "$ac_cv_lib_soname_Xcomposite" >&6; }
10352 cat >>confdefs.h
<<_ACEOF
10353 #define SONAME_LIBXCOMPOSITE "$ac_cv_lib_soname_Xcomposite"
10359 if test "x$ac_cv_lib_soname_Xcomposite" = "x"; then :
10360 case "x$with_xcomposite" in
10361 x
) as_fn_append wine_notices
"|libxcomposite ${notice_platform}development files not found, Xcomposite won't be supported." ;;
10363 *) as_fn_error $?
"libxcomposite ${notice_platform}development files not found, Xcomposite won't be supported.
10364 This is an error since --with-xcomposite was requested." "$LINENO" 5 ;;
10368 ac_fn_c_check_member
"$LINENO" "XICCallback" "callback" "ac_cv_member_XICCallback_callback" "#ifdef HAVE_X11_XLIB_H
10369 #include <X11/Xlib.h>
10372 if test "x$ac_cv_member_XICCallback_callback" = xyes
; then :
10374 cat >>confdefs.h
<<_ACEOF
10375 #define HAVE_XICCALLBACK_CALLBACK 1
10380 ac_fn_c_check_member
"$LINENO" "XEvent" "xcookie" "ac_cv_member_XEvent_xcookie" "#ifdef HAVE_X11_XLIB_H
10381 #include <X11/Xlib.h>
10384 if test "x$ac_cv_member_XEvent_xcookie" = xyes
; then :
10386 cat >>confdefs.h
<<_ACEOF
10387 #define HAVE_XEVENT_XCOOKIE 1
10396 if test "x$with_opengl" != "xno"
10398 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lGL" >&5
10399 $as_echo_n "checking for -lGL... " >&6; }
10400 if ${ac_cv_lib_soname_GL+:} false
; then :
10401 $as_echo_n "(cached) " >&6
10403 ac_check_soname_save_LIBS
=$LIBS
10404 LIBS
="-lGL $X_LIBS -lm $X_EXTRA_LIBS $LIBS"
10405 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10406 /* end confdefs.h. */
10408 /* Override any GCC internal prototype to avoid an error.
10409 Use char because int might match the return type of a GCC
10410 builtin and then its argument prototype would still apply. */
10414 char glXCreateContext ();
10418 return glXCreateContext ();
10423 if ac_fn_c_try_link
"$LINENO"; then :
10425 dll
) ac_cv_lib_soname_GL
=`$ac_cv_path_LDD conftest.exe | grep "GL" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10426 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'` ;;
10427 *) ac_cv_lib_soname_GL
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libGL\\.$LIBEXT" | sed -e "s/^.*\\[\\(libGL\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10428 if ${ac_cv_lib_soname_GL:+false} :; then :
10429 ac_cv_lib_soname_GL
=`$LDD conftest$ac_exeext | grep "libGL\\.$LIBEXT" | sed -e "s/^.*\(libGL\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10433 rm -f core conftest.err conftest.
$ac_objext \
10434 conftest
$ac_exeext conftest.
$ac_ext
10435 LIBS
=$ac_check_soname_save_LIBS
10437 if ${ac_cv_lib_soname_GL:+false} :; then :
10438 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10439 $as_echo "not found" >&6; }
10440 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lGL" >&5
10441 $as_echo_n "checking for -lGL... " >&6; }
10442 if ${ac_cv_lib_soname_GL+:} false
; then :
10443 $as_echo_n "(cached) " >&6
10445 ac_check_soname_save_LIBS
=$LIBS
10446 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"
10447 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10448 /* end confdefs.h. */
10450 /* Override any GCC internal prototype to avoid an error.
10451 Use char because int might match the return type of a GCC
10452 builtin and then its argument prototype would still apply. */
10456 char glXCreateContext ();
10460 return glXCreateContext ();
10465 if ac_fn_c_try_link
"$LINENO"; then :
10467 dll
) ac_cv_lib_soname_GL
=`$ac_cv_path_LDD conftest.exe | grep "GL" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10468 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'` ;;
10469 *) ac_cv_lib_soname_GL
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libGL\\.$LIBEXT" | sed -e "s/^.*\\[\\(libGL\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10470 if ${ac_cv_lib_soname_GL:+false} :; then :
10471 ac_cv_lib_soname_GL
=`$LDD conftest$ac_exeext | grep "libGL\\.$LIBEXT" | sed -e "s/^.*\(libGL\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10475 rm -f core conftest.err conftest.
$ac_objext \
10476 conftest
$ac_exeext conftest.
$ac_ext
10477 LIBS
=$ac_check_soname_save_LIBS
10479 if ${ac_cv_lib_soname_GL:+false} :; then :
10480 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10481 $as_echo "not found" >&6; }
10482 if test -f /usr
/X11R
6/lib
/libGL.a
10484 opengl_msg
="/usr/X11R6/lib/libGL.a is present on your system.
10485 This probably prevents linking to OpenGL. Try deleting the file and restarting configure."
10487 opengl_msg
="No OpenGL library found on this system."
10490 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_GL" >&5
10491 $as_echo "$ac_cv_lib_soname_GL" >&6; }
10493 cat >>confdefs.h
<<_ACEOF
10494 #define SONAME_LIBGL "$ac_cv_lib_soname_GL"
10497 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"
10500 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_GL" >&5
10501 $as_echo "$ac_cv_lib_soname_GL" >&6; }
10503 cat >>confdefs.h
<<_ACEOF
10504 #define SONAME_LIBGL "$ac_cv_lib_soname_GL"
10509 if test "x$with_glu" != "xno"
10511 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gluLookAt in -lGLU" >&5
10512 $as_echo_n "checking for gluLookAt in -lGLU... " >&6; }
10513 if ${ac_cv_lib_GLU_gluLookAt+:} false
; then :
10514 $as_echo_n "(cached) " >&6
10516 ac_check_lib_save_LIBS
=$LIBS
10517 LIBS
="-lGLU $OPENGL_LIBS $X_LIBS -lm $X_EXTRA_LIBS $LIBS"
10518 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10519 /* end confdefs.h. */
10521 /* Override any GCC internal prototype to avoid an error.
10522 Use char because int might match the return type of a GCC
10523 builtin and then its argument prototype would still apply. */
10531 return gluLookAt ();
10536 if ac_fn_c_try_link
"$LINENO"; then :
10537 ac_cv_lib_GLU_gluLookAt
=yes
10539 ac_cv_lib_GLU_gluLookAt
=no
10541 rm -f core conftest.err conftest.
$ac_objext \
10542 conftest
$ac_exeext conftest.
$ac_ext
10543 LIBS
=$ac_check_lib_save_LIBS
10545 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_GLU_gluLookAt" >&5
10546 $as_echo "$ac_cv_lib_GLU_gluLookAt" >&6; }
10547 if test "x$ac_cv_lib_GLU_gluLookAt" = xyes
; then :
10551 if test "x$ac_cv_lib_GLU_gluLookAt" != xyes
; then :
10552 case "x$with_glu" in
10553 x
) as_fn_append wine_notices
"|libGLU ${notice_platform}development files not found, GLU won't be supported." ;;
10555 *) as_fn_error $?
"libGLU ${notice_platform}development files not found, GLU won't be supported.
10556 This is an error since --with-glu was requested." "$LINENO" 5 ;;
10561 if test "x$with_osmesa" != "xno"
10563 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lOSMesa" >&5
10564 $as_echo_n "checking for -lOSMesa... " >&6; }
10565 if ${ac_cv_lib_soname_OSMesa+:} false
; then :
10566 $as_echo_n "(cached) " >&6
10568 ac_check_soname_save_LIBS
=$LIBS
10569 LIBS
="-lOSMesa $X_LIBS -lm $X_EXTRA_LIBS $LIBS"
10570 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10571 /* end confdefs.h. */
10573 /* Override any GCC internal prototype to avoid an error.
10574 Use char because int might match the return type of a GCC
10575 builtin and then its argument prototype would still apply. */
10588 if ac_fn_c_try_link
"$LINENO"; then :
10590 dll
) ac_cv_lib_soname_OSMesa
=`$ac_cv_path_LDD conftest.exe | grep "OSMesa" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10591 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'` ;;
10592 *) ac_cv_lib_soname_OSMesa
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libOSMesa\\.$LIBEXT" | sed -e "s/^.*\\[\\(libOSMesa\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10593 if ${ac_cv_lib_soname_OSMesa:+false} :; then :
10594 ac_cv_lib_soname_OSMesa
=`$LDD conftest$ac_exeext | grep "libOSMesa\\.$LIBEXT" | sed -e "s/^.*\(libOSMesa\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10598 rm -f core conftest.err conftest.
$ac_objext \
10599 conftest
$ac_exeext conftest.
$ac_ext
10600 LIBS
=$ac_check_soname_save_LIBS
10602 if ${ac_cv_lib_soname_OSMesa:+false} :; then :
10603 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10604 $as_echo "not found" >&6; }
10607 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_OSMesa" >&5
10608 $as_echo "$ac_cv_lib_soname_OSMesa" >&6; }
10610 cat >>confdefs.h
<<_ACEOF
10611 #define SONAME_LIBOSMESA "$ac_cv_lib_soname_OSMesa"
10616 if test "x$ac_cv_lib_soname_OSMesa" = "x"; then :
10617 case "x$with_osmesa" in
10618 x
) as_fn_append wine_notices
"|libOSMesa ${notice_platform}development files not found (or too old), OpenGL rendering in bitmaps won't be supported." ;;
10620 *) as_fn_error $?
"libOSMesa ${notice_platform}development files not found (or too old), OpenGL rendering in bitmaps won't be supported.
10621 This is an error since --with-osmesa was requested." "$LINENO" 5 ;;
10626 if test -n "$opengl_msg"; then :
10627 case "x$with_opengl" in
10628 x
) as_fn_append wine_warnings
"|$opengl_msg
10629 OpenGL and Direct3D won't be supported." ;;
10631 *) as_fn_error $?
"$opengl_msg
10632 OpenGL and Direct3D won't be supported.
10633 This is an error since --with-opengl was requested." "$LINENO" 5 ;;
10637 CPPFLAGS
="$ac_save_CPPFLAGS"
10641 enable_winex11_drv
=${enable_winex11_drv:-no}
10643 if test "x$X_LIBS" = "x"; then :
10646 *) as_fn_error $?
"X ${notice_platform}development files not found. Wine will be built
10647 without X support, which probably isn't what you want. You will need
10648 to install ${notice_platform}development packages of Xlib/Xfree86 at the very least.
10649 Use the --without-x option if you really want this." "$LINENO" 5 ;;
10653 test "x$ac_cv_lib_GLU_gluLookAt" != xyes
&& enable_glu32
=${enable_glu32:-no}
10655 if test "$ac_cv_header_CL_cl_h" = "yes"
10657 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for clGetPlatformInfo in -lOpenCL" >&5
10658 $as_echo_n "checking for clGetPlatformInfo in -lOpenCL... " >&6; }
10659 if ${ac_cv_lib_OpenCL_clGetPlatformInfo+:} false
; then :
10660 $as_echo_n "(cached) " >&6
10662 ac_check_lib_save_LIBS
=$LIBS
10663 LIBS
="-lOpenCL $LIBS"
10664 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10665 /* end confdefs.h. */
10667 /* Override any GCC internal prototype to avoid an error.
10668 Use char because int might match the return type of a GCC
10669 builtin and then its argument prototype would still apply. */
10673 char clGetPlatformInfo ();
10677 return clGetPlatformInfo ();
10682 if ac_fn_c_try_link
"$LINENO"; then :
10683 ac_cv_lib_OpenCL_clGetPlatformInfo
=yes
10685 ac_cv_lib_OpenCL_clGetPlatformInfo
=no
10687 rm -f core conftest.err conftest.
$ac_objext \
10688 conftest
$ac_exeext conftest.
$ac_ext
10689 LIBS
=$ac_check_lib_save_LIBS
10691 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_OpenCL_clGetPlatformInfo" >&5
10692 $as_echo "$ac_cv_lib_OpenCL_clGetPlatformInfo" >&6; }
10693 if test "x$ac_cv_lib_OpenCL_clGetPlatformInfo" = xyes
; then :
10694 OPENCL_LIBS
="-lOpenCL"
10699 if test "x$ac_cv_lib_OpenCL_clGetPlatformInfo" != xyes
; then :
10700 case "x$with_opencl" in
10701 x
) as_fn_append wine_notices
"|OpenCL ${notice_platform}development files not found, OpenCL won't be supported." ;;
10703 *) as_fn_error $?
"OpenCL ${notice_platform}development files not found, OpenCL won't be supported.
10704 This is an error since --with-opencl was requested." "$LINENO" 5 ;;
10707 test "x$ac_cv_lib_OpenCL_clGetPlatformInfo" != xyes
&& enable_opencl
=${enable_opencl:-no}
10709 if test "$ac_cv_header_pcap_pcap_h" = "yes"
10711 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pcap_create in -lpcap" >&5
10712 $as_echo_n "checking for pcap_create in -lpcap... " >&6; }
10713 if ${ac_cv_lib_pcap_pcap_create+:} false
; then :
10714 $as_echo_n "(cached) " >&6
10716 ac_check_lib_save_LIBS
=$LIBS
10717 LIBS
="-lpcap $LIBS"
10718 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10719 /* end confdefs.h. */
10721 /* Override any GCC internal prototype to avoid an error.
10722 Use char because int might match the return type of a GCC
10723 builtin and then its argument prototype would still apply. */
10727 char pcap_create ();
10731 return pcap_create ();
10736 if ac_fn_c_try_link
"$LINENO"; then :
10737 ac_cv_lib_pcap_pcap_create
=yes
10739 ac_cv_lib_pcap_pcap_create
=no
10741 rm -f core conftest.err conftest.
$ac_objext \
10742 conftest
$ac_exeext conftest.
$ac_ext
10743 LIBS
=$ac_check_lib_save_LIBS
10745 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_pcap_pcap_create" >&5
10746 $as_echo "$ac_cv_lib_pcap_pcap_create" >&6; }
10747 if test "x$ac_cv_lib_pcap_pcap_create" = xyes
; then :
10753 if test "x$ac_cv_lib_pcap_pcap_create" != xyes
; then :
10754 case "x$with_pcap" in
10755 x
) as_fn_append wine_notices
"|pcap ${notice_platform}development files not found, wpcap won't be supported." ;;
10757 *) as_fn_error $?
"pcap ${notice_platform}development files not found, wpcap won't be supported.
10758 This is an error since --with-pcap was requested." "$LINENO" 5 ;;
10761 test "x$ac_cv_lib_pcap_pcap_create" != xyes
&& enable_wpcap
=${enable_wpcap:-no}
10764 if test "x$with_xml" != "xno"
10766 if ${XML2_CFLAGS:+false} :; then :
10767 if ${PKG_CONFIG+:} false
; then :
10768 XML2_CFLAGS
=`$PKG_CONFIG --cflags libxml-2.0 2>/dev/null`
10771 test "$cross_compiling" = yes || XML2_CFLAGS
=${XML2_CFLAGS:-`xml2-config --cflags 2>/dev/null`}
10772 if ${XML2_LIBS:+false} :; then :
10773 if ${PKG_CONFIG+:} false
; then :
10774 XML2_LIBS
=`$PKG_CONFIG --libs libxml-2.0 2>/dev/null`
10777 test "$cross_compiling" = yes || XML2_LIBS
=${XML2_LIBS:-`xml2-config --libs 2>/dev/null`}
10778 XML2_LIBS
=${XML2_LIBS:-"-lxml2"}
10779 $as_echo "$as_me:${as_lineno-$LINENO}: libxml-2.0 cflags: $XML2_CFLAGS" >&5
10780 $as_echo "$as_me:${as_lineno-$LINENO}: libxml-2.0 libs: $XML2_LIBS" >&5
10781 ac_save_CPPFLAGS
=$CPPFLAGS
10782 CPPFLAGS
="$CPPFLAGS $XML2_CFLAGS"
10783 for ac_header
in libxml
/parser.h libxml
/xmlsave.h libxml
/SAX2.h
10785 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
10786 ac_fn_c_check_header_mongrel
"$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
10787 if eval test \"x\$
"$as_ac_Header"\" = x
"yes"; then :
10788 cat >>confdefs.h
<<_ACEOF
10789 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
10796 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"
10798 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlParseMemory in -lxml2" >&5
10799 $as_echo_n "checking for xmlParseMemory in -lxml2... " >&6; }
10800 if ${ac_cv_lib_xml2_xmlParseMemory+:} false
; then :
10801 $as_echo_n "(cached) " >&6
10803 ac_check_lib_save_LIBS
=$LIBS
10804 LIBS
="-lxml2 $XML2_LIBS $LIBS"
10805 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10806 /* end confdefs.h. */
10808 /* Override any GCC internal prototype to avoid an error.
10809 Use char because int might match the return type of a GCC
10810 builtin and then its argument prototype would still apply. */
10814 char xmlParseMemory ();
10818 return xmlParseMemory ();
10823 if ac_fn_c_try_link
"$LINENO"; then :
10824 ac_cv_lib_xml2_xmlParseMemory
=yes
10826 ac_cv_lib_xml2_xmlParseMemory
=no
10828 rm -f core conftest.err conftest.
$ac_objext \
10829 conftest
$ac_exeext conftest.
$ac_ext
10830 LIBS
=$ac_check_lib_save_LIBS
10832 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlParseMemory" >&5
10833 $as_echo "$ac_cv_lib_xml2_xmlParseMemory" >&6; }
10834 if test "x$ac_cv_lib_xml2_xmlParseMemory" = xyes
; then :
10836 $as_echo "#define HAVE_LIBXML2 1" >>confdefs.h
10842 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlReadMemory in -lxml2" >&5
10843 $as_echo_n "checking for xmlReadMemory in -lxml2... " >&6; }
10844 if ${ac_cv_lib_xml2_xmlReadMemory+:} false
; then :
10845 $as_echo_n "(cached) " >&6
10847 ac_check_lib_save_LIBS
=$LIBS
10848 LIBS
="-lxml2 $XML2_LIBS $LIBS"
10849 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10850 /* end confdefs.h. */
10852 /* Override any GCC internal prototype to avoid an error.
10853 Use char because int might match the return type of a GCC
10854 builtin and then its argument prototype would still apply. */
10858 char xmlReadMemory ();
10862 return xmlReadMemory ();
10867 if ac_fn_c_try_link
"$LINENO"; then :
10868 ac_cv_lib_xml2_xmlReadMemory
=yes
10870 ac_cv_lib_xml2_xmlReadMemory
=no
10872 rm -f core conftest.err conftest.
$ac_objext \
10873 conftest
$ac_exeext conftest.
$ac_ext
10874 LIBS
=$ac_check_lib_save_LIBS
10876 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlReadMemory" >&5
10877 $as_echo "$ac_cv_lib_xml2_xmlReadMemory" >&6; }
10878 if test "x$ac_cv_lib_xml2_xmlReadMemory" = xyes
; then :
10880 $as_echo "#define HAVE_XMLREADMEMORY 1" >>confdefs.h
10884 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlNewDocPI in -lxml2" >&5
10885 $as_echo_n "checking for xmlNewDocPI in -lxml2... " >&6; }
10886 if ${ac_cv_lib_xml2_xmlNewDocPI+:} false
; then :
10887 $as_echo_n "(cached) " >&6
10889 ac_check_lib_save_LIBS
=$LIBS
10890 LIBS
="-lxml2 $XML2_LIBS $LIBS"
10891 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10892 /* end confdefs.h. */
10894 /* Override any GCC internal prototype to avoid an error.
10895 Use char because int might match the return type of a GCC
10896 builtin and then its argument prototype would still apply. */
10900 char xmlNewDocPI ();
10904 return xmlNewDocPI ();
10909 if ac_fn_c_try_link
"$LINENO"; then :
10910 ac_cv_lib_xml2_xmlNewDocPI
=yes
10912 ac_cv_lib_xml2_xmlNewDocPI
=no
10914 rm -f core conftest.err conftest.
$ac_objext \
10915 conftest
$ac_exeext conftest.
$ac_ext
10916 LIBS
=$ac_check_lib_save_LIBS
10918 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlNewDocPI" >&5
10919 $as_echo "$ac_cv_lib_xml2_xmlNewDocPI" >&6; }
10920 if test "x$ac_cv_lib_xml2_xmlNewDocPI" = xyes
; then :
10922 $as_echo "#define HAVE_XMLNEWDOCPI 1" >>confdefs.h
10926 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlSchemaSetParserStructuredErrors in -lxml2" >&5
10927 $as_echo_n "checking for xmlSchemaSetParserStructuredErrors in -lxml2... " >&6; }
10928 if ${ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors+:} false
; then :
10929 $as_echo_n "(cached) " >&6
10931 ac_check_lib_save_LIBS
=$LIBS
10932 LIBS
="-lxml2 $XML2_LIBS $LIBS"
10933 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10934 /* end confdefs.h. */
10936 /* Override any GCC internal prototype to avoid an error.
10937 Use char because int might match the return type of a GCC
10938 builtin and then its argument prototype would still apply. */
10942 char xmlSchemaSetParserStructuredErrors ();
10946 return xmlSchemaSetParserStructuredErrors ();
10951 if ac_fn_c_try_link
"$LINENO"; then :
10952 ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors
=yes
10954 ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors
=no
10956 rm -f core conftest.err conftest.
$ac_objext \
10957 conftest
$ac_exeext conftest.
$ac_ext
10958 LIBS
=$ac_check_lib_save_LIBS
10960 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors" >&5
10961 $as_echo "$ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors" >&6; }
10962 if test "x$ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors" = xyes
; then :
10964 $as_echo "#define HAVE_XMLSCHEMASSETPARSERSTRUCTUREDERRORS 1" >>confdefs.h
10968 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlSchemaSetValidStructuredErrors in -lxml2" >&5
10969 $as_echo_n "checking for xmlSchemaSetValidStructuredErrors in -lxml2... " >&6; }
10970 if ${ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors+:} false
; then :
10971 $as_echo_n "(cached) " >&6
10973 ac_check_lib_save_LIBS
=$LIBS
10974 LIBS
="-lxml2 $XML2_LIBS $LIBS"
10975 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10976 /* end confdefs.h. */
10978 /* Override any GCC internal prototype to avoid an error.
10979 Use char because int might match the return type of a GCC
10980 builtin and then its argument prototype would still apply. */
10984 char xmlSchemaSetValidStructuredErrors ();
10988 return xmlSchemaSetValidStructuredErrors ();
10993 if ac_fn_c_try_link
"$LINENO"; then :
10994 ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors
=yes
10996 ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors
=no
10998 rm -f core conftest.err conftest.
$ac_objext \
10999 conftest
$ac_exeext conftest.
$ac_ext
11000 LIBS
=$ac_check_lib_save_LIBS
11002 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors" >&5
11003 $as_echo "$ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors" >&6; }
11004 if test "x$ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors" = xyes
; then :
11006 $as_echo "#define HAVE_XMLSCHEMASSETVALIDSTRUCTUREDERRORS 1" >>confdefs.h
11010 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlFirstElementChild in -lxml2" >&5
11011 $as_echo_n "checking for xmlFirstElementChild in -lxml2... " >&6; }
11012 if ${ac_cv_lib_xml2_xmlFirstElementChild+:} false
; then :
11013 $as_echo_n "(cached) " >&6
11015 ac_check_lib_save_LIBS
=$LIBS
11016 LIBS
="-lxml2 $XML2_LIBS $LIBS"
11017 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11018 /* end confdefs.h. */
11020 /* Override any GCC internal prototype to avoid an error.
11021 Use char because int might match the return type of a GCC
11022 builtin and then its argument prototype would still apply. */
11026 char xmlFirstElementChild ();
11030 return xmlFirstElementChild ();
11035 if ac_fn_c_try_link
"$LINENO"; then :
11036 ac_cv_lib_xml2_xmlFirstElementChild
=yes
11038 ac_cv_lib_xml2_xmlFirstElementChild
=no
11040 rm -f core conftest.err conftest.
$ac_objext \
11041 conftest
$ac_exeext conftest.
$ac_ext
11042 LIBS
=$ac_check_lib_save_LIBS
11044 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlFirstElementChild" >&5
11045 $as_echo "$ac_cv_lib_xml2_xmlFirstElementChild" >&6; }
11046 if test "x$ac_cv_lib_xml2_xmlFirstElementChild" = xyes
; then :
11048 $as_echo "#define HAVE_XMLFIRSTELEMENTCHILD 1" >>confdefs.h
11052 ac_fn_c_check_type
"$LINENO" "xmlDocProperties" "ac_cv_type_xmlDocProperties" "#include <libxml/tree.h>
11054 if test "x$ac_cv_type_xmlDocProperties" = xyes
; then :
11056 $as_echo "#define HAVE_XMLDOC_PROPERTIES 1" >>confdefs.h
11064 CPPFLAGS
=$ac_save_CPPFLAGS
11065 test -z "$XML2_CFLAGS" || XML2_CFLAGS
=`echo " $XML2_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
11066 test -z "$XML2_LIBS" || XML2_LIBS
=`echo " $XML2_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
11069 if test "$ac_cv_lib_xml2_xmlParseMemory" != "yes"; then :
11070 case "x$with_xml" in
11071 x
) as_fn_append wine_warnings
"|libxml2 ${notice_platform}development files not found (or too old), XML won't be supported." ;;
11073 *) as_fn_error $?
"libxml2 ${notice_platform}development files not found (or too old), XML won't be supported.
11074 This is an error since --with-xml was requested." "$LINENO" 5 ;;
11078 if test "x$with_xslt" != "xno"
11080 if ${XSLT_CFLAGS:+false} :; then :
11081 if ${PKG_CONFIG+:} false
; then :
11082 XSLT_CFLAGS
=`$PKG_CONFIG --cflags libxslt 2>/dev/null`
11085 test "$cross_compiling" = yes || XSLT_CFLAGS
=${XSLT_CFLAGS:-`xslt-config --cflags 2>/dev/null`}
11086 if ${XSLT_LIBS:+false} :; then :
11087 if ${PKG_CONFIG+:} false
; then :
11088 XSLT_LIBS
=`$PKG_CONFIG --libs libxslt 2>/dev/null`
11091 test "$cross_compiling" = yes || XSLT_LIBS
=${XSLT_LIBS:-`xslt-config --libs 2>/dev/null`}
11092 XSLT_LIBS
=${XSLT_LIBS:-"-lxml2"}
11093 $as_echo "$as_me:${as_lineno-$LINENO}: libxslt cflags: $XSLT_CFLAGS" >&5
11094 $as_echo "$as_me:${as_lineno-$LINENO}: libxslt libs: $XSLT_LIBS" >&5
11095 ac_save_CPPFLAGS
=$CPPFLAGS
11096 CPPFLAGS
="$CPPFLAGS $XSLT_CFLAGS"
11097 for ac_header
in libxslt
/pattern.h libxslt
/transform.h
11099 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
11100 ac_fn_c_check_header_compile
"$LINENO" "$ac_header" "$as_ac_Header" "#ifdef HAVE_LIBXSLT_PATTERN_H
11101 # include <libxslt/pattern.h>
11104 if eval test \"x\$
"$as_ac_Header"\" = x
"yes"; then :
11105 cat >>confdefs.h
<<_ACEOF
11106 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
11113 if test "$ac_cv_header_libxslt_transform_h" = "yes"
11115 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lxslt" >&5
11116 $as_echo_n "checking for -lxslt... " >&6; }
11117 if ${ac_cv_lib_soname_xslt+:} false
; then :
11118 $as_echo_n "(cached) " >&6
11120 ac_check_soname_save_LIBS
=$LIBS
11121 LIBS
="-lxslt $XSLT_LIBS $LIBS"
11122 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11123 /* end confdefs.h. */
11125 /* Override any GCC internal prototype to avoid an error.
11126 Use char because int might match the return type of a GCC
11127 builtin and then its argument prototype would still apply. */
11131 char xsltCompilePattern ();
11135 return xsltCompilePattern ();
11140 if ac_fn_c_try_link
"$LINENO"; then :
11142 dll
) ac_cv_lib_soname_xslt
=`$ac_cv_path_LDD conftest.exe | grep "xslt" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11143 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'` ;;
11144 *) ac_cv_lib_soname_xslt
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libxslt\\.$LIBEXT" | sed -e "s/^.*\\[\\(libxslt\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
11145 if ${ac_cv_lib_soname_xslt:+false} :; then :
11146 ac_cv_lib_soname_xslt
=`$LDD conftest$ac_exeext | grep "libxslt\\.$LIBEXT" | sed -e "s/^.*\(libxslt\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11150 rm -f core conftest.err conftest.
$ac_objext \
11151 conftest
$ac_exeext conftest.
$ac_ext
11152 LIBS
=$ac_check_soname_save_LIBS
11154 if ${ac_cv_lib_soname_xslt:+false} :; then :
11155 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11156 $as_echo "not found" >&6; }
11159 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_xslt" >&5
11160 $as_echo "$ac_cv_lib_soname_xslt" >&6; }
11162 cat >>confdefs.h
<<_ACEOF
11163 #define SONAME_LIBXSLT "$ac_cv_lib_soname_xslt"
11171 CPPFLAGS
=$ac_save_CPPFLAGS
11172 test -z "$XSLT_CFLAGS" || XSLT_CFLAGS
=`echo " $XSLT_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
11173 test -z "$XSLT_LIBS" || XSLT_LIBS
=`echo " $XSLT_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
11176 if test "x$ac_cv_lib_soname_xslt" = "x"; then :
11177 case "x$with_xslt" in
11178 x
) as_fn_append wine_warnings
"|libxslt ${notice_platform}development files not found, xslt won't be supported." ;;
11180 *) as_fn_error $?
"libxslt ${notice_platform}development files not found, xslt won't be supported.
11181 This is an error since --with-xslt was requested." "$LINENO" 5 ;;
11185 if test "x$with_dbus" != "xno"
11187 if ${DBUS_CFLAGS:+false} :; then :
11188 if ${PKG_CONFIG+:} false
; then :
11189 DBUS_CFLAGS
=`$PKG_CONFIG --cflags dbus-1 2>/dev/null`
11193 if ${DBUS_LIBS:+false} :; then :
11194 if ${PKG_CONFIG+:} false
; then :
11195 DBUS_LIBS
=`$PKG_CONFIG --libs dbus-1 2>/dev/null`
11200 $as_echo "$as_me:${as_lineno-$LINENO}: dbus-1 cflags: $DBUS_CFLAGS" >&5
11201 $as_echo "$as_me:${as_lineno-$LINENO}: dbus-1 libs: $DBUS_LIBS" >&5
11202 ac_save_CPPFLAGS
=$CPPFLAGS
11203 CPPFLAGS
="$CPPFLAGS $DBUS_CFLAGS"
11204 ac_fn_c_check_header_mongrel
"$LINENO" "dbus/dbus.h" "ac_cv_header_dbus_dbus_h" "$ac_includes_default"
11205 if test "x$ac_cv_header_dbus_dbus_h" = xyes
; then :
11206 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -ldbus-1" >&5
11207 $as_echo_n "checking for -ldbus-1... " >&6; }
11208 if ${ac_cv_lib_soname_dbus_1+:} false
; then :
11209 $as_echo_n "(cached) " >&6
11211 ac_check_soname_save_LIBS
=$LIBS
11212 LIBS
="-ldbus-1 $DBUS_LIBS $LIBS"
11213 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11214 /* end confdefs.h. */
11216 /* Override any GCC internal prototype to avoid an error.
11217 Use char because int might match the return type of a GCC
11218 builtin and then its argument prototype would still apply. */
11222 char dbus_connection_close ();
11226 return dbus_connection_close ();
11231 if ac_fn_c_try_link
"$LINENO"; then :
11233 dll
) ac_cv_lib_soname_dbus_1
=`$ac_cv_path_LDD conftest.exe | grep "dbus-1" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11234 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'` ;;
11235 *) 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'`
11236 if ${ac_cv_lib_soname_dbus_1:+false} :; then :
11237 ac_cv_lib_soname_dbus_1
=`$LDD conftest$ac_exeext | grep "libdbus-1\\.$LIBEXT" | sed -e "s/^.*\(libdbus-1\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11241 rm -f core conftest.err conftest.
$ac_objext \
11242 conftest
$ac_exeext conftest.
$ac_ext
11243 LIBS
=$ac_check_soname_save_LIBS
11245 if ${ac_cv_lib_soname_dbus_1:+false} :; then :
11246 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11247 $as_echo "not found" >&6; }
11250 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_dbus_1" >&5
11251 $as_echo "$ac_cv_lib_soname_dbus_1" >&6; }
11253 cat >>confdefs.h
<<_ACEOF
11254 #define SONAME_LIBDBUS_1 "$ac_cv_lib_soname_dbus_1"
11264 CPPFLAGS
=$ac_save_CPPFLAGS
11265 test -z "$DBUS_CFLAGS" || DBUS_CFLAGS
=`echo " $DBUS_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
11266 test -z "$DBUS_LIBS" || DBUS_LIBS
=`echo " $DBUS_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
11269 if test "x$ac_cv_lib_soname_dbus_1" = "x" -a \
11270 "x$ac_cv_header_DiskArbitration_DiskArbitration_h" != "xyes"; then :
11271 case "x$with_dbus" in
11272 x
) as_fn_append wine_notices
"|libdbus ${notice_platform}development files not found, no dynamic device support." ;;
11274 *) as_fn_error $?
"libdbus ${notice_platform}development files not found, no dynamic device support.
11275 This is an error since --with-dbus was requested." "$LINENO" 5 ;;
11279 if test "x$with_hal" != "xno" -a "x$ac_cv_lib_soname_dbus_1" != x
11281 if ${HAL_CFLAGS:+false} :; then :
11282 if ${PKG_CONFIG+:} false
; then :
11283 HAL_CFLAGS
=`$PKG_CONFIG --cflags hal 2>/dev/null`
11287 if ${HAL_LIBS:+false} :; then :
11288 if ${PKG_CONFIG+:} false
; then :
11289 HAL_LIBS
=`$PKG_CONFIG --libs hal 2>/dev/null`
11293 HAL_LIBS
=${HAL_LIBS:-"-ldbus-1"}
11294 $as_echo "$as_me:${as_lineno-$LINENO}: hal cflags: $HAL_CFLAGS" >&5
11295 $as_echo "$as_me:${as_lineno-$LINENO}: hal libs: $HAL_LIBS" >&5
11296 ac_save_CPPFLAGS
=$CPPFLAGS
11297 CPPFLAGS
="$CPPFLAGS $HAL_CFLAGS"
11298 ac_fn_c_check_header_mongrel
"$LINENO" "hal/libhal.h" "ac_cv_header_hal_libhal_h" "$ac_includes_default"
11299 if test "x$ac_cv_header_hal_libhal_h" = xyes
; then :
11300 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lhal" >&5
11301 $as_echo_n "checking for -lhal... " >&6; }
11302 if ${ac_cv_lib_soname_hal+:} false
; then :
11303 $as_echo_n "(cached) " >&6
11305 ac_check_soname_save_LIBS
=$LIBS
11306 LIBS
="-lhal $HAL_LIBS $LIBS"
11307 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11308 /* end confdefs.h. */
11310 /* Override any GCC internal prototype to avoid an error.
11311 Use char because int might match the return type of a GCC
11312 builtin and then its argument prototype would still apply. */
11316 char libhal_ctx_new ();
11320 return libhal_ctx_new ();
11325 if ac_fn_c_try_link
"$LINENO"; then :
11327 dll
) ac_cv_lib_soname_hal
=`$ac_cv_path_LDD conftest.exe | grep "hal" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11328 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'` ;;
11329 *) ac_cv_lib_soname_hal
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libhal\\.$LIBEXT" | sed -e "s/^.*\\[\\(libhal\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
11330 if ${ac_cv_lib_soname_hal:+false} :; then :
11331 ac_cv_lib_soname_hal
=`$LDD conftest$ac_exeext | grep "libhal\\.$LIBEXT" | sed -e "s/^.*\(libhal\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11335 rm -f core conftest.err conftest.
$ac_objext \
11336 conftest
$ac_exeext conftest.
$ac_ext
11337 LIBS
=$ac_check_soname_save_LIBS
11339 if ${ac_cv_lib_soname_hal:+false} :; then :
11340 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11341 $as_echo "not found" >&6; }
11344 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_hal" >&5
11345 $as_echo "$ac_cv_lib_soname_hal" >&6; }
11347 cat >>confdefs.h
<<_ACEOF
11348 #define SONAME_LIBHAL "$ac_cv_lib_soname_hal"
11358 CPPFLAGS
=$ac_save_CPPFLAGS
11359 test -z "$HAL_CFLAGS" || HAL_CFLAGS
=`echo " $HAL_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
11360 test -z "$HAL_LIBS" || HAL_LIBS
=`echo " $HAL_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
11362 if test "x$ac_cv_lib_soname_hal" = "x" -a \
11363 "x$ac_cv_header_DiskArbitration_DiskArbitration_h" != "xyes"; then :
11364 case "x$with_hal" in
11365 x
) as_fn_append wine_notices
"|libhal ${notice_platform}development files not found, no legacy dynamic device support." ;;
11367 *) as_fn_error $?
"libhal ${notice_platform}development files not found, no legacy dynamic device support.
11368 This is an error since --with-hal was requested." "$LINENO" 5 ;;
11373 if test "x$with_gnutls" != "xno"
11375 if ${GNUTLS_CFLAGS:+false} :; then :
11376 if ${PKG_CONFIG+:} false
; then :
11377 GNUTLS_CFLAGS
=`$PKG_CONFIG --cflags gnutls 2>/dev/null`
11381 if ${GNUTLS_LIBS:+false} :; then :
11382 if ${PKG_CONFIG+:} false
; then :
11383 GNUTLS_LIBS
=`$PKG_CONFIG --libs gnutls 2>/dev/null`
11388 $as_echo "$as_me:${as_lineno-$LINENO}: gnutls cflags: $GNUTLS_CFLAGS" >&5
11389 $as_echo "$as_me:${as_lineno-$LINENO}: gnutls libs: $GNUTLS_LIBS" >&5
11390 ac_save_CPPFLAGS
=$CPPFLAGS
11391 CPPFLAGS
="$CPPFLAGS $GNUTLS_CFLAGS"
11392 ac_fn_c_check_header_mongrel
"$LINENO" "gnutls/gnutls.h" "ac_cv_header_gnutls_gnutls_h" "$ac_includes_default"
11393 if test "x$ac_cv_header_gnutls_gnutls_h" = xyes
; then :
11394 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11395 /* end confdefs.h. */
11396 #include <gnutls/gnutls.h>
11397 #include <gnutls/crypto.h>
11401 static typeof(gnutls_mac_get_key_size) *func; if (func) return 0;
11406 if ac_fn_c_try_compile
"$LINENO"; then :
11407 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lgnutls" >&5
11408 $as_echo_n "checking for -lgnutls... " >&6; }
11409 if ${ac_cv_lib_soname_gnutls+:} false
; then :
11410 $as_echo_n "(cached) " >&6
11412 ac_check_soname_save_LIBS
=$LIBS
11413 LIBS
="-lgnutls $GNUTLS_LIBS $LIBS"
11414 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11415 /* end confdefs.h. */
11417 /* Override any GCC internal prototype to avoid an error.
11418 Use char because int might match the return type of a GCC
11419 builtin and then its argument prototype would still apply. */
11423 char gnutls_global_init ();
11427 return gnutls_global_init ();
11432 if ac_fn_c_try_link
"$LINENO"; then :
11434 dll
) ac_cv_lib_soname_gnutls
=`$ac_cv_path_LDD conftest.exe | grep "gnutls" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11435 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'` ;;
11436 *) 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'`
11437 if ${ac_cv_lib_soname_gnutls:+false} :; then :
11438 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'`
11442 rm -f core conftest.err conftest.
$ac_objext \
11443 conftest
$ac_exeext conftest.
$ac_ext
11444 LIBS
=$ac_check_soname_save_LIBS
11446 if ${ac_cv_lib_soname_gnutls:+false} :; then :
11447 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11448 $as_echo "not found" >&6; }
11451 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_gnutls" >&5
11452 $as_echo "$ac_cv_lib_soname_gnutls" >&6; }
11454 cat >>confdefs.h
<<_ACEOF
11455 #define SONAME_LIBGNUTLS "$ac_cv_lib_soname_gnutls"
11461 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
11467 CPPFLAGS
=$ac_save_CPPFLAGS
11468 test -z "$GNUTLS_CFLAGS" || GNUTLS_CFLAGS
=`echo " $GNUTLS_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
11469 test -z "$GNUTLS_LIBS" || GNUTLS_LIBS
=`echo " $GNUTLS_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
11472 if test "x$ac_cv_lib_soname_gnutls" = "x"; then :
11473 case "x$with_gnutls" in
11474 x
) as_fn_append wine_warnings
"|libgnutls ${notice_platform}development files not found, no schannel support." ;;
11476 *) as_fn_error $?
"libgnutls ${notice_platform}development files not found, no schannel support.
11477 This is an error since --with-gnutls was requested." "$LINENO" 5 ;;
11482 if test "$ac_cv_header_ncurses_h" = "yes"
11484 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lncurses" >&5
11485 $as_echo_n "checking for -lncurses... " >&6; }
11486 if ${ac_cv_lib_soname_ncurses+:} false
; then :
11487 $as_echo_n "(cached) " >&6
11489 ac_check_soname_save_LIBS
=$LIBS
11490 LIBS
="-lncurses $LIBS"
11491 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11492 /* end confdefs.h. */
11494 /* Override any GCC internal prototype to avoid an error.
11495 Use char because int might match the return type of a GCC
11496 builtin and then its argument prototype would still apply. */
11509 if ac_fn_c_try_link
"$LINENO"; then :
11511 dll
) ac_cv_lib_soname_ncurses
=`$ac_cv_path_LDD conftest.exe | grep "ncurses" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11512 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'` ;;
11513 *) 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'`
11514 if ${ac_cv_lib_soname_ncurses:+false} :; then :
11515 ac_cv_lib_soname_ncurses
=`$LDD conftest$ac_exeext | grep "libncursesw\\{0,1\\}\\.$LIBEXT" | sed -e "s/^.*\(libncursesw\\{0,1\\}\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11519 rm -f core conftest.err conftest.
$ac_objext \
11520 conftest
$ac_exeext conftest.
$ac_ext
11521 LIBS
=$ac_check_soname_save_LIBS
11523 if ${ac_cv_lib_soname_ncurses:+false} :; then :
11524 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11525 $as_echo "not found" >&6; }
11528 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_ncurses" >&5
11529 $as_echo "$ac_cv_lib_soname_ncurses" >&6; }
11531 cat >>confdefs.h
<<_ACEOF
11532 #define SONAME_LIBNCURSES "$ac_cv_lib_soname_ncurses"
11535 CURSES_LIBS
="-lncurses"
11537 elif test "$ac_cv_header_curses_h" = "yes"
11539 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lcurses" >&5
11540 $as_echo_n "checking for -lcurses... " >&6; }
11541 if ${ac_cv_lib_soname_curses+:} false
; then :
11542 $as_echo_n "(cached) " >&6
11544 ac_check_soname_save_LIBS
=$LIBS
11545 LIBS
="-lcurses $LIBS"
11546 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11547 /* end confdefs.h. */
11549 /* Override any GCC internal prototype to avoid an error.
11550 Use char because int might match the return type of a GCC
11551 builtin and then its argument prototype would still apply. */
11564 if ac_fn_c_try_link
"$LINENO"; then :
11566 dll
) ac_cv_lib_soname_curses
=`$ac_cv_path_LDD conftest.exe | grep "curses" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11567 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'` ;;
11568 *) ac_cv_lib_soname_curses
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libcurses\\.$LIBEXT" | sed -e "s/^.*\\[\\(libcurses\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
11569 if ${ac_cv_lib_soname_curses:+false} :; then :
11570 ac_cv_lib_soname_curses
=`$LDD conftest$ac_exeext | grep "libcurses\\.$LIBEXT" | sed -e "s/^.*\(libcurses\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11574 rm -f core conftest.err conftest.
$ac_objext \
11575 conftest
$ac_exeext conftest.
$ac_ext
11576 LIBS
=$ac_check_soname_save_LIBS
11578 if ${ac_cv_lib_soname_curses:+false} :; then :
11579 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11580 $as_echo "not found" >&6; }
11583 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_curses" >&5
11584 $as_echo "$ac_cv_lib_soname_curses" >&6; }
11586 cat >>confdefs.h
<<_ACEOF
11587 #define SONAME_LIBCURSES "$ac_cv_lib_soname_curses"
11590 CURSES_LIBS
="-lcurses"
11593 ac_save_LIBS
="$LIBS"
11594 LIBS
="$LIBS $CURSES_LIBS"
11595 for ac_func
in mousemask
11597 ac_fn_c_check_func
"$LINENO" "mousemask" "ac_cv_func_mousemask"
11598 if test "x$ac_cv_func_mousemask" = xyes
; then :
11599 cat >>confdefs.h
<<_ACEOF
11600 #define HAVE_MOUSEMASK 1
11606 LIBS
="$ac_save_LIBS"
11607 if test "x$ac_cv_lib_soname_curses$ac_cv_lib_soname_ncurses" = "x"; then :
11608 case "x$with_curses" in
11609 x
) as_fn_append wine_notices
"|lib(n)curses ${notice_platform}development files not found, curses won't be supported." ;;
11611 *) as_fn_error $?
"lib(n)curses ${notice_platform}development files not found, curses won't be supported.
11612 This is an error since --with-curses was requested." "$LINENO" 5 ;;
11616 if test "x$with_sane" != "xno"
11618 if ${SANE_CFLAGS:+false} :; then :
11619 if ${PKG_CONFIG+:} false
; then :
11620 SANE_CFLAGS
=`$PKG_CONFIG --cflags libsane 2>/dev/null`
11623 test "$cross_compiling" = yes || SANE_CFLAGS
=${SANE_CFLAGS:-`sane-config --cflags 2>/dev/null`}
11624 if ${SANE_LIBS:+false} :; then :
11625 if ${PKG_CONFIG+:} false
; then :
11626 SANE_LIBS
=`$PKG_CONFIG --libs libsane 2>/dev/null`
11629 test "$cross_compiling" = yes || SANE_LIBS
=${SANE_LIBS:-`sane-config --ldflags 2>/dev/null`}
11631 $as_echo "$as_me:${as_lineno-$LINENO}: libsane cflags: $SANE_CFLAGS" >&5
11632 $as_echo "$as_me:${as_lineno-$LINENO}: libsane libs: $SANE_LIBS" >&5
11633 ac_save_CPPFLAGS
=$CPPFLAGS
11634 CPPFLAGS
="$CPPFLAGS $SANE_CFLAGS"
11635 ac_fn_c_check_header_mongrel
"$LINENO" "sane/sane.h" "ac_cv_header_sane_sane_h" "$ac_includes_default"
11636 if test "x$ac_cv_header_sane_sane_h" = xyes
; then :
11637 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lsane" >&5
11638 $as_echo_n "checking for -lsane... " >&6; }
11639 if ${ac_cv_lib_soname_sane+:} false
; then :
11640 $as_echo_n "(cached) " >&6
11642 ac_check_soname_save_LIBS
=$LIBS
11643 LIBS
="-lsane $SANE_LIBS $LIBS"
11644 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11645 /* end confdefs.h. */
11647 /* Override any GCC internal prototype to avoid an error.
11648 Use char because int might match the return type of a GCC
11649 builtin and then its argument prototype would still apply. */
11657 return sane_init ();
11662 if ac_fn_c_try_link
"$LINENO"; then :
11664 dll
) ac_cv_lib_soname_sane
=`$ac_cv_path_LDD conftest.exe | grep "sane" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11665 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'` ;;
11666 *) ac_cv_lib_soname_sane
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libsane\\.$LIBEXT" | sed -e "s/^.*\\[\\(libsane\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
11667 if ${ac_cv_lib_soname_sane:+false} :; then :
11668 ac_cv_lib_soname_sane
=`$LDD conftest$ac_exeext | grep "libsane\\.$LIBEXT" | sed -e "s/^.*\(libsane\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11672 rm -f core conftest.err conftest.
$ac_objext \
11673 conftest
$ac_exeext conftest.
$ac_ext
11674 LIBS
=$ac_check_soname_save_LIBS
11676 if ${ac_cv_lib_soname_sane:+false} :; then :
11677 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11678 $as_echo "not found" >&6; }
11681 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_sane" >&5
11682 $as_echo "$ac_cv_lib_soname_sane" >&6; }
11684 cat >>confdefs.h
<<_ACEOF
11685 #define SONAME_LIBSANE "$ac_cv_lib_soname_sane"
11695 CPPFLAGS
=$ac_save_CPPFLAGS
11696 test -z "$SANE_CFLAGS" || SANE_CFLAGS
=`echo " $SANE_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
11697 test -z "$SANE_LIBS" || SANE_LIBS
=`echo " $SANE_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
11700 if test "x$ac_cv_lib_soname_sane" = "x"; then :
11701 case "x$with_sane" in
11702 x
) as_fn_append wine_notices
"|libsane ${notice_platform}development files not found, scanners won't be supported." ;;
11704 *) as_fn_error $?
"libsane ${notice_platform}development files not found, scanners won't be supported.
11705 This is an error since --with-sane was requested." "$LINENO" 5 ;;
11709 if test "x$with_v4l" != "xno"
11711 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lv4l1" >&5
11712 $as_echo_n "checking for -lv4l1... " >&6; }
11713 if ${ac_cv_lib_soname_v4l1+:} false
; then :
11714 $as_echo_n "(cached) " >&6
11716 ac_check_soname_save_LIBS
=$LIBS
11717 LIBS
="-lv4l1 $LIBS"
11718 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11719 /* end confdefs.h. */
11721 /* Override any GCC internal prototype to avoid an error.
11722 Use char because int might match the return type of a GCC
11723 builtin and then its argument prototype would still apply. */
11731 return v4l1_open ();
11736 if ac_fn_c_try_link
"$LINENO"; then :
11738 dll
) ac_cv_lib_soname_v4l1
=`$ac_cv_path_LDD conftest.exe | grep "v4l1" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11739 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'` ;;
11740 *) ac_cv_lib_soname_v4l1
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libv4l1\\.$LIBEXT" | sed -e "s/^.*\\[\\(libv4l1\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
11741 if ${ac_cv_lib_soname_v4l1:+false} :; then :
11742 ac_cv_lib_soname_v4l1
=`$LDD conftest$ac_exeext | grep "libv4l1\\.$LIBEXT" | sed -e "s/^.*\(libv4l1\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11746 rm -f core conftest.err conftest.
$ac_objext \
11747 conftest
$ac_exeext conftest.
$ac_ext
11748 LIBS
=$ac_check_soname_save_LIBS
11750 if ${ac_cv_lib_soname_v4l1:+false} :; then :
11751 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11752 $as_echo "not found" >&6; }
11755 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_v4l1" >&5
11756 $as_echo "$ac_cv_lib_soname_v4l1" >&6; }
11758 cat >>confdefs.h
<<_ACEOF
11759 #define SONAME_LIBV4L1 "$ac_cv_lib_soname_v4l1"
11765 if test "x$ac_cv_lib_soname_v4l1" = "x"; then :
11766 case "x$with_v4l" in
11767 x
) as_fn_append wine_notices
"|libv4l ${notice_platform}development files not found." ;;
11769 *) as_fn_error $?
"libv4l ${notice_platform}development files not found.
11770 This is an error since --with-v4l was requested." "$LINENO" 5 ;;
11774 if test "x$with_gphoto" != "xno"
11776 if ${GPHOTO2_CFLAGS:+false} :; then :
11777 if ${PKG_CONFIG+:} false
; then :
11778 GPHOTO2_CFLAGS
=`$PKG_CONFIG --cflags libgphoto2 2>/dev/null`
11781 test "$cross_compiling" = yes || GPHOTO2_CFLAGS
=${GPHOTO2_CFLAGS:-`gphoto2-config --cflags 2>/dev/null`}
11782 if ${GPHOTO2_LIBS:+false} :; then :
11783 if ${PKG_CONFIG+:} false
; then :
11784 GPHOTO2_LIBS
=`$PKG_CONFIG --libs libgphoto2 2>/dev/null`
11787 test "$cross_compiling" = yes || GPHOTO2_LIBS
=${GPHOTO2_LIBS:-`gphoto2-config --libs 2>/dev/null`}
11788 GPHOTO2_LIBS
=${GPHOTO2_LIBS:-"-lgphoto2"}
11789 $as_echo "$as_me:${as_lineno-$LINENO}: libgphoto2 cflags: $GPHOTO2_CFLAGS" >&5
11790 $as_echo "$as_me:${as_lineno-$LINENO}: libgphoto2 libs: $GPHOTO2_LIBS" >&5
11791 ac_save_CPPFLAGS
=$CPPFLAGS
11792 CPPFLAGS
="$CPPFLAGS $GPHOTO2_CFLAGS"
11793 ac_fn_c_check_header_mongrel
"$LINENO" "gphoto2-camera.h" "ac_cv_header_gphoto2_camera_h" "$ac_includes_default"
11794 if test "x$ac_cv_header_gphoto2_camera_h" = xyes
; then :
11795 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gp_camera_new in -lgphoto2" >&5
11796 $as_echo_n "checking for gp_camera_new in -lgphoto2... " >&6; }
11797 if ${ac_cv_lib_gphoto2_gp_camera_new+:} false
; then :
11798 $as_echo_n "(cached) " >&6
11800 ac_check_lib_save_LIBS
=$LIBS
11801 LIBS
="-lgphoto2 $GPHOTO2_LIBS $LIBS"
11802 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11803 /* end confdefs.h. */
11805 /* Override any GCC internal prototype to avoid an error.
11806 Use char because int might match the return type of a GCC
11807 builtin and then its argument prototype would still apply. */
11811 char gp_camera_new ();
11815 return gp_camera_new ();
11820 if ac_fn_c_try_link
"$LINENO"; then :
11821 ac_cv_lib_gphoto2_gp_camera_new
=yes
11823 ac_cv_lib_gphoto2_gp_camera_new
=no
11825 rm -f core conftest.err conftest.
$ac_objext \
11826 conftest
$ac_exeext conftest.
$ac_ext
11827 LIBS
=$ac_check_lib_save_LIBS
11829 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gphoto2_gp_camera_new" >&5
11830 $as_echo "$ac_cv_lib_gphoto2_gp_camera_new" >&6; }
11831 if test "x$ac_cv_lib_gphoto2_gp_camera_new" = xyes
; then :
11833 $as_echo "#define HAVE_GPHOTO2 1" >>confdefs.h
11836 GPHOTO2_LIBS
=""; GPHOTO2_CFLAGS
=""
11840 GPHOTO2_LIBS
=""; GPHOTO2_CFLAGS
=""
11844 CPPFLAGS
=$ac_save_CPPFLAGS
11845 test -z "$GPHOTO2_CFLAGS" || GPHOTO2_CFLAGS
=`echo " $GPHOTO2_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
11846 test -z "$GPHOTO2_LIBS" || GPHOTO2_LIBS
=`echo " $GPHOTO2_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
11848 if ${GPHOTO2_PORT_CFLAGS:+false} :; then :
11849 if ${PKG_CONFIG+:} false
; then :
11850 GPHOTO2_PORT_CFLAGS
=`$PKG_CONFIG --cflags libgphoto2_port 2>/dev/null`
11853 test "$cross_compiling" = yes || GPHOTO2_PORT_CFLAGS
=${GPHOTO2_PORT_CFLAGS:-`gphoto2-port-config --cflags 2>/dev/null`}
11854 if ${GPHOTO2_PORT_LIBS:+false} :; then :
11855 if ${PKG_CONFIG+:} false
; then :
11856 GPHOTO2_PORT_LIBS
=`$PKG_CONFIG --libs libgphoto2_port 2>/dev/null`
11859 test "$cross_compiling" = yes || GPHOTO2_PORT_LIBS
=${GPHOTO2_PORT_LIBS:-`gphoto2-port-config --libs 2>/dev/null`}
11860 GPHOTO2_PORT_LIBS
=${GPHOTO2_PORT_LIBS:-"-lgphoto2_port"}
11861 $as_echo "$as_me:${as_lineno-$LINENO}: libgphoto2_port cflags: $GPHOTO2_PORT_CFLAGS" >&5
11862 $as_echo "$as_me:${as_lineno-$LINENO}: libgphoto2_port libs: $GPHOTO2_PORT_LIBS" >&5
11863 ac_save_CPPFLAGS
=$CPPFLAGS
11864 CPPFLAGS
="$CPPFLAGS $GPHOTO2_PORT_CFLAGS"
11865 ac_fn_c_check_header_mongrel
"$LINENO" "gphoto2-port.h" "ac_cv_header_gphoto2_port_h" "$ac_includes_default"
11866 if test "x$ac_cv_header_gphoto2_port_h" = xyes
; then :
11867 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gp_port_info_list_new in -lgphoto2_port" >&5
11868 $as_echo_n "checking for gp_port_info_list_new in -lgphoto2_port... " >&6; }
11869 if ${ac_cv_lib_gphoto2_port_gp_port_info_list_new+:} false
; then :
11870 $as_echo_n "(cached) " >&6
11872 ac_check_lib_save_LIBS
=$LIBS
11873 LIBS
="-lgphoto2_port $GPHOTO2_PORT_LIBS $LIBS"
11874 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11875 /* end confdefs.h. */
11877 /* Override any GCC internal prototype to avoid an error.
11878 Use char because int might match the return type of a GCC
11879 builtin and then its argument prototype would still apply. */
11883 char gp_port_info_list_new ();
11887 return gp_port_info_list_new ();
11892 if ac_fn_c_try_link
"$LINENO"; then :
11893 ac_cv_lib_gphoto2_port_gp_port_info_list_new
=yes
11895 ac_cv_lib_gphoto2_port_gp_port_info_list_new
=no
11897 rm -f core conftest.err conftest.
$ac_objext \
11898 conftest
$ac_exeext conftest.
$ac_ext
11899 LIBS
=$ac_check_lib_save_LIBS
11901 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gphoto2_port_gp_port_info_list_new" >&5
11902 $as_echo "$ac_cv_lib_gphoto2_port_gp_port_info_list_new" >&6; }
11903 if test "x$ac_cv_lib_gphoto2_port_gp_port_info_list_new" = xyes
; then :
11905 $as_echo "#define HAVE_GPHOTO2_PORT 1" >>confdefs.h
11908 GPHOTO2_PORT_LIBS
=""; GPHOTO2_PORT_CFLAGS
=""
11912 GPHOTO2_PORT_LIBS
=""; GPHOTO2_PORT_CFLAGS
=""
11916 CPPFLAGS
=$ac_save_CPPFLAGS
11917 test -z "$GPHOTO2_PORT_CFLAGS" || GPHOTO2_PORT_CFLAGS
=`echo " $GPHOTO2_PORT_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
11918 test -z "$GPHOTO2_PORT_LIBS" || GPHOTO2_PORT_LIBS
=`echo " $GPHOTO2_PORT_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
11921 if test "$ac_cv_lib_gphoto2_gp_camera_new" != "yes"; then :
11922 case "x$with_gphoto" in
11923 x
) as_fn_append wine_notices
"|libgphoto2 ${notice_platform}development files not found, digital cameras won't be supported." ;;
11925 *) as_fn_error $?
"libgphoto2 ${notice_platform}development files not found, digital cameras won't be supported.
11926 This is an error since --with-gphoto was requested." "$LINENO" 5 ;;
11929 if test "$ac_cv_lib_gphoto2_port_gp_port_info_list_new" != "yes"; then :
11930 case "x$with_gphoto" in
11931 x
) as_fn_append wine_notices
"|libgphoto2_port ${notice_platform}development files not found, digital cameras won't be auto-detected." ;;
11933 *) as_fn_error $?
"libgphoto2_port ${notice_platform}development files not found, digital cameras won't be auto-detected.
11934 This is an error since --with-gphoto was requested." "$LINENO" 5 ;;
11939 if test "$ac_cv_header_resolv_h" = "yes"
11941 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for resolver library" >&5
11942 $as_echo_n "checking for resolver library... " >&6; }
11943 if ${ac_cv_have_resolv+:} false
; then :
11944 $as_echo_n "(cached) " >&6
11946 ac_save_LIBS
="$LIBS"
11947 for lib
in '' -lresolv
11949 LIBS
="$lib $ac_save_LIBS"
11950 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11951 /* end confdefs.h. */
11952 #ifdef HAVE_NETINET_IN_H
11953 #include <netinet/in.h>
11955 #include <resolv.h>
11959 if (!(_res.options & RES_INIT)) res_init(); res_query("foo",ns_c_in,0,0,0)
11964 if ac_fn_c_try_link
"$LINENO"; then :
11965 ac_cv_have_resolv
=${lib:-"none required"}
11967 ac_cv_have_resolv
="not found"
11969 rm -f core conftest.err conftest.
$ac_objext \
11970 conftest
$ac_exeext conftest.
$ac_ext
11971 test "x$ac_cv_have_resolv" = "xnot found" ||
break
11973 LIBS
="$ac_save_LIBS"
11975 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_resolv" >&5
11976 $as_echo "$ac_cv_have_resolv" >&6; }
11978 case "$ac_cv_have_resolv" in
11982 $as_echo "#define HAVE_RESOLV 1" >>confdefs.h
11985 $as_echo "#define HAVE_RESOLV 1" >>confdefs.h
11987 RESOLV_LIBS
=$ac_cv_have_resolv
11992 if test "x$with_cms" != "xno"
11994 if ${LCMS2_CFLAGS:+false} :; then :
11995 if ${PKG_CONFIG+:} false
; then :
11996 LCMS2_CFLAGS
=`$PKG_CONFIG --cflags lcms2 2>/dev/null`
12000 if ${LCMS2_LIBS:+false} :; then :
12001 if ${PKG_CONFIG+:} false
; then :
12002 LCMS2_LIBS
=`$PKG_CONFIG --libs lcms2 2>/dev/null`
12006 LCMS2_LIBS
=${LCMS2_LIBS:-"-llcms2"}
12007 $as_echo "$as_me:${as_lineno-$LINENO}: lcms2 cflags: $LCMS2_CFLAGS" >&5
12008 $as_echo "$as_me:${as_lineno-$LINENO}: lcms2 libs: $LCMS2_LIBS" >&5
12009 ac_save_CPPFLAGS
=$CPPFLAGS
12010 CPPFLAGS
="$CPPFLAGS $LCMS2_CFLAGS"
12011 for ac_header
in lcms2.h
12013 ac_fn_c_check_header_mongrel
"$LINENO" "lcms2.h" "ac_cv_header_lcms2_h" "$ac_includes_default"
12014 if test "x$ac_cv_header_lcms2_h" = xyes
; then :
12015 cat >>confdefs.h
<<_ACEOF
12016 #define HAVE_LCMS2_H 1
12023 if test "$ac_cv_header_lcms2_h" = "yes"
12025 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cmsOpenProfileFromFile in -llcms2" >&5
12026 $as_echo_n "checking for cmsOpenProfileFromFile in -llcms2... " >&6; }
12027 if ${ac_cv_lib_lcms2_cmsOpenProfileFromFile+:} false
; then :
12028 $as_echo_n "(cached) " >&6
12030 ac_check_lib_save_LIBS
=$LIBS
12031 LIBS
="-llcms2 $LCMS2_LIBS $LIBS"
12032 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12033 /* end confdefs.h. */
12035 /* Override any GCC internal prototype to avoid an error.
12036 Use char because int might match the return type of a GCC
12037 builtin and then its argument prototype would still apply. */
12041 char cmsOpenProfileFromFile ();
12045 return cmsOpenProfileFromFile ();
12050 if ac_fn_c_try_link
"$LINENO"; then :
12051 ac_cv_lib_lcms2_cmsOpenProfileFromFile
=yes
12053 ac_cv_lib_lcms2_cmsOpenProfileFromFile
=no
12055 rm -f core conftest.err conftest.
$ac_objext \
12056 conftest
$ac_exeext conftest.
$ac_ext
12057 LIBS
=$ac_check_lib_save_LIBS
12059 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_lcms2_cmsOpenProfileFromFile" >&5
12060 $as_echo "$ac_cv_lib_lcms2_cmsOpenProfileFromFile" >&6; }
12061 if test "x$ac_cv_lib_lcms2_cmsOpenProfileFromFile" = xyes
; then :
12063 $as_echo "#define HAVE_LCMS2 1" >>confdefs.h
12073 CPPFLAGS
=$ac_save_CPPFLAGS
12074 test -z "$LCMS2_CFLAGS" || LCMS2_CFLAGS
=`echo " $LCMS2_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
12075 test -z "$LCMS2_LIBS" || LCMS2_LIBS
=`echo " $LCMS2_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
12078 if test "$ac_cv_lib_lcms2_cmsOpenProfileFromFile" != "yes"; then :
12079 case "x$with_cms" in
12080 x
) as_fn_append wine_notices
"|liblcms2 ${notice_platform}development files not found, Color Management won't be supported." ;;
12082 *) as_fn_error $?
"liblcms2 ${notice_platform}development files not found, Color Management won't be supported.
12083 This is an error since --with-cms was requested." "$LINENO" 5 ;;
12087 if test "x$with_freetype" != "xno"
12089 if ${FREETYPE_CFLAGS:+false} :; then :
12090 if ${PKG_CONFIG+:} false
; then :
12091 FREETYPE_CFLAGS
=`$PKG_CONFIG --cflags freetype2 2>/dev/null`
12094 test "$cross_compiling" = yes || FREETYPE_CFLAGS
=${FREETYPE_CFLAGS:-`(freetype-config --cflags || freetype2-config --cflags) 2>/dev/null`}
12095 if ${FREETYPE_LIBS:+false} :; then :
12096 if ${PKG_CONFIG+:} false
; then :
12097 FREETYPE_LIBS
=`$PKG_CONFIG --libs freetype2 2>/dev/null`
12100 test "$cross_compiling" = yes || FREETYPE_LIBS
=${FREETYPE_LIBS:-`(freetype-config --libs || freetype2-config --libs) 2>/dev/null`}
12101 FREETYPE_LIBS
=${FREETYPE_LIBS:-"-lfreetype"}
12102 $as_echo "$as_me:${as_lineno-$LINENO}: freetype2 cflags: $FREETYPE_CFLAGS" >&5
12103 $as_echo "$as_me:${as_lineno-$LINENO}: freetype2 libs: $FREETYPE_LIBS" >&5
12104 ac_save_CPPFLAGS
=$CPPFLAGS
12105 CPPFLAGS
="$CPPFLAGS $FREETYPE_CFLAGS"
12106 for ac_header
in ft2build.h
12108 ac_fn_c_check_header_mongrel
"$LINENO" "ft2build.h" "ac_cv_header_ft2build_h" "$ac_includes_default"
12109 if test "x$ac_cv_header_ft2build_h" = xyes
; then :
12110 cat >>confdefs.h
<<_ACEOF
12111 #define HAVE_FT2BUILD_H 1
12118 if test "$ac_cv_header_ft2build_h" = "yes"
12120 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lfreetype" >&5
12121 $as_echo_n "checking for -lfreetype... " >&6; }
12122 if ${ac_cv_lib_soname_freetype+:} false
; then :
12123 $as_echo_n "(cached) " >&6
12125 ac_check_soname_save_LIBS
=$LIBS
12126 LIBS
="-lfreetype $FREETYPE_LIBS $LIBS"
12127 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12128 /* end confdefs.h. */
12130 /* Override any GCC internal prototype to avoid an error.
12131 Use char because int might match the return type of a GCC
12132 builtin and then its argument prototype would still apply. */
12136 char FT_Init_FreeType ();
12140 return FT_Init_FreeType ();
12145 if ac_fn_c_try_link
"$LINENO"; then :
12147 dll
) ac_cv_lib_soname_freetype
=`$ac_cv_path_LDD conftest.exe | grep "freetype" | sed -e "s/dll.*/dll/"';2,$d'` ;;
12148 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'` ;;
12149 *) ac_cv_lib_soname_freetype
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libfreetype\\.$LIBEXT" | sed -e "s/^.*\\[\\(libfreetype\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
12150 if ${ac_cv_lib_soname_freetype:+false} :; then :
12151 ac_cv_lib_soname_freetype
=`$LDD conftest$ac_exeext | grep "libfreetype\\.$LIBEXT" | sed -e "s/^.*\(libfreetype\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
12155 rm -f core conftest.err conftest.
$ac_objext \
12156 conftest
$ac_exeext conftest.
$ac_ext
12157 LIBS
=$ac_check_soname_save_LIBS
12159 if ${ac_cv_lib_soname_freetype:+false} :; then :
12160 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
12161 $as_echo "not found" >&6; }
12164 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_freetype" >&5
12165 $as_echo "$ac_cv_lib_soname_freetype" >&6; }
12167 cat >>confdefs.h
<<_ACEOF
12168 #define SONAME_LIBFREETYPE "$ac_cv_lib_soname_freetype"
12172 $as_echo "#define HAVE_FREETYPE 1" >>confdefs.h
12174 ac_fn_c_check_type
"$LINENO" "FT_TrueTypeEngineType" "ac_cv_type_FT_TrueTypeEngineType" "#include <ft2build.h>
12175 #include FT_MODULE_H
12177 if test "x$ac_cv_type_FT_TrueTypeEngineType" = xyes
; then :
12179 cat >>confdefs.h
<<_ACEOF
12180 #define HAVE_FT_TRUETYPEENGINETYPE 1
12191 CPPFLAGS
=$ac_save_CPPFLAGS
12192 test -z "$FREETYPE_CFLAGS" || FREETYPE_CFLAGS
=`echo " $FREETYPE_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
12193 test -z "$FREETYPE_LIBS" || FREETYPE_LIBS
=`echo " $FREETYPE_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
12196 if test "x$ac_cv_lib_soname_freetype" = x
; then :
12197 case "x$with_freetype" in
12199 *) as_fn_error $?
"FreeType ${notice_platform}development files not found. Fonts will not be built.
12200 Use the --without-freetype option if you really want this." "$LINENO" 5 ;;
12203 test "x$ac_cv_lib_soname_freetype" = x
&& enable_fonts
=${enable_fonts:-no}
12205 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for parport header/ppdev.h" >&5
12206 $as_echo_n "checking for parport header/ppdev.h... " >&6; }
12207 if ${ac_cv_c_ppdev+:} false
; then :
12208 $as_echo_n "(cached) " >&6
12210 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12211 /* end confdefs.h. */
12212 #ifdef HAVE_SYS_IOCTL_H
12213 # include <sys/ioctl.h>
12215 #include <linux/ppdev.h>
12219 ioctl (1,PPCLAIM,0)
12224 if ac_fn_c_try_compile
"$LINENO"; then :
12225 ac_cv_c_ppdev
="yes"
12229 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
12231 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_ppdev" >&5
12232 $as_echo "$ac_cv_c_ppdev" >&6; }
12233 if test "$ac_cv_c_ppdev" = "yes"
12236 $as_echo "#define HAVE_PPDEV 1" >>confdefs.h
12240 ac_wine_check_funcs_save_LIBS
="$LIBS"
12241 LIBS
="$LIBS $PTHREAD_LIBS"
12243 pthread_attr_get_np \
12244 pthread_getattr_np \
12245 pthread_getthreadid_np \
12246 pthread_get_stackaddr_np \
12247 pthread_get_stacksize_np
12249 as_ac_var
=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
12250 ac_fn_c_check_func
"$LINENO" "$ac_func" "$as_ac_var"
12251 if eval test \"x\$
"$as_ac_var"\" = x
"yes"; then :
12252 cat >>confdefs.h
<<_ACEOF
12253 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
12259 LIBS
="$ac_wine_check_funcs_save_LIBS"
12261 if test "$ac_cv_header_zlib_h" = "yes"
12263 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for inflate in -lz" >&5
12264 $as_echo_n "checking for inflate in -lz... " >&6; }
12265 if ${ac_cv_lib_z_inflate+:} false
; then :
12266 $as_echo_n "(cached) " >&6
12268 ac_check_lib_save_LIBS
=$LIBS
12270 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12271 /* end confdefs.h. */
12273 /* Override any GCC internal prototype to avoid an error.
12274 Use char because int might match the return type of a GCC
12275 builtin and then its argument prototype would still apply. */
12288 if ac_fn_c_try_link
"$LINENO"; then :
12289 ac_cv_lib_z_inflate
=yes
12291 ac_cv_lib_z_inflate
=no
12293 rm -f core conftest.err conftest.
$ac_objext \
12294 conftest
$ac_exeext conftest.
$ac_ext
12295 LIBS
=$ac_check_lib_save_LIBS
12297 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_z_inflate" >&5
12298 $as_echo "$ac_cv_lib_z_inflate" >&6; }
12299 if test "x$ac_cv_lib_z_inflate" = xyes
; then :
12301 $as_echo "#define HAVE_ZLIB 1" >>confdefs.h
12308 if test "x$Z_LIBS" = "x"; then :
12309 case "x$with_zlib" in
12310 x
) as_fn_append wine_notices
"|libz ${notice_platform}development files not found, data compression won't be supported." ;;
12312 *) as_fn_error $?
"libz ${notice_platform}development files not found, data compression won't be supported.
12313 This is an error since --with-zlib was requested." "$LINENO" 5 ;;
12317 if test "x$enable_tools" != xno
12319 if test "$ac_cv_header_gettext_po_h" = "yes"
12321 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for po_message_msgctxt in -lgettextpo" >&5
12322 $as_echo_n "checking for po_message_msgctxt in -lgettextpo... " >&6; }
12323 if ${ac_cv_lib_gettextpo_po_message_msgctxt+:} false
; then :
12324 $as_echo_n "(cached) " >&6
12326 ac_check_lib_save_LIBS
=$LIBS
12327 LIBS
="-lgettextpo $LIBS"
12328 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12329 /* end confdefs.h. */
12331 /* Override any GCC internal prototype to avoid an error.
12332 Use char because int might match the return type of a GCC
12333 builtin and then its argument prototype would still apply. */
12337 char po_message_msgctxt ();
12341 return po_message_msgctxt ();
12346 if ac_fn_c_try_link
"$LINENO"; then :
12347 ac_cv_lib_gettextpo_po_message_msgctxt
=yes
12349 ac_cv_lib_gettextpo_po_message_msgctxt
=no
12351 rm -f core conftest.err conftest.
$ac_objext \
12352 conftest
$ac_exeext conftest.
$ac_ext
12353 LIBS
=$ac_check_lib_save_LIBS
12355 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gettextpo_po_message_msgctxt" >&5
12356 $as_echo "$ac_cv_lib_gettextpo_po_message_msgctxt" >&6; }
12357 if test "x$ac_cv_lib_gettextpo_po_message_msgctxt" = xyes
; then :
12359 $as_echo "#define HAVE_LIBGETTEXTPO 1" >>confdefs.h
12361 GETTEXTPO_LIBS
="-lgettextpo"
12366 test "x$with_gettextpo" != xyes ||
if test "x$GETTEXTPO_LIBS" = "x"; then :
12367 case "x$with_gettextpo" in
12368 x
) as_fn_append wine_notices
"|GetText ${notice_platform}development files not found (or too old), po files can't be rebuilt." ;;
12370 *) as_fn_error $?
"GetText ${notice_platform}development files not found (or too old), po files can't be rebuilt.
12371 This is an error since --with-gettextpo was requested." "$LINENO" 5 ;;
12376 if test "x$with_gstreamer" != "xno"
12378 if ${GSTREAMER_CFLAGS:+false} :; then :
12379 if ${PKG_CONFIG+:} false
; then :
12380 GSTREAMER_CFLAGS
=`$PKG_CONFIG --cflags gstreamer-app-0.10 2>/dev/null`
12384 if ${GSTREAMER_LIBS:+false} :; then :
12385 if ${PKG_CONFIG+:} false
; then :
12386 GSTREAMER_LIBS
=`$PKG_CONFIG --libs gstreamer-app-0.10 2>/dev/null`
12391 $as_echo "$as_me:${as_lineno-$LINENO}: gstreamer-app-0.10 cflags: $GSTREAMER_CFLAGS" >&5
12392 $as_echo "$as_me:${as_lineno-$LINENO}: gstreamer-app-0.10 libs: $GSTREAMER_LIBS" >&5
12393 ac_save_CPPFLAGS
=$CPPFLAGS
12394 CPPFLAGS
="$CPPFLAGS $GSTREAMER_CFLAGS"
12396 for i
in $GSTREAMER_CFLAGS
12399 -I*) ac_gst_incl
="$ac_gst_incl $i";;
12402 GSTREAMER_CFLAGS
=$ac_gst_incl
12403 CPPFLAGS
="$ac_save_CPPFLAGS $GSTREAMER_CFLAGS"
12404 ac_fn_c_check_header_mongrel
"$LINENO" "gst/gstpad.h" "ac_cv_header_gst_gstpad_h" "$ac_includes_default"
12405 if test "x$ac_cv_header_gst_gstpad_h" = xyes
; then :
12406 ac_fn_c_check_header_mongrel
"$LINENO" "gst/app/gstappsink.h" "ac_cv_header_gst_app_gstappsink_h" "$ac_includes_default"
12407 if test "x$ac_cv_header_gst_app_gstappsink_h" = xyes
; then :
12408 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether gint64 defined by gst/app/gstappsink.h is indeed 64-bit" >&5
12409 $as_echo_n "checking whether gint64 defined by gst/app/gstappsink.h is indeed 64-bit... " >&6; }
12410 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12411 /* end confdefs.h. */
12412 #include <gst/app/gstappsink.h>
12416 static int a[sizeof(gint64) > 4 ? 1 : -1]; if (a[0]) return 0;
12421 if ac_fn_c_try_compile
"$LINENO"; then :
12422 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
12423 $as_echo "yes" >&6; }
12424 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gst_pad_get_caps_reffed in -lgstreamer-0.10" >&5
12425 $as_echo_n "checking for gst_pad_get_caps_reffed in -lgstreamer-0.10... " >&6; }
12426 if ${ac_cv_lib_gstreamer_0_10_gst_pad_get_caps_reffed+:} false
; then :
12427 $as_echo_n "(cached) " >&6
12429 ac_check_lib_save_LIBS
=$LIBS
12430 LIBS
="-lgstreamer-0.10 $LIBS"
12431 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12432 /* end confdefs.h. */
12434 /* Override any GCC internal prototype to avoid an error.
12435 Use char because int might match the return type of a GCC
12436 builtin and then its argument prototype would still apply. */
12440 char gst_pad_get_caps_reffed ();
12444 return gst_pad_get_caps_reffed ();
12449 if ac_fn_c_try_link
"$LINENO"; then :
12450 ac_cv_lib_gstreamer_0_10_gst_pad_get_caps_reffed
=yes
12452 ac_cv_lib_gstreamer_0_10_gst_pad_get_caps_reffed
=no
12454 rm -f core conftest.err conftest.
$ac_objext \
12455 conftest
$ac_exeext conftest.
$ac_ext
12456 LIBS
=$ac_check_lib_save_LIBS
12458 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gstreamer_0_10_gst_pad_get_caps_reffed" >&5
12459 $as_echo "$ac_cv_lib_gstreamer_0_10_gst_pad_get_caps_reffed" >&6; }
12460 if test "x$ac_cv_lib_gstreamer_0_10_gst_pad_get_caps_reffed" = xyes
; then :
12461 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gst_app_buffer_new in -lgstapp-0.10" >&5
12462 $as_echo_n "checking for gst_app_buffer_new in -lgstapp-0.10... " >&6; }
12463 if ${ac_cv_lib_gstapp_0_10_gst_app_buffer_new+:} false
; then :
12464 $as_echo_n "(cached) " >&6
12466 ac_check_lib_save_LIBS
=$LIBS
12467 LIBS
="-lgstapp-0.10 $GSTREAMER_LIBS $LIBS"
12468 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12469 /* end confdefs.h. */
12471 /* Override any GCC internal prototype to avoid an error.
12472 Use char because int might match the return type of a GCC
12473 builtin and then its argument prototype would still apply. */
12477 char gst_app_buffer_new ();
12481 return gst_app_buffer_new ();
12486 if ac_fn_c_try_link
"$LINENO"; then :
12487 ac_cv_lib_gstapp_0_10_gst_app_buffer_new
=yes
12489 ac_cv_lib_gstapp_0_10_gst_app_buffer_new
=no
12491 rm -f core conftest.err conftest.
$ac_objext \
12492 conftest
$ac_exeext conftest.
$ac_ext
12493 LIBS
=$ac_check_lib_save_LIBS
12495 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gstapp_0_10_gst_app_buffer_new" >&5
12496 $as_echo "$ac_cv_lib_gstapp_0_10_gst_app_buffer_new" >&6; }
12497 if test "x$ac_cv_lib_gstapp_0_10_gst_app_buffer_new" = xyes
; then :
12504 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12505 $as_echo "no" >&6; }
12507 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
12512 GSTREAMER_CFLAGS
=""
12516 CPPFLAGS
=$ac_save_CPPFLAGS
12517 test -z "$GSTREAMER_CFLAGS" || GSTREAMER_CFLAGS
=`echo " $GSTREAMER_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
12518 test -z "$GSTREAMER_LIBS" || GSTREAMER_LIBS
=`echo " $GSTREAMER_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
12521 if test "x$ac_cv_lib_gstapp_0_10_gst_app_buffer_new" != xyes
-a "x$ac_cv_header_QuickTime_ImageCompression_h" != xyes
; then :
12522 case "x$with_gstreamer" in
12523 x
) as_fn_append wine_notices
"|gstreamer-0.10 base plugins ${notice_platform}development files not found, gstreamer support disabled" ;;
12525 *) as_fn_error $?
"gstreamer-0.10 base plugins ${notice_platform}development files not found, gstreamer support disabled
12526 This is an error since --with-gstreamer was requested." "$LINENO" 5 ;;
12529 test "x$ac_cv_lib_gstapp_0_10_gst_app_buffer_new" = xyes || enable_winegstreamer
=${enable_winegstreamer:-no}
12533 if test "$ac_cv_header_sys_asoundlib_h" = "yes" -o "$ac_cv_header_alsa_asoundlib_h" = "yes"
12535 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for snd_pcm_hw_params_get_access_mask in -lasound" >&5
12536 $as_echo_n "checking for snd_pcm_hw_params_get_access_mask in -lasound... " >&6; }
12537 if ${ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask+:} false
; then :
12538 $as_echo_n "(cached) " >&6
12540 ac_check_lib_save_LIBS
=$LIBS
12541 LIBS
="-lasound $LIBS"
12542 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12543 /* end confdefs.h. */
12545 /* Override any GCC internal prototype to avoid an error.
12546 Use char because int might match the return type of a GCC
12547 builtin and then its argument prototype would still apply. */
12551 char snd_pcm_hw_params_get_access_mask ();
12555 return snd_pcm_hw_params_get_access_mask ();
12560 if ac_fn_c_try_link
"$LINENO"; then :
12561 ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask
=yes
12563 ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask
=no
12565 rm -f core conftest.err conftest.
$ac_objext \
12566 conftest
$ac_exeext conftest.
$ac_ext
12567 LIBS
=$ac_check_lib_save_LIBS
12569 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask" >&5
12570 $as_echo "$ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask" >&6; }
12571 if test "x$ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask" = xyes
; then :
12572 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12573 /* end confdefs.h. */
12574 #ifdef HAVE_ALSA_ASOUNDLIB_H
12575 #include <alsa/asoundlib.h>
12576 #elif defined(HAVE_SYS_ASOUNDLIB_H)
12577 #include <sys/asoundlib.h>
12582 snd_pcm_hw_params_get_access_mask(NULL, NULL)
12587 if ac_fn_c_try_compile
"$LINENO"; then :
12588 ALSA_LIBS
="-lasound"
12590 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
12595 if test "x$with_oss" != xno
12597 ac_save_CPPFLAGS
="$CPPFLAGS"
12598 if test -f /etc
/oss.conf
12602 ac_oss_incl
="-I${OSSLIBDIR:-/usr/lib/oss}/include"
12603 CPPFLAGS
="$CPPFLAGS $ac_oss_incl"
12604 ac_fn_c_check_header_mongrel
"$LINENO" "sys/soundcard.h" "ac_cv_header_sys_soundcard_h" "$ac_includes_default"
12605 if test "x$ac_cv_header_sys_soundcard_h" = xyes
; then :
12606 ac_fn_c_check_member
"$LINENO" "oss_sysinfo" "numaudioengines" "ac_cv_member_oss_sysinfo_numaudioengines" "#include <sys/soundcard.h>
12608 if test "x$ac_cv_member_oss_sysinfo_numaudioengines" = xyes
; then :
12610 cat >>confdefs.h
<<_ACEOF
12611 #define HAVE_OSS_SYSINFO_NUMAUDIOENGINES 1
12614 OSS4_CFLAGS
="$ac_oss_incl"
12621 CPPFLAGS
="$ac_save_CPPFLAGS"
12622 if test "x$ac_cv_member_oss_sysinfo_numaudioengines" != xyes
12624 as_fn_append wine_notices
"|OSS sound system found but too old (OSSv4 needed), OSS won't be supported."
12628 if test "x$with_capi" != "xno"
12630 if ${CAPI20_CFLAGS:+false} :; then :
12631 if ${PKG_CONFIG+:} false
; then :
12632 CAPI20_CFLAGS
=`$PKG_CONFIG --cflags capi20 2>/dev/null`
12636 if ${CAPI20_LIBS:+false} :; then :
12637 if ${PKG_CONFIG+:} false
; then :
12638 CAPI20_LIBS
=`$PKG_CONFIG --libs capi20 2>/dev/null`
12643 $as_echo "$as_me:${as_lineno-$LINENO}: capi20 cflags: $CAPI20_CFLAGS" >&5
12644 $as_echo "$as_me:${as_lineno-$LINENO}: capi20 libs: $CAPI20_LIBS" >&5
12645 ac_save_CPPFLAGS
=$CPPFLAGS
12646 CPPFLAGS
="$CPPFLAGS $CAPI20_CFLAGS"
12647 for ac_header
in capi20.h linux
/capi.h
12649 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
12650 ac_fn_c_check_header_compile
"$LINENO" "$ac_header" "$as_ac_Header" "#define __user
12652 if eval test \"x\$
"$as_ac_Header"\" = x
"yes"; then :
12653 cat >>confdefs.h
<<_ACEOF
12654 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
12661 if test "$ac_cv_header_capi20_h" = "yes" -a "$ac_cv_header_linux_capi_h" = "yes"
12663 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lcapi20" >&5
12664 $as_echo_n "checking for -lcapi20... " >&6; }
12665 if ${ac_cv_lib_soname_capi20+:} false
; then :
12666 $as_echo_n "(cached) " >&6
12668 ac_check_soname_save_LIBS
=$LIBS
12669 LIBS
="-lcapi20 $CAPI20_LIBS $LIBS"
12670 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12671 /* end confdefs.h. */
12673 /* Override any GCC internal prototype to avoid an error.
12674 Use char because int might match the return type of a GCC
12675 builtin and then its argument prototype would still apply. */
12679 char capi20_register ();
12683 return capi20_register ();
12688 if ac_fn_c_try_link
"$LINENO"; then :
12690 dll
) ac_cv_lib_soname_capi20
=`$ac_cv_path_LDD conftest.exe | grep "capi20" | sed -e "s/dll.*/dll/"';2,$d'` ;;
12691 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'` ;;
12692 *) ac_cv_lib_soname_capi20
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libcapi20\\.$LIBEXT" | sed -e "s/^.*\\[\\(libcapi20\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
12693 if ${ac_cv_lib_soname_capi20:+false} :; then :
12694 ac_cv_lib_soname_capi20
=`$LDD conftest$ac_exeext | grep "libcapi20\\.$LIBEXT" | sed -e "s/^.*\(libcapi20\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
12698 rm -f core conftest.err conftest.
$ac_objext \
12699 conftest
$ac_exeext conftest.
$ac_ext
12700 LIBS
=$ac_check_soname_save_LIBS
12702 if ${ac_cv_lib_soname_capi20:+false} :; then :
12703 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
12704 $as_echo "not found" >&6; }
12707 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_capi20" >&5
12708 $as_echo "$ac_cv_lib_soname_capi20" >&6; }
12710 cat >>confdefs.h
<<_ACEOF
12711 #define SONAME_LIBCAPI20 "$ac_cv_lib_soname_capi20"
12717 CPPFLAGS
=$ac_save_CPPFLAGS
12718 test -z "$CAPI20_CFLAGS" || CAPI20_CFLAGS
=`echo " $CAPI20_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
12719 test -z "$CAPI20_LIBS" || CAPI20_LIBS
=`echo " $CAPI20_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
12722 if test "x$ac_cv_lib_soname_capi20" = "x"; then :
12723 case "x$with_capi" in
12724 x
) as_fn_append wine_notices
"|libcapi20 ${notice_platform}development files not found, ISDN won't be supported." ;;
12726 *) as_fn_error $?
"libcapi20 ${notice_platform}development files not found, ISDN won't be supported.
12727 This is an error since --with-capi was requested." "$LINENO" 5 ;;
12733 if test "x$with_cups" != "xno"
12735 ac_save_CPPFLAGS
="$CPPFLAGS"
12736 ac_cups_cflags
=`cups-config --cflags 2>/dev/null`
12737 ac_cups_libs
=`cups-config --ldflags 2>/dev/null`
12738 CPPFLAGS
="$CPPFLAGS $ac_cups_cflags"
12739 for ac_header
in cups
/cups.h
12741 ac_fn_c_check_header_mongrel
"$LINENO" "cups/cups.h" "ac_cv_header_cups_cups_h" "$ac_includes_default"
12742 if test "x$ac_cv_header_cups_cups_h" = xyes
; then :
12743 cat >>confdefs.h
<<_ACEOF
12744 #define HAVE_CUPS_CUPS_H 1
12746 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lcups" >&5
12747 $as_echo_n "checking for -lcups... " >&6; }
12748 if ${ac_cv_lib_soname_cups+:} false
; then :
12749 $as_echo_n "(cached) " >&6
12751 ac_check_soname_save_LIBS
=$LIBS
12752 LIBS
="-lcups $ac_cups_libs $LIBS"
12753 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12754 /* end confdefs.h. */
12756 /* Override any GCC internal prototype to avoid an error.
12757 Use char because int might match the return type of a GCC
12758 builtin and then its argument prototype would still apply. */
12762 char cupsGetDefault ();
12766 return cupsGetDefault ();
12771 if ac_fn_c_try_link
"$LINENO"; then :
12773 dll
) ac_cv_lib_soname_cups
=`$ac_cv_path_LDD conftest.exe | grep "cups" | sed -e "s/dll.*/dll/"';2,$d'` ;;
12774 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'` ;;
12775 *) ac_cv_lib_soname_cups
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libcups\\.$LIBEXT" | sed -e "s/^.*\\[\\(libcups\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
12776 if ${ac_cv_lib_soname_cups:+false} :; then :
12777 ac_cv_lib_soname_cups
=`$LDD conftest$ac_exeext | grep "libcups\\.$LIBEXT" | sed -e "s/^.*\(libcups\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
12781 rm -f core conftest.err conftest.
$ac_objext \
12782 conftest
$ac_exeext conftest.
$ac_ext
12783 LIBS
=$ac_check_soname_save_LIBS
12785 if ${ac_cv_lib_soname_cups:+false} :; then :
12786 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
12787 $as_echo "not found" >&6; }
12790 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_cups" >&5
12791 $as_echo "$ac_cv_lib_soname_cups" >&6; }
12793 cat >>confdefs.h
<<_ACEOF
12794 #define SONAME_LIBCUPS "$ac_cv_lib_soname_cups"
12797 CUPS_CFLAGS
="$ac_cups_cflags"
12803 CPPFLAGS
="$ac_save_CPPFLAGS"
12805 if test "x$ac_cv_lib_soname_cups" = "x"; then :
12806 case "x$with_cups" in
12807 x
) as_fn_append wine_notices
"|libcups ${notice_platform}development files not found, CUPS won't be supported." ;;
12809 *) as_fn_error $?
"libcups ${notice_platform}development files not found, CUPS won't be supported.
12810 This is an error since --with-cups was requested." "$LINENO" 5 ;;
12814 if test "x$with_fontconfig" != "xno"
12816 if ${FONTCONFIG_CFLAGS:+false} :; then :
12817 if ${PKG_CONFIG+:} false
; then :
12818 FONTCONFIG_CFLAGS
=`$PKG_CONFIG --cflags fontconfig 2>/dev/null`
12821 test "$cross_compiling" = yes || FONTCONFIG_CFLAGS
=${FONTCONFIG_CFLAGS:-$X_CFLAGS}
12822 if ${FONTCONFIG_LIBS:+false} :; then :
12823 if ${PKG_CONFIG+:} false
; then :
12824 FONTCONFIG_LIBS
=`$PKG_CONFIG --libs fontconfig 2>/dev/null`
12827 test "$cross_compiling" = yes || FONTCONFIG_LIBS
=${FONTCONFIG_LIBS:-$X_LIBS}
12829 $as_echo "$as_me:${as_lineno-$LINENO}: fontconfig cflags: $FONTCONFIG_CFLAGS" >&5
12830 $as_echo "$as_me:${as_lineno-$LINENO}: fontconfig libs: $FONTCONFIG_LIBS" >&5
12831 ac_save_CPPFLAGS
=$CPPFLAGS
12832 CPPFLAGS
="$CPPFLAGS $FONTCONFIG_CFLAGS"
12833 for ac_header
in fontconfig
/fontconfig.h
12835 ac_fn_c_check_header_mongrel
"$LINENO" "fontconfig/fontconfig.h" "ac_cv_header_fontconfig_fontconfig_h" "$ac_includes_default"
12836 if test "x$ac_cv_header_fontconfig_fontconfig_h" = xyes
; then :
12837 cat >>confdefs.h
<<_ACEOF
12838 #define HAVE_FONTCONFIG_FONTCONFIG_H 1
12845 if test "$ac_cv_header_fontconfig_fontconfig_h" = "yes"
12847 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lfontconfig" >&5
12848 $as_echo_n "checking for -lfontconfig... " >&6; }
12849 if ${ac_cv_lib_soname_fontconfig+:} false
; then :
12850 $as_echo_n "(cached) " >&6
12852 ac_check_soname_save_LIBS
=$LIBS
12853 LIBS
="-lfontconfig $FONTCONFIG_LIBS $LIBS"
12854 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12855 /* end confdefs.h. */
12857 /* Override any GCC internal prototype to avoid an error.
12858 Use char because int might match the return type of a GCC
12859 builtin and then its argument prototype would still apply. */
12872 if ac_fn_c_try_link
"$LINENO"; then :
12874 dll
) ac_cv_lib_soname_fontconfig
=`$ac_cv_path_LDD conftest.exe | grep "fontconfig" | sed -e "s/dll.*/dll/"';2,$d'` ;;
12875 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'` ;;
12876 *) ac_cv_lib_soname_fontconfig
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libfontconfig\\.$LIBEXT" | sed -e "s/^.*\\[\\(libfontconfig\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
12877 if ${ac_cv_lib_soname_fontconfig:+false} :; then :
12878 ac_cv_lib_soname_fontconfig
=`$LDD conftest$ac_exeext | grep "libfontconfig\\.$LIBEXT" | sed -e "s/^.*\(libfontconfig\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
12882 rm -f core conftest.err conftest.
$ac_objext \
12883 conftest
$ac_exeext conftest.
$ac_ext
12884 LIBS
=$ac_check_soname_save_LIBS
12886 if ${ac_cv_lib_soname_fontconfig:+false} :; then :
12887 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
12888 $as_echo "not found" >&6; }
12889 FONTCONFIG_CFLAGS
=""
12891 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_fontconfig" >&5
12892 $as_echo "$ac_cv_lib_soname_fontconfig" >&6; }
12894 cat >>confdefs.h
<<_ACEOF
12895 #define SONAME_LIBFONTCONFIG "$ac_cv_lib_soname_fontconfig"
12901 FONTCONFIG_CFLAGS
=""
12903 CPPFLAGS
=$ac_save_CPPFLAGS
12904 test -z "$FONTCONFIG_CFLAGS" || FONTCONFIG_CFLAGS
=`echo " $FONTCONFIG_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
12905 test -z "$FONTCONFIG_LIBS" || FONTCONFIG_LIBS
=`echo " $FONTCONFIG_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
12908 if test "x$ac_cv_lib_soname_fontconfig" = "x"; then :
12909 case "x$with_fontconfig" in
12910 x
) as_fn_append wine_notices
"|fontconfig ${notice_platform}development files not found, fontconfig won't be supported." ;;
12912 *) as_fn_error $?
"fontconfig ${notice_platform}development files not found, fontconfig won't be supported.
12913 This is an error since --with-fontconfig was requested." "$LINENO" 5 ;;
12917 if test "$ac_cv_header_gsm_h" = "yes" -o "$ac_cv_header_gsm_gsm_h" = "yes"
12919 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lgsm" >&5
12920 $as_echo_n "checking for -lgsm... " >&6; }
12921 if ${ac_cv_lib_soname_gsm+:} false
; then :
12922 $as_echo_n "(cached) " >&6
12924 ac_check_soname_save_LIBS
=$LIBS
12926 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12927 /* end confdefs.h. */
12929 /* Override any GCC internal prototype to avoid an error.
12930 Use char because int might match the return type of a GCC
12931 builtin and then its argument prototype would still apply. */
12935 char gsm_create ();
12939 return gsm_create ();
12944 if ac_fn_c_try_link
"$LINENO"; then :
12946 dll
) ac_cv_lib_soname_gsm
=`$ac_cv_path_LDD conftest.exe | grep "gsm" | sed -e "s/dll.*/dll/"';2,$d'` ;;
12947 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'` ;;
12948 *) ac_cv_lib_soname_gsm
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libgsm\\.$LIBEXT" | sed -e "s/^.*\\[\\(libgsm\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
12949 if ${ac_cv_lib_soname_gsm:+false} :; then :
12950 ac_cv_lib_soname_gsm
=`$LDD conftest$ac_exeext | grep "libgsm\\.$LIBEXT" | sed -e "s/^.*\(libgsm\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
12954 rm -f core conftest.err conftest.
$ac_objext \
12955 conftest
$ac_exeext conftest.
$ac_ext
12956 LIBS
=$ac_check_soname_save_LIBS
12958 if ${ac_cv_lib_soname_gsm:+false} :; then :
12959 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
12960 $as_echo "not found" >&6; }
12963 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_gsm" >&5
12964 $as_echo "$ac_cv_lib_soname_gsm" >&6; }
12966 cat >>confdefs.h
<<_ACEOF
12967 #define SONAME_LIBGSM "$ac_cv_lib_soname_gsm"
12973 if test "x$ac_cv_lib_soname_gsm" = "x"; then :
12974 case "x$with_gsm" in
12975 x
) as_fn_append wine_notices
"|libgsm ${notice_platform}development files not found, gsm 06.10 codec won't be supported." ;;
12977 *) as_fn_error $?
"libgsm ${notice_platform}development files not found, gsm 06.10 codec won't be supported.
12978 This is an error since --with-gsm was requested." "$LINENO" 5 ;;
12982 if test "x$with_jpeg" != "xno"
12984 if ${JPEG_CFLAGS:+false} :; then :
12985 if ${PKG_CONFIG+:} false
; then :
12986 JPEG_CFLAGS
=`$PKG_CONFIG --cflags libjpeg 2>/dev/null`
12990 if ${JPEG_LIBS:+false} :; then :
12991 if ${PKG_CONFIG+:} false
; then :
12992 JPEG_LIBS
=`$PKG_CONFIG --libs libjpeg 2>/dev/null`
12997 $as_echo "$as_me:${as_lineno-$LINENO}: libjpeg cflags: $JPEG_CFLAGS" >&5
12998 $as_echo "$as_me:${as_lineno-$LINENO}: libjpeg libs: $JPEG_LIBS" >&5
12999 ac_save_CPPFLAGS
=$CPPFLAGS
13000 CPPFLAGS
="$CPPFLAGS $JPEG_CFLAGS"
13001 for ac_header
in jpeglib.h
13003 ac_fn_c_check_header_mongrel
"$LINENO" "jpeglib.h" "ac_cv_header_jpeglib_h" "$ac_includes_default"
13004 if test "x$ac_cv_header_jpeglib_h" = xyes
; then :
13005 cat >>confdefs.h
<<_ACEOF
13006 #define HAVE_JPEGLIB_H 1
13013 if test "$ac_cv_header_jpeglib_h" = "yes"
13015 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -ljpeg" >&5
13016 $as_echo_n "checking for -ljpeg... " >&6; }
13017 if ${ac_cv_lib_soname_jpeg+:} false
; then :
13018 $as_echo_n "(cached) " >&6
13020 ac_check_soname_save_LIBS
=$LIBS
13021 LIBS
="-ljpeg $JPEG_LIBS $LIBS"
13022 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13023 /* end confdefs.h. */
13025 /* Override any GCC internal prototype to avoid an error.
13026 Use char because int might match the return type of a GCC
13027 builtin and then its argument prototype would still apply. */
13031 char jpeg_start_decompress ();
13035 return jpeg_start_decompress ();
13040 if ac_fn_c_try_link
"$LINENO"; then :
13042 dll
) ac_cv_lib_soname_jpeg
=`$ac_cv_path_LDD conftest.exe | grep "jpeg" | sed -e "s/dll.*/dll/"';2,$d'` ;;
13043 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'` ;;
13044 *) ac_cv_lib_soname_jpeg
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libjpeg\\.$LIBEXT" | sed -e "s/^.*\\[\\(libjpeg\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
13045 if ${ac_cv_lib_soname_jpeg:+false} :; then :
13046 ac_cv_lib_soname_jpeg
=`$LDD conftest$ac_exeext | grep "libjpeg\\.$LIBEXT" | sed -e "s/^.*\(libjpeg\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
13050 rm -f core conftest.err conftest.
$ac_objext \
13051 conftest
$ac_exeext conftest.
$ac_ext
13052 LIBS
=$ac_check_soname_save_LIBS
13054 if ${ac_cv_lib_soname_jpeg:+false} :; then :
13055 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13056 $as_echo "not found" >&6; }
13059 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_jpeg" >&5
13060 $as_echo "$ac_cv_lib_soname_jpeg" >&6; }
13062 cat >>confdefs.h
<<_ACEOF
13063 #define SONAME_LIBJPEG "$ac_cv_lib_soname_jpeg"
13071 CPPFLAGS
=$ac_save_CPPFLAGS
13072 test -z "$JPEG_CFLAGS" || JPEG_CFLAGS
=`echo " $JPEG_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
13073 test -z "$JPEG_LIBS" || JPEG_LIBS
=`echo " $JPEG_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
13076 if test "x$ac_cv_lib_soname_jpeg" = "x"; then :
13077 case "x$with_jpeg" in
13078 x
) as_fn_append wine_warnings
"|libjpeg ${notice_platform}development files not found, JPEG won't be supported." ;;
13080 *) as_fn_error $?
"libjpeg ${notice_platform}development files not found, JPEG won't be supported.
13081 This is an error since --with-jpeg was requested." "$LINENO" 5 ;;
13085 if test "x$with_png" != "xno"
13087 if ${PNG_CFLAGS:+false} :; then :
13088 if ${PKG_CONFIG+:} false
; then :
13089 PNG_CFLAGS
=`$PKG_CONFIG --cflags libpng 2>/dev/null`
13092 test "$cross_compiling" = yes || PNG_CFLAGS
=${PNG_CFLAGS:-$X_CFLAGS}
13093 if ${PNG_LIBS:+false} :; then :
13094 if ${PKG_CONFIG+:} false
; then :
13095 PNG_LIBS
=`$PKG_CONFIG --libs libpng 2>/dev/null`
13098 test "$cross_compiling" = yes || PNG_LIBS
=${PNG_LIBS:-$X_LIBS}
13100 $as_echo "$as_me:${as_lineno-$LINENO}: libpng cflags: $PNG_CFLAGS" >&5
13101 $as_echo "$as_me:${as_lineno-$LINENO}: libpng libs: $PNG_LIBS" >&5
13102 ac_save_CPPFLAGS
=$CPPFLAGS
13103 CPPFLAGS
="$CPPFLAGS $PNG_CFLAGS"
13104 for ac_header
in png.h
13106 ac_fn_c_check_header_mongrel
"$LINENO" "png.h" "ac_cv_header_png_h" "$ac_includes_default"
13107 if test "x$ac_cv_header_png_h" = xyes
; then :
13108 cat >>confdefs.h
<<_ACEOF
13109 #define HAVE_PNG_H 1
13116 if test "$ac_cv_header_png_h" = "yes"
13118 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lpng" >&5
13119 $as_echo_n "checking for -lpng... " >&6; }
13120 if ${ac_cv_lib_soname_png+:} false
; then :
13121 $as_echo_n "(cached) " >&6
13123 ac_check_soname_save_LIBS
=$LIBS
13124 LIBS
="-lpng $PNG_LIBS -lm -lz $LIBS"
13125 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13126 /* end confdefs.h. */
13128 /* Override any GCC internal prototype to avoid an error.
13129 Use char because int might match the return type of a GCC
13130 builtin and then its argument prototype would still apply. */
13134 char png_create_read_struct ();
13138 return png_create_read_struct ();
13143 if ac_fn_c_try_link
"$LINENO"; then :
13145 dll
) ac_cv_lib_soname_png
=`$ac_cv_path_LDD conftest.exe | grep "png" | sed -e "s/dll.*/dll/"';2,$d'` ;;
13146 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'` ;;
13147 *) 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'`
13148 if ${ac_cv_lib_soname_png:+false} :; then :
13149 ac_cv_lib_soname_png
=`$LDD conftest$ac_exeext | grep "libpng[0-9]*\\.$LIBEXT" | sed -e "s/^.*\(libpng[0-9]*\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
13153 rm -f core conftest.err conftest.
$ac_objext \
13154 conftest
$ac_exeext conftest.
$ac_ext
13155 LIBS
=$ac_check_soname_save_LIBS
13157 if ${ac_cv_lib_soname_png:+false} :; then :
13158 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13159 $as_echo "not found" >&6; }
13162 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_png" >&5
13163 $as_echo "$ac_cv_lib_soname_png" >&6; }
13165 cat >>confdefs.h
<<_ACEOF
13166 #define SONAME_LIBPNG "$ac_cv_lib_soname_png"
13169 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13170 /* end confdefs.h. */
13175 typeof(png_set_expand_gray_1_2_4_to_8) *p
13180 if ac_fn_c_try_compile
"$LINENO"; then :
13182 $as_echo "#define HAVE_PNG_SET_EXPAND_GRAY_1_2_4_TO_8 1" >>confdefs.h
13185 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
13190 CPPFLAGS
=$ac_save_CPPFLAGS
13191 test -z "$PNG_CFLAGS" || PNG_CFLAGS
=`echo " $PNG_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
13192 test -z "$PNG_LIBS" || PNG_LIBS
=`echo " $PNG_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
13195 if test "x$ac_cv_lib_soname_png" = "x"; then :
13196 case "x$with_png" in
13197 x
) as_fn_append wine_warnings
"|libpng ${notice_platform}development files not found, PNG won't be supported." ;;
13199 *) as_fn_error $?
"libpng ${notice_platform}development files not found, PNG won't be supported.
13200 This is an error since --with-png was requested." "$LINENO" 5 ;;
13204 if test "x$with_tiff" != "xno"
13206 if ${TIFF_CFLAGS:+false} :; then :
13207 if ${PKG_CONFIG+:} false
; then :
13208 TIFF_CFLAGS
=`$PKG_CONFIG --cflags libtiff 2>/dev/null`
13212 if ${TIFF_LIBS:+false} :; then :
13213 if ${PKG_CONFIG+:} false
; then :
13214 TIFF_LIBS
=`$PKG_CONFIG --libs libtiff 2>/dev/null`
13219 $as_echo "$as_me:${as_lineno-$LINENO}: libtiff cflags: $TIFF_CFLAGS" >&5
13220 $as_echo "$as_me:${as_lineno-$LINENO}: libtiff libs: $TIFF_LIBS" >&5
13221 ac_save_CPPFLAGS
=$CPPFLAGS
13222 CPPFLAGS
="$CPPFLAGS $TIFF_CFLAGS"
13223 for ac_header
in tiffio.h
13225 ac_fn_c_check_header_mongrel
"$LINENO" "tiffio.h" "ac_cv_header_tiffio_h" "$ac_includes_default"
13226 if test "x$ac_cv_header_tiffio_h" = xyes
; then :
13227 cat >>confdefs.h
<<_ACEOF
13228 #define HAVE_TIFFIO_H 1
13235 if test "$ac_cv_header_tiffio_h" = "yes"
13237 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -ltiff" >&5
13238 $as_echo_n "checking for -ltiff... " >&6; }
13239 if ${ac_cv_lib_soname_tiff+:} false
; then :
13240 $as_echo_n "(cached) " >&6
13242 ac_check_soname_save_LIBS
=$LIBS
13243 LIBS
="-ltiff $TIFF_LIBS $LIBS"
13244 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13245 /* end confdefs.h. */
13247 /* Override any GCC internal prototype to avoid an error.
13248 Use char because int might match the return type of a GCC
13249 builtin and then its argument prototype would still apply. */
13253 char TIFFClientOpen ();
13257 return TIFFClientOpen ();
13262 if ac_fn_c_try_link
"$LINENO"; then :
13264 dll
) ac_cv_lib_soname_tiff
=`$ac_cv_path_LDD conftest.exe | grep "tiff" | sed -e "s/dll.*/dll/"';2,$d'` ;;
13265 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'` ;;
13266 *) ac_cv_lib_soname_tiff
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libtiff\\.$LIBEXT" | sed -e "s/^.*\\[\\(libtiff\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
13267 if ${ac_cv_lib_soname_tiff:+false} :; then :
13268 ac_cv_lib_soname_tiff
=`$LDD conftest$ac_exeext | grep "libtiff\\.$LIBEXT" | sed -e "s/^.*\(libtiff\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
13272 rm -f core conftest.err conftest.
$ac_objext \
13273 conftest
$ac_exeext conftest.
$ac_ext
13274 LIBS
=$ac_check_soname_save_LIBS
13276 if ${ac_cv_lib_soname_tiff:+false} :; then :
13277 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13278 $as_echo "not found" >&6; }
13281 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_tiff" >&5
13282 $as_echo "$ac_cv_lib_soname_tiff" >&6; }
13284 cat >>confdefs.h
<<_ACEOF
13285 #define SONAME_LIBTIFF "$ac_cv_lib_soname_tiff"
13291 CPPFLAGS
=$ac_save_CPPFLAGS
13292 test -z "$TIFF_CFLAGS" || TIFF_CFLAGS
=`echo " $TIFF_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
13293 test -z "$TIFF_LIBS" || TIFF_LIBS
=`echo " $TIFF_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
13296 if test "x$ac_cv_lib_soname_tiff" = "x"; then :
13297 case "x$with_tiff" in
13298 x
) as_fn_append wine_notices
"|libtiff ${notice_platform}development files not found, TIFF won't be supported." ;;
13300 *) as_fn_error $?
"libtiff ${notice_platform}development files not found, TIFF won't be supported.
13301 This is an error since --with-tiff was requested." "$LINENO" 5 ;;
13305 if test "x$with_mpg123" != "xno"
13307 if ${MPG123_CFLAGS:+false} :; then :
13308 if ${PKG_CONFIG+:} false
; then :
13309 MPG123_CFLAGS
=`$PKG_CONFIG --cflags libmpg123 2>/dev/null`
13313 if ${MPG123_LIBS:+false} :; then :
13314 if ${PKG_CONFIG+:} false
; then :
13315 MPG123_LIBS
=`$PKG_CONFIG --libs libmpg123 2>/dev/null`
13319 MPG123_LIBS
=${MPG123_LIBS:-"-lmpg123"}
13320 $as_echo "$as_me:${as_lineno-$LINENO}: libmpg123 cflags: $MPG123_CFLAGS" >&5
13321 $as_echo "$as_me:${as_lineno-$LINENO}: libmpg123 libs: $MPG123_LIBS" >&5
13322 ac_save_CPPFLAGS
=$CPPFLAGS
13323 CPPFLAGS
="$CPPFLAGS $MPG123_CFLAGS"
13324 for ac_header
in mpg123.h
13326 ac_fn_c_check_header_mongrel
"$LINENO" "mpg123.h" "ac_cv_header_mpg123_h" "$ac_includes_default"
13327 if test "x$ac_cv_header_mpg123_h" = xyes
; then :
13328 cat >>confdefs.h
<<_ACEOF
13329 #define HAVE_MPG123_H 1
13336 if test "$ac_cv_header_mpg123_h" = "yes"
13338 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for mpg123_feed in -lmpg123" >&5
13339 $as_echo_n "checking for mpg123_feed in -lmpg123... " >&6; }
13340 if ${ac_cv_lib_mpg123_mpg123_feed+:} false
; then :
13341 $as_echo_n "(cached) " >&6
13343 ac_check_lib_save_LIBS
=$LIBS
13344 LIBS
="-lmpg123 $MPG123_LIBS $LIBS"
13345 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13346 /* end confdefs.h. */
13348 /* Override any GCC internal prototype to avoid an error.
13349 Use char because int might match the return type of a GCC
13350 builtin and then its argument prototype would still apply. */
13354 char mpg123_feed ();
13358 return mpg123_feed ();
13363 if ac_fn_c_try_link
"$LINENO"; then :
13364 ac_cv_lib_mpg123_mpg123_feed
=yes
13366 ac_cv_lib_mpg123_mpg123_feed
=no
13368 rm -f core conftest.err conftest.
$ac_objext \
13369 conftest
$ac_exeext conftest.
$ac_ext
13370 LIBS
=$ac_check_lib_save_LIBS
13372 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_mpg123_mpg123_feed" >&5
13373 $as_echo "$ac_cv_lib_mpg123_mpg123_feed" >&6; }
13374 if test "x$ac_cv_lib_mpg123_mpg123_feed" = xyes
; then :
13384 CPPFLAGS
=$ac_save_CPPFLAGS
13385 test -z "$MPG123_CFLAGS" || MPG123_CFLAGS
=`echo " $MPG123_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
13386 test -z "$MPG123_LIBS" || MPG123_LIBS
=`echo " $MPG123_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
13389 if test "x$ac_cv_lib_mpg123_mpg123_feed" != xyes
-a x
"$ac_cv_header_CoreAudio_CoreAudio_h" != xyes
; then :
13390 case "x$with_mpg123" in
13391 x
) as_fn_append wine_notices
"|libmpg123 ${notice_platform}development files not found (or too old), mp3 codec won't be supported." ;;
13393 *) as_fn_error $?
"libmpg123 ${notice_platform}development files not found (or too old), mp3 codec won't be supported.
13394 This is an error since --with-mpg123 was requested." "$LINENO" 5 ;;
13397 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}
13399 if test "$ac_cv_header_AL_al_h" = "yes"
13401 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lopenal" >&5
13402 $as_echo_n "checking for -lopenal... " >&6; }
13403 if ${ac_cv_lib_soname_openal+:} false
; then :
13404 $as_echo_n "(cached) " >&6
13406 ac_check_soname_save_LIBS
=$LIBS
13407 LIBS
="-lopenal $LIBS"
13408 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13409 /* end confdefs.h. */
13411 /* Override any GCC internal prototype to avoid an error.
13412 Use char because int might match the return type of a GCC
13413 builtin and then its argument prototype would still apply. */
13417 char alGetSource3i ();
13421 return alGetSource3i ();
13426 if ac_fn_c_try_link
"$LINENO"; then :
13428 dll
) ac_cv_lib_soname_openal
=`$ac_cv_path_LDD conftest.exe | grep "openal" | sed -e "s/dll.*/dll/"';2,$d'` ;;
13429 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'` ;;
13430 *) ac_cv_lib_soname_openal
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libopenal\\.$LIBEXT" | sed -e "s/^.*\\[\\(libopenal\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
13431 if ${ac_cv_lib_soname_openal:+false} :; then :
13432 ac_cv_lib_soname_openal
=`$LDD conftest$ac_exeext | grep "libopenal\\.$LIBEXT" | sed -e "s/^.*\(libopenal\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
13436 rm -f core conftest.err conftest.
$ac_objext \
13437 conftest
$ac_exeext conftest.
$ac_ext
13438 LIBS
=$ac_check_soname_save_LIBS
13440 if ${ac_cv_lib_soname_openal:+false} :; then :
13441 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13442 $as_echo "not found" >&6; }
13445 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_openal" >&5
13446 $as_echo "$ac_cv_lib_soname_openal" >&6; }
13448 cat >>confdefs.h
<<_ACEOF
13449 #define SONAME_LIBOPENAL "$ac_cv_lib_soname_openal"
13452 OPENAL_LIBS
="-lopenal"
13454 ac_cv_lib_openal
=yes
13456 cat >>confdefs.h
<<_ACEOF
13457 #define HAVE_OPENAL 1
13462 if test "x$ac_cv_lib_openal" != xyes
; then :
13463 case "x$with_openal" in
13464 x
) as_fn_append wine_notices
"|libopenal ${notice_platform}development files not found (or too old), OpenAL won't be supported." ;;
13466 *) as_fn_error $?
"libopenal ${notice_platform}development files not found (or too old), OpenAL won't be supported.
13467 This is an error since --with-openal was requested." "$LINENO" 5 ;;
13470 test "x$ac_cv_lib_openal" = xyes || enable_openal32
=${enable_openal32:-no}
13472 if test "$ac_cv_header_kstat_h" = "yes"
13474 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for kstat_open in -lkstat" >&5
13475 $as_echo_n "checking for kstat_open in -lkstat... " >&6; }
13476 if ${ac_cv_lib_kstat_kstat_open+:} false
; then :
13477 $as_echo_n "(cached) " >&6
13479 ac_check_lib_save_LIBS
=$LIBS
13480 LIBS
="-lkstat $LIBS"
13481 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13482 /* end confdefs.h. */
13484 /* Override any GCC internal prototype to avoid an error.
13485 Use char because int might match the return type of a GCC
13486 builtin and then its argument prototype would still apply. */
13490 char kstat_open ();
13494 return kstat_open ();
13499 if ac_fn_c_try_link
"$LINENO"; then :
13500 ac_cv_lib_kstat_kstat_open
=yes
13502 ac_cv_lib_kstat_kstat_open
=no
13504 rm -f core conftest.err conftest.
$ac_objext \
13505 conftest
$ac_exeext conftest.
$ac_ext
13506 LIBS
=$ac_check_lib_save_LIBS
13508 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_kstat_kstat_open" >&5
13509 $as_echo "$ac_cv_lib_kstat_kstat_open" >&6; }
13510 if test "x$ac_cv_lib_kstat_kstat_open" = xyes
; then :
13512 $as_echo "#define HAVE_LIBKSTAT 1" >>confdefs.h
13514 KSTAT_LIBS
="-lkstat"
13520 if test "$ac_cv_header_libprocstat_h" = "yes"
13522 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for procstat_open_sysctl in -lprocstat" >&5
13523 $as_echo_n "checking for procstat_open_sysctl in -lprocstat... " >&6; }
13524 if ${ac_cv_lib_procstat_procstat_open_sysctl+:} false
; then :
13525 $as_echo_n "(cached) " >&6
13527 ac_check_lib_save_LIBS
=$LIBS
13528 LIBS
="-lprocstat $LIBS"
13529 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13530 /* end confdefs.h. */
13532 /* Override any GCC internal prototype to avoid an error.
13533 Use char because int might match the return type of a GCC
13534 builtin and then its argument prototype would still apply. */
13538 char procstat_open_sysctl ();
13542 return procstat_open_sysctl ();
13547 if ac_fn_c_try_link
"$LINENO"; then :
13548 ac_cv_lib_procstat_procstat_open_sysctl
=yes
13550 ac_cv_lib_procstat_procstat_open_sysctl
=no
13552 rm -f core conftest.err conftest.
$ac_objext \
13553 conftest
$ac_exeext conftest.
$ac_ext
13554 LIBS
=$ac_check_lib_save_LIBS
13556 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_procstat_procstat_open_sysctl" >&5
13557 $as_echo "$ac_cv_lib_procstat_procstat_open_sysctl" >&6; }
13558 if test "x$ac_cv_lib_procstat_procstat_open_sysctl" = xyes
; then :
13560 $as_echo "#define HAVE_LIBPROCSTAT 1" >>confdefs.h
13562 PROCSTAT_LIBS
="-lprocstat"
13568 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lodbc" >&5
13569 $as_echo_n "checking for -lodbc... " >&6; }
13570 if ${ac_cv_lib_soname_odbc+:} false
; then :
13571 $as_echo_n "(cached) " >&6
13573 ac_check_soname_save_LIBS
=$LIBS
13574 LIBS
="-lodbc $LIBS"
13575 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13576 /* end confdefs.h. */
13578 /* Override any GCC internal prototype to avoid an error.
13579 Use char because int might match the return type of a GCC
13580 builtin and then its argument prototype would still apply. */
13584 char SQLConnect ();
13588 return SQLConnect ();
13593 if ac_fn_c_try_link
"$LINENO"; then :
13595 dll
) ac_cv_lib_soname_odbc
=`$ac_cv_path_LDD conftest.exe | grep "odbc" | sed -e "s/dll.*/dll/"';2,$d'` ;;
13596 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'` ;;
13597 *) ac_cv_lib_soname_odbc
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libodbc\\.$LIBEXT" | sed -e "s/^.*\\[\\(libodbc\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
13598 if ${ac_cv_lib_soname_odbc:+false} :; then :
13599 ac_cv_lib_soname_odbc
=`$LDD conftest$ac_exeext | grep "libodbc\\.$LIBEXT" | sed -e "s/^.*\(libodbc\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
13603 rm -f core conftest.err conftest.
$ac_objext \
13604 conftest
$ac_exeext conftest.
$ac_ext
13605 LIBS
=$ac_check_soname_save_LIBS
13607 if ${ac_cv_lib_soname_odbc:+false} :; then :
13608 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13609 $as_echo "not found" >&6; }
13610 cat >>confdefs.h
<<_ACEOF
13611 #define SONAME_LIBODBC "libodbc.$LIBEXT"
13615 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_odbc" >&5
13616 $as_echo "$ac_cv_lib_soname_odbc" >&6; }
13618 cat >>confdefs.h
<<_ACEOF
13619 #define SONAME_LIBODBC "$ac_cv_lib_soname_odbc"
13625 if test "x$with_netapi" != "xno"
13627 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lnetapi" >&5
13628 $as_echo_n "checking for -lnetapi... " >&6; }
13629 if ${ac_cv_lib_soname_netapi+:} false
; then :
13630 $as_echo_n "(cached) " >&6
13632 ac_check_soname_save_LIBS
=$LIBS
13633 LIBS
="-lnetapi $LIBS"
13634 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13635 /* end confdefs.h. */
13637 /* Override any GCC internal prototype to avoid an error.
13638 Use char because int might match the return type of a GCC
13639 builtin and then its argument prototype would still apply. */
13643 char libnetapi_init ();
13647 return libnetapi_init ();
13652 if ac_fn_c_try_link
"$LINENO"; then :
13654 dll
) ac_cv_lib_soname_netapi
=`$ac_cv_path_LDD conftest.exe | grep "netapi" | sed -e "s/dll.*/dll/"';2,$d'` ;;
13655 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'` ;;
13656 *) ac_cv_lib_soname_netapi
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libnetapi\\.$LIBEXT" | sed -e "s/^.*\\[\\(libnetapi\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
13657 if ${ac_cv_lib_soname_netapi:+false} :; then :
13658 ac_cv_lib_soname_netapi
=`$LDD conftest$ac_exeext | grep "libnetapi\\.$LIBEXT" | sed -e "s/^.*\(libnetapi\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
13662 rm -f core conftest.err conftest.
$ac_objext \
13663 conftest
$ac_exeext conftest.
$ac_ext
13664 LIBS
=$ac_check_soname_save_LIBS
13666 if ${ac_cv_lib_soname_netapi:+false} :; then :
13667 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13668 $as_echo "not found" >&6; }
13669 cat >>confdefs.h
<<_ACEOF
13670 #define SONAME_LIBNETAPI "libnetapi.$LIBEXT"
13674 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_netapi" >&5
13675 $as_echo "$ac_cv_lib_soname_netapi" >&6; }
13677 cat >>confdefs.h
<<_ACEOF
13678 #define SONAME_LIBNETAPI "$ac_cv_lib_soname_netapi"
13685 test -n "$ALSA_LIBS" || enable_winealsa_drv
=${enable_winealsa_drv:-no}
13686 test -n "$COREAUDIO_LIBS" || enable_winecoreaudio_drv
=${enable_winecoreaudio_drv:-no}
13687 test "x$ac_cv_member_oss_sysinfo_numaudioengines" = xyes || enable_wineoss_drv
=${enable_wineoss_drv:-no}
13688 test "$ac_cv_header_linux_joystick_h" = "yes" -o "$ac_cv_header_IOKit_hid_IOHIDLib_h" = "yes" || enable_winejoystick_drv
=${enable_winejoystick_drv:-no}
13690 if test "x$ALSA_LIBS$COREAUDIO_LIBS" = "x" -a \
13691 "x$ac_cv_member_oss_sysinfo_numaudioengines" != xyes
-a \
13692 "x$with_alsa$with_coreaudio$with_oss" != xnonono
13694 as_fn_append wine_warnings
"|No sound system was found. Windows applications will be silent."
13700 if test "x${GCC}" = "xyes"
13702 EXTRACFLAGS
="-Wall -pipe"
13704 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gcc strength-reduce bug" >&5
13705 $as_echo_n "checking for gcc strength-reduce bug... " >&6; }
13706 if ${ac_cv_c_gcc_strength_bug+:} false
; then :
13707 $as_echo_n "(cached) " >&6
13709 if test "$cross_compiling" = yes; then :
13710 ac_cv_c_gcc_strength_bug
="yes"
13712 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13713 /* end confdefs.h. */
13714 int L[4] = {0,1,2,3};
13718 static int Array[3];
13719 unsigned int B = 3;
13721 for(i=0; i<B; i++) Array[i] = i - 3;
13722 for(i=0; i<4 - 1; i++) L[i] = L[i + 1];
13724 return (Array[1] != -2 || L[2] != 3)
13729 if ac_fn_c_try_run
"$LINENO"; then :
13730 ac_cv_c_gcc_strength_bug
="no"
13732 ac_cv_c_gcc_strength_bug
="yes"
13734 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext \
13735 conftest.
$ac_objext conftest.beam conftest.
$ac_ext
13739 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_gcc_strength_bug" >&5
13740 $as_echo "$ac_cv_c_gcc_strength_bug" >&6; }
13741 if test "$ac_cv_c_gcc_strength_bug" = "yes"
13743 EXTRACFLAGS
="$EXTRACFLAGS -fno-strength-reduce"
13746 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fno-builtin" >&5
13747 $as_echo_n "checking whether the compiler supports -fno-builtin... " >&6; }
13748 if ${ac_cv_cflags__fno_builtin+:} false
; then :
13749 $as_echo_n "(cached) " >&6
13751 ac_wine_try_cflags_saved
=$CFLAGS
13752 CFLAGS
="$CFLAGS -fno-builtin"
13753 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13754 /* end confdefs.h. */
13755 int main(int argc, char **argv) { return 0; }
13757 if ac_fn_c_try_link
"$LINENO"; then :
13758 ac_cv_cflags__fno_builtin
=yes
13760 ac_cv_cflags__fno_builtin
=no
13762 rm -f core conftest.err conftest.
$ac_objext \
13763 conftest
$ac_exeext conftest.
$ac_ext
13764 CFLAGS
=$ac_wine_try_cflags_saved
13766 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fno_builtin" >&5
13767 $as_echo "$ac_cv_cflags__fno_builtin" >&6; }
13768 if test "x$ac_cv_cflags__fno_builtin" = xyes
; then :
13769 BUILTINFLAG
="-fno-builtin"
13772 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fno-strict-aliasing" >&5
13773 $as_echo_n "checking whether the compiler supports -fno-strict-aliasing... " >&6; }
13774 if ${ac_cv_cflags__fno_strict_aliasing+:} false
; then :
13775 $as_echo_n "(cached) " >&6
13777 ac_wine_try_cflags_saved
=$CFLAGS
13778 CFLAGS
="$CFLAGS -fno-strict-aliasing"
13779 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13780 /* end confdefs.h. */
13781 int main(int argc, char **argv) { return 0; }
13783 if ac_fn_c_try_link
"$LINENO"; then :
13784 ac_cv_cflags__fno_strict_aliasing
=yes
13786 ac_cv_cflags__fno_strict_aliasing
=no
13788 rm -f core conftest.err conftest.
$ac_objext \
13789 conftest
$ac_exeext conftest.
$ac_ext
13790 CFLAGS
=$ac_wine_try_cflags_saved
13792 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fno_strict_aliasing" >&5
13793 $as_echo "$ac_cv_cflags__fno_strict_aliasing" >&6; }
13794 if test "x$ac_cv_cflags__fno_strict_aliasing" = xyes
; then :
13795 EXTRACFLAGS
="$EXTRACFLAGS -fno-strict-aliasing"
13797 saved_CFLAGS
=$CFLAGS
13798 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Werror=unknown-warning-option" >&5
13799 $as_echo_n "checking whether the compiler supports -Werror=unknown-warning-option... " >&6; }
13800 if ${ac_cv_cflags__Werror_unknown_warning_option+:} false
; then :
13801 $as_echo_n "(cached) " >&6
13803 ac_wine_try_cflags_saved
=$CFLAGS
13804 CFLAGS
="$CFLAGS -Werror=unknown-warning-option"
13805 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13806 /* end confdefs.h. */
13807 int main(int argc, char **argv) { return 0; }
13809 if ac_fn_c_try_link
"$LINENO"; then :
13810 ac_cv_cflags__Werror_unknown_warning_option
=yes
13812 ac_cv_cflags__Werror_unknown_warning_option
=no
13814 rm -f core conftest.err conftest.
$ac_objext \
13815 conftest
$ac_exeext conftest.
$ac_ext
13816 CFLAGS
=$ac_wine_try_cflags_saved
13818 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Werror_unknown_warning_option" >&5
13819 $as_echo "$ac_cv_cflags__Werror_unknown_warning_option" >&6; }
13820 if test "x$ac_cv_cflags__Werror_unknown_warning_option" = xyes
; then :
13821 CFLAGS
="$CFLAGS -Werror=unknown-warning-option"
13823 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wdeclaration-after-statement" >&5
13824 $as_echo_n "checking whether the compiler supports -Wdeclaration-after-statement... " >&6; }
13825 if ${ac_cv_cflags__Wdeclaration_after_statement+:} false
; then :
13826 $as_echo_n "(cached) " >&6
13828 ac_wine_try_cflags_saved
=$CFLAGS
13829 CFLAGS
="$CFLAGS -Wdeclaration-after-statement"
13830 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13831 /* end confdefs.h. */
13832 int main(int argc, char **argv) { return 0; }
13834 if ac_fn_c_try_link
"$LINENO"; then :
13835 ac_cv_cflags__Wdeclaration_after_statement
=yes
13837 ac_cv_cflags__Wdeclaration_after_statement
=no
13839 rm -f core conftest.err conftest.
$ac_objext \
13840 conftest
$ac_exeext conftest.
$ac_ext
13841 CFLAGS
=$ac_wine_try_cflags_saved
13843 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wdeclaration_after_statement" >&5
13844 $as_echo "$ac_cv_cflags__Wdeclaration_after_statement" >&6; }
13845 if test "x$ac_cv_cflags__Wdeclaration_after_statement" = xyes
; then :
13846 EXTRACFLAGS
="$EXTRACFLAGS -Wdeclaration-after-statement"
13848 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wempty-body" >&5
13849 $as_echo_n "checking whether the compiler supports -Wempty-body... " >&6; }
13850 if ${ac_cv_cflags__Wempty_body+:} false
; then :
13851 $as_echo_n "(cached) " >&6
13853 ac_wine_try_cflags_saved
=$CFLAGS
13854 CFLAGS
="$CFLAGS -Wempty-body"
13855 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13856 /* end confdefs.h. */
13857 int main(int argc, char **argv) { return 0; }
13859 if ac_fn_c_try_link
"$LINENO"; then :
13860 ac_cv_cflags__Wempty_body
=yes
13862 ac_cv_cflags__Wempty_body
=no
13864 rm -f core conftest.err conftest.
$ac_objext \
13865 conftest
$ac_exeext conftest.
$ac_ext
13866 CFLAGS
=$ac_wine_try_cflags_saved
13868 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wempty_body" >&5
13869 $as_echo "$ac_cv_cflags__Wempty_body" >&6; }
13870 if test "x$ac_cv_cflags__Wempty_body" = xyes
; then :
13871 EXTRACFLAGS
="$EXTRACFLAGS -Wempty-body"
13873 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wignored-qualifiers" >&5
13874 $as_echo_n "checking whether the compiler supports -Wignored-qualifiers... " >&6; }
13875 if ${ac_cv_cflags__Wignored_qualifiers+:} false
; then :
13876 $as_echo_n "(cached) " >&6
13878 ac_wine_try_cflags_saved
=$CFLAGS
13879 CFLAGS
="$CFLAGS -Wignored-qualifiers"
13880 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13881 /* end confdefs.h. */
13882 int main(int argc, char **argv) { return 0; }
13884 if ac_fn_c_try_link
"$LINENO"; then :
13885 ac_cv_cflags__Wignored_qualifiers
=yes
13887 ac_cv_cflags__Wignored_qualifiers
=no
13889 rm -f core conftest.err conftest.
$ac_objext \
13890 conftest
$ac_exeext conftest.
$ac_ext
13891 CFLAGS
=$ac_wine_try_cflags_saved
13893 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wignored_qualifiers" >&5
13894 $as_echo "$ac_cv_cflags__Wignored_qualifiers" >&6; }
13895 if test "x$ac_cv_cflags__Wignored_qualifiers" = xyes
; then :
13896 EXTRACFLAGS
="$EXTRACFLAGS -Wignored-qualifiers"
13898 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wstrict-prototypes" >&5
13899 $as_echo_n "checking whether the compiler supports -Wstrict-prototypes... " >&6; }
13900 if ${ac_cv_cflags__Wstrict_prototypes+:} false
; then :
13901 $as_echo_n "(cached) " >&6
13903 ac_wine_try_cflags_saved
=$CFLAGS
13904 CFLAGS
="$CFLAGS -Wstrict-prototypes"
13905 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13906 /* end confdefs.h. */
13907 int main(int argc, char **argv) { return 0; }
13909 if ac_fn_c_try_link
"$LINENO"; then :
13910 ac_cv_cflags__Wstrict_prototypes
=yes
13912 ac_cv_cflags__Wstrict_prototypes
=no
13914 rm -f core conftest.err conftest.
$ac_objext \
13915 conftest
$ac_exeext conftest.
$ac_ext
13916 CFLAGS
=$ac_wine_try_cflags_saved
13918 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wstrict_prototypes" >&5
13919 $as_echo "$ac_cv_cflags__Wstrict_prototypes" >&6; }
13920 if test "x$ac_cv_cflags__Wstrict_prototypes" = xyes
; then :
13921 EXTRACFLAGS
="$EXTRACFLAGS -Wstrict-prototypes"
13923 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wtype-limits" >&5
13924 $as_echo_n "checking whether the compiler supports -Wtype-limits... " >&6; }
13925 if ${ac_cv_cflags__Wtype_limits+:} false
; then :
13926 $as_echo_n "(cached) " >&6
13928 ac_wine_try_cflags_saved
=$CFLAGS
13929 CFLAGS
="$CFLAGS -Wtype-limits"
13930 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13931 /* end confdefs.h. */
13932 int main(int argc, char **argv) { return 0; }
13934 if ac_fn_c_try_link
"$LINENO"; then :
13935 ac_cv_cflags__Wtype_limits
=yes
13937 ac_cv_cflags__Wtype_limits
=no
13939 rm -f core conftest.err conftest.
$ac_objext \
13940 conftest
$ac_exeext conftest.
$ac_ext
13941 CFLAGS
=$ac_wine_try_cflags_saved
13943 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wtype_limits" >&5
13944 $as_echo "$ac_cv_cflags__Wtype_limits" >&6; }
13945 if test "x$ac_cv_cflags__Wtype_limits" = xyes
; then :
13946 EXTRACFLAGS
="$EXTRACFLAGS -Wtype-limits"
13948 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wunused-but-set-parameter" >&5
13949 $as_echo_n "checking whether the compiler supports -Wunused-but-set-parameter... " >&6; }
13950 if ${ac_cv_cflags__Wunused_but_set_parameter+:} false
; then :
13951 $as_echo_n "(cached) " >&6
13953 ac_wine_try_cflags_saved
=$CFLAGS
13954 CFLAGS
="$CFLAGS -Wunused-but-set-parameter"
13955 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13956 /* end confdefs.h. */
13957 int main(int argc, char **argv) { return 0; }
13959 if ac_fn_c_try_link
"$LINENO"; then :
13960 ac_cv_cflags__Wunused_but_set_parameter
=yes
13962 ac_cv_cflags__Wunused_but_set_parameter
=no
13964 rm -f core conftest.err conftest.
$ac_objext \
13965 conftest
$ac_exeext conftest.
$ac_ext
13966 CFLAGS
=$ac_wine_try_cflags_saved
13968 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wunused_but_set_parameter" >&5
13969 $as_echo "$ac_cv_cflags__Wunused_but_set_parameter" >&6; }
13970 if test "x$ac_cv_cflags__Wunused_but_set_parameter" = xyes
; then :
13971 EXTRACFLAGS
="$EXTRACFLAGS -Wunused-but-set-parameter"
13973 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wvla" >&5
13974 $as_echo_n "checking whether the compiler supports -Wvla... " >&6; }
13975 if ${ac_cv_cflags__Wvla+:} false
; then :
13976 $as_echo_n "(cached) " >&6
13978 ac_wine_try_cflags_saved
=$CFLAGS
13979 CFLAGS
="$CFLAGS -Wvla"
13980 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13981 /* end confdefs.h. */
13982 int main(int argc, char **argv) { return 0; }
13984 if ac_fn_c_try_link
"$LINENO"; then :
13985 ac_cv_cflags__Wvla
=yes
13987 ac_cv_cflags__Wvla
=no
13989 rm -f core conftest.err conftest.
$ac_objext \
13990 conftest
$ac_exeext conftest.
$ac_ext
13991 CFLAGS
=$ac_wine_try_cflags_saved
13993 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wvla" >&5
13994 $as_echo "$ac_cv_cflags__Wvla" >&6; }
13995 if test "x$ac_cv_cflags__Wvla" = xyes
; then :
13996 EXTRACFLAGS
="$EXTRACFLAGS -Wvla"
13998 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wwrite-strings" >&5
13999 $as_echo_n "checking whether the compiler supports -Wwrite-strings... " >&6; }
14000 if ${ac_cv_cflags__Wwrite_strings+:} false
; then :
14001 $as_echo_n "(cached) " >&6
14003 ac_wine_try_cflags_saved
=$CFLAGS
14004 CFLAGS
="$CFLAGS -Wwrite-strings"
14005 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14006 /* end confdefs.h. */
14007 int main(int argc, char **argv) { return 0; }
14009 if ac_fn_c_try_link
"$LINENO"; then :
14010 ac_cv_cflags__Wwrite_strings
=yes
14012 ac_cv_cflags__Wwrite_strings
=no
14014 rm -f core conftest.err conftest.
$ac_objext \
14015 conftest
$ac_exeext conftest.
$ac_ext
14016 CFLAGS
=$ac_wine_try_cflags_saved
14018 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wwrite_strings" >&5
14019 $as_echo "$ac_cv_cflags__Wwrite_strings" >&6; }
14020 if test "x$ac_cv_cflags__Wwrite_strings" = xyes
; then :
14021 EXTRACFLAGS
="$EXTRACFLAGS -Wwrite-strings"
14024 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wpointer-arith" >&5
14025 $as_echo_n "checking whether the compiler supports -Wpointer-arith... " >&6; }
14026 if ${ac_cv_cflags__Wpointer_arith+:} false
; then :
14027 $as_echo_n "(cached) " >&6
14029 ac_wine_try_cflags_saved
=$CFLAGS
14030 CFLAGS
="$CFLAGS -Wpointer-arith"
14031 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14032 /* end confdefs.h. */
14033 int main(int argc, char **argv) { return 0; }
14035 if ac_fn_c_try_link
"$LINENO"; then :
14036 ac_cv_cflags__Wpointer_arith
=yes
14038 ac_cv_cflags__Wpointer_arith
=no
14040 rm -f core conftest.err conftest.
$ac_objext \
14041 conftest
$ac_exeext conftest.
$ac_ext
14042 CFLAGS
=$ac_wine_try_cflags_saved
14044 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wpointer_arith" >&5
14045 $as_echo "$ac_cv_cflags__Wpointer_arith" >&6; }
14046 if test "x$ac_cv_cflags__Wpointer_arith" = xyes
; then :
14047 saved_string_h_CFLAGS
=$CFLAGS
14048 CFLAGS
="$CFLAGS -Wpointer-arith -Werror"
14049 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for broken string.h that generates warnings with -Wpointer-arith" >&5
14050 $as_echo_n "checking for broken string.h that generates warnings with -Wpointer-arith... " >&6; }
14051 if ${ac_cv_c_string_h_warnings+:} false
; then :
14052 $as_echo_n "(cached) " >&6
14054 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14055 /* end confdefs.h. */
14056 #include <string.h>
14065 if ac_fn_c_try_compile
"$LINENO"; then :
14066 ac_cv_c_string_h_warnings
=no
14068 ac_cv_c_string_h_warnings
=yes
14070 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
14072 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_string_h_warnings" >&5
14073 $as_echo "$ac_cv_c_string_h_warnings" >&6; }
14074 test "$ac_cv_c_string_h_warnings" = yes || EXTRACFLAGS
="$EXTRACFLAGS -Wpointer-arith"
14075 CFLAGS
=$saved_string_h_CFLAGS
14078 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wlogical-op" >&5
14079 $as_echo_n "checking whether the compiler supports -Wlogical-op... " >&6; }
14080 if ${ac_cv_cflags__Wlogical_op+:} false
; then :
14081 $as_echo_n "(cached) " >&6
14083 ac_wine_try_cflags_saved
=$CFLAGS
14084 CFLAGS
="$CFLAGS -Wlogical-op"
14085 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14086 /* end confdefs.h. */
14087 int main(int argc, char **argv) { return 0; }
14089 if ac_fn_c_try_link
"$LINENO"; then :
14090 ac_cv_cflags__Wlogical_op
=yes
14092 ac_cv_cflags__Wlogical_op
=no
14094 rm -f core conftest.err conftest.
$ac_objext \
14095 conftest
$ac_exeext conftest.
$ac_ext
14096 CFLAGS
=$ac_wine_try_cflags_saved
14098 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wlogical_op" >&5
14099 $as_echo "$ac_cv_cflags__Wlogical_op" >&6; }
14100 if test "x$ac_cv_cflags__Wlogical_op" = xyes
; then :
14101 saved_string_h_CFLAGS
=$CFLAGS
14102 CFLAGS
="$CFLAGS -Wlogical-op -Werror"
14103 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for broken string.h that generates warnings with -Wlogical-op" >&5
14104 $as_echo_n "checking for broken string.h that generates warnings with -Wlogical-op... " >&6; }
14105 if ${ac_cv_c_logicalop_noisy+:} false
; then :
14106 $as_echo_n "(cached) " >&6
14108 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14109 /* end confdefs.h. */
14110 #include <string.h>
14111 char*f(const char *h,char n) {return strchr(h,n);}
14120 if ac_fn_c_try_compile
"$LINENO"; then :
14121 ac_cv_c_logicalop_noisy
=no
14123 ac_cv_c_logicalop_noisy
=yes
14125 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
14127 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_logicalop_noisy" >&5
14128 $as_echo "$ac_cv_c_logicalop_noisy" >&6; }
14129 CFLAGS
=$saved_string_h_CFLAGS
14130 test "$ac_cv_c_logicalop_noisy" = yes || EXTRACFLAGS
="$EXTRACFLAGS -Wlogical-op"
14133 CFLAGS
=$saved_CFLAGS
14135 for ac_flag
in $CFLAGS; do
14137 -g) case $host_os in
14138 darwin
*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -gstabs+" >&5
14139 $as_echo_n "checking whether the compiler supports -gstabs+... " >&6; }
14140 if ${ac_cv_cflags__gstabsp+:} false
; then :
14141 $as_echo_n "(cached) " >&6
14143 ac_wine_try_cflags_saved
=$CFLAGS
14144 CFLAGS
="$CFLAGS -gstabs+"
14145 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14146 /* end confdefs.h. */
14147 int main(int argc, char **argv) { return 0; }
14149 if ac_fn_c_try_link
"$LINENO"; then :
14150 ac_cv_cflags__gstabsp
=yes
14152 ac_cv_cflags__gstabsp
=no
14154 rm -f core conftest.err conftest.
$ac_objext \
14155 conftest
$ac_exeext conftest.
$ac_ext
14156 CFLAGS
=$ac_wine_try_cflags_saved
14158 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__gstabsp" >&5
14159 $as_echo "$ac_cv_cflags__gstabsp" >&6; }
14160 if test "x$ac_cv_cflags__gstabsp" = xyes
; then :
14161 EXTRACFLAGS
="$EXTRACFLAGS -gstabs+"
14163 *) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -gdwarf-2" >&5
14164 $as_echo_n "checking whether the compiler supports -gdwarf-2... " >&6; }
14165 if ${ac_cv_cflags__gdwarf_2+:} false
; then :
14166 $as_echo_n "(cached) " >&6
14168 ac_wine_try_cflags_saved
=$CFLAGS
14169 CFLAGS
="$CFLAGS -gdwarf-2"
14170 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14171 /* end confdefs.h. */
14172 int main(int argc, char **argv) { return 0; }
14174 if ac_fn_c_try_link
"$LINENO"; then :
14175 ac_cv_cflags__gdwarf_2
=yes
14177 ac_cv_cflags__gdwarf_2
=no
14179 rm -f core conftest.err conftest.
$ac_objext \
14180 conftest
$ac_exeext conftest.
$ac_ext
14181 CFLAGS
=$ac_wine_try_cflags_saved
14183 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__gdwarf_2" >&5
14184 $as_echo "$ac_cv_cflags__gdwarf_2" >&6; }
14185 if test "x$ac_cv_cflags__gdwarf_2" = xyes
; then :
14186 EXTRACFLAGS
="$EXTRACFLAGS -gdwarf-2"
14188 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -gstrict-dwarf" >&5
14189 $as_echo_n "checking whether the compiler supports -gstrict-dwarf... " >&6; }
14190 if ${ac_cv_cflags__gstrict_dwarf+:} false
; then :
14191 $as_echo_n "(cached) " >&6
14193 ac_wine_try_cflags_saved
=$CFLAGS
14194 CFLAGS
="$CFLAGS -gstrict-dwarf"
14195 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14196 /* end confdefs.h. */
14197 int main(int argc, char **argv) { return 0; }
14199 if ac_fn_c_try_link
"$LINENO"; then :
14200 ac_cv_cflags__gstrict_dwarf
=yes
14202 ac_cv_cflags__gstrict_dwarf
=no
14204 rm -f core conftest.err conftest.
$ac_objext \
14205 conftest
$ac_exeext conftest.
$ac_ext
14206 CFLAGS
=$ac_wine_try_cflags_saved
14208 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__gstrict_dwarf" >&5
14209 $as_echo "$ac_cv_cflags__gstrict_dwarf" >&6; }
14210 if test "x$ac_cv_cflags__gstrict_dwarf" = xyes
; then :
14211 EXTRACFLAGS
="$EXTRACFLAGS -gstrict-dwarf"
14218 *i
[3456789]86*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fno-omit-frame-pointer" >&5
14219 $as_echo_n "checking whether the compiler supports -fno-omit-frame-pointer... " >&6; }
14220 if ${ac_cv_cflags__fno_omit_frame_pointer+:} false
; then :
14221 $as_echo_n "(cached) " >&6
14223 ac_wine_try_cflags_saved
=$CFLAGS
14224 CFLAGS
="$CFLAGS -fno-omit-frame-pointer"
14225 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14226 /* end confdefs.h. */
14227 int main(int argc, char **argv) { return 0; }
14229 if ac_fn_c_try_link
"$LINENO"; then :
14230 ac_cv_cflags__fno_omit_frame_pointer
=yes
14232 ac_cv_cflags__fno_omit_frame_pointer
=no
14234 rm -f core conftest.err conftest.
$ac_objext \
14235 conftest
$ac_exeext conftest.
$ac_ext
14236 CFLAGS
=$ac_wine_try_cflags_saved
14238 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fno_omit_frame_pointer" >&5
14239 $as_echo "$ac_cv_cflags__fno_omit_frame_pointer" >&6; }
14240 if test "x$ac_cv_cflags__fno_omit_frame_pointer" = xyes
; then :
14241 EXTRACFLAGS
="$EXTRACFLAGS -fno-omit-frame-pointer"
14246 x86_64-
*mingw32
*|x86_64-
*cygwin
*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wno-format" >&5
14247 $as_echo_n "checking whether the compiler supports -Wno-format... " >&6; }
14248 if ${ac_cv_cflags__Wno_format+:} false
; then :
14249 $as_echo_n "(cached) " >&6
14251 ac_wine_try_cflags_saved
=$CFLAGS
14252 CFLAGS
="$CFLAGS -Wno-format"
14253 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14254 /* end confdefs.h. */
14255 int main(int argc, char **argv) { return 0; }
14257 if ac_fn_c_try_link
"$LINENO"; then :
14258 ac_cv_cflags__Wno_format
=yes
14260 ac_cv_cflags__Wno_format
=no
14262 rm -f core conftest.err conftest.
$ac_objext \
14263 conftest
$ac_exeext conftest.
$ac_ext
14264 CFLAGS
=$ac_wine_try_cflags_saved
14266 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wno_format" >&5
14267 $as_echo "$ac_cv_cflags__Wno_format" >&6; }
14268 if test "x$ac_cv_cflags__Wno_format" = xyes
; then :
14269 EXTRACFLAGS
="$EXTRACFLAGS -Wno-format"
14273 if test "x$enable_maintainer_mode" = "xyes"
14275 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Werror" >&5
14276 $as_echo_n "checking whether the compiler supports -Werror... " >&6; }
14277 if ${ac_cv_cflags__Werror+:} false
; then :
14278 $as_echo_n "(cached) " >&6
14280 ac_wine_try_cflags_saved
=$CFLAGS
14281 CFLAGS
="$CFLAGS -Werror"
14282 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14283 /* end confdefs.h. */
14284 int main(int argc, char **argv) { return 0; }
14286 if ac_fn_c_try_link
"$LINENO"; then :
14287 ac_cv_cflags__Werror
=yes
14289 ac_cv_cflags__Werror
=no
14291 rm -f core conftest.err conftest.
$ac_objext \
14292 conftest
$ac_exeext conftest.
$ac_ext
14293 CFLAGS
=$ac_wine_try_cflags_saved
14295 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Werror" >&5
14296 $as_echo "$ac_cv_cflags__Werror" >&6; }
14297 if test "x$ac_cv_cflags__Werror" = xyes
; then :
14298 EXTRACFLAGS
="$EXTRACFLAGS -Werror"
14302 saved_CFLAGS
="$CFLAGS"
14303 CFLAGS
="$CFLAGS -Werror"
14304 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ms_hook_prologue attribute" >&5
14305 $as_echo_n "checking for ms_hook_prologue attribute... " >&6; }
14306 if ${ac_cv_have_ms_hook_prologue+:} false
; then :
14307 $as_echo_n "(cached) " >&6
14309 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14310 /* end confdefs.h. */
14311 int __attribute__((__ms_hook_prologue__)) test(void) { return 0; }
14320 if ac_fn_c_try_compile
"$LINENO"; then :
14321 ac_cv_have_ms_hook_prologue
="yes"
14323 ac_cv_have_ms_hook_prologue
="no"
14325 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
14327 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_ms_hook_prologue" >&5
14328 $as_echo "$ac_cv_have_ms_hook_prologue" >&6; }
14329 CFLAGS
="$saved_CFLAGS"
14330 if test "$ac_cv_have_ms_hook_prologue" = "yes"
14333 $as_echo "#define DECLSPEC_HOTPATCH __attribute__((__ms_hook_prologue__))" >>confdefs.h
14336 $as_echo "#define DECLSPEC_HOTPATCH /* */" >>confdefs.h
14342 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for the need to disable Fortify" >&5
14343 $as_echo_n "checking for the need to disable Fortify... " >&6; }
14344 if ${ac_cv_c_fortify_enabled+:} false
; then :
14345 $as_echo_n "(cached) " >&6
14347 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14348 /* end confdefs.h. */
14349 #include <string.h>
14353 #if defined(__USE_FORTIFY_LEVEL) && __USE_FORTIFY_LEVEL > 0
14354 #error Fortify enabled
14360 if ac_fn_c_try_compile
"$LINENO"; then :
14361 ac_cv_c_fortify_enabled
=no
14363 ac_cv_c_fortify_enabled
=yes
14365 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
14367 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_fortify_enabled" >&5
14368 $as_echo "$ac_cv_c_fortify_enabled" >&6; }
14369 if test "$ac_cv_c_fortify_enabled" = yes
14371 CFLAGS
="$CFLAGS -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=0"
14375 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether external symbols need an underscore prefix" >&5
14376 $as_echo_n "checking whether external symbols need an underscore prefix... " >&6; }
14377 if ${ac_cv_c_extern_prefix+:} false
; then :
14378 $as_echo_n "(cached) " >&6
14380 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14381 /* end confdefs.h. */
14382 extern int ac_test;
14386 asm(".globl _ac_test\n_ac_test:\t.long 0"); if (ac_test) return 1
14391 if ac_fn_c_try_link
"$LINENO"; then :
14392 ac_cv_c_extern_prefix
="yes"
14394 ac_cv_c_extern_prefix
="no"
14396 rm -f core conftest.err conftest.
$ac_objext \
14397 conftest
$ac_exeext conftest.
$ac_ext
14399 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_extern_prefix" >&5
14400 $as_echo "$ac_cv_c_extern_prefix" >&6; }
14404 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether external symbols need stdcall decoration" >&5
14405 $as_echo_n "checking whether external symbols need stdcall decoration... " >&6; }
14406 if ${ac_cv_c_stdcall_suffix+:} false
; then :
14407 $as_echo_n "(cached) " >&6
14409 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14410 /* end confdefs.h. */
14412 #define __stdcall __attribute__((__stdcall__))
14414 int __stdcall ac_test(int i) { return i; }
14418 asm("jmp _ac_test@4"); if (ac_test(1)) return 1
14423 if ac_fn_c_try_link
"$LINENO"; then :
14424 ac_cv_c_stdcall_suffix
="yes"
14426 ac_cv_c_stdcall_suffix
="no"
14428 rm -f core conftest.err conftest.
$ac_objext \
14429 conftest
$ac_exeext conftest.
$ac_ext
14431 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_stdcall_suffix" >&5
14432 $as_echo "$ac_cv_c_stdcall_suffix" >&6; } ;;
14433 *) ac_cv_c_stdcall_suffix
="no" ;;
14437 if test "$ac_cv_c_extern_prefix" = "yes"
14439 $as_echo "#define __ASM_NAME(name) \"_\" name" >>confdefs.h
14441 asm_name_prefix
="_"
14443 $as_echo "#define __ASM_NAME(name) name" >>confdefs.h
14449 if test "$ac_cv_c_stdcall_suffix" = "yes"
14451 $as_echo "#define __ASM_STDCALL(args) \"@\" #args" >>confdefs.h
14454 $as_echo "#define __ASM_STDCALL(args) \"\"" >>confdefs.h
14459 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to define a function in assembly code" >&5
14460 $as_echo_n "checking how to define a function in assembly code... " >&6; }
14461 if ${ac_cv_asm_func_def+:} false
; then :
14462 $as_echo_n "(cached) " >&6
14464 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14465 /* end confdefs.h. */
14470 asm("\t.globl _ac_test\n\t.def _ac_test; .scl 2; .type 32; .endef\n_ac_test:\t.long 0");
14475 if ac_fn_c_try_link
"$LINENO"; then :
14476 ac_cv_asm_func_def
=".def"
14478 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14479 /* end confdefs.h. */
14484 asm("\t.globl _ac_test\n\t.type _ac_test,@function\n_ac_test:\t.long 0");
14489 if ac_fn_c_try_link
"$LINENO"; then :
14490 ac_cv_asm_func_def
=".type @function"
14492 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14493 /* end confdefs.h. */
14498 asm("\t.globl _ac_test\n\t.type _ac_test,2\n_ac_test:\t.long 0");
14503 if ac_fn_c_try_link
"$LINENO"; then :
14504 ac_cv_asm_func_def
=".type 2"
14506 ac_cv_asm_func_def
="unknown"
14508 rm -f core conftest.err conftest.
$ac_objext \
14509 conftest
$ac_exeext conftest.
$ac_ext
14511 rm -f core conftest.err conftest.
$ac_objext \
14512 conftest
$ac_exeext conftest.
$ac_ext
14514 rm -f core conftest.err conftest.
$ac_objext \
14515 conftest
$ac_exeext conftest.
$ac_ext
14517 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_asm_func_def" >&5
14518 $as_echo "$ac_cv_asm_func_def" >&6; }
14521 case "$ac_cv_asm_func_def" in
14523 $as_echo "#define __ASM_FUNC(name) \".def \" __ASM_NAME(name) \"; .scl 2; .type 32; .endef\"" >>confdefs.h
14525 asm_func_header
=".def $asm_name_prefix\" #name suffix \"; .scl 2; .type 32; .endef" ;;
14527 $as_echo "#define __ASM_FUNC(name) \".type \" __ASM_NAME(name) \",@function\"" >>confdefs.h
14529 asm_func_header
=".type $asm_name_prefix\" #name suffix \",@function" ;;
14531 $as_echo "#define __ASM_FUNC(name) \".type \" __ASM_NAME(name) \",2\"" >>confdefs.h
14533 asm_func_header
=".type $asm_name_prefix\" #name suffix \",2" ;;
14535 $as_echo "#define __ASM_FUNC(name) \"\"" >>confdefs.h
14537 asm_func_header
="" ;;
14540 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether asm() works outside of functions" >&5
14541 $as_echo_n "checking whether asm() works outside of functions... " >&6; }
14542 if ${ac_cv_c_asm_outside_funcs+:} false
; then :
14543 $as_echo_n "(cached) " >&6
14545 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14546 /* end confdefs.h. */
14547 asm(".text\n\t.long 0");
14556 if ac_fn_c_try_compile
"$LINENO"; then :
14557 ac_cv_c_asm_outside_funcs
="yes"
14559 ac_cv_c_asm_outside_funcs
="no"
14561 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
14563 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_asm_outside_funcs" >&5
14564 $as_echo "$ac_cv_c_asm_outside_funcs" >&6; }
14566 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether .previous is supported in assembly code" >&5
14567 $as_echo_n "checking whether .previous is supported in assembly code... " >&6; }
14568 if ${ac_cv_c_dot_previous+:} false
; then :
14569 $as_echo_n "(cached) " >&6
14571 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14572 /* end confdefs.h. */
14577 asm(".text\nac_test:\t.long 0\n\t.previous");
14582 if ac_fn_c_try_link
"$LINENO"; then :
14583 ac_cv_c_dot_previous
="yes"
14585 ac_cv_c_dot_previous
="no"
14587 rm -f core conftest.err conftest.
$ac_objext \
14588 conftest
$ac_exeext conftest.
$ac_ext
14590 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_dot_previous" >&5
14591 $as_echo "$ac_cv_c_dot_previous" >&6; }
14593 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether CFI directives are supported in assembly code" >&5
14594 $as_echo_n "checking whether CFI directives are supported in assembly code... " >&6; }
14595 if ${ac_cv_c_cfi_support+:} false
; then :
14596 $as_echo_n "(cached) " >&6
14598 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14599 /* end confdefs.h. */
14600 asm(".text\nac_test:\t.cfi_startproc\n\t.long 0\n\t.cfi_endproc");
14609 if ac_fn_c_try_compile
"$LINENO"; then :
14610 ac_cv_c_cfi_support
="yes"
14612 ac_cv_c_cfi_support
="no"
14614 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
14616 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_cfi_support" >&5
14617 $as_echo "$ac_cv_c_cfi_support" >&6; }
14619 asm_func_header
=".globl $asm_name_prefix\" #name suffix \"\\n\\t$asm_func_header\\n$asm_name_prefix\" #name suffix \":\\n\\t"
14620 asm_func_trailer
=""
14621 if test "$ac_cv_c_dot_previous" = "yes"
14623 asm_func_trailer
="\\n\\t.previous"
14625 if test "$ac_cv_c_cfi_support" = "yes"
14627 asm_func_header
="$asm_func_header.cfi_startproc\\n\\t"
14628 asm_func_trailer
="\\n\\t.cfi_endproc$asm_func_trailer"
14630 $as_echo "#define __ASM_CFI(str) str" >>confdefs.h
14632 UNWINDFLAGS
=-fasynchronous-unwind-tables
14635 $as_echo "#define __ASM_CFI(str) \"\"" >>confdefs.h
14639 asm_func_code
="$asm_func_header\" code \"$asm_func_trailer"
14642 if test "$ac_cv_c_asm_outside_funcs" = "yes"
14644 cat >>confdefs.h
<<_ACEOF
14645 #define __ASM_DEFINE_FUNC(name,suffix,code) asm(".text\n\t.align 4\n\t$asm_func_code");
14649 cat >>confdefs.h
<<_ACEOF
14650 #define __ASM_DEFINE_FUNC(name,suffix,code) void __asm_dummy_##name(void) { asm(".text\n\t.align 4\n\t$asm_func_code"); }
14655 $as_echo "#define __ASM_GLOBAL_FUNC(name,code) __ASM_DEFINE_FUNC(name,\"\",code)" >>confdefs.h
14658 $as_echo "#define __ASM_STDCALL_FUNC(name,args,code) __ASM_DEFINE_FUNC(name,__ASM_STDCALL(args),code)" >>confdefs.h
14663 cygwin
*|mingw32
*) TOOLSEXT
=".exe"
14670 *i
[3456789]86*|x86_64
*)
14671 test "$wine_binary" = wine || wine_fn_ignore_file
"loader/wine-preloader"
14672 loader_programs
="$loader_programs $wine_binary-preloader"
14673 as_fn_append LOADER_RULES
"
14674 $wine_binary-preloader: preloader.o
14675 \$(CC) -o \$@ -static -nostartfiles -nodefaultlibs -Wl,-Ttext=0x7c400000 preloader.o \$(LIBPORT) \$(LDFLAGS)
14677 install install-lib:: $wine_binary-preloader
14678 \$(INSTALL_PROGRAM) $wine_binary-preloader \$(DESTDIR)\$(bindir)/$wine_binary-preloader
14681 \$(RM) \$(DESTDIR)\$(bindir)/$wine_binary-preloader
14683 preloader_EXTRADEFS = $BUILTINFLAG
14688 as_fn_append LOADER_RULES
"
14689 PROGRAMS = $loader_programs
14693 ac_save_CFLAGS
="$CFLAGS"
14694 CFLAGS
="$CFLAGS $BUILTINFLAG"
14773 as_ac_var
=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
14774 ac_fn_c_check_func
"$LINENO" "$ac_func" "$as_ac_var"
14775 if eval test \"x\$
"$as_ac_var"\" = x
"yes"; then :
14776 cat >>confdefs.h
<<_ACEOF
14777 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
14783 CFLAGS
="$ac_save_CFLAGS"
14785 if test "$ac_cv_func_dlopen" = no
14787 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
14788 $as_echo_n "checking for dlopen in -ldl... " >&6; }
14789 if ${ac_cv_lib_dl_dlopen+:} false
; then :
14790 $as_echo_n "(cached) " >&6
14792 ac_check_lib_save_LIBS
=$LIBS
14794 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14795 /* end confdefs.h. */
14797 /* Override any GCC internal prototype to avoid an error.
14798 Use char because int might match the return type of a GCC
14799 builtin and then its argument prototype would still apply. */
14812 if ac_fn_c_try_link
"$LINENO"; then :
14813 ac_cv_lib_dl_dlopen
=yes
14815 ac_cv_lib_dl_dlopen
=no
14817 rm -f core conftest.err conftest.
$ac_objext \
14818 conftest
$ac_exeext conftest.
$ac_ext
14819 LIBS
=$ac_check_lib_save_LIBS
14821 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
14822 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
14823 if test "x$ac_cv_lib_dl_dlopen" = xyes
; then :
14824 $as_echo "#define HAVE_DLOPEN 1" >>confdefs.h
14830 ac_wine_check_funcs_save_LIBS
="$LIBS"
14831 LIBS
="$LIBS $DL_LIBS"
14832 for ac_func
in dladdr
14834 ac_fn_c_check_func
"$LINENO" "dladdr" "ac_cv_func_dladdr"
14835 if test "x$ac_cv_func_dladdr" = xyes
; then :
14836 cat >>confdefs.h
<<_ACEOF
14837 #define HAVE_DLADDR 1
14843 LIBS
="$ac_wine_check_funcs_save_LIBS"
14845 if test "$ac_cv_func_poll" = no
14847 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for poll in -lpoll" >&5
14848 $as_echo_n "checking for poll in -lpoll... " >&6; }
14849 if ${ac_cv_lib_poll_poll+:} false
; then :
14850 $as_echo_n "(cached) " >&6
14852 ac_check_lib_save_LIBS
=$LIBS
14853 LIBS
="-lpoll $LIBS"
14854 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14855 /* end confdefs.h. */
14857 /* Override any GCC internal prototype to avoid an error.
14858 Use char because int might match the return type of a GCC
14859 builtin and then its argument prototype would still apply. */
14872 if ac_fn_c_try_link
"$LINENO"; then :
14873 ac_cv_lib_poll_poll
=yes
14875 ac_cv_lib_poll_poll
=no
14877 rm -f core conftest.err conftest.
$ac_objext \
14878 conftest
$ac_exeext conftest.
$ac_ext
14879 LIBS
=$ac_check_lib_save_LIBS
14881 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_poll_poll" >&5
14882 $as_echo "$ac_cv_lib_poll_poll" >&6; }
14883 if test "x$ac_cv_lib_poll_poll" = xyes
; then :
14884 $as_echo "#define HAVE_POLL 1" >>confdefs.h
14891 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing gethostbyname" >&5
14892 $as_echo_n "checking for library containing gethostbyname... " >&6; }
14893 if ${ac_cv_search_gethostbyname+:} false
; then :
14894 $as_echo_n "(cached) " >&6
14896 ac_func_search_save_LIBS
=$LIBS
14897 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14898 /* end confdefs.h. */
14900 /* Override any GCC internal prototype to avoid an error.
14901 Use char because int might match the return type of a GCC
14902 builtin and then its argument prototype would still apply. */
14906 char gethostbyname ();
14910 return gethostbyname ();
14915 for ac_lib
in '' nsl
; do
14916 if test -z "$ac_lib"; then
14917 ac_res
="none required"
14920 LIBS
="-l$ac_lib $ac_func_search_save_LIBS"
14922 if ac_fn_c_try_link
"$LINENO"; then :
14923 ac_cv_search_gethostbyname
=$ac_res
14925 rm -f core conftest.err conftest.
$ac_objext \
14927 if ${ac_cv_search_gethostbyname+:} false
; then :
14931 if ${ac_cv_search_gethostbyname+:} false
; then :
14934 ac_cv_search_gethostbyname
=no
14936 rm conftest.
$ac_ext
14937 LIBS
=$ac_func_search_save_LIBS
14939 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_gethostbyname" >&5
14940 $as_echo "$ac_cv_search_gethostbyname" >&6; }
14941 ac_res
=$ac_cv_search_gethostbyname
14942 if test "$ac_res" != no
; then :
14943 test "$ac_res" = "none required" || LIBS
="$ac_res $LIBS"
14948 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing connect" >&5
14949 $as_echo_n "checking for library containing connect... " >&6; }
14950 if ${ac_cv_search_connect+:} false
; then :
14951 $as_echo_n "(cached) " >&6
14953 ac_func_search_save_LIBS
=$LIBS
14954 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14955 /* end confdefs.h. */
14957 /* Override any GCC internal prototype to avoid an error.
14958 Use char because int might match the return type of a GCC
14959 builtin and then its argument prototype would still apply. */
14972 for ac_lib
in '' socket
; do
14973 if test -z "$ac_lib"; then
14974 ac_res
="none required"
14977 LIBS
="-l$ac_lib $ac_func_search_save_LIBS"
14979 if ac_fn_c_try_link
"$LINENO"; then :
14980 ac_cv_search_connect
=$ac_res
14982 rm -f core conftest.err conftest.
$ac_objext \
14984 if ${ac_cv_search_connect+:} false
; then :
14988 if ${ac_cv_search_connect+:} false
; then :
14991 ac_cv_search_connect
=no
14993 rm conftest.
$ac_ext
14994 LIBS
=$ac_func_search_save_LIBS
14996 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_connect" >&5
14997 $as_echo "$ac_cv_search_connect" >&6; }
14998 ac_res
=$ac_cv_search_connect
14999 if test "$ac_res" != no
; then :
15000 test "$ac_res" = "none required" || LIBS
="$ac_res $LIBS"
15005 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing inet_aton" >&5
15006 $as_echo_n "checking for library containing inet_aton... " >&6; }
15007 if ${ac_cv_search_inet_aton+:} false
; then :
15008 $as_echo_n "(cached) " >&6
15010 ac_func_search_save_LIBS
=$LIBS
15011 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15012 /* end confdefs.h. */
15014 /* Override any GCC internal prototype to avoid an error.
15015 Use char because int might match the return type of a GCC
15016 builtin and then its argument prototype would still apply. */
15024 return inet_aton ();
15029 for ac_lib
in '' resolv
; do
15030 if test -z "$ac_lib"; then
15031 ac_res
="none required"
15034 LIBS
="-l$ac_lib $ac_func_search_save_LIBS"
15036 if ac_fn_c_try_link
"$LINENO"; then :
15037 ac_cv_search_inet_aton
=$ac_res
15039 rm -f core conftest.err conftest.
$ac_objext \
15041 if ${ac_cv_search_inet_aton+:} false
; then :
15045 if ${ac_cv_search_inet_aton+:} false
; then :
15048 ac_cv_search_inet_aton
=no
15050 rm conftest.
$ac_ext
15051 LIBS
=$ac_func_search_save_LIBS
15053 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_inet_aton" >&5
15054 $as_echo "$ac_cv_search_inet_aton" >&6; }
15055 ac_res
=$ac_cv_search_inet_aton
15056 if test "$ac_res" != no
; then :
15057 test "$ac_res" = "none required" || LIBS
="$ac_res $LIBS"
15077 as_ac_var
=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
15078 ac_fn_c_check_func
"$LINENO" "$ac_func" "$as_ac_var"
15079 if eval test \"x\$
"$as_ac_var"\" = x
"yes"; then :
15080 cat >>confdefs.h
<<_ACEOF
15081 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
15089 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing clock_gettime" >&5
15090 $as_echo_n "checking for library containing clock_gettime... " >&6; }
15091 if ${ac_cv_search_clock_gettime+:} false
; then :
15092 $as_echo_n "(cached) " >&6
15094 ac_func_search_save_LIBS
=$LIBS
15095 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15096 /* end confdefs.h. */
15098 /* Override any GCC internal prototype to avoid an error.
15099 Use char because int might match the return type of a GCC
15100 builtin and then its argument prototype would still apply. */
15104 char clock_gettime ();
15108 return clock_gettime ();
15113 for ac_lib
in '' rt
; do
15114 if test -z "$ac_lib"; then
15115 ac_res
="none required"
15118 LIBS
="-l$ac_lib $ac_func_search_save_LIBS"
15120 if ac_fn_c_try_link
"$LINENO"; then :
15121 ac_cv_search_clock_gettime
=$ac_res
15123 rm -f core conftest.err conftest.
$ac_objext \
15125 if ${ac_cv_search_clock_gettime+:} false
; then :
15129 if ${ac_cv_search_clock_gettime+:} false
; then :
15132 ac_cv_search_clock_gettime
=no
15134 rm conftest.
$ac_ext
15135 LIBS
=$ac_func_search_save_LIBS
15137 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_clock_gettime" >&5
15138 $as_echo "$ac_cv_search_clock_gettime" >&6; }
15139 ac_res
=$ac_cv_search_clock_gettime
15140 if test "$ac_res" != no
; then :
15141 test "$ac_res" = "none required" || LIBS
="$ac_res $LIBS"
15143 $as_echo "#define HAVE_CLOCK_GETTIME 1" >>confdefs.h
15145 test "$ac_res" = "none required" || RT_LIBS
="$ac_res"
15153 if test "$ac_cv_header_ldap_h" = "yes" -a "$ac_cv_header_lber_h" = "yes"
15155 ac_fn_c_check_type
"$LINENO" "LDAPSortKey" "ac_cv_type_LDAPSortKey" "#include <ldap.h>
15157 if test "x$ac_cv_type_LDAPSortKey" = xyes
; then :
15158 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldap_initialize in -lldap_r" >&5
15159 $as_echo_n "checking for ldap_initialize in -lldap_r... " >&6; }
15160 if ${ac_cv_lib_ldap_r_ldap_initialize+:} false
; then :
15161 $as_echo_n "(cached) " >&6
15163 ac_check_lib_save_LIBS
=$LIBS
15164 LIBS
="-lldap_r $PTHREAD_LIBS $LIBS"
15165 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15166 /* end confdefs.h. */
15168 /* Override any GCC internal prototype to avoid an error.
15169 Use char because int might match the return type of a GCC
15170 builtin and then its argument prototype would still apply. */
15174 char ldap_initialize ();
15178 return ldap_initialize ();
15183 if ac_fn_c_try_link
"$LINENO"; then :
15184 ac_cv_lib_ldap_r_ldap_initialize
=yes
15186 ac_cv_lib_ldap_r_ldap_initialize
=no
15188 rm -f core conftest.err conftest.
$ac_objext \
15189 conftest
$ac_exeext conftest.
$ac_ext
15190 LIBS
=$ac_check_lib_save_LIBS
15192 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ldap_r_ldap_initialize" >&5
15193 $as_echo "$ac_cv_lib_ldap_r_ldap_initialize" >&6; }
15194 if test "x$ac_cv_lib_ldap_r_ldap_initialize" = xyes
; then :
15195 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ber_init in -llber" >&5
15196 $as_echo_n "checking for ber_init in -llber... " >&6; }
15197 if ${ac_cv_lib_lber_ber_init+:} false
; then :
15198 $as_echo_n "(cached) " >&6
15200 ac_check_lib_save_LIBS
=$LIBS
15201 LIBS
="-llber $PTHREAD_LIBS $LIBS"
15202 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15203 /* end confdefs.h. */
15205 /* Override any GCC internal prototype to avoid an error.
15206 Use char because int might match the return type of a GCC
15207 builtin and then its argument prototype would still apply. */
15215 return ber_init ();
15220 if ac_fn_c_try_link
"$LINENO"; then :
15221 ac_cv_lib_lber_ber_init
=yes
15223 ac_cv_lib_lber_ber_init
=no
15225 rm -f core conftest.err conftest.
$ac_objext \
15226 conftest
$ac_exeext conftest.
$ac_ext
15227 LIBS
=$ac_check_lib_save_LIBS
15229 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_lber_ber_init" >&5
15230 $as_echo "$ac_cv_lib_lber_ber_init" >&6; }
15231 if test "x$ac_cv_lib_lber_ber_init" = xyes
; then :
15233 $as_echo "#define HAVE_LDAP 1" >>confdefs.h
15235 LDAP_LIBS
="-lldap_r -llber"
15242 ac_wine_check_funcs_save_LIBS
="$LIBS"
15243 LIBS
="$LIBS $LDAP_LIBS $PTHREAD_LIBS"
15245 ldap_count_references \
15246 ldap_first_reference \
15247 ldap_next_reference \
15248 ldap_parse_reference \
15249 ldap_parse_sort_control \
15250 ldap_parse_sortresponse_control \
15251 ldap_parse_vlv_control \
15252 ldap_parse_vlvresponse_control
15254 as_ac_var
=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
15255 ac_fn_c_check_func
"$LINENO" "$ac_func" "$as_ac_var"
15256 if eval test \"x\$
"$as_ac_var"\" = x
"yes"; then :
15257 cat >>confdefs.h
<<_ACEOF
15258 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
15264 LIBS
="$ac_wine_check_funcs_save_LIBS"
15266 if test "x$LDAP_LIBS" = "x"; then :
15267 case "x$with_ldap" in
15268 x
) as_fn_append wine_notices
"|libldap (OpenLDAP) ${notice_platform}development files not found, LDAP won't be supported." ;;
15270 *) as_fn_error $?
"libldap (OpenLDAP) ${notice_platform}development files not found, LDAP won't be supported.
15271 This is an error since --with-ldap was requested." "$LINENO" 5 ;;
15275 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether mkdir takes only one argument" >&5
15276 $as_echo_n "checking whether mkdir takes only one argument... " >&6; }
15277 if ${wine_cv_one_arg_mkdir+:} false
; then :
15278 $as_echo_n "(cached) " >&6
15280 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15281 /* end confdefs.h. */
15282 #include <sys/stat.h>
15291 if ac_fn_c_try_compile
"$LINENO"; then :
15292 wine_cv_one_arg_mkdir
=yes
15294 wine_cv_one_arg_mkdir
=no
15296 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
15298 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_one_arg_mkdir" >&5
15299 $as_echo "$wine_cv_one_arg_mkdir" >&6; }
15300 if test "$wine_cv_one_arg_mkdir" = "yes"
15303 $as_echo "#define HAVE_ONE_ARG_MKDIR 1" >>confdefs.h
15307 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sched_setaffinity" >&5
15308 $as_echo_n "checking for sched_setaffinity... " >&6; }
15309 if ${wine_cv_have_sched_setaffinity+:} false
; then :
15310 $as_echo_n "(cached) " >&6
15312 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15313 /* end confdefs.h. */
15314 #define _GNU_SOURCE
15319 sched_setaffinity(0, 0, 0);
15324 if ac_fn_c_try_link
"$LINENO"; then :
15325 wine_cv_have_sched_setaffinity
=yes
15327 wine_cv_have_sched_setaffinity
=no
15329 rm -f core conftest.err conftest.
$ac_objext \
15330 conftest
$ac_exeext conftest.
$ac_ext
15332 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_have_sched_setaffinity" >&5
15333 $as_echo "$wine_cv_have_sched_setaffinity" >&6; }
15334 if test "$wine_cv_have_sched_setaffinity" = "yes"
15337 $as_echo "#define HAVE_SCHED_SETAFFINITY 1" >>confdefs.h
15341 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fallocate" >&5
15342 $as_echo_n "checking for fallocate... " >&6; }
15343 if ${wine_cv_have_fallocate+:} false
; then :
15344 $as_echo_n "(cached) " >&6
15346 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15347 /* end confdefs.h. */
15348 #define _GNU_SOURCE
15353 fallocate(-1, 0, 0, 0);
15358 if ac_fn_c_try_link
"$LINENO"; then :
15359 wine_cv_have_fallocate
=yes
15361 wine_cv_have_fallocate
=no
15363 rm -f core conftest.err conftest.
$ac_objext \
15364 conftest
$ac_exeext conftest.
$ac_ext
15366 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_have_fallocate" >&5
15367 $as_echo "$wine_cv_have_fallocate" >&6; }
15368 if test "$wine_cv_have_fallocate" = "yes"
15371 $as_echo "#define HAVE_FALLOCATE 1" >>confdefs.h
15376 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for inline" >&5
15377 $as_echo_n "checking for inline... " >&6; }
15378 if ${ac_cv_c_inline+:} false
; then :
15379 $as_echo_n "(cached) " >&6
15382 for ac_kw
in inline __inline__ __inline
; do
15383 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15384 /* end confdefs.h. */
15385 #ifndef __cplusplus
15387 static $ac_kw foo_t static_foo () {return 0; }
15388 $ac_kw foo_t foo () {return 0; }
15392 if ac_fn_c_try_compile
"$LINENO"; then :
15393 ac_cv_c_inline
=$ac_kw
15395 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
15396 test "$ac_cv_c_inline" != no
&& break
15400 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_inline" >&5
15401 $as_echo "$ac_cv_c_inline" >&6; }
15403 case $ac_cv_c_inline in
15406 case $ac_cv_c_inline in
15408 *) ac_val
=$ac_cv_c_inline;;
15410 cat >>confdefs.h
<<_ACEOF
15411 #ifndef __cplusplus
15412 #define inline $ac_val
15418 ac_fn_c_check_type
"$LINENO" "mode_t" "ac_cv_type_mode_t" "$ac_includes_default"
15419 if test "x$ac_cv_type_mode_t" = xyes
; then :
15421 cat >>confdefs.h
<<_ACEOF
15422 #define HAVE_MODE_T 1
15427 ac_fn_c_check_type
"$LINENO" "off_t" "ac_cv_type_off_t" "$ac_includes_default"
15428 if test "x$ac_cv_type_off_t" = xyes
; then :
15430 cat >>confdefs.h
<<_ACEOF
15431 #define HAVE_OFF_T 1
15436 ac_fn_c_check_type
"$LINENO" "pid_t" "ac_cv_type_pid_t" "$ac_includes_default"
15437 if test "x$ac_cv_type_pid_t" = xyes
; then :
15439 cat >>confdefs.h
<<_ACEOF
15440 #define HAVE_PID_T 1
15445 ac_fn_c_check_type
"$LINENO" "size_t" "ac_cv_type_size_t" "$ac_includes_default"
15446 if test "x$ac_cv_type_size_t" = xyes
; then :
15448 cat >>confdefs.h
<<_ACEOF
15449 #define HAVE_SIZE_T 1
15454 ac_fn_c_check_type
"$LINENO" "ssize_t" "ac_cv_type_ssize_t" "$ac_includes_default"
15455 if test "x$ac_cv_type_ssize_t" = xyes
; then :
15457 cat >>confdefs.h
<<_ACEOF
15458 #define HAVE_SSIZE_T 1
15463 ac_fn_c_check_type
"$LINENO" "long long" "ac_cv_type_long_long" "$ac_includes_default"
15464 if test "x$ac_cv_type_long_long" = xyes
; then :
15466 cat >>confdefs.h
<<_ACEOF
15467 #define HAVE_LONG_LONG 1
15472 ac_fn_c_check_type
"$LINENO" "fsblkcnt_t" "ac_cv_type_fsblkcnt_t" "$ac_includes_default"
15473 if test "x$ac_cv_type_fsblkcnt_t" = xyes
; then :
15475 cat >>confdefs.h
<<_ACEOF
15476 #define HAVE_FSBLKCNT_T 1
15481 ac_fn_c_check_type
"$LINENO" "fsfilcnt_t" "ac_cv_type_fsfilcnt_t" "$ac_includes_default"
15482 if test "x$ac_cv_type_fsfilcnt_t" = xyes
; then :
15484 cat >>confdefs.h
<<_ACEOF
15485 #define HAVE_FSFILCNT_T 1
15491 ac_fn_c_check_type
"$LINENO" "sigset_t" "ac_cv_type_sigset_t" "#include <sys/types.h>
15492 #include <signal.h>
15494 if test "x$ac_cv_type_sigset_t" = xyes
; then :
15496 cat >>confdefs.h
<<_ACEOF
15497 #define HAVE_SIGSET_T 1
15503 ac_fn_c_check_type
"$LINENO" "request_sense" "ac_cv_type_request_sense" "#include <linux/cdrom.h>
15505 if test "x$ac_cv_type_request_sense" = xyes
; then :
15507 cat >>confdefs.h
<<_ACEOF
15508 #define HAVE_REQUEST_SENSE 1
15515 ac_fn_c_check_type
"$LINENO" "struct xinpgen" "ac_cv_type_struct_xinpgen" "#include <sys/types.h>
15516 #ifdef HAVE_SYS_SOCKET_H
15517 #include <sys/socket.h>
15519 #ifdef HAVE_SYS_SOCKETVAR_H
15520 #include <sys/socketvar.h>
15522 #ifdef HAVE_NET_ROUTE_H
15523 #include <net/route.h>
15525 #ifdef HAVE_NETINET_IN_H
15526 #include <netinet/in.h>
15528 #ifdef HAVE_NETINET_IN_SYSTM_H
15529 #include <netinet/in_systm.h>
15531 #ifdef HAVE_NETINET_IP_H
15532 #include <netinet/ip.h>
15534 #ifdef HAVE_NETINET_IN_PCB_H
15535 #include <netinet/in_pcb.h>
15538 if test "x$ac_cv_type_struct_xinpgen" = xyes
; then :
15540 cat >>confdefs.h
<<_ACEOF
15541 #define HAVE_STRUCT_XINPGEN 1
15548 ac_fn_c_check_type
"$LINENO" "struct r_debug" "ac_cv_type_struct_r_debug" "#ifdef HAVE_LINK_H
15551 #ifdef HAVE_SYS_LINK_H
15552 #include <sys/link.h>
15555 if test "x$ac_cv_type_struct_r_debug" = xyes
; then :
15557 cat >>confdefs.h
<<_ACEOF
15558 #define HAVE_STRUCT_R_DEBUG 1
15563 ac_fn_c_check_type
"$LINENO" "struct link_map" "ac_cv_type_struct_link_map" "#ifdef HAVE_LINK_H
15566 #ifdef HAVE_SYS_LINK_H
15567 #include <sys/link.h>
15570 if test "x$ac_cv_type_struct_link_map" = xyes
; then :
15572 cat >>confdefs.h
<<_ACEOF
15573 #define HAVE_STRUCT_LINK_MAP 1
15580 ac_fn_c_check_member
"$LINENO" "struct ff_effect" "direction" "ac_cv_member_struct_ff_effect_direction" "#ifdef HAVE_LINUX_INPUT_H
15581 #include <linux/input.h>
15584 if test "x$ac_cv_member_struct_ff_effect_direction" = xyes
; then :
15586 cat >>confdefs.h
<<_ACEOF
15587 #define HAVE_STRUCT_FF_EFFECT_DIRECTION 1
15594 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sigaddset" >&5
15595 $as_echo_n "checking for sigaddset... " >&6; }
15596 if ${wine_cv_have_sigaddset+:} false
; then :
15597 $as_echo_n "(cached) " >&6
15599 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15600 /* end confdefs.h. */
15601 #include <signal.h>
15605 sigset_t set; sigaddset(&set,SIGTERM);
15610 if ac_fn_c_try_link
"$LINENO"; then :
15611 wine_cv_have_sigaddset
=yes
15613 wine_cv_have_sigaddset
=no
15615 rm -f core conftest.err conftest.
$ac_objext \
15616 conftest
$ac_exeext conftest.
$ac_ext
15618 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_have_sigaddset" >&5
15619 $as_echo "$wine_cv_have_sigaddset" >&6; }
15620 if test "$wine_cv_have_sigaddset" = "yes"
15623 $as_echo "#define HAVE_SIGADDSET 1" >>confdefs.h
15628 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we can use re-entrant gethostbyname_r Linux style" >&5
15629 $as_echo_n "checking whether we can use re-entrant gethostbyname_r Linux style... " >&6; }
15630 if ${wine_cv_linux_gethostbyname_r_6+:} false
; then :
15631 $as_echo_n "(cached) " >&6
15633 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15634 /* end confdefs.h. */
15642 struct hostent *result;
15649 gethostbyname_r(name,&he,buf,bufsize,&result,&errnr);
15650 gethostbyaddr_r(addr, addrlen, addrtype,&he,buf,bufsize,&result,&errnr);
15656 if ac_fn_c_try_link
"$LINENO"; then :
15657 wine_cv_linux_gethostbyname_r_6
=yes
15659 wine_cv_linux_gethostbyname_r_6
=no
15662 rm -f core conftest.err conftest.
$ac_objext \
15663 conftest
$ac_exeext conftest.
$ac_ext
15666 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_linux_gethostbyname_r_6" >&5
15667 $as_echo "$wine_cv_linux_gethostbyname_r_6" >&6; }
15668 if test "$wine_cv_linux_gethostbyname_r_6" = "yes"
15671 $as_echo "#define HAVE_LINUX_GETHOSTBYNAME_R_6 1" >>confdefs.h
15675 if test "$ac_cv_header_linux_joystick_h" = "yes"
15677 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether linux/joystick.h uses the Linux 2.2+ API" >&5
15678 $as_echo_n "checking whether linux/joystick.h uses the Linux 2.2+ API... " >&6; }
15679 if ${wine_cv_linux_joystick_22_api+:} false
; then :
15680 $as_echo_n "(cached) " >&6
15682 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15683 /* end confdefs.h. */
15685 #include <sys/ioctl.h>
15686 #include <sys/types.h>
15687 #include <linux/joystick.h>
15689 struct js_event blub;
15690 #if !defined(JS_EVENT_AXIS) || !defined(JS_EVENT_BUTTON)
15691 #error "no 2.2 header"
15702 if ac_fn_c_try_compile
"$LINENO"; then :
15703 wine_cv_linux_joystick_22_api
=yes
15705 wine_cv_linux_joystick_22_api
=no
15707 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
15710 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_linux_joystick_22_api" >&5
15711 $as_echo "$wine_cv_linux_joystick_22_api" >&6; }
15712 if test "$wine_cv_linux_joystick_22_api" = "yes"
15715 $as_echo "#define HAVE_LINUX_22_JOYSTICK_API 1" >>confdefs.h
15721 ac_fn_c_check_member
"$LINENO" "struct statfs" "f_bfree" "ac_cv_member_struct_statfs_f_bfree" "#include <sys/types.h>
15722 #ifdef HAVE_SYS_PARAM_H
15723 # include <sys/param.h>
15725 #ifdef HAVE_SYS_MOUNT_H
15726 # include <sys/mount.h>
15728 #ifdef HAVE_SYS_VFS_H
15729 # include <sys/vfs.h>
15731 #ifdef HAVE_SYS_STATFS_H
15732 # include <sys/statfs.h>
15735 if test "x$ac_cv_member_struct_statfs_f_bfree" = xyes
; then :
15737 cat >>confdefs.h
<<_ACEOF
15738 #define HAVE_STRUCT_STATFS_F_BFREE 1
15743 ac_fn_c_check_member
"$LINENO" "struct statfs" "f_bavail" "ac_cv_member_struct_statfs_f_bavail" "#include <sys/types.h>
15744 #ifdef HAVE_SYS_PARAM_H
15745 # include <sys/param.h>
15747 #ifdef HAVE_SYS_MOUNT_H
15748 # include <sys/mount.h>
15750 #ifdef HAVE_SYS_VFS_H
15751 # include <sys/vfs.h>
15753 #ifdef HAVE_SYS_STATFS_H
15754 # include <sys/statfs.h>
15757 if test "x$ac_cv_member_struct_statfs_f_bavail" = xyes
; then :
15759 cat >>confdefs.h
<<_ACEOF
15760 #define HAVE_STRUCT_STATFS_F_BAVAIL 1
15765 ac_fn_c_check_member
"$LINENO" "struct statfs" "f_frsize" "ac_cv_member_struct_statfs_f_frsize" "#include <sys/types.h>
15766 #ifdef HAVE_SYS_PARAM_H
15767 # include <sys/param.h>
15769 #ifdef HAVE_SYS_MOUNT_H
15770 # include <sys/mount.h>
15772 #ifdef HAVE_SYS_VFS_H
15773 # include <sys/vfs.h>
15775 #ifdef HAVE_SYS_STATFS_H
15776 # include <sys/statfs.h>
15779 if test "x$ac_cv_member_struct_statfs_f_frsize" = xyes
; then :
15781 cat >>confdefs.h
<<_ACEOF
15782 #define HAVE_STRUCT_STATFS_F_FRSIZE 1
15787 ac_fn_c_check_member
"$LINENO" "struct statfs" "f_ffree" "ac_cv_member_struct_statfs_f_ffree" "#include <sys/types.h>
15788 #ifdef HAVE_SYS_PARAM_H
15789 # include <sys/param.h>
15791 #ifdef HAVE_SYS_MOUNT_H
15792 # include <sys/mount.h>
15794 #ifdef HAVE_SYS_VFS_H
15795 # include <sys/vfs.h>
15797 #ifdef HAVE_SYS_STATFS_H
15798 # include <sys/statfs.h>
15801 if test "x$ac_cv_member_struct_statfs_f_ffree" = xyes
; then :
15803 cat >>confdefs.h
<<_ACEOF
15804 #define HAVE_STRUCT_STATFS_F_FFREE 1
15809 ac_fn_c_check_member
"$LINENO" "struct statfs" "f_favail" "ac_cv_member_struct_statfs_f_favail" "#include <sys/types.h>
15810 #ifdef HAVE_SYS_PARAM_H
15811 # include <sys/param.h>
15813 #ifdef HAVE_SYS_MOUNT_H
15814 # include <sys/mount.h>
15816 #ifdef HAVE_SYS_VFS_H
15817 # include <sys/vfs.h>
15819 #ifdef HAVE_SYS_STATFS_H
15820 # include <sys/statfs.h>
15823 if test "x$ac_cv_member_struct_statfs_f_favail" = xyes
; then :
15825 cat >>confdefs.h
<<_ACEOF
15826 #define HAVE_STRUCT_STATFS_F_FAVAIL 1
15831 ac_fn_c_check_member
"$LINENO" "struct statfs" "f_namelen" "ac_cv_member_struct_statfs_f_namelen" "#include <sys/types.h>
15832 #ifdef HAVE_SYS_PARAM_H
15833 # include <sys/param.h>
15835 #ifdef HAVE_SYS_MOUNT_H
15836 # include <sys/mount.h>
15838 #ifdef HAVE_SYS_VFS_H
15839 # include <sys/vfs.h>
15841 #ifdef HAVE_SYS_STATFS_H
15842 # include <sys/statfs.h>
15845 if test "x$ac_cv_member_struct_statfs_f_namelen" = xyes
; then :
15847 cat >>confdefs.h
<<_ACEOF
15848 #define HAVE_STRUCT_STATFS_F_NAMELEN 1
15855 ac_fn_c_check_member
"$LINENO" "struct statvfs" "f_blocks" "ac_cv_member_struct_statvfs_f_blocks" "#ifdef HAVE_SYS_STATVFS_H
15856 #include <sys/statvfs.h>
15859 if test "x$ac_cv_member_struct_statvfs_f_blocks" = xyes
; then :
15861 cat >>confdefs.h
<<_ACEOF
15862 #define HAVE_STRUCT_STATVFS_F_BLOCKS 1
15869 ac_fn_c_check_member
"$LINENO" "struct dirent" "d_reclen" "ac_cv_member_struct_dirent_d_reclen" "#ifdef HAVE_DIRENT_H
15870 #include <dirent.h>
15873 if test "x$ac_cv_member_struct_dirent_d_reclen" = xyes
; then :
15875 cat >>confdefs.h
<<_ACEOF
15876 #define HAVE_STRUCT_DIRENT_D_RECLEN 1
15883 ac_fn_c_check_member
"$LINENO" "struct msghdr" "msg_accrights" "ac_cv_member_struct_msghdr_msg_accrights" "#include <sys/types.h>
15884 #ifdef HAVE_SYS_SOCKET_H
15885 # include <sys/socket.h>
15887 #ifdef HAVE_SYS_UN_H
15888 # include <sys/un.h>
15891 if test "x$ac_cv_member_struct_msghdr_msg_accrights" = xyes
; then :
15893 cat >>confdefs.h
<<_ACEOF
15894 #define HAVE_STRUCT_MSGHDR_MSG_ACCRIGHTS 1
15899 ac_fn_c_check_member
"$LINENO" "struct sockaddr" "sa_len" "ac_cv_member_struct_sockaddr_sa_len" "#include <sys/types.h>
15900 #ifdef HAVE_SYS_SOCKET_H
15901 # include <sys/socket.h>
15903 #ifdef HAVE_SYS_UN_H
15904 # include <sys/un.h>
15907 if test "x$ac_cv_member_struct_sockaddr_sa_len" = xyes
; then :
15909 cat >>confdefs.h
<<_ACEOF
15910 #define HAVE_STRUCT_SOCKADDR_SA_LEN 1
15915 ac_fn_c_check_member
"$LINENO" "struct sockaddr_un" "sun_len" "ac_cv_member_struct_sockaddr_un_sun_len" "#include <sys/types.h>
15916 #ifdef HAVE_SYS_SOCKET_H
15917 # include <sys/socket.h>
15919 #ifdef HAVE_SYS_UN_H
15920 # include <sys/un.h>
15923 if test "x$ac_cv_member_struct_sockaddr_un_sun_len" = xyes
; then :
15925 cat >>confdefs.h
<<_ACEOF
15926 #define HAVE_STRUCT_SOCKADDR_UN_SUN_LEN 1
15933 ac_fn_c_check_member
"$LINENO" "scsireq_t" "cmd" "ac_cv_member_scsireq_t_cmd" "#include <sys/types.h>
15934 #ifdef HAVE_SCSI_SG_H
15935 #include <scsi/sg.h>
15938 if test "x$ac_cv_member_scsireq_t_cmd" = xyes
; then :
15940 cat >>confdefs.h
<<_ACEOF
15941 #define HAVE_SCSIREQ_T_CMD 1
15946 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>
15947 #ifdef HAVE_SCSI_SG_H
15948 #include <scsi/sg.h>
15951 if test "x$ac_cv_member_sg_io_hdr_t_interface_id" = xyes
; then :
15953 cat >>confdefs.h
<<_ACEOF
15954 #define HAVE_SG_IO_HDR_T_INTERFACE_ID 1
15961 ac_fn_c_check_member
"$LINENO" "siginfo_t" "si_fd" "ac_cv_member_siginfo_t_si_fd" "#include <signal.h>
15963 if test "x$ac_cv_member_siginfo_t_si_fd" = xyes
; then :
15965 cat >>confdefs.h
<<_ACEOF
15966 #define HAVE_SIGINFO_T_SI_FD 1
15973 ac_fn_c_check_member
"$LINENO" "struct mtget" "mt_blksiz" "ac_cv_member_struct_mtget_mt_blksiz" "#include <sys/types.h>
15974 #ifdef HAVE_SYS_MTIO_H
15975 #include <sys/mtio.h>
15978 if test "x$ac_cv_member_struct_mtget_mt_blksiz" = xyes
; then :
15980 cat >>confdefs.h
<<_ACEOF
15981 #define HAVE_STRUCT_MTGET_MT_BLKSIZ 1
15986 ac_fn_c_check_member
"$LINENO" "struct mtget" "mt_gstat" "ac_cv_member_struct_mtget_mt_gstat" "#include <sys/types.h>
15987 #ifdef HAVE_SYS_MTIO_H
15988 #include <sys/mtio.h>
15991 if test "x$ac_cv_member_struct_mtget_mt_gstat" = xyes
; then :
15993 cat >>confdefs.h
<<_ACEOF
15994 #define HAVE_STRUCT_MTGET_MT_GSTAT 1
15999 ac_fn_c_check_member
"$LINENO" "struct mtget" "mt_blkno" "ac_cv_member_struct_mtget_mt_blkno" "#include <sys/types.h>
16000 #ifdef HAVE_SYS_MTIO_H
16001 #include <sys/mtio.h>
16004 if test "x$ac_cv_member_struct_mtget_mt_blkno" = xyes
; then :
16006 cat >>confdefs.h
<<_ACEOF
16007 #define HAVE_STRUCT_MTGET_MT_BLKNO 1
16014 ac_fn_c_check_member
"$LINENO" "struct option" "name" "ac_cv_member_struct_option_name" "#ifdef HAVE_GETOPT_H
16015 #include <getopt.h>
16018 if test "x$ac_cv_member_struct_option_name" = xyes
; then :
16020 cat >>confdefs.h
<<_ACEOF
16021 #define HAVE_STRUCT_OPTION_NAME 1
16028 ac_fn_c_check_member
"$LINENO" "struct stat" "st_blocks" "ac_cv_member_struct_stat_st_blocks" "$ac_includes_default"
16029 if test "x$ac_cv_member_struct_stat_st_blocks" = xyes
; then :
16031 cat >>confdefs.h
<<_ACEOF
16032 #define HAVE_STRUCT_STAT_ST_BLOCKS 1
16037 ac_fn_c_check_member
"$LINENO" "struct stat" "st_mtim" "ac_cv_member_struct_stat_st_mtim" "$ac_includes_default"
16038 if test "x$ac_cv_member_struct_stat_st_mtim" = xyes
; then :
16040 cat >>confdefs.h
<<_ACEOF
16041 #define HAVE_STRUCT_STAT_ST_MTIM 1
16046 ac_fn_c_check_member
"$LINENO" "struct stat" "st_mtimespec" "ac_cv_member_struct_stat_st_mtimespec" "$ac_includes_default"
16047 if test "x$ac_cv_member_struct_stat_st_mtimespec" = xyes
; then :
16049 cat >>confdefs.h
<<_ACEOF
16050 #define HAVE_STRUCT_STAT_ST_MTIMESPEC 1
16055 ac_fn_c_check_member
"$LINENO" "struct stat" "st_ctim" "ac_cv_member_struct_stat_st_ctim" "$ac_includes_default"
16056 if test "x$ac_cv_member_struct_stat_st_ctim" = xyes
; then :
16058 cat >>confdefs.h
<<_ACEOF
16059 #define HAVE_STRUCT_STAT_ST_CTIM 1
16064 ac_fn_c_check_member
"$LINENO" "struct stat" "st_ctimespec" "ac_cv_member_struct_stat_st_ctimespec" "$ac_includes_default"
16065 if test "x$ac_cv_member_struct_stat_st_ctimespec" = xyes
; then :
16067 cat >>confdefs.h
<<_ACEOF
16068 #define HAVE_STRUCT_STAT_ST_CTIMESPEC 1
16073 ac_fn_c_check_member
"$LINENO" "struct stat" "st_atim" "ac_cv_member_struct_stat_st_atim" "$ac_includes_default"
16074 if test "x$ac_cv_member_struct_stat_st_atim" = xyes
; then :
16076 cat >>confdefs.h
<<_ACEOF
16077 #define HAVE_STRUCT_STAT_ST_ATIM 1
16082 ac_fn_c_check_member
"$LINENO" "struct stat" "st_atimespec" "ac_cv_member_struct_stat_st_atimespec" "$ac_includes_default"
16083 if test "x$ac_cv_member_struct_stat_st_atimespec" = xyes
; then :
16085 cat >>confdefs.h
<<_ACEOF
16086 #define HAVE_STRUCT_STAT_ST_ATIMESPEC 1
16091 ac_fn_c_check_member
"$LINENO" "struct stat" "st_birthtime" "ac_cv_member_struct_stat_st_birthtime" "$ac_includes_default"
16092 if test "x$ac_cv_member_struct_stat_st_birthtime" = xyes
; then :
16094 cat >>confdefs.h
<<_ACEOF
16095 #define HAVE_STRUCT_STAT_ST_BIRTHTIME 1
16100 ac_fn_c_check_member
"$LINENO" "struct stat" "st_birthtim" "ac_cv_member_struct_stat_st_birthtim" "$ac_includes_default"
16101 if test "x$ac_cv_member_struct_stat_st_birthtim" = xyes
; then :
16103 cat >>confdefs.h
<<_ACEOF
16104 #define HAVE_STRUCT_STAT_ST_BIRTHTIM 1
16109 ac_fn_c_check_member
"$LINENO" "struct stat" "st_birthtimespec" "ac_cv_member_struct_stat_st_birthtimespec" "$ac_includes_default"
16110 if test "x$ac_cv_member_struct_stat_st_birthtimespec" = xyes
; then :
16112 cat >>confdefs.h
<<_ACEOF
16113 #define HAVE_STRUCT_STAT_ST_BIRTHTIMESPEC 1
16118 ac_fn_c_check_member
"$LINENO" "struct stat" "__st_birthtime" "ac_cv_member_struct_stat___st_birthtime" "$ac_includes_default"
16119 if test "x$ac_cv_member_struct_stat___st_birthtime" = xyes
; then :
16121 cat >>confdefs.h
<<_ACEOF
16122 #define HAVE_STRUCT_STAT___ST_BIRTHTIME 1
16127 ac_fn_c_check_member
"$LINENO" "struct stat" "__st_birthtim" "ac_cv_member_struct_stat___st_birthtim" "$ac_includes_default"
16128 if test "x$ac_cv_member_struct_stat___st_birthtim" = xyes
; then :
16130 cat >>confdefs.h
<<_ACEOF
16131 #define HAVE_STRUCT_STAT___ST_BIRTHTIM 1
16138 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
16139 #include <sys/types.h>
16141 #ifdef HAVE_NETINET_IN_H
16142 #include <netinet/in.h>
16145 if test "x$ac_cv_member_struct_sockaddr_in6_sin6_scope_id" = xyes
; then :
16147 cat >>confdefs.h
<<_ACEOF
16148 #define HAVE_STRUCT_SOCKADDR_IN6_SIN6_SCOPE_ID 1
16155 ac_fn_c_check_type
"$LINENO" "struct __res_state" "ac_cv_type_struct___res_state" "#ifdef HAVE_RESOLV_H
16156 #include <resolv.h>
16159 if test "x$ac_cv_type_struct___res_state" = xyes
; then :
16161 cat >>confdefs.h
<<_ACEOF
16162 #define HAVE_STRUCT___RES_STATE 1
16169 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
16170 #include <resolv.h>
16173 if test "x$ac_cv_member_struct___res_state__u__ext_nscount6" = xyes
; then :
16175 cat >>confdefs.h
<<_ACEOF
16176 #define HAVE_STRUCT___RES_STATE__U__EXT_NSCOUNT6 1
16183 ac_fn_c_check_member
"$LINENO" "ns_msg" "_msg_ptr" "ac_cv_member_ns_msg__msg_ptr" "#ifdef HAVE_SYS_TYPES_H
16184 #include <sys/types.h>
16186 #ifdef HAVE_NETINET_IN_H
16187 # include <netinet/in.h>
16189 #ifdef HAVE_ARPA_NAMESER_H
16190 # include <arpa/nameser.h>
16193 if test "x$ac_cv_member_ns_msg__msg_ptr" = xyes
; then :
16195 cat >>confdefs.h
<<_ACEOF
16196 #define HAVE_NS_MSG__MSG_PTR 1
16203 ac_fn_c_check_member
"$LINENO" "struct icmpstat" "icps_inhist" "ac_cv_member_struct_icmpstat_icps_inhist" "#ifdef HAVE_SYS_TYPES_H
16204 #include <sys/types.h>
16206 #ifdef HAVE_NETINET_IP_H
16207 #include <netinet/ip.h>
16209 #ifdef HAVE_NETINET_IP_ICMP_H
16210 #include <netinet/ip_icmp.h>
16212 #ifdef HAVE_NETINET_ICMP_VAR_H
16213 #include <netinet/icmp_var.h>
16216 if test "x$ac_cv_member_struct_icmpstat_icps_inhist" = xyes
; then :
16218 cat >>confdefs.h
<<_ACEOF
16219 #define HAVE_STRUCT_ICMPSTAT_ICPS_INHIST 1
16226 ac_fn_c_check_member
"$LINENO" "struct icmpstat" "icps_outhist" "ac_cv_member_struct_icmpstat_icps_outhist" "#ifdef HAVE_SYS_TYPES_H
16227 #include <sys/types.h>
16229 #ifdef HAVE_ALIAS_H
16232 #ifdef HAVE_SYS_SOCKET_H
16233 #include <sys/socket.h>
16235 #ifdef HAVE_SYS_SOCKETVAR_H
16236 #include <sys/socketvar.h>
16238 #ifdef HAVE_SYS_TIMEOUT_H
16239 #include <sys/timeout.h>
16241 #ifdef HAVE_NETINET_IN_H
16242 #include <netinet/in.h>
16244 #ifdef HAVE_NETINET_IN_SYSTM_H
16245 #include <netinet/in_systm.h>
16247 #ifdef HAVE_NETINET_IP_H
16248 #include <netinet/ip.h>
16250 #ifdef HAVE_NETINET_IP_VAR_H
16251 #include <netinet/ip_var.h>
16253 #ifdef HAVE_NETINET_IP_ICMP_H
16254 #include <netinet/ip_icmp.h>
16256 #ifdef HAVE_NETINET_ICMP_VAR_H
16257 #include <netinet/icmp_var.h>
16260 if test "x$ac_cv_member_struct_icmpstat_icps_outhist" = xyes
; then :
16262 cat >>confdefs.h
<<_ACEOF
16263 #define HAVE_STRUCT_ICMPSTAT_ICPS_OUTHIST 1
16270 ac_fn_c_check_member
"$LINENO" "struct ipstat" "ips_total" "ac_cv_member_struct_ipstat_ips_total" "#ifdef HAVE_SYS_TYPES_H
16271 #include <sys/types.h>
16273 #ifdef HAVE_SYS_SOCKETVAR_H
16274 #include <sys/socketvar.h>
16276 #ifdef HAVE_NETINET_IN_H
16277 #include <netinet/in.h>
16279 #ifdef HAVE_NETINET_IP_VAR_H
16280 #include <netinet/ip_var.h>
16283 if test "x$ac_cv_member_struct_ipstat_ips_total" = xyes
; then :
16285 cat >>confdefs.h
<<_ACEOF
16286 #define HAVE_STRUCT_IPSTAT_IPS_TOTAL 1
16293 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
16294 #include <netinet/ip_var.h>
16297 if test "x$ac_cv_member_struct_ip_stats_ips_total" = xyes
; then :
16299 cat >>confdefs.h
<<_ACEOF
16300 #define HAVE_STRUCT_IP_STATS_IPS_TOTAL 1
16307 ac_fn_c_check_member
"$LINENO" "struct tcpstat" "tcps_connattempt" "ac_cv_member_struct_tcpstat_tcps_connattempt" "#ifdef HAVE_SYS_TYPES_H
16308 #include <sys/types.h>
16310 #ifdef HAVE_SYS_SOCKETVAR_H
16311 #include <sys/socketvar.h>
16313 #ifdef HAVE_NETINET_IN_H
16314 #include <netinet/in.h>
16316 #ifdef HAVE_NETINET_TCP_H
16317 #include <netinet/tcp.h>
16319 #ifdef HAVE_NETINET_TCP_VAR_H
16320 #include <netinet/tcp_var.h>
16323 if test "x$ac_cv_member_struct_tcpstat_tcps_connattempt" = xyes
; then :
16325 cat >>confdefs.h
<<_ACEOF
16326 #define HAVE_STRUCT_TCPSTAT_TCPS_CONNATTEMPT 1
16333 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
16334 #include <netinet/tcp_var.h>
16337 if test "x$ac_cv_member_struct_tcp_stats_tcps_connattempt" = xyes
; then :
16339 cat >>confdefs.h
<<_ACEOF
16340 #define HAVE_STRUCT_TCP_STATS_TCPS_CONNATTEMPT 1
16347 ac_fn_c_check_member
"$LINENO" "struct udpstat" "udps_ipackets" "ac_cv_member_struct_udpstat_udps_ipackets" "#ifdef HAVE_SYS_TYPES_H
16348 #include <sys/types.h>
16350 #ifdef HAVE_NETINET_IN_H
16351 #include <netinet/in.h>
16353 #ifdef HAVE_NETINET_IP_VAR_H
16354 #include <netinet/ip_var.h>
16356 #ifdef HAVE_NETINET_UDP_H
16357 #include <netinet/udp.h>
16359 #ifdef HAVE_NETINET_UDP_VAR_H
16360 #include <netinet/udp_var.h>
16363 if test "x$ac_cv_member_struct_udpstat_udps_ipackets" = xyes
; then :
16365 cat >>confdefs.h
<<_ACEOF
16366 #define HAVE_STRUCT_UDPSTAT_UDPS_IPACKETS 1
16373 ac_fn_c_check_member
"$LINENO" "struct ifreq" "ifr_hwaddr" "ac_cv_member_struct_ifreq_ifr_hwaddr" "#ifdef HAVE_SYS_TYPES_H
16374 #include <sys/types.h>
16376 #ifdef HAVE_NET_IF_H
16377 # include <net/if.h>
16380 if test "x$ac_cv_member_struct_ifreq_ifr_hwaddr" = xyes
; then :
16382 cat >>confdefs.h
<<_ACEOF
16383 #define HAVE_STRUCT_IFREQ_IFR_HWADDR 1
16390 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for timezone variable" >&5
16391 $as_echo_n "checking for timezone variable... " >&6; }
16392 if ${ac_cv_have_timezone+:} false
; then :
16393 $as_echo_n "(cached) " >&6
16395 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
16396 /* end confdefs.h. */
16406 if ac_fn_c_try_link
"$LINENO"; then :
16407 ac_cv_have_timezone
="yes"
16409 ac_cv_have_timezone
="no"
16411 rm -f core conftest.err conftest.
$ac_objext \
16412 conftest
$ac_exeext conftest.
$ac_ext
16414 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_timezone" >&5
16415 $as_echo "$ac_cv_have_timezone" >&6; }
16416 if test "$ac_cv_have_timezone" = "yes"
16419 $as_echo "#define HAVE_TIMEZONE 1" >>confdefs.h
16422 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for daylight variable" >&5
16423 $as_echo_n "checking for daylight variable... " >&6; }
16424 if ${ac_cv_have_daylight+:} false
; then :
16425 $as_echo_n "(cached) " >&6
16427 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
16428 /* end confdefs.h. */
16438 if ac_fn_c_try_link
"$LINENO"; then :
16439 ac_cv_have_daylight
="yes"
16441 ac_cv_have_daylight
="no"
16443 rm -f core conftest.err conftest.
$ac_objext \
16444 conftest
$ac_exeext conftest.
$ac_ext
16446 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_daylight" >&5
16447 $as_echo "$ac_cv_have_daylight" >&6; }
16448 if test "$ac_cv_have_daylight" = "yes"
16451 $as_echo "#define HAVE_DAYLIGHT 1" >>confdefs.h
16455 ac_save_LIBS
="$LIBS"
16457 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isfinite" >&5
16458 $as_echo_n "checking for isfinite... " >&6; }
16459 if ${ac_cv_have_isfinite+:} false
; then :
16460 $as_echo_n "(cached) " >&6
16462 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
16463 /* end confdefs.h. */
16464 #define _GNU_SOURCE
16469 float f = 0.0; return isfinite(f)
16474 if ac_fn_c_try_link
"$LINENO"; then :
16475 ac_cv_have_isfinite
="yes"
16477 ac_cv_have_isfinite
="no"
16479 rm -f core conftest.err conftest.
$ac_objext \
16480 conftest
$ac_exeext conftest.
$ac_ext
16482 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_isfinite" >&5
16483 $as_echo "$ac_cv_have_isfinite" >&6; }
16484 if test "$ac_cv_have_isfinite" = "yes"
16487 $as_echo "#define HAVE_ISFINITE 1" >>confdefs.h
16491 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinf" >&5
16492 $as_echo_n "checking for isinf... " >&6; }
16493 if ${ac_cv_have_isinf+:} false
; then :
16494 $as_echo_n "(cached) " >&6
16496 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
16497 /* end confdefs.h. */
16502 float f = 0.0; return isinf(f)
16507 if ac_fn_c_try_link
"$LINENO"; then :
16508 ac_cv_have_isinf
="yes"
16510 ac_cv_have_isinf
="no"
16512 rm -f core conftest.err conftest.
$ac_objext \
16513 conftest
$ac_exeext conftest.
$ac_ext
16515 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_isinf" >&5
16516 $as_echo "$ac_cv_have_isinf" >&6; }
16517 if test "$ac_cv_have_isinf" = "yes"
16520 $as_echo "#define HAVE_ISINF 1" >>confdefs.h
16524 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnan" >&5
16525 $as_echo_n "checking for isnan... " >&6; }
16526 if ${ac_cv_have_isnan+:} false
; then :
16527 $as_echo_n "(cached) " >&6
16529 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
16530 /* end confdefs.h. */
16535 float f = 0.0; return isnan(f)
16540 if ac_fn_c_try_link
"$LINENO"; then :
16541 ac_cv_have_isnan
="yes"
16543 ac_cv_have_isnan
="no"
16545 rm -f core conftest.err conftest.
$ac_objext \
16546 conftest
$ac_exeext conftest.
$ac_ext
16548 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_isnan" >&5
16549 $as_echo "$ac_cv_have_isnan" >&6; }
16550 if test "$ac_cv_have_isnan" = "yes"
16553 $as_echo "#define HAVE_ISNAN 1" >>confdefs.h
16580 as_ac_var
=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
16581 ac_fn_c_check_func
"$LINENO" "$ac_func" "$as_ac_var"
16582 if eval test \"x\$
"$as_ac_var"\" = x
"yes"; then :
16583 cat >>confdefs.h
<<_ACEOF
16584 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
16590 LIBS
="$ac_save_LIBS"
16592 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for __builtin_clz" >&5
16593 $as_echo_n "checking for __builtin_clz... " >&6; }
16594 if ${ac_cv_have___builtin_clz+:} false
; then :
16595 $as_echo_n "(cached) " >&6
16597 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
16598 /* end confdefs.h. */
16603 return __builtin_clz(1)
16608 if ac_fn_c_try_link
"$LINENO"; then :
16609 ac_cv_have___builtin_clz
="yes"
16611 ac_cv_have___builtin_clz
="no"
16613 rm -f core conftest.err conftest.
$ac_objext \
16614 conftest
$ac_exeext conftest.
$ac_ext
16616 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have___builtin_clz" >&5
16617 $as_echo "$ac_cv_have___builtin_clz" >&6; }
16618 if test "$ac_cv_have___builtin_clz" = "yes"
16621 $as_echo "#define HAVE___BUILTIN_CLZ 1" >>confdefs.h
16627 *i
[3456789]86*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __i386__" >&5
16628 $as_echo_n "checking whether we need to define __i386__... " >&6; }
16629 if ${ac_cv_cpp_def___i386__+:} false
; then :
16630 $as_echo_n "(cached) " >&6
16632 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
16633 /* end confdefs.h. */
16638 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
16639 $EGREP "yes" >/dev
/null
2>&1; then :
16640 ac_cv_cpp_def___i386__
=yes
16642 ac_cv_cpp_def___i386__
=no
16647 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___i386__" >&5
16648 $as_echo "$ac_cv_cpp_def___i386__" >&6; }
16649 if test "x$ac_cv_cpp_def___i386__" = xyes
; then :
16650 CFLAGS
="$CFLAGS -D__i386__"
16651 LINTFLAGS
="$LINTFLAGS -D__i386__"
16653 *x86_64
*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __x86_64__" >&5
16654 $as_echo_n "checking whether we need to define __x86_64__... " >&6; }
16655 if ${ac_cv_cpp_def___x86_64__+:} false
; then :
16656 $as_echo_n "(cached) " >&6
16658 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
16659 /* end confdefs.h. */
16664 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
16665 $EGREP "yes" >/dev
/null
2>&1; then :
16666 ac_cv_cpp_def___x86_64__
=yes
16668 ac_cv_cpp_def___x86_64__
=no
16673 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___x86_64__" >&5
16674 $as_echo "$ac_cv_cpp_def___x86_64__" >&6; }
16675 if test "x$ac_cv_cpp_def___x86_64__" = xyes
; then :
16676 CFLAGS
="$CFLAGS -D__x86_64__"
16677 LINTFLAGS
="$LINTFLAGS -D__x86_64__"
16679 *sparc64
*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __sparc64__" >&5
16680 $as_echo_n "checking whether we need to define __sparc64__... " >&6; }
16681 if ${ac_cv_cpp_def___sparc64__+:} false
; then :
16682 $as_echo_n "(cached) " >&6
16684 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
16685 /* end confdefs.h. */
16686 #ifndef __sparc64__
16690 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
16691 $EGREP "yes" >/dev
/null
2>&1; then :
16692 ac_cv_cpp_def___sparc64__
=yes
16694 ac_cv_cpp_def___sparc64__
=no
16699 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___sparc64__" >&5
16700 $as_echo "$ac_cv_cpp_def___sparc64__" >&6; }
16701 if test "x$ac_cv_cpp_def___sparc64__" = xyes
; then :
16702 CFLAGS
="$CFLAGS -D__sparc64__"
16703 LINTFLAGS
="$LINTFLAGS -D__sparc64__"
16705 *sparc
*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __sparc__" >&5
16706 $as_echo_n "checking whether we need to define __sparc__... " >&6; }
16707 if ${ac_cv_cpp_def___sparc__+:} false
; then :
16708 $as_echo_n "(cached) " >&6
16710 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
16711 /* end confdefs.h. */
16716 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
16717 $EGREP "yes" >/dev
/null
2>&1; then :
16718 ac_cv_cpp_def___sparc__
=yes
16720 ac_cv_cpp_def___sparc__
=no
16725 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___sparc__" >&5
16726 $as_echo "$ac_cv_cpp_def___sparc__" >&6; }
16727 if test "x$ac_cv_cpp_def___sparc__" = xyes
; then :
16728 CFLAGS
="$CFLAGS -D__sparc__"
16729 LINTFLAGS
="$LINTFLAGS -D__sparc__"
16731 *powerpc64
*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __powerpc64__" >&5
16732 $as_echo_n "checking whether we need to define __powerpc64__... " >&6; }
16733 if ${ac_cv_cpp_def___powerpc64__+:} false
; then :
16734 $as_echo_n "(cached) " >&6
16736 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
16737 /* end confdefs.h. */
16738 #ifndef __powerpc64__
16742 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
16743 $EGREP "yes" >/dev
/null
2>&1; then :
16744 ac_cv_cpp_def___powerpc64__
=yes
16746 ac_cv_cpp_def___powerpc64__
=no
16751 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___powerpc64__" >&5
16752 $as_echo "$ac_cv_cpp_def___powerpc64__" >&6; }
16753 if test "x$ac_cv_cpp_def___powerpc64__" = xyes
; then :
16754 CFLAGS
="$CFLAGS -D__powerpc64__"
16755 LINTFLAGS
="$LINTFLAGS -D__powerpc64__"
16757 *powerpc
*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __powerpc__" >&5
16758 $as_echo_n "checking whether we need to define __powerpc__... " >&6; }
16759 if ${ac_cv_cpp_def___powerpc__+:} false
; then :
16760 $as_echo_n "(cached) " >&6
16762 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
16763 /* end confdefs.h. */
16764 #ifndef __powerpc__
16768 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
16769 $EGREP "yes" >/dev
/null
2>&1; then :
16770 ac_cv_cpp_def___powerpc__
=yes
16772 ac_cv_cpp_def___powerpc__
=no
16777 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___powerpc__" >&5
16778 $as_echo "$ac_cv_cpp_def___powerpc__" >&6; }
16779 if test "x$ac_cv_cpp_def___powerpc__" = xyes
; then :
16780 CFLAGS
="$CFLAGS -D__powerpc__"
16781 LINTFLAGS
="$LINTFLAGS -D__powerpc__"
16783 *aarch64
*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __aarch64__" >&5
16784 $as_echo_n "checking whether we need to define __aarch64__... " >&6; }
16785 if ${ac_cv_cpp_def___aarch64__+:} false
; then :
16786 $as_echo_n "(cached) " >&6
16788 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
16789 /* end confdefs.h. */
16790 #ifndef __aarch64__
16794 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
16795 $EGREP "yes" >/dev
/null
2>&1; then :
16796 ac_cv_cpp_def___aarch64__
=yes
16798 ac_cv_cpp_def___aarch64__
=no
16803 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___aarch64__" >&5
16804 $as_echo "$ac_cv_cpp_def___aarch64__" >&6; }
16805 if test "x$ac_cv_cpp_def___aarch64__" = xyes
; then :
16806 CFLAGS
="$CFLAGS -D__aarch64__"
16807 LINTFLAGS
="$LINTFLAGS -D__aarch64__"
16809 *arm
*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __arm__" >&5
16810 $as_echo_n "checking whether we need to define __arm__... " >&6; }
16811 if ${ac_cv_cpp_def___arm__+:} false
; then :
16812 $as_echo_n "(cached) " >&6
16814 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
16815 /* end confdefs.h. */
16820 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
16821 $EGREP "yes" >/dev
/null
2>&1; then :
16822 ac_cv_cpp_def___arm__
=yes
16824 ac_cv_cpp_def___arm__
=no
16829 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___arm__" >&5
16830 $as_echo "$ac_cv_cpp_def___arm__" >&6; }
16831 if test "x$ac_cv_cpp_def___arm__" = xyes
; then :
16832 CFLAGS
="$CFLAGS -D__arm__"
16833 LINTFLAGS
="$LINTFLAGS -D__arm__"
16837 case $host_vendor in
16838 *sun
*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __sun__" >&5
16839 $as_echo_n "checking whether we need to define __sun__... " >&6; }
16840 if ${ac_cv_cpp_def___sun__+:} false
; then :
16841 $as_echo_n "(cached) " >&6
16843 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
16844 /* end confdefs.h. */
16849 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
16850 $EGREP "yes" >/dev
/null
2>&1; then :
16851 ac_cv_cpp_def___sun__
=yes
16853 ac_cv_cpp_def___sun__
=no
16858 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___sun__" >&5
16859 $as_echo "$ac_cv_cpp_def___sun__" >&6; }
16860 if test "x$ac_cv_cpp_def___sun__" = xyes
; then :
16861 CFLAGS
="$CFLAGS -D__sun__"
16862 LINTFLAGS
="$LINTFLAGS -D__sun__"
16870 ac_config_commands
="$ac_config_commands include/stamp-h"
16872 $as_echo_n "creating Makefile rules..." >&6
16874 ALL_VARS_RULES
="OPENGL_LIBS = $OPENGL_LIBS
16875 SOCKET_LIBS = $SOCKET_LIBS
16876 COREFOUNDATION_LIBS = $COREFOUNDATION_LIBS
16877 IOKIT_LIBS = $IOKIT_LIBS
16878 FORCEFEEDBACK_LIBS = $FORCEFEEDBACK_LIBS
16879 APPLICATIONSERVICES_LIBS = $APPLICATIONSERVICES_LIBS
16880 CORESERVICES_LIBS = $CORESERVICES_LIBS
16881 APPKIT_LIBS = $APPKIT_LIBS
16882 DISKARBITRATION_LIBS = $DISKARBITRATION_LIBS
16883 SECURITY_LIBS = $SECURITY_LIBS
16884 COREAUDIO_LIBS = $COREAUDIO_LIBS
16885 OPENAL_LIBS = $OPENAL_LIBS
16886 OPENCL_LIBS = $OPENCL_LIBS
16887 QUICKTIME_LIBS = $QUICKTIME_LIBS
16888 CARBON_LIBS = $CARBON_LIBS
16889 PTHREAD_LIBS = $PTHREAD_LIBS
16890 X_CFLAGS = $X_CFLAGS
16891 X_PRE_LIBS = $X_PRE_LIBS
16893 X_EXTRA_LIBS = $X_EXTRA_LIBS
16894 XML2_CFLAGS = $XML2_CFLAGS
16895 XML2_LIBS = $XML2_LIBS
16896 XSLT_CFLAGS = $XSLT_CFLAGS
16897 XSLT_LIBS = $XSLT_LIBS
16898 DBUS_CFLAGS = $DBUS_CFLAGS
16899 DBUS_LIBS = $DBUS_LIBS
16900 HAL_CFLAGS = $HAL_CFLAGS
16901 HAL_LIBS = $HAL_LIBS
16902 GNUTLS_CFLAGS = $GNUTLS_CFLAGS
16903 GNUTLS_LIBS = $GNUTLS_LIBS
16904 SANE_CFLAGS = $SANE_CFLAGS
16905 SANE_LIBS = $SANE_LIBS
16906 GPHOTO2_CFLAGS = $GPHOTO2_CFLAGS
16907 GPHOTO2_LIBS = $GPHOTO2_LIBS
16908 GPHOTO2_PORT_CFLAGS = $GPHOTO2_PORT_CFLAGS
16909 GPHOTO2_PORT_LIBS = $GPHOTO2_PORT_LIBS
16910 RESOLV_LIBS = $RESOLV_LIBS
16911 LCMS2_CFLAGS = $LCMS2_CFLAGS
16912 LCMS2_LIBS = $LCMS2_LIBS
16913 FREETYPE_CFLAGS = $FREETYPE_CFLAGS
16914 FREETYPE_LIBS = $FREETYPE_LIBS
16916 GETTEXTPO_LIBS = $GETTEXTPO_LIBS
16917 GSTREAMER_CFLAGS = $GSTREAMER_CFLAGS
16918 GSTREAMER_LIBS = $GSTREAMER_LIBS
16919 ALSA_LIBS = $ALSA_LIBS
16920 OSS4_CFLAGS = $OSS4_CFLAGS
16921 CAPI20_CFLAGS = $CAPI20_CFLAGS
16922 CAPI20_LIBS = $CAPI20_LIBS
16923 CUPS_CFLAGS = $CUPS_CFLAGS
16924 FONTCONFIG_CFLAGS = $FONTCONFIG_CFLAGS
16925 FONTCONFIG_LIBS = $FONTCONFIG_LIBS
16926 JPEG_CFLAGS = $JPEG_CFLAGS
16927 JPEG_LIBS = $JPEG_LIBS
16928 PNG_CFLAGS = $PNG_CFLAGS
16929 PNG_LIBS = $PNG_LIBS
16930 TIFF_CFLAGS = $TIFF_CFLAGS
16931 TIFF_LIBS = $TIFF_LIBS
16932 MPG123_CFLAGS = $MPG123_CFLAGS
16933 MPG123_LIBS = $MPG123_LIBS
16934 KSTAT_LIBS = $KSTAT_LIBS
16935 PROCSTAT_LIBS = $PROCSTAT_LIBS
16937 POLL_LIBS = $POLL_LIBS
16939 LDAP_LIBS = $LDAP_LIBS
16944 wine_fn_append_rule
"
16945 # Rules automatically generated by configure
16947 CLEAN_FILES = *.o *.a *.so *.res *.fake *.ok *.tab.[ch] *.yy.c
16952 Makefile: $srcdir/Makefile.in $srcdir/Make.vars.in config.status \$(MAKEDEP)
16953 @./config.status Make.tmp Makefile"
16955 test "$srcdir" = .
&& wine_fn_append_rule
"all: .gitignore
16956 .gitignore: config.status
16957 @./config.status .gitignore"
16959 test -n "$CROSSTARGET" || wine_fn_append_rule
"crosstest:
16960 @echo \"crosstest is not supported (mingw not installed?)\" && false"
16962 if test "x$enable_fonts" != xno
; then
16963 ac_config_links
="$ac_config_links fonts/marlett.ttf:fonts/marlett.ttf"
16964 ac_config_links
="$ac_config_links fonts/symbol.ttf:fonts/symbol.ttf"
16965 ac_config_links
="$ac_config_links fonts/tahoma.ttf:fonts/tahoma.ttf"
16966 ac_config_links
="$ac_config_links fonts/tahomabd.ttf:fonts/tahomabd.ttf"
16967 test "$srcdir" = "." || wine_fn_config_symlink fonts
/marlett.ttf fonts
/symbol.ttf fonts
/tahoma.ttf fonts
/tahomabd.ttf
16969 ac_config_links
="$ac_config_links loader/l_intl.nls:loader/l_intl.nls"
16970 test "$srcdir" = "." || wine_fn_config_symlink loader
/l_intl.nls
16971 ac_config_links
="$ac_config_links po/LINGUAS:po/LINGUAS"
16972 test "$srcdir" = "." || wine_fn_config_symlink po
/LINGUAS
16973 ac_config_links
="$ac_config_links wine:tools/winewrapper"
16974 wine_fn_config_symlink wine
16975 if test "x$enable_win64" != xno
; then
16976 ac_config_links
="$ac_config_links wine64:tools/winewrapper"
16977 wine_fn_config_symlink wine64
16980 wine_fn_config_dll acledit enable_acledit
16981 wine_fn_config_dll aclui enable_aclui implib
16982 wine_fn_config_dll activeds enable_activeds implib
16983 wine_fn_config_dll actxprxy enable_actxprxy clean
16984 wine_fn_config_lib adsiid
16985 wine_fn_config_dll advapi32 enable_advapi32 clean
,implib
16986 wine_fn_config_test dlls
/advapi32
/tests advapi32_test
16987 wine_fn_config_dll advpack enable_advpack implib
16988 wine_fn_config_test dlls
/advpack
/tests advpack_test
16989 wine_fn_config_dll amstream enable_amstream clean
16990 wine_fn_config_test dlls
/amstream
/tests amstream_test
16991 wine_fn_config_dll api-ms-win-core-com-l1-1-0 enable_api_ms_win_core_com_l1_1_0
16992 wine_fn_config_dll api-ms-win-core-console-l1-1-0 enable_api_ms_win_core_console_l1_1_0
16993 wine_fn_config_dll api-ms-win-core-datetime-l1-1-0 enable_api_ms_win_core_datetime_l1_1_0
16994 wine_fn_config_dll api-ms-win-core-datetime-l1-1-1 enable_api_ms_win_core_datetime_l1_1_1
16995 wine_fn_config_dll api-ms-win-core-debug-l1-1-1 enable_api_ms_win_core_debug_l1_1_1
16996 wine_fn_config_dll api-ms-win-core-errorhandling-l1-1-1 enable_api_ms_win_core_errorhandling_l1_1_1
16997 wine_fn_config_dll api-ms-win-core-errorhandling-l1-1-2 enable_api_ms_win_core_errorhandling_l1_1_2
16998 wine_fn_config_dll api-ms-win-core-fibers-l1-1-0 enable_api_ms_win_core_fibers_l1_1_0
16999 wine_fn_config_dll api-ms-win-core-fibers-l1-1-1 enable_api_ms_win_core_fibers_l1_1_1
17000 wine_fn_config_dll api-ms-win-core-file-l1-2-0 enable_api_ms_win_core_file_l1_2_0
17001 wine_fn_config_dll api-ms-win-core-file-l2-1-0 enable_api_ms_win_core_file_l2_1_0
17002 wine_fn_config_dll api-ms-win-core-file-l2-1-1 enable_api_ms_win_core_file_l2_1_1
17003 wine_fn_config_dll api-ms-win-core-handle-l1-1-0 enable_api_ms_win_core_handle_l1_1_0
17004 wine_fn_config_dll api-ms-win-core-heap-l1-2-0 enable_api_ms_win_core_heap_l1_2_0
17005 wine_fn_config_dll api-ms-win-core-heap-obsolete-l1-1-0 enable_api_ms_win_core_heap_obsolete_l1_1_0
17006 wine_fn_config_dll api-ms-win-core-interlocked-l1-2-0 enable_api_ms_win_core_interlocked_l1_2_0
17007 wine_fn_config_dll api-ms-win-core-io-l1-1-1 enable_api_ms_win_core_io_l1_1_1
17008 wine_fn_config_dll api-ms-win-core-kernel32-legacy-l1-1-0 enable_api_ms_win_core_kernel32_legacy_l1_1_0
17009 wine_fn_config_dll api-ms-win-core-libraryloader-l1-1-1 enable_api_ms_win_core_libraryloader_l1_1_1
17010 wine_fn_config_dll api-ms-win-core-localization-l1-2-0 enable_api_ms_win_core_localization_l1_2_0
17011 wine_fn_config_dll api-ms-win-core-localization-l1-2-1 enable_api_ms_win_core_localization_l1_2_1
17012 wine_fn_config_dll api-ms-win-core-localization-obsolete-l1-1-0 enable_api_ms_win_core_localization_obsolete_l1_1_0
17013 wine_fn_config_dll api-ms-win-core-localregistry-l1-1-0 enable_api_ms_win_core_localregistry_l1_1_0
17014 wine_fn_config_dll api-ms-win-core-memory-l1-1-1 enable_api_ms_win_core_memory_l1_1_1
17015 wine_fn_config_dll api-ms-win-core-namedpipe-l1-2-0 enable_api_ms_win_core_namedpipe_l1_2_0
17016 wine_fn_config_dll api-ms-win-core-processenvironment-l1-2-0 enable_api_ms_win_core_processenvironment_l1_2_0
17017 wine_fn_config_dll api-ms-win-core-processthreads-l1-1-0 enable_api_ms_win_core_processthreads_l1_1_0
17018 wine_fn_config_dll api-ms-win-core-processthreads-l1-1-1 enable_api_ms_win_core_processthreads_l1_1_1
17019 wine_fn_config_dll api-ms-win-core-processthreads-l1-1-2 enable_api_ms_win_core_processthreads_l1_1_2
17020 wine_fn_config_dll api-ms-win-core-profile-l1-1-0 enable_api_ms_win_core_profile_l1_1_0
17021 wine_fn_config_dll api-ms-win-core-psapi-l1-1-0 enable_api_ms_win_core_psapi_l1_1_0
17022 wine_fn_config_dll api-ms-win-core-registry-l1-1-0 enable_api_ms_win_core_registry_l1_1_0
17023 wine_fn_config_dll api-ms-win-core-rtlsupport-l1-2-0 enable_api_ms_win_core_rtlsupport_l1_2_0
17024 wine_fn_config_dll api-ms-win-core-shlwapi-legacy-l1-1-0 enable_api_ms_win_core_shlwapi_legacy_l1_1_0
17025 wine_fn_config_dll api-ms-win-core-string-l1-1-0 enable_api_ms_win_core_string_l1_1_0
17026 wine_fn_config_dll api-ms-win-core-synch-l1-2-0 enable_api_ms_win_core_synch_l1_2_0
17027 wine_fn_config_dll api-ms-win-core-sysinfo-l1-2-0 enable_api_ms_win_core_sysinfo_l1_2_0
17028 wine_fn_config_dll api-ms-win-core-sysinfo-l1-2-1 enable_api_ms_win_core_sysinfo_l1_2_1
17029 wine_fn_config_dll api-ms-win-core-threadpool-legacy-l1-1-0 enable_api_ms_win_core_threadpool_legacy_l1_1_0
17030 wine_fn_config_dll api-ms-win-core-timezone-l1-1-0 enable_api_ms_win_core_timezone_l1_1_0
17031 wine_fn_config_dll api-ms-win-core-url-l1-1-0 enable_api_ms_win_core_url_l1_1_0
17032 wine_fn_config_dll api-ms-win-core-util-l1-1-0 enable_api_ms_win_core_util_l1_1_0
17033 wine_fn_config_dll api-ms-win-core-winrt-error-l1-1-0 enable_api_ms_win_core_winrt_error_l1_1_0
17034 wine_fn_config_dll api-ms-win-core-winrt-error-l1-1-1 enable_api_ms_win_core_winrt_error_l1_1_1
17035 wine_fn_config_dll api-ms-win-core-winrt-l1-1-0 enable_api_ms_win_core_winrt_l1_1_0
17036 wine_fn_config_dll api-ms-win-core-winrt-string-l1-1-0 enable_api_ms_win_core_winrt_string_l1_1_0
17037 wine_fn_config_dll api-ms-win-core-xstate-l2-1-0 enable_api_ms_win_core_xstate_l2_1_0
17038 wine_fn_config_dll api-ms-win-downlevel-advapi32-l1-1-0 enable_api_ms_win_downlevel_advapi32_l1_1_0
17039 wine_fn_config_dll api-ms-win-downlevel-advapi32-l2-1-0 enable_api_ms_win_downlevel_advapi32_l2_1_0
17040 wine_fn_config_dll api-ms-win-downlevel-normaliz-l1-1-0 enable_api_ms_win_downlevel_normaliz_l1_1_0
17041 wine_fn_config_dll api-ms-win-downlevel-ole32-l1-1-0 enable_api_ms_win_downlevel_ole32_l1_1_0
17042 wine_fn_config_dll api-ms-win-downlevel-shell32-l1-1-0 enable_api_ms_win_downlevel_shell32_l1_1_0
17043 wine_fn_config_dll api-ms-win-downlevel-shlwapi-l1-1-0 enable_api_ms_win_downlevel_shlwapi_l1_1_0
17044 wine_fn_config_dll api-ms-win-downlevel-shlwapi-l2-1-0 enable_api_ms_win_downlevel_shlwapi_l2_1_0
17045 wine_fn_config_dll api-ms-win-downlevel-user32-l1-1-0 enable_api_ms_win_downlevel_user32_l1_1_0
17046 wine_fn_config_dll api-ms-win-downlevel-version-l1-1-0 enable_api_ms_win_downlevel_version_l1_1_0
17047 wine_fn_config_dll api-ms-win-eventing-provider-l1-1-0 enable_api_ms_win_eventing_provider_l1_1_0
17048 wine_fn_config_dll api-ms-win-ntuser-dc-access-l1-1-0 enable_api_ms_win_ntuser_dc_access_l1_1_0
17049 wine_fn_config_dll api-ms-win-security-base-l1-1-0 enable_api_ms_win_security_base_l1_1_0
17050 wine_fn_config_dll api-ms-win-security-base-l1-2-0 enable_api_ms_win_security_base_l1_2_0
17051 wine_fn_config_dll api-ms-win-security-sddl-l1-1-0 enable_api_ms_win_security_sddl_l1_1_0
17052 wine_fn_config_dll api-ms-win-service-core-l1-1-1 enable_api_ms_win_service_core_l1_1_1
17053 wine_fn_config_dll api-ms-win-service-management-l1-1-0 enable_api_ms_win_service_management_l1_1_0
17054 wine_fn_config_dll api-ms-win-service-winsvc-l1-2-0 enable_api_ms_win_service_winsvc_l1_2_0
17055 wine_fn_config_dll apphelp enable_apphelp
17056 wine_fn_config_test dlls
/apphelp
/tests apphelp_test
17057 wine_fn_config_dll appwiz.cpl enable_appwiz_cpl po
17058 wine_fn_config_dll atl enable_atl clean
,implib
17059 wine_fn_config_test dlls
/atl
/tests atl_test
17060 wine_fn_config_dll atl100 enable_atl100 clean
,implib
17061 wine_fn_config_test dlls
/atl100
/tests atl100_test
17062 wine_fn_config_dll atl110 enable_atl110 clean
17063 wine_fn_config_dll atl80 enable_atl80 clean
,implib
17064 wine_fn_config_test dlls
/atl80
/tests atl80_test
17065 wine_fn_config_dll atl90 enable_atl90 clean
17066 wine_fn_config_dll authz enable_authz
17067 wine_fn_config_dll avicap32 enable_avicap32 implib
17068 wine_fn_config_dll avifil32 enable_avifil32 clean
,implib
,po
17069 wine_fn_config_test dlls
/avifil32
/tests avifil32_test
17070 wine_fn_config_dll avifile.dll16 enable_win16
17071 wine_fn_config_dll avrt enable_avrt implib
17072 wine_fn_config_dll bcrypt enable_bcrypt
17073 wine_fn_config_test dlls
/bcrypt
/tests bcrypt_test
17074 wine_fn_config_dll browseui enable_browseui clean
,po
17075 wine_fn_config_test dlls
/browseui
/tests browseui_test
17076 wine_fn_config_dll cabinet enable_cabinet implib
17077 wine_fn_config_test dlls
/cabinet
/tests cabinet_test
17078 wine_fn_config_dll capi2032 enable_capi2032 implib
17079 wine_fn_config_dll cards enable_cards implib
17080 wine_fn_config_dll cfgmgr32 enable_cfgmgr32 implib
17081 wine_fn_config_dll clusapi enable_clusapi implib
17082 wine_fn_config_dll combase enable_combase
17083 wine_fn_config_test dlls
/combase
/tests combase_test
17084 wine_fn_config_dll comcat enable_comcat
17085 wine_fn_config_test dlls
/comcat
/tests comcat_test
17086 wine_fn_config_dll comctl32 enable_comctl32 implib
,po
17087 wine_fn_config_test dlls
/comctl32
/tests comctl32_test
17088 wine_fn_config_dll comdlg32 enable_comdlg32 clean
,implib
,po
17089 wine_fn_config_test dlls
/comdlg32
/tests comdlg32_test
17090 wine_fn_config_dll
comm.drv16 enable_win16
17091 wine_fn_config_dll commdlg.dll16 enable_win16
17092 wine_fn_config_dll compobj.dll16 enable_win16
17093 wine_fn_config_dll compstui enable_compstui implib
17094 wine_fn_config_dll comsvcs enable_comsvcs implib
17095 wine_fn_config_dll connect enable_connect
17096 wine_fn_config_dll credui enable_credui implib
,po
17097 wine_fn_config_test dlls
/credui
/tests credui_test
17098 wine_fn_config_dll crtdll enable_crtdll implib
17099 wine_fn_config_dll crypt32 enable_crypt32 implib
,po
17100 wine_fn_config_test dlls
/crypt32
/tests crypt32_test
17101 wine_fn_config_dll cryptdlg enable_cryptdlg po
17102 wine_fn_config_dll cryptdll enable_cryptdll implib
17103 wine_fn_config_dll cryptext enable_cryptext
17104 wine_fn_config_dll cryptnet enable_cryptnet implib
17105 wine_fn_config_test dlls
/cryptnet
/tests cryptnet_test
17106 wine_fn_config_dll cryptui enable_cryptui implib
,po
17107 wine_fn_config_test dlls
/cryptui
/tests cryptui_test
17108 wine_fn_config_dll ctapi32 enable_ctapi32
17109 wine_fn_config_dll ctl3d.dll16 enable_win16
17110 wine_fn_config_dll ctl3d32 enable_ctl3d32 implib
17111 wine_fn_config_dll ctl3dv2.dll16 enable_win16
17112 wine_fn_config_dll d2d1 enable_d2d1 implib
17113 wine_fn_config_test dlls
/d2d
1/tests d2d1_test
17114 wine_fn_config_dll d3d10 enable_d3d10 implib
17115 wine_fn_config_test dlls
/d3d10
/tests d3d10_test
17116 wine_fn_config_dll d3d10_1 enable_d3d10_1 implib
17117 wine_fn_config_dll d3d10core enable_d3d10core implib
17118 wine_fn_config_test dlls
/d3d10core
/tests d3d10core_test
17119 wine_fn_config_dll d3d11 enable_d3d11
17120 wine_fn_config_dll d3d8 enable_d3d8 implib
17121 wine_fn_config_test dlls
/d3d
8/tests d3d8_test
17122 wine_fn_config_dll d3d9 enable_d3d9 implib
17123 wine_fn_config_test dlls
/d3d
9/tests d3d9_test
17124 wine_fn_config_dll d3dcompiler_33 enable_d3dcompiler_33
17125 wine_fn_config_dll d3dcompiler_34 enable_d3dcompiler_34
17126 wine_fn_config_dll d3dcompiler_35 enable_d3dcompiler_35
17127 wine_fn_config_dll d3dcompiler_36 enable_d3dcompiler_36
17128 wine_fn_config_dll d3dcompiler_37 enable_d3dcompiler_37
17129 wine_fn_config_dll d3dcompiler_38 enable_d3dcompiler_38
17130 wine_fn_config_dll d3dcompiler_39 enable_d3dcompiler_39
17131 wine_fn_config_dll d3dcompiler_40 enable_d3dcompiler_40
17132 wine_fn_config_dll d3dcompiler_41 enable_d3dcompiler_41
17133 wine_fn_config_dll d3dcompiler_42 enable_d3dcompiler_42
17134 wine_fn_config_dll d3dcompiler_43 enable_d3dcompiler_43 implib d3dcompiler
17135 wine_fn_config_test dlls
/d3dcompiler_43
/tests d3dcompiler_43_test
17136 wine_fn_config_dll d3dim enable_d3dim implib
17137 wine_fn_config_dll d3drm enable_d3drm implib
17138 wine_fn_config_test dlls
/d3drm
/tests d3drm_test
17139 wine_fn_config_dll d3dx10_33 enable_d3dx10_33
17140 wine_fn_config_dll d3dx10_34 enable_d3dx10_34
17141 wine_fn_config_dll d3dx10_35 enable_d3dx10_35
17142 wine_fn_config_dll d3dx10_36 enable_d3dx10_36
17143 wine_fn_config_dll d3dx10_37 enable_d3dx10_37
17144 wine_fn_config_dll d3dx10_38 enable_d3dx10_38
17145 wine_fn_config_dll d3dx10_39 enable_d3dx10_39
17146 wine_fn_config_dll d3dx10_40 enable_d3dx10_40
17147 wine_fn_config_dll d3dx10_41 enable_d3dx10_41
17148 wine_fn_config_dll d3dx10_42 enable_d3dx10_42
17149 wine_fn_config_dll d3dx10_43 enable_d3dx10_43
17150 wine_fn_config_dll d3dx11_42 enable_d3dx11_42
17151 wine_fn_config_dll d3dx11_43 enable_d3dx11_43
17152 wine_fn_config_dll d3dx9_24 enable_d3dx9_24
17153 wine_fn_config_dll d3dx9_25 enable_d3dx9_25
17154 wine_fn_config_dll d3dx9_26 enable_d3dx9_26
17155 wine_fn_config_dll d3dx9_27 enable_d3dx9_27
17156 wine_fn_config_dll d3dx9_28 enable_d3dx9_28
17157 wine_fn_config_dll d3dx9_29 enable_d3dx9_29
17158 wine_fn_config_dll d3dx9_30 enable_d3dx9_30
17159 wine_fn_config_dll d3dx9_31 enable_d3dx9_31
17160 wine_fn_config_dll d3dx9_32 enable_d3dx9_32
17161 wine_fn_config_dll d3dx9_33 enable_d3dx9_33
17162 wine_fn_config_dll d3dx9_34 enable_d3dx9_34
17163 wine_fn_config_dll d3dx9_35 enable_d3dx9_35
17164 wine_fn_config_dll d3dx9_36 enable_d3dx9_36 implib d3dx9
17165 wine_fn_config_test dlls
/d3dx9_36
/tests d3dx9_36_test
17166 wine_fn_config_dll d3dx9_37 enable_d3dx9_37
17167 wine_fn_config_dll d3dx9_38 enable_d3dx9_38
17168 wine_fn_config_dll d3dx9_39 enable_d3dx9_39
17169 wine_fn_config_dll d3dx9_40 enable_d3dx9_40
17170 wine_fn_config_dll d3dx9_41 enable_d3dx9_41
17171 wine_fn_config_dll d3dx9_42 enable_d3dx9_42
17172 wine_fn_config_dll d3dx9_43 enable_d3dx9_43
17173 wine_fn_config_dll d3dxof enable_d3dxof clean
,implib
17174 wine_fn_config_test dlls
/d3dxof
/tests d3dxof_test
17175 wine_fn_config_dll dbgeng enable_dbgeng implib
17176 wine_fn_config_dll dbghelp enable_dbghelp implib
17177 wine_fn_config_dll dciman32 enable_dciman32 implib
17178 wine_fn_config_dll ddeml.dll16 enable_win16
17179 wine_fn_config_dll ddraw enable_ddraw clean
,implib
17180 wine_fn_config_test dlls
/ddraw
/tests ddraw_test
17181 wine_fn_config_dll ddrawex enable_ddrawex clean
17182 wine_fn_config_test dlls
/ddrawex
/tests ddrawex_test
17183 wine_fn_config_dll devenum enable_devenum clean
,po
17184 wine_fn_config_test dlls
/devenum
/tests devenum_test
17185 wine_fn_config_dll dhcpcsvc enable_dhcpcsvc
17186 wine_fn_config_dll difxapi enable_difxapi
17187 wine_fn_config_dll dinput enable_dinput clean
,implib
,po
,staticimplib
17188 wine_fn_config_test dlls
/dinput
/tests dinput_test
17189 wine_fn_config_dll dinput8 enable_dinput8 clean
,implib
17190 wine_fn_config_test dlls
/dinput
8/tests dinput8_test
17191 wine_fn_config_dll dispdib.dll16 enable_win16
17192 wine_fn_config_dll dispex enable_dispex clean
17193 wine_fn_config_test dlls
/dispex
/tests dispex_test
17194 wine_fn_config_dll display.drv16 enable_win16
17195 wine_fn_config_dll dmband enable_dmband clean
17196 wine_fn_config_test dlls
/dmband
/tests dmband_test
17197 wine_fn_config_dll dmcompos enable_dmcompos clean
17198 wine_fn_config_test dlls
/dmcompos
/tests dmcompos_test
17199 wine_fn_config_dll dmime enable_dmime clean
17200 wine_fn_config_test dlls
/dmime
/tests dmime_test
17201 wine_fn_config_dll dmloader enable_dmloader clean
17202 wine_fn_config_test dlls
/dmloader
/tests dmloader_test
17203 wine_fn_config_dll dmscript enable_dmscript clean
17204 wine_fn_config_test dlls
/dmscript
/tests dmscript_test
17205 wine_fn_config_dll dmstyle enable_dmstyle clean
17206 wine_fn_config_test dlls
/dmstyle
/tests dmstyle_test
17207 wine_fn_config_dll dmsynth enable_dmsynth clean
17208 wine_fn_config_test dlls
/dmsynth
/tests dmsynth_test
17209 wine_fn_config_dll dmusic enable_dmusic clean
17210 wine_fn_config_test dlls
/dmusic
/tests dmusic_test
17211 wine_fn_config_dll dmusic32 enable_dmusic32 implib
17212 wine_fn_config_dll dnsapi enable_dnsapi implib
17213 wine_fn_config_test dlls
/dnsapi
/tests dnsapi_test
17214 wine_fn_config_dll dplay enable_dplay implib
17215 wine_fn_config_dll dplayx enable_dplayx clean
,implib
17216 wine_fn_config_test dlls
/dplayx
/tests dplayx_test
17217 wine_fn_config_dll dpnaddr enable_dpnaddr
17218 wine_fn_config_dll dpnet enable_dpnet clean
,implib
17219 wine_fn_config_test dlls
/dpnet
/tests dpnet_test
17220 wine_fn_config_dll dpnhpast enable_dpnhpast
17221 wine_fn_config_dll dpnlobby enable_dpnlobby
17222 wine_fn_config_dll dpvoice enable_dpvoice clean
17223 wine_fn_config_test dlls
/dpvoice
/tests dpvoice_test
17224 wine_fn_config_dll dpwsockx enable_dpwsockx
17225 wine_fn_config_dll drmclien enable_drmclien
17226 wine_fn_config_dll dsound enable_dsound clean
,implib
17227 wine_fn_config_test dlls
/dsound
/tests dsound_test
17228 wine_fn_config_dll dssenh enable_dssenh
17229 wine_fn_config_test dlls
/dssenh
/tests dssenh_test
17230 wine_fn_config_dll dswave enable_dswave clean
17231 wine_fn_config_test dlls
/dswave
/tests dswave_test
17232 wine_fn_config_dll dwmapi enable_dwmapi implib
17233 wine_fn_config_dll dwrite enable_dwrite implib
17234 wine_fn_config_test dlls
/dwrite
/tests dwrite_test
17235 wine_fn_config_dll dxdiagn enable_dxdiagn clean
,po
17236 wine_fn_config_test dlls
/dxdiagn
/tests dxdiagn_test
17237 wine_fn_config_lib dxerr8
17238 wine_fn_config_lib dxerr9
17239 wine_fn_config_dll dxgi enable_dxgi implib
17240 wine_fn_config_test dlls
/dxgi
/tests dxgi_test
17241 wine_fn_config_lib dxguid
17242 wine_fn_config_dll dxva2 enable_dxva2
17243 wine_fn_config_dll evr enable_evr
17244 wine_fn_config_dll explorerframe enable_explorerframe clean
17245 wine_fn_config_test dlls
/explorerframe
/tests explorerframe_test
17246 wine_fn_config_dll ext-ms-win-gdi-devcaps-l1-1-0 enable_ext_ms_win_gdi_devcaps_l1_1_0
17247 wine_fn_config_dll faultrep enable_faultrep implib
17248 wine_fn_config_test dlls
/faultrep
/tests faultrep_test
17249 wine_fn_config_dll fltlib enable_fltlib
17250 wine_fn_config_dll fntcache enable_fntcache
17251 wine_fn_config_dll fontsub enable_fontsub
17252 wine_fn_config_dll fusion enable_fusion
17253 wine_fn_config_test dlls
/fusion
/tests fusion_test
17254 wine_fn_config_dll fwpuclnt enable_fwpuclnt
17255 wine_fn_config_dll gameux enable_gameux clean
17256 wine_fn_config_test dlls
/gameux
/tests gameux_test
17257 wine_fn_config_dll gdi.exe16 enable_win16
17258 wine_fn_config_dll gdi32 enable_gdi32 clean
,implib
,po
17259 wine_fn_config_test dlls
/gdi32
/tests gdi32_test
17260 wine_fn_config_dll gdiplus enable_gdiplus implib
17261 wine_fn_config_test dlls
/gdiplus
/tests gdiplus_test
17262 wine_fn_config_dll glu32 enable_glu32 implib
17263 wine_fn_config_dll gphoto2.ds enable_gphoto2_ds po
17264 wine_fn_config_dll gpkcsp enable_gpkcsp
17265 wine_fn_config_dll hal enable_hal
17266 wine_fn_config_dll hhctrl.ocx enable_hhctrl_ocx clean
,implib
,po htmlhelp
17267 wine_fn_config_dll hid enable_hid implib
17268 wine_fn_config_dll hlink enable_hlink clean
,implib
17269 wine_fn_config_test dlls
/hlink
/tests hlink_test
17270 wine_fn_config_dll hnetcfg enable_hnetcfg clean
17271 wine_fn_config_dll httpapi enable_httpapi
17272 wine_fn_config_dll iccvid enable_iccvid po
17273 wine_fn_config_dll icmp enable_icmp
17274 wine_fn_config_dll ieframe enable_ieframe clean
,implib
,po
17275 wine_fn_config_test dlls
/ieframe
/tests ieframe_test
17276 wine_fn_config_dll ifsmgr.vxd enable_win16
17277 wine_fn_config_dll imaadp32.acm enable_imaadp32_acm
17278 wine_fn_config_dll imagehlp enable_imagehlp implib
17279 wine_fn_config_test dlls
/imagehlp
/tests imagehlp_test
17280 wine_fn_config_dll imm.dll16 enable_win16
17281 wine_fn_config_dll imm32 enable_imm32 implib
17282 wine_fn_config_test dlls
/imm32
/tests imm32_test
17283 wine_fn_config_dll inetcomm enable_inetcomm clean
,implib
17284 wine_fn_config_test dlls
/inetcomm
/tests inetcomm_test
17285 wine_fn_config_dll inetcpl.cpl enable_inetcpl_cpl po
17286 wine_fn_config_dll inetmib1 enable_inetmib1
17287 wine_fn_config_test dlls
/inetmib
1/tests inetmib1_test
17288 wine_fn_config_dll infosoft enable_infosoft clean
17289 wine_fn_config_test dlls
/infosoft
/tests infosoft_test
17290 wine_fn_config_dll initpki enable_initpki
17291 wine_fn_config_dll inkobj enable_inkobj
17292 wine_fn_config_dll inseng enable_inseng clean
17293 wine_fn_config_dll iphlpapi enable_iphlpapi implib
17294 wine_fn_config_test dlls
/iphlpapi
/tests iphlpapi_test
17295 wine_fn_config_dll itircl enable_itircl
17296 wine_fn_config_dll itss enable_itss clean
17297 wine_fn_config_test dlls
/itss
/tests itss_test
17298 wine_fn_config_dll joy.cpl enable_joy_cpl po
17299 wine_fn_config_dll jscript enable_jscript clean
,po
17300 wine_fn_config_test dlls
/jscript
/tests jscript_test
17301 wine_fn_config_dll jsproxy enable_jsproxy implib
17302 wine_fn_config_dll kernel32 enable_kernel32 clean
,implib
,mc
17303 wine_fn_config_test dlls
/kernel32
/tests kernel32_test
17304 wine_fn_config_dll keyboard.drv16 enable_win16
17305 wine_fn_config_dll krnl386.exe16 enable_win16 implib kernel
17306 wine_fn_config_dll ksuser enable_ksuser
17307 wine_fn_config_dll ktmw32 enable_ktmw32
17308 wine_fn_config_dll loadperf enable_loadperf implib
17309 wine_fn_config_dll localspl enable_localspl po
17310 wine_fn_config_test dlls
/localspl
/tests localspl_test
17311 wine_fn_config_dll localui enable_localui po
17312 wine_fn_config_test dlls
/localui
/tests localui_test
17313 wine_fn_config_dll lz32 enable_lz32 implib
17314 wine_fn_config_test dlls
/lz32
/tests lz32_test
17315 wine_fn_config_dll lzexpand.dll16 enable_win16
17316 wine_fn_config_dll mapi32 enable_mapi32 implib
,po
17317 wine_fn_config_test dlls
/mapi32
/tests mapi32_test
17318 wine_fn_config_dll mapistub enable_mapistub
17319 wine_fn_config_dll mciavi32 enable_mciavi32
17320 wine_fn_config_dll mcicda enable_mcicda
17321 wine_fn_config_dll mciqtz32 enable_mciqtz32
17322 wine_fn_config_dll mciseq enable_mciseq
17323 wine_fn_config_dll mciwave enable_mciwave
17324 wine_fn_config_dll mf enable_mf
17325 wine_fn_config_dll mfplat enable_mfplat
17326 wine_fn_config_dll mfreadwrite enable_mfreadwrite
17327 wine_fn_config_dll mgmtapi enable_mgmtapi
17328 wine_fn_config_dll midimap enable_midimap
17329 wine_fn_config_dll mlang enable_mlang clean
,implib
17330 wine_fn_config_test dlls
/mlang
/tests mlang_test
17331 wine_fn_config_dll mmcndmgr enable_mmcndmgr clean
17332 wine_fn_config_test dlls
/mmcndmgr
/tests mmcndmgr_test
17333 wine_fn_config_dll mmdevapi enable_mmdevapi clean
17334 wine_fn_config_test dlls
/mmdevapi
/tests mmdevapi_test
17335 wine_fn_config_dll mmdevldr.vxd enable_win16
17336 wine_fn_config_dll mmsystem.dll16 enable_win16
17337 wine_fn_config_dll monodebg.vxd enable_win16
17338 wine_fn_config_dll mountmgr.sys enable_mountmgr_sys
17339 wine_fn_config_dll mouse.drv16 enable_win16
17340 wine_fn_config_dll mpr enable_mpr implib
,po
17341 wine_fn_config_test dlls
/mpr
/tests mpr_test
17342 wine_fn_config_dll mprapi enable_mprapi implib
17343 wine_fn_config_dll msacm.dll16 enable_win16
17344 wine_fn_config_dll msacm32.drv enable_msacm32_drv
17345 wine_fn_config_dll msacm32 enable_msacm32 implib
,po
17346 wine_fn_config_test dlls
/msacm32
/tests msacm32_test
17347 wine_fn_config_dll msadp32.acm enable_msadp32_acm
17348 wine_fn_config_dll msasn1 enable_msasn1 implib
17349 wine_fn_config_dll mscat32 enable_mscat32
17350 wine_fn_config_dll mscms enable_mscms implib
17351 wine_fn_config_test dlls
/mscms
/tests mscms_test
17352 wine_fn_config_dll mscoree enable_mscoree clean
17353 wine_fn_config_test dlls
/mscoree
/tests mscoree_test
17354 wine_fn_config_dll msctf enable_msctf clean
17355 wine_fn_config_test dlls
/msctf
/tests msctf_test
17356 wine_fn_config_dll msdaps enable_msdaps clean
17357 wine_fn_config_dll msdmo enable_msdmo implib
17358 wine_fn_config_test dlls
/msdmo
/tests msdmo_test
17359 wine_fn_config_dll msftedit enable_msftedit
17360 wine_fn_config_dll msg711.acm enable_msg711_acm
17361 wine_fn_config_dll msgsm32.acm enable_msgsm32_acm
17362 wine_fn_config_dll mshtml.tlb enable_mshtml_tlb clean
17363 wine_fn_config_dll mshtml enable_mshtml clean
,implib
,po
17364 wine_fn_config_test dlls
/mshtml
/tests mshtml_test clean
17365 wine_fn_config_dll msi enable_msi clean
,implib
,po
17366 wine_fn_config_test dlls
/msi
/tests msi_test
17367 wine_fn_config_dll msident enable_msident clean
17368 wine_fn_config_dll msimg32 enable_msimg32 implib
17369 wine_fn_config_dll msimsg enable_msimsg
17370 wine_fn_config_dll msimtf enable_msimtf clean
17371 wine_fn_config_dll msisip enable_msisip
17372 wine_fn_config_dll msisys.ocx enable_msisys_ocx
17373 wine_fn_config_dll msls31 enable_msls31
17374 wine_fn_config_dll msnet32 enable_msnet32
17375 wine_fn_config_dll mspatcha enable_mspatcha implib
17376 wine_fn_config_dll msrle32 enable_msrle32 po
17377 wine_fn_config_test dlls
/msrle32
/tests msrle32_test
17378 wine_fn_config_dll mssign32 enable_mssign32
17379 wine_fn_config_dll mssip32 enable_mssip32
17380 wine_fn_config_dll mstask enable_mstask clean
17381 wine_fn_config_test dlls
/mstask
/tests mstask_test
17382 wine_fn_config_dll msvcirt enable_msvcirt
17383 wine_fn_config_dll msvcm80 enable_msvcm80
17384 wine_fn_config_dll msvcm90 enable_msvcm90
17385 wine_fn_config_dll msvcp100 enable_msvcp100
17386 wine_fn_config_test dlls
/msvcp100
/tests msvcp100_test
17387 wine_fn_config_dll msvcp110 enable_msvcp110
17388 wine_fn_config_dll msvcp120 enable_msvcp120
17389 wine_fn_config_test dlls
/msvcp120
/tests msvcp120_test
17390 wine_fn_config_dll msvcp120_app enable_msvcp120_app
17391 wine_fn_config_dll msvcp60 enable_msvcp60
17392 wine_fn_config_test dlls
/msvcp60
/tests msvcp60_test
17393 wine_fn_config_dll msvcp70 enable_msvcp70
17394 wine_fn_config_dll msvcp71 enable_msvcp71
17395 wine_fn_config_dll msvcp80 enable_msvcp80
17396 wine_fn_config_dll msvcp90 enable_msvcp90
17397 wine_fn_config_test dlls
/msvcp90
/tests msvcp90_test
17398 wine_fn_config_dll msvcr100 enable_msvcr100 implib
17399 wine_fn_config_test dlls
/msvcr100
/tests msvcr100_test
17400 wine_fn_config_dll msvcr110 enable_msvcr110 implib
17401 wine_fn_config_dll msvcr120 enable_msvcr120 implib
17402 wine_fn_config_test dlls
/msvcr120
/tests msvcr120_test
17403 wine_fn_config_dll msvcr120_app enable_msvcr120_app
17404 wine_fn_config_dll msvcr70 enable_msvcr70 implib
17405 wine_fn_config_dll msvcr71 enable_msvcr71 implib
17406 wine_fn_config_dll msvcr80 enable_msvcr80 implib
17407 wine_fn_config_dll msvcr90 enable_msvcr90 implib
17408 wine_fn_config_test dlls
/msvcr90
/tests msvcr90_test
17409 wine_fn_config_dll msvcrt enable_msvcrt implib
17410 wine_fn_config_test dlls
/msvcrt
/tests msvcrt_test
17411 wine_fn_config_dll msvcrt20 enable_msvcrt20 implib
17412 wine_fn_config_dll msvcrt40 enable_msvcrt40 implib
17413 wine_fn_config_dll msvcrtd enable_msvcrtd implib
17414 wine_fn_config_test dlls
/msvcrtd
/tests msvcrtd_test
17415 wine_fn_config_dll msvfw32 enable_msvfw32 implib
,po
17416 wine_fn_config_test dlls
/msvfw32
/tests msvfw32_test
17417 wine_fn_config_dll msvidc32 enable_msvidc32 po
17418 wine_fn_config_dll msvideo.dll16 enable_win16
17419 wine_fn_config_dll mswsock enable_mswsock implib
17420 wine_fn_config_dll msxml enable_msxml clean
17421 wine_fn_config_dll msxml2 enable_msxml2 clean
17422 wine_fn_config_dll msxml3 enable_msxml3 clean
17423 wine_fn_config_test dlls
/msxml
3/tests msxml3_test clean
17424 wine_fn_config_dll msxml4 enable_msxml4 clean
17425 wine_fn_config_dll msxml6 enable_msxml6 clean
17426 wine_fn_config_dll nddeapi enable_nddeapi implib
17427 wine_fn_config_dll ndis.sys enable_ndis_sys
17428 wine_fn_config_dll netapi32 enable_netapi32 implib
17429 wine_fn_config_test dlls
/netapi32
/tests netapi32_test
17430 wine_fn_config_dll netcfgx enable_netcfgx clean
17431 wine_fn_config_test dlls
/netcfgx
/tests netcfgx_test
17432 wine_fn_config_dll netprofm enable_netprofm clean
17433 wine_fn_config_test dlls
/netprofm
/tests netprofm_test
17434 wine_fn_config_dll newdev enable_newdev implib
17435 wine_fn_config_dll normaliz enable_normaliz implib
17436 wine_fn_config_dll npmshtml enable_npmshtml
17437 wine_fn_config_dll npptools enable_npptools
17438 wine_fn_config_dll ntdll enable_ntdll implib
17439 wine_fn_config_test dlls
/ntdll
/tests ntdll_test
17440 wine_fn_config_dll ntdsapi enable_ntdsapi implib
17441 wine_fn_config_test dlls
/ntdsapi
/tests ntdsapi_test
17442 wine_fn_config_dll ntoskrnl.exe enable_ntoskrnl_exe implib
17443 wine_fn_config_dll ntprint enable_ntprint
17444 wine_fn_config_test dlls
/ntprint
/tests ntprint_test
17445 wine_fn_config_dll objsel enable_objsel clean
17446 wine_fn_config_dll odbc32 enable_odbc32 implib
17447 wine_fn_config_dll odbccp32 enable_odbccp32 implib
17448 wine_fn_config_test dlls
/odbccp32
/tests odbccp32_test
17449 wine_fn_config_dll odbccu32 enable_odbccu32
17450 wine_fn_config_dll ole2.dll16 enable_win16
17451 wine_fn_config_dll ole2conv.dll16 enable_win16
17452 wine_fn_config_dll ole2disp.dll16 enable_win16
17453 wine_fn_config_dll ole2nls.dll16 enable_win16
17454 wine_fn_config_dll ole2prox.dll16 enable_win16
17455 wine_fn_config_dll ole2thk.dll16 enable_win16
17456 wine_fn_config_dll ole32 enable_ole32 clean
,implib
17457 wine_fn_config_test dlls
/ole32
/tests ole32_test
17458 wine_fn_config_dll oleacc enable_oleacc clean
,implib
,po
17459 wine_fn_config_test dlls
/oleacc
/tests oleacc_test
17460 wine_fn_config_dll oleaut32 enable_oleaut32 clean
,implib
,po
17461 wine_fn_config_test dlls
/oleaut32
/tests oleaut32_test clean
17462 wine_fn_config_dll olecli.dll16 enable_win16
17463 wine_fn_config_dll olecli32 enable_olecli32 implib
17464 wine_fn_config_dll oledb32 enable_oledb32 clean
17465 wine_fn_config_test dlls
/oledb32
/tests oledb32_test clean
17466 wine_fn_config_dll oledlg enable_oledlg implib
,po
17467 wine_fn_config_dll olepro32 enable_olepro32 implib
17468 wine_fn_config_dll olesvr.dll16 enable_win16
17469 wine_fn_config_dll olesvr32 enable_olesvr32 implib
17470 wine_fn_config_dll olethk32 enable_olethk32
17471 wine_fn_config_dll openal32 enable_openal32
17472 wine_fn_config_dll opencl enable_opencl
17473 wine_fn_config_dll opengl32 enable_opengl32 implib
17474 wine_fn_config_test dlls
/opengl32
/tests opengl32_test
17475 wine_fn_config_dll packager enable_packager clean
17476 wine_fn_config_test dlls
/packager
/tests packager_test
17477 wine_fn_config_dll pdh enable_pdh implib
17478 wine_fn_config_test dlls
/pdh
/tests pdh_test
17479 wine_fn_config_dll photometadatahandler enable_photometadatahandler
17480 wine_fn_config_dll pidgen enable_pidgen
17481 wine_fn_config_dll powrprof enable_powrprof implib
17482 wine_fn_config_dll printui enable_printui
17483 wine_fn_config_dll prntvpt enable_prntvpt
17484 wine_fn_config_dll propsys enable_propsys clean
,implib
17485 wine_fn_config_test dlls
/propsys
/tests propsys_test
17486 wine_fn_config_dll psapi enable_psapi implib
17487 wine_fn_config_test dlls
/psapi
/tests psapi_test
17488 wine_fn_config_dll pstorec enable_pstorec clean
17489 wine_fn_config_dll qcap enable_qcap
17490 wine_fn_config_test dlls
/qcap
/tests qcap_test
17491 wine_fn_config_dll qedit enable_qedit clean
17492 wine_fn_config_test dlls
/qedit
/tests qedit_test
17493 wine_fn_config_dll qmgr enable_qmgr clean
17494 wine_fn_config_test dlls
/qmgr
/tests qmgr_test
17495 wine_fn_config_dll qmgrprxy enable_qmgrprxy clean
17496 wine_fn_config_dll quartz enable_quartz clean
,implib
17497 wine_fn_config_test dlls
/quartz
/tests quartz_test clean
17498 wine_fn_config_dll query enable_query
17499 wine_fn_config_dll rasapi16.dll16 enable_win16
17500 wine_fn_config_dll rasapi32 enable_rasapi32 implib
17501 wine_fn_config_test dlls
/rasapi32
/tests rasapi32_test
17502 wine_fn_config_dll rasdlg enable_rasdlg implib
17503 wine_fn_config_dll regapi enable_regapi
17504 wine_fn_config_dll resutils enable_resutils implib
17505 wine_fn_config_dll riched20 enable_riched20 implib
17506 wine_fn_config_test dlls
/riched20
/tests riched20_test
17507 wine_fn_config_dll riched32 enable_riched32
17508 wine_fn_config_test dlls
/riched32
/tests riched32_test
17509 wine_fn_config_dll rpcrt4 enable_rpcrt4 clean
,implib
17510 wine_fn_config_test dlls
/rpcrt
4/tests rpcrt4_test clean
17511 wine_fn_config_dll rsabase enable_rsabase
17512 wine_fn_config_dll rsaenh enable_rsaenh implib
17513 wine_fn_config_test dlls
/rsaenh
/tests rsaenh_test
17514 wine_fn_config_dll rstrtmgr enable_rstrtmgr
17515 wine_fn_config_dll rtutils enable_rtutils implib
17516 wine_fn_config_dll samlib enable_samlib
17517 wine_fn_config_dll sane.ds enable_sane_ds po
17518 wine_fn_config_dll scarddlg enable_scarddlg
17519 wine_fn_config_dll sccbase enable_sccbase
17520 wine_fn_config_dll schannel enable_schannel
17521 wine_fn_config_test dlls
/schannel
/tests schannel_test
17522 wine_fn_config_dll schedsvc enable_schedsvc clean
17523 wine_fn_config_test dlls
/schedsvc
/tests schedsvc_test clean
17524 wine_fn_config_dll scrrun enable_scrrun clean
17525 wine_fn_config_test dlls
/scrrun
/tests scrrun_test clean
17526 wine_fn_config_dll scsiport.sys enable_scsiport_sys
17527 wine_fn_config_dll secur32 enable_secur32 implib
17528 wine_fn_config_test dlls
/secur32
/tests secur32_test
17529 wine_fn_config_dll security enable_security
17530 wine_fn_config_dll sensapi enable_sensapi implib
17531 wine_fn_config_dll serialui enable_serialui implib
,po
17532 wine_fn_config_test dlls
/serialui
/tests serialui_test
17533 wine_fn_config_dll setupapi enable_setupapi implib
,po
17534 wine_fn_config_test dlls
/setupapi
/tests setupapi_test
17535 wine_fn_config_dll setupx.dll16 enable_win16
17536 wine_fn_config_dll sfc enable_sfc implib
17537 wine_fn_config_dll sfc_os enable_sfc_os implib
17538 wine_fn_config_dll shdoclc enable_shdoclc po
17539 wine_fn_config_dll shdocvw enable_shdocvw clean
,implib
17540 wine_fn_config_test dlls
/shdocvw
/tests shdocvw_test
17541 wine_fn_config_dll shell.dll16 enable_win16
17542 wine_fn_config_dll shell32 enable_shell32 clean
,implib
,po
17543 wine_fn_config_test dlls
/shell32
/tests shell32_test
17544 wine_fn_config_dll shfolder enable_shfolder implib
17545 wine_fn_config_dll shlwapi enable_shlwapi implib
,po
17546 wine_fn_config_test dlls
/shlwapi
/tests shlwapi_test
17547 wine_fn_config_dll slbcsp enable_slbcsp
17548 wine_fn_config_dll slc enable_slc implib
17549 wine_fn_config_test dlls
/slc
/tests slc_test
17550 wine_fn_config_dll snmpapi enable_snmpapi implib
17551 wine_fn_config_test dlls
/snmpapi
/tests snmpapi_test
17552 wine_fn_config_dll softpub enable_softpub
17553 wine_fn_config_dll sound.drv16 enable_win16
17554 wine_fn_config_dll spoolss enable_spoolss implib
17555 wine_fn_config_test dlls
/spoolss
/tests spoolss_test
17556 wine_fn_config_dll stdole2.tlb enable_stdole2_tlb clean
17557 wine_fn_config_dll stdole32.tlb enable_stdole32_tlb clean
17558 wine_fn_config_dll sti enable_sti clean
,implib
17559 wine_fn_config_test dlls
/sti
/tests sti_test
17560 wine_fn_config_dll storage.dll16 enable_win16
17561 wine_fn_config_dll stress.dll16 enable_win16
17562 wine_fn_config_lib strmbase
17563 wine_fn_config_lib strmiids
17564 wine_fn_config_dll svrapi enable_svrapi
17565 wine_fn_config_dll sxs enable_sxs implib
17566 wine_fn_config_test dlls
/sxs
/tests sxs_test
17567 wine_fn_config_dll system.drv16 enable_win16
17568 wine_fn_config_dll t2embed enable_t2embed
17569 wine_fn_config_dll tapi32 enable_tapi32 implib
17570 wine_fn_config_dll taskschd enable_taskschd clean
17571 wine_fn_config_test dlls
/taskschd
/tests taskschd_test
17572 wine_fn_config_dll toolhelp.dll16 enable_win16
17573 wine_fn_config_dll traffic enable_traffic
17574 wine_fn_config_dll twain.dll16 enable_win16
17575 wine_fn_config_dll twain_32 enable_twain_32
17576 wine_fn_config_test dlls
/twain_32
/tests twain_32_test
17577 wine_fn_config_dll typelib.dll16 enable_win16
17578 wine_fn_config_dll unicows enable_unicows implib
17579 wine_fn_config_dll updspapi enable_updspapi
17580 wine_fn_config_dll url enable_url implib
17581 wine_fn_config_dll urlmon enable_urlmon clean
,implib
,po
17582 wine_fn_config_test dlls
/urlmon
/tests urlmon_test
17583 wine_fn_config_dll usbd.sys enable_usbd_sys implib
17584 wine_fn_config_dll user.exe16 enable_win16
17585 wine_fn_config_dll user32 enable_user32 clean
,implib
,po
17586 wine_fn_config_test dlls
/user32
/tests user32_test
17587 wine_fn_config_dll userenv enable_userenv implib
17588 wine_fn_config_test dlls
/userenv
/tests userenv_test
17589 wine_fn_config_dll usp10 enable_usp10 implib
17590 wine_fn_config_test dlls
/usp10
/tests usp10_test
17591 wine_fn_config_lib uuid
17592 wine_fn_config_dll uxtheme enable_uxtheme implib
17593 wine_fn_config_test dlls
/uxtheme
/tests uxtheme_test
17594 wine_fn_config_dll vbscript enable_vbscript clean
17595 wine_fn_config_test dlls
/vbscript
/tests vbscript_test clean
17596 wine_fn_config_dll vcomp enable_vcomp
17597 wine_fn_config_dll vcomp100 enable_vcomp100
17598 wine_fn_config_dll vcomp90 enable_vcomp90
17599 wine_fn_config_dll vdhcp.vxd enable_win16
17600 wine_fn_config_dll vdmdbg enable_vdmdbg implib
17601 wine_fn_config_dll ver.dll16 enable_win16
17602 wine_fn_config_dll version enable_version implib
17603 wine_fn_config_test dlls
/version
/tests version_test
17604 wine_fn_config_dll vmm.vxd enable_win16
17605 wine_fn_config_dll vnbt.vxd enable_win16
17606 wine_fn_config_dll vnetbios.vxd enable_win16
17607 wine_fn_config_dll vssapi enable_vssapi
17608 wine_fn_config_dll vtdapi.vxd enable_win16
17609 wine_fn_config_dll vwin32.vxd enable_win16
17610 wine_fn_config_dll w32skrnl enable_win16
17611 wine_fn_config_dll w32sys.dll16 enable_win16
17612 wine_fn_config_dll wbemdisp enable_wbemdisp clean
17613 wine_fn_config_test dlls
/wbemdisp
/tests wbemdisp_test
17614 wine_fn_config_dll wbemprox enable_wbemprox clean
17615 wine_fn_config_test dlls
/wbemprox
/tests wbemprox_test
17616 wine_fn_config_dll webservices enable_webservices implib
17617 wine_fn_config_dll wer enable_wer implib
17618 wine_fn_config_test dlls
/wer
/tests wer_test
17619 wine_fn_config_dll wevtapi enable_wevtapi
17620 wine_fn_config_dll wiaservc enable_wiaservc clean
17621 wine_fn_config_dll win32s16.dll16 enable_win16
17622 wine_fn_config_dll win87em.dll16 enable_win16
17623 wine_fn_config_dll winaspi.dll16 enable_win16
17624 wine_fn_config_dll windebug.dll16 enable_win16
17625 wine_fn_config_dll windowscodecs enable_windowscodecs clean
,implib
17626 wine_fn_config_test dlls
/windowscodecs
/tests windowscodecs_test
17627 wine_fn_config_dll windowscodecsext enable_windowscodecsext implib
17628 wine_fn_config_test dlls
/windowscodecsext
/tests windowscodecsext_test
17629 wine_fn_config_dll winealsa.drv enable_winealsa_drv
17630 wine_fn_config_dll winecoreaudio.drv enable_winecoreaudio_drv
17631 wine_fn_config_lib winecrt0
17632 wine_fn_config_dll wined3d enable_wined3d implib
17633 wine_fn_config_dll winegstreamer enable_winegstreamer
17634 wine_fn_config_dll winejoystick.drv enable_winejoystick_drv
17635 wine_fn_config_dll winemac.drv enable_winemac_drv
17636 wine_fn_config_dll winemapi enable_winemapi
17637 wine_fn_config_dll winemp3.acm enable_winemp3_acm
17638 wine_fn_config_dll wineoss.drv enable_wineoss_drv
17639 wine_fn_config_dll wineps.drv enable_wineps_drv clean
,po
17640 wine_fn_config_dll wineps16.drv16 enable_win16
17641 wine_fn_config_dll wineqtdecoder enable_wineqtdecoder
17642 wine_fn_config_dll winex11.drv enable_winex11_drv
17643 wine_fn_config_dll wing.dll16 enable_win16
17644 wine_fn_config_dll wing32 enable_wing32
17645 wine_fn_config_dll winhttp enable_winhttp clean
,implib
17646 wine_fn_config_test dlls
/winhttp
/tests winhttp_test
17647 wine_fn_config_dll wininet enable_wininet implib
,po
17648 wine_fn_config_test dlls
/wininet
/tests wininet_test
17649 wine_fn_config_dll winmm enable_winmm implib
,po
17650 wine_fn_config_test dlls
/winmm
/tests winmm_test
17651 wine_fn_config_dll winnls.dll16 enable_win16
17652 wine_fn_config_dll winnls32 enable_winnls32 implib
17653 wine_fn_config_dll winscard enable_winscard implib
17654 wine_fn_config_dll winsock.dll16 enable_win16
17655 wine_fn_config_dll winspool.drv enable_winspool_drv implib
,po winspool
17656 wine_fn_config_test dlls
/winspool.drv
/tests winspool.drv_test
17657 wine_fn_config_dll winsta enable_winsta
17658 wine_fn_config_dll wintab.dll16 enable_win16
17659 wine_fn_config_dll wintab32 enable_wintab32 implib
17660 wine_fn_config_test dlls
/wintab32
/tests wintab32_test
17661 wine_fn_config_dll wintrust enable_wintrust implib
17662 wine_fn_config_test dlls
/wintrust
/tests wintrust_test
17663 wine_fn_config_dll wlanapi enable_wlanapi
17664 wine_fn_config_dll wldap32 enable_wldap32 implib
,po
17665 wine_fn_config_test dlls
/wldap32
/tests wldap32_test
17666 wine_fn_config_dll wmi enable_wmi
17667 wine_fn_config_dll wmiutils enable_wmiutils clean
17668 wine_fn_config_test dlls
/wmiutils
/tests wmiutils_test
17669 wine_fn_config_dll wmp enable_wmp clean
17670 wine_fn_config_test dlls
/wmp
/tests wmp_test
17671 wine_fn_config_dll wmvcore enable_wmvcore
17672 wine_fn_config_dll wnaspi32 enable_wnaspi32 implib
17673 wine_fn_config_dll wow32 enable_win16 implib
17674 wine_fn_config_dll wpcap enable_wpcap
17675 wine_fn_config_dll ws2_32 enable_ws2_32 implib
17676 wine_fn_config_test dlls
/ws2_32
/tests ws2_32_test
17677 wine_fn_config_dll wshom.ocx enable_wshom_ocx clean
17678 wine_fn_config_test dlls
/wshom.ocx
/tests wshom.ocx_test clean
17679 wine_fn_config_dll wsnmp32 enable_wsnmp32 implib
17680 wine_fn_config_test dlls
/wsnmp32
/tests wsnmp32_test
17681 wine_fn_config_dll wsock32 enable_wsock32 implib
17682 wine_fn_config_dll wtsapi32 enable_wtsapi32 implib
17683 wine_fn_config_test dlls
/wtsapi32
/tests wtsapi32_test
17684 wine_fn_config_dll wuapi enable_wuapi clean
17685 wine_fn_config_dll wuaueng enable_wuaueng
17686 wine_fn_config_dll x3daudio1_1 enable_x3daudio1_1
17687 wine_fn_config_dll x3daudio1_2 enable_x3daudio1_2
17688 wine_fn_config_dll x3daudio1_3 enable_x3daudio1_3
17689 wine_fn_config_dll x3daudio1_4 enable_x3daudio1_4
17690 wine_fn_config_dll x3daudio1_5 enable_x3daudio1_5
17691 wine_fn_config_dll x3daudio1_6 enable_x3daudio1_6
17692 wine_fn_config_dll x3daudio1_7 enable_x3daudio1_7
17693 wine_fn_config_dll xapofx1_1 enable_xapofx1_1
17694 wine_fn_config_dll xapofx1_3 enable_xapofx1_3
17695 wine_fn_config_dll xapofx1_4 enable_xapofx1_4
17696 wine_fn_config_dll xapofx1_5 enable_xapofx1_5
17697 wine_fn_config_dll xaudio2_7 enable_xaudio2_7
17698 wine_fn_config_dll xinput1_1 enable_xinput1_1
17699 wine_fn_config_dll xinput1_2 enable_xinput1_2
17700 wine_fn_config_dll xinput1_3 enable_xinput1_3 implib xinput
17701 wine_fn_config_test dlls
/xinput1_
3/tests xinput1_3_test
17702 wine_fn_config_dll xinput1_4 enable_xinput1_4
17703 wine_fn_config_dll xinput9_1_0 enable_xinput9_1_0
17704 wine_fn_config_dll xmllite enable_xmllite implib
17705 wine_fn_config_test dlls
/xmllite
/tests xmllite_test
17706 wine_fn_config_dll xolehlp enable_xolehlp
17707 wine_fn_config_dll xpsprint enable_xpsprint
17708 wine_fn_config_dll xpssvcs enable_xpssvcs
17709 wine_fn_config_makefile documentation enable_documentation clean
17710 wine_fn_config_makefile fonts enable_fonts clean
,install-lib
17711 wine_fn_config_makefile include enable_include clean
,install-dev
17712 wine_fn_config_makefile libs
/port enable_libs_port
17713 wine_fn_config_makefile libs
/wine enable_libs_wine clean
,install-dev
,install-lib
17714 wine_fn_config_makefile libs
/wpp enable_libs_wpp
17715 wine_fn_config_makefile loader enable_loader clean
,install-lib
,manpage
17716 wine_fn_config_program arp enable_arp
install
17717 wine_fn_config_program aspnet_regiis enable_aspnet_regiis
install
17718 wine_fn_config_program attrib enable_attrib
install,po
17719 wine_fn_config_program cabarc enable_cabarc
install
17720 wine_fn_config_program cacls enable_cacls
install
17721 wine_fn_config_program
clock enable_clock
install,po
17722 wine_fn_config_program cmd enable_cmd
install,po
17723 wine_fn_config_test programs
/cmd
/tests cmd.exe_test
17724 wine_fn_config_program conhost enable_conhost
install
17725 wine_fn_config_program control enable_control
install
17726 wine_fn_config_program cscript enable_cscript clean
,install
17727 wine_fn_config_program dpnsvr enable_dpnsvr
install
17728 wine_fn_config_program dxdiag enable_dxdiag
install,po
17729 wine_fn_config_program eject enable_eject
install
17730 wine_fn_config_program
expand enable_expand
install
17731 wine_fn_config_program explorer enable_explorer
install,po
17732 wine_fn_config_program extrac32 enable_extrac32
install
17733 wine_fn_config_program findstr enable_findstr
install
17734 wine_fn_config_program hh enable_hh
install
17735 wine_fn_config_program hostname enable_hostname
install,po
17736 wine_fn_config_program icinfo enable_icinfo
install
17737 wine_fn_config_program iexplore enable_iexplore
install
17738 wine_fn_config_program ipconfig enable_ipconfig
install,po
17739 wine_fn_config_program lodctr enable_lodctr
install
17740 wine_fn_config_program mofcomp enable_mofcomp
install
17741 wine_fn_config_program mshta enable_mshta
install
17742 wine_fn_config_program msiexec enable_msiexec
install,installbin
,manpage
17743 wine_fn_config_program net enable_net
install,po
17744 wine_fn_config_program netsh enable_netsh
install
17745 wine_fn_config_program netstat enable_netstat
install,po
17746 wine_fn_config_program ngen enable_ngen
install
17747 wine_fn_config_program notepad enable_notepad
install,installbin
,manpage
,po
17748 wine_fn_config_program oleview enable_oleview
install,po
17749 wine_fn_config_program
ping enable_ping
install
17750 wine_fn_config_program plugplay enable_plugplay
install
17751 wine_fn_config_program presentationfontcache enable_presentationfontcache
install
17752 wine_fn_config_program progman enable_progman
install,po
17753 wine_fn_config_program reg enable_reg
install,po
17754 wine_fn_config_test programs
/reg
/tests reg.exe_test
17755 wine_fn_config_program regasm enable_regasm
install
17756 wine_fn_config_program regedit enable_regedit
install,installbin
,manpage
,po
17757 wine_fn_config_test programs
/regedit
/tests regedit.exe_test
17758 wine_fn_config_program regsvcs enable_regsvcs
install
17759 wine_fn_config_program regsvr32 enable_regsvr32
install,installbin
,manpage
,po
17760 wine_fn_config_program rpcss enable_rpcss clean
,install
17761 wine_fn_config_program rundll.exe16 enable_win16
install
17762 wine_fn_config_program rundll32 enable_rundll32
install
17763 wine_fn_config_program sc enable_sc
install
17764 wine_fn_config_program schtasks enable_schtasks
install
17765 wine_fn_config_program sdbinst enable_sdbinst
install
17766 wine_fn_config_program secedit enable_secedit
install
17767 wine_fn_config_program servicemodelreg enable_servicemodelreg
install
17768 wine_fn_config_program services enable_services clean
,install
17769 wine_fn_config_test programs
/services
/tests services.exe_test
17770 wine_fn_config_program spoolsv enable_spoolsv
install
17771 wine_fn_config_program start enable_start
install,po
17772 wine_fn_config_program svchost enable_svchost
install
17773 wine_fn_config_program systeminfo enable_systeminfo
install
17774 wine_fn_config_program taskkill enable_taskkill
install,po
17775 wine_fn_config_program tasklist enable_tasklist
install
17776 wine_fn_config_program taskmgr enable_taskmgr
install,po
17777 wine_fn_config_program termsv enable_termsv
install
17778 wine_fn_config_program uninstaller enable_uninstaller
install,po
17779 wine_fn_config_program unlodctr enable_unlodctr
install
17780 wine_fn_config_program view enable_view
install,po
17781 wine_fn_config_program wevtutil enable_wevtutil
install
17782 wine_fn_config_program wineboot enable_wineboot
install,installbin
,manpage
,po
17783 wine_fn_config_program winebrowser enable_winebrowser
install
17784 wine_fn_config_program winecfg enable_winecfg
install,installbin
,manpage
,po
17785 wine_fn_config_program wineconsole enable_wineconsole
install,installbin
,manpage
,po
17786 wine_fn_config_program winedbg enable_winedbg
install,installbin
,manpage
,po
17787 wine_fn_config_program winedevice enable_winedevice
install
17788 wine_fn_config_program winefile enable_winefile
install,installbin
,manpage
,po
17789 wine_fn_config_program winemenubuilder enable_winemenubuilder
install
17790 wine_fn_config_program winemine enable_winemine
install,installbin
,manpage
,po
17791 wine_fn_config_program winemsibuilder enable_winemsibuilder
install
17792 wine_fn_config_program winepath enable_winepath
install,installbin
,manpage
17793 wine_fn_config_program winetest enable_winetest clean
17794 wine_fn_config_program winevdm enable_win16
install
17795 wine_fn_config_program winhelp.exe16 enable_win16
install
17796 wine_fn_config_program winhlp32 enable_winhlp32
install,po
17797 wine_fn_config_program winoldap.mod16 enable_win16
install
17798 wine_fn_config_program winver enable_winver
install
17799 wine_fn_config_program wmic enable_wmic
install,po
17800 wine_fn_config_program wordpad enable_wordpad
install,po
17801 wine_fn_config_program
write enable_write
install,po
17802 wine_fn_config_program wscript enable_wscript clean
,install
17803 wine_fn_config_test programs
/wscript
/tests wscript.exe_test
17804 wine_fn_config_program wusa enable_wusa
install
17805 wine_fn_config_program xcopy enable_xcopy
install,po
17806 wine_fn_config_test programs
/xcopy
/tests xcopy.exe_test
17807 wine_fn_config_makefile server enable_server clean
,install-lib
,manpage
17808 wine_fn_config_tool tools clean
,install-dev
,install-lib
,manpage
17809 wine_fn_config_tool tools
/sfnt2fon clean
17810 wine_fn_config_tool tools
/widl clean
,install-dev
,manpage
17811 wine_fn_config_tool tools
/winebuild clean
,install-dev
,manpage
17812 wine_fn_config_tool tools
/winedump clean
,install-dev
,manpage
17813 wine_fn_config_tool tools
/winegcc clean
,install-dev
,manpage
17814 wine_fn_config_tool tools
/wmc clean
,install-dev
,manpage
17815 wine_fn_config_tool tools
/wrc clean
,install-dev
,manpage
17867 wine_fn_ignore_file
".gitignore"
17868 wine_fn_ignore_file
"Makefile"
17869 wine_fn_ignore_file
"TAGS"
17870 wine_fn_ignore_file
"tags"
17871 wine_fn_ignore_file
"autom4te.cache"
17872 wine_fn_ignore_file
"config.cache"
17873 wine_fn_ignore_file
"config.log"
17874 wine_fn_ignore_file
"config.status"
17875 wine_fn_ignore_file
"configure.lineno"
17876 wine_fn_ignore_file
"include/config.h"
17877 wine_fn_ignore_file
"include/stamp-h"
17878 test "$wine_binary" = wine || wine_fn_ignore_file
"loader/wine"
17880 if test "x$enable_tools" != xno
17882 wine_fn_ignore_file
"tools/makedep$ac_exeext"
17883 ac_config_commands
="$ac_config_commands tools/makedep"
17887 ac_config_commands
="$ac_config_commands Makefile"
17890 ac_config_files
="$ac_config_files Make.tmp:Make.vars.in:Makefile.in"
17894 if test "x$enable_maintainer_mode" = xyes
17896 wine_fn_append_rule
"configure: configure.ac aclocal.m4
17897 autoconf --warnings=all
17898 include/config.h.in: include/stamp-h.in
17899 include/stamp-h.in: configure.ac aclocal.m4
17900 autoheader --warnings=all
17901 @echo timestamp > \$@"
17904 if test "x$with_gettextpo" = xyes
17906 test "$srcdir" = . || as_fn_error $?
"Rebuilding po files is not supported for out of tree builds." "$LINENO" 5
17907 wine_fn_append_rule
"ALL_POT_FILES =$ALL_POT_FILES
17908 \$(LINGUAS:%=po/%.po): po/wine.pot
17909 msgmerge --previous -q \$@ po/wine.pot | msgattrib --no-obsolete -o \$@.new && mv \$@.new \$@
17910 po/wine.pot: \$(ALL_POT_FILES)
17911 msgcat -o \$@ \$(ALL_POT_FILES)"
17914 if test "$MSGFMT" != false
17916 wine_fn_append_rule
"__builddeps__: \$(LINGUAS:%=po/%.mo)
17918 \$(RM) \$(LINGUAS:%=po/%.mo)"
17921 test "$srcdir" = . || posrc
="$srcdir/po"
17924 wine_fn_ignore_file
"po/$i.mo"
17925 wine_fn_append_rule
"po/$i.mo: $posrc/$i.po
17926 \$(MSGFMT) -o \$@ $posrc/$i.po"
17932 if test "x$enable_tools" != xno
17934 wine_fn_append_rule
"tools/makedep$ac_exeext: $srcdir/tools/makedep.c include/config.h config.status
17935 @./config.status tools/makedep
17936 Makefile: tools/makedep$ac_exeext
17938 \$(RM) tools/makedep$ac_exeext"
17940 wine_fn_append_rule
"\$(MAKEDEP):
17941 @echo \"You need to run make in $TOOLSDIR first\" && false"
17944 if test -n "$with_wine64"
17946 wine_fn_append_rule
"all: fonts server tools $with_wine64/loader/wine $with_wine64/loader/wine-preloader
17947 fonts server tools:
17948 \$(RM) \$@ && \$(LN_S) $with_wine64/\$@ \$@
17949 $with_wine64/loader/wine:
17950 \$(RM) \$@ && \$(LN_S) $ac_pwd/loader/wine \$@
17951 $with_wine64/loader/wine-preloader:
17952 \$(RM) \$@ && \$(LN_S) $ac_pwd/loader/wine-preloader \$@
17954 \$(RM) fonts server tools $with_wine64/loader/wine $with_wine64/loader/wine-preloader"
17956 as_fn_append LOADER_RULES
"
17957 install install-lib:: wine.inf install-man-pages
17958 \$(INSTALL_DATA) wine.inf \$(DESTDIR)\$(datadir)/wine/wine.inf
17959 \$(INSTALL_DATA) \$(srcdir)/l_intl.nls \$(DESTDIR)\$(datadir)/wine/l_intl.nls
17962 \$(RM) \$(DESTDIR)\$(datadir)/wine/wine.inf \$(DESTDIR)\$(datadir)/wine/l_intl.nls
17966 if test "$srcdir" = .
17968 ac_config_commands
="$ac_config_commands .gitignore"
17972 $as_echo " done" >&6
17973 cat >confcache
<<\_ACEOF
17974 # This file is a shell script that caches the results of configure
17975 # tests run on this system so they can be shared between configure
17976 # scripts and configure runs, see configure's option --config-cache.
17977 # It is not useful on other systems. If it contains results you don't
17978 # want to keep, you may remove or edit it.
17980 # config.status only pays attention to the cache file if you give it
17981 # the --recheck option to rerun configure.
17983 # `ac_cv_env_foo' variables (set or unset) will be overridden when
17984 # loading this file, other *unset* `ac_cv_foo' will be assigned the
17985 # following values.
17989 # The following way of writing the cache mishandles newlines in values,
17990 # but we know of no workaround that is simple, portable, and efficient.
17991 # So, we kill variables containing newlines.
17992 # Ultrix sh set writes to stderr and can't be redirected directly,
17993 # and sets the high bit in the cache file unless we assign to the vars.
17995 for ac_var
in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
17996 eval ac_val
=\$
$ac_var
18000 *_cv_
*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
18001 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
18004 _ | IFS | as_nl
) ;; #(
18005 BASH_ARGV | BASH_SOURCE
) eval $ac_var= ;; #(
18006 *) { eval $ac_var=; unset $ac_var;} ;;
18012 case $as_nl`(ac_space=' '; set) 2>&1` in #(
18013 *${as_nl}ac_space
=\
*)
18014 # `set' does not quote correctly, so add quotes: double-quote
18015 # substitution turns \\\\ into \\, and sed turns \\ into \.
18018 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
18021 # `set' quotes correctly as required by POSIX, so do not add quotes.
18022 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
18031 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
18033 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
18035 if diff "$cache_file" confcache
>/dev
/null
2>&1; then :; else
18036 if test -w "$cache_file"; then
18037 if test "x$cache_file" != "x/dev/null"; then
18038 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
18039 $as_echo "$as_me: updating cache $cache_file" >&6;}
18040 if test ! -f "$cache_file" ||
test -h "$cache_file"; then
18041 cat confcache
>"$cache_file"
18043 case $cache_file in #(
18045 mv -f confcache
"$cache_file"$$
&&
18046 mv -f "$cache_file"$$
"$cache_file" ;; #(
18048 mv -f confcache
"$cache_file" ;;
18053 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
18054 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
18059 test "x$prefix" = xNONE
&& prefix
=$ac_default_prefix
18060 # Let make expand exec_prefix.
18061 test "x$exec_prefix" = xNONE
&& exec_prefix
='${prefix}'
18063 DEFS
=-DHAVE_CONFIG_H
18068 for ac_i
in : $LIBOBJS; do test "x$ac_i" = x
: && continue
18069 # 1. Remove the extension, and $U if already installed.
18070 ac_script
='s/\$U\././;s/\.o$//;s/\.obj$//'
18071 ac_i
=`$as_echo "$ac_i" | sed "$ac_script"`
18072 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
18073 # will be set to the directory where LIBOBJS objects are built.
18074 as_fn_append ac_libobjs
" \${LIBOBJDIR}$ac_i\$U.$ac_objext"
18075 as_fn_append ac_ltlibobjs
" \${LIBOBJDIR}$ac_i"'$U.lo'
18077 LIBOBJS
=$ac_libobjs
18079 LTLIBOBJS
=$ac_ltlibobjs
18083 : "${CONFIG_STATUS=./config.status}"
18085 ac_clean_files_save
=$ac_clean_files
18086 ac_clean_files
="$ac_clean_files $CONFIG_STATUS"
18087 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
18088 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
18090 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
18092 # Generated by $as_me.
18093 # Run this file to recreate the current configuration.
18094 # Compiler output produced by configure, useful for debugging
18095 # configure, is in config.log if it exists.
18098 ac_cs_recheck=false
18101 SHELL=\${CONFIG_SHELL-$SHELL}
18104 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail
=1
18105 ## -------------------- ##
18106 ## M4sh Initialization. ##
18107 ## -------------------- ##
18109 # Be more Bourne compatible
18110 DUALCASE
=1; export DUALCASE
# for MKS sh
18111 if test -n "${ZSH_VERSION+set}" && (emulate sh
) >/dev
/null
2>&1; then :
18114 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
18115 # is contrary to our usage. Disable this feature.
18116 alias -g '${1+"$@"}'='"$@"'
18117 setopt NO_GLOB_SUBST
18119 case `(set -o) 2>/dev/null` in #(
18131 # Printing a long string crashes Solaris 7 /usr/bin/printf.
18132 as_echo
='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
18133 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
18134 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
18135 # Prefer a ksh shell builtin over an external printf program on Solaris,
18136 # but without wasting forks for bash or zsh.
18137 if test -z "$BASH_VERSION$ZSH_VERSION" \
18138 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
18139 as_echo='print
-r --'
18140 as_echo_n='print
-rn --'
18141 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
18142 as_echo='printf %s
\n'
18143 as_echo_n='printf %s
'
18145 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
18146 as_echo_body='eval /usr
/ucb
/echo -n "$1$as_nl"'
18147 as_echo_n='/usr
/ucb
/echo -n'
18149 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
18150 as_echo_n_body='eval
18154 expr "X$arg" : "X\\(.*\\)$as_nl";
18155 arg
=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
18157 expr "X$arg" : "X\\(.*\\)" |
tr -d "$as_nl"
18159 export as_echo_n_body
18160 as_echo_n='sh
-c $as_echo_n_body as_echo
'
18162 export as_echo_body
18163 as_echo='sh
-c $as_echo_body as_echo
'
18166 # The user is always right.
18167 if test "${PATH_SEPARATOR+set}" != set; then
18169 (PATH='/bin
;/bin
'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
18170 (PATH='/bin
:/bin
'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
18177 # We need space, tab and new line, in precisely that order. Quoting is
18178 # there to prevent editors from complaining about space-tab.
18179 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
18180 # splitting by setting IFS to empty value.)
18183 # Find who we are. Look in the path if we contain no directory separator.
18186 *[\\/]* ) as_myself=$0 ;;
18187 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
18188 for as_dir in $PATH
18191 test -z "$as_dir" && as_dir=.
18192 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
18198 # We did not find ourselves, most probably we were run as `sh COMMAND'
18199 # in which case we are not to be found in the path.
18200 if test "x$as_myself" = x
; then
18203 if test ! -f "$as_myself"; then
18204 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
18208 # Unset variables that we do not need and which cause bugs (e.g. in
18209 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
18210 # suppresses any "Segmentation fault" message there. '((' could
18211 # trigger a bug in pdksh 5.2.14.
18212 for as_var
in BASH_ENV ENV MAIL MAILPATH
18213 do eval test x\
${$as_var+set} = xset \
18214 && ( (unset $as_var) ||
exit 1) >/dev
/null
2>&1 && unset $as_var ||
:
18227 (unset CDPATH
) >/dev
/null
2>&1 && unset CDPATH
18230 # as_fn_error STATUS ERROR [LINENO LOG_FD]
18231 # ----------------------------------------
18232 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
18233 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
18234 # script with STATUS, using 1 if that was 0.
18237 as_status
=$1; test $as_status -eq 0 && as_status
=1
18239 as_lineno
=${as_lineno-"$3"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
18240 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
18242 $as_echo "$as_me: error: $2" >&2
18243 as_fn_exit
$as_status
18247 # as_fn_set_status STATUS
18248 # -----------------------
18249 # Set $? to STATUS, without forking.
18250 as_fn_set_status
()
18253 } # as_fn_set_status
18255 # as_fn_exit STATUS
18256 # -----------------
18257 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
18261 as_fn_set_status
$1
18267 # Portably unset VAR.
18270 { eval $1=; unset $1;}
18272 as_unset
=as_fn_unset
18273 # as_fn_append VAR VALUE
18274 # ----------------------
18275 # Append the text in VALUE to the end of the definition contained in VAR. Take
18276 # advantage of any shell optimizations that allow amortized linear growth over
18277 # repeated appends, instead of the typical quadratic growth present in naive
18279 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev
/null
; then :
18280 eval 'as_fn_append ()
18291 # as_fn_arith ARG...
18292 # ------------------
18293 # Perform arithmetic evaluation on the ARGs, and store the result in the
18294 # global $as_val. Take advantage of shells that can avoid forks. The arguments
18295 # must be portable across $(()) and expr.
18296 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev
/null
; then :
18297 eval 'as_fn_arith ()
18304 as_val
=`expr "$@" || test $? -eq 1`
18309 if expr a
: '\(a\)' >/dev
/null
2>&1 &&
18310 test "X`expr 00001 : '.*\(...\)'`" = X001
; then
18316 if (basename -- /) >/dev
/null
2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
18317 as_basename
=basename
18322 if (as_dir
=`dirname -- /` && test "X$as_dir" = X
/) >/dev
/null
2>&1; then
18328 as_me
=`$as_basename -- "$0" ||
18329 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
18330 X"$0" : 'X\(//\)$' \| \
18331 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
18333 sed '/^.*\/\([^/][^/]*\)\/*$/{
18347 # Avoid depending upon Character Ranges.
18348 as_cr_letters
='abcdefghijklmnopqrstuvwxyz'
18349 as_cr_LETTERS
='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
18350 as_cr_Letters
=$as_cr_letters$as_cr_LETTERS
18351 as_cr_digits
='0123456789'
18352 as_cr_alnum
=$as_cr_Letters$as_cr_digits
18354 ECHO_C
= ECHO_N
= ECHO_T
=
18355 case `echo -n x` in #(((((
18357 case `echo 'xy\c'` in
18358 *c
*) ECHO_T
=' ';; # ECHO_T is single tab character.
18360 *) echo `echo ksh88 bug on AIX 6.1` > /dev
/null
18367 rm -f conf$$ conf$$.exe conf$$.
file
18368 if test -d conf$$.dir
; then
18369 rm -f conf$$.dir
/conf$$.
file
18372 mkdir conf$$.dir
2>/dev
/null
18374 if (echo >conf$$.
file) 2>/dev
/null
; then
18375 if ln -s conf$$.
file conf$$
2>/dev
/null
; then
18377 # ... but there are two gotchas:
18378 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
18379 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
18380 # In both cases, we have to default to `cp -pR'.
18381 ln -s conf$$.
file conf$$.dir
2>/dev
/null
&& test ! -f conf$$.exe ||
18383 elif ln conf$$.
file conf$$
2>/dev
/null
; then
18391 rm -f conf$$ conf$$.exe conf$$.dir
/conf$$.
file conf$$.
file
18392 rmdir conf$$.dir
2>/dev
/null
18397 # Create "$as_dir" as a directory, including parents if necessary.
18402 -*) as_dir
=.
/$as_dir;;
18404 test -d "$as_dir" ||
eval $as_mkdir_p ||
{
18408 *\'*) as_qdir
=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
18409 *) as_qdir
=$as_dir;;
18411 as_dirs
="'$as_qdir' $as_dirs"
18412 as_dir
=`$as_dirname -- "$as_dir" ||
18413 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
18414 X"$as_dir" : 'X\(//\)[^/]' \| \
18415 X"$as_dir" : 'X\(//\)$' \| \
18416 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
18417 $as_echo X"$as_dir" |
18418 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
18422 /^X\(\/\/\)[^/].*/{
18435 test -d "$as_dir" && break
18437 test -z "$as_dirs" ||
eval "mkdir $as_dirs"
18438 } ||
test -d "$as_dir" || as_fn_error $?
"cannot create directory $as_dir"
18442 if mkdir
-p .
2>/dev
/null
; then
18443 as_mkdir_p
='mkdir -p "$as_dir"'
18445 test -d .
/-p && rmdir .
/-p
18450 # as_fn_executable_p FILE
18451 # -----------------------
18452 # Test if FILE is an executable regular file.
18453 as_fn_executable_p
()
18455 test -f "$1" && test -x "$1"
18456 } # as_fn_executable_p
18457 as_test_x
='test -x'
18458 as_executable_p
=as_fn_executable_p
18460 # Sed expression to map a string onto a valid CPP name.
18461 as_tr_cpp
="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
18463 # Sed expression to map a string onto a valid variable name.
18464 as_tr_sh
="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
18468 ## ----------------------------------- ##
18469 ## Main body of $CONFIG_STATUS script. ##
18470 ## ----------------------------------- ##
18472 test $as_write_fail = 0 && chmod +x
$CONFIG_STATUS || ac_write_fail
=1
18474 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
18475 # Save the log message, to keep $0 and so on meaningful, and to
18476 # report actual input values of CONFIG_FILES etc. instead of their
18477 # values after options handling.
18479 This file was extended by Wine $as_me 1.7.42, which was
18480 generated by GNU Autoconf 2.69. Invocation command line was
18482 CONFIG_FILES = $CONFIG_FILES
18483 CONFIG_HEADERS = $CONFIG_HEADERS
18484 CONFIG_LINKS = $CONFIG_LINKS
18485 CONFIG_COMMANDS = $CONFIG_COMMANDS
18488 on `(hostname || uname -n) 2>/dev/null | sed 1q`
18493 case $ac_config_files in *"
18494 "*) set x
$ac_config_files; shift; ac_config_files
=$
*;;
18497 case $ac_config_headers in *"
18498 "*) set x
$ac_config_headers; shift; ac_config_headers
=$
*;;
18502 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
18503 # Files that config.status was made for.
18504 config_files="$ac_config_files"
18505 config_headers="$ac_config_headers"
18506 config_links="$ac_config_links"
18507 config_commands="$ac_config_commands"
18511 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
18513 \`$as_me' instantiates files and other configuration actions
18514 from templates according to the current configuration. Unless the files
18515 and actions are specified as TAGs, all are instantiated by default.
18517 Usage: $0 [OPTION]... [TAG]...
18519 -h, --help print this help, then exit
18520 -V, --version print version number and configuration settings, then exit
18521 --config print configuration, then exit
18522 -q, --quiet, --silent
18523 do not print progress messages
18524 -d, --debug don't remove temporary files
18525 --recheck update $as_me by reconfiguring in the same conditions
18526 --file=FILE[:TEMPLATE]
18527 instantiate the configuration file FILE
18528 --header=FILE[:TEMPLATE]
18529 instantiate the configuration header FILE
18531 Configuration files:
18534 Configuration headers:
18537 Configuration links:
18540 Configuration commands:
18543 Report bugs to <wine-devel@winehq.org>.
18544 Wine home page: <http://www.winehq.org>."
18547 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
18548 ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
18550 Wine config.status 1.7.42
18551 configured by $0, generated by GNU Autoconf 2.69,
18552 with options \\"\$ac_cs_config\\"
18554 Copyright (C) 2012 Free Software Foundation, Inc.
18555 This config.status script is free software; the Free Software Foundation
18556 gives unlimited permission to copy, distribute and modify it."
18560 test -n "\$AWK" || AWK=awk
18563 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
18564 # The default lists apply if the user does not specify any file.
18570 ac_option
=`expr "X$1" : 'X\([^=]*\)='`
18571 ac_optarg
=`expr "X$1" : 'X[^=]*=\(.*\)'`
18575 ac_option
=`expr "X$1" : 'X\([^=]*\)='`
18587 # Handling of the options.
18588 -recheck |
--recheck |
--rechec |
--reche |
--rech |
--rec |
--re |
--r)
18590 --version |
--versio |
--versi |
--vers |
--ver |
--ve |
--v |
-V )
18591 $as_echo "$ac_cs_version"; exit ;;
18592 --config |
--confi |
--conf |
--con |
--co |
--c )
18593 $as_echo "$ac_cs_config"; exit ;;
18594 --debug |
--debu |
--deb |
--de |
--d |
-d )
18596 --file |
--fil |
--fi |
--f )
18599 *\'*) ac_optarg
=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
18600 '') as_fn_error $?
"missing file argument" ;;
18602 as_fn_append CONFIG_FILES
" '$ac_optarg'"
18603 ac_need_defaults
=false
;;
18604 --header |
--heade |
--head |
--hea )
18607 *\'*) ac_optarg
=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
18609 as_fn_append CONFIG_HEADERS
" '$ac_optarg'"
18610 ac_need_defaults
=false
;;
18612 # Conflict between --help and --header
18613 as_fn_error $?
"ambiguous option: \`$1'
18614 Try \`$0 --help' for more information.";;
18615 --help |
--hel |
-h )
18616 $as_echo "$ac_cs_usage"; exit ;;
18617 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
18618 |
-silent |
--silent |
--silen |
--sile |
--sil |
--si |
--s)
18621 # This is an error.
18622 -*) as_fn_error $?
"unrecognized option: \`$1'
18623 Try \`$0 --help' for more information." ;;
18625 *) as_fn_append ac_config_targets
" $1"
18626 ac_need_defaults
=false
;;
18632 ac_configure_extra_args
=
18634 if $ac_cs_silent; then
18636 ac_configure_extra_args
="$ac_configure_extra_args --silent"
18640 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
18641 if \$ac_cs_recheck; then
18642 set X $SHELL '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
18644 \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
18645 CONFIG_SHELL='$SHELL'
18646 export CONFIG_SHELL
18651 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
18655 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
18656 ## Running $as_me. ##
18662 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
18666 wine_fn_output_makedep ()
18668 as_dir=tools; as_fn_mkdir_p
18669 $CC -Iinclude -I$srcdir/include -D__WINESRC__ $EXTRACFLAGS $CPPFLAGS $CFLAGS -o tools/makedep$ac_exeext $srcdir/tools/makedep.c $LDFLAGS
18671 wine_fn_output_makefile ()
18673 cat Make.tmp - <<\_WINE_EOF >\$tmp/makefile && mv -f \$tmp/makefile \$1 && rm -f Make.tmp && "$wine_makedep" . && return
18674 `cat $wine_rules_file`
18676 as_fn_error $? "could not create Makefile" "$LINENO" 5
18678 wine_fn_output_gitignore ()
18680 sort <<\_WINE_EOF >\$tmp/gitignore && mv -f \$tmp/gitignore \$1 && return
18683 as_fn_error $? "could not create .gitignore" "$LINENO" 5
18688 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
18690 # Handling of arguments.
18691 for ac_config_target
in $ac_config_targets
18693 case $ac_config_target in
18694 "include/config.h") CONFIG_HEADERS
="$CONFIG_HEADERS include/config.h" ;;
18695 "include/stamp-h") CONFIG_COMMANDS
="$CONFIG_COMMANDS include/stamp-h" ;;
18696 "fonts/marlett.ttf") CONFIG_LINKS
="$CONFIG_LINKS fonts/marlett.ttf:fonts/marlett.ttf" ;;
18697 "fonts/symbol.ttf") CONFIG_LINKS
="$CONFIG_LINKS fonts/symbol.ttf:fonts/symbol.ttf" ;;
18698 "fonts/tahoma.ttf") CONFIG_LINKS
="$CONFIG_LINKS fonts/tahoma.ttf:fonts/tahoma.ttf" ;;
18699 "fonts/tahomabd.ttf") CONFIG_LINKS
="$CONFIG_LINKS fonts/tahomabd.ttf:fonts/tahomabd.ttf" ;;
18700 "loader/l_intl.nls") CONFIG_LINKS
="$CONFIG_LINKS loader/l_intl.nls:loader/l_intl.nls" ;;
18701 "po/LINGUAS") CONFIG_LINKS
="$CONFIG_LINKS po/LINGUAS:po/LINGUAS" ;;
18702 "wine") CONFIG_LINKS
="$CONFIG_LINKS wine:tools/winewrapper" ;;
18703 "wine64") CONFIG_LINKS
="$CONFIG_LINKS wine64:tools/winewrapper" ;;
18704 "tools/makedep") CONFIG_COMMANDS
="$CONFIG_COMMANDS tools/makedep" ;;
18705 "Makefile") CONFIG_COMMANDS
="$CONFIG_COMMANDS Makefile" ;;
18706 "Make.tmp") CONFIG_FILES
="$CONFIG_FILES Make.tmp:Make.vars.in:Makefile.in" ;;
18707 ".gitignore") CONFIG_COMMANDS
="$CONFIG_COMMANDS .gitignore" ;;
18709 *) as_fn_error $?
"invalid argument: \`$ac_config_target'" "$LINENO" 5;;
18714 # If the user did not use the arguments to specify the items to instantiate,
18715 # then the envvar interface is used. Set only those that are not.
18716 # We use the long form for the default assignment because of an extremely
18717 # bizarre bug on SunOS 4.1.3.
18718 if $ac_need_defaults; then
18719 test "${CONFIG_FILES+set}" = set || CONFIG_FILES
=$config_files
18720 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS
=$config_headers
18721 test "${CONFIG_LINKS+set}" = set || CONFIG_LINKS
=$config_links
18722 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS
=$config_commands
18725 # Have a temporary directory for convenience. Make it in the build tree
18726 # simply because there is no reason against having it here, and in addition,
18727 # creating and moving files from /tmp can sometimes cause problems.
18728 # Hook for its removal unless debugging.
18729 # Note that there is a small window in which the directory will not be cleaned:
18730 # after its creation but before its name has been assigned to `$tmp'.
18734 trap 'exit_status=$?
18735 : "${ac_tmp:=$tmp}"
18736 { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
18738 trap 'as_fn_exit 1' 1 2 13 15
18740 # Create a (secure) tmp directory for tmp files.
18743 tmp
=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
18747 tmp
=.
/conf$$
-$RANDOM
18748 (umask 077 && mkdir
"$tmp")
18749 } || as_fn_error $?
"cannot create a temporary directory in ." "$LINENO" 5
18752 # Set up the scripts for CONFIG_FILES section.
18753 # No need to generate them if there are no CONFIG_FILES.
18754 # This happens for instance with `./config.status config.h'.
18755 if test -n "$CONFIG_FILES"; then
18758 ac_cr
=`echo X | tr X '\015'`
18759 # On cygwin, bash can eat \r inside `` if the user requested igncr.
18760 # But we know of no other shell where ac_cr would be empty at this
18761 # point, so we can use a bashism as a fallback.
18762 if test "x$ac_cr" = x
; then
18763 eval ac_cr
=\$
\'\\r
\'
18765 ac_cs_awk_cr
=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
18766 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
18769 ac_cs_awk_cr
=$ac_cr
18772 echo 'BEGIN {' >"$ac_tmp/subs1.awk" &&
18777 echo "cat >conf$$subs.awk <<_ACEOF" &&
18778 echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
18780 } >conf$$subs.sh ||
18781 as_fn_error $? "could not
make $CONFIG_STATUS" "$LINENO" 5
18782 ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
18784 for ac_last_try in false false false false false :; do
18785 . ./conf$$subs.sh ||
18786 as_fn_error $? "could not
make $CONFIG_STATUS" "$LINENO" 5
18788 ac_delim_n=`sed -n "s
/.
*$ac_delim\$
/X
/p
" conf$$subs.awk | grep -c X`
18789 if test $ac_delim_n = $ac_delim_num; then
18791 elif $ac_last_try; then
18792 as_fn_error $? "could not
make $CONFIG_STATUS" "$LINENO" 5
18794 ac_delim="$ac_delim!$ac_delim _
$ac_delim!! "
18797 rm -f conf$$subs.sh
18799 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
18800 cat >>"\
$ac_tmp/subs1.
awk" <<\\_ACAWK &&
18804 s/^/S["/; s
/!.
*/"]=/
18814 s/\(.\{148\}\)..*/\1/
18816 s/["\\]/\\&/g
; s
/^
/"/; s/$/\\n"\\/
18821 s
/["\\]/\\&/g; s/^/"/; s
/$
/"\\/
18828 s/\(.\{148\}\)..*/\1/
18830 s/["\\]/\\&/g
; s
/^
/"/; s/$/"/
18834 s
/["\\]/\\&/g; s/^/"/; s
/$
/"\\/
18839 ' <conf$$subs.awk | sed '
18844 ' >>$CONFIG_STATUS || ac_write_fail=1
18845 rm -f conf$$subs.awk
18846 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
18848 cat >>"\
$ac_tmp/subs1.
awk" <<_ACAWK &&
18849 for (key in S) S_is_set[key] = 1
18855 nfields = split(line, field, "@
")
18857 len = length(field[1])
18858 for (i = 2; i < nfields; i++) {
18860 keylen = length(key)
18861 if (S_is_set[key]) {
18863 line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
18864 len += length(value) + length(field[++i])
18875 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
18876 if sed "s
/$ac_cr//" < /dev/null > /dev/null 2>&1; then
18877 sed "s
/$ac_cr\$
//; s
/$ac_cr/$ac_cs_awk_cr/g
"
18880 fi < "$ac_tmp/subs1.
awk" > "$ac_tmp/subs.
awk" \
18881 || as_fn_error $? "could not setup config files machinery
" "$LINENO" 5
18884 # VPATH may cause trouble with some makes, so we remove sole $(srcdir),
18885 # ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".
", strip leading and
18886 # trailing colons and then remove the whole line if VPATH becomes empty
18887 # (actually we leave an empty line to preserve line numbers).
18888 if test "x
$srcdir" = x.; then
18889 ac_vpsub='/^[ ]*VPATH[ ]*=[ ]*/{
18907 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
18908 fi # test -n "$CONFIG_FILES"
18910 # Set up the scripts for CONFIG_HEADERS section.
18911 # No need to generate them if there are no CONFIG_HEADERS.
18912 # This happens for instance with `./config.status Makefile'.
18913 if test -n "$CONFIG_HEADERS"; then
18914 cat >"$ac_tmp/defines.
awk" <<\_ACAWK ||
18918 # Transform confdefs.h into an awk script `defines.awk', embedded as
18919 # here-document in config.status, that substitutes the proper values into
18920 # config.h.in to produce config.h.
18922 # Create a delimiter string that does not exist in confdefs.h, to ease
18923 # handling of long lines.
18925 for ac_last_try in false false :; do
18926 ac_tt=`sed -n "/$ac_delim/p
" confdefs.h`
18927 if test -z "$ac_tt"; then
18929 elif $ac_last_try; then
18930 as_fn_error $? "could not
make $CONFIG_HEADERS" "$LINENO" 5
18932 ac_delim="$ac_delim!$ac_delim _
$ac_delim!! "
18936 # For the awk script, D is an array of macro values keyed by name,
18937 # likewise P contains macro parameters if any. Preserve backslash
18938 # newline sequences.
18940 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
18942 s/.\{148\}/&'"$ac_delim"'/g
18945 s/^[ ]*#[ ]*define[ ][ ]*/ /
18952 s
/^ \
('"$ac_word_re"'\
)\
(([^
()]*)\
)[ ]*\
(.
*\
)/P
["\1"]="\2"\
18954 s
/^ \
('"$ac_word_re"'\
)[ ]*\
(.
*\
)/D
["\1"]=" \2"/p
18958 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\
1"]="\
2"\
18959 D["\
1"]=" \
3\\\\\\n
"\\/p
18961 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\
1"]=" \
2\\\\\\n
"\\/p
18966 s/.\{148\}/&'"$ac_delim"'/g
18971 s/["\\]/\\&/g
; s
/^
/"/; s/$/"/p
18974 s
/["\\]/\\&/g; s/^/"/; s
/$
/\\\\\\n
"\\/p
18976 ' <confdefs.h | sed '
18977 s/'"$ac_delim"'/"\\\
18978 "/g' >>$CONFIG_STATUS || ac_write_fail=1
18980 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
18981 for (key in D) D_is_set[key] = 1
18984 /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
18986 split(line, arg, " ")
18987 if (arg[1] == "#") {
18991 defundef
= substr
(arg
[1], 2)
18994 split(mac1
, mac2
, "(") #)
18996 prefix
= substr
(line
, 1, index
(line
, defundef
) - 1)
18997 if (D_is_set
[macro
]) {
18998 # Preserve the white space surrounding the "#".
18999 print prefix
"define", macro P
[macro
] D
[macro
]
19002 # Replace #undef with comments. This is necessary, for example,
19003 # in the case of _POSIX_SOURCE, which is predefined and required
19004 # on some systems where configure will not decide to define it.
19005 if (defundef
== "undef") {
19006 print
"/*", prefix defundef
, macro
, "*/"
19014 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
19015 as_fn_error $?
"could not setup config headers machinery" "$LINENO" 5
19016 fi # test -n "$CONFIG_HEADERS"
19019 eval set X
" :F $CONFIG_FILES :H $CONFIG_HEADERS :L $CONFIG_LINKS :C $CONFIG_COMMANDS"
19024 :[FHLC
]) ac_mode
=$ac_tag; continue;;
19026 case $ac_mode$ac_tag in
19028 :L
* |
:C
*:*) as_fn_error $?
"invalid tag \`$ac_tag'" "$LINENO" 5;;
19029 :[FH
]-) ac_tag
=-:-;;
19030 :[FH
]*) ac_tag
=$ac_tag:$ac_tag.
in;;
19047 -) ac_f
="$ac_tmp/stdin";;
19048 *) # Look for the file first in the build tree, then in the source tree
19049 # (if the path is not absolute). The absolute path cannot be DOS-style,
19050 # because $ac_f cannot contain `:'.
19054 *) test -f "$srcdir/$ac_f" && ac_f
="$srcdir/$ac_f";;
19056 as_fn_error
1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
19058 case $ac_f in *\'*) ac_f
=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
19059 as_fn_append ac_file_inputs
" '$ac_f'"
19062 # Let's still pretend it is `configure' which instantiates (i.e., don't
19063 # use $as_me), people would be surprised to read:
19064 # /* config.h. Generated by config.status. */
19065 configure_input
='Generated from '`
19066 $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
19068 if test x
"$ac_file" != x-
; then
19069 configure_input
="$ac_file. $configure_input"
19070 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
19071 $as_echo "$as_me: creating $ac_file" >&6;}
19073 # Neutralize special characters interpreted by sed in replacement strings.
19074 case $configure_input in #(
19075 *\
&* |
*\|
* |
*\\* )
19076 ac_sed_conf_input
=`$as_echo "$configure_input" |
19077 sed 's/[\\\\&|]/\\\\&/g'`;; #(
19078 *) ac_sed_conf_input
=$configure_input;;
19082 *:-:* |
*:-) cat >"$ac_tmp/stdin" \
19083 || as_fn_error $?
"could not create $ac_file" "$LINENO" 5 ;;
19088 ac_dir
=`$as_dirname -- "$ac_file" ||
19089 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
19090 X"$ac_file" : 'X\(//\)[^/]' \| \
19091 X"$ac_file" : 'X\(//\)$' \| \
19092 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
19093 $as_echo X"$ac_file" |
19094 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
19098 /^X\(\/\/\)[^/].*/{
19111 as_dir
="$ac_dir"; as_fn_mkdir_p
19115 .
) ac_dir_suffix
= ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
19117 ac_dir_suffix
=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
19118 # A ".." for each directory in $ac_dir_suffix.
19119 ac_top_builddir_sub
=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
19120 case $ac_top_builddir_sub in
19121 "") ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
19122 *) ac_top_build_prefix
=$ac_top_builddir_sub/ ;;
19125 ac_abs_top_builddir
=$ac_pwd
19126 ac_abs_builddir
=$ac_pwd$ac_dir_suffix
19127 # for backward compatibility:
19128 ac_top_builddir
=$ac_top_build_prefix
19131 .
) # We are building in place.
19133 ac_top_srcdir
=$ac_top_builddir_sub
19134 ac_abs_top_srcdir
=$ac_pwd ;;
19135 [\\/]* | ?
:[\\/]* ) # Absolute name.
19136 ac_srcdir
=$srcdir$ac_dir_suffix;
19137 ac_top_srcdir
=$srcdir
19138 ac_abs_top_srcdir
=$srcdir ;;
19139 *) # Relative name.
19140 ac_srcdir
=$ac_top_build_prefix$srcdir$ac_dir_suffix
19141 ac_top_srcdir
=$ac_top_build_prefix$srcdir
19142 ac_abs_top_srcdir
=$ac_pwd/$srcdir ;;
19144 ac_abs_srcdir
=$ac_abs_top_srcdir$ac_dir_suffix
19155 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
19156 # If the template does not know about datarootdir, expand it.
19157 # FIXME: This hack should be removed a few years after 2.60.
19158 ac_datarootdir_hack
=; ac_datarootdir_seen
=
19169 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
19170 *datarootdir
*) ac_datarootdir_seen
=yes;;
19171 *@datadir@
*|
*@docdir@
*|
*@infodir@
*|
*@localedir@
*|
*@mandir@
*)
19172 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
19173 $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
19175 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
19176 ac_datarootdir_hack='
19177 s&@datadir@&$datadir&g
19178 s&@docdir@&$docdir&g
19179 s&@infodir@&$infodir&g
19180 s&@localedir@&$localedir&g
19181 s&@mandir@&$mandir&g
19182 s&\\\${datarootdir}&$datarootdir&g' ;;
19186 # Neutralize VPATH when `$srcdir' = `.'.
19187 # Shell code in configure.ac might set extrasub.
19188 # FIXME: do we really want to maintain this feature?
19189 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
19190 ac_sed_extra="$ac_vpsub
19193 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
19195 /@
[a-zA-Z_
][a-zA-Z_0-9
]*@
/!b
19196 s|@configure_input@|
$ac_sed_conf_input|
;t t
19197 s
&@top_builddir@
&$ac_top_builddir_sub&;t t
19198 s
&@top_build_prefix@
&$ac_top_build_prefix&;t t
19199 s
&@srcdir@
&$ac_srcdir&;t t
19200 s
&@abs_srcdir@
&$ac_abs_srcdir&;t t
19201 s
&@top_srcdir@
&$ac_top_srcdir&;t t
19202 s
&@abs_top_srcdir@
&$ac_abs_top_srcdir&;t t
19203 s
&@builddir@
&$ac_builddir&;t t
19204 s
&@abs_builddir@
&$ac_abs_builddir&;t t
19205 s
&@abs_top_builddir@
&$ac_abs_top_builddir&;t t
19206 $ac_datarootdir_hack
19208 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.
awk" \
19209 >$ac_tmp/out || as_fn_error $? "could not create
$ac_file" "$LINENO" 5
19211 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
19212 { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out
"`; test -n "$ac_out"; } &&
19213 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' \
19214 "$ac_tmp/out
"`; test -z "$ac_out"; } &&
19215 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: $ac_file contains a reference to the variable \
`datarootdir'
19216 which seems to be undefined. Please make sure it is defined" >&5
19217 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir
'
19218 which seems to be undefined. Please make sure it is defined" >&2;}
19220 rm -f "$ac_tmp/stdin"
19222 -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";;
19223 *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";;
19225 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
19231 if test x"$ac_file" != x-; then
19233 $as_echo "/* $configure_input */" \
19234 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs"
19235 } >"$ac_tmp/config.h" \
19236 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
19237 if diff "$ac_file" "$ac_tmp/config.h" >/dev/null 2>&1; then
19238 { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
19239 $as_echo "$as_me: $ac_file is unchanged" >&6;}
19242 mv "$ac_tmp/config.h" "$ac_file" \
19243 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
19246 $as_echo "/* $configure_input */" \
19247 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" \
19248 || as_fn_error $? "could not create -" "$LINENO" 5
19256 if test "$ac_source" = "$ac_file" && test "$srcdir" = '.
'; then
19259 # Prefer the file from the source tree if names are identical.
19260 if test "$ac_source" = "$ac_file" || test ! -r "$ac_source"; then
19261 ac_source=$srcdir/$ac_source
19264 { $as_echo "$as_me:${as_lineno-$LINENO}: linking $ac_source to $ac_file" >&5
19265 $as_echo "$as_me: linking $ac_source to $ac_file" >&6;}
19267 if test ! -r "$ac_source"; then
19268 as_fn_error $? "$ac_source: file not found" "$LINENO" 5
19272 # Try a relative symlink, then a hard link, then a copy.
19274 [\\/$]* | ?:[\\/]* ) ac_rel_source=$ac_source ;;
19275 *) ac_rel_source=$ac_top_build_prefix$ac_source ;;
19277 ln -s "$ac_rel_source" "$ac_file" 2>/dev/null ||
19278 ln "$ac_source" "$ac_file" 2>/dev/null ||
19279 cp -p "$ac_source" "$ac_file" ||
19280 as_fn_error $? "cannot link or copy $ac_source to $ac_file" "$LINENO" 5
19283 :C) { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
19284 $as_echo "$as_me: executing $ac_file commands" >&6;}
19289 case $ac_file$ac_mode in
19290 "include/stamp-h":C) echo timestamp > include/stamp-h ;;
19291 "tools/makedep":C) wine_fn_output_makedep || as_fn_exit $? ;;
19292 "Makefile":C) wine_fn_output_makefile Makefile ;;
19293 ".gitignore":C) wine_fn_output_gitignore .gitignore ;;
19301 ac_clean_files=$ac_clean_files_save
19303 test $ac_write_fail = 0 ||
19304 as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5
19307 # configure is writing to config.log, and then calls config.status.
19308 # config.status does its own redirection, appending to config.log.
19309 # Unfortunately, on DOS this fails, as config.log is still kept open
19310 # by configure, so config.status won't be able to
write to it
; its
19311 # output is simply discarded. So we exec the FD to /dev/null,
19312 # effectively closing config.log, so it can be properly (re)opened and
19313 # appended to by config.status. When coming back to configure, we
19314 # need to make the FD available again.
19315 if test "$no_create" != yes; then
19317 ac_config_status_args
=
19318 test "$silent" = yes &&
19319 ac_config_status_args
="$ac_config_status_args --quiet"
19321 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success
=false
19323 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
19324 # would make configure fail if this is the last instruction.
19325 $ac_cs_success || as_fn_exit
1
19327 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no
; then
19328 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
19329 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
19333 if test "$no_create" = "yes"
19339 if test "x$wine_notices != "x
; then
19342 for msg
in $wine_notices; do
19344 if ${msg:+false} :; then :
19347 { $as_echo "$as_me:${as_lineno-$LINENO}: $msg" >&5
19348 $as_echo "$as_me: $msg" >&6;}
19353 for msg
in $wine_warnings; do
19355 if ${msg:+false} :; then :
19359 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $msg" >&5
19360 $as_echo "$as_me: WARNING: $msg" >&2;}
19366 $as_me: Finished. Do '${ac_make}' to compile Wine.