2 # Guess values for system-dependent variables and create Makefiles.
3 # Generated by GNU Autoconf 2.69 for Wine 1.7.37.
5 # Report bugs to <wine-devel@winehq.org>.
8 # Copyright (C) 1992-1996, 1998-2012 Free Software Foundation, Inc.
11 # This configure script is free software; the Free Software Foundation
12 # gives unlimited permission to copy, distribute and modify it.
13 ## -------------------- ##
14 ## M4sh Initialization. ##
15 ## -------------------- ##
17 # Be more Bourne compatible
18 DUALCASE
=1; export DUALCASE
# for MKS sh
19 if test -n "${ZSH_VERSION+set}" && (emulate sh
) >/dev
/null
2>&1; then :
22 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
23 # is contrary to our usage. Disable this feature.
24 alias -g '${1+"$@"}'='"$@"'
27 case `(set -o) 2>/dev/null` in #(
39 # Printing a long string crashes Solaris 7 /usr/bin/printf.
40 as_echo
='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
41 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
42 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
43 # Prefer a ksh shell builtin over an external printf program on Solaris,
44 # but without wasting forks for bash or zsh.
45 if test -z "$BASH_VERSION$ZSH_VERSION" \
46 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
48 as_echo_n='print
-rn --'
49 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
53 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
54 as_echo_body='eval /usr
/ucb
/echo -n "$1$as_nl"'
55 as_echo_n='/usr
/ucb
/echo -n'
57 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
62 expr "X$arg" : "X\\(.*\\)$as_nl";
63 arg
=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
65 expr "X$arg" : "X\\(.*\\)" |
tr -d "$as_nl"
68 as_echo_n='sh
-c $as_echo_n_body as_echo
'
71 as_echo='sh
-c $as_echo_body as_echo
'
74 # The user is always right.
75 if test "${PATH_SEPARATOR+set}" != set; then
77 (PATH='/bin
;/bin
'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
78 (PATH='/bin
:/bin
'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
85 # We need space, tab and new line, in precisely that order. Quoting is
86 # there to prevent editors from complaining about space-tab.
87 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
88 # splitting by setting IFS to empty value.)
91 # Find who we are. Look in the path if we contain no directory separator.
94 *[\\/]* ) as_myself=$0 ;;
95 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
99 test -z "$as_dir" && as_dir=.
100 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
106 # We did not find ourselves, most probably we were run as `sh COMMAND'
107 # in which case we are not to be found in the path.
108 if test "x$as_myself" = x
; then
111 if test ! -f "$as_myself"; then
112 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
116 # Unset variables that we do not need and which cause bugs (e.g. in
117 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
118 # suppresses any "Segmentation fault" message there. '((' could
119 # trigger a bug in pdksh 5.2.14.
120 for as_var
in BASH_ENV ENV MAIL MAILPATH
121 do eval test x\
${$as_var+set} = xset \
122 && ( (unset $as_var) ||
exit 1) >/dev
/null
2>&1 && unset $as_var ||
:
135 (unset CDPATH
) >/dev
/null
2>&1 && unset CDPATH
137 # Use a proper internal environment variable to ensure we don't fall
138 # into an infinite loop, continuously re-executing ourselves.
139 if test x
"${_as_can_reexec}" != xno
&& test "x$CONFIG_SHELL" != x
; then
140 _as_can_reexec
=no
; export _as_can_reexec
;
141 # We cannot yet assume a decent shell, so we have to provide a
142 # neutralization value for shells without unset; and this also
143 # works around shells that cannot unset nonexistent variables.
144 # Preserve -v and -x to the replacement shell.
147 (unset BASH_ENV
) >/dev
/null
2>&1 && unset BASH_ENV ENV
149 *v
*x
* |
*x
*v
* ) as_opts
=-vx ;;
154 exec $CONFIG_SHELL $as_opts "$as_myself" ${1+"$@"}
155 # Admittedly, this is quite paranoid, since all the known shells bail
156 # out after a failed `exec'.
157 $as_echo "$0: could not re-execute with $CONFIG_SHELL" >&2
160 # We don't want this to propagate to other subprocesses.
161 { _as_can_reexec
=; unset _as_can_reexec
;}
162 if test "x$CONFIG_SHELL" = x
; then
163 as_bourne_compatible
="if test -n \"\${ZSH_VERSION+set}\" && (emulate sh) >/dev/null 2>&1; then :
166 # Pre-4.2 versions of Zsh do word splitting on \${1+\"\$@\"}, which
167 # is contrary to our usage. Disable this feature.
168 alias -g '\${1+\"\$@\"}'='\"\$@\"'
171 case \`(set -o) 2>/dev/null\` in #(
179 as_required
="as_fn_return () { (exit \$1); }
180 as_fn_success () { as_fn_return 0; }
181 as_fn_failure () { as_fn_return 1; }
182 as_fn_ret_success () { return 0; }
183 as_fn_ret_failure () { return 1; }
186 as_fn_success || { exitcode=1; echo as_fn_success failed.; }
187 as_fn_failure && { exitcode=1; echo as_fn_failure succeeded.; }
188 as_fn_ret_success || { exitcode=1; echo as_fn_ret_success failed.; }
189 as_fn_ret_failure && { exitcode=1; echo as_fn_ret_failure succeeded.; }
190 if ( set x; as_fn_ret_success y && test x = \"\$1\" ); then :
193 exitcode=1; echo positional parameters were not saved.
195 test x\$exitcode = x0 || exit 1
197 as_suggested
=" as_lineno_1=";as_suggested
=$as_suggested$LINENO;as_suggested
=$as_suggested" as_lineno_1a=\$LINENO
198 as_lineno_2=";as_suggested
=$as_suggested$LINENO;as_suggested
=$as_suggested" as_lineno_2a=\$LINENO
199 eval 'test \"x\$as_lineno_1'\$as_run'\" != \"x\$as_lineno_2'\$as_run'\" &&
200 test \"x\`expr \$as_lineno_1'\$as_run' + 1\`\" = \"x\$as_lineno_2'\$as_run'\"' || exit 1
201 test \$(( 1 + 1 )) = 2 || exit 1"
202 if (eval "$as_required") 2>/dev
/null
; then :
207 if test x
$as_have_required = xyes
&& (eval "$as_suggested") 2>/dev
/null
; then :
210 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
212 for as_dir
in /bin
$PATH_SEPARATOR/usr
/bin
$PATH_SEPARATOR$PATH
215 test -z "$as_dir" && as_dir
=.
219 for as_base
in sh bash ksh sh5
; do
220 # Try only shells that exist, to save several forks.
221 as_shell
=$as_dir/$as_base
222 if { test -f "$as_shell" ||
test -f "$as_shell.exe"; } &&
223 { $as_echo "$as_bourne_compatible""$as_required" | as_run
=a
"$as_shell"; } 2>/dev
/null
; then :
224 CONFIG_SHELL
=$as_shell as_have_required
=yes
225 if { $as_echo "$as_bourne_compatible""$as_suggested" | as_run
=a
"$as_shell"; } 2>/dev
/null
; then :
233 $as_found ||
{ if { test -f "$SHELL" ||
test -f "$SHELL.exe"; } &&
234 { $as_echo "$as_bourne_compatible""$as_required" | as_run
=a
"$SHELL"; } 2>/dev
/null
; then :
235 CONFIG_SHELL
=$SHELL as_have_required
=yes
240 if test "x$CONFIG_SHELL" != x
; then :
242 # We cannot yet assume a decent shell, so we have to provide a
243 # neutralization value for shells without unset; and this also
244 # works around shells that cannot unset nonexistent variables.
245 # Preserve -v and -x to the replacement shell.
248 (unset BASH_ENV
) >/dev
/null
2>&1 && unset BASH_ENV ENV
250 *v
*x
* |
*x
*v
* ) as_opts
=-vx ;;
255 exec $CONFIG_SHELL $as_opts "$as_myself" ${1+"$@"}
256 # Admittedly, this is quite paranoid, since all the known shells bail
257 # out after a failed `exec'.
258 $as_echo "$0: could not re-execute with $CONFIG_SHELL" >&2
262 if test x
$as_have_required = xno
; then :
263 $as_echo "$0: This script requires a shell more modern than all"
264 $as_echo "$0: the shells that I found on your system."
265 if test x
${ZSH_VERSION+set} = xset
; then
266 $as_echo "$0: In particular, zsh $ZSH_VERSION has bugs and should"
267 $as_echo "$0: be upgraded to zsh 4.3.4 or later."
269 $as_echo "$0: Please tell bug-autoconf@gnu.org and
270 $0: wine-devel@winehq.org about your system, including any
271 $0: error possibly output before this message. Then install
272 $0: a modern shell, or manually run the script under such a
273 $0: shell if you do have one."
279 SHELL
=${CONFIG_SHELL-/bin/sh}
281 # Unset more variables known to interfere with behavior of common tools.
282 CLICOLOR_FORCE
= GREP_OPTIONS
=
283 unset CLICOLOR_FORCE GREP_OPTIONS
285 ## --------------------- ##
286 ## M4sh Shell Functions. ##
287 ## --------------------- ##
290 # Portably unset VAR.
293 { eval $1=; unset $1;}
297 # as_fn_set_status STATUS
298 # -----------------------
299 # Set $? to STATUS, without forking.
307 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
317 # Create "$as_dir" as a directory, including parents if necessary.
322 -*) as_dir
=.
/$as_dir;;
324 test -d "$as_dir" ||
eval $as_mkdir_p ||
{
328 *\'*) as_qdir
=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
331 as_dirs
="'$as_qdir' $as_dirs"
332 as_dir
=`$as_dirname -- "$as_dir" ||
333 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
334 X"$as_dir" : 'X\(//\)[^/]' \| \
335 X"$as_dir" : 'X\(//\)$' \| \
336 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
337 $as_echo X"$as_dir" |
338 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
355 test -d "$as_dir" && break
357 test -z "$as_dirs" ||
eval "mkdir $as_dirs"
358 } ||
test -d "$as_dir" || as_fn_error $?
"cannot create directory $as_dir"
363 # as_fn_executable_p FILE
364 # -----------------------
365 # Test if FILE is an executable regular file.
366 as_fn_executable_p
()
368 test -f "$1" && test -x "$1"
369 } # as_fn_executable_p
370 # as_fn_append VAR VALUE
371 # ----------------------
372 # Append the text in VALUE to the end of the definition contained in VAR. Take
373 # advantage of any shell optimizations that allow amortized linear growth over
374 # repeated appends, instead of the typical quadratic growth present in naive
376 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev
/null
; then :
377 eval 'as_fn_append ()
390 # Perform arithmetic evaluation on the ARGs, and store the result in the
391 # global $as_val. Take advantage of shells that can avoid forks. The arguments
392 # must be portable across $(()) and expr.
393 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev
/null
; then :
401 as_val
=`expr "$@" || test $? -eq 1`
406 # as_fn_error STATUS ERROR [LINENO LOG_FD]
407 # ----------------------------------------
408 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
409 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
410 # script with STATUS, using 1 if that was 0.
413 as_status
=$1; test $as_status -eq 0 && as_status
=1
415 as_lineno
=${as_lineno-"$3"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
416 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
418 $as_echo "$as_me: error: $2" >&2
419 as_fn_exit
$as_status
422 if expr a
: '\(a\)' >/dev
/null
2>&1 &&
423 test "X`expr 00001 : '.*\(...\)'`" = X001
; then
429 if (basename -- /) >/dev
/null
2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
435 if (as_dir
=`dirname -- /` && test "X$as_dir" = X
/) >/dev
/null
2>&1; then
441 as_me
=`$as_basename -- "$0" ||
442 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
443 X"$0" : 'X\(//\)$' \| \
444 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
446 sed '/^.*\/\([^/][^/]*\)\/*$/{
460 # Avoid depending upon Character Ranges.
461 as_cr_letters
='abcdefghijklmnopqrstuvwxyz'
462 as_cr_LETTERS
='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
463 as_cr_Letters
=$as_cr_letters$as_cr_LETTERS
464 as_cr_digits
='0123456789'
465 as_cr_alnum
=$as_cr_Letters$as_cr_digits
468 as_lineno_1
=$LINENO as_lineno_1a
=$LINENO
469 as_lineno_2
=$LINENO as_lineno_2a
=$LINENO
470 eval 'test "x$as_lineno_1'$as_run'" != "x$as_lineno_2'$as_run'" &&
471 test "x`expr $as_lineno_1'$as_run' + 1`" = "x$as_lineno_2'$as_run'"' ||
{
472 # Blame Lee E. McMahon (1931-1989) for sed's syntax. :-)
484 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
488 chmod +x
"$as_me.lineno" ||
489 { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2; as_fn_exit
1; }
491 # If we had to re-execute with $CONFIG_SHELL, we're ensured to have
492 # already done that, so ensure we don't try to do so again and fall
493 # in an infinite loop. This has already happened in practice.
494 _as_can_reexec
=no
; export _as_can_reexec
495 # Don't try to exec as it changes $[0], causing all sort of problems
496 # (the dirname of $[0] is not the place where we might find the
497 # original and so on. Autoconf is especially sensitive to this).
499 # Exit status is that of the last command.
503 ECHO_C
= ECHO_N
= ECHO_T
=
504 case `echo -n x` in #(((((
506 case `echo 'xy\c'` in
507 *c
*) ECHO_T
=' ';; # ECHO_T is single tab character.
509 *) echo `echo ksh88 bug on AIX 6.1` > /dev
/null
516 rm -f conf$$ conf$$.exe conf$$.
file
517 if test -d conf$$.dir
; then
518 rm -f conf$$.dir
/conf$$.
file
521 mkdir conf$$.dir
2>/dev
/null
523 if (echo >conf$$.
file) 2>/dev
/null
; then
524 if ln -s conf$$.
file conf$$
2>/dev
/null
; then
526 # ... but there are two gotchas:
527 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
528 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
529 # In both cases, we have to default to `cp -pR'.
530 ln -s conf$$.
file conf$$.dir
2>/dev
/null
&& test ! -f conf$$.exe ||
532 elif ln conf$$.
file conf$$
2>/dev
/null
; then
540 rm -f conf$$ conf$$.exe conf$$.dir
/conf$$.
file conf$$.
file
541 rmdir conf$$.dir
2>/dev
/null
543 if mkdir
-p .
2>/dev
/null
; then
544 as_mkdir_p
='mkdir -p "$as_dir"'
546 test -d .
/-p && rmdir .
/-p
551 as_executable_p
=as_fn_executable_p
553 # Sed expression to map a string onto a valid CPP name.
554 as_tr_cpp
="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
556 # Sed expression to map a string onto a valid variable name.
557 as_tr_sh
="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
560 test -n "$DJDIR" ||
exec 7<&0 </dev
/null
564 # hostname on some systems (SVR3.2, old GNU/Linux) returns a bogus exit status,
565 # so uname gets run too.
566 ac_hostname
=`(hostname || uname -n) 2>/dev/null | sed 1q`
571 ac_default_prefix
=/usr
/local
573 ac_config_libobj_dir
=.
580 # Identity of this package.
582 PACKAGE_TARNAME
='wine'
583 PACKAGE_VERSION
='1.7.37'
584 PACKAGE_STRING
='Wine 1.7.37'
585 PACKAGE_BUGREPORT
='wine-devel@winehq.org'
586 PACKAGE_URL
='http://www.winehq.org'
588 ac_unique_file
="server/atom.c"
589 # Factoring default headers for most tests.
590 ac_includes_default
="\
592 #ifdef HAVE_SYS_TYPES_H
593 # include <sys/types.h>
595 #ifdef HAVE_SYS_STAT_H
596 # include <sys/stat.h>
602 # ifdef HAVE_STDLIB_H
607 # if !defined STDC_HEADERS && defined HAVE_MEMORY_H
612 #ifdef HAVE_STRINGS_H
613 # include <strings.h>
615 #ifdef HAVE_INTTYPES_H
616 # include <inttypes.h>
625 ac_subst_vars
='LTLIBOBJS
698 APPLICATIONSERVICES_LIBS
783 program_transform_name
796 enable_option_checking
800 enable_maintainer_mode
857 enable_api_ms_win_core_com_l1_1_0
858 enable_api_ms_win_core_console_l1_1_0
859 enable_api_ms_win_core_datetime_l1_1_0
860 enable_api_ms_win_core_datetime_l1_1_1
861 enable_api_ms_win_core_debug_l1_1_1
862 enable_api_ms_win_core_errorhandling_l1_1_1
863 enable_api_ms_win_core_errorhandling_l1_1_2
864 enable_api_ms_win_core_fibers_l1_1_0
865 enable_api_ms_win_core_fibers_l1_1_1
866 enable_api_ms_win_core_file_l1_2_0
867 enable_api_ms_win_core_file_l2_1_0
868 enable_api_ms_win_core_file_l2_1_1
869 enable_api_ms_win_core_handle_l1_1_0
870 enable_api_ms_win_core_heap_l1_2_0
871 enable_api_ms_win_core_heap_obsolete_l1_1_0
872 enable_api_ms_win_core_interlocked_l1_2_0
873 enable_api_ms_win_core_io_l1_1_1
874 enable_api_ms_win_core_kernel32_legacy_l1_1_0
875 enable_api_ms_win_core_libraryloader_l1_1_1
876 enable_api_ms_win_core_localization_l1_2_0
877 enable_api_ms_win_core_localization_l1_2_1
878 enable_api_ms_win_core_localization_obsolete_l1_1_0
879 enable_api_ms_win_core_localregistry_l1_1_0
880 enable_api_ms_win_core_memory_l1_1_1
881 enable_api_ms_win_core_namedpipe_l1_2_0
882 enable_api_ms_win_core_processenvironment_l1_2_0
883 enable_api_ms_win_core_processthreads_l1_1_0
884 enable_api_ms_win_core_processthreads_l1_1_1
885 enable_api_ms_win_core_processthreads_l1_1_2
886 enable_api_ms_win_core_profile_l1_1_0
887 enable_api_ms_win_core_psapi_l1_1_0
888 enable_api_ms_win_core_registry_l1_1_0
889 enable_api_ms_win_core_rtlsupport_l1_2_0
890 enable_api_ms_win_core_shlwapi_legacy_l1_1_0
891 enable_api_ms_win_core_string_l1_1_0
892 enable_api_ms_win_core_synch_l1_2_0
893 enable_api_ms_win_core_sysinfo_l1_2_0
894 enable_api_ms_win_core_sysinfo_l1_2_1
895 enable_api_ms_win_core_threadpool_legacy_l1_1_0
896 enable_api_ms_win_core_timezone_l1_1_0
897 enable_api_ms_win_core_url_l1_1_0
898 enable_api_ms_win_core_util_l1_1_0
899 enable_api_ms_win_core_winrt_error_l1_1_0
900 enable_api_ms_win_core_winrt_error_l1_1_1
901 enable_api_ms_win_core_winrt_l1_1_0
902 enable_api_ms_win_core_winrt_string_l1_1_0
903 enable_api_ms_win_core_xstate_l2_1_0
904 enable_api_ms_win_downlevel_advapi32_l1_1_0
905 enable_api_ms_win_downlevel_advapi32_l2_1_0
906 enable_api_ms_win_downlevel_normaliz_l1_1_0
907 enable_api_ms_win_downlevel_ole32_l1_1_0
908 enable_api_ms_win_downlevel_shell32_l1_1_0
909 enable_api_ms_win_downlevel_shlwapi_l1_1_0
910 enable_api_ms_win_downlevel_shlwapi_l2_1_0
911 enable_api_ms_win_downlevel_user32_l1_1_0
912 enable_api_ms_win_downlevel_version_l1_1_0
913 enable_api_ms_win_eventing_provider_l1_1_0
914 enable_api_ms_win_ntuser_dc_access_l1_1_0
915 enable_api_ms_win_security_base_l1_1_0
916 enable_api_ms_win_security_base_l1_2_0
917 enable_api_ms_win_security_sddl_l1_1_0
918 enable_api_ms_win_service_core_l1_1_1
919 enable_api_ms_win_service_management_l1_1_0
920 enable_api_ms_win_service_winsvc_l1_2_0
963 enable_d3dcompiler_33
964 enable_d3dcompiler_34
965 enable_d3dcompiler_35
966 enable_d3dcompiler_36
967 enable_d3dcompiler_37
968 enable_d3dcompiler_38
969 enable_d3dcompiler_39
970 enable_d3dcompiler_40
971 enable_d3dcompiler_41
972 enable_d3dcompiler_42
973 enable_d3dcompiler_43
1049 enable_explorerframe
1050 enable_ext_ms_win_gdi_devcaps_l1_1_0
1205 enable_photometadatahandler
1287 enable_windowscodecs
1288 enable_windowscodecsext
1290 enable_winecoreaudio_drv
1292 enable_winegstreamer
1293 enable_winejoystick_drv
1299 enable_wineqtdecoder
1346 enable_documentation
1354 enable_aspnet_regiis
1387 enable_presentationfontcache
1400 enable_servicemodelreg
1421 enable_winemenubuilder
1423 enable_winemsibuilder
1437 ac_precious_vars
='build_alias
1486 # Initialize some variables set by options.
1488 ac_init_version
=false
1489 ac_unrecognized_opts
=
1490 ac_unrecognized_sep
=
1491 # The variables have the same names as the options, with
1492 # dashes changed to underlines.
1493 cache_file
=/dev
/null
1500 program_transform_name
=s
,x
,x
,
1508 # Installation directory options.
1509 # These are left unexpanded so users can "make install exec_prefix=/foo"
1510 # and all the variables that are supposed to be based on exec_prefix
1511 # by default will actually change.
1512 # Use braces instead of parens because sh, perl, etc. also accept them.
1513 # (The list follows the same order as the GNU Coding Standards.)
1514 bindir
='${exec_prefix}/bin'
1515 sbindir
='${exec_prefix}/sbin'
1516 libexecdir
='${exec_prefix}/libexec'
1517 datarootdir
='${prefix}/share'
1518 datadir
='${datarootdir}'
1519 sysconfdir
='${prefix}/etc'
1520 sharedstatedir
='${prefix}/com'
1521 localstatedir
='${prefix}/var'
1522 includedir
='${prefix}/include'
1523 oldincludedir
='/usr/include'
1524 docdir
='${datarootdir}/doc/${PACKAGE_TARNAME}'
1525 infodir
='${datarootdir}/info'
1530 libdir
='${exec_prefix}/lib'
1531 localedir
='${datarootdir}/locale'
1532 mandir
='${datarootdir}/man'
1538 # If the previous option needs an argument, assign it.
1539 if test -n "$ac_prev"; then
1540 eval $ac_prev=\
$ac_option
1546 *=?
*) ac_optarg
=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
1551 # Accept the important Cygnus configure options, so we can diagnose typos.
1553 case $ac_dashdash$ac_option in
1557 -bindir |
--bindir |
--bindi |
--bind |
--bin |
--bi)
1559 -bindir=* |
--bindir=* |
--bindi=* |
--bind=* |
--bin=* |
--bi=*)
1560 bindir
=$ac_optarg ;;
1562 -build |
--build |
--buil |
--bui |
--bu)
1563 ac_prev
=build_alias
;;
1564 -build=* |
--build=* |
--buil=* |
--bui=* |
--bu=*)
1565 build_alias
=$ac_optarg ;;
1567 -cache-file |
--cache-file |
--cache-fil |
--cache-fi \
1568 |
--cache-f |
--cache- |
--cache |
--cach |
--cac |
--ca |
--c)
1569 ac_prev
=cache_file
;;
1570 -cache-file=* |
--cache-file=* |
--cache-fil=* |
--cache-fi=* \
1571 |
--cache-f=* |
--cache-=* |
--cache=* |
--cach=* |
--cac=* |
--ca=* |
--c=*)
1572 cache_file
=$ac_optarg ;;
1574 --config-cache |
-C)
1575 cache_file
=config.cache
;;
1577 -datadir |
--datadir |
--datadi |
--datad)
1579 -datadir=* |
--datadir=* |
--datadi=* |
--datad=*)
1580 datadir
=$ac_optarg ;;
1582 -datarootdir |
--datarootdir |
--datarootdi |
--datarootd |
--dataroot \
1583 |
--dataroo |
--dataro |
--datar)
1584 ac_prev
=datarootdir
;;
1585 -datarootdir=* |
--datarootdir=* |
--datarootdi=* |
--datarootd=* \
1586 |
--dataroot=* |
--dataroo=* |
--dataro=* |
--datar=*)
1587 datarootdir
=$ac_optarg ;;
1589 -disable-* |
--disable-*)
1590 ac_useropt
=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
1591 # Reject names that are not valid shell variable names.
1592 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
1593 as_fn_error $?
"invalid feature name: $ac_useropt"
1594 ac_useropt_orig
=$ac_useropt
1595 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1596 case $ac_user_opts in
1598 "enable_
$ac_useropt"
1600 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
1601 ac_unrecognized_sep
=', ';;
1603 eval enable_
$ac_useropt=no
;;
1605 -docdir |
--docdir |
--docdi |
--doc |
--do)
1607 -docdir=* |
--docdir=* |
--docdi=* |
--doc=* |
--do=*)
1608 docdir
=$ac_optarg ;;
1610 -dvidir |
--dvidir |
--dvidi |
--dvid |
--dvi |
--dv)
1612 -dvidir=* |
--dvidir=* |
--dvidi=* |
--dvid=* |
--dvi=* |
--dv=*)
1613 dvidir
=$ac_optarg ;;
1615 -enable-* |
--enable-*)
1616 ac_useropt
=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
1617 # Reject names that are not valid shell variable names.
1618 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
1619 as_fn_error $?
"invalid feature name: $ac_useropt"
1620 ac_useropt_orig
=$ac_useropt
1621 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1622 case $ac_user_opts in
1624 "enable_
$ac_useropt"
1626 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
1627 ac_unrecognized_sep
=', ';;
1629 eval enable_
$ac_useropt=\
$ac_optarg ;;
1631 -exec-prefix |
--exec_prefix |
--exec-prefix |
--exec-prefi \
1632 |
--exec-pref |
--exec-pre |
--exec-pr |
--exec-p |
--exec- \
1633 |
--exec |
--exe |
--ex)
1634 ac_prev
=exec_prefix
;;
1635 -exec-prefix=* |
--exec_prefix=* |
--exec-prefix=* |
--exec-prefi=* \
1636 |
--exec-pref=* |
--exec-pre=* |
--exec-pr=* |
--exec-p=* |
--exec-=* \
1637 |
--exec=* |
--exe=* |
--ex=*)
1638 exec_prefix
=$ac_optarg ;;
1640 -gas |
--gas |
--ga |
--g)
1641 # Obsolete; use --with-gas.
1644 -help |
--help |
--hel |
--he |
-h)
1645 ac_init_help
=long
;;
1646 -help=r
* |
--help=r
* |
--hel=r
* |
--he=r
* |
-hr*)
1647 ac_init_help
=recursive
;;
1648 -help=s
* |
--help=s
* |
--hel=s
* |
--he=s
* |
-hs*)
1649 ac_init_help
=short
;;
1651 -host |
--host |
--hos |
--ho)
1652 ac_prev
=host_alias
;;
1653 -host=* |
--host=* |
--hos=* |
--ho=*)
1654 host_alias
=$ac_optarg ;;
1656 -htmldir |
--htmldir |
--htmldi |
--htmld |
--html |
--htm |
--ht)
1658 -htmldir=* |
--htmldir=* |
--htmldi=* |
--htmld=* |
--html=* |
--htm=* \
1660 htmldir
=$ac_optarg ;;
1662 -includedir |
--includedir |
--includedi |
--included |
--include \
1663 |
--includ |
--inclu |
--incl |
--inc)
1664 ac_prev
=includedir
;;
1665 -includedir=* |
--includedir=* |
--includedi=* |
--included=* |
--include=* \
1666 |
--includ=* |
--inclu=* |
--incl=* |
--inc=*)
1667 includedir
=$ac_optarg ;;
1669 -infodir |
--infodir |
--infodi |
--infod |
--info |
--inf)
1671 -infodir=* |
--infodir=* |
--infodi=* |
--infod=* |
--info=* |
--inf=*)
1672 infodir
=$ac_optarg ;;
1674 -libdir |
--libdir |
--libdi |
--libd)
1676 -libdir=* |
--libdir=* |
--libdi=* |
--libd=*)
1677 libdir
=$ac_optarg ;;
1679 -libexecdir |
--libexecdir |
--libexecdi |
--libexecd |
--libexec \
1680 |
--libexe |
--libex |
--libe)
1681 ac_prev
=libexecdir
;;
1682 -libexecdir=* |
--libexecdir=* |
--libexecdi=* |
--libexecd=* |
--libexec=* \
1683 |
--libexe=* |
--libex=* |
--libe=*)
1684 libexecdir
=$ac_optarg ;;
1686 -localedir |
--localedir |
--localedi |
--localed |
--locale)
1687 ac_prev
=localedir
;;
1688 -localedir=* |
--localedir=* |
--localedi=* |
--localed=* |
--locale=*)
1689 localedir
=$ac_optarg ;;
1691 -localstatedir |
--localstatedir |
--localstatedi |
--localstated \
1692 |
--localstate |
--localstat |
--localsta |
--localst |
--locals)
1693 ac_prev
=localstatedir
;;
1694 -localstatedir=* |
--localstatedir=* |
--localstatedi=* |
--localstated=* \
1695 |
--localstate=* |
--localstat=* |
--localsta=* |
--localst=* |
--locals=*)
1696 localstatedir
=$ac_optarg ;;
1698 -mandir |
--mandir |
--mandi |
--mand |
--man |
--ma |
--m)
1700 -mandir=* |
--mandir=* |
--mandi=* |
--mand=* |
--man=* |
--ma=* |
--m=*)
1701 mandir
=$ac_optarg ;;
1703 -nfp |
--nfp |
--nf)
1704 # Obsolete; use --without-fp.
1707 -no-create |
--no-create |
--no-creat |
--no-crea |
--no-cre \
1708 |
--no-cr |
--no-c |
-n)
1711 -no-recursion |
--no-recursion |
--no-recursio |
--no-recursi \
1712 |
--no-recurs |
--no-recur |
--no-recu |
--no-rec |
--no-re |
--no-r)
1715 -oldincludedir |
--oldincludedir |
--oldincludedi |
--oldincluded \
1716 |
--oldinclude |
--oldinclud |
--oldinclu |
--oldincl |
--oldinc \
1717 |
--oldin |
--oldi |
--old |
--ol |
--o)
1718 ac_prev
=oldincludedir
;;
1719 -oldincludedir=* |
--oldincludedir=* |
--oldincludedi=* |
--oldincluded=* \
1720 |
--oldinclude=* |
--oldinclud=* |
--oldinclu=* |
--oldincl=* |
--oldinc=* \
1721 |
--oldin=* |
--oldi=* |
--old=* |
--ol=* |
--o=*)
1722 oldincludedir
=$ac_optarg ;;
1724 -prefix |
--prefix |
--prefi |
--pref |
--pre |
--pr |
--p)
1726 -prefix=* |
--prefix=* |
--prefi=* |
--pref=* |
--pre=* |
--pr=* |
--p=*)
1727 prefix
=$ac_optarg ;;
1729 -program-prefix |
--program-prefix |
--program-prefi |
--program-pref \
1730 |
--program-pre |
--program-pr |
--program-p)
1731 ac_prev
=program_prefix
;;
1732 -program-prefix=* |
--program-prefix=* |
--program-prefi=* \
1733 |
--program-pref=* |
--program-pre=* |
--program-pr=* |
--program-p=*)
1734 program_prefix
=$ac_optarg ;;
1736 -program-suffix |
--program-suffix |
--program-suffi |
--program-suff \
1737 |
--program-suf |
--program-su |
--program-s)
1738 ac_prev
=program_suffix
;;
1739 -program-suffix=* |
--program-suffix=* |
--program-suffi=* \
1740 |
--program-suff=* |
--program-suf=* |
--program-su=* |
--program-s=*)
1741 program_suffix
=$ac_optarg ;;
1743 -program-transform-name |
--program-transform-name \
1744 |
--program-transform-nam |
--program-transform-na \
1745 |
--program-transform-n |
--program-transform- \
1746 |
--program-transform |
--program-transfor \
1747 |
--program-transfo |
--program-transf \
1748 |
--program-trans |
--program-tran \
1749 |
--progr-tra |
--program-tr |
--program-t)
1750 ac_prev
=program_transform_name
;;
1751 -program-transform-name=* |
--program-transform-name=* \
1752 |
--program-transform-nam=* |
--program-transform-na=* \
1753 |
--program-transform-n=* |
--program-transform-=* \
1754 |
--program-transform=* |
--program-transfor=* \
1755 |
--program-transfo=* |
--program-transf=* \
1756 |
--program-trans=* |
--program-tran=* \
1757 |
--progr-tra=* |
--program-tr=* |
--program-t=*)
1758 program_transform_name
=$ac_optarg ;;
1760 -pdfdir |
--pdfdir |
--pdfdi |
--pdfd |
--pdf |
--pd)
1762 -pdfdir=* |
--pdfdir=* |
--pdfdi=* |
--pdfd=* |
--pdf=* |
--pd=*)
1763 pdfdir
=$ac_optarg ;;
1765 -psdir |
--psdir |
--psdi |
--psd |
--ps)
1767 -psdir=* |
--psdir=* |
--psdi=* |
--psd=* |
--ps=*)
1770 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
1771 |
-silent |
--silent |
--silen |
--sile |
--sil)
1774 -sbindir |
--sbindir |
--sbindi |
--sbind |
--sbin |
--sbi |
--sb)
1776 -sbindir=* |
--sbindir=* |
--sbindi=* |
--sbind=* |
--sbin=* \
1778 sbindir
=$ac_optarg ;;
1780 -sharedstatedir |
--sharedstatedir |
--sharedstatedi \
1781 |
--sharedstated |
--sharedstate |
--sharedstat |
--sharedsta \
1782 |
--sharedst |
--shareds |
--shared |
--share |
--shar \
1784 ac_prev
=sharedstatedir
;;
1785 -sharedstatedir=* |
--sharedstatedir=* |
--sharedstatedi=* \
1786 |
--sharedstated=* |
--sharedstate=* |
--sharedstat=* |
--sharedsta=* \
1787 |
--sharedst=* |
--shareds=* |
--shared=* |
--share=* |
--shar=* \
1789 sharedstatedir
=$ac_optarg ;;
1791 -site |
--site |
--sit)
1793 -site=* |
--site=* |
--sit=*)
1796 -srcdir |
--srcdir |
--srcdi |
--srcd |
--src |
--sr)
1798 -srcdir=* |
--srcdir=* |
--srcdi=* |
--srcd=* |
--src=* |
--sr=*)
1799 srcdir
=$ac_optarg ;;
1801 -sysconfdir |
--sysconfdir |
--sysconfdi |
--sysconfd |
--sysconf \
1802 |
--syscon |
--sysco |
--sysc |
--sys |
--sy)
1803 ac_prev
=sysconfdir
;;
1804 -sysconfdir=* |
--sysconfdir=* |
--sysconfdi=* |
--sysconfd=* |
--sysconf=* \
1805 |
--syscon=* |
--sysco=* |
--sysc=* |
--sys=* |
--sy=*)
1806 sysconfdir
=$ac_optarg ;;
1808 -target |
--target |
--targe |
--targ |
--tar |
--ta |
--t)
1809 ac_prev
=target_alias
;;
1810 -target=* |
--target=* |
--targe=* |
--targ=* |
--tar=* |
--ta=* |
--t=*)
1811 target_alias
=$ac_optarg ;;
1813 -v |
-verbose |
--verbose |
--verbos |
--verbo |
--verb)
1816 -version |
--version |
--versio |
--versi |
--vers |
-V)
1817 ac_init_version
=: ;;
1820 ac_useropt
=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1821 # Reject names that are not valid shell variable names.
1822 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
1823 as_fn_error $?
"invalid package name: $ac_useropt"
1824 ac_useropt_orig
=$ac_useropt
1825 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1826 case $ac_user_opts in
1830 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
1831 ac_unrecognized_sep
=', ';;
1833 eval with_
$ac_useropt=\
$ac_optarg ;;
1835 -without-* |
--without-*)
1836 ac_useropt
=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1837 # Reject names that are not valid shell variable names.
1838 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
1839 as_fn_error $?
"invalid package name: $ac_useropt"
1840 ac_useropt_orig
=$ac_useropt
1841 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1842 case $ac_user_opts in
1846 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
1847 ac_unrecognized_sep
=', ';;
1849 eval with_
$ac_useropt=no
;;
1852 # Obsolete; use --with-x.
1855 -x-includes |
--x-includes |
--x-include |
--x-includ |
--x-inclu \
1856 |
--x-incl |
--x-inc |
--x-in |
--x-i)
1857 ac_prev
=x_includes
;;
1858 -x-includes=* |
--x-includes=* |
--x-include=* |
--x-includ=* |
--x-inclu=* \
1859 |
--x-incl=* |
--x-inc=* |
--x-in=* |
--x-i=*)
1860 x_includes
=$ac_optarg ;;
1862 -x-libraries |
--x-libraries |
--x-librarie |
--x-librari \
1863 |
--x-librar |
--x-libra |
--x-libr |
--x-lib |
--x-li |
--x-l)
1864 ac_prev
=x_libraries
;;
1865 -x-libraries=* |
--x-libraries=* |
--x-librarie=* |
--x-librari=* \
1866 |
--x-librar=* |
--x-libra=* |
--x-libr=* |
--x-lib=* |
--x-li=* |
--x-l=*)
1867 x_libraries
=$ac_optarg ;;
1869 -*) as_fn_error $?
"unrecognized option: \`$ac_option'
1870 Try \`$0 --help' for more information"
1874 ac_envvar
=`expr "x$ac_option" : 'x\([^=]*\)='`
1875 # Reject names that are not valid shell variable names.
1876 case $ac_envvar in #(
1877 '' |
[0-9]* |
*[!_
$as_cr_alnum]* )
1878 as_fn_error $?
"invalid variable name: \`$ac_envvar'" ;;
1880 eval $ac_envvar=\
$ac_optarg
1881 export $ac_envvar ;;
1884 # FIXME: should be removed in autoconf 3.0.
1885 $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1886 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev
/null
&&
1887 $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1888 : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}"
1894 if test -n "$ac_prev"; then
1895 ac_option
=--`echo $ac_prev | sed 's/_/-/g'`
1896 as_fn_error $?
"missing argument to $ac_option"
1899 if test -n "$ac_unrecognized_opts"; then
1900 case $enable_option_checking in
1902 fatal
) as_fn_error $?
"unrecognized options: $ac_unrecognized_opts" ;;
1903 *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
1907 # Check all directory arguments for consistency.
1908 for ac_var
in exec_prefix prefix bindir sbindir libexecdir datarootdir \
1909 datadir sysconfdir sharedstatedir localstatedir includedir \
1910 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1911 libdir localedir mandir
1913 eval ac_val
=\$
$ac_var
1914 # Remove trailing slashes.
1917 ac_val
=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
1918 eval $ac_var=\
$ac_val;;
1920 # Be sure to have absolute directory names.
1922 [\\/$
]* | ?
:[\\/]* ) continue;;
1923 NONE |
'' ) case $ac_var in *prefix
) continue;; esac;;
1925 as_fn_error $?
"expected an absolute directory name for --$ac_var: $ac_val"
1928 # There might be people who depend on the old broken behavior: `$host'
1929 # used to hold the argument of --host etc.
1930 # FIXME: To remove some day.
1933 target
=$target_alias
1935 # FIXME: To remove some day.
1936 if test "x$host_alias" != x
; then
1937 if test "x$build_alias" = x
; then
1938 cross_compiling
=maybe
1939 elif test "x$build_alias" != "x$host_alias"; then
1945 test -n "$host_alias" && ac_tool_prefix
=$host_alias-
1947 test "$silent" = yes && exec 6>/dev
/null
1950 ac_pwd
=`pwd` && test -n "$ac_pwd" &&
1951 ac_ls_di
=`ls -di .` &&
1952 ac_pwd_ls_di
=`cd "$ac_pwd" && ls -di .` ||
1953 as_fn_error $?
"working directory cannot be determined"
1954 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1955 as_fn_error $?
"pwd does not report name of working directory"
1958 # Find the source files, if location was not specified.
1959 if test -z "$srcdir"; then
1960 ac_srcdir_defaulted
=yes
1961 # Try the directory containing this script, then the parent directory.
1962 ac_confdir
=`$as_dirname -- "$as_myself" ||
1963 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1964 X"$as_myself" : 'X\(//\)[^/]' \| \
1965 X"$as_myself" : 'X\(//\)$' \| \
1966 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
1967 $as_echo X"$as_myself" |
1968 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1986 if test ! -r "$srcdir/$ac_unique_file"; then
1990 ac_srcdir_defaulted
=no
1992 if test ! -r "$srcdir/$ac_unique_file"; then
1993 test "$ac_srcdir_defaulted" = yes && srcdir
="$ac_confdir or .."
1994 as_fn_error $?
"cannot find sources ($ac_unique_file) in $srcdir"
1996 ac_msg
="sources are in $srcdir, but \`cd $srcdir' does not work"
1998 cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
2000 # When building in place, set srcdir=.
2001 if test "$ac_abs_confdir" = "$ac_pwd"; then
2004 # Remove unnecessary trailing slashes from srcdir.
2005 # Double slashes in file names in object file debugging info
2006 # mess up M-x gdb in Emacs.
2008 */) srcdir
=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
2010 for ac_var
in $ac_precious_vars; do
2011 eval ac_env_
${ac_var}_set=\${${ac_var}+set}
2012 eval ac_env_
${ac_var}_value
=\$
${ac_var}
2013 eval ac_cv_env_
${ac_var}_set=\${${ac_var}+set}
2014 eval ac_cv_env_
${ac_var}_value
=\$
${ac_var}
2018 # Report the --help message.
2020 if test "$ac_init_help" = "long"; then
2021 # Omit some internal or obsolete options to make the list less imposing.
2022 # This message is too long to be a string in the A/UX 3.1 sh.
2024 \`configure' configures Wine 1.7.37 to adapt to many kinds of systems.
2026 Usage: $0 [OPTION]... [VAR=VALUE]...
2028 To assign environment variables (e.g., CC, CFLAGS...), specify them as
2029 VAR=VALUE. See below for descriptions of some of the useful variables.
2031 Defaults for the options are specified in brackets.
2034 -h, --help display this help and exit
2035 --help=short display options specific to this package
2036 --help=recursive display the short help of all the included packages
2037 -V, --version display version information and exit
2038 -q, --quiet, --silent do not print \`checking ...' messages
2039 --cache-file=FILE cache test results in FILE [disabled]
2040 -C, --config-cache alias for \`--cache-file=config.cache'
2041 -n, --no-create do not create output files
2042 --srcdir=DIR find the sources in DIR [configure dir or \`..']
2044 Installation directories:
2045 --prefix=PREFIX install architecture-independent files in PREFIX
2046 [$ac_default_prefix]
2047 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
2050 By default, \`make install' will install all the files in
2051 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
2052 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
2053 for instance \`--prefix=\$HOME'.
2055 For better control, use the options below.
2057 Fine tuning of the installation directories:
2058 --bindir=DIR user executables [EPREFIX/bin]
2059 --sbindir=DIR system admin executables [EPREFIX/sbin]
2060 --libexecdir=DIR program executables [EPREFIX/libexec]
2061 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
2062 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
2063 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
2064 --libdir=DIR object code libraries [EPREFIX/lib]
2065 --includedir=DIR C header files [PREFIX/include]
2066 --oldincludedir=DIR C header files for non-gcc [/usr/include]
2067 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
2068 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
2069 --infodir=DIR info documentation [DATAROOTDIR/info]
2070 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
2071 --mandir=DIR man documentation [DATAROOTDIR/man]
2072 --docdir=DIR documentation root [DATAROOTDIR/doc/wine]
2073 --htmldir=DIR html documentation [DOCDIR]
2074 --dvidir=DIR dvi documentation [DOCDIR]
2075 --pdfdir=DIR pdf documentation [DOCDIR]
2076 --psdir=DIR ps documentation [DOCDIR]
2082 --x-includes=DIR X include files are
in DIR
2083 --x-libraries=DIR X library files are
in DIR
2086 --build=BUILD configure
for building on BUILD
[guessed
]
2087 --host=HOST cross-compile to build programs to run on HOST
[BUILD
]
2091 if test -n "$ac_init_help"; then
2092 case $ac_init_help in
2093 short | recursive
) echo "Configuration of Wine 1.7.37:";;
2098 --disable-option-checking ignore unrecognized
--enable/--with options
2099 --disable-FEATURE do not include FEATURE
(same as
--enable-FEATURE=no
)
2100 --enable-FEATURE[=ARG
] include FEATURE
[ARG
=yes]
2101 --disable-win16 do not include Win16 support
2102 --enable-win64 build a Win64 emulator on AMD64
(won
't run Win32
2104 --disable-tests do not build the regression tests
2105 --enable-maintainer-mode
2106 enable maintainer-specific build rules
2107 --disable-largefile omit support for large files
2110 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
2111 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
2112 --without-alsa do not use the Alsa sound support
2113 --without-capi do not use CAPI (ISDN support)
2114 --without-cms do not use CMS (color management support)
2115 --without-coreaudio do not use the CoreAudio sound support
2116 --without-cups do not use CUPS
2117 --without-curses do not use (n)curses
2118 --without-dbus do not use DBus (dynamic device support)
2119 --without-fontconfig do not use fontconfig
2120 --without-freetype do not use the FreeType library
2121 --without-gettext do not use gettext
2122 --with-gettextpo use the GetTextPO library to rebuild po files
2123 --without-gphoto do not use gphoto (Digital Camera support)
2124 --without-glu do not use the GLU library
2125 --without-gnutls do not use GnuTLS (schannel support)
2126 --without-gsm do not use libgsm (GSM 06.10 codec support)
2127 --without-gstreamer do not use GStreamer (codecs support)
2128 --without-hal do not use HAL (dynamic device support)
2129 --without-jpeg do not use JPEG
2130 --without-ldap do not use LDAP
2131 --without-mpg123 do not use the mpg123 library
2132 --without-netapi do not use the Samba NetAPI library
2133 --without-openal do not use OpenAL
2134 --without-opencl do not use OpenCL
2135 --without-opengl do not use OpenGL
2136 --without-osmesa do not use the OSMesa library
2137 --without-oss do not use the OSS sound support
2138 --without-pcap do not use the Packet Capture library
2139 --without-png do not use PNG
2140 --without-pthread do not use the pthread library
2141 --without-sane do not use SANE (scanner support)
2142 --without-tiff do not use TIFF
2143 --without-v4l do not use v4l1 (v4l support)
2144 --without-xcomposite do not use the Xcomposite extension
2145 --without-xcursor do not use the Xcursor extension
2146 --without-xinerama do not use Xinerama (multi-monitor support)
2147 --without-xinput do not use the Xinput extension
2148 --without-xinput2 do not use the Xinput 2 extension
2149 --without-xml do not use XML
2150 --without-xrandr do not use Xrandr (resolution changes)
2151 --without-xrender do not use the Xrender extension
2152 --without-xshape do not use the Xshape extension
2153 --without-xshm do not use XShm (shared memory extension)
2154 --without-xslt do not use XSLT
2155 --without-xxf86vm do not use XFree video mode extension
2156 --without-zlib do not use Zlib (data compression)
2157 --with-wine-tools=DIR use Wine tools from directory DIR
2158 --with-wine64=DIR use the 64-bit Wine in DIR for a Wow64 build
2159 --with-x use the X Window System
2161 Some influential environment variables:
2162 CC C compiler command
2163 CFLAGS C compiler flags
2164 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
2165 nonstandard directory <lib dir>
2166 LIBS libraries to pass to the linker, e.g. -l<library>
2167 CPPFLAGS (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if
2168 you have headers in a nonstandard directory <include dir>
2169 CXX C++ compiler command
2170 CXXFLAGS C++ compiler flags
2172 XMKMF Path to xmkmf, Makefile generator for X Window System
2173 XML2_CFLAGS C compiler flags for libxml-2.0, overriding pkg-config
2174 XML2_LIBS Linker flags for libxml-2.0, overriding pkg-config
2175 XSLT_CFLAGS C compiler flags for libxslt, overriding pkg-config
2176 XSLT_LIBS Linker flags for libxslt, overriding pkg-config
2177 DBUS_CFLAGS C compiler flags for dbus-1, overriding pkg-config
2178 DBUS_LIBS Linker flags for dbus-1, overriding pkg-config
2179 HAL_CFLAGS C compiler flags for hal, overriding pkg-config
2180 HAL_LIBS Linker flags for hal, overriding pkg-config
2182 C compiler flags for gnutls, overriding pkg-config
2183 GNUTLS_LIBS Linker flags for gnutls, overriding pkg-config
2184 SANE_CFLAGS C compiler flags for libsane, overriding pkg-config
2185 SANE_LIBS Linker flags for libsane, overriding pkg-config
2187 C compiler flags for libgphoto2, overriding pkg-config
2189 Linker flags for libgphoto2, overriding pkg-config
2191 C compiler flags for libgphoto2_port, overriding pkg-config
2193 Linker flags for libgphoto2_port, overriding pkg-config
2195 C compiler flags for lcms2, overriding pkg-config
2196 LCMS2_LIBS Linker flags for lcms2, overriding pkg-config
2198 C compiler flags for freetype2, overriding pkg-config
2200 Linker flags for freetype2, overriding pkg-config
2202 C compiler flags for gstreamer-app-0.10, overriding pkg-config
2204 Linker flags for gstreamer-app-0.10, overriding pkg-config
2206 C compiler flags for capi20, overriding pkg-config
2207 CAPI20_LIBS Linker flags for capi20, overriding pkg-config
2209 C compiler flags for fontconfig, overriding pkg-config
2211 Linker flags for fontconfig, overriding pkg-config
2212 JPEG_CFLAGS C compiler flags for libjpeg, overriding pkg-config
2213 JPEG_LIBS Linker flags for libjpeg, overriding pkg-config
2214 PNG_CFLAGS C compiler flags for libpng, overriding pkg-config
2215 PNG_LIBS Linker flags for libpng, overriding pkg-config
2216 TIFF_CFLAGS C compiler flags for libtiff, overriding pkg-config
2217 TIFF_LIBS Linker flags for libtiff, overriding pkg-config
2219 C compiler flags for libmpg123, overriding pkg-config
2220 MPG123_LIBS Linker flags for libmpg123, overriding pkg-config
2222 Use these variables to override the choices made by `configure' or to
help
2223 it to
find libraries and programs with nonstandard names
/locations.
2225 Report bugs to
<wine-devel@winehq.org
>.
2226 Wine home page
: <http
://www.winehq.org
>.
2231 if test "$ac_init_help" = "recursive"; then
2232 # If there are subdirs, report their specific --help.
2233 for ac_dir
in : $ac_subdirs_all; do test "x$ac_dir" = x
: && continue
2234 test -d "$ac_dir" ||
2235 { cd "$srcdir" && ac_pwd
=`pwd` && srcdir
=.
&& test -d "$ac_dir"; } ||
2240 .
) ac_dir_suffix
= ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
2242 ac_dir_suffix
=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
2243 # A ".." for each directory in $ac_dir_suffix.
2244 ac_top_builddir_sub
=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
2245 case $ac_top_builddir_sub in
2246 "") ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
2247 *) ac_top_build_prefix
=$ac_top_builddir_sub/ ;;
2250 ac_abs_top_builddir
=$ac_pwd
2251 ac_abs_builddir
=$ac_pwd$ac_dir_suffix
2252 # for backward compatibility:
2253 ac_top_builddir
=$ac_top_build_prefix
2256 .
) # We are building in place.
2258 ac_top_srcdir
=$ac_top_builddir_sub
2259 ac_abs_top_srcdir
=$ac_pwd ;;
2260 [\\/]* | ?
:[\\/]* ) # Absolute name.
2261 ac_srcdir
=$srcdir$ac_dir_suffix;
2262 ac_top_srcdir
=$srcdir
2263 ac_abs_top_srcdir
=$srcdir ;;
2265 ac_srcdir
=$ac_top_build_prefix$srcdir$ac_dir_suffix
2266 ac_top_srcdir
=$ac_top_build_prefix$srcdir
2267 ac_abs_top_srcdir
=$ac_pwd/$srcdir ;;
2269 ac_abs_srcdir
=$ac_abs_top_srcdir$ac_dir_suffix
2271 cd "$ac_dir" ||
{ ac_status
=$?
; continue; }
2272 # Check for guested configure.
2273 if test -f "$ac_srcdir/configure.gnu"; then
2275 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
2276 elif test -f "$ac_srcdir/configure"; then
2278 $SHELL "$ac_srcdir/configure" --help=recursive
2280 $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
2282 cd "$ac_pwd" ||
{ ac_status
=$?
; break; }
2286 test -n "$ac_init_help" && exit $ac_status
2287 if $ac_init_version; then
2289 Wine configure
1.7.37
2290 generated by GNU Autoconf
2.69
2292 Copyright
(C
) 2012 Free Software Foundation
, Inc.
2293 This configure
script is free software
; the Free Software Foundation
2294 gives unlimited permission to copy
, distribute and modify it.
2299 ## ------------------------ ##
2300 ## Autoconf initialization. ##
2301 ## ------------------------ ##
2303 # ac_fn_c_try_compile LINENO
2304 # --------------------------
2305 # Try to compile conftest.$ac_ext, and return whether this succeeded.
2306 ac_fn_c_try_compile
()
2308 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
2309 rm -f conftest.
$ac_objext
2310 if { { ac_try
="$ac_compile"
2312 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
2313 *) ac_try_echo=$ac_try;;
2315 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2316 $as_echo "$ac_try_echo"; } >&5
2317 (eval "$ac_compile") 2>conftest.err
2319 if test -s conftest.err; then
2320 grep -v '^ *+' conftest.err >conftest.er1
2321 cat conftest.er1 >&5
2322 mv -f conftest.er1 conftest.err
2324 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2325 test $ac_status = 0; } && {
2326 test -z "$ac_c_werror_flag" ||
2327 test ! -s conftest.err
2328 } && test -s conftest.$ac_objext; then :
2331 $as_echo "$as_me: failed program was:" >&5
2332 sed 's/^/| /' conftest.$ac_ext >&5
2336 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2337 as_fn_set_status $ac_retval
2339 } # ac_fn_c_try_compile
2341 # ac_fn_cxx_try_compile LINENO
2342 # ----------------------------
2343 # Try to compile conftest.$ac_ext, and return whether this succeeded.
2344 ac_fn_cxx_try_compile ()
2346 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2347 rm -f conftest.$ac_objext
2348 if { { ac_try="$ac_compile"
2350 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
2351 *) ac_try_echo
=$ac_try;;
2353 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2354 $as_echo "$ac_try_echo"; } >&5
2355 (eval "$ac_compile") 2>conftest.err
2357 if test -s conftest.err
; then
2358 grep -v '^ *+' conftest.err
>conftest.er1
2359 cat conftest.er1
>&5
2360 mv -f conftest.er1 conftest.err
2362 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2363 test $ac_status = 0; } && {
2364 test -z "$ac_cxx_werror_flag" ||
2365 test ! -s conftest.err
2366 } && test -s conftest.
$ac_objext; then :
2369 $as_echo "$as_me: failed program was:" >&5
2370 sed 's/^/| /' conftest.
$ac_ext >&5
2374 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2375 as_fn_set_status
$ac_retval
2377 } # ac_fn_cxx_try_compile
2379 # ac_fn_c_try_link LINENO
2380 # -----------------------
2381 # Try to link conftest.$ac_ext, and return whether this succeeded.
2384 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
2385 rm -f conftest.
$ac_objext conftest
$ac_exeext
2386 if { { ac_try
="$ac_link"
2388 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
2389 *) ac_try_echo=$ac_try;;
2391 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2392 $as_echo "$ac_try_echo"; } >&5
2393 (eval "$ac_link") 2>conftest.err
2395 if test -s conftest.err; then
2396 grep -v '^ *+' conftest.err >conftest.er1
2397 cat conftest.er1 >&5
2398 mv -f conftest.er1 conftest.err
2400 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2401 test $ac_status = 0; } && {
2402 test -z "$ac_c_werror_flag" ||
2403 test ! -s conftest.err
2404 } && test -s conftest$ac_exeext && {
2405 test "$cross_compiling" = yes ||
2406 test -x conftest$ac_exeext
2410 $as_echo "$as_me: failed program was:" >&5
2411 sed 's/^/| /' conftest.$ac_ext >&5
2415 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
2416 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
2417 # interfere with the next link command; also delete a directory that is
2418 # left behind by Apple's compiler. We do this before executing the actions.
2419 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
2420 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2421 as_fn_set_status $ac_retval
2423 } # ac_fn_c_try_link
2425 # ac_fn_c_try_cpp LINENO
2426 # ----------------------
2427 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
2430 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2431 if { { ac_try="$ac_cpp conftest.$ac_ext"
2433 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
2434 *) ac_try_echo
=$ac_try;;
2436 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2437 $as_echo "$ac_try_echo"; } >&5
2438 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
2440 if test -s conftest.err
; then
2441 grep -v '^ *+' conftest.err
>conftest.er1
2442 cat conftest.er1
>&5
2443 mv -f conftest.er1 conftest.err
2445 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2446 test $ac_status = 0; } > conftest.i
&& {
2447 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
2448 test ! -s conftest.err
2452 $as_echo "$as_me: failed program was:" >&5
2453 sed 's/^/| /' conftest.
$ac_ext >&5
2457 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2458 as_fn_set_status
$ac_retval
2462 # ac_fn_c_check_header_mongrel LINENO HEADER VAR INCLUDES
2463 # -------------------------------------------------------
2464 # Tests whether HEADER exists, giving a warning if it cannot be compiled using
2465 # the include files in INCLUDES and setting the cache variable VAR
2467 ac_fn_c_check_header_mongrel
()
2469 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
2470 if eval \
${$3+:} false
; then :
2471 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2472 $as_echo_n "checking for $2... " >&6; }
2473 if eval \
${$3+:} false
; then :
2474 $as_echo_n "(cached) " >&6
2477 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2478 $as_echo "$ac_res" >&6; }
2480 # Is the header compilable?
2481 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
2482 $as_echo_n "checking $2 usability... " >&6; }
2483 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
2484 /* end confdefs.h. */
2488 if ac_fn_c_try_compile
"$LINENO"; then :
2489 ac_header_compiler
=yes
2491 ac_header_compiler
=no
2493 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
2494 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
2495 $as_echo "$ac_header_compiler" >&6; }
2497 # Is the header present?
2498 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
2499 $as_echo_n "checking $2 presence... " >&6; }
2500 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
2501 /* end confdefs.h. */
2504 if ac_fn_c_try_cpp
"$LINENO"; then :
2505 ac_header_preproc
=yes
2507 ac_header_preproc
=no
2509 rm -f conftest.err conftest.i conftest.
$ac_ext
2510 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
2511 $as_echo "$ac_header_preproc" >&6; }
2513 # So? What about this header?
2514 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in #((
2516 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
2517 $as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
2518 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
2519 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
2522 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
2523 $as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
2524 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: check for missing prerequisite headers?" >&5
2525 $as_echo "$as_me: WARNING: $2: check for missing prerequisite headers?" >&2;}
2526 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
2527 $as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
2528 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&5
2529 $as_echo "$as_me: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&2;}
2530 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
2531 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
2532 ( $as_echo "## ------------------------------------ ##
2533 ## Report this to wine-devel@winehq.org ##
2534 ## ------------------------------------ ##"
2535 ) |
sed "s/^/$as_me: WARNING: /" >&2
2538 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2539 $as_echo_n "checking for $2... " >&6; }
2540 if eval \
${$3+:} false
; then :
2541 $as_echo_n "(cached) " >&6
2543 eval "$3=\$ac_header_compiler"
2546 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2547 $as_echo "$ac_res" >&6; }
2549 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2551 } # ac_fn_c_check_header_mongrel
2553 # ac_fn_c_try_run LINENO
2554 # ----------------------
2555 # Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
2556 # that executables *can* be run.
2559 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
2560 if { { ac_try
="$ac_link"
2562 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
2563 *) ac_try_echo=$ac_try;;
2565 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2566 $as_echo "$ac_try_echo"; } >&5
2567 (eval "$ac_link") 2>&5
2569 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2570 test $ac_status = 0; } && { ac_try='./conftest$ac_exeext'
2571 { { case "(($ac_try" in
2572 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
2573 *) ac_try_echo
=$ac_try;;
2575 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2576 $as_echo "$ac_try_echo"; } >&5
2577 (eval "$ac_try") 2>&5
2579 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2580 test $ac_status = 0; }; }; then :
2583 $as_echo "$as_me: program exited with status $ac_status" >&5
2584 $as_echo "$as_me: failed program was:" >&5
2585 sed 's/^/| /' conftest.
$ac_ext >&5
2587 ac_retval
=$ac_status
2589 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
2590 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2591 as_fn_set_status
$ac_retval
2595 # ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
2596 # -------------------------------------------------------
2597 # Tests whether HEADER exists and can be compiled using the include files in
2598 # INCLUDES, setting the cache variable VAR accordingly.
2599 ac_fn_c_check_header_compile
()
2601 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
2602 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2603 $as_echo_n "checking for $2... " >&6; }
2604 if eval \
${$3+:} false
; then :
2605 $as_echo_n "(cached) " >&6
2607 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
2608 /* end confdefs.h. */
2612 if ac_fn_c_try_compile
"$LINENO"; then :
2617 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
2620 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2621 $as_echo "$ac_res" >&6; }
2622 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2624 } # ac_fn_c_check_header_compile
2626 # ac_fn_c_check_func LINENO FUNC VAR
2627 # ----------------------------------
2628 # Tests whether FUNC exists, setting the cache variable VAR accordingly
2629 ac_fn_c_check_func
()
2631 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
2632 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2633 $as_echo_n "checking for $2... " >&6; }
2634 if eval \
${$3+:} false
; then :
2635 $as_echo_n "(cached) " >&6
2637 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
2638 /* end confdefs.h. */
2639 /* Define $2 to an innocuous variant, in case <limits.h> declares $2.
2640 For example, HP-UX 11i <limits.h> declares gettimeofday. */
2641 #define $2 innocuous_$2
2643 /* System header to define __stub macros and hopefully few prototypes,
2644 which can conflict with char $2 (); below.
2645 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
2646 <limits.h> exists even on freestanding compilers. */
2649 # include <limits.h>
2651 # include <assert.h>
2656 /* Override any GCC internal prototype to avoid an error.
2657 Use char because int might match the return type of a GCC
2658 builtin and then its argument prototype would still apply. */
2663 /* The GNU C library defines this for functions which it implements
2664 to always fail with ENOSYS. Some functions are actually named
2665 something starting with __ and the normal name is an alias. */
2666 #if defined __stub_$2 || defined __stub___$2
2678 if ac_fn_c_try_link
"$LINENO"; then :
2683 rm -f core conftest.err conftest.
$ac_objext \
2684 conftest
$ac_exeext conftest.
$ac_ext
2687 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2688 $as_echo "$ac_res" >&6; }
2689 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2691 } # ac_fn_c_check_func
2693 # ac_fn_c_check_member LINENO AGGR MEMBER VAR INCLUDES
2694 # ----------------------------------------------------
2695 # Tries to find if the field MEMBER exists in type AGGR, after including
2696 # INCLUDES, setting cache variable VAR accordingly.
2697 ac_fn_c_check_member
()
2699 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
2700 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2.$3" >&5
2701 $as_echo_n "checking for $2.$3... " >&6; }
2702 if eval \
${$4+:} false
; then :
2703 $as_echo_n "(cached) " >&6
2705 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
2706 /* end confdefs.h. */
2718 if ac_fn_c_try_compile
"$LINENO"; then :
2721 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
2722 /* end confdefs.h. */
2728 if (sizeof ac_aggr.$3)
2734 if ac_fn_c_try_compile
"$LINENO"; then :
2739 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
2741 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
2744 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2745 $as_echo "$ac_res" >&6; }
2746 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2748 } # ac_fn_c_check_member
2750 # ac_fn_c_check_type LINENO TYPE VAR INCLUDES
2751 # -------------------------------------------
2752 # Tests whether TYPE exists after having included INCLUDES, setting cache
2753 # variable VAR accordingly.
2754 ac_fn_c_check_type
()
2756 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
2757 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2758 $as_echo_n "checking for $2... " >&6; }
2759 if eval \
${$3+:} false
; then :
2760 $as_echo_n "(cached) " >&6
2763 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
2764 /* end confdefs.h. */
2775 if ac_fn_c_try_compile
"$LINENO"; then :
2776 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
2777 /* end confdefs.h. */
2788 if ac_fn_c_try_compile
"$LINENO"; then :
2793 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
2795 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
2798 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2799 $as_echo "$ac_res" >&6; }
2800 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2802 } # ac_fn_c_check_type
2803 cat >config.log
<<_ACEOF
2804 This file contains any messages produced by compilers while
2805 running configure, to aid debugging if configure makes a mistake.
2807 It was created by Wine $as_me 1.7.37, which was
2808 generated by GNU Autoconf 2.69. Invocation command line was
2820 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
2821 uname -m = `(uname -m) 2>/dev/null || echo unknown`
2822 uname -r = `(uname -r) 2>/dev/null || echo unknown`
2823 uname -s = `(uname -s) 2>/dev/null || echo unknown`
2824 uname -v = `(uname -v) 2>/dev/null || echo unknown`
2826 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
2827 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
2829 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
2830 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
2831 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
2832 /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
2833 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
2834 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
2835 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
2839 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2843 test -z "$as_dir" && as_dir
=.
2844 $as_echo "PATH: $as_dir"
2860 # Keep a trace of the command line.
2861 # Strip out --no-create and --no-recursion so they do not pile up.
2862 # Strip out --silent because we don't want to record it for future runs.
2863 # Also quote any args containing shell meta-characters.
2864 # Make two passes to allow for proper duplicate-argument suppression.
2868 ac_must_keep_next
=false
2874 -no-create |
--no-c* |
-n |
-no-recursion |
--no-r*) continue ;;
2875 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
2876 |
-silent |
--silent |
--silen |
--sile |
--sil)
2879 ac_arg
=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
2882 1) as_fn_append ac_configure_args0
" '$ac_arg'" ;;
2884 as_fn_append ac_configure_args1
" '$ac_arg'"
2885 if test $ac_must_keep_next = true
; then
2886 ac_must_keep_next
=false
# Got value, back to normal.
2889 *=* |
--config-cache |
-C |
-disable-* |
--disable-* \
2890 |
-enable-* |
--enable-* |
-gas |
--g* |
-nfp |
--nf* \
2891 |
-q |
-quiet |
--q* |
-silent |
--sil* |
-v |
-verb* \
2892 |
-with-* |
--with-* |
-without-* |
--without-* |
--x)
2893 case "$ac_configure_args0 " in
2894 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
2897 -* ) ac_must_keep_next
=true
;;
2900 as_fn_append ac_configure_args
" '$ac_arg'"
2905 { ac_configure_args0
=; unset ac_configure_args0
;}
2906 { ac_configure_args1
=; unset ac_configure_args1
;}
2908 # When interrupted or exit'd, cleanup temporary files, and complete
2909 # config.log. We remove comments because anyway the quotes in there
2910 # would cause problems or look ugly.
2911 # WARNING: Use '\'' to represent an apostrophe within the trap.
2912 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
2913 trap 'exit_status=$?
2914 # Save into config.log some information that might help in debugging.
2918 $as_echo "## ---------------- ##
2919 ## Cache variables. ##
2920 ## ---------------- ##"
2922 # The following way of writing the cache mishandles newlines in values,
2924 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
2925 eval ac_val=\$$ac_var
2929 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
2930 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
2933 _ | IFS | as_nl) ;; #(
2934 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
2935 *) { eval $ac_var=; unset $ac_var;} ;;
2940 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
2941 *${as_nl}ac_space=\ *)
2943 "s/'\''/'\''\\\\'\'''\''/g;
2944 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
2947 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
2954 $as_echo "## ----------------- ##
2955 ## Output variables. ##
2956 ## ----------------- ##"
2958 for ac_var in $ac_subst_vars
2960 eval ac_val=\$$ac_var
2962 *\'\''*) ac_val
=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2964 $as_echo "$ac_var='\''$ac_val'\''"
2968 if test -n "$ac_subst_files"; then
2969 $as_echo "## ------------------- ##
2970 ## File substitutions. ##
2971 ## ------------------- ##"
2973 for ac_var
in $ac_subst_files
2975 eval ac_val
=\$
$ac_var
2977 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2979 $as_echo "$ac_var='\''$ac_val'\''"
2984 if test -s confdefs.h; then
2985 $as_echo "## ----------- ##
2992 test "$ac_signal" != 0 &&
2993 $as_echo "$as_me: caught signal $ac_signal"
2994 $as_echo "$as_me: exit $exit_status"
2996 rm -f core *.core core.conftest.* &&
2997 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
3000 for ac_signal
in 1 2 13 15; do
3001 trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
3005 # confdefs.h avoids OS command line length limits that DEFS can exceed.
3006 rm -f -r conftest
* confdefs.h
3008 $as_echo "/* confdefs.h */" > confdefs.h
3010 # Predefined preprocessor variables.
3012 cat >>confdefs.h
<<_ACEOF
3013 #define PACKAGE_NAME "$PACKAGE_NAME"
3016 cat >>confdefs.h
<<_ACEOF
3017 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
3020 cat >>confdefs.h
<<_ACEOF
3021 #define PACKAGE_VERSION "$PACKAGE_VERSION"
3024 cat >>confdefs.h
<<_ACEOF
3025 #define PACKAGE_STRING "$PACKAGE_STRING"
3028 cat >>confdefs.h
<<_ACEOF
3029 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
3032 cat >>confdefs.h
<<_ACEOF
3033 #define PACKAGE_URL "$PACKAGE_URL"
3037 # Let the site file select an alternate cache file if it wants to.
3038 # Prefer an explicitly selected file to automatically selected ones.
3041 if test -n "$CONFIG_SITE"; then
3042 # We do not want a PATH search for config.site.
3043 case $CONFIG_SITE in #((
3044 -*) ac_site_file1
=.
/$CONFIG_SITE;;
3045 */*) ac_site_file1
=$CONFIG_SITE;;
3046 *) ac_site_file1
=.
/$CONFIG_SITE;;
3048 elif test "x$prefix" != xNONE
; then
3049 ac_site_file1
=$prefix/share
/config.site
3050 ac_site_file2
=$prefix/etc
/config.site
3052 ac_site_file1
=$ac_default_prefix/share
/config.site
3053 ac_site_file2
=$ac_default_prefix/etc
/config.site
3055 for ac_site_file
in "$ac_site_file1" "$ac_site_file2"
3057 test "x$ac_site_file" = xNONE
&& continue
3058 if test /dev
/null
!= "$ac_site_file" && test -r "$ac_site_file"; then
3059 { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
3060 $as_echo "$as_me: loading site script $ac_site_file" >&6;}
3061 sed 's/^/| /' "$ac_site_file" >&5
3063 ||
{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3064 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3065 as_fn_error $?
"failed to load site script $ac_site_file
3066 See \`config.log' for more details" "$LINENO" 5; }
3070 if test -r "$cache_file"; then
3071 # Some versions of bash will fail to source /dev/null (special files
3072 # actually), so we avoid doing that. DJGPP emulates it as a regular file.
3073 if test /dev
/null
!= "$cache_file" && test -f "$cache_file"; then
3074 { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
3075 $as_echo "$as_me: loading cache $cache_file" >&6;}
3077 [\\/]* | ?
:[\\/]* ) .
"$cache_file";;
3078 *) .
"./$cache_file";;
3082 { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
3083 $as_echo "$as_me: creating cache $cache_file" >&6;}
3087 # Check that the precious variables saved in the cache have kept the same
3089 ac_cache_corrupted
=false
3090 for ac_var
in $ac_precious_vars; do
3091 eval ac_old_set
=\
$ac_cv_env_${ac_var}_set
3092 eval ac_new_set
=\
$ac_env_${ac_var}_set
3093 eval ac_old_val
=\
$ac_cv_env_${ac_var}_value
3094 eval ac_new_val
=\
$ac_env_${ac_var}_value
3095 case $ac_old_set,$ac_new_set in
3097 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
3098 $as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
3099 ac_cache_corrupted
=: ;;
3101 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
3102 $as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
3103 ac_cache_corrupted
=: ;;
3106 if test "x$ac_old_val" != "x$ac_new_val"; then
3107 # differences in whitespace do not lead to failure.
3108 ac_old_val_w
=`echo x $ac_old_val`
3109 ac_new_val_w
=`echo x $ac_new_val`
3110 if test "$ac_old_val_w" != "$ac_new_val_w"; then
3111 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
3112 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
3113 ac_cache_corrupted
=:
3115 { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
3116 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
3117 eval $ac_var=\
$ac_old_val
3119 { $as_echo "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5
3120 $as_echo "$as_me: former value: \`$ac_old_val'" >&2;}
3121 { $as_echo "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5
3122 $as_echo "$as_me: current value: \`$ac_new_val'" >&2;}
3125 # Pass precious variables to config.status.
3126 if test "$ac_new_set" = set; then
3128 *\'*) ac_arg
=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
3129 *) ac_arg
=$ac_var=$ac_new_val ;;
3131 case " $ac_configure_args " in
3132 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
3133 *) as_fn_append ac_configure_args
" '$ac_arg'" ;;
3137 if $ac_cache_corrupted; then
3138 { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3139 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3140 { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
3141 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
3142 as_fn_error $?
"run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
3144 ## -------------------- ##
3145 ## Main body of script. ##
3146 ## -------------------- ##
3149 ac_cpp
='$CPP $CPPFLAGS'
3150 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3151 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3152 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
3156 ac_config_headers
="$ac_config_headers include/config.h"
3159 for ac_dir
in tools
"$srcdir"/tools
; do
3160 if test -f "$ac_dir/install-sh"; then
3162 ac_install_sh
="$ac_aux_dir/install-sh -c"
3164 elif test -f "$ac_dir/install.sh"; then
3166 ac_install_sh
="$ac_aux_dir/install.sh -c"
3168 elif test -f "$ac_dir/shtool"; then
3170 ac_install_sh
="$ac_aux_dir/shtool install -c"
3174 if test -z "$ac_aux_dir"; then
3175 as_fn_error $?
"cannot find install-sh, install.sh, or shtool in tools \"$srcdir\"/tools" "$LINENO" 5
3178 # These three variables are undocumented and unsupported,
3179 # and are intended to be withdrawn in a future Autoconf release.
3180 # They can cause serious problems if a builder's source tree is in a directory
3181 # whose full name contains unusual characters.
3182 ac_config_guess
="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
3183 ac_config_sub
="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
3184 ac_configure
="$SHELL $ac_aux_dir/configure" # Please don't use this var.
3188 libwine_version
="1.0"
3192 # Check whether --enable-win16 was given.
3193 if test "${enable_win16+set}" = set; then :
3194 enableval
=$enable_win16;
3197 # Check whether --enable-win64 was given.
3198 if test "${enable_win64+set}" = set; then :
3199 enableval
=$enable_win64;
3202 # Check whether --enable-tests was given.
3203 if test "${enable_tests+set}" = set; then :
3204 enableval
=$enable_tests;
3207 # Check whether --enable-maintainer-mode was given.
3208 if test "${enable_maintainer_mode+set}" = set; then :
3209 enableval
=$enable_maintainer_mode;
3214 # Check whether --with-alsa was given.
3215 if test "${with_alsa+set}" = set; then :
3216 withval
=$with_alsa; if test "x$withval" = "xno"; then ac_cv_header_sys_asoundlib_h
=no
; ac_cv_header_alsa_asoundlib_h
=no
; fi
3220 # Check whether --with-capi was given.
3221 if test "${with_capi+set}" = set; then :
3226 # Check whether --with-cms was given.
3227 if test "${with_cms+set}" = set; then :
3232 # Check whether --with-coreaudio was given.
3233 if test "${with_coreaudio+set}" = set; then :
3234 withval
=$with_coreaudio; if test "x$withval" = "xno"; then ac_cv_header_CoreAudio_CoreAudio_h
=no
; fi
3238 # Check whether --with-cups was given.
3239 if test "${with_cups+set}" = set; then :
3244 # Check whether --with-curses was given.
3245 if test "${with_curses+set}" = set; then :
3246 withval
=$with_curses; if test "x$withval" = "xno"; then ac_cv_header_ncurses_h
=no
; ac_cv_header_curses_h
=no
; fi
3250 # Check whether --with-dbus was given.
3251 if test "${with_dbus+set}" = set; then :
3256 # Check whether --with-fontconfig was given.
3257 if test "${with_fontconfig+set}" = set; then :
3258 withval
=$with_fontconfig;
3262 # Check whether --with-freetype was given.
3263 if test "${with_freetype+set}" = set; then :
3264 withval
=$with_freetype;
3268 # Check whether --with-gettext was given.
3269 if test "${with_gettext+set}" = set; then :
3270 withval
=$with_gettext;
3274 # Check whether --with-gettextpo was given.
3275 if test "${with_gettextpo+set}" = set; then :
3276 withval
=$with_gettextpo; if test "x$withval" = "xno"; then ac_cv_header_gettext_po_h
=no
; fi
3280 # Check whether --with-gphoto was given.
3281 if test "${with_gphoto+set}" = set; then :
3282 withval
=$with_gphoto;
3286 # Check whether --with-glu was given.
3287 if test "${with_glu+set}" = set; then :
3292 # Check whether --with-gnutls was given.
3293 if test "${with_gnutls+set}" = set; then :
3294 withval
=$with_gnutls;
3298 # Check whether --with-gsm was given.
3299 if test "${with_gsm+set}" = set; then :
3300 withval
=$with_gsm; if test "x$withval" = "xno"; then ac_cv_header_gsm_h
=no
; ac_cv_header_gsm_gsm_h
=no
; fi
3304 # Check whether --with-gstreamer was given.
3305 if test "${with_gstreamer+set}" = set; then :
3306 withval
=$with_gstreamer;
3310 # Check whether --with-hal was given.
3311 if test "${with_hal+set}" = set; then :
3316 # Check whether --with-jpeg was given.
3317 if test "${with_jpeg+set}" = set; then :
3322 # Check whether --with-ldap was given.
3323 if test "${with_ldap+set}" = set; then :
3324 withval
=$with_ldap; if test "x$withval" = "xno"; then ac_cv_header_ldap_h
=no
; ac_cv_header_lber_h
=no
; fi
3328 # Check whether --with-mpg123 was given.
3329 if test "${with_mpg123+set}" = set; then :
3330 withval
=$with_mpg123;
3334 # Check whether --with-netapi was given.
3335 if test "${with_netapi+set}" = set; then :
3336 withval
=$with_netapi;
3340 # Check whether --with-openal was given.
3341 if test "${with_openal+set}" = set; then :
3342 withval
=$with_openal; if test "x$withval" = "xno"; then ac_cv_header_AL_al_h
=no
; ac_cv_header_OpenAL_al_h
=no
; fi
3346 # Check whether --with-opencl was given.
3347 if test "${with_opencl+set}" = set; then :
3348 withval
=$with_opencl; if test "x$withval" = "xno"; then ac_cv_header_CL_cl_h
=no
; ac_cv_header_OpenCL_opencl_h
=no
; fi
3352 # Check whether --with-opengl was given.
3353 if test "${with_opengl+set}" = set; then :
3354 withval
=$with_opengl;
3358 # Check whether --with-osmesa was given.
3359 if test "${with_osmesa+set}" = set; then :
3360 withval
=$with_osmesa;
3364 # Check whether --with-oss was given.
3365 if test "${with_oss+set}" = set; then :
3370 # Check whether --with-pcap was given.
3371 if test "${with_pcap+set}" = set; then :
3372 withval
=$with_pcap; if test "x$withval" = "xno"; then ac_cv_header_pcap_pcap_h
=no
; fi
3376 # Check whether --with-png was given.
3377 if test "${with_png+set}" = set; then :
3382 # Check whether --with-pthread was given.
3383 if test "${with_pthread+set}" = set; then :
3384 withval
=$with_pthread; if test "x$withval" = "xno"; then ac_cv_header_pthread_h
=no
; fi
3388 # Check whether --with-sane was given.
3389 if test "${with_sane+set}" = set; then :
3394 # Check whether --with-tiff was given.
3395 if test "${with_tiff+set}" = set; then :
3400 # Check whether --with-v4l was given.
3401 if test "${with_v4l+set}" = set; then :
3406 # Check whether --with-xcomposite was given.
3407 if test "${with_xcomposite+set}" = set; then :
3408 withval
=$with_xcomposite; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xcomposite_h
=no
; fi
3412 # Check whether --with-xcursor was given.
3413 if test "${with_xcursor+set}" = set; then :
3414 withval
=$with_xcursor; if test "x$withval" = "xno"; then ac_cv_header_X11_Xcursor_Xcursor_h
=no
; fi
3418 # Check whether --with-xinerama was given.
3419 if test "${with_xinerama+set}" = set; then :
3420 withval
=$with_xinerama; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xinerama_h
=no
; fi
3424 # Check whether --with-xinput was given.
3425 if test "${with_xinput+set}" = set; then :
3426 withval
=$with_xinput; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_XInput_h
=no
; fi
3430 # Check whether --with-xinput2 was given.
3431 if test "${with_xinput2+set}" = set; then :
3432 withval
=$with_xinput2; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_XInput2_h
=no
; fi
3436 # Check whether --with-xml was given.
3437 if test "${with_xml+set}" = set; then :
3442 # Check whether --with-xrandr was given.
3443 if test "${with_xrandr+set}" = set; then :
3444 withval
=$with_xrandr; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xrandr_h
=no
; fi
3448 # Check whether --with-xrender was given.
3449 if test "${with_xrender+set}" = set; then :
3450 withval
=$with_xrender; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xrender_h
=no
; fi
3454 # Check whether --with-xshape was given.
3455 if test "${with_xshape+set}" = set; then :
3456 withval
=$with_xshape; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_shape_h
=no
; fi
3460 # Check whether --with-xshm was given.
3461 if test "${with_xshm+set}" = set; then :
3462 withval
=$with_xshm; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_XShm_h
=no
; fi
3466 # Check whether --with-xslt was given.
3467 if test "${with_xslt+set}" = set; then :
3472 # Check whether --with-xxf86vm was given.
3473 if test "${with_xxf86vm+set}" = set; then :
3474 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
3478 # Check whether --with-zlib was given.
3479 if test "${with_zlib+set}" = set; then :
3480 withval
=$with_zlib; if test "x$withval" = "xno"; then ac_cv_header_zlib_h
=no
; fi
3485 # Check whether --with-wine-tools was given.
3486 if test "${with_wine_tools+set}" = set; then :
3487 withval
=$with_wine_tools;
3491 # Check whether --with-wine64 was given.
3492 if test "${with_wine64+set}" = set; then :
3493 withval
=$with_wine64;
3497 # Make sure we can run config.sub.
3498 $SHELL "$ac_aux_dir/config.sub" sun4
>/dev
/null
2>&1 ||
3499 as_fn_error $?
"cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
3501 { $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
3502 $as_echo_n "checking build system type... " >&6; }
3503 if ${ac_cv_build+:} false
; then :
3504 $as_echo_n "(cached) " >&6
3506 ac_build_alias
=$build_alias
3507 test "x$ac_build_alias" = x
&&
3508 ac_build_alias
=`$SHELL "$ac_aux_dir/config.guess"`
3509 test "x$ac_build_alias" = x
&&
3510 as_fn_error $?
"cannot guess build type; you must specify one" "$LINENO" 5
3511 ac_cv_build
=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
3512 as_fn_error $?
"$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
3515 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
3516 $as_echo "$ac_cv_build" >&6; }
3517 case $ac_cv_build in
3519 *) as_fn_error $?
"invalid value of canonical build" "$LINENO" 5;;
3522 ac_save_IFS
=$IFS; IFS
='-'
3528 # Remember, the first character of IFS is used to create $*,
3529 # except with old shells:
3532 case $build_os in *\
*) build_os
=`echo "$build_os" | sed 's/ /-/g'`;; esac
3535 { $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
3536 $as_echo_n "checking host system type... " >&6; }
3537 if ${ac_cv_host+:} false
; then :
3538 $as_echo_n "(cached) " >&6
3540 if test "x$host_alias" = x
; then
3541 ac_cv_host
=$ac_cv_build
3543 ac_cv_host
=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
3544 as_fn_error $?
"$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
3548 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
3549 $as_echo "$ac_cv_host" >&6; }
3552 *) as_fn_error $?
"invalid value of canonical host" "$LINENO" 5;;
3555 ac_save_IFS
=$IFS; IFS
='-'
3561 # Remember, the first character of IFS is used to create $*,
3562 # except with old shells:
3565 case $host_os in *\
*) host_os
=`echo "$host_os" | sed 's/ /-/g'`;; esac
3571 *) if test -f "$srcdir/Makefile" -o -f "$srcdir/include/config.h"; then
3572 as_fn_error $?
"you are building out of the source tree, but the source tree contains object files.
3573 You need to run 'make distclean' in the source tree first." "$LINENO" 5
3578 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
3579 $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
3581 ac_make
=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
3582 if eval \
${ac_cv_prog_make_${ac_make}_set+:} false
; then :
3583 $as_echo_n "(cached) " >&6
3585 cat >conftest.
make <<\_ACEOF
3588 @
echo '@@@%%%=$(MAKE)=@@@%%%'
3590 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
3591 case `${MAKE-make} -f conftest.make 2>/dev/null` in
3593 eval ac_cv_prog_make_
${ac_make}_set
=yes;;
3595 eval ac_cv_prog_make_
${ac_make}_set
=no
;;
3599 if eval test \
$ac_cv_prog_make_${ac_make}_set
= yes; then
3600 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3601 $as_echo "yes" >&6; }
3604 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3605 $as_echo "no" >&6; }
3606 SET_MAKE
="MAKE=${MAKE-make}"
3610 ac_cpp
='$CPP $CPPFLAGS'
3611 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3612 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3613 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
3614 if test -n "$ac_tool_prefix"; then
3615 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
3616 set dummy
${ac_tool_prefix}gcc
; ac_word
=$2
3617 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3618 $as_echo_n "checking for $ac_word... " >&6; }
3619 if ${ac_cv_prog_CC+:} false
; then :
3620 $as_echo_n "(cached) " >&6
3622 if test -n "$CC"; then
3623 ac_cv_prog_CC
="$CC" # Let the user override the test.
3625 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3629 test -z "$as_dir" && as_dir
=.
3630 for ac_exec_ext
in '' $ac_executable_extensions; do
3631 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
3632 ac_cv_prog_CC
="${ac_tool_prefix}gcc"
3633 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3643 if test -n "$CC"; then
3644 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3645 $as_echo "$CC" >&6; }
3647 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3648 $as_echo "no" >&6; }
3653 if test -z "$ac_cv_prog_CC"; then
3655 # Extract the first word of "gcc", so it can be a program name with args.
3656 set dummy gcc
; ac_word
=$2
3657 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3658 $as_echo_n "checking for $ac_word... " >&6; }
3659 if ${ac_cv_prog_ac_ct_CC+:} false
; then :
3660 $as_echo_n "(cached) " >&6
3662 if test -n "$ac_ct_CC"; then
3663 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
3665 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3669 test -z "$as_dir" && as_dir
=.
3670 for ac_exec_ext
in '' $ac_executable_extensions; do
3671 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
3672 ac_cv_prog_ac_ct_CC
="gcc"
3673 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3682 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
3683 if test -n "$ac_ct_CC"; then
3684 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3685 $as_echo "$ac_ct_CC" >&6; }
3687 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3688 $as_echo "no" >&6; }
3691 if test "x$ac_ct_CC" = x
; then
3694 case $cross_compiling:$ac_tool_warned in
3696 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3697 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3698 ac_tool_warned
=yes ;;
3706 if test -z "$CC"; then
3707 if test -n "$ac_tool_prefix"; then
3708 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
3709 set dummy
${ac_tool_prefix}cc
; ac_word
=$2
3710 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3711 $as_echo_n "checking for $ac_word... " >&6; }
3712 if ${ac_cv_prog_CC+:} false
; then :
3713 $as_echo_n "(cached) " >&6
3715 if test -n "$CC"; then
3716 ac_cv_prog_CC
="$CC" # Let the user override the test.
3718 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3722 test -z "$as_dir" && as_dir
=.
3723 for ac_exec_ext
in '' $ac_executable_extensions; do
3724 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
3725 ac_cv_prog_CC
="${ac_tool_prefix}cc"
3726 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3736 if test -n "$CC"; then
3737 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3738 $as_echo "$CC" >&6; }
3740 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3741 $as_echo "no" >&6; }
3747 if test -z "$CC"; then
3748 # Extract the first word of "cc", so it can be a program name with args.
3749 set dummy cc
; ac_word
=$2
3750 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3751 $as_echo_n "checking for $ac_word... " >&6; }
3752 if ${ac_cv_prog_CC+:} false
; then :
3753 $as_echo_n "(cached) " >&6
3755 if test -n "$CC"; then
3756 ac_cv_prog_CC
="$CC" # Let the user override the test.
3759 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3763 test -z "$as_dir" && as_dir
=.
3764 for ac_exec_ext
in '' $ac_executable_extensions; do
3765 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
3766 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
3767 ac_prog_rejected
=yes
3771 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3778 if test $ac_prog_rejected = yes; then
3779 # We found a bogon in the path, so make sure we never use it.
3780 set dummy
$ac_cv_prog_CC
3782 if test $# != 0; then
3783 # We chose a different compiler from the bogus one.
3784 # However, it has the same basename, so the bogon will be chosen
3785 # first if we set CC to just the basename; use the full file name.
3787 ac_cv_prog_CC
="$as_dir/$ac_word${1+' '}$@"
3793 if test -n "$CC"; then
3794 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3795 $as_echo "$CC" >&6; }
3797 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3798 $as_echo "no" >&6; }
3803 if test -z "$CC"; then
3804 if test -n "$ac_tool_prefix"; then
3805 for ac_prog
in cl.exe
3807 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
3808 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
3809 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3810 $as_echo_n "checking for $ac_word... " >&6; }
3811 if ${ac_cv_prog_CC+:} false
; then :
3812 $as_echo_n "(cached) " >&6
3814 if test -n "$CC"; then
3815 ac_cv_prog_CC
="$CC" # Let the user override the test.
3817 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3821 test -z "$as_dir" && as_dir
=.
3822 for ac_exec_ext
in '' $ac_executable_extensions; do
3823 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
3824 ac_cv_prog_CC
="$ac_tool_prefix$ac_prog"
3825 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3835 if test -n "$CC"; then
3836 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3837 $as_echo "$CC" >&6; }
3839 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3840 $as_echo "no" >&6; }
3844 test -n "$CC" && break
3847 if test -z "$CC"; then
3849 for ac_prog
in cl.exe
3851 # Extract the first word of "$ac_prog", so it can be a program name with args.
3852 set dummy
$ac_prog; ac_word
=$2
3853 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3854 $as_echo_n "checking for $ac_word... " >&6; }
3855 if ${ac_cv_prog_ac_ct_CC+:} false
; then :
3856 $as_echo_n "(cached) " >&6
3858 if test -n "$ac_ct_CC"; then
3859 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
3861 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3865 test -z "$as_dir" && as_dir
=.
3866 for ac_exec_ext
in '' $ac_executable_extensions; do
3867 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
3868 ac_cv_prog_ac_ct_CC
="$ac_prog"
3869 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3878 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
3879 if test -n "$ac_ct_CC"; then
3880 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3881 $as_echo "$ac_ct_CC" >&6; }
3883 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3884 $as_echo "no" >&6; }
3888 test -n "$ac_ct_CC" && break
3891 if test "x$ac_ct_CC" = x
; then
3894 case $cross_compiling:$ac_tool_warned in
3896 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3897 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3898 ac_tool_warned
=yes ;;
3907 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3908 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3909 as_fn_error $?
"no acceptable C compiler found in \$PATH
3910 See \`config.log' for more details" "$LINENO" 5; }
3912 # Provide some information about the compiler.
3913 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
3916 for ac_option
in --version -v -V -qversion; do
3917 { { ac_try
="$ac_compiler $ac_option >&5"
3919 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
3920 *) ac_try_echo=$ac_try;;
3922 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3923 $as_echo "$ac_try_echo"; } >&5
3924 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
3926 if test -s conftest.err; then
3928 ... rest of stderr output deleted ...
3929 10q' conftest.err >conftest.er1
3930 cat conftest.er1 >&5
3932 rm -f conftest.er1 conftest.err
3933 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3934 test $ac_status = 0; }
3937 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3938 /* end confdefs.h. */
3948 ac_clean_files_save=$ac_clean_files
3949 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
3950 # Try to create an executable without -o first, disregard a.out.
3951 # It will help us diagnose broken compilers, and finding out an intuition
3953 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
3954 $as_echo_n "checking whether the C compiler works... " >&6; }
3955 ac_link_default=`$as_echo "$ac_link" |
sed 's/ -o *conftest[^ ]*//'`
3957 # The possible output files:
3958 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
3961 for ac_file in $ac_files
3964 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
3965 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
3970 if { { ac_try="$ac_link_default"
3972 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
3973 *) ac_try_echo
=$ac_try;;
3975 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3976 $as_echo "$ac_try_echo"; } >&5
3977 (eval "$ac_link_default") 2>&5
3979 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3980 test $ac_status = 0; }; then :
3981 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
3982 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
3983 # in a Makefile. We should not override ac_cv_exeext if it was cached,
3984 # so that the user can short-circuit this test for compilers unknown to
3986 for ac_file
in $ac_files ''
3988 test -f "$ac_file" ||
continue
3990 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg |
*.map |
*.inf |
*.dSYM |
*.o |
*.obj
)
3993 # We found the default executable, but exeext='' is most
3997 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no
;
3999 ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
4001 # We set ac_cv_exeext here because the later test for it is not
4002 # safe: cross compilers may not add the suffix if given an `-o'
4003 # argument, so we may need to know it at that point already.
4004 # Even if this section looks crufty: it has the advantage of
4011 test "$ac_cv_exeext" = no
&& ac_cv_exeext
=
4016 if test -z "$ac_file"; then :
4017 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4018 $as_echo "no" >&6; }
4019 $as_echo "$as_me: failed program was:" >&5
4020 sed 's/^/| /' conftest.
$ac_ext >&5
4022 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4023 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4024 as_fn_error
77 "C compiler cannot create executables
4025 See \`config.log' for more details" "$LINENO" 5; }
4027 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4028 $as_echo "yes" >&6; }
4030 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
4031 $as_echo_n "checking for C compiler default output file name... " >&6; }
4032 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
4033 $as_echo "$ac_file" >&6; }
4034 ac_exeext
=$ac_cv_exeext
4036 rm -f -r a.out a.out.dSYM a.exe conftest
$ac_cv_exeext b.out
4037 ac_clean_files
=$ac_clean_files_save
4038 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
4039 $as_echo_n "checking for suffix of executables... " >&6; }
4040 if { { ac_try
="$ac_link"
4042 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
4043 *) ac_try_echo=$ac_try;;
4045 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4046 $as_echo "$ac_try_echo"; } >&5
4047 (eval "$ac_link") 2>&5
4049 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4050 test $ac_status = 0; }; then :
4051 # If both `conftest.exe
' and `conftest' are
`present' (well, observable)
4052 # catch `conftest.exe
'. For instance with Cygwin, `ls conftest' will
4053 # work properly (i.e., refer to `conftest.exe'), while it won't with
4055 for ac_file
in conftest.exe conftest conftest.
*; do
4056 test -f "$ac_file" ||
continue
4058 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg |
*.map |
*.inf |
*.dSYM |
*.o |
*.obj
) ;;
4059 *.
* ) ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
4065 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4066 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4067 as_fn_error $?
"cannot compute suffix of executables: cannot compile and link
4068 See \`config.log' for more details" "$LINENO" 5; }
4070 rm -f conftest conftest
$ac_cv_exeext
4071 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
4072 $as_echo "$ac_cv_exeext" >&6; }
4074 rm -f conftest.
$ac_ext
4075 EXEEXT
=$ac_cv_exeext
4077 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4078 /* end confdefs.h. */
4083 FILE *f = fopen ("conftest.out", "w");
4084 return ferror (f) || fclose (f) != 0;
4090 ac_clean_files
="$ac_clean_files conftest.out"
4091 # Check that the compiler produces executables we can run. If not, either
4092 # the compiler is broken, or we cross compile.
4093 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
4094 $as_echo_n "checking whether we are cross compiling... " >&6; }
4095 if test "$cross_compiling" != yes; then
4096 { { ac_try
="$ac_link"
4098 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
4099 *) ac_try_echo=$ac_try;;
4101 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4102 $as_echo "$ac_try_echo"; } >&5
4103 (eval "$ac_link") 2>&5
4105 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4106 test $ac_status = 0; }
4107 if { ac_try='./conftest$ac_cv_exeext'
4108 { { case "(($ac_try" in
4109 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
4110 *) ac_try_echo
=$ac_try;;
4112 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4113 $as_echo "$ac_try_echo"; } >&5
4114 (eval "$ac_try") 2>&5
4116 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4117 test $ac_status = 0; }; }; then
4120 if test "$cross_compiling" = maybe
; then
4123 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4124 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4125 as_fn_error $?
"cannot run C compiled programs.
4126 If you meant to cross compile, use \`--host'.
4127 See \`config.log' for more details" "$LINENO" 5; }
4131 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
4132 $as_echo "$cross_compiling" >&6; }
4134 rm -f conftest.
$ac_ext conftest
$ac_cv_exeext conftest.out
4135 ac_clean_files
=$ac_clean_files_save
4136 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
4137 $as_echo_n "checking for suffix of object files... " >&6; }
4138 if ${ac_cv_objext+:} false
; then :
4139 $as_echo_n "(cached) " >&6
4141 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4142 /* end confdefs.h. */
4152 rm -f conftest.o conftest.obj
4153 if { { ac_try
="$ac_compile"
4155 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
4156 *) ac_try_echo=$ac_try;;
4158 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4159 $as_echo "$ac_try_echo"; } >&5
4160 (eval "$ac_compile") 2>&5
4162 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4163 test $ac_status = 0; }; then :
4164 for ac_file in conftest.o conftest.obj conftest.*; do
4165 test -f "$ac_file" || continue;
4167 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
4168 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
4173 $as_echo "$as_me: failed program was:" >&5
4174 sed 's/^/| /' conftest.$ac_ext >&5
4176 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4177 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4178 as_fn_error $? "cannot compute suffix of object files
: cannot compile
4179 See \
`config.log' for more details" "$LINENO" 5; }
4181 rm -f conftest.$ac_cv_objext conftest.$ac_ext
4183 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
4184 $as_echo "$ac_cv_objext" >&6; }
4185 OBJEXT=$ac_cv_objext
4187 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
4188 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
4189 if ${ac_cv_c_compiler_gnu+:} false; then :
4190 $as_echo_n "(cached) " >&6
4192 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4193 /* end confdefs.h. */
4206 if ac_fn_c_try_compile "$LINENO"; then :
4211 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4212 ac_cv_c_compiler_gnu=$ac_compiler_gnu
4215 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
4216 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
4217 if test $ac_compiler_gnu = yes; then
4222 ac_test_CFLAGS=${CFLAGS+set}
4223 ac_save_CFLAGS=$CFLAGS
4224 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
4225 $as_echo_n "checking whether $CC accepts -g... " >&6; }
4226 if ${ac_cv_prog_cc_g+:} false; then :
4227 $as_echo_n "(cached) " >&6
4229 ac_save_c_werror_flag=$ac_c_werror_flag
4230 ac_c_werror_flag=yes
4233 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4234 /* end confdefs.h. */
4244 if ac_fn_c_try_compile "$LINENO"; then :
4248 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4249 /* end confdefs.h. */
4259 if ac_fn_c_try_compile "$LINENO"; then :
4262 ac_c_werror_flag=$ac_save_c_werror_flag
4264 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4265 /* end confdefs.h. */
4275 if ac_fn_c_try_compile "$LINENO"; then :
4278 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4280 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4282 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4283 ac_c_werror_flag=$ac_save_c_werror_flag
4285 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
4286 $as_echo "$ac_cv_prog_cc_g" >&6; }
4287 if test "$ac_test_CFLAGS" = set; then
4288 CFLAGS=$ac_save_CFLAGS
4289 elif test $ac_cv_prog_cc_g = yes; then
4290 if test "$GCC" = yes; then
4296 if test "$GCC" = yes; then
4302 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
4303 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
4304 if ${ac_cv_prog_cc_c89+:} false; then :
4305 $as_echo_n "(cached) " >&6
4307 ac_cv_prog_cc_c89=no
4309 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4310 /* end confdefs.h. */
4314 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
4315 struct buf { int x; };
4316 FILE * (*rcsopen) (struct buf *, struct stat *, int);
4317 static char *e (p, i)
4323 static char *f (char * (*g) (char **, int), char **p, ...)
4328 s = g (p, va_arg (v,int));
4333 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
4334 function prototypes and stuff, but not '\xHH' hex character constants.
4335 These don't provoke an error unfortunately, instead are silently treated
4336 as 'x'. The following induces an error, until -std is added to get
4337 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
4338 array size at least. It's necessary to write '\x00'==0 to get something
4339 that's true only with -std. */
4340 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
4342 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
4343 inside strings and character constants. */
4345 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
4347 int test (int i, double x);
4348 struct s1 {int (*f) (int a);};
4349 struct s2 {int (*f) (double a);};
4350 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
4356 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
4361 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
4362 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
4364 CC="$ac_save_CC $ac_arg"
4365 if ac_fn_c_try_compile "$LINENO"; then :
4366 ac_cv_prog_cc_c89=$ac_arg
4368 rm -f core conftest.err conftest.$ac_objext
4369 test "x$ac_cv_prog_cc_c89" != "xno" && break
4371 rm -f conftest.$ac_ext
4376 case "x$ac_cv_prog_cc_c89" in
4378 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
4379 $as_echo "none needed" >&6; } ;;
4381 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
4382 $as_echo "unsupported" >&6; } ;;
4384 CC="$CC $ac_cv_prog_cc_c89"
4385 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
4386 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
4388 if test "x$ac_cv_prog_cc_c89" != xno; then :
4393 ac_cpp='$CPP $CPPFLAGS'
4394 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4395 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4396 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4399 ac_cpp='$CXXCPP $CPPFLAGS'
4400 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4401 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4402 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
4403 if test -z "$CXX"; then
4404 if test -n "$CCC"; then
4407 if test -n "$ac_tool_prefix"; then
4408 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
4410 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
4411 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
4412 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4413 $as_echo_n "checking for $ac_word... " >&6; }
4414 if ${ac_cv_prog_CXX+:} false; then :
4415 $as_echo_n "(cached) " >&6
4417 if test -n "$CXX"; then
4418 ac_cv_prog_CXX="$CXX" # Let the user override the test.
4420 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4424 test -z "$as_dir" && as_dir=.
4425 for ac_exec_ext in '' $ac_executable_extensions; do
4426 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4427 ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"
4428 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4438 if test -n "$CXX"; then
4439 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXX" >&5
4440 $as_echo "$CXX" >&6; }
4442 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4443 $as_echo "no" >&6; }
4447 test -n "$CXX" && break
4450 if test -z "$CXX"; then
4452 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
4454 # Extract the first word of "$ac_prog", so it can be a program name with args.
4455 set dummy $ac_prog; ac_word=$2
4456 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4457 $as_echo_n "checking for $ac_word... " >&6; }
4458 if ${ac_cv_prog_ac_ct_CXX+:} false; then :
4459 $as_echo_n "(cached) " >&6
4461 if test -n "$ac_ct_CXX"; then
4462 ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
4464 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4468 test -z "$as_dir" && as_dir=.
4469 for ac_exec_ext in '' $ac_executable_extensions; do
4470 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4471 ac_cv_prog_ac_ct_CXX="$ac_prog"
4472 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4481 ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
4482 if test -n "$ac_ct_CXX"; then
4483 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CXX" >&5
4484 $as_echo "$ac_ct_CXX" >&6; }
4486 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4487 $as_echo "no" >&6; }
4491 test -n "$ac_ct_CXX" && break
4494 if test "x$ac_ct_CXX" = x; then
4497 case $cross_compiling:$ac_tool_warned in
4499 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4500 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4501 ac_tool_warned=yes ;;
4509 # Provide some information about the compiler.
4510 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C++ compiler version" >&5
4513 for ac_option in --version -v -V -qversion; do
4514 { { ac_try="$ac_compiler $ac_option >&5"
4516 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
4517 *) ac_try_echo
=$ac_try;;
4519 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4520 $as_echo "$ac_try_echo"; } >&5
4521 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
4523 if test -s conftest.err
; then
4525 ... rest of stderr output deleted ...
4526 10q' conftest.err
>conftest.er1
4527 cat conftest.er1
>&5
4529 rm -f conftest.er1 conftest.err
4530 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4531 test $ac_status = 0; }
4534 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C++ compiler" >&5
4535 $as_echo_n "checking whether we are using the GNU C++ compiler... " >&6; }
4536 if ${ac_cv_cxx_compiler_gnu+:} false
; then :
4537 $as_echo_n "(cached) " >&6
4539 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4540 /* end confdefs.h. */
4553 if ac_fn_cxx_try_compile
"$LINENO"; then :
4558 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
4559 ac_cv_cxx_compiler_gnu
=$ac_compiler_gnu
4562 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cxx_compiler_gnu" >&5
4563 $as_echo "$ac_cv_cxx_compiler_gnu" >&6; }
4564 if test $ac_compiler_gnu = yes; then
4569 ac_test_CXXFLAGS
=${CXXFLAGS+set}
4570 ac_save_CXXFLAGS
=$CXXFLAGS
4571 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CXX accepts -g" >&5
4572 $as_echo_n "checking whether $CXX accepts -g... " >&6; }
4573 if ${ac_cv_prog_cxx_g+:} false
; then :
4574 $as_echo_n "(cached) " >&6
4576 ac_save_cxx_werror_flag
=$ac_cxx_werror_flag
4577 ac_cxx_werror_flag
=yes
4580 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4581 /* end confdefs.h. */
4591 if ac_fn_cxx_try_compile
"$LINENO"; then :
4592 ac_cv_prog_cxx_g
=yes
4595 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4596 /* end confdefs.h. */
4606 if ac_fn_cxx_try_compile
"$LINENO"; then :
4609 ac_cxx_werror_flag
=$ac_save_cxx_werror_flag
4611 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4612 /* end confdefs.h. */
4622 if ac_fn_cxx_try_compile
"$LINENO"; then :
4623 ac_cv_prog_cxx_g
=yes
4625 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
4627 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
4629 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
4630 ac_cxx_werror_flag
=$ac_save_cxx_werror_flag
4632 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cxx_g" >&5
4633 $as_echo "$ac_cv_prog_cxx_g" >&6; }
4634 if test "$ac_test_CXXFLAGS" = set; then
4635 CXXFLAGS
=$ac_save_CXXFLAGS
4636 elif test $ac_cv_prog_cxx_g = yes; then
4637 if test "$GXX" = yes; then
4643 if test "$GXX" = yes; then
4650 ac_cpp
='$CPP $CPPFLAGS'
4651 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4652 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4653 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
4655 if test -n "$ac_tool_prefix"; then
4656 # Extract the first word of "${ac_tool_prefix}cpp", so it can be a program name with args.
4657 set dummy
${ac_tool_prefix}cpp
; ac_word
=$2
4658 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4659 $as_echo_n "checking for $ac_word... " >&6; }
4660 if ${ac_cv_prog_CPPBIN+:} false
; then :
4661 $as_echo_n "(cached) " >&6
4663 if test -n "$CPPBIN"; then
4664 ac_cv_prog_CPPBIN
="$CPPBIN" # Let the user override the test.
4666 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4670 test -z "$as_dir" && as_dir
=.
4671 for ac_exec_ext
in '' $ac_executable_extensions; do
4672 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
4673 ac_cv_prog_CPPBIN
="${ac_tool_prefix}cpp"
4674 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4683 CPPBIN
=$ac_cv_prog_CPPBIN
4684 if test -n "$CPPBIN"; then
4685 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPPBIN" >&5
4686 $as_echo "$CPPBIN" >&6; }
4688 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4689 $as_echo "no" >&6; }
4694 if test -z "$ac_cv_prog_CPPBIN"; then
4695 ac_ct_CPPBIN
=$CPPBIN
4696 # Extract the first word of "cpp", so it can be a program name with args.
4697 set dummy cpp
; ac_word
=$2
4698 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4699 $as_echo_n "checking for $ac_word... " >&6; }
4700 if ${ac_cv_prog_ac_ct_CPPBIN+:} false
; then :
4701 $as_echo_n "(cached) " >&6
4703 if test -n "$ac_ct_CPPBIN"; then
4704 ac_cv_prog_ac_ct_CPPBIN
="$ac_ct_CPPBIN" # Let the user override the test.
4706 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4710 test -z "$as_dir" && as_dir
=.
4711 for ac_exec_ext
in '' $ac_executable_extensions; do
4712 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
4713 ac_cv_prog_ac_ct_CPPBIN
="cpp"
4714 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4723 ac_ct_CPPBIN
=$ac_cv_prog_ac_ct_CPPBIN
4724 if test -n "$ac_ct_CPPBIN"; then
4725 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CPPBIN" >&5
4726 $as_echo "$ac_ct_CPPBIN" >&6; }
4728 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4729 $as_echo "no" >&6; }
4732 if test "x$ac_ct_CPPBIN" = x
; then
4735 case $cross_compiling:$ac_tool_warned in
4737 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4738 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4739 ac_tool_warned
=yes ;;
4741 CPPBIN
=$ac_ct_CPPBIN
4744 CPPBIN
="$ac_cv_prog_CPPBIN"
4748 cat >>confdefs.h
<<_ACEOF
4749 #define EXEEXT "$ac_exeext"
4752 if test -n "$ac_tool_prefix"; then
4753 # Extract the first word of "${ac_tool_prefix}ld", so it can be a program name with args.
4754 set dummy
${ac_tool_prefix}ld
; ac_word
=$2
4755 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4756 $as_echo_n "checking for $ac_word... " >&6; }
4757 if ${ac_cv_prog_LD+:} false
; then :
4758 $as_echo_n "(cached) " >&6
4760 if test -n "$LD"; then
4761 ac_cv_prog_LD
="$LD" # Let the user override the test.
4763 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4767 test -z "$as_dir" && as_dir
=.
4768 for ac_exec_ext
in '' $ac_executable_extensions; do
4769 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
4770 ac_cv_prog_LD
="${ac_tool_prefix}ld"
4771 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4781 if test -n "$LD"; then
4782 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
4783 $as_echo "$LD" >&6; }
4785 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4786 $as_echo "no" >&6; }
4791 if test -z "$ac_cv_prog_LD"; then
4793 # Extract the first word of "ld", so it can be a program name with args.
4794 set dummy ld
; ac_word
=$2
4795 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4796 $as_echo_n "checking for $ac_word... " >&6; }
4797 if ${ac_cv_prog_ac_ct_LD+:} false
; then :
4798 $as_echo_n "(cached) " >&6
4800 if test -n "$ac_ct_LD"; then
4801 ac_cv_prog_ac_ct_LD
="$ac_ct_LD" # Let the user override the test.
4803 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4807 test -z "$as_dir" && as_dir
=.
4808 for ac_exec_ext
in '' $ac_executable_extensions; do
4809 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
4810 ac_cv_prog_ac_ct_LD
="ld"
4811 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4820 ac_ct_LD
=$ac_cv_prog_ac_ct_LD
4821 if test -n "$ac_ct_LD"; then
4822 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_LD" >&5
4823 $as_echo "$ac_ct_LD" >&6; }
4825 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4826 $as_echo "no" >&6; }
4829 if test "x$ac_ct_LD" = x
; then
4832 case $cross_compiling:$ac_tool_warned in
4834 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4835 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4836 ac_tool_warned
=yes ;;
4847 if test "x$enable_win64" = "xyes"
4852 notice_platform
="64-bit "
4859 notice_platform
="32-bit "
4862 enable_win16
=${enable_win16:-yes}
4864 with_fontconfig
=${with_fontconfig:-no}
4867 if test "x$enable_win64" != "xyes" -a "$cross_compiling" != "yes"
4871 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC works" >&5
4872 $as_echo_n "checking whether $CC works... " >&6; }
4874 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4875 /* end confdefs.h. */
4885 if ac_fn_c_try_link
"$LINENO"; then :
4886 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4887 $as_echo "yes" >&6; }
4889 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4890 $as_echo "no" >&6; }
4891 as_fn_error $?
"Cannot build a 32-bit program, you need to install 32-bit development libraries." "$LINENO" 5
4893 rm -f core conftest.err conftest.
$ac_objext \
4894 conftest
$ac_exeext conftest.
$ac_ext
4896 notice_platform
="32-bit "
4899 enable_win16
=${enable_win16:-yes}
4901 if test "x${GCC}" = "xyes"
4903 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC supports __builtin_ms_va_list" >&5
4904 $as_echo_n "checking whether $CC supports __builtin_ms_va_list... " >&6; }
4905 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4906 /* end confdefs.h. */
4911 void func(__builtin_ms_va_list *args);
4916 if ac_fn_c_try_compile
"$LINENO"; then :
4917 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4918 $as_echo "yes" >&6; }
4920 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4921 $as_echo "no" >&6; }
4922 as_fn_error $?
"You need gcc >= 4.4 to build Wine as 64-bit." "$LINENO" 5
4924 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
4931 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC supports Thumb" >&5
4932 $as_echo_n "checking whether $CC supports Thumb... " >&6; }
4933 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4934 /* end confdefs.h. */
4935 int ac_test(int i) { return i; }
4939 asm(".thumb\nblx ac_test\n.arm"); if (ac_test(1)) return 1
4944 if ac_fn_c_try_link
"$LINENO"; then :
4945 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4946 $as_echo "yes" >&6; }
4948 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4949 $as_echo "no" >&6; }
4950 as_fn_error $?
"You need a target with Thumb support to build Wine for ARM." "$LINENO" 5
4952 rm -f core conftest.err conftest.
$ac_objext \
4953 conftest
$ac_exeext conftest.
$ac_ext
4954 CFLAGS
="$CFLAGS -marm"
4958 *-mingw32*|
*-cygwin*)
4959 enable_win16
=${enable_win16:-no}
4960 CFLAGS
="$CFLAGS -D_WIN32"
4963 enable_win16
=${enable_win16:-yes}
4967 enable_win16
=${enable_win16:-no}
4968 enable_win64
=${enable_win64:-no}
4970 enable_winetest
=${enable_winetest:-$enable_tests}
4972 if test -n "$with_wine64"
4974 if test "x$enable_win64" = "xyes"
4976 as_fn_error $?
"--enable-win64 and --with-wine64 are mutually exclusive.
4977 --enable-win64 should be used in the 64-bit build tree, --with-wine64 in the 32-bit Wow64 build tree." "$LINENO" 5
4979 enable_fonts
=${enable_fonts:-no}
4980 enable_server
=${enable_server:-no}
4981 elif test "x$enable_win64" = "xyes"
4983 test "x$libdir" != "x\${exec_prefix}/lib" || libdir
="\${exec_prefix}/lib64"
4986 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for the directory containing the Wine tools" >&5
4987 $as_echo_n "checking for the directory containing the Wine tools... " >&6; }
4988 if ${wine_cv_toolsdir+:} false
; then :
4989 $as_echo_n "(cached) " >&6
4991 wine_cv_toolsdir
="$with_wine_tools"
4992 if test -z "$with_wine_tools"; then
4993 if test "$cross_compiling" = "yes"; then
4994 as_fn_error $?
"you must use the --with-wine-tools option when cross-compiling." "$LINENO" 5
4995 elif test -n "$with_wine64"; then
4996 wine_cv_toolsdir
="$with_wine64"
4999 if test -z "$wine_cv_toolsdir"; then
5000 wine_makedep
=tools
/makedep
5001 wine_cv_toolsdir
="\$(top_builddir)"
5002 elif test -d "$wine_cv_toolsdir/tools/winebuild"; then
5003 wine_makedep
=$wine_cv_toolsdir/tools
/makedep
5004 case "$wine_cv_toolsdir" in
5006 *) wine_cv_toolsdir
="\$(top_builddir)/$wine_cv_toolsdir" ;;
5008 enable_tools
=${enable_tools:-no}
5009 test -f "$wine_makedep" || as_fn_error $?
"the Wine tools have not yet been built in $wine_cv_toolsdir" "$LINENO" 5
5011 as_fn_error $?
"could not find Wine tools in $wine_cv_toolsdir" "$LINENO" 5
5014 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_toolsdir" >&5
5015 $as_echo "$wine_cv_toolsdir" >&6; }
5016 TOOLSDIR
=$wine_cv_toolsdir
5018 if test -n "$host_alias" -a "$host_alias" != "$build_alias"
5020 TARGETFLAGS
="-b $host_alias $TARGETFLAGS"
5026 # Extract the first word of "$ac_prog", so it can be a program name with args.
5027 set dummy
$ac_prog; ac_word
=$2
5028 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5029 $as_echo_n "checking for $ac_word... " >&6; }
5030 if ${ac_cv_prog_FLEX+:} false
; then :
5031 $as_echo_n "(cached) " >&6
5033 if test -n "$FLEX"; then
5034 ac_cv_prog_FLEX
="$FLEX" # Let the user override the test.
5036 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5040 test -z "$as_dir" && as_dir
=.
5041 for ac_exec_ext
in '' $ac_executable_extensions; do
5042 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
5043 ac_cv_prog_FLEX
="$ac_prog"
5044 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5053 FLEX
=$ac_cv_prog_FLEX
5054 if test -n "$FLEX"; then
5055 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $FLEX" >&5
5056 $as_echo "$FLEX" >&6; }
5058 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5059 $as_echo "no" >&6; }
5063 test -n "$FLEX" && break
5065 test -n "$FLEX" || FLEX
="none"
5067 if test "$FLEX" = "none"
5069 as_fn_error $?
"no suitable flex found. Please install the 'flex' package." "$LINENO" 5
5071 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether flex is recent enough" >&5
5072 $as_echo_n "checking whether flex is recent enough... " >&6; }
5073 cat >conftest.l
<<EOF
5075 #include "prediluvian.h"
5079 if $FLEX -t conftest.l
>/dev
/null
2>&5
5081 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5082 $as_echo "yes" >&6; }
5084 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5085 $as_echo "no" >&6; }
5086 as_fn_error $?
"Your flex version is too old. Please install flex version 2.5.33 or newer." "$LINENO" 5
5089 for ac_prog
in bison
5091 # Extract the first word of "$ac_prog", so it can be a program name with args.
5092 set dummy
$ac_prog; ac_word
=$2
5093 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5094 $as_echo_n "checking for $ac_word... " >&6; }
5095 if ${ac_cv_prog_BISON+:} false
; then :
5096 $as_echo_n "(cached) " >&6
5098 if test -n "$BISON"; then
5099 ac_cv_prog_BISON
="$BISON" # Let the user override the test.
5101 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5105 test -z "$as_dir" && as_dir
=.
5106 for ac_exec_ext
in '' $ac_executable_extensions; do
5107 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
5108 ac_cv_prog_BISON
="$ac_prog"
5109 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5118 BISON
=$ac_cv_prog_BISON
5119 if test -n "$BISON"; then
5120 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $BISON" >&5
5121 $as_echo "$BISON" >&6; }
5123 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5124 $as_echo "no" >&6; }
5128 test -n "$BISON" && break
5130 test -n "$BISON" || BISON
="none"
5132 if test "$BISON" = "none"
5134 as_fn_error $?
"no suitable bison found. Please install the 'bison' package." "$LINENO" 5
5137 if test -n "$ac_tool_prefix"; then
5138 for ac_prog
in ar gar
5140 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
5141 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
5142 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5143 $as_echo_n "checking for $ac_word... " >&6; }
5144 if ${ac_cv_prog_AR+:} false
; then :
5145 $as_echo_n "(cached) " >&6
5147 if test -n "$AR"; then
5148 ac_cv_prog_AR
="$AR" # Let the user override the test.
5150 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5154 test -z "$as_dir" && as_dir
=.
5155 for ac_exec_ext
in '' $ac_executable_extensions; do
5156 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
5157 ac_cv_prog_AR
="$ac_tool_prefix$ac_prog"
5158 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5168 if test -n "$AR"; then
5169 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
5170 $as_echo "$AR" >&6; }
5172 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5173 $as_echo "no" >&6; }
5177 test -n "$AR" && break
5180 if test -z "$AR"; then
5182 for ac_prog
in ar gar
5184 # Extract the first word of "$ac_prog", so it can be a program name with args.
5185 set dummy
$ac_prog; ac_word
=$2
5186 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5187 $as_echo_n "checking for $ac_word... " >&6; }
5188 if ${ac_cv_prog_ac_ct_AR+:} false
; then :
5189 $as_echo_n "(cached) " >&6
5191 if test -n "$ac_ct_AR"; then
5192 ac_cv_prog_ac_ct_AR
="$ac_ct_AR" # Let the user override the test.
5194 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5198 test -z "$as_dir" && as_dir
=.
5199 for ac_exec_ext
in '' $ac_executable_extensions; do
5200 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
5201 ac_cv_prog_ac_ct_AR
="$ac_prog"
5202 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5211 ac_ct_AR
=$ac_cv_prog_ac_ct_AR
5212 if test -n "$ac_ct_AR"; then
5213 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5
5214 $as_echo "$ac_ct_AR" >&6; }
5216 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5217 $as_echo "no" >&6; }
5221 test -n "$ac_ct_AR" && break
5224 if test "x$ac_ct_AR" = x
; then
5227 case $cross_compiling:$ac_tool_warned in
5229 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5230 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5231 ac_tool_warned
=yes ;;
5237 if test -n "$ac_tool_prefix"; then
5238 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
5239 set dummy
${ac_tool_prefix}strip
; ac_word
=$2
5240 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5241 $as_echo_n "checking for $ac_word... " >&6; }
5242 if ${ac_cv_prog_STRIP+:} false
; then :
5243 $as_echo_n "(cached) " >&6
5245 if test -n "$STRIP"; then
5246 ac_cv_prog_STRIP
="$STRIP" # Let the user override the test.
5248 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5252 test -z "$as_dir" && as_dir
=.
5253 for ac_exec_ext
in '' $ac_executable_extensions; do
5254 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
5255 ac_cv_prog_STRIP
="${ac_tool_prefix}strip"
5256 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5265 STRIP
=$ac_cv_prog_STRIP
5266 if test -n "$STRIP"; then
5267 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
5268 $as_echo "$STRIP" >&6; }
5270 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5271 $as_echo "no" >&6; }
5276 if test -z "$ac_cv_prog_STRIP"; then
5278 # Extract the first word of "strip", so it can be a program name with args.
5279 set dummy strip
; ac_word
=$2
5280 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5281 $as_echo_n "checking for $ac_word... " >&6; }
5282 if ${ac_cv_prog_ac_ct_STRIP+:} false
; then :
5283 $as_echo_n "(cached) " >&6
5285 if test -n "$ac_ct_STRIP"; then
5286 ac_cv_prog_ac_ct_STRIP
="$ac_ct_STRIP" # Let the user override the test.
5288 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5292 test -z "$as_dir" && as_dir
=.
5293 for ac_exec_ext
in '' $ac_executable_extensions; do
5294 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
5295 ac_cv_prog_ac_ct_STRIP
="strip"
5296 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5305 ac_ct_STRIP
=$ac_cv_prog_ac_ct_STRIP
5306 if test -n "$ac_ct_STRIP"; then
5307 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
5308 $as_echo "$ac_ct_STRIP" >&6; }
5310 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5311 $as_echo "no" >&6; }
5314 if test "x$ac_ct_STRIP" = x
; then
5317 case $cross_compiling:$ac_tool_warned in
5319 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5320 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5321 ac_tool_warned
=yes ;;
5326 STRIP
="$ac_cv_prog_STRIP"
5331 if test -n "$ac_tool_prefix"; then
5332 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
5333 set dummy
${ac_tool_prefix}ranlib
; ac_word
=$2
5334 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5335 $as_echo_n "checking for $ac_word... " >&6; }
5336 if ${ac_cv_prog_RANLIB+:} false
; then :
5337 $as_echo_n "(cached) " >&6
5339 if test -n "$RANLIB"; then
5340 ac_cv_prog_RANLIB
="$RANLIB" # Let the user override the test.
5342 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5346 test -z "$as_dir" && as_dir
=.
5347 for ac_exec_ext
in '' $ac_executable_extensions; do
5348 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
5349 ac_cv_prog_RANLIB
="${ac_tool_prefix}ranlib"
5350 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5359 RANLIB
=$ac_cv_prog_RANLIB
5360 if test -n "$RANLIB"; then
5361 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
5362 $as_echo "$RANLIB" >&6; }
5364 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5365 $as_echo "no" >&6; }
5370 if test -z "$ac_cv_prog_RANLIB"; then
5371 ac_ct_RANLIB
=$RANLIB
5372 # Extract the first word of "ranlib", so it can be a program name with args.
5373 set dummy ranlib
; ac_word
=$2
5374 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5375 $as_echo_n "checking for $ac_word... " >&6; }
5376 if ${ac_cv_prog_ac_ct_RANLIB+:} false
; then :
5377 $as_echo_n "(cached) " >&6
5379 if test -n "$ac_ct_RANLIB"; then
5380 ac_cv_prog_ac_ct_RANLIB
="$ac_ct_RANLIB" # Let the user override the test.
5382 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5386 test -z "$as_dir" && as_dir
=.
5387 for ac_exec_ext
in '' $ac_executable_extensions; do
5388 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
5389 ac_cv_prog_ac_ct_RANLIB
="ranlib"
5390 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5399 ac_ct_RANLIB
=$ac_cv_prog_ac_ct_RANLIB
5400 if test -n "$ac_ct_RANLIB"; then
5401 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
5402 $as_echo "$ac_ct_RANLIB" >&6; }
5404 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5405 $as_echo "no" >&6; }
5408 if test "x$ac_ct_RANLIB" = x
; then
5411 case $cross_compiling:$ac_tool_warned in
5413 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5414 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5415 ac_tool_warned
=yes ;;
5417 RANLIB
=$ac_ct_RANLIB
5420 RANLIB
="$ac_cv_prog_RANLIB"
5423 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5
5424 $as_echo_n "checking whether ln -s works... " >&6; }
5426 if test "$LN_S" = "ln -s"; then
5427 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5428 $as_echo "yes" >&6; }
5430 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5
5431 $as_echo "no, using $LN_S" >&6; }
5434 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
5435 $as_echo_n "checking for grep that handles long lines and -e... " >&6; }
5436 if ${ac_cv_path_GREP+:} false
; then :
5437 $as_echo_n "(cached) " >&6
5439 if test -z "$GREP"; then
5440 ac_path_GREP_found
=false
5441 # Loop through the user's path and test for each of PROGNAME-LIST
5442 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5443 for as_dir
in $PATH$PATH_SEPARATOR/usr
/xpg
4/bin
5446 test -z "$as_dir" && as_dir
=.
5447 for ac_prog
in grep ggrep
; do
5448 for ac_exec_ext
in '' $ac_executable_extensions; do
5449 ac_path_GREP
="$as_dir/$ac_prog$ac_exec_ext"
5450 as_fn_executable_p
"$ac_path_GREP" ||
continue
5451 # Check for GNU ac_path_GREP and select it if it is found.
5452 # Check for GNU $ac_path_GREP
5453 case `"$ac_path_GREP" --version 2>&1` in
5455 ac_cv_path_GREP
="$ac_path_GREP" ac_path_GREP_found
=:;;
5458 $as_echo_n 0123456789 >"conftest.in"
5461 cat "conftest.in" "conftest.in" >"conftest.tmp"
5462 mv "conftest.tmp" "conftest.in"
5463 cp "conftest.in" "conftest.nl"
5464 $as_echo 'GREP' >> "conftest.nl"
5465 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev
/null ||
break
5466 diff "conftest.out" "conftest.nl" >/dev
/null
2>&1 ||
break
5467 as_fn_arith
$ac_count + 1 && ac_count
=$as_val
5468 if test $ac_count -gt ${ac_path_GREP_max-0}; then
5469 # Best one so far, save it but keep looking for a better one
5470 ac_cv_path_GREP
="$ac_path_GREP"
5471 ac_path_GREP_max
=$ac_count
5473 # 10*(2^10) chars as input seems more than enough
5474 test $ac_count -gt 10 && break
5476 rm -f conftest.
in conftest.tmp conftest.
nl conftest.out
;;
5479 $ac_path_GREP_found && break 3
5484 if test -z "$ac_cv_path_GREP"; then
5485 as_fn_error $?
"no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
5488 ac_cv_path_GREP
=$GREP
5492 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
5493 $as_echo "$ac_cv_path_GREP" >&6; }
5494 GREP
="$ac_cv_path_GREP"
5497 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
5498 $as_echo_n "checking for egrep... " >&6; }
5499 if ${ac_cv_path_EGREP+:} false
; then :
5500 $as_echo_n "(cached) " >&6
5502 if echo a |
$GREP -E '(a|b)' >/dev
/null
2>&1
5503 then ac_cv_path_EGREP
="$GREP -E"
5505 if test -z "$EGREP"; then
5506 ac_path_EGREP_found
=false
5507 # Loop through the user's path and test for each of PROGNAME-LIST
5508 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5509 for as_dir
in $PATH$PATH_SEPARATOR/usr
/xpg
4/bin
5512 test -z "$as_dir" && as_dir
=.
5513 for ac_prog
in egrep; do
5514 for ac_exec_ext
in '' $ac_executable_extensions; do
5515 ac_path_EGREP
="$as_dir/$ac_prog$ac_exec_ext"
5516 as_fn_executable_p
"$ac_path_EGREP" ||
continue
5517 # Check for GNU ac_path_EGREP and select it if it is found.
5518 # Check for GNU $ac_path_EGREP
5519 case `"$ac_path_EGREP" --version 2>&1` in
5521 ac_cv_path_EGREP
="$ac_path_EGREP" ac_path_EGREP_found
=:;;
5524 $as_echo_n 0123456789 >"conftest.in"
5527 cat "conftest.in" "conftest.in" >"conftest.tmp"
5528 mv "conftest.tmp" "conftest.in"
5529 cp "conftest.in" "conftest.nl"
5530 $as_echo 'EGREP' >> "conftest.nl"
5531 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev
/null ||
break
5532 diff "conftest.out" "conftest.nl" >/dev
/null
2>&1 ||
break
5533 as_fn_arith
$ac_count + 1 && ac_count
=$as_val
5534 if test $ac_count -gt ${ac_path_EGREP_max-0}; then
5535 # Best one so far, save it but keep looking for a better one
5536 ac_cv_path_EGREP
="$ac_path_EGREP"
5537 ac_path_EGREP_max
=$ac_count
5539 # 10*(2^10) chars as input seems more than enough
5540 test $ac_count -gt 10 && break
5542 rm -f conftest.
in conftest.tmp conftest.
nl conftest.out
;;
5545 $ac_path_EGREP_found && break 3
5550 if test -z "$ac_cv_path_EGREP"; then
5551 as_fn_error $?
"no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
5554 ac_cv_path_EGREP
=$EGREP
5559 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
5560 $as_echo "$ac_cv_path_EGREP" >&6; }
5561 EGREP
="$ac_cv_path_EGREP"
5564 # Extract the first word of "ldconfig", so it can be a program name with args.
5565 set dummy ldconfig
; ac_word
=$2
5566 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5567 $as_echo_n "checking for $ac_word... " >&6; }
5568 if ${ac_cv_path_LDCONFIG+:} false
; then :
5569 $as_echo_n "(cached) " >&6
5573 ac_cv_path_LDCONFIG
="$LDCONFIG" # Let the user override the test with a path.
5576 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5577 for as_dir
in /sbin
/usr
/sbin
$PATH
5580 test -z "$as_dir" && as_dir
=.
5581 for ac_exec_ext
in '' $ac_executable_extensions; do
5582 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
5583 ac_cv_path_LDCONFIG
="$as_dir/$ac_word$ac_exec_ext"
5584 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5591 test -z "$ac_cv_path_LDCONFIG" && ac_cv_path_LDCONFIG
="true"
5595 LDCONFIG
=$ac_cv_path_LDCONFIG
5596 if test -n "$LDCONFIG"; then
5597 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LDCONFIG" >&5
5598 $as_echo "$LDCONFIG" >&6; }
5600 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5601 $as_echo "no" >&6; }
5605 for ac_prog
in msgfmt
5607 # Extract the first word of "$ac_prog", so it can be a program name with args.
5608 set dummy
$ac_prog; ac_word
=$2
5609 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5610 $as_echo_n "checking for $ac_word... " >&6; }
5611 if ${ac_cv_prog_MSGFMT+:} false
; then :
5612 $as_echo_n "(cached) " >&6
5614 if test -n "$MSGFMT"; then
5615 ac_cv_prog_MSGFMT
="$MSGFMT" # Let the user override the test.
5617 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5621 test -z "$as_dir" && as_dir
=.
5622 for ac_exec_ext
in '' $ac_executable_extensions; do
5623 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
5624 ac_cv_prog_MSGFMT
="$ac_prog"
5625 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5634 MSGFMT
=$ac_cv_prog_MSGFMT
5635 if test -n "$MSGFMT"; then
5636 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MSGFMT" >&5
5637 $as_echo "$MSGFMT" >&6; }
5639 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5640 $as_echo "no" >&6; }
5644 test -n "$MSGFMT" && break
5646 test -n "$MSGFMT" || MSGFMT
="false"
5648 if ${ac_tool_prefix+:} false
; then :
5649 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
5650 set dummy
${ac_tool_prefix}pkg-config
; ac_word
=$2
5651 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5652 $as_echo_n "checking for $ac_word... " >&6; }
5653 if ${ac_cv_prog_PKG_CONFIG+:} false
; then :
5654 $as_echo_n "(cached) " >&6
5656 if test -n "$PKG_CONFIG"; then
5657 ac_cv_prog_PKG_CONFIG
="$PKG_CONFIG" # Let the user override the test.
5659 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5663 test -z "$as_dir" && as_dir
=.
5664 for ac_exec_ext
in '' $ac_executable_extensions; do
5665 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
5666 ac_cv_prog_PKG_CONFIG
="${ac_tool_prefix}pkg-config"
5667 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5676 PKG_CONFIG
=$ac_cv_prog_PKG_CONFIG
5677 if test -n "$PKG_CONFIG"; then
5678 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
5679 $as_echo "$PKG_CONFIG" >&6; }
5681 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5682 $as_echo "no" >&6; }
5687 if ${ac_cv_prog_PKG_CONFIG:+false} :; then :
5688 if test "x$cross_compiling" = xyes
; then :
5691 { ac_cv_prog_PKG_CONFIG
=; unset ac_cv_prog_PKG_CONFIG
;}
5692 # Extract the first word of "pkg-config", so it can be a program name with args.
5693 set dummy pkg-config
; ac_word
=$2
5694 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5695 $as_echo_n "checking for $ac_word... " >&6; }
5696 if ${ac_cv_prog_PKG_CONFIG+:} false
; then :
5697 $as_echo_n "(cached) " >&6
5699 if test -n "$PKG_CONFIG"; then
5700 ac_cv_prog_PKG_CONFIG
="$PKG_CONFIG" # Let the user override the test.
5702 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5706 test -z "$as_dir" && as_dir
=.
5707 for ac_exec_ext
in '' $ac_executable_extensions; do
5708 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
5709 ac_cv_prog_PKG_CONFIG
="pkg-config"
5710 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5719 PKG_CONFIG
=$ac_cv_prog_PKG_CONFIG
5720 if test -n "$PKG_CONFIG"; then
5721 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
5722 $as_echo "$PKG_CONFIG" >&6; }
5724 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5725 $as_echo "no" >&6; }
5731 PKG_CONFIG
=$ac_cv_prog_PKG_CONFIG
5734 if test "x$enable_maintainer_mode" != "xyes"
5741 test "$srcdir" = . || as_fn_error $?
"Maintainer mode cannot work out of tree." "$LINENO" 5
5742 for ac_prog
in fontforge
5744 # Extract the first word of "$ac_prog", so it can be a program name with args.
5745 set dummy
$ac_prog; ac_word
=$2
5746 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5747 $as_echo_n "checking for $ac_word... " >&6; }
5748 if ${ac_cv_prog_FONTFORGE+:} false
; then :
5749 $as_echo_n "(cached) " >&6
5751 if test -n "$FONTFORGE"; then
5752 ac_cv_prog_FONTFORGE
="$FONTFORGE" # Let the user override the test.
5754 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5758 test -z "$as_dir" && as_dir
=.
5759 for ac_exec_ext
in '' $ac_executable_extensions; do
5760 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
5761 ac_cv_prog_FONTFORGE
="$ac_prog"
5762 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5771 FONTFORGE
=$ac_cv_prog_FONTFORGE
5772 if test -n "$FONTFORGE"; then
5773 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $FONTFORGE" >&5
5774 $as_echo "$FONTFORGE" >&6; }
5776 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5777 $as_echo "no" >&6; }
5781 test -n "$FONTFORGE" && break
5783 test -n "$FONTFORGE" || FONTFORGE
="false"
5785 for ac_prog
in rsvg-convert rsvg
5787 # Extract the first word of "$ac_prog", so it can be a program name with args.
5788 set dummy
$ac_prog; ac_word
=$2
5789 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5790 $as_echo_n "checking for $ac_word... " >&6; }
5791 if ${ac_cv_prog_RSVG+:} false
; then :
5792 $as_echo_n "(cached) " >&6
5794 if test -n "$RSVG"; then
5795 ac_cv_prog_RSVG
="$RSVG" # Let the user override the test.
5797 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5801 test -z "$as_dir" && as_dir
=.
5802 for ac_exec_ext
in '' $ac_executable_extensions; do
5803 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
5804 ac_cv_prog_RSVG
="$ac_prog"
5805 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5814 RSVG
=$ac_cv_prog_RSVG
5815 if test -n "$RSVG"; then
5816 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RSVG" >&5
5817 $as_echo "$RSVG" >&6; }
5819 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5820 $as_echo "no" >&6; }
5824 test -n "$RSVG" && break
5826 test -n "$RSVG" || RSVG
="false"
5828 for ac_prog
in convert
5830 # Extract the first word of "$ac_prog", so it can be a program name with args.
5831 set dummy
$ac_prog; ac_word
=$2
5832 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5833 $as_echo_n "checking for $ac_word... " >&6; }
5834 if ${ac_cv_prog_CONVERT+:} false
; then :
5835 $as_echo_n "(cached) " >&6
5837 if test -n "$CONVERT"; then
5838 ac_cv_prog_CONVERT
="$CONVERT" # Let the user override the test.
5840 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5844 test -z "$as_dir" && as_dir
=.
5845 for ac_exec_ext
in '' $ac_executable_extensions; do
5846 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
5847 ac_cv_prog_CONVERT
="$ac_prog"
5848 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5857 CONVERT
=$ac_cv_prog_CONVERT
5858 if test -n "$CONVERT"; then
5859 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CONVERT" >&5
5860 $as_echo "$CONVERT" >&6; }
5862 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5863 $as_echo "no" >&6; }
5867 test -n "$CONVERT" && break
5869 test -n "$CONVERT" || CONVERT
="false"
5871 for ac_prog
in icotool
5873 # Extract the first word of "$ac_prog", so it can be a program name with args.
5874 set dummy
$ac_prog; ac_word
=$2
5875 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5876 $as_echo_n "checking for $ac_word... " >&6; }
5877 if ${ac_cv_prog_ICOTOOL+:} false
; then :
5878 $as_echo_n "(cached) " >&6
5880 if test -n "$ICOTOOL"; then
5881 ac_cv_prog_ICOTOOL
="$ICOTOOL" # Let the user override the test.
5883 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5887 test -z "$as_dir" && as_dir
=.
5888 for ac_exec_ext
in '' $ac_executable_extensions; do
5889 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
5890 ac_cv_prog_ICOTOOL
="$ac_prog"
5891 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5900 ICOTOOL
=$ac_cv_prog_ICOTOOL
5901 if test -n "$ICOTOOL"; then
5902 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ICOTOOL" >&5
5903 $as_echo "$ICOTOOL" >&6; }
5905 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5906 $as_echo "no" >&6; }
5910 test -n "$ICOTOOL" && break
5912 test -n "$ICOTOOL" || ICOTOOL
="false"
5914 test "$FONTFORGE" != "false" || as_fn_error $?
"You need fontforge to rebuild fonts in maintainer mode." "$LINENO" 5
5915 test "$RSVG" != "false" || as_fn_error $?
"You need rsvg to rebuild icons in maintainer mode." "$LINENO" 5
5917 if test "$CONVERT" = false
5919 as_fn_error $?
"You need imagemagick to rebuild icons in maintainer mode." "$LINENO" 5
5921 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for recent enough imagemagick" >&5
5922 $as_echo_n "checking for recent enough imagemagick... " >&6; }
5923 convert_version
=`convert --version | head -n1`
5924 if test "x$convert_version" != "x"
5926 convert_version_major
=`expr "$convert_version" : '.* \([0-9]*\)\.[0-9]*'`
5927 convert_version_minor
=`expr "$convert_version" : '.* [0-9]*\.\([0-9]*\)'`
5928 if test "$convert_version_major" -eq 6 -a "$convert_version_minor" -lt 6
5933 if test "$CONVERT" = false
5935 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no ($convert_version_major.$convert_version_minor)" >&5
5936 $as_echo "no ($convert_version_major.$convert_version_minor)" >&6; }
5937 as_fn_error $?
"You need imagemagick version 6.6 or newer to rebuild icons in maintainer mode." "$LINENO" 5
5939 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes ($convert_version_major.$convert_version_minor)" >&5
5940 $as_echo "yes ($convert_version_major.$convert_version_minor)" >&6; }
5944 if test "$ICOTOOL" = false
5946 as_fn_error $?
"You need icotool to rebuild icons in maintainer mode." "$LINENO" 5
5948 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for recent enough icotool" >&5
5949 $as_echo_n "checking for recent enough icotool... " >&6; }
5950 icotool_version
=`icotool --version | head -n1`
5951 if test "x$icotool_version" != "x"
5953 icotool_version_major
=`expr "$icotool_version" : '.* \([0-9]*\)\.[0-9]*'`
5954 icotool_version_minor
=`expr "$icotool_version" : '.* [0-9]*\.\([0-9]*\)'`
5955 if test "$icotool_version_major" -eq 0 -a "$icotool_version_minor" -lt 29
5958 as_fn_append wine_warnings
"|icotool version 0.29.0 or newer is needed to rebuild icons."
5961 if test "$ICOTOOL" = false
5963 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no ($icotool_version_major.$icotool_version_minor)" >&5
5964 $as_echo "no ($icotool_version_major.$icotool_version_minor)" >&6; }
5965 as_fn_error $?
"You need icotool version 0.29.0 or newer to rebuild icons in maintainer mode." "$LINENO" 5
5967 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes ($icotool_version_major.$icotool_version_minor)" >&5
5968 $as_echo "yes ($icotool_version_major.$icotool_version_minor)" >&6; }
5974 { ac_cv_header_gettext_po_h
=; unset ac_cv_header_gettext_po_h
;}
5977 test "x$with_gettext" != xno || MSGFMT
=false
5978 if test "$MSGFMT" != "false"
5980 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether msgfmt supports contexts" >&5
5981 $as_echo_n "checking whether msgfmt supports contexts... " >&6; }
5982 cat >conftest.po
<<EOF
5988 if $MSGFMT -o /dev
/null conftest.po
2>&5
5990 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5991 $as_echo "yes" >&6; }
5993 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5994 $as_echo "no" >&6; }
5998 if test "$MSGFMT" = false
; then :
5999 case "x$with_gettext" in
6000 x
) as_fn_append wine_warnings
"|gettext tools not found (or too old), translations won't be built." ;;
6002 *) as_fn_error $?
"gettext tools not found (or too old), translations won't be built.
6003 This is an error since --with-gettext was requested." "$LINENO" 5 ;;
6008 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for i386_set_ldt in -li386" >&5
6009 $as_echo_n "checking for i386_set_ldt in -li386... " >&6; }
6010 if ${ac_cv_lib_i386_i386_set_ldt+:} false
; then :
6011 $as_echo_n "(cached) " >&6
6013 ac_check_lib_save_LIBS
=$LIBS
6015 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6016 /* end confdefs.h. */
6018 /* Override any GCC internal prototype to avoid an error.
6019 Use char because int might match the return type of a GCC
6020 builtin and then its argument prototype would still apply. */
6024 char i386_set_ldt ();
6028 return i386_set_ldt ();
6033 if ac_fn_c_try_link
"$LINENO"; then :
6034 ac_cv_lib_i386_i386_set_ldt
=yes
6036 ac_cv_lib_i386_i386_set_ldt
=no
6038 rm -f core conftest.err conftest.
$ac_objext \
6039 conftest
$ac_exeext conftest.
$ac_ext
6040 LIBS
=$ac_check_lib_save_LIBS
6042 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_i386_i386_set_ldt" >&5
6043 $as_echo "$ac_cv_lib_i386_i386_set_ldt" >&6; }
6044 if test "x$ac_cv_lib_i386_i386_set_ldt" = xyes
; then :
6045 cat >>confdefs.h
<<_ACEOF
6046 #define HAVE_LIBI386 1
6053 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _oss_ioctl in -lossaudio" >&5
6054 $as_echo_n "checking for _oss_ioctl in -lossaudio... " >&6; }
6055 if ${ac_cv_lib_ossaudio__oss_ioctl+:} false
; then :
6056 $as_echo_n "(cached) " >&6
6058 ac_check_lib_save_LIBS
=$LIBS
6059 LIBS
="-lossaudio $LIBS"
6060 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6061 /* end confdefs.h. */
6063 /* Override any GCC internal prototype to avoid an error.
6064 Use char because int might match the return type of a GCC
6065 builtin and then its argument prototype would still apply. */
6073 return _oss_ioctl ();
6078 if ac_fn_c_try_link
"$LINENO"; then :
6079 ac_cv_lib_ossaudio__oss_ioctl
=yes
6081 ac_cv_lib_ossaudio__oss_ioctl
=no
6083 rm -f core conftest.err conftest.
$ac_objext \
6084 conftest
$ac_exeext conftest.
$ac_ext
6085 LIBS
=$ac_check_lib_save_LIBS
6087 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ossaudio__oss_ioctl" >&5
6088 $as_echo "$ac_cv_lib_ossaudio__oss_ioctl" >&6; }
6089 if test "x$ac_cv_lib_ossaudio__oss_ioctl" = xyes
; then :
6090 cat >>confdefs.h
<<_ACEOF
6091 #define HAVE_LIBOSSAUDIO 1
6094 LIBS
="-lossaudio $LIBS"
6103 # Check whether --enable-largefile was given.
6104 if test "${enable_largefile+set}" = set; then :
6105 enableval
=$enable_largefile;
6108 if test "$enable_largefile" != no
; then
6110 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for special C compiler options needed for large files" >&5
6111 $as_echo_n "checking for special C compiler options needed for large files... " >&6; }
6112 if ${ac_cv_sys_largefile_CC+:} false
; then :
6113 $as_echo_n "(cached) " >&6
6115 ac_cv_sys_largefile_CC
=no
6116 if test "$GCC" != yes; then
6119 # IRIX 6.2 and later do not support large files by default,
6120 # so use the C compiler's -n32 option if that helps.
6121 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6122 /* end confdefs.h. */
6123 #include <sys/types.h>
6124 /* Check that off_t can represent 2**63 - 1 correctly.
6125 We can't simply define LARGE_OFF_T to be 9223372036854775807,
6126 since some C++ compilers masquerading as C compilers
6127 incorrectly reject 9223372036854775807. */
6128 #define LARGE_OFF_T ((((off_t) 1 << 31) << 31) - 1 + (((off_t) 1 << 31) << 31))
6129 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
6130 && LARGE_OFF_T % 2147483647 == 1)
6140 if ac_fn_c_try_compile
"$LINENO"; then :
6143 rm -f core conftest.err conftest.
$ac_objext
6145 if ac_fn_c_try_compile
"$LINENO"; then :
6146 ac_cv_sys_largefile_CC
=' -n32'; break
6148 rm -f core conftest.err conftest.
$ac_objext
6152 rm -f conftest.
$ac_ext
6155 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_largefile_CC" >&5
6156 $as_echo "$ac_cv_sys_largefile_CC" >&6; }
6157 if test "$ac_cv_sys_largefile_CC" != no
; then
6158 CC
=$CC$ac_cv_sys_largefile_CC
6161 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _FILE_OFFSET_BITS value needed for large files" >&5
6162 $as_echo_n "checking for _FILE_OFFSET_BITS value needed for large files... " >&6; }
6163 if ${ac_cv_sys_file_offset_bits+:} false
; then :
6164 $as_echo_n "(cached) " >&6
6167 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6168 /* end confdefs.h. */
6169 #include <sys/types.h>
6170 /* Check that off_t can represent 2**63 - 1 correctly.
6171 We can't simply define LARGE_OFF_T to be 9223372036854775807,
6172 since some C++ compilers masquerading as C compilers
6173 incorrectly reject 9223372036854775807. */
6174 #define LARGE_OFF_T ((((off_t) 1 << 31) << 31) - 1 + (((off_t) 1 << 31) << 31))
6175 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
6176 && LARGE_OFF_T % 2147483647 == 1)
6186 if ac_fn_c_try_compile
"$LINENO"; then :
6187 ac_cv_sys_file_offset_bits
=no
; break
6189 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
6190 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6191 /* end confdefs.h. */
6192 #define _FILE_OFFSET_BITS 64
6193 #include <sys/types.h>
6194 /* Check that off_t can represent 2**63 - 1 correctly.
6195 We can't simply define LARGE_OFF_T to be 9223372036854775807,
6196 since some C++ compilers masquerading as C compilers
6197 incorrectly reject 9223372036854775807. */
6198 #define LARGE_OFF_T ((((off_t) 1 << 31) << 31) - 1 + (((off_t) 1 << 31) << 31))
6199 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
6200 && LARGE_OFF_T % 2147483647 == 1)
6210 if ac_fn_c_try_compile
"$LINENO"; then :
6211 ac_cv_sys_file_offset_bits
=64; break
6213 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
6214 ac_cv_sys_file_offset_bits
=unknown
6218 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_file_offset_bits" >&5
6219 $as_echo "$ac_cv_sys_file_offset_bits" >&6; }
6220 case $ac_cv_sys_file_offset_bits in #(
6223 cat >>confdefs.h
<<_ACEOF
6224 #define _FILE_OFFSET_BITS $ac_cv_sys_file_offset_bits
6229 if test $ac_cv_sys_file_offset_bits = unknown
; then
6230 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _LARGE_FILES value needed for large files" >&5
6231 $as_echo_n "checking for _LARGE_FILES value needed for large files... " >&6; }
6232 if ${ac_cv_sys_large_files+:} false
; then :
6233 $as_echo_n "(cached) " >&6
6236 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6237 /* end confdefs.h. */
6238 #include <sys/types.h>
6239 /* Check that off_t can represent 2**63 - 1 correctly.
6240 We can't simply define LARGE_OFF_T to be 9223372036854775807,
6241 since some C++ compilers masquerading as C compilers
6242 incorrectly reject 9223372036854775807. */
6243 #define LARGE_OFF_T ((((off_t) 1 << 31) << 31) - 1 + (((off_t) 1 << 31) << 31))
6244 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
6245 && LARGE_OFF_T % 2147483647 == 1)
6255 if ac_fn_c_try_compile
"$LINENO"; then :
6256 ac_cv_sys_large_files
=no
; break
6258 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
6259 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6260 /* end confdefs.h. */
6261 #define _LARGE_FILES 1
6262 #include <sys/types.h>
6263 /* Check that off_t can represent 2**63 - 1 correctly.
6264 We can't simply define LARGE_OFF_T to be 9223372036854775807,
6265 since some C++ compilers masquerading as C compilers
6266 incorrectly reject 9223372036854775807. */
6267 #define LARGE_OFF_T ((((off_t) 1 << 31) << 31) - 1 + (((off_t) 1 << 31) << 31))
6268 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
6269 && LARGE_OFF_T % 2147483647 == 1)
6279 if ac_fn_c_try_compile
"$LINENO"; then :
6280 ac_cv_sys_large_files
=1; break
6282 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
6283 ac_cv_sys_large_files
=unknown
6287 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_large_files" >&5
6288 $as_echo "$ac_cv_sys_large_files" >&6; }
6289 case $ac_cv_sys_large_files in #(
6292 cat >>confdefs.h
<<_ACEOF
6293 #define _LARGE_FILES $ac_cv_sys_large_files
6305 ac_cpp
='$CPP $CPPFLAGS'
6306 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6307 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6308 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
6309 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
6310 $as_echo_n "checking how to run the C preprocessor... " >&6; }
6311 # On Suns, sometimes $CPP names a directory.
6312 if test -n "$CPP" && test -d "$CPP"; then
6315 if test -z "$CPP"; then
6316 if ${ac_cv_prog_CPP+:} false
; then :
6317 $as_echo_n "(cached) " >&6
6319 # Double quotes because CPP needs to be expanded
6320 for CPP
in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
6323 for ac_c_preproc_warn_flag
in '' yes
6325 # Use a header file that comes with gcc, so configuring glibc
6326 # with a fresh cross-compiler works.
6327 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
6328 # <limits.h> exists even on freestanding compilers.
6329 # On the NeXT, cc -E runs the code through the compiler's parser,
6330 # not just through cpp. "Syntax error" is here to catch this case.
6331 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6332 /* end confdefs.h. */
6334 # include <limits.h>
6336 # include <assert.h>
6340 if ac_fn_c_try_cpp
"$LINENO"; then :
6343 # Broken: fails on valid input.
6346 rm -f conftest.err conftest.i conftest.
$ac_ext
6348 # OK, works on sane cases. Now check whether nonexistent headers
6349 # can be detected and how.
6350 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6351 /* end confdefs.h. */
6352 #include <ac_nonexistent.h>
6354 if ac_fn_c_try_cpp
"$LINENO"; then :
6355 # Broken: success on invalid input.
6358 # Passes both tests.
6362 rm -f conftest.err conftest.i conftest.
$ac_ext
6365 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
6366 rm -f conftest.i conftest.err conftest.
$ac_ext
6367 if $ac_preproc_ok; then :
6379 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
6380 $as_echo "$CPP" >&6; }
6382 for ac_c_preproc_warn_flag
in '' yes
6384 # Use a header file that comes with gcc, so configuring glibc
6385 # with a fresh cross-compiler works.
6386 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
6387 # <limits.h> exists even on freestanding compilers.
6388 # On the NeXT, cc -E runs the code through the compiler's parser,
6389 # not just through cpp. "Syntax error" is here to catch this case.
6390 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6391 /* end confdefs.h. */
6393 # include <limits.h>
6395 # include <assert.h>
6399 if ac_fn_c_try_cpp
"$LINENO"; then :
6402 # Broken: fails on valid input.
6405 rm -f conftest.err conftest.i conftest.
$ac_ext
6407 # OK, works on sane cases. Now check whether nonexistent headers
6408 # can be detected and how.
6409 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6410 /* end confdefs.h. */
6411 #include <ac_nonexistent.h>
6413 if ac_fn_c_try_cpp
"$LINENO"; then :
6414 # Broken: success on invalid input.
6417 # Passes both tests.
6421 rm -f conftest.err conftest.i conftest.
$ac_ext
6424 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
6425 rm -f conftest.i conftest.err conftest.
$ac_ext
6426 if $ac_preproc_ok; then :
6429 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
6430 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
6431 as_fn_error $?
"C preprocessor \"$CPP\" fails sanity check
6432 See \`config.log' for more details" "$LINENO" 5; }
6436 ac_cpp
='$CPP $CPPFLAGS'
6437 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6438 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6439 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
6442 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
6443 $as_echo_n "checking for ANSI C header files... " >&6; }
6444 if ${ac_cv_header_stdc+:} false
; then :
6445 $as_echo_n "(cached) " >&6
6447 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6448 /* end confdefs.h. */
6462 if ac_fn_c_try_compile
"$LINENO"; then :
6463 ac_cv_header_stdc
=yes
6465 ac_cv_header_stdc
=no
6467 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
6469 if test $ac_cv_header_stdc = yes; then
6470 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
6471 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6472 /* end confdefs.h. */
6476 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
6477 $EGREP "memchr" >/dev
/null
2>&1; then :
6480 ac_cv_header_stdc
=no
6486 if test $ac_cv_header_stdc = yes; then
6487 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
6488 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6489 /* end confdefs.h. */
6493 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
6494 $EGREP "free" >/dev
/null
2>&1; then :
6497 ac_cv_header_stdc
=no
6503 if test $ac_cv_header_stdc = yes; then
6504 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
6505 if test "$cross_compiling" = yes; then :
6508 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6509 /* end confdefs.h. */
6512 #if ((' ' & 0x0FF) == 0x020)
6513 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
6514 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
6516 # define ISLOWER(c) \
6517 (('a' <= (c) && (c) <= 'i') \
6518 || ('j' <= (c) && (c) <= 'r') \
6519 || ('s' <= (c) && (c) <= 'z'))
6520 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
6523 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
6528 for (i = 0; i < 256; i++)
6529 if (XOR (islower (i), ISLOWER (i))
6530 || toupper (i) != TOUPPER (i))
6535 if ac_fn_c_try_run
"$LINENO"; then :
6538 ac_cv_header_stdc
=no
6540 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext \
6541 conftest.
$ac_objext conftest.beam conftest.
$ac_ext
6546 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
6547 $as_echo "$ac_cv_header_stdc" >&6; }
6548 if test $ac_cv_header_stdc = yes; then
6550 $as_echo "#define STDC_HEADERS 1" >>confdefs.h
6554 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
6555 for ac_header
in sys
/types.h sys
/stat.h stdlib.h string.h memory.h
strings.h \
6556 inttypes.h stdint.h unistd.h
6558 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
6559 ac_fn_c_check_header_compile
"$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
6561 if eval test \"x\$
"$as_ac_Header"\" = x
"yes"; then :
6562 cat >>confdefs.h
<<_ACEOF
6563 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
6573 ApplicationServices
/ApplicationServices.h \
6574 AudioToolbox
/AudioConverter.h \
6575 AudioUnit
/AudioUnit.h \
6576 AudioUnit
/AudioComponent.h \
6579 CoreAudio
/CoreAudio.h \
6580 CoreServices
/CoreServices.h \
6581 DiskArbitration
/DiskArbitration.h \
6583 IOKit
/hid
/IOHIDLib.h \
6586 QuickTime
/ImageCompression.h \
6587 Security
/Security.h \
6638 netinet
/in_systm.h \
6700 valgrind
/memcheck.h \
6701 valgrind
/valgrind.h \
6705 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
6706 ac_fn_c_check_header_mongrel
"$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
6707 if eval test \"x\$
"$as_ac_Header"\" = x
"yes"; then :
6708 cat >>confdefs.h
<<_ACEOF
6709 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
6716 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether stat file-mode macros are broken" >&5
6717 $as_echo_n "checking whether stat file-mode macros are broken... " >&6; }
6718 if ${ac_cv_header_stat_broken+:} false
; then :
6719 $as_echo_n "(cached) " >&6
6721 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6722 /* end confdefs.h. */
6723 #include <sys/types.h>
6724 #include <sys/stat.h>
6726 #if defined S_ISBLK && defined S_IFDIR
6727 extern char c1[S_ISBLK (S_IFDIR) ? -1 : 1];
6730 #if defined S_ISBLK && defined S_IFCHR
6731 extern char c2[S_ISBLK (S_IFCHR) ? -1 : 1];
6734 #if defined S_ISLNK && defined S_IFREG
6735 extern char c3[S_ISLNK (S_IFREG) ? -1 : 1];
6738 #if defined S_ISSOCK && defined S_IFREG
6739 extern char c4[S_ISSOCK (S_IFREG) ? -1 : 1];
6743 if ac_fn_c_try_compile
"$LINENO"; then :
6744 ac_cv_header_stat_broken
=no
6746 ac_cv_header_stat_broken
=yes
6748 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
6750 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stat_broken" >&5
6751 $as_echo "$ac_cv_header_stat_broken" >&6; }
6752 if test $ac_cv_header_stat_broken = yes; then
6754 $as_echo "#define STAT_MACROS_BROKEN 1" >>confdefs.h
6760 for ac_header
in sys
/mount.h sys
/statfs.h sys
/sysctl.h sys
/user.h sys
/vfs.h
6762 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
6763 ac_fn_c_check_header_compile
"$LINENO" "$ac_header" "$as_ac_Header" "#include <sys/types.h>
6764 #ifdef HAVE_SYS_PARAM_H
6765 # include <sys/param.h>
6768 if eval test \"x\$
"$as_ac_Header"\" = x
"yes"; then :
6769 cat >>confdefs.h
<<_ACEOF
6770 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
6785 netinet
/if_ether.h \
6786 netinet
/if_inarp.h \
6795 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
6796 ac_fn_c_check_header_compile
"$LINENO" "$ac_header" "$as_ac_Header" "#include <sys/types.h>
6797 #ifdef HAVE_SYS_SOCKET_H
6798 # include <sys/socket.h>
6800 #ifdef HAVE_SYS_SOCKETVAR_H
6801 # include <sys/socketvar.h>
6803 #ifdef HAVE_NET_ROUTE_H
6804 # include <net/route.h>
6806 #ifdef HAVE_NETINET_IN_H
6807 # include <netinet/in.h>
6809 #ifdef HAVE_NETINET_IN_SYSTM_H
6810 # include <netinet/in_systm.h>
6812 #ifdef HAVE_NET_IF_H
6813 # include <net/if.h>
6815 #ifdef HAVE_NETINET_IP_H
6816 # include <netinet/ip.h>
6819 if eval test \"x\$
"$as_ac_Header"\" = x
"yes"; then :
6820 cat >>confdefs.h
<<_ACEOF
6821 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
6829 for ac_header
in netinet
/tcp_timer.h netinet
/udp_var.h netinet
/icmp_var.h netinet
/tcp_var.h
6831 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
6832 ac_fn_c_check_header_compile
"$LINENO" "$ac_header" "$as_ac_Header" "#include <sys/types.h>
6836 #ifdef HAVE_SYS_SOCKET_H
6837 # include <sys/socket.h>
6839 #ifdef HAVE_SYS_SOCKETVAR_H
6840 # include <sys/socketvar.h>
6842 #ifdef HAVE_SYS_TIMEOUT_H
6843 # include <sys/timeout.h>
6845 #ifdef HAVE_NETINET_IN_H
6846 # include <netinet/in.h>
6848 #ifdef HAVE_NETINET_IN_SYSTM_H
6849 # include <netinet/in_systm.h>
6851 #ifdef HAVE_NETINET_IP_H
6852 # include <netinet/ip.h>
6854 #ifdef HAVE_NETINET_IP_VAR_H
6855 # include <netinet/ip_var.h>
6857 #ifdef HAVE_NETINET_IP_ICMP_H
6858 # include <netinet/ip_icmp.h>
6860 #ifdef HAVE_NETINET_UDP_H
6861 # include <netinet/udp.h>
6863 #ifdef HAVE_NETINET_TCP_H
6864 # include <netinet/tcp.h>
6866 #ifdef HAVE_NETINET_TCP_TIMER_H
6867 #include <netinet/tcp_timer.h>
6870 if eval test \"x\$
"$as_ac_Header"\" = x
"yes"; then :
6871 cat >>confdefs.h
<<_ACEOF
6872 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
6880 for ac_header
in linux
/ipx.h linux
/irda.h linux
/rtnetlink.h
6882 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
6883 ac_fn_c_check_header_compile
"$LINENO" "$ac_header" "$as_ac_Header" "#include <sys/types.h>
6884 #ifdef HAVE_ASM_TYPES_H
6885 # include <asm/types.h>
6887 #ifdef HAVE_SYS_SOCKET_H
6888 # include <sys/socket.h>
6890 #ifdef HAVE_LINUX_TYPES_H
6891 # include <linux/types.h>
6894 if eval test \"x\$
"$as_ac_Header"\" = x
"yes"; then :
6895 cat >>confdefs.h
<<_ACEOF
6896 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
6904 for ac_header
in mach-o
/dyld_images.h
6906 ac_fn_c_check_header_compile
"$LINENO" "mach-o/dyld_images.h" "ac_cv_header_mach_o_dyld_images_h" "#ifdef HAVE_STDBOOL_H
6907 # include <stdbool.h>
6909 #ifdef HAVE_STDINT_H
6910 # include <stdint.h>
6913 if test "x$ac_cv_header_mach_o_dyld_images_h" = xyes
; then :
6914 cat >>confdefs.h
<<_ACEOF
6915 #define HAVE_MACH_O_DYLD_IMAGES_H 1
6923 for ac_header
in resolv.h
6925 ac_fn_c_check_header_compile
"$LINENO" "resolv.h" "ac_cv_header_resolv_h" "#include <sys/types.h>
6926 #ifdef HAVE_SYS_SOCKET_H
6927 # include <sys/socket.h>
6929 #ifdef HAVE_NETINET_IN_H
6930 # include <netinet/in.h>
6932 #ifdef HAVE_ARPA_NAMESER_H
6933 # include <arpa/nameser.h>
6936 if test "x$ac_cv_header_resolv_h" = xyes
; then :
6937 cat >>confdefs.h
<<_ACEOF
6938 #define HAVE_RESOLV_H 1
6946 for ac_header
in ifaddrs.h
6948 ac_fn_c_check_header_compile
"$LINENO" "ifaddrs.h" "ac_cv_header_ifaddrs_h" "#include <sys/types.h>
6950 if test "x$ac_cv_header_ifaddrs_h" = xyes
; then :
6951 cat >>confdefs.h
<<_ACEOF
6952 #define HAVE_IFADDRS_H 1
6960 for ac_header
in sys
/ucontext.h
6962 ac_fn_c_check_header_compile
"$LINENO" "sys/ucontext.h" "ac_cv_header_sys_ucontext_h" "#include <signal.h>
6964 if test "x$ac_cv_header_sys_ucontext_h" = xyes
; then :
6965 cat >>confdefs.h
<<_ACEOF
6966 #define HAVE_SYS_UCONTEXT_H 1
6974 for ac_header
in sys
/thr.h
6976 ac_fn_c_check_header_compile
"$LINENO" "sys/thr.h" "ac_cv_header_sys_thr_h" "#include <sys/types.h>
6977 #ifdef HAVE_SYS_UCONTEXT_H
6978 #include <sys/ucontext.h>
6981 if test "x$ac_cv_header_sys_thr_h" = xyes
; then :
6982 cat >>confdefs.h
<<_ACEOF
6983 #define HAVE_SYS_THR_H 1
6991 for ac_header
in pthread_np.h
6993 ac_fn_c_check_header_compile
"$LINENO" "pthread_np.h" "ac_cv_header_pthread_np_h" "#ifdef HAVE_PTHREAD_H
6994 #include <pthread.h>
6997 if test "x$ac_cv_header_pthread_np_h" = xyes
; then :
6998 cat >>confdefs.h
<<_ACEOF
6999 #define HAVE_PTHREAD_NP_H 1
7007 for ac_header
in linux
/videodev.h linux
/videodev2.h libv4l1.h
7009 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
7010 ac_fn_c_check_header_compile
"$LINENO" "$ac_header" "$as_ac_Header" "#ifdef HAVE_SYS_TIME_H
7011 #include <sys/time.h>
7013 #include <sys/types.h>
7014 #ifdef HAVE_ASM_TYPES_H
7015 #include <asm/types.h>
7018 if eval test \"x\$
"$as_ac_Header"\" = x
"yes"; then :
7019 cat >>confdefs.h
<<_ACEOF
7020 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
7028 for ac_header
in libprocstat.h
7030 ac_fn_c_check_header_compile
"$LINENO" "libprocstat.h" "ac_cv_header_libprocstat_h" "#ifdef HAVE_SYS_PARAM_H
7031 #include <sys/param.h>
7033 #ifdef HAVE_SYS_QUEUE_H
7034 #include <sys/queue.h>
7036 #ifdef HAVE_SYS_SOCKET_H
7037 #include <sys/socket.h>
7040 if test "x$ac_cv_header_libprocstat_h" = xyes
; then :
7041 cat >>confdefs.h
<<_ACEOF
7042 #define HAVE_LIBPROCSTAT_H 1
7051 dlldir
="\${libdir}/wine"
7055 DLLFLAGS
="-D_REENTRANT"
7064 STATIC_IMPLIBEXT
="def.a"
7065 # Extract the first word of "ldd", so it can be a program name with args.
7066 set dummy ldd
; ac_word
=$2
7067 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7068 $as_echo_n "checking for $ac_word... " >&6; }
7069 if ${ac_cv_path_LDD+:} false
; then :
7070 $as_echo_n "(cached) " >&6
7074 ac_cv_path_LDD
="$LDD" # Let the user override the test with a path.
7077 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7078 as_dummy
="/sbin:/usr/sbin:$PATH"
7079 for as_dir
in $as_dummy
7082 test -z "$as_dir" && as_dir
=.
7083 for ac_exec_ext
in '' $ac_executable_extensions; do
7084 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
7085 ac_cv_path_LDD
="$as_dir/$ac_word$ac_exec_ext"
7086 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7093 test -z "$ac_cv_path_LDD" && ac_cv_path_LDD
="true"
7098 if test -n "$LDD"; then
7099 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LDD" >&5
7100 $as_echo "$LDD" >&6; }
7102 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7103 $as_echo "no" >&6; }
7107 if test -n "$ac_tool_prefix"; then
7108 # Extract the first word of "${ac_tool_prefix}readelf", so it can be a program name with args.
7109 set dummy
${ac_tool_prefix}readelf
; ac_word
=$2
7110 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7111 $as_echo_n "checking for $ac_word... " >&6; }
7112 if ${ac_cv_prog_READELF+:} false
; then :
7113 $as_echo_n "(cached) " >&6
7115 if test -n "$READELF"; then
7116 ac_cv_prog_READELF
="$READELF" # Let the user override the test.
7118 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7122 test -z "$as_dir" && as_dir
=.
7123 for ac_exec_ext
in '' $ac_executable_extensions; do
7124 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
7125 ac_cv_prog_READELF
="${ac_tool_prefix}readelf"
7126 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7135 READELF
=$ac_cv_prog_READELF
7136 if test -n "$READELF"; then
7137 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $READELF" >&5
7138 $as_echo "$READELF" >&6; }
7140 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7141 $as_echo "no" >&6; }
7146 if test -z "$ac_cv_prog_READELF"; then
7147 ac_ct_READELF
=$READELF
7148 # Extract the first word of "readelf", so it can be a program name with args.
7149 set dummy readelf
; ac_word
=$2
7150 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7151 $as_echo_n "checking for $ac_word... " >&6; }
7152 if ${ac_cv_prog_ac_ct_READELF+:} false
; then :
7153 $as_echo_n "(cached) " >&6
7155 if test -n "$ac_ct_READELF"; then
7156 ac_cv_prog_ac_ct_READELF
="$ac_ct_READELF" # Let the user override the test.
7158 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7162 test -z "$as_dir" && as_dir
=.
7163 for ac_exec_ext
in '' $ac_executable_extensions; do
7164 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
7165 ac_cv_prog_ac_ct_READELF
="readelf"
7166 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7175 ac_ct_READELF
=$ac_cv_prog_ac_ct_READELF
7176 if test -n "$ac_ct_READELF"; then
7177 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_READELF" >&5
7178 $as_echo "$ac_ct_READELF" >&6; }
7180 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7181 $as_echo "no" >&6; }
7184 if test "x$ac_ct_READELF" = x
; then
7187 case $cross_compiling:$ac_tool_warned in
7189 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7190 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7191 ac_tool_warned
=yes ;;
7193 READELF
=$ac_ct_READELF
7196 READELF
="$ac_cv_prog_READELF"
7199 wine_rules_file
=conf$
$rules.
make
7200 rm -f $wine_rules_file
7202 GITIGNORE
="# Automatically generated by configure; DO NOT EDIT!!"
7203 ALL_TEST_RESOURCES
=""
7206 wine_fn_append_file
()
7208 as_fn_append
$1 " \\$as_nl $2"
7211 wine_fn_ignore_file
()
7214 */*) as_fn_append GITIGNORE
"$as_nl$1" ;;
7215 \
**) as_fn_append GITIGNORE
"$as_nl$1" ;;
7216 *) as_fn_append GITIGNORE
"$as_nl/$1" ;;
7220 wine_fn_append_rule
()
7222 $as_echo "$1" >>$wine_rules_file
7227 expr ",$ac_flags," : ".*,$1,.*" >/dev
/null
7230 wine_fn_depend_rules
()
7232 wine_fn_append_rule \
7233 "$ac_dir/Makefile: $srcdir/$ac_dir/Makefile.in $srcdir/Make.vars.in config.status \$(MAKEDEP)
7234 @./config.status --file $ac_dir/Makefile:Make.vars.in:$ac_dir/Makefile.in && \$(MAKEDEP) $ac_dir
7235 depend: $ac_dir/depend
7236 .PHONY: $ac_dir/depend
7237 $ac_dir/depend: \$(MAKEDEP) dummy
7238 @./config.status --file $ac_dir/Makefile:Make.vars.in:$ac_dir/Makefile.in && \$(MAKEDEP) $ac_dir"
7241 wine_fn_pot_rules
()
7243 test "x$with_gettextpo" = xyes ||
return
7245 if wine_fn_has_flag mc
7247 wine_fn_append_file ALL_POT_FILES
$ac_dir/msg.pot
7248 wine_fn_append_rule \
7249 "$ac_dir/msg.pot: $ac_dir/Makefile dummy
7250 @cd $ac_dir && \$(MAKE) msg.pot
7251 $ac_dir/msg.pot: tools/wmc include"
7253 if wine_fn_has_flag po
7255 wine_fn_append_file ALL_POT_FILES
$ac_dir/rsrc.pot
7256 wine_fn_append_rule \
7257 "$ac_dir/rsrc.pot: $ac_dir/Makefile dummy
7258 @cd $ac_dir && \$(MAKE) rsrc.pot
7259 $ac_dir/rsrc.pot: tools/wrc include"
7263 wine_fn_all_rules
()
7265 wine_fn_depend_rules
7266 wine_fn_append_rule \
7269 $ac_dir: $ac_dir/Makefile dummy
7270 @cd $ac_dir && \$(MAKE)"
7273 wine_fn_install_rules
()
7275 wine_fn_has_flag install-lib || wine_fn_has_flag install-dev ||
return
7277 wine_fn_append_rule \
7278 ".PHONY: $ac_dir/install $ac_dir/uninstall
7279 $ac_dir/install:: $ac_dir
7280 @cd $ac_dir && \$(MAKE) install
7281 $ac_dir/uninstall:: $ac_dir/Makefile
7282 @cd $ac_dir && \$(MAKE) uninstall
7283 install:: $ac_dir/install
7284 __uninstall__: $ac_dir/uninstall"
7286 if wine_fn_has_flag install-lib
7288 wine_fn_append_rule \
7289 ".PHONY: $ac_dir/install-lib
7290 $ac_dir/install-lib:: $ac_dir
7291 @cd $ac_dir && \$(MAKE) install-lib
7292 install-lib:: $ac_dir/install-lib"
7295 if wine_fn_has_flag install-dev
7297 wine_fn_append_rule \
7298 ".PHONY: $ac_dir/install-dev
7299 $ac_dir/install-dev:: $ac_dir
7300 @cd $ac_dir && \$(MAKE) install-dev
7301 install-dev:: $ac_dir/install-dev"
7305 wine_fn_clean_rules
()
7308 ac_extraclean
="$ac_dir/Makefile"
7309 test "$srcdir" = .
&& ac_extraclean
="$ac_extraclean $ac_dir/.gitignore"
7311 */tests
) ac_extraclean
="$ac_extraclean $ac_dir/testlist.c" ;;
7314 if wine_fn_has_flag clean
7316 wine_fn_append_rule \
7317 "__clean__: $ac_dir/clean
7318 .PHONY: $ac_dir/clean
7319 $ac_dir/clean: $ac_dir/Makefile
7320 @cd $ac_dir && \$(MAKE) clean
7321 \$(RM) $ac_extraclean"
7323 wine_fn_append_rule \
7324 "__clean__: $ac_dir/clean
7325 .PHONY: $ac_dir/clean
7326 $ac_dir/clean: dummy
7327 \$(RM) \$(CLEAN_FILES:%=$ac_dir/%) $ac_clean $ac_extraclean"
7331 wine_fn_disabled_rules
()
7334 ac_extraclean
="$ac_dir/Makefile"
7335 test "$srcdir" = .
&& ac_extraclean
="$ac_extraclean $ac_dir/.gitignore"
7337 wine_fn_append_rule \
7338 "__clean__: $ac_dir/clean
7339 .PHONY: $ac_dir/clean
7340 $ac_dir/clean: dummy
7341 \$(RM) \$(CLEAN_FILES:%=$ac_dir/%) $ac_clean $ac_extraclean"
7344 wine_fn_config_makefile
()
7350 if eval test \"x\$
"$ac_enable"\" = x
"no"; then :
7351 wine_fn_disabled_rules
; return
7354 wine_fn_install_rules
7358 wine_fn_config_lib
()
7362 ac_dir
=dlls
/$ac_name
7365 if test "x$enable_tools" = xno
; then :
7368 ac_deps
="tools/widl tools/winebuild tools/winegcc $ac_deps"
7373 wine_fn_append_rule \
7374 ".PHONY: $ac_dir/install $ac_dir/uninstall
7375 $ac_dir/install:: $ac_dir
7376 \$(INSTALL_DATA) $ac_dir/lib$ac_name.a \$(DESTDIR)\$(dlldir)/lib$ac_name.a
7378 \$(RM) \$(DESTDIR)\$(dlldir)/lib$ac_name.a
7379 install install-dev:: $ac_dir/install
7380 __uninstall__: $ac_dir/uninstall
7381 __builddeps__: $ac_dir
7385 wine_fn_config_dll
()
7388 ac_dir
=dlls
/$ac_name
7391 ac_implib
=${4:-$ac_name}
7392 ac_file
=$ac_dir/lib
$ac_implib
7397 if test "x$enable_tools" = xno
; then :
7400 ac_deps
="tools/widl tools/winebuild tools/winegcc $ac_deps"
7403 *16) ac_implibflags
=" -m16" ;;
7405 *) ac_dll
=$ac_dll.dll
;;
7409 wine_fn_has_flag implib
&& ac_clean
="$ac_clean $ac_file.$IMPLIBEXT"
7410 wine_fn_has_flag mc
&& ac_clean
="$ac_clean $ac_dir/msg.pot"
7411 wine_fn_has_flag po
&& ac_clean
="$ac_clean $ac_dir/rsrc.pot"
7412 test -n "$DLLEXT" || ac_clean
="$ac_clean $ac_dir/$ac_dll"
7414 if eval test \"x\$
"$ac_enable"\" = x
"no"; then :
7415 if wine_fn_has_flag implib
&& test "$ac_enable" != enable_win16
7417 wine_fn_depend_rules
7418 wine_fn_clean_rules
$ac_clean
7420 wine_fn_disabled_rules
$ac_clean
7425 wine_fn_clean_rules
$ac_clean
7426 wine_fn_append_rule \
7427 "$ac_dir: __builddeps__
7428 manpages htmlpages sgmlpages xmlpages:: $ac_dir/Makefile
7429 @cd $ac_dir && \$(MAKE) \$@
7430 .PHONY: $ac_dir/install-lib $ac_dir/uninstall
7431 install install-lib:: $ac_dir/install-lib
7432 __uninstall__: $ac_dir/uninstall"
7433 if test -n "$DLLEXT"
7435 wine_fn_append_rule \
7436 "$ac_dir/install-lib:: $ac_dir
7437 \$(INSTALL_PROGRAM) $ac_dir/$ac_dll$DLLEXT \$(DESTDIR)\$(dlldir)/$DLLPREFIX$ac_dll$DLLEXT
7438 \$(INSTALL_DATA) $ac_dir/$ac_dll.fake \$(DESTDIR)\$(fakedlldir)/$ac_dll
7440 \$(RM) \$(DESTDIR)\$(dlldir)/$DLLPREFIX$ac_dll$DLLEXT \$(DESTDIR)\$(fakedlldir)/$ac_dll"
7442 wine_fn_append_rule \
7443 "$ac_dir/install-lib:: $ac_dir
7444 \$(INSTALL_PROGRAM) $ac_dir/$ac_dll \$(DESTDIR)\$(dlldir)/$ac_dll
7446 \$(RM) \$(DESTDIR)\$(dlldir)/$ac_dll"
7452 if wine_fn_has_flag staticimplib
7454 wine_fn_append_rule \
7455 "__builddeps__: $ac_file.$IMPLIBEXT $ac_file.$STATIC_IMPLIBEXT
7456 $ac_file.$IMPLIBEXT $ac_file.$STATIC_IMPLIBEXT $ac_file.cross.a: $ac_deps
7457 $ac_file.def: $srcdir/$ac_dir/$ac_name.spec $ac_dir/Makefile \$(WINEBUILD)
7458 \$(WINEBUILD) \$(TARGETFLAGS)$ac_implibflags -w --def -o \$@ --export $srcdir/$ac_dir/$ac_name.spec
7459 $ac_file.$STATIC_IMPLIBEXT: $ac_dir/Makefile dummy
7460 @cd $ac_dir && \$(MAKE) lib$ac_implib.$STATIC_IMPLIBEXT
7461 .PHONY: $ac_dir/install-dev $ac_dir/uninstall
7462 $ac_dir/install-dev:: $ac_file.$IMPLIBEXT
7463 \$(INSTALL_DATA) $ac_file.$IMPLIBEXT \$(DESTDIR)\$(dlldir)/lib$ac_implib.$IMPLIBEXT
7465 \$(RM) \$(DESTDIR)\$(dlldir)/lib$ac_implib.$IMPLIBEXT
7466 install install-dev:: $ac_dir/install-dev
7467 __uninstall__: $ac_dir/uninstall"
7469 if test "$IMPLIBEXT" != "$STATIC_IMPLIBEXT"
7471 wine_fn_append_rule \
7472 "$ac_dir/install-dev:: $ac_file.$STATIC_IMPLIBEXT __builddeps__
7473 \$(INSTALL_DATA) $ac_file.$STATIC_IMPLIBEXT \$(DESTDIR)\$(dlldir)/lib$ac_implib.$STATIC_IMPLIBEXT
7475 \$(RM) \$(DESTDIR)\$(dlldir)/lib$ac_implib.$STATIC_IMPLIBEXT"
7478 if test -n "$CROSSTARGET" -a -z "$ac_implibflags"
7480 wine_fn_append_rule \
7481 "__builddeps__: $ac_file.cross.a
7482 $ac_file.cross.a: $ac_dir/Makefile dummy
7483 @cd $ac_dir && \$(MAKE) lib$ac_implib.cross.a"
7486 elif wine_fn_has_flag implib
7488 wine_fn_append_rule \
7489 "__builddeps__: $ac_file.$IMPLIBEXT
7490 $ac_file.def: $srcdir/$ac_dir/$ac_name.spec $ac_dir/Makefile \$(WINEBUILD)
7491 \$(WINEBUILD) \$(TARGETFLAGS)$ac_implibflags -w --def -o \$@ --export $srcdir/$ac_dir/$ac_name.spec
7492 $ac_file.a: $srcdir/$ac_dir/$ac_name.spec $ac_dir/Makefile \$(WINEBUILD)
7493 \$(WINEBUILD) \$(TARGETFLAGS)$ac_implibflags -w --implib -o \$@ --export $srcdir/$ac_dir/$ac_name.spec
7494 .PHONY: $ac_dir/install-dev $ac_dir/uninstall
7495 $ac_dir/install-dev:: $ac_file.$IMPLIBEXT
7496 \$(INSTALL_DATA) $ac_file.$IMPLIBEXT \$(DESTDIR)\$(dlldir)/lib$ac_implib.$IMPLIBEXT
7498 \$(RM) \$(DESTDIR)\$(dlldir)/lib$ac_implib.$IMPLIBEXT
7499 install install-dev:: $ac_dir/install-dev
7500 __uninstall__: $ac_dir/uninstall"
7501 if test -n "$CROSSTARGET" -a -z "$ac_implibflags"
7503 wine_fn_append_rule \
7504 "__builddeps__: $ac_file.cross.a
7505 $ac_file.cross.a: $srcdir/$ac_dir/$ac_name.spec $ac_dir/Makefile \$(WINEBUILD)
7506 \$(WINEBUILD) \$(CROSSTARGET:%=-b %)$ac_implibflags -w --implib -o \$@ --export $srcdir/$ac_dir/$ac_name.spec"
7509 if test "$ac_name" != "$ac_implib"
7511 wine_fn_append_rule \
7512 "__builddeps__: dlls/lib$ac_implib.$IMPLIBEXT
7513 dlls/lib$ac_implib.$IMPLIBEXT: $ac_file.$IMPLIBEXT
7514 \$(RM) \$@ && \$(LN_S) $ac_name/lib$ac_implib.$IMPLIBEXT \$@
7516 \$(RM) dlls/lib$ac_implib.$IMPLIBEXT"
7517 wine_fn_ignore_file
"dlls/lib$ac_implib.$IMPLIBEXT"
7518 if test -n "$CROSSTARGET" -a -z "$ac_implibflags"
7520 wine_fn_append_rule \
7521 "__builddeps__: dlls/lib$ac_implib.cross.a
7522 dlls/lib$ac_implib.cross.a: $ac_file.cross.a
7523 \$(RM) \$@ && \$(LN_S) $ac_name/lib$ac_implib.cross.a \$@
7525 \$(RM) dlls/lib$ac_implib.cross.a"
7526 wine_fn_ignore_file
"dlls/lib$ac_implib.cross.a"
7532 wine_fn_config_program
()
7535 ac_dir
=programs
/$ac_name
7542 *) ac_program
=$ac_program.exe
;;
7546 wine_fn_has_flag mc
&& ac_clean
="$ac_clean $ac_dir/msg.pot"
7547 wine_fn_has_flag po
&& ac_clean
="$ac_clean $ac_dir/rsrc.pot"
7548 wine_fn_has_flag manpage
&& ac_clean
="$ac_clean $ac_dir/$ac_name.man"
7549 test -n "$DLLEXT" || ac_clean
="$ac_clean $ac_dir/$ac_program"
7551 if eval test \"x\$
"$ac_enable"\" = x
"no"; then :
7552 wine_fn_disabled_rules
$ac_clean; return
7556 wine_fn_clean_rules
$ac_clean
7557 wine_fn_append_rule
"$ac_dir: __builddeps__"
7560 wine_fn_has_flag
install ||
return
7561 wine_fn_append_rule \
7562 ".PHONY: $ac_dir/install $ac_dir/uninstall
7563 install install-lib:: $ac_dir/install
7564 __uninstall__: $ac_dir/uninstall"
7566 if test -n "$DLLEXT"
7568 wine_fn_append_rule \
7569 "$ac_dir/install:: $ac_dir
7570 \$(INSTALL_PROGRAM) $ac_dir/$ac_program$DLLEXT \$(DESTDIR)\$(dlldir)/$DLLPREFIX$ac_program$DLLEXT
7571 \$(INSTALL_DATA) $ac_dir/$ac_program.fake \$(DESTDIR)\$(fakedlldir)/$ac_program
7573 \$(RM) \$(DESTDIR)\$(dlldir)/$DLLPREFIX$ac_program$DLLEXT \$(DESTDIR)\$(fakedlldir)/$ac_program"
7575 if test -z "$with_wine64" && wine_fn_has_flag installbin
7577 wine_fn_append_rule \
7578 "$ac_dir/install:: __tooldeps__
7579 \$(INSTALL_SCRIPT) \$(TOOLSDIR)/tools/wineapploader \$(DESTDIR)\$(bindir)/$ac_name
7581 \$(RM) \$(DESTDIR)\$(bindir)/$ac_name"
7584 wine_fn_append_rule \
7585 "$ac_dir/install:: $ac_dir
7586 \$(INSTALL_PROGRAM) $ac_dir/$ac_program \$(DESTDIR)\$(bindir)/$ac_program
7588 \$(RM) \$(DESTDIR)\$(bindir)/$ac_program"
7591 if test -z "$with_wine64" && wine_fn_has_flag manpage
7593 wine_fn_append_rule \
7594 "$ac_dir/install:: $ac_dir
7595 \$(INSTALL_DATA) $ac_dir/$ac_name.man \$(DESTDIR)\$(mandir)/man\$(prog_manext)/$ac_name.\$(prog_manext)
7597 \$(RM) \$(DESTDIR)\$(mandir)/man\$(prog_manext)/$ac_name.\$(prog_manext)"
7601 wine_fn_config_test
()
7608 test -n "$CROSSTARGET" && ac_clean
=`expr $ac_dir/${ac_name} : "\\(.*\\)_test"`_crosstest.exe
7609 test -n "$DLLEXT" || ac_clean
="$ac_dir/${ac_name}.exe $ac_dir/${ac_name}-stripped.exe"
7611 if test "x$enable_tests" = xno
; then :
7612 wine_fn_disabled_rules
$ac_clean; return
7615 wine_fn_append_file ALL_TEST_RESOURCES
$ac_name.res
7617 wine_fn_clean_rules
$ac_clean
7619 wine_fn_append_rule \
7620 "$ac_dir: programs/winetest/Makefile __builddeps__
7621 programs/winetest: $ac_dir
7622 check test: $ac_dir/test
7623 .PHONY: $ac_dir/test
7625 @cd $ac_dir && \$(MAKE) test
7627 \$(RM) $ac_dir/*.ok"
7629 if test -n "$CROSSTARGET"
7631 wine_fn_append_rule \
7632 "crosstest: $ac_dir/crosstest
7633 .PHONY: $ac_dir/crosstest
7634 $ac_dir/crosstest: $ac_dir/Makefile __builddeps__ dummy
7635 @cd $ac_dir && \$(MAKE) crosstest"
7639 wine_fn_config_tool
()
7643 if test "x$enable_tools" = xno
; then :
7648 wine_fn_install_rules
7651 wine_fn_append_rule
"__tooldeps__: $ac_dir"
7652 wine_fn_append_rule
"$ac_dir: libs/port"
7654 tools
/winebuild
) wine_fn_append_rule
"\$(WINEBUILD): $ac_dir" ;;
7658 wine_fn_config_symlink
()
7661 if test "x$1" = "x-d"
7667 wine_fn_append_rule \
7669 @./config.status \$@
7672 for f
in $ac_links; do wine_fn_ignore_file
$f; done
7673 test -n "$ac_linkdir" ||
return
7674 wine_fn_append_rule
"$ac_linkdir/Makefile $ac_linkdir/depend: $ac_links"
7678 test "x$enable_win64" != "xyes" || wine_binary
="wine64"
7679 loader_programs
="$wine_binary wine-installed"
7680 libwine_soversion
=`expr $libwine_version : '\([0-9]*\)\..*'`
7685 install install-lib:: wine-installed
7686 \$(INSTALL_PROGRAM) wine-installed \$(DESTDIR)\$(bindir)/$wine_binary
7689 \$(RM) \$(DESTDIR)\$(bindir)/$wine_binary
7695 if test -n "$ac_tool_prefix"; then
7696 # Extract the first word of "${ac_tool_prefix}dlltool", so it can be a program name with args.
7697 set dummy
${ac_tool_prefix}dlltool
; ac_word
=$2
7698 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7699 $as_echo_n "checking for $ac_word... " >&6; }
7700 if ${ac_cv_prog_DLLTOOL+:} false
; then :
7701 $as_echo_n "(cached) " >&6
7703 if test -n "$DLLTOOL"; then
7704 ac_cv_prog_DLLTOOL
="$DLLTOOL" # Let the user override the test.
7706 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7710 test -z "$as_dir" && as_dir
=.
7711 for ac_exec_ext
in '' $ac_executable_extensions; do
7712 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
7713 ac_cv_prog_DLLTOOL
="${ac_tool_prefix}dlltool"
7714 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7723 DLLTOOL
=$ac_cv_prog_DLLTOOL
7724 if test -n "$DLLTOOL"; then
7725 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DLLTOOL" >&5
7726 $as_echo "$DLLTOOL" >&6; }
7728 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7729 $as_echo "no" >&6; }
7734 if test -z "$ac_cv_prog_DLLTOOL"; then
7735 ac_ct_DLLTOOL
=$DLLTOOL
7736 # Extract the first word of "dlltool", so it can be a program name with args.
7737 set dummy dlltool
; ac_word
=$2
7738 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7739 $as_echo_n "checking for $ac_word... " >&6; }
7740 if ${ac_cv_prog_ac_ct_DLLTOOL+:} false
; then :
7741 $as_echo_n "(cached) " >&6
7743 if test -n "$ac_ct_DLLTOOL"; then
7744 ac_cv_prog_ac_ct_DLLTOOL
="$ac_ct_DLLTOOL" # Let the user override the test.
7746 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7750 test -z "$as_dir" && as_dir
=.
7751 for ac_exec_ext
in '' $ac_executable_extensions; do
7752 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
7753 ac_cv_prog_ac_ct_DLLTOOL
="dlltool"
7754 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7763 ac_ct_DLLTOOL
=$ac_cv_prog_ac_ct_DLLTOOL
7764 if test -n "$ac_ct_DLLTOOL"; then
7765 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DLLTOOL" >&5
7766 $as_echo "$ac_ct_DLLTOOL" >&6; }
7768 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7769 $as_echo "no" >&6; }
7772 if test "x$ac_ct_DLLTOOL" = x
; then
7775 case $cross_compiling:$ac_tool_warned in
7777 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7778 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7779 ac_tool_warned
=yes ;;
7781 DLLTOOL
=$ac_ct_DLLTOOL
7784 DLLTOOL
="$ac_cv_prog_DLLTOOL"
7790 STATIC_IMPLIBEXT
="a"
7791 enable_iphlpapi
=${enable_iphlpapi:-no}
7792 enable_kernel32
=${enable_kernel32:-no}
7793 enable_msvcrt
=${enable_msvcrt:-no}
7794 enable_ntdll
=${enable_ntdll:-no}
7795 enable_ws2_32
=${enable_ws2_32:-no}
7796 enable_loader
=${enable_loader:-no}
7797 enable_server
=${enable_server:-no}
7798 with_x
=${with_x:-no}
7799 with_pthread
=${with_pthread:-no}
7805 SOCKET_LIBS
="-L\$(top_builddir)/dlls/ws2_32 -lws2_32"
7809 libwine_targets
="libwine.dll libwine.a"
7811 OBJS = \$(C_SRCS:.c=.o) \$(EXTRA_OBJS)
7813 all: libwine.dll libwine.a
7815 libwine.a: \$(srcdir)/wine.def
7816 \$(DLLTOOL) -l \$@ -d \$(srcdir)/wine.def
7818 libwine.dll: \$(OBJS) \$(srcdir)/wine.def
7819 \$(CC) -shared \$(srcdir)/wine.def -o \$@ \$(OBJS) $crtlibs \$(EXTRALIBS)
7821 install install-lib:: libwine.dll
7822 \$(INSTALL_DATA) libwine.dll \$(DESTDIR)\$(libdir)/libwine.dll
7824 install install-dev:: libwine.a
7825 \$(INSTALL_DATA) libwine.a \$(DESTDIR)\$(libdir)/libwine.a
7828 -cd \$(DESTDIR)\$(libdir) && \$(RM) libwine.a libwine.dll
7835 DLLFLAGS
="$DLLFLAGS -fPIC"
7836 LIBWINE_LDFLAGS
="-multiply_defined suppress"
7837 LDRPATH_INSTALL
="-Wl,-rpath,@loader_path/\`\$(MAKEDEP) -R \$(bindir) \$(libdir)\`"
7838 LDRPATH_LOCAL
="-Wl,-rpath,@loader_path/\$(top_builddir)/libs/wine"
7839 COREFOUNDATION_LIBS
="-framework CoreFoundation"
7841 IOKIT_LIBS
="-framework IOKit -framework CoreFoundation"
7843 FORCEFEEDBACK_LIBS
="-framework ForceFeedback -framework CoreFoundation"
7845 APPLICATIONSERVICES_LIBS
="-framework ApplicationServices"
7847 CORESERVICES_LIBS
="-framework CoreServices"
7849 APPKIT_LIBS
="-framework AppKit"
7851 LDEXECFLAGS
="-image_base 0x7bf00000 -Wl,-segaddr,WINE_DOS,0x00001000,-segaddr,WINE_SHAREDHEAP,0x7f000000,-sectcreate,__TEXT,__info_plist,wine_info.plist"
7852 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,-no_pie" >&5
7853 $as_echo_n "checking whether the compiler supports -Wl,-no_pie... " >&6; }
7854 if ${ac_cv_cflags__Wl__no_pie+:} false
; then :
7855 $as_echo_n "(cached) " >&6
7857 ac_wine_try_cflags_saved
=$CFLAGS
7858 CFLAGS
="$CFLAGS -Wl,-no_pie"
7859 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
7860 /* end confdefs.h. */
7861 int main(int argc, char **argv) { return 0; }
7863 if ac_fn_c_try_link
"$LINENO"; then :
7864 ac_cv_cflags__Wl__no_pie
=yes
7866 ac_cv_cflags__Wl__no_pie
=no
7868 rm -f core conftest.err conftest.
$ac_objext \
7869 conftest
$ac_exeext conftest.
$ac_ext
7870 CFLAGS
=$ac_wine_try_cflags_saved
7872 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl__no_pie" >&5
7873 $as_echo "$ac_cv_cflags__Wl__no_pie" >&6; }
7874 if test "x$ac_cv_cflags__Wl__no_pie" = xyes
; then :
7875 LDEXECFLAGS
="-Wl,-no_pie $LDEXECFLAGS"
7877 if test "$ac_cv_header_DiskArbitration_DiskArbitration_h" = "yes"
7879 DISKARBITRATION_LIBS
="-framework DiskArbitration -framework CoreFoundation"
7882 if test "$ac_cv_header_Security_Security_h" = "yes"
7884 SECURITY_LIBS
="-framework Security -framework CoreFoundation"
7886 ac_save_LIBS
="$LIBS"
7887 LIBS
="$LIBS $SECURITY_LIBS"
7888 for ac_func
in SSLCopyPeerCertificates
7890 ac_fn_c_check_func
"$LINENO" "SSLCopyPeerCertificates" "ac_cv_func_SSLCopyPeerCertificates"
7891 if test "x$ac_cv_func_SSLCopyPeerCertificates" = xyes
; then :
7892 cat >>confdefs.h
<<_ACEOF
7893 #define HAVE_SSLCOPYPEERCERTIFICATES 1
7899 LIBS
="$ac_save_LIBS"
7900 with_gnutls
=${with_gnutls:-no}
7902 if test "$ac_cv_header_CoreAudio_CoreAudio_h" = "yes" -a "$ac_cv_header_AudioUnit_AudioUnit_h" = "yes"
7904 if test "$ac_cv_header_AudioUnit_AudioComponent_h" = "yes"
7906 COREAUDIO_LIBS
="-framework CoreFoundation -framework CoreAudio -framework AudioUnit -framework AudioToolbox -framework CoreMIDI"
7909 COREAUDIO_LIBS
="-framework CoreAudio -framework AudioUnit -framework CoreServices -framework AudioToolbox -framework CoreMIDI"
7912 ac_save_LIBS
="$LIBS"
7913 LIBS
="$LIBS $COREAUDIO_LIBS"
7914 for ac_func
in AUGraphAddNode
7916 ac_fn_c_check_func
"$LINENO" "AUGraphAddNode" "ac_cv_func_AUGraphAddNode"
7917 if test "x$ac_cv_func_AUGraphAddNode" = xyes
; then :
7918 cat >>confdefs.h
<<_ACEOF
7919 #define HAVE_AUGRAPHADDNODE 1
7925 LIBS
="$ac_save_LIBS"
7927 if test "$ac_cv_header_OpenAL_al_h" = "yes"
7929 OPENAL_LIBS
="-framework OpenAL"
7932 cat >>confdefs.h
<<_ACEOF
7933 #define HAVE_OPENAL 1
7936 ac_cv_lib_openal
=yes
7938 if test "$ac_cv_header_OpenCL_opencl_h" = "yes"
7940 OPENCL_LIBS
="-framework OpenCL"
7942 ac_cv_lib_OpenCL_clGetPlatformInfo
=yes
7944 if test "$ac_cv_header_IOKit_hid_IOHIDLib_h" = "yes"
7946 ac_save_LIBS
="$LIBS"
7947 LIBS
="$LIBS $IOKIT_LIBS"
7948 for ac_func
in IOHIDManagerCreate
7950 ac_fn_c_check_func
"$LINENO" "IOHIDManagerCreate" "ac_cv_func_IOHIDManagerCreate"
7951 if test "x$ac_cv_func_IOHIDManagerCreate" = xyes
; then :
7952 cat >>confdefs.h
<<_ACEOF
7953 #define HAVE_IOHIDMANAGERCREATE 1
7959 LIBS
="$ac_save_LIBS"
7961 if test "$ac_cv_header_QuickTime_ImageCompression_h" = "yes"
7963 ac_save_LIBS
="$LIBS"
7964 LIBS
="-framework QuickTime -framework ApplicationServices -framework CoreVideo $LIBS"
7965 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for the QuickTime framework" >&5
7966 $as_echo_n "checking for the QuickTime framework... " >&6; }
7967 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
7968 /* end confdefs.h. */
7969 #include <QuickTime/ImageCompression.h>
7973 CodecManagerVersion(NULL);
7978 if ac_fn_c_try_link
"$LINENO"; then :
7979 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
7980 $as_echo "yes" >&6; }
7981 QUICKTIME_LIBS
="-framework QuickTime -framework ApplicationServices -framework CoreVideo"
7983 enable_wineqtdecoder
=${enable_wineqtdecoder:-yes}
7985 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7986 $as_echo "no" >&6; }
7987 ac_cv_header_QuickTime_ImageCompression_h
=no
7989 rm -f core conftest.err conftest.
$ac_objext \
7990 conftest
$ac_exeext conftest.
$ac_ext
7991 LIBS
="$ac_save_LIBS"
7993 if test "$ac_cv_header_QuickTime_ImageCompression_h" != "yes"
7995 as_fn_append wine_notices
"|QuickTime ${notice_platform}development files not found, video decoding won't be supported."
7997 if test "$ac_cv_header_Carbon_Carbon_h" = "yes"
7999 CARBON_LIBS
="-framework Carbon"
8003 if test "$ac_cv_header_ApplicationServices_ApplicationServices_h" = "yes"
8005 ac_save_LIBS
="$LIBS"
8006 LIBS
="$LIBS $APPLICATIONSERVICES_LIBS"
8007 ac_fn_c_check_func
"$LINENO" "CGDisplayModeGetWidth" "ac_cv_func_CGDisplayModeGetWidth"
8008 if test "x$ac_cv_func_CGDisplayModeGetWidth" = xyes
; then :
8009 enable_winemac_drv
=${enable_winemac_drv:-yes}
8012 LIBS
="$ac_save_LIBS"
8015 if test "x$enable_win16" = "xyes"
8017 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether 16-bit code can be built correctly" >&5
8018 $as_echo_n "checking whether 16-bit code can be built correctly... " >&6; }
8019 if test "$cross_compiling" = yes; then :
8020 { $as_echo "$as_me:${as_lineno-$LINENO}: result: cross-compiling, assuming yes" >&5
8021 $as_echo "cross-compiling, assuming yes" >&6; }
8023 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8024 /* end confdefs.h. */
8027 "good:\tnop;nop\n\t"
8028 ".globl _testfunc\n"
8029 "_testfunc:\tcallw good");
8030 extern void testfunc();
8034 unsigned short *p = (unsigned short *)testfunc;
8035 return p[0] != 0xe866 || p[1] != 0xfffa
8040 if ac_fn_c_try_run
"$LINENO"; then :
8041 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
8042 $as_echo "yes" >&6; }
8044 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8045 $as_echo "no" >&6; }
8046 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
8048 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext \
8049 conftest.
$ac_objext conftest.beam conftest.
$ac_ext
8054 libwine_targets
="libwine.dylib libwine.$libwine_soversion.dylib libwine.$libwine_version.dylib"
8056 OBJS = \$(C_SRCS:.c=.o) \$(EXTRA_OBJS)
8060 libwine.$libwine_version.dylib: \$(OBJS)
8061 \$(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 \$@
8063 libwine.$libwine_soversion.dylib: libwine.$libwine_version.dylib
8064 \$(RM) \$@ && \$(LN_S) libwine.$libwine_version.dylib \$@
8066 libwine.dylib: libwine.$libwine_soversion.dylib
8067 \$(RM) \$@ && \$(LN_S) libwine.$libwine_soversion.dylib \$@
8069 install install-lib:: libwine.$libwine_version.dylib
8070 \$(INSTALL_PROGRAM) libwine.$libwine_version.dylib \$(DESTDIR)\$(libdir)/libwine.$libwine_version.dylib
8071 cd \$(DESTDIR)\$(libdir) && \$(RM) libwine.$libwine_soversion.dylib && \$(LN_S) libwine.$libwine_version.dylib libwine.$libwine_soversion.dylib
8073 install install-dev::
8074 cd \$(DESTDIR)\$(libdir) && \$(RM) libwine.dylib && \$(LN_S) libwine.$libwine_version.dylib libwine.dylib
8077 -cd \$(DESTDIR)\$(libdir) && \$(RM) libwine.dylib libwine.$libwine_soversion.dylib libwine.$libwine_version.dylib
8081 as_fn_append LOADER_RULES
"
8082 $wine_binary: main.o wine_info.plist
8083 \$(CC) -o \$@ $LDEXECFLAGS main.o \$(LIBWINE) \$(LIBPORT) \$(EXTRALIBS) \$(LDFLAGS) \$(LDRPATH_LOCAL)
8085 wine-installed: main.o wine_info.plist
8086 \$(CC) -o \$@ $LDEXECFLAGS main.o \$(LIBWINE) \$(LIBPORT) \$(EXTRALIBS) \$(LDFLAGS) \$(LDRPATH_INSTALL)
8091 DLLFLAGS
="$DLLFLAGS -fPIC"
8095 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -Wl,--export-dynamic" >&5
8096 $as_echo_n "checking whether the compiler supports -fPIC -Wl,--export-dynamic... " >&6; }
8097 if ${ac_cv_cflags__fPIC__Wl___export_dynamic+:} false
; then :
8098 $as_echo_n "(cached) " >&6
8100 ac_wine_try_cflags_saved
=$CFLAGS
8101 CFLAGS
="$CFLAGS -fPIC -Wl,--export-dynamic"
8102 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8103 /* end confdefs.h. */
8104 int main(int argc, char **argv) { return 0; }
8106 if ac_fn_c_try_link
"$LINENO"; then :
8107 ac_cv_cflags__fPIC__Wl___export_dynamic
=yes
8109 ac_cv_cflags__fPIC__Wl___export_dynamic
=no
8111 rm -f core conftest.err conftest.
$ac_objext \
8112 conftest
$ac_exeext conftest.
$ac_ext
8113 CFLAGS
=$ac_wine_try_cflags_saved
8115 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fPIC__Wl___export_dynamic" >&5
8116 $as_echo "$ac_cv_cflags__fPIC__Wl___export_dynamic" >&6; }
8117 if test "x$ac_cv_cflags__fPIC__Wl___export_dynamic" = xyes
; then :
8118 LDEXECFLAGS
="-Wl,--export-dynamic"
8120 as_ac_var
=`$as_echo "ac_cv_cflags_-fPIC -Wl,--rpath,\\$ORIGIN/../lib" | $as_tr_sh`
8121 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -Wl,--rpath,\$ORIGIN/../lib" >&5
8122 $as_echo_n "checking whether the compiler supports -fPIC -Wl,--rpath,\$ORIGIN/../lib... " >&6; }
8123 if eval \
${$as_ac_var+:} false
; then :
8124 $as_echo_n "(cached) " >&6
8126 ac_wine_try_cflags_saved
=$CFLAGS
8127 CFLAGS
="$CFLAGS -fPIC -Wl,--rpath,\$ORIGIN/../lib"
8128 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8129 /* end confdefs.h. */
8130 int main(int argc, char **argv) { return 0; }
8132 if ac_fn_c_try_link
"$LINENO"; then :
8133 eval "$as_ac_var=yes"
8135 eval "$as_ac_var=no"
8137 rm -f core conftest.err conftest.
$ac_objext \
8138 conftest
$ac_exeext conftest.
$ac_ext
8139 CFLAGS
=$ac_wine_try_cflags_saved
8141 eval ac_res
=\$
$as_ac_var
8142 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
8143 $as_echo "$ac_res" >&6; }
8144 if eval test \"x\$
"$as_ac_var"\" = x
"yes"; then :
8145 LDRPATH_INSTALL
="-Wl,--rpath,\\\$\$ORIGIN/\`\$(MAKEDEP) -R \$(bindir) \$(libdir)\`"
8146 LDRPATH_LOCAL
="-Wl,--rpath,\\\$\$ORIGIN/\$(top_builddir)/libs/wine"
8148 as_ac_var
=`$as_echo "ac_cv_cflags_-fPIC -Wl,-R,\\$ORIGIN/../lib" | $as_tr_sh`
8149 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -Wl,-R,\$ORIGIN/../lib" >&5
8150 $as_echo_n "checking whether the compiler supports -fPIC -Wl,-R,\$ORIGIN/../lib... " >&6; }
8151 if eval \
${$as_ac_var+:} false
; then :
8152 $as_echo_n "(cached) " >&6
8154 ac_wine_try_cflags_saved
=$CFLAGS
8155 CFLAGS
="$CFLAGS -fPIC -Wl,-R,\$ORIGIN/../lib"
8156 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8157 /* end confdefs.h. */
8158 int main(int argc, char **argv) { return 0; }
8160 if ac_fn_c_try_link
"$LINENO"; then :
8161 eval "$as_ac_var=yes"
8163 eval "$as_ac_var=no"
8165 rm -f core conftest.err conftest.
$ac_objext \
8166 conftest
$ac_exeext conftest.
$ac_ext
8167 CFLAGS
=$ac_wine_try_cflags_saved
8169 eval ac_res
=\$
$as_ac_var
8170 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
8171 $as_echo "$ac_res" >&6; }
8172 if eval test \"x\$
"$as_ac_var"\" = x
"yes"; then :
8173 LDRPATH_INSTALL
="-Wl,-R,\\\$\$ORIGIN/\`\$(MAKEDEP) -R \$(bindir) \$(libdir)\`"
8174 LDRPATH_LOCAL
="-Wl,-R,\\\$\$ORIGIN/\$(top_builddir)/libs/wine"
8178 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,--enable-new-dtags" >&5
8179 $as_echo_n "checking whether the compiler supports -Wl,--enable-new-dtags... " >&6; }
8180 if ${ac_cv_cflags__Wl___enable_new_dtags+:} false
; then :
8181 $as_echo_n "(cached) " >&6
8183 ac_wine_try_cflags_saved
=$CFLAGS
8184 CFLAGS
="$CFLAGS -Wl,--enable-new-dtags"
8185 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8186 /* end confdefs.h. */
8187 int main(int argc, char **argv) { return 0; }
8189 if ac_fn_c_try_link
"$LINENO"; then :
8190 ac_cv_cflags__Wl___enable_new_dtags
=yes
8192 ac_cv_cflags__Wl___enable_new_dtags
=no
8194 rm -f core conftest.err conftest.
$ac_objext \
8195 conftest
$ac_exeext conftest.
$ac_ext
8196 CFLAGS
=$ac_wine_try_cflags_saved
8198 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl___enable_new_dtags" >&5
8199 $as_echo "$ac_cv_cflags__Wl___enable_new_dtags" >&6; }
8200 if test "x$ac_cv_cflags__Wl___enable_new_dtags" = xyes
; then :
8201 LDRPATH_INSTALL
="$LDRPATH_INSTALL -Wl,--enable-new-dtags"
8205 *i
[3456789]86* | x86_64
)
8206 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,--section-start,.interp=0x7bf00400" >&5
8207 $as_echo_n "checking whether the compiler supports -Wl,--section-start,.interp=0x7bf00400... " >&6; }
8208 if ${ac_cv_cflags__Wl___section_start__interp_0x7bf00400+:} false
; then :
8209 $as_echo_n "(cached) " >&6
8211 ac_wine_try_cflags_saved
=$CFLAGS
8212 CFLAGS
="$CFLAGS -Wl,--section-start,.interp=0x7bf00400"
8213 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8214 /* end confdefs.h. */
8215 int main(int argc, char **argv) { return 0; }
8217 if ac_fn_c_try_link
"$LINENO"; then :
8218 ac_cv_cflags__Wl___section_start__interp_0x7bf00400
=yes
8220 ac_cv_cflags__Wl___section_start__interp_0x7bf00400
=no
8222 rm -f core conftest.err conftest.
$ac_objext \
8223 conftest
$ac_exeext conftest.
$ac_ext
8224 CFLAGS
=$ac_wine_try_cflags_saved
8226 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl___section_start__interp_0x7bf00400" >&5
8227 $as_echo "$ac_cv_cflags__Wl___section_start__interp_0x7bf00400" >&6; }
8228 if test "x$ac_cv_cflags__Wl___section_start__interp_0x7bf00400" = xyes
; then :
8229 LDEXECFLAGS
="$LDEXECFLAGS -Wl,--section-start,.interp=0x7bf00400"
8234 libwine_targets
="libwine.so"
8236 OBJS = \$(C_SRCS:.c=.o) \$(EXTRA_OBJS)
8240 libwine.so: \$(OBJS)
8241 \$(CC) -shared \$(OBJS) \$(EXTRALIBS) \$(LDFLAGS) \$(LIBS) -o \$@
8243 install install-lib:: libwine.so
8244 \$(INSTALL_PROGRAM) libwine.so \$(DESTDIR)\$(libdir)/libwine.so
8247 \$(RM) \$(DESTDIR)\$(libdir)/libwine.so
8251 as_fn_append LOADER_RULES
"
8252 $wine_binary: main.o
8253 \$(CC) -o \$@ $LDEXECFLAGS main.o \$(LIBWINE) \$(LIBPORT) \$(EXTRALIBS) \$(LDFLAGS) \$(LDRPATH_LOCAL)
8255 wine-installed: main.o
8256 \$(CC) -o \$@ $LDEXECFLAGS main.o \$(LIBWINE) \$(LIBPORT) \$(EXTRALIBS) \$(LDFLAGS) \$(LDRPATH_INSTALL)
8261 DLLFLAGS
="$DLLFLAGS -fPIC"
8263 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we can build a GNU style ELF dll" >&5
8264 $as_echo_n "checking whether we can build a GNU style ELF dll... " >&6; }
8265 if ${ac_cv_c_dll_gnuelf+:} false
; then :
8266 $as_echo_n "(cached) " >&6
8268 ac_wine_try_cflags_saved
=$CFLAGS
8269 CFLAGS
="$CFLAGS -fPIC -shared -Wl,-Bsymbolic"
8270 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8271 /* end confdefs.h. */
8274 if ac_fn_c_try_link
"$LINENO"; then :
8275 ac_cv_c_dll_gnuelf
="yes"
8277 ac_cv_c_dll_gnuelf
="no"
8279 rm -f core conftest.err conftest.
$ac_objext \
8280 conftest
$ac_exeext conftest.
$ac_ext
8281 CFLAGS
=$ac_wine_try_cflags_saved
8283 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_dll_gnuelf" >&5
8284 $as_echo "$ac_cv_c_dll_gnuelf" >&6; }
8285 if test "$ac_cv_c_dll_gnuelf" = "yes"
8287 LDSHARED
="\$(CC) -shared"
8288 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -shared -Wl,-soname,confest.so.1" >&5
8289 $as_echo_n "checking whether the compiler supports -fPIC -shared -Wl,-soname,confest.so.1... " >&6; }
8290 if ${ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1+:} false
; then :
8291 $as_echo_n "(cached) " >&6
8293 ac_wine_try_cflags_saved
=$CFLAGS
8294 CFLAGS
="$CFLAGS -fPIC -shared -Wl,-soname,confest.so.1"
8295 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8296 /* end confdefs.h. */
8297 int main(int argc, char **argv) { return 0; }
8299 if ac_fn_c_try_link
"$LINENO"; then :
8300 ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1
=yes
8302 ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1
=no
8304 rm -f core conftest.err conftest.
$ac_objext \
8305 conftest
$ac_exeext conftest.
$ac_ext
8306 CFLAGS
=$ac_wine_try_cflags_saved
8308 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1" >&5
8309 $as_echo "$ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1" >&6; }
8310 if test "x$ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1" = xyes
; then :
8311 LDSHARED
="\$(CC) -shared -Wl,-soname,libwine.so.$libwine_soversion"
8313 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -shared -Wl,-h,confest.so.1" >&5
8314 $as_echo_n "checking whether the compiler supports -fPIC -shared -Wl,-h,confest.so.1... " >&6; }
8315 if ${ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1+:} false
; then :
8316 $as_echo_n "(cached) " >&6
8318 ac_wine_try_cflags_saved
=$CFLAGS
8319 CFLAGS
="$CFLAGS -fPIC -shared -Wl,-h,confest.so.1"
8320 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8321 /* end confdefs.h. */
8322 int main(int argc, char **argv) { return 0; }
8324 if ac_fn_c_try_link
"$LINENO"; then :
8325 ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1
=yes
8327 ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1
=no
8329 rm -f core conftest.err conftest.
$ac_objext \
8330 conftest
$ac_exeext conftest.
$ac_ext
8331 CFLAGS
=$ac_wine_try_cflags_saved
8333 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1" >&5
8334 $as_echo "$ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1" >&6; }
8335 if test "x$ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1" = xyes
; then :
8336 LDSHARED
="\$(CC) -shared -Wl,-h,libwine.so.$libwine_soversion"
8340 echo '{ global: *; };' >conftest.map
8341 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -shared -Wl,--version-script=conftest.map" >&5
8342 $as_echo_n "checking whether the compiler supports -fPIC -shared -Wl,--version-script=conftest.map... " >&6; }
8343 if ${ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map+:} false
; then :
8344 $as_echo_n "(cached) " >&6
8346 ac_wine_try_cflags_saved
=$CFLAGS
8347 CFLAGS
="$CFLAGS -fPIC -shared -Wl,--version-script=conftest.map"
8348 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8349 /* end confdefs.h. */
8350 int main(int argc, char **argv) { return 0; }
8352 if ac_fn_c_try_link
"$LINENO"; then :
8353 ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map
=yes
8355 ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map
=no
8357 rm -f core conftest.err conftest.
$ac_objext \
8358 conftest
$ac_exeext conftest.
$ac_ext
8359 CFLAGS
=$ac_wine_try_cflags_saved
8361 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map" >&5
8362 $as_echo "$ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map" >&6; }
8363 if test "x$ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map" = xyes
; then :
8364 LDSHARED
="$LDSHARED -Wl,--version-script=\$(srcdir)/wine.map"
8368 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -Wl,--export-dynamic" >&5
8369 $as_echo_n "checking whether the compiler supports -fPIC -Wl,--export-dynamic... " >&6; }
8370 if ${ac_cv_cflags__fPIC__Wl___export_dynamic+:} false
; then :
8371 $as_echo_n "(cached) " >&6
8373 ac_wine_try_cflags_saved
=$CFLAGS
8374 CFLAGS
="$CFLAGS -fPIC -Wl,--export-dynamic"
8375 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8376 /* end confdefs.h. */
8377 int main(int argc, char **argv) { return 0; }
8379 if ac_fn_c_try_link
"$LINENO"; then :
8380 ac_cv_cflags__fPIC__Wl___export_dynamic
=yes
8382 ac_cv_cflags__fPIC__Wl___export_dynamic
=no
8384 rm -f core conftest.err conftest.
$ac_objext \
8385 conftest
$ac_exeext conftest.
$ac_ext
8386 CFLAGS
=$ac_wine_try_cflags_saved
8388 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fPIC__Wl___export_dynamic" >&5
8389 $as_echo "$ac_cv_cflags__fPIC__Wl___export_dynamic" >&6; }
8390 if test "x$ac_cv_cflags__fPIC__Wl___export_dynamic" = xyes
; then :
8391 LDEXECFLAGS
="-Wl,--export-dynamic"
8394 as_ac_var
=`$as_echo "ac_cv_cflags_-fPIC -Wl,--rpath,\\$ORIGIN/../lib" | $as_tr_sh`
8395 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -Wl,--rpath,\$ORIGIN/../lib" >&5
8396 $as_echo_n "checking whether the compiler supports -fPIC -Wl,--rpath,\$ORIGIN/../lib... " >&6; }
8397 if eval \
${$as_ac_var+:} false
; then :
8398 $as_echo_n "(cached) " >&6
8400 ac_wine_try_cflags_saved
=$CFLAGS
8401 CFLAGS
="$CFLAGS -fPIC -Wl,--rpath,\$ORIGIN/../lib"
8402 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8403 /* end confdefs.h. */
8404 int main(int argc, char **argv) { return 0; }
8406 if ac_fn_c_try_link
"$LINENO"; then :
8407 eval "$as_ac_var=yes"
8409 eval "$as_ac_var=no"
8411 rm -f core conftest.err conftest.
$ac_objext \
8412 conftest
$ac_exeext conftest.
$ac_ext
8413 CFLAGS
=$ac_wine_try_cflags_saved
8415 eval ac_res
=\$
$as_ac_var
8416 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
8417 $as_echo "$ac_res" >&6; }
8418 if eval test \"x\$
"$as_ac_var"\" = x
"yes"; then :
8419 LDRPATH_INSTALL
="-Wl,--rpath,\\\$\$ORIGIN/\`\$(MAKEDEP) -R \$(bindir) \$(libdir)\`"
8420 LDRPATH_LOCAL
="-Wl,--rpath,\\\$\$ORIGIN/\$(top_builddir)/libs/wine"
8422 as_ac_var
=`$as_echo "ac_cv_cflags_-fPIC -Wl,-R,\\$ORIGIN/../lib" | $as_tr_sh`
8423 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -Wl,-R,\$ORIGIN/../lib" >&5
8424 $as_echo_n "checking whether the compiler supports -fPIC -Wl,-R,\$ORIGIN/../lib... " >&6; }
8425 if eval \
${$as_ac_var+:} false
; then :
8426 $as_echo_n "(cached) " >&6
8428 ac_wine_try_cflags_saved
=$CFLAGS
8429 CFLAGS
="$CFLAGS -fPIC -Wl,-R,\$ORIGIN/../lib"
8430 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8431 /* end confdefs.h. */
8432 int main(int argc, char **argv) { return 0; }
8434 if ac_fn_c_try_link
"$LINENO"; then :
8435 eval "$as_ac_var=yes"
8437 eval "$as_ac_var=no"
8439 rm -f core conftest.err conftest.
$ac_objext \
8440 conftest
$ac_exeext conftest.
$ac_ext
8441 CFLAGS
=$ac_wine_try_cflags_saved
8443 eval ac_res
=\$
$as_ac_var
8444 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
8445 $as_echo "$ac_res" >&6; }
8446 if eval test \"x\$
"$as_ac_var"\" = x
"yes"; then :
8447 LDRPATH_INSTALL
="-Wl,-R,\\\$\$ORIGIN/\`\$(MAKEDEP) -R \$(bindir) \$(libdir)\`"
8448 LDRPATH_LOCAL
="-Wl,-R,\\\$\$ORIGIN/\$(top_builddir)/libs/wine"
8452 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,--enable-new-dtags" >&5
8453 $as_echo_n "checking whether the compiler supports -Wl,--enable-new-dtags... " >&6; }
8454 if ${ac_cv_cflags__Wl___enable_new_dtags+:} false
; then :
8455 $as_echo_n "(cached) " >&6
8457 ac_wine_try_cflags_saved
=$CFLAGS
8458 CFLAGS
="$CFLAGS -Wl,--enable-new-dtags"
8459 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8460 /* end confdefs.h. */
8461 int main(int argc, char **argv) { return 0; }
8463 if ac_fn_c_try_link
"$LINENO"; then :
8464 ac_cv_cflags__Wl___enable_new_dtags
=yes
8466 ac_cv_cflags__Wl___enable_new_dtags
=no
8468 rm -f core conftest.err conftest.
$ac_objext \
8469 conftest
$ac_exeext conftest.
$ac_ext
8470 CFLAGS
=$ac_wine_try_cflags_saved
8472 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl___enable_new_dtags" >&5
8473 $as_echo "$ac_cv_cflags__Wl___enable_new_dtags" >&6; }
8474 if test "x$ac_cv_cflags__Wl___enable_new_dtags" = xyes
; then :
8475 LDRPATH_INSTALL
="$LDRPATH_INSTALL -Wl,--enable-new-dtags"
8479 *i
[3456789]86* | x86_64
)
8480 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,--section-start,.interp=0x7bf00400" >&5
8481 $as_echo_n "checking whether the compiler supports -Wl,--section-start,.interp=0x7bf00400... " >&6; }
8482 if ${ac_cv_cflags__Wl___section_start__interp_0x7bf00400+:} false
; then :
8483 $as_echo_n "(cached) " >&6
8485 ac_wine_try_cflags_saved
=$CFLAGS
8486 CFLAGS
="$CFLAGS -Wl,--section-start,.interp=0x7bf00400"
8487 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8488 /* end confdefs.h. */
8489 int main(int argc, char **argv) { return 0; }
8491 if ac_fn_c_try_link
"$LINENO"; then :
8492 ac_cv_cflags__Wl___section_start__interp_0x7bf00400
=yes
8494 ac_cv_cflags__Wl___section_start__interp_0x7bf00400
=no
8496 rm -f core conftest.err conftest.
$ac_objext \
8497 conftest
$ac_exeext conftest.
$ac_ext
8498 CFLAGS
=$ac_wine_try_cflags_saved
8500 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl___section_start__interp_0x7bf00400" >&5
8501 $as_echo "$ac_cv_cflags__Wl___section_start__interp_0x7bf00400" >&6; }
8502 if test "x$ac_cv_cflags__Wl___section_start__interp_0x7bf00400" = xyes
; then :
8504 freebsd
* | kfreebsd
*-gnu) LDEXECFLAGS
="$LDEXECFLAGS -Wl,--section-start,.interp=0x60000400" ;;
8505 *) LDEXECFLAGS
="$LDEXECFLAGS -Wl,--section-start,.interp=0x7bf00400" ;;
8509 # Extract the first word of "prelink", so it can be a program name with args.
8510 set dummy prelink
; ac_word
=$2
8511 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8512 $as_echo_n "checking for $ac_word... " >&6; }
8513 if ${ac_cv_path_PRELINK+:} false
; then :
8514 $as_echo_n "(cached) " >&6
8518 ac_cv_path_PRELINK
="$PRELINK" # Let the user override the test with a path.
8521 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
8522 for as_dir
in /sbin
/usr
/sbin
$PATH
8525 test -z "$as_dir" && as_dir
=.
8526 for ac_exec_ext
in '' $ac_executable_extensions; do
8527 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
8528 ac_cv_path_PRELINK
="$as_dir/$ac_word$ac_exec_ext"
8529 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8536 test -z "$ac_cv_path_PRELINK" && ac_cv_path_PRELINK
="false"
8540 PRELINK
=$ac_cv_path_PRELINK
8541 if test -n "$PRELINK"; then
8542 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PRELINK" >&5
8543 $as_echo "$PRELINK" >&6; }
8545 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8546 $as_echo "no" >&6; }
8550 if test "x$PRELINK" = xfalse
8552 as_fn_append wine_warnings
"|prelink not found, base address of core dlls won't be set correctly."
8558 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we can build a UnixWare (Solaris) dll" >&5
8559 $as_echo_n "checking whether we can build a UnixWare (Solaris) dll... " >&6; }
8560 if ${ac_cv_c_dll_unixware+:} false
; then :
8561 $as_echo_n "(cached) " >&6
8563 ac_wine_try_cflags_saved
=$CFLAGS
8564 CFLAGS
="$CFLAGS -fPIC -Wl,-G,-h,conftest.so.1.0,-B,symbolic"
8565 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8566 /* end confdefs.h. */
8569 if ac_fn_c_try_link
"$LINENO"; then :
8570 ac_cv_c_dll_unixware
="yes"
8572 ac_cv_c_dll_unixware
="no"
8574 rm -f core conftest.err conftest.
$ac_objext \
8575 conftest
$ac_exeext conftest.
$ac_ext
8576 CFLAGS
=$ac_wine_try_cflags_saved
8578 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_dll_unixware" >&5
8579 $as_echo "$ac_cv_c_dll_unixware" >&6; }
8580 if test "$ac_cv_c_dll_unixware" = "yes"
8582 LDSHARED
="\$(CC) -Wl,-G,-h,libwine.so.$libwine_soversion"
8585 libwine_targets
="libwine.so libwine.so.$libwine_soversion libwine.so.$libwine_version"
8587 OBJS = \$(C_SRCS:.c=.o) \$(EXTRA_OBJS)
8591 libwine.so.$libwine_version: \$(OBJS) \$(srcdir)/wine.map
8592 $LDSHARED \$(OBJS) \$(EXTRALIBS) \$(LDFLAGS) \$(LIBS) -o \$@
8594 libwine.so.$libwine_soversion: libwine.so.$libwine_version
8595 \$(RM) \$@ && \$(LN_S) libwine.so.$libwine_version \$@
8597 libwine.so: libwine.so.$libwine_soversion
8598 \$(RM) \$@ && \$(LN_S) libwine.so.$libwine_soversion \$@
8600 install install-lib:: libwine.so.$libwine_version
8601 \$(INSTALL_PROGRAM) libwine.so.$libwine_version \$(DESTDIR)\$(libdir)/libwine.so.$libwine_version
8602 cd \$(DESTDIR)\$(libdir) && \$(RM) libwine.so.$libwine_soversion && \$(LN_S) libwine.so.$libwine_version libwine.so.$libwine_soversion
8604 install install-dev::
8605 cd \$(DESTDIR)\$(libdir) && \$(RM) libwine.so && \$(LN_S) libwine.so.$libwine_version libwine.so
8608 -cd \$(DESTDIR)\$(libdir) && \$(RM) libwine.so libwine.so.$libwine_soversion libwine.so.$libwine_version
8612 as_fn_append LOADER_RULES
"
8613 $wine_binary: main.o
8614 \$(CC) -o \$@ $LDEXECFLAGS main.o \$(LIBWINE) \$(LIBPORT) \$(EXTRALIBS) \$(LDFLAGS) \$(LDRPATH_LOCAL)
8616 wine-installed: main.o
8617 \$(CC) -o \$@ $LDEXECFLAGS main.o \$(LIBWINE) \$(LIBPORT) \$(EXTRALIBS) \$(LDFLAGS) \$(LDRPATH_INSTALL)
8622 as_fn_append LIBWINE_RULES
"
8623 EXTRA_TARGETS = $libwine_targets
8626 enable_wineqtdecoder
=${enable_wineqtdecoder:-no}
8627 enable_winemac_drv
=${enable_winemac_drv:-no}
8631 if test "$cross_compiling" = "no" -a "x$enable_tests" != xno
-a "$LIBEXT" != "dll"
8635 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
8638 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 " ;;
8640 ac_prefix_list
="" ;;
8642 for ac_prog
in $ac_prefix_list
8644 # Extract the first word of "$ac_prog", so it can be a program name with args.
8645 set dummy
$ac_prog; ac_word
=$2
8646 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8647 $as_echo_n "checking for $ac_word... " >&6; }
8648 if ${ac_cv_prog_CROSSCC+:} false
; then :
8649 $as_echo_n "(cached) " >&6
8651 if test -n "$CROSSCC"; then
8652 ac_cv_prog_CROSSCC
="$CROSSCC" # Let the user override the test.
8654 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
8658 test -z "$as_dir" && as_dir
=.
8659 for ac_exec_ext
in '' $ac_executable_extensions; do
8660 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
8661 ac_cv_prog_CROSSCC
="$ac_prog"
8662 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8671 CROSSCC
=$ac_cv_prog_CROSSCC
8672 if test -n "$CROSSCC"; then
8673 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CROSSCC" >&5
8674 $as_echo "$CROSSCC" >&6; }
8676 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8677 $as_echo "no" >&6; }
8681 test -n "$CROSSCC" && break
8683 test -n "$CROSSCC" || CROSSCC
="false"
8685 if test "$CROSSCC" != "false"
8689 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CROSSCC works" >&5
8690 $as_echo_n "checking whether $CROSSCC works... " >&6; }
8691 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8692 /* end confdefs.h. */
8702 if ac_fn_c_try_compile
"$LINENO"; then :
8703 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
8704 $as_echo "yes" >&6; }
8710 *-gcc) CROSSTARGET
=`expr "$1" : '\(.*\)-gcc'` ;;
8715 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8716 $as_echo "no" >&6; }
8718 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
8724 if test "$ac_cv_header_pthread_h" = "yes"
8726 ac_fn_c_check_func
"$LINENO" "pthread_create" "ac_cv_func_pthread_create"
8727 if test "x$ac_cv_func_pthread_create" = xyes
; then :
8730 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pthread_create in -lpthread" >&5
8731 $as_echo_n "checking for pthread_create in -lpthread... " >&6; }
8732 if ${ac_cv_lib_pthread_pthread_create+:} false
; then :
8733 $as_echo_n "(cached) " >&6
8735 ac_check_lib_save_LIBS
=$LIBS
8736 LIBS
="-lpthread $LIBS"
8737 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8738 /* end confdefs.h. */
8740 /* Override any GCC internal prototype to avoid an error.
8741 Use char because int might match the return type of a GCC
8742 builtin and then its argument prototype would still apply. */
8746 char pthread_create ();
8750 return pthread_create ();
8755 if ac_fn_c_try_link
"$LINENO"; then :
8756 ac_cv_lib_pthread_pthread_create
=yes
8758 ac_cv_lib_pthread_pthread_create
=no
8760 rm -f core conftest.err conftest.
$ac_objext \
8761 conftest
$ac_exeext conftest.
$ac_ext
8762 LIBS
=$ac_check_lib_save_LIBS
8764 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_pthread_pthread_create" >&5
8765 $as_echo "$ac_cv_lib_pthread_pthread_create" >&6; }
8766 if test "x$ac_cv_lib_pthread_pthread_create" = xyes
; then :
8767 PTHREAD_LIBS
="-lpthread"
8774 if test "x$ac_cv_func_pthread_create" != xyes
-a "x$PTHREAD_LIBS" = x
; then :
8775 case "x$with_pthread" in
8777 *) as_fn_error $?
"pthread ${notice_platform}development files not found.
8778 Wine cannot support threads without libpthread.
8779 Use the --without-pthread option if you really want this." "$LINENO" 5 ;;
8784 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for X" >&5
8785 $as_echo_n "checking for X... " >&6; }
8788 # Check whether --with-x was given.
8789 if test "${with_x+set}" = set; then :
8793 # $have_x is `yes', `no', `disabled', or empty when we do not yet know.
8794 if test "x$with_x" = xno
; then
8795 # The user explicitly disabled X.
8798 case $x_includes,$x_libraries in #(
8799 *\'*) as_fn_error $?
"cannot use X directory names containing '" "$LINENO" 5;; #(
8800 *,NONE | NONE
,*) if ${ac_cv_have_x+:} false
; then :
8801 $as_echo_n "(cached) " >&6
8803 # One or both of the vars are not set, and there is no cached value.
8804 ac_x_includes
=no ac_x_libraries
=no
8805 rm -f -r conftest.dir
8806 if mkdir conftest.dir
; then
8808 cat >Imakefile
<<'_ACEOF'
8810 @echo incroot='${INCROOT}'
8812 @echo usrlibdir='${USRLIBDIR}'
8814 @echo libdir='${LIBDIR}'
8816 if (export CC
; ${XMKMF-xmkmf}) >/dev
/null
2>/dev
/null
&& test -f Makefile
; then
8817 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
8818 for ac_var
in incroot usrlibdir libdir
; do
8819 eval "ac_im_$ac_var=\`\${MAKE-make} $ac_var 2>/dev/null | sed -n 's/^$ac_var=//p'\`"
8821 # Open Windows xmkmf reportedly sets LIBDIR instead of USRLIBDIR.
8822 for ac_extension
in a so sl dylib la dll
; do
8823 if test ! -f "$ac_im_usrlibdir/libX11.$ac_extension" &&
8824 test -f "$ac_im_libdir/libX11.$ac_extension"; then
8825 ac_im_usrlibdir
=$ac_im_libdir; break
8828 # Screen out bogus values from the imake configuration. They are
8829 # bogus both because they are the default anyway, and because
8830 # using them would break gcc on systems where it needs fixed includes.
8831 case $ac_im_incroot in
8832 /usr
/include
) ac_x_includes
= ;;
8833 *) test -f "$ac_im_incroot/X11/Xos.h" && ac_x_includes
=$ac_im_incroot;;
8835 case $ac_im_usrlibdir in
8836 /usr
/lib |
/usr
/lib64 |
/lib |
/lib64
) ;;
8837 *) test -d "$ac_im_usrlibdir" && ac_x_libraries
=$ac_im_usrlibdir ;;
8841 rm -f -r conftest.dir
8844 # Standard set of common directories for X headers.
8845 # Check X11 before X11Rn because it is often a symlink to the current release.
8859 /usr/local/X11/include
8860 /usr/local/X11R7/include
8861 /usr/local/X11R6/include
8862 /usr/local/X11R5/include
8863 /usr/local/X11R4/include
8865 /usr/local/include/X11
8866 /usr/local/include/X11R7
8867 /usr/local/include/X11R6
8868 /usr/local/include/X11R5
8869 /usr/local/include/X11R4
8873 /usr/XFree86/include/X11
8877 /usr/unsupported/include
8879 /usr/local/x11r5/include
8880 /usr/lpp/Xamples/include
8882 /usr/openwin/include
8883 /usr/openwin/share/include'
8885 if test "$ac_x_includes" = no
; then
8886 # Guess where to find include files, by looking for Xlib.h.
8887 # First, try using that file with no special directory specified.
8888 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8889 /* end confdefs.h. */
8890 #include <X11/Xlib.h>
8892 if ac_fn_c_try_cpp
"$LINENO"; then :
8893 # We can compile using X headers with no special include directory.
8896 for ac_dir
in $ac_x_header_dirs; do
8897 if test -r "$ac_dir/X11/Xlib.h"; then
8898 ac_x_includes
=$ac_dir
8903 rm -f conftest.err conftest.i conftest.
$ac_ext
8904 fi # $ac_x_includes = no
8906 if test "$ac_x_libraries" = no
; then
8907 # Check for the libraries.
8908 # See if we find them without any special options.
8909 # Don't add to $LIBS permanently.
8912 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8913 /* end confdefs.h. */
8914 #include <X11/Xlib.h>
8923 if ac_fn_c_try_link
"$LINENO"; then :
8925 # We can link X programs with no special library path.
8929 for ac_dir
in `$as_echo "$ac_x_includes $ac_x_header_dirs" | sed s/include/lib/g`
8931 # Don't even attempt the hair of trying to link an X program!
8932 for ac_extension
in a so sl dylib la dll
; do
8933 if test -r "$ac_dir/libX11.$ac_extension"; then
8934 ac_x_libraries
=$ac_dir
8940 rm -f core conftest.err conftest.
$ac_objext \
8941 conftest
$ac_exeext conftest.
$ac_ext
8942 fi # $ac_x_libraries = no
8944 case $ac_x_includes,$ac_x_libraries in #(
8946 # Didn't find X, or a directory has "'" in its name.
8947 ac_cv_have_x
="have_x=no";; #(
8949 # Record where we found X for the cache.
8950 ac_cv_have_x
="have_x=yes\
8951 ac_x_includes='$ac_x_includes'\
8952 ac_x_libraries='$ac_x_libraries'"
8958 eval "$ac_cv_have_x"
8961 if test "$have_x" != yes; then
8962 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $have_x" >&5
8963 $as_echo "$have_x" >&6; }
8966 # If each of the values was on the command line, it overrides each guess.
8967 test "x$x_includes" = xNONE
&& x_includes
=$ac_x_includes
8968 test "x$x_libraries" = xNONE
&& x_libraries
=$ac_x_libraries
8969 # Update the cache value to reflect the command line values.
8970 ac_cv_have_x
="have_x=yes\
8971 ac_x_includes='$x_includes'\
8972 ac_x_libraries='$x_libraries'"
8973 { $as_echo "$as_me:${as_lineno-$LINENO}: result: libraries $x_libraries, headers $x_includes" >&5
8974 $as_echo "libraries $x_libraries, headers $x_includes" >&6; }
8977 if test "$no_x" = yes; then
8978 # Not all programs may use this symbol, but it does not hurt to define it.
8980 $as_echo "#define X_DISPLAY_MISSING 1" >>confdefs.h
8982 X_CFLAGS
= X_PRE_LIBS
= X_LIBS
= X_EXTRA_LIBS
=
8984 if test -n "$x_includes"; then
8985 X_CFLAGS
="$X_CFLAGS -I$x_includes"
8988 # It would also be nice to do this for all -L options, not just this one.
8989 if test -n "$x_libraries"; then
8990 X_LIBS
="$X_LIBS -L$x_libraries"
8991 # For Solaris; some versions of Sun CC require a space after -R and
8992 # others require no space. Words are not sufficient . . . .
8993 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -R must be followed by a space" >&5
8994 $as_echo_n "checking whether -R must be followed by a space... " >&6; }
8995 ac_xsave_LIBS
=$LIBS; LIBS
="$LIBS -R$x_libraries"
8996 ac_xsave_c_werror_flag
=$ac_c_werror_flag
8997 ac_c_werror_flag
=yes
8998 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8999 /* end confdefs.h. */
9009 if ac_fn_c_try_link
"$LINENO"; then :
9010 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9011 $as_echo "no" >&6; }
9012 X_LIBS
="$X_LIBS -R$x_libraries"
9014 LIBS
="$ac_xsave_LIBS -R $x_libraries"
9015 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9016 /* end confdefs.h. */
9026 if ac_fn_c_try_link
"$LINENO"; then :
9027 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
9028 $as_echo "yes" >&6; }
9029 X_LIBS
="$X_LIBS -R $x_libraries"
9031 { $as_echo "$as_me:${as_lineno-$LINENO}: result: neither works" >&5
9032 $as_echo "neither works" >&6; }
9034 rm -f core conftest.err conftest.
$ac_objext \
9035 conftest
$ac_exeext conftest.
$ac_ext
9037 rm -f core conftest.err conftest.
$ac_objext \
9038 conftest
$ac_exeext conftest.
$ac_ext
9039 ac_c_werror_flag
=$ac_xsave_c_werror_flag
9043 # Check for system-dependent libraries X programs must link with.
9044 # Do this before checking for the system-independent R6 libraries
9045 # (-lICE), since we may need -lsocket or whatever for X linking.
9047 if test "$ISC" = yes; then
9048 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lnsl_s -linet"
9050 # Martyn Johnson says this is needed for Ultrix, if the X
9051 # libraries were built with DECnet support. And Karl Berry says
9052 # the Alpha needs dnet_stub (dnet does not exist).
9053 ac_xsave_LIBS
="$LIBS"; LIBS
="$LIBS $X_LIBS -lX11"
9054 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9055 /* end confdefs.h. */
9057 /* Override any GCC internal prototype to avoid an error.
9058 Use char because int might match the return type of a GCC
9059 builtin and then its argument prototype would still apply. */
9063 char XOpenDisplay ();
9067 return XOpenDisplay ();
9072 if ac_fn_c_try_link
"$LINENO"; then :
9075 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dnet_ntoa in -ldnet" >&5
9076 $as_echo_n "checking for dnet_ntoa in -ldnet... " >&6; }
9077 if ${ac_cv_lib_dnet_dnet_ntoa+:} false
; then :
9078 $as_echo_n "(cached) " >&6
9080 ac_check_lib_save_LIBS
=$LIBS
9082 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9083 /* end confdefs.h. */
9085 /* Override any GCC internal prototype to avoid an error.
9086 Use char because int might match the return type of a GCC
9087 builtin and then its argument prototype would still apply. */
9095 return dnet_ntoa ();
9100 if ac_fn_c_try_link
"$LINENO"; then :
9101 ac_cv_lib_dnet_dnet_ntoa
=yes
9103 ac_cv_lib_dnet_dnet_ntoa
=no
9105 rm -f core conftest.err conftest.
$ac_objext \
9106 conftest
$ac_exeext conftest.
$ac_ext
9107 LIBS
=$ac_check_lib_save_LIBS
9109 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dnet_dnet_ntoa" >&5
9110 $as_echo "$ac_cv_lib_dnet_dnet_ntoa" >&6; }
9111 if test "x$ac_cv_lib_dnet_dnet_ntoa" = xyes
; then :
9112 X_EXTRA_LIBS
="$X_EXTRA_LIBS -ldnet"
9115 if test $ac_cv_lib_dnet_dnet_ntoa = no
; then
9116 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dnet_ntoa in -ldnet_stub" >&5
9117 $as_echo_n "checking for dnet_ntoa in -ldnet_stub... " >&6; }
9118 if ${ac_cv_lib_dnet_stub_dnet_ntoa+:} false
; then :
9119 $as_echo_n "(cached) " >&6
9121 ac_check_lib_save_LIBS
=$LIBS
9122 LIBS
="-ldnet_stub $LIBS"
9123 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9124 /* end confdefs.h. */
9126 /* Override any GCC internal prototype to avoid an error.
9127 Use char because int might match the return type of a GCC
9128 builtin and then its argument prototype would still apply. */
9136 return dnet_ntoa ();
9141 if ac_fn_c_try_link
"$LINENO"; then :
9142 ac_cv_lib_dnet_stub_dnet_ntoa
=yes
9144 ac_cv_lib_dnet_stub_dnet_ntoa
=no
9146 rm -f core conftest.err conftest.
$ac_objext \
9147 conftest
$ac_exeext conftest.
$ac_ext
9148 LIBS
=$ac_check_lib_save_LIBS
9150 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dnet_stub_dnet_ntoa" >&5
9151 $as_echo "$ac_cv_lib_dnet_stub_dnet_ntoa" >&6; }
9152 if test "x$ac_cv_lib_dnet_stub_dnet_ntoa" = xyes
; then :
9153 X_EXTRA_LIBS
="$X_EXTRA_LIBS -ldnet_stub"
9158 rm -f core conftest.err conftest.
$ac_objext \
9159 conftest
$ac_exeext conftest.
$ac_ext
9160 LIBS
="$ac_xsave_LIBS"
9162 # msh@cis.ufl.edu says -lnsl (and -lsocket) are needed for his 386/AT,
9163 # to get the SysV transport functions.
9164 # Chad R. Larson says the Pyramis MIS-ES running DC/OSx (SVR4)
9166 # The nsl library prevents programs from opening the X display
9167 # on Irix 5.2, according to T.E. Dickey.
9168 # The functions gethostbyname, getservbyname, and inet_addr are
9169 # in -lbsd on LynxOS 3.0.1/i386, according to Lars Hecking.
9170 ac_fn_c_check_func
"$LINENO" "gethostbyname" "ac_cv_func_gethostbyname"
9171 if test "x$ac_cv_func_gethostbyname" = xyes
; then :
9175 if test $ac_cv_func_gethostbyname = no
; then
9176 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gethostbyname in -lnsl" >&5
9177 $as_echo_n "checking for gethostbyname in -lnsl... " >&6; }
9178 if ${ac_cv_lib_nsl_gethostbyname+:} false
; then :
9179 $as_echo_n "(cached) " >&6
9181 ac_check_lib_save_LIBS
=$LIBS
9183 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9184 /* end confdefs.h. */
9186 /* Override any GCC internal prototype to avoid an error.
9187 Use char because int might match the return type of a GCC
9188 builtin and then its argument prototype would still apply. */
9192 char gethostbyname ();
9196 return gethostbyname ();
9201 if ac_fn_c_try_link
"$LINENO"; then :
9202 ac_cv_lib_nsl_gethostbyname
=yes
9204 ac_cv_lib_nsl_gethostbyname
=no
9206 rm -f core conftest.err conftest.
$ac_objext \
9207 conftest
$ac_exeext conftest.
$ac_ext
9208 LIBS
=$ac_check_lib_save_LIBS
9210 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_nsl_gethostbyname" >&5
9211 $as_echo "$ac_cv_lib_nsl_gethostbyname" >&6; }
9212 if test "x$ac_cv_lib_nsl_gethostbyname" = xyes
; then :
9213 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lnsl"
9216 if test $ac_cv_lib_nsl_gethostbyname = no
; then
9217 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gethostbyname in -lbsd" >&5
9218 $as_echo_n "checking for gethostbyname in -lbsd... " >&6; }
9219 if ${ac_cv_lib_bsd_gethostbyname+:} false
; then :
9220 $as_echo_n "(cached) " >&6
9222 ac_check_lib_save_LIBS
=$LIBS
9224 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9225 /* end confdefs.h. */
9227 /* Override any GCC internal prototype to avoid an error.
9228 Use char because int might match the return type of a GCC
9229 builtin and then its argument prototype would still apply. */
9233 char gethostbyname ();
9237 return gethostbyname ();
9242 if ac_fn_c_try_link
"$LINENO"; then :
9243 ac_cv_lib_bsd_gethostbyname
=yes
9245 ac_cv_lib_bsd_gethostbyname
=no
9247 rm -f core conftest.err conftest.
$ac_objext \
9248 conftest
$ac_exeext conftest.
$ac_ext
9249 LIBS
=$ac_check_lib_save_LIBS
9251 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_bsd_gethostbyname" >&5
9252 $as_echo "$ac_cv_lib_bsd_gethostbyname" >&6; }
9253 if test "x$ac_cv_lib_bsd_gethostbyname" = xyes
; then :
9254 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lbsd"
9260 # lieder@skyler.mavd.honeywell.com says without -lsocket,
9261 # socket/setsockopt and other routines are undefined under SCO ODT
9262 # 2.0. But -lsocket is broken on IRIX 5.2 (and is not necessary
9263 # on later versions), says Simon Leinen: it contains gethostby*
9264 # variants that don't use the name server (or something). -lsocket
9265 # must be given before -lnsl if both are needed. We assume that
9266 # if connect needs -lnsl, so does gethostbyname.
9267 ac_fn_c_check_func
"$LINENO" "connect" "ac_cv_func_connect"
9268 if test "x$ac_cv_func_connect" = xyes
; then :
9272 if test $ac_cv_func_connect = no
; then
9273 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for connect in -lsocket" >&5
9274 $as_echo_n "checking for connect in -lsocket... " >&6; }
9275 if ${ac_cv_lib_socket_connect+:} false
; then :
9276 $as_echo_n "(cached) " >&6
9278 ac_check_lib_save_LIBS
=$LIBS
9279 LIBS
="-lsocket $X_EXTRA_LIBS $LIBS"
9280 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9281 /* end confdefs.h. */
9283 /* Override any GCC internal prototype to avoid an error.
9284 Use char because int might match the return type of a GCC
9285 builtin and then its argument prototype would still apply. */
9298 if ac_fn_c_try_link
"$LINENO"; then :
9299 ac_cv_lib_socket_connect
=yes
9301 ac_cv_lib_socket_connect
=no
9303 rm -f core conftest.err conftest.
$ac_objext \
9304 conftest
$ac_exeext conftest.
$ac_ext
9305 LIBS
=$ac_check_lib_save_LIBS
9307 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_socket_connect" >&5
9308 $as_echo "$ac_cv_lib_socket_connect" >&6; }
9309 if test "x$ac_cv_lib_socket_connect" = xyes
; then :
9310 X_EXTRA_LIBS
="-lsocket $X_EXTRA_LIBS"
9315 # Guillermo Gomez says -lposix is necessary on A/UX.
9316 ac_fn_c_check_func
"$LINENO" "remove" "ac_cv_func_remove"
9317 if test "x$ac_cv_func_remove" = xyes
; then :
9321 if test $ac_cv_func_remove = no
; then
9322 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for remove in -lposix" >&5
9323 $as_echo_n "checking for remove in -lposix... " >&6; }
9324 if ${ac_cv_lib_posix_remove+:} false
; then :
9325 $as_echo_n "(cached) " >&6
9327 ac_check_lib_save_LIBS
=$LIBS
9328 LIBS
="-lposix $LIBS"
9329 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9330 /* end confdefs.h. */
9332 /* Override any GCC internal prototype to avoid an error.
9333 Use char because int might match the return type of a GCC
9334 builtin and then its argument prototype would still apply. */
9347 if ac_fn_c_try_link
"$LINENO"; then :
9348 ac_cv_lib_posix_remove
=yes
9350 ac_cv_lib_posix_remove
=no
9352 rm -f core conftest.err conftest.
$ac_objext \
9353 conftest
$ac_exeext conftest.
$ac_ext
9354 LIBS
=$ac_check_lib_save_LIBS
9356 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_posix_remove" >&5
9357 $as_echo "$ac_cv_lib_posix_remove" >&6; }
9358 if test "x$ac_cv_lib_posix_remove" = xyes
; then :
9359 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lposix"
9364 # BSDI BSD/OS 2.1 needs -lipc for XOpenDisplay.
9365 ac_fn_c_check_func
"$LINENO" "shmat" "ac_cv_func_shmat"
9366 if test "x$ac_cv_func_shmat" = xyes
; then :
9370 if test $ac_cv_func_shmat = no
; then
9371 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shmat in -lipc" >&5
9372 $as_echo_n "checking for shmat in -lipc... " >&6; }
9373 if ${ac_cv_lib_ipc_shmat+:} false
; then :
9374 $as_echo_n "(cached) " >&6
9376 ac_check_lib_save_LIBS
=$LIBS
9378 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9379 /* end confdefs.h. */
9381 /* Override any GCC internal prototype to avoid an error.
9382 Use char because int might match the return type of a GCC
9383 builtin and then its argument prototype would still apply. */
9396 if ac_fn_c_try_link
"$LINENO"; then :
9397 ac_cv_lib_ipc_shmat
=yes
9399 ac_cv_lib_ipc_shmat
=no
9401 rm -f core conftest.err conftest.
$ac_objext \
9402 conftest
$ac_exeext conftest.
$ac_ext
9403 LIBS
=$ac_check_lib_save_LIBS
9405 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ipc_shmat" >&5
9406 $as_echo "$ac_cv_lib_ipc_shmat" >&6; }
9407 if test "x$ac_cv_lib_ipc_shmat" = xyes
; then :
9408 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lipc"
9414 # Check for libraries that X11R6 Xt/Xaw programs need.
9415 ac_save_LDFLAGS
=$LDFLAGS
9416 test -n "$x_libraries" && LDFLAGS
="$LDFLAGS -L$x_libraries"
9417 # SM needs ICE to (dynamically) link under SunOS 4.x (so we have to
9418 # check for ICE first), but we must link in the order -lSM -lICE or
9419 # we get undefined symbols. So assume we have SM if we have ICE.
9420 # These have to be linked with before -lX11, unlike the other
9421 # libraries we check for below, so use a different variable.
9422 # John Interrante, Karl Berry
9423 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for IceConnectionNumber in -lICE" >&5
9424 $as_echo_n "checking for IceConnectionNumber in -lICE... " >&6; }
9425 if ${ac_cv_lib_ICE_IceConnectionNumber+:} false
; then :
9426 $as_echo_n "(cached) " >&6
9428 ac_check_lib_save_LIBS
=$LIBS
9429 LIBS
="-lICE $X_EXTRA_LIBS $LIBS"
9430 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9431 /* end confdefs.h. */
9433 /* Override any GCC internal prototype to avoid an error.
9434 Use char because int might match the return type of a GCC
9435 builtin and then its argument prototype would still apply. */
9439 char IceConnectionNumber ();
9443 return IceConnectionNumber ();
9448 if ac_fn_c_try_link
"$LINENO"; then :
9449 ac_cv_lib_ICE_IceConnectionNumber
=yes
9451 ac_cv_lib_ICE_IceConnectionNumber
=no
9453 rm -f core conftest.err conftest.
$ac_objext \
9454 conftest
$ac_exeext conftest.
$ac_ext
9455 LIBS
=$ac_check_lib_save_LIBS
9457 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ICE_IceConnectionNumber" >&5
9458 $as_echo "$ac_cv_lib_ICE_IceConnectionNumber" >&6; }
9459 if test "x$ac_cv_lib_ICE_IceConnectionNumber" = xyes
; then :
9460 X_PRE_LIBS
="$X_PRE_LIBS -lSM -lICE"
9463 LDFLAGS
=$ac_save_LDFLAGS
9468 if test "$have_x" = "yes"
9470 ac_save_CPPFLAGS
="$CPPFLAGS"
9471 CPPFLAGS
="$CPPFLAGS $X_CFLAGS"
9473 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lX11" >&5
9474 $as_echo_n "checking for -lX11... " >&6; }
9475 if ${ac_cv_lib_soname_X11+:} false
; then :
9476 $as_echo_n "(cached) " >&6
9478 ac_check_soname_save_LIBS
=$LIBS
9479 LIBS
="-lX11 $X_LIBS $X_EXTRA_LIBS $LIBS"
9480 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9481 /* end confdefs.h. */
9483 /* Override any GCC internal prototype to avoid an error.
9484 Use char because int might match the return type of a GCC
9485 builtin and then its argument prototype would still apply. */
9489 char XCreateWindow ();
9493 return XCreateWindow ();
9498 if ac_fn_c_try_link
"$LINENO"; then :
9500 dll
) ac_cv_lib_soname_X11
=`$ac_cv_path_LDD conftest.exe | grep "X11" | sed -e "s/dll.*/dll/"';2,$d'` ;;
9501 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'` ;;
9502 *) ac_cv_lib_soname_X11
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libX11\\.$LIBEXT" | sed -e "s/^.*\\[\\(libX11\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
9503 if ${ac_cv_lib_soname_X11:+false} :; then :
9504 ac_cv_lib_soname_X11
=`$LDD conftest$ac_exeext | grep "libX11\\.$LIBEXT" | sed -e "s/^.*\(libX11\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
9508 rm -f core conftest.err conftest.
$ac_objext \
9509 conftest
$ac_exeext conftest.
$ac_ext
9510 LIBS
=$ac_check_soname_save_LIBS
9512 if ${ac_cv_lib_soname_X11:+false} :; then :
9513 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
9514 $as_echo "not found" >&6; }
9517 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_X11" >&5
9518 $as_echo "$ac_cv_lib_soname_X11" >&6; }
9520 cat >>confdefs.h
<<_ACEOF
9521 #define SONAME_LIBX11 "$ac_cv_lib_soname_X11"
9526 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXext" >&5
9527 $as_echo_n "checking for -lXext... " >&6; }
9528 if ${ac_cv_lib_soname_Xext+:} false
; then :
9529 $as_echo_n "(cached) " >&6
9531 ac_check_soname_save_LIBS
=$LIBS
9532 LIBS
="-lXext $X_LIBS -lX11 $X_EXTRA_LIBS $LIBS"
9533 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9534 /* end confdefs.h. */
9536 /* Override any GCC internal prototype to avoid an error.
9537 Use char because int might match the return type of a GCC
9538 builtin and then its argument prototype would still apply. */
9542 char XextCreateExtension ();
9546 return XextCreateExtension ();
9551 if ac_fn_c_try_link
"$LINENO"; then :
9553 dll
) ac_cv_lib_soname_Xext
=`$ac_cv_path_LDD conftest.exe | grep "Xext" | sed -e "s/dll.*/dll/"';2,$d'` ;;
9554 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'` ;;
9555 *) ac_cv_lib_soname_Xext
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXext\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXext\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
9556 if ${ac_cv_lib_soname_Xext:+false} :; then :
9557 ac_cv_lib_soname_Xext
=`$LDD conftest$ac_exeext | grep "libXext\\.$LIBEXT" | sed -e "s/^.*\(libXext\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
9561 rm -f core conftest.err conftest.
$ac_objext \
9562 conftest
$ac_exeext conftest.
$ac_ext
9563 LIBS
=$ac_check_soname_save_LIBS
9565 if ${ac_cv_lib_soname_Xext:+false} :; then :
9566 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
9567 $as_echo "not found" >&6; }
9570 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xext" >&5
9571 $as_echo "$ac_cv_lib_soname_Xext" >&6; }
9573 cat >>confdefs.h
<<_ACEOF
9574 #define SONAME_LIBXEXT "$ac_cv_lib_soname_Xext"
9577 X_LIBS
="$X_LIBS -lXext"
9579 X_LIBS
="$X_LIBS -lX11"
9581 for ac_header
in X11
/Xlib.h \
9584 X11
/Xcursor
/Xcursor.h \
9585 X11
/extensions
/shape.h \
9586 X11
/extensions
/XInput.h \
9587 X11
/extensions
/XInput2.h \
9588 X11
/extensions
/XShm.h \
9589 X11
/extensions
/Xcomposite.h \
9590 X11
/extensions
/Xinerama.h \
9591 X11
/extensions
/Xrandr.h \
9592 X11
/extensions
/Xrender.h \
9593 X11
/extensions
/xf86vmode.h \
9594 X11
/extensions
/xf86vmproto.h
9596 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
9597 ac_fn_c_check_header_compile
"$LINENO" "$ac_header" "$as_ac_Header" "#ifdef HAVE_X11_XLIB_H
9598 # include <X11/Xlib.h>
9600 #ifdef HAVE_X11_XUTIL_H
9601 # include <X11/Xutil.h>
9604 if eval test \"x\$
"$as_ac_Header"\" = x
"yes"; then :
9605 cat >>confdefs.h
<<_ACEOF
9606 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
9614 if test "$ac_cv_header_X11_XKBlib_h" = "yes"
9616 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XkbQueryExtension in -lX11" >&5
9617 $as_echo_n "checking for XkbQueryExtension in -lX11... " >&6; }
9618 if ${ac_cv_lib_X11_XkbQueryExtension+:} false
; then :
9619 $as_echo_n "(cached) " >&6
9621 ac_check_lib_save_LIBS
=$LIBS
9622 LIBS
="-lX11 $X_LIBS $X_EXTRA_LIBS $LIBS"
9623 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9624 /* end confdefs.h. */
9626 /* Override any GCC internal prototype to avoid an error.
9627 Use char because int might match the return type of a GCC
9628 builtin and then its argument prototype would still apply. */
9632 char XkbQueryExtension ();
9636 return XkbQueryExtension ();
9641 if ac_fn_c_try_link
"$LINENO"; then :
9642 ac_cv_lib_X11_XkbQueryExtension
=yes
9644 ac_cv_lib_X11_XkbQueryExtension
=no
9646 rm -f core conftest.err conftest.
$ac_objext \
9647 conftest
$ac_exeext conftest.
$ac_ext
9648 LIBS
=$ac_check_lib_save_LIBS
9650 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_X11_XkbQueryExtension" >&5
9651 $as_echo "$ac_cv_lib_X11_XkbQueryExtension" >&6; }
9652 if test "x$ac_cv_lib_X11_XkbQueryExtension" = xyes
; then :
9654 $as_echo "#define HAVE_XKB 1" >>confdefs.h
9660 if test "$ac_cv_header_X11_Xcursor_Xcursor_h" = "yes"
9662 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXcursor" >&5
9663 $as_echo_n "checking for -lXcursor... " >&6; }
9664 if ${ac_cv_lib_soname_Xcursor+:} false
; then :
9665 $as_echo_n "(cached) " >&6
9667 ac_check_soname_save_LIBS
=$LIBS
9668 LIBS
="-lXcursor $X_LIBS $X_EXTRA_LIBS $LIBS"
9669 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9670 /* end confdefs.h. */
9672 /* Override any GCC internal prototype to avoid an error.
9673 Use char because int might match the return type of a GCC
9674 builtin and then its argument prototype would still apply. */
9678 char XcursorImageLoadCursor ();
9682 return XcursorImageLoadCursor ();
9687 if ac_fn_c_try_link
"$LINENO"; then :
9689 dll
) ac_cv_lib_soname_Xcursor
=`$ac_cv_path_LDD conftest.exe | grep "Xcursor" | sed -e "s/dll.*/dll/"';2,$d'` ;;
9690 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'` ;;
9691 *) ac_cv_lib_soname_Xcursor
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXcursor\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXcursor\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
9692 if ${ac_cv_lib_soname_Xcursor:+false} :; then :
9693 ac_cv_lib_soname_Xcursor
=`$LDD conftest$ac_exeext | grep "libXcursor\\.$LIBEXT" | sed -e "s/^.*\(libXcursor\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
9697 rm -f core conftest.err conftest.
$ac_objext \
9698 conftest
$ac_exeext conftest.
$ac_ext
9699 LIBS
=$ac_check_soname_save_LIBS
9701 if ${ac_cv_lib_soname_Xcursor:+false} :; then :
9702 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
9703 $as_echo "not found" >&6; }
9706 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xcursor" >&5
9707 $as_echo "$ac_cv_lib_soname_Xcursor" >&6; }
9709 cat >>confdefs.h
<<_ACEOF
9710 #define SONAME_LIBXCURSOR "$ac_cv_lib_soname_Xcursor"
9716 if test "x$ac_cv_lib_soname_Xcursor" = "x"; then :
9717 case "x$with_xcursor" in
9718 x
) as_fn_append wine_notices
"|libxcursor ${notice_platform}development files not found, the Xcursor extension won't be supported." ;;
9720 *) as_fn_error $?
"libxcursor ${notice_platform}development files not found, the Xcursor extension won't be supported.
9721 This is an error since --with-xcursor was requested." "$LINENO" 5 ;;
9725 if test "$ac_cv_header_X11_extensions_XInput_h" = "yes"
9727 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXi" >&5
9728 $as_echo_n "checking for -lXi... " >&6; }
9729 if ${ac_cv_lib_soname_Xi+:} false
; then :
9730 $as_echo_n "(cached) " >&6
9732 ac_check_soname_save_LIBS
=$LIBS
9733 LIBS
="-lXi $X_LIBS $X_EXTRA_LIBS $LIBS"
9734 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9735 /* end confdefs.h. */
9737 /* Override any GCC internal prototype to avoid an error.
9738 Use char because int might match the return type of a GCC
9739 builtin and then its argument prototype would still apply. */
9743 char XOpenDevice ();
9747 return XOpenDevice ();
9752 if ac_fn_c_try_link
"$LINENO"; then :
9754 dll
) ac_cv_lib_soname_Xi
=`$ac_cv_path_LDD conftest.exe | grep "Xi" | sed -e "s/dll.*/dll/"';2,$d'` ;;
9755 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'` ;;
9756 *) ac_cv_lib_soname_Xi
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXi\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXi\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
9757 if ${ac_cv_lib_soname_Xi:+false} :; then :
9758 ac_cv_lib_soname_Xi
=`$LDD conftest$ac_exeext | grep "libXi\\.$LIBEXT" | sed -e "s/^.*\(libXi\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
9762 rm -f core conftest.err conftest.
$ac_objext \
9763 conftest
$ac_exeext conftest.
$ac_ext
9764 LIBS
=$ac_check_soname_save_LIBS
9766 if ${ac_cv_lib_soname_Xi:+false} :; then :
9767 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
9768 $as_echo "not found" >&6; }
9771 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xi" >&5
9772 $as_echo "$ac_cv_lib_soname_Xi" >&6; }
9774 cat >>confdefs.h
<<_ACEOF
9775 #define SONAME_LIBXI "$ac_cv_lib_soname_Xi"
9781 if test "x$ac_cv_lib_soname_Xi" = "x"; then :
9782 case "x$with_xinput" in
9783 x
) as_fn_append wine_notices
"|libxi ${notice_platform}development files not found, the Xinput extension won't be supported." ;;
9785 *) as_fn_error $?
"libxi ${notice_platform}development files not found, the Xinput extension won't be supported.
9786 This is an error since --with-xinput was requested." "$LINENO" 5 ;;
9790 if test "x$ac_cv_lib_soname_Xi" != x
9792 if test "$ac_cv_header_X11_extensions_XInput2_h" != "yes"; then :
9793 case "x$with_xinput2" in
9794 x
) as_fn_append wine_notices
"|XInput2 headers not found, the XInput 2 extension won't be supported." ;;
9796 *) as_fn_error $?
"XInput2 headers not found, the XInput 2 extension won't be supported.
9797 This is an error since --with-xinput2 was requested." "$LINENO" 5 ;;
9802 if test "$ac_cv_header_X11_extensions_XShm_h" = "yes"
9804 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XShmQueryExtension in -lXext" >&5
9805 $as_echo_n "checking for XShmQueryExtension in -lXext... " >&6; }
9806 if ${ac_cv_lib_Xext_XShmQueryExtension+:} false
; then :
9807 $as_echo_n "(cached) " >&6
9809 ac_check_lib_save_LIBS
=$LIBS
9810 LIBS
="-lXext $X_LIBS $X_EXTRA_LIBS $LIBS"
9811 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9812 /* end confdefs.h. */
9814 /* Override any GCC internal prototype to avoid an error.
9815 Use char because int might match the return type of a GCC
9816 builtin and then its argument prototype would still apply. */
9820 char XShmQueryExtension ();
9824 return XShmQueryExtension ();
9829 if ac_fn_c_try_link
"$LINENO"; then :
9830 ac_cv_lib_Xext_XShmQueryExtension
=yes
9832 ac_cv_lib_Xext_XShmQueryExtension
=no
9834 rm -f core conftest.err conftest.
$ac_objext \
9835 conftest
$ac_exeext conftest.
$ac_ext
9836 LIBS
=$ac_check_lib_save_LIBS
9838 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xext_XShmQueryExtension" >&5
9839 $as_echo "$ac_cv_lib_Xext_XShmQueryExtension" >&6; }
9840 if test "x$ac_cv_lib_Xext_XShmQueryExtension" = xyes
; then :
9842 $as_echo "#define HAVE_LIBXXSHM 1" >>confdefs.h
9847 if test "$ac_cv_lib_Xext_XShmQueryExtension" != "yes"; then :
9848 case "x$with_xshm" in
9849 x
) as_fn_append wine_notices
"|XShm ${notice_platform}development files not found, X Shared Memory won't be supported." ;;
9851 *) as_fn_error $?
"XShm ${notice_platform}development files not found, X Shared Memory won't be supported.
9852 This is an error since --with-xshm was requested." "$LINENO" 5 ;;
9856 if test "$ac_cv_header_X11_extensions_shape_h" = "yes"
9858 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XShapeQueryExtension in -lXext" >&5
9859 $as_echo_n "checking for XShapeQueryExtension in -lXext... " >&6; }
9860 if ${ac_cv_lib_Xext_XShapeQueryExtension+:} false
; then :
9861 $as_echo_n "(cached) " >&6
9863 ac_check_lib_save_LIBS
=$LIBS
9864 LIBS
="-lXext $X_LIBS $X_EXTRA_LIBS $LIBS"
9865 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9866 /* end confdefs.h. */
9868 /* Override any GCC internal prototype to avoid an error.
9869 Use char because int might match the return type of a GCC
9870 builtin and then its argument prototype would still apply. */
9874 char XShapeQueryExtension ();
9878 return XShapeQueryExtension ();
9883 if ac_fn_c_try_link
"$LINENO"; then :
9884 ac_cv_lib_Xext_XShapeQueryExtension
=yes
9886 ac_cv_lib_Xext_XShapeQueryExtension
=no
9888 rm -f core conftest.err conftest.
$ac_objext \
9889 conftest
$ac_exeext conftest.
$ac_ext
9890 LIBS
=$ac_check_lib_save_LIBS
9892 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xext_XShapeQueryExtension" >&5
9893 $as_echo "$ac_cv_lib_Xext_XShapeQueryExtension" >&6; }
9894 if test "x$ac_cv_lib_Xext_XShapeQueryExtension" = xyes
; then :
9896 $as_echo "#define HAVE_LIBXSHAPE 1" >>confdefs.h
9901 if test "$ac_cv_lib_Xext_XShapeQueryExtension" != "yes"; then :
9902 case "x$with_xshape" in
9903 x
) as_fn_append wine_notices
"|XShape ${notice_platform}development files not found, XShape won't be supported." ;;
9905 *) as_fn_error $?
"XShape ${notice_platform}development files not found, XShape won't be supported.
9906 This is an error since --with-xshape was requested." "$LINENO" 5 ;;
9910 if test "$ac_cv_header_X11_extensions_xf86vmode_h" = "yes" -o "$ac_cv_header_X11_extensions_xf86vmproto_h" = "yes"
9912 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXxf86vm" >&5
9913 $as_echo_n "checking for -lXxf86vm... " >&6; }
9914 if ${ac_cv_lib_soname_Xxf86vm+:} false
; then :
9915 $as_echo_n "(cached) " >&6
9917 ac_check_soname_save_LIBS
=$LIBS
9918 LIBS
="-lXxf86vm $X_LIBS $X_EXTRA_LIBS $LIBS"
9919 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9920 /* end confdefs.h. */
9922 /* Override any GCC internal prototype to avoid an error.
9923 Use char because int might match the return type of a GCC
9924 builtin and then its argument prototype would still apply. */
9928 char XF86VidModeQueryExtension ();
9932 return XF86VidModeQueryExtension ();
9937 if ac_fn_c_try_link
"$LINENO"; then :
9939 dll
) ac_cv_lib_soname_Xxf86vm
=`$ac_cv_path_LDD conftest.exe | grep "Xxf86vm" | sed -e "s/dll.*/dll/"';2,$d'` ;;
9940 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'` ;;
9941 *) ac_cv_lib_soname_Xxf86vm
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXxf86vm\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXxf86vm\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
9942 if ${ac_cv_lib_soname_Xxf86vm:+false} :; then :
9943 ac_cv_lib_soname_Xxf86vm
=`$LDD conftest$ac_exeext | grep "libXxf86vm\\.$LIBEXT" | sed -e "s/^.*\(libXxf86vm\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
9947 rm -f core conftest.err conftest.
$ac_objext \
9948 conftest
$ac_exeext conftest.
$ac_ext
9949 LIBS
=$ac_check_soname_save_LIBS
9951 if ${ac_cv_lib_soname_Xxf86vm:+false} :; then :
9952 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
9953 $as_echo "not found" >&6; }
9956 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xxf86vm" >&5
9957 $as_echo "$ac_cv_lib_soname_Xxf86vm" >&6; }
9959 cat >>confdefs.h
<<_ACEOF
9960 #define SONAME_LIBXXF86VM "$ac_cv_lib_soname_Xxf86vm"
9966 if test "x$ac_cv_lib_soname_Xxf86vm" = "x"; then :
9967 case "x$with_xxf86vm" in
9968 x
) as_fn_append wine_notices
"|libXxf86vm ${notice_platform}development files not found, XFree86 Vidmode won't be supported." ;;
9970 *) as_fn_error $?
"libXxf86vm ${notice_platform}development files not found, XFree86 Vidmode won't be supported.
9971 This is an error since --with-xxf86vm was requested." "$LINENO" 5 ;;
9975 if test "$ac_cv_header_X11_extensions_Xrender_h" = "yes" -a "x$ac_cv_lib_soname_X11" != "x"
9977 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXrender" >&5
9978 $as_echo_n "checking for -lXrender... " >&6; }
9979 if ${ac_cv_lib_soname_Xrender+:} false
; then :
9980 $as_echo_n "(cached) " >&6
9982 ac_check_soname_save_LIBS
=$LIBS
9983 LIBS
="-lXrender $X_LIBS $X_EXTRA_LIBS $LIBS"
9984 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9985 /* end confdefs.h. */
9987 /* Override any GCC internal prototype to avoid an error.
9988 Use char because int might match the return type of a GCC
9989 builtin and then its argument prototype would still apply. */
9993 char XRenderQueryExtension ();
9997 return XRenderQueryExtension ();
10002 if ac_fn_c_try_link
"$LINENO"; then :
10004 dll
) ac_cv_lib_soname_Xrender
=`$ac_cv_path_LDD conftest.exe | grep "Xrender" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10005 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'` ;;
10006 *) ac_cv_lib_soname_Xrender
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXrender\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXrender\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10007 if ${ac_cv_lib_soname_Xrender:+false} :; then :
10008 ac_cv_lib_soname_Xrender
=`$LDD conftest$ac_exeext | grep "libXrender\\.$LIBEXT" | sed -e "s/^.*\(libXrender\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10012 rm -f core conftest.err conftest.
$ac_objext \
10013 conftest
$ac_exeext conftest.
$ac_ext
10014 LIBS
=$ac_check_soname_save_LIBS
10016 if ${ac_cv_lib_soname_Xrender:+false} :; then :
10017 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10018 $as_echo "not found" >&6; }
10021 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xrender" >&5
10022 $as_echo "$ac_cv_lib_soname_Xrender" >&6; }
10024 cat >>confdefs.h
<<_ACEOF
10025 #define SONAME_LIBXRENDER "$ac_cv_lib_soname_Xrender"
10028 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XRenderSetPictureTransform in -lXrender" >&5
10029 $as_echo_n "checking for XRenderSetPictureTransform in -lXrender... " >&6; }
10030 if ${ac_cv_lib_Xrender_XRenderSetPictureTransform+:} false
; then :
10031 $as_echo_n "(cached) " >&6
10033 ac_check_lib_save_LIBS
=$LIBS
10034 LIBS
="-lXrender $X_LIBS $X_EXTRA_LIBS $LIBS"
10035 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10036 /* end confdefs.h. */
10038 /* Override any GCC internal prototype to avoid an error.
10039 Use char because int might match the return type of a GCC
10040 builtin and then its argument prototype would still apply. */
10044 char XRenderSetPictureTransform ();
10048 return XRenderSetPictureTransform ();
10053 if ac_fn_c_try_link
"$LINENO"; then :
10054 ac_cv_lib_Xrender_XRenderSetPictureTransform
=yes
10056 ac_cv_lib_Xrender_XRenderSetPictureTransform
=no
10058 rm -f core conftest.err conftest.
$ac_objext \
10059 conftest
$ac_exeext conftest.
$ac_ext
10060 LIBS
=$ac_check_lib_save_LIBS
10062 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xrender_XRenderSetPictureTransform" >&5
10063 $as_echo "$ac_cv_lib_Xrender_XRenderSetPictureTransform" >&6; }
10064 if test "x$ac_cv_lib_Xrender_XRenderSetPictureTransform" = xyes
; then :
10066 $as_echo "#define HAVE_XRENDERSETPICTURETRANSFORM 1" >>confdefs.h
10070 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XRenderCreateLinearGradient in -lXrender" >&5
10071 $as_echo_n "checking for XRenderCreateLinearGradient in -lXrender... " >&6; }
10072 if ${ac_cv_lib_Xrender_XRenderCreateLinearGradient+:} false
; then :
10073 $as_echo_n "(cached) " >&6
10075 ac_check_lib_save_LIBS
=$LIBS
10076 LIBS
="-lXrender $X_LIBS $X_EXTRA_LIBS $LIBS"
10077 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10078 /* end confdefs.h. */
10080 /* Override any GCC internal prototype to avoid an error.
10081 Use char because int might match the return type of a GCC
10082 builtin and then its argument prototype would still apply. */
10086 char XRenderCreateLinearGradient ();
10090 return XRenderCreateLinearGradient ();
10095 if ac_fn_c_try_link
"$LINENO"; then :
10096 ac_cv_lib_Xrender_XRenderCreateLinearGradient
=yes
10098 ac_cv_lib_Xrender_XRenderCreateLinearGradient
=no
10100 rm -f core conftest.err conftest.
$ac_objext \
10101 conftest
$ac_exeext conftest.
$ac_ext
10102 LIBS
=$ac_check_lib_save_LIBS
10104 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xrender_XRenderCreateLinearGradient" >&5
10105 $as_echo "$ac_cv_lib_Xrender_XRenderCreateLinearGradient" >&6; }
10106 if test "x$ac_cv_lib_Xrender_XRenderCreateLinearGradient" = xyes
; then :
10108 $as_echo "#define HAVE_XRENDERCREATELINEARGRADIENT 1" >>confdefs.h
10115 if test "x$ac_cv_lib_soname_Xrender" = "x"; then :
10116 case "x$with_xrender" in
10117 x
) as_fn_append wine_warnings
"|libxrender ${notice_platform}development files not found, XRender won't be supported." ;;
10119 *) as_fn_error $?
"libxrender ${notice_platform}development files not found, XRender won't be supported.
10120 This is an error since --with-xrender was requested." "$LINENO" 5 ;;
10124 if test "$ac_cv_header_X11_extensions_Xrandr_h" = "yes" -a "x$ac_cv_lib_soname_Xrender" != "x"
10126 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10127 /* end confdefs.h. */
10128 #include <X11/Xlib.h>
10129 #include <X11/extensions/Xrandr.h>
10133 static typeof(XRRSetScreenConfigAndRate) * func; if (func) return 0;
10138 if ac_fn_c_try_compile
"$LINENO"; then :
10139 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXrandr" >&5
10140 $as_echo_n "checking for -lXrandr... " >&6; }
10141 if ${ac_cv_lib_soname_Xrandr+:} false
; then :
10142 $as_echo_n "(cached) " >&6
10144 ac_check_soname_save_LIBS
=$LIBS
10145 LIBS
="-lXrandr $X_LIBS $X_EXTRA_LIBS $LIBS"
10146 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10147 /* end confdefs.h. */
10149 /* Override any GCC internal prototype to avoid an error.
10150 Use char because int might match the return type of a GCC
10151 builtin and then its argument prototype would still apply. */
10155 char XRRQueryExtension ();
10159 return XRRQueryExtension ();
10164 if ac_fn_c_try_link
"$LINENO"; then :
10166 dll
) ac_cv_lib_soname_Xrandr
=`$ac_cv_path_LDD conftest.exe | grep "Xrandr" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10167 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'` ;;
10168 *) ac_cv_lib_soname_Xrandr
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXrandr\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXrandr\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10169 if ${ac_cv_lib_soname_Xrandr:+false} :; then :
10170 ac_cv_lib_soname_Xrandr
=`$LDD conftest$ac_exeext | grep "libXrandr\\.$LIBEXT" | sed -e "s/^.*\(libXrandr\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10174 rm -f core conftest.err conftest.
$ac_objext \
10175 conftest
$ac_exeext conftest.
$ac_ext
10176 LIBS
=$ac_check_soname_save_LIBS
10178 if ${ac_cv_lib_soname_Xrandr:+false} :; then :
10179 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10180 $as_echo "not found" >&6; }
10183 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xrandr" >&5
10184 $as_echo "$ac_cv_lib_soname_Xrandr" >&6; }
10186 cat >>confdefs.h
<<_ACEOF
10187 #define SONAME_LIBXRANDR "$ac_cv_lib_soname_Xrandr"
10190 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10191 /* end confdefs.h. */
10192 #include <X11/Xlib.h>
10193 #include <X11/extensions/Xrandr.h>
10197 static typeof(XRRGetScreenResources) *f; if (f) return 0;
10202 if ac_fn_c_try_compile
"$LINENO"; then :
10204 $as_echo "#define HAVE_XRRGETSCREENRESOURCES 1" >>confdefs.h
10207 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
10210 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
10212 if test "x$ac_cv_lib_soname_Xrandr" = "x"; then :
10213 case "x$with_xrandr" in
10214 x
) as_fn_append wine_notices
"|libxrandr ${notice_platform}development files not found, XRandr won't be supported." ;;
10216 *) as_fn_error $?
"libxrandr ${notice_platform}development files not found, XRandr won't be supported.
10217 This is an error since --with-xrandr was requested." "$LINENO" 5 ;;
10221 if test "$ac_cv_header_X11_extensions_Xinerama_h" = "yes"
10223 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10224 /* end confdefs.h. */
10225 #include <X11/Xlib.h>
10226 #include <X11/extensions/Xinerama.h>
10230 static typeof(XineramaQueryScreens) * func; if (func) return 0;
10235 if ac_fn_c_try_compile
"$LINENO"; then :
10236 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXinerama" >&5
10237 $as_echo_n "checking for -lXinerama... " >&6; }
10238 if ${ac_cv_lib_soname_Xinerama+:} false
; then :
10239 $as_echo_n "(cached) " >&6
10241 ac_check_soname_save_LIBS
=$LIBS
10242 LIBS
="-lXinerama $X_LIBS $X_EXTRA_LIBS $LIBS"
10243 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10244 /* end confdefs.h. */
10246 /* Override any GCC internal prototype to avoid an error.
10247 Use char because int might match the return type of a GCC
10248 builtin and then its argument prototype would still apply. */
10252 char XineramaQueryScreens ();
10256 return XineramaQueryScreens ();
10261 if ac_fn_c_try_link
"$LINENO"; then :
10263 dll
) ac_cv_lib_soname_Xinerama
=`$ac_cv_path_LDD conftest.exe | grep "Xinerama" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10264 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'` ;;
10265 *) ac_cv_lib_soname_Xinerama
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXinerama\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXinerama\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10266 if ${ac_cv_lib_soname_Xinerama:+false} :; then :
10267 ac_cv_lib_soname_Xinerama
=`$LDD conftest$ac_exeext | grep "libXinerama\\.$LIBEXT" | sed -e "s/^.*\(libXinerama\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10271 rm -f core conftest.err conftest.
$ac_objext \
10272 conftest
$ac_exeext conftest.
$ac_ext
10273 LIBS
=$ac_check_soname_save_LIBS
10275 if ${ac_cv_lib_soname_Xinerama:+false} :; then :
10276 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10277 $as_echo "not found" >&6; }
10280 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xinerama" >&5
10281 $as_echo "$ac_cv_lib_soname_Xinerama" >&6; }
10283 cat >>confdefs.h
<<_ACEOF
10284 #define SONAME_LIBXINERAMA "$ac_cv_lib_soname_Xinerama"
10290 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
10292 if test "x$ac_cv_lib_soname_Xinerama" = "x"; then :
10293 case "x$with_xinerama" in
10294 x
) as_fn_append wine_notices
"|libxinerama ${notice_platform}development files not found, multi-monitor setups won't be supported." ;;
10296 *) as_fn_error $?
"libxinerama ${notice_platform}development files not found, multi-monitor setups won't be supported.
10297 This is an error since --with-xinerama was requested." "$LINENO" 5 ;;
10301 if test "$ac_cv_header_X11_extensions_Xcomposite_h" = "yes"
10303 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXcomposite" >&5
10304 $as_echo_n "checking for -lXcomposite... " >&6; }
10305 if ${ac_cv_lib_soname_Xcomposite+:} false
; then :
10306 $as_echo_n "(cached) " >&6
10308 ac_check_soname_save_LIBS
=$LIBS
10309 LIBS
="-lXcomposite $X_LIBS $X_EXTRA_LIBS $LIBS"
10310 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10311 /* end confdefs.h. */
10313 /* Override any GCC internal prototype to avoid an error.
10314 Use char because int might match the return type of a GCC
10315 builtin and then its argument prototype would still apply. */
10319 char XCompositeRedirectWindow ();
10323 return XCompositeRedirectWindow ();
10328 if ac_fn_c_try_link
"$LINENO"; then :
10330 dll
) ac_cv_lib_soname_Xcomposite
=`$ac_cv_path_LDD conftest.exe | grep "Xcomposite" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10331 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'` ;;
10332 *) ac_cv_lib_soname_Xcomposite
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXcomposite\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXcomposite\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10333 if ${ac_cv_lib_soname_Xcomposite:+false} :; then :
10334 ac_cv_lib_soname_Xcomposite
=`$LDD conftest$ac_exeext | grep "libXcomposite\\.$LIBEXT" | sed -e "s/^.*\(libXcomposite\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10338 rm -f core conftest.err conftest.
$ac_objext \
10339 conftest
$ac_exeext conftest.
$ac_ext
10340 LIBS
=$ac_check_soname_save_LIBS
10342 if ${ac_cv_lib_soname_Xcomposite:+false} :; then :
10343 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10344 $as_echo "not found" >&6; }
10347 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xcomposite" >&5
10348 $as_echo "$ac_cv_lib_soname_Xcomposite" >&6; }
10350 cat >>confdefs.h
<<_ACEOF
10351 #define SONAME_LIBXCOMPOSITE "$ac_cv_lib_soname_Xcomposite"
10357 if test "x$ac_cv_lib_soname_Xcomposite" = "x"; then :
10358 case "x$with_xcomposite" in
10359 x
) as_fn_append wine_notices
"|libxcomposite ${notice_platform}development files not found, Xcomposite won't be supported." ;;
10361 *) as_fn_error $?
"libxcomposite ${notice_platform}development files not found, Xcomposite won't be supported.
10362 This is an error since --with-xcomposite was requested." "$LINENO" 5 ;;
10366 ac_fn_c_check_member
"$LINENO" "XICCallback" "callback" "ac_cv_member_XICCallback_callback" "#ifdef HAVE_X11_XLIB_H
10367 #include <X11/Xlib.h>
10370 if test "x$ac_cv_member_XICCallback_callback" = xyes
; then :
10372 cat >>confdefs.h
<<_ACEOF
10373 #define HAVE_XICCALLBACK_CALLBACK 1
10378 ac_fn_c_check_member
"$LINENO" "XEvent" "xcookie" "ac_cv_member_XEvent_xcookie" "#ifdef HAVE_X11_XLIB_H
10379 #include <X11/Xlib.h>
10382 if test "x$ac_cv_member_XEvent_xcookie" = xyes
; then :
10384 cat >>confdefs.h
<<_ACEOF
10385 #define HAVE_XEVENT_XCOOKIE 1
10394 if test "x$with_opengl" != "xno"
10396 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lGL" >&5
10397 $as_echo_n "checking for -lGL... " >&6; }
10398 if ${ac_cv_lib_soname_GL+:} false
; then :
10399 $as_echo_n "(cached) " >&6
10401 ac_check_soname_save_LIBS
=$LIBS
10402 LIBS
="-lGL $X_LIBS -lm $X_EXTRA_LIBS $LIBS"
10403 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10404 /* end confdefs.h. */
10406 /* Override any GCC internal prototype to avoid an error.
10407 Use char because int might match the return type of a GCC
10408 builtin and then its argument prototype would still apply. */
10412 char glXCreateContext ();
10416 return glXCreateContext ();
10421 if ac_fn_c_try_link
"$LINENO"; then :
10423 dll
) ac_cv_lib_soname_GL
=`$ac_cv_path_LDD conftest.exe | grep "GL" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10424 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'` ;;
10425 *) ac_cv_lib_soname_GL
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libGL\\.$LIBEXT" | sed -e "s/^.*\\[\\(libGL\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10426 if ${ac_cv_lib_soname_GL:+false} :; then :
10427 ac_cv_lib_soname_GL
=`$LDD conftest$ac_exeext | grep "libGL\\.$LIBEXT" | sed -e "s/^.*\(libGL\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10431 rm -f core conftest.err conftest.
$ac_objext \
10432 conftest
$ac_exeext conftest.
$ac_ext
10433 LIBS
=$ac_check_soname_save_LIBS
10435 if ${ac_cv_lib_soname_GL:+false} :; then :
10436 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10437 $as_echo "not found" >&6; }
10438 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lGL" >&5
10439 $as_echo_n "checking for -lGL... " >&6; }
10440 if ${ac_cv_lib_soname_GL+:} false
; then :
10441 $as_echo_n "(cached) " >&6
10443 ac_check_soname_save_LIBS
=$LIBS
10444 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"
10445 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10446 /* end confdefs.h. */
10448 /* Override any GCC internal prototype to avoid an error.
10449 Use char because int might match the return type of a GCC
10450 builtin and then its argument prototype would still apply. */
10454 char glXCreateContext ();
10458 return glXCreateContext ();
10463 if ac_fn_c_try_link
"$LINENO"; then :
10465 dll
) ac_cv_lib_soname_GL
=`$ac_cv_path_LDD conftest.exe | grep "GL" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10466 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'` ;;
10467 *) ac_cv_lib_soname_GL
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libGL\\.$LIBEXT" | sed -e "s/^.*\\[\\(libGL\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10468 if ${ac_cv_lib_soname_GL:+false} :; then :
10469 ac_cv_lib_soname_GL
=`$LDD conftest$ac_exeext | grep "libGL\\.$LIBEXT" | sed -e "s/^.*\(libGL\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10473 rm -f core conftest.err conftest.
$ac_objext \
10474 conftest
$ac_exeext conftest.
$ac_ext
10475 LIBS
=$ac_check_soname_save_LIBS
10477 if ${ac_cv_lib_soname_GL:+false} :; then :
10478 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10479 $as_echo "not found" >&6; }
10480 if test -f /usr
/X11R
6/lib
/libGL.a
10482 opengl_msg
="/usr/X11R6/lib/libGL.a is present on your system.
10483 This probably prevents linking to OpenGL. Try deleting the file and restarting configure."
10485 opengl_msg
="No OpenGL library found on this system."
10488 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_GL" >&5
10489 $as_echo "$ac_cv_lib_soname_GL" >&6; }
10491 cat >>confdefs.h
<<_ACEOF
10492 #define SONAME_LIBGL "$ac_cv_lib_soname_GL"
10495 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"
10498 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_GL" >&5
10499 $as_echo "$ac_cv_lib_soname_GL" >&6; }
10501 cat >>confdefs.h
<<_ACEOF
10502 #define SONAME_LIBGL "$ac_cv_lib_soname_GL"
10507 if test "x$with_glu" != "xno"
10509 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gluLookAt in -lGLU" >&5
10510 $as_echo_n "checking for gluLookAt in -lGLU... " >&6; }
10511 if ${ac_cv_lib_GLU_gluLookAt+:} false
; then :
10512 $as_echo_n "(cached) " >&6
10514 ac_check_lib_save_LIBS
=$LIBS
10515 LIBS
="-lGLU $OPENGL_LIBS $X_LIBS -lm $X_EXTRA_LIBS $LIBS"
10516 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10517 /* end confdefs.h. */
10519 /* Override any GCC internal prototype to avoid an error.
10520 Use char because int might match the return type of a GCC
10521 builtin and then its argument prototype would still apply. */
10529 return gluLookAt ();
10534 if ac_fn_c_try_link
"$LINENO"; then :
10535 ac_cv_lib_GLU_gluLookAt
=yes
10537 ac_cv_lib_GLU_gluLookAt
=no
10539 rm -f core conftest.err conftest.
$ac_objext \
10540 conftest
$ac_exeext conftest.
$ac_ext
10541 LIBS
=$ac_check_lib_save_LIBS
10543 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_GLU_gluLookAt" >&5
10544 $as_echo "$ac_cv_lib_GLU_gluLookAt" >&6; }
10545 if test "x$ac_cv_lib_GLU_gluLookAt" = xyes
; then :
10549 if test "x$ac_cv_lib_GLU_gluLookAt" != xyes
; then :
10550 case "x$with_glu" in
10551 x
) as_fn_append wine_notices
"|libGLU ${notice_platform}development files not found, GLU won't be supported." ;;
10553 *) as_fn_error $?
"libGLU ${notice_platform}development files not found, GLU won't be supported.
10554 This is an error since --with-glu was requested." "$LINENO" 5 ;;
10559 if test "x$with_osmesa" != "xno"
10561 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lOSMesa" >&5
10562 $as_echo_n "checking for -lOSMesa... " >&6; }
10563 if ${ac_cv_lib_soname_OSMesa+:} false
; then :
10564 $as_echo_n "(cached) " >&6
10566 ac_check_soname_save_LIBS
=$LIBS
10567 LIBS
="-lOSMesa $X_LIBS -lm $X_EXTRA_LIBS $LIBS"
10568 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10569 /* end confdefs.h. */
10571 /* Override any GCC internal prototype to avoid an error.
10572 Use char because int might match the return type of a GCC
10573 builtin and then its argument prototype would still apply. */
10586 if ac_fn_c_try_link
"$LINENO"; then :
10588 dll
) ac_cv_lib_soname_OSMesa
=`$ac_cv_path_LDD conftest.exe | grep "OSMesa" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10589 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'` ;;
10590 *) ac_cv_lib_soname_OSMesa
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libOSMesa\\.$LIBEXT" | sed -e "s/^.*\\[\\(libOSMesa\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10591 if ${ac_cv_lib_soname_OSMesa:+false} :; then :
10592 ac_cv_lib_soname_OSMesa
=`$LDD conftest$ac_exeext | grep "libOSMesa\\.$LIBEXT" | sed -e "s/^.*\(libOSMesa\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10596 rm -f core conftest.err conftest.
$ac_objext \
10597 conftest
$ac_exeext conftest.
$ac_ext
10598 LIBS
=$ac_check_soname_save_LIBS
10600 if ${ac_cv_lib_soname_OSMesa:+false} :; then :
10601 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10602 $as_echo "not found" >&6; }
10605 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_OSMesa" >&5
10606 $as_echo "$ac_cv_lib_soname_OSMesa" >&6; }
10608 cat >>confdefs.h
<<_ACEOF
10609 #define SONAME_LIBOSMESA "$ac_cv_lib_soname_OSMesa"
10614 if test "x$ac_cv_lib_soname_OSMesa" = "x"; then :
10615 case "x$with_osmesa" in
10616 x
) as_fn_append wine_notices
"|libOSMesa ${notice_platform}development files not found (or too old), OpenGL rendering in bitmaps won't be supported." ;;
10618 *) as_fn_error $?
"libOSMesa ${notice_platform}development files not found (or too old), OpenGL rendering in bitmaps won't be supported.
10619 This is an error since --with-osmesa was requested." "$LINENO" 5 ;;
10624 if test -n "$opengl_msg"; then :
10625 case "x$with_opengl" in
10626 x
) as_fn_append wine_warnings
"|$opengl_msg
10627 OpenGL and Direct3D won't be supported." ;;
10629 *) as_fn_error $?
"$opengl_msg
10630 OpenGL and Direct3D won't be supported.
10631 This is an error since --with-opengl was requested." "$LINENO" 5 ;;
10635 CPPFLAGS
="$ac_save_CPPFLAGS"
10639 enable_winex11_drv
=${enable_winex11_drv:-no}
10641 if test "x$X_LIBS" = "x"; then :
10644 *) as_fn_error $?
"X ${notice_platform}development files not found. Wine will be built
10645 without X support, which probably isn't what you want. You will need
10646 to install ${notice_platform}development packages of Xlib/Xfree86 at the very least.
10647 Use the --without-x option if you really want this." "$LINENO" 5 ;;
10651 test "x$ac_cv_lib_GLU_gluLookAt" != xyes
&& enable_glu32
=${enable_glu32:-no}
10653 if test "$ac_cv_header_CL_cl_h" = "yes"
10655 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for clGetPlatformInfo in -lOpenCL" >&5
10656 $as_echo_n "checking for clGetPlatformInfo in -lOpenCL... " >&6; }
10657 if ${ac_cv_lib_OpenCL_clGetPlatformInfo+:} false
; then :
10658 $as_echo_n "(cached) " >&6
10660 ac_check_lib_save_LIBS
=$LIBS
10661 LIBS
="-lOpenCL $LIBS"
10662 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10663 /* end confdefs.h. */
10665 /* Override any GCC internal prototype to avoid an error.
10666 Use char because int might match the return type of a GCC
10667 builtin and then its argument prototype would still apply. */
10671 char clGetPlatformInfo ();
10675 return clGetPlatformInfo ();
10680 if ac_fn_c_try_link
"$LINENO"; then :
10681 ac_cv_lib_OpenCL_clGetPlatformInfo
=yes
10683 ac_cv_lib_OpenCL_clGetPlatformInfo
=no
10685 rm -f core conftest.err conftest.
$ac_objext \
10686 conftest
$ac_exeext conftest.
$ac_ext
10687 LIBS
=$ac_check_lib_save_LIBS
10689 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_OpenCL_clGetPlatformInfo" >&5
10690 $as_echo "$ac_cv_lib_OpenCL_clGetPlatformInfo" >&6; }
10691 if test "x$ac_cv_lib_OpenCL_clGetPlatformInfo" = xyes
; then :
10692 OPENCL_LIBS
="-lOpenCL"
10697 if test "x$ac_cv_lib_OpenCL_clGetPlatformInfo" != xyes
; then :
10698 case "x$with_opencl" in
10699 x
) as_fn_append wine_notices
"|OpenCL ${notice_platform}development files not found, OpenCL won't be supported." ;;
10701 *) as_fn_error $?
"OpenCL ${notice_platform}development files not found, OpenCL won't be supported.
10702 This is an error since --with-opencl was requested." "$LINENO" 5 ;;
10705 test "x$ac_cv_lib_OpenCL_clGetPlatformInfo" != xyes
&& enable_opencl
=${enable_opencl:-no}
10707 if test "$ac_cv_header_pcap_pcap_h" = "yes"
10709 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pcap_create in -lpcap" >&5
10710 $as_echo_n "checking for pcap_create in -lpcap... " >&6; }
10711 if ${ac_cv_lib_pcap_pcap_create+:} false
; then :
10712 $as_echo_n "(cached) " >&6
10714 ac_check_lib_save_LIBS
=$LIBS
10715 LIBS
="-lpcap $LIBS"
10716 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10717 /* end confdefs.h. */
10719 /* Override any GCC internal prototype to avoid an error.
10720 Use char because int might match the return type of a GCC
10721 builtin and then its argument prototype would still apply. */
10725 char pcap_create ();
10729 return pcap_create ();
10734 if ac_fn_c_try_link
"$LINENO"; then :
10735 ac_cv_lib_pcap_pcap_create
=yes
10737 ac_cv_lib_pcap_pcap_create
=no
10739 rm -f core conftest.err conftest.
$ac_objext \
10740 conftest
$ac_exeext conftest.
$ac_ext
10741 LIBS
=$ac_check_lib_save_LIBS
10743 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_pcap_pcap_create" >&5
10744 $as_echo "$ac_cv_lib_pcap_pcap_create" >&6; }
10745 if test "x$ac_cv_lib_pcap_pcap_create" = xyes
; then :
10751 if test "x$ac_cv_lib_pcap_pcap_create" != xyes
; then :
10752 case "x$with_pcap" in
10753 x
) as_fn_append wine_notices
"|pcap ${notice_platform}development files not found, wpcap won't be supported." ;;
10755 *) as_fn_error $?
"pcap ${notice_platform}development files not found, wpcap won't be supported.
10756 This is an error since --with-pcap was requested." "$LINENO" 5 ;;
10759 test "x$ac_cv_lib_pcap_pcap_create" != xyes
&& enable_wpcap
=${enable_wpcap:-no}
10762 if test "x$with_xml" != "xno"
10764 if ${XML2_CFLAGS:+false} :; then :
10765 if ${PKG_CONFIG+:} false
; then :
10766 XML2_CFLAGS
=`$PKG_CONFIG --cflags libxml-2.0 2>/dev/null`
10769 test "$cross_compiling" = yes || XML2_CFLAGS
=${XML2_CFLAGS:-`xml2-config --cflags 2>/dev/null`}
10770 if ${XML2_LIBS:+false} :; then :
10771 if ${PKG_CONFIG+:} false
; then :
10772 XML2_LIBS
=`$PKG_CONFIG --libs libxml-2.0 2>/dev/null`
10775 test "$cross_compiling" = yes || XML2_LIBS
=${XML2_LIBS:-`xml2-config --libs 2>/dev/null`}
10776 XML2_LIBS
=${XML2_LIBS:-"-lxml2"}
10777 $as_echo "$as_me:${as_lineno-$LINENO}: libxml-2.0 cflags: $XML2_CFLAGS" >&5
10778 $as_echo "$as_me:${as_lineno-$LINENO}: libxml-2.0 libs: $XML2_LIBS" >&5
10779 ac_save_CPPFLAGS
=$CPPFLAGS
10780 CPPFLAGS
="$CPPFLAGS $XML2_CFLAGS"
10781 for ac_header
in libxml
/parser.h libxml
/xmlsave.h libxml
/SAX2.h
10783 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
10784 ac_fn_c_check_header_mongrel
"$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
10785 if eval test \"x\$
"$as_ac_Header"\" = x
"yes"; then :
10786 cat >>confdefs.h
<<_ACEOF
10787 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
10794 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"
10796 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlParseMemory in -lxml2" >&5
10797 $as_echo_n "checking for xmlParseMemory in -lxml2... " >&6; }
10798 if ${ac_cv_lib_xml2_xmlParseMemory+:} false
; then :
10799 $as_echo_n "(cached) " >&6
10801 ac_check_lib_save_LIBS
=$LIBS
10802 LIBS
="-lxml2 $XML2_LIBS $LIBS"
10803 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10804 /* end confdefs.h. */
10806 /* Override any GCC internal prototype to avoid an error.
10807 Use char because int might match the return type of a GCC
10808 builtin and then its argument prototype would still apply. */
10812 char xmlParseMemory ();
10816 return xmlParseMemory ();
10821 if ac_fn_c_try_link
"$LINENO"; then :
10822 ac_cv_lib_xml2_xmlParseMemory
=yes
10824 ac_cv_lib_xml2_xmlParseMemory
=no
10826 rm -f core conftest.err conftest.
$ac_objext \
10827 conftest
$ac_exeext conftest.
$ac_ext
10828 LIBS
=$ac_check_lib_save_LIBS
10830 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlParseMemory" >&5
10831 $as_echo "$ac_cv_lib_xml2_xmlParseMemory" >&6; }
10832 if test "x$ac_cv_lib_xml2_xmlParseMemory" = xyes
; then :
10834 $as_echo "#define HAVE_LIBXML2 1" >>confdefs.h
10840 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlReadMemory in -lxml2" >&5
10841 $as_echo_n "checking for xmlReadMemory in -lxml2... " >&6; }
10842 if ${ac_cv_lib_xml2_xmlReadMemory+:} false
; then :
10843 $as_echo_n "(cached) " >&6
10845 ac_check_lib_save_LIBS
=$LIBS
10846 LIBS
="-lxml2 $XML2_LIBS $LIBS"
10847 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10848 /* end confdefs.h. */
10850 /* Override any GCC internal prototype to avoid an error.
10851 Use char because int might match the return type of a GCC
10852 builtin and then its argument prototype would still apply. */
10856 char xmlReadMemory ();
10860 return xmlReadMemory ();
10865 if ac_fn_c_try_link
"$LINENO"; then :
10866 ac_cv_lib_xml2_xmlReadMemory
=yes
10868 ac_cv_lib_xml2_xmlReadMemory
=no
10870 rm -f core conftest.err conftest.
$ac_objext \
10871 conftest
$ac_exeext conftest.
$ac_ext
10872 LIBS
=$ac_check_lib_save_LIBS
10874 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlReadMemory" >&5
10875 $as_echo "$ac_cv_lib_xml2_xmlReadMemory" >&6; }
10876 if test "x$ac_cv_lib_xml2_xmlReadMemory" = xyes
; then :
10878 $as_echo "#define HAVE_XMLREADMEMORY 1" >>confdefs.h
10882 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlNewDocPI in -lxml2" >&5
10883 $as_echo_n "checking for xmlNewDocPI in -lxml2... " >&6; }
10884 if ${ac_cv_lib_xml2_xmlNewDocPI+:} false
; then :
10885 $as_echo_n "(cached) " >&6
10887 ac_check_lib_save_LIBS
=$LIBS
10888 LIBS
="-lxml2 $XML2_LIBS $LIBS"
10889 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10890 /* end confdefs.h. */
10892 /* Override any GCC internal prototype to avoid an error.
10893 Use char because int might match the return type of a GCC
10894 builtin and then its argument prototype would still apply. */
10898 char xmlNewDocPI ();
10902 return xmlNewDocPI ();
10907 if ac_fn_c_try_link
"$LINENO"; then :
10908 ac_cv_lib_xml2_xmlNewDocPI
=yes
10910 ac_cv_lib_xml2_xmlNewDocPI
=no
10912 rm -f core conftest.err conftest.
$ac_objext \
10913 conftest
$ac_exeext conftest.
$ac_ext
10914 LIBS
=$ac_check_lib_save_LIBS
10916 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlNewDocPI" >&5
10917 $as_echo "$ac_cv_lib_xml2_xmlNewDocPI" >&6; }
10918 if test "x$ac_cv_lib_xml2_xmlNewDocPI" = xyes
; then :
10920 $as_echo "#define HAVE_XMLNEWDOCPI 1" >>confdefs.h
10924 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlSchemaSetParserStructuredErrors in -lxml2" >&5
10925 $as_echo_n "checking for xmlSchemaSetParserStructuredErrors in -lxml2... " >&6; }
10926 if ${ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors+:} false
; then :
10927 $as_echo_n "(cached) " >&6
10929 ac_check_lib_save_LIBS
=$LIBS
10930 LIBS
="-lxml2 $XML2_LIBS $LIBS"
10931 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10932 /* end confdefs.h. */
10934 /* Override any GCC internal prototype to avoid an error.
10935 Use char because int might match the return type of a GCC
10936 builtin and then its argument prototype would still apply. */
10940 char xmlSchemaSetParserStructuredErrors ();
10944 return xmlSchemaSetParserStructuredErrors ();
10949 if ac_fn_c_try_link
"$LINENO"; then :
10950 ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors
=yes
10952 ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors
=no
10954 rm -f core conftest.err conftest.
$ac_objext \
10955 conftest
$ac_exeext conftest.
$ac_ext
10956 LIBS
=$ac_check_lib_save_LIBS
10958 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors" >&5
10959 $as_echo "$ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors" >&6; }
10960 if test "x$ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors" = xyes
; then :
10962 $as_echo "#define HAVE_XMLSCHEMASSETPARSERSTRUCTUREDERRORS 1" >>confdefs.h
10966 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlSchemaSetValidStructuredErrors in -lxml2" >&5
10967 $as_echo_n "checking for xmlSchemaSetValidStructuredErrors in -lxml2... " >&6; }
10968 if ${ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors+:} false
; then :
10969 $as_echo_n "(cached) " >&6
10971 ac_check_lib_save_LIBS
=$LIBS
10972 LIBS
="-lxml2 $XML2_LIBS $LIBS"
10973 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10974 /* end confdefs.h. */
10976 /* Override any GCC internal prototype to avoid an error.
10977 Use char because int might match the return type of a GCC
10978 builtin and then its argument prototype would still apply. */
10982 char xmlSchemaSetValidStructuredErrors ();
10986 return xmlSchemaSetValidStructuredErrors ();
10991 if ac_fn_c_try_link
"$LINENO"; then :
10992 ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors
=yes
10994 ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors
=no
10996 rm -f core conftest.err conftest.
$ac_objext \
10997 conftest
$ac_exeext conftest.
$ac_ext
10998 LIBS
=$ac_check_lib_save_LIBS
11000 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors" >&5
11001 $as_echo "$ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors" >&6; }
11002 if test "x$ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors" = xyes
; then :
11004 $as_echo "#define HAVE_XMLSCHEMASSETVALIDSTRUCTUREDERRORS 1" >>confdefs.h
11008 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlFirstElementChild in -lxml2" >&5
11009 $as_echo_n "checking for xmlFirstElementChild in -lxml2... " >&6; }
11010 if ${ac_cv_lib_xml2_xmlFirstElementChild+:} false
; then :
11011 $as_echo_n "(cached) " >&6
11013 ac_check_lib_save_LIBS
=$LIBS
11014 LIBS
="-lxml2 $XML2_LIBS $LIBS"
11015 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11016 /* end confdefs.h. */
11018 /* Override any GCC internal prototype to avoid an error.
11019 Use char because int might match the return type of a GCC
11020 builtin and then its argument prototype would still apply. */
11024 char xmlFirstElementChild ();
11028 return xmlFirstElementChild ();
11033 if ac_fn_c_try_link
"$LINENO"; then :
11034 ac_cv_lib_xml2_xmlFirstElementChild
=yes
11036 ac_cv_lib_xml2_xmlFirstElementChild
=no
11038 rm -f core conftest.err conftest.
$ac_objext \
11039 conftest
$ac_exeext conftest.
$ac_ext
11040 LIBS
=$ac_check_lib_save_LIBS
11042 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlFirstElementChild" >&5
11043 $as_echo "$ac_cv_lib_xml2_xmlFirstElementChild" >&6; }
11044 if test "x$ac_cv_lib_xml2_xmlFirstElementChild" = xyes
; then :
11046 $as_echo "#define HAVE_XMLFIRSTELEMENTCHILD 1" >>confdefs.h
11050 ac_fn_c_check_type
"$LINENO" "xmlDocProperties" "ac_cv_type_xmlDocProperties" "#include <libxml/tree.h>
11052 if test "x$ac_cv_type_xmlDocProperties" = xyes
; then :
11054 $as_echo "#define HAVE_XMLDOC_PROPERTIES 1" >>confdefs.h
11062 CPPFLAGS
=$ac_save_CPPFLAGS
11063 test -z "$XML2_CFLAGS" || XML2_CFLAGS
=`echo " $XML2_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
11064 test -z "$XML2_LIBS" || XML2_LIBS
=`echo " $XML2_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
11067 if test "$ac_cv_lib_xml2_xmlParseMemory" != "yes"; then :
11068 case "x$with_xml" in
11069 x
) as_fn_append wine_warnings
"|libxml2 ${notice_platform}development files not found (or too old), XML won't be supported." ;;
11071 *) as_fn_error $?
"libxml2 ${notice_platform}development files not found (or too old), XML won't be supported.
11072 This is an error since --with-xml was requested." "$LINENO" 5 ;;
11076 if test "x$with_xslt" != "xno"
11078 if ${XSLT_CFLAGS:+false} :; then :
11079 if ${PKG_CONFIG+:} false
; then :
11080 XSLT_CFLAGS
=`$PKG_CONFIG --cflags libxslt 2>/dev/null`
11083 test "$cross_compiling" = yes || XSLT_CFLAGS
=${XSLT_CFLAGS:-`xslt-config --cflags 2>/dev/null`}
11084 if ${XSLT_LIBS:+false} :; then :
11085 if ${PKG_CONFIG+:} false
; then :
11086 XSLT_LIBS
=`$PKG_CONFIG --libs libxslt 2>/dev/null`
11089 test "$cross_compiling" = yes || XSLT_LIBS
=${XSLT_LIBS:-`xslt-config --libs 2>/dev/null`}
11090 XSLT_LIBS
=${XSLT_LIBS:-"-lxml2"}
11091 $as_echo "$as_me:${as_lineno-$LINENO}: libxslt cflags: $XSLT_CFLAGS" >&5
11092 $as_echo "$as_me:${as_lineno-$LINENO}: libxslt libs: $XSLT_LIBS" >&5
11093 ac_save_CPPFLAGS
=$CPPFLAGS
11094 CPPFLAGS
="$CPPFLAGS $XSLT_CFLAGS"
11095 for ac_header
in libxslt
/pattern.h libxslt
/transform.h
11097 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
11098 ac_fn_c_check_header_compile
"$LINENO" "$ac_header" "$as_ac_Header" "#ifdef HAVE_LIBXSLT_PATTERN_H
11099 # include <libxslt/pattern.h>
11102 if eval test \"x\$
"$as_ac_Header"\" = x
"yes"; then :
11103 cat >>confdefs.h
<<_ACEOF
11104 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
11111 if test "$ac_cv_header_libxslt_transform_h" = "yes"
11113 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lxslt" >&5
11114 $as_echo_n "checking for -lxslt... " >&6; }
11115 if ${ac_cv_lib_soname_xslt+:} false
; then :
11116 $as_echo_n "(cached) " >&6
11118 ac_check_soname_save_LIBS
=$LIBS
11119 LIBS
="-lxslt $XSLT_LIBS $LIBS"
11120 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11121 /* end confdefs.h. */
11123 /* Override any GCC internal prototype to avoid an error.
11124 Use char because int might match the return type of a GCC
11125 builtin and then its argument prototype would still apply. */
11129 char xsltCompilePattern ();
11133 return xsltCompilePattern ();
11138 if ac_fn_c_try_link
"$LINENO"; then :
11140 dll
) ac_cv_lib_soname_xslt
=`$ac_cv_path_LDD conftest.exe | grep "xslt" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11141 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'` ;;
11142 *) ac_cv_lib_soname_xslt
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libxslt\\.$LIBEXT" | sed -e "s/^.*\\[\\(libxslt\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
11143 if ${ac_cv_lib_soname_xslt:+false} :; then :
11144 ac_cv_lib_soname_xslt
=`$LDD conftest$ac_exeext | grep "libxslt\\.$LIBEXT" | sed -e "s/^.*\(libxslt\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11148 rm -f core conftest.err conftest.
$ac_objext \
11149 conftest
$ac_exeext conftest.
$ac_ext
11150 LIBS
=$ac_check_soname_save_LIBS
11152 if ${ac_cv_lib_soname_xslt:+false} :; then :
11153 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11154 $as_echo "not found" >&6; }
11157 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_xslt" >&5
11158 $as_echo "$ac_cv_lib_soname_xslt" >&6; }
11160 cat >>confdefs.h
<<_ACEOF
11161 #define SONAME_LIBXSLT "$ac_cv_lib_soname_xslt"
11169 CPPFLAGS
=$ac_save_CPPFLAGS
11170 test -z "$XSLT_CFLAGS" || XSLT_CFLAGS
=`echo " $XSLT_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
11171 test -z "$XSLT_LIBS" || XSLT_LIBS
=`echo " $XSLT_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
11174 if test "x$ac_cv_lib_soname_xslt" = "x"; then :
11175 case "x$with_xslt" in
11176 x
) as_fn_append wine_warnings
"|libxslt ${notice_platform}development files not found, xslt won't be supported." ;;
11178 *) as_fn_error $?
"libxslt ${notice_platform}development files not found, xslt won't be supported.
11179 This is an error since --with-xslt was requested." "$LINENO" 5 ;;
11183 if test "x$with_dbus" != "xno"
11185 if ${DBUS_CFLAGS:+false} :; then :
11186 if ${PKG_CONFIG+:} false
; then :
11187 DBUS_CFLAGS
=`$PKG_CONFIG --cflags dbus-1 2>/dev/null`
11191 if ${DBUS_LIBS:+false} :; then :
11192 if ${PKG_CONFIG+:} false
; then :
11193 DBUS_LIBS
=`$PKG_CONFIG --libs dbus-1 2>/dev/null`
11198 $as_echo "$as_me:${as_lineno-$LINENO}: dbus-1 cflags: $DBUS_CFLAGS" >&5
11199 $as_echo "$as_me:${as_lineno-$LINENO}: dbus-1 libs: $DBUS_LIBS" >&5
11200 ac_save_CPPFLAGS
=$CPPFLAGS
11201 CPPFLAGS
="$CPPFLAGS $DBUS_CFLAGS"
11202 ac_fn_c_check_header_mongrel
"$LINENO" "dbus/dbus.h" "ac_cv_header_dbus_dbus_h" "$ac_includes_default"
11203 if test "x$ac_cv_header_dbus_dbus_h" = xyes
; then :
11204 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -ldbus-1" >&5
11205 $as_echo_n "checking for -ldbus-1... " >&6; }
11206 if ${ac_cv_lib_soname_dbus_1+:} false
; then :
11207 $as_echo_n "(cached) " >&6
11209 ac_check_soname_save_LIBS
=$LIBS
11210 LIBS
="-ldbus-1 $DBUS_LIBS $LIBS"
11211 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11212 /* end confdefs.h. */
11214 /* Override any GCC internal prototype to avoid an error.
11215 Use char because int might match the return type of a GCC
11216 builtin and then its argument prototype would still apply. */
11220 char dbus_connection_close ();
11224 return dbus_connection_close ();
11229 if ac_fn_c_try_link
"$LINENO"; then :
11231 dll
) ac_cv_lib_soname_dbus_1
=`$ac_cv_path_LDD conftest.exe | grep "dbus-1" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11232 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'` ;;
11233 *) 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'`
11234 if ${ac_cv_lib_soname_dbus_1:+false} :; then :
11235 ac_cv_lib_soname_dbus_1
=`$LDD conftest$ac_exeext | grep "libdbus-1\\.$LIBEXT" | sed -e "s/^.*\(libdbus-1\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11239 rm -f core conftest.err conftest.
$ac_objext \
11240 conftest
$ac_exeext conftest.
$ac_ext
11241 LIBS
=$ac_check_soname_save_LIBS
11243 if ${ac_cv_lib_soname_dbus_1:+false} :; then :
11244 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11245 $as_echo "not found" >&6; }
11248 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_dbus_1" >&5
11249 $as_echo "$ac_cv_lib_soname_dbus_1" >&6; }
11251 cat >>confdefs.h
<<_ACEOF
11252 #define SONAME_LIBDBUS_1 "$ac_cv_lib_soname_dbus_1"
11262 CPPFLAGS
=$ac_save_CPPFLAGS
11263 test -z "$DBUS_CFLAGS" || DBUS_CFLAGS
=`echo " $DBUS_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
11264 test -z "$DBUS_LIBS" || DBUS_LIBS
=`echo " $DBUS_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
11267 if test "x$ac_cv_lib_soname_dbus_1" = "x" -a \
11268 "x$ac_cv_header_DiskArbitration_DiskArbitration_h" != "xyes"; then :
11269 case "x$with_dbus" in
11270 x
) as_fn_append wine_notices
"|libdbus ${notice_platform}development files not found, no dynamic device support." ;;
11272 *) as_fn_error $?
"libdbus ${notice_platform}development files not found, no dynamic device support.
11273 This is an error since --with-dbus was requested." "$LINENO" 5 ;;
11277 if test "x$with_hal" != "xno" -a "x$ac_cv_lib_soname_dbus_1" != x
11279 if ${HAL_CFLAGS:+false} :; then :
11280 if ${PKG_CONFIG+:} false
; then :
11281 HAL_CFLAGS
=`$PKG_CONFIG --cflags hal 2>/dev/null`
11285 if ${HAL_LIBS:+false} :; then :
11286 if ${PKG_CONFIG+:} false
; then :
11287 HAL_LIBS
=`$PKG_CONFIG --libs hal 2>/dev/null`
11291 HAL_LIBS
=${HAL_LIBS:-"-ldbus-1"}
11292 $as_echo "$as_me:${as_lineno-$LINENO}: hal cflags: $HAL_CFLAGS" >&5
11293 $as_echo "$as_me:${as_lineno-$LINENO}: hal libs: $HAL_LIBS" >&5
11294 ac_save_CPPFLAGS
=$CPPFLAGS
11295 CPPFLAGS
="$CPPFLAGS $HAL_CFLAGS"
11296 ac_fn_c_check_header_mongrel
"$LINENO" "hal/libhal.h" "ac_cv_header_hal_libhal_h" "$ac_includes_default"
11297 if test "x$ac_cv_header_hal_libhal_h" = xyes
; then :
11298 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lhal" >&5
11299 $as_echo_n "checking for -lhal... " >&6; }
11300 if ${ac_cv_lib_soname_hal+:} false
; then :
11301 $as_echo_n "(cached) " >&6
11303 ac_check_soname_save_LIBS
=$LIBS
11304 LIBS
="-lhal $HAL_LIBS $LIBS"
11305 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11306 /* end confdefs.h. */
11308 /* Override any GCC internal prototype to avoid an error.
11309 Use char because int might match the return type of a GCC
11310 builtin and then its argument prototype would still apply. */
11314 char libhal_ctx_new ();
11318 return libhal_ctx_new ();
11323 if ac_fn_c_try_link
"$LINENO"; then :
11325 dll
) ac_cv_lib_soname_hal
=`$ac_cv_path_LDD conftest.exe | grep "hal" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11326 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'` ;;
11327 *) ac_cv_lib_soname_hal
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libhal\\.$LIBEXT" | sed -e "s/^.*\\[\\(libhal\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
11328 if ${ac_cv_lib_soname_hal:+false} :; then :
11329 ac_cv_lib_soname_hal
=`$LDD conftest$ac_exeext | grep "libhal\\.$LIBEXT" | sed -e "s/^.*\(libhal\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11333 rm -f core conftest.err conftest.
$ac_objext \
11334 conftest
$ac_exeext conftest.
$ac_ext
11335 LIBS
=$ac_check_soname_save_LIBS
11337 if ${ac_cv_lib_soname_hal:+false} :; then :
11338 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11339 $as_echo "not found" >&6; }
11342 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_hal" >&5
11343 $as_echo "$ac_cv_lib_soname_hal" >&6; }
11345 cat >>confdefs.h
<<_ACEOF
11346 #define SONAME_LIBHAL "$ac_cv_lib_soname_hal"
11356 CPPFLAGS
=$ac_save_CPPFLAGS
11357 test -z "$HAL_CFLAGS" || HAL_CFLAGS
=`echo " $HAL_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
11358 test -z "$HAL_LIBS" || HAL_LIBS
=`echo " $HAL_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
11360 if test "x$ac_cv_lib_soname_hal" = "x" -a \
11361 "x$ac_cv_header_DiskArbitration_DiskArbitration_h" != "xyes"; then :
11362 case "x$with_hal" in
11363 x
) as_fn_append wine_notices
"|libhal ${notice_platform}development files not found, no legacy dynamic device support." ;;
11365 *) as_fn_error $?
"libhal ${notice_platform}development files not found, no legacy dynamic device support.
11366 This is an error since --with-hal was requested." "$LINENO" 5 ;;
11371 if test "x$with_gnutls" != "xno"
11373 if ${GNUTLS_CFLAGS:+false} :; then :
11374 if ${PKG_CONFIG+:} false
; then :
11375 GNUTLS_CFLAGS
=`$PKG_CONFIG --cflags gnutls 2>/dev/null`
11379 if ${GNUTLS_LIBS:+false} :; then :
11380 if ${PKG_CONFIG+:} false
; then :
11381 GNUTLS_LIBS
=`$PKG_CONFIG --libs gnutls 2>/dev/null`
11386 $as_echo "$as_me:${as_lineno-$LINENO}: gnutls cflags: $GNUTLS_CFLAGS" >&5
11387 $as_echo "$as_me:${as_lineno-$LINENO}: gnutls libs: $GNUTLS_LIBS" >&5
11388 ac_save_CPPFLAGS
=$CPPFLAGS
11389 CPPFLAGS
="$CPPFLAGS $GNUTLS_CFLAGS"
11390 ac_fn_c_check_header_mongrel
"$LINENO" "gnutls/gnutls.h" "ac_cv_header_gnutls_gnutls_h" "$ac_includes_default"
11391 if test "x$ac_cv_header_gnutls_gnutls_h" = xyes
; then :
11392 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11393 /* end confdefs.h. */
11394 #include <gnutls/gnutls.h>
11395 #include <gnutls/crypto.h>
11399 static typeof(gnutls_mac_get_key_size) *func; if (func) return 0;
11404 if ac_fn_c_try_compile
"$LINENO"; then :
11405 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lgnutls" >&5
11406 $as_echo_n "checking for -lgnutls... " >&6; }
11407 if ${ac_cv_lib_soname_gnutls+:} false
; then :
11408 $as_echo_n "(cached) " >&6
11410 ac_check_soname_save_LIBS
=$LIBS
11411 LIBS
="-lgnutls $GNUTLS_LIBS $LIBS"
11412 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11413 /* end confdefs.h. */
11415 /* Override any GCC internal prototype to avoid an error.
11416 Use char because int might match the return type of a GCC
11417 builtin and then its argument prototype would still apply. */
11421 char gnutls_global_init ();
11425 return gnutls_global_init ();
11430 if ac_fn_c_try_link
"$LINENO"; then :
11432 dll
) ac_cv_lib_soname_gnutls
=`$ac_cv_path_LDD conftest.exe | grep "gnutls" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11433 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'` ;;
11434 *) 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'`
11435 if ${ac_cv_lib_soname_gnutls:+false} :; then :
11436 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'`
11440 rm -f core conftest.err conftest.
$ac_objext \
11441 conftest
$ac_exeext conftest.
$ac_ext
11442 LIBS
=$ac_check_soname_save_LIBS
11444 if ${ac_cv_lib_soname_gnutls:+false} :; then :
11445 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11446 $as_echo "not found" >&6; }
11449 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_gnutls" >&5
11450 $as_echo "$ac_cv_lib_soname_gnutls" >&6; }
11452 cat >>confdefs.h
<<_ACEOF
11453 #define SONAME_LIBGNUTLS "$ac_cv_lib_soname_gnutls"
11459 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
11465 CPPFLAGS
=$ac_save_CPPFLAGS
11466 test -z "$GNUTLS_CFLAGS" || GNUTLS_CFLAGS
=`echo " $GNUTLS_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
11467 test -z "$GNUTLS_LIBS" || GNUTLS_LIBS
=`echo " $GNUTLS_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
11470 if test "x$ac_cv_lib_soname_gnutls" = "x"; then :
11471 case "x$with_gnutls" in
11472 x
) as_fn_append wine_warnings
"|libgnutls ${notice_platform}development files not found, no schannel support." ;;
11474 *) as_fn_error $?
"libgnutls ${notice_platform}development files not found, no schannel support.
11475 This is an error since --with-gnutls was requested." "$LINENO" 5 ;;
11480 if test "$ac_cv_header_ncurses_h" = "yes"
11482 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lncurses" >&5
11483 $as_echo_n "checking for -lncurses... " >&6; }
11484 if ${ac_cv_lib_soname_ncurses+:} false
; then :
11485 $as_echo_n "(cached) " >&6
11487 ac_check_soname_save_LIBS
=$LIBS
11488 LIBS
="-lncurses $LIBS"
11489 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11490 /* end confdefs.h. */
11492 /* Override any GCC internal prototype to avoid an error.
11493 Use char because int might match the return type of a GCC
11494 builtin and then its argument prototype would still apply. */
11507 if ac_fn_c_try_link
"$LINENO"; then :
11509 dll
) ac_cv_lib_soname_ncurses
=`$ac_cv_path_LDD conftest.exe | grep "ncurses" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11510 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'` ;;
11511 *) 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'`
11512 if ${ac_cv_lib_soname_ncurses:+false} :; then :
11513 ac_cv_lib_soname_ncurses
=`$LDD conftest$ac_exeext | grep "libncursesw\\{0,1\\}\\.$LIBEXT" | sed -e "s/^.*\(libncursesw\\{0,1\\}\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11517 rm -f core conftest.err conftest.
$ac_objext \
11518 conftest
$ac_exeext conftest.
$ac_ext
11519 LIBS
=$ac_check_soname_save_LIBS
11521 if ${ac_cv_lib_soname_ncurses:+false} :; then :
11522 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11523 $as_echo "not found" >&6; }
11526 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_ncurses" >&5
11527 $as_echo "$ac_cv_lib_soname_ncurses" >&6; }
11529 cat >>confdefs.h
<<_ACEOF
11530 #define SONAME_LIBNCURSES "$ac_cv_lib_soname_ncurses"
11533 CURSES_LIBS
="-lncurses"
11535 elif test "$ac_cv_header_curses_h" = "yes"
11537 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lcurses" >&5
11538 $as_echo_n "checking for -lcurses... " >&6; }
11539 if ${ac_cv_lib_soname_curses+:} false
; then :
11540 $as_echo_n "(cached) " >&6
11542 ac_check_soname_save_LIBS
=$LIBS
11543 LIBS
="-lcurses $LIBS"
11544 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11545 /* end confdefs.h. */
11547 /* Override any GCC internal prototype to avoid an error.
11548 Use char because int might match the return type of a GCC
11549 builtin and then its argument prototype would still apply. */
11562 if ac_fn_c_try_link
"$LINENO"; then :
11564 dll
) ac_cv_lib_soname_curses
=`$ac_cv_path_LDD conftest.exe | grep "curses" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11565 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'` ;;
11566 *) ac_cv_lib_soname_curses
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libcurses\\.$LIBEXT" | sed -e "s/^.*\\[\\(libcurses\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
11567 if ${ac_cv_lib_soname_curses:+false} :; then :
11568 ac_cv_lib_soname_curses
=`$LDD conftest$ac_exeext | grep "libcurses\\.$LIBEXT" | sed -e "s/^.*\(libcurses\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11572 rm -f core conftest.err conftest.
$ac_objext \
11573 conftest
$ac_exeext conftest.
$ac_ext
11574 LIBS
=$ac_check_soname_save_LIBS
11576 if ${ac_cv_lib_soname_curses:+false} :; then :
11577 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11578 $as_echo "not found" >&6; }
11581 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_curses" >&5
11582 $as_echo "$ac_cv_lib_soname_curses" >&6; }
11584 cat >>confdefs.h
<<_ACEOF
11585 #define SONAME_LIBCURSES "$ac_cv_lib_soname_curses"
11588 CURSES_LIBS
="-lcurses"
11591 ac_save_LIBS
="$LIBS"
11592 LIBS
="$LIBS $CURSES_LIBS"
11593 for ac_func
in mousemask
11595 ac_fn_c_check_func
"$LINENO" "mousemask" "ac_cv_func_mousemask"
11596 if test "x$ac_cv_func_mousemask" = xyes
; then :
11597 cat >>confdefs.h
<<_ACEOF
11598 #define HAVE_MOUSEMASK 1
11604 LIBS
="$ac_save_LIBS"
11605 if test "x$ac_cv_lib_soname_curses$ac_cv_lib_soname_ncurses" = "x"; then :
11606 case "x$with_curses" in
11607 x
) as_fn_append wine_notices
"|lib(n)curses ${notice_platform}development files not found, curses won't be supported." ;;
11609 *) as_fn_error $?
"lib(n)curses ${notice_platform}development files not found, curses won't be supported.
11610 This is an error since --with-curses was requested." "$LINENO" 5 ;;
11614 if test "x$with_sane" != "xno"
11616 if ${SANE_CFLAGS:+false} :; then :
11617 if ${PKG_CONFIG+:} false
; then :
11618 SANE_CFLAGS
=`$PKG_CONFIG --cflags libsane 2>/dev/null`
11621 test "$cross_compiling" = yes || SANE_CFLAGS
=${SANE_CFLAGS:-`sane-config --cflags 2>/dev/null`}
11622 if ${SANE_LIBS:+false} :; then :
11623 if ${PKG_CONFIG+:} false
; then :
11624 SANE_LIBS
=`$PKG_CONFIG --libs libsane 2>/dev/null`
11627 test "$cross_compiling" = yes || SANE_LIBS
=${SANE_LIBS:-`sane-config --ldflags 2>/dev/null`}
11629 $as_echo "$as_me:${as_lineno-$LINENO}: libsane cflags: $SANE_CFLAGS" >&5
11630 $as_echo "$as_me:${as_lineno-$LINENO}: libsane libs: $SANE_LIBS" >&5
11631 ac_save_CPPFLAGS
=$CPPFLAGS
11632 CPPFLAGS
="$CPPFLAGS $SANE_CFLAGS"
11633 ac_fn_c_check_header_mongrel
"$LINENO" "sane/sane.h" "ac_cv_header_sane_sane_h" "$ac_includes_default"
11634 if test "x$ac_cv_header_sane_sane_h" = xyes
; then :
11635 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lsane" >&5
11636 $as_echo_n "checking for -lsane... " >&6; }
11637 if ${ac_cv_lib_soname_sane+:} false
; then :
11638 $as_echo_n "(cached) " >&6
11640 ac_check_soname_save_LIBS
=$LIBS
11641 LIBS
="-lsane $SANE_LIBS $LIBS"
11642 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11643 /* end confdefs.h. */
11645 /* Override any GCC internal prototype to avoid an error.
11646 Use char because int might match the return type of a GCC
11647 builtin and then its argument prototype would still apply. */
11655 return sane_init ();
11660 if ac_fn_c_try_link
"$LINENO"; then :
11662 dll
) ac_cv_lib_soname_sane
=`$ac_cv_path_LDD conftest.exe | grep "sane" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11663 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'` ;;
11664 *) ac_cv_lib_soname_sane
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libsane\\.$LIBEXT" | sed -e "s/^.*\\[\\(libsane\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
11665 if ${ac_cv_lib_soname_sane:+false} :; then :
11666 ac_cv_lib_soname_sane
=`$LDD conftest$ac_exeext | grep "libsane\\.$LIBEXT" | sed -e "s/^.*\(libsane\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11670 rm -f core conftest.err conftest.
$ac_objext \
11671 conftest
$ac_exeext conftest.
$ac_ext
11672 LIBS
=$ac_check_soname_save_LIBS
11674 if ${ac_cv_lib_soname_sane:+false} :; then :
11675 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11676 $as_echo "not found" >&6; }
11679 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_sane" >&5
11680 $as_echo "$ac_cv_lib_soname_sane" >&6; }
11682 cat >>confdefs.h
<<_ACEOF
11683 #define SONAME_LIBSANE "$ac_cv_lib_soname_sane"
11693 CPPFLAGS
=$ac_save_CPPFLAGS
11694 test -z "$SANE_CFLAGS" || SANE_CFLAGS
=`echo " $SANE_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
11695 test -z "$SANE_LIBS" || SANE_LIBS
=`echo " $SANE_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
11698 if test "x$ac_cv_lib_soname_sane" = "x"; then :
11699 case "x$with_sane" in
11700 x
) as_fn_append wine_notices
"|libsane ${notice_platform}development files not found, scanners won't be supported." ;;
11702 *) as_fn_error $?
"libsane ${notice_platform}development files not found, scanners won't be supported.
11703 This is an error since --with-sane was requested." "$LINENO" 5 ;;
11707 if test "x$with_v4l" != "xno"
11709 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lv4l1" >&5
11710 $as_echo_n "checking for -lv4l1... " >&6; }
11711 if ${ac_cv_lib_soname_v4l1+:} false
; then :
11712 $as_echo_n "(cached) " >&6
11714 ac_check_soname_save_LIBS
=$LIBS
11715 LIBS
="-lv4l1 $LIBS"
11716 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11717 /* end confdefs.h. */
11719 /* Override any GCC internal prototype to avoid an error.
11720 Use char because int might match the return type of a GCC
11721 builtin and then its argument prototype would still apply. */
11729 return v4l1_open ();
11734 if ac_fn_c_try_link
"$LINENO"; then :
11736 dll
) ac_cv_lib_soname_v4l1
=`$ac_cv_path_LDD conftest.exe | grep "v4l1" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11737 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'` ;;
11738 *) ac_cv_lib_soname_v4l1
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libv4l1\\.$LIBEXT" | sed -e "s/^.*\\[\\(libv4l1\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
11739 if ${ac_cv_lib_soname_v4l1:+false} :; then :
11740 ac_cv_lib_soname_v4l1
=`$LDD conftest$ac_exeext | grep "libv4l1\\.$LIBEXT" | sed -e "s/^.*\(libv4l1\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11744 rm -f core conftest.err conftest.
$ac_objext \
11745 conftest
$ac_exeext conftest.
$ac_ext
11746 LIBS
=$ac_check_soname_save_LIBS
11748 if ${ac_cv_lib_soname_v4l1:+false} :; then :
11749 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11750 $as_echo "not found" >&6; }
11753 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_v4l1" >&5
11754 $as_echo "$ac_cv_lib_soname_v4l1" >&6; }
11756 cat >>confdefs.h
<<_ACEOF
11757 #define SONAME_LIBV4L1 "$ac_cv_lib_soname_v4l1"
11763 if test "x$ac_cv_lib_soname_v4l1" = "x"; then :
11764 case "x$with_v4l" in
11765 x
) as_fn_append wine_notices
"|libv4l ${notice_platform}development files not found." ;;
11767 *) as_fn_error $?
"libv4l ${notice_platform}development files not found.
11768 This is an error since --with-v4l was requested." "$LINENO" 5 ;;
11772 if test "x$with_gphoto" != "xno"
11774 if ${GPHOTO2_CFLAGS:+false} :; then :
11775 if ${PKG_CONFIG+:} false
; then :
11776 GPHOTO2_CFLAGS
=`$PKG_CONFIG --cflags libgphoto2 2>/dev/null`
11779 test "$cross_compiling" = yes || GPHOTO2_CFLAGS
=${GPHOTO2_CFLAGS:-`gphoto2-config --cflags 2>/dev/null`}
11780 if ${GPHOTO2_LIBS:+false} :; then :
11781 if ${PKG_CONFIG+:} false
; then :
11782 GPHOTO2_LIBS
=`$PKG_CONFIG --libs libgphoto2 2>/dev/null`
11785 test "$cross_compiling" = yes || GPHOTO2_LIBS
=${GPHOTO2_LIBS:-`gphoto2-config --libs 2>/dev/null`}
11786 GPHOTO2_LIBS
=${GPHOTO2_LIBS:-"-lgphoto2"}
11787 $as_echo "$as_me:${as_lineno-$LINENO}: libgphoto2 cflags: $GPHOTO2_CFLAGS" >&5
11788 $as_echo "$as_me:${as_lineno-$LINENO}: libgphoto2 libs: $GPHOTO2_LIBS" >&5
11789 ac_save_CPPFLAGS
=$CPPFLAGS
11790 CPPFLAGS
="$CPPFLAGS $GPHOTO2_CFLAGS"
11791 ac_fn_c_check_header_mongrel
"$LINENO" "gphoto2-camera.h" "ac_cv_header_gphoto2_camera_h" "$ac_includes_default"
11792 if test "x$ac_cv_header_gphoto2_camera_h" = xyes
; then :
11793 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gp_camera_new in -lgphoto2" >&5
11794 $as_echo_n "checking for gp_camera_new in -lgphoto2... " >&6; }
11795 if ${ac_cv_lib_gphoto2_gp_camera_new+:} false
; then :
11796 $as_echo_n "(cached) " >&6
11798 ac_check_lib_save_LIBS
=$LIBS
11799 LIBS
="-lgphoto2 $GPHOTO2_LIBS $LIBS"
11800 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11801 /* end confdefs.h. */
11803 /* Override any GCC internal prototype to avoid an error.
11804 Use char because int might match the return type of a GCC
11805 builtin and then its argument prototype would still apply. */
11809 char gp_camera_new ();
11813 return gp_camera_new ();
11818 if ac_fn_c_try_link
"$LINENO"; then :
11819 ac_cv_lib_gphoto2_gp_camera_new
=yes
11821 ac_cv_lib_gphoto2_gp_camera_new
=no
11823 rm -f core conftest.err conftest.
$ac_objext \
11824 conftest
$ac_exeext conftest.
$ac_ext
11825 LIBS
=$ac_check_lib_save_LIBS
11827 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gphoto2_gp_camera_new" >&5
11828 $as_echo "$ac_cv_lib_gphoto2_gp_camera_new" >&6; }
11829 if test "x$ac_cv_lib_gphoto2_gp_camera_new" = xyes
; then :
11831 $as_echo "#define HAVE_GPHOTO2 1" >>confdefs.h
11834 GPHOTO2_LIBS
=""; GPHOTO2_CFLAGS
=""
11838 GPHOTO2_LIBS
=""; GPHOTO2_CFLAGS
=""
11842 CPPFLAGS
=$ac_save_CPPFLAGS
11843 test -z "$GPHOTO2_CFLAGS" || GPHOTO2_CFLAGS
=`echo " $GPHOTO2_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
11844 test -z "$GPHOTO2_LIBS" || GPHOTO2_LIBS
=`echo " $GPHOTO2_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
11846 if ${GPHOTO2_PORT_CFLAGS:+false} :; then :
11847 if ${PKG_CONFIG+:} false
; then :
11848 GPHOTO2_PORT_CFLAGS
=`$PKG_CONFIG --cflags libgphoto2_port 2>/dev/null`
11851 test "$cross_compiling" = yes || GPHOTO2_PORT_CFLAGS
=${GPHOTO2_PORT_CFLAGS:-`gphoto2-port-config --cflags 2>/dev/null`}
11852 if ${GPHOTO2_PORT_LIBS:+false} :; then :
11853 if ${PKG_CONFIG+:} false
; then :
11854 GPHOTO2_PORT_LIBS
=`$PKG_CONFIG --libs libgphoto2_port 2>/dev/null`
11857 test "$cross_compiling" = yes || GPHOTO2_PORT_LIBS
=${GPHOTO2_PORT_LIBS:-`gphoto2-port-config --libs 2>/dev/null`}
11858 GPHOTO2_PORT_LIBS
=${GPHOTO2_PORT_LIBS:-"-lgphoto2_port"}
11859 $as_echo "$as_me:${as_lineno-$LINENO}: libgphoto2_port cflags: $GPHOTO2_PORT_CFLAGS" >&5
11860 $as_echo "$as_me:${as_lineno-$LINENO}: libgphoto2_port libs: $GPHOTO2_PORT_LIBS" >&5
11861 ac_save_CPPFLAGS
=$CPPFLAGS
11862 CPPFLAGS
="$CPPFLAGS $GPHOTO2_PORT_CFLAGS"
11863 ac_fn_c_check_header_mongrel
"$LINENO" "gphoto2-port.h" "ac_cv_header_gphoto2_port_h" "$ac_includes_default"
11864 if test "x$ac_cv_header_gphoto2_port_h" = xyes
; then :
11865 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gp_port_info_list_new in -lgphoto2_port" >&5
11866 $as_echo_n "checking for gp_port_info_list_new in -lgphoto2_port... " >&6; }
11867 if ${ac_cv_lib_gphoto2_port_gp_port_info_list_new+:} false
; then :
11868 $as_echo_n "(cached) " >&6
11870 ac_check_lib_save_LIBS
=$LIBS
11871 LIBS
="-lgphoto2_port $GPHOTO2_PORT_LIBS $LIBS"
11872 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11873 /* end confdefs.h. */
11875 /* Override any GCC internal prototype to avoid an error.
11876 Use char because int might match the return type of a GCC
11877 builtin and then its argument prototype would still apply. */
11881 char gp_port_info_list_new ();
11885 return gp_port_info_list_new ();
11890 if ac_fn_c_try_link
"$LINENO"; then :
11891 ac_cv_lib_gphoto2_port_gp_port_info_list_new
=yes
11893 ac_cv_lib_gphoto2_port_gp_port_info_list_new
=no
11895 rm -f core conftest.err conftest.
$ac_objext \
11896 conftest
$ac_exeext conftest.
$ac_ext
11897 LIBS
=$ac_check_lib_save_LIBS
11899 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gphoto2_port_gp_port_info_list_new" >&5
11900 $as_echo "$ac_cv_lib_gphoto2_port_gp_port_info_list_new" >&6; }
11901 if test "x$ac_cv_lib_gphoto2_port_gp_port_info_list_new" = xyes
; then :
11903 $as_echo "#define HAVE_GPHOTO2_PORT 1" >>confdefs.h
11906 GPHOTO2_PORT_LIBS
=""; GPHOTO2_PORT_CFLAGS
=""
11910 GPHOTO2_PORT_LIBS
=""; GPHOTO2_PORT_CFLAGS
=""
11914 CPPFLAGS
=$ac_save_CPPFLAGS
11915 test -z "$GPHOTO2_PORT_CFLAGS" || GPHOTO2_PORT_CFLAGS
=`echo " $GPHOTO2_PORT_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
11916 test -z "$GPHOTO2_PORT_LIBS" || GPHOTO2_PORT_LIBS
=`echo " $GPHOTO2_PORT_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
11919 if test "$ac_cv_lib_gphoto2_gp_camera_new" != "yes"; then :
11920 case "x$with_gphoto" in
11921 x
) as_fn_append wine_notices
"|libgphoto2 ${notice_platform}development files not found, digital cameras won't be supported." ;;
11923 *) as_fn_error $?
"libgphoto2 ${notice_platform}development files not found, digital cameras won't be supported.
11924 This is an error since --with-gphoto was requested." "$LINENO" 5 ;;
11927 if test "$ac_cv_lib_gphoto2_port_gp_port_info_list_new" != "yes"; then :
11928 case "x$with_gphoto" in
11929 x
) as_fn_append wine_notices
"|libgphoto2_port ${notice_platform}development files not found, digital cameras won't be auto-detected." ;;
11931 *) as_fn_error $?
"libgphoto2_port ${notice_platform}development files not found, digital cameras won't be auto-detected.
11932 This is an error since --with-gphoto was requested." "$LINENO" 5 ;;
11937 if test "$ac_cv_header_resolv_h" = "yes"
11939 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for resolver library" >&5
11940 $as_echo_n "checking for resolver library... " >&6; }
11941 if ${ac_cv_have_resolv+:} false
; then :
11942 $as_echo_n "(cached) " >&6
11944 ac_save_LIBS
="$LIBS"
11945 for lib
in '' -lresolv
11947 LIBS
="$lib $ac_save_LIBS"
11948 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11949 /* end confdefs.h. */
11950 #ifdef HAVE_NETINET_IN_H
11951 #include <netinet/in.h>
11953 #include <resolv.h>
11957 if (!(_res.options & RES_INIT)) res_init(); res_query("foo",ns_c_in,0,0,0)
11962 if ac_fn_c_try_link
"$LINENO"; then :
11963 ac_cv_have_resolv
=${lib:-"none required"}
11965 ac_cv_have_resolv
="not found"
11967 rm -f core conftest.err conftest.
$ac_objext \
11968 conftest
$ac_exeext conftest.
$ac_ext
11969 test "x$ac_cv_have_resolv" = "xnot found" ||
break
11971 LIBS
="$ac_save_LIBS"
11973 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_resolv" >&5
11974 $as_echo "$ac_cv_have_resolv" >&6; }
11976 case "$ac_cv_have_resolv" in
11980 $as_echo "#define HAVE_RESOLV 1" >>confdefs.h
11983 $as_echo "#define HAVE_RESOLV 1" >>confdefs.h
11985 RESOLV_LIBS
=$ac_cv_have_resolv
11990 if test "x$with_cms" != "xno"
11992 if ${LCMS2_CFLAGS:+false} :; then :
11993 if ${PKG_CONFIG+:} false
; then :
11994 LCMS2_CFLAGS
=`$PKG_CONFIG --cflags lcms2 2>/dev/null`
11998 if ${LCMS2_LIBS:+false} :; then :
11999 if ${PKG_CONFIG+:} false
; then :
12000 LCMS2_LIBS
=`$PKG_CONFIG --libs lcms2 2>/dev/null`
12004 LCMS2_LIBS
=${LCMS2_LIBS:-"-llcms2"}
12005 $as_echo "$as_me:${as_lineno-$LINENO}: lcms2 cflags: $LCMS2_CFLAGS" >&5
12006 $as_echo "$as_me:${as_lineno-$LINENO}: lcms2 libs: $LCMS2_LIBS" >&5
12007 ac_save_CPPFLAGS
=$CPPFLAGS
12008 CPPFLAGS
="$CPPFLAGS $LCMS2_CFLAGS"
12009 for ac_header
in lcms2.h
12011 ac_fn_c_check_header_mongrel
"$LINENO" "lcms2.h" "ac_cv_header_lcms2_h" "$ac_includes_default"
12012 if test "x$ac_cv_header_lcms2_h" = xyes
; then :
12013 cat >>confdefs.h
<<_ACEOF
12014 #define HAVE_LCMS2_H 1
12021 if test "$ac_cv_header_lcms2_h" = "yes"
12023 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cmsOpenProfileFromFile in -llcms2" >&5
12024 $as_echo_n "checking for cmsOpenProfileFromFile in -llcms2... " >&6; }
12025 if ${ac_cv_lib_lcms2_cmsOpenProfileFromFile+:} false
; then :
12026 $as_echo_n "(cached) " >&6
12028 ac_check_lib_save_LIBS
=$LIBS
12029 LIBS
="-llcms2 $LCMS2_LIBS $LIBS"
12030 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12031 /* end confdefs.h. */
12033 /* Override any GCC internal prototype to avoid an error.
12034 Use char because int might match the return type of a GCC
12035 builtin and then its argument prototype would still apply. */
12039 char cmsOpenProfileFromFile ();
12043 return cmsOpenProfileFromFile ();
12048 if ac_fn_c_try_link
"$LINENO"; then :
12049 ac_cv_lib_lcms2_cmsOpenProfileFromFile
=yes
12051 ac_cv_lib_lcms2_cmsOpenProfileFromFile
=no
12053 rm -f core conftest.err conftest.
$ac_objext \
12054 conftest
$ac_exeext conftest.
$ac_ext
12055 LIBS
=$ac_check_lib_save_LIBS
12057 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_lcms2_cmsOpenProfileFromFile" >&5
12058 $as_echo "$ac_cv_lib_lcms2_cmsOpenProfileFromFile" >&6; }
12059 if test "x$ac_cv_lib_lcms2_cmsOpenProfileFromFile" = xyes
; then :
12061 $as_echo "#define HAVE_LCMS2 1" >>confdefs.h
12071 CPPFLAGS
=$ac_save_CPPFLAGS
12072 test -z "$LCMS2_CFLAGS" || LCMS2_CFLAGS
=`echo " $LCMS2_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
12073 test -z "$LCMS2_LIBS" || LCMS2_LIBS
=`echo " $LCMS2_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
12076 if test "$ac_cv_lib_lcms2_cmsOpenProfileFromFile" != "yes"; then :
12077 case "x$with_cms" in
12078 x
) as_fn_append wine_notices
"|liblcms2 ${notice_platform}development files not found, Color Management won't be supported." ;;
12080 *) as_fn_error $?
"liblcms2 ${notice_platform}development files not found, Color Management won't be supported.
12081 This is an error since --with-cms was requested." "$LINENO" 5 ;;
12085 if test "x$with_freetype" != "xno"
12087 if ${FREETYPE_CFLAGS:+false} :; then :
12088 if ${PKG_CONFIG+:} false
; then :
12089 FREETYPE_CFLAGS
=`$PKG_CONFIG --cflags freetype2 2>/dev/null`
12092 test "$cross_compiling" = yes || FREETYPE_CFLAGS
=${FREETYPE_CFLAGS:-`(freetype-config --cflags || freetype2-config --cflags) 2>/dev/null`}
12093 if ${FREETYPE_LIBS:+false} :; then :
12094 if ${PKG_CONFIG+:} false
; then :
12095 FREETYPE_LIBS
=`$PKG_CONFIG --libs freetype2 2>/dev/null`
12098 test "$cross_compiling" = yes || FREETYPE_LIBS
=${FREETYPE_LIBS:-`(freetype-config --libs || freetype2-config --libs) 2>/dev/null`}
12099 FREETYPE_LIBS
=${FREETYPE_LIBS:-"-lfreetype"}
12100 $as_echo "$as_me:${as_lineno-$LINENO}: freetype2 cflags: $FREETYPE_CFLAGS" >&5
12101 $as_echo "$as_me:${as_lineno-$LINENO}: freetype2 libs: $FREETYPE_LIBS" >&5
12102 ac_save_CPPFLAGS
=$CPPFLAGS
12103 CPPFLAGS
="$CPPFLAGS $FREETYPE_CFLAGS"
12104 for ac_header
in ft2build.h
12106 ac_fn_c_check_header_mongrel
"$LINENO" "ft2build.h" "ac_cv_header_ft2build_h" "$ac_includes_default"
12107 if test "x$ac_cv_header_ft2build_h" = xyes
; then :
12108 cat >>confdefs.h
<<_ACEOF
12109 #define HAVE_FT2BUILD_H 1
12116 if test "$ac_cv_header_ft2build_h" = "yes"
12118 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lfreetype" >&5
12119 $as_echo_n "checking for -lfreetype... " >&6; }
12120 if ${ac_cv_lib_soname_freetype+:} false
; then :
12121 $as_echo_n "(cached) " >&6
12123 ac_check_soname_save_LIBS
=$LIBS
12124 LIBS
="-lfreetype $FREETYPE_LIBS $LIBS"
12125 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12126 /* end confdefs.h. */
12128 /* Override any GCC internal prototype to avoid an error.
12129 Use char because int might match the return type of a GCC
12130 builtin and then its argument prototype would still apply. */
12134 char FT_Init_FreeType ();
12138 return FT_Init_FreeType ();
12143 if ac_fn_c_try_link
"$LINENO"; then :
12145 dll
) ac_cv_lib_soname_freetype
=`$ac_cv_path_LDD conftest.exe | grep "freetype" | sed -e "s/dll.*/dll/"';2,$d'` ;;
12146 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'` ;;
12147 *) ac_cv_lib_soname_freetype
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libfreetype\\.$LIBEXT" | sed -e "s/^.*\\[\\(libfreetype\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
12148 if ${ac_cv_lib_soname_freetype:+false} :; then :
12149 ac_cv_lib_soname_freetype
=`$LDD conftest$ac_exeext | grep "libfreetype\\.$LIBEXT" | sed -e "s/^.*\(libfreetype\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
12153 rm -f core conftest.err conftest.
$ac_objext \
12154 conftest
$ac_exeext conftest.
$ac_ext
12155 LIBS
=$ac_check_soname_save_LIBS
12157 if ${ac_cv_lib_soname_freetype:+false} :; then :
12158 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
12159 $as_echo "not found" >&6; }
12162 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_freetype" >&5
12163 $as_echo "$ac_cv_lib_soname_freetype" >&6; }
12165 cat >>confdefs.h
<<_ACEOF
12166 #define SONAME_LIBFREETYPE "$ac_cv_lib_soname_freetype"
12170 $as_echo "#define HAVE_FREETYPE 1" >>confdefs.h
12172 ac_fn_c_check_type
"$LINENO" "FT_TrueTypeEngineType" "ac_cv_type_FT_TrueTypeEngineType" "#include <ft2build.h>
12173 #include FT_MODULE_H
12175 if test "x$ac_cv_type_FT_TrueTypeEngineType" = xyes
; then :
12177 cat >>confdefs.h
<<_ACEOF
12178 #define HAVE_FT_TRUETYPEENGINETYPE 1
12189 CPPFLAGS
=$ac_save_CPPFLAGS
12190 test -z "$FREETYPE_CFLAGS" || FREETYPE_CFLAGS
=`echo " $FREETYPE_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
12191 test -z "$FREETYPE_LIBS" || FREETYPE_LIBS
=`echo " $FREETYPE_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
12194 if test "x$ac_cv_lib_soname_freetype" = x
; then :
12195 case "x$with_freetype" in
12197 *) as_fn_error $?
"FreeType ${notice_platform}development files not found. Fonts will not be built.
12198 Use the --without-freetype option if you really want this." "$LINENO" 5 ;;
12201 test "x$ac_cv_lib_soname_freetype" = x
&& enable_fonts
=${enable_fonts:-no}
12203 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for parport header/ppdev.h" >&5
12204 $as_echo_n "checking for parport header/ppdev.h... " >&6; }
12205 if ${ac_cv_c_ppdev+:} false
; then :
12206 $as_echo_n "(cached) " >&6
12208 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12209 /* end confdefs.h. */
12210 #ifdef HAVE_SYS_IOCTL_H
12211 # include <sys/ioctl.h>
12213 #include <linux/ppdev.h>
12217 ioctl (1,PPCLAIM,0)
12222 if ac_fn_c_try_compile
"$LINENO"; then :
12223 ac_cv_c_ppdev
="yes"
12227 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
12229 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_ppdev" >&5
12230 $as_echo "$ac_cv_c_ppdev" >&6; }
12231 if test "$ac_cv_c_ppdev" = "yes"
12234 $as_echo "#define HAVE_PPDEV 1" >>confdefs.h
12238 ac_wine_check_funcs_save_LIBS
="$LIBS"
12239 LIBS
="$LIBS $PTHREAD_LIBS"
12241 pthread_attr_get_np \
12242 pthread_getattr_np \
12243 pthread_getthreadid_np \
12244 pthread_get_stackaddr_np \
12245 pthread_get_stacksize_np
12247 as_ac_var
=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
12248 ac_fn_c_check_func
"$LINENO" "$ac_func" "$as_ac_var"
12249 if eval test \"x\$
"$as_ac_var"\" = x
"yes"; then :
12250 cat >>confdefs.h
<<_ACEOF
12251 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
12257 LIBS
="$ac_wine_check_funcs_save_LIBS"
12259 if test "$ac_cv_header_zlib_h" = "yes"
12261 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for inflate in -lz" >&5
12262 $as_echo_n "checking for inflate in -lz... " >&6; }
12263 if ${ac_cv_lib_z_inflate+:} false
; then :
12264 $as_echo_n "(cached) " >&6
12266 ac_check_lib_save_LIBS
=$LIBS
12268 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12269 /* end confdefs.h. */
12271 /* Override any GCC internal prototype to avoid an error.
12272 Use char because int might match the return type of a GCC
12273 builtin and then its argument prototype would still apply. */
12286 if ac_fn_c_try_link
"$LINENO"; then :
12287 ac_cv_lib_z_inflate
=yes
12289 ac_cv_lib_z_inflate
=no
12291 rm -f core conftest.err conftest.
$ac_objext \
12292 conftest
$ac_exeext conftest.
$ac_ext
12293 LIBS
=$ac_check_lib_save_LIBS
12295 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_z_inflate" >&5
12296 $as_echo "$ac_cv_lib_z_inflate" >&6; }
12297 if test "x$ac_cv_lib_z_inflate" = xyes
; then :
12299 $as_echo "#define HAVE_ZLIB 1" >>confdefs.h
12306 if test "x$Z_LIBS" = "x"; then :
12307 case "x$with_zlib" in
12308 x
) as_fn_append wine_notices
"|libz ${notice_platform}development files not found, data compression won't be supported." ;;
12310 *) as_fn_error $?
"libz ${notice_platform}development files not found, data compression won't be supported.
12311 This is an error since --with-zlib was requested." "$LINENO" 5 ;;
12315 if test "x$enable_tools" != xno
12317 if test "$ac_cv_header_gettext_po_h" = "yes"
12319 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for po_message_msgctxt in -lgettextpo" >&5
12320 $as_echo_n "checking for po_message_msgctxt in -lgettextpo... " >&6; }
12321 if ${ac_cv_lib_gettextpo_po_message_msgctxt+:} false
; then :
12322 $as_echo_n "(cached) " >&6
12324 ac_check_lib_save_LIBS
=$LIBS
12325 LIBS
="-lgettextpo $LIBS"
12326 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12327 /* end confdefs.h. */
12329 /* Override any GCC internal prototype to avoid an error.
12330 Use char because int might match the return type of a GCC
12331 builtin and then its argument prototype would still apply. */
12335 char po_message_msgctxt ();
12339 return po_message_msgctxt ();
12344 if ac_fn_c_try_link
"$LINENO"; then :
12345 ac_cv_lib_gettextpo_po_message_msgctxt
=yes
12347 ac_cv_lib_gettextpo_po_message_msgctxt
=no
12349 rm -f core conftest.err conftest.
$ac_objext \
12350 conftest
$ac_exeext conftest.
$ac_ext
12351 LIBS
=$ac_check_lib_save_LIBS
12353 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gettextpo_po_message_msgctxt" >&5
12354 $as_echo "$ac_cv_lib_gettextpo_po_message_msgctxt" >&6; }
12355 if test "x$ac_cv_lib_gettextpo_po_message_msgctxt" = xyes
; then :
12357 $as_echo "#define HAVE_LIBGETTEXTPO 1" >>confdefs.h
12359 GETTEXTPO_LIBS
="-lgettextpo"
12364 test "x$with_gettextpo" != xyes ||
if test "x$GETTEXTPO_LIBS" = "x"; then :
12365 case "x$with_gettextpo" in
12366 x
) as_fn_append wine_notices
"|GetText ${notice_platform}development files not found (or too old), po files can't be rebuilt." ;;
12368 *) as_fn_error $?
"GetText ${notice_platform}development files not found (or too old), po files can't be rebuilt.
12369 This is an error since --with-gettextpo was requested." "$LINENO" 5 ;;
12374 if test "x$with_gstreamer" != "xno"
12376 if ${GSTREAMER_CFLAGS:+false} :; then :
12377 if ${PKG_CONFIG+:} false
; then :
12378 GSTREAMER_CFLAGS
=`$PKG_CONFIG --cflags gstreamer-app-0.10 2>/dev/null`
12382 if ${GSTREAMER_LIBS:+false} :; then :
12383 if ${PKG_CONFIG+:} false
; then :
12384 GSTREAMER_LIBS
=`$PKG_CONFIG --libs gstreamer-app-0.10 2>/dev/null`
12389 $as_echo "$as_me:${as_lineno-$LINENO}: gstreamer-app-0.10 cflags: $GSTREAMER_CFLAGS" >&5
12390 $as_echo "$as_me:${as_lineno-$LINENO}: gstreamer-app-0.10 libs: $GSTREAMER_LIBS" >&5
12391 ac_save_CPPFLAGS
=$CPPFLAGS
12392 CPPFLAGS
="$CPPFLAGS $GSTREAMER_CFLAGS"
12394 for i
in $GSTREAMER_CFLAGS
12397 -I*) ac_gst_incl
="$ac_gst_incl $i";;
12400 GSTREAMER_CFLAGS
=$ac_gst_incl
12401 CPPFLAGS
="$ac_save_CPPFLAGS $GSTREAMER_CFLAGS"
12402 ac_fn_c_check_header_mongrel
"$LINENO" "gst/gstpad.h" "ac_cv_header_gst_gstpad_h" "$ac_includes_default"
12403 if test "x$ac_cv_header_gst_gstpad_h" = xyes
; then :
12404 ac_fn_c_check_header_mongrel
"$LINENO" "gst/app/gstappsink.h" "ac_cv_header_gst_app_gstappsink_h" "$ac_includes_default"
12405 if test "x$ac_cv_header_gst_app_gstappsink_h" = xyes
; then :
12406 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether gint64 defined by gst/app/gstappsink.h is indeed 64-bit" >&5
12407 $as_echo_n "checking whether gint64 defined by gst/app/gstappsink.h is indeed 64-bit... " >&6; }
12408 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12409 /* end confdefs.h. */
12410 #include <gst/app/gstappsink.h>
12414 static int a[sizeof(gint64) > 4 ? 1 : -1]; if (a[0]) return 0;
12419 if ac_fn_c_try_compile
"$LINENO"; then :
12420 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
12421 $as_echo "yes" >&6; }
12422 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gst_pad_get_caps_reffed in -lgstreamer-0.10" >&5
12423 $as_echo_n "checking for gst_pad_get_caps_reffed in -lgstreamer-0.10... " >&6; }
12424 if ${ac_cv_lib_gstreamer_0_10_gst_pad_get_caps_reffed+:} false
; then :
12425 $as_echo_n "(cached) " >&6
12427 ac_check_lib_save_LIBS
=$LIBS
12428 LIBS
="-lgstreamer-0.10 $LIBS"
12429 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12430 /* end confdefs.h. */
12432 /* Override any GCC internal prototype to avoid an error.
12433 Use char because int might match the return type of a GCC
12434 builtin and then its argument prototype would still apply. */
12438 char gst_pad_get_caps_reffed ();
12442 return gst_pad_get_caps_reffed ();
12447 if ac_fn_c_try_link
"$LINENO"; then :
12448 ac_cv_lib_gstreamer_0_10_gst_pad_get_caps_reffed
=yes
12450 ac_cv_lib_gstreamer_0_10_gst_pad_get_caps_reffed
=no
12452 rm -f core conftest.err conftest.
$ac_objext \
12453 conftest
$ac_exeext conftest.
$ac_ext
12454 LIBS
=$ac_check_lib_save_LIBS
12456 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gstreamer_0_10_gst_pad_get_caps_reffed" >&5
12457 $as_echo "$ac_cv_lib_gstreamer_0_10_gst_pad_get_caps_reffed" >&6; }
12458 if test "x$ac_cv_lib_gstreamer_0_10_gst_pad_get_caps_reffed" = xyes
; then :
12459 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gst_app_buffer_new in -lgstapp-0.10" >&5
12460 $as_echo_n "checking for gst_app_buffer_new in -lgstapp-0.10... " >&6; }
12461 if ${ac_cv_lib_gstapp_0_10_gst_app_buffer_new+:} false
; then :
12462 $as_echo_n "(cached) " >&6
12464 ac_check_lib_save_LIBS
=$LIBS
12465 LIBS
="-lgstapp-0.10 $GSTREAMER_LIBS $LIBS"
12466 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12467 /* end confdefs.h. */
12469 /* Override any GCC internal prototype to avoid an error.
12470 Use char because int might match the return type of a GCC
12471 builtin and then its argument prototype would still apply. */
12475 char gst_app_buffer_new ();
12479 return gst_app_buffer_new ();
12484 if ac_fn_c_try_link
"$LINENO"; then :
12485 ac_cv_lib_gstapp_0_10_gst_app_buffer_new
=yes
12487 ac_cv_lib_gstapp_0_10_gst_app_buffer_new
=no
12489 rm -f core conftest.err conftest.
$ac_objext \
12490 conftest
$ac_exeext conftest.
$ac_ext
12491 LIBS
=$ac_check_lib_save_LIBS
12493 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gstapp_0_10_gst_app_buffer_new" >&5
12494 $as_echo "$ac_cv_lib_gstapp_0_10_gst_app_buffer_new" >&6; }
12495 if test "x$ac_cv_lib_gstapp_0_10_gst_app_buffer_new" = xyes
; then :
12502 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12503 $as_echo "no" >&6; }
12505 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
12510 GSTREAMER_CFLAGS
=""
12514 CPPFLAGS
=$ac_save_CPPFLAGS
12515 test -z "$GSTREAMER_CFLAGS" || GSTREAMER_CFLAGS
=`echo " $GSTREAMER_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
12516 test -z "$GSTREAMER_LIBS" || GSTREAMER_LIBS
=`echo " $GSTREAMER_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
12519 if test "x$ac_cv_lib_gstapp_0_10_gst_app_buffer_new" != xyes
-a "x$ac_cv_header_QuickTime_ImageCompression_h" != xyes
; then :
12520 case "x$with_gstreamer" in
12521 x
) as_fn_append wine_notices
"|gstreamer-0.10 base plugins ${notice_platform}development files not found, gstreamer support disabled" ;;
12523 *) as_fn_error $?
"gstreamer-0.10 base plugins ${notice_platform}development files not found, gstreamer support disabled
12524 This is an error since --with-gstreamer was requested." "$LINENO" 5 ;;
12527 test "x$ac_cv_lib_gstapp_0_10_gst_app_buffer_new" = xyes || enable_winegstreamer
=${enable_winegstreamer:-no}
12531 if test "$ac_cv_header_sys_asoundlib_h" = "yes" -o "$ac_cv_header_alsa_asoundlib_h" = "yes"
12533 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for snd_pcm_hw_params_get_access_mask in -lasound" >&5
12534 $as_echo_n "checking for snd_pcm_hw_params_get_access_mask in -lasound... " >&6; }
12535 if ${ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask+:} false
; then :
12536 $as_echo_n "(cached) " >&6
12538 ac_check_lib_save_LIBS
=$LIBS
12539 LIBS
="-lasound $LIBS"
12540 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12541 /* end confdefs.h. */
12543 /* Override any GCC internal prototype to avoid an error.
12544 Use char because int might match the return type of a GCC
12545 builtin and then its argument prototype would still apply. */
12549 char snd_pcm_hw_params_get_access_mask ();
12553 return snd_pcm_hw_params_get_access_mask ();
12558 if ac_fn_c_try_link
"$LINENO"; then :
12559 ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask
=yes
12561 ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask
=no
12563 rm -f core conftest.err conftest.
$ac_objext \
12564 conftest
$ac_exeext conftest.
$ac_ext
12565 LIBS
=$ac_check_lib_save_LIBS
12567 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask" >&5
12568 $as_echo "$ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask" >&6; }
12569 if test "x$ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask" = xyes
; then :
12570 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12571 /* end confdefs.h. */
12572 #ifdef HAVE_ALSA_ASOUNDLIB_H
12573 #include <alsa/asoundlib.h>
12574 #elif defined(HAVE_SYS_ASOUNDLIB_H)
12575 #include <sys/asoundlib.h>
12580 snd_pcm_hw_params_get_access_mask(NULL, NULL)
12585 if ac_fn_c_try_compile
"$LINENO"; then :
12586 ALSA_LIBS
="-lasound"
12588 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
12593 if test "x$with_oss" != xno
12595 ac_save_CPPFLAGS
="$CPPFLAGS"
12596 if test -f /etc
/oss.conf
12600 ac_oss_incl
="-I${OSSLIBDIR:-/usr/lib/oss}/include"
12601 CPPFLAGS
="$CPPFLAGS $ac_oss_incl"
12602 ac_fn_c_check_header_mongrel
"$LINENO" "sys/soundcard.h" "ac_cv_header_sys_soundcard_h" "$ac_includes_default"
12603 if test "x$ac_cv_header_sys_soundcard_h" = xyes
; then :
12604 ac_fn_c_check_member
"$LINENO" "oss_sysinfo" "numaudioengines" "ac_cv_member_oss_sysinfo_numaudioengines" "#include <sys/soundcard.h>
12606 if test "x$ac_cv_member_oss_sysinfo_numaudioengines" = xyes
; then :
12608 cat >>confdefs.h
<<_ACEOF
12609 #define HAVE_OSS_SYSINFO_NUMAUDIOENGINES 1
12612 OSS4_CFLAGS
="$ac_oss_incl"
12619 CPPFLAGS
="$ac_save_CPPFLAGS"
12620 if test "x$ac_cv_member_oss_sysinfo_numaudioengines" != xyes
12622 as_fn_append wine_notices
"|OSS sound system found but too old (OSSv4 needed), OSS won't be supported."
12626 if test "x$with_capi" != "xno"
12628 if ${CAPI20_CFLAGS:+false} :; then :
12629 if ${PKG_CONFIG+:} false
; then :
12630 CAPI20_CFLAGS
=`$PKG_CONFIG --cflags capi20 2>/dev/null`
12634 if ${CAPI20_LIBS:+false} :; then :
12635 if ${PKG_CONFIG+:} false
; then :
12636 CAPI20_LIBS
=`$PKG_CONFIG --libs capi20 2>/dev/null`
12641 $as_echo "$as_me:${as_lineno-$LINENO}: capi20 cflags: $CAPI20_CFLAGS" >&5
12642 $as_echo "$as_me:${as_lineno-$LINENO}: capi20 libs: $CAPI20_LIBS" >&5
12643 ac_save_CPPFLAGS
=$CPPFLAGS
12644 CPPFLAGS
="$CPPFLAGS $CAPI20_CFLAGS"
12645 for ac_header
in capi20.h linux
/capi.h
12647 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
12648 ac_fn_c_check_header_compile
"$LINENO" "$ac_header" "$as_ac_Header" "#define __user
12650 if eval test \"x\$
"$as_ac_Header"\" = x
"yes"; then :
12651 cat >>confdefs.h
<<_ACEOF
12652 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
12659 if test "$ac_cv_header_capi20_h" = "yes" -a "$ac_cv_header_linux_capi_h" = "yes"
12661 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lcapi20" >&5
12662 $as_echo_n "checking for -lcapi20... " >&6; }
12663 if ${ac_cv_lib_soname_capi20+:} false
; then :
12664 $as_echo_n "(cached) " >&6
12666 ac_check_soname_save_LIBS
=$LIBS
12667 LIBS
="-lcapi20 $CAPI20_LIBS $LIBS"
12668 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12669 /* end confdefs.h. */
12671 /* Override any GCC internal prototype to avoid an error.
12672 Use char because int might match the return type of a GCC
12673 builtin and then its argument prototype would still apply. */
12677 char capi20_register ();
12681 return capi20_register ();
12686 if ac_fn_c_try_link
"$LINENO"; then :
12688 dll
) ac_cv_lib_soname_capi20
=`$ac_cv_path_LDD conftest.exe | grep "capi20" | sed -e "s/dll.*/dll/"';2,$d'` ;;
12689 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'` ;;
12690 *) ac_cv_lib_soname_capi20
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libcapi20\\.$LIBEXT" | sed -e "s/^.*\\[\\(libcapi20\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
12691 if ${ac_cv_lib_soname_capi20:+false} :; then :
12692 ac_cv_lib_soname_capi20
=`$LDD conftest$ac_exeext | grep "libcapi20\\.$LIBEXT" | sed -e "s/^.*\(libcapi20\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
12696 rm -f core conftest.err conftest.
$ac_objext \
12697 conftest
$ac_exeext conftest.
$ac_ext
12698 LIBS
=$ac_check_soname_save_LIBS
12700 if ${ac_cv_lib_soname_capi20:+false} :; then :
12701 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
12702 $as_echo "not found" >&6; }
12705 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_capi20" >&5
12706 $as_echo "$ac_cv_lib_soname_capi20" >&6; }
12708 cat >>confdefs.h
<<_ACEOF
12709 #define SONAME_LIBCAPI20 "$ac_cv_lib_soname_capi20"
12715 CPPFLAGS
=$ac_save_CPPFLAGS
12716 test -z "$CAPI20_CFLAGS" || CAPI20_CFLAGS
=`echo " $CAPI20_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
12717 test -z "$CAPI20_LIBS" || CAPI20_LIBS
=`echo " $CAPI20_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
12720 if test "x$ac_cv_lib_soname_capi20" = "x"; then :
12721 case "x$with_capi" in
12722 x
) as_fn_append wine_notices
"|libcapi20 ${notice_platform}development files not found, ISDN won't be supported." ;;
12724 *) as_fn_error $?
"libcapi20 ${notice_platform}development files not found, ISDN won't be supported.
12725 This is an error since --with-capi was requested." "$LINENO" 5 ;;
12731 if test "x$with_cups" != "xno"
12733 ac_save_CPPFLAGS
="$CPPFLAGS"
12734 ac_cups_cflags
=`cups-config --cflags 2>/dev/null`
12735 ac_cups_libs
=`cups-config --ldflags 2>/dev/null`
12736 CPPFLAGS
="$CPPFLAGS $ac_cups_cflags"
12737 for ac_header
in cups
/cups.h
12739 ac_fn_c_check_header_mongrel
"$LINENO" "cups/cups.h" "ac_cv_header_cups_cups_h" "$ac_includes_default"
12740 if test "x$ac_cv_header_cups_cups_h" = xyes
; then :
12741 cat >>confdefs.h
<<_ACEOF
12742 #define HAVE_CUPS_CUPS_H 1
12744 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lcups" >&5
12745 $as_echo_n "checking for -lcups... " >&6; }
12746 if ${ac_cv_lib_soname_cups+:} false
; then :
12747 $as_echo_n "(cached) " >&6
12749 ac_check_soname_save_LIBS
=$LIBS
12750 LIBS
="-lcups $ac_cups_libs $LIBS"
12751 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12752 /* end confdefs.h. */
12754 /* Override any GCC internal prototype to avoid an error.
12755 Use char because int might match the return type of a GCC
12756 builtin and then its argument prototype would still apply. */
12760 char cupsGetDefault ();
12764 return cupsGetDefault ();
12769 if ac_fn_c_try_link
"$LINENO"; then :
12771 dll
) ac_cv_lib_soname_cups
=`$ac_cv_path_LDD conftest.exe | grep "cups" | sed -e "s/dll.*/dll/"';2,$d'` ;;
12772 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'` ;;
12773 *) ac_cv_lib_soname_cups
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libcups\\.$LIBEXT" | sed -e "s/^.*\\[\\(libcups\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
12774 if ${ac_cv_lib_soname_cups:+false} :; then :
12775 ac_cv_lib_soname_cups
=`$LDD conftest$ac_exeext | grep "libcups\\.$LIBEXT" | sed -e "s/^.*\(libcups\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
12779 rm -f core conftest.err conftest.
$ac_objext \
12780 conftest
$ac_exeext conftest.
$ac_ext
12781 LIBS
=$ac_check_soname_save_LIBS
12783 if ${ac_cv_lib_soname_cups:+false} :; then :
12784 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
12785 $as_echo "not found" >&6; }
12788 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_cups" >&5
12789 $as_echo "$ac_cv_lib_soname_cups" >&6; }
12791 cat >>confdefs.h
<<_ACEOF
12792 #define SONAME_LIBCUPS "$ac_cv_lib_soname_cups"
12795 CUPS_CFLAGS
="$ac_cups_cflags"
12801 CPPFLAGS
="$ac_save_CPPFLAGS"
12803 if test "x$ac_cv_lib_soname_cups" = "x"; then :
12804 case "x$with_cups" in
12805 x
) as_fn_append wine_notices
"|libcups ${notice_platform}development files not found, CUPS won't be supported." ;;
12807 *) as_fn_error $?
"libcups ${notice_platform}development files not found, CUPS won't be supported.
12808 This is an error since --with-cups was requested." "$LINENO" 5 ;;
12812 if test "x$with_fontconfig" != "xno"
12814 if ${FONTCONFIG_CFLAGS:+false} :; then :
12815 if ${PKG_CONFIG+:} false
; then :
12816 FONTCONFIG_CFLAGS
=`$PKG_CONFIG --cflags fontconfig 2>/dev/null`
12819 test "$cross_compiling" = yes || FONTCONFIG_CFLAGS
=${FONTCONFIG_CFLAGS:-$X_CFLAGS}
12820 if ${FONTCONFIG_LIBS:+false} :; then :
12821 if ${PKG_CONFIG+:} false
; then :
12822 FONTCONFIG_LIBS
=`$PKG_CONFIG --libs fontconfig 2>/dev/null`
12825 test "$cross_compiling" = yes || FONTCONFIG_LIBS
=${FONTCONFIG_LIBS:-$X_LIBS}
12827 $as_echo "$as_me:${as_lineno-$LINENO}: fontconfig cflags: $FONTCONFIG_CFLAGS" >&5
12828 $as_echo "$as_me:${as_lineno-$LINENO}: fontconfig libs: $FONTCONFIG_LIBS" >&5
12829 ac_save_CPPFLAGS
=$CPPFLAGS
12830 CPPFLAGS
="$CPPFLAGS $FONTCONFIG_CFLAGS"
12831 for ac_header
in fontconfig
/fontconfig.h
12833 ac_fn_c_check_header_mongrel
"$LINENO" "fontconfig/fontconfig.h" "ac_cv_header_fontconfig_fontconfig_h" "$ac_includes_default"
12834 if test "x$ac_cv_header_fontconfig_fontconfig_h" = xyes
; then :
12835 cat >>confdefs.h
<<_ACEOF
12836 #define HAVE_FONTCONFIG_FONTCONFIG_H 1
12843 if test "$ac_cv_header_fontconfig_fontconfig_h" = "yes"
12845 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lfontconfig" >&5
12846 $as_echo_n "checking for -lfontconfig... " >&6; }
12847 if ${ac_cv_lib_soname_fontconfig+:} false
; then :
12848 $as_echo_n "(cached) " >&6
12850 ac_check_soname_save_LIBS
=$LIBS
12851 LIBS
="-lfontconfig $FONTCONFIG_LIBS $LIBS"
12852 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12853 /* end confdefs.h. */
12855 /* Override any GCC internal prototype to avoid an error.
12856 Use char because int might match the return type of a GCC
12857 builtin and then its argument prototype would still apply. */
12870 if ac_fn_c_try_link
"$LINENO"; then :
12872 dll
) ac_cv_lib_soname_fontconfig
=`$ac_cv_path_LDD conftest.exe | grep "fontconfig" | sed -e "s/dll.*/dll/"';2,$d'` ;;
12873 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'` ;;
12874 *) ac_cv_lib_soname_fontconfig
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libfontconfig\\.$LIBEXT" | sed -e "s/^.*\\[\\(libfontconfig\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
12875 if ${ac_cv_lib_soname_fontconfig:+false} :; then :
12876 ac_cv_lib_soname_fontconfig
=`$LDD conftest$ac_exeext | grep "libfontconfig\\.$LIBEXT" | sed -e "s/^.*\(libfontconfig\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
12880 rm -f core conftest.err conftest.
$ac_objext \
12881 conftest
$ac_exeext conftest.
$ac_ext
12882 LIBS
=$ac_check_soname_save_LIBS
12884 if ${ac_cv_lib_soname_fontconfig:+false} :; then :
12885 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
12886 $as_echo "not found" >&6; }
12887 FONTCONFIG_CFLAGS
=""
12889 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_fontconfig" >&5
12890 $as_echo "$ac_cv_lib_soname_fontconfig" >&6; }
12892 cat >>confdefs.h
<<_ACEOF
12893 #define SONAME_LIBFONTCONFIG "$ac_cv_lib_soname_fontconfig"
12899 FONTCONFIG_CFLAGS
=""
12901 CPPFLAGS
=$ac_save_CPPFLAGS
12902 test -z "$FONTCONFIG_CFLAGS" || FONTCONFIG_CFLAGS
=`echo " $FONTCONFIG_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
12903 test -z "$FONTCONFIG_LIBS" || FONTCONFIG_LIBS
=`echo " $FONTCONFIG_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
12906 if test "x$ac_cv_lib_soname_fontconfig" = "x"; then :
12907 case "x$with_fontconfig" in
12908 x
) as_fn_append wine_notices
"|fontconfig ${notice_platform}development files not found, fontconfig won't be supported." ;;
12910 *) as_fn_error $?
"fontconfig ${notice_platform}development files not found, fontconfig won't be supported.
12911 This is an error since --with-fontconfig was requested." "$LINENO" 5 ;;
12915 if test "$ac_cv_header_gsm_h" = "yes" -o "$ac_cv_header_gsm_gsm_h" = "yes"
12917 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lgsm" >&5
12918 $as_echo_n "checking for -lgsm... " >&6; }
12919 if ${ac_cv_lib_soname_gsm+:} false
; then :
12920 $as_echo_n "(cached) " >&6
12922 ac_check_soname_save_LIBS
=$LIBS
12924 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12925 /* end confdefs.h. */
12927 /* Override any GCC internal prototype to avoid an error.
12928 Use char because int might match the return type of a GCC
12929 builtin and then its argument prototype would still apply. */
12933 char gsm_create ();
12937 return gsm_create ();
12942 if ac_fn_c_try_link
"$LINENO"; then :
12944 dll
) ac_cv_lib_soname_gsm
=`$ac_cv_path_LDD conftest.exe | grep "gsm" | sed -e "s/dll.*/dll/"';2,$d'` ;;
12945 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'` ;;
12946 *) ac_cv_lib_soname_gsm
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libgsm\\.$LIBEXT" | sed -e "s/^.*\\[\\(libgsm\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
12947 if ${ac_cv_lib_soname_gsm:+false} :; then :
12948 ac_cv_lib_soname_gsm
=`$LDD conftest$ac_exeext | grep "libgsm\\.$LIBEXT" | sed -e "s/^.*\(libgsm\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
12952 rm -f core conftest.err conftest.
$ac_objext \
12953 conftest
$ac_exeext conftest.
$ac_ext
12954 LIBS
=$ac_check_soname_save_LIBS
12956 if ${ac_cv_lib_soname_gsm:+false} :; then :
12957 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
12958 $as_echo "not found" >&6; }
12961 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_gsm" >&5
12962 $as_echo "$ac_cv_lib_soname_gsm" >&6; }
12964 cat >>confdefs.h
<<_ACEOF
12965 #define SONAME_LIBGSM "$ac_cv_lib_soname_gsm"
12971 if test "x$ac_cv_lib_soname_gsm" = "x"; then :
12972 case "x$with_gsm" in
12973 x
) as_fn_append wine_notices
"|libgsm ${notice_platform}development files not found, gsm 06.10 codec won't be supported." ;;
12975 *) as_fn_error $?
"libgsm ${notice_platform}development files not found, gsm 06.10 codec won't be supported.
12976 This is an error since --with-gsm was requested." "$LINENO" 5 ;;
12980 if test "x$with_jpeg" != "xno"
12982 if ${JPEG_CFLAGS:+false} :; then :
12983 if ${PKG_CONFIG+:} false
; then :
12984 JPEG_CFLAGS
=`$PKG_CONFIG --cflags libjpeg 2>/dev/null`
12988 if ${JPEG_LIBS:+false} :; then :
12989 if ${PKG_CONFIG+:} false
; then :
12990 JPEG_LIBS
=`$PKG_CONFIG --libs libjpeg 2>/dev/null`
12995 $as_echo "$as_me:${as_lineno-$LINENO}: libjpeg cflags: $JPEG_CFLAGS" >&5
12996 $as_echo "$as_me:${as_lineno-$LINENO}: libjpeg libs: $JPEG_LIBS" >&5
12997 ac_save_CPPFLAGS
=$CPPFLAGS
12998 CPPFLAGS
="$CPPFLAGS $JPEG_CFLAGS"
12999 for ac_header
in jpeglib.h
13001 ac_fn_c_check_header_mongrel
"$LINENO" "jpeglib.h" "ac_cv_header_jpeglib_h" "$ac_includes_default"
13002 if test "x$ac_cv_header_jpeglib_h" = xyes
; then :
13003 cat >>confdefs.h
<<_ACEOF
13004 #define HAVE_JPEGLIB_H 1
13011 if test "$ac_cv_header_jpeglib_h" = "yes"
13013 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -ljpeg" >&5
13014 $as_echo_n "checking for -ljpeg... " >&6; }
13015 if ${ac_cv_lib_soname_jpeg+:} false
; then :
13016 $as_echo_n "(cached) " >&6
13018 ac_check_soname_save_LIBS
=$LIBS
13019 LIBS
="-ljpeg $JPEG_LIBS $LIBS"
13020 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13021 /* end confdefs.h. */
13023 /* Override any GCC internal prototype to avoid an error.
13024 Use char because int might match the return type of a GCC
13025 builtin and then its argument prototype would still apply. */
13029 char jpeg_start_decompress ();
13033 return jpeg_start_decompress ();
13038 if ac_fn_c_try_link
"$LINENO"; then :
13040 dll
) ac_cv_lib_soname_jpeg
=`$ac_cv_path_LDD conftest.exe | grep "jpeg" | sed -e "s/dll.*/dll/"';2,$d'` ;;
13041 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'` ;;
13042 *) ac_cv_lib_soname_jpeg
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libjpeg\\.$LIBEXT" | sed -e "s/^.*\\[\\(libjpeg\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
13043 if ${ac_cv_lib_soname_jpeg:+false} :; then :
13044 ac_cv_lib_soname_jpeg
=`$LDD conftest$ac_exeext | grep "libjpeg\\.$LIBEXT" | sed -e "s/^.*\(libjpeg\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
13048 rm -f core conftest.err conftest.
$ac_objext \
13049 conftest
$ac_exeext conftest.
$ac_ext
13050 LIBS
=$ac_check_soname_save_LIBS
13052 if ${ac_cv_lib_soname_jpeg:+false} :; then :
13053 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13054 $as_echo "not found" >&6; }
13057 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_jpeg" >&5
13058 $as_echo "$ac_cv_lib_soname_jpeg" >&6; }
13060 cat >>confdefs.h
<<_ACEOF
13061 #define SONAME_LIBJPEG "$ac_cv_lib_soname_jpeg"
13069 CPPFLAGS
=$ac_save_CPPFLAGS
13070 test -z "$JPEG_CFLAGS" || JPEG_CFLAGS
=`echo " $JPEG_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
13071 test -z "$JPEG_LIBS" || JPEG_LIBS
=`echo " $JPEG_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
13074 if test "x$ac_cv_lib_soname_jpeg" = "x"; then :
13075 case "x$with_jpeg" in
13076 x
) as_fn_append wine_warnings
"|libjpeg ${notice_platform}development files not found, JPEG won't be supported." ;;
13078 *) as_fn_error $?
"libjpeg ${notice_platform}development files not found, JPEG won't be supported.
13079 This is an error since --with-jpeg was requested." "$LINENO" 5 ;;
13083 if test "x$with_png" != "xno"
13085 if ${PNG_CFLAGS:+false} :; then :
13086 if ${PKG_CONFIG+:} false
; then :
13087 PNG_CFLAGS
=`$PKG_CONFIG --cflags libpng 2>/dev/null`
13090 test "$cross_compiling" = yes || PNG_CFLAGS
=${PNG_CFLAGS:-$X_CFLAGS}
13091 if ${PNG_LIBS:+false} :; then :
13092 if ${PKG_CONFIG+:} false
; then :
13093 PNG_LIBS
=`$PKG_CONFIG --libs libpng 2>/dev/null`
13096 test "$cross_compiling" = yes || PNG_LIBS
=${PNG_LIBS:-$X_LIBS}
13098 $as_echo "$as_me:${as_lineno-$LINENO}: libpng cflags: $PNG_CFLAGS" >&5
13099 $as_echo "$as_me:${as_lineno-$LINENO}: libpng libs: $PNG_LIBS" >&5
13100 ac_save_CPPFLAGS
=$CPPFLAGS
13101 CPPFLAGS
="$CPPFLAGS $PNG_CFLAGS"
13102 for ac_header
in png.h
13104 ac_fn_c_check_header_mongrel
"$LINENO" "png.h" "ac_cv_header_png_h" "$ac_includes_default"
13105 if test "x$ac_cv_header_png_h" = xyes
; then :
13106 cat >>confdefs.h
<<_ACEOF
13107 #define HAVE_PNG_H 1
13114 if test "$ac_cv_header_png_h" = "yes"
13116 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lpng" >&5
13117 $as_echo_n "checking for -lpng... " >&6; }
13118 if ${ac_cv_lib_soname_png+:} false
; then :
13119 $as_echo_n "(cached) " >&6
13121 ac_check_soname_save_LIBS
=$LIBS
13122 LIBS
="-lpng $PNG_LIBS -lm -lz $LIBS"
13123 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13124 /* end confdefs.h. */
13126 /* Override any GCC internal prototype to avoid an error.
13127 Use char because int might match the return type of a GCC
13128 builtin and then its argument prototype would still apply. */
13132 char png_create_read_struct ();
13136 return png_create_read_struct ();
13141 if ac_fn_c_try_link
"$LINENO"; then :
13143 dll
) ac_cv_lib_soname_png
=`$ac_cv_path_LDD conftest.exe | grep "png" | sed -e "s/dll.*/dll/"';2,$d'` ;;
13144 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'` ;;
13145 *) 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'`
13146 if ${ac_cv_lib_soname_png:+false} :; then :
13147 ac_cv_lib_soname_png
=`$LDD conftest$ac_exeext | grep "libpng[0-9]*\\.$LIBEXT" | sed -e "s/^.*\(libpng[0-9]*\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
13151 rm -f core conftest.err conftest.
$ac_objext \
13152 conftest
$ac_exeext conftest.
$ac_ext
13153 LIBS
=$ac_check_soname_save_LIBS
13155 if ${ac_cv_lib_soname_png:+false} :; then :
13156 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13157 $as_echo "not found" >&6; }
13160 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_png" >&5
13161 $as_echo "$ac_cv_lib_soname_png" >&6; }
13163 cat >>confdefs.h
<<_ACEOF
13164 #define SONAME_LIBPNG "$ac_cv_lib_soname_png"
13167 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13168 /* end confdefs.h. */
13173 typeof(png_set_expand_gray_1_2_4_to_8) *p
13178 if ac_fn_c_try_compile
"$LINENO"; then :
13180 $as_echo "#define HAVE_PNG_SET_EXPAND_GRAY_1_2_4_TO_8 1" >>confdefs.h
13183 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
13188 CPPFLAGS
=$ac_save_CPPFLAGS
13189 test -z "$PNG_CFLAGS" || PNG_CFLAGS
=`echo " $PNG_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
13190 test -z "$PNG_LIBS" || PNG_LIBS
=`echo " $PNG_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
13193 if test "x$ac_cv_lib_soname_png" = "x"; then :
13194 case "x$with_png" in
13195 x
) as_fn_append wine_warnings
"|libpng ${notice_platform}development files not found, PNG won't be supported." ;;
13197 *) as_fn_error $?
"libpng ${notice_platform}development files not found, PNG won't be supported.
13198 This is an error since --with-png was requested." "$LINENO" 5 ;;
13202 if test "x$with_tiff" != "xno"
13204 if ${TIFF_CFLAGS:+false} :; then :
13205 if ${PKG_CONFIG+:} false
; then :
13206 TIFF_CFLAGS
=`$PKG_CONFIG --cflags libtiff 2>/dev/null`
13210 if ${TIFF_LIBS:+false} :; then :
13211 if ${PKG_CONFIG+:} false
; then :
13212 TIFF_LIBS
=`$PKG_CONFIG --libs libtiff 2>/dev/null`
13217 $as_echo "$as_me:${as_lineno-$LINENO}: libtiff cflags: $TIFF_CFLAGS" >&5
13218 $as_echo "$as_me:${as_lineno-$LINENO}: libtiff libs: $TIFF_LIBS" >&5
13219 ac_save_CPPFLAGS
=$CPPFLAGS
13220 CPPFLAGS
="$CPPFLAGS $TIFF_CFLAGS"
13221 for ac_header
in tiffio.h
13223 ac_fn_c_check_header_mongrel
"$LINENO" "tiffio.h" "ac_cv_header_tiffio_h" "$ac_includes_default"
13224 if test "x$ac_cv_header_tiffio_h" = xyes
; then :
13225 cat >>confdefs.h
<<_ACEOF
13226 #define HAVE_TIFFIO_H 1
13233 if test "$ac_cv_header_tiffio_h" = "yes"
13235 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -ltiff" >&5
13236 $as_echo_n "checking for -ltiff... " >&6; }
13237 if ${ac_cv_lib_soname_tiff+:} false
; then :
13238 $as_echo_n "(cached) " >&6
13240 ac_check_soname_save_LIBS
=$LIBS
13241 LIBS
="-ltiff $TIFF_LIBS $LIBS"
13242 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13243 /* end confdefs.h. */
13245 /* Override any GCC internal prototype to avoid an error.
13246 Use char because int might match the return type of a GCC
13247 builtin and then its argument prototype would still apply. */
13251 char TIFFClientOpen ();
13255 return TIFFClientOpen ();
13260 if ac_fn_c_try_link
"$LINENO"; then :
13262 dll
) ac_cv_lib_soname_tiff
=`$ac_cv_path_LDD conftest.exe | grep "tiff" | sed -e "s/dll.*/dll/"';2,$d'` ;;
13263 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'` ;;
13264 *) ac_cv_lib_soname_tiff
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libtiff\\.$LIBEXT" | sed -e "s/^.*\\[\\(libtiff\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
13265 if ${ac_cv_lib_soname_tiff:+false} :; then :
13266 ac_cv_lib_soname_tiff
=`$LDD conftest$ac_exeext | grep "libtiff\\.$LIBEXT" | sed -e "s/^.*\(libtiff\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
13270 rm -f core conftest.err conftest.
$ac_objext \
13271 conftest
$ac_exeext conftest.
$ac_ext
13272 LIBS
=$ac_check_soname_save_LIBS
13274 if ${ac_cv_lib_soname_tiff:+false} :; then :
13275 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13276 $as_echo "not found" >&6; }
13279 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_tiff" >&5
13280 $as_echo "$ac_cv_lib_soname_tiff" >&6; }
13282 cat >>confdefs.h
<<_ACEOF
13283 #define SONAME_LIBTIFF "$ac_cv_lib_soname_tiff"
13289 CPPFLAGS
=$ac_save_CPPFLAGS
13290 test -z "$TIFF_CFLAGS" || TIFF_CFLAGS
=`echo " $TIFF_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
13291 test -z "$TIFF_LIBS" || TIFF_LIBS
=`echo " $TIFF_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
13294 if test "x$ac_cv_lib_soname_tiff" = "x"; then :
13295 case "x$with_tiff" in
13296 x
) as_fn_append wine_notices
"|libtiff ${notice_platform}development files not found, TIFF won't be supported." ;;
13298 *) as_fn_error $?
"libtiff ${notice_platform}development files not found, TIFF won't be supported.
13299 This is an error since --with-tiff was requested." "$LINENO" 5 ;;
13303 if test "x$with_mpg123" != "xno"
13305 if ${MPG123_CFLAGS:+false} :; then :
13306 if ${PKG_CONFIG+:} false
; then :
13307 MPG123_CFLAGS
=`$PKG_CONFIG --cflags libmpg123 2>/dev/null`
13311 if ${MPG123_LIBS:+false} :; then :
13312 if ${PKG_CONFIG+:} false
; then :
13313 MPG123_LIBS
=`$PKG_CONFIG --libs libmpg123 2>/dev/null`
13317 MPG123_LIBS
=${MPG123_LIBS:-"-lmpg123"}
13318 $as_echo "$as_me:${as_lineno-$LINENO}: libmpg123 cflags: $MPG123_CFLAGS" >&5
13319 $as_echo "$as_me:${as_lineno-$LINENO}: libmpg123 libs: $MPG123_LIBS" >&5
13320 ac_save_CPPFLAGS
=$CPPFLAGS
13321 CPPFLAGS
="$CPPFLAGS $MPG123_CFLAGS"
13322 for ac_header
in mpg123.h
13324 ac_fn_c_check_header_mongrel
"$LINENO" "mpg123.h" "ac_cv_header_mpg123_h" "$ac_includes_default"
13325 if test "x$ac_cv_header_mpg123_h" = xyes
; then :
13326 cat >>confdefs.h
<<_ACEOF
13327 #define HAVE_MPG123_H 1
13334 if test "$ac_cv_header_mpg123_h" = "yes"
13336 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for mpg123_feed in -lmpg123" >&5
13337 $as_echo_n "checking for mpg123_feed in -lmpg123... " >&6; }
13338 if ${ac_cv_lib_mpg123_mpg123_feed+:} false
; then :
13339 $as_echo_n "(cached) " >&6
13341 ac_check_lib_save_LIBS
=$LIBS
13342 LIBS
="-lmpg123 $MPG123_LIBS $LIBS"
13343 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13344 /* end confdefs.h. */
13346 /* Override any GCC internal prototype to avoid an error.
13347 Use char because int might match the return type of a GCC
13348 builtin and then its argument prototype would still apply. */
13352 char mpg123_feed ();
13356 return mpg123_feed ();
13361 if ac_fn_c_try_link
"$LINENO"; then :
13362 ac_cv_lib_mpg123_mpg123_feed
=yes
13364 ac_cv_lib_mpg123_mpg123_feed
=no
13366 rm -f core conftest.err conftest.
$ac_objext \
13367 conftest
$ac_exeext conftest.
$ac_ext
13368 LIBS
=$ac_check_lib_save_LIBS
13370 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_mpg123_mpg123_feed" >&5
13371 $as_echo "$ac_cv_lib_mpg123_mpg123_feed" >&6; }
13372 if test "x$ac_cv_lib_mpg123_mpg123_feed" = xyes
; then :
13382 CPPFLAGS
=$ac_save_CPPFLAGS
13383 test -z "$MPG123_CFLAGS" || MPG123_CFLAGS
=`echo " $MPG123_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
13384 test -z "$MPG123_LIBS" || MPG123_LIBS
=`echo " $MPG123_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
13387 if test "x$ac_cv_lib_mpg123_mpg123_feed" != xyes
-a x
"$ac_cv_header_CoreAudio_CoreAudio_h" != xyes
; then :
13388 case "x$with_mpg123" in
13389 x
) as_fn_append wine_notices
"|libmpg123 ${notice_platform}development files not found (or too old), mp3 codec won't be supported." ;;
13391 *) as_fn_error $?
"libmpg123 ${notice_platform}development files not found (or too old), mp3 codec won't be supported.
13392 This is an error since --with-mpg123 was requested." "$LINENO" 5 ;;
13395 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}
13397 if test "$ac_cv_header_AL_al_h" = "yes"
13399 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lopenal" >&5
13400 $as_echo_n "checking for -lopenal... " >&6; }
13401 if ${ac_cv_lib_soname_openal+:} false
; then :
13402 $as_echo_n "(cached) " >&6
13404 ac_check_soname_save_LIBS
=$LIBS
13405 LIBS
="-lopenal $LIBS"
13406 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13407 /* end confdefs.h. */
13409 /* Override any GCC internal prototype to avoid an error.
13410 Use char because int might match the return type of a GCC
13411 builtin and then its argument prototype would still apply. */
13415 char alGetSource3i ();
13419 return alGetSource3i ();
13424 if ac_fn_c_try_link
"$LINENO"; then :
13426 dll
) ac_cv_lib_soname_openal
=`$ac_cv_path_LDD conftest.exe | grep "openal" | sed -e "s/dll.*/dll/"';2,$d'` ;;
13427 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'` ;;
13428 *) ac_cv_lib_soname_openal
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libopenal\\.$LIBEXT" | sed -e "s/^.*\\[\\(libopenal\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
13429 if ${ac_cv_lib_soname_openal:+false} :; then :
13430 ac_cv_lib_soname_openal
=`$LDD conftest$ac_exeext | grep "libopenal\\.$LIBEXT" | sed -e "s/^.*\(libopenal\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
13434 rm -f core conftest.err conftest.
$ac_objext \
13435 conftest
$ac_exeext conftest.
$ac_ext
13436 LIBS
=$ac_check_soname_save_LIBS
13438 if ${ac_cv_lib_soname_openal:+false} :; then :
13439 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13440 $as_echo "not found" >&6; }
13443 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_openal" >&5
13444 $as_echo "$ac_cv_lib_soname_openal" >&6; }
13446 cat >>confdefs.h
<<_ACEOF
13447 #define SONAME_LIBOPENAL "$ac_cv_lib_soname_openal"
13450 OPENAL_LIBS
="-lopenal"
13452 ac_cv_lib_openal
=yes
13454 cat >>confdefs.h
<<_ACEOF
13455 #define HAVE_OPENAL 1
13460 if test "x$ac_cv_lib_openal" != xyes
; then :
13461 case "x$with_openal" in
13462 x
) as_fn_append wine_notices
"|libopenal ${notice_platform}development files not found (or too old), OpenAL won't be supported." ;;
13464 *) as_fn_error $?
"libopenal ${notice_platform}development files not found (or too old), OpenAL won't be supported.
13465 This is an error since --with-openal was requested." "$LINENO" 5 ;;
13468 test "x$ac_cv_lib_openal" = xyes || enable_openal32
=${enable_openal32:-no}
13470 if test "$ac_cv_header_kstat_h" = "yes"
13472 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for kstat_open in -lkstat" >&5
13473 $as_echo_n "checking for kstat_open in -lkstat... " >&6; }
13474 if ${ac_cv_lib_kstat_kstat_open+:} false
; then :
13475 $as_echo_n "(cached) " >&6
13477 ac_check_lib_save_LIBS
=$LIBS
13478 LIBS
="-lkstat $LIBS"
13479 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13480 /* end confdefs.h. */
13482 /* Override any GCC internal prototype to avoid an error.
13483 Use char because int might match the return type of a GCC
13484 builtin and then its argument prototype would still apply. */
13488 char kstat_open ();
13492 return kstat_open ();
13497 if ac_fn_c_try_link
"$LINENO"; then :
13498 ac_cv_lib_kstat_kstat_open
=yes
13500 ac_cv_lib_kstat_kstat_open
=no
13502 rm -f core conftest.err conftest.
$ac_objext \
13503 conftest
$ac_exeext conftest.
$ac_ext
13504 LIBS
=$ac_check_lib_save_LIBS
13506 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_kstat_kstat_open" >&5
13507 $as_echo "$ac_cv_lib_kstat_kstat_open" >&6; }
13508 if test "x$ac_cv_lib_kstat_kstat_open" = xyes
; then :
13510 $as_echo "#define HAVE_LIBKSTAT 1" >>confdefs.h
13512 KSTAT_LIBS
="-lkstat"
13518 if test "$ac_cv_header_libprocstat_h" = "yes"
13520 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for procstat_open_sysctl in -lprocstat" >&5
13521 $as_echo_n "checking for procstat_open_sysctl in -lprocstat... " >&6; }
13522 if ${ac_cv_lib_procstat_procstat_open_sysctl+:} false
; then :
13523 $as_echo_n "(cached) " >&6
13525 ac_check_lib_save_LIBS
=$LIBS
13526 LIBS
="-lprocstat $LIBS"
13527 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13528 /* end confdefs.h. */
13530 /* Override any GCC internal prototype to avoid an error.
13531 Use char because int might match the return type of a GCC
13532 builtin and then its argument prototype would still apply. */
13536 char procstat_open_sysctl ();
13540 return procstat_open_sysctl ();
13545 if ac_fn_c_try_link
"$LINENO"; then :
13546 ac_cv_lib_procstat_procstat_open_sysctl
=yes
13548 ac_cv_lib_procstat_procstat_open_sysctl
=no
13550 rm -f core conftest.err conftest.
$ac_objext \
13551 conftest
$ac_exeext conftest.
$ac_ext
13552 LIBS
=$ac_check_lib_save_LIBS
13554 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_procstat_procstat_open_sysctl" >&5
13555 $as_echo "$ac_cv_lib_procstat_procstat_open_sysctl" >&6; }
13556 if test "x$ac_cv_lib_procstat_procstat_open_sysctl" = xyes
; then :
13558 $as_echo "#define HAVE_LIBPROCSTAT 1" >>confdefs.h
13560 PROCSTAT_LIBS
="-lprocstat"
13566 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lodbc" >&5
13567 $as_echo_n "checking for -lodbc... " >&6; }
13568 if ${ac_cv_lib_soname_odbc+:} false
; then :
13569 $as_echo_n "(cached) " >&6
13571 ac_check_soname_save_LIBS
=$LIBS
13572 LIBS
="-lodbc $LIBS"
13573 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13574 /* end confdefs.h. */
13576 /* Override any GCC internal prototype to avoid an error.
13577 Use char because int might match the return type of a GCC
13578 builtin and then its argument prototype would still apply. */
13582 char SQLConnect ();
13586 return SQLConnect ();
13591 if ac_fn_c_try_link
"$LINENO"; then :
13593 dll
) ac_cv_lib_soname_odbc
=`$ac_cv_path_LDD conftest.exe | grep "odbc" | sed -e "s/dll.*/dll/"';2,$d'` ;;
13594 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'` ;;
13595 *) ac_cv_lib_soname_odbc
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libodbc\\.$LIBEXT" | sed -e "s/^.*\\[\\(libodbc\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
13596 if ${ac_cv_lib_soname_odbc:+false} :; then :
13597 ac_cv_lib_soname_odbc
=`$LDD conftest$ac_exeext | grep "libodbc\\.$LIBEXT" | sed -e "s/^.*\(libodbc\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
13601 rm -f core conftest.err conftest.
$ac_objext \
13602 conftest
$ac_exeext conftest.
$ac_ext
13603 LIBS
=$ac_check_soname_save_LIBS
13605 if ${ac_cv_lib_soname_odbc:+false} :; then :
13606 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13607 $as_echo "not found" >&6; }
13608 cat >>confdefs.h
<<_ACEOF
13609 #define SONAME_LIBODBC "libodbc.$LIBEXT"
13613 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_odbc" >&5
13614 $as_echo "$ac_cv_lib_soname_odbc" >&6; }
13616 cat >>confdefs.h
<<_ACEOF
13617 #define SONAME_LIBODBC "$ac_cv_lib_soname_odbc"
13623 if test "x$with_netapi" != "xno"
13625 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lnetapi" >&5
13626 $as_echo_n "checking for -lnetapi... " >&6; }
13627 if ${ac_cv_lib_soname_netapi+:} false
; then :
13628 $as_echo_n "(cached) " >&6
13630 ac_check_soname_save_LIBS
=$LIBS
13631 LIBS
="-lnetapi $LIBS"
13632 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13633 /* end confdefs.h. */
13635 /* Override any GCC internal prototype to avoid an error.
13636 Use char because int might match the return type of a GCC
13637 builtin and then its argument prototype would still apply. */
13641 char libnetapi_init ();
13645 return libnetapi_init ();
13650 if ac_fn_c_try_link
"$LINENO"; then :
13652 dll
) ac_cv_lib_soname_netapi
=`$ac_cv_path_LDD conftest.exe | grep "netapi" | sed -e "s/dll.*/dll/"';2,$d'` ;;
13653 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'` ;;
13654 *) ac_cv_lib_soname_netapi
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libnetapi\\.$LIBEXT" | sed -e "s/^.*\\[\\(libnetapi\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
13655 if ${ac_cv_lib_soname_netapi:+false} :; then :
13656 ac_cv_lib_soname_netapi
=`$LDD conftest$ac_exeext | grep "libnetapi\\.$LIBEXT" | sed -e "s/^.*\(libnetapi\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
13660 rm -f core conftest.err conftest.
$ac_objext \
13661 conftest
$ac_exeext conftest.
$ac_ext
13662 LIBS
=$ac_check_soname_save_LIBS
13664 if ${ac_cv_lib_soname_netapi:+false} :; then :
13665 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13666 $as_echo "not found" >&6; }
13667 cat >>confdefs.h
<<_ACEOF
13668 #define SONAME_LIBNETAPI "libnetapi.$LIBEXT"
13672 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_netapi" >&5
13673 $as_echo "$ac_cv_lib_soname_netapi" >&6; }
13675 cat >>confdefs.h
<<_ACEOF
13676 #define SONAME_LIBNETAPI "$ac_cv_lib_soname_netapi"
13683 test -n "$ALSA_LIBS" || enable_winealsa_drv
=${enable_winealsa_drv:-no}
13684 test -n "$COREAUDIO_LIBS" || enable_winecoreaudio_drv
=${enable_winecoreaudio_drv:-no}
13685 test "x$ac_cv_member_oss_sysinfo_numaudioengines" = xyes || enable_wineoss_drv
=${enable_wineoss_drv:-no}
13686 test "$ac_cv_header_linux_joystick_h" = "yes" || enable_winejoystick_drv
=${enable_winejoystick_drv:-no}
13688 if test "x$ALSA_LIBS$COREAUDIO_LIBS" = "x" -a \
13689 "x$ac_cv_member_oss_sysinfo_numaudioengines" != xyes
-a \
13690 "x$with_alsa$with_coreaudio$with_oss" != xnonono
13692 as_fn_append wine_warnings
"|No sound system was found. Windows applications will be silent."
13698 if test "x${GCC}" = "xyes"
13700 EXTRACFLAGS
="-Wall -pipe"
13702 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gcc strength-reduce bug" >&5
13703 $as_echo_n "checking for gcc strength-reduce bug... " >&6; }
13704 if ${ac_cv_c_gcc_strength_bug+:} false
; then :
13705 $as_echo_n "(cached) " >&6
13707 if test "$cross_compiling" = yes; then :
13708 ac_cv_c_gcc_strength_bug
="yes"
13710 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13711 /* end confdefs.h. */
13712 int L[4] = {0,1,2,3};
13716 static int Array[3];
13717 unsigned int B = 3;
13719 for(i=0; i<B; i++) Array[i] = i - 3;
13720 for(i=0; i<4 - 1; i++) L[i] = L[i + 1];
13722 return (Array[1] != -2 || L[2] != 3)
13727 if ac_fn_c_try_run
"$LINENO"; then :
13728 ac_cv_c_gcc_strength_bug
="no"
13730 ac_cv_c_gcc_strength_bug
="yes"
13732 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext \
13733 conftest.
$ac_objext conftest.beam conftest.
$ac_ext
13737 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_gcc_strength_bug" >&5
13738 $as_echo "$ac_cv_c_gcc_strength_bug" >&6; }
13739 if test "$ac_cv_c_gcc_strength_bug" = "yes"
13741 EXTRACFLAGS
="$EXTRACFLAGS -fno-strength-reduce"
13744 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fno-builtin" >&5
13745 $as_echo_n "checking whether the compiler supports -fno-builtin... " >&6; }
13746 if ${ac_cv_cflags__fno_builtin+:} false
; then :
13747 $as_echo_n "(cached) " >&6
13749 ac_wine_try_cflags_saved
=$CFLAGS
13750 CFLAGS
="$CFLAGS -fno-builtin"
13751 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13752 /* end confdefs.h. */
13753 int main(int argc, char **argv) { return 0; }
13755 if ac_fn_c_try_link
"$LINENO"; then :
13756 ac_cv_cflags__fno_builtin
=yes
13758 ac_cv_cflags__fno_builtin
=no
13760 rm -f core conftest.err conftest.
$ac_objext \
13761 conftest
$ac_exeext conftest.
$ac_ext
13762 CFLAGS
=$ac_wine_try_cflags_saved
13764 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fno_builtin" >&5
13765 $as_echo "$ac_cv_cflags__fno_builtin" >&6; }
13766 if test "x$ac_cv_cflags__fno_builtin" = xyes
; then :
13767 BUILTINFLAG
="-fno-builtin"
13770 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fno-strict-aliasing" >&5
13771 $as_echo_n "checking whether the compiler supports -fno-strict-aliasing... " >&6; }
13772 if ${ac_cv_cflags__fno_strict_aliasing+:} false
; then :
13773 $as_echo_n "(cached) " >&6
13775 ac_wine_try_cflags_saved
=$CFLAGS
13776 CFLAGS
="$CFLAGS -fno-strict-aliasing"
13777 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13778 /* end confdefs.h. */
13779 int main(int argc, char **argv) { return 0; }
13781 if ac_fn_c_try_link
"$LINENO"; then :
13782 ac_cv_cflags__fno_strict_aliasing
=yes
13784 ac_cv_cflags__fno_strict_aliasing
=no
13786 rm -f core conftest.err conftest.
$ac_objext \
13787 conftest
$ac_exeext conftest.
$ac_ext
13788 CFLAGS
=$ac_wine_try_cflags_saved
13790 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fno_strict_aliasing" >&5
13791 $as_echo "$ac_cv_cflags__fno_strict_aliasing" >&6; }
13792 if test "x$ac_cv_cflags__fno_strict_aliasing" = xyes
; then :
13793 EXTRACFLAGS
="$EXTRACFLAGS -fno-strict-aliasing"
13795 saved_CFLAGS
=$CFLAGS
13796 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Werror=unknown-warning-option" >&5
13797 $as_echo_n "checking whether the compiler supports -Werror=unknown-warning-option... " >&6; }
13798 if ${ac_cv_cflags__Werror_unknown_warning_option+:} false
; then :
13799 $as_echo_n "(cached) " >&6
13801 ac_wine_try_cflags_saved
=$CFLAGS
13802 CFLAGS
="$CFLAGS -Werror=unknown-warning-option"
13803 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13804 /* end confdefs.h. */
13805 int main(int argc, char **argv) { return 0; }
13807 if ac_fn_c_try_link
"$LINENO"; then :
13808 ac_cv_cflags__Werror_unknown_warning_option
=yes
13810 ac_cv_cflags__Werror_unknown_warning_option
=no
13812 rm -f core conftest.err conftest.
$ac_objext \
13813 conftest
$ac_exeext conftest.
$ac_ext
13814 CFLAGS
=$ac_wine_try_cflags_saved
13816 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Werror_unknown_warning_option" >&5
13817 $as_echo "$ac_cv_cflags__Werror_unknown_warning_option" >&6; }
13818 if test "x$ac_cv_cflags__Werror_unknown_warning_option" = xyes
; then :
13819 CFLAGS
="$CFLAGS -Werror=unknown-warning-option"
13821 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wdeclaration-after-statement" >&5
13822 $as_echo_n "checking whether the compiler supports -Wdeclaration-after-statement... " >&6; }
13823 if ${ac_cv_cflags__Wdeclaration_after_statement+:} false
; then :
13824 $as_echo_n "(cached) " >&6
13826 ac_wine_try_cflags_saved
=$CFLAGS
13827 CFLAGS
="$CFLAGS -Wdeclaration-after-statement"
13828 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13829 /* end confdefs.h. */
13830 int main(int argc, char **argv) { return 0; }
13832 if ac_fn_c_try_link
"$LINENO"; then :
13833 ac_cv_cflags__Wdeclaration_after_statement
=yes
13835 ac_cv_cflags__Wdeclaration_after_statement
=no
13837 rm -f core conftest.err conftest.
$ac_objext \
13838 conftest
$ac_exeext conftest.
$ac_ext
13839 CFLAGS
=$ac_wine_try_cflags_saved
13841 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wdeclaration_after_statement" >&5
13842 $as_echo "$ac_cv_cflags__Wdeclaration_after_statement" >&6; }
13843 if test "x$ac_cv_cflags__Wdeclaration_after_statement" = xyes
; then :
13844 EXTRACFLAGS
="$EXTRACFLAGS -Wdeclaration-after-statement"
13846 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wempty-body" >&5
13847 $as_echo_n "checking whether the compiler supports -Wempty-body... " >&6; }
13848 if ${ac_cv_cflags__Wempty_body+:} false
; then :
13849 $as_echo_n "(cached) " >&6
13851 ac_wine_try_cflags_saved
=$CFLAGS
13852 CFLAGS
="$CFLAGS -Wempty-body"
13853 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13854 /* end confdefs.h. */
13855 int main(int argc, char **argv) { return 0; }
13857 if ac_fn_c_try_link
"$LINENO"; then :
13858 ac_cv_cflags__Wempty_body
=yes
13860 ac_cv_cflags__Wempty_body
=no
13862 rm -f core conftest.err conftest.
$ac_objext \
13863 conftest
$ac_exeext conftest.
$ac_ext
13864 CFLAGS
=$ac_wine_try_cflags_saved
13866 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wempty_body" >&5
13867 $as_echo "$ac_cv_cflags__Wempty_body" >&6; }
13868 if test "x$ac_cv_cflags__Wempty_body" = xyes
; then :
13869 EXTRACFLAGS
="$EXTRACFLAGS -Wempty-body"
13871 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wignored-qualifiers" >&5
13872 $as_echo_n "checking whether the compiler supports -Wignored-qualifiers... " >&6; }
13873 if ${ac_cv_cflags__Wignored_qualifiers+:} false
; then :
13874 $as_echo_n "(cached) " >&6
13876 ac_wine_try_cflags_saved
=$CFLAGS
13877 CFLAGS
="$CFLAGS -Wignored-qualifiers"
13878 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13879 /* end confdefs.h. */
13880 int main(int argc, char **argv) { return 0; }
13882 if ac_fn_c_try_link
"$LINENO"; then :
13883 ac_cv_cflags__Wignored_qualifiers
=yes
13885 ac_cv_cflags__Wignored_qualifiers
=no
13887 rm -f core conftest.err conftest.
$ac_objext \
13888 conftest
$ac_exeext conftest.
$ac_ext
13889 CFLAGS
=$ac_wine_try_cflags_saved
13891 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wignored_qualifiers" >&5
13892 $as_echo "$ac_cv_cflags__Wignored_qualifiers" >&6; }
13893 if test "x$ac_cv_cflags__Wignored_qualifiers" = xyes
; then :
13894 EXTRACFLAGS
="$EXTRACFLAGS -Wignored-qualifiers"
13896 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wstrict-prototypes" >&5
13897 $as_echo_n "checking whether the compiler supports -Wstrict-prototypes... " >&6; }
13898 if ${ac_cv_cflags__Wstrict_prototypes+:} false
; then :
13899 $as_echo_n "(cached) " >&6
13901 ac_wine_try_cflags_saved
=$CFLAGS
13902 CFLAGS
="$CFLAGS -Wstrict-prototypes"
13903 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13904 /* end confdefs.h. */
13905 int main(int argc, char **argv) { return 0; }
13907 if ac_fn_c_try_link
"$LINENO"; then :
13908 ac_cv_cflags__Wstrict_prototypes
=yes
13910 ac_cv_cflags__Wstrict_prototypes
=no
13912 rm -f core conftest.err conftest.
$ac_objext \
13913 conftest
$ac_exeext conftest.
$ac_ext
13914 CFLAGS
=$ac_wine_try_cflags_saved
13916 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wstrict_prototypes" >&5
13917 $as_echo "$ac_cv_cflags__Wstrict_prototypes" >&6; }
13918 if test "x$ac_cv_cflags__Wstrict_prototypes" = xyes
; then :
13919 EXTRACFLAGS
="$EXTRACFLAGS -Wstrict-prototypes"
13921 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wtype-limits" >&5
13922 $as_echo_n "checking whether the compiler supports -Wtype-limits... " >&6; }
13923 if ${ac_cv_cflags__Wtype_limits+:} false
; then :
13924 $as_echo_n "(cached) " >&6
13926 ac_wine_try_cflags_saved
=$CFLAGS
13927 CFLAGS
="$CFLAGS -Wtype-limits"
13928 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13929 /* end confdefs.h. */
13930 int main(int argc, char **argv) { return 0; }
13932 if ac_fn_c_try_link
"$LINENO"; then :
13933 ac_cv_cflags__Wtype_limits
=yes
13935 ac_cv_cflags__Wtype_limits
=no
13937 rm -f core conftest.err conftest.
$ac_objext \
13938 conftest
$ac_exeext conftest.
$ac_ext
13939 CFLAGS
=$ac_wine_try_cflags_saved
13941 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wtype_limits" >&5
13942 $as_echo "$ac_cv_cflags__Wtype_limits" >&6; }
13943 if test "x$ac_cv_cflags__Wtype_limits" = xyes
; then :
13944 EXTRACFLAGS
="$EXTRACFLAGS -Wtype-limits"
13946 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wunused-but-set-parameter" >&5
13947 $as_echo_n "checking whether the compiler supports -Wunused-but-set-parameter... " >&6; }
13948 if ${ac_cv_cflags__Wunused_but_set_parameter+:} false
; then :
13949 $as_echo_n "(cached) " >&6
13951 ac_wine_try_cflags_saved
=$CFLAGS
13952 CFLAGS
="$CFLAGS -Wunused-but-set-parameter"
13953 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13954 /* end confdefs.h. */
13955 int main(int argc, char **argv) { return 0; }
13957 if ac_fn_c_try_link
"$LINENO"; then :
13958 ac_cv_cflags__Wunused_but_set_parameter
=yes
13960 ac_cv_cflags__Wunused_but_set_parameter
=no
13962 rm -f core conftest.err conftest.
$ac_objext \
13963 conftest
$ac_exeext conftest.
$ac_ext
13964 CFLAGS
=$ac_wine_try_cflags_saved
13966 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wunused_but_set_parameter" >&5
13967 $as_echo "$ac_cv_cflags__Wunused_but_set_parameter" >&6; }
13968 if test "x$ac_cv_cflags__Wunused_but_set_parameter" = xyes
; then :
13969 EXTRACFLAGS
="$EXTRACFLAGS -Wunused-but-set-parameter"
13971 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wvla" >&5
13972 $as_echo_n "checking whether the compiler supports -Wvla... " >&6; }
13973 if ${ac_cv_cflags__Wvla+:} false
; then :
13974 $as_echo_n "(cached) " >&6
13976 ac_wine_try_cflags_saved
=$CFLAGS
13977 CFLAGS
="$CFLAGS -Wvla"
13978 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13979 /* end confdefs.h. */
13980 int main(int argc, char **argv) { return 0; }
13982 if ac_fn_c_try_link
"$LINENO"; then :
13983 ac_cv_cflags__Wvla
=yes
13985 ac_cv_cflags__Wvla
=no
13987 rm -f core conftest.err conftest.
$ac_objext \
13988 conftest
$ac_exeext conftest.
$ac_ext
13989 CFLAGS
=$ac_wine_try_cflags_saved
13991 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wvla" >&5
13992 $as_echo "$ac_cv_cflags__Wvla" >&6; }
13993 if test "x$ac_cv_cflags__Wvla" = xyes
; then :
13994 EXTRACFLAGS
="$EXTRACFLAGS -Wvla"
13996 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wwrite-strings" >&5
13997 $as_echo_n "checking whether the compiler supports -Wwrite-strings... " >&6; }
13998 if ${ac_cv_cflags__Wwrite_strings+:} false
; then :
13999 $as_echo_n "(cached) " >&6
14001 ac_wine_try_cflags_saved
=$CFLAGS
14002 CFLAGS
="$CFLAGS -Wwrite-strings"
14003 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14004 /* end confdefs.h. */
14005 int main(int argc, char **argv) { return 0; }
14007 if ac_fn_c_try_link
"$LINENO"; then :
14008 ac_cv_cflags__Wwrite_strings
=yes
14010 ac_cv_cflags__Wwrite_strings
=no
14012 rm -f core conftest.err conftest.
$ac_objext \
14013 conftest
$ac_exeext conftest.
$ac_ext
14014 CFLAGS
=$ac_wine_try_cflags_saved
14016 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wwrite_strings" >&5
14017 $as_echo "$ac_cv_cflags__Wwrite_strings" >&6; }
14018 if test "x$ac_cv_cflags__Wwrite_strings" = xyes
; then :
14019 EXTRACFLAGS
="$EXTRACFLAGS -Wwrite-strings"
14022 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wpointer-arith" >&5
14023 $as_echo_n "checking whether the compiler supports -Wpointer-arith... " >&6; }
14024 if ${ac_cv_cflags__Wpointer_arith+:} false
; then :
14025 $as_echo_n "(cached) " >&6
14027 ac_wine_try_cflags_saved
=$CFLAGS
14028 CFLAGS
="$CFLAGS -Wpointer-arith"
14029 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14030 /* end confdefs.h. */
14031 int main(int argc, char **argv) { return 0; }
14033 if ac_fn_c_try_link
"$LINENO"; then :
14034 ac_cv_cflags__Wpointer_arith
=yes
14036 ac_cv_cflags__Wpointer_arith
=no
14038 rm -f core conftest.err conftest.
$ac_objext \
14039 conftest
$ac_exeext conftest.
$ac_ext
14040 CFLAGS
=$ac_wine_try_cflags_saved
14042 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wpointer_arith" >&5
14043 $as_echo "$ac_cv_cflags__Wpointer_arith" >&6; }
14044 if test "x$ac_cv_cflags__Wpointer_arith" = xyes
; then :
14045 saved_string_h_CFLAGS
=$CFLAGS
14046 CFLAGS
="$CFLAGS -Wpointer-arith -Werror"
14047 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for broken string.h that generates warnings with -Wpointer-arith" >&5
14048 $as_echo_n "checking for broken string.h that generates warnings with -Wpointer-arith... " >&6; }
14049 if ${ac_cv_c_string_h_warnings+:} false
; then :
14050 $as_echo_n "(cached) " >&6
14052 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14053 /* end confdefs.h. */
14054 #include <string.h>
14063 if ac_fn_c_try_compile
"$LINENO"; then :
14064 ac_cv_c_string_h_warnings
=no
14066 ac_cv_c_string_h_warnings
=yes
14068 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
14070 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_string_h_warnings" >&5
14071 $as_echo "$ac_cv_c_string_h_warnings" >&6; }
14072 test "$ac_cv_c_string_h_warnings" = yes || EXTRACFLAGS
="$EXTRACFLAGS -Wpointer-arith"
14073 CFLAGS
=$saved_string_h_CFLAGS
14076 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wlogical-op" >&5
14077 $as_echo_n "checking whether the compiler supports -Wlogical-op... " >&6; }
14078 if ${ac_cv_cflags__Wlogical_op+:} false
; then :
14079 $as_echo_n "(cached) " >&6
14081 ac_wine_try_cflags_saved
=$CFLAGS
14082 CFLAGS
="$CFLAGS -Wlogical-op"
14083 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14084 /* end confdefs.h. */
14085 int main(int argc, char **argv) { return 0; }
14087 if ac_fn_c_try_link
"$LINENO"; then :
14088 ac_cv_cflags__Wlogical_op
=yes
14090 ac_cv_cflags__Wlogical_op
=no
14092 rm -f core conftest.err conftest.
$ac_objext \
14093 conftest
$ac_exeext conftest.
$ac_ext
14094 CFLAGS
=$ac_wine_try_cflags_saved
14096 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wlogical_op" >&5
14097 $as_echo "$ac_cv_cflags__Wlogical_op" >&6; }
14098 if test "x$ac_cv_cflags__Wlogical_op" = xyes
; then :
14099 saved_string_h_CFLAGS
=$CFLAGS
14100 CFLAGS
="$CFLAGS -Wlogical-op -Werror"
14101 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for broken string.h that generates warnings with -Wlogical-op" >&5
14102 $as_echo_n "checking for broken string.h that generates warnings with -Wlogical-op... " >&6; }
14103 if ${ac_cv_c_logicalop_noisy+:} false
; then :
14104 $as_echo_n "(cached) " >&6
14106 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14107 /* end confdefs.h. */
14108 #include <string.h>
14109 char*f(const char *h,char n) {return strchr(h,n);}
14118 if ac_fn_c_try_compile
"$LINENO"; then :
14119 ac_cv_c_logicalop_noisy
=no
14121 ac_cv_c_logicalop_noisy
=yes
14123 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
14125 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_logicalop_noisy" >&5
14126 $as_echo "$ac_cv_c_logicalop_noisy" >&6; }
14127 CFLAGS
=$saved_string_h_CFLAGS
14128 test "$ac_cv_c_logicalop_noisy" = yes || EXTRACFLAGS
="$EXTRACFLAGS -Wlogical-op"
14131 CFLAGS
=$saved_CFLAGS
14133 for ac_flag
in $CFLAGS; do
14135 -g) case $host_os in
14136 darwin
*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -gstabs+" >&5
14137 $as_echo_n "checking whether the compiler supports -gstabs+... " >&6; }
14138 if ${ac_cv_cflags__gstabsp+:} false
; then :
14139 $as_echo_n "(cached) " >&6
14141 ac_wine_try_cflags_saved
=$CFLAGS
14142 CFLAGS
="$CFLAGS -gstabs+"
14143 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14144 /* end confdefs.h. */
14145 int main(int argc, char **argv) { return 0; }
14147 if ac_fn_c_try_link
"$LINENO"; then :
14148 ac_cv_cflags__gstabsp
=yes
14150 ac_cv_cflags__gstabsp
=no
14152 rm -f core conftest.err conftest.
$ac_objext \
14153 conftest
$ac_exeext conftest.
$ac_ext
14154 CFLAGS
=$ac_wine_try_cflags_saved
14156 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__gstabsp" >&5
14157 $as_echo "$ac_cv_cflags__gstabsp" >&6; }
14158 if test "x$ac_cv_cflags__gstabsp" = xyes
; then :
14159 EXTRACFLAGS
="$EXTRACFLAGS -gstabs+"
14161 *) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -gdwarf-2" >&5
14162 $as_echo_n "checking whether the compiler supports -gdwarf-2... " >&6; }
14163 if ${ac_cv_cflags__gdwarf_2+:} false
; then :
14164 $as_echo_n "(cached) " >&6
14166 ac_wine_try_cflags_saved
=$CFLAGS
14167 CFLAGS
="$CFLAGS -gdwarf-2"
14168 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14169 /* end confdefs.h. */
14170 int main(int argc, char **argv) { return 0; }
14172 if ac_fn_c_try_link
"$LINENO"; then :
14173 ac_cv_cflags__gdwarf_2
=yes
14175 ac_cv_cflags__gdwarf_2
=no
14177 rm -f core conftest.err conftest.
$ac_objext \
14178 conftest
$ac_exeext conftest.
$ac_ext
14179 CFLAGS
=$ac_wine_try_cflags_saved
14181 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__gdwarf_2" >&5
14182 $as_echo "$ac_cv_cflags__gdwarf_2" >&6; }
14183 if test "x$ac_cv_cflags__gdwarf_2" = xyes
; then :
14184 EXTRACFLAGS
="$EXTRACFLAGS -gdwarf-2"
14186 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -gstrict-dwarf" >&5
14187 $as_echo_n "checking whether the compiler supports -gstrict-dwarf... " >&6; }
14188 if ${ac_cv_cflags__gstrict_dwarf+:} false
; then :
14189 $as_echo_n "(cached) " >&6
14191 ac_wine_try_cflags_saved
=$CFLAGS
14192 CFLAGS
="$CFLAGS -gstrict-dwarf"
14193 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14194 /* end confdefs.h. */
14195 int main(int argc, char **argv) { return 0; }
14197 if ac_fn_c_try_link
"$LINENO"; then :
14198 ac_cv_cflags__gstrict_dwarf
=yes
14200 ac_cv_cflags__gstrict_dwarf
=no
14202 rm -f core conftest.err conftest.
$ac_objext \
14203 conftest
$ac_exeext conftest.
$ac_ext
14204 CFLAGS
=$ac_wine_try_cflags_saved
14206 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__gstrict_dwarf" >&5
14207 $as_echo "$ac_cv_cflags__gstrict_dwarf" >&6; }
14208 if test "x$ac_cv_cflags__gstrict_dwarf" = xyes
; then :
14209 EXTRACFLAGS
="$EXTRACFLAGS -gstrict-dwarf"
14216 *i
[3456789]86*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fno-omit-frame-pointer" >&5
14217 $as_echo_n "checking whether the compiler supports -fno-omit-frame-pointer... " >&6; }
14218 if ${ac_cv_cflags__fno_omit_frame_pointer+:} false
; then :
14219 $as_echo_n "(cached) " >&6
14221 ac_wine_try_cflags_saved
=$CFLAGS
14222 CFLAGS
="$CFLAGS -fno-omit-frame-pointer"
14223 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14224 /* end confdefs.h. */
14225 int main(int argc, char **argv) { return 0; }
14227 if ac_fn_c_try_link
"$LINENO"; then :
14228 ac_cv_cflags__fno_omit_frame_pointer
=yes
14230 ac_cv_cflags__fno_omit_frame_pointer
=no
14232 rm -f core conftest.err conftest.
$ac_objext \
14233 conftest
$ac_exeext conftest.
$ac_ext
14234 CFLAGS
=$ac_wine_try_cflags_saved
14236 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fno_omit_frame_pointer" >&5
14237 $as_echo "$ac_cv_cflags__fno_omit_frame_pointer" >&6; }
14238 if test "x$ac_cv_cflags__fno_omit_frame_pointer" = xyes
; then :
14239 EXTRACFLAGS
="$EXTRACFLAGS -fno-omit-frame-pointer"
14244 x86_64-
*mingw32
*|x86_64-
*cygwin
*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wno-format" >&5
14245 $as_echo_n "checking whether the compiler supports -Wno-format... " >&6; }
14246 if ${ac_cv_cflags__Wno_format+:} false
; then :
14247 $as_echo_n "(cached) " >&6
14249 ac_wine_try_cflags_saved
=$CFLAGS
14250 CFLAGS
="$CFLAGS -Wno-format"
14251 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14252 /* end confdefs.h. */
14253 int main(int argc, char **argv) { return 0; }
14255 if ac_fn_c_try_link
"$LINENO"; then :
14256 ac_cv_cflags__Wno_format
=yes
14258 ac_cv_cflags__Wno_format
=no
14260 rm -f core conftest.err conftest.
$ac_objext \
14261 conftest
$ac_exeext conftest.
$ac_ext
14262 CFLAGS
=$ac_wine_try_cflags_saved
14264 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wno_format" >&5
14265 $as_echo "$ac_cv_cflags__Wno_format" >&6; }
14266 if test "x$ac_cv_cflags__Wno_format" = xyes
; then :
14267 EXTRACFLAGS
="$EXTRACFLAGS -Wno-format"
14271 if test "x$enable_maintainer_mode" = "xyes"
14273 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Werror" >&5
14274 $as_echo_n "checking whether the compiler supports -Werror... " >&6; }
14275 if ${ac_cv_cflags__Werror+:} false
; then :
14276 $as_echo_n "(cached) " >&6
14278 ac_wine_try_cflags_saved
=$CFLAGS
14279 CFLAGS
="$CFLAGS -Werror"
14280 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14281 /* end confdefs.h. */
14282 int main(int argc, char **argv) { return 0; }
14284 if ac_fn_c_try_link
"$LINENO"; then :
14285 ac_cv_cflags__Werror
=yes
14287 ac_cv_cflags__Werror
=no
14289 rm -f core conftest.err conftest.
$ac_objext \
14290 conftest
$ac_exeext conftest.
$ac_ext
14291 CFLAGS
=$ac_wine_try_cflags_saved
14293 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Werror" >&5
14294 $as_echo "$ac_cv_cflags__Werror" >&6; }
14295 if test "x$ac_cv_cflags__Werror" = xyes
; then :
14296 EXTRACFLAGS
="$EXTRACFLAGS -Werror"
14300 saved_CFLAGS
="$CFLAGS"
14301 CFLAGS
="$CFLAGS -Werror"
14302 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ms_hook_prologue attribute" >&5
14303 $as_echo_n "checking for ms_hook_prologue attribute... " >&6; }
14304 if ${ac_cv_have_ms_hook_prologue+:} false
; then :
14305 $as_echo_n "(cached) " >&6
14307 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14308 /* end confdefs.h. */
14309 int __attribute__((__ms_hook_prologue__)) test(void) { return 0; }
14318 if ac_fn_c_try_compile
"$LINENO"; then :
14319 ac_cv_have_ms_hook_prologue
="yes"
14321 ac_cv_have_ms_hook_prologue
="no"
14323 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
14325 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_ms_hook_prologue" >&5
14326 $as_echo "$ac_cv_have_ms_hook_prologue" >&6; }
14327 CFLAGS
="$saved_CFLAGS"
14328 if test "$ac_cv_have_ms_hook_prologue" = "yes"
14331 $as_echo "#define DECLSPEC_HOTPATCH __attribute__((__ms_hook_prologue__))" >>confdefs.h
14334 $as_echo "#define DECLSPEC_HOTPATCH /* */" >>confdefs.h
14340 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for the need to disable Fortify" >&5
14341 $as_echo_n "checking for the need to disable Fortify... " >&6; }
14342 if ${ac_cv_c_fortify_enabled+:} false
; then :
14343 $as_echo_n "(cached) " >&6
14345 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14346 /* end confdefs.h. */
14347 #include <string.h>
14351 #if defined(__USE_FORTIFY_LEVEL) && __USE_FORTIFY_LEVEL > 0
14352 #error Fortify enabled
14358 if ac_fn_c_try_compile
"$LINENO"; then :
14359 ac_cv_c_fortify_enabled
=no
14361 ac_cv_c_fortify_enabled
=yes
14363 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
14365 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_fortify_enabled" >&5
14366 $as_echo "$ac_cv_c_fortify_enabled" >&6; }
14367 if test "$ac_cv_c_fortify_enabled" = yes
14369 CFLAGS
="$CFLAGS -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=0"
14373 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether external symbols need an underscore prefix" >&5
14374 $as_echo_n "checking whether external symbols need an underscore prefix... " >&6; }
14375 if ${ac_cv_c_extern_prefix+:} false
; then :
14376 $as_echo_n "(cached) " >&6
14378 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14379 /* end confdefs.h. */
14380 extern int ac_test;
14384 asm(".globl _ac_test\n_ac_test:\t.long 0"); if (ac_test) return 1
14389 if ac_fn_c_try_link
"$LINENO"; then :
14390 ac_cv_c_extern_prefix
="yes"
14392 ac_cv_c_extern_prefix
="no"
14394 rm -f core conftest.err conftest.
$ac_objext \
14395 conftest
$ac_exeext conftest.
$ac_ext
14397 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_extern_prefix" >&5
14398 $as_echo "$ac_cv_c_extern_prefix" >&6; }
14402 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether external symbols need stdcall decoration" >&5
14403 $as_echo_n "checking whether external symbols need stdcall decoration... " >&6; }
14404 if ${ac_cv_c_stdcall_suffix+:} false
; then :
14405 $as_echo_n "(cached) " >&6
14407 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14408 /* end confdefs.h. */
14410 #define __stdcall __attribute__((__stdcall__))
14412 int __stdcall ac_test(int i) { return i; }
14416 asm("jmp _ac_test@4"); if (ac_test(1)) return 1
14421 if ac_fn_c_try_link
"$LINENO"; then :
14422 ac_cv_c_stdcall_suffix
="yes"
14424 ac_cv_c_stdcall_suffix
="no"
14426 rm -f core conftest.err conftest.
$ac_objext \
14427 conftest
$ac_exeext conftest.
$ac_ext
14429 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_stdcall_suffix" >&5
14430 $as_echo "$ac_cv_c_stdcall_suffix" >&6; } ;;
14431 *) ac_cv_c_stdcall_suffix
="no" ;;
14435 if test "$ac_cv_c_extern_prefix" = "yes"
14437 $as_echo "#define __ASM_NAME(name) \"_\" name" >>confdefs.h
14439 asm_name_prefix
="_"
14441 $as_echo "#define __ASM_NAME(name) name" >>confdefs.h
14447 if test "$ac_cv_c_stdcall_suffix" = "yes"
14449 $as_echo "#define __ASM_STDCALL(args) \"@\" #args" >>confdefs.h
14452 $as_echo "#define __ASM_STDCALL(args) \"\"" >>confdefs.h
14457 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to define a function in assembly code" >&5
14458 $as_echo_n "checking how to define a function in assembly code... " >&6; }
14459 if ${ac_cv_asm_func_def+:} false
; then :
14460 $as_echo_n "(cached) " >&6
14462 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14463 /* end confdefs.h. */
14468 asm("\t.globl _ac_test\n\t.def _ac_test; .scl 2; .type 32; .endef\n_ac_test:\t.long 0");
14473 if ac_fn_c_try_link
"$LINENO"; then :
14474 ac_cv_asm_func_def
=".def"
14476 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14477 /* end confdefs.h. */
14482 asm("\t.globl _ac_test\n\t.type _ac_test,@function\n_ac_test:\t.long 0");
14487 if ac_fn_c_try_link
"$LINENO"; then :
14488 ac_cv_asm_func_def
=".type @function"
14490 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14491 /* end confdefs.h. */
14496 asm("\t.globl _ac_test\n\t.type _ac_test,2\n_ac_test:\t.long 0");
14501 if ac_fn_c_try_link
"$LINENO"; then :
14502 ac_cv_asm_func_def
=".type 2"
14504 ac_cv_asm_func_def
="unknown"
14506 rm -f core conftest.err conftest.
$ac_objext \
14507 conftest
$ac_exeext conftest.
$ac_ext
14509 rm -f core conftest.err conftest.
$ac_objext \
14510 conftest
$ac_exeext conftest.
$ac_ext
14512 rm -f core conftest.err conftest.
$ac_objext \
14513 conftest
$ac_exeext conftest.
$ac_ext
14515 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_asm_func_def" >&5
14516 $as_echo "$ac_cv_asm_func_def" >&6; }
14519 case "$ac_cv_asm_func_def" in
14521 $as_echo "#define __ASM_FUNC(name) \".def \" __ASM_NAME(name) \"; .scl 2; .type 32; .endef\"" >>confdefs.h
14523 asm_func_header
=".def $asm_name_prefix\" #name suffix \"; .scl 2; .type 32; .endef" ;;
14525 $as_echo "#define __ASM_FUNC(name) \".type \" __ASM_NAME(name) \",@function\"" >>confdefs.h
14527 asm_func_header
=".type $asm_name_prefix\" #name suffix \",@function" ;;
14529 $as_echo "#define __ASM_FUNC(name) \".type \" __ASM_NAME(name) \",2\"" >>confdefs.h
14531 asm_func_header
=".type $asm_name_prefix\" #name suffix \",2" ;;
14533 $as_echo "#define __ASM_FUNC(name) \"\"" >>confdefs.h
14535 asm_func_header
="" ;;
14538 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether asm() works outside of functions" >&5
14539 $as_echo_n "checking whether asm() works outside of functions... " >&6; }
14540 if ${ac_cv_c_asm_outside_funcs+:} false
; then :
14541 $as_echo_n "(cached) " >&6
14543 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14544 /* end confdefs.h. */
14545 asm(".text\n\t.long 0");
14554 if ac_fn_c_try_compile
"$LINENO"; then :
14555 ac_cv_c_asm_outside_funcs
="yes"
14557 ac_cv_c_asm_outside_funcs
="no"
14559 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
14561 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_asm_outside_funcs" >&5
14562 $as_echo "$ac_cv_c_asm_outside_funcs" >&6; }
14564 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether .previous is supported in assembly code" >&5
14565 $as_echo_n "checking whether .previous is supported in assembly code... " >&6; }
14566 if ${ac_cv_c_dot_previous+:} false
; then :
14567 $as_echo_n "(cached) " >&6
14569 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14570 /* end confdefs.h. */
14575 asm(".text\nac_test:\t.long 0\n\t.previous");
14580 if ac_fn_c_try_link
"$LINENO"; then :
14581 ac_cv_c_dot_previous
="yes"
14583 ac_cv_c_dot_previous
="no"
14585 rm -f core conftest.err conftest.
$ac_objext \
14586 conftest
$ac_exeext conftest.
$ac_ext
14588 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_dot_previous" >&5
14589 $as_echo "$ac_cv_c_dot_previous" >&6; }
14591 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether CFI directives are supported in assembly code" >&5
14592 $as_echo_n "checking whether CFI directives are supported in assembly code... " >&6; }
14593 if ${ac_cv_c_cfi_support+:} false
; then :
14594 $as_echo_n "(cached) " >&6
14596 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14597 /* end confdefs.h. */
14598 asm(".text\nac_test:\t.cfi_startproc\n\t.long 0\n\t.cfi_endproc");
14607 if ac_fn_c_try_compile
"$LINENO"; then :
14608 ac_cv_c_cfi_support
="yes"
14610 ac_cv_c_cfi_support
="no"
14612 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
14614 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_cfi_support" >&5
14615 $as_echo "$ac_cv_c_cfi_support" >&6; }
14617 asm_func_header
=".globl $asm_name_prefix\" #name suffix \"\\n\\t$asm_func_header\\n$asm_name_prefix\" #name suffix \":\\n\\t"
14618 asm_func_trailer
=""
14619 if test "$ac_cv_c_dot_previous" = "yes"
14621 asm_func_trailer
="\\n\\t.previous"
14623 if test "$ac_cv_c_cfi_support" = "yes"
14625 asm_func_header
="$asm_func_header.cfi_startproc\\n\\t"
14626 asm_func_trailer
="\\n\\t.cfi_endproc$asm_func_trailer"
14628 $as_echo "#define __ASM_CFI(str) str" >>confdefs.h
14630 UNWINDFLAGS
=-fasynchronous-unwind-tables
14633 $as_echo "#define __ASM_CFI(str) \"\"" >>confdefs.h
14637 asm_func_code
="$asm_func_header\" code \"$asm_func_trailer"
14640 if test "$ac_cv_c_asm_outside_funcs" = "yes"
14642 cat >>confdefs.h
<<_ACEOF
14643 #define __ASM_DEFINE_FUNC(name,suffix,code) asm(".text\n\t.align 4\n\t$asm_func_code");
14647 cat >>confdefs.h
<<_ACEOF
14648 #define __ASM_DEFINE_FUNC(name,suffix,code) void __asm_dummy_##name(void) { asm(".text\n\t.align 4\n\t$asm_func_code"); }
14653 $as_echo "#define __ASM_GLOBAL_FUNC(name,code) __ASM_DEFINE_FUNC(name,\"\",code)" >>confdefs.h
14656 $as_echo "#define __ASM_STDCALL_FUNC(name,args,code) __ASM_DEFINE_FUNC(name,__ASM_STDCALL(args),code)" >>confdefs.h
14661 cygwin
*|mingw32
*) TOOLSEXT
=".exe"
14668 *i
[3456789]86*|x86_64
*)
14669 test "$wine_binary" = wine || wine_fn_ignore_file
"loader/wine-preloader"
14670 loader_programs
="$loader_programs $wine_binary-preloader"
14671 as_fn_append LOADER_RULES
"
14672 $wine_binary-preloader: preloader.o
14673 \$(CC) -o \$@ -static -nostartfiles -nodefaultlibs -Wl,-Ttext=0x7c400000 preloader.o \$(LIBPORT) \$(LDFLAGS)
14675 install install-lib:: $wine_binary-preloader
14676 \$(INSTALL_PROGRAM) $wine_binary-preloader \$(DESTDIR)\$(bindir)/$wine_binary-preloader
14679 \$(RM) \$(DESTDIR)\$(bindir)/$wine_binary-preloader
14681 preloader_EXTRADEFS = $BUILTINFLAG
14686 as_fn_append LOADER_RULES
"
14687 PROGRAMS = $loader_programs
14691 ac_save_CFLAGS
="$CFLAGS"
14692 CFLAGS
="$CFLAGS $BUILTINFLAG"
14771 as_ac_var
=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
14772 ac_fn_c_check_func
"$LINENO" "$ac_func" "$as_ac_var"
14773 if eval test \"x\$
"$as_ac_var"\" = x
"yes"; then :
14774 cat >>confdefs.h
<<_ACEOF
14775 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
14781 CFLAGS
="$ac_save_CFLAGS"
14783 if test "$ac_cv_func_dlopen" = no
14785 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
14786 $as_echo_n "checking for dlopen in -ldl... " >&6; }
14787 if ${ac_cv_lib_dl_dlopen+:} false
; then :
14788 $as_echo_n "(cached) " >&6
14790 ac_check_lib_save_LIBS
=$LIBS
14792 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14793 /* end confdefs.h. */
14795 /* Override any GCC internal prototype to avoid an error.
14796 Use char because int might match the return type of a GCC
14797 builtin and then its argument prototype would still apply. */
14810 if ac_fn_c_try_link
"$LINENO"; then :
14811 ac_cv_lib_dl_dlopen
=yes
14813 ac_cv_lib_dl_dlopen
=no
14815 rm -f core conftest.err conftest.
$ac_objext \
14816 conftest
$ac_exeext conftest.
$ac_ext
14817 LIBS
=$ac_check_lib_save_LIBS
14819 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
14820 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
14821 if test "x$ac_cv_lib_dl_dlopen" = xyes
; then :
14822 $as_echo "#define HAVE_DLOPEN 1" >>confdefs.h
14828 ac_wine_check_funcs_save_LIBS
="$LIBS"
14829 LIBS
="$LIBS $DL_LIBS"
14830 for ac_func
in dladdr
14832 ac_fn_c_check_func
"$LINENO" "dladdr" "ac_cv_func_dladdr"
14833 if test "x$ac_cv_func_dladdr" = xyes
; then :
14834 cat >>confdefs.h
<<_ACEOF
14835 #define HAVE_DLADDR 1
14841 LIBS
="$ac_wine_check_funcs_save_LIBS"
14843 if test "$ac_cv_func_poll" = no
14845 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for poll in -lpoll" >&5
14846 $as_echo_n "checking for poll in -lpoll... " >&6; }
14847 if ${ac_cv_lib_poll_poll+:} false
; then :
14848 $as_echo_n "(cached) " >&6
14850 ac_check_lib_save_LIBS
=$LIBS
14851 LIBS
="-lpoll $LIBS"
14852 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14853 /* end confdefs.h. */
14855 /* Override any GCC internal prototype to avoid an error.
14856 Use char because int might match the return type of a GCC
14857 builtin and then its argument prototype would still apply. */
14870 if ac_fn_c_try_link
"$LINENO"; then :
14871 ac_cv_lib_poll_poll
=yes
14873 ac_cv_lib_poll_poll
=no
14875 rm -f core conftest.err conftest.
$ac_objext \
14876 conftest
$ac_exeext conftest.
$ac_ext
14877 LIBS
=$ac_check_lib_save_LIBS
14879 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_poll_poll" >&5
14880 $as_echo "$ac_cv_lib_poll_poll" >&6; }
14881 if test "x$ac_cv_lib_poll_poll" = xyes
; then :
14882 $as_echo "#define HAVE_POLL 1" >>confdefs.h
14889 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing gethostbyname" >&5
14890 $as_echo_n "checking for library containing gethostbyname... " >&6; }
14891 if ${ac_cv_search_gethostbyname+:} false
; then :
14892 $as_echo_n "(cached) " >&6
14894 ac_func_search_save_LIBS
=$LIBS
14895 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14896 /* end confdefs.h. */
14898 /* Override any GCC internal prototype to avoid an error.
14899 Use char because int might match the return type of a GCC
14900 builtin and then its argument prototype would still apply. */
14904 char gethostbyname ();
14908 return gethostbyname ();
14913 for ac_lib
in '' nsl
; do
14914 if test -z "$ac_lib"; then
14915 ac_res
="none required"
14918 LIBS
="-l$ac_lib $ac_func_search_save_LIBS"
14920 if ac_fn_c_try_link
"$LINENO"; then :
14921 ac_cv_search_gethostbyname
=$ac_res
14923 rm -f core conftest.err conftest.
$ac_objext \
14925 if ${ac_cv_search_gethostbyname+:} false
; then :
14929 if ${ac_cv_search_gethostbyname+:} false
; then :
14932 ac_cv_search_gethostbyname
=no
14934 rm conftest.
$ac_ext
14935 LIBS
=$ac_func_search_save_LIBS
14937 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_gethostbyname" >&5
14938 $as_echo "$ac_cv_search_gethostbyname" >&6; }
14939 ac_res
=$ac_cv_search_gethostbyname
14940 if test "$ac_res" != no
; then :
14941 test "$ac_res" = "none required" || LIBS
="$ac_res $LIBS"
14946 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing connect" >&5
14947 $as_echo_n "checking for library containing connect... " >&6; }
14948 if ${ac_cv_search_connect+:} false
; then :
14949 $as_echo_n "(cached) " >&6
14951 ac_func_search_save_LIBS
=$LIBS
14952 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14953 /* end confdefs.h. */
14955 /* Override any GCC internal prototype to avoid an error.
14956 Use char because int might match the return type of a GCC
14957 builtin and then its argument prototype would still apply. */
14970 for ac_lib
in '' socket
; do
14971 if test -z "$ac_lib"; then
14972 ac_res
="none required"
14975 LIBS
="-l$ac_lib $ac_func_search_save_LIBS"
14977 if ac_fn_c_try_link
"$LINENO"; then :
14978 ac_cv_search_connect
=$ac_res
14980 rm -f core conftest.err conftest.
$ac_objext \
14982 if ${ac_cv_search_connect+:} false
; then :
14986 if ${ac_cv_search_connect+:} false
; then :
14989 ac_cv_search_connect
=no
14991 rm conftest.
$ac_ext
14992 LIBS
=$ac_func_search_save_LIBS
14994 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_connect" >&5
14995 $as_echo "$ac_cv_search_connect" >&6; }
14996 ac_res
=$ac_cv_search_connect
14997 if test "$ac_res" != no
; then :
14998 test "$ac_res" = "none required" || LIBS
="$ac_res $LIBS"
15003 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing inet_aton" >&5
15004 $as_echo_n "checking for library containing inet_aton... " >&6; }
15005 if ${ac_cv_search_inet_aton+:} false
; then :
15006 $as_echo_n "(cached) " >&6
15008 ac_func_search_save_LIBS
=$LIBS
15009 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15010 /* end confdefs.h. */
15012 /* Override any GCC internal prototype to avoid an error.
15013 Use char because int might match the return type of a GCC
15014 builtin and then its argument prototype would still apply. */
15022 return inet_aton ();
15027 for ac_lib
in '' resolv
; do
15028 if test -z "$ac_lib"; then
15029 ac_res
="none required"
15032 LIBS
="-l$ac_lib $ac_func_search_save_LIBS"
15034 if ac_fn_c_try_link
"$LINENO"; then :
15035 ac_cv_search_inet_aton
=$ac_res
15037 rm -f core conftest.err conftest.
$ac_objext \
15039 if ${ac_cv_search_inet_aton+:} false
; then :
15043 if ${ac_cv_search_inet_aton+:} false
; then :
15046 ac_cv_search_inet_aton
=no
15048 rm conftest.
$ac_ext
15049 LIBS
=$ac_func_search_save_LIBS
15051 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_inet_aton" >&5
15052 $as_echo "$ac_cv_search_inet_aton" >&6; }
15053 ac_res
=$ac_cv_search_inet_aton
15054 if test "$ac_res" != no
; then :
15055 test "$ac_res" = "none required" || LIBS
="$ac_res $LIBS"
15075 as_ac_var
=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
15076 ac_fn_c_check_func
"$LINENO" "$ac_func" "$as_ac_var"
15077 if eval test \"x\$
"$as_ac_var"\" = x
"yes"; then :
15078 cat >>confdefs.h
<<_ACEOF
15079 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
15087 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing clock_gettime" >&5
15088 $as_echo_n "checking for library containing clock_gettime... " >&6; }
15089 if ${ac_cv_search_clock_gettime+:} false
; then :
15090 $as_echo_n "(cached) " >&6
15092 ac_func_search_save_LIBS
=$LIBS
15093 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15094 /* end confdefs.h. */
15096 /* Override any GCC internal prototype to avoid an error.
15097 Use char because int might match the return type of a GCC
15098 builtin and then its argument prototype would still apply. */
15102 char clock_gettime ();
15106 return clock_gettime ();
15111 for ac_lib
in '' rt
; do
15112 if test -z "$ac_lib"; then
15113 ac_res
="none required"
15116 LIBS
="-l$ac_lib $ac_func_search_save_LIBS"
15118 if ac_fn_c_try_link
"$LINENO"; then :
15119 ac_cv_search_clock_gettime
=$ac_res
15121 rm -f core conftest.err conftest.
$ac_objext \
15123 if ${ac_cv_search_clock_gettime+:} false
; then :
15127 if ${ac_cv_search_clock_gettime+:} false
; then :
15130 ac_cv_search_clock_gettime
=no
15132 rm conftest.
$ac_ext
15133 LIBS
=$ac_func_search_save_LIBS
15135 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_clock_gettime" >&5
15136 $as_echo "$ac_cv_search_clock_gettime" >&6; }
15137 ac_res
=$ac_cv_search_clock_gettime
15138 if test "$ac_res" != no
; then :
15139 test "$ac_res" = "none required" || LIBS
="$ac_res $LIBS"
15141 $as_echo "#define HAVE_CLOCK_GETTIME 1" >>confdefs.h
15143 test "$ac_res" = "none required" || RT_LIBS
="$ac_res"
15151 if test "$ac_cv_header_ldap_h" = "yes" -a "$ac_cv_header_lber_h" = "yes"
15153 ac_fn_c_check_type
"$LINENO" "LDAPSortKey" "ac_cv_type_LDAPSortKey" "#include <ldap.h>
15155 if test "x$ac_cv_type_LDAPSortKey" = xyes
; then :
15156 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldap_initialize in -lldap_r" >&5
15157 $as_echo_n "checking for ldap_initialize in -lldap_r... " >&6; }
15158 if ${ac_cv_lib_ldap_r_ldap_initialize+:} false
; then :
15159 $as_echo_n "(cached) " >&6
15161 ac_check_lib_save_LIBS
=$LIBS
15162 LIBS
="-lldap_r $PTHREAD_LIBS $LIBS"
15163 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15164 /* end confdefs.h. */
15166 /* Override any GCC internal prototype to avoid an error.
15167 Use char because int might match the return type of a GCC
15168 builtin and then its argument prototype would still apply. */
15172 char ldap_initialize ();
15176 return ldap_initialize ();
15181 if ac_fn_c_try_link
"$LINENO"; then :
15182 ac_cv_lib_ldap_r_ldap_initialize
=yes
15184 ac_cv_lib_ldap_r_ldap_initialize
=no
15186 rm -f core conftest.err conftest.
$ac_objext \
15187 conftest
$ac_exeext conftest.
$ac_ext
15188 LIBS
=$ac_check_lib_save_LIBS
15190 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ldap_r_ldap_initialize" >&5
15191 $as_echo "$ac_cv_lib_ldap_r_ldap_initialize" >&6; }
15192 if test "x$ac_cv_lib_ldap_r_ldap_initialize" = xyes
; then :
15193 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ber_init in -llber" >&5
15194 $as_echo_n "checking for ber_init in -llber... " >&6; }
15195 if ${ac_cv_lib_lber_ber_init+:} false
; then :
15196 $as_echo_n "(cached) " >&6
15198 ac_check_lib_save_LIBS
=$LIBS
15199 LIBS
="-llber $PTHREAD_LIBS $LIBS"
15200 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15201 /* end confdefs.h. */
15203 /* Override any GCC internal prototype to avoid an error.
15204 Use char because int might match the return type of a GCC
15205 builtin and then its argument prototype would still apply. */
15213 return ber_init ();
15218 if ac_fn_c_try_link
"$LINENO"; then :
15219 ac_cv_lib_lber_ber_init
=yes
15221 ac_cv_lib_lber_ber_init
=no
15223 rm -f core conftest.err conftest.
$ac_objext \
15224 conftest
$ac_exeext conftest.
$ac_ext
15225 LIBS
=$ac_check_lib_save_LIBS
15227 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_lber_ber_init" >&5
15228 $as_echo "$ac_cv_lib_lber_ber_init" >&6; }
15229 if test "x$ac_cv_lib_lber_ber_init" = xyes
; then :
15231 $as_echo "#define HAVE_LDAP 1" >>confdefs.h
15233 LDAP_LIBS
="-lldap_r -llber"
15240 ac_wine_check_funcs_save_LIBS
="$LIBS"
15241 LIBS
="$LIBS $LDAP_LIBS $PTHREAD_LIBS"
15243 ldap_count_references \
15244 ldap_first_reference \
15245 ldap_next_reference \
15246 ldap_parse_reference \
15247 ldap_parse_sort_control \
15248 ldap_parse_sortresponse_control \
15249 ldap_parse_vlv_control \
15250 ldap_parse_vlvresponse_control
15252 as_ac_var
=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
15253 ac_fn_c_check_func
"$LINENO" "$ac_func" "$as_ac_var"
15254 if eval test \"x\$
"$as_ac_var"\" = x
"yes"; then :
15255 cat >>confdefs.h
<<_ACEOF
15256 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
15262 LIBS
="$ac_wine_check_funcs_save_LIBS"
15264 if test "x$LDAP_LIBS" = "x"; then :
15265 case "x$with_ldap" in
15266 x
) as_fn_append wine_notices
"|libldap (OpenLDAP) ${notice_platform}development files not found, LDAP won't be supported." ;;
15268 *) as_fn_error $?
"libldap (OpenLDAP) ${notice_platform}development files not found, LDAP won't be supported.
15269 This is an error since --with-ldap was requested." "$LINENO" 5 ;;
15273 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether mkdir takes only one argument" >&5
15274 $as_echo_n "checking whether mkdir takes only one argument... " >&6; }
15275 if ${wine_cv_one_arg_mkdir+:} false
; then :
15276 $as_echo_n "(cached) " >&6
15278 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15279 /* end confdefs.h. */
15280 #include <sys/stat.h>
15289 if ac_fn_c_try_compile
"$LINENO"; then :
15290 wine_cv_one_arg_mkdir
=yes
15292 wine_cv_one_arg_mkdir
=no
15294 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
15296 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_one_arg_mkdir" >&5
15297 $as_echo "$wine_cv_one_arg_mkdir" >&6; }
15298 if test "$wine_cv_one_arg_mkdir" = "yes"
15301 $as_echo "#define HAVE_ONE_ARG_MKDIR 1" >>confdefs.h
15305 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sched_setaffinity" >&5
15306 $as_echo_n "checking for sched_setaffinity... " >&6; }
15307 if ${wine_cv_have_sched_setaffinity+:} false
; then :
15308 $as_echo_n "(cached) " >&6
15310 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15311 /* end confdefs.h. */
15312 #define _GNU_SOURCE
15317 sched_setaffinity(0, 0, 0);
15322 if ac_fn_c_try_link
"$LINENO"; then :
15323 wine_cv_have_sched_setaffinity
=yes
15325 wine_cv_have_sched_setaffinity
=no
15327 rm -f core conftest.err conftest.
$ac_objext \
15328 conftest
$ac_exeext conftest.
$ac_ext
15330 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_have_sched_setaffinity" >&5
15331 $as_echo "$wine_cv_have_sched_setaffinity" >&6; }
15332 if test "$wine_cv_have_sched_setaffinity" = "yes"
15335 $as_echo "#define HAVE_SCHED_SETAFFINITY 1" >>confdefs.h
15339 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fallocate" >&5
15340 $as_echo_n "checking for fallocate... " >&6; }
15341 if ${wine_cv_have_fallocate+:} false
; then :
15342 $as_echo_n "(cached) " >&6
15344 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15345 /* end confdefs.h. */
15346 #define _GNU_SOURCE
15351 fallocate(-1, 0, 0, 0);
15356 if ac_fn_c_try_link
"$LINENO"; then :
15357 wine_cv_have_fallocate
=yes
15359 wine_cv_have_fallocate
=no
15361 rm -f core conftest.err conftest.
$ac_objext \
15362 conftest
$ac_exeext conftest.
$ac_ext
15364 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_have_fallocate" >&5
15365 $as_echo "$wine_cv_have_fallocate" >&6; }
15366 if test "$wine_cv_have_fallocate" = "yes"
15369 $as_echo "#define HAVE_FALLOCATE 1" >>confdefs.h
15374 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for inline" >&5
15375 $as_echo_n "checking for inline... " >&6; }
15376 if ${ac_cv_c_inline+:} false
; then :
15377 $as_echo_n "(cached) " >&6
15380 for ac_kw
in inline __inline__ __inline
; do
15381 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15382 /* end confdefs.h. */
15383 #ifndef __cplusplus
15385 static $ac_kw foo_t static_foo () {return 0; }
15386 $ac_kw foo_t foo () {return 0; }
15390 if ac_fn_c_try_compile
"$LINENO"; then :
15391 ac_cv_c_inline
=$ac_kw
15393 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
15394 test "$ac_cv_c_inline" != no
&& break
15398 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_inline" >&5
15399 $as_echo "$ac_cv_c_inline" >&6; }
15401 case $ac_cv_c_inline in
15404 case $ac_cv_c_inline in
15406 *) ac_val
=$ac_cv_c_inline;;
15408 cat >>confdefs.h
<<_ACEOF
15409 #ifndef __cplusplus
15410 #define inline $ac_val
15416 ac_fn_c_check_type
"$LINENO" "mode_t" "ac_cv_type_mode_t" "$ac_includes_default"
15417 if test "x$ac_cv_type_mode_t" = xyes
; then :
15419 cat >>confdefs.h
<<_ACEOF
15420 #define HAVE_MODE_T 1
15425 ac_fn_c_check_type
"$LINENO" "off_t" "ac_cv_type_off_t" "$ac_includes_default"
15426 if test "x$ac_cv_type_off_t" = xyes
; then :
15428 cat >>confdefs.h
<<_ACEOF
15429 #define HAVE_OFF_T 1
15434 ac_fn_c_check_type
"$LINENO" "pid_t" "ac_cv_type_pid_t" "$ac_includes_default"
15435 if test "x$ac_cv_type_pid_t" = xyes
; then :
15437 cat >>confdefs.h
<<_ACEOF
15438 #define HAVE_PID_T 1
15443 ac_fn_c_check_type
"$LINENO" "size_t" "ac_cv_type_size_t" "$ac_includes_default"
15444 if test "x$ac_cv_type_size_t" = xyes
; then :
15446 cat >>confdefs.h
<<_ACEOF
15447 #define HAVE_SIZE_T 1
15452 ac_fn_c_check_type
"$LINENO" "ssize_t" "ac_cv_type_ssize_t" "$ac_includes_default"
15453 if test "x$ac_cv_type_ssize_t" = xyes
; then :
15455 cat >>confdefs.h
<<_ACEOF
15456 #define HAVE_SSIZE_T 1
15461 ac_fn_c_check_type
"$LINENO" "long long" "ac_cv_type_long_long" "$ac_includes_default"
15462 if test "x$ac_cv_type_long_long" = xyes
; then :
15464 cat >>confdefs.h
<<_ACEOF
15465 #define HAVE_LONG_LONG 1
15470 ac_fn_c_check_type
"$LINENO" "fsblkcnt_t" "ac_cv_type_fsblkcnt_t" "$ac_includes_default"
15471 if test "x$ac_cv_type_fsblkcnt_t" = xyes
; then :
15473 cat >>confdefs.h
<<_ACEOF
15474 #define HAVE_FSBLKCNT_T 1
15479 ac_fn_c_check_type
"$LINENO" "fsfilcnt_t" "ac_cv_type_fsfilcnt_t" "$ac_includes_default"
15480 if test "x$ac_cv_type_fsfilcnt_t" = xyes
; then :
15482 cat >>confdefs.h
<<_ACEOF
15483 #define HAVE_FSFILCNT_T 1
15489 ac_fn_c_check_type
"$LINENO" "sigset_t" "ac_cv_type_sigset_t" "#include <sys/types.h>
15490 #include <signal.h>
15492 if test "x$ac_cv_type_sigset_t" = xyes
; then :
15494 cat >>confdefs.h
<<_ACEOF
15495 #define HAVE_SIGSET_T 1
15501 ac_fn_c_check_type
"$LINENO" "request_sense" "ac_cv_type_request_sense" "#include <linux/cdrom.h>
15503 if test "x$ac_cv_type_request_sense" = xyes
; then :
15505 cat >>confdefs.h
<<_ACEOF
15506 #define HAVE_REQUEST_SENSE 1
15513 ac_fn_c_check_type
"$LINENO" "struct xinpgen" "ac_cv_type_struct_xinpgen" "#include <sys/types.h>
15514 #ifdef HAVE_SYS_SOCKET_H
15515 #include <sys/socket.h>
15517 #ifdef HAVE_SYS_SOCKETVAR_H
15518 #include <sys/socketvar.h>
15520 #ifdef HAVE_NET_ROUTE_H
15521 #include <net/route.h>
15523 #ifdef HAVE_NETINET_IN_H
15524 #include <netinet/in.h>
15526 #ifdef HAVE_NETINET_IN_SYSTM_H
15527 #include <netinet/in_systm.h>
15529 #ifdef HAVE_NETINET_IP_H
15530 #include <netinet/ip.h>
15532 #ifdef HAVE_NETINET_IN_PCB_H
15533 #include <netinet/in_pcb.h>
15536 if test "x$ac_cv_type_struct_xinpgen" = xyes
; then :
15538 cat >>confdefs.h
<<_ACEOF
15539 #define HAVE_STRUCT_XINPGEN 1
15546 ac_fn_c_check_type
"$LINENO" "struct r_debug" "ac_cv_type_struct_r_debug" "#ifdef HAVE_LINK_H
15549 #ifdef HAVE_SYS_LINK_H
15550 #include <sys/link.h>
15553 if test "x$ac_cv_type_struct_r_debug" = xyes
; then :
15555 cat >>confdefs.h
<<_ACEOF
15556 #define HAVE_STRUCT_R_DEBUG 1
15561 ac_fn_c_check_type
"$LINENO" "struct link_map" "ac_cv_type_struct_link_map" "#ifdef HAVE_LINK_H
15564 #ifdef HAVE_SYS_LINK_H
15565 #include <sys/link.h>
15568 if test "x$ac_cv_type_struct_link_map" = xyes
; then :
15570 cat >>confdefs.h
<<_ACEOF
15571 #define HAVE_STRUCT_LINK_MAP 1
15578 ac_fn_c_check_member
"$LINENO" "struct ff_effect" "direction" "ac_cv_member_struct_ff_effect_direction" "#ifdef HAVE_LINUX_INPUT_H
15579 #include <linux/input.h>
15582 if test "x$ac_cv_member_struct_ff_effect_direction" = xyes
; then :
15584 cat >>confdefs.h
<<_ACEOF
15585 #define HAVE_STRUCT_FF_EFFECT_DIRECTION 1
15592 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sigaddset" >&5
15593 $as_echo_n "checking for sigaddset... " >&6; }
15594 if ${wine_cv_have_sigaddset+:} false
; then :
15595 $as_echo_n "(cached) " >&6
15597 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15598 /* end confdefs.h. */
15599 #include <signal.h>
15603 sigset_t set; sigaddset(&set,SIGTERM);
15608 if ac_fn_c_try_link
"$LINENO"; then :
15609 wine_cv_have_sigaddset
=yes
15611 wine_cv_have_sigaddset
=no
15613 rm -f core conftest.err conftest.
$ac_objext \
15614 conftest
$ac_exeext conftest.
$ac_ext
15616 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_have_sigaddset" >&5
15617 $as_echo "$wine_cv_have_sigaddset" >&6; }
15618 if test "$wine_cv_have_sigaddset" = "yes"
15621 $as_echo "#define HAVE_SIGADDSET 1" >>confdefs.h
15626 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we can use re-entrant gethostbyname_r Linux style" >&5
15627 $as_echo_n "checking whether we can use re-entrant gethostbyname_r Linux style... " >&6; }
15628 if ${wine_cv_linux_gethostbyname_r_6+:} false
; then :
15629 $as_echo_n "(cached) " >&6
15631 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15632 /* end confdefs.h. */
15640 struct hostent *result;
15647 gethostbyname_r(name,&he,buf,bufsize,&result,&errnr);
15648 gethostbyaddr_r(addr, addrlen, addrtype,&he,buf,bufsize,&result,&errnr);
15654 if ac_fn_c_try_link
"$LINENO"; then :
15655 wine_cv_linux_gethostbyname_r_6
=yes
15657 wine_cv_linux_gethostbyname_r_6
=no
15660 rm -f core conftest.err conftest.
$ac_objext \
15661 conftest
$ac_exeext conftest.
$ac_ext
15664 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_linux_gethostbyname_r_6" >&5
15665 $as_echo "$wine_cv_linux_gethostbyname_r_6" >&6; }
15666 if test "$wine_cv_linux_gethostbyname_r_6" = "yes"
15669 $as_echo "#define HAVE_LINUX_GETHOSTBYNAME_R_6 1" >>confdefs.h
15673 if test "$ac_cv_header_linux_joystick_h" = "yes"
15675 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether linux/joystick.h uses the Linux 2.2+ API" >&5
15676 $as_echo_n "checking whether linux/joystick.h uses the Linux 2.2+ API... " >&6; }
15677 if ${wine_cv_linux_joystick_22_api+:} false
; then :
15678 $as_echo_n "(cached) " >&6
15680 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15681 /* end confdefs.h. */
15683 #include <sys/ioctl.h>
15684 #include <sys/types.h>
15685 #include <linux/joystick.h>
15687 struct js_event blub;
15688 #if !defined(JS_EVENT_AXIS) || !defined(JS_EVENT_BUTTON)
15689 #error "no 2.2 header"
15700 if ac_fn_c_try_compile
"$LINENO"; then :
15701 wine_cv_linux_joystick_22_api
=yes
15703 wine_cv_linux_joystick_22_api
=no
15705 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
15708 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_linux_joystick_22_api" >&5
15709 $as_echo "$wine_cv_linux_joystick_22_api" >&6; }
15710 if test "$wine_cv_linux_joystick_22_api" = "yes"
15713 $as_echo "#define HAVE_LINUX_22_JOYSTICK_API 1" >>confdefs.h
15719 ac_fn_c_check_member
"$LINENO" "struct statfs" "f_bfree" "ac_cv_member_struct_statfs_f_bfree" "#include <sys/types.h>
15720 #ifdef HAVE_SYS_PARAM_H
15721 # include <sys/param.h>
15723 #ifdef HAVE_SYS_MOUNT_H
15724 # include <sys/mount.h>
15726 #ifdef HAVE_SYS_VFS_H
15727 # include <sys/vfs.h>
15729 #ifdef HAVE_SYS_STATFS_H
15730 # include <sys/statfs.h>
15733 if test "x$ac_cv_member_struct_statfs_f_bfree" = xyes
; then :
15735 cat >>confdefs.h
<<_ACEOF
15736 #define HAVE_STRUCT_STATFS_F_BFREE 1
15741 ac_fn_c_check_member
"$LINENO" "struct statfs" "f_bavail" "ac_cv_member_struct_statfs_f_bavail" "#include <sys/types.h>
15742 #ifdef HAVE_SYS_PARAM_H
15743 # include <sys/param.h>
15745 #ifdef HAVE_SYS_MOUNT_H
15746 # include <sys/mount.h>
15748 #ifdef HAVE_SYS_VFS_H
15749 # include <sys/vfs.h>
15751 #ifdef HAVE_SYS_STATFS_H
15752 # include <sys/statfs.h>
15755 if test "x$ac_cv_member_struct_statfs_f_bavail" = xyes
; then :
15757 cat >>confdefs.h
<<_ACEOF
15758 #define HAVE_STRUCT_STATFS_F_BAVAIL 1
15763 ac_fn_c_check_member
"$LINENO" "struct statfs" "f_frsize" "ac_cv_member_struct_statfs_f_frsize" "#include <sys/types.h>
15764 #ifdef HAVE_SYS_PARAM_H
15765 # include <sys/param.h>
15767 #ifdef HAVE_SYS_MOUNT_H
15768 # include <sys/mount.h>
15770 #ifdef HAVE_SYS_VFS_H
15771 # include <sys/vfs.h>
15773 #ifdef HAVE_SYS_STATFS_H
15774 # include <sys/statfs.h>
15777 if test "x$ac_cv_member_struct_statfs_f_frsize" = xyes
; then :
15779 cat >>confdefs.h
<<_ACEOF
15780 #define HAVE_STRUCT_STATFS_F_FRSIZE 1
15785 ac_fn_c_check_member
"$LINENO" "struct statfs" "f_ffree" "ac_cv_member_struct_statfs_f_ffree" "#include <sys/types.h>
15786 #ifdef HAVE_SYS_PARAM_H
15787 # include <sys/param.h>
15789 #ifdef HAVE_SYS_MOUNT_H
15790 # include <sys/mount.h>
15792 #ifdef HAVE_SYS_VFS_H
15793 # include <sys/vfs.h>
15795 #ifdef HAVE_SYS_STATFS_H
15796 # include <sys/statfs.h>
15799 if test "x$ac_cv_member_struct_statfs_f_ffree" = xyes
; then :
15801 cat >>confdefs.h
<<_ACEOF
15802 #define HAVE_STRUCT_STATFS_F_FFREE 1
15807 ac_fn_c_check_member
"$LINENO" "struct statfs" "f_favail" "ac_cv_member_struct_statfs_f_favail" "#include <sys/types.h>
15808 #ifdef HAVE_SYS_PARAM_H
15809 # include <sys/param.h>
15811 #ifdef HAVE_SYS_MOUNT_H
15812 # include <sys/mount.h>
15814 #ifdef HAVE_SYS_VFS_H
15815 # include <sys/vfs.h>
15817 #ifdef HAVE_SYS_STATFS_H
15818 # include <sys/statfs.h>
15821 if test "x$ac_cv_member_struct_statfs_f_favail" = xyes
; then :
15823 cat >>confdefs.h
<<_ACEOF
15824 #define HAVE_STRUCT_STATFS_F_FAVAIL 1
15829 ac_fn_c_check_member
"$LINENO" "struct statfs" "f_namelen" "ac_cv_member_struct_statfs_f_namelen" "#include <sys/types.h>
15830 #ifdef HAVE_SYS_PARAM_H
15831 # include <sys/param.h>
15833 #ifdef HAVE_SYS_MOUNT_H
15834 # include <sys/mount.h>
15836 #ifdef HAVE_SYS_VFS_H
15837 # include <sys/vfs.h>
15839 #ifdef HAVE_SYS_STATFS_H
15840 # include <sys/statfs.h>
15843 if test "x$ac_cv_member_struct_statfs_f_namelen" = xyes
; then :
15845 cat >>confdefs.h
<<_ACEOF
15846 #define HAVE_STRUCT_STATFS_F_NAMELEN 1
15853 ac_fn_c_check_member
"$LINENO" "struct statvfs" "f_blocks" "ac_cv_member_struct_statvfs_f_blocks" "#ifdef HAVE_SYS_STATVFS_H
15854 #include <sys/statvfs.h>
15857 if test "x$ac_cv_member_struct_statvfs_f_blocks" = xyes
; then :
15859 cat >>confdefs.h
<<_ACEOF
15860 #define HAVE_STRUCT_STATVFS_F_BLOCKS 1
15867 ac_fn_c_check_member
"$LINENO" "struct dirent" "d_reclen" "ac_cv_member_struct_dirent_d_reclen" "#ifdef HAVE_DIRENT_H
15868 #include <dirent.h>
15871 if test "x$ac_cv_member_struct_dirent_d_reclen" = xyes
; then :
15873 cat >>confdefs.h
<<_ACEOF
15874 #define HAVE_STRUCT_DIRENT_D_RECLEN 1
15881 ac_fn_c_check_member
"$LINENO" "struct msghdr" "msg_accrights" "ac_cv_member_struct_msghdr_msg_accrights" "#include <sys/types.h>
15882 #ifdef HAVE_SYS_SOCKET_H
15883 # include <sys/socket.h>
15885 #ifdef HAVE_SYS_UN_H
15886 # include <sys/un.h>
15889 if test "x$ac_cv_member_struct_msghdr_msg_accrights" = xyes
; then :
15891 cat >>confdefs.h
<<_ACEOF
15892 #define HAVE_STRUCT_MSGHDR_MSG_ACCRIGHTS 1
15897 ac_fn_c_check_member
"$LINENO" "struct sockaddr" "sa_len" "ac_cv_member_struct_sockaddr_sa_len" "#include <sys/types.h>
15898 #ifdef HAVE_SYS_SOCKET_H
15899 # include <sys/socket.h>
15901 #ifdef HAVE_SYS_UN_H
15902 # include <sys/un.h>
15905 if test "x$ac_cv_member_struct_sockaddr_sa_len" = xyes
; then :
15907 cat >>confdefs.h
<<_ACEOF
15908 #define HAVE_STRUCT_SOCKADDR_SA_LEN 1
15913 ac_fn_c_check_member
"$LINENO" "struct sockaddr_un" "sun_len" "ac_cv_member_struct_sockaddr_un_sun_len" "#include <sys/types.h>
15914 #ifdef HAVE_SYS_SOCKET_H
15915 # include <sys/socket.h>
15917 #ifdef HAVE_SYS_UN_H
15918 # include <sys/un.h>
15921 if test "x$ac_cv_member_struct_sockaddr_un_sun_len" = xyes
; then :
15923 cat >>confdefs.h
<<_ACEOF
15924 #define HAVE_STRUCT_SOCKADDR_UN_SUN_LEN 1
15931 ac_fn_c_check_member
"$LINENO" "scsireq_t" "cmd" "ac_cv_member_scsireq_t_cmd" "#include <sys/types.h>
15932 #ifdef HAVE_SCSI_SG_H
15933 #include <scsi/sg.h>
15936 if test "x$ac_cv_member_scsireq_t_cmd" = xyes
; then :
15938 cat >>confdefs.h
<<_ACEOF
15939 #define HAVE_SCSIREQ_T_CMD 1
15944 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>
15945 #ifdef HAVE_SCSI_SG_H
15946 #include <scsi/sg.h>
15949 if test "x$ac_cv_member_sg_io_hdr_t_interface_id" = xyes
; then :
15951 cat >>confdefs.h
<<_ACEOF
15952 #define HAVE_SG_IO_HDR_T_INTERFACE_ID 1
15959 ac_fn_c_check_member
"$LINENO" "siginfo_t" "si_fd" "ac_cv_member_siginfo_t_si_fd" "#include <signal.h>
15961 if test "x$ac_cv_member_siginfo_t_si_fd" = xyes
; then :
15963 cat >>confdefs.h
<<_ACEOF
15964 #define HAVE_SIGINFO_T_SI_FD 1
15971 ac_fn_c_check_member
"$LINENO" "struct mtget" "mt_blksiz" "ac_cv_member_struct_mtget_mt_blksiz" "#include <sys/types.h>
15972 #ifdef HAVE_SYS_MTIO_H
15973 #include <sys/mtio.h>
15976 if test "x$ac_cv_member_struct_mtget_mt_blksiz" = xyes
; then :
15978 cat >>confdefs.h
<<_ACEOF
15979 #define HAVE_STRUCT_MTGET_MT_BLKSIZ 1
15984 ac_fn_c_check_member
"$LINENO" "struct mtget" "mt_gstat" "ac_cv_member_struct_mtget_mt_gstat" "#include <sys/types.h>
15985 #ifdef HAVE_SYS_MTIO_H
15986 #include <sys/mtio.h>
15989 if test "x$ac_cv_member_struct_mtget_mt_gstat" = xyes
; then :
15991 cat >>confdefs.h
<<_ACEOF
15992 #define HAVE_STRUCT_MTGET_MT_GSTAT 1
15997 ac_fn_c_check_member
"$LINENO" "struct mtget" "mt_blkno" "ac_cv_member_struct_mtget_mt_blkno" "#include <sys/types.h>
15998 #ifdef HAVE_SYS_MTIO_H
15999 #include <sys/mtio.h>
16002 if test "x$ac_cv_member_struct_mtget_mt_blkno" = xyes
; then :
16004 cat >>confdefs.h
<<_ACEOF
16005 #define HAVE_STRUCT_MTGET_MT_BLKNO 1
16012 ac_fn_c_check_member
"$LINENO" "struct option" "name" "ac_cv_member_struct_option_name" "#ifdef HAVE_GETOPT_H
16013 #include <getopt.h>
16016 if test "x$ac_cv_member_struct_option_name" = xyes
; then :
16018 cat >>confdefs.h
<<_ACEOF
16019 #define HAVE_STRUCT_OPTION_NAME 1
16026 ac_fn_c_check_member
"$LINENO" "struct stat" "st_blocks" "ac_cv_member_struct_stat_st_blocks" "$ac_includes_default"
16027 if test "x$ac_cv_member_struct_stat_st_blocks" = xyes
; then :
16029 cat >>confdefs.h
<<_ACEOF
16030 #define HAVE_STRUCT_STAT_ST_BLOCKS 1
16035 ac_fn_c_check_member
"$LINENO" "struct stat" "st_mtim" "ac_cv_member_struct_stat_st_mtim" "$ac_includes_default"
16036 if test "x$ac_cv_member_struct_stat_st_mtim" = xyes
; then :
16038 cat >>confdefs.h
<<_ACEOF
16039 #define HAVE_STRUCT_STAT_ST_MTIM 1
16044 ac_fn_c_check_member
"$LINENO" "struct stat" "st_mtimespec" "ac_cv_member_struct_stat_st_mtimespec" "$ac_includes_default"
16045 if test "x$ac_cv_member_struct_stat_st_mtimespec" = xyes
; then :
16047 cat >>confdefs.h
<<_ACEOF
16048 #define HAVE_STRUCT_STAT_ST_MTIMESPEC 1
16053 ac_fn_c_check_member
"$LINENO" "struct stat" "st_ctim" "ac_cv_member_struct_stat_st_ctim" "$ac_includes_default"
16054 if test "x$ac_cv_member_struct_stat_st_ctim" = xyes
; then :
16056 cat >>confdefs.h
<<_ACEOF
16057 #define HAVE_STRUCT_STAT_ST_CTIM 1
16062 ac_fn_c_check_member
"$LINENO" "struct stat" "st_ctimespec" "ac_cv_member_struct_stat_st_ctimespec" "$ac_includes_default"
16063 if test "x$ac_cv_member_struct_stat_st_ctimespec" = xyes
; then :
16065 cat >>confdefs.h
<<_ACEOF
16066 #define HAVE_STRUCT_STAT_ST_CTIMESPEC 1
16071 ac_fn_c_check_member
"$LINENO" "struct stat" "st_atim" "ac_cv_member_struct_stat_st_atim" "$ac_includes_default"
16072 if test "x$ac_cv_member_struct_stat_st_atim" = xyes
; then :
16074 cat >>confdefs.h
<<_ACEOF
16075 #define HAVE_STRUCT_STAT_ST_ATIM 1
16080 ac_fn_c_check_member
"$LINENO" "struct stat" "st_atimespec" "ac_cv_member_struct_stat_st_atimespec" "$ac_includes_default"
16081 if test "x$ac_cv_member_struct_stat_st_atimespec" = xyes
; then :
16083 cat >>confdefs.h
<<_ACEOF
16084 #define HAVE_STRUCT_STAT_ST_ATIMESPEC 1
16089 ac_fn_c_check_member
"$LINENO" "struct stat" "st_birthtime" "ac_cv_member_struct_stat_st_birthtime" "$ac_includes_default"
16090 if test "x$ac_cv_member_struct_stat_st_birthtime" = xyes
; then :
16092 cat >>confdefs.h
<<_ACEOF
16093 #define HAVE_STRUCT_STAT_ST_BIRTHTIME 1
16098 ac_fn_c_check_member
"$LINENO" "struct stat" "st_birthtim" "ac_cv_member_struct_stat_st_birthtim" "$ac_includes_default"
16099 if test "x$ac_cv_member_struct_stat_st_birthtim" = xyes
; then :
16101 cat >>confdefs.h
<<_ACEOF
16102 #define HAVE_STRUCT_STAT_ST_BIRTHTIM 1
16107 ac_fn_c_check_member
"$LINENO" "struct stat" "st_birthtimespec" "ac_cv_member_struct_stat_st_birthtimespec" "$ac_includes_default"
16108 if test "x$ac_cv_member_struct_stat_st_birthtimespec" = xyes
; then :
16110 cat >>confdefs.h
<<_ACEOF
16111 #define HAVE_STRUCT_STAT_ST_BIRTHTIMESPEC 1
16116 ac_fn_c_check_member
"$LINENO" "struct stat" "__st_birthtime" "ac_cv_member_struct_stat___st_birthtime" "$ac_includes_default"
16117 if test "x$ac_cv_member_struct_stat___st_birthtime" = xyes
; then :
16119 cat >>confdefs.h
<<_ACEOF
16120 #define HAVE_STRUCT_STAT___ST_BIRTHTIME 1
16125 ac_fn_c_check_member
"$LINENO" "struct stat" "__st_birthtim" "ac_cv_member_struct_stat___st_birthtim" "$ac_includes_default"
16126 if test "x$ac_cv_member_struct_stat___st_birthtim" = xyes
; then :
16128 cat >>confdefs.h
<<_ACEOF
16129 #define HAVE_STRUCT_STAT___ST_BIRTHTIM 1
16136 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
16137 #include <sys/types.h>
16139 #ifdef HAVE_NETINET_IN_H
16140 #include <netinet/in.h>
16143 if test "x$ac_cv_member_struct_sockaddr_in6_sin6_scope_id" = xyes
; then :
16145 cat >>confdefs.h
<<_ACEOF
16146 #define HAVE_STRUCT_SOCKADDR_IN6_SIN6_SCOPE_ID 1
16153 ac_fn_c_check_type
"$LINENO" "struct __res_state" "ac_cv_type_struct___res_state" "#ifdef HAVE_RESOLV_H
16154 #include <resolv.h>
16157 if test "x$ac_cv_type_struct___res_state" = xyes
; then :
16159 cat >>confdefs.h
<<_ACEOF
16160 #define HAVE_STRUCT___RES_STATE 1
16167 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
16168 #include <resolv.h>
16171 if test "x$ac_cv_member_struct___res_state__u__ext_nscount6" = xyes
; then :
16173 cat >>confdefs.h
<<_ACEOF
16174 #define HAVE_STRUCT___RES_STATE__U__EXT_NSCOUNT6 1
16181 ac_fn_c_check_member
"$LINENO" "ns_msg" "_msg_ptr" "ac_cv_member_ns_msg__msg_ptr" "#ifdef HAVE_SYS_TYPES_H
16182 #include <sys/types.h>
16184 #ifdef HAVE_NETINET_IN_H
16185 # include <netinet/in.h>
16187 #ifdef HAVE_ARPA_NAMESER_H
16188 # include <arpa/nameser.h>
16191 if test "x$ac_cv_member_ns_msg__msg_ptr" = xyes
; then :
16193 cat >>confdefs.h
<<_ACEOF
16194 #define HAVE_NS_MSG__MSG_PTR 1
16201 ac_fn_c_check_member
"$LINENO" "struct icmpstat" "icps_inhist" "ac_cv_member_struct_icmpstat_icps_inhist" "#ifdef HAVE_SYS_TYPES_H
16202 #include <sys/types.h>
16204 #ifdef HAVE_NETINET_IP_H
16205 #include <netinet/ip.h>
16207 #ifdef HAVE_NETINET_IP_ICMP_H
16208 #include <netinet/ip_icmp.h>
16210 #ifdef HAVE_NETINET_ICMP_VAR_H
16211 #include <netinet/icmp_var.h>
16214 if test "x$ac_cv_member_struct_icmpstat_icps_inhist" = xyes
; then :
16216 cat >>confdefs.h
<<_ACEOF
16217 #define HAVE_STRUCT_ICMPSTAT_ICPS_INHIST 1
16224 ac_fn_c_check_member
"$LINENO" "struct icmpstat" "icps_outhist" "ac_cv_member_struct_icmpstat_icps_outhist" "#ifdef HAVE_SYS_TYPES_H
16225 #include <sys/types.h>
16227 #ifdef HAVE_ALIAS_H
16230 #ifdef HAVE_SYS_SOCKET_H
16231 #include <sys/socket.h>
16233 #ifdef HAVE_SYS_SOCKETVAR_H
16234 #include <sys/socketvar.h>
16236 #ifdef HAVE_SYS_TIMEOUT_H
16237 #include <sys/timeout.h>
16239 #ifdef HAVE_NETINET_IN_H
16240 #include <netinet/in.h>
16242 #ifdef HAVE_NETINET_IN_SYSTM_H
16243 #include <netinet/in_systm.h>
16245 #ifdef HAVE_NETINET_IP_H
16246 #include <netinet/ip.h>
16248 #ifdef HAVE_NETINET_IP_VAR_H
16249 #include <netinet/ip_var.h>
16251 #ifdef HAVE_NETINET_IP_ICMP_H
16252 #include <netinet/ip_icmp.h>
16254 #ifdef HAVE_NETINET_ICMP_VAR_H
16255 #include <netinet/icmp_var.h>
16258 if test "x$ac_cv_member_struct_icmpstat_icps_outhist" = xyes
; then :
16260 cat >>confdefs.h
<<_ACEOF
16261 #define HAVE_STRUCT_ICMPSTAT_ICPS_OUTHIST 1
16268 ac_fn_c_check_member
"$LINENO" "struct ipstat" "ips_total" "ac_cv_member_struct_ipstat_ips_total" "#ifdef HAVE_SYS_TYPES_H
16269 #include <sys/types.h>
16271 #ifdef HAVE_SYS_SOCKETVAR_H
16272 #include <sys/socketvar.h>
16274 #ifdef HAVE_NETINET_IN_H
16275 #include <netinet/in.h>
16277 #ifdef HAVE_NETINET_IP_VAR_H
16278 #include <netinet/ip_var.h>
16281 if test "x$ac_cv_member_struct_ipstat_ips_total" = xyes
; then :
16283 cat >>confdefs.h
<<_ACEOF
16284 #define HAVE_STRUCT_IPSTAT_IPS_TOTAL 1
16291 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
16292 #include <netinet/ip_var.h>
16295 if test "x$ac_cv_member_struct_ip_stats_ips_total" = xyes
; then :
16297 cat >>confdefs.h
<<_ACEOF
16298 #define HAVE_STRUCT_IP_STATS_IPS_TOTAL 1
16305 ac_fn_c_check_member
"$LINENO" "struct tcpstat" "tcps_connattempt" "ac_cv_member_struct_tcpstat_tcps_connattempt" "#ifdef HAVE_SYS_TYPES_H
16306 #include <sys/types.h>
16308 #ifdef HAVE_SYS_SOCKETVAR_H
16309 #include <sys/socketvar.h>
16311 #ifdef HAVE_NETINET_IN_H
16312 #include <netinet/in.h>
16314 #ifdef HAVE_NETINET_TCP_H
16315 #include <netinet/tcp.h>
16317 #ifdef HAVE_NETINET_TCP_VAR_H
16318 #include <netinet/tcp_var.h>
16321 if test "x$ac_cv_member_struct_tcpstat_tcps_connattempt" = xyes
; then :
16323 cat >>confdefs.h
<<_ACEOF
16324 #define HAVE_STRUCT_TCPSTAT_TCPS_CONNATTEMPT 1
16331 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
16332 #include <netinet/tcp_var.h>
16335 if test "x$ac_cv_member_struct_tcp_stats_tcps_connattempt" = xyes
; then :
16337 cat >>confdefs.h
<<_ACEOF
16338 #define HAVE_STRUCT_TCP_STATS_TCPS_CONNATTEMPT 1
16345 ac_fn_c_check_member
"$LINENO" "struct udpstat" "udps_ipackets" "ac_cv_member_struct_udpstat_udps_ipackets" "#ifdef HAVE_SYS_TYPES_H
16346 #include <sys/types.h>
16348 #ifdef HAVE_NETINET_IN_H
16349 #include <netinet/in.h>
16351 #ifdef HAVE_NETINET_IP_VAR_H
16352 #include <netinet/ip_var.h>
16354 #ifdef HAVE_NETINET_UDP_H
16355 #include <netinet/udp.h>
16357 #ifdef HAVE_NETINET_UDP_VAR_H
16358 #include <netinet/udp_var.h>
16361 if test "x$ac_cv_member_struct_udpstat_udps_ipackets" = xyes
; then :
16363 cat >>confdefs.h
<<_ACEOF
16364 #define HAVE_STRUCT_UDPSTAT_UDPS_IPACKETS 1
16371 ac_fn_c_check_member
"$LINENO" "struct ifreq" "ifr_hwaddr" "ac_cv_member_struct_ifreq_ifr_hwaddr" "#ifdef HAVE_SYS_TYPES_H
16372 #include <sys/types.h>
16374 #ifdef HAVE_NET_IF_H
16375 # include <net/if.h>
16378 if test "x$ac_cv_member_struct_ifreq_ifr_hwaddr" = xyes
; then :
16380 cat >>confdefs.h
<<_ACEOF
16381 #define HAVE_STRUCT_IFREQ_IFR_HWADDR 1
16388 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for timezone variable" >&5
16389 $as_echo_n "checking for timezone variable... " >&6; }
16390 if ${ac_cv_have_timezone+:} false
; then :
16391 $as_echo_n "(cached) " >&6
16393 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
16394 /* end confdefs.h. */
16404 if ac_fn_c_try_link
"$LINENO"; then :
16405 ac_cv_have_timezone
="yes"
16407 ac_cv_have_timezone
="no"
16409 rm -f core conftest.err conftest.
$ac_objext \
16410 conftest
$ac_exeext conftest.
$ac_ext
16412 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_timezone" >&5
16413 $as_echo "$ac_cv_have_timezone" >&6; }
16414 if test "$ac_cv_have_timezone" = "yes"
16417 $as_echo "#define HAVE_TIMEZONE 1" >>confdefs.h
16420 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for daylight variable" >&5
16421 $as_echo_n "checking for daylight variable... " >&6; }
16422 if ${ac_cv_have_daylight+:} false
; then :
16423 $as_echo_n "(cached) " >&6
16425 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
16426 /* end confdefs.h. */
16436 if ac_fn_c_try_link
"$LINENO"; then :
16437 ac_cv_have_daylight
="yes"
16439 ac_cv_have_daylight
="no"
16441 rm -f core conftest.err conftest.
$ac_objext \
16442 conftest
$ac_exeext conftest.
$ac_ext
16444 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_daylight" >&5
16445 $as_echo "$ac_cv_have_daylight" >&6; }
16446 if test "$ac_cv_have_daylight" = "yes"
16449 $as_echo "#define HAVE_DAYLIGHT 1" >>confdefs.h
16453 ac_save_LIBS
="$LIBS"
16455 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isfinite" >&5
16456 $as_echo_n "checking for isfinite... " >&6; }
16457 if ${ac_cv_have_isfinite+:} false
; then :
16458 $as_echo_n "(cached) " >&6
16460 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
16461 /* end confdefs.h. */
16462 #define _GNU_SOURCE
16467 float f = 0.0; return isfinite(f)
16472 if ac_fn_c_try_link
"$LINENO"; then :
16473 ac_cv_have_isfinite
="yes"
16475 ac_cv_have_isfinite
="no"
16477 rm -f core conftest.err conftest.
$ac_objext \
16478 conftest
$ac_exeext conftest.
$ac_ext
16480 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_isfinite" >&5
16481 $as_echo "$ac_cv_have_isfinite" >&6; }
16482 if test "$ac_cv_have_isfinite" = "yes"
16485 $as_echo "#define HAVE_ISFINITE 1" >>confdefs.h
16489 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinf" >&5
16490 $as_echo_n "checking for isinf... " >&6; }
16491 if ${ac_cv_have_isinf+:} false
; then :
16492 $as_echo_n "(cached) " >&6
16494 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
16495 /* end confdefs.h. */
16500 float f = 0.0; return isinf(f)
16505 if ac_fn_c_try_link
"$LINENO"; then :
16506 ac_cv_have_isinf
="yes"
16508 ac_cv_have_isinf
="no"
16510 rm -f core conftest.err conftest.
$ac_objext \
16511 conftest
$ac_exeext conftest.
$ac_ext
16513 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_isinf" >&5
16514 $as_echo "$ac_cv_have_isinf" >&6; }
16515 if test "$ac_cv_have_isinf" = "yes"
16518 $as_echo "#define HAVE_ISINF 1" >>confdefs.h
16522 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnan" >&5
16523 $as_echo_n "checking for isnan... " >&6; }
16524 if ${ac_cv_have_isnan+:} false
; then :
16525 $as_echo_n "(cached) " >&6
16527 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
16528 /* end confdefs.h. */
16533 float f = 0.0; return isnan(f)
16538 if ac_fn_c_try_link
"$LINENO"; then :
16539 ac_cv_have_isnan
="yes"
16541 ac_cv_have_isnan
="no"
16543 rm -f core conftest.err conftest.
$ac_objext \
16544 conftest
$ac_exeext conftest.
$ac_ext
16546 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_isnan" >&5
16547 $as_echo "$ac_cv_have_isnan" >&6; }
16548 if test "$ac_cv_have_isnan" = "yes"
16551 $as_echo "#define HAVE_ISNAN 1" >>confdefs.h
16578 as_ac_var
=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
16579 ac_fn_c_check_func
"$LINENO" "$ac_func" "$as_ac_var"
16580 if eval test \"x\$
"$as_ac_var"\" = x
"yes"; then :
16581 cat >>confdefs.h
<<_ACEOF
16582 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
16588 LIBS
="$ac_save_LIBS"
16590 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for __builtin_clz" >&5
16591 $as_echo_n "checking for __builtin_clz... " >&6; }
16592 if ${ac_cv_have___builtin_clz+:} false
; then :
16593 $as_echo_n "(cached) " >&6
16595 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
16596 /* end confdefs.h. */
16601 return __builtin_clz(1)
16606 if ac_fn_c_try_link
"$LINENO"; then :
16607 ac_cv_have___builtin_clz
="yes"
16609 ac_cv_have___builtin_clz
="no"
16611 rm -f core conftest.err conftest.
$ac_objext \
16612 conftest
$ac_exeext conftest.
$ac_ext
16614 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have___builtin_clz" >&5
16615 $as_echo "$ac_cv_have___builtin_clz" >&6; }
16616 if test "$ac_cv_have___builtin_clz" = "yes"
16619 $as_echo "#define HAVE___BUILTIN_CLZ 1" >>confdefs.h
16625 *i
[3456789]86*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __i386__" >&5
16626 $as_echo_n "checking whether we need to define __i386__... " >&6; }
16627 if ${ac_cv_cpp_def___i386__+:} false
; then :
16628 $as_echo_n "(cached) " >&6
16630 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
16631 /* end confdefs.h. */
16636 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
16637 $EGREP "yes" >/dev
/null
2>&1; then :
16638 ac_cv_cpp_def___i386__
=yes
16640 ac_cv_cpp_def___i386__
=no
16645 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___i386__" >&5
16646 $as_echo "$ac_cv_cpp_def___i386__" >&6; }
16647 if test "x$ac_cv_cpp_def___i386__" = xyes
; then :
16648 CFLAGS
="$CFLAGS -D__i386__"
16649 LINTFLAGS
="$LINTFLAGS -D__i386__"
16651 *x86_64
*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __x86_64__" >&5
16652 $as_echo_n "checking whether we need to define __x86_64__... " >&6; }
16653 if ${ac_cv_cpp_def___x86_64__+:} false
; then :
16654 $as_echo_n "(cached) " >&6
16656 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
16657 /* end confdefs.h. */
16662 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
16663 $EGREP "yes" >/dev
/null
2>&1; then :
16664 ac_cv_cpp_def___x86_64__
=yes
16666 ac_cv_cpp_def___x86_64__
=no
16671 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___x86_64__" >&5
16672 $as_echo "$ac_cv_cpp_def___x86_64__" >&6; }
16673 if test "x$ac_cv_cpp_def___x86_64__" = xyes
; then :
16674 CFLAGS
="$CFLAGS -D__x86_64__"
16675 LINTFLAGS
="$LINTFLAGS -D__x86_64__"
16677 *sparc64
*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __sparc64__" >&5
16678 $as_echo_n "checking whether we need to define __sparc64__... " >&6; }
16679 if ${ac_cv_cpp_def___sparc64__+:} false
; then :
16680 $as_echo_n "(cached) " >&6
16682 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
16683 /* end confdefs.h. */
16684 #ifndef __sparc64__
16688 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
16689 $EGREP "yes" >/dev
/null
2>&1; then :
16690 ac_cv_cpp_def___sparc64__
=yes
16692 ac_cv_cpp_def___sparc64__
=no
16697 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___sparc64__" >&5
16698 $as_echo "$ac_cv_cpp_def___sparc64__" >&6; }
16699 if test "x$ac_cv_cpp_def___sparc64__" = xyes
; then :
16700 CFLAGS
="$CFLAGS -D__sparc64__"
16701 LINTFLAGS
="$LINTFLAGS -D__sparc64__"
16703 *sparc
*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __sparc__" >&5
16704 $as_echo_n "checking whether we need to define __sparc__... " >&6; }
16705 if ${ac_cv_cpp_def___sparc__+:} false
; then :
16706 $as_echo_n "(cached) " >&6
16708 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
16709 /* end confdefs.h. */
16714 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
16715 $EGREP "yes" >/dev
/null
2>&1; then :
16716 ac_cv_cpp_def___sparc__
=yes
16718 ac_cv_cpp_def___sparc__
=no
16723 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___sparc__" >&5
16724 $as_echo "$ac_cv_cpp_def___sparc__" >&6; }
16725 if test "x$ac_cv_cpp_def___sparc__" = xyes
; then :
16726 CFLAGS
="$CFLAGS -D__sparc__"
16727 LINTFLAGS
="$LINTFLAGS -D__sparc__"
16729 *powerpc64
*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __powerpc64__" >&5
16730 $as_echo_n "checking whether we need to define __powerpc64__... " >&6; }
16731 if ${ac_cv_cpp_def___powerpc64__+:} false
; then :
16732 $as_echo_n "(cached) " >&6
16734 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
16735 /* end confdefs.h. */
16736 #ifndef __powerpc64__
16740 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
16741 $EGREP "yes" >/dev
/null
2>&1; then :
16742 ac_cv_cpp_def___powerpc64__
=yes
16744 ac_cv_cpp_def___powerpc64__
=no
16749 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___powerpc64__" >&5
16750 $as_echo "$ac_cv_cpp_def___powerpc64__" >&6; }
16751 if test "x$ac_cv_cpp_def___powerpc64__" = xyes
; then :
16752 CFLAGS
="$CFLAGS -D__powerpc64__"
16753 LINTFLAGS
="$LINTFLAGS -D__powerpc64__"
16755 *powerpc
*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __powerpc__" >&5
16756 $as_echo_n "checking whether we need to define __powerpc__... " >&6; }
16757 if ${ac_cv_cpp_def___powerpc__+:} false
; then :
16758 $as_echo_n "(cached) " >&6
16760 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
16761 /* end confdefs.h. */
16762 #ifndef __powerpc__
16766 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
16767 $EGREP "yes" >/dev
/null
2>&1; then :
16768 ac_cv_cpp_def___powerpc__
=yes
16770 ac_cv_cpp_def___powerpc__
=no
16775 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___powerpc__" >&5
16776 $as_echo "$ac_cv_cpp_def___powerpc__" >&6; }
16777 if test "x$ac_cv_cpp_def___powerpc__" = xyes
; then :
16778 CFLAGS
="$CFLAGS -D__powerpc__"
16779 LINTFLAGS
="$LINTFLAGS -D__powerpc__"
16781 *aarch64
*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __aarch64__" >&5
16782 $as_echo_n "checking whether we need to define __aarch64__... " >&6; }
16783 if ${ac_cv_cpp_def___aarch64__+:} false
; then :
16784 $as_echo_n "(cached) " >&6
16786 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
16787 /* end confdefs.h. */
16788 #ifndef __aarch64__
16792 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
16793 $EGREP "yes" >/dev
/null
2>&1; then :
16794 ac_cv_cpp_def___aarch64__
=yes
16796 ac_cv_cpp_def___aarch64__
=no
16801 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___aarch64__" >&5
16802 $as_echo "$ac_cv_cpp_def___aarch64__" >&6; }
16803 if test "x$ac_cv_cpp_def___aarch64__" = xyes
; then :
16804 CFLAGS
="$CFLAGS -D__aarch64__"
16805 LINTFLAGS
="$LINTFLAGS -D__aarch64__"
16807 *arm
*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __arm__" >&5
16808 $as_echo_n "checking whether we need to define __arm__... " >&6; }
16809 if ${ac_cv_cpp_def___arm__+:} false
; then :
16810 $as_echo_n "(cached) " >&6
16812 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
16813 /* end confdefs.h. */
16818 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
16819 $EGREP "yes" >/dev
/null
2>&1; then :
16820 ac_cv_cpp_def___arm__
=yes
16822 ac_cv_cpp_def___arm__
=no
16827 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___arm__" >&5
16828 $as_echo "$ac_cv_cpp_def___arm__" >&6; }
16829 if test "x$ac_cv_cpp_def___arm__" = xyes
; then :
16830 CFLAGS
="$CFLAGS -D__arm__"
16831 LINTFLAGS
="$LINTFLAGS -D__arm__"
16835 case $host_vendor in
16836 *sun
*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __sun__" >&5
16837 $as_echo_n "checking whether we need to define __sun__... " >&6; }
16838 if ${ac_cv_cpp_def___sun__+:} false
; then :
16839 $as_echo_n "(cached) " >&6
16841 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
16842 /* end confdefs.h. */
16847 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
16848 $EGREP "yes" >/dev
/null
2>&1; then :
16849 ac_cv_cpp_def___sun__
=yes
16851 ac_cv_cpp_def___sun__
=no
16856 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___sun__" >&5
16857 $as_echo "$ac_cv_cpp_def___sun__" >&6; }
16858 if test "x$ac_cv_cpp_def___sun__" = xyes
; then :
16859 CFLAGS
="$CFLAGS -D__sun__"
16860 LINTFLAGS
="$LINTFLAGS -D__sun__"
16868 ac_config_commands
="$ac_config_commands include/stamp-h"
16870 $as_echo_n "creating Makefile rules..." >&6
16872 ALL_VARS_RULES
="OPENGL_LIBS = $OPENGL_LIBS
16873 SOCKET_LIBS = $SOCKET_LIBS
16874 COREFOUNDATION_LIBS = $COREFOUNDATION_LIBS
16875 IOKIT_LIBS = $IOKIT_LIBS
16876 FORCEFEEDBACK_LIBS = $FORCEFEEDBACK_LIBS
16877 APPLICATIONSERVICES_LIBS = $APPLICATIONSERVICES_LIBS
16878 CORESERVICES_LIBS = $CORESERVICES_LIBS
16879 APPKIT_LIBS = $APPKIT_LIBS
16880 DISKARBITRATION_LIBS = $DISKARBITRATION_LIBS
16881 SECURITY_LIBS = $SECURITY_LIBS
16882 COREAUDIO_LIBS = $COREAUDIO_LIBS
16883 OPENAL_LIBS = $OPENAL_LIBS
16884 OPENCL_LIBS = $OPENCL_LIBS
16885 QUICKTIME_LIBS = $QUICKTIME_LIBS
16886 CARBON_LIBS = $CARBON_LIBS
16887 PTHREAD_LIBS = $PTHREAD_LIBS
16888 X_CFLAGS = $X_CFLAGS
16889 X_PRE_LIBS = $X_PRE_LIBS
16891 X_EXTRA_LIBS = $X_EXTRA_LIBS
16892 XML2_CFLAGS = $XML2_CFLAGS
16893 XML2_LIBS = $XML2_LIBS
16894 XSLT_CFLAGS = $XSLT_CFLAGS
16895 XSLT_LIBS = $XSLT_LIBS
16896 DBUS_CFLAGS = $DBUS_CFLAGS
16897 DBUS_LIBS = $DBUS_LIBS
16898 HAL_CFLAGS = $HAL_CFLAGS
16899 HAL_LIBS = $HAL_LIBS
16900 GNUTLS_CFLAGS = $GNUTLS_CFLAGS
16901 GNUTLS_LIBS = $GNUTLS_LIBS
16902 SANE_CFLAGS = $SANE_CFLAGS
16903 SANE_LIBS = $SANE_LIBS
16904 GPHOTO2_CFLAGS = $GPHOTO2_CFLAGS
16905 GPHOTO2_LIBS = $GPHOTO2_LIBS
16906 GPHOTO2_PORT_CFLAGS = $GPHOTO2_PORT_CFLAGS
16907 GPHOTO2_PORT_LIBS = $GPHOTO2_PORT_LIBS
16908 RESOLV_LIBS = $RESOLV_LIBS
16909 LCMS2_CFLAGS = $LCMS2_CFLAGS
16910 LCMS2_LIBS = $LCMS2_LIBS
16911 FREETYPE_CFLAGS = $FREETYPE_CFLAGS
16912 FREETYPE_LIBS = $FREETYPE_LIBS
16914 GETTEXTPO_LIBS = $GETTEXTPO_LIBS
16915 GSTREAMER_CFLAGS = $GSTREAMER_CFLAGS
16916 GSTREAMER_LIBS = $GSTREAMER_LIBS
16917 ALSA_LIBS = $ALSA_LIBS
16918 OSS4_CFLAGS = $OSS4_CFLAGS
16919 CAPI20_CFLAGS = $CAPI20_CFLAGS
16920 CAPI20_LIBS = $CAPI20_LIBS
16921 CUPS_CFLAGS = $CUPS_CFLAGS
16922 FONTCONFIG_CFLAGS = $FONTCONFIG_CFLAGS
16923 FONTCONFIG_LIBS = $FONTCONFIG_LIBS
16924 JPEG_CFLAGS = $JPEG_CFLAGS
16925 JPEG_LIBS = $JPEG_LIBS
16926 PNG_CFLAGS = $PNG_CFLAGS
16927 PNG_LIBS = $PNG_LIBS
16928 TIFF_CFLAGS = $TIFF_CFLAGS
16929 TIFF_LIBS = $TIFF_LIBS
16930 MPG123_CFLAGS = $MPG123_CFLAGS
16931 MPG123_LIBS = $MPG123_LIBS
16932 KSTAT_LIBS = $KSTAT_LIBS
16933 PROCSTAT_LIBS = $PROCSTAT_LIBS
16935 POLL_LIBS = $POLL_LIBS
16937 LDAP_LIBS = $LDAP_LIBS
16942 wine_fn_append_rule
"
16943 # Rules automatically generated by configure
16945 CLEAN_FILES = *.o *.a *.so *.res *.fake *.ok *.tab.[ch] *.yy.c
16950 Makefile: $srcdir/Makefile.in $srcdir/Make.vars.in config.status \$(MAKEDEP)
16951 @./config.status Make.tmp Makefile"
16953 test "$srcdir" = .
&& wine_fn_append_rule
"all: .gitignore
16954 .gitignore: config.status
16955 @./config.status .gitignore"
16957 test -n "$CROSSTARGET" || wine_fn_append_rule
"crosstest:
16958 @echo \"crosstest is not supported (mingw not installed?)\" && false"
16960 if test "x$enable_fonts" != xno
; then
16961 ac_config_links
="$ac_config_links fonts/marlett.ttf:fonts/marlett.ttf"
16962 ac_config_links
="$ac_config_links fonts/symbol.ttf:fonts/symbol.ttf"
16963 ac_config_links
="$ac_config_links fonts/tahoma.ttf:fonts/tahoma.ttf"
16964 ac_config_links
="$ac_config_links fonts/tahomabd.ttf:fonts/tahomabd.ttf"
16965 test "$srcdir" = "." || wine_fn_config_symlink fonts
/marlett.ttf fonts
/symbol.ttf fonts
/tahoma.ttf fonts
/tahomabd.ttf
16967 ac_config_links
="$ac_config_links loader/l_intl.nls:loader/l_intl.nls"
16968 test "$srcdir" = "." || wine_fn_config_symlink loader
/l_intl.nls
16969 ac_config_links
="$ac_config_links po/LINGUAS:po/LINGUAS"
16970 test "$srcdir" = "." || wine_fn_config_symlink po
/LINGUAS
16971 ac_config_links
="$ac_config_links wine:tools/winewrapper"
16972 wine_fn_config_symlink wine
16973 if test "x$enable_win64" != xno
; then
16974 ac_config_links
="$ac_config_links wine64:tools/winewrapper"
16975 wine_fn_config_symlink wine64
16978 wine_fn_config_dll acledit enable_acledit
16979 wine_fn_config_dll aclui enable_aclui implib
16980 wine_fn_config_dll activeds enable_activeds implib
16981 wine_fn_config_dll actxprxy enable_actxprxy clean
16982 wine_fn_config_lib adsiid
16983 wine_fn_config_dll advapi32 enable_advapi32 clean
,implib
16984 wine_fn_config_test dlls
/advapi32
/tests advapi32_test
16985 wine_fn_config_dll advpack enable_advpack implib
16986 wine_fn_config_test dlls
/advpack
/tests advpack_test
16987 wine_fn_config_dll amstream enable_amstream clean
16988 wine_fn_config_test dlls
/amstream
/tests amstream_test
16989 wine_fn_config_dll api-ms-win-core-com-l1-1-0 enable_api_ms_win_core_com_l1_1_0
16990 wine_fn_config_dll api-ms-win-core-console-l1-1-0 enable_api_ms_win_core_console_l1_1_0
16991 wine_fn_config_dll api-ms-win-core-datetime-l1-1-0 enable_api_ms_win_core_datetime_l1_1_0
16992 wine_fn_config_dll api-ms-win-core-datetime-l1-1-1 enable_api_ms_win_core_datetime_l1_1_1
16993 wine_fn_config_dll api-ms-win-core-debug-l1-1-1 enable_api_ms_win_core_debug_l1_1_1
16994 wine_fn_config_dll api-ms-win-core-errorhandling-l1-1-1 enable_api_ms_win_core_errorhandling_l1_1_1
16995 wine_fn_config_dll api-ms-win-core-errorhandling-l1-1-2 enable_api_ms_win_core_errorhandling_l1_1_2
16996 wine_fn_config_dll api-ms-win-core-fibers-l1-1-0 enable_api_ms_win_core_fibers_l1_1_0
16997 wine_fn_config_dll api-ms-win-core-fibers-l1-1-1 enable_api_ms_win_core_fibers_l1_1_1
16998 wine_fn_config_dll api-ms-win-core-file-l1-2-0 enable_api_ms_win_core_file_l1_2_0
16999 wine_fn_config_dll api-ms-win-core-file-l2-1-0 enable_api_ms_win_core_file_l2_1_0
17000 wine_fn_config_dll api-ms-win-core-file-l2-1-1 enable_api_ms_win_core_file_l2_1_1
17001 wine_fn_config_dll api-ms-win-core-handle-l1-1-0 enable_api_ms_win_core_handle_l1_1_0
17002 wine_fn_config_dll api-ms-win-core-heap-l1-2-0 enable_api_ms_win_core_heap_l1_2_0
17003 wine_fn_config_dll api-ms-win-core-heap-obsolete-l1-1-0 enable_api_ms_win_core_heap_obsolete_l1_1_0
17004 wine_fn_config_dll api-ms-win-core-interlocked-l1-2-0 enable_api_ms_win_core_interlocked_l1_2_0
17005 wine_fn_config_dll api-ms-win-core-io-l1-1-1 enable_api_ms_win_core_io_l1_1_1
17006 wine_fn_config_dll api-ms-win-core-kernel32-legacy-l1-1-0 enable_api_ms_win_core_kernel32_legacy_l1_1_0
17007 wine_fn_config_dll api-ms-win-core-libraryloader-l1-1-1 enable_api_ms_win_core_libraryloader_l1_1_1
17008 wine_fn_config_dll api-ms-win-core-localization-l1-2-0 enable_api_ms_win_core_localization_l1_2_0
17009 wine_fn_config_dll api-ms-win-core-localization-l1-2-1 enable_api_ms_win_core_localization_l1_2_1
17010 wine_fn_config_dll api-ms-win-core-localization-obsolete-l1-1-0 enable_api_ms_win_core_localization_obsolete_l1_1_0
17011 wine_fn_config_dll api-ms-win-core-localregistry-l1-1-0 enable_api_ms_win_core_localregistry_l1_1_0
17012 wine_fn_config_dll api-ms-win-core-memory-l1-1-1 enable_api_ms_win_core_memory_l1_1_1
17013 wine_fn_config_dll api-ms-win-core-namedpipe-l1-2-0 enable_api_ms_win_core_namedpipe_l1_2_0
17014 wine_fn_config_dll api-ms-win-core-processenvironment-l1-2-0 enable_api_ms_win_core_processenvironment_l1_2_0
17015 wine_fn_config_dll api-ms-win-core-processthreads-l1-1-0 enable_api_ms_win_core_processthreads_l1_1_0
17016 wine_fn_config_dll api-ms-win-core-processthreads-l1-1-1 enable_api_ms_win_core_processthreads_l1_1_1
17017 wine_fn_config_dll api-ms-win-core-processthreads-l1-1-2 enable_api_ms_win_core_processthreads_l1_1_2
17018 wine_fn_config_dll api-ms-win-core-profile-l1-1-0 enable_api_ms_win_core_profile_l1_1_0
17019 wine_fn_config_dll api-ms-win-core-psapi-l1-1-0 enable_api_ms_win_core_psapi_l1_1_0
17020 wine_fn_config_dll api-ms-win-core-registry-l1-1-0 enable_api_ms_win_core_registry_l1_1_0
17021 wine_fn_config_dll api-ms-win-core-rtlsupport-l1-2-0 enable_api_ms_win_core_rtlsupport_l1_2_0
17022 wine_fn_config_dll api-ms-win-core-shlwapi-legacy-l1-1-0 enable_api_ms_win_core_shlwapi_legacy_l1_1_0
17023 wine_fn_config_dll api-ms-win-core-string-l1-1-0 enable_api_ms_win_core_string_l1_1_0
17024 wine_fn_config_dll api-ms-win-core-synch-l1-2-0 enable_api_ms_win_core_synch_l1_2_0
17025 wine_fn_config_dll api-ms-win-core-sysinfo-l1-2-0 enable_api_ms_win_core_sysinfo_l1_2_0
17026 wine_fn_config_dll api-ms-win-core-sysinfo-l1-2-1 enable_api_ms_win_core_sysinfo_l1_2_1
17027 wine_fn_config_dll api-ms-win-core-threadpool-legacy-l1-1-0 enable_api_ms_win_core_threadpool_legacy_l1_1_0
17028 wine_fn_config_dll api-ms-win-core-timezone-l1-1-0 enable_api_ms_win_core_timezone_l1_1_0
17029 wine_fn_config_dll api-ms-win-core-url-l1-1-0 enable_api_ms_win_core_url_l1_1_0
17030 wine_fn_config_dll api-ms-win-core-util-l1-1-0 enable_api_ms_win_core_util_l1_1_0
17031 wine_fn_config_dll api-ms-win-core-winrt-error-l1-1-0 enable_api_ms_win_core_winrt_error_l1_1_0
17032 wine_fn_config_dll api-ms-win-core-winrt-error-l1-1-1 enable_api_ms_win_core_winrt_error_l1_1_1
17033 wine_fn_config_dll api-ms-win-core-winrt-l1-1-0 enable_api_ms_win_core_winrt_l1_1_0
17034 wine_fn_config_dll api-ms-win-core-winrt-string-l1-1-0 enable_api_ms_win_core_winrt_string_l1_1_0
17035 wine_fn_config_dll api-ms-win-core-xstate-l2-1-0 enable_api_ms_win_core_xstate_l2_1_0
17036 wine_fn_config_dll api-ms-win-downlevel-advapi32-l1-1-0 enable_api_ms_win_downlevel_advapi32_l1_1_0
17037 wine_fn_config_dll api-ms-win-downlevel-advapi32-l2-1-0 enable_api_ms_win_downlevel_advapi32_l2_1_0
17038 wine_fn_config_dll api-ms-win-downlevel-normaliz-l1-1-0 enable_api_ms_win_downlevel_normaliz_l1_1_0
17039 wine_fn_config_dll api-ms-win-downlevel-ole32-l1-1-0 enable_api_ms_win_downlevel_ole32_l1_1_0
17040 wine_fn_config_dll api-ms-win-downlevel-shell32-l1-1-0 enable_api_ms_win_downlevel_shell32_l1_1_0
17041 wine_fn_config_dll api-ms-win-downlevel-shlwapi-l1-1-0 enable_api_ms_win_downlevel_shlwapi_l1_1_0
17042 wine_fn_config_dll api-ms-win-downlevel-shlwapi-l2-1-0 enable_api_ms_win_downlevel_shlwapi_l2_1_0
17043 wine_fn_config_dll api-ms-win-downlevel-user32-l1-1-0 enable_api_ms_win_downlevel_user32_l1_1_0
17044 wine_fn_config_dll api-ms-win-downlevel-version-l1-1-0 enable_api_ms_win_downlevel_version_l1_1_0
17045 wine_fn_config_dll api-ms-win-eventing-provider-l1-1-0 enable_api_ms_win_eventing_provider_l1_1_0
17046 wine_fn_config_dll api-ms-win-ntuser-dc-access-l1-1-0 enable_api_ms_win_ntuser_dc_access_l1_1_0
17047 wine_fn_config_dll api-ms-win-security-base-l1-1-0 enable_api_ms_win_security_base_l1_1_0
17048 wine_fn_config_dll api-ms-win-security-base-l1-2-0 enable_api_ms_win_security_base_l1_2_0
17049 wine_fn_config_dll api-ms-win-security-sddl-l1-1-0 enable_api_ms_win_security_sddl_l1_1_0
17050 wine_fn_config_dll api-ms-win-service-core-l1-1-1 enable_api_ms_win_service_core_l1_1_1
17051 wine_fn_config_dll api-ms-win-service-management-l1-1-0 enable_api_ms_win_service_management_l1_1_0
17052 wine_fn_config_dll api-ms-win-service-winsvc-l1-2-0 enable_api_ms_win_service_winsvc_l1_2_0
17053 wine_fn_config_dll apphelp enable_apphelp
17054 wine_fn_config_test dlls
/apphelp
/tests apphelp_test
17055 wine_fn_config_dll appwiz.cpl enable_appwiz_cpl po
17056 wine_fn_config_dll atl enable_atl clean
,implib
17057 wine_fn_config_test dlls
/atl
/tests atl_test
17058 wine_fn_config_dll atl100 enable_atl100 clean
,implib
17059 wine_fn_config_test dlls
/atl100
/tests atl100_test
17060 wine_fn_config_dll atl110 enable_atl110 clean
17061 wine_fn_config_dll atl80 enable_atl80 clean
,implib
17062 wine_fn_config_test dlls
/atl80
/tests atl80_test
17063 wine_fn_config_dll atl90 enable_atl90 clean
17064 wine_fn_config_dll authz enable_authz
17065 wine_fn_config_dll avicap32 enable_avicap32 implib
17066 wine_fn_config_dll avifil32 enable_avifil32 clean
,implib
,po
17067 wine_fn_config_test dlls
/avifil32
/tests avifil32_test
17068 wine_fn_config_dll avifile.dll16 enable_win16
17069 wine_fn_config_dll avrt enable_avrt implib
17070 wine_fn_config_dll bcrypt enable_bcrypt
17071 wine_fn_config_test dlls
/bcrypt
/tests bcrypt_test
17072 wine_fn_config_dll browseui enable_browseui clean
,po
17073 wine_fn_config_test dlls
/browseui
/tests browseui_test
17074 wine_fn_config_dll cabinet enable_cabinet implib
17075 wine_fn_config_test dlls
/cabinet
/tests cabinet_test
17076 wine_fn_config_dll capi2032 enable_capi2032 implib
17077 wine_fn_config_dll cards enable_cards implib
17078 wine_fn_config_dll cfgmgr32 enable_cfgmgr32 implib
17079 wine_fn_config_dll clusapi enable_clusapi implib
17080 wine_fn_config_dll combase enable_combase
17081 wine_fn_config_test dlls
/combase
/tests combase_test
17082 wine_fn_config_dll comcat enable_comcat
17083 wine_fn_config_test dlls
/comcat
/tests comcat_test
17084 wine_fn_config_dll comctl32 enable_comctl32 implib
,po
17085 wine_fn_config_test dlls
/comctl32
/tests comctl32_test
17086 wine_fn_config_dll comdlg32 enable_comdlg32 clean
,implib
,po
17087 wine_fn_config_test dlls
/comdlg32
/tests comdlg32_test
17088 wine_fn_config_dll
comm.drv16 enable_win16
17089 wine_fn_config_dll commdlg.dll16 enable_win16
17090 wine_fn_config_dll compobj.dll16 enable_win16
17091 wine_fn_config_dll compstui enable_compstui implib
17092 wine_fn_config_dll comsvcs enable_comsvcs implib
17093 wine_fn_config_dll connect enable_connect
17094 wine_fn_config_dll credui enable_credui implib
,po
17095 wine_fn_config_test dlls
/credui
/tests credui_test
17096 wine_fn_config_dll crtdll enable_crtdll implib
17097 wine_fn_config_dll crypt32 enable_crypt32 implib
,po
17098 wine_fn_config_test dlls
/crypt32
/tests crypt32_test
17099 wine_fn_config_dll cryptdlg enable_cryptdlg po
17100 wine_fn_config_dll cryptdll enable_cryptdll implib
17101 wine_fn_config_dll cryptext enable_cryptext
17102 wine_fn_config_dll cryptnet enable_cryptnet implib
17103 wine_fn_config_test dlls
/cryptnet
/tests cryptnet_test
17104 wine_fn_config_dll cryptui enable_cryptui implib
,po
17105 wine_fn_config_test dlls
/cryptui
/tests cryptui_test
17106 wine_fn_config_dll ctapi32 enable_ctapi32
17107 wine_fn_config_dll ctl3d.dll16 enable_win16
17108 wine_fn_config_dll ctl3d32 enable_ctl3d32 implib
17109 wine_fn_config_dll ctl3dv2.dll16 enable_win16
17110 wine_fn_config_dll d2d1 enable_d2d1 implib
17111 wine_fn_config_test dlls
/d2d
1/tests d2d1_test
17112 wine_fn_config_dll d3d10 enable_d3d10 implib
17113 wine_fn_config_test dlls
/d3d10
/tests d3d10_test
17114 wine_fn_config_dll d3d10_1 enable_d3d10_1 implib
17115 wine_fn_config_dll d3d10core enable_d3d10core implib
17116 wine_fn_config_test dlls
/d3d10core
/tests d3d10core_test
17117 wine_fn_config_dll d3d11 enable_d3d11
17118 wine_fn_config_dll d3d8 enable_d3d8 implib
17119 wine_fn_config_test dlls
/d3d
8/tests d3d8_test
17120 wine_fn_config_dll d3d9 enable_d3d9 implib
17121 wine_fn_config_test dlls
/d3d
9/tests d3d9_test
17122 wine_fn_config_dll d3dcompiler_33 enable_d3dcompiler_33
17123 wine_fn_config_dll d3dcompiler_34 enable_d3dcompiler_34
17124 wine_fn_config_dll d3dcompiler_35 enable_d3dcompiler_35
17125 wine_fn_config_dll d3dcompiler_36 enable_d3dcompiler_36
17126 wine_fn_config_dll d3dcompiler_37 enable_d3dcompiler_37
17127 wine_fn_config_dll d3dcompiler_38 enable_d3dcompiler_38
17128 wine_fn_config_dll d3dcompiler_39 enable_d3dcompiler_39
17129 wine_fn_config_dll d3dcompiler_40 enable_d3dcompiler_40
17130 wine_fn_config_dll d3dcompiler_41 enable_d3dcompiler_41
17131 wine_fn_config_dll d3dcompiler_42 enable_d3dcompiler_42
17132 wine_fn_config_dll d3dcompiler_43 enable_d3dcompiler_43 implib d3dcompiler
17133 wine_fn_config_test dlls
/d3dcompiler_43
/tests d3dcompiler_43_test
17134 wine_fn_config_dll d3dim enable_d3dim implib
17135 wine_fn_config_dll d3drm enable_d3drm implib
17136 wine_fn_config_test dlls
/d3drm
/tests d3drm_test
17137 wine_fn_config_dll d3dx10_33 enable_d3dx10_33
17138 wine_fn_config_dll d3dx10_34 enable_d3dx10_34
17139 wine_fn_config_dll d3dx10_35 enable_d3dx10_35
17140 wine_fn_config_dll d3dx10_36 enable_d3dx10_36
17141 wine_fn_config_dll d3dx10_37 enable_d3dx10_37
17142 wine_fn_config_dll d3dx10_38 enable_d3dx10_38
17143 wine_fn_config_dll d3dx10_39 enable_d3dx10_39
17144 wine_fn_config_dll d3dx10_40 enable_d3dx10_40
17145 wine_fn_config_dll d3dx10_41 enable_d3dx10_41
17146 wine_fn_config_dll d3dx10_42 enable_d3dx10_42
17147 wine_fn_config_dll d3dx10_43 enable_d3dx10_43
17148 wine_fn_config_dll d3dx11_42 enable_d3dx11_42
17149 wine_fn_config_dll d3dx11_43 enable_d3dx11_43
17150 wine_fn_config_dll d3dx9_24 enable_d3dx9_24
17151 wine_fn_config_dll d3dx9_25 enable_d3dx9_25
17152 wine_fn_config_dll d3dx9_26 enable_d3dx9_26
17153 wine_fn_config_dll d3dx9_27 enable_d3dx9_27
17154 wine_fn_config_dll d3dx9_28 enable_d3dx9_28
17155 wine_fn_config_dll d3dx9_29 enable_d3dx9_29
17156 wine_fn_config_dll d3dx9_30 enable_d3dx9_30
17157 wine_fn_config_dll d3dx9_31 enable_d3dx9_31
17158 wine_fn_config_dll d3dx9_32 enable_d3dx9_32
17159 wine_fn_config_dll d3dx9_33 enable_d3dx9_33
17160 wine_fn_config_dll d3dx9_34 enable_d3dx9_34
17161 wine_fn_config_dll d3dx9_35 enable_d3dx9_35
17162 wine_fn_config_dll d3dx9_36 enable_d3dx9_36 implib d3dx9
17163 wine_fn_config_test dlls
/d3dx9_36
/tests d3dx9_36_test
17164 wine_fn_config_dll d3dx9_37 enable_d3dx9_37
17165 wine_fn_config_dll d3dx9_38 enable_d3dx9_38
17166 wine_fn_config_dll d3dx9_39 enable_d3dx9_39
17167 wine_fn_config_dll d3dx9_40 enable_d3dx9_40
17168 wine_fn_config_dll d3dx9_41 enable_d3dx9_41
17169 wine_fn_config_dll d3dx9_42 enable_d3dx9_42
17170 wine_fn_config_dll d3dx9_43 enable_d3dx9_43
17171 wine_fn_config_dll d3dxof enable_d3dxof clean
,implib
17172 wine_fn_config_test dlls
/d3dxof
/tests d3dxof_test
17173 wine_fn_config_dll dbgeng enable_dbgeng implib
17174 wine_fn_config_dll dbghelp enable_dbghelp implib
17175 wine_fn_config_dll dciman32 enable_dciman32 implib
17176 wine_fn_config_dll ddeml.dll16 enable_win16
17177 wine_fn_config_dll ddraw enable_ddraw clean
,implib
17178 wine_fn_config_test dlls
/ddraw
/tests ddraw_test
17179 wine_fn_config_dll ddrawex enable_ddrawex clean
17180 wine_fn_config_test dlls
/ddrawex
/tests ddrawex_test
17181 wine_fn_config_dll devenum enable_devenum clean
,po
17182 wine_fn_config_test dlls
/devenum
/tests devenum_test
17183 wine_fn_config_dll dhcpcsvc enable_dhcpcsvc
17184 wine_fn_config_dll difxapi enable_difxapi
17185 wine_fn_config_dll dinput enable_dinput clean
,implib
,po
,staticimplib
17186 wine_fn_config_test dlls
/dinput
/tests dinput_test
17187 wine_fn_config_dll dinput8 enable_dinput8 clean
,implib
17188 wine_fn_config_test dlls
/dinput
8/tests dinput8_test
17189 wine_fn_config_dll dispdib.dll16 enable_win16
17190 wine_fn_config_dll dispex enable_dispex clean
17191 wine_fn_config_test dlls
/dispex
/tests dispex_test
17192 wine_fn_config_dll display.drv16 enable_win16
17193 wine_fn_config_dll dmband enable_dmband clean
17194 wine_fn_config_test dlls
/dmband
/tests dmband_test
17195 wine_fn_config_dll dmcompos enable_dmcompos clean
17196 wine_fn_config_test dlls
/dmcompos
/tests dmcompos_test
17197 wine_fn_config_dll dmime enable_dmime clean
17198 wine_fn_config_test dlls
/dmime
/tests dmime_test
17199 wine_fn_config_dll dmloader enable_dmloader clean
17200 wine_fn_config_test dlls
/dmloader
/tests dmloader_test
17201 wine_fn_config_dll dmscript enable_dmscript clean
17202 wine_fn_config_test dlls
/dmscript
/tests dmscript_test
17203 wine_fn_config_dll dmstyle enable_dmstyle clean
17204 wine_fn_config_test dlls
/dmstyle
/tests dmstyle_test
17205 wine_fn_config_dll dmsynth enable_dmsynth clean
17206 wine_fn_config_test dlls
/dmsynth
/tests dmsynth_test
17207 wine_fn_config_dll dmusic enable_dmusic clean
17208 wine_fn_config_test dlls
/dmusic
/tests dmusic_test
17209 wine_fn_config_dll dmusic32 enable_dmusic32 implib
17210 wine_fn_config_dll dnsapi enable_dnsapi implib
17211 wine_fn_config_test dlls
/dnsapi
/tests dnsapi_test
17212 wine_fn_config_dll dplay enable_dplay implib
17213 wine_fn_config_dll dplayx enable_dplayx clean
,implib
17214 wine_fn_config_test dlls
/dplayx
/tests dplayx_test
17215 wine_fn_config_dll dpnaddr enable_dpnaddr
17216 wine_fn_config_dll dpnet enable_dpnet clean
,implib
17217 wine_fn_config_test dlls
/dpnet
/tests dpnet_test
17218 wine_fn_config_dll dpnhpast enable_dpnhpast
17219 wine_fn_config_dll dpnlobby enable_dpnlobby
17220 wine_fn_config_dll dpvoice enable_dpvoice clean
17221 wine_fn_config_test dlls
/dpvoice
/tests dpvoice_test
17222 wine_fn_config_dll dpwsockx enable_dpwsockx
17223 wine_fn_config_dll drmclien enable_drmclien
17224 wine_fn_config_dll dsound enable_dsound clean
,implib
17225 wine_fn_config_test dlls
/dsound
/tests dsound_test
17226 wine_fn_config_dll dssenh enable_dssenh
17227 wine_fn_config_test dlls
/dssenh
/tests dssenh_test
17228 wine_fn_config_dll dswave enable_dswave clean
17229 wine_fn_config_test dlls
/dswave
/tests dswave_test
17230 wine_fn_config_dll dwmapi enable_dwmapi implib
17231 wine_fn_config_dll dwrite enable_dwrite implib
17232 wine_fn_config_test dlls
/dwrite
/tests dwrite_test
17233 wine_fn_config_dll dxdiagn enable_dxdiagn clean
,po
17234 wine_fn_config_test dlls
/dxdiagn
/tests dxdiagn_test
17235 wine_fn_config_lib dxerr8
17236 wine_fn_config_lib dxerr9
17237 wine_fn_config_dll dxgi enable_dxgi implib
17238 wine_fn_config_test dlls
/dxgi
/tests dxgi_test
17239 wine_fn_config_lib dxguid
17240 wine_fn_config_dll dxva2 enable_dxva2
17241 wine_fn_config_dll evr enable_evr
17242 wine_fn_config_dll explorerframe enable_explorerframe clean
17243 wine_fn_config_test dlls
/explorerframe
/tests explorerframe_test
17244 wine_fn_config_dll ext-ms-win-gdi-devcaps-l1-1-0 enable_ext_ms_win_gdi_devcaps_l1_1_0
17245 wine_fn_config_dll faultrep enable_faultrep implib
17246 wine_fn_config_test dlls
/faultrep
/tests faultrep_test
17247 wine_fn_config_dll fltlib enable_fltlib
17248 wine_fn_config_dll fntcache enable_fntcache
17249 wine_fn_config_dll fontsub enable_fontsub
17250 wine_fn_config_dll fusion enable_fusion
17251 wine_fn_config_test dlls
/fusion
/tests fusion_test
17252 wine_fn_config_dll fwpuclnt enable_fwpuclnt
17253 wine_fn_config_dll gameux enable_gameux clean
17254 wine_fn_config_test dlls
/gameux
/tests gameux_test
17255 wine_fn_config_dll gdi.exe16 enable_win16
17256 wine_fn_config_dll gdi32 enable_gdi32 clean
,implib
,po
17257 wine_fn_config_test dlls
/gdi32
/tests gdi32_test
17258 wine_fn_config_dll gdiplus enable_gdiplus implib
17259 wine_fn_config_test dlls
/gdiplus
/tests gdiplus_test
17260 wine_fn_config_dll glu32 enable_glu32 implib
17261 wine_fn_config_dll gphoto2.ds enable_gphoto2_ds po
17262 wine_fn_config_dll gpkcsp enable_gpkcsp
17263 wine_fn_config_dll hal enable_hal
17264 wine_fn_config_dll hhctrl.ocx enable_hhctrl_ocx clean
,implib
,po htmlhelp
17265 wine_fn_config_dll hid enable_hid implib
17266 wine_fn_config_dll hlink enable_hlink clean
,implib
17267 wine_fn_config_test dlls
/hlink
/tests hlink_test
17268 wine_fn_config_dll hnetcfg enable_hnetcfg clean
17269 wine_fn_config_dll httpapi enable_httpapi
17270 wine_fn_config_dll iccvid enable_iccvid po
17271 wine_fn_config_dll icmp enable_icmp
17272 wine_fn_config_dll ieframe enable_ieframe clean
,implib
,po
17273 wine_fn_config_test dlls
/ieframe
/tests ieframe_test
17274 wine_fn_config_dll ifsmgr.vxd enable_win16
17275 wine_fn_config_dll imaadp32.acm enable_imaadp32_acm
17276 wine_fn_config_dll imagehlp enable_imagehlp implib
17277 wine_fn_config_test dlls
/imagehlp
/tests imagehlp_test
17278 wine_fn_config_dll imm.dll16 enable_win16
17279 wine_fn_config_dll imm32 enable_imm32 implib
17280 wine_fn_config_test dlls
/imm32
/tests imm32_test
17281 wine_fn_config_dll inetcomm enable_inetcomm clean
,implib
17282 wine_fn_config_test dlls
/inetcomm
/tests inetcomm_test
17283 wine_fn_config_dll inetcpl.cpl enable_inetcpl_cpl po
17284 wine_fn_config_dll inetmib1 enable_inetmib1
17285 wine_fn_config_test dlls
/inetmib
1/tests inetmib1_test
17286 wine_fn_config_dll infosoft enable_infosoft clean
17287 wine_fn_config_test dlls
/infosoft
/tests infosoft_test
17288 wine_fn_config_dll initpki enable_initpki
17289 wine_fn_config_dll inkobj enable_inkobj
17290 wine_fn_config_dll inseng enable_inseng clean
17291 wine_fn_config_dll iphlpapi enable_iphlpapi implib
17292 wine_fn_config_test dlls
/iphlpapi
/tests iphlpapi_test
17293 wine_fn_config_dll itircl enable_itircl
17294 wine_fn_config_dll itss enable_itss clean
17295 wine_fn_config_test dlls
/itss
/tests itss_test
17296 wine_fn_config_dll joy.cpl enable_joy_cpl po
17297 wine_fn_config_dll jscript enable_jscript clean
,po
17298 wine_fn_config_test dlls
/jscript
/tests jscript_test
17299 wine_fn_config_dll jsproxy enable_jsproxy implib
17300 wine_fn_config_dll kernel32 enable_kernel32 clean
,implib
,mc
17301 wine_fn_config_test dlls
/kernel32
/tests kernel32_test
17302 wine_fn_config_dll keyboard.drv16 enable_win16
17303 wine_fn_config_dll krnl386.exe16 enable_win16 implib kernel
17304 wine_fn_config_dll ksuser enable_ksuser
17305 wine_fn_config_dll ktmw32 enable_ktmw32
17306 wine_fn_config_dll loadperf enable_loadperf implib
17307 wine_fn_config_dll localspl enable_localspl po
17308 wine_fn_config_test dlls
/localspl
/tests localspl_test
17309 wine_fn_config_dll localui enable_localui po
17310 wine_fn_config_test dlls
/localui
/tests localui_test
17311 wine_fn_config_dll lz32 enable_lz32 implib
17312 wine_fn_config_test dlls
/lz32
/tests lz32_test
17313 wine_fn_config_dll lzexpand.dll16 enable_win16
17314 wine_fn_config_dll mapi32 enable_mapi32 implib
,po
17315 wine_fn_config_test dlls
/mapi32
/tests mapi32_test
17316 wine_fn_config_dll mapistub enable_mapistub
17317 wine_fn_config_dll mciavi32 enable_mciavi32
17318 wine_fn_config_dll mcicda enable_mcicda
17319 wine_fn_config_dll mciqtz32 enable_mciqtz32
17320 wine_fn_config_dll mciseq enable_mciseq
17321 wine_fn_config_dll mciwave enable_mciwave
17322 wine_fn_config_dll mf enable_mf
17323 wine_fn_config_dll mfplat enable_mfplat
17324 wine_fn_config_dll mfreadwrite enable_mfreadwrite
17325 wine_fn_config_dll mgmtapi enable_mgmtapi
17326 wine_fn_config_dll midimap enable_midimap
17327 wine_fn_config_dll mlang enable_mlang clean
,implib
17328 wine_fn_config_test dlls
/mlang
/tests mlang_test
17329 wine_fn_config_dll mmcndmgr enable_mmcndmgr clean
17330 wine_fn_config_test dlls
/mmcndmgr
/tests mmcndmgr_test
17331 wine_fn_config_dll mmdevapi enable_mmdevapi clean
17332 wine_fn_config_test dlls
/mmdevapi
/tests mmdevapi_test
17333 wine_fn_config_dll mmdevldr.vxd enable_win16
17334 wine_fn_config_dll mmsystem.dll16 enable_win16
17335 wine_fn_config_dll monodebg.vxd enable_win16
17336 wine_fn_config_dll mountmgr.sys enable_mountmgr_sys
17337 wine_fn_config_dll mouse.drv16 enable_win16
17338 wine_fn_config_dll mpr enable_mpr implib
,po
17339 wine_fn_config_test dlls
/mpr
/tests mpr_test
17340 wine_fn_config_dll mprapi enable_mprapi implib
17341 wine_fn_config_dll msacm.dll16 enable_win16
17342 wine_fn_config_dll msacm32.drv enable_msacm32_drv
17343 wine_fn_config_dll msacm32 enable_msacm32 implib
,po
17344 wine_fn_config_test dlls
/msacm32
/tests msacm32_test
17345 wine_fn_config_dll msadp32.acm enable_msadp32_acm
17346 wine_fn_config_dll msasn1 enable_msasn1 implib
17347 wine_fn_config_dll mscat32 enable_mscat32
17348 wine_fn_config_dll mscms enable_mscms implib
17349 wine_fn_config_test dlls
/mscms
/tests mscms_test
17350 wine_fn_config_dll mscoree enable_mscoree clean
17351 wine_fn_config_test dlls
/mscoree
/tests mscoree_test
17352 wine_fn_config_dll msctf enable_msctf clean
17353 wine_fn_config_test dlls
/msctf
/tests msctf_test
17354 wine_fn_config_dll msdaps enable_msdaps clean
17355 wine_fn_config_dll msdmo enable_msdmo implib
17356 wine_fn_config_test dlls
/msdmo
/tests msdmo_test
17357 wine_fn_config_dll msftedit enable_msftedit
17358 wine_fn_config_dll msg711.acm enable_msg711_acm
17359 wine_fn_config_dll msgsm32.acm enable_msgsm32_acm
17360 wine_fn_config_dll mshtml.tlb enable_mshtml_tlb clean
17361 wine_fn_config_dll mshtml enable_mshtml clean
,implib
,po
17362 wine_fn_config_test dlls
/mshtml
/tests mshtml_test clean
17363 wine_fn_config_dll msi enable_msi clean
,implib
,po
17364 wine_fn_config_test dlls
/msi
/tests msi_test
17365 wine_fn_config_dll msident enable_msident clean
17366 wine_fn_config_dll msimg32 enable_msimg32 implib
17367 wine_fn_config_dll msimsg enable_msimsg
17368 wine_fn_config_dll msimtf enable_msimtf clean
17369 wine_fn_config_dll msisip enable_msisip
17370 wine_fn_config_dll msisys.ocx enable_msisys_ocx
17371 wine_fn_config_dll msls31 enable_msls31
17372 wine_fn_config_dll msnet32 enable_msnet32
17373 wine_fn_config_dll mspatcha enable_mspatcha
17374 wine_fn_config_dll msrle32 enable_msrle32 po
17375 wine_fn_config_test dlls
/msrle32
/tests msrle32_test
17376 wine_fn_config_dll mssign32 enable_mssign32
17377 wine_fn_config_dll mssip32 enable_mssip32
17378 wine_fn_config_dll mstask enable_mstask clean
17379 wine_fn_config_test dlls
/mstask
/tests mstask_test
17380 wine_fn_config_dll msvcirt enable_msvcirt
17381 wine_fn_config_dll msvcm80 enable_msvcm80
17382 wine_fn_config_dll msvcm90 enable_msvcm90
17383 wine_fn_config_dll msvcp100 enable_msvcp100
17384 wine_fn_config_test dlls
/msvcp100
/tests msvcp100_test
17385 wine_fn_config_dll msvcp110 enable_msvcp110
17386 wine_fn_config_dll msvcp120 enable_msvcp120
17387 wine_fn_config_test dlls
/msvcp120
/tests msvcp120_test
17388 wine_fn_config_dll msvcp120_app enable_msvcp120_app
17389 wine_fn_config_dll msvcp60 enable_msvcp60
17390 wine_fn_config_test dlls
/msvcp60
/tests msvcp60_test
17391 wine_fn_config_dll msvcp70 enable_msvcp70
17392 wine_fn_config_dll msvcp71 enable_msvcp71
17393 wine_fn_config_dll msvcp80 enable_msvcp80
17394 wine_fn_config_dll msvcp90 enable_msvcp90
17395 wine_fn_config_test dlls
/msvcp90
/tests msvcp90_test
17396 wine_fn_config_dll msvcr100 enable_msvcr100 implib
17397 wine_fn_config_test dlls
/msvcr100
/tests msvcr100_test
17398 wine_fn_config_dll msvcr110 enable_msvcr110 implib
17399 wine_fn_config_dll msvcr120 enable_msvcr120 implib
17400 wine_fn_config_test dlls
/msvcr120
/tests msvcr120_test
17401 wine_fn_config_dll msvcr120_app enable_msvcr120_app
17402 wine_fn_config_dll msvcr70 enable_msvcr70 implib
17403 wine_fn_config_dll msvcr71 enable_msvcr71 implib
17404 wine_fn_config_dll msvcr80 enable_msvcr80 implib
17405 wine_fn_config_dll msvcr90 enable_msvcr90 implib
17406 wine_fn_config_test dlls
/msvcr90
/tests msvcr90_test
17407 wine_fn_config_dll msvcrt enable_msvcrt implib
17408 wine_fn_config_test dlls
/msvcrt
/tests msvcrt_test
17409 wine_fn_config_dll msvcrt20 enable_msvcrt20 implib
17410 wine_fn_config_dll msvcrt40 enable_msvcrt40 implib
17411 wine_fn_config_dll msvcrtd enable_msvcrtd implib
17412 wine_fn_config_test dlls
/msvcrtd
/tests msvcrtd_test
17413 wine_fn_config_dll msvfw32 enable_msvfw32 implib
,po
17414 wine_fn_config_test dlls
/msvfw32
/tests msvfw32_test
17415 wine_fn_config_dll msvidc32 enable_msvidc32 po
17416 wine_fn_config_dll msvideo.dll16 enable_win16
17417 wine_fn_config_dll mswsock enable_mswsock implib
17418 wine_fn_config_dll msxml enable_msxml clean
17419 wine_fn_config_dll msxml2 enable_msxml2 clean
17420 wine_fn_config_dll msxml3 enable_msxml3 clean
17421 wine_fn_config_test dlls
/msxml
3/tests msxml3_test clean
17422 wine_fn_config_dll msxml4 enable_msxml4 clean
17423 wine_fn_config_dll msxml6 enable_msxml6 clean
17424 wine_fn_config_dll nddeapi enable_nddeapi implib
17425 wine_fn_config_dll ndis.sys enable_ndis_sys
17426 wine_fn_config_dll netapi32 enable_netapi32 implib
17427 wine_fn_config_test dlls
/netapi32
/tests netapi32_test
17428 wine_fn_config_dll netcfgx enable_netcfgx clean
17429 wine_fn_config_test dlls
/netcfgx
/tests netcfgx_test
17430 wine_fn_config_dll netprofm enable_netprofm clean
17431 wine_fn_config_test dlls
/netprofm
/tests netprofm_test
17432 wine_fn_config_dll newdev enable_newdev implib
17433 wine_fn_config_dll normaliz enable_normaliz implib
17434 wine_fn_config_dll npmshtml enable_npmshtml
17435 wine_fn_config_dll npptools enable_npptools
17436 wine_fn_config_dll ntdll enable_ntdll implib
17437 wine_fn_config_test dlls
/ntdll
/tests ntdll_test
17438 wine_fn_config_dll ntdsapi enable_ntdsapi implib
17439 wine_fn_config_test dlls
/ntdsapi
/tests ntdsapi_test
17440 wine_fn_config_dll ntoskrnl.exe enable_ntoskrnl_exe implib
17441 wine_fn_config_dll ntprint enable_ntprint
17442 wine_fn_config_test dlls
/ntprint
/tests ntprint_test
17443 wine_fn_config_dll objsel enable_objsel clean
17444 wine_fn_config_dll odbc32 enable_odbc32 implib
17445 wine_fn_config_dll odbccp32 enable_odbccp32 implib
17446 wine_fn_config_test dlls
/odbccp32
/tests odbccp32_test
17447 wine_fn_config_dll odbccu32 enable_odbccu32
17448 wine_fn_config_dll ole2.dll16 enable_win16
17449 wine_fn_config_dll ole2conv.dll16 enable_win16
17450 wine_fn_config_dll ole2disp.dll16 enable_win16
17451 wine_fn_config_dll ole2nls.dll16 enable_win16
17452 wine_fn_config_dll ole2prox.dll16 enable_win16
17453 wine_fn_config_dll ole2thk.dll16 enable_win16
17454 wine_fn_config_dll ole32 enable_ole32 clean
,implib
17455 wine_fn_config_test dlls
/ole32
/tests ole32_test
17456 wine_fn_config_dll oleacc enable_oleacc clean
,implib
,po
17457 wine_fn_config_test dlls
/oleacc
/tests oleacc_test
17458 wine_fn_config_dll oleaut32 enable_oleaut32 clean
,implib
,po
17459 wine_fn_config_test dlls
/oleaut32
/tests oleaut32_test clean
17460 wine_fn_config_dll olecli.dll16 enable_win16
17461 wine_fn_config_dll olecli32 enable_olecli32 implib
17462 wine_fn_config_dll oledb32 enable_oledb32 clean
17463 wine_fn_config_test dlls
/oledb32
/tests oledb32_test clean
17464 wine_fn_config_dll oledlg enable_oledlg implib
,po
17465 wine_fn_config_dll olepro32 enable_olepro32 implib
17466 wine_fn_config_dll olesvr.dll16 enable_win16
17467 wine_fn_config_dll olesvr32 enable_olesvr32 implib
17468 wine_fn_config_dll olethk32 enable_olethk32
17469 wine_fn_config_dll openal32 enable_openal32
17470 wine_fn_config_dll opencl enable_opencl
17471 wine_fn_config_dll opengl32 enable_opengl32 implib
17472 wine_fn_config_test dlls
/opengl32
/tests opengl32_test
17473 wine_fn_config_dll packager enable_packager clean
17474 wine_fn_config_test dlls
/packager
/tests packager_test
17475 wine_fn_config_dll pdh enable_pdh implib
17476 wine_fn_config_test dlls
/pdh
/tests pdh_test
17477 wine_fn_config_dll photometadatahandler enable_photometadatahandler
17478 wine_fn_config_dll pidgen enable_pidgen
17479 wine_fn_config_dll powrprof enable_powrprof implib
17480 wine_fn_config_dll printui enable_printui
17481 wine_fn_config_dll prntvpt enable_prntvpt
17482 wine_fn_config_dll propsys enable_propsys clean
,implib
17483 wine_fn_config_test dlls
/propsys
/tests propsys_test
17484 wine_fn_config_dll psapi enable_psapi implib
17485 wine_fn_config_test dlls
/psapi
/tests psapi_test
17486 wine_fn_config_dll pstorec enable_pstorec clean
17487 wine_fn_config_dll qcap enable_qcap
17488 wine_fn_config_test dlls
/qcap
/tests qcap_test
17489 wine_fn_config_dll qedit enable_qedit clean
17490 wine_fn_config_test dlls
/qedit
/tests qedit_test
17491 wine_fn_config_dll qmgr enable_qmgr clean
17492 wine_fn_config_test dlls
/qmgr
/tests qmgr_test
17493 wine_fn_config_dll qmgrprxy enable_qmgrprxy clean
17494 wine_fn_config_dll quartz enable_quartz clean
,implib
17495 wine_fn_config_test dlls
/quartz
/tests quartz_test clean
17496 wine_fn_config_dll query enable_query
17497 wine_fn_config_dll rasapi16.dll16 enable_win16
17498 wine_fn_config_dll rasapi32 enable_rasapi32 implib
17499 wine_fn_config_test dlls
/rasapi32
/tests rasapi32_test
17500 wine_fn_config_dll rasdlg enable_rasdlg implib
17501 wine_fn_config_dll regapi enable_regapi
17502 wine_fn_config_dll resutils enable_resutils implib
17503 wine_fn_config_dll riched20 enable_riched20 implib
17504 wine_fn_config_test dlls
/riched20
/tests riched20_test
17505 wine_fn_config_dll riched32 enable_riched32
17506 wine_fn_config_test dlls
/riched32
/tests riched32_test
17507 wine_fn_config_dll rpcrt4 enable_rpcrt4 clean
,implib
17508 wine_fn_config_test dlls
/rpcrt
4/tests rpcrt4_test clean
17509 wine_fn_config_dll rsabase enable_rsabase
17510 wine_fn_config_dll rsaenh enable_rsaenh implib
17511 wine_fn_config_test dlls
/rsaenh
/tests rsaenh_test
17512 wine_fn_config_dll rstrtmgr enable_rstrtmgr
17513 wine_fn_config_dll rtutils enable_rtutils implib
17514 wine_fn_config_dll samlib enable_samlib
17515 wine_fn_config_dll sane.ds enable_sane_ds po
17516 wine_fn_config_dll scarddlg enable_scarddlg
17517 wine_fn_config_dll sccbase enable_sccbase
17518 wine_fn_config_dll schannel enable_schannel
17519 wine_fn_config_test dlls
/schannel
/tests schannel_test
17520 wine_fn_config_dll schedsvc enable_schedsvc clean
17521 wine_fn_config_test dlls
/schedsvc
/tests schedsvc_test clean
17522 wine_fn_config_dll scrrun enable_scrrun clean
17523 wine_fn_config_test dlls
/scrrun
/tests scrrun_test clean
17524 wine_fn_config_dll scsiport.sys enable_scsiport_sys
17525 wine_fn_config_dll secur32 enable_secur32 implib
17526 wine_fn_config_test dlls
/secur32
/tests secur32_test
17527 wine_fn_config_dll security enable_security
17528 wine_fn_config_dll sensapi enable_sensapi implib
17529 wine_fn_config_dll serialui enable_serialui implib
,po
17530 wine_fn_config_test dlls
/serialui
/tests serialui_test
17531 wine_fn_config_dll setupapi enable_setupapi implib
,po
17532 wine_fn_config_test dlls
/setupapi
/tests setupapi_test
17533 wine_fn_config_dll setupx.dll16 enable_win16
17534 wine_fn_config_dll sfc enable_sfc implib
17535 wine_fn_config_dll sfc_os enable_sfc_os implib
17536 wine_fn_config_dll shdoclc enable_shdoclc po
17537 wine_fn_config_dll shdocvw enable_shdocvw clean
,implib
17538 wine_fn_config_test dlls
/shdocvw
/tests shdocvw_test
17539 wine_fn_config_dll shell.dll16 enable_win16
17540 wine_fn_config_dll shell32 enable_shell32 clean
,implib
,po
17541 wine_fn_config_test dlls
/shell32
/tests shell32_test
17542 wine_fn_config_dll shfolder enable_shfolder implib
17543 wine_fn_config_dll shlwapi enable_shlwapi implib
,po
17544 wine_fn_config_test dlls
/shlwapi
/tests shlwapi_test
17545 wine_fn_config_dll slbcsp enable_slbcsp
17546 wine_fn_config_dll slc enable_slc implib
17547 wine_fn_config_test dlls
/slc
/tests slc_test
17548 wine_fn_config_dll snmpapi enable_snmpapi implib
17549 wine_fn_config_test dlls
/snmpapi
/tests snmpapi_test
17550 wine_fn_config_dll softpub enable_softpub
17551 wine_fn_config_dll sound.drv16 enable_win16
17552 wine_fn_config_dll spoolss enable_spoolss implib
17553 wine_fn_config_test dlls
/spoolss
/tests spoolss_test
17554 wine_fn_config_dll stdole2.tlb enable_stdole2_tlb clean
17555 wine_fn_config_dll stdole32.tlb enable_stdole32_tlb clean
17556 wine_fn_config_dll sti enable_sti clean
,implib
17557 wine_fn_config_test dlls
/sti
/tests sti_test
17558 wine_fn_config_dll storage.dll16 enable_win16
17559 wine_fn_config_dll stress.dll16 enable_win16
17560 wine_fn_config_lib strmbase
17561 wine_fn_config_lib strmiids
17562 wine_fn_config_dll svrapi enable_svrapi
17563 wine_fn_config_dll sxs enable_sxs implib
17564 wine_fn_config_test dlls
/sxs
/tests sxs_test
17565 wine_fn_config_dll system.drv16 enable_win16
17566 wine_fn_config_dll t2embed enable_t2embed
17567 wine_fn_config_dll tapi32 enable_tapi32 implib
17568 wine_fn_config_dll taskschd enable_taskschd clean
17569 wine_fn_config_test dlls
/taskschd
/tests taskschd_test
17570 wine_fn_config_dll toolhelp.dll16 enable_win16
17571 wine_fn_config_dll traffic enable_traffic
17572 wine_fn_config_dll twain.dll16 enable_win16
17573 wine_fn_config_dll twain_32 enable_twain_32
17574 wine_fn_config_test dlls
/twain_32
/tests twain_32_test
17575 wine_fn_config_dll typelib.dll16 enable_win16
17576 wine_fn_config_dll unicows enable_unicows implib
17577 wine_fn_config_dll updspapi enable_updspapi
17578 wine_fn_config_dll url enable_url implib
17579 wine_fn_config_dll urlmon enable_urlmon clean
,implib
,po
17580 wine_fn_config_test dlls
/urlmon
/tests urlmon_test
17581 wine_fn_config_dll usbd.sys enable_usbd_sys implib
17582 wine_fn_config_dll user.exe16 enable_win16
17583 wine_fn_config_dll user32 enable_user32 clean
,implib
,po
17584 wine_fn_config_test dlls
/user32
/tests user32_test
17585 wine_fn_config_dll userenv enable_userenv implib
17586 wine_fn_config_test dlls
/userenv
/tests userenv_test
17587 wine_fn_config_dll usp10 enable_usp10 implib
17588 wine_fn_config_test dlls
/usp10
/tests usp10_test
17589 wine_fn_config_lib uuid
17590 wine_fn_config_dll uxtheme enable_uxtheme implib
17591 wine_fn_config_test dlls
/uxtheme
/tests uxtheme_test
17592 wine_fn_config_dll vbscript enable_vbscript clean
17593 wine_fn_config_test dlls
/vbscript
/tests vbscript_test clean
17594 wine_fn_config_dll vcomp enable_vcomp
17595 wine_fn_config_dll vcomp100 enable_vcomp100
17596 wine_fn_config_dll vcomp90 enable_vcomp90
17597 wine_fn_config_dll vdhcp.vxd enable_win16
17598 wine_fn_config_dll vdmdbg enable_vdmdbg implib
17599 wine_fn_config_dll ver.dll16 enable_win16
17600 wine_fn_config_dll version enable_version implib
17601 wine_fn_config_test dlls
/version
/tests version_test
17602 wine_fn_config_dll vmm.vxd enable_win16
17603 wine_fn_config_dll vnbt.vxd enable_win16
17604 wine_fn_config_dll vnetbios.vxd enable_win16
17605 wine_fn_config_dll vssapi enable_vssapi
17606 wine_fn_config_dll vtdapi.vxd enable_win16
17607 wine_fn_config_dll vwin32.vxd enable_win16
17608 wine_fn_config_dll w32skrnl enable_win16
17609 wine_fn_config_dll w32sys.dll16 enable_win16
17610 wine_fn_config_dll wbemdisp enable_wbemdisp clean
17611 wine_fn_config_test dlls
/wbemdisp
/tests wbemdisp_test
17612 wine_fn_config_dll wbemprox enable_wbemprox clean
17613 wine_fn_config_test dlls
/wbemprox
/tests wbemprox_test
17614 wine_fn_config_dll webservices enable_webservices implib
17615 wine_fn_config_dll wer enable_wer implib
17616 wine_fn_config_test dlls
/wer
/tests wer_test
17617 wine_fn_config_dll wevtapi enable_wevtapi
17618 wine_fn_config_dll wiaservc enable_wiaservc clean
17619 wine_fn_config_dll win32s16.dll16 enable_win16
17620 wine_fn_config_dll win87em.dll16 enable_win16
17621 wine_fn_config_dll winaspi.dll16 enable_win16
17622 wine_fn_config_dll windebug.dll16 enable_win16
17623 wine_fn_config_dll windowscodecs enable_windowscodecs clean
,implib
17624 wine_fn_config_test dlls
/windowscodecs
/tests windowscodecs_test
17625 wine_fn_config_dll windowscodecsext enable_windowscodecsext implib
17626 wine_fn_config_test dlls
/windowscodecsext
/tests windowscodecsext_test
17627 wine_fn_config_dll winealsa.drv enable_winealsa_drv
17628 wine_fn_config_dll winecoreaudio.drv enable_winecoreaudio_drv
17629 wine_fn_config_lib winecrt0
17630 wine_fn_config_dll wined3d enable_wined3d implib
17631 wine_fn_config_dll winegstreamer enable_winegstreamer
17632 wine_fn_config_dll winejoystick.drv enable_winejoystick_drv
17633 wine_fn_config_dll winemac.drv enable_winemac_drv
17634 wine_fn_config_dll winemapi enable_winemapi
17635 wine_fn_config_dll winemp3.acm enable_winemp3_acm
17636 wine_fn_config_dll wineoss.drv enable_wineoss_drv
17637 wine_fn_config_dll wineps.drv enable_wineps_drv clean
,po
17638 wine_fn_config_dll wineps16.drv16 enable_win16
17639 wine_fn_config_dll wineqtdecoder enable_wineqtdecoder
17640 wine_fn_config_dll winex11.drv enable_winex11_drv
17641 wine_fn_config_dll wing.dll16 enable_win16
17642 wine_fn_config_dll wing32 enable_wing32
17643 wine_fn_config_dll winhttp enable_winhttp clean
,implib
17644 wine_fn_config_test dlls
/winhttp
/tests winhttp_test
17645 wine_fn_config_dll wininet enable_wininet implib
,po
17646 wine_fn_config_test dlls
/wininet
/tests wininet_test
17647 wine_fn_config_dll winmm enable_winmm implib
,po
17648 wine_fn_config_test dlls
/winmm
/tests winmm_test
17649 wine_fn_config_dll winnls.dll16 enable_win16
17650 wine_fn_config_dll winnls32 enable_winnls32 implib
17651 wine_fn_config_dll winscard enable_winscard implib
17652 wine_fn_config_dll winsock.dll16 enable_win16
17653 wine_fn_config_dll winspool.drv enable_winspool_drv implib
,po winspool
17654 wine_fn_config_test dlls
/winspool.drv
/tests winspool.drv_test
17655 wine_fn_config_dll winsta enable_winsta
17656 wine_fn_config_dll wintab.dll16 enable_win16
17657 wine_fn_config_dll wintab32 enable_wintab32 implib
17658 wine_fn_config_test dlls
/wintab32
/tests wintab32_test
17659 wine_fn_config_dll wintrust enable_wintrust implib
17660 wine_fn_config_test dlls
/wintrust
/tests wintrust_test
17661 wine_fn_config_dll wlanapi enable_wlanapi
17662 wine_fn_config_dll wldap32 enable_wldap32 implib
,po
17663 wine_fn_config_test dlls
/wldap32
/tests wldap32_test
17664 wine_fn_config_dll wmi enable_wmi
17665 wine_fn_config_dll wmiutils enable_wmiutils clean
17666 wine_fn_config_test dlls
/wmiutils
/tests wmiutils_test
17667 wine_fn_config_dll wmp enable_wmp clean
17668 wine_fn_config_test dlls
/wmp
/tests wmp_test
17669 wine_fn_config_dll wmvcore enable_wmvcore
17670 wine_fn_config_dll wnaspi32 enable_wnaspi32 implib
17671 wine_fn_config_dll wow32 enable_win16 implib
17672 wine_fn_config_dll wpcap enable_wpcap
17673 wine_fn_config_dll ws2_32 enable_ws2_32 implib
17674 wine_fn_config_test dlls
/ws2_32
/tests ws2_32_test
17675 wine_fn_config_dll wshom.ocx enable_wshom_ocx clean
17676 wine_fn_config_test dlls
/wshom.ocx
/tests wshom.ocx_test clean
17677 wine_fn_config_dll wsnmp32 enable_wsnmp32 implib
17678 wine_fn_config_test dlls
/wsnmp32
/tests wsnmp32_test
17679 wine_fn_config_dll wsock32 enable_wsock32 implib
17680 wine_fn_config_dll wtsapi32 enable_wtsapi32 implib
17681 wine_fn_config_test dlls
/wtsapi32
/tests wtsapi32_test
17682 wine_fn_config_dll wuapi enable_wuapi clean
17683 wine_fn_config_dll wuaueng enable_wuaueng
17684 wine_fn_config_dll x3daudio1_1 enable_x3daudio1_1
17685 wine_fn_config_dll x3daudio1_3 enable_x3daudio1_3
17686 wine_fn_config_dll x3daudio1_4 enable_x3daudio1_4
17687 wine_fn_config_dll x3daudio1_5 enable_x3daudio1_5
17688 wine_fn_config_dll x3daudio1_6 enable_x3daudio1_6
17689 wine_fn_config_dll x3daudio1_7 enable_x3daudio1_7
17690 wine_fn_config_dll xapofx1_1 enable_xapofx1_1
17691 wine_fn_config_dll xapofx1_3 enable_xapofx1_3
17692 wine_fn_config_dll xapofx1_4 enable_xapofx1_4
17693 wine_fn_config_dll xapofx1_5 enable_xapofx1_5
17694 wine_fn_config_dll xaudio2_7 enable_xaudio2_7
17695 wine_fn_config_dll xinput1_1 enable_xinput1_1
17696 wine_fn_config_dll xinput1_2 enable_xinput1_2
17697 wine_fn_config_dll xinput1_3 enable_xinput1_3 implib xinput
17698 wine_fn_config_test dlls
/xinput1_
3/tests xinput1_3_test
17699 wine_fn_config_dll xinput1_4 enable_xinput1_4
17700 wine_fn_config_dll xinput9_1_0 enable_xinput9_1_0
17701 wine_fn_config_dll xmllite enable_xmllite implib
17702 wine_fn_config_test dlls
/xmllite
/tests xmllite_test
17703 wine_fn_config_dll xolehlp enable_xolehlp
17704 wine_fn_config_dll xpsprint enable_xpsprint
17705 wine_fn_config_dll xpssvcs enable_xpssvcs
17706 wine_fn_config_makefile documentation enable_documentation clean
17707 wine_fn_config_makefile fonts enable_fonts clean
,install-lib
17708 wine_fn_config_makefile include enable_include clean
,install-dev
17709 wine_fn_config_makefile libs
/port enable_libs_port
17710 wine_fn_config_makefile libs
/wine enable_libs_wine clean
,install-dev
,install-lib
17711 wine_fn_config_makefile libs
/wpp enable_libs_wpp
17712 wine_fn_config_makefile loader enable_loader clean
,install-lib
,manpage
17713 wine_fn_config_program arp enable_arp
install
17714 wine_fn_config_program aspnet_regiis enable_aspnet_regiis
install
17715 wine_fn_config_program attrib enable_attrib
install,po
17716 wine_fn_config_program cabarc enable_cabarc
install
17717 wine_fn_config_program cacls enable_cacls
install
17718 wine_fn_config_program
clock enable_clock
install,po
17719 wine_fn_config_program cmd enable_cmd
install,po
17720 wine_fn_config_test programs
/cmd
/tests cmd.exe_test
17721 wine_fn_config_program conhost enable_conhost
install
17722 wine_fn_config_program control enable_control
install
17723 wine_fn_config_program cscript enable_cscript clean
,install
17724 wine_fn_config_program dpnsvr enable_dpnsvr
install
17725 wine_fn_config_program dxdiag enable_dxdiag
install,po
17726 wine_fn_config_program eject enable_eject
install
17727 wine_fn_config_program
expand enable_expand
install
17728 wine_fn_config_program explorer enable_explorer
install,po
17729 wine_fn_config_program extrac32 enable_extrac32
install
17730 wine_fn_config_program findstr enable_findstr
install
17731 wine_fn_config_program hh enable_hh
install
17732 wine_fn_config_program hostname enable_hostname
install,po
17733 wine_fn_config_program icinfo enable_icinfo
install
17734 wine_fn_config_program iexplore enable_iexplore
install
17735 wine_fn_config_program ipconfig enable_ipconfig
install,po
17736 wine_fn_config_program lodctr enable_lodctr
install
17737 wine_fn_config_program mofcomp enable_mofcomp
install
17738 wine_fn_config_program mshta enable_mshta
install
17739 wine_fn_config_program msiexec enable_msiexec
install,installbin
,manpage
17740 wine_fn_config_program net enable_net
install,po
17741 wine_fn_config_program netsh enable_netsh
install
17742 wine_fn_config_program netstat enable_netstat
install,po
17743 wine_fn_config_program ngen enable_ngen
install
17744 wine_fn_config_program notepad enable_notepad
install,installbin
,manpage
,po
17745 wine_fn_config_program oleview enable_oleview
install,po
17746 wine_fn_config_program
ping enable_ping
install
17747 wine_fn_config_program plugplay enable_plugplay
install
17748 wine_fn_config_program presentationfontcache enable_presentationfontcache
install
17749 wine_fn_config_program progman enable_progman
install,po
17750 wine_fn_config_program reg enable_reg
install,po
17751 wine_fn_config_test programs
/reg
/tests reg.exe_test
17752 wine_fn_config_program regasm enable_regasm
install
17753 wine_fn_config_program regedit enable_regedit
install,installbin
,manpage
,po
17754 wine_fn_config_test programs
/regedit
/tests regedit.exe_test
17755 wine_fn_config_program regsvcs enable_regsvcs
install
17756 wine_fn_config_program regsvr32 enable_regsvr32
install,installbin
,manpage
,po
17757 wine_fn_config_program rpcss enable_rpcss clean
,install
17758 wine_fn_config_program rundll.exe16 enable_win16
install
17759 wine_fn_config_program rundll32 enable_rundll32
install
17760 wine_fn_config_program sc enable_sc
install
17761 wine_fn_config_program schtasks enable_schtasks
install
17762 wine_fn_config_program sdbinst enable_sdbinst
install
17763 wine_fn_config_program secedit enable_secedit
install
17764 wine_fn_config_program servicemodelreg enable_servicemodelreg
install
17765 wine_fn_config_program services enable_services clean
,install
17766 wine_fn_config_test programs
/services
/tests services.exe_test
17767 wine_fn_config_program spoolsv enable_spoolsv
install
17768 wine_fn_config_program start enable_start
install,po
17769 wine_fn_config_program svchost enable_svchost
install
17770 wine_fn_config_program systeminfo enable_systeminfo
install
17771 wine_fn_config_program taskkill enable_taskkill
install,po
17772 wine_fn_config_program tasklist enable_tasklist
install
17773 wine_fn_config_program taskmgr enable_taskmgr
install,po
17774 wine_fn_config_program termsv enable_termsv
install
17775 wine_fn_config_program uninstaller enable_uninstaller
install,po
17776 wine_fn_config_program unlodctr enable_unlodctr
install
17777 wine_fn_config_program view enable_view
install,po
17778 wine_fn_config_program wevtutil enable_wevtutil
install
17779 wine_fn_config_program wineboot enable_wineboot
install,installbin
,manpage
,po
17780 wine_fn_config_program winebrowser enable_winebrowser
install
17781 wine_fn_config_program winecfg enable_winecfg
install,installbin
,manpage
,po
17782 wine_fn_config_program wineconsole enable_wineconsole
install,installbin
,manpage
,po
17783 wine_fn_config_program winedbg enable_winedbg
install,installbin
,manpage
,po
17784 wine_fn_config_program winedevice enable_winedevice
install
17785 wine_fn_config_program winefile enable_winefile
install,installbin
,manpage
,po
17786 wine_fn_config_program winemenubuilder enable_winemenubuilder
install
17787 wine_fn_config_program winemine enable_winemine
install,installbin
,manpage
,po
17788 wine_fn_config_program winemsibuilder enable_winemsibuilder
install
17789 wine_fn_config_program winepath enable_winepath
install,installbin
,manpage
17790 wine_fn_config_program winetest enable_winetest clean
17791 wine_fn_config_program winevdm enable_win16
install
17792 wine_fn_config_program winhelp.exe16 enable_win16
install
17793 wine_fn_config_program winhlp32 enable_winhlp32
install,po
17794 wine_fn_config_program winoldap.mod16 enable_win16
install
17795 wine_fn_config_program winver enable_winver
install
17796 wine_fn_config_program wmic enable_wmic
install,po
17797 wine_fn_config_program wordpad enable_wordpad
install,po
17798 wine_fn_config_program
write enable_write
install,po
17799 wine_fn_config_program wscript enable_wscript clean
,install
17800 wine_fn_config_test programs
/wscript
/tests wscript.exe_test
17801 wine_fn_config_program wusa enable_wusa
install
17802 wine_fn_config_program xcopy enable_xcopy
install,po
17803 wine_fn_config_test programs
/xcopy
/tests xcopy.exe_test
17804 wine_fn_config_makefile server enable_server clean
,install-lib
,manpage
17805 wine_fn_config_tool tools clean
,install-dev
,install-lib
,manpage
17806 wine_fn_config_tool tools
/sfnt2fon clean
17807 wine_fn_config_tool tools
/widl clean
,install-dev
,manpage
17808 wine_fn_config_tool tools
/winebuild clean
,install-dev
,manpage
17809 wine_fn_config_tool tools
/winedump clean
,install-dev
,manpage
17810 wine_fn_config_tool tools
/winegcc clean
,install-dev
,manpage
17811 wine_fn_config_tool tools
/wmc clean
,install-dev
,manpage
17812 wine_fn_config_tool tools
/wrc clean
,install-dev
,manpage
17864 wine_fn_ignore_file
".gitignore"
17865 wine_fn_ignore_file
"Makefile"
17866 wine_fn_ignore_file
"TAGS"
17867 wine_fn_ignore_file
"tags"
17868 wine_fn_ignore_file
"autom4te.cache"
17869 wine_fn_ignore_file
"config.cache"
17870 wine_fn_ignore_file
"config.log"
17871 wine_fn_ignore_file
"config.status"
17872 wine_fn_ignore_file
"configure.lineno"
17873 wine_fn_ignore_file
"include/config.h"
17874 wine_fn_ignore_file
"include/stamp-h"
17875 test "$wine_binary" = wine || wine_fn_ignore_file
"loader/wine"
17877 if test "x$enable_tools" != xno
17879 wine_fn_ignore_file
"tools/makedep$ac_exeext"
17880 ac_config_commands
="$ac_config_commands tools/makedep"
17884 ac_config_commands
="$ac_config_commands Makefile"
17887 ac_config_files
="$ac_config_files Make.tmp:Make.vars.in:Makefile.in"
17891 if test "x$enable_maintainer_mode" = xyes
17893 wine_fn_append_rule
"configure: configure.ac aclocal.m4
17894 autoconf --warnings=all
17895 include/config.h.in: include/stamp-h.in
17896 include/stamp-h.in: configure.ac aclocal.m4
17897 autoheader --warnings=all
17898 @echo timestamp > \$@"
17901 if test "x$with_gettextpo" = xyes
17903 test "$srcdir" = . || as_fn_error $?
"Rebuilding po files is not supported for out of tree builds." "$LINENO" 5
17904 wine_fn_append_rule
"ALL_POT_FILES =$ALL_POT_FILES
17905 \$(LINGUAS:%=po/%.po): po/wine.pot
17906 msgmerge --previous -q \$@ po/wine.pot | msgattrib --no-obsolete -o \$@.new && mv \$@.new \$@
17907 po/wine.pot: \$(ALL_POT_FILES)
17908 msgcat -o \$@ \$(ALL_POT_FILES)"
17911 if test "$MSGFMT" != false
17913 wine_fn_append_rule
"__builddeps__: \$(LINGUAS:%=po/%.mo)
17915 \$(RM) \$(LINGUAS:%=po/%.mo)"
17918 test "$srcdir" = . || posrc
="$srcdir/po"
17921 wine_fn_ignore_file
"po/$i.mo"
17922 wine_fn_append_rule
"po/$i.mo: $posrc/$i.po
17923 \$(MSGFMT) -o \$@ $posrc/$i.po"
17929 if test "x$enable_tools" != xno
17931 wine_fn_append_rule
"tools/makedep$ac_exeext: $srcdir/tools/makedep.c include/config.h config.status
17932 @./config.status tools/makedep
17933 Makefile: tools/makedep$ac_exeext
17935 \$(RM) tools/makedep$ac_exeext"
17937 wine_fn_append_rule
"\$(MAKEDEP):
17938 @echo \"You need to run make in $TOOLSDIR first\" && false"
17941 if test -n "$with_wine64"
17943 wine_fn_append_rule
"all: fonts server tools $with_wine64/loader/wine $with_wine64/loader/wine-preloader
17944 fonts server tools:
17945 \$(RM) \$@ && \$(LN_S) $with_wine64/\$@ \$@
17946 $with_wine64/loader/wine:
17947 \$(RM) \$@ && \$(LN_S) $ac_pwd/loader/wine \$@
17948 $with_wine64/loader/wine-preloader:
17949 \$(RM) \$@ && \$(LN_S) $ac_pwd/loader/wine-preloader \$@
17951 \$(RM) fonts server tools $with_wine64/loader/wine $with_wine64/loader/wine-preloader"
17953 as_fn_append LOADER_RULES
"
17954 install install-lib:: wine.inf install-man-pages
17955 \$(INSTALL_DATA) wine.inf \$(DESTDIR)\$(datadir)/wine/wine.inf
17956 \$(INSTALL_DATA) \$(srcdir)/l_intl.nls \$(DESTDIR)\$(datadir)/wine/l_intl.nls
17959 \$(RM) \$(DESTDIR)\$(datadir)/wine/wine.inf \$(DESTDIR)\$(datadir)/wine/l_intl.nls
17963 if test "$srcdir" = .
17965 ac_config_commands
="$ac_config_commands .gitignore"
17969 $as_echo " done" >&6
17970 cat >confcache
<<\_ACEOF
17971 # This file is a shell script that caches the results of configure
17972 # tests run on this system so they can be shared between configure
17973 # scripts and configure runs, see configure's option --config-cache.
17974 # It is not useful on other systems. If it contains results you don't
17975 # want to keep, you may remove or edit it.
17977 # config.status only pays attention to the cache file if you give it
17978 # the --recheck option to rerun configure.
17980 # `ac_cv_env_foo' variables (set or unset) will be overridden when
17981 # loading this file, other *unset* `ac_cv_foo' will be assigned the
17982 # following values.
17986 # The following way of writing the cache mishandles newlines in values,
17987 # but we know of no workaround that is simple, portable, and efficient.
17988 # So, we kill variables containing newlines.
17989 # Ultrix sh set writes to stderr and can't be redirected directly,
17990 # and sets the high bit in the cache file unless we assign to the vars.
17992 for ac_var
in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
17993 eval ac_val
=\$
$ac_var
17997 *_cv_
*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
17998 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
18001 _ | IFS | as_nl
) ;; #(
18002 BASH_ARGV | BASH_SOURCE
) eval $ac_var= ;; #(
18003 *) { eval $ac_var=; unset $ac_var;} ;;
18009 case $as_nl`(ac_space=' '; set) 2>&1` in #(
18010 *${as_nl}ac_space
=\
*)
18011 # `set' does not quote correctly, so add quotes: double-quote
18012 # substitution turns \\\\ into \\, and sed turns \\ into \.
18015 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
18018 # `set' quotes correctly as required by POSIX, so do not add quotes.
18019 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
18028 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
18030 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
18032 if diff "$cache_file" confcache
>/dev
/null
2>&1; then :; else
18033 if test -w "$cache_file"; then
18034 if test "x$cache_file" != "x/dev/null"; then
18035 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
18036 $as_echo "$as_me: updating cache $cache_file" >&6;}
18037 if test ! -f "$cache_file" ||
test -h "$cache_file"; then
18038 cat confcache
>"$cache_file"
18040 case $cache_file in #(
18042 mv -f confcache
"$cache_file"$$
&&
18043 mv -f "$cache_file"$$
"$cache_file" ;; #(
18045 mv -f confcache
"$cache_file" ;;
18050 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
18051 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
18056 test "x$prefix" = xNONE
&& prefix
=$ac_default_prefix
18057 # Let make expand exec_prefix.
18058 test "x$exec_prefix" = xNONE
&& exec_prefix
='${prefix}'
18060 DEFS
=-DHAVE_CONFIG_H
18065 for ac_i
in : $LIBOBJS; do test "x$ac_i" = x
: && continue
18066 # 1. Remove the extension, and $U if already installed.
18067 ac_script
='s/\$U\././;s/\.o$//;s/\.obj$//'
18068 ac_i
=`$as_echo "$ac_i" | sed "$ac_script"`
18069 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
18070 # will be set to the directory where LIBOBJS objects are built.
18071 as_fn_append ac_libobjs
" \${LIBOBJDIR}$ac_i\$U.$ac_objext"
18072 as_fn_append ac_ltlibobjs
" \${LIBOBJDIR}$ac_i"'$U.lo'
18074 LIBOBJS
=$ac_libobjs
18076 LTLIBOBJS
=$ac_ltlibobjs
18080 : "${CONFIG_STATUS=./config.status}"
18082 ac_clean_files_save
=$ac_clean_files
18083 ac_clean_files
="$ac_clean_files $CONFIG_STATUS"
18084 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
18085 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
18087 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
18089 # Generated by $as_me.
18090 # Run this file to recreate the current configuration.
18091 # Compiler output produced by configure, useful for debugging
18092 # configure, is in config.log if it exists.
18095 ac_cs_recheck=false
18098 SHELL=\${CONFIG_SHELL-$SHELL}
18101 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail
=1
18102 ## -------------------- ##
18103 ## M4sh Initialization. ##
18104 ## -------------------- ##
18106 # Be more Bourne compatible
18107 DUALCASE
=1; export DUALCASE
# for MKS sh
18108 if test -n "${ZSH_VERSION+set}" && (emulate sh
) >/dev
/null
2>&1; then :
18111 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
18112 # is contrary to our usage. Disable this feature.
18113 alias -g '${1+"$@"}'='"$@"'
18114 setopt NO_GLOB_SUBST
18116 case `(set -o) 2>/dev/null` in #(
18128 # Printing a long string crashes Solaris 7 /usr/bin/printf.
18129 as_echo
='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
18130 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
18131 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
18132 # Prefer a ksh shell builtin over an external printf program on Solaris,
18133 # but without wasting forks for bash or zsh.
18134 if test -z "$BASH_VERSION$ZSH_VERSION" \
18135 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
18136 as_echo='print
-r --'
18137 as_echo_n='print
-rn --'
18138 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
18139 as_echo='printf %s
\n'
18140 as_echo_n='printf %s
'
18142 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
18143 as_echo_body='eval /usr
/ucb
/echo -n "$1$as_nl"'
18144 as_echo_n='/usr
/ucb
/echo -n'
18146 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
18147 as_echo_n_body='eval
18151 expr "X$arg" : "X\\(.*\\)$as_nl";
18152 arg
=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
18154 expr "X$arg" : "X\\(.*\\)" |
tr -d "$as_nl"
18156 export as_echo_n_body
18157 as_echo_n='sh
-c $as_echo_n_body as_echo
'
18159 export as_echo_body
18160 as_echo='sh
-c $as_echo_body as_echo
'
18163 # The user is always right.
18164 if test "${PATH_SEPARATOR+set}" != set; then
18166 (PATH='/bin
;/bin
'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
18167 (PATH='/bin
:/bin
'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
18174 # We need space, tab and new line, in precisely that order. Quoting is
18175 # there to prevent editors from complaining about space-tab.
18176 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
18177 # splitting by setting IFS to empty value.)
18180 # Find who we are. Look in the path if we contain no directory separator.
18183 *[\\/]* ) as_myself=$0 ;;
18184 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
18185 for as_dir in $PATH
18188 test -z "$as_dir" && as_dir=.
18189 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
18195 # We did not find ourselves, most probably we were run as `sh COMMAND'
18196 # in which case we are not to be found in the path.
18197 if test "x$as_myself" = x
; then
18200 if test ! -f "$as_myself"; then
18201 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
18205 # Unset variables that we do not need and which cause bugs (e.g. in
18206 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
18207 # suppresses any "Segmentation fault" message there. '((' could
18208 # trigger a bug in pdksh 5.2.14.
18209 for as_var
in BASH_ENV ENV MAIL MAILPATH
18210 do eval test x\
${$as_var+set} = xset \
18211 && ( (unset $as_var) ||
exit 1) >/dev
/null
2>&1 && unset $as_var ||
:
18224 (unset CDPATH
) >/dev
/null
2>&1 && unset CDPATH
18227 # as_fn_error STATUS ERROR [LINENO LOG_FD]
18228 # ----------------------------------------
18229 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
18230 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
18231 # script with STATUS, using 1 if that was 0.
18234 as_status
=$1; test $as_status -eq 0 && as_status
=1
18236 as_lineno
=${as_lineno-"$3"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
18237 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
18239 $as_echo "$as_me: error: $2" >&2
18240 as_fn_exit
$as_status
18244 # as_fn_set_status STATUS
18245 # -----------------------
18246 # Set $? to STATUS, without forking.
18247 as_fn_set_status
()
18250 } # as_fn_set_status
18252 # as_fn_exit STATUS
18253 # -----------------
18254 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
18258 as_fn_set_status
$1
18264 # Portably unset VAR.
18267 { eval $1=; unset $1;}
18269 as_unset
=as_fn_unset
18270 # as_fn_append VAR VALUE
18271 # ----------------------
18272 # Append the text in VALUE to the end of the definition contained in VAR. Take
18273 # advantage of any shell optimizations that allow amortized linear growth over
18274 # repeated appends, instead of the typical quadratic growth present in naive
18276 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev
/null
; then :
18277 eval 'as_fn_append ()
18288 # as_fn_arith ARG...
18289 # ------------------
18290 # Perform arithmetic evaluation on the ARGs, and store the result in the
18291 # global $as_val. Take advantage of shells that can avoid forks. The arguments
18292 # must be portable across $(()) and expr.
18293 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev
/null
; then :
18294 eval 'as_fn_arith ()
18301 as_val
=`expr "$@" || test $? -eq 1`
18306 if expr a
: '\(a\)' >/dev
/null
2>&1 &&
18307 test "X`expr 00001 : '.*\(...\)'`" = X001
; then
18313 if (basename -- /) >/dev
/null
2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
18314 as_basename
=basename
18319 if (as_dir
=`dirname -- /` && test "X$as_dir" = X
/) >/dev
/null
2>&1; then
18325 as_me
=`$as_basename -- "$0" ||
18326 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
18327 X"$0" : 'X\(//\)$' \| \
18328 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
18330 sed '/^.*\/\([^/][^/]*\)\/*$/{
18344 # Avoid depending upon Character Ranges.
18345 as_cr_letters
='abcdefghijklmnopqrstuvwxyz'
18346 as_cr_LETTERS
='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
18347 as_cr_Letters
=$as_cr_letters$as_cr_LETTERS
18348 as_cr_digits
='0123456789'
18349 as_cr_alnum
=$as_cr_Letters$as_cr_digits
18351 ECHO_C
= ECHO_N
= ECHO_T
=
18352 case `echo -n x` in #(((((
18354 case `echo 'xy\c'` in
18355 *c
*) ECHO_T
=' ';; # ECHO_T is single tab character.
18357 *) echo `echo ksh88 bug on AIX 6.1` > /dev
/null
18364 rm -f conf$$ conf$$.exe conf$$.
file
18365 if test -d conf$$.dir
; then
18366 rm -f conf$$.dir
/conf$$.
file
18369 mkdir conf$$.dir
2>/dev
/null
18371 if (echo >conf$$.
file) 2>/dev
/null
; then
18372 if ln -s conf$$.
file conf$$
2>/dev
/null
; then
18374 # ... but there are two gotchas:
18375 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
18376 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
18377 # In both cases, we have to default to `cp -pR'.
18378 ln -s conf$$.
file conf$$.dir
2>/dev
/null
&& test ! -f conf$$.exe ||
18380 elif ln conf$$.
file conf$$
2>/dev
/null
; then
18388 rm -f conf$$ conf$$.exe conf$$.dir
/conf$$.
file conf$$.
file
18389 rmdir conf$$.dir
2>/dev
/null
18394 # Create "$as_dir" as a directory, including parents if necessary.
18399 -*) as_dir
=.
/$as_dir;;
18401 test -d "$as_dir" ||
eval $as_mkdir_p ||
{
18405 *\'*) as_qdir
=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
18406 *) as_qdir
=$as_dir;;
18408 as_dirs
="'$as_qdir' $as_dirs"
18409 as_dir
=`$as_dirname -- "$as_dir" ||
18410 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
18411 X"$as_dir" : 'X\(//\)[^/]' \| \
18412 X"$as_dir" : 'X\(//\)$' \| \
18413 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
18414 $as_echo X"$as_dir" |
18415 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
18419 /^X\(\/\/\)[^/].*/{
18432 test -d "$as_dir" && break
18434 test -z "$as_dirs" ||
eval "mkdir $as_dirs"
18435 } ||
test -d "$as_dir" || as_fn_error $?
"cannot create directory $as_dir"
18439 if mkdir
-p .
2>/dev
/null
; then
18440 as_mkdir_p
='mkdir -p "$as_dir"'
18442 test -d .
/-p && rmdir .
/-p
18447 # as_fn_executable_p FILE
18448 # -----------------------
18449 # Test if FILE is an executable regular file.
18450 as_fn_executable_p
()
18452 test -f "$1" && test -x "$1"
18453 } # as_fn_executable_p
18454 as_test_x
='test -x'
18455 as_executable_p
=as_fn_executable_p
18457 # Sed expression to map a string onto a valid CPP name.
18458 as_tr_cpp
="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
18460 # Sed expression to map a string onto a valid variable name.
18461 as_tr_sh
="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
18465 ## ----------------------------------- ##
18466 ## Main body of $CONFIG_STATUS script. ##
18467 ## ----------------------------------- ##
18469 test $as_write_fail = 0 && chmod +x
$CONFIG_STATUS || ac_write_fail
=1
18471 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
18472 # Save the log message, to keep $0 and so on meaningful, and to
18473 # report actual input values of CONFIG_FILES etc. instead of their
18474 # values after options handling.
18476 This file was extended by Wine $as_me 1.7.37, which was
18477 generated by GNU Autoconf 2.69. Invocation command line was
18479 CONFIG_FILES = $CONFIG_FILES
18480 CONFIG_HEADERS = $CONFIG_HEADERS
18481 CONFIG_LINKS = $CONFIG_LINKS
18482 CONFIG_COMMANDS = $CONFIG_COMMANDS
18485 on `(hostname || uname -n) 2>/dev/null | sed 1q`
18490 case $ac_config_files in *"
18491 "*) set x
$ac_config_files; shift; ac_config_files
=$
*;;
18494 case $ac_config_headers in *"
18495 "*) set x
$ac_config_headers; shift; ac_config_headers
=$
*;;
18499 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
18500 # Files that config.status was made for.
18501 config_files="$ac_config_files"
18502 config_headers="$ac_config_headers"
18503 config_links="$ac_config_links"
18504 config_commands="$ac_config_commands"
18508 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
18510 \`$as_me' instantiates files and other configuration actions
18511 from templates according to the current configuration. Unless the files
18512 and actions are specified as TAGs, all are instantiated by default.
18514 Usage: $0 [OPTION]... [TAG]...
18516 -h, --help print this help, then exit
18517 -V, --version print version number and configuration settings, then exit
18518 --config print configuration, then exit
18519 -q, --quiet, --silent
18520 do not print progress messages
18521 -d, --debug don't remove temporary files
18522 --recheck update $as_me by reconfiguring in the same conditions
18523 --file=FILE[:TEMPLATE]
18524 instantiate the configuration file FILE
18525 --header=FILE[:TEMPLATE]
18526 instantiate the configuration header FILE
18528 Configuration files:
18531 Configuration headers:
18534 Configuration links:
18537 Configuration commands:
18540 Report bugs to <wine-devel@winehq.org>.
18541 Wine home page: <http://www.winehq.org>."
18544 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
18545 ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
18547 Wine config.status 1.7.37
18548 configured by $0, generated by GNU Autoconf 2.69,
18549 with options \\"\$ac_cs_config\\"
18551 Copyright (C) 2012 Free Software Foundation, Inc.
18552 This config.status script is free software; the Free Software Foundation
18553 gives unlimited permission to copy, distribute and modify it."
18557 test -n "\$AWK" || AWK=awk
18560 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
18561 # The default lists apply if the user does not specify any file.
18567 ac_option
=`expr "X$1" : 'X\([^=]*\)='`
18568 ac_optarg
=`expr "X$1" : 'X[^=]*=\(.*\)'`
18572 ac_option
=`expr "X$1" : 'X\([^=]*\)='`
18584 # Handling of the options.
18585 -recheck |
--recheck |
--rechec |
--reche |
--rech |
--rec |
--re |
--r)
18587 --version |
--versio |
--versi |
--vers |
--ver |
--ve |
--v |
-V )
18588 $as_echo "$ac_cs_version"; exit ;;
18589 --config |
--confi |
--conf |
--con |
--co |
--c )
18590 $as_echo "$ac_cs_config"; exit ;;
18591 --debug |
--debu |
--deb |
--de |
--d |
-d )
18593 --file |
--fil |
--fi |
--f )
18596 *\'*) ac_optarg
=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
18597 '') as_fn_error $?
"missing file argument" ;;
18599 as_fn_append CONFIG_FILES
" '$ac_optarg'"
18600 ac_need_defaults
=false
;;
18601 --header |
--heade |
--head |
--hea )
18604 *\'*) ac_optarg
=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
18606 as_fn_append CONFIG_HEADERS
" '$ac_optarg'"
18607 ac_need_defaults
=false
;;
18609 # Conflict between --help and --header
18610 as_fn_error $?
"ambiguous option: \`$1'
18611 Try \`$0 --help' for more information.";;
18612 --help |
--hel |
-h )
18613 $as_echo "$ac_cs_usage"; exit ;;
18614 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
18615 |
-silent |
--silent |
--silen |
--sile |
--sil |
--si |
--s)
18618 # This is an error.
18619 -*) as_fn_error $?
"unrecognized option: \`$1'
18620 Try \`$0 --help' for more information." ;;
18622 *) as_fn_append ac_config_targets
" $1"
18623 ac_need_defaults
=false
;;
18629 ac_configure_extra_args
=
18631 if $ac_cs_silent; then
18633 ac_configure_extra_args
="$ac_configure_extra_args --silent"
18637 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
18638 if \$ac_cs_recheck; then
18639 set X $SHELL '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
18641 \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
18642 CONFIG_SHELL='$SHELL'
18643 export CONFIG_SHELL
18648 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
18652 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
18653 ## Running $as_me. ##
18659 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
18663 wine_fn_output_makedep ()
18665 as_dir=tools; as_fn_mkdir_p
18666 $CC -Iinclude -I$srcdir/include -D__WINESRC__ $EXTRACFLAGS $CPPFLAGS $CFLAGS -o tools/makedep$ac_exeext $srcdir/tools/makedep.c $LDFLAGS
18668 wine_fn_output_makefile ()
18670 cat Make.tmp - <<\_WINE_EOF >\$tmp/makefile && mv -f \$tmp/makefile \$1 && rm -f Make.tmp && "$wine_makedep" . && return
18671 `cat $wine_rules_file`
18673 as_fn_error $? "could not create Makefile" "$LINENO" 5
18675 wine_fn_output_gitignore ()
18677 sort <<\_WINE_EOF >\$tmp/gitignore && mv -f \$tmp/gitignore \$1 && return
18680 as_fn_error $? "could not create .gitignore" "$LINENO" 5
18685 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
18687 # Handling of arguments.
18688 for ac_config_target
in $ac_config_targets
18690 case $ac_config_target in
18691 "include/config.h") CONFIG_HEADERS
="$CONFIG_HEADERS include/config.h" ;;
18692 "include/stamp-h") CONFIG_COMMANDS
="$CONFIG_COMMANDS include/stamp-h" ;;
18693 "fonts/marlett.ttf") CONFIG_LINKS
="$CONFIG_LINKS fonts/marlett.ttf:fonts/marlett.ttf" ;;
18694 "fonts/symbol.ttf") CONFIG_LINKS
="$CONFIG_LINKS fonts/symbol.ttf:fonts/symbol.ttf" ;;
18695 "fonts/tahoma.ttf") CONFIG_LINKS
="$CONFIG_LINKS fonts/tahoma.ttf:fonts/tahoma.ttf" ;;
18696 "fonts/tahomabd.ttf") CONFIG_LINKS
="$CONFIG_LINKS fonts/tahomabd.ttf:fonts/tahomabd.ttf" ;;
18697 "loader/l_intl.nls") CONFIG_LINKS
="$CONFIG_LINKS loader/l_intl.nls:loader/l_intl.nls" ;;
18698 "po/LINGUAS") CONFIG_LINKS
="$CONFIG_LINKS po/LINGUAS:po/LINGUAS" ;;
18699 "wine") CONFIG_LINKS
="$CONFIG_LINKS wine:tools/winewrapper" ;;
18700 "wine64") CONFIG_LINKS
="$CONFIG_LINKS wine64:tools/winewrapper" ;;
18701 "tools/makedep") CONFIG_COMMANDS
="$CONFIG_COMMANDS tools/makedep" ;;
18702 "Makefile") CONFIG_COMMANDS
="$CONFIG_COMMANDS Makefile" ;;
18703 "Make.tmp") CONFIG_FILES
="$CONFIG_FILES Make.tmp:Make.vars.in:Makefile.in" ;;
18704 ".gitignore") CONFIG_COMMANDS
="$CONFIG_COMMANDS .gitignore" ;;
18706 *) as_fn_error $?
"invalid argument: \`$ac_config_target'" "$LINENO" 5;;
18711 # If the user did not use the arguments to specify the items to instantiate,
18712 # then the envvar interface is used. Set only those that are not.
18713 # We use the long form for the default assignment because of an extremely
18714 # bizarre bug on SunOS 4.1.3.
18715 if $ac_need_defaults; then
18716 test "${CONFIG_FILES+set}" = set || CONFIG_FILES
=$config_files
18717 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS
=$config_headers
18718 test "${CONFIG_LINKS+set}" = set || CONFIG_LINKS
=$config_links
18719 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS
=$config_commands
18722 # Have a temporary directory for convenience. Make it in the build tree
18723 # simply because there is no reason against having it here, and in addition,
18724 # creating and moving files from /tmp can sometimes cause problems.
18725 # Hook for its removal unless debugging.
18726 # Note that there is a small window in which the directory will not be cleaned:
18727 # after its creation but before its name has been assigned to `$tmp'.
18731 trap 'exit_status=$?
18732 : "${ac_tmp:=$tmp}"
18733 { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
18735 trap 'as_fn_exit 1' 1 2 13 15
18737 # Create a (secure) tmp directory for tmp files.
18740 tmp
=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
18744 tmp
=.
/conf$$
-$RANDOM
18745 (umask 077 && mkdir
"$tmp")
18746 } || as_fn_error $?
"cannot create a temporary directory in ." "$LINENO" 5
18749 # Set up the scripts for CONFIG_FILES section.
18750 # No need to generate them if there are no CONFIG_FILES.
18751 # This happens for instance with `./config.status config.h'.
18752 if test -n "$CONFIG_FILES"; then
18755 ac_cr
=`echo X | tr X '\015'`
18756 # On cygwin, bash can eat \r inside `` if the user requested igncr.
18757 # But we know of no other shell where ac_cr would be empty at this
18758 # point, so we can use a bashism as a fallback.
18759 if test "x$ac_cr" = x
; then
18760 eval ac_cr
=\$
\'\\r
\'
18762 ac_cs_awk_cr
=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
18763 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
18766 ac_cs_awk_cr
=$ac_cr
18769 echo 'BEGIN {' >"$ac_tmp/subs1.awk" &&
18774 echo "cat >conf$$subs.awk <<_ACEOF" &&
18775 echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
18777 } >conf$$subs.sh ||
18778 as_fn_error $? "could not
make $CONFIG_STATUS" "$LINENO" 5
18779 ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
18781 for ac_last_try in false false false false false :; do
18782 . ./conf$$subs.sh ||
18783 as_fn_error $? "could not
make $CONFIG_STATUS" "$LINENO" 5
18785 ac_delim_n=`sed -n "s
/.
*$ac_delim\$
/X
/p
" conf$$subs.awk | grep -c X`
18786 if test $ac_delim_n = $ac_delim_num; then
18788 elif $ac_last_try; then
18789 as_fn_error $? "could not
make $CONFIG_STATUS" "$LINENO" 5
18791 ac_delim="$ac_delim!$ac_delim _
$ac_delim!! "
18794 rm -f conf$$subs.sh
18796 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
18797 cat >>"\
$ac_tmp/subs1.
awk" <<\\_ACAWK &&
18801 s/^/S["/; s
/!.
*/"]=/
18811 s/\(.\{148\}\)..*/\1/
18813 s/["\\]/\\&/g
; s
/^
/"/; s/$/\\n"\\/
18818 s
/["\\]/\\&/g; s/^/"/; s
/$
/"\\/
18825 s/\(.\{148\}\)..*/\1/
18827 s/["\\]/\\&/g
; s
/^
/"/; s/$/"/
18831 s
/["\\]/\\&/g; s/^/"/; s
/$
/"\\/
18836 ' <conf$$subs.awk | sed '
18841 ' >>$CONFIG_STATUS || ac_write_fail=1
18842 rm -f conf$$subs.awk
18843 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
18845 cat >>"\
$ac_tmp/subs1.
awk" <<_ACAWK &&
18846 for (key in S) S_is_set[key] = 1
18852 nfields = split(line, field, "@
")
18854 len = length(field[1])
18855 for (i = 2; i < nfields; i++) {
18857 keylen = length(key)
18858 if (S_is_set[key]) {
18860 line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
18861 len += length(value) + length(field[++i])
18872 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
18873 if sed "s
/$ac_cr//" < /dev/null > /dev/null 2>&1; then
18874 sed "s
/$ac_cr\$
//; s
/$ac_cr/$ac_cs_awk_cr/g
"
18877 fi < "$ac_tmp/subs1.
awk" > "$ac_tmp/subs.
awk" \
18878 || as_fn_error $? "could not setup config files machinery
" "$LINENO" 5
18881 # VPATH may cause trouble with some makes, so we remove sole $(srcdir),
18882 # ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".
", strip leading and
18883 # trailing colons and then remove the whole line if VPATH becomes empty
18884 # (actually we leave an empty line to preserve line numbers).
18885 if test "x
$srcdir" = x.; then
18886 ac_vpsub='/^[ ]*VPATH[ ]*=[ ]*/{
18904 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
18905 fi # test -n "$CONFIG_FILES"
18907 # Set up the scripts for CONFIG_HEADERS section.
18908 # No need to generate them if there are no CONFIG_HEADERS.
18909 # This happens for instance with `./config.status Makefile'.
18910 if test -n "$CONFIG_HEADERS"; then
18911 cat >"$ac_tmp/defines.
awk" <<\_ACAWK ||
18915 # Transform confdefs.h into an awk script `defines.awk', embedded as
18916 # here-document in config.status, that substitutes the proper values into
18917 # config.h.in to produce config.h.
18919 # Create a delimiter string that does not exist in confdefs.h, to ease
18920 # handling of long lines.
18922 for ac_last_try in false false :; do
18923 ac_tt=`sed -n "/$ac_delim/p
" confdefs.h`
18924 if test -z "$ac_tt"; then
18926 elif $ac_last_try; then
18927 as_fn_error $? "could not
make $CONFIG_HEADERS" "$LINENO" 5
18929 ac_delim="$ac_delim!$ac_delim _
$ac_delim!! "
18933 # For the awk script, D is an array of macro values keyed by name,
18934 # likewise P contains macro parameters if any. Preserve backslash
18935 # newline sequences.
18937 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
18939 s/.\{148\}/&'"$ac_delim"'/g
18942 s/^[ ]*#[ ]*define[ ][ ]*/ /
18949 s
/^ \
('"$ac_word_re"'\
)\
(([^
()]*)\
)[ ]*\
(.
*\
)/P
["\1"]="\2"\
18951 s
/^ \
('"$ac_word_re"'\
)[ ]*\
(.
*\
)/D
["\1"]=" \2"/p
18955 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\
1"]="\
2"\
18956 D["\
1"]=" \
3\\\\\\n
"\\/p
18958 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\
1"]=" \
2\\\\\\n
"\\/p
18963 s/.\{148\}/&'"$ac_delim"'/g
18968 s/["\\]/\\&/g
; s
/^
/"/; s/$/"/p
18971 s
/["\\]/\\&/g; s/^/"/; s
/$
/\\\\\\n
"\\/p
18973 ' <confdefs.h | sed '
18974 s/'"$ac_delim"'/"\\\
18975 "/g' >>$CONFIG_STATUS || ac_write_fail=1
18977 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
18978 for (key in D) D_is_set[key] = 1
18981 /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
18983 split(line, arg, " ")
18984 if (arg[1] == "#") {
18988 defundef
= substr
(arg
[1], 2)
18991 split(mac1
, mac2
, "(") #)
18993 prefix
= substr
(line
, 1, index
(line
, defundef
) - 1)
18994 if (D_is_set
[macro
]) {
18995 # Preserve the white space surrounding the "#".
18996 print prefix
"define", macro P
[macro
] D
[macro
]
18999 # Replace #undef with comments. This is necessary, for example,
19000 # in the case of _POSIX_SOURCE, which is predefined and required
19001 # on some systems where configure will not decide to define it.
19002 if (defundef
== "undef") {
19003 print
"/*", prefix defundef
, macro
, "*/"
19011 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
19012 as_fn_error $?
"could not setup config headers machinery" "$LINENO" 5
19013 fi # test -n "$CONFIG_HEADERS"
19016 eval set X
" :F $CONFIG_FILES :H $CONFIG_HEADERS :L $CONFIG_LINKS :C $CONFIG_COMMANDS"
19021 :[FHLC
]) ac_mode
=$ac_tag; continue;;
19023 case $ac_mode$ac_tag in
19025 :L
* |
:C
*:*) as_fn_error $?
"invalid tag \`$ac_tag'" "$LINENO" 5;;
19026 :[FH
]-) ac_tag
=-:-;;
19027 :[FH
]*) ac_tag
=$ac_tag:$ac_tag.
in;;
19044 -) ac_f
="$ac_tmp/stdin";;
19045 *) # Look for the file first in the build tree, then in the source tree
19046 # (if the path is not absolute). The absolute path cannot be DOS-style,
19047 # because $ac_f cannot contain `:'.
19051 *) test -f "$srcdir/$ac_f" && ac_f
="$srcdir/$ac_f";;
19053 as_fn_error
1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
19055 case $ac_f in *\'*) ac_f
=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
19056 as_fn_append ac_file_inputs
" '$ac_f'"
19059 # Let's still pretend it is `configure' which instantiates (i.e., don't
19060 # use $as_me), people would be surprised to read:
19061 # /* config.h. Generated by config.status. */
19062 configure_input
='Generated from '`
19063 $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
19065 if test x
"$ac_file" != x-
; then
19066 configure_input
="$ac_file. $configure_input"
19067 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
19068 $as_echo "$as_me: creating $ac_file" >&6;}
19070 # Neutralize special characters interpreted by sed in replacement strings.
19071 case $configure_input in #(
19072 *\
&* |
*\|
* |
*\\* )
19073 ac_sed_conf_input
=`$as_echo "$configure_input" |
19074 sed 's/[\\\\&|]/\\\\&/g'`;; #(
19075 *) ac_sed_conf_input
=$configure_input;;
19079 *:-:* |
*:-) cat >"$ac_tmp/stdin" \
19080 || as_fn_error $?
"could not create $ac_file" "$LINENO" 5 ;;
19085 ac_dir
=`$as_dirname -- "$ac_file" ||
19086 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
19087 X"$ac_file" : 'X\(//\)[^/]' \| \
19088 X"$ac_file" : 'X\(//\)$' \| \
19089 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
19090 $as_echo X"$ac_file" |
19091 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
19095 /^X\(\/\/\)[^/].*/{
19108 as_dir
="$ac_dir"; as_fn_mkdir_p
19112 .
) ac_dir_suffix
= ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
19114 ac_dir_suffix
=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
19115 # A ".." for each directory in $ac_dir_suffix.
19116 ac_top_builddir_sub
=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
19117 case $ac_top_builddir_sub in
19118 "") ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
19119 *) ac_top_build_prefix
=$ac_top_builddir_sub/ ;;
19122 ac_abs_top_builddir
=$ac_pwd
19123 ac_abs_builddir
=$ac_pwd$ac_dir_suffix
19124 # for backward compatibility:
19125 ac_top_builddir
=$ac_top_build_prefix
19128 .
) # We are building in place.
19130 ac_top_srcdir
=$ac_top_builddir_sub
19131 ac_abs_top_srcdir
=$ac_pwd ;;
19132 [\\/]* | ?
:[\\/]* ) # Absolute name.
19133 ac_srcdir
=$srcdir$ac_dir_suffix;
19134 ac_top_srcdir
=$srcdir
19135 ac_abs_top_srcdir
=$srcdir ;;
19136 *) # Relative name.
19137 ac_srcdir
=$ac_top_build_prefix$srcdir$ac_dir_suffix
19138 ac_top_srcdir
=$ac_top_build_prefix$srcdir
19139 ac_abs_top_srcdir
=$ac_pwd/$srcdir ;;
19141 ac_abs_srcdir
=$ac_abs_top_srcdir$ac_dir_suffix
19152 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
19153 # If the template does not know about datarootdir, expand it.
19154 # FIXME: This hack should be removed a few years after 2.60.
19155 ac_datarootdir_hack
=; ac_datarootdir_seen
=
19166 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
19167 *datarootdir
*) ac_datarootdir_seen
=yes;;
19168 *@datadir@
*|
*@docdir@
*|
*@infodir@
*|
*@localedir@
*|
*@mandir@
*)
19169 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
19170 $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
19172 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
19173 ac_datarootdir_hack='
19174 s&@datadir@&$datadir&g
19175 s&@docdir@&$docdir&g
19176 s&@infodir@&$infodir&g
19177 s&@localedir@&$localedir&g
19178 s&@mandir@&$mandir&g
19179 s&\\\${datarootdir}&$datarootdir&g' ;;
19183 # Neutralize VPATH when `$srcdir' = `.'.
19184 # Shell code in configure.ac might set extrasub.
19185 # FIXME: do we really want to maintain this feature?
19186 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
19187 ac_sed_extra="$ac_vpsub
19190 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
19192 /@
[a-zA-Z_
][a-zA-Z_0-9
]*@
/!b
19193 s|@configure_input@|
$ac_sed_conf_input|
;t t
19194 s
&@top_builddir@
&$ac_top_builddir_sub&;t t
19195 s
&@top_build_prefix@
&$ac_top_build_prefix&;t t
19196 s
&@srcdir@
&$ac_srcdir&;t t
19197 s
&@abs_srcdir@
&$ac_abs_srcdir&;t t
19198 s
&@top_srcdir@
&$ac_top_srcdir&;t t
19199 s
&@abs_top_srcdir@
&$ac_abs_top_srcdir&;t t
19200 s
&@builddir@
&$ac_builddir&;t t
19201 s
&@abs_builddir@
&$ac_abs_builddir&;t t
19202 s
&@abs_top_builddir@
&$ac_abs_top_builddir&;t t
19203 $ac_datarootdir_hack
19205 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.
awk" \
19206 >$ac_tmp/out || as_fn_error $? "could not create
$ac_file" "$LINENO" 5
19208 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
19209 { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out
"`; test -n "$ac_out"; } &&
19210 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' \
19211 "$ac_tmp/out
"`; test -z "$ac_out"; } &&
19212 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: $ac_file contains a reference to the variable \
`datarootdir'
19213 which seems to be undefined. Please make sure it is defined" >&5
19214 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir
'
19215 which seems to be undefined. Please make sure it is defined" >&2;}
19217 rm -f "$ac_tmp/stdin"
19219 -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";;
19220 *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";;
19222 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
19228 if test x"$ac_file" != x-; then
19230 $as_echo "/* $configure_input */" \
19231 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs"
19232 } >"$ac_tmp/config.h" \
19233 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
19234 if diff "$ac_file" "$ac_tmp/config.h" >/dev/null 2>&1; then
19235 { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
19236 $as_echo "$as_me: $ac_file is unchanged" >&6;}
19239 mv "$ac_tmp/config.h" "$ac_file" \
19240 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
19243 $as_echo "/* $configure_input */" \
19244 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" \
19245 || as_fn_error $? "could not create -" "$LINENO" 5
19253 if test "$ac_source" = "$ac_file" && test "$srcdir" = '.
'; then
19256 # Prefer the file from the source tree if names are identical.
19257 if test "$ac_source" = "$ac_file" || test ! -r "$ac_source"; then
19258 ac_source=$srcdir/$ac_source
19261 { $as_echo "$as_me:${as_lineno-$LINENO}: linking $ac_source to $ac_file" >&5
19262 $as_echo "$as_me: linking $ac_source to $ac_file" >&6;}
19264 if test ! -r "$ac_source"; then
19265 as_fn_error $? "$ac_source: file not found" "$LINENO" 5
19269 # Try a relative symlink, then a hard link, then a copy.
19271 [\\/$]* | ?:[\\/]* ) ac_rel_source=$ac_source ;;
19272 *) ac_rel_source=$ac_top_build_prefix$ac_source ;;
19274 ln -s "$ac_rel_source" "$ac_file" 2>/dev/null ||
19275 ln "$ac_source" "$ac_file" 2>/dev/null ||
19276 cp -p "$ac_source" "$ac_file" ||
19277 as_fn_error $? "cannot link or copy $ac_source to $ac_file" "$LINENO" 5
19280 :C) { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
19281 $as_echo "$as_me: executing $ac_file commands" >&6;}
19286 case $ac_file$ac_mode in
19287 "include/stamp-h":C) echo timestamp > include/stamp-h ;;
19288 "tools/makedep":C) wine_fn_output_makedep || as_fn_exit $? ;;
19289 "Makefile":C) wine_fn_output_makefile Makefile ;;
19290 ".gitignore":C) wine_fn_output_gitignore .gitignore ;;
19298 ac_clean_files=$ac_clean_files_save
19300 test $ac_write_fail = 0 ||
19301 as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5
19304 # configure is writing to config.log, and then calls config.status.
19305 # config.status does its own redirection, appending to config.log.
19306 # Unfortunately, on DOS this fails, as config.log is still kept open
19307 # by configure, so config.status won't be able to
write to it
; its
19308 # output is simply discarded. So we exec the FD to /dev/null,
19309 # effectively closing config.log, so it can be properly (re)opened and
19310 # appended to by config.status. When coming back to configure, we
19311 # need to make the FD available again.
19312 if test "$no_create" != yes; then
19314 ac_config_status_args
=
19315 test "$silent" = yes &&
19316 ac_config_status_args
="$ac_config_status_args --quiet"
19318 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success
=false
19320 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
19321 # would make configure fail if this is the last instruction.
19322 $ac_cs_success || as_fn_exit
1
19324 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no
; then
19325 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
19326 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
19330 if test "$no_create" = "yes"
19336 if test "x$wine_notices != "x
; then
19339 for msg
in $wine_notices; do
19341 if ${msg:+false} :; then :
19344 { $as_echo "$as_me:${as_lineno-$LINENO}: $msg" >&5
19345 $as_echo "$as_me: $msg" >&6;}
19350 for msg
in $wine_warnings; do
19352 if ${msg:+false} :; then :
19356 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $msg" >&5
19357 $as_echo "$as_me: WARNING: $msg" >&2;}
19363 $as_me: Finished. Do '${ac_make}' to compile Wine.