2 # Guess values for system-dependent variables and create Makefiles.
3 # Generated by GNU Autoconf 2.69 for Wine 1.7.42.
5 # Report bugs to <wine-devel@winehq.org>.
8 # Copyright (C) 1992-1996, 1998-2012 Free Software Foundation, Inc.
11 # This configure script is free software; the Free Software Foundation
12 # gives unlimited permission to copy, distribute and modify it.
13 ## -------------------- ##
14 ## M4sh Initialization. ##
15 ## -------------------- ##
17 # Be more Bourne compatible
18 DUALCASE
=1; export DUALCASE
# for MKS sh
19 if test -n "${ZSH_VERSION+set}" && (emulate sh
) >/dev
/null
2>&1; then :
22 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
23 # is contrary to our usage. Disable this feature.
24 alias -g '${1+"$@"}'='"$@"'
27 case `(set -o) 2>/dev/null` in #(
39 # Printing a long string crashes Solaris 7 /usr/bin/printf.
40 as_echo
='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
41 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
42 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
43 # Prefer a ksh shell builtin over an external printf program on Solaris,
44 # but without wasting forks for bash or zsh.
45 if test -z "$BASH_VERSION$ZSH_VERSION" \
46 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
48 as_echo_n='print
-rn --'
49 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
53 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
54 as_echo_body='eval /usr
/ucb
/echo -n "$1$as_nl"'
55 as_echo_n='/usr
/ucb
/echo -n'
57 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
62 expr "X$arg" : "X\\(.*\\)$as_nl";
63 arg
=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
65 expr "X$arg" : "X\\(.*\\)" |
tr -d "$as_nl"
68 as_echo_n='sh
-c $as_echo_n_body as_echo
'
71 as_echo='sh
-c $as_echo_body as_echo
'
74 # The user is always right.
75 if test "${PATH_SEPARATOR+set}" != set; then
77 (PATH='/bin
;/bin
'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
78 (PATH='/bin
:/bin
'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
85 # We need space, tab and new line, in precisely that order. Quoting is
86 # there to prevent editors from complaining about space-tab.
87 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
88 # splitting by setting IFS to empty value.)
91 # Find who we are. Look in the path if we contain no directory separator.
94 *[\\/]* ) as_myself=$0 ;;
95 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
99 test -z "$as_dir" && as_dir=.
100 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
106 # We did not find ourselves, most probably we were run as `sh COMMAND'
107 # in which case we are not to be found in the path.
108 if test "x$as_myself" = x
; then
111 if test ! -f "$as_myself"; then
112 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
116 # Unset variables that we do not need and which cause bugs (e.g. in
117 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
118 # suppresses any "Segmentation fault" message there. '((' could
119 # trigger a bug in pdksh 5.2.14.
120 for as_var
in BASH_ENV ENV MAIL MAILPATH
121 do eval test x\
${$as_var+set} = xset \
122 && ( (unset $as_var) ||
exit 1) >/dev
/null
2>&1 && unset $as_var ||
:
135 (unset CDPATH
) >/dev
/null
2>&1 && unset CDPATH
137 # Use a proper internal environment variable to ensure we don't fall
138 # into an infinite loop, continuously re-executing ourselves.
139 if test x
"${_as_can_reexec}" != xno
&& test "x$CONFIG_SHELL" != x
; then
140 _as_can_reexec
=no
; export _as_can_reexec
;
141 # We cannot yet assume a decent shell, so we have to provide a
142 # neutralization value for shells without unset; and this also
143 # works around shells that cannot unset nonexistent variables.
144 # Preserve -v and -x to the replacement shell.
147 (unset BASH_ENV
) >/dev
/null
2>&1 && unset BASH_ENV ENV
149 *v
*x
* |
*x
*v
* ) as_opts
=-vx ;;
154 exec $CONFIG_SHELL $as_opts "$as_myself" ${1+"$@"}
155 # Admittedly, this is quite paranoid, since all the known shells bail
156 # out after a failed `exec'.
157 $as_echo "$0: could not re-execute with $CONFIG_SHELL" >&2
160 # We don't want this to propagate to other subprocesses.
161 { _as_can_reexec
=; unset _as_can_reexec
;}
162 if test "x$CONFIG_SHELL" = x
; then
163 as_bourne_compatible
="if test -n \"\${ZSH_VERSION+set}\" && (emulate sh) >/dev/null 2>&1; then :
166 # Pre-4.2 versions of Zsh do word splitting on \${1+\"\$@\"}, which
167 # is contrary to our usage. Disable this feature.
168 alias -g '\${1+\"\$@\"}'='\"\$@\"'
171 case \`(set -o) 2>/dev/null\` in #(
179 as_required
="as_fn_return () { (exit \$1); }
180 as_fn_success () { as_fn_return 0; }
181 as_fn_failure () { as_fn_return 1; }
182 as_fn_ret_success () { return 0; }
183 as_fn_ret_failure () { return 1; }
186 as_fn_success || { exitcode=1; echo as_fn_success failed.; }
187 as_fn_failure && { exitcode=1; echo as_fn_failure succeeded.; }
188 as_fn_ret_success || { exitcode=1; echo as_fn_ret_success failed.; }
189 as_fn_ret_failure && { exitcode=1; echo as_fn_ret_failure succeeded.; }
190 if ( set x; as_fn_ret_success y && test x = \"\$1\" ); then :
193 exitcode=1; echo positional parameters were not saved.
195 test x\$exitcode = x0 || exit 1
197 as_suggested
=" as_lineno_1=";as_suggested
=$as_suggested$LINENO;as_suggested
=$as_suggested" as_lineno_1a=\$LINENO
198 as_lineno_2=";as_suggested
=$as_suggested$LINENO;as_suggested
=$as_suggested" as_lineno_2a=\$LINENO
199 eval 'test \"x\$as_lineno_1'\$as_run'\" != \"x\$as_lineno_2'\$as_run'\" &&
200 test \"x\`expr \$as_lineno_1'\$as_run' + 1\`\" = \"x\$as_lineno_2'\$as_run'\"' || exit 1
201 test \$(( 1 + 1 )) = 2 || exit 1"
202 if (eval "$as_required") 2>/dev
/null
; then :
207 if test x
$as_have_required = xyes
&& (eval "$as_suggested") 2>/dev
/null
; then :
210 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
212 for as_dir
in /bin
$PATH_SEPARATOR/usr
/bin
$PATH_SEPARATOR$PATH
215 test -z "$as_dir" && as_dir
=.
219 for as_base
in sh bash ksh sh5
; do
220 # Try only shells that exist, to save several forks.
221 as_shell
=$as_dir/$as_base
222 if { test -f "$as_shell" ||
test -f "$as_shell.exe"; } &&
223 { $as_echo "$as_bourne_compatible""$as_required" | as_run
=a
"$as_shell"; } 2>/dev
/null
; then :
224 CONFIG_SHELL
=$as_shell as_have_required
=yes
225 if { $as_echo "$as_bourne_compatible""$as_suggested" | as_run
=a
"$as_shell"; } 2>/dev
/null
; then :
233 $as_found ||
{ if { test -f "$SHELL" ||
test -f "$SHELL.exe"; } &&
234 { $as_echo "$as_bourne_compatible""$as_required" | as_run
=a
"$SHELL"; } 2>/dev
/null
; then :
235 CONFIG_SHELL
=$SHELL as_have_required
=yes
240 if test "x$CONFIG_SHELL" != x
; then :
242 # We cannot yet assume a decent shell, so we have to provide a
243 # neutralization value for shells without unset; and this also
244 # works around shells that cannot unset nonexistent variables.
245 # Preserve -v and -x to the replacement shell.
248 (unset BASH_ENV
) >/dev
/null
2>&1 && unset BASH_ENV ENV
250 *v
*x
* |
*x
*v
* ) as_opts
=-vx ;;
255 exec $CONFIG_SHELL $as_opts "$as_myself" ${1+"$@"}
256 # Admittedly, this is quite paranoid, since all the known shells bail
257 # out after a failed `exec'.
258 $as_echo "$0: could not re-execute with $CONFIG_SHELL" >&2
262 if test x
$as_have_required = xno
; then :
263 $as_echo "$0: This script requires a shell more modern than all"
264 $as_echo "$0: the shells that I found on your system."
265 if test x
${ZSH_VERSION+set} = xset
; then
266 $as_echo "$0: In particular, zsh $ZSH_VERSION has bugs and should"
267 $as_echo "$0: be upgraded to zsh 4.3.4 or later."
269 $as_echo "$0: Please tell bug-autoconf@gnu.org and
270 $0: wine-devel@winehq.org about your system, including any
271 $0: error possibly output before this message. Then install
272 $0: a modern shell, or manually run the script under such a
273 $0: shell if you do have one."
279 SHELL
=${CONFIG_SHELL-/bin/sh}
281 # Unset more variables known to interfere with behavior of common tools.
282 CLICOLOR_FORCE
= GREP_OPTIONS
=
283 unset CLICOLOR_FORCE GREP_OPTIONS
285 ## --------------------- ##
286 ## M4sh Shell Functions. ##
287 ## --------------------- ##
290 # Portably unset VAR.
293 { eval $1=; unset $1;}
297 # as_fn_set_status STATUS
298 # -----------------------
299 # Set $? to STATUS, without forking.
307 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
317 # Create "$as_dir" as a directory, including parents if necessary.
322 -*) as_dir
=.
/$as_dir;;
324 test -d "$as_dir" ||
eval $as_mkdir_p ||
{
328 *\'*) as_qdir
=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
331 as_dirs
="'$as_qdir' $as_dirs"
332 as_dir
=`$as_dirname -- "$as_dir" ||
333 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
334 X"$as_dir" : 'X\(//\)[^/]' \| \
335 X"$as_dir" : 'X\(//\)$' \| \
336 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
337 $as_echo X"$as_dir" |
338 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
355 test -d "$as_dir" && break
357 test -z "$as_dirs" ||
eval "mkdir $as_dirs"
358 } ||
test -d "$as_dir" || as_fn_error $?
"cannot create directory $as_dir"
363 # as_fn_executable_p FILE
364 # -----------------------
365 # Test if FILE is an executable regular file.
366 as_fn_executable_p
()
368 test -f "$1" && test -x "$1"
369 } # as_fn_executable_p
370 # as_fn_append VAR VALUE
371 # ----------------------
372 # Append the text in VALUE to the end of the definition contained in VAR. Take
373 # advantage of any shell optimizations that allow amortized linear growth over
374 # repeated appends, instead of the typical quadratic growth present in naive
376 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev
/null
; then :
377 eval 'as_fn_append ()
390 # Perform arithmetic evaluation on the ARGs, and store the result in the
391 # global $as_val. Take advantage of shells that can avoid forks. The arguments
392 # must be portable across $(()) and expr.
393 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev
/null
; then :
401 as_val
=`expr "$@" || test $? -eq 1`
406 # as_fn_error STATUS ERROR [LINENO LOG_FD]
407 # ----------------------------------------
408 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
409 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
410 # script with STATUS, using 1 if that was 0.
413 as_status
=$1; test $as_status -eq 0 && as_status
=1
415 as_lineno
=${as_lineno-"$3"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
416 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
418 $as_echo "$as_me: error: $2" >&2
419 as_fn_exit
$as_status
422 if expr a
: '\(a\)' >/dev
/null
2>&1 &&
423 test "X`expr 00001 : '.*\(...\)'`" = X001
; then
429 if (basename -- /) >/dev
/null
2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
435 if (as_dir
=`dirname -- /` && test "X$as_dir" = X
/) >/dev
/null
2>&1; then
441 as_me
=`$as_basename -- "$0" ||
442 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
443 X"$0" : 'X\(//\)$' \| \
444 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
446 sed '/^.*\/\([^/][^/]*\)\/*$/{
460 # Avoid depending upon Character Ranges.
461 as_cr_letters
='abcdefghijklmnopqrstuvwxyz'
462 as_cr_LETTERS
='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
463 as_cr_Letters
=$as_cr_letters$as_cr_LETTERS
464 as_cr_digits
='0123456789'
465 as_cr_alnum
=$as_cr_Letters$as_cr_digits
468 as_lineno_1
=$LINENO as_lineno_1a
=$LINENO
469 as_lineno_2
=$LINENO as_lineno_2a
=$LINENO
470 eval 'test "x$as_lineno_1'$as_run'" != "x$as_lineno_2'$as_run'" &&
471 test "x`expr $as_lineno_1'$as_run' + 1`" = "x$as_lineno_2'$as_run'"' ||
{
472 # Blame Lee E. McMahon (1931-1989) for sed's syntax. :-)
484 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
488 chmod +x
"$as_me.lineno" ||
489 { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2; as_fn_exit
1; }
491 # If we had to re-execute with $CONFIG_SHELL, we're ensured to have
492 # already done that, so ensure we don't try to do so again and fall
493 # in an infinite loop. This has already happened in practice.
494 _as_can_reexec
=no
; export _as_can_reexec
495 # Don't try to exec as it changes $[0], causing all sort of problems
496 # (the dirname of $[0] is not the place where we might find the
497 # original and so on. Autoconf is especially sensitive to this).
499 # Exit status is that of the last command.
503 ECHO_C
= ECHO_N
= ECHO_T
=
504 case `echo -n x` in #(((((
506 case `echo 'xy\c'` in
507 *c
*) ECHO_T
=' ';; # ECHO_T is single tab character.
509 *) echo `echo ksh88 bug on AIX 6.1` > /dev
/null
516 rm -f conf$$ conf$$.exe conf$$.
file
517 if test -d conf$$.dir
; then
518 rm -f conf$$.dir
/conf$$.
file
521 mkdir conf$$.dir
2>/dev
/null
523 if (echo >conf$$.
file) 2>/dev
/null
; then
524 if ln -s conf$$.
file conf$$
2>/dev
/null
; then
526 # ... but there are two gotchas:
527 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
528 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
529 # In both cases, we have to default to `cp -pR'.
530 ln -s conf$$.
file conf$$.dir
2>/dev
/null
&& test ! -f conf$$.exe ||
532 elif ln conf$$.
file conf$$
2>/dev
/null
; then
540 rm -f conf$$ conf$$.exe conf$$.dir
/conf$$.
file conf$$.
file
541 rmdir conf$$.dir
2>/dev
/null
543 if mkdir
-p .
2>/dev
/null
; then
544 as_mkdir_p
='mkdir -p "$as_dir"'
546 test -d .
/-p && rmdir .
/-p
551 as_executable_p
=as_fn_executable_p
553 # Sed expression to map a string onto a valid CPP name.
554 as_tr_cpp
="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
556 # Sed expression to map a string onto a valid variable name.
557 as_tr_sh
="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
560 test -n "$DJDIR" ||
exec 7<&0 </dev
/null
564 # hostname on some systems (SVR3.2, old GNU/Linux) returns a bogus exit status,
565 # so uname gets run too.
566 ac_hostname
=`(hostname || uname -n) 2>/dev/null | sed 1q`
571 ac_default_prefix
=/usr
/local
573 ac_config_libobj_dir
=.
580 # Identity of this package.
582 PACKAGE_TARNAME
='wine'
583 PACKAGE_VERSION
='1.7.42'
584 PACKAGE_STRING
='Wine 1.7.42'
585 PACKAGE_BUGREPORT
='wine-devel@winehq.org'
586 PACKAGE_URL
='http://www.winehq.org'
588 ac_unique_file
="server/atom.c"
589 # Factoring default headers for most tests.
590 ac_includes_default
="\
592 #ifdef HAVE_SYS_TYPES_H
593 # include <sys/types.h>
595 #ifdef HAVE_SYS_STAT_H
596 # include <sys/stat.h>
602 # ifdef HAVE_STDLIB_H
607 # if !defined STDC_HEADERS && defined HAVE_MEMORY_H
612 #ifdef HAVE_STRINGS_H
613 # include <strings.h>
615 #ifdef HAVE_INTTYPES_H
616 # include <inttypes.h>
625 ac_subst_vars
='LTLIBOBJS
698 APPLICATIONSERVICES_LIBS
783 program_transform_name
796 enable_option_checking
800 enable_maintainer_mode
857 enable_api_ms_win_core_com_l1_1_0
858 enable_api_ms_win_core_console_l1_1_0
859 enable_api_ms_win_core_datetime_l1_1_0
860 enable_api_ms_win_core_datetime_l1_1_1
861 enable_api_ms_win_core_debug_l1_1_0
862 enable_api_ms_win_core_debug_l1_1_1
863 enable_api_ms_win_core_errorhandling_l1_1_0
864 enable_api_ms_win_core_errorhandling_l1_1_1
865 enable_api_ms_win_core_errorhandling_l1_1_2
866 enable_api_ms_win_core_fibers_l1_1_0
867 enable_api_ms_win_core_fibers_l1_1_1
868 enable_api_ms_win_core_file_l1_1_0
869 enable_api_ms_win_core_file_l1_2_0
870 enable_api_ms_win_core_file_l2_1_0
871 enable_api_ms_win_core_file_l2_1_1
872 enable_api_ms_win_core_handle_l1_1_0
873 enable_api_ms_win_core_heap_l1_2_0
874 enable_api_ms_win_core_heap_obsolete_l1_1_0
875 enable_api_ms_win_core_interlocked_l1_2_0
876 enable_api_ms_win_core_io_l1_1_1
877 enable_api_ms_win_core_kernel32_legacy_l1_1_0
878 enable_api_ms_win_core_libraryloader_l1_1_1
879 enable_api_ms_win_core_localization_l1_2_0
880 enable_api_ms_win_core_localization_l1_2_1
881 enable_api_ms_win_core_localization_obsolete_l1_1_0
882 enable_api_ms_win_core_localregistry_l1_1_0
883 enable_api_ms_win_core_memory_l1_1_1
884 enable_api_ms_win_core_namedpipe_l1_2_0
885 enable_api_ms_win_core_processenvironment_l1_2_0
886 enable_api_ms_win_core_processthreads_l1_1_0
887 enable_api_ms_win_core_processthreads_l1_1_1
888 enable_api_ms_win_core_processthreads_l1_1_2
889 enable_api_ms_win_core_profile_l1_1_0
890 enable_api_ms_win_core_psapi_l1_1_0
891 enable_api_ms_win_core_registry_l1_1_0
892 enable_api_ms_win_core_rtlsupport_l1_2_0
893 enable_api_ms_win_core_shlwapi_legacy_l1_1_0
894 enable_api_ms_win_core_string_l1_1_0
895 enable_api_ms_win_core_synch_l1_2_0
896 enable_api_ms_win_core_sysinfo_l1_2_0
897 enable_api_ms_win_core_sysinfo_l1_2_1
898 enable_api_ms_win_core_threadpool_legacy_l1_1_0
899 enable_api_ms_win_core_timezone_l1_1_0
900 enable_api_ms_win_core_url_l1_1_0
901 enable_api_ms_win_core_util_l1_1_0
902 enable_api_ms_win_core_winrt_error_l1_1_0
903 enable_api_ms_win_core_winrt_error_l1_1_1
904 enable_api_ms_win_core_winrt_l1_1_0
905 enable_api_ms_win_core_winrt_string_l1_1_0
906 enable_api_ms_win_core_xstate_l2_1_0
907 enable_api_ms_win_downlevel_advapi32_l1_1_0
908 enable_api_ms_win_downlevel_advapi32_l2_1_0
909 enable_api_ms_win_downlevel_normaliz_l1_1_0
910 enable_api_ms_win_downlevel_ole32_l1_1_0
911 enable_api_ms_win_downlevel_shell32_l1_1_0
912 enable_api_ms_win_downlevel_shlwapi_l1_1_0
913 enable_api_ms_win_downlevel_shlwapi_l2_1_0
914 enable_api_ms_win_downlevel_user32_l1_1_0
915 enable_api_ms_win_downlevel_version_l1_1_0
916 enable_api_ms_win_eventing_provider_l1_1_0
917 enable_api_ms_win_ntuser_dc_access_l1_1_0
918 enable_api_ms_win_security_base_l1_1_0
919 enable_api_ms_win_security_base_l1_2_0
920 enable_api_ms_win_security_sddl_l1_1_0
921 enable_api_ms_win_service_core_l1_1_1
922 enable_api_ms_win_service_management_l1_1_0
923 enable_api_ms_win_service_winsvc_l1_2_0
966 enable_d3dcompiler_33
967 enable_d3dcompiler_34
968 enable_d3dcompiler_35
969 enable_d3dcompiler_36
970 enable_d3dcompiler_37
971 enable_d3dcompiler_38
972 enable_d3dcompiler_39
973 enable_d3dcompiler_40
974 enable_d3dcompiler_41
975 enable_d3dcompiler_42
976 enable_d3dcompiler_43
1052 enable_explorerframe
1053 enable_ext_ms_win_gdi_devcaps_l1_1_0
1208 enable_photometadatahandler
1290 enable_windowscodecs
1291 enable_windowscodecsext
1293 enable_winecoreaudio_drv
1295 enable_winegstreamer
1296 enable_winejoystick_drv
1302 enable_wineqtdecoder
1350 enable_documentation
1358 enable_aspnet_regiis
1391 enable_presentationfontcache
1404 enable_servicemodelreg
1425 enable_winemenubuilder
1427 enable_winemsibuilder
1441 ac_precious_vars
='build_alias
1490 # Initialize some variables set by options.
1492 ac_init_version
=false
1493 ac_unrecognized_opts
=
1494 ac_unrecognized_sep
=
1495 # The variables have the same names as the options, with
1496 # dashes changed to underlines.
1497 cache_file
=/dev
/null
1504 program_transform_name
=s
,x
,x
,
1512 # Installation directory options.
1513 # These are left unexpanded so users can "make install exec_prefix=/foo"
1514 # and all the variables that are supposed to be based on exec_prefix
1515 # by default will actually change.
1516 # Use braces instead of parens because sh, perl, etc. also accept them.
1517 # (The list follows the same order as the GNU Coding Standards.)
1518 bindir
='${exec_prefix}/bin'
1519 sbindir
='${exec_prefix}/sbin'
1520 libexecdir
='${exec_prefix}/libexec'
1521 datarootdir
='${prefix}/share'
1522 datadir
='${datarootdir}'
1523 sysconfdir
='${prefix}/etc'
1524 sharedstatedir
='${prefix}/com'
1525 localstatedir
='${prefix}/var'
1526 includedir
='${prefix}/include'
1527 oldincludedir
='/usr/include'
1528 docdir
='${datarootdir}/doc/${PACKAGE_TARNAME}'
1529 infodir
='${datarootdir}/info'
1534 libdir
='${exec_prefix}/lib'
1535 localedir
='${datarootdir}/locale'
1536 mandir
='${datarootdir}/man'
1542 # If the previous option needs an argument, assign it.
1543 if test -n "$ac_prev"; then
1544 eval $ac_prev=\
$ac_option
1550 *=?
*) ac_optarg
=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
1555 # Accept the important Cygnus configure options, so we can diagnose typos.
1557 case $ac_dashdash$ac_option in
1561 -bindir |
--bindir |
--bindi |
--bind |
--bin |
--bi)
1563 -bindir=* |
--bindir=* |
--bindi=* |
--bind=* |
--bin=* |
--bi=*)
1564 bindir
=$ac_optarg ;;
1566 -build |
--build |
--buil |
--bui |
--bu)
1567 ac_prev
=build_alias
;;
1568 -build=* |
--build=* |
--buil=* |
--bui=* |
--bu=*)
1569 build_alias
=$ac_optarg ;;
1571 -cache-file |
--cache-file |
--cache-fil |
--cache-fi \
1572 |
--cache-f |
--cache- |
--cache |
--cach |
--cac |
--ca |
--c)
1573 ac_prev
=cache_file
;;
1574 -cache-file=* |
--cache-file=* |
--cache-fil=* |
--cache-fi=* \
1575 |
--cache-f=* |
--cache-=* |
--cache=* |
--cach=* |
--cac=* |
--ca=* |
--c=*)
1576 cache_file
=$ac_optarg ;;
1578 --config-cache |
-C)
1579 cache_file
=config.cache
;;
1581 -datadir |
--datadir |
--datadi |
--datad)
1583 -datadir=* |
--datadir=* |
--datadi=* |
--datad=*)
1584 datadir
=$ac_optarg ;;
1586 -datarootdir |
--datarootdir |
--datarootdi |
--datarootd |
--dataroot \
1587 |
--dataroo |
--dataro |
--datar)
1588 ac_prev
=datarootdir
;;
1589 -datarootdir=* |
--datarootdir=* |
--datarootdi=* |
--datarootd=* \
1590 |
--dataroot=* |
--dataroo=* |
--dataro=* |
--datar=*)
1591 datarootdir
=$ac_optarg ;;
1593 -disable-* |
--disable-*)
1594 ac_useropt
=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
1595 # Reject names that are not valid shell variable names.
1596 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
1597 as_fn_error $?
"invalid feature name: $ac_useropt"
1598 ac_useropt_orig
=$ac_useropt
1599 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1600 case $ac_user_opts in
1602 "enable_
$ac_useropt"
1604 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
1605 ac_unrecognized_sep
=', ';;
1607 eval enable_
$ac_useropt=no
;;
1609 -docdir |
--docdir |
--docdi |
--doc |
--do)
1611 -docdir=* |
--docdir=* |
--docdi=* |
--doc=* |
--do=*)
1612 docdir
=$ac_optarg ;;
1614 -dvidir |
--dvidir |
--dvidi |
--dvid |
--dvi |
--dv)
1616 -dvidir=* |
--dvidir=* |
--dvidi=* |
--dvid=* |
--dvi=* |
--dv=*)
1617 dvidir
=$ac_optarg ;;
1619 -enable-* |
--enable-*)
1620 ac_useropt
=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
1621 # Reject names that are not valid shell variable names.
1622 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
1623 as_fn_error $?
"invalid feature name: $ac_useropt"
1624 ac_useropt_orig
=$ac_useropt
1625 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1626 case $ac_user_opts in
1628 "enable_
$ac_useropt"
1630 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
1631 ac_unrecognized_sep
=', ';;
1633 eval enable_
$ac_useropt=\
$ac_optarg ;;
1635 -exec-prefix |
--exec_prefix |
--exec-prefix |
--exec-prefi \
1636 |
--exec-pref |
--exec-pre |
--exec-pr |
--exec-p |
--exec- \
1637 |
--exec |
--exe |
--ex)
1638 ac_prev
=exec_prefix
;;
1639 -exec-prefix=* |
--exec_prefix=* |
--exec-prefix=* |
--exec-prefi=* \
1640 |
--exec-pref=* |
--exec-pre=* |
--exec-pr=* |
--exec-p=* |
--exec-=* \
1641 |
--exec=* |
--exe=* |
--ex=*)
1642 exec_prefix
=$ac_optarg ;;
1644 -gas |
--gas |
--ga |
--g)
1645 # Obsolete; use --with-gas.
1648 -help |
--help |
--hel |
--he |
-h)
1649 ac_init_help
=long
;;
1650 -help=r
* |
--help=r
* |
--hel=r
* |
--he=r
* |
-hr*)
1651 ac_init_help
=recursive
;;
1652 -help=s
* |
--help=s
* |
--hel=s
* |
--he=s
* |
-hs*)
1653 ac_init_help
=short
;;
1655 -host |
--host |
--hos |
--ho)
1656 ac_prev
=host_alias
;;
1657 -host=* |
--host=* |
--hos=* |
--ho=*)
1658 host_alias
=$ac_optarg ;;
1660 -htmldir |
--htmldir |
--htmldi |
--htmld |
--html |
--htm |
--ht)
1662 -htmldir=* |
--htmldir=* |
--htmldi=* |
--htmld=* |
--html=* |
--htm=* \
1664 htmldir
=$ac_optarg ;;
1666 -includedir |
--includedir |
--includedi |
--included |
--include \
1667 |
--includ |
--inclu |
--incl |
--inc)
1668 ac_prev
=includedir
;;
1669 -includedir=* |
--includedir=* |
--includedi=* |
--included=* |
--include=* \
1670 |
--includ=* |
--inclu=* |
--incl=* |
--inc=*)
1671 includedir
=$ac_optarg ;;
1673 -infodir |
--infodir |
--infodi |
--infod |
--info |
--inf)
1675 -infodir=* |
--infodir=* |
--infodi=* |
--infod=* |
--info=* |
--inf=*)
1676 infodir
=$ac_optarg ;;
1678 -libdir |
--libdir |
--libdi |
--libd)
1680 -libdir=* |
--libdir=* |
--libdi=* |
--libd=*)
1681 libdir
=$ac_optarg ;;
1683 -libexecdir |
--libexecdir |
--libexecdi |
--libexecd |
--libexec \
1684 |
--libexe |
--libex |
--libe)
1685 ac_prev
=libexecdir
;;
1686 -libexecdir=* |
--libexecdir=* |
--libexecdi=* |
--libexecd=* |
--libexec=* \
1687 |
--libexe=* |
--libex=* |
--libe=*)
1688 libexecdir
=$ac_optarg ;;
1690 -localedir |
--localedir |
--localedi |
--localed |
--locale)
1691 ac_prev
=localedir
;;
1692 -localedir=* |
--localedir=* |
--localedi=* |
--localed=* |
--locale=*)
1693 localedir
=$ac_optarg ;;
1695 -localstatedir |
--localstatedir |
--localstatedi |
--localstated \
1696 |
--localstate |
--localstat |
--localsta |
--localst |
--locals)
1697 ac_prev
=localstatedir
;;
1698 -localstatedir=* |
--localstatedir=* |
--localstatedi=* |
--localstated=* \
1699 |
--localstate=* |
--localstat=* |
--localsta=* |
--localst=* |
--locals=*)
1700 localstatedir
=$ac_optarg ;;
1702 -mandir |
--mandir |
--mandi |
--mand |
--man |
--ma |
--m)
1704 -mandir=* |
--mandir=* |
--mandi=* |
--mand=* |
--man=* |
--ma=* |
--m=*)
1705 mandir
=$ac_optarg ;;
1707 -nfp |
--nfp |
--nf)
1708 # Obsolete; use --without-fp.
1711 -no-create |
--no-create |
--no-creat |
--no-crea |
--no-cre \
1712 |
--no-cr |
--no-c |
-n)
1715 -no-recursion |
--no-recursion |
--no-recursio |
--no-recursi \
1716 |
--no-recurs |
--no-recur |
--no-recu |
--no-rec |
--no-re |
--no-r)
1719 -oldincludedir |
--oldincludedir |
--oldincludedi |
--oldincluded \
1720 |
--oldinclude |
--oldinclud |
--oldinclu |
--oldincl |
--oldinc \
1721 |
--oldin |
--oldi |
--old |
--ol |
--o)
1722 ac_prev
=oldincludedir
;;
1723 -oldincludedir=* |
--oldincludedir=* |
--oldincludedi=* |
--oldincluded=* \
1724 |
--oldinclude=* |
--oldinclud=* |
--oldinclu=* |
--oldincl=* |
--oldinc=* \
1725 |
--oldin=* |
--oldi=* |
--old=* |
--ol=* |
--o=*)
1726 oldincludedir
=$ac_optarg ;;
1728 -prefix |
--prefix |
--prefi |
--pref |
--pre |
--pr |
--p)
1730 -prefix=* |
--prefix=* |
--prefi=* |
--pref=* |
--pre=* |
--pr=* |
--p=*)
1731 prefix
=$ac_optarg ;;
1733 -program-prefix |
--program-prefix |
--program-prefi |
--program-pref \
1734 |
--program-pre |
--program-pr |
--program-p)
1735 ac_prev
=program_prefix
;;
1736 -program-prefix=* |
--program-prefix=* |
--program-prefi=* \
1737 |
--program-pref=* |
--program-pre=* |
--program-pr=* |
--program-p=*)
1738 program_prefix
=$ac_optarg ;;
1740 -program-suffix |
--program-suffix |
--program-suffi |
--program-suff \
1741 |
--program-suf |
--program-su |
--program-s)
1742 ac_prev
=program_suffix
;;
1743 -program-suffix=* |
--program-suffix=* |
--program-suffi=* \
1744 |
--program-suff=* |
--program-suf=* |
--program-su=* |
--program-s=*)
1745 program_suffix
=$ac_optarg ;;
1747 -program-transform-name |
--program-transform-name \
1748 |
--program-transform-nam |
--program-transform-na \
1749 |
--program-transform-n |
--program-transform- \
1750 |
--program-transform |
--program-transfor \
1751 |
--program-transfo |
--program-transf \
1752 |
--program-trans |
--program-tran \
1753 |
--progr-tra |
--program-tr |
--program-t)
1754 ac_prev
=program_transform_name
;;
1755 -program-transform-name=* |
--program-transform-name=* \
1756 |
--program-transform-nam=* |
--program-transform-na=* \
1757 |
--program-transform-n=* |
--program-transform-=* \
1758 |
--program-transform=* |
--program-transfor=* \
1759 |
--program-transfo=* |
--program-transf=* \
1760 |
--program-trans=* |
--program-tran=* \
1761 |
--progr-tra=* |
--program-tr=* |
--program-t=*)
1762 program_transform_name
=$ac_optarg ;;
1764 -pdfdir |
--pdfdir |
--pdfdi |
--pdfd |
--pdf |
--pd)
1766 -pdfdir=* |
--pdfdir=* |
--pdfdi=* |
--pdfd=* |
--pdf=* |
--pd=*)
1767 pdfdir
=$ac_optarg ;;
1769 -psdir |
--psdir |
--psdi |
--psd |
--ps)
1771 -psdir=* |
--psdir=* |
--psdi=* |
--psd=* |
--ps=*)
1774 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
1775 |
-silent |
--silent |
--silen |
--sile |
--sil)
1778 -sbindir |
--sbindir |
--sbindi |
--sbind |
--sbin |
--sbi |
--sb)
1780 -sbindir=* |
--sbindir=* |
--sbindi=* |
--sbind=* |
--sbin=* \
1782 sbindir
=$ac_optarg ;;
1784 -sharedstatedir |
--sharedstatedir |
--sharedstatedi \
1785 |
--sharedstated |
--sharedstate |
--sharedstat |
--sharedsta \
1786 |
--sharedst |
--shareds |
--shared |
--share |
--shar \
1788 ac_prev
=sharedstatedir
;;
1789 -sharedstatedir=* |
--sharedstatedir=* |
--sharedstatedi=* \
1790 |
--sharedstated=* |
--sharedstate=* |
--sharedstat=* |
--sharedsta=* \
1791 |
--sharedst=* |
--shareds=* |
--shared=* |
--share=* |
--shar=* \
1793 sharedstatedir
=$ac_optarg ;;
1795 -site |
--site |
--sit)
1797 -site=* |
--site=* |
--sit=*)
1800 -srcdir |
--srcdir |
--srcdi |
--srcd |
--src |
--sr)
1802 -srcdir=* |
--srcdir=* |
--srcdi=* |
--srcd=* |
--src=* |
--sr=*)
1803 srcdir
=$ac_optarg ;;
1805 -sysconfdir |
--sysconfdir |
--sysconfdi |
--sysconfd |
--sysconf \
1806 |
--syscon |
--sysco |
--sysc |
--sys |
--sy)
1807 ac_prev
=sysconfdir
;;
1808 -sysconfdir=* |
--sysconfdir=* |
--sysconfdi=* |
--sysconfd=* |
--sysconf=* \
1809 |
--syscon=* |
--sysco=* |
--sysc=* |
--sys=* |
--sy=*)
1810 sysconfdir
=$ac_optarg ;;
1812 -target |
--target |
--targe |
--targ |
--tar |
--ta |
--t)
1813 ac_prev
=target_alias
;;
1814 -target=* |
--target=* |
--targe=* |
--targ=* |
--tar=* |
--ta=* |
--t=*)
1815 target_alias
=$ac_optarg ;;
1817 -v |
-verbose |
--verbose |
--verbos |
--verbo |
--verb)
1820 -version |
--version |
--versio |
--versi |
--vers |
-V)
1821 ac_init_version
=: ;;
1824 ac_useropt
=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1825 # Reject names that are not valid shell variable names.
1826 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
1827 as_fn_error $?
"invalid package name: $ac_useropt"
1828 ac_useropt_orig
=$ac_useropt
1829 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1830 case $ac_user_opts in
1834 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
1835 ac_unrecognized_sep
=', ';;
1837 eval with_
$ac_useropt=\
$ac_optarg ;;
1839 -without-* |
--without-*)
1840 ac_useropt
=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1841 # Reject names that are not valid shell variable names.
1842 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
1843 as_fn_error $?
"invalid package name: $ac_useropt"
1844 ac_useropt_orig
=$ac_useropt
1845 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1846 case $ac_user_opts in
1850 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
1851 ac_unrecognized_sep
=', ';;
1853 eval with_
$ac_useropt=no
;;
1856 # Obsolete; use --with-x.
1859 -x-includes |
--x-includes |
--x-include |
--x-includ |
--x-inclu \
1860 |
--x-incl |
--x-inc |
--x-in |
--x-i)
1861 ac_prev
=x_includes
;;
1862 -x-includes=* |
--x-includes=* |
--x-include=* |
--x-includ=* |
--x-inclu=* \
1863 |
--x-incl=* |
--x-inc=* |
--x-in=* |
--x-i=*)
1864 x_includes
=$ac_optarg ;;
1866 -x-libraries |
--x-libraries |
--x-librarie |
--x-librari \
1867 |
--x-librar |
--x-libra |
--x-libr |
--x-lib |
--x-li |
--x-l)
1868 ac_prev
=x_libraries
;;
1869 -x-libraries=* |
--x-libraries=* |
--x-librarie=* |
--x-librari=* \
1870 |
--x-librar=* |
--x-libra=* |
--x-libr=* |
--x-lib=* |
--x-li=* |
--x-l=*)
1871 x_libraries
=$ac_optarg ;;
1873 -*) as_fn_error $?
"unrecognized option: \`$ac_option'
1874 Try \`$0 --help' for more information"
1878 ac_envvar
=`expr "x$ac_option" : 'x\([^=]*\)='`
1879 # Reject names that are not valid shell variable names.
1880 case $ac_envvar in #(
1881 '' |
[0-9]* |
*[!_
$as_cr_alnum]* )
1882 as_fn_error $?
"invalid variable name: \`$ac_envvar'" ;;
1884 eval $ac_envvar=\
$ac_optarg
1885 export $ac_envvar ;;
1888 # FIXME: should be removed in autoconf 3.0.
1889 $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1890 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev
/null
&&
1891 $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1892 : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}"
1898 if test -n "$ac_prev"; then
1899 ac_option
=--`echo $ac_prev | sed 's/_/-/g'`
1900 as_fn_error $?
"missing argument to $ac_option"
1903 if test -n "$ac_unrecognized_opts"; then
1904 case $enable_option_checking in
1906 fatal
) as_fn_error $?
"unrecognized options: $ac_unrecognized_opts" ;;
1907 *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
1911 # Check all directory arguments for consistency.
1912 for ac_var
in exec_prefix prefix bindir sbindir libexecdir datarootdir \
1913 datadir sysconfdir sharedstatedir localstatedir includedir \
1914 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1915 libdir localedir mandir
1917 eval ac_val
=\$
$ac_var
1918 # Remove trailing slashes.
1921 ac_val
=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
1922 eval $ac_var=\
$ac_val;;
1924 # Be sure to have absolute directory names.
1926 [\\/$
]* | ?
:[\\/]* ) continue;;
1927 NONE |
'' ) case $ac_var in *prefix
) continue;; esac;;
1929 as_fn_error $?
"expected an absolute directory name for --$ac_var: $ac_val"
1932 # There might be people who depend on the old broken behavior: `$host'
1933 # used to hold the argument of --host etc.
1934 # FIXME: To remove some day.
1937 target
=$target_alias
1939 # FIXME: To remove some day.
1940 if test "x$host_alias" != x
; then
1941 if test "x$build_alias" = x
; then
1942 cross_compiling
=maybe
1943 elif test "x$build_alias" != "x$host_alias"; then
1949 test -n "$host_alias" && ac_tool_prefix
=$host_alias-
1951 test "$silent" = yes && exec 6>/dev
/null
1954 ac_pwd
=`pwd` && test -n "$ac_pwd" &&
1955 ac_ls_di
=`ls -di .` &&
1956 ac_pwd_ls_di
=`cd "$ac_pwd" && ls -di .` ||
1957 as_fn_error $?
"working directory cannot be determined"
1958 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1959 as_fn_error $?
"pwd does not report name of working directory"
1962 # Find the source files, if location was not specified.
1963 if test -z "$srcdir"; then
1964 ac_srcdir_defaulted
=yes
1965 # Try the directory containing this script, then the parent directory.
1966 ac_confdir
=`$as_dirname -- "$as_myself" ||
1967 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1968 X"$as_myself" : 'X\(//\)[^/]' \| \
1969 X"$as_myself" : 'X\(//\)$' \| \
1970 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
1971 $as_echo X"$as_myself" |
1972 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1990 if test ! -r "$srcdir/$ac_unique_file"; then
1994 ac_srcdir_defaulted
=no
1996 if test ! -r "$srcdir/$ac_unique_file"; then
1997 test "$ac_srcdir_defaulted" = yes && srcdir
="$ac_confdir or .."
1998 as_fn_error $?
"cannot find sources ($ac_unique_file) in $srcdir"
2000 ac_msg
="sources are in $srcdir, but \`cd $srcdir' does not work"
2002 cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
2004 # When building in place, set srcdir=.
2005 if test "$ac_abs_confdir" = "$ac_pwd"; then
2008 # Remove unnecessary trailing slashes from srcdir.
2009 # Double slashes in file names in object file debugging info
2010 # mess up M-x gdb in Emacs.
2012 */) srcdir
=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
2014 for ac_var
in $ac_precious_vars; do
2015 eval ac_env_
${ac_var}_set=\${${ac_var}+set}
2016 eval ac_env_
${ac_var}_value
=\$
${ac_var}
2017 eval ac_cv_env_
${ac_var}_set=\${${ac_var}+set}
2018 eval ac_cv_env_
${ac_var}_value
=\$
${ac_var}
2022 # Report the --help message.
2024 if test "$ac_init_help" = "long"; then
2025 # Omit some internal or obsolete options to make the list less imposing.
2026 # This message is too long to be a string in the A/UX 3.1 sh.
2028 \`configure' configures Wine 1.7.42 to adapt to many kinds of systems.
2030 Usage: $0 [OPTION]... [VAR=VALUE]...
2032 To assign environment variables (e.g., CC, CFLAGS...), specify them as
2033 VAR=VALUE. See below for descriptions of some of the useful variables.
2035 Defaults for the options are specified in brackets.
2038 -h, --help display this help and exit
2039 --help=short display options specific to this package
2040 --help=recursive display the short help of all the included packages
2041 -V, --version display version information and exit
2042 -q, --quiet, --silent do not print \`checking ...' messages
2043 --cache-file=FILE cache test results in FILE [disabled]
2044 -C, --config-cache alias for \`--cache-file=config.cache'
2045 -n, --no-create do not create output files
2046 --srcdir=DIR find the sources in DIR [configure dir or \`..']
2048 Installation directories:
2049 --prefix=PREFIX install architecture-independent files in PREFIX
2050 [$ac_default_prefix]
2051 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
2054 By default, \`make install' will install all the files in
2055 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
2056 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
2057 for instance \`--prefix=\$HOME'.
2059 For better control, use the options below.
2061 Fine tuning of the installation directories:
2062 --bindir=DIR user executables [EPREFIX/bin]
2063 --sbindir=DIR system admin executables [EPREFIX/sbin]
2064 --libexecdir=DIR program executables [EPREFIX/libexec]
2065 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
2066 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
2067 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
2068 --libdir=DIR object code libraries [EPREFIX/lib]
2069 --includedir=DIR C header files [PREFIX/include]
2070 --oldincludedir=DIR C header files for non-gcc [/usr/include]
2071 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
2072 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
2073 --infodir=DIR info documentation [DATAROOTDIR/info]
2074 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
2075 --mandir=DIR man documentation [DATAROOTDIR/man]
2076 --docdir=DIR documentation root [DATAROOTDIR/doc/wine]
2077 --htmldir=DIR html documentation [DOCDIR]
2078 --dvidir=DIR dvi documentation [DOCDIR]
2079 --pdfdir=DIR pdf documentation [DOCDIR]
2080 --psdir=DIR ps documentation [DOCDIR]
2086 --x-includes=DIR X include files are
in DIR
2087 --x-libraries=DIR X library files are
in DIR
2090 --build=BUILD configure
for building on BUILD
[guessed
]
2091 --host=HOST cross-compile to build programs to run on HOST
[BUILD
]
2095 if test -n "$ac_init_help"; then
2096 case $ac_init_help in
2097 short | recursive
) echo "Configuration of Wine 1.7.42:";;
2102 --disable-option-checking ignore unrecognized
--enable/--with options
2103 --disable-FEATURE do not include FEATURE
(same as
--enable-FEATURE=no
)
2104 --enable-FEATURE[=ARG
] include FEATURE
[ARG
=yes]
2105 --disable-win16 do not include Win16 support
2106 --enable-win64 build a Win64 emulator on AMD64
(won
't run Win32
2108 --disable-tests do not build the regression tests
2109 --enable-maintainer-mode
2110 enable maintainer-specific build rules
2111 --disable-largefile omit support for large files
2114 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
2115 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
2116 --without-alsa do not use the Alsa sound support
2117 --without-capi do not use CAPI (ISDN support)
2118 --without-cms do not use CMS (color management support)
2119 --without-coreaudio do not use the CoreAudio sound support
2120 --without-cups do not use CUPS
2121 --without-curses do not use (n)curses
2122 --without-dbus do not use DBus (dynamic device support)
2123 --without-fontconfig do not use fontconfig
2124 --without-freetype do not use the FreeType library
2125 --without-gettext do not use gettext
2126 --with-gettextpo use the GetTextPO library to rebuild po files
2127 --without-gphoto do not use gphoto (Digital Camera support)
2128 --without-glu do not use the GLU library
2129 --without-gnutls do not use GnuTLS (schannel support)
2130 --without-gsm do not use libgsm (GSM 06.10 codec support)
2131 --without-gstreamer do not use GStreamer (codecs support)
2132 --without-hal do not use HAL (dynamic device support)
2133 --without-jpeg do not use JPEG
2134 --without-ldap do not use LDAP
2135 --without-mpg123 do not use the mpg123 library
2136 --without-netapi do not use the Samba NetAPI library
2137 --without-openal do not use OpenAL
2138 --without-opencl do not use OpenCL
2139 --without-opengl do not use OpenGL
2140 --without-osmesa do not use the OSMesa library
2141 --without-oss do not use the OSS sound support
2142 --without-pcap do not use the Packet Capture library
2143 --without-png do not use PNG
2144 --without-pthread do not use the pthread library
2145 --without-sane do not use SANE (scanner support)
2146 --without-tiff do not use TIFF
2147 --without-v4l do not use v4l1 (v4l support)
2148 --without-xcomposite do not use the Xcomposite extension
2149 --without-xcursor do not use the Xcursor extension
2150 --without-xinerama do not use Xinerama (multi-monitor support)
2151 --without-xinput do not use the Xinput extension
2152 --without-xinput2 do not use the Xinput 2 extension
2153 --without-xml do not use XML
2154 --without-xrandr do not use Xrandr (resolution changes)
2155 --without-xrender do not use the Xrender extension
2156 --without-xshape do not use the Xshape extension
2157 --without-xshm do not use XShm (shared memory extension)
2158 --without-xslt do not use XSLT
2159 --without-xxf86vm do not use XFree video mode extension
2160 --without-zlib do not use Zlib (data compression)
2161 --with-wine-tools=DIR use Wine tools from directory DIR
2162 --with-wine64=DIR use the 64-bit Wine in DIR for a Wow64 build
2163 --with-x use the X Window System
2165 Some influential environment variables:
2166 CC C compiler command
2167 CFLAGS C compiler flags
2168 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
2169 nonstandard directory <lib dir>
2170 LIBS libraries to pass to the linker, e.g. -l<library>
2171 CPPFLAGS (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if
2172 you have headers in a nonstandard directory <include dir>
2173 CXX C++ compiler command
2174 CXXFLAGS C++ compiler flags
2176 XMKMF Path to xmkmf, Makefile generator for X Window System
2177 XML2_CFLAGS C compiler flags for libxml-2.0, overriding pkg-config
2178 XML2_LIBS Linker flags for libxml-2.0, overriding pkg-config
2179 XSLT_CFLAGS C compiler flags for libxslt, overriding pkg-config
2180 XSLT_LIBS Linker flags for libxslt, overriding pkg-config
2181 DBUS_CFLAGS C compiler flags for dbus-1, overriding pkg-config
2182 DBUS_LIBS Linker flags for dbus-1, overriding pkg-config
2183 HAL_CFLAGS C compiler flags for hal, overriding pkg-config
2184 HAL_LIBS Linker flags for hal, overriding pkg-config
2186 C compiler flags for gnutls, overriding pkg-config
2187 GNUTLS_LIBS Linker flags for gnutls, overriding pkg-config
2188 SANE_CFLAGS C compiler flags for libsane, overriding pkg-config
2189 SANE_LIBS Linker flags for libsane, overriding pkg-config
2191 C compiler flags for libgphoto2, overriding pkg-config
2193 Linker flags for libgphoto2, overriding pkg-config
2195 C compiler flags for libgphoto2_port, overriding pkg-config
2197 Linker flags for libgphoto2_port, overriding pkg-config
2199 C compiler flags for lcms2, overriding pkg-config
2200 LCMS2_LIBS Linker flags for lcms2, overriding pkg-config
2202 C compiler flags for freetype2, overriding pkg-config
2204 Linker flags for freetype2, overriding pkg-config
2206 C compiler flags for gstreamer-app-0.10, overriding pkg-config
2208 Linker flags for gstreamer-app-0.10, overriding pkg-config
2210 C compiler flags for capi20, overriding pkg-config
2211 CAPI20_LIBS Linker flags for capi20, overriding pkg-config
2213 C compiler flags for fontconfig, overriding pkg-config
2215 Linker flags for fontconfig, overriding pkg-config
2216 JPEG_CFLAGS C compiler flags for libjpeg, overriding pkg-config
2217 JPEG_LIBS Linker flags for libjpeg, overriding pkg-config
2218 PNG_CFLAGS C compiler flags for libpng, overriding pkg-config
2219 PNG_LIBS Linker flags for libpng, overriding pkg-config
2220 TIFF_CFLAGS C compiler flags for libtiff, overriding pkg-config
2221 TIFF_LIBS Linker flags for libtiff, overriding pkg-config
2223 C compiler flags for libmpg123, overriding pkg-config
2224 MPG123_LIBS Linker flags for libmpg123, overriding pkg-config
2226 Use these variables to override the choices made by `configure' or to
help
2227 it to
find libraries and programs with nonstandard names
/locations.
2229 Report bugs to
<wine-devel@winehq.org
>.
2230 Wine home page
: <http
://www.winehq.org
>.
2235 if test "$ac_init_help" = "recursive"; then
2236 # If there are subdirs, report their specific --help.
2237 for ac_dir
in : $ac_subdirs_all; do test "x$ac_dir" = x
: && continue
2238 test -d "$ac_dir" ||
2239 { cd "$srcdir" && ac_pwd
=`pwd` && srcdir
=.
&& test -d "$ac_dir"; } ||
2244 .
) ac_dir_suffix
= ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
2246 ac_dir_suffix
=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
2247 # A ".." for each directory in $ac_dir_suffix.
2248 ac_top_builddir_sub
=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
2249 case $ac_top_builddir_sub in
2250 "") ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
2251 *) ac_top_build_prefix
=$ac_top_builddir_sub/ ;;
2254 ac_abs_top_builddir
=$ac_pwd
2255 ac_abs_builddir
=$ac_pwd$ac_dir_suffix
2256 # for backward compatibility:
2257 ac_top_builddir
=$ac_top_build_prefix
2260 .
) # We are building in place.
2262 ac_top_srcdir
=$ac_top_builddir_sub
2263 ac_abs_top_srcdir
=$ac_pwd ;;
2264 [\\/]* | ?
:[\\/]* ) # Absolute name.
2265 ac_srcdir
=$srcdir$ac_dir_suffix;
2266 ac_top_srcdir
=$srcdir
2267 ac_abs_top_srcdir
=$srcdir ;;
2269 ac_srcdir
=$ac_top_build_prefix$srcdir$ac_dir_suffix
2270 ac_top_srcdir
=$ac_top_build_prefix$srcdir
2271 ac_abs_top_srcdir
=$ac_pwd/$srcdir ;;
2273 ac_abs_srcdir
=$ac_abs_top_srcdir$ac_dir_suffix
2275 cd "$ac_dir" ||
{ ac_status
=$?
; continue; }
2276 # Check for guested configure.
2277 if test -f "$ac_srcdir/configure.gnu"; then
2279 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
2280 elif test -f "$ac_srcdir/configure"; then
2282 $SHELL "$ac_srcdir/configure" --help=recursive
2284 $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
2286 cd "$ac_pwd" ||
{ ac_status
=$?
; break; }
2290 test -n "$ac_init_help" && exit $ac_status
2291 if $ac_init_version; then
2293 Wine configure
1.7.42
2294 generated by GNU Autoconf
2.69
2296 Copyright
(C
) 2012 Free Software Foundation
, Inc.
2297 This configure
script is free software
; the Free Software Foundation
2298 gives unlimited permission to copy
, distribute and modify it.
2303 ## ------------------------ ##
2304 ## Autoconf initialization. ##
2305 ## ------------------------ ##
2307 # ac_fn_c_try_compile LINENO
2308 # --------------------------
2309 # Try to compile conftest.$ac_ext, and return whether this succeeded.
2310 ac_fn_c_try_compile
()
2312 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
2313 rm -f conftest.
$ac_objext
2314 if { { ac_try
="$ac_compile"
2316 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
2317 *) ac_try_echo=$ac_try;;
2319 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2320 $as_echo "$ac_try_echo"; } >&5
2321 (eval "$ac_compile") 2>conftest.err
2323 if test -s conftest.err; then
2324 grep -v '^ *+' conftest.err >conftest.er1
2325 cat conftest.er1 >&5
2326 mv -f conftest.er1 conftest.err
2328 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2329 test $ac_status = 0; } && {
2330 test -z "$ac_c_werror_flag" ||
2331 test ! -s conftest.err
2332 } && test -s conftest.$ac_objext; then :
2335 $as_echo "$as_me: failed program was:" >&5
2336 sed 's/^/| /' conftest.$ac_ext >&5
2340 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2341 as_fn_set_status $ac_retval
2343 } # ac_fn_c_try_compile
2345 # ac_fn_cxx_try_compile LINENO
2346 # ----------------------------
2347 # Try to compile conftest.$ac_ext, and return whether this succeeded.
2348 ac_fn_cxx_try_compile ()
2350 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2351 rm -f conftest.$ac_objext
2352 if { { ac_try="$ac_compile"
2354 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
2355 *) ac_try_echo
=$ac_try;;
2357 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2358 $as_echo "$ac_try_echo"; } >&5
2359 (eval "$ac_compile") 2>conftest.err
2361 if test -s conftest.err
; then
2362 grep -v '^ *+' conftest.err
>conftest.er1
2363 cat conftest.er1
>&5
2364 mv -f conftest.er1 conftest.err
2366 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2367 test $ac_status = 0; } && {
2368 test -z "$ac_cxx_werror_flag" ||
2369 test ! -s conftest.err
2370 } && test -s conftest.
$ac_objext; then :
2373 $as_echo "$as_me: failed program was:" >&5
2374 sed 's/^/| /' conftest.
$ac_ext >&5
2378 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2379 as_fn_set_status
$ac_retval
2381 } # ac_fn_cxx_try_compile
2383 # ac_fn_c_try_link LINENO
2384 # -----------------------
2385 # Try to link conftest.$ac_ext, and return whether this succeeded.
2388 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
2389 rm -f conftest.
$ac_objext conftest
$ac_exeext
2390 if { { ac_try
="$ac_link"
2392 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
2393 *) ac_try_echo=$ac_try;;
2395 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2396 $as_echo "$ac_try_echo"; } >&5
2397 (eval "$ac_link") 2>conftest.err
2399 if test -s conftest.err; then
2400 grep -v '^ *+' conftest.err >conftest.er1
2401 cat conftest.er1 >&5
2402 mv -f conftest.er1 conftest.err
2404 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2405 test $ac_status = 0; } && {
2406 test -z "$ac_c_werror_flag" ||
2407 test ! -s conftest.err
2408 } && test -s conftest$ac_exeext && {
2409 test "$cross_compiling" = yes ||
2410 test -x conftest$ac_exeext
2414 $as_echo "$as_me: failed program was:" >&5
2415 sed 's/^/| /' conftest.$ac_ext >&5
2419 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
2420 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
2421 # interfere with the next link command; also delete a directory that is
2422 # left behind by Apple's compiler. We do this before executing the actions.
2423 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
2424 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2425 as_fn_set_status $ac_retval
2427 } # ac_fn_c_try_link
2429 # ac_fn_c_try_cpp LINENO
2430 # ----------------------
2431 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
2434 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2435 if { { ac_try="$ac_cpp conftest.$ac_ext"
2437 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
2438 *) ac_try_echo
=$ac_try;;
2440 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2441 $as_echo "$ac_try_echo"; } >&5
2442 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
2444 if test -s conftest.err
; then
2445 grep -v '^ *+' conftest.err
>conftest.er1
2446 cat conftest.er1
>&5
2447 mv -f conftest.er1 conftest.err
2449 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2450 test $ac_status = 0; } > conftest.i
&& {
2451 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
2452 test ! -s conftest.err
2456 $as_echo "$as_me: failed program was:" >&5
2457 sed 's/^/| /' conftest.
$ac_ext >&5
2461 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2462 as_fn_set_status
$ac_retval
2466 # ac_fn_c_check_header_mongrel LINENO HEADER VAR INCLUDES
2467 # -------------------------------------------------------
2468 # Tests whether HEADER exists, giving a warning if it cannot be compiled using
2469 # the include files in INCLUDES and setting the cache variable VAR
2471 ac_fn_c_check_header_mongrel
()
2473 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
2474 if eval \
${$3+:} false
; then :
2475 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2476 $as_echo_n "checking for $2... " >&6; }
2477 if eval \
${$3+:} false
; then :
2478 $as_echo_n "(cached) " >&6
2481 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2482 $as_echo "$ac_res" >&6; }
2484 # Is the header compilable?
2485 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
2486 $as_echo_n "checking $2 usability... " >&6; }
2487 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
2488 /* end confdefs.h. */
2492 if ac_fn_c_try_compile
"$LINENO"; then :
2493 ac_header_compiler
=yes
2495 ac_header_compiler
=no
2497 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
2498 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
2499 $as_echo "$ac_header_compiler" >&6; }
2501 # Is the header present?
2502 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
2503 $as_echo_n "checking $2 presence... " >&6; }
2504 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
2505 /* end confdefs.h. */
2508 if ac_fn_c_try_cpp
"$LINENO"; then :
2509 ac_header_preproc
=yes
2511 ac_header_preproc
=no
2513 rm -f conftest.err conftest.i conftest.
$ac_ext
2514 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
2515 $as_echo "$ac_header_preproc" >&6; }
2517 # So? What about this header?
2518 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in #((
2520 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
2521 $as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
2522 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
2523 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
2526 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
2527 $as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
2528 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: check for missing prerequisite headers?" >&5
2529 $as_echo "$as_me: WARNING: $2: check for missing prerequisite headers?" >&2;}
2530 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
2531 $as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
2532 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&5
2533 $as_echo "$as_me: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&2;}
2534 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
2535 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
2536 ( $as_echo "## ------------------------------------ ##
2537 ## Report this to wine-devel@winehq.org ##
2538 ## ------------------------------------ ##"
2539 ) |
sed "s/^/$as_me: WARNING: /" >&2
2542 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2543 $as_echo_n "checking for $2... " >&6; }
2544 if eval \
${$3+:} false
; then :
2545 $as_echo_n "(cached) " >&6
2547 eval "$3=\$ac_header_compiler"
2550 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2551 $as_echo "$ac_res" >&6; }
2553 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2555 } # ac_fn_c_check_header_mongrel
2557 # ac_fn_c_try_run LINENO
2558 # ----------------------
2559 # Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
2560 # that executables *can* be run.
2563 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
2564 if { { ac_try
="$ac_link"
2566 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
2567 *) ac_try_echo=$ac_try;;
2569 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2570 $as_echo "$ac_try_echo"; } >&5
2571 (eval "$ac_link") 2>&5
2573 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2574 test $ac_status = 0; } && { ac_try='./conftest$ac_exeext'
2575 { { case "(($ac_try" in
2576 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
2577 *) ac_try_echo
=$ac_try;;
2579 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2580 $as_echo "$ac_try_echo"; } >&5
2581 (eval "$ac_try") 2>&5
2583 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2584 test $ac_status = 0; }; }; then :
2587 $as_echo "$as_me: program exited with status $ac_status" >&5
2588 $as_echo "$as_me: failed program was:" >&5
2589 sed 's/^/| /' conftest.
$ac_ext >&5
2591 ac_retval
=$ac_status
2593 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
2594 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2595 as_fn_set_status
$ac_retval
2599 # ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
2600 # -------------------------------------------------------
2601 # Tests whether HEADER exists and can be compiled using the include files in
2602 # INCLUDES, setting the cache variable VAR accordingly.
2603 ac_fn_c_check_header_compile
()
2605 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
2606 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2607 $as_echo_n "checking for $2... " >&6; }
2608 if eval \
${$3+:} false
; then :
2609 $as_echo_n "(cached) " >&6
2611 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
2612 /* end confdefs.h. */
2616 if ac_fn_c_try_compile
"$LINENO"; then :
2621 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
2624 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2625 $as_echo "$ac_res" >&6; }
2626 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2628 } # ac_fn_c_check_header_compile
2630 # ac_fn_c_check_func LINENO FUNC VAR
2631 # ----------------------------------
2632 # Tests whether FUNC exists, setting the cache variable VAR accordingly
2633 ac_fn_c_check_func
()
2635 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
2636 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2637 $as_echo_n "checking for $2... " >&6; }
2638 if eval \
${$3+:} false
; then :
2639 $as_echo_n "(cached) " >&6
2641 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
2642 /* end confdefs.h. */
2643 /* Define $2 to an innocuous variant, in case <limits.h> declares $2.
2644 For example, HP-UX 11i <limits.h> declares gettimeofday. */
2645 #define $2 innocuous_$2
2647 /* System header to define __stub macros and hopefully few prototypes,
2648 which can conflict with char $2 (); below.
2649 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
2650 <limits.h> exists even on freestanding compilers. */
2653 # include <limits.h>
2655 # include <assert.h>
2660 /* Override any GCC internal prototype to avoid an error.
2661 Use char because int might match the return type of a GCC
2662 builtin and then its argument prototype would still apply. */
2667 /* The GNU C library defines this for functions which it implements
2668 to always fail with ENOSYS. Some functions are actually named
2669 something starting with __ and the normal name is an alias. */
2670 #if defined __stub_$2 || defined __stub___$2
2682 if ac_fn_c_try_link
"$LINENO"; then :
2687 rm -f core conftest.err conftest.
$ac_objext \
2688 conftest
$ac_exeext conftest.
$ac_ext
2691 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2692 $as_echo "$ac_res" >&6; }
2693 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2695 } # ac_fn_c_check_func
2697 # ac_fn_c_check_member LINENO AGGR MEMBER VAR INCLUDES
2698 # ----------------------------------------------------
2699 # Tries to find if the field MEMBER exists in type AGGR, after including
2700 # INCLUDES, setting cache variable VAR accordingly.
2701 ac_fn_c_check_member
()
2703 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
2704 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2.$3" >&5
2705 $as_echo_n "checking for $2.$3... " >&6; }
2706 if eval \
${$4+:} false
; then :
2707 $as_echo_n "(cached) " >&6
2709 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
2710 /* end confdefs.h. */
2722 if ac_fn_c_try_compile
"$LINENO"; then :
2725 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
2726 /* end confdefs.h. */
2732 if (sizeof ac_aggr.$3)
2738 if ac_fn_c_try_compile
"$LINENO"; then :
2743 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
2745 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
2748 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2749 $as_echo "$ac_res" >&6; }
2750 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2752 } # ac_fn_c_check_member
2754 # ac_fn_c_check_type LINENO TYPE VAR INCLUDES
2755 # -------------------------------------------
2756 # Tests whether TYPE exists after having included INCLUDES, setting cache
2757 # variable VAR accordingly.
2758 ac_fn_c_check_type
()
2760 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
2761 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2762 $as_echo_n "checking for $2... " >&6; }
2763 if eval \
${$3+:} false
; then :
2764 $as_echo_n "(cached) " >&6
2767 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
2768 /* end confdefs.h. */
2779 if ac_fn_c_try_compile
"$LINENO"; then :
2780 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
2781 /* end confdefs.h. */
2792 if ac_fn_c_try_compile
"$LINENO"; then :
2797 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
2799 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
2802 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2803 $as_echo "$ac_res" >&6; }
2804 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2806 } # ac_fn_c_check_type
2807 cat >config.log
<<_ACEOF
2808 This file contains any messages produced by compilers while
2809 running configure, to aid debugging if configure makes a mistake.
2811 It was created by Wine $as_me 1.7.42, which was
2812 generated by GNU Autoconf 2.69. Invocation command line was
2824 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
2825 uname -m = `(uname -m) 2>/dev/null || echo unknown`
2826 uname -r = `(uname -r) 2>/dev/null || echo unknown`
2827 uname -s = `(uname -s) 2>/dev/null || echo unknown`
2828 uname -v = `(uname -v) 2>/dev/null || echo unknown`
2830 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
2831 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
2833 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
2834 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
2835 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
2836 /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
2837 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
2838 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
2839 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
2843 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2847 test -z "$as_dir" && as_dir
=.
2848 $as_echo "PATH: $as_dir"
2864 # Keep a trace of the command line.
2865 # Strip out --no-create and --no-recursion so they do not pile up.
2866 # Strip out --silent because we don't want to record it for future runs.
2867 # Also quote any args containing shell meta-characters.
2868 # Make two passes to allow for proper duplicate-argument suppression.
2872 ac_must_keep_next
=false
2878 -no-create |
--no-c* |
-n |
-no-recursion |
--no-r*) continue ;;
2879 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
2880 |
-silent |
--silent |
--silen |
--sile |
--sil)
2883 ac_arg
=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
2886 1) as_fn_append ac_configure_args0
" '$ac_arg'" ;;
2888 as_fn_append ac_configure_args1
" '$ac_arg'"
2889 if test $ac_must_keep_next = true
; then
2890 ac_must_keep_next
=false
# Got value, back to normal.
2893 *=* |
--config-cache |
-C |
-disable-* |
--disable-* \
2894 |
-enable-* |
--enable-* |
-gas |
--g* |
-nfp |
--nf* \
2895 |
-q |
-quiet |
--q* |
-silent |
--sil* |
-v |
-verb* \
2896 |
-with-* |
--with-* |
-without-* |
--without-* |
--x)
2897 case "$ac_configure_args0 " in
2898 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
2901 -* ) ac_must_keep_next
=true
;;
2904 as_fn_append ac_configure_args
" '$ac_arg'"
2909 { ac_configure_args0
=; unset ac_configure_args0
;}
2910 { ac_configure_args1
=; unset ac_configure_args1
;}
2912 # When interrupted or exit'd, cleanup temporary files, and complete
2913 # config.log. We remove comments because anyway the quotes in there
2914 # would cause problems or look ugly.
2915 # WARNING: Use '\'' to represent an apostrophe within the trap.
2916 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
2917 trap 'exit_status=$?
2918 # Save into config.log some information that might help in debugging.
2922 $as_echo "## ---------------- ##
2923 ## Cache variables. ##
2924 ## ---------------- ##"
2926 # The following way of writing the cache mishandles newlines in values,
2928 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
2929 eval ac_val=\$$ac_var
2933 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
2934 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
2937 _ | IFS | as_nl) ;; #(
2938 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
2939 *) { eval $ac_var=; unset $ac_var;} ;;
2944 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
2945 *${as_nl}ac_space=\ *)
2947 "s/'\''/'\''\\\\'\'''\''/g;
2948 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
2951 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
2958 $as_echo "## ----------------- ##
2959 ## Output variables. ##
2960 ## ----------------- ##"
2962 for ac_var in $ac_subst_vars
2964 eval ac_val=\$$ac_var
2966 *\'\''*) ac_val
=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2968 $as_echo "$ac_var='\''$ac_val'\''"
2972 if test -n "$ac_subst_files"; then
2973 $as_echo "## ------------------- ##
2974 ## File substitutions. ##
2975 ## ------------------- ##"
2977 for ac_var
in $ac_subst_files
2979 eval ac_val
=\$
$ac_var
2981 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2983 $as_echo "$ac_var='\''$ac_val'\''"
2988 if test -s confdefs.h; then
2989 $as_echo "## ----------- ##
2996 test "$ac_signal" != 0 &&
2997 $as_echo "$as_me: caught signal $ac_signal"
2998 $as_echo "$as_me: exit $exit_status"
3000 rm -f core *.core core.conftest.* &&
3001 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
3004 for ac_signal
in 1 2 13 15; do
3005 trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
3009 # confdefs.h avoids OS command line length limits that DEFS can exceed.
3010 rm -f -r conftest
* confdefs.h
3012 $as_echo "/* confdefs.h */" > confdefs.h
3014 # Predefined preprocessor variables.
3016 cat >>confdefs.h
<<_ACEOF
3017 #define PACKAGE_NAME "$PACKAGE_NAME"
3020 cat >>confdefs.h
<<_ACEOF
3021 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
3024 cat >>confdefs.h
<<_ACEOF
3025 #define PACKAGE_VERSION "$PACKAGE_VERSION"
3028 cat >>confdefs.h
<<_ACEOF
3029 #define PACKAGE_STRING "$PACKAGE_STRING"
3032 cat >>confdefs.h
<<_ACEOF
3033 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
3036 cat >>confdefs.h
<<_ACEOF
3037 #define PACKAGE_URL "$PACKAGE_URL"
3041 # Let the site file select an alternate cache file if it wants to.
3042 # Prefer an explicitly selected file to automatically selected ones.
3045 if test -n "$CONFIG_SITE"; then
3046 # We do not want a PATH search for config.site.
3047 case $CONFIG_SITE in #((
3048 -*) ac_site_file1
=.
/$CONFIG_SITE;;
3049 */*) ac_site_file1
=$CONFIG_SITE;;
3050 *) ac_site_file1
=.
/$CONFIG_SITE;;
3052 elif test "x$prefix" != xNONE
; then
3053 ac_site_file1
=$prefix/share
/config.site
3054 ac_site_file2
=$prefix/etc
/config.site
3056 ac_site_file1
=$ac_default_prefix/share
/config.site
3057 ac_site_file2
=$ac_default_prefix/etc
/config.site
3059 for ac_site_file
in "$ac_site_file1" "$ac_site_file2"
3061 test "x$ac_site_file" = xNONE
&& continue
3062 if test /dev
/null
!= "$ac_site_file" && test -r "$ac_site_file"; then
3063 { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
3064 $as_echo "$as_me: loading site script $ac_site_file" >&6;}
3065 sed 's/^/| /' "$ac_site_file" >&5
3067 ||
{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3068 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3069 as_fn_error $?
"failed to load site script $ac_site_file
3070 See \`config.log' for more details" "$LINENO" 5; }
3074 if test -r "$cache_file"; then
3075 # Some versions of bash will fail to source /dev/null (special files
3076 # actually), so we avoid doing that. DJGPP emulates it as a regular file.
3077 if test /dev
/null
!= "$cache_file" && test -f "$cache_file"; then
3078 { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
3079 $as_echo "$as_me: loading cache $cache_file" >&6;}
3081 [\\/]* | ?
:[\\/]* ) .
"$cache_file";;
3082 *) .
"./$cache_file";;
3086 { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
3087 $as_echo "$as_me: creating cache $cache_file" >&6;}
3091 # Check that the precious variables saved in the cache have kept the same
3093 ac_cache_corrupted
=false
3094 for ac_var
in $ac_precious_vars; do
3095 eval ac_old_set
=\
$ac_cv_env_${ac_var}_set
3096 eval ac_new_set
=\
$ac_env_${ac_var}_set
3097 eval ac_old_val
=\
$ac_cv_env_${ac_var}_value
3098 eval ac_new_val
=\
$ac_env_${ac_var}_value
3099 case $ac_old_set,$ac_new_set in
3101 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
3102 $as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
3103 ac_cache_corrupted
=: ;;
3105 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
3106 $as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
3107 ac_cache_corrupted
=: ;;
3110 if test "x$ac_old_val" != "x$ac_new_val"; then
3111 # differences in whitespace do not lead to failure.
3112 ac_old_val_w
=`echo x $ac_old_val`
3113 ac_new_val_w
=`echo x $ac_new_val`
3114 if test "$ac_old_val_w" != "$ac_new_val_w"; then
3115 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
3116 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
3117 ac_cache_corrupted
=:
3119 { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
3120 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
3121 eval $ac_var=\
$ac_old_val
3123 { $as_echo "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5
3124 $as_echo "$as_me: former value: \`$ac_old_val'" >&2;}
3125 { $as_echo "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5
3126 $as_echo "$as_me: current value: \`$ac_new_val'" >&2;}
3129 # Pass precious variables to config.status.
3130 if test "$ac_new_set" = set; then
3132 *\'*) ac_arg
=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
3133 *) ac_arg
=$ac_var=$ac_new_val ;;
3135 case " $ac_configure_args " in
3136 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
3137 *) as_fn_append ac_configure_args
" '$ac_arg'" ;;
3141 if $ac_cache_corrupted; then
3142 { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3143 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3144 { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
3145 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
3146 as_fn_error $?
"run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
3148 ## -------------------- ##
3149 ## Main body of script. ##
3150 ## -------------------- ##
3153 ac_cpp
='$CPP $CPPFLAGS'
3154 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3155 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3156 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
3160 ac_config_headers
="$ac_config_headers include/config.h"
3163 for ac_dir
in tools
"$srcdir"/tools
; do
3164 if test -f "$ac_dir/install-sh"; then
3166 ac_install_sh
="$ac_aux_dir/install-sh -c"
3168 elif test -f "$ac_dir/install.sh"; then
3170 ac_install_sh
="$ac_aux_dir/install.sh -c"
3172 elif test -f "$ac_dir/shtool"; then
3174 ac_install_sh
="$ac_aux_dir/shtool install -c"
3178 if test -z "$ac_aux_dir"; then
3179 as_fn_error $?
"cannot find install-sh, install.sh, or shtool in tools \"$srcdir\"/tools" "$LINENO" 5
3182 # These three variables are undocumented and unsupported,
3183 # and are intended to be withdrawn in a future Autoconf release.
3184 # They can cause serious problems if a builder's source tree is in a directory
3185 # whose full name contains unusual characters.
3186 ac_config_guess
="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
3187 ac_config_sub
="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
3188 ac_configure
="$SHELL $ac_aux_dir/configure" # Please don't use this var.
3192 libwine_version
="1.0"
3196 # Check whether --enable-win16 was given.
3197 if test "${enable_win16+set}" = set; then :
3198 enableval
=$enable_win16;
3201 # Check whether --enable-win64 was given.
3202 if test "${enable_win64+set}" = set; then :
3203 enableval
=$enable_win64;
3206 # Check whether --enable-tests was given.
3207 if test "${enable_tests+set}" = set; then :
3208 enableval
=$enable_tests;
3211 # Check whether --enable-maintainer-mode was given.
3212 if test "${enable_maintainer_mode+set}" = set; then :
3213 enableval
=$enable_maintainer_mode;
3218 # Check whether --with-alsa was given.
3219 if test "${with_alsa+set}" = set; then :
3220 withval
=$with_alsa; if test "x$withval" = "xno"; then ac_cv_header_sys_asoundlib_h
=no
; ac_cv_header_alsa_asoundlib_h
=no
; fi
3224 # Check whether --with-capi was given.
3225 if test "${with_capi+set}" = set; then :
3230 # Check whether --with-cms was given.
3231 if test "${with_cms+set}" = set; then :
3236 # Check whether --with-coreaudio was given.
3237 if test "${with_coreaudio+set}" = set; then :
3238 withval
=$with_coreaudio; if test "x$withval" = "xno"; then ac_cv_header_CoreAudio_CoreAudio_h
=no
; fi
3242 # Check whether --with-cups was given.
3243 if test "${with_cups+set}" = set; then :
3248 # Check whether --with-curses was given.
3249 if test "${with_curses+set}" = set; then :
3250 withval
=$with_curses; if test "x$withval" = "xno"; then ac_cv_header_ncurses_h
=no
; ac_cv_header_curses_h
=no
; fi
3254 # Check whether --with-dbus was given.
3255 if test "${with_dbus+set}" = set; then :
3260 # Check whether --with-fontconfig was given.
3261 if test "${with_fontconfig+set}" = set; then :
3262 withval
=$with_fontconfig;
3266 # Check whether --with-freetype was given.
3267 if test "${with_freetype+set}" = set; then :
3268 withval
=$with_freetype;
3272 # Check whether --with-gettext was given.
3273 if test "${with_gettext+set}" = set; then :
3274 withval
=$with_gettext;
3278 # Check whether --with-gettextpo was given.
3279 if test "${with_gettextpo+set}" = set; then :
3280 withval
=$with_gettextpo; if test "x$withval" = "xno"; then ac_cv_header_gettext_po_h
=no
; fi
3284 # Check whether --with-gphoto was given.
3285 if test "${with_gphoto+set}" = set; then :
3286 withval
=$with_gphoto;
3290 # Check whether --with-glu was given.
3291 if test "${with_glu+set}" = set; then :
3296 # Check whether --with-gnutls was given.
3297 if test "${with_gnutls+set}" = set; then :
3298 withval
=$with_gnutls;
3302 # Check whether --with-gsm was given.
3303 if test "${with_gsm+set}" = set; then :
3304 withval
=$with_gsm; if test "x$withval" = "xno"; then ac_cv_header_gsm_h
=no
; ac_cv_header_gsm_gsm_h
=no
; fi
3308 # Check whether --with-gstreamer was given.
3309 if test "${with_gstreamer+set}" = set; then :
3310 withval
=$with_gstreamer;
3314 # Check whether --with-hal was given.
3315 if test "${with_hal+set}" = set; then :
3320 # Check whether --with-jpeg was given.
3321 if test "${with_jpeg+set}" = set; then :
3326 # Check whether --with-ldap was given.
3327 if test "${with_ldap+set}" = set; then :
3328 withval
=$with_ldap; if test "x$withval" = "xno"; then ac_cv_header_ldap_h
=no
; ac_cv_header_lber_h
=no
; fi
3332 # Check whether --with-mpg123 was given.
3333 if test "${with_mpg123+set}" = set; then :
3334 withval
=$with_mpg123;
3338 # Check whether --with-netapi was given.
3339 if test "${with_netapi+set}" = set; then :
3340 withval
=$with_netapi;
3344 # Check whether --with-openal was given.
3345 if test "${with_openal+set}" = set; then :
3346 withval
=$with_openal; if test "x$withval" = "xno"; then ac_cv_header_AL_al_h
=no
; ac_cv_header_OpenAL_al_h
=no
; fi
3350 # Check whether --with-opencl was given.
3351 if test "${with_opencl+set}" = set; then :
3352 withval
=$with_opencl; if test "x$withval" = "xno"; then ac_cv_header_CL_cl_h
=no
; ac_cv_header_OpenCL_opencl_h
=no
; fi
3356 # Check whether --with-opengl was given.
3357 if test "${with_opengl+set}" = set; then :
3358 withval
=$with_opengl;
3362 # Check whether --with-osmesa was given.
3363 if test "${with_osmesa+set}" = set; then :
3364 withval
=$with_osmesa;
3368 # Check whether --with-oss was given.
3369 if test "${with_oss+set}" = set; then :
3374 # Check whether --with-pcap was given.
3375 if test "${with_pcap+set}" = set; then :
3376 withval
=$with_pcap; if test "x$withval" = "xno"; then ac_cv_header_pcap_pcap_h
=no
; fi
3380 # Check whether --with-png was given.
3381 if test "${with_png+set}" = set; then :
3386 # Check whether --with-pthread was given.
3387 if test "${with_pthread+set}" = set; then :
3388 withval
=$with_pthread; if test "x$withval" = "xno"; then ac_cv_header_pthread_h
=no
; fi
3392 # Check whether --with-sane was given.
3393 if test "${with_sane+set}" = set; then :
3398 # Check whether --with-tiff was given.
3399 if test "${with_tiff+set}" = set; then :
3404 # Check whether --with-v4l was given.
3405 if test "${with_v4l+set}" = set; then :
3410 # Check whether --with-xcomposite was given.
3411 if test "${with_xcomposite+set}" = set; then :
3412 withval
=$with_xcomposite; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xcomposite_h
=no
; fi
3416 # Check whether --with-xcursor was given.
3417 if test "${with_xcursor+set}" = set; then :
3418 withval
=$with_xcursor; if test "x$withval" = "xno"; then ac_cv_header_X11_Xcursor_Xcursor_h
=no
; fi
3422 # Check whether --with-xinerama was given.
3423 if test "${with_xinerama+set}" = set; then :
3424 withval
=$with_xinerama; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xinerama_h
=no
; fi
3428 # Check whether --with-xinput was given.
3429 if test "${with_xinput+set}" = set; then :
3430 withval
=$with_xinput; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_XInput_h
=no
; fi
3434 # Check whether --with-xinput2 was given.
3435 if test "${with_xinput2+set}" = set; then :
3436 withval
=$with_xinput2; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_XInput2_h
=no
; fi
3440 # Check whether --with-xml was given.
3441 if test "${with_xml+set}" = set; then :
3446 # Check whether --with-xrandr was given.
3447 if test "${with_xrandr+set}" = set; then :
3448 withval
=$with_xrandr; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xrandr_h
=no
; fi
3452 # Check whether --with-xrender was given.
3453 if test "${with_xrender+set}" = set; then :
3454 withval
=$with_xrender; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xrender_h
=no
; fi
3458 # Check whether --with-xshape was given.
3459 if test "${with_xshape+set}" = set; then :
3460 withval
=$with_xshape; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_shape_h
=no
; fi
3464 # Check whether --with-xshm was given.
3465 if test "${with_xshm+set}" = set; then :
3466 withval
=$with_xshm; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_XShm_h
=no
; fi
3470 # Check whether --with-xslt was given.
3471 if test "${with_xslt+set}" = set; then :
3476 # Check whether --with-xxf86vm was given.
3477 if test "${with_xxf86vm+set}" = set; then :
3478 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
3482 # Check whether --with-zlib was given.
3483 if test "${with_zlib+set}" = set; then :
3484 withval
=$with_zlib; if test "x$withval" = "xno"; then ac_cv_header_zlib_h
=no
; fi
3489 # Check whether --with-wine-tools was given.
3490 if test "${with_wine_tools+set}" = set; then :
3491 withval
=$with_wine_tools;
3495 # Check whether --with-wine64 was given.
3496 if test "${with_wine64+set}" = set; then :
3497 withval
=$with_wine64;
3501 # Make sure we can run config.sub.
3502 $SHELL "$ac_aux_dir/config.sub" sun4
>/dev
/null
2>&1 ||
3503 as_fn_error $?
"cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
3505 { $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
3506 $as_echo_n "checking build system type... " >&6; }
3507 if ${ac_cv_build+:} false
; then :
3508 $as_echo_n "(cached) " >&6
3510 ac_build_alias
=$build_alias
3511 test "x$ac_build_alias" = x
&&
3512 ac_build_alias
=`$SHELL "$ac_aux_dir/config.guess"`
3513 test "x$ac_build_alias" = x
&&
3514 as_fn_error $?
"cannot guess build type; you must specify one" "$LINENO" 5
3515 ac_cv_build
=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
3516 as_fn_error $?
"$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
3519 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
3520 $as_echo "$ac_cv_build" >&6; }
3521 case $ac_cv_build in
3523 *) as_fn_error $?
"invalid value of canonical build" "$LINENO" 5;;
3526 ac_save_IFS
=$IFS; IFS
='-'
3532 # Remember, the first character of IFS is used to create $*,
3533 # except with old shells:
3536 case $build_os in *\
*) build_os
=`echo "$build_os" | sed 's/ /-/g'`;; esac
3539 { $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
3540 $as_echo_n "checking host system type... " >&6; }
3541 if ${ac_cv_host+:} false
; then :
3542 $as_echo_n "(cached) " >&6
3544 if test "x$host_alias" = x
; then
3545 ac_cv_host
=$ac_cv_build
3547 ac_cv_host
=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
3548 as_fn_error $?
"$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
3552 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
3553 $as_echo "$ac_cv_host" >&6; }
3556 *) as_fn_error $?
"invalid value of canonical host" "$LINENO" 5;;
3559 ac_save_IFS
=$IFS; IFS
='-'
3565 # Remember, the first character of IFS is used to create $*,
3566 # except with old shells:
3569 case $host_os in *\
*) host_os
=`echo "$host_os" | sed 's/ /-/g'`;; esac
3575 *) if test -f "$srcdir/Makefile" -o -f "$srcdir/include/config.h"; then
3576 as_fn_error $?
"you are building out of the source tree, but the source tree contains object files.
3577 You need to run 'make distclean' in the source tree first." "$LINENO" 5
3582 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
3583 $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
3585 ac_make
=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
3586 if eval \
${ac_cv_prog_make_${ac_make}_set+:} false
; then :
3587 $as_echo_n "(cached) " >&6
3589 cat >conftest.
make <<\_ACEOF
3592 @
echo '@@@%%%=$(MAKE)=@@@%%%'
3594 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
3595 case `${MAKE-make} -f conftest.make 2>/dev/null` in
3597 eval ac_cv_prog_make_
${ac_make}_set
=yes;;
3599 eval ac_cv_prog_make_
${ac_make}_set
=no
;;
3603 if eval test \
$ac_cv_prog_make_${ac_make}_set
= yes; then
3604 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3605 $as_echo "yes" >&6; }
3608 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3609 $as_echo "no" >&6; }
3610 SET_MAKE
="MAKE=${MAKE-make}"
3614 ac_cpp
='$CPP $CPPFLAGS'
3615 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3616 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3617 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
3618 if test -n "$ac_tool_prefix"; then
3619 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
3620 set dummy
${ac_tool_prefix}gcc
; ac_word
=$2
3621 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3622 $as_echo_n "checking for $ac_word... " >&6; }
3623 if ${ac_cv_prog_CC+:} false
; then :
3624 $as_echo_n "(cached) " >&6
3626 if test -n "$CC"; then
3627 ac_cv_prog_CC
="$CC" # Let the user override the test.
3629 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3633 test -z "$as_dir" && as_dir
=.
3634 for ac_exec_ext
in '' $ac_executable_extensions; do
3635 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
3636 ac_cv_prog_CC
="${ac_tool_prefix}gcc"
3637 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3647 if test -n "$CC"; then
3648 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3649 $as_echo "$CC" >&6; }
3651 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3652 $as_echo "no" >&6; }
3657 if test -z "$ac_cv_prog_CC"; then
3659 # Extract the first word of "gcc", so it can be a program name with args.
3660 set dummy gcc
; ac_word
=$2
3661 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3662 $as_echo_n "checking for $ac_word... " >&6; }
3663 if ${ac_cv_prog_ac_ct_CC+:} false
; then :
3664 $as_echo_n "(cached) " >&6
3666 if test -n "$ac_ct_CC"; then
3667 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
3669 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3673 test -z "$as_dir" && as_dir
=.
3674 for ac_exec_ext
in '' $ac_executable_extensions; do
3675 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
3676 ac_cv_prog_ac_ct_CC
="gcc"
3677 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3686 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
3687 if test -n "$ac_ct_CC"; then
3688 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3689 $as_echo "$ac_ct_CC" >&6; }
3691 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3692 $as_echo "no" >&6; }
3695 if test "x$ac_ct_CC" = x
; then
3698 case $cross_compiling:$ac_tool_warned in
3700 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3701 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3702 ac_tool_warned
=yes ;;
3710 if test -z "$CC"; then
3711 if test -n "$ac_tool_prefix"; then
3712 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
3713 set dummy
${ac_tool_prefix}cc
; ac_word
=$2
3714 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3715 $as_echo_n "checking for $ac_word... " >&6; }
3716 if ${ac_cv_prog_CC+:} false
; then :
3717 $as_echo_n "(cached) " >&6
3719 if test -n "$CC"; then
3720 ac_cv_prog_CC
="$CC" # Let the user override the test.
3722 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3726 test -z "$as_dir" && as_dir
=.
3727 for ac_exec_ext
in '' $ac_executable_extensions; do
3728 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
3729 ac_cv_prog_CC
="${ac_tool_prefix}cc"
3730 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3740 if test -n "$CC"; then
3741 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3742 $as_echo "$CC" >&6; }
3744 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3745 $as_echo "no" >&6; }
3751 if test -z "$CC"; then
3752 # Extract the first word of "cc", so it can be a program name with args.
3753 set dummy cc
; ac_word
=$2
3754 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3755 $as_echo_n "checking for $ac_word... " >&6; }
3756 if ${ac_cv_prog_CC+:} false
; then :
3757 $as_echo_n "(cached) " >&6
3759 if test -n "$CC"; then
3760 ac_cv_prog_CC
="$CC" # Let the user override the test.
3763 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3767 test -z "$as_dir" && as_dir
=.
3768 for ac_exec_ext
in '' $ac_executable_extensions; do
3769 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
3770 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
3771 ac_prog_rejected
=yes
3775 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3782 if test $ac_prog_rejected = yes; then
3783 # We found a bogon in the path, so make sure we never use it.
3784 set dummy
$ac_cv_prog_CC
3786 if test $# != 0; then
3787 # We chose a different compiler from the bogus one.
3788 # However, it has the same basename, so the bogon will be chosen
3789 # first if we set CC to just the basename; use the full file name.
3791 ac_cv_prog_CC
="$as_dir/$ac_word${1+' '}$@"
3797 if test -n "$CC"; then
3798 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3799 $as_echo "$CC" >&6; }
3801 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3802 $as_echo "no" >&6; }
3807 if test -z "$CC"; then
3808 if test -n "$ac_tool_prefix"; then
3809 for ac_prog
in cl.exe
3811 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
3812 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
3813 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3814 $as_echo_n "checking for $ac_word... " >&6; }
3815 if ${ac_cv_prog_CC+:} false
; then :
3816 $as_echo_n "(cached) " >&6
3818 if test -n "$CC"; then
3819 ac_cv_prog_CC
="$CC" # Let the user override the test.
3821 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3825 test -z "$as_dir" && as_dir
=.
3826 for ac_exec_ext
in '' $ac_executable_extensions; do
3827 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
3828 ac_cv_prog_CC
="$ac_tool_prefix$ac_prog"
3829 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3839 if test -n "$CC"; then
3840 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3841 $as_echo "$CC" >&6; }
3843 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3844 $as_echo "no" >&6; }
3848 test -n "$CC" && break
3851 if test -z "$CC"; then
3853 for ac_prog
in cl.exe
3855 # Extract the first word of "$ac_prog", so it can be a program name with args.
3856 set dummy
$ac_prog; ac_word
=$2
3857 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3858 $as_echo_n "checking for $ac_word... " >&6; }
3859 if ${ac_cv_prog_ac_ct_CC+:} false
; then :
3860 $as_echo_n "(cached) " >&6
3862 if test -n "$ac_ct_CC"; then
3863 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
3865 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3869 test -z "$as_dir" && as_dir
=.
3870 for ac_exec_ext
in '' $ac_executable_extensions; do
3871 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
3872 ac_cv_prog_ac_ct_CC
="$ac_prog"
3873 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3882 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
3883 if test -n "$ac_ct_CC"; then
3884 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3885 $as_echo "$ac_ct_CC" >&6; }
3887 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3888 $as_echo "no" >&6; }
3892 test -n "$ac_ct_CC" && break
3895 if test "x$ac_ct_CC" = x
; then
3898 case $cross_compiling:$ac_tool_warned in
3900 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3901 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3902 ac_tool_warned
=yes ;;
3911 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3912 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3913 as_fn_error $?
"no acceptable C compiler found in \$PATH
3914 See \`config.log' for more details" "$LINENO" 5; }
3916 # Provide some information about the compiler.
3917 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
3920 for ac_option
in --version -v -V -qversion; do
3921 { { ac_try
="$ac_compiler $ac_option >&5"
3923 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
3924 *) ac_try_echo=$ac_try;;
3926 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3927 $as_echo "$ac_try_echo"; } >&5
3928 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
3930 if test -s conftest.err; then
3932 ... rest of stderr output deleted ...
3933 10q' conftest.err >conftest.er1
3934 cat conftest.er1 >&5
3936 rm -f conftest.er1 conftest.err
3937 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3938 test $ac_status = 0; }
3941 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3942 /* end confdefs.h. */
3952 ac_clean_files_save=$ac_clean_files
3953 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
3954 # Try to create an executable without -o first, disregard a.out.
3955 # It will help us diagnose broken compilers, and finding out an intuition
3957 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
3958 $as_echo_n "checking whether the C compiler works... " >&6; }
3959 ac_link_default=`$as_echo "$ac_link" |
sed 's/ -o *conftest[^ ]*//'`
3961 # The possible output files:
3962 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
3965 for ac_file in $ac_files
3968 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
3969 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
3974 if { { ac_try="$ac_link_default"
3976 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
3977 *) ac_try_echo
=$ac_try;;
3979 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3980 $as_echo "$ac_try_echo"; } >&5
3981 (eval "$ac_link_default") 2>&5
3983 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3984 test $ac_status = 0; }; then :
3985 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
3986 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
3987 # in a Makefile. We should not override ac_cv_exeext if it was cached,
3988 # so that the user can short-circuit this test for compilers unknown to
3990 for ac_file
in $ac_files ''
3992 test -f "$ac_file" ||
continue
3994 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg |
*.map |
*.inf |
*.dSYM |
*.o |
*.obj
)
3997 # We found the default executable, but exeext='' is most
4001 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no
;
4003 ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
4005 # We set ac_cv_exeext here because the later test for it is not
4006 # safe: cross compilers may not add the suffix if given an `-o'
4007 # argument, so we may need to know it at that point already.
4008 # Even if this section looks crufty: it has the advantage of
4015 test "$ac_cv_exeext" = no
&& ac_cv_exeext
=
4020 if test -z "$ac_file"; then :
4021 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4022 $as_echo "no" >&6; }
4023 $as_echo "$as_me: failed program was:" >&5
4024 sed 's/^/| /' conftest.
$ac_ext >&5
4026 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4027 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4028 as_fn_error
77 "C compiler cannot create executables
4029 See \`config.log' for more details" "$LINENO" 5; }
4031 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4032 $as_echo "yes" >&6; }
4034 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
4035 $as_echo_n "checking for C compiler default output file name... " >&6; }
4036 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
4037 $as_echo "$ac_file" >&6; }
4038 ac_exeext
=$ac_cv_exeext
4040 rm -f -r a.out a.out.dSYM a.exe conftest
$ac_cv_exeext b.out
4041 ac_clean_files
=$ac_clean_files_save
4042 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
4043 $as_echo_n "checking for suffix of executables... " >&6; }
4044 if { { ac_try
="$ac_link"
4046 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
4047 *) ac_try_echo=$ac_try;;
4049 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4050 $as_echo "$ac_try_echo"; } >&5
4051 (eval "$ac_link") 2>&5
4053 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4054 test $ac_status = 0; }; then :
4055 # If both `conftest.exe
' and `conftest' are
`present' (well, observable)
4056 # catch `conftest.exe
'. For instance with Cygwin, `ls conftest' will
4057 # work properly (i.e., refer to `conftest.exe'), while it won't with
4059 for ac_file
in conftest.exe conftest conftest.
*; do
4060 test -f "$ac_file" ||
continue
4062 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg |
*.map |
*.inf |
*.dSYM |
*.o |
*.obj
) ;;
4063 *.
* ) ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
4069 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4070 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4071 as_fn_error $?
"cannot compute suffix of executables: cannot compile and link
4072 See \`config.log' for more details" "$LINENO" 5; }
4074 rm -f conftest conftest
$ac_cv_exeext
4075 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
4076 $as_echo "$ac_cv_exeext" >&6; }
4078 rm -f conftest.
$ac_ext
4079 EXEEXT
=$ac_cv_exeext
4081 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4082 /* end confdefs.h. */
4087 FILE *f = fopen ("conftest.out", "w");
4088 return ferror (f) || fclose (f) != 0;
4094 ac_clean_files
="$ac_clean_files conftest.out"
4095 # Check that the compiler produces executables we can run. If not, either
4096 # the compiler is broken, or we cross compile.
4097 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
4098 $as_echo_n "checking whether we are cross compiling... " >&6; }
4099 if test "$cross_compiling" != yes; then
4100 { { ac_try
="$ac_link"
4102 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
4103 *) ac_try_echo=$ac_try;;
4105 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4106 $as_echo "$ac_try_echo"; } >&5
4107 (eval "$ac_link") 2>&5
4109 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4110 test $ac_status = 0; }
4111 if { ac_try='./conftest$ac_cv_exeext'
4112 { { case "(($ac_try" in
4113 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
4114 *) ac_try_echo
=$ac_try;;
4116 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4117 $as_echo "$ac_try_echo"; } >&5
4118 (eval "$ac_try") 2>&5
4120 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4121 test $ac_status = 0; }; }; then
4124 if test "$cross_compiling" = maybe
; then
4127 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4128 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4129 as_fn_error $?
"cannot run C compiled programs.
4130 If you meant to cross compile, use \`--host'.
4131 See \`config.log' for more details" "$LINENO" 5; }
4135 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
4136 $as_echo "$cross_compiling" >&6; }
4138 rm -f conftest.
$ac_ext conftest
$ac_cv_exeext conftest.out
4139 ac_clean_files
=$ac_clean_files_save
4140 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
4141 $as_echo_n "checking for suffix of object files... " >&6; }
4142 if ${ac_cv_objext+:} false
; then :
4143 $as_echo_n "(cached) " >&6
4145 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4146 /* end confdefs.h. */
4156 rm -f conftest.o conftest.obj
4157 if { { ac_try
="$ac_compile"
4159 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
4160 *) ac_try_echo=$ac_try;;
4162 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4163 $as_echo "$ac_try_echo"; } >&5
4164 (eval "$ac_compile") 2>&5
4166 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4167 test $ac_status = 0; }; then :
4168 for ac_file in conftest.o conftest.obj conftest.*; do
4169 test -f "$ac_file" || continue;
4171 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
4172 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
4177 $as_echo "$as_me: failed program was:" >&5
4178 sed 's/^/| /' conftest.$ac_ext >&5
4180 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4181 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4182 as_fn_error $? "cannot compute suffix of object files
: cannot compile
4183 See \
`config.log' for more details" "$LINENO" 5; }
4185 rm -f conftest.$ac_cv_objext conftest.$ac_ext
4187 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
4188 $as_echo "$ac_cv_objext" >&6; }
4189 OBJEXT=$ac_cv_objext
4191 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
4192 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
4193 if ${ac_cv_c_compiler_gnu+:} false; then :
4194 $as_echo_n "(cached) " >&6
4196 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4197 /* end confdefs.h. */
4210 if ac_fn_c_try_compile "$LINENO"; then :
4215 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4216 ac_cv_c_compiler_gnu=$ac_compiler_gnu
4219 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
4220 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
4221 if test $ac_compiler_gnu = yes; then
4226 ac_test_CFLAGS=${CFLAGS+set}
4227 ac_save_CFLAGS=$CFLAGS
4228 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
4229 $as_echo_n "checking whether $CC accepts -g... " >&6; }
4230 if ${ac_cv_prog_cc_g+:} false; then :
4231 $as_echo_n "(cached) " >&6
4233 ac_save_c_werror_flag=$ac_c_werror_flag
4234 ac_c_werror_flag=yes
4237 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4238 /* end confdefs.h. */
4248 if ac_fn_c_try_compile "$LINENO"; then :
4252 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4253 /* end confdefs.h. */
4263 if ac_fn_c_try_compile "$LINENO"; then :
4266 ac_c_werror_flag=$ac_save_c_werror_flag
4268 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4269 /* end confdefs.h. */
4279 if ac_fn_c_try_compile "$LINENO"; then :
4282 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4284 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4286 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4287 ac_c_werror_flag=$ac_save_c_werror_flag
4289 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
4290 $as_echo "$ac_cv_prog_cc_g" >&6; }
4291 if test "$ac_test_CFLAGS" = set; then
4292 CFLAGS=$ac_save_CFLAGS
4293 elif test $ac_cv_prog_cc_g = yes; then
4294 if test "$GCC" = yes; then
4300 if test "$GCC" = yes; then
4306 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
4307 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
4308 if ${ac_cv_prog_cc_c89+:} false; then :
4309 $as_echo_n "(cached) " >&6
4311 ac_cv_prog_cc_c89=no
4313 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4314 /* end confdefs.h. */
4318 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
4319 struct buf { int x; };
4320 FILE * (*rcsopen) (struct buf *, struct stat *, int);
4321 static char *e (p, i)
4327 static char *f (char * (*g) (char **, int), char **p, ...)
4332 s = g (p, va_arg (v,int));
4337 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
4338 function prototypes and stuff, but not '\xHH' hex character constants.
4339 These don't provoke an error unfortunately, instead are silently treated
4340 as 'x'. The following induces an error, until -std is added to get
4341 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
4342 array size at least. It's necessary to write '\x00'==0 to get something
4343 that's true only with -std. */
4344 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
4346 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
4347 inside strings and character constants. */
4349 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
4351 int test (int i, double x);
4352 struct s1 {int (*f) (int a);};
4353 struct s2 {int (*f) (double a);};
4354 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
4360 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
4365 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
4366 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
4368 CC="$ac_save_CC $ac_arg"
4369 if ac_fn_c_try_compile "$LINENO"; then :
4370 ac_cv_prog_cc_c89=$ac_arg
4372 rm -f core conftest.err conftest.$ac_objext
4373 test "x$ac_cv_prog_cc_c89" != "xno" && break
4375 rm -f conftest.$ac_ext
4380 case "x$ac_cv_prog_cc_c89" in
4382 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
4383 $as_echo "none needed" >&6; } ;;
4385 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
4386 $as_echo "unsupported" >&6; } ;;
4388 CC="$CC $ac_cv_prog_cc_c89"
4389 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
4390 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
4392 if test "x$ac_cv_prog_cc_c89" != xno; then :
4397 ac_cpp='$CPP $CPPFLAGS'
4398 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4399 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4400 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4403 ac_cpp='$CXXCPP $CPPFLAGS'
4404 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4405 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4406 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
4407 if test -z "$CXX"; then
4408 if test -n "$CCC"; then
4411 if test -n "$ac_tool_prefix"; then
4412 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
4414 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
4415 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
4416 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4417 $as_echo_n "checking for $ac_word... " >&6; }
4418 if ${ac_cv_prog_CXX+:} false; then :
4419 $as_echo_n "(cached) " >&6
4421 if test -n "$CXX"; then
4422 ac_cv_prog_CXX="$CXX" # Let the user override the test.
4424 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4428 test -z "$as_dir" && as_dir=.
4429 for ac_exec_ext in '' $ac_executable_extensions; do
4430 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4431 ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"
4432 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4442 if test -n "$CXX"; then
4443 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXX" >&5
4444 $as_echo "$CXX" >&6; }
4446 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4447 $as_echo "no" >&6; }
4451 test -n "$CXX" && break
4454 if test -z "$CXX"; then
4456 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
4458 # Extract the first word of "$ac_prog", so it can be a program name with args.
4459 set dummy $ac_prog; ac_word=$2
4460 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4461 $as_echo_n "checking for $ac_word... " >&6; }
4462 if ${ac_cv_prog_ac_ct_CXX+:} false; then :
4463 $as_echo_n "(cached) " >&6
4465 if test -n "$ac_ct_CXX"; then
4466 ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
4468 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4472 test -z "$as_dir" && as_dir=.
4473 for ac_exec_ext in '' $ac_executable_extensions; do
4474 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4475 ac_cv_prog_ac_ct_CXX="$ac_prog"
4476 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4485 ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
4486 if test -n "$ac_ct_CXX"; then
4487 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CXX" >&5
4488 $as_echo "$ac_ct_CXX" >&6; }
4490 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4491 $as_echo "no" >&6; }
4495 test -n "$ac_ct_CXX" && break
4498 if test "x$ac_ct_CXX" = x; then
4501 case $cross_compiling:$ac_tool_warned in
4503 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4504 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4505 ac_tool_warned=yes ;;
4513 # Provide some information about the compiler.
4514 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C++ compiler version" >&5
4517 for ac_option in --version -v -V -qversion; do
4518 { { ac_try="$ac_compiler $ac_option >&5"
4520 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
4521 *) ac_try_echo
=$ac_try;;
4523 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4524 $as_echo "$ac_try_echo"; } >&5
4525 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
4527 if test -s conftest.err
; then
4529 ... rest of stderr output deleted ...
4530 10q' conftest.err
>conftest.er1
4531 cat conftest.er1
>&5
4533 rm -f conftest.er1 conftest.err
4534 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4535 test $ac_status = 0; }
4538 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C++ compiler" >&5
4539 $as_echo_n "checking whether we are using the GNU C++ compiler... " >&6; }
4540 if ${ac_cv_cxx_compiler_gnu+:} false
; then :
4541 $as_echo_n "(cached) " >&6
4543 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4544 /* end confdefs.h. */
4557 if ac_fn_cxx_try_compile
"$LINENO"; then :
4562 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
4563 ac_cv_cxx_compiler_gnu
=$ac_compiler_gnu
4566 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cxx_compiler_gnu" >&5
4567 $as_echo "$ac_cv_cxx_compiler_gnu" >&6; }
4568 if test $ac_compiler_gnu = yes; then
4573 ac_test_CXXFLAGS
=${CXXFLAGS+set}
4574 ac_save_CXXFLAGS
=$CXXFLAGS
4575 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CXX accepts -g" >&5
4576 $as_echo_n "checking whether $CXX accepts -g... " >&6; }
4577 if ${ac_cv_prog_cxx_g+:} false
; then :
4578 $as_echo_n "(cached) " >&6
4580 ac_save_cxx_werror_flag
=$ac_cxx_werror_flag
4581 ac_cxx_werror_flag
=yes
4584 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4585 /* end confdefs.h. */
4595 if ac_fn_cxx_try_compile
"$LINENO"; then :
4596 ac_cv_prog_cxx_g
=yes
4599 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4600 /* end confdefs.h. */
4610 if ac_fn_cxx_try_compile
"$LINENO"; then :
4613 ac_cxx_werror_flag
=$ac_save_cxx_werror_flag
4615 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4616 /* end confdefs.h. */
4626 if ac_fn_cxx_try_compile
"$LINENO"; then :
4627 ac_cv_prog_cxx_g
=yes
4629 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
4631 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
4633 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
4634 ac_cxx_werror_flag
=$ac_save_cxx_werror_flag
4636 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cxx_g" >&5
4637 $as_echo "$ac_cv_prog_cxx_g" >&6; }
4638 if test "$ac_test_CXXFLAGS" = set; then
4639 CXXFLAGS
=$ac_save_CXXFLAGS
4640 elif test $ac_cv_prog_cxx_g = yes; then
4641 if test "$GXX" = yes; then
4647 if test "$GXX" = yes; then
4654 ac_cpp
='$CPP $CPPFLAGS'
4655 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4656 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4657 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
4659 if test -n "$ac_tool_prefix"; then
4660 # Extract the first word of "${ac_tool_prefix}cpp", so it can be a program name with args.
4661 set dummy
${ac_tool_prefix}cpp
; ac_word
=$2
4662 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4663 $as_echo_n "checking for $ac_word... " >&6; }
4664 if ${ac_cv_prog_CPPBIN+:} false
; then :
4665 $as_echo_n "(cached) " >&6
4667 if test -n "$CPPBIN"; then
4668 ac_cv_prog_CPPBIN
="$CPPBIN" # Let the user override the test.
4670 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4674 test -z "$as_dir" && as_dir
=.
4675 for ac_exec_ext
in '' $ac_executable_extensions; do
4676 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
4677 ac_cv_prog_CPPBIN
="${ac_tool_prefix}cpp"
4678 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4687 CPPBIN
=$ac_cv_prog_CPPBIN
4688 if test -n "$CPPBIN"; then
4689 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPPBIN" >&5
4690 $as_echo "$CPPBIN" >&6; }
4692 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4693 $as_echo "no" >&6; }
4698 if test -z "$ac_cv_prog_CPPBIN"; then
4699 ac_ct_CPPBIN
=$CPPBIN
4700 # Extract the first word of "cpp", so it can be a program name with args.
4701 set dummy cpp
; ac_word
=$2
4702 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4703 $as_echo_n "checking for $ac_word... " >&6; }
4704 if ${ac_cv_prog_ac_ct_CPPBIN+:} false
; then :
4705 $as_echo_n "(cached) " >&6
4707 if test -n "$ac_ct_CPPBIN"; then
4708 ac_cv_prog_ac_ct_CPPBIN
="$ac_ct_CPPBIN" # Let the user override the test.
4710 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4714 test -z "$as_dir" && as_dir
=.
4715 for ac_exec_ext
in '' $ac_executable_extensions; do
4716 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
4717 ac_cv_prog_ac_ct_CPPBIN
="cpp"
4718 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4727 ac_ct_CPPBIN
=$ac_cv_prog_ac_ct_CPPBIN
4728 if test -n "$ac_ct_CPPBIN"; then
4729 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CPPBIN" >&5
4730 $as_echo "$ac_ct_CPPBIN" >&6; }
4732 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4733 $as_echo "no" >&6; }
4736 if test "x$ac_ct_CPPBIN" = x
; then
4739 case $cross_compiling:$ac_tool_warned in
4741 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4742 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4743 ac_tool_warned
=yes ;;
4745 CPPBIN
=$ac_ct_CPPBIN
4748 CPPBIN
="$ac_cv_prog_CPPBIN"
4752 cat >>confdefs.h
<<_ACEOF
4753 #define EXEEXT "$ac_exeext"
4756 if test -n "$ac_tool_prefix"; then
4757 # Extract the first word of "${ac_tool_prefix}ld", so it can be a program name with args.
4758 set dummy
${ac_tool_prefix}ld
; ac_word
=$2
4759 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4760 $as_echo_n "checking for $ac_word... " >&6; }
4761 if ${ac_cv_prog_LD+:} false
; then :
4762 $as_echo_n "(cached) " >&6
4764 if test -n "$LD"; then
4765 ac_cv_prog_LD
="$LD" # Let the user override the test.
4767 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4771 test -z "$as_dir" && as_dir
=.
4772 for ac_exec_ext
in '' $ac_executable_extensions; do
4773 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
4774 ac_cv_prog_LD
="${ac_tool_prefix}ld"
4775 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4785 if test -n "$LD"; then
4786 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
4787 $as_echo "$LD" >&6; }
4789 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4790 $as_echo "no" >&6; }
4795 if test -z "$ac_cv_prog_LD"; then
4797 # Extract the first word of "ld", so it can be a program name with args.
4798 set dummy ld
; ac_word
=$2
4799 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4800 $as_echo_n "checking for $ac_word... " >&6; }
4801 if ${ac_cv_prog_ac_ct_LD+:} false
; then :
4802 $as_echo_n "(cached) " >&6
4804 if test -n "$ac_ct_LD"; then
4805 ac_cv_prog_ac_ct_LD
="$ac_ct_LD" # Let the user override the test.
4807 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4811 test -z "$as_dir" && as_dir
=.
4812 for ac_exec_ext
in '' $ac_executable_extensions; do
4813 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
4814 ac_cv_prog_ac_ct_LD
="ld"
4815 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4824 ac_ct_LD
=$ac_cv_prog_ac_ct_LD
4825 if test -n "$ac_ct_LD"; then
4826 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_LD" >&5
4827 $as_echo "$ac_ct_LD" >&6; }
4829 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4830 $as_echo "no" >&6; }
4833 if test "x$ac_ct_LD" = x
; then
4836 case $cross_compiling:$ac_tool_warned in
4838 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4839 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4840 ac_tool_warned
=yes ;;
4851 if test "x$enable_win64" = "xyes"
4856 notice_platform
="64-bit "
4863 notice_platform
="32-bit "
4866 enable_win16
=${enable_win16:-yes}
4868 with_fontconfig
=${with_fontconfig:-no}
4871 if test "x$enable_win64" != "xyes" -a "$cross_compiling" != "yes"
4875 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC works" >&5
4876 $as_echo_n "checking whether $CC works... " >&6; }
4878 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4879 /* end confdefs.h. */
4889 if ac_fn_c_try_link
"$LINENO"; then :
4890 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4891 $as_echo "yes" >&6; }
4893 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4894 $as_echo "no" >&6; }
4895 as_fn_error $?
"Cannot build a 32-bit program, you need to install 32-bit development libraries." "$LINENO" 5
4897 rm -f core conftest.err conftest.
$ac_objext \
4898 conftest
$ac_exeext conftest.
$ac_ext
4900 notice_platform
="32-bit "
4903 enable_win16
=${enable_win16:-yes}
4905 if test "x${GCC}" = "xyes"
4907 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC supports __builtin_ms_va_list" >&5
4908 $as_echo_n "checking whether $CC supports __builtin_ms_va_list... " >&6; }
4909 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4910 /* end confdefs.h. */
4915 void func(__builtin_ms_va_list *args);
4920 if ac_fn_c_try_compile
"$LINENO"; then :
4921 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4922 $as_echo "yes" >&6; }
4924 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4925 $as_echo "no" >&6; }
4926 as_fn_error $?
"You need gcc >= 4.4 to build Wine as 64-bit." "$LINENO" 5
4928 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
4936 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC supports Thumb" >&5
4937 $as_echo_n "checking whether $CC supports Thumb... " >&6; }
4938 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4939 /* end confdefs.h. */
4940 int ac_test(int i) { return i; }
4944 asm(".thumb\nblx ac_test\n.arm"); if (ac_test(1)) return 1
4949 if ac_fn_c_try_link
"$LINENO"; then :
4950 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4951 $as_echo "yes" >&6; }
4953 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4954 $as_echo "no" >&6; }
4955 as_fn_error $?
"You need a target with Thumb support to build Wine for ARM." "$LINENO" 5
4957 rm -f core conftest.err conftest.
$ac_objext \
4958 conftest
$ac_exeext conftest.
$ac_ext
4959 CFLAGS
="$CFLAGS -marm"
4963 *-mingw32*|
*-cygwin*)
4964 enable_win16
=${enable_win16:-no}
4965 CFLAGS
="$CFLAGS -D_WIN32"
4968 enable_win16
=${enable_win16:-yes}
4972 enable_win16
=${enable_win16:-no}
4973 enable_win64
=${enable_win64:-no}
4975 enable_winetest
=${enable_winetest:-$enable_tests}
4977 if test -n "$with_wine64"
4979 if test "x$enable_win64" = "xyes"
4981 as_fn_error $?
"--enable-win64 and --with-wine64 are mutually exclusive.
4982 --enable-win64 should be used in the 64-bit build tree, --with-wine64 in the 32-bit Wow64 build tree." "$LINENO" 5
4984 enable_fonts
=${enable_fonts:-no}
4985 enable_server
=${enable_server:-no}
4986 elif test "x$enable_win64" = "xyes"
4988 test "x$libdir" != "x\${exec_prefix}/lib" || libdir
="\${exec_prefix}/lib64"
4991 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for the directory containing the Wine tools" >&5
4992 $as_echo_n "checking for the directory containing the Wine tools... " >&6; }
4993 if ${wine_cv_toolsdir+:} false
; then :
4994 $as_echo_n "(cached) " >&6
4996 wine_cv_toolsdir
="$with_wine_tools"
4997 if test -z "$with_wine_tools"; then
4998 if test "$cross_compiling" = "yes"; then
4999 as_fn_error $?
"you must use the --with-wine-tools option when cross-compiling." "$LINENO" 5
5000 elif test -n "$with_wine64"; then
5001 wine_cv_toolsdir
="$with_wine64"
5004 if test -z "$wine_cv_toolsdir"; then
5005 wine_makedep
=tools
/makedep
5006 wine_cv_toolsdir
="\$(top_builddir)"
5007 elif test -d "$wine_cv_toolsdir/tools/winebuild"; then
5008 wine_makedep
=$wine_cv_toolsdir/tools
/makedep
5009 case "$wine_cv_toolsdir" in
5011 *) wine_cv_toolsdir
="\$(top_builddir)/$wine_cv_toolsdir" ;;
5013 enable_tools
=${enable_tools:-no}
5014 test -f "$wine_makedep" || as_fn_error $?
"the Wine tools have not yet been built in $wine_cv_toolsdir" "$LINENO" 5
5016 as_fn_error $?
"could not find Wine tools in $wine_cv_toolsdir" "$LINENO" 5
5019 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_toolsdir" >&5
5020 $as_echo "$wine_cv_toolsdir" >&6; }
5021 TOOLSDIR
=$wine_cv_toolsdir
5023 if test -n "$host_alias" -a "$host_alias" != "$build_alias"
5025 TARGETFLAGS
="-b $host_alias $TARGETFLAGS"
5031 # Extract the first word of "$ac_prog", so it can be a program name with args.
5032 set dummy
$ac_prog; ac_word
=$2
5033 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5034 $as_echo_n "checking for $ac_word... " >&6; }
5035 if ${ac_cv_prog_FLEX+:} false
; then :
5036 $as_echo_n "(cached) " >&6
5038 if test -n "$FLEX"; then
5039 ac_cv_prog_FLEX
="$FLEX" # Let the user override the test.
5041 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5045 test -z "$as_dir" && as_dir
=.
5046 for ac_exec_ext
in '' $ac_executable_extensions; do
5047 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
5048 ac_cv_prog_FLEX
="$ac_prog"
5049 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5058 FLEX
=$ac_cv_prog_FLEX
5059 if test -n "$FLEX"; then
5060 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $FLEX" >&5
5061 $as_echo "$FLEX" >&6; }
5063 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5064 $as_echo "no" >&6; }
5068 test -n "$FLEX" && break
5070 test -n "$FLEX" || FLEX
="none"
5072 if test "$FLEX" = "none"
5074 as_fn_error $?
"no suitable flex found. Please install the 'flex' package." "$LINENO" 5
5076 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether flex is recent enough" >&5
5077 $as_echo_n "checking whether flex is recent enough... " >&6; }
5078 cat >conftest.l
<<EOF
5080 #include "prediluvian.h"
5084 if $FLEX -t conftest.l
>/dev
/null
2>&5
5086 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5087 $as_echo "yes" >&6; }
5089 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5090 $as_echo "no" >&6; }
5091 as_fn_error $?
"Your flex version is too old. Please install flex version 2.5.33 or newer." "$LINENO" 5
5094 for ac_prog
in bison
5096 # Extract the first word of "$ac_prog", so it can be a program name with args.
5097 set dummy
$ac_prog; ac_word
=$2
5098 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5099 $as_echo_n "checking for $ac_word... " >&6; }
5100 if ${ac_cv_prog_BISON+:} false
; then :
5101 $as_echo_n "(cached) " >&6
5103 if test -n "$BISON"; then
5104 ac_cv_prog_BISON
="$BISON" # Let the user override the test.
5106 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5110 test -z "$as_dir" && as_dir
=.
5111 for ac_exec_ext
in '' $ac_executable_extensions; do
5112 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
5113 ac_cv_prog_BISON
="$ac_prog"
5114 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5123 BISON
=$ac_cv_prog_BISON
5124 if test -n "$BISON"; then
5125 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $BISON" >&5
5126 $as_echo "$BISON" >&6; }
5128 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5129 $as_echo "no" >&6; }
5133 test -n "$BISON" && break
5135 test -n "$BISON" || BISON
="none"
5137 if test "$BISON" = "none"
5139 as_fn_error $?
"no suitable bison found. Please install the 'bison' package." "$LINENO" 5
5142 if test -n "$ac_tool_prefix"; then
5143 for ac_prog
in ar gar
5145 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
5146 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
5147 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5148 $as_echo_n "checking for $ac_word... " >&6; }
5149 if ${ac_cv_prog_AR+:} false
; then :
5150 $as_echo_n "(cached) " >&6
5152 if test -n "$AR"; then
5153 ac_cv_prog_AR
="$AR" # Let the user override the test.
5155 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5159 test -z "$as_dir" && as_dir
=.
5160 for ac_exec_ext
in '' $ac_executable_extensions; do
5161 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
5162 ac_cv_prog_AR
="$ac_tool_prefix$ac_prog"
5163 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5173 if test -n "$AR"; then
5174 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
5175 $as_echo "$AR" >&6; }
5177 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5178 $as_echo "no" >&6; }
5182 test -n "$AR" && break
5185 if test -z "$AR"; then
5187 for ac_prog
in ar gar
5189 # Extract the first word of "$ac_prog", so it can be a program name with args.
5190 set dummy
$ac_prog; ac_word
=$2
5191 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5192 $as_echo_n "checking for $ac_word... " >&6; }
5193 if ${ac_cv_prog_ac_ct_AR+:} false
; then :
5194 $as_echo_n "(cached) " >&6
5196 if test -n "$ac_ct_AR"; then
5197 ac_cv_prog_ac_ct_AR
="$ac_ct_AR" # Let the user override the test.
5199 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5203 test -z "$as_dir" && as_dir
=.
5204 for ac_exec_ext
in '' $ac_executable_extensions; do
5205 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
5206 ac_cv_prog_ac_ct_AR
="$ac_prog"
5207 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5216 ac_ct_AR
=$ac_cv_prog_ac_ct_AR
5217 if test -n "$ac_ct_AR"; then
5218 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5
5219 $as_echo "$ac_ct_AR" >&6; }
5221 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5222 $as_echo "no" >&6; }
5226 test -n "$ac_ct_AR" && break
5229 if test "x$ac_ct_AR" = x
; then
5232 case $cross_compiling:$ac_tool_warned in
5234 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5235 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5236 ac_tool_warned
=yes ;;
5242 if test -n "$ac_tool_prefix"; then
5243 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
5244 set dummy
${ac_tool_prefix}strip
; ac_word
=$2
5245 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5246 $as_echo_n "checking for $ac_word... " >&6; }
5247 if ${ac_cv_prog_STRIP+:} false
; then :
5248 $as_echo_n "(cached) " >&6
5250 if test -n "$STRIP"; then
5251 ac_cv_prog_STRIP
="$STRIP" # Let the user override the test.
5253 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5257 test -z "$as_dir" && as_dir
=.
5258 for ac_exec_ext
in '' $ac_executable_extensions; do
5259 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
5260 ac_cv_prog_STRIP
="${ac_tool_prefix}strip"
5261 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5270 STRIP
=$ac_cv_prog_STRIP
5271 if test -n "$STRIP"; then
5272 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
5273 $as_echo "$STRIP" >&6; }
5275 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5276 $as_echo "no" >&6; }
5281 if test -z "$ac_cv_prog_STRIP"; then
5283 # Extract the first word of "strip", so it can be a program name with args.
5284 set dummy strip
; ac_word
=$2
5285 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5286 $as_echo_n "checking for $ac_word... " >&6; }
5287 if ${ac_cv_prog_ac_ct_STRIP+:} false
; then :
5288 $as_echo_n "(cached) " >&6
5290 if test -n "$ac_ct_STRIP"; then
5291 ac_cv_prog_ac_ct_STRIP
="$ac_ct_STRIP" # Let the user override the test.
5293 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5297 test -z "$as_dir" && as_dir
=.
5298 for ac_exec_ext
in '' $ac_executable_extensions; do
5299 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
5300 ac_cv_prog_ac_ct_STRIP
="strip"
5301 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5310 ac_ct_STRIP
=$ac_cv_prog_ac_ct_STRIP
5311 if test -n "$ac_ct_STRIP"; then
5312 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
5313 $as_echo "$ac_ct_STRIP" >&6; }
5315 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5316 $as_echo "no" >&6; }
5319 if test "x$ac_ct_STRIP" = x
; then
5322 case $cross_compiling:$ac_tool_warned in
5324 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5325 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5326 ac_tool_warned
=yes ;;
5331 STRIP
="$ac_cv_prog_STRIP"
5336 if test -n "$ac_tool_prefix"; then
5337 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
5338 set dummy
${ac_tool_prefix}ranlib
; ac_word
=$2
5339 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5340 $as_echo_n "checking for $ac_word... " >&6; }
5341 if ${ac_cv_prog_RANLIB+:} false
; then :
5342 $as_echo_n "(cached) " >&6
5344 if test -n "$RANLIB"; then
5345 ac_cv_prog_RANLIB
="$RANLIB" # Let the user override the test.
5347 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5351 test -z "$as_dir" && as_dir
=.
5352 for ac_exec_ext
in '' $ac_executable_extensions; do
5353 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
5354 ac_cv_prog_RANLIB
="${ac_tool_prefix}ranlib"
5355 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5364 RANLIB
=$ac_cv_prog_RANLIB
5365 if test -n "$RANLIB"; then
5366 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
5367 $as_echo "$RANLIB" >&6; }
5369 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5370 $as_echo "no" >&6; }
5375 if test -z "$ac_cv_prog_RANLIB"; then
5376 ac_ct_RANLIB
=$RANLIB
5377 # Extract the first word of "ranlib", so it can be a program name with args.
5378 set dummy ranlib
; ac_word
=$2
5379 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5380 $as_echo_n "checking for $ac_word... " >&6; }
5381 if ${ac_cv_prog_ac_ct_RANLIB+:} false
; then :
5382 $as_echo_n "(cached) " >&6
5384 if test -n "$ac_ct_RANLIB"; then
5385 ac_cv_prog_ac_ct_RANLIB
="$ac_ct_RANLIB" # Let the user override the test.
5387 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5391 test -z "$as_dir" && as_dir
=.
5392 for ac_exec_ext
in '' $ac_executable_extensions; do
5393 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
5394 ac_cv_prog_ac_ct_RANLIB
="ranlib"
5395 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5404 ac_ct_RANLIB
=$ac_cv_prog_ac_ct_RANLIB
5405 if test -n "$ac_ct_RANLIB"; then
5406 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
5407 $as_echo "$ac_ct_RANLIB" >&6; }
5409 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5410 $as_echo "no" >&6; }
5413 if test "x$ac_ct_RANLIB" = x
; then
5416 case $cross_compiling:$ac_tool_warned in
5418 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5419 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5420 ac_tool_warned
=yes ;;
5422 RANLIB
=$ac_ct_RANLIB
5425 RANLIB
="$ac_cv_prog_RANLIB"
5428 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5
5429 $as_echo_n "checking whether ln -s works... " >&6; }
5431 if test "$LN_S" = "ln -s"; then
5432 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5433 $as_echo "yes" >&6; }
5435 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5
5436 $as_echo "no, using $LN_S" >&6; }
5439 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
5440 $as_echo_n "checking for grep that handles long lines and -e... " >&6; }
5441 if ${ac_cv_path_GREP+:} false
; then :
5442 $as_echo_n "(cached) " >&6
5444 if test -z "$GREP"; then
5445 ac_path_GREP_found
=false
5446 # Loop through the user's path and test for each of PROGNAME-LIST
5447 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5448 for as_dir
in $PATH$PATH_SEPARATOR/usr
/xpg
4/bin
5451 test -z "$as_dir" && as_dir
=.
5452 for ac_prog
in grep ggrep
; do
5453 for ac_exec_ext
in '' $ac_executable_extensions; do
5454 ac_path_GREP
="$as_dir/$ac_prog$ac_exec_ext"
5455 as_fn_executable_p
"$ac_path_GREP" ||
continue
5456 # Check for GNU ac_path_GREP and select it if it is found.
5457 # Check for GNU $ac_path_GREP
5458 case `"$ac_path_GREP" --version 2>&1` in
5460 ac_cv_path_GREP
="$ac_path_GREP" ac_path_GREP_found
=:;;
5463 $as_echo_n 0123456789 >"conftest.in"
5466 cat "conftest.in" "conftest.in" >"conftest.tmp"
5467 mv "conftest.tmp" "conftest.in"
5468 cp "conftest.in" "conftest.nl"
5469 $as_echo 'GREP' >> "conftest.nl"
5470 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev
/null ||
break
5471 diff "conftest.out" "conftest.nl" >/dev
/null
2>&1 ||
break
5472 as_fn_arith
$ac_count + 1 && ac_count
=$as_val
5473 if test $ac_count -gt ${ac_path_GREP_max-0}; then
5474 # Best one so far, save it but keep looking for a better one
5475 ac_cv_path_GREP
="$ac_path_GREP"
5476 ac_path_GREP_max
=$ac_count
5478 # 10*(2^10) chars as input seems more than enough
5479 test $ac_count -gt 10 && break
5481 rm -f conftest.
in conftest.tmp conftest.
nl conftest.out
;;
5484 $ac_path_GREP_found && break 3
5489 if test -z "$ac_cv_path_GREP"; then
5490 as_fn_error $?
"no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
5493 ac_cv_path_GREP
=$GREP
5497 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
5498 $as_echo "$ac_cv_path_GREP" >&6; }
5499 GREP
="$ac_cv_path_GREP"
5502 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
5503 $as_echo_n "checking for egrep... " >&6; }
5504 if ${ac_cv_path_EGREP+:} false
; then :
5505 $as_echo_n "(cached) " >&6
5507 if echo a |
$GREP -E '(a|b)' >/dev
/null
2>&1
5508 then ac_cv_path_EGREP
="$GREP -E"
5510 if test -z "$EGREP"; then
5511 ac_path_EGREP_found
=false
5512 # Loop through the user's path and test for each of PROGNAME-LIST
5513 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5514 for as_dir
in $PATH$PATH_SEPARATOR/usr
/xpg
4/bin
5517 test -z "$as_dir" && as_dir
=.
5518 for ac_prog
in egrep; do
5519 for ac_exec_ext
in '' $ac_executable_extensions; do
5520 ac_path_EGREP
="$as_dir/$ac_prog$ac_exec_ext"
5521 as_fn_executable_p
"$ac_path_EGREP" ||
continue
5522 # Check for GNU ac_path_EGREP and select it if it is found.
5523 # Check for GNU $ac_path_EGREP
5524 case `"$ac_path_EGREP" --version 2>&1` in
5526 ac_cv_path_EGREP
="$ac_path_EGREP" ac_path_EGREP_found
=:;;
5529 $as_echo_n 0123456789 >"conftest.in"
5532 cat "conftest.in" "conftest.in" >"conftest.tmp"
5533 mv "conftest.tmp" "conftest.in"
5534 cp "conftest.in" "conftest.nl"
5535 $as_echo 'EGREP' >> "conftest.nl"
5536 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev
/null ||
break
5537 diff "conftest.out" "conftest.nl" >/dev
/null
2>&1 ||
break
5538 as_fn_arith
$ac_count + 1 && ac_count
=$as_val
5539 if test $ac_count -gt ${ac_path_EGREP_max-0}; then
5540 # Best one so far, save it but keep looking for a better one
5541 ac_cv_path_EGREP
="$ac_path_EGREP"
5542 ac_path_EGREP_max
=$ac_count
5544 # 10*(2^10) chars as input seems more than enough
5545 test $ac_count -gt 10 && break
5547 rm -f conftest.
in conftest.tmp conftest.
nl conftest.out
;;
5550 $ac_path_EGREP_found && break 3
5555 if test -z "$ac_cv_path_EGREP"; then
5556 as_fn_error $?
"no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
5559 ac_cv_path_EGREP
=$EGREP
5564 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
5565 $as_echo "$ac_cv_path_EGREP" >&6; }
5566 EGREP
="$ac_cv_path_EGREP"
5569 # Extract the first word of "ldconfig", so it can be a program name with args.
5570 set dummy ldconfig
; ac_word
=$2
5571 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5572 $as_echo_n "checking for $ac_word... " >&6; }
5573 if ${ac_cv_path_LDCONFIG+:} false
; then :
5574 $as_echo_n "(cached) " >&6
5578 ac_cv_path_LDCONFIG
="$LDCONFIG" # Let the user override the test with a path.
5581 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5582 for as_dir
in /sbin
/usr
/sbin
$PATH
5585 test -z "$as_dir" && as_dir
=.
5586 for ac_exec_ext
in '' $ac_executable_extensions; do
5587 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
5588 ac_cv_path_LDCONFIG
="$as_dir/$ac_word$ac_exec_ext"
5589 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5596 test -z "$ac_cv_path_LDCONFIG" && ac_cv_path_LDCONFIG
="true"
5600 LDCONFIG
=$ac_cv_path_LDCONFIG
5601 if test -n "$LDCONFIG"; then
5602 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LDCONFIG" >&5
5603 $as_echo "$LDCONFIG" >&6; }
5605 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5606 $as_echo "no" >&6; }
5610 for ac_prog
in msgfmt
5612 # Extract the first word of "$ac_prog", so it can be a program name with args.
5613 set dummy
$ac_prog; ac_word
=$2
5614 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5615 $as_echo_n "checking for $ac_word... " >&6; }
5616 if ${ac_cv_prog_MSGFMT+:} false
; then :
5617 $as_echo_n "(cached) " >&6
5619 if test -n "$MSGFMT"; then
5620 ac_cv_prog_MSGFMT
="$MSGFMT" # Let the user override the test.
5622 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5626 test -z "$as_dir" && as_dir
=.
5627 for ac_exec_ext
in '' $ac_executable_extensions; do
5628 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
5629 ac_cv_prog_MSGFMT
="$ac_prog"
5630 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5639 MSGFMT
=$ac_cv_prog_MSGFMT
5640 if test -n "$MSGFMT"; then
5641 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MSGFMT" >&5
5642 $as_echo "$MSGFMT" >&6; }
5644 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5645 $as_echo "no" >&6; }
5649 test -n "$MSGFMT" && break
5651 test -n "$MSGFMT" || MSGFMT
="false"
5653 if ${ac_tool_prefix+:} false
; then :
5654 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
5655 set dummy
${ac_tool_prefix}pkg-config
; ac_word
=$2
5656 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5657 $as_echo_n "checking for $ac_word... " >&6; }
5658 if ${ac_cv_prog_PKG_CONFIG+:} false
; then :
5659 $as_echo_n "(cached) " >&6
5661 if test -n "$PKG_CONFIG"; then
5662 ac_cv_prog_PKG_CONFIG
="$PKG_CONFIG" # Let the user override the test.
5664 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5668 test -z "$as_dir" && as_dir
=.
5669 for ac_exec_ext
in '' $ac_executable_extensions; do
5670 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
5671 ac_cv_prog_PKG_CONFIG
="${ac_tool_prefix}pkg-config"
5672 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5681 PKG_CONFIG
=$ac_cv_prog_PKG_CONFIG
5682 if test -n "$PKG_CONFIG"; then
5683 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
5684 $as_echo "$PKG_CONFIG" >&6; }
5686 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5687 $as_echo "no" >&6; }
5692 if ${ac_cv_prog_PKG_CONFIG:+false} :; then :
5693 if test "x$cross_compiling" = xyes
; then :
5696 { ac_cv_prog_PKG_CONFIG
=; unset ac_cv_prog_PKG_CONFIG
;}
5697 # Extract the first word of "pkg-config", so it can be a program name with args.
5698 set dummy pkg-config
; ac_word
=$2
5699 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5700 $as_echo_n "checking for $ac_word... " >&6; }
5701 if ${ac_cv_prog_PKG_CONFIG+:} false
; then :
5702 $as_echo_n "(cached) " >&6
5704 if test -n "$PKG_CONFIG"; then
5705 ac_cv_prog_PKG_CONFIG
="$PKG_CONFIG" # Let the user override the test.
5707 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5711 test -z "$as_dir" && as_dir
=.
5712 for ac_exec_ext
in '' $ac_executable_extensions; do
5713 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
5714 ac_cv_prog_PKG_CONFIG
="pkg-config"
5715 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5724 PKG_CONFIG
=$ac_cv_prog_PKG_CONFIG
5725 if test -n "$PKG_CONFIG"; then
5726 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
5727 $as_echo "$PKG_CONFIG" >&6; }
5729 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5730 $as_echo "no" >&6; }
5736 PKG_CONFIG
=$ac_cv_prog_PKG_CONFIG
5739 if test "x$enable_maintainer_mode" != "xyes"
5746 test "$srcdir" = . || as_fn_error $?
"Maintainer mode cannot work out of tree." "$LINENO" 5
5747 for ac_prog
in fontforge
5749 # Extract the first word of "$ac_prog", so it can be a program name with args.
5750 set dummy
$ac_prog; ac_word
=$2
5751 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5752 $as_echo_n "checking for $ac_word... " >&6; }
5753 if ${ac_cv_prog_FONTFORGE+:} false
; then :
5754 $as_echo_n "(cached) " >&6
5756 if test -n "$FONTFORGE"; then
5757 ac_cv_prog_FONTFORGE
="$FONTFORGE" # Let the user override the test.
5759 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5763 test -z "$as_dir" && as_dir
=.
5764 for ac_exec_ext
in '' $ac_executable_extensions; do
5765 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
5766 ac_cv_prog_FONTFORGE
="$ac_prog"
5767 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5776 FONTFORGE
=$ac_cv_prog_FONTFORGE
5777 if test -n "$FONTFORGE"; then
5778 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $FONTFORGE" >&5
5779 $as_echo "$FONTFORGE" >&6; }
5781 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5782 $as_echo "no" >&6; }
5786 test -n "$FONTFORGE" && break
5788 test -n "$FONTFORGE" || FONTFORGE
="false"
5790 for ac_prog
in rsvg-convert rsvg
5792 # Extract the first word of "$ac_prog", so it can be a program name with args.
5793 set dummy
$ac_prog; ac_word
=$2
5794 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5795 $as_echo_n "checking for $ac_word... " >&6; }
5796 if ${ac_cv_prog_RSVG+:} false
; then :
5797 $as_echo_n "(cached) " >&6
5799 if test -n "$RSVG"; then
5800 ac_cv_prog_RSVG
="$RSVG" # Let the user override the test.
5802 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5806 test -z "$as_dir" && as_dir
=.
5807 for ac_exec_ext
in '' $ac_executable_extensions; do
5808 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
5809 ac_cv_prog_RSVG
="$ac_prog"
5810 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5819 RSVG
=$ac_cv_prog_RSVG
5820 if test -n "$RSVG"; then
5821 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RSVG" >&5
5822 $as_echo "$RSVG" >&6; }
5824 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5825 $as_echo "no" >&6; }
5829 test -n "$RSVG" && break
5831 test -n "$RSVG" || RSVG
="false"
5833 for ac_prog
in convert
5835 # Extract the first word of "$ac_prog", so it can be a program name with args.
5836 set dummy
$ac_prog; ac_word
=$2
5837 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5838 $as_echo_n "checking for $ac_word... " >&6; }
5839 if ${ac_cv_prog_CONVERT+:} false
; then :
5840 $as_echo_n "(cached) " >&6
5842 if test -n "$CONVERT"; then
5843 ac_cv_prog_CONVERT
="$CONVERT" # Let the user override the test.
5845 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5849 test -z "$as_dir" && as_dir
=.
5850 for ac_exec_ext
in '' $ac_executable_extensions; do
5851 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
5852 ac_cv_prog_CONVERT
="$ac_prog"
5853 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5862 CONVERT
=$ac_cv_prog_CONVERT
5863 if test -n "$CONVERT"; then
5864 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CONVERT" >&5
5865 $as_echo "$CONVERT" >&6; }
5867 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5868 $as_echo "no" >&6; }
5872 test -n "$CONVERT" && break
5874 test -n "$CONVERT" || CONVERT
="false"
5876 for ac_prog
in icotool
5878 # Extract the first word of "$ac_prog", so it can be a program name with args.
5879 set dummy
$ac_prog; ac_word
=$2
5880 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5881 $as_echo_n "checking for $ac_word... " >&6; }
5882 if ${ac_cv_prog_ICOTOOL+:} false
; then :
5883 $as_echo_n "(cached) " >&6
5885 if test -n "$ICOTOOL"; then
5886 ac_cv_prog_ICOTOOL
="$ICOTOOL" # Let the user override the test.
5888 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5892 test -z "$as_dir" && as_dir
=.
5893 for ac_exec_ext
in '' $ac_executable_extensions; do
5894 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
5895 ac_cv_prog_ICOTOOL
="$ac_prog"
5896 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5905 ICOTOOL
=$ac_cv_prog_ICOTOOL
5906 if test -n "$ICOTOOL"; then
5907 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ICOTOOL" >&5
5908 $as_echo "$ICOTOOL" >&6; }
5910 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5911 $as_echo "no" >&6; }
5915 test -n "$ICOTOOL" && break
5917 test -n "$ICOTOOL" || ICOTOOL
="false"
5919 test "$FONTFORGE" != "false" || as_fn_error $?
"You need fontforge to rebuild fonts in maintainer mode." "$LINENO" 5
5920 test "$RSVG" != "false" || as_fn_error $?
"You need rsvg to rebuild icons in maintainer mode." "$LINENO" 5
5922 if test "$CONVERT" = false
5924 as_fn_error $?
"You need imagemagick to rebuild icons in maintainer mode." "$LINENO" 5
5926 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for recent enough imagemagick" >&5
5927 $as_echo_n "checking for recent enough imagemagick... " >&6; }
5928 convert_version
=`convert --version | head -n1`
5929 if test "x$convert_version" != "x"
5931 convert_version_major
=`expr "$convert_version" : '.* \([0-9]*\)\.[0-9]*'`
5932 convert_version_minor
=`expr "$convert_version" : '.* [0-9]*\.\([0-9]*\)'`
5933 if test "$convert_version_major" -eq 6 -a "$convert_version_minor" -lt 6
5938 if test "$CONVERT" = false
5940 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no ($convert_version_major.$convert_version_minor)" >&5
5941 $as_echo "no ($convert_version_major.$convert_version_minor)" >&6; }
5942 as_fn_error $?
"You need imagemagick version 6.6 or newer to rebuild icons in maintainer mode." "$LINENO" 5
5944 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes ($convert_version_major.$convert_version_minor)" >&5
5945 $as_echo "yes ($convert_version_major.$convert_version_minor)" >&6; }
5949 if test "$ICOTOOL" = false
5951 as_fn_error $?
"You need icotool to rebuild icons in maintainer mode." "$LINENO" 5
5953 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for recent enough icotool" >&5
5954 $as_echo_n "checking for recent enough icotool... " >&6; }
5955 icotool_version
=`icotool --version | head -n1`
5956 if test "x$icotool_version" != "x"
5958 icotool_version_major
=`expr "$icotool_version" : '.* \([0-9]*\)\.[0-9]*'`
5959 icotool_version_minor
=`expr "$icotool_version" : '.* [0-9]*\.\([0-9]*\)'`
5960 if test "$icotool_version_major" -eq 0 -a "$icotool_version_minor" -lt 29
5963 as_fn_append wine_warnings
"|icotool version 0.29.0 or newer is needed to rebuild icons."
5966 if test "$ICOTOOL" = false
5968 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no ($icotool_version_major.$icotool_version_minor)" >&5
5969 $as_echo "no ($icotool_version_major.$icotool_version_minor)" >&6; }
5970 as_fn_error $?
"You need icotool version 0.29.0 or newer to rebuild icons in maintainer mode." "$LINENO" 5
5972 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes ($icotool_version_major.$icotool_version_minor)" >&5
5973 $as_echo "yes ($icotool_version_major.$icotool_version_minor)" >&6; }
5979 { ac_cv_header_gettext_po_h
=; unset ac_cv_header_gettext_po_h
;}
5982 test "x$with_gettext" != xno || MSGFMT
=false
5983 if test "$MSGFMT" != "false"
5985 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether msgfmt supports contexts" >&5
5986 $as_echo_n "checking whether msgfmt supports contexts... " >&6; }
5987 cat >conftest.po
<<EOF
5993 if $MSGFMT -o /dev
/null conftest.po
2>&5
5995 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5996 $as_echo "yes" >&6; }
5998 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5999 $as_echo "no" >&6; }
6003 if test "$MSGFMT" = false
; then :
6004 case "x$with_gettext" in
6005 x
) as_fn_append wine_warnings
"|gettext tools not found (or too old), translations won't be built." ;;
6007 *) as_fn_error $?
"gettext tools not found (or too old), translations won't be built.
6008 This is an error since --with-gettext was requested." "$LINENO" 5 ;;
6013 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for i386_set_ldt in -li386" >&5
6014 $as_echo_n "checking for i386_set_ldt in -li386... " >&6; }
6015 if ${ac_cv_lib_i386_i386_set_ldt+:} false
; then :
6016 $as_echo_n "(cached) " >&6
6018 ac_check_lib_save_LIBS
=$LIBS
6020 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6021 /* end confdefs.h. */
6023 /* Override any GCC internal prototype to avoid an error.
6024 Use char because int might match the return type of a GCC
6025 builtin and then its argument prototype would still apply. */
6029 char i386_set_ldt ();
6033 return i386_set_ldt ();
6038 if ac_fn_c_try_link
"$LINENO"; then :
6039 ac_cv_lib_i386_i386_set_ldt
=yes
6041 ac_cv_lib_i386_i386_set_ldt
=no
6043 rm -f core conftest.err conftest.
$ac_objext \
6044 conftest
$ac_exeext conftest.
$ac_ext
6045 LIBS
=$ac_check_lib_save_LIBS
6047 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_i386_i386_set_ldt" >&5
6048 $as_echo "$ac_cv_lib_i386_i386_set_ldt" >&6; }
6049 if test "x$ac_cv_lib_i386_i386_set_ldt" = xyes
; then :
6050 cat >>confdefs.h
<<_ACEOF
6051 #define HAVE_LIBI386 1
6058 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _oss_ioctl in -lossaudio" >&5
6059 $as_echo_n "checking for _oss_ioctl in -lossaudio... " >&6; }
6060 if ${ac_cv_lib_ossaudio__oss_ioctl+:} false
; then :
6061 $as_echo_n "(cached) " >&6
6063 ac_check_lib_save_LIBS
=$LIBS
6064 LIBS
="-lossaudio $LIBS"
6065 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6066 /* end confdefs.h. */
6068 /* Override any GCC internal prototype to avoid an error.
6069 Use char because int might match the return type of a GCC
6070 builtin and then its argument prototype would still apply. */
6078 return _oss_ioctl ();
6083 if ac_fn_c_try_link
"$LINENO"; then :
6084 ac_cv_lib_ossaudio__oss_ioctl
=yes
6086 ac_cv_lib_ossaudio__oss_ioctl
=no
6088 rm -f core conftest.err conftest.
$ac_objext \
6089 conftest
$ac_exeext conftest.
$ac_ext
6090 LIBS
=$ac_check_lib_save_LIBS
6092 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ossaudio__oss_ioctl" >&5
6093 $as_echo "$ac_cv_lib_ossaudio__oss_ioctl" >&6; }
6094 if test "x$ac_cv_lib_ossaudio__oss_ioctl" = xyes
; then :
6095 cat >>confdefs.h
<<_ACEOF
6096 #define HAVE_LIBOSSAUDIO 1
6099 LIBS
="-lossaudio $LIBS"
6108 # Check whether --enable-largefile was given.
6109 if test "${enable_largefile+set}" = set; then :
6110 enableval
=$enable_largefile;
6113 if test "$enable_largefile" != no
; then
6115 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for special C compiler options needed for large files" >&5
6116 $as_echo_n "checking for special C compiler options needed for large files... " >&6; }
6117 if ${ac_cv_sys_largefile_CC+:} false
; then :
6118 $as_echo_n "(cached) " >&6
6120 ac_cv_sys_largefile_CC
=no
6121 if test "$GCC" != yes; then
6124 # IRIX 6.2 and later do not support large files by default,
6125 # so use the C compiler's -n32 option if that helps.
6126 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6127 /* end confdefs.h. */
6128 #include <sys/types.h>
6129 /* Check that off_t can represent 2**63 - 1 correctly.
6130 We can't simply define LARGE_OFF_T to be 9223372036854775807,
6131 since some C++ compilers masquerading as C compilers
6132 incorrectly reject 9223372036854775807. */
6133 #define LARGE_OFF_T ((((off_t) 1 << 31) << 31) - 1 + (((off_t) 1 << 31) << 31))
6134 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
6135 && LARGE_OFF_T % 2147483647 == 1)
6145 if ac_fn_c_try_compile
"$LINENO"; then :
6148 rm -f core conftest.err conftest.
$ac_objext
6150 if ac_fn_c_try_compile
"$LINENO"; then :
6151 ac_cv_sys_largefile_CC
=' -n32'; break
6153 rm -f core conftest.err conftest.
$ac_objext
6157 rm -f conftest.
$ac_ext
6160 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_largefile_CC" >&5
6161 $as_echo "$ac_cv_sys_largefile_CC" >&6; }
6162 if test "$ac_cv_sys_largefile_CC" != no
; then
6163 CC
=$CC$ac_cv_sys_largefile_CC
6166 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _FILE_OFFSET_BITS value needed for large files" >&5
6167 $as_echo_n "checking for _FILE_OFFSET_BITS value needed for large files... " >&6; }
6168 if ${ac_cv_sys_file_offset_bits+:} false
; then :
6169 $as_echo_n "(cached) " >&6
6172 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6173 /* end confdefs.h. */
6174 #include <sys/types.h>
6175 /* Check that off_t can represent 2**63 - 1 correctly.
6176 We can't simply define LARGE_OFF_T to be 9223372036854775807,
6177 since some C++ compilers masquerading as C compilers
6178 incorrectly reject 9223372036854775807. */
6179 #define LARGE_OFF_T ((((off_t) 1 << 31) << 31) - 1 + (((off_t) 1 << 31) << 31))
6180 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
6181 && LARGE_OFF_T % 2147483647 == 1)
6191 if ac_fn_c_try_compile
"$LINENO"; then :
6192 ac_cv_sys_file_offset_bits
=no
; break
6194 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
6195 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6196 /* end confdefs.h. */
6197 #define _FILE_OFFSET_BITS 64
6198 #include <sys/types.h>
6199 /* Check that off_t can represent 2**63 - 1 correctly.
6200 We can't simply define LARGE_OFF_T to be 9223372036854775807,
6201 since some C++ compilers masquerading as C compilers
6202 incorrectly reject 9223372036854775807. */
6203 #define LARGE_OFF_T ((((off_t) 1 << 31) << 31) - 1 + (((off_t) 1 << 31) << 31))
6204 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
6205 && LARGE_OFF_T % 2147483647 == 1)
6215 if ac_fn_c_try_compile
"$LINENO"; then :
6216 ac_cv_sys_file_offset_bits
=64; break
6218 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
6219 ac_cv_sys_file_offset_bits
=unknown
6223 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_file_offset_bits" >&5
6224 $as_echo "$ac_cv_sys_file_offset_bits" >&6; }
6225 case $ac_cv_sys_file_offset_bits in #(
6228 cat >>confdefs.h
<<_ACEOF
6229 #define _FILE_OFFSET_BITS $ac_cv_sys_file_offset_bits
6234 if test $ac_cv_sys_file_offset_bits = unknown
; then
6235 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _LARGE_FILES value needed for large files" >&5
6236 $as_echo_n "checking for _LARGE_FILES value needed for large files... " >&6; }
6237 if ${ac_cv_sys_large_files+:} false
; then :
6238 $as_echo_n "(cached) " >&6
6241 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6242 /* end confdefs.h. */
6243 #include <sys/types.h>
6244 /* Check that off_t can represent 2**63 - 1 correctly.
6245 We can't simply define LARGE_OFF_T to be 9223372036854775807,
6246 since some C++ compilers masquerading as C compilers
6247 incorrectly reject 9223372036854775807. */
6248 #define LARGE_OFF_T ((((off_t) 1 << 31) << 31) - 1 + (((off_t) 1 << 31) << 31))
6249 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
6250 && LARGE_OFF_T % 2147483647 == 1)
6260 if ac_fn_c_try_compile
"$LINENO"; then :
6261 ac_cv_sys_large_files
=no
; break
6263 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
6264 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6265 /* end confdefs.h. */
6266 #define _LARGE_FILES 1
6267 #include <sys/types.h>
6268 /* Check that off_t can represent 2**63 - 1 correctly.
6269 We can't simply define LARGE_OFF_T to be 9223372036854775807,
6270 since some C++ compilers masquerading as C compilers
6271 incorrectly reject 9223372036854775807. */
6272 #define LARGE_OFF_T ((((off_t) 1 << 31) << 31) - 1 + (((off_t) 1 << 31) << 31))
6273 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
6274 && LARGE_OFF_T % 2147483647 == 1)
6284 if ac_fn_c_try_compile
"$LINENO"; then :
6285 ac_cv_sys_large_files
=1; break
6287 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
6288 ac_cv_sys_large_files
=unknown
6292 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_large_files" >&5
6293 $as_echo "$ac_cv_sys_large_files" >&6; }
6294 case $ac_cv_sys_large_files in #(
6297 cat >>confdefs.h
<<_ACEOF
6298 #define _LARGE_FILES $ac_cv_sys_large_files
6310 ac_cpp
='$CPP $CPPFLAGS'
6311 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6312 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6313 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
6314 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
6315 $as_echo_n "checking how to run the C preprocessor... " >&6; }
6316 # On Suns, sometimes $CPP names a directory.
6317 if test -n "$CPP" && test -d "$CPP"; then
6320 if test -z "$CPP"; then
6321 if ${ac_cv_prog_CPP+:} false
; then :
6322 $as_echo_n "(cached) " >&6
6324 # Double quotes because CPP needs to be expanded
6325 for CPP
in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
6328 for ac_c_preproc_warn_flag
in '' yes
6330 # Use a header file that comes with gcc, so configuring glibc
6331 # with a fresh cross-compiler works.
6332 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
6333 # <limits.h> exists even on freestanding compilers.
6334 # On the NeXT, cc -E runs the code through the compiler's parser,
6335 # not just through cpp. "Syntax error" is here to catch this case.
6336 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6337 /* end confdefs.h. */
6339 # include <limits.h>
6341 # include <assert.h>
6345 if ac_fn_c_try_cpp
"$LINENO"; then :
6348 # Broken: fails on valid input.
6351 rm -f conftest.err conftest.i conftest.
$ac_ext
6353 # OK, works on sane cases. Now check whether nonexistent headers
6354 # can be detected and how.
6355 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6356 /* end confdefs.h. */
6357 #include <ac_nonexistent.h>
6359 if ac_fn_c_try_cpp
"$LINENO"; then :
6360 # Broken: success on invalid input.
6363 # Passes both tests.
6367 rm -f conftest.err conftest.i conftest.
$ac_ext
6370 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
6371 rm -f conftest.i conftest.err conftest.
$ac_ext
6372 if $ac_preproc_ok; then :
6384 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
6385 $as_echo "$CPP" >&6; }
6387 for ac_c_preproc_warn_flag
in '' yes
6389 # Use a header file that comes with gcc, so configuring glibc
6390 # with a fresh cross-compiler works.
6391 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
6392 # <limits.h> exists even on freestanding compilers.
6393 # On the NeXT, cc -E runs the code through the compiler's parser,
6394 # not just through cpp. "Syntax error" is here to catch this case.
6395 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6396 /* end confdefs.h. */
6398 # include <limits.h>
6400 # include <assert.h>
6404 if ac_fn_c_try_cpp
"$LINENO"; then :
6407 # Broken: fails on valid input.
6410 rm -f conftest.err conftest.i conftest.
$ac_ext
6412 # OK, works on sane cases. Now check whether nonexistent headers
6413 # can be detected and how.
6414 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6415 /* end confdefs.h. */
6416 #include <ac_nonexistent.h>
6418 if ac_fn_c_try_cpp
"$LINENO"; then :
6419 # Broken: success on invalid input.
6422 # Passes both tests.
6426 rm -f conftest.err conftest.i conftest.
$ac_ext
6429 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
6430 rm -f conftest.i conftest.err conftest.
$ac_ext
6431 if $ac_preproc_ok; then :
6434 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
6435 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
6436 as_fn_error $?
"C preprocessor \"$CPP\" fails sanity check
6437 See \`config.log' for more details" "$LINENO" 5; }
6441 ac_cpp
='$CPP $CPPFLAGS'
6442 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6443 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6444 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
6447 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
6448 $as_echo_n "checking for ANSI C header files... " >&6; }
6449 if ${ac_cv_header_stdc+:} false
; then :
6450 $as_echo_n "(cached) " >&6
6452 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6453 /* end confdefs.h. */
6467 if ac_fn_c_try_compile
"$LINENO"; then :
6468 ac_cv_header_stdc
=yes
6470 ac_cv_header_stdc
=no
6472 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
6474 if test $ac_cv_header_stdc = yes; then
6475 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
6476 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6477 /* end confdefs.h. */
6481 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
6482 $EGREP "memchr" >/dev
/null
2>&1; then :
6485 ac_cv_header_stdc
=no
6491 if test $ac_cv_header_stdc = yes; then
6492 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
6493 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6494 /* end confdefs.h. */
6498 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
6499 $EGREP "free" >/dev
/null
2>&1; then :
6502 ac_cv_header_stdc
=no
6508 if test $ac_cv_header_stdc = yes; then
6509 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
6510 if test "$cross_compiling" = yes; then :
6513 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6514 /* end confdefs.h. */
6517 #if ((' ' & 0x0FF) == 0x020)
6518 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
6519 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
6521 # define ISLOWER(c) \
6522 (('a' <= (c) && (c) <= 'i') \
6523 || ('j' <= (c) && (c) <= 'r') \
6524 || ('s' <= (c) && (c) <= 'z'))
6525 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
6528 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
6533 for (i = 0; i < 256; i++)
6534 if (XOR (islower (i), ISLOWER (i))
6535 || toupper (i) != TOUPPER (i))
6540 if ac_fn_c_try_run
"$LINENO"; then :
6543 ac_cv_header_stdc
=no
6545 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext \
6546 conftest.
$ac_objext conftest.beam conftest.
$ac_ext
6551 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
6552 $as_echo "$ac_cv_header_stdc" >&6; }
6553 if test $ac_cv_header_stdc = yes; then
6555 $as_echo "#define STDC_HEADERS 1" >>confdefs.h
6559 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
6560 for ac_header
in sys
/types.h sys
/stat.h stdlib.h string.h memory.h
strings.h \
6561 inttypes.h stdint.h unistd.h
6563 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
6564 ac_fn_c_check_header_compile
"$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
6566 if eval test \"x\$
"$as_ac_Header"\" = x
"yes"; then :
6567 cat >>confdefs.h
<<_ACEOF
6568 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
6578 ApplicationServices
/ApplicationServices.h \
6579 AudioToolbox
/AudioConverter.h \
6580 AudioUnit
/AudioUnit.h \
6581 AudioUnit
/AudioComponent.h \
6584 CoreAudio
/CoreAudio.h \
6585 CoreServices
/CoreServices.h \
6586 DiskArbitration
/DiskArbitration.h \
6588 IOKit
/hid
/IOHIDLib.h \
6591 QuickTime
/ImageCompression.h \
6592 Security
/Security.h \
6643 netinet
/in_systm.h \
6705 valgrind
/memcheck.h \
6706 valgrind
/valgrind.h \
6710 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
6711 ac_fn_c_check_header_mongrel
"$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
6712 if eval test \"x\$
"$as_ac_Header"\" = x
"yes"; then :
6713 cat >>confdefs.h
<<_ACEOF
6714 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
6721 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether stat file-mode macros are broken" >&5
6722 $as_echo_n "checking whether stat file-mode macros are broken... " >&6; }
6723 if ${ac_cv_header_stat_broken+:} false
; then :
6724 $as_echo_n "(cached) " >&6
6726 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6727 /* end confdefs.h. */
6728 #include <sys/types.h>
6729 #include <sys/stat.h>
6731 #if defined S_ISBLK && defined S_IFDIR
6732 extern char c1[S_ISBLK (S_IFDIR) ? -1 : 1];
6735 #if defined S_ISBLK && defined S_IFCHR
6736 extern char c2[S_ISBLK (S_IFCHR) ? -1 : 1];
6739 #if defined S_ISLNK && defined S_IFREG
6740 extern char c3[S_ISLNK (S_IFREG) ? -1 : 1];
6743 #if defined S_ISSOCK && defined S_IFREG
6744 extern char c4[S_ISSOCK (S_IFREG) ? -1 : 1];
6748 if ac_fn_c_try_compile
"$LINENO"; then :
6749 ac_cv_header_stat_broken
=no
6751 ac_cv_header_stat_broken
=yes
6753 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
6755 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stat_broken" >&5
6756 $as_echo "$ac_cv_header_stat_broken" >&6; }
6757 if test $ac_cv_header_stat_broken = yes; then
6759 $as_echo "#define STAT_MACROS_BROKEN 1" >>confdefs.h
6765 for ac_header
in sys
/mount.h sys
/statfs.h sys
/sysctl.h sys
/user.h sys
/vfs.h
6767 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
6768 ac_fn_c_check_header_compile
"$LINENO" "$ac_header" "$as_ac_Header" "#include <sys/types.h>
6769 #ifdef HAVE_SYS_PARAM_H
6770 # include <sys/param.h>
6773 if eval test \"x\$
"$as_ac_Header"\" = x
"yes"; then :
6774 cat >>confdefs.h
<<_ACEOF
6775 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
6790 netinet
/if_ether.h \
6791 netinet
/if_inarp.h \
6800 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
6801 ac_fn_c_check_header_compile
"$LINENO" "$ac_header" "$as_ac_Header" "#include <sys/types.h>
6802 #ifdef HAVE_SYS_SOCKET_H
6803 # include <sys/socket.h>
6805 #ifdef HAVE_SYS_SOCKETVAR_H
6806 # include <sys/socketvar.h>
6808 #ifdef HAVE_NET_ROUTE_H
6809 # include <net/route.h>
6811 #ifdef HAVE_NETINET_IN_H
6812 # include <netinet/in.h>
6814 #ifdef HAVE_NETINET_IN_SYSTM_H
6815 # include <netinet/in_systm.h>
6817 #ifdef HAVE_NET_IF_H
6818 # include <net/if.h>
6820 #ifdef HAVE_NETINET_IP_H
6821 # include <netinet/ip.h>
6824 if eval test \"x\$
"$as_ac_Header"\" = x
"yes"; then :
6825 cat >>confdefs.h
<<_ACEOF
6826 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
6834 for ac_header
in netinet
/tcp_timer.h netinet
/udp_var.h netinet
/icmp_var.h netinet
/tcp_var.h
6836 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
6837 ac_fn_c_check_header_compile
"$LINENO" "$ac_header" "$as_ac_Header" "#include <sys/types.h>
6841 #ifdef HAVE_SYS_SOCKET_H
6842 # include <sys/socket.h>
6844 #ifdef HAVE_SYS_SOCKETVAR_H
6845 # include <sys/socketvar.h>
6847 #ifdef HAVE_SYS_TIMEOUT_H
6848 # include <sys/timeout.h>
6850 #ifdef HAVE_NETINET_IN_H
6851 # include <netinet/in.h>
6853 #ifdef HAVE_NETINET_IN_SYSTM_H
6854 # include <netinet/in_systm.h>
6856 #ifdef HAVE_NETINET_IP_H
6857 # include <netinet/ip.h>
6859 #ifdef HAVE_NETINET_IP_VAR_H
6860 # include <netinet/ip_var.h>
6862 #ifdef HAVE_NETINET_IP_ICMP_H
6863 # include <netinet/ip_icmp.h>
6865 #ifdef HAVE_NETINET_UDP_H
6866 # include <netinet/udp.h>
6868 #ifdef HAVE_NETINET_TCP_H
6869 # include <netinet/tcp.h>
6871 #ifdef HAVE_NETINET_TCP_TIMER_H
6872 #include <netinet/tcp_timer.h>
6875 if eval test \"x\$
"$as_ac_Header"\" = x
"yes"; then :
6876 cat >>confdefs.h
<<_ACEOF
6877 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
6885 for ac_header
in linux
/ipx.h linux
/irda.h linux
/rtnetlink.h
6887 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
6888 ac_fn_c_check_header_compile
"$LINENO" "$ac_header" "$as_ac_Header" "#include <sys/types.h>
6889 #ifdef HAVE_ASM_TYPES_H
6890 # include <asm/types.h>
6892 #ifdef HAVE_SYS_SOCKET_H
6893 # include <sys/socket.h>
6895 #ifdef HAVE_LINUX_TYPES_H
6896 # include <linux/types.h>
6899 if eval test \"x\$
"$as_ac_Header"\" = x
"yes"; then :
6900 cat >>confdefs.h
<<_ACEOF
6901 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
6909 for ac_header
in mach-o
/dyld_images.h
6911 ac_fn_c_check_header_compile
"$LINENO" "mach-o/dyld_images.h" "ac_cv_header_mach_o_dyld_images_h" "#ifdef HAVE_STDBOOL_H
6912 # include <stdbool.h>
6914 #ifdef HAVE_STDINT_H
6915 # include <stdint.h>
6918 if test "x$ac_cv_header_mach_o_dyld_images_h" = xyes
; then :
6919 cat >>confdefs.h
<<_ACEOF
6920 #define HAVE_MACH_O_DYLD_IMAGES_H 1
6928 for ac_header
in resolv.h
6930 ac_fn_c_check_header_compile
"$LINENO" "resolv.h" "ac_cv_header_resolv_h" "#include <sys/types.h>
6931 #ifdef HAVE_SYS_SOCKET_H
6932 # include <sys/socket.h>
6934 #ifdef HAVE_NETINET_IN_H
6935 # include <netinet/in.h>
6937 #ifdef HAVE_ARPA_NAMESER_H
6938 # include <arpa/nameser.h>
6941 if test "x$ac_cv_header_resolv_h" = xyes
; then :
6942 cat >>confdefs.h
<<_ACEOF
6943 #define HAVE_RESOLV_H 1
6951 for ac_header
in ifaddrs.h
6953 ac_fn_c_check_header_compile
"$LINENO" "ifaddrs.h" "ac_cv_header_ifaddrs_h" "#include <sys/types.h>
6955 if test "x$ac_cv_header_ifaddrs_h" = xyes
; then :
6956 cat >>confdefs.h
<<_ACEOF
6957 #define HAVE_IFADDRS_H 1
6965 for ac_header
in sys
/ucontext.h
6967 ac_fn_c_check_header_compile
"$LINENO" "sys/ucontext.h" "ac_cv_header_sys_ucontext_h" "#include <signal.h>
6969 if test "x$ac_cv_header_sys_ucontext_h" = xyes
; then :
6970 cat >>confdefs.h
<<_ACEOF
6971 #define HAVE_SYS_UCONTEXT_H 1
6979 for ac_header
in sys
/thr.h
6981 ac_fn_c_check_header_compile
"$LINENO" "sys/thr.h" "ac_cv_header_sys_thr_h" "#include <sys/types.h>
6982 #ifdef HAVE_SYS_UCONTEXT_H
6983 #include <sys/ucontext.h>
6986 if test "x$ac_cv_header_sys_thr_h" = xyes
; then :
6987 cat >>confdefs.h
<<_ACEOF
6988 #define HAVE_SYS_THR_H 1
6996 for ac_header
in pthread_np.h
6998 ac_fn_c_check_header_compile
"$LINENO" "pthread_np.h" "ac_cv_header_pthread_np_h" "#ifdef HAVE_PTHREAD_H
6999 #include <pthread.h>
7002 if test "x$ac_cv_header_pthread_np_h" = xyes
; then :
7003 cat >>confdefs.h
<<_ACEOF
7004 #define HAVE_PTHREAD_NP_H 1
7012 for ac_header
in linux
/videodev.h linux
/videodev2.h libv4l1.h
7014 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
7015 ac_fn_c_check_header_compile
"$LINENO" "$ac_header" "$as_ac_Header" "#ifdef HAVE_SYS_TIME_H
7016 #include <sys/time.h>
7018 #include <sys/types.h>
7019 #ifdef HAVE_ASM_TYPES_H
7020 #include <asm/types.h>
7023 if eval test \"x\$
"$as_ac_Header"\" = x
"yes"; then :
7024 cat >>confdefs.h
<<_ACEOF
7025 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
7033 for ac_header
in libprocstat.h
7035 ac_fn_c_check_header_compile
"$LINENO" "libprocstat.h" "ac_cv_header_libprocstat_h" "#ifdef HAVE_SYS_PARAM_H
7036 #include <sys/param.h>
7038 #ifdef HAVE_SYS_QUEUE_H
7039 #include <sys/queue.h>
7041 #ifdef HAVE_SYS_SOCKET_H
7042 #include <sys/socket.h>
7045 if test "x$ac_cv_header_libprocstat_h" = xyes
; then :
7046 cat >>confdefs.h
<<_ACEOF
7047 #define HAVE_LIBPROCSTAT_H 1
7056 dlldir
="\${libdir}/wine"
7060 DLLFLAGS
="-D_REENTRANT"
7069 STATIC_IMPLIBEXT
="def.a"
7070 # Extract the first word of "ldd", so it can be a program name with args.
7071 set dummy ldd
; ac_word
=$2
7072 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7073 $as_echo_n "checking for $ac_word... " >&6; }
7074 if ${ac_cv_path_LDD+:} false
; then :
7075 $as_echo_n "(cached) " >&6
7079 ac_cv_path_LDD
="$LDD" # Let the user override the test with a path.
7082 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7083 as_dummy
="/sbin:/usr/sbin:$PATH"
7084 for as_dir
in $as_dummy
7087 test -z "$as_dir" && as_dir
=.
7088 for ac_exec_ext
in '' $ac_executable_extensions; do
7089 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
7090 ac_cv_path_LDD
="$as_dir/$ac_word$ac_exec_ext"
7091 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7098 test -z "$ac_cv_path_LDD" && ac_cv_path_LDD
="true"
7103 if test -n "$LDD"; then
7104 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LDD" >&5
7105 $as_echo "$LDD" >&6; }
7107 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7108 $as_echo "no" >&6; }
7112 if test -n "$ac_tool_prefix"; then
7113 # Extract the first word of "${ac_tool_prefix}readelf", so it can be a program name with args.
7114 set dummy
${ac_tool_prefix}readelf
; ac_word
=$2
7115 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7116 $as_echo_n "checking for $ac_word... " >&6; }
7117 if ${ac_cv_prog_READELF+:} false
; then :
7118 $as_echo_n "(cached) " >&6
7120 if test -n "$READELF"; then
7121 ac_cv_prog_READELF
="$READELF" # Let the user override the test.
7123 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7127 test -z "$as_dir" && as_dir
=.
7128 for ac_exec_ext
in '' $ac_executable_extensions; do
7129 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
7130 ac_cv_prog_READELF
="${ac_tool_prefix}readelf"
7131 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7140 READELF
=$ac_cv_prog_READELF
7141 if test -n "$READELF"; then
7142 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $READELF" >&5
7143 $as_echo "$READELF" >&6; }
7145 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7146 $as_echo "no" >&6; }
7151 if test -z "$ac_cv_prog_READELF"; then
7152 ac_ct_READELF
=$READELF
7153 # Extract the first word of "readelf", so it can be a program name with args.
7154 set dummy readelf
; ac_word
=$2
7155 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7156 $as_echo_n "checking for $ac_word... " >&6; }
7157 if ${ac_cv_prog_ac_ct_READELF+:} false
; then :
7158 $as_echo_n "(cached) " >&6
7160 if test -n "$ac_ct_READELF"; then
7161 ac_cv_prog_ac_ct_READELF
="$ac_ct_READELF" # Let the user override the test.
7163 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7167 test -z "$as_dir" && as_dir
=.
7168 for ac_exec_ext
in '' $ac_executable_extensions; do
7169 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
7170 ac_cv_prog_ac_ct_READELF
="readelf"
7171 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7180 ac_ct_READELF
=$ac_cv_prog_ac_ct_READELF
7181 if test -n "$ac_ct_READELF"; then
7182 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_READELF" >&5
7183 $as_echo "$ac_ct_READELF" >&6; }
7185 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7186 $as_echo "no" >&6; }
7189 if test "x$ac_ct_READELF" = x
; then
7192 case $cross_compiling:$ac_tool_warned in
7194 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7195 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7196 ac_tool_warned
=yes ;;
7198 READELF
=$ac_ct_READELF
7201 READELF
="$ac_cv_prog_READELF"
7204 wine_rules_file
=conf$
$rules.
make
7205 rm -f $wine_rules_file
7207 GITIGNORE
="# Automatically generated by configure; DO NOT EDIT!!"
7208 ALL_TEST_RESOURCES
=""
7211 wine_fn_append_file
()
7213 as_fn_append
$1 " \\$as_nl $2"
7216 wine_fn_ignore_file
()
7219 */*) as_fn_append GITIGNORE
"$as_nl$1" ;;
7220 \
**) as_fn_append GITIGNORE
"$as_nl$1" ;;
7221 *) as_fn_append GITIGNORE
"$as_nl/$1" ;;
7225 wine_fn_append_rule
()
7227 $as_echo "$1" >>$wine_rules_file
7232 expr ",$ac_flags," : ".*,$1,.*" >/dev
/null
7235 wine_fn_depend_rules
()
7237 wine_fn_append_rule \
7238 "$ac_dir/Makefile: $srcdir/$ac_dir/Makefile.in $srcdir/Make.vars.in config.status \$(MAKEDEP)
7239 @./config.status --file $ac_dir/Makefile:Make.vars.in:$ac_dir/Makefile.in && \$(MAKEDEP) $ac_dir
7240 depend: $ac_dir/depend
7241 .PHONY: $ac_dir/depend
7242 $ac_dir/depend: \$(MAKEDEP) dummy
7243 @./config.status --file $ac_dir/Makefile:Make.vars.in:$ac_dir/Makefile.in && \$(MAKEDEP) $ac_dir"
7246 wine_fn_pot_rules
()
7248 test "x$with_gettextpo" = xyes ||
return
7250 if wine_fn_has_flag mc
7252 wine_fn_append_file ALL_POT_FILES
$ac_dir/msg.pot
7253 wine_fn_append_rule \
7254 "$ac_dir/msg.pot: $ac_dir/Makefile dummy
7255 @cd $ac_dir && \$(MAKE) msg.pot
7256 $ac_dir/msg.pot: tools/wmc include"
7258 if wine_fn_has_flag po
7260 wine_fn_append_file ALL_POT_FILES
$ac_dir/rsrc.pot
7261 wine_fn_append_rule \
7262 "$ac_dir/rsrc.pot: $ac_dir/Makefile dummy
7263 @cd $ac_dir && \$(MAKE) rsrc.pot
7264 $ac_dir/rsrc.pot: tools/wrc include"
7268 wine_fn_all_rules
()
7270 wine_fn_depend_rules
7271 wine_fn_append_rule \
7274 $ac_dir: $ac_dir/Makefile dummy
7275 @cd $ac_dir && \$(MAKE)"
7278 wine_fn_install_rules
()
7280 wine_fn_has_flag install-lib || wine_fn_has_flag install-dev ||
return
7282 wine_fn_append_rule \
7283 ".PHONY: $ac_dir/install $ac_dir/uninstall
7284 $ac_dir/install:: $ac_dir
7285 @cd $ac_dir && \$(MAKE) install
7286 $ac_dir/uninstall:: $ac_dir/Makefile
7287 @cd $ac_dir && \$(MAKE) uninstall
7288 install:: $ac_dir/install
7289 __uninstall__: $ac_dir/uninstall"
7291 if wine_fn_has_flag install-lib
7293 wine_fn_append_rule \
7294 ".PHONY: $ac_dir/install-lib
7295 $ac_dir/install-lib:: $ac_dir
7296 @cd $ac_dir && \$(MAKE) install-lib
7297 install-lib:: $ac_dir/install-lib"
7300 if wine_fn_has_flag install-dev
7302 wine_fn_append_rule \
7303 ".PHONY: $ac_dir/install-dev
7304 $ac_dir/install-dev:: $ac_dir
7305 @cd $ac_dir && \$(MAKE) install-dev
7306 install-dev:: $ac_dir/install-dev"
7310 wine_fn_clean_rules
()
7313 ac_extraclean
="$ac_dir/Makefile"
7314 test "$srcdir" = .
&& ac_extraclean
="$ac_extraclean $ac_dir/.gitignore"
7316 */tests
) ac_extraclean
="$ac_extraclean $ac_dir/testlist.c" ;;
7319 if wine_fn_has_flag clean
7321 wine_fn_append_rule \
7322 "__clean__: $ac_dir/clean
7323 .PHONY: $ac_dir/clean
7324 $ac_dir/clean: $ac_dir/Makefile
7325 @cd $ac_dir && \$(MAKE) clean
7326 \$(RM) $ac_extraclean"
7328 wine_fn_append_rule \
7329 "__clean__: $ac_dir/clean
7330 .PHONY: $ac_dir/clean
7331 $ac_dir/clean: dummy
7332 \$(RM) \$(CLEAN_FILES:%=$ac_dir/%) $ac_clean $ac_extraclean"
7336 wine_fn_disabled_rules
()
7339 ac_extraclean
="$ac_dir/Makefile"
7340 test "$srcdir" = .
&& ac_extraclean
="$ac_extraclean $ac_dir/.gitignore"
7342 wine_fn_append_rule \
7343 "__clean__: $ac_dir/clean
7344 .PHONY: $ac_dir/clean
7345 $ac_dir/clean: dummy
7346 \$(RM) \$(CLEAN_FILES:%=$ac_dir/%) $ac_clean $ac_extraclean"
7349 wine_fn_config_makefile
()
7355 if eval test \"x\$
"$ac_enable"\" = x
"no"; then :
7356 wine_fn_disabled_rules
; return
7359 wine_fn_install_rules
7363 wine_fn_config_lib
()
7367 ac_dir
=dlls
/$ac_name
7370 if test "x$enable_tools" = xno
; then :
7373 ac_deps
="tools/widl tools/winebuild tools/winegcc $ac_deps"
7378 wine_fn_append_rule \
7379 ".PHONY: $ac_dir/install $ac_dir/uninstall
7380 $ac_dir/install:: $ac_dir
7381 \$(INSTALL_DATA) $ac_dir/lib$ac_name.a \$(DESTDIR)\$(dlldir)/lib$ac_name.a
7383 \$(RM) \$(DESTDIR)\$(dlldir)/lib$ac_name.a
7384 install install-dev:: $ac_dir/install
7385 __uninstall__: $ac_dir/uninstall
7386 __builddeps__: $ac_dir
7390 wine_fn_config_dll
()
7393 ac_dir
=dlls
/$ac_name
7396 ac_implib
=${4:-$ac_name}
7397 ac_file
=$ac_dir/lib
$ac_implib
7402 if test "x$enable_tools" = xno
; then :
7405 ac_deps
="tools/widl tools/winebuild tools/winegcc $ac_deps"
7408 *16) ac_implibflags
=" -m16" ;;
7410 *) ac_dll
=$ac_dll.dll
;;
7414 wine_fn_has_flag implib
&& ac_clean
="$ac_clean $ac_file.$IMPLIBEXT"
7415 wine_fn_has_flag mc
&& ac_clean
="$ac_clean $ac_dir/msg.pot"
7416 wine_fn_has_flag po
&& ac_clean
="$ac_clean $ac_dir/rsrc.pot"
7417 test -n "$DLLEXT" || ac_clean
="$ac_clean $ac_dir/$ac_dll"
7419 if eval test \"x\$
"$ac_enable"\" = x
"no"; then :
7420 if wine_fn_has_flag implib
&& test "$ac_enable" != enable_win16
7422 wine_fn_depend_rules
7423 wine_fn_clean_rules
$ac_clean
7425 wine_fn_disabled_rules
$ac_clean
7430 wine_fn_clean_rules
$ac_clean
7431 wine_fn_append_rule \
7432 "$ac_dir: __builddeps__
7433 manpages htmlpages sgmlpages xmlpages:: $ac_dir/Makefile
7434 @cd $ac_dir && \$(MAKE) \$@
7435 .PHONY: $ac_dir/install-lib $ac_dir/uninstall
7436 install install-lib:: $ac_dir/install-lib
7437 __uninstall__: $ac_dir/uninstall"
7438 if test -n "$DLLEXT"
7440 wine_fn_append_rule \
7441 "$ac_dir/install-lib:: $ac_dir
7442 \$(INSTALL_PROGRAM) $ac_dir/$ac_dll$DLLEXT \$(DESTDIR)\$(dlldir)/$DLLPREFIX$ac_dll$DLLEXT
7443 \$(INSTALL_DATA) $ac_dir/$ac_dll.fake \$(DESTDIR)\$(fakedlldir)/$ac_dll
7445 \$(RM) \$(DESTDIR)\$(dlldir)/$DLLPREFIX$ac_dll$DLLEXT \$(DESTDIR)\$(fakedlldir)/$ac_dll"
7447 wine_fn_append_rule \
7448 "$ac_dir/install-lib:: $ac_dir
7449 \$(INSTALL_PROGRAM) $ac_dir/$ac_dll \$(DESTDIR)\$(dlldir)/$ac_dll
7451 \$(RM) \$(DESTDIR)\$(dlldir)/$ac_dll"
7457 if wine_fn_has_flag staticimplib
7459 wine_fn_append_rule \
7460 "__builddeps__: $ac_file.$IMPLIBEXT $ac_file.$STATIC_IMPLIBEXT
7461 $ac_file.$IMPLIBEXT $ac_file.$STATIC_IMPLIBEXT $ac_file.cross.a: $ac_deps
7462 $ac_file.def: $srcdir/$ac_dir/$ac_name.spec $ac_dir/Makefile \$(WINEBUILD)
7463 \$(WINEBUILD) \$(TARGETFLAGS)$ac_implibflags -w --def -o \$@ --export $srcdir/$ac_dir/$ac_name.spec
7464 $ac_file.$STATIC_IMPLIBEXT: $ac_dir/Makefile dummy
7465 @cd $ac_dir && \$(MAKE) lib$ac_implib.$STATIC_IMPLIBEXT
7466 .PHONY: $ac_dir/install-dev $ac_dir/uninstall
7467 $ac_dir/install-dev:: $ac_file.$IMPLIBEXT
7468 \$(INSTALL_DATA) $ac_file.$IMPLIBEXT \$(DESTDIR)\$(dlldir)/lib$ac_implib.$IMPLIBEXT
7470 \$(RM) \$(DESTDIR)\$(dlldir)/lib$ac_implib.$IMPLIBEXT
7471 install install-dev:: $ac_dir/install-dev
7472 __uninstall__: $ac_dir/uninstall"
7474 if test "$IMPLIBEXT" != "$STATIC_IMPLIBEXT"
7476 wine_fn_append_rule \
7477 "$ac_dir/install-dev:: $ac_file.$STATIC_IMPLIBEXT __builddeps__
7478 \$(INSTALL_DATA) $ac_file.$STATIC_IMPLIBEXT \$(DESTDIR)\$(dlldir)/lib$ac_implib.$STATIC_IMPLIBEXT
7480 \$(RM) \$(DESTDIR)\$(dlldir)/lib$ac_implib.$STATIC_IMPLIBEXT"
7483 if test -n "$CROSSTARGET" -a -z "$ac_implibflags"
7485 wine_fn_append_rule \
7486 "__builddeps__: $ac_file.cross.a
7487 $ac_file.cross.a: $ac_dir/Makefile dummy
7488 @cd $ac_dir && \$(MAKE) lib$ac_implib.cross.a"
7491 elif wine_fn_has_flag implib
7493 wine_fn_append_rule \
7494 "__builddeps__: $ac_file.$IMPLIBEXT
7495 $ac_file.def: $srcdir/$ac_dir/$ac_name.spec $ac_dir/Makefile \$(WINEBUILD)
7496 \$(WINEBUILD) \$(TARGETFLAGS)$ac_implibflags -w --def -o \$@ --export $srcdir/$ac_dir/$ac_name.spec
7497 $ac_file.a: $srcdir/$ac_dir/$ac_name.spec $ac_dir/Makefile \$(WINEBUILD)
7498 \$(WINEBUILD) \$(TARGETFLAGS)$ac_implibflags -w --implib -o \$@ --export $srcdir/$ac_dir/$ac_name.spec
7499 .PHONY: $ac_dir/install-dev $ac_dir/uninstall
7500 $ac_dir/install-dev:: $ac_file.$IMPLIBEXT
7501 \$(INSTALL_DATA) $ac_file.$IMPLIBEXT \$(DESTDIR)\$(dlldir)/lib$ac_implib.$IMPLIBEXT
7503 \$(RM) \$(DESTDIR)\$(dlldir)/lib$ac_implib.$IMPLIBEXT
7504 install install-dev:: $ac_dir/install-dev
7505 __uninstall__: $ac_dir/uninstall"
7506 if test -n "$CROSSTARGET" -a -z "$ac_implibflags"
7508 wine_fn_append_rule \
7509 "__builddeps__: $ac_file.cross.a
7510 $ac_file.cross.a: $srcdir/$ac_dir/$ac_name.spec $ac_dir/Makefile \$(WINEBUILD)
7511 \$(WINEBUILD) \$(CROSSTARGET:%=-b %)$ac_implibflags -w --implib -o \$@ --export $srcdir/$ac_dir/$ac_name.spec"
7514 if test "$ac_name" != "$ac_implib"
7516 wine_fn_append_rule \
7517 "__builddeps__: dlls/lib$ac_implib.$IMPLIBEXT
7518 dlls/lib$ac_implib.$IMPLIBEXT: $ac_file.$IMPLIBEXT
7519 \$(RM) \$@ && \$(LN_S) $ac_name/lib$ac_implib.$IMPLIBEXT \$@
7521 \$(RM) dlls/lib$ac_implib.$IMPLIBEXT"
7522 wine_fn_ignore_file
"dlls/lib$ac_implib.$IMPLIBEXT"
7523 if test -n "$CROSSTARGET" -a -z "$ac_implibflags"
7525 wine_fn_append_rule \
7526 "__builddeps__: dlls/lib$ac_implib.cross.a
7527 dlls/lib$ac_implib.cross.a: $ac_file.cross.a
7528 \$(RM) \$@ && \$(LN_S) $ac_name/lib$ac_implib.cross.a \$@
7530 \$(RM) dlls/lib$ac_implib.cross.a"
7531 wine_fn_ignore_file
"dlls/lib$ac_implib.cross.a"
7537 wine_fn_config_program
()
7540 ac_dir
=programs
/$ac_name
7547 *) ac_program
=$ac_program.exe
;;
7551 wine_fn_has_flag mc
&& ac_clean
="$ac_clean $ac_dir/msg.pot"
7552 wine_fn_has_flag po
&& ac_clean
="$ac_clean $ac_dir/rsrc.pot"
7553 wine_fn_has_flag manpage
&& ac_clean
="$ac_clean $ac_dir/$ac_name.man"
7554 test -n "$DLLEXT" || ac_clean
="$ac_clean $ac_dir/$ac_program"
7556 if eval test \"x\$
"$ac_enable"\" = x
"no"; then :
7557 wine_fn_disabled_rules
$ac_clean; return
7561 wine_fn_clean_rules
$ac_clean
7562 wine_fn_append_rule
"$ac_dir: __builddeps__"
7565 wine_fn_has_flag
install ||
return
7566 wine_fn_append_rule \
7567 ".PHONY: $ac_dir/install $ac_dir/uninstall
7568 install install-lib:: $ac_dir/install
7569 __uninstall__: $ac_dir/uninstall"
7571 if test -n "$DLLEXT"
7573 wine_fn_append_rule \
7574 "$ac_dir/install:: $ac_dir
7575 \$(INSTALL_PROGRAM) $ac_dir/$ac_program$DLLEXT \$(DESTDIR)\$(dlldir)/$DLLPREFIX$ac_program$DLLEXT
7576 \$(INSTALL_DATA) $ac_dir/$ac_program.fake \$(DESTDIR)\$(fakedlldir)/$ac_program
7578 \$(RM) \$(DESTDIR)\$(dlldir)/$DLLPREFIX$ac_program$DLLEXT \$(DESTDIR)\$(fakedlldir)/$ac_program"
7580 if test -z "$with_wine64" && wine_fn_has_flag installbin
7582 wine_fn_append_rule \
7583 "$ac_dir/install:: __tooldeps__
7584 \$(INSTALL_SCRIPT) \$(TOOLSDIR)/tools/wineapploader \$(DESTDIR)\$(bindir)/$ac_name
7586 \$(RM) \$(DESTDIR)\$(bindir)/$ac_name"
7589 wine_fn_append_rule \
7590 "$ac_dir/install:: $ac_dir
7591 \$(INSTALL_PROGRAM) $ac_dir/$ac_program \$(DESTDIR)\$(bindir)/$ac_program
7593 \$(RM) \$(DESTDIR)\$(bindir)/$ac_program"
7596 if test -z "$with_wine64" && wine_fn_has_flag manpage
7598 wine_fn_append_rule \
7599 "$ac_dir/install:: $ac_dir
7600 \$(INSTALL_DATA) $ac_dir/$ac_name.man \$(DESTDIR)\$(mandir)/man\$(prog_manext)/$ac_name.\$(prog_manext)
7602 \$(RM) \$(DESTDIR)\$(mandir)/man\$(prog_manext)/$ac_name.\$(prog_manext)"
7606 wine_fn_config_test
()
7613 test -n "$CROSSTARGET" && ac_clean
=`expr $ac_dir/${ac_name} : "\\(.*\\)_test"`_crosstest.exe
7614 test -n "$DLLEXT" || ac_clean
="$ac_dir/${ac_name}.exe $ac_dir/${ac_name}-stripped.exe"
7616 if test "x$enable_tests" = xno
; then :
7617 wine_fn_disabled_rules
$ac_clean; return
7620 wine_fn_append_file ALL_TEST_RESOURCES
$ac_name.res
7622 wine_fn_clean_rules
$ac_clean
7624 wine_fn_append_rule \
7625 "$ac_dir: programs/winetest/Makefile __builddeps__
7626 programs/winetest: $ac_dir
7627 check test: $ac_dir/test
7628 .PHONY: $ac_dir/test
7630 @cd $ac_dir && \$(MAKE) test
7632 \$(RM) $ac_dir/*.ok"
7634 if test -n "$CROSSTARGET"
7636 wine_fn_append_rule \
7637 "crosstest: $ac_dir/crosstest
7638 .PHONY: $ac_dir/crosstest
7639 $ac_dir/crosstest: $ac_dir/Makefile __builddeps__ dummy
7640 @cd $ac_dir && \$(MAKE) crosstest"
7644 wine_fn_config_tool
()
7648 if test "x$enable_tools" = xno
; then :
7653 wine_fn_install_rules
7656 wine_fn_append_rule
"__tooldeps__: $ac_dir"
7657 wine_fn_append_rule
"$ac_dir: libs/port"
7659 tools
/winebuild
) wine_fn_append_rule
"\$(WINEBUILD): $ac_dir" ;;
7663 wine_fn_config_symlink
()
7666 if test "x$1" = "x-d"
7672 wine_fn_append_rule \
7674 @./config.status \$@
7677 for f
in $ac_links; do wine_fn_ignore_file
$f; done
7678 test -n "$ac_linkdir" ||
return
7679 wine_fn_append_rule
"$ac_linkdir/Makefile $ac_linkdir/depend: $ac_links"
7683 test "x$enable_win64" != "xyes" || wine_binary
="wine64"
7684 loader_programs
="$wine_binary wine-installed"
7685 libwine_soversion
=`expr $libwine_version : '\([0-9]*\)\..*'`
7690 install install-lib:: wine-installed
7691 \$(INSTALL_PROGRAM) wine-installed \$(DESTDIR)\$(bindir)/$wine_binary
7694 \$(RM) \$(DESTDIR)\$(bindir)/$wine_binary
7700 if test -n "$ac_tool_prefix"; then
7701 # Extract the first word of "${ac_tool_prefix}dlltool", so it can be a program name with args.
7702 set dummy
${ac_tool_prefix}dlltool
; ac_word
=$2
7703 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7704 $as_echo_n "checking for $ac_word... " >&6; }
7705 if ${ac_cv_prog_DLLTOOL+:} false
; then :
7706 $as_echo_n "(cached) " >&6
7708 if test -n "$DLLTOOL"; then
7709 ac_cv_prog_DLLTOOL
="$DLLTOOL" # Let the user override the test.
7711 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7715 test -z "$as_dir" && as_dir
=.
7716 for ac_exec_ext
in '' $ac_executable_extensions; do
7717 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
7718 ac_cv_prog_DLLTOOL
="${ac_tool_prefix}dlltool"
7719 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7728 DLLTOOL
=$ac_cv_prog_DLLTOOL
7729 if test -n "$DLLTOOL"; then
7730 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DLLTOOL" >&5
7731 $as_echo "$DLLTOOL" >&6; }
7733 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7734 $as_echo "no" >&6; }
7739 if test -z "$ac_cv_prog_DLLTOOL"; then
7740 ac_ct_DLLTOOL
=$DLLTOOL
7741 # Extract the first word of "dlltool", so it can be a program name with args.
7742 set dummy dlltool
; ac_word
=$2
7743 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7744 $as_echo_n "checking for $ac_word... " >&6; }
7745 if ${ac_cv_prog_ac_ct_DLLTOOL+:} false
; then :
7746 $as_echo_n "(cached) " >&6
7748 if test -n "$ac_ct_DLLTOOL"; then
7749 ac_cv_prog_ac_ct_DLLTOOL
="$ac_ct_DLLTOOL" # Let the user override the test.
7751 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7755 test -z "$as_dir" && as_dir
=.
7756 for ac_exec_ext
in '' $ac_executable_extensions; do
7757 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
7758 ac_cv_prog_ac_ct_DLLTOOL
="dlltool"
7759 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7768 ac_ct_DLLTOOL
=$ac_cv_prog_ac_ct_DLLTOOL
7769 if test -n "$ac_ct_DLLTOOL"; then
7770 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DLLTOOL" >&5
7771 $as_echo "$ac_ct_DLLTOOL" >&6; }
7773 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7774 $as_echo "no" >&6; }
7777 if test "x$ac_ct_DLLTOOL" = x
; then
7780 case $cross_compiling:$ac_tool_warned in
7782 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7783 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7784 ac_tool_warned
=yes ;;
7786 DLLTOOL
=$ac_ct_DLLTOOL
7789 DLLTOOL
="$ac_cv_prog_DLLTOOL"
7795 STATIC_IMPLIBEXT
="a"
7796 enable_iphlpapi
=${enable_iphlpapi:-no}
7797 enable_kernel32
=${enable_kernel32:-no}
7798 enable_msvcrt
=${enable_msvcrt:-no}
7799 enable_ntdll
=${enable_ntdll:-no}
7800 enable_ws2_32
=${enable_ws2_32:-no}
7801 enable_loader
=${enable_loader:-no}
7802 enable_server
=${enable_server:-no}
7803 with_x
=${with_x:-no}
7804 with_pthread
=${with_pthread:-no}
7810 SOCKET_LIBS
="-L\$(top_builddir)/dlls/ws2_32 -lws2_32"
7814 libwine_targets
="libwine.dll libwine.a"
7816 OBJS = \$(C_SRCS:.c=.o) \$(EXTRA_OBJS)
7818 all: libwine.dll libwine.a
7820 libwine.a: \$(srcdir)/wine.def
7821 \$(DLLTOOL) -l \$@ -d \$(srcdir)/wine.def
7823 libwine.dll: \$(OBJS) \$(srcdir)/wine.def
7824 \$(CC) -shared \$(srcdir)/wine.def -o \$@ \$(OBJS) $crtlibs \$(EXTRALIBS)
7826 install install-lib:: libwine.dll
7827 \$(INSTALL_DATA) libwine.dll \$(DESTDIR)\$(libdir)/libwine.dll
7829 install install-dev:: libwine.a
7830 \$(INSTALL_DATA) libwine.a \$(DESTDIR)\$(libdir)/libwine.a
7833 -cd \$(DESTDIR)\$(libdir) && \$(RM) libwine.a libwine.dll
7840 DLLFLAGS
="$DLLFLAGS -fPIC"
7841 LIBWINE_LDFLAGS
="-multiply_defined suppress"
7842 LDRPATH_INSTALL
="-Wl,-rpath,@loader_path/\`\$(MAKEDEP) -R \$(bindir) \$(libdir)\`"
7843 LDRPATH_LOCAL
="-Wl,-rpath,@loader_path/\$(top_builddir)/libs/wine"
7844 COREFOUNDATION_LIBS
="-framework CoreFoundation"
7846 IOKIT_LIBS
="-framework IOKit -framework CoreFoundation"
7848 FORCEFEEDBACK_LIBS
="-framework ForceFeedback -framework CoreFoundation"
7850 APPLICATIONSERVICES_LIBS
="-framework ApplicationServices"
7852 CORESERVICES_LIBS
="-framework CoreServices"
7854 APPKIT_LIBS
="-framework AppKit"
7856 LDEXECFLAGS
="-image_base 0x7bf00000 -Wl,-segaddr,WINE_DOS,0x00001000,-segaddr,WINE_SHAREDHEAP,0x7f000000,-sectcreate,__TEXT,__info_plist,wine_info.plist"
7857 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,-no_pie" >&5
7858 $as_echo_n "checking whether the compiler supports -Wl,-no_pie... " >&6; }
7859 if ${ac_cv_cflags__Wl__no_pie+:} false
; then :
7860 $as_echo_n "(cached) " >&6
7862 ac_wine_try_cflags_saved
=$CFLAGS
7863 CFLAGS
="$CFLAGS -Wl,-no_pie"
7864 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
7865 /* end confdefs.h. */
7866 int main(int argc, char **argv) { return 0; }
7868 if ac_fn_c_try_link
"$LINENO"; then :
7869 ac_cv_cflags__Wl__no_pie
=yes
7871 ac_cv_cflags__Wl__no_pie
=no
7873 rm -f core conftest.err conftest.
$ac_objext \
7874 conftest
$ac_exeext conftest.
$ac_ext
7875 CFLAGS
=$ac_wine_try_cflags_saved
7877 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl__no_pie" >&5
7878 $as_echo "$ac_cv_cflags__Wl__no_pie" >&6; }
7879 if test "x$ac_cv_cflags__Wl__no_pie" = xyes
; then :
7880 LDEXECFLAGS
="-Wl,-no_pie $LDEXECFLAGS"
7882 if test "$ac_cv_header_DiskArbitration_DiskArbitration_h" = "yes"
7884 DISKARBITRATION_LIBS
="-framework DiskArbitration -framework CoreFoundation"
7887 if test "$ac_cv_header_Security_Security_h" = "yes"
7889 SECURITY_LIBS
="-framework Security -framework CoreFoundation"
7891 ac_save_LIBS
="$LIBS"
7892 LIBS
="$LIBS $SECURITY_LIBS"
7893 for ac_func
in SSLCopyPeerCertificates
7895 ac_fn_c_check_func
"$LINENO" "SSLCopyPeerCertificates" "ac_cv_func_SSLCopyPeerCertificates"
7896 if test "x$ac_cv_func_SSLCopyPeerCertificates" = xyes
; then :
7897 cat >>confdefs.h
<<_ACEOF
7898 #define HAVE_SSLCOPYPEERCERTIFICATES 1
7904 LIBS
="$ac_save_LIBS"
7905 with_gnutls
=${with_gnutls:-no}
7907 if test "$ac_cv_header_CoreAudio_CoreAudio_h" = "yes" -a "$ac_cv_header_AudioUnit_AudioUnit_h" = "yes"
7909 if test "$ac_cv_header_AudioUnit_AudioComponent_h" = "yes"
7911 COREAUDIO_LIBS
="-framework CoreFoundation -framework CoreAudio -framework AudioUnit -framework AudioToolbox -framework CoreMIDI"
7914 COREAUDIO_LIBS
="-framework CoreAudio -framework AudioUnit -framework CoreServices -framework AudioToolbox -framework CoreMIDI"
7917 ac_save_LIBS
="$LIBS"
7918 LIBS
="$LIBS $COREAUDIO_LIBS"
7919 for ac_func
in AUGraphAddNode
7921 ac_fn_c_check_func
"$LINENO" "AUGraphAddNode" "ac_cv_func_AUGraphAddNode"
7922 if test "x$ac_cv_func_AUGraphAddNode" = xyes
; then :
7923 cat >>confdefs.h
<<_ACEOF
7924 #define HAVE_AUGRAPHADDNODE 1
7930 LIBS
="$ac_save_LIBS"
7932 if test "$ac_cv_header_OpenAL_al_h" = "yes"
7934 OPENAL_LIBS
="-framework OpenAL"
7937 cat >>confdefs.h
<<_ACEOF
7938 #define HAVE_OPENAL 1
7941 ac_cv_lib_openal
=yes
7943 if test "$ac_cv_header_OpenCL_opencl_h" = "yes"
7945 OPENCL_LIBS
="-framework OpenCL"
7947 ac_cv_lib_OpenCL_clGetPlatformInfo
=yes
7949 if test "$ac_cv_header_IOKit_hid_IOHIDLib_h" = "yes"
7951 ac_save_LIBS
="$LIBS"
7952 LIBS
="$LIBS $IOKIT_LIBS"
7953 for ac_func
in IOHIDManagerCreate
7955 ac_fn_c_check_func
"$LINENO" "IOHIDManagerCreate" "ac_cv_func_IOHIDManagerCreate"
7956 if test "x$ac_cv_func_IOHIDManagerCreate" = xyes
; then :
7957 cat >>confdefs.h
<<_ACEOF
7958 #define HAVE_IOHIDMANAGERCREATE 1
7964 LIBS
="$ac_save_LIBS"
7966 if test "$ac_cv_header_QuickTime_ImageCompression_h" = "yes"
7968 ac_save_LIBS
="$LIBS"
7969 LIBS
="-framework QuickTime -framework ApplicationServices -framework CoreVideo $LIBS"
7970 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for the QuickTime framework" >&5
7971 $as_echo_n "checking for the QuickTime framework... " >&6; }
7972 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
7973 /* end confdefs.h. */
7974 #include <QuickTime/ImageCompression.h>
7978 CodecManagerVersion(NULL);
7983 if ac_fn_c_try_link
"$LINENO"; then :
7984 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
7985 $as_echo "yes" >&6; }
7986 QUICKTIME_LIBS
="-framework QuickTime -framework ApplicationServices -framework CoreVideo"
7988 enable_wineqtdecoder
=${enable_wineqtdecoder:-yes}
7990 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7991 $as_echo "no" >&6; }
7992 ac_cv_header_QuickTime_ImageCompression_h
=no
7994 rm -f core conftest.err conftest.
$ac_objext \
7995 conftest
$ac_exeext conftest.
$ac_ext
7996 LIBS
="$ac_save_LIBS"
7998 if test "$ac_cv_header_QuickTime_ImageCompression_h" != "yes"
8000 as_fn_append wine_notices
"|QuickTime ${notice_platform}development files not found, video decoding won't be supported."
8002 if test "$ac_cv_header_Carbon_Carbon_h" = "yes"
8004 CARBON_LIBS
="-framework Carbon"
8008 if test "$ac_cv_header_ApplicationServices_ApplicationServices_h" = "yes"
8010 ac_save_LIBS
="$LIBS"
8011 LIBS
="$LIBS $APPLICATIONSERVICES_LIBS"
8012 ac_fn_c_check_func
"$LINENO" "CGDisplayModeGetWidth" "ac_cv_func_CGDisplayModeGetWidth"
8013 if test "x$ac_cv_func_CGDisplayModeGetWidth" = xyes
; then :
8014 enable_winemac_drv
=${enable_winemac_drv:-yes}
8017 LIBS
="$ac_save_LIBS"
8020 if test "x$enable_win16" = "xyes"
8022 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether 16-bit code can be built correctly" >&5
8023 $as_echo_n "checking whether 16-bit code can be built correctly... " >&6; }
8024 if test "$cross_compiling" = yes; then :
8025 { $as_echo "$as_me:${as_lineno-$LINENO}: result: cross-compiling, assuming yes" >&5
8026 $as_echo "cross-compiling, assuming yes" >&6; }
8028 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8029 /* end confdefs.h. */
8032 "good:\tnop;nop\n\t"
8033 ".globl _testfunc\n"
8034 "_testfunc:\tcallw good");
8035 extern void testfunc();
8039 unsigned short *p = (unsigned short *)testfunc;
8040 return p[0] != 0xe866 || p[1] != 0xfffa
8045 if ac_fn_c_try_run
"$LINENO"; then :
8046 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
8047 $as_echo "yes" >&6; }
8049 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8050 $as_echo "no" >&6; }
8051 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
8053 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext \
8054 conftest.
$ac_objext conftest.beam conftest.
$ac_ext
8059 libwine_targets
="libwine.dylib libwine.$libwine_soversion.dylib libwine.$libwine_version.dylib"
8061 OBJS = \$(C_SRCS:.c=.o) \$(EXTRA_OBJS)
8065 libwine.$libwine_version.dylib: \$(OBJS)
8066 \$(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 \$@
8068 libwine.$libwine_soversion.dylib: libwine.$libwine_version.dylib
8069 \$(RM) \$@ && \$(LN_S) libwine.$libwine_version.dylib \$@
8071 libwine.dylib: libwine.$libwine_soversion.dylib
8072 \$(RM) \$@ && \$(LN_S) libwine.$libwine_soversion.dylib \$@
8074 install install-lib:: libwine.$libwine_version.dylib
8075 \$(INSTALL_PROGRAM) libwine.$libwine_version.dylib \$(DESTDIR)\$(libdir)/libwine.$libwine_version.dylib
8076 cd \$(DESTDIR)\$(libdir) && \$(RM) libwine.$libwine_soversion.dylib && \$(LN_S) libwine.$libwine_version.dylib libwine.$libwine_soversion.dylib
8078 install install-dev::
8079 cd \$(DESTDIR)\$(libdir) && \$(RM) libwine.dylib && \$(LN_S) libwine.$libwine_version.dylib libwine.dylib
8082 -cd \$(DESTDIR)\$(libdir) && \$(RM) libwine.dylib libwine.$libwine_soversion.dylib libwine.$libwine_version.dylib
8086 as_fn_append LOADER_RULES
"
8087 $wine_binary: main.o wine_info.plist
8088 \$(CC) -o \$@ $LDEXECFLAGS main.o \$(LIBWINE) \$(LIBPORT) \$(EXTRALIBS) \$(LDFLAGS) \$(LDRPATH_LOCAL)
8090 wine-installed: main.o wine_info.plist
8091 \$(CC) -o \$@ $LDEXECFLAGS main.o \$(LIBWINE) \$(LIBPORT) \$(EXTRALIBS) \$(LDFLAGS) \$(LDRPATH_INSTALL)
8096 DLLFLAGS
="$DLLFLAGS -fPIC"
8100 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -Wl,--export-dynamic" >&5
8101 $as_echo_n "checking whether the compiler supports -fPIC -Wl,--export-dynamic... " >&6; }
8102 if ${ac_cv_cflags__fPIC__Wl___export_dynamic+:} false
; then :
8103 $as_echo_n "(cached) " >&6
8105 ac_wine_try_cflags_saved
=$CFLAGS
8106 CFLAGS
="$CFLAGS -fPIC -Wl,--export-dynamic"
8107 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8108 /* end confdefs.h. */
8109 int main(int argc, char **argv) { return 0; }
8111 if ac_fn_c_try_link
"$LINENO"; then :
8112 ac_cv_cflags__fPIC__Wl___export_dynamic
=yes
8114 ac_cv_cflags__fPIC__Wl___export_dynamic
=no
8116 rm -f core conftest.err conftest.
$ac_objext \
8117 conftest
$ac_exeext conftest.
$ac_ext
8118 CFLAGS
=$ac_wine_try_cflags_saved
8120 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fPIC__Wl___export_dynamic" >&5
8121 $as_echo "$ac_cv_cflags__fPIC__Wl___export_dynamic" >&6; }
8122 if test "x$ac_cv_cflags__fPIC__Wl___export_dynamic" = xyes
; then :
8123 LDEXECFLAGS
="-Wl,--export-dynamic"
8125 as_ac_var
=`$as_echo "ac_cv_cflags_-fPIC -Wl,--rpath,\\$ORIGIN/../lib" | $as_tr_sh`
8126 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -Wl,--rpath,\$ORIGIN/../lib" >&5
8127 $as_echo_n "checking whether the compiler supports -fPIC -Wl,--rpath,\$ORIGIN/../lib... " >&6; }
8128 if eval \
${$as_ac_var+:} false
; then :
8129 $as_echo_n "(cached) " >&6
8131 ac_wine_try_cflags_saved
=$CFLAGS
8132 CFLAGS
="$CFLAGS -fPIC -Wl,--rpath,\$ORIGIN/../lib"
8133 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8134 /* end confdefs.h. */
8135 int main(int argc, char **argv) { return 0; }
8137 if ac_fn_c_try_link
"$LINENO"; then :
8138 eval "$as_ac_var=yes"
8140 eval "$as_ac_var=no"
8142 rm -f core conftest.err conftest.
$ac_objext \
8143 conftest
$ac_exeext conftest.
$ac_ext
8144 CFLAGS
=$ac_wine_try_cflags_saved
8146 eval ac_res
=\$
$as_ac_var
8147 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
8148 $as_echo "$ac_res" >&6; }
8149 if eval test \"x\$
"$as_ac_var"\" = x
"yes"; then :
8150 LDRPATH_INSTALL
="-Wl,--rpath,\\\$\$ORIGIN/\`\$(MAKEDEP) -R \$(bindir) \$(libdir)\`"
8151 LDRPATH_LOCAL
="-Wl,--rpath,\\\$\$ORIGIN/\$(top_builddir)/libs/wine"
8153 as_ac_var
=`$as_echo "ac_cv_cflags_-fPIC -Wl,-R,\\$ORIGIN/../lib" | $as_tr_sh`
8154 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -Wl,-R,\$ORIGIN/../lib" >&5
8155 $as_echo_n "checking whether the compiler supports -fPIC -Wl,-R,\$ORIGIN/../lib... " >&6; }
8156 if eval \
${$as_ac_var+:} false
; then :
8157 $as_echo_n "(cached) " >&6
8159 ac_wine_try_cflags_saved
=$CFLAGS
8160 CFLAGS
="$CFLAGS -fPIC -Wl,-R,\$ORIGIN/../lib"
8161 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8162 /* end confdefs.h. */
8163 int main(int argc, char **argv) { return 0; }
8165 if ac_fn_c_try_link
"$LINENO"; then :
8166 eval "$as_ac_var=yes"
8168 eval "$as_ac_var=no"
8170 rm -f core conftest.err conftest.
$ac_objext \
8171 conftest
$ac_exeext conftest.
$ac_ext
8172 CFLAGS
=$ac_wine_try_cflags_saved
8174 eval ac_res
=\$
$as_ac_var
8175 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
8176 $as_echo "$ac_res" >&6; }
8177 if eval test \"x\$
"$as_ac_var"\" = x
"yes"; then :
8178 LDRPATH_INSTALL
="-Wl,-R,\\\$\$ORIGIN/\`\$(MAKEDEP) -R \$(bindir) \$(libdir)\`"
8179 LDRPATH_LOCAL
="-Wl,-R,\\\$\$ORIGIN/\$(top_builddir)/libs/wine"
8183 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,--enable-new-dtags" >&5
8184 $as_echo_n "checking whether the compiler supports -Wl,--enable-new-dtags... " >&6; }
8185 if ${ac_cv_cflags__Wl___enable_new_dtags+:} false
; then :
8186 $as_echo_n "(cached) " >&6
8188 ac_wine_try_cflags_saved
=$CFLAGS
8189 CFLAGS
="$CFLAGS -Wl,--enable-new-dtags"
8190 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8191 /* end confdefs.h. */
8192 int main(int argc, char **argv) { return 0; }
8194 if ac_fn_c_try_link
"$LINENO"; then :
8195 ac_cv_cflags__Wl___enable_new_dtags
=yes
8197 ac_cv_cflags__Wl___enable_new_dtags
=no
8199 rm -f core conftest.err conftest.
$ac_objext \
8200 conftest
$ac_exeext conftest.
$ac_ext
8201 CFLAGS
=$ac_wine_try_cflags_saved
8203 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl___enable_new_dtags" >&5
8204 $as_echo "$ac_cv_cflags__Wl___enable_new_dtags" >&6; }
8205 if test "x$ac_cv_cflags__Wl___enable_new_dtags" = xyes
; then :
8206 LDRPATH_INSTALL
="$LDRPATH_INSTALL -Wl,--enable-new-dtags"
8210 *i
[3456789]86* | x86_64
)
8211 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,--section-start,.interp=0x7bf00400" >&5
8212 $as_echo_n "checking whether the compiler supports -Wl,--section-start,.interp=0x7bf00400... " >&6; }
8213 if ${ac_cv_cflags__Wl___section_start__interp_0x7bf00400+:} false
; then :
8214 $as_echo_n "(cached) " >&6
8216 ac_wine_try_cflags_saved
=$CFLAGS
8217 CFLAGS
="$CFLAGS -Wl,--section-start,.interp=0x7bf00400"
8218 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8219 /* end confdefs.h. */
8220 int main(int argc, char **argv) { return 0; }
8222 if ac_fn_c_try_link
"$LINENO"; then :
8223 ac_cv_cflags__Wl___section_start__interp_0x7bf00400
=yes
8225 ac_cv_cflags__Wl___section_start__interp_0x7bf00400
=no
8227 rm -f core conftest.err conftest.
$ac_objext \
8228 conftest
$ac_exeext conftest.
$ac_ext
8229 CFLAGS
=$ac_wine_try_cflags_saved
8231 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl___section_start__interp_0x7bf00400" >&5
8232 $as_echo "$ac_cv_cflags__Wl___section_start__interp_0x7bf00400" >&6; }
8233 if test "x$ac_cv_cflags__Wl___section_start__interp_0x7bf00400" = xyes
; then :
8234 LDEXECFLAGS
="$LDEXECFLAGS -Wl,--section-start,.interp=0x7bf00400"
8239 libwine_targets
="libwine.so"
8241 OBJS = \$(C_SRCS:.c=.o) \$(EXTRA_OBJS)
8245 libwine.so: \$(OBJS)
8246 \$(CC) -shared \$(OBJS) \$(EXTRALIBS) \$(LDFLAGS) \$(LIBS) -o \$@
8248 install install-lib:: libwine.so
8249 \$(INSTALL_PROGRAM) libwine.so \$(DESTDIR)\$(libdir)/libwine.so
8252 \$(RM) \$(DESTDIR)\$(libdir)/libwine.so
8256 as_fn_append LOADER_RULES
"
8257 $wine_binary: main.o
8258 \$(CC) -o \$@ $LDEXECFLAGS main.o \$(LIBWINE) \$(LIBPORT) \$(EXTRALIBS) \$(LDFLAGS) \$(LDRPATH_LOCAL)
8260 wine-installed: main.o
8261 \$(CC) -o \$@ $LDEXECFLAGS main.o \$(LIBWINE) \$(LIBPORT) \$(EXTRALIBS) \$(LDFLAGS) \$(LDRPATH_INSTALL)
8266 DLLFLAGS
="$DLLFLAGS -fPIC"
8268 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we can build a GNU style ELF dll" >&5
8269 $as_echo_n "checking whether we can build a GNU style ELF dll... " >&6; }
8270 if ${ac_cv_c_dll_gnuelf+:} false
; then :
8271 $as_echo_n "(cached) " >&6
8273 ac_wine_try_cflags_saved
=$CFLAGS
8274 CFLAGS
="$CFLAGS -fPIC -shared -Wl,-Bsymbolic"
8275 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8276 /* end confdefs.h. */
8279 if ac_fn_c_try_link
"$LINENO"; then :
8280 ac_cv_c_dll_gnuelf
="yes"
8282 ac_cv_c_dll_gnuelf
="no"
8284 rm -f core conftest.err conftest.
$ac_objext \
8285 conftest
$ac_exeext conftest.
$ac_ext
8286 CFLAGS
=$ac_wine_try_cflags_saved
8288 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_dll_gnuelf" >&5
8289 $as_echo "$ac_cv_c_dll_gnuelf" >&6; }
8290 if test "$ac_cv_c_dll_gnuelf" = "yes"
8292 LDSHARED
="\$(CC) -shared"
8293 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -shared -Wl,-soname,confest.so.1" >&5
8294 $as_echo_n "checking whether the compiler supports -fPIC -shared -Wl,-soname,confest.so.1... " >&6; }
8295 if ${ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1+:} false
; then :
8296 $as_echo_n "(cached) " >&6
8298 ac_wine_try_cflags_saved
=$CFLAGS
8299 CFLAGS
="$CFLAGS -fPIC -shared -Wl,-soname,confest.so.1"
8300 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8301 /* end confdefs.h. */
8302 int main(int argc, char **argv) { return 0; }
8304 if ac_fn_c_try_link
"$LINENO"; then :
8305 ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1
=yes
8307 ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1
=no
8309 rm -f core conftest.err conftest.
$ac_objext \
8310 conftest
$ac_exeext conftest.
$ac_ext
8311 CFLAGS
=$ac_wine_try_cflags_saved
8313 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1" >&5
8314 $as_echo "$ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1" >&6; }
8315 if test "x$ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1" = xyes
; then :
8316 LDSHARED
="\$(CC) -shared -Wl,-soname,libwine.so.$libwine_soversion"
8318 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -shared -Wl,-h,confest.so.1" >&5
8319 $as_echo_n "checking whether the compiler supports -fPIC -shared -Wl,-h,confest.so.1... " >&6; }
8320 if ${ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1+:} false
; then :
8321 $as_echo_n "(cached) " >&6
8323 ac_wine_try_cflags_saved
=$CFLAGS
8324 CFLAGS
="$CFLAGS -fPIC -shared -Wl,-h,confest.so.1"
8325 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8326 /* end confdefs.h. */
8327 int main(int argc, char **argv) { return 0; }
8329 if ac_fn_c_try_link
"$LINENO"; then :
8330 ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1
=yes
8332 ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1
=no
8334 rm -f core conftest.err conftest.
$ac_objext \
8335 conftest
$ac_exeext conftest.
$ac_ext
8336 CFLAGS
=$ac_wine_try_cflags_saved
8338 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1" >&5
8339 $as_echo "$ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1" >&6; }
8340 if test "x$ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1" = xyes
; then :
8341 LDSHARED
="\$(CC) -shared -Wl,-h,libwine.so.$libwine_soversion"
8345 echo '{ global: *; };' >conftest.map
8346 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -shared -Wl,--version-script=conftest.map" >&5
8347 $as_echo_n "checking whether the compiler supports -fPIC -shared -Wl,--version-script=conftest.map... " >&6; }
8348 if ${ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map+:} false
; then :
8349 $as_echo_n "(cached) " >&6
8351 ac_wine_try_cflags_saved
=$CFLAGS
8352 CFLAGS
="$CFLAGS -fPIC -shared -Wl,--version-script=conftest.map"
8353 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8354 /* end confdefs.h. */
8355 int main(int argc, char **argv) { return 0; }
8357 if ac_fn_c_try_link
"$LINENO"; then :
8358 ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map
=yes
8360 ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map
=no
8362 rm -f core conftest.err conftest.
$ac_objext \
8363 conftest
$ac_exeext conftest.
$ac_ext
8364 CFLAGS
=$ac_wine_try_cflags_saved
8366 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map" >&5
8367 $as_echo "$ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map" >&6; }
8368 if test "x$ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map" = xyes
; then :
8369 LDSHARED
="$LDSHARED -Wl,--version-script=\$(srcdir)/wine.map"
8373 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -Wl,--export-dynamic" >&5
8374 $as_echo_n "checking whether the compiler supports -fPIC -Wl,--export-dynamic... " >&6; }
8375 if ${ac_cv_cflags__fPIC__Wl___export_dynamic+:} false
; then :
8376 $as_echo_n "(cached) " >&6
8378 ac_wine_try_cflags_saved
=$CFLAGS
8379 CFLAGS
="$CFLAGS -fPIC -Wl,--export-dynamic"
8380 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8381 /* end confdefs.h. */
8382 int main(int argc, char **argv) { return 0; }
8384 if ac_fn_c_try_link
"$LINENO"; then :
8385 ac_cv_cflags__fPIC__Wl___export_dynamic
=yes
8387 ac_cv_cflags__fPIC__Wl___export_dynamic
=no
8389 rm -f core conftest.err conftest.
$ac_objext \
8390 conftest
$ac_exeext conftest.
$ac_ext
8391 CFLAGS
=$ac_wine_try_cflags_saved
8393 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fPIC__Wl___export_dynamic" >&5
8394 $as_echo "$ac_cv_cflags__fPIC__Wl___export_dynamic" >&6; }
8395 if test "x$ac_cv_cflags__fPIC__Wl___export_dynamic" = xyes
; then :
8396 LDEXECFLAGS
="-Wl,--export-dynamic"
8399 as_ac_var
=`$as_echo "ac_cv_cflags_-fPIC -Wl,--rpath,\\$ORIGIN/../lib" | $as_tr_sh`
8400 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -Wl,--rpath,\$ORIGIN/../lib" >&5
8401 $as_echo_n "checking whether the compiler supports -fPIC -Wl,--rpath,\$ORIGIN/../lib... " >&6; }
8402 if eval \
${$as_ac_var+:} false
; then :
8403 $as_echo_n "(cached) " >&6
8405 ac_wine_try_cflags_saved
=$CFLAGS
8406 CFLAGS
="$CFLAGS -fPIC -Wl,--rpath,\$ORIGIN/../lib"
8407 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8408 /* end confdefs.h. */
8409 int main(int argc, char **argv) { return 0; }
8411 if ac_fn_c_try_link
"$LINENO"; then :
8412 eval "$as_ac_var=yes"
8414 eval "$as_ac_var=no"
8416 rm -f core conftest.err conftest.
$ac_objext \
8417 conftest
$ac_exeext conftest.
$ac_ext
8418 CFLAGS
=$ac_wine_try_cflags_saved
8420 eval ac_res
=\$
$as_ac_var
8421 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
8422 $as_echo "$ac_res" >&6; }
8423 if eval test \"x\$
"$as_ac_var"\" = x
"yes"; then :
8424 LDRPATH_INSTALL
="-Wl,--rpath,\\\$\$ORIGIN/\`\$(MAKEDEP) -R \$(bindir) \$(libdir)\`"
8425 LDRPATH_LOCAL
="-Wl,--rpath,\\\$\$ORIGIN/\$(top_builddir)/libs/wine"
8427 as_ac_var
=`$as_echo "ac_cv_cflags_-fPIC -Wl,-R,\\$ORIGIN/../lib" | $as_tr_sh`
8428 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -Wl,-R,\$ORIGIN/../lib" >&5
8429 $as_echo_n "checking whether the compiler supports -fPIC -Wl,-R,\$ORIGIN/../lib... " >&6; }
8430 if eval \
${$as_ac_var+:} false
; then :
8431 $as_echo_n "(cached) " >&6
8433 ac_wine_try_cflags_saved
=$CFLAGS
8434 CFLAGS
="$CFLAGS -fPIC -Wl,-R,\$ORIGIN/../lib"
8435 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8436 /* end confdefs.h. */
8437 int main(int argc, char **argv) { return 0; }
8439 if ac_fn_c_try_link
"$LINENO"; then :
8440 eval "$as_ac_var=yes"
8442 eval "$as_ac_var=no"
8444 rm -f core conftest.err conftest.
$ac_objext \
8445 conftest
$ac_exeext conftest.
$ac_ext
8446 CFLAGS
=$ac_wine_try_cflags_saved
8448 eval ac_res
=\$
$as_ac_var
8449 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
8450 $as_echo "$ac_res" >&6; }
8451 if eval test \"x\$
"$as_ac_var"\" = x
"yes"; then :
8452 LDRPATH_INSTALL
="-Wl,-R,\\\$\$ORIGIN/\`\$(MAKEDEP) -R \$(bindir) \$(libdir)\`"
8453 LDRPATH_LOCAL
="-Wl,-R,\\\$\$ORIGIN/\$(top_builddir)/libs/wine"
8457 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,--enable-new-dtags" >&5
8458 $as_echo_n "checking whether the compiler supports -Wl,--enable-new-dtags... " >&6; }
8459 if ${ac_cv_cflags__Wl___enable_new_dtags+:} false
; then :
8460 $as_echo_n "(cached) " >&6
8462 ac_wine_try_cflags_saved
=$CFLAGS
8463 CFLAGS
="$CFLAGS -Wl,--enable-new-dtags"
8464 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8465 /* end confdefs.h. */
8466 int main(int argc, char **argv) { return 0; }
8468 if ac_fn_c_try_link
"$LINENO"; then :
8469 ac_cv_cflags__Wl___enable_new_dtags
=yes
8471 ac_cv_cflags__Wl___enable_new_dtags
=no
8473 rm -f core conftest.err conftest.
$ac_objext \
8474 conftest
$ac_exeext conftest.
$ac_ext
8475 CFLAGS
=$ac_wine_try_cflags_saved
8477 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl___enable_new_dtags" >&5
8478 $as_echo "$ac_cv_cflags__Wl___enable_new_dtags" >&6; }
8479 if test "x$ac_cv_cflags__Wl___enable_new_dtags" = xyes
; then :
8480 LDRPATH_INSTALL
="$LDRPATH_INSTALL -Wl,--enable-new-dtags"
8484 *i
[3456789]86* | x86_64
)
8485 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,--section-start,.interp=0x7bf00400" >&5
8486 $as_echo_n "checking whether the compiler supports -Wl,--section-start,.interp=0x7bf00400... " >&6; }
8487 if ${ac_cv_cflags__Wl___section_start__interp_0x7bf00400+:} false
; then :
8488 $as_echo_n "(cached) " >&6
8490 ac_wine_try_cflags_saved
=$CFLAGS
8491 CFLAGS
="$CFLAGS -Wl,--section-start,.interp=0x7bf00400"
8492 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8493 /* end confdefs.h. */
8494 int main(int argc, char **argv) { return 0; }
8496 if ac_fn_c_try_link
"$LINENO"; then :
8497 ac_cv_cflags__Wl___section_start__interp_0x7bf00400
=yes
8499 ac_cv_cflags__Wl___section_start__interp_0x7bf00400
=no
8501 rm -f core conftest.err conftest.
$ac_objext \
8502 conftest
$ac_exeext conftest.
$ac_ext
8503 CFLAGS
=$ac_wine_try_cflags_saved
8505 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl___section_start__interp_0x7bf00400" >&5
8506 $as_echo "$ac_cv_cflags__Wl___section_start__interp_0x7bf00400" >&6; }
8507 if test "x$ac_cv_cflags__Wl___section_start__interp_0x7bf00400" = xyes
; then :
8509 freebsd
* | kfreebsd
*-gnu) LDEXECFLAGS
="$LDEXECFLAGS -Wl,--section-start,.interp=0x60000400" ;;
8510 *) LDEXECFLAGS
="$LDEXECFLAGS -Wl,--section-start,.interp=0x7bf00400" ;;
8514 # Extract the first word of "prelink", so it can be a program name with args.
8515 set dummy prelink
; ac_word
=$2
8516 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8517 $as_echo_n "checking for $ac_word... " >&6; }
8518 if ${ac_cv_path_PRELINK+:} false
; then :
8519 $as_echo_n "(cached) " >&6
8523 ac_cv_path_PRELINK
="$PRELINK" # Let the user override the test with a path.
8526 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
8527 for as_dir
in /sbin
/usr
/sbin
$PATH
8530 test -z "$as_dir" && as_dir
=.
8531 for ac_exec_ext
in '' $ac_executable_extensions; do
8532 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
8533 ac_cv_path_PRELINK
="$as_dir/$ac_word$ac_exec_ext"
8534 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8541 test -z "$ac_cv_path_PRELINK" && ac_cv_path_PRELINK
="false"
8545 PRELINK
=$ac_cv_path_PRELINK
8546 if test -n "$PRELINK"; then
8547 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PRELINK" >&5
8548 $as_echo "$PRELINK" >&6; }
8550 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8551 $as_echo "no" >&6; }
8555 if test "x$PRELINK" = xfalse
8557 as_fn_append wine_warnings
"|prelink not found, base address of core dlls won't be set correctly."
8563 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we can build a UnixWare (Solaris) dll" >&5
8564 $as_echo_n "checking whether we can build a UnixWare (Solaris) dll... " >&6; }
8565 if ${ac_cv_c_dll_unixware+:} false
; then :
8566 $as_echo_n "(cached) " >&6
8568 ac_wine_try_cflags_saved
=$CFLAGS
8569 CFLAGS
="$CFLAGS -fPIC -Wl,-G,-h,conftest.so.1.0,-B,symbolic"
8570 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8571 /* end confdefs.h. */
8574 if ac_fn_c_try_link
"$LINENO"; then :
8575 ac_cv_c_dll_unixware
="yes"
8577 ac_cv_c_dll_unixware
="no"
8579 rm -f core conftest.err conftest.
$ac_objext \
8580 conftest
$ac_exeext conftest.
$ac_ext
8581 CFLAGS
=$ac_wine_try_cflags_saved
8583 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_dll_unixware" >&5
8584 $as_echo "$ac_cv_c_dll_unixware" >&6; }
8585 if test "$ac_cv_c_dll_unixware" = "yes"
8587 LDSHARED
="\$(CC) -Wl,-G,-h,libwine.so.$libwine_soversion"
8590 libwine_targets
="libwine.so libwine.so.$libwine_soversion libwine.so.$libwine_version"
8592 OBJS = \$(C_SRCS:.c=.o) \$(EXTRA_OBJS)
8596 libwine.so.$libwine_version: \$(OBJS) \$(srcdir)/wine.map
8597 $LDSHARED \$(OBJS) \$(EXTRALIBS) \$(LDFLAGS) \$(LIBS) -o \$@
8599 libwine.so.$libwine_soversion: libwine.so.$libwine_version
8600 \$(RM) \$@ && \$(LN_S) libwine.so.$libwine_version \$@
8602 libwine.so: libwine.so.$libwine_soversion
8603 \$(RM) \$@ && \$(LN_S) libwine.so.$libwine_soversion \$@
8605 install install-lib:: libwine.so.$libwine_version
8606 \$(INSTALL_PROGRAM) libwine.so.$libwine_version \$(DESTDIR)\$(libdir)/libwine.so.$libwine_version
8607 cd \$(DESTDIR)\$(libdir) && \$(RM) libwine.so.$libwine_soversion && \$(LN_S) libwine.so.$libwine_version libwine.so.$libwine_soversion
8609 install install-dev::
8610 cd \$(DESTDIR)\$(libdir) && \$(RM) libwine.so && \$(LN_S) libwine.so.$libwine_version libwine.so
8613 -cd \$(DESTDIR)\$(libdir) && \$(RM) libwine.so libwine.so.$libwine_soversion libwine.so.$libwine_version
8617 as_fn_append LOADER_RULES
"
8618 $wine_binary: main.o
8619 \$(CC) -o \$@ $LDEXECFLAGS main.o \$(LIBWINE) \$(LIBPORT) \$(EXTRALIBS) \$(LDFLAGS) \$(LDRPATH_LOCAL)
8621 wine-installed: main.o
8622 \$(CC) -o \$@ $LDEXECFLAGS main.o \$(LIBWINE) \$(LIBPORT) \$(EXTRALIBS) \$(LDFLAGS) \$(LDRPATH_INSTALL)
8627 as_fn_append LIBWINE_RULES
"
8628 EXTRA_TARGETS = $libwine_targets
8631 enable_wineqtdecoder
=${enable_wineqtdecoder:-no}
8632 enable_winemac_drv
=${enable_winemac_drv:-no}
8636 if test "$cross_compiling" = "no" -a "x$enable_tests" != xno
-a "$LIBEXT" != "dll"
8640 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
8643 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 " ;;
8645 ac_prefix_list
="" ;;
8647 for ac_prog
in $ac_prefix_list
8649 # Extract the first word of "$ac_prog", so it can be a program name with args.
8650 set dummy
$ac_prog; ac_word
=$2
8651 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8652 $as_echo_n "checking for $ac_word... " >&6; }
8653 if ${ac_cv_prog_CROSSCC+:} false
; then :
8654 $as_echo_n "(cached) " >&6
8656 if test -n "$CROSSCC"; then
8657 ac_cv_prog_CROSSCC
="$CROSSCC" # Let the user override the test.
8659 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
8663 test -z "$as_dir" && as_dir
=.
8664 for ac_exec_ext
in '' $ac_executable_extensions; do
8665 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
8666 ac_cv_prog_CROSSCC
="$ac_prog"
8667 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8676 CROSSCC
=$ac_cv_prog_CROSSCC
8677 if test -n "$CROSSCC"; then
8678 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CROSSCC" >&5
8679 $as_echo "$CROSSCC" >&6; }
8681 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8682 $as_echo "no" >&6; }
8686 test -n "$CROSSCC" && break
8688 test -n "$CROSSCC" || CROSSCC
="false"
8690 if test "$CROSSCC" != "false"
8694 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CROSSCC works" >&5
8695 $as_echo_n "checking whether $CROSSCC works... " >&6; }
8696 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8697 /* end confdefs.h. */
8707 if ac_fn_c_try_compile
"$LINENO"; then :
8708 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
8709 $as_echo "yes" >&6; }
8715 *-gcc) CROSSTARGET
=`expr "$1" : '\(.*\)-gcc'` ;;
8720 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8721 $as_echo "no" >&6; }
8723 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
8729 if test "$ac_cv_header_pthread_h" = "yes"
8731 ac_fn_c_check_func
"$LINENO" "pthread_create" "ac_cv_func_pthread_create"
8732 if test "x$ac_cv_func_pthread_create" = xyes
; then :
8735 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pthread_create in -lpthread" >&5
8736 $as_echo_n "checking for pthread_create in -lpthread... " >&6; }
8737 if ${ac_cv_lib_pthread_pthread_create+:} false
; then :
8738 $as_echo_n "(cached) " >&6
8740 ac_check_lib_save_LIBS
=$LIBS
8741 LIBS
="-lpthread $LIBS"
8742 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8743 /* end confdefs.h. */
8745 /* Override any GCC internal prototype to avoid an error.
8746 Use char because int might match the return type of a GCC
8747 builtin and then its argument prototype would still apply. */
8751 char pthread_create ();
8755 return pthread_create ();
8760 if ac_fn_c_try_link
"$LINENO"; then :
8761 ac_cv_lib_pthread_pthread_create
=yes
8763 ac_cv_lib_pthread_pthread_create
=no
8765 rm -f core conftest.err conftest.
$ac_objext \
8766 conftest
$ac_exeext conftest.
$ac_ext
8767 LIBS
=$ac_check_lib_save_LIBS
8769 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_pthread_pthread_create" >&5
8770 $as_echo "$ac_cv_lib_pthread_pthread_create" >&6; }
8771 if test "x$ac_cv_lib_pthread_pthread_create" = xyes
; then :
8772 PTHREAD_LIBS
="-lpthread"
8779 if test "x$ac_cv_func_pthread_create" != xyes
-a "x$PTHREAD_LIBS" = x
; then :
8780 case "x$with_pthread" in
8782 *) as_fn_error $?
"pthread ${notice_platform}development files not found.
8783 Wine cannot support threads without libpthread.
8784 Use the --without-pthread option if you really want this." "$LINENO" 5 ;;
8789 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for X" >&5
8790 $as_echo_n "checking for X... " >&6; }
8793 # Check whether --with-x was given.
8794 if test "${with_x+set}" = set; then :
8798 # $have_x is `yes', `no', `disabled', or empty when we do not yet know.
8799 if test "x$with_x" = xno
; then
8800 # The user explicitly disabled X.
8803 case $x_includes,$x_libraries in #(
8804 *\'*) as_fn_error $?
"cannot use X directory names containing '" "$LINENO" 5;; #(
8805 *,NONE | NONE
,*) if ${ac_cv_have_x+:} false
; then :
8806 $as_echo_n "(cached) " >&6
8808 # One or both of the vars are not set, and there is no cached value.
8809 ac_x_includes
=no ac_x_libraries
=no
8810 rm -f -r conftest.dir
8811 if mkdir conftest.dir
; then
8813 cat >Imakefile
<<'_ACEOF'
8815 @echo incroot='${INCROOT}'
8817 @echo usrlibdir='${USRLIBDIR}'
8819 @echo libdir='${LIBDIR}'
8821 if (export CC
; ${XMKMF-xmkmf}) >/dev
/null
2>/dev
/null
&& test -f Makefile
; then
8822 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
8823 for ac_var
in incroot usrlibdir libdir
; do
8824 eval "ac_im_$ac_var=\`\${MAKE-make} $ac_var 2>/dev/null | sed -n 's/^$ac_var=//p'\`"
8826 # Open Windows xmkmf reportedly sets LIBDIR instead of USRLIBDIR.
8827 for ac_extension
in a so sl dylib la dll
; do
8828 if test ! -f "$ac_im_usrlibdir/libX11.$ac_extension" &&
8829 test -f "$ac_im_libdir/libX11.$ac_extension"; then
8830 ac_im_usrlibdir
=$ac_im_libdir; break
8833 # Screen out bogus values from the imake configuration. They are
8834 # bogus both because they are the default anyway, and because
8835 # using them would break gcc on systems where it needs fixed includes.
8836 case $ac_im_incroot in
8837 /usr
/include
) ac_x_includes
= ;;
8838 *) test -f "$ac_im_incroot/X11/Xos.h" && ac_x_includes
=$ac_im_incroot;;
8840 case $ac_im_usrlibdir in
8841 /usr
/lib |
/usr
/lib64 |
/lib |
/lib64
) ;;
8842 *) test -d "$ac_im_usrlibdir" && ac_x_libraries
=$ac_im_usrlibdir ;;
8846 rm -f -r conftest.dir
8849 # Standard set of common directories for X headers.
8850 # Check X11 before X11Rn because it is often a symlink to the current release.
8864 /usr/local/X11/include
8865 /usr/local/X11R7/include
8866 /usr/local/X11R6/include
8867 /usr/local/X11R5/include
8868 /usr/local/X11R4/include
8870 /usr/local/include/X11
8871 /usr/local/include/X11R7
8872 /usr/local/include/X11R6
8873 /usr/local/include/X11R5
8874 /usr/local/include/X11R4
8878 /usr/XFree86/include/X11
8882 /usr/unsupported/include
8884 /usr/local/x11r5/include
8885 /usr/lpp/Xamples/include
8887 /usr/openwin/include
8888 /usr/openwin/share/include'
8890 if test "$ac_x_includes" = no
; then
8891 # Guess where to find include files, by looking for Xlib.h.
8892 # First, try using that file with no special directory specified.
8893 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8894 /* end confdefs.h. */
8895 #include <X11/Xlib.h>
8897 if ac_fn_c_try_cpp
"$LINENO"; then :
8898 # We can compile using X headers with no special include directory.
8901 for ac_dir
in $ac_x_header_dirs; do
8902 if test -r "$ac_dir/X11/Xlib.h"; then
8903 ac_x_includes
=$ac_dir
8908 rm -f conftest.err conftest.i conftest.
$ac_ext
8909 fi # $ac_x_includes = no
8911 if test "$ac_x_libraries" = no
; then
8912 # Check for the libraries.
8913 # See if we find them without any special options.
8914 # Don't add to $LIBS permanently.
8917 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8918 /* end confdefs.h. */
8919 #include <X11/Xlib.h>
8928 if ac_fn_c_try_link
"$LINENO"; then :
8930 # We can link X programs with no special library path.
8934 for ac_dir
in `$as_echo "$ac_x_includes $ac_x_header_dirs" | sed s/include/lib/g`
8936 # Don't even attempt the hair of trying to link an X program!
8937 for ac_extension
in a so sl dylib la dll
; do
8938 if test -r "$ac_dir/libX11.$ac_extension"; then
8939 ac_x_libraries
=$ac_dir
8945 rm -f core conftest.err conftest.
$ac_objext \
8946 conftest
$ac_exeext conftest.
$ac_ext
8947 fi # $ac_x_libraries = no
8949 case $ac_x_includes,$ac_x_libraries in #(
8951 # Didn't find X, or a directory has "'" in its name.
8952 ac_cv_have_x
="have_x=no";; #(
8954 # Record where we found X for the cache.
8955 ac_cv_have_x
="have_x=yes\
8956 ac_x_includes='$ac_x_includes'\
8957 ac_x_libraries='$ac_x_libraries'"
8963 eval "$ac_cv_have_x"
8966 if test "$have_x" != yes; then
8967 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $have_x" >&5
8968 $as_echo "$have_x" >&6; }
8971 # If each of the values was on the command line, it overrides each guess.
8972 test "x$x_includes" = xNONE
&& x_includes
=$ac_x_includes
8973 test "x$x_libraries" = xNONE
&& x_libraries
=$ac_x_libraries
8974 # Update the cache value to reflect the command line values.
8975 ac_cv_have_x
="have_x=yes\
8976 ac_x_includes='$x_includes'\
8977 ac_x_libraries='$x_libraries'"
8978 { $as_echo "$as_me:${as_lineno-$LINENO}: result: libraries $x_libraries, headers $x_includes" >&5
8979 $as_echo "libraries $x_libraries, headers $x_includes" >&6; }
8982 if test "$no_x" = yes; then
8983 # Not all programs may use this symbol, but it does not hurt to define it.
8985 $as_echo "#define X_DISPLAY_MISSING 1" >>confdefs.h
8987 X_CFLAGS
= X_PRE_LIBS
= X_LIBS
= X_EXTRA_LIBS
=
8989 if test -n "$x_includes"; then
8990 X_CFLAGS
="$X_CFLAGS -I$x_includes"
8993 # It would also be nice to do this for all -L options, not just this one.
8994 if test -n "$x_libraries"; then
8995 X_LIBS
="$X_LIBS -L$x_libraries"
8996 # For Solaris; some versions of Sun CC require a space after -R and
8997 # others require no space. Words are not sufficient . . . .
8998 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -R must be followed by a space" >&5
8999 $as_echo_n "checking whether -R must be followed by a space... " >&6; }
9000 ac_xsave_LIBS
=$LIBS; LIBS
="$LIBS -R$x_libraries"
9001 ac_xsave_c_werror_flag
=$ac_c_werror_flag
9002 ac_c_werror_flag
=yes
9003 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9004 /* end confdefs.h. */
9014 if ac_fn_c_try_link
"$LINENO"; then :
9015 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9016 $as_echo "no" >&6; }
9017 X_LIBS
="$X_LIBS -R$x_libraries"
9019 LIBS
="$ac_xsave_LIBS -R $x_libraries"
9020 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9021 /* end confdefs.h. */
9031 if ac_fn_c_try_link
"$LINENO"; then :
9032 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
9033 $as_echo "yes" >&6; }
9034 X_LIBS
="$X_LIBS -R $x_libraries"
9036 { $as_echo "$as_me:${as_lineno-$LINENO}: result: neither works" >&5
9037 $as_echo "neither works" >&6; }
9039 rm -f core conftest.err conftest.
$ac_objext \
9040 conftest
$ac_exeext conftest.
$ac_ext
9042 rm -f core conftest.err conftest.
$ac_objext \
9043 conftest
$ac_exeext conftest.
$ac_ext
9044 ac_c_werror_flag
=$ac_xsave_c_werror_flag
9048 # Check for system-dependent libraries X programs must link with.
9049 # Do this before checking for the system-independent R6 libraries
9050 # (-lICE), since we may need -lsocket or whatever for X linking.
9052 if test "$ISC" = yes; then
9053 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lnsl_s -linet"
9055 # Martyn Johnson says this is needed for Ultrix, if the X
9056 # libraries were built with DECnet support. And Karl Berry says
9057 # the Alpha needs dnet_stub (dnet does not exist).
9058 ac_xsave_LIBS
="$LIBS"; LIBS
="$LIBS $X_LIBS -lX11"
9059 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9060 /* end confdefs.h. */
9062 /* Override any GCC internal prototype to avoid an error.
9063 Use char because int might match the return type of a GCC
9064 builtin and then its argument prototype would still apply. */
9068 char XOpenDisplay ();
9072 return XOpenDisplay ();
9077 if ac_fn_c_try_link
"$LINENO"; then :
9080 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dnet_ntoa in -ldnet" >&5
9081 $as_echo_n "checking for dnet_ntoa in -ldnet... " >&6; }
9082 if ${ac_cv_lib_dnet_dnet_ntoa+:} false
; then :
9083 $as_echo_n "(cached) " >&6
9085 ac_check_lib_save_LIBS
=$LIBS
9087 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9088 /* end confdefs.h. */
9090 /* Override any GCC internal prototype to avoid an error.
9091 Use char because int might match the return type of a GCC
9092 builtin and then its argument prototype would still apply. */
9100 return dnet_ntoa ();
9105 if ac_fn_c_try_link
"$LINENO"; then :
9106 ac_cv_lib_dnet_dnet_ntoa
=yes
9108 ac_cv_lib_dnet_dnet_ntoa
=no
9110 rm -f core conftest.err conftest.
$ac_objext \
9111 conftest
$ac_exeext conftest.
$ac_ext
9112 LIBS
=$ac_check_lib_save_LIBS
9114 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dnet_dnet_ntoa" >&5
9115 $as_echo "$ac_cv_lib_dnet_dnet_ntoa" >&6; }
9116 if test "x$ac_cv_lib_dnet_dnet_ntoa" = xyes
; then :
9117 X_EXTRA_LIBS
="$X_EXTRA_LIBS -ldnet"
9120 if test $ac_cv_lib_dnet_dnet_ntoa = no
; then
9121 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dnet_ntoa in -ldnet_stub" >&5
9122 $as_echo_n "checking for dnet_ntoa in -ldnet_stub... " >&6; }
9123 if ${ac_cv_lib_dnet_stub_dnet_ntoa+:} false
; then :
9124 $as_echo_n "(cached) " >&6
9126 ac_check_lib_save_LIBS
=$LIBS
9127 LIBS
="-ldnet_stub $LIBS"
9128 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9129 /* end confdefs.h. */
9131 /* Override any GCC internal prototype to avoid an error.
9132 Use char because int might match the return type of a GCC
9133 builtin and then its argument prototype would still apply. */
9141 return dnet_ntoa ();
9146 if ac_fn_c_try_link
"$LINENO"; then :
9147 ac_cv_lib_dnet_stub_dnet_ntoa
=yes
9149 ac_cv_lib_dnet_stub_dnet_ntoa
=no
9151 rm -f core conftest.err conftest.
$ac_objext \
9152 conftest
$ac_exeext conftest.
$ac_ext
9153 LIBS
=$ac_check_lib_save_LIBS
9155 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dnet_stub_dnet_ntoa" >&5
9156 $as_echo "$ac_cv_lib_dnet_stub_dnet_ntoa" >&6; }
9157 if test "x$ac_cv_lib_dnet_stub_dnet_ntoa" = xyes
; then :
9158 X_EXTRA_LIBS
="$X_EXTRA_LIBS -ldnet_stub"
9163 rm -f core conftest.err conftest.
$ac_objext \
9164 conftest
$ac_exeext conftest.
$ac_ext
9165 LIBS
="$ac_xsave_LIBS"
9167 # msh@cis.ufl.edu says -lnsl (and -lsocket) are needed for his 386/AT,
9168 # to get the SysV transport functions.
9169 # Chad R. Larson says the Pyramis MIS-ES running DC/OSx (SVR4)
9171 # The nsl library prevents programs from opening the X display
9172 # on Irix 5.2, according to T.E. Dickey.
9173 # The functions gethostbyname, getservbyname, and inet_addr are
9174 # in -lbsd on LynxOS 3.0.1/i386, according to Lars Hecking.
9175 ac_fn_c_check_func
"$LINENO" "gethostbyname" "ac_cv_func_gethostbyname"
9176 if test "x$ac_cv_func_gethostbyname" = xyes
; then :
9180 if test $ac_cv_func_gethostbyname = no
; then
9181 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gethostbyname in -lnsl" >&5
9182 $as_echo_n "checking for gethostbyname in -lnsl... " >&6; }
9183 if ${ac_cv_lib_nsl_gethostbyname+:} false
; then :
9184 $as_echo_n "(cached) " >&6
9186 ac_check_lib_save_LIBS
=$LIBS
9188 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9189 /* end confdefs.h. */
9191 /* Override any GCC internal prototype to avoid an error.
9192 Use char because int might match the return type of a GCC
9193 builtin and then its argument prototype would still apply. */
9197 char gethostbyname ();
9201 return gethostbyname ();
9206 if ac_fn_c_try_link
"$LINENO"; then :
9207 ac_cv_lib_nsl_gethostbyname
=yes
9209 ac_cv_lib_nsl_gethostbyname
=no
9211 rm -f core conftest.err conftest.
$ac_objext \
9212 conftest
$ac_exeext conftest.
$ac_ext
9213 LIBS
=$ac_check_lib_save_LIBS
9215 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_nsl_gethostbyname" >&5
9216 $as_echo "$ac_cv_lib_nsl_gethostbyname" >&6; }
9217 if test "x$ac_cv_lib_nsl_gethostbyname" = xyes
; then :
9218 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lnsl"
9221 if test $ac_cv_lib_nsl_gethostbyname = no
; then
9222 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gethostbyname in -lbsd" >&5
9223 $as_echo_n "checking for gethostbyname in -lbsd... " >&6; }
9224 if ${ac_cv_lib_bsd_gethostbyname+:} false
; then :
9225 $as_echo_n "(cached) " >&6
9227 ac_check_lib_save_LIBS
=$LIBS
9229 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9230 /* end confdefs.h. */
9232 /* Override any GCC internal prototype to avoid an error.
9233 Use char because int might match the return type of a GCC
9234 builtin and then its argument prototype would still apply. */
9238 char gethostbyname ();
9242 return gethostbyname ();
9247 if ac_fn_c_try_link
"$LINENO"; then :
9248 ac_cv_lib_bsd_gethostbyname
=yes
9250 ac_cv_lib_bsd_gethostbyname
=no
9252 rm -f core conftest.err conftest.
$ac_objext \
9253 conftest
$ac_exeext conftest.
$ac_ext
9254 LIBS
=$ac_check_lib_save_LIBS
9256 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_bsd_gethostbyname" >&5
9257 $as_echo "$ac_cv_lib_bsd_gethostbyname" >&6; }
9258 if test "x$ac_cv_lib_bsd_gethostbyname" = xyes
; then :
9259 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lbsd"
9265 # lieder@skyler.mavd.honeywell.com says without -lsocket,
9266 # socket/setsockopt and other routines are undefined under SCO ODT
9267 # 2.0. But -lsocket is broken on IRIX 5.2 (and is not necessary
9268 # on later versions), says Simon Leinen: it contains gethostby*
9269 # variants that don't use the name server (or something). -lsocket
9270 # must be given before -lnsl if both are needed. We assume that
9271 # if connect needs -lnsl, so does gethostbyname.
9272 ac_fn_c_check_func
"$LINENO" "connect" "ac_cv_func_connect"
9273 if test "x$ac_cv_func_connect" = xyes
; then :
9277 if test $ac_cv_func_connect = no
; then
9278 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for connect in -lsocket" >&5
9279 $as_echo_n "checking for connect in -lsocket... " >&6; }
9280 if ${ac_cv_lib_socket_connect+:} false
; then :
9281 $as_echo_n "(cached) " >&6
9283 ac_check_lib_save_LIBS
=$LIBS
9284 LIBS
="-lsocket $X_EXTRA_LIBS $LIBS"
9285 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9286 /* end confdefs.h. */
9288 /* Override any GCC internal prototype to avoid an error.
9289 Use char because int might match the return type of a GCC
9290 builtin and then its argument prototype would still apply. */
9303 if ac_fn_c_try_link
"$LINENO"; then :
9304 ac_cv_lib_socket_connect
=yes
9306 ac_cv_lib_socket_connect
=no
9308 rm -f core conftest.err conftest.
$ac_objext \
9309 conftest
$ac_exeext conftest.
$ac_ext
9310 LIBS
=$ac_check_lib_save_LIBS
9312 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_socket_connect" >&5
9313 $as_echo "$ac_cv_lib_socket_connect" >&6; }
9314 if test "x$ac_cv_lib_socket_connect" = xyes
; then :
9315 X_EXTRA_LIBS
="-lsocket $X_EXTRA_LIBS"
9320 # Guillermo Gomez says -lposix is necessary on A/UX.
9321 ac_fn_c_check_func
"$LINENO" "remove" "ac_cv_func_remove"
9322 if test "x$ac_cv_func_remove" = xyes
; then :
9326 if test $ac_cv_func_remove = no
; then
9327 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for remove in -lposix" >&5
9328 $as_echo_n "checking for remove in -lposix... " >&6; }
9329 if ${ac_cv_lib_posix_remove+:} false
; then :
9330 $as_echo_n "(cached) " >&6
9332 ac_check_lib_save_LIBS
=$LIBS
9333 LIBS
="-lposix $LIBS"
9334 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9335 /* end confdefs.h. */
9337 /* Override any GCC internal prototype to avoid an error.
9338 Use char because int might match the return type of a GCC
9339 builtin and then its argument prototype would still apply. */
9352 if ac_fn_c_try_link
"$LINENO"; then :
9353 ac_cv_lib_posix_remove
=yes
9355 ac_cv_lib_posix_remove
=no
9357 rm -f core conftest.err conftest.
$ac_objext \
9358 conftest
$ac_exeext conftest.
$ac_ext
9359 LIBS
=$ac_check_lib_save_LIBS
9361 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_posix_remove" >&5
9362 $as_echo "$ac_cv_lib_posix_remove" >&6; }
9363 if test "x$ac_cv_lib_posix_remove" = xyes
; then :
9364 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lposix"
9369 # BSDI BSD/OS 2.1 needs -lipc for XOpenDisplay.
9370 ac_fn_c_check_func
"$LINENO" "shmat" "ac_cv_func_shmat"
9371 if test "x$ac_cv_func_shmat" = xyes
; then :
9375 if test $ac_cv_func_shmat = no
; then
9376 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shmat in -lipc" >&5
9377 $as_echo_n "checking for shmat in -lipc... " >&6; }
9378 if ${ac_cv_lib_ipc_shmat+:} false
; then :
9379 $as_echo_n "(cached) " >&6
9381 ac_check_lib_save_LIBS
=$LIBS
9383 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9384 /* end confdefs.h. */
9386 /* Override any GCC internal prototype to avoid an error.
9387 Use char because int might match the return type of a GCC
9388 builtin and then its argument prototype would still apply. */
9401 if ac_fn_c_try_link
"$LINENO"; then :
9402 ac_cv_lib_ipc_shmat
=yes
9404 ac_cv_lib_ipc_shmat
=no
9406 rm -f core conftest.err conftest.
$ac_objext \
9407 conftest
$ac_exeext conftest.
$ac_ext
9408 LIBS
=$ac_check_lib_save_LIBS
9410 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ipc_shmat" >&5
9411 $as_echo "$ac_cv_lib_ipc_shmat" >&6; }
9412 if test "x$ac_cv_lib_ipc_shmat" = xyes
; then :
9413 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lipc"
9419 # Check for libraries that X11R6 Xt/Xaw programs need.
9420 ac_save_LDFLAGS
=$LDFLAGS
9421 test -n "$x_libraries" && LDFLAGS
="$LDFLAGS -L$x_libraries"
9422 # SM needs ICE to (dynamically) link under SunOS 4.x (so we have to
9423 # check for ICE first), but we must link in the order -lSM -lICE or
9424 # we get undefined symbols. So assume we have SM if we have ICE.
9425 # These have to be linked with before -lX11, unlike the other
9426 # libraries we check for below, so use a different variable.
9427 # John Interrante, Karl Berry
9428 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for IceConnectionNumber in -lICE" >&5
9429 $as_echo_n "checking for IceConnectionNumber in -lICE... " >&6; }
9430 if ${ac_cv_lib_ICE_IceConnectionNumber+:} false
; then :
9431 $as_echo_n "(cached) " >&6
9433 ac_check_lib_save_LIBS
=$LIBS
9434 LIBS
="-lICE $X_EXTRA_LIBS $LIBS"
9435 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9436 /* end confdefs.h. */
9438 /* Override any GCC internal prototype to avoid an error.
9439 Use char because int might match the return type of a GCC
9440 builtin and then its argument prototype would still apply. */
9444 char IceConnectionNumber ();
9448 return IceConnectionNumber ();
9453 if ac_fn_c_try_link
"$LINENO"; then :
9454 ac_cv_lib_ICE_IceConnectionNumber
=yes
9456 ac_cv_lib_ICE_IceConnectionNumber
=no
9458 rm -f core conftest.err conftest.
$ac_objext \
9459 conftest
$ac_exeext conftest.
$ac_ext
9460 LIBS
=$ac_check_lib_save_LIBS
9462 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ICE_IceConnectionNumber" >&5
9463 $as_echo "$ac_cv_lib_ICE_IceConnectionNumber" >&6; }
9464 if test "x$ac_cv_lib_ICE_IceConnectionNumber" = xyes
; then :
9465 X_PRE_LIBS
="$X_PRE_LIBS -lSM -lICE"
9468 LDFLAGS
=$ac_save_LDFLAGS
9473 if test "$have_x" = "yes"
9475 ac_save_CPPFLAGS
="$CPPFLAGS"
9476 CPPFLAGS
="$CPPFLAGS $X_CFLAGS"
9478 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lX11" >&5
9479 $as_echo_n "checking for -lX11... " >&6; }
9480 if ${ac_cv_lib_soname_X11+:} false
; then :
9481 $as_echo_n "(cached) " >&6
9483 ac_check_soname_save_LIBS
=$LIBS
9484 LIBS
="-lX11 $X_LIBS $X_EXTRA_LIBS $LIBS"
9485 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9486 /* end confdefs.h. */
9488 /* Override any GCC internal prototype to avoid an error.
9489 Use char because int might match the return type of a GCC
9490 builtin and then its argument prototype would still apply. */
9494 char XCreateWindow ();
9498 return XCreateWindow ();
9503 if ac_fn_c_try_link
"$LINENO"; then :
9505 dll
) ac_cv_lib_soname_X11
=`$ac_cv_path_LDD conftest.exe | grep "X11" | sed -e "s/dll.*/dll/"';2,$d'` ;;
9506 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'` ;;
9507 *) ac_cv_lib_soname_X11
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libX11\\.$LIBEXT" | sed -e "s/^.*\\[\\(libX11\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
9508 if ${ac_cv_lib_soname_X11:+false} :; then :
9509 ac_cv_lib_soname_X11
=`$LDD conftest$ac_exeext | grep "libX11\\.$LIBEXT" | sed -e "s/^.*\(libX11\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
9513 rm -f core conftest.err conftest.
$ac_objext \
9514 conftest
$ac_exeext conftest.
$ac_ext
9515 LIBS
=$ac_check_soname_save_LIBS
9517 if ${ac_cv_lib_soname_X11:+false} :; then :
9518 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
9519 $as_echo "not found" >&6; }
9522 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_X11" >&5
9523 $as_echo "$ac_cv_lib_soname_X11" >&6; }
9525 cat >>confdefs.h
<<_ACEOF
9526 #define SONAME_LIBX11 "$ac_cv_lib_soname_X11"
9531 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXext" >&5
9532 $as_echo_n "checking for -lXext... " >&6; }
9533 if ${ac_cv_lib_soname_Xext+:} false
; then :
9534 $as_echo_n "(cached) " >&6
9536 ac_check_soname_save_LIBS
=$LIBS
9537 LIBS
="-lXext $X_LIBS -lX11 $X_EXTRA_LIBS $LIBS"
9538 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9539 /* end confdefs.h. */
9541 /* Override any GCC internal prototype to avoid an error.
9542 Use char because int might match the return type of a GCC
9543 builtin and then its argument prototype would still apply. */
9547 char XextCreateExtension ();
9551 return XextCreateExtension ();
9556 if ac_fn_c_try_link
"$LINENO"; then :
9558 dll
) ac_cv_lib_soname_Xext
=`$ac_cv_path_LDD conftest.exe | grep "Xext" | sed -e "s/dll.*/dll/"';2,$d'` ;;
9559 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'` ;;
9560 *) ac_cv_lib_soname_Xext
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXext\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXext\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
9561 if ${ac_cv_lib_soname_Xext:+false} :; then :
9562 ac_cv_lib_soname_Xext
=`$LDD conftest$ac_exeext | grep "libXext\\.$LIBEXT" | sed -e "s/^.*\(libXext\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
9566 rm -f core conftest.err conftest.
$ac_objext \
9567 conftest
$ac_exeext conftest.
$ac_ext
9568 LIBS
=$ac_check_soname_save_LIBS
9570 if ${ac_cv_lib_soname_Xext:+false} :; then :
9571 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
9572 $as_echo "not found" >&6; }
9575 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xext" >&5
9576 $as_echo "$ac_cv_lib_soname_Xext" >&6; }
9578 cat >>confdefs.h
<<_ACEOF
9579 #define SONAME_LIBXEXT "$ac_cv_lib_soname_Xext"
9582 X_LIBS
="$X_LIBS -lXext"
9584 X_LIBS
="$X_LIBS -lX11"
9586 for ac_header
in X11
/Xlib.h \
9589 X11
/Xcursor
/Xcursor.h \
9590 X11
/extensions
/shape.h \
9591 X11
/extensions
/XInput.h \
9592 X11
/extensions
/XInput2.h \
9593 X11
/extensions
/XShm.h \
9594 X11
/extensions
/Xcomposite.h \
9595 X11
/extensions
/Xinerama.h \
9596 X11
/extensions
/Xrandr.h \
9597 X11
/extensions
/Xrender.h \
9598 X11
/extensions
/xf86vmode.h \
9599 X11
/extensions
/xf86vmproto.h
9601 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
9602 ac_fn_c_check_header_compile
"$LINENO" "$ac_header" "$as_ac_Header" "#ifdef HAVE_X11_XLIB_H
9603 # include <X11/Xlib.h>
9605 #ifdef HAVE_X11_XUTIL_H
9606 # include <X11/Xutil.h>
9609 if eval test \"x\$
"$as_ac_Header"\" = x
"yes"; then :
9610 cat >>confdefs.h
<<_ACEOF
9611 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
9619 if test "$ac_cv_header_X11_XKBlib_h" = "yes"
9621 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XkbQueryExtension in -lX11" >&5
9622 $as_echo_n "checking for XkbQueryExtension in -lX11... " >&6; }
9623 if ${ac_cv_lib_X11_XkbQueryExtension+:} false
; then :
9624 $as_echo_n "(cached) " >&6
9626 ac_check_lib_save_LIBS
=$LIBS
9627 LIBS
="-lX11 $X_LIBS $X_EXTRA_LIBS $LIBS"
9628 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9629 /* end confdefs.h. */
9631 /* Override any GCC internal prototype to avoid an error.
9632 Use char because int might match the return type of a GCC
9633 builtin and then its argument prototype would still apply. */
9637 char XkbQueryExtension ();
9641 return XkbQueryExtension ();
9646 if ac_fn_c_try_link
"$LINENO"; then :
9647 ac_cv_lib_X11_XkbQueryExtension
=yes
9649 ac_cv_lib_X11_XkbQueryExtension
=no
9651 rm -f core conftest.err conftest.
$ac_objext \
9652 conftest
$ac_exeext conftest.
$ac_ext
9653 LIBS
=$ac_check_lib_save_LIBS
9655 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_X11_XkbQueryExtension" >&5
9656 $as_echo "$ac_cv_lib_X11_XkbQueryExtension" >&6; }
9657 if test "x$ac_cv_lib_X11_XkbQueryExtension" = xyes
; then :
9659 $as_echo "#define HAVE_XKB 1" >>confdefs.h
9665 if test "$ac_cv_header_X11_Xcursor_Xcursor_h" = "yes"
9667 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXcursor" >&5
9668 $as_echo_n "checking for -lXcursor... " >&6; }
9669 if ${ac_cv_lib_soname_Xcursor+:} false
; then :
9670 $as_echo_n "(cached) " >&6
9672 ac_check_soname_save_LIBS
=$LIBS
9673 LIBS
="-lXcursor $X_LIBS $X_EXTRA_LIBS $LIBS"
9674 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9675 /* end confdefs.h. */
9677 /* Override any GCC internal prototype to avoid an error.
9678 Use char because int might match the return type of a GCC
9679 builtin and then its argument prototype would still apply. */
9683 char XcursorImageLoadCursor ();
9687 return XcursorImageLoadCursor ();
9692 if ac_fn_c_try_link
"$LINENO"; then :
9694 dll
) ac_cv_lib_soname_Xcursor
=`$ac_cv_path_LDD conftest.exe | grep "Xcursor" | sed -e "s/dll.*/dll/"';2,$d'` ;;
9695 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'` ;;
9696 *) ac_cv_lib_soname_Xcursor
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXcursor\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXcursor\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
9697 if ${ac_cv_lib_soname_Xcursor:+false} :; then :
9698 ac_cv_lib_soname_Xcursor
=`$LDD conftest$ac_exeext | grep "libXcursor\\.$LIBEXT" | sed -e "s/^.*\(libXcursor\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
9702 rm -f core conftest.err conftest.
$ac_objext \
9703 conftest
$ac_exeext conftest.
$ac_ext
9704 LIBS
=$ac_check_soname_save_LIBS
9706 if ${ac_cv_lib_soname_Xcursor:+false} :; then :
9707 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
9708 $as_echo "not found" >&6; }
9711 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xcursor" >&5
9712 $as_echo "$ac_cv_lib_soname_Xcursor" >&6; }
9714 cat >>confdefs.h
<<_ACEOF
9715 #define SONAME_LIBXCURSOR "$ac_cv_lib_soname_Xcursor"
9721 if test "x$ac_cv_lib_soname_Xcursor" = "x"; then :
9722 case "x$with_xcursor" in
9723 x
) as_fn_append wine_notices
"|libxcursor ${notice_platform}development files not found, the Xcursor extension won't be supported." ;;
9725 *) as_fn_error $?
"libxcursor ${notice_platform}development files not found, the Xcursor extension won't be supported.
9726 This is an error since --with-xcursor was requested." "$LINENO" 5 ;;
9730 if test "$ac_cv_header_X11_extensions_XInput_h" = "yes"
9732 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXi" >&5
9733 $as_echo_n "checking for -lXi... " >&6; }
9734 if ${ac_cv_lib_soname_Xi+:} false
; then :
9735 $as_echo_n "(cached) " >&6
9737 ac_check_soname_save_LIBS
=$LIBS
9738 LIBS
="-lXi $X_LIBS $X_EXTRA_LIBS $LIBS"
9739 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9740 /* end confdefs.h. */
9742 /* Override any GCC internal prototype to avoid an error.
9743 Use char because int might match the return type of a GCC
9744 builtin and then its argument prototype would still apply. */
9748 char XOpenDevice ();
9752 return XOpenDevice ();
9757 if ac_fn_c_try_link
"$LINENO"; then :
9759 dll
) ac_cv_lib_soname_Xi
=`$ac_cv_path_LDD conftest.exe | grep "Xi" | sed -e "s/dll.*/dll/"';2,$d'` ;;
9760 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'` ;;
9761 *) ac_cv_lib_soname_Xi
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXi\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXi\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
9762 if ${ac_cv_lib_soname_Xi:+false} :; then :
9763 ac_cv_lib_soname_Xi
=`$LDD conftest$ac_exeext | grep "libXi\\.$LIBEXT" | sed -e "s/^.*\(libXi\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
9767 rm -f core conftest.err conftest.
$ac_objext \
9768 conftest
$ac_exeext conftest.
$ac_ext
9769 LIBS
=$ac_check_soname_save_LIBS
9771 if ${ac_cv_lib_soname_Xi:+false} :; then :
9772 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
9773 $as_echo "not found" >&6; }
9776 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xi" >&5
9777 $as_echo "$ac_cv_lib_soname_Xi" >&6; }
9779 cat >>confdefs.h
<<_ACEOF
9780 #define SONAME_LIBXI "$ac_cv_lib_soname_Xi"
9786 if test "x$ac_cv_lib_soname_Xi" = "x"; then :
9787 case "x$with_xinput" in
9788 x
) as_fn_append wine_notices
"|libxi ${notice_platform}development files not found, the Xinput extension won't be supported." ;;
9790 *) as_fn_error $?
"libxi ${notice_platform}development files not found, the Xinput extension won't be supported.
9791 This is an error since --with-xinput was requested." "$LINENO" 5 ;;
9795 if test "x$ac_cv_lib_soname_Xi" != x
9797 if test "$ac_cv_header_X11_extensions_XInput2_h" != "yes"; then :
9798 case "x$with_xinput2" in
9799 x
) as_fn_append wine_notices
"|XInput2 headers not found, the XInput 2 extension won't be supported." ;;
9801 *) as_fn_error $?
"XInput2 headers not found, the XInput 2 extension won't be supported.
9802 This is an error since --with-xinput2 was requested." "$LINENO" 5 ;;
9807 if test "$ac_cv_header_X11_extensions_XShm_h" = "yes"
9809 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XShmQueryExtension in -lXext" >&5
9810 $as_echo_n "checking for XShmQueryExtension in -lXext... " >&6; }
9811 if ${ac_cv_lib_Xext_XShmQueryExtension+:} false
; then :
9812 $as_echo_n "(cached) " >&6
9814 ac_check_lib_save_LIBS
=$LIBS
9815 LIBS
="-lXext $X_LIBS $X_EXTRA_LIBS $LIBS"
9816 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9817 /* end confdefs.h. */
9819 /* Override any GCC internal prototype to avoid an error.
9820 Use char because int might match the return type of a GCC
9821 builtin and then its argument prototype would still apply. */
9825 char XShmQueryExtension ();
9829 return XShmQueryExtension ();
9834 if ac_fn_c_try_link
"$LINENO"; then :
9835 ac_cv_lib_Xext_XShmQueryExtension
=yes
9837 ac_cv_lib_Xext_XShmQueryExtension
=no
9839 rm -f core conftest.err conftest.
$ac_objext \
9840 conftest
$ac_exeext conftest.
$ac_ext
9841 LIBS
=$ac_check_lib_save_LIBS
9843 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xext_XShmQueryExtension" >&5
9844 $as_echo "$ac_cv_lib_Xext_XShmQueryExtension" >&6; }
9845 if test "x$ac_cv_lib_Xext_XShmQueryExtension" = xyes
; then :
9847 $as_echo "#define HAVE_LIBXXSHM 1" >>confdefs.h
9852 if test "$ac_cv_lib_Xext_XShmQueryExtension" != "yes"; then :
9853 case "x$with_xshm" in
9854 x
) as_fn_append wine_notices
"|XShm ${notice_platform}development files not found, X Shared Memory won't be supported." ;;
9856 *) as_fn_error $?
"XShm ${notice_platform}development files not found, X Shared Memory won't be supported.
9857 This is an error since --with-xshm was requested." "$LINENO" 5 ;;
9861 if test "$ac_cv_header_X11_extensions_shape_h" = "yes"
9863 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XShapeQueryExtension in -lXext" >&5
9864 $as_echo_n "checking for XShapeQueryExtension in -lXext... " >&6; }
9865 if ${ac_cv_lib_Xext_XShapeQueryExtension+:} false
; then :
9866 $as_echo_n "(cached) " >&6
9868 ac_check_lib_save_LIBS
=$LIBS
9869 LIBS
="-lXext $X_LIBS $X_EXTRA_LIBS $LIBS"
9870 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9871 /* end confdefs.h. */
9873 /* Override any GCC internal prototype to avoid an error.
9874 Use char because int might match the return type of a GCC
9875 builtin and then its argument prototype would still apply. */
9879 char XShapeQueryExtension ();
9883 return XShapeQueryExtension ();
9888 if ac_fn_c_try_link
"$LINENO"; then :
9889 ac_cv_lib_Xext_XShapeQueryExtension
=yes
9891 ac_cv_lib_Xext_XShapeQueryExtension
=no
9893 rm -f core conftest.err conftest.
$ac_objext \
9894 conftest
$ac_exeext conftest.
$ac_ext
9895 LIBS
=$ac_check_lib_save_LIBS
9897 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xext_XShapeQueryExtension" >&5
9898 $as_echo "$ac_cv_lib_Xext_XShapeQueryExtension" >&6; }
9899 if test "x$ac_cv_lib_Xext_XShapeQueryExtension" = xyes
; then :
9901 $as_echo "#define HAVE_LIBXSHAPE 1" >>confdefs.h
9906 if test "$ac_cv_lib_Xext_XShapeQueryExtension" != "yes"; then :
9907 case "x$with_xshape" in
9908 x
) as_fn_append wine_notices
"|XShape ${notice_platform}development files not found, XShape won't be supported." ;;
9910 *) as_fn_error $?
"XShape ${notice_platform}development files not found, XShape won't be supported.
9911 This is an error since --with-xshape was requested." "$LINENO" 5 ;;
9915 if test "$ac_cv_header_X11_extensions_xf86vmode_h" = "yes" -o "$ac_cv_header_X11_extensions_xf86vmproto_h" = "yes"
9917 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXxf86vm" >&5
9918 $as_echo_n "checking for -lXxf86vm... " >&6; }
9919 if ${ac_cv_lib_soname_Xxf86vm+:} false
; then :
9920 $as_echo_n "(cached) " >&6
9922 ac_check_soname_save_LIBS
=$LIBS
9923 LIBS
="-lXxf86vm $X_LIBS $X_EXTRA_LIBS $LIBS"
9924 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9925 /* end confdefs.h. */
9927 /* Override any GCC internal prototype to avoid an error.
9928 Use char because int might match the return type of a GCC
9929 builtin and then its argument prototype would still apply. */
9933 char XF86VidModeQueryExtension ();
9937 return XF86VidModeQueryExtension ();
9942 if ac_fn_c_try_link
"$LINENO"; then :
9944 dll
) ac_cv_lib_soname_Xxf86vm
=`$ac_cv_path_LDD conftest.exe | grep "Xxf86vm" | sed -e "s/dll.*/dll/"';2,$d'` ;;
9945 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'` ;;
9946 *) ac_cv_lib_soname_Xxf86vm
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXxf86vm\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXxf86vm\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
9947 if ${ac_cv_lib_soname_Xxf86vm:+false} :; then :
9948 ac_cv_lib_soname_Xxf86vm
=`$LDD conftest$ac_exeext | grep "libXxf86vm\\.$LIBEXT" | sed -e "s/^.*\(libXxf86vm\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
9952 rm -f core conftest.err conftest.
$ac_objext \
9953 conftest
$ac_exeext conftest.
$ac_ext
9954 LIBS
=$ac_check_soname_save_LIBS
9956 if ${ac_cv_lib_soname_Xxf86vm:+false} :; then :
9957 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
9958 $as_echo "not found" >&6; }
9961 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xxf86vm" >&5
9962 $as_echo "$ac_cv_lib_soname_Xxf86vm" >&6; }
9964 cat >>confdefs.h
<<_ACEOF
9965 #define SONAME_LIBXXF86VM "$ac_cv_lib_soname_Xxf86vm"
9971 if test "x$ac_cv_lib_soname_Xxf86vm" = "x"; then :
9972 case "x$with_xxf86vm" in
9973 x
) as_fn_append wine_notices
"|libXxf86vm ${notice_platform}development files not found, XFree86 Vidmode won't be supported." ;;
9975 *) as_fn_error $?
"libXxf86vm ${notice_platform}development files not found, XFree86 Vidmode won't be supported.
9976 This is an error since --with-xxf86vm was requested." "$LINENO" 5 ;;
9980 if test "$ac_cv_header_X11_extensions_Xrender_h" = "yes" -a "x$ac_cv_lib_soname_X11" != "x"
9982 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXrender" >&5
9983 $as_echo_n "checking for -lXrender... " >&6; }
9984 if ${ac_cv_lib_soname_Xrender+:} false
; then :
9985 $as_echo_n "(cached) " >&6
9987 ac_check_soname_save_LIBS
=$LIBS
9988 LIBS
="-lXrender $X_LIBS $X_EXTRA_LIBS $LIBS"
9989 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9990 /* end confdefs.h. */
9992 /* Override any GCC internal prototype to avoid an error.
9993 Use char because int might match the return type of a GCC
9994 builtin and then its argument prototype would still apply. */
9998 char XRenderQueryExtension ();
10002 return XRenderQueryExtension ();
10007 if ac_fn_c_try_link
"$LINENO"; then :
10009 dll
) ac_cv_lib_soname_Xrender
=`$ac_cv_path_LDD conftest.exe | grep "Xrender" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10010 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'` ;;
10011 *) ac_cv_lib_soname_Xrender
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXrender\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXrender\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10012 if ${ac_cv_lib_soname_Xrender:+false} :; then :
10013 ac_cv_lib_soname_Xrender
=`$LDD conftest$ac_exeext | grep "libXrender\\.$LIBEXT" | sed -e "s/^.*\(libXrender\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10017 rm -f core conftest.err conftest.
$ac_objext \
10018 conftest
$ac_exeext conftest.
$ac_ext
10019 LIBS
=$ac_check_soname_save_LIBS
10021 if ${ac_cv_lib_soname_Xrender:+false} :; then :
10022 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10023 $as_echo "not found" >&6; }
10026 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xrender" >&5
10027 $as_echo "$ac_cv_lib_soname_Xrender" >&6; }
10029 cat >>confdefs.h
<<_ACEOF
10030 #define SONAME_LIBXRENDER "$ac_cv_lib_soname_Xrender"
10033 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XRenderSetPictureTransform in -lXrender" >&5
10034 $as_echo_n "checking for XRenderSetPictureTransform in -lXrender... " >&6; }
10035 if ${ac_cv_lib_Xrender_XRenderSetPictureTransform+:} false
; then :
10036 $as_echo_n "(cached) " >&6
10038 ac_check_lib_save_LIBS
=$LIBS
10039 LIBS
="-lXrender $X_LIBS $X_EXTRA_LIBS $LIBS"
10040 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10041 /* end confdefs.h. */
10043 /* Override any GCC internal prototype to avoid an error.
10044 Use char because int might match the return type of a GCC
10045 builtin and then its argument prototype would still apply. */
10049 char XRenderSetPictureTransform ();
10053 return XRenderSetPictureTransform ();
10058 if ac_fn_c_try_link
"$LINENO"; then :
10059 ac_cv_lib_Xrender_XRenderSetPictureTransform
=yes
10061 ac_cv_lib_Xrender_XRenderSetPictureTransform
=no
10063 rm -f core conftest.err conftest.
$ac_objext \
10064 conftest
$ac_exeext conftest.
$ac_ext
10065 LIBS
=$ac_check_lib_save_LIBS
10067 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xrender_XRenderSetPictureTransform" >&5
10068 $as_echo "$ac_cv_lib_Xrender_XRenderSetPictureTransform" >&6; }
10069 if test "x$ac_cv_lib_Xrender_XRenderSetPictureTransform" = xyes
; then :
10071 $as_echo "#define HAVE_XRENDERSETPICTURETRANSFORM 1" >>confdefs.h
10075 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XRenderCreateLinearGradient in -lXrender" >&5
10076 $as_echo_n "checking for XRenderCreateLinearGradient in -lXrender... " >&6; }
10077 if ${ac_cv_lib_Xrender_XRenderCreateLinearGradient+:} false
; then :
10078 $as_echo_n "(cached) " >&6
10080 ac_check_lib_save_LIBS
=$LIBS
10081 LIBS
="-lXrender $X_LIBS $X_EXTRA_LIBS $LIBS"
10082 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10083 /* end confdefs.h. */
10085 /* Override any GCC internal prototype to avoid an error.
10086 Use char because int might match the return type of a GCC
10087 builtin and then its argument prototype would still apply. */
10091 char XRenderCreateLinearGradient ();
10095 return XRenderCreateLinearGradient ();
10100 if ac_fn_c_try_link
"$LINENO"; then :
10101 ac_cv_lib_Xrender_XRenderCreateLinearGradient
=yes
10103 ac_cv_lib_Xrender_XRenderCreateLinearGradient
=no
10105 rm -f core conftest.err conftest.
$ac_objext \
10106 conftest
$ac_exeext conftest.
$ac_ext
10107 LIBS
=$ac_check_lib_save_LIBS
10109 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xrender_XRenderCreateLinearGradient" >&5
10110 $as_echo "$ac_cv_lib_Xrender_XRenderCreateLinearGradient" >&6; }
10111 if test "x$ac_cv_lib_Xrender_XRenderCreateLinearGradient" = xyes
; then :
10113 $as_echo "#define HAVE_XRENDERCREATELINEARGRADIENT 1" >>confdefs.h
10120 if test "x$ac_cv_lib_soname_Xrender" = "x"; then :
10121 case "x$with_xrender" in
10122 x
) as_fn_append wine_warnings
"|libxrender ${notice_platform}development files not found, XRender won't be supported." ;;
10124 *) as_fn_error $?
"libxrender ${notice_platform}development files not found, XRender won't be supported.
10125 This is an error since --with-xrender was requested." "$LINENO" 5 ;;
10129 if test "$ac_cv_header_X11_extensions_Xrandr_h" = "yes" -a "x$ac_cv_lib_soname_Xrender" != "x"
10131 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10132 /* end confdefs.h. */
10133 #include <X11/Xlib.h>
10134 #include <X11/extensions/Xrandr.h>
10138 static typeof(XRRSetScreenConfigAndRate) * func; if (func) return 0;
10143 if ac_fn_c_try_compile
"$LINENO"; then :
10144 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXrandr" >&5
10145 $as_echo_n "checking for -lXrandr... " >&6; }
10146 if ${ac_cv_lib_soname_Xrandr+:} false
; then :
10147 $as_echo_n "(cached) " >&6
10149 ac_check_soname_save_LIBS
=$LIBS
10150 LIBS
="-lXrandr $X_LIBS $X_EXTRA_LIBS $LIBS"
10151 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10152 /* end confdefs.h. */
10154 /* Override any GCC internal prototype to avoid an error.
10155 Use char because int might match the return type of a GCC
10156 builtin and then its argument prototype would still apply. */
10160 char XRRQueryExtension ();
10164 return XRRQueryExtension ();
10169 if ac_fn_c_try_link
"$LINENO"; then :
10171 dll
) ac_cv_lib_soname_Xrandr
=`$ac_cv_path_LDD conftest.exe | grep "Xrandr" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10172 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'` ;;
10173 *) ac_cv_lib_soname_Xrandr
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXrandr\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXrandr\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10174 if ${ac_cv_lib_soname_Xrandr:+false} :; then :
10175 ac_cv_lib_soname_Xrandr
=`$LDD conftest$ac_exeext | grep "libXrandr\\.$LIBEXT" | sed -e "s/^.*\(libXrandr\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10179 rm -f core conftest.err conftest.
$ac_objext \
10180 conftest
$ac_exeext conftest.
$ac_ext
10181 LIBS
=$ac_check_soname_save_LIBS
10183 if ${ac_cv_lib_soname_Xrandr:+false} :; then :
10184 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10185 $as_echo "not found" >&6; }
10188 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xrandr" >&5
10189 $as_echo "$ac_cv_lib_soname_Xrandr" >&6; }
10191 cat >>confdefs.h
<<_ACEOF
10192 #define SONAME_LIBXRANDR "$ac_cv_lib_soname_Xrandr"
10195 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10196 /* end confdefs.h. */
10197 #include <X11/Xlib.h>
10198 #include <X11/extensions/Xrandr.h>
10202 static typeof(XRRGetScreenResources) *f; if (f) return 0;
10207 if ac_fn_c_try_compile
"$LINENO"; then :
10209 $as_echo "#define HAVE_XRRGETSCREENRESOURCES 1" >>confdefs.h
10212 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
10215 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
10217 if test "x$ac_cv_lib_soname_Xrandr" = "x"; then :
10218 case "x$with_xrandr" in
10219 x
) as_fn_append wine_notices
"|libxrandr ${notice_platform}development files not found, XRandr won't be supported." ;;
10221 *) as_fn_error $?
"libxrandr ${notice_platform}development files not found, XRandr won't be supported.
10222 This is an error since --with-xrandr was requested." "$LINENO" 5 ;;
10226 if test "$ac_cv_header_X11_extensions_Xinerama_h" = "yes"
10228 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10229 /* end confdefs.h. */
10230 #include <X11/Xlib.h>
10231 #include <X11/extensions/Xinerama.h>
10235 static typeof(XineramaQueryScreens) * func; if (func) return 0;
10240 if ac_fn_c_try_compile
"$LINENO"; then :
10241 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXinerama" >&5
10242 $as_echo_n "checking for -lXinerama... " >&6; }
10243 if ${ac_cv_lib_soname_Xinerama+:} false
; then :
10244 $as_echo_n "(cached) " >&6
10246 ac_check_soname_save_LIBS
=$LIBS
10247 LIBS
="-lXinerama $X_LIBS $X_EXTRA_LIBS $LIBS"
10248 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10249 /* end confdefs.h. */
10251 /* Override any GCC internal prototype to avoid an error.
10252 Use char because int might match the return type of a GCC
10253 builtin and then its argument prototype would still apply. */
10257 char XineramaQueryScreens ();
10261 return XineramaQueryScreens ();
10266 if ac_fn_c_try_link
"$LINENO"; then :
10268 dll
) ac_cv_lib_soname_Xinerama
=`$ac_cv_path_LDD conftest.exe | grep "Xinerama" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10269 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'` ;;
10270 *) ac_cv_lib_soname_Xinerama
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXinerama\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXinerama\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10271 if ${ac_cv_lib_soname_Xinerama:+false} :; then :
10272 ac_cv_lib_soname_Xinerama
=`$LDD conftest$ac_exeext | grep "libXinerama\\.$LIBEXT" | sed -e "s/^.*\(libXinerama\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10276 rm -f core conftest.err conftest.
$ac_objext \
10277 conftest
$ac_exeext conftest.
$ac_ext
10278 LIBS
=$ac_check_soname_save_LIBS
10280 if ${ac_cv_lib_soname_Xinerama:+false} :; then :
10281 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10282 $as_echo "not found" >&6; }
10285 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xinerama" >&5
10286 $as_echo "$ac_cv_lib_soname_Xinerama" >&6; }
10288 cat >>confdefs.h
<<_ACEOF
10289 #define SONAME_LIBXINERAMA "$ac_cv_lib_soname_Xinerama"
10295 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
10297 if test "x$ac_cv_lib_soname_Xinerama" = "x"; then :
10298 case "x$with_xinerama" in
10299 x
) as_fn_append wine_notices
"|libxinerama ${notice_platform}development files not found, multi-monitor setups won't be supported." ;;
10301 *) as_fn_error $?
"libxinerama ${notice_platform}development files not found, multi-monitor setups won't be supported.
10302 This is an error since --with-xinerama was requested." "$LINENO" 5 ;;
10306 if test "$ac_cv_header_X11_extensions_Xcomposite_h" = "yes"
10308 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXcomposite" >&5
10309 $as_echo_n "checking for -lXcomposite... " >&6; }
10310 if ${ac_cv_lib_soname_Xcomposite+:} false
; then :
10311 $as_echo_n "(cached) " >&6
10313 ac_check_soname_save_LIBS
=$LIBS
10314 LIBS
="-lXcomposite $X_LIBS $X_EXTRA_LIBS $LIBS"
10315 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10316 /* end confdefs.h. */
10318 /* Override any GCC internal prototype to avoid an error.
10319 Use char because int might match the return type of a GCC
10320 builtin and then its argument prototype would still apply. */
10324 char XCompositeRedirectWindow ();
10328 return XCompositeRedirectWindow ();
10333 if ac_fn_c_try_link
"$LINENO"; then :
10335 dll
) ac_cv_lib_soname_Xcomposite
=`$ac_cv_path_LDD conftest.exe | grep "Xcomposite" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10336 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'` ;;
10337 *) ac_cv_lib_soname_Xcomposite
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXcomposite\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXcomposite\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10338 if ${ac_cv_lib_soname_Xcomposite:+false} :; then :
10339 ac_cv_lib_soname_Xcomposite
=`$LDD conftest$ac_exeext | grep "libXcomposite\\.$LIBEXT" | sed -e "s/^.*\(libXcomposite\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10343 rm -f core conftest.err conftest.
$ac_objext \
10344 conftest
$ac_exeext conftest.
$ac_ext
10345 LIBS
=$ac_check_soname_save_LIBS
10347 if ${ac_cv_lib_soname_Xcomposite:+false} :; then :
10348 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10349 $as_echo "not found" >&6; }
10352 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xcomposite" >&5
10353 $as_echo "$ac_cv_lib_soname_Xcomposite" >&6; }
10355 cat >>confdefs.h
<<_ACEOF
10356 #define SONAME_LIBXCOMPOSITE "$ac_cv_lib_soname_Xcomposite"
10362 if test "x$ac_cv_lib_soname_Xcomposite" = "x"; then :
10363 case "x$with_xcomposite" in
10364 x
) as_fn_append wine_notices
"|libxcomposite ${notice_platform}development files not found, Xcomposite won't be supported." ;;
10366 *) as_fn_error $?
"libxcomposite ${notice_platform}development files not found, Xcomposite won't be supported.
10367 This is an error since --with-xcomposite was requested." "$LINENO" 5 ;;
10371 ac_fn_c_check_member
"$LINENO" "XICCallback" "callback" "ac_cv_member_XICCallback_callback" "#ifdef HAVE_X11_XLIB_H
10372 #include <X11/Xlib.h>
10375 if test "x$ac_cv_member_XICCallback_callback" = xyes
; then :
10377 cat >>confdefs.h
<<_ACEOF
10378 #define HAVE_XICCALLBACK_CALLBACK 1
10383 ac_fn_c_check_member
"$LINENO" "XEvent" "xcookie" "ac_cv_member_XEvent_xcookie" "#ifdef HAVE_X11_XLIB_H
10384 #include <X11/Xlib.h>
10387 if test "x$ac_cv_member_XEvent_xcookie" = xyes
; then :
10389 cat >>confdefs.h
<<_ACEOF
10390 #define HAVE_XEVENT_XCOOKIE 1
10399 if test "x$with_opengl" != "xno"
10401 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lGL" >&5
10402 $as_echo_n "checking for -lGL... " >&6; }
10403 if ${ac_cv_lib_soname_GL+:} false
; then :
10404 $as_echo_n "(cached) " >&6
10406 ac_check_soname_save_LIBS
=$LIBS
10407 LIBS
="-lGL $X_LIBS -lm $X_EXTRA_LIBS $LIBS"
10408 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10409 /* end confdefs.h. */
10411 /* Override any GCC internal prototype to avoid an error.
10412 Use char because int might match the return type of a GCC
10413 builtin and then its argument prototype would still apply. */
10417 char glXCreateContext ();
10421 return glXCreateContext ();
10426 if ac_fn_c_try_link
"$LINENO"; then :
10428 dll
) ac_cv_lib_soname_GL
=`$ac_cv_path_LDD conftest.exe | grep "GL" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10429 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'` ;;
10430 *) ac_cv_lib_soname_GL
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libGL\\.$LIBEXT" | sed -e "s/^.*\\[\\(libGL\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10431 if ${ac_cv_lib_soname_GL:+false} :; then :
10432 ac_cv_lib_soname_GL
=`$LDD conftest$ac_exeext | grep "libGL\\.$LIBEXT" | sed -e "s/^.*\(libGL\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10436 rm -f core conftest.err conftest.
$ac_objext \
10437 conftest
$ac_exeext conftest.
$ac_ext
10438 LIBS
=$ac_check_soname_save_LIBS
10440 if ${ac_cv_lib_soname_GL:+false} :; then :
10441 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10442 $as_echo "not found" >&6; }
10443 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lGL" >&5
10444 $as_echo_n "checking for -lGL... " >&6; }
10445 if ${ac_cv_lib_soname_GL+:} false
; then :
10446 $as_echo_n "(cached) " >&6
10448 ac_check_soname_save_LIBS
=$LIBS
10449 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"
10450 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10451 /* end confdefs.h. */
10453 /* Override any GCC internal prototype to avoid an error.
10454 Use char because int might match the return type of a GCC
10455 builtin and then its argument prototype would still apply. */
10459 char glXCreateContext ();
10463 return glXCreateContext ();
10468 if ac_fn_c_try_link
"$LINENO"; then :
10470 dll
) ac_cv_lib_soname_GL
=`$ac_cv_path_LDD conftest.exe | grep "GL" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10471 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'` ;;
10472 *) ac_cv_lib_soname_GL
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libGL\\.$LIBEXT" | sed -e "s/^.*\\[\\(libGL\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10473 if ${ac_cv_lib_soname_GL:+false} :; then :
10474 ac_cv_lib_soname_GL
=`$LDD conftest$ac_exeext | grep "libGL\\.$LIBEXT" | sed -e "s/^.*\(libGL\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10478 rm -f core conftest.err conftest.
$ac_objext \
10479 conftest
$ac_exeext conftest.
$ac_ext
10480 LIBS
=$ac_check_soname_save_LIBS
10482 if ${ac_cv_lib_soname_GL:+false} :; then :
10483 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10484 $as_echo "not found" >&6; }
10485 if test -f /usr
/X11R
6/lib
/libGL.a
10487 opengl_msg
="/usr/X11R6/lib/libGL.a is present on your system.
10488 This probably prevents linking to OpenGL. Try deleting the file and restarting configure."
10490 opengl_msg
="No OpenGL library found on this system."
10493 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_GL" >&5
10494 $as_echo "$ac_cv_lib_soname_GL" >&6; }
10496 cat >>confdefs.h
<<_ACEOF
10497 #define SONAME_LIBGL "$ac_cv_lib_soname_GL"
10500 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"
10503 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_GL" >&5
10504 $as_echo "$ac_cv_lib_soname_GL" >&6; }
10506 cat >>confdefs.h
<<_ACEOF
10507 #define SONAME_LIBGL "$ac_cv_lib_soname_GL"
10512 if test "x$with_glu" != "xno"
10514 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gluLookAt in -lGLU" >&5
10515 $as_echo_n "checking for gluLookAt in -lGLU... " >&6; }
10516 if ${ac_cv_lib_GLU_gluLookAt+:} false
; then :
10517 $as_echo_n "(cached) " >&6
10519 ac_check_lib_save_LIBS
=$LIBS
10520 LIBS
="-lGLU $OPENGL_LIBS $X_LIBS -lm $X_EXTRA_LIBS $LIBS"
10521 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10522 /* end confdefs.h. */
10524 /* Override any GCC internal prototype to avoid an error.
10525 Use char because int might match the return type of a GCC
10526 builtin and then its argument prototype would still apply. */
10534 return gluLookAt ();
10539 if ac_fn_c_try_link
"$LINENO"; then :
10540 ac_cv_lib_GLU_gluLookAt
=yes
10542 ac_cv_lib_GLU_gluLookAt
=no
10544 rm -f core conftest.err conftest.
$ac_objext \
10545 conftest
$ac_exeext conftest.
$ac_ext
10546 LIBS
=$ac_check_lib_save_LIBS
10548 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_GLU_gluLookAt" >&5
10549 $as_echo "$ac_cv_lib_GLU_gluLookAt" >&6; }
10550 if test "x$ac_cv_lib_GLU_gluLookAt" = xyes
; then :
10554 if test "x$ac_cv_lib_GLU_gluLookAt" != xyes
; then :
10555 case "x$with_glu" in
10556 x
) as_fn_append wine_notices
"|libGLU ${notice_platform}development files not found, GLU won't be supported." ;;
10558 *) as_fn_error $?
"libGLU ${notice_platform}development files not found, GLU won't be supported.
10559 This is an error since --with-glu was requested." "$LINENO" 5 ;;
10564 if test "x$with_osmesa" != "xno"
10566 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lOSMesa" >&5
10567 $as_echo_n "checking for -lOSMesa... " >&6; }
10568 if ${ac_cv_lib_soname_OSMesa+:} false
; then :
10569 $as_echo_n "(cached) " >&6
10571 ac_check_soname_save_LIBS
=$LIBS
10572 LIBS
="-lOSMesa $X_LIBS -lm $X_EXTRA_LIBS $LIBS"
10573 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10574 /* end confdefs.h. */
10576 /* Override any GCC internal prototype to avoid an error.
10577 Use char because int might match the return type of a GCC
10578 builtin and then its argument prototype would still apply. */
10591 if ac_fn_c_try_link
"$LINENO"; then :
10593 dll
) ac_cv_lib_soname_OSMesa
=`$ac_cv_path_LDD conftest.exe | grep "OSMesa" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10594 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'` ;;
10595 *) ac_cv_lib_soname_OSMesa
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libOSMesa\\.$LIBEXT" | sed -e "s/^.*\\[\\(libOSMesa\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10596 if ${ac_cv_lib_soname_OSMesa:+false} :; then :
10597 ac_cv_lib_soname_OSMesa
=`$LDD conftest$ac_exeext | grep "libOSMesa\\.$LIBEXT" | sed -e "s/^.*\(libOSMesa\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10601 rm -f core conftest.err conftest.
$ac_objext \
10602 conftest
$ac_exeext conftest.
$ac_ext
10603 LIBS
=$ac_check_soname_save_LIBS
10605 if ${ac_cv_lib_soname_OSMesa:+false} :; then :
10606 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10607 $as_echo "not found" >&6; }
10610 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_OSMesa" >&5
10611 $as_echo "$ac_cv_lib_soname_OSMesa" >&6; }
10613 cat >>confdefs.h
<<_ACEOF
10614 #define SONAME_LIBOSMESA "$ac_cv_lib_soname_OSMesa"
10619 if test "x$ac_cv_lib_soname_OSMesa" = "x"; then :
10620 case "x$with_osmesa" in
10621 x
) as_fn_append wine_notices
"|libOSMesa ${notice_platform}development files not found (or too old), OpenGL rendering in bitmaps won't be supported." ;;
10623 *) as_fn_error $?
"libOSMesa ${notice_platform}development files not found (or too old), OpenGL rendering in bitmaps won't be supported.
10624 This is an error since --with-osmesa was requested." "$LINENO" 5 ;;
10629 if test -n "$opengl_msg"; then :
10630 case "x$with_opengl" in
10631 x
) as_fn_append wine_warnings
"|$opengl_msg
10632 OpenGL and Direct3D won't be supported." ;;
10634 *) as_fn_error $?
"$opengl_msg
10635 OpenGL and Direct3D won't be supported.
10636 This is an error since --with-opengl was requested." "$LINENO" 5 ;;
10640 CPPFLAGS
="$ac_save_CPPFLAGS"
10644 enable_winex11_drv
=${enable_winex11_drv:-no}
10646 if test "x$X_LIBS" = "x"; then :
10649 *) as_fn_error $?
"X ${notice_platform}development files not found. Wine will be built
10650 without X support, which probably isn't what you want. You will need
10651 to install ${notice_platform}development packages of Xlib/Xfree86 at the very least.
10652 Use the --without-x option if you really want this." "$LINENO" 5 ;;
10656 test "x$ac_cv_lib_GLU_gluLookAt" != xyes
&& enable_glu32
=${enable_glu32:-no}
10658 if test "$ac_cv_header_CL_cl_h" = "yes"
10660 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for clGetPlatformInfo in -lOpenCL" >&5
10661 $as_echo_n "checking for clGetPlatformInfo in -lOpenCL... " >&6; }
10662 if ${ac_cv_lib_OpenCL_clGetPlatformInfo+:} false
; then :
10663 $as_echo_n "(cached) " >&6
10665 ac_check_lib_save_LIBS
=$LIBS
10666 LIBS
="-lOpenCL $LIBS"
10667 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10668 /* end confdefs.h. */
10670 /* Override any GCC internal prototype to avoid an error.
10671 Use char because int might match the return type of a GCC
10672 builtin and then its argument prototype would still apply. */
10676 char clGetPlatformInfo ();
10680 return clGetPlatformInfo ();
10685 if ac_fn_c_try_link
"$LINENO"; then :
10686 ac_cv_lib_OpenCL_clGetPlatformInfo
=yes
10688 ac_cv_lib_OpenCL_clGetPlatformInfo
=no
10690 rm -f core conftest.err conftest.
$ac_objext \
10691 conftest
$ac_exeext conftest.
$ac_ext
10692 LIBS
=$ac_check_lib_save_LIBS
10694 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_OpenCL_clGetPlatformInfo" >&5
10695 $as_echo "$ac_cv_lib_OpenCL_clGetPlatformInfo" >&6; }
10696 if test "x$ac_cv_lib_OpenCL_clGetPlatformInfo" = xyes
; then :
10697 OPENCL_LIBS
="-lOpenCL"
10702 if test "x$ac_cv_lib_OpenCL_clGetPlatformInfo" != xyes
; then :
10703 case "x$with_opencl" in
10704 x
) as_fn_append wine_notices
"|OpenCL ${notice_platform}development files not found, OpenCL won't be supported." ;;
10706 *) as_fn_error $?
"OpenCL ${notice_platform}development files not found, OpenCL won't be supported.
10707 This is an error since --with-opencl was requested." "$LINENO" 5 ;;
10710 test "x$ac_cv_lib_OpenCL_clGetPlatformInfo" != xyes
&& enable_opencl
=${enable_opencl:-no}
10712 if test "$ac_cv_header_pcap_pcap_h" = "yes"
10714 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pcap_create in -lpcap" >&5
10715 $as_echo_n "checking for pcap_create in -lpcap... " >&6; }
10716 if ${ac_cv_lib_pcap_pcap_create+:} false
; then :
10717 $as_echo_n "(cached) " >&6
10719 ac_check_lib_save_LIBS
=$LIBS
10720 LIBS
="-lpcap $LIBS"
10721 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10722 /* end confdefs.h. */
10724 /* Override any GCC internal prototype to avoid an error.
10725 Use char because int might match the return type of a GCC
10726 builtin and then its argument prototype would still apply. */
10730 char pcap_create ();
10734 return pcap_create ();
10739 if ac_fn_c_try_link
"$LINENO"; then :
10740 ac_cv_lib_pcap_pcap_create
=yes
10742 ac_cv_lib_pcap_pcap_create
=no
10744 rm -f core conftest.err conftest.
$ac_objext \
10745 conftest
$ac_exeext conftest.
$ac_ext
10746 LIBS
=$ac_check_lib_save_LIBS
10748 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_pcap_pcap_create" >&5
10749 $as_echo "$ac_cv_lib_pcap_pcap_create" >&6; }
10750 if test "x$ac_cv_lib_pcap_pcap_create" = xyes
; then :
10756 if test "x$ac_cv_lib_pcap_pcap_create" != xyes
; then :
10757 case "x$with_pcap" in
10758 x
) as_fn_append wine_notices
"|pcap ${notice_platform}development files not found, wpcap won't be supported." ;;
10760 *) as_fn_error $?
"pcap ${notice_platform}development files not found, wpcap won't be supported.
10761 This is an error since --with-pcap was requested." "$LINENO" 5 ;;
10764 test "x$ac_cv_lib_pcap_pcap_create" != xyes
&& enable_wpcap
=${enable_wpcap:-no}
10767 if test "x$with_xml" != "xno"
10769 if ${XML2_CFLAGS:+false} :; then :
10770 if ${PKG_CONFIG+:} false
; then :
10771 XML2_CFLAGS
=`$PKG_CONFIG --cflags libxml-2.0 2>/dev/null`
10774 test "$cross_compiling" = yes || XML2_CFLAGS
=${XML2_CFLAGS:-`xml2-config --cflags 2>/dev/null`}
10775 if ${XML2_LIBS:+false} :; then :
10776 if ${PKG_CONFIG+:} false
; then :
10777 XML2_LIBS
=`$PKG_CONFIG --libs libxml-2.0 2>/dev/null`
10780 test "$cross_compiling" = yes || XML2_LIBS
=${XML2_LIBS:-`xml2-config --libs 2>/dev/null`}
10781 XML2_LIBS
=${XML2_LIBS:-"-lxml2"}
10782 $as_echo "$as_me:${as_lineno-$LINENO}: libxml-2.0 cflags: $XML2_CFLAGS" >&5
10783 $as_echo "$as_me:${as_lineno-$LINENO}: libxml-2.0 libs: $XML2_LIBS" >&5
10784 ac_save_CPPFLAGS
=$CPPFLAGS
10785 CPPFLAGS
="$CPPFLAGS $XML2_CFLAGS"
10786 for ac_header
in libxml
/parser.h libxml
/xmlsave.h libxml
/SAX2.h
10788 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
10789 ac_fn_c_check_header_mongrel
"$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
10790 if eval test \"x\$
"$as_ac_Header"\" = x
"yes"; then :
10791 cat >>confdefs.h
<<_ACEOF
10792 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
10799 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"
10801 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlParseMemory in -lxml2" >&5
10802 $as_echo_n "checking for xmlParseMemory in -lxml2... " >&6; }
10803 if ${ac_cv_lib_xml2_xmlParseMemory+:} false
; then :
10804 $as_echo_n "(cached) " >&6
10806 ac_check_lib_save_LIBS
=$LIBS
10807 LIBS
="-lxml2 $XML2_LIBS $LIBS"
10808 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10809 /* end confdefs.h. */
10811 /* Override any GCC internal prototype to avoid an error.
10812 Use char because int might match the return type of a GCC
10813 builtin and then its argument prototype would still apply. */
10817 char xmlParseMemory ();
10821 return xmlParseMemory ();
10826 if ac_fn_c_try_link
"$LINENO"; then :
10827 ac_cv_lib_xml2_xmlParseMemory
=yes
10829 ac_cv_lib_xml2_xmlParseMemory
=no
10831 rm -f core conftest.err conftest.
$ac_objext \
10832 conftest
$ac_exeext conftest.
$ac_ext
10833 LIBS
=$ac_check_lib_save_LIBS
10835 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlParseMemory" >&5
10836 $as_echo "$ac_cv_lib_xml2_xmlParseMemory" >&6; }
10837 if test "x$ac_cv_lib_xml2_xmlParseMemory" = xyes
; then :
10839 $as_echo "#define HAVE_LIBXML2 1" >>confdefs.h
10845 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlReadMemory in -lxml2" >&5
10846 $as_echo_n "checking for xmlReadMemory in -lxml2... " >&6; }
10847 if ${ac_cv_lib_xml2_xmlReadMemory+:} false
; then :
10848 $as_echo_n "(cached) " >&6
10850 ac_check_lib_save_LIBS
=$LIBS
10851 LIBS
="-lxml2 $XML2_LIBS $LIBS"
10852 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10853 /* end confdefs.h. */
10855 /* Override any GCC internal prototype to avoid an error.
10856 Use char because int might match the return type of a GCC
10857 builtin and then its argument prototype would still apply. */
10861 char xmlReadMemory ();
10865 return xmlReadMemory ();
10870 if ac_fn_c_try_link
"$LINENO"; then :
10871 ac_cv_lib_xml2_xmlReadMemory
=yes
10873 ac_cv_lib_xml2_xmlReadMemory
=no
10875 rm -f core conftest.err conftest.
$ac_objext \
10876 conftest
$ac_exeext conftest.
$ac_ext
10877 LIBS
=$ac_check_lib_save_LIBS
10879 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlReadMemory" >&5
10880 $as_echo "$ac_cv_lib_xml2_xmlReadMemory" >&6; }
10881 if test "x$ac_cv_lib_xml2_xmlReadMemory" = xyes
; then :
10883 $as_echo "#define HAVE_XMLREADMEMORY 1" >>confdefs.h
10887 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlNewDocPI in -lxml2" >&5
10888 $as_echo_n "checking for xmlNewDocPI in -lxml2... " >&6; }
10889 if ${ac_cv_lib_xml2_xmlNewDocPI+:} false
; then :
10890 $as_echo_n "(cached) " >&6
10892 ac_check_lib_save_LIBS
=$LIBS
10893 LIBS
="-lxml2 $XML2_LIBS $LIBS"
10894 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10895 /* end confdefs.h. */
10897 /* Override any GCC internal prototype to avoid an error.
10898 Use char because int might match the return type of a GCC
10899 builtin and then its argument prototype would still apply. */
10903 char xmlNewDocPI ();
10907 return xmlNewDocPI ();
10912 if ac_fn_c_try_link
"$LINENO"; then :
10913 ac_cv_lib_xml2_xmlNewDocPI
=yes
10915 ac_cv_lib_xml2_xmlNewDocPI
=no
10917 rm -f core conftest.err conftest.
$ac_objext \
10918 conftest
$ac_exeext conftest.
$ac_ext
10919 LIBS
=$ac_check_lib_save_LIBS
10921 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlNewDocPI" >&5
10922 $as_echo "$ac_cv_lib_xml2_xmlNewDocPI" >&6; }
10923 if test "x$ac_cv_lib_xml2_xmlNewDocPI" = xyes
; then :
10925 $as_echo "#define HAVE_XMLNEWDOCPI 1" >>confdefs.h
10929 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlSchemaSetParserStructuredErrors in -lxml2" >&5
10930 $as_echo_n "checking for xmlSchemaSetParserStructuredErrors in -lxml2... " >&6; }
10931 if ${ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors+:} false
; then :
10932 $as_echo_n "(cached) " >&6
10934 ac_check_lib_save_LIBS
=$LIBS
10935 LIBS
="-lxml2 $XML2_LIBS $LIBS"
10936 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10937 /* end confdefs.h. */
10939 /* Override any GCC internal prototype to avoid an error.
10940 Use char because int might match the return type of a GCC
10941 builtin and then its argument prototype would still apply. */
10945 char xmlSchemaSetParserStructuredErrors ();
10949 return xmlSchemaSetParserStructuredErrors ();
10954 if ac_fn_c_try_link
"$LINENO"; then :
10955 ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors
=yes
10957 ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors
=no
10959 rm -f core conftest.err conftest.
$ac_objext \
10960 conftest
$ac_exeext conftest.
$ac_ext
10961 LIBS
=$ac_check_lib_save_LIBS
10963 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors" >&5
10964 $as_echo "$ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors" >&6; }
10965 if test "x$ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors" = xyes
; then :
10967 $as_echo "#define HAVE_XMLSCHEMASSETPARSERSTRUCTUREDERRORS 1" >>confdefs.h
10971 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlSchemaSetValidStructuredErrors in -lxml2" >&5
10972 $as_echo_n "checking for xmlSchemaSetValidStructuredErrors in -lxml2... " >&6; }
10973 if ${ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors+:} false
; then :
10974 $as_echo_n "(cached) " >&6
10976 ac_check_lib_save_LIBS
=$LIBS
10977 LIBS
="-lxml2 $XML2_LIBS $LIBS"
10978 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10979 /* end confdefs.h. */
10981 /* Override any GCC internal prototype to avoid an error.
10982 Use char because int might match the return type of a GCC
10983 builtin and then its argument prototype would still apply. */
10987 char xmlSchemaSetValidStructuredErrors ();
10991 return xmlSchemaSetValidStructuredErrors ();
10996 if ac_fn_c_try_link
"$LINENO"; then :
10997 ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors
=yes
10999 ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors
=no
11001 rm -f core conftest.err conftest.
$ac_objext \
11002 conftest
$ac_exeext conftest.
$ac_ext
11003 LIBS
=$ac_check_lib_save_LIBS
11005 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors" >&5
11006 $as_echo "$ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors" >&6; }
11007 if test "x$ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors" = xyes
; then :
11009 $as_echo "#define HAVE_XMLSCHEMASSETVALIDSTRUCTUREDERRORS 1" >>confdefs.h
11013 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlFirstElementChild in -lxml2" >&5
11014 $as_echo_n "checking for xmlFirstElementChild in -lxml2... " >&6; }
11015 if ${ac_cv_lib_xml2_xmlFirstElementChild+:} false
; then :
11016 $as_echo_n "(cached) " >&6
11018 ac_check_lib_save_LIBS
=$LIBS
11019 LIBS
="-lxml2 $XML2_LIBS $LIBS"
11020 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11021 /* end confdefs.h. */
11023 /* Override any GCC internal prototype to avoid an error.
11024 Use char because int might match the return type of a GCC
11025 builtin and then its argument prototype would still apply. */
11029 char xmlFirstElementChild ();
11033 return xmlFirstElementChild ();
11038 if ac_fn_c_try_link
"$LINENO"; then :
11039 ac_cv_lib_xml2_xmlFirstElementChild
=yes
11041 ac_cv_lib_xml2_xmlFirstElementChild
=no
11043 rm -f core conftest.err conftest.
$ac_objext \
11044 conftest
$ac_exeext conftest.
$ac_ext
11045 LIBS
=$ac_check_lib_save_LIBS
11047 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlFirstElementChild" >&5
11048 $as_echo "$ac_cv_lib_xml2_xmlFirstElementChild" >&6; }
11049 if test "x$ac_cv_lib_xml2_xmlFirstElementChild" = xyes
; then :
11051 $as_echo "#define HAVE_XMLFIRSTELEMENTCHILD 1" >>confdefs.h
11055 ac_fn_c_check_type
"$LINENO" "xmlDocProperties" "ac_cv_type_xmlDocProperties" "#include <libxml/tree.h>
11057 if test "x$ac_cv_type_xmlDocProperties" = xyes
; then :
11059 $as_echo "#define HAVE_XMLDOC_PROPERTIES 1" >>confdefs.h
11067 CPPFLAGS
=$ac_save_CPPFLAGS
11068 test -z "$XML2_CFLAGS" || XML2_CFLAGS
=`echo " $XML2_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
11069 test -z "$XML2_LIBS" || XML2_LIBS
=`echo " $XML2_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
11072 if test "$ac_cv_lib_xml2_xmlParseMemory" != "yes"; then :
11073 case "x$with_xml" in
11074 x
) as_fn_append wine_warnings
"|libxml2 ${notice_platform}development files not found (or too old), XML won't be supported." ;;
11076 *) as_fn_error $?
"libxml2 ${notice_platform}development files not found (or too old), XML won't be supported.
11077 This is an error since --with-xml was requested." "$LINENO" 5 ;;
11081 if test "x$with_xslt" != "xno"
11083 if ${XSLT_CFLAGS:+false} :; then :
11084 if ${PKG_CONFIG+:} false
; then :
11085 XSLT_CFLAGS
=`$PKG_CONFIG --cflags libxslt 2>/dev/null`
11088 test "$cross_compiling" = yes || XSLT_CFLAGS
=${XSLT_CFLAGS:-`xslt-config --cflags 2>/dev/null`}
11089 if ${XSLT_LIBS:+false} :; then :
11090 if ${PKG_CONFIG+:} false
; then :
11091 XSLT_LIBS
=`$PKG_CONFIG --libs libxslt 2>/dev/null`
11094 test "$cross_compiling" = yes || XSLT_LIBS
=${XSLT_LIBS:-`xslt-config --libs 2>/dev/null`}
11095 XSLT_LIBS
=${XSLT_LIBS:-"-lxml2"}
11096 $as_echo "$as_me:${as_lineno-$LINENO}: libxslt cflags: $XSLT_CFLAGS" >&5
11097 $as_echo "$as_me:${as_lineno-$LINENO}: libxslt libs: $XSLT_LIBS" >&5
11098 ac_save_CPPFLAGS
=$CPPFLAGS
11099 CPPFLAGS
="$CPPFLAGS $XSLT_CFLAGS"
11100 for ac_header
in libxslt
/pattern.h libxslt
/transform.h
11102 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
11103 ac_fn_c_check_header_compile
"$LINENO" "$ac_header" "$as_ac_Header" "#ifdef HAVE_LIBXSLT_PATTERN_H
11104 # include <libxslt/pattern.h>
11107 if eval test \"x\$
"$as_ac_Header"\" = x
"yes"; then :
11108 cat >>confdefs.h
<<_ACEOF
11109 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
11116 if test "$ac_cv_header_libxslt_transform_h" = "yes"
11118 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lxslt" >&5
11119 $as_echo_n "checking for -lxslt... " >&6; }
11120 if ${ac_cv_lib_soname_xslt+:} false
; then :
11121 $as_echo_n "(cached) " >&6
11123 ac_check_soname_save_LIBS
=$LIBS
11124 LIBS
="-lxslt $XSLT_LIBS $LIBS"
11125 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11126 /* end confdefs.h. */
11128 /* Override any GCC internal prototype to avoid an error.
11129 Use char because int might match the return type of a GCC
11130 builtin and then its argument prototype would still apply. */
11134 char xsltCompilePattern ();
11138 return xsltCompilePattern ();
11143 if ac_fn_c_try_link
"$LINENO"; then :
11145 dll
) ac_cv_lib_soname_xslt
=`$ac_cv_path_LDD conftest.exe | grep "xslt" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11146 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'` ;;
11147 *) ac_cv_lib_soname_xslt
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libxslt\\.$LIBEXT" | sed -e "s/^.*\\[\\(libxslt\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
11148 if ${ac_cv_lib_soname_xslt:+false} :; then :
11149 ac_cv_lib_soname_xslt
=`$LDD conftest$ac_exeext | grep "libxslt\\.$LIBEXT" | sed -e "s/^.*\(libxslt\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11153 rm -f core conftest.err conftest.
$ac_objext \
11154 conftest
$ac_exeext conftest.
$ac_ext
11155 LIBS
=$ac_check_soname_save_LIBS
11157 if ${ac_cv_lib_soname_xslt:+false} :; then :
11158 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11159 $as_echo "not found" >&6; }
11162 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_xslt" >&5
11163 $as_echo "$ac_cv_lib_soname_xslt" >&6; }
11165 cat >>confdefs.h
<<_ACEOF
11166 #define SONAME_LIBXSLT "$ac_cv_lib_soname_xslt"
11174 CPPFLAGS
=$ac_save_CPPFLAGS
11175 test -z "$XSLT_CFLAGS" || XSLT_CFLAGS
=`echo " $XSLT_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
11176 test -z "$XSLT_LIBS" || XSLT_LIBS
=`echo " $XSLT_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
11179 if test "x$ac_cv_lib_soname_xslt" = "x"; then :
11180 case "x$with_xslt" in
11181 x
) as_fn_append wine_warnings
"|libxslt ${notice_platform}development files not found, xslt won't be supported." ;;
11183 *) as_fn_error $?
"libxslt ${notice_platform}development files not found, xslt won't be supported.
11184 This is an error since --with-xslt was requested." "$LINENO" 5 ;;
11188 if test "x$with_dbus" != "xno"
11190 if ${DBUS_CFLAGS:+false} :; then :
11191 if ${PKG_CONFIG+:} false
; then :
11192 DBUS_CFLAGS
=`$PKG_CONFIG --cflags dbus-1 2>/dev/null`
11196 if ${DBUS_LIBS:+false} :; then :
11197 if ${PKG_CONFIG+:} false
; then :
11198 DBUS_LIBS
=`$PKG_CONFIG --libs dbus-1 2>/dev/null`
11203 $as_echo "$as_me:${as_lineno-$LINENO}: dbus-1 cflags: $DBUS_CFLAGS" >&5
11204 $as_echo "$as_me:${as_lineno-$LINENO}: dbus-1 libs: $DBUS_LIBS" >&5
11205 ac_save_CPPFLAGS
=$CPPFLAGS
11206 CPPFLAGS
="$CPPFLAGS $DBUS_CFLAGS"
11207 ac_fn_c_check_header_mongrel
"$LINENO" "dbus/dbus.h" "ac_cv_header_dbus_dbus_h" "$ac_includes_default"
11208 if test "x$ac_cv_header_dbus_dbus_h" = xyes
; then :
11209 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -ldbus-1" >&5
11210 $as_echo_n "checking for -ldbus-1... " >&6; }
11211 if ${ac_cv_lib_soname_dbus_1+:} false
; then :
11212 $as_echo_n "(cached) " >&6
11214 ac_check_soname_save_LIBS
=$LIBS
11215 LIBS
="-ldbus-1 $DBUS_LIBS $LIBS"
11216 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11217 /* end confdefs.h. */
11219 /* Override any GCC internal prototype to avoid an error.
11220 Use char because int might match the return type of a GCC
11221 builtin and then its argument prototype would still apply. */
11225 char dbus_connection_close ();
11229 return dbus_connection_close ();
11234 if ac_fn_c_try_link
"$LINENO"; then :
11236 dll
) ac_cv_lib_soname_dbus_1
=`$ac_cv_path_LDD conftest.exe | grep "dbus-1" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11237 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'` ;;
11238 *) 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'`
11239 if ${ac_cv_lib_soname_dbus_1:+false} :; then :
11240 ac_cv_lib_soname_dbus_1
=`$LDD conftest$ac_exeext | grep "libdbus-1\\.$LIBEXT" | sed -e "s/^.*\(libdbus-1\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11244 rm -f core conftest.err conftest.
$ac_objext \
11245 conftest
$ac_exeext conftest.
$ac_ext
11246 LIBS
=$ac_check_soname_save_LIBS
11248 if ${ac_cv_lib_soname_dbus_1:+false} :; then :
11249 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11250 $as_echo "not found" >&6; }
11253 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_dbus_1" >&5
11254 $as_echo "$ac_cv_lib_soname_dbus_1" >&6; }
11256 cat >>confdefs.h
<<_ACEOF
11257 #define SONAME_LIBDBUS_1 "$ac_cv_lib_soname_dbus_1"
11267 CPPFLAGS
=$ac_save_CPPFLAGS
11268 test -z "$DBUS_CFLAGS" || DBUS_CFLAGS
=`echo " $DBUS_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
11269 test -z "$DBUS_LIBS" || DBUS_LIBS
=`echo " $DBUS_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
11272 if test "x$ac_cv_lib_soname_dbus_1" = "x" -a \
11273 "x$ac_cv_header_DiskArbitration_DiskArbitration_h" != "xyes"; then :
11274 case "x$with_dbus" in
11275 x
) as_fn_append wine_notices
"|libdbus ${notice_platform}development files not found, no dynamic device support." ;;
11277 *) as_fn_error $?
"libdbus ${notice_platform}development files not found, no dynamic device support.
11278 This is an error since --with-dbus was requested." "$LINENO" 5 ;;
11282 if test "x$with_hal" != "xno" -a "x$ac_cv_lib_soname_dbus_1" != x
11284 if ${HAL_CFLAGS:+false} :; then :
11285 if ${PKG_CONFIG+:} false
; then :
11286 HAL_CFLAGS
=`$PKG_CONFIG --cflags hal 2>/dev/null`
11290 if ${HAL_LIBS:+false} :; then :
11291 if ${PKG_CONFIG+:} false
; then :
11292 HAL_LIBS
=`$PKG_CONFIG --libs hal 2>/dev/null`
11296 HAL_LIBS
=${HAL_LIBS:-"-ldbus-1"}
11297 $as_echo "$as_me:${as_lineno-$LINENO}: hal cflags: $HAL_CFLAGS" >&5
11298 $as_echo "$as_me:${as_lineno-$LINENO}: hal libs: $HAL_LIBS" >&5
11299 ac_save_CPPFLAGS
=$CPPFLAGS
11300 CPPFLAGS
="$CPPFLAGS $HAL_CFLAGS"
11301 ac_fn_c_check_header_mongrel
"$LINENO" "hal/libhal.h" "ac_cv_header_hal_libhal_h" "$ac_includes_default"
11302 if test "x$ac_cv_header_hal_libhal_h" = xyes
; then :
11303 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lhal" >&5
11304 $as_echo_n "checking for -lhal... " >&6; }
11305 if ${ac_cv_lib_soname_hal+:} false
; then :
11306 $as_echo_n "(cached) " >&6
11308 ac_check_soname_save_LIBS
=$LIBS
11309 LIBS
="-lhal $HAL_LIBS $LIBS"
11310 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11311 /* end confdefs.h. */
11313 /* Override any GCC internal prototype to avoid an error.
11314 Use char because int might match the return type of a GCC
11315 builtin and then its argument prototype would still apply. */
11319 char libhal_ctx_new ();
11323 return libhal_ctx_new ();
11328 if ac_fn_c_try_link
"$LINENO"; then :
11330 dll
) ac_cv_lib_soname_hal
=`$ac_cv_path_LDD conftest.exe | grep "hal" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11331 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'` ;;
11332 *) ac_cv_lib_soname_hal
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libhal\\.$LIBEXT" | sed -e "s/^.*\\[\\(libhal\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
11333 if ${ac_cv_lib_soname_hal:+false} :; then :
11334 ac_cv_lib_soname_hal
=`$LDD conftest$ac_exeext | grep "libhal\\.$LIBEXT" | sed -e "s/^.*\(libhal\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11338 rm -f core conftest.err conftest.
$ac_objext \
11339 conftest
$ac_exeext conftest.
$ac_ext
11340 LIBS
=$ac_check_soname_save_LIBS
11342 if ${ac_cv_lib_soname_hal:+false} :; then :
11343 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11344 $as_echo "not found" >&6; }
11347 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_hal" >&5
11348 $as_echo "$ac_cv_lib_soname_hal" >&6; }
11350 cat >>confdefs.h
<<_ACEOF
11351 #define SONAME_LIBHAL "$ac_cv_lib_soname_hal"
11361 CPPFLAGS
=$ac_save_CPPFLAGS
11362 test -z "$HAL_CFLAGS" || HAL_CFLAGS
=`echo " $HAL_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
11363 test -z "$HAL_LIBS" || HAL_LIBS
=`echo " $HAL_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
11365 if test "x$ac_cv_lib_soname_hal" = "x" -a \
11366 "x$ac_cv_header_DiskArbitration_DiskArbitration_h" != "xyes"; then :
11367 case "x$with_hal" in
11368 x
) as_fn_append wine_notices
"|libhal ${notice_platform}development files not found, no legacy dynamic device support." ;;
11370 *) as_fn_error $?
"libhal ${notice_platform}development files not found, no legacy dynamic device support.
11371 This is an error since --with-hal was requested." "$LINENO" 5 ;;
11376 if test "x$with_gnutls" != "xno"
11378 if ${GNUTLS_CFLAGS:+false} :; then :
11379 if ${PKG_CONFIG+:} false
; then :
11380 GNUTLS_CFLAGS
=`$PKG_CONFIG --cflags gnutls 2>/dev/null`
11384 if ${GNUTLS_LIBS:+false} :; then :
11385 if ${PKG_CONFIG+:} false
; then :
11386 GNUTLS_LIBS
=`$PKG_CONFIG --libs gnutls 2>/dev/null`
11391 $as_echo "$as_me:${as_lineno-$LINENO}: gnutls cflags: $GNUTLS_CFLAGS" >&5
11392 $as_echo "$as_me:${as_lineno-$LINENO}: gnutls libs: $GNUTLS_LIBS" >&5
11393 ac_save_CPPFLAGS
=$CPPFLAGS
11394 CPPFLAGS
="$CPPFLAGS $GNUTLS_CFLAGS"
11395 ac_fn_c_check_header_mongrel
"$LINENO" "gnutls/gnutls.h" "ac_cv_header_gnutls_gnutls_h" "$ac_includes_default"
11396 if test "x$ac_cv_header_gnutls_gnutls_h" = xyes
; then :
11397 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11398 /* end confdefs.h. */
11399 #include <gnutls/gnutls.h>
11400 #include <gnutls/crypto.h>
11404 static typeof(gnutls_mac_get_key_size) *func; if (func) return 0;
11409 if ac_fn_c_try_compile
"$LINENO"; then :
11410 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lgnutls" >&5
11411 $as_echo_n "checking for -lgnutls... " >&6; }
11412 if ${ac_cv_lib_soname_gnutls+:} false
; then :
11413 $as_echo_n "(cached) " >&6
11415 ac_check_soname_save_LIBS
=$LIBS
11416 LIBS
="-lgnutls $GNUTLS_LIBS $LIBS"
11417 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11418 /* end confdefs.h. */
11420 /* Override any GCC internal prototype to avoid an error.
11421 Use char because int might match the return type of a GCC
11422 builtin and then its argument prototype would still apply. */
11426 char gnutls_global_init ();
11430 return gnutls_global_init ();
11435 if ac_fn_c_try_link
"$LINENO"; then :
11437 dll
) ac_cv_lib_soname_gnutls
=`$ac_cv_path_LDD conftest.exe | grep "gnutls" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11438 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'` ;;
11439 *) 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'`
11440 if ${ac_cv_lib_soname_gnutls:+false} :; then :
11441 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'`
11445 rm -f core conftest.err conftest.
$ac_objext \
11446 conftest
$ac_exeext conftest.
$ac_ext
11447 LIBS
=$ac_check_soname_save_LIBS
11449 if ${ac_cv_lib_soname_gnutls:+false} :; then :
11450 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11451 $as_echo "not found" >&6; }
11454 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_gnutls" >&5
11455 $as_echo "$ac_cv_lib_soname_gnutls" >&6; }
11457 cat >>confdefs.h
<<_ACEOF
11458 #define SONAME_LIBGNUTLS "$ac_cv_lib_soname_gnutls"
11464 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
11470 CPPFLAGS
=$ac_save_CPPFLAGS
11471 test -z "$GNUTLS_CFLAGS" || GNUTLS_CFLAGS
=`echo " $GNUTLS_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
11472 test -z "$GNUTLS_LIBS" || GNUTLS_LIBS
=`echo " $GNUTLS_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
11475 if test "x$ac_cv_lib_soname_gnutls" = "x"; then :
11476 case "x$with_gnutls" in
11477 x
) as_fn_append wine_warnings
"|libgnutls ${notice_platform}development files not found, no schannel support." ;;
11479 *) as_fn_error $?
"libgnutls ${notice_platform}development files not found, no schannel support.
11480 This is an error since --with-gnutls was requested." "$LINENO" 5 ;;
11485 if test "$ac_cv_header_ncurses_h" = "yes"
11487 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lncurses" >&5
11488 $as_echo_n "checking for -lncurses... " >&6; }
11489 if ${ac_cv_lib_soname_ncurses+:} false
; then :
11490 $as_echo_n "(cached) " >&6
11492 ac_check_soname_save_LIBS
=$LIBS
11493 LIBS
="-lncurses $LIBS"
11494 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11495 /* end confdefs.h. */
11497 /* Override any GCC internal prototype to avoid an error.
11498 Use char because int might match the return type of a GCC
11499 builtin and then its argument prototype would still apply. */
11512 if ac_fn_c_try_link
"$LINENO"; then :
11514 dll
) ac_cv_lib_soname_ncurses
=`$ac_cv_path_LDD conftest.exe | grep "ncurses" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11515 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'` ;;
11516 *) 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'`
11517 if ${ac_cv_lib_soname_ncurses:+false} :; then :
11518 ac_cv_lib_soname_ncurses
=`$LDD conftest$ac_exeext | grep "libncursesw\\{0,1\\}\\.$LIBEXT" | sed -e "s/^.*\(libncursesw\\{0,1\\}\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11522 rm -f core conftest.err conftest.
$ac_objext \
11523 conftest
$ac_exeext conftest.
$ac_ext
11524 LIBS
=$ac_check_soname_save_LIBS
11526 if ${ac_cv_lib_soname_ncurses:+false} :; then :
11527 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11528 $as_echo "not found" >&6; }
11531 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_ncurses" >&5
11532 $as_echo "$ac_cv_lib_soname_ncurses" >&6; }
11534 cat >>confdefs.h
<<_ACEOF
11535 #define SONAME_LIBNCURSES "$ac_cv_lib_soname_ncurses"
11538 CURSES_LIBS
="-lncurses"
11540 elif test "$ac_cv_header_curses_h" = "yes"
11542 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lcurses" >&5
11543 $as_echo_n "checking for -lcurses... " >&6; }
11544 if ${ac_cv_lib_soname_curses+:} false
; then :
11545 $as_echo_n "(cached) " >&6
11547 ac_check_soname_save_LIBS
=$LIBS
11548 LIBS
="-lcurses $LIBS"
11549 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11550 /* end confdefs.h. */
11552 /* Override any GCC internal prototype to avoid an error.
11553 Use char because int might match the return type of a GCC
11554 builtin and then its argument prototype would still apply. */
11567 if ac_fn_c_try_link
"$LINENO"; then :
11569 dll
) ac_cv_lib_soname_curses
=`$ac_cv_path_LDD conftest.exe | grep "curses" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11570 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'` ;;
11571 *) ac_cv_lib_soname_curses
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libcurses\\.$LIBEXT" | sed -e "s/^.*\\[\\(libcurses\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
11572 if ${ac_cv_lib_soname_curses:+false} :; then :
11573 ac_cv_lib_soname_curses
=`$LDD conftest$ac_exeext | grep "libcurses\\.$LIBEXT" | sed -e "s/^.*\(libcurses\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11577 rm -f core conftest.err conftest.
$ac_objext \
11578 conftest
$ac_exeext conftest.
$ac_ext
11579 LIBS
=$ac_check_soname_save_LIBS
11581 if ${ac_cv_lib_soname_curses:+false} :; then :
11582 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11583 $as_echo "not found" >&6; }
11586 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_curses" >&5
11587 $as_echo "$ac_cv_lib_soname_curses" >&6; }
11589 cat >>confdefs.h
<<_ACEOF
11590 #define SONAME_LIBCURSES "$ac_cv_lib_soname_curses"
11593 CURSES_LIBS
="-lcurses"
11596 ac_save_LIBS
="$LIBS"
11597 LIBS
="$LIBS $CURSES_LIBS"
11598 for ac_func
in mousemask
11600 ac_fn_c_check_func
"$LINENO" "mousemask" "ac_cv_func_mousemask"
11601 if test "x$ac_cv_func_mousemask" = xyes
; then :
11602 cat >>confdefs.h
<<_ACEOF
11603 #define HAVE_MOUSEMASK 1
11609 LIBS
="$ac_save_LIBS"
11610 if test "x$ac_cv_lib_soname_curses$ac_cv_lib_soname_ncurses" = "x"; then :
11611 case "x$with_curses" in
11612 x
) as_fn_append wine_notices
"|lib(n)curses ${notice_platform}development files not found, curses won't be supported." ;;
11614 *) as_fn_error $?
"lib(n)curses ${notice_platform}development files not found, curses won't be supported.
11615 This is an error since --with-curses was requested." "$LINENO" 5 ;;
11619 if test "x$with_sane" != "xno"
11621 if ${SANE_CFLAGS:+false} :; then :
11622 if ${PKG_CONFIG+:} false
; then :
11623 SANE_CFLAGS
=`$PKG_CONFIG --cflags libsane 2>/dev/null`
11626 test "$cross_compiling" = yes || SANE_CFLAGS
=${SANE_CFLAGS:-`sane-config --cflags 2>/dev/null`}
11627 if ${SANE_LIBS:+false} :; then :
11628 if ${PKG_CONFIG+:} false
; then :
11629 SANE_LIBS
=`$PKG_CONFIG --libs libsane 2>/dev/null`
11632 test "$cross_compiling" = yes || SANE_LIBS
=${SANE_LIBS:-`sane-config --ldflags 2>/dev/null`}
11634 $as_echo "$as_me:${as_lineno-$LINENO}: libsane cflags: $SANE_CFLAGS" >&5
11635 $as_echo "$as_me:${as_lineno-$LINENO}: libsane libs: $SANE_LIBS" >&5
11636 ac_save_CPPFLAGS
=$CPPFLAGS
11637 CPPFLAGS
="$CPPFLAGS $SANE_CFLAGS"
11638 ac_fn_c_check_header_mongrel
"$LINENO" "sane/sane.h" "ac_cv_header_sane_sane_h" "$ac_includes_default"
11639 if test "x$ac_cv_header_sane_sane_h" = xyes
; then :
11640 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lsane" >&5
11641 $as_echo_n "checking for -lsane... " >&6; }
11642 if ${ac_cv_lib_soname_sane+:} false
; then :
11643 $as_echo_n "(cached) " >&6
11645 ac_check_soname_save_LIBS
=$LIBS
11646 LIBS
="-lsane $SANE_LIBS $LIBS"
11647 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11648 /* end confdefs.h. */
11650 /* Override any GCC internal prototype to avoid an error.
11651 Use char because int might match the return type of a GCC
11652 builtin and then its argument prototype would still apply. */
11660 return sane_init ();
11665 if ac_fn_c_try_link
"$LINENO"; then :
11667 dll
) ac_cv_lib_soname_sane
=`$ac_cv_path_LDD conftest.exe | grep "sane" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11668 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'` ;;
11669 *) ac_cv_lib_soname_sane
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libsane\\.$LIBEXT" | sed -e "s/^.*\\[\\(libsane\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
11670 if ${ac_cv_lib_soname_sane:+false} :; then :
11671 ac_cv_lib_soname_sane
=`$LDD conftest$ac_exeext | grep "libsane\\.$LIBEXT" | sed -e "s/^.*\(libsane\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11675 rm -f core conftest.err conftest.
$ac_objext \
11676 conftest
$ac_exeext conftest.
$ac_ext
11677 LIBS
=$ac_check_soname_save_LIBS
11679 if ${ac_cv_lib_soname_sane:+false} :; then :
11680 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11681 $as_echo "not found" >&6; }
11684 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_sane" >&5
11685 $as_echo "$ac_cv_lib_soname_sane" >&6; }
11687 cat >>confdefs.h
<<_ACEOF
11688 #define SONAME_LIBSANE "$ac_cv_lib_soname_sane"
11698 CPPFLAGS
=$ac_save_CPPFLAGS
11699 test -z "$SANE_CFLAGS" || SANE_CFLAGS
=`echo " $SANE_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
11700 test -z "$SANE_LIBS" || SANE_LIBS
=`echo " $SANE_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
11703 if test "x$ac_cv_lib_soname_sane" = "x"; then :
11704 case "x$with_sane" in
11705 x
) as_fn_append wine_notices
"|libsane ${notice_platform}development files not found, scanners won't be supported." ;;
11707 *) as_fn_error $?
"libsane ${notice_platform}development files not found, scanners won't be supported.
11708 This is an error since --with-sane was requested." "$LINENO" 5 ;;
11712 if test "x$with_v4l" != "xno"
11714 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lv4l1" >&5
11715 $as_echo_n "checking for -lv4l1... " >&6; }
11716 if ${ac_cv_lib_soname_v4l1+:} false
; then :
11717 $as_echo_n "(cached) " >&6
11719 ac_check_soname_save_LIBS
=$LIBS
11720 LIBS
="-lv4l1 $LIBS"
11721 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11722 /* end confdefs.h. */
11724 /* Override any GCC internal prototype to avoid an error.
11725 Use char because int might match the return type of a GCC
11726 builtin and then its argument prototype would still apply. */
11734 return v4l1_open ();
11739 if ac_fn_c_try_link
"$LINENO"; then :
11741 dll
) ac_cv_lib_soname_v4l1
=`$ac_cv_path_LDD conftest.exe | grep "v4l1" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11742 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'` ;;
11743 *) ac_cv_lib_soname_v4l1
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libv4l1\\.$LIBEXT" | sed -e "s/^.*\\[\\(libv4l1\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
11744 if ${ac_cv_lib_soname_v4l1:+false} :; then :
11745 ac_cv_lib_soname_v4l1
=`$LDD conftest$ac_exeext | grep "libv4l1\\.$LIBEXT" | sed -e "s/^.*\(libv4l1\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11749 rm -f core conftest.err conftest.
$ac_objext \
11750 conftest
$ac_exeext conftest.
$ac_ext
11751 LIBS
=$ac_check_soname_save_LIBS
11753 if ${ac_cv_lib_soname_v4l1:+false} :; then :
11754 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11755 $as_echo "not found" >&6; }
11758 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_v4l1" >&5
11759 $as_echo "$ac_cv_lib_soname_v4l1" >&6; }
11761 cat >>confdefs.h
<<_ACEOF
11762 #define SONAME_LIBV4L1 "$ac_cv_lib_soname_v4l1"
11768 if test "x$ac_cv_lib_soname_v4l1" = "x"; then :
11769 case "x$with_v4l" in
11770 x
) as_fn_append wine_notices
"|libv4l ${notice_platform}development files not found." ;;
11772 *) as_fn_error $?
"libv4l ${notice_platform}development files not found.
11773 This is an error since --with-v4l was requested." "$LINENO" 5 ;;
11777 if test "x$with_gphoto" != "xno"
11779 if ${GPHOTO2_CFLAGS:+false} :; then :
11780 if ${PKG_CONFIG+:} false
; then :
11781 GPHOTO2_CFLAGS
=`$PKG_CONFIG --cflags libgphoto2 2>/dev/null`
11784 test "$cross_compiling" = yes || GPHOTO2_CFLAGS
=${GPHOTO2_CFLAGS:-`gphoto2-config --cflags 2>/dev/null`}
11785 if ${GPHOTO2_LIBS:+false} :; then :
11786 if ${PKG_CONFIG+:} false
; then :
11787 GPHOTO2_LIBS
=`$PKG_CONFIG --libs libgphoto2 2>/dev/null`
11790 test "$cross_compiling" = yes || GPHOTO2_LIBS
=${GPHOTO2_LIBS:-`gphoto2-config --libs 2>/dev/null`}
11791 GPHOTO2_LIBS
=${GPHOTO2_LIBS:-"-lgphoto2"}
11792 $as_echo "$as_me:${as_lineno-$LINENO}: libgphoto2 cflags: $GPHOTO2_CFLAGS" >&5
11793 $as_echo "$as_me:${as_lineno-$LINENO}: libgphoto2 libs: $GPHOTO2_LIBS" >&5
11794 ac_save_CPPFLAGS
=$CPPFLAGS
11795 CPPFLAGS
="$CPPFLAGS $GPHOTO2_CFLAGS"
11796 ac_fn_c_check_header_mongrel
"$LINENO" "gphoto2-camera.h" "ac_cv_header_gphoto2_camera_h" "$ac_includes_default"
11797 if test "x$ac_cv_header_gphoto2_camera_h" = xyes
; then :
11798 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gp_camera_new in -lgphoto2" >&5
11799 $as_echo_n "checking for gp_camera_new in -lgphoto2... " >&6; }
11800 if ${ac_cv_lib_gphoto2_gp_camera_new+:} false
; then :
11801 $as_echo_n "(cached) " >&6
11803 ac_check_lib_save_LIBS
=$LIBS
11804 LIBS
="-lgphoto2 $GPHOTO2_LIBS $LIBS"
11805 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11806 /* end confdefs.h. */
11808 /* Override any GCC internal prototype to avoid an error.
11809 Use char because int might match the return type of a GCC
11810 builtin and then its argument prototype would still apply. */
11814 char gp_camera_new ();
11818 return gp_camera_new ();
11823 if ac_fn_c_try_link
"$LINENO"; then :
11824 ac_cv_lib_gphoto2_gp_camera_new
=yes
11826 ac_cv_lib_gphoto2_gp_camera_new
=no
11828 rm -f core conftest.err conftest.
$ac_objext \
11829 conftest
$ac_exeext conftest.
$ac_ext
11830 LIBS
=$ac_check_lib_save_LIBS
11832 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gphoto2_gp_camera_new" >&5
11833 $as_echo "$ac_cv_lib_gphoto2_gp_camera_new" >&6; }
11834 if test "x$ac_cv_lib_gphoto2_gp_camera_new" = xyes
; then :
11836 $as_echo "#define HAVE_GPHOTO2 1" >>confdefs.h
11839 GPHOTO2_LIBS
=""; GPHOTO2_CFLAGS
=""
11843 GPHOTO2_LIBS
=""; GPHOTO2_CFLAGS
=""
11847 CPPFLAGS
=$ac_save_CPPFLAGS
11848 test -z "$GPHOTO2_CFLAGS" || GPHOTO2_CFLAGS
=`echo " $GPHOTO2_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
11849 test -z "$GPHOTO2_LIBS" || GPHOTO2_LIBS
=`echo " $GPHOTO2_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
11851 if ${GPHOTO2_PORT_CFLAGS:+false} :; then :
11852 if ${PKG_CONFIG+:} false
; then :
11853 GPHOTO2_PORT_CFLAGS
=`$PKG_CONFIG --cflags libgphoto2_port 2>/dev/null`
11856 test "$cross_compiling" = yes || GPHOTO2_PORT_CFLAGS
=${GPHOTO2_PORT_CFLAGS:-`gphoto2-port-config --cflags 2>/dev/null`}
11857 if ${GPHOTO2_PORT_LIBS:+false} :; then :
11858 if ${PKG_CONFIG+:} false
; then :
11859 GPHOTO2_PORT_LIBS
=`$PKG_CONFIG --libs libgphoto2_port 2>/dev/null`
11862 test "$cross_compiling" = yes || GPHOTO2_PORT_LIBS
=${GPHOTO2_PORT_LIBS:-`gphoto2-port-config --libs 2>/dev/null`}
11863 GPHOTO2_PORT_LIBS
=${GPHOTO2_PORT_LIBS:-"-lgphoto2_port"}
11864 $as_echo "$as_me:${as_lineno-$LINENO}: libgphoto2_port cflags: $GPHOTO2_PORT_CFLAGS" >&5
11865 $as_echo "$as_me:${as_lineno-$LINENO}: libgphoto2_port libs: $GPHOTO2_PORT_LIBS" >&5
11866 ac_save_CPPFLAGS
=$CPPFLAGS
11867 CPPFLAGS
="$CPPFLAGS $GPHOTO2_PORT_CFLAGS"
11868 ac_fn_c_check_header_mongrel
"$LINENO" "gphoto2-port.h" "ac_cv_header_gphoto2_port_h" "$ac_includes_default"
11869 if test "x$ac_cv_header_gphoto2_port_h" = xyes
; then :
11870 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gp_port_info_list_new in -lgphoto2_port" >&5
11871 $as_echo_n "checking for gp_port_info_list_new in -lgphoto2_port... " >&6; }
11872 if ${ac_cv_lib_gphoto2_port_gp_port_info_list_new+:} false
; then :
11873 $as_echo_n "(cached) " >&6
11875 ac_check_lib_save_LIBS
=$LIBS
11876 LIBS
="-lgphoto2_port $GPHOTO2_PORT_LIBS $LIBS"
11877 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11878 /* end confdefs.h. */
11880 /* Override any GCC internal prototype to avoid an error.
11881 Use char because int might match the return type of a GCC
11882 builtin and then its argument prototype would still apply. */
11886 char gp_port_info_list_new ();
11890 return gp_port_info_list_new ();
11895 if ac_fn_c_try_link
"$LINENO"; then :
11896 ac_cv_lib_gphoto2_port_gp_port_info_list_new
=yes
11898 ac_cv_lib_gphoto2_port_gp_port_info_list_new
=no
11900 rm -f core conftest.err conftest.
$ac_objext \
11901 conftest
$ac_exeext conftest.
$ac_ext
11902 LIBS
=$ac_check_lib_save_LIBS
11904 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gphoto2_port_gp_port_info_list_new" >&5
11905 $as_echo "$ac_cv_lib_gphoto2_port_gp_port_info_list_new" >&6; }
11906 if test "x$ac_cv_lib_gphoto2_port_gp_port_info_list_new" = xyes
; then :
11908 $as_echo "#define HAVE_GPHOTO2_PORT 1" >>confdefs.h
11911 GPHOTO2_PORT_LIBS
=""; GPHOTO2_PORT_CFLAGS
=""
11915 GPHOTO2_PORT_LIBS
=""; GPHOTO2_PORT_CFLAGS
=""
11919 CPPFLAGS
=$ac_save_CPPFLAGS
11920 test -z "$GPHOTO2_PORT_CFLAGS" || GPHOTO2_PORT_CFLAGS
=`echo " $GPHOTO2_PORT_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
11921 test -z "$GPHOTO2_PORT_LIBS" || GPHOTO2_PORT_LIBS
=`echo " $GPHOTO2_PORT_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
11924 if test "$ac_cv_lib_gphoto2_gp_camera_new" != "yes"; then :
11925 case "x$with_gphoto" in
11926 x
) as_fn_append wine_notices
"|libgphoto2 ${notice_platform}development files not found, digital cameras won't be supported." ;;
11928 *) as_fn_error $?
"libgphoto2 ${notice_platform}development files not found, digital cameras won't be supported.
11929 This is an error since --with-gphoto was requested." "$LINENO" 5 ;;
11932 if test "$ac_cv_lib_gphoto2_port_gp_port_info_list_new" != "yes"; then :
11933 case "x$with_gphoto" in
11934 x
) as_fn_append wine_notices
"|libgphoto2_port ${notice_platform}development files not found, digital cameras won't be auto-detected." ;;
11936 *) as_fn_error $?
"libgphoto2_port ${notice_platform}development files not found, digital cameras won't be auto-detected.
11937 This is an error since --with-gphoto was requested." "$LINENO" 5 ;;
11942 if test "$ac_cv_header_resolv_h" = "yes"
11944 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for resolver library" >&5
11945 $as_echo_n "checking for resolver library... " >&6; }
11946 if ${ac_cv_have_resolv+:} false
; then :
11947 $as_echo_n "(cached) " >&6
11949 ac_save_LIBS
="$LIBS"
11950 for lib
in '' -lresolv
11952 LIBS
="$lib $ac_save_LIBS"
11953 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11954 /* end confdefs.h. */
11955 #ifdef HAVE_NETINET_IN_H
11956 #include <netinet/in.h>
11958 #include <resolv.h>
11962 if (!(_res.options & RES_INIT)) res_init(); res_query("foo",ns_c_in,0,0,0)
11967 if ac_fn_c_try_link
"$LINENO"; then :
11968 ac_cv_have_resolv
=${lib:-"none required"}
11970 ac_cv_have_resolv
="not found"
11972 rm -f core conftest.err conftest.
$ac_objext \
11973 conftest
$ac_exeext conftest.
$ac_ext
11974 test "x$ac_cv_have_resolv" = "xnot found" ||
break
11976 LIBS
="$ac_save_LIBS"
11978 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_resolv" >&5
11979 $as_echo "$ac_cv_have_resolv" >&6; }
11981 case "$ac_cv_have_resolv" in
11985 $as_echo "#define HAVE_RESOLV 1" >>confdefs.h
11988 $as_echo "#define HAVE_RESOLV 1" >>confdefs.h
11990 RESOLV_LIBS
=$ac_cv_have_resolv
11995 if test "x$with_cms" != "xno"
11997 if ${LCMS2_CFLAGS:+false} :; then :
11998 if ${PKG_CONFIG+:} false
; then :
11999 LCMS2_CFLAGS
=`$PKG_CONFIG --cflags lcms2 2>/dev/null`
12003 if ${LCMS2_LIBS:+false} :; then :
12004 if ${PKG_CONFIG+:} false
; then :
12005 LCMS2_LIBS
=`$PKG_CONFIG --libs lcms2 2>/dev/null`
12009 LCMS2_LIBS
=${LCMS2_LIBS:-"-llcms2"}
12010 $as_echo "$as_me:${as_lineno-$LINENO}: lcms2 cflags: $LCMS2_CFLAGS" >&5
12011 $as_echo "$as_me:${as_lineno-$LINENO}: lcms2 libs: $LCMS2_LIBS" >&5
12012 ac_save_CPPFLAGS
=$CPPFLAGS
12013 CPPFLAGS
="$CPPFLAGS $LCMS2_CFLAGS"
12014 for ac_header
in lcms2.h
12016 ac_fn_c_check_header_mongrel
"$LINENO" "lcms2.h" "ac_cv_header_lcms2_h" "$ac_includes_default"
12017 if test "x$ac_cv_header_lcms2_h" = xyes
; then :
12018 cat >>confdefs.h
<<_ACEOF
12019 #define HAVE_LCMS2_H 1
12026 if test "$ac_cv_header_lcms2_h" = "yes"
12028 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cmsOpenProfileFromFile in -llcms2" >&5
12029 $as_echo_n "checking for cmsOpenProfileFromFile in -llcms2... " >&6; }
12030 if ${ac_cv_lib_lcms2_cmsOpenProfileFromFile+:} false
; then :
12031 $as_echo_n "(cached) " >&6
12033 ac_check_lib_save_LIBS
=$LIBS
12034 LIBS
="-llcms2 $LCMS2_LIBS $LIBS"
12035 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12036 /* end confdefs.h. */
12038 /* Override any GCC internal prototype to avoid an error.
12039 Use char because int might match the return type of a GCC
12040 builtin and then its argument prototype would still apply. */
12044 char cmsOpenProfileFromFile ();
12048 return cmsOpenProfileFromFile ();
12053 if ac_fn_c_try_link
"$LINENO"; then :
12054 ac_cv_lib_lcms2_cmsOpenProfileFromFile
=yes
12056 ac_cv_lib_lcms2_cmsOpenProfileFromFile
=no
12058 rm -f core conftest.err conftest.
$ac_objext \
12059 conftest
$ac_exeext conftest.
$ac_ext
12060 LIBS
=$ac_check_lib_save_LIBS
12062 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_lcms2_cmsOpenProfileFromFile" >&5
12063 $as_echo "$ac_cv_lib_lcms2_cmsOpenProfileFromFile" >&6; }
12064 if test "x$ac_cv_lib_lcms2_cmsOpenProfileFromFile" = xyes
; then :
12066 $as_echo "#define HAVE_LCMS2 1" >>confdefs.h
12076 CPPFLAGS
=$ac_save_CPPFLAGS
12077 test -z "$LCMS2_CFLAGS" || LCMS2_CFLAGS
=`echo " $LCMS2_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
12078 test -z "$LCMS2_LIBS" || LCMS2_LIBS
=`echo " $LCMS2_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
12081 if test "$ac_cv_lib_lcms2_cmsOpenProfileFromFile" != "yes"; then :
12082 case "x$with_cms" in
12083 x
) as_fn_append wine_notices
"|liblcms2 ${notice_platform}development files not found, Color Management won't be supported." ;;
12085 *) as_fn_error $?
"liblcms2 ${notice_platform}development files not found, Color Management won't be supported.
12086 This is an error since --with-cms was requested." "$LINENO" 5 ;;
12090 if test "x$with_freetype" != "xno"
12092 if ${FREETYPE_CFLAGS:+false} :; then :
12093 if ${PKG_CONFIG+:} false
; then :
12094 FREETYPE_CFLAGS
=`$PKG_CONFIG --cflags freetype2 2>/dev/null`
12097 test "$cross_compiling" = yes || FREETYPE_CFLAGS
=${FREETYPE_CFLAGS:-`(freetype-config --cflags || freetype2-config --cflags) 2>/dev/null`}
12098 if ${FREETYPE_LIBS:+false} :; then :
12099 if ${PKG_CONFIG+:} false
; then :
12100 FREETYPE_LIBS
=`$PKG_CONFIG --libs freetype2 2>/dev/null`
12103 test "$cross_compiling" = yes || FREETYPE_LIBS
=${FREETYPE_LIBS:-`(freetype-config --libs || freetype2-config --libs) 2>/dev/null`}
12104 FREETYPE_LIBS
=${FREETYPE_LIBS:-"-lfreetype"}
12105 $as_echo "$as_me:${as_lineno-$LINENO}: freetype2 cflags: $FREETYPE_CFLAGS" >&5
12106 $as_echo "$as_me:${as_lineno-$LINENO}: freetype2 libs: $FREETYPE_LIBS" >&5
12107 ac_save_CPPFLAGS
=$CPPFLAGS
12108 CPPFLAGS
="$CPPFLAGS $FREETYPE_CFLAGS"
12109 for ac_header
in ft2build.h
12111 ac_fn_c_check_header_mongrel
"$LINENO" "ft2build.h" "ac_cv_header_ft2build_h" "$ac_includes_default"
12112 if test "x$ac_cv_header_ft2build_h" = xyes
; then :
12113 cat >>confdefs.h
<<_ACEOF
12114 #define HAVE_FT2BUILD_H 1
12121 if test "$ac_cv_header_ft2build_h" = "yes"
12123 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lfreetype" >&5
12124 $as_echo_n "checking for -lfreetype... " >&6; }
12125 if ${ac_cv_lib_soname_freetype+:} false
; then :
12126 $as_echo_n "(cached) " >&6
12128 ac_check_soname_save_LIBS
=$LIBS
12129 LIBS
="-lfreetype $FREETYPE_LIBS $LIBS"
12130 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12131 /* end confdefs.h. */
12133 /* Override any GCC internal prototype to avoid an error.
12134 Use char because int might match the return type of a GCC
12135 builtin and then its argument prototype would still apply. */
12139 char FT_Init_FreeType ();
12143 return FT_Init_FreeType ();
12148 if ac_fn_c_try_link
"$LINENO"; then :
12150 dll
) ac_cv_lib_soname_freetype
=`$ac_cv_path_LDD conftest.exe | grep "freetype" | sed -e "s/dll.*/dll/"';2,$d'` ;;
12151 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'` ;;
12152 *) ac_cv_lib_soname_freetype
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libfreetype\\.$LIBEXT" | sed -e "s/^.*\\[\\(libfreetype\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
12153 if ${ac_cv_lib_soname_freetype:+false} :; then :
12154 ac_cv_lib_soname_freetype
=`$LDD conftest$ac_exeext | grep "libfreetype\\.$LIBEXT" | sed -e "s/^.*\(libfreetype\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
12158 rm -f core conftest.err conftest.
$ac_objext \
12159 conftest
$ac_exeext conftest.
$ac_ext
12160 LIBS
=$ac_check_soname_save_LIBS
12162 if ${ac_cv_lib_soname_freetype:+false} :; then :
12163 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
12164 $as_echo "not found" >&6; }
12167 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_freetype" >&5
12168 $as_echo "$ac_cv_lib_soname_freetype" >&6; }
12170 cat >>confdefs.h
<<_ACEOF
12171 #define SONAME_LIBFREETYPE "$ac_cv_lib_soname_freetype"
12175 $as_echo "#define HAVE_FREETYPE 1" >>confdefs.h
12177 ac_fn_c_check_type
"$LINENO" "FT_TrueTypeEngineType" "ac_cv_type_FT_TrueTypeEngineType" "#include <ft2build.h>
12178 #include FT_MODULE_H
12180 if test "x$ac_cv_type_FT_TrueTypeEngineType" = xyes
; then :
12182 cat >>confdefs.h
<<_ACEOF
12183 #define HAVE_FT_TRUETYPEENGINETYPE 1
12194 CPPFLAGS
=$ac_save_CPPFLAGS
12195 test -z "$FREETYPE_CFLAGS" || FREETYPE_CFLAGS
=`echo " $FREETYPE_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
12196 test -z "$FREETYPE_LIBS" || FREETYPE_LIBS
=`echo " $FREETYPE_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
12199 if test "x$ac_cv_lib_soname_freetype" = x
; then :
12200 case "x$with_freetype" in
12202 *) as_fn_error $?
"FreeType ${notice_platform}development files not found. Fonts will not be built.
12203 Use the --without-freetype option if you really want this." "$LINENO" 5 ;;
12206 test "x$ac_cv_lib_soname_freetype" = x
&& enable_fonts
=${enable_fonts:-no}
12208 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for parport header/ppdev.h" >&5
12209 $as_echo_n "checking for parport header/ppdev.h... " >&6; }
12210 if ${ac_cv_c_ppdev+:} false
; then :
12211 $as_echo_n "(cached) " >&6
12213 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12214 /* end confdefs.h. */
12215 #ifdef HAVE_SYS_IOCTL_H
12216 # include <sys/ioctl.h>
12218 #include <linux/ppdev.h>
12222 ioctl (1,PPCLAIM,0)
12227 if ac_fn_c_try_compile
"$LINENO"; then :
12228 ac_cv_c_ppdev
="yes"
12232 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
12234 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_ppdev" >&5
12235 $as_echo "$ac_cv_c_ppdev" >&6; }
12236 if test "$ac_cv_c_ppdev" = "yes"
12239 $as_echo "#define HAVE_PPDEV 1" >>confdefs.h
12243 ac_wine_check_funcs_save_LIBS
="$LIBS"
12244 LIBS
="$LIBS $PTHREAD_LIBS"
12246 pthread_attr_get_np \
12247 pthread_getattr_np \
12248 pthread_getthreadid_np \
12249 pthread_get_stackaddr_np \
12250 pthread_get_stacksize_np
12252 as_ac_var
=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
12253 ac_fn_c_check_func
"$LINENO" "$ac_func" "$as_ac_var"
12254 if eval test \"x\$
"$as_ac_var"\" = x
"yes"; then :
12255 cat >>confdefs.h
<<_ACEOF
12256 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
12262 LIBS
="$ac_wine_check_funcs_save_LIBS"
12264 if test "$ac_cv_header_zlib_h" = "yes"
12266 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for inflate in -lz" >&5
12267 $as_echo_n "checking for inflate in -lz... " >&6; }
12268 if ${ac_cv_lib_z_inflate+:} false
; then :
12269 $as_echo_n "(cached) " >&6
12271 ac_check_lib_save_LIBS
=$LIBS
12273 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12274 /* end confdefs.h. */
12276 /* Override any GCC internal prototype to avoid an error.
12277 Use char because int might match the return type of a GCC
12278 builtin and then its argument prototype would still apply. */
12291 if ac_fn_c_try_link
"$LINENO"; then :
12292 ac_cv_lib_z_inflate
=yes
12294 ac_cv_lib_z_inflate
=no
12296 rm -f core conftest.err conftest.
$ac_objext \
12297 conftest
$ac_exeext conftest.
$ac_ext
12298 LIBS
=$ac_check_lib_save_LIBS
12300 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_z_inflate" >&5
12301 $as_echo "$ac_cv_lib_z_inflate" >&6; }
12302 if test "x$ac_cv_lib_z_inflate" = xyes
; then :
12304 $as_echo "#define HAVE_ZLIB 1" >>confdefs.h
12311 if test "x$Z_LIBS" = "x"; then :
12312 case "x$with_zlib" in
12313 x
) as_fn_append wine_notices
"|libz ${notice_platform}development files not found, data compression won't be supported." ;;
12315 *) as_fn_error $?
"libz ${notice_platform}development files not found, data compression won't be supported.
12316 This is an error since --with-zlib was requested." "$LINENO" 5 ;;
12320 if test "x$enable_tools" != xno
12322 if test "$ac_cv_header_gettext_po_h" = "yes"
12324 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for po_message_msgctxt in -lgettextpo" >&5
12325 $as_echo_n "checking for po_message_msgctxt in -lgettextpo... " >&6; }
12326 if ${ac_cv_lib_gettextpo_po_message_msgctxt+:} false
; then :
12327 $as_echo_n "(cached) " >&6
12329 ac_check_lib_save_LIBS
=$LIBS
12330 LIBS
="-lgettextpo $LIBS"
12331 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12332 /* end confdefs.h. */
12334 /* Override any GCC internal prototype to avoid an error.
12335 Use char because int might match the return type of a GCC
12336 builtin and then its argument prototype would still apply. */
12340 char po_message_msgctxt ();
12344 return po_message_msgctxt ();
12349 if ac_fn_c_try_link
"$LINENO"; then :
12350 ac_cv_lib_gettextpo_po_message_msgctxt
=yes
12352 ac_cv_lib_gettextpo_po_message_msgctxt
=no
12354 rm -f core conftest.err conftest.
$ac_objext \
12355 conftest
$ac_exeext conftest.
$ac_ext
12356 LIBS
=$ac_check_lib_save_LIBS
12358 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gettextpo_po_message_msgctxt" >&5
12359 $as_echo "$ac_cv_lib_gettextpo_po_message_msgctxt" >&6; }
12360 if test "x$ac_cv_lib_gettextpo_po_message_msgctxt" = xyes
; then :
12362 $as_echo "#define HAVE_LIBGETTEXTPO 1" >>confdefs.h
12364 GETTEXTPO_LIBS
="-lgettextpo"
12369 test "x$with_gettextpo" != xyes ||
if test "x$GETTEXTPO_LIBS" = "x"; then :
12370 case "x$with_gettextpo" in
12371 x
) as_fn_append wine_notices
"|GetText ${notice_platform}development files not found (or too old), po files can't be rebuilt." ;;
12373 *) as_fn_error $?
"GetText ${notice_platform}development files not found (or too old), po files can't be rebuilt.
12374 This is an error since --with-gettextpo was requested." "$LINENO" 5 ;;
12379 if test "x$with_gstreamer" != "xno"
12381 if ${GSTREAMER_CFLAGS:+false} :; then :
12382 if ${PKG_CONFIG+:} false
; then :
12383 GSTREAMER_CFLAGS
=`$PKG_CONFIG --cflags gstreamer-app-0.10 2>/dev/null`
12387 if ${GSTREAMER_LIBS:+false} :; then :
12388 if ${PKG_CONFIG+:} false
; then :
12389 GSTREAMER_LIBS
=`$PKG_CONFIG --libs gstreamer-app-0.10 2>/dev/null`
12394 $as_echo "$as_me:${as_lineno-$LINENO}: gstreamer-app-0.10 cflags: $GSTREAMER_CFLAGS" >&5
12395 $as_echo "$as_me:${as_lineno-$LINENO}: gstreamer-app-0.10 libs: $GSTREAMER_LIBS" >&5
12396 ac_save_CPPFLAGS
=$CPPFLAGS
12397 CPPFLAGS
="$CPPFLAGS $GSTREAMER_CFLAGS"
12399 for i
in $GSTREAMER_CFLAGS
12402 -I*) ac_gst_incl
="$ac_gst_incl $i";;
12405 GSTREAMER_CFLAGS
=$ac_gst_incl
12406 CPPFLAGS
="$ac_save_CPPFLAGS $GSTREAMER_CFLAGS"
12407 ac_fn_c_check_header_mongrel
"$LINENO" "gst/gstpad.h" "ac_cv_header_gst_gstpad_h" "$ac_includes_default"
12408 if test "x$ac_cv_header_gst_gstpad_h" = xyes
; then :
12409 ac_fn_c_check_header_mongrel
"$LINENO" "gst/app/gstappsink.h" "ac_cv_header_gst_app_gstappsink_h" "$ac_includes_default"
12410 if test "x$ac_cv_header_gst_app_gstappsink_h" = xyes
; then :
12411 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether gint64 defined by gst/app/gstappsink.h is indeed 64-bit" >&5
12412 $as_echo_n "checking whether gint64 defined by gst/app/gstappsink.h is indeed 64-bit... " >&6; }
12413 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12414 /* end confdefs.h. */
12415 #include <gst/app/gstappsink.h>
12419 static int a[sizeof(gint64) > 4 ? 1 : -1]; if (a[0]) return 0;
12424 if ac_fn_c_try_compile
"$LINENO"; then :
12425 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
12426 $as_echo "yes" >&6; }
12427 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gst_pad_get_caps_reffed in -lgstreamer-0.10" >&5
12428 $as_echo_n "checking for gst_pad_get_caps_reffed in -lgstreamer-0.10... " >&6; }
12429 if ${ac_cv_lib_gstreamer_0_10_gst_pad_get_caps_reffed+:} false
; then :
12430 $as_echo_n "(cached) " >&6
12432 ac_check_lib_save_LIBS
=$LIBS
12433 LIBS
="-lgstreamer-0.10 $LIBS"
12434 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12435 /* end confdefs.h. */
12437 /* Override any GCC internal prototype to avoid an error.
12438 Use char because int might match the return type of a GCC
12439 builtin and then its argument prototype would still apply. */
12443 char gst_pad_get_caps_reffed ();
12447 return gst_pad_get_caps_reffed ();
12452 if ac_fn_c_try_link
"$LINENO"; then :
12453 ac_cv_lib_gstreamer_0_10_gst_pad_get_caps_reffed
=yes
12455 ac_cv_lib_gstreamer_0_10_gst_pad_get_caps_reffed
=no
12457 rm -f core conftest.err conftest.
$ac_objext \
12458 conftest
$ac_exeext conftest.
$ac_ext
12459 LIBS
=$ac_check_lib_save_LIBS
12461 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gstreamer_0_10_gst_pad_get_caps_reffed" >&5
12462 $as_echo "$ac_cv_lib_gstreamer_0_10_gst_pad_get_caps_reffed" >&6; }
12463 if test "x$ac_cv_lib_gstreamer_0_10_gst_pad_get_caps_reffed" = xyes
; then :
12464 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gst_app_buffer_new in -lgstapp-0.10" >&5
12465 $as_echo_n "checking for gst_app_buffer_new in -lgstapp-0.10... " >&6; }
12466 if ${ac_cv_lib_gstapp_0_10_gst_app_buffer_new+:} false
; then :
12467 $as_echo_n "(cached) " >&6
12469 ac_check_lib_save_LIBS
=$LIBS
12470 LIBS
="-lgstapp-0.10 $GSTREAMER_LIBS $LIBS"
12471 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12472 /* end confdefs.h. */
12474 /* Override any GCC internal prototype to avoid an error.
12475 Use char because int might match the return type of a GCC
12476 builtin and then its argument prototype would still apply. */
12480 char gst_app_buffer_new ();
12484 return gst_app_buffer_new ();
12489 if ac_fn_c_try_link
"$LINENO"; then :
12490 ac_cv_lib_gstapp_0_10_gst_app_buffer_new
=yes
12492 ac_cv_lib_gstapp_0_10_gst_app_buffer_new
=no
12494 rm -f core conftest.err conftest.
$ac_objext \
12495 conftest
$ac_exeext conftest.
$ac_ext
12496 LIBS
=$ac_check_lib_save_LIBS
12498 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gstapp_0_10_gst_app_buffer_new" >&5
12499 $as_echo "$ac_cv_lib_gstapp_0_10_gst_app_buffer_new" >&6; }
12500 if test "x$ac_cv_lib_gstapp_0_10_gst_app_buffer_new" = xyes
; then :
12507 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12508 $as_echo "no" >&6; }
12510 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
12515 GSTREAMER_CFLAGS
=""
12519 CPPFLAGS
=$ac_save_CPPFLAGS
12520 test -z "$GSTREAMER_CFLAGS" || GSTREAMER_CFLAGS
=`echo " $GSTREAMER_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
12521 test -z "$GSTREAMER_LIBS" || GSTREAMER_LIBS
=`echo " $GSTREAMER_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
12524 if test "x$ac_cv_lib_gstapp_0_10_gst_app_buffer_new" != xyes
-a "x$ac_cv_header_QuickTime_ImageCompression_h" != xyes
; then :
12525 case "x$with_gstreamer" in
12526 x
) as_fn_append wine_notices
"|gstreamer-0.10 base plugins ${notice_platform}development files not found, gstreamer support disabled" ;;
12528 *) as_fn_error $?
"gstreamer-0.10 base plugins ${notice_platform}development files not found, gstreamer support disabled
12529 This is an error since --with-gstreamer was requested." "$LINENO" 5 ;;
12532 test "x$ac_cv_lib_gstapp_0_10_gst_app_buffer_new" = xyes || enable_winegstreamer
=${enable_winegstreamer:-no}
12536 if test "$ac_cv_header_sys_asoundlib_h" = "yes" -o "$ac_cv_header_alsa_asoundlib_h" = "yes"
12538 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for snd_pcm_hw_params_get_access_mask in -lasound" >&5
12539 $as_echo_n "checking for snd_pcm_hw_params_get_access_mask in -lasound... " >&6; }
12540 if ${ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask+:} false
; then :
12541 $as_echo_n "(cached) " >&6
12543 ac_check_lib_save_LIBS
=$LIBS
12544 LIBS
="-lasound $LIBS"
12545 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12546 /* end confdefs.h. */
12548 /* Override any GCC internal prototype to avoid an error.
12549 Use char because int might match the return type of a GCC
12550 builtin and then its argument prototype would still apply. */
12554 char snd_pcm_hw_params_get_access_mask ();
12558 return snd_pcm_hw_params_get_access_mask ();
12563 if ac_fn_c_try_link
"$LINENO"; then :
12564 ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask
=yes
12566 ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask
=no
12568 rm -f core conftest.err conftest.
$ac_objext \
12569 conftest
$ac_exeext conftest.
$ac_ext
12570 LIBS
=$ac_check_lib_save_LIBS
12572 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask" >&5
12573 $as_echo "$ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask" >&6; }
12574 if test "x$ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask" = xyes
; then :
12575 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12576 /* end confdefs.h. */
12577 #ifdef HAVE_ALSA_ASOUNDLIB_H
12578 #include <alsa/asoundlib.h>
12579 #elif defined(HAVE_SYS_ASOUNDLIB_H)
12580 #include <sys/asoundlib.h>
12585 snd_pcm_hw_params_get_access_mask(NULL, NULL)
12590 if ac_fn_c_try_compile
"$LINENO"; then :
12591 ALSA_LIBS
="-lasound"
12593 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
12598 if test "x$with_oss" != xno
12600 ac_save_CPPFLAGS
="$CPPFLAGS"
12601 if test -f /etc
/oss.conf
12605 ac_oss_incl
="-I${OSSLIBDIR:-/usr/lib/oss}/include"
12606 CPPFLAGS
="$CPPFLAGS $ac_oss_incl"
12607 ac_fn_c_check_header_mongrel
"$LINENO" "sys/soundcard.h" "ac_cv_header_sys_soundcard_h" "$ac_includes_default"
12608 if test "x$ac_cv_header_sys_soundcard_h" = xyes
; then :
12609 ac_fn_c_check_member
"$LINENO" "oss_sysinfo" "numaudioengines" "ac_cv_member_oss_sysinfo_numaudioengines" "#include <sys/soundcard.h>
12611 if test "x$ac_cv_member_oss_sysinfo_numaudioengines" = xyes
; then :
12613 cat >>confdefs.h
<<_ACEOF
12614 #define HAVE_OSS_SYSINFO_NUMAUDIOENGINES 1
12617 OSS4_CFLAGS
="$ac_oss_incl"
12624 CPPFLAGS
="$ac_save_CPPFLAGS"
12625 if test "x$ac_cv_member_oss_sysinfo_numaudioengines" != xyes
12627 as_fn_append wine_notices
"|OSS sound system found but too old (OSSv4 needed), OSS won't be supported."
12631 if test "x$with_capi" != "xno"
12633 if ${CAPI20_CFLAGS:+false} :; then :
12634 if ${PKG_CONFIG+:} false
; then :
12635 CAPI20_CFLAGS
=`$PKG_CONFIG --cflags capi20 2>/dev/null`
12639 if ${CAPI20_LIBS:+false} :; then :
12640 if ${PKG_CONFIG+:} false
; then :
12641 CAPI20_LIBS
=`$PKG_CONFIG --libs capi20 2>/dev/null`
12646 $as_echo "$as_me:${as_lineno-$LINENO}: capi20 cflags: $CAPI20_CFLAGS" >&5
12647 $as_echo "$as_me:${as_lineno-$LINENO}: capi20 libs: $CAPI20_LIBS" >&5
12648 ac_save_CPPFLAGS
=$CPPFLAGS
12649 CPPFLAGS
="$CPPFLAGS $CAPI20_CFLAGS"
12650 for ac_header
in capi20.h linux
/capi.h
12652 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
12653 ac_fn_c_check_header_compile
"$LINENO" "$ac_header" "$as_ac_Header" "#define __user
12655 if eval test \"x\$
"$as_ac_Header"\" = x
"yes"; then :
12656 cat >>confdefs.h
<<_ACEOF
12657 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
12664 if test "$ac_cv_header_capi20_h" = "yes" -a "$ac_cv_header_linux_capi_h" = "yes"
12666 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lcapi20" >&5
12667 $as_echo_n "checking for -lcapi20... " >&6; }
12668 if ${ac_cv_lib_soname_capi20+:} false
; then :
12669 $as_echo_n "(cached) " >&6
12671 ac_check_soname_save_LIBS
=$LIBS
12672 LIBS
="-lcapi20 $CAPI20_LIBS $LIBS"
12673 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12674 /* end confdefs.h. */
12676 /* Override any GCC internal prototype to avoid an error.
12677 Use char because int might match the return type of a GCC
12678 builtin and then its argument prototype would still apply. */
12682 char capi20_register ();
12686 return capi20_register ();
12691 if ac_fn_c_try_link
"$LINENO"; then :
12693 dll
) ac_cv_lib_soname_capi20
=`$ac_cv_path_LDD conftest.exe | grep "capi20" | sed -e "s/dll.*/dll/"';2,$d'` ;;
12694 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'` ;;
12695 *) ac_cv_lib_soname_capi20
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libcapi20\\.$LIBEXT" | sed -e "s/^.*\\[\\(libcapi20\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
12696 if ${ac_cv_lib_soname_capi20:+false} :; then :
12697 ac_cv_lib_soname_capi20
=`$LDD conftest$ac_exeext | grep "libcapi20\\.$LIBEXT" | sed -e "s/^.*\(libcapi20\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
12701 rm -f core conftest.err conftest.
$ac_objext \
12702 conftest
$ac_exeext conftest.
$ac_ext
12703 LIBS
=$ac_check_soname_save_LIBS
12705 if ${ac_cv_lib_soname_capi20:+false} :; then :
12706 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
12707 $as_echo "not found" >&6; }
12710 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_capi20" >&5
12711 $as_echo "$ac_cv_lib_soname_capi20" >&6; }
12713 cat >>confdefs.h
<<_ACEOF
12714 #define SONAME_LIBCAPI20 "$ac_cv_lib_soname_capi20"
12720 CPPFLAGS
=$ac_save_CPPFLAGS
12721 test -z "$CAPI20_CFLAGS" || CAPI20_CFLAGS
=`echo " $CAPI20_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
12722 test -z "$CAPI20_LIBS" || CAPI20_LIBS
=`echo " $CAPI20_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
12725 if test "x$ac_cv_lib_soname_capi20" = "x"; then :
12726 case "x$with_capi" in
12727 x
) as_fn_append wine_notices
"|libcapi20 ${notice_platform}development files not found, ISDN won't be supported." ;;
12729 *) as_fn_error $?
"libcapi20 ${notice_platform}development files not found, ISDN won't be supported.
12730 This is an error since --with-capi was requested." "$LINENO" 5 ;;
12736 if test "x$with_cups" != "xno"
12738 ac_save_CPPFLAGS
="$CPPFLAGS"
12739 ac_cups_cflags
=`cups-config --cflags 2>/dev/null`
12740 ac_cups_libs
=`cups-config --ldflags 2>/dev/null`
12741 CPPFLAGS
="$CPPFLAGS $ac_cups_cflags"
12742 for ac_header
in cups
/cups.h
12744 ac_fn_c_check_header_mongrel
"$LINENO" "cups/cups.h" "ac_cv_header_cups_cups_h" "$ac_includes_default"
12745 if test "x$ac_cv_header_cups_cups_h" = xyes
; then :
12746 cat >>confdefs.h
<<_ACEOF
12747 #define HAVE_CUPS_CUPS_H 1
12749 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lcups" >&5
12750 $as_echo_n "checking for -lcups... " >&6; }
12751 if ${ac_cv_lib_soname_cups+:} false
; then :
12752 $as_echo_n "(cached) " >&6
12754 ac_check_soname_save_LIBS
=$LIBS
12755 LIBS
="-lcups $ac_cups_libs $LIBS"
12756 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12757 /* end confdefs.h. */
12759 /* Override any GCC internal prototype to avoid an error.
12760 Use char because int might match the return type of a GCC
12761 builtin and then its argument prototype would still apply. */
12765 char cupsGetDefault ();
12769 return cupsGetDefault ();
12774 if ac_fn_c_try_link
"$LINENO"; then :
12776 dll
) ac_cv_lib_soname_cups
=`$ac_cv_path_LDD conftest.exe | grep "cups" | sed -e "s/dll.*/dll/"';2,$d'` ;;
12777 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'` ;;
12778 *) ac_cv_lib_soname_cups
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libcups\\.$LIBEXT" | sed -e "s/^.*\\[\\(libcups\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
12779 if ${ac_cv_lib_soname_cups:+false} :; then :
12780 ac_cv_lib_soname_cups
=`$LDD conftest$ac_exeext | grep "libcups\\.$LIBEXT" | sed -e "s/^.*\(libcups\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
12784 rm -f core conftest.err conftest.
$ac_objext \
12785 conftest
$ac_exeext conftest.
$ac_ext
12786 LIBS
=$ac_check_soname_save_LIBS
12788 if ${ac_cv_lib_soname_cups:+false} :; then :
12789 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
12790 $as_echo "not found" >&6; }
12793 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_cups" >&5
12794 $as_echo "$ac_cv_lib_soname_cups" >&6; }
12796 cat >>confdefs.h
<<_ACEOF
12797 #define SONAME_LIBCUPS "$ac_cv_lib_soname_cups"
12800 CUPS_CFLAGS
="$ac_cups_cflags"
12806 CPPFLAGS
="$ac_save_CPPFLAGS"
12808 if test "x$ac_cv_lib_soname_cups" = "x"; then :
12809 case "x$with_cups" in
12810 x
) as_fn_append wine_notices
"|libcups ${notice_platform}development files not found, CUPS won't be supported." ;;
12812 *) as_fn_error $?
"libcups ${notice_platform}development files not found, CUPS won't be supported.
12813 This is an error since --with-cups was requested." "$LINENO" 5 ;;
12817 if test "x$with_fontconfig" != "xno"
12819 if ${FONTCONFIG_CFLAGS:+false} :; then :
12820 if ${PKG_CONFIG+:} false
; then :
12821 FONTCONFIG_CFLAGS
=`$PKG_CONFIG --cflags fontconfig 2>/dev/null`
12824 test "$cross_compiling" = yes || FONTCONFIG_CFLAGS
=${FONTCONFIG_CFLAGS:-$X_CFLAGS}
12825 if ${FONTCONFIG_LIBS:+false} :; then :
12826 if ${PKG_CONFIG+:} false
; then :
12827 FONTCONFIG_LIBS
=`$PKG_CONFIG --libs fontconfig 2>/dev/null`
12830 test "$cross_compiling" = yes || FONTCONFIG_LIBS
=${FONTCONFIG_LIBS:-$X_LIBS}
12832 $as_echo "$as_me:${as_lineno-$LINENO}: fontconfig cflags: $FONTCONFIG_CFLAGS" >&5
12833 $as_echo "$as_me:${as_lineno-$LINENO}: fontconfig libs: $FONTCONFIG_LIBS" >&5
12834 ac_save_CPPFLAGS
=$CPPFLAGS
12835 CPPFLAGS
="$CPPFLAGS $FONTCONFIG_CFLAGS"
12836 for ac_header
in fontconfig
/fontconfig.h
12838 ac_fn_c_check_header_mongrel
"$LINENO" "fontconfig/fontconfig.h" "ac_cv_header_fontconfig_fontconfig_h" "$ac_includes_default"
12839 if test "x$ac_cv_header_fontconfig_fontconfig_h" = xyes
; then :
12840 cat >>confdefs.h
<<_ACEOF
12841 #define HAVE_FONTCONFIG_FONTCONFIG_H 1
12848 if test "$ac_cv_header_fontconfig_fontconfig_h" = "yes"
12850 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lfontconfig" >&5
12851 $as_echo_n "checking for -lfontconfig... " >&6; }
12852 if ${ac_cv_lib_soname_fontconfig+:} false
; then :
12853 $as_echo_n "(cached) " >&6
12855 ac_check_soname_save_LIBS
=$LIBS
12856 LIBS
="-lfontconfig $FONTCONFIG_LIBS $LIBS"
12857 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12858 /* end confdefs.h. */
12860 /* Override any GCC internal prototype to avoid an error.
12861 Use char because int might match the return type of a GCC
12862 builtin and then its argument prototype would still apply. */
12875 if ac_fn_c_try_link
"$LINENO"; then :
12877 dll
) ac_cv_lib_soname_fontconfig
=`$ac_cv_path_LDD conftest.exe | grep "fontconfig" | sed -e "s/dll.*/dll/"';2,$d'` ;;
12878 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'` ;;
12879 *) ac_cv_lib_soname_fontconfig
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libfontconfig\\.$LIBEXT" | sed -e "s/^.*\\[\\(libfontconfig\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
12880 if ${ac_cv_lib_soname_fontconfig:+false} :; then :
12881 ac_cv_lib_soname_fontconfig
=`$LDD conftest$ac_exeext | grep "libfontconfig\\.$LIBEXT" | sed -e "s/^.*\(libfontconfig\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
12885 rm -f core conftest.err conftest.
$ac_objext \
12886 conftest
$ac_exeext conftest.
$ac_ext
12887 LIBS
=$ac_check_soname_save_LIBS
12889 if ${ac_cv_lib_soname_fontconfig:+false} :; then :
12890 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
12891 $as_echo "not found" >&6; }
12892 FONTCONFIG_CFLAGS
=""
12894 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_fontconfig" >&5
12895 $as_echo "$ac_cv_lib_soname_fontconfig" >&6; }
12897 cat >>confdefs.h
<<_ACEOF
12898 #define SONAME_LIBFONTCONFIG "$ac_cv_lib_soname_fontconfig"
12904 FONTCONFIG_CFLAGS
=""
12906 CPPFLAGS
=$ac_save_CPPFLAGS
12907 test -z "$FONTCONFIG_CFLAGS" || FONTCONFIG_CFLAGS
=`echo " $FONTCONFIG_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
12908 test -z "$FONTCONFIG_LIBS" || FONTCONFIG_LIBS
=`echo " $FONTCONFIG_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
12911 if test "x$ac_cv_lib_soname_fontconfig" = "x"; then :
12912 case "x$with_fontconfig" in
12913 x
) as_fn_append wine_notices
"|fontconfig ${notice_platform}development files not found, fontconfig won't be supported." ;;
12915 *) as_fn_error $?
"fontconfig ${notice_platform}development files not found, fontconfig won't be supported.
12916 This is an error since --with-fontconfig was requested." "$LINENO" 5 ;;
12920 if test "$ac_cv_header_gsm_h" = "yes" -o "$ac_cv_header_gsm_gsm_h" = "yes"
12922 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lgsm" >&5
12923 $as_echo_n "checking for -lgsm... " >&6; }
12924 if ${ac_cv_lib_soname_gsm+:} false
; then :
12925 $as_echo_n "(cached) " >&6
12927 ac_check_soname_save_LIBS
=$LIBS
12929 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12930 /* end confdefs.h. */
12932 /* Override any GCC internal prototype to avoid an error.
12933 Use char because int might match the return type of a GCC
12934 builtin and then its argument prototype would still apply. */
12938 char gsm_create ();
12942 return gsm_create ();
12947 if ac_fn_c_try_link
"$LINENO"; then :
12949 dll
) ac_cv_lib_soname_gsm
=`$ac_cv_path_LDD conftest.exe | grep "gsm" | sed -e "s/dll.*/dll/"';2,$d'` ;;
12950 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'` ;;
12951 *) ac_cv_lib_soname_gsm
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libgsm\\.$LIBEXT" | sed -e "s/^.*\\[\\(libgsm\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
12952 if ${ac_cv_lib_soname_gsm:+false} :; then :
12953 ac_cv_lib_soname_gsm
=`$LDD conftest$ac_exeext | grep "libgsm\\.$LIBEXT" | sed -e "s/^.*\(libgsm\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
12957 rm -f core conftest.err conftest.
$ac_objext \
12958 conftest
$ac_exeext conftest.
$ac_ext
12959 LIBS
=$ac_check_soname_save_LIBS
12961 if ${ac_cv_lib_soname_gsm:+false} :; then :
12962 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
12963 $as_echo "not found" >&6; }
12966 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_gsm" >&5
12967 $as_echo "$ac_cv_lib_soname_gsm" >&6; }
12969 cat >>confdefs.h
<<_ACEOF
12970 #define SONAME_LIBGSM "$ac_cv_lib_soname_gsm"
12976 if test "x$ac_cv_lib_soname_gsm" = "x"; then :
12977 case "x$with_gsm" in
12978 x
) as_fn_append wine_notices
"|libgsm ${notice_platform}development files not found, gsm 06.10 codec won't be supported." ;;
12980 *) as_fn_error $?
"libgsm ${notice_platform}development files not found, gsm 06.10 codec won't be supported.
12981 This is an error since --with-gsm was requested." "$LINENO" 5 ;;
12985 if test "x$with_jpeg" != "xno"
12987 if ${JPEG_CFLAGS:+false} :; then :
12988 if ${PKG_CONFIG+:} false
; then :
12989 JPEG_CFLAGS
=`$PKG_CONFIG --cflags libjpeg 2>/dev/null`
12993 if ${JPEG_LIBS:+false} :; then :
12994 if ${PKG_CONFIG+:} false
; then :
12995 JPEG_LIBS
=`$PKG_CONFIG --libs libjpeg 2>/dev/null`
13000 $as_echo "$as_me:${as_lineno-$LINENO}: libjpeg cflags: $JPEG_CFLAGS" >&5
13001 $as_echo "$as_me:${as_lineno-$LINENO}: libjpeg libs: $JPEG_LIBS" >&5
13002 ac_save_CPPFLAGS
=$CPPFLAGS
13003 CPPFLAGS
="$CPPFLAGS $JPEG_CFLAGS"
13004 for ac_header
in jpeglib.h
13006 ac_fn_c_check_header_mongrel
"$LINENO" "jpeglib.h" "ac_cv_header_jpeglib_h" "$ac_includes_default"
13007 if test "x$ac_cv_header_jpeglib_h" = xyes
; then :
13008 cat >>confdefs.h
<<_ACEOF
13009 #define HAVE_JPEGLIB_H 1
13016 if test "$ac_cv_header_jpeglib_h" = "yes"
13018 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -ljpeg" >&5
13019 $as_echo_n "checking for -ljpeg... " >&6; }
13020 if ${ac_cv_lib_soname_jpeg+:} false
; then :
13021 $as_echo_n "(cached) " >&6
13023 ac_check_soname_save_LIBS
=$LIBS
13024 LIBS
="-ljpeg $JPEG_LIBS $LIBS"
13025 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13026 /* end confdefs.h. */
13028 /* Override any GCC internal prototype to avoid an error.
13029 Use char because int might match the return type of a GCC
13030 builtin and then its argument prototype would still apply. */
13034 char jpeg_start_decompress ();
13038 return jpeg_start_decompress ();
13043 if ac_fn_c_try_link
"$LINENO"; then :
13045 dll
) ac_cv_lib_soname_jpeg
=`$ac_cv_path_LDD conftest.exe | grep "jpeg" | sed -e "s/dll.*/dll/"';2,$d'` ;;
13046 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'` ;;
13047 *) ac_cv_lib_soname_jpeg
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libjpeg\\.$LIBEXT" | sed -e "s/^.*\\[\\(libjpeg\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
13048 if ${ac_cv_lib_soname_jpeg:+false} :; then :
13049 ac_cv_lib_soname_jpeg
=`$LDD conftest$ac_exeext | grep "libjpeg\\.$LIBEXT" | sed -e "s/^.*\(libjpeg\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
13053 rm -f core conftest.err conftest.
$ac_objext \
13054 conftest
$ac_exeext conftest.
$ac_ext
13055 LIBS
=$ac_check_soname_save_LIBS
13057 if ${ac_cv_lib_soname_jpeg:+false} :; then :
13058 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13059 $as_echo "not found" >&6; }
13062 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_jpeg" >&5
13063 $as_echo "$ac_cv_lib_soname_jpeg" >&6; }
13065 cat >>confdefs.h
<<_ACEOF
13066 #define SONAME_LIBJPEG "$ac_cv_lib_soname_jpeg"
13074 CPPFLAGS
=$ac_save_CPPFLAGS
13075 test -z "$JPEG_CFLAGS" || JPEG_CFLAGS
=`echo " $JPEG_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
13076 test -z "$JPEG_LIBS" || JPEG_LIBS
=`echo " $JPEG_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
13079 if test "x$ac_cv_lib_soname_jpeg" = "x"; then :
13080 case "x$with_jpeg" in
13081 x
) as_fn_append wine_warnings
"|libjpeg ${notice_platform}development files not found, JPEG won't be supported." ;;
13083 *) as_fn_error $?
"libjpeg ${notice_platform}development files not found, JPEG won't be supported.
13084 This is an error since --with-jpeg was requested." "$LINENO" 5 ;;
13088 if test "x$with_png" != "xno"
13090 if ${PNG_CFLAGS:+false} :; then :
13091 if ${PKG_CONFIG+:} false
; then :
13092 PNG_CFLAGS
=`$PKG_CONFIG --cflags libpng 2>/dev/null`
13095 test "$cross_compiling" = yes || PNG_CFLAGS
=${PNG_CFLAGS:-$X_CFLAGS}
13096 if ${PNG_LIBS:+false} :; then :
13097 if ${PKG_CONFIG+:} false
; then :
13098 PNG_LIBS
=`$PKG_CONFIG --libs libpng 2>/dev/null`
13101 test "$cross_compiling" = yes || PNG_LIBS
=${PNG_LIBS:-$X_LIBS}
13103 $as_echo "$as_me:${as_lineno-$LINENO}: libpng cflags: $PNG_CFLAGS" >&5
13104 $as_echo "$as_me:${as_lineno-$LINENO}: libpng libs: $PNG_LIBS" >&5
13105 ac_save_CPPFLAGS
=$CPPFLAGS
13106 CPPFLAGS
="$CPPFLAGS $PNG_CFLAGS"
13107 for ac_header
in png.h
13109 ac_fn_c_check_header_mongrel
"$LINENO" "png.h" "ac_cv_header_png_h" "$ac_includes_default"
13110 if test "x$ac_cv_header_png_h" = xyes
; then :
13111 cat >>confdefs.h
<<_ACEOF
13112 #define HAVE_PNG_H 1
13119 if test "$ac_cv_header_png_h" = "yes"
13121 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lpng" >&5
13122 $as_echo_n "checking for -lpng... " >&6; }
13123 if ${ac_cv_lib_soname_png+:} false
; then :
13124 $as_echo_n "(cached) " >&6
13126 ac_check_soname_save_LIBS
=$LIBS
13127 LIBS
="-lpng $PNG_LIBS -lm -lz $LIBS"
13128 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13129 /* end confdefs.h. */
13131 /* Override any GCC internal prototype to avoid an error.
13132 Use char because int might match the return type of a GCC
13133 builtin and then its argument prototype would still apply. */
13137 char png_create_read_struct ();
13141 return png_create_read_struct ();
13146 if ac_fn_c_try_link
"$LINENO"; then :
13148 dll
) ac_cv_lib_soname_png
=`$ac_cv_path_LDD conftest.exe | grep "png" | sed -e "s/dll.*/dll/"';2,$d'` ;;
13149 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'` ;;
13150 *) 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'`
13151 if ${ac_cv_lib_soname_png:+false} :; then :
13152 ac_cv_lib_soname_png
=`$LDD conftest$ac_exeext | grep "libpng[0-9]*\\.$LIBEXT" | sed -e "s/^.*\(libpng[0-9]*\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
13156 rm -f core conftest.err conftest.
$ac_objext \
13157 conftest
$ac_exeext conftest.
$ac_ext
13158 LIBS
=$ac_check_soname_save_LIBS
13160 if ${ac_cv_lib_soname_png:+false} :; then :
13161 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13162 $as_echo "not found" >&6; }
13165 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_png" >&5
13166 $as_echo "$ac_cv_lib_soname_png" >&6; }
13168 cat >>confdefs.h
<<_ACEOF
13169 #define SONAME_LIBPNG "$ac_cv_lib_soname_png"
13172 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13173 /* end confdefs.h. */
13178 typeof(png_set_expand_gray_1_2_4_to_8) *p
13183 if ac_fn_c_try_compile
"$LINENO"; then :
13185 $as_echo "#define HAVE_PNG_SET_EXPAND_GRAY_1_2_4_TO_8 1" >>confdefs.h
13188 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
13193 CPPFLAGS
=$ac_save_CPPFLAGS
13194 test -z "$PNG_CFLAGS" || PNG_CFLAGS
=`echo " $PNG_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
13195 test -z "$PNG_LIBS" || PNG_LIBS
=`echo " $PNG_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
13198 if test "x$ac_cv_lib_soname_png" = "x"; then :
13199 case "x$with_png" in
13200 x
) as_fn_append wine_warnings
"|libpng ${notice_platform}development files not found, PNG won't be supported." ;;
13202 *) as_fn_error $?
"libpng ${notice_platform}development files not found, PNG won't be supported.
13203 This is an error since --with-png was requested." "$LINENO" 5 ;;
13207 if test "x$with_tiff" != "xno"
13209 if ${TIFF_CFLAGS:+false} :; then :
13210 if ${PKG_CONFIG+:} false
; then :
13211 TIFF_CFLAGS
=`$PKG_CONFIG --cflags libtiff 2>/dev/null`
13215 if ${TIFF_LIBS:+false} :; then :
13216 if ${PKG_CONFIG+:} false
; then :
13217 TIFF_LIBS
=`$PKG_CONFIG --libs libtiff 2>/dev/null`
13222 $as_echo "$as_me:${as_lineno-$LINENO}: libtiff cflags: $TIFF_CFLAGS" >&5
13223 $as_echo "$as_me:${as_lineno-$LINENO}: libtiff libs: $TIFF_LIBS" >&5
13224 ac_save_CPPFLAGS
=$CPPFLAGS
13225 CPPFLAGS
="$CPPFLAGS $TIFF_CFLAGS"
13226 for ac_header
in tiffio.h
13228 ac_fn_c_check_header_mongrel
"$LINENO" "tiffio.h" "ac_cv_header_tiffio_h" "$ac_includes_default"
13229 if test "x$ac_cv_header_tiffio_h" = xyes
; then :
13230 cat >>confdefs.h
<<_ACEOF
13231 #define HAVE_TIFFIO_H 1
13238 if test "$ac_cv_header_tiffio_h" = "yes"
13240 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -ltiff" >&5
13241 $as_echo_n "checking for -ltiff... " >&6; }
13242 if ${ac_cv_lib_soname_tiff+:} false
; then :
13243 $as_echo_n "(cached) " >&6
13245 ac_check_soname_save_LIBS
=$LIBS
13246 LIBS
="-ltiff $TIFF_LIBS $LIBS"
13247 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13248 /* end confdefs.h. */
13250 /* Override any GCC internal prototype to avoid an error.
13251 Use char because int might match the return type of a GCC
13252 builtin and then its argument prototype would still apply. */
13256 char TIFFClientOpen ();
13260 return TIFFClientOpen ();
13265 if ac_fn_c_try_link
"$LINENO"; then :
13267 dll
) ac_cv_lib_soname_tiff
=`$ac_cv_path_LDD conftest.exe | grep "tiff" | sed -e "s/dll.*/dll/"';2,$d'` ;;
13268 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'` ;;
13269 *) ac_cv_lib_soname_tiff
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libtiff\\.$LIBEXT" | sed -e "s/^.*\\[\\(libtiff\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
13270 if ${ac_cv_lib_soname_tiff:+false} :; then :
13271 ac_cv_lib_soname_tiff
=`$LDD conftest$ac_exeext | grep "libtiff\\.$LIBEXT" | sed -e "s/^.*\(libtiff\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
13275 rm -f core conftest.err conftest.
$ac_objext \
13276 conftest
$ac_exeext conftest.
$ac_ext
13277 LIBS
=$ac_check_soname_save_LIBS
13279 if ${ac_cv_lib_soname_tiff:+false} :; then :
13280 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13281 $as_echo "not found" >&6; }
13284 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_tiff" >&5
13285 $as_echo "$ac_cv_lib_soname_tiff" >&6; }
13287 cat >>confdefs.h
<<_ACEOF
13288 #define SONAME_LIBTIFF "$ac_cv_lib_soname_tiff"
13294 CPPFLAGS
=$ac_save_CPPFLAGS
13295 test -z "$TIFF_CFLAGS" || TIFF_CFLAGS
=`echo " $TIFF_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
13296 test -z "$TIFF_LIBS" || TIFF_LIBS
=`echo " $TIFF_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
13299 if test "x$ac_cv_lib_soname_tiff" = "x"; then :
13300 case "x$with_tiff" in
13301 x
) as_fn_append wine_notices
"|libtiff ${notice_platform}development files not found, TIFF won't be supported." ;;
13303 *) as_fn_error $?
"libtiff ${notice_platform}development files not found, TIFF won't be supported.
13304 This is an error since --with-tiff was requested." "$LINENO" 5 ;;
13308 if test "x$with_mpg123" != "xno"
13310 if ${MPG123_CFLAGS:+false} :; then :
13311 if ${PKG_CONFIG+:} false
; then :
13312 MPG123_CFLAGS
=`$PKG_CONFIG --cflags libmpg123 2>/dev/null`
13316 if ${MPG123_LIBS:+false} :; then :
13317 if ${PKG_CONFIG+:} false
; then :
13318 MPG123_LIBS
=`$PKG_CONFIG --libs libmpg123 2>/dev/null`
13322 MPG123_LIBS
=${MPG123_LIBS:-"-lmpg123"}
13323 $as_echo "$as_me:${as_lineno-$LINENO}: libmpg123 cflags: $MPG123_CFLAGS" >&5
13324 $as_echo "$as_me:${as_lineno-$LINENO}: libmpg123 libs: $MPG123_LIBS" >&5
13325 ac_save_CPPFLAGS
=$CPPFLAGS
13326 CPPFLAGS
="$CPPFLAGS $MPG123_CFLAGS"
13327 for ac_header
in mpg123.h
13329 ac_fn_c_check_header_mongrel
"$LINENO" "mpg123.h" "ac_cv_header_mpg123_h" "$ac_includes_default"
13330 if test "x$ac_cv_header_mpg123_h" = xyes
; then :
13331 cat >>confdefs.h
<<_ACEOF
13332 #define HAVE_MPG123_H 1
13339 if test "$ac_cv_header_mpg123_h" = "yes"
13341 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for mpg123_feed in -lmpg123" >&5
13342 $as_echo_n "checking for mpg123_feed in -lmpg123... " >&6; }
13343 if ${ac_cv_lib_mpg123_mpg123_feed+:} false
; then :
13344 $as_echo_n "(cached) " >&6
13346 ac_check_lib_save_LIBS
=$LIBS
13347 LIBS
="-lmpg123 $MPG123_LIBS $LIBS"
13348 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13349 /* end confdefs.h. */
13351 /* Override any GCC internal prototype to avoid an error.
13352 Use char because int might match the return type of a GCC
13353 builtin and then its argument prototype would still apply. */
13357 char mpg123_feed ();
13361 return mpg123_feed ();
13366 if ac_fn_c_try_link
"$LINENO"; then :
13367 ac_cv_lib_mpg123_mpg123_feed
=yes
13369 ac_cv_lib_mpg123_mpg123_feed
=no
13371 rm -f core conftest.err conftest.
$ac_objext \
13372 conftest
$ac_exeext conftest.
$ac_ext
13373 LIBS
=$ac_check_lib_save_LIBS
13375 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_mpg123_mpg123_feed" >&5
13376 $as_echo "$ac_cv_lib_mpg123_mpg123_feed" >&6; }
13377 if test "x$ac_cv_lib_mpg123_mpg123_feed" = xyes
; then :
13387 CPPFLAGS
=$ac_save_CPPFLAGS
13388 test -z "$MPG123_CFLAGS" || MPG123_CFLAGS
=`echo " $MPG123_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
13389 test -z "$MPG123_LIBS" || MPG123_LIBS
=`echo " $MPG123_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
13392 if test "x$ac_cv_lib_mpg123_mpg123_feed" != xyes
-a x
"$ac_cv_header_CoreAudio_CoreAudio_h" != xyes
; then :
13393 case "x$with_mpg123" in
13394 x
) as_fn_append wine_notices
"|libmpg123 ${notice_platform}development files not found (or too old), mp3 codec won't be supported." ;;
13396 *) as_fn_error $?
"libmpg123 ${notice_platform}development files not found (or too old), mp3 codec won't be supported.
13397 This is an error since --with-mpg123 was requested." "$LINENO" 5 ;;
13400 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}
13402 if test "$ac_cv_header_AL_al_h" = "yes"
13404 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lopenal" >&5
13405 $as_echo_n "checking for -lopenal... " >&6; }
13406 if ${ac_cv_lib_soname_openal+:} false
; then :
13407 $as_echo_n "(cached) " >&6
13409 ac_check_soname_save_LIBS
=$LIBS
13410 LIBS
="-lopenal $LIBS"
13411 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13412 /* end confdefs.h. */
13414 /* Override any GCC internal prototype to avoid an error.
13415 Use char because int might match the return type of a GCC
13416 builtin and then its argument prototype would still apply. */
13420 char alGetSource3i ();
13424 return alGetSource3i ();
13429 if ac_fn_c_try_link
"$LINENO"; then :
13431 dll
) ac_cv_lib_soname_openal
=`$ac_cv_path_LDD conftest.exe | grep "openal" | sed -e "s/dll.*/dll/"';2,$d'` ;;
13432 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'` ;;
13433 *) ac_cv_lib_soname_openal
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libopenal\\.$LIBEXT" | sed -e "s/^.*\\[\\(libopenal\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
13434 if ${ac_cv_lib_soname_openal:+false} :; then :
13435 ac_cv_lib_soname_openal
=`$LDD conftest$ac_exeext | grep "libopenal\\.$LIBEXT" | sed -e "s/^.*\(libopenal\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
13439 rm -f core conftest.err conftest.
$ac_objext \
13440 conftest
$ac_exeext conftest.
$ac_ext
13441 LIBS
=$ac_check_soname_save_LIBS
13443 if ${ac_cv_lib_soname_openal:+false} :; then :
13444 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13445 $as_echo "not found" >&6; }
13448 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_openal" >&5
13449 $as_echo "$ac_cv_lib_soname_openal" >&6; }
13451 cat >>confdefs.h
<<_ACEOF
13452 #define SONAME_LIBOPENAL "$ac_cv_lib_soname_openal"
13455 OPENAL_LIBS
="-lopenal"
13457 ac_cv_lib_openal
=yes
13459 cat >>confdefs.h
<<_ACEOF
13460 #define HAVE_OPENAL 1
13465 if test "x$ac_cv_lib_openal" != xyes
; then :
13466 case "x$with_openal" in
13467 x
) as_fn_append wine_notices
"|libopenal ${notice_platform}development files not found (or too old), OpenAL won't be supported." ;;
13469 *) as_fn_error $?
"libopenal ${notice_platform}development files not found (or too old), OpenAL won't be supported.
13470 This is an error since --with-openal was requested." "$LINENO" 5 ;;
13473 test "x$ac_cv_lib_openal" = xyes || enable_openal32
=${enable_openal32:-no}
13475 if test "$ac_cv_header_kstat_h" = "yes"
13477 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for kstat_open in -lkstat" >&5
13478 $as_echo_n "checking for kstat_open in -lkstat... " >&6; }
13479 if ${ac_cv_lib_kstat_kstat_open+:} false
; then :
13480 $as_echo_n "(cached) " >&6
13482 ac_check_lib_save_LIBS
=$LIBS
13483 LIBS
="-lkstat $LIBS"
13484 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13485 /* end confdefs.h. */
13487 /* Override any GCC internal prototype to avoid an error.
13488 Use char because int might match the return type of a GCC
13489 builtin and then its argument prototype would still apply. */
13493 char kstat_open ();
13497 return kstat_open ();
13502 if ac_fn_c_try_link
"$LINENO"; then :
13503 ac_cv_lib_kstat_kstat_open
=yes
13505 ac_cv_lib_kstat_kstat_open
=no
13507 rm -f core conftest.err conftest.
$ac_objext \
13508 conftest
$ac_exeext conftest.
$ac_ext
13509 LIBS
=$ac_check_lib_save_LIBS
13511 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_kstat_kstat_open" >&5
13512 $as_echo "$ac_cv_lib_kstat_kstat_open" >&6; }
13513 if test "x$ac_cv_lib_kstat_kstat_open" = xyes
; then :
13515 $as_echo "#define HAVE_LIBKSTAT 1" >>confdefs.h
13517 KSTAT_LIBS
="-lkstat"
13523 if test "$ac_cv_header_libprocstat_h" = "yes"
13525 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for procstat_open_sysctl in -lprocstat" >&5
13526 $as_echo_n "checking for procstat_open_sysctl in -lprocstat... " >&6; }
13527 if ${ac_cv_lib_procstat_procstat_open_sysctl+:} false
; then :
13528 $as_echo_n "(cached) " >&6
13530 ac_check_lib_save_LIBS
=$LIBS
13531 LIBS
="-lprocstat $LIBS"
13532 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13533 /* end confdefs.h. */
13535 /* Override any GCC internal prototype to avoid an error.
13536 Use char because int might match the return type of a GCC
13537 builtin and then its argument prototype would still apply. */
13541 char procstat_open_sysctl ();
13545 return procstat_open_sysctl ();
13550 if ac_fn_c_try_link
"$LINENO"; then :
13551 ac_cv_lib_procstat_procstat_open_sysctl
=yes
13553 ac_cv_lib_procstat_procstat_open_sysctl
=no
13555 rm -f core conftest.err conftest.
$ac_objext \
13556 conftest
$ac_exeext conftest.
$ac_ext
13557 LIBS
=$ac_check_lib_save_LIBS
13559 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_procstat_procstat_open_sysctl" >&5
13560 $as_echo "$ac_cv_lib_procstat_procstat_open_sysctl" >&6; }
13561 if test "x$ac_cv_lib_procstat_procstat_open_sysctl" = xyes
; then :
13563 $as_echo "#define HAVE_LIBPROCSTAT 1" >>confdefs.h
13565 PROCSTAT_LIBS
="-lprocstat"
13571 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lodbc" >&5
13572 $as_echo_n "checking for -lodbc... " >&6; }
13573 if ${ac_cv_lib_soname_odbc+:} false
; then :
13574 $as_echo_n "(cached) " >&6
13576 ac_check_soname_save_LIBS
=$LIBS
13577 LIBS
="-lodbc $LIBS"
13578 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13579 /* end confdefs.h. */
13581 /* Override any GCC internal prototype to avoid an error.
13582 Use char because int might match the return type of a GCC
13583 builtin and then its argument prototype would still apply. */
13587 char SQLConnect ();
13591 return SQLConnect ();
13596 if ac_fn_c_try_link
"$LINENO"; then :
13598 dll
) ac_cv_lib_soname_odbc
=`$ac_cv_path_LDD conftest.exe | grep "odbc" | sed -e "s/dll.*/dll/"';2,$d'` ;;
13599 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'` ;;
13600 *) ac_cv_lib_soname_odbc
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libodbc\\.$LIBEXT" | sed -e "s/^.*\\[\\(libodbc\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
13601 if ${ac_cv_lib_soname_odbc:+false} :; then :
13602 ac_cv_lib_soname_odbc
=`$LDD conftest$ac_exeext | grep "libodbc\\.$LIBEXT" | sed -e "s/^.*\(libodbc\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
13606 rm -f core conftest.err conftest.
$ac_objext \
13607 conftest
$ac_exeext conftest.
$ac_ext
13608 LIBS
=$ac_check_soname_save_LIBS
13610 if ${ac_cv_lib_soname_odbc:+false} :; then :
13611 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13612 $as_echo "not found" >&6; }
13613 cat >>confdefs.h
<<_ACEOF
13614 #define SONAME_LIBODBC "libodbc.$LIBEXT"
13618 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_odbc" >&5
13619 $as_echo "$ac_cv_lib_soname_odbc" >&6; }
13621 cat >>confdefs.h
<<_ACEOF
13622 #define SONAME_LIBODBC "$ac_cv_lib_soname_odbc"
13628 if test "x$with_netapi" != "xno"
13630 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lnetapi" >&5
13631 $as_echo_n "checking for -lnetapi... " >&6; }
13632 if ${ac_cv_lib_soname_netapi+:} false
; then :
13633 $as_echo_n "(cached) " >&6
13635 ac_check_soname_save_LIBS
=$LIBS
13636 LIBS
="-lnetapi $LIBS"
13637 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13638 /* end confdefs.h. */
13640 /* Override any GCC internal prototype to avoid an error.
13641 Use char because int might match the return type of a GCC
13642 builtin and then its argument prototype would still apply. */
13646 char libnetapi_init ();
13650 return libnetapi_init ();
13655 if ac_fn_c_try_link
"$LINENO"; then :
13657 dll
) ac_cv_lib_soname_netapi
=`$ac_cv_path_LDD conftest.exe | grep "netapi" | sed -e "s/dll.*/dll/"';2,$d'` ;;
13658 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'` ;;
13659 *) ac_cv_lib_soname_netapi
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libnetapi\\.$LIBEXT" | sed -e "s/^.*\\[\\(libnetapi\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
13660 if ${ac_cv_lib_soname_netapi:+false} :; then :
13661 ac_cv_lib_soname_netapi
=`$LDD conftest$ac_exeext | grep "libnetapi\\.$LIBEXT" | sed -e "s/^.*\(libnetapi\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
13665 rm -f core conftest.err conftest.
$ac_objext \
13666 conftest
$ac_exeext conftest.
$ac_ext
13667 LIBS
=$ac_check_soname_save_LIBS
13669 if ${ac_cv_lib_soname_netapi:+false} :; then :
13670 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13671 $as_echo "not found" >&6; }
13672 cat >>confdefs.h
<<_ACEOF
13673 #define SONAME_LIBNETAPI "libnetapi.$LIBEXT"
13677 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_netapi" >&5
13678 $as_echo "$ac_cv_lib_soname_netapi" >&6; }
13680 cat >>confdefs.h
<<_ACEOF
13681 #define SONAME_LIBNETAPI "$ac_cv_lib_soname_netapi"
13688 test -n "$ALSA_LIBS" || enable_winealsa_drv
=${enable_winealsa_drv:-no}
13689 test -n "$COREAUDIO_LIBS" || enable_winecoreaudio_drv
=${enable_winecoreaudio_drv:-no}
13690 test "x$ac_cv_member_oss_sysinfo_numaudioengines" = xyes || enable_wineoss_drv
=${enable_wineoss_drv:-no}
13691 test "$ac_cv_header_linux_joystick_h" = "yes" -o "$ac_cv_header_IOKit_hid_IOHIDLib_h" = "yes" || enable_winejoystick_drv
=${enable_winejoystick_drv:-no}
13693 if test "x$ALSA_LIBS$COREAUDIO_LIBS" = "x" -a \
13694 "x$ac_cv_member_oss_sysinfo_numaudioengines" != xyes
-a \
13695 "x$with_alsa$with_coreaudio$with_oss" != xnonono
13697 as_fn_append wine_warnings
"|No sound system was found. Windows applications will be silent."
13703 if test "x${GCC}" = "xyes"
13705 EXTRACFLAGS
="-Wall -pipe"
13707 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gcc strength-reduce bug" >&5
13708 $as_echo_n "checking for gcc strength-reduce bug... " >&6; }
13709 if ${ac_cv_c_gcc_strength_bug+:} false
; then :
13710 $as_echo_n "(cached) " >&6
13712 if test "$cross_compiling" = yes; then :
13713 ac_cv_c_gcc_strength_bug
="yes"
13715 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13716 /* end confdefs.h. */
13717 int L[4] = {0,1,2,3};
13721 static int Array[3];
13722 unsigned int B = 3;
13724 for(i=0; i<B; i++) Array[i] = i - 3;
13725 for(i=0; i<4 - 1; i++) L[i] = L[i + 1];
13727 return (Array[1] != -2 || L[2] != 3)
13732 if ac_fn_c_try_run
"$LINENO"; then :
13733 ac_cv_c_gcc_strength_bug
="no"
13735 ac_cv_c_gcc_strength_bug
="yes"
13737 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext \
13738 conftest.
$ac_objext conftest.beam conftest.
$ac_ext
13742 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_gcc_strength_bug" >&5
13743 $as_echo "$ac_cv_c_gcc_strength_bug" >&6; }
13744 if test "$ac_cv_c_gcc_strength_bug" = "yes"
13746 EXTRACFLAGS
="$EXTRACFLAGS -fno-strength-reduce"
13749 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fno-builtin" >&5
13750 $as_echo_n "checking whether the compiler supports -fno-builtin... " >&6; }
13751 if ${ac_cv_cflags__fno_builtin+:} false
; then :
13752 $as_echo_n "(cached) " >&6
13754 ac_wine_try_cflags_saved
=$CFLAGS
13755 CFLAGS
="$CFLAGS -fno-builtin"
13756 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13757 /* end confdefs.h. */
13758 int main(int argc, char **argv) { return 0; }
13760 if ac_fn_c_try_link
"$LINENO"; then :
13761 ac_cv_cflags__fno_builtin
=yes
13763 ac_cv_cflags__fno_builtin
=no
13765 rm -f core conftest.err conftest.
$ac_objext \
13766 conftest
$ac_exeext conftest.
$ac_ext
13767 CFLAGS
=$ac_wine_try_cflags_saved
13769 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fno_builtin" >&5
13770 $as_echo "$ac_cv_cflags__fno_builtin" >&6; }
13771 if test "x$ac_cv_cflags__fno_builtin" = xyes
; then :
13772 BUILTINFLAG
="-fno-builtin"
13775 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fno-strict-aliasing" >&5
13776 $as_echo_n "checking whether the compiler supports -fno-strict-aliasing... " >&6; }
13777 if ${ac_cv_cflags__fno_strict_aliasing+:} false
; then :
13778 $as_echo_n "(cached) " >&6
13780 ac_wine_try_cflags_saved
=$CFLAGS
13781 CFLAGS
="$CFLAGS -fno-strict-aliasing"
13782 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13783 /* end confdefs.h. */
13784 int main(int argc, char **argv) { return 0; }
13786 if ac_fn_c_try_link
"$LINENO"; then :
13787 ac_cv_cflags__fno_strict_aliasing
=yes
13789 ac_cv_cflags__fno_strict_aliasing
=no
13791 rm -f core conftest.err conftest.
$ac_objext \
13792 conftest
$ac_exeext conftest.
$ac_ext
13793 CFLAGS
=$ac_wine_try_cflags_saved
13795 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fno_strict_aliasing" >&5
13796 $as_echo "$ac_cv_cflags__fno_strict_aliasing" >&6; }
13797 if test "x$ac_cv_cflags__fno_strict_aliasing" = xyes
; then :
13798 EXTRACFLAGS
="$EXTRACFLAGS -fno-strict-aliasing"
13800 saved_CFLAGS
=$CFLAGS
13801 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Werror=unknown-warning-option" >&5
13802 $as_echo_n "checking whether the compiler supports -Werror=unknown-warning-option... " >&6; }
13803 if ${ac_cv_cflags__Werror_unknown_warning_option+:} false
; then :
13804 $as_echo_n "(cached) " >&6
13806 ac_wine_try_cflags_saved
=$CFLAGS
13807 CFLAGS
="$CFLAGS -Werror=unknown-warning-option"
13808 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13809 /* end confdefs.h. */
13810 int main(int argc, char **argv) { return 0; }
13812 if ac_fn_c_try_link
"$LINENO"; then :
13813 ac_cv_cflags__Werror_unknown_warning_option
=yes
13815 ac_cv_cflags__Werror_unknown_warning_option
=no
13817 rm -f core conftest.err conftest.
$ac_objext \
13818 conftest
$ac_exeext conftest.
$ac_ext
13819 CFLAGS
=$ac_wine_try_cflags_saved
13821 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Werror_unknown_warning_option" >&5
13822 $as_echo "$ac_cv_cflags__Werror_unknown_warning_option" >&6; }
13823 if test "x$ac_cv_cflags__Werror_unknown_warning_option" = xyes
; then :
13824 CFLAGS
="$CFLAGS -Werror=unknown-warning-option"
13826 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wdeclaration-after-statement" >&5
13827 $as_echo_n "checking whether the compiler supports -Wdeclaration-after-statement... " >&6; }
13828 if ${ac_cv_cflags__Wdeclaration_after_statement+:} false
; then :
13829 $as_echo_n "(cached) " >&6
13831 ac_wine_try_cflags_saved
=$CFLAGS
13832 CFLAGS
="$CFLAGS -Wdeclaration-after-statement"
13833 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13834 /* end confdefs.h. */
13835 int main(int argc, char **argv) { return 0; }
13837 if ac_fn_c_try_link
"$LINENO"; then :
13838 ac_cv_cflags__Wdeclaration_after_statement
=yes
13840 ac_cv_cflags__Wdeclaration_after_statement
=no
13842 rm -f core conftest.err conftest.
$ac_objext \
13843 conftest
$ac_exeext conftest.
$ac_ext
13844 CFLAGS
=$ac_wine_try_cflags_saved
13846 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wdeclaration_after_statement" >&5
13847 $as_echo "$ac_cv_cflags__Wdeclaration_after_statement" >&6; }
13848 if test "x$ac_cv_cflags__Wdeclaration_after_statement" = xyes
; then :
13849 EXTRACFLAGS
="$EXTRACFLAGS -Wdeclaration-after-statement"
13851 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wempty-body" >&5
13852 $as_echo_n "checking whether the compiler supports -Wempty-body... " >&6; }
13853 if ${ac_cv_cflags__Wempty_body+:} false
; then :
13854 $as_echo_n "(cached) " >&6
13856 ac_wine_try_cflags_saved
=$CFLAGS
13857 CFLAGS
="$CFLAGS -Wempty-body"
13858 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13859 /* end confdefs.h. */
13860 int main(int argc, char **argv) { return 0; }
13862 if ac_fn_c_try_link
"$LINENO"; then :
13863 ac_cv_cflags__Wempty_body
=yes
13865 ac_cv_cflags__Wempty_body
=no
13867 rm -f core conftest.err conftest.
$ac_objext \
13868 conftest
$ac_exeext conftest.
$ac_ext
13869 CFLAGS
=$ac_wine_try_cflags_saved
13871 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wempty_body" >&5
13872 $as_echo "$ac_cv_cflags__Wempty_body" >&6; }
13873 if test "x$ac_cv_cflags__Wempty_body" = xyes
; then :
13874 EXTRACFLAGS
="$EXTRACFLAGS -Wempty-body"
13876 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wignored-qualifiers" >&5
13877 $as_echo_n "checking whether the compiler supports -Wignored-qualifiers... " >&6; }
13878 if ${ac_cv_cflags__Wignored_qualifiers+:} false
; then :
13879 $as_echo_n "(cached) " >&6
13881 ac_wine_try_cflags_saved
=$CFLAGS
13882 CFLAGS
="$CFLAGS -Wignored-qualifiers"
13883 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13884 /* end confdefs.h. */
13885 int main(int argc, char **argv) { return 0; }
13887 if ac_fn_c_try_link
"$LINENO"; then :
13888 ac_cv_cflags__Wignored_qualifiers
=yes
13890 ac_cv_cflags__Wignored_qualifiers
=no
13892 rm -f core conftest.err conftest.
$ac_objext \
13893 conftest
$ac_exeext conftest.
$ac_ext
13894 CFLAGS
=$ac_wine_try_cflags_saved
13896 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wignored_qualifiers" >&5
13897 $as_echo "$ac_cv_cflags__Wignored_qualifiers" >&6; }
13898 if test "x$ac_cv_cflags__Wignored_qualifiers" = xyes
; then :
13899 EXTRACFLAGS
="$EXTRACFLAGS -Wignored-qualifiers"
13901 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wstrict-prototypes" >&5
13902 $as_echo_n "checking whether the compiler supports -Wstrict-prototypes... " >&6; }
13903 if ${ac_cv_cflags__Wstrict_prototypes+:} false
; then :
13904 $as_echo_n "(cached) " >&6
13906 ac_wine_try_cflags_saved
=$CFLAGS
13907 CFLAGS
="$CFLAGS -Wstrict-prototypes"
13908 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13909 /* end confdefs.h. */
13910 int main(int argc, char **argv) { return 0; }
13912 if ac_fn_c_try_link
"$LINENO"; then :
13913 ac_cv_cflags__Wstrict_prototypes
=yes
13915 ac_cv_cflags__Wstrict_prototypes
=no
13917 rm -f core conftest.err conftest.
$ac_objext \
13918 conftest
$ac_exeext conftest.
$ac_ext
13919 CFLAGS
=$ac_wine_try_cflags_saved
13921 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wstrict_prototypes" >&5
13922 $as_echo "$ac_cv_cflags__Wstrict_prototypes" >&6; }
13923 if test "x$ac_cv_cflags__Wstrict_prototypes" = xyes
; then :
13924 EXTRACFLAGS
="$EXTRACFLAGS -Wstrict-prototypes"
13926 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wtype-limits" >&5
13927 $as_echo_n "checking whether the compiler supports -Wtype-limits... " >&6; }
13928 if ${ac_cv_cflags__Wtype_limits+:} false
; then :
13929 $as_echo_n "(cached) " >&6
13931 ac_wine_try_cflags_saved
=$CFLAGS
13932 CFLAGS
="$CFLAGS -Wtype-limits"
13933 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13934 /* end confdefs.h. */
13935 int main(int argc, char **argv) { return 0; }
13937 if ac_fn_c_try_link
"$LINENO"; then :
13938 ac_cv_cflags__Wtype_limits
=yes
13940 ac_cv_cflags__Wtype_limits
=no
13942 rm -f core conftest.err conftest.
$ac_objext \
13943 conftest
$ac_exeext conftest.
$ac_ext
13944 CFLAGS
=$ac_wine_try_cflags_saved
13946 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wtype_limits" >&5
13947 $as_echo "$ac_cv_cflags__Wtype_limits" >&6; }
13948 if test "x$ac_cv_cflags__Wtype_limits" = xyes
; then :
13949 EXTRACFLAGS
="$EXTRACFLAGS -Wtype-limits"
13951 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wunused-but-set-parameter" >&5
13952 $as_echo_n "checking whether the compiler supports -Wunused-but-set-parameter... " >&6; }
13953 if ${ac_cv_cflags__Wunused_but_set_parameter+:} false
; then :
13954 $as_echo_n "(cached) " >&6
13956 ac_wine_try_cflags_saved
=$CFLAGS
13957 CFLAGS
="$CFLAGS -Wunused-but-set-parameter"
13958 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13959 /* end confdefs.h. */
13960 int main(int argc, char **argv) { return 0; }
13962 if ac_fn_c_try_link
"$LINENO"; then :
13963 ac_cv_cflags__Wunused_but_set_parameter
=yes
13965 ac_cv_cflags__Wunused_but_set_parameter
=no
13967 rm -f core conftest.err conftest.
$ac_objext \
13968 conftest
$ac_exeext conftest.
$ac_ext
13969 CFLAGS
=$ac_wine_try_cflags_saved
13971 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wunused_but_set_parameter" >&5
13972 $as_echo "$ac_cv_cflags__Wunused_but_set_parameter" >&6; }
13973 if test "x$ac_cv_cflags__Wunused_but_set_parameter" = xyes
; then :
13974 EXTRACFLAGS
="$EXTRACFLAGS -Wunused-but-set-parameter"
13976 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wvla" >&5
13977 $as_echo_n "checking whether the compiler supports -Wvla... " >&6; }
13978 if ${ac_cv_cflags__Wvla+:} false
; then :
13979 $as_echo_n "(cached) " >&6
13981 ac_wine_try_cflags_saved
=$CFLAGS
13982 CFLAGS
="$CFLAGS -Wvla"
13983 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13984 /* end confdefs.h. */
13985 int main(int argc, char **argv) { return 0; }
13987 if ac_fn_c_try_link
"$LINENO"; then :
13988 ac_cv_cflags__Wvla
=yes
13990 ac_cv_cflags__Wvla
=no
13992 rm -f core conftest.err conftest.
$ac_objext \
13993 conftest
$ac_exeext conftest.
$ac_ext
13994 CFLAGS
=$ac_wine_try_cflags_saved
13996 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wvla" >&5
13997 $as_echo "$ac_cv_cflags__Wvla" >&6; }
13998 if test "x$ac_cv_cflags__Wvla" = xyes
; then :
13999 EXTRACFLAGS
="$EXTRACFLAGS -Wvla"
14001 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wwrite-strings" >&5
14002 $as_echo_n "checking whether the compiler supports -Wwrite-strings... " >&6; }
14003 if ${ac_cv_cflags__Wwrite_strings+:} false
; then :
14004 $as_echo_n "(cached) " >&6
14006 ac_wine_try_cflags_saved
=$CFLAGS
14007 CFLAGS
="$CFLAGS -Wwrite-strings"
14008 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14009 /* end confdefs.h. */
14010 int main(int argc, char **argv) { return 0; }
14012 if ac_fn_c_try_link
"$LINENO"; then :
14013 ac_cv_cflags__Wwrite_strings
=yes
14015 ac_cv_cflags__Wwrite_strings
=no
14017 rm -f core conftest.err conftest.
$ac_objext \
14018 conftest
$ac_exeext conftest.
$ac_ext
14019 CFLAGS
=$ac_wine_try_cflags_saved
14021 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wwrite_strings" >&5
14022 $as_echo "$ac_cv_cflags__Wwrite_strings" >&6; }
14023 if test "x$ac_cv_cflags__Wwrite_strings" = xyes
; then :
14024 EXTRACFLAGS
="$EXTRACFLAGS -Wwrite-strings"
14027 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wpointer-arith" >&5
14028 $as_echo_n "checking whether the compiler supports -Wpointer-arith... " >&6; }
14029 if ${ac_cv_cflags__Wpointer_arith+:} false
; then :
14030 $as_echo_n "(cached) " >&6
14032 ac_wine_try_cflags_saved
=$CFLAGS
14033 CFLAGS
="$CFLAGS -Wpointer-arith"
14034 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14035 /* end confdefs.h. */
14036 int main(int argc, char **argv) { return 0; }
14038 if ac_fn_c_try_link
"$LINENO"; then :
14039 ac_cv_cflags__Wpointer_arith
=yes
14041 ac_cv_cflags__Wpointer_arith
=no
14043 rm -f core conftest.err conftest.
$ac_objext \
14044 conftest
$ac_exeext conftest.
$ac_ext
14045 CFLAGS
=$ac_wine_try_cflags_saved
14047 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wpointer_arith" >&5
14048 $as_echo "$ac_cv_cflags__Wpointer_arith" >&6; }
14049 if test "x$ac_cv_cflags__Wpointer_arith" = xyes
; then :
14050 saved_string_h_CFLAGS
=$CFLAGS
14051 CFLAGS
="$CFLAGS -Wpointer-arith -Werror"
14052 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for broken string.h that generates warnings with -Wpointer-arith" >&5
14053 $as_echo_n "checking for broken string.h that generates warnings with -Wpointer-arith... " >&6; }
14054 if ${ac_cv_c_string_h_warnings+:} false
; then :
14055 $as_echo_n "(cached) " >&6
14057 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14058 /* end confdefs.h. */
14059 #include <string.h>
14068 if ac_fn_c_try_compile
"$LINENO"; then :
14069 ac_cv_c_string_h_warnings
=no
14071 ac_cv_c_string_h_warnings
=yes
14073 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
14075 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_string_h_warnings" >&5
14076 $as_echo "$ac_cv_c_string_h_warnings" >&6; }
14077 test "$ac_cv_c_string_h_warnings" = yes || EXTRACFLAGS
="$EXTRACFLAGS -Wpointer-arith"
14078 CFLAGS
=$saved_string_h_CFLAGS
14081 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wlogical-op" >&5
14082 $as_echo_n "checking whether the compiler supports -Wlogical-op... " >&6; }
14083 if ${ac_cv_cflags__Wlogical_op+:} false
; then :
14084 $as_echo_n "(cached) " >&6
14086 ac_wine_try_cflags_saved
=$CFLAGS
14087 CFLAGS
="$CFLAGS -Wlogical-op"
14088 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14089 /* end confdefs.h. */
14090 int main(int argc, char **argv) { return 0; }
14092 if ac_fn_c_try_link
"$LINENO"; then :
14093 ac_cv_cflags__Wlogical_op
=yes
14095 ac_cv_cflags__Wlogical_op
=no
14097 rm -f core conftest.err conftest.
$ac_objext \
14098 conftest
$ac_exeext conftest.
$ac_ext
14099 CFLAGS
=$ac_wine_try_cflags_saved
14101 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wlogical_op" >&5
14102 $as_echo "$ac_cv_cflags__Wlogical_op" >&6; }
14103 if test "x$ac_cv_cflags__Wlogical_op" = xyes
; then :
14104 saved_string_h_CFLAGS
=$CFLAGS
14105 CFLAGS
="$CFLAGS -Wlogical-op -Werror"
14106 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for broken string.h that generates warnings with -Wlogical-op" >&5
14107 $as_echo_n "checking for broken string.h that generates warnings with -Wlogical-op... " >&6; }
14108 if ${ac_cv_c_logicalop_noisy+:} false
; then :
14109 $as_echo_n "(cached) " >&6
14111 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14112 /* end confdefs.h. */
14113 #include <string.h>
14114 char*f(const char *h,char n) {return strchr(h,n);}
14123 if ac_fn_c_try_compile
"$LINENO"; then :
14124 ac_cv_c_logicalop_noisy
=no
14126 ac_cv_c_logicalop_noisy
=yes
14128 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
14130 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_logicalop_noisy" >&5
14131 $as_echo "$ac_cv_c_logicalop_noisy" >&6; }
14132 CFLAGS
=$saved_string_h_CFLAGS
14133 test "$ac_cv_c_logicalop_noisy" = yes || EXTRACFLAGS
="$EXTRACFLAGS -Wlogical-op"
14136 CFLAGS
=$saved_CFLAGS
14138 for ac_flag
in $CFLAGS; do
14140 -g) case $host_os in
14141 darwin
*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -gstabs+" >&5
14142 $as_echo_n "checking whether the compiler supports -gstabs+... " >&6; }
14143 if ${ac_cv_cflags__gstabsp+:} false
; then :
14144 $as_echo_n "(cached) " >&6
14146 ac_wine_try_cflags_saved
=$CFLAGS
14147 CFLAGS
="$CFLAGS -gstabs+"
14148 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14149 /* end confdefs.h. */
14150 int main(int argc, char **argv) { return 0; }
14152 if ac_fn_c_try_link
"$LINENO"; then :
14153 ac_cv_cflags__gstabsp
=yes
14155 ac_cv_cflags__gstabsp
=no
14157 rm -f core conftest.err conftest.
$ac_objext \
14158 conftest
$ac_exeext conftest.
$ac_ext
14159 CFLAGS
=$ac_wine_try_cflags_saved
14161 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__gstabsp" >&5
14162 $as_echo "$ac_cv_cflags__gstabsp" >&6; }
14163 if test "x$ac_cv_cflags__gstabsp" = xyes
; then :
14164 EXTRACFLAGS
="$EXTRACFLAGS -gstabs+"
14166 *) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -gdwarf-2" >&5
14167 $as_echo_n "checking whether the compiler supports -gdwarf-2... " >&6; }
14168 if ${ac_cv_cflags__gdwarf_2+:} false
; then :
14169 $as_echo_n "(cached) " >&6
14171 ac_wine_try_cflags_saved
=$CFLAGS
14172 CFLAGS
="$CFLAGS -gdwarf-2"
14173 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14174 /* end confdefs.h. */
14175 int main(int argc, char **argv) { return 0; }
14177 if ac_fn_c_try_link
"$LINENO"; then :
14178 ac_cv_cflags__gdwarf_2
=yes
14180 ac_cv_cflags__gdwarf_2
=no
14182 rm -f core conftest.err conftest.
$ac_objext \
14183 conftest
$ac_exeext conftest.
$ac_ext
14184 CFLAGS
=$ac_wine_try_cflags_saved
14186 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__gdwarf_2" >&5
14187 $as_echo "$ac_cv_cflags__gdwarf_2" >&6; }
14188 if test "x$ac_cv_cflags__gdwarf_2" = xyes
; then :
14189 EXTRACFLAGS
="$EXTRACFLAGS -gdwarf-2"
14191 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -gstrict-dwarf" >&5
14192 $as_echo_n "checking whether the compiler supports -gstrict-dwarf... " >&6; }
14193 if ${ac_cv_cflags__gstrict_dwarf+:} false
; then :
14194 $as_echo_n "(cached) " >&6
14196 ac_wine_try_cflags_saved
=$CFLAGS
14197 CFLAGS
="$CFLAGS -gstrict-dwarf"
14198 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14199 /* end confdefs.h. */
14200 int main(int argc, char **argv) { return 0; }
14202 if ac_fn_c_try_link
"$LINENO"; then :
14203 ac_cv_cflags__gstrict_dwarf
=yes
14205 ac_cv_cflags__gstrict_dwarf
=no
14207 rm -f core conftest.err conftest.
$ac_objext \
14208 conftest
$ac_exeext conftest.
$ac_ext
14209 CFLAGS
=$ac_wine_try_cflags_saved
14211 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__gstrict_dwarf" >&5
14212 $as_echo "$ac_cv_cflags__gstrict_dwarf" >&6; }
14213 if test "x$ac_cv_cflags__gstrict_dwarf" = xyes
; then :
14214 EXTRACFLAGS
="$EXTRACFLAGS -gstrict-dwarf"
14221 *i
[3456789]86*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fno-omit-frame-pointer" >&5
14222 $as_echo_n "checking whether the compiler supports -fno-omit-frame-pointer... " >&6; }
14223 if ${ac_cv_cflags__fno_omit_frame_pointer+:} false
; then :
14224 $as_echo_n "(cached) " >&6
14226 ac_wine_try_cflags_saved
=$CFLAGS
14227 CFLAGS
="$CFLAGS -fno-omit-frame-pointer"
14228 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14229 /* end confdefs.h. */
14230 int main(int argc, char **argv) { return 0; }
14232 if ac_fn_c_try_link
"$LINENO"; then :
14233 ac_cv_cflags__fno_omit_frame_pointer
=yes
14235 ac_cv_cflags__fno_omit_frame_pointer
=no
14237 rm -f core conftest.err conftest.
$ac_objext \
14238 conftest
$ac_exeext conftest.
$ac_ext
14239 CFLAGS
=$ac_wine_try_cflags_saved
14241 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fno_omit_frame_pointer" >&5
14242 $as_echo "$ac_cv_cflags__fno_omit_frame_pointer" >&6; }
14243 if test "x$ac_cv_cflags__fno_omit_frame_pointer" = xyes
; then :
14244 EXTRACFLAGS
="$EXTRACFLAGS -fno-omit-frame-pointer"
14249 x86_64-
*mingw32
*|x86_64-
*cygwin
*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wno-format" >&5
14250 $as_echo_n "checking whether the compiler supports -Wno-format... " >&6; }
14251 if ${ac_cv_cflags__Wno_format+:} false
; then :
14252 $as_echo_n "(cached) " >&6
14254 ac_wine_try_cflags_saved
=$CFLAGS
14255 CFLAGS
="$CFLAGS -Wno-format"
14256 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14257 /* end confdefs.h. */
14258 int main(int argc, char **argv) { return 0; }
14260 if ac_fn_c_try_link
"$LINENO"; then :
14261 ac_cv_cflags__Wno_format
=yes
14263 ac_cv_cflags__Wno_format
=no
14265 rm -f core conftest.err conftest.
$ac_objext \
14266 conftest
$ac_exeext conftest.
$ac_ext
14267 CFLAGS
=$ac_wine_try_cflags_saved
14269 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wno_format" >&5
14270 $as_echo "$ac_cv_cflags__Wno_format" >&6; }
14271 if test "x$ac_cv_cflags__Wno_format" = xyes
; then :
14272 EXTRACFLAGS
="$EXTRACFLAGS -Wno-format"
14276 if test "x$enable_maintainer_mode" = "xyes"
14278 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Werror" >&5
14279 $as_echo_n "checking whether the compiler supports -Werror... " >&6; }
14280 if ${ac_cv_cflags__Werror+:} false
; then :
14281 $as_echo_n "(cached) " >&6
14283 ac_wine_try_cflags_saved
=$CFLAGS
14284 CFLAGS
="$CFLAGS -Werror"
14285 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14286 /* end confdefs.h. */
14287 int main(int argc, char **argv) { return 0; }
14289 if ac_fn_c_try_link
"$LINENO"; then :
14290 ac_cv_cflags__Werror
=yes
14292 ac_cv_cflags__Werror
=no
14294 rm -f core conftest.err conftest.
$ac_objext \
14295 conftest
$ac_exeext conftest.
$ac_ext
14296 CFLAGS
=$ac_wine_try_cflags_saved
14298 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Werror" >&5
14299 $as_echo "$ac_cv_cflags__Werror" >&6; }
14300 if test "x$ac_cv_cflags__Werror" = xyes
; then :
14301 EXTRACFLAGS
="$EXTRACFLAGS -Werror"
14305 saved_CFLAGS
="$CFLAGS"
14306 CFLAGS
="$CFLAGS -Werror"
14307 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ms_hook_prologue attribute" >&5
14308 $as_echo_n "checking for ms_hook_prologue attribute... " >&6; }
14309 if ${ac_cv_have_ms_hook_prologue+:} false
; then :
14310 $as_echo_n "(cached) " >&6
14312 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14313 /* end confdefs.h. */
14314 int __attribute__((__ms_hook_prologue__)) test(void) { return 0; }
14323 if ac_fn_c_try_compile
"$LINENO"; then :
14324 ac_cv_have_ms_hook_prologue
="yes"
14326 ac_cv_have_ms_hook_prologue
="no"
14328 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
14330 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_ms_hook_prologue" >&5
14331 $as_echo "$ac_cv_have_ms_hook_prologue" >&6; }
14332 CFLAGS
="$saved_CFLAGS"
14333 if test "$ac_cv_have_ms_hook_prologue" = "yes"
14336 $as_echo "#define DECLSPEC_HOTPATCH __attribute__((__ms_hook_prologue__))" >>confdefs.h
14339 $as_echo "#define DECLSPEC_HOTPATCH /* */" >>confdefs.h
14345 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for the need to disable Fortify" >&5
14346 $as_echo_n "checking for the need to disable Fortify... " >&6; }
14347 if ${ac_cv_c_fortify_enabled+:} false
; then :
14348 $as_echo_n "(cached) " >&6
14350 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14351 /* end confdefs.h. */
14352 #include <string.h>
14356 #if defined(__USE_FORTIFY_LEVEL) && __USE_FORTIFY_LEVEL > 0
14357 #error Fortify enabled
14363 if ac_fn_c_try_compile
"$LINENO"; then :
14364 ac_cv_c_fortify_enabled
=no
14366 ac_cv_c_fortify_enabled
=yes
14368 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
14370 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_fortify_enabled" >&5
14371 $as_echo "$ac_cv_c_fortify_enabled" >&6; }
14372 if test "$ac_cv_c_fortify_enabled" = yes
14374 CFLAGS
="$CFLAGS -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=0"
14378 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether external symbols need an underscore prefix" >&5
14379 $as_echo_n "checking whether external symbols need an underscore prefix... " >&6; }
14380 if ${ac_cv_c_extern_prefix+:} false
; then :
14381 $as_echo_n "(cached) " >&6
14383 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14384 /* end confdefs.h. */
14385 extern int ac_test;
14389 asm(".globl _ac_test\n_ac_test:\t.long 0"); if (ac_test) return 1
14394 if ac_fn_c_try_link
"$LINENO"; then :
14395 ac_cv_c_extern_prefix
="yes"
14397 ac_cv_c_extern_prefix
="no"
14399 rm -f core conftest.err conftest.
$ac_objext \
14400 conftest
$ac_exeext conftest.
$ac_ext
14402 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_extern_prefix" >&5
14403 $as_echo "$ac_cv_c_extern_prefix" >&6; }
14407 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether external symbols need stdcall decoration" >&5
14408 $as_echo_n "checking whether external symbols need stdcall decoration... " >&6; }
14409 if ${ac_cv_c_stdcall_suffix+:} false
; then :
14410 $as_echo_n "(cached) " >&6
14412 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14413 /* end confdefs.h. */
14415 #define __stdcall __attribute__((__stdcall__))
14417 int __stdcall ac_test(int i) { return i; }
14421 asm("jmp _ac_test@4"); if (ac_test(1)) return 1
14426 if ac_fn_c_try_link
"$LINENO"; then :
14427 ac_cv_c_stdcall_suffix
="yes"
14429 ac_cv_c_stdcall_suffix
="no"
14431 rm -f core conftest.err conftest.
$ac_objext \
14432 conftest
$ac_exeext conftest.
$ac_ext
14434 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_stdcall_suffix" >&5
14435 $as_echo "$ac_cv_c_stdcall_suffix" >&6; } ;;
14436 *) ac_cv_c_stdcall_suffix
="no" ;;
14440 if test "$ac_cv_c_extern_prefix" = "yes"
14442 $as_echo "#define __ASM_NAME(name) \"_\" name" >>confdefs.h
14444 asm_name_prefix
="_"
14446 $as_echo "#define __ASM_NAME(name) name" >>confdefs.h
14452 if test "$ac_cv_c_stdcall_suffix" = "yes"
14454 $as_echo "#define __ASM_STDCALL(args) \"@\" #args" >>confdefs.h
14457 $as_echo "#define __ASM_STDCALL(args) \"\"" >>confdefs.h
14462 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to define a function in assembly code" >&5
14463 $as_echo_n "checking how to define a function in assembly code... " >&6; }
14464 if ${ac_cv_asm_func_def+:} false
; then :
14465 $as_echo_n "(cached) " >&6
14467 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14468 /* end confdefs.h. */
14473 asm("\t.globl _ac_test\n\t.def _ac_test; .scl 2; .type 32; .endef\n_ac_test:\t.long 0");
14478 if ac_fn_c_try_link
"$LINENO"; then :
14479 ac_cv_asm_func_def
=".def"
14481 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14482 /* end confdefs.h. */
14487 asm("\t.globl _ac_test\n\t.type _ac_test,@function\n_ac_test:\t.long 0");
14492 if ac_fn_c_try_link
"$LINENO"; then :
14493 ac_cv_asm_func_def
=".type @function"
14495 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14496 /* end confdefs.h. */
14501 asm("\t.globl _ac_test\n\t.type _ac_test,2\n_ac_test:\t.long 0");
14506 if ac_fn_c_try_link
"$LINENO"; then :
14507 ac_cv_asm_func_def
=".type 2"
14509 ac_cv_asm_func_def
="unknown"
14511 rm -f core conftest.err conftest.
$ac_objext \
14512 conftest
$ac_exeext conftest.
$ac_ext
14514 rm -f core conftest.err conftest.
$ac_objext \
14515 conftest
$ac_exeext conftest.
$ac_ext
14517 rm -f core conftest.err conftest.
$ac_objext \
14518 conftest
$ac_exeext conftest.
$ac_ext
14520 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_asm_func_def" >&5
14521 $as_echo "$ac_cv_asm_func_def" >&6; }
14524 case "$ac_cv_asm_func_def" in
14526 $as_echo "#define __ASM_FUNC(name) \".def \" __ASM_NAME(name) \"; .scl 2; .type 32; .endef\"" >>confdefs.h
14528 asm_func_header
=".def $asm_name_prefix\" #name suffix \"; .scl 2; .type 32; .endef" ;;
14530 $as_echo "#define __ASM_FUNC(name) \".type \" __ASM_NAME(name) \",@function\"" >>confdefs.h
14532 asm_func_header
=".type $asm_name_prefix\" #name suffix \",@function" ;;
14534 $as_echo "#define __ASM_FUNC(name) \".type \" __ASM_NAME(name) \",2\"" >>confdefs.h
14536 asm_func_header
=".type $asm_name_prefix\" #name suffix \",2" ;;
14538 $as_echo "#define __ASM_FUNC(name) \"\"" >>confdefs.h
14540 asm_func_header
="" ;;
14543 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether asm() works outside of functions" >&5
14544 $as_echo_n "checking whether asm() works outside of functions... " >&6; }
14545 if ${ac_cv_c_asm_outside_funcs+:} false
; then :
14546 $as_echo_n "(cached) " >&6
14548 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14549 /* end confdefs.h. */
14550 asm(".text\n\t.long 0");
14559 if ac_fn_c_try_compile
"$LINENO"; then :
14560 ac_cv_c_asm_outside_funcs
="yes"
14562 ac_cv_c_asm_outside_funcs
="no"
14564 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
14566 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_asm_outside_funcs" >&5
14567 $as_echo "$ac_cv_c_asm_outside_funcs" >&6; }
14569 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether .previous is supported in assembly code" >&5
14570 $as_echo_n "checking whether .previous is supported in assembly code... " >&6; }
14571 if ${ac_cv_c_dot_previous+:} false
; then :
14572 $as_echo_n "(cached) " >&6
14574 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14575 /* end confdefs.h. */
14580 asm(".text\nac_test:\t.long 0\n\t.previous");
14585 if ac_fn_c_try_link
"$LINENO"; then :
14586 ac_cv_c_dot_previous
="yes"
14588 ac_cv_c_dot_previous
="no"
14590 rm -f core conftest.err conftest.
$ac_objext \
14591 conftest
$ac_exeext conftest.
$ac_ext
14593 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_dot_previous" >&5
14594 $as_echo "$ac_cv_c_dot_previous" >&6; }
14596 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether CFI directives are supported in assembly code" >&5
14597 $as_echo_n "checking whether CFI directives are supported in assembly code... " >&6; }
14598 if ${ac_cv_c_cfi_support+:} false
; then :
14599 $as_echo_n "(cached) " >&6
14601 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14602 /* end confdefs.h. */
14603 asm(".text\nac_test:\t.cfi_startproc\n\t.long 0\n\t.cfi_endproc");
14612 if ac_fn_c_try_compile
"$LINENO"; then :
14613 ac_cv_c_cfi_support
="yes"
14615 ac_cv_c_cfi_support
="no"
14617 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
14619 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_cfi_support" >&5
14620 $as_echo "$ac_cv_c_cfi_support" >&6; }
14622 asm_func_header
=".globl $asm_name_prefix\" #name suffix \"\\n\\t$asm_func_header\\n$asm_name_prefix\" #name suffix \":\\n\\t"
14623 asm_func_trailer
=""
14624 if test "$ac_cv_c_dot_previous" = "yes"
14626 asm_func_trailer
="\\n\\t.previous"
14628 if test "$ac_cv_c_cfi_support" = "yes"
14630 asm_func_header
="$asm_func_header.cfi_startproc\\n\\t"
14631 asm_func_trailer
="\\n\\t.cfi_endproc$asm_func_trailer"
14633 $as_echo "#define __ASM_CFI(str) str" >>confdefs.h
14635 UNWINDFLAGS
=-fasynchronous-unwind-tables
14638 $as_echo "#define __ASM_CFI(str) \"\"" >>confdefs.h
14642 asm_func_code
="$asm_func_header\" code \"$asm_func_trailer"
14645 if test "$ac_cv_c_asm_outside_funcs" = "yes"
14647 cat >>confdefs.h
<<_ACEOF
14648 #define __ASM_DEFINE_FUNC(name,suffix,code) asm(".text\n\t.align 4\n\t$asm_func_code");
14652 cat >>confdefs.h
<<_ACEOF
14653 #define __ASM_DEFINE_FUNC(name,suffix,code) void __asm_dummy_##name(void) { asm(".text\n\t.align 4\n\t$asm_func_code"); }
14658 $as_echo "#define __ASM_GLOBAL_FUNC(name,code) __ASM_DEFINE_FUNC(name,\"\",code)" >>confdefs.h
14661 $as_echo "#define __ASM_STDCALL_FUNC(name,args,code) __ASM_DEFINE_FUNC(name,__ASM_STDCALL(args),code)" >>confdefs.h
14666 cygwin
*|mingw32
*) TOOLSEXT
=".exe"
14673 *i
[3456789]86*|x86_64
*)
14674 test "$wine_binary" = wine || wine_fn_ignore_file
"loader/wine-preloader"
14675 loader_programs
="$loader_programs $wine_binary-preloader"
14676 as_fn_append LOADER_RULES
"
14677 $wine_binary-preloader: preloader.o
14678 \$(CC) -o \$@ -static -nostartfiles -nodefaultlibs -Wl,-Ttext=0x7c400000 preloader.o \$(LIBPORT) \$(LDFLAGS)
14680 install install-lib:: $wine_binary-preloader
14681 \$(INSTALL_PROGRAM) $wine_binary-preloader \$(DESTDIR)\$(bindir)/$wine_binary-preloader
14684 \$(RM) \$(DESTDIR)\$(bindir)/$wine_binary-preloader
14686 preloader_EXTRADEFS = $BUILTINFLAG
14691 as_fn_append LOADER_RULES
"
14692 PROGRAMS = $loader_programs
14696 ac_save_CFLAGS
="$CFLAGS"
14697 CFLAGS
="$CFLAGS $BUILTINFLAG"
14776 as_ac_var
=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
14777 ac_fn_c_check_func
"$LINENO" "$ac_func" "$as_ac_var"
14778 if eval test \"x\$
"$as_ac_var"\" = x
"yes"; then :
14779 cat >>confdefs.h
<<_ACEOF
14780 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
14786 CFLAGS
="$ac_save_CFLAGS"
14788 if test "$ac_cv_func_dlopen" = no
14790 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
14791 $as_echo_n "checking for dlopen in -ldl... " >&6; }
14792 if ${ac_cv_lib_dl_dlopen+:} false
; then :
14793 $as_echo_n "(cached) " >&6
14795 ac_check_lib_save_LIBS
=$LIBS
14797 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14798 /* end confdefs.h. */
14800 /* Override any GCC internal prototype to avoid an error.
14801 Use char because int might match the return type of a GCC
14802 builtin and then its argument prototype would still apply. */
14815 if ac_fn_c_try_link
"$LINENO"; then :
14816 ac_cv_lib_dl_dlopen
=yes
14818 ac_cv_lib_dl_dlopen
=no
14820 rm -f core conftest.err conftest.
$ac_objext \
14821 conftest
$ac_exeext conftest.
$ac_ext
14822 LIBS
=$ac_check_lib_save_LIBS
14824 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
14825 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
14826 if test "x$ac_cv_lib_dl_dlopen" = xyes
; then :
14827 $as_echo "#define HAVE_DLOPEN 1" >>confdefs.h
14833 ac_wine_check_funcs_save_LIBS
="$LIBS"
14834 LIBS
="$LIBS $DL_LIBS"
14835 for ac_func
in dladdr
14837 ac_fn_c_check_func
"$LINENO" "dladdr" "ac_cv_func_dladdr"
14838 if test "x$ac_cv_func_dladdr" = xyes
; then :
14839 cat >>confdefs.h
<<_ACEOF
14840 #define HAVE_DLADDR 1
14846 LIBS
="$ac_wine_check_funcs_save_LIBS"
14848 if test "$ac_cv_func_poll" = no
14850 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for poll in -lpoll" >&5
14851 $as_echo_n "checking for poll in -lpoll... " >&6; }
14852 if ${ac_cv_lib_poll_poll+:} false
; then :
14853 $as_echo_n "(cached) " >&6
14855 ac_check_lib_save_LIBS
=$LIBS
14856 LIBS
="-lpoll $LIBS"
14857 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14858 /* end confdefs.h. */
14860 /* Override any GCC internal prototype to avoid an error.
14861 Use char because int might match the return type of a GCC
14862 builtin and then its argument prototype would still apply. */
14875 if ac_fn_c_try_link
"$LINENO"; then :
14876 ac_cv_lib_poll_poll
=yes
14878 ac_cv_lib_poll_poll
=no
14880 rm -f core conftest.err conftest.
$ac_objext \
14881 conftest
$ac_exeext conftest.
$ac_ext
14882 LIBS
=$ac_check_lib_save_LIBS
14884 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_poll_poll" >&5
14885 $as_echo "$ac_cv_lib_poll_poll" >&6; }
14886 if test "x$ac_cv_lib_poll_poll" = xyes
; then :
14887 $as_echo "#define HAVE_POLL 1" >>confdefs.h
14894 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing gethostbyname" >&5
14895 $as_echo_n "checking for library containing gethostbyname... " >&6; }
14896 if ${ac_cv_search_gethostbyname+:} false
; then :
14897 $as_echo_n "(cached) " >&6
14899 ac_func_search_save_LIBS
=$LIBS
14900 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14901 /* end confdefs.h. */
14903 /* Override any GCC internal prototype to avoid an error.
14904 Use char because int might match the return type of a GCC
14905 builtin and then its argument prototype would still apply. */
14909 char gethostbyname ();
14913 return gethostbyname ();
14918 for ac_lib
in '' nsl
; do
14919 if test -z "$ac_lib"; then
14920 ac_res
="none required"
14923 LIBS
="-l$ac_lib $ac_func_search_save_LIBS"
14925 if ac_fn_c_try_link
"$LINENO"; then :
14926 ac_cv_search_gethostbyname
=$ac_res
14928 rm -f core conftest.err conftest.
$ac_objext \
14930 if ${ac_cv_search_gethostbyname+:} false
; then :
14934 if ${ac_cv_search_gethostbyname+:} false
; then :
14937 ac_cv_search_gethostbyname
=no
14939 rm conftest.
$ac_ext
14940 LIBS
=$ac_func_search_save_LIBS
14942 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_gethostbyname" >&5
14943 $as_echo "$ac_cv_search_gethostbyname" >&6; }
14944 ac_res
=$ac_cv_search_gethostbyname
14945 if test "$ac_res" != no
; then :
14946 test "$ac_res" = "none required" || LIBS
="$ac_res $LIBS"
14951 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing connect" >&5
14952 $as_echo_n "checking for library containing connect... " >&6; }
14953 if ${ac_cv_search_connect+:} false
; then :
14954 $as_echo_n "(cached) " >&6
14956 ac_func_search_save_LIBS
=$LIBS
14957 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14958 /* end confdefs.h. */
14960 /* Override any GCC internal prototype to avoid an error.
14961 Use char because int might match the return type of a GCC
14962 builtin and then its argument prototype would still apply. */
14975 for ac_lib
in '' socket
; do
14976 if test -z "$ac_lib"; then
14977 ac_res
="none required"
14980 LIBS
="-l$ac_lib $ac_func_search_save_LIBS"
14982 if ac_fn_c_try_link
"$LINENO"; then :
14983 ac_cv_search_connect
=$ac_res
14985 rm -f core conftest.err conftest.
$ac_objext \
14987 if ${ac_cv_search_connect+:} false
; then :
14991 if ${ac_cv_search_connect+:} false
; then :
14994 ac_cv_search_connect
=no
14996 rm conftest.
$ac_ext
14997 LIBS
=$ac_func_search_save_LIBS
14999 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_connect" >&5
15000 $as_echo "$ac_cv_search_connect" >&6; }
15001 ac_res
=$ac_cv_search_connect
15002 if test "$ac_res" != no
; then :
15003 test "$ac_res" = "none required" || LIBS
="$ac_res $LIBS"
15008 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing inet_aton" >&5
15009 $as_echo_n "checking for library containing inet_aton... " >&6; }
15010 if ${ac_cv_search_inet_aton+:} false
; then :
15011 $as_echo_n "(cached) " >&6
15013 ac_func_search_save_LIBS
=$LIBS
15014 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15015 /* end confdefs.h. */
15017 /* Override any GCC internal prototype to avoid an error.
15018 Use char because int might match the return type of a GCC
15019 builtin and then its argument prototype would still apply. */
15027 return inet_aton ();
15032 for ac_lib
in '' resolv
; do
15033 if test -z "$ac_lib"; then
15034 ac_res
="none required"
15037 LIBS
="-l$ac_lib $ac_func_search_save_LIBS"
15039 if ac_fn_c_try_link
"$LINENO"; then :
15040 ac_cv_search_inet_aton
=$ac_res
15042 rm -f core conftest.err conftest.
$ac_objext \
15044 if ${ac_cv_search_inet_aton+:} false
; then :
15048 if ${ac_cv_search_inet_aton+:} false
; then :
15051 ac_cv_search_inet_aton
=no
15053 rm conftest.
$ac_ext
15054 LIBS
=$ac_func_search_save_LIBS
15056 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_inet_aton" >&5
15057 $as_echo "$ac_cv_search_inet_aton" >&6; }
15058 ac_res
=$ac_cv_search_inet_aton
15059 if test "$ac_res" != no
; then :
15060 test "$ac_res" = "none required" || LIBS
="$ac_res $LIBS"
15080 as_ac_var
=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
15081 ac_fn_c_check_func
"$LINENO" "$ac_func" "$as_ac_var"
15082 if eval test \"x\$
"$as_ac_var"\" = x
"yes"; then :
15083 cat >>confdefs.h
<<_ACEOF
15084 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
15092 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing clock_gettime" >&5
15093 $as_echo_n "checking for library containing clock_gettime... " >&6; }
15094 if ${ac_cv_search_clock_gettime+:} false
; then :
15095 $as_echo_n "(cached) " >&6
15097 ac_func_search_save_LIBS
=$LIBS
15098 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15099 /* end confdefs.h. */
15101 /* Override any GCC internal prototype to avoid an error.
15102 Use char because int might match the return type of a GCC
15103 builtin and then its argument prototype would still apply. */
15107 char clock_gettime ();
15111 return clock_gettime ();
15116 for ac_lib
in '' rt
; do
15117 if test -z "$ac_lib"; then
15118 ac_res
="none required"
15121 LIBS
="-l$ac_lib $ac_func_search_save_LIBS"
15123 if ac_fn_c_try_link
"$LINENO"; then :
15124 ac_cv_search_clock_gettime
=$ac_res
15126 rm -f core conftest.err conftest.
$ac_objext \
15128 if ${ac_cv_search_clock_gettime+:} false
; then :
15132 if ${ac_cv_search_clock_gettime+:} false
; then :
15135 ac_cv_search_clock_gettime
=no
15137 rm conftest.
$ac_ext
15138 LIBS
=$ac_func_search_save_LIBS
15140 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_clock_gettime" >&5
15141 $as_echo "$ac_cv_search_clock_gettime" >&6; }
15142 ac_res
=$ac_cv_search_clock_gettime
15143 if test "$ac_res" != no
; then :
15144 test "$ac_res" = "none required" || LIBS
="$ac_res $LIBS"
15146 $as_echo "#define HAVE_CLOCK_GETTIME 1" >>confdefs.h
15148 test "$ac_res" = "none required" || RT_LIBS
="$ac_res"
15156 if test "$ac_cv_header_ldap_h" = "yes" -a "$ac_cv_header_lber_h" = "yes"
15158 ac_fn_c_check_type
"$LINENO" "LDAPSortKey" "ac_cv_type_LDAPSortKey" "#include <ldap.h>
15160 if test "x$ac_cv_type_LDAPSortKey" = xyes
; then :
15161 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldap_initialize in -lldap_r" >&5
15162 $as_echo_n "checking for ldap_initialize in -lldap_r... " >&6; }
15163 if ${ac_cv_lib_ldap_r_ldap_initialize+:} false
; then :
15164 $as_echo_n "(cached) " >&6
15166 ac_check_lib_save_LIBS
=$LIBS
15167 LIBS
="-lldap_r $PTHREAD_LIBS $LIBS"
15168 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15169 /* end confdefs.h. */
15171 /* Override any GCC internal prototype to avoid an error.
15172 Use char because int might match the return type of a GCC
15173 builtin and then its argument prototype would still apply. */
15177 char ldap_initialize ();
15181 return ldap_initialize ();
15186 if ac_fn_c_try_link
"$LINENO"; then :
15187 ac_cv_lib_ldap_r_ldap_initialize
=yes
15189 ac_cv_lib_ldap_r_ldap_initialize
=no
15191 rm -f core conftest.err conftest.
$ac_objext \
15192 conftest
$ac_exeext conftest.
$ac_ext
15193 LIBS
=$ac_check_lib_save_LIBS
15195 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ldap_r_ldap_initialize" >&5
15196 $as_echo "$ac_cv_lib_ldap_r_ldap_initialize" >&6; }
15197 if test "x$ac_cv_lib_ldap_r_ldap_initialize" = xyes
; then :
15198 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ber_init in -llber" >&5
15199 $as_echo_n "checking for ber_init in -llber... " >&6; }
15200 if ${ac_cv_lib_lber_ber_init+:} false
; then :
15201 $as_echo_n "(cached) " >&6
15203 ac_check_lib_save_LIBS
=$LIBS
15204 LIBS
="-llber $PTHREAD_LIBS $LIBS"
15205 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15206 /* end confdefs.h. */
15208 /* Override any GCC internal prototype to avoid an error.
15209 Use char because int might match the return type of a GCC
15210 builtin and then its argument prototype would still apply. */
15218 return ber_init ();
15223 if ac_fn_c_try_link
"$LINENO"; then :
15224 ac_cv_lib_lber_ber_init
=yes
15226 ac_cv_lib_lber_ber_init
=no
15228 rm -f core conftest.err conftest.
$ac_objext \
15229 conftest
$ac_exeext conftest.
$ac_ext
15230 LIBS
=$ac_check_lib_save_LIBS
15232 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_lber_ber_init" >&5
15233 $as_echo "$ac_cv_lib_lber_ber_init" >&6; }
15234 if test "x$ac_cv_lib_lber_ber_init" = xyes
; then :
15236 $as_echo "#define HAVE_LDAP 1" >>confdefs.h
15238 LDAP_LIBS
="-lldap_r -llber"
15245 ac_wine_check_funcs_save_LIBS
="$LIBS"
15246 LIBS
="$LIBS $LDAP_LIBS $PTHREAD_LIBS"
15248 ldap_count_references \
15249 ldap_first_reference \
15250 ldap_next_reference \
15251 ldap_parse_reference \
15252 ldap_parse_sort_control \
15253 ldap_parse_sortresponse_control \
15254 ldap_parse_vlv_control \
15255 ldap_parse_vlvresponse_control
15257 as_ac_var
=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
15258 ac_fn_c_check_func
"$LINENO" "$ac_func" "$as_ac_var"
15259 if eval test \"x\$
"$as_ac_var"\" = x
"yes"; then :
15260 cat >>confdefs.h
<<_ACEOF
15261 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
15267 LIBS
="$ac_wine_check_funcs_save_LIBS"
15269 if test "x$LDAP_LIBS" = "x"; then :
15270 case "x$with_ldap" in
15271 x
) as_fn_append wine_notices
"|libldap (OpenLDAP) ${notice_platform}development files not found, LDAP won't be supported." ;;
15273 *) as_fn_error $?
"libldap (OpenLDAP) ${notice_platform}development files not found, LDAP won't be supported.
15274 This is an error since --with-ldap was requested." "$LINENO" 5 ;;
15278 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether mkdir takes only one argument" >&5
15279 $as_echo_n "checking whether mkdir takes only one argument... " >&6; }
15280 if ${wine_cv_one_arg_mkdir+:} false
; then :
15281 $as_echo_n "(cached) " >&6
15283 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15284 /* end confdefs.h. */
15285 #include <sys/stat.h>
15294 if ac_fn_c_try_compile
"$LINENO"; then :
15295 wine_cv_one_arg_mkdir
=yes
15297 wine_cv_one_arg_mkdir
=no
15299 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
15301 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_one_arg_mkdir" >&5
15302 $as_echo "$wine_cv_one_arg_mkdir" >&6; }
15303 if test "$wine_cv_one_arg_mkdir" = "yes"
15306 $as_echo "#define HAVE_ONE_ARG_MKDIR 1" >>confdefs.h
15310 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sched_setaffinity" >&5
15311 $as_echo_n "checking for sched_setaffinity... " >&6; }
15312 if ${wine_cv_have_sched_setaffinity+:} false
; then :
15313 $as_echo_n "(cached) " >&6
15315 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15316 /* end confdefs.h. */
15317 #define _GNU_SOURCE
15322 sched_setaffinity(0, 0, 0);
15327 if ac_fn_c_try_link
"$LINENO"; then :
15328 wine_cv_have_sched_setaffinity
=yes
15330 wine_cv_have_sched_setaffinity
=no
15332 rm -f core conftest.err conftest.
$ac_objext \
15333 conftest
$ac_exeext conftest.
$ac_ext
15335 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_have_sched_setaffinity" >&5
15336 $as_echo "$wine_cv_have_sched_setaffinity" >&6; }
15337 if test "$wine_cv_have_sched_setaffinity" = "yes"
15340 $as_echo "#define HAVE_SCHED_SETAFFINITY 1" >>confdefs.h
15344 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fallocate" >&5
15345 $as_echo_n "checking for fallocate... " >&6; }
15346 if ${wine_cv_have_fallocate+:} false
; then :
15347 $as_echo_n "(cached) " >&6
15349 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15350 /* end confdefs.h. */
15351 #define _GNU_SOURCE
15356 fallocate(-1, 0, 0, 0);
15361 if ac_fn_c_try_link
"$LINENO"; then :
15362 wine_cv_have_fallocate
=yes
15364 wine_cv_have_fallocate
=no
15366 rm -f core conftest.err conftest.
$ac_objext \
15367 conftest
$ac_exeext conftest.
$ac_ext
15369 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_have_fallocate" >&5
15370 $as_echo "$wine_cv_have_fallocate" >&6; }
15371 if test "$wine_cv_have_fallocate" = "yes"
15374 $as_echo "#define HAVE_FALLOCATE 1" >>confdefs.h
15379 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for inline" >&5
15380 $as_echo_n "checking for inline... " >&6; }
15381 if ${ac_cv_c_inline+:} false
; then :
15382 $as_echo_n "(cached) " >&6
15385 for ac_kw
in inline __inline__ __inline
; do
15386 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15387 /* end confdefs.h. */
15388 #ifndef __cplusplus
15390 static $ac_kw foo_t static_foo () {return 0; }
15391 $ac_kw foo_t foo () {return 0; }
15395 if ac_fn_c_try_compile
"$LINENO"; then :
15396 ac_cv_c_inline
=$ac_kw
15398 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
15399 test "$ac_cv_c_inline" != no
&& break
15403 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_inline" >&5
15404 $as_echo "$ac_cv_c_inline" >&6; }
15406 case $ac_cv_c_inline in
15409 case $ac_cv_c_inline in
15411 *) ac_val
=$ac_cv_c_inline;;
15413 cat >>confdefs.h
<<_ACEOF
15414 #ifndef __cplusplus
15415 #define inline $ac_val
15421 ac_fn_c_check_type
"$LINENO" "mode_t" "ac_cv_type_mode_t" "$ac_includes_default"
15422 if test "x$ac_cv_type_mode_t" = xyes
; then :
15424 cat >>confdefs.h
<<_ACEOF
15425 #define HAVE_MODE_T 1
15430 ac_fn_c_check_type
"$LINENO" "off_t" "ac_cv_type_off_t" "$ac_includes_default"
15431 if test "x$ac_cv_type_off_t" = xyes
; then :
15433 cat >>confdefs.h
<<_ACEOF
15434 #define HAVE_OFF_T 1
15439 ac_fn_c_check_type
"$LINENO" "pid_t" "ac_cv_type_pid_t" "$ac_includes_default"
15440 if test "x$ac_cv_type_pid_t" = xyes
; then :
15442 cat >>confdefs.h
<<_ACEOF
15443 #define HAVE_PID_T 1
15448 ac_fn_c_check_type
"$LINENO" "size_t" "ac_cv_type_size_t" "$ac_includes_default"
15449 if test "x$ac_cv_type_size_t" = xyes
; then :
15451 cat >>confdefs.h
<<_ACEOF
15452 #define HAVE_SIZE_T 1
15457 ac_fn_c_check_type
"$LINENO" "ssize_t" "ac_cv_type_ssize_t" "$ac_includes_default"
15458 if test "x$ac_cv_type_ssize_t" = xyes
; then :
15460 cat >>confdefs.h
<<_ACEOF
15461 #define HAVE_SSIZE_T 1
15466 ac_fn_c_check_type
"$LINENO" "long long" "ac_cv_type_long_long" "$ac_includes_default"
15467 if test "x$ac_cv_type_long_long" = xyes
; then :
15469 cat >>confdefs.h
<<_ACEOF
15470 #define HAVE_LONG_LONG 1
15475 ac_fn_c_check_type
"$LINENO" "fsblkcnt_t" "ac_cv_type_fsblkcnt_t" "$ac_includes_default"
15476 if test "x$ac_cv_type_fsblkcnt_t" = xyes
; then :
15478 cat >>confdefs.h
<<_ACEOF
15479 #define HAVE_FSBLKCNT_T 1
15484 ac_fn_c_check_type
"$LINENO" "fsfilcnt_t" "ac_cv_type_fsfilcnt_t" "$ac_includes_default"
15485 if test "x$ac_cv_type_fsfilcnt_t" = xyes
; then :
15487 cat >>confdefs.h
<<_ACEOF
15488 #define HAVE_FSFILCNT_T 1
15494 ac_fn_c_check_type
"$LINENO" "sigset_t" "ac_cv_type_sigset_t" "#include <sys/types.h>
15495 #include <signal.h>
15497 if test "x$ac_cv_type_sigset_t" = xyes
; then :
15499 cat >>confdefs.h
<<_ACEOF
15500 #define HAVE_SIGSET_T 1
15506 ac_fn_c_check_type
"$LINENO" "request_sense" "ac_cv_type_request_sense" "#include <linux/cdrom.h>
15508 if test "x$ac_cv_type_request_sense" = xyes
; then :
15510 cat >>confdefs.h
<<_ACEOF
15511 #define HAVE_REQUEST_SENSE 1
15518 ac_fn_c_check_type
"$LINENO" "struct xinpgen" "ac_cv_type_struct_xinpgen" "#include <sys/types.h>
15519 #ifdef HAVE_SYS_SOCKET_H
15520 #include <sys/socket.h>
15522 #ifdef HAVE_SYS_SOCKETVAR_H
15523 #include <sys/socketvar.h>
15525 #ifdef HAVE_NET_ROUTE_H
15526 #include <net/route.h>
15528 #ifdef HAVE_NETINET_IN_H
15529 #include <netinet/in.h>
15531 #ifdef HAVE_NETINET_IN_SYSTM_H
15532 #include <netinet/in_systm.h>
15534 #ifdef HAVE_NETINET_IP_H
15535 #include <netinet/ip.h>
15537 #ifdef HAVE_NETINET_IN_PCB_H
15538 #include <netinet/in_pcb.h>
15541 if test "x$ac_cv_type_struct_xinpgen" = xyes
; then :
15543 cat >>confdefs.h
<<_ACEOF
15544 #define HAVE_STRUCT_XINPGEN 1
15551 ac_fn_c_check_type
"$LINENO" "struct r_debug" "ac_cv_type_struct_r_debug" "#ifdef HAVE_LINK_H
15554 #ifdef HAVE_SYS_LINK_H
15555 #include <sys/link.h>
15558 if test "x$ac_cv_type_struct_r_debug" = xyes
; then :
15560 cat >>confdefs.h
<<_ACEOF
15561 #define HAVE_STRUCT_R_DEBUG 1
15566 ac_fn_c_check_type
"$LINENO" "struct link_map" "ac_cv_type_struct_link_map" "#ifdef HAVE_LINK_H
15569 #ifdef HAVE_SYS_LINK_H
15570 #include <sys/link.h>
15573 if test "x$ac_cv_type_struct_link_map" = xyes
; then :
15575 cat >>confdefs.h
<<_ACEOF
15576 #define HAVE_STRUCT_LINK_MAP 1
15583 ac_fn_c_check_member
"$LINENO" "struct ff_effect" "direction" "ac_cv_member_struct_ff_effect_direction" "#ifdef HAVE_LINUX_INPUT_H
15584 #include <linux/input.h>
15587 if test "x$ac_cv_member_struct_ff_effect_direction" = xyes
; then :
15589 cat >>confdefs.h
<<_ACEOF
15590 #define HAVE_STRUCT_FF_EFFECT_DIRECTION 1
15597 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sigaddset" >&5
15598 $as_echo_n "checking for sigaddset... " >&6; }
15599 if ${wine_cv_have_sigaddset+:} false
; then :
15600 $as_echo_n "(cached) " >&6
15602 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15603 /* end confdefs.h. */
15604 #include <signal.h>
15608 sigset_t set; sigaddset(&set,SIGTERM);
15613 if ac_fn_c_try_link
"$LINENO"; then :
15614 wine_cv_have_sigaddset
=yes
15616 wine_cv_have_sigaddset
=no
15618 rm -f core conftest.err conftest.
$ac_objext \
15619 conftest
$ac_exeext conftest.
$ac_ext
15621 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_have_sigaddset" >&5
15622 $as_echo "$wine_cv_have_sigaddset" >&6; }
15623 if test "$wine_cv_have_sigaddset" = "yes"
15626 $as_echo "#define HAVE_SIGADDSET 1" >>confdefs.h
15631 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we can use re-entrant gethostbyname_r Linux style" >&5
15632 $as_echo_n "checking whether we can use re-entrant gethostbyname_r Linux style... " >&6; }
15633 if ${wine_cv_linux_gethostbyname_r_6+:} false
; then :
15634 $as_echo_n "(cached) " >&6
15636 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15637 /* end confdefs.h. */
15645 struct hostent *result;
15652 gethostbyname_r(name,&he,buf,bufsize,&result,&errnr);
15653 gethostbyaddr_r(addr, addrlen, addrtype,&he,buf,bufsize,&result,&errnr);
15659 if ac_fn_c_try_link
"$LINENO"; then :
15660 wine_cv_linux_gethostbyname_r_6
=yes
15662 wine_cv_linux_gethostbyname_r_6
=no
15665 rm -f core conftest.err conftest.
$ac_objext \
15666 conftest
$ac_exeext conftest.
$ac_ext
15669 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_linux_gethostbyname_r_6" >&5
15670 $as_echo "$wine_cv_linux_gethostbyname_r_6" >&6; }
15671 if test "$wine_cv_linux_gethostbyname_r_6" = "yes"
15674 $as_echo "#define HAVE_LINUX_GETHOSTBYNAME_R_6 1" >>confdefs.h
15678 if test "$ac_cv_header_linux_joystick_h" = "yes"
15680 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether linux/joystick.h uses the Linux 2.2+ API" >&5
15681 $as_echo_n "checking whether linux/joystick.h uses the Linux 2.2+ API... " >&6; }
15682 if ${wine_cv_linux_joystick_22_api+:} false
; then :
15683 $as_echo_n "(cached) " >&6
15685 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15686 /* end confdefs.h. */
15688 #include <sys/ioctl.h>
15689 #include <sys/types.h>
15690 #include <linux/joystick.h>
15692 struct js_event blub;
15693 #if !defined(JS_EVENT_AXIS) || !defined(JS_EVENT_BUTTON)
15694 #error "no 2.2 header"
15705 if ac_fn_c_try_compile
"$LINENO"; then :
15706 wine_cv_linux_joystick_22_api
=yes
15708 wine_cv_linux_joystick_22_api
=no
15710 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
15713 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_linux_joystick_22_api" >&5
15714 $as_echo "$wine_cv_linux_joystick_22_api" >&6; }
15715 if test "$wine_cv_linux_joystick_22_api" = "yes"
15718 $as_echo "#define HAVE_LINUX_22_JOYSTICK_API 1" >>confdefs.h
15724 ac_fn_c_check_member
"$LINENO" "struct statfs" "f_bfree" "ac_cv_member_struct_statfs_f_bfree" "#include <sys/types.h>
15725 #ifdef HAVE_SYS_PARAM_H
15726 # include <sys/param.h>
15728 #ifdef HAVE_SYS_MOUNT_H
15729 # include <sys/mount.h>
15731 #ifdef HAVE_SYS_VFS_H
15732 # include <sys/vfs.h>
15734 #ifdef HAVE_SYS_STATFS_H
15735 # include <sys/statfs.h>
15738 if test "x$ac_cv_member_struct_statfs_f_bfree" = xyes
; then :
15740 cat >>confdefs.h
<<_ACEOF
15741 #define HAVE_STRUCT_STATFS_F_BFREE 1
15746 ac_fn_c_check_member
"$LINENO" "struct statfs" "f_bavail" "ac_cv_member_struct_statfs_f_bavail" "#include <sys/types.h>
15747 #ifdef HAVE_SYS_PARAM_H
15748 # include <sys/param.h>
15750 #ifdef HAVE_SYS_MOUNT_H
15751 # include <sys/mount.h>
15753 #ifdef HAVE_SYS_VFS_H
15754 # include <sys/vfs.h>
15756 #ifdef HAVE_SYS_STATFS_H
15757 # include <sys/statfs.h>
15760 if test "x$ac_cv_member_struct_statfs_f_bavail" = xyes
; then :
15762 cat >>confdefs.h
<<_ACEOF
15763 #define HAVE_STRUCT_STATFS_F_BAVAIL 1
15768 ac_fn_c_check_member
"$LINENO" "struct statfs" "f_frsize" "ac_cv_member_struct_statfs_f_frsize" "#include <sys/types.h>
15769 #ifdef HAVE_SYS_PARAM_H
15770 # include <sys/param.h>
15772 #ifdef HAVE_SYS_MOUNT_H
15773 # include <sys/mount.h>
15775 #ifdef HAVE_SYS_VFS_H
15776 # include <sys/vfs.h>
15778 #ifdef HAVE_SYS_STATFS_H
15779 # include <sys/statfs.h>
15782 if test "x$ac_cv_member_struct_statfs_f_frsize" = xyes
; then :
15784 cat >>confdefs.h
<<_ACEOF
15785 #define HAVE_STRUCT_STATFS_F_FRSIZE 1
15790 ac_fn_c_check_member
"$LINENO" "struct statfs" "f_ffree" "ac_cv_member_struct_statfs_f_ffree" "#include <sys/types.h>
15791 #ifdef HAVE_SYS_PARAM_H
15792 # include <sys/param.h>
15794 #ifdef HAVE_SYS_MOUNT_H
15795 # include <sys/mount.h>
15797 #ifdef HAVE_SYS_VFS_H
15798 # include <sys/vfs.h>
15800 #ifdef HAVE_SYS_STATFS_H
15801 # include <sys/statfs.h>
15804 if test "x$ac_cv_member_struct_statfs_f_ffree" = xyes
; then :
15806 cat >>confdefs.h
<<_ACEOF
15807 #define HAVE_STRUCT_STATFS_F_FFREE 1
15812 ac_fn_c_check_member
"$LINENO" "struct statfs" "f_favail" "ac_cv_member_struct_statfs_f_favail" "#include <sys/types.h>
15813 #ifdef HAVE_SYS_PARAM_H
15814 # include <sys/param.h>
15816 #ifdef HAVE_SYS_MOUNT_H
15817 # include <sys/mount.h>
15819 #ifdef HAVE_SYS_VFS_H
15820 # include <sys/vfs.h>
15822 #ifdef HAVE_SYS_STATFS_H
15823 # include <sys/statfs.h>
15826 if test "x$ac_cv_member_struct_statfs_f_favail" = xyes
; then :
15828 cat >>confdefs.h
<<_ACEOF
15829 #define HAVE_STRUCT_STATFS_F_FAVAIL 1
15834 ac_fn_c_check_member
"$LINENO" "struct statfs" "f_namelen" "ac_cv_member_struct_statfs_f_namelen" "#include <sys/types.h>
15835 #ifdef HAVE_SYS_PARAM_H
15836 # include <sys/param.h>
15838 #ifdef HAVE_SYS_MOUNT_H
15839 # include <sys/mount.h>
15841 #ifdef HAVE_SYS_VFS_H
15842 # include <sys/vfs.h>
15844 #ifdef HAVE_SYS_STATFS_H
15845 # include <sys/statfs.h>
15848 if test "x$ac_cv_member_struct_statfs_f_namelen" = xyes
; then :
15850 cat >>confdefs.h
<<_ACEOF
15851 #define HAVE_STRUCT_STATFS_F_NAMELEN 1
15858 ac_fn_c_check_member
"$LINENO" "struct statvfs" "f_blocks" "ac_cv_member_struct_statvfs_f_blocks" "#ifdef HAVE_SYS_STATVFS_H
15859 #include <sys/statvfs.h>
15862 if test "x$ac_cv_member_struct_statvfs_f_blocks" = xyes
; then :
15864 cat >>confdefs.h
<<_ACEOF
15865 #define HAVE_STRUCT_STATVFS_F_BLOCKS 1
15872 ac_fn_c_check_member
"$LINENO" "struct dirent" "d_reclen" "ac_cv_member_struct_dirent_d_reclen" "#ifdef HAVE_DIRENT_H
15873 #include <dirent.h>
15876 if test "x$ac_cv_member_struct_dirent_d_reclen" = xyes
; then :
15878 cat >>confdefs.h
<<_ACEOF
15879 #define HAVE_STRUCT_DIRENT_D_RECLEN 1
15886 ac_fn_c_check_member
"$LINENO" "struct msghdr" "msg_accrights" "ac_cv_member_struct_msghdr_msg_accrights" "#include <sys/types.h>
15887 #ifdef HAVE_SYS_SOCKET_H
15888 # include <sys/socket.h>
15890 #ifdef HAVE_SYS_UN_H
15891 # include <sys/un.h>
15894 if test "x$ac_cv_member_struct_msghdr_msg_accrights" = xyes
; then :
15896 cat >>confdefs.h
<<_ACEOF
15897 #define HAVE_STRUCT_MSGHDR_MSG_ACCRIGHTS 1
15902 ac_fn_c_check_member
"$LINENO" "struct sockaddr" "sa_len" "ac_cv_member_struct_sockaddr_sa_len" "#include <sys/types.h>
15903 #ifdef HAVE_SYS_SOCKET_H
15904 # include <sys/socket.h>
15906 #ifdef HAVE_SYS_UN_H
15907 # include <sys/un.h>
15910 if test "x$ac_cv_member_struct_sockaddr_sa_len" = xyes
; then :
15912 cat >>confdefs.h
<<_ACEOF
15913 #define HAVE_STRUCT_SOCKADDR_SA_LEN 1
15918 ac_fn_c_check_member
"$LINENO" "struct sockaddr_un" "sun_len" "ac_cv_member_struct_sockaddr_un_sun_len" "#include <sys/types.h>
15919 #ifdef HAVE_SYS_SOCKET_H
15920 # include <sys/socket.h>
15922 #ifdef HAVE_SYS_UN_H
15923 # include <sys/un.h>
15926 if test "x$ac_cv_member_struct_sockaddr_un_sun_len" = xyes
; then :
15928 cat >>confdefs.h
<<_ACEOF
15929 #define HAVE_STRUCT_SOCKADDR_UN_SUN_LEN 1
15936 ac_fn_c_check_member
"$LINENO" "scsireq_t" "cmd" "ac_cv_member_scsireq_t_cmd" "#include <sys/types.h>
15937 #ifdef HAVE_SCSI_SG_H
15938 #include <scsi/sg.h>
15941 if test "x$ac_cv_member_scsireq_t_cmd" = xyes
; then :
15943 cat >>confdefs.h
<<_ACEOF
15944 #define HAVE_SCSIREQ_T_CMD 1
15949 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>
15950 #ifdef HAVE_SCSI_SG_H
15951 #include <scsi/sg.h>
15954 if test "x$ac_cv_member_sg_io_hdr_t_interface_id" = xyes
; then :
15956 cat >>confdefs.h
<<_ACEOF
15957 #define HAVE_SG_IO_HDR_T_INTERFACE_ID 1
15964 ac_fn_c_check_member
"$LINENO" "siginfo_t" "si_fd" "ac_cv_member_siginfo_t_si_fd" "#include <signal.h>
15966 if test "x$ac_cv_member_siginfo_t_si_fd" = xyes
; then :
15968 cat >>confdefs.h
<<_ACEOF
15969 #define HAVE_SIGINFO_T_SI_FD 1
15976 ac_fn_c_check_member
"$LINENO" "struct mtget" "mt_blksiz" "ac_cv_member_struct_mtget_mt_blksiz" "#include <sys/types.h>
15977 #ifdef HAVE_SYS_MTIO_H
15978 #include <sys/mtio.h>
15981 if test "x$ac_cv_member_struct_mtget_mt_blksiz" = xyes
; then :
15983 cat >>confdefs.h
<<_ACEOF
15984 #define HAVE_STRUCT_MTGET_MT_BLKSIZ 1
15989 ac_fn_c_check_member
"$LINENO" "struct mtget" "mt_gstat" "ac_cv_member_struct_mtget_mt_gstat" "#include <sys/types.h>
15990 #ifdef HAVE_SYS_MTIO_H
15991 #include <sys/mtio.h>
15994 if test "x$ac_cv_member_struct_mtget_mt_gstat" = xyes
; then :
15996 cat >>confdefs.h
<<_ACEOF
15997 #define HAVE_STRUCT_MTGET_MT_GSTAT 1
16002 ac_fn_c_check_member
"$LINENO" "struct mtget" "mt_blkno" "ac_cv_member_struct_mtget_mt_blkno" "#include <sys/types.h>
16003 #ifdef HAVE_SYS_MTIO_H
16004 #include <sys/mtio.h>
16007 if test "x$ac_cv_member_struct_mtget_mt_blkno" = xyes
; then :
16009 cat >>confdefs.h
<<_ACEOF
16010 #define HAVE_STRUCT_MTGET_MT_BLKNO 1
16017 ac_fn_c_check_member
"$LINENO" "struct option" "name" "ac_cv_member_struct_option_name" "#ifdef HAVE_GETOPT_H
16018 #include <getopt.h>
16021 if test "x$ac_cv_member_struct_option_name" = xyes
; then :
16023 cat >>confdefs.h
<<_ACEOF
16024 #define HAVE_STRUCT_OPTION_NAME 1
16031 ac_fn_c_check_member
"$LINENO" "struct stat" "st_blocks" "ac_cv_member_struct_stat_st_blocks" "$ac_includes_default"
16032 if test "x$ac_cv_member_struct_stat_st_blocks" = xyes
; then :
16034 cat >>confdefs.h
<<_ACEOF
16035 #define HAVE_STRUCT_STAT_ST_BLOCKS 1
16040 ac_fn_c_check_member
"$LINENO" "struct stat" "st_mtim" "ac_cv_member_struct_stat_st_mtim" "$ac_includes_default"
16041 if test "x$ac_cv_member_struct_stat_st_mtim" = xyes
; then :
16043 cat >>confdefs.h
<<_ACEOF
16044 #define HAVE_STRUCT_STAT_ST_MTIM 1
16049 ac_fn_c_check_member
"$LINENO" "struct stat" "st_mtimespec" "ac_cv_member_struct_stat_st_mtimespec" "$ac_includes_default"
16050 if test "x$ac_cv_member_struct_stat_st_mtimespec" = xyes
; then :
16052 cat >>confdefs.h
<<_ACEOF
16053 #define HAVE_STRUCT_STAT_ST_MTIMESPEC 1
16058 ac_fn_c_check_member
"$LINENO" "struct stat" "st_ctim" "ac_cv_member_struct_stat_st_ctim" "$ac_includes_default"
16059 if test "x$ac_cv_member_struct_stat_st_ctim" = xyes
; then :
16061 cat >>confdefs.h
<<_ACEOF
16062 #define HAVE_STRUCT_STAT_ST_CTIM 1
16067 ac_fn_c_check_member
"$LINENO" "struct stat" "st_ctimespec" "ac_cv_member_struct_stat_st_ctimespec" "$ac_includes_default"
16068 if test "x$ac_cv_member_struct_stat_st_ctimespec" = xyes
; then :
16070 cat >>confdefs.h
<<_ACEOF
16071 #define HAVE_STRUCT_STAT_ST_CTIMESPEC 1
16076 ac_fn_c_check_member
"$LINENO" "struct stat" "st_atim" "ac_cv_member_struct_stat_st_atim" "$ac_includes_default"
16077 if test "x$ac_cv_member_struct_stat_st_atim" = xyes
; then :
16079 cat >>confdefs.h
<<_ACEOF
16080 #define HAVE_STRUCT_STAT_ST_ATIM 1
16085 ac_fn_c_check_member
"$LINENO" "struct stat" "st_atimespec" "ac_cv_member_struct_stat_st_atimespec" "$ac_includes_default"
16086 if test "x$ac_cv_member_struct_stat_st_atimespec" = xyes
; then :
16088 cat >>confdefs.h
<<_ACEOF
16089 #define HAVE_STRUCT_STAT_ST_ATIMESPEC 1
16094 ac_fn_c_check_member
"$LINENO" "struct stat" "st_birthtime" "ac_cv_member_struct_stat_st_birthtime" "$ac_includes_default"
16095 if test "x$ac_cv_member_struct_stat_st_birthtime" = xyes
; then :
16097 cat >>confdefs.h
<<_ACEOF
16098 #define HAVE_STRUCT_STAT_ST_BIRTHTIME 1
16103 ac_fn_c_check_member
"$LINENO" "struct stat" "st_birthtim" "ac_cv_member_struct_stat_st_birthtim" "$ac_includes_default"
16104 if test "x$ac_cv_member_struct_stat_st_birthtim" = xyes
; then :
16106 cat >>confdefs.h
<<_ACEOF
16107 #define HAVE_STRUCT_STAT_ST_BIRTHTIM 1
16112 ac_fn_c_check_member
"$LINENO" "struct stat" "st_birthtimespec" "ac_cv_member_struct_stat_st_birthtimespec" "$ac_includes_default"
16113 if test "x$ac_cv_member_struct_stat_st_birthtimespec" = xyes
; then :
16115 cat >>confdefs.h
<<_ACEOF
16116 #define HAVE_STRUCT_STAT_ST_BIRTHTIMESPEC 1
16121 ac_fn_c_check_member
"$LINENO" "struct stat" "__st_birthtime" "ac_cv_member_struct_stat___st_birthtime" "$ac_includes_default"
16122 if test "x$ac_cv_member_struct_stat___st_birthtime" = xyes
; then :
16124 cat >>confdefs.h
<<_ACEOF
16125 #define HAVE_STRUCT_STAT___ST_BIRTHTIME 1
16130 ac_fn_c_check_member
"$LINENO" "struct stat" "__st_birthtim" "ac_cv_member_struct_stat___st_birthtim" "$ac_includes_default"
16131 if test "x$ac_cv_member_struct_stat___st_birthtim" = xyes
; then :
16133 cat >>confdefs.h
<<_ACEOF
16134 #define HAVE_STRUCT_STAT___ST_BIRTHTIM 1
16141 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
16142 #include <sys/types.h>
16144 #ifdef HAVE_NETINET_IN_H
16145 #include <netinet/in.h>
16148 if test "x$ac_cv_member_struct_sockaddr_in6_sin6_scope_id" = xyes
; then :
16150 cat >>confdefs.h
<<_ACEOF
16151 #define HAVE_STRUCT_SOCKADDR_IN6_SIN6_SCOPE_ID 1
16158 ac_fn_c_check_type
"$LINENO" "struct __res_state" "ac_cv_type_struct___res_state" "#ifdef HAVE_RESOLV_H
16159 #include <resolv.h>
16162 if test "x$ac_cv_type_struct___res_state" = xyes
; then :
16164 cat >>confdefs.h
<<_ACEOF
16165 #define HAVE_STRUCT___RES_STATE 1
16172 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
16173 #include <resolv.h>
16176 if test "x$ac_cv_member_struct___res_state__u__ext_nscount6" = xyes
; then :
16178 cat >>confdefs.h
<<_ACEOF
16179 #define HAVE_STRUCT___RES_STATE__U__EXT_NSCOUNT6 1
16186 ac_fn_c_check_member
"$LINENO" "ns_msg" "_msg_ptr" "ac_cv_member_ns_msg__msg_ptr" "#ifdef HAVE_SYS_TYPES_H
16187 #include <sys/types.h>
16189 #ifdef HAVE_NETINET_IN_H
16190 # include <netinet/in.h>
16192 #ifdef HAVE_ARPA_NAMESER_H
16193 # include <arpa/nameser.h>
16196 if test "x$ac_cv_member_ns_msg__msg_ptr" = xyes
; then :
16198 cat >>confdefs.h
<<_ACEOF
16199 #define HAVE_NS_MSG__MSG_PTR 1
16206 ac_fn_c_check_member
"$LINENO" "struct icmpstat" "icps_inhist" "ac_cv_member_struct_icmpstat_icps_inhist" "#ifdef HAVE_SYS_TYPES_H
16207 #include <sys/types.h>
16209 #ifdef HAVE_NETINET_IP_H
16210 #include <netinet/ip.h>
16212 #ifdef HAVE_NETINET_IP_ICMP_H
16213 #include <netinet/ip_icmp.h>
16215 #ifdef HAVE_NETINET_ICMP_VAR_H
16216 #include <netinet/icmp_var.h>
16219 if test "x$ac_cv_member_struct_icmpstat_icps_inhist" = xyes
; then :
16221 cat >>confdefs.h
<<_ACEOF
16222 #define HAVE_STRUCT_ICMPSTAT_ICPS_INHIST 1
16229 ac_fn_c_check_member
"$LINENO" "struct icmpstat" "icps_outhist" "ac_cv_member_struct_icmpstat_icps_outhist" "#ifdef HAVE_SYS_TYPES_H
16230 #include <sys/types.h>
16232 #ifdef HAVE_ALIAS_H
16235 #ifdef HAVE_SYS_SOCKET_H
16236 #include <sys/socket.h>
16238 #ifdef HAVE_SYS_SOCKETVAR_H
16239 #include <sys/socketvar.h>
16241 #ifdef HAVE_SYS_TIMEOUT_H
16242 #include <sys/timeout.h>
16244 #ifdef HAVE_NETINET_IN_H
16245 #include <netinet/in.h>
16247 #ifdef HAVE_NETINET_IN_SYSTM_H
16248 #include <netinet/in_systm.h>
16250 #ifdef HAVE_NETINET_IP_H
16251 #include <netinet/ip.h>
16253 #ifdef HAVE_NETINET_IP_VAR_H
16254 #include <netinet/ip_var.h>
16256 #ifdef HAVE_NETINET_IP_ICMP_H
16257 #include <netinet/ip_icmp.h>
16259 #ifdef HAVE_NETINET_ICMP_VAR_H
16260 #include <netinet/icmp_var.h>
16263 if test "x$ac_cv_member_struct_icmpstat_icps_outhist" = xyes
; then :
16265 cat >>confdefs.h
<<_ACEOF
16266 #define HAVE_STRUCT_ICMPSTAT_ICPS_OUTHIST 1
16273 ac_fn_c_check_member
"$LINENO" "struct ipstat" "ips_total" "ac_cv_member_struct_ipstat_ips_total" "#ifdef HAVE_SYS_TYPES_H
16274 #include <sys/types.h>
16276 #ifdef HAVE_SYS_SOCKETVAR_H
16277 #include <sys/socketvar.h>
16279 #ifdef HAVE_NETINET_IN_H
16280 #include <netinet/in.h>
16282 #ifdef HAVE_NETINET_IP_VAR_H
16283 #include <netinet/ip_var.h>
16286 if test "x$ac_cv_member_struct_ipstat_ips_total" = xyes
; then :
16288 cat >>confdefs.h
<<_ACEOF
16289 #define HAVE_STRUCT_IPSTAT_IPS_TOTAL 1
16296 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
16297 #include <netinet/ip_var.h>
16300 if test "x$ac_cv_member_struct_ip_stats_ips_total" = xyes
; then :
16302 cat >>confdefs.h
<<_ACEOF
16303 #define HAVE_STRUCT_IP_STATS_IPS_TOTAL 1
16310 ac_fn_c_check_member
"$LINENO" "struct tcpstat" "tcps_connattempt" "ac_cv_member_struct_tcpstat_tcps_connattempt" "#ifdef HAVE_SYS_TYPES_H
16311 #include <sys/types.h>
16313 #ifdef HAVE_SYS_SOCKETVAR_H
16314 #include <sys/socketvar.h>
16316 #ifdef HAVE_NETINET_IN_H
16317 #include <netinet/in.h>
16319 #ifdef HAVE_NETINET_TCP_H
16320 #include <netinet/tcp.h>
16322 #ifdef HAVE_NETINET_TCP_VAR_H
16323 #include <netinet/tcp_var.h>
16326 if test "x$ac_cv_member_struct_tcpstat_tcps_connattempt" = xyes
; then :
16328 cat >>confdefs.h
<<_ACEOF
16329 #define HAVE_STRUCT_TCPSTAT_TCPS_CONNATTEMPT 1
16336 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
16337 #include <netinet/tcp_var.h>
16340 if test "x$ac_cv_member_struct_tcp_stats_tcps_connattempt" = xyes
; then :
16342 cat >>confdefs.h
<<_ACEOF
16343 #define HAVE_STRUCT_TCP_STATS_TCPS_CONNATTEMPT 1
16350 ac_fn_c_check_member
"$LINENO" "struct udpstat" "udps_ipackets" "ac_cv_member_struct_udpstat_udps_ipackets" "#ifdef HAVE_SYS_TYPES_H
16351 #include <sys/types.h>
16353 #ifdef HAVE_NETINET_IN_H
16354 #include <netinet/in.h>
16356 #ifdef HAVE_NETINET_IP_VAR_H
16357 #include <netinet/ip_var.h>
16359 #ifdef HAVE_NETINET_UDP_H
16360 #include <netinet/udp.h>
16362 #ifdef HAVE_NETINET_UDP_VAR_H
16363 #include <netinet/udp_var.h>
16366 if test "x$ac_cv_member_struct_udpstat_udps_ipackets" = xyes
; then :
16368 cat >>confdefs.h
<<_ACEOF
16369 #define HAVE_STRUCT_UDPSTAT_UDPS_IPACKETS 1
16376 ac_fn_c_check_member
"$LINENO" "struct ifreq" "ifr_hwaddr" "ac_cv_member_struct_ifreq_ifr_hwaddr" "#ifdef HAVE_SYS_TYPES_H
16377 #include <sys/types.h>
16379 #ifdef HAVE_NET_IF_H
16380 # include <net/if.h>
16383 if test "x$ac_cv_member_struct_ifreq_ifr_hwaddr" = xyes
; then :
16385 cat >>confdefs.h
<<_ACEOF
16386 #define HAVE_STRUCT_IFREQ_IFR_HWADDR 1
16393 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for timezone variable" >&5
16394 $as_echo_n "checking for timezone variable... " >&6; }
16395 if ${ac_cv_have_timezone+:} false
; then :
16396 $as_echo_n "(cached) " >&6
16398 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
16399 /* end confdefs.h. */
16409 if ac_fn_c_try_link
"$LINENO"; then :
16410 ac_cv_have_timezone
="yes"
16412 ac_cv_have_timezone
="no"
16414 rm -f core conftest.err conftest.
$ac_objext \
16415 conftest
$ac_exeext conftest.
$ac_ext
16417 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_timezone" >&5
16418 $as_echo "$ac_cv_have_timezone" >&6; }
16419 if test "$ac_cv_have_timezone" = "yes"
16422 $as_echo "#define HAVE_TIMEZONE 1" >>confdefs.h
16425 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for daylight variable" >&5
16426 $as_echo_n "checking for daylight variable... " >&6; }
16427 if ${ac_cv_have_daylight+:} false
; then :
16428 $as_echo_n "(cached) " >&6
16430 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
16431 /* end confdefs.h. */
16441 if ac_fn_c_try_link
"$LINENO"; then :
16442 ac_cv_have_daylight
="yes"
16444 ac_cv_have_daylight
="no"
16446 rm -f core conftest.err conftest.
$ac_objext \
16447 conftest
$ac_exeext conftest.
$ac_ext
16449 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_daylight" >&5
16450 $as_echo "$ac_cv_have_daylight" >&6; }
16451 if test "$ac_cv_have_daylight" = "yes"
16454 $as_echo "#define HAVE_DAYLIGHT 1" >>confdefs.h
16458 ac_save_LIBS
="$LIBS"
16460 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isfinite" >&5
16461 $as_echo_n "checking for isfinite... " >&6; }
16462 if ${ac_cv_have_isfinite+:} false
; then :
16463 $as_echo_n "(cached) " >&6
16465 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
16466 /* end confdefs.h. */
16467 #define _GNU_SOURCE
16472 float f = 0.0; return isfinite(f)
16477 if ac_fn_c_try_link
"$LINENO"; then :
16478 ac_cv_have_isfinite
="yes"
16480 ac_cv_have_isfinite
="no"
16482 rm -f core conftest.err conftest.
$ac_objext \
16483 conftest
$ac_exeext conftest.
$ac_ext
16485 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_isfinite" >&5
16486 $as_echo "$ac_cv_have_isfinite" >&6; }
16487 if test "$ac_cv_have_isfinite" = "yes"
16490 $as_echo "#define HAVE_ISFINITE 1" >>confdefs.h
16494 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinf" >&5
16495 $as_echo_n "checking for isinf... " >&6; }
16496 if ${ac_cv_have_isinf+:} false
; then :
16497 $as_echo_n "(cached) " >&6
16499 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
16500 /* end confdefs.h. */
16505 float f = 0.0; return isinf(f)
16510 if ac_fn_c_try_link
"$LINENO"; then :
16511 ac_cv_have_isinf
="yes"
16513 ac_cv_have_isinf
="no"
16515 rm -f core conftest.err conftest.
$ac_objext \
16516 conftest
$ac_exeext conftest.
$ac_ext
16518 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_isinf" >&5
16519 $as_echo "$ac_cv_have_isinf" >&6; }
16520 if test "$ac_cv_have_isinf" = "yes"
16523 $as_echo "#define HAVE_ISINF 1" >>confdefs.h
16527 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnan" >&5
16528 $as_echo_n "checking for isnan... " >&6; }
16529 if ${ac_cv_have_isnan+:} false
; then :
16530 $as_echo_n "(cached) " >&6
16532 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
16533 /* end confdefs.h. */
16538 float f = 0.0; return isnan(f)
16543 if ac_fn_c_try_link
"$LINENO"; then :
16544 ac_cv_have_isnan
="yes"
16546 ac_cv_have_isnan
="no"
16548 rm -f core conftest.err conftest.
$ac_objext \
16549 conftest
$ac_exeext conftest.
$ac_ext
16551 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_isnan" >&5
16552 $as_echo "$ac_cv_have_isnan" >&6; }
16553 if test "$ac_cv_have_isnan" = "yes"
16556 $as_echo "#define HAVE_ISNAN 1" >>confdefs.h
16583 as_ac_var
=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
16584 ac_fn_c_check_func
"$LINENO" "$ac_func" "$as_ac_var"
16585 if eval test \"x\$
"$as_ac_var"\" = x
"yes"; then :
16586 cat >>confdefs.h
<<_ACEOF
16587 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
16593 LIBS
="$ac_save_LIBS"
16595 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for __builtin_clz" >&5
16596 $as_echo_n "checking for __builtin_clz... " >&6; }
16597 if ${ac_cv_have___builtin_clz+:} false
; then :
16598 $as_echo_n "(cached) " >&6
16600 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
16601 /* end confdefs.h. */
16606 return __builtin_clz(1)
16611 if ac_fn_c_try_link
"$LINENO"; then :
16612 ac_cv_have___builtin_clz
="yes"
16614 ac_cv_have___builtin_clz
="no"
16616 rm -f core conftest.err conftest.
$ac_objext \
16617 conftest
$ac_exeext conftest.
$ac_ext
16619 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have___builtin_clz" >&5
16620 $as_echo "$ac_cv_have___builtin_clz" >&6; }
16621 if test "$ac_cv_have___builtin_clz" = "yes"
16624 $as_echo "#define HAVE___BUILTIN_CLZ 1" >>confdefs.h
16630 *i
[3456789]86*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __i386__" >&5
16631 $as_echo_n "checking whether we need to define __i386__... " >&6; }
16632 if ${ac_cv_cpp_def___i386__+:} false
; then :
16633 $as_echo_n "(cached) " >&6
16635 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
16636 /* end confdefs.h. */
16641 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
16642 $EGREP "yes" >/dev
/null
2>&1; then :
16643 ac_cv_cpp_def___i386__
=yes
16645 ac_cv_cpp_def___i386__
=no
16650 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___i386__" >&5
16651 $as_echo "$ac_cv_cpp_def___i386__" >&6; }
16652 if test "x$ac_cv_cpp_def___i386__" = xyes
; then :
16653 CFLAGS
="$CFLAGS -D__i386__"
16654 LINTFLAGS
="$LINTFLAGS -D__i386__"
16656 *x86_64
*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __x86_64__" >&5
16657 $as_echo_n "checking whether we need to define __x86_64__... " >&6; }
16658 if ${ac_cv_cpp_def___x86_64__+:} false
; then :
16659 $as_echo_n "(cached) " >&6
16661 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
16662 /* end confdefs.h. */
16667 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
16668 $EGREP "yes" >/dev
/null
2>&1; then :
16669 ac_cv_cpp_def___x86_64__
=yes
16671 ac_cv_cpp_def___x86_64__
=no
16676 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___x86_64__" >&5
16677 $as_echo "$ac_cv_cpp_def___x86_64__" >&6; }
16678 if test "x$ac_cv_cpp_def___x86_64__" = xyes
; then :
16679 CFLAGS
="$CFLAGS -D__x86_64__"
16680 LINTFLAGS
="$LINTFLAGS -D__x86_64__"
16682 *sparc64
*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __sparc64__" >&5
16683 $as_echo_n "checking whether we need to define __sparc64__... " >&6; }
16684 if ${ac_cv_cpp_def___sparc64__+:} false
; then :
16685 $as_echo_n "(cached) " >&6
16687 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
16688 /* end confdefs.h. */
16689 #ifndef __sparc64__
16693 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
16694 $EGREP "yes" >/dev
/null
2>&1; then :
16695 ac_cv_cpp_def___sparc64__
=yes
16697 ac_cv_cpp_def___sparc64__
=no
16702 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___sparc64__" >&5
16703 $as_echo "$ac_cv_cpp_def___sparc64__" >&6; }
16704 if test "x$ac_cv_cpp_def___sparc64__" = xyes
; then :
16705 CFLAGS
="$CFLAGS -D__sparc64__"
16706 LINTFLAGS
="$LINTFLAGS -D__sparc64__"
16708 *sparc
*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __sparc__" >&5
16709 $as_echo_n "checking whether we need to define __sparc__... " >&6; }
16710 if ${ac_cv_cpp_def___sparc__+:} false
; then :
16711 $as_echo_n "(cached) " >&6
16713 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
16714 /* end confdefs.h. */
16719 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
16720 $EGREP "yes" >/dev
/null
2>&1; then :
16721 ac_cv_cpp_def___sparc__
=yes
16723 ac_cv_cpp_def___sparc__
=no
16728 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___sparc__" >&5
16729 $as_echo "$ac_cv_cpp_def___sparc__" >&6; }
16730 if test "x$ac_cv_cpp_def___sparc__" = xyes
; then :
16731 CFLAGS
="$CFLAGS -D__sparc__"
16732 LINTFLAGS
="$LINTFLAGS -D__sparc__"
16734 *powerpc64
*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __powerpc64__" >&5
16735 $as_echo_n "checking whether we need to define __powerpc64__... " >&6; }
16736 if ${ac_cv_cpp_def___powerpc64__+:} false
; then :
16737 $as_echo_n "(cached) " >&6
16739 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
16740 /* end confdefs.h. */
16741 #ifndef __powerpc64__
16745 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
16746 $EGREP "yes" >/dev
/null
2>&1; then :
16747 ac_cv_cpp_def___powerpc64__
=yes
16749 ac_cv_cpp_def___powerpc64__
=no
16754 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___powerpc64__" >&5
16755 $as_echo "$ac_cv_cpp_def___powerpc64__" >&6; }
16756 if test "x$ac_cv_cpp_def___powerpc64__" = xyes
; then :
16757 CFLAGS
="$CFLAGS -D__powerpc64__"
16758 LINTFLAGS
="$LINTFLAGS -D__powerpc64__"
16760 *powerpc
*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __powerpc__" >&5
16761 $as_echo_n "checking whether we need to define __powerpc__... " >&6; }
16762 if ${ac_cv_cpp_def___powerpc__+:} false
; then :
16763 $as_echo_n "(cached) " >&6
16765 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
16766 /* end confdefs.h. */
16767 #ifndef __powerpc__
16771 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
16772 $EGREP "yes" >/dev
/null
2>&1; then :
16773 ac_cv_cpp_def___powerpc__
=yes
16775 ac_cv_cpp_def___powerpc__
=no
16780 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___powerpc__" >&5
16781 $as_echo "$ac_cv_cpp_def___powerpc__" >&6; }
16782 if test "x$ac_cv_cpp_def___powerpc__" = xyes
; then :
16783 CFLAGS
="$CFLAGS -D__powerpc__"
16784 LINTFLAGS
="$LINTFLAGS -D__powerpc__"
16786 *aarch64
*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __aarch64__" >&5
16787 $as_echo_n "checking whether we need to define __aarch64__... " >&6; }
16788 if ${ac_cv_cpp_def___aarch64__+:} false
; then :
16789 $as_echo_n "(cached) " >&6
16791 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
16792 /* end confdefs.h. */
16793 #ifndef __aarch64__
16797 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
16798 $EGREP "yes" >/dev
/null
2>&1; then :
16799 ac_cv_cpp_def___aarch64__
=yes
16801 ac_cv_cpp_def___aarch64__
=no
16806 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___aarch64__" >&5
16807 $as_echo "$ac_cv_cpp_def___aarch64__" >&6; }
16808 if test "x$ac_cv_cpp_def___aarch64__" = xyes
; then :
16809 CFLAGS
="$CFLAGS -D__aarch64__"
16810 LINTFLAGS
="$LINTFLAGS -D__aarch64__"
16812 *arm
*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __arm__" >&5
16813 $as_echo_n "checking whether we need to define __arm__... " >&6; }
16814 if ${ac_cv_cpp_def___arm__+:} false
; then :
16815 $as_echo_n "(cached) " >&6
16817 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
16818 /* end confdefs.h. */
16823 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
16824 $EGREP "yes" >/dev
/null
2>&1; then :
16825 ac_cv_cpp_def___arm__
=yes
16827 ac_cv_cpp_def___arm__
=no
16832 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___arm__" >&5
16833 $as_echo "$ac_cv_cpp_def___arm__" >&6; }
16834 if test "x$ac_cv_cpp_def___arm__" = xyes
; then :
16835 CFLAGS
="$CFLAGS -D__arm__"
16836 LINTFLAGS
="$LINTFLAGS -D__arm__"
16840 case $host_vendor in
16841 *sun
*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __sun__" >&5
16842 $as_echo_n "checking whether we need to define __sun__... " >&6; }
16843 if ${ac_cv_cpp_def___sun__+:} false
; then :
16844 $as_echo_n "(cached) " >&6
16846 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
16847 /* end confdefs.h. */
16852 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
16853 $EGREP "yes" >/dev
/null
2>&1; then :
16854 ac_cv_cpp_def___sun__
=yes
16856 ac_cv_cpp_def___sun__
=no
16861 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___sun__" >&5
16862 $as_echo "$ac_cv_cpp_def___sun__" >&6; }
16863 if test "x$ac_cv_cpp_def___sun__" = xyes
; then :
16864 CFLAGS
="$CFLAGS -D__sun__"
16865 LINTFLAGS
="$LINTFLAGS -D__sun__"
16873 ac_config_commands
="$ac_config_commands include/stamp-h"
16875 $as_echo_n "creating Makefile rules..." >&6
16877 ALL_VARS_RULES
="OPENGL_LIBS = $OPENGL_LIBS
16878 SOCKET_LIBS = $SOCKET_LIBS
16879 COREFOUNDATION_LIBS = $COREFOUNDATION_LIBS
16880 IOKIT_LIBS = $IOKIT_LIBS
16881 FORCEFEEDBACK_LIBS = $FORCEFEEDBACK_LIBS
16882 APPLICATIONSERVICES_LIBS = $APPLICATIONSERVICES_LIBS
16883 CORESERVICES_LIBS = $CORESERVICES_LIBS
16884 APPKIT_LIBS = $APPKIT_LIBS
16885 DISKARBITRATION_LIBS = $DISKARBITRATION_LIBS
16886 SECURITY_LIBS = $SECURITY_LIBS
16887 COREAUDIO_LIBS = $COREAUDIO_LIBS
16888 OPENAL_LIBS = $OPENAL_LIBS
16889 OPENCL_LIBS = $OPENCL_LIBS
16890 QUICKTIME_LIBS = $QUICKTIME_LIBS
16891 CARBON_LIBS = $CARBON_LIBS
16892 PTHREAD_LIBS = $PTHREAD_LIBS
16893 X_CFLAGS = $X_CFLAGS
16894 X_PRE_LIBS = $X_PRE_LIBS
16896 X_EXTRA_LIBS = $X_EXTRA_LIBS
16897 XML2_CFLAGS = $XML2_CFLAGS
16898 XML2_LIBS = $XML2_LIBS
16899 XSLT_CFLAGS = $XSLT_CFLAGS
16900 XSLT_LIBS = $XSLT_LIBS
16901 DBUS_CFLAGS = $DBUS_CFLAGS
16902 DBUS_LIBS = $DBUS_LIBS
16903 HAL_CFLAGS = $HAL_CFLAGS
16904 HAL_LIBS = $HAL_LIBS
16905 GNUTLS_CFLAGS = $GNUTLS_CFLAGS
16906 GNUTLS_LIBS = $GNUTLS_LIBS
16907 SANE_CFLAGS = $SANE_CFLAGS
16908 SANE_LIBS = $SANE_LIBS
16909 GPHOTO2_CFLAGS = $GPHOTO2_CFLAGS
16910 GPHOTO2_LIBS = $GPHOTO2_LIBS
16911 GPHOTO2_PORT_CFLAGS = $GPHOTO2_PORT_CFLAGS
16912 GPHOTO2_PORT_LIBS = $GPHOTO2_PORT_LIBS
16913 RESOLV_LIBS = $RESOLV_LIBS
16914 LCMS2_CFLAGS = $LCMS2_CFLAGS
16915 LCMS2_LIBS = $LCMS2_LIBS
16916 FREETYPE_CFLAGS = $FREETYPE_CFLAGS
16917 FREETYPE_LIBS = $FREETYPE_LIBS
16919 GETTEXTPO_LIBS = $GETTEXTPO_LIBS
16920 GSTREAMER_CFLAGS = $GSTREAMER_CFLAGS
16921 GSTREAMER_LIBS = $GSTREAMER_LIBS
16922 ALSA_LIBS = $ALSA_LIBS
16923 OSS4_CFLAGS = $OSS4_CFLAGS
16924 CAPI20_CFLAGS = $CAPI20_CFLAGS
16925 CAPI20_LIBS = $CAPI20_LIBS
16926 CUPS_CFLAGS = $CUPS_CFLAGS
16927 FONTCONFIG_CFLAGS = $FONTCONFIG_CFLAGS
16928 FONTCONFIG_LIBS = $FONTCONFIG_LIBS
16929 JPEG_CFLAGS = $JPEG_CFLAGS
16930 JPEG_LIBS = $JPEG_LIBS
16931 PNG_CFLAGS = $PNG_CFLAGS
16932 PNG_LIBS = $PNG_LIBS
16933 TIFF_CFLAGS = $TIFF_CFLAGS
16934 TIFF_LIBS = $TIFF_LIBS
16935 MPG123_CFLAGS = $MPG123_CFLAGS
16936 MPG123_LIBS = $MPG123_LIBS
16937 KSTAT_LIBS = $KSTAT_LIBS
16938 PROCSTAT_LIBS = $PROCSTAT_LIBS
16940 POLL_LIBS = $POLL_LIBS
16942 LDAP_LIBS = $LDAP_LIBS
16947 wine_fn_append_rule
"
16948 # Rules automatically generated by configure
16950 CLEAN_FILES = *.o *.a *.so *.res *.fake *.ok *.tab.[ch] *.yy.c
16955 Makefile: $srcdir/Makefile.in $srcdir/Make.vars.in config.status \$(MAKEDEP)
16956 @./config.status Make.tmp Makefile"
16958 test "$srcdir" = .
&& wine_fn_append_rule
"all: .gitignore
16959 .gitignore: config.status
16960 @./config.status .gitignore"
16962 test -n "$CROSSTARGET" || wine_fn_append_rule
"crosstest:
16963 @echo \"crosstest is not supported (mingw not installed?)\" && false"
16965 if test "x$enable_fonts" != xno
; then
16966 ac_config_links
="$ac_config_links fonts/marlett.ttf:fonts/marlett.ttf"
16967 ac_config_links
="$ac_config_links fonts/symbol.ttf:fonts/symbol.ttf"
16968 ac_config_links
="$ac_config_links fonts/tahoma.ttf:fonts/tahoma.ttf"
16969 ac_config_links
="$ac_config_links fonts/tahomabd.ttf:fonts/tahomabd.ttf"
16970 test "$srcdir" = "." || wine_fn_config_symlink fonts
/marlett.ttf fonts
/symbol.ttf fonts
/tahoma.ttf fonts
/tahomabd.ttf
16972 ac_config_links
="$ac_config_links loader/l_intl.nls:loader/l_intl.nls"
16973 test "$srcdir" = "." || wine_fn_config_symlink loader
/l_intl.nls
16974 ac_config_links
="$ac_config_links po/LINGUAS:po/LINGUAS"
16975 test "$srcdir" = "." || wine_fn_config_symlink po
/LINGUAS
16976 ac_config_links
="$ac_config_links wine:tools/winewrapper"
16977 wine_fn_config_symlink wine
16978 if test "x$enable_win64" != xno
; then
16979 ac_config_links
="$ac_config_links wine64:tools/winewrapper"
16980 wine_fn_config_symlink wine64
16983 wine_fn_config_dll acledit enable_acledit
16984 wine_fn_config_dll aclui enable_aclui implib
16985 wine_fn_config_dll activeds enable_activeds implib
16986 wine_fn_config_dll actxprxy enable_actxprxy clean
16987 wine_fn_config_lib adsiid
16988 wine_fn_config_dll advapi32 enable_advapi32 clean
,implib
16989 wine_fn_config_test dlls
/advapi32
/tests advapi32_test
16990 wine_fn_config_dll advpack enable_advpack implib
16991 wine_fn_config_test dlls
/advpack
/tests advpack_test
16992 wine_fn_config_dll amstream enable_amstream clean
16993 wine_fn_config_test dlls
/amstream
/tests amstream_test
16994 wine_fn_config_dll api-ms-win-core-com-l1-1-0 enable_api_ms_win_core_com_l1_1_0
16995 wine_fn_config_dll api-ms-win-core-console-l1-1-0 enable_api_ms_win_core_console_l1_1_0
16996 wine_fn_config_dll api-ms-win-core-datetime-l1-1-0 enable_api_ms_win_core_datetime_l1_1_0
16997 wine_fn_config_dll api-ms-win-core-datetime-l1-1-1 enable_api_ms_win_core_datetime_l1_1_1
16998 wine_fn_config_dll api-ms-win-core-debug-l1-1-0 enable_api_ms_win_core_debug_l1_1_0
16999 wine_fn_config_dll api-ms-win-core-debug-l1-1-1 enable_api_ms_win_core_debug_l1_1_1
17000 wine_fn_config_dll api-ms-win-core-errorhandling-l1-1-0 enable_api_ms_win_core_errorhandling_l1_1_0
17001 wine_fn_config_dll api-ms-win-core-errorhandling-l1-1-1 enable_api_ms_win_core_errorhandling_l1_1_1
17002 wine_fn_config_dll api-ms-win-core-errorhandling-l1-1-2 enable_api_ms_win_core_errorhandling_l1_1_2
17003 wine_fn_config_dll api-ms-win-core-fibers-l1-1-0 enable_api_ms_win_core_fibers_l1_1_0
17004 wine_fn_config_dll api-ms-win-core-fibers-l1-1-1 enable_api_ms_win_core_fibers_l1_1_1
17005 wine_fn_config_dll api-ms-win-core-file-l1-1-0 enable_api_ms_win_core_file_l1_1_0
17006 wine_fn_config_dll api-ms-win-core-file-l1-2-0 enable_api_ms_win_core_file_l1_2_0
17007 wine_fn_config_dll api-ms-win-core-file-l2-1-0 enable_api_ms_win_core_file_l2_1_0
17008 wine_fn_config_dll api-ms-win-core-file-l2-1-1 enable_api_ms_win_core_file_l2_1_1
17009 wine_fn_config_dll api-ms-win-core-handle-l1-1-0 enable_api_ms_win_core_handle_l1_1_0
17010 wine_fn_config_dll api-ms-win-core-heap-l1-2-0 enable_api_ms_win_core_heap_l1_2_0
17011 wine_fn_config_dll api-ms-win-core-heap-obsolete-l1-1-0 enable_api_ms_win_core_heap_obsolete_l1_1_0
17012 wine_fn_config_dll api-ms-win-core-interlocked-l1-2-0 enable_api_ms_win_core_interlocked_l1_2_0
17013 wine_fn_config_dll api-ms-win-core-io-l1-1-1 enable_api_ms_win_core_io_l1_1_1
17014 wine_fn_config_dll api-ms-win-core-kernel32-legacy-l1-1-0 enable_api_ms_win_core_kernel32_legacy_l1_1_0
17015 wine_fn_config_dll api-ms-win-core-libraryloader-l1-1-1 enable_api_ms_win_core_libraryloader_l1_1_1
17016 wine_fn_config_dll api-ms-win-core-localization-l1-2-0 enable_api_ms_win_core_localization_l1_2_0
17017 wine_fn_config_dll api-ms-win-core-localization-l1-2-1 enable_api_ms_win_core_localization_l1_2_1
17018 wine_fn_config_dll api-ms-win-core-localization-obsolete-l1-1-0 enable_api_ms_win_core_localization_obsolete_l1_1_0
17019 wine_fn_config_dll api-ms-win-core-localregistry-l1-1-0 enable_api_ms_win_core_localregistry_l1_1_0
17020 wine_fn_config_dll api-ms-win-core-memory-l1-1-1 enable_api_ms_win_core_memory_l1_1_1
17021 wine_fn_config_dll api-ms-win-core-namedpipe-l1-2-0 enable_api_ms_win_core_namedpipe_l1_2_0
17022 wine_fn_config_dll api-ms-win-core-processenvironment-l1-2-0 enable_api_ms_win_core_processenvironment_l1_2_0
17023 wine_fn_config_dll api-ms-win-core-processthreads-l1-1-0 enable_api_ms_win_core_processthreads_l1_1_0
17024 wine_fn_config_dll api-ms-win-core-processthreads-l1-1-1 enable_api_ms_win_core_processthreads_l1_1_1
17025 wine_fn_config_dll api-ms-win-core-processthreads-l1-1-2 enable_api_ms_win_core_processthreads_l1_1_2
17026 wine_fn_config_dll api-ms-win-core-profile-l1-1-0 enable_api_ms_win_core_profile_l1_1_0
17027 wine_fn_config_dll api-ms-win-core-psapi-l1-1-0 enable_api_ms_win_core_psapi_l1_1_0
17028 wine_fn_config_dll api-ms-win-core-registry-l1-1-0 enable_api_ms_win_core_registry_l1_1_0
17029 wine_fn_config_dll api-ms-win-core-rtlsupport-l1-2-0 enable_api_ms_win_core_rtlsupport_l1_2_0
17030 wine_fn_config_dll api-ms-win-core-shlwapi-legacy-l1-1-0 enable_api_ms_win_core_shlwapi_legacy_l1_1_0
17031 wine_fn_config_dll api-ms-win-core-string-l1-1-0 enable_api_ms_win_core_string_l1_1_0
17032 wine_fn_config_dll api-ms-win-core-synch-l1-2-0 enable_api_ms_win_core_synch_l1_2_0
17033 wine_fn_config_dll api-ms-win-core-sysinfo-l1-2-0 enable_api_ms_win_core_sysinfo_l1_2_0
17034 wine_fn_config_dll api-ms-win-core-sysinfo-l1-2-1 enable_api_ms_win_core_sysinfo_l1_2_1
17035 wine_fn_config_dll api-ms-win-core-threadpool-legacy-l1-1-0 enable_api_ms_win_core_threadpool_legacy_l1_1_0
17036 wine_fn_config_dll api-ms-win-core-timezone-l1-1-0 enable_api_ms_win_core_timezone_l1_1_0
17037 wine_fn_config_dll api-ms-win-core-url-l1-1-0 enable_api_ms_win_core_url_l1_1_0
17038 wine_fn_config_dll api-ms-win-core-util-l1-1-0 enable_api_ms_win_core_util_l1_1_0
17039 wine_fn_config_dll api-ms-win-core-winrt-error-l1-1-0 enable_api_ms_win_core_winrt_error_l1_1_0
17040 wine_fn_config_dll api-ms-win-core-winrt-error-l1-1-1 enable_api_ms_win_core_winrt_error_l1_1_1
17041 wine_fn_config_dll api-ms-win-core-winrt-l1-1-0 enable_api_ms_win_core_winrt_l1_1_0
17042 wine_fn_config_dll api-ms-win-core-winrt-string-l1-1-0 enable_api_ms_win_core_winrt_string_l1_1_0
17043 wine_fn_config_dll api-ms-win-core-xstate-l2-1-0 enable_api_ms_win_core_xstate_l2_1_0
17044 wine_fn_config_dll api-ms-win-downlevel-advapi32-l1-1-0 enable_api_ms_win_downlevel_advapi32_l1_1_0
17045 wine_fn_config_dll api-ms-win-downlevel-advapi32-l2-1-0 enable_api_ms_win_downlevel_advapi32_l2_1_0
17046 wine_fn_config_dll api-ms-win-downlevel-normaliz-l1-1-0 enable_api_ms_win_downlevel_normaliz_l1_1_0
17047 wine_fn_config_dll api-ms-win-downlevel-ole32-l1-1-0 enable_api_ms_win_downlevel_ole32_l1_1_0
17048 wine_fn_config_dll api-ms-win-downlevel-shell32-l1-1-0 enable_api_ms_win_downlevel_shell32_l1_1_0
17049 wine_fn_config_dll api-ms-win-downlevel-shlwapi-l1-1-0 enable_api_ms_win_downlevel_shlwapi_l1_1_0
17050 wine_fn_config_dll api-ms-win-downlevel-shlwapi-l2-1-0 enable_api_ms_win_downlevel_shlwapi_l2_1_0
17051 wine_fn_config_dll api-ms-win-downlevel-user32-l1-1-0 enable_api_ms_win_downlevel_user32_l1_1_0
17052 wine_fn_config_dll api-ms-win-downlevel-version-l1-1-0 enable_api_ms_win_downlevel_version_l1_1_0
17053 wine_fn_config_dll api-ms-win-eventing-provider-l1-1-0 enable_api_ms_win_eventing_provider_l1_1_0
17054 wine_fn_config_dll api-ms-win-ntuser-dc-access-l1-1-0 enable_api_ms_win_ntuser_dc_access_l1_1_0
17055 wine_fn_config_dll api-ms-win-security-base-l1-1-0 enable_api_ms_win_security_base_l1_1_0
17056 wine_fn_config_dll api-ms-win-security-base-l1-2-0 enable_api_ms_win_security_base_l1_2_0
17057 wine_fn_config_dll api-ms-win-security-sddl-l1-1-0 enable_api_ms_win_security_sddl_l1_1_0
17058 wine_fn_config_dll api-ms-win-service-core-l1-1-1 enable_api_ms_win_service_core_l1_1_1
17059 wine_fn_config_dll api-ms-win-service-management-l1-1-0 enable_api_ms_win_service_management_l1_1_0
17060 wine_fn_config_dll api-ms-win-service-winsvc-l1-2-0 enable_api_ms_win_service_winsvc_l1_2_0
17061 wine_fn_config_dll apphelp enable_apphelp
17062 wine_fn_config_test dlls
/apphelp
/tests apphelp_test
17063 wine_fn_config_dll appwiz.cpl enable_appwiz_cpl po
17064 wine_fn_config_dll atl enable_atl clean
,implib
17065 wine_fn_config_test dlls
/atl
/tests atl_test
17066 wine_fn_config_dll atl100 enable_atl100 clean
,implib
17067 wine_fn_config_test dlls
/atl100
/tests atl100_test
17068 wine_fn_config_dll atl110 enable_atl110 clean
17069 wine_fn_config_dll atl80 enable_atl80 clean
,implib
17070 wine_fn_config_test dlls
/atl80
/tests atl80_test
17071 wine_fn_config_dll atl90 enable_atl90 clean
17072 wine_fn_config_dll authz enable_authz
17073 wine_fn_config_dll avicap32 enable_avicap32 implib
17074 wine_fn_config_dll avifil32 enable_avifil32 clean
,implib
,po
17075 wine_fn_config_test dlls
/avifil32
/tests avifil32_test
17076 wine_fn_config_dll avifile.dll16 enable_win16
17077 wine_fn_config_dll avrt enable_avrt implib
17078 wine_fn_config_dll bcrypt enable_bcrypt
17079 wine_fn_config_test dlls
/bcrypt
/tests bcrypt_test
17080 wine_fn_config_dll browseui enable_browseui clean
,po
17081 wine_fn_config_test dlls
/browseui
/tests browseui_test
17082 wine_fn_config_dll cabinet enable_cabinet implib
17083 wine_fn_config_test dlls
/cabinet
/tests cabinet_test
17084 wine_fn_config_dll capi2032 enable_capi2032 implib
17085 wine_fn_config_dll cards enable_cards implib
17086 wine_fn_config_dll cfgmgr32 enable_cfgmgr32 implib
17087 wine_fn_config_dll clusapi enable_clusapi implib
17088 wine_fn_config_dll combase enable_combase
17089 wine_fn_config_test dlls
/combase
/tests combase_test
17090 wine_fn_config_dll comcat enable_comcat
17091 wine_fn_config_test dlls
/comcat
/tests comcat_test
17092 wine_fn_config_dll comctl32 enable_comctl32 implib
,po
17093 wine_fn_config_test dlls
/comctl32
/tests comctl32_test
17094 wine_fn_config_dll comdlg32 enable_comdlg32 clean
,implib
,po
17095 wine_fn_config_test dlls
/comdlg32
/tests comdlg32_test
17096 wine_fn_config_dll
comm.drv16 enable_win16
17097 wine_fn_config_dll commdlg.dll16 enable_win16
17098 wine_fn_config_dll compobj.dll16 enable_win16
17099 wine_fn_config_dll compstui enable_compstui implib
17100 wine_fn_config_dll comsvcs enable_comsvcs implib
17101 wine_fn_config_dll connect enable_connect
17102 wine_fn_config_dll credui enable_credui implib
,po
17103 wine_fn_config_test dlls
/credui
/tests credui_test
17104 wine_fn_config_dll crtdll enable_crtdll implib
17105 wine_fn_config_dll crypt32 enable_crypt32 implib
,po
17106 wine_fn_config_test dlls
/crypt32
/tests crypt32_test
17107 wine_fn_config_dll cryptdlg enable_cryptdlg po
17108 wine_fn_config_dll cryptdll enable_cryptdll implib
17109 wine_fn_config_dll cryptext enable_cryptext
17110 wine_fn_config_dll cryptnet enable_cryptnet implib
17111 wine_fn_config_test dlls
/cryptnet
/tests cryptnet_test
17112 wine_fn_config_dll cryptui enable_cryptui implib
,po
17113 wine_fn_config_test dlls
/cryptui
/tests cryptui_test
17114 wine_fn_config_dll ctapi32 enable_ctapi32
17115 wine_fn_config_dll ctl3d.dll16 enable_win16
17116 wine_fn_config_dll ctl3d32 enable_ctl3d32 implib
17117 wine_fn_config_dll ctl3dv2.dll16 enable_win16
17118 wine_fn_config_dll d2d1 enable_d2d1 implib
17119 wine_fn_config_test dlls
/d2d
1/tests d2d1_test
17120 wine_fn_config_dll d3d10 enable_d3d10 implib
17121 wine_fn_config_test dlls
/d3d10
/tests d3d10_test
17122 wine_fn_config_dll d3d10_1 enable_d3d10_1 implib
17123 wine_fn_config_dll d3d10core enable_d3d10core implib
17124 wine_fn_config_test dlls
/d3d10core
/tests d3d10core_test
17125 wine_fn_config_dll d3d11 enable_d3d11
17126 wine_fn_config_dll d3d8 enable_d3d8 implib
17127 wine_fn_config_test dlls
/d3d
8/tests d3d8_test
17128 wine_fn_config_dll d3d9 enable_d3d9 implib
17129 wine_fn_config_test dlls
/d3d
9/tests d3d9_test
17130 wine_fn_config_dll d3dcompiler_33 enable_d3dcompiler_33
17131 wine_fn_config_dll d3dcompiler_34 enable_d3dcompiler_34
17132 wine_fn_config_dll d3dcompiler_35 enable_d3dcompiler_35
17133 wine_fn_config_dll d3dcompiler_36 enable_d3dcompiler_36
17134 wine_fn_config_dll d3dcompiler_37 enable_d3dcompiler_37
17135 wine_fn_config_dll d3dcompiler_38 enable_d3dcompiler_38
17136 wine_fn_config_dll d3dcompiler_39 enable_d3dcompiler_39
17137 wine_fn_config_dll d3dcompiler_40 enable_d3dcompiler_40
17138 wine_fn_config_dll d3dcompiler_41 enable_d3dcompiler_41
17139 wine_fn_config_dll d3dcompiler_42 enable_d3dcompiler_42
17140 wine_fn_config_dll d3dcompiler_43 enable_d3dcompiler_43 implib d3dcompiler
17141 wine_fn_config_test dlls
/d3dcompiler_43
/tests d3dcompiler_43_test
17142 wine_fn_config_dll d3dim enable_d3dim implib
17143 wine_fn_config_dll d3drm enable_d3drm implib
17144 wine_fn_config_test dlls
/d3drm
/tests d3drm_test
17145 wine_fn_config_dll d3dx10_33 enable_d3dx10_33
17146 wine_fn_config_dll d3dx10_34 enable_d3dx10_34
17147 wine_fn_config_dll d3dx10_35 enable_d3dx10_35
17148 wine_fn_config_dll d3dx10_36 enable_d3dx10_36
17149 wine_fn_config_dll d3dx10_37 enable_d3dx10_37
17150 wine_fn_config_dll d3dx10_38 enable_d3dx10_38
17151 wine_fn_config_dll d3dx10_39 enable_d3dx10_39
17152 wine_fn_config_dll d3dx10_40 enable_d3dx10_40
17153 wine_fn_config_dll d3dx10_41 enable_d3dx10_41
17154 wine_fn_config_dll d3dx10_42 enable_d3dx10_42
17155 wine_fn_config_dll d3dx10_43 enable_d3dx10_43
17156 wine_fn_config_dll d3dx11_42 enable_d3dx11_42
17157 wine_fn_config_dll d3dx11_43 enable_d3dx11_43
17158 wine_fn_config_dll d3dx9_24 enable_d3dx9_24
17159 wine_fn_config_dll d3dx9_25 enable_d3dx9_25
17160 wine_fn_config_dll d3dx9_26 enable_d3dx9_26
17161 wine_fn_config_dll d3dx9_27 enable_d3dx9_27
17162 wine_fn_config_dll d3dx9_28 enable_d3dx9_28
17163 wine_fn_config_dll d3dx9_29 enable_d3dx9_29
17164 wine_fn_config_dll d3dx9_30 enable_d3dx9_30
17165 wine_fn_config_dll d3dx9_31 enable_d3dx9_31
17166 wine_fn_config_dll d3dx9_32 enable_d3dx9_32
17167 wine_fn_config_dll d3dx9_33 enable_d3dx9_33
17168 wine_fn_config_dll d3dx9_34 enable_d3dx9_34
17169 wine_fn_config_dll d3dx9_35 enable_d3dx9_35
17170 wine_fn_config_dll d3dx9_36 enable_d3dx9_36 implib d3dx9
17171 wine_fn_config_test dlls
/d3dx9_36
/tests d3dx9_36_test
17172 wine_fn_config_dll d3dx9_37 enable_d3dx9_37
17173 wine_fn_config_dll d3dx9_38 enable_d3dx9_38
17174 wine_fn_config_dll d3dx9_39 enable_d3dx9_39
17175 wine_fn_config_dll d3dx9_40 enable_d3dx9_40
17176 wine_fn_config_dll d3dx9_41 enable_d3dx9_41
17177 wine_fn_config_dll d3dx9_42 enable_d3dx9_42
17178 wine_fn_config_dll d3dx9_43 enable_d3dx9_43
17179 wine_fn_config_dll d3dxof enable_d3dxof clean
,implib
17180 wine_fn_config_test dlls
/d3dxof
/tests d3dxof_test
17181 wine_fn_config_dll dbgeng enable_dbgeng implib
17182 wine_fn_config_dll dbghelp enable_dbghelp implib
17183 wine_fn_config_dll dciman32 enable_dciman32 implib
17184 wine_fn_config_dll ddeml.dll16 enable_win16
17185 wine_fn_config_dll ddraw enable_ddraw clean
,implib
17186 wine_fn_config_test dlls
/ddraw
/tests ddraw_test
17187 wine_fn_config_dll ddrawex enable_ddrawex clean
17188 wine_fn_config_test dlls
/ddrawex
/tests ddrawex_test
17189 wine_fn_config_dll devenum enable_devenum clean
,po
17190 wine_fn_config_test dlls
/devenum
/tests devenum_test
17191 wine_fn_config_dll dhcpcsvc enable_dhcpcsvc
17192 wine_fn_config_dll difxapi enable_difxapi
17193 wine_fn_config_dll dinput enable_dinput clean
,implib
,po
,staticimplib
17194 wine_fn_config_test dlls
/dinput
/tests dinput_test
17195 wine_fn_config_dll dinput8 enable_dinput8 clean
,implib
17196 wine_fn_config_test dlls
/dinput
8/tests dinput8_test
17197 wine_fn_config_dll dispdib.dll16 enable_win16
17198 wine_fn_config_dll dispex enable_dispex clean
17199 wine_fn_config_test dlls
/dispex
/tests dispex_test
17200 wine_fn_config_dll display.drv16 enable_win16
17201 wine_fn_config_dll dmband enable_dmband clean
17202 wine_fn_config_test dlls
/dmband
/tests dmband_test
17203 wine_fn_config_dll dmcompos enable_dmcompos clean
17204 wine_fn_config_test dlls
/dmcompos
/tests dmcompos_test
17205 wine_fn_config_dll dmime enable_dmime clean
17206 wine_fn_config_test dlls
/dmime
/tests dmime_test
17207 wine_fn_config_dll dmloader enable_dmloader clean
17208 wine_fn_config_test dlls
/dmloader
/tests dmloader_test
17209 wine_fn_config_dll dmscript enable_dmscript clean
17210 wine_fn_config_test dlls
/dmscript
/tests dmscript_test
17211 wine_fn_config_dll dmstyle enable_dmstyle clean
17212 wine_fn_config_test dlls
/dmstyle
/tests dmstyle_test
17213 wine_fn_config_dll dmsynth enable_dmsynth clean
17214 wine_fn_config_test dlls
/dmsynth
/tests dmsynth_test
17215 wine_fn_config_dll dmusic enable_dmusic clean
17216 wine_fn_config_test dlls
/dmusic
/tests dmusic_test
17217 wine_fn_config_dll dmusic32 enable_dmusic32 implib
17218 wine_fn_config_dll dnsapi enable_dnsapi implib
17219 wine_fn_config_test dlls
/dnsapi
/tests dnsapi_test
17220 wine_fn_config_dll dplay enable_dplay implib
17221 wine_fn_config_dll dplayx enable_dplayx clean
,implib
17222 wine_fn_config_test dlls
/dplayx
/tests dplayx_test
17223 wine_fn_config_dll dpnaddr enable_dpnaddr
17224 wine_fn_config_dll dpnet enable_dpnet clean
,implib
17225 wine_fn_config_test dlls
/dpnet
/tests dpnet_test
17226 wine_fn_config_dll dpnhpast enable_dpnhpast
17227 wine_fn_config_dll dpnlobby enable_dpnlobby
17228 wine_fn_config_dll dpvoice enable_dpvoice clean
17229 wine_fn_config_test dlls
/dpvoice
/tests dpvoice_test
17230 wine_fn_config_dll dpwsockx enable_dpwsockx
17231 wine_fn_config_dll drmclien enable_drmclien
17232 wine_fn_config_dll dsound enable_dsound clean
,implib
17233 wine_fn_config_test dlls
/dsound
/tests dsound_test
17234 wine_fn_config_dll dssenh enable_dssenh
17235 wine_fn_config_test dlls
/dssenh
/tests dssenh_test
17236 wine_fn_config_dll dswave enable_dswave clean
17237 wine_fn_config_test dlls
/dswave
/tests dswave_test
17238 wine_fn_config_dll dwmapi enable_dwmapi implib
17239 wine_fn_config_dll dwrite enable_dwrite implib
17240 wine_fn_config_test dlls
/dwrite
/tests dwrite_test
17241 wine_fn_config_dll dxdiagn enable_dxdiagn clean
,po
17242 wine_fn_config_test dlls
/dxdiagn
/tests dxdiagn_test
17243 wine_fn_config_lib dxerr8
17244 wine_fn_config_lib dxerr9
17245 wine_fn_config_dll dxgi enable_dxgi implib
17246 wine_fn_config_test dlls
/dxgi
/tests dxgi_test
17247 wine_fn_config_lib dxguid
17248 wine_fn_config_dll dxva2 enable_dxva2
17249 wine_fn_config_dll evr enable_evr
17250 wine_fn_config_dll explorerframe enable_explorerframe clean
17251 wine_fn_config_test dlls
/explorerframe
/tests explorerframe_test
17252 wine_fn_config_dll ext-ms-win-gdi-devcaps-l1-1-0 enable_ext_ms_win_gdi_devcaps_l1_1_0
17253 wine_fn_config_dll faultrep enable_faultrep implib
17254 wine_fn_config_test dlls
/faultrep
/tests faultrep_test
17255 wine_fn_config_dll fltlib enable_fltlib
17256 wine_fn_config_dll fntcache enable_fntcache
17257 wine_fn_config_dll fontsub enable_fontsub
17258 wine_fn_config_dll fusion enable_fusion
17259 wine_fn_config_test dlls
/fusion
/tests fusion_test
17260 wine_fn_config_dll fwpuclnt enable_fwpuclnt
17261 wine_fn_config_dll gameux enable_gameux clean
17262 wine_fn_config_test dlls
/gameux
/tests gameux_test
17263 wine_fn_config_dll gdi.exe16 enable_win16
17264 wine_fn_config_dll gdi32 enable_gdi32 clean
,implib
,po
17265 wine_fn_config_test dlls
/gdi32
/tests gdi32_test
17266 wine_fn_config_dll gdiplus enable_gdiplus implib
17267 wine_fn_config_test dlls
/gdiplus
/tests gdiplus_test
17268 wine_fn_config_dll glu32 enable_glu32 implib
17269 wine_fn_config_dll gphoto2.ds enable_gphoto2_ds po
17270 wine_fn_config_dll gpkcsp enable_gpkcsp
17271 wine_fn_config_dll hal enable_hal
17272 wine_fn_config_dll hhctrl.ocx enable_hhctrl_ocx clean
,implib
,po htmlhelp
17273 wine_fn_config_dll hid enable_hid implib
17274 wine_fn_config_dll hlink enable_hlink clean
,implib
17275 wine_fn_config_test dlls
/hlink
/tests hlink_test
17276 wine_fn_config_dll hnetcfg enable_hnetcfg clean
17277 wine_fn_config_dll httpapi enable_httpapi
17278 wine_fn_config_dll iccvid enable_iccvid po
17279 wine_fn_config_dll icmp enable_icmp
17280 wine_fn_config_dll ieframe enable_ieframe clean
,implib
,po
17281 wine_fn_config_test dlls
/ieframe
/tests ieframe_test
17282 wine_fn_config_dll ifsmgr.vxd enable_win16
17283 wine_fn_config_dll imaadp32.acm enable_imaadp32_acm
17284 wine_fn_config_dll imagehlp enable_imagehlp implib
17285 wine_fn_config_test dlls
/imagehlp
/tests imagehlp_test
17286 wine_fn_config_dll imm.dll16 enable_win16
17287 wine_fn_config_dll imm32 enable_imm32 implib
17288 wine_fn_config_test dlls
/imm32
/tests imm32_test
17289 wine_fn_config_dll inetcomm enable_inetcomm clean
,implib
17290 wine_fn_config_test dlls
/inetcomm
/tests inetcomm_test
17291 wine_fn_config_dll inetcpl.cpl enable_inetcpl_cpl po
17292 wine_fn_config_dll inetmib1 enable_inetmib1
17293 wine_fn_config_test dlls
/inetmib
1/tests inetmib1_test
17294 wine_fn_config_dll infosoft enable_infosoft clean
17295 wine_fn_config_test dlls
/infosoft
/tests infosoft_test
17296 wine_fn_config_dll initpki enable_initpki
17297 wine_fn_config_dll inkobj enable_inkobj
17298 wine_fn_config_dll inseng enable_inseng clean
17299 wine_fn_config_dll iphlpapi enable_iphlpapi implib
17300 wine_fn_config_test dlls
/iphlpapi
/tests iphlpapi_test
17301 wine_fn_config_dll itircl enable_itircl
17302 wine_fn_config_dll itss enable_itss clean
17303 wine_fn_config_test dlls
/itss
/tests itss_test
17304 wine_fn_config_dll joy.cpl enable_joy_cpl po
17305 wine_fn_config_dll jscript enable_jscript clean
,po
17306 wine_fn_config_test dlls
/jscript
/tests jscript_test
17307 wine_fn_config_dll jsproxy enable_jsproxy implib
17308 wine_fn_config_dll kernel32 enable_kernel32 clean
,implib
,mc
17309 wine_fn_config_test dlls
/kernel32
/tests kernel32_test
17310 wine_fn_config_dll keyboard.drv16 enable_win16
17311 wine_fn_config_dll krnl386.exe16 enable_win16 implib kernel
17312 wine_fn_config_dll ksuser enable_ksuser
17313 wine_fn_config_dll ktmw32 enable_ktmw32
17314 wine_fn_config_dll loadperf enable_loadperf implib
17315 wine_fn_config_dll localspl enable_localspl po
17316 wine_fn_config_test dlls
/localspl
/tests localspl_test
17317 wine_fn_config_dll localui enable_localui po
17318 wine_fn_config_test dlls
/localui
/tests localui_test
17319 wine_fn_config_dll lz32 enable_lz32 implib
17320 wine_fn_config_test dlls
/lz32
/tests lz32_test
17321 wine_fn_config_dll lzexpand.dll16 enable_win16
17322 wine_fn_config_dll mapi32 enable_mapi32 implib
,po
17323 wine_fn_config_test dlls
/mapi32
/tests mapi32_test
17324 wine_fn_config_dll mapistub enable_mapistub
17325 wine_fn_config_dll mciavi32 enable_mciavi32
17326 wine_fn_config_dll mcicda enable_mcicda
17327 wine_fn_config_dll mciqtz32 enable_mciqtz32
17328 wine_fn_config_dll mciseq enable_mciseq
17329 wine_fn_config_dll mciwave enable_mciwave
17330 wine_fn_config_dll mf enable_mf
17331 wine_fn_config_dll mfplat enable_mfplat
17332 wine_fn_config_dll mfreadwrite enable_mfreadwrite
17333 wine_fn_config_dll mgmtapi enable_mgmtapi
17334 wine_fn_config_dll midimap enable_midimap
17335 wine_fn_config_dll mlang enable_mlang clean
,implib
17336 wine_fn_config_test dlls
/mlang
/tests mlang_test
17337 wine_fn_config_dll mmcndmgr enable_mmcndmgr clean
17338 wine_fn_config_test dlls
/mmcndmgr
/tests mmcndmgr_test
17339 wine_fn_config_dll mmdevapi enable_mmdevapi clean
17340 wine_fn_config_test dlls
/mmdevapi
/tests mmdevapi_test
17341 wine_fn_config_dll mmdevldr.vxd enable_win16
17342 wine_fn_config_dll mmsystem.dll16 enable_win16
17343 wine_fn_config_dll monodebg.vxd enable_win16
17344 wine_fn_config_dll mountmgr.sys enable_mountmgr_sys
17345 wine_fn_config_dll mouse.drv16 enable_win16
17346 wine_fn_config_dll mpr enable_mpr implib
,po
17347 wine_fn_config_test dlls
/mpr
/tests mpr_test
17348 wine_fn_config_dll mprapi enable_mprapi implib
17349 wine_fn_config_dll msacm.dll16 enable_win16
17350 wine_fn_config_dll msacm32.drv enable_msacm32_drv
17351 wine_fn_config_dll msacm32 enable_msacm32 implib
,po
17352 wine_fn_config_test dlls
/msacm32
/tests msacm32_test
17353 wine_fn_config_dll msadp32.acm enable_msadp32_acm
17354 wine_fn_config_dll msasn1 enable_msasn1 implib
17355 wine_fn_config_dll mscat32 enable_mscat32
17356 wine_fn_config_dll mscms enable_mscms implib
17357 wine_fn_config_test dlls
/mscms
/tests mscms_test
17358 wine_fn_config_dll mscoree enable_mscoree clean
17359 wine_fn_config_test dlls
/mscoree
/tests mscoree_test
17360 wine_fn_config_dll msctf enable_msctf clean
17361 wine_fn_config_test dlls
/msctf
/tests msctf_test
17362 wine_fn_config_dll msdaps enable_msdaps clean
17363 wine_fn_config_dll msdmo enable_msdmo implib
17364 wine_fn_config_test dlls
/msdmo
/tests msdmo_test
17365 wine_fn_config_dll msftedit enable_msftedit
17366 wine_fn_config_dll msg711.acm enable_msg711_acm
17367 wine_fn_config_dll msgsm32.acm enable_msgsm32_acm
17368 wine_fn_config_dll mshtml.tlb enable_mshtml_tlb clean
17369 wine_fn_config_dll mshtml enable_mshtml clean
,implib
,po
17370 wine_fn_config_test dlls
/mshtml
/tests mshtml_test clean
17371 wine_fn_config_dll msi enable_msi clean
,implib
,po
17372 wine_fn_config_test dlls
/msi
/tests msi_test
17373 wine_fn_config_dll msident enable_msident clean
17374 wine_fn_config_dll msimg32 enable_msimg32 implib
17375 wine_fn_config_dll msimsg enable_msimsg
17376 wine_fn_config_dll msimtf enable_msimtf clean
17377 wine_fn_config_dll msisip enable_msisip
17378 wine_fn_config_dll msisys.ocx enable_msisys_ocx
17379 wine_fn_config_dll msls31 enable_msls31
17380 wine_fn_config_dll msnet32 enable_msnet32
17381 wine_fn_config_dll mspatcha enable_mspatcha implib
17382 wine_fn_config_dll msrle32 enable_msrle32 po
17383 wine_fn_config_test dlls
/msrle32
/tests msrle32_test
17384 wine_fn_config_dll mssign32 enable_mssign32
17385 wine_fn_config_dll mssip32 enable_mssip32
17386 wine_fn_config_dll mstask enable_mstask clean
17387 wine_fn_config_test dlls
/mstask
/tests mstask_test
17388 wine_fn_config_dll msvcirt enable_msvcirt
17389 wine_fn_config_dll msvcm80 enable_msvcm80
17390 wine_fn_config_dll msvcm90 enable_msvcm90
17391 wine_fn_config_dll msvcp100 enable_msvcp100
17392 wine_fn_config_test dlls
/msvcp100
/tests msvcp100_test
17393 wine_fn_config_dll msvcp110 enable_msvcp110
17394 wine_fn_config_dll msvcp120 enable_msvcp120
17395 wine_fn_config_test dlls
/msvcp120
/tests msvcp120_test
17396 wine_fn_config_dll msvcp120_app enable_msvcp120_app
17397 wine_fn_config_dll msvcp60 enable_msvcp60
17398 wine_fn_config_test dlls
/msvcp60
/tests msvcp60_test
17399 wine_fn_config_dll msvcp70 enable_msvcp70
17400 wine_fn_config_dll msvcp71 enable_msvcp71
17401 wine_fn_config_dll msvcp80 enable_msvcp80
17402 wine_fn_config_dll msvcp90 enable_msvcp90
17403 wine_fn_config_test dlls
/msvcp90
/tests msvcp90_test
17404 wine_fn_config_dll msvcr100 enable_msvcr100 implib
17405 wine_fn_config_test dlls
/msvcr100
/tests msvcr100_test
17406 wine_fn_config_dll msvcr110 enable_msvcr110 implib
17407 wine_fn_config_dll msvcr120 enable_msvcr120 implib
17408 wine_fn_config_test dlls
/msvcr120
/tests msvcr120_test
17409 wine_fn_config_dll msvcr120_app enable_msvcr120_app
17410 wine_fn_config_dll msvcr70 enable_msvcr70 implib
17411 wine_fn_config_dll msvcr71 enable_msvcr71 implib
17412 wine_fn_config_dll msvcr80 enable_msvcr80 implib
17413 wine_fn_config_dll msvcr90 enable_msvcr90 implib
17414 wine_fn_config_test dlls
/msvcr90
/tests msvcr90_test
17415 wine_fn_config_dll msvcrt enable_msvcrt implib
17416 wine_fn_config_test dlls
/msvcrt
/tests msvcrt_test
17417 wine_fn_config_dll msvcrt20 enable_msvcrt20 implib
17418 wine_fn_config_dll msvcrt40 enable_msvcrt40 implib
17419 wine_fn_config_dll msvcrtd enable_msvcrtd implib
17420 wine_fn_config_test dlls
/msvcrtd
/tests msvcrtd_test
17421 wine_fn_config_dll msvfw32 enable_msvfw32 implib
,po
17422 wine_fn_config_test dlls
/msvfw32
/tests msvfw32_test
17423 wine_fn_config_dll msvidc32 enable_msvidc32 po
17424 wine_fn_config_dll msvideo.dll16 enable_win16
17425 wine_fn_config_dll mswsock enable_mswsock implib
17426 wine_fn_config_dll msxml enable_msxml clean
17427 wine_fn_config_dll msxml2 enable_msxml2 clean
17428 wine_fn_config_dll msxml3 enable_msxml3 clean
17429 wine_fn_config_test dlls
/msxml
3/tests msxml3_test clean
17430 wine_fn_config_dll msxml4 enable_msxml4 clean
17431 wine_fn_config_dll msxml6 enable_msxml6 clean
17432 wine_fn_config_dll nddeapi enable_nddeapi implib
17433 wine_fn_config_dll ndis.sys enable_ndis_sys
17434 wine_fn_config_dll netapi32 enable_netapi32 implib
17435 wine_fn_config_test dlls
/netapi32
/tests netapi32_test
17436 wine_fn_config_dll netcfgx enable_netcfgx clean
17437 wine_fn_config_test dlls
/netcfgx
/tests netcfgx_test
17438 wine_fn_config_dll netprofm enable_netprofm clean
17439 wine_fn_config_test dlls
/netprofm
/tests netprofm_test
17440 wine_fn_config_dll newdev enable_newdev implib
17441 wine_fn_config_dll normaliz enable_normaliz implib
17442 wine_fn_config_dll npmshtml enable_npmshtml
17443 wine_fn_config_dll npptools enable_npptools
17444 wine_fn_config_dll ntdll enable_ntdll implib
17445 wine_fn_config_test dlls
/ntdll
/tests ntdll_test
17446 wine_fn_config_dll ntdsapi enable_ntdsapi implib
17447 wine_fn_config_test dlls
/ntdsapi
/tests ntdsapi_test
17448 wine_fn_config_dll ntoskrnl.exe enable_ntoskrnl_exe implib
17449 wine_fn_config_dll ntprint enable_ntprint
17450 wine_fn_config_test dlls
/ntprint
/tests ntprint_test
17451 wine_fn_config_dll objsel enable_objsel clean
17452 wine_fn_config_dll odbc32 enable_odbc32 implib
17453 wine_fn_config_dll odbccp32 enable_odbccp32 implib
17454 wine_fn_config_test dlls
/odbccp32
/tests odbccp32_test
17455 wine_fn_config_dll odbccu32 enable_odbccu32
17456 wine_fn_config_dll ole2.dll16 enable_win16
17457 wine_fn_config_dll ole2conv.dll16 enable_win16
17458 wine_fn_config_dll ole2disp.dll16 enable_win16
17459 wine_fn_config_dll ole2nls.dll16 enable_win16
17460 wine_fn_config_dll ole2prox.dll16 enable_win16
17461 wine_fn_config_dll ole2thk.dll16 enable_win16
17462 wine_fn_config_dll ole32 enable_ole32 clean
,implib
17463 wine_fn_config_test dlls
/ole32
/tests ole32_test
17464 wine_fn_config_dll oleacc enable_oleacc clean
,implib
,po
17465 wine_fn_config_test dlls
/oleacc
/tests oleacc_test
17466 wine_fn_config_dll oleaut32 enable_oleaut32 clean
,implib
,po
17467 wine_fn_config_test dlls
/oleaut32
/tests oleaut32_test clean
17468 wine_fn_config_dll olecli.dll16 enable_win16
17469 wine_fn_config_dll olecli32 enable_olecli32 implib
17470 wine_fn_config_dll oledb32 enable_oledb32 clean
17471 wine_fn_config_test dlls
/oledb32
/tests oledb32_test clean
17472 wine_fn_config_dll oledlg enable_oledlg implib
,po
17473 wine_fn_config_dll olepro32 enable_olepro32 implib
17474 wine_fn_config_dll olesvr.dll16 enable_win16
17475 wine_fn_config_dll olesvr32 enable_olesvr32 implib
17476 wine_fn_config_dll olethk32 enable_olethk32
17477 wine_fn_config_dll openal32 enable_openal32
17478 wine_fn_config_dll opencl enable_opencl
17479 wine_fn_config_dll opengl32 enable_opengl32 implib
17480 wine_fn_config_test dlls
/opengl32
/tests opengl32_test
17481 wine_fn_config_dll packager enable_packager clean
17482 wine_fn_config_test dlls
/packager
/tests packager_test
17483 wine_fn_config_dll pdh enable_pdh implib
17484 wine_fn_config_test dlls
/pdh
/tests pdh_test
17485 wine_fn_config_dll photometadatahandler enable_photometadatahandler
17486 wine_fn_config_dll pidgen enable_pidgen
17487 wine_fn_config_dll powrprof enable_powrprof implib
17488 wine_fn_config_dll printui enable_printui
17489 wine_fn_config_dll prntvpt enable_prntvpt
17490 wine_fn_config_dll propsys enable_propsys clean
,implib
17491 wine_fn_config_test dlls
/propsys
/tests propsys_test
17492 wine_fn_config_dll psapi enable_psapi implib
17493 wine_fn_config_test dlls
/psapi
/tests psapi_test
17494 wine_fn_config_dll pstorec enable_pstorec clean
17495 wine_fn_config_dll qcap enable_qcap
17496 wine_fn_config_test dlls
/qcap
/tests qcap_test
17497 wine_fn_config_dll qedit enable_qedit clean
17498 wine_fn_config_test dlls
/qedit
/tests qedit_test
17499 wine_fn_config_dll qmgr enable_qmgr clean
17500 wine_fn_config_test dlls
/qmgr
/tests qmgr_test
17501 wine_fn_config_dll qmgrprxy enable_qmgrprxy clean
17502 wine_fn_config_dll quartz enable_quartz clean
,implib
17503 wine_fn_config_test dlls
/quartz
/tests quartz_test clean
17504 wine_fn_config_dll query enable_query
17505 wine_fn_config_dll rasapi16.dll16 enable_win16
17506 wine_fn_config_dll rasapi32 enable_rasapi32 implib
17507 wine_fn_config_test dlls
/rasapi32
/tests rasapi32_test
17508 wine_fn_config_dll rasdlg enable_rasdlg implib
17509 wine_fn_config_dll regapi enable_regapi
17510 wine_fn_config_dll resutils enable_resutils implib
17511 wine_fn_config_dll riched20 enable_riched20 implib
17512 wine_fn_config_test dlls
/riched20
/tests riched20_test
17513 wine_fn_config_dll riched32 enable_riched32
17514 wine_fn_config_test dlls
/riched32
/tests riched32_test
17515 wine_fn_config_dll rpcrt4 enable_rpcrt4 clean
,implib
17516 wine_fn_config_test dlls
/rpcrt
4/tests rpcrt4_test clean
17517 wine_fn_config_dll rsabase enable_rsabase
17518 wine_fn_config_dll rsaenh enable_rsaenh implib
17519 wine_fn_config_test dlls
/rsaenh
/tests rsaenh_test
17520 wine_fn_config_dll rstrtmgr enable_rstrtmgr
17521 wine_fn_config_dll rtutils enable_rtutils implib
17522 wine_fn_config_dll samlib enable_samlib
17523 wine_fn_config_dll sane.ds enable_sane_ds po
17524 wine_fn_config_dll scarddlg enable_scarddlg
17525 wine_fn_config_dll sccbase enable_sccbase
17526 wine_fn_config_dll schannel enable_schannel
17527 wine_fn_config_test dlls
/schannel
/tests schannel_test
17528 wine_fn_config_dll schedsvc enable_schedsvc clean
17529 wine_fn_config_test dlls
/schedsvc
/tests schedsvc_test clean
17530 wine_fn_config_dll scrrun enable_scrrun clean
17531 wine_fn_config_test dlls
/scrrun
/tests scrrun_test clean
17532 wine_fn_config_dll scsiport.sys enable_scsiport_sys
17533 wine_fn_config_dll secur32 enable_secur32 implib
17534 wine_fn_config_test dlls
/secur32
/tests secur32_test
17535 wine_fn_config_dll security enable_security
17536 wine_fn_config_dll sensapi enable_sensapi implib
17537 wine_fn_config_dll serialui enable_serialui implib
,po
17538 wine_fn_config_test dlls
/serialui
/tests serialui_test
17539 wine_fn_config_dll setupapi enable_setupapi implib
,po
17540 wine_fn_config_test dlls
/setupapi
/tests setupapi_test
17541 wine_fn_config_dll setupx.dll16 enable_win16
17542 wine_fn_config_dll sfc enable_sfc implib
17543 wine_fn_config_dll sfc_os enable_sfc_os implib
17544 wine_fn_config_dll shdoclc enable_shdoclc po
17545 wine_fn_config_dll shdocvw enable_shdocvw clean
,implib
17546 wine_fn_config_test dlls
/shdocvw
/tests shdocvw_test
17547 wine_fn_config_dll shell.dll16 enable_win16
17548 wine_fn_config_dll shell32 enable_shell32 clean
,implib
,po
17549 wine_fn_config_test dlls
/shell32
/tests shell32_test
17550 wine_fn_config_dll shfolder enable_shfolder implib
17551 wine_fn_config_dll shlwapi enable_shlwapi implib
,po
17552 wine_fn_config_test dlls
/shlwapi
/tests shlwapi_test
17553 wine_fn_config_dll slbcsp enable_slbcsp
17554 wine_fn_config_dll slc enable_slc implib
17555 wine_fn_config_test dlls
/slc
/tests slc_test
17556 wine_fn_config_dll snmpapi enable_snmpapi implib
17557 wine_fn_config_test dlls
/snmpapi
/tests snmpapi_test
17558 wine_fn_config_dll softpub enable_softpub
17559 wine_fn_config_dll sound.drv16 enable_win16
17560 wine_fn_config_dll spoolss enable_spoolss implib
17561 wine_fn_config_test dlls
/spoolss
/tests spoolss_test
17562 wine_fn_config_dll stdole2.tlb enable_stdole2_tlb clean
17563 wine_fn_config_dll stdole32.tlb enable_stdole32_tlb clean
17564 wine_fn_config_dll sti enable_sti clean
,implib
17565 wine_fn_config_test dlls
/sti
/tests sti_test
17566 wine_fn_config_dll storage.dll16 enable_win16
17567 wine_fn_config_dll stress.dll16 enable_win16
17568 wine_fn_config_lib strmbase
17569 wine_fn_config_lib strmiids
17570 wine_fn_config_dll svrapi enable_svrapi
17571 wine_fn_config_dll sxs enable_sxs implib
17572 wine_fn_config_test dlls
/sxs
/tests sxs_test
17573 wine_fn_config_dll system.drv16 enable_win16
17574 wine_fn_config_dll t2embed enable_t2embed
17575 wine_fn_config_dll tapi32 enable_tapi32 implib
17576 wine_fn_config_dll taskschd enable_taskschd clean
17577 wine_fn_config_test dlls
/taskschd
/tests taskschd_test
17578 wine_fn_config_dll toolhelp.dll16 enable_win16
17579 wine_fn_config_dll traffic enable_traffic
17580 wine_fn_config_dll twain.dll16 enable_win16
17581 wine_fn_config_dll twain_32 enable_twain_32
17582 wine_fn_config_test dlls
/twain_32
/tests twain_32_test
17583 wine_fn_config_dll typelib.dll16 enable_win16
17584 wine_fn_config_dll unicows enable_unicows implib
17585 wine_fn_config_dll updspapi enable_updspapi
17586 wine_fn_config_dll url enable_url implib
17587 wine_fn_config_dll urlmon enable_urlmon clean
,implib
,po
17588 wine_fn_config_test dlls
/urlmon
/tests urlmon_test
17589 wine_fn_config_dll usbd.sys enable_usbd_sys implib
17590 wine_fn_config_dll user.exe16 enable_win16
17591 wine_fn_config_dll user32 enable_user32 clean
,implib
,po
17592 wine_fn_config_test dlls
/user32
/tests user32_test
17593 wine_fn_config_dll userenv enable_userenv implib
17594 wine_fn_config_test dlls
/userenv
/tests userenv_test
17595 wine_fn_config_dll usp10 enable_usp10 implib
17596 wine_fn_config_test dlls
/usp10
/tests usp10_test
17597 wine_fn_config_lib uuid
17598 wine_fn_config_dll uxtheme enable_uxtheme implib
17599 wine_fn_config_test dlls
/uxtheme
/tests uxtheme_test
17600 wine_fn_config_dll vbscript enable_vbscript clean
17601 wine_fn_config_test dlls
/vbscript
/tests vbscript_test clean
17602 wine_fn_config_dll vcomp enable_vcomp
17603 wine_fn_config_dll vcomp100 enable_vcomp100
17604 wine_fn_config_dll vcomp90 enable_vcomp90
17605 wine_fn_config_dll vdhcp.vxd enable_win16
17606 wine_fn_config_dll vdmdbg enable_vdmdbg implib
17607 wine_fn_config_dll ver.dll16 enable_win16
17608 wine_fn_config_dll version enable_version implib
17609 wine_fn_config_test dlls
/version
/tests version_test
17610 wine_fn_config_dll vmm.vxd enable_win16
17611 wine_fn_config_dll vnbt.vxd enable_win16
17612 wine_fn_config_dll vnetbios.vxd enable_win16
17613 wine_fn_config_dll vssapi enable_vssapi
17614 wine_fn_config_dll vtdapi.vxd enable_win16
17615 wine_fn_config_dll vwin32.vxd enable_win16
17616 wine_fn_config_dll w32skrnl enable_win16
17617 wine_fn_config_dll w32sys.dll16 enable_win16
17618 wine_fn_config_dll wbemdisp enable_wbemdisp clean
17619 wine_fn_config_test dlls
/wbemdisp
/tests wbemdisp_test
17620 wine_fn_config_dll wbemprox enable_wbemprox clean
17621 wine_fn_config_test dlls
/wbemprox
/tests wbemprox_test
17622 wine_fn_config_dll webservices enable_webservices implib
17623 wine_fn_config_dll wer enable_wer implib
17624 wine_fn_config_test dlls
/wer
/tests wer_test
17625 wine_fn_config_dll wevtapi enable_wevtapi
17626 wine_fn_config_dll wiaservc enable_wiaservc clean
17627 wine_fn_config_dll win32s16.dll16 enable_win16
17628 wine_fn_config_dll win87em.dll16 enable_win16
17629 wine_fn_config_dll winaspi.dll16 enable_win16
17630 wine_fn_config_dll windebug.dll16 enable_win16
17631 wine_fn_config_dll windowscodecs enable_windowscodecs clean
,implib
17632 wine_fn_config_test dlls
/windowscodecs
/tests windowscodecs_test
17633 wine_fn_config_dll windowscodecsext enable_windowscodecsext implib
17634 wine_fn_config_test dlls
/windowscodecsext
/tests windowscodecsext_test
17635 wine_fn_config_dll winealsa.drv enable_winealsa_drv
17636 wine_fn_config_dll winecoreaudio.drv enable_winecoreaudio_drv
17637 wine_fn_config_lib winecrt0
17638 wine_fn_config_dll wined3d enable_wined3d implib
17639 wine_fn_config_dll winegstreamer enable_winegstreamer
17640 wine_fn_config_dll winejoystick.drv enable_winejoystick_drv
17641 wine_fn_config_dll winemac.drv enable_winemac_drv
17642 wine_fn_config_dll winemapi enable_winemapi
17643 wine_fn_config_dll winemp3.acm enable_winemp3_acm
17644 wine_fn_config_dll wineoss.drv enable_wineoss_drv
17645 wine_fn_config_dll wineps.drv enable_wineps_drv clean
,po
17646 wine_fn_config_dll wineps16.drv16 enable_win16
17647 wine_fn_config_dll wineqtdecoder enable_wineqtdecoder
17648 wine_fn_config_dll winex11.drv enable_winex11_drv
17649 wine_fn_config_dll wing.dll16 enable_win16
17650 wine_fn_config_dll wing32 enable_wing32
17651 wine_fn_config_dll winhttp enable_winhttp clean
,implib
17652 wine_fn_config_test dlls
/winhttp
/tests winhttp_test
17653 wine_fn_config_dll wininet enable_wininet implib
,po
17654 wine_fn_config_test dlls
/wininet
/tests wininet_test
17655 wine_fn_config_dll winmm enable_winmm implib
,po
17656 wine_fn_config_test dlls
/winmm
/tests winmm_test
17657 wine_fn_config_dll winnls.dll16 enable_win16
17658 wine_fn_config_dll winnls32 enable_winnls32 implib
17659 wine_fn_config_dll winscard enable_winscard implib
17660 wine_fn_config_dll winsock.dll16 enable_win16
17661 wine_fn_config_dll winspool.drv enable_winspool_drv implib
,po winspool
17662 wine_fn_config_test dlls
/winspool.drv
/tests winspool.drv_test
17663 wine_fn_config_dll winsta enable_winsta
17664 wine_fn_config_dll wintab.dll16 enable_win16
17665 wine_fn_config_dll wintab32 enable_wintab32 implib
17666 wine_fn_config_test dlls
/wintab32
/tests wintab32_test
17667 wine_fn_config_dll wintrust enable_wintrust implib
17668 wine_fn_config_test dlls
/wintrust
/tests wintrust_test
17669 wine_fn_config_dll wlanapi enable_wlanapi
17670 wine_fn_config_dll wldap32 enable_wldap32 implib
,po
17671 wine_fn_config_test dlls
/wldap32
/tests wldap32_test
17672 wine_fn_config_dll wmi enable_wmi
17673 wine_fn_config_dll wmiutils enable_wmiutils clean
17674 wine_fn_config_test dlls
/wmiutils
/tests wmiutils_test
17675 wine_fn_config_dll wmp enable_wmp clean
17676 wine_fn_config_test dlls
/wmp
/tests wmp_test
17677 wine_fn_config_dll wmvcore enable_wmvcore
17678 wine_fn_config_dll wnaspi32 enable_wnaspi32 implib
17679 wine_fn_config_dll wow32 enable_win16 implib
17680 wine_fn_config_dll wpcap enable_wpcap
17681 wine_fn_config_dll ws2_32 enable_ws2_32 implib
17682 wine_fn_config_test dlls
/ws2_32
/tests ws2_32_test
17683 wine_fn_config_dll wshom.ocx enable_wshom_ocx clean
17684 wine_fn_config_test dlls
/wshom.ocx
/tests wshom.ocx_test clean
17685 wine_fn_config_dll wsnmp32 enable_wsnmp32 implib
17686 wine_fn_config_test dlls
/wsnmp32
/tests wsnmp32_test
17687 wine_fn_config_dll wsock32 enable_wsock32 implib
17688 wine_fn_config_dll wtsapi32 enable_wtsapi32 implib
17689 wine_fn_config_test dlls
/wtsapi32
/tests wtsapi32_test
17690 wine_fn_config_dll wuapi enable_wuapi clean
17691 wine_fn_config_dll wuaueng enable_wuaueng
17692 wine_fn_config_dll x3daudio1_1 enable_x3daudio1_1
17693 wine_fn_config_dll x3daudio1_2 enable_x3daudio1_2
17694 wine_fn_config_dll x3daudio1_3 enable_x3daudio1_3
17695 wine_fn_config_dll x3daudio1_4 enable_x3daudio1_4
17696 wine_fn_config_dll x3daudio1_5 enable_x3daudio1_5
17697 wine_fn_config_dll x3daudio1_6 enable_x3daudio1_6
17698 wine_fn_config_dll x3daudio1_7 enable_x3daudio1_7
17699 wine_fn_config_dll xapofx1_1 enable_xapofx1_1
17700 wine_fn_config_dll xapofx1_3 enable_xapofx1_3
17701 wine_fn_config_dll xapofx1_4 enable_xapofx1_4
17702 wine_fn_config_dll xapofx1_5 enable_xapofx1_5
17703 wine_fn_config_dll xaudio2_7 enable_xaudio2_7
17704 wine_fn_config_dll xinput1_1 enable_xinput1_1
17705 wine_fn_config_dll xinput1_2 enable_xinput1_2
17706 wine_fn_config_dll xinput1_3 enable_xinput1_3 implib xinput
17707 wine_fn_config_test dlls
/xinput1_
3/tests xinput1_3_test
17708 wine_fn_config_dll xinput1_4 enable_xinput1_4
17709 wine_fn_config_dll xinput9_1_0 enable_xinput9_1_0
17710 wine_fn_config_dll xmllite enable_xmllite implib
17711 wine_fn_config_test dlls
/xmllite
/tests xmllite_test
17712 wine_fn_config_dll xolehlp enable_xolehlp
17713 wine_fn_config_dll xpsprint enable_xpsprint
17714 wine_fn_config_dll xpssvcs enable_xpssvcs
17715 wine_fn_config_makefile documentation enable_documentation clean
17716 wine_fn_config_makefile fonts enable_fonts clean
,install-lib
17717 wine_fn_config_makefile include enable_include clean
,install-dev
17718 wine_fn_config_makefile libs
/port enable_libs_port
17719 wine_fn_config_makefile libs
/wine enable_libs_wine clean
,install-dev
,install-lib
17720 wine_fn_config_makefile libs
/wpp enable_libs_wpp
17721 wine_fn_config_makefile loader enable_loader clean
,install-lib
,manpage
17722 wine_fn_config_program arp enable_arp
install
17723 wine_fn_config_program aspnet_regiis enable_aspnet_regiis
install
17724 wine_fn_config_program attrib enable_attrib
install,po
17725 wine_fn_config_program cabarc enable_cabarc
install
17726 wine_fn_config_program cacls enable_cacls
install
17727 wine_fn_config_program
clock enable_clock
install,po
17728 wine_fn_config_program cmd enable_cmd
install,po
17729 wine_fn_config_test programs
/cmd
/tests cmd.exe_test
17730 wine_fn_config_program conhost enable_conhost
install
17731 wine_fn_config_program control enable_control
install
17732 wine_fn_config_program cscript enable_cscript clean
,install
17733 wine_fn_config_program dpnsvr enable_dpnsvr
install
17734 wine_fn_config_program dxdiag enable_dxdiag
install,po
17735 wine_fn_config_program eject enable_eject
install
17736 wine_fn_config_program
expand enable_expand
install
17737 wine_fn_config_program explorer enable_explorer
install,po
17738 wine_fn_config_program extrac32 enable_extrac32
install
17739 wine_fn_config_program findstr enable_findstr
install
17740 wine_fn_config_program hh enable_hh
install
17741 wine_fn_config_program hostname enable_hostname
install,po
17742 wine_fn_config_program icinfo enable_icinfo
install
17743 wine_fn_config_program iexplore enable_iexplore
install
17744 wine_fn_config_program ipconfig enable_ipconfig
install,po
17745 wine_fn_config_program lodctr enable_lodctr
install
17746 wine_fn_config_program mofcomp enable_mofcomp
install
17747 wine_fn_config_program mshta enable_mshta
install
17748 wine_fn_config_program msiexec enable_msiexec
install,installbin
,manpage
17749 wine_fn_config_program net enable_net
install,po
17750 wine_fn_config_program netsh enable_netsh
install
17751 wine_fn_config_program netstat enable_netstat
install,po
17752 wine_fn_config_program ngen enable_ngen
install
17753 wine_fn_config_program notepad enable_notepad
install,installbin
,manpage
,po
17754 wine_fn_config_program oleview enable_oleview
install,po
17755 wine_fn_config_program
ping enable_ping
install
17756 wine_fn_config_program plugplay enable_plugplay
install
17757 wine_fn_config_program presentationfontcache enable_presentationfontcache
install
17758 wine_fn_config_program progman enable_progman
install,po
17759 wine_fn_config_program reg enable_reg
install,po
17760 wine_fn_config_test programs
/reg
/tests reg.exe_test
17761 wine_fn_config_program regasm enable_regasm
install
17762 wine_fn_config_program regedit enable_regedit
install,installbin
,manpage
,po
17763 wine_fn_config_test programs
/regedit
/tests regedit.exe_test
17764 wine_fn_config_program regsvcs enable_regsvcs
install
17765 wine_fn_config_program regsvr32 enable_regsvr32
install,installbin
,manpage
,po
17766 wine_fn_config_program rpcss enable_rpcss clean
,install
17767 wine_fn_config_program rundll.exe16 enable_win16
install
17768 wine_fn_config_program rundll32 enable_rundll32
install
17769 wine_fn_config_program sc enable_sc
install
17770 wine_fn_config_program schtasks enable_schtasks
install
17771 wine_fn_config_program sdbinst enable_sdbinst
install
17772 wine_fn_config_program secedit enable_secedit
install
17773 wine_fn_config_program servicemodelreg enable_servicemodelreg
install
17774 wine_fn_config_program services enable_services clean
,install
17775 wine_fn_config_test programs
/services
/tests services.exe_test
17776 wine_fn_config_program spoolsv enable_spoolsv
install
17777 wine_fn_config_program start enable_start
install,po
17778 wine_fn_config_program svchost enable_svchost
install
17779 wine_fn_config_program systeminfo enable_systeminfo
install
17780 wine_fn_config_program taskkill enable_taskkill
install,po
17781 wine_fn_config_program tasklist enable_tasklist
install
17782 wine_fn_config_program taskmgr enable_taskmgr
install,po
17783 wine_fn_config_program termsv enable_termsv
install
17784 wine_fn_config_program uninstaller enable_uninstaller
install,po
17785 wine_fn_config_program unlodctr enable_unlodctr
install
17786 wine_fn_config_program view enable_view
install,po
17787 wine_fn_config_program wevtutil enable_wevtutil
install
17788 wine_fn_config_program wineboot enable_wineboot
install,installbin
,manpage
,po
17789 wine_fn_config_program winebrowser enable_winebrowser
install
17790 wine_fn_config_program winecfg enable_winecfg
install,installbin
,manpage
,po
17791 wine_fn_config_program wineconsole enable_wineconsole
install,installbin
,manpage
,po
17792 wine_fn_config_program winedbg enable_winedbg
install,installbin
,manpage
,po
17793 wine_fn_config_program winedevice enable_winedevice
install
17794 wine_fn_config_program winefile enable_winefile
install,installbin
,manpage
,po
17795 wine_fn_config_program winemenubuilder enable_winemenubuilder
install
17796 wine_fn_config_program winemine enable_winemine
install,installbin
,manpage
,po
17797 wine_fn_config_program winemsibuilder enable_winemsibuilder
install
17798 wine_fn_config_program winepath enable_winepath
install,installbin
,manpage
17799 wine_fn_config_program winetest enable_winetest clean
17800 wine_fn_config_program winevdm enable_win16
install
17801 wine_fn_config_program winhelp.exe16 enable_win16
install
17802 wine_fn_config_program winhlp32 enable_winhlp32
install,po
17803 wine_fn_config_program winoldap.mod16 enable_win16
install
17804 wine_fn_config_program winver enable_winver
install
17805 wine_fn_config_program wmic enable_wmic
install,po
17806 wine_fn_config_program wordpad enable_wordpad
install,po
17807 wine_fn_config_program
write enable_write
install,po
17808 wine_fn_config_program wscript enable_wscript clean
,install
17809 wine_fn_config_test programs
/wscript
/tests wscript.exe_test
17810 wine_fn_config_program wusa enable_wusa
install
17811 wine_fn_config_program xcopy enable_xcopy
install,po
17812 wine_fn_config_test programs
/xcopy
/tests xcopy.exe_test
17813 wine_fn_config_makefile server enable_server clean
,install-lib
,manpage
17814 wine_fn_config_tool tools clean
,install-dev
,install-lib
,manpage
17815 wine_fn_config_tool tools
/sfnt2fon clean
17816 wine_fn_config_tool tools
/widl clean
,install-dev
,manpage
17817 wine_fn_config_tool tools
/winebuild clean
,install-dev
,manpage
17818 wine_fn_config_tool tools
/winedump clean
,install-dev
,manpage
17819 wine_fn_config_tool tools
/winegcc clean
,install-dev
,manpage
17820 wine_fn_config_tool tools
/wmc clean
,install-dev
,manpage
17821 wine_fn_config_tool tools
/wrc clean
,install-dev
,manpage
17873 wine_fn_ignore_file
".gitignore"
17874 wine_fn_ignore_file
"Makefile"
17875 wine_fn_ignore_file
"TAGS"
17876 wine_fn_ignore_file
"tags"
17877 wine_fn_ignore_file
"autom4te.cache"
17878 wine_fn_ignore_file
"config.cache"
17879 wine_fn_ignore_file
"config.log"
17880 wine_fn_ignore_file
"config.status"
17881 wine_fn_ignore_file
"configure.lineno"
17882 wine_fn_ignore_file
"include/config.h"
17883 wine_fn_ignore_file
"include/stamp-h"
17884 test "$wine_binary" = wine || wine_fn_ignore_file
"loader/wine"
17886 if test "x$enable_tools" != xno
17888 wine_fn_ignore_file
"tools/makedep$ac_exeext"
17889 ac_config_commands
="$ac_config_commands tools/makedep"
17893 ac_config_commands
="$ac_config_commands Makefile"
17896 ac_config_files
="$ac_config_files Make.tmp:Make.vars.in:Makefile.in"
17900 if test "x$enable_maintainer_mode" = xyes
17902 wine_fn_append_rule
"configure: configure.ac aclocal.m4
17903 autoconf --warnings=all
17904 include/config.h.in: include/stamp-h.in
17905 include/stamp-h.in: configure.ac aclocal.m4
17906 autoheader --warnings=all
17907 @echo timestamp > \$@"
17910 if test "x$with_gettextpo" = xyes
17912 test "$srcdir" = . || as_fn_error $?
"Rebuilding po files is not supported for out of tree builds." "$LINENO" 5
17913 wine_fn_append_rule
"ALL_POT_FILES =$ALL_POT_FILES
17914 \$(LINGUAS:%=po/%.po): po/wine.pot
17915 msgmerge --previous -q \$@ po/wine.pot | msgattrib --no-obsolete -o \$@.new && mv \$@.new \$@
17916 po/wine.pot: \$(ALL_POT_FILES)
17917 msgcat -o \$@ \$(ALL_POT_FILES)"
17920 if test "$MSGFMT" != false
17922 wine_fn_append_rule
"__builddeps__: \$(LINGUAS:%=po/%.mo)
17924 \$(RM) \$(LINGUAS:%=po/%.mo)"
17927 test "$srcdir" = . || posrc
="$srcdir/po"
17930 wine_fn_ignore_file
"po/$i.mo"
17931 wine_fn_append_rule
"po/$i.mo: $posrc/$i.po
17932 \$(MSGFMT) -o \$@ $posrc/$i.po"
17938 if test "x$enable_tools" != xno
17940 wine_fn_append_rule
"tools/makedep$ac_exeext: $srcdir/tools/makedep.c include/config.h config.status
17941 @./config.status tools/makedep
17942 Makefile: tools/makedep$ac_exeext
17944 \$(RM) tools/makedep$ac_exeext"
17946 wine_fn_append_rule
"\$(MAKEDEP):
17947 @echo \"You need to run make in $TOOLSDIR first\" && false"
17950 if test -n "$with_wine64"
17952 wine_fn_append_rule
"all: fonts server tools $with_wine64/loader/wine $with_wine64/loader/wine-preloader
17953 fonts server tools:
17954 \$(RM) \$@ && \$(LN_S) $with_wine64/\$@ \$@
17955 $with_wine64/loader/wine:
17956 \$(RM) \$@ && \$(LN_S) $ac_pwd/loader/wine \$@
17957 $with_wine64/loader/wine-preloader:
17958 \$(RM) \$@ && \$(LN_S) $ac_pwd/loader/wine-preloader \$@
17960 \$(RM) fonts server tools $with_wine64/loader/wine $with_wine64/loader/wine-preloader"
17962 as_fn_append LOADER_RULES
"
17963 install install-lib:: wine.inf install-man-pages
17964 \$(INSTALL_DATA) wine.inf \$(DESTDIR)\$(datadir)/wine/wine.inf
17965 \$(INSTALL_DATA) \$(srcdir)/l_intl.nls \$(DESTDIR)\$(datadir)/wine/l_intl.nls
17968 \$(RM) \$(DESTDIR)\$(datadir)/wine/wine.inf \$(DESTDIR)\$(datadir)/wine/l_intl.nls
17972 if test "$srcdir" = .
17974 ac_config_commands
="$ac_config_commands .gitignore"
17978 $as_echo " done" >&6
17979 cat >confcache
<<\_ACEOF
17980 # This file is a shell script that caches the results of configure
17981 # tests run on this system so they can be shared between configure
17982 # scripts and configure runs, see configure's option --config-cache.
17983 # It is not useful on other systems. If it contains results you don't
17984 # want to keep, you may remove or edit it.
17986 # config.status only pays attention to the cache file if you give it
17987 # the --recheck option to rerun configure.
17989 # `ac_cv_env_foo' variables (set or unset) will be overridden when
17990 # loading this file, other *unset* `ac_cv_foo' will be assigned the
17991 # following values.
17995 # The following way of writing the cache mishandles newlines in values,
17996 # but we know of no workaround that is simple, portable, and efficient.
17997 # So, we kill variables containing newlines.
17998 # Ultrix sh set writes to stderr and can't be redirected directly,
17999 # and sets the high bit in the cache file unless we assign to the vars.
18001 for ac_var
in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
18002 eval ac_val
=\$
$ac_var
18006 *_cv_
*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
18007 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
18010 _ | IFS | as_nl
) ;; #(
18011 BASH_ARGV | BASH_SOURCE
) eval $ac_var= ;; #(
18012 *) { eval $ac_var=; unset $ac_var;} ;;
18018 case $as_nl`(ac_space=' '; set) 2>&1` in #(
18019 *${as_nl}ac_space
=\
*)
18020 # `set' does not quote correctly, so add quotes: double-quote
18021 # substitution turns \\\\ into \\, and sed turns \\ into \.
18024 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
18027 # `set' quotes correctly as required by POSIX, so do not add quotes.
18028 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
18037 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
18039 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
18041 if diff "$cache_file" confcache
>/dev
/null
2>&1; then :; else
18042 if test -w "$cache_file"; then
18043 if test "x$cache_file" != "x/dev/null"; then
18044 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
18045 $as_echo "$as_me: updating cache $cache_file" >&6;}
18046 if test ! -f "$cache_file" ||
test -h "$cache_file"; then
18047 cat confcache
>"$cache_file"
18049 case $cache_file in #(
18051 mv -f confcache
"$cache_file"$$
&&
18052 mv -f "$cache_file"$$
"$cache_file" ;; #(
18054 mv -f confcache
"$cache_file" ;;
18059 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
18060 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
18065 test "x$prefix" = xNONE
&& prefix
=$ac_default_prefix
18066 # Let make expand exec_prefix.
18067 test "x$exec_prefix" = xNONE
&& exec_prefix
='${prefix}'
18069 DEFS
=-DHAVE_CONFIG_H
18074 for ac_i
in : $LIBOBJS; do test "x$ac_i" = x
: && continue
18075 # 1. Remove the extension, and $U if already installed.
18076 ac_script
='s/\$U\././;s/\.o$//;s/\.obj$//'
18077 ac_i
=`$as_echo "$ac_i" | sed "$ac_script"`
18078 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
18079 # will be set to the directory where LIBOBJS objects are built.
18080 as_fn_append ac_libobjs
" \${LIBOBJDIR}$ac_i\$U.$ac_objext"
18081 as_fn_append ac_ltlibobjs
" \${LIBOBJDIR}$ac_i"'$U.lo'
18083 LIBOBJS
=$ac_libobjs
18085 LTLIBOBJS
=$ac_ltlibobjs
18089 : "${CONFIG_STATUS=./config.status}"
18091 ac_clean_files_save
=$ac_clean_files
18092 ac_clean_files
="$ac_clean_files $CONFIG_STATUS"
18093 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
18094 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
18096 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
18098 # Generated by $as_me.
18099 # Run this file to recreate the current configuration.
18100 # Compiler output produced by configure, useful for debugging
18101 # configure, is in config.log if it exists.
18104 ac_cs_recheck=false
18107 SHELL=\${CONFIG_SHELL-$SHELL}
18110 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail
=1
18111 ## -------------------- ##
18112 ## M4sh Initialization. ##
18113 ## -------------------- ##
18115 # Be more Bourne compatible
18116 DUALCASE
=1; export DUALCASE
# for MKS sh
18117 if test -n "${ZSH_VERSION+set}" && (emulate sh
) >/dev
/null
2>&1; then :
18120 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
18121 # is contrary to our usage. Disable this feature.
18122 alias -g '${1+"$@"}'='"$@"'
18123 setopt NO_GLOB_SUBST
18125 case `(set -o) 2>/dev/null` in #(
18137 # Printing a long string crashes Solaris 7 /usr/bin/printf.
18138 as_echo
='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
18139 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
18140 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
18141 # Prefer a ksh shell builtin over an external printf program on Solaris,
18142 # but without wasting forks for bash or zsh.
18143 if test -z "$BASH_VERSION$ZSH_VERSION" \
18144 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
18145 as_echo='print
-r --'
18146 as_echo_n='print
-rn --'
18147 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
18148 as_echo='printf %s
\n'
18149 as_echo_n='printf %s
'
18151 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
18152 as_echo_body='eval /usr
/ucb
/echo -n "$1$as_nl"'
18153 as_echo_n='/usr
/ucb
/echo -n'
18155 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
18156 as_echo_n_body='eval
18160 expr "X$arg" : "X\\(.*\\)$as_nl";
18161 arg
=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
18163 expr "X$arg" : "X\\(.*\\)" |
tr -d "$as_nl"
18165 export as_echo_n_body
18166 as_echo_n='sh
-c $as_echo_n_body as_echo
'
18168 export as_echo_body
18169 as_echo='sh
-c $as_echo_body as_echo
'
18172 # The user is always right.
18173 if test "${PATH_SEPARATOR+set}" != set; then
18175 (PATH='/bin
;/bin
'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
18176 (PATH='/bin
:/bin
'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
18183 # We need space, tab and new line, in precisely that order. Quoting is
18184 # there to prevent editors from complaining about space-tab.
18185 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
18186 # splitting by setting IFS to empty value.)
18189 # Find who we are. Look in the path if we contain no directory separator.
18192 *[\\/]* ) as_myself=$0 ;;
18193 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
18194 for as_dir in $PATH
18197 test -z "$as_dir" && as_dir=.
18198 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
18204 # We did not find ourselves, most probably we were run as `sh COMMAND'
18205 # in which case we are not to be found in the path.
18206 if test "x$as_myself" = x
; then
18209 if test ! -f "$as_myself"; then
18210 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
18214 # Unset variables that we do not need and which cause bugs (e.g. in
18215 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
18216 # suppresses any "Segmentation fault" message there. '((' could
18217 # trigger a bug in pdksh 5.2.14.
18218 for as_var
in BASH_ENV ENV MAIL MAILPATH
18219 do eval test x\
${$as_var+set} = xset \
18220 && ( (unset $as_var) ||
exit 1) >/dev
/null
2>&1 && unset $as_var ||
:
18233 (unset CDPATH
) >/dev
/null
2>&1 && unset CDPATH
18236 # as_fn_error STATUS ERROR [LINENO LOG_FD]
18237 # ----------------------------------------
18238 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
18239 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
18240 # script with STATUS, using 1 if that was 0.
18243 as_status
=$1; test $as_status -eq 0 && as_status
=1
18245 as_lineno
=${as_lineno-"$3"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
18246 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
18248 $as_echo "$as_me: error: $2" >&2
18249 as_fn_exit
$as_status
18253 # as_fn_set_status STATUS
18254 # -----------------------
18255 # Set $? to STATUS, without forking.
18256 as_fn_set_status
()
18259 } # as_fn_set_status
18261 # as_fn_exit STATUS
18262 # -----------------
18263 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
18267 as_fn_set_status
$1
18273 # Portably unset VAR.
18276 { eval $1=; unset $1;}
18278 as_unset
=as_fn_unset
18279 # as_fn_append VAR VALUE
18280 # ----------------------
18281 # Append the text in VALUE to the end of the definition contained in VAR. Take
18282 # advantage of any shell optimizations that allow amortized linear growth over
18283 # repeated appends, instead of the typical quadratic growth present in naive
18285 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev
/null
; then :
18286 eval 'as_fn_append ()
18297 # as_fn_arith ARG...
18298 # ------------------
18299 # Perform arithmetic evaluation on the ARGs, and store the result in the
18300 # global $as_val. Take advantage of shells that can avoid forks. The arguments
18301 # must be portable across $(()) and expr.
18302 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev
/null
; then :
18303 eval 'as_fn_arith ()
18310 as_val
=`expr "$@" || test $? -eq 1`
18315 if expr a
: '\(a\)' >/dev
/null
2>&1 &&
18316 test "X`expr 00001 : '.*\(...\)'`" = X001
; then
18322 if (basename -- /) >/dev
/null
2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
18323 as_basename
=basename
18328 if (as_dir
=`dirname -- /` && test "X$as_dir" = X
/) >/dev
/null
2>&1; then
18334 as_me
=`$as_basename -- "$0" ||
18335 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
18336 X"$0" : 'X\(//\)$' \| \
18337 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
18339 sed '/^.*\/\([^/][^/]*\)\/*$/{
18353 # Avoid depending upon Character Ranges.
18354 as_cr_letters
='abcdefghijklmnopqrstuvwxyz'
18355 as_cr_LETTERS
='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
18356 as_cr_Letters
=$as_cr_letters$as_cr_LETTERS
18357 as_cr_digits
='0123456789'
18358 as_cr_alnum
=$as_cr_Letters$as_cr_digits
18360 ECHO_C
= ECHO_N
= ECHO_T
=
18361 case `echo -n x` in #(((((
18363 case `echo 'xy\c'` in
18364 *c
*) ECHO_T
=' ';; # ECHO_T is single tab character.
18366 *) echo `echo ksh88 bug on AIX 6.1` > /dev
/null
18373 rm -f conf$$ conf$$.exe conf$$.
file
18374 if test -d conf$$.dir
; then
18375 rm -f conf$$.dir
/conf$$.
file
18378 mkdir conf$$.dir
2>/dev
/null
18380 if (echo >conf$$.
file) 2>/dev
/null
; then
18381 if ln -s conf$$.
file conf$$
2>/dev
/null
; then
18383 # ... but there are two gotchas:
18384 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
18385 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
18386 # In both cases, we have to default to `cp -pR'.
18387 ln -s conf$$.
file conf$$.dir
2>/dev
/null
&& test ! -f conf$$.exe ||
18389 elif ln conf$$.
file conf$$
2>/dev
/null
; then
18397 rm -f conf$$ conf$$.exe conf$$.dir
/conf$$.
file conf$$.
file
18398 rmdir conf$$.dir
2>/dev
/null
18403 # Create "$as_dir" as a directory, including parents if necessary.
18408 -*) as_dir
=.
/$as_dir;;
18410 test -d "$as_dir" ||
eval $as_mkdir_p ||
{
18414 *\'*) as_qdir
=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
18415 *) as_qdir
=$as_dir;;
18417 as_dirs
="'$as_qdir' $as_dirs"
18418 as_dir
=`$as_dirname -- "$as_dir" ||
18419 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
18420 X"$as_dir" : 'X\(//\)[^/]' \| \
18421 X"$as_dir" : 'X\(//\)$' \| \
18422 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
18423 $as_echo X"$as_dir" |
18424 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
18428 /^X\(\/\/\)[^/].*/{
18441 test -d "$as_dir" && break
18443 test -z "$as_dirs" ||
eval "mkdir $as_dirs"
18444 } ||
test -d "$as_dir" || as_fn_error $?
"cannot create directory $as_dir"
18448 if mkdir
-p .
2>/dev
/null
; then
18449 as_mkdir_p
='mkdir -p "$as_dir"'
18451 test -d .
/-p && rmdir .
/-p
18456 # as_fn_executable_p FILE
18457 # -----------------------
18458 # Test if FILE is an executable regular file.
18459 as_fn_executable_p
()
18461 test -f "$1" && test -x "$1"
18462 } # as_fn_executable_p
18463 as_test_x
='test -x'
18464 as_executable_p
=as_fn_executable_p
18466 # Sed expression to map a string onto a valid CPP name.
18467 as_tr_cpp
="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
18469 # Sed expression to map a string onto a valid variable name.
18470 as_tr_sh
="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
18474 ## ----------------------------------- ##
18475 ## Main body of $CONFIG_STATUS script. ##
18476 ## ----------------------------------- ##
18478 test $as_write_fail = 0 && chmod +x
$CONFIG_STATUS || ac_write_fail
=1
18480 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
18481 # Save the log message, to keep $0 and so on meaningful, and to
18482 # report actual input values of CONFIG_FILES etc. instead of their
18483 # values after options handling.
18485 This file was extended by Wine $as_me 1.7.42, which was
18486 generated by GNU Autoconf 2.69. Invocation command line was
18488 CONFIG_FILES = $CONFIG_FILES
18489 CONFIG_HEADERS = $CONFIG_HEADERS
18490 CONFIG_LINKS = $CONFIG_LINKS
18491 CONFIG_COMMANDS = $CONFIG_COMMANDS
18494 on `(hostname || uname -n) 2>/dev/null | sed 1q`
18499 case $ac_config_files in *"
18500 "*) set x
$ac_config_files; shift; ac_config_files
=$
*;;
18503 case $ac_config_headers in *"
18504 "*) set x
$ac_config_headers; shift; ac_config_headers
=$
*;;
18508 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
18509 # Files that config.status was made for.
18510 config_files="$ac_config_files"
18511 config_headers="$ac_config_headers"
18512 config_links="$ac_config_links"
18513 config_commands="$ac_config_commands"
18517 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
18519 \`$as_me' instantiates files and other configuration actions
18520 from templates according to the current configuration. Unless the files
18521 and actions are specified as TAGs, all are instantiated by default.
18523 Usage: $0 [OPTION]... [TAG]...
18525 -h, --help print this help, then exit
18526 -V, --version print version number and configuration settings, then exit
18527 --config print configuration, then exit
18528 -q, --quiet, --silent
18529 do not print progress messages
18530 -d, --debug don't remove temporary files
18531 --recheck update $as_me by reconfiguring in the same conditions
18532 --file=FILE[:TEMPLATE]
18533 instantiate the configuration file FILE
18534 --header=FILE[:TEMPLATE]
18535 instantiate the configuration header FILE
18537 Configuration files:
18540 Configuration headers:
18543 Configuration links:
18546 Configuration commands:
18549 Report bugs to <wine-devel@winehq.org>.
18550 Wine home page: <http://www.winehq.org>."
18553 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
18554 ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
18556 Wine config.status 1.7.42
18557 configured by $0, generated by GNU Autoconf 2.69,
18558 with options \\"\$ac_cs_config\\"
18560 Copyright (C) 2012 Free Software Foundation, Inc.
18561 This config.status script is free software; the Free Software Foundation
18562 gives unlimited permission to copy, distribute and modify it."
18566 test -n "\$AWK" || AWK=awk
18569 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
18570 # The default lists apply if the user does not specify any file.
18576 ac_option
=`expr "X$1" : 'X\([^=]*\)='`
18577 ac_optarg
=`expr "X$1" : 'X[^=]*=\(.*\)'`
18581 ac_option
=`expr "X$1" : 'X\([^=]*\)='`
18593 # Handling of the options.
18594 -recheck |
--recheck |
--rechec |
--reche |
--rech |
--rec |
--re |
--r)
18596 --version |
--versio |
--versi |
--vers |
--ver |
--ve |
--v |
-V )
18597 $as_echo "$ac_cs_version"; exit ;;
18598 --config |
--confi |
--conf |
--con |
--co |
--c )
18599 $as_echo "$ac_cs_config"; exit ;;
18600 --debug |
--debu |
--deb |
--de |
--d |
-d )
18602 --file |
--fil |
--fi |
--f )
18605 *\'*) ac_optarg
=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
18606 '') as_fn_error $?
"missing file argument" ;;
18608 as_fn_append CONFIG_FILES
" '$ac_optarg'"
18609 ac_need_defaults
=false
;;
18610 --header |
--heade |
--head |
--hea )
18613 *\'*) ac_optarg
=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
18615 as_fn_append CONFIG_HEADERS
" '$ac_optarg'"
18616 ac_need_defaults
=false
;;
18618 # Conflict between --help and --header
18619 as_fn_error $?
"ambiguous option: \`$1'
18620 Try \`$0 --help' for more information.";;
18621 --help |
--hel |
-h )
18622 $as_echo "$ac_cs_usage"; exit ;;
18623 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
18624 |
-silent |
--silent |
--silen |
--sile |
--sil |
--si |
--s)
18627 # This is an error.
18628 -*) as_fn_error $?
"unrecognized option: \`$1'
18629 Try \`$0 --help' for more information." ;;
18631 *) as_fn_append ac_config_targets
" $1"
18632 ac_need_defaults
=false
;;
18638 ac_configure_extra_args
=
18640 if $ac_cs_silent; then
18642 ac_configure_extra_args
="$ac_configure_extra_args --silent"
18646 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
18647 if \$ac_cs_recheck; then
18648 set X $SHELL '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
18650 \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
18651 CONFIG_SHELL='$SHELL'
18652 export CONFIG_SHELL
18657 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
18661 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
18662 ## Running $as_me. ##
18668 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
18672 wine_fn_output_makedep ()
18674 as_dir=tools; as_fn_mkdir_p
18675 $CC -Iinclude -I$srcdir/include -D__WINESRC__ $EXTRACFLAGS $CPPFLAGS $CFLAGS -o tools/makedep$ac_exeext $srcdir/tools/makedep.c $LDFLAGS
18677 wine_fn_output_makefile ()
18679 cat Make.tmp - <<\_WINE_EOF >\$tmp/makefile && mv -f \$tmp/makefile \$1 && rm -f Make.tmp && "$wine_makedep" . && return
18680 `cat $wine_rules_file`
18682 as_fn_error $? "could not create Makefile" "$LINENO" 5
18684 wine_fn_output_gitignore ()
18686 sort <<\_WINE_EOF >\$tmp/gitignore && mv -f \$tmp/gitignore \$1 && return
18689 as_fn_error $? "could not create .gitignore" "$LINENO" 5
18694 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
18696 # Handling of arguments.
18697 for ac_config_target
in $ac_config_targets
18699 case $ac_config_target in
18700 "include/config.h") CONFIG_HEADERS
="$CONFIG_HEADERS include/config.h" ;;
18701 "include/stamp-h") CONFIG_COMMANDS
="$CONFIG_COMMANDS include/stamp-h" ;;
18702 "fonts/marlett.ttf") CONFIG_LINKS
="$CONFIG_LINKS fonts/marlett.ttf:fonts/marlett.ttf" ;;
18703 "fonts/symbol.ttf") CONFIG_LINKS
="$CONFIG_LINKS fonts/symbol.ttf:fonts/symbol.ttf" ;;
18704 "fonts/tahoma.ttf") CONFIG_LINKS
="$CONFIG_LINKS fonts/tahoma.ttf:fonts/tahoma.ttf" ;;
18705 "fonts/tahomabd.ttf") CONFIG_LINKS
="$CONFIG_LINKS fonts/tahomabd.ttf:fonts/tahomabd.ttf" ;;
18706 "loader/l_intl.nls") CONFIG_LINKS
="$CONFIG_LINKS loader/l_intl.nls:loader/l_intl.nls" ;;
18707 "po/LINGUAS") CONFIG_LINKS
="$CONFIG_LINKS po/LINGUAS:po/LINGUAS" ;;
18708 "wine") CONFIG_LINKS
="$CONFIG_LINKS wine:tools/winewrapper" ;;
18709 "wine64") CONFIG_LINKS
="$CONFIG_LINKS wine64:tools/winewrapper" ;;
18710 "tools/makedep") CONFIG_COMMANDS
="$CONFIG_COMMANDS tools/makedep" ;;
18711 "Makefile") CONFIG_COMMANDS
="$CONFIG_COMMANDS Makefile" ;;
18712 "Make.tmp") CONFIG_FILES
="$CONFIG_FILES Make.tmp:Make.vars.in:Makefile.in" ;;
18713 ".gitignore") CONFIG_COMMANDS
="$CONFIG_COMMANDS .gitignore" ;;
18715 *) as_fn_error $?
"invalid argument: \`$ac_config_target'" "$LINENO" 5;;
18720 # If the user did not use the arguments to specify the items to instantiate,
18721 # then the envvar interface is used. Set only those that are not.
18722 # We use the long form for the default assignment because of an extremely
18723 # bizarre bug on SunOS 4.1.3.
18724 if $ac_need_defaults; then
18725 test "${CONFIG_FILES+set}" = set || CONFIG_FILES
=$config_files
18726 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS
=$config_headers
18727 test "${CONFIG_LINKS+set}" = set || CONFIG_LINKS
=$config_links
18728 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS
=$config_commands
18731 # Have a temporary directory for convenience. Make it in the build tree
18732 # simply because there is no reason against having it here, and in addition,
18733 # creating and moving files from /tmp can sometimes cause problems.
18734 # Hook for its removal unless debugging.
18735 # Note that there is a small window in which the directory will not be cleaned:
18736 # after its creation but before its name has been assigned to `$tmp'.
18740 trap 'exit_status=$?
18741 : "${ac_tmp:=$tmp}"
18742 { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
18744 trap 'as_fn_exit 1' 1 2 13 15
18746 # Create a (secure) tmp directory for tmp files.
18749 tmp
=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
18753 tmp
=.
/conf$$
-$RANDOM
18754 (umask 077 && mkdir
"$tmp")
18755 } || as_fn_error $?
"cannot create a temporary directory in ." "$LINENO" 5
18758 # Set up the scripts for CONFIG_FILES section.
18759 # No need to generate them if there are no CONFIG_FILES.
18760 # This happens for instance with `./config.status config.h'.
18761 if test -n "$CONFIG_FILES"; then
18764 ac_cr
=`echo X | tr X '\015'`
18765 # On cygwin, bash can eat \r inside `` if the user requested igncr.
18766 # But we know of no other shell where ac_cr would be empty at this
18767 # point, so we can use a bashism as a fallback.
18768 if test "x$ac_cr" = x
; then
18769 eval ac_cr
=\$
\'\\r
\'
18771 ac_cs_awk_cr
=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
18772 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
18775 ac_cs_awk_cr
=$ac_cr
18778 echo 'BEGIN {' >"$ac_tmp/subs1.awk" &&
18783 echo "cat >conf$$subs.awk <<_ACEOF" &&
18784 echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
18786 } >conf$$subs.sh ||
18787 as_fn_error $? "could not
make $CONFIG_STATUS" "$LINENO" 5
18788 ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
18790 for ac_last_try in false false false false false :; do
18791 . ./conf$$subs.sh ||
18792 as_fn_error $? "could not
make $CONFIG_STATUS" "$LINENO" 5
18794 ac_delim_n=`sed -n "s
/.
*$ac_delim\$
/X
/p
" conf$$subs.awk | grep -c X`
18795 if test $ac_delim_n = $ac_delim_num; then
18797 elif $ac_last_try; then
18798 as_fn_error $? "could not
make $CONFIG_STATUS" "$LINENO" 5
18800 ac_delim="$ac_delim!$ac_delim _
$ac_delim!! "
18803 rm -f conf$$subs.sh
18805 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
18806 cat >>"\
$ac_tmp/subs1.
awk" <<\\_ACAWK &&
18810 s/^/S["/; s
/!.
*/"]=/
18820 s/\(.\{148\}\)..*/\1/
18822 s/["\\]/\\&/g
; s
/^
/"/; s/$/\\n"\\/
18827 s
/["\\]/\\&/g; s/^/"/; s
/$
/"\\/
18834 s/\(.\{148\}\)..*/\1/
18836 s/["\\]/\\&/g
; s
/^
/"/; s/$/"/
18840 s
/["\\]/\\&/g; s/^/"/; s
/$
/"\\/
18845 ' <conf$$subs.awk | sed '
18850 ' >>$CONFIG_STATUS || ac_write_fail=1
18851 rm -f conf$$subs.awk
18852 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
18854 cat >>"\
$ac_tmp/subs1.
awk" <<_ACAWK &&
18855 for (key in S) S_is_set[key] = 1
18861 nfields = split(line, field, "@
")
18863 len = length(field[1])
18864 for (i = 2; i < nfields; i++) {
18866 keylen = length(key)
18867 if (S_is_set[key]) {
18869 line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
18870 len += length(value) + length(field[++i])
18881 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
18882 if sed "s
/$ac_cr//" < /dev/null > /dev/null 2>&1; then
18883 sed "s
/$ac_cr\$
//; s
/$ac_cr/$ac_cs_awk_cr/g
"
18886 fi < "$ac_tmp/subs1.
awk" > "$ac_tmp/subs.
awk" \
18887 || as_fn_error $? "could not setup config files machinery
" "$LINENO" 5
18890 # VPATH may cause trouble with some makes, so we remove sole $(srcdir),
18891 # ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".
", strip leading and
18892 # trailing colons and then remove the whole line if VPATH becomes empty
18893 # (actually we leave an empty line to preserve line numbers).
18894 if test "x
$srcdir" = x.; then
18895 ac_vpsub='/^[ ]*VPATH[ ]*=[ ]*/{
18913 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
18914 fi # test -n "$CONFIG_FILES"
18916 # Set up the scripts for CONFIG_HEADERS section.
18917 # No need to generate them if there are no CONFIG_HEADERS.
18918 # This happens for instance with `./config.status Makefile'.
18919 if test -n "$CONFIG_HEADERS"; then
18920 cat >"$ac_tmp/defines.
awk" <<\_ACAWK ||
18924 # Transform confdefs.h into an awk script `defines.awk', embedded as
18925 # here-document in config.status, that substitutes the proper values into
18926 # config.h.in to produce config.h.
18928 # Create a delimiter string that does not exist in confdefs.h, to ease
18929 # handling of long lines.
18931 for ac_last_try in false false :; do
18932 ac_tt=`sed -n "/$ac_delim/p
" confdefs.h`
18933 if test -z "$ac_tt"; then
18935 elif $ac_last_try; then
18936 as_fn_error $? "could not
make $CONFIG_HEADERS" "$LINENO" 5
18938 ac_delim="$ac_delim!$ac_delim _
$ac_delim!! "
18942 # For the awk script, D is an array of macro values keyed by name,
18943 # likewise P contains macro parameters if any. Preserve backslash
18944 # newline sequences.
18946 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
18948 s/.\{148\}/&'"$ac_delim"'/g
18951 s/^[ ]*#[ ]*define[ ][ ]*/ /
18958 s
/^ \
('"$ac_word_re"'\
)\
(([^
()]*)\
)[ ]*\
(.
*\
)/P
["\1"]="\2"\
18960 s
/^ \
('"$ac_word_re"'\
)[ ]*\
(.
*\
)/D
["\1"]=" \2"/p
18964 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\
1"]="\
2"\
18965 D["\
1"]=" \
3\\\\\\n
"\\/p
18967 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\
1"]=" \
2\\\\\\n
"\\/p
18972 s/.\{148\}/&'"$ac_delim"'/g
18977 s/["\\]/\\&/g
; s
/^
/"/; s/$/"/p
18980 s
/["\\]/\\&/g; s/^/"/; s
/$
/\\\\\\n
"\\/p
18982 ' <confdefs.h | sed '
18983 s/'"$ac_delim"'/"\\\
18984 "/g' >>$CONFIG_STATUS || ac_write_fail=1
18986 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
18987 for (key in D) D_is_set[key] = 1
18990 /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
18992 split(line, arg, " ")
18993 if (arg[1] == "#") {
18997 defundef
= substr
(arg
[1], 2)
19000 split(mac1
, mac2
, "(") #)
19002 prefix
= substr
(line
, 1, index
(line
, defundef
) - 1)
19003 if (D_is_set
[macro
]) {
19004 # Preserve the white space surrounding the "#".
19005 print prefix
"define", macro P
[macro
] D
[macro
]
19008 # Replace #undef with comments. This is necessary, for example,
19009 # in the case of _POSIX_SOURCE, which is predefined and required
19010 # on some systems where configure will not decide to define it.
19011 if (defundef
== "undef") {
19012 print
"/*", prefix defundef
, macro
, "*/"
19020 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
19021 as_fn_error $?
"could not setup config headers machinery" "$LINENO" 5
19022 fi # test -n "$CONFIG_HEADERS"
19025 eval set X
" :F $CONFIG_FILES :H $CONFIG_HEADERS :L $CONFIG_LINKS :C $CONFIG_COMMANDS"
19030 :[FHLC
]) ac_mode
=$ac_tag; continue;;
19032 case $ac_mode$ac_tag in
19034 :L
* |
:C
*:*) as_fn_error $?
"invalid tag \`$ac_tag'" "$LINENO" 5;;
19035 :[FH
]-) ac_tag
=-:-;;
19036 :[FH
]*) ac_tag
=$ac_tag:$ac_tag.
in;;
19053 -) ac_f
="$ac_tmp/stdin";;
19054 *) # Look for the file first in the build tree, then in the source tree
19055 # (if the path is not absolute). The absolute path cannot be DOS-style,
19056 # because $ac_f cannot contain `:'.
19060 *) test -f "$srcdir/$ac_f" && ac_f
="$srcdir/$ac_f";;
19062 as_fn_error
1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
19064 case $ac_f in *\'*) ac_f
=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
19065 as_fn_append ac_file_inputs
" '$ac_f'"
19068 # Let's still pretend it is `configure' which instantiates (i.e., don't
19069 # use $as_me), people would be surprised to read:
19070 # /* config.h. Generated by config.status. */
19071 configure_input
='Generated from '`
19072 $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
19074 if test x
"$ac_file" != x-
; then
19075 configure_input
="$ac_file. $configure_input"
19076 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
19077 $as_echo "$as_me: creating $ac_file" >&6;}
19079 # Neutralize special characters interpreted by sed in replacement strings.
19080 case $configure_input in #(
19081 *\
&* |
*\|
* |
*\\* )
19082 ac_sed_conf_input
=`$as_echo "$configure_input" |
19083 sed 's/[\\\\&|]/\\\\&/g'`;; #(
19084 *) ac_sed_conf_input
=$configure_input;;
19088 *:-:* |
*:-) cat >"$ac_tmp/stdin" \
19089 || as_fn_error $?
"could not create $ac_file" "$LINENO" 5 ;;
19094 ac_dir
=`$as_dirname -- "$ac_file" ||
19095 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
19096 X"$ac_file" : 'X\(//\)[^/]' \| \
19097 X"$ac_file" : 'X\(//\)$' \| \
19098 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
19099 $as_echo X"$ac_file" |
19100 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
19104 /^X\(\/\/\)[^/].*/{
19117 as_dir
="$ac_dir"; as_fn_mkdir_p
19121 .
) ac_dir_suffix
= ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
19123 ac_dir_suffix
=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
19124 # A ".." for each directory in $ac_dir_suffix.
19125 ac_top_builddir_sub
=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
19126 case $ac_top_builddir_sub in
19127 "") ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
19128 *) ac_top_build_prefix
=$ac_top_builddir_sub/ ;;
19131 ac_abs_top_builddir
=$ac_pwd
19132 ac_abs_builddir
=$ac_pwd$ac_dir_suffix
19133 # for backward compatibility:
19134 ac_top_builddir
=$ac_top_build_prefix
19137 .
) # We are building in place.
19139 ac_top_srcdir
=$ac_top_builddir_sub
19140 ac_abs_top_srcdir
=$ac_pwd ;;
19141 [\\/]* | ?
:[\\/]* ) # Absolute name.
19142 ac_srcdir
=$srcdir$ac_dir_suffix;
19143 ac_top_srcdir
=$srcdir
19144 ac_abs_top_srcdir
=$srcdir ;;
19145 *) # Relative name.
19146 ac_srcdir
=$ac_top_build_prefix$srcdir$ac_dir_suffix
19147 ac_top_srcdir
=$ac_top_build_prefix$srcdir
19148 ac_abs_top_srcdir
=$ac_pwd/$srcdir ;;
19150 ac_abs_srcdir
=$ac_abs_top_srcdir$ac_dir_suffix
19161 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
19162 # If the template does not know about datarootdir, expand it.
19163 # FIXME: This hack should be removed a few years after 2.60.
19164 ac_datarootdir_hack
=; ac_datarootdir_seen
=
19175 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
19176 *datarootdir
*) ac_datarootdir_seen
=yes;;
19177 *@datadir@
*|
*@docdir@
*|
*@infodir@
*|
*@localedir@
*|
*@mandir@
*)
19178 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
19179 $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
19181 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
19182 ac_datarootdir_hack='
19183 s&@datadir@&$datadir&g
19184 s&@docdir@&$docdir&g
19185 s&@infodir@&$infodir&g
19186 s&@localedir@&$localedir&g
19187 s&@mandir@&$mandir&g
19188 s&\\\${datarootdir}&$datarootdir&g' ;;
19192 # Neutralize VPATH when `$srcdir' = `.'.
19193 # Shell code in configure.ac might set extrasub.
19194 # FIXME: do we really want to maintain this feature?
19195 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
19196 ac_sed_extra="$ac_vpsub
19199 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
19201 /@
[a-zA-Z_
][a-zA-Z_0-9
]*@
/!b
19202 s|@configure_input@|
$ac_sed_conf_input|
;t t
19203 s
&@top_builddir@
&$ac_top_builddir_sub&;t t
19204 s
&@top_build_prefix@
&$ac_top_build_prefix&;t t
19205 s
&@srcdir@
&$ac_srcdir&;t t
19206 s
&@abs_srcdir@
&$ac_abs_srcdir&;t t
19207 s
&@top_srcdir@
&$ac_top_srcdir&;t t
19208 s
&@abs_top_srcdir@
&$ac_abs_top_srcdir&;t t
19209 s
&@builddir@
&$ac_builddir&;t t
19210 s
&@abs_builddir@
&$ac_abs_builddir&;t t
19211 s
&@abs_top_builddir@
&$ac_abs_top_builddir&;t t
19212 $ac_datarootdir_hack
19214 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.
awk" \
19215 >$ac_tmp/out || as_fn_error $? "could not create
$ac_file" "$LINENO" 5
19217 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
19218 { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out
"`; test -n "$ac_out"; } &&
19219 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' \
19220 "$ac_tmp/out
"`; test -z "$ac_out"; } &&
19221 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: $ac_file contains a reference to the variable \
`datarootdir'
19222 which seems to be undefined. Please make sure it is defined" >&5
19223 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir
'
19224 which seems to be undefined. Please make sure it is defined" >&2;}
19226 rm -f "$ac_tmp/stdin"
19228 -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";;
19229 *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";;
19231 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
19237 if test x"$ac_file" != x-; then
19239 $as_echo "/* $configure_input */" \
19240 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs"
19241 } >"$ac_tmp/config.h" \
19242 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
19243 if diff "$ac_file" "$ac_tmp/config.h" >/dev/null 2>&1; then
19244 { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
19245 $as_echo "$as_me: $ac_file is unchanged" >&6;}
19248 mv "$ac_tmp/config.h" "$ac_file" \
19249 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
19252 $as_echo "/* $configure_input */" \
19253 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" \
19254 || as_fn_error $? "could not create -" "$LINENO" 5
19262 if test "$ac_source" = "$ac_file" && test "$srcdir" = '.
'; then
19265 # Prefer the file from the source tree if names are identical.
19266 if test "$ac_source" = "$ac_file" || test ! -r "$ac_source"; then
19267 ac_source=$srcdir/$ac_source
19270 { $as_echo "$as_me:${as_lineno-$LINENO}: linking $ac_source to $ac_file" >&5
19271 $as_echo "$as_me: linking $ac_source to $ac_file" >&6;}
19273 if test ! -r "$ac_source"; then
19274 as_fn_error $? "$ac_source: file not found" "$LINENO" 5
19278 # Try a relative symlink, then a hard link, then a copy.
19280 [\\/$]* | ?:[\\/]* ) ac_rel_source=$ac_source ;;
19281 *) ac_rel_source=$ac_top_build_prefix$ac_source ;;
19283 ln -s "$ac_rel_source" "$ac_file" 2>/dev/null ||
19284 ln "$ac_source" "$ac_file" 2>/dev/null ||
19285 cp -p "$ac_source" "$ac_file" ||
19286 as_fn_error $? "cannot link or copy $ac_source to $ac_file" "$LINENO" 5
19289 :C) { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
19290 $as_echo "$as_me: executing $ac_file commands" >&6;}
19295 case $ac_file$ac_mode in
19296 "include/stamp-h":C) echo timestamp > include/stamp-h ;;
19297 "tools/makedep":C) wine_fn_output_makedep || as_fn_exit $? ;;
19298 "Makefile":C) wine_fn_output_makefile Makefile ;;
19299 ".gitignore":C) wine_fn_output_gitignore .gitignore ;;
19307 ac_clean_files=$ac_clean_files_save
19309 test $ac_write_fail = 0 ||
19310 as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5
19313 # configure is writing to config.log, and then calls config.status.
19314 # config.status does its own redirection, appending to config.log.
19315 # Unfortunately, on DOS this fails, as config.log is still kept open
19316 # by configure, so config.status won't be able to
write to it
; its
19317 # output is simply discarded. So we exec the FD to /dev/null,
19318 # effectively closing config.log, so it can be properly (re)opened and
19319 # appended to by config.status. When coming back to configure, we
19320 # need to make the FD available again.
19321 if test "$no_create" != yes; then
19323 ac_config_status_args
=
19324 test "$silent" = yes &&
19325 ac_config_status_args
="$ac_config_status_args --quiet"
19327 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success
=false
19329 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
19330 # would make configure fail if this is the last instruction.
19331 $ac_cs_success || as_fn_exit
1
19333 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no
; then
19334 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
19335 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
19339 if test "$no_create" = "yes"
19345 if test "x$wine_notices != "x
; then
19348 for msg
in $wine_notices; do
19350 if ${msg:+false} :; then :
19353 { $as_echo "$as_me:${as_lineno-$LINENO}: $msg" >&5
19354 $as_echo "$as_me: $msg" >&6;}
19359 for msg
in $wine_warnings; do
19361 if ${msg:+false} :; then :
19365 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $msg" >&5
19366 $as_echo "$as_me: WARNING: $msg" >&2;}
19372 $as_me: Finished. Do '${ac_make}' to compile Wine.