2 # Guess values for system-dependent variables and create Makefiles.
3 # Generated by GNU Autoconf 2.69 for Wine 1.7.43.
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.43'
584 PACKAGE_STRING
='Wine 1.7.43'
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_1_0
874 enable_api_ms_win_core_heap_l1_2_0
875 enable_api_ms_win_core_heap_obsolete_l1_1_0
876 enable_api_ms_win_core_interlocked_l1_1_0
877 enable_api_ms_win_core_interlocked_l1_2_0
878 enable_api_ms_win_core_io_l1_1_1
879 enable_api_ms_win_core_kernel32_legacy_l1_1_0
880 enable_api_ms_win_core_libraryloader_l1_1_0
881 enable_api_ms_win_core_libraryloader_l1_1_1
882 enable_api_ms_win_core_localization_l1_2_0
883 enable_api_ms_win_core_localization_l1_2_1
884 enable_api_ms_win_core_localization_obsolete_l1_1_0
885 enable_api_ms_win_core_localregistry_l1_1_0
886 enable_api_ms_win_core_memory_l1_1_0
887 enable_api_ms_win_core_memory_l1_1_1
888 enable_api_ms_win_core_misc_l1_1_0
889 enable_api_ms_win_core_namedpipe_l1_1_0
890 enable_api_ms_win_core_namedpipe_l1_2_0
891 enable_api_ms_win_core_processenvironment_l1_1_0
892 enable_api_ms_win_core_processenvironment_l1_2_0
893 enable_api_ms_win_core_processthreads_l1_1_0
894 enable_api_ms_win_core_processthreads_l1_1_1
895 enable_api_ms_win_core_processthreads_l1_1_2
896 enable_api_ms_win_core_profile_l1_1_0
897 enable_api_ms_win_core_psapi_l1_1_0
898 enable_api_ms_win_core_registry_l1_1_0
899 enable_api_ms_win_core_rtlsupport_l1_1_0
900 enable_api_ms_win_core_rtlsupport_l1_2_0
901 enable_api_ms_win_core_shlwapi_legacy_l1_1_0
902 enable_api_ms_win_core_string_l1_1_0
903 enable_api_ms_win_core_synch_l1_1_0
904 enable_api_ms_win_core_synch_l1_2_0
905 enable_api_ms_win_core_sysinfo_l1_1_0
906 enable_api_ms_win_core_sysinfo_l1_2_0
907 enable_api_ms_win_core_sysinfo_l1_2_1
908 enable_api_ms_win_core_threadpool_legacy_l1_1_0
909 enable_api_ms_win_core_timezone_l1_1_0
910 enable_api_ms_win_core_url_l1_1_0
911 enable_api_ms_win_core_util_l1_1_0
912 enable_api_ms_win_core_winrt_error_l1_1_0
913 enable_api_ms_win_core_winrt_error_l1_1_1
914 enable_api_ms_win_core_winrt_l1_1_0
915 enable_api_ms_win_core_winrt_string_l1_1_0
916 enable_api_ms_win_core_xstate_l2_1_0
917 enable_api_ms_win_downlevel_advapi32_l1_1_0
918 enable_api_ms_win_downlevel_advapi32_l2_1_0
919 enable_api_ms_win_downlevel_normaliz_l1_1_0
920 enable_api_ms_win_downlevel_ole32_l1_1_0
921 enable_api_ms_win_downlevel_shell32_l1_1_0
922 enable_api_ms_win_downlevel_shlwapi_l1_1_0
923 enable_api_ms_win_downlevel_shlwapi_l2_1_0
924 enable_api_ms_win_downlevel_user32_l1_1_0
925 enable_api_ms_win_downlevel_version_l1_1_0
926 enable_api_ms_win_eventing_provider_l1_1_0
927 enable_api_ms_win_ntuser_dc_access_l1_1_0
928 enable_api_ms_win_security_base_l1_1_0
929 enable_api_ms_win_security_base_l1_2_0
930 enable_api_ms_win_security_sddl_l1_1_0
931 enable_api_ms_win_service_core_l1_1_1
932 enable_api_ms_win_service_management_l1_1_0
933 enable_api_ms_win_service_winsvc_l1_2_0
976 enable_d3dcompiler_33
977 enable_d3dcompiler_34
978 enable_d3dcompiler_35
979 enable_d3dcompiler_36
980 enable_d3dcompiler_37
981 enable_d3dcompiler_38
982 enable_d3dcompiler_39
983 enable_d3dcompiler_40
984 enable_d3dcompiler_41
985 enable_d3dcompiler_42
986 enable_d3dcompiler_43
1062 enable_explorerframe
1063 enable_ext_ms_win_gdi_devcaps_l1_1_0
1219 enable_photometadatahandler
1301 enable_windowscodecs
1302 enable_windowscodecsext
1304 enable_winecoreaudio_drv
1306 enable_winegstreamer
1307 enable_winejoystick_drv
1313 enable_wineqtdecoder
1361 enable_documentation
1369 enable_aspnet_regiis
1402 enable_presentationfontcache
1415 enable_servicemodelreg
1436 enable_winemenubuilder
1438 enable_winemsibuilder
1452 ac_precious_vars
='build_alias
1501 # Initialize some variables set by options.
1503 ac_init_version
=false
1504 ac_unrecognized_opts
=
1505 ac_unrecognized_sep
=
1506 # The variables have the same names as the options, with
1507 # dashes changed to underlines.
1508 cache_file
=/dev
/null
1515 program_transform_name
=s
,x
,x
,
1523 # Installation directory options.
1524 # These are left unexpanded so users can "make install exec_prefix=/foo"
1525 # and all the variables that are supposed to be based on exec_prefix
1526 # by default will actually change.
1527 # Use braces instead of parens because sh, perl, etc. also accept them.
1528 # (The list follows the same order as the GNU Coding Standards.)
1529 bindir
='${exec_prefix}/bin'
1530 sbindir
='${exec_prefix}/sbin'
1531 libexecdir
='${exec_prefix}/libexec'
1532 datarootdir
='${prefix}/share'
1533 datadir
='${datarootdir}'
1534 sysconfdir
='${prefix}/etc'
1535 sharedstatedir
='${prefix}/com'
1536 localstatedir
='${prefix}/var'
1537 includedir
='${prefix}/include'
1538 oldincludedir
='/usr/include'
1539 docdir
='${datarootdir}/doc/${PACKAGE_TARNAME}'
1540 infodir
='${datarootdir}/info'
1545 libdir
='${exec_prefix}/lib'
1546 localedir
='${datarootdir}/locale'
1547 mandir
='${datarootdir}/man'
1553 # If the previous option needs an argument, assign it.
1554 if test -n "$ac_prev"; then
1555 eval $ac_prev=\
$ac_option
1561 *=?
*) ac_optarg
=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
1566 # Accept the important Cygnus configure options, so we can diagnose typos.
1568 case $ac_dashdash$ac_option in
1572 -bindir |
--bindir |
--bindi |
--bind |
--bin |
--bi)
1574 -bindir=* |
--bindir=* |
--bindi=* |
--bind=* |
--bin=* |
--bi=*)
1575 bindir
=$ac_optarg ;;
1577 -build |
--build |
--buil |
--bui |
--bu)
1578 ac_prev
=build_alias
;;
1579 -build=* |
--build=* |
--buil=* |
--bui=* |
--bu=*)
1580 build_alias
=$ac_optarg ;;
1582 -cache-file |
--cache-file |
--cache-fil |
--cache-fi \
1583 |
--cache-f |
--cache- |
--cache |
--cach |
--cac |
--ca |
--c)
1584 ac_prev
=cache_file
;;
1585 -cache-file=* |
--cache-file=* |
--cache-fil=* |
--cache-fi=* \
1586 |
--cache-f=* |
--cache-=* |
--cache=* |
--cach=* |
--cac=* |
--ca=* |
--c=*)
1587 cache_file
=$ac_optarg ;;
1589 --config-cache |
-C)
1590 cache_file
=config.cache
;;
1592 -datadir |
--datadir |
--datadi |
--datad)
1594 -datadir=* |
--datadir=* |
--datadi=* |
--datad=*)
1595 datadir
=$ac_optarg ;;
1597 -datarootdir |
--datarootdir |
--datarootdi |
--datarootd |
--dataroot \
1598 |
--dataroo |
--dataro |
--datar)
1599 ac_prev
=datarootdir
;;
1600 -datarootdir=* |
--datarootdir=* |
--datarootdi=* |
--datarootd=* \
1601 |
--dataroot=* |
--dataroo=* |
--dataro=* |
--datar=*)
1602 datarootdir
=$ac_optarg ;;
1604 -disable-* |
--disable-*)
1605 ac_useropt
=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
1606 # Reject names that are not valid shell variable names.
1607 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
1608 as_fn_error $?
"invalid feature name: $ac_useropt"
1609 ac_useropt_orig
=$ac_useropt
1610 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1611 case $ac_user_opts in
1613 "enable_
$ac_useropt"
1615 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
1616 ac_unrecognized_sep
=', ';;
1618 eval enable_
$ac_useropt=no
;;
1620 -docdir |
--docdir |
--docdi |
--doc |
--do)
1622 -docdir=* |
--docdir=* |
--docdi=* |
--doc=* |
--do=*)
1623 docdir
=$ac_optarg ;;
1625 -dvidir |
--dvidir |
--dvidi |
--dvid |
--dvi |
--dv)
1627 -dvidir=* |
--dvidir=* |
--dvidi=* |
--dvid=* |
--dvi=* |
--dv=*)
1628 dvidir
=$ac_optarg ;;
1630 -enable-* |
--enable-*)
1631 ac_useropt
=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
1632 # Reject names that are not valid shell variable names.
1633 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
1634 as_fn_error $?
"invalid feature name: $ac_useropt"
1635 ac_useropt_orig
=$ac_useropt
1636 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1637 case $ac_user_opts in
1639 "enable_
$ac_useropt"
1641 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
1642 ac_unrecognized_sep
=', ';;
1644 eval enable_
$ac_useropt=\
$ac_optarg ;;
1646 -exec-prefix |
--exec_prefix |
--exec-prefix |
--exec-prefi \
1647 |
--exec-pref |
--exec-pre |
--exec-pr |
--exec-p |
--exec- \
1648 |
--exec |
--exe |
--ex)
1649 ac_prev
=exec_prefix
;;
1650 -exec-prefix=* |
--exec_prefix=* |
--exec-prefix=* |
--exec-prefi=* \
1651 |
--exec-pref=* |
--exec-pre=* |
--exec-pr=* |
--exec-p=* |
--exec-=* \
1652 |
--exec=* |
--exe=* |
--ex=*)
1653 exec_prefix
=$ac_optarg ;;
1655 -gas |
--gas |
--ga |
--g)
1656 # Obsolete; use --with-gas.
1659 -help |
--help |
--hel |
--he |
-h)
1660 ac_init_help
=long
;;
1661 -help=r
* |
--help=r
* |
--hel=r
* |
--he=r
* |
-hr*)
1662 ac_init_help
=recursive
;;
1663 -help=s
* |
--help=s
* |
--hel=s
* |
--he=s
* |
-hs*)
1664 ac_init_help
=short
;;
1666 -host |
--host |
--hos |
--ho)
1667 ac_prev
=host_alias
;;
1668 -host=* |
--host=* |
--hos=* |
--ho=*)
1669 host_alias
=$ac_optarg ;;
1671 -htmldir |
--htmldir |
--htmldi |
--htmld |
--html |
--htm |
--ht)
1673 -htmldir=* |
--htmldir=* |
--htmldi=* |
--htmld=* |
--html=* |
--htm=* \
1675 htmldir
=$ac_optarg ;;
1677 -includedir |
--includedir |
--includedi |
--included |
--include \
1678 |
--includ |
--inclu |
--incl |
--inc)
1679 ac_prev
=includedir
;;
1680 -includedir=* |
--includedir=* |
--includedi=* |
--included=* |
--include=* \
1681 |
--includ=* |
--inclu=* |
--incl=* |
--inc=*)
1682 includedir
=$ac_optarg ;;
1684 -infodir |
--infodir |
--infodi |
--infod |
--info |
--inf)
1686 -infodir=* |
--infodir=* |
--infodi=* |
--infod=* |
--info=* |
--inf=*)
1687 infodir
=$ac_optarg ;;
1689 -libdir |
--libdir |
--libdi |
--libd)
1691 -libdir=* |
--libdir=* |
--libdi=* |
--libd=*)
1692 libdir
=$ac_optarg ;;
1694 -libexecdir |
--libexecdir |
--libexecdi |
--libexecd |
--libexec \
1695 |
--libexe |
--libex |
--libe)
1696 ac_prev
=libexecdir
;;
1697 -libexecdir=* |
--libexecdir=* |
--libexecdi=* |
--libexecd=* |
--libexec=* \
1698 |
--libexe=* |
--libex=* |
--libe=*)
1699 libexecdir
=$ac_optarg ;;
1701 -localedir |
--localedir |
--localedi |
--localed |
--locale)
1702 ac_prev
=localedir
;;
1703 -localedir=* |
--localedir=* |
--localedi=* |
--localed=* |
--locale=*)
1704 localedir
=$ac_optarg ;;
1706 -localstatedir |
--localstatedir |
--localstatedi |
--localstated \
1707 |
--localstate |
--localstat |
--localsta |
--localst |
--locals)
1708 ac_prev
=localstatedir
;;
1709 -localstatedir=* |
--localstatedir=* |
--localstatedi=* |
--localstated=* \
1710 |
--localstate=* |
--localstat=* |
--localsta=* |
--localst=* |
--locals=*)
1711 localstatedir
=$ac_optarg ;;
1713 -mandir |
--mandir |
--mandi |
--mand |
--man |
--ma |
--m)
1715 -mandir=* |
--mandir=* |
--mandi=* |
--mand=* |
--man=* |
--ma=* |
--m=*)
1716 mandir
=$ac_optarg ;;
1718 -nfp |
--nfp |
--nf)
1719 # Obsolete; use --without-fp.
1722 -no-create |
--no-create |
--no-creat |
--no-crea |
--no-cre \
1723 |
--no-cr |
--no-c |
-n)
1726 -no-recursion |
--no-recursion |
--no-recursio |
--no-recursi \
1727 |
--no-recurs |
--no-recur |
--no-recu |
--no-rec |
--no-re |
--no-r)
1730 -oldincludedir |
--oldincludedir |
--oldincludedi |
--oldincluded \
1731 |
--oldinclude |
--oldinclud |
--oldinclu |
--oldincl |
--oldinc \
1732 |
--oldin |
--oldi |
--old |
--ol |
--o)
1733 ac_prev
=oldincludedir
;;
1734 -oldincludedir=* |
--oldincludedir=* |
--oldincludedi=* |
--oldincluded=* \
1735 |
--oldinclude=* |
--oldinclud=* |
--oldinclu=* |
--oldincl=* |
--oldinc=* \
1736 |
--oldin=* |
--oldi=* |
--old=* |
--ol=* |
--o=*)
1737 oldincludedir
=$ac_optarg ;;
1739 -prefix |
--prefix |
--prefi |
--pref |
--pre |
--pr |
--p)
1741 -prefix=* |
--prefix=* |
--prefi=* |
--pref=* |
--pre=* |
--pr=* |
--p=*)
1742 prefix
=$ac_optarg ;;
1744 -program-prefix |
--program-prefix |
--program-prefi |
--program-pref \
1745 |
--program-pre |
--program-pr |
--program-p)
1746 ac_prev
=program_prefix
;;
1747 -program-prefix=* |
--program-prefix=* |
--program-prefi=* \
1748 |
--program-pref=* |
--program-pre=* |
--program-pr=* |
--program-p=*)
1749 program_prefix
=$ac_optarg ;;
1751 -program-suffix |
--program-suffix |
--program-suffi |
--program-suff \
1752 |
--program-suf |
--program-su |
--program-s)
1753 ac_prev
=program_suffix
;;
1754 -program-suffix=* |
--program-suffix=* |
--program-suffi=* \
1755 |
--program-suff=* |
--program-suf=* |
--program-su=* |
--program-s=*)
1756 program_suffix
=$ac_optarg ;;
1758 -program-transform-name |
--program-transform-name \
1759 |
--program-transform-nam |
--program-transform-na \
1760 |
--program-transform-n |
--program-transform- \
1761 |
--program-transform |
--program-transfor \
1762 |
--program-transfo |
--program-transf \
1763 |
--program-trans |
--program-tran \
1764 |
--progr-tra |
--program-tr |
--program-t)
1765 ac_prev
=program_transform_name
;;
1766 -program-transform-name=* |
--program-transform-name=* \
1767 |
--program-transform-nam=* |
--program-transform-na=* \
1768 |
--program-transform-n=* |
--program-transform-=* \
1769 |
--program-transform=* |
--program-transfor=* \
1770 |
--program-transfo=* |
--program-transf=* \
1771 |
--program-trans=* |
--program-tran=* \
1772 |
--progr-tra=* |
--program-tr=* |
--program-t=*)
1773 program_transform_name
=$ac_optarg ;;
1775 -pdfdir |
--pdfdir |
--pdfdi |
--pdfd |
--pdf |
--pd)
1777 -pdfdir=* |
--pdfdir=* |
--pdfdi=* |
--pdfd=* |
--pdf=* |
--pd=*)
1778 pdfdir
=$ac_optarg ;;
1780 -psdir |
--psdir |
--psdi |
--psd |
--ps)
1782 -psdir=* |
--psdir=* |
--psdi=* |
--psd=* |
--ps=*)
1785 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
1786 |
-silent |
--silent |
--silen |
--sile |
--sil)
1789 -sbindir |
--sbindir |
--sbindi |
--sbind |
--sbin |
--sbi |
--sb)
1791 -sbindir=* |
--sbindir=* |
--sbindi=* |
--sbind=* |
--sbin=* \
1793 sbindir
=$ac_optarg ;;
1795 -sharedstatedir |
--sharedstatedir |
--sharedstatedi \
1796 |
--sharedstated |
--sharedstate |
--sharedstat |
--sharedsta \
1797 |
--sharedst |
--shareds |
--shared |
--share |
--shar \
1799 ac_prev
=sharedstatedir
;;
1800 -sharedstatedir=* |
--sharedstatedir=* |
--sharedstatedi=* \
1801 |
--sharedstated=* |
--sharedstate=* |
--sharedstat=* |
--sharedsta=* \
1802 |
--sharedst=* |
--shareds=* |
--shared=* |
--share=* |
--shar=* \
1804 sharedstatedir
=$ac_optarg ;;
1806 -site |
--site |
--sit)
1808 -site=* |
--site=* |
--sit=*)
1811 -srcdir |
--srcdir |
--srcdi |
--srcd |
--src |
--sr)
1813 -srcdir=* |
--srcdir=* |
--srcdi=* |
--srcd=* |
--src=* |
--sr=*)
1814 srcdir
=$ac_optarg ;;
1816 -sysconfdir |
--sysconfdir |
--sysconfdi |
--sysconfd |
--sysconf \
1817 |
--syscon |
--sysco |
--sysc |
--sys |
--sy)
1818 ac_prev
=sysconfdir
;;
1819 -sysconfdir=* |
--sysconfdir=* |
--sysconfdi=* |
--sysconfd=* |
--sysconf=* \
1820 |
--syscon=* |
--sysco=* |
--sysc=* |
--sys=* |
--sy=*)
1821 sysconfdir
=$ac_optarg ;;
1823 -target |
--target |
--targe |
--targ |
--tar |
--ta |
--t)
1824 ac_prev
=target_alias
;;
1825 -target=* |
--target=* |
--targe=* |
--targ=* |
--tar=* |
--ta=* |
--t=*)
1826 target_alias
=$ac_optarg ;;
1828 -v |
-verbose |
--verbose |
--verbos |
--verbo |
--verb)
1831 -version |
--version |
--versio |
--versi |
--vers |
-V)
1832 ac_init_version
=: ;;
1835 ac_useropt
=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1836 # Reject names that are not valid shell variable names.
1837 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
1838 as_fn_error $?
"invalid package name: $ac_useropt"
1839 ac_useropt_orig
=$ac_useropt
1840 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1841 case $ac_user_opts in
1845 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
1846 ac_unrecognized_sep
=', ';;
1848 eval with_
$ac_useropt=\
$ac_optarg ;;
1850 -without-* |
--without-*)
1851 ac_useropt
=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1852 # Reject names that are not valid shell variable names.
1853 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
1854 as_fn_error $?
"invalid package name: $ac_useropt"
1855 ac_useropt_orig
=$ac_useropt
1856 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1857 case $ac_user_opts in
1861 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
1862 ac_unrecognized_sep
=', ';;
1864 eval with_
$ac_useropt=no
;;
1867 # Obsolete; use --with-x.
1870 -x-includes |
--x-includes |
--x-include |
--x-includ |
--x-inclu \
1871 |
--x-incl |
--x-inc |
--x-in |
--x-i)
1872 ac_prev
=x_includes
;;
1873 -x-includes=* |
--x-includes=* |
--x-include=* |
--x-includ=* |
--x-inclu=* \
1874 |
--x-incl=* |
--x-inc=* |
--x-in=* |
--x-i=*)
1875 x_includes
=$ac_optarg ;;
1877 -x-libraries |
--x-libraries |
--x-librarie |
--x-librari \
1878 |
--x-librar |
--x-libra |
--x-libr |
--x-lib |
--x-li |
--x-l)
1879 ac_prev
=x_libraries
;;
1880 -x-libraries=* |
--x-libraries=* |
--x-librarie=* |
--x-librari=* \
1881 |
--x-librar=* |
--x-libra=* |
--x-libr=* |
--x-lib=* |
--x-li=* |
--x-l=*)
1882 x_libraries
=$ac_optarg ;;
1884 -*) as_fn_error $?
"unrecognized option: \`$ac_option'
1885 Try \`$0 --help' for more information"
1889 ac_envvar
=`expr "x$ac_option" : 'x\([^=]*\)='`
1890 # Reject names that are not valid shell variable names.
1891 case $ac_envvar in #(
1892 '' |
[0-9]* |
*[!_
$as_cr_alnum]* )
1893 as_fn_error $?
"invalid variable name: \`$ac_envvar'" ;;
1895 eval $ac_envvar=\
$ac_optarg
1896 export $ac_envvar ;;
1899 # FIXME: should be removed in autoconf 3.0.
1900 $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1901 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev
/null
&&
1902 $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1903 : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}"
1909 if test -n "$ac_prev"; then
1910 ac_option
=--`echo $ac_prev | sed 's/_/-/g'`
1911 as_fn_error $?
"missing argument to $ac_option"
1914 if test -n "$ac_unrecognized_opts"; then
1915 case $enable_option_checking in
1917 fatal
) as_fn_error $?
"unrecognized options: $ac_unrecognized_opts" ;;
1918 *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
1922 # Check all directory arguments for consistency.
1923 for ac_var
in exec_prefix prefix bindir sbindir libexecdir datarootdir \
1924 datadir sysconfdir sharedstatedir localstatedir includedir \
1925 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1926 libdir localedir mandir
1928 eval ac_val
=\$
$ac_var
1929 # Remove trailing slashes.
1932 ac_val
=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
1933 eval $ac_var=\
$ac_val;;
1935 # Be sure to have absolute directory names.
1937 [\\/$
]* | ?
:[\\/]* ) continue;;
1938 NONE |
'' ) case $ac_var in *prefix
) continue;; esac;;
1940 as_fn_error $?
"expected an absolute directory name for --$ac_var: $ac_val"
1943 # There might be people who depend on the old broken behavior: `$host'
1944 # used to hold the argument of --host etc.
1945 # FIXME: To remove some day.
1948 target
=$target_alias
1950 # FIXME: To remove some day.
1951 if test "x$host_alias" != x
; then
1952 if test "x$build_alias" = x
; then
1953 cross_compiling
=maybe
1954 elif test "x$build_alias" != "x$host_alias"; then
1960 test -n "$host_alias" && ac_tool_prefix
=$host_alias-
1962 test "$silent" = yes && exec 6>/dev
/null
1965 ac_pwd
=`pwd` && test -n "$ac_pwd" &&
1966 ac_ls_di
=`ls -di .` &&
1967 ac_pwd_ls_di
=`cd "$ac_pwd" && ls -di .` ||
1968 as_fn_error $?
"working directory cannot be determined"
1969 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1970 as_fn_error $?
"pwd does not report name of working directory"
1973 # Find the source files, if location was not specified.
1974 if test -z "$srcdir"; then
1975 ac_srcdir_defaulted
=yes
1976 # Try the directory containing this script, then the parent directory.
1977 ac_confdir
=`$as_dirname -- "$as_myself" ||
1978 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1979 X"$as_myself" : 'X\(//\)[^/]' \| \
1980 X"$as_myself" : 'X\(//\)$' \| \
1981 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
1982 $as_echo X"$as_myself" |
1983 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
2001 if test ! -r "$srcdir/$ac_unique_file"; then
2005 ac_srcdir_defaulted
=no
2007 if test ! -r "$srcdir/$ac_unique_file"; then
2008 test "$ac_srcdir_defaulted" = yes && srcdir
="$ac_confdir or .."
2009 as_fn_error $?
"cannot find sources ($ac_unique_file) in $srcdir"
2011 ac_msg
="sources are in $srcdir, but \`cd $srcdir' does not work"
2013 cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
2015 # When building in place, set srcdir=.
2016 if test "$ac_abs_confdir" = "$ac_pwd"; then
2019 # Remove unnecessary trailing slashes from srcdir.
2020 # Double slashes in file names in object file debugging info
2021 # mess up M-x gdb in Emacs.
2023 */) srcdir
=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
2025 for ac_var
in $ac_precious_vars; do
2026 eval ac_env_
${ac_var}_set=\${${ac_var}+set}
2027 eval ac_env_
${ac_var}_value
=\$
${ac_var}
2028 eval ac_cv_env_
${ac_var}_set=\${${ac_var}+set}
2029 eval ac_cv_env_
${ac_var}_value
=\$
${ac_var}
2033 # Report the --help message.
2035 if test "$ac_init_help" = "long"; then
2036 # Omit some internal or obsolete options to make the list less imposing.
2037 # This message is too long to be a string in the A/UX 3.1 sh.
2039 \`configure' configures Wine 1.7.43 to adapt to many kinds of systems.
2041 Usage: $0 [OPTION]... [VAR=VALUE]...
2043 To assign environment variables (e.g., CC, CFLAGS...), specify them as
2044 VAR=VALUE. See below for descriptions of some of the useful variables.
2046 Defaults for the options are specified in brackets.
2049 -h, --help display this help and exit
2050 --help=short display options specific to this package
2051 --help=recursive display the short help of all the included packages
2052 -V, --version display version information and exit
2053 -q, --quiet, --silent do not print \`checking ...' messages
2054 --cache-file=FILE cache test results in FILE [disabled]
2055 -C, --config-cache alias for \`--cache-file=config.cache'
2056 -n, --no-create do not create output files
2057 --srcdir=DIR find the sources in DIR [configure dir or \`..']
2059 Installation directories:
2060 --prefix=PREFIX install architecture-independent files in PREFIX
2061 [$ac_default_prefix]
2062 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
2065 By default, \`make install' will install all the files in
2066 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
2067 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
2068 for instance \`--prefix=\$HOME'.
2070 For better control, use the options below.
2072 Fine tuning of the installation directories:
2073 --bindir=DIR user executables [EPREFIX/bin]
2074 --sbindir=DIR system admin executables [EPREFIX/sbin]
2075 --libexecdir=DIR program executables [EPREFIX/libexec]
2076 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
2077 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
2078 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
2079 --libdir=DIR object code libraries [EPREFIX/lib]
2080 --includedir=DIR C header files [PREFIX/include]
2081 --oldincludedir=DIR C header files for non-gcc [/usr/include]
2082 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
2083 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
2084 --infodir=DIR info documentation [DATAROOTDIR/info]
2085 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
2086 --mandir=DIR man documentation [DATAROOTDIR/man]
2087 --docdir=DIR documentation root [DATAROOTDIR/doc/wine]
2088 --htmldir=DIR html documentation [DOCDIR]
2089 --dvidir=DIR dvi documentation [DOCDIR]
2090 --pdfdir=DIR pdf documentation [DOCDIR]
2091 --psdir=DIR ps documentation [DOCDIR]
2097 --x-includes=DIR X include files are
in DIR
2098 --x-libraries=DIR X library files are
in DIR
2101 --build=BUILD configure
for building on BUILD
[guessed
]
2102 --host=HOST cross-compile to build programs to run on HOST
[BUILD
]
2106 if test -n "$ac_init_help"; then
2107 case $ac_init_help in
2108 short | recursive
) echo "Configuration of Wine 1.7.43:";;
2113 --disable-option-checking ignore unrecognized
--enable/--with options
2114 --disable-FEATURE do not include FEATURE
(same as
--enable-FEATURE=no
)
2115 --enable-FEATURE[=ARG
] include FEATURE
[ARG
=yes]
2116 --disable-win16 do not include Win16 support
2117 --enable-win64 build a Win64 emulator on AMD64
(won
't run Win32
2119 --disable-tests do not build the regression tests
2120 --enable-maintainer-mode
2121 enable maintainer-specific build rules
2122 --disable-largefile omit support for large files
2125 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
2126 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
2127 --without-alsa do not use the Alsa sound support
2128 --without-capi do not use CAPI (ISDN support)
2129 --without-cms do not use CMS (color management support)
2130 --without-coreaudio do not use the CoreAudio sound support
2131 --without-cups do not use CUPS
2132 --without-curses do not use (n)curses
2133 --without-dbus do not use DBus (dynamic device support)
2134 --without-fontconfig do not use fontconfig
2135 --without-freetype do not use the FreeType library
2136 --without-gettext do not use gettext
2137 --with-gettextpo use the GetTextPO library to rebuild po files
2138 --without-gphoto do not use gphoto (Digital Camera support)
2139 --without-glu do not use the GLU library
2140 --without-gnutls do not use GnuTLS (schannel support)
2141 --without-gsm do not use libgsm (GSM 06.10 codec support)
2142 --without-gstreamer do not use GStreamer (codecs support)
2143 --without-hal do not use HAL (dynamic device support)
2144 --without-jpeg do not use JPEG
2145 --without-ldap do not use LDAP
2146 --without-mpg123 do not use the mpg123 library
2147 --without-netapi do not use the Samba NetAPI library
2148 --without-openal do not use OpenAL
2149 --without-opencl do not use OpenCL
2150 --without-opengl do not use OpenGL
2151 --without-osmesa do not use the OSMesa library
2152 --without-oss do not use the OSS sound support
2153 --without-pcap do not use the Packet Capture library
2154 --without-png do not use PNG
2155 --without-pthread do not use the pthread library
2156 --without-sane do not use SANE (scanner support)
2157 --without-tiff do not use TIFF
2158 --without-v4l do not use v4l1 (v4l support)
2159 --without-xcomposite do not use the Xcomposite extension
2160 --without-xcursor do not use the Xcursor extension
2161 --without-xinerama do not use Xinerama (multi-monitor support)
2162 --without-xinput do not use the Xinput extension
2163 --without-xinput2 do not use the Xinput 2 extension
2164 --without-xml do not use XML
2165 --without-xrandr do not use Xrandr (resolution changes)
2166 --without-xrender do not use the Xrender extension
2167 --without-xshape do not use the Xshape extension
2168 --without-xshm do not use XShm (shared memory extension)
2169 --without-xslt do not use XSLT
2170 --without-xxf86vm do not use XFree video mode extension
2171 --without-zlib do not use Zlib (data compression)
2172 --with-wine-tools=DIR use Wine tools from directory DIR
2173 --with-wine64=DIR use the 64-bit Wine in DIR for a Wow64 build
2174 --with-x use the X Window System
2176 Some influential environment variables:
2177 CC C compiler command
2178 CFLAGS C compiler flags
2179 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
2180 nonstandard directory <lib dir>
2181 LIBS libraries to pass to the linker, e.g. -l<library>
2182 CPPFLAGS (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if
2183 you have headers in a nonstandard directory <include dir>
2184 CXX C++ compiler command
2185 CXXFLAGS C++ compiler flags
2187 XMKMF Path to xmkmf, Makefile generator for X Window System
2188 XML2_CFLAGS C compiler flags for libxml-2.0, overriding pkg-config
2189 XML2_LIBS Linker flags for libxml-2.0, overriding pkg-config
2190 XSLT_CFLAGS C compiler flags for libxslt, overriding pkg-config
2191 XSLT_LIBS Linker flags for libxslt, overriding pkg-config
2192 DBUS_CFLAGS C compiler flags for dbus-1, overriding pkg-config
2193 DBUS_LIBS Linker flags for dbus-1, overriding pkg-config
2194 HAL_CFLAGS C compiler flags for hal, overriding pkg-config
2195 HAL_LIBS Linker flags for hal, overriding pkg-config
2197 C compiler flags for gnutls, overriding pkg-config
2198 GNUTLS_LIBS Linker flags for gnutls, overriding pkg-config
2199 SANE_CFLAGS C compiler flags for libsane, overriding pkg-config
2200 SANE_LIBS Linker flags for libsane, overriding pkg-config
2202 C compiler flags for libgphoto2, overriding pkg-config
2204 Linker flags for libgphoto2, overriding pkg-config
2206 C compiler flags for libgphoto2_port, overriding pkg-config
2208 Linker flags for libgphoto2_port, overriding pkg-config
2210 C compiler flags for lcms2, overriding pkg-config
2211 LCMS2_LIBS Linker flags for lcms2, overriding pkg-config
2213 C compiler flags for freetype2, overriding pkg-config
2215 Linker flags for freetype2, overriding pkg-config
2217 C compiler flags for gstreamer-app-0.10, overriding pkg-config
2219 Linker flags for gstreamer-app-0.10, overriding pkg-config
2221 C compiler flags for capi20, overriding pkg-config
2222 CAPI20_LIBS Linker flags for capi20, overriding pkg-config
2224 C compiler flags for fontconfig, overriding pkg-config
2226 Linker flags for fontconfig, overriding pkg-config
2227 JPEG_CFLAGS C compiler flags for libjpeg, overriding pkg-config
2228 JPEG_LIBS Linker flags for libjpeg, overriding pkg-config
2229 PNG_CFLAGS C compiler flags for libpng, overriding pkg-config
2230 PNG_LIBS Linker flags for libpng, overriding pkg-config
2231 TIFF_CFLAGS C compiler flags for libtiff, overriding pkg-config
2232 TIFF_LIBS Linker flags for libtiff, overriding pkg-config
2234 C compiler flags for libmpg123, overriding pkg-config
2235 MPG123_LIBS Linker flags for libmpg123, overriding pkg-config
2237 Use these variables to override the choices made by `configure' or to
help
2238 it to
find libraries and programs with nonstandard names
/locations.
2240 Report bugs to
<wine-devel@winehq.org
>.
2241 Wine home page
: <http
://www.winehq.org
>.
2246 if test "$ac_init_help" = "recursive"; then
2247 # If there are subdirs, report their specific --help.
2248 for ac_dir
in : $ac_subdirs_all; do test "x$ac_dir" = x
: && continue
2249 test -d "$ac_dir" ||
2250 { cd "$srcdir" && ac_pwd
=`pwd` && srcdir
=.
&& test -d "$ac_dir"; } ||
2255 .
) ac_dir_suffix
= ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
2257 ac_dir_suffix
=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
2258 # A ".." for each directory in $ac_dir_suffix.
2259 ac_top_builddir_sub
=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
2260 case $ac_top_builddir_sub in
2261 "") ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
2262 *) ac_top_build_prefix
=$ac_top_builddir_sub/ ;;
2265 ac_abs_top_builddir
=$ac_pwd
2266 ac_abs_builddir
=$ac_pwd$ac_dir_suffix
2267 # for backward compatibility:
2268 ac_top_builddir
=$ac_top_build_prefix
2271 .
) # We are building in place.
2273 ac_top_srcdir
=$ac_top_builddir_sub
2274 ac_abs_top_srcdir
=$ac_pwd ;;
2275 [\\/]* | ?
:[\\/]* ) # Absolute name.
2276 ac_srcdir
=$srcdir$ac_dir_suffix;
2277 ac_top_srcdir
=$srcdir
2278 ac_abs_top_srcdir
=$srcdir ;;
2280 ac_srcdir
=$ac_top_build_prefix$srcdir$ac_dir_suffix
2281 ac_top_srcdir
=$ac_top_build_prefix$srcdir
2282 ac_abs_top_srcdir
=$ac_pwd/$srcdir ;;
2284 ac_abs_srcdir
=$ac_abs_top_srcdir$ac_dir_suffix
2286 cd "$ac_dir" ||
{ ac_status
=$?
; continue; }
2287 # Check for guested configure.
2288 if test -f "$ac_srcdir/configure.gnu"; then
2290 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
2291 elif test -f "$ac_srcdir/configure"; then
2293 $SHELL "$ac_srcdir/configure" --help=recursive
2295 $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
2297 cd "$ac_pwd" ||
{ ac_status
=$?
; break; }
2301 test -n "$ac_init_help" && exit $ac_status
2302 if $ac_init_version; then
2304 Wine configure
1.7.43
2305 generated by GNU Autoconf
2.69
2307 Copyright
(C
) 2012 Free Software Foundation
, Inc.
2308 This configure
script is free software
; the Free Software Foundation
2309 gives unlimited permission to copy
, distribute and modify it.
2314 ## ------------------------ ##
2315 ## Autoconf initialization. ##
2316 ## ------------------------ ##
2318 # ac_fn_c_try_compile LINENO
2319 # --------------------------
2320 # Try to compile conftest.$ac_ext, and return whether this succeeded.
2321 ac_fn_c_try_compile
()
2323 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
2324 rm -f conftest.
$ac_objext
2325 if { { ac_try
="$ac_compile"
2327 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
2328 *) ac_try_echo=$ac_try;;
2330 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2331 $as_echo "$ac_try_echo"; } >&5
2332 (eval "$ac_compile") 2>conftest.err
2334 if test -s conftest.err; then
2335 grep -v '^ *+' conftest.err >conftest.er1
2336 cat conftest.er1 >&5
2337 mv -f conftest.er1 conftest.err
2339 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2340 test $ac_status = 0; } && {
2341 test -z "$ac_c_werror_flag" ||
2342 test ! -s conftest.err
2343 } && test -s conftest.$ac_objext; then :
2346 $as_echo "$as_me: failed program was:" >&5
2347 sed 's/^/| /' conftest.$ac_ext >&5
2351 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2352 as_fn_set_status $ac_retval
2354 } # ac_fn_c_try_compile
2356 # ac_fn_cxx_try_compile LINENO
2357 # ----------------------------
2358 # Try to compile conftest.$ac_ext, and return whether this succeeded.
2359 ac_fn_cxx_try_compile ()
2361 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2362 rm -f conftest.$ac_objext
2363 if { { ac_try="$ac_compile"
2365 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
2366 *) ac_try_echo
=$ac_try;;
2368 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2369 $as_echo "$ac_try_echo"; } >&5
2370 (eval "$ac_compile") 2>conftest.err
2372 if test -s conftest.err
; then
2373 grep -v '^ *+' conftest.err
>conftest.er1
2374 cat conftest.er1
>&5
2375 mv -f conftest.er1 conftest.err
2377 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2378 test $ac_status = 0; } && {
2379 test -z "$ac_cxx_werror_flag" ||
2380 test ! -s conftest.err
2381 } && test -s conftest.
$ac_objext; then :
2384 $as_echo "$as_me: failed program was:" >&5
2385 sed 's/^/| /' conftest.
$ac_ext >&5
2389 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2390 as_fn_set_status
$ac_retval
2392 } # ac_fn_cxx_try_compile
2394 # ac_fn_c_try_link LINENO
2395 # -----------------------
2396 # Try to link conftest.$ac_ext, and return whether this succeeded.
2399 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
2400 rm -f conftest.
$ac_objext conftest
$ac_exeext
2401 if { { ac_try
="$ac_link"
2403 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
2404 *) ac_try_echo=$ac_try;;
2406 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2407 $as_echo "$ac_try_echo"; } >&5
2408 (eval "$ac_link") 2>conftest.err
2410 if test -s conftest.err; then
2411 grep -v '^ *+' conftest.err >conftest.er1
2412 cat conftest.er1 >&5
2413 mv -f conftest.er1 conftest.err
2415 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2416 test $ac_status = 0; } && {
2417 test -z "$ac_c_werror_flag" ||
2418 test ! -s conftest.err
2419 } && test -s conftest$ac_exeext && {
2420 test "$cross_compiling" = yes ||
2421 test -x conftest$ac_exeext
2425 $as_echo "$as_me: failed program was:" >&5
2426 sed 's/^/| /' conftest.$ac_ext >&5
2430 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
2431 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
2432 # interfere with the next link command; also delete a directory that is
2433 # left behind by Apple's compiler. We do this before executing the actions.
2434 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
2435 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2436 as_fn_set_status $ac_retval
2438 } # ac_fn_c_try_link
2440 # ac_fn_c_try_cpp LINENO
2441 # ----------------------
2442 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
2445 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2446 if { { ac_try="$ac_cpp conftest.$ac_ext"
2448 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
2449 *) ac_try_echo
=$ac_try;;
2451 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2452 $as_echo "$ac_try_echo"; } >&5
2453 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
2455 if test -s conftest.err
; then
2456 grep -v '^ *+' conftest.err
>conftest.er1
2457 cat conftest.er1
>&5
2458 mv -f conftest.er1 conftest.err
2460 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2461 test $ac_status = 0; } > conftest.i
&& {
2462 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
2463 test ! -s conftest.err
2467 $as_echo "$as_me: failed program was:" >&5
2468 sed 's/^/| /' conftest.
$ac_ext >&5
2472 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2473 as_fn_set_status
$ac_retval
2477 # ac_fn_c_check_header_mongrel LINENO HEADER VAR INCLUDES
2478 # -------------------------------------------------------
2479 # Tests whether HEADER exists, giving a warning if it cannot be compiled using
2480 # the include files in INCLUDES and setting the cache variable VAR
2482 ac_fn_c_check_header_mongrel
()
2484 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
2485 if eval \
${$3+:} false
; then :
2486 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2487 $as_echo_n "checking for $2... " >&6; }
2488 if eval \
${$3+:} false
; then :
2489 $as_echo_n "(cached) " >&6
2492 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2493 $as_echo "$ac_res" >&6; }
2495 # Is the header compilable?
2496 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
2497 $as_echo_n "checking $2 usability... " >&6; }
2498 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
2499 /* end confdefs.h. */
2503 if ac_fn_c_try_compile
"$LINENO"; then :
2504 ac_header_compiler
=yes
2506 ac_header_compiler
=no
2508 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
2509 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
2510 $as_echo "$ac_header_compiler" >&6; }
2512 # Is the header present?
2513 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
2514 $as_echo_n "checking $2 presence... " >&6; }
2515 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
2516 /* end confdefs.h. */
2519 if ac_fn_c_try_cpp
"$LINENO"; then :
2520 ac_header_preproc
=yes
2522 ac_header_preproc
=no
2524 rm -f conftest.err conftest.i conftest.
$ac_ext
2525 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
2526 $as_echo "$ac_header_preproc" >&6; }
2528 # So? What about this header?
2529 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in #((
2531 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
2532 $as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
2533 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
2534 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
2537 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
2538 $as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
2539 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: check for missing prerequisite headers?" >&5
2540 $as_echo "$as_me: WARNING: $2: check for missing prerequisite headers?" >&2;}
2541 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
2542 $as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
2543 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&5
2544 $as_echo "$as_me: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&2;}
2545 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
2546 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
2547 ( $as_echo "## ------------------------------------ ##
2548 ## Report this to wine-devel@winehq.org ##
2549 ## ------------------------------------ ##"
2550 ) |
sed "s/^/$as_me: WARNING: /" >&2
2553 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2554 $as_echo_n "checking for $2... " >&6; }
2555 if eval \
${$3+:} false
; then :
2556 $as_echo_n "(cached) " >&6
2558 eval "$3=\$ac_header_compiler"
2561 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2562 $as_echo "$ac_res" >&6; }
2564 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2566 } # ac_fn_c_check_header_mongrel
2568 # ac_fn_c_try_run LINENO
2569 # ----------------------
2570 # Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
2571 # that executables *can* be run.
2574 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
2575 if { { ac_try
="$ac_link"
2577 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
2578 *) ac_try_echo=$ac_try;;
2580 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2581 $as_echo "$ac_try_echo"; } >&5
2582 (eval "$ac_link") 2>&5
2584 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2585 test $ac_status = 0; } && { ac_try='./conftest$ac_exeext'
2586 { { case "(($ac_try" in
2587 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
2588 *) ac_try_echo
=$ac_try;;
2590 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2591 $as_echo "$ac_try_echo"; } >&5
2592 (eval "$ac_try") 2>&5
2594 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2595 test $ac_status = 0; }; }; then :
2598 $as_echo "$as_me: program exited with status $ac_status" >&5
2599 $as_echo "$as_me: failed program was:" >&5
2600 sed 's/^/| /' conftest.
$ac_ext >&5
2602 ac_retval
=$ac_status
2604 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
2605 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2606 as_fn_set_status
$ac_retval
2610 # ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
2611 # -------------------------------------------------------
2612 # Tests whether HEADER exists and can be compiled using the include files in
2613 # INCLUDES, setting the cache variable VAR accordingly.
2614 ac_fn_c_check_header_compile
()
2616 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
2617 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2618 $as_echo_n "checking for $2... " >&6; }
2619 if eval \
${$3+:} false
; then :
2620 $as_echo_n "(cached) " >&6
2622 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
2623 /* end confdefs.h. */
2627 if ac_fn_c_try_compile
"$LINENO"; then :
2632 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
2635 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2636 $as_echo "$ac_res" >&6; }
2637 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2639 } # ac_fn_c_check_header_compile
2641 # ac_fn_c_check_func LINENO FUNC VAR
2642 # ----------------------------------
2643 # Tests whether FUNC exists, setting the cache variable VAR accordingly
2644 ac_fn_c_check_func
()
2646 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
2647 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2648 $as_echo_n "checking for $2... " >&6; }
2649 if eval \
${$3+:} false
; then :
2650 $as_echo_n "(cached) " >&6
2652 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
2653 /* end confdefs.h. */
2654 /* Define $2 to an innocuous variant, in case <limits.h> declares $2.
2655 For example, HP-UX 11i <limits.h> declares gettimeofday. */
2656 #define $2 innocuous_$2
2658 /* System header to define __stub macros and hopefully few prototypes,
2659 which can conflict with char $2 (); below.
2660 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
2661 <limits.h> exists even on freestanding compilers. */
2664 # include <limits.h>
2666 # include <assert.h>
2671 /* Override any GCC internal prototype to avoid an error.
2672 Use char because int might match the return type of a GCC
2673 builtin and then its argument prototype would still apply. */
2678 /* The GNU C library defines this for functions which it implements
2679 to always fail with ENOSYS. Some functions are actually named
2680 something starting with __ and the normal name is an alias. */
2681 #if defined __stub_$2 || defined __stub___$2
2693 if ac_fn_c_try_link
"$LINENO"; then :
2698 rm -f core conftest.err conftest.
$ac_objext \
2699 conftest
$ac_exeext conftest.
$ac_ext
2702 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2703 $as_echo "$ac_res" >&6; }
2704 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2706 } # ac_fn_c_check_func
2708 # ac_fn_c_check_member LINENO AGGR MEMBER VAR INCLUDES
2709 # ----------------------------------------------------
2710 # Tries to find if the field MEMBER exists in type AGGR, after including
2711 # INCLUDES, setting cache variable VAR accordingly.
2712 ac_fn_c_check_member
()
2714 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
2715 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2.$3" >&5
2716 $as_echo_n "checking for $2.$3... " >&6; }
2717 if eval \
${$4+:} false
; then :
2718 $as_echo_n "(cached) " >&6
2720 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
2721 /* end confdefs.h. */
2733 if ac_fn_c_try_compile
"$LINENO"; then :
2736 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
2737 /* end confdefs.h. */
2743 if (sizeof ac_aggr.$3)
2749 if ac_fn_c_try_compile
"$LINENO"; then :
2754 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
2756 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
2759 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2760 $as_echo "$ac_res" >&6; }
2761 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2763 } # ac_fn_c_check_member
2765 # ac_fn_c_check_type LINENO TYPE VAR INCLUDES
2766 # -------------------------------------------
2767 # Tests whether TYPE exists after having included INCLUDES, setting cache
2768 # variable VAR accordingly.
2769 ac_fn_c_check_type
()
2771 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
2772 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2773 $as_echo_n "checking for $2... " >&6; }
2774 if eval \
${$3+:} false
; then :
2775 $as_echo_n "(cached) " >&6
2778 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
2779 /* end confdefs.h. */
2790 if ac_fn_c_try_compile
"$LINENO"; then :
2791 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
2792 /* end confdefs.h. */
2803 if ac_fn_c_try_compile
"$LINENO"; then :
2808 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
2810 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
2813 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2814 $as_echo "$ac_res" >&6; }
2815 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2817 } # ac_fn_c_check_type
2818 cat >config.log
<<_ACEOF
2819 This file contains any messages produced by compilers while
2820 running configure, to aid debugging if configure makes a mistake.
2822 It was created by Wine $as_me 1.7.43, which was
2823 generated by GNU Autoconf 2.69. Invocation command line was
2835 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
2836 uname -m = `(uname -m) 2>/dev/null || echo unknown`
2837 uname -r = `(uname -r) 2>/dev/null || echo unknown`
2838 uname -s = `(uname -s) 2>/dev/null || echo unknown`
2839 uname -v = `(uname -v) 2>/dev/null || echo unknown`
2841 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
2842 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
2844 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
2845 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
2846 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
2847 /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
2848 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
2849 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
2850 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
2854 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2858 test -z "$as_dir" && as_dir
=.
2859 $as_echo "PATH: $as_dir"
2875 # Keep a trace of the command line.
2876 # Strip out --no-create and --no-recursion so they do not pile up.
2877 # Strip out --silent because we don't want to record it for future runs.
2878 # Also quote any args containing shell meta-characters.
2879 # Make two passes to allow for proper duplicate-argument suppression.
2883 ac_must_keep_next
=false
2889 -no-create |
--no-c* |
-n |
-no-recursion |
--no-r*) continue ;;
2890 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
2891 |
-silent |
--silent |
--silen |
--sile |
--sil)
2894 ac_arg
=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
2897 1) as_fn_append ac_configure_args0
" '$ac_arg'" ;;
2899 as_fn_append ac_configure_args1
" '$ac_arg'"
2900 if test $ac_must_keep_next = true
; then
2901 ac_must_keep_next
=false
# Got value, back to normal.
2904 *=* |
--config-cache |
-C |
-disable-* |
--disable-* \
2905 |
-enable-* |
--enable-* |
-gas |
--g* |
-nfp |
--nf* \
2906 |
-q |
-quiet |
--q* |
-silent |
--sil* |
-v |
-verb* \
2907 |
-with-* |
--with-* |
-without-* |
--without-* |
--x)
2908 case "$ac_configure_args0 " in
2909 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
2912 -* ) ac_must_keep_next
=true
;;
2915 as_fn_append ac_configure_args
" '$ac_arg'"
2920 { ac_configure_args0
=; unset ac_configure_args0
;}
2921 { ac_configure_args1
=; unset ac_configure_args1
;}
2923 # When interrupted or exit'd, cleanup temporary files, and complete
2924 # config.log. We remove comments because anyway the quotes in there
2925 # would cause problems or look ugly.
2926 # WARNING: Use '\'' to represent an apostrophe within the trap.
2927 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
2928 trap 'exit_status=$?
2929 # Save into config.log some information that might help in debugging.
2933 $as_echo "## ---------------- ##
2934 ## Cache variables. ##
2935 ## ---------------- ##"
2937 # The following way of writing the cache mishandles newlines in values,
2939 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
2940 eval ac_val=\$$ac_var
2944 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
2945 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
2948 _ | IFS | as_nl) ;; #(
2949 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
2950 *) { eval $ac_var=; unset $ac_var;} ;;
2955 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
2956 *${as_nl}ac_space=\ *)
2958 "s/'\''/'\''\\\\'\'''\''/g;
2959 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
2962 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
2969 $as_echo "## ----------------- ##
2970 ## Output variables. ##
2971 ## ----------------- ##"
2973 for ac_var in $ac_subst_vars
2975 eval ac_val=\$$ac_var
2977 *\'\''*) ac_val
=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2979 $as_echo "$ac_var='\''$ac_val'\''"
2983 if test -n "$ac_subst_files"; then
2984 $as_echo "## ------------------- ##
2985 ## File substitutions. ##
2986 ## ------------------- ##"
2988 for ac_var
in $ac_subst_files
2990 eval ac_val
=\$
$ac_var
2992 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2994 $as_echo "$ac_var='\''$ac_val'\''"
2999 if test -s confdefs.h; then
3000 $as_echo "## ----------- ##
3007 test "$ac_signal" != 0 &&
3008 $as_echo "$as_me: caught signal $ac_signal"
3009 $as_echo "$as_me: exit $exit_status"
3011 rm -f core *.core core.conftest.* &&
3012 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
3015 for ac_signal
in 1 2 13 15; do
3016 trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
3020 # confdefs.h avoids OS command line length limits that DEFS can exceed.
3021 rm -f -r conftest
* confdefs.h
3023 $as_echo "/* confdefs.h */" > confdefs.h
3025 # Predefined preprocessor variables.
3027 cat >>confdefs.h
<<_ACEOF
3028 #define PACKAGE_NAME "$PACKAGE_NAME"
3031 cat >>confdefs.h
<<_ACEOF
3032 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
3035 cat >>confdefs.h
<<_ACEOF
3036 #define PACKAGE_VERSION "$PACKAGE_VERSION"
3039 cat >>confdefs.h
<<_ACEOF
3040 #define PACKAGE_STRING "$PACKAGE_STRING"
3043 cat >>confdefs.h
<<_ACEOF
3044 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
3047 cat >>confdefs.h
<<_ACEOF
3048 #define PACKAGE_URL "$PACKAGE_URL"
3052 # Let the site file select an alternate cache file if it wants to.
3053 # Prefer an explicitly selected file to automatically selected ones.
3056 if test -n "$CONFIG_SITE"; then
3057 # We do not want a PATH search for config.site.
3058 case $CONFIG_SITE in #((
3059 -*) ac_site_file1
=.
/$CONFIG_SITE;;
3060 */*) ac_site_file1
=$CONFIG_SITE;;
3061 *) ac_site_file1
=.
/$CONFIG_SITE;;
3063 elif test "x$prefix" != xNONE
; then
3064 ac_site_file1
=$prefix/share
/config.site
3065 ac_site_file2
=$prefix/etc
/config.site
3067 ac_site_file1
=$ac_default_prefix/share
/config.site
3068 ac_site_file2
=$ac_default_prefix/etc
/config.site
3070 for ac_site_file
in "$ac_site_file1" "$ac_site_file2"
3072 test "x$ac_site_file" = xNONE
&& continue
3073 if test /dev
/null
!= "$ac_site_file" && test -r "$ac_site_file"; then
3074 { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
3075 $as_echo "$as_me: loading site script $ac_site_file" >&6;}
3076 sed 's/^/| /' "$ac_site_file" >&5
3078 ||
{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3079 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3080 as_fn_error $?
"failed to load site script $ac_site_file
3081 See \`config.log' for more details" "$LINENO" 5; }
3085 if test -r "$cache_file"; then
3086 # Some versions of bash will fail to source /dev/null (special files
3087 # actually), so we avoid doing that. DJGPP emulates it as a regular file.
3088 if test /dev
/null
!= "$cache_file" && test -f "$cache_file"; then
3089 { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
3090 $as_echo "$as_me: loading cache $cache_file" >&6;}
3092 [\\/]* | ?
:[\\/]* ) .
"$cache_file";;
3093 *) .
"./$cache_file";;
3097 { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
3098 $as_echo "$as_me: creating cache $cache_file" >&6;}
3102 # Check that the precious variables saved in the cache have kept the same
3104 ac_cache_corrupted
=false
3105 for ac_var
in $ac_precious_vars; do
3106 eval ac_old_set
=\
$ac_cv_env_${ac_var}_set
3107 eval ac_new_set
=\
$ac_env_${ac_var}_set
3108 eval ac_old_val
=\
$ac_cv_env_${ac_var}_value
3109 eval ac_new_val
=\
$ac_env_${ac_var}_value
3110 case $ac_old_set,$ac_new_set in
3112 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
3113 $as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
3114 ac_cache_corrupted
=: ;;
3116 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
3117 $as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
3118 ac_cache_corrupted
=: ;;
3121 if test "x$ac_old_val" != "x$ac_new_val"; then
3122 # differences in whitespace do not lead to failure.
3123 ac_old_val_w
=`echo x $ac_old_val`
3124 ac_new_val_w
=`echo x $ac_new_val`
3125 if test "$ac_old_val_w" != "$ac_new_val_w"; then
3126 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
3127 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
3128 ac_cache_corrupted
=:
3130 { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
3131 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
3132 eval $ac_var=\
$ac_old_val
3134 { $as_echo "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5
3135 $as_echo "$as_me: former value: \`$ac_old_val'" >&2;}
3136 { $as_echo "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5
3137 $as_echo "$as_me: current value: \`$ac_new_val'" >&2;}
3140 # Pass precious variables to config.status.
3141 if test "$ac_new_set" = set; then
3143 *\'*) ac_arg
=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
3144 *) ac_arg
=$ac_var=$ac_new_val ;;
3146 case " $ac_configure_args " in
3147 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
3148 *) as_fn_append ac_configure_args
" '$ac_arg'" ;;
3152 if $ac_cache_corrupted; then
3153 { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3154 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3155 { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
3156 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
3157 as_fn_error $?
"run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
3159 ## -------------------- ##
3160 ## Main body of script. ##
3161 ## -------------------- ##
3164 ac_cpp
='$CPP $CPPFLAGS'
3165 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3166 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3167 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
3171 ac_config_headers
="$ac_config_headers include/config.h"
3174 for ac_dir
in tools
"$srcdir"/tools
; do
3175 if test -f "$ac_dir/install-sh"; then
3177 ac_install_sh
="$ac_aux_dir/install-sh -c"
3179 elif test -f "$ac_dir/install.sh"; then
3181 ac_install_sh
="$ac_aux_dir/install.sh -c"
3183 elif test -f "$ac_dir/shtool"; then
3185 ac_install_sh
="$ac_aux_dir/shtool install -c"
3189 if test -z "$ac_aux_dir"; then
3190 as_fn_error $?
"cannot find install-sh, install.sh, or shtool in tools \"$srcdir\"/tools" "$LINENO" 5
3193 # These three variables are undocumented and unsupported,
3194 # and are intended to be withdrawn in a future Autoconf release.
3195 # They can cause serious problems if a builder's source tree is in a directory
3196 # whose full name contains unusual characters.
3197 ac_config_guess
="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
3198 ac_config_sub
="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
3199 ac_configure
="$SHELL $ac_aux_dir/configure" # Please don't use this var.
3203 libwine_version
="1.0"
3207 # Check whether --enable-win16 was given.
3208 if test "${enable_win16+set}" = set; then :
3209 enableval
=$enable_win16;
3212 # Check whether --enable-win64 was given.
3213 if test "${enable_win64+set}" = set; then :
3214 enableval
=$enable_win64;
3217 # Check whether --enable-tests was given.
3218 if test "${enable_tests+set}" = set; then :
3219 enableval
=$enable_tests;
3222 # Check whether --enable-maintainer-mode was given.
3223 if test "${enable_maintainer_mode+set}" = set; then :
3224 enableval
=$enable_maintainer_mode;
3229 # Check whether --with-alsa was given.
3230 if test "${with_alsa+set}" = set; then :
3231 withval
=$with_alsa; if test "x$withval" = "xno"; then ac_cv_header_sys_asoundlib_h
=no
; ac_cv_header_alsa_asoundlib_h
=no
; fi
3235 # Check whether --with-capi was given.
3236 if test "${with_capi+set}" = set; then :
3241 # Check whether --with-cms was given.
3242 if test "${with_cms+set}" = set; then :
3247 # Check whether --with-coreaudio was given.
3248 if test "${with_coreaudio+set}" = set; then :
3249 withval
=$with_coreaudio; if test "x$withval" = "xno"; then ac_cv_header_CoreAudio_CoreAudio_h
=no
; fi
3253 # Check whether --with-cups was given.
3254 if test "${with_cups+set}" = set; then :
3259 # Check whether --with-curses was given.
3260 if test "${with_curses+set}" = set; then :
3261 withval
=$with_curses; if test "x$withval" = "xno"; then ac_cv_header_ncurses_h
=no
; ac_cv_header_curses_h
=no
; fi
3265 # Check whether --with-dbus was given.
3266 if test "${with_dbus+set}" = set; then :
3271 # Check whether --with-fontconfig was given.
3272 if test "${with_fontconfig+set}" = set; then :
3273 withval
=$with_fontconfig;
3277 # Check whether --with-freetype was given.
3278 if test "${with_freetype+set}" = set; then :
3279 withval
=$with_freetype;
3283 # Check whether --with-gettext was given.
3284 if test "${with_gettext+set}" = set; then :
3285 withval
=$with_gettext;
3289 # Check whether --with-gettextpo was given.
3290 if test "${with_gettextpo+set}" = set; then :
3291 withval
=$with_gettextpo; if test "x$withval" = "xno"; then ac_cv_header_gettext_po_h
=no
; fi
3295 # Check whether --with-gphoto was given.
3296 if test "${with_gphoto+set}" = set; then :
3297 withval
=$with_gphoto;
3301 # Check whether --with-glu was given.
3302 if test "${with_glu+set}" = set; then :
3307 # Check whether --with-gnutls was given.
3308 if test "${with_gnutls+set}" = set; then :
3309 withval
=$with_gnutls;
3313 # Check whether --with-gsm was given.
3314 if test "${with_gsm+set}" = set; then :
3315 withval
=$with_gsm; if test "x$withval" = "xno"; then ac_cv_header_gsm_h
=no
; ac_cv_header_gsm_gsm_h
=no
; fi
3319 # Check whether --with-gstreamer was given.
3320 if test "${with_gstreamer+set}" = set; then :
3321 withval
=$with_gstreamer;
3325 # Check whether --with-hal was given.
3326 if test "${with_hal+set}" = set; then :
3331 # Check whether --with-jpeg was given.
3332 if test "${with_jpeg+set}" = set; then :
3337 # Check whether --with-ldap was given.
3338 if test "${with_ldap+set}" = set; then :
3339 withval
=$with_ldap; if test "x$withval" = "xno"; then ac_cv_header_ldap_h
=no
; ac_cv_header_lber_h
=no
; fi
3343 # Check whether --with-mpg123 was given.
3344 if test "${with_mpg123+set}" = set; then :
3345 withval
=$with_mpg123;
3349 # Check whether --with-netapi was given.
3350 if test "${with_netapi+set}" = set; then :
3351 withval
=$with_netapi;
3355 # Check whether --with-openal was given.
3356 if test "${with_openal+set}" = set; then :
3357 withval
=$with_openal; if test "x$withval" = "xno"; then ac_cv_header_AL_al_h
=no
; ac_cv_header_OpenAL_al_h
=no
; fi
3361 # Check whether --with-opencl was given.
3362 if test "${with_opencl+set}" = set; then :
3363 withval
=$with_opencl; if test "x$withval" = "xno"; then ac_cv_header_CL_cl_h
=no
; ac_cv_header_OpenCL_opencl_h
=no
; fi
3367 # Check whether --with-opengl was given.
3368 if test "${with_opengl+set}" = set; then :
3369 withval
=$with_opengl;
3373 # Check whether --with-osmesa was given.
3374 if test "${with_osmesa+set}" = set; then :
3375 withval
=$with_osmesa;
3379 # Check whether --with-oss was given.
3380 if test "${with_oss+set}" = set; then :
3385 # Check whether --with-pcap was given.
3386 if test "${with_pcap+set}" = set; then :
3387 withval
=$with_pcap; if test "x$withval" = "xno"; then ac_cv_header_pcap_pcap_h
=no
; fi
3391 # Check whether --with-png was given.
3392 if test "${with_png+set}" = set; then :
3397 # Check whether --with-pthread was given.
3398 if test "${with_pthread+set}" = set; then :
3399 withval
=$with_pthread; if test "x$withval" = "xno"; then ac_cv_header_pthread_h
=no
; fi
3403 # Check whether --with-sane was given.
3404 if test "${with_sane+set}" = set; then :
3409 # Check whether --with-tiff was given.
3410 if test "${with_tiff+set}" = set; then :
3415 # Check whether --with-v4l was given.
3416 if test "${with_v4l+set}" = set; then :
3421 # Check whether --with-xcomposite was given.
3422 if test "${with_xcomposite+set}" = set; then :
3423 withval
=$with_xcomposite; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xcomposite_h
=no
; fi
3427 # Check whether --with-xcursor was given.
3428 if test "${with_xcursor+set}" = set; then :
3429 withval
=$with_xcursor; if test "x$withval" = "xno"; then ac_cv_header_X11_Xcursor_Xcursor_h
=no
; fi
3433 # Check whether --with-xinerama was given.
3434 if test "${with_xinerama+set}" = set; then :
3435 withval
=$with_xinerama; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xinerama_h
=no
; fi
3439 # Check whether --with-xinput was given.
3440 if test "${with_xinput+set}" = set; then :
3441 withval
=$with_xinput; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_XInput_h
=no
; fi
3445 # Check whether --with-xinput2 was given.
3446 if test "${with_xinput2+set}" = set; then :
3447 withval
=$with_xinput2; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_XInput2_h
=no
; fi
3451 # Check whether --with-xml was given.
3452 if test "${with_xml+set}" = set; then :
3457 # Check whether --with-xrandr was given.
3458 if test "${with_xrandr+set}" = set; then :
3459 withval
=$with_xrandr; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xrandr_h
=no
; fi
3463 # Check whether --with-xrender was given.
3464 if test "${with_xrender+set}" = set; then :
3465 withval
=$with_xrender; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xrender_h
=no
; fi
3469 # Check whether --with-xshape was given.
3470 if test "${with_xshape+set}" = set; then :
3471 withval
=$with_xshape; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_shape_h
=no
; fi
3475 # Check whether --with-xshm was given.
3476 if test "${with_xshm+set}" = set; then :
3477 withval
=$with_xshm; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_XShm_h
=no
; fi
3481 # Check whether --with-xslt was given.
3482 if test "${with_xslt+set}" = set; then :
3487 # Check whether --with-xxf86vm was given.
3488 if test "${with_xxf86vm+set}" = set; then :
3489 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
3493 # Check whether --with-zlib was given.
3494 if test "${with_zlib+set}" = set; then :
3495 withval
=$with_zlib; if test "x$withval" = "xno"; then ac_cv_header_zlib_h
=no
; fi
3500 # Check whether --with-wine-tools was given.
3501 if test "${with_wine_tools+set}" = set; then :
3502 withval
=$with_wine_tools;
3506 # Check whether --with-wine64 was given.
3507 if test "${with_wine64+set}" = set; then :
3508 withval
=$with_wine64;
3512 # Make sure we can run config.sub.
3513 $SHELL "$ac_aux_dir/config.sub" sun4
>/dev
/null
2>&1 ||
3514 as_fn_error $?
"cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
3516 { $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
3517 $as_echo_n "checking build system type... " >&6; }
3518 if ${ac_cv_build+:} false
; then :
3519 $as_echo_n "(cached) " >&6
3521 ac_build_alias
=$build_alias
3522 test "x$ac_build_alias" = x
&&
3523 ac_build_alias
=`$SHELL "$ac_aux_dir/config.guess"`
3524 test "x$ac_build_alias" = x
&&
3525 as_fn_error $?
"cannot guess build type; you must specify one" "$LINENO" 5
3526 ac_cv_build
=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
3527 as_fn_error $?
"$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
3530 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
3531 $as_echo "$ac_cv_build" >&6; }
3532 case $ac_cv_build in
3534 *) as_fn_error $?
"invalid value of canonical build" "$LINENO" 5;;
3537 ac_save_IFS
=$IFS; IFS
='-'
3543 # Remember, the first character of IFS is used to create $*,
3544 # except with old shells:
3547 case $build_os in *\
*) build_os
=`echo "$build_os" | sed 's/ /-/g'`;; esac
3550 { $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
3551 $as_echo_n "checking host system type... " >&6; }
3552 if ${ac_cv_host+:} false
; then :
3553 $as_echo_n "(cached) " >&6
3555 if test "x$host_alias" = x
; then
3556 ac_cv_host
=$ac_cv_build
3558 ac_cv_host
=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
3559 as_fn_error $?
"$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
3563 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
3564 $as_echo "$ac_cv_host" >&6; }
3567 *) as_fn_error $?
"invalid value of canonical host" "$LINENO" 5;;
3570 ac_save_IFS
=$IFS; IFS
='-'
3576 # Remember, the first character of IFS is used to create $*,
3577 # except with old shells:
3580 case $host_os in *\
*) host_os
=`echo "$host_os" | sed 's/ /-/g'`;; esac
3586 *) if test -f "$srcdir/Makefile" -o -f "$srcdir/include/config.h"; then
3587 as_fn_error $?
"you are building out of the source tree, but the source tree contains object files.
3588 You need to run 'make distclean' in the source tree first." "$LINENO" 5
3593 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
3594 $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
3596 ac_make
=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
3597 if eval \
${ac_cv_prog_make_${ac_make}_set+:} false
; then :
3598 $as_echo_n "(cached) " >&6
3600 cat >conftest.
make <<\_ACEOF
3603 @
echo '@@@%%%=$(MAKE)=@@@%%%'
3605 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
3606 case `${MAKE-make} -f conftest.make 2>/dev/null` in
3608 eval ac_cv_prog_make_
${ac_make}_set
=yes;;
3610 eval ac_cv_prog_make_
${ac_make}_set
=no
;;
3614 if eval test \
$ac_cv_prog_make_${ac_make}_set
= yes; then
3615 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3616 $as_echo "yes" >&6; }
3619 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3620 $as_echo "no" >&6; }
3621 SET_MAKE
="MAKE=${MAKE-make}"
3625 ac_cpp
='$CPP $CPPFLAGS'
3626 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3627 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3628 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
3629 if test -n "$ac_tool_prefix"; then
3630 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
3631 set dummy
${ac_tool_prefix}gcc
; ac_word
=$2
3632 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3633 $as_echo_n "checking for $ac_word... " >&6; }
3634 if ${ac_cv_prog_CC+:} false
; then :
3635 $as_echo_n "(cached) " >&6
3637 if test -n "$CC"; then
3638 ac_cv_prog_CC
="$CC" # Let the user override the test.
3640 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3644 test -z "$as_dir" && as_dir
=.
3645 for ac_exec_ext
in '' $ac_executable_extensions; do
3646 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
3647 ac_cv_prog_CC
="${ac_tool_prefix}gcc"
3648 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3658 if test -n "$CC"; then
3659 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3660 $as_echo "$CC" >&6; }
3662 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3663 $as_echo "no" >&6; }
3668 if test -z "$ac_cv_prog_CC"; then
3670 # Extract the first word of "gcc", so it can be a program name with args.
3671 set dummy gcc
; ac_word
=$2
3672 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3673 $as_echo_n "checking for $ac_word... " >&6; }
3674 if ${ac_cv_prog_ac_ct_CC+:} false
; then :
3675 $as_echo_n "(cached) " >&6
3677 if test -n "$ac_ct_CC"; then
3678 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
3680 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3684 test -z "$as_dir" && as_dir
=.
3685 for ac_exec_ext
in '' $ac_executable_extensions; do
3686 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
3687 ac_cv_prog_ac_ct_CC
="gcc"
3688 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3697 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
3698 if test -n "$ac_ct_CC"; then
3699 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3700 $as_echo "$ac_ct_CC" >&6; }
3702 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3703 $as_echo "no" >&6; }
3706 if test "x$ac_ct_CC" = x
; then
3709 case $cross_compiling:$ac_tool_warned in
3711 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3712 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3713 ac_tool_warned
=yes ;;
3721 if test -z "$CC"; then
3722 if test -n "$ac_tool_prefix"; then
3723 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
3724 set dummy
${ac_tool_prefix}cc
; ac_word
=$2
3725 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3726 $as_echo_n "checking for $ac_word... " >&6; }
3727 if ${ac_cv_prog_CC+:} false
; then :
3728 $as_echo_n "(cached) " >&6
3730 if test -n "$CC"; then
3731 ac_cv_prog_CC
="$CC" # Let the user override the test.
3733 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3737 test -z "$as_dir" && as_dir
=.
3738 for ac_exec_ext
in '' $ac_executable_extensions; do
3739 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
3740 ac_cv_prog_CC
="${ac_tool_prefix}cc"
3741 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3751 if test -n "$CC"; then
3752 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3753 $as_echo "$CC" >&6; }
3755 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3756 $as_echo "no" >&6; }
3762 if test -z "$CC"; then
3763 # Extract the first word of "cc", so it can be a program name with args.
3764 set dummy cc
; ac_word
=$2
3765 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3766 $as_echo_n "checking for $ac_word... " >&6; }
3767 if ${ac_cv_prog_CC+:} false
; then :
3768 $as_echo_n "(cached) " >&6
3770 if test -n "$CC"; then
3771 ac_cv_prog_CC
="$CC" # Let the user override the test.
3774 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3778 test -z "$as_dir" && as_dir
=.
3779 for ac_exec_ext
in '' $ac_executable_extensions; do
3780 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
3781 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
3782 ac_prog_rejected
=yes
3786 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3793 if test $ac_prog_rejected = yes; then
3794 # We found a bogon in the path, so make sure we never use it.
3795 set dummy
$ac_cv_prog_CC
3797 if test $# != 0; then
3798 # We chose a different compiler from the bogus one.
3799 # However, it has the same basename, so the bogon will be chosen
3800 # first if we set CC to just the basename; use the full file name.
3802 ac_cv_prog_CC
="$as_dir/$ac_word${1+' '}$@"
3808 if test -n "$CC"; then
3809 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3810 $as_echo "$CC" >&6; }
3812 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3813 $as_echo "no" >&6; }
3818 if test -z "$CC"; then
3819 if test -n "$ac_tool_prefix"; then
3820 for ac_prog
in cl.exe
3822 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
3823 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
3824 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3825 $as_echo_n "checking for $ac_word... " >&6; }
3826 if ${ac_cv_prog_CC+:} false
; then :
3827 $as_echo_n "(cached) " >&6
3829 if test -n "$CC"; then
3830 ac_cv_prog_CC
="$CC" # Let the user override the test.
3832 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3836 test -z "$as_dir" && as_dir
=.
3837 for ac_exec_ext
in '' $ac_executable_extensions; do
3838 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
3839 ac_cv_prog_CC
="$ac_tool_prefix$ac_prog"
3840 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3850 if test -n "$CC"; then
3851 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3852 $as_echo "$CC" >&6; }
3854 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3855 $as_echo "no" >&6; }
3859 test -n "$CC" && break
3862 if test -z "$CC"; then
3864 for ac_prog
in cl.exe
3866 # Extract the first word of "$ac_prog", so it can be a program name with args.
3867 set dummy
$ac_prog; ac_word
=$2
3868 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3869 $as_echo_n "checking for $ac_word... " >&6; }
3870 if ${ac_cv_prog_ac_ct_CC+:} false
; then :
3871 $as_echo_n "(cached) " >&6
3873 if test -n "$ac_ct_CC"; then
3874 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
3876 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3880 test -z "$as_dir" && as_dir
=.
3881 for ac_exec_ext
in '' $ac_executable_extensions; do
3882 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
3883 ac_cv_prog_ac_ct_CC
="$ac_prog"
3884 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3893 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
3894 if test -n "$ac_ct_CC"; then
3895 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3896 $as_echo "$ac_ct_CC" >&6; }
3898 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3899 $as_echo "no" >&6; }
3903 test -n "$ac_ct_CC" && break
3906 if test "x$ac_ct_CC" = x
; then
3909 case $cross_compiling:$ac_tool_warned in
3911 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3912 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3913 ac_tool_warned
=yes ;;
3922 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3923 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3924 as_fn_error $?
"no acceptable C compiler found in \$PATH
3925 See \`config.log' for more details" "$LINENO" 5; }
3927 # Provide some information about the compiler.
3928 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
3931 for ac_option
in --version -v -V -qversion; do
3932 { { ac_try
="$ac_compiler $ac_option >&5"
3934 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
3935 *) ac_try_echo=$ac_try;;
3937 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3938 $as_echo "$ac_try_echo"; } >&5
3939 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
3941 if test -s conftest.err; then
3943 ... rest of stderr output deleted ...
3944 10q' conftest.err >conftest.er1
3945 cat conftest.er1 >&5
3947 rm -f conftest.er1 conftest.err
3948 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3949 test $ac_status = 0; }
3952 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3953 /* end confdefs.h. */
3963 ac_clean_files_save=$ac_clean_files
3964 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
3965 # Try to create an executable without -o first, disregard a.out.
3966 # It will help us diagnose broken compilers, and finding out an intuition
3968 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
3969 $as_echo_n "checking whether the C compiler works... " >&6; }
3970 ac_link_default=`$as_echo "$ac_link" |
sed 's/ -o *conftest[^ ]*//'`
3972 # The possible output files:
3973 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
3976 for ac_file in $ac_files
3979 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
3980 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
3985 if { { ac_try="$ac_link_default"
3987 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
3988 *) ac_try_echo
=$ac_try;;
3990 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3991 $as_echo "$ac_try_echo"; } >&5
3992 (eval "$ac_link_default") 2>&5
3994 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3995 test $ac_status = 0; }; then :
3996 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
3997 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
3998 # in a Makefile. We should not override ac_cv_exeext if it was cached,
3999 # so that the user can short-circuit this test for compilers unknown to
4001 for ac_file
in $ac_files ''
4003 test -f "$ac_file" ||
continue
4005 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg |
*.map |
*.inf |
*.dSYM |
*.o |
*.obj
)
4008 # We found the default executable, but exeext='' is most
4012 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no
;
4014 ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
4016 # We set ac_cv_exeext here because the later test for it is not
4017 # safe: cross compilers may not add the suffix if given an `-o'
4018 # argument, so we may need to know it at that point already.
4019 # Even if this section looks crufty: it has the advantage of
4026 test "$ac_cv_exeext" = no
&& ac_cv_exeext
=
4031 if test -z "$ac_file"; then :
4032 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4033 $as_echo "no" >&6; }
4034 $as_echo "$as_me: failed program was:" >&5
4035 sed 's/^/| /' conftest.
$ac_ext >&5
4037 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4038 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4039 as_fn_error
77 "C compiler cannot create executables
4040 See \`config.log' for more details" "$LINENO" 5; }
4042 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4043 $as_echo "yes" >&6; }
4045 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
4046 $as_echo_n "checking for C compiler default output file name... " >&6; }
4047 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
4048 $as_echo "$ac_file" >&6; }
4049 ac_exeext
=$ac_cv_exeext
4051 rm -f -r a.out a.out.dSYM a.exe conftest
$ac_cv_exeext b.out
4052 ac_clean_files
=$ac_clean_files_save
4053 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
4054 $as_echo_n "checking for suffix of executables... " >&6; }
4055 if { { ac_try
="$ac_link"
4057 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
4058 *) ac_try_echo=$ac_try;;
4060 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4061 $as_echo "$ac_try_echo"; } >&5
4062 (eval "$ac_link") 2>&5
4064 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4065 test $ac_status = 0; }; then :
4066 # If both `conftest.exe
' and `conftest' are
`present' (well, observable)
4067 # catch `conftest.exe
'. For instance with Cygwin, `ls conftest' will
4068 # work properly (i.e., refer to `conftest.exe'), while it won't with
4070 for ac_file
in conftest.exe conftest conftest.
*; do
4071 test -f "$ac_file" ||
continue
4073 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg |
*.map |
*.inf |
*.dSYM |
*.o |
*.obj
) ;;
4074 *.
* ) ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
4080 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4081 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4082 as_fn_error $?
"cannot compute suffix of executables: cannot compile and link
4083 See \`config.log' for more details" "$LINENO" 5; }
4085 rm -f conftest conftest
$ac_cv_exeext
4086 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
4087 $as_echo "$ac_cv_exeext" >&6; }
4089 rm -f conftest.
$ac_ext
4090 EXEEXT
=$ac_cv_exeext
4092 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4093 /* end confdefs.h. */
4098 FILE *f = fopen ("conftest.out", "w");
4099 return ferror (f) || fclose (f) != 0;
4105 ac_clean_files
="$ac_clean_files conftest.out"
4106 # Check that the compiler produces executables we can run. If not, either
4107 # the compiler is broken, or we cross compile.
4108 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
4109 $as_echo_n "checking whether we are cross compiling... " >&6; }
4110 if test "$cross_compiling" != yes; then
4111 { { ac_try
="$ac_link"
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_link") 2>&5
4120 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4121 test $ac_status = 0; }
4122 if { ac_try='./conftest$ac_cv_exeext'
4123 { { case "(($ac_try" in
4124 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
4125 *) ac_try_echo
=$ac_try;;
4127 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4128 $as_echo "$ac_try_echo"; } >&5
4129 (eval "$ac_try") 2>&5
4131 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4132 test $ac_status = 0; }; }; then
4135 if test "$cross_compiling" = maybe
; then
4138 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4139 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4140 as_fn_error $?
"cannot run C compiled programs.
4141 If you meant to cross compile, use \`--host'.
4142 See \`config.log' for more details" "$LINENO" 5; }
4146 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
4147 $as_echo "$cross_compiling" >&6; }
4149 rm -f conftest.
$ac_ext conftest
$ac_cv_exeext conftest.out
4150 ac_clean_files
=$ac_clean_files_save
4151 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
4152 $as_echo_n "checking for suffix of object files... " >&6; }
4153 if ${ac_cv_objext+:} false
; then :
4154 $as_echo_n "(cached) " >&6
4156 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4157 /* end confdefs.h. */
4167 rm -f conftest.o conftest.obj
4168 if { { ac_try
="$ac_compile"
4170 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
4171 *) ac_try_echo=$ac_try;;
4173 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4174 $as_echo "$ac_try_echo"; } >&5
4175 (eval "$ac_compile") 2>&5
4177 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4178 test $ac_status = 0; }; then :
4179 for ac_file in conftest.o conftest.obj conftest.*; do
4180 test -f "$ac_file" || continue;
4182 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
4183 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
4188 $as_echo "$as_me: failed program was:" >&5
4189 sed 's/^/| /' conftest.$ac_ext >&5
4191 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4192 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4193 as_fn_error $? "cannot compute suffix of object files
: cannot compile
4194 See \
`config.log' for more details" "$LINENO" 5; }
4196 rm -f conftest.$ac_cv_objext conftest.$ac_ext
4198 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
4199 $as_echo "$ac_cv_objext" >&6; }
4200 OBJEXT=$ac_cv_objext
4202 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
4203 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
4204 if ${ac_cv_c_compiler_gnu+:} false; then :
4205 $as_echo_n "(cached) " >&6
4207 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4208 /* end confdefs.h. */
4221 if ac_fn_c_try_compile "$LINENO"; then :
4226 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4227 ac_cv_c_compiler_gnu=$ac_compiler_gnu
4230 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
4231 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
4232 if test $ac_compiler_gnu = yes; then
4237 ac_test_CFLAGS=${CFLAGS+set}
4238 ac_save_CFLAGS=$CFLAGS
4239 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
4240 $as_echo_n "checking whether $CC accepts -g... " >&6; }
4241 if ${ac_cv_prog_cc_g+:} false; then :
4242 $as_echo_n "(cached) " >&6
4244 ac_save_c_werror_flag=$ac_c_werror_flag
4245 ac_c_werror_flag=yes
4248 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4249 /* end confdefs.h. */
4259 if ac_fn_c_try_compile "$LINENO"; then :
4263 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4264 /* end confdefs.h. */
4274 if ac_fn_c_try_compile "$LINENO"; then :
4277 ac_c_werror_flag=$ac_save_c_werror_flag
4279 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4280 /* end confdefs.h. */
4290 if ac_fn_c_try_compile "$LINENO"; then :
4293 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4295 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4297 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4298 ac_c_werror_flag=$ac_save_c_werror_flag
4300 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
4301 $as_echo "$ac_cv_prog_cc_g" >&6; }
4302 if test "$ac_test_CFLAGS" = set; then
4303 CFLAGS=$ac_save_CFLAGS
4304 elif test $ac_cv_prog_cc_g = yes; then
4305 if test "$GCC" = yes; then
4311 if test "$GCC" = yes; then
4317 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
4318 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
4319 if ${ac_cv_prog_cc_c89+:} false; then :
4320 $as_echo_n "(cached) " >&6
4322 ac_cv_prog_cc_c89=no
4324 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4325 /* end confdefs.h. */
4329 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
4330 struct buf { int x; };
4331 FILE * (*rcsopen) (struct buf *, struct stat *, int);
4332 static char *e (p, i)
4338 static char *f (char * (*g) (char **, int), char **p, ...)
4343 s = g (p, va_arg (v,int));
4348 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
4349 function prototypes and stuff, but not '\xHH' hex character constants.
4350 These don't provoke an error unfortunately, instead are silently treated
4351 as 'x'. The following induces an error, until -std is added to get
4352 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
4353 array size at least. It's necessary to write '\x00'==0 to get something
4354 that's true only with -std. */
4355 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
4357 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
4358 inside strings and character constants. */
4360 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
4362 int test (int i, double x);
4363 struct s1 {int (*f) (int a);};
4364 struct s2 {int (*f) (double a);};
4365 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
4371 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
4376 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
4377 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
4379 CC="$ac_save_CC $ac_arg"
4380 if ac_fn_c_try_compile "$LINENO"; then :
4381 ac_cv_prog_cc_c89=$ac_arg
4383 rm -f core conftest.err conftest.$ac_objext
4384 test "x$ac_cv_prog_cc_c89" != "xno" && break
4386 rm -f conftest.$ac_ext
4391 case "x$ac_cv_prog_cc_c89" in
4393 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
4394 $as_echo "none needed" >&6; } ;;
4396 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
4397 $as_echo "unsupported" >&6; } ;;
4399 CC="$CC $ac_cv_prog_cc_c89"
4400 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
4401 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
4403 if test "x$ac_cv_prog_cc_c89" != xno; then :
4408 ac_cpp='$CPP $CPPFLAGS'
4409 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4410 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4411 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4414 ac_cpp='$CXXCPP $CPPFLAGS'
4415 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4416 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4417 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
4418 if test -z "$CXX"; then
4419 if test -n "$CCC"; then
4422 if test -n "$ac_tool_prefix"; then
4423 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
4425 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
4426 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
4427 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4428 $as_echo_n "checking for $ac_word... " >&6; }
4429 if ${ac_cv_prog_CXX+:} false; then :
4430 $as_echo_n "(cached) " >&6
4432 if test -n "$CXX"; then
4433 ac_cv_prog_CXX="$CXX" # Let the user override the test.
4435 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4439 test -z "$as_dir" && as_dir=.
4440 for ac_exec_ext in '' $ac_executable_extensions; do
4441 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4442 ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"
4443 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4453 if test -n "$CXX"; then
4454 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXX" >&5
4455 $as_echo "$CXX" >&6; }
4457 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4458 $as_echo "no" >&6; }
4462 test -n "$CXX" && break
4465 if test -z "$CXX"; then
4467 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
4469 # Extract the first word of "$ac_prog", so it can be a program name with args.
4470 set dummy $ac_prog; ac_word=$2
4471 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4472 $as_echo_n "checking for $ac_word... " >&6; }
4473 if ${ac_cv_prog_ac_ct_CXX+:} false; then :
4474 $as_echo_n "(cached) " >&6
4476 if test -n "$ac_ct_CXX"; then
4477 ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
4479 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4483 test -z "$as_dir" && as_dir=.
4484 for ac_exec_ext in '' $ac_executable_extensions; do
4485 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4486 ac_cv_prog_ac_ct_CXX="$ac_prog"
4487 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4496 ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
4497 if test -n "$ac_ct_CXX"; then
4498 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CXX" >&5
4499 $as_echo "$ac_ct_CXX" >&6; }
4501 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4502 $as_echo "no" >&6; }
4506 test -n "$ac_ct_CXX" && break
4509 if test "x$ac_ct_CXX" = x; then
4512 case $cross_compiling:$ac_tool_warned in
4514 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4515 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4516 ac_tool_warned=yes ;;
4524 # Provide some information about the compiler.
4525 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C++ compiler version" >&5
4528 for ac_option in --version -v -V -qversion; do
4529 { { ac_try="$ac_compiler $ac_option >&5"
4531 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
4532 *) ac_try_echo
=$ac_try;;
4534 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4535 $as_echo "$ac_try_echo"; } >&5
4536 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
4538 if test -s conftest.err
; then
4540 ... rest of stderr output deleted ...
4541 10q' conftest.err
>conftest.er1
4542 cat conftest.er1
>&5
4544 rm -f conftest.er1 conftest.err
4545 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4546 test $ac_status = 0; }
4549 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C++ compiler" >&5
4550 $as_echo_n "checking whether we are using the GNU C++ compiler... " >&6; }
4551 if ${ac_cv_cxx_compiler_gnu+:} false
; then :
4552 $as_echo_n "(cached) " >&6
4554 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4555 /* end confdefs.h. */
4568 if ac_fn_cxx_try_compile
"$LINENO"; then :
4573 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
4574 ac_cv_cxx_compiler_gnu
=$ac_compiler_gnu
4577 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cxx_compiler_gnu" >&5
4578 $as_echo "$ac_cv_cxx_compiler_gnu" >&6; }
4579 if test $ac_compiler_gnu = yes; then
4584 ac_test_CXXFLAGS
=${CXXFLAGS+set}
4585 ac_save_CXXFLAGS
=$CXXFLAGS
4586 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CXX accepts -g" >&5
4587 $as_echo_n "checking whether $CXX accepts -g... " >&6; }
4588 if ${ac_cv_prog_cxx_g+:} false
; then :
4589 $as_echo_n "(cached) " >&6
4591 ac_save_cxx_werror_flag
=$ac_cxx_werror_flag
4592 ac_cxx_werror_flag
=yes
4595 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4596 /* end confdefs.h. */
4606 if ac_fn_cxx_try_compile
"$LINENO"; then :
4607 ac_cv_prog_cxx_g
=yes
4610 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4611 /* end confdefs.h. */
4621 if ac_fn_cxx_try_compile
"$LINENO"; then :
4624 ac_cxx_werror_flag
=$ac_save_cxx_werror_flag
4626 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4627 /* end confdefs.h. */
4637 if ac_fn_cxx_try_compile
"$LINENO"; then :
4638 ac_cv_prog_cxx_g
=yes
4640 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
4642 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
4644 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
4645 ac_cxx_werror_flag
=$ac_save_cxx_werror_flag
4647 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cxx_g" >&5
4648 $as_echo "$ac_cv_prog_cxx_g" >&6; }
4649 if test "$ac_test_CXXFLAGS" = set; then
4650 CXXFLAGS
=$ac_save_CXXFLAGS
4651 elif test $ac_cv_prog_cxx_g = yes; then
4652 if test "$GXX" = yes; then
4658 if test "$GXX" = yes; then
4665 ac_cpp
='$CPP $CPPFLAGS'
4666 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4667 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4668 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
4670 if test -n "$ac_tool_prefix"; then
4671 # Extract the first word of "${ac_tool_prefix}cpp", so it can be a program name with args.
4672 set dummy
${ac_tool_prefix}cpp
; ac_word
=$2
4673 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4674 $as_echo_n "checking for $ac_word... " >&6; }
4675 if ${ac_cv_prog_CPPBIN+:} false
; then :
4676 $as_echo_n "(cached) " >&6
4678 if test -n "$CPPBIN"; then
4679 ac_cv_prog_CPPBIN
="$CPPBIN" # Let the user override the test.
4681 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4685 test -z "$as_dir" && as_dir
=.
4686 for ac_exec_ext
in '' $ac_executable_extensions; do
4687 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
4688 ac_cv_prog_CPPBIN
="${ac_tool_prefix}cpp"
4689 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4698 CPPBIN
=$ac_cv_prog_CPPBIN
4699 if test -n "$CPPBIN"; then
4700 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPPBIN" >&5
4701 $as_echo "$CPPBIN" >&6; }
4703 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4704 $as_echo "no" >&6; }
4709 if test -z "$ac_cv_prog_CPPBIN"; then
4710 ac_ct_CPPBIN
=$CPPBIN
4711 # Extract the first word of "cpp", so it can be a program name with args.
4712 set dummy cpp
; ac_word
=$2
4713 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4714 $as_echo_n "checking for $ac_word... " >&6; }
4715 if ${ac_cv_prog_ac_ct_CPPBIN+:} false
; then :
4716 $as_echo_n "(cached) " >&6
4718 if test -n "$ac_ct_CPPBIN"; then
4719 ac_cv_prog_ac_ct_CPPBIN
="$ac_ct_CPPBIN" # Let the user override the test.
4721 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4725 test -z "$as_dir" && as_dir
=.
4726 for ac_exec_ext
in '' $ac_executable_extensions; do
4727 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
4728 ac_cv_prog_ac_ct_CPPBIN
="cpp"
4729 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4738 ac_ct_CPPBIN
=$ac_cv_prog_ac_ct_CPPBIN
4739 if test -n "$ac_ct_CPPBIN"; then
4740 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CPPBIN" >&5
4741 $as_echo "$ac_ct_CPPBIN" >&6; }
4743 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4744 $as_echo "no" >&6; }
4747 if test "x$ac_ct_CPPBIN" = x
; then
4750 case $cross_compiling:$ac_tool_warned in
4752 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4753 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4754 ac_tool_warned
=yes ;;
4756 CPPBIN
=$ac_ct_CPPBIN
4759 CPPBIN
="$ac_cv_prog_CPPBIN"
4763 cat >>confdefs.h
<<_ACEOF
4764 #define EXEEXT "$ac_exeext"
4767 if test -n "$ac_tool_prefix"; then
4768 # Extract the first word of "${ac_tool_prefix}ld", so it can be a program name with args.
4769 set dummy
${ac_tool_prefix}ld
; ac_word
=$2
4770 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4771 $as_echo_n "checking for $ac_word... " >&6; }
4772 if ${ac_cv_prog_LD+:} false
; then :
4773 $as_echo_n "(cached) " >&6
4775 if test -n "$LD"; then
4776 ac_cv_prog_LD
="$LD" # Let the user override the test.
4778 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4782 test -z "$as_dir" && as_dir
=.
4783 for ac_exec_ext
in '' $ac_executable_extensions; do
4784 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
4785 ac_cv_prog_LD
="${ac_tool_prefix}ld"
4786 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4796 if test -n "$LD"; then
4797 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
4798 $as_echo "$LD" >&6; }
4800 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4801 $as_echo "no" >&6; }
4806 if test -z "$ac_cv_prog_LD"; then
4808 # Extract the first word of "ld", so it can be a program name with args.
4809 set dummy ld
; ac_word
=$2
4810 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4811 $as_echo_n "checking for $ac_word... " >&6; }
4812 if ${ac_cv_prog_ac_ct_LD+:} false
; then :
4813 $as_echo_n "(cached) " >&6
4815 if test -n "$ac_ct_LD"; then
4816 ac_cv_prog_ac_ct_LD
="$ac_ct_LD" # Let the user override the test.
4818 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4822 test -z "$as_dir" && as_dir
=.
4823 for ac_exec_ext
in '' $ac_executable_extensions; do
4824 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
4825 ac_cv_prog_ac_ct_LD
="ld"
4826 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4835 ac_ct_LD
=$ac_cv_prog_ac_ct_LD
4836 if test -n "$ac_ct_LD"; then
4837 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_LD" >&5
4838 $as_echo "$ac_ct_LD" >&6; }
4840 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4841 $as_echo "no" >&6; }
4844 if test "x$ac_ct_LD" = x
; then
4847 case $cross_compiling:$ac_tool_warned in
4849 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4850 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4851 ac_tool_warned
=yes ;;
4862 if test "x$enable_win64" = "xyes"
4867 notice_platform
="64-bit "
4874 notice_platform
="32-bit "
4877 enable_win16
=${enable_win16:-yes}
4879 with_fontconfig
=${with_fontconfig:-no}
4882 if test "x$enable_win64" != "xyes" -a "$cross_compiling" != "yes"
4886 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC works" >&5
4887 $as_echo_n "checking whether $CC works... " >&6; }
4889 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4890 /* end confdefs.h. */
4900 if ac_fn_c_try_link
"$LINENO"; then :
4901 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4902 $as_echo "yes" >&6; }
4904 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4905 $as_echo "no" >&6; }
4906 as_fn_error $?
"Cannot build a 32-bit program, you need to install 32-bit development libraries." "$LINENO" 5
4908 rm -f core conftest.err conftest.
$ac_objext \
4909 conftest
$ac_exeext conftest.
$ac_ext
4911 notice_platform
="32-bit "
4914 enable_win16
=${enable_win16:-yes}
4916 if test "x${GCC}" = "xyes"
4918 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC supports __builtin_ms_va_list" >&5
4919 $as_echo_n "checking whether $CC supports __builtin_ms_va_list... " >&6; }
4920 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4921 /* end confdefs.h. */
4926 void func(__builtin_ms_va_list *args);
4931 if ac_fn_c_try_compile
"$LINENO"; then :
4932 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4933 $as_echo "yes" >&6; }
4935 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4936 $as_echo "no" >&6; }
4937 as_fn_error $?
"You need gcc >= 4.4 to build Wine as 64-bit." "$LINENO" 5
4939 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
4947 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC supports Thumb" >&5
4948 $as_echo_n "checking whether $CC supports Thumb... " >&6; }
4949 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4950 /* end confdefs.h. */
4951 int ac_test(int i) { return i; }
4955 asm(".thumb\nblx ac_test\n.arm"); if (ac_test(1)) return 1
4960 if ac_fn_c_try_link
"$LINENO"; then :
4961 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4962 $as_echo "yes" >&6; }
4964 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4965 $as_echo "no" >&6; }
4966 as_fn_error $?
"You need a target with Thumb support to build Wine for ARM." "$LINENO" 5
4968 rm -f core conftest.err conftest.
$ac_objext \
4969 conftest
$ac_exeext conftest.
$ac_ext
4970 CFLAGS
="$CFLAGS -marm"
4974 *-mingw32*|
*-cygwin*)
4975 enable_win16
=${enable_win16:-no}
4976 CFLAGS
="$CFLAGS -D_WIN32"
4979 enable_win16
=${enable_win16:-yes}
4983 enable_win16
=${enable_win16:-no}
4984 enable_win64
=${enable_win64:-no}
4986 enable_winetest
=${enable_winetest:-$enable_tests}
4988 if test -n "$with_wine64"
4990 if test "x$enable_win64" = "xyes"
4992 as_fn_error $?
"--enable-win64 and --with-wine64 are mutually exclusive.
4993 --enable-win64 should be used in the 64-bit build tree, --with-wine64 in the 32-bit Wow64 build tree." "$LINENO" 5
4995 enable_fonts
=${enable_fonts:-no}
4996 enable_server
=${enable_server:-no}
4997 elif test "x$enable_win64" = "xyes"
4999 test "x$libdir" != "x\${exec_prefix}/lib" || libdir
="\${exec_prefix}/lib64"
5002 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for the directory containing the Wine tools" >&5
5003 $as_echo_n "checking for the directory containing the Wine tools... " >&6; }
5004 if ${wine_cv_toolsdir+:} false
; then :
5005 $as_echo_n "(cached) " >&6
5007 wine_cv_toolsdir
="$with_wine_tools"
5008 if test -z "$with_wine_tools"; then
5009 if test "$cross_compiling" = "yes"; then
5010 as_fn_error $?
"you must use the --with-wine-tools option when cross-compiling." "$LINENO" 5
5011 elif test -n "$with_wine64"; then
5012 wine_cv_toolsdir
="$with_wine64"
5015 if test -z "$wine_cv_toolsdir"; then
5016 wine_makedep
=tools
/makedep
5017 wine_cv_toolsdir
="\$(top_builddir)"
5018 elif test -d "$wine_cv_toolsdir/tools/winebuild"; then
5019 wine_makedep
=$wine_cv_toolsdir/tools
/makedep
5020 case "$wine_cv_toolsdir" in
5022 *) wine_cv_toolsdir
="\$(top_builddir)/$wine_cv_toolsdir" ;;
5024 enable_tools
=${enable_tools:-no}
5025 test -f "$wine_makedep" || as_fn_error $?
"the Wine tools have not yet been built in $wine_cv_toolsdir" "$LINENO" 5
5027 as_fn_error $?
"could not find Wine tools in $wine_cv_toolsdir" "$LINENO" 5
5030 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_toolsdir" >&5
5031 $as_echo "$wine_cv_toolsdir" >&6; }
5032 TOOLSDIR
=$wine_cv_toolsdir
5034 if test -n "$host_alias" -a "$host_alias" != "$build_alias"
5036 TARGETFLAGS
="-b $host_alias $TARGETFLAGS"
5042 # Extract the first word of "$ac_prog", so it can be a program name with args.
5043 set dummy
$ac_prog; ac_word
=$2
5044 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5045 $as_echo_n "checking for $ac_word... " >&6; }
5046 if ${ac_cv_prog_FLEX+:} false
; then :
5047 $as_echo_n "(cached) " >&6
5049 if test -n "$FLEX"; then
5050 ac_cv_prog_FLEX
="$FLEX" # Let the user override the test.
5052 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5056 test -z "$as_dir" && as_dir
=.
5057 for ac_exec_ext
in '' $ac_executable_extensions; do
5058 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
5059 ac_cv_prog_FLEX
="$ac_prog"
5060 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5069 FLEX
=$ac_cv_prog_FLEX
5070 if test -n "$FLEX"; then
5071 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $FLEX" >&5
5072 $as_echo "$FLEX" >&6; }
5074 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5075 $as_echo "no" >&6; }
5079 test -n "$FLEX" && break
5081 test -n "$FLEX" || FLEX
="none"
5083 if test "$FLEX" = "none"
5085 as_fn_error $?
"no suitable flex found. Please install the 'flex' package." "$LINENO" 5
5087 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether flex is recent enough" >&5
5088 $as_echo_n "checking whether flex is recent enough... " >&6; }
5089 cat >conftest.l
<<EOF
5091 #include "prediluvian.h"
5095 if $FLEX -t conftest.l
>/dev
/null
2>&5
5097 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5098 $as_echo "yes" >&6; }
5100 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5101 $as_echo "no" >&6; }
5102 as_fn_error $?
"Your flex version is too old. Please install flex version 2.5.33 or newer." "$LINENO" 5
5105 for ac_prog
in bison
5107 # Extract the first word of "$ac_prog", so it can be a program name with args.
5108 set dummy
$ac_prog; ac_word
=$2
5109 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5110 $as_echo_n "checking for $ac_word... " >&6; }
5111 if ${ac_cv_prog_BISON+:} false
; then :
5112 $as_echo_n "(cached) " >&6
5114 if test -n "$BISON"; then
5115 ac_cv_prog_BISON
="$BISON" # Let the user override the test.
5117 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5121 test -z "$as_dir" && as_dir
=.
5122 for ac_exec_ext
in '' $ac_executable_extensions; do
5123 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
5124 ac_cv_prog_BISON
="$ac_prog"
5125 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5134 BISON
=$ac_cv_prog_BISON
5135 if test -n "$BISON"; then
5136 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $BISON" >&5
5137 $as_echo "$BISON" >&6; }
5139 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5140 $as_echo "no" >&6; }
5144 test -n "$BISON" && break
5146 test -n "$BISON" || BISON
="none"
5148 if test "$BISON" = "none"
5150 as_fn_error $?
"no suitable bison found. Please install the 'bison' package." "$LINENO" 5
5153 if test -n "$ac_tool_prefix"; then
5154 for ac_prog
in ar gar
5156 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
5157 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
5158 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5159 $as_echo_n "checking for $ac_word... " >&6; }
5160 if ${ac_cv_prog_AR+:} false
; then :
5161 $as_echo_n "(cached) " >&6
5163 if test -n "$AR"; then
5164 ac_cv_prog_AR
="$AR" # Let the user override the test.
5166 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5170 test -z "$as_dir" && as_dir
=.
5171 for ac_exec_ext
in '' $ac_executable_extensions; do
5172 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
5173 ac_cv_prog_AR
="$ac_tool_prefix$ac_prog"
5174 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5184 if test -n "$AR"; then
5185 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
5186 $as_echo "$AR" >&6; }
5188 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5189 $as_echo "no" >&6; }
5193 test -n "$AR" && break
5196 if test -z "$AR"; then
5198 for ac_prog
in ar gar
5200 # Extract the first word of "$ac_prog", so it can be a program name with args.
5201 set dummy
$ac_prog; ac_word
=$2
5202 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5203 $as_echo_n "checking for $ac_word... " >&6; }
5204 if ${ac_cv_prog_ac_ct_AR+:} false
; then :
5205 $as_echo_n "(cached) " >&6
5207 if test -n "$ac_ct_AR"; then
5208 ac_cv_prog_ac_ct_AR
="$ac_ct_AR" # Let the user override the test.
5210 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5214 test -z "$as_dir" && as_dir
=.
5215 for ac_exec_ext
in '' $ac_executable_extensions; do
5216 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
5217 ac_cv_prog_ac_ct_AR
="$ac_prog"
5218 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5227 ac_ct_AR
=$ac_cv_prog_ac_ct_AR
5228 if test -n "$ac_ct_AR"; then
5229 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5
5230 $as_echo "$ac_ct_AR" >&6; }
5232 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5233 $as_echo "no" >&6; }
5237 test -n "$ac_ct_AR" && break
5240 if test "x$ac_ct_AR" = x
; then
5243 case $cross_compiling:$ac_tool_warned in
5245 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5246 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5247 ac_tool_warned
=yes ;;
5253 if test -n "$ac_tool_prefix"; then
5254 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
5255 set dummy
${ac_tool_prefix}strip
; ac_word
=$2
5256 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5257 $as_echo_n "checking for $ac_word... " >&6; }
5258 if ${ac_cv_prog_STRIP+:} false
; then :
5259 $as_echo_n "(cached) " >&6
5261 if test -n "$STRIP"; then
5262 ac_cv_prog_STRIP
="$STRIP" # Let the user override the test.
5264 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5268 test -z "$as_dir" && as_dir
=.
5269 for ac_exec_ext
in '' $ac_executable_extensions; do
5270 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
5271 ac_cv_prog_STRIP
="${ac_tool_prefix}strip"
5272 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5281 STRIP
=$ac_cv_prog_STRIP
5282 if test -n "$STRIP"; then
5283 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
5284 $as_echo "$STRIP" >&6; }
5286 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5287 $as_echo "no" >&6; }
5292 if test -z "$ac_cv_prog_STRIP"; then
5294 # Extract the first word of "strip", so it can be a program name with args.
5295 set dummy strip
; ac_word
=$2
5296 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5297 $as_echo_n "checking for $ac_word... " >&6; }
5298 if ${ac_cv_prog_ac_ct_STRIP+:} false
; then :
5299 $as_echo_n "(cached) " >&6
5301 if test -n "$ac_ct_STRIP"; then
5302 ac_cv_prog_ac_ct_STRIP
="$ac_ct_STRIP" # Let the user override the test.
5304 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5308 test -z "$as_dir" && as_dir
=.
5309 for ac_exec_ext
in '' $ac_executable_extensions; do
5310 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
5311 ac_cv_prog_ac_ct_STRIP
="strip"
5312 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5321 ac_ct_STRIP
=$ac_cv_prog_ac_ct_STRIP
5322 if test -n "$ac_ct_STRIP"; then
5323 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
5324 $as_echo "$ac_ct_STRIP" >&6; }
5326 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5327 $as_echo "no" >&6; }
5330 if test "x$ac_ct_STRIP" = x
; then
5333 case $cross_compiling:$ac_tool_warned in
5335 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5336 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5337 ac_tool_warned
=yes ;;
5342 STRIP
="$ac_cv_prog_STRIP"
5347 if test -n "$ac_tool_prefix"; then
5348 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
5349 set dummy
${ac_tool_prefix}ranlib
; ac_word
=$2
5350 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5351 $as_echo_n "checking for $ac_word... " >&6; }
5352 if ${ac_cv_prog_RANLIB+:} false
; then :
5353 $as_echo_n "(cached) " >&6
5355 if test -n "$RANLIB"; then
5356 ac_cv_prog_RANLIB
="$RANLIB" # Let the user override the test.
5358 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5362 test -z "$as_dir" && as_dir
=.
5363 for ac_exec_ext
in '' $ac_executable_extensions; do
5364 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
5365 ac_cv_prog_RANLIB
="${ac_tool_prefix}ranlib"
5366 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5375 RANLIB
=$ac_cv_prog_RANLIB
5376 if test -n "$RANLIB"; then
5377 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
5378 $as_echo "$RANLIB" >&6; }
5380 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5381 $as_echo "no" >&6; }
5386 if test -z "$ac_cv_prog_RANLIB"; then
5387 ac_ct_RANLIB
=$RANLIB
5388 # Extract the first word of "ranlib", so it can be a program name with args.
5389 set dummy ranlib
; ac_word
=$2
5390 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5391 $as_echo_n "checking for $ac_word... " >&6; }
5392 if ${ac_cv_prog_ac_ct_RANLIB+:} false
; then :
5393 $as_echo_n "(cached) " >&6
5395 if test -n "$ac_ct_RANLIB"; then
5396 ac_cv_prog_ac_ct_RANLIB
="$ac_ct_RANLIB" # Let the user override the test.
5398 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5402 test -z "$as_dir" && as_dir
=.
5403 for ac_exec_ext
in '' $ac_executable_extensions; do
5404 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
5405 ac_cv_prog_ac_ct_RANLIB
="ranlib"
5406 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5415 ac_ct_RANLIB
=$ac_cv_prog_ac_ct_RANLIB
5416 if test -n "$ac_ct_RANLIB"; then
5417 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
5418 $as_echo "$ac_ct_RANLIB" >&6; }
5420 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5421 $as_echo "no" >&6; }
5424 if test "x$ac_ct_RANLIB" = x
; then
5427 case $cross_compiling:$ac_tool_warned in
5429 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5430 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5431 ac_tool_warned
=yes ;;
5433 RANLIB
=$ac_ct_RANLIB
5436 RANLIB
="$ac_cv_prog_RANLIB"
5439 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5
5440 $as_echo_n "checking whether ln -s works... " >&6; }
5442 if test "$LN_S" = "ln -s"; then
5443 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5444 $as_echo "yes" >&6; }
5446 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5
5447 $as_echo "no, using $LN_S" >&6; }
5450 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
5451 $as_echo_n "checking for grep that handles long lines and -e... " >&6; }
5452 if ${ac_cv_path_GREP+:} false
; then :
5453 $as_echo_n "(cached) " >&6
5455 if test -z "$GREP"; then
5456 ac_path_GREP_found
=false
5457 # Loop through the user's path and test for each of PROGNAME-LIST
5458 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5459 for as_dir
in $PATH$PATH_SEPARATOR/usr
/xpg
4/bin
5462 test -z "$as_dir" && as_dir
=.
5463 for ac_prog
in grep ggrep
; do
5464 for ac_exec_ext
in '' $ac_executable_extensions; do
5465 ac_path_GREP
="$as_dir/$ac_prog$ac_exec_ext"
5466 as_fn_executable_p
"$ac_path_GREP" ||
continue
5467 # Check for GNU ac_path_GREP and select it if it is found.
5468 # Check for GNU $ac_path_GREP
5469 case `"$ac_path_GREP" --version 2>&1` in
5471 ac_cv_path_GREP
="$ac_path_GREP" ac_path_GREP_found
=:;;
5474 $as_echo_n 0123456789 >"conftest.in"
5477 cat "conftest.in" "conftest.in" >"conftest.tmp"
5478 mv "conftest.tmp" "conftest.in"
5479 cp "conftest.in" "conftest.nl"
5480 $as_echo 'GREP' >> "conftest.nl"
5481 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev
/null ||
break
5482 diff "conftest.out" "conftest.nl" >/dev
/null
2>&1 ||
break
5483 as_fn_arith
$ac_count + 1 && ac_count
=$as_val
5484 if test $ac_count -gt ${ac_path_GREP_max-0}; then
5485 # Best one so far, save it but keep looking for a better one
5486 ac_cv_path_GREP
="$ac_path_GREP"
5487 ac_path_GREP_max
=$ac_count
5489 # 10*(2^10) chars as input seems more than enough
5490 test $ac_count -gt 10 && break
5492 rm -f conftest.
in conftest.tmp conftest.
nl conftest.out
;;
5495 $ac_path_GREP_found && break 3
5500 if test -z "$ac_cv_path_GREP"; then
5501 as_fn_error $?
"no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
5504 ac_cv_path_GREP
=$GREP
5508 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
5509 $as_echo "$ac_cv_path_GREP" >&6; }
5510 GREP
="$ac_cv_path_GREP"
5513 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
5514 $as_echo_n "checking for egrep... " >&6; }
5515 if ${ac_cv_path_EGREP+:} false
; then :
5516 $as_echo_n "(cached) " >&6
5518 if echo a |
$GREP -E '(a|b)' >/dev
/null
2>&1
5519 then ac_cv_path_EGREP
="$GREP -E"
5521 if test -z "$EGREP"; then
5522 ac_path_EGREP_found
=false
5523 # Loop through the user's path and test for each of PROGNAME-LIST
5524 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5525 for as_dir
in $PATH$PATH_SEPARATOR/usr
/xpg
4/bin
5528 test -z "$as_dir" && as_dir
=.
5529 for ac_prog
in egrep; do
5530 for ac_exec_ext
in '' $ac_executable_extensions; do
5531 ac_path_EGREP
="$as_dir/$ac_prog$ac_exec_ext"
5532 as_fn_executable_p
"$ac_path_EGREP" ||
continue
5533 # Check for GNU ac_path_EGREP and select it if it is found.
5534 # Check for GNU $ac_path_EGREP
5535 case `"$ac_path_EGREP" --version 2>&1` in
5537 ac_cv_path_EGREP
="$ac_path_EGREP" ac_path_EGREP_found
=:;;
5540 $as_echo_n 0123456789 >"conftest.in"
5543 cat "conftest.in" "conftest.in" >"conftest.tmp"
5544 mv "conftest.tmp" "conftest.in"
5545 cp "conftest.in" "conftest.nl"
5546 $as_echo 'EGREP' >> "conftest.nl"
5547 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev
/null ||
break
5548 diff "conftest.out" "conftest.nl" >/dev
/null
2>&1 ||
break
5549 as_fn_arith
$ac_count + 1 && ac_count
=$as_val
5550 if test $ac_count -gt ${ac_path_EGREP_max-0}; then
5551 # Best one so far, save it but keep looking for a better one
5552 ac_cv_path_EGREP
="$ac_path_EGREP"
5553 ac_path_EGREP_max
=$ac_count
5555 # 10*(2^10) chars as input seems more than enough
5556 test $ac_count -gt 10 && break
5558 rm -f conftest.
in conftest.tmp conftest.
nl conftest.out
;;
5561 $ac_path_EGREP_found && break 3
5566 if test -z "$ac_cv_path_EGREP"; then
5567 as_fn_error $?
"no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
5570 ac_cv_path_EGREP
=$EGREP
5575 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
5576 $as_echo "$ac_cv_path_EGREP" >&6; }
5577 EGREP
="$ac_cv_path_EGREP"
5580 # Extract the first word of "ldconfig", so it can be a program name with args.
5581 set dummy ldconfig
; ac_word
=$2
5582 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5583 $as_echo_n "checking for $ac_word... " >&6; }
5584 if ${ac_cv_path_LDCONFIG+:} false
; then :
5585 $as_echo_n "(cached) " >&6
5589 ac_cv_path_LDCONFIG
="$LDCONFIG" # Let the user override the test with a path.
5592 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5593 for as_dir
in /sbin
/usr
/sbin
$PATH
5596 test -z "$as_dir" && as_dir
=.
5597 for ac_exec_ext
in '' $ac_executable_extensions; do
5598 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
5599 ac_cv_path_LDCONFIG
="$as_dir/$ac_word$ac_exec_ext"
5600 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5607 test -z "$ac_cv_path_LDCONFIG" && ac_cv_path_LDCONFIG
="true"
5611 LDCONFIG
=$ac_cv_path_LDCONFIG
5612 if test -n "$LDCONFIG"; then
5613 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LDCONFIG" >&5
5614 $as_echo "$LDCONFIG" >&6; }
5616 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5617 $as_echo "no" >&6; }
5621 for ac_prog
in msgfmt
5623 # Extract the first word of "$ac_prog", so it can be a program name with args.
5624 set dummy
$ac_prog; ac_word
=$2
5625 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5626 $as_echo_n "checking for $ac_word... " >&6; }
5627 if ${ac_cv_prog_MSGFMT+:} false
; then :
5628 $as_echo_n "(cached) " >&6
5630 if test -n "$MSGFMT"; then
5631 ac_cv_prog_MSGFMT
="$MSGFMT" # Let the user override the test.
5633 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5637 test -z "$as_dir" && as_dir
=.
5638 for ac_exec_ext
in '' $ac_executable_extensions; do
5639 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
5640 ac_cv_prog_MSGFMT
="$ac_prog"
5641 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5650 MSGFMT
=$ac_cv_prog_MSGFMT
5651 if test -n "$MSGFMT"; then
5652 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MSGFMT" >&5
5653 $as_echo "$MSGFMT" >&6; }
5655 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5656 $as_echo "no" >&6; }
5660 test -n "$MSGFMT" && break
5662 test -n "$MSGFMT" || MSGFMT
="false"
5664 if ${ac_tool_prefix+:} false
; then :
5665 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
5666 set dummy
${ac_tool_prefix}pkg-config
; ac_word
=$2
5667 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5668 $as_echo_n "checking for $ac_word... " >&6; }
5669 if ${ac_cv_prog_PKG_CONFIG+:} false
; then :
5670 $as_echo_n "(cached) " >&6
5672 if test -n "$PKG_CONFIG"; then
5673 ac_cv_prog_PKG_CONFIG
="$PKG_CONFIG" # Let the user override the test.
5675 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5679 test -z "$as_dir" && as_dir
=.
5680 for ac_exec_ext
in '' $ac_executable_extensions; do
5681 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
5682 ac_cv_prog_PKG_CONFIG
="${ac_tool_prefix}pkg-config"
5683 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5692 PKG_CONFIG
=$ac_cv_prog_PKG_CONFIG
5693 if test -n "$PKG_CONFIG"; then
5694 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
5695 $as_echo "$PKG_CONFIG" >&6; }
5697 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5698 $as_echo "no" >&6; }
5703 if ${ac_cv_prog_PKG_CONFIG:+false} :; then :
5704 if test "x$cross_compiling" = xyes
; then :
5707 { ac_cv_prog_PKG_CONFIG
=; unset ac_cv_prog_PKG_CONFIG
;}
5708 # Extract the first word of "pkg-config", so it can be a program name with args.
5709 set dummy pkg-config
; ac_word
=$2
5710 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5711 $as_echo_n "checking for $ac_word... " >&6; }
5712 if ${ac_cv_prog_PKG_CONFIG+:} false
; then :
5713 $as_echo_n "(cached) " >&6
5715 if test -n "$PKG_CONFIG"; then
5716 ac_cv_prog_PKG_CONFIG
="$PKG_CONFIG" # Let the user override the test.
5718 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5722 test -z "$as_dir" && as_dir
=.
5723 for ac_exec_ext
in '' $ac_executable_extensions; do
5724 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
5725 ac_cv_prog_PKG_CONFIG
="pkg-config"
5726 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5735 PKG_CONFIG
=$ac_cv_prog_PKG_CONFIG
5736 if test -n "$PKG_CONFIG"; then
5737 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
5738 $as_echo "$PKG_CONFIG" >&6; }
5740 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5741 $as_echo "no" >&6; }
5747 PKG_CONFIG
=$ac_cv_prog_PKG_CONFIG
5750 if test "x$enable_maintainer_mode" != "xyes"
5757 test "$srcdir" = . || as_fn_error $?
"Maintainer mode cannot work out of tree." "$LINENO" 5
5758 for ac_prog
in fontforge
5760 # Extract the first word of "$ac_prog", so it can be a program name with args.
5761 set dummy
$ac_prog; ac_word
=$2
5762 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5763 $as_echo_n "checking for $ac_word... " >&6; }
5764 if ${ac_cv_prog_FONTFORGE+:} false
; then :
5765 $as_echo_n "(cached) " >&6
5767 if test -n "$FONTFORGE"; then
5768 ac_cv_prog_FONTFORGE
="$FONTFORGE" # Let the user override the test.
5770 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5774 test -z "$as_dir" && as_dir
=.
5775 for ac_exec_ext
in '' $ac_executable_extensions; do
5776 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
5777 ac_cv_prog_FONTFORGE
="$ac_prog"
5778 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5787 FONTFORGE
=$ac_cv_prog_FONTFORGE
5788 if test -n "$FONTFORGE"; then
5789 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $FONTFORGE" >&5
5790 $as_echo "$FONTFORGE" >&6; }
5792 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5793 $as_echo "no" >&6; }
5797 test -n "$FONTFORGE" && break
5799 test -n "$FONTFORGE" || FONTFORGE
="false"
5801 for ac_prog
in rsvg-convert rsvg
5803 # Extract the first word of "$ac_prog", so it can be a program name with args.
5804 set dummy
$ac_prog; ac_word
=$2
5805 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5806 $as_echo_n "checking for $ac_word... " >&6; }
5807 if ${ac_cv_prog_RSVG+:} false
; then :
5808 $as_echo_n "(cached) " >&6
5810 if test -n "$RSVG"; then
5811 ac_cv_prog_RSVG
="$RSVG" # Let the user override the test.
5813 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5817 test -z "$as_dir" && as_dir
=.
5818 for ac_exec_ext
in '' $ac_executable_extensions; do
5819 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
5820 ac_cv_prog_RSVG
="$ac_prog"
5821 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5830 RSVG
=$ac_cv_prog_RSVG
5831 if test -n "$RSVG"; then
5832 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RSVG" >&5
5833 $as_echo "$RSVG" >&6; }
5835 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5836 $as_echo "no" >&6; }
5840 test -n "$RSVG" && break
5842 test -n "$RSVG" || RSVG
="false"
5844 for ac_prog
in convert
5846 # Extract the first word of "$ac_prog", so it can be a program name with args.
5847 set dummy
$ac_prog; ac_word
=$2
5848 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5849 $as_echo_n "checking for $ac_word... " >&6; }
5850 if ${ac_cv_prog_CONVERT+:} false
; then :
5851 $as_echo_n "(cached) " >&6
5853 if test -n "$CONVERT"; then
5854 ac_cv_prog_CONVERT
="$CONVERT" # Let the user override the test.
5856 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5860 test -z "$as_dir" && as_dir
=.
5861 for ac_exec_ext
in '' $ac_executable_extensions; do
5862 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
5863 ac_cv_prog_CONVERT
="$ac_prog"
5864 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5873 CONVERT
=$ac_cv_prog_CONVERT
5874 if test -n "$CONVERT"; then
5875 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CONVERT" >&5
5876 $as_echo "$CONVERT" >&6; }
5878 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5879 $as_echo "no" >&6; }
5883 test -n "$CONVERT" && break
5885 test -n "$CONVERT" || CONVERT
="false"
5887 for ac_prog
in icotool
5889 # Extract the first word of "$ac_prog", so it can be a program name with args.
5890 set dummy
$ac_prog; ac_word
=$2
5891 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5892 $as_echo_n "checking for $ac_word... " >&6; }
5893 if ${ac_cv_prog_ICOTOOL+:} false
; then :
5894 $as_echo_n "(cached) " >&6
5896 if test -n "$ICOTOOL"; then
5897 ac_cv_prog_ICOTOOL
="$ICOTOOL" # Let the user override the test.
5899 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5903 test -z "$as_dir" && as_dir
=.
5904 for ac_exec_ext
in '' $ac_executable_extensions; do
5905 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
5906 ac_cv_prog_ICOTOOL
="$ac_prog"
5907 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5916 ICOTOOL
=$ac_cv_prog_ICOTOOL
5917 if test -n "$ICOTOOL"; then
5918 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ICOTOOL" >&5
5919 $as_echo "$ICOTOOL" >&6; }
5921 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5922 $as_echo "no" >&6; }
5926 test -n "$ICOTOOL" && break
5928 test -n "$ICOTOOL" || ICOTOOL
="false"
5930 test "$FONTFORGE" != "false" || as_fn_error $?
"You need fontforge to rebuild fonts in maintainer mode." "$LINENO" 5
5931 test "$RSVG" != "false" || as_fn_error $?
"You need rsvg to rebuild icons in maintainer mode." "$LINENO" 5
5933 if test "$CONVERT" = false
5935 as_fn_error $?
"You need imagemagick to rebuild icons in maintainer mode." "$LINENO" 5
5937 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for recent enough imagemagick" >&5
5938 $as_echo_n "checking for recent enough imagemagick... " >&6; }
5939 convert_version
=`convert --version | head -n1`
5940 if test "x$convert_version" != "x"
5942 convert_version_major
=`expr "$convert_version" : '.* \([0-9]*\)\.[0-9]*'`
5943 convert_version_minor
=`expr "$convert_version" : '.* [0-9]*\.\([0-9]*\)'`
5944 if test "$convert_version_major" -eq 6 -a "$convert_version_minor" -lt 6
5949 if test "$CONVERT" = false
5951 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no ($convert_version_major.$convert_version_minor)" >&5
5952 $as_echo "no ($convert_version_major.$convert_version_minor)" >&6; }
5953 as_fn_error $?
"You need imagemagick version 6.6 or newer to rebuild icons in maintainer mode." "$LINENO" 5
5955 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes ($convert_version_major.$convert_version_minor)" >&5
5956 $as_echo "yes ($convert_version_major.$convert_version_minor)" >&6; }
5960 if test "$ICOTOOL" = false
5962 as_fn_error $?
"You need icotool to rebuild icons in maintainer mode." "$LINENO" 5
5964 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for recent enough icotool" >&5
5965 $as_echo_n "checking for recent enough icotool... " >&6; }
5966 icotool_version
=`icotool --version | head -n1`
5967 if test "x$icotool_version" != "x"
5969 icotool_version_major
=`expr "$icotool_version" : '.* \([0-9]*\)\.[0-9]*'`
5970 icotool_version_minor
=`expr "$icotool_version" : '.* [0-9]*\.\([0-9]*\)'`
5971 if test "$icotool_version_major" -eq 0 -a "$icotool_version_minor" -lt 29
5974 as_fn_append wine_warnings
"|icotool version 0.29.0 or newer is needed to rebuild icons."
5977 if test "$ICOTOOL" = false
5979 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no ($icotool_version_major.$icotool_version_minor)" >&5
5980 $as_echo "no ($icotool_version_major.$icotool_version_minor)" >&6; }
5981 as_fn_error $?
"You need icotool version 0.29.0 or newer to rebuild icons in maintainer mode." "$LINENO" 5
5983 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes ($icotool_version_major.$icotool_version_minor)" >&5
5984 $as_echo "yes ($icotool_version_major.$icotool_version_minor)" >&6; }
5990 { ac_cv_header_gettext_po_h
=; unset ac_cv_header_gettext_po_h
;}
5993 test "x$with_gettext" != xno || MSGFMT
=false
5994 if test "$MSGFMT" != "false"
5996 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether msgfmt supports contexts" >&5
5997 $as_echo_n "checking whether msgfmt supports contexts... " >&6; }
5998 cat >conftest.po
<<EOF
6004 if $MSGFMT -o /dev
/null conftest.po
2>&5
6006 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
6007 $as_echo "yes" >&6; }
6009 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6010 $as_echo "no" >&6; }
6014 if test "$MSGFMT" = false
; then :
6015 case "x$with_gettext" in
6016 x
) as_fn_append wine_warnings
"|gettext tools not found (or too old), translations won't be built." ;;
6018 *) as_fn_error $?
"gettext tools not found (or too old), translations won't be built.
6019 This is an error since --with-gettext was requested." "$LINENO" 5 ;;
6024 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for i386_set_ldt in -li386" >&5
6025 $as_echo_n "checking for i386_set_ldt in -li386... " >&6; }
6026 if ${ac_cv_lib_i386_i386_set_ldt+:} false
; then :
6027 $as_echo_n "(cached) " >&6
6029 ac_check_lib_save_LIBS
=$LIBS
6031 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6032 /* end confdefs.h. */
6034 /* Override any GCC internal prototype to avoid an error.
6035 Use char because int might match the return type of a GCC
6036 builtin and then its argument prototype would still apply. */
6040 char i386_set_ldt ();
6044 return i386_set_ldt ();
6049 if ac_fn_c_try_link
"$LINENO"; then :
6050 ac_cv_lib_i386_i386_set_ldt
=yes
6052 ac_cv_lib_i386_i386_set_ldt
=no
6054 rm -f core conftest.err conftest.
$ac_objext \
6055 conftest
$ac_exeext conftest.
$ac_ext
6056 LIBS
=$ac_check_lib_save_LIBS
6058 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_i386_i386_set_ldt" >&5
6059 $as_echo "$ac_cv_lib_i386_i386_set_ldt" >&6; }
6060 if test "x$ac_cv_lib_i386_i386_set_ldt" = xyes
; then :
6061 cat >>confdefs.h
<<_ACEOF
6062 #define HAVE_LIBI386 1
6069 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _oss_ioctl in -lossaudio" >&5
6070 $as_echo_n "checking for _oss_ioctl in -lossaudio... " >&6; }
6071 if ${ac_cv_lib_ossaudio__oss_ioctl+:} false
; then :
6072 $as_echo_n "(cached) " >&6
6074 ac_check_lib_save_LIBS
=$LIBS
6075 LIBS
="-lossaudio $LIBS"
6076 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6077 /* end confdefs.h. */
6079 /* Override any GCC internal prototype to avoid an error.
6080 Use char because int might match the return type of a GCC
6081 builtin and then its argument prototype would still apply. */
6089 return _oss_ioctl ();
6094 if ac_fn_c_try_link
"$LINENO"; then :
6095 ac_cv_lib_ossaudio__oss_ioctl
=yes
6097 ac_cv_lib_ossaudio__oss_ioctl
=no
6099 rm -f core conftest.err conftest.
$ac_objext \
6100 conftest
$ac_exeext conftest.
$ac_ext
6101 LIBS
=$ac_check_lib_save_LIBS
6103 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ossaudio__oss_ioctl" >&5
6104 $as_echo "$ac_cv_lib_ossaudio__oss_ioctl" >&6; }
6105 if test "x$ac_cv_lib_ossaudio__oss_ioctl" = xyes
; then :
6106 cat >>confdefs.h
<<_ACEOF
6107 #define HAVE_LIBOSSAUDIO 1
6110 LIBS
="-lossaudio $LIBS"
6119 # Check whether --enable-largefile was given.
6120 if test "${enable_largefile+set}" = set; then :
6121 enableval
=$enable_largefile;
6124 if test "$enable_largefile" != no
; then
6126 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for special C compiler options needed for large files" >&5
6127 $as_echo_n "checking for special C compiler options needed for large files... " >&6; }
6128 if ${ac_cv_sys_largefile_CC+:} false
; then :
6129 $as_echo_n "(cached) " >&6
6131 ac_cv_sys_largefile_CC
=no
6132 if test "$GCC" != yes; then
6135 # IRIX 6.2 and later do not support large files by default,
6136 # so use the C compiler's -n32 option if that helps.
6137 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6138 /* end confdefs.h. */
6139 #include <sys/types.h>
6140 /* Check that off_t can represent 2**63 - 1 correctly.
6141 We can't simply define LARGE_OFF_T to be 9223372036854775807,
6142 since some C++ compilers masquerading as C compilers
6143 incorrectly reject 9223372036854775807. */
6144 #define LARGE_OFF_T ((((off_t) 1 << 31) << 31) - 1 + (((off_t) 1 << 31) << 31))
6145 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
6146 && LARGE_OFF_T % 2147483647 == 1)
6156 if ac_fn_c_try_compile
"$LINENO"; then :
6159 rm -f core conftest.err conftest.
$ac_objext
6161 if ac_fn_c_try_compile
"$LINENO"; then :
6162 ac_cv_sys_largefile_CC
=' -n32'; break
6164 rm -f core conftest.err conftest.
$ac_objext
6168 rm -f conftest.
$ac_ext
6171 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_largefile_CC" >&5
6172 $as_echo "$ac_cv_sys_largefile_CC" >&6; }
6173 if test "$ac_cv_sys_largefile_CC" != no
; then
6174 CC
=$CC$ac_cv_sys_largefile_CC
6177 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _FILE_OFFSET_BITS value needed for large files" >&5
6178 $as_echo_n "checking for _FILE_OFFSET_BITS value needed for large files... " >&6; }
6179 if ${ac_cv_sys_file_offset_bits+:} false
; then :
6180 $as_echo_n "(cached) " >&6
6183 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6184 /* end confdefs.h. */
6185 #include <sys/types.h>
6186 /* Check that off_t can represent 2**63 - 1 correctly.
6187 We can't simply define LARGE_OFF_T to be 9223372036854775807,
6188 since some C++ compilers masquerading as C compilers
6189 incorrectly reject 9223372036854775807. */
6190 #define LARGE_OFF_T ((((off_t) 1 << 31) << 31) - 1 + (((off_t) 1 << 31) << 31))
6191 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
6192 && LARGE_OFF_T % 2147483647 == 1)
6202 if ac_fn_c_try_compile
"$LINENO"; then :
6203 ac_cv_sys_file_offset_bits
=no
; break
6205 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
6206 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6207 /* end confdefs.h. */
6208 #define _FILE_OFFSET_BITS 64
6209 #include <sys/types.h>
6210 /* Check that off_t can represent 2**63 - 1 correctly.
6211 We can't simply define LARGE_OFF_T to be 9223372036854775807,
6212 since some C++ compilers masquerading as C compilers
6213 incorrectly reject 9223372036854775807. */
6214 #define LARGE_OFF_T ((((off_t) 1 << 31) << 31) - 1 + (((off_t) 1 << 31) << 31))
6215 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
6216 && LARGE_OFF_T % 2147483647 == 1)
6226 if ac_fn_c_try_compile
"$LINENO"; then :
6227 ac_cv_sys_file_offset_bits
=64; break
6229 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
6230 ac_cv_sys_file_offset_bits
=unknown
6234 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_file_offset_bits" >&5
6235 $as_echo "$ac_cv_sys_file_offset_bits" >&6; }
6236 case $ac_cv_sys_file_offset_bits in #(
6239 cat >>confdefs.h
<<_ACEOF
6240 #define _FILE_OFFSET_BITS $ac_cv_sys_file_offset_bits
6245 if test $ac_cv_sys_file_offset_bits = unknown
; then
6246 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _LARGE_FILES value needed for large files" >&5
6247 $as_echo_n "checking for _LARGE_FILES value needed for large files... " >&6; }
6248 if ${ac_cv_sys_large_files+:} false
; then :
6249 $as_echo_n "(cached) " >&6
6252 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6253 /* end confdefs.h. */
6254 #include <sys/types.h>
6255 /* Check that off_t can represent 2**63 - 1 correctly.
6256 We can't simply define LARGE_OFF_T to be 9223372036854775807,
6257 since some C++ compilers masquerading as C compilers
6258 incorrectly reject 9223372036854775807. */
6259 #define LARGE_OFF_T ((((off_t) 1 << 31) << 31) - 1 + (((off_t) 1 << 31) << 31))
6260 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
6261 && LARGE_OFF_T % 2147483647 == 1)
6271 if ac_fn_c_try_compile
"$LINENO"; then :
6272 ac_cv_sys_large_files
=no
; break
6274 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
6275 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6276 /* end confdefs.h. */
6277 #define _LARGE_FILES 1
6278 #include <sys/types.h>
6279 /* Check that off_t can represent 2**63 - 1 correctly.
6280 We can't simply define LARGE_OFF_T to be 9223372036854775807,
6281 since some C++ compilers masquerading as C compilers
6282 incorrectly reject 9223372036854775807. */
6283 #define LARGE_OFF_T ((((off_t) 1 << 31) << 31) - 1 + (((off_t) 1 << 31) << 31))
6284 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
6285 && LARGE_OFF_T % 2147483647 == 1)
6295 if ac_fn_c_try_compile
"$LINENO"; then :
6296 ac_cv_sys_large_files
=1; break
6298 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
6299 ac_cv_sys_large_files
=unknown
6303 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_large_files" >&5
6304 $as_echo "$ac_cv_sys_large_files" >&6; }
6305 case $ac_cv_sys_large_files in #(
6308 cat >>confdefs.h
<<_ACEOF
6309 #define _LARGE_FILES $ac_cv_sys_large_files
6321 ac_cpp
='$CPP $CPPFLAGS'
6322 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6323 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6324 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
6325 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
6326 $as_echo_n "checking how to run the C preprocessor... " >&6; }
6327 # On Suns, sometimes $CPP names a directory.
6328 if test -n "$CPP" && test -d "$CPP"; then
6331 if test -z "$CPP"; then
6332 if ${ac_cv_prog_CPP+:} false
; then :
6333 $as_echo_n "(cached) " >&6
6335 # Double quotes because CPP needs to be expanded
6336 for CPP
in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
6339 for ac_c_preproc_warn_flag
in '' yes
6341 # Use a header file that comes with gcc, so configuring glibc
6342 # with a fresh cross-compiler works.
6343 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
6344 # <limits.h> exists even on freestanding compilers.
6345 # On the NeXT, cc -E runs the code through the compiler's parser,
6346 # not just through cpp. "Syntax error" is here to catch this case.
6347 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6348 /* end confdefs.h. */
6350 # include <limits.h>
6352 # include <assert.h>
6356 if ac_fn_c_try_cpp
"$LINENO"; then :
6359 # Broken: fails on valid input.
6362 rm -f conftest.err conftest.i conftest.
$ac_ext
6364 # OK, works on sane cases. Now check whether nonexistent headers
6365 # can be detected and how.
6366 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6367 /* end confdefs.h. */
6368 #include <ac_nonexistent.h>
6370 if ac_fn_c_try_cpp
"$LINENO"; then :
6371 # Broken: success on invalid input.
6374 # Passes both tests.
6378 rm -f conftest.err conftest.i conftest.
$ac_ext
6381 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
6382 rm -f conftest.i conftest.err conftest.
$ac_ext
6383 if $ac_preproc_ok; then :
6395 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
6396 $as_echo "$CPP" >&6; }
6398 for ac_c_preproc_warn_flag
in '' yes
6400 # Use a header file that comes with gcc, so configuring glibc
6401 # with a fresh cross-compiler works.
6402 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
6403 # <limits.h> exists even on freestanding compilers.
6404 # On the NeXT, cc -E runs the code through the compiler's parser,
6405 # not just through cpp. "Syntax error" is here to catch this case.
6406 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6407 /* end confdefs.h. */
6409 # include <limits.h>
6411 # include <assert.h>
6415 if ac_fn_c_try_cpp
"$LINENO"; then :
6418 # Broken: fails on valid input.
6421 rm -f conftest.err conftest.i conftest.
$ac_ext
6423 # OK, works on sane cases. Now check whether nonexistent headers
6424 # can be detected and how.
6425 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6426 /* end confdefs.h. */
6427 #include <ac_nonexistent.h>
6429 if ac_fn_c_try_cpp
"$LINENO"; then :
6430 # Broken: success on invalid input.
6433 # Passes both tests.
6437 rm -f conftest.err conftest.i conftest.
$ac_ext
6440 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
6441 rm -f conftest.i conftest.err conftest.
$ac_ext
6442 if $ac_preproc_ok; then :
6445 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
6446 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
6447 as_fn_error $?
"C preprocessor \"$CPP\" fails sanity check
6448 See \`config.log' for more details" "$LINENO" 5; }
6452 ac_cpp
='$CPP $CPPFLAGS'
6453 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6454 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6455 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
6458 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
6459 $as_echo_n "checking for ANSI C header files... " >&6; }
6460 if ${ac_cv_header_stdc+:} false
; then :
6461 $as_echo_n "(cached) " >&6
6463 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6464 /* end confdefs.h. */
6478 if ac_fn_c_try_compile
"$LINENO"; then :
6479 ac_cv_header_stdc
=yes
6481 ac_cv_header_stdc
=no
6483 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
6485 if test $ac_cv_header_stdc = yes; then
6486 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
6487 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6488 /* end confdefs.h. */
6492 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
6493 $EGREP "memchr" >/dev
/null
2>&1; then :
6496 ac_cv_header_stdc
=no
6502 if test $ac_cv_header_stdc = yes; then
6503 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
6504 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6505 /* end confdefs.h. */
6509 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
6510 $EGREP "free" >/dev
/null
2>&1; then :
6513 ac_cv_header_stdc
=no
6519 if test $ac_cv_header_stdc = yes; then
6520 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
6521 if test "$cross_compiling" = yes; then :
6524 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6525 /* end confdefs.h. */
6528 #if ((' ' & 0x0FF) == 0x020)
6529 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
6530 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
6532 # define ISLOWER(c) \
6533 (('a' <= (c) && (c) <= 'i') \
6534 || ('j' <= (c) && (c) <= 'r') \
6535 || ('s' <= (c) && (c) <= 'z'))
6536 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
6539 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
6544 for (i = 0; i < 256; i++)
6545 if (XOR (islower (i), ISLOWER (i))
6546 || toupper (i) != TOUPPER (i))
6551 if ac_fn_c_try_run
"$LINENO"; then :
6554 ac_cv_header_stdc
=no
6556 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext \
6557 conftest.
$ac_objext conftest.beam conftest.
$ac_ext
6562 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
6563 $as_echo "$ac_cv_header_stdc" >&6; }
6564 if test $ac_cv_header_stdc = yes; then
6566 $as_echo "#define STDC_HEADERS 1" >>confdefs.h
6570 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
6571 for ac_header
in sys
/types.h sys
/stat.h stdlib.h string.h memory.h
strings.h \
6572 inttypes.h stdint.h unistd.h
6574 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
6575 ac_fn_c_check_header_compile
"$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
6577 if eval test \"x\$
"$as_ac_Header"\" = x
"yes"; then :
6578 cat >>confdefs.h
<<_ACEOF
6579 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
6589 ApplicationServices
/ApplicationServices.h \
6590 AudioToolbox
/AudioConverter.h \
6591 AudioUnit
/AudioUnit.h \
6592 AudioUnit
/AudioComponent.h \
6595 CoreAudio
/CoreAudio.h \
6596 CoreServices
/CoreServices.h \
6597 DiskArbitration
/DiskArbitration.h \
6599 IOKit
/hid
/IOHIDLib.h \
6602 QuickTime
/ImageCompression.h \
6603 Security
/Security.h \
6654 netinet
/in_systm.h \
6717 valgrind
/memcheck.h \
6718 valgrind
/valgrind.h \
6722 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
6723 ac_fn_c_check_header_mongrel
"$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
6724 if eval test \"x\$
"$as_ac_Header"\" = x
"yes"; then :
6725 cat >>confdefs.h
<<_ACEOF
6726 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
6733 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether stat file-mode macros are broken" >&5
6734 $as_echo_n "checking whether stat file-mode macros are broken... " >&6; }
6735 if ${ac_cv_header_stat_broken+:} false
; then :
6736 $as_echo_n "(cached) " >&6
6738 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6739 /* end confdefs.h. */
6740 #include <sys/types.h>
6741 #include <sys/stat.h>
6743 #if defined S_ISBLK && defined S_IFDIR
6744 extern char c1[S_ISBLK (S_IFDIR) ? -1 : 1];
6747 #if defined S_ISBLK && defined S_IFCHR
6748 extern char c2[S_ISBLK (S_IFCHR) ? -1 : 1];
6751 #if defined S_ISLNK && defined S_IFREG
6752 extern char c3[S_ISLNK (S_IFREG) ? -1 : 1];
6755 #if defined S_ISSOCK && defined S_IFREG
6756 extern char c4[S_ISSOCK (S_IFREG) ? -1 : 1];
6760 if ac_fn_c_try_compile
"$LINENO"; then :
6761 ac_cv_header_stat_broken
=no
6763 ac_cv_header_stat_broken
=yes
6765 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
6767 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stat_broken" >&5
6768 $as_echo "$ac_cv_header_stat_broken" >&6; }
6769 if test $ac_cv_header_stat_broken = yes; then
6771 $as_echo "#define STAT_MACROS_BROKEN 1" >>confdefs.h
6777 for ac_header
in sys
/mount.h sys
/statfs.h sys
/sysctl.h sys
/user.h sys
/vfs.h
6779 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
6780 ac_fn_c_check_header_compile
"$LINENO" "$ac_header" "$as_ac_Header" "#include <sys/types.h>
6781 #ifdef HAVE_SYS_PARAM_H
6782 # include <sys/param.h>
6785 if eval test \"x\$
"$as_ac_Header"\" = x
"yes"; then :
6786 cat >>confdefs.h
<<_ACEOF
6787 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
6802 netinet
/if_ether.h \
6803 netinet
/if_inarp.h \
6812 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
6813 ac_fn_c_check_header_compile
"$LINENO" "$ac_header" "$as_ac_Header" "#include <sys/types.h>
6814 #ifdef HAVE_SYS_SOCKET_H
6815 # include <sys/socket.h>
6817 #ifdef HAVE_SYS_SOCKETVAR_H
6818 # include <sys/socketvar.h>
6820 #ifdef HAVE_NET_ROUTE_H
6821 # include <net/route.h>
6823 #ifdef HAVE_NETINET_IN_H
6824 # include <netinet/in.h>
6826 #ifdef HAVE_NETINET_IN_SYSTM_H
6827 # include <netinet/in_systm.h>
6829 #ifdef HAVE_NET_IF_H
6830 # include <net/if.h>
6832 #ifdef HAVE_NETINET_IP_H
6833 # include <netinet/ip.h>
6836 if eval test \"x\$
"$as_ac_Header"\" = x
"yes"; then :
6837 cat >>confdefs.h
<<_ACEOF
6838 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
6846 for ac_header
in netinet
/tcp_timer.h netinet
/udp_var.h netinet
/icmp_var.h netinet
/tcp_var.h
6848 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
6849 ac_fn_c_check_header_compile
"$LINENO" "$ac_header" "$as_ac_Header" "#include <sys/types.h>
6853 #ifdef HAVE_SYS_SOCKET_H
6854 # include <sys/socket.h>
6856 #ifdef HAVE_SYS_SOCKETVAR_H
6857 # include <sys/socketvar.h>
6859 #ifdef HAVE_SYS_TIMEOUT_H
6860 # include <sys/timeout.h>
6862 #ifdef HAVE_NETINET_IN_H
6863 # include <netinet/in.h>
6865 #ifdef HAVE_NETINET_IN_SYSTM_H
6866 # include <netinet/in_systm.h>
6868 #ifdef HAVE_NETINET_IP_H
6869 # include <netinet/ip.h>
6871 #ifdef HAVE_NETINET_IP_VAR_H
6872 # include <netinet/ip_var.h>
6874 #ifdef HAVE_NETINET_IP_ICMP_H
6875 # include <netinet/ip_icmp.h>
6877 #ifdef HAVE_NETINET_UDP_H
6878 # include <netinet/udp.h>
6880 #ifdef HAVE_NETINET_TCP_H
6881 # include <netinet/tcp.h>
6883 #ifdef HAVE_NETINET_TCP_TIMER_H
6884 #include <netinet/tcp_timer.h>
6887 if eval test \"x\$
"$as_ac_Header"\" = x
"yes"; then :
6888 cat >>confdefs.h
<<_ACEOF
6889 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
6897 for ac_header
in linux
/ipx.h linux
/irda.h linux
/rtnetlink.h
6899 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
6900 ac_fn_c_check_header_compile
"$LINENO" "$ac_header" "$as_ac_Header" "#include <sys/types.h>
6901 #ifdef HAVE_ASM_TYPES_H
6902 # include <asm/types.h>
6904 #ifdef HAVE_SYS_SOCKET_H
6905 # include <sys/socket.h>
6907 #ifdef HAVE_LINUX_TYPES_H
6908 # include <linux/types.h>
6911 if eval test \"x\$
"$as_ac_Header"\" = x
"yes"; then :
6912 cat >>confdefs.h
<<_ACEOF
6913 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
6921 for ac_header
in mach-o
/dyld_images.h
6923 ac_fn_c_check_header_compile
"$LINENO" "mach-o/dyld_images.h" "ac_cv_header_mach_o_dyld_images_h" "#ifdef HAVE_STDBOOL_H
6924 # include <stdbool.h>
6926 #ifdef HAVE_STDINT_H
6927 # include <stdint.h>
6930 if test "x$ac_cv_header_mach_o_dyld_images_h" = xyes
; then :
6931 cat >>confdefs.h
<<_ACEOF
6932 #define HAVE_MACH_O_DYLD_IMAGES_H 1
6940 for ac_header
in resolv.h
6942 ac_fn_c_check_header_compile
"$LINENO" "resolv.h" "ac_cv_header_resolv_h" "#include <sys/types.h>
6943 #ifdef HAVE_SYS_SOCKET_H
6944 # include <sys/socket.h>
6946 #ifdef HAVE_NETINET_IN_H
6947 # include <netinet/in.h>
6949 #ifdef HAVE_ARPA_NAMESER_H
6950 # include <arpa/nameser.h>
6953 if test "x$ac_cv_header_resolv_h" = xyes
; then :
6954 cat >>confdefs.h
<<_ACEOF
6955 #define HAVE_RESOLV_H 1
6963 for ac_header
in ifaddrs.h
6965 ac_fn_c_check_header_compile
"$LINENO" "ifaddrs.h" "ac_cv_header_ifaddrs_h" "#include <sys/types.h>
6967 if test "x$ac_cv_header_ifaddrs_h" = xyes
; then :
6968 cat >>confdefs.h
<<_ACEOF
6969 #define HAVE_IFADDRS_H 1
6977 for ac_header
in sys
/ucontext.h
6979 ac_fn_c_check_header_compile
"$LINENO" "sys/ucontext.h" "ac_cv_header_sys_ucontext_h" "#include <signal.h>
6981 if test "x$ac_cv_header_sys_ucontext_h" = xyes
; then :
6982 cat >>confdefs.h
<<_ACEOF
6983 #define HAVE_SYS_UCONTEXT_H 1
6991 for ac_header
in sys
/thr.h
6993 ac_fn_c_check_header_compile
"$LINENO" "sys/thr.h" "ac_cv_header_sys_thr_h" "#include <sys/types.h>
6994 #ifdef HAVE_SYS_UCONTEXT_H
6995 #include <sys/ucontext.h>
6998 if test "x$ac_cv_header_sys_thr_h" = xyes
; then :
6999 cat >>confdefs.h
<<_ACEOF
7000 #define HAVE_SYS_THR_H 1
7008 for ac_header
in pthread_np.h
7010 ac_fn_c_check_header_compile
"$LINENO" "pthread_np.h" "ac_cv_header_pthread_np_h" "#ifdef HAVE_PTHREAD_H
7011 #include <pthread.h>
7014 if test "x$ac_cv_header_pthread_np_h" = xyes
; then :
7015 cat >>confdefs.h
<<_ACEOF
7016 #define HAVE_PTHREAD_NP_H 1
7024 for ac_header
in linux
/videodev.h linux
/videodev2.h libv4l1.h
7026 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
7027 ac_fn_c_check_header_compile
"$LINENO" "$ac_header" "$as_ac_Header" "#ifdef HAVE_SYS_TIME_H
7028 #include <sys/time.h>
7030 #include <sys/types.h>
7031 #ifdef HAVE_ASM_TYPES_H
7032 #include <asm/types.h>
7035 if eval test \"x\$
"$as_ac_Header"\" = x
"yes"; then :
7036 cat >>confdefs.h
<<_ACEOF
7037 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
7045 for ac_header
in libprocstat.h
7047 ac_fn_c_check_header_compile
"$LINENO" "libprocstat.h" "ac_cv_header_libprocstat_h" "#ifdef HAVE_SYS_PARAM_H
7048 #include <sys/param.h>
7050 #ifdef HAVE_SYS_QUEUE_H
7051 #include <sys/queue.h>
7053 #ifdef HAVE_SYS_SOCKET_H
7054 #include <sys/socket.h>
7057 if test "x$ac_cv_header_libprocstat_h" = xyes
; then :
7058 cat >>confdefs.h
<<_ACEOF
7059 #define HAVE_LIBPROCSTAT_H 1
7068 dlldir
="\${libdir}/wine"
7072 DLLFLAGS
="-D_REENTRANT"
7081 STATIC_IMPLIBEXT
="def.a"
7082 # Extract the first word of "ldd", so it can be a program name with args.
7083 set dummy ldd
; ac_word
=$2
7084 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7085 $as_echo_n "checking for $ac_word... " >&6; }
7086 if ${ac_cv_path_LDD+:} false
; then :
7087 $as_echo_n "(cached) " >&6
7091 ac_cv_path_LDD
="$LDD" # Let the user override the test with a path.
7094 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7095 as_dummy
="/sbin:/usr/sbin:$PATH"
7096 for as_dir
in $as_dummy
7099 test -z "$as_dir" && as_dir
=.
7100 for ac_exec_ext
in '' $ac_executable_extensions; do
7101 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
7102 ac_cv_path_LDD
="$as_dir/$ac_word$ac_exec_ext"
7103 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7110 test -z "$ac_cv_path_LDD" && ac_cv_path_LDD
="true"
7115 if test -n "$LDD"; then
7116 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LDD" >&5
7117 $as_echo "$LDD" >&6; }
7119 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7120 $as_echo "no" >&6; }
7124 if test -n "$ac_tool_prefix"; then
7125 # Extract the first word of "${ac_tool_prefix}readelf", so it can be a program name with args.
7126 set dummy
${ac_tool_prefix}readelf
; ac_word
=$2
7127 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7128 $as_echo_n "checking for $ac_word... " >&6; }
7129 if ${ac_cv_prog_READELF+:} false
; then :
7130 $as_echo_n "(cached) " >&6
7132 if test -n "$READELF"; then
7133 ac_cv_prog_READELF
="$READELF" # Let the user override the test.
7135 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7139 test -z "$as_dir" && as_dir
=.
7140 for ac_exec_ext
in '' $ac_executable_extensions; do
7141 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
7142 ac_cv_prog_READELF
="${ac_tool_prefix}readelf"
7143 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7152 READELF
=$ac_cv_prog_READELF
7153 if test -n "$READELF"; then
7154 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $READELF" >&5
7155 $as_echo "$READELF" >&6; }
7157 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7158 $as_echo "no" >&6; }
7163 if test -z "$ac_cv_prog_READELF"; then
7164 ac_ct_READELF
=$READELF
7165 # Extract the first word of "readelf", so it can be a program name with args.
7166 set dummy readelf
; ac_word
=$2
7167 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7168 $as_echo_n "checking for $ac_word... " >&6; }
7169 if ${ac_cv_prog_ac_ct_READELF+:} false
; then :
7170 $as_echo_n "(cached) " >&6
7172 if test -n "$ac_ct_READELF"; then
7173 ac_cv_prog_ac_ct_READELF
="$ac_ct_READELF" # Let the user override the test.
7175 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7179 test -z "$as_dir" && as_dir
=.
7180 for ac_exec_ext
in '' $ac_executable_extensions; do
7181 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
7182 ac_cv_prog_ac_ct_READELF
="readelf"
7183 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7192 ac_ct_READELF
=$ac_cv_prog_ac_ct_READELF
7193 if test -n "$ac_ct_READELF"; then
7194 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_READELF" >&5
7195 $as_echo "$ac_ct_READELF" >&6; }
7197 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7198 $as_echo "no" >&6; }
7201 if test "x$ac_ct_READELF" = x
; then
7204 case $cross_compiling:$ac_tool_warned in
7206 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7207 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7208 ac_tool_warned
=yes ;;
7210 READELF
=$ac_ct_READELF
7213 READELF
="$ac_cv_prog_READELF"
7216 wine_rules_file
=conf$
$rules.
make
7217 rm -f $wine_rules_file
7219 GITIGNORE
="# Automatically generated by configure; DO NOT EDIT!!"
7220 ALL_TEST_RESOURCES
=""
7223 wine_fn_append_file
()
7225 as_fn_append
$1 " \\$as_nl $2"
7228 wine_fn_ignore_file
()
7231 */*) as_fn_append GITIGNORE
"$as_nl$1" ;;
7232 \
**) as_fn_append GITIGNORE
"$as_nl$1" ;;
7233 *) as_fn_append GITIGNORE
"$as_nl/$1" ;;
7237 wine_fn_append_rule
()
7239 $as_echo "$1" >>$wine_rules_file
7244 expr ",$ac_flags," : ".*,$1,.*" >/dev
/null
7247 wine_fn_depend_rules
()
7249 wine_fn_append_rule \
7250 "$ac_dir/Makefile: $srcdir/$ac_dir/Makefile.in $srcdir/Make.vars.in config.status \$(MAKEDEP)
7251 @./config.status --file $ac_dir/Makefile:Make.vars.in:$ac_dir/Makefile.in && \$(MAKEDEP) $ac_dir
7252 depend: $ac_dir/depend
7253 .PHONY: $ac_dir/depend
7254 $ac_dir/depend: \$(MAKEDEP) dummy
7255 @./config.status --file $ac_dir/Makefile:Make.vars.in:$ac_dir/Makefile.in && \$(MAKEDEP) $ac_dir"
7258 wine_fn_pot_rules
()
7260 test "x$with_gettextpo" = xyes ||
return
7262 if wine_fn_has_flag mc
7264 wine_fn_append_file ALL_POT_FILES
$ac_dir/msg.pot
7265 wine_fn_append_rule \
7266 "$ac_dir/msg.pot: $ac_dir/Makefile dummy
7267 @cd $ac_dir && \$(MAKE) msg.pot
7268 $ac_dir/msg.pot: tools/wmc include"
7270 if wine_fn_has_flag po
7272 wine_fn_append_file ALL_POT_FILES
$ac_dir/rsrc.pot
7273 wine_fn_append_rule \
7274 "$ac_dir/rsrc.pot: $ac_dir/Makefile dummy
7275 @cd $ac_dir && \$(MAKE) rsrc.pot
7276 $ac_dir/rsrc.pot: tools/wrc include"
7280 wine_fn_all_rules
()
7282 wine_fn_depend_rules
7283 wine_fn_append_rule \
7286 $ac_dir: $ac_dir/Makefile dummy
7287 @cd $ac_dir && \$(MAKE)"
7290 wine_fn_install_rules
()
7292 wine_fn_has_flag install-lib || wine_fn_has_flag install-dev ||
return
7294 wine_fn_append_rule \
7295 ".PHONY: $ac_dir/install $ac_dir/uninstall
7296 $ac_dir/install:: $ac_dir
7297 @cd $ac_dir && \$(MAKE) install
7298 $ac_dir/uninstall:: $ac_dir/Makefile
7299 @cd $ac_dir && \$(MAKE) uninstall
7300 install:: $ac_dir/install
7301 __uninstall__: $ac_dir/uninstall"
7303 if wine_fn_has_flag install-lib
7305 wine_fn_append_rule \
7306 ".PHONY: $ac_dir/install-lib
7307 $ac_dir/install-lib:: $ac_dir
7308 @cd $ac_dir && \$(MAKE) install-lib
7309 install-lib:: $ac_dir/install-lib"
7312 if wine_fn_has_flag install-dev
7314 wine_fn_append_rule \
7315 ".PHONY: $ac_dir/install-dev
7316 $ac_dir/install-dev:: $ac_dir
7317 @cd $ac_dir && \$(MAKE) install-dev
7318 install-dev:: $ac_dir/install-dev"
7322 wine_fn_clean_rules
()
7325 ac_extraclean
="$ac_dir/Makefile"
7326 test "$srcdir" = .
&& ac_extraclean
="$ac_extraclean $ac_dir/.gitignore"
7328 */tests
) ac_extraclean
="$ac_extraclean $ac_dir/testlist.c" ;;
7331 if wine_fn_has_flag clean
7333 wine_fn_append_rule \
7334 "__clean__: $ac_dir/clean
7335 .PHONY: $ac_dir/clean
7336 $ac_dir/clean: $ac_dir/Makefile
7337 @cd $ac_dir && \$(MAKE) clean
7338 \$(RM) $ac_extraclean"
7340 wine_fn_append_rule \
7341 "__clean__: $ac_dir/clean
7342 .PHONY: $ac_dir/clean
7343 $ac_dir/clean: dummy
7344 \$(RM) \$(CLEAN_FILES:%=$ac_dir/%) $ac_clean $ac_extraclean"
7348 wine_fn_disabled_rules
()
7351 ac_extraclean
="$ac_dir/Makefile"
7352 test "$srcdir" = .
&& ac_extraclean
="$ac_extraclean $ac_dir/.gitignore"
7354 wine_fn_append_rule \
7355 "__clean__: $ac_dir/clean
7356 .PHONY: $ac_dir/clean
7357 $ac_dir/clean: dummy
7358 \$(RM) \$(CLEAN_FILES:%=$ac_dir/%) $ac_clean $ac_extraclean"
7361 wine_fn_config_makefile
()
7367 if eval test \"x\$
"$ac_enable"\" = x
"no"; then :
7368 wine_fn_disabled_rules
; return
7371 wine_fn_install_rules
7375 wine_fn_config_lib
()
7379 ac_dir
=dlls
/$ac_name
7382 if test "x$enable_tools" = xno
; then :
7385 ac_deps
="tools/widl tools/winebuild tools/winegcc $ac_deps"
7390 wine_fn_append_rule \
7391 ".PHONY: $ac_dir/install $ac_dir/uninstall
7392 $ac_dir/install:: $ac_dir
7393 \$(INSTALL_DATA) $ac_dir/lib$ac_name.a \$(DESTDIR)\$(dlldir)/lib$ac_name.a
7395 \$(RM) \$(DESTDIR)\$(dlldir)/lib$ac_name.a
7396 install install-dev:: $ac_dir/install
7397 __uninstall__: $ac_dir/uninstall
7398 __builddeps__: $ac_dir
7402 wine_fn_config_dll
()
7405 ac_dir
=dlls
/$ac_name
7408 ac_implib
=${4:-$ac_name}
7409 ac_file
=$ac_dir/lib
$ac_implib
7414 if test "x$enable_tools" = xno
; then :
7417 ac_deps
="tools/widl tools/winebuild tools/winegcc $ac_deps"
7420 *16) ac_implibflags
=" -m16" ;;
7422 *) ac_dll
=$ac_dll.dll
;;
7426 wine_fn_has_flag implib
&& ac_clean
="$ac_clean $ac_file.$IMPLIBEXT"
7427 wine_fn_has_flag mc
&& ac_clean
="$ac_clean $ac_dir/msg.pot"
7428 wine_fn_has_flag po
&& ac_clean
="$ac_clean $ac_dir/rsrc.pot"
7429 test -n "$DLLEXT" || ac_clean
="$ac_clean $ac_dir/$ac_dll"
7431 if eval test \"x\$
"$ac_enable"\" = x
"no"; then :
7432 if wine_fn_has_flag implib
&& test "$ac_enable" != enable_win16
7434 wine_fn_depend_rules
7435 wine_fn_clean_rules
$ac_clean
7437 wine_fn_disabled_rules
$ac_clean
7442 wine_fn_clean_rules
$ac_clean
7443 wine_fn_append_rule \
7444 "$ac_dir: __builddeps__
7445 manpages htmlpages sgmlpages xmlpages:: $ac_dir/Makefile
7446 @cd $ac_dir && \$(MAKE) \$@
7447 .PHONY: $ac_dir/install-lib $ac_dir/uninstall
7448 install install-lib:: $ac_dir/install-lib
7449 __uninstall__: $ac_dir/uninstall"
7450 if test -n "$DLLEXT"
7452 wine_fn_append_rule \
7453 "$ac_dir/install-lib:: $ac_dir
7454 \$(INSTALL_PROGRAM) $ac_dir/$ac_dll$DLLEXT \$(DESTDIR)\$(dlldir)/$DLLPREFIX$ac_dll$DLLEXT
7455 \$(INSTALL_DATA) $ac_dir/$ac_dll.fake \$(DESTDIR)\$(fakedlldir)/$ac_dll
7457 \$(RM) \$(DESTDIR)\$(dlldir)/$DLLPREFIX$ac_dll$DLLEXT \$(DESTDIR)\$(fakedlldir)/$ac_dll"
7459 wine_fn_append_rule \
7460 "$ac_dir/install-lib:: $ac_dir
7461 \$(INSTALL_PROGRAM) $ac_dir/$ac_dll \$(DESTDIR)\$(dlldir)/$ac_dll
7463 \$(RM) \$(DESTDIR)\$(dlldir)/$ac_dll"
7469 if wine_fn_has_flag staticimplib
7471 wine_fn_append_rule \
7472 "__builddeps__: $ac_file.$IMPLIBEXT $ac_file.$STATIC_IMPLIBEXT
7473 $ac_file.$IMPLIBEXT $ac_file.$STATIC_IMPLIBEXT $ac_file.cross.a: $ac_deps
7474 $ac_file.def: $srcdir/$ac_dir/$ac_name.spec $ac_dir/Makefile \$(WINEBUILD)
7475 \$(WINEBUILD) \$(TARGETFLAGS)$ac_implibflags -w --def -o \$@ --export $srcdir/$ac_dir/$ac_name.spec
7476 $ac_file.$STATIC_IMPLIBEXT: $ac_dir/Makefile dummy
7477 @cd $ac_dir && \$(MAKE) lib$ac_implib.$STATIC_IMPLIBEXT
7478 .PHONY: $ac_dir/install-dev $ac_dir/uninstall
7479 $ac_dir/install-dev:: $ac_file.$IMPLIBEXT
7480 \$(INSTALL_DATA) $ac_file.$IMPLIBEXT \$(DESTDIR)\$(dlldir)/lib$ac_implib.$IMPLIBEXT
7482 \$(RM) \$(DESTDIR)\$(dlldir)/lib$ac_implib.$IMPLIBEXT
7483 install install-dev:: $ac_dir/install-dev
7484 __uninstall__: $ac_dir/uninstall"
7486 if test "$IMPLIBEXT" != "$STATIC_IMPLIBEXT"
7488 wine_fn_append_rule \
7489 "$ac_dir/install-dev:: $ac_file.$STATIC_IMPLIBEXT __builddeps__
7490 \$(INSTALL_DATA) $ac_file.$STATIC_IMPLIBEXT \$(DESTDIR)\$(dlldir)/lib$ac_implib.$STATIC_IMPLIBEXT
7492 \$(RM) \$(DESTDIR)\$(dlldir)/lib$ac_implib.$STATIC_IMPLIBEXT"
7495 if test -n "$CROSSTARGET" -a -z "$ac_implibflags"
7497 wine_fn_append_rule \
7498 "__builddeps__: $ac_file.cross.a
7499 $ac_file.cross.a: $ac_dir/Makefile dummy
7500 @cd $ac_dir && \$(MAKE) lib$ac_implib.cross.a"
7503 elif wine_fn_has_flag implib
7505 wine_fn_append_rule \
7506 "__builddeps__: $ac_file.$IMPLIBEXT
7507 $ac_file.def: $srcdir/$ac_dir/$ac_name.spec $ac_dir/Makefile \$(WINEBUILD)
7508 \$(WINEBUILD) \$(TARGETFLAGS)$ac_implibflags -w --def -o \$@ --export $srcdir/$ac_dir/$ac_name.spec
7509 $ac_file.a: $srcdir/$ac_dir/$ac_name.spec $ac_dir/Makefile \$(WINEBUILD)
7510 \$(WINEBUILD) \$(TARGETFLAGS)$ac_implibflags -w --implib -o \$@ --export $srcdir/$ac_dir/$ac_name.spec
7511 .PHONY: $ac_dir/install-dev $ac_dir/uninstall
7512 $ac_dir/install-dev:: $ac_file.$IMPLIBEXT
7513 \$(INSTALL_DATA) $ac_file.$IMPLIBEXT \$(DESTDIR)\$(dlldir)/lib$ac_implib.$IMPLIBEXT
7515 \$(RM) \$(DESTDIR)\$(dlldir)/lib$ac_implib.$IMPLIBEXT
7516 install install-dev:: $ac_dir/install-dev
7517 __uninstall__: $ac_dir/uninstall"
7518 if test -n "$CROSSTARGET" -a -z "$ac_implibflags"
7520 wine_fn_append_rule \
7521 "__builddeps__: $ac_file.cross.a
7522 $ac_file.cross.a: $srcdir/$ac_dir/$ac_name.spec $ac_dir/Makefile \$(WINEBUILD)
7523 \$(WINEBUILD) \$(CROSSTARGET:%=-b %)$ac_implibflags -w --implib -o \$@ --export $srcdir/$ac_dir/$ac_name.spec"
7526 if test "$ac_name" != "$ac_implib"
7528 wine_fn_append_rule \
7529 "__builddeps__: dlls/lib$ac_implib.$IMPLIBEXT
7530 dlls/lib$ac_implib.$IMPLIBEXT: $ac_file.$IMPLIBEXT
7531 \$(RM) \$@ && \$(LN_S) $ac_name/lib$ac_implib.$IMPLIBEXT \$@
7533 \$(RM) dlls/lib$ac_implib.$IMPLIBEXT"
7534 wine_fn_ignore_file
"dlls/lib$ac_implib.$IMPLIBEXT"
7535 if test -n "$CROSSTARGET" -a -z "$ac_implibflags"
7537 wine_fn_append_rule \
7538 "__builddeps__: dlls/lib$ac_implib.cross.a
7539 dlls/lib$ac_implib.cross.a: $ac_file.cross.a
7540 \$(RM) \$@ && \$(LN_S) $ac_name/lib$ac_implib.cross.a \$@
7542 \$(RM) dlls/lib$ac_implib.cross.a"
7543 wine_fn_ignore_file
"dlls/lib$ac_implib.cross.a"
7549 wine_fn_config_program
()
7552 ac_dir
=programs
/$ac_name
7559 *) ac_program
=$ac_program.exe
;;
7563 wine_fn_has_flag mc
&& ac_clean
="$ac_clean $ac_dir/msg.pot"
7564 wine_fn_has_flag po
&& ac_clean
="$ac_clean $ac_dir/rsrc.pot"
7565 wine_fn_has_flag manpage
&& ac_clean
="$ac_clean $ac_dir/$ac_name.man"
7566 test -n "$DLLEXT" || ac_clean
="$ac_clean $ac_dir/$ac_program"
7568 if eval test \"x\$
"$ac_enable"\" = x
"no"; then :
7569 wine_fn_disabled_rules
$ac_clean; return
7573 wine_fn_clean_rules
$ac_clean
7574 wine_fn_append_rule
"$ac_dir: __builddeps__"
7577 wine_fn_has_flag
install ||
return
7578 wine_fn_append_rule \
7579 ".PHONY: $ac_dir/install $ac_dir/uninstall
7580 install install-lib:: $ac_dir/install
7581 __uninstall__: $ac_dir/uninstall"
7583 if test -n "$DLLEXT"
7585 wine_fn_append_rule \
7586 "$ac_dir/install:: $ac_dir
7587 \$(INSTALL_PROGRAM) $ac_dir/$ac_program$DLLEXT \$(DESTDIR)\$(dlldir)/$DLLPREFIX$ac_program$DLLEXT
7588 \$(INSTALL_DATA) $ac_dir/$ac_program.fake \$(DESTDIR)\$(fakedlldir)/$ac_program
7590 \$(RM) \$(DESTDIR)\$(dlldir)/$DLLPREFIX$ac_program$DLLEXT \$(DESTDIR)\$(fakedlldir)/$ac_program"
7592 if test -z "$with_wine64" && wine_fn_has_flag installbin
7594 wine_fn_append_rule \
7595 "$ac_dir/install:: __tooldeps__
7596 \$(INSTALL_SCRIPT) \$(TOOLSDIR)/tools/wineapploader \$(DESTDIR)\$(bindir)/$ac_name
7598 \$(RM) \$(DESTDIR)\$(bindir)/$ac_name"
7601 wine_fn_append_rule \
7602 "$ac_dir/install:: $ac_dir
7603 \$(INSTALL_PROGRAM) $ac_dir/$ac_program \$(DESTDIR)\$(bindir)/$ac_program
7605 \$(RM) \$(DESTDIR)\$(bindir)/$ac_program"
7608 if test -z "$with_wine64" && wine_fn_has_flag manpage
7610 wine_fn_append_rule \
7611 "$ac_dir/install:: $ac_dir
7612 \$(INSTALL_DATA) $ac_dir/$ac_name.man \$(DESTDIR)\$(mandir)/man\$(prog_manext)/$ac_name.\$(prog_manext)
7614 \$(RM) \$(DESTDIR)\$(mandir)/man\$(prog_manext)/$ac_name.\$(prog_manext)"
7618 wine_fn_config_test
()
7625 test -n "$CROSSTARGET" && ac_clean
=`expr $ac_dir/${ac_name} : "\\(.*\\)_test"`_crosstest.exe
7626 test -n "$DLLEXT" || ac_clean
="$ac_dir/${ac_name}.exe $ac_dir/${ac_name}-stripped.exe"
7628 if test "x$enable_tests" = xno
; then :
7629 wine_fn_disabled_rules
$ac_clean; return
7632 wine_fn_append_file ALL_TEST_RESOURCES
$ac_name.res
7634 wine_fn_clean_rules
$ac_clean
7636 wine_fn_append_rule \
7637 "$ac_dir: programs/winetest/Makefile __builddeps__
7638 programs/winetest: $ac_dir
7639 check test: $ac_dir/test
7640 .PHONY: $ac_dir/test
7642 @cd $ac_dir && \$(MAKE) test
7644 \$(RM) $ac_dir/*.ok"
7646 if test -n "$CROSSTARGET"
7648 wine_fn_append_rule \
7649 "crosstest: $ac_dir/crosstest
7650 .PHONY: $ac_dir/crosstest
7651 $ac_dir/crosstest: $ac_dir/Makefile __builddeps__ dummy
7652 @cd $ac_dir && \$(MAKE) crosstest"
7656 wine_fn_config_tool
()
7660 if test "x$enable_tools" = xno
; then :
7665 wine_fn_install_rules
7668 wine_fn_append_rule
"__tooldeps__: $ac_dir"
7669 wine_fn_append_rule
"$ac_dir: libs/port"
7671 tools
/winebuild
) wine_fn_append_rule
"\$(WINEBUILD): $ac_dir" ;;
7675 wine_fn_config_symlink
()
7678 if test "x$1" = "x-d"
7684 wine_fn_append_rule \
7686 @./config.status \$@
7689 for f
in $ac_links; do wine_fn_ignore_file
$f; done
7690 test -n "$ac_linkdir" ||
return
7691 wine_fn_append_rule
"$ac_linkdir/Makefile $ac_linkdir/depend: $ac_links"
7695 test "x$enable_win64" != "xyes" || wine_binary
="wine64"
7696 loader_programs
="$wine_binary wine-installed"
7697 libwine_soversion
=`expr $libwine_version : '\([0-9]*\)\..*'`
7702 install install-lib:: wine-installed
7703 \$(INSTALL_PROGRAM) wine-installed \$(DESTDIR)\$(bindir)/$wine_binary
7706 \$(RM) \$(DESTDIR)\$(bindir)/$wine_binary
7712 if test -n "$ac_tool_prefix"; then
7713 # Extract the first word of "${ac_tool_prefix}dlltool", so it can be a program name with args.
7714 set dummy
${ac_tool_prefix}dlltool
; ac_word
=$2
7715 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7716 $as_echo_n "checking for $ac_word... " >&6; }
7717 if ${ac_cv_prog_DLLTOOL+:} false
; then :
7718 $as_echo_n "(cached) " >&6
7720 if test -n "$DLLTOOL"; then
7721 ac_cv_prog_DLLTOOL
="$DLLTOOL" # Let the user override the test.
7723 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7727 test -z "$as_dir" && as_dir
=.
7728 for ac_exec_ext
in '' $ac_executable_extensions; do
7729 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
7730 ac_cv_prog_DLLTOOL
="${ac_tool_prefix}dlltool"
7731 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7740 DLLTOOL
=$ac_cv_prog_DLLTOOL
7741 if test -n "$DLLTOOL"; then
7742 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DLLTOOL" >&5
7743 $as_echo "$DLLTOOL" >&6; }
7745 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7746 $as_echo "no" >&6; }
7751 if test -z "$ac_cv_prog_DLLTOOL"; then
7752 ac_ct_DLLTOOL
=$DLLTOOL
7753 # Extract the first word of "dlltool", so it can be a program name with args.
7754 set dummy dlltool
; ac_word
=$2
7755 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7756 $as_echo_n "checking for $ac_word... " >&6; }
7757 if ${ac_cv_prog_ac_ct_DLLTOOL+:} false
; then :
7758 $as_echo_n "(cached) " >&6
7760 if test -n "$ac_ct_DLLTOOL"; then
7761 ac_cv_prog_ac_ct_DLLTOOL
="$ac_ct_DLLTOOL" # Let the user override the test.
7763 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7767 test -z "$as_dir" && as_dir
=.
7768 for ac_exec_ext
in '' $ac_executable_extensions; do
7769 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
7770 ac_cv_prog_ac_ct_DLLTOOL
="dlltool"
7771 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7780 ac_ct_DLLTOOL
=$ac_cv_prog_ac_ct_DLLTOOL
7781 if test -n "$ac_ct_DLLTOOL"; then
7782 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DLLTOOL" >&5
7783 $as_echo "$ac_ct_DLLTOOL" >&6; }
7785 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7786 $as_echo "no" >&6; }
7789 if test "x$ac_ct_DLLTOOL" = x
; then
7792 case $cross_compiling:$ac_tool_warned in
7794 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7795 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7796 ac_tool_warned
=yes ;;
7798 DLLTOOL
=$ac_ct_DLLTOOL
7801 DLLTOOL
="$ac_cv_prog_DLLTOOL"
7807 STATIC_IMPLIBEXT
="a"
7808 enable_iphlpapi
=${enable_iphlpapi:-no}
7809 enable_kernel32
=${enable_kernel32:-no}
7810 enable_msvcrt
=${enable_msvcrt:-no}
7811 enable_ntdll
=${enable_ntdll:-no}
7812 enable_ws2_32
=${enable_ws2_32:-no}
7813 enable_loader
=${enable_loader:-no}
7814 enable_server
=${enable_server:-no}
7815 with_x
=${with_x:-no}
7816 with_pthread
=${with_pthread:-no}
7822 SOCKET_LIBS
="-L\$(top_builddir)/dlls/ws2_32 -lws2_32"
7826 libwine_targets
="libwine.dll libwine.a"
7828 OBJS = \$(C_SRCS:.c=.o) \$(EXTRA_OBJS)
7830 all: libwine.dll libwine.a
7832 libwine.a: \$(srcdir)/wine.def
7833 \$(DLLTOOL) -l \$@ -d \$(srcdir)/wine.def
7835 libwine.dll: \$(OBJS) \$(srcdir)/wine.def
7836 \$(CC) -shared \$(srcdir)/wine.def -o \$@ \$(OBJS) $crtlibs \$(EXTRALIBS)
7838 install install-lib:: libwine.dll
7839 \$(INSTALL_DATA) libwine.dll \$(DESTDIR)\$(libdir)/libwine.dll
7841 install install-dev:: libwine.a
7842 \$(INSTALL_DATA) libwine.a \$(DESTDIR)\$(libdir)/libwine.a
7845 -cd \$(DESTDIR)\$(libdir) && \$(RM) libwine.a libwine.dll
7852 DLLFLAGS
="$DLLFLAGS -fPIC"
7853 LIBWINE_LDFLAGS
="-multiply_defined suppress"
7854 LDRPATH_INSTALL
="-Wl,-rpath,@loader_path/\`\$(MAKEDEP) -R \$(bindir) \$(libdir)\`"
7855 LDRPATH_LOCAL
="-Wl,-rpath,@loader_path/\$(top_builddir)/libs/wine"
7856 COREFOUNDATION_LIBS
="-framework CoreFoundation"
7858 IOKIT_LIBS
="-framework IOKit -framework CoreFoundation"
7860 FORCEFEEDBACK_LIBS
="-framework ForceFeedback -framework CoreFoundation"
7862 APPLICATIONSERVICES_LIBS
="-framework ApplicationServices"
7864 CORESERVICES_LIBS
="-framework CoreServices"
7866 APPKIT_LIBS
="-framework AppKit"
7868 LDEXECFLAGS
="-image_base 0x7bf00000 -Wl,-pagezero_size,0x1000,-segaddr,WINE_DOS,0x00001000,-segaddr,WINE_SHAREDHEAP,0x7f000000,-sectcreate,__TEXT,__info_plist,wine_info.plist"
7869 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,-no_pie" >&5
7870 $as_echo_n "checking whether the compiler supports -Wl,-no_pie... " >&6; }
7871 if ${ac_cv_cflags__Wl__no_pie+:} false
; then :
7872 $as_echo_n "(cached) " >&6
7874 ac_wine_try_cflags_saved
=$CFLAGS
7875 CFLAGS
="$CFLAGS -Wl,-no_pie"
7876 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
7877 /* end confdefs.h. */
7878 int main(int argc, char **argv) { return 0; }
7880 if ac_fn_c_try_link
"$LINENO"; then :
7881 ac_cv_cflags__Wl__no_pie
=yes
7883 ac_cv_cflags__Wl__no_pie
=no
7885 rm -f core conftest.err conftest.
$ac_objext \
7886 conftest
$ac_exeext conftest.
$ac_ext
7887 CFLAGS
=$ac_wine_try_cflags_saved
7889 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl__no_pie" >&5
7890 $as_echo "$ac_cv_cflags__Wl__no_pie" >&6; }
7891 if test "x$ac_cv_cflags__Wl__no_pie" = xyes
; then :
7892 LDEXECFLAGS
="-Wl,-no_pie $LDEXECFLAGS"
7894 if test "$ac_cv_header_DiskArbitration_DiskArbitration_h" = "yes"
7896 DISKARBITRATION_LIBS
="-framework DiskArbitration -framework CoreFoundation"
7899 if test "$ac_cv_header_Security_Security_h" = "yes"
7901 SECURITY_LIBS
="-framework Security -framework CoreFoundation"
7903 ac_save_LIBS
="$LIBS"
7904 LIBS
="$LIBS $SECURITY_LIBS"
7905 for ac_func
in SSLCopyPeerCertificates
7907 ac_fn_c_check_func
"$LINENO" "SSLCopyPeerCertificates" "ac_cv_func_SSLCopyPeerCertificates"
7908 if test "x$ac_cv_func_SSLCopyPeerCertificates" = xyes
; then :
7909 cat >>confdefs.h
<<_ACEOF
7910 #define HAVE_SSLCOPYPEERCERTIFICATES 1
7916 LIBS
="$ac_save_LIBS"
7917 with_gnutls
=${with_gnutls:-no}
7919 if test "$ac_cv_header_CoreAudio_CoreAudio_h" = "yes" -a "$ac_cv_header_AudioUnit_AudioUnit_h" = "yes"
7921 if test "$ac_cv_header_AudioUnit_AudioComponent_h" = "yes"
7923 COREAUDIO_LIBS
="-framework CoreFoundation -framework CoreAudio -framework AudioUnit -framework AudioToolbox -framework CoreMIDI"
7926 COREAUDIO_LIBS
="-framework CoreAudio -framework AudioUnit -framework CoreServices -framework AudioToolbox -framework CoreMIDI"
7929 ac_save_LIBS
="$LIBS"
7930 LIBS
="$LIBS $COREAUDIO_LIBS"
7931 for ac_func
in AUGraphAddNode
7933 ac_fn_c_check_func
"$LINENO" "AUGraphAddNode" "ac_cv_func_AUGraphAddNode"
7934 if test "x$ac_cv_func_AUGraphAddNode" = xyes
; then :
7935 cat >>confdefs.h
<<_ACEOF
7936 #define HAVE_AUGRAPHADDNODE 1
7942 LIBS
="$ac_save_LIBS"
7944 if test "$ac_cv_header_OpenAL_al_h" = "yes"
7946 OPENAL_LIBS
="-framework OpenAL"
7949 cat >>confdefs.h
<<_ACEOF
7950 #define HAVE_OPENAL 1
7953 ac_cv_lib_openal
=yes
7955 if test "$ac_cv_header_OpenCL_opencl_h" = "yes"
7957 OPENCL_LIBS
="-framework OpenCL"
7959 ac_cv_lib_OpenCL_clGetPlatformInfo
=yes
7961 if test "$ac_cv_header_IOKit_hid_IOHIDLib_h" = "yes"
7963 ac_save_LIBS
="$LIBS"
7964 LIBS
="$LIBS $IOKIT_LIBS"
7965 for ac_func
in IOHIDManagerCreate
7967 ac_fn_c_check_func
"$LINENO" "IOHIDManagerCreate" "ac_cv_func_IOHIDManagerCreate"
7968 if test "x$ac_cv_func_IOHIDManagerCreate" = xyes
; then :
7969 cat >>confdefs.h
<<_ACEOF
7970 #define HAVE_IOHIDMANAGERCREATE 1
7976 LIBS
="$ac_save_LIBS"
7978 if test "$ac_cv_header_QuickTime_ImageCompression_h" = "yes"
7980 ac_save_LIBS
="$LIBS"
7981 LIBS
="-framework QuickTime -framework ApplicationServices -framework CoreVideo $LIBS"
7982 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for the QuickTime framework" >&5
7983 $as_echo_n "checking for the QuickTime framework... " >&6; }
7984 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
7985 /* end confdefs.h. */
7986 #include <QuickTime/ImageCompression.h>
7990 CodecManagerVersion(NULL);
7995 if ac_fn_c_try_link
"$LINENO"; then :
7996 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
7997 $as_echo "yes" >&6; }
7998 QUICKTIME_LIBS
="-framework QuickTime -framework ApplicationServices -framework CoreVideo"
8000 enable_wineqtdecoder
=${enable_wineqtdecoder:-yes}
8002 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8003 $as_echo "no" >&6; }
8004 ac_cv_header_QuickTime_ImageCompression_h
=no
8006 rm -f core conftest.err conftest.
$ac_objext \
8007 conftest
$ac_exeext conftest.
$ac_ext
8008 LIBS
="$ac_save_LIBS"
8010 if test "$ac_cv_header_QuickTime_ImageCompression_h" != "yes"
8012 as_fn_append wine_notices
"|QuickTime ${notice_platform}development files not found, video decoding won't be supported."
8014 if test "$ac_cv_header_Carbon_Carbon_h" = "yes"
8016 CARBON_LIBS
="-framework Carbon"
8020 if test "$ac_cv_header_ApplicationServices_ApplicationServices_h" = "yes"
8022 ac_save_LIBS
="$LIBS"
8023 LIBS
="$LIBS $APPLICATIONSERVICES_LIBS"
8024 ac_fn_c_check_func
"$LINENO" "CGDisplayModeGetWidth" "ac_cv_func_CGDisplayModeGetWidth"
8025 if test "x$ac_cv_func_CGDisplayModeGetWidth" = xyes
; then :
8026 enable_winemac_drv
=${enable_winemac_drv:-yes}
8029 LIBS
="$ac_save_LIBS"
8032 if test "x$enable_win16" = "xyes"
8034 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether 16-bit code can be built correctly" >&5
8035 $as_echo_n "checking whether 16-bit code can be built correctly... " >&6; }
8036 if test "$cross_compiling" = yes; then :
8037 { $as_echo "$as_me:${as_lineno-$LINENO}: result: cross-compiling, assuming yes" >&5
8038 $as_echo "cross-compiling, assuming yes" >&6; }
8040 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8041 /* end confdefs.h. */
8044 "good:\tnop;nop\n\t"
8045 ".globl _testfunc\n"
8046 "_testfunc:\tcallw good");
8047 extern void testfunc();
8051 unsigned short *p = (unsigned short *)testfunc;
8052 return p[0] != 0xe866 || p[1] != 0xfffa
8057 if ac_fn_c_try_run
"$LINENO"; then :
8058 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
8059 $as_echo "yes" >&6; }
8061 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8062 $as_echo "no" >&6; }
8063 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
8065 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext \
8066 conftest.
$ac_objext conftest.beam conftest.
$ac_ext
8071 libwine_targets
="libwine.dylib libwine.$libwine_soversion.dylib libwine.$libwine_version.dylib"
8073 OBJS = \$(C_SRCS:.c=.o) \$(EXTRA_OBJS)
8077 libwine.$libwine_version.dylib: \$(OBJS)
8078 \$(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 \$@
8080 libwine.$libwine_soversion.dylib: libwine.$libwine_version.dylib
8081 \$(RM) \$@ && \$(LN_S) libwine.$libwine_version.dylib \$@
8083 libwine.dylib: libwine.$libwine_soversion.dylib
8084 \$(RM) \$@ && \$(LN_S) libwine.$libwine_soversion.dylib \$@
8086 install install-lib:: libwine.$libwine_version.dylib
8087 \$(INSTALL_PROGRAM) libwine.$libwine_version.dylib \$(DESTDIR)\$(libdir)/libwine.$libwine_version.dylib
8088 cd \$(DESTDIR)\$(libdir) && \$(RM) libwine.$libwine_soversion.dylib && \$(LN_S) libwine.$libwine_version.dylib libwine.$libwine_soversion.dylib
8090 install install-dev::
8091 cd \$(DESTDIR)\$(libdir) && \$(RM) libwine.dylib && \$(LN_S) libwine.$libwine_version.dylib libwine.dylib
8094 -cd \$(DESTDIR)\$(libdir) && \$(RM) libwine.dylib libwine.$libwine_soversion.dylib libwine.$libwine_version.dylib
8098 as_fn_append LOADER_RULES
"
8099 $wine_binary: main.o wine_info.plist
8100 \$(CC) -o \$@ $LDEXECFLAGS main.o \$(LIBWINE) \$(LIBPORT) \$(EXTRALIBS) \$(LDFLAGS) \$(LDRPATH_LOCAL)
8102 wine-installed: main.o wine_info.plist
8103 \$(CC) -o \$@ $LDEXECFLAGS main.o \$(LIBWINE) \$(LIBPORT) \$(EXTRALIBS) \$(LDFLAGS) \$(LDRPATH_INSTALL)
8108 DLLFLAGS
="$DLLFLAGS -fPIC"
8112 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -Wl,--export-dynamic" >&5
8113 $as_echo_n "checking whether the compiler supports -fPIC -Wl,--export-dynamic... " >&6; }
8114 if ${ac_cv_cflags__fPIC__Wl___export_dynamic+:} false
; then :
8115 $as_echo_n "(cached) " >&6
8117 ac_wine_try_cflags_saved
=$CFLAGS
8118 CFLAGS
="$CFLAGS -fPIC -Wl,--export-dynamic"
8119 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8120 /* end confdefs.h. */
8121 int main(int argc, char **argv) { return 0; }
8123 if ac_fn_c_try_link
"$LINENO"; then :
8124 ac_cv_cflags__fPIC__Wl___export_dynamic
=yes
8126 ac_cv_cflags__fPIC__Wl___export_dynamic
=no
8128 rm -f core conftest.err conftest.
$ac_objext \
8129 conftest
$ac_exeext conftest.
$ac_ext
8130 CFLAGS
=$ac_wine_try_cflags_saved
8132 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fPIC__Wl___export_dynamic" >&5
8133 $as_echo "$ac_cv_cflags__fPIC__Wl___export_dynamic" >&6; }
8134 if test "x$ac_cv_cflags__fPIC__Wl___export_dynamic" = xyes
; then :
8135 LDEXECFLAGS
="-Wl,--export-dynamic"
8137 as_ac_var
=`$as_echo "ac_cv_cflags_-fPIC -Wl,--rpath,\\$ORIGIN/../lib" | $as_tr_sh`
8138 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -Wl,--rpath,\$ORIGIN/../lib" >&5
8139 $as_echo_n "checking whether the compiler supports -fPIC -Wl,--rpath,\$ORIGIN/../lib... " >&6; }
8140 if eval \
${$as_ac_var+:} false
; then :
8141 $as_echo_n "(cached) " >&6
8143 ac_wine_try_cflags_saved
=$CFLAGS
8144 CFLAGS
="$CFLAGS -fPIC -Wl,--rpath,\$ORIGIN/../lib"
8145 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8146 /* end confdefs.h. */
8147 int main(int argc, char **argv) { return 0; }
8149 if ac_fn_c_try_link
"$LINENO"; then :
8150 eval "$as_ac_var=yes"
8152 eval "$as_ac_var=no"
8154 rm -f core conftest.err conftest.
$ac_objext \
8155 conftest
$ac_exeext conftest.
$ac_ext
8156 CFLAGS
=$ac_wine_try_cflags_saved
8158 eval ac_res
=\$
$as_ac_var
8159 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
8160 $as_echo "$ac_res" >&6; }
8161 if eval test \"x\$
"$as_ac_var"\" = x
"yes"; then :
8162 LDRPATH_INSTALL
="-Wl,--rpath,\\\$\$ORIGIN/\`\$(MAKEDEP) -R \$(bindir) \$(libdir)\`"
8163 LDRPATH_LOCAL
="-Wl,--rpath,\\\$\$ORIGIN/\$(top_builddir)/libs/wine"
8165 as_ac_var
=`$as_echo "ac_cv_cflags_-fPIC -Wl,-R,\\$ORIGIN/../lib" | $as_tr_sh`
8166 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -Wl,-R,\$ORIGIN/../lib" >&5
8167 $as_echo_n "checking whether the compiler supports -fPIC -Wl,-R,\$ORIGIN/../lib... " >&6; }
8168 if eval \
${$as_ac_var+:} false
; then :
8169 $as_echo_n "(cached) " >&6
8171 ac_wine_try_cflags_saved
=$CFLAGS
8172 CFLAGS
="$CFLAGS -fPIC -Wl,-R,\$ORIGIN/../lib"
8173 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8174 /* end confdefs.h. */
8175 int main(int argc, char **argv) { return 0; }
8177 if ac_fn_c_try_link
"$LINENO"; then :
8178 eval "$as_ac_var=yes"
8180 eval "$as_ac_var=no"
8182 rm -f core conftest.err conftest.
$ac_objext \
8183 conftest
$ac_exeext conftest.
$ac_ext
8184 CFLAGS
=$ac_wine_try_cflags_saved
8186 eval ac_res
=\$
$as_ac_var
8187 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
8188 $as_echo "$ac_res" >&6; }
8189 if eval test \"x\$
"$as_ac_var"\" = x
"yes"; then :
8190 LDRPATH_INSTALL
="-Wl,-R,\\\$\$ORIGIN/\`\$(MAKEDEP) -R \$(bindir) \$(libdir)\`"
8191 LDRPATH_LOCAL
="-Wl,-R,\\\$\$ORIGIN/\$(top_builddir)/libs/wine"
8195 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,--enable-new-dtags" >&5
8196 $as_echo_n "checking whether the compiler supports -Wl,--enable-new-dtags... " >&6; }
8197 if ${ac_cv_cflags__Wl___enable_new_dtags+:} false
; then :
8198 $as_echo_n "(cached) " >&6
8200 ac_wine_try_cflags_saved
=$CFLAGS
8201 CFLAGS
="$CFLAGS -Wl,--enable-new-dtags"
8202 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8203 /* end confdefs.h. */
8204 int main(int argc, char **argv) { return 0; }
8206 if ac_fn_c_try_link
"$LINENO"; then :
8207 ac_cv_cflags__Wl___enable_new_dtags
=yes
8209 ac_cv_cflags__Wl___enable_new_dtags
=no
8211 rm -f core conftest.err conftest.
$ac_objext \
8212 conftest
$ac_exeext conftest.
$ac_ext
8213 CFLAGS
=$ac_wine_try_cflags_saved
8215 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl___enable_new_dtags" >&5
8216 $as_echo "$ac_cv_cflags__Wl___enable_new_dtags" >&6; }
8217 if test "x$ac_cv_cflags__Wl___enable_new_dtags" = xyes
; then :
8218 LDRPATH_INSTALL
="$LDRPATH_INSTALL -Wl,--enable-new-dtags"
8222 *i
[3456789]86* | x86_64
)
8223 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,--section-start,.interp=0x7bf00400" >&5
8224 $as_echo_n "checking whether the compiler supports -Wl,--section-start,.interp=0x7bf00400... " >&6; }
8225 if ${ac_cv_cflags__Wl___section_start__interp_0x7bf00400+:} false
; then :
8226 $as_echo_n "(cached) " >&6
8228 ac_wine_try_cflags_saved
=$CFLAGS
8229 CFLAGS
="$CFLAGS -Wl,--section-start,.interp=0x7bf00400"
8230 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8231 /* end confdefs.h. */
8232 int main(int argc, char **argv) { return 0; }
8234 if ac_fn_c_try_link
"$LINENO"; then :
8235 ac_cv_cflags__Wl___section_start__interp_0x7bf00400
=yes
8237 ac_cv_cflags__Wl___section_start__interp_0x7bf00400
=no
8239 rm -f core conftest.err conftest.
$ac_objext \
8240 conftest
$ac_exeext conftest.
$ac_ext
8241 CFLAGS
=$ac_wine_try_cflags_saved
8243 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl___section_start__interp_0x7bf00400" >&5
8244 $as_echo "$ac_cv_cflags__Wl___section_start__interp_0x7bf00400" >&6; }
8245 if test "x$ac_cv_cflags__Wl___section_start__interp_0x7bf00400" = xyes
; then :
8246 LDEXECFLAGS
="$LDEXECFLAGS -Wl,--section-start,.interp=0x7bf00400"
8251 libwine_targets
="libwine.so"
8253 OBJS = \$(C_SRCS:.c=.o) \$(EXTRA_OBJS)
8257 libwine.so: \$(OBJS)
8258 \$(CC) -shared \$(OBJS) \$(EXTRALIBS) \$(LDFLAGS) \$(LIBS) -o \$@
8260 install install-lib:: libwine.so
8261 \$(INSTALL_PROGRAM) libwine.so \$(DESTDIR)\$(libdir)/libwine.so
8264 \$(RM) \$(DESTDIR)\$(libdir)/libwine.so
8268 as_fn_append LOADER_RULES
"
8269 $wine_binary: main.o
8270 \$(CC) -o \$@ $LDEXECFLAGS main.o \$(LIBWINE) \$(LIBPORT) \$(EXTRALIBS) \$(LDFLAGS) \$(LDRPATH_LOCAL)
8272 wine-installed: main.o
8273 \$(CC) -o \$@ $LDEXECFLAGS main.o \$(LIBWINE) \$(LIBPORT) \$(EXTRALIBS) \$(LDFLAGS) \$(LDRPATH_INSTALL)
8278 DLLFLAGS
="$DLLFLAGS -fPIC"
8280 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we can build a GNU style ELF dll" >&5
8281 $as_echo_n "checking whether we can build a GNU style ELF dll... " >&6; }
8282 if ${ac_cv_c_dll_gnuelf+:} false
; then :
8283 $as_echo_n "(cached) " >&6
8285 ac_wine_try_cflags_saved
=$CFLAGS
8286 CFLAGS
="$CFLAGS -fPIC -shared -Wl,-Bsymbolic"
8287 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8288 /* end confdefs.h. */
8291 if ac_fn_c_try_link
"$LINENO"; then :
8292 ac_cv_c_dll_gnuelf
="yes"
8294 ac_cv_c_dll_gnuelf
="no"
8296 rm -f core conftest.err conftest.
$ac_objext \
8297 conftest
$ac_exeext conftest.
$ac_ext
8298 CFLAGS
=$ac_wine_try_cflags_saved
8300 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_dll_gnuelf" >&5
8301 $as_echo "$ac_cv_c_dll_gnuelf" >&6; }
8302 if test "$ac_cv_c_dll_gnuelf" = "yes"
8304 LDSHARED
="\$(CC) -shared"
8305 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -shared -Wl,-soname,confest.so.1" >&5
8306 $as_echo_n "checking whether the compiler supports -fPIC -shared -Wl,-soname,confest.so.1... " >&6; }
8307 if ${ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1+:} false
; then :
8308 $as_echo_n "(cached) " >&6
8310 ac_wine_try_cflags_saved
=$CFLAGS
8311 CFLAGS
="$CFLAGS -fPIC -shared -Wl,-soname,confest.so.1"
8312 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8313 /* end confdefs.h. */
8314 int main(int argc, char **argv) { return 0; }
8316 if ac_fn_c_try_link
"$LINENO"; then :
8317 ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1
=yes
8319 ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1
=no
8321 rm -f core conftest.err conftest.
$ac_objext \
8322 conftest
$ac_exeext conftest.
$ac_ext
8323 CFLAGS
=$ac_wine_try_cflags_saved
8325 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1" >&5
8326 $as_echo "$ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1" >&6; }
8327 if test "x$ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1" = xyes
; then :
8328 LDSHARED
="\$(CC) -shared -Wl,-soname,libwine.so.$libwine_soversion"
8330 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -shared -Wl,-h,confest.so.1" >&5
8331 $as_echo_n "checking whether the compiler supports -fPIC -shared -Wl,-h,confest.so.1... " >&6; }
8332 if ${ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1+:} false
; then :
8333 $as_echo_n "(cached) " >&6
8335 ac_wine_try_cflags_saved
=$CFLAGS
8336 CFLAGS
="$CFLAGS -fPIC -shared -Wl,-h,confest.so.1"
8337 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8338 /* end confdefs.h. */
8339 int main(int argc, char **argv) { return 0; }
8341 if ac_fn_c_try_link
"$LINENO"; then :
8342 ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1
=yes
8344 ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1
=no
8346 rm -f core conftest.err conftest.
$ac_objext \
8347 conftest
$ac_exeext conftest.
$ac_ext
8348 CFLAGS
=$ac_wine_try_cflags_saved
8350 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1" >&5
8351 $as_echo "$ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1" >&6; }
8352 if test "x$ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1" = xyes
; then :
8353 LDSHARED
="\$(CC) -shared -Wl,-h,libwine.so.$libwine_soversion"
8357 echo '{ global: *; };' >conftest.map
8358 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -shared -Wl,--version-script=conftest.map" >&5
8359 $as_echo_n "checking whether the compiler supports -fPIC -shared -Wl,--version-script=conftest.map... " >&6; }
8360 if ${ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map+:} false
; then :
8361 $as_echo_n "(cached) " >&6
8363 ac_wine_try_cflags_saved
=$CFLAGS
8364 CFLAGS
="$CFLAGS -fPIC -shared -Wl,--version-script=conftest.map"
8365 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8366 /* end confdefs.h. */
8367 int main(int argc, char **argv) { return 0; }
8369 if ac_fn_c_try_link
"$LINENO"; then :
8370 ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map
=yes
8372 ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map
=no
8374 rm -f core conftest.err conftest.
$ac_objext \
8375 conftest
$ac_exeext conftest.
$ac_ext
8376 CFLAGS
=$ac_wine_try_cflags_saved
8378 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map" >&5
8379 $as_echo "$ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map" >&6; }
8380 if test "x$ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map" = xyes
; then :
8381 LDSHARED
="$LDSHARED -Wl,--version-script=\$(srcdir)/wine.map"
8385 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -Wl,--export-dynamic" >&5
8386 $as_echo_n "checking whether the compiler supports -fPIC -Wl,--export-dynamic... " >&6; }
8387 if ${ac_cv_cflags__fPIC__Wl___export_dynamic+:} false
; then :
8388 $as_echo_n "(cached) " >&6
8390 ac_wine_try_cflags_saved
=$CFLAGS
8391 CFLAGS
="$CFLAGS -fPIC -Wl,--export-dynamic"
8392 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8393 /* end confdefs.h. */
8394 int main(int argc, char **argv) { return 0; }
8396 if ac_fn_c_try_link
"$LINENO"; then :
8397 ac_cv_cflags__fPIC__Wl___export_dynamic
=yes
8399 ac_cv_cflags__fPIC__Wl___export_dynamic
=no
8401 rm -f core conftest.err conftest.
$ac_objext \
8402 conftest
$ac_exeext conftest.
$ac_ext
8403 CFLAGS
=$ac_wine_try_cflags_saved
8405 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fPIC__Wl___export_dynamic" >&5
8406 $as_echo "$ac_cv_cflags__fPIC__Wl___export_dynamic" >&6; }
8407 if test "x$ac_cv_cflags__fPIC__Wl___export_dynamic" = xyes
; then :
8408 LDEXECFLAGS
="-Wl,--export-dynamic"
8411 as_ac_var
=`$as_echo "ac_cv_cflags_-fPIC -Wl,--rpath,\\$ORIGIN/../lib" | $as_tr_sh`
8412 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -Wl,--rpath,\$ORIGIN/../lib" >&5
8413 $as_echo_n "checking whether the compiler supports -fPIC -Wl,--rpath,\$ORIGIN/../lib... " >&6; }
8414 if eval \
${$as_ac_var+:} false
; then :
8415 $as_echo_n "(cached) " >&6
8417 ac_wine_try_cflags_saved
=$CFLAGS
8418 CFLAGS
="$CFLAGS -fPIC -Wl,--rpath,\$ORIGIN/../lib"
8419 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8420 /* end confdefs.h. */
8421 int main(int argc, char **argv) { return 0; }
8423 if ac_fn_c_try_link
"$LINENO"; then :
8424 eval "$as_ac_var=yes"
8426 eval "$as_ac_var=no"
8428 rm -f core conftest.err conftest.
$ac_objext \
8429 conftest
$ac_exeext conftest.
$ac_ext
8430 CFLAGS
=$ac_wine_try_cflags_saved
8432 eval ac_res
=\$
$as_ac_var
8433 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
8434 $as_echo "$ac_res" >&6; }
8435 if eval test \"x\$
"$as_ac_var"\" = x
"yes"; then :
8436 LDRPATH_INSTALL
="-Wl,--rpath,\\\$\$ORIGIN/\`\$(MAKEDEP) -R \$(bindir) \$(libdir)\`"
8437 LDRPATH_LOCAL
="-Wl,--rpath,\\\$\$ORIGIN/\$(top_builddir)/libs/wine"
8439 as_ac_var
=`$as_echo "ac_cv_cflags_-fPIC -Wl,-R,\\$ORIGIN/../lib" | $as_tr_sh`
8440 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -Wl,-R,\$ORIGIN/../lib" >&5
8441 $as_echo_n "checking whether the compiler supports -fPIC -Wl,-R,\$ORIGIN/../lib... " >&6; }
8442 if eval \
${$as_ac_var+:} false
; then :
8443 $as_echo_n "(cached) " >&6
8445 ac_wine_try_cflags_saved
=$CFLAGS
8446 CFLAGS
="$CFLAGS -fPIC -Wl,-R,\$ORIGIN/../lib"
8447 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8448 /* end confdefs.h. */
8449 int main(int argc, char **argv) { return 0; }
8451 if ac_fn_c_try_link
"$LINENO"; then :
8452 eval "$as_ac_var=yes"
8454 eval "$as_ac_var=no"
8456 rm -f core conftest.err conftest.
$ac_objext \
8457 conftest
$ac_exeext conftest.
$ac_ext
8458 CFLAGS
=$ac_wine_try_cflags_saved
8460 eval ac_res
=\$
$as_ac_var
8461 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
8462 $as_echo "$ac_res" >&6; }
8463 if eval test \"x\$
"$as_ac_var"\" = x
"yes"; then :
8464 LDRPATH_INSTALL
="-Wl,-R,\\\$\$ORIGIN/\`\$(MAKEDEP) -R \$(bindir) \$(libdir)\`"
8465 LDRPATH_LOCAL
="-Wl,-R,\\\$\$ORIGIN/\$(top_builddir)/libs/wine"
8469 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,--enable-new-dtags" >&5
8470 $as_echo_n "checking whether the compiler supports -Wl,--enable-new-dtags... " >&6; }
8471 if ${ac_cv_cflags__Wl___enable_new_dtags+:} false
; then :
8472 $as_echo_n "(cached) " >&6
8474 ac_wine_try_cflags_saved
=$CFLAGS
8475 CFLAGS
="$CFLAGS -Wl,--enable-new-dtags"
8476 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8477 /* end confdefs.h. */
8478 int main(int argc, char **argv) { return 0; }
8480 if ac_fn_c_try_link
"$LINENO"; then :
8481 ac_cv_cflags__Wl___enable_new_dtags
=yes
8483 ac_cv_cflags__Wl___enable_new_dtags
=no
8485 rm -f core conftest.err conftest.
$ac_objext \
8486 conftest
$ac_exeext conftest.
$ac_ext
8487 CFLAGS
=$ac_wine_try_cflags_saved
8489 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl___enable_new_dtags" >&5
8490 $as_echo "$ac_cv_cflags__Wl___enable_new_dtags" >&6; }
8491 if test "x$ac_cv_cflags__Wl___enable_new_dtags" = xyes
; then :
8492 LDRPATH_INSTALL
="$LDRPATH_INSTALL -Wl,--enable-new-dtags"
8496 *i
[3456789]86* | x86_64
)
8497 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,--section-start,.interp=0x7bf00400" >&5
8498 $as_echo_n "checking whether the compiler supports -Wl,--section-start,.interp=0x7bf00400... " >&6; }
8499 if ${ac_cv_cflags__Wl___section_start__interp_0x7bf00400+:} false
; then :
8500 $as_echo_n "(cached) " >&6
8502 ac_wine_try_cflags_saved
=$CFLAGS
8503 CFLAGS
="$CFLAGS -Wl,--section-start,.interp=0x7bf00400"
8504 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8505 /* end confdefs.h. */
8506 int main(int argc, char **argv) { return 0; }
8508 if ac_fn_c_try_link
"$LINENO"; then :
8509 ac_cv_cflags__Wl___section_start__interp_0x7bf00400
=yes
8511 ac_cv_cflags__Wl___section_start__interp_0x7bf00400
=no
8513 rm -f core conftest.err conftest.
$ac_objext \
8514 conftest
$ac_exeext conftest.
$ac_ext
8515 CFLAGS
=$ac_wine_try_cflags_saved
8517 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl___section_start__interp_0x7bf00400" >&5
8518 $as_echo "$ac_cv_cflags__Wl___section_start__interp_0x7bf00400" >&6; }
8519 if test "x$ac_cv_cflags__Wl___section_start__interp_0x7bf00400" = xyes
; then :
8521 freebsd
* | kfreebsd
*-gnu) LDEXECFLAGS
="$LDEXECFLAGS -Wl,--section-start,.interp=0x60000400" ;;
8522 *) LDEXECFLAGS
="$LDEXECFLAGS -Wl,--section-start,.interp=0x7bf00400" ;;
8526 # Extract the first word of "prelink", so it can be a program name with args.
8527 set dummy prelink
; ac_word
=$2
8528 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8529 $as_echo_n "checking for $ac_word... " >&6; }
8530 if ${ac_cv_path_PRELINK+:} false
; then :
8531 $as_echo_n "(cached) " >&6
8535 ac_cv_path_PRELINK
="$PRELINK" # Let the user override the test with a path.
8538 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
8539 for as_dir
in /sbin
/usr
/sbin
$PATH
8542 test -z "$as_dir" && as_dir
=.
8543 for ac_exec_ext
in '' $ac_executable_extensions; do
8544 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
8545 ac_cv_path_PRELINK
="$as_dir/$ac_word$ac_exec_ext"
8546 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8553 test -z "$ac_cv_path_PRELINK" && ac_cv_path_PRELINK
="false"
8557 PRELINK
=$ac_cv_path_PRELINK
8558 if test -n "$PRELINK"; then
8559 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PRELINK" >&5
8560 $as_echo "$PRELINK" >&6; }
8562 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8563 $as_echo "no" >&6; }
8567 if test "x$PRELINK" = xfalse
8569 as_fn_append wine_warnings
"|prelink not found, base address of core dlls won't be set correctly."
8575 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we can build a UnixWare (Solaris) dll" >&5
8576 $as_echo_n "checking whether we can build a UnixWare (Solaris) dll... " >&6; }
8577 if ${ac_cv_c_dll_unixware+:} false
; then :
8578 $as_echo_n "(cached) " >&6
8580 ac_wine_try_cflags_saved
=$CFLAGS
8581 CFLAGS
="$CFLAGS -fPIC -Wl,-G,-h,conftest.so.1.0,-B,symbolic"
8582 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8583 /* end confdefs.h. */
8586 if ac_fn_c_try_link
"$LINENO"; then :
8587 ac_cv_c_dll_unixware
="yes"
8589 ac_cv_c_dll_unixware
="no"
8591 rm -f core conftest.err conftest.
$ac_objext \
8592 conftest
$ac_exeext conftest.
$ac_ext
8593 CFLAGS
=$ac_wine_try_cflags_saved
8595 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_dll_unixware" >&5
8596 $as_echo "$ac_cv_c_dll_unixware" >&6; }
8597 if test "$ac_cv_c_dll_unixware" = "yes"
8599 LDSHARED
="\$(CC) -Wl,-G,-h,libwine.so.$libwine_soversion"
8602 libwine_targets
="libwine.so libwine.so.$libwine_soversion libwine.so.$libwine_version"
8604 OBJS = \$(C_SRCS:.c=.o) \$(EXTRA_OBJS)
8608 libwine.so.$libwine_version: \$(OBJS) \$(srcdir)/wine.map
8609 $LDSHARED \$(OBJS) \$(EXTRALIBS) \$(LDFLAGS) \$(LIBS) -o \$@
8611 libwine.so.$libwine_soversion: libwine.so.$libwine_version
8612 \$(RM) \$@ && \$(LN_S) libwine.so.$libwine_version \$@
8614 libwine.so: libwine.so.$libwine_soversion
8615 \$(RM) \$@ && \$(LN_S) libwine.so.$libwine_soversion \$@
8617 install install-lib:: libwine.so.$libwine_version
8618 \$(INSTALL_PROGRAM) libwine.so.$libwine_version \$(DESTDIR)\$(libdir)/libwine.so.$libwine_version
8619 cd \$(DESTDIR)\$(libdir) && \$(RM) libwine.so.$libwine_soversion && \$(LN_S) libwine.so.$libwine_version libwine.so.$libwine_soversion
8621 install install-dev::
8622 cd \$(DESTDIR)\$(libdir) && \$(RM) libwine.so && \$(LN_S) libwine.so.$libwine_version libwine.so
8625 -cd \$(DESTDIR)\$(libdir) && \$(RM) libwine.so libwine.so.$libwine_soversion libwine.so.$libwine_version
8629 as_fn_append LOADER_RULES
"
8630 $wine_binary: main.o
8631 \$(CC) -o \$@ $LDEXECFLAGS main.o \$(LIBWINE) \$(LIBPORT) \$(EXTRALIBS) \$(LDFLAGS) \$(LDRPATH_LOCAL)
8633 wine-installed: main.o
8634 \$(CC) -o \$@ $LDEXECFLAGS main.o \$(LIBWINE) \$(LIBPORT) \$(EXTRALIBS) \$(LDFLAGS) \$(LDRPATH_INSTALL)
8639 as_fn_append LIBWINE_RULES
"
8640 EXTRA_TARGETS = $libwine_targets
8643 enable_wineqtdecoder
=${enable_wineqtdecoder:-no}
8644 enable_winemac_drv
=${enable_winemac_drv:-no}
8648 if test "$cross_compiling" = "no" -a "x$enable_tests" != xno
-a "$LIBEXT" != "dll"
8652 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
8655 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 " ;;
8657 ac_prefix_list
="" ;;
8659 for ac_prog
in $ac_prefix_list
8661 # Extract the first word of "$ac_prog", so it can be a program name with args.
8662 set dummy
$ac_prog; ac_word
=$2
8663 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8664 $as_echo_n "checking for $ac_word... " >&6; }
8665 if ${ac_cv_prog_CROSSCC+:} false
; then :
8666 $as_echo_n "(cached) " >&6
8668 if test -n "$CROSSCC"; then
8669 ac_cv_prog_CROSSCC
="$CROSSCC" # Let the user override the test.
8671 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
8675 test -z "$as_dir" && as_dir
=.
8676 for ac_exec_ext
in '' $ac_executable_extensions; do
8677 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
8678 ac_cv_prog_CROSSCC
="$ac_prog"
8679 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8688 CROSSCC
=$ac_cv_prog_CROSSCC
8689 if test -n "$CROSSCC"; then
8690 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CROSSCC" >&5
8691 $as_echo "$CROSSCC" >&6; }
8693 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8694 $as_echo "no" >&6; }
8698 test -n "$CROSSCC" && break
8700 test -n "$CROSSCC" || CROSSCC
="false"
8702 if test "$CROSSCC" != "false"
8706 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CROSSCC works" >&5
8707 $as_echo_n "checking whether $CROSSCC works... " >&6; }
8708 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8709 /* end confdefs.h. */
8719 if ac_fn_c_try_compile
"$LINENO"; then :
8720 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
8721 $as_echo "yes" >&6; }
8727 *-gcc) CROSSTARGET
=`expr "$1" : '\(.*\)-gcc'` ;;
8732 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8733 $as_echo "no" >&6; }
8735 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
8741 if test "$ac_cv_header_pthread_h" = "yes"
8743 ac_fn_c_check_func
"$LINENO" "pthread_create" "ac_cv_func_pthread_create"
8744 if test "x$ac_cv_func_pthread_create" = xyes
; then :
8747 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pthread_create in -lpthread" >&5
8748 $as_echo_n "checking for pthread_create in -lpthread... " >&6; }
8749 if ${ac_cv_lib_pthread_pthread_create+:} false
; then :
8750 $as_echo_n "(cached) " >&6
8752 ac_check_lib_save_LIBS
=$LIBS
8753 LIBS
="-lpthread $LIBS"
8754 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8755 /* end confdefs.h. */
8757 /* Override any GCC internal prototype to avoid an error.
8758 Use char because int might match the return type of a GCC
8759 builtin and then its argument prototype would still apply. */
8763 char pthread_create ();
8767 return pthread_create ();
8772 if ac_fn_c_try_link
"$LINENO"; then :
8773 ac_cv_lib_pthread_pthread_create
=yes
8775 ac_cv_lib_pthread_pthread_create
=no
8777 rm -f core conftest.err conftest.
$ac_objext \
8778 conftest
$ac_exeext conftest.
$ac_ext
8779 LIBS
=$ac_check_lib_save_LIBS
8781 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_pthread_pthread_create" >&5
8782 $as_echo "$ac_cv_lib_pthread_pthread_create" >&6; }
8783 if test "x$ac_cv_lib_pthread_pthread_create" = xyes
; then :
8784 PTHREAD_LIBS
="-lpthread"
8791 if test "x$ac_cv_func_pthread_create" != xyes
-a "x$PTHREAD_LIBS" = x
; then :
8792 case "x$with_pthread" in
8794 *) as_fn_error $?
"pthread ${notice_platform}development files not found.
8795 Wine cannot support threads without libpthread.
8796 Use the --without-pthread option if you really want this." "$LINENO" 5 ;;
8801 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for X" >&5
8802 $as_echo_n "checking for X... " >&6; }
8805 # Check whether --with-x was given.
8806 if test "${with_x+set}" = set; then :
8810 # $have_x is `yes', `no', `disabled', or empty when we do not yet know.
8811 if test "x$with_x" = xno
; then
8812 # The user explicitly disabled X.
8815 case $x_includes,$x_libraries in #(
8816 *\'*) as_fn_error $?
"cannot use X directory names containing '" "$LINENO" 5;; #(
8817 *,NONE | NONE
,*) if ${ac_cv_have_x+:} false
; then :
8818 $as_echo_n "(cached) " >&6
8820 # One or both of the vars are not set, and there is no cached value.
8821 ac_x_includes
=no ac_x_libraries
=no
8822 rm -f -r conftest.dir
8823 if mkdir conftest.dir
; then
8825 cat >Imakefile
<<'_ACEOF'
8827 @echo incroot='${INCROOT}'
8829 @echo usrlibdir='${USRLIBDIR}'
8831 @echo libdir='${LIBDIR}'
8833 if (export CC
; ${XMKMF-xmkmf}) >/dev
/null
2>/dev
/null
&& test -f Makefile
; then
8834 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
8835 for ac_var
in incroot usrlibdir libdir
; do
8836 eval "ac_im_$ac_var=\`\${MAKE-make} $ac_var 2>/dev/null | sed -n 's/^$ac_var=//p'\`"
8838 # Open Windows xmkmf reportedly sets LIBDIR instead of USRLIBDIR.
8839 for ac_extension
in a so sl dylib la dll
; do
8840 if test ! -f "$ac_im_usrlibdir/libX11.$ac_extension" &&
8841 test -f "$ac_im_libdir/libX11.$ac_extension"; then
8842 ac_im_usrlibdir
=$ac_im_libdir; break
8845 # Screen out bogus values from the imake configuration. They are
8846 # bogus both because they are the default anyway, and because
8847 # using them would break gcc on systems where it needs fixed includes.
8848 case $ac_im_incroot in
8849 /usr
/include
) ac_x_includes
= ;;
8850 *) test -f "$ac_im_incroot/X11/Xos.h" && ac_x_includes
=$ac_im_incroot;;
8852 case $ac_im_usrlibdir in
8853 /usr
/lib |
/usr
/lib64 |
/lib |
/lib64
) ;;
8854 *) test -d "$ac_im_usrlibdir" && ac_x_libraries
=$ac_im_usrlibdir ;;
8858 rm -f -r conftest.dir
8861 # Standard set of common directories for X headers.
8862 # Check X11 before X11Rn because it is often a symlink to the current release.
8876 /usr/local/X11/include
8877 /usr/local/X11R7/include
8878 /usr/local/X11R6/include
8879 /usr/local/X11R5/include
8880 /usr/local/X11R4/include
8882 /usr/local/include/X11
8883 /usr/local/include/X11R7
8884 /usr/local/include/X11R6
8885 /usr/local/include/X11R5
8886 /usr/local/include/X11R4
8890 /usr/XFree86/include/X11
8894 /usr/unsupported/include
8896 /usr/local/x11r5/include
8897 /usr/lpp/Xamples/include
8899 /usr/openwin/include
8900 /usr/openwin/share/include'
8902 if test "$ac_x_includes" = no
; then
8903 # Guess where to find include files, by looking for Xlib.h.
8904 # First, try using that file with no special directory specified.
8905 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8906 /* end confdefs.h. */
8907 #include <X11/Xlib.h>
8909 if ac_fn_c_try_cpp
"$LINENO"; then :
8910 # We can compile using X headers with no special include directory.
8913 for ac_dir
in $ac_x_header_dirs; do
8914 if test -r "$ac_dir/X11/Xlib.h"; then
8915 ac_x_includes
=$ac_dir
8920 rm -f conftest.err conftest.i conftest.
$ac_ext
8921 fi # $ac_x_includes = no
8923 if test "$ac_x_libraries" = no
; then
8924 # Check for the libraries.
8925 # See if we find them without any special options.
8926 # Don't add to $LIBS permanently.
8929 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8930 /* end confdefs.h. */
8931 #include <X11/Xlib.h>
8940 if ac_fn_c_try_link
"$LINENO"; then :
8942 # We can link X programs with no special library path.
8946 for ac_dir
in `$as_echo "$ac_x_includes $ac_x_header_dirs" | sed s/include/lib/g`
8948 # Don't even attempt the hair of trying to link an X program!
8949 for ac_extension
in a so sl dylib la dll
; do
8950 if test -r "$ac_dir/libX11.$ac_extension"; then
8951 ac_x_libraries
=$ac_dir
8957 rm -f core conftest.err conftest.
$ac_objext \
8958 conftest
$ac_exeext conftest.
$ac_ext
8959 fi # $ac_x_libraries = no
8961 case $ac_x_includes,$ac_x_libraries in #(
8963 # Didn't find X, or a directory has "'" in its name.
8964 ac_cv_have_x
="have_x=no";; #(
8966 # Record where we found X for the cache.
8967 ac_cv_have_x
="have_x=yes\
8968 ac_x_includes='$ac_x_includes'\
8969 ac_x_libraries='$ac_x_libraries'"
8975 eval "$ac_cv_have_x"
8978 if test "$have_x" != yes; then
8979 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $have_x" >&5
8980 $as_echo "$have_x" >&6; }
8983 # If each of the values was on the command line, it overrides each guess.
8984 test "x$x_includes" = xNONE
&& x_includes
=$ac_x_includes
8985 test "x$x_libraries" = xNONE
&& x_libraries
=$ac_x_libraries
8986 # Update the cache value to reflect the command line values.
8987 ac_cv_have_x
="have_x=yes\
8988 ac_x_includes='$x_includes'\
8989 ac_x_libraries='$x_libraries'"
8990 { $as_echo "$as_me:${as_lineno-$LINENO}: result: libraries $x_libraries, headers $x_includes" >&5
8991 $as_echo "libraries $x_libraries, headers $x_includes" >&6; }
8994 if test "$no_x" = yes; then
8995 # Not all programs may use this symbol, but it does not hurt to define it.
8997 $as_echo "#define X_DISPLAY_MISSING 1" >>confdefs.h
8999 X_CFLAGS
= X_PRE_LIBS
= X_LIBS
= X_EXTRA_LIBS
=
9001 if test -n "$x_includes"; then
9002 X_CFLAGS
="$X_CFLAGS -I$x_includes"
9005 # It would also be nice to do this for all -L options, not just this one.
9006 if test -n "$x_libraries"; then
9007 X_LIBS
="$X_LIBS -L$x_libraries"
9008 # For Solaris; some versions of Sun CC require a space after -R and
9009 # others require no space. Words are not sufficient . . . .
9010 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -R must be followed by a space" >&5
9011 $as_echo_n "checking whether -R must be followed by a space... " >&6; }
9012 ac_xsave_LIBS
=$LIBS; LIBS
="$LIBS -R$x_libraries"
9013 ac_xsave_c_werror_flag
=$ac_c_werror_flag
9014 ac_c_werror_flag
=yes
9015 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9016 /* end confdefs.h. */
9026 if ac_fn_c_try_link
"$LINENO"; then :
9027 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9028 $as_echo "no" >&6; }
9029 X_LIBS
="$X_LIBS -R$x_libraries"
9031 LIBS
="$ac_xsave_LIBS -R $x_libraries"
9032 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9033 /* end confdefs.h. */
9043 if ac_fn_c_try_link
"$LINENO"; then :
9044 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
9045 $as_echo "yes" >&6; }
9046 X_LIBS
="$X_LIBS -R $x_libraries"
9048 { $as_echo "$as_me:${as_lineno-$LINENO}: result: neither works" >&5
9049 $as_echo "neither works" >&6; }
9051 rm -f core conftest.err conftest.
$ac_objext \
9052 conftest
$ac_exeext conftest.
$ac_ext
9054 rm -f core conftest.err conftest.
$ac_objext \
9055 conftest
$ac_exeext conftest.
$ac_ext
9056 ac_c_werror_flag
=$ac_xsave_c_werror_flag
9060 # Check for system-dependent libraries X programs must link with.
9061 # Do this before checking for the system-independent R6 libraries
9062 # (-lICE), since we may need -lsocket or whatever for X linking.
9064 if test "$ISC" = yes; then
9065 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lnsl_s -linet"
9067 # Martyn Johnson says this is needed for Ultrix, if the X
9068 # libraries were built with DECnet support. And Karl Berry says
9069 # the Alpha needs dnet_stub (dnet does not exist).
9070 ac_xsave_LIBS
="$LIBS"; LIBS
="$LIBS $X_LIBS -lX11"
9071 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9072 /* end confdefs.h. */
9074 /* Override any GCC internal prototype to avoid an error.
9075 Use char because int might match the return type of a GCC
9076 builtin and then its argument prototype would still apply. */
9080 char XOpenDisplay ();
9084 return XOpenDisplay ();
9089 if ac_fn_c_try_link
"$LINENO"; then :
9092 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dnet_ntoa in -ldnet" >&5
9093 $as_echo_n "checking for dnet_ntoa in -ldnet... " >&6; }
9094 if ${ac_cv_lib_dnet_dnet_ntoa+:} false
; then :
9095 $as_echo_n "(cached) " >&6
9097 ac_check_lib_save_LIBS
=$LIBS
9099 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9100 /* end confdefs.h. */
9102 /* Override any GCC internal prototype to avoid an error.
9103 Use char because int might match the return type of a GCC
9104 builtin and then its argument prototype would still apply. */
9112 return dnet_ntoa ();
9117 if ac_fn_c_try_link
"$LINENO"; then :
9118 ac_cv_lib_dnet_dnet_ntoa
=yes
9120 ac_cv_lib_dnet_dnet_ntoa
=no
9122 rm -f core conftest.err conftest.
$ac_objext \
9123 conftest
$ac_exeext conftest.
$ac_ext
9124 LIBS
=$ac_check_lib_save_LIBS
9126 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dnet_dnet_ntoa" >&5
9127 $as_echo "$ac_cv_lib_dnet_dnet_ntoa" >&6; }
9128 if test "x$ac_cv_lib_dnet_dnet_ntoa" = xyes
; then :
9129 X_EXTRA_LIBS
="$X_EXTRA_LIBS -ldnet"
9132 if test $ac_cv_lib_dnet_dnet_ntoa = no
; then
9133 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dnet_ntoa in -ldnet_stub" >&5
9134 $as_echo_n "checking for dnet_ntoa in -ldnet_stub... " >&6; }
9135 if ${ac_cv_lib_dnet_stub_dnet_ntoa+:} false
; then :
9136 $as_echo_n "(cached) " >&6
9138 ac_check_lib_save_LIBS
=$LIBS
9139 LIBS
="-ldnet_stub $LIBS"
9140 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9141 /* end confdefs.h. */
9143 /* Override any GCC internal prototype to avoid an error.
9144 Use char because int might match the return type of a GCC
9145 builtin and then its argument prototype would still apply. */
9153 return dnet_ntoa ();
9158 if ac_fn_c_try_link
"$LINENO"; then :
9159 ac_cv_lib_dnet_stub_dnet_ntoa
=yes
9161 ac_cv_lib_dnet_stub_dnet_ntoa
=no
9163 rm -f core conftest.err conftest.
$ac_objext \
9164 conftest
$ac_exeext conftest.
$ac_ext
9165 LIBS
=$ac_check_lib_save_LIBS
9167 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dnet_stub_dnet_ntoa" >&5
9168 $as_echo "$ac_cv_lib_dnet_stub_dnet_ntoa" >&6; }
9169 if test "x$ac_cv_lib_dnet_stub_dnet_ntoa" = xyes
; then :
9170 X_EXTRA_LIBS
="$X_EXTRA_LIBS -ldnet_stub"
9175 rm -f core conftest.err conftest.
$ac_objext \
9176 conftest
$ac_exeext conftest.
$ac_ext
9177 LIBS
="$ac_xsave_LIBS"
9179 # msh@cis.ufl.edu says -lnsl (and -lsocket) are needed for his 386/AT,
9180 # to get the SysV transport functions.
9181 # Chad R. Larson says the Pyramis MIS-ES running DC/OSx (SVR4)
9183 # The nsl library prevents programs from opening the X display
9184 # on Irix 5.2, according to T.E. Dickey.
9185 # The functions gethostbyname, getservbyname, and inet_addr are
9186 # in -lbsd on LynxOS 3.0.1/i386, according to Lars Hecking.
9187 ac_fn_c_check_func
"$LINENO" "gethostbyname" "ac_cv_func_gethostbyname"
9188 if test "x$ac_cv_func_gethostbyname" = xyes
; then :
9192 if test $ac_cv_func_gethostbyname = no
; then
9193 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gethostbyname in -lnsl" >&5
9194 $as_echo_n "checking for gethostbyname in -lnsl... " >&6; }
9195 if ${ac_cv_lib_nsl_gethostbyname+:} false
; then :
9196 $as_echo_n "(cached) " >&6
9198 ac_check_lib_save_LIBS
=$LIBS
9200 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9201 /* end confdefs.h. */
9203 /* Override any GCC internal prototype to avoid an error.
9204 Use char because int might match the return type of a GCC
9205 builtin and then its argument prototype would still apply. */
9209 char gethostbyname ();
9213 return gethostbyname ();
9218 if ac_fn_c_try_link
"$LINENO"; then :
9219 ac_cv_lib_nsl_gethostbyname
=yes
9221 ac_cv_lib_nsl_gethostbyname
=no
9223 rm -f core conftest.err conftest.
$ac_objext \
9224 conftest
$ac_exeext conftest.
$ac_ext
9225 LIBS
=$ac_check_lib_save_LIBS
9227 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_nsl_gethostbyname" >&5
9228 $as_echo "$ac_cv_lib_nsl_gethostbyname" >&6; }
9229 if test "x$ac_cv_lib_nsl_gethostbyname" = xyes
; then :
9230 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lnsl"
9233 if test $ac_cv_lib_nsl_gethostbyname = no
; then
9234 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gethostbyname in -lbsd" >&5
9235 $as_echo_n "checking for gethostbyname in -lbsd... " >&6; }
9236 if ${ac_cv_lib_bsd_gethostbyname+:} false
; then :
9237 $as_echo_n "(cached) " >&6
9239 ac_check_lib_save_LIBS
=$LIBS
9241 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9242 /* end confdefs.h. */
9244 /* Override any GCC internal prototype to avoid an error.
9245 Use char because int might match the return type of a GCC
9246 builtin and then its argument prototype would still apply. */
9250 char gethostbyname ();
9254 return gethostbyname ();
9259 if ac_fn_c_try_link
"$LINENO"; then :
9260 ac_cv_lib_bsd_gethostbyname
=yes
9262 ac_cv_lib_bsd_gethostbyname
=no
9264 rm -f core conftest.err conftest.
$ac_objext \
9265 conftest
$ac_exeext conftest.
$ac_ext
9266 LIBS
=$ac_check_lib_save_LIBS
9268 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_bsd_gethostbyname" >&5
9269 $as_echo "$ac_cv_lib_bsd_gethostbyname" >&6; }
9270 if test "x$ac_cv_lib_bsd_gethostbyname" = xyes
; then :
9271 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lbsd"
9277 # lieder@skyler.mavd.honeywell.com says without -lsocket,
9278 # socket/setsockopt and other routines are undefined under SCO ODT
9279 # 2.0. But -lsocket is broken on IRIX 5.2 (and is not necessary
9280 # on later versions), says Simon Leinen: it contains gethostby*
9281 # variants that don't use the name server (or something). -lsocket
9282 # must be given before -lnsl if both are needed. We assume that
9283 # if connect needs -lnsl, so does gethostbyname.
9284 ac_fn_c_check_func
"$LINENO" "connect" "ac_cv_func_connect"
9285 if test "x$ac_cv_func_connect" = xyes
; then :
9289 if test $ac_cv_func_connect = no
; then
9290 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for connect in -lsocket" >&5
9291 $as_echo_n "checking for connect in -lsocket... " >&6; }
9292 if ${ac_cv_lib_socket_connect+:} false
; then :
9293 $as_echo_n "(cached) " >&6
9295 ac_check_lib_save_LIBS
=$LIBS
9296 LIBS
="-lsocket $X_EXTRA_LIBS $LIBS"
9297 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9298 /* end confdefs.h. */
9300 /* Override any GCC internal prototype to avoid an error.
9301 Use char because int might match the return type of a GCC
9302 builtin and then its argument prototype would still apply. */
9315 if ac_fn_c_try_link
"$LINENO"; then :
9316 ac_cv_lib_socket_connect
=yes
9318 ac_cv_lib_socket_connect
=no
9320 rm -f core conftest.err conftest.
$ac_objext \
9321 conftest
$ac_exeext conftest.
$ac_ext
9322 LIBS
=$ac_check_lib_save_LIBS
9324 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_socket_connect" >&5
9325 $as_echo "$ac_cv_lib_socket_connect" >&6; }
9326 if test "x$ac_cv_lib_socket_connect" = xyes
; then :
9327 X_EXTRA_LIBS
="-lsocket $X_EXTRA_LIBS"
9332 # Guillermo Gomez says -lposix is necessary on A/UX.
9333 ac_fn_c_check_func
"$LINENO" "remove" "ac_cv_func_remove"
9334 if test "x$ac_cv_func_remove" = xyes
; then :
9338 if test $ac_cv_func_remove = no
; then
9339 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for remove in -lposix" >&5
9340 $as_echo_n "checking for remove in -lposix... " >&6; }
9341 if ${ac_cv_lib_posix_remove+:} false
; then :
9342 $as_echo_n "(cached) " >&6
9344 ac_check_lib_save_LIBS
=$LIBS
9345 LIBS
="-lposix $LIBS"
9346 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9347 /* end confdefs.h. */
9349 /* Override any GCC internal prototype to avoid an error.
9350 Use char because int might match the return type of a GCC
9351 builtin and then its argument prototype would still apply. */
9364 if ac_fn_c_try_link
"$LINENO"; then :
9365 ac_cv_lib_posix_remove
=yes
9367 ac_cv_lib_posix_remove
=no
9369 rm -f core conftest.err conftest.
$ac_objext \
9370 conftest
$ac_exeext conftest.
$ac_ext
9371 LIBS
=$ac_check_lib_save_LIBS
9373 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_posix_remove" >&5
9374 $as_echo "$ac_cv_lib_posix_remove" >&6; }
9375 if test "x$ac_cv_lib_posix_remove" = xyes
; then :
9376 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lposix"
9381 # BSDI BSD/OS 2.1 needs -lipc for XOpenDisplay.
9382 ac_fn_c_check_func
"$LINENO" "shmat" "ac_cv_func_shmat"
9383 if test "x$ac_cv_func_shmat" = xyes
; then :
9387 if test $ac_cv_func_shmat = no
; then
9388 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shmat in -lipc" >&5
9389 $as_echo_n "checking for shmat in -lipc... " >&6; }
9390 if ${ac_cv_lib_ipc_shmat+:} false
; then :
9391 $as_echo_n "(cached) " >&6
9393 ac_check_lib_save_LIBS
=$LIBS
9395 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9396 /* end confdefs.h. */
9398 /* Override any GCC internal prototype to avoid an error.
9399 Use char because int might match the return type of a GCC
9400 builtin and then its argument prototype would still apply. */
9413 if ac_fn_c_try_link
"$LINENO"; then :
9414 ac_cv_lib_ipc_shmat
=yes
9416 ac_cv_lib_ipc_shmat
=no
9418 rm -f core conftest.err conftest.
$ac_objext \
9419 conftest
$ac_exeext conftest.
$ac_ext
9420 LIBS
=$ac_check_lib_save_LIBS
9422 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ipc_shmat" >&5
9423 $as_echo "$ac_cv_lib_ipc_shmat" >&6; }
9424 if test "x$ac_cv_lib_ipc_shmat" = xyes
; then :
9425 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lipc"
9431 # Check for libraries that X11R6 Xt/Xaw programs need.
9432 ac_save_LDFLAGS
=$LDFLAGS
9433 test -n "$x_libraries" && LDFLAGS
="$LDFLAGS -L$x_libraries"
9434 # SM needs ICE to (dynamically) link under SunOS 4.x (so we have to
9435 # check for ICE first), but we must link in the order -lSM -lICE or
9436 # we get undefined symbols. So assume we have SM if we have ICE.
9437 # These have to be linked with before -lX11, unlike the other
9438 # libraries we check for below, so use a different variable.
9439 # John Interrante, Karl Berry
9440 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for IceConnectionNumber in -lICE" >&5
9441 $as_echo_n "checking for IceConnectionNumber in -lICE... " >&6; }
9442 if ${ac_cv_lib_ICE_IceConnectionNumber+:} false
; then :
9443 $as_echo_n "(cached) " >&6
9445 ac_check_lib_save_LIBS
=$LIBS
9446 LIBS
="-lICE $X_EXTRA_LIBS $LIBS"
9447 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9448 /* end confdefs.h. */
9450 /* Override any GCC internal prototype to avoid an error.
9451 Use char because int might match the return type of a GCC
9452 builtin and then its argument prototype would still apply. */
9456 char IceConnectionNumber ();
9460 return IceConnectionNumber ();
9465 if ac_fn_c_try_link
"$LINENO"; then :
9466 ac_cv_lib_ICE_IceConnectionNumber
=yes
9468 ac_cv_lib_ICE_IceConnectionNumber
=no
9470 rm -f core conftest.err conftest.
$ac_objext \
9471 conftest
$ac_exeext conftest.
$ac_ext
9472 LIBS
=$ac_check_lib_save_LIBS
9474 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ICE_IceConnectionNumber" >&5
9475 $as_echo "$ac_cv_lib_ICE_IceConnectionNumber" >&6; }
9476 if test "x$ac_cv_lib_ICE_IceConnectionNumber" = xyes
; then :
9477 X_PRE_LIBS
="$X_PRE_LIBS -lSM -lICE"
9480 LDFLAGS
=$ac_save_LDFLAGS
9485 if test "$have_x" = "yes"
9487 ac_save_CPPFLAGS
="$CPPFLAGS"
9488 CPPFLAGS
="$CPPFLAGS $X_CFLAGS"
9490 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lX11" >&5
9491 $as_echo_n "checking for -lX11... " >&6; }
9492 if ${ac_cv_lib_soname_X11+:} false
; then :
9493 $as_echo_n "(cached) " >&6
9495 ac_check_soname_save_LIBS
=$LIBS
9496 LIBS
="-lX11 $X_LIBS $X_EXTRA_LIBS $LIBS"
9497 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9498 /* end confdefs.h. */
9500 /* Override any GCC internal prototype to avoid an error.
9501 Use char because int might match the return type of a GCC
9502 builtin and then its argument prototype would still apply. */
9506 char XCreateWindow ();
9510 return XCreateWindow ();
9515 if ac_fn_c_try_link
"$LINENO"; then :
9517 dll
) ac_cv_lib_soname_X11
=`$ac_cv_path_LDD conftest.exe | grep "X11" | sed -e "s/dll.*/dll/"';2,$d'` ;;
9518 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'` ;;
9519 *) ac_cv_lib_soname_X11
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libX11\\.$LIBEXT" | sed -e "s/^.*\\[\\(libX11\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
9520 if ${ac_cv_lib_soname_X11:+false} :; then :
9521 ac_cv_lib_soname_X11
=`$LDD conftest$ac_exeext | grep "libX11\\.$LIBEXT" | sed -e "s/^.*\(libX11\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
9525 rm -f core conftest.err conftest.
$ac_objext \
9526 conftest
$ac_exeext conftest.
$ac_ext
9527 LIBS
=$ac_check_soname_save_LIBS
9529 if ${ac_cv_lib_soname_X11:+false} :; then :
9530 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
9531 $as_echo "not found" >&6; }
9534 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_X11" >&5
9535 $as_echo "$ac_cv_lib_soname_X11" >&6; }
9537 cat >>confdefs.h
<<_ACEOF
9538 #define SONAME_LIBX11 "$ac_cv_lib_soname_X11"
9543 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXext" >&5
9544 $as_echo_n "checking for -lXext... " >&6; }
9545 if ${ac_cv_lib_soname_Xext+:} false
; then :
9546 $as_echo_n "(cached) " >&6
9548 ac_check_soname_save_LIBS
=$LIBS
9549 LIBS
="-lXext $X_LIBS -lX11 $X_EXTRA_LIBS $LIBS"
9550 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9551 /* end confdefs.h. */
9553 /* Override any GCC internal prototype to avoid an error.
9554 Use char because int might match the return type of a GCC
9555 builtin and then its argument prototype would still apply. */
9559 char XextCreateExtension ();
9563 return XextCreateExtension ();
9568 if ac_fn_c_try_link
"$LINENO"; then :
9570 dll
) ac_cv_lib_soname_Xext
=`$ac_cv_path_LDD conftest.exe | grep "Xext" | sed -e "s/dll.*/dll/"';2,$d'` ;;
9571 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'` ;;
9572 *) ac_cv_lib_soname_Xext
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXext\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXext\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
9573 if ${ac_cv_lib_soname_Xext:+false} :; then :
9574 ac_cv_lib_soname_Xext
=`$LDD conftest$ac_exeext | grep "libXext\\.$LIBEXT" | sed -e "s/^.*\(libXext\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
9578 rm -f core conftest.err conftest.
$ac_objext \
9579 conftest
$ac_exeext conftest.
$ac_ext
9580 LIBS
=$ac_check_soname_save_LIBS
9582 if ${ac_cv_lib_soname_Xext:+false} :; then :
9583 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
9584 $as_echo "not found" >&6; }
9587 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xext" >&5
9588 $as_echo "$ac_cv_lib_soname_Xext" >&6; }
9590 cat >>confdefs.h
<<_ACEOF
9591 #define SONAME_LIBXEXT "$ac_cv_lib_soname_Xext"
9594 X_LIBS
="$X_LIBS -lXext"
9596 X_LIBS
="$X_LIBS -lX11"
9598 for ac_header
in X11
/Xlib.h \
9601 X11
/Xcursor
/Xcursor.h \
9602 X11
/extensions
/shape.h \
9603 X11
/extensions
/XInput.h \
9604 X11
/extensions
/XInput2.h \
9605 X11
/extensions
/XShm.h \
9606 X11
/extensions
/Xcomposite.h \
9607 X11
/extensions
/Xinerama.h \
9608 X11
/extensions
/Xrandr.h \
9609 X11
/extensions
/Xrender.h \
9610 X11
/extensions
/xf86vmode.h \
9611 X11
/extensions
/xf86vmproto.h
9613 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
9614 ac_fn_c_check_header_compile
"$LINENO" "$ac_header" "$as_ac_Header" "#ifdef HAVE_X11_XLIB_H
9615 # include <X11/Xlib.h>
9617 #ifdef HAVE_X11_XUTIL_H
9618 # include <X11/Xutil.h>
9621 if eval test \"x\$
"$as_ac_Header"\" = x
"yes"; then :
9622 cat >>confdefs.h
<<_ACEOF
9623 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
9631 if test "$ac_cv_header_X11_XKBlib_h" = "yes"
9633 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XkbQueryExtension in -lX11" >&5
9634 $as_echo_n "checking for XkbQueryExtension in -lX11... " >&6; }
9635 if ${ac_cv_lib_X11_XkbQueryExtension+:} false
; then :
9636 $as_echo_n "(cached) " >&6
9638 ac_check_lib_save_LIBS
=$LIBS
9639 LIBS
="-lX11 $X_LIBS $X_EXTRA_LIBS $LIBS"
9640 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9641 /* end confdefs.h. */
9643 /* Override any GCC internal prototype to avoid an error.
9644 Use char because int might match the return type of a GCC
9645 builtin and then its argument prototype would still apply. */
9649 char XkbQueryExtension ();
9653 return XkbQueryExtension ();
9658 if ac_fn_c_try_link
"$LINENO"; then :
9659 ac_cv_lib_X11_XkbQueryExtension
=yes
9661 ac_cv_lib_X11_XkbQueryExtension
=no
9663 rm -f core conftest.err conftest.
$ac_objext \
9664 conftest
$ac_exeext conftest.
$ac_ext
9665 LIBS
=$ac_check_lib_save_LIBS
9667 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_X11_XkbQueryExtension" >&5
9668 $as_echo "$ac_cv_lib_X11_XkbQueryExtension" >&6; }
9669 if test "x$ac_cv_lib_X11_XkbQueryExtension" = xyes
; then :
9671 $as_echo "#define HAVE_XKB 1" >>confdefs.h
9677 if test "$ac_cv_header_X11_Xcursor_Xcursor_h" = "yes"
9679 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXcursor" >&5
9680 $as_echo_n "checking for -lXcursor... " >&6; }
9681 if ${ac_cv_lib_soname_Xcursor+:} false
; then :
9682 $as_echo_n "(cached) " >&6
9684 ac_check_soname_save_LIBS
=$LIBS
9685 LIBS
="-lXcursor $X_LIBS $X_EXTRA_LIBS $LIBS"
9686 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9687 /* end confdefs.h. */
9689 /* Override any GCC internal prototype to avoid an error.
9690 Use char because int might match the return type of a GCC
9691 builtin and then its argument prototype would still apply. */
9695 char XcursorImageLoadCursor ();
9699 return XcursorImageLoadCursor ();
9704 if ac_fn_c_try_link
"$LINENO"; then :
9706 dll
) ac_cv_lib_soname_Xcursor
=`$ac_cv_path_LDD conftest.exe | grep "Xcursor" | sed -e "s/dll.*/dll/"';2,$d'` ;;
9707 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'` ;;
9708 *) ac_cv_lib_soname_Xcursor
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXcursor\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXcursor\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
9709 if ${ac_cv_lib_soname_Xcursor:+false} :; then :
9710 ac_cv_lib_soname_Xcursor
=`$LDD conftest$ac_exeext | grep "libXcursor\\.$LIBEXT" | sed -e "s/^.*\(libXcursor\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
9714 rm -f core conftest.err conftest.
$ac_objext \
9715 conftest
$ac_exeext conftest.
$ac_ext
9716 LIBS
=$ac_check_soname_save_LIBS
9718 if ${ac_cv_lib_soname_Xcursor:+false} :; then :
9719 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
9720 $as_echo "not found" >&6; }
9723 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xcursor" >&5
9724 $as_echo "$ac_cv_lib_soname_Xcursor" >&6; }
9726 cat >>confdefs.h
<<_ACEOF
9727 #define SONAME_LIBXCURSOR "$ac_cv_lib_soname_Xcursor"
9733 if test "x$ac_cv_lib_soname_Xcursor" = "x"; then :
9734 case "x$with_xcursor" in
9735 x
) as_fn_append wine_notices
"|libxcursor ${notice_platform}development files not found, the Xcursor extension won't be supported." ;;
9737 *) as_fn_error $?
"libxcursor ${notice_platform}development files not found, the Xcursor extension won't be supported.
9738 This is an error since --with-xcursor was requested." "$LINENO" 5 ;;
9742 if test "$ac_cv_header_X11_extensions_XInput_h" = "yes"
9744 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXi" >&5
9745 $as_echo_n "checking for -lXi... " >&6; }
9746 if ${ac_cv_lib_soname_Xi+:} false
; then :
9747 $as_echo_n "(cached) " >&6
9749 ac_check_soname_save_LIBS
=$LIBS
9750 LIBS
="-lXi $X_LIBS $X_EXTRA_LIBS $LIBS"
9751 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9752 /* end confdefs.h. */
9754 /* Override any GCC internal prototype to avoid an error.
9755 Use char because int might match the return type of a GCC
9756 builtin and then its argument prototype would still apply. */
9760 char XOpenDevice ();
9764 return XOpenDevice ();
9769 if ac_fn_c_try_link
"$LINENO"; then :
9771 dll
) ac_cv_lib_soname_Xi
=`$ac_cv_path_LDD conftest.exe | grep "Xi" | sed -e "s/dll.*/dll/"';2,$d'` ;;
9772 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'` ;;
9773 *) ac_cv_lib_soname_Xi
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXi\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXi\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
9774 if ${ac_cv_lib_soname_Xi:+false} :; then :
9775 ac_cv_lib_soname_Xi
=`$LDD conftest$ac_exeext | grep "libXi\\.$LIBEXT" | sed -e "s/^.*\(libXi\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
9779 rm -f core conftest.err conftest.
$ac_objext \
9780 conftest
$ac_exeext conftest.
$ac_ext
9781 LIBS
=$ac_check_soname_save_LIBS
9783 if ${ac_cv_lib_soname_Xi:+false} :; then :
9784 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
9785 $as_echo "not found" >&6; }
9788 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xi" >&5
9789 $as_echo "$ac_cv_lib_soname_Xi" >&6; }
9791 cat >>confdefs.h
<<_ACEOF
9792 #define SONAME_LIBXI "$ac_cv_lib_soname_Xi"
9798 if test "x$ac_cv_lib_soname_Xi" = "x"; then :
9799 case "x$with_xinput" in
9800 x
) as_fn_append wine_notices
"|libxi ${notice_platform}development files not found, the Xinput extension won't be supported." ;;
9802 *) as_fn_error $?
"libxi ${notice_platform}development files not found, the Xinput extension won't be supported.
9803 This is an error since --with-xinput was requested." "$LINENO" 5 ;;
9807 if test "x$ac_cv_lib_soname_Xi" != x
9809 if test "$ac_cv_header_X11_extensions_XInput2_h" != "yes"; then :
9810 case "x$with_xinput2" in
9811 x
) as_fn_append wine_notices
"|XInput2 headers not found, the XInput 2 extension won't be supported." ;;
9813 *) as_fn_error $?
"XInput2 headers not found, the XInput 2 extension won't be supported.
9814 This is an error since --with-xinput2 was requested." "$LINENO" 5 ;;
9819 if test "$ac_cv_header_X11_extensions_XShm_h" = "yes"
9821 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XShmQueryExtension in -lXext" >&5
9822 $as_echo_n "checking for XShmQueryExtension in -lXext... " >&6; }
9823 if ${ac_cv_lib_Xext_XShmQueryExtension+:} false
; then :
9824 $as_echo_n "(cached) " >&6
9826 ac_check_lib_save_LIBS
=$LIBS
9827 LIBS
="-lXext $X_LIBS $X_EXTRA_LIBS $LIBS"
9828 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9829 /* end confdefs.h. */
9831 /* Override any GCC internal prototype to avoid an error.
9832 Use char because int might match the return type of a GCC
9833 builtin and then its argument prototype would still apply. */
9837 char XShmQueryExtension ();
9841 return XShmQueryExtension ();
9846 if ac_fn_c_try_link
"$LINENO"; then :
9847 ac_cv_lib_Xext_XShmQueryExtension
=yes
9849 ac_cv_lib_Xext_XShmQueryExtension
=no
9851 rm -f core conftest.err conftest.
$ac_objext \
9852 conftest
$ac_exeext conftest.
$ac_ext
9853 LIBS
=$ac_check_lib_save_LIBS
9855 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xext_XShmQueryExtension" >&5
9856 $as_echo "$ac_cv_lib_Xext_XShmQueryExtension" >&6; }
9857 if test "x$ac_cv_lib_Xext_XShmQueryExtension" = xyes
; then :
9859 $as_echo "#define HAVE_LIBXXSHM 1" >>confdefs.h
9864 if test "$ac_cv_lib_Xext_XShmQueryExtension" != "yes"; then :
9865 case "x$with_xshm" in
9866 x
) as_fn_append wine_notices
"|XShm ${notice_platform}development files not found, X Shared Memory won't be supported." ;;
9868 *) as_fn_error $?
"XShm ${notice_platform}development files not found, X Shared Memory won't be supported.
9869 This is an error since --with-xshm was requested." "$LINENO" 5 ;;
9873 if test "$ac_cv_header_X11_extensions_shape_h" = "yes"
9875 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XShapeQueryExtension in -lXext" >&5
9876 $as_echo_n "checking for XShapeQueryExtension in -lXext... " >&6; }
9877 if ${ac_cv_lib_Xext_XShapeQueryExtension+:} false
; then :
9878 $as_echo_n "(cached) " >&6
9880 ac_check_lib_save_LIBS
=$LIBS
9881 LIBS
="-lXext $X_LIBS $X_EXTRA_LIBS $LIBS"
9882 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9883 /* end confdefs.h. */
9885 /* Override any GCC internal prototype to avoid an error.
9886 Use char because int might match the return type of a GCC
9887 builtin and then its argument prototype would still apply. */
9891 char XShapeQueryExtension ();
9895 return XShapeQueryExtension ();
9900 if ac_fn_c_try_link
"$LINENO"; then :
9901 ac_cv_lib_Xext_XShapeQueryExtension
=yes
9903 ac_cv_lib_Xext_XShapeQueryExtension
=no
9905 rm -f core conftest.err conftest.
$ac_objext \
9906 conftest
$ac_exeext conftest.
$ac_ext
9907 LIBS
=$ac_check_lib_save_LIBS
9909 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xext_XShapeQueryExtension" >&5
9910 $as_echo "$ac_cv_lib_Xext_XShapeQueryExtension" >&6; }
9911 if test "x$ac_cv_lib_Xext_XShapeQueryExtension" = xyes
; then :
9913 $as_echo "#define HAVE_LIBXSHAPE 1" >>confdefs.h
9918 if test "$ac_cv_lib_Xext_XShapeQueryExtension" != "yes"; then :
9919 case "x$with_xshape" in
9920 x
) as_fn_append wine_notices
"|XShape ${notice_platform}development files not found, XShape won't be supported." ;;
9922 *) as_fn_error $?
"XShape ${notice_platform}development files not found, XShape won't be supported.
9923 This is an error since --with-xshape was requested." "$LINENO" 5 ;;
9927 if test "$ac_cv_header_X11_extensions_xf86vmode_h" = "yes" -o "$ac_cv_header_X11_extensions_xf86vmproto_h" = "yes"
9929 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXxf86vm" >&5
9930 $as_echo_n "checking for -lXxf86vm... " >&6; }
9931 if ${ac_cv_lib_soname_Xxf86vm+:} false
; then :
9932 $as_echo_n "(cached) " >&6
9934 ac_check_soname_save_LIBS
=$LIBS
9935 LIBS
="-lXxf86vm $X_LIBS $X_EXTRA_LIBS $LIBS"
9936 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9937 /* end confdefs.h. */
9939 /* Override any GCC internal prototype to avoid an error.
9940 Use char because int might match the return type of a GCC
9941 builtin and then its argument prototype would still apply. */
9945 char XF86VidModeQueryExtension ();
9949 return XF86VidModeQueryExtension ();
9954 if ac_fn_c_try_link
"$LINENO"; then :
9956 dll
) ac_cv_lib_soname_Xxf86vm
=`$ac_cv_path_LDD conftest.exe | grep "Xxf86vm" | sed -e "s/dll.*/dll/"';2,$d'` ;;
9957 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'` ;;
9958 *) ac_cv_lib_soname_Xxf86vm
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXxf86vm\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXxf86vm\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
9959 if ${ac_cv_lib_soname_Xxf86vm:+false} :; then :
9960 ac_cv_lib_soname_Xxf86vm
=`$LDD conftest$ac_exeext | grep "libXxf86vm\\.$LIBEXT" | sed -e "s/^.*\(libXxf86vm\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
9964 rm -f core conftest.err conftest.
$ac_objext \
9965 conftest
$ac_exeext conftest.
$ac_ext
9966 LIBS
=$ac_check_soname_save_LIBS
9968 if ${ac_cv_lib_soname_Xxf86vm:+false} :; then :
9969 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
9970 $as_echo "not found" >&6; }
9973 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xxf86vm" >&5
9974 $as_echo "$ac_cv_lib_soname_Xxf86vm" >&6; }
9976 cat >>confdefs.h
<<_ACEOF
9977 #define SONAME_LIBXXF86VM "$ac_cv_lib_soname_Xxf86vm"
9983 if test "x$ac_cv_lib_soname_Xxf86vm" = "x"; then :
9984 case "x$with_xxf86vm" in
9985 x
) as_fn_append wine_notices
"|libXxf86vm ${notice_platform}development files not found, XFree86 Vidmode won't be supported." ;;
9987 *) as_fn_error $?
"libXxf86vm ${notice_platform}development files not found, XFree86 Vidmode won't be supported.
9988 This is an error since --with-xxf86vm was requested." "$LINENO" 5 ;;
9992 if test "$ac_cv_header_X11_extensions_Xrender_h" = "yes" -a "x$ac_cv_lib_soname_X11" != "x"
9994 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXrender" >&5
9995 $as_echo_n "checking for -lXrender... " >&6; }
9996 if ${ac_cv_lib_soname_Xrender+:} false
; then :
9997 $as_echo_n "(cached) " >&6
9999 ac_check_soname_save_LIBS
=$LIBS
10000 LIBS
="-lXrender $X_LIBS $X_EXTRA_LIBS $LIBS"
10001 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10002 /* end confdefs.h. */
10004 /* Override any GCC internal prototype to avoid an error.
10005 Use char because int might match the return type of a GCC
10006 builtin and then its argument prototype would still apply. */
10010 char XRenderQueryExtension ();
10014 return XRenderQueryExtension ();
10019 if ac_fn_c_try_link
"$LINENO"; then :
10021 dll
) ac_cv_lib_soname_Xrender
=`$ac_cv_path_LDD conftest.exe | grep "Xrender" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10022 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'` ;;
10023 *) ac_cv_lib_soname_Xrender
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXrender\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXrender\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10024 if ${ac_cv_lib_soname_Xrender:+false} :; then :
10025 ac_cv_lib_soname_Xrender
=`$LDD conftest$ac_exeext | grep "libXrender\\.$LIBEXT" | sed -e "s/^.*\(libXrender\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10029 rm -f core conftest.err conftest.
$ac_objext \
10030 conftest
$ac_exeext conftest.
$ac_ext
10031 LIBS
=$ac_check_soname_save_LIBS
10033 if ${ac_cv_lib_soname_Xrender:+false} :; then :
10034 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10035 $as_echo "not found" >&6; }
10038 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xrender" >&5
10039 $as_echo "$ac_cv_lib_soname_Xrender" >&6; }
10041 cat >>confdefs.h
<<_ACEOF
10042 #define SONAME_LIBXRENDER "$ac_cv_lib_soname_Xrender"
10045 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XRenderSetPictureTransform in -lXrender" >&5
10046 $as_echo_n "checking for XRenderSetPictureTransform in -lXrender... " >&6; }
10047 if ${ac_cv_lib_Xrender_XRenderSetPictureTransform+:} false
; then :
10048 $as_echo_n "(cached) " >&6
10050 ac_check_lib_save_LIBS
=$LIBS
10051 LIBS
="-lXrender $X_LIBS $X_EXTRA_LIBS $LIBS"
10052 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10053 /* end confdefs.h. */
10055 /* Override any GCC internal prototype to avoid an error.
10056 Use char because int might match the return type of a GCC
10057 builtin and then its argument prototype would still apply. */
10061 char XRenderSetPictureTransform ();
10065 return XRenderSetPictureTransform ();
10070 if ac_fn_c_try_link
"$LINENO"; then :
10071 ac_cv_lib_Xrender_XRenderSetPictureTransform
=yes
10073 ac_cv_lib_Xrender_XRenderSetPictureTransform
=no
10075 rm -f core conftest.err conftest.
$ac_objext \
10076 conftest
$ac_exeext conftest.
$ac_ext
10077 LIBS
=$ac_check_lib_save_LIBS
10079 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xrender_XRenderSetPictureTransform" >&5
10080 $as_echo "$ac_cv_lib_Xrender_XRenderSetPictureTransform" >&6; }
10081 if test "x$ac_cv_lib_Xrender_XRenderSetPictureTransform" = xyes
; then :
10083 $as_echo "#define HAVE_XRENDERSETPICTURETRANSFORM 1" >>confdefs.h
10087 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XRenderCreateLinearGradient in -lXrender" >&5
10088 $as_echo_n "checking for XRenderCreateLinearGradient in -lXrender... " >&6; }
10089 if ${ac_cv_lib_Xrender_XRenderCreateLinearGradient+:} false
; then :
10090 $as_echo_n "(cached) " >&6
10092 ac_check_lib_save_LIBS
=$LIBS
10093 LIBS
="-lXrender $X_LIBS $X_EXTRA_LIBS $LIBS"
10094 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10095 /* end confdefs.h. */
10097 /* Override any GCC internal prototype to avoid an error.
10098 Use char because int might match the return type of a GCC
10099 builtin and then its argument prototype would still apply. */
10103 char XRenderCreateLinearGradient ();
10107 return XRenderCreateLinearGradient ();
10112 if ac_fn_c_try_link
"$LINENO"; then :
10113 ac_cv_lib_Xrender_XRenderCreateLinearGradient
=yes
10115 ac_cv_lib_Xrender_XRenderCreateLinearGradient
=no
10117 rm -f core conftest.err conftest.
$ac_objext \
10118 conftest
$ac_exeext conftest.
$ac_ext
10119 LIBS
=$ac_check_lib_save_LIBS
10121 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xrender_XRenderCreateLinearGradient" >&5
10122 $as_echo "$ac_cv_lib_Xrender_XRenderCreateLinearGradient" >&6; }
10123 if test "x$ac_cv_lib_Xrender_XRenderCreateLinearGradient" = xyes
; then :
10125 $as_echo "#define HAVE_XRENDERCREATELINEARGRADIENT 1" >>confdefs.h
10132 if test "x$ac_cv_lib_soname_Xrender" = "x"; then :
10133 case "x$with_xrender" in
10134 x
) as_fn_append wine_warnings
"|libxrender ${notice_platform}development files not found, XRender won't be supported." ;;
10136 *) as_fn_error $?
"libxrender ${notice_platform}development files not found, XRender won't be supported.
10137 This is an error since --with-xrender was requested." "$LINENO" 5 ;;
10141 if test "$ac_cv_header_X11_extensions_Xrandr_h" = "yes" -a "x$ac_cv_lib_soname_Xrender" != "x"
10143 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10144 /* end confdefs.h. */
10145 #include <X11/Xlib.h>
10146 #include <X11/extensions/Xrandr.h>
10150 static typeof(XRRSetScreenConfigAndRate) * func; if (func) return 0;
10155 if ac_fn_c_try_compile
"$LINENO"; then :
10156 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXrandr" >&5
10157 $as_echo_n "checking for -lXrandr... " >&6; }
10158 if ${ac_cv_lib_soname_Xrandr+:} false
; then :
10159 $as_echo_n "(cached) " >&6
10161 ac_check_soname_save_LIBS
=$LIBS
10162 LIBS
="-lXrandr $X_LIBS $X_EXTRA_LIBS $LIBS"
10163 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10164 /* end confdefs.h. */
10166 /* Override any GCC internal prototype to avoid an error.
10167 Use char because int might match the return type of a GCC
10168 builtin and then its argument prototype would still apply. */
10172 char XRRQueryExtension ();
10176 return XRRQueryExtension ();
10181 if ac_fn_c_try_link
"$LINENO"; then :
10183 dll
) ac_cv_lib_soname_Xrandr
=`$ac_cv_path_LDD conftest.exe | grep "Xrandr" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10184 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'` ;;
10185 *) ac_cv_lib_soname_Xrandr
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXrandr\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXrandr\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10186 if ${ac_cv_lib_soname_Xrandr:+false} :; then :
10187 ac_cv_lib_soname_Xrandr
=`$LDD conftest$ac_exeext | grep "libXrandr\\.$LIBEXT" | sed -e "s/^.*\(libXrandr\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10191 rm -f core conftest.err conftest.
$ac_objext \
10192 conftest
$ac_exeext conftest.
$ac_ext
10193 LIBS
=$ac_check_soname_save_LIBS
10195 if ${ac_cv_lib_soname_Xrandr:+false} :; then :
10196 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10197 $as_echo "not found" >&6; }
10200 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xrandr" >&5
10201 $as_echo "$ac_cv_lib_soname_Xrandr" >&6; }
10203 cat >>confdefs.h
<<_ACEOF
10204 #define SONAME_LIBXRANDR "$ac_cv_lib_soname_Xrandr"
10207 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10208 /* end confdefs.h. */
10209 #include <X11/Xlib.h>
10210 #include <X11/extensions/Xrandr.h>
10214 static typeof(XRRGetScreenResources) *f; if (f) return 0;
10219 if ac_fn_c_try_compile
"$LINENO"; then :
10221 $as_echo "#define HAVE_XRRGETSCREENRESOURCES 1" >>confdefs.h
10224 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
10227 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
10229 if test "x$ac_cv_lib_soname_Xrandr" = "x"; then :
10230 case "x$with_xrandr" in
10231 x
) as_fn_append wine_notices
"|libxrandr ${notice_platform}development files not found, XRandr won't be supported." ;;
10233 *) as_fn_error $?
"libxrandr ${notice_platform}development files not found, XRandr won't be supported.
10234 This is an error since --with-xrandr was requested." "$LINENO" 5 ;;
10238 if test "$ac_cv_header_X11_extensions_Xinerama_h" = "yes"
10240 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10241 /* end confdefs.h. */
10242 #include <X11/Xlib.h>
10243 #include <X11/extensions/Xinerama.h>
10247 static typeof(XineramaQueryScreens) * func; if (func) return 0;
10252 if ac_fn_c_try_compile
"$LINENO"; then :
10253 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXinerama" >&5
10254 $as_echo_n "checking for -lXinerama... " >&6; }
10255 if ${ac_cv_lib_soname_Xinerama+:} false
; then :
10256 $as_echo_n "(cached) " >&6
10258 ac_check_soname_save_LIBS
=$LIBS
10259 LIBS
="-lXinerama $X_LIBS $X_EXTRA_LIBS $LIBS"
10260 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10261 /* end confdefs.h. */
10263 /* Override any GCC internal prototype to avoid an error.
10264 Use char because int might match the return type of a GCC
10265 builtin and then its argument prototype would still apply. */
10269 char XineramaQueryScreens ();
10273 return XineramaQueryScreens ();
10278 if ac_fn_c_try_link
"$LINENO"; then :
10280 dll
) ac_cv_lib_soname_Xinerama
=`$ac_cv_path_LDD conftest.exe | grep "Xinerama" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10281 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'` ;;
10282 *) ac_cv_lib_soname_Xinerama
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXinerama\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXinerama\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10283 if ${ac_cv_lib_soname_Xinerama:+false} :; then :
10284 ac_cv_lib_soname_Xinerama
=`$LDD conftest$ac_exeext | grep "libXinerama\\.$LIBEXT" | sed -e "s/^.*\(libXinerama\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10288 rm -f core conftest.err conftest.
$ac_objext \
10289 conftest
$ac_exeext conftest.
$ac_ext
10290 LIBS
=$ac_check_soname_save_LIBS
10292 if ${ac_cv_lib_soname_Xinerama:+false} :; then :
10293 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10294 $as_echo "not found" >&6; }
10297 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xinerama" >&5
10298 $as_echo "$ac_cv_lib_soname_Xinerama" >&6; }
10300 cat >>confdefs.h
<<_ACEOF
10301 #define SONAME_LIBXINERAMA "$ac_cv_lib_soname_Xinerama"
10307 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
10309 if test "x$ac_cv_lib_soname_Xinerama" = "x"; then :
10310 case "x$with_xinerama" in
10311 x
) as_fn_append wine_notices
"|libxinerama ${notice_platform}development files not found, multi-monitor setups won't be supported." ;;
10313 *) as_fn_error $?
"libxinerama ${notice_platform}development files not found, multi-monitor setups won't be supported.
10314 This is an error since --with-xinerama was requested." "$LINENO" 5 ;;
10318 if test "$ac_cv_header_X11_extensions_Xcomposite_h" = "yes"
10320 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXcomposite" >&5
10321 $as_echo_n "checking for -lXcomposite... " >&6; }
10322 if ${ac_cv_lib_soname_Xcomposite+:} false
; then :
10323 $as_echo_n "(cached) " >&6
10325 ac_check_soname_save_LIBS
=$LIBS
10326 LIBS
="-lXcomposite $X_LIBS $X_EXTRA_LIBS $LIBS"
10327 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10328 /* end confdefs.h. */
10330 /* Override any GCC internal prototype to avoid an error.
10331 Use char because int might match the return type of a GCC
10332 builtin and then its argument prototype would still apply. */
10336 char XCompositeRedirectWindow ();
10340 return XCompositeRedirectWindow ();
10345 if ac_fn_c_try_link
"$LINENO"; then :
10347 dll
) ac_cv_lib_soname_Xcomposite
=`$ac_cv_path_LDD conftest.exe | grep "Xcomposite" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10348 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'` ;;
10349 *) ac_cv_lib_soname_Xcomposite
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXcomposite\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXcomposite\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10350 if ${ac_cv_lib_soname_Xcomposite:+false} :; then :
10351 ac_cv_lib_soname_Xcomposite
=`$LDD conftest$ac_exeext | grep "libXcomposite\\.$LIBEXT" | sed -e "s/^.*\(libXcomposite\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10355 rm -f core conftest.err conftest.
$ac_objext \
10356 conftest
$ac_exeext conftest.
$ac_ext
10357 LIBS
=$ac_check_soname_save_LIBS
10359 if ${ac_cv_lib_soname_Xcomposite:+false} :; then :
10360 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10361 $as_echo "not found" >&6; }
10364 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xcomposite" >&5
10365 $as_echo "$ac_cv_lib_soname_Xcomposite" >&6; }
10367 cat >>confdefs.h
<<_ACEOF
10368 #define SONAME_LIBXCOMPOSITE "$ac_cv_lib_soname_Xcomposite"
10374 if test "x$ac_cv_lib_soname_Xcomposite" = "x"; then :
10375 case "x$with_xcomposite" in
10376 x
) as_fn_append wine_notices
"|libxcomposite ${notice_platform}development files not found, Xcomposite won't be supported." ;;
10378 *) as_fn_error $?
"libxcomposite ${notice_platform}development files not found, Xcomposite won't be supported.
10379 This is an error since --with-xcomposite was requested." "$LINENO" 5 ;;
10383 ac_fn_c_check_member
"$LINENO" "XICCallback" "callback" "ac_cv_member_XICCallback_callback" "#ifdef HAVE_X11_XLIB_H
10384 #include <X11/Xlib.h>
10387 if test "x$ac_cv_member_XICCallback_callback" = xyes
; then :
10389 cat >>confdefs.h
<<_ACEOF
10390 #define HAVE_XICCALLBACK_CALLBACK 1
10395 ac_fn_c_check_member
"$LINENO" "XEvent" "xcookie" "ac_cv_member_XEvent_xcookie" "#ifdef HAVE_X11_XLIB_H
10396 #include <X11/Xlib.h>
10399 if test "x$ac_cv_member_XEvent_xcookie" = xyes
; then :
10401 cat >>confdefs.h
<<_ACEOF
10402 #define HAVE_XEVENT_XCOOKIE 1
10411 if test "x$with_opengl" != "xno"
10413 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lGL" >&5
10414 $as_echo_n "checking for -lGL... " >&6; }
10415 if ${ac_cv_lib_soname_GL+:} false
; then :
10416 $as_echo_n "(cached) " >&6
10418 ac_check_soname_save_LIBS
=$LIBS
10419 LIBS
="-lGL $X_LIBS -lm $X_EXTRA_LIBS $LIBS"
10420 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10421 /* end confdefs.h. */
10423 /* Override any GCC internal prototype to avoid an error.
10424 Use char because int might match the return type of a GCC
10425 builtin and then its argument prototype would still apply. */
10429 char glXCreateContext ();
10433 return glXCreateContext ();
10438 if ac_fn_c_try_link
"$LINENO"; then :
10440 dll
) ac_cv_lib_soname_GL
=`$ac_cv_path_LDD conftest.exe | grep "GL" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10441 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'` ;;
10442 *) ac_cv_lib_soname_GL
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libGL\\.$LIBEXT" | sed -e "s/^.*\\[\\(libGL\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10443 if ${ac_cv_lib_soname_GL:+false} :; then :
10444 ac_cv_lib_soname_GL
=`$LDD conftest$ac_exeext | grep "libGL\\.$LIBEXT" | sed -e "s/^.*\(libGL\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10448 rm -f core conftest.err conftest.
$ac_objext \
10449 conftest
$ac_exeext conftest.
$ac_ext
10450 LIBS
=$ac_check_soname_save_LIBS
10452 if ${ac_cv_lib_soname_GL:+false} :; then :
10453 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10454 $as_echo "not found" >&6; }
10455 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lGL" >&5
10456 $as_echo_n "checking for -lGL... " >&6; }
10457 if ${ac_cv_lib_soname_GL+:} false
; then :
10458 $as_echo_n "(cached) " >&6
10460 ac_check_soname_save_LIBS
=$LIBS
10461 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"
10462 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10463 /* end confdefs.h. */
10465 /* Override any GCC internal prototype to avoid an error.
10466 Use char because int might match the return type of a GCC
10467 builtin and then its argument prototype would still apply. */
10471 char glXCreateContext ();
10475 return glXCreateContext ();
10480 if ac_fn_c_try_link
"$LINENO"; then :
10482 dll
) ac_cv_lib_soname_GL
=`$ac_cv_path_LDD conftest.exe | grep "GL" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10483 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'` ;;
10484 *) ac_cv_lib_soname_GL
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libGL\\.$LIBEXT" | sed -e "s/^.*\\[\\(libGL\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10485 if ${ac_cv_lib_soname_GL:+false} :; then :
10486 ac_cv_lib_soname_GL
=`$LDD conftest$ac_exeext | grep "libGL\\.$LIBEXT" | sed -e "s/^.*\(libGL\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10490 rm -f core conftest.err conftest.
$ac_objext \
10491 conftest
$ac_exeext conftest.
$ac_ext
10492 LIBS
=$ac_check_soname_save_LIBS
10494 if ${ac_cv_lib_soname_GL:+false} :; then :
10495 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10496 $as_echo "not found" >&6; }
10497 if test -f /usr
/X11R
6/lib
/libGL.a
10499 opengl_msg
="/usr/X11R6/lib/libGL.a is present on your system.
10500 This probably prevents linking to OpenGL. Try deleting the file and restarting configure."
10502 opengl_msg
="No OpenGL library found on this system."
10505 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_GL" >&5
10506 $as_echo "$ac_cv_lib_soname_GL" >&6; }
10508 cat >>confdefs.h
<<_ACEOF
10509 #define SONAME_LIBGL "$ac_cv_lib_soname_GL"
10512 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"
10515 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_GL" >&5
10516 $as_echo "$ac_cv_lib_soname_GL" >&6; }
10518 cat >>confdefs.h
<<_ACEOF
10519 #define SONAME_LIBGL "$ac_cv_lib_soname_GL"
10524 if test "x$with_glu" != "xno"
10526 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gluLookAt in -lGLU" >&5
10527 $as_echo_n "checking for gluLookAt in -lGLU... " >&6; }
10528 if ${ac_cv_lib_GLU_gluLookAt+:} false
; then :
10529 $as_echo_n "(cached) " >&6
10531 ac_check_lib_save_LIBS
=$LIBS
10532 LIBS
="-lGLU $OPENGL_LIBS $X_LIBS -lm $X_EXTRA_LIBS $LIBS"
10533 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10534 /* end confdefs.h. */
10536 /* Override any GCC internal prototype to avoid an error.
10537 Use char because int might match the return type of a GCC
10538 builtin and then its argument prototype would still apply. */
10546 return gluLookAt ();
10551 if ac_fn_c_try_link
"$LINENO"; then :
10552 ac_cv_lib_GLU_gluLookAt
=yes
10554 ac_cv_lib_GLU_gluLookAt
=no
10556 rm -f core conftest.err conftest.
$ac_objext \
10557 conftest
$ac_exeext conftest.
$ac_ext
10558 LIBS
=$ac_check_lib_save_LIBS
10560 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_GLU_gluLookAt" >&5
10561 $as_echo "$ac_cv_lib_GLU_gluLookAt" >&6; }
10562 if test "x$ac_cv_lib_GLU_gluLookAt" = xyes
; then :
10566 if test "x$ac_cv_lib_GLU_gluLookAt" != xyes
; then :
10567 case "x$with_glu" in
10568 x
) as_fn_append wine_notices
"|libGLU ${notice_platform}development files not found, GLU won't be supported." ;;
10570 *) as_fn_error $?
"libGLU ${notice_platform}development files not found, GLU won't be supported.
10571 This is an error since --with-glu was requested." "$LINENO" 5 ;;
10576 if test "x$with_osmesa" != "xno"
10578 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lOSMesa" >&5
10579 $as_echo_n "checking for -lOSMesa... " >&6; }
10580 if ${ac_cv_lib_soname_OSMesa+:} false
; then :
10581 $as_echo_n "(cached) " >&6
10583 ac_check_soname_save_LIBS
=$LIBS
10584 LIBS
="-lOSMesa $X_LIBS -lm $X_EXTRA_LIBS $LIBS"
10585 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10586 /* end confdefs.h. */
10588 /* Override any GCC internal prototype to avoid an error.
10589 Use char because int might match the return type of a GCC
10590 builtin and then its argument prototype would still apply. */
10603 if ac_fn_c_try_link
"$LINENO"; then :
10605 dll
) ac_cv_lib_soname_OSMesa
=`$ac_cv_path_LDD conftest.exe | grep "OSMesa" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10606 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'` ;;
10607 *) ac_cv_lib_soname_OSMesa
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libOSMesa\\.$LIBEXT" | sed -e "s/^.*\\[\\(libOSMesa\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10608 if ${ac_cv_lib_soname_OSMesa:+false} :; then :
10609 ac_cv_lib_soname_OSMesa
=`$LDD conftest$ac_exeext | grep "libOSMesa\\.$LIBEXT" | sed -e "s/^.*\(libOSMesa\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10613 rm -f core conftest.err conftest.
$ac_objext \
10614 conftest
$ac_exeext conftest.
$ac_ext
10615 LIBS
=$ac_check_soname_save_LIBS
10617 if ${ac_cv_lib_soname_OSMesa:+false} :; then :
10618 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10619 $as_echo "not found" >&6; }
10622 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_OSMesa" >&5
10623 $as_echo "$ac_cv_lib_soname_OSMesa" >&6; }
10625 cat >>confdefs.h
<<_ACEOF
10626 #define SONAME_LIBOSMESA "$ac_cv_lib_soname_OSMesa"
10631 if test "x$ac_cv_lib_soname_OSMesa" = "x"; then :
10632 case "x$with_osmesa" in
10633 x
) as_fn_append wine_notices
"|libOSMesa ${notice_platform}development files not found (or too old), OpenGL rendering in bitmaps won't be supported." ;;
10635 *) as_fn_error $?
"libOSMesa ${notice_platform}development files not found (or too old), OpenGL rendering in bitmaps won't be supported.
10636 This is an error since --with-osmesa was requested." "$LINENO" 5 ;;
10641 if test -n "$opengl_msg"; then :
10642 case "x$with_opengl" in
10643 x
) as_fn_append wine_warnings
"|$opengl_msg
10644 OpenGL and Direct3D won't be supported." ;;
10646 *) as_fn_error $?
"$opengl_msg
10647 OpenGL and Direct3D won't be supported.
10648 This is an error since --with-opengl was requested." "$LINENO" 5 ;;
10652 CPPFLAGS
="$ac_save_CPPFLAGS"
10656 enable_winex11_drv
=${enable_winex11_drv:-no}
10658 if test "x$X_LIBS" = "x"; then :
10661 *) as_fn_error $?
"X ${notice_platform}development files not found. Wine will be built
10662 without X support, which probably isn't what you want. You will need
10663 to install ${notice_platform}development packages of Xlib/Xfree86 at the very least.
10664 Use the --without-x option if you really want this." "$LINENO" 5 ;;
10668 test "x$ac_cv_lib_GLU_gluLookAt" != xyes
&& enable_glu32
=${enable_glu32:-no}
10670 if test "$ac_cv_header_CL_cl_h" = "yes"
10672 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for clGetPlatformInfo in -lOpenCL" >&5
10673 $as_echo_n "checking for clGetPlatformInfo in -lOpenCL... " >&6; }
10674 if ${ac_cv_lib_OpenCL_clGetPlatformInfo+:} false
; then :
10675 $as_echo_n "(cached) " >&6
10677 ac_check_lib_save_LIBS
=$LIBS
10678 LIBS
="-lOpenCL $LIBS"
10679 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10680 /* end confdefs.h. */
10682 /* Override any GCC internal prototype to avoid an error.
10683 Use char because int might match the return type of a GCC
10684 builtin and then its argument prototype would still apply. */
10688 char clGetPlatformInfo ();
10692 return clGetPlatformInfo ();
10697 if ac_fn_c_try_link
"$LINENO"; then :
10698 ac_cv_lib_OpenCL_clGetPlatformInfo
=yes
10700 ac_cv_lib_OpenCL_clGetPlatformInfo
=no
10702 rm -f core conftest.err conftest.
$ac_objext \
10703 conftest
$ac_exeext conftest.
$ac_ext
10704 LIBS
=$ac_check_lib_save_LIBS
10706 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_OpenCL_clGetPlatformInfo" >&5
10707 $as_echo "$ac_cv_lib_OpenCL_clGetPlatformInfo" >&6; }
10708 if test "x$ac_cv_lib_OpenCL_clGetPlatformInfo" = xyes
; then :
10709 OPENCL_LIBS
="-lOpenCL"
10714 if test "x$ac_cv_lib_OpenCL_clGetPlatformInfo" != xyes
; then :
10715 case "x$with_opencl" in
10716 x
) as_fn_append wine_notices
"|OpenCL ${notice_platform}development files not found, OpenCL won't be supported." ;;
10718 *) as_fn_error $?
"OpenCL ${notice_platform}development files not found, OpenCL won't be supported.
10719 This is an error since --with-opencl was requested." "$LINENO" 5 ;;
10722 test "x$ac_cv_lib_OpenCL_clGetPlatformInfo" != xyes
&& enable_opencl
=${enable_opencl:-no}
10724 if test "$ac_cv_header_pcap_pcap_h" = "yes"
10726 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pcap_create in -lpcap" >&5
10727 $as_echo_n "checking for pcap_create in -lpcap... " >&6; }
10728 if ${ac_cv_lib_pcap_pcap_create+:} false
; then :
10729 $as_echo_n "(cached) " >&6
10731 ac_check_lib_save_LIBS
=$LIBS
10732 LIBS
="-lpcap $LIBS"
10733 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10734 /* end confdefs.h. */
10736 /* Override any GCC internal prototype to avoid an error.
10737 Use char because int might match the return type of a GCC
10738 builtin and then its argument prototype would still apply. */
10742 char pcap_create ();
10746 return pcap_create ();
10751 if ac_fn_c_try_link
"$LINENO"; then :
10752 ac_cv_lib_pcap_pcap_create
=yes
10754 ac_cv_lib_pcap_pcap_create
=no
10756 rm -f core conftest.err conftest.
$ac_objext \
10757 conftest
$ac_exeext conftest.
$ac_ext
10758 LIBS
=$ac_check_lib_save_LIBS
10760 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_pcap_pcap_create" >&5
10761 $as_echo "$ac_cv_lib_pcap_pcap_create" >&6; }
10762 if test "x$ac_cv_lib_pcap_pcap_create" = xyes
; then :
10768 if test "x$ac_cv_lib_pcap_pcap_create" != xyes
; then :
10769 case "x$with_pcap" in
10770 x
) as_fn_append wine_notices
"|pcap ${notice_platform}development files not found, wpcap won't be supported." ;;
10772 *) as_fn_error $?
"pcap ${notice_platform}development files not found, wpcap won't be supported.
10773 This is an error since --with-pcap was requested." "$LINENO" 5 ;;
10776 test "x$ac_cv_lib_pcap_pcap_create" != xyes
&& enable_wpcap
=${enable_wpcap:-no}
10779 if test "x$with_xml" != "xno"
10781 if ${XML2_CFLAGS:+false} :; then :
10782 if ${PKG_CONFIG+:} false
; then :
10783 XML2_CFLAGS
=`$PKG_CONFIG --cflags libxml-2.0 2>/dev/null`
10786 test "$cross_compiling" = yes || XML2_CFLAGS
=${XML2_CFLAGS:-`xml2-config --cflags 2>/dev/null`}
10787 if ${XML2_LIBS:+false} :; then :
10788 if ${PKG_CONFIG+:} false
; then :
10789 XML2_LIBS
=`$PKG_CONFIG --libs libxml-2.0 2>/dev/null`
10792 test "$cross_compiling" = yes || XML2_LIBS
=${XML2_LIBS:-`xml2-config --libs 2>/dev/null`}
10793 XML2_LIBS
=${XML2_LIBS:-"-lxml2"}
10794 $as_echo "$as_me:${as_lineno-$LINENO}: libxml-2.0 cflags: $XML2_CFLAGS" >&5
10795 $as_echo "$as_me:${as_lineno-$LINENO}: libxml-2.0 libs: $XML2_LIBS" >&5
10796 ac_save_CPPFLAGS
=$CPPFLAGS
10797 CPPFLAGS
="$CPPFLAGS $XML2_CFLAGS"
10798 for ac_header
in libxml
/parser.h libxml
/xmlsave.h libxml
/SAX2.h
10800 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
10801 ac_fn_c_check_header_mongrel
"$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
10802 if eval test \"x\$
"$as_ac_Header"\" = x
"yes"; then :
10803 cat >>confdefs.h
<<_ACEOF
10804 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
10811 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"
10813 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlParseMemory in -lxml2" >&5
10814 $as_echo_n "checking for xmlParseMemory in -lxml2... " >&6; }
10815 if ${ac_cv_lib_xml2_xmlParseMemory+:} false
; then :
10816 $as_echo_n "(cached) " >&6
10818 ac_check_lib_save_LIBS
=$LIBS
10819 LIBS
="-lxml2 $XML2_LIBS $LIBS"
10820 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10821 /* end confdefs.h. */
10823 /* Override any GCC internal prototype to avoid an error.
10824 Use char because int might match the return type of a GCC
10825 builtin and then its argument prototype would still apply. */
10829 char xmlParseMemory ();
10833 return xmlParseMemory ();
10838 if ac_fn_c_try_link
"$LINENO"; then :
10839 ac_cv_lib_xml2_xmlParseMemory
=yes
10841 ac_cv_lib_xml2_xmlParseMemory
=no
10843 rm -f core conftest.err conftest.
$ac_objext \
10844 conftest
$ac_exeext conftest.
$ac_ext
10845 LIBS
=$ac_check_lib_save_LIBS
10847 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlParseMemory" >&5
10848 $as_echo "$ac_cv_lib_xml2_xmlParseMemory" >&6; }
10849 if test "x$ac_cv_lib_xml2_xmlParseMemory" = xyes
; then :
10851 $as_echo "#define HAVE_LIBXML2 1" >>confdefs.h
10857 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlReadMemory in -lxml2" >&5
10858 $as_echo_n "checking for xmlReadMemory in -lxml2... " >&6; }
10859 if ${ac_cv_lib_xml2_xmlReadMemory+:} false
; then :
10860 $as_echo_n "(cached) " >&6
10862 ac_check_lib_save_LIBS
=$LIBS
10863 LIBS
="-lxml2 $XML2_LIBS $LIBS"
10864 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10865 /* end confdefs.h. */
10867 /* Override any GCC internal prototype to avoid an error.
10868 Use char because int might match the return type of a GCC
10869 builtin and then its argument prototype would still apply. */
10873 char xmlReadMemory ();
10877 return xmlReadMemory ();
10882 if ac_fn_c_try_link
"$LINENO"; then :
10883 ac_cv_lib_xml2_xmlReadMemory
=yes
10885 ac_cv_lib_xml2_xmlReadMemory
=no
10887 rm -f core conftest.err conftest.
$ac_objext \
10888 conftest
$ac_exeext conftest.
$ac_ext
10889 LIBS
=$ac_check_lib_save_LIBS
10891 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlReadMemory" >&5
10892 $as_echo "$ac_cv_lib_xml2_xmlReadMemory" >&6; }
10893 if test "x$ac_cv_lib_xml2_xmlReadMemory" = xyes
; then :
10895 $as_echo "#define HAVE_XMLREADMEMORY 1" >>confdefs.h
10899 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlNewDocPI in -lxml2" >&5
10900 $as_echo_n "checking for xmlNewDocPI in -lxml2... " >&6; }
10901 if ${ac_cv_lib_xml2_xmlNewDocPI+:} false
; then :
10902 $as_echo_n "(cached) " >&6
10904 ac_check_lib_save_LIBS
=$LIBS
10905 LIBS
="-lxml2 $XML2_LIBS $LIBS"
10906 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10907 /* end confdefs.h. */
10909 /* Override any GCC internal prototype to avoid an error.
10910 Use char because int might match the return type of a GCC
10911 builtin and then its argument prototype would still apply. */
10915 char xmlNewDocPI ();
10919 return xmlNewDocPI ();
10924 if ac_fn_c_try_link
"$LINENO"; then :
10925 ac_cv_lib_xml2_xmlNewDocPI
=yes
10927 ac_cv_lib_xml2_xmlNewDocPI
=no
10929 rm -f core conftest.err conftest.
$ac_objext \
10930 conftest
$ac_exeext conftest.
$ac_ext
10931 LIBS
=$ac_check_lib_save_LIBS
10933 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlNewDocPI" >&5
10934 $as_echo "$ac_cv_lib_xml2_xmlNewDocPI" >&6; }
10935 if test "x$ac_cv_lib_xml2_xmlNewDocPI" = xyes
; then :
10937 $as_echo "#define HAVE_XMLNEWDOCPI 1" >>confdefs.h
10941 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlSchemaSetParserStructuredErrors in -lxml2" >&5
10942 $as_echo_n "checking for xmlSchemaSetParserStructuredErrors in -lxml2... " >&6; }
10943 if ${ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors+:} false
; then :
10944 $as_echo_n "(cached) " >&6
10946 ac_check_lib_save_LIBS
=$LIBS
10947 LIBS
="-lxml2 $XML2_LIBS $LIBS"
10948 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10949 /* end confdefs.h. */
10951 /* Override any GCC internal prototype to avoid an error.
10952 Use char because int might match the return type of a GCC
10953 builtin and then its argument prototype would still apply. */
10957 char xmlSchemaSetParserStructuredErrors ();
10961 return xmlSchemaSetParserStructuredErrors ();
10966 if ac_fn_c_try_link
"$LINENO"; then :
10967 ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors
=yes
10969 ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors
=no
10971 rm -f core conftest.err conftest.
$ac_objext \
10972 conftest
$ac_exeext conftest.
$ac_ext
10973 LIBS
=$ac_check_lib_save_LIBS
10975 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors" >&5
10976 $as_echo "$ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors" >&6; }
10977 if test "x$ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors" = xyes
; then :
10979 $as_echo "#define HAVE_XMLSCHEMASSETPARSERSTRUCTUREDERRORS 1" >>confdefs.h
10983 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlSchemaSetValidStructuredErrors in -lxml2" >&5
10984 $as_echo_n "checking for xmlSchemaSetValidStructuredErrors in -lxml2... " >&6; }
10985 if ${ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors+:} false
; then :
10986 $as_echo_n "(cached) " >&6
10988 ac_check_lib_save_LIBS
=$LIBS
10989 LIBS
="-lxml2 $XML2_LIBS $LIBS"
10990 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10991 /* end confdefs.h. */
10993 /* Override any GCC internal prototype to avoid an error.
10994 Use char because int might match the return type of a GCC
10995 builtin and then its argument prototype would still apply. */
10999 char xmlSchemaSetValidStructuredErrors ();
11003 return xmlSchemaSetValidStructuredErrors ();
11008 if ac_fn_c_try_link
"$LINENO"; then :
11009 ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors
=yes
11011 ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors
=no
11013 rm -f core conftest.err conftest.
$ac_objext \
11014 conftest
$ac_exeext conftest.
$ac_ext
11015 LIBS
=$ac_check_lib_save_LIBS
11017 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors" >&5
11018 $as_echo "$ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors" >&6; }
11019 if test "x$ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors" = xyes
; then :
11021 $as_echo "#define HAVE_XMLSCHEMASSETVALIDSTRUCTUREDERRORS 1" >>confdefs.h
11025 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlFirstElementChild in -lxml2" >&5
11026 $as_echo_n "checking for xmlFirstElementChild in -lxml2... " >&6; }
11027 if ${ac_cv_lib_xml2_xmlFirstElementChild+:} false
; then :
11028 $as_echo_n "(cached) " >&6
11030 ac_check_lib_save_LIBS
=$LIBS
11031 LIBS
="-lxml2 $XML2_LIBS $LIBS"
11032 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11033 /* end confdefs.h. */
11035 /* Override any GCC internal prototype to avoid an error.
11036 Use char because int might match the return type of a GCC
11037 builtin and then its argument prototype would still apply. */
11041 char xmlFirstElementChild ();
11045 return xmlFirstElementChild ();
11050 if ac_fn_c_try_link
"$LINENO"; then :
11051 ac_cv_lib_xml2_xmlFirstElementChild
=yes
11053 ac_cv_lib_xml2_xmlFirstElementChild
=no
11055 rm -f core conftest.err conftest.
$ac_objext \
11056 conftest
$ac_exeext conftest.
$ac_ext
11057 LIBS
=$ac_check_lib_save_LIBS
11059 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlFirstElementChild" >&5
11060 $as_echo "$ac_cv_lib_xml2_xmlFirstElementChild" >&6; }
11061 if test "x$ac_cv_lib_xml2_xmlFirstElementChild" = xyes
; then :
11063 $as_echo "#define HAVE_XMLFIRSTELEMENTCHILD 1" >>confdefs.h
11067 ac_fn_c_check_type
"$LINENO" "xmlDocProperties" "ac_cv_type_xmlDocProperties" "#include <libxml/tree.h>
11069 if test "x$ac_cv_type_xmlDocProperties" = xyes
; then :
11071 $as_echo "#define HAVE_XMLDOC_PROPERTIES 1" >>confdefs.h
11079 CPPFLAGS
=$ac_save_CPPFLAGS
11080 test -z "$XML2_CFLAGS" || XML2_CFLAGS
=`echo " $XML2_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
11081 test -z "$XML2_LIBS" || XML2_LIBS
=`echo " $XML2_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
11084 if test "$ac_cv_lib_xml2_xmlParseMemory" != "yes"; then :
11085 case "x$with_xml" in
11086 x
) as_fn_append wine_warnings
"|libxml2 ${notice_platform}development files not found (or too old), XML won't be supported." ;;
11088 *) as_fn_error $?
"libxml2 ${notice_platform}development files not found (or too old), XML won't be supported.
11089 This is an error since --with-xml was requested." "$LINENO" 5 ;;
11093 if test "x$with_xslt" != "xno"
11095 if ${XSLT_CFLAGS:+false} :; then :
11096 if ${PKG_CONFIG+:} false
; then :
11097 XSLT_CFLAGS
=`$PKG_CONFIG --cflags libxslt 2>/dev/null`
11100 test "$cross_compiling" = yes || XSLT_CFLAGS
=${XSLT_CFLAGS:-`xslt-config --cflags 2>/dev/null`}
11101 if ${XSLT_LIBS:+false} :; then :
11102 if ${PKG_CONFIG+:} false
; then :
11103 XSLT_LIBS
=`$PKG_CONFIG --libs libxslt 2>/dev/null`
11106 test "$cross_compiling" = yes || XSLT_LIBS
=${XSLT_LIBS:-`xslt-config --libs 2>/dev/null`}
11107 XSLT_LIBS
=${XSLT_LIBS:-"-lxml2"}
11108 $as_echo "$as_me:${as_lineno-$LINENO}: libxslt cflags: $XSLT_CFLAGS" >&5
11109 $as_echo "$as_me:${as_lineno-$LINENO}: libxslt libs: $XSLT_LIBS" >&5
11110 ac_save_CPPFLAGS
=$CPPFLAGS
11111 CPPFLAGS
="$CPPFLAGS $XSLT_CFLAGS"
11112 for ac_header
in libxslt
/pattern.h libxslt
/transform.h
11114 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
11115 ac_fn_c_check_header_compile
"$LINENO" "$ac_header" "$as_ac_Header" "#ifdef HAVE_LIBXSLT_PATTERN_H
11116 # include <libxslt/pattern.h>
11119 if eval test \"x\$
"$as_ac_Header"\" = x
"yes"; then :
11120 cat >>confdefs.h
<<_ACEOF
11121 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
11128 if test "$ac_cv_header_libxslt_transform_h" = "yes"
11130 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lxslt" >&5
11131 $as_echo_n "checking for -lxslt... " >&6; }
11132 if ${ac_cv_lib_soname_xslt+:} false
; then :
11133 $as_echo_n "(cached) " >&6
11135 ac_check_soname_save_LIBS
=$LIBS
11136 LIBS
="-lxslt $XSLT_LIBS $LIBS"
11137 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11138 /* end confdefs.h. */
11140 /* Override any GCC internal prototype to avoid an error.
11141 Use char because int might match the return type of a GCC
11142 builtin and then its argument prototype would still apply. */
11146 char xsltCompilePattern ();
11150 return xsltCompilePattern ();
11155 if ac_fn_c_try_link
"$LINENO"; then :
11157 dll
) ac_cv_lib_soname_xslt
=`$ac_cv_path_LDD conftest.exe | grep "xslt" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11158 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'` ;;
11159 *) ac_cv_lib_soname_xslt
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libxslt\\.$LIBEXT" | sed -e "s/^.*\\[\\(libxslt\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
11160 if ${ac_cv_lib_soname_xslt:+false} :; then :
11161 ac_cv_lib_soname_xslt
=`$LDD conftest$ac_exeext | grep "libxslt\\.$LIBEXT" | sed -e "s/^.*\(libxslt\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11165 rm -f core conftest.err conftest.
$ac_objext \
11166 conftest
$ac_exeext conftest.
$ac_ext
11167 LIBS
=$ac_check_soname_save_LIBS
11169 if ${ac_cv_lib_soname_xslt:+false} :; then :
11170 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11171 $as_echo "not found" >&6; }
11174 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_xslt" >&5
11175 $as_echo "$ac_cv_lib_soname_xslt" >&6; }
11177 cat >>confdefs.h
<<_ACEOF
11178 #define SONAME_LIBXSLT "$ac_cv_lib_soname_xslt"
11186 CPPFLAGS
=$ac_save_CPPFLAGS
11187 test -z "$XSLT_CFLAGS" || XSLT_CFLAGS
=`echo " $XSLT_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
11188 test -z "$XSLT_LIBS" || XSLT_LIBS
=`echo " $XSLT_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
11191 if test "x$ac_cv_lib_soname_xslt" = "x"; then :
11192 case "x$with_xslt" in
11193 x
) as_fn_append wine_warnings
"|libxslt ${notice_platform}development files not found, xslt won't be supported." ;;
11195 *) as_fn_error $?
"libxslt ${notice_platform}development files not found, xslt won't be supported.
11196 This is an error since --with-xslt was requested." "$LINENO" 5 ;;
11200 if test "x$with_dbus" != "xno"
11202 if ${DBUS_CFLAGS:+false} :; then :
11203 if ${PKG_CONFIG+:} false
; then :
11204 DBUS_CFLAGS
=`$PKG_CONFIG --cflags dbus-1 2>/dev/null`
11208 if ${DBUS_LIBS:+false} :; then :
11209 if ${PKG_CONFIG+:} false
; then :
11210 DBUS_LIBS
=`$PKG_CONFIG --libs dbus-1 2>/dev/null`
11215 $as_echo "$as_me:${as_lineno-$LINENO}: dbus-1 cflags: $DBUS_CFLAGS" >&5
11216 $as_echo "$as_me:${as_lineno-$LINENO}: dbus-1 libs: $DBUS_LIBS" >&5
11217 ac_save_CPPFLAGS
=$CPPFLAGS
11218 CPPFLAGS
="$CPPFLAGS $DBUS_CFLAGS"
11219 ac_fn_c_check_header_mongrel
"$LINENO" "dbus/dbus.h" "ac_cv_header_dbus_dbus_h" "$ac_includes_default"
11220 if test "x$ac_cv_header_dbus_dbus_h" = xyes
; then :
11221 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -ldbus-1" >&5
11222 $as_echo_n "checking for -ldbus-1... " >&6; }
11223 if ${ac_cv_lib_soname_dbus_1+:} false
; then :
11224 $as_echo_n "(cached) " >&6
11226 ac_check_soname_save_LIBS
=$LIBS
11227 LIBS
="-ldbus-1 $DBUS_LIBS $LIBS"
11228 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11229 /* end confdefs.h. */
11231 /* Override any GCC internal prototype to avoid an error.
11232 Use char because int might match the return type of a GCC
11233 builtin and then its argument prototype would still apply. */
11237 char dbus_connection_close ();
11241 return dbus_connection_close ();
11246 if ac_fn_c_try_link
"$LINENO"; then :
11248 dll
) ac_cv_lib_soname_dbus_1
=`$ac_cv_path_LDD conftest.exe | grep "dbus-1" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11249 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'` ;;
11250 *) 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'`
11251 if ${ac_cv_lib_soname_dbus_1:+false} :; then :
11252 ac_cv_lib_soname_dbus_1
=`$LDD conftest$ac_exeext | grep "libdbus-1\\.$LIBEXT" | sed -e "s/^.*\(libdbus-1\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11256 rm -f core conftest.err conftest.
$ac_objext \
11257 conftest
$ac_exeext conftest.
$ac_ext
11258 LIBS
=$ac_check_soname_save_LIBS
11260 if ${ac_cv_lib_soname_dbus_1:+false} :; then :
11261 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11262 $as_echo "not found" >&6; }
11265 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_dbus_1" >&5
11266 $as_echo "$ac_cv_lib_soname_dbus_1" >&6; }
11268 cat >>confdefs.h
<<_ACEOF
11269 #define SONAME_LIBDBUS_1 "$ac_cv_lib_soname_dbus_1"
11279 CPPFLAGS
=$ac_save_CPPFLAGS
11280 test -z "$DBUS_CFLAGS" || DBUS_CFLAGS
=`echo " $DBUS_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
11281 test -z "$DBUS_LIBS" || DBUS_LIBS
=`echo " $DBUS_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
11284 if test "x$ac_cv_lib_soname_dbus_1" = "x" -a \
11285 "x$ac_cv_header_DiskArbitration_DiskArbitration_h" != "xyes"; then :
11286 case "x$with_dbus" in
11287 x
) as_fn_append wine_notices
"|libdbus ${notice_platform}development files not found, no dynamic device support." ;;
11289 *) as_fn_error $?
"libdbus ${notice_platform}development files not found, no dynamic device support.
11290 This is an error since --with-dbus was requested." "$LINENO" 5 ;;
11294 if test "x$with_hal" != "xno" -a "x$ac_cv_lib_soname_dbus_1" != x
11296 if ${HAL_CFLAGS:+false} :; then :
11297 if ${PKG_CONFIG+:} false
; then :
11298 HAL_CFLAGS
=`$PKG_CONFIG --cflags hal 2>/dev/null`
11302 if ${HAL_LIBS:+false} :; then :
11303 if ${PKG_CONFIG+:} false
; then :
11304 HAL_LIBS
=`$PKG_CONFIG --libs hal 2>/dev/null`
11308 HAL_LIBS
=${HAL_LIBS:-"-ldbus-1"}
11309 $as_echo "$as_me:${as_lineno-$LINENO}: hal cflags: $HAL_CFLAGS" >&5
11310 $as_echo "$as_me:${as_lineno-$LINENO}: hal libs: $HAL_LIBS" >&5
11311 ac_save_CPPFLAGS
=$CPPFLAGS
11312 CPPFLAGS
="$CPPFLAGS $HAL_CFLAGS"
11313 ac_fn_c_check_header_mongrel
"$LINENO" "hal/libhal.h" "ac_cv_header_hal_libhal_h" "$ac_includes_default"
11314 if test "x$ac_cv_header_hal_libhal_h" = xyes
; then :
11315 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lhal" >&5
11316 $as_echo_n "checking for -lhal... " >&6; }
11317 if ${ac_cv_lib_soname_hal+:} false
; then :
11318 $as_echo_n "(cached) " >&6
11320 ac_check_soname_save_LIBS
=$LIBS
11321 LIBS
="-lhal $HAL_LIBS $LIBS"
11322 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11323 /* end confdefs.h. */
11325 /* Override any GCC internal prototype to avoid an error.
11326 Use char because int might match the return type of a GCC
11327 builtin and then its argument prototype would still apply. */
11331 char libhal_ctx_new ();
11335 return libhal_ctx_new ();
11340 if ac_fn_c_try_link
"$LINENO"; then :
11342 dll
) ac_cv_lib_soname_hal
=`$ac_cv_path_LDD conftest.exe | grep "hal" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11343 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'` ;;
11344 *) ac_cv_lib_soname_hal
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libhal\\.$LIBEXT" | sed -e "s/^.*\\[\\(libhal\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
11345 if ${ac_cv_lib_soname_hal:+false} :; then :
11346 ac_cv_lib_soname_hal
=`$LDD conftest$ac_exeext | grep "libhal\\.$LIBEXT" | sed -e "s/^.*\(libhal\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11350 rm -f core conftest.err conftest.
$ac_objext \
11351 conftest
$ac_exeext conftest.
$ac_ext
11352 LIBS
=$ac_check_soname_save_LIBS
11354 if ${ac_cv_lib_soname_hal:+false} :; then :
11355 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11356 $as_echo "not found" >&6; }
11359 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_hal" >&5
11360 $as_echo "$ac_cv_lib_soname_hal" >&6; }
11362 cat >>confdefs.h
<<_ACEOF
11363 #define SONAME_LIBHAL "$ac_cv_lib_soname_hal"
11373 CPPFLAGS
=$ac_save_CPPFLAGS
11374 test -z "$HAL_CFLAGS" || HAL_CFLAGS
=`echo " $HAL_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
11375 test -z "$HAL_LIBS" || HAL_LIBS
=`echo " $HAL_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
11377 if test "x$ac_cv_lib_soname_hal" = "x" -a \
11378 "x$ac_cv_header_DiskArbitration_DiskArbitration_h" != "xyes"; then :
11379 case "x$with_hal" in
11380 x
) as_fn_append wine_notices
"|libhal ${notice_platform}development files not found, no legacy dynamic device support." ;;
11382 *) as_fn_error $?
"libhal ${notice_platform}development files not found, no legacy dynamic device support.
11383 This is an error since --with-hal was requested." "$LINENO" 5 ;;
11388 if test "x$with_gnutls" != "xno"
11390 if ${GNUTLS_CFLAGS:+false} :; then :
11391 if ${PKG_CONFIG+:} false
; then :
11392 GNUTLS_CFLAGS
=`$PKG_CONFIG --cflags gnutls 2>/dev/null`
11396 if ${GNUTLS_LIBS:+false} :; then :
11397 if ${PKG_CONFIG+:} false
; then :
11398 GNUTLS_LIBS
=`$PKG_CONFIG --libs gnutls 2>/dev/null`
11403 $as_echo "$as_me:${as_lineno-$LINENO}: gnutls cflags: $GNUTLS_CFLAGS" >&5
11404 $as_echo "$as_me:${as_lineno-$LINENO}: gnutls libs: $GNUTLS_LIBS" >&5
11405 ac_save_CPPFLAGS
=$CPPFLAGS
11406 CPPFLAGS
="$CPPFLAGS $GNUTLS_CFLAGS"
11407 ac_fn_c_check_header_mongrel
"$LINENO" "gnutls/gnutls.h" "ac_cv_header_gnutls_gnutls_h" "$ac_includes_default"
11408 if test "x$ac_cv_header_gnutls_gnutls_h" = xyes
; then :
11409 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11410 /* end confdefs.h. */
11411 #include <gnutls/gnutls.h>
11412 #include <gnutls/crypto.h>
11416 static typeof(gnutls_mac_get_key_size) *func; if (func) return 0;
11421 if ac_fn_c_try_compile
"$LINENO"; then :
11422 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lgnutls" >&5
11423 $as_echo_n "checking for -lgnutls... " >&6; }
11424 if ${ac_cv_lib_soname_gnutls+:} false
; then :
11425 $as_echo_n "(cached) " >&6
11427 ac_check_soname_save_LIBS
=$LIBS
11428 LIBS
="-lgnutls $GNUTLS_LIBS $LIBS"
11429 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11430 /* end confdefs.h. */
11432 /* Override any GCC internal prototype to avoid an error.
11433 Use char because int might match the return type of a GCC
11434 builtin and then its argument prototype would still apply. */
11438 char gnutls_global_init ();
11442 return gnutls_global_init ();
11447 if ac_fn_c_try_link
"$LINENO"; then :
11449 dll
) ac_cv_lib_soname_gnutls
=`$ac_cv_path_LDD conftest.exe | grep "gnutls" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11450 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'` ;;
11451 *) 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'`
11452 if ${ac_cv_lib_soname_gnutls:+false} :; then :
11453 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'`
11457 rm -f core conftest.err conftest.
$ac_objext \
11458 conftest
$ac_exeext conftest.
$ac_ext
11459 LIBS
=$ac_check_soname_save_LIBS
11461 if ${ac_cv_lib_soname_gnutls:+false} :; then :
11462 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11463 $as_echo "not found" >&6; }
11466 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_gnutls" >&5
11467 $as_echo "$ac_cv_lib_soname_gnutls" >&6; }
11469 cat >>confdefs.h
<<_ACEOF
11470 #define SONAME_LIBGNUTLS "$ac_cv_lib_soname_gnutls"
11476 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
11482 CPPFLAGS
=$ac_save_CPPFLAGS
11483 test -z "$GNUTLS_CFLAGS" || GNUTLS_CFLAGS
=`echo " $GNUTLS_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
11484 test -z "$GNUTLS_LIBS" || GNUTLS_LIBS
=`echo " $GNUTLS_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
11487 if test "x$ac_cv_lib_soname_gnutls" = "x"; then :
11488 case "x$with_gnutls" in
11489 x
) as_fn_append wine_warnings
"|libgnutls ${notice_platform}development files not found, no schannel support." ;;
11491 *) as_fn_error $?
"libgnutls ${notice_platform}development files not found, no schannel support.
11492 This is an error since --with-gnutls was requested." "$LINENO" 5 ;;
11497 if test "$ac_cv_header_ncurses_h" = "yes"
11499 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lncurses" >&5
11500 $as_echo_n "checking for -lncurses... " >&6; }
11501 if ${ac_cv_lib_soname_ncurses+:} false
; then :
11502 $as_echo_n "(cached) " >&6
11504 ac_check_soname_save_LIBS
=$LIBS
11505 LIBS
="-lncurses $LIBS"
11506 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11507 /* end confdefs.h. */
11509 /* Override any GCC internal prototype to avoid an error.
11510 Use char because int might match the return type of a GCC
11511 builtin and then its argument prototype would still apply. */
11524 if ac_fn_c_try_link
"$LINENO"; then :
11526 dll
) ac_cv_lib_soname_ncurses
=`$ac_cv_path_LDD conftest.exe | grep "ncurses" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11527 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'` ;;
11528 *) 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'`
11529 if ${ac_cv_lib_soname_ncurses:+false} :; then :
11530 ac_cv_lib_soname_ncurses
=`$LDD conftest$ac_exeext | grep "libncursesw\\{0,1\\}\\.$LIBEXT" | sed -e "s/^.*\(libncursesw\\{0,1\\}\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11534 rm -f core conftest.err conftest.
$ac_objext \
11535 conftest
$ac_exeext conftest.
$ac_ext
11536 LIBS
=$ac_check_soname_save_LIBS
11538 if ${ac_cv_lib_soname_ncurses:+false} :; then :
11539 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11540 $as_echo "not found" >&6; }
11543 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_ncurses" >&5
11544 $as_echo "$ac_cv_lib_soname_ncurses" >&6; }
11546 cat >>confdefs.h
<<_ACEOF
11547 #define SONAME_LIBNCURSES "$ac_cv_lib_soname_ncurses"
11550 CURSES_LIBS
="-lncurses"
11552 elif test "$ac_cv_header_curses_h" = "yes"
11554 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lcurses" >&5
11555 $as_echo_n "checking for -lcurses... " >&6; }
11556 if ${ac_cv_lib_soname_curses+:} false
; then :
11557 $as_echo_n "(cached) " >&6
11559 ac_check_soname_save_LIBS
=$LIBS
11560 LIBS
="-lcurses $LIBS"
11561 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11562 /* end confdefs.h. */
11564 /* Override any GCC internal prototype to avoid an error.
11565 Use char because int might match the return type of a GCC
11566 builtin and then its argument prototype would still apply. */
11579 if ac_fn_c_try_link
"$LINENO"; then :
11581 dll
) ac_cv_lib_soname_curses
=`$ac_cv_path_LDD conftest.exe | grep "curses" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11582 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'` ;;
11583 *) ac_cv_lib_soname_curses
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libcurses\\.$LIBEXT" | sed -e "s/^.*\\[\\(libcurses\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
11584 if ${ac_cv_lib_soname_curses:+false} :; then :
11585 ac_cv_lib_soname_curses
=`$LDD conftest$ac_exeext | grep "libcurses\\.$LIBEXT" | sed -e "s/^.*\(libcurses\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11589 rm -f core conftest.err conftest.
$ac_objext \
11590 conftest
$ac_exeext conftest.
$ac_ext
11591 LIBS
=$ac_check_soname_save_LIBS
11593 if ${ac_cv_lib_soname_curses:+false} :; then :
11594 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11595 $as_echo "not found" >&6; }
11598 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_curses" >&5
11599 $as_echo "$ac_cv_lib_soname_curses" >&6; }
11601 cat >>confdefs.h
<<_ACEOF
11602 #define SONAME_LIBCURSES "$ac_cv_lib_soname_curses"
11605 CURSES_LIBS
="-lcurses"
11608 ac_save_LIBS
="$LIBS"
11609 LIBS
="$LIBS $CURSES_LIBS"
11610 for ac_func
in mousemask
11612 ac_fn_c_check_func
"$LINENO" "mousemask" "ac_cv_func_mousemask"
11613 if test "x$ac_cv_func_mousemask" = xyes
; then :
11614 cat >>confdefs.h
<<_ACEOF
11615 #define HAVE_MOUSEMASK 1
11621 LIBS
="$ac_save_LIBS"
11622 if test "x$ac_cv_lib_soname_curses$ac_cv_lib_soname_ncurses" = "x"; then :
11623 case "x$with_curses" in
11624 x
) as_fn_append wine_notices
"|lib(n)curses ${notice_platform}development files not found, curses won't be supported." ;;
11626 *) as_fn_error $?
"lib(n)curses ${notice_platform}development files not found, curses won't be supported.
11627 This is an error since --with-curses was requested." "$LINENO" 5 ;;
11631 if test "x$with_sane" != "xno"
11633 if ${SANE_CFLAGS:+false} :; then :
11634 if ${PKG_CONFIG+:} false
; then :
11635 SANE_CFLAGS
=`$PKG_CONFIG --cflags libsane 2>/dev/null`
11638 test "$cross_compiling" = yes || SANE_CFLAGS
=${SANE_CFLAGS:-`sane-config --cflags 2>/dev/null`}
11639 if ${SANE_LIBS:+false} :; then :
11640 if ${PKG_CONFIG+:} false
; then :
11641 SANE_LIBS
=`$PKG_CONFIG --libs libsane 2>/dev/null`
11644 test "$cross_compiling" = yes || SANE_LIBS
=${SANE_LIBS:-`sane-config --ldflags 2>/dev/null`}
11646 $as_echo "$as_me:${as_lineno-$LINENO}: libsane cflags: $SANE_CFLAGS" >&5
11647 $as_echo "$as_me:${as_lineno-$LINENO}: libsane libs: $SANE_LIBS" >&5
11648 ac_save_CPPFLAGS
=$CPPFLAGS
11649 CPPFLAGS
="$CPPFLAGS $SANE_CFLAGS"
11650 ac_fn_c_check_header_mongrel
"$LINENO" "sane/sane.h" "ac_cv_header_sane_sane_h" "$ac_includes_default"
11651 if test "x$ac_cv_header_sane_sane_h" = xyes
; then :
11652 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lsane" >&5
11653 $as_echo_n "checking for -lsane... " >&6; }
11654 if ${ac_cv_lib_soname_sane+:} false
; then :
11655 $as_echo_n "(cached) " >&6
11657 ac_check_soname_save_LIBS
=$LIBS
11658 LIBS
="-lsane $SANE_LIBS $LIBS"
11659 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11660 /* end confdefs.h. */
11662 /* Override any GCC internal prototype to avoid an error.
11663 Use char because int might match the return type of a GCC
11664 builtin and then its argument prototype would still apply. */
11672 return sane_init ();
11677 if ac_fn_c_try_link
"$LINENO"; then :
11679 dll
) ac_cv_lib_soname_sane
=`$ac_cv_path_LDD conftest.exe | grep "sane" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11680 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'` ;;
11681 *) ac_cv_lib_soname_sane
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libsane\\.$LIBEXT" | sed -e "s/^.*\\[\\(libsane\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
11682 if ${ac_cv_lib_soname_sane:+false} :; then :
11683 ac_cv_lib_soname_sane
=`$LDD conftest$ac_exeext | grep "libsane\\.$LIBEXT" | sed -e "s/^.*\(libsane\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11687 rm -f core conftest.err conftest.
$ac_objext \
11688 conftest
$ac_exeext conftest.
$ac_ext
11689 LIBS
=$ac_check_soname_save_LIBS
11691 if ${ac_cv_lib_soname_sane:+false} :; then :
11692 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11693 $as_echo "not found" >&6; }
11696 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_sane" >&5
11697 $as_echo "$ac_cv_lib_soname_sane" >&6; }
11699 cat >>confdefs.h
<<_ACEOF
11700 #define SONAME_LIBSANE "$ac_cv_lib_soname_sane"
11710 CPPFLAGS
=$ac_save_CPPFLAGS
11711 test -z "$SANE_CFLAGS" || SANE_CFLAGS
=`echo " $SANE_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
11712 test -z "$SANE_LIBS" || SANE_LIBS
=`echo " $SANE_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
11715 if test "x$ac_cv_lib_soname_sane" = "x"; then :
11716 case "x$with_sane" in
11717 x
) as_fn_append wine_notices
"|libsane ${notice_platform}development files not found, scanners won't be supported." ;;
11719 *) as_fn_error $?
"libsane ${notice_platform}development files not found, scanners won't be supported.
11720 This is an error since --with-sane was requested." "$LINENO" 5 ;;
11724 if test "x$with_v4l" != "xno"
11726 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lv4l1" >&5
11727 $as_echo_n "checking for -lv4l1... " >&6; }
11728 if ${ac_cv_lib_soname_v4l1+:} false
; then :
11729 $as_echo_n "(cached) " >&6
11731 ac_check_soname_save_LIBS
=$LIBS
11732 LIBS
="-lv4l1 $LIBS"
11733 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11734 /* end confdefs.h. */
11736 /* Override any GCC internal prototype to avoid an error.
11737 Use char because int might match the return type of a GCC
11738 builtin and then its argument prototype would still apply. */
11746 return v4l1_open ();
11751 if ac_fn_c_try_link
"$LINENO"; then :
11753 dll
) ac_cv_lib_soname_v4l1
=`$ac_cv_path_LDD conftest.exe | grep "v4l1" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11754 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'` ;;
11755 *) ac_cv_lib_soname_v4l1
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libv4l1\\.$LIBEXT" | sed -e "s/^.*\\[\\(libv4l1\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
11756 if ${ac_cv_lib_soname_v4l1:+false} :; then :
11757 ac_cv_lib_soname_v4l1
=`$LDD conftest$ac_exeext | grep "libv4l1\\.$LIBEXT" | sed -e "s/^.*\(libv4l1\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11761 rm -f core conftest.err conftest.
$ac_objext \
11762 conftest
$ac_exeext conftest.
$ac_ext
11763 LIBS
=$ac_check_soname_save_LIBS
11765 if ${ac_cv_lib_soname_v4l1:+false} :; then :
11766 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11767 $as_echo "not found" >&6; }
11770 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_v4l1" >&5
11771 $as_echo "$ac_cv_lib_soname_v4l1" >&6; }
11773 cat >>confdefs.h
<<_ACEOF
11774 #define SONAME_LIBV4L1 "$ac_cv_lib_soname_v4l1"
11780 if test "x$ac_cv_lib_soname_v4l1" = "x"; then :
11781 case "x$with_v4l" in
11782 x
) as_fn_append wine_notices
"|libv4l ${notice_platform}development files not found." ;;
11784 *) as_fn_error $?
"libv4l ${notice_platform}development files not found.
11785 This is an error since --with-v4l was requested." "$LINENO" 5 ;;
11789 if test "x$with_gphoto" != "xno"
11791 if ${GPHOTO2_CFLAGS:+false} :; then :
11792 if ${PKG_CONFIG+:} false
; then :
11793 GPHOTO2_CFLAGS
=`$PKG_CONFIG --cflags libgphoto2 2>/dev/null`
11796 test "$cross_compiling" = yes || GPHOTO2_CFLAGS
=${GPHOTO2_CFLAGS:-`gphoto2-config --cflags 2>/dev/null`}
11797 if ${GPHOTO2_LIBS:+false} :; then :
11798 if ${PKG_CONFIG+:} false
; then :
11799 GPHOTO2_LIBS
=`$PKG_CONFIG --libs libgphoto2 2>/dev/null`
11802 test "$cross_compiling" = yes || GPHOTO2_LIBS
=${GPHOTO2_LIBS:-`gphoto2-config --libs 2>/dev/null`}
11803 GPHOTO2_LIBS
=${GPHOTO2_LIBS:-"-lgphoto2"}
11804 $as_echo "$as_me:${as_lineno-$LINENO}: libgphoto2 cflags: $GPHOTO2_CFLAGS" >&5
11805 $as_echo "$as_me:${as_lineno-$LINENO}: libgphoto2 libs: $GPHOTO2_LIBS" >&5
11806 ac_save_CPPFLAGS
=$CPPFLAGS
11807 CPPFLAGS
="$CPPFLAGS $GPHOTO2_CFLAGS"
11808 ac_fn_c_check_header_mongrel
"$LINENO" "gphoto2-camera.h" "ac_cv_header_gphoto2_camera_h" "$ac_includes_default"
11809 if test "x$ac_cv_header_gphoto2_camera_h" = xyes
; then :
11810 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gp_camera_new in -lgphoto2" >&5
11811 $as_echo_n "checking for gp_camera_new in -lgphoto2... " >&6; }
11812 if ${ac_cv_lib_gphoto2_gp_camera_new+:} false
; then :
11813 $as_echo_n "(cached) " >&6
11815 ac_check_lib_save_LIBS
=$LIBS
11816 LIBS
="-lgphoto2 $GPHOTO2_LIBS $LIBS"
11817 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11818 /* end confdefs.h. */
11820 /* Override any GCC internal prototype to avoid an error.
11821 Use char because int might match the return type of a GCC
11822 builtin and then its argument prototype would still apply. */
11826 char gp_camera_new ();
11830 return gp_camera_new ();
11835 if ac_fn_c_try_link
"$LINENO"; then :
11836 ac_cv_lib_gphoto2_gp_camera_new
=yes
11838 ac_cv_lib_gphoto2_gp_camera_new
=no
11840 rm -f core conftest.err conftest.
$ac_objext \
11841 conftest
$ac_exeext conftest.
$ac_ext
11842 LIBS
=$ac_check_lib_save_LIBS
11844 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gphoto2_gp_camera_new" >&5
11845 $as_echo "$ac_cv_lib_gphoto2_gp_camera_new" >&6; }
11846 if test "x$ac_cv_lib_gphoto2_gp_camera_new" = xyes
; then :
11848 $as_echo "#define HAVE_GPHOTO2 1" >>confdefs.h
11851 GPHOTO2_LIBS
=""; GPHOTO2_CFLAGS
=""
11855 GPHOTO2_LIBS
=""; GPHOTO2_CFLAGS
=""
11859 CPPFLAGS
=$ac_save_CPPFLAGS
11860 test -z "$GPHOTO2_CFLAGS" || GPHOTO2_CFLAGS
=`echo " $GPHOTO2_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
11861 test -z "$GPHOTO2_LIBS" || GPHOTO2_LIBS
=`echo " $GPHOTO2_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
11863 if ${GPHOTO2_PORT_CFLAGS:+false} :; then :
11864 if ${PKG_CONFIG+:} false
; then :
11865 GPHOTO2_PORT_CFLAGS
=`$PKG_CONFIG --cflags libgphoto2_port 2>/dev/null`
11868 test "$cross_compiling" = yes || GPHOTO2_PORT_CFLAGS
=${GPHOTO2_PORT_CFLAGS:-`gphoto2-port-config --cflags 2>/dev/null`}
11869 if ${GPHOTO2_PORT_LIBS:+false} :; then :
11870 if ${PKG_CONFIG+:} false
; then :
11871 GPHOTO2_PORT_LIBS
=`$PKG_CONFIG --libs libgphoto2_port 2>/dev/null`
11874 test "$cross_compiling" = yes || GPHOTO2_PORT_LIBS
=${GPHOTO2_PORT_LIBS:-`gphoto2-port-config --libs 2>/dev/null`}
11875 GPHOTO2_PORT_LIBS
=${GPHOTO2_PORT_LIBS:-"-lgphoto2_port"}
11876 $as_echo "$as_me:${as_lineno-$LINENO}: libgphoto2_port cflags: $GPHOTO2_PORT_CFLAGS" >&5
11877 $as_echo "$as_me:${as_lineno-$LINENO}: libgphoto2_port libs: $GPHOTO2_PORT_LIBS" >&5
11878 ac_save_CPPFLAGS
=$CPPFLAGS
11879 CPPFLAGS
="$CPPFLAGS $GPHOTO2_PORT_CFLAGS"
11880 ac_fn_c_check_header_mongrel
"$LINENO" "gphoto2-port.h" "ac_cv_header_gphoto2_port_h" "$ac_includes_default"
11881 if test "x$ac_cv_header_gphoto2_port_h" = xyes
; then :
11882 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gp_port_info_list_new in -lgphoto2_port" >&5
11883 $as_echo_n "checking for gp_port_info_list_new in -lgphoto2_port... " >&6; }
11884 if ${ac_cv_lib_gphoto2_port_gp_port_info_list_new+:} false
; then :
11885 $as_echo_n "(cached) " >&6
11887 ac_check_lib_save_LIBS
=$LIBS
11888 LIBS
="-lgphoto2_port $GPHOTO2_PORT_LIBS $LIBS"
11889 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11890 /* end confdefs.h. */
11892 /* Override any GCC internal prototype to avoid an error.
11893 Use char because int might match the return type of a GCC
11894 builtin and then its argument prototype would still apply. */
11898 char gp_port_info_list_new ();
11902 return gp_port_info_list_new ();
11907 if ac_fn_c_try_link
"$LINENO"; then :
11908 ac_cv_lib_gphoto2_port_gp_port_info_list_new
=yes
11910 ac_cv_lib_gphoto2_port_gp_port_info_list_new
=no
11912 rm -f core conftest.err conftest.
$ac_objext \
11913 conftest
$ac_exeext conftest.
$ac_ext
11914 LIBS
=$ac_check_lib_save_LIBS
11916 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gphoto2_port_gp_port_info_list_new" >&5
11917 $as_echo "$ac_cv_lib_gphoto2_port_gp_port_info_list_new" >&6; }
11918 if test "x$ac_cv_lib_gphoto2_port_gp_port_info_list_new" = xyes
; then :
11920 $as_echo "#define HAVE_GPHOTO2_PORT 1" >>confdefs.h
11923 GPHOTO2_PORT_LIBS
=""; GPHOTO2_PORT_CFLAGS
=""
11927 GPHOTO2_PORT_LIBS
=""; GPHOTO2_PORT_CFLAGS
=""
11931 CPPFLAGS
=$ac_save_CPPFLAGS
11932 test -z "$GPHOTO2_PORT_CFLAGS" || GPHOTO2_PORT_CFLAGS
=`echo " $GPHOTO2_PORT_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
11933 test -z "$GPHOTO2_PORT_LIBS" || GPHOTO2_PORT_LIBS
=`echo " $GPHOTO2_PORT_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
11936 if test "$ac_cv_lib_gphoto2_gp_camera_new" != "yes"; then :
11937 case "x$with_gphoto" in
11938 x
) as_fn_append wine_notices
"|libgphoto2 ${notice_platform}development files not found, digital cameras won't be supported." ;;
11940 *) as_fn_error $?
"libgphoto2 ${notice_platform}development files not found, digital cameras won't be supported.
11941 This is an error since --with-gphoto was requested." "$LINENO" 5 ;;
11944 if test "$ac_cv_lib_gphoto2_port_gp_port_info_list_new" != "yes"; then :
11945 case "x$with_gphoto" in
11946 x
) as_fn_append wine_notices
"|libgphoto2_port ${notice_platform}development files not found, digital cameras won't be auto-detected." ;;
11948 *) as_fn_error $?
"libgphoto2_port ${notice_platform}development files not found, digital cameras won't be auto-detected.
11949 This is an error since --with-gphoto was requested." "$LINENO" 5 ;;
11954 if test "$ac_cv_header_resolv_h" = "yes"
11956 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for resolver library" >&5
11957 $as_echo_n "checking for resolver library... " >&6; }
11958 if ${ac_cv_have_resolv+:} false
; then :
11959 $as_echo_n "(cached) " >&6
11961 ac_save_LIBS
="$LIBS"
11962 for lib
in '' -lresolv
11964 LIBS
="$lib $ac_save_LIBS"
11965 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11966 /* end confdefs.h. */
11967 #ifdef HAVE_NETINET_IN_H
11968 #include <netinet/in.h>
11970 #include <resolv.h>
11974 if (!(_res.options & RES_INIT)) res_init(); res_query("foo",ns_c_in,0,0,0)
11979 if ac_fn_c_try_link
"$LINENO"; then :
11980 ac_cv_have_resolv
=${lib:-"none required"}
11982 ac_cv_have_resolv
="not found"
11984 rm -f core conftest.err conftest.
$ac_objext \
11985 conftest
$ac_exeext conftest.
$ac_ext
11986 test "x$ac_cv_have_resolv" = "xnot found" ||
break
11988 LIBS
="$ac_save_LIBS"
11990 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_resolv" >&5
11991 $as_echo "$ac_cv_have_resolv" >&6; }
11993 case "$ac_cv_have_resolv" in
11997 $as_echo "#define HAVE_RESOLV 1" >>confdefs.h
12000 $as_echo "#define HAVE_RESOLV 1" >>confdefs.h
12002 RESOLV_LIBS
=$ac_cv_have_resolv
12007 if test "x$with_cms" != "xno"
12009 if ${LCMS2_CFLAGS:+false} :; then :
12010 if ${PKG_CONFIG+:} false
; then :
12011 LCMS2_CFLAGS
=`$PKG_CONFIG --cflags lcms2 2>/dev/null`
12015 if ${LCMS2_LIBS:+false} :; then :
12016 if ${PKG_CONFIG+:} false
; then :
12017 LCMS2_LIBS
=`$PKG_CONFIG --libs lcms2 2>/dev/null`
12021 LCMS2_LIBS
=${LCMS2_LIBS:-"-llcms2"}
12022 $as_echo "$as_me:${as_lineno-$LINENO}: lcms2 cflags: $LCMS2_CFLAGS" >&5
12023 $as_echo "$as_me:${as_lineno-$LINENO}: lcms2 libs: $LCMS2_LIBS" >&5
12024 ac_save_CPPFLAGS
=$CPPFLAGS
12025 CPPFLAGS
="$CPPFLAGS $LCMS2_CFLAGS"
12026 for ac_header
in lcms2.h
12028 ac_fn_c_check_header_mongrel
"$LINENO" "lcms2.h" "ac_cv_header_lcms2_h" "$ac_includes_default"
12029 if test "x$ac_cv_header_lcms2_h" = xyes
; then :
12030 cat >>confdefs.h
<<_ACEOF
12031 #define HAVE_LCMS2_H 1
12038 if test "$ac_cv_header_lcms2_h" = "yes"
12040 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cmsOpenProfileFromFile in -llcms2" >&5
12041 $as_echo_n "checking for cmsOpenProfileFromFile in -llcms2... " >&6; }
12042 if ${ac_cv_lib_lcms2_cmsOpenProfileFromFile+:} false
; then :
12043 $as_echo_n "(cached) " >&6
12045 ac_check_lib_save_LIBS
=$LIBS
12046 LIBS
="-llcms2 $LCMS2_LIBS $LIBS"
12047 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12048 /* end confdefs.h. */
12050 /* Override any GCC internal prototype to avoid an error.
12051 Use char because int might match the return type of a GCC
12052 builtin and then its argument prototype would still apply. */
12056 char cmsOpenProfileFromFile ();
12060 return cmsOpenProfileFromFile ();
12065 if ac_fn_c_try_link
"$LINENO"; then :
12066 ac_cv_lib_lcms2_cmsOpenProfileFromFile
=yes
12068 ac_cv_lib_lcms2_cmsOpenProfileFromFile
=no
12070 rm -f core conftest.err conftest.
$ac_objext \
12071 conftest
$ac_exeext conftest.
$ac_ext
12072 LIBS
=$ac_check_lib_save_LIBS
12074 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_lcms2_cmsOpenProfileFromFile" >&5
12075 $as_echo "$ac_cv_lib_lcms2_cmsOpenProfileFromFile" >&6; }
12076 if test "x$ac_cv_lib_lcms2_cmsOpenProfileFromFile" = xyes
; then :
12078 $as_echo "#define HAVE_LCMS2 1" >>confdefs.h
12088 CPPFLAGS
=$ac_save_CPPFLAGS
12089 test -z "$LCMS2_CFLAGS" || LCMS2_CFLAGS
=`echo " $LCMS2_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
12090 test -z "$LCMS2_LIBS" || LCMS2_LIBS
=`echo " $LCMS2_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
12093 if test "$ac_cv_lib_lcms2_cmsOpenProfileFromFile" != "yes"; then :
12094 case "x$with_cms" in
12095 x
) as_fn_append wine_notices
"|liblcms2 ${notice_platform}development files not found, Color Management won't be supported." ;;
12097 *) as_fn_error $?
"liblcms2 ${notice_platform}development files not found, Color Management won't be supported.
12098 This is an error since --with-cms was requested." "$LINENO" 5 ;;
12102 if test "x$with_freetype" != "xno"
12104 if ${FREETYPE_CFLAGS:+false} :; then :
12105 if ${PKG_CONFIG+:} false
; then :
12106 FREETYPE_CFLAGS
=`$PKG_CONFIG --cflags freetype2 2>/dev/null`
12109 test "$cross_compiling" = yes || FREETYPE_CFLAGS
=${FREETYPE_CFLAGS:-`(freetype-config --cflags || freetype2-config --cflags) 2>/dev/null`}
12110 if ${FREETYPE_LIBS:+false} :; then :
12111 if ${PKG_CONFIG+:} false
; then :
12112 FREETYPE_LIBS
=`$PKG_CONFIG --libs freetype2 2>/dev/null`
12115 test "$cross_compiling" = yes || FREETYPE_LIBS
=${FREETYPE_LIBS:-`(freetype-config --libs || freetype2-config --libs) 2>/dev/null`}
12116 FREETYPE_LIBS
=${FREETYPE_LIBS:-"-lfreetype"}
12117 $as_echo "$as_me:${as_lineno-$LINENO}: freetype2 cflags: $FREETYPE_CFLAGS" >&5
12118 $as_echo "$as_me:${as_lineno-$LINENO}: freetype2 libs: $FREETYPE_LIBS" >&5
12119 ac_save_CPPFLAGS
=$CPPFLAGS
12120 CPPFLAGS
="$CPPFLAGS $FREETYPE_CFLAGS"
12121 for ac_header
in ft2build.h
12123 ac_fn_c_check_header_mongrel
"$LINENO" "ft2build.h" "ac_cv_header_ft2build_h" "$ac_includes_default"
12124 if test "x$ac_cv_header_ft2build_h" = xyes
; then :
12125 cat >>confdefs.h
<<_ACEOF
12126 #define HAVE_FT2BUILD_H 1
12133 if test "$ac_cv_header_ft2build_h" = "yes"
12135 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lfreetype" >&5
12136 $as_echo_n "checking for -lfreetype... " >&6; }
12137 if ${ac_cv_lib_soname_freetype+:} false
; then :
12138 $as_echo_n "(cached) " >&6
12140 ac_check_soname_save_LIBS
=$LIBS
12141 LIBS
="-lfreetype $FREETYPE_LIBS $LIBS"
12142 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12143 /* end confdefs.h. */
12145 /* Override any GCC internal prototype to avoid an error.
12146 Use char because int might match the return type of a GCC
12147 builtin and then its argument prototype would still apply. */
12151 char FT_Init_FreeType ();
12155 return FT_Init_FreeType ();
12160 if ac_fn_c_try_link
"$LINENO"; then :
12162 dll
) ac_cv_lib_soname_freetype
=`$ac_cv_path_LDD conftest.exe | grep "freetype" | sed -e "s/dll.*/dll/"';2,$d'` ;;
12163 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'` ;;
12164 *) ac_cv_lib_soname_freetype
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libfreetype\\.$LIBEXT" | sed -e "s/^.*\\[\\(libfreetype\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
12165 if ${ac_cv_lib_soname_freetype:+false} :; then :
12166 ac_cv_lib_soname_freetype
=`$LDD conftest$ac_exeext | grep "libfreetype\\.$LIBEXT" | sed -e "s/^.*\(libfreetype\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
12170 rm -f core conftest.err conftest.
$ac_objext \
12171 conftest
$ac_exeext conftest.
$ac_ext
12172 LIBS
=$ac_check_soname_save_LIBS
12174 if ${ac_cv_lib_soname_freetype:+false} :; then :
12175 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
12176 $as_echo "not found" >&6; }
12179 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_freetype" >&5
12180 $as_echo "$ac_cv_lib_soname_freetype" >&6; }
12182 cat >>confdefs.h
<<_ACEOF
12183 #define SONAME_LIBFREETYPE "$ac_cv_lib_soname_freetype"
12187 $as_echo "#define HAVE_FREETYPE 1" >>confdefs.h
12189 ac_fn_c_check_type
"$LINENO" "FT_TrueTypeEngineType" "ac_cv_type_FT_TrueTypeEngineType" "#include <ft2build.h>
12190 #include FT_MODULE_H
12192 if test "x$ac_cv_type_FT_TrueTypeEngineType" = xyes
; then :
12194 cat >>confdefs.h
<<_ACEOF
12195 #define HAVE_FT_TRUETYPEENGINETYPE 1
12206 CPPFLAGS
=$ac_save_CPPFLAGS
12207 test -z "$FREETYPE_CFLAGS" || FREETYPE_CFLAGS
=`echo " $FREETYPE_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
12208 test -z "$FREETYPE_LIBS" || FREETYPE_LIBS
=`echo " $FREETYPE_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
12211 if test "x$ac_cv_lib_soname_freetype" = x
; then :
12212 case "x$with_freetype" in
12214 *) as_fn_error $?
"FreeType ${notice_platform}development files not found. Fonts will not be built.
12215 Use the --without-freetype option if you really want this." "$LINENO" 5 ;;
12218 test "x$ac_cv_lib_soname_freetype" = x
&& enable_fonts
=${enable_fonts:-no}
12220 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for parport header/ppdev.h" >&5
12221 $as_echo_n "checking for parport header/ppdev.h... " >&6; }
12222 if ${ac_cv_c_ppdev+:} false
; then :
12223 $as_echo_n "(cached) " >&6
12225 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12226 /* end confdefs.h. */
12227 #ifdef HAVE_SYS_IOCTL_H
12228 # include <sys/ioctl.h>
12230 #include <linux/ppdev.h>
12234 ioctl (1,PPCLAIM,0)
12239 if ac_fn_c_try_compile
"$LINENO"; then :
12240 ac_cv_c_ppdev
="yes"
12244 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
12246 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_ppdev" >&5
12247 $as_echo "$ac_cv_c_ppdev" >&6; }
12248 if test "$ac_cv_c_ppdev" = "yes"
12251 $as_echo "#define HAVE_PPDEV 1" >>confdefs.h
12255 ac_wine_check_funcs_save_LIBS
="$LIBS"
12256 LIBS
="$LIBS $PTHREAD_LIBS"
12258 pthread_attr_get_np \
12259 pthread_getattr_np \
12260 pthread_getthreadid_np \
12261 pthread_get_stackaddr_np \
12262 pthread_get_stacksize_np
12264 as_ac_var
=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
12265 ac_fn_c_check_func
"$LINENO" "$ac_func" "$as_ac_var"
12266 if eval test \"x\$
"$as_ac_var"\" = x
"yes"; then :
12267 cat >>confdefs.h
<<_ACEOF
12268 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
12274 LIBS
="$ac_wine_check_funcs_save_LIBS"
12276 if test "$ac_cv_header_zlib_h" = "yes"
12278 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for inflate in -lz" >&5
12279 $as_echo_n "checking for inflate in -lz... " >&6; }
12280 if ${ac_cv_lib_z_inflate+:} false
; then :
12281 $as_echo_n "(cached) " >&6
12283 ac_check_lib_save_LIBS
=$LIBS
12285 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12286 /* end confdefs.h. */
12288 /* Override any GCC internal prototype to avoid an error.
12289 Use char because int might match the return type of a GCC
12290 builtin and then its argument prototype would still apply. */
12303 if ac_fn_c_try_link
"$LINENO"; then :
12304 ac_cv_lib_z_inflate
=yes
12306 ac_cv_lib_z_inflate
=no
12308 rm -f core conftest.err conftest.
$ac_objext \
12309 conftest
$ac_exeext conftest.
$ac_ext
12310 LIBS
=$ac_check_lib_save_LIBS
12312 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_z_inflate" >&5
12313 $as_echo "$ac_cv_lib_z_inflate" >&6; }
12314 if test "x$ac_cv_lib_z_inflate" = xyes
; then :
12316 $as_echo "#define HAVE_ZLIB 1" >>confdefs.h
12323 if test "x$Z_LIBS" = "x"; then :
12324 case "x$with_zlib" in
12325 x
) as_fn_append wine_notices
"|libz ${notice_platform}development files not found, data compression won't be supported." ;;
12327 *) as_fn_error $?
"libz ${notice_platform}development files not found, data compression won't be supported.
12328 This is an error since --with-zlib was requested." "$LINENO" 5 ;;
12332 if test "x$enable_tools" != xno
12334 if test "$ac_cv_header_gettext_po_h" = "yes"
12336 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for po_message_msgctxt in -lgettextpo" >&5
12337 $as_echo_n "checking for po_message_msgctxt in -lgettextpo... " >&6; }
12338 if ${ac_cv_lib_gettextpo_po_message_msgctxt+:} false
; then :
12339 $as_echo_n "(cached) " >&6
12341 ac_check_lib_save_LIBS
=$LIBS
12342 LIBS
="-lgettextpo $LIBS"
12343 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12344 /* end confdefs.h. */
12346 /* Override any GCC internal prototype to avoid an error.
12347 Use char because int might match the return type of a GCC
12348 builtin and then its argument prototype would still apply. */
12352 char po_message_msgctxt ();
12356 return po_message_msgctxt ();
12361 if ac_fn_c_try_link
"$LINENO"; then :
12362 ac_cv_lib_gettextpo_po_message_msgctxt
=yes
12364 ac_cv_lib_gettextpo_po_message_msgctxt
=no
12366 rm -f core conftest.err conftest.
$ac_objext \
12367 conftest
$ac_exeext conftest.
$ac_ext
12368 LIBS
=$ac_check_lib_save_LIBS
12370 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gettextpo_po_message_msgctxt" >&5
12371 $as_echo "$ac_cv_lib_gettextpo_po_message_msgctxt" >&6; }
12372 if test "x$ac_cv_lib_gettextpo_po_message_msgctxt" = xyes
; then :
12374 $as_echo "#define HAVE_LIBGETTEXTPO 1" >>confdefs.h
12376 GETTEXTPO_LIBS
="-lgettextpo"
12381 test "x$with_gettextpo" != xyes ||
if test "x$GETTEXTPO_LIBS" = "x"; then :
12382 case "x$with_gettextpo" in
12383 x
) as_fn_append wine_notices
"|GetText ${notice_platform}development files not found (or too old), po files can't be rebuilt." ;;
12385 *) as_fn_error $?
"GetText ${notice_platform}development files not found (or too old), po files can't be rebuilt.
12386 This is an error since --with-gettextpo was requested." "$LINENO" 5 ;;
12391 if test "x$with_gstreamer" != "xno"
12393 if ${GSTREAMER_CFLAGS:+false} :; then :
12394 if ${PKG_CONFIG+:} false
; then :
12395 GSTREAMER_CFLAGS
=`$PKG_CONFIG --cflags gstreamer-app-0.10 2>/dev/null`
12399 if ${GSTREAMER_LIBS:+false} :; then :
12400 if ${PKG_CONFIG+:} false
; then :
12401 GSTREAMER_LIBS
=`$PKG_CONFIG --libs gstreamer-app-0.10 2>/dev/null`
12406 $as_echo "$as_me:${as_lineno-$LINENO}: gstreamer-app-0.10 cflags: $GSTREAMER_CFLAGS" >&5
12407 $as_echo "$as_me:${as_lineno-$LINENO}: gstreamer-app-0.10 libs: $GSTREAMER_LIBS" >&5
12408 ac_save_CPPFLAGS
=$CPPFLAGS
12409 CPPFLAGS
="$CPPFLAGS $GSTREAMER_CFLAGS"
12411 for i
in $GSTREAMER_CFLAGS
12414 -I*) ac_gst_incl
="$ac_gst_incl $i";;
12417 GSTREAMER_CFLAGS
=$ac_gst_incl
12418 CPPFLAGS
="$ac_save_CPPFLAGS $GSTREAMER_CFLAGS"
12419 ac_fn_c_check_header_mongrel
"$LINENO" "gst/gstpad.h" "ac_cv_header_gst_gstpad_h" "$ac_includes_default"
12420 if test "x$ac_cv_header_gst_gstpad_h" = xyes
; then :
12421 ac_fn_c_check_header_mongrel
"$LINENO" "gst/app/gstappsink.h" "ac_cv_header_gst_app_gstappsink_h" "$ac_includes_default"
12422 if test "x$ac_cv_header_gst_app_gstappsink_h" = xyes
; then :
12423 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether gint64 defined by gst/app/gstappsink.h is indeed 64-bit" >&5
12424 $as_echo_n "checking whether gint64 defined by gst/app/gstappsink.h is indeed 64-bit... " >&6; }
12425 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12426 /* end confdefs.h. */
12427 #include <gst/app/gstappsink.h>
12431 static int a[sizeof(gint64) > 4 ? 1 : -1]; if (a[0]) return 0;
12436 if ac_fn_c_try_compile
"$LINENO"; then :
12437 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
12438 $as_echo "yes" >&6; }
12439 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gst_pad_get_caps_reffed in -lgstreamer-0.10" >&5
12440 $as_echo_n "checking for gst_pad_get_caps_reffed in -lgstreamer-0.10... " >&6; }
12441 if ${ac_cv_lib_gstreamer_0_10_gst_pad_get_caps_reffed+:} false
; then :
12442 $as_echo_n "(cached) " >&6
12444 ac_check_lib_save_LIBS
=$LIBS
12445 LIBS
="-lgstreamer-0.10 $LIBS"
12446 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12447 /* end confdefs.h. */
12449 /* Override any GCC internal prototype to avoid an error.
12450 Use char because int might match the return type of a GCC
12451 builtin and then its argument prototype would still apply. */
12455 char gst_pad_get_caps_reffed ();
12459 return gst_pad_get_caps_reffed ();
12464 if ac_fn_c_try_link
"$LINENO"; then :
12465 ac_cv_lib_gstreamer_0_10_gst_pad_get_caps_reffed
=yes
12467 ac_cv_lib_gstreamer_0_10_gst_pad_get_caps_reffed
=no
12469 rm -f core conftest.err conftest.
$ac_objext \
12470 conftest
$ac_exeext conftest.
$ac_ext
12471 LIBS
=$ac_check_lib_save_LIBS
12473 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gstreamer_0_10_gst_pad_get_caps_reffed" >&5
12474 $as_echo "$ac_cv_lib_gstreamer_0_10_gst_pad_get_caps_reffed" >&6; }
12475 if test "x$ac_cv_lib_gstreamer_0_10_gst_pad_get_caps_reffed" = xyes
; then :
12476 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gst_app_buffer_new in -lgstapp-0.10" >&5
12477 $as_echo_n "checking for gst_app_buffer_new in -lgstapp-0.10... " >&6; }
12478 if ${ac_cv_lib_gstapp_0_10_gst_app_buffer_new+:} false
; then :
12479 $as_echo_n "(cached) " >&6
12481 ac_check_lib_save_LIBS
=$LIBS
12482 LIBS
="-lgstapp-0.10 $GSTREAMER_LIBS $LIBS"
12483 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12484 /* end confdefs.h. */
12486 /* Override any GCC internal prototype to avoid an error.
12487 Use char because int might match the return type of a GCC
12488 builtin and then its argument prototype would still apply. */
12492 char gst_app_buffer_new ();
12496 return gst_app_buffer_new ();
12501 if ac_fn_c_try_link
"$LINENO"; then :
12502 ac_cv_lib_gstapp_0_10_gst_app_buffer_new
=yes
12504 ac_cv_lib_gstapp_0_10_gst_app_buffer_new
=no
12506 rm -f core conftest.err conftest.
$ac_objext \
12507 conftest
$ac_exeext conftest.
$ac_ext
12508 LIBS
=$ac_check_lib_save_LIBS
12510 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gstapp_0_10_gst_app_buffer_new" >&5
12511 $as_echo "$ac_cv_lib_gstapp_0_10_gst_app_buffer_new" >&6; }
12512 if test "x$ac_cv_lib_gstapp_0_10_gst_app_buffer_new" = xyes
; then :
12519 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12520 $as_echo "no" >&6; }
12522 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
12527 GSTREAMER_CFLAGS
=""
12531 CPPFLAGS
=$ac_save_CPPFLAGS
12532 test -z "$GSTREAMER_CFLAGS" || GSTREAMER_CFLAGS
=`echo " $GSTREAMER_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
12533 test -z "$GSTREAMER_LIBS" || GSTREAMER_LIBS
=`echo " $GSTREAMER_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
12536 if test "x$ac_cv_lib_gstapp_0_10_gst_app_buffer_new" != xyes
-a "x$ac_cv_header_QuickTime_ImageCompression_h" != xyes
; then :
12537 case "x$with_gstreamer" in
12538 x
) as_fn_append wine_notices
"|gstreamer-0.10 base plugins ${notice_platform}development files not found, gstreamer support disabled" ;;
12540 *) as_fn_error $?
"gstreamer-0.10 base plugins ${notice_platform}development files not found, gstreamer support disabled
12541 This is an error since --with-gstreamer was requested." "$LINENO" 5 ;;
12544 test "x$ac_cv_lib_gstapp_0_10_gst_app_buffer_new" = xyes || enable_winegstreamer
=${enable_winegstreamer:-no}
12548 if test "$ac_cv_header_sys_asoundlib_h" = "yes" -o "$ac_cv_header_alsa_asoundlib_h" = "yes"
12550 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for snd_pcm_hw_params_get_access_mask in -lasound" >&5
12551 $as_echo_n "checking for snd_pcm_hw_params_get_access_mask in -lasound... " >&6; }
12552 if ${ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask+:} false
; then :
12553 $as_echo_n "(cached) " >&6
12555 ac_check_lib_save_LIBS
=$LIBS
12556 LIBS
="-lasound $LIBS"
12557 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12558 /* end confdefs.h. */
12560 /* Override any GCC internal prototype to avoid an error.
12561 Use char because int might match the return type of a GCC
12562 builtin and then its argument prototype would still apply. */
12566 char snd_pcm_hw_params_get_access_mask ();
12570 return snd_pcm_hw_params_get_access_mask ();
12575 if ac_fn_c_try_link
"$LINENO"; then :
12576 ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask
=yes
12578 ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask
=no
12580 rm -f core conftest.err conftest.
$ac_objext \
12581 conftest
$ac_exeext conftest.
$ac_ext
12582 LIBS
=$ac_check_lib_save_LIBS
12584 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask" >&5
12585 $as_echo "$ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask" >&6; }
12586 if test "x$ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask" = xyes
; then :
12587 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12588 /* end confdefs.h. */
12589 #ifdef HAVE_ALSA_ASOUNDLIB_H
12590 #include <alsa/asoundlib.h>
12591 #elif defined(HAVE_SYS_ASOUNDLIB_H)
12592 #include <sys/asoundlib.h>
12597 snd_pcm_hw_params_get_access_mask(NULL, NULL)
12602 if ac_fn_c_try_compile
"$LINENO"; then :
12603 ALSA_LIBS
="-lasound"
12605 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
12610 if test "x$with_oss" != xno
12612 ac_save_CPPFLAGS
="$CPPFLAGS"
12613 if test -f /etc
/oss.conf
12617 ac_oss_incl
="-I${OSSLIBDIR:-/usr/lib/oss}/include"
12618 CPPFLAGS
="$CPPFLAGS $ac_oss_incl"
12619 ac_fn_c_check_header_mongrel
"$LINENO" "sys/soundcard.h" "ac_cv_header_sys_soundcard_h" "$ac_includes_default"
12620 if test "x$ac_cv_header_sys_soundcard_h" = xyes
; then :
12621 ac_fn_c_check_member
"$LINENO" "oss_sysinfo" "numaudioengines" "ac_cv_member_oss_sysinfo_numaudioengines" "#include <sys/soundcard.h>
12623 if test "x$ac_cv_member_oss_sysinfo_numaudioengines" = xyes
; then :
12625 cat >>confdefs.h
<<_ACEOF
12626 #define HAVE_OSS_SYSINFO_NUMAUDIOENGINES 1
12629 OSS4_CFLAGS
="$ac_oss_incl"
12636 CPPFLAGS
="$ac_save_CPPFLAGS"
12637 if test "x$ac_cv_member_oss_sysinfo_numaudioengines" != xyes
12639 as_fn_append wine_notices
"|OSS sound system found but too old (OSSv4 needed), OSS won't be supported."
12643 if test "x$with_capi" != "xno"
12645 if ${CAPI20_CFLAGS:+false} :; then :
12646 if ${PKG_CONFIG+:} false
; then :
12647 CAPI20_CFLAGS
=`$PKG_CONFIG --cflags capi20 2>/dev/null`
12651 if ${CAPI20_LIBS:+false} :; then :
12652 if ${PKG_CONFIG+:} false
; then :
12653 CAPI20_LIBS
=`$PKG_CONFIG --libs capi20 2>/dev/null`
12658 $as_echo "$as_me:${as_lineno-$LINENO}: capi20 cflags: $CAPI20_CFLAGS" >&5
12659 $as_echo "$as_me:${as_lineno-$LINENO}: capi20 libs: $CAPI20_LIBS" >&5
12660 ac_save_CPPFLAGS
=$CPPFLAGS
12661 CPPFLAGS
="$CPPFLAGS $CAPI20_CFLAGS"
12662 for ac_header
in capi20.h linux
/capi.h
12664 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
12665 ac_fn_c_check_header_compile
"$LINENO" "$ac_header" "$as_ac_Header" "#define __user
12667 if eval test \"x\$
"$as_ac_Header"\" = x
"yes"; then :
12668 cat >>confdefs.h
<<_ACEOF
12669 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
12676 if test "$ac_cv_header_capi20_h" = "yes" -a "$ac_cv_header_linux_capi_h" = "yes"
12678 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lcapi20" >&5
12679 $as_echo_n "checking for -lcapi20... " >&6; }
12680 if ${ac_cv_lib_soname_capi20+:} false
; then :
12681 $as_echo_n "(cached) " >&6
12683 ac_check_soname_save_LIBS
=$LIBS
12684 LIBS
="-lcapi20 $CAPI20_LIBS $LIBS"
12685 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12686 /* end confdefs.h. */
12688 /* Override any GCC internal prototype to avoid an error.
12689 Use char because int might match the return type of a GCC
12690 builtin and then its argument prototype would still apply. */
12694 char capi20_register ();
12698 return capi20_register ();
12703 if ac_fn_c_try_link
"$LINENO"; then :
12705 dll
) ac_cv_lib_soname_capi20
=`$ac_cv_path_LDD conftest.exe | grep "capi20" | sed -e "s/dll.*/dll/"';2,$d'` ;;
12706 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'` ;;
12707 *) ac_cv_lib_soname_capi20
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libcapi20\\.$LIBEXT" | sed -e "s/^.*\\[\\(libcapi20\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
12708 if ${ac_cv_lib_soname_capi20:+false} :; then :
12709 ac_cv_lib_soname_capi20
=`$LDD conftest$ac_exeext | grep "libcapi20\\.$LIBEXT" | sed -e "s/^.*\(libcapi20\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
12713 rm -f core conftest.err conftest.
$ac_objext \
12714 conftest
$ac_exeext conftest.
$ac_ext
12715 LIBS
=$ac_check_soname_save_LIBS
12717 if ${ac_cv_lib_soname_capi20:+false} :; then :
12718 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
12719 $as_echo "not found" >&6; }
12722 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_capi20" >&5
12723 $as_echo "$ac_cv_lib_soname_capi20" >&6; }
12725 cat >>confdefs.h
<<_ACEOF
12726 #define SONAME_LIBCAPI20 "$ac_cv_lib_soname_capi20"
12732 CPPFLAGS
=$ac_save_CPPFLAGS
12733 test -z "$CAPI20_CFLAGS" || CAPI20_CFLAGS
=`echo " $CAPI20_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
12734 test -z "$CAPI20_LIBS" || CAPI20_LIBS
=`echo " $CAPI20_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
12737 if test "x$ac_cv_lib_soname_capi20" = "x"; then :
12738 case "x$with_capi" in
12739 x
) as_fn_append wine_notices
"|libcapi20 ${notice_platform}development files not found, ISDN won't be supported." ;;
12741 *) as_fn_error $?
"libcapi20 ${notice_platform}development files not found, ISDN won't be supported.
12742 This is an error since --with-capi was requested." "$LINENO" 5 ;;
12748 if test "x$with_cups" != "xno"
12750 ac_save_CPPFLAGS
="$CPPFLAGS"
12751 ac_cups_cflags
=`cups-config --cflags 2>/dev/null`
12752 ac_cups_libs
=`cups-config --ldflags 2>/dev/null`
12753 CPPFLAGS
="$CPPFLAGS $ac_cups_cflags"
12754 for ac_header
in cups
/cups.h
12756 ac_fn_c_check_header_mongrel
"$LINENO" "cups/cups.h" "ac_cv_header_cups_cups_h" "$ac_includes_default"
12757 if test "x$ac_cv_header_cups_cups_h" = xyes
; then :
12758 cat >>confdefs.h
<<_ACEOF
12759 #define HAVE_CUPS_CUPS_H 1
12761 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lcups" >&5
12762 $as_echo_n "checking for -lcups... " >&6; }
12763 if ${ac_cv_lib_soname_cups+:} false
; then :
12764 $as_echo_n "(cached) " >&6
12766 ac_check_soname_save_LIBS
=$LIBS
12767 LIBS
="-lcups $ac_cups_libs $LIBS"
12768 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12769 /* end confdefs.h. */
12771 /* Override any GCC internal prototype to avoid an error.
12772 Use char because int might match the return type of a GCC
12773 builtin and then its argument prototype would still apply. */
12777 char cupsGetDefault ();
12781 return cupsGetDefault ();
12786 if ac_fn_c_try_link
"$LINENO"; then :
12788 dll
) ac_cv_lib_soname_cups
=`$ac_cv_path_LDD conftest.exe | grep "cups" | sed -e "s/dll.*/dll/"';2,$d'` ;;
12789 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'` ;;
12790 *) ac_cv_lib_soname_cups
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libcups\\.$LIBEXT" | sed -e "s/^.*\\[\\(libcups\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
12791 if ${ac_cv_lib_soname_cups:+false} :; then :
12792 ac_cv_lib_soname_cups
=`$LDD conftest$ac_exeext | grep "libcups\\.$LIBEXT" | sed -e "s/^.*\(libcups\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
12796 rm -f core conftest.err conftest.
$ac_objext \
12797 conftest
$ac_exeext conftest.
$ac_ext
12798 LIBS
=$ac_check_soname_save_LIBS
12800 if ${ac_cv_lib_soname_cups:+false} :; then :
12801 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
12802 $as_echo "not found" >&6; }
12805 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_cups" >&5
12806 $as_echo "$ac_cv_lib_soname_cups" >&6; }
12808 cat >>confdefs.h
<<_ACEOF
12809 #define SONAME_LIBCUPS "$ac_cv_lib_soname_cups"
12812 CUPS_CFLAGS
="$ac_cups_cflags"
12818 CPPFLAGS
="$ac_save_CPPFLAGS"
12820 if test "x$ac_cv_lib_soname_cups" = "x"; then :
12821 case "x$with_cups" in
12822 x
) as_fn_append wine_notices
"|libcups ${notice_platform}development files not found, CUPS won't be supported." ;;
12824 *) as_fn_error $?
"libcups ${notice_platform}development files not found, CUPS won't be supported.
12825 This is an error since --with-cups was requested." "$LINENO" 5 ;;
12829 if test "x$with_fontconfig" != "xno"
12831 if ${FONTCONFIG_CFLAGS:+false} :; then :
12832 if ${PKG_CONFIG+:} false
; then :
12833 FONTCONFIG_CFLAGS
=`$PKG_CONFIG --cflags fontconfig 2>/dev/null`
12836 test "$cross_compiling" = yes || FONTCONFIG_CFLAGS
=${FONTCONFIG_CFLAGS:-$X_CFLAGS}
12837 if ${FONTCONFIG_LIBS:+false} :; then :
12838 if ${PKG_CONFIG+:} false
; then :
12839 FONTCONFIG_LIBS
=`$PKG_CONFIG --libs fontconfig 2>/dev/null`
12842 test "$cross_compiling" = yes || FONTCONFIG_LIBS
=${FONTCONFIG_LIBS:-$X_LIBS}
12844 $as_echo "$as_me:${as_lineno-$LINENO}: fontconfig cflags: $FONTCONFIG_CFLAGS" >&5
12845 $as_echo "$as_me:${as_lineno-$LINENO}: fontconfig libs: $FONTCONFIG_LIBS" >&5
12846 ac_save_CPPFLAGS
=$CPPFLAGS
12847 CPPFLAGS
="$CPPFLAGS $FONTCONFIG_CFLAGS"
12848 for ac_header
in fontconfig
/fontconfig.h
12850 ac_fn_c_check_header_mongrel
"$LINENO" "fontconfig/fontconfig.h" "ac_cv_header_fontconfig_fontconfig_h" "$ac_includes_default"
12851 if test "x$ac_cv_header_fontconfig_fontconfig_h" = xyes
; then :
12852 cat >>confdefs.h
<<_ACEOF
12853 #define HAVE_FONTCONFIG_FONTCONFIG_H 1
12860 if test "$ac_cv_header_fontconfig_fontconfig_h" = "yes"
12862 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lfontconfig" >&5
12863 $as_echo_n "checking for -lfontconfig... " >&6; }
12864 if ${ac_cv_lib_soname_fontconfig+:} false
; then :
12865 $as_echo_n "(cached) " >&6
12867 ac_check_soname_save_LIBS
=$LIBS
12868 LIBS
="-lfontconfig $FONTCONFIG_LIBS $LIBS"
12869 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12870 /* end confdefs.h. */
12872 /* Override any GCC internal prototype to avoid an error.
12873 Use char because int might match the return type of a GCC
12874 builtin and then its argument prototype would still apply. */
12887 if ac_fn_c_try_link
"$LINENO"; then :
12889 dll
) ac_cv_lib_soname_fontconfig
=`$ac_cv_path_LDD conftest.exe | grep "fontconfig" | sed -e "s/dll.*/dll/"';2,$d'` ;;
12890 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'` ;;
12891 *) ac_cv_lib_soname_fontconfig
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libfontconfig\\.$LIBEXT" | sed -e "s/^.*\\[\\(libfontconfig\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
12892 if ${ac_cv_lib_soname_fontconfig:+false} :; then :
12893 ac_cv_lib_soname_fontconfig
=`$LDD conftest$ac_exeext | grep "libfontconfig\\.$LIBEXT" | sed -e "s/^.*\(libfontconfig\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
12897 rm -f core conftest.err conftest.
$ac_objext \
12898 conftest
$ac_exeext conftest.
$ac_ext
12899 LIBS
=$ac_check_soname_save_LIBS
12901 if ${ac_cv_lib_soname_fontconfig:+false} :; then :
12902 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
12903 $as_echo "not found" >&6; }
12904 FONTCONFIG_CFLAGS
=""
12906 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_fontconfig" >&5
12907 $as_echo "$ac_cv_lib_soname_fontconfig" >&6; }
12909 cat >>confdefs.h
<<_ACEOF
12910 #define SONAME_LIBFONTCONFIG "$ac_cv_lib_soname_fontconfig"
12916 FONTCONFIG_CFLAGS
=""
12918 CPPFLAGS
=$ac_save_CPPFLAGS
12919 test -z "$FONTCONFIG_CFLAGS" || FONTCONFIG_CFLAGS
=`echo " $FONTCONFIG_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
12920 test -z "$FONTCONFIG_LIBS" || FONTCONFIG_LIBS
=`echo " $FONTCONFIG_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
12923 if test "x$ac_cv_lib_soname_fontconfig" = "x"; then :
12924 case "x$with_fontconfig" in
12925 x
) as_fn_append wine_notices
"|fontconfig ${notice_platform}development files not found, fontconfig won't be supported." ;;
12927 *) as_fn_error $?
"fontconfig ${notice_platform}development files not found, fontconfig won't be supported.
12928 This is an error since --with-fontconfig was requested." "$LINENO" 5 ;;
12932 if test "$ac_cv_header_gsm_h" = "yes" -o "$ac_cv_header_gsm_gsm_h" = "yes"
12934 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lgsm" >&5
12935 $as_echo_n "checking for -lgsm... " >&6; }
12936 if ${ac_cv_lib_soname_gsm+:} false
; then :
12937 $as_echo_n "(cached) " >&6
12939 ac_check_soname_save_LIBS
=$LIBS
12941 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12942 /* end confdefs.h. */
12944 /* Override any GCC internal prototype to avoid an error.
12945 Use char because int might match the return type of a GCC
12946 builtin and then its argument prototype would still apply. */
12950 char gsm_create ();
12954 return gsm_create ();
12959 if ac_fn_c_try_link
"$LINENO"; then :
12961 dll
) ac_cv_lib_soname_gsm
=`$ac_cv_path_LDD conftest.exe | grep "gsm" | sed -e "s/dll.*/dll/"';2,$d'` ;;
12962 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'` ;;
12963 *) ac_cv_lib_soname_gsm
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libgsm\\.$LIBEXT" | sed -e "s/^.*\\[\\(libgsm\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
12964 if ${ac_cv_lib_soname_gsm:+false} :; then :
12965 ac_cv_lib_soname_gsm
=`$LDD conftest$ac_exeext | grep "libgsm\\.$LIBEXT" | sed -e "s/^.*\(libgsm\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
12969 rm -f core conftest.err conftest.
$ac_objext \
12970 conftest
$ac_exeext conftest.
$ac_ext
12971 LIBS
=$ac_check_soname_save_LIBS
12973 if ${ac_cv_lib_soname_gsm:+false} :; then :
12974 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
12975 $as_echo "not found" >&6; }
12978 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_gsm" >&5
12979 $as_echo "$ac_cv_lib_soname_gsm" >&6; }
12981 cat >>confdefs.h
<<_ACEOF
12982 #define SONAME_LIBGSM "$ac_cv_lib_soname_gsm"
12988 if test "x$ac_cv_lib_soname_gsm" = "x"; then :
12989 case "x$with_gsm" in
12990 x
) as_fn_append wine_notices
"|libgsm ${notice_platform}development files not found, gsm 06.10 codec won't be supported." ;;
12992 *) as_fn_error $?
"libgsm ${notice_platform}development files not found, gsm 06.10 codec won't be supported.
12993 This is an error since --with-gsm was requested." "$LINENO" 5 ;;
12997 if test "x$with_jpeg" != "xno"
12999 if ${JPEG_CFLAGS:+false} :; then :
13000 if ${PKG_CONFIG+:} false
; then :
13001 JPEG_CFLAGS
=`$PKG_CONFIG --cflags libjpeg 2>/dev/null`
13005 if ${JPEG_LIBS:+false} :; then :
13006 if ${PKG_CONFIG+:} false
; then :
13007 JPEG_LIBS
=`$PKG_CONFIG --libs libjpeg 2>/dev/null`
13012 $as_echo "$as_me:${as_lineno-$LINENO}: libjpeg cflags: $JPEG_CFLAGS" >&5
13013 $as_echo "$as_me:${as_lineno-$LINENO}: libjpeg libs: $JPEG_LIBS" >&5
13014 ac_save_CPPFLAGS
=$CPPFLAGS
13015 CPPFLAGS
="$CPPFLAGS $JPEG_CFLAGS"
13016 for ac_header
in jpeglib.h
13018 ac_fn_c_check_header_mongrel
"$LINENO" "jpeglib.h" "ac_cv_header_jpeglib_h" "$ac_includes_default"
13019 if test "x$ac_cv_header_jpeglib_h" = xyes
; then :
13020 cat >>confdefs.h
<<_ACEOF
13021 #define HAVE_JPEGLIB_H 1
13028 if test "$ac_cv_header_jpeglib_h" = "yes"
13030 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -ljpeg" >&5
13031 $as_echo_n "checking for -ljpeg... " >&6; }
13032 if ${ac_cv_lib_soname_jpeg+:} false
; then :
13033 $as_echo_n "(cached) " >&6
13035 ac_check_soname_save_LIBS
=$LIBS
13036 LIBS
="-ljpeg $JPEG_LIBS $LIBS"
13037 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13038 /* end confdefs.h. */
13040 /* Override any GCC internal prototype to avoid an error.
13041 Use char because int might match the return type of a GCC
13042 builtin and then its argument prototype would still apply. */
13046 char jpeg_start_decompress ();
13050 return jpeg_start_decompress ();
13055 if ac_fn_c_try_link
"$LINENO"; then :
13057 dll
) ac_cv_lib_soname_jpeg
=`$ac_cv_path_LDD conftest.exe | grep "jpeg" | sed -e "s/dll.*/dll/"';2,$d'` ;;
13058 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'` ;;
13059 *) ac_cv_lib_soname_jpeg
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libjpeg\\.$LIBEXT" | sed -e "s/^.*\\[\\(libjpeg\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
13060 if ${ac_cv_lib_soname_jpeg:+false} :; then :
13061 ac_cv_lib_soname_jpeg
=`$LDD conftest$ac_exeext | grep "libjpeg\\.$LIBEXT" | sed -e "s/^.*\(libjpeg\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
13065 rm -f core conftest.err conftest.
$ac_objext \
13066 conftest
$ac_exeext conftest.
$ac_ext
13067 LIBS
=$ac_check_soname_save_LIBS
13069 if ${ac_cv_lib_soname_jpeg:+false} :; then :
13070 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13071 $as_echo "not found" >&6; }
13074 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_jpeg" >&5
13075 $as_echo "$ac_cv_lib_soname_jpeg" >&6; }
13077 cat >>confdefs.h
<<_ACEOF
13078 #define SONAME_LIBJPEG "$ac_cv_lib_soname_jpeg"
13086 CPPFLAGS
=$ac_save_CPPFLAGS
13087 test -z "$JPEG_CFLAGS" || JPEG_CFLAGS
=`echo " $JPEG_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
13088 test -z "$JPEG_LIBS" || JPEG_LIBS
=`echo " $JPEG_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
13091 if test "x$ac_cv_lib_soname_jpeg" = "x"; then :
13092 case "x$with_jpeg" in
13093 x
) as_fn_append wine_warnings
"|libjpeg ${notice_platform}development files not found, JPEG won't be supported." ;;
13095 *) as_fn_error $?
"libjpeg ${notice_platform}development files not found, JPEG won't be supported.
13096 This is an error since --with-jpeg was requested." "$LINENO" 5 ;;
13100 if test "x$with_png" != "xno"
13102 if ${PNG_CFLAGS:+false} :; then :
13103 if ${PKG_CONFIG+:} false
; then :
13104 PNG_CFLAGS
=`$PKG_CONFIG --cflags libpng 2>/dev/null`
13107 test "$cross_compiling" = yes || PNG_CFLAGS
=${PNG_CFLAGS:-$X_CFLAGS}
13108 if ${PNG_LIBS:+false} :; then :
13109 if ${PKG_CONFIG+:} false
; then :
13110 PNG_LIBS
=`$PKG_CONFIG --libs libpng 2>/dev/null`
13113 test "$cross_compiling" = yes || PNG_LIBS
=${PNG_LIBS:-$X_LIBS}
13115 $as_echo "$as_me:${as_lineno-$LINENO}: libpng cflags: $PNG_CFLAGS" >&5
13116 $as_echo "$as_me:${as_lineno-$LINENO}: libpng libs: $PNG_LIBS" >&5
13117 ac_save_CPPFLAGS
=$CPPFLAGS
13118 CPPFLAGS
="$CPPFLAGS $PNG_CFLAGS"
13119 for ac_header
in png.h
13121 ac_fn_c_check_header_mongrel
"$LINENO" "png.h" "ac_cv_header_png_h" "$ac_includes_default"
13122 if test "x$ac_cv_header_png_h" = xyes
; then :
13123 cat >>confdefs.h
<<_ACEOF
13124 #define HAVE_PNG_H 1
13131 if test "$ac_cv_header_png_h" = "yes"
13133 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lpng" >&5
13134 $as_echo_n "checking for -lpng... " >&6; }
13135 if ${ac_cv_lib_soname_png+:} false
; then :
13136 $as_echo_n "(cached) " >&6
13138 ac_check_soname_save_LIBS
=$LIBS
13139 LIBS
="-lpng $PNG_LIBS -lm -lz $LIBS"
13140 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13141 /* end confdefs.h. */
13143 /* Override any GCC internal prototype to avoid an error.
13144 Use char because int might match the return type of a GCC
13145 builtin and then its argument prototype would still apply. */
13149 char png_create_read_struct ();
13153 return png_create_read_struct ();
13158 if ac_fn_c_try_link
"$LINENO"; then :
13160 dll
) ac_cv_lib_soname_png
=`$ac_cv_path_LDD conftest.exe | grep "png" | sed -e "s/dll.*/dll/"';2,$d'` ;;
13161 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'` ;;
13162 *) 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'`
13163 if ${ac_cv_lib_soname_png:+false} :; then :
13164 ac_cv_lib_soname_png
=`$LDD conftest$ac_exeext | grep "libpng[0-9]*\\.$LIBEXT" | sed -e "s/^.*\(libpng[0-9]*\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
13168 rm -f core conftest.err conftest.
$ac_objext \
13169 conftest
$ac_exeext conftest.
$ac_ext
13170 LIBS
=$ac_check_soname_save_LIBS
13172 if ${ac_cv_lib_soname_png:+false} :; then :
13173 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13174 $as_echo "not found" >&6; }
13177 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_png" >&5
13178 $as_echo "$ac_cv_lib_soname_png" >&6; }
13180 cat >>confdefs.h
<<_ACEOF
13181 #define SONAME_LIBPNG "$ac_cv_lib_soname_png"
13184 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13185 /* end confdefs.h. */
13190 typeof(png_set_expand_gray_1_2_4_to_8) *p
13195 if ac_fn_c_try_compile
"$LINENO"; then :
13197 $as_echo "#define HAVE_PNG_SET_EXPAND_GRAY_1_2_4_TO_8 1" >>confdefs.h
13200 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
13205 CPPFLAGS
=$ac_save_CPPFLAGS
13206 test -z "$PNG_CFLAGS" || PNG_CFLAGS
=`echo " $PNG_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
13207 test -z "$PNG_LIBS" || PNG_LIBS
=`echo " $PNG_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
13210 if test "x$ac_cv_lib_soname_png" = "x"; then :
13211 case "x$with_png" in
13212 x
) as_fn_append wine_warnings
"|libpng ${notice_platform}development files not found, PNG won't be supported." ;;
13214 *) as_fn_error $?
"libpng ${notice_platform}development files not found, PNG won't be supported.
13215 This is an error since --with-png was requested." "$LINENO" 5 ;;
13219 if test "x$with_tiff" != "xno"
13221 if ${TIFF_CFLAGS:+false} :; then :
13222 if ${PKG_CONFIG+:} false
; then :
13223 TIFF_CFLAGS
=`$PKG_CONFIG --cflags libtiff 2>/dev/null`
13227 if ${TIFF_LIBS:+false} :; then :
13228 if ${PKG_CONFIG+:} false
; then :
13229 TIFF_LIBS
=`$PKG_CONFIG --libs libtiff 2>/dev/null`
13234 $as_echo "$as_me:${as_lineno-$LINENO}: libtiff cflags: $TIFF_CFLAGS" >&5
13235 $as_echo "$as_me:${as_lineno-$LINENO}: libtiff libs: $TIFF_LIBS" >&5
13236 ac_save_CPPFLAGS
=$CPPFLAGS
13237 CPPFLAGS
="$CPPFLAGS $TIFF_CFLAGS"
13238 for ac_header
in tiffio.h
13240 ac_fn_c_check_header_mongrel
"$LINENO" "tiffio.h" "ac_cv_header_tiffio_h" "$ac_includes_default"
13241 if test "x$ac_cv_header_tiffio_h" = xyes
; then :
13242 cat >>confdefs.h
<<_ACEOF
13243 #define HAVE_TIFFIO_H 1
13250 if test "$ac_cv_header_tiffio_h" = "yes"
13252 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -ltiff" >&5
13253 $as_echo_n "checking for -ltiff... " >&6; }
13254 if ${ac_cv_lib_soname_tiff+:} false
; then :
13255 $as_echo_n "(cached) " >&6
13257 ac_check_soname_save_LIBS
=$LIBS
13258 LIBS
="-ltiff $TIFF_LIBS $LIBS"
13259 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13260 /* end confdefs.h. */
13262 /* Override any GCC internal prototype to avoid an error.
13263 Use char because int might match the return type of a GCC
13264 builtin and then its argument prototype would still apply. */
13268 char TIFFClientOpen ();
13272 return TIFFClientOpen ();
13277 if ac_fn_c_try_link
"$LINENO"; then :
13279 dll
) ac_cv_lib_soname_tiff
=`$ac_cv_path_LDD conftest.exe | grep "tiff" | sed -e "s/dll.*/dll/"';2,$d'` ;;
13280 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'` ;;
13281 *) ac_cv_lib_soname_tiff
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libtiff\\.$LIBEXT" | sed -e "s/^.*\\[\\(libtiff\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
13282 if ${ac_cv_lib_soname_tiff:+false} :; then :
13283 ac_cv_lib_soname_tiff
=`$LDD conftest$ac_exeext | grep "libtiff\\.$LIBEXT" | sed -e "s/^.*\(libtiff\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
13287 rm -f core conftest.err conftest.
$ac_objext \
13288 conftest
$ac_exeext conftest.
$ac_ext
13289 LIBS
=$ac_check_soname_save_LIBS
13291 if ${ac_cv_lib_soname_tiff:+false} :; then :
13292 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13293 $as_echo "not found" >&6; }
13296 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_tiff" >&5
13297 $as_echo "$ac_cv_lib_soname_tiff" >&6; }
13299 cat >>confdefs.h
<<_ACEOF
13300 #define SONAME_LIBTIFF "$ac_cv_lib_soname_tiff"
13306 CPPFLAGS
=$ac_save_CPPFLAGS
13307 test -z "$TIFF_CFLAGS" || TIFF_CFLAGS
=`echo " $TIFF_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
13308 test -z "$TIFF_LIBS" || TIFF_LIBS
=`echo " $TIFF_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
13311 if test "x$ac_cv_lib_soname_tiff" = "x"; then :
13312 case "x$with_tiff" in
13313 x
) as_fn_append wine_notices
"|libtiff ${notice_platform}development files not found, TIFF won't be supported." ;;
13315 *) as_fn_error $?
"libtiff ${notice_platform}development files not found, TIFF won't be supported.
13316 This is an error since --with-tiff was requested." "$LINENO" 5 ;;
13320 if test "x$with_mpg123" != "xno"
13322 if ${MPG123_CFLAGS:+false} :; then :
13323 if ${PKG_CONFIG+:} false
; then :
13324 MPG123_CFLAGS
=`$PKG_CONFIG --cflags libmpg123 2>/dev/null`
13328 if ${MPG123_LIBS:+false} :; then :
13329 if ${PKG_CONFIG+:} false
; then :
13330 MPG123_LIBS
=`$PKG_CONFIG --libs libmpg123 2>/dev/null`
13334 MPG123_LIBS
=${MPG123_LIBS:-"-lmpg123"}
13335 $as_echo "$as_me:${as_lineno-$LINENO}: libmpg123 cflags: $MPG123_CFLAGS" >&5
13336 $as_echo "$as_me:${as_lineno-$LINENO}: libmpg123 libs: $MPG123_LIBS" >&5
13337 ac_save_CPPFLAGS
=$CPPFLAGS
13338 CPPFLAGS
="$CPPFLAGS $MPG123_CFLAGS"
13339 for ac_header
in mpg123.h
13341 ac_fn_c_check_header_mongrel
"$LINENO" "mpg123.h" "ac_cv_header_mpg123_h" "$ac_includes_default"
13342 if test "x$ac_cv_header_mpg123_h" = xyes
; then :
13343 cat >>confdefs.h
<<_ACEOF
13344 #define HAVE_MPG123_H 1
13351 if test "$ac_cv_header_mpg123_h" = "yes"
13353 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for mpg123_feed in -lmpg123" >&5
13354 $as_echo_n "checking for mpg123_feed in -lmpg123... " >&6; }
13355 if ${ac_cv_lib_mpg123_mpg123_feed+:} false
; then :
13356 $as_echo_n "(cached) " >&6
13358 ac_check_lib_save_LIBS
=$LIBS
13359 LIBS
="-lmpg123 $MPG123_LIBS $LIBS"
13360 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13361 /* end confdefs.h. */
13363 /* Override any GCC internal prototype to avoid an error.
13364 Use char because int might match the return type of a GCC
13365 builtin and then its argument prototype would still apply. */
13369 char mpg123_feed ();
13373 return mpg123_feed ();
13378 if ac_fn_c_try_link
"$LINENO"; then :
13379 ac_cv_lib_mpg123_mpg123_feed
=yes
13381 ac_cv_lib_mpg123_mpg123_feed
=no
13383 rm -f core conftest.err conftest.
$ac_objext \
13384 conftest
$ac_exeext conftest.
$ac_ext
13385 LIBS
=$ac_check_lib_save_LIBS
13387 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_mpg123_mpg123_feed" >&5
13388 $as_echo "$ac_cv_lib_mpg123_mpg123_feed" >&6; }
13389 if test "x$ac_cv_lib_mpg123_mpg123_feed" = xyes
; then :
13399 CPPFLAGS
=$ac_save_CPPFLAGS
13400 test -z "$MPG123_CFLAGS" || MPG123_CFLAGS
=`echo " $MPG123_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
13401 test -z "$MPG123_LIBS" || MPG123_LIBS
=`echo " $MPG123_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
13404 if test "x$ac_cv_lib_mpg123_mpg123_feed" != xyes
-a x
"$ac_cv_header_CoreAudio_CoreAudio_h" != xyes
; then :
13405 case "x$with_mpg123" in
13406 x
) as_fn_append wine_notices
"|libmpg123 ${notice_platform}development files not found (or too old), mp3 codec won't be supported." ;;
13408 *) as_fn_error $?
"libmpg123 ${notice_platform}development files not found (or too old), mp3 codec won't be supported.
13409 This is an error since --with-mpg123 was requested." "$LINENO" 5 ;;
13412 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}
13414 if test "$ac_cv_header_AL_al_h" = "yes"
13416 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lopenal" >&5
13417 $as_echo_n "checking for -lopenal... " >&6; }
13418 if ${ac_cv_lib_soname_openal+:} false
; then :
13419 $as_echo_n "(cached) " >&6
13421 ac_check_soname_save_LIBS
=$LIBS
13422 LIBS
="-lopenal $LIBS"
13423 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13424 /* end confdefs.h. */
13426 /* Override any GCC internal prototype to avoid an error.
13427 Use char because int might match the return type of a GCC
13428 builtin and then its argument prototype would still apply. */
13432 char alGetSource3i ();
13436 return alGetSource3i ();
13441 if ac_fn_c_try_link
"$LINENO"; then :
13443 dll
) ac_cv_lib_soname_openal
=`$ac_cv_path_LDD conftest.exe | grep "openal" | sed -e "s/dll.*/dll/"';2,$d'` ;;
13444 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'` ;;
13445 *) ac_cv_lib_soname_openal
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libopenal\\.$LIBEXT" | sed -e "s/^.*\\[\\(libopenal\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
13446 if ${ac_cv_lib_soname_openal:+false} :; then :
13447 ac_cv_lib_soname_openal
=`$LDD conftest$ac_exeext | grep "libopenal\\.$LIBEXT" | sed -e "s/^.*\(libopenal\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
13451 rm -f core conftest.err conftest.
$ac_objext \
13452 conftest
$ac_exeext conftest.
$ac_ext
13453 LIBS
=$ac_check_soname_save_LIBS
13455 if ${ac_cv_lib_soname_openal:+false} :; then :
13456 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13457 $as_echo "not found" >&6; }
13460 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_openal" >&5
13461 $as_echo "$ac_cv_lib_soname_openal" >&6; }
13463 cat >>confdefs.h
<<_ACEOF
13464 #define SONAME_LIBOPENAL "$ac_cv_lib_soname_openal"
13467 OPENAL_LIBS
="-lopenal"
13469 ac_cv_lib_openal
=yes
13471 cat >>confdefs.h
<<_ACEOF
13472 #define HAVE_OPENAL 1
13477 if test "x$ac_cv_lib_openal" != xyes
; then :
13478 case "x$with_openal" in
13479 x
) as_fn_append wine_notices
"|libopenal ${notice_platform}development files not found (or too old), OpenAL won't be supported." ;;
13481 *) as_fn_error $?
"libopenal ${notice_platform}development files not found (or too old), OpenAL won't be supported.
13482 This is an error since --with-openal was requested." "$LINENO" 5 ;;
13485 test "x$ac_cv_lib_openal" = xyes || enable_openal32
=${enable_openal32:-no}
13487 if test "$ac_cv_header_kstat_h" = "yes"
13489 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for kstat_open in -lkstat" >&5
13490 $as_echo_n "checking for kstat_open in -lkstat... " >&6; }
13491 if ${ac_cv_lib_kstat_kstat_open+:} false
; then :
13492 $as_echo_n "(cached) " >&6
13494 ac_check_lib_save_LIBS
=$LIBS
13495 LIBS
="-lkstat $LIBS"
13496 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13497 /* end confdefs.h. */
13499 /* Override any GCC internal prototype to avoid an error.
13500 Use char because int might match the return type of a GCC
13501 builtin and then its argument prototype would still apply. */
13505 char kstat_open ();
13509 return kstat_open ();
13514 if ac_fn_c_try_link
"$LINENO"; then :
13515 ac_cv_lib_kstat_kstat_open
=yes
13517 ac_cv_lib_kstat_kstat_open
=no
13519 rm -f core conftest.err conftest.
$ac_objext \
13520 conftest
$ac_exeext conftest.
$ac_ext
13521 LIBS
=$ac_check_lib_save_LIBS
13523 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_kstat_kstat_open" >&5
13524 $as_echo "$ac_cv_lib_kstat_kstat_open" >&6; }
13525 if test "x$ac_cv_lib_kstat_kstat_open" = xyes
; then :
13527 $as_echo "#define HAVE_LIBKSTAT 1" >>confdefs.h
13529 KSTAT_LIBS
="-lkstat"
13535 if test "$ac_cv_header_libprocstat_h" = "yes"
13537 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for procstat_open_sysctl in -lprocstat" >&5
13538 $as_echo_n "checking for procstat_open_sysctl in -lprocstat... " >&6; }
13539 if ${ac_cv_lib_procstat_procstat_open_sysctl+:} false
; then :
13540 $as_echo_n "(cached) " >&6
13542 ac_check_lib_save_LIBS
=$LIBS
13543 LIBS
="-lprocstat $LIBS"
13544 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13545 /* end confdefs.h. */
13547 /* Override any GCC internal prototype to avoid an error.
13548 Use char because int might match the return type of a GCC
13549 builtin and then its argument prototype would still apply. */
13553 char procstat_open_sysctl ();
13557 return procstat_open_sysctl ();
13562 if ac_fn_c_try_link
"$LINENO"; then :
13563 ac_cv_lib_procstat_procstat_open_sysctl
=yes
13565 ac_cv_lib_procstat_procstat_open_sysctl
=no
13567 rm -f core conftest.err conftest.
$ac_objext \
13568 conftest
$ac_exeext conftest.
$ac_ext
13569 LIBS
=$ac_check_lib_save_LIBS
13571 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_procstat_procstat_open_sysctl" >&5
13572 $as_echo "$ac_cv_lib_procstat_procstat_open_sysctl" >&6; }
13573 if test "x$ac_cv_lib_procstat_procstat_open_sysctl" = xyes
; then :
13575 $as_echo "#define HAVE_LIBPROCSTAT 1" >>confdefs.h
13577 PROCSTAT_LIBS
="-lprocstat"
13583 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lodbc" >&5
13584 $as_echo_n "checking for -lodbc... " >&6; }
13585 if ${ac_cv_lib_soname_odbc+:} false
; then :
13586 $as_echo_n "(cached) " >&6
13588 ac_check_soname_save_LIBS
=$LIBS
13589 LIBS
="-lodbc $LIBS"
13590 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13591 /* end confdefs.h. */
13593 /* Override any GCC internal prototype to avoid an error.
13594 Use char because int might match the return type of a GCC
13595 builtin and then its argument prototype would still apply. */
13599 char SQLConnect ();
13603 return SQLConnect ();
13608 if ac_fn_c_try_link
"$LINENO"; then :
13610 dll
) ac_cv_lib_soname_odbc
=`$ac_cv_path_LDD conftest.exe | grep "odbc" | sed -e "s/dll.*/dll/"';2,$d'` ;;
13611 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'` ;;
13612 *) ac_cv_lib_soname_odbc
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libodbc\\.$LIBEXT" | sed -e "s/^.*\\[\\(libodbc\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
13613 if ${ac_cv_lib_soname_odbc:+false} :; then :
13614 ac_cv_lib_soname_odbc
=`$LDD conftest$ac_exeext | grep "libodbc\\.$LIBEXT" | sed -e "s/^.*\(libodbc\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
13618 rm -f core conftest.err conftest.
$ac_objext \
13619 conftest
$ac_exeext conftest.
$ac_ext
13620 LIBS
=$ac_check_soname_save_LIBS
13622 if ${ac_cv_lib_soname_odbc:+false} :; then :
13623 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13624 $as_echo "not found" >&6; }
13625 cat >>confdefs.h
<<_ACEOF
13626 #define SONAME_LIBODBC "libodbc.$LIBEXT"
13630 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_odbc" >&5
13631 $as_echo "$ac_cv_lib_soname_odbc" >&6; }
13633 cat >>confdefs.h
<<_ACEOF
13634 #define SONAME_LIBODBC "$ac_cv_lib_soname_odbc"
13640 if test "x$with_netapi" != "xno"
13642 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lnetapi" >&5
13643 $as_echo_n "checking for -lnetapi... " >&6; }
13644 if ${ac_cv_lib_soname_netapi+:} false
; then :
13645 $as_echo_n "(cached) " >&6
13647 ac_check_soname_save_LIBS
=$LIBS
13648 LIBS
="-lnetapi $LIBS"
13649 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13650 /* end confdefs.h. */
13652 /* Override any GCC internal prototype to avoid an error.
13653 Use char because int might match the return type of a GCC
13654 builtin and then its argument prototype would still apply. */
13658 char libnetapi_init ();
13662 return libnetapi_init ();
13667 if ac_fn_c_try_link
"$LINENO"; then :
13669 dll
) ac_cv_lib_soname_netapi
=`$ac_cv_path_LDD conftest.exe | grep "netapi" | sed -e "s/dll.*/dll/"';2,$d'` ;;
13670 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'` ;;
13671 *) ac_cv_lib_soname_netapi
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libnetapi\\.$LIBEXT" | sed -e "s/^.*\\[\\(libnetapi\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
13672 if ${ac_cv_lib_soname_netapi:+false} :; then :
13673 ac_cv_lib_soname_netapi
=`$LDD conftest$ac_exeext | grep "libnetapi\\.$LIBEXT" | sed -e "s/^.*\(libnetapi\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
13677 rm -f core conftest.err conftest.
$ac_objext \
13678 conftest
$ac_exeext conftest.
$ac_ext
13679 LIBS
=$ac_check_soname_save_LIBS
13681 if ${ac_cv_lib_soname_netapi:+false} :; then :
13682 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13683 $as_echo "not found" >&6; }
13684 cat >>confdefs.h
<<_ACEOF
13685 #define SONAME_LIBNETAPI "libnetapi.$LIBEXT"
13689 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_netapi" >&5
13690 $as_echo "$ac_cv_lib_soname_netapi" >&6; }
13692 cat >>confdefs.h
<<_ACEOF
13693 #define SONAME_LIBNETAPI "$ac_cv_lib_soname_netapi"
13700 test -n "$ALSA_LIBS" || enable_winealsa_drv
=${enable_winealsa_drv:-no}
13701 test -n "$COREAUDIO_LIBS" || enable_winecoreaudio_drv
=${enable_winecoreaudio_drv:-no}
13702 test "x$ac_cv_member_oss_sysinfo_numaudioengines" = xyes || enable_wineoss_drv
=${enable_wineoss_drv:-no}
13703 test "$ac_cv_header_linux_joystick_h" = "yes" -o "$ac_cv_header_IOKit_hid_IOHIDLib_h" = "yes" || enable_winejoystick_drv
=${enable_winejoystick_drv:-no}
13705 if test "x$ALSA_LIBS$COREAUDIO_LIBS" = "x" -a \
13706 "x$ac_cv_member_oss_sysinfo_numaudioengines" != xyes
-a \
13707 "x$with_alsa$with_coreaudio$with_oss" != xnonono
13709 as_fn_append wine_warnings
"|No sound system was found. Windows applications will be silent."
13715 if test "x${GCC}" = "xyes"
13717 EXTRACFLAGS
="-Wall -pipe"
13719 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gcc strength-reduce bug" >&5
13720 $as_echo_n "checking for gcc strength-reduce bug... " >&6; }
13721 if ${ac_cv_c_gcc_strength_bug+:} false
; then :
13722 $as_echo_n "(cached) " >&6
13724 if test "$cross_compiling" = yes; then :
13725 ac_cv_c_gcc_strength_bug
="yes"
13727 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13728 /* end confdefs.h. */
13729 int L[4] = {0,1,2,3};
13733 static int Array[3];
13734 unsigned int B = 3;
13736 for(i=0; i<B; i++) Array[i] = i - 3;
13737 for(i=0; i<4 - 1; i++) L[i] = L[i + 1];
13739 return (Array[1] != -2 || L[2] != 3)
13744 if ac_fn_c_try_run
"$LINENO"; then :
13745 ac_cv_c_gcc_strength_bug
="no"
13747 ac_cv_c_gcc_strength_bug
="yes"
13749 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext \
13750 conftest.
$ac_objext conftest.beam conftest.
$ac_ext
13754 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_gcc_strength_bug" >&5
13755 $as_echo "$ac_cv_c_gcc_strength_bug" >&6; }
13756 if test "$ac_cv_c_gcc_strength_bug" = "yes"
13758 EXTRACFLAGS
="$EXTRACFLAGS -fno-strength-reduce"
13761 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fno-builtin" >&5
13762 $as_echo_n "checking whether the compiler supports -fno-builtin... " >&6; }
13763 if ${ac_cv_cflags__fno_builtin+:} false
; then :
13764 $as_echo_n "(cached) " >&6
13766 ac_wine_try_cflags_saved
=$CFLAGS
13767 CFLAGS
="$CFLAGS -fno-builtin"
13768 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13769 /* end confdefs.h. */
13770 int main(int argc, char **argv) { return 0; }
13772 if ac_fn_c_try_link
"$LINENO"; then :
13773 ac_cv_cflags__fno_builtin
=yes
13775 ac_cv_cflags__fno_builtin
=no
13777 rm -f core conftest.err conftest.
$ac_objext \
13778 conftest
$ac_exeext conftest.
$ac_ext
13779 CFLAGS
=$ac_wine_try_cflags_saved
13781 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fno_builtin" >&5
13782 $as_echo "$ac_cv_cflags__fno_builtin" >&6; }
13783 if test "x$ac_cv_cflags__fno_builtin" = xyes
; then :
13784 BUILTINFLAG
="-fno-builtin"
13787 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fno-strict-aliasing" >&5
13788 $as_echo_n "checking whether the compiler supports -fno-strict-aliasing... " >&6; }
13789 if ${ac_cv_cflags__fno_strict_aliasing+:} false
; then :
13790 $as_echo_n "(cached) " >&6
13792 ac_wine_try_cflags_saved
=$CFLAGS
13793 CFLAGS
="$CFLAGS -fno-strict-aliasing"
13794 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13795 /* end confdefs.h. */
13796 int main(int argc, char **argv) { return 0; }
13798 if ac_fn_c_try_link
"$LINENO"; then :
13799 ac_cv_cflags__fno_strict_aliasing
=yes
13801 ac_cv_cflags__fno_strict_aliasing
=no
13803 rm -f core conftest.err conftest.
$ac_objext \
13804 conftest
$ac_exeext conftest.
$ac_ext
13805 CFLAGS
=$ac_wine_try_cflags_saved
13807 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fno_strict_aliasing" >&5
13808 $as_echo "$ac_cv_cflags__fno_strict_aliasing" >&6; }
13809 if test "x$ac_cv_cflags__fno_strict_aliasing" = xyes
; then :
13810 EXTRACFLAGS
="$EXTRACFLAGS -fno-strict-aliasing"
13812 saved_CFLAGS
=$CFLAGS
13813 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Werror=unknown-warning-option" >&5
13814 $as_echo_n "checking whether the compiler supports -Werror=unknown-warning-option... " >&6; }
13815 if ${ac_cv_cflags__Werror_unknown_warning_option+:} false
; then :
13816 $as_echo_n "(cached) " >&6
13818 ac_wine_try_cflags_saved
=$CFLAGS
13819 CFLAGS
="$CFLAGS -Werror=unknown-warning-option"
13820 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13821 /* end confdefs.h. */
13822 int main(int argc, char **argv) { return 0; }
13824 if ac_fn_c_try_link
"$LINENO"; then :
13825 ac_cv_cflags__Werror_unknown_warning_option
=yes
13827 ac_cv_cflags__Werror_unknown_warning_option
=no
13829 rm -f core conftest.err conftest.
$ac_objext \
13830 conftest
$ac_exeext conftest.
$ac_ext
13831 CFLAGS
=$ac_wine_try_cflags_saved
13833 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Werror_unknown_warning_option" >&5
13834 $as_echo "$ac_cv_cflags__Werror_unknown_warning_option" >&6; }
13835 if test "x$ac_cv_cflags__Werror_unknown_warning_option" = xyes
; then :
13836 CFLAGS
="$CFLAGS -Werror=unknown-warning-option"
13838 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wdeclaration-after-statement" >&5
13839 $as_echo_n "checking whether the compiler supports -Wdeclaration-after-statement... " >&6; }
13840 if ${ac_cv_cflags__Wdeclaration_after_statement+:} false
; then :
13841 $as_echo_n "(cached) " >&6
13843 ac_wine_try_cflags_saved
=$CFLAGS
13844 CFLAGS
="$CFLAGS -Wdeclaration-after-statement"
13845 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13846 /* end confdefs.h. */
13847 int main(int argc, char **argv) { return 0; }
13849 if ac_fn_c_try_link
"$LINENO"; then :
13850 ac_cv_cflags__Wdeclaration_after_statement
=yes
13852 ac_cv_cflags__Wdeclaration_after_statement
=no
13854 rm -f core conftest.err conftest.
$ac_objext \
13855 conftest
$ac_exeext conftest.
$ac_ext
13856 CFLAGS
=$ac_wine_try_cflags_saved
13858 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wdeclaration_after_statement" >&5
13859 $as_echo "$ac_cv_cflags__Wdeclaration_after_statement" >&6; }
13860 if test "x$ac_cv_cflags__Wdeclaration_after_statement" = xyes
; then :
13861 EXTRACFLAGS
="$EXTRACFLAGS -Wdeclaration-after-statement"
13863 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wempty-body" >&5
13864 $as_echo_n "checking whether the compiler supports -Wempty-body... " >&6; }
13865 if ${ac_cv_cflags__Wempty_body+:} false
; then :
13866 $as_echo_n "(cached) " >&6
13868 ac_wine_try_cflags_saved
=$CFLAGS
13869 CFLAGS
="$CFLAGS -Wempty-body"
13870 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13871 /* end confdefs.h. */
13872 int main(int argc, char **argv) { return 0; }
13874 if ac_fn_c_try_link
"$LINENO"; then :
13875 ac_cv_cflags__Wempty_body
=yes
13877 ac_cv_cflags__Wempty_body
=no
13879 rm -f core conftest.err conftest.
$ac_objext \
13880 conftest
$ac_exeext conftest.
$ac_ext
13881 CFLAGS
=$ac_wine_try_cflags_saved
13883 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wempty_body" >&5
13884 $as_echo "$ac_cv_cflags__Wempty_body" >&6; }
13885 if test "x$ac_cv_cflags__Wempty_body" = xyes
; then :
13886 EXTRACFLAGS
="$EXTRACFLAGS -Wempty-body"
13888 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wignored-qualifiers" >&5
13889 $as_echo_n "checking whether the compiler supports -Wignored-qualifiers... " >&6; }
13890 if ${ac_cv_cflags__Wignored_qualifiers+:} false
; then :
13891 $as_echo_n "(cached) " >&6
13893 ac_wine_try_cflags_saved
=$CFLAGS
13894 CFLAGS
="$CFLAGS -Wignored-qualifiers"
13895 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13896 /* end confdefs.h. */
13897 int main(int argc, char **argv) { return 0; }
13899 if ac_fn_c_try_link
"$LINENO"; then :
13900 ac_cv_cflags__Wignored_qualifiers
=yes
13902 ac_cv_cflags__Wignored_qualifiers
=no
13904 rm -f core conftest.err conftest.
$ac_objext \
13905 conftest
$ac_exeext conftest.
$ac_ext
13906 CFLAGS
=$ac_wine_try_cflags_saved
13908 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wignored_qualifiers" >&5
13909 $as_echo "$ac_cv_cflags__Wignored_qualifiers" >&6; }
13910 if test "x$ac_cv_cflags__Wignored_qualifiers" = xyes
; then :
13911 EXTRACFLAGS
="$EXTRACFLAGS -Wignored-qualifiers"
13913 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wstrict-prototypes" >&5
13914 $as_echo_n "checking whether the compiler supports -Wstrict-prototypes... " >&6; }
13915 if ${ac_cv_cflags__Wstrict_prototypes+:} false
; then :
13916 $as_echo_n "(cached) " >&6
13918 ac_wine_try_cflags_saved
=$CFLAGS
13919 CFLAGS
="$CFLAGS -Wstrict-prototypes"
13920 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13921 /* end confdefs.h. */
13922 int main(int argc, char **argv) { return 0; }
13924 if ac_fn_c_try_link
"$LINENO"; then :
13925 ac_cv_cflags__Wstrict_prototypes
=yes
13927 ac_cv_cflags__Wstrict_prototypes
=no
13929 rm -f core conftest.err conftest.
$ac_objext \
13930 conftest
$ac_exeext conftest.
$ac_ext
13931 CFLAGS
=$ac_wine_try_cflags_saved
13933 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wstrict_prototypes" >&5
13934 $as_echo "$ac_cv_cflags__Wstrict_prototypes" >&6; }
13935 if test "x$ac_cv_cflags__Wstrict_prototypes" = xyes
; then :
13936 EXTRACFLAGS
="$EXTRACFLAGS -Wstrict-prototypes"
13938 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wtype-limits" >&5
13939 $as_echo_n "checking whether the compiler supports -Wtype-limits... " >&6; }
13940 if ${ac_cv_cflags__Wtype_limits+:} false
; then :
13941 $as_echo_n "(cached) " >&6
13943 ac_wine_try_cflags_saved
=$CFLAGS
13944 CFLAGS
="$CFLAGS -Wtype-limits"
13945 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13946 /* end confdefs.h. */
13947 int main(int argc, char **argv) { return 0; }
13949 if ac_fn_c_try_link
"$LINENO"; then :
13950 ac_cv_cflags__Wtype_limits
=yes
13952 ac_cv_cflags__Wtype_limits
=no
13954 rm -f core conftest.err conftest.
$ac_objext \
13955 conftest
$ac_exeext conftest.
$ac_ext
13956 CFLAGS
=$ac_wine_try_cflags_saved
13958 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wtype_limits" >&5
13959 $as_echo "$ac_cv_cflags__Wtype_limits" >&6; }
13960 if test "x$ac_cv_cflags__Wtype_limits" = xyes
; then :
13961 EXTRACFLAGS
="$EXTRACFLAGS -Wtype-limits"
13963 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wunused-but-set-parameter" >&5
13964 $as_echo_n "checking whether the compiler supports -Wunused-but-set-parameter... " >&6; }
13965 if ${ac_cv_cflags__Wunused_but_set_parameter+:} false
; then :
13966 $as_echo_n "(cached) " >&6
13968 ac_wine_try_cflags_saved
=$CFLAGS
13969 CFLAGS
="$CFLAGS -Wunused-but-set-parameter"
13970 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13971 /* end confdefs.h. */
13972 int main(int argc, char **argv) { return 0; }
13974 if ac_fn_c_try_link
"$LINENO"; then :
13975 ac_cv_cflags__Wunused_but_set_parameter
=yes
13977 ac_cv_cflags__Wunused_but_set_parameter
=no
13979 rm -f core conftest.err conftest.
$ac_objext \
13980 conftest
$ac_exeext conftest.
$ac_ext
13981 CFLAGS
=$ac_wine_try_cflags_saved
13983 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wunused_but_set_parameter" >&5
13984 $as_echo "$ac_cv_cflags__Wunused_but_set_parameter" >&6; }
13985 if test "x$ac_cv_cflags__Wunused_but_set_parameter" = xyes
; then :
13986 EXTRACFLAGS
="$EXTRACFLAGS -Wunused-but-set-parameter"
13988 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wvla" >&5
13989 $as_echo_n "checking whether the compiler supports -Wvla... " >&6; }
13990 if ${ac_cv_cflags__Wvla+:} false
; then :
13991 $as_echo_n "(cached) " >&6
13993 ac_wine_try_cflags_saved
=$CFLAGS
13994 CFLAGS
="$CFLAGS -Wvla"
13995 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13996 /* end confdefs.h. */
13997 int main(int argc, char **argv) { return 0; }
13999 if ac_fn_c_try_link
"$LINENO"; then :
14000 ac_cv_cflags__Wvla
=yes
14002 ac_cv_cflags__Wvla
=no
14004 rm -f core conftest.err conftest.
$ac_objext \
14005 conftest
$ac_exeext conftest.
$ac_ext
14006 CFLAGS
=$ac_wine_try_cflags_saved
14008 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wvla" >&5
14009 $as_echo "$ac_cv_cflags__Wvla" >&6; }
14010 if test "x$ac_cv_cflags__Wvla" = xyes
; then :
14011 EXTRACFLAGS
="$EXTRACFLAGS -Wvla"
14013 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wwrite-strings" >&5
14014 $as_echo_n "checking whether the compiler supports -Wwrite-strings... " >&6; }
14015 if ${ac_cv_cflags__Wwrite_strings+:} false
; then :
14016 $as_echo_n "(cached) " >&6
14018 ac_wine_try_cflags_saved
=$CFLAGS
14019 CFLAGS
="$CFLAGS -Wwrite-strings"
14020 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14021 /* end confdefs.h. */
14022 int main(int argc, char **argv) { return 0; }
14024 if ac_fn_c_try_link
"$LINENO"; then :
14025 ac_cv_cflags__Wwrite_strings
=yes
14027 ac_cv_cflags__Wwrite_strings
=no
14029 rm -f core conftest.err conftest.
$ac_objext \
14030 conftest
$ac_exeext conftest.
$ac_ext
14031 CFLAGS
=$ac_wine_try_cflags_saved
14033 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wwrite_strings" >&5
14034 $as_echo "$ac_cv_cflags__Wwrite_strings" >&6; }
14035 if test "x$ac_cv_cflags__Wwrite_strings" = xyes
; then :
14036 EXTRACFLAGS
="$EXTRACFLAGS -Wwrite-strings"
14039 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wpointer-arith" >&5
14040 $as_echo_n "checking whether the compiler supports -Wpointer-arith... " >&6; }
14041 if ${ac_cv_cflags__Wpointer_arith+:} false
; then :
14042 $as_echo_n "(cached) " >&6
14044 ac_wine_try_cflags_saved
=$CFLAGS
14045 CFLAGS
="$CFLAGS -Wpointer-arith"
14046 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14047 /* end confdefs.h. */
14048 int main(int argc, char **argv) { return 0; }
14050 if ac_fn_c_try_link
"$LINENO"; then :
14051 ac_cv_cflags__Wpointer_arith
=yes
14053 ac_cv_cflags__Wpointer_arith
=no
14055 rm -f core conftest.err conftest.
$ac_objext \
14056 conftest
$ac_exeext conftest.
$ac_ext
14057 CFLAGS
=$ac_wine_try_cflags_saved
14059 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wpointer_arith" >&5
14060 $as_echo "$ac_cv_cflags__Wpointer_arith" >&6; }
14061 if test "x$ac_cv_cflags__Wpointer_arith" = xyes
; then :
14062 saved_string_h_CFLAGS
=$CFLAGS
14063 CFLAGS
="$CFLAGS -Wpointer-arith -Werror"
14064 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for broken string.h that generates warnings with -Wpointer-arith" >&5
14065 $as_echo_n "checking for broken string.h that generates warnings with -Wpointer-arith... " >&6; }
14066 if ${ac_cv_c_string_h_warnings+:} false
; then :
14067 $as_echo_n "(cached) " >&6
14069 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14070 /* end confdefs.h. */
14071 #include <string.h>
14080 if ac_fn_c_try_compile
"$LINENO"; then :
14081 ac_cv_c_string_h_warnings
=no
14083 ac_cv_c_string_h_warnings
=yes
14085 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
14087 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_string_h_warnings" >&5
14088 $as_echo "$ac_cv_c_string_h_warnings" >&6; }
14089 test "$ac_cv_c_string_h_warnings" = yes || EXTRACFLAGS
="$EXTRACFLAGS -Wpointer-arith"
14090 CFLAGS
=$saved_string_h_CFLAGS
14093 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wlogical-op" >&5
14094 $as_echo_n "checking whether the compiler supports -Wlogical-op... " >&6; }
14095 if ${ac_cv_cflags__Wlogical_op+:} false
; then :
14096 $as_echo_n "(cached) " >&6
14098 ac_wine_try_cflags_saved
=$CFLAGS
14099 CFLAGS
="$CFLAGS -Wlogical-op"
14100 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14101 /* end confdefs.h. */
14102 int main(int argc, char **argv) { return 0; }
14104 if ac_fn_c_try_link
"$LINENO"; then :
14105 ac_cv_cflags__Wlogical_op
=yes
14107 ac_cv_cflags__Wlogical_op
=no
14109 rm -f core conftest.err conftest.
$ac_objext \
14110 conftest
$ac_exeext conftest.
$ac_ext
14111 CFLAGS
=$ac_wine_try_cflags_saved
14113 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wlogical_op" >&5
14114 $as_echo "$ac_cv_cflags__Wlogical_op" >&6; }
14115 if test "x$ac_cv_cflags__Wlogical_op" = xyes
; then :
14116 saved_string_h_CFLAGS
=$CFLAGS
14117 CFLAGS
="$CFLAGS -Wlogical-op -Werror"
14118 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for broken string.h that generates warnings with -Wlogical-op" >&5
14119 $as_echo_n "checking for broken string.h that generates warnings with -Wlogical-op... " >&6; }
14120 if ${ac_cv_c_logicalop_noisy+:} false
; then :
14121 $as_echo_n "(cached) " >&6
14123 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14124 /* end confdefs.h. */
14125 #include <string.h>
14126 char*f(const char *h,char n) {return strchr(h,n);}
14135 if ac_fn_c_try_compile
"$LINENO"; then :
14136 ac_cv_c_logicalop_noisy
=no
14138 ac_cv_c_logicalop_noisy
=yes
14140 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
14142 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_logicalop_noisy" >&5
14143 $as_echo "$ac_cv_c_logicalop_noisy" >&6; }
14144 CFLAGS
=$saved_string_h_CFLAGS
14145 test "$ac_cv_c_logicalop_noisy" = yes || EXTRACFLAGS
="$EXTRACFLAGS -Wlogical-op"
14148 CFLAGS
=$saved_CFLAGS
14150 for ac_flag
in $CFLAGS; do
14152 -g) case $host_os in
14153 darwin
*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -gstabs+" >&5
14154 $as_echo_n "checking whether the compiler supports -gstabs+... " >&6; }
14155 if ${ac_cv_cflags__gstabsp+:} false
; then :
14156 $as_echo_n "(cached) " >&6
14158 ac_wine_try_cflags_saved
=$CFLAGS
14159 CFLAGS
="$CFLAGS -gstabs+"
14160 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14161 /* end confdefs.h. */
14162 int main(int argc, char **argv) { return 0; }
14164 if ac_fn_c_try_link
"$LINENO"; then :
14165 ac_cv_cflags__gstabsp
=yes
14167 ac_cv_cflags__gstabsp
=no
14169 rm -f core conftest.err conftest.
$ac_objext \
14170 conftest
$ac_exeext conftest.
$ac_ext
14171 CFLAGS
=$ac_wine_try_cflags_saved
14173 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__gstabsp" >&5
14174 $as_echo "$ac_cv_cflags__gstabsp" >&6; }
14175 if test "x$ac_cv_cflags__gstabsp" = xyes
; then :
14176 EXTRACFLAGS
="$EXTRACFLAGS -gstabs+"
14178 *) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -gdwarf-2" >&5
14179 $as_echo_n "checking whether the compiler supports -gdwarf-2... " >&6; }
14180 if ${ac_cv_cflags__gdwarf_2+:} false
; then :
14181 $as_echo_n "(cached) " >&6
14183 ac_wine_try_cflags_saved
=$CFLAGS
14184 CFLAGS
="$CFLAGS -gdwarf-2"
14185 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14186 /* end confdefs.h. */
14187 int main(int argc, char **argv) { return 0; }
14189 if ac_fn_c_try_link
"$LINENO"; then :
14190 ac_cv_cflags__gdwarf_2
=yes
14192 ac_cv_cflags__gdwarf_2
=no
14194 rm -f core conftest.err conftest.
$ac_objext \
14195 conftest
$ac_exeext conftest.
$ac_ext
14196 CFLAGS
=$ac_wine_try_cflags_saved
14198 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__gdwarf_2" >&5
14199 $as_echo "$ac_cv_cflags__gdwarf_2" >&6; }
14200 if test "x$ac_cv_cflags__gdwarf_2" = xyes
; then :
14201 EXTRACFLAGS
="$EXTRACFLAGS -gdwarf-2"
14203 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -gstrict-dwarf" >&5
14204 $as_echo_n "checking whether the compiler supports -gstrict-dwarf... " >&6; }
14205 if ${ac_cv_cflags__gstrict_dwarf+:} false
; then :
14206 $as_echo_n "(cached) " >&6
14208 ac_wine_try_cflags_saved
=$CFLAGS
14209 CFLAGS
="$CFLAGS -gstrict-dwarf"
14210 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14211 /* end confdefs.h. */
14212 int main(int argc, char **argv) { return 0; }
14214 if ac_fn_c_try_link
"$LINENO"; then :
14215 ac_cv_cflags__gstrict_dwarf
=yes
14217 ac_cv_cflags__gstrict_dwarf
=no
14219 rm -f core conftest.err conftest.
$ac_objext \
14220 conftest
$ac_exeext conftest.
$ac_ext
14221 CFLAGS
=$ac_wine_try_cflags_saved
14223 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__gstrict_dwarf" >&5
14224 $as_echo "$ac_cv_cflags__gstrict_dwarf" >&6; }
14225 if test "x$ac_cv_cflags__gstrict_dwarf" = xyes
; then :
14226 EXTRACFLAGS
="$EXTRACFLAGS -gstrict-dwarf"
14233 *i
[3456789]86*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fno-omit-frame-pointer" >&5
14234 $as_echo_n "checking whether the compiler supports -fno-omit-frame-pointer... " >&6; }
14235 if ${ac_cv_cflags__fno_omit_frame_pointer+:} false
; then :
14236 $as_echo_n "(cached) " >&6
14238 ac_wine_try_cflags_saved
=$CFLAGS
14239 CFLAGS
="$CFLAGS -fno-omit-frame-pointer"
14240 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14241 /* end confdefs.h. */
14242 int main(int argc, char **argv) { return 0; }
14244 if ac_fn_c_try_link
"$LINENO"; then :
14245 ac_cv_cflags__fno_omit_frame_pointer
=yes
14247 ac_cv_cflags__fno_omit_frame_pointer
=no
14249 rm -f core conftest.err conftest.
$ac_objext \
14250 conftest
$ac_exeext conftest.
$ac_ext
14251 CFLAGS
=$ac_wine_try_cflags_saved
14253 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fno_omit_frame_pointer" >&5
14254 $as_echo "$ac_cv_cflags__fno_omit_frame_pointer" >&6; }
14255 if test "x$ac_cv_cflags__fno_omit_frame_pointer" = xyes
; then :
14256 EXTRACFLAGS
="$EXTRACFLAGS -fno-omit-frame-pointer"
14261 x86_64-
*mingw32
*|x86_64-
*cygwin
*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wno-format" >&5
14262 $as_echo_n "checking whether the compiler supports -Wno-format... " >&6; }
14263 if ${ac_cv_cflags__Wno_format+:} false
; then :
14264 $as_echo_n "(cached) " >&6
14266 ac_wine_try_cflags_saved
=$CFLAGS
14267 CFLAGS
="$CFLAGS -Wno-format"
14268 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14269 /* end confdefs.h. */
14270 int main(int argc, char **argv) { return 0; }
14272 if ac_fn_c_try_link
"$LINENO"; then :
14273 ac_cv_cflags__Wno_format
=yes
14275 ac_cv_cflags__Wno_format
=no
14277 rm -f core conftest.err conftest.
$ac_objext \
14278 conftest
$ac_exeext conftest.
$ac_ext
14279 CFLAGS
=$ac_wine_try_cflags_saved
14281 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wno_format" >&5
14282 $as_echo "$ac_cv_cflags__Wno_format" >&6; }
14283 if test "x$ac_cv_cflags__Wno_format" = xyes
; then :
14284 EXTRACFLAGS
="$EXTRACFLAGS -Wno-format"
14288 if test "x$enable_maintainer_mode" = "xyes"
14290 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Werror" >&5
14291 $as_echo_n "checking whether the compiler supports -Werror... " >&6; }
14292 if ${ac_cv_cflags__Werror+:} false
; then :
14293 $as_echo_n "(cached) " >&6
14295 ac_wine_try_cflags_saved
=$CFLAGS
14296 CFLAGS
="$CFLAGS -Werror"
14297 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14298 /* end confdefs.h. */
14299 int main(int argc, char **argv) { return 0; }
14301 if ac_fn_c_try_link
"$LINENO"; then :
14302 ac_cv_cflags__Werror
=yes
14304 ac_cv_cflags__Werror
=no
14306 rm -f core conftest.err conftest.
$ac_objext \
14307 conftest
$ac_exeext conftest.
$ac_ext
14308 CFLAGS
=$ac_wine_try_cflags_saved
14310 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Werror" >&5
14311 $as_echo "$ac_cv_cflags__Werror" >&6; }
14312 if test "x$ac_cv_cflags__Werror" = xyes
; then :
14313 EXTRACFLAGS
="$EXTRACFLAGS -Werror"
14317 saved_CFLAGS
="$CFLAGS"
14318 CFLAGS
="$CFLAGS -Werror"
14319 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ms_hook_prologue attribute" >&5
14320 $as_echo_n "checking for ms_hook_prologue attribute... " >&6; }
14321 if ${ac_cv_have_ms_hook_prologue+:} false
; then :
14322 $as_echo_n "(cached) " >&6
14324 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14325 /* end confdefs.h. */
14326 int __attribute__((__ms_hook_prologue__)) test(void) { return 0; }
14335 if ac_fn_c_try_compile
"$LINENO"; then :
14336 ac_cv_have_ms_hook_prologue
="yes"
14338 ac_cv_have_ms_hook_prologue
="no"
14340 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
14342 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_ms_hook_prologue" >&5
14343 $as_echo "$ac_cv_have_ms_hook_prologue" >&6; }
14344 CFLAGS
="$saved_CFLAGS"
14345 if test "$ac_cv_have_ms_hook_prologue" = "yes"
14348 $as_echo "#define DECLSPEC_HOTPATCH __attribute__((__ms_hook_prologue__))" >>confdefs.h
14351 $as_echo "#define DECLSPEC_HOTPATCH /* */" >>confdefs.h
14357 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for the need to disable Fortify" >&5
14358 $as_echo_n "checking for the need to disable Fortify... " >&6; }
14359 if ${ac_cv_c_fortify_enabled+:} false
; then :
14360 $as_echo_n "(cached) " >&6
14362 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14363 /* end confdefs.h. */
14364 #include <string.h>
14368 #if defined(__USE_FORTIFY_LEVEL) && __USE_FORTIFY_LEVEL > 0
14369 #error Fortify enabled
14375 if ac_fn_c_try_compile
"$LINENO"; then :
14376 ac_cv_c_fortify_enabled
=no
14378 ac_cv_c_fortify_enabled
=yes
14380 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
14382 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_fortify_enabled" >&5
14383 $as_echo "$ac_cv_c_fortify_enabled" >&6; }
14384 if test "$ac_cv_c_fortify_enabled" = yes
14386 CFLAGS
="$CFLAGS -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=0"
14390 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether external symbols need an underscore prefix" >&5
14391 $as_echo_n "checking whether external symbols need an underscore prefix... " >&6; }
14392 if ${ac_cv_c_extern_prefix+:} false
; then :
14393 $as_echo_n "(cached) " >&6
14395 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14396 /* end confdefs.h. */
14397 extern int ac_test;
14401 asm(".globl _ac_test\n_ac_test:\t.long 0"); if (ac_test) return 1
14406 if ac_fn_c_try_link
"$LINENO"; then :
14407 ac_cv_c_extern_prefix
="yes"
14409 ac_cv_c_extern_prefix
="no"
14411 rm -f core conftest.err conftest.
$ac_objext \
14412 conftest
$ac_exeext conftest.
$ac_ext
14414 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_extern_prefix" >&5
14415 $as_echo "$ac_cv_c_extern_prefix" >&6; }
14419 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether external symbols need stdcall decoration" >&5
14420 $as_echo_n "checking whether external symbols need stdcall decoration... " >&6; }
14421 if ${ac_cv_c_stdcall_suffix+:} false
; then :
14422 $as_echo_n "(cached) " >&6
14424 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14425 /* end confdefs.h. */
14427 #define __stdcall __attribute__((__stdcall__))
14429 int __stdcall ac_test(int i) { return i; }
14433 asm("jmp _ac_test@4"); if (ac_test(1)) return 1
14438 if ac_fn_c_try_link
"$LINENO"; then :
14439 ac_cv_c_stdcall_suffix
="yes"
14441 ac_cv_c_stdcall_suffix
="no"
14443 rm -f core conftest.err conftest.
$ac_objext \
14444 conftest
$ac_exeext conftest.
$ac_ext
14446 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_stdcall_suffix" >&5
14447 $as_echo "$ac_cv_c_stdcall_suffix" >&6; } ;;
14448 *) ac_cv_c_stdcall_suffix
="no" ;;
14452 if test "$ac_cv_c_extern_prefix" = "yes"
14454 $as_echo "#define __ASM_NAME(name) \"_\" name" >>confdefs.h
14456 asm_name_prefix
="_"
14458 $as_echo "#define __ASM_NAME(name) name" >>confdefs.h
14464 if test "$ac_cv_c_stdcall_suffix" = "yes"
14466 $as_echo "#define __ASM_STDCALL(args) \"@\" #args" >>confdefs.h
14469 $as_echo "#define __ASM_STDCALL(args) \"\"" >>confdefs.h
14474 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to define a function in assembly code" >&5
14475 $as_echo_n "checking how to define a function in assembly code... " >&6; }
14476 if ${ac_cv_asm_func_def+:} false
; then :
14477 $as_echo_n "(cached) " >&6
14479 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14480 /* end confdefs.h. */
14485 asm("\t.globl _ac_test\n\t.def _ac_test; .scl 2; .type 32; .endef\n_ac_test:\t.long 0");
14490 if ac_fn_c_try_link
"$LINENO"; then :
14491 ac_cv_asm_func_def
=".def"
14493 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14494 /* end confdefs.h. */
14499 asm("\t.globl _ac_test\n\t.type _ac_test,@function\n_ac_test:\t.long 0");
14504 if ac_fn_c_try_link
"$LINENO"; then :
14505 ac_cv_asm_func_def
=".type @function"
14507 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14508 /* end confdefs.h. */
14513 asm("\t.globl _ac_test\n\t.type _ac_test,2\n_ac_test:\t.long 0");
14518 if ac_fn_c_try_link
"$LINENO"; then :
14519 ac_cv_asm_func_def
=".type 2"
14521 ac_cv_asm_func_def
="unknown"
14523 rm -f core conftest.err conftest.
$ac_objext \
14524 conftest
$ac_exeext conftest.
$ac_ext
14526 rm -f core conftest.err conftest.
$ac_objext \
14527 conftest
$ac_exeext conftest.
$ac_ext
14529 rm -f core conftest.err conftest.
$ac_objext \
14530 conftest
$ac_exeext conftest.
$ac_ext
14532 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_asm_func_def" >&5
14533 $as_echo "$ac_cv_asm_func_def" >&6; }
14536 case "$ac_cv_asm_func_def" in
14538 $as_echo "#define __ASM_FUNC(name) \".def \" __ASM_NAME(name) \"; .scl 2; .type 32; .endef\"" >>confdefs.h
14540 asm_func_header
=".def $asm_name_prefix\" #name suffix \"; .scl 2; .type 32; .endef" ;;
14542 $as_echo "#define __ASM_FUNC(name) \".type \" __ASM_NAME(name) \",@function\"" >>confdefs.h
14544 asm_func_header
=".type $asm_name_prefix\" #name suffix \",@function" ;;
14546 $as_echo "#define __ASM_FUNC(name) \".type \" __ASM_NAME(name) \",2\"" >>confdefs.h
14548 asm_func_header
=".type $asm_name_prefix\" #name suffix \",2" ;;
14550 $as_echo "#define __ASM_FUNC(name) \"\"" >>confdefs.h
14552 asm_func_header
="" ;;
14555 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether asm() works outside of functions" >&5
14556 $as_echo_n "checking whether asm() works outside of functions... " >&6; }
14557 if ${ac_cv_c_asm_outside_funcs+:} false
; then :
14558 $as_echo_n "(cached) " >&6
14560 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14561 /* end confdefs.h. */
14562 asm(".text\n\t.long 0");
14571 if ac_fn_c_try_compile
"$LINENO"; then :
14572 ac_cv_c_asm_outside_funcs
="yes"
14574 ac_cv_c_asm_outside_funcs
="no"
14576 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
14578 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_asm_outside_funcs" >&5
14579 $as_echo "$ac_cv_c_asm_outside_funcs" >&6; }
14581 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether .previous is supported in assembly code" >&5
14582 $as_echo_n "checking whether .previous is supported in assembly code... " >&6; }
14583 if ${ac_cv_c_dot_previous+:} false
; then :
14584 $as_echo_n "(cached) " >&6
14586 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14587 /* end confdefs.h. */
14592 asm(".text\nac_test:\t.long 0\n\t.previous");
14597 if ac_fn_c_try_link
"$LINENO"; then :
14598 ac_cv_c_dot_previous
="yes"
14600 ac_cv_c_dot_previous
="no"
14602 rm -f core conftest.err conftest.
$ac_objext \
14603 conftest
$ac_exeext conftest.
$ac_ext
14605 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_dot_previous" >&5
14606 $as_echo "$ac_cv_c_dot_previous" >&6; }
14608 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether CFI directives are supported in assembly code" >&5
14609 $as_echo_n "checking whether CFI directives are supported in assembly code... " >&6; }
14610 if ${ac_cv_c_cfi_support+:} false
; then :
14611 $as_echo_n "(cached) " >&6
14613 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14614 /* end confdefs.h. */
14615 asm(".text\nac_test:\t.cfi_startproc\n\t.long 0\n\t.cfi_endproc");
14624 if ac_fn_c_try_compile
"$LINENO"; then :
14625 ac_cv_c_cfi_support
="yes"
14627 ac_cv_c_cfi_support
="no"
14629 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
14631 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_cfi_support" >&5
14632 $as_echo "$ac_cv_c_cfi_support" >&6; }
14634 asm_func_header
=".globl $asm_name_prefix\" #name suffix \"\\n\\t$asm_func_header\\n$asm_name_prefix\" #name suffix \":\\n\\t"
14635 asm_func_trailer
=""
14636 if test "$ac_cv_c_dot_previous" = "yes"
14638 asm_func_trailer
="\\n\\t.previous"
14640 if test "$ac_cv_c_cfi_support" = "yes"
14642 asm_func_header
="$asm_func_header.cfi_startproc\\n\\t"
14643 asm_func_trailer
="\\n\\t.cfi_endproc$asm_func_trailer"
14645 $as_echo "#define __ASM_CFI(str) str" >>confdefs.h
14647 UNWINDFLAGS
=-fasynchronous-unwind-tables
14650 $as_echo "#define __ASM_CFI(str) \"\"" >>confdefs.h
14654 asm_func_code
="$asm_func_header\" code \"$asm_func_trailer"
14657 if test "$ac_cv_c_asm_outside_funcs" = "yes"
14659 cat >>confdefs.h
<<_ACEOF
14660 #define __ASM_DEFINE_FUNC(name,suffix,code) asm(".text\n\t.align 4\n\t$asm_func_code");
14664 cat >>confdefs.h
<<_ACEOF
14665 #define __ASM_DEFINE_FUNC(name,suffix,code) void __asm_dummy_##name(void) { asm(".text\n\t.align 4\n\t$asm_func_code"); }
14670 $as_echo "#define __ASM_GLOBAL_FUNC(name,code) __ASM_DEFINE_FUNC(name,\"\",code)" >>confdefs.h
14673 $as_echo "#define __ASM_STDCALL_FUNC(name,args,code) __ASM_DEFINE_FUNC(name,__ASM_STDCALL(args),code)" >>confdefs.h
14678 cygwin
*|mingw32
*) TOOLSEXT
=".exe"
14685 *i
[3456789]86*|x86_64
*)
14686 test "$wine_binary" = wine || wine_fn_ignore_file
"loader/wine-preloader"
14687 loader_programs
="$loader_programs $wine_binary-preloader"
14688 as_fn_append LOADER_RULES
"
14689 $wine_binary-preloader: preloader.o
14690 \$(CC) -o \$@ -static -nostartfiles -nodefaultlibs -Wl,-Ttext=0x7c400000 preloader.o \$(LIBPORT) \$(LDFLAGS)
14692 install install-lib:: $wine_binary-preloader
14693 \$(INSTALL_PROGRAM) $wine_binary-preloader \$(DESTDIR)\$(bindir)/$wine_binary-preloader
14696 \$(RM) \$(DESTDIR)\$(bindir)/$wine_binary-preloader
14698 preloader_EXTRADEFS = $BUILTINFLAG
14703 as_fn_append LOADER_RULES
"
14704 PROGRAMS = $loader_programs
14708 ac_save_CFLAGS
="$CFLAGS"
14709 CFLAGS
="$CFLAGS $BUILTINFLAG"
14788 as_ac_var
=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
14789 ac_fn_c_check_func
"$LINENO" "$ac_func" "$as_ac_var"
14790 if eval test \"x\$
"$as_ac_var"\" = x
"yes"; then :
14791 cat >>confdefs.h
<<_ACEOF
14792 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
14798 CFLAGS
="$ac_save_CFLAGS"
14800 if test "$ac_cv_func_dlopen" = no
14802 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
14803 $as_echo_n "checking for dlopen in -ldl... " >&6; }
14804 if ${ac_cv_lib_dl_dlopen+:} false
; then :
14805 $as_echo_n "(cached) " >&6
14807 ac_check_lib_save_LIBS
=$LIBS
14809 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14810 /* end confdefs.h. */
14812 /* Override any GCC internal prototype to avoid an error.
14813 Use char because int might match the return type of a GCC
14814 builtin and then its argument prototype would still apply. */
14827 if ac_fn_c_try_link
"$LINENO"; then :
14828 ac_cv_lib_dl_dlopen
=yes
14830 ac_cv_lib_dl_dlopen
=no
14832 rm -f core conftest.err conftest.
$ac_objext \
14833 conftest
$ac_exeext conftest.
$ac_ext
14834 LIBS
=$ac_check_lib_save_LIBS
14836 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
14837 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
14838 if test "x$ac_cv_lib_dl_dlopen" = xyes
; then :
14839 $as_echo "#define HAVE_DLOPEN 1" >>confdefs.h
14845 ac_wine_check_funcs_save_LIBS
="$LIBS"
14846 LIBS
="$LIBS $DL_LIBS"
14847 for ac_func
in dladdr
14849 ac_fn_c_check_func
"$LINENO" "dladdr" "ac_cv_func_dladdr"
14850 if test "x$ac_cv_func_dladdr" = xyes
; then :
14851 cat >>confdefs.h
<<_ACEOF
14852 #define HAVE_DLADDR 1
14858 LIBS
="$ac_wine_check_funcs_save_LIBS"
14860 if test "$ac_cv_func_poll" = no
14862 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for poll in -lpoll" >&5
14863 $as_echo_n "checking for poll in -lpoll... " >&6; }
14864 if ${ac_cv_lib_poll_poll+:} false
; then :
14865 $as_echo_n "(cached) " >&6
14867 ac_check_lib_save_LIBS
=$LIBS
14868 LIBS
="-lpoll $LIBS"
14869 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14870 /* end confdefs.h. */
14872 /* Override any GCC internal prototype to avoid an error.
14873 Use char because int might match the return type of a GCC
14874 builtin and then its argument prototype would still apply. */
14887 if ac_fn_c_try_link
"$LINENO"; then :
14888 ac_cv_lib_poll_poll
=yes
14890 ac_cv_lib_poll_poll
=no
14892 rm -f core conftest.err conftest.
$ac_objext \
14893 conftest
$ac_exeext conftest.
$ac_ext
14894 LIBS
=$ac_check_lib_save_LIBS
14896 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_poll_poll" >&5
14897 $as_echo "$ac_cv_lib_poll_poll" >&6; }
14898 if test "x$ac_cv_lib_poll_poll" = xyes
; then :
14899 $as_echo "#define HAVE_POLL 1" >>confdefs.h
14906 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing gethostbyname" >&5
14907 $as_echo_n "checking for library containing gethostbyname... " >&6; }
14908 if ${ac_cv_search_gethostbyname+:} false
; then :
14909 $as_echo_n "(cached) " >&6
14911 ac_func_search_save_LIBS
=$LIBS
14912 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14913 /* end confdefs.h. */
14915 /* Override any GCC internal prototype to avoid an error.
14916 Use char because int might match the return type of a GCC
14917 builtin and then its argument prototype would still apply. */
14921 char gethostbyname ();
14925 return gethostbyname ();
14930 for ac_lib
in '' nsl
; do
14931 if test -z "$ac_lib"; then
14932 ac_res
="none required"
14935 LIBS
="-l$ac_lib $ac_func_search_save_LIBS"
14937 if ac_fn_c_try_link
"$LINENO"; then :
14938 ac_cv_search_gethostbyname
=$ac_res
14940 rm -f core conftest.err conftest.
$ac_objext \
14942 if ${ac_cv_search_gethostbyname+:} false
; then :
14946 if ${ac_cv_search_gethostbyname+:} false
; then :
14949 ac_cv_search_gethostbyname
=no
14951 rm conftest.
$ac_ext
14952 LIBS
=$ac_func_search_save_LIBS
14954 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_gethostbyname" >&5
14955 $as_echo "$ac_cv_search_gethostbyname" >&6; }
14956 ac_res
=$ac_cv_search_gethostbyname
14957 if test "$ac_res" != no
; then :
14958 test "$ac_res" = "none required" || LIBS
="$ac_res $LIBS"
14963 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing connect" >&5
14964 $as_echo_n "checking for library containing connect... " >&6; }
14965 if ${ac_cv_search_connect+:} false
; then :
14966 $as_echo_n "(cached) " >&6
14968 ac_func_search_save_LIBS
=$LIBS
14969 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14970 /* end confdefs.h. */
14972 /* Override any GCC internal prototype to avoid an error.
14973 Use char because int might match the return type of a GCC
14974 builtin and then its argument prototype would still apply. */
14987 for ac_lib
in '' socket
; do
14988 if test -z "$ac_lib"; then
14989 ac_res
="none required"
14992 LIBS
="-l$ac_lib $ac_func_search_save_LIBS"
14994 if ac_fn_c_try_link
"$LINENO"; then :
14995 ac_cv_search_connect
=$ac_res
14997 rm -f core conftest.err conftest.
$ac_objext \
14999 if ${ac_cv_search_connect+:} false
; then :
15003 if ${ac_cv_search_connect+:} false
; then :
15006 ac_cv_search_connect
=no
15008 rm conftest.
$ac_ext
15009 LIBS
=$ac_func_search_save_LIBS
15011 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_connect" >&5
15012 $as_echo "$ac_cv_search_connect" >&6; }
15013 ac_res
=$ac_cv_search_connect
15014 if test "$ac_res" != no
; then :
15015 test "$ac_res" = "none required" || LIBS
="$ac_res $LIBS"
15020 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing inet_aton" >&5
15021 $as_echo_n "checking for library containing inet_aton... " >&6; }
15022 if ${ac_cv_search_inet_aton+:} false
; then :
15023 $as_echo_n "(cached) " >&6
15025 ac_func_search_save_LIBS
=$LIBS
15026 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15027 /* end confdefs.h. */
15029 /* Override any GCC internal prototype to avoid an error.
15030 Use char because int might match the return type of a GCC
15031 builtin and then its argument prototype would still apply. */
15039 return inet_aton ();
15044 for ac_lib
in '' resolv
; do
15045 if test -z "$ac_lib"; then
15046 ac_res
="none required"
15049 LIBS
="-l$ac_lib $ac_func_search_save_LIBS"
15051 if ac_fn_c_try_link
"$LINENO"; then :
15052 ac_cv_search_inet_aton
=$ac_res
15054 rm -f core conftest.err conftest.
$ac_objext \
15056 if ${ac_cv_search_inet_aton+:} false
; then :
15060 if ${ac_cv_search_inet_aton+:} false
; then :
15063 ac_cv_search_inet_aton
=no
15065 rm conftest.
$ac_ext
15066 LIBS
=$ac_func_search_save_LIBS
15068 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_inet_aton" >&5
15069 $as_echo "$ac_cv_search_inet_aton" >&6; }
15070 ac_res
=$ac_cv_search_inet_aton
15071 if test "$ac_res" != no
; then :
15072 test "$ac_res" = "none required" || LIBS
="$ac_res $LIBS"
15092 as_ac_var
=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
15093 ac_fn_c_check_func
"$LINENO" "$ac_func" "$as_ac_var"
15094 if eval test \"x\$
"$as_ac_var"\" = x
"yes"; then :
15095 cat >>confdefs.h
<<_ACEOF
15096 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
15104 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing clock_gettime" >&5
15105 $as_echo_n "checking for library containing clock_gettime... " >&6; }
15106 if ${ac_cv_search_clock_gettime+:} false
; then :
15107 $as_echo_n "(cached) " >&6
15109 ac_func_search_save_LIBS
=$LIBS
15110 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15111 /* end confdefs.h. */
15113 /* Override any GCC internal prototype to avoid an error.
15114 Use char because int might match the return type of a GCC
15115 builtin and then its argument prototype would still apply. */
15119 char clock_gettime ();
15123 return clock_gettime ();
15128 for ac_lib
in '' rt
; do
15129 if test -z "$ac_lib"; then
15130 ac_res
="none required"
15133 LIBS
="-l$ac_lib $ac_func_search_save_LIBS"
15135 if ac_fn_c_try_link
"$LINENO"; then :
15136 ac_cv_search_clock_gettime
=$ac_res
15138 rm -f core conftest.err conftest.
$ac_objext \
15140 if ${ac_cv_search_clock_gettime+:} false
; then :
15144 if ${ac_cv_search_clock_gettime+:} false
; then :
15147 ac_cv_search_clock_gettime
=no
15149 rm conftest.
$ac_ext
15150 LIBS
=$ac_func_search_save_LIBS
15152 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_clock_gettime" >&5
15153 $as_echo "$ac_cv_search_clock_gettime" >&6; }
15154 ac_res
=$ac_cv_search_clock_gettime
15155 if test "$ac_res" != no
; then :
15156 test "$ac_res" = "none required" || LIBS
="$ac_res $LIBS"
15158 $as_echo "#define HAVE_CLOCK_GETTIME 1" >>confdefs.h
15160 test "$ac_res" = "none required" || RT_LIBS
="$ac_res"
15168 if test "$ac_cv_header_ldap_h" = "yes" -a "$ac_cv_header_lber_h" = "yes"
15170 ac_fn_c_check_type
"$LINENO" "LDAPSortKey" "ac_cv_type_LDAPSortKey" "#include <ldap.h>
15172 if test "x$ac_cv_type_LDAPSortKey" = xyes
; then :
15173 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldap_initialize in -lldap_r" >&5
15174 $as_echo_n "checking for ldap_initialize in -lldap_r... " >&6; }
15175 if ${ac_cv_lib_ldap_r_ldap_initialize+:} false
; then :
15176 $as_echo_n "(cached) " >&6
15178 ac_check_lib_save_LIBS
=$LIBS
15179 LIBS
="-lldap_r $PTHREAD_LIBS $LIBS"
15180 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15181 /* end confdefs.h. */
15183 /* Override any GCC internal prototype to avoid an error.
15184 Use char because int might match the return type of a GCC
15185 builtin and then its argument prototype would still apply. */
15189 char ldap_initialize ();
15193 return ldap_initialize ();
15198 if ac_fn_c_try_link
"$LINENO"; then :
15199 ac_cv_lib_ldap_r_ldap_initialize
=yes
15201 ac_cv_lib_ldap_r_ldap_initialize
=no
15203 rm -f core conftest.err conftest.
$ac_objext \
15204 conftest
$ac_exeext conftest.
$ac_ext
15205 LIBS
=$ac_check_lib_save_LIBS
15207 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ldap_r_ldap_initialize" >&5
15208 $as_echo "$ac_cv_lib_ldap_r_ldap_initialize" >&6; }
15209 if test "x$ac_cv_lib_ldap_r_ldap_initialize" = xyes
; then :
15210 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ber_init in -llber" >&5
15211 $as_echo_n "checking for ber_init in -llber... " >&6; }
15212 if ${ac_cv_lib_lber_ber_init+:} false
; then :
15213 $as_echo_n "(cached) " >&6
15215 ac_check_lib_save_LIBS
=$LIBS
15216 LIBS
="-llber $PTHREAD_LIBS $LIBS"
15217 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15218 /* end confdefs.h. */
15220 /* Override any GCC internal prototype to avoid an error.
15221 Use char because int might match the return type of a GCC
15222 builtin and then its argument prototype would still apply. */
15230 return ber_init ();
15235 if ac_fn_c_try_link
"$LINENO"; then :
15236 ac_cv_lib_lber_ber_init
=yes
15238 ac_cv_lib_lber_ber_init
=no
15240 rm -f core conftest.err conftest.
$ac_objext \
15241 conftest
$ac_exeext conftest.
$ac_ext
15242 LIBS
=$ac_check_lib_save_LIBS
15244 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_lber_ber_init" >&5
15245 $as_echo "$ac_cv_lib_lber_ber_init" >&6; }
15246 if test "x$ac_cv_lib_lber_ber_init" = xyes
; then :
15248 $as_echo "#define HAVE_LDAP 1" >>confdefs.h
15250 LDAP_LIBS
="-lldap_r -llber"
15257 ac_wine_check_funcs_save_LIBS
="$LIBS"
15258 LIBS
="$LIBS $LDAP_LIBS $PTHREAD_LIBS"
15260 ldap_count_references \
15261 ldap_first_reference \
15262 ldap_next_reference \
15263 ldap_parse_reference \
15264 ldap_parse_sort_control \
15265 ldap_parse_sortresponse_control \
15266 ldap_parse_vlv_control \
15267 ldap_parse_vlvresponse_control
15269 as_ac_var
=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
15270 ac_fn_c_check_func
"$LINENO" "$ac_func" "$as_ac_var"
15271 if eval test \"x\$
"$as_ac_var"\" = x
"yes"; then :
15272 cat >>confdefs.h
<<_ACEOF
15273 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
15279 LIBS
="$ac_wine_check_funcs_save_LIBS"
15281 if test "x$LDAP_LIBS" = "x"; then :
15282 case "x$with_ldap" in
15283 x
) as_fn_append wine_notices
"|libldap (OpenLDAP) ${notice_platform}development files not found, LDAP won't be supported." ;;
15285 *) as_fn_error $?
"libldap (OpenLDAP) ${notice_platform}development files not found, LDAP won't be supported.
15286 This is an error since --with-ldap was requested." "$LINENO" 5 ;;
15290 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether mkdir takes only one argument" >&5
15291 $as_echo_n "checking whether mkdir takes only one argument... " >&6; }
15292 if ${wine_cv_one_arg_mkdir+:} false
; then :
15293 $as_echo_n "(cached) " >&6
15295 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15296 /* end confdefs.h. */
15297 #include <sys/stat.h>
15306 if ac_fn_c_try_compile
"$LINENO"; then :
15307 wine_cv_one_arg_mkdir
=yes
15309 wine_cv_one_arg_mkdir
=no
15311 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
15313 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_one_arg_mkdir" >&5
15314 $as_echo "$wine_cv_one_arg_mkdir" >&6; }
15315 if test "$wine_cv_one_arg_mkdir" = "yes"
15318 $as_echo "#define HAVE_ONE_ARG_MKDIR 1" >>confdefs.h
15322 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sched_setaffinity" >&5
15323 $as_echo_n "checking for sched_setaffinity... " >&6; }
15324 if ${wine_cv_have_sched_setaffinity+:} false
; then :
15325 $as_echo_n "(cached) " >&6
15327 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15328 /* end confdefs.h. */
15329 #define _GNU_SOURCE
15334 sched_setaffinity(0, 0, 0);
15339 if ac_fn_c_try_link
"$LINENO"; then :
15340 wine_cv_have_sched_setaffinity
=yes
15342 wine_cv_have_sched_setaffinity
=no
15344 rm -f core conftest.err conftest.
$ac_objext \
15345 conftest
$ac_exeext conftest.
$ac_ext
15347 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_have_sched_setaffinity" >&5
15348 $as_echo "$wine_cv_have_sched_setaffinity" >&6; }
15349 if test "$wine_cv_have_sched_setaffinity" = "yes"
15352 $as_echo "#define HAVE_SCHED_SETAFFINITY 1" >>confdefs.h
15356 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fallocate" >&5
15357 $as_echo_n "checking for fallocate... " >&6; }
15358 if ${wine_cv_have_fallocate+:} false
; then :
15359 $as_echo_n "(cached) " >&6
15361 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15362 /* end confdefs.h. */
15363 #define _GNU_SOURCE
15368 fallocate(-1, 0, 0, 0);
15373 if ac_fn_c_try_link
"$LINENO"; then :
15374 wine_cv_have_fallocate
=yes
15376 wine_cv_have_fallocate
=no
15378 rm -f core conftest.err conftest.
$ac_objext \
15379 conftest
$ac_exeext conftest.
$ac_ext
15381 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_have_fallocate" >&5
15382 $as_echo "$wine_cv_have_fallocate" >&6; }
15383 if test "$wine_cv_have_fallocate" = "yes"
15386 $as_echo "#define HAVE_FALLOCATE 1" >>confdefs.h
15391 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for inline" >&5
15392 $as_echo_n "checking for inline... " >&6; }
15393 if ${ac_cv_c_inline+:} false
; then :
15394 $as_echo_n "(cached) " >&6
15397 for ac_kw
in inline __inline__ __inline
; do
15398 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15399 /* end confdefs.h. */
15400 #ifndef __cplusplus
15402 static $ac_kw foo_t static_foo () {return 0; }
15403 $ac_kw foo_t foo () {return 0; }
15407 if ac_fn_c_try_compile
"$LINENO"; then :
15408 ac_cv_c_inline
=$ac_kw
15410 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
15411 test "$ac_cv_c_inline" != no
&& break
15415 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_inline" >&5
15416 $as_echo "$ac_cv_c_inline" >&6; }
15418 case $ac_cv_c_inline in
15421 case $ac_cv_c_inline in
15423 *) ac_val
=$ac_cv_c_inline;;
15425 cat >>confdefs.h
<<_ACEOF
15426 #ifndef __cplusplus
15427 #define inline $ac_val
15433 ac_fn_c_check_type
"$LINENO" "mode_t" "ac_cv_type_mode_t" "$ac_includes_default"
15434 if test "x$ac_cv_type_mode_t" = xyes
; then :
15436 cat >>confdefs.h
<<_ACEOF
15437 #define HAVE_MODE_T 1
15442 ac_fn_c_check_type
"$LINENO" "off_t" "ac_cv_type_off_t" "$ac_includes_default"
15443 if test "x$ac_cv_type_off_t" = xyes
; then :
15445 cat >>confdefs.h
<<_ACEOF
15446 #define HAVE_OFF_T 1
15451 ac_fn_c_check_type
"$LINENO" "pid_t" "ac_cv_type_pid_t" "$ac_includes_default"
15452 if test "x$ac_cv_type_pid_t" = xyes
; then :
15454 cat >>confdefs.h
<<_ACEOF
15455 #define HAVE_PID_T 1
15460 ac_fn_c_check_type
"$LINENO" "size_t" "ac_cv_type_size_t" "$ac_includes_default"
15461 if test "x$ac_cv_type_size_t" = xyes
; then :
15463 cat >>confdefs.h
<<_ACEOF
15464 #define HAVE_SIZE_T 1
15469 ac_fn_c_check_type
"$LINENO" "ssize_t" "ac_cv_type_ssize_t" "$ac_includes_default"
15470 if test "x$ac_cv_type_ssize_t" = xyes
; then :
15472 cat >>confdefs.h
<<_ACEOF
15473 #define HAVE_SSIZE_T 1
15478 ac_fn_c_check_type
"$LINENO" "long long" "ac_cv_type_long_long" "$ac_includes_default"
15479 if test "x$ac_cv_type_long_long" = xyes
; then :
15481 cat >>confdefs.h
<<_ACEOF
15482 #define HAVE_LONG_LONG 1
15487 ac_fn_c_check_type
"$LINENO" "fsblkcnt_t" "ac_cv_type_fsblkcnt_t" "$ac_includes_default"
15488 if test "x$ac_cv_type_fsblkcnt_t" = xyes
; then :
15490 cat >>confdefs.h
<<_ACEOF
15491 #define HAVE_FSBLKCNT_T 1
15496 ac_fn_c_check_type
"$LINENO" "fsfilcnt_t" "ac_cv_type_fsfilcnt_t" "$ac_includes_default"
15497 if test "x$ac_cv_type_fsfilcnt_t" = xyes
; then :
15499 cat >>confdefs.h
<<_ACEOF
15500 #define HAVE_FSFILCNT_T 1
15506 ac_fn_c_check_type
"$LINENO" "sigset_t" "ac_cv_type_sigset_t" "#include <sys/types.h>
15507 #include <signal.h>
15509 if test "x$ac_cv_type_sigset_t" = xyes
; then :
15511 cat >>confdefs.h
<<_ACEOF
15512 #define HAVE_SIGSET_T 1
15518 ac_fn_c_check_type
"$LINENO" "request_sense" "ac_cv_type_request_sense" "#include <linux/cdrom.h>
15520 if test "x$ac_cv_type_request_sense" = xyes
; then :
15522 cat >>confdefs.h
<<_ACEOF
15523 #define HAVE_REQUEST_SENSE 1
15530 ac_fn_c_check_type
"$LINENO" "struct xinpgen" "ac_cv_type_struct_xinpgen" "#include <sys/types.h>
15531 #ifdef HAVE_SYS_SOCKET_H
15532 #include <sys/socket.h>
15534 #ifdef HAVE_SYS_SOCKETVAR_H
15535 #include <sys/socketvar.h>
15537 #ifdef HAVE_NET_ROUTE_H
15538 #include <net/route.h>
15540 #ifdef HAVE_NETINET_IN_H
15541 #include <netinet/in.h>
15543 #ifdef HAVE_NETINET_IN_SYSTM_H
15544 #include <netinet/in_systm.h>
15546 #ifdef HAVE_NETINET_IP_H
15547 #include <netinet/ip.h>
15549 #ifdef HAVE_NETINET_IN_PCB_H
15550 #include <netinet/in_pcb.h>
15553 if test "x$ac_cv_type_struct_xinpgen" = xyes
; then :
15555 cat >>confdefs.h
<<_ACEOF
15556 #define HAVE_STRUCT_XINPGEN 1
15563 ac_fn_c_check_type
"$LINENO" "struct r_debug" "ac_cv_type_struct_r_debug" "#ifdef HAVE_LINK_H
15566 #ifdef HAVE_SYS_LINK_H
15567 #include <sys/link.h>
15570 if test "x$ac_cv_type_struct_r_debug" = xyes
; then :
15572 cat >>confdefs.h
<<_ACEOF
15573 #define HAVE_STRUCT_R_DEBUG 1
15578 ac_fn_c_check_type
"$LINENO" "struct link_map" "ac_cv_type_struct_link_map" "#ifdef HAVE_LINK_H
15581 #ifdef HAVE_SYS_LINK_H
15582 #include <sys/link.h>
15585 if test "x$ac_cv_type_struct_link_map" = xyes
; then :
15587 cat >>confdefs.h
<<_ACEOF
15588 #define HAVE_STRUCT_LINK_MAP 1
15595 ac_fn_c_check_member
"$LINENO" "struct ff_effect" "direction" "ac_cv_member_struct_ff_effect_direction" "#ifdef HAVE_LINUX_INPUT_H
15596 #include <linux/input.h>
15599 if test "x$ac_cv_member_struct_ff_effect_direction" = xyes
; then :
15601 cat >>confdefs.h
<<_ACEOF
15602 #define HAVE_STRUCT_FF_EFFECT_DIRECTION 1
15609 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sigaddset" >&5
15610 $as_echo_n "checking for sigaddset... " >&6; }
15611 if ${wine_cv_have_sigaddset+:} false
; then :
15612 $as_echo_n "(cached) " >&6
15614 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15615 /* end confdefs.h. */
15616 #include <signal.h>
15620 sigset_t set; sigaddset(&set,SIGTERM);
15625 if ac_fn_c_try_link
"$LINENO"; then :
15626 wine_cv_have_sigaddset
=yes
15628 wine_cv_have_sigaddset
=no
15630 rm -f core conftest.err conftest.
$ac_objext \
15631 conftest
$ac_exeext conftest.
$ac_ext
15633 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_have_sigaddset" >&5
15634 $as_echo "$wine_cv_have_sigaddset" >&6; }
15635 if test "$wine_cv_have_sigaddset" = "yes"
15638 $as_echo "#define HAVE_SIGADDSET 1" >>confdefs.h
15643 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we can use re-entrant gethostbyname_r Linux style" >&5
15644 $as_echo_n "checking whether we can use re-entrant gethostbyname_r Linux style... " >&6; }
15645 if ${wine_cv_linux_gethostbyname_r_6+:} false
; then :
15646 $as_echo_n "(cached) " >&6
15648 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15649 /* end confdefs.h. */
15657 struct hostent *result;
15664 gethostbyname_r(name,&he,buf,bufsize,&result,&errnr);
15665 gethostbyaddr_r(addr, addrlen, addrtype,&he,buf,bufsize,&result,&errnr);
15671 if ac_fn_c_try_link
"$LINENO"; then :
15672 wine_cv_linux_gethostbyname_r_6
=yes
15674 wine_cv_linux_gethostbyname_r_6
=no
15677 rm -f core conftest.err conftest.
$ac_objext \
15678 conftest
$ac_exeext conftest.
$ac_ext
15681 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_linux_gethostbyname_r_6" >&5
15682 $as_echo "$wine_cv_linux_gethostbyname_r_6" >&6; }
15683 if test "$wine_cv_linux_gethostbyname_r_6" = "yes"
15686 $as_echo "#define HAVE_LINUX_GETHOSTBYNAME_R_6 1" >>confdefs.h
15690 if test "$ac_cv_header_linux_joystick_h" = "yes"
15692 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether linux/joystick.h uses the Linux 2.2+ API" >&5
15693 $as_echo_n "checking whether linux/joystick.h uses the Linux 2.2+ API... " >&6; }
15694 if ${wine_cv_linux_joystick_22_api+:} false
; then :
15695 $as_echo_n "(cached) " >&6
15697 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15698 /* end confdefs.h. */
15700 #include <sys/ioctl.h>
15701 #include <sys/types.h>
15702 #include <linux/joystick.h>
15704 struct js_event blub;
15705 #if !defined(JS_EVENT_AXIS) || !defined(JS_EVENT_BUTTON)
15706 #error "no 2.2 header"
15717 if ac_fn_c_try_compile
"$LINENO"; then :
15718 wine_cv_linux_joystick_22_api
=yes
15720 wine_cv_linux_joystick_22_api
=no
15722 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
15725 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_linux_joystick_22_api" >&5
15726 $as_echo "$wine_cv_linux_joystick_22_api" >&6; }
15727 if test "$wine_cv_linux_joystick_22_api" = "yes"
15730 $as_echo "#define HAVE_LINUX_22_JOYSTICK_API 1" >>confdefs.h
15736 ac_fn_c_check_member
"$LINENO" "struct statfs" "f_bfree" "ac_cv_member_struct_statfs_f_bfree" "#include <sys/types.h>
15737 #ifdef HAVE_SYS_PARAM_H
15738 # include <sys/param.h>
15740 #ifdef HAVE_SYS_MOUNT_H
15741 # include <sys/mount.h>
15743 #ifdef HAVE_SYS_VFS_H
15744 # include <sys/vfs.h>
15746 #ifdef HAVE_SYS_STATFS_H
15747 # include <sys/statfs.h>
15750 if test "x$ac_cv_member_struct_statfs_f_bfree" = xyes
; then :
15752 cat >>confdefs.h
<<_ACEOF
15753 #define HAVE_STRUCT_STATFS_F_BFREE 1
15758 ac_fn_c_check_member
"$LINENO" "struct statfs" "f_bavail" "ac_cv_member_struct_statfs_f_bavail" "#include <sys/types.h>
15759 #ifdef HAVE_SYS_PARAM_H
15760 # include <sys/param.h>
15762 #ifdef HAVE_SYS_MOUNT_H
15763 # include <sys/mount.h>
15765 #ifdef HAVE_SYS_VFS_H
15766 # include <sys/vfs.h>
15768 #ifdef HAVE_SYS_STATFS_H
15769 # include <sys/statfs.h>
15772 if test "x$ac_cv_member_struct_statfs_f_bavail" = xyes
; then :
15774 cat >>confdefs.h
<<_ACEOF
15775 #define HAVE_STRUCT_STATFS_F_BAVAIL 1
15780 ac_fn_c_check_member
"$LINENO" "struct statfs" "f_frsize" "ac_cv_member_struct_statfs_f_frsize" "#include <sys/types.h>
15781 #ifdef HAVE_SYS_PARAM_H
15782 # include <sys/param.h>
15784 #ifdef HAVE_SYS_MOUNT_H
15785 # include <sys/mount.h>
15787 #ifdef HAVE_SYS_VFS_H
15788 # include <sys/vfs.h>
15790 #ifdef HAVE_SYS_STATFS_H
15791 # include <sys/statfs.h>
15794 if test "x$ac_cv_member_struct_statfs_f_frsize" = xyes
; then :
15796 cat >>confdefs.h
<<_ACEOF
15797 #define HAVE_STRUCT_STATFS_F_FRSIZE 1
15802 ac_fn_c_check_member
"$LINENO" "struct statfs" "f_ffree" "ac_cv_member_struct_statfs_f_ffree" "#include <sys/types.h>
15803 #ifdef HAVE_SYS_PARAM_H
15804 # include <sys/param.h>
15806 #ifdef HAVE_SYS_MOUNT_H
15807 # include <sys/mount.h>
15809 #ifdef HAVE_SYS_VFS_H
15810 # include <sys/vfs.h>
15812 #ifdef HAVE_SYS_STATFS_H
15813 # include <sys/statfs.h>
15816 if test "x$ac_cv_member_struct_statfs_f_ffree" = xyes
; then :
15818 cat >>confdefs.h
<<_ACEOF
15819 #define HAVE_STRUCT_STATFS_F_FFREE 1
15824 ac_fn_c_check_member
"$LINENO" "struct statfs" "f_favail" "ac_cv_member_struct_statfs_f_favail" "#include <sys/types.h>
15825 #ifdef HAVE_SYS_PARAM_H
15826 # include <sys/param.h>
15828 #ifdef HAVE_SYS_MOUNT_H
15829 # include <sys/mount.h>
15831 #ifdef HAVE_SYS_VFS_H
15832 # include <sys/vfs.h>
15834 #ifdef HAVE_SYS_STATFS_H
15835 # include <sys/statfs.h>
15838 if test "x$ac_cv_member_struct_statfs_f_favail" = xyes
; then :
15840 cat >>confdefs.h
<<_ACEOF
15841 #define HAVE_STRUCT_STATFS_F_FAVAIL 1
15846 ac_fn_c_check_member
"$LINENO" "struct statfs" "f_namelen" "ac_cv_member_struct_statfs_f_namelen" "#include <sys/types.h>
15847 #ifdef HAVE_SYS_PARAM_H
15848 # include <sys/param.h>
15850 #ifdef HAVE_SYS_MOUNT_H
15851 # include <sys/mount.h>
15853 #ifdef HAVE_SYS_VFS_H
15854 # include <sys/vfs.h>
15856 #ifdef HAVE_SYS_STATFS_H
15857 # include <sys/statfs.h>
15860 if test "x$ac_cv_member_struct_statfs_f_namelen" = xyes
; then :
15862 cat >>confdefs.h
<<_ACEOF
15863 #define HAVE_STRUCT_STATFS_F_NAMELEN 1
15870 ac_fn_c_check_member
"$LINENO" "struct statvfs" "f_blocks" "ac_cv_member_struct_statvfs_f_blocks" "#ifdef HAVE_SYS_STATVFS_H
15871 #include <sys/statvfs.h>
15874 if test "x$ac_cv_member_struct_statvfs_f_blocks" = xyes
; then :
15876 cat >>confdefs.h
<<_ACEOF
15877 #define HAVE_STRUCT_STATVFS_F_BLOCKS 1
15884 ac_fn_c_check_member
"$LINENO" "struct dirent" "d_reclen" "ac_cv_member_struct_dirent_d_reclen" "#ifdef HAVE_DIRENT_H
15885 #include <dirent.h>
15888 if test "x$ac_cv_member_struct_dirent_d_reclen" = xyes
; then :
15890 cat >>confdefs.h
<<_ACEOF
15891 #define HAVE_STRUCT_DIRENT_D_RECLEN 1
15898 ac_fn_c_check_member
"$LINENO" "struct msghdr" "msg_accrights" "ac_cv_member_struct_msghdr_msg_accrights" "#include <sys/types.h>
15899 #ifdef HAVE_SYS_SOCKET_H
15900 # include <sys/socket.h>
15902 #ifdef HAVE_SYS_UN_H
15903 # include <sys/un.h>
15906 if test "x$ac_cv_member_struct_msghdr_msg_accrights" = xyes
; then :
15908 cat >>confdefs.h
<<_ACEOF
15909 #define HAVE_STRUCT_MSGHDR_MSG_ACCRIGHTS 1
15914 ac_fn_c_check_member
"$LINENO" "struct sockaddr" "sa_len" "ac_cv_member_struct_sockaddr_sa_len" "#include <sys/types.h>
15915 #ifdef HAVE_SYS_SOCKET_H
15916 # include <sys/socket.h>
15918 #ifdef HAVE_SYS_UN_H
15919 # include <sys/un.h>
15922 if test "x$ac_cv_member_struct_sockaddr_sa_len" = xyes
; then :
15924 cat >>confdefs.h
<<_ACEOF
15925 #define HAVE_STRUCT_SOCKADDR_SA_LEN 1
15930 ac_fn_c_check_member
"$LINENO" "struct sockaddr_un" "sun_len" "ac_cv_member_struct_sockaddr_un_sun_len" "#include <sys/types.h>
15931 #ifdef HAVE_SYS_SOCKET_H
15932 # include <sys/socket.h>
15934 #ifdef HAVE_SYS_UN_H
15935 # include <sys/un.h>
15938 if test "x$ac_cv_member_struct_sockaddr_un_sun_len" = xyes
; then :
15940 cat >>confdefs.h
<<_ACEOF
15941 #define HAVE_STRUCT_SOCKADDR_UN_SUN_LEN 1
15948 ac_fn_c_check_member
"$LINENO" "scsireq_t" "cmd" "ac_cv_member_scsireq_t_cmd" "#include <sys/types.h>
15949 #ifdef HAVE_SCSI_SG_H
15950 #include <scsi/sg.h>
15953 if test "x$ac_cv_member_scsireq_t_cmd" = xyes
; then :
15955 cat >>confdefs.h
<<_ACEOF
15956 #define HAVE_SCSIREQ_T_CMD 1
15961 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>
15962 #ifdef HAVE_SCSI_SG_H
15963 #include <scsi/sg.h>
15966 if test "x$ac_cv_member_sg_io_hdr_t_interface_id" = xyes
; then :
15968 cat >>confdefs.h
<<_ACEOF
15969 #define HAVE_SG_IO_HDR_T_INTERFACE_ID 1
15976 ac_fn_c_check_member
"$LINENO" "siginfo_t" "si_fd" "ac_cv_member_siginfo_t_si_fd" "#include <signal.h>
15978 if test "x$ac_cv_member_siginfo_t_si_fd" = xyes
; then :
15980 cat >>confdefs.h
<<_ACEOF
15981 #define HAVE_SIGINFO_T_SI_FD 1
15988 ac_fn_c_check_member
"$LINENO" "struct mtget" "mt_blksiz" "ac_cv_member_struct_mtget_mt_blksiz" "#include <sys/types.h>
15989 #ifdef HAVE_SYS_MTIO_H
15990 #include <sys/mtio.h>
15993 if test "x$ac_cv_member_struct_mtget_mt_blksiz" = xyes
; then :
15995 cat >>confdefs.h
<<_ACEOF
15996 #define HAVE_STRUCT_MTGET_MT_BLKSIZ 1
16001 ac_fn_c_check_member
"$LINENO" "struct mtget" "mt_gstat" "ac_cv_member_struct_mtget_mt_gstat" "#include <sys/types.h>
16002 #ifdef HAVE_SYS_MTIO_H
16003 #include <sys/mtio.h>
16006 if test "x$ac_cv_member_struct_mtget_mt_gstat" = xyes
; then :
16008 cat >>confdefs.h
<<_ACEOF
16009 #define HAVE_STRUCT_MTGET_MT_GSTAT 1
16014 ac_fn_c_check_member
"$LINENO" "struct mtget" "mt_blkno" "ac_cv_member_struct_mtget_mt_blkno" "#include <sys/types.h>
16015 #ifdef HAVE_SYS_MTIO_H
16016 #include <sys/mtio.h>
16019 if test "x$ac_cv_member_struct_mtget_mt_blkno" = xyes
; then :
16021 cat >>confdefs.h
<<_ACEOF
16022 #define HAVE_STRUCT_MTGET_MT_BLKNO 1
16029 ac_fn_c_check_member
"$LINENO" "struct option" "name" "ac_cv_member_struct_option_name" "#ifdef HAVE_GETOPT_H
16030 #include <getopt.h>
16033 if test "x$ac_cv_member_struct_option_name" = xyes
; then :
16035 cat >>confdefs.h
<<_ACEOF
16036 #define HAVE_STRUCT_OPTION_NAME 1
16043 ac_fn_c_check_member
"$LINENO" "struct stat" "st_blocks" "ac_cv_member_struct_stat_st_blocks" "$ac_includes_default"
16044 if test "x$ac_cv_member_struct_stat_st_blocks" = xyes
; then :
16046 cat >>confdefs.h
<<_ACEOF
16047 #define HAVE_STRUCT_STAT_ST_BLOCKS 1
16052 ac_fn_c_check_member
"$LINENO" "struct stat" "st_mtim" "ac_cv_member_struct_stat_st_mtim" "$ac_includes_default"
16053 if test "x$ac_cv_member_struct_stat_st_mtim" = xyes
; then :
16055 cat >>confdefs.h
<<_ACEOF
16056 #define HAVE_STRUCT_STAT_ST_MTIM 1
16061 ac_fn_c_check_member
"$LINENO" "struct stat" "st_mtimespec" "ac_cv_member_struct_stat_st_mtimespec" "$ac_includes_default"
16062 if test "x$ac_cv_member_struct_stat_st_mtimespec" = xyes
; then :
16064 cat >>confdefs.h
<<_ACEOF
16065 #define HAVE_STRUCT_STAT_ST_MTIMESPEC 1
16070 ac_fn_c_check_member
"$LINENO" "struct stat" "st_ctim" "ac_cv_member_struct_stat_st_ctim" "$ac_includes_default"
16071 if test "x$ac_cv_member_struct_stat_st_ctim" = xyes
; then :
16073 cat >>confdefs.h
<<_ACEOF
16074 #define HAVE_STRUCT_STAT_ST_CTIM 1
16079 ac_fn_c_check_member
"$LINENO" "struct stat" "st_ctimespec" "ac_cv_member_struct_stat_st_ctimespec" "$ac_includes_default"
16080 if test "x$ac_cv_member_struct_stat_st_ctimespec" = xyes
; then :
16082 cat >>confdefs.h
<<_ACEOF
16083 #define HAVE_STRUCT_STAT_ST_CTIMESPEC 1
16088 ac_fn_c_check_member
"$LINENO" "struct stat" "st_atim" "ac_cv_member_struct_stat_st_atim" "$ac_includes_default"
16089 if test "x$ac_cv_member_struct_stat_st_atim" = xyes
; then :
16091 cat >>confdefs.h
<<_ACEOF
16092 #define HAVE_STRUCT_STAT_ST_ATIM 1
16097 ac_fn_c_check_member
"$LINENO" "struct stat" "st_atimespec" "ac_cv_member_struct_stat_st_atimespec" "$ac_includes_default"
16098 if test "x$ac_cv_member_struct_stat_st_atimespec" = xyes
; then :
16100 cat >>confdefs.h
<<_ACEOF
16101 #define HAVE_STRUCT_STAT_ST_ATIMESPEC 1
16106 ac_fn_c_check_member
"$LINENO" "struct stat" "st_birthtime" "ac_cv_member_struct_stat_st_birthtime" "$ac_includes_default"
16107 if test "x$ac_cv_member_struct_stat_st_birthtime" = xyes
; then :
16109 cat >>confdefs.h
<<_ACEOF
16110 #define HAVE_STRUCT_STAT_ST_BIRTHTIME 1
16115 ac_fn_c_check_member
"$LINENO" "struct stat" "st_birthtim" "ac_cv_member_struct_stat_st_birthtim" "$ac_includes_default"
16116 if test "x$ac_cv_member_struct_stat_st_birthtim" = xyes
; then :
16118 cat >>confdefs.h
<<_ACEOF
16119 #define HAVE_STRUCT_STAT_ST_BIRTHTIM 1
16124 ac_fn_c_check_member
"$LINENO" "struct stat" "st_birthtimespec" "ac_cv_member_struct_stat_st_birthtimespec" "$ac_includes_default"
16125 if test "x$ac_cv_member_struct_stat_st_birthtimespec" = xyes
; then :
16127 cat >>confdefs.h
<<_ACEOF
16128 #define HAVE_STRUCT_STAT_ST_BIRTHTIMESPEC 1
16133 ac_fn_c_check_member
"$LINENO" "struct stat" "__st_birthtime" "ac_cv_member_struct_stat___st_birthtime" "$ac_includes_default"
16134 if test "x$ac_cv_member_struct_stat___st_birthtime" = xyes
; then :
16136 cat >>confdefs.h
<<_ACEOF
16137 #define HAVE_STRUCT_STAT___ST_BIRTHTIME 1
16142 ac_fn_c_check_member
"$LINENO" "struct stat" "__st_birthtim" "ac_cv_member_struct_stat___st_birthtim" "$ac_includes_default"
16143 if test "x$ac_cv_member_struct_stat___st_birthtim" = xyes
; then :
16145 cat >>confdefs.h
<<_ACEOF
16146 #define HAVE_STRUCT_STAT___ST_BIRTHTIM 1
16153 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
16154 #include <sys/types.h>
16156 #ifdef HAVE_NETINET_IN_H
16157 #include <netinet/in.h>
16160 if test "x$ac_cv_member_struct_sockaddr_in6_sin6_scope_id" = xyes
; then :
16162 cat >>confdefs.h
<<_ACEOF
16163 #define HAVE_STRUCT_SOCKADDR_IN6_SIN6_SCOPE_ID 1
16170 ac_fn_c_check_type
"$LINENO" "struct __res_state" "ac_cv_type_struct___res_state" "#ifdef HAVE_RESOLV_H
16171 #include <resolv.h>
16174 if test "x$ac_cv_type_struct___res_state" = xyes
; then :
16176 cat >>confdefs.h
<<_ACEOF
16177 #define HAVE_STRUCT___RES_STATE 1
16184 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
16185 #include <resolv.h>
16188 if test "x$ac_cv_member_struct___res_state__u__ext_nscount6" = xyes
; then :
16190 cat >>confdefs.h
<<_ACEOF
16191 #define HAVE_STRUCT___RES_STATE__U__EXT_NSCOUNT6 1
16198 ac_fn_c_check_member
"$LINENO" "ns_msg" "_msg_ptr" "ac_cv_member_ns_msg__msg_ptr" "#ifdef HAVE_SYS_TYPES_H
16199 #include <sys/types.h>
16201 #ifdef HAVE_NETINET_IN_H
16202 # include <netinet/in.h>
16204 #ifdef HAVE_ARPA_NAMESER_H
16205 # include <arpa/nameser.h>
16208 if test "x$ac_cv_member_ns_msg__msg_ptr" = xyes
; then :
16210 cat >>confdefs.h
<<_ACEOF
16211 #define HAVE_NS_MSG__MSG_PTR 1
16218 ac_fn_c_check_member
"$LINENO" "struct icmpstat" "icps_inhist" "ac_cv_member_struct_icmpstat_icps_inhist" "#ifdef HAVE_SYS_TYPES_H
16219 #include <sys/types.h>
16221 #ifdef HAVE_NETINET_IP_H
16222 #include <netinet/ip.h>
16224 #ifdef HAVE_NETINET_IP_ICMP_H
16225 #include <netinet/ip_icmp.h>
16227 #ifdef HAVE_NETINET_ICMP_VAR_H
16228 #include <netinet/icmp_var.h>
16231 if test "x$ac_cv_member_struct_icmpstat_icps_inhist" = xyes
; then :
16233 cat >>confdefs.h
<<_ACEOF
16234 #define HAVE_STRUCT_ICMPSTAT_ICPS_INHIST 1
16241 ac_fn_c_check_member
"$LINENO" "struct icmpstat" "icps_outhist" "ac_cv_member_struct_icmpstat_icps_outhist" "#ifdef HAVE_SYS_TYPES_H
16242 #include <sys/types.h>
16244 #ifdef HAVE_ALIAS_H
16247 #ifdef HAVE_SYS_SOCKET_H
16248 #include <sys/socket.h>
16250 #ifdef HAVE_SYS_SOCKETVAR_H
16251 #include <sys/socketvar.h>
16253 #ifdef HAVE_SYS_TIMEOUT_H
16254 #include <sys/timeout.h>
16256 #ifdef HAVE_NETINET_IN_H
16257 #include <netinet/in.h>
16259 #ifdef HAVE_NETINET_IN_SYSTM_H
16260 #include <netinet/in_systm.h>
16262 #ifdef HAVE_NETINET_IP_H
16263 #include <netinet/ip.h>
16265 #ifdef HAVE_NETINET_IP_VAR_H
16266 #include <netinet/ip_var.h>
16268 #ifdef HAVE_NETINET_IP_ICMP_H
16269 #include <netinet/ip_icmp.h>
16271 #ifdef HAVE_NETINET_ICMP_VAR_H
16272 #include <netinet/icmp_var.h>
16275 if test "x$ac_cv_member_struct_icmpstat_icps_outhist" = xyes
; then :
16277 cat >>confdefs.h
<<_ACEOF
16278 #define HAVE_STRUCT_ICMPSTAT_ICPS_OUTHIST 1
16285 ac_fn_c_check_member
"$LINENO" "struct ipstat" "ips_total" "ac_cv_member_struct_ipstat_ips_total" "#ifdef HAVE_SYS_TYPES_H
16286 #include <sys/types.h>
16288 #ifdef HAVE_SYS_SOCKETVAR_H
16289 #include <sys/socketvar.h>
16291 #ifdef HAVE_NETINET_IN_H
16292 #include <netinet/in.h>
16294 #ifdef HAVE_NETINET_IP_VAR_H
16295 #include <netinet/ip_var.h>
16298 if test "x$ac_cv_member_struct_ipstat_ips_total" = xyes
; then :
16300 cat >>confdefs.h
<<_ACEOF
16301 #define HAVE_STRUCT_IPSTAT_IPS_TOTAL 1
16308 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
16309 #include <netinet/ip_var.h>
16312 if test "x$ac_cv_member_struct_ip_stats_ips_total" = xyes
; then :
16314 cat >>confdefs.h
<<_ACEOF
16315 #define HAVE_STRUCT_IP_STATS_IPS_TOTAL 1
16322 ac_fn_c_check_member
"$LINENO" "struct tcpstat" "tcps_connattempt" "ac_cv_member_struct_tcpstat_tcps_connattempt" "#ifdef HAVE_SYS_TYPES_H
16323 #include <sys/types.h>
16325 #ifdef HAVE_SYS_SOCKETVAR_H
16326 #include <sys/socketvar.h>
16328 #ifdef HAVE_NETINET_IN_H
16329 #include <netinet/in.h>
16331 #ifdef HAVE_NETINET_TCP_H
16332 #include <netinet/tcp.h>
16334 #ifdef HAVE_NETINET_TCP_VAR_H
16335 #include <netinet/tcp_var.h>
16338 if test "x$ac_cv_member_struct_tcpstat_tcps_connattempt" = xyes
; then :
16340 cat >>confdefs.h
<<_ACEOF
16341 #define HAVE_STRUCT_TCPSTAT_TCPS_CONNATTEMPT 1
16348 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
16349 #include <netinet/tcp_var.h>
16352 if test "x$ac_cv_member_struct_tcp_stats_tcps_connattempt" = xyes
; then :
16354 cat >>confdefs.h
<<_ACEOF
16355 #define HAVE_STRUCT_TCP_STATS_TCPS_CONNATTEMPT 1
16362 ac_fn_c_check_member
"$LINENO" "struct udpstat" "udps_ipackets" "ac_cv_member_struct_udpstat_udps_ipackets" "#ifdef HAVE_SYS_TYPES_H
16363 #include <sys/types.h>
16365 #ifdef HAVE_NETINET_IN_H
16366 #include <netinet/in.h>
16368 #ifdef HAVE_NETINET_IP_VAR_H
16369 #include <netinet/ip_var.h>
16371 #ifdef HAVE_NETINET_UDP_H
16372 #include <netinet/udp.h>
16374 #ifdef HAVE_NETINET_UDP_VAR_H
16375 #include <netinet/udp_var.h>
16378 if test "x$ac_cv_member_struct_udpstat_udps_ipackets" = xyes
; then :
16380 cat >>confdefs.h
<<_ACEOF
16381 #define HAVE_STRUCT_UDPSTAT_UDPS_IPACKETS 1
16388 ac_fn_c_check_member
"$LINENO" "struct ifreq" "ifr_hwaddr" "ac_cv_member_struct_ifreq_ifr_hwaddr" "#ifdef HAVE_SYS_TYPES_H
16389 #include <sys/types.h>
16391 #ifdef HAVE_NET_IF_H
16392 # include <net/if.h>
16395 if test "x$ac_cv_member_struct_ifreq_ifr_hwaddr" = xyes
; then :
16397 cat >>confdefs.h
<<_ACEOF
16398 #define HAVE_STRUCT_IFREQ_IFR_HWADDR 1
16405 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for timezone variable" >&5
16406 $as_echo_n "checking for timezone variable... " >&6; }
16407 if ${ac_cv_have_timezone+:} false
; then :
16408 $as_echo_n "(cached) " >&6
16410 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
16411 /* end confdefs.h. */
16421 if ac_fn_c_try_link
"$LINENO"; then :
16422 ac_cv_have_timezone
="yes"
16424 ac_cv_have_timezone
="no"
16426 rm -f core conftest.err conftest.
$ac_objext \
16427 conftest
$ac_exeext conftest.
$ac_ext
16429 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_timezone" >&5
16430 $as_echo "$ac_cv_have_timezone" >&6; }
16431 if test "$ac_cv_have_timezone" = "yes"
16434 $as_echo "#define HAVE_TIMEZONE 1" >>confdefs.h
16437 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for daylight variable" >&5
16438 $as_echo_n "checking for daylight variable... " >&6; }
16439 if ${ac_cv_have_daylight+:} false
; then :
16440 $as_echo_n "(cached) " >&6
16442 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
16443 /* end confdefs.h. */
16453 if ac_fn_c_try_link
"$LINENO"; then :
16454 ac_cv_have_daylight
="yes"
16456 ac_cv_have_daylight
="no"
16458 rm -f core conftest.err conftest.
$ac_objext \
16459 conftest
$ac_exeext conftest.
$ac_ext
16461 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_daylight" >&5
16462 $as_echo "$ac_cv_have_daylight" >&6; }
16463 if test "$ac_cv_have_daylight" = "yes"
16466 $as_echo "#define HAVE_DAYLIGHT 1" >>confdefs.h
16470 ac_save_LIBS
="$LIBS"
16472 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isfinite" >&5
16473 $as_echo_n "checking for isfinite... " >&6; }
16474 if ${ac_cv_have_isfinite+:} false
; then :
16475 $as_echo_n "(cached) " >&6
16477 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
16478 /* end confdefs.h. */
16479 #define _GNU_SOURCE
16484 float f = 0.0; return isfinite(f)
16489 if ac_fn_c_try_link
"$LINENO"; then :
16490 ac_cv_have_isfinite
="yes"
16492 ac_cv_have_isfinite
="no"
16494 rm -f core conftest.err conftest.
$ac_objext \
16495 conftest
$ac_exeext conftest.
$ac_ext
16497 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_isfinite" >&5
16498 $as_echo "$ac_cv_have_isfinite" >&6; }
16499 if test "$ac_cv_have_isfinite" = "yes"
16502 $as_echo "#define HAVE_ISFINITE 1" >>confdefs.h
16506 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinf" >&5
16507 $as_echo_n "checking for isinf... " >&6; }
16508 if ${ac_cv_have_isinf+:} false
; then :
16509 $as_echo_n "(cached) " >&6
16511 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
16512 /* end confdefs.h. */
16517 float f = 0.0; return isinf(f)
16522 if ac_fn_c_try_link
"$LINENO"; then :
16523 ac_cv_have_isinf
="yes"
16525 ac_cv_have_isinf
="no"
16527 rm -f core conftest.err conftest.
$ac_objext \
16528 conftest
$ac_exeext conftest.
$ac_ext
16530 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_isinf" >&5
16531 $as_echo "$ac_cv_have_isinf" >&6; }
16532 if test "$ac_cv_have_isinf" = "yes"
16535 $as_echo "#define HAVE_ISINF 1" >>confdefs.h
16539 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnan" >&5
16540 $as_echo_n "checking for isnan... " >&6; }
16541 if ${ac_cv_have_isnan+:} false
; then :
16542 $as_echo_n "(cached) " >&6
16544 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
16545 /* end confdefs.h. */
16550 float f = 0.0; return isnan(f)
16555 if ac_fn_c_try_link
"$LINENO"; then :
16556 ac_cv_have_isnan
="yes"
16558 ac_cv_have_isnan
="no"
16560 rm -f core conftest.err conftest.
$ac_objext \
16561 conftest
$ac_exeext conftest.
$ac_ext
16563 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_isnan" >&5
16564 $as_echo "$ac_cv_have_isnan" >&6; }
16565 if test "$ac_cv_have_isnan" = "yes"
16568 $as_echo "#define HAVE_ISNAN 1" >>confdefs.h
16595 as_ac_var
=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
16596 ac_fn_c_check_func
"$LINENO" "$ac_func" "$as_ac_var"
16597 if eval test \"x\$
"$as_ac_var"\" = x
"yes"; then :
16598 cat >>confdefs.h
<<_ACEOF
16599 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
16605 LIBS
="$ac_save_LIBS"
16607 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for __builtin_clz" >&5
16608 $as_echo_n "checking for __builtin_clz... " >&6; }
16609 if ${ac_cv_have___builtin_clz+:} false
; then :
16610 $as_echo_n "(cached) " >&6
16612 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
16613 /* end confdefs.h. */
16618 return __builtin_clz(1)
16623 if ac_fn_c_try_link
"$LINENO"; then :
16624 ac_cv_have___builtin_clz
="yes"
16626 ac_cv_have___builtin_clz
="no"
16628 rm -f core conftest.err conftest.
$ac_objext \
16629 conftest
$ac_exeext conftest.
$ac_ext
16631 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have___builtin_clz" >&5
16632 $as_echo "$ac_cv_have___builtin_clz" >&6; }
16633 if test "$ac_cv_have___builtin_clz" = "yes"
16636 $as_echo "#define HAVE___BUILTIN_CLZ 1" >>confdefs.h
16642 *i
[3456789]86*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __i386__" >&5
16643 $as_echo_n "checking whether we need to define __i386__... " >&6; }
16644 if ${ac_cv_cpp_def___i386__+:} false
; then :
16645 $as_echo_n "(cached) " >&6
16647 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
16648 /* end confdefs.h. */
16653 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
16654 $EGREP "yes" >/dev
/null
2>&1; then :
16655 ac_cv_cpp_def___i386__
=yes
16657 ac_cv_cpp_def___i386__
=no
16662 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___i386__" >&5
16663 $as_echo "$ac_cv_cpp_def___i386__" >&6; }
16664 if test "x$ac_cv_cpp_def___i386__" = xyes
; then :
16665 CFLAGS
="$CFLAGS -D__i386__"
16666 LINTFLAGS
="$LINTFLAGS -D__i386__"
16668 *x86_64
*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __x86_64__" >&5
16669 $as_echo_n "checking whether we need to define __x86_64__... " >&6; }
16670 if ${ac_cv_cpp_def___x86_64__+:} false
; then :
16671 $as_echo_n "(cached) " >&6
16673 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
16674 /* end confdefs.h. */
16679 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
16680 $EGREP "yes" >/dev
/null
2>&1; then :
16681 ac_cv_cpp_def___x86_64__
=yes
16683 ac_cv_cpp_def___x86_64__
=no
16688 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___x86_64__" >&5
16689 $as_echo "$ac_cv_cpp_def___x86_64__" >&6; }
16690 if test "x$ac_cv_cpp_def___x86_64__" = xyes
; then :
16691 CFLAGS
="$CFLAGS -D__x86_64__"
16692 LINTFLAGS
="$LINTFLAGS -D__x86_64__"
16694 *sparc64
*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __sparc64__" >&5
16695 $as_echo_n "checking whether we need to define __sparc64__... " >&6; }
16696 if ${ac_cv_cpp_def___sparc64__+:} false
; then :
16697 $as_echo_n "(cached) " >&6
16699 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
16700 /* end confdefs.h. */
16701 #ifndef __sparc64__
16705 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
16706 $EGREP "yes" >/dev
/null
2>&1; then :
16707 ac_cv_cpp_def___sparc64__
=yes
16709 ac_cv_cpp_def___sparc64__
=no
16714 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___sparc64__" >&5
16715 $as_echo "$ac_cv_cpp_def___sparc64__" >&6; }
16716 if test "x$ac_cv_cpp_def___sparc64__" = xyes
; then :
16717 CFLAGS
="$CFLAGS -D__sparc64__"
16718 LINTFLAGS
="$LINTFLAGS -D__sparc64__"
16720 *sparc
*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __sparc__" >&5
16721 $as_echo_n "checking whether we need to define __sparc__... " >&6; }
16722 if ${ac_cv_cpp_def___sparc__+:} false
; then :
16723 $as_echo_n "(cached) " >&6
16725 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
16726 /* end confdefs.h. */
16731 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
16732 $EGREP "yes" >/dev
/null
2>&1; then :
16733 ac_cv_cpp_def___sparc__
=yes
16735 ac_cv_cpp_def___sparc__
=no
16740 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___sparc__" >&5
16741 $as_echo "$ac_cv_cpp_def___sparc__" >&6; }
16742 if test "x$ac_cv_cpp_def___sparc__" = xyes
; then :
16743 CFLAGS
="$CFLAGS -D__sparc__"
16744 LINTFLAGS
="$LINTFLAGS -D__sparc__"
16746 *powerpc64
*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __powerpc64__" >&5
16747 $as_echo_n "checking whether we need to define __powerpc64__... " >&6; }
16748 if ${ac_cv_cpp_def___powerpc64__+:} false
; then :
16749 $as_echo_n "(cached) " >&6
16751 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
16752 /* end confdefs.h. */
16753 #ifndef __powerpc64__
16757 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
16758 $EGREP "yes" >/dev
/null
2>&1; then :
16759 ac_cv_cpp_def___powerpc64__
=yes
16761 ac_cv_cpp_def___powerpc64__
=no
16766 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___powerpc64__" >&5
16767 $as_echo "$ac_cv_cpp_def___powerpc64__" >&6; }
16768 if test "x$ac_cv_cpp_def___powerpc64__" = xyes
; then :
16769 CFLAGS
="$CFLAGS -D__powerpc64__"
16770 LINTFLAGS
="$LINTFLAGS -D__powerpc64__"
16772 *powerpc
*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __powerpc__" >&5
16773 $as_echo_n "checking whether we need to define __powerpc__... " >&6; }
16774 if ${ac_cv_cpp_def___powerpc__+:} false
; then :
16775 $as_echo_n "(cached) " >&6
16777 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
16778 /* end confdefs.h. */
16779 #ifndef __powerpc__
16783 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
16784 $EGREP "yes" >/dev
/null
2>&1; then :
16785 ac_cv_cpp_def___powerpc__
=yes
16787 ac_cv_cpp_def___powerpc__
=no
16792 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___powerpc__" >&5
16793 $as_echo "$ac_cv_cpp_def___powerpc__" >&6; }
16794 if test "x$ac_cv_cpp_def___powerpc__" = xyes
; then :
16795 CFLAGS
="$CFLAGS -D__powerpc__"
16796 LINTFLAGS
="$LINTFLAGS -D__powerpc__"
16798 *aarch64
*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __aarch64__" >&5
16799 $as_echo_n "checking whether we need to define __aarch64__... " >&6; }
16800 if ${ac_cv_cpp_def___aarch64__+:} false
; then :
16801 $as_echo_n "(cached) " >&6
16803 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
16804 /* end confdefs.h. */
16805 #ifndef __aarch64__
16809 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
16810 $EGREP "yes" >/dev
/null
2>&1; then :
16811 ac_cv_cpp_def___aarch64__
=yes
16813 ac_cv_cpp_def___aarch64__
=no
16818 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___aarch64__" >&5
16819 $as_echo "$ac_cv_cpp_def___aarch64__" >&6; }
16820 if test "x$ac_cv_cpp_def___aarch64__" = xyes
; then :
16821 CFLAGS
="$CFLAGS -D__aarch64__"
16822 LINTFLAGS
="$LINTFLAGS -D__aarch64__"
16824 *arm
*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __arm__" >&5
16825 $as_echo_n "checking whether we need to define __arm__... " >&6; }
16826 if ${ac_cv_cpp_def___arm__+:} false
; then :
16827 $as_echo_n "(cached) " >&6
16829 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
16830 /* end confdefs.h. */
16835 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
16836 $EGREP "yes" >/dev
/null
2>&1; then :
16837 ac_cv_cpp_def___arm__
=yes
16839 ac_cv_cpp_def___arm__
=no
16844 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___arm__" >&5
16845 $as_echo "$ac_cv_cpp_def___arm__" >&6; }
16846 if test "x$ac_cv_cpp_def___arm__" = xyes
; then :
16847 CFLAGS
="$CFLAGS -D__arm__"
16848 LINTFLAGS
="$LINTFLAGS -D__arm__"
16852 case $host_vendor in
16853 *sun
*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __sun__" >&5
16854 $as_echo_n "checking whether we need to define __sun__... " >&6; }
16855 if ${ac_cv_cpp_def___sun__+:} false
; then :
16856 $as_echo_n "(cached) " >&6
16858 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
16859 /* end confdefs.h. */
16864 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
16865 $EGREP "yes" >/dev
/null
2>&1; then :
16866 ac_cv_cpp_def___sun__
=yes
16868 ac_cv_cpp_def___sun__
=no
16873 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___sun__" >&5
16874 $as_echo "$ac_cv_cpp_def___sun__" >&6; }
16875 if test "x$ac_cv_cpp_def___sun__" = xyes
; then :
16876 CFLAGS
="$CFLAGS -D__sun__"
16877 LINTFLAGS
="$LINTFLAGS -D__sun__"
16885 ac_config_commands
="$ac_config_commands include/stamp-h"
16887 $as_echo_n "creating Makefile rules..." >&6
16889 ALL_VARS_RULES
="OPENGL_LIBS = $OPENGL_LIBS
16890 SOCKET_LIBS = $SOCKET_LIBS
16891 COREFOUNDATION_LIBS = $COREFOUNDATION_LIBS
16892 IOKIT_LIBS = $IOKIT_LIBS
16893 FORCEFEEDBACK_LIBS = $FORCEFEEDBACK_LIBS
16894 APPLICATIONSERVICES_LIBS = $APPLICATIONSERVICES_LIBS
16895 CORESERVICES_LIBS = $CORESERVICES_LIBS
16896 APPKIT_LIBS = $APPKIT_LIBS
16897 DISKARBITRATION_LIBS = $DISKARBITRATION_LIBS
16898 SECURITY_LIBS = $SECURITY_LIBS
16899 COREAUDIO_LIBS = $COREAUDIO_LIBS
16900 OPENAL_LIBS = $OPENAL_LIBS
16901 OPENCL_LIBS = $OPENCL_LIBS
16902 QUICKTIME_LIBS = $QUICKTIME_LIBS
16903 CARBON_LIBS = $CARBON_LIBS
16904 PTHREAD_LIBS = $PTHREAD_LIBS
16905 X_CFLAGS = $X_CFLAGS
16906 X_PRE_LIBS = $X_PRE_LIBS
16908 X_EXTRA_LIBS = $X_EXTRA_LIBS
16909 XML2_CFLAGS = $XML2_CFLAGS
16910 XML2_LIBS = $XML2_LIBS
16911 XSLT_CFLAGS = $XSLT_CFLAGS
16912 XSLT_LIBS = $XSLT_LIBS
16913 DBUS_CFLAGS = $DBUS_CFLAGS
16914 DBUS_LIBS = $DBUS_LIBS
16915 HAL_CFLAGS = $HAL_CFLAGS
16916 HAL_LIBS = $HAL_LIBS
16917 GNUTLS_CFLAGS = $GNUTLS_CFLAGS
16918 GNUTLS_LIBS = $GNUTLS_LIBS
16919 SANE_CFLAGS = $SANE_CFLAGS
16920 SANE_LIBS = $SANE_LIBS
16921 GPHOTO2_CFLAGS = $GPHOTO2_CFLAGS
16922 GPHOTO2_LIBS = $GPHOTO2_LIBS
16923 GPHOTO2_PORT_CFLAGS = $GPHOTO2_PORT_CFLAGS
16924 GPHOTO2_PORT_LIBS = $GPHOTO2_PORT_LIBS
16925 RESOLV_LIBS = $RESOLV_LIBS
16926 LCMS2_CFLAGS = $LCMS2_CFLAGS
16927 LCMS2_LIBS = $LCMS2_LIBS
16928 FREETYPE_CFLAGS = $FREETYPE_CFLAGS
16929 FREETYPE_LIBS = $FREETYPE_LIBS
16931 GETTEXTPO_LIBS = $GETTEXTPO_LIBS
16932 GSTREAMER_CFLAGS = $GSTREAMER_CFLAGS
16933 GSTREAMER_LIBS = $GSTREAMER_LIBS
16934 ALSA_LIBS = $ALSA_LIBS
16935 OSS4_CFLAGS = $OSS4_CFLAGS
16936 CAPI20_CFLAGS = $CAPI20_CFLAGS
16937 CAPI20_LIBS = $CAPI20_LIBS
16938 CUPS_CFLAGS = $CUPS_CFLAGS
16939 FONTCONFIG_CFLAGS = $FONTCONFIG_CFLAGS
16940 FONTCONFIG_LIBS = $FONTCONFIG_LIBS
16941 JPEG_CFLAGS = $JPEG_CFLAGS
16942 JPEG_LIBS = $JPEG_LIBS
16943 PNG_CFLAGS = $PNG_CFLAGS
16944 PNG_LIBS = $PNG_LIBS
16945 TIFF_CFLAGS = $TIFF_CFLAGS
16946 TIFF_LIBS = $TIFF_LIBS
16947 MPG123_CFLAGS = $MPG123_CFLAGS
16948 MPG123_LIBS = $MPG123_LIBS
16949 KSTAT_LIBS = $KSTAT_LIBS
16950 PROCSTAT_LIBS = $PROCSTAT_LIBS
16952 POLL_LIBS = $POLL_LIBS
16954 LDAP_LIBS = $LDAP_LIBS
16959 wine_fn_append_rule
"
16960 # Rules automatically generated by configure
16962 CLEAN_FILES = *.o *.a *.so *.res *.fake *.ok *.tab.[ch] *.yy.c
16967 Makefile: $srcdir/Makefile.in $srcdir/Make.vars.in config.status \$(MAKEDEP)
16968 @./config.status Make.tmp Makefile"
16970 test "$srcdir" = .
&& wine_fn_append_rule
"all: .gitignore
16971 .gitignore: config.status
16972 @./config.status .gitignore"
16974 test -n "$CROSSTARGET" || wine_fn_append_rule
"crosstest:
16975 @echo \"crosstest is not supported (mingw not installed?)\" && false"
16977 if test "x$enable_fonts" != xno
; then
16978 ac_config_links
="$ac_config_links fonts/marlett.ttf:fonts/marlett.ttf"
16979 ac_config_links
="$ac_config_links fonts/symbol.ttf:fonts/symbol.ttf"
16980 ac_config_links
="$ac_config_links fonts/tahoma.ttf:fonts/tahoma.ttf"
16981 ac_config_links
="$ac_config_links fonts/tahomabd.ttf:fonts/tahomabd.ttf"
16982 test "$srcdir" = "." || wine_fn_config_symlink fonts
/marlett.ttf fonts
/symbol.ttf fonts
/tahoma.ttf fonts
/tahomabd.ttf
16984 ac_config_links
="$ac_config_links loader/l_intl.nls:loader/l_intl.nls"
16985 test "$srcdir" = "." || wine_fn_config_symlink loader
/l_intl.nls
16986 ac_config_links
="$ac_config_links po/LINGUAS:po/LINGUAS"
16987 test "$srcdir" = "." || wine_fn_config_symlink po
/LINGUAS
16988 ac_config_links
="$ac_config_links wine:tools/winewrapper"
16989 wine_fn_config_symlink wine
16990 if test "x$enable_win64" != xno
; then
16991 ac_config_links
="$ac_config_links wine64:tools/winewrapper"
16992 wine_fn_config_symlink wine64
16995 wine_fn_config_dll acledit enable_acledit
16996 wine_fn_config_dll aclui enable_aclui implib
16997 wine_fn_config_dll activeds enable_activeds implib
16998 wine_fn_config_dll actxprxy enable_actxprxy clean
16999 wine_fn_config_lib adsiid
17000 wine_fn_config_dll advapi32 enable_advapi32 clean
,implib
17001 wine_fn_config_test dlls
/advapi32
/tests advapi32_test
17002 wine_fn_config_dll advpack enable_advpack implib
17003 wine_fn_config_test dlls
/advpack
/tests advpack_test
17004 wine_fn_config_dll amstream enable_amstream clean
17005 wine_fn_config_test dlls
/amstream
/tests amstream_test
17006 wine_fn_config_dll api-ms-win-core-com-l1-1-0 enable_api_ms_win_core_com_l1_1_0
17007 wine_fn_config_dll api-ms-win-core-console-l1-1-0 enable_api_ms_win_core_console_l1_1_0
17008 wine_fn_config_dll api-ms-win-core-datetime-l1-1-0 enable_api_ms_win_core_datetime_l1_1_0
17009 wine_fn_config_dll api-ms-win-core-datetime-l1-1-1 enable_api_ms_win_core_datetime_l1_1_1
17010 wine_fn_config_dll api-ms-win-core-debug-l1-1-0 enable_api_ms_win_core_debug_l1_1_0
17011 wine_fn_config_dll api-ms-win-core-debug-l1-1-1 enable_api_ms_win_core_debug_l1_1_1
17012 wine_fn_config_dll api-ms-win-core-errorhandling-l1-1-0 enable_api_ms_win_core_errorhandling_l1_1_0
17013 wine_fn_config_dll api-ms-win-core-errorhandling-l1-1-1 enable_api_ms_win_core_errorhandling_l1_1_1
17014 wine_fn_config_dll api-ms-win-core-errorhandling-l1-1-2 enable_api_ms_win_core_errorhandling_l1_1_2
17015 wine_fn_config_dll api-ms-win-core-fibers-l1-1-0 enable_api_ms_win_core_fibers_l1_1_0
17016 wine_fn_config_dll api-ms-win-core-fibers-l1-1-1 enable_api_ms_win_core_fibers_l1_1_1
17017 wine_fn_config_dll api-ms-win-core-file-l1-1-0 enable_api_ms_win_core_file_l1_1_0
17018 wine_fn_config_dll api-ms-win-core-file-l1-2-0 enable_api_ms_win_core_file_l1_2_0
17019 wine_fn_config_dll api-ms-win-core-file-l2-1-0 enable_api_ms_win_core_file_l2_1_0
17020 wine_fn_config_dll api-ms-win-core-file-l2-1-1 enable_api_ms_win_core_file_l2_1_1
17021 wine_fn_config_dll api-ms-win-core-handle-l1-1-0 enable_api_ms_win_core_handle_l1_1_0
17022 wine_fn_config_dll api-ms-win-core-heap-l1-1-0 enable_api_ms_win_core_heap_l1_1_0
17023 wine_fn_config_dll api-ms-win-core-heap-l1-2-0 enable_api_ms_win_core_heap_l1_2_0
17024 wine_fn_config_dll api-ms-win-core-heap-obsolete-l1-1-0 enable_api_ms_win_core_heap_obsolete_l1_1_0
17025 wine_fn_config_dll api-ms-win-core-interlocked-l1-1-0 enable_api_ms_win_core_interlocked_l1_1_0
17026 wine_fn_config_dll api-ms-win-core-interlocked-l1-2-0 enable_api_ms_win_core_interlocked_l1_2_0
17027 wine_fn_config_dll api-ms-win-core-io-l1-1-1 enable_api_ms_win_core_io_l1_1_1
17028 wine_fn_config_dll api-ms-win-core-kernel32-legacy-l1-1-0 enable_api_ms_win_core_kernel32_legacy_l1_1_0
17029 wine_fn_config_dll api-ms-win-core-libraryloader-l1-1-0 enable_api_ms_win_core_libraryloader_l1_1_0
17030 wine_fn_config_dll api-ms-win-core-libraryloader-l1-1-1 enable_api_ms_win_core_libraryloader_l1_1_1
17031 wine_fn_config_dll api-ms-win-core-localization-l1-2-0 enable_api_ms_win_core_localization_l1_2_0
17032 wine_fn_config_dll api-ms-win-core-localization-l1-2-1 enable_api_ms_win_core_localization_l1_2_1
17033 wine_fn_config_dll api-ms-win-core-localization-obsolete-l1-1-0 enable_api_ms_win_core_localization_obsolete_l1_1_0
17034 wine_fn_config_dll api-ms-win-core-localregistry-l1-1-0 enable_api_ms_win_core_localregistry_l1_1_0
17035 wine_fn_config_dll api-ms-win-core-memory-l1-1-0 enable_api_ms_win_core_memory_l1_1_0
17036 wine_fn_config_dll api-ms-win-core-memory-l1-1-1 enable_api_ms_win_core_memory_l1_1_1
17037 wine_fn_config_dll api-ms-win-core-misc-l1-1-0 enable_api_ms_win_core_misc_l1_1_0
17038 wine_fn_config_dll api-ms-win-core-namedpipe-l1-1-0 enable_api_ms_win_core_namedpipe_l1_1_0
17039 wine_fn_config_dll api-ms-win-core-namedpipe-l1-2-0 enable_api_ms_win_core_namedpipe_l1_2_0
17040 wine_fn_config_dll api-ms-win-core-processenvironment-l1-1-0 enable_api_ms_win_core_processenvironment_l1_1_0
17041 wine_fn_config_dll api-ms-win-core-processenvironment-l1-2-0 enable_api_ms_win_core_processenvironment_l1_2_0
17042 wine_fn_config_dll api-ms-win-core-processthreads-l1-1-0 enable_api_ms_win_core_processthreads_l1_1_0
17043 wine_fn_config_dll api-ms-win-core-processthreads-l1-1-1 enable_api_ms_win_core_processthreads_l1_1_1
17044 wine_fn_config_dll api-ms-win-core-processthreads-l1-1-2 enable_api_ms_win_core_processthreads_l1_1_2
17045 wine_fn_config_dll api-ms-win-core-profile-l1-1-0 enable_api_ms_win_core_profile_l1_1_0
17046 wine_fn_config_dll api-ms-win-core-psapi-l1-1-0 enable_api_ms_win_core_psapi_l1_1_0
17047 wine_fn_config_dll api-ms-win-core-registry-l1-1-0 enable_api_ms_win_core_registry_l1_1_0
17048 wine_fn_config_dll api-ms-win-core-rtlsupport-l1-1-0 enable_api_ms_win_core_rtlsupport_l1_1_0
17049 wine_fn_config_dll api-ms-win-core-rtlsupport-l1-2-0 enable_api_ms_win_core_rtlsupport_l1_2_0
17050 wine_fn_config_dll api-ms-win-core-shlwapi-legacy-l1-1-0 enable_api_ms_win_core_shlwapi_legacy_l1_1_0
17051 wine_fn_config_dll api-ms-win-core-string-l1-1-0 enable_api_ms_win_core_string_l1_1_0
17052 wine_fn_config_dll api-ms-win-core-synch-l1-1-0 enable_api_ms_win_core_synch_l1_1_0
17053 wine_fn_config_dll api-ms-win-core-synch-l1-2-0 enable_api_ms_win_core_synch_l1_2_0
17054 wine_fn_config_dll api-ms-win-core-sysinfo-l1-1-0 enable_api_ms_win_core_sysinfo_l1_1_0
17055 wine_fn_config_dll api-ms-win-core-sysinfo-l1-2-0 enable_api_ms_win_core_sysinfo_l1_2_0
17056 wine_fn_config_dll api-ms-win-core-sysinfo-l1-2-1 enable_api_ms_win_core_sysinfo_l1_2_1
17057 wine_fn_config_dll api-ms-win-core-threadpool-legacy-l1-1-0 enable_api_ms_win_core_threadpool_legacy_l1_1_0
17058 wine_fn_config_dll api-ms-win-core-timezone-l1-1-0 enable_api_ms_win_core_timezone_l1_1_0
17059 wine_fn_config_dll api-ms-win-core-url-l1-1-0 enable_api_ms_win_core_url_l1_1_0
17060 wine_fn_config_dll api-ms-win-core-util-l1-1-0 enable_api_ms_win_core_util_l1_1_0
17061 wine_fn_config_dll api-ms-win-core-winrt-error-l1-1-0 enable_api_ms_win_core_winrt_error_l1_1_0
17062 wine_fn_config_dll api-ms-win-core-winrt-error-l1-1-1 enable_api_ms_win_core_winrt_error_l1_1_1
17063 wine_fn_config_dll api-ms-win-core-winrt-l1-1-0 enable_api_ms_win_core_winrt_l1_1_0
17064 wine_fn_config_dll api-ms-win-core-winrt-string-l1-1-0 enable_api_ms_win_core_winrt_string_l1_1_0
17065 wine_fn_config_dll api-ms-win-core-xstate-l2-1-0 enable_api_ms_win_core_xstate_l2_1_0
17066 wine_fn_config_dll api-ms-win-downlevel-advapi32-l1-1-0 enable_api_ms_win_downlevel_advapi32_l1_1_0
17067 wine_fn_config_dll api-ms-win-downlevel-advapi32-l2-1-0 enable_api_ms_win_downlevel_advapi32_l2_1_0
17068 wine_fn_config_dll api-ms-win-downlevel-normaliz-l1-1-0 enable_api_ms_win_downlevel_normaliz_l1_1_0
17069 wine_fn_config_dll api-ms-win-downlevel-ole32-l1-1-0 enable_api_ms_win_downlevel_ole32_l1_1_0
17070 wine_fn_config_dll api-ms-win-downlevel-shell32-l1-1-0 enable_api_ms_win_downlevel_shell32_l1_1_0
17071 wine_fn_config_dll api-ms-win-downlevel-shlwapi-l1-1-0 enable_api_ms_win_downlevel_shlwapi_l1_1_0
17072 wine_fn_config_dll api-ms-win-downlevel-shlwapi-l2-1-0 enable_api_ms_win_downlevel_shlwapi_l2_1_0
17073 wine_fn_config_dll api-ms-win-downlevel-user32-l1-1-0 enable_api_ms_win_downlevel_user32_l1_1_0
17074 wine_fn_config_dll api-ms-win-downlevel-version-l1-1-0 enable_api_ms_win_downlevel_version_l1_1_0
17075 wine_fn_config_dll api-ms-win-eventing-provider-l1-1-0 enable_api_ms_win_eventing_provider_l1_1_0
17076 wine_fn_config_dll api-ms-win-ntuser-dc-access-l1-1-0 enable_api_ms_win_ntuser_dc_access_l1_1_0
17077 wine_fn_config_dll api-ms-win-security-base-l1-1-0 enable_api_ms_win_security_base_l1_1_0
17078 wine_fn_config_dll api-ms-win-security-base-l1-2-0 enable_api_ms_win_security_base_l1_2_0
17079 wine_fn_config_dll api-ms-win-security-sddl-l1-1-0 enable_api_ms_win_security_sddl_l1_1_0
17080 wine_fn_config_dll api-ms-win-service-core-l1-1-1 enable_api_ms_win_service_core_l1_1_1
17081 wine_fn_config_dll api-ms-win-service-management-l1-1-0 enable_api_ms_win_service_management_l1_1_0
17082 wine_fn_config_dll api-ms-win-service-winsvc-l1-2-0 enable_api_ms_win_service_winsvc_l1_2_0
17083 wine_fn_config_dll apphelp enable_apphelp
17084 wine_fn_config_test dlls
/apphelp
/tests apphelp_test
17085 wine_fn_config_dll appwiz.cpl enable_appwiz_cpl po
17086 wine_fn_config_dll atl enable_atl clean
,implib
17087 wine_fn_config_test dlls
/atl
/tests atl_test
17088 wine_fn_config_dll atl100 enable_atl100 clean
,implib
17089 wine_fn_config_test dlls
/atl100
/tests atl100_test
17090 wine_fn_config_dll atl110 enable_atl110 clean
17091 wine_fn_config_dll atl80 enable_atl80 clean
,implib
17092 wine_fn_config_test dlls
/atl80
/tests atl80_test
17093 wine_fn_config_dll atl90 enable_atl90 clean
17094 wine_fn_config_dll authz enable_authz
17095 wine_fn_config_dll avicap32 enable_avicap32 implib
17096 wine_fn_config_dll avifil32 enable_avifil32 clean
,implib
,po
17097 wine_fn_config_test dlls
/avifil32
/tests avifil32_test
17098 wine_fn_config_dll avifile.dll16 enable_win16
17099 wine_fn_config_dll avrt enable_avrt implib
17100 wine_fn_config_dll bcrypt enable_bcrypt
17101 wine_fn_config_test dlls
/bcrypt
/tests bcrypt_test
17102 wine_fn_config_dll browseui enable_browseui clean
,po
17103 wine_fn_config_test dlls
/browseui
/tests browseui_test
17104 wine_fn_config_dll cabinet enable_cabinet implib
17105 wine_fn_config_test dlls
/cabinet
/tests cabinet_test
17106 wine_fn_config_dll capi2032 enable_capi2032 implib
17107 wine_fn_config_dll cards enable_cards implib
17108 wine_fn_config_dll cfgmgr32 enable_cfgmgr32 implib
17109 wine_fn_config_dll clusapi enable_clusapi implib
17110 wine_fn_config_dll combase enable_combase
17111 wine_fn_config_test dlls
/combase
/tests combase_test
17112 wine_fn_config_dll comcat enable_comcat
17113 wine_fn_config_test dlls
/comcat
/tests comcat_test
17114 wine_fn_config_dll comctl32 enable_comctl32 implib
,po
17115 wine_fn_config_test dlls
/comctl32
/tests comctl32_test
17116 wine_fn_config_dll comdlg32 enable_comdlg32 clean
,implib
,po
17117 wine_fn_config_test dlls
/comdlg32
/tests comdlg32_test
17118 wine_fn_config_dll
comm.drv16 enable_win16
17119 wine_fn_config_dll commdlg.dll16 enable_win16
17120 wine_fn_config_dll compobj.dll16 enable_win16
17121 wine_fn_config_dll compstui enable_compstui implib
17122 wine_fn_config_dll comsvcs enable_comsvcs implib
17123 wine_fn_config_dll connect enable_connect
17124 wine_fn_config_dll credui enable_credui implib
,po
17125 wine_fn_config_test dlls
/credui
/tests credui_test
17126 wine_fn_config_dll crtdll enable_crtdll implib
17127 wine_fn_config_dll crypt32 enable_crypt32 implib
,po
17128 wine_fn_config_test dlls
/crypt32
/tests crypt32_test
17129 wine_fn_config_dll cryptdlg enable_cryptdlg po
17130 wine_fn_config_dll cryptdll enable_cryptdll implib
17131 wine_fn_config_dll cryptext enable_cryptext
17132 wine_fn_config_dll cryptnet enable_cryptnet implib
17133 wine_fn_config_test dlls
/cryptnet
/tests cryptnet_test
17134 wine_fn_config_dll cryptui enable_cryptui implib
,po
17135 wine_fn_config_test dlls
/cryptui
/tests cryptui_test
17136 wine_fn_config_dll ctapi32 enable_ctapi32
17137 wine_fn_config_dll ctl3d.dll16 enable_win16
17138 wine_fn_config_dll ctl3d32 enable_ctl3d32 implib
17139 wine_fn_config_dll ctl3dv2.dll16 enable_win16
17140 wine_fn_config_dll d2d1 enable_d2d1 implib
17141 wine_fn_config_test dlls
/d2d
1/tests d2d1_test
17142 wine_fn_config_dll d3d10 enable_d3d10 implib
17143 wine_fn_config_test dlls
/d3d10
/tests d3d10_test
17144 wine_fn_config_dll d3d10_1 enable_d3d10_1 implib
17145 wine_fn_config_dll d3d10core enable_d3d10core implib
17146 wine_fn_config_test dlls
/d3d10core
/tests d3d10core_test
17147 wine_fn_config_dll d3d11 enable_d3d11
17148 wine_fn_config_dll d3d8 enable_d3d8 implib
17149 wine_fn_config_test dlls
/d3d
8/tests d3d8_test
17150 wine_fn_config_dll d3d9 enable_d3d9 implib
17151 wine_fn_config_test dlls
/d3d
9/tests d3d9_test
17152 wine_fn_config_dll d3dcompiler_33 enable_d3dcompiler_33
17153 wine_fn_config_dll d3dcompiler_34 enable_d3dcompiler_34
17154 wine_fn_config_dll d3dcompiler_35 enable_d3dcompiler_35
17155 wine_fn_config_dll d3dcompiler_36 enable_d3dcompiler_36
17156 wine_fn_config_dll d3dcompiler_37 enable_d3dcompiler_37
17157 wine_fn_config_dll d3dcompiler_38 enable_d3dcompiler_38
17158 wine_fn_config_dll d3dcompiler_39 enable_d3dcompiler_39
17159 wine_fn_config_dll d3dcompiler_40 enable_d3dcompiler_40
17160 wine_fn_config_dll d3dcompiler_41 enable_d3dcompiler_41
17161 wine_fn_config_dll d3dcompiler_42 enable_d3dcompiler_42
17162 wine_fn_config_dll d3dcompiler_43 enable_d3dcompiler_43 implib d3dcompiler
17163 wine_fn_config_test dlls
/d3dcompiler_43
/tests d3dcompiler_43_test
17164 wine_fn_config_dll d3dim enable_d3dim implib
17165 wine_fn_config_dll d3drm enable_d3drm implib
17166 wine_fn_config_test dlls
/d3drm
/tests d3drm_test
17167 wine_fn_config_dll d3dx10_33 enable_d3dx10_33
17168 wine_fn_config_dll d3dx10_34 enable_d3dx10_34
17169 wine_fn_config_dll d3dx10_35 enable_d3dx10_35
17170 wine_fn_config_dll d3dx10_36 enable_d3dx10_36
17171 wine_fn_config_dll d3dx10_37 enable_d3dx10_37
17172 wine_fn_config_dll d3dx10_38 enable_d3dx10_38
17173 wine_fn_config_dll d3dx10_39 enable_d3dx10_39
17174 wine_fn_config_dll d3dx10_40 enable_d3dx10_40
17175 wine_fn_config_dll d3dx10_41 enable_d3dx10_41
17176 wine_fn_config_dll d3dx10_42 enable_d3dx10_42
17177 wine_fn_config_dll d3dx10_43 enable_d3dx10_43
17178 wine_fn_config_dll d3dx11_42 enable_d3dx11_42
17179 wine_fn_config_dll d3dx11_43 enable_d3dx11_43
17180 wine_fn_config_dll d3dx9_24 enable_d3dx9_24
17181 wine_fn_config_dll d3dx9_25 enable_d3dx9_25
17182 wine_fn_config_dll d3dx9_26 enable_d3dx9_26
17183 wine_fn_config_dll d3dx9_27 enable_d3dx9_27
17184 wine_fn_config_dll d3dx9_28 enable_d3dx9_28
17185 wine_fn_config_dll d3dx9_29 enable_d3dx9_29
17186 wine_fn_config_dll d3dx9_30 enable_d3dx9_30
17187 wine_fn_config_dll d3dx9_31 enable_d3dx9_31
17188 wine_fn_config_dll d3dx9_32 enable_d3dx9_32
17189 wine_fn_config_dll d3dx9_33 enable_d3dx9_33
17190 wine_fn_config_dll d3dx9_34 enable_d3dx9_34
17191 wine_fn_config_dll d3dx9_35 enable_d3dx9_35
17192 wine_fn_config_dll d3dx9_36 enable_d3dx9_36 implib d3dx9
17193 wine_fn_config_test dlls
/d3dx9_36
/tests d3dx9_36_test
17194 wine_fn_config_dll d3dx9_37 enable_d3dx9_37
17195 wine_fn_config_dll d3dx9_38 enable_d3dx9_38
17196 wine_fn_config_dll d3dx9_39 enable_d3dx9_39
17197 wine_fn_config_dll d3dx9_40 enable_d3dx9_40
17198 wine_fn_config_dll d3dx9_41 enable_d3dx9_41
17199 wine_fn_config_dll d3dx9_42 enable_d3dx9_42
17200 wine_fn_config_dll d3dx9_43 enable_d3dx9_43
17201 wine_fn_config_dll d3dxof enable_d3dxof clean
,implib
17202 wine_fn_config_test dlls
/d3dxof
/tests d3dxof_test
17203 wine_fn_config_dll dbgeng enable_dbgeng implib
17204 wine_fn_config_dll dbghelp enable_dbghelp implib
17205 wine_fn_config_dll dciman32 enable_dciman32 implib
17206 wine_fn_config_dll ddeml.dll16 enable_win16
17207 wine_fn_config_dll ddraw enable_ddraw clean
,implib
17208 wine_fn_config_test dlls
/ddraw
/tests ddraw_test
17209 wine_fn_config_dll ddrawex enable_ddrawex clean
17210 wine_fn_config_test dlls
/ddrawex
/tests ddrawex_test
17211 wine_fn_config_dll devenum enable_devenum clean
,po
17212 wine_fn_config_test dlls
/devenum
/tests devenum_test
17213 wine_fn_config_dll dhcpcsvc enable_dhcpcsvc
17214 wine_fn_config_dll difxapi enable_difxapi
17215 wine_fn_config_dll dinput enable_dinput clean
,implib
,po
,staticimplib
17216 wine_fn_config_test dlls
/dinput
/tests dinput_test
17217 wine_fn_config_dll dinput8 enable_dinput8 clean
,implib
17218 wine_fn_config_test dlls
/dinput
8/tests dinput8_test
17219 wine_fn_config_dll dispdib.dll16 enable_win16
17220 wine_fn_config_dll dispex enable_dispex clean
17221 wine_fn_config_test dlls
/dispex
/tests dispex_test
17222 wine_fn_config_dll display.drv16 enable_win16
17223 wine_fn_config_dll dmband enable_dmband clean
17224 wine_fn_config_test dlls
/dmband
/tests dmband_test
17225 wine_fn_config_dll dmcompos enable_dmcompos clean
17226 wine_fn_config_test dlls
/dmcompos
/tests dmcompos_test
17227 wine_fn_config_dll dmime enable_dmime clean
17228 wine_fn_config_test dlls
/dmime
/tests dmime_test
17229 wine_fn_config_dll dmloader enable_dmloader clean
17230 wine_fn_config_test dlls
/dmloader
/tests dmloader_test
17231 wine_fn_config_dll dmscript enable_dmscript clean
17232 wine_fn_config_test dlls
/dmscript
/tests dmscript_test
17233 wine_fn_config_dll dmstyle enable_dmstyle clean
17234 wine_fn_config_test dlls
/dmstyle
/tests dmstyle_test
17235 wine_fn_config_dll dmsynth enable_dmsynth clean
17236 wine_fn_config_test dlls
/dmsynth
/tests dmsynth_test
17237 wine_fn_config_dll dmusic enable_dmusic clean
17238 wine_fn_config_test dlls
/dmusic
/tests dmusic_test
17239 wine_fn_config_dll dmusic32 enable_dmusic32 implib
17240 wine_fn_config_dll dnsapi enable_dnsapi implib
17241 wine_fn_config_test dlls
/dnsapi
/tests dnsapi_test
17242 wine_fn_config_dll dplay enable_dplay implib
17243 wine_fn_config_dll dplayx enable_dplayx clean
,implib
17244 wine_fn_config_test dlls
/dplayx
/tests dplayx_test
17245 wine_fn_config_dll dpnaddr enable_dpnaddr
17246 wine_fn_config_dll dpnet enable_dpnet clean
,implib
17247 wine_fn_config_test dlls
/dpnet
/tests dpnet_test
17248 wine_fn_config_dll dpnhpast enable_dpnhpast
17249 wine_fn_config_dll dpnlobby enable_dpnlobby
17250 wine_fn_config_dll dpvoice enable_dpvoice clean
17251 wine_fn_config_test dlls
/dpvoice
/tests dpvoice_test
17252 wine_fn_config_dll dpwsockx enable_dpwsockx
17253 wine_fn_config_dll drmclien enable_drmclien
17254 wine_fn_config_dll dsound enable_dsound clean
,implib
17255 wine_fn_config_test dlls
/dsound
/tests dsound_test
17256 wine_fn_config_dll dssenh enable_dssenh
17257 wine_fn_config_test dlls
/dssenh
/tests dssenh_test
17258 wine_fn_config_dll dswave enable_dswave clean
17259 wine_fn_config_test dlls
/dswave
/tests dswave_test
17260 wine_fn_config_dll dwmapi enable_dwmapi implib
17261 wine_fn_config_dll dwrite enable_dwrite implib
17262 wine_fn_config_test dlls
/dwrite
/tests dwrite_test
17263 wine_fn_config_dll dxdiagn enable_dxdiagn clean
,po
17264 wine_fn_config_test dlls
/dxdiagn
/tests dxdiagn_test
17265 wine_fn_config_lib dxerr8
17266 wine_fn_config_lib dxerr9
17267 wine_fn_config_dll dxgi enable_dxgi implib
17268 wine_fn_config_test dlls
/dxgi
/tests dxgi_test
17269 wine_fn_config_lib dxguid
17270 wine_fn_config_dll dxva2 enable_dxva2
17271 wine_fn_config_dll evr enable_evr
17272 wine_fn_config_dll explorerframe enable_explorerframe clean
17273 wine_fn_config_test dlls
/explorerframe
/tests explorerframe_test
17274 wine_fn_config_dll ext-ms-win-gdi-devcaps-l1-1-0 enable_ext_ms_win_gdi_devcaps_l1_1_0
17275 wine_fn_config_dll faultrep enable_faultrep implib
17276 wine_fn_config_test dlls
/faultrep
/tests faultrep_test
17277 wine_fn_config_dll fltlib enable_fltlib
17278 wine_fn_config_dll fntcache enable_fntcache
17279 wine_fn_config_dll fontsub enable_fontsub
17280 wine_fn_config_dll fusion enable_fusion
17281 wine_fn_config_test dlls
/fusion
/tests fusion_test
17282 wine_fn_config_dll fwpuclnt enable_fwpuclnt
17283 wine_fn_config_dll gameux enable_gameux clean
17284 wine_fn_config_test dlls
/gameux
/tests gameux_test
17285 wine_fn_config_dll gdi.exe16 enable_win16
17286 wine_fn_config_dll gdi32 enable_gdi32 clean
,implib
,po
17287 wine_fn_config_test dlls
/gdi32
/tests gdi32_test
17288 wine_fn_config_dll gdiplus enable_gdiplus implib
17289 wine_fn_config_test dlls
/gdiplus
/tests gdiplus_test
17290 wine_fn_config_dll glu32 enable_glu32 implib
17291 wine_fn_config_dll gphoto2.ds enable_gphoto2_ds po
17292 wine_fn_config_dll gpkcsp enable_gpkcsp
17293 wine_fn_config_dll hal enable_hal
17294 wine_fn_config_dll hhctrl.ocx enable_hhctrl_ocx clean
,implib
,po htmlhelp
17295 wine_fn_config_dll hid enable_hid implib
17296 wine_fn_config_dll hlink enable_hlink clean
,implib
17297 wine_fn_config_test dlls
/hlink
/tests hlink_test
17298 wine_fn_config_dll hnetcfg enable_hnetcfg clean
17299 wine_fn_config_dll httpapi enable_httpapi
17300 wine_fn_config_dll iccvid enable_iccvid po
17301 wine_fn_config_dll icmp enable_icmp
17302 wine_fn_config_dll ieframe enable_ieframe clean
,implib
,po
17303 wine_fn_config_test dlls
/ieframe
/tests ieframe_test
17304 wine_fn_config_dll ifsmgr.vxd enable_win16
17305 wine_fn_config_dll imaadp32.acm enable_imaadp32_acm
17306 wine_fn_config_dll imagehlp enable_imagehlp implib
17307 wine_fn_config_test dlls
/imagehlp
/tests imagehlp_test
17308 wine_fn_config_dll imm.dll16 enable_win16
17309 wine_fn_config_dll imm32 enable_imm32 implib
17310 wine_fn_config_test dlls
/imm32
/tests imm32_test
17311 wine_fn_config_dll inetcomm enable_inetcomm clean
,implib
17312 wine_fn_config_test dlls
/inetcomm
/tests inetcomm_test
17313 wine_fn_config_dll inetcpl.cpl enable_inetcpl_cpl po
17314 wine_fn_config_dll inetmib1 enable_inetmib1
17315 wine_fn_config_test dlls
/inetmib
1/tests inetmib1_test
17316 wine_fn_config_dll infosoft enable_infosoft clean
17317 wine_fn_config_test dlls
/infosoft
/tests infosoft_test
17318 wine_fn_config_dll initpki enable_initpki
17319 wine_fn_config_dll inkobj enable_inkobj
17320 wine_fn_config_dll inseng enable_inseng clean
17321 wine_fn_config_dll iphlpapi enable_iphlpapi implib
17322 wine_fn_config_test dlls
/iphlpapi
/tests iphlpapi_test
17323 wine_fn_config_dll itircl enable_itircl
17324 wine_fn_config_dll itss enable_itss clean
17325 wine_fn_config_test dlls
/itss
/tests itss_test
17326 wine_fn_config_dll joy.cpl enable_joy_cpl po
17327 wine_fn_config_dll jscript enable_jscript clean
,po
17328 wine_fn_config_test dlls
/jscript
/tests jscript_test
17329 wine_fn_config_dll jsproxy enable_jsproxy implib
17330 wine_fn_config_dll kernel32 enable_kernel32 clean
,implib
,mc
17331 wine_fn_config_test dlls
/kernel32
/tests kernel32_test
17332 wine_fn_config_dll keyboard.drv16 enable_win16
17333 wine_fn_config_dll krnl386.exe16 enable_win16 implib kernel
17334 wine_fn_config_dll ksuser enable_ksuser
17335 wine_fn_config_dll ktmw32 enable_ktmw32
17336 wine_fn_config_dll loadperf enable_loadperf implib
17337 wine_fn_config_dll localspl enable_localspl po
17338 wine_fn_config_test dlls
/localspl
/tests localspl_test
17339 wine_fn_config_dll localui enable_localui po
17340 wine_fn_config_test dlls
/localui
/tests localui_test
17341 wine_fn_config_dll lz32 enable_lz32 implib
17342 wine_fn_config_test dlls
/lz32
/tests lz32_test
17343 wine_fn_config_dll lzexpand.dll16 enable_win16
17344 wine_fn_config_dll mapi32 enable_mapi32 implib
,po
17345 wine_fn_config_test dlls
/mapi32
/tests mapi32_test
17346 wine_fn_config_dll mapistub enable_mapistub
17347 wine_fn_config_dll mciavi32 enable_mciavi32
17348 wine_fn_config_dll mcicda enable_mcicda
17349 wine_fn_config_dll mciqtz32 enable_mciqtz32
17350 wine_fn_config_dll mciseq enable_mciseq
17351 wine_fn_config_dll mciwave enable_mciwave
17352 wine_fn_config_dll mf enable_mf
17353 wine_fn_config_dll mfplat enable_mfplat
17354 wine_fn_config_dll mfreadwrite enable_mfreadwrite
17355 wine_fn_config_dll mgmtapi enable_mgmtapi
17356 wine_fn_config_dll midimap enable_midimap
17357 wine_fn_config_dll mlang enable_mlang clean
,implib
17358 wine_fn_config_test dlls
/mlang
/tests mlang_test
17359 wine_fn_config_dll mmcndmgr enable_mmcndmgr clean
17360 wine_fn_config_test dlls
/mmcndmgr
/tests mmcndmgr_test
17361 wine_fn_config_dll mmdevapi enable_mmdevapi clean
17362 wine_fn_config_test dlls
/mmdevapi
/tests mmdevapi_test
17363 wine_fn_config_dll mmdevldr.vxd enable_win16
17364 wine_fn_config_dll mmsystem.dll16 enable_win16
17365 wine_fn_config_dll monodebg.vxd enable_win16
17366 wine_fn_config_dll mountmgr.sys enable_mountmgr_sys
17367 wine_fn_config_dll mouse.drv16 enable_win16
17368 wine_fn_config_dll mpr enable_mpr implib
,po
17369 wine_fn_config_test dlls
/mpr
/tests mpr_test
17370 wine_fn_config_dll mprapi enable_mprapi implib
17371 wine_fn_config_dll msacm.dll16 enable_win16
17372 wine_fn_config_dll msacm32.drv enable_msacm32_drv
17373 wine_fn_config_dll msacm32 enable_msacm32 implib
,po
17374 wine_fn_config_test dlls
/msacm32
/tests msacm32_test
17375 wine_fn_config_dll msadp32.acm enable_msadp32_acm
17376 wine_fn_config_dll msasn1 enable_msasn1 implib
17377 wine_fn_config_dll mscat32 enable_mscat32
17378 wine_fn_config_dll mscms enable_mscms implib
17379 wine_fn_config_test dlls
/mscms
/tests mscms_test
17380 wine_fn_config_dll mscoree enable_mscoree clean
17381 wine_fn_config_test dlls
/mscoree
/tests mscoree_test
17382 wine_fn_config_dll msctf enable_msctf clean
17383 wine_fn_config_test dlls
/msctf
/tests msctf_test
17384 wine_fn_config_dll msctfp enable_msctfp clean
17385 wine_fn_config_dll msdaps enable_msdaps clean
17386 wine_fn_config_dll msdmo enable_msdmo implib
17387 wine_fn_config_test dlls
/msdmo
/tests msdmo_test
17388 wine_fn_config_dll msftedit enable_msftedit
17389 wine_fn_config_dll msg711.acm enable_msg711_acm
17390 wine_fn_config_dll msgsm32.acm enable_msgsm32_acm
17391 wine_fn_config_dll mshtml.tlb enable_mshtml_tlb clean
17392 wine_fn_config_dll mshtml enable_mshtml clean
,implib
,po
17393 wine_fn_config_test dlls
/mshtml
/tests mshtml_test clean
17394 wine_fn_config_dll msi enable_msi clean
,implib
,po
17395 wine_fn_config_test dlls
/msi
/tests msi_test
17396 wine_fn_config_dll msident enable_msident clean
17397 wine_fn_config_dll msimg32 enable_msimg32 implib
17398 wine_fn_config_dll msimsg enable_msimsg
17399 wine_fn_config_dll msimtf enable_msimtf clean
17400 wine_fn_config_dll msisip enable_msisip
17401 wine_fn_config_dll msisys.ocx enable_msisys_ocx
17402 wine_fn_config_dll msls31 enable_msls31
17403 wine_fn_config_dll msnet32 enable_msnet32
17404 wine_fn_config_dll mspatcha enable_mspatcha implib
17405 wine_fn_config_dll msrle32 enable_msrle32 po
17406 wine_fn_config_test dlls
/msrle32
/tests msrle32_test
17407 wine_fn_config_dll mssign32 enable_mssign32
17408 wine_fn_config_dll mssip32 enable_mssip32
17409 wine_fn_config_dll mstask enable_mstask clean
17410 wine_fn_config_test dlls
/mstask
/tests mstask_test
17411 wine_fn_config_dll msvcirt enable_msvcirt
17412 wine_fn_config_dll msvcm80 enable_msvcm80
17413 wine_fn_config_dll msvcm90 enable_msvcm90
17414 wine_fn_config_dll msvcp100 enable_msvcp100
17415 wine_fn_config_test dlls
/msvcp100
/tests msvcp100_test
17416 wine_fn_config_dll msvcp110 enable_msvcp110
17417 wine_fn_config_dll msvcp120 enable_msvcp120
17418 wine_fn_config_test dlls
/msvcp120
/tests msvcp120_test
17419 wine_fn_config_dll msvcp120_app enable_msvcp120_app
17420 wine_fn_config_dll msvcp60 enable_msvcp60
17421 wine_fn_config_test dlls
/msvcp60
/tests msvcp60_test
17422 wine_fn_config_dll msvcp70 enable_msvcp70
17423 wine_fn_config_dll msvcp71 enable_msvcp71
17424 wine_fn_config_dll msvcp80 enable_msvcp80
17425 wine_fn_config_dll msvcp90 enable_msvcp90
17426 wine_fn_config_test dlls
/msvcp90
/tests msvcp90_test
17427 wine_fn_config_dll msvcr100 enable_msvcr100 implib
17428 wine_fn_config_test dlls
/msvcr100
/tests msvcr100_test
17429 wine_fn_config_dll msvcr110 enable_msvcr110 implib
17430 wine_fn_config_dll msvcr120 enable_msvcr120 implib
17431 wine_fn_config_test dlls
/msvcr120
/tests msvcr120_test
17432 wine_fn_config_dll msvcr120_app enable_msvcr120_app
17433 wine_fn_config_dll msvcr70 enable_msvcr70 implib
17434 wine_fn_config_dll msvcr71 enable_msvcr71 implib
17435 wine_fn_config_dll msvcr80 enable_msvcr80 implib
17436 wine_fn_config_dll msvcr90 enable_msvcr90 implib
17437 wine_fn_config_test dlls
/msvcr90
/tests msvcr90_test
17438 wine_fn_config_dll msvcrt enable_msvcrt implib
17439 wine_fn_config_test dlls
/msvcrt
/tests msvcrt_test
17440 wine_fn_config_dll msvcrt20 enable_msvcrt20 implib
17441 wine_fn_config_dll msvcrt40 enable_msvcrt40 implib
17442 wine_fn_config_dll msvcrtd enable_msvcrtd implib
17443 wine_fn_config_test dlls
/msvcrtd
/tests msvcrtd_test
17444 wine_fn_config_dll msvfw32 enable_msvfw32 implib
,po
17445 wine_fn_config_test dlls
/msvfw32
/tests msvfw32_test
17446 wine_fn_config_dll msvidc32 enable_msvidc32 po
17447 wine_fn_config_dll msvideo.dll16 enable_win16
17448 wine_fn_config_dll mswsock enable_mswsock implib
17449 wine_fn_config_dll msxml enable_msxml clean
17450 wine_fn_config_dll msxml2 enable_msxml2 clean
17451 wine_fn_config_dll msxml3 enable_msxml3 clean
17452 wine_fn_config_test dlls
/msxml
3/tests msxml3_test clean
17453 wine_fn_config_dll msxml4 enable_msxml4 clean
17454 wine_fn_config_dll msxml6 enable_msxml6 clean
17455 wine_fn_config_dll nddeapi enable_nddeapi implib
17456 wine_fn_config_dll ndis.sys enable_ndis_sys
17457 wine_fn_config_dll netapi32 enable_netapi32 implib
17458 wine_fn_config_test dlls
/netapi32
/tests netapi32_test
17459 wine_fn_config_dll netcfgx enable_netcfgx clean
17460 wine_fn_config_test dlls
/netcfgx
/tests netcfgx_test
17461 wine_fn_config_dll netprofm enable_netprofm clean
17462 wine_fn_config_test dlls
/netprofm
/tests netprofm_test
17463 wine_fn_config_dll newdev enable_newdev implib
17464 wine_fn_config_dll normaliz enable_normaliz implib
17465 wine_fn_config_dll npmshtml enable_npmshtml
17466 wine_fn_config_dll npptools enable_npptools
17467 wine_fn_config_dll ntdll enable_ntdll implib
17468 wine_fn_config_test dlls
/ntdll
/tests ntdll_test
17469 wine_fn_config_dll ntdsapi enable_ntdsapi implib
17470 wine_fn_config_test dlls
/ntdsapi
/tests ntdsapi_test
17471 wine_fn_config_dll ntoskrnl.exe enable_ntoskrnl_exe implib
17472 wine_fn_config_dll ntprint enable_ntprint
17473 wine_fn_config_test dlls
/ntprint
/tests ntprint_test
17474 wine_fn_config_dll objsel enable_objsel clean
17475 wine_fn_config_dll odbc32 enable_odbc32 implib
17476 wine_fn_config_dll odbccp32 enable_odbccp32 implib
17477 wine_fn_config_test dlls
/odbccp32
/tests odbccp32_test
17478 wine_fn_config_dll odbccu32 enable_odbccu32
17479 wine_fn_config_dll ole2.dll16 enable_win16
17480 wine_fn_config_dll ole2conv.dll16 enable_win16
17481 wine_fn_config_dll ole2disp.dll16 enable_win16
17482 wine_fn_config_dll ole2nls.dll16 enable_win16
17483 wine_fn_config_dll ole2prox.dll16 enable_win16
17484 wine_fn_config_dll ole2thk.dll16 enable_win16
17485 wine_fn_config_dll ole32 enable_ole32 clean
,implib
17486 wine_fn_config_test dlls
/ole32
/tests ole32_test
17487 wine_fn_config_dll oleacc enable_oleacc clean
,implib
,po
17488 wine_fn_config_test dlls
/oleacc
/tests oleacc_test
17489 wine_fn_config_dll oleaut32 enable_oleaut32 clean
,implib
,po
17490 wine_fn_config_test dlls
/oleaut32
/tests oleaut32_test clean
17491 wine_fn_config_dll olecli.dll16 enable_win16
17492 wine_fn_config_dll olecli32 enable_olecli32 implib
17493 wine_fn_config_dll oledb32 enable_oledb32 clean
17494 wine_fn_config_test dlls
/oledb32
/tests oledb32_test clean
17495 wine_fn_config_dll oledlg enable_oledlg implib
,po
17496 wine_fn_config_test dlls
/oledlg
/tests oledlg_test
17497 wine_fn_config_dll olepro32 enable_olepro32 implib
17498 wine_fn_config_dll olesvr.dll16 enable_win16
17499 wine_fn_config_dll olesvr32 enable_olesvr32 implib
17500 wine_fn_config_dll olethk32 enable_olethk32
17501 wine_fn_config_dll openal32 enable_openal32
17502 wine_fn_config_dll opencl enable_opencl
17503 wine_fn_config_dll opengl32 enable_opengl32 implib
17504 wine_fn_config_test dlls
/opengl32
/tests opengl32_test
17505 wine_fn_config_dll packager enable_packager clean
17506 wine_fn_config_test dlls
/packager
/tests packager_test
17507 wine_fn_config_dll pdh enable_pdh implib
17508 wine_fn_config_test dlls
/pdh
/tests pdh_test
17509 wine_fn_config_dll photometadatahandler enable_photometadatahandler
17510 wine_fn_config_dll pidgen enable_pidgen
17511 wine_fn_config_dll powrprof enable_powrprof implib
17512 wine_fn_config_dll printui enable_printui
17513 wine_fn_config_dll prntvpt enable_prntvpt
17514 wine_fn_config_dll propsys enable_propsys clean
,implib
17515 wine_fn_config_test dlls
/propsys
/tests propsys_test
17516 wine_fn_config_dll psapi enable_psapi implib
17517 wine_fn_config_test dlls
/psapi
/tests psapi_test
17518 wine_fn_config_dll pstorec enable_pstorec clean
17519 wine_fn_config_dll qcap enable_qcap
17520 wine_fn_config_test dlls
/qcap
/tests qcap_test
17521 wine_fn_config_dll qedit enable_qedit clean
17522 wine_fn_config_test dlls
/qedit
/tests qedit_test
17523 wine_fn_config_dll qmgr enable_qmgr clean
17524 wine_fn_config_test dlls
/qmgr
/tests qmgr_test
17525 wine_fn_config_dll qmgrprxy enable_qmgrprxy clean
17526 wine_fn_config_dll quartz enable_quartz clean
,implib
17527 wine_fn_config_test dlls
/quartz
/tests quartz_test clean
17528 wine_fn_config_dll query enable_query
17529 wine_fn_config_dll rasapi16.dll16 enable_win16
17530 wine_fn_config_dll rasapi32 enable_rasapi32 implib
17531 wine_fn_config_test dlls
/rasapi32
/tests rasapi32_test
17532 wine_fn_config_dll rasdlg enable_rasdlg implib
17533 wine_fn_config_dll regapi enable_regapi
17534 wine_fn_config_dll resutils enable_resutils implib
17535 wine_fn_config_dll riched20 enable_riched20 clean
,implib
17536 wine_fn_config_test dlls
/riched20
/tests riched20_test
17537 wine_fn_config_dll riched32 enable_riched32
17538 wine_fn_config_test dlls
/riched32
/tests riched32_test
17539 wine_fn_config_dll rpcrt4 enable_rpcrt4 clean
,implib
17540 wine_fn_config_test dlls
/rpcrt
4/tests rpcrt4_test clean
17541 wine_fn_config_dll rsabase enable_rsabase
17542 wine_fn_config_dll rsaenh enable_rsaenh implib
17543 wine_fn_config_test dlls
/rsaenh
/tests rsaenh_test
17544 wine_fn_config_dll rstrtmgr enable_rstrtmgr
17545 wine_fn_config_dll rtutils enable_rtutils implib
17546 wine_fn_config_dll samlib enable_samlib
17547 wine_fn_config_dll sane.ds enable_sane_ds po
17548 wine_fn_config_dll scarddlg enable_scarddlg
17549 wine_fn_config_dll sccbase enable_sccbase
17550 wine_fn_config_dll schannel enable_schannel
17551 wine_fn_config_test dlls
/schannel
/tests schannel_test
17552 wine_fn_config_dll schedsvc enable_schedsvc clean
17553 wine_fn_config_test dlls
/schedsvc
/tests schedsvc_test clean
17554 wine_fn_config_dll scrrun enable_scrrun clean
17555 wine_fn_config_test dlls
/scrrun
/tests scrrun_test clean
17556 wine_fn_config_dll scsiport.sys enable_scsiport_sys
17557 wine_fn_config_dll secur32 enable_secur32 implib
17558 wine_fn_config_test dlls
/secur32
/tests secur32_test
17559 wine_fn_config_dll security enable_security
17560 wine_fn_config_dll sensapi enable_sensapi implib
17561 wine_fn_config_dll serialui enable_serialui implib
,po
17562 wine_fn_config_test dlls
/serialui
/tests serialui_test
17563 wine_fn_config_dll setupapi enable_setupapi implib
,po
17564 wine_fn_config_test dlls
/setupapi
/tests setupapi_test
17565 wine_fn_config_dll setupx.dll16 enable_win16
17566 wine_fn_config_dll sfc enable_sfc implib
17567 wine_fn_config_dll sfc_os enable_sfc_os implib
17568 wine_fn_config_dll shdoclc enable_shdoclc po
17569 wine_fn_config_dll shdocvw enable_shdocvw clean
,implib
17570 wine_fn_config_test dlls
/shdocvw
/tests shdocvw_test
17571 wine_fn_config_dll shell.dll16 enable_win16
17572 wine_fn_config_dll shell32 enable_shell32 clean
,implib
,po
17573 wine_fn_config_test dlls
/shell32
/tests shell32_test
17574 wine_fn_config_dll shfolder enable_shfolder implib
17575 wine_fn_config_dll shlwapi enable_shlwapi implib
,po
17576 wine_fn_config_test dlls
/shlwapi
/tests shlwapi_test
17577 wine_fn_config_dll slbcsp enable_slbcsp
17578 wine_fn_config_dll slc enable_slc implib
17579 wine_fn_config_test dlls
/slc
/tests slc_test
17580 wine_fn_config_dll snmpapi enable_snmpapi implib
17581 wine_fn_config_test dlls
/snmpapi
/tests snmpapi_test
17582 wine_fn_config_dll softpub enable_softpub
17583 wine_fn_config_dll sound.drv16 enable_win16
17584 wine_fn_config_dll spoolss enable_spoolss implib
17585 wine_fn_config_test dlls
/spoolss
/tests spoolss_test
17586 wine_fn_config_dll stdole2.tlb enable_stdole2_tlb clean
17587 wine_fn_config_dll stdole32.tlb enable_stdole32_tlb clean
17588 wine_fn_config_dll sti enable_sti clean
,implib
17589 wine_fn_config_test dlls
/sti
/tests sti_test
17590 wine_fn_config_dll storage.dll16 enable_win16
17591 wine_fn_config_dll stress.dll16 enable_win16
17592 wine_fn_config_lib strmbase
17593 wine_fn_config_lib strmiids
17594 wine_fn_config_dll svrapi enable_svrapi
17595 wine_fn_config_dll sxs enable_sxs implib
17596 wine_fn_config_test dlls
/sxs
/tests sxs_test
17597 wine_fn_config_dll system.drv16 enable_win16
17598 wine_fn_config_dll t2embed enable_t2embed
17599 wine_fn_config_dll tapi32 enable_tapi32 implib
17600 wine_fn_config_dll taskschd enable_taskschd clean
17601 wine_fn_config_test dlls
/taskschd
/tests taskschd_test
17602 wine_fn_config_dll toolhelp.dll16 enable_win16
17603 wine_fn_config_dll traffic enable_traffic
17604 wine_fn_config_dll twain.dll16 enable_win16
17605 wine_fn_config_dll twain_32 enable_twain_32
17606 wine_fn_config_test dlls
/twain_32
/tests twain_32_test
17607 wine_fn_config_dll typelib.dll16 enable_win16
17608 wine_fn_config_dll unicows enable_unicows implib
17609 wine_fn_config_dll updspapi enable_updspapi
17610 wine_fn_config_dll url enable_url implib
17611 wine_fn_config_dll urlmon enable_urlmon clean
,implib
,po
17612 wine_fn_config_test dlls
/urlmon
/tests urlmon_test
17613 wine_fn_config_dll usbd.sys enable_usbd_sys implib
17614 wine_fn_config_dll user.exe16 enable_win16
17615 wine_fn_config_dll user32 enable_user32 clean
,implib
,po
17616 wine_fn_config_test dlls
/user32
/tests user32_test
17617 wine_fn_config_dll userenv enable_userenv implib
17618 wine_fn_config_test dlls
/userenv
/tests userenv_test
17619 wine_fn_config_dll usp10 enable_usp10 implib
17620 wine_fn_config_test dlls
/usp10
/tests usp10_test
17621 wine_fn_config_lib uuid
17622 wine_fn_config_dll uxtheme enable_uxtheme implib
17623 wine_fn_config_test dlls
/uxtheme
/tests uxtheme_test
17624 wine_fn_config_dll vbscript enable_vbscript clean
17625 wine_fn_config_test dlls
/vbscript
/tests vbscript_test clean
17626 wine_fn_config_dll vcomp enable_vcomp
17627 wine_fn_config_dll vcomp100 enable_vcomp100
17628 wine_fn_config_dll vcomp90 enable_vcomp90
17629 wine_fn_config_dll vdhcp.vxd enable_win16
17630 wine_fn_config_dll vdmdbg enable_vdmdbg implib
17631 wine_fn_config_dll ver.dll16 enable_win16
17632 wine_fn_config_dll version enable_version implib
17633 wine_fn_config_test dlls
/version
/tests version_test
17634 wine_fn_config_dll vmm.vxd enable_win16
17635 wine_fn_config_dll vnbt.vxd enable_win16
17636 wine_fn_config_dll vnetbios.vxd enable_win16
17637 wine_fn_config_dll vssapi enable_vssapi
17638 wine_fn_config_dll vtdapi.vxd enable_win16
17639 wine_fn_config_dll vwin32.vxd enable_win16
17640 wine_fn_config_dll w32skrnl enable_win16
17641 wine_fn_config_dll w32sys.dll16 enable_win16
17642 wine_fn_config_dll wbemdisp enable_wbemdisp clean
17643 wine_fn_config_test dlls
/wbemdisp
/tests wbemdisp_test
17644 wine_fn_config_dll wbemprox enable_wbemprox clean
17645 wine_fn_config_test dlls
/wbemprox
/tests wbemprox_test
17646 wine_fn_config_dll webservices enable_webservices implib
17647 wine_fn_config_dll wer enable_wer implib
17648 wine_fn_config_test dlls
/wer
/tests wer_test
17649 wine_fn_config_dll wevtapi enable_wevtapi
17650 wine_fn_config_dll wiaservc enable_wiaservc clean
17651 wine_fn_config_dll win32s16.dll16 enable_win16
17652 wine_fn_config_dll win87em.dll16 enable_win16
17653 wine_fn_config_dll winaspi.dll16 enable_win16
17654 wine_fn_config_dll windebug.dll16 enable_win16
17655 wine_fn_config_dll windowscodecs enable_windowscodecs clean
,implib
17656 wine_fn_config_test dlls
/windowscodecs
/tests windowscodecs_test
17657 wine_fn_config_dll windowscodecsext enable_windowscodecsext implib
17658 wine_fn_config_test dlls
/windowscodecsext
/tests windowscodecsext_test
17659 wine_fn_config_dll winealsa.drv enable_winealsa_drv
17660 wine_fn_config_dll winecoreaudio.drv enable_winecoreaudio_drv
17661 wine_fn_config_lib winecrt0
17662 wine_fn_config_dll wined3d enable_wined3d implib
17663 wine_fn_config_dll winegstreamer enable_winegstreamer
17664 wine_fn_config_dll winejoystick.drv enable_winejoystick_drv
17665 wine_fn_config_dll winemac.drv enable_winemac_drv
17666 wine_fn_config_dll winemapi enable_winemapi
17667 wine_fn_config_dll winemp3.acm enable_winemp3_acm
17668 wine_fn_config_dll wineoss.drv enable_wineoss_drv
17669 wine_fn_config_dll wineps.drv enable_wineps_drv clean
,po
17670 wine_fn_config_dll wineps16.drv16 enable_win16
17671 wine_fn_config_dll wineqtdecoder enable_wineqtdecoder
17672 wine_fn_config_dll winex11.drv enable_winex11_drv
17673 wine_fn_config_dll wing.dll16 enable_win16
17674 wine_fn_config_dll wing32 enable_wing32
17675 wine_fn_config_dll winhttp enable_winhttp clean
,implib
17676 wine_fn_config_test dlls
/winhttp
/tests winhttp_test
17677 wine_fn_config_dll wininet enable_wininet implib
,po
17678 wine_fn_config_test dlls
/wininet
/tests wininet_test
17679 wine_fn_config_dll winmm enable_winmm implib
,po
17680 wine_fn_config_test dlls
/winmm
/tests winmm_test
17681 wine_fn_config_dll winnls.dll16 enable_win16
17682 wine_fn_config_dll winnls32 enable_winnls32 implib
17683 wine_fn_config_dll winscard enable_winscard implib
17684 wine_fn_config_dll winsock.dll16 enable_win16
17685 wine_fn_config_dll winspool.drv enable_winspool_drv implib
,po winspool
17686 wine_fn_config_test dlls
/winspool.drv
/tests winspool.drv_test
17687 wine_fn_config_dll winsta enable_winsta
17688 wine_fn_config_dll wintab.dll16 enable_win16
17689 wine_fn_config_dll wintab32 enable_wintab32 implib
17690 wine_fn_config_test dlls
/wintab32
/tests wintab32_test
17691 wine_fn_config_dll wintrust enable_wintrust implib
17692 wine_fn_config_test dlls
/wintrust
/tests wintrust_test
17693 wine_fn_config_dll wlanapi enable_wlanapi
17694 wine_fn_config_dll wldap32 enable_wldap32 implib
,po
17695 wine_fn_config_test dlls
/wldap32
/tests wldap32_test
17696 wine_fn_config_dll wmi enable_wmi
17697 wine_fn_config_dll wmiutils enable_wmiutils clean
17698 wine_fn_config_test dlls
/wmiutils
/tests wmiutils_test
17699 wine_fn_config_dll wmp enable_wmp clean
17700 wine_fn_config_test dlls
/wmp
/tests wmp_test
17701 wine_fn_config_dll wmvcore enable_wmvcore
17702 wine_fn_config_dll wnaspi32 enable_wnaspi32 implib
17703 wine_fn_config_dll wow32 enable_win16 implib
17704 wine_fn_config_dll wpcap enable_wpcap
17705 wine_fn_config_dll ws2_32 enable_ws2_32 implib
17706 wine_fn_config_test dlls
/ws2_32
/tests ws2_32_test
17707 wine_fn_config_dll wshom.ocx enable_wshom_ocx clean
17708 wine_fn_config_test dlls
/wshom.ocx
/tests wshom.ocx_test clean
17709 wine_fn_config_dll wsnmp32 enable_wsnmp32 implib
17710 wine_fn_config_test dlls
/wsnmp32
/tests wsnmp32_test
17711 wine_fn_config_dll wsock32 enable_wsock32 implib
17712 wine_fn_config_dll wtsapi32 enable_wtsapi32 implib
17713 wine_fn_config_test dlls
/wtsapi32
/tests wtsapi32_test
17714 wine_fn_config_dll wuapi enable_wuapi clean
17715 wine_fn_config_dll wuaueng enable_wuaueng
17716 wine_fn_config_dll x3daudio1_1 enable_x3daudio1_1
17717 wine_fn_config_dll x3daudio1_2 enable_x3daudio1_2
17718 wine_fn_config_dll x3daudio1_3 enable_x3daudio1_3
17719 wine_fn_config_dll x3daudio1_4 enable_x3daudio1_4
17720 wine_fn_config_dll x3daudio1_5 enable_x3daudio1_5
17721 wine_fn_config_dll x3daudio1_6 enable_x3daudio1_6
17722 wine_fn_config_dll x3daudio1_7 enable_x3daudio1_7
17723 wine_fn_config_dll xapofx1_1 enable_xapofx1_1
17724 wine_fn_config_dll xapofx1_3 enable_xapofx1_3
17725 wine_fn_config_dll xapofx1_4 enable_xapofx1_4
17726 wine_fn_config_dll xapofx1_5 enable_xapofx1_5
17727 wine_fn_config_dll xaudio2_7 enable_xaudio2_7
17728 wine_fn_config_dll xinput1_1 enable_xinput1_1
17729 wine_fn_config_dll xinput1_2 enable_xinput1_2
17730 wine_fn_config_dll xinput1_3 enable_xinput1_3 implib xinput
17731 wine_fn_config_test dlls
/xinput1_
3/tests xinput1_3_test
17732 wine_fn_config_dll xinput1_4 enable_xinput1_4
17733 wine_fn_config_dll xinput9_1_0 enable_xinput9_1_0
17734 wine_fn_config_dll xmllite enable_xmllite implib
17735 wine_fn_config_test dlls
/xmllite
/tests xmllite_test
17736 wine_fn_config_dll xolehlp enable_xolehlp
17737 wine_fn_config_dll xpsprint enable_xpsprint
17738 wine_fn_config_dll xpssvcs enable_xpssvcs
17739 wine_fn_config_makefile documentation enable_documentation clean
17740 wine_fn_config_makefile fonts enable_fonts clean
,install-lib
17741 wine_fn_config_makefile include enable_include clean
,install-dev
17742 wine_fn_config_makefile libs
/port enable_libs_port
17743 wine_fn_config_makefile libs
/wine enable_libs_wine clean
,install-dev
,install-lib
17744 wine_fn_config_makefile libs
/wpp enable_libs_wpp
17745 wine_fn_config_makefile loader enable_loader clean
,install-lib
,manpage
17746 wine_fn_config_program arp enable_arp
install
17747 wine_fn_config_program aspnet_regiis enable_aspnet_regiis
install
17748 wine_fn_config_program attrib enable_attrib
install,po
17749 wine_fn_config_program cabarc enable_cabarc
install
17750 wine_fn_config_program cacls enable_cacls
install
17751 wine_fn_config_program
clock enable_clock
install,po
17752 wine_fn_config_program cmd enable_cmd
install,po
17753 wine_fn_config_test programs
/cmd
/tests cmd.exe_test
17754 wine_fn_config_program conhost enable_conhost
install
17755 wine_fn_config_program control enable_control
install
17756 wine_fn_config_program cscript enable_cscript clean
,install
17757 wine_fn_config_program dpnsvr enable_dpnsvr
install
17758 wine_fn_config_program dxdiag enable_dxdiag
install,po
17759 wine_fn_config_program eject enable_eject
install
17760 wine_fn_config_program
expand enable_expand
install
17761 wine_fn_config_program explorer enable_explorer
install,po
17762 wine_fn_config_program extrac32 enable_extrac32
install
17763 wine_fn_config_program findstr enable_findstr
install
17764 wine_fn_config_program hh enable_hh
install
17765 wine_fn_config_program hostname enable_hostname
install,po
17766 wine_fn_config_program icinfo enable_icinfo
install
17767 wine_fn_config_program iexplore enable_iexplore
install
17768 wine_fn_config_program ipconfig enable_ipconfig
install,po
17769 wine_fn_config_program lodctr enable_lodctr
install
17770 wine_fn_config_program mofcomp enable_mofcomp
install
17771 wine_fn_config_program mshta enable_mshta
install
17772 wine_fn_config_program msiexec enable_msiexec
install,installbin
,manpage
17773 wine_fn_config_program net enable_net
install,po
17774 wine_fn_config_program netsh enable_netsh
install
17775 wine_fn_config_program netstat enable_netstat
install,po
17776 wine_fn_config_program ngen enable_ngen
install
17777 wine_fn_config_program notepad enable_notepad
install,installbin
,manpage
,po
17778 wine_fn_config_program oleview enable_oleview
install,po
17779 wine_fn_config_program
ping enable_ping
install
17780 wine_fn_config_program plugplay enable_plugplay
install
17781 wine_fn_config_program presentationfontcache enable_presentationfontcache
install
17782 wine_fn_config_program progman enable_progman
install,po
17783 wine_fn_config_program reg enable_reg
install,po
17784 wine_fn_config_test programs
/reg
/tests reg.exe_test
17785 wine_fn_config_program regasm enable_regasm
install
17786 wine_fn_config_program regedit enable_regedit
install,installbin
,manpage
,po
17787 wine_fn_config_test programs
/regedit
/tests regedit.exe_test
17788 wine_fn_config_program regsvcs enable_regsvcs
install
17789 wine_fn_config_program regsvr32 enable_regsvr32
install,installbin
,manpage
,po
17790 wine_fn_config_program rpcss enable_rpcss clean
,install
17791 wine_fn_config_program rundll.exe16 enable_win16
install
17792 wine_fn_config_program rundll32 enable_rundll32
install
17793 wine_fn_config_program sc enable_sc
install
17794 wine_fn_config_program schtasks enable_schtasks
install
17795 wine_fn_config_program sdbinst enable_sdbinst
install
17796 wine_fn_config_program secedit enable_secedit
install
17797 wine_fn_config_program servicemodelreg enable_servicemodelreg
install
17798 wine_fn_config_program services enable_services clean
,install
17799 wine_fn_config_test programs
/services
/tests services.exe_test
17800 wine_fn_config_program spoolsv enable_spoolsv
install
17801 wine_fn_config_program start enable_start
install,po
17802 wine_fn_config_program svchost enable_svchost
install
17803 wine_fn_config_program systeminfo enable_systeminfo
install
17804 wine_fn_config_program taskkill enable_taskkill
install,po
17805 wine_fn_config_program tasklist enable_tasklist
install
17806 wine_fn_config_program taskmgr enable_taskmgr
install,po
17807 wine_fn_config_program termsv enable_termsv
install
17808 wine_fn_config_program uninstaller enable_uninstaller
install,po
17809 wine_fn_config_program unlodctr enable_unlodctr
install
17810 wine_fn_config_program view enable_view
install,po
17811 wine_fn_config_program wevtutil enable_wevtutil
install
17812 wine_fn_config_program wineboot enable_wineboot
install,installbin
,manpage
,po
17813 wine_fn_config_program winebrowser enable_winebrowser
install
17814 wine_fn_config_program winecfg enable_winecfg
install,installbin
,manpage
,po
17815 wine_fn_config_program wineconsole enable_wineconsole
install,installbin
,manpage
,po
17816 wine_fn_config_program winedbg enable_winedbg
install,installbin
,manpage
,po
17817 wine_fn_config_program winedevice enable_winedevice
install
17818 wine_fn_config_program winefile enable_winefile
install,installbin
,manpage
,po
17819 wine_fn_config_program winemenubuilder enable_winemenubuilder
install
17820 wine_fn_config_program winemine enable_winemine
install,installbin
,manpage
,po
17821 wine_fn_config_program winemsibuilder enable_winemsibuilder
install
17822 wine_fn_config_program winepath enable_winepath
install,installbin
,manpage
17823 wine_fn_config_program winetest enable_winetest clean
17824 wine_fn_config_program winevdm enable_win16
install
17825 wine_fn_config_program winhelp.exe16 enable_win16
install
17826 wine_fn_config_program winhlp32 enable_winhlp32
install,po
17827 wine_fn_config_program winoldap.mod16 enable_win16
install
17828 wine_fn_config_program winver enable_winver
install
17829 wine_fn_config_program wmic enable_wmic
install,po
17830 wine_fn_config_program wordpad enable_wordpad
install,po
17831 wine_fn_config_program
write enable_write
install,po
17832 wine_fn_config_program wscript enable_wscript clean
,install
17833 wine_fn_config_test programs
/wscript
/tests wscript.exe_test
17834 wine_fn_config_program wusa enable_wusa
install
17835 wine_fn_config_program xcopy enable_xcopy
install,po
17836 wine_fn_config_test programs
/xcopy
/tests xcopy.exe_test
17837 wine_fn_config_makefile server enable_server clean
,install-lib
,manpage
17838 wine_fn_config_tool tools clean
,install-dev
,install-lib
,manpage
17839 wine_fn_config_tool tools
/sfnt2fon clean
17840 wine_fn_config_tool tools
/widl clean
,install-dev
,manpage
17841 wine_fn_config_tool tools
/winebuild clean
,install-dev
,manpage
17842 wine_fn_config_tool tools
/winedump clean
,install-dev
,manpage
17843 wine_fn_config_tool tools
/winegcc clean
,install-dev
,manpage
17844 wine_fn_config_tool tools
/wmc clean
,install-dev
,manpage
17845 wine_fn_config_tool tools
/wrc clean
,install-dev
,manpage
17897 wine_fn_ignore_file
".gitignore"
17898 wine_fn_ignore_file
"Makefile"
17899 wine_fn_ignore_file
"TAGS"
17900 wine_fn_ignore_file
"tags"
17901 wine_fn_ignore_file
"autom4te.cache"
17902 wine_fn_ignore_file
"config.cache"
17903 wine_fn_ignore_file
"config.log"
17904 wine_fn_ignore_file
"config.status"
17905 wine_fn_ignore_file
"configure.lineno"
17906 wine_fn_ignore_file
"include/config.h"
17907 wine_fn_ignore_file
"include/stamp-h"
17908 test "$wine_binary" = wine || wine_fn_ignore_file
"loader/wine"
17910 if test "x$enable_tools" != xno
17912 wine_fn_ignore_file
"tools/makedep$ac_exeext"
17913 ac_config_commands
="$ac_config_commands tools/makedep"
17917 ac_config_commands
="$ac_config_commands Makefile"
17920 ac_config_files
="$ac_config_files Make.tmp:Make.vars.in:Makefile.in"
17924 if test "x$enable_maintainer_mode" = xyes
17926 wine_fn_append_rule
"configure: configure.ac aclocal.m4
17927 autoconf --warnings=all
17928 include/config.h.in: include/stamp-h.in
17929 include/stamp-h.in: configure.ac aclocal.m4
17930 autoheader --warnings=all
17931 @echo timestamp > \$@"
17934 if test "x$with_gettextpo" = xyes
17936 test "$srcdir" = . || as_fn_error $?
"Rebuilding po files is not supported for out of tree builds." "$LINENO" 5
17937 wine_fn_append_rule
"ALL_POT_FILES =$ALL_POT_FILES
17938 \$(LINGUAS:%=po/%.po): po/wine.pot
17939 msgmerge --previous -q \$@ po/wine.pot | msgattrib --no-obsolete -o \$@.new && mv \$@.new \$@
17940 po/wine.pot: \$(ALL_POT_FILES)
17941 msgcat -o \$@ \$(ALL_POT_FILES)"
17944 if test "$MSGFMT" != false
17946 wine_fn_append_rule
"__builddeps__: \$(LINGUAS:%=po/%.mo)
17948 \$(RM) \$(LINGUAS:%=po/%.mo)"
17951 test "$srcdir" = . || posrc
="$srcdir/po"
17954 wine_fn_ignore_file
"po/$i.mo"
17955 wine_fn_append_rule
"po/$i.mo: $posrc/$i.po
17956 \$(MSGFMT) -o \$@ $posrc/$i.po"
17962 if test "x$enable_tools" != xno
17964 wine_fn_append_rule
"tools/makedep$ac_exeext: $srcdir/tools/makedep.c include/config.h config.status
17965 @./config.status tools/makedep
17966 Makefile: tools/makedep$ac_exeext
17968 \$(RM) tools/makedep$ac_exeext"
17970 wine_fn_append_rule
"\$(MAKEDEP):
17971 @echo \"You need to run make in $TOOLSDIR first\" && false"
17974 if test -n "$with_wine64"
17976 wine_fn_append_rule
"all: fonts server tools $with_wine64/loader/wine $with_wine64/loader/wine-preloader
17977 fonts server tools:
17978 \$(RM) \$@ && \$(LN_S) $with_wine64/\$@ \$@
17979 $with_wine64/loader/wine:
17980 \$(RM) \$@ && \$(LN_S) $ac_pwd/loader/wine \$@
17981 $with_wine64/loader/wine-preloader:
17982 \$(RM) \$@ && \$(LN_S) $ac_pwd/loader/wine-preloader \$@
17984 \$(RM) fonts server tools $with_wine64/loader/wine $with_wine64/loader/wine-preloader"
17986 as_fn_append LOADER_RULES
"
17987 install install-lib:: wine.inf install-man-pages
17988 \$(INSTALL_DATA) wine.inf \$(DESTDIR)\$(datadir)/wine/wine.inf
17989 \$(INSTALL_DATA) \$(srcdir)/l_intl.nls \$(DESTDIR)\$(datadir)/wine/l_intl.nls
17992 \$(RM) \$(DESTDIR)\$(datadir)/wine/wine.inf \$(DESTDIR)\$(datadir)/wine/l_intl.nls
17996 if test "$srcdir" = .
17998 ac_config_commands
="$ac_config_commands .gitignore"
18002 $as_echo " done" >&6
18003 cat >confcache
<<\_ACEOF
18004 # This file is a shell script that caches the results of configure
18005 # tests run on this system so they can be shared between configure
18006 # scripts and configure runs, see configure's option --config-cache.
18007 # It is not useful on other systems. If it contains results you don't
18008 # want to keep, you may remove or edit it.
18010 # config.status only pays attention to the cache file if you give it
18011 # the --recheck option to rerun configure.
18013 # `ac_cv_env_foo' variables (set or unset) will be overridden when
18014 # loading this file, other *unset* `ac_cv_foo' will be assigned the
18015 # following values.
18019 # The following way of writing the cache mishandles newlines in values,
18020 # but we know of no workaround that is simple, portable, and efficient.
18021 # So, we kill variables containing newlines.
18022 # Ultrix sh set writes to stderr and can't be redirected directly,
18023 # and sets the high bit in the cache file unless we assign to the vars.
18025 for ac_var
in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
18026 eval ac_val
=\$
$ac_var
18030 *_cv_
*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
18031 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
18034 _ | IFS | as_nl
) ;; #(
18035 BASH_ARGV | BASH_SOURCE
) eval $ac_var= ;; #(
18036 *) { eval $ac_var=; unset $ac_var;} ;;
18042 case $as_nl`(ac_space=' '; set) 2>&1` in #(
18043 *${as_nl}ac_space
=\
*)
18044 # `set' does not quote correctly, so add quotes: double-quote
18045 # substitution turns \\\\ into \\, and sed turns \\ into \.
18048 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
18051 # `set' quotes correctly as required by POSIX, so do not add quotes.
18052 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
18061 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
18063 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
18065 if diff "$cache_file" confcache
>/dev
/null
2>&1; then :; else
18066 if test -w "$cache_file"; then
18067 if test "x$cache_file" != "x/dev/null"; then
18068 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
18069 $as_echo "$as_me: updating cache $cache_file" >&6;}
18070 if test ! -f "$cache_file" ||
test -h "$cache_file"; then
18071 cat confcache
>"$cache_file"
18073 case $cache_file in #(
18075 mv -f confcache
"$cache_file"$$
&&
18076 mv -f "$cache_file"$$
"$cache_file" ;; #(
18078 mv -f confcache
"$cache_file" ;;
18083 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
18084 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
18089 test "x$prefix" = xNONE
&& prefix
=$ac_default_prefix
18090 # Let make expand exec_prefix.
18091 test "x$exec_prefix" = xNONE
&& exec_prefix
='${prefix}'
18093 DEFS
=-DHAVE_CONFIG_H
18098 for ac_i
in : $LIBOBJS; do test "x$ac_i" = x
: && continue
18099 # 1. Remove the extension, and $U if already installed.
18100 ac_script
='s/\$U\././;s/\.o$//;s/\.obj$//'
18101 ac_i
=`$as_echo "$ac_i" | sed "$ac_script"`
18102 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
18103 # will be set to the directory where LIBOBJS objects are built.
18104 as_fn_append ac_libobjs
" \${LIBOBJDIR}$ac_i\$U.$ac_objext"
18105 as_fn_append ac_ltlibobjs
" \${LIBOBJDIR}$ac_i"'$U.lo'
18107 LIBOBJS
=$ac_libobjs
18109 LTLIBOBJS
=$ac_ltlibobjs
18113 : "${CONFIG_STATUS=./config.status}"
18115 ac_clean_files_save
=$ac_clean_files
18116 ac_clean_files
="$ac_clean_files $CONFIG_STATUS"
18117 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
18118 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
18120 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
18122 # Generated by $as_me.
18123 # Run this file to recreate the current configuration.
18124 # Compiler output produced by configure, useful for debugging
18125 # configure, is in config.log if it exists.
18128 ac_cs_recheck=false
18131 SHELL=\${CONFIG_SHELL-$SHELL}
18134 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail
=1
18135 ## -------------------- ##
18136 ## M4sh Initialization. ##
18137 ## -------------------- ##
18139 # Be more Bourne compatible
18140 DUALCASE
=1; export DUALCASE
# for MKS sh
18141 if test -n "${ZSH_VERSION+set}" && (emulate sh
) >/dev
/null
2>&1; then :
18144 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
18145 # is contrary to our usage. Disable this feature.
18146 alias -g '${1+"$@"}'='"$@"'
18147 setopt NO_GLOB_SUBST
18149 case `(set -o) 2>/dev/null` in #(
18161 # Printing a long string crashes Solaris 7 /usr/bin/printf.
18162 as_echo
='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
18163 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
18164 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
18165 # Prefer a ksh shell builtin over an external printf program on Solaris,
18166 # but without wasting forks for bash or zsh.
18167 if test -z "$BASH_VERSION$ZSH_VERSION" \
18168 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
18169 as_echo='print
-r --'
18170 as_echo_n='print
-rn --'
18171 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
18172 as_echo='printf %s
\n'
18173 as_echo_n='printf %s
'
18175 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
18176 as_echo_body='eval /usr
/ucb
/echo -n "$1$as_nl"'
18177 as_echo_n='/usr
/ucb
/echo -n'
18179 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
18180 as_echo_n_body='eval
18184 expr "X$arg" : "X\\(.*\\)$as_nl";
18185 arg
=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
18187 expr "X$arg" : "X\\(.*\\)" |
tr -d "$as_nl"
18189 export as_echo_n_body
18190 as_echo_n='sh
-c $as_echo_n_body as_echo
'
18192 export as_echo_body
18193 as_echo='sh
-c $as_echo_body as_echo
'
18196 # The user is always right.
18197 if test "${PATH_SEPARATOR+set}" != set; then
18199 (PATH='/bin
;/bin
'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
18200 (PATH='/bin
:/bin
'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
18207 # We need space, tab and new line, in precisely that order. Quoting is
18208 # there to prevent editors from complaining about space-tab.
18209 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
18210 # splitting by setting IFS to empty value.)
18213 # Find who we are. Look in the path if we contain no directory separator.
18216 *[\\/]* ) as_myself=$0 ;;
18217 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
18218 for as_dir in $PATH
18221 test -z "$as_dir" && as_dir=.
18222 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
18228 # We did not find ourselves, most probably we were run as `sh COMMAND'
18229 # in which case we are not to be found in the path.
18230 if test "x$as_myself" = x
; then
18233 if test ! -f "$as_myself"; then
18234 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
18238 # Unset variables that we do not need and which cause bugs (e.g. in
18239 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
18240 # suppresses any "Segmentation fault" message there. '((' could
18241 # trigger a bug in pdksh 5.2.14.
18242 for as_var
in BASH_ENV ENV MAIL MAILPATH
18243 do eval test x\
${$as_var+set} = xset \
18244 && ( (unset $as_var) ||
exit 1) >/dev
/null
2>&1 && unset $as_var ||
:
18257 (unset CDPATH
) >/dev
/null
2>&1 && unset CDPATH
18260 # as_fn_error STATUS ERROR [LINENO LOG_FD]
18261 # ----------------------------------------
18262 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
18263 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
18264 # script with STATUS, using 1 if that was 0.
18267 as_status
=$1; test $as_status -eq 0 && as_status
=1
18269 as_lineno
=${as_lineno-"$3"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
18270 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
18272 $as_echo "$as_me: error: $2" >&2
18273 as_fn_exit
$as_status
18277 # as_fn_set_status STATUS
18278 # -----------------------
18279 # Set $? to STATUS, without forking.
18280 as_fn_set_status
()
18283 } # as_fn_set_status
18285 # as_fn_exit STATUS
18286 # -----------------
18287 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
18291 as_fn_set_status
$1
18297 # Portably unset VAR.
18300 { eval $1=; unset $1;}
18302 as_unset
=as_fn_unset
18303 # as_fn_append VAR VALUE
18304 # ----------------------
18305 # Append the text in VALUE to the end of the definition contained in VAR. Take
18306 # advantage of any shell optimizations that allow amortized linear growth over
18307 # repeated appends, instead of the typical quadratic growth present in naive
18309 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev
/null
; then :
18310 eval 'as_fn_append ()
18321 # as_fn_arith ARG...
18322 # ------------------
18323 # Perform arithmetic evaluation on the ARGs, and store the result in the
18324 # global $as_val. Take advantage of shells that can avoid forks. The arguments
18325 # must be portable across $(()) and expr.
18326 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev
/null
; then :
18327 eval 'as_fn_arith ()
18334 as_val
=`expr "$@" || test $? -eq 1`
18339 if expr a
: '\(a\)' >/dev
/null
2>&1 &&
18340 test "X`expr 00001 : '.*\(...\)'`" = X001
; then
18346 if (basename -- /) >/dev
/null
2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
18347 as_basename
=basename
18352 if (as_dir
=`dirname -- /` && test "X$as_dir" = X
/) >/dev
/null
2>&1; then
18358 as_me
=`$as_basename -- "$0" ||
18359 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
18360 X"$0" : 'X\(//\)$' \| \
18361 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
18363 sed '/^.*\/\([^/][^/]*\)\/*$/{
18377 # Avoid depending upon Character Ranges.
18378 as_cr_letters
='abcdefghijklmnopqrstuvwxyz'
18379 as_cr_LETTERS
='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
18380 as_cr_Letters
=$as_cr_letters$as_cr_LETTERS
18381 as_cr_digits
='0123456789'
18382 as_cr_alnum
=$as_cr_Letters$as_cr_digits
18384 ECHO_C
= ECHO_N
= ECHO_T
=
18385 case `echo -n x` in #(((((
18387 case `echo 'xy\c'` in
18388 *c
*) ECHO_T
=' ';; # ECHO_T is single tab character.
18390 *) echo `echo ksh88 bug on AIX 6.1` > /dev
/null
18397 rm -f conf$$ conf$$.exe conf$$.
file
18398 if test -d conf$$.dir
; then
18399 rm -f conf$$.dir
/conf$$.
file
18402 mkdir conf$$.dir
2>/dev
/null
18404 if (echo >conf$$.
file) 2>/dev
/null
; then
18405 if ln -s conf$$.
file conf$$
2>/dev
/null
; then
18407 # ... but there are two gotchas:
18408 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
18409 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
18410 # In both cases, we have to default to `cp -pR'.
18411 ln -s conf$$.
file conf$$.dir
2>/dev
/null
&& test ! -f conf$$.exe ||
18413 elif ln conf$$.
file conf$$
2>/dev
/null
; then
18421 rm -f conf$$ conf$$.exe conf$$.dir
/conf$$.
file conf$$.
file
18422 rmdir conf$$.dir
2>/dev
/null
18427 # Create "$as_dir" as a directory, including parents if necessary.
18432 -*) as_dir
=.
/$as_dir;;
18434 test -d "$as_dir" ||
eval $as_mkdir_p ||
{
18438 *\'*) as_qdir
=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
18439 *) as_qdir
=$as_dir;;
18441 as_dirs
="'$as_qdir' $as_dirs"
18442 as_dir
=`$as_dirname -- "$as_dir" ||
18443 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
18444 X"$as_dir" : 'X\(//\)[^/]' \| \
18445 X"$as_dir" : 'X\(//\)$' \| \
18446 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
18447 $as_echo X"$as_dir" |
18448 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
18452 /^X\(\/\/\)[^/].*/{
18465 test -d "$as_dir" && break
18467 test -z "$as_dirs" ||
eval "mkdir $as_dirs"
18468 } ||
test -d "$as_dir" || as_fn_error $?
"cannot create directory $as_dir"
18472 if mkdir
-p .
2>/dev
/null
; then
18473 as_mkdir_p
='mkdir -p "$as_dir"'
18475 test -d .
/-p && rmdir .
/-p
18480 # as_fn_executable_p FILE
18481 # -----------------------
18482 # Test if FILE is an executable regular file.
18483 as_fn_executable_p
()
18485 test -f "$1" && test -x "$1"
18486 } # as_fn_executable_p
18487 as_test_x
='test -x'
18488 as_executable_p
=as_fn_executable_p
18490 # Sed expression to map a string onto a valid CPP name.
18491 as_tr_cpp
="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
18493 # Sed expression to map a string onto a valid variable name.
18494 as_tr_sh
="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
18498 ## ----------------------------------- ##
18499 ## Main body of $CONFIG_STATUS script. ##
18500 ## ----------------------------------- ##
18502 test $as_write_fail = 0 && chmod +x
$CONFIG_STATUS || ac_write_fail
=1
18504 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
18505 # Save the log message, to keep $0 and so on meaningful, and to
18506 # report actual input values of CONFIG_FILES etc. instead of their
18507 # values after options handling.
18509 This file was extended by Wine $as_me 1.7.43, which was
18510 generated by GNU Autoconf 2.69. Invocation command line was
18512 CONFIG_FILES = $CONFIG_FILES
18513 CONFIG_HEADERS = $CONFIG_HEADERS
18514 CONFIG_LINKS = $CONFIG_LINKS
18515 CONFIG_COMMANDS = $CONFIG_COMMANDS
18518 on `(hostname || uname -n) 2>/dev/null | sed 1q`
18523 case $ac_config_files in *"
18524 "*) set x
$ac_config_files; shift; ac_config_files
=$
*;;
18527 case $ac_config_headers in *"
18528 "*) set x
$ac_config_headers; shift; ac_config_headers
=$
*;;
18532 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
18533 # Files that config.status was made for.
18534 config_files="$ac_config_files"
18535 config_headers="$ac_config_headers"
18536 config_links="$ac_config_links"
18537 config_commands="$ac_config_commands"
18541 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
18543 \`$as_me' instantiates files and other configuration actions
18544 from templates according to the current configuration. Unless the files
18545 and actions are specified as TAGs, all are instantiated by default.
18547 Usage: $0 [OPTION]... [TAG]...
18549 -h, --help print this help, then exit
18550 -V, --version print version number and configuration settings, then exit
18551 --config print configuration, then exit
18552 -q, --quiet, --silent
18553 do not print progress messages
18554 -d, --debug don't remove temporary files
18555 --recheck update $as_me by reconfiguring in the same conditions
18556 --file=FILE[:TEMPLATE]
18557 instantiate the configuration file FILE
18558 --header=FILE[:TEMPLATE]
18559 instantiate the configuration header FILE
18561 Configuration files:
18564 Configuration headers:
18567 Configuration links:
18570 Configuration commands:
18573 Report bugs to <wine-devel@winehq.org>.
18574 Wine home page: <http://www.winehq.org>."
18577 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
18578 ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
18580 Wine config.status 1.7.43
18581 configured by $0, generated by GNU Autoconf 2.69,
18582 with options \\"\$ac_cs_config\\"
18584 Copyright (C) 2012 Free Software Foundation, Inc.
18585 This config.status script is free software; the Free Software Foundation
18586 gives unlimited permission to copy, distribute and modify it."
18590 test -n "\$AWK" || AWK=awk
18593 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
18594 # The default lists apply if the user does not specify any file.
18600 ac_option
=`expr "X$1" : 'X\([^=]*\)='`
18601 ac_optarg
=`expr "X$1" : 'X[^=]*=\(.*\)'`
18605 ac_option
=`expr "X$1" : 'X\([^=]*\)='`
18617 # Handling of the options.
18618 -recheck |
--recheck |
--rechec |
--reche |
--rech |
--rec |
--re |
--r)
18620 --version |
--versio |
--versi |
--vers |
--ver |
--ve |
--v |
-V )
18621 $as_echo "$ac_cs_version"; exit ;;
18622 --config |
--confi |
--conf |
--con |
--co |
--c )
18623 $as_echo "$ac_cs_config"; exit ;;
18624 --debug |
--debu |
--deb |
--de |
--d |
-d )
18626 --file |
--fil |
--fi |
--f )
18629 *\'*) ac_optarg
=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
18630 '') as_fn_error $?
"missing file argument" ;;
18632 as_fn_append CONFIG_FILES
" '$ac_optarg'"
18633 ac_need_defaults
=false
;;
18634 --header |
--heade |
--head |
--hea )
18637 *\'*) ac_optarg
=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
18639 as_fn_append CONFIG_HEADERS
" '$ac_optarg'"
18640 ac_need_defaults
=false
;;
18642 # Conflict between --help and --header
18643 as_fn_error $?
"ambiguous option: \`$1'
18644 Try \`$0 --help' for more information.";;
18645 --help |
--hel |
-h )
18646 $as_echo "$ac_cs_usage"; exit ;;
18647 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
18648 |
-silent |
--silent |
--silen |
--sile |
--sil |
--si |
--s)
18651 # This is an error.
18652 -*) as_fn_error $?
"unrecognized option: \`$1'
18653 Try \`$0 --help' for more information." ;;
18655 *) as_fn_append ac_config_targets
" $1"
18656 ac_need_defaults
=false
;;
18662 ac_configure_extra_args
=
18664 if $ac_cs_silent; then
18666 ac_configure_extra_args
="$ac_configure_extra_args --silent"
18670 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
18671 if \$ac_cs_recheck; then
18672 set X $SHELL '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
18674 \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
18675 CONFIG_SHELL='$SHELL'
18676 export CONFIG_SHELL
18681 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
18685 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
18686 ## Running $as_me. ##
18692 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
18696 wine_fn_output_makedep ()
18698 as_dir=tools; as_fn_mkdir_p
18699 $CC -Iinclude -I$srcdir/include -D__WINESRC__ $EXTRACFLAGS $CPPFLAGS $CFLAGS -o tools/makedep$ac_exeext $srcdir/tools/makedep.c $LDFLAGS
18701 wine_fn_output_makefile ()
18703 cat Make.tmp - <<\_WINE_EOF >\$tmp/makefile && mv -f \$tmp/makefile \$1 && rm -f Make.tmp && "$wine_makedep" . && return
18704 `cat $wine_rules_file`
18706 as_fn_error $? "could not create Makefile" "$LINENO" 5
18708 wine_fn_output_gitignore ()
18710 sort <<\_WINE_EOF >\$tmp/gitignore && mv -f \$tmp/gitignore \$1 && return
18713 as_fn_error $? "could not create .gitignore" "$LINENO" 5
18718 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
18720 # Handling of arguments.
18721 for ac_config_target
in $ac_config_targets
18723 case $ac_config_target in
18724 "include/config.h") CONFIG_HEADERS
="$CONFIG_HEADERS include/config.h" ;;
18725 "include/stamp-h") CONFIG_COMMANDS
="$CONFIG_COMMANDS include/stamp-h" ;;
18726 "fonts/marlett.ttf") CONFIG_LINKS
="$CONFIG_LINKS fonts/marlett.ttf:fonts/marlett.ttf" ;;
18727 "fonts/symbol.ttf") CONFIG_LINKS
="$CONFIG_LINKS fonts/symbol.ttf:fonts/symbol.ttf" ;;
18728 "fonts/tahoma.ttf") CONFIG_LINKS
="$CONFIG_LINKS fonts/tahoma.ttf:fonts/tahoma.ttf" ;;
18729 "fonts/tahomabd.ttf") CONFIG_LINKS
="$CONFIG_LINKS fonts/tahomabd.ttf:fonts/tahomabd.ttf" ;;
18730 "loader/l_intl.nls") CONFIG_LINKS
="$CONFIG_LINKS loader/l_intl.nls:loader/l_intl.nls" ;;
18731 "po/LINGUAS") CONFIG_LINKS
="$CONFIG_LINKS po/LINGUAS:po/LINGUAS" ;;
18732 "wine") CONFIG_LINKS
="$CONFIG_LINKS wine:tools/winewrapper" ;;
18733 "wine64") CONFIG_LINKS
="$CONFIG_LINKS wine64:tools/winewrapper" ;;
18734 "tools/makedep") CONFIG_COMMANDS
="$CONFIG_COMMANDS tools/makedep" ;;
18735 "Makefile") CONFIG_COMMANDS
="$CONFIG_COMMANDS Makefile" ;;
18736 "Make.tmp") CONFIG_FILES
="$CONFIG_FILES Make.tmp:Make.vars.in:Makefile.in" ;;
18737 ".gitignore") CONFIG_COMMANDS
="$CONFIG_COMMANDS .gitignore" ;;
18739 *) as_fn_error $?
"invalid argument: \`$ac_config_target'" "$LINENO" 5;;
18744 # If the user did not use the arguments to specify the items to instantiate,
18745 # then the envvar interface is used. Set only those that are not.
18746 # We use the long form for the default assignment because of an extremely
18747 # bizarre bug on SunOS 4.1.3.
18748 if $ac_need_defaults; then
18749 test "${CONFIG_FILES+set}" = set || CONFIG_FILES
=$config_files
18750 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS
=$config_headers
18751 test "${CONFIG_LINKS+set}" = set || CONFIG_LINKS
=$config_links
18752 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS
=$config_commands
18755 # Have a temporary directory for convenience. Make it in the build tree
18756 # simply because there is no reason against having it here, and in addition,
18757 # creating and moving files from /tmp can sometimes cause problems.
18758 # Hook for its removal unless debugging.
18759 # Note that there is a small window in which the directory will not be cleaned:
18760 # after its creation but before its name has been assigned to `$tmp'.
18764 trap 'exit_status=$?
18765 : "${ac_tmp:=$tmp}"
18766 { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
18768 trap 'as_fn_exit 1' 1 2 13 15
18770 # Create a (secure) tmp directory for tmp files.
18773 tmp
=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
18777 tmp
=.
/conf$$
-$RANDOM
18778 (umask 077 && mkdir
"$tmp")
18779 } || as_fn_error $?
"cannot create a temporary directory in ." "$LINENO" 5
18782 # Set up the scripts for CONFIG_FILES section.
18783 # No need to generate them if there are no CONFIG_FILES.
18784 # This happens for instance with `./config.status config.h'.
18785 if test -n "$CONFIG_FILES"; then
18788 ac_cr
=`echo X | tr X '\015'`
18789 # On cygwin, bash can eat \r inside `` if the user requested igncr.
18790 # But we know of no other shell where ac_cr would be empty at this
18791 # point, so we can use a bashism as a fallback.
18792 if test "x$ac_cr" = x
; then
18793 eval ac_cr
=\$
\'\\r
\'
18795 ac_cs_awk_cr
=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
18796 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
18799 ac_cs_awk_cr
=$ac_cr
18802 echo 'BEGIN {' >"$ac_tmp/subs1.awk" &&
18807 echo "cat >conf$$subs.awk <<_ACEOF" &&
18808 echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
18810 } >conf$$subs.sh ||
18811 as_fn_error $? "could not
make $CONFIG_STATUS" "$LINENO" 5
18812 ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
18814 for ac_last_try in false false false false false :; do
18815 . ./conf$$subs.sh ||
18816 as_fn_error $? "could not
make $CONFIG_STATUS" "$LINENO" 5
18818 ac_delim_n=`sed -n "s
/.
*$ac_delim\$
/X
/p
" conf$$subs.awk | grep -c X`
18819 if test $ac_delim_n = $ac_delim_num; then
18821 elif $ac_last_try; then
18822 as_fn_error $? "could not
make $CONFIG_STATUS" "$LINENO" 5
18824 ac_delim="$ac_delim!$ac_delim _
$ac_delim!! "
18827 rm -f conf$$subs.sh
18829 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
18830 cat >>"\
$ac_tmp/subs1.
awk" <<\\_ACAWK &&
18834 s/^/S["/; s
/!.
*/"]=/
18844 s/\(.\{148\}\)..*/\1/
18846 s/["\\]/\\&/g
; s
/^
/"/; s/$/\\n"\\/
18851 s
/["\\]/\\&/g; s/^/"/; s
/$
/"\\/
18858 s/\(.\{148\}\)..*/\1/
18860 s/["\\]/\\&/g
; s
/^
/"/; s/$/"/
18864 s
/["\\]/\\&/g; s/^/"/; s
/$
/"\\/
18869 ' <conf$$subs.awk | sed '
18874 ' >>$CONFIG_STATUS || ac_write_fail=1
18875 rm -f conf$$subs.awk
18876 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
18878 cat >>"\
$ac_tmp/subs1.
awk" <<_ACAWK &&
18879 for (key in S) S_is_set[key] = 1
18885 nfields = split(line, field, "@
")
18887 len = length(field[1])
18888 for (i = 2; i < nfields; i++) {
18890 keylen = length(key)
18891 if (S_is_set[key]) {
18893 line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
18894 len += length(value) + length(field[++i])
18905 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
18906 if sed "s
/$ac_cr//" < /dev/null > /dev/null 2>&1; then
18907 sed "s
/$ac_cr\$
//; s
/$ac_cr/$ac_cs_awk_cr/g
"
18910 fi < "$ac_tmp/subs1.
awk" > "$ac_tmp/subs.
awk" \
18911 || as_fn_error $? "could not setup config files machinery
" "$LINENO" 5
18914 # VPATH may cause trouble with some makes, so we remove sole $(srcdir),
18915 # ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".
", strip leading and
18916 # trailing colons and then remove the whole line if VPATH becomes empty
18917 # (actually we leave an empty line to preserve line numbers).
18918 if test "x
$srcdir" = x.; then
18919 ac_vpsub='/^[ ]*VPATH[ ]*=[ ]*/{
18937 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
18938 fi # test -n "$CONFIG_FILES"
18940 # Set up the scripts for CONFIG_HEADERS section.
18941 # No need to generate them if there are no CONFIG_HEADERS.
18942 # This happens for instance with `./config.status Makefile'.
18943 if test -n "$CONFIG_HEADERS"; then
18944 cat >"$ac_tmp/defines.
awk" <<\_ACAWK ||
18948 # Transform confdefs.h into an awk script `defines.awk', embedded as
18949 # here-document in config.status, that substitutes the proper values into
18950 # config.h.in to produce config.h.
18952 # Create a delimiter string that does not exist in confdefs.h, to ease
18953 # handling of long lines.
18955 for ac_last_try in false false :; do
18956 ac_tt=`sed -n "/$ac_delim/p
" confdefs.h`
18957 if test -z "$ac_tt"; then
18959 elif $ac_last_try; then
18960 as_fn_error $? "could not
make $CONFIG_HEADERS" "$LINENO" 5
18962 ac_delim="$ac_delim!$ac_delim _
$ac_delim!! "
18966 # For the awk script, D is an array of macro values keyed by name,
18967 # likewise P contains macro parameters if any. Preserve backslash
18968 # newline sequences.
18970 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
18972 s/.\{148\}/&'"$ac_delim"'/g
18975 s/^[ ]*#[ ]*define[ ][ ]*/ /
18982 s
/^ \
('"$ac_word_re"'\
)\
(([^
()]*)\
)[ ]*\
(.
*\
)/P
["\1"]="\2"\
18984 s
/^ \
('"$ac_word_re"'\
)[ ]*\
(.
*\
)/D
["\1"]=" \2"/p
18988 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\
1"]="\
2"\
18989 D["\
1"]=" \
3\\\\\\n
"\\/p
18991 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\
1"]=" \
2\\\\\\n
"\\/p
18996 s/.\{148\}/&'"$ac_delim"'/g
19001 s/["\\]/\\&/g
; s
/^
/"/; s/$/"/p
19004 s
/["\\]/\\&/g; s/^/"/; s
/$
/\\\\\\n
"\\/p
19006 ' <confdefs.h | sed '
19007 s/'"$ac_delim"'/"\\\
19008 "/g' >>$CONFIG_STATUS || ac_write_fail=1
19010 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
19011 for (key in D) D_is_set[key] = 1
19014 /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
19016 split(line, arg, " ")
19017 if (arg[1] == "#") {
19021 defundef
= substr
(arg
[1], 2)
19024 split(mac1
, mac2
, "(") #)
19026 prefix
= substr
(line
, 1, index
(line
, defundef
) - 1)
19027 if (D_is_set
[macro
]) {
19028 # Preserve the white space surrounding the "#".
19029 print prefix
"define", macro P
[macro
] D
[macro
]
19032 # Replace #undef with comments. This is necessary, for example,
19033 # in the case of _POSIX_SOURCE, which is predefined and required
19034 # on some systems where configure will not decide to define it.
19035 if (defundef
== "undef") {
19036 print
"/*", prefix defundef
, macro
, "*/"
19044 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
19045 as_fn_error $?
"could not setup config headers machinery" "$LINENO" 5
19046 fi # test -n "$CONFIG_HEADERS"
19049 eval set X
" :F $CONFIG_FILES :H $CONFIG_HEADERS :L $CONFIG_LINKS :C $CONFIG_COMMANDS"
19054 :[FHLC
]) ac_mode
=$ac_tag; continue;;
19056 case $ac_mode$ac_tag in
19058 :L
* |
:C
*:*) as_fn_error $?
"invalid tag \`$ac_tag'" "$LINENO" 5;;
19059 :[FH
]-) ac_tag
=-:-;;
19060 :[FH
]*) ac_tag
=$ac_tag:$ac_tag.
in;;
19077 -) ac_f
="$ac_tmp/stdin";;
19078 *) # Look for the file first in the build tree, then in the source tree
19079 # (if the path is not absolute). The absolute path cannot be DOS-style,
19080 # because $ac_f cannot contain `:'.
19084 *) test -f "$srcdir/$ac_f" && ac_f
="$srcdir/$ac_f";;
19086 as_fn_error
1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
19088 case $ac_f in *\'*) ac_f
=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
19089 as_fn_append ac_file_inputs
" '$ac_f'"
19092 # Let's still pretend it is `configure' which instantiates (i.e., don't
19093 # use $as_me), people would be surprised to read:
19094 # /* config.h. Generated by config.status. */
19095 configure_input
='Generated from '`
19096 $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
19098 if test x
"$ac_file" != x-
; then
19099 configure_input
="$ac_file. $configure_input"
19100 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
19101 $as_echo "$as_me: creating $ac_file" >&6;}
19103 # Neutralize special characters interpreted by sed in replacement strings.
19104 case $configure_input in #(
19105 *\
&* |
*\|
* |
*\\* )
19106 ac_sed_conf_input
=`$as_echo "$configure_input" |
19107 sed 's/[\\\\&|]/\\\\&/g'`;; #(
19108 *) ac_sed_conf_input
=$configure_input;;
19112 *:-:* |
*:-) cat >"$ac_tmp/stdin" \
19113 || as_fn_error $?
"could not create $ac_file" "$LINENO" 5 ;;
19118 ac_dir
=`$as_dirname -- "$ac_file" ||
19119 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
19120 X"$ac_file" : 'X\(//\)[^/]' \| \
19121 X"$ac_file" : 'X\(//\)$' \| \
19122 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
19123 $as_echo X"$ac_file" |
19124 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
19128 /^X\(\/\/\)[^/].*/{
19141 as_dir
="$ac_dir"; as_fn_mkdir_p
19145 .
) ac_dir_suffix
= ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
19147 ac_dir_suffix
=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
19148 # A ".." for each directory in $ac_dir_suffix.
19149 ac_top_builddir_sub
=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
19150 case $ac_top_builddir_sub in
19151 "") ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
19152 *) ac_top_build_prefix
=$ac_top_builddir_sub/ ;;
19155 ac_abs_top_builddir
=$ac_pwd
19156 ac_abs_builddir
=$ac_pwd$ac_dir_suffix
19157 # for backward compatibility:
19158 ac_top_builddir
=$ac_top_build_prefix
19161 .
) # We are building in place.
19163 ac_top_srcdir
=$ac_top_builddir_sub
19164 ac_abs_top_srcdir
=$ac_pwd ;;
19165 [\\/]* | ?
:[\\/]* ) # Absolute name.
19166 ac_srcdir
=$srcdir$ac_dir_suffix;
19167 ac_top_srcdir
=$srcdir
19168 ac_abs_top_srcdir
=$srcdir ;;
19169 *) # Relative name.
19170 ac_srcdir
=$ac_top_build_prefix$srcdir$ac_dir_suffix
19171 ac_top_srcdir
=$ac_top_build_prefix$srcdir
19172 ac_abs_top_srcdir
=$ac_pwd/$srcdir ;;
19174 ac_abs_srcdir
=$ac_abs_top_srcdir$ac_dir_suffix
19185 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
19186 # If the template does not know about datarootdir, expand it.
19187 # FIXME: This hack should be removed a few years after 2.60.
19188 ac_datarootdir_hack
=; ac_datarootdir_seen
=
19199 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
19200 *datarootdir
*) ac_datarootdir_seen
=yes;;
19201 *@datadir@
*|
*@docdir@
*|
*@infodir@
*|
*@localedir@
*|
*@mandir@
*)
19202 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
19203 $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
19205 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
19206 ac_datarootdir_hack='
19207 s&@datadir@&$datadir&g
19208 s&@docdir@&$docdir&g
19209 s&@infodir@&$infodir&g
19210 s&@localedir@&$localedir&g
19211 s&@mandir@&$mandir&g
19212 s&\\\${datarootdir}&$datarootdir&g' ;;
19216 # Neutralize VPATH when `$srcdir' = `.'.
19217 # Shell code in configure.ac might set extrasub.
19218 # FIXME: do we really want to maintain this feature?
19219 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
19220 ac_sed_extra="$ac_vpsub
19223 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
19225 /@
[a-zA-Z_
][a-zA-Z_0-9
]*@
/!b
19226 s|@configure_input@|
$ac_sed_conf_input|
;t t
19227 s
&@top_builddir@
&$ac_top_builddir_sub&;t t
19228 s
&@top_build_prefix@
&$ac_top_build_prefix&;t t
19229 s
&@srcdir@
&$ac_srcdir&;t t
19230 s
&@abs_srcdir@
&$ac_abs_srcdir&;t t
19231 s
&@top_srcdir@
&$ac_top_srcdir&;t t
19232 s
&@abs_top_srcdir@
&$ac_abs_top_srcdir&;t t
19233 s
&@builddir@
&$ac_builddir&;t t
19234 s
&@abs_builddir@
&$ac_abs_builddir&;t t
19235 s
&@abs_top_builddir@
&$ac_abs_top_builddir&;t t
19236 $ac_datarootdir_hack
19238 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.
awk" \
19239 >$ac_tmp/out || as_fn_error $? "could not create
$ac_file" "$LINENO" 5
19241 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
19242 { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out
"`; test -n "$ac_out"; } &&
19243 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' \
19244 "$ac_tmp/out
"`; test -z "$ac_out"; } &&
19245 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: $ac_file contains a reference to the variable \
`datarootdir'
19246 which seems to be undefined. Please make sure it is defined" >&5
19247 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir
'
19248 which seems to be undefined. Please make sure it is defined" >&2;}
19250 rm -f "$ac_tmp/stdin"
19252 -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";;
19253 *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";;
19255 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
19261 if test x"$ac_file" != x-; then
19263 $as_echo "/* $configure_input */" \
19264 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs"
19265 } >"$ac_tmp/config.h" \
19266 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
19267 if diff "$ac_file" "$ac_tmp/config.h" >/dev/null 2>&1; then
19268 { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
19269 $as_echo "$as_me: $ac_file is unchanged" >&6;}
19272 mv "$ac_tmp/config.h" "$ac_file" \
19273 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
19276 $as_echo "/* $configure_input */" \
19277 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" \
19278 || as_fn_error $? "could not create -" "$LINENO" 5
19286 if test "$ac_source" = "$ac_file" && test "$srcdir" = '.
'; then
19289 # Prefer the file from the source tree if names are identical.
19290 if test "$ac_source" = "$ac_file" || test ! -r "$ac_source"; then
19291 ac_source=$srcdir/$ac_source
19294 { $as_echo "$as_me:${as_lineno-$LINENO}: linking $ac_source to $ac_file" >&5
19295 $as_echo "$as_me: linking $ac_source to $ac_file" >&6;}
19297 if test ! -r "$ac_source"; then
19298 as_fn_error $? "$ac_source: file not found" "$LINENO" 5
19302 # Try a relative symlink, then a hard link, then a copy.
19304 [\\/$]* | ?:[\\/]* ) ac_rel_source=$ac_source ;;
19305 *) ac_rel_source=$ac_top_build_prefix$ac_source ;;
19307 ln -s "$ac_rel_source" "$ac_file" 2>/dev/null ||
19308 ln "$ac_source" "$ac_file" 2>/dev/null ||
19309 cp -p "$ac_source" "$ac_file" ||
19310 as_fn_error $? "cannot link or copy $ac_source to $ac_file" "$LINENO" 5
19313 :C) { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
19314 $as_echo "$as_me: executing $ac_file commands" >&6;}
19319 case $ac_file$ac_mode in
19320 "include/stamp-h":C) echo timestamp > include/stamp-h ;;
19321 "tools/makedep":C) wine_fn_output_makedep || as_fn_exit $? ;;
19322 "Makefile":C) wine_fn_output_makefile Makefile ;;
19323 ".gitignore":C) wine_fn_output_gitignore .gitignore ;;
19331 ac_clean_files=$ac_clean_files_save
19333 test $ac_write_fail = 0 ||
19334 as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5
19337 # configure is writing to config.log, and then calls config.status.
19338 # config.status does its own redirection, appending to config.log.
19339 # Unfortunately, on DOS this fails, as config.log is still kept open
19340 # by configure, so config.status won't be able to
write to it
; its
19341 # output is simply discarded. So we exec the FD to /dev/null,
19342 # effectively closing config.log, so it can be properly (re)opened and
19343 # appended to by config.status. When coming back to configure, we
19344 # need to make the FD available again.
19345 if test "$no_create" != yes; then
19347 ac_config_status_args
=
19348 test "$silent" = yes &&
19349 ac_config_status_args
="$ac_config_status_args --quiet"
19351 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success
=false
19353 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
19354 # would make configure fail if this is the last instruction.
19355 $ac_cs_success || as_fn_exit
1
19357 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no
; then
19358 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
19359 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
19363 if test "$no_create" = "yes"
19369 if test "x$wine_notices != "x
; then
19372 for msg
in $wine_notices; do
19374 if ${msg:+false} :; then :
19377 { $as_echo "$as_me:${as_lineno-$LINENO}: $msg" >&5
19378 $as_echo "$as_me: $msg" >&6;}
19383 for msg
in $wine_warnings; do
19385 if ${msg:+false} :; then :
19389 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $msg" >&5
19390 $as_echo "$as_me: WARNING: $msg" >&2;}
19396 $as_me: Finished. Do '${ac_make}' to compile Wine.