2 # Guess values for system-dependent variables and create Makefiles.
3 # Generated by GNU Autoconf 2.69 for Wine 1.7.45.
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.45'
584 PACKAGE_STRING
='Wine 1.7.45'
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.45 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.45:";;
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.45
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.45, 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
7851 for ac_header
in libunwind.h
7853 ac_fn_c_check_header_mongrel
"$LINENO" "libunwind.h" "ac_cv_header_libunwind_h" "$ac_includes_default"
7854 if test "x$ac_cv_header_libunwind_h" = xyes
; then :
7855 cat >>confdefs.h
<<_ACEOF
7856 #define HAVE_LIBUNWIND_H 1
7864 DLLFLAGS
="$DLLFLAGS -fPIC"
7865 LIBWINE_LDFLAGS
="-multiply_defined suppress"
7866 LDRPATH_INSTALL
="-Wl,-rpath,@loader_path/\`\$(MAKEDEP) -R \$(bindir) \$(libdir)\`"
7867 LDRPATH_LOCAL
="-Wl,-rpath,@loader_path/\$(top_builddir)/libs/wine"
7868 COREFOUNDATION_LIBS
="-framework CoreFoundation"
7870 IOKIT_LIBS
="-framework IOKit -framework CoreFoundation"
7872 FORCEFEEDBACK_LIBS
="-framework ForceFeedback -framework CoreFoundation"
7874 APPLICATIONSERVICES_LIBS
="-framework ApplicationServices"
7876 CORESERVICES_LIBS
="-framework CoreServices"
7878 APPKIT_LIBS
="-framework AppKit"
7880 LDEXECFLAGS
="-image_base 0x7bf00000 -Wl,-pagezero_size,0x1000,-segaddr,WINE_DOS,0x00001000,-segaddr,WINE_SHAREDHEAP,0x7f000000,-sectcreate,__TEXT,__info_plist,wine_info.plist"
7881 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,-no_pie" >&5
7882 $as_echo_n "checking whether the compiler supports -Wl,-no_pie... " >&6; }
7883 if ${ac_cv_cflags__Wl__no_pie+:} false
; then :
7884 $as_echo_n "(cached) " >&6
7886 ac_wine_try_cflags_saved
=$CFLAGS
7887 CFLAGS
="$CFLAGS -Wl,-no_pie"
7888 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
7889 /* end confdefs.h. */
7890 int main(int argc, char **argv) { return 0; }
7892 if ac_fn_c_try_link
"$LINENO"; then :
7893 ac_cv_cflags__Wl__no_pie
=yes
7895 ac_cv_cflags__Wl__no_pie
=no
7897 rm -f core conftest.err conftest.
$ac_objext \
7898 conftest
$ac_exeext conftest.
$ac_ext
7899 CFLAGS
=$ac_wine_try_cflags_saved
7901 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl__no_pie" >&5
7902 $as_echo "$ac_cv_cflags__Wl__no_pie" >&6; }
7903 if test "x$ac_cv_cflags__Wl__no_pie" = xyes
; then :
7904 LDEXECFLAGS
="-Wl,-no_pie $LDEXECFLAGS"
7906 if test "$ac_cv_header_DiskArbitration_DiskArbitration_h" = "yes"
7908 DISKARBITRATION_LIBS
="-framework DiskArbitration -framework CoreFoundation"
7911 if test "$ac_cv_header_Security_Security_h" = "yes"
7913 SECURITY_LIBS
="-framework Security -framework CoreFoundation"
7915 ac_save_LIBS
="$LIBS"
7916 LIBS
="$LIBS $SECURITY_LIBS"
7917 for ac_func
in SSLCopyPeerCertificates
7919 ac_fn_c_check_func
"$LINENO" "SSLCopyPeerCertificates" "ac_cv_func_SSLCopyPeerCertificates"
7920 if test "x$ac_cv_func_SSLCopyPeerCertificates" = xyes
; then :
7921 cat >>confdefs.h
<<_ACEOF
7922 #define HAVE_SSLCOPYPEERCERTIFICATES 1
7928 LIBS
="$ac_save_LIBS"
7929 with_gnutls
=${with_gnutls:-no}
7931 if test "$ac_cv_header_CoreAudio_CoreAudio_h" = "yes" -a "$ac_cv_header_AudioUnit_AudioUnit_h" = "yes"
7933 if test "$ac_cv_header_AudioUnit_AudioComponent_h" = "yes"
7935 COREAUDIO_LIBS
="-framework CoreFoundation -framework CoreAudio -framework AudioUnit -framework AudioToolbox -framework CoreMIDI"
7938 COREAUDIO_LIBS
="-framework CoreAudio -framework AudioUnit -framework CoreServices -framework AudioToolbox -framework CoreMIDI"
7941 ac_save_LIBS
="$LIBS"
7942 LIBS
="$LIBS $COREAUDIO_LIBS"
7943 for ac_func
in AUGraphAddNode
7945 ac_fn_c_check_func
"$LINENO" "AUGraphAddNode" "ac_cv_func_AUGraphAddNode"
7946 if test "x$ac_cv_func_AUGraphAddNode" = xyes
; then :
7947 cat >>confdefs.h
<<_ACEOF
7948 #define HAVE_AUGRAPHADDNODE 1
7954 LIBS
="$ac_save_LIBS"
7956 if test "$ac_cv_header_OpenAL_al_h" = "yes"
7958 OPENAL_LIBS
="-framework OpenAL"
7961 cat >>confdefs.h
<<_ACEOF
7962 #define HAVE_OPENAL 1
7965 ac_cv_lib_openal
=yes
7967 if test "$ac_cv_header_OpenCL_opencl_h" = "yes"
7969 OPENCL_LIBS
="-framework OpenCL"
7971 ac_cv_lib_OpenCL_clGetPlatformInfo
=yes
7973 if test "$ac_cv_header_IOKit_hid_IOHIDLib_h" = "yes"
7975 ac_save_LIBS
="$LIBS"
7976 LIBS
="$LIBS $IOKIT_LIBS"
7977 for ac_func
in IOHIDManagerCreate
7979 ac_fn_c_check_func
"$LINENO" "IOHIDManagerCreate" "ac_cv_func_IOHIDManagerCreate"
7980 if test "x$ac_cv_func_IOHIDManagerCreate" = xyes
; then :
7981 cat >>confdefs.h
<<_ACEOF
7982 #define HAVE_IOHIDMANAGERCREATE 1
7988 LIBS
="$ac_save_LIBS"
7990 if test "$ac_cv_header_QuickTime_ImageCompression_h" = "yes"
7992 ac_save_LIBS
="$LIBS"
7993 LIBS
="-framework QuickTime -framework ApplicationServices -framework CoreVideo $LIBS"
7994 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for the QuickTime framework" >&5
7995 $as_echo_n "checking for the QuickTime framework... " >&6; }
7996 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
7997 /* end confdefs.h. */
7998 #include <QuickTime/ImageCompression.h>
8002 CodecManagerVersion(NULL);
8007 if ac_fn_c_try_link
"$LINENO"; then :
8008 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
8009 $as_echo "yes" >&6; }
8010 QUICKTIME_LIBS
="-framework QuickTime -framework ApplicationServices -framework CoreVideo"
8012 enable_wineqtdecoder
=${enable_wineqtdecoder:-yes}
8014 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8015 $as_echo "no" >&6; }
8016 ac_cv_header_QuickTime_ImageCompression_h
=no
8018 rm -f core conftest.err conftest.
$ac_objext \
8019 conftest
$ac_exeext conftest.
$ac_ext
8020 LIBS
="$ac_save_LIBS"
8022 if test "$ac_cv_header_QuickTime_ImageCompression_h" != "yes"
8024 as_fn_append wine_notices
"|QuickTime ${notice_platform}development files not found, video decoding won't be supported."
8026 if test "$ac_cv_header_Carbon_Carbon_h" = "yes"
8028 CARBON_LIBS
="-framework Carbon"
8032 if test "$ac_cv_header_ApplicationServices_ApplicationServices_h" = "yes"
8034 ac_save_LIBS
="$LIBS"
8035 LIBS
="$LIBS $APPLICATIONSERVICES_LIBS"
8036 ac_fn_c_check_func
"$LINENO" "CGDisplayModeGetWidth" "ac_cv_func_CGDisplayModeGetWidth"
8037 if test "x$ac_cv_func_CGDisplayModeGetWidth" = xyes
; then :
8038 enable_winemac_drv
=${enable_winemac_drv:-yes}
8041 LIBS
="$ac_save_LIBS"
8044 if test "x$enable_win16" = "xyes"
8046 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether 16-bit code can be built correctly" >&5
8047 $as_echo_n "checking whether 16-bit code can be built correctly... " >&6; }
8048 if test "$cross_compiling" = yes; then :
8049 { $as_echo "$as_me:${as_lineno-$LINENO}: result: cross-compiling, assuming yes" >&5
8050 $as_echo "cross-compiling, assuming yes" >&6; }
8052 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8053 /* end confdefs.h. */
8056 "good:\tnop;nop\n\t"
8057 ".globl _testfunc\n"
8058 "_testfunc:\tcallw good");
8059 extern void testfunc();
8063 unsigned short *p = (unsigned short *)testfunc;
8064 return p[0] != 0xe866 || p[1] != 0xfffa
8069 if ac_fn_c_try_run
"$LINENO"; then :
8070 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
8071 $as_echo "yes" >&6; }
8073 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8074 $as_echo "no" >&6; }
8075 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
8077 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext \
8078 conftest.
$ac_objext conftest.beam conftest.
$ac_ext
8083 libwine_targets
="libwine.dylib libwine.$libwine_soversion.dylib libwine.$libwine_version.dylib"
8085 OBJS = \$(C_SRCS:.c=.o) \$(EXTRA_OBJS)
8089 libwine.$libwine_version.dylib: \$(OBJS)
8090 \$(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 \$@
8092 libwine.$libwine_soversion.dylib: libwine.$libwine_version.dylib
8093 \$(RM) \$@ && \$(LN_S) libwine.$libwine_version.dylib \$@
8095 libwine.dylib: libwine.$libwine_soversion.dylib
8096 \$(RM) \$@ && \$(LN_S) libwine.$libwine_soversion.dylib \$@
8098 install install-lib:: libwine.$libwine_version.dylib
8099 \$(INSTALL_PROGRAM) libwine.$libwine_version.dylib \$(DESTDIR)\$(libdir)/libwine.$libwine_version.dylib
8100 cd \$(DESTDIR)\$(libdir) && \$(RM) libwine.$libwine_soversion.dylib && \$(LN_S) libwine.$libwine_version.dylib libwine.$libwine_soversion.dylib
8102 install install-dev::
8103 cd \$(DESTDIR)\$(libdir) && \$(RM) libwine.dylib && \$(LN_S) libwine.$libwine_version.dylib libwine.dylib
8106 -cd \$(DESTDIR)\$(libdir) && \$(RM) libwine.dylib libwine.$libwine_soversion.dylib libwine.$libwine_version.dylib
8110 as_fn_append LOADER_RULES
"
8111 $wine_binary: main.o wine_info.plist
8112 \$(CC) -o \$@ $LDEXECFLAGS main.o \$(LIBWINE) \$(LIBPORT) \$(EXTRALIBS) \$(LDFLAGS) \$(LDRPATH_LOCAL)
8114 wine-installed: main.o wine_info.plist
8115 \$(CC) -o \$@ $LDEXECFLAGS main.o \$(LIBWINE) \$(LIBPORT) \$(EXTRALIBS) \$(LDFLAGS) \$(LDRPATH_INSTALL)
8120 DLLFLAGS
="$DLLFLAGS -fPIC"
8124 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -Wl,--export-dynamic" >&5
8125 $as_echo_n "checking whether the compiler supports -fPIC -Wl,--export-dynamic... " >&6; }
8126 if ${ac_cv_cflags__fPIC__Wl___export_dynamic+:} false
; then :
8127 $as_echo_n "(cached) " >&6
8129 ac_wine_try_cflags_saved
=$CFLAGS
8130 CFLAGS
="$CFLAGS -fPIC -Wl,--export-dynamic"
8131 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8132 /* end confdefs.h. */
8133 int main(int argc, char **argv) { return 0; }
8135 if ac_fn_c_try_link
"$LINENO"; then :
8136 ac_cv_cflags__fPIC__Wl___export_dynamic
=yes
8138 ac_cv_cflags__fPIC__Wl___export_dynamic
=no
8140 rm -f core conftest.err conftest.
$ac_objext \
8141 conftest
$ac_exeext conftest.
$ac_ext
8142 CFLAGS
=$ac_wine_try_cflags_saved
8144 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fPIC__Wl___export_dynamic" >&5
8145 $as_echo "$ac_cv_cflags__fPIC__Wl___export_dynamic" >&6; }
8146 if test "x$ac_cv_cflags__fPIC__Wl___export_dynamic" = xyes
; then :
8147 LDEXECFLAGS
="-Wl,--export-dynamic"
8149 as_ac_var
=`$as_echo "ac_cv_cflags_-fPIC -Wl,--rpath,\\$ORIGIN/../lib" | $as_tr_sh`
8150 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -Wl,--rpath,\$ORIGIN/../lib" >&5
8151 $as_echo_n "checking whether the compiler supports -fPIC -Wl,--rpath,\$ORIGIN/../lib... " >&6; }
8152 if eval \
${$as_ac_var+:} false
; then :
8153 $as_echo_n "(cached) " >&6
8155 ac_wine_try_cflags_saved
=$CFLAGS
8156 CFLAGS
="$CFLAGS -fPIC -Wl,--rpath,\$ORIGIN/../lib"
8157 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8158 /* end confdefs.h. */
8159 int main(int argc, char **argv) { return 0; }
8161 if ac_fn_c_try_link
"$LINENO"; then :
8162 eval "$as_ac_var=yes"
8164 eval "$as_ac_var=no"
8166 rm -f core conftest.err conftest.
$ac_objext \
8167 conftest
$ac_exeext conftest.
$ac_ext
8168 CFLAGS
=$ac_wine_try_cflags_saved
8170 eval ac_res
=\$
$as_ac_var
8171 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
8172 $as_echo "$ac_res" >&6; }
8173 if eval test \"x\$
"$as_ac_var"\" = x
"yes"; then :
8174 LDRPATH_INSTALL
="-Wl,--rpath,\\\$\$ORIGIN/\`\$(MAKEDEP) -R \$(bindir) \$(libdir)\`"
8175 LDRPATH_LOCAL
="-Wl,--rpath,\\\$\$ORIGIN/\$(top_builddir)/libs/wine"
8177 as_ac_var
=`$as_echo "ac_cv_cflags_-fPIC -Wl,-R,\\$ORIGIN/../lib" | $as_tr_sh`
8178 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -Wl,-R,\$ORIGIN/../lib" >&5
8179 $as_echo_n "checking whether the compiler supports -fPIC -Wl,-R,\$ORIGIN/../lib... " >&6; }
8180 if eval \
${$as_ac_var+:} false
; then :
8181 $as_echo_n "(cached) " >&6
8183 ac_wine_try_cflags_saved
=$CFLAGS
8184 CFLAGS
="$CFLAGS -fPIC -Wl,-R,\$ORIGIN/../lib"
8185 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8186 /* end confdefs.h. */
8187 int main(int argc, char **argv) { return 0; }
8189 if ac_fn_c_try_link
"$LINENO"; then :
8190 eval "$as_ac_var=yes"
8192 eval "$as_ac_var=no"
8194 rm -f core conftest.err conftest.
$ac_objext \
8195 conftest
$ac_exeext conftest.
$ac_ext
8196 CFLAGS
=$ac_wine_try_cflags_saved
8198 eval ac_res
=\$
$as_ac_var
8199 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
8200 $as_echo "$ac_res" >&6; }
8201 if eval test \"x\$
"$as_ac_var"\" = x
"yes"; then :
8202 LDRPATH_INSTALL
="-Wl,-R,\\\$\$ORIGIN/\`\$(MAKEDEP) -R \$(bindir) \$(libdir)\`"
8203 LDRPATH_LOCAL
="-Wl,-R,\\\$\$ORIGIN/\$(top_builddir)/libs/wine"
8207 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,--enable-new-dtags" >&5
8208 $as_echo_n "checking whether the compiler supports -Wl,--enable-new-dtags... " >&6; }
8209 if ${ac_cv_cflags__Wl___enable_new_dtags+:} false
; then :
8210 $as_echo_n "(cached) " >&6
8212 ac_wine_try_cflags_saved
=$CFLAGS
8213 CFLAGS
="$CFLAGS -Wl,--enable-new-dtags"
8214 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8215 /* end confdefs.h. */
8216 int main(int argc, char **argv) { return 0; }
8218 if ac_fn_c_try_link
"$LINENO"; then :
8219 ac_cv_cflags__Wl___enable_new_dtags
=yes
8221 ac_cv_cflags__Wl___enable_new_dtags
=no
8223 rm -f core conftest.err conftest.
$ac_objext \
8224 conftest
$ac_exeext conftest.
$ac_ext
8225 CFLAGS
=$ac_wine_try_cflags_saved
8227 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl___enable_new_dtags" >&5
8228 $as_echo "$ac_cv_cflags__Wl___enable_new_dtags" >&6; }
8229 if test "x$ac_cv_cflags__Wl___enable_new_dtags" = xyes
; then :
8230 LDRPATH_INSTALL
="$LDRPATH_INSTALL -Wl,--enable-new-dtags"
8234 *i
[3456789]86* | x86_64
)
8235 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,--section-start,.interp=0x7bf00400" >&5
8236 $as_echo_n "checking whether the compiler supports -Wl,--section-start,.interp=0x7bf00400... " >&6; }
8237 if ${ac_cv_cflags__Wl___section_start__interp_0x7bf00400+:} false
; then :
8238 $as_echo_n "(cached) " >&6
8240 ac_wine_try_cflags_saved
=$CFLAGS
8241 CFLAGS
="$CFLAGS -Wl,--section-start,.interp=0x7bf00400"
8242 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8243 /* end confdefs.h. */
8244 int main(int argc, char **argv) { return 0; }
8246 if ac_fn_c_try_link
"$LINENO"; then :
8247 ac_cv_cflags__Wl___section_start__interp_0x7bf00400
=yes
8249 ac_cv_cflags__Wl___section_start__interp_0x7bf00400
=no
8251 rm -f core conftest.err conftest.
$ac_objext \
8252 conftest
$ac_exeext conftest.
$ac_ext
8253 CFLAGS
=$ac_wine_try_cflags_saved
8255 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl___section_start__interp_0x7bf00400" >&5
8256 $as_echo "$ac_cv_cflags__Wl___section_start__interp_0x7bf00400" >&6; }
8257 if test "x$ac_cv_cflags__Wl___section_start__interp_0x7bf00400" = xyes
; then :
8258 LDEXECFLAGS
="$LDEXECFLAGS -Wl,--section-start,.interp=0x7bf00400"
8263 libwine_targets
="libwine.so"
8265 OBJS = \$(C_SRCS:.c=.o) \$(EXTRA_OBJS)
8269 libwine.so: \$(OBJS)
8270 \$(CC) -shared \$(OBJS) \$(EXTRALIBS) \$(LDFLAGS) \$(LIBS) -o \$@
8272 install install-lib:: libwine.so
8273 \$(INSTALL_PROGRAM) libwine.so \$(DESTDIR)\$(libdir)/libwine.so
8276 \$(RM) \$(DESTDIR)\$(libdir)/libwine.so
8280 as_fn_append LOADER_RULES
"
8281 $wine_binary: main.o
8282 \$(CC) -o \$@ $LDEXECFLAGS main.o \$(LIBWINE) \$(LIBPORT) \$(EXTRALIBS) \$(LDFLAGS) \$(LDRPATH_LOCAL)
8284 wine-installed: main.o
8285 \$(CC) -o \$@ $LDEXECFLAGS main.o \$(LIBWINE) \$(LIBPORT) \$(EXTRALIBS) \$(LDFLAGS) \$(LDRPATH_INSTALL)
8290 DLLFLAGS
="$DLLFLAGS -fPIC"
8292 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we can build a GNU style ELF dll" >&5
8293 $as_echo_n "checking whether we can build a GNU style ELF dll... " >&6; }
8294 if ${ac_cv_c_dll_gnuelf+:} false
; then :
8295 $as_echo_n "(cached) " >&6
8297 ac_wine_try_cflags_saved
=$CFLAGS
8298 CFLAGS
="$CFLAGS -fPIC -shared -Wl,-Bsymbolic"
8299 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8300 /* end confdefs.h. */
8303 if ac_fn_c_try_link
"$LINENO"; then :
8304 ac_cv_c_dll_gnuelf
="yes"
8306 ac_cv_c_dll_gnuelf
="no"
8308 rm -f core conftest.err conftest.
$ac_objext \
8309 conftest
$ac_exeext conftest.
$ac_ext
8310 CFLAGS
=$ac_wine_try_cflags_saved
8312 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_dll_gnuelf" >&5
8313 $as_echo "$ac_cv_c_dll_gnuelf" >&6; }
8314 if test "$ac_cv_c_dll_gnuelf" = "yes"
8316 LDSHARED
="\$(CC) -shared"
8317 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -shared -Wl,-soname,confest.so.1" >&5
8318 $as_echo_n "checking whether the compiler supports -fPIC -shared -Wl,-soname,confest.so.1... " >&6; }
8319 if ${ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1+:} false
; then :
8320 $as_echo_n "(cached) " >&6
8322 ac_wine_try_cflags_saved
=$CFLAGS
8323 CFLAGS
="$CFLAGS -fPIC -shared -Wl,-soname,confest.so.1"
8324 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8325 /* end confdefs.h. */
8326 int main(int argc, char **argv) { return 0; }
8328 if ac_fn_c_try_link
"$LINENO"; then :
8329 ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1
=yes
8331 ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1
=no
8333 rm -f core conftest.err conftest.
$ac_objext \
8334 conftest
$ac_exeext conftest.
$ac_ext
8335 CFLAGS
=$ac_wine_try_cflags_saved
8337 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1" >&5
8338 $as_echo "$ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1" >&6; }
8339 if test "x$ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1" = xyes
; then :
8340 LDSHARED
="\$(CC) -shared -Wl,-soname,libwine.so.$libwine_soversion"
8342 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -shared -Wl,-h,confest.so.1" >&5
8343 $as_echo_n "checking whether the compiler supports -fPIC -shared -Wl,-h,confest.so.1... " >&6; }
8344 if ${ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1+:} false
; then :
8345 $as_echo_n "(cached) " >&6
8347 ac_wine_try_cflags_saved
=$CFLAGS
8348 CFLAGS
="$CFLAGS -fPIC -shared -Wl,-h,confest.so.1"
8349 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8350 /* end confdefs.h. */
8351 int main(int argc, char **argv) { return 0; }
8353 if ac_fn_c_try_link
"$LINENO"; then :
8354 ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1
=yes
8356 ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1
=no
8358 rm -f core conftest.err conftest.
$ac_objext \
8359 conftest
$ac_exeext conftest.
$ac_ext
8360 CFLAGS
=$ac_wine_try_cflags_saved
8362 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1" >&5
8363 $as_echo "$ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1" >&6; }
8364 if test "x$ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1" = xyes
; then :
8365 LDSHARED
="\$(CC) -shared -Wl,-h,libwine.so.$libwine_soversion"
8369 echo '{ global: *; };' >conftest.map
8370 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -shared -Wl,--version-script=conftest.map" >&5
8371 $as_echo_n "checking whether the compiler supports -fPIC -shared -Wl,--version-script=conftest.map... " >&6; }
8372 if ${ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map+:} false
; then :
8373 $as_echo_n "(cached) " >&6
8375 ac_wine_try_cflags_saved
=$CFLAGS
8376 CFLAGS
="$CFLAGS -fPIC -shared -Wl,--version-script=conftest.map"
8377 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8378 /* end confdefs.h. */
8379 int main(int argc, char **argv) { return 0; }
8381 if ac_fn_c_try_link
"$LINENO"; then :
8382 ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map
=yes
8384 ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map
=no
8386 rm -f core conftest.err conftest.
$ac_objext \
8387 conftest
$ac_exeext conftest.
$ac_ext
8388 CFLAGS
=$ac_wine_try_cflags_saved
8390 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map" >&5
8391 $as_echo "$ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map" >&6; }
8392 if test "x$ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map" = xyes
; then :
8393 LDSHARED
="$LDSHARED -Wl,--version-script=\$(srcdir)/wine.map"
8397 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -Wl,--export-dynamic" >&5
8398 $as_echo_n "checking whether the compiler supports -fPIC -Wl,--export-dynamic... " >&6; }
8399 if ${ac_cv_cflags__fPIC__Wl___export_dynamic+:} false
; then :
8400 $as_echo_n "(cached) " >&6
8402 ac_wine_try_cflags_saved
=$CFLAGS
8403 CFLAGS
="$CFLAGS -fPIC -Wl,--export-dynamic"
8404 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8405 /* end confdefs.h. */
8406 int main(int argc, char **argv) { return 0; }
8408 if ac_fn_c_try_link
"$LINENO"; then :
8409 ac_cv_cflags__fPIC__Wl___export_dynamic
=yes
8411 ac_cv_cflags__fPIC__Wl___export_dynamic
=no
8413 rm -f core conftest.err conftest.
$ac_objext \
8414 conftest
$ac_exeext conftest.
$ac_ext
8415 CFLAGS
=$ac_wine_try_cflags_saved
8417 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fPIC__Wl___export_dynamic" >&5
8418 $as_echo "$ac_cv_cflags__fPIC__Wl___export_dynamic" >&6; }
8419 if test "x$ac_cv_cflags__fPIC__Wl___export_dynamic" = xyes
; then :
8420 LDEXECFLAGS
="-Wl,--export-dynamic"
8423 as_ac_var
=`$as_echo "ac_cv_cflags_-fPIC -Wl,--rpath,\\$ORIGIN/../lib" | $as_tr_sh`
8424 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -Wl,--rpath,\$ORIGIN/../lib" >&5
8425 $as_echo_n "checking whether the compiler supports -fPIC -Wl,--rpath,\$ORIGIN/../lib... " >&6; }
8426 if eval \
${$as_ac_var+:} false
; then :
8427 $as_echo_n "(cached) " >&6
8429 ac_wine_try_cflags_saved
=$CFLAGS
8430 CFLAGS
="$CFLAGS -fPIC -Wl,--rpath,\$ORIGIN/../lib"
8431 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8432 /* end confdefs.h. */
8433 int main(int argc, char **argv) { return 0; }
8435 if ac_fn_c_try_link
"$LINENO"; then :
8436 eval "$as_ac_var=yes"
8438 eval "$as_ac_var=no"
8440 rm -f core conftest.err conftest.
$ac_objext \
8441 conftest
$ac_exeext conftest.
$ac_ext
8442 CFLAGS
=$ac_wine_try_cflags_saved
8444 eval ac_res
=\$
$as_ac_var
8445 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
8446 $as_echo "$ac_res" >&6; }
8447 if eval test \"x\$
"$as_ac_var"\" = x
"yes"; then :
8448 LDRPATH_INSTALL
="-Wl,--rpath,\\\$\$ORIGIN/\`\$(MAKEDEP) -R \$(bindir) \$(libdir)\`"
8449 LDRPATH_LOCAL
="-Wl,--rpath,\\\$\$ORIGIN/\$(top_builddir)/libs/wine"
8451 as_ac_var
=`$as_echo "ac_cv_cflags_-fPIC -Wl,-R,\\$ORIGIN/../lib" | $as_tr_sh`
8452 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -Wl,-R,\$ORIGIN/../lib" >&5
8453 $as_echo_n "checking whether the compiler supports -fPIC -Wl,-R,\$ORIGIN/../lib... " >&6; }
8454 if eval \
${$as_ac_var+:} false
; then :
8455 $as_echo_n "(cached) " >&6
8457 ac_wine_try_cflags_saved
=$CFLAGS
8458 CFLAGS
="$CFLAGS -fPIC -Wl,-R,\$ORIGIN/../lib"
8459 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8460 /* end confdefs.h. */
8461 int main(int argc, char **argv) { return 0; }
8463 if ac_fn_c_try_link
"$LINENO"; then :
8464 eval "$as_ac_var=yes"
8466 eval "$as_ac_var=no"
8468 rm -f core conftest.err conftest.
$ac_objext \
8469 conftest
$ac_exeext conftest.
$ac_ext
8470 CFLAGS
=$ac_wine_try_cflags_saved
8472 eval ac_res
=\$
$as_ac_var
8473 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
8474 $as_echo "$ac_res" >&6; }
8475 if eval test \"x\$
"$as_ac_var"\" = x
"yes"; then :
8476 LDRPATH_INSTALL
="-Wl,-R,\\\$\$ORIGIN/\`\$(MAKEDEP) -R \$(bindir) \$(libdir)\`"
8477 LDRPATH_LOCAL
="-Wl,-R,\\\$\$ORIGIN/\$(top_builddir)/libs/wine"
8481 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,--enable-new-dtags" >&5
8482 $as_echo_n "checking whether the compiler supports -Wl,--enable-new-dtags... " >&6; }
8483 if ${ac_cv_cflags__Wl___enable_new_dtags+:} false
; then :
8484 $as_echo_n "(cached) " >&6
8486 ac_wine_try_cflags_saved
=$CFLAGS
8487 CFLAGS
="$CFLAGS -Wl,--enable-new-dtags"
8488 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8489 /* end confdefs.h. */
8490 int main(int argc, char **argv) { return 0; }
8492 if ac_fn_c_try_link
"$LINENO"; then :
8493 ac_cv_cflags__Wl___enable_new_dtags
=yes
8495 ac_cv_cflags__Wl___enable_new_dtags
=no
8497 rm -f core conftest.err conftest.
$ac_objext \
8498 conftest
$ac_exeext conftest.
$ac_ext
8499 CFLAGS
=$ac_wine_try_cflags_saved
8501 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl___enable_new_dtags" >&5
8502 $as_echo "$ac_cv_cflags__Wl___enable_new_dtags" >&6; }
8503 if test "x$ac_cv_cflags__Wl___enable_new_dtags" = xyes
; then :
8504 LDRPATH_INSTALL
="$LDRPATH_INSTALL -Wl,--enable-new-dtags"
8508 *i
[3456789]86* | x86_64
)
8509 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,--section-start,.interp=0x7bf00400" >&5
8510 $as_echo_n "checking whether the compiler supports -Wl,--section-start,.interp=0x7bf00400... " >&6; }
8511 if ${ac_cv_cflags__Wl___section_start__interp_0x7bf00400+:} false
; then :
8512 $as_echo_n "(cached) " >&6
8514 ac_wine_try_cflags_saved
=$CFLAGS
8515 CFLAGS
="$CFLAGS -Wl,--section-start,.interp=0x7bf00400"
8516 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8517 /* end confdefs.h. */
8518 int main(int argc, char **argv) { return 0; }
8520 if ac_fn_c_try_link
"$LINENO"; then :
8521 ac_cv_cflags__Wl___section_start__interp_0x7bf00400
=yes
8523 ac_cv_cflags__Wl___section_start__interp_0x7bf00400
=no
8525 rm -f core conftest.err conftest.
$ac_objext \
8526 conftest
$ac_exeext conftest.
$ac_ext
8527 CFLAGS
=$ac_wine_try_cflags_saved
8529 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl___section_start__interp_0x7bf00400" >&5
8530 $as_echo "$ac_cv_cflags__Wl___section_start__interp_0x7bf00400" >&6; }
8531 if test "x$ac_cv_cflags__Wl___section_start__interp_0x7bf00400" = xyes
; then :
8533 freebsd
* | kfreebsd
*-gnu) LDEXECFLAGS
="$LDEXECFLAGS -Wl,--section-start,.interp=0x60000400" ;;
8534 *) LDEXECFLAGS
="$LDEXECFLAGS -Wl,--section-start,.interp=0x7bf00400" ;;
8538 # Extract the first word of "prelink", so it can be a program name with args.
8539 set dummy prelink
; ac_word
=$2
8540 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8541 $as_echo_n "checking for $ac_word... " >&6; }
8542 if ${ac_cv_path_PRELINK+:} false
; then :
8543 $as_echo_n "(cached) " >&6
8547 ac_cv_path_PRELINK
="$PRELINK" # Let the user override the test with a path.
8550 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
8551 for as_dir
in /sbin
/usr
/sbin
$PATH
8554 test -z "$as_dir" && as_dir
=.
8555 for ac_exec_ext
in '' $ac_executable_extensions; do
8556 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
8557 ac_cv_path_PRELINK
="$as_dir/$ac_word$ac_exec_ext"
8558 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8565 test -z "$ac_cv_path_PRELINK" && ac_cv_path_PRELINK
="false"
8569 PRELINK
=$ac_cv_path_PRELINK
8570 if test -n "$PRELINK"; then
8571 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PRELINK" >&5
8572 $as_echo "$PRELINK" >&6; }
8574 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8575 $as_echo "no" >&6; }
8579 if test "x$PRELINK" = xfalse
8581 as_fn_append wine_warnings
"|prelink not found, base address of core dlls won't be set correctly."
8587 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we can build a UnixWare (Solaris) dll" >&5
8588 $as_echo_n "checking whether we can build a UnixWare (Solaris) dll... " >&6; }
8589 if ${ac_cv_c_dll_unixware+:} false
; then :
8590 $as_echo_n "(cached) " >&6
8592 ac_wine_try_cflags_saved
=$CFLAGS
8593 CFLAGS
="$CFLAGS -fPIC -Wl,-G,-h,conftest.so.1.0,-B,symbolic"
8594 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8595 /* end confdefs.h. */
8598 if ac_fn_c_try_link
"$LINENO"; then :
8599 ac_cv_c_dll_unixware
="yes"
8601 ac_cv_c_dll_unixware
="no"
8603 rm -f core conftest.err conftest.
$ac_objext \
8604 conftest
$ac_exeext conftest.
$ac_ext
8605 CFLAGS
=$ac_wine_try_cflags_saved
8607 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_dll_unixware" >&5
8608 $as_echo "$ac_cv_c_dll_unixware" >&6; }
8609 if test "$ac_cv_c_dll_unixware" = "yes"
8611 LDSHARED
="\$(CC) -Wl,-G,-h,libwine.so.$libwine_soversion"
8614 libwine_targets
="libwine.so libwine.so.$libwine_soversion libwine.so.$libwine_version"
8616 OBJS = \$(C_SRCS:.c=.o) \$(EXTRA_OBJS)
8620 libwine.so.$libwine_version: \$(OBJS) \$(srcdir)/wine.map
8621 $LDSHARED \$(OBJS) \$(EXTRALIBS) \$(LDFLAGS) \$(LIBS) -o \$@
8623 libwine.so.$libwine_soversion: libwine.so.$libwine_version
8624 \$(RM) \$@ && \$(LN_S) libwine.so.$libwine_version \$@
8626 libwine.so: libwine.so.$libwine_soversion
8627 \$(RM) \$@ && \$(LN_S) libwine.so.$libwine_soversion \$@
8629 install install-lib:: libwine.so.$libwine_version
8630 \$(INSTALL_PROGRAM) libwine.so.$libwine_version \$(DESTDIR)\$(libdir)/libwine.so.$libwine_version
8631 cd \$(DESTDIR)\$(libdir) && \$(RM) libwine.so.$libwine_soversion && \$(LN_S) libwine.so.$libwine_version libwine.so.$libwine_soversion
8633 install install-dev::
8634 cd \$(DESTDIR)\$(libdir) && \$(RM) libwine.so && \$(LN_S) libwine.so.$libwine_version libwine.so
8637 -cd \$(DESTDIR)\$(libdir) && \$(RM) libwine.so libwine.so.$libwine_soversion libwine.so.$libwine_version
8641 as_fn_append LOADER_RULES
"
8642 $wine_binary: main.o
8643 \$(CC) -o \$@ $LDEXECFLAGS main.o \$(LIBWINE) \$(LIBPORT) \$(EXTRALIBS) \$(LDFLAGS) \$(LDRPATH_LOCAL)
8645 wine-installed: main.o
8646 \$(CC) -o \$@ $LDEXECFLAGS main.o \$(LIBWINE) \$(LIBPORT) \$(EXTRALIBS) \$(LDFLAGS) \$(LDRPATH_INSTALL)
8651 as_fn_append LIBWINE_RULES
"
8652 EXTRA_TARGETS = $libwine_targets
8655 enable_wineqtdecoder
=${enable_wineqtdecoder:-no}
8656 enable_winemac_drv
=${enable_winemac_drv:-no}
8660 if test "$cross_compiling" = "no" -a "x$enable_tests" != xno
-a "$LIBEXT" != "dll"
8664 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
8667 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 " ;;
8669 ac_prefix_list
="" ;;
8671 for ac_prog
in $ac_prefix_list
8673 # Extract the first word of "$ac_prog", so it can be a program name with args.
8674 set dummy
$ac_prog; ac_word
=$2
8675 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8676 $as_echo_n "checking for $ac_word... " >&6; }
8677 if ${ac_cv_prog_CROSSCC+:} false
; then :
8678 $as_echo_n "(cached) " >&6
8680 if test -n "$CROSSCC"; then
8681 ac_cv_prog_CROSSCC
="$CROSSCC" # Let the user override the test.
8683 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
8687 test -z "$as_dir" && as_dir
=.
8688 for ac_exec_ext
in '' $ac_executable_extensions; do
8689 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
8690 ac_cv_prog_CROSSCC
="$ac_prog"
8691 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8700 CROSSCC
=$ac_cv_prog_CROSSCC
8701 if test -n "$CROSSCC"; then
8702 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CROSSCC" >&5
8703 $as_echo "$CROSSCC" >&6; }
8705 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8706 $as_echo "no" >&6; }
8710 test -n "$CROSSCC" && break
8712 test -n "$CROSSCC" || CROSSCC
="false"
8714 if test "$CROSSCC" != "false"
8718 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CROSSCC works" >&5
8719 $as_echo_n "checking whether $CROSSCC works... " >&6; }
8720 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8721 /* end confdefs.h. */
8731 if ac_fn_c_try_compile
"$LINENO"; then :
8732 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
8733 $as_echo "yes" >&6; }
8739 *-gcc) CROSSTARGET
=`expr "$1" : '\(.*\)-gcc'` ;;
8744 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8745 $as_echo "no" >&6; }
8747 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
8753 if test "$ac_cv_header_pthread_h" = "yes"
8755 ac_fn_c_check_func
"$LINENO" "pthread_create" "ac_cv_func_pthread_create"
8756 if test "x$ac_cv_func_pthread_create" = xyes
; then :
8759 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pthread_create in -lpthread" >&5
8760 $as_echo_n "checking for pthread_create in -lpthread... " >&6; }
8761 if ${ac_cv_lib_pthread_pthread_create+:} false
; then :
8762 $as_echo_n "(cached) " >&6
8764 ac_check_lib_save_LIBS
=$LIBS
8765 LIBS
="-lpthread $LIBS"
8766 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8767 /* end confdefs.h. */
8769 /* Override any GCC internal prototype to avoid an error.
8770 Use char because int might match the return type of a GCC
8771 builtin and then its argument prototype would still apply. */
8775 char pthread_create ();
8779 return pthread_create ();
8784 if ac_fn_c_try_link
"$LINENO"; then :
8785 ac_cv_lib_pthread_pthread_create
=yes
8787 ac_cv_lib_pthread_pthread_create
=no
8789 rm -f core conftest.err conftest.
$ac_objext \
8790 conftest
$ac_exeext conftest.
$ac_ext
8791 LIBS
=$ac_check_lib_save_LIBS
8793 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_pthread_pthread_create" >&5
8794 $as_echo "$ac_cv_lib_pthread_pthread_create" >&6; }
8795 if test "x$ac_cv_lib_pthread_pthread_create" = xyes
; then :
8796 PTHREAD_LIBS
="-lpthread"
8803 if test "x$ac_cv_func_pthread_create" != xyes
-a "x$PTHREAD_LIBS" = x
; then :
8804 case "x$with_pthread" in
8806 *) as_fn_error $?
"pthread ${notice_platform}development files not found.
8807 Wine cannot support threads without libpthread.
8808 Use the --without-pthread option if you really want this." "$LINENO" 5 ;;
8813 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for X" >&5
8814 $as_echo_n "checking for X... " >&6; }
8817 # Check whether --with-x was given.
8818 if test "${with_x+set}" = set; then :
8822 # $have_x is `yes', `no', `disabled', or empty when we do not yet know.
8823 if test "x$with_x" = xno
; then
8824 # The user explicitly disabled X.
8827 case $x_includes,$x_libraries in #(
8828 *\'*) as_fn_error $?
"cannot use X directory names containing '" "$LINENO" 5;; #(
8829 *,NONE | NONE
,*) if ${ac_cv_have_x+:} false
; then :
8830 $as_echo_n "(cached) " >&6
8832 # One or both of the vars are not set, and there is no cached value.
8833 ac_x_includes
=no ac_x_libraries
=no
8834 rm -f -r conftest.dir
8835 if mkdir conftest.dir
; then
8837 cat >Imakefile
<<'_ACEOF'
8839 @echo incroot='${INCROOT}'
8841 @echo usrlibdir='${USRLIBDIR}'
8843 @echo libdir='${LIBDIR}'
8845 if (export CC
; ${XMKMF-xmkmf}) >/dev
/null
2>/dev
/null
&& test -f Makefile
; then
8846 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
8847 for ac_var
in incroot usrlibdir libdir
; do
8848 eval "ac_im_$ac_var=\`\${MAKE-make} $ac_var 2>/dev/null | sed -n 's/^$ac_var=//p'\`"
8850 # Open Windows xmkmf reportedly sets LIBDIR instead of USRLIBDIR.
8851 for ac_extension
in a so sl dylib la dll
; do
8852 if test ! -f "$ac_im_usrlibdir/libX11.$ac_extension" &&
8853 test -f "$ac_im_libdir/libX11.$ac_extension"; then
8854 ac_im_usrlibdir
=$ac_im_libdir; break
8857 # Screen out bogus values from the imake configuration. They are
8858 # bogus both because they are the default anyway, and because
8859 # using them would break gcc on systems where it needs fixed includes.
8860 case $ac_im_incroot in
8861 /usr
/include
) ac_x_includes
= ;;
8862 *) test -f "$ac_im_incroot/X11/Xos.h" && ac_x_includes
=$ac_im_incroot;;
8864 case $ac_im_usrlibdir in
8865 /usr
/lib |
/usr
/lib64 |
/lib |
/lib64
) ;;
8866 *) test -d "$ac_im_usrlibdir" && ac_x_libraries
=$ac_im_usrlibdir ;;
8870 rm -f -r conftest.dir
8873 # Standard set of common directories for X headers.
8874 # Check X11 before X11Rn because it is often a symlink to the current release.
8888 /usr/local/X11/include
8889 /usr/local/X11R7/include
8890 /usr/local/X11R6/include
8891 /usr/local/X11R5/include
8892 /usr/local/X11R4/include
8894 /usr/local/include/X11
8895 /usr/local/include/X11R7
8896 /usr/local/include/X11R6
8897 /usr/local/include/X11R5
8898 /usr/local/include/X11R4
8902 /usr/XFree86/include/X11
8906 /usr/unsupported/include
8908 /usr/local/x11r5/include
8909 /usr/lpp/Xamples/include
8911 /usr/openwin/include
8912 /usr/openwin/share/include'
8914 if test "$ac_x_includes" = no
; then
8915 # Guess where to find include files, by looking for Xlib.h.
8916 # First, try using that file with no special directory specified.
8917 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8918 /* end confdefs.h. */
8919 #include <X11/Xlib.h>
8921 if ac_fn_c_try_cpp
"$LINENO"; then :
8922 # We can compile using X headers with no special include directory.
8925 for ac_dir
in $ac_x_header_dirs; do
8926 if test -r "$ac_dir/X11/Xlib.h"; then
8927 ac_x_includes
=$ac_dir
8932 rm -f conftest.err conftest.i conftest.
$ac_ext
8933 fi # $ac_x_includes = no
8935 if test "$ac_x_libraries" = no
; then
8936 # Check for the libraries.
8937 # See if we find them without any special options.
8938 # Don't add to $LIBS permanently.
8941 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8942 /* end confdefs.h. */
8943 #include <X11/Xlib.h>
8952 if ac_fn_c_try_link
"$LINENO"; then :
8954 # We can link X programs with no special library path.
8958 for ac_dir
in `$as_echo "$ac_x_includes $ac_x_header_dirs" | sed s/include/lib/g`
8960 # Don't even attempt the hair of trying to link an X program!
8961 for ac_extension
in a so sl dylib la dll
; do
8962 if test -r "$ac_dir/libX11.$ac_extension"; then
8963 ac_x_libraries
=$ac_dir
8969 rm -f core conftest.err conftest.
$ac_objext \
8970 conftest
$ac_exeext conftest.
$ac_ext
8971 fi # $ac_x_libraries = no
8973 case $ac_x_includes,$ac_x_libraries in #(
8975 # Didn't find X, or a directory has "'" in its name.
8976 ac_cv_have_x
="have_x=no";; #(
8978 # Record where we found X for the cache.
8979 ac_cv_have_x
="have_x=yes\
8980 ac_x_includes='$ac_x_includes'\
8981 ac_x_libraries='$ac_x_libraries'"
8987 eval "$ac_cv_have_x"
8990 if test "$have_x" != yes; then
8991 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $have_x" >&5
8992 $as_echo "$have_x" >&6; }
8995 # If each of the values was on the command line, it overrides each guess.
8996 test "x$x_includes" = xNONE
&& x_includes
=$ac_x_includes
8997 test "x$x_libraries" = xNONE
&& x_libraries
=$ac_x_libraries
8998 # Update the cache value to reflect the command line values.
8999 ac_cv_have_x
="have_x=yes\
9000 ac_x_includes='$x_includes'\
9001 ac_x_libraries='$x_libraries'"
9002 { $as_echo "$as_me:${as_lineno-$LINENO}: result: libraries $x_libraries, headers $x_includes" >&5
9003 $as_echo "libraries $x_libraries, headers $x_includes" >&6; }
9006 if test "$no_x" = yes; then
9007 # Not all programs may use this symbol, but it does not hurt to define it.
9009 $as_echo "#define X_DISPLAY_MISSING 1" >>confdefs.h
9011 X_CFLAGS
= X_PRE_LIBS
= X_LIBS
= X_EXTRA_LIBS
=
9013 if test -n "$x_includes"; then
9014 X_CFLAGS
="$X_CFLAGS -I$x_includes"
9017 # It would also be nice to do this for all -L options, not just this one.
9018 if test -n "$x_libraries"; then
9019 X_LIBS
="$X_LIBS -L$x_libraries"
9020 # For Solaris; some versions of Sun CC require a space after -R and
9021 # others require no space. Words are not sufficient . . . .
9022 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -R must be followed by a space" >&5
9023 $as_echo_n "checking whether -R must be followed by a space... " >&6; }
9024 ac_xsave_LIBS
=$LIBS; LIBS
="$LIBS -R$x_libraries"
9025 ac_xsave_c_werror_flag
=$ac_c_werror_flag
9026 ac_c_werror_flag
=yes
9027 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9028 /* end confdefs.h. */
9038 if ac_fn_c_try_link
"$LINENO"; then :
9039 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9040 $as_echo "no" >&6; }
9041 X_LIBS
="$X_LIBS -R$x_libraries"
9043 LIBS
="$ac_xsave_LIBS -R $x_libraries"
9044 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9045 /* end confdefs.h. */
9055 if ac_fn_c_try_link
"$LINENO"; then :
9056 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
9057 $as_echo "yes" >&6; }
9058 X_LIBS
="$X_LIBS -R $x_libraries"
9060 { $as_echo "$as_me:${as_lineno-$LINENO}: result: neither works" >&5
9061 $as_echo "neither works" >&6; }
9063 rm -f core conftest.err conftest.
$ac_objext \
9064 conftest
$ac_exeext conftest.
$ac_ext
9066 rm -f core conftest.err conftest.
$ac_objext \
9067 conftest
$ac_exeext conftest.
$ac_ext
9068 ac_c_werror_flag
=$ac_xsave_c_werror_flag
9072 # Check for system-dependent libraries X programs must link with.
9073 # Do this before checking for the system-independent R6 libraries
9074 # (-lICE), since we may need -lsocket or whatever for X linking.
9076 if test "$ISC" = yes; then
9077 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lnsl_s -linet"
9079 # Martyn Johnson says this is needed for Ultrix, if the X
9080 # libraries were built with DECnet support. And Karl Berry says
9081 # the Alpha needs dnet_stub (dnet does not exist).
9082 ac_xsave_LIBS
="$LIBS"; LIBS
="$LIBS $X_LIBS -lX11"
9083 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9084 /* end confdefs.h. */
9086 /* Override any GCC internal prototype to avoid an error.
9087 Use char because int might match the return type of a GCC
9088 builtin and then its argument prototype would still apply. */
9092 char XOpenDisplay ();
9096 return XOpenDisplay ();
9101 if ac_fn_c_try_link
"$LINENO"; then :
9104 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dnet_ntoa in -ldnet" >&5
9105 $as_echo_n "checking for dnet_ntoa in -ldnet... " >&6; }
9106 if ${ac_cv_lib_dnet_dnet_ntoa+:} false
; then :
9107 $as_echo_n "(cached) " >&6
9109 ac_check_lib_save_LIBS
=$LIBS
9111 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9112 /* end confdefs.h. */
9114 /* Override any GCC internal prototype to avoid an error.
9115 Use char because int might match the return type of a GCC
9116 builtin and then its argument prototype would still apply. */
9124 return dnet_ntoa ();
9129 if ac_fn_c_try_link
"$LINENO"; then :
9130 ac_cv_lib_dnet_dnet_ntoa
=yes
9132 ac_cv_lib_dnet_dnet_ntoa
=no
9134 rm -f core conftest.err conftest.
$ac_objext \
9135 conftest
$ac_exeext conftest.
$ac_ext
9136 LIBS
=$ac_check_lib_save_LIBS
9138 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dnet_dnet_ntoa" >&5
9139 $as_echo "$ac_cv_lib_dnet_dnet_ntoa" >&6; }
9140 if test "x$ac_cv_lib_dnet_dnet_ntoa" = xyes
; then :
9141 X_EXTRA_LIBS
="$X_EXTRA_LIBS -ldnet"
9144 if test $ac_cv_lib_dnet_dnet_ntoa = no
; then
9145 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dnet_ntoa in -ldnet_stub" >&5
9146 $as_echo_n "checking for dnet_ntoa in -ldnet_stub... " >&6; }
9147 if ${ac_cv_lib_dnet_stub_dnet_ntoa+:} false
; then :
9148 $as_echo_n "(cached) " >&6
9150 ac_check_lib_save_LIBS
=$LIBS
9151 LIBS
="-ldnet_stub $LIBS"
9152 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9153 /* end confdefs.h. */
9155 /* Override any GCC internal prototype to avoid an error.
9156 Use char because int might match the return type of a GCC
9157 builtin and then its argument prototype would still apply. */
9165 return dnet_ntoa ();
9170 if ac_fn_c_try_link
"$LINENO"; then :
9171 ac_cv_lib_dnet_stub_dnet_ntoa
=yes
9173 ac_cv_lib_dnet_stub_dnet_ntoa
=no
9175 rm -f core conftest.err conftest.
$ac_objext \
9176 conftest
$ac_exeext conftest.
$ac_ext
9177 LIBS
=$ac_check_lib_save_LIBS
9179 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dnet_stub_dnet_ntoa" >&5
9180 $as_echo "$ac_cv_lib_dnet_stub_dnet_ntoa" >&6; }
9181 if test "x$ac_cv_lib_dnet_stub_dnet_ntoa" = xyes
; then :
9182 X_EXTRA_LIBS
="$X_EXTRA_LIBS -ldnet_stub"
9187 rm -f core conftest.err conftest.
$ac_objext \
9188 conftest
$ac_exeext conftest.
$ac_ext
9189 LIBS
="$ac_xsave_LIBS"
9191 # msh@cis.ufl.edu says -lnsl (and -lsocket) are needed for his 386/AT,
9192 # to get the SysV transport functions.
9193 # Chad R. Larson says the Pyramis MIS-ES running DC/OSx (SVR4)
9195 # The nsl library prevents programs from opening the X display
9196 # on Irix 5.2, according to T.E. Dickey.
9197 # The functions gethostbyname, getservbyname, and inet_addr are
9198 # in -lbsd on LynxOS 3.0.1/i386, according to Lars Hecking.
9199 ac_fn_c_check_func
"$LINENO" "gethostbyname" "ac_cv_func_gethostbyname"
9200 if test "x$ac_cv_func_gethostbyname" = xyes
; then :
9204 if test $ac_cv_func_gethostbyname = no
; then
9205 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gethostbyname in -lnsl" >&5
9206 $as_echo_n "checking for gethostbyname in -lnsl... " >&6; }
9207 if ${ac_cv_lib_nsl_gethostbyname+:} false
; then :
9208 $as_echo_n "(cached) " >&6
9210 ac_check_lib_save_LIBS
=$LIBS
9212 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9213 /* end confdefs.h. */
9215 /* Override any GCC internal prototype to avoid an error.
9216 Use char because int might match the return type of a GCC
9217 builtin and then its argument prototype would still apply. */
9221 char gethostbyname ();
9225 return gethostbyname ();
9230 if ac_fn_c_try_link
"$LINENO"; then :
9231 ac_cv_lib_nsl_gethostbyname
=yes
9233 ac_cv_lib_nsl_gethostbyname
=no
9235 rm -f core conftest.err conftest.
$ac_objext \
9236 conftest
$ac_exeext conftest.
$ac_ext
9237 LIBS
=$ac_check_lib_save_LIBS
9239 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_nsl_gethostbyname" >&5
9240 $as_echo "$ac_cv_lib_nsl_gethostbyname" >&6; }
9241 if test "x$ac_cv_lib_nsl_gethostbyname" = xyes
; then :
9242 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lnsl"
9245 if test $ac_cv_lib_nsl_gethostbyname = no
; then
9246 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gethostbyname in -lbsd" >&5
9247 $as_echo_n "checking for gethostbyname in -lbsd... " >&6; }
9248 if ${ac_cv_lib_bsd_gethostbyname+:} false
; then :
9249 $as_echo_n "(cached) " >&6
9251 ac_check_lib_save_LIBS
=$LIBS
9253 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9254 /* end confdefs.h. */
9256 /* Override any GCC internal prototype to avoid an error.
9257 Use char because int might match the return type of a GCC
9258 builtin and then its argument prototype would still apply. */
9262 char gethostbyname ();
9266 return gethostbyname ();
9271 if ac_fn_c_try_link
"$LINENO"; then :
9272 ac_cv_lib_bsd_gethostbyname
=yes
9274 ac_cv_lib_bsd_gethostbyname
=no
9276 rm -f core conftest.err conftest.
$ac_objext \
9277 conftest
$ac_exeext conftest.
$ac_ext
9278 LIBS
=$ac_check_lib_save_LIBS
9280 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_bsd_gethostbyname" >&5
9281 $as_echo "$ac_cv_lib_bsd_gethostbyname" >&6; }
9282 if test "x$ac_cv_lib_bsd_gethostbyname" = xyes
; then :
9283 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lbsd"
9289 # lieder@skyler.mavd.honeywell.com says without -lsocket,
9290 # socket/setsockopt and other routines are undefined under SCO ODT
9291 # 2.0. But -lsocket is broken on IRIX 5.2 (and is not necessary
9292 # on later versions), says Simon Leinen: it contains gethostby*
9293 # variants that don't use the name server (or something). -lsocket
9294 # must be given before -lnsl if both are needed. We assume that
9295 # if connect needs -lnsl, so does gethostbyname.
9296 ac_fn_c_check_func
"$LINENO" "connect" "ac_cv_func_connect"
9297 if test "x$ac_cv_func_connect" = xyes
; then :
9301 if test $ac_cv_func_connect = no
; then
9302 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for connect in -lsocket" >&5
9303 $as_echo_n "checking for connect in -lsocket... " >&6; }
9304 if ${ac_cv_lib_socket_connect+:} false
; then :
9305 $as_echo_n "(cached) " >&6
9307 ac_check_lib_save_LIBS
=$LIBS
9308 LIBS
="-lsocket $X_EXTRA_LIBS $LIBS"
9309 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9310 /* end confdefs.h. */
9312 /* Override any GCC internal prototype to avoid an error.
9313 Use char because int might match the return type of a GCC
9314 builtin and then its argument prototype would still apply. */
9327 if ac_fn_c_try_link
"$LINENO"; then :
9328 ac_cv_lib_socket_connect
=yes
9330 ac_cv_lib_socket_connect
=no
9332 rm -f core conftest.err conftest.
$ac_objext \
9333 conftest
$ac_exeext conftest.
$ac_ext
9334 LIBS
=$ac_check_lib_save_LIBS
9336 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_socket_connect" >&5
9337 $as_echo "$ac_cv_lib_socket_connect" >&6; }
9338 if test "x$ac_cv_lib_socket_connect" = xyes
; then :
9339 X_EXTRA_LIBS
="-lsocket $X_EXTRA_LIBS"
9344 # Guillermo Gomez says -lposix is necessary on A/UX.
9345 ac_fn_c_check_func
"$LINENO" "remove" "ac_cv_func_remove"
9346 if test "x$ac_cv_func_remove" = xyes
; then :
9350 if test $ac_cv_func_remove = no
; then
9351 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for remove in -lposix" >&5
9352 $as_echo_n "checking for remove in -lposix... " >&6; }
9353 if ${ac_cv_lib_posix_remove+:} false
; then :
9354 $as_echo_n "(cached) " >&6
9356 ac_check_lib_save_LIBS
=$LIBS
9357 LIBS
="-lposix $LIBS"
9358 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9359 /* end confdefs.h. */
9361 /* Override any GCC internal prototype to avoid an error.
9362 Use char because int might match the return type of a GCC
9363 builtin and then its argument prototype would still apply. */
9376 if ac_fn_c_try_link
"$LINENO"; then :
9377 ac_cv_lib_posix_remove
=yes
9379 ac_cv_lib_posix_remove
=no
9381 rm -f core conftest.err conftest.
$ac_objext \
9382 conftest
$ac_exeext conftest.
$ac_ext
9383 LIBS
=$ac_check_lib_save_LIBS
9385 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_posix_remove" >&5
9386 $as_echo "$ac_cv_lib_posix_remove" >&6; }
9387 if test "x$ac_cv_lib_posix_remove" = xyes
; then :
9388 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lposix"
9393 # BSDI BSD/OS 2.1 needs -lipc for XOpenDisplay.
9394 ac_fn_c_check_func
"$LINENO" "shmat" "ac_cv_func_shmat"
9395 if test "x$ac_cv_func_shmat" = xyes
; then :
9399 if test $ac_cv_func_shmat = no
; then
9400 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shmat in -lipc" >&5
9401 $as_echo_n "checking for shmat in -lipc... " >&6; }
9402 if ${ac_cv_lib_ipc_shmat+:} false
; then :
9403 $as_echo_n "(cached) " >&6
9405 ac_check_lib_save_LIBS
=$LIBS
9407 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9408 /* end confdefs.h. */
9410 /* Override any GCC internal prototype to avoid an error.
9411 Use char because int might match the return type of a GCC
9412 builtin and then its argument prototype would still apply. */
9425 if ac_fn_c_try_link
"$LINENO"; then :
9426 ac_cv_lib_ipc_shmat
=yes
9428 ac_cv_lib_ipc_shmat
=no
9430 rm -f core conftest.err conftest.
$ac_objext \
9431 conftest
$ac_exeext conftest.
$ac_ext
9432 LIBS
=$ac_check_lib_save_LIBS
9434 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ipc_shmat" >&5
9435 $as_echo "$ac_cv_lib_ipc_shmat" >&6; }
9436 if test "x$ac_cv_lib_ipc_shmat" = xyes
; then :
9437 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lipc"
9443 # Check for libraries that X11R6 Xt/Xaw programs need.
9444 ac_save_LDFLAGS
=$LDFLAGS
9445 test -n "$x_libraries" && LDFLAGS
="$LDFLAGS -L$x_libraries"
9446 # SM needs ICE to (dynamically) link under SunOS 4.x (so we have to
9447 # check for ICE first), but we must link in the order -lSM -lICE or
9448 # we get undefined symbols. So assume we have SM if we have ICE.
9449 # These have to be linked with before -lX11, unlike the other
9450 # libraries we check for below, so use a different variable.
9451 # John Interrante, Karl Berry
9452 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for IceConnectionNumber in -lICE" >&5
9453 $as_echo_n "checking for IceConnectionNumber in -lICE... " >&6; }
9454 if ${ac_cv_lib_ICE_IceConnectionNumber+:} false
; then :
9455 $as_echo_n "(cached) " >&6
9457 ac_check_lib_save_LIBS
=$LIBS
9458 LIBS
="-lICE $X_EXTRA_LIBS $LIBS"
9459 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9460 /* end confdefs.h. */
9462 /* Override any GCC internal prototype to avoid an error.
9463 Use char because int might match the return type of a GCC
9464 builtin and then its argument prototype would still apply. */
9468 char IceConnectionNumber ();
9472 return IceConnectionNumber ();
9477 if ac_fn_c_try_link
"$LINENO"; then :
9478 ac_cv_lib_ICE_IceConnectionNumber
=yes
9480 ac_cv_lib_ICE_IceConnectionNumber
=no
9482 rm -f core conftest.err conftest.
$ac_objext \
9483 conftest
$ac_exeext conftest.
$ac_ext
9484 LIBS
=$ac_check_lib_save_LIBS
9486 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ICE_IceConnectionNumber" >&5
9487 $as_echo "$ac_cv_lib_ICE_IceConnectionNumber" >&6; }
9488 if test "x$ac_cv_lib_ICE_IceConnectionNumber" = xyes
; then :
9489 X_PRE_LIBS
="$X_PRE_LIBS -lSM -lICE"
9492 LDFLAGS
=$ac_save_LDFLAGS
9497 if test "$have_x" = "yes"
9499 ac_save_CPPFLAGS
="$CPPFLAGS"
9500 CPPFLAGS
="$CPPFLAGS $X_CFLAGS"
9502 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lX11" >&5
9503 $as_echo_n "checking for -lX11... " >&6; }
9504 if ${ac_cv_lib_soname_X11+:} false
; then :
9505 $as_echo_n "(cached) " >&6
9507 ac_check_soname_save_LIBS
=$LIBS
9508 LIBS
="-lX11 $X_LIBS $X_EXTRA_LIBS $LIBS"
9509 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9510 /* end confdefs.h. */
9512 /* Override any GCC internal prototype to avoid an error.
9513 Use char because int might match the return type of a GCC
9514 builtin and then its argument prototype would still apply. */
9518 char XCreateWindow ();
9522 return XCreateWindow ();
9527 if ac_fn_c_try_link
"$LINENO"; then :
9529 dll
) ac_cv_lib_soname_X11
=`$ac_cv_path_LDD conftest.exe | grep "X11" | sed -e "s/dll.*/dll/"';2,$d'` ;;
9530 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'` ;;
9531 *) ac_cv_lib_soname_X11
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libX11\\.$LIBEXT" | sed -e "s/^.*\\[\\(libX11\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
9532 if ${ac_cv_lib_soname_X11:+false} :; then :
9533 ac_cv_lib_soname_X11
=`$LDD conftest$ac_exeext | grep "libX11\\.$LIBEXT" | sed -e "s/^.*\(libX11\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
9537 rm -f core conftest.err conftest.
$ac_objext \
9538 conftest
$ac_exeext conftest.
$ac_ext
9539 LIBS
=$ac_check_soname_save_LIBS
9541 if ${ac_cv_lib_soname_X11:+false} :; then :
9542 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
9543 $as_echo "not found" >&6; }
9546 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_X11" >&5
9547 $as_echo "$ac_cv_lib_soname_X11" >&6; }
9549 cat >>confdefs.h
<<_ACEOF
9550 #define SONAME_LIBX11 "$ac_cv_lib_soname_X11"
9555 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXext" >&5
9556 $as_echo_n "checking for -lXext... " >&6; }
9557 if ${ac_cv_lib_soname_Xext+:} false
; then :
9558 $as_echo_n "(cached) " >&6
9560 ac_check_soname_save_LIBS
=$LIBS
9561 LIBS
="-lXext $X_LIBS -lX11 $X_EXTRA_LIBS $LIBS"
9562 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9563 /* end confdefs.h. */
9565 /* Override any GCC internal prototype to avoid an error.
9566 Use char because int might match the return type of a GCC
9567 builtin and then its argument prototype would still apply. */
9571 char XextCreateExtension ();
9575 return XextCreateExtension ();
9580 if ac_fn_c_try_link
"$LINENO"; then :
9582 dll
) ac_cv_lib_soname_Xext
=`$ac_cv_path_LDD conftest.exe | grep "Xext" | sed -e "s/dll.*/dll/"';2,$d'` ;;
9583 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'` ;;
9584 *) ac_cv_lib_soname_Xext
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXext\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXext\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
9585 if ${ac_cv_lib_soname_Xext:+false} :; then :
9586 ac_cv_lib_soname_Xext
=`$LDD conftest$ac_exeext | grep "libXext\\.$LIBEXT" | sed -e "s/^.*\(libXext\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
9590 rm -f core conftest.err conftest.
$ac_objext \
9591 conftest
$ac_exeext conftest.
$ac_ext
9592 LIBS
=$ac_check_soname_save_LIBS
9594 if ${ac_cv_lib_soname_Xext:+false} :; then :
9595 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
9596 $as_echo "not found" >&6; }
9599 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xext" >&5
9600 $as_echo "$ac_cv_lib_soname_Xext" >&6; }
9602 cat >>confdefs.h
<<_ACEOF
9603 #define SONAME_LIBXEXT "$ac_cv_lib_soname_Xext"
9606 X_LIBS
="$X_LIBS -lXext"
9608 X_LIBS
="$X_LIBS -lX11"
9610 for ac_header
in X11
/Xlib.h \
9613 X11
/Xcursor
/Xcursor.h \
9614 X11
/extensions
/shape.h \
9615 X11
/extensions
/XInput.h \
9616 X11
/extensions
/XInput2.h \
9617 X11
/extensions
/XShm.h \
9618 X11
/extensions
/Xcomposite.h \
9619 X11
/extensions
/Xinerama.h \
9620 X11
/extensions
/Xrandr.h \
9621 X11
/extensions
/Xrender.h \
9622 X11
/extensions
/xf86vmode.h \
9623 X11
/extensions
/xf86vmproto.h
9625 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
9626 ac_fn_c_check_header_compile
"$LINENO" "$ac_header" "$as_ac_Header" "#ifdef HAVE_X11_XLIB_H
9627 # include <X11/Xlib.h>
9629 #ifdef HAVE_X11_XUTIL_H
9630 # include <X11/Xutil.h>
9633 if eval test \"x\$
"$as_ac_Header"\" = x
"yes"; then :
9634 cat >>confdefs.h
<<_ACEOF
9635 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
9643 if test "$ac_cv_header_X11_XKBlib_h" = "yes"
9645 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XkbQueryExtension in -lX11" >&5
9646 $as_echo_n "checking for XkbQueryExtension in -lX11... " >&6; }
9647 if ${ac_cv_lib_X11_XkbQueryExtension+:} false
; then :
9648 $as_echo_n "(cached) " >&6
9650 ac_check_lib_save_LIBS
=$LIBS
9651 LIBS
="-lX11 $X_LIBS $X_EXTRA_LIBS $LIBS"
9652 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9653 /* end confdefs.h. */
9655 /* Override any GCC internal prototype to avoid an error.
9656 Use char because int might match the return type of a GCC
9657 builtin and then its argument prototype would still apply. */
9661 char XkbQueryExtension ();
9665 return XkbQueryExtension ();
9670 if ac_fn_c_try_link
"$LINENO"; then :
9671 ac_cv_lib_X11_XkbQueryExtension
=yes
9673 ac_cv_lib_X11_XkbQueryExtension
=no
9675 rm -f core conftest.err conftest.
$ac_objext \
9676 conftest
$ac_exeext conftest.
$ac_ext
9677 LIBS
=$ac_check_lib_save_LIBS
9679 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_X11_XkbQueryExtension" >&5
9680 $as_echo "$ac_cv_lib_X11_XkbQueryExtension" >&6; }
9681 if test "x$ac_cv_lib_X11_XkbQueryExtension" = xyes
; then :
9683 $as_echo "#define HAVE_XKB 1" >>confdefs.h
9689 if test "$ac_cv_header_X11_Xcursor_Xcursor_h" = "yes"
9691 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXcursor" >&5
9692 $as_echo_n "checking for -lXcursor... " >&6; }
9693 if ${ac_cv_lib_soname_Xcursor+:} false
; then :
9694 $as_echo_n "(cached) " >&6
9696 ac_check_soname_save_LIBS
=$LIBS
9697 LIBS
="-lXcursor $X_LIBS $X_EXTRA_LIBS $LIBS"
9698 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9699 /* end confdefs.h. */
9701 /* Override any GCC internal prototype to avoid an error.
9702 Use char because int might match the return type of a GCC
9703 builtin and then its argument prototype would still apply. */
9707 char XcursorImageLoadCursor ();
9711 return XcursorImageLoadCursor ();
9716 if ac_fn_c_try_link
"$LINENO"; then :
9718 dll
) ac_cv_lib_soname_Xcursor
=`$ac_cv_path_LDD conftest.exe | grep "Xcursor" | sed -e "s/dll.*/dll/"';2,$d'` ;;
9719 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'` ;;
9720 *) ac_cv_lib_soname_Xcursor
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXcursor\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXcursor\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
9721 if ${ac_cv_lib_soname_Xcursor:+false} :; then :
9722 ac_cv_lib_soname_Xcursor
=`$LDD conftest$ac_exeext | grep "libXcursor\\.$LIBEXT" | sed -e "s/^.*\(libXcursor\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
9726 rm -f core conftest.err conftest.
$ac_objext \
9727 conftest
$ac_exeext conftest.
$ac_ext
9728 LIBS
=$ac_check_soname_save_LIBS
9730 if ${ac_cv_lib_soname_Xcursor:+false} :; then :
9731 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
9732 $as_echo "not found" >&6; }
9735 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xcursor" >&5
9736 $as_echo "$ac_cv_lib_soname_Xcursor" >&6; }
9738 cat >>confdefs.h
<<_ACEOF
9739 #define SONAME_LIBXCURSOR "$ac_cv_lib_soname_Xcursor"
9745 if test "x$ac_cv_lib_soname_Xcursor" = "x"; then :
9746 case "x$with_xcursor" in
9747 x
) as_fn_append wine_notices
"|libxcursor ${notice_platform}development files not found, the Xcursor extension won't be supported." ;;
9749 *) as_fn_error $?
"libxcursor ${notice_platform}development files not found, the Xcursor extension won't be supported.
9750 This is an error since --with-xcursor was requested." "$LINENO" 5 ;;
9754 if test "$ac_cv_header_X11_extensions_XInput_h" = "yes"
9756 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXi" >&5
9757 $as_echo_n "checking for -lXi... " >&6; }
9758 if ${ac_cv_lib_soname_Xi+:} false
; then :
9759 $as_echo_n "(cached) " >&6
9761 ac_check_soname_save_LIBS
=$LIBS
9762 LIBS
="-lXi $X_LIBS $X_EXTRA_LIBS $LIBS"
9763 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9764 /* end confdefs.h. */
9766 /* Override any GCC internal prototype to avoid an error.
9767 Use char because int might match the return type of a GCC
9768 builtin and then its argument prototype would still apply. */
9772 char XOpenDevice ();
9776 return XOpenDevice ();
9781 if ac_fn_c_try_link
"$LINENO"; then :
9783 dll
) ac_cv_lib_soname_Xi
=`$ac_cv_path_LDD conftest.exe | grep "Xi" | sed -e "s/dll.*/dll/"';2,$d'` ;;
9784 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'` ;;
9785 *) ac_cv_lib_soname_Xi
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXi\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXi\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
9786 if ${ac_cv_lib_soname_Xi:+false} :; then :
9787 ac_cv_lib_soname_Xi
=`$LDD conftest$ac_exeext | grep "libXi\\.$LIBEXT" | sed -e "s/^.*\(libXi\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
9791 rm -f core conftest.err conftest.
$ac_objext \
9792 conftest
$ac_exeext conftest.
$ac_ext
9793 LIBS
=$ac_check_soname_save_LIBS
9795 if ${ac_cv_lib_soname_Xi:+false} :; then :
9796 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
9797 $as_echo "not found" >&6; }
9800 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xi" >&5
9801 $as_echo "$ac_cv_lib_soname_Xi" >&6; }
9803 cat >>confdefs.h
<<_ACEOF
9804 #define SONAME_LIBXI "$ac_cv_lib_soname_Xi"
9810 if test "x$ac_cv_lib_soname_Xi" = "x"; then :
9811 case "x$with_xinput" in
9812 x
) as_fn_append wine_notices
"|libxi ${notice_platform}development files not found, the Xinput extension won't be supported." ;;
9814 *) as_fn_error $?
"libxi ${notice_platform}development files not found, the Xinput extension won't be supported.
9815 This is an error since --with-xinput was requested." "$LINENO" 5 ;;
9819 if test "x$ac_cv_lib_soname_Xi" != x
9821 if test "$ac_cv_header_X11_extensions_XInput2_h" != "yes"; then :
9822 case "x$with_xinput2" in
9823 x
) as_fn_append wine_notices
"|XInput2 headers not found, the XInput 2 extension won't be supported." ;;
9825 *) as_fn_error $?
"XInput2 headers not found, the XInput 2 extension won't be supported.
9826 This is an error since --with-xinput2 was requested." "$LINENO" 5 ;;
9831 if test "$ac_cv_header_X11_extensions_XShm_h" = "yes"
9833 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XShmQueryExtension in -lXext" >&5
9834 $as_echo_n "checking for XShmQueryExtension in -lXext... " >&6; }
9835 if ${ac_cv_lib_Xext_XShmQueryExtension+:} false
; then :
9836 $as_echo_n "(cached) " >&6
9838 ac_check_lib_save_LIBS
=$LIBS
9839 LIBS
="-lXext $X_LIBS $X_EXTRA_LIBS $LIBS"
9840 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9841 /* end confdefs.h. */
9843 /* Override any GCC internal prototype to avoid an error.
9844 Use char because int might match the return type of a GCC
9845 builtin and then its argument prototype would still apply. */
9849 char XShmQueryExtension ();
9853 return XShmQueryExtension ();
9858 if ac_fn_c_try_link
"$LINENO"; then :
9859 ac_cv_lib_Xext_XShmQueryExtension
=yes
9861 ac_cv_lib_Xext_XShmQueryExtension
=no
9863 rm -f core conftest.err conftest.
$ac_objext \
9864 conftest
$ac_exeext conftest.
$ac_ext
9865 LIBS
=$ac_check_lib_save_LIBS
9867 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xext_XShmQueryExtension" >&5
9868 $as_echo "$ac_cv_lib_Xext_XShmQueryExtension" >&6; }
9869 if test "x$ac_cv_lib_Xext_XShmQueryExtension" = xyes
; then :
9871 $as_echo "#define HAVE_LIBXXSHM 1" >>confdefs.h
9876 if test "$ac_cv_lib_Xext_XShmQueryExtension" != "yes"; then :
9877 case "x$with_xshm" in
9878 x
) as_fn_append wine_notices
"|XShm ${notice_platform}development files not found, X Shared Memory won't be supported." ;;
9880 *) as_fn_error $?
"XShm ${notice_platform}development files not found, X Shared Memory won't be supported.
9881 This is an error since --with-xshm was requested." "$LINENO" 5 ;;
9885 if test "$ac_cv_header_X11_extensions_shape_h" = "yes"
9887 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XShapeQueryExtension in -lXext" >&5
9888 $as_echo_n "checking for XShapeQueryExtension in -lXext... " >&6; }
9889 if ${ac_cv_lib_Xext_XShapeQueryExtension+:} false
; then :
9890 $as_echo_n "(cached) " >&6
9892 ac_check_lib_save_LIBS
=$LIBS
9893 LIBS
="-lXext $X_LIBS $X_EXTRA_LIBS $LIBS"
9894 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9895 /* end confdefs.h. */
9897 /* Override any GCC internal prototype to avoid an error.
9898 Use char because int might match the return type of a GCC
9899 builtin and then its argument prototype would still apply. */
9903 char XShapeQueryExtension ();
9907 return XShapeQueryExtension ();
9912 if ac_fn_c_try_link
"$LINENO"; then :
9913 ac_cv_lib_Xext_XShapeQueryExtension
=yes
9915 ac_cv_lib_Xext_XShapeQueryExtension
=no
9917 rm -f core conftest.err conftest.
$ac_objext \
9918 conftest
$ac_exeext conftest.
$ac_ext
9919 LIBS
=$ac_check_lib_save_LIBS
9921 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xext_XShapeQueryExtension" >&5
9922 $as_echo "$ac_cv_lib_Xext_XShapeQueryExtension" >&6; }
9923 if test "x$ac_cv_lib_Xext_XShapeQueryExtension" = xyes
; then :
9925 $as_echo "#define HAVE_LIBXSHAPE 1" >>confdefs.h
9930 if test "$ac_cv_lib_Xext_XShapeQueryExtension" != "yes"; then :
9931 case "x$with_xshape" in
9932 x
) as_fn_append wine_notices
"|XShape ${notice_platform}development files not found, XShape won't be supported." ;;
9934 *) as_fn_error $?
"XShape ${notice_platform}development files not found, XShape won't be supported.
9935 This is an error since --with-xshape was requested." "$LINENO" 5 ;;
9939 if test "$ac_cv_header_X11_extensions_xf86vmode_h" = "yes" -o "$ac_cv_header_X11_extensions_xf86vmproto_h" = "yes"
9941 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXxf86vm" >&5
9942 $as_echo_n "checking for -lXxf86vm... " >&6; }
9943 if ${ac_cv_lib_soname_Xxf86vm+:} false
; then :
9944 $as_echo_n "(cached) " >&6
9946 ac_check_soname_save_LIBS
=$LIBS
9947 LIBS
="-lXxf86vm $X_LIBS $X_EXTRA_LIBS $LIBS"
9948 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9949 /* end confdefs.h. */
9951 /* Override any GCC internal prototype to avoid an error.
9952 Use char because int might match the return type of a GCC
9953 builtin and then its argument prototype would still apply. */
9957 char XF86VidModeQueryExtension ();
9961 return XF86VidModeQueryExtension ();
9966 if ac_fn_c_try_link
"$LINENO"; then :
9968 dll
) ac_cv_lib_soname_Xxf86vm
=`$ac_cv_path_LDD conftest.exe | grep "Xxf86vm" | sed -e "s/dll.*/dll/"';2,$d'` ;;
9969 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'` ;;
9970 *) ac_cv_lib_soname_Xxf86vm
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXxf86vm\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXxf86vm\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
9971 if ${ac_cv_lib_soname_Xxf86vm:+false} :; then :
9972 ac_cv_lib_soname_Xxf86vm
=`$LDD conftest$ac_exeext | grep "libXxf86vm\\.$LIBEXT" | sed -e "s/^.*\(libXxf86vm\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
9976 rm -f core conftest.err conftest.
$ac_objext \
9977 conftest
$ac_exeext conftest.
$ac_ext
9978 LIBS
=$ac_check_soname_save_LIBS
9980 if ${ac_cv_lib_soname_Xxf86vm:+false} :; then :
9981 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
9982 $as_echo "not found" >&6; }
9985 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xxf86vm" >&5
9986 $as_echo "$ac_cv_lib_soname_Xxf86vm" >&6; }
9988 cat >>confdefs.h
<<_ACEOF
9989 #define SONAME_LIBXXF86VM "$ac_cv_lib_soname_Xxf86vm"
9995 if test "x$ac_cv_lib_soname_Xxf86vm" = "x"; then :
9996 case "x$with_xxf86vm" in
9997 x
) as_fn_append wine_notices
"|libXxf86vm ${notice_platform}development files not found, XFree86 Vidmode won't be supported." ;;
9999 *) as_fn_error $?
"libXxf86vm ${notice_platform}development files not found, XFree86 Vidmode won't be supported.
10000 This is an error since --with-xxf86vm was requested." "$LINENO" 5 ;;
10004 if test "$ac_cv_header_X11_extensions_Xrender_h" = "yes" -a "x$ac_cv_lib_soname_X11" != "x"
10006 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXrender" >&5
10007 $as_echo_n "checking for -lXrender... " >&6; }
10008 if ${ac_cv_lib_soname_Xrender+:} false
; then :
10009 $as_echo_n "(cached) " >&6
10011 ac_check_soname_save_LIBS
=$LIBS
10012 LIBS
="-lXrender $X_LIBS $X_EXTRA_LIBS $LIBS"
10013 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10014 /* end confdefs.h. */
10016 /* Override any GCC internal prototype to avoid an error.
10017 Use char because int might match the return type of a GCC
10018 builtin and then its argument prototype would still apply. */
10022 char XRenderQueryExtension ();
10026 return XRenderQueryExtension ();
10031 if ac_fn_c_try_link
"$LINENO"; then :
10033 dll
) ac_cv_lib_soname_Xrender
=`$ac_cv_path_LDD conftest.exe | grep "Xrender" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10034 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'` ;;
10035 *) ac_cv_lib_soname_Xrender
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXrender\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXrender\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10036 if ${ac_cv_lib_soname_Xrender:+false} :; then :
10037 ac_cv_lib_soname_Xrender
=`$LDD conftest$ac_exeext | grep "libXrender\\.$LIBEXT" | sed -e "s/^.*\(libXrender\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10041 rm -f core conftest.err conftest.
$ac_objext \
10042 conftest
$ac_exeext conftest.
$ac_ext
10043 LIBS
=$ac_check_soname_save_LIBS
10045 if ${ac_cv_lib_soname_Xrender:+false} :; then :
10046 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10047 $as_echo "not found" >&6; }
10050 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xrender" >&5
10051 $as_echo "$ac_cv_lib_soname_Xrender" >&6; }
10053 cat >>confdefs.h
<<_ACEOF
10054 #define SONAME_LIBXRENDER "$ac_cv_lib_soname_Xrender"
10057 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XRenderSetPictureTransform in -lXrender" >&5
10058 $as_echo_n "checking for XRenderSetPictureTransform in -lXrender... " >&6; }
10059 if ${ac_cv_lib_Xrender_XRenderSetPictureTransform+:} false
; then :
10060 $as_echo_n "(cached) " >&6
10062 ac_check_lib_save_LIBS
=$LIBS
10063 LIBS
="-lXrender $X_LIBS $X_EXTRA_LIBS $LIBS"
10064 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10065 /* end confdefs.h. */
10067 /* Override any GCC internal prototype to avoid an error.
10068 Use char because int might match the return type of a GCC
10069 builtin and then its argument prototype would still apply. */
10073 char XRenderSetPictureTransform ();
10077 return XRenderSetPictureTransform ();
10082 if ac_fn_c_try_link
"$LINENO"; then :
10083 ac_cv_lib_Xrender_XRenderSetPictureTransform
=yes
10085 ac_cv_lib_Xrender_XRenderSetPictureTransform
=no
10087 rm -f core conftest.err conftest.
$ac_objext \
10088 conftest
$ac_exeext conftest.
$ac_ext
10089 LIBS
=$ac_check_lib_save_LIBS
10091 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xrender_XRenderSetPictureTransform" >&5
10092 $as_echo "$ac_cv_lib_Xrender_XRenderSetPictureTransform" >&6; }
10093 if test "x$ac_cv_lib_Xrender_XRenderSetPictureTransform" = xyes
; then :
10095 $as_echo "#define HAVE_XRENDERSETPICTURETRANSFORM 1" >>confdefs.h
10099 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XRenderCreateLinearGradient in -lXrender" >&5
10100 $as_echo_n "checking for XRenderCreateLinearGradient in -lXrender... " >&6; }
10101 if ${ac_cv_lib_Xrender_XRenderCreateLinearGradient+:} false
; then :
10102 $as_echo_n "(cached) " >&6
10104 ac_check_lib_save_LIBS
=$LIBS
10105 LIBS
="-lXrender $X_LIBS $X_EXTRA_LIBS $LIBS"
10106 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10107 /* end confdefs.h. */
10109 /* Override any GCC internal prototype to avoid an error.
10110 Use char because int might match the return type of a GCC
10111 builtin and then its argument prototype would still apply. */
10115 char XRenderCreateLinearGradient ();
10119 return XRenderCreateLinearGradient ();
10124 if ac_fn_c_try_link
"$LINENO"; then :
10125 ac_cv_lib_Xrender_XRenderCreateLinearGradient
=yes
10127 ac_cv_lib_Xrender_XRenderCreateLinearGradient
=no
10129 rm -f core conftest.err conftest.
$ac_objext \
10130 conftest
$ac_exeext conftest.
$ac_ext
10131 LIBS
=$ac_check_lib_save_LIBS
10133 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xrender_XRenderCreateLinearGradient" >&5
10134 $as_echo "$ac_cv_lib_Xrender_XRenderCreateLinearGradient" >&6; }
10135 if test "x$ac_cv_lib_Xrender_XRenderCreateLinearGradient" = xyes
; then :
10137 $as_echo "#define HAVE_XRENDERCREATELINEARGRADIENT 1" >>confdefs.h
10144 if test "x$ac_cv_lib_soname_Xrender" = "x"; then :
10145 case "x$with_xrender" in
10146 x
) as_fn_append wine_warnings
"|libxrender ${notice_platform}development files not found, XRender won't be supported." ;;
10148 *) as_fn_error $?
"libxrender ${notice_platform}development files not found, XRender won't be supported.
10149 This is an error since --with-xrender was requested." "$LINENO" 5 ;;
10153 if test "$ac_cv_header_X11_extensions_Xrandr_h" = "yes" -a "x$ac_cv_lib_soname_Xrender" != "x"
10155 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10156 /* end confdefs.h. */
10157 #include <X11/Xlib.h>
10158 #include <X11/extensions/Xrandr.h>
10162 static typeof(XRRSetScreenConfigAndRate) * func; if (func) return 0;
10167 if ac_fn_c_try_compile
"$LINENO"; then :
10168 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXrandr" >&5
10169 $as_echo_n "checking for -lXrandr... " >&6; }
10170 if ${ac_cv_lib_soname_Xrandr+:} false
; then :
10171 $as_echo_n "(cached) " >&6
10173 ac_check_soname_save_LIBS
=$LIBS
10174 LIBS
="-lXrandr $X_LIBS $X_EXTRA_LIBS $LIBS"
10175 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10176 /* end confdefs.h. */
10178 /* Override any GCC internal prototype to avoid an error.
10179 Use char because int might match the return type of a GCC
10180 builtin and then its argument prototype would still apply. */
10184 char XRRQueryExtension ();
10188 return XRRQueryExtension ();
10193 if ac_fn_c_try_link
"$LINENO"; then :
10195 dll
) ac_cv_lib_soname_Xrandr
=`$ac_cv_path_LDD conftest.exe | grep "Xrandr" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10196 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'` ;;
10197 *) ac_cv_lib_soname_Xrandr
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXrandr\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXrandr\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10198 if ${ac_cv_lib_soname_Xrandr:+false} :; then :
10199 ac_cv_lib_soname_Xrandr
=`$LDD conftest$ac_exeext | grep "libXrandr\\.$LIBEXT" | sed -e "s/^.*\(libXrandr\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10203 rm -f core conftest.err conftest.
$ac_objext \
10204 conftest
$ac_exeext conftest.
$ac_ext
10205 LIBS
=$ac_check_soname_save_LIBS
10207 if ${ac_cv_lib_soname_Xrandr:+false} :; then :
10208 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10209 $as_echo "not found" >&6; }
10212 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xrandr" >&5
10213 $as_echo "$ac_cv_lib_soname_Xrandr" >&6; }
10215 cat >>confdefs.h
<<_ACEOF
10216 #define SONAME_LIBXRANDR "$ac_cv_lib_soname_Xrandr"
10219 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10220 /* end confdefs.h. */
10221 #include <X11/Xlib.h>
10222 #include <X11/extensions/Xrandr.h>
10226 static typeof(XRRGetScreenResources) *f; if (f) return 0;
10231 if ac_fn_c_try_compile
"$LINENO"; then :
10233 $as_echo "#define HAVE_XRRGETSCREENRESOURCES 1" >>confdefs.h
10236 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
10239 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
10241 if test "x$ac_cv_lib_soname_Xrandr" = "x"; then :
10242 case "x$with_xrandr" in
10243 x
) as_fn_append wine_notices
"|libxrandr ${notice_platform}development files not found, XRandr won't be supported." ;;
10245 *) as_fn_error $?
"libxrandr ${notice_platform}development files not found, XRandr won't be supported.
10246 This is an error since --with-xrandr was requested." "$LINENO" 5 ;;
10250 if test "$ac_cv_header_X11_extensions_Xinerama_h" = "yes"
10252 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10253 /* end confdefs.h. */
10254 #include <X11/Xlib.h>
10255 #include <X11/extensions/Xinerama.h>
10259 static typeof(XineramaQueryScreens) * func; if (func) return 0;
10264 if ac_fn_c_try_compile
"$LINENO"; then :
10265 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXinerama" >&5
10266 $as_echo_n "checking for -lXinerama... " >&6; }
10267 if ${ac_cv_lib_soname_Xinerama+:} false
; then :
10268 $as_echo_n "(cached) " >&6
10270 ac_check_soname_save_LIBS
=$LIBS
10271 LIBS
="-lXinerama $X_LIBS $X_EXTRA_LIBS $LIBS"
10272 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10273 /* end confdefs.h. */
10275 /* Override any GCC internal prototype to avoid an error.
10276 Use char because int might match the return type of a GCC
10277 builtin and then its argument prototype would still apply. */
10281 char XineramaQueryScreens ();
10285 return XineramaQueryScreens ();
10290 if ac_fn_c_try_link
"$LINENO"; then :
10292 dll
) ac_cv_lib_soname_Xinerama
=`$ac_cv_path_LDD conftest.exe | grep "Xinerama" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10293 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'` ;;
10294 *) ac_cv_lib_soname_Xinerama
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXinerama\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXinerama\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10295 if ${ac_cv_lib_soname_Xinerama:+false} :; then :
10296 ac_cv_lib_soname_Xinerama
=`$LDD conftest$ac_exeext | grep "libXinerama\\.$LIBEXT" | sed -e "s/^.*\(libXinerama\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10300 rm -f core conftest.err conftest.
$ac_objext \
10301 conftest
$ac_exeext conftest.
$ac_ext
10302 LIBS
=$ac_check_soname_save_LIBS
10304 if ${ac_cv_lib_soname_Xinerama:+false} :; then :
10305 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10306 $as_echo "not found" >&6; }
10309 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xinerama" >&5
10310 $as_echo "$ac_cv_lib_soname_Xinerama" >&6; }
10312 cat >>confdefs.h
<<_ACEOF
10313 #define SONAME_LIBXINERAMA "$ac_cv_lib_soname_Xinerama"
10319 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
10321 if test "x$ac_cv_lib_soname_Xinerama" = "x"; then :
10322 case "x$with_xinerama" in
10323 x
) as_fn_append wine_notices
"|libxinerama ${notice_platform}development files not found, multi-monitor setups won't be supported." ;;
10325 *) as_fn_error $?
"libxinerama ${notice_platform}development files not found, multi-monitor setups won't be supported.
10326 This is an error since --with-xinerama was requested." "$LINENO" 5 ;;
10330 if test "$ac_cv_header_X11_extensions_Xcomposite_h" = "yes"
10332 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXcomposite" >&5
10333 $as_echo_n "checking for -lXcomposite... " >&6; }
10334 if ${ac_cv_lib_soname_Xcomposite+:} false
; then :
10335 $as_echo_n "(cached) " >&6
10337 ac_check_soname_save_LIBS
=$LIBS
10338 LIBS
="-lXcomposite $X_LIBS $X_EXTRA_LIBS $LIBS"
10339 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10340 /* end confdefs.h. */
10342 /* Override any GCC internal prototype to avoid an error.
10343 Use char because int might match the return type of a GCC
10344 builtin and then its argument prototype would still apply. */
10348 char XCompositeRedirectWindow ();
10352 return XCompositeRedirectWindow ();
10357 if ac_fn_c_try_link
"$LINENO"; then :
10359 dll
) ac_cv_lib_soname_Xcomposite
=`$ac_cv_path_LDD conftest.exe | grep "Xcomposite" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10360 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'` ;;
10361 *) ac_cv_lib_soname_Xcomposite
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXcomposite\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXcomposite\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10362 if ${ac_cv_lib_soname_Xcomposite:+false} :; then :
10363 ac_cv_lib_soname_Xcomposite
=`$LDD conftest$ac_exeext | grep "libXcomposite\\.$LIBEXT" | sed -e "s/^.*\(libXcomposite\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10367 rm -f core conftest.err conftest.
$ac_objext \
10368 conftest
$ac_exeext conftest.
$ac_ext
10369 LIBS
=$ac_check_soname_save_LIBS
10371 if ${ac_cv_lib_soname_Xcomposite:+false} :; then :
10372 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10373 $as_echo "not found" >&6; }
10376 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xcomposite" >&5
10377 $as_echo "$ac_cv_lib_soname_Xcomposite" >&6; }
10379 cat >>confdefs.h
<<_ACEOF
10380 #define SONAME_LIBXCOMPOSITE "$ac_cv_lib_soname_Xcomposite"
10386 if test "x$ac_cv_lib_soname_Xcomposite" = "x"; then :
10387 case "x$with_xcomposite" in
10388 x
) as_fn_append wine_notices
"|libxcomposite ${notice_platform}development files not found, Xcomposite won't be supported." ;;
10390 *) as_fn_error $?
"libxcomposite ${notice_platform}development files not found, Xcomposite won't be supported.
10391 This is an error since --with-xcomposite was requested." "$LINENO" 5 ;;
10395 ac_fn_c_check_member
"$LINENO" "XICCallback" "callback" "ac_cv_member_XICCallback_callback" "#ifdef HAVE_X11_XLIB_H
10396 #include <X11/Xlib.h>
10399 if test "x$ac_cv_member_XICCallback_callback" = xyes
; then :
10401 cat >>confdefs.h
<<_ACEOF
10402 #define HAVE_XICCALLBACK_CALLBACK 1
10407 ac_fn_c_check_member
"$LINENO" "XEvent" "xcookie" "ac_cv_member_XEvent_xcookie" "#ifdef HAVE_X11_XLIB_H
10408 #include <X11/Xlib.h>
10411 if test "x$ac_cv_member_XEvent_xcookie" = xyes
; then :
10413 cat >>confdefs.h
<<_ACEOF
10414 #define HAVE_XEVENT_XCOOKIE 1
10423 if test "x$with_opengl" != "xno"
10425 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lGL" >&5
10426 $as_echo_n "checking for -lGL... " >&6; }
10427 if ${ac_cv_lib_soname_GL+:} false
; then :
10428 $as_echo_n "(cached) " >&6
10430 ac_check_soname_save_LIBS
=$LIBS
10431 LIBS
="-lGL $X_LIBS -lm $X_EXTRA_LIBS $LIBS"
10432 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10433 /* end confdefs.h. */
10435 /* Override any GCC internal prototype to avoid an error.
10436 Use char because int might match the return type of a GCC
10437 builtin and then its argument prototype would still apply. */
10441 char glXCreateContext ();
10445 return glXCreateContext ();
10450 if ac_fn_c_try_link
"$LINENO"; then :
10452 dll
) ac_cv_lib_soname_GL
=`$ac_cv_path_LDD conftest.exe | grep "GL" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10453 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'` ;;
10454 *) ac_cv_lib_soname_GL
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libGL\\.$LIBEXT" | sed -e "s/^.*\\[\\(libGL\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10455 if ${ac_cv_lib_soname_GL:+false} :; then :
10456 ac_cv_lib_soname_GL
=`$LDD conftest$ac_exeext | grep "libGL\\.$LIBEXT" | sed -e "s/^.*\(libGL\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10460 rm -f core conftest.err conftest.
$ac_objext \
10461 conftest
$ac_exeext conftest.
$ac_ext
10462 LIBS
=$ac_check_soname_save_LIBS
10464 if ${ac_cv_lib_soname_GL:+false} :; then :
10465 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10466 $as_echo "not found" >&6; }
10467 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lGL" >&5
10468 $as_echo_n "checking for -lGL... " >&6; }
10469 if ${ac_cv_lib_soname_GL+:} false
; then :
10470 $as_echo_n "(cached) " >&6
10472 ac_check_soname_save_LIBS
=$LIBS
10473 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"
10474 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10475 /* end confdefs.h. */
10477 /* Override any GCC internal prototype to avoid an error.
10478 Use char because int might match the return type of a GCC
10479 builtin and then its argument prototype would still apply. */
10483 char glXCreateContext ();
10487 return glXCreateContext ();
10492 if ac_fn_c_try_link
"$LINENO"; then :
10494 dll
) ac_cv_lib_soname_GL
=`$ac_cv_path_LDD conftest.exe | grep "GL" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10495 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'` ;;
10496 *) ac_cv_lib_soname_GL
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libGL\\.$LIBEXT" | sed -e "s/^.*\\[\\(libGL\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10497 if ${ac_cv_lib_soname_GL:+false} :; then :
10498 ac_cv_lib_soname_GL
=`$LDD conftest$ac_exeext | grep "libGL\\.$LIBEXT" | sed -e "s/^.*\(libGL\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10502 rm -f core conftest.err conftest.
$ac_objext \
10503 conftest
$ac_exeext conftest.
$ac_ext
10504 LIBS
=$ac_check_soname_save_LIBS
10506 if ${ac_cv_lib_soname_GL:+false} :; then :
10507 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10508 $as_echo "not found" >&6; }
10509 if test -f /usr
/X11R
6/lib
/libGL.a
10511 opengl_msg
="/usr/X11R6/lib/libGL.a is present on your system.
10512 This probably prevents linking to OpenGL. Try deleting the file and restarting configure."
10514 opengl_msg
="No OpenGL library found on this system."
10517 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_GL" >&5
10518 $as_echo "$ac_cv_lib_soname_GL" >&6; }
10520 cat >>confdefs.h
<<_ACEOF
10521 #define SONAME_LIBGL "$ac_cv_lib_soname_GL"
10524 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"
10527 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_GL" >&5
10528 $as_echo "$ac_cv_lib_soname_GL" >&6; }
10530 cat >>confdefs.h
<<_ACEOF
10531 #define SONAME_LIBGL "$ac_cv_lib_soname_GL"
10536 if test "x$with_glu" != "xno"
10538 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gluLookAt in -lGLU" >&5
10539 $as_echo_n "checking for gluLookAt in -lGLU... " >&6; }
10540 if ${ac_cv_lib_GLU_gluLookAt+:} false
; then :
10541 $as_echo_n "(cached) " >&6
10543 ac_check_lib_save_LIBS
=$LIBS
10544 LIBS
="-lGLU $OPENGL_LIBS $X_LIBS -lm $X_EXTRA_LIBS $LIBS"
10545 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10546 /* end confdefs.h. */
10548 /* Override any GCC internal prototype to avoid an error.
10549 Use char because int might match the return type of a GCC
10550 builtin and then its argument prototype would still apply. */
10558 return gluLookAt ();
10563 if ac_fn_c_try_link
"$LINENO"; then :
10564 ac_cv_lib_GLU_gluLookAt
=yes
10566 ac_cv_lib_GLU_gluLookAt
=no
10568 rm -f core conftest.err conftest.
$ac_objext \
10569 conftest
$ac_exeext conftest.
$ac_ext
10570 LIBS
=$ac_check_lib_save_LIBS
10572 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_GLU_gluLookAt" >&5
10573 $as_echo "$ac_cv_lib_GLU_gluLookAt" >&6; }
10574 if test "x$ac_cv_lib_GLU_gluLookAt" = xyes
; then :
10578 if test "x$ac_cv_lib_GLU_gluLookAt" != xyes
; then :
10579 case "x$with_glu" in
10580 x
) as_fn_append wine_notices
"|libGLU ${notice_platform}development files not found, GLU won't be supported." ;;
10582 *) as_fn_error $?
"libGLU ${notice_platform}development files not found, GLU won't be supported.
10583 This is an error since --with-glu was requested." "$LINENO" 5 ;;
10588 if test "x$with_osmesa" != "xno"
10590 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lOSMesa" >&5
10591 $as_echo_n "checking for -lOSMesa... " >&6; }
10592 if ${ac_cv_lib_soname_OSMesa+:} false
; then :
10593 $as_echo_n "(cached) " >&6
10595 ac_check_soname_save_LIBS
=$LIBS
10596 LIBS
="-lOSMesa $X_LIBS -lm $X_EXTRA_LIBS $LIBS"
10597 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10598 /* end confdefs.h. */
10600 /* Override any GCC internal prototype to avoid an error.
10601 Use char because int might match the return type of a GCC
10602 builtin and then its argument prototype would still apply. */
10615 if ac_fn_c_try_link
"$LINENO"; then :
10617 dll
) ac_cv_lib_soname_OSMesa
=`$ac_cv_path_LDD conftest.exe | grep "OSMesa" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10618 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'` ;;
10619 *) ac_cv_lib_soname_OSMesa
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libOSMesa\\.$LIBEXT" | sed -e "s/^.*\\[\\(libOSMesa\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10620 if ${ac_cv_lib_soname_OSMesa:+false} :; then :
10621 ac_cv_lib_soname_OSMesa
=`$LDD conftest$ac_exeext | grep "libOSMesa\\.$LIBEXT" | sed -e "s/^.*\(libOSMesa\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10625 rm -f core conftest.err conftest.
$ac_objext \
10626 conftest
$ac_exeext conftest.
$ac_ext
10627 LIBS
=$ac_check_soname_save_LIBS
10629 if ${ac_cv_lib_soname_OSMesa:+false} :; then :
10630 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10631 $as_echo "not found" >&6; }
10634 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_OSMesa" >&5
10635 $as_echo "$ac_cv_lib_soname_OSMesa" >&6; }
10637 cat >>confdefs.h
<<_ACEOF
10638 #define SONAME_LIBOSMESA "$ac_cv_lib_soname_OSMesa"
10643 if test "x$ac_cv_lib_soname_OSMesa" = "x"; then :
10644 case "x$with_osmesa" in
10645 x
) as_fn_append wine_notices
"|libOSMesa ${notice_platform}development files not found (or too old), OpenGL rendering in bitmaps won't be supported." ;;
10647 *) as_fn_error $?
"libOSMesa ${notice_platform}development files not found (or too old), OpenGL rendering in bitmaps won't be supported.
10648 This is an error since --with-osmesa was requested." "$LINENO" 5 ;;
10653 if test -n "$opengl_msg"; then :
10654 case "x$with_opengl" in
10655 x
) as_fn_append wine_warnings
"|$opengl_msg
10656 OpenGL and Direct3D won't be supported." ;;
10658 *) as_fn_error $?
"$opengl_msg
10659 OpenGL and Direct3D won't be supported.
10660 This is an error since --with-opengl was requested." "$LINENO" 5 ;;
10664 CPPFLAGS
="$ac_save_CPPFLAGS"
10668 enable_winex11_drv
=${enable_winex11_drv:-no}
10670 if test "x$X_LIBS" = "x"; then :
10673 *) as_fn_error $?
"X ${notice_platform}development files not found. Wine will be built
10674 without X support, which probably isn't what you want. You will need
10675 to install ${notice_platform}development packages of Xlib/Xfree86 at the very least.
10676 Use the --without-x option if you really want this." "$LINENO" 5 ;;
10680 test "x$ac_cv_lib_GLU_gluLookAt" != xyes
&& enable_glu32
=${enable_glu32:-no}
10682 if test "$ac_cv_header_CL_cl_h" = "yes"
10684 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for clGetPlatformInfo in -lOpenCL" >&5
10685 $as_echo_n "checking for clGetPlatformInfo in -lOpenCL... " >&6; }
10686 if ${ac_cv_lib_OpenCL_clGetPlatformInfo+:} false
; then :
10687 $as_echo_n "(cached) " >&6
10689 ac_check_lib_save_LIBS
=$LIBS
10690 LIBS
="-lOpenCL $LIBS"
10691 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10692 /* end confdefs.h. */
10694 /* Override any GCC internal prototype to avoid an error.
10695 Use char because int might match the return type of a GCC
10696 builtin and then its argument prototype would still apply. */
10700 char clGetPlatformInfo ();
10704 return clGetPlatformInfo ();
10709 if ac_fn_c_try_link
"$LINENO"; then :
10710 ac_cv_lib_OpenCL_clGetPlatformInfo
=yes
10712 ac_cv_lib_OpenCL_clGetPlatformInfo
=no
10714 rm -f core conftest.err conftest.
$ac_objext \
10715 conftest
$ac_exeext conftest.
$ac_ext
10716 LIBS
=$ac_check_lib_save_LIBS
10718 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_OpenCL_clGetPlatformInfo" >&5
10719 $as_echo "$ac_cv_lib_OpenCL_clGetPlatformInfo" >&6; }
10720 if test "x$ac_cv_lib_OpenCL_clGetPlatformInfo" = xyes
; then :
10721 OPENCL_LIBS
="-lOpenCL"
10726 if test "x$ac_cv_lib_OpenCL_clGetPlatformInfo" != xyes
; then :
10727 case "x$with_opencl" in
10728 x
) as_fn_append wine_notices
"|OpenCL ${notice_platform}development files not found, OpenCL won't be supported." ;;
10730 *) as_fn_error $?
"OpenCL ${notice_platform}development files not found, OpenCL won't be supported.
10731 This is an error since --with-opencl was requested." "$LINENO" 5 ;;
10734 test "x$ac_cv_lib_OpenCL_clGetPlatformInfo" != xyes
&& enable_opencl
=${enable_opencl:-no}
10736 if test "$ac_cv_header_pcap_pcap_h" = "yes"
10738 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pcap_create in -lpcap" >&5
10739 $as_echo_n "checking for pcap_create in -lpcap... " >&6; }
10740 if ${ac_cv_lib_pcap_pcap_create+:} false
; then :
10741 $as_echo_n "(cached) " >&6
10743 ac_check_lib_save_LIBS
=$LIBS
10744 LIBS
="-lpcap $LIBS"
10745 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10746 /* end confdefs.h. */
10748 /* Override any GCC internal prototype to avoid an error.
10749 Use char because int might match the return type of a GCC
10750 builtin and then its argument prototype would still apply. */
10754 char pcap_create ();
10758 return pcap_create ();
10763 if ac_fn_c_try_link
"$LINENO"; then :
10764 ac_cv_lib_pcap_pcap_create
=yes
10766 ac_cv_lib_pcap_pcap_create
=no
10768 rm -f core conftest.err conftest.
$ac_objext \
10769 conftest
$ac_exeext conftest.
$ac_ext
10770 LIBS
=$ac_check_lib_save_LIBS
10772 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_pcap_pcap_create" >&5
10773 $as_echo "$ac_cv_lib_pcap_pcap_create" >&6; }
10774 if test "x$ac_cv_lib_pcap_pcap_create" = xyes
; then :
10780 if test "x$ac_cv_lib_pcap_pcap_create" != xyes
; then :
10781 case "x$with_pcap" in
10782 x
) as_fn_append wine_notices
"|pcap ${notice_platform}development files not found, wpcap won't be supported." ;;
10784 *) as_fn_error $?
"pcap ${notice_platform}development files not found, wpcap won't be supported.
10785 This is an error since --with-pcap was requested." "$LINENO" 5 ;;
10788 test "x$ac_cv_lib_pcap_pcap_create" != xyes
&& enable_wpcap
=${enable_wpcap:-no}
10791 if test "x$with_xml" != "xno"
10793 if ${XML2_CFLAGS:+false} :; then :
10794 if ${PKG_CONFIG+:} false
; then :
10795 XML2_CFLAGS
=`$PKG_CONFIG --cflags libxml-2.0 2>/dev/null`
10798 test "$cross_compiling" = yes || XML2_CFLAGS
=${XML2_CFLAGS:-`xml2-config --cflags 2>/dev/null`}
10799 if ${XML2_LIBS:+false} :; then :
10800 if ${PKG_CONFIG+:} false
; then :
10801 XML2_LIBS
=`$PKG_CONFIG --libs libxml-2.0 2>/dev/null`
10804 test "$cross_compiling" = yes || XML2_LIBS
=${XML2_LIBS:-`xml2-config --libs 2>/dev/null`}
10805 XML2_LIBS
=${XML2_LIBS:-"-lxml2"}
10806 $as_echo "$as_me:${as_lineno-$LINENO}: libxml-2.0 cflags: $XML2_CFLAGS" >&5
10807 $as_echo "$as_me:${as_lineno-$LINENO}: libxml-2.0 libs: $XML2_LIBS" >&5
10808 ac_save_CPPFLAGS
=$CPPFLAGS
10809 CPPFLAGS
="$CPPFLAGS $XML2_CFLAGS"
10810 for ac_header
in libxml
/parser.h libxml
/xmlsave.h libxml
/SAX2.h
10812 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
10813 ac_fn_c_check_header_mongrel
"$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
10814 if eval test \"x\$
"$as_ac_Header"\" = x
"yes"; then :
10815 cat >>confdefs.h
<<_ACEOF
10816 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
10823 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"
10825 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlParseMemory in -lxml2" >&5
10826 $as_echo_n "checking for xmlParseMemory in -lxml2... " >&6; }
10827 if ${ac_cv_lib_xml2_xmlParseMemory+:} false
; then :
10828 $as_echo_n "(cached) " >&6
10830 ac_check_lib_save_LIBS
=$LIBS
10831 LIBS
="-lxml2 $XML2_LIBS $LIBS"
10832 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10833 /* end confdefs.h. */
10835 /* Override any GCC internal prototype to avoid an error.
10836 Use char because int might match the return type of a GCC
10837 builtin and then its argument prototype would still apply. */
10841 char xmlParseMemory ();
10845 return xmlParseMemory ();
10850 if ac_fn_c_try_link
"$LINENO"; then :
10851 ac_cv_lib_xml2_xmlParseMemory
=yes
10853 ac_cv_lib_xml2_xmlParseMemory
=no
10855 rm -f core conftest.err conftest.
$ac_objext \
10856 conftest
$ac_exeext conftest.
$ac_ext
10857 LIBS
=$ac_check_lib_save_LIBS
10859 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlParseMemory" >&5
10860 $as_echo "$ac_cv_lib_xml2_xmlParseMemory" >&6; }
10861 if test "x$ac_cv_lib_xml2_xmlParseMemory" = xyes
; then :
10863 $as_echo "#define HAVE_LIBXML2 1" >>confdefs.h
10869 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlReadMemory in -lxml2" >&5
10870 $as_echo_n "checking for xmlReadMemory in -lxml2... " >&6; }
10871 if ${ac_cv_lib_xml2_xmlReadMemory+:} false
; then :
10872 $as_echo_n "(cached) " >&6
10874 ac_check_lib_save_LIBS
=$LIBS
10875 LIBS
="-lxml2 $XML2_LIBS $LIBS"
10876 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10877 /* end confdefs.h. */
10879 /* Override any GCC internal prototype to avoid an error.
10880 Use char because int might match the return type of a GCC
10881 builtin and then its argument prototype would still apply. */
10885 char xmlReadMemory ();
10889 return xmlReadMemory ();
10894 if ac_fn_c_try_link
"$LINENO"; then :
10895 ac_cv_lib_xml2_xmlReadMemory
=yes
10897 ac_cv_lib_xml2_xmlReadMemory
=no
10899 rm -f core conftest.err conftest.
$ac_objext \
10900 conftest
$ac_exeext conftest.
$ac_ext
10901 LIBS
=$ac_check_lib_save_LIBS
10903 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlReadMemory" >&5
10904 $as_echo "$ac_cv_lib_xml2_xmlReadMemory" >&6; }
10905 if test "x$ac_cv_lib_xml2_xmlReadMemory" = xyes
; then :
10907 $as_echo "#define HAVE_XMLREADMEMORY 1" >>confdefs.h
10911 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlNewDocPI in -lxml2" >&5
10912 $as_echo_n "checking for xmlNewDocPI in -lxml2... " >&6; }
10913 if ${ac_cv_lib_xml2_xmlNewDocPI+:} false
; then :
10914 $as_echo_n "(cached) " >&6
10916 ac_check_lib_save_LIBS
=$LIBS
10917 LIBS
="-lxml2 $XML2_LIBS $LIBS"
10918 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10919 /* end confdefs.h. */
10921 /* Override any GCC internal prototype to avoid an error.
10922 Use char because int might match the return type of a GCC
10923 builtin and then its argument prototype would still apply. */
10927 char xmlNewDocPI ();
10931 return xmlNewDocPI ();
10936 if ac_fn_c_try_link
"$LINENO"; then :
10937 ac_cv_lib_xml2_xmlNewDocPI
=yes
10939 ac_cv_lib_xml2_xmlNewDocPI
=no
10941 rm -f core conftest.err conftest.
$ac_objext \
10942 conftest
$ac_exeext conftest.
$ac_ext
10943 LIBS
=$ac_check_lib_save_LIBS
10945 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlNewDocPI" >&5
10946 $as_echo "$ac_cv_lib_xml2_xmlNewDocPI" >&6; }
10947 if test "x$ac_cv_lib_xml2_xmlNewDocPI" = xyes
; then :
10949 $as_echo "#define HAVE_XMLNEWDOCPI 1" >>confdefs.h
10953 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlSchemaSetParserStructuredErrors in -lxml2" >&5
10954 $as_echo_n "checking for xmlSchemaSetParserStructuredErrors in -lxml2... " >&6; }
10955 if ${ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors+:} false
; then :
10956 $as_echo_n "(cached) " >&6
10958 ac_check_lib_save_LIBS
=$LIBS
10959 LIBS
="-lxml2 $XML2_LIBS $LIBS"
10960 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10961 /* end confdefs.h. */
10963 /* Override any GCC internal prototype to avoid an error.
10964 Use char because int might match the return type of a GCC
10965 builtin and then its argument prototype would still apply. */
10969 char xmlSchemaSetParserStructuredErrors ();
10973 return xmlSchemaSetParserStructuredErrors ();
10978 if ac_fn_c_try_link
"$LINENO"; then :
10979 ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors
=yes
10981 ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors
=no
10983 rm -f core conftest.err conftest.
$ac_objext \
10984 conftest
$ac_exeext conftest.
$ac_ext
10985 LIBS
=$ac_check_lib_save_LIBS
10987 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors" >&5
10988 $as_echo "$ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors" >&6; }
10989 if test "x$ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors" = xyes
; then :
10991 $as_echo "#define HAVE_XMLSCHEMASSETPARSERSTRUCTUREDERRORS 1" >>confdefs.h
10995 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlSchemaSetValidStructuredErrors in -lxml2" >&5
10996 $as_echo_n "checking for xmlSchemaSetValidStructuredErrors in -lxml2... " >&6; }
10997 if ${ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors+:} false
; then :
10998 $as_echo_n "(cached) " >&6
11000 ac_check_lib_save_LIBS
=$LIBS
11001 LIBS
="-lxml2 $XML2_LIBS $LIBS"
11002 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11003 /* end confdefs.h. */
11005 /* Override any GCC internal prototype to avoid an error.
11006 Use char because int might match the return type of a GCC
11007 builtin and then its argument prototype would still apply. */
11011 char xmlSchemaSetValidStructuredErrors ();
11015 return xmlSchemaSetValidStructuredErrors ();
11020 if ac_fn_c_try_link
"$LINENO"; then :
11021 ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors
=yes
11023 ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors
=no
11025 rm -f core conftest.err conftest.
$ac_objext \
11026 conftest
$ac_exeext conftest.
$ac_ext
11027 LIBS
=$ac_check_lib_save_LIBS
11029 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors" >&5
11030 $as_echo "$ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors" >&6; }
11031 if test "x$ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors" = xyes
; then :
11033 $as_echo "#define HAVE_XMLSCHEMASSETVALIDSTRUCTUREDERRORS 1" >>confdefs.h
11037 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlFirstElementChild in -lxml2" >&5
11038 $as_echo_n "checking for xmlFirstElementChild in -lxml2... " >&6; }
11039 if ${ac_cv_lib_xml2_xmlFirstElementChild+:} false
; then :
11040 $as_echo_n "(cached) " >&6
11042 ac_check_lib_save_LIBS
=$LIBS
11043 LIBS
="-lxml2 $XML2_LIBS $LIBS"
11044 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11045 /* end confdefs.h. */
11047 /* Override any GCC internal prototype to avoid an error.
11048 Use char because int might match the return type of a GCC
11049 builtin and then its argument prototype would still apply. */
11053 char xmlFirstElementChild ();
11057 return xmlFirstElementChild ();
11062 if ac_fn_c_try_link
"$LINENO"; then :
11063 ac_cv_lib_xml2_xmlFirstElementChild
=yes
11065 ac_cv_lib_xml2_xmlFirstElementChild
=no
11067 rm -f core conftest.err conftest.
$ac_objext \
11068 conftest
$ac_exeext conftest.
$ac_ext
11069 LIBS
=$ac_check_lib_save_LIBS
11071 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlFirstElementChild" >&5
11072 $as_echo "$ac_cv_lib_xml2_xmlFirstElementChild" >&6; }
11073 if test "x$ac_cv_lib_xml2_xmlFirstElementChild" = xyes
; then :
11075 $as_echo "#define HAVE_XMLFIRSTELEMENTCHILD 1" >>confdefs.h
11079 ac_fn_c_check_type
"$LINENO" "xmlDocProperties" "ac_cv_type_xmlDocProperties" "#include <libxml/tree.h>
11081 if test "x$ac_cv_type_xmlDocProperties" = xyes
; then :
11083 $as_echo "#define HAVE_XMLDOC_PROPERTIES 1" >>confdefs.h
11091 CPPFLAGS
=$ac_save_CPPFLAGS
11092 test -z "$XML2_CFLAGS" || XML2_CFLAGS
=`echo " $XML2_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
11093 test -z "$XML2_LIBS" || XML2_LIBS
=`echo " $XML2_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
11096 if test "$ac_cv_lib_xml2_xmlParseMemory" != "yes"; then :
11097 case "x$with_xml" in
11098 x
) as_fn_append wine_warnings
"|libxml2 ${notice_platform}development files not found (or too old), XML won't be supported." ;;
11100 *) as_fn_error $?
"libxml2 ${notice_platform}development files not found (or too old), XML won't be supported.
11101 This is an error since --with-xml was requested." "$LINENO" 5 ;;
11105 if test "x$with_xslt" != "xno"
11107 if ${XSLT_CFLAGS:+false} :; then :
11108 if ${PKG_CONFIG+:} false
; then :
11109 XSLT_CFLAGS
=`$PKG_CONFIG --cflags libxslt 2>/dev/null`
11112 test "$cross_compiling" = yes || XSLT_CFLAGS
=${XSLT_CFLAGS:-`xslt-config --cflags 2>/dev/null`}
11113 if ${XSLT_LIBS:+false} :; then :
11114 if ${PKG_CONFIG+:} false
; then :
11115 XSLT_LIBS
=`$PKG_CONFIG --libs libxslt 2>/dev/null`
11118 test "$cross_compiling" = yes || XSLT_LIBS
=${XSLT_LIBS:-`xslt-config --libs 2>/dev/null`}
11119 XSLT_LIBS
=${XSLT_LIBS:-"-lxml2"}
11120 $as_echo "$as_me:${as_lineno-$LINENO}: libxslt cflags: $XSLT_CFLAGS" >&5
11121 $as_echo "$as_me:${as_lineno-$LINENO}: libxslt libs: $XSLT_LIBS" >&5
11122 ac_save_CPPFLAGS
=$CPPFLAGS
11123 CPPFLAGS
="$CPPFLAGS $XSLT_CFLAGS"
11124 for ac_header
in libxslt
/pattern.h libxslt
/transform.h
11126 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
11127 ac_fn_c_check_header_compile
"$LINENO" "$ac_header" "$as_ac_Header" "#ifdef HAVE_LIBXSLT_PATTERN_H
11128 # include <libxslt/pattern.h>
11131 if eval test \"x\$
"$as_ac_Header"\" = x
"yes"; then :
11132 cat >>confdefs.h
<<_ACEOF
11133 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
11140 if test "$ac_cv_header_libxslt_transform_h" = "yes"
11142 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lxslt" >&5
11143 $as_echo_n "checking for -lxslt... " >&6; }
11144 if ${ac_cv_lib_soname_xslt+:} false
; then :
11145 $as_echo_n "(cached) " >&6
11147 ac_check_soname_save_LIBS
=$LIBS
11148 LIBS
="-lxslt $XSLT_LIBS $LIBS"
11149 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11150 /* end confdefs.h. */
11152 /* Override any GCC internal prototype to avoid an error.
11153 Use char because int might match the return type of a GCC
11154 builtin and then its argument prototype would still apply. */
11158 char xsltCompilePattern ();
11162 return xsltCompilePattern ();
11167 if ac_fn_c_try_link
"$LINENO"; then :
11169 dll
) ac_cv_lib_soname_xslt
=`$ac_cv_path_LDD conftest.exe | grep "xslt" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11170 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'` ;;
11171 *) ac_cv_lib_soname_xslt
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libxslt\\.$LIBEXT" | sed -e "s/^.*\\[\\(libxslt\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
11172 if ${ac_cv_lib_soname_xslt:+false} :; then :
11173 ac_cv_lib_soname_xslt
=`$LDD conftest$ac_exeext | grep "libxslt\\.$LIBEXT" | sed -e "s/^.*\(libxslt\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11177 rm -f core conftest.err conftest.
$ac_objext \
11178 conftest
$ac_exeext conftest.
$ac_ext
11179 LIBS
=$ac_check_soname_save_LIBS
11181 if ${ac_cv_lib_soname_xslt:+false} :; then :
11182 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11183 $as_echo "not found" >&6; }
11186 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_xslt" >&5
11187 $as_echo "$ac_cv_lib_soname_xslt" >&6; }
11189 cat >>confdefs.h
<<_ACEOF
11190 #define SONAME_LIBXSLT "$ac_cv_lib_soname_xslt"
11198 CPPFLAGS
=$ac_save_CPPFLAGS
11199 test -z "$XSLT_CFLAGS" || XSLT_CFLAGS
=`echo " $XSLT_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
11200 test -z "$XSLT_LIBS" || XSLT_LIBS
=`echo " $XSLT_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
11203 if test "x$ac_cv_lib_soname_xslt" = "x"; then :
11204 case "x$with_xslt" in
11205 x
) as_fn_append wine_warnings
"|libxslt ${notice_platform}development files not found, xslt won't be supported." ;;
11207 *) as_fn_error $?
"libxslt ${notice_platform}development files not found, xslt won't be supported.
11208 This is an error since --with-xslt was requested." "$LINENO" 5 ;;
11212 if test "x$with_dbus" != "xno"
11214 if ${DBUS_CFLAGS:+false} :; then :
11215 if ${PKG_CONFIG+:} false
; then :
11216 DBUS_CFLAGS
=`$PKG_CONFIG --cflags dbus-1 2>/dev/null`
11220 if ${DBUS_LIBS:+false} :; then :
11221 if ${PKG_CONFIG+:} false
; then :
11222 DBUS_LIBS
=`$PKG_CONFIG --libs dbus-1 2>/dev/null`
11227 $as_echo "$as_me:${as_lineno-$LINENO}: dbus-1 cflags: $DBUS_CFLAGS" >&5
11228 $as_echo "$as_me:${as_lineno-$LINENO}: dbus-1 libs: $DBUS_LIBS" >&5
11229 ac_save_CPPFLAGS
=$CPPFLAGS
11230 CPPFLAGS
="$CPPFLAGS $DBUS_CFLAGS"
11231 ac_fn_c_check_header_mongrel
"$LINENO" "dbus/dbus.h" "ac_cv_header_dbus_dbus_h" "$ac_includes_default"
11232 if test "x$ac_cv_header_dbus_dbus_h" = xyes
; then :
11233 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -ldbus-1" >&5
11234 $as_echo_n "checking for -ldbus-1... " >&6; }
11235 if ${ac_cv_lib_soname_dbus_1+:} false
; then :
11236 $as_echo_n "(cached) " >&6
11238 ac_check_soname_save_LIBS
=$LIBS
11239 LIBS
="-ldbus-1 $DBUS_LIBS $LIBS"
11240 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11241 /* end confdefs.h. */
11243 /* Override any GCC internal prototype to avoid an error.
11244 Use char because int might match the return type of a GCC
11245 builtin and then its argument prototype would still apply. */
11249 char dbus_connection_close ();
11253 return dbus_connection_close ();
11258 if ac_fn_c_try_link
"$LINENO"; then :
11260 dll
) ac_cv_lib_soname_dbus_1
=`$ac_cv_path_LDD conftest.exe | grep "dbus-1" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11261 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'` ;;
11262 *) 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'`
11263 if ${ac_cv_lib_soname_dbus_1:+false} :; then :
11264 ac_cv_lib_soname_dbus_1
=`$LDD conftest$ac_exeext | grep "libdbus-1\\.$LIBEXT" | sed -e "s/^.*\(libdbus-1\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11268 rm -f core conftest.err conftest.
$ac_objext \
11269 conftest
$ac_exeext conftest.
$ac_ext
11270 LIBS
=$ac_check_soname_save_LIBS
11272 if ${ac_cv_lib_soname_dbus_1:+false} :; then :
11273 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11274 $as_echo "not found" >&6; }
11277 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_dbus_1" >&5
11278 $as_echo "$ac_cv_lib_soname_dbus_1" >&6; }
11280 cat >>confdefs.h
<<_ACEOF
11281 #define SONAME_LIBDBUS_1 "$ac_cv_lib_soname_dbus_1"
11291 CPPFLAGS
=$ac_save_CPPFLAGS
11292 test -z "$DBUS_CFLAGS" || DBUS_CFLAGS
=`echo " $DBUS_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
11293 test -z "$DBUS_LIBS" || DBUS_LIBS
=`echo " $DBUS_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
11296 if test "x$ac_cv_lib_soname_dbus_1" = "x" -a \
11297 "x$ac_cv_header_DiskArbitration_DiskArbitration_h" != "xyes"; then :
11298 case "x$with_dbus" in
11299 x
) as_fn_append wine_notices
"|libdbus ${notice_platform}development files not found, no dynamic device support." ;;
11301 *) as_fn_error $?
"libdbus ${notice_platform}development files not found, no dynamic device support.
11302 This is an error since --with-dbus was requested." "$LINENO" 5 ;;
11306 if test "x$with_hal" != "xno" -a "x$ac_cv_lib_soname_dbus_1" != x
11308 if ${HAL_CFLAGS:+false} :; then :
11309 if ${PKG_CONFIG+:} false
; then :
11310 HAL_CFLAGS
=`$PKG_CONFIG --cflags hal 2>/dev/null`
11314 if ${HAL_LIBS:+false} :; then :
11315 if ${PKG_CONFIG+:} false
; then :
11316 HAL_LIBS
=`$PKG_CONFIG --libs hal 2>/dev/null`
11320 HAL_LIBS
=${HAL_LIBS:-"-ldbus-1"}
11321 $as_echo "$as_me:${as_lineno-$LINENO}: hal cflags: $HAL_CFLAGS" >&5
11322 $as_echo "$as_me:${as_lineno-$LINENO}: hal libs: $HAL_LIBS" >&5
11323 ac_save_CPPFLAGS
=$CPPFLAGS
11324 CPPFLAGS
="$CPPFLAGS $HAL_CFLAGS"
11325 ac_fn_c_check_header_mongrel
"$LINENO" "hal/libhal.h" "ac_cv_header_hal_libhal_h" "$ac_includes_default"
11326 if test "x$ac_cv_header_hal_libhal_h" = xyes
; then :
11327 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lhal" >&5
11328 $as_echo_n "checking for -lhal... " >&6; }
11329 if ${ac_cv_lib_soname_hal+:} false
; then :
11330 $as_echo_n "(cached) " >&6
11332 ac_check_soname_save_LIBS
=$LIBS
11333 LIBS
="-lhal $HAL_LIBS $LIBS"
11334 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11335 /* end confdefs.h. */
11337 /* Override any GCC internal prototype to avoid an error.
11338 Use char because int might match the return type of a GCC
11339 builtin and then its argument prototype would still apply. */
11343 char libhal_ctx_new ();
11347 return libhal_ctx_new ();
11352 if ac_fn_c_try_link
"$LINENO"; then :
11354 dll
) ac_cv_lib_soname_hal
=`$ac_cv_path_LDD conftest.exe | grep "hal" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11355 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'` ;;
11356 *) ac_cv_lib_soname_hal
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libhal\\.$LIBEXT" | sed -e "s/^.*\\[\\(libhal\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
11357 if ${ac_cv_lib_soname_hal:+false} :; then :
11358 ac_cv_lib_soname_hal
=`$LDD conftest$ac_exeext | grep "libhal\\.$LIBEXT" | sed -e "s/^.*\(libhal\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11362 rm -f core conftest.err conftest.
$ac_objext \
11363 conftest
$ac_exeext conftest.
$ac_ext
11364 LIBS
=$ac_check_soname_save_LIBS
11366 if ${ac_cv_lib_soname_hal:+false} :; then :
11367 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11368 $as_echo "not found" >&6; }
11371 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_hal" >&5
11372 $as_echo "$ac_cv_lib_soname_hal" >&6; }
11374 cat >>confdefs.h
<<_ACEOF
11375 #define SONAME_LIBHAL "$ac_cv_lib_soname_hal"
11385 CPPFLAGS
=$ac_save_CPPFLAGS
11386 test -z "$HAL_CFLAGS" || HAL_CFLAGS
=`echo " $HAL_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
11387 test -z "$HAL_LIBS" || HAL_LIBS
=`echo " $HAL_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
11389 if test "x$ac_cv_lib_soname_hal" = "x" -a \
11390 "x$ac_cv_header_DiskArbitration_DiskArbitration_h" != "xyes"; then :
11391 case "x$with_hal" in
11392 x
) as_fn_append wine_notices
"|libhal ${notice_platform}development files not found, no legacy dynamic device support." ;;
11394 *) as_fn_error $?
"libhal ${notice_platform}development files not found, no legacy dynamic device support.
11395 This is an error since --with-hal was requested." "$LINENO" 5 ;;
11400 if test "x$with_gnutls" != "xno"
11402 if ${GNUTLS_CFLAGS:+false} :; then :
11403 if ${PKG_CONFIG+:} false
; then :
11404 GNUTLS_CFLAGS
=`$PKG_CONFIG --cflags gnutls 2>/dev/null`
11408 if ${GNUTLS_LIBS:+false} :; then :
11409 if ${PKG_CONFIG+:} false
; then :
11410 GNUTLS_LIBS
=`$PKG_CONFIG --libs gnutls 2>/dev/null`
11415 $as_echo "$as_me:${as_lineno-$LINENO}: gnutls cflags: $GNUTLS_CFLAGS" >&5
11416 $as_echo "$as_me:${as_lineno-$LINENO}: gnutls libs: $GNUTLS_LIBS" >&5
11417 ac_save_CPPFLAGS
=$CPPFLAGS
11418 CPPFLAGS
="$CPPFLAGS $GNUTLS_CFLAGS"
11419 ac_fn_c_check_header_mongrel
"$LINENO" "gnutls/gnutls.h" "ac_cv_header_gnutls_gnutls_h" "$ac_includes_default"
11420 if test "x$ac_cv_header_gnutls_gnutls_h" = xyes
; then :
11421 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11422 /* end confdefs.h. */
11423 #include <gnutls/gnutls.h>
11424 #include <gnutls/crypto.h>
11428 static typeof(gnutls_mac_get_key_size) *func; if (func) return 0;
11433 if ac_fn_c_try_compile
"$LINENO"; then :
11434 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lgnutls" >&5
11435 $as_echo_n "checking for -lgnutls... " >&6; }
11436 if ${ac_cv_lib_soname_gnutls+:} false
; then :
11437 $as_echo_n "(cached) " >&6
11439 ac_check_soname_save_LIBS
=$LIBS
11440 LIBS
="-lgnutls $GNUTLS_LIBS $LIBS"
11441 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11442 /* end confdefs.h. */
11444 /* Override any GCC internal prototype to avoid an error.
11445 Use char because int might match the return type of a GCC
11446 builtin and then its argument prototype would still apply. */
11450 char gnutls_global_init ();
11454 return gnutls_global_init ();
11459 if ac_fn_c_try_link
"$LINENO"; then :
11461 dll
) ac_cv_lib_soname_gnutls
=`$ac_cv_path_LDD conftest.exe | grep "gnutls" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11462 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'` ;;
11463 *) 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'`
11464 if ${ac_cv_lib_soname_gnutls:+false} :; then :
11465 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'`
11469 rm -f core conftest.err conftest.
$ac_objext \
11470 conftest
$ac_exeext conftest.
$ac_ext
11471 LIBS
=$ac_check_soname_save_LIBS
11473 if ${ac_cv_lib_soname_gnutls:+false} :; then :
11474 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11475 $as_echo "not found" >&6; }
11478 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_gnutls" >&5
11479 $as_echo "$ac_cv_lib_soname_gnutls" >&6; }
11481 cat >>confdefs.h
<<_ACEOF
11482 #define SONAME_LIBGNUTLS "$ac_cv_lib_soname_gnutls"
11488 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
11494 CPPFLAGS
=$ac_save_CPPFLAGS
11495 test -z "$GNUTLS_CFLAGS" || GNUTLS_CFLAGS
=`echo " $GNUTLS_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
11496 test -z "$GNUTLS_LIBS" || GNUTLS_LIBS
=`echo " $GNUTLS_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
11499 if test "x$ac_cv_lib_soname_gnutls" = "x"; then :
11500 case "x$with_gnutls" in
11501 x
) as_fn_append wine_warnings
"|libgnutls ${notice_platform}development files not found, no schannel support." ;;
11503 *) as_fn_error $?
"libgnutls ${notice_platform}development files not found, no schannel support.
11504 This is an error since --with-gnutls was requested." "$LINENO" 5 ;;
11509 if test "$ac_cv_header_ncurses_h" = "yes"
11511 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lncurses" >&5
11512 $as_echo_n "checking for -lncurses... " >&6; }
11513 if ${ac_cv_lib_soname_ncurses+:} false
; then :
11514 $as_echo_n "(cached) " >&6
11516 ac_check_soname_save_LIBS
=$LIBS
11517 LIBS
="-lncurses $LIBS"
11518 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11519 /* end confdefs.h. */
11521 /* Override any GCC internal prototype to avoid an error.
11522 Use char because int might match the return type of a GCC
11523 builtin and then its argument prototype would still apply. */
11536 if ac_fn_c_try_link
"$LINENO"; then :
11538 dll
) ac_cv_lib_soname_ncurses
=`$ac_cv_path_LDD conftest.exe | grep "ncurses" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11539 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'` ;;
11540 *) 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'`
11541 if ${ac_cv_lib_soname_ncurses:+false} :; then :
11542 ac_cv_lib_soname_ncurses
=`$LDD conftest$ac_exeext | grep "libncursesw\\{0,1\\}\\.$LIBEXT" | sed -e "s/^.*\(libncursesw\\{0,1\\}\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11546 rm -f core conftest.err conftest.
$ac_objext \
11547 conftest
$ac_exeext conftest.
$ac_ext
11548 LIBS
=$ac_check_soname_save_LIBS
11550 if ${ac_cv_lib_soname_ncurses:+false} :; then :
11551 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11552 $as_echo "not found" >&6; }
11555 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_ncurses" >&5
11556 $as_echo "$ac_cv_lib_soname_ncurses" >&6; }
11558 cat >>confdefs.h
<<_ACEOF
11559 #define SONAME_LIBNCURSES "$ac_cv_lib_soname_ncurses"
11562 CURSES_LIBS
="-lncurses"
11564 elif test "$ac_cv_header_curses_h" = "yes"
11566 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lcurses" >&5
11567 $as_echo_n "checking for -lcurses... " >&6; }
11568 if ${ac_cv_lib_soname_curses+:} false
; then :
11569 $as_echo_n "(cached) " >&6
11571 ac_check_soname_save_LIBS
=$LIBS
11572 LIBS
="-lcurses $LIBS"
11573 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11574 /* end confdefs.h. */
11576 /* Override any GCC internal prototype to avoid an error.
11577 Use char because int might match the return type of a GCC
11578 builtin and then its argument prototype would still apply. */
11591 if ac_fn_c_try_link
"$LINENO"; then :
11593 dll
) ac_cv_lib_soname_curses
=`$ac_cv_path_LDD conftest.exe | grep "curses" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11594 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'` ;;
11595 *) ac_cv_lib_soname_curses
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libcurses\\.$LIBEXT" | sed -e "s/^.*\\[\\(libcurses\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
11596 if ${ac_cv_lib_soname_curses:+false} :; then :
11597 ac_cv_lib_soname_curses
=`$LDD conftest$ac_exeext | grep "libcurses\\.$LIBEXT" | sed -e "s/^.*\(libcurses\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11601 rm -f core conftest.err conftest.
$ac_objext \
11602 conftest
$ac_exeext conftest.
$ac_ext
11603 LIBS
=$ac_check_soname_save_LIBS
11605 if ${ac_cv_lib_soname_curses:+false} :; then :
11606 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11607 $as_echo "not found" >&6; }
11610 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_curses" >&5
11611 $as_echo "$ac_cv_lib_soname_curses" >&6; }
11613 cat >>confdefs.h
<<_ACEOF
11614 #define SONAME_LIBCURSES "$ac_cv_lib_soname_curses"
11617 CURSES_LIBS
="-lcurses"
11620 ac_save_LIBS
="$LIBS"
11621 LIBS
="$LIBS $CURSES_LIBS"
11622 for ac_func
in mousemask
11624 ac_fn_c_check_func
"$LINENO" "mousemask" "ac_cv_func_mousemask"
11625 if test "x$ac_cv_func_mousemask" = xyes
; then :
11626 cat >>confdefs.h
<<_ACEOF
11627 #define HAVE_MOUSEMASK 1
11633 LIBS
="$ac_save_LIBS"
11634 if test "x$ac_cv_lib_soname_curses$ac_cv_lib_soname_ncurses" = "x"; then :
11635 case "x$with_curses" in
11636 x
) as_fn_append wine_notices
"|lib(n)curses ${notice_platform}development files not found, curses won't be supported." ;;
11638 *) as_fn_error $?
"lib(n)curses ${notice_platform}development files not found, curses won't be supported.
11639 This is an error since --with-curses was requested." "$LINENO" 5 ;;
11643 if test "x$with_sane" != "xno"
11645 if ${SANE_CFLAGS:+false} :; then :
11646 if ${PKG_CONFIG+:} false
; then :
11647 SANE_CFLAGS
=`$PKG_CONFIG --cflags libsane 2>/dev/null`
11650 test "$cross_compiling" = yes || SANE_CFLAGS
=${SANE_CFLAGS:-`sane-config --cflags 2>/dev/null`}
11651 if ${SANE_LIBS:+false} :; then :
11652 if ${PKG_CONFIG+:} false
; then :
11653 SANE_LIBS
=`$PKG_CONFIG --libs libsane 2>/dev/null`
11656 test "$cross_compiling" = yes || SANE_LIBS
=${SANE_LIBS:-`sane-config --ldflags 2>/dev/null`}
11658 $as_echo "$as_me:${as_lineno-$LINENO}: libsane cflags: $SANE_CFLAGS" >&5
11659 $as_echo "$as_me:${as_lineno-$LINENO}: libsane libs: $SANE_LIBS" >&5
11660 ac_save_CPPFLAGS
=$CPPFLAGS
11661 CPPFLAGS
="$CPPFLAGS $SANE_CFLAGS"
11662 ac_fn_c_check_header_mongrel
"$LINENO" "sane/sane.h" "ac_cv_header_sane_sane_h" "$ac_includes_default"
11663 if test "x$ac_cv_header_sane_sane_h" = xyes
; then :
11664 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lsane" >&5
11665 $as_echo_n "checking for -lsane... " >&6; }
11666 if ${ac_cv_lib_soname_sane+:} false
; then :
11667 $as_echo_n "(cached) " >&6
11669 ac_check_soname_save_LIBS
=$LIBS
11670 LIBS
="-lsane $SANE_LIBS $LIBS"
11671 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11672 /* end confdefs.h. */
11674 /* Override any GCC internal prototype to avoid an error.
11675 Use char because int might match the return type of a GCC
11676 builtin and then its argument prototype would still apply. */
11684 return sane_init ();
11689 if ac_fn_c_try_link
"$LINENO"; then :
11691 dll
) ac_cv_lib_soname_sane
=`$ac_cv_path_LDD conftest.exe | grep "sane" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11692 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'` ;;
11693 *) ac_cv_lib_soname_sane
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libsane\\.$LIBEXT" | sed -e "s/^.*\\[\\(libsane\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
11694 if ${ac_cv_lib_soname_sane:+false} :; then :
11695 ac_cv_lib_soname_sane
=`$LDD conftest$ac_exeext | grep "libsane\\.$LIBEXT" | sed -e "s/^.*\(libsane\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11699 rm -f core conftest.err conftest.
$ac_objext \
11700 conftest
$ac_exeext conftest.
$ac_ext
11701 LIBS
=$ac_check_soname_save_LIBS
11703 if ${ac_cv_lib_soname_sane:+false} :; then :
11704 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11705 $as_echo "not found" >&6; }
11708 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_sane" >&5
11709 $as_echo "$ac_cv_lib_soname_sane" >&6; }
11711 cat >>confdefs.h
<<_ACEOF
11712 #define SONAME_LIBSANE "$ac_cv_lib_soname_sane"
11722 CPPFLAGS
=$ac_save_CPPFLAGS
11723 test -z "$SANE_CFLAGS" || SANE_CFLAGS
=`echo " $SANE_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
11724 test -z "$SANE_LIBS" || SANE_LIBS
=`echo " $SANE_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
11727 if test "x$ac_cv_lib_soname_sane" = "x"; then :
11728 case "x$with_sane" in
11729 x
) as_fn_append wine_notices
"|libsane ${notice_platform}development files not found, scanners won't be supported." ;;
11731 *) as_fn_error $?
"libsane ${notice_platform}development files not found, scanners won't be supported.
11732 This is an error since --with-sane was requested." "$LINENO" 5 ;;
11736 if test "x$with_v4l" != "xno"
11738 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lv4l1" >&5
11739 $as_echo_n "checking for -lv4l1... " >&6; }
11740 if ${ac_cv_lib_soname_v4l1+:} false
; then :
11741 $as_echo_n "(cached) " >&6
11743 ac_check_soname_save_LIBS
=$LIBS
11744 LIBS
="-lv4l1 $LIBS"
11745 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11746 /* end confdefs.h. */
11748 /* Override any GCC internal prototype to avoid an error.
11749 Use char because int might match the return type of a GCC
11750 builtin and then its argument prototype would still apply. */
11758 return v4l1_open ();
11763 if ac_fn_c_try_link
"$LINENO"; then :
11765 dll
) ac_cv_lib_soname_v4l1
=`$ac_cv_path_LDD conftest.exe | grep "v4l1" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11766 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'` ;;
11767 *) ac_cv_lib_soname_v4l1
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libv4l1\\.$LIBEXT" | sed -e "s/^.*\\[\\(libv4l1\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
11768 if ${ac_cv_lib_soname_v4l1:+false} :; then :
11769 ac_cv_lib_soname_v4l1
=`$LDD conftest$ac_exeext | grep "libv4l1\\.$LIBEXT" | sed -e "s/^.*\(libv4l1\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11773 rm -f core conftest.err conftest.
$ac_objext \
11774 conftest
$ac_exeext conftest.
$ac_ext
11775 LIBS
=$ac_check_soname_save_LIBS
11777 if ${ac_cv_lib_soname_v4l1:+false} :; then :
11778 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11779 $as_echo "not found" >&6; }
11782 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_v4l1" >&5
11783 $as_echo "$ac_cv_lib_soname_v4l1" >&6; }
11785 cat >>confdefs.h
<<_ACEOF
11786 #define SONAME_LIBV4L1 "$ac_cv_lib_soname_v4l1"
11792 if test "x$ac_cv_lib_soname_v4l1" = "x"; then :
11793 case "x$with_v4l" in
11794 x
) as_fn_append wine_notices
"|libv4l ${notice_platform}development files not found." ;;
11796 *) as_fn_error $?
"libv4l ${notice_platform}development files not found.
11797 This is an error since --with-v4l was requested." "$LINENO" 5 ;;
11801 if test "x$with_gphoto" != "xno"
11803 if ${GPHOTO2_CFLAGS:+false} :; then :
11804 if ${PKG_CONFIG+:} false
; then :
11805 GPHOTO2_CFLAGS
=`$PKG_CONFIG --cflags libgphoto2 2>/dev/null`
11808 test "$cross_compiling" = yes || GPHOTO2_CFLAGS
=${GPHOTO2_CFLAGS:-`gphoto2-config --cflags 2>/dev/null`}
11809 if ${GPHOTO2_LIBS:+false} :; then :
11810 if ${PKG_CONFIG+:} false
; then :
11811 GPHOTO2_LIBS
=`$PKG_CONFIG --libs libgphoto2 2>/dev/null`
11814 test "$cross_compiling" = yes || GPHOTO2_LIBS
=${GPHOTO2_LIBS:-`gphoto2-config --libs 2>/dev/null`}
11815 GPHOTO2_LIBS
=${GPHOTO2_LIBS:-"-lgphoto2"}
11816 $as_echo "$as_me:${as_lineno-$LINENO}: libgphoto2 cflags: $GPHOTO2_CFLAGS" >&5
11817 $as_echo "$as_me:${as_lineno-$LINENO}: libgphoto2 libs: $GPHOTO2_LIBS" >&5
11818 ac_save_CPPFLAGS
=$CPPFLAGS
11819 CPPFLAGS
="$CPPFLAGS $GPHOTO2_CFLAGS"
11820 ac_fn_c_check_header_mongrel
"$LINENO" "gphoto2-camera.h" "ac_cv_header_gphoto2_camera_h" "$ac_includes_default"
11821 if test "x$ac_cv_header_gphoto2_camera_h" = xyes
; then :
11822 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gp_camera_new in -lgphoto2" >&5
11823 $as_echo_n "checking for gp_camera_new in -lgphoto2... " >&6; }
11824 if ${ac_cv_lib_gphoto2_gp_camera_new+:} false
; then :
11825 $as_echo_n "(cached) " >&6
11827 ac_check_lib_save_LIBS
=$LIBS
11828 LIBS
="-lgphoto2 $GPHOTO2_LIBS $LIBS"
11829 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11830 /* end confdefs.h. */
11832 /* Override any GCC internal prototype to avoid an error.
11833 Use char because int might match the return type of a GCC
11834 builtin and then its argument prototype would still apply. */
11838 char gp_camera_new ();
11842 return gp_camera_new ();
11847 if ac_fn_c_try_link
"$LINENO"; then :
11848 ac_cv_lib_gphoto2_gp_camera_new
=yes
11850 ac_cv_lib_gphoto2_gp_camera_new
=no
11852 rm -f core conftest.err conftest.
$ac_objext \
11853 conftest
$ac_exeext conftest.
$ac_ext
11854 LIBS
=$ac_check_lib_save_LIBS
11856 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gphoto2_gp_camera_new" >&5
11857 $as_echo "$ac_cv_lib_gphoto2_gp_camera_new" >&6; }
11858 if test "x$ac_cv_lib_gphoto2_gp_camera_new" = xyes
; then :
11860 $as_echo "#define HAVE_GPHOTO2 1" >>confdefs.h
11863 GPHOTO2_LIBS
=""; GPHOTO2_CFLAGS
=""
11867 GPHOTO2_LIBS
=""; GPHOTO2_CFLAGS
=""
11871 CPPFLAGS
=$ac_save_CPPFLAGS
11872 test -z "$GPHOTO2_CFLAGS" || GPHOTO2_CFLAGS
=`echo " $GPHOTO2_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
11873 test -z "$GPHOTO2_LIBS" || GPHOTO2_LIBS
=`echo " $GPHOTO2_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
11875 if ${GPHOTO2_PORT_CFLAGS:+false} :; then :
11876 if ${PKG_CONFIG+:} false
; then :
11877 GPHOTO2_PORT_CFLAGS
=`$PKG_CONFIG --cflags libgphoto2_port 2>/dev/null`
11880 test "$cross_compiling" = yes || GPHOTO2_PORT_CFLAGS
=${GPHOTO2_PORT_CFLAGS:-`gphoto2-port-config --cflags 2>/dev/null`}
11881 if ${GPHOTO2_PORT_LIBS:+false} :; then :
11882 if ${PKG_CONFIG+:} false
; then :
11883 GPHOTO2_PORT_LIBS
=`$PKG_CONFIG --libs libgphoto2_port 2>/dev/null`
11886 test "$cross_compiling" = yes || GPHOTO2_PORT_LIBS
=${GPHOTO2_PORT_LIBS:-`gphoto2-port-config --libs 2>/dev/null`}
11887 GPHOTO2_PORT_LIBS
=${GPHOTO2_PORT_LIBS:-"-lgphoto2_port"}
11888 $as_echo "$as_me:${as_lineno-$LINENO}: libgphoto2_port cflags: $GPHOTO2_PORT_CFLAGS" >&5
11889 $as_echo "$as_me:${as_lineno-$LINENO}: libgphoto2_port libs: $GPHOTO2_PORT_LIBS" >&5
11890 ac_save_CPPFLAGS
=$CPPFLAGS
11891 CPPFLAGS
="$CPPFLAGS $GPHOTO2_PORT_CFLAGS"
11892 ac_fn_c_check_header_mongrel
"$LINENO" "gphoto2-port.h" "ac_cv_header_gphoto2_port_h" "$ac_includes_default"
11893 if test "x$ac_cv_header_gphoto2_port_h" = xyes
; then :
11894 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gp_port_info_list_new in -lgphoto2_port" >&5
11895 $as_echo_n "checking for gp_port_info_list_new in -lgphoto2_port... " >&6; }
11896 if ${ac_cv_lib_gphoto2_port_gp_port_info_list_new+:} false
; then :
11897 $as_echo_n "(cached) " >&6
11899 ac_check_lib_save_LIBS
=$LIBS
11900 LIBS
="-lgphoto2_port $GPHOTO2_PORT_LIBS $LIBS"
11901 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11902 /* end confdefs.h. */
11904 /* Override any GCC internal prototype to avoid an error.
11905 Use char because int might match the return type of a GCC
11906 builtin and then its argument prototype would still apply. */
11910 char gp_port_info_list_new ();
11914 return gp_port_info_list_new ();
11919 if ac_fn_c_try_link
"$LINENO"; then :
11920 ac_cv_lib_gphoto2_port_gp_port_info_list_new
=yes
11922 ac_cv_lib_gphoto2_port_gp_port_info_list_new
=no
11924 rm -f core conftest.err conftest.
$ac_objext \
11925 conftest
$ac_exeext conftest.
$ac_ext
11926 LIBS
=$ac_check_lib_save_LIBS
11928 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gphoto2_port_gp_port_info_list_new" >&5
11929 $as_echo "$ac_cv_lib_gphoto2_port_gp_port_info_list_new" >&6; }
11930 if test "x$ac_cv_lib_gphoto2_port_gp_port_info_list_new" = xyes
; then :
11932 $as_echo "#define HAVE_GPHOTO2_PORT 1" >>confdefs.h
11935 GPHOTO2_PORT_LIBS
=""; GPHOTO2_PORT_CFLAGS
=""
11939 GPHOTO2_PORT_LIBS
=""; GPHOTO2_PORT_CFLAGS
=""
11943 CPPFLAGS
=$ac_save_CPPFLAGS
11944 test -z "$GPHOTO2_PORT_CFLAGS" || GPHOTO2_PORT_CFLAGS
=`echo " $GPHOTO2_PORT_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
11945 test -z "$GPHOTO2_PORT_LIBS" || GPHOTO2_PORT_LIBS
=`echo " $GPHOTO2_PORT_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
11948 if test "$ac_cv_lib_gphoto2_gp_camera_new" != "yes"; then :
11949 case "x$with_gphoto" in
11950 x
) as_fn_append wine_notices
"|libgphoto2 ${notice_platform}development files not found, digital cameras won't be supported." ;;
11952 *) as_fn_error $?
"libgphoto2 ${notice_platform}development files not found, digital cameras won't be supported.
11953 This is an error since --with-gphoto was requested." "$LINENO" 5 ;;
11956 if test "$ac_cv_lib_gphoto2_port_gp_port_info_list_new" != "yes"; then :
11957 case "x$with_gphoto" in
11958 x
) as_fn_append wine_notices
"|libgphoto2_port ${notice_platform}development files not found, digital cameras won't be auto-detected." ;;
11960 *) as_fn_error $?
"libgphoto2_port ${notice_platform}development files not found, digital cameras won't be auto-detected.
11961 This is an error since --with-gphoto was requested." "$LINENO" 5 ;;
11966 if test "$ac_cv_header_resolv_h" = "yes"
11968 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for resolver library" >&5
11969 $as_echo_n "checking for resolver library... " >&6; }
11970 if ${ac_cv_have_resolv+:} false
; then :
11971 $as_echo_n "(cached) " >&6
11973 ac_save_LIBS
="$LIBS"
11974 for lib
in '' -lresolv
11976 LIBS
="$lib $ac_save_LIBS"
11977 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11978 /* end confdefs.h. */
11979 #ifdef HAVE_NETINET_IN_H
11980 #include <netinet/in.h>
11982 #include <resolv.h>
11986 if (!(_res.options & RES_INIT)) res_init(); res_query("foo",ns_c_in,0,0,0)
11991 if ac_fn_c_try_link
"$LINENO"; then :
11992 ac_cv_have_resolv
=${lib:-"none required"}
11994 ac_cv_have_resolv
="not found"
11996 rm -f core conftest.err conftest.
$ac_objext \
11997 conftest
$ac_exeext conftest.
$ac_ext
11998 test "x$ac_cv_have_resolv" = "xnot found" ||
break
12000 LIBS
="$ac_save_LIBS"
12002 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_resolv" >&5
12003 $as_echo "$ac_cv_have_resolv" >&6; }
12005 case "$ac_cv_have_resolv" in
12009 $as_echo "#define HAVE_RESOLV 1" >>confdefs.h
12012 $as_echo "#define HAVE_RESOLV 1" >>confdefs.h
12014 RESOLV_LIBS
=$ac_cv_have_resolv
12019 if test "x$with_cms" != "xno"
12021 if ${LCMS2_CFLAGS:+false} :; then :
12022 if ${PKG_CONFIG+:} false
; then :
12023 LCMS2_CFLAGS
=`$PKG_CONFIG --cflags lcms2 2>/dev/null`
12027 if ${LCMS2_LIBS:+false} :; then :
12028 if ${PKG_CONFIG+:} false
; then :
12029 LCMS2_LIBS
=`$PKG_CONFIG --libs lcms2 2>/dev/null`
12033 LCMS2_LIBS
=${LCMS2_LIBS:-"-llcms2"}
12034 $as_echo "$as_me:${as_lineno-$LINENO}: lcms2 cflags: $LCMS2_CFLAGS" >&5
12035 $as_echo "$as_me:${as_lineno-$LINENO}: lcms2 libs: $LCMS2_LIBS" >&5
12036 ac_save_CPPFLAGS
=$CPPFLAGS
12037 CPPFLAGS
="$CPPFLAGS $LCMS2_CFLAGS"
12038 for ac_header
in lcms2.h
12040 ac_fn_c_check_header_mongrel
"$LINENO" "lcms2.h" "ac_cv_header_lcms2_h" "$ac_includes_default"
12041 if test "x$ac_cv_header_lcms2_h" = xyes
; then :
12042 cat >>confdefs.h
<<_ACEOF
12043 #define HAVE_LCMS2_H 1
12050 if test "$ac_cv_header_lcms2_h" = "yes"
12052 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cmsOpenProfileFromFile in -llcms2" >&5
12053 $as_echo_n "checking for cmsOpenProfileFromFile in -llcms2... " >&6; }
12054 if ${ac_cv_lib_lcms2_cmsOpenProfileFromFile+:} false
; then :
12055 $as_echo_n "(cached) " >&6
12057 ac_check_lib_save_LIBS
=$LIBS
12058 LIBS
="-llcms2 $LCMS2_LIBS $LIBS"
12059 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12060 /* end confdefs.h. */
12062 /* Override any GCC internal prototype to avoid an error.
12063 Use char because int might match the return type of a GCC
12064 builtin and then its argument prototype would still apply. */
12068 char cmsOpenProfileFromFile ();
12072 return cmsOpenProfileFromFile ();
12077 if ac_fn_c_try_link
"$LINENO"; then :
12078 ac_cv_lib_lcms2_cmsOpenProfileFromFile
=yes
12080 ac_cv_lib_lcms2_cmsOpenProfileFromFile
=no
12082 rm -f core conftest.err conftest.
$ac_objext \
12083 conftest
$ac_exeext conftest.
$ac_ext
12084 LIBS
=$ac_check_lib_save_LIBS
12086 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_lcms2_cmsOpenProfileFromFile" >&5
12087 $as_echo "$ac_cv_lib_lcms2_cmsOpenProfileFromFile" >&6; }
12088 if test "x$ac_cv_lib_lcms2_cmsOpenProfileFromFile" = xyes
; then :
12090 $as_echo "#define HAVE_LCMS2 1" >>confdefs.h
12100 CPPFLAGS
=$ac_save_CPPFLAGS
12101 test -z "$LCMS2_CFLAGS" || LCMS2_CFLAGS
=`echo " $LCMS2_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
12102 test -z "$LCMS2_LIBS" || LCMS2_LIBS
=`echo " $LCMS2_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
12105 if test "$ac_cv_lib_lcms2_cmsOpenProfileFromFile" != "yes"; then :
12106 case "x$with_cms" in
12107 x
) as_fn_append wine_notices
"|liblcms2 ${notice_platform}development files not found, Color Management won't be supported." ;;
12109 *) as_fn_error $?
"liblcms2 ${notice_platform}development files not found, Color Management won't be supported.
12110 This is an error since --with-cms was requested." "$LINENO" 5 ;;
12114 if test "x$with_freetype" != "xno"
12116 if ${FREETYPE_CFLAGS:+false} :; then :
12117 if ${PKG_CONFIG+:} false
; then :
12118 FREETYPE_CFLAGS
=`$PKG_CONFIG --cflags freetype2 2>/dev/null`
12121 test "$cross_compiling" = yes || FREETYPE_CFLAGS
=${FREETYPE_CFLAGS:-`(freetype-config --cflags || freetype2-config --cflags) 2>/dev/null`}
12122 if ${FREETYPE_LIBS:+false} :; then :
12123 if ${PKG_CONFIG+:} false
; then :
12124 FREETYPE_LIBS
=`$PKG_CONFIG --libs freetype2 2>/dev/null`
12127 test "$cross_compiling" = yes || FREETYPE_LIBS
=${FREETYPE_LIBS:-`(freetype-config --libs || freetype2-config --libs) 2>/dev/null`}
12128 FREETYPE_LIBS
=${FREETYPE_LIBS:-"-lfreetype"}
12129 $as_echo "$as_me:${as_lineno-$LINENO}: freetype2 cflags: $FREETYPE_CFLAGS" >&5
12130 $as_echo "$as_me:${as_lineno-$LINENO}: freetype2 libs: $FREETYPE_LIBS" >&5
12131 ac_save_CPPFLAGS
=$CPPFLAGS
12132 CPPFLAGS
="$CPPFLAGS $FREETYPE_CFLAGS"
12133 for ac_header
in ft2build.h
12135 ac_fn_c_check_header_mongrel
"$LINENO" "ft2build.h" "ac_cv_header_ft2build_h" "$ac_includes_default"
12136 if test "x$ac_cv_header_ft2build_h" = xyes
; then :
12137 cat >>confdefs.h
<<_ACEOF
12138 #define HAVE_FT2BUILD_H 1
12145 if test "$ac_cv_header_ft2build_h" = "yes"
12147 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lfreetype" >&5
12148 $as_echo_n "checking for -lfreetype... " >&6; }
12149 if ${ac_cv_lib_soname_freetype+:} false
; then :
12150 $as_echo_n "(cached) " >&6
12152 ac_check_soname_save_LIBS
=$LIBS
12153 LIBS
="-lfreetype $FREETYPE_LIBS $LIBS"
12154 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12155 /* end confdefs.h. */
12157 /* Override any GCC internal prototype to avoid an error.
12158 Use char because int might match the return type of a GCC
12159 builtin and then its argument prototype would still apply. */
12163 char FT_Init_FreeType ();
12167 return FT_Init_FreeType ();
12172 if ac_fn_c_try_link
"$LINENO"; then :
12174 dll
) ac_cv_lib_soname_freetype
=`$ac_cv_path_LDD conftest.exe | grep "freetype" | sed -e "s/dll.*/dll/"';2,$d'` ;;
12175 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'` ;;
12176 *) ac_cv_lib_soname_freetype
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libfreetype\\.$LIBEXT" | sed -e "s/^.*\\[\\(libfreetype\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
12177 if ${ac_cv_lib_soname_freetype:+false} :; then :
12178 ac_cv_lib_soname_freetype
=`$LDD conftest$ac_exeext | grep "libfreetype\\.$LIBEXT" | sed -e "s/^.*\(libfreetype\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
12182 rm -f core conftest.err conftest.
$ac_objext \
12183 conftest
$ac_exeext conftest.
$ac_ext
12184 LIBS
=$ac_check_soname_save_LIBS
12186 if ${ac_cv_lib_soname_freetype:+false} :; then :
12187 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
12188 $as_echo "not found" >&6; }
12191 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_freetype" >&5
12192 $as_echo "$ac_cv_lib_soname_freetype" >&6; }
12194 cat >>confdefs.h
<<_ACEOF
12195 #define SONAME_LIBFREETYPE "$ac_cv_lib_soname_freetype"
12199 $as_echo "#define HAVE_FREETYPE 1" >>confdefs.h
12201 ac_fn_c_check_type
"$LINENO" "FT_TrueTypeEngineType" "ac_cv_type_FT_TrueTypeEngineType" "#include <ft2build.h>
12202 #include FT_MODULE_H
12204 if test "x$ac_cv_type_FT_TrueTypeEngineType" = xyes
; then :
12206 cat >>confdefs.h
<<_ACEOF
12207 #define HAVE_FT_TRUETYPEENGINETYPE 1
12218 CPPFLAGS
=$ac_save_CPPFLAGS
12219 test -z "$FREETYPE_CFLAGS" || FREETYPE_CFLAGS
=`echo " $FREETYPE_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
12220 test -z "$FREETYPE_LIBS" || FREETYPE_LIBS
=`echo " $FREETYPE_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
12223 if test "x$ac_cv_lib_soname_freetype" = x
; then :
12224 case "x$with_freetype" in
12226 *) as_fn_error $?
"FreeType ${notice_platform}development files not found. Fonts will not be built.
12227 Use the --without-freetype option if you really want this." "$LINENO" 5 ;;
12230 test "x$ac_cv_lib_soname_freetype" = x
&& enable_fonts
=${enable_fonts:-no}
12232 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for parport header/ppdev.h" >&5
12233 $as_echo_n "checking for parport header/ppdev.h... " >&6; }
12234 if ${ac_cv_c_ppdev+:} false
; then :
12235 $as_echo_n "(cached) " >&6
12237 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12238 /* end confdefs.h. */
12239 #ifdef HAVE_SYS_IOCTL_H
12240 # include <sys/ioctl.h>
12242 #include <linux/ppdev.h>
12246 ioctl (1,PPCLAIM,0)
12251 if ac_fn_c_try_compile
"$LINENO"; then :
12252 ac_cv_c_ppdev
="yes"
12256 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
12258 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_ppdev" >&5
12259 $as_echo "$ac_cv_c_ppdev" >&6; }
12260 if test "$ac_cv_c_ppdev" = "yes"
12263 $as_echo "#define HAVE_PPDEV 1" >>confdefs.h
12267 ac_wine_check_funcs_save_LIBS
="$LIBS"
12268 LIBS
="$LIBS $PTHREAD_LIBS"
12270 pthread_attr_get_np \
12271 pthread_getattr_np \
12272 pthread_getthreadid_np \
12273 pthread_get_stackaddr_np \
12274 pthread_get_stacksize_np
12276 as_ac_var
=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
12277 ac_fn_c_check_func
"$LINENO" "$ac_func" "$as_ac_var"
12278 if eval test \"x\$
"$as_ac_var"\" = x
"yes"; then :
12279 cat >>confdefs.h
<<_ACEOF
12280 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
12286 LIBS
="$ac_wine_check_funcs_save_LIBS"
12288 if test "$ac_cv_header_zlib_h" = "yes"
12290 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for inflate in -lz" >&5
12291 $as_echo_n "checking for inflate in -lz... " >&6; }
12292 if ${ac_cv_lib_z_inflate+:} false
; then :
12293 $as_echo_n "(cached) " >&6
12295 ac_check_lib_save_LIBS
=$LIBS
12297 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12298 /* end confdefs.h. */
12300 /* Override any GCC internal prototype to avoid an error.
12301 Use char because int might match the return type of a GCC
12302 builtin and then its argument prototype would still apply. */
12315 if ac_fn_c_try_link
"$LINENO"; then :
12316 ac_cv_lib_z_inflate
=yes
12318 ac_cv_lib_z_inflate
=no
12320 rm -f core conftest.err conftest.
$ac_objext \
12321 conftest
$ac_exeext conftest.
$ac_ext
12322 LIBS
=$ac_check_lib_save_LIBS
12324 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_z_inflate" >&5
12325 $as_echo "$ac_cv_lib_z_inflate" >&6; }
12326 if test "x$ac_cv_lib_z_inflate" = xyes
; then :
12328 $as_echo "#define HAVE_ZLIB 1" >>confdefs.h
12335 if test "x$Z_LIBS" = "x"; then :
12336 case "x$with_zlib" in
12337 x
) as_fn_append wine_notices
"|libz ${notice_platform}development files not found, data compression won't be supported." ;;
12339 *) as_fn_error $?
"libz ${notice_platform}development files not found, data compression won't be supported.
12340 This is an error since --with-zlib was requested." "$LINENO" 5 ;;
12344 if test "x$enable_tools" != xno
12346 if test "$ac_cv_header_gettext_po_h" = "yes"
12348 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for po_message_msgctxt in -lgettextpo" >&5
12349 $as_echo_n "checking for po_message_msgctxt in -lgettextpo... " >&6; }
12350 if ${ac_cv_lib_gettextpo_po_message_msgctxt+:} false
; then :
12351 $as_echo_n "(cached) " >&6
12353 ac_check_lib_save_LIBS
=$LIBS
12354 LIBS
="-lgettextpo $LIBS"
12355 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12356 /* end confdefs.h. */
12358 /* Override any GCC internal prototype to avoid an error.
12359 Use char because int might match the return type of a GCC
12360 builtin and then its argument prototype would still apply. */
12364 char po_message_msgctxt ();
12368 return po_message_msgctxt ();
12373 if ac_fn_c_try_link
"$LINENO"; then :
12374 ac_cv_lib_gettextpo_po_message_msgctxt
=yes
12376 ac_cv_lib_gettextpo_po_message_msgctxt
=no
12378 rm -f core conftest.err conftest.
$ac_objext \
12379 conftest
$ac_exeext conftest.
$ac_ext
12380 LIBS
=$ac_check_lib_save_LIBS
12382 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gettextpo_po_message_msgctxt" >&5
12383 $as_echo "$ac_cv_lib_gettextpo_po_message_msgctxt" >&6; }
12384 if test "x$ac_cv_lib_gettextpo_po_message_msgctxt" = xyes
; then :
12386 $as_echo "#define HAVE_LIBGETTEXTPO 1" >>confdefs.h
12388 GETTEXTPO_LIBS
="-lgettextpo"
12393 test "x$with_gettextpo" != xyes ||
if test "x$GETTEXTPO_LIBS" = "x"; then :
12394 case "x$with_gettextpo" in
12395 x
) as_fn_append wine_notices
"|GetText ${notice_platform}development files not found (or too old), po files can't be rebuilt." ;;
12397 *) as_fn_error $?
"GetText ${notice_platform}development files not found (or too old), po files can't be rebuilt.
12398 This is an error since --with-gettextpo was requested." "$LINENO" 5 ;;
12403 if test "x$with_gstreamer" != "xno"
12405 if ${GSTREAMER_CFLAGS:+false} :; then :
12406 if ${PKG_CONFIG+:} false
; then :
12407 GSTREAMER_CFLAGS
=`$PKG_CONFIG --cflags gstreamer-app-0.10 2>/dev/null`
12411 if ${GSTREAMER_LIBS:+false} :; then :
12412 if ${PKG_CONFIG+:} false
; then :
12413 GSTREAMER_LIBS
=`$PKG_CONFIG --libs gstreamer-app-0.10 2>/dev/null`
12418 $as_echo "$as_me:${as_lineno-$LINENO}: gstreamer-app-0.10 cflags: $GSTREAMER_CFLAGS" >&5
12419 $as_echo "$as_me:${as_lineno-$LINENO}: gstreamer-app-0.10 libs: $GSTREAMER_LIBS" >&5
12420 ac_save_CPPFLAGS
=$CPPFLAGS
12421 CPPFLAGS
="$CPPFLAGS $GSTREAMER_CFLAGS"
12423 for i
in $GSTREAMER_CFLAGS
12426 -I*) ac_gst_incl
="$ac_gst_incl $i";;
12429 GSTREAMER_CFLAGS
=$ac_gst_incl
12430 CPPFLAGS
="$ac_save_CPPFLAGS $GSTREAMER_CFLAGS"
12431 ac_fn_c_check_header_mongrel
"$LINENO" "gst/gstpad.h" "ac_cv_header_gst_gstpad_h" "$ac_includes_default"
12432 if test "x$ac_cv_header_gst_gstpad_h" = xyes
; then :
12433 ac_fn_c_check_header_mongrel
"$LINENO" "gst/app/gstappsink.h" "ac_cv_header_gst_app_gstappsink_h" "$ac_includes_default"
12434 if test "x$ac_cv_header_gst_app_gstappsink_h" = xyes
; then :
12435 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether gint64 defined by gst/app/gstappsink.h is indeed 64-bit" >&5
12436 $as_echo_n "checking whether gint64 defined by gst/app/gstappsink.h is indeed 64-bit... " >&6; }
12437 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12438 /* end confdefs.h. */
12439 #include <gst/app/gstappsink.h>
12443 static int a[sizeof(gint64) > 4 ? 1 : -1]; if (a[0]) return 0;
12448 if ac_fn_c_try_compile
"$LINENO"; then :
12449 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
12450 $as_echo "yes" >&6; }
12451 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gst_pad_get_caps_reffed in -lgstreamer-0.10" >&5
12452 $as_echo_n "checking for gst_pad_get_caps_reffed in -lgstreamer-0.10... " >&6; }
12453 if ${ac_cv_lib_gstreamer_0_10_gst_pad_get_caps_reffed+:} false
; then :
12454 $as_echo_n "(cached) " >&6
12456 ac_check_lib_save_LIBS
=$LIBS
12457 LIBS
="-lgstreamer-0.10 $LIBS"
12458 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12459 /* end confdefs.h. */
12461 /* Override any GCC internal prototype to avoid an error.
12462 Use char because int might match the return type of a GCC
12463 builtin and then its argument prototype would still apply. */
12467 char gst_pad_get_caps_reffed ();
12471 return gst_pad_get_caps_reffed ();
12476 if ac_fn_c_try_link
"$LINENO"; then :
12477 ac_cv_lib_gstreamer_0_10_gst_pad_get_caps_reffed
=yes
12479 ac_cv_lib_gstreamer_0_10_gst_pad_get_caps_reffed
=no
12481 rm -f core conftest.err conftest.
$ac_objext \
12482 conftest
$ac_exeext conftest.
$ac_ext
12483 LIBS
=$ac_check_lib_save_LIBS
12485 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gstreamer_0_10_gst_pad_get_caps_reffed" >&5
12486 $as_echo "$ac_cv_lib_gstreamer_0_10_gst_pad_get_caps_reffed" >&6; }
12487 if test "x$ac_cv_lib_gstreamer_0_10_gst_pad_get_caps_reffed" = xyes
; then :
12488 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gst_app_buffer_new in -lgstapp-0.10" >&5
12489 $as_echo_n "checking for gst_app_buffer_new in -lgstapp-0.10... " >&6; }
12490 if ${ac_cv_lib_gstapp_0_10_gst_app_buffer_new+:} false
; then :
12491 $as_echo_n "(cached) " >&6
12493 ac_check_lib_save_LIBS
=$LIBS
12494 LIBS
="-lgstapp-0.10 $GSTREAMER_LIBS $LIBS"
12495 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12496 /* end confdefs.h. */
12498 /* Override any GCC internal prototype to avoid an error.
12499 Use char because int might match the return type of a GCC
12500 builtin and then its argument prototype would still apply. */
12504 char gst_app_buffer_new ();
12508 return gst_app_buffer_new ();
12513 if ac_fn_c_try_link
"$LINENO"; then :
12514 ac_cv_lib_gstapp_0_10_gst_app_buffer_new
=yes
12516 ac_cv_lib_gstapp_0_10_gst_app_buffer_new
=no
12518 rm -f core conftest.err conftest.
$ac_objext \
12519 conftest
$ac_exeext conftest.
$ac_ext
12520 LIBS
=$ac_check_lib_save_LIBS
12522 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gstapp_0_10_gst_app_buffer_new" >&5
12523 $as_echo "$ac_cv_lib_gstapp_0_10_gst_app_buffer_new" >&6; }
12524 if test "x$ac_cv_lib_gstapp_0_10_gst_app_buffer_new" = xyes
; then :
12531 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12532 $as_echo "no" >&6; }
12534 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
12539 GSTREAMER_CFLAGS
=""
12543 CPPFLAGS
=$ac_save_CPPFLAGS
12544 test -z "$GSTREAMER_CFLAGS" || GSTREAMER_CFLAGS
=`echo " $GSTREAMER_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
12545 test -z "$GSTREAMER_LIBS" || GSTREAMER_LIBS
=`echo " $GSTREAMER_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
12548 if test "x$ac_cv_lib_gstapp_0_10_gst_app_buffer_new" != xyes
-a "x$ac_cv_header_QuickTime_ImageCompression_h" != xyes
; then :
12549 case "x$with_gstreamer" in
12550 x
) as_fn_append wine_notices
"|gstreamer-0.10 base plugins ${notice_platform}development files not found, gstreamer support disabled" ;;
12552 *) as_fn_error $?
"gstreamer-0.10 base plugins ${notice_platform}development files not found, gstreamer support disabled
12553 This is an error since --with-gstreamer was requested." "$LINENO" 5 ;;
12556 test "x$ac_cv_lib_gstapp_0_10_gst_app_buffer_new" = xyes || enable_winegstreamer
=${enable_winegstreamer:-no}
12560 if test "$ac_cv_header_sys_asoundlib_h" = "yes" -o "$ac_cv_header_alsa_asoundlib_h" = "yes"
12562 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for snd_pcm_hw_params_get_access_mask in -lasound" >&5
12563 $as_echo_n "checking for snd_pcm_hw_params_get_access_mask in -lasound... " >&6; }
12564 if ${ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask+:} false
; then :
12565 $as_echo_n "(cached) " >&6
12567 ac_check_lib_save_LIBS
=$LIBS
12568 LIBS
="-lasound $LIBS"
12569 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12570 /* end confdefs.h. */
12572 /* Override any GCC internal prototype to avoid an error.
12573 Use char because int might match the return type of a GCC
12574 builtin and then its argument prototype would still apply. */
12578 char snd_pcm_hw_params_get_access_mask ();
12582 return snd_pcm_hw_params_get_access_mask ();
12587 if ac_fn_c_try_link
"$LINENO"; then :
12588 ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask
=yes
12590 ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask
=no
12592 rm -f core conftest.err conftest.
$ac_objext \
12593 conftest
$ac_exeext conftest.
$ac_ext
12594 LIBS
=$ac_check_lib_save_LIBS
12596 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask" >&5
12597 $as_echo "$ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask" >&6; }
12598 if test "x$ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask" = xyes
; then :
12599 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12600 /* end confdefs.h. */
12601 #ifdef HAVE_ALSA_ASOUNDLIB_H
12602 #include <alsa/asoundlib.h>
12603 #elif defined(HAVE_SYS_ASOUNDLIB_H)
12604 #include <sys/asoundlib.h>
12609 snd_pcm_hw_params_get_access_mask(NULL, NULL)
12614 if ac_fn_c_try_compile
"$LINENO"; then :
12615 ALSA_LIBS
="-lasound"
12617 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
12622 if test "x$with_oss" != xno
12624 ac_save_CPPFLAGS
="$CPPFLAGS"
12625 if test -f /etc
/oss.conf
12629 ac_oss_incl
="-I${OSSLIBDIR:-/usr/lib/oss}/include"
12630 CPPFLAGS
="$CPPFLAGS $ac_oss_incl"
12631 ac_fn_c_check_header_mongrel
"$LINENO" "sys/soundcard.h" "ac_cv_header_sys_soundcard_h" "$ac_includes_default"
12632 if test "x$ac_cv_header_sys_soundcard_h" = xyes
; then :
12633 ac_fn_c_check_member
"$LINENO" "oss_sysinfo" "numaudioengines" "ac_cv_member_oss_sysinfo_numaudioengines" "#include <sys/soundcard.h>
12635 if test "x$ac_cv_member_oss_sysinfo_numaudioengines" = xyes
; then :
12637 cat >>confdefs.h
<<_ACEOF
12638 #define HAVE_OSS_SYSINFO_NUMAUDIOENGINES 1
12641 OSS4_CFLAGS
="$ac_oss_incl"
12648 CPPFLAGS
="$ac_save_CPPFLAGS"
12649 if test "x$ac_cv_member_oss_sysinfo_numaudioengines" != xyes
12651 as_fn_append wine_notices
"|OSS sound system found but too old (OSSv4 needed), OSS won't be supported."
12655 if test "x$with_capi" != "xno"
12657 if ${CAPI20_CFLAGS:+false} :; then :
12658 if ${PKG_CONFIG+:} false
; then :
12659 CAPI20_CFLAGS
=`$PKG_CONFIG --cflags capi20 2>/dev/null`
12663 if ${CAPI20_LIBS:+false} :; then :
12664 if ${PKG_CONFIG+:} false
; then :
12665 CAPI20_LIBS
=`$PKG_CONFIG --libs capi20 2>/dev/null`
12670 $as_echo "$as_me:${as_lineno-$LINENO}: capi20 cflags: $CAPI20_CFLAGS" >&5
12671 $as_echo "$as_me:${as_lineno-$LINENO}: capi20 libs: $CAPI20_LIBS" >&5
12672 ac_save_CPPFLAGS
=$CPPFLAGS
12673 CPPFLAGS
="$CPPFLAGS $CAPI20_CFLAGS"
12674 for ac_header
in capi20.h linux
/capi.h
12676 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
12677 ac_fn_c_check_header_compile
"$LINENO" "$ac_header" "$as_ac_Header" "#define __user
12679 if eval test \"x\$
"$as_ac_Header"\" = x
"yes"; then :
12680 cat >>confdefs.h
<<_ACEOF
12681 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
12688 if test "$ac_cv_header_capi20_h" = "yes" -a "$ac_cv_header_linux_capi_h" = "yes"
12690 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lcapi20" >&5
12691 $as_echo_n "checking for -lcapi20... " >&6; }
12692 if ${ac_cv_lib_soname_capi20+:} false
; then :
12693 $as_echo_n "(cached) " >&6
12695 ac_check_soname_save_LIBS
=$LIBS
12696 LIBS
="-lcapi20 $CAPI20_LIBS $LIBS"
12697 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12698 /* end confdefs.h. */
12700 /* Override any GCC internal prototype to avoid an error.
12701 Use char because int might match the return type of a GCC
12702 builtin and then its argument prototype would still apply. */
12706 char capi20_register ();
12710 return capi20_register ();
12715 if ac_fn_c_try_link
"$LINENO"; then :
12717 dll
) ac_cv_lib_soname_capi20
=`$ac_cv_path_LDD conftest.exe | grep "capi20" | sed -e "s/dll.*/dll/"';2,$d'` ;;
12718 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'` ;;
12719 *) ac_cv_lib_soname_capi20
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libcapi20\\.$LIBEXT" | sed -e "s/^.*\\[\\(libcapi20\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
12720 if ${ac_cv_lib_soname_capi20:+false} :; then :
12721 ac_cv_lib_soname_capi20
=`$LDD conftest$ac_exeext | grep "libcapi20\\.$LIBEXT" | sed -e "s/^.*\(libcapi20\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
12725 rm -f core conftest.err conftest.
$ac_objext \
12726 conftest
$ac_exeext conftest.
$ac_ext
12727 LIBS
=$ac_check_soname_save_LIBS
12729 if ${ac_cv_lib_soname_capi20:+false} :; then :
12730 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
12731 $as_echo "not found" >&6; }
12734 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_capi20" >&5
12735 $as_echo "$ac_cv_lib_soname_capi20" >&6; }
12737 cat >>confdefs.h
<<_ACEOF
12738 #define SONAME_LIBCAPI20 "$ac_cv_lib_soname_capi20"
12744 CPPFLAGS
=$ac_save_CPPFLAGS
12745 test -z "$CAPI20_CFLAGS" || CAPI20_CFLAGS
=`echo " $CAPI20_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
12746 test -z "$CAPI20_LIBS" || CAPI20_LIBS
=`echo " $CAPI20_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
12749 if test "x$ac_cv_lib_soname_capi20" = "x"; then :
12750 case "x$with_capi" in
12751 x
) as_fn_append wine_notices
"|libcapi20 ${notice_platform}development files not found, ISDN won't be supported." ;;
12753 *) as_fn_error $?
"libcapi20 ${notice_platform}development files not found, ISDN won't be supported.
12754 This is an error since --with-capi was requested." "$LINENO" 5 ;;
12760 if test "x$with_cups" != "xno"
12762 ac_save_CPPFLAGS
="$CPPFLAGS"
12763 ac_cups_cflags
=`cups-config --cflags 2>/dev/null`
12764 ac_cups_libs
=`cups-config --ldflags 2>/dev/null`
12765 CPPFLAGS
="$CPPFLAGS $ac_cups_cflags"
12766 for ac_header
in cups
/cups.h
12768 ac_fn_c_check_header_mongrel
"$LINENO" "cups/cups.h" "ac_cv_header_cups_cups_h" "$ac_includes_default"
12769 if test "x$ac_cv_header_cups_cups_h" = xyes
; then :
12770 cat >>confdefs.h
<<_ACEOF
12771 #define HAVE_CUPS_CUPS_H 1
12773 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lcups" >&5
12774 $as_echo_n "checking for -lcups... " >&6; }
12775 if ${ac_cv_lib_soname_cups+:} false
; then :
12776 $as_echo_n "(cached) " >&6
12778 ac_check_soname_save_LIBS
=$LIBS
12779 LIBS
="-lcups $ac_cups_libs $LIBS"
12780 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12781 /* end confdefs.h. */
12783 /* Override any GCC internal prototype to avoid an error.
12784 Use char because int might match the return type of a GCC
12785 builtin and then its argument prototype would still apply. */
12789 char cupsGetDefault ();
12793 return cupsGetDefault ();
12798 if ac_fn_c_try_link
"$LINENO"; then :
12800 dll
) ac_cv_lib_soname_cups
=`$ac_cv_path_LDD conftest.exe | grep "cups" | sed -e "s/dll.*/dll/"';2,$d'` ;;
12801 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'` ;;
12802 *) ac_cv_lib_soname_cups
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libcups\\.$LIBEXT" | sed -e "s/^.*\\[\\(libcups\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
12803 if ${ac_cv_lib_soname_cups:+false} :; then :
12804 ac_cv_lib_soname_cups
=`$LDD conftest$ac_exeext | grep "libcups\\.$LIBEXT" | sed -e "s/^.*\(libcups\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
12808 rm -f core conftest.err conftest.
$ac_objext \
12809 conftest
$ac_exeext conftest.
$ac_ext
12810 LIBS
=$ac_check_soname_save_LIBS
12812 if ${ac_cv_lib_soname_cups:+false} :; then :
12813 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
12814 $as_echo "not found" >&6; }
12817 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_cups" >&5
12818 $as_echo "$ac_cv_lib_soname_cups" >&6; }
12820 cat >>confdefs.h
<<_ACEOF
12821 #define SONAME_LIBCUPS "$ac_cv_lib_soname_cups"
12824 CUPS_CFLAGS
="$ac_cups_cflags"
12830 CPPFLAGS
="$ac_save_CPPFLAGS"
12832 if test "x$ac_cv_lib_soname_cups" = "x"; then :
12833 case "x$with_cups" in
12834 x
) as_fn_append wine_notices
"|libcups ${notice_platform}development files not found, CUPS won't be supported." ;;
12836 *) as_fn_error $?
"libcups ${notice_platform}development files not found, CUPS won't be supported.
12837 This is an error since --with-cups was requested." "$LINENO" 5 ;;
12841 if test "x$with_fontconfig" != "xno"
12843 if ${FONTCONFIG_CFLAGS:+false} :; then :
12844 if ${PKG_CONFIG+:} false
; then :
12845 FONTCONFIG_CFLAGS
=`$PKG_CONFIG --cflags fontconfig 2>/dev/null`
12848 test "$cross_compiling" = yes || FONTCONFIG_CFLAGS
=${FONTCONFIG_CFLAGS:-$X_CFLAGS}
12849 if ${FONTCONFIG_LIBS:+false} :; then :
12850 if ${PKG_CONFIG+:} false
; then :
12851 FONTCONFIG_LIBS
=`$PKG_CONFIG --libs fontconfig 2>/dev/null`
12854 test "$cross_compiling" = yes || FONTCONFIG_LIBS
=${FONTCONFIG_LIBS:-$X_LIBS}
12856 $as_echo "$as_me:${as_lineno-$LINENO}: fontconfig cflags: $FONTCONFIG_CFLAGS" >&5
12857 $as_echo "$as_me:${as_lineno-$LINENO}: fontconfig libs: $FONTCONFIG_LIBS" >&5
12858 ac_save_CPPFLAGS
=$CPPFLAGS
12859 CPPFLAGS
="$CPPFLAGS $FONTCONFIG_CFLAGS"
12860 for ac_header
in fontconfig
/fontconfig.h
12862 ac_fn_c_check_header_mongrel
"$LINENO" "fontconfig/fontconfig.h" "ac_cv_header_fontconfig_fontconfig_h" "$ac_includes_default"
12863 if test "x$ac_cv_header_fontconfig_fontconfig_h" = xyes
; then :
12864 cat >>confdefs.h
<<_ACEOF
12865 #define HAVE_FONTCONFIG_FONTCONFIG_H 1
12872 if test "$ac_cv_header_fontconfig_fontconfig_h" = "yes"
12874 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lfontconfig" >&5
12875 $as_echo_n "checking for -lfontconfig... " >&6; }
12876 if ${ac_cv_lib_soname_fontconfig+:} false
; then :
12877 $as_echo_n "(cached) " >&6
12879 ac_check_soname_save_LIBS
=$LIBS
12880 LIBS
="-lfontconfig $FONTCONFIG_LIBS $LIBS"
12881 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12882 /* end confdefs.h. */
12884 /* Override any GCC internal prototype to avoid an error.
12885 Use char because int might match the return type of a GCC
12886 builtin and then its argument prototype would still apply. */
12899 if ac_fn_c_try_link
"$LINENO"; then :
12901 dll
) ac_cv_lib_soname_fontconfig
=`$ac_cv_path_LDD conftest.exe | grep "fontconfig" | sed -e "s/dll.*/dll/"';2,$d'` ;;
12902 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'` ;;
12903 *) ac_cv_lib_soname_fontconfig
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libfontconfig\\.$LIBEXT" | sed -e "s/^.*\\[\\(libfontconfig\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
12904 if ${ac_cv_lib_soname_fontconfig:+false} :; then :
12905 ac_cv_lib_soname_fontconfig
=`$LDD conftest$ac_exeext | grep "libfontconfig\\.$LIBEXT" | sed -e "s/^.*\(libfontconfig\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
12909 rm -f core conftest.err conftest.
$ac_objext \
12910 conftest
$ac_exeext conftest.
$ac_ext
12911 LIBS
=$ac_check_soname_save_LIBS
12913 if ${ac_cv_lib_soname_fontconfig:+false} :; then :
12914 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
12915 $as_echo "not found" >&6; }
12916 FONTCONFIG_CFLAGS
=""
12918 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_fontconfig" >&5
12919 $as_echo "$ac_cv_lib_soname_fontconfig" >&6; }
12921 cat >>confdefs.h
<<_ACEOF
12922 #define SONAME_LIBFONTCONFIG "$ac_cv_lib_soname_fontconfig"
12928 FONTCONFIG_CFLAGS
=""
12930 CPPFLAGS
=$ac_save_CPPFLAGS
12931 test -z "$FONTCONFIG_CFLAGS" || FONTCONFIG_CFLAGS
=`echo " $FONTCONFIG_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
12932 test -z "$FONTCONFIG_LIBS" || FONTCONFIG_LIBS
=`echo " $FONTCONFIG_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
12935 if test "x$ac_cv_lib_soname_fontconfig" = "x"; then :
12936 case "x$with_fontconfig" in
12937 x
) as_fn_append wine_notices
"|fontconfig ${notice_platform}development files not found, fontconfig won't be supported." ;;
12939 *) as_fn_error $?
"fontconfig ${notice_platform}development files not found, fontconfig won't be supported.
12940 This is an error since --with-fontconfig was requested." "$LINENO" 5 ;;
12944 if test "$ac_cv_header_gsm_h" = "yes" -o "$ac_cv_header_gsm_gsm_h" = "yes"
12946 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lgsm" >&5
12947 $as_echo_n "checking for -lgsm... " >&6; }
12948 if ${ac_cv_lib_soname_gsm+:} false
; then :
12949 $as_echo_n "(cached) " >&6
12951 ac_check_soname_save_LIBS
=$LIBS
12953 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12954 /* end confdefs.h. */
12956 /* Override any GCC internal prototype to avoid an error.
12957 Use char because int might match the return type of a GCC
12958 builtin and then its argument prototype would still apply. */
12962 char gsm_create ();
12966 return gsm_create ();
12971 if ac_fn_c_try_link
"$LINENO"; then :
12973 dll
) ac_cv_lib_soname_gsm
=`$ac_cv_path_LDD conftest.exe | grep "gsm" | sed -e "s/dll.*/dll/"';2,$d'` ;;
12974 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'` ;;
12975 *) ac_cv_lib_soname_gsm
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libgsm\\.$LIBEXT" | sed -e "s/^.*\\[\\(libgsm\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
12976 if ${ac_cv_lib_soname_gsm:+false} :; then :
12977 ac_cv_lib_soname_gsm
=`$LDD conftest$ac_exeext | grep "libgsm\\.$LIBEXT" | sed -e "s/^.*\(libgsm\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
12981 rm -f core conftest.err conftest.
$ac_objext \
12982 conftest
$ac_exeext conftest.
$ac_ext
12983 LIBS
=$ac_check_soname_save_LIBS
12985 if ${ac_cv_lib_soname_gsm:+false} :; then :
12986 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
12987 $as_echo "not found" >&6; }
12990 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_gsm" >&5
12991 $as_echo "$ac_cv_lib_soname_gsm" >&6; }
12993 cat >>confdefs.h
<<_ACEOF
12994 #define SONAME_LIBGSM "$ac_cv_lib_soname_gsm"
13000 if test "x$ac_cv_lib_soname_gsm" = "x"; then :
13001 case "x$with_gsm" in
13002 x
) as_fn_append wine_notices
"|libgsm ${notice_platform}development files not found, gsm 06.10 codec won't be supported." ;;
13004 *) as_fn_error $?
"libgsm ${notice_platform}development files not found, gsm 06.10 codec won't be supported.
13005 This is an error since --with-gsm was requested." "$LINENO" 5 ;;
13009 if test "x$with_jpeg" != "xno"
13011 if ${JPEG_CFLAGS:+false} :; then :
13012 if ${PKG_CONFIG+:} false
; then :
13013 JPEG_CFLAGS
=`$PKG_CONFIG --cflags libjpeg 2>/dev/null`
13017 if ${JPEG_LIBS:+false} :; then :
13018 if ${PKG_CONFIG+:} false
; then :
13019 JPEG_LIBS
=`$PKG_CONFIG --libs libjpeg 2>/dev/null`
13024 $as_echo "$as_me:${as_lineno-$LINENO}: libjpeg cflags: $JPEG_CFLAGS" >&5
13025 $as_echo "$as_me:${as_lineno-$LINENO}: libjpeg libs: $JPEG_LIBS" >&5
13026 ac_save_CPPFLAGS
=$CPPFLAGS
13027 CPPFLAGS
="$CPPFLAGS $JPEG_CFLAGS"
13028 for ac_header
in jpeglib.h
13030 ac_fn_c_check_header_mongrel
"$LINENO" "jpeglib.h" "ac_cv_header_jpeglib_h" "$ac_includes_default"
13031 if test "x$ac_cv_header_jpeglib_h" = xyes
; then :
13032 cat >>confdefs.h
<<_ACEOF
13033 #define HAVE_JPEGLIB_H 1
13040 if test "$ac_cv_header_jpeglib_h" = "yes"
13042 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -ljpeg" >&5
13043 $as_echo_n "checking for -ljpeg... " >&6; }
13044 if ${ac_cv_lib_soname_jpeg+:} false
; then :
13045 $as_echo_n "(cached) " >&6
13047 ac_check_soname_save_LIBS
=$LIBS
13048 LIBS
="-ljpeg $JPEG_LIBS $LIBS"
13049 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13050 /* end confdefs.h. */
13052 /* Override any GCC internal prototype to avoid an error.
13053 Use char because int might match the return type of a GCC
13054 builtin and then its argument prototype would still apply. */
13058 char jpeg_start_decompress ();
13062 return jpeg_start_decompress ();
13067 if ac_fn_c_try_link
"$LINENO"; then :
13069 dll
) ac_cv_lib_soname_jpeg
=`$ac_cv_path_LDD conftest.exe | grep "jpeg" | sed -e "s/dll.*/dll/"';2,$d'` ;;
13070 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'` ;;
13071 *) ac_cv_lib_soname_jpeg
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libjpeg\\.$LIBEXT" | sed -e "s/^.*\\[\\(libjpeg\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
13072 if ${ac_cv_lib_soname_jpeg:+false} :; then :
13073 ac_cv_lib_soname_jpeg
=`$LDD conftest$ac_exeext | grep "libjpeg\\.$LIBEXT" | sed -e "s/^.*\(libjpeg\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
13077 rm -f core conftest.err conftest.
$ac_objext \
13078 conftest
$ac_exeext conftest.
$ac_ext
13079 LIBS
=$ac_check_soname_save_LIBS
13081 if ${ac_cv_lib_soname_jpeg:+false} :; then :
13082 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13083 $as_echo "not found" >&6; }
13086 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_jpeg" >&5
13087 $as_echo "$ac_cv_lib_soname_jpeg" >&6; }
13089 cat >>confdefs.h
<<_ACEOF
13090 #define SONAME_LIBJPEG "$ac_cv_lib_soname_jpeg"
13098 CPPFLAGS
=$ac_save_CPPFLAGS
13099 test -z "$JPEG_CFLAGS" || JPEG_CFLAGS
=`echo " $JPEG_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
13100 test -z "$JPEG_LIBS" || JPEG_LIBS
=`echo " $JPEG_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
13103 if test "x$ac_cv_lib_soname_jpeg" = "x"; then :
13104 case "x$with_jpeg" in
13105 x
) as_fn_append wine_warnings
"|libjpeg ${notice_platform}development files not found, JPEG won't be supported." ;;
13107 *) as_fn_error $?
"libjpeg ${notice_platform}development files not found, JPEG won't be supported.
13108 This is an error since --with-jpeg was requested." "$LINENO" 5 ;;
13112 if test "x$with_png" != "xno"
13114 if ${PNG_CFLAGS:+false} :; then :
13115 if ${PKG_CONFIG+:} false
; then :
13116 PNG_CFLAGS
=`$PKG_CONFIG --cflags libpng 2>/dev/null`
13119 test "$cross_compiling" = yes || PNG_CFLAGS
=${PNG_CFLAGS:-$X_CFLAGS}
13120 if ${PNG_LIBS:+false} :; then :
13121 if ${PKG_CONFIG+:} false
; then :
13122 PNG_LIBS
=`$PKG_CONFIG --libs libpng 2>/dev/null`
13125 test "$cross_compiling" = yes || PNG_LIBS
=${PNG_LIBS:-$X_LIBS}
13127 $as_echo "$as_me:${as_lineno-$LINENO}: libpng cflags: $PNG_CFLAGS" >&5
13128 $as_echo "$as_me:${as_lineno-$LINENO}: libpng libs: $PNG_LIBS" >&5
13129 ac_save_CPPFLAGS
=$CPPFLAGS
13130 CPPFLAGS
="$CPPFLAGS $PNG_CFLAGS"
13131 for ac_header
in png.h
13133 ac_fn_c_check_header_mongrel
"$LINENO" "png.h" "ac_cv_header_png_h" "$ac_includes_default"
13134 if test "x$ac_cv_header_png_h" = xyes
; then :
13135 cat >>confdefs.h
<<_ACEOF
13136 #define HAVE_PNG_H 1
13143 if test "$ac_cv_header_png_h" = "yes"
13145 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lpng" >&5
13146 $as_echo_n "checking for -lpng... " >&6; }
13147 if ${ac_cv_lib_soname_png+:} false
; then :
13148 $as_echo_n "(cached) " >&6
13150 ac_check_soname_save_LIBS
=$LIBS
13151 LIBS
="-lpng $PNG_LIBS -lm -lz $LIBS"
13152 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13153 /* end confdefs.h. */
13155 /* Override any GCC internal prototype to avoid an error.
13156 Use char because int might match the return type of a GCC
13157 builtin and then its argument prototype would still apply. */
13161 char png_create_read_struct ();
13165 return png_create_read_struct ();
13170 if ac_fn_c_try_link
"$LINENO"; then :
13172 dll
) ac_cv_lib_soname_png
=`$ac_cv_path_LDD conftest.exe | grep "png" | sed -e "s/dll.*/dll/"';2,$d'` ;;
13173 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'` ;;
13174 *) 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'`
13175 if ${ac_cv_lib_soname_png:+false} :; then :
13176 ac_cv_lib_soname_png
=`$LDD conftest$ac_exeext | grep "libpng[0-9]*\\.$LIBEXT" | sed -e "s/^.*\(libpng[0-9]*\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
13180 rm -f core conftest.err conftest.
$ac_objext \
13181 conftest
$ac_exeext conftest.
$ac_ext
13182 LIBS
=$ac_check_soname_save_LIBS
13184 if ${ac_cv_lib_soname_png:+false} :; then :
13185 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13186 $as_echo "not found" >&6; }
13189 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_png" >&5
13190 $as_echo "$ac_cv_lib_soname_png" >&6; }
13192 cat >>confdefs.h
<<_ACEOF
13193 #define SONAME_LIBPNG "$ac_cv_lib_soname_png"
13196 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13197 /* end confdefs.h. */
13202 typeof(png_set_expand_gray_1_2_4_to_8) *p
13207 if ac_fn_c_try_compile
"$LINENO"; then :
13209 $as_echo "#define HAVE_PNG_SET_EXPAND_GRAY_1_2_4_TO_8 1" >>confdefs.h
13212 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
13217 CPPFLAGS
=$ac_save_CPPFLAGS
13218 test -z "$PNG_CFLAGS" || PNG_CFLAGS
=`echo " $PNG_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
13219 test -z "$PNG_LIBS" || PNG_LIBS
=`echo " $PNG_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
13222 if test "x$ac_cv_lib_soname_png" = "x"; then :
13223 case "x$with_png" in
13224 x
) as_fn_append wine_warnings
"|libpng ${notice_platform}development files not found, PNG won't be supported." ;;
13226 *) as_fn_error $?
"libpng ${notice_platform}development files not found, PNG won't be supported.
13227 This is an error since --with-png was requested." "$LINENO" 5 ;;
13231 if test "x$with_tiff" != "xno"
13233 if ${TIFF_CFLAGS:+false} :; then :
13234 if ${PKG_CONFIG+:} false
; then :
13235 TIFF_CFLAGS
=`$PKG_CONFIG --cflags libtiff 2>/dev/null`
13239 if ${TIFF_LIBS:+false} :; then :
13240 if ${PKG_CONFIG+:} false
; then :
13241 TIFF_LIBS
=`$PKG_CONFIG --libs libtiff 2>/dev/null`
13246 $as_echo "$as_me:${as_lineno-$LINENO}: libtiff cflags: $TIFF_CFLAGS" >&5
13247 $as_echo "$as_me:${as_lineno-$LINENO}: libtiff libs: $TIFF_LIBS" >&5
13248 ac_save_CPPFLAGS
=$CPPFLAGS
13249 CPPFLAGS
="$CPPFLAGS $TIFF_CFLAGS"
13250 for ac_header
in tiffio.h
13252 ac_fn_c_check_header_mongrel
"$LINENO" "tiffio.h" "ac_cv_header_tiffio_h" "$ac_includes_default"
13253 if test "x$ac_cv_header_tiffio_h" = xyes
; then :
13254 cat >>confdefs.h
<<_ACEOF
13255 #define HAVE_TIFFIO_H 1
13262 if test "$ac_cv_header_tiffio_h" = "yes"
13264 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -ltiff" >&5
13265 $as_echo_n "checking for -ltiff... " >&6; }
13266 if ${ac_cv_lib_soname_tiff+:} false
; then :
13267 $as_echo_n "(cached) " >&6
13269 ac_check_soname_save_LIBS
=$LIBS
13270 LIBS
="-ltiff $TIFF_LIBS $LIBS"
13271 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13272 /* end confdefs.h. */
13274 /* Override any GCC internal prototype to avoid an error.
13275 Use char because int might match the return type of a GCC
13276 builtin and then its argument prototype would still apply. */
13280 char TIFFClientOpen ();
13284 return TIFFClientOpen ();
13289 if ac_fn_c_try_link
"$LINENO"; then :
13291 dll
) ac_cv_lib_soname_tiff
=`$ac_cv_path_LDD conftest.exe | grep "tiff" | sed -e "s/dll.*/dll/"';2,$d'` ;;
13292 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'` ;;
13293 *) ac_cv_lib_soname_tiff
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libtiff\\.$LIBEXT" | sed -e "s/^.*\\[\\(libtiff\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
13294 if ${ac_cv_lib_soname_tiff:+false} :; then :
13295 ac_cv_lib_soname_tiff
=`$LDD conftest$ac_exeext | grep "libtiff\\.$LIBEXT" | sed -e "s/^.*\(libtiff\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
13299 rm -f core conftest.err conftest.
$ac_objext \
13300 conftest
$ac_exeext conftest.
$ac_ext
13301 LIBS
=$ac_check_soname_save_LIBS
13303 if ${ac_cv_lib_soname_tiff:+false} :; then :
13304 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13305 $as_echo "not found" >&6; }
13308 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_tiff" >&5
13309 $as_echo "$ac_cv_lib_soname_tiff" >&6; }
13311 cat >>confdefs.h
<<_ACEOF
13312 #define SONAME_LIBTIFF "$ac_cv_lib_soname_tiff"
13318 CPPFLAGS
=$ac_save_CPPFLAGS
13319 test -z "$TIFF_CFLAGS" || TIFF_CFLAGS
=`echo " $TIFF_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
13320 test -z "$TIFF_LIBS" || TIFF_LIBS
=`echo " $TIFF_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
13323 if test "x$ac_cv_lib_soname_tiff" = "x"; then :
13324 case "x$with_tiff" in
13325 x
) as_fn_append wine_notices
"|libtiff ${notice_platform}development files not found, TIFF won't be supported." ;;
13327 *) as_fn_error $?
"libtiff ${notice_platform}development files not found, TIFF won't be supported.
13328 This is an error since --with-tiff was requested." "$LINENO" 5 ;;
13332 if test "x$with_mpg123" != "xno"
13334 if ${MPG123_CFLAGS:+false} :; then :
13335 if ${PKG_CONFIG+:} false
; then :
13336 MPG123_CFLAGS
=`$PKG_CONFIG --cflags libmpg123 2>/dev/null`
13340 if ${MPG123_LIBS:+false} :; then :
13341 if ${PKG_CONFIG+:} false
; then :
13342 MPG123_LIBS
=`$PKG_CONFIG --libs libmpg123 2>/dev/null`
13346 MPG123_LIBS
=${MPG123_LIBS:-"-lmpg123"}
13347 $as_echo "$as_me:${as_lineno-$LINENO}: libmpg123 cflags: $MPG123_CFLAGS" >&5
13348 $as_echo "$as_me:${as_lineno-$LINENO}: libmpg123 libs: $MPG123_LIBS" >&5
13349 ac_save_CPPFLAGS
=$CPPFLAGS
13350 CPPFLAGS
="$CPPFLAGS $MPG123_CFLAGS"
13351 for ac_header
in mpg123.h
13353 ac_fn_c_check_header_mongrel
"$LINENO" "mpg123.h" "ac_cv_header_mpg123_h" "$ac_includes_default"
13354 if test "x$ac_cv_header_mpg123_h" = xyes
; then :
13355 cat >>confdefs.h
<<_ACEOF
13356 #define HAVE_MPG123_H 1
13363 if test "$ac_cv_header_mpg123_h" = "yes"
13365 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for mpg123_feed in -lmpg123" >&5
13366 $as_echo_n "checking for mpg123_feed in -lmpg123... " >&6; }
13367 if ${ac_cv_lib_mpg123_mpg123_feed+:} false
; then :
13368 $as_echo_n "(cached) " >&6
13370 ac_check_lib_save_LIBS
=$LIBS
13371 LIBS
="-lmpg123 $MPG123_LIBS $LIBS"
13372 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13373 /* end confdefs.h. */
13375 /* Override any GCC internal prototype to avoid an error.
13376 Use char because int might match the return type of a GCC
13377 builtin and then its argument prototype would still apply. */
13381 char mpg123_feed ();
13385 return mpg123_feed ();
13390 if ac_fn_c_try_link
"$LINENO"; then :
13391 ac_cv_lib_mpg123_mpg123_feed
=yes
13393 ac_cv_lib_mpg123_mpg123_feed
=no
13395 rm -f core conftest.err conftest.
$ac_objext \
13396 conftest
$ac_exeext conftest.
$ac_ext
13397 LIBS
=$ac_check_lib_save_LIBS
13399 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_mpg123_mpg123_feed" >&5
13400 $as_echo "$ac_cv_lib_mpg123_mpg123_feed" >&6; }
13401 if test "x$ac_cv_lib_mpg123_mpg123_feed" = xyes
; then :
13411 CPPFLAGS
=$ac_save_CPPFLAGS
13412 test -z "$MPG123_CFLAGS" || MPG123_CFLAGS
=`echo " $MPG123_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
13413 test -z "$MPG123_LIBS" || MPG123_LIBS
=`echo " $MPG123_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
13416 if test "x$ac_cv_lib_mpg123_mpg123_feed" != xyes
-a x
"$ac_cv_header_CoreAudio_CoreAudio_h" != xyes
; then :
13417 case "x$with_mpg123" in
13418 x
) as_fn_append wine_notices
"|libmpg123 ${notice_platform}development files not found (or too old), mp3 codec won't be supported." ;;
13420 *) as_fn_error $?
"libmpg123 ${notice_platform}development files not found (or too old), mp3 codec won't be supported.
13421 This is an error since --with-mpg123 was requested." "$LINENO" 5 ;;
13424 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}
13426 if test "$ac_cv_header_AL_al_h" = "yes"
13428 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lopenal" >&5
13429 $as_echo_n "checking for -lopenal... " >&6; }
13430 if ${ac_cv_lib_soname_openal+:} false
; then :
13431 $as_echo_n "(cached) " >&6
13433 ac_check_soname_save_LIBS
=$LIBS
13434 LIBS
="-lopenal $LIBS"
13435 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13436 /* end confdefs.h. */
13438 /* Override any GCC internal prototype to avoid an error.
13439 Use char because int might match the return type of a GCC
13440 builtin and then its argument prototype would still apply. */
13444 char alGetSource3i ();
13448 return alGetSource3i ();
13453 if ac_fn_c_try_link
"$LINENO"; then :
13455 dll
) ac_cv_lib_soname_openal
=`$ac_cv_path_LDD conftest.exe | grep "openal" | sed -e "s/dll.*/dll/"';2,$d'` ;;
13456 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'` ;;
13457 *) ac_cv_lib_soname_openal
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libopenal\\.$LIBEXT" | sed -e "s/^.*\\[\\(libopenal\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
13458 if ${ac_cv_lib_soname_openal:+false} :; then :
13459 ac_cv_lib_soname_openal
=`$LDD conftest$ac_exeext | grep "libopenal\\.$LIBEXT" | sed -e "s/^.*\(libopenal\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
13463 rm -f core conftest.err conftest.
$ac_objext \
13464 conftest
$ac_exeext conftest.
$ac_ext
13465 LIBS
=$ac_check_soname_save_LIBS
13467 if ${ac_cv_lib_soname_openal:+false} :; then :
13468 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13469 $as_echo "not found" >&6; }
13472 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_openal" >&5
13473 $as_echo "$ac_cv_lib_soname_openal" >&6; }
13475 cat >>confdefs.h
<<_ACEOF
13476 #define SONAME_LIBOPENAL "$ac_cv_lib_soname_openal"
13479 OPENAL_LIBS
="-lopenal"
13481 ac_cv_lib_openal
=yes
13483 cat >>confdefs.h
<<_ACEOF
13484 #define HAVE_OPENAL 1
13489 if test "x$ac_cv_lib_openal" != xyes
; then :
13490 case "x$with_openal" in
13491 x
) as_fn_append wine_notices
"|libopenal ${notice_platform}development files not found (or too old), OpenAL won't be supported." ;;
13493 *) as_fn_error $?
"libopenal ${notice_platform}development files not found (or too old), OpenAL won't be supported.
13494 This is an error since --with-openal was requested." "$LINENO" 5 ;;
13497 test "x$ac_cv_lib_openal" = xyes || enable_openal32
=${enable_openal32:-no}
13499 if test "$ac_cv_header_kstat_h" = "yes"
13501 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for kstat_open in -lkstat" >&5
13502 $as_echo_n "checking for kstat_open in -lkstat... " >&6; }
13503 if ${ac_cv_lib_kstat_kstat_open+:} false
; then :
13504 $as_echo_n "(cached) " >&6
13506 ac_check_lib_save_LIBS
=$LIBS
13507 LIBS
="-lkstat $LIBS"
13508 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13509 /* end confdefs.h. */
13511 /* Override any GCC internal prototype to avoid an error.
13512 Use char because int might match the return type of a GCC
13513 builtin and then its argument prototype would still apply. */
13517 char kstat_open ();
13521 return kstat_open ();
13526 if ac_fn_c_try_link
"$LINENO"; then :
13527 ac_cv_lib_kstat_kstat_open
=yes
13529 ac_cv_lib_kstat_kstat_open
=no
13531 rm -f core conftest.err conftest.
$ac_objext \
13532 conftest
$ac_exeext conftest.
$ac_ext
13533 LIBS
=$ac_check_lib_save_LIBS
13535 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_kstat_kstat_open" >&5
13536 $as_echo "$ac_cv_lib_kstat_kstat_open" >&6; }
13537 if test "x$ac_cv_lib_kstat_kstat_open" = xyes
; then :
13539 $as_echo "#define HAVE_LIBKSTAT 1" >>confdefs.h
13541 KSTAT_LIBS
="-lkstat"
13547 if test "$ac_cv_header_libprocstat_h" = "yes"
13549 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for procstat_open_sysctl in -lprocstat" >&5
13550 $as_echo_n "checking for procstat_open_sysctl in -lprocstat... " >&6; }
13551 if ${ac_cv_lib_procstat_procstat_open_sysctl+:} false
; then :
13552 $as_echo_n "(cached) " >&6
13554 ac_check_lib_save_LIBS
=$LIBS
13555 LIBS
="-lprocstat $LIBS"
13556 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13557 /* end confdefs.h. */
13559 /* Override any GCC internal prototype to avoid an error.
13560 Use char because int might match the return type of a GCC
13561 builtin and then its argument prototype would still apply. */
13565 char procstat_open_sysctl ();
13569 return procstat_open_sysctl ();
13574 if ac_fn_c_try_link
"$LINENO"; then :
13575 ac_cv_lib_procstat_procstat_open_sysctl
=yes
13577 ac_cv_lib_procstat_procstat_open_sysctl
=no
13579 rm -f core conftest.err conftest.
$ac_objext \
13580 conftest
$ac_exeext conftest.
$ac_ext
13581 LIBS
=$ac_check_lib_save_LIBS
13583 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_procstat_procstat_open_sysctl" >&5
13584 $as_echo "$ac_cv_lib_procstat_procstat_open_sysctl" >&6; }
13585 if test "x$ac_cv_lib_procstat_procstat_open_sysctl" = xyes
; then :
13587 $as_echo "#define HAVE_LIBPROCSTAT 1" >>confdefs.h
13589 PROCSTAT_LIBS
="-lprocstat"
13595 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lodbc" >&5
13596 $as_echo_n "checking for -lodbc... " >&6; }
13597 if ${ac_cv_lib_soname_odbc+:} false
; then :
13598 $as_echo_n "(cached) " >&6
13600 ac_check_soname_save_LIBS
=$LIBS
13601 LIBS
="-lodbc $LIBS"
13602 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13603 /* end confdefs.h. */
13605 /* Override any GCC internal prototype to avoid an error.
13606 Use char because int might match the return type of a GCC
13607 builtin and then its argument prototype would still apply. */
13611 char SQLConnect ();
13615 return SQLConnect ();
13620 if ac_fn_c_try_link
"$LINENO"; then :
13622 dll
) ac_cv_lib_soname_odbc
=`$ac_cv_path_LDD conftest.exe | grep "odbc" | sed -e "s/dll.*/dll/"';2,$d'` ;;
13623 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'` ;;
13624 *) ac_cv_lib_soname_odbc
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libodbc\\.$LIBEXT" | sed -e "s/^.*\\[\\(libodbc\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
13625 if ${ac_cv_lib_soname_odbc:+false} :; then :
13626 ac_cv_lib_soname_odbc
=`$LDD conftest$ac_exeext | grep "libodbc\\.$LIBEXT" | sed -e "s/^.*\(libodbc\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
13630 rm -f core conftest.err conftest.
$ac_objext \
13631 conftest
$ac_exeext conftest.
$ac_ext
13632 LIBS
=$ac_check_soname_save_LIBS
13634 if ${ac_cv_lib_soname_odbc:+false} :; then :
13635 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13636 $as_echo "not found" >&6; }
13637 cat >>confdefs.h
<<_ACEOF
13638 #define SONAME_LIBODBC "libodbc.$LIBEXT"
13642 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_odbc" >&5
13643 $as_echo "$ac_cv_lib_soname_odbc" >&6; }
13645 cat >>confdefs.h
<<_ACEOF
13646 #define SONAME_LIBODBC "$ac_cv_lib_soname_odbc"
13652 if test "x$with_netapi" != "xno"
13654 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lnetapi" >&5
13655 $as_echo_n "checking for -lnetapi... " >&6; }
13656 if ${ac_cv_lib_soname_netapi+:} false
; then :
13657 $as_echo_n "(cached) " >&6
13659 ac_check_soname_save_LIBS
=$LIBS
13660 LIBS
="-lnetapi $LIBS"
13661 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13662 /* end confdefs.h. */
13664 /* Override any GCC internal prototype to avoid an error.
13665 Use char because int might match the return type of a GCC
13666 builtin and then its argument prototype would still apply. */
13670 char libnetapi_init ();
13674 return libnetapi_init ();
13679 if ac_fn_c_try_link
"$LINENO"; then :
13681 dll
) ac_cv_lib_soname_netapi
=`$ac_cv_path_LDD conftest.exe | grep "netapi" | sed -e "s/dll.*/dll/"';2,$d'` ;;
13682 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'` ;;
13683 *) ac_cv_lib_soname_netapi
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libnetapi\\.$LIBEXT" | sed -e "s/^.*\\[\\(libnetapi\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
13684 if ${ac_cv_lib_soname_netapi:+false} :; then :
13685 ac_cv_lib_soname_netapi
=`$LDD conftest$ac_exeext | grep "libnetapi\\.$LIBEXT" | sed -e "s/^.*\(libnetapi\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
13689 rm -f core conftest.err conftest.
$ac_objext \
13690 conftest
$ac_exeext conftest.
$ac_ext
13691 LIBS
=$ac_check_soname_save_LIBS
13693 if ${ac_cv_lib_soname_netapi:+false} :; then :
13694 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13695 $as_echo "not found" >&6; }
13696 cat >>confdefs.h
<<_ACEOF
13697 #define SONAME_LIBNETAPI "libnetapi.$LIBEXT"
13701 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_netapi" >&5
13702 $as_echo "$ac_cv_lib_soname_netapi" >&6; }
13704 cat >>confdefs.h
<<_ACEOF
13705 #define SONAME_LIBNETAPI "$ac_cv_lib_soname_netapi"
13712 test -n "$ALSA_LIBS" || enable_winealsa_drv
=${enable_winealsa_drv:-no}
13713 test -n "$COREAUDIO_LIBS" || enable_winecoreaudio_drv
=${enable_winecoreaudio_drv:-no}
13714 test "x$ac_cv_member_oss_sysinfo_numaudioengines" = xyes || enable_wineoss_drv
=${enable_wineoss_drv:-no}
13715 test "$ac_cv_header_linux_joystick_h" = "yes" -o "$ac_cv_header_IOKit_hid_IOHIDLib_h" = "yes" || enable_winejoystick_drv
=${enable_winejoystick_drv:-no}
13717 if test "x$ALSA_LIBS$COREAUDIO_LIBS" = "x" -a \
13718 "x$ac_cv_member_oss_sysinfo_numaudioengines" != xyes
-a \
13719 "x$with_alsa$with_coreaudio$with_oss" != xnonono
13721 as_fn_append wine_warnings
"|No sound system was found. Windows applications will be silent."
13727 if test "x${GCC}" = "xyes"
13729 EXTRACFLAGS
="-Wall -pipe"
13731 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gcc strength-reduce bug" >&5
13732 $as_echo_n "checking for gcc strength-reduce bug... " >&6; }
13733 if ${ac_cv_c_gcc_strength_bug+:} false
; then :
13734 $as_echo_n "(cached) " >&6
13736 if test "$cross_compiling" = yes; then :
13737 ac_cv_c_gcc_strength_bug
="yes"
13739 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13740 /* end confdefs.h. */
13741 int L[4] = {0,1,2,3};
13745 static int Array[3];
13746 unsigned int B = 3;
13748 for(i=0; i<B; i++) Array[i] = i - 3;
13749 for(i=0; i<4 - 1; i++) L[i] = L[i + 1];
13751 return (Array[1] != -2 || L[2] != 3)
13756 if ac_fn_c_try_run
"$LINENO"; then :
13757 ac_cv_c_gcc_strength_bug
="no"
13759 ac_cv_c_gcc_strength_bug
="yes"
13761 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext \
13762 conftest.
$ac_objext conftest.beam conftest.
$ac_ext
13766 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_gcc_strength_bug" >&5
13767 $as_echo "$ac_cv_c_gcc_strength_bug" >&6; }
13768 if test "$ac_cv_c_gcc_strength_bug" = "yes"
13770 EXTRACFLAGS
="$EXTRACFLAGS -fno-strength-reduce"
13773 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fno-builtin" >&5
13774 $as_echo_n "checking whether the compiler supports -fno-builtin... " >&6; }
13775 if ${ac_cv_cflags__fno_builtin+:} false
; then :
13776 $as_echo_n "(cached) " >&6
13778 ac_wine_try_cflags_saved
=$CFLAGS
13779 CFLAGS
="$CFLAGS -fno-builtin"
13780 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13781 /* end confdefs.h. */
13782 int main(int argc, char **argv) { return 0; }
13784 if ac_fn_c_try_link
"$LINENO"; then :
13785 ac_cv_cflags__fno_builtin
=yes
13787 ac_cv_cflags__fno_builtin
=no
13789 rm -f core conftest.err conftest.
$ac_objext \
13790 conftest
$ac_exeext conftest.
$ac_ext
13791 CFLAGS
=$ac_wine_try_cflags_saved
13793 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fno_builtin" >&5
13794 $as_echo "$ac_cv_cflags__fno_builtin" >&6; }
13795 if test "x$ac_cv_cflags__fno_builtin" = xyes
; then :
13796 BUILTINFLAG
="-fno-builtin"
13799 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fno-strict-aliasing" >&5
13800 $as_echo_n "checking whether the compiler supports -fno-strict-aliasing... " >&6; }
13801 if ${ac_cv_cflags__fno_strict_aliasing+:} false
; then :
13802 $as_echo_n "(cached) " >&6
13804 ac_wine_try_cflags_saved
=$CFLAGS
13805 CFLAGS
="$CFLAGS -fno-strict-aliasing"
13806 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13807 /* end confdefs.h. */
13808 int main(int argc, char **argv) { return 0; }
13810 if ac_fn_c_try_link
"$LINENO"; then :
13811 ac_cv_cflags__fno_strict_aliasing
=yes
13813 ac_cv_cflags__fno_strict_aliasing
=no
13815 rm -f core conftest.err conftest.
$ac_objext \
13816 conftest
$ac_exeext conftest.
$ac_ext
13817 CFLAGS
=$ac_wine_try_cflags_saved
13819 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fno_strict_aliasing" >&5
13820 $as_echo "$ac_cv_cflags__fno_strict_aliasing" >&6; }
13821 if test "x$ac_cv_cflags__fno_strict_aliasing" = xyes
; then :
13822 EXTRACFLAGS
="$EXTRACFLAGS -fno-strict-aliasing"
13824 saved_CFLAGS
=$CFLAGS
13825 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Werror=unknown-warning-option" >&5
13826 $as_echo_n "checking whether the compiler supports -Werror=unknown-warning-option... " >&6; }
13827 if ${ac_cv_cflags__Werror_unknown_warning_option+:} false
; then :
13828 $as_echo_n "(cached) " >&6
13830 ac_wine_try_cflags_saved
=$CFLAGS
13831 CFLAGS
="$CFLAGS -Werror=unknown-warning-option"
13832 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13833 /* end confdefs.h. */
13834 int main(int argc, char **argv) { return 0; }
13836 if ac_fn_c_try_link
"$LINENO"; then :
13837 ac_cv_cflags__Werror_unknown_warning_option
=yes
13839 ac_cv_cflags__Werror_unknown_warning_option
=no
13841 rm -f core conftest.err conftest.
$ac_objext \
13842 conftest
$ac_exeext conftest.
$ac_ext
13843 CFLAGS
=$ac_wine_try_cflags_saved
13845 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Werror_unknown_warning_option" >&5
13846 $as_echo "$ac_cv_cflags__Werror_unknown_warning_option" >&6; }
13847 if test "x$ac_cv_cflags__Werror_unknown_warning_option" = xyes
; then :
13848 CFLAGS
="$CFLAGS -Werror=unknown-warning-option"
13850 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wdeclaration-after-statement" >&5
13851 $as_echo_n "checking whether the compiler supports -Wdeclaration-after-statement... " >&6; }
13852 if ${ac_cv_cflags__Wdeclaration_after_statement+:} false
; then :
13853 $as_echo_n "(cached) " >&6
13855 ac_wine_try_cflags_saved
=$CFLAGS
13856 CFLAGS
="$CFLAGS -Wdeclaration-after-statement"
13857 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13858 /* end confdefs.h. */
13859 int main(int argc, char **argv) { return 0; }
13861 if ac_fn_c_try_link
"$LINENO"; then :
13862 ac_cv_cflags__Wdeclaration_after_statement
=yes
13864 ac_cv_cflags__Wdeclaration_after_statement
=no
13866 rm -f core conftest.err conftest.
$ac_objext \
13867 conftest
$ac_exeext conftest.
$ac_ext
13868 CFLAGS
=$ac_wine_try_cflags_saved
13870 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wdeclaration_after_statement" >&5
13871 $as_echo "$ac_cv_cflags__Wdeclaration_after_statement" >&6; }
13872 if test "x$ac_cv_cflags__Wdeclaration_after_statement" = xyes
; then :
13873 EXTRACFLAGS
="$EXTRACFLAGS -Wdeclaration-after-statement"
13875 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wempty-body" >&5
13876 $as_echo_n "checking whether the compiler supports -Wempty-body... " >&6; }
13877 if ${ac_cv_cflags__Wempty_body+:} false
; then :
13878 $as_echo_n "(cached) " >&6
13880 ac_wine_try_cflags_saved
=$CFLAGS
13881 CFLAGS
="$CFLAGS -Wempty-body"
13882 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13883 /* end confdefs.h. */
13884 int main(int argc, char **argv) { return 0; }
13886 if ac_fn_c_try_link
"$LINENO"; then :
13887 ac_cv_cflags__Wempty_body
=yes
13889 ac_cv_cflags__Wempty_body
=no
13891 rm -f core conftest.err conftest.
$ac_objext \
13892 conftest
$ac_exeext conftest.
$ac_ext
13893 CFLAGS
=$ac_wine_try_cflags_saved
13895 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wempty_body" >&5
13896 $as_echo "$ac_cv_cflags__Wempty_body" >&6; }
13897 if test "x$ac_cv_cflags__Wempty_body" = xyes
; then :
13898 EXTRACFLAGS
="$EXTRACFLAGS -Wempty-body"
13900 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wignored-qualifiers" >&5
13901 $as_echo_n "checking whether the compiler supports -Wignored-qualifiers... " >&6; }
13902 if ${ac_cv_cflags__Wignored_qualifiers+:} false
; then :
13903 $as_echo_n "(cached) " >&6
13905 ac_wine_try_cflags_saved
=$CFLAGS
13906 CFLAGS
="$CFLAGS -Wignored-qualifiers"
13907 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13908 /* end confdefs.h. */
13909 int main(int argc, char **argv) { return 0; }
13911 if ac_fn_c_try_link
"$LINENO"; then :
13912 ac_cv_cflags__Wignored_qualifiers
=yes
13914 ac_cv_cflags__Wignored_qualifiers
=no
13916 rm -f core conftest.err conftest.
$ac_objext \
13917 conftest
$ac_exeext conftest.
$ac_ext
13918 CFLAGS
=$ac_wine_try_cflags_saved
13920 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wignored_qualifiers" >&5
13921 $as_echo "$ac_cv_cflags__Wignored_qualifiers" >&6; }
13922 if test "x$ac_cv_cflags__Wignored_qualifiers" = xyes
; then :
13923 EXTRACFLAGS
="$EXTRACFLAGS -Wignored-qualifiers"
13925 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wstrict-prototypes" >&5
13926 $as_echo_n "checking whether the compiler supports -Wstrict-prototypes... " >&6; }
13927 if ${ac_cv_cflags__Wstrict_prototypes+:} false
; then :
13928 $as_echo_n "(cached) " >&6
13930 ac_wine_try_cflags_saved
=$CFLAGS
13931 CFLAGS
="$CFLAGS -Wstrict-prototypes"
13932 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13933 /* end confdefs.h. */
13934 int main(int argc, char **argv) { return 0; }
13936 if ac_fn_c_try_link
"$LINENO"; then :
13937 ac_cv_cflags__Wstrict_prototypes
=yes
13939 ac_cv_cflags__Wstrict_prototypes
=no
13941 rm -f core conftest.err conftest.
$ac_objext \
13942 conftest
$ac_exeext conftest.
$ac_ext
13943 CFLAGS
=$ac_wine_try_cflags_saved
13945 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wstrict_prototypes" >&5
13946 $as_echo "$ac_cv_cflags__Wstrict_prototypes" >&6; }
13947 if test "x$ac_cv_cflags__Wstrict_prototypes" = xyes
; then :
13948 EXTRACFLAGS
="$EXTRACFLAGS -Wstrict-prototypes"
13950 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wtype-limits" >&5
13951 $as_echo_n "checking whether the compiler supports -Wtype-limits... " >&6; }
13952 if ${ac_cv_cflags__Wtype_limits+:} false
; then :
13953 $as_echo_n "(cached) " >&6
13955 ac_wine_try_cflags_saved
=$CFLAGS
13956 CFLAGS
="$CFLAGS -Wtype-limits"
13957 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13958 /* end confdefs.h. */
13959 int main(int argc, char **argv) { return 0; }
13961 if ac_fn_c_try_link
"$LINENO"; then :
13962 ac_cv_cflags__Wtype_limits
=yes
13964 ac_cv_cflags__Wtype_limits
=no
13966 rm -f core conftest.err conftest.
$ac_objext \
13967 conftest
$ac_exeext conftest.
$ac_ext
13968 CFLAGS
=$ac_wine_try_cflags_saved
13970 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wtype_limits" >&5
13971 $as_echo "$ac_cv_cflags__Wtype_limits" >&6; }
13972 if test "x$ac_cv_cflags__Wtype_limits" = xyes
; then :
13973 EXTRACFLAGS
="$EXTRACFLAGS -Wtype-limits"
13975 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wunused-but-set-parameter" >&5
13976 $as_echo_n "checking whether the compiler supports -Wunused-but-set-parameter... " >&6; }
13977 if ${ac_cv_cflags__Wunused_but_set_parameter+:} false
; then :
13978 $as_echo_n "(cached) " >&6
13980 ac_wine_try_cflags_saved
=$CFLAGS
13981 CFLAGS
="$CFLAGS -Wunused-but-set-parameter"
13982 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13983 /* end confdefs.h. */
13984 int main(int argc, char **argv) { return 0; }
13986 if ac_fn_c_try_link
"$LINENO"; then :
13987 ac_cv_cflags__Wunused_but_set_parameter
=yes
13989 ac_cv_cflags__Wunused_but_set_parameter
=no
13991 rm -f core conftest.err conftest.
$ac_objext \
13992 conftest
$ac_exeext conftest.
$ac_ext
13993 CFLAGS
=$ac_wine_try_cflags_saved
13995 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wunused_but_set_parameter" >&5
13996 $as_echo "$ac_cv_cflags__Wunused_but_set_parameter" >&6; }
13997 if test "x$ac_cv_cflags__Wunused_but_set_parameter" = xyes
; then :
13998 EXTRACFLAGS
="$EXTRACFLAGS -Wunused-but-set-parameter"
14000 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wvla" >&5
14001 $as_echo_n "checking whether the compiler supports -Wvla... " >&6; }
14002 if ${ac_cv_cflags__Wvla+:} false
; then :
14003 $as_echo_n "(cached) " >&6
14005 ac_wine_try_cflags_saved
=$CFLAGS
14006 CFLAGS
="$CFLAGS -Wvla"
14007 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14008 /* end confdefs.h. */
14009 int main(int argc, char **argv) { return 0; }
14011 if ac_fn_c_try_link
"$LINENO"; then :
14012 ac_cv_cflags__Wvla
=yes
14014 ac_cv_cflags__Wvla
=no
14016 rm -f core conftest.err conftest.
$ac_objext \
14017 conftest
$ac_exeext conftest.
$ac_ext
14018 CFLAGS
=$ac_wine_try_cflags_saved
14020 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wvla" >&5
14021 $as_echo "$ac_cv_cflags__Wvla" >&6; }
14022 if test "x$ac_cv_cflags__Wvla" = xyes
; then :
14023 EXTRACFLAGS
="$EXTRACFLAGS -Wvla"
14025 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wwrite-strings" >&5
14026 $as_echo_n "checking whether the compiler supports -Wwrite-strings... " >&6; }
14027 if ${ac_cv_cflags__Wwrite_strings+:} false
; then :
14028 $as_echo_n "(cached) " >&6
14030 ac_wine_try_cflags_saved
=$CFLAGS
14031 CFLAGS
="$CFLAGS -Wwrite-strings"
14032 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14033 /* end confdefs.h. */
14034 int main(int argc, char **argv) { return 0; }
14036 if ac_fn_c_try_link
"$LINENO"; then :
14037 ac_cv_cflags__Wwrite_strings
=yes
14039 ac_cv_cflags__Wwrite_strings
=no
14041 rm -f core conftest.err conftest.
$ac_objext \
14042 conftest
$ac_exeext conftest.
$ac_ext
14043 CFLAGS
=$ac_wine_try_cflags_saved
14045 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wwrite_strings" >&5
14046 $as_echo "$ac_cv_cflags__Wwrite_strings" >&6; }
14047 if test "x$ac_cv_cflags__Wwrite_strings" = xyes
; then :
14048 EXTRACFLAGS
="$EXTRACFLAGS -Wwrite-strings"
14051 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wpointer-arith" >&5
14052 $as_echo_n "checking whether the compiler supports -Wpointer-arith... " >&6; }
14053 if ${ac_cv_cflags__Wpointer_arith+:} false
; then :
14054 $as_echo_n "(cached) " >&6
14056 ac_wine_try_cflags_saved
=$CFLAGS
14057 CFLAGS
="$CFLAGS -Wpointer-arith"
14058 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14059 /* end confdefs.h. */
14060 int main(int argc, char **argv) { return 0; }
14062 if ac_fn_c_try_link
"$LINENO"; then :
14063 ac_cv_cflags__Wpointer_arith
=yes
14065 ac_cv_cflags__Wpointer_arith
=no
14067 rm -f core conftest.err conftest.
$ac_objext \
14068 conftest
$ac_exeext conftest.
$ac_ext
14069 CFLAGS
=$ac_wine_try_cflags_saved
14071 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wpointer_arith" >&5
14072 $as_echo "$ac_cv_cflags__Wpointer_arith" >&6; }
14073 if test "x$ac_cv_cflags__Wpointer_arith" = xyes
; then :
14074 saved_string_h_CFLAGS
=$CFLAGS
14075 CFLAGS
="$CFLAGS -Wpointer-arith -Werror"
14076 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for broken string.h that generates warnings with -Wpointer-arith" >&5
14077 $as_echo_n "checking for broken string.h that generates warnings with -Wpointer-arith... " >&6; }
14078 if ${ac_cv_c_string_h_warnings+:} false
; then :
14079 $as_echo_n "(cached) " >&6
14081 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14082 /* end confdefs.h. */
14083 #include <string.h>
14092 if ac_fn_c_try_compile
"$LINENO"; then :
14093 ac_cv_c_string_h_warnings
=no
14095 ac_cv_c_string_h_warnings
=yes
14097 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
14099 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_string_h_warnings" >&5
14100 $as_echo "$ac_cv_c_string_h_warnings" >&6; }
14101 test "$ac_cv_c_string_h_warnings" = yes || EXTRACFLAGS
="$EXTRACFLAGS -Wpointer-arith"
14102 CFLAGS
=$saved_string_h_CFLAGS
14105 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wlogical-op" >&5
14106 $as_echo_n "checking whether the compiler supports -Wlogical-op... " >&6; }
14107 if ${ac_cv_cflags__Wlogical_op+:} false
; then :
14108 $as_echo_n "(cached) " >&6
14110 ac_wine_try_cflags_saved
=$CFLAGS
14111 CFLAGS
="$CFLAGS -Wlogical-op"
14112 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14113 /* end confdefs.h. */
14114 int main(int argc, char **argv) { return 0; }
14116 if ac_fn_c_try_link
"$LINENO"; then :
14117 ac_cv_cflags__Wlogical_op
=yes
14119 ac_cv_cflags__Wlogical_op
=no
14121 rm -f core conftest.err conftest.
$ac_objext \
14122 conftest
$ac_exeext conftest.
$ac_ext
14123 CFLAGS
=$ac_wine_try_cflags_saved
14125 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wlogical_op" >&5
14126 $as_echo "$ac_cv_cflags__Wlogical_op" >&6; }
14127 if test "x$ac_cv_cflags__Wlogical_op" = xyes
; then :
14128 saved_string_h_CFLAGS
=$CFLAGS
14129 CFLAGS
="$CFLAGS -Wlogical-op -Werror"
14130 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for broken string.h that generates warnings with -Wlogical-op" >&5
14131 $as_echo_n "checking for broken string.h that generates warnings with -Wlogical-op... " >&6; }
14132 if ${ac_cv_c_logicalop_noisy+:} false
; then :
14133 $as_echo_n "(cached) " >&6
14135 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14136 /* end confdefs.h. */
14137 #include <string.h>
14138 char*f(const char *h,char n) {return strchr(h,n);}
14147 if ac_fn_c_try_compile
"$LINENO"; then :
14148 ac_cv_c_logicalop_noisy
=no
14150 ac_cv_c_logicalop_noisy
=yes
14152 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
14154 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_logicalop_noisy" >&5
14155 $as_echo "$ac_cv_c_logicalop_noisy" >&6; }
14156 CFLAGS
=$saved_string_h_CFLAGS
14157 test "$ac_cv_c_logicalop_noisy" = yes || EXTRACFLAGS
="$EXTRACFLAGS -Wlogical-op"
14160 CFLAGS
=$saved_CFLAGS
14162 for ac_flag
in $CFLAGS; do
14164 -g) case $host_os in
14165 darwin
*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -gstabs+" >&5
14166 $as_echo_n "checking whether the compiler supports -gstabs+... " >&6; }
14167 if ${ac_cv_cflags__gstabsp+:} false
; then :
14168 $as_echo_n "(cached) " >&6
14170 ac_wine_try_cflags_saved
=$CFLAGS
14171 CFLAGS
="$CFLAGS -gstabs+"
14172 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14173 /* end confdefs.h. */
14174 int main(int argc, char **argv) { return 0; }
14176 if ac_fn_c_try_link
"$LINENO"; then :
14177 ac_cv_cflags__gstabsp
=yes
14179 ac_cv_cflags__gstabsp
=no
14181 rm -f core conftest.err conftest.
$ac_objext \
14182 conftest
$ac_exeext conftest.
$ac_ext
14183 CFLAGS
=$ac_wine_try_cflags_saved
14185 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__gstabsp" >&5
14186 $as_echo "$ac_cv_cflags__gstabsp" >&6; }
14187 if test "x$ac_cv_cflags__gstabsp" = xyes
; then :
14188 EXTRACFLAGS
="$EXTRACFLAGS -gstabs+"
14190 *) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -gdwarf-2" >&5
14191 $as_echo_n "checking whether the compiler supports -gdwarf-2... " >&6; }
14192 if ${ac_cv_cflags__gdwarf_2+:} false
; then :
14193 $as_echo_n "(cached) " >&6
14195 ac_wine_try_cflags_saved
=$CFLAGS
14196 CFLAGS
="$CFLAGS -gdwarf-2"
14197 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14198 /* end confdefs.h. */
14199 int main(int argc, char **argv) { return 0; }
14201 if ac_fn_c_try_link
"$LINENO"; then :
14202 ac_cv_cflags__gdwarf_2
=yes
14204 ac_cv_cflags__gdwarf_2
=no
14206 rm -f core conftest.err conftest.
$ac_objext \
14207 conftest
$ac_exeext conftest.
$ac_ext
14208 CFLAGS
=$ac_wine_try_cflags_saved
14210 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__gdwarf_2" >&5
14211 $as_echo "$ac_cv_cflags__gdwarf_2" >&6; }
14212 if test "x$ac_cv_cflags__gdwarf_2" = xyes
; then :
14213 EXTRACFLAGS
="$EXTRACFLAGS -gdwarf-2"
14215 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -gstrict-dwarf" >&5
14216 $as_echo_n "checking whether the compiler supports -gstrict-dwarf... " >&6; }
14217 if ${ac_cv_cflags__gstrict_dwarf+:} false
; then :
14218 $as_echo_n "(cached) " >&6
14220 ac_wine_try_cflags_saved
=$CFLAGS
14221 CFLAGS
="$CFLAGS -gstrict-dwarf"
14222 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14223 /* end confdefs.h. */
14224 int main(int argc, char **argv) { return 0; }
14226 if ac_fn_c_try_link
"$LINENO"; then :
14227 ac_cv_cflags__gstrict_dwarf
=yes
14229 ac_cv_cflags__gstrict_dwarf
=no
14231 rm -f core conftest.err conftest.
$ac_objext \
14232 conftest
$ac_exeext conftest.
$ac_ext
14233 CFLAGS
=$ac_wine_try_cflags_saved
14235 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__gstrict_dwarf" >&5
14236 $as_echo "$ac_cv_cflags__gstrict_dwarf" >&6; }
14237 if test "x$ac_cv_cflags__gstrict_dwarf" = xyes
; then :
14238 EXTRACFLAGS
="$EXTRACFLAGS -gstrict-dwarf"
14245 *i
[3456789]86*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fno-omit-frame-pointer" >&5
14246 $as_echo_n "checking whether the compiler supports -fno-omit-frame-pointer... " >&6; }
14247 if ${ac_cv_cflags__fno_omit_frame_pointer+:} false
; then :
14248 $as_echo_n "(cached) " >&6
14250 ac_wine_try_cflags_saved
=$CFLAGS
14251 CFLAGS
="$CFLAGS -fno-omit-frame-pointer"
14252 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14253 /* end confdefs.h. */
14254 int main(int argc, char **argv) { return 0; }
14256 if ac_fn_c_try_link
"$LINENO"; then :
14257 ac_cv_cflags__fno_omit_frame_pointer
=yes
14259 ac_cv_cflags__fno_omit_frame_pointer
=no
14261 rm -f core conftest.err conftest.
$ac_objext \
14262 conftest
$ac_exeext conftest.
$ac_ext
14263 CFLAGS
=$ac_wine_try_cflags_saved
14265 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fno_omit_frame_pointer" >&5
14266 $as_echo "$ac_cv_cflags__fno_omit_frame_pointer" >&6; }
14267 if test "x$ac_cv_cflags__fno_omit_frame_pointer" = xyes
; then :
14268 EXTRACFLAGS
="$EXTRACFLAGS -fno-omit-frame-pointer"
14273 x86_64-
*mingw32
*|x86_64-
*cygwin
*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wno-format" >&5
14274 $as_echo_n "checking whether the compiler supports -Wno-format... " >&6; }
14275 if ${ac_cv_cflags__Wno_format+:} false
; then :
14276 $as_echo_n "(cached) " >&6
14278 ac_wine_try_cflags_saved
=$CFLAGS
14279 CFLAGS
="$CFLAGS -Wno-format"
14280 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14281 /* end confdefs.h. */
14282 int main(int argc, char **argv) { return 0; }
14284 if ac_fn_c_try_link
"$LINENO"; then :
14285 ac_cv_cflags__Wno_format
=yes
14287 ac_cv_cflags__Wno_format
=no
14289 rm -f core conftest.err conftest.
$ac_objext \
14290 conftest
$ac_exeext conftest.
$ac_ext
14291 CFLAGS
=$ac_wine_try_cflags_saved
14293 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wno_format" >&5
14294 $as_echo "$ac_cv_cflags__Wno_format" >&6; }
14295 if test "x$ac_cv_cflags__Wno_format" = xyes
; then :
14296 EXTRACFLAGS
="$EXTRACFLAGS -Wno-format"
14300 if test "x$enable_maintainer_mode" = "xyes"
14302 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Werror" >&5
14303 $as_echo_n "checking whether the compiler supports -Werror... " >&6; }
14304 if ${ac_cv_cflags__Werror+:} false
; then :
14305 $as_echo_n "(cached) " >&6
14307 ac_wine_try_cflags_saved
=$CFLAGS
14308 CFLAGS
="$CFLAGS -Werror"
14309 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14310 /* end confdefs.h. */
14311 int main(int argc, char **argv) { return 0; }
14313 if ac_fn_c_try_link
"$LINENO"; then :
14314 ac_cv_cflags__Werror
=yes
14316 ac_cv_cflags__Werror
=no
14318 rm -f core conftest.err conftest.
$ac_objext \
14319 conftest
$ac_exeext conftest.
$ac_ext
14320 CFLAGS
=$ac_wine_try_cflags_saved
14322 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Werror" >&5
14323 $as_echo "$ac_cv_cflags__Werror" >&6; }
14324 if test "x$ac_cv_cflags__Werror" = xyes
; then :
14325 EXTRACFLAGS
="$EXTRACFLAGS -Werror"
14329 saved_CFLAGS
="$CFLAGS"
14330 CFLAGS
="$CFLAGS -Werror"
14331 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ms_hook_prologue attribute" >&5
14332 $as_echo_n "checking for ms_hook_prologue attribute... " >&6; }
14333 if ${ac_cv_have_ms_hook_prologue+:} false
; then :
14334 $as_echo_n "(cached) " >&6
14336 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14337 /* end confdefs.h. */
14338 int __attribute__((__ms_hook_prologue__)) test(void) { return 0; }
14347 if ac_fn_c_try_compile
"$LINENO"; then :
14348 ac_cv_have_ms_hook_prologue
="yes"
14350 ac_cv_have_ms_hook_prologue
="no"
14352 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
14354 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_ms_hook_prologue" >&5
14355 $as_echo "$ac_cv_have_ms_hook_prologue" >&6; }
14356 CFLAGS
="$saved_CFLAGS"
14357 if test "$ac_cv_have_ms_hook_prologue" = "yes"
14360 $as_echo "#define DECLSPEC_HOTPATCH __attribute__((__ms_hook_prologue__))" >>confdefs.h
14363 $as_echo "#define DECLSPEC_HOTPATCH /* */" >>confdefs.h
14369 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for the need to disable Fortify" >&5
14370 $as_echo_n "checking for the need to disable Fortify... " >&6; }
14371 if ${ac_cv_c_fortify_enabled+:} false
; then :
14372 $as_echo_n "(cached) " >&6
14374 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14375 /* end confdefs.h. */
14376 #include <string.h>
14380 #if defined(__USE_FORTIFY_LEVEL) && __USE_FORTIFY_LEVEL > 0
14381 #error Fortify enabled
14387 if ac_fn_c_try_compile
"$LINENO"; then :
14388 ac_cv_c_fortify_enabled
=no
14390 ac_cv_c_fortify_enabled
=yes
14392 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
14394 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_fortify_enabled" >&5
14395 $as_echo "$ac_cv_c_fortify_enabled" >&6; }
14396 if test "$ac_cv_c_fortify_enabled" = yes
14398 CFLAGS
="$CFLAGS -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=0"
14402 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether external symbols need an underscore prefix" >&5
14403 $as_echo_n "checking whether external symbols need an underscore prefix... " >&6; }
14404 if ${ac_cv_c_extern_prefix+:} false
; then :
14405 $as_echo_n "(cached) " >&6
14407 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14408 /* end confdefs.h. */
14409 extern int ac_test;
14413 asm(".globl _ac_test\n_ac_test:\t.long 0"); if (ac_test) return 1
14418 if ac_fn_c_try_link
"$LINENO"; then :
14419 ac_cv_c_extern_prefix
="yes"
14421 ac_cv_c_extern_prefix
="no"
14423 rm -f core conftest.err conftest.
$ac_objext \
14424 conftest
$ac_exeext conftest.
$ac_ext
14426 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_extern_prefix" >&5
14427 $as_echo "$ac_cv_c_extern_prefix" >&6; }
14431 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether external symbols need stdcall decoration" >&5
14432 $as_echo_n "checking whether external symbols need stdcall decoration... " >&6; }
14433 if ${ac_cv_c_stdcall_suffix+:} false
; then :
14434 $as_echo_n "(cached) " >&6
14436 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14437 /* end confdefs.h. */
14439 #define __stdcall __attribute__((__stdcall__))
14441 int __stdcall ac_test(int i) { return i; }
14445 asm("jmp _ac_test@4"); if (ac_test(1)) return 1
14450 if ac_fn_c_try_link
"$LINENO"; then :
14451 ac_cv_c_stdcall_suffix
="yes"
14453 ac_cv_c_stdcall_suffix
="no"
14455 rm -f core conftest.err conftest.
$ac_objext \
14456 conftest
$ac_exeext conftest.
$ac_ext
14458 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_stdcall_suffix" >&5
14459 $as_echo "$ac_cv_c_stdcall_suffix" >&6; } ;;
14460 *) ac_cv_c_stdcall_suffix
="no" ;;
14464 if test "$ac_cv_c_extern_prefix" = "yes"
14466 $as_echo "#define __ASM_NAME(name) \"_\" name" >>confdefs.h
14468 asm_name_prefix
="_"
14470 $as_echo "#define __ASM_NAME(name) name" >>confdefs.h
14476 if test "$ac_cv_c_stdcall_suffix" = "yes"
14478 $as_echo "#define __ASM_STDCALL(args) \"@\" #args" >>confdefs.h
14481 $as_echo "#define __ASM_STDCALL(args) \"\"" >>confdefs.h
14486 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to define a function in assembly code" >&5
14487 $as_echo_n "checking how to define a function in assembly code... " >&6; }
14488 if ${ac_cv_asm_func_def+:} false
; then :
14489 $as_echo_n "(cached) " >&6
14491 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14492 /* end confdefs.h. */
14497 asm("\t.globl _ac_test\n\t.def _ac_test; .scl 2; .type 32; .endef\n_ac_test:\t.long 0");
14502 if ac_fn_c_try_link
"$LINENO"; then :
14503 ac_cv_asm_func_def
=".def"
14505 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14506 /* end confdefs.h. */
14511 asm("\t.globl _ac_test\n\t.type _ac_test,@function\n_ac_test:\t.long 0");
14516 if ac_fn_c_try_link
"$LINENO"; then :
14517 ac_cv_asm_func_def
=".type @function"
14519 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14520 /* end confdefs.h. */
14525 asm("\t.globl _ac_test\n\t.type _ac_test,2\n_ac_test:\t.long 0");
14530 if ac_fn_c_try_link
"$LINENO"; then :
14531 ac_cv_asm_func_def
=".type 2"
14533 ac_cv_asm_func_def
="unknown"
14535 rm -f core conftest.err conftest.
$ac_objext \
14536 conftest
$ac_exeext conftest.
$ac_ext
14538 rm -f core conftest.err conftest.
$ac_objext \
14539 conftest
$ac_exeext conftest.
$ac_ext
14541 rm -f core conftest.err conftest.
$ac_objext \
14542 conftest
$ac_exeext conftest.
$ac_ext
14544 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_asm_func_def" >&5
14545 $as_echo "$ac_cv_asm_func_def" >&6; }
14548 case "$ac_cv_asm_func_def" in
14550 $as_echo "#define __ASM_FUNC(name) \".def \" __ASM_NAME(name) \"; .scl 2; .type 32; .endef\"" >>confdefs.h
14552 asm_func_header
=".def $asm_name_prefix\" #name suffix \"; .scl 2; .type 32; .endef" ;;
14554 $as_echo "#define __ASM_FUNC(name) \".type \" __ASM_NAME(name) \",@function\"" >>confdefs.h
14556 asm_func_header
=".type $asm_name_prefix\" #name suffix \",@function" ;;
14558 $as_echo "#define __ASM_FUNC(name) \".type \" __ASM_NAME(name) \",2\"" >>confdefs.h
14560 asm_func_header
=".type $asm_name_prefix\" #name suffix \",2" ;;
14562 $as_echo "#define __ASM_FUNC(name) \"\"" >>confdefs.h
14564 asm_func_header
="" ;;
14567 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether asm() works outside of functions" >&5
14568 $as_echo_n "checking whether asm() works outside of functions... " >&6; }
14569 if ${ac_cv_c_asm_outside_funcs+:} false
; then :
14570 $as_echo_n "(cached) " >&6
14572 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14573 /* end confdefs.h. */
14574 asm(".text\n\t.long 0");
14583 if ac_fn_c_try_compile
"$LINENO"; then :
14584 ac_cv_c_asm_outside_funcs
="yes"
14586 ac_cv_c_asm_outside_funcs
="no"
14588 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
14590 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_asm_outside_funcs" >&5
14591 $as_echo "$ac_cv_c_asm_outside_funcs" >&6; }
14593 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether .previous is supported in assembly code" >&5
14594 $as_echo_n "checking whether .previous is supported in assembly code... " >&6; }
14595 if ${ac_cv_c_dot_previous+:} false
; then :
14596 $as_echo_n "(cached) " >&6
14598 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14599 /* end confdefs.h. */
14604 asm(".text\nac_test:\t.long 0\n\t.previous");
14609 if ac_fn_c_try_link
"$LINENO"; then :
14610 ac_cv_c_dot_previous
="yes"
14612 ac_cv_c_dot_previous
="no"
14614 rm -f core conftest.err conftest.
$ac_objext \
14615 conftest
$ac_exeext conftest.
$ac_ext
14617 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_dot_previous" >&5
14618 $as_echo "$ac_cv_c_dot_previous" >&6; }
14620 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether CFI directives are supported in assembly code" >&5
14621 $as_echo_n "checking whether CFI directives are supported in assembly code... " >&6; }
14622 if ${ac_cv_c_cfi_support+:} false
; then :
14623 $as_echo_n "(cached) " >&6
14625 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14626 /* end confdefs.h. */
14627 asm(".text\nac_test:\t.cfi_startproc\n\t.long 0\n\t.cfi_endproc");
14636 if ac_fn_c_try_compile
"$LINENO"; then :
14637 ac_cv_c_cfi_support
="yes"
14639 ac_cv_c_cfi_support
="no"
14641 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
14643 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_cfi_support" >&5
14644 $as_echo "$ac_cv_c_cfi_support" >&6; }
14646 asm_func_header
=".globl $asm_name_prefix\" #name suffix \"\\n\\t$asm_func_header\\n$asm_name_prefix\" #name suffix \":\\n\\t"
14647 asm_func_trailer
=""
14648 if test "$ac_cv_c_dot_previous" = "yes"
14650 asm_func_trailer
="\\n\\t.previous"
14652 if test "$ac_cv_c_cfi_support" = "yes"
14654 asm_func_header
="$asm_func_header.cfi_startproc\\n\\t"
14655 asm_func_trailer
="\\n\\t.cfi_endproc$asm_func_trailer"
14657 $as_echo "#define __ASM_CFI(str) str" >>confdefs.h
14659 UNWINDFLAGS
=-fasynchronous-unwind-tables
14662 $as_echo "#define __ASM_CFI(str) \"\"" >>confdefs.h
14664 if test "x$enable_win64" = "xyes"
14666 as_fn_append wine_warnings
"|building 64-bit Wine without support for CFI directives; exception handling will not work properly."
14670 asm_func_code
="$asm_func_header\" code \"$asm_func_trailer"
14673 if test "$ac_cv_c_asm_outside_funcs" = "yes"
14675 cat >>confdefs.h
<<_ACEOF
14676 #define __ASM_DEFINE_FUNC(name,suffix,code) asm(".text\n\t.align 4\n\t$asm_func_code");
14680 cat >>confdefs.h
<<_ACEOF
14681 #define __ASM_DEFINE_FUNC(name,suffix,code) void __asm_dummy_##name(void) { asm(".text\n\t.align 4\n\t$asm_func_code"); }
14686 $as_echo "#define __ASM_GLOBAL_FUNC(name,code) __ASM_DEFINE_FUNC(name,\"\",code)" >>confdefs.h
14689 $as_echo "#define __ASM_STDCALL_FUNC(name,args,code) __ASM_DEFINE_FUNC(name,__ASM_STDCALL(args),code)" >>confdefs.h
14694 cygwin
*|mingw32
*) TOOLSEXT
=".exe"
14701 *i
[3456789]86*|x86_64
*)
14702 test "$wine_binary" = wine || wine_fn_ignore_file
"loader/wine-preloader"
14703 loader_programs
="$loader_programs $wine_binary-preloader"
14704 as_fn_append LOADER_RULES
"
14705 $wine_binary-preloader: preloader.o
14706 \$(CC) -o \$@ -static -nostartfiles -nodefaultlibs -Wl,-Ttext=0x7c400000 preloader.o \$(LIBPORT) \$(LDFLAGS)
14708 install install-lib:: $wine_binary-preloader
14709 \$(INSTALL_PROGRAM) $wine_binary-preloader \$(DESTDIR)\$(bindir)/$wine_binary-preloader
14712 \$(RM) \$(DESTDIR)\$(bindir)/$wine_binary-preloader
14714 preloader_EXTRADEFS = $BUILTINFLAG
14719 as_fn_append LOADER_RULES
"
14720 PROGRAMS = $loader_programs
14724 ac_save_CFLAGS
="$CFLAGS"
14725 CFLAGS
="$CFLAGS $BUILTINFLAG"
14804 as_ac_var
=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
14805 ac_fn_c_check_func
"$LINENO" "$ac_func" "$as_ac_var"
14806 if eval test \"x\$
"$as_ac_var"\" = x
"yes"; then :
14807 cat >>confdefs.h
<<_ACEOF
14808 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
14814 CFLAGS
="$ac_save_CFLAGS"
14816 if test "$ac_cv_func_dlopen" = no
14818 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
14819 $as_echo_n "checking for dlopen in -ldl... " >&6; }
14820 if ${ac_cv_lib_dl_dlopen+:} false
; then :
14821 $as_echo_n "(cached) " >&6
14823 ac_check_lib_save_LIBS
=$LIBS
14825 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14826 /* end confdefs.h. */
14828 /* Override any GCC internal prototype to avoid an error.
14829 Use char because int might match the return type of a GCC
14830 builtin and then its argument prototype would still apply. */
14843 if ac_fn_c_try_link
"$LINENO"; then :
14844 ac_cv_lib_dl_dlopen
=yes
14846 ac_cv_lib_dl_dlopen
=no
14848 rm -f core conftest.err conftest.
$ac_objext \
14849 conftest
$ac_exeext conftest.
$ac_ext
14850 LIBS
=$ac_check_lib_save_LIBS
14852 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
14853 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
14854 if test "x$ac_cv_lib_dl_dlopen" = xyes
; then :
14855 $as_echo "#define HAVE_DLOPEN 1" >>confdefs.h
14861 ac_wine_check_funcs_save_LIBS
="$LIBS"
14862 LIBS
="$LIBS $DL_LIBS"
14863 for ac_func
in dladdr
14865 ac_fn_c_check_func
"$LINENO" "dladdr" "ac_cv_func_dladdr"
14866 if test "x$ac_cv_func_dladdr" = xyes
; then :
14867 cat >>confdefs.h
<<_ACEOF
14868 #define HAVE_DLADDR 1
14874 LIBS
="$ac_wine_check_funcs_save_LIBS"
14876 if test "$ac_cv_func_poll" = no
14878 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for poll in -lpoll" >&5
14879 $as_echo_n "checking for poll in -lpoll... " >&6; }
14880 if ${ac_cv_lib_poll_poll+:} false
; then :
14881 $as_echo_n "(cached) " >&6
14883 ac_check_lib_save_LIBS
=$LIBS
14884 LIBS
="-lpoll $LIBS"
14885 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14886 /* end confdefs.h. */
14888 /* Override any GCC internal prototype to avoid an error.
14889 Use char because int might match the return type of a GCC
14890 builtin and then its argument prototype would still apply. */
14903 if ac_fn_c_try_link
"$LINENO"; then :
14904 ac_cv_lib_poll_poll
=yes
14906 ac_cv_lib_poll_poll
=no
14908 rm -f core conftest.err conftest.
$ac_objext \
14909 conftest
$ac_exeext conftest.
$ac_ext
14910 LIBS
=$ac_check_lib_save_LIBS
14912 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_poll_poll" >&5
14913 $as_echo "$ac_cv_lib_poll_poll" >&6; }
14914 if test "x$ac_cv_lib_poll_poll" = xyes
; then :
14915 $as_echo "#define HAVE_POLL 1" >>confdefs.h
14922 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing gethostbyname" >&5
14923 $as_echo_n "checking for library containing gethostbyname... " >&6; }
14924 if ${ac_cv_search_gethostbyname+:} false
; then :
14925 $as_echo_n "(cached) " >&6
14927 ac_func_search_save_LIBS
=$LIBS
14928 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14929 /* end confdefs.h. */
14931 /* Override any GCC internal prototype to avoid an error.
14932 Use char because int might match the return type of a GCC
14933 builtin and then its argument prototype would still apply. */
14937 char gethostbyname ();
14941 return gethostbyname ();
14946 for ac_lib
in '' nsl
; do
14947 if test -z "$ac_lib"; then
14948 ac_res
="none required"
14951 LIBS
="-l$ac_lib $ac_func_search_save_LIBS"
14953 if ac_fn_c_try_link
"$LINENO"; then :
14954 ac_cv_search_gethostbyname
=$ac_res
14956 rm -f core conftest.err conftest.
$ac_objext \
14958 if ${ac_cv_search_gethostbyname+:} false
; then :
14962 if ${ac_cv_search_gethostbyname+:} false
; then :
14965 ac_cv_search_gethostbyname
=no
14967 rm conftest.
$ac_ext
14968 LIBS
=$ac_func_search_save_LIBS
14970 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_gethostbyname" >&5
14971 $as_echo "$ac_cv_search_gethostbyname" >&6; }
14972 ac_res
=$ac_cv_search_gethostbyname
14973 if test "$ac_res" != no
; then :
14974 test "$ac_res" = "none required" || LIBS
="$ac_res $LIBS"
14979 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing connect" >&5
14980 $as_echo_n "checking for library containing connect... " >&6; }
14981 if ${ac_cv_search_connect+:} false
; then :
14982 $as_echo_n "(cached) " >&6
14984 ac_func_search_save_LIBS
=$LIBS
14985 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14986 /* end confdefs.h. */
14988 /* Override any GCC internal prototype to avoid an error.
14989 Use char because int might match the return type of a GCC
14990 builtin and then its argument prototype would still apply. */
15003 for ac_lib
in '' socket
; do
15004 if test -z "$ac_lib"; then
15005 ac_res
="none required"
15008 LIBS
="-l$ac_lib $ac_func_search_save_LIBS"
15010 if ac_fn_c_try_link
"$LINENO"; then :
15011 ac_cv_search_connect
=$ac_res
15013 rm -f core conftest.err conftest.
$ac_objext \
15015 if ${ac_cv_search_connect+:} false
; then :
15019 if ${ac_cv_search_connect+:} false
; then :
15022 ac_cv_search_connect
=no
15024 rm conftest.
$ac_ext
15025 LIBS
=$ac_func_search_save_LIBS
15027 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_connect" >&5
15028 $as_echo "$ac_cv_search_connect" >&6; }
15029 ac_res
=$ac_cv_search_connect
15030 if test "$ac_res" != no
; then :
15031 test "$ac_res" = "none required" || LIBS
="$ac_res $LIBS"
15036 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing inet_aton" >&5
15037 $as_echo_n "checking for library containing inet_aton... " >&6; }
15038 if ${ac_cv_search_inet_aton+:} false
; then :
15039 $as_echo_n "(cached) " >&6
15041 ac_func_search_save_LIBS
=$LIBS
15042 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15043 /* end confdefs.h. */
15045 /* Override any GCC internal prototype to avoid an error.
15046 Use char because int might match the return type of a GCC
15047 builtin and then its argument prototype would still apply. */
15055 return inet_aton ();
15060 for ac_lib
in '' resolv
; do
15061 if test -z "$ac_lib"; then
15062 ac_res
="none required"
15065 LIBS
="-l$ac_lib $ac_func_search_save_LIBS"
15067 if ac_fn_c_try_link
"$LINENO"; then :
15068 ac_cv_search_inet_aton
=$ac_res
15070 rm -f core conftest.err conftest.
$ac_objext \
15072 if ${ac_cv_search_inet_aton+:} false
; then :
15076 if ${ac_cv_search_inet_aton+:} false
; then :
15079 ac_cv_search_inet_aton
=no
15081 rm conftest.
$ac_ext
15082 LIBS
=$ac_func_search_save_LIBS
15084 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_inet_aton" >&5
15085 $as_echo "$ac_cv_search_inet_aton" >&6; }
15086 ac_res
=$ac_cv_search_inet_aton
15087 if test "$ac_res" != no
; then :
15088 test "$ac_res" = "none required" || LIBS
="$ac_res $LIBS"
15108 as_ac_var
=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
15109 ac_fn_c_check_func
"$LINENO" "$ac_func" "$as_ac_var"
15110 if eval test \"x\$
"$as_ac_var"\" = x
"yes"; then :
15111 cat >>confdefs.h
<<_ACEOF
15112 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
15120 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing clock_gettime" >&5
15121 $as_echo_n "checking for library containing clock_gettime... " >&6; }
15122 if ${ac_cv_search_clock_gettime+:} false
; then :
15123 $as_echo_n "(cached) " >&6
15125 ac_func_search_save_LIBS
=$LIBS
15126 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15127 /* end confdefs.h. */
15129 /* Override any GCC internal prototype to avoid an error.
15130 Use char because int might match the return type of a GCC
15131 builtin and then its argument prototype would still apply. */
15135 char clock_gettime ();
15139 return clock_gettime ();
15144 for ac_lib
in '' rt
; do
15145 if test -z "$ac_lib"; then
15146 ac_res
="none required"
15149 LIBS
="-l$ac_lib $ac_func_search_save_LIBS"
15151 if ac_fn_c_try_link
"$LINENO"; then :
15152 ac_cv_search_clock_gettime
=$ac_res
15154 rm -f core conftest.err conftest.
$ac_objext \
15156 if ${ac_cv_search_clock_gettime+:} false
; then :
15160 if ${ac_cv_search_clock_gettime+:} false
; then :
15163 ac_cv_search_clock_gettime
=no
15165 rm conftest.
$ac_ext
15166 LIBS
=$ac_func_search_save_LIBS
15168 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_clock_gettime" >&5
15169 $as_echo "$ac_cv_search_clock_gettime" >&6; }
15170 ac_res
=$ac_cv_search_clock_gettime
15171 if test "$ac_res" != no
; then :
15172 test "$ac_res" = "none required" || LIBS
="$ac_res $LIBS"
15174 $as_echo "#define HAVE_CLOCK_GETTIME 1" >>confdefs.h
15176 test "$ac_res" = "none required" || RT_LIBS
="$ac_res"
15184 if test "$ac_cv_header_ldap_h" = "yes" -a "$ac_cv_header_lber_h" = "yes"
15186 ac_fn_c_check_type
"$LINENO" "LDAPSortKey" "ac_cv_type_LDAPSortKey" "#include <ldap.h>
15188 if test "x$ac_cv_type_LDAPSortKey" = xyes
; then :
15189 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldap_initialize in -lldap_r" >&5
15190 $as_echo_n "checking for ldap_initialize in -lldap_r... " >&6; }
15191 if ${ac_cv_lib_ldap_r_ldap_initialize+:} false
; then :
15192 $as_echo_n "(cached) " >&6
15194 ac_check_lib_save_LIBS
=$LIBS
15195 LIBS
="-lldap_r $PTHREAD_LIBS $LIBS"
15196 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15197 /* end confdefs.h. */
15199 /* Override any GCC internal prototype to avoid an error.
15200 Use char because int might match the return type of a GCC
15201 builtin and then its argument prototype would still apply. */
15205 char ldap_initialize ();
15209 return ldap_initialize ();
15214 if ac_fn_c_try_link
"$LINENO"; then :
15215 ac_cv_lib_ldap_r_ldap_initialize
=yes
15217 ac_cv_lib_ldap_r_ldap_initialize
=no
15219 rm -f core conftest.err conftest.
$ac_objext \
15220 conftest
$ac_exeext conftest.
$ac_ext
15221 LIBS
=$ac_check_lib_save_LIBS
15223 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ldap_r_ldap_initialize" >&5
15224 $as_echo "$ac_cv_lib_ldap_r_ldap_initialize" >&6; }
15225 if test "x$ac_cv_lib_ldap_r_ldap_initialize" = xyes
; then :
15226 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ber_init in -llber" >&5
15227 $as_echo_n "checking for ber_init in -llber... " >&6; }
15228 if ${ac_cv_lib_lber_ber_init+:} false
; then :
15229 $as_echo_n "(cached) " >&6
15231 ac_check_lib_save_LIBS
=$LIBS
15232 LIBS
="-llber $PTHREAD_LIBS $LIBS"
15233 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15234 /* end confdefs.h. */
15236 /* Override any GCC internal prototype to avoid an error.
15237 Use char because int might match the return type of a GCC
15238 builtin and then its argument prototype would still apply. */
15246 return ber_init ();
15251 if ac_fn_c_try_link
"$LINENO"; then :
15252 ac_cv_lib_lber_ber_init
=yes
15254 ac_cv_lib_lber_ber_init
=no
15256 rm -f core conftest.err conftest.
$ac_objext \
15257 conftest
$ac_exeext conftest.
$ac_ext
15258 LIBS
=$ac_check_lib_save_LIBS
15260 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_lber_ber_init" >&5
15261 $as_echo "$ac_cv_lib_lber_ber_init" >&6; }
15262 if test "x$ac_cv_lib_lber_ber_init" = xyes
; then :
15264 $as_echo "#define HAVE_LDAP 1" >>confdefs.h
15266 LDAP_LIBS
="-lldap_r -llber"
15273 ac_wine_check_funcs_save_LIBS
="$LIBS"
15274 LIBS
="$LIBS $LDAP_LIBS $PTHREAD_LIBS"
15276 ldap_count_references \
15277 ldap_first_reference \
15278 ldap_next_reference \
15279 ldap_parse_reference \
15280 ldap_parse_sort_control \
15281 ldap_parse_sortresponse_control \
15282 ldap_parse_vlv_control \
15283 ldap_parse_vlvresponse_control
15285 as_ac_var
=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
15286 ac_fn_c_check_func
"$LINENO" "$ac_func" "$as_ac_var"
15287 if eval test \"x\$
"$as_ac_var"\" = x
"yes"; then :
15288 cat >>confdefs.h
<<_ACEOF
15289 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
15295 LIBS
="$ac_wine_check_funcs_save_LIBS"
15297 if test "x$LDAP_LIBS" = "x"; then :
15298 case "x$with_ldap" in
15299 x
) as_fn_append wine_notices
"|libldap (OpenLDAP) ${notice_platform}development files not found, LDAP won't be supported." ;;
15301 *) as_fn_error $?
"libldap (OpenLDAP) ${notice_platform}development files not found, LDAP won't be supported.
15302 This is an error since --with-ldap was requested." "$LINENO" 5 ;;
15306 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether mkdir takes only one argument" >&5
15307 $as_echo_n "checking whether mkdir takes only one argument... " >&6; }
15308 if ${wine_cv_one_arg_mkdir+:} false
; then :
15309 $as_echo_n "(cached) " >&6
15311 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15312 /* end confdefs.h. */
15313 #include <sys/stat.h>
15322 if ac_fn_c_try_compile
"$LINENO"; then :
15323 wine_cv_one_arg_mkdir
=yes
15325 wine_cv_one_arg_mkdir
=no
15327 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
15329 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_one_arg_mkdir" >&5
15330 $as_echo "$wine_cv_one_arg_mkdir" >&6; }
15331 if test "$wine_cv_one_arg_mkdir" = "yes"
15334 $as_echo "#define HAVE_ONE_ARG_MKDIR 1" >>confdefs.h
15338 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sched_setaffinity" >&5
15339 $as_echo_n "checking for sched_setaffinity... " >&6; }
15340 if ${wine_cv_have_sched_setaffinity+:} false
; then :
15341 $as_echo_n "(cached) " >&6
15343 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15344 /* end confdefs.h. */
15345 #define _GNU_SOURCE
15350 sched_setaffinity(0, 0, 0);
15355 if ac_fn_c_try_link
"$LINENO"; then :
15356 wine_cv_have_sched_setaffinity
=yes
15358 wine_cv_have_sched_setaffinity
=no
15360 rm -f core conftest.err conftest.
$ac_objext \
15361 conftest
$ac_exeext conftest.
$ac_ext
15363 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_have_sched_setaffinity" >&5
15364 $as_echo "$wine_cv_have_sched_setaffinity" >&6; }
15365 if test "$wine_cv_have_sched_setaffinity" = "yes"
15368 $as_echo "#define HAVE_SCHED_SETAFFINITY 1" >>confdefs.h
15372 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fallocate" >&5
15373 $as_echo_n "checking for fallocate... " >&6; }
15374 if ${wine_cv_have_fallocate+:} false
; then :
15375 $as_echo_n "(cached) " >&6
15377 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15378 /* end confdefs.h. */
15379 #define _GNU_SOURCE
15384 fallocate(-1, 0, 0, 0);
15389 if ac_fn_c_try_link
"$LINENO"; then :
15390 wine_cv_have_fallocate
=yes
15392 wine_cv_have_fallocate
=no
15394 rm -f core conftest.err conftest.
$ac_objext \
15395 conftest
$ac_exeext conftest.
$ac_ext
15397 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_have_fallocate" >&5
15398 $as_echo "$wine_cv_have_fallocate" >&6; }
15399 if test "$wine_cv_have_fallocate" = "yes"
15402 $as_echo "#define HAVE_FALLOCATE 1" >>confdefs.h
15407 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for inline" >&5
15408 $as_echo_n "checking for inline... " >&6; }
15409 if ${ac_cv_c_inline+:} false
; then :
15410 $as_echo_n "(cached) " >&6
15413 for ac_kw
in inline __inline__ __inline
; do
15414 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15415 /* end confdefs.h. */
15416 #ifndef __cplusplus
15418 static $ac_kw foo_t static_foo () {return 0; }
15419 $ac_kw foo_t foo () {return 0; }
15423 if ac_fn_c_try_compile
"$LINENO"; then :
15424 ac_cv_c_inline
=$ac_kw
15426 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
15427 test "$ac_cv_c_inline" != no
&& break
15431 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_inline" >&5
15432 $as_echo "$ac_cv_c_inline" >&6; }
15434 case $ac_cv_c_inline in
15437 case $ac_cv_c_inline in
15439 *) ac_val
=$ac_cv_c_inline;;
15441 cat >>confdefs.h
<<_ACEOF
15442 #ifndef __cplusplus
15443 #define inline $ac_val
15449 ac_fn_c_check_type
"$LINENO" "mode_t" "ac_cv_type_mode_t" "$ac_includes_default"
15450 if test "x$ac_cv_type_mode_t" = xyes
; then :
15452 cat >>confdefs.h
<<_ACEOF
15453 #define HAVE_MODE_T 1
15458 ac_fn_c_check_type
"$LINENO" "off_t" "ac_cv_type_off_t" "$ac_includes_default"
15459 if test "x$ac_cv_type_off_t" = xyes
; then :
15461 cat >>confdefs.h
<<_ACEOF
15462 #define HAVE_OFF_T 1
15467 ac_fn_c_check_type
"$LINENO" "pid_t" "ac_cv_type_pid_t" "$ac_includes_default"
15468 if test "x$ac_cv_type_pid_t" = xyes
; then :
15470 cat >>confdefs.h
<<_ACEOF
15471 #define HAVE_PID_T 1
15476 ac_fn_c_check_type
"$LINENO" "size_t" "ac_cv_type_size_t" "$ac_includes_default"
15477 if test "x$ac_cv_type_size_t" = xyes
; then :
15479 cat >>confdefs.h
<<_ACEOF
15480 #define HAVE_SIZE_T 1
15485 ac_fn_c_check_type
"$LINENO" "ssize_t" "ac_cv_type_ssize_t" "$ac_includes_default"
15486 if test "x$ac_cv_type_ssize_t" = xyes
; then :
15488 cat >>confdefs.h
<<_ACEOF
15489 #define HAVE_SSIZE_T 1
15494 ac_fn_c_check_type
"$LINENO" "long long" "ac_cv_type_long_long" "$ac_includes_default"
15495 if test "x$ac_cv_type_long_long" = xyes
; then :
15497 cat >>confdefs.h
<<_ACEOF
15498 #define HAVE_LONG_LONG 1
15503 ac_fn_c_check_type
"$LINENO" "fsblkcnt_t" "ac_cv_type_fsblkcnt_t" "$ac_includes_default"
15504 if test "x$ac_cv_type_fsblkcnt_t" = xyes
; then :
15506 cat >>confdefs.h
<<_ACEOF
15507 #define HAVE_FSBLKCNT_T 1
15512 ac_fn_c_check_type
"$LINENO" "fsfilcnt_t" "ac_cv_type_fsfilcnt_t" "$ac_includes_default"
15513 if test "x$ac_cv_type_fsfilcnt_t" = xyes
; then :
15515 cat >>confdefs.h
<<_ACEOF
15516 #define HAVE_FSFILCNT_T 1
15522 ac_fn_c_check_type
"$LINENO" "sigset_t" "ac_cv_type_sigset_t" "#include <sys/types.h>
15523 #include <signal.h>
15525 if test "x$ac_cv_type_sigset_t" = xyes
; then :
15527 cat >>confdefs.h
<<_ACEOF
15528 #define HAVE_SIGSET_T 1
15534 ac_fn_c_check_type
"$LINENO" "request_sense" "ac_cv_type_request_sense" "#include <linux/cdrom.h>
15536 if test "x$ac_cv_type_request_sense" = xyes
; then :
15538 cat >>confdefs.h
<<_ACEOF
15539 #define HAVE_REQUEST_SENSE 1
15546 ac_fn_c_check_type
"$LINENO" "struct xinpgen" "ac_cv_type_struct_xinpgen" "#include <sys/types.h>
15547 #ifdef HAVE_SYS_SOCKET_H
15548 #include <sys/socket.h>
15550 #ifdef HAVE_SYS_SOCKETVAR_H
15551 #include <sys/socketvar.h>
15553 #ifdef HAVE_NET_ROUTE_H
15554 #include <net/route.h>
15556 #ifdef HAVE_NETINET_IN_H
15557 #include <netinet/in.h>
15559 #ifdef HAVE_NETINET_IN_SYSTM_H
15560 #include <netinet/in_systm.h>
15562 #ifdef HAVE_NETINET_IP_H
15563 #include <netinet/ip.h>
15565 #ifdef HAVE_NETINET_IN_PCB_H
15566 #include <netinet/in_pcb.h>
15569 if test "x$ac_cv_type_struct_xinpgen" = xyes
; then :
15571 cat >>confdefs.h
<<_ACEOF
15572 #define HAVE_STRUCT_XINPGEN 1
15579 ac_fn_c_check_type
"$LINENO" "struct r_debug" "ac_cv_type_struct_r_debug" "#ifdef HAVE_LINK_H
15582 #ifdef HAVE_SYS_LINK_H
15583 #include <sys/link.h>
15586 if test "x$ac_cv_type_struct_r_debug" = xyes
; then :
15588 cat >>confdefs.h
<<_ACEOF
15589 #define HAVE_STRUCT_R_DEBUG 1
15594 ac_fn_c_check_type
"$LINENO" "struct link_map" "ac_cv_type_struct_link_map" "#ifdef HAVE_LINK_H
15597 #ifdef HAVE_SYS_LINK_H
15598 #include <sys/link.h>
15601 if test "x$ac_cv_type_struct_link_map" = xyes
; then :
15603 cat >>confdefs.h
<<_ACEOF
15604 #define HAVE_STRUCT_LINK_MAP 1
15611 ac_fn_c_check_member
"$LINENO" "struct ff_effect" "direction" "ac_cv_member_struct_ff_effect_direction" "#ifdef HAVE_LINUX_INPUT_H
15612 #include <linux/input.h>
15615 if test "x$ac_cv_member_struct_ff_effect_direction" = xyes
; then :
15617 cat >>confdefs.h
<<_ACEOF
15618 #define HAVE_STRUCT_FF_EFFECT_DIRECTION 1
15625 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sigaddset" >&5
15626 $as_echo_n "checking for sigaddset... " >&6; }
15627 if ${wine_cv_have_sigaddset+:} false
; then :
15628 $as_echo_n "(cached) " >&6
15630 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15631 /* end confdefs.h. */
15632 #include <signal.h>
15636 sigset_t set; sigaddset(&set,SIGTERM);
15641 if ac_fn_c_try_link
"$LINENO"; then :
15642 wine_cv_have_sigaddset
=yes
15644 wine_cv_have_sigaddset
=no
15646 rm -f core conftest.err conftest.
$ac_objext \
15647 conftest
$ac_exeext conftest.
$ac_ext
15649 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_have_sigaddset" >&5
15650 $as_echo "$wine_cv_have_sigaddset" >&6; }
15651 if test "$wine_cv_have_sigaddset" = "yes"
15654 $as_echo "#define HAVE_SIGADDSET 1" >>confdefs.h
15659 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we can use re-entrant gethostbyname_r Linux style" >&5
15660 $as_echo_n "checking whether we can use re-entrant gethostbyname_r Linux style... " >&6; }
15661 if ${wine_cv_linux_gethostbyname_r_6+:} false
; then :
15662 $as_echo_n "(cached) " >&6
15664 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15665 /* end confdefs.h. */
15673 struct hostent *result;
15680 gethostbyname_r(name,&he,buf,bufsize,&result,&errnr);
15681 gethostbyaddr_r(addr, addrlen, addrtype,&he,buf,bufsize,&result,&errnr);
15687 if ac_fn_c_try_link
"$LINENO"; then :
15688 wine_cv_linux_gethostbyname_r_6
=yes
15690 wine_cv_linux_gethostbyname_r_6
=no
15693 rm -f core conftest.err conftest.
$ac_objext \
15694 conftest
$ac_exeext conftest.
$ac_ext
15697 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_linux_gethostbyname_r_6" >&5
15698 $as_echo "$wine_cv_linux_gethostbyname_r_6" >&6; }
15699 if test "$wine_cv_linux_gethostbyname_r_6" = "yes"
15702 $as_echo "#define HAVE_LINUX_GETHOSTBYNAME_R_6 1" >>confdefs.h
15706 if test "$ac_cv_header_linux_joystick_h" = "yes"
15708 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether linux/joystick.h uses the Linux 2.2+ API" >&5
15709 $as_echo_n "checking whether linux/joystick.h uses the Linux 2.2+ API... " >&6; }
15710 if ${wine_cv_linux_joystick_22_api+:} false
; then :
15711 $as_echo_n "(cached) " >&6
15713 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15714 /* end confdefs.h. */
15716 #include <sys/ioctl.h>
15717 #include <sys/types.h>
15718 #include <linux/joystick.h>
15720 struct js_event blub;
15721 #if !defined(JS_EVENT_AXIS) || !defined(JS_EVENT_BUTTON)
15722 #error "no 2.2 header"
15733 if ac_fn_c_try_compile
"$LINENO"; then :
15734 wine_cv_linux_joystick_22_api
=yes
15736 wine_cv_linux_joystick_22_api
=no
15738 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
15741 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_linux_joystick_22_api" >&5
15742 $as_echo "$wine_cv_linux_joystick_22_api" >&6; }
15743 if test "$wine_cv_linux_joystick_22_api" = "yes"
15746 $as_echo "#define HAVE_LINUX_22_JOYSTICK_API 1" >>confdefs.h
15752 ac_fn_c_check_member
"$LINENO" "struct statfs" "f_bfree" "ac_cv_member_struct_statfs_f_bfree" "#include <sys/types.h>
15753 #ifdef HAVE_SYS_PARAM_H
15754 # include <sys/param.h>
15756 #ifdef HAVE_SYS_MOUNT_H
15757 # include <sys/mount.h>
15759 #ifdef HAVE_SYS_VFS_H
15760 # include <sys/vfs.h>
15762 #ifdef HAVE_SYS_STATFS_H
15763 # include <sys/statfs.h>
15766 if test "x$ac_cv_member_struct_statfs_f_bfree" = xyes
; then :
15768 cat >>confdefs.h
<<_ACEOF
15769 #define HAVE_STRUCT_STATFS_F_BFREE 1
15774 ac_fn_c_check_member
"$LINENO" "struct statfs" "f_bavail" "ac_cv_member_struct_statfs_f_bavail" "#include <sys/types.h>
15775 #ifdef HAVE_SYS_PARAM_H
15776 # include <sys/param.h>
15778 #ifdef HAVE_SYS_MOUNT_H
15779 # include <sys/mount.h>
15781 #ifdef HAVE_SYS_VFS_H
15782 # include <sys/vfs.h>
15784 #ifdef HAVE_SYS_STATFS_H
15785 # include <sys/statfs.h>
15788 if test "x$ac_cv_member_struct_statfs_f_bavail" = xyes
; then :
15790 cat >>confdefs.h
<<_ACEOF
15791 #define HAVE_STRUCT_STATFS_F_BAVAIL 1
15796 ac_fn_c_check_member
"$LINENO" "struct statfs" "f_frsize" "ac_cv_member_struct_statfs_f_frsize" "#include <sys/types.h>
15797 #ifdef HAVE_SYS_PARAM_H
15798 # include <sys/param.h>
15800 #ifdef HAVE_SYS_MOUNT_H
15801 # include <sys/mount.h>
15803 #ifdef HAVE_SYS_VFS_H
15804 # include <sys/vfs.h>
15806 #ifdef HAVE_SYS_STATFS_H
15807 # include <sys/statfs.h>
15810 if test "x$ac_cv_member_struct_statfs_f_frsize" = xyes
; then :
15812 cat >>confdefs.h
<<_ACEOF
15813 #define HAVE_STRUCT_STATFS_F_FRSIZE 1
15818 ac_fn_c_check_member
"$LINENO" "struct statfs" "f_ffree" "ac_cv_member_struct_statfs_f_ffree" "#include <sys/types.h>
15819 #ifdef HAVE_SYS_PARAM_H
15820 # include <sys/param.h>
15822 #ifdef HAVE_SYS_MOUNT_H
15823 # include <sys/mount.h>
15825 #ifdef HAVE_SYS_VFS_H
15826 # include <sys/vfs.h>
15828 #ifdef HAVE_SYS_STATFS_H
15829 # include <sys/statfs.h>
15832 if test "x$ac_cv_member_struct_statfs_f_ffree" = xyes
; then :
15834 cat >>confdefs.h
<<_ACEOF
15835 #define HAVE_STRUCT_STATFS_F_FFREE 1
15840 ac_fn_c_check_member
"$LINENO" "struct statfs" "f_favail" "ac_cv_member_struct_statfs_f_favail" "#include <sys/types.h>
15841 #ifdef HAVE_SYS_PARAM_H
15842 # include <sys/param.h>
15844 #ifdef HAVE_SYS_MOUNT_H
15845 # include <sys/mount.h>
15847 #ifdef HAVE_SYS_VFS_H
15848 # include <sys/vfs.h>
15850 #ifdef HAVE_SYS_STATFS_H
15851 # include <sys/statfs.h>
15854 if test "x$ac_cv_member_struct_statfs_f_favail" = xyes
; then :
15856 cat >>confdefs.h
<<_ACEOF
15857 #define HAVE_STRUCT_STATFS_F_FAVAIL 1
15862 ac_fn_c_check_member
"$LINENO" "struct statfs" "f_namelen" "ac_cv_member_struct_statfs_f_namelen" "#include <sys/types.h>
15863 #ifdef HAVE_SYS_PARAM_H
15864 # include <sys/param.h>
15866 #ifdef HAVE_SYS_MOUNT_H
15867 # include <sys/mount.h>
15869 #ifdef HAVE_SYS_VFS_H
15870 # include <sys/vfs.h>
15872 #ifdef HAVE_SYS_STATFS_H
15873 # include <sys/statfs.h>
15876 if test "x$ac_cv_member_struct_statfs_f_namelen" = xyes
; then :
15878 cat >>confdefs.h
<<_ACEOF
15879 #define HAVE_STRUCT_STATFS_F_NAMELEN 1
15886 ac_fn_c_check_member
"$LINENO" "struct statvfs" "f_blocks" "ac_cv_member_struct_statvfs_f_blocks" "#ifdef HAVE_SYS_STATVFS_H
15887 #include <sys/statvfs.h>
15890 if test "x$ac_cv_member_struct_statvfs_f_blocks" = xyes
; then :
15892 cat >>confdefs.h
<<_ACEOF
15893 #define HAVE_STRUCT_STATVFS_F_BLOCKS 1
15900 ac_fn_c_check_member
"$LINENO" "struct dirent" "d_reclen" "ac_cv_member_struct_dirent_d_reclen" "#ifdef HAVE_DIRENT_H
15901 #include <dirent.h>
15904 if test "x$ac_cv_member_struct_dirent_d_reclen" = xyes
; then :
15906 cat >>confdefs.h
<<_ACEOF
15907 #define HAVE_STRUCT_DIRENT_D_RECLEN 1
15914 ac_fn_c_check_member
"$LINENO" "struct msghdr" "msg_accrights" "ac_cv_member_struct_msghdr_msg_accrights" "#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_msghdr_msg_accrights" = xyes
; then :
15924 cat >>confdefs.h
<<_ACEOF
15925 #define HAVE_STRUCT_MSGHDR_MSG_ACCRIGHTS 1
15930 ac_fn_c_check_member
"$LINENO" "struct sockaddr" "sa_len" "ac_cv_member_struct_sockaddr_sa_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_sa_len" = xyes
; then :
15940 cat >>confdefs.h
<<_ACEOF
15941 #define HAVE_STRUCT_SOCKADDR_SA_LEN 1
15946 ac_fn_c_check_member
"$LINENO" "struct sockaddr_un" "sun_len" "ac_cv_member_struct_sockaddr_un_sun_len" "#include <sys/types.h>
15947 #ifdef HAVE_SYS_SOCKET_H
15948 # include <sys/socket.h>
15950 #ifdef HAVE_SYS_UN_H
15951 # include <sys/un.h>
15954 if test "x$ac_cv_member_struct_sockaddr_un_sun_len" = xyes
; then :
15956 cat >>confdefs.h
<<_ACEOF
15957 #define HAVE_STRUCT_SOCKADDR_UN_SUN_LEN 1
15964 ac_fn_c_check_member
"$LINENO" "scsireq_t" "cmd" "ac_cv_member_scsireq_t_cmd" "#include <sys/types.h>
15965 #ifdef HAVE_SCSI_SG_H
15966 #include <scsi/sg.h>
15969 if test "x$ac_cv_member_scsireq_t_cmd" = xyes
; then :
15971 cat >>confdefs.h
<<_ACEOF
15972 #define HAVE_SCSIREQ_T_CMD 1
15977 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>
15978 #ifdef HAVE_SCSI_SG_H
15979 #include <scsi/sg.h>
15982 if test "x$ac_cv_member_sg_io_hdr_t_interface_id" = xyes
; then :
15984 cat >>confdefs.h
<<_ACEOF
15985 #define HAVE_SG_IO_HDR_T_INTERFACE_ID 1
15992 ac_fn_c_check_member
"$LINENO" "siginfo_t" "si_fd" "ac_cv_member_siginfo_t_si_fd" "#include <signal.h>
15994 if test "x$ac_cv_member_siginfo_t_si_fd" = xyes
; then :
15996 cat >>confdefs.h
<<_ACEOF
15997 #define HAVE_SIGINFO_T_SI_FD 1
16004 ac_fn_c_check_member
"$LINENO" "struct mtget" "mt_blksiz" "ac_cv_member_struct_mtget_mt_blksiz" "#include <sys/types.h>
16005 #ifdef HAVE_SYS_MTIO_H
16006 #include <sys/mtio.h>
16009 if test "x$ac_cv_member_struct_mtget_mt_blksiz" = xyes
; then :
16011 cat >>confdefs.h
<<_ACEOF
16012 #define HAVE_STRUCT_MTGET_MT_BLKSIZ 1
16017 ac_fn_c_check_member
"$LINENO" "struct mtget" "mt_gstat" "ac_cv_member_struct_mtget_mt_gstat" "#include <sys/types.h>
16018 #ifdef HAVE_SYS_MTIO_H
16019 #include <sys/mtio.h>
16022 if test "x$ac_cv_member_struct_mtget_mt_gstat" = xyes
; then :
16024 cat >>confdefs.h
<<_ACEOF
16025 #define HAVE_STRUCT_MTGET_MT_GSTAT 1
16030 ac_fn_c_check_member
"$LINENO" "struct mtget" "mt_blkno" "ac_cv_member_struct_mtget_mt_blkno" "#include <sys/types.h>
16031 #ifdef HAVE_SYS_MTIO_H
16032 #include <sys/mtio.h>
16035 if test "x$ac_cv_member_struct_mtget_mt_blkno" = xyes
; then :
16037 cat >>confdefs.h
<<_ACEOF
16038 #define HAVE_STRUCT_MTGET_MT_BLKNO 1
16045 ac_fn_c_check_member
"$LINENO" "struct option" "name" "ac_cv_member_struct_option_name" "#ifdef HAVE_GETOPT_H
16046 #include <getopt.h>
16049 if test "x$ac_cv_member_struct_option_name" = xyes
; then :
16051 cat >>confdefs.h
<<_ACEOF
16052 #define HAVE_STRUCT_OPTION_NAME 1
16059 ac_fn_c_check_member
"$LINENO" "struct stat" "st_blocks" "ac_cv_member_struct_stat_st_blocks" "$ac_includes_default"
16060 if test "x$ac_cv_member_struct_stat_st_blocks" = xyes
; then :
16062 cat >>confdefs.h
<<_ACEOF
16063 #define HAVE_STRUCT_STAT_ST_BLOCKS 1
16068 ac_fn_c_check_member
"$LINENO" "struct stat" "st_mtim" "ac_cv_member_struct_stat_st_mtim" "$ac_includes_default"
16069 if test "x$ac_cv_member_struct_stat_st_mtim" = xyes
; then :
16071 cat >>confdefs.h
<<_ACEOF
16072 #define HAVE_STRUCT_STAT_ST_MTIM 1
16077 ac_fn_c_check_member
"$LINENO" "struct stat" "st_mtimespec" "ac_cv_member_struct_stat_st_mtimespec" "$ac_includes_default"
16078 if test "x$ac_cv_member_struct_stat_st_mtimespec" = xyes
; then :
16080 cat >>confdefs.h
<<_ACEOF
16081 #define HAVE_STRUCT_STAT_ST_MTIMESPEC 1
16086 ac_fn_c_check_member
"$LINENO" "struct stat" "st_ctim" "ac_cv_member_struct_stat_st_ctim" "$ac_includes_default"
16087 if test "x$ac_cv_member_struct_stat_st_ctim" = xyes
; then :
16089 cat >>confdefs.h
<<_ACEOF
16090 #define HAVE_STRUCT_STAT_ST_CTIM 1
16095 ac_fn_c_check_member
"$LINENO" "struct stat" "st_ctimespec" "ac_cv_member_struct_stat_st_ctimespec" "$ac_includes_default"
16096 if test "x$ac_cv_member_struct_stat_st_ctimespec" = xyes
; then :
16098 cat >>confdefs.h
<<_ACEOF
16099 #define HAVE_STRUCT_STAT_ST_CTIMESPEC 1
16104 ac_fn_c_check_member
"$LINENO" "struct stat" "st_atim" "ac_cv_member_struct_stat_st_atim" "$ac_includes_default"
16105 if test "x$ac_cv_member_struct_stat_st_atim" = xyes
; then :
16107 cat >>confdefs.h
<<_ACEOF
16108 #define HAVE_STRUCT_STAT_ST_ATIM 1
16113 ac_fn_c_check_member
"$LINENO" "struct stat" "st_atimespec" "ac_cv_member_struct_stat_st_atimespec" "$ac_includes_default"
16114 if test "x$ac_cv_member_struct_stat_st_atimespec" = xyes
; then :
16116 cat >>confdefs.h
<<_ACEOF
16117 #define HAVE_STRUCT_STAT_ST_ATIMESPEC 1
16122 ac_fn_c_check_member
"$LINENO" "struct stat" "st_birthtime" "ac_cv_member_struct_stat_st_birthtime" "$ac_includes_default"
16123 if test "x$ac_cv_member_struct_stat_st_birthtime" = xyes
; then :
16125 cat >>confdefs.h
<<_ACEOF
16126 #define HAVE_STRUCT_STAT_ST_BIRTHTIME 1
16131 ac_fn_c_check_member
"$LINENO" "struct stat" "st_birthtim" "ac_cv_member_struct_stat_st_birthtim" "$ac_includes_default"
16132 if test "x$ac_cv_member_struct_stat_st_birthtim" = xyes
; then :
16134 cat >>confdefs.h
<<_ACEOF
16135 #define HAVE_STRUCT_STAT_ST_BIRTHTIM 1
16140 ac_fn_c_check_member
"$LINENO" "struct stat" "st_birthtimespec" "ac_cv_member_struct_stat_st_birthtimespec" "$ac_includes_default"
16141 if test "x$ac_cv_member_struct_stat_st_birthtimespec" = xyes
; then :
16143 cat >>confdefs.h
<<_ACEOF
16144 #define HAVE_STRUCT_STAT_ST_BIRTHTIMESPEC 1
16149 ac_fn_c_check_member
"$LINENO" "struct stat" "__st_birthtime" "ac_cv_member_struct_stat___st_birthtime" "$ac_includes_default"
16150 if test "x$ac_cv_member_struct_stat___st_birthtime" = xyes
; then :
16152 cat >>confdefs.h
<<_ACEOF
16153 #define HAVE_STRUCT_STAT___ST_BIRTHTIME 1
16158 ac_fn_c_check_member
"$LINENO" "struct stat" "__st_birthtim" "ac_cv_member_struct_stat___st_birthtim" "$ac_includes_default"
16159 if test "x$ac_cv_member_struct_stat___st_birthtim" = xyes
; then :
16161 cat >>confdefs.h
<<_ACEOF
16162 #define HAVE_STRUCT_STAT___ST_BIRTHTIM 1
16169 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
16170 #include <sys/types.h>
16172 #ifdef HAVE_NETINET_IN_H
16173 #include <netinet/in.h>
16176 if test "x$ac_cv_member_struct_sockaddr_in6_sin6_scope_id" = xyes
; then :
16178 cat >>confdefs.h
<<_ACEOF
16179 #define HAVE_STRUCT_SOCKADDR_IN6_SIN6_SCOPE_ID 1
16186 ac_fn_c_check_type
"$LINENO" "struct __res_state" "ac_cv_type_struct___res_state" "#ifdef HAVE_RESOLV_H
16187 #include <resolv.h>
16190 if test "x$ac_cv_type_struct___res_state" = xyes
; then :
16192 cat >>confdefs.h
<<_ACEOF
16193 #define HAVE_STRUCT___RES_STATE 1
16200 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
16201 #include <resolv.h>
16204 if test "x$ac_cv_member_struct___res_state__u__ext_nscount6" = xyes
; then :
16206 cat >>confdefs.h
<<_ACEOF
16207 #define HAVE_STRUCT___RES_STATE__U__EXT_NSCOUNT6 1
16214 ac_fn_c_check_member
"$LINENO" "ns_msg" "_msg_ptr" "ac_cv_member_ns_msg__msg_ptr" "#ifdef HAVE_SYS_TYPES_H
16215 #include <sys/types.h>
16217 #ifdef HAVE_NETINET_IN_H
16218 # include <netinet/in.h>
16220 #ifdef HAVE_ARPA_NAMESER_H
16221 # include <arpa/nameser.h>
16224 if test "x$ac_cv_member_ns_msg__msg_ptr" = xyes
; then :
16226 cat >>confdefs.h
<<_ACEOF
16227 #define HAVE_NS_MSG__MSG_PTR 1
16234 ac_fn_c_check_member
"$LINENO" "struct icmpstat" "icps_inhist" "ac_cv_member_struct_icmpstat_icps_inhist" "#ifdef HAVE_SYS_TYPES_H
16235 #include <sys/types.h>
16237 #ifdef HAVE_NETINET_IP_H
16238 #include <netinet/ip.h>
16240 #ifdef HAVE_NETINET_IP_ICMP_H
16241 #include <netinet/ip_icmp.h>
16243 #ifdef HAVE_NETINET_ICMP_VAR_H
16244 #include <netinet/icmp_var.h>
16247 if test "x$ac_cv_member_struct_icmpstat_icps_inhist" = xyes
; then :
16249 cat >>confdefs.h
<<_ACEOF
16250 #define HAVE_STRUCT_ICMPSTAT_ICPS_INHIST 1
16257 ac_fn_c_check_member
"$LINENO" "struct icmpstat" "icps_outhist" "ac_cv_member_struct_icmpstat_icps_outhist" "#ifdef HAVE_SYS_TYPES_H
16258 #include <sys/types.h>
16260 #ifdef HAVE_ALIAS_H
16263 #ifdef HAVE_SYS_SOCKET_H
16264 #include <sys/socket.h>
16266 #ifdef HAVE_SYS_SOCKETVAR_H
16267 #include <sys/socketvar.h>
16269 #ifdef HAVE_SYS_TIMEOUT_H
16270 #include <sys/timeout.h>
16272 #ifdef HAVE_NETINET_IN_H
16273 #include <netinet/in.h>
16275 #ifdef HAVE_NETINET_IN_SYSTM_H
16276 #include <netinet/in_systm.h>
16278 #ifdef HAVE_NETINET_IP_H
16279 #include <netinet/ip.h>
16281 #ifdef HAVE_NETINET_IP_VAR_H
16282 #include <netinet/ip_var.h>
16284 #ifdef HAVE_NETINET_IP_ICMP_H
16285 #include <netinet/ip_icmp.h>
16287 #ifdef HAVE_NETINET_ICMP_VAR_H
16288 #include <netinet/icmp_var.h>
16291 if test "x$ac_cv_member_struct_icmpstat_icps_outhist" = xyes
; then :
16293 cat >>confdefs.h
<<_ACEOF
16294 #define HAVE_STRUCT_ICMPSTAT_ICPS_OUTHIST 1
16301 ac_fn_c_check_member
"$LINENO" "struct ipstat" "ips_total" "ac_cv_member_struct_ipstat_ips_total" "#ifdef HAVE_SYS_TYPES_H
16302 #include <sys/types.h>
16304 #ifdef HAVE_SYS_SOCKETVAR_H
16305 #include <sys/socketvar.h>
16307 #ifdef HAVE_NETINET_IN_H
16308 #include <netinet/in.h>
16310 #ifdef HAVE_NETINET_IP_VAR_H
16311 #include <netinet/ip_var.h>
16314 if test "x$ac_cv_member_struct_ipstat_ips_total" = xyes
; then :
16316 cat >>confdefs.h
<<_ACEOF
16317 #define HAVE_STRUCT_IPSTAT_IPS_TOTAL 1
16324 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
16325 #include <netinet/ip_var.h>
16328 if test "x$ac_cv_member_struct_ip_stats_ips_total" = xyes
; then :
16330 cat >>confdefs.h
<<_ACEOF
16331 #define HAVE_STRUCT_IP_STATS_IPS_TOTAL 1
16338 ac_fn_c_check_member
"$LINENO" "struct tcpstat" "tcps_connattempt" "ac_cv_member_struct_tcpstat_tcps_connattempt" "#ifdef HAVE_SYS_TYPES_H
16339 #include <sys/types.h>
16341 #ifdef HAVE_SYS_SOCKETVAR_H
16342 #include <sys/socketvar.h>
16344 #ifdef HAVE_NETINET_IN_H
16345 #include <netinet/in.h>
16347 #ifdef HAVE_NETINET_TCP_H
16348 #include <netinet/tcp.h>
16350 #ifdef HAVE_NETINET_TCP_VAR_H
16351 #include <netinet/tcp_var.h>
16354 if test "x$ac_cv_member_struct_tcpstat_tcps_connattempt" = xyes
; then :
16356 cat >>confdefs.h
<<_ACEOF
16357 #define HAVE_STRUCT_TCPSTAT_TCPS_CONNATTEMPT 1
16364 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
16365 #include <netinet/tcp_var.h>
16368 if test "x$ac_cv_member_struct_tcp_stats_tcps_connattempt" = xyes
; then :
16370 cat >>confdefs.h
<<_ACEOF
16371 #define HAVE_STRUCT_TCP_STATS_TCPS_CONNATTEMPT 1
16378 ac_fn_c_check_member
"$LINENO" "struct udpstat" "udps_ipackets" "ac_cv_member_struct_udpstat_udps_ipackets" "#ifdef HAVE_SYS_TYPES_H
16379 #include <sys/types.h>
16381 #ifdef HAVE_NETINET_IN_H
16382 #include <netinet/in.h>
16384 #ifdef HAVE_NETINET_IP_VAR_H
16385 #include <netinet/ip_var.h>
16387 #ifdef HAVE_NETINET_UDP_H
16388 #include <netinet/udp.h>
16390 #ifdef HAVE_NETINET_UDP_VAR_H
16391 #include <netinet/udp_var.h>
16394 if test "x$ac_cv_member_struct_udpstat_udps_ipackets" = xyes
; then :
16396 cat >>confdefs.h
<<_ACEOF
16397 #define HAVE_STRUCT_UDPSTAT_UDPS_IPACKETS 1
16404 ac_fn_c_check_member
"$LINENO" "struct ifreq" "ifr_hwaddr" "ac_cv_member_struct_ifreq_ifr_hwaddr" "#ifdef HAVE_SYS_TYPES_H
16405 #include <sys/types.h>
16407 #ifdef HAVE_NET_IF_H
16408 # include <net/if.h>
16411 if test "x$ac_cv_member_struct_ifreq_ifr_hwaddr" = xyes
; then :
16413 cat >>confdefs.h
<<_ACEOF
16414 #define HAVE_STRUCT_IFREQ_IFR_HWADDR 1
16421 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for timezone variable" >&5
16422 $as_echo_n "checking for timezone variable... " >&6; }
16423 if ${ac_cv_have_timezone+:} false
; then :
16424 $as_echo_n "(cached) " >&6
16426 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
16427 /* end confdefs.h. */
16437 if ac_fn_c_try_link
"$LINENO"; then :
16438 ac_cv_have_timezone
="yes"
16440 ac_cv_have_timezone
="no"
16442 rm -f core conftest.err conftest.
$ac_objext \
16443 conftest
$ac_exeext conftest.
$ac_ext
16445 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_timezone" >&5
16446 $as_echo "$ac_cv_have_timezone" >&6; }
16447 if test "$ac_cv_have_timezone" = "yes"
16450 $as_echo "#define HAVE_TIMEZONE 1" >>confdefs.h
16453 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for daylight variable" >&5
16454 $as_echo_n "checking for daylight variable... " >&6; }
16455 if ${ac_cv_have_daylight+:} false
; then :
16456 $as_echo_n "(cached) " >&6
16458 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
16459 /* end confdefs.h. */
16469 if ac_fn_c_try_link
"$LINENO"; then :
16470 ac_cv_have_daylight
="yes"
16472 ac_cv_have_daylight
="no"
16474 rm -f core conftest.err conftest.
$ac_objext \
16475 conftest
$ac_exeext conftest.
$ac_ext
16477 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_daylight" >&5
16478 $as_echo "$ac_cv_have_daylight" >&6; }
16479 if test "$ac_cv_have_daylight" = "yes"
16482 $as_echo "#define HAVE_DAYLIGHT 1" >>confdefs.h
16486 ac_save_LIBS
="$LIBS"
16488 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isfinite" >&5
16489 $as_echo_n "checking for isfinite... " >&6; }
16490 if ${ac_cv_have_isfinite+:} false
; then :
16491 $as_echo_n "(cached) " >&6
16493 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
16494 /* end confdefs.h. */
16495 #define _GNU_SOURCE
16500 float f = 0.0; return isfinite(f)
16505 if ac_fn_c_try_link
"$LINENO"; then :
16506 ac_cv_have_isfinite
="yes"
16508 ac_cv_have_isfinite
="no"
16510 rm -f core conftest.err conftest.
$ac_objext \
16511 conftest
$ac_exeext conftest.
$ac_ext
16513 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_isfinite" >&5
16514 $as_echo "$ac_cv_have_isfinite" >&6; }
16515 if test "$ac_cv_have_isfinite" = "yes"
16518 $as_echo "#define HAVE_ISFINITE 1" >>confdefs.h
16522 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinf" >&5
16523 $as_echo_n "checking for isinf... " >&6; }
16524 if ${ac_cv_have_isinf+:} false
; then :
16525 $as_echo_n "(cached) " >&6
16527 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
16528 /* end confdefs.h. */
16533 float f = 0.0; return isinf(f)
16538 if ac_fn_c_try_link
"$LINENO"; then :
16539 ac_cv_have_isinf
="yes"
16541 ac_cv_have_isinf
="no"
16543 rm -f core conftest.err conftest.
$ac_objext \
16544 conftest
$ac_exeext conftest.
$ac_ext
16546 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_isinf" >&5
16547 $as_echo "$ac_cv_have_isinf" >&6; }
16548 if test "$ac_cv_have_isinf" = "yes"
16551 $as_echo "#define HAVE_ISINF 1" >>confdefs.h
16555 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnan" >&5
16556 $as_echo_n "checking for isnan... " >&6; }
16557 if ${ac_cv_have_isnan+:} false
; then :
16558 $as_echo_n "(cached) " >&6
16560 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
16561 /* end confdefs.h. */
16566 float f = 0.0; return isnan(f)
16571 if ac_fn_c_try_link
"$LINENO"; then :
16572 ac_cv_have_isnan
="yes"
16574 ac_cv_have_isnan
="no"
16576 rm -f core conftest.err conftest.
$ac_objext \
16577 conftest
$ac_exeext conftest.
$ac_ext
16579 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_isnan" >&5
16580 $as_echo "$ac_cv_have_isnan" >&6; }
16581 if test "$ac_cv_have_isnan" = "yes"
16584 $as_echo "#define HAVE_ISNAN 1" >>confdefs.h
16613 as_ac_var
=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
16614 ac_fn_c_check_func
"$LINENO" "$ac_func" "$as_ac_var"
16615 if eval test \"x\$
"$as_ac_var"\" = x
"yes"; then :
16616 cat >>confdefs.h
<<_ACEOF
16617 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
16623 LIBS
="$ac_save_LIBS"
16625 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for __builtin_clz" >&5
16626 $as_echo_n "checking for __builtin_clz... " >&6; }
16627 if ${ac_cv_have___builtin_clz+:} false
; then :
16628 $as_echo_n "(cached) " >&6
16630 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
16631 /* end confdefs.h. */
16636 return __builtin_clz(1)
16641 if ac_fn_c_try_link
"$LINENO"; then :
16642 ac_cv_have___builtin_clz
="yes"
16644 ac_cv_have___builtin_clz
="no"
16646 rm -f core conftest.err conftest.
$ac_objext \
16647 conftest
$ac_exeext conftest.
$ac_ext
16649 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have___builtin_clz" >&5
16650 $as_echo "$ac_cv_have___builtin_clz" >&6; }
16651 if test "$ac_cv_have___builtin_clz" = "yes"
16654 $as_echo "#define HAVE___BUILTIN_CLZ 1" >>confdefs.h
16660 *i
[3456789]86*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __i386__" >&5
16661 $as_echo_n "checking whether we need to define __i386__... " >&6; }
16662 if ${ac_cv_cpp_def___i386__+:} false
; then :
16663 $as_echo_n "(cached) " >&6
16665 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
16666 /* end confdefs.h. */
16671 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
16672 $EGREP "yes" >/dev
/null
2>&1; then :
16673 ac_cv_cpp_def___i386__
=yes
16675 ac_cv_cpp_def___i386__
=no
16680 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___i386__" >&5
16681 $as_echo "$ac_cv_cpp_def___i386__" >&6; }
16682 if test "x$ac_cv_cpp_def___i386__" = xyes
; then :
16683 CFLAGS
="$CFLAGS -D__i386__"
16684 LINTFLAGS
="$LINTFLAGS -D__i386__"
16686 *x86_64
*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __x86_64__" >&5
16687 $as_echo_n "checking whether we need to define __x86_64__... " >&6; }
16688 if ${ac_cv_cpp_def___x86_64__+:} false
; then :
16689 $as_echo_n "(cached) " >&6
16691 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
16692 /* end confdefs.h. */
16697 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
16698 $EGREP "yes" >/dev
/null
2>&1; then :
16699 ac_cv_cpp_def___x86_64__
=yes
16701 ac_cv_cpp_def___x86_64__
=no
16706 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___x86_64__" >&5
16707 $as_echo "$ac_cv_cpp_def___x86_64__" >&6; }
16708 if test "x$ac_cv_cpp_def___x86_64__" = xyes
; then :
16709 CFLAGS
="$CFLAGS -D__x86_64__"
16710 LINTFLAGS
="$LINTFLAGS -D__x86_64__"
16712 *sparc64
*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __sparc64__" >&5
16713 $as_echo_n "checking whether we need to define __sparc64__... " >&6; }
16714 if ${ac_cv_cpp_def___sparc64__+:} false
; then :
16715 $as_echo_n "(cached) " >&6
16717 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
16718 /* end confdefs.h. */
16719 #ifndef __sparc64__
16723 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
16724 $EGREP "yes" >/dev
/null
2>&1; then :
16725 ac_cv_cpp_def___sparc64__
=yes
16727 ac_cv_cpp_def___sparc64__
=no
16732 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___sparc64__" >&5
16733 $as_echo "$ac_cv_cpp_def___sparc64__" >&6; }
16734 if test "x$ac_cv_cpp_def___sparc64__" = xyes
; then :
16735 CFLAGS
="$CFLAGS -D__sparc64__"
16736 LINTFLAGS
="$LINTFLAGS -D__sparc64__"
16738 *sparc
*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __sparc__" >&5
16739 $as_echo_n "checking whether we need to define __sparc__... " >&6; }
16740 if ${ac_cv_cpp_def___sparc__+:} false
; then :
16741 $as_echo_n "(cached) " >&6
16743 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
16744 /* end confdefs.h. */
16749 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
16750 $EGREP "yes" >/dev
/null
2>&1; then :
16751 ac_cv_cpp_def___sparc__
=yes
16753 ac_cv_cpp_def___sparc__
=no
16758 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___sparc__" >&5
16759 $as_echo "$ac_cv_cpp_def___sparc__" >&6; }
16760 if test "x$ac_cv_cpp_def___sparc__" = xyes
; then :
16761 CFLAGS
="$CFLAGS -D__sparc__"
16762 LINTFLAGS
="$LINTFLAGS -D__sparc__"
16764 *powerpc64
*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __powerpc64__" >&5
16765 $as_echo_n "checking whether we need to define __powerpc64__... " >&6; }
16766 if ${ac_cv_cpp_def___powerpc64__+:} false
; then :
16767 $as_echo_n "(cached) " >&6
16769 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
16770 /* end confdefs.h. */
16771 #ifndef __powerpc64__
16775 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
16776 $EGREP "yes" >/dev
/null
2>&1; then :
16777 ac_cv_cpp_def___powerpc64__
=yes
16779 ac_cv_cpp_def___powerpc64__
=no
16784 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___powerpc64__" >&5
16785 $as_echo "$ac_cv_cpp_def___powerpc64__" >&6; }
16786 if test "x$ac_cv_cpp_def___powerpc64__" = xyes
; then :
16787 CFLAGS
="$CFLAGS -D__powerpc64__"
16788 LINTFLAGS
="$LINTFLAGS -D__powerpc64__"
16790 *powerpc
*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __powerpc__" >&5
16791 $as_echo_n "checking whether we need to define __powerpc__... " >&6; }
16792 if ${ac_cv_cpp_def___powerpc__+:} false
; then :
16793 $as_echo_n "(cached) " >&6
16795 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
16796 /* end confdefs.h. */
16797 #ifndef __powerpc__
16801 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
16802 $EGREP "yes" >/dev
/null
2>&1; then :
16803 ac_cv_cpp_def___powerpc__
=yes
16805 ac_cv_cpp_def___powerpc__
=no
16810 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___powerpc__" >&5
16811 $as_echo "$ac_cv_cpp_def___powerpc__" >&6; }
16812 if test "x$ac_cv_cpp_def___powerpc__" = xyes
; then :
16813 CFLAGS
="$CFLAGS -D__powerpc__"
16814 LINTFLAGS
="$LINTFLAGS -D__powerpc__"
16816 *aarch64
*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __aarch64__" >&5
16817 $as_echo_n "checking whether we need to define __aarch64__... " >&6; }
16818 if ${ac_cv_cpp_def___aarch64__+:} false
; then :
16819 $as_echo_n "(cached) " >&6
16821 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
16822 /* end confdefs.h. */
16823 #ifndef __aarch64__
16827 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
16828 $EGREP "yes" >/dev
/null
2>&1; then :
16829 ac_cv_cpp_def___aarch64__
=yes
16831 ac_cv_cpp_def___aarch64__
=no
16836 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___aarch64__" >&5
16837 $as_echo "$ac_cv_cpp_def___aarch64__" >&6; }
16838 if test "x$ac_cv_cpp_def___aarch64__" = xyes
; then :
16839 CFLAGS
="$CFLAGS -D__aarch64__"
16840 LINTFLAGS
="$LINTFLAGS -D__aarch64__"
16842 *arm
*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __arm__" >&5
16843 $as_echo_n "checking whether we need to define __arm__... " >&6; }
16844 if ${ac_cv_cpp_def___arm__+:} false
; then :
16845 $as_echo_n "(cached) " >&6
16847 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
16848 /* end confdefs.h. */
16853 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
16854 $EGREP "yes" >/dev
/null
2>&1; then :
16855 ac_cv_cpp_def___arm__
=yes
16857 ac_cv_cpp_def___arm__
=no
16862 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___arm__" >&5
16863 $as_echo "$ac_cv_cpp_def___arm__" >&6; }
16864 if test "x$ac_cv_cpp_def___arm__" = xyes
; then :
16865 CFLAGS
="$CFLAGS -D__arm__"
16866 LINTFLAGS
="$LINTFLAGS -D__arm__"
16870 case $host_vendor in
16871 *sun
*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __sun__" >&5
16872 $as_echo_n "checking whether we need to define __sun__... " >&6; }
16873 if ${ac_cv_cpp_def___sun__+:} false
; then :
16874 $as_echo_n "(cached) " >&6
16876 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
16877 /* end confdefs.h. */
16882 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
16883 $EGREP "yes" >/dev
/null
2>&1; then :
16884 ac_cv_cpp_def___sun__
=yes
16886 ac_cv_cpp_def___sun__
=no
16891 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___sun__" >&5
16892 $as_echo "$ac_cv_cpp_def___sun__" >&6; }
16893 if test "x$ac_cv_cpp_def___sun__" = xyes
; then :
16894 CFLAGS
="$CFLAGS -D__sun__"
16895 LINTFLAGS
="$LINTFLAGS -D__sun__"
16903 ac_config_commands
="$ac_config_commands include/stamp-h"
16905 $as_echo_n "creating Makefile rules..." >&6
16907 ALL_VARS_RULES
="OPENGL_LIBS = $OPENGL_LIBS
16908 SOCKET_LIBS = $SOCKET_LIBS
16909 COREFOUNDATION_LIBS = $COREFOUNDATION_LIBS
16910 IOKIT_LIBS = $IOKIT_LIBS
16911 FORCEFEEDBACK_LIBS = $FORCEFEEDBACK_LIBS
16912 APPLICATIONSERVICES_LIBS = $APPLICATIONSERVICES_LIBS
16913 CORESERVICES_LIBS = $CORESERVICES_LIBS
16914 APPKIT_LIBS = $APPKIT_LIBS
16915 DISKARBITRATION_LIBS = $DISKARBITRATION_LIBS
16916 SECURITY_LIBS = $SECURITY_LIBS
16917 COREAUDIO_LIBS = $COREAUDIO_LIBS
16918 OPENAL_LIBS = $OPENAL_LIBS
16919 OPENCL_LIBS = $OPENCL_LIBS
16920 QUICKTIME_LIBS = $QUICKTIME_LIBS
16921 CARBON_LIBS = $CARBON_LIBS
16922 PTHREAD_LIBS = $PTHREAD_LIBS
16923 X_CFLAGS = $X_CFLAGS
16924 X_PRE_LIBS = $X_PRE_LIBS
16926 X_EXTRA_LIBS = $X_EXTRA_LIBS
16927 XML2_CFLAGS = $XML2_CFLAGS
16928 XML2_LIBS = $XML2_LIBS
16929 XSLT_CFLAGS = $XSLT_CFLAGS
16930 XSLT_LIBS = $XSLT_LIBS
16931 DBUS_CFLAGS = $DBUS_CFLAGS
16932 DBUS_LIBS = $DBUS_LIBS
16933 HAL_CFLAGS = $HAL_CFLAGS
16934 HAL_LIBS = $HAL_LIBS
16935 GNUTLS_CFLAGS = $GNUTLS_CFLAGS
16936 GNUTLS_LIBS = $GNUTLS_LIBS
16937 SANE_CFLAGS = $SANE_CFLAGS
16938 SANE_LIBS = $SANE_LIBS
16939 GPHOTO2_CFLAGS = $GPHOTO2_CFLAGS
16940 GPHOTO2_LIBS = $GPHOTO2_LIBS
16941 GPHOTO2_PORT_CFLAGS = $GPHOTO2_PORT_CFLAGS
16942 GPHOTO2_PORT_LIBS = $GPHOTO2_PORT_LIBS
16943 RESOLV_LIBS = $RESOLV_LIBS
16944 LCMS2_CFLAGS = $LCMS2_CFLAGS
16945 LCMS2_LIBS = $LCMS2_LIBS
16946 FREETYPE_CFLAGS = $FREETYPE_CFLAGS
16947 FREETYPE_LIBS = $FREETYPE_LIBS
16949 GETTEXTPO_LIBS = $GETTEXTPO_LIBS
16950 GSTREAMER_CFLAGS = $GSTREAMER_CFLAGS
16951 GSTREAMER_LIBS = $GSTREAMER_LIBS
16952 ALSA_LIBS = $ALSA_LIBS
16953 OSS4_CFLAGS = $OSS4_CFLAGS
16954 CAPI20_CFLAGS = $CAPI20_CFLAGS
16955 CAPI20_LIBS = $CAPI20_LIBS
16956 CUPS_CFLAGS = $CUPS_CFLAGS
16957 FONTCONFIG_CFLAGS = $FONTCONFIG_CFLAGS
16958 FONTCONFIG_LIBS = $FONTCONFIG_LIBS
16959 JPEG_CFLAGS = $JPEG_CFLAGS
16960 JPEG_LIBS = $JPEG_LIBS
16961 PNG_CFLAGS = $PNG_CFLAGS
16962 PNG_LIBS = $PNG_LIBS
16963 TIFF_CFLAGS = $TIFF_CFLAGS
16964 TIFF_LIBS = $TIFF_LIBS
16965 MPG123_CFLAGS = $MPG123_CFLAGS
16966 MPG123_LIBS = $MPG123_LIBS
16967 KSTAT_LIBS = $KSTAT_LIBS
16968 PROCSTAT_LIBS = $PROCSTAT_LIBS
16970 POLL_LIBS = $POLL_LIBS
16972 LDAP_LIBS = $LDAP_LIBS
16977 wine_fn_append_rule
"
16978 # Rules automatically generated by configure
16980 CLEAN_FILES = *.o *.a *.so *.res *.fake *.ok *.tab.[ch] *.yy.c
16985 Makefile: $srcdir/Makefile.in $srcdir/Make.vars.in config.status \$(MAKEDEP)
16986 @./config.status Make.tmp Makefile"
16988 test "$srcdir" = .
&& wine_fn_append_rule
"all: .gitignore
16989 .gitignore: config.status
16990 @./config.status .gitignore"
16992 test -n "$CROSSTARGET" || wine_fn_append_rule
"crosstest:
16993 @echo \"crosstest is not supported (mingw not installed?)\" && false"
16995 if test "x$enable_fonts" != xno
; then
16996 ac_config_links
="$ac_config_links fonts/marlett.ttf:fonts/marlett.ttf"
16997 ac_config_links
="$ac_config_links fonts/symbol.ttf:fonts/symbol.ttf"
16998 ac_config_links
="$ac_config_links fonts/tahoma.ttf:fonts/tahoma.ttf"
16999 ac_config_links
="$ac_config_links fonts/tahomabd.ttf:fonts/tahomabd.ttf"
17000 test "$srcdir" = "." || wine_fn_config_symlink fonts
/marlett.ttf fonts
/symbol.ttf fonts
/tahoma.ttf fonts
/tahomabd.ttf
17002 ac_config_links
="$ac_config_links loader/l_intl.nls:loader/l_intl.nls"
17003 test "$srcdir" = "." || wine_fn_config_symlink loader
/l_intl.nls
17004 ac_config_links
="$ac_config_links po/LINGUAS:po/LINGUAS"
17005 test "$srcdir" = "." || wine_fn_config_symlink po
/LINGUAS
17006 ac_config_links
="$ac_config_links wine:tools/winewrapper"
17007 wine_fn_config_symlink wine
17008 if test "x$enable_win64" != xno
; then
17009 ac_config_links
="$ac_config_links wine64:tools/winewrapper"
17010 wine_fn_config_symlink wine64
17013 wine_fn_config_dll acledit enable_acledit
17014 wine_fn_config_dll aclui enable_aclui implib
17015 wine_fn_config_dll activeds enable_activeds implib
17016 wine_fn_config_dll actxprxy enable_actxprxy clean
17017 wine_fn_config_lib adsiid
17018 wine_fn_config_dll advapi32 enable_advapi32 clean
,implib
17019 wine_fn_config_test dlls
/advapi32
/tests advapi32_test
17020 wine_fn_config_dll advpack enable_advpack implib
17021 wine_fn_config_test dlls
/advpack
/tests advpack_test
17022 wine_fn_config_dll amstream enable_amstream clean
17023 wine_fn_config_test dlls
/amstream
/tests amstream_test
17024 wine_fn_config_dll api-ms-win-core-com-l1-1-0 enable_api_ms_win_core_com_l1_1_0
17025 wine_fn_config_dll api-ms-win-core-console-l1-1-0 enable_api_ms_win_core_console_l1_1_0
17026 wine_fn_config_dll api-ms-win-core-datetime-l1-1-0 enable_api_ms_win_core_datetime_l1_1_0
17027 wine_fn_config_dll api-ms-win-core-datetime-l1-1-1 enable_api_ms_win_core_datetime_l1_1_1
17028 wine_fn_config_dll api-ms-win-core-debug-l1-1-0 enable_api_ms_win_core_debug_l1_1_0
17029 wine_fn_config_dll api-ms-win-core-debug-l1-1-1 enable_api_ms_win_core_debug_l1_1_1
17030 wine_fn_config_dll api-ms-win-core-errorhandling-l1-1-0 enable_api_ms_win_core_errorhandling_l1_1_0
17031 wine_fn_config_dll api-ms-win-core-errorhandling-l1-1-1 enable_api_ms_win_core_errorhandling_l1_1_1
17032 wine_fn_config_dll api-ms-win-core-errorhandling-l1-1-2 enable_api_ms_win_core_errorhandling_l1_1_2
17033 wine_fn_config_dll api-ms-win-core-fibers-l1-1-0 enable_api_ms_win_core_fibers_l1_1_0
17034 wine_fn_config_dll api-ms-win-core-fibers-l1-1-1 enable_api_ms_win_core_fibers_l1_1_1
17035 wine_fn_config_dll api-ms-win-core-file-l1-1-0 enable_api_ms_win_core_file_l1_1_0
17036 wine_fn_config_dll api-ms-win-core-file-l1-2-0 enable_api_ms_win_core_file_l1_2_0
17037 wine_fn_config_dll api-ms-win-core-file-l2-1-0 enable_api_ms_win_core_file_l2_1_0
17038 wine_fn_config_dll api-ms-win-core-file-l2-1-1 enable_api_ms_win_core_file_l2_1_1
17039 wine_fn_config_dll api-ms-win-core-handle-l1-1-0 enable_api_ms_win_core_handle_l1_1_0
17040 wine_fn_config_dll api-ms-win-core-heap-l1-1-0 enable_api_ms_win_core_heap_l1_1_0
17041 wine_fn_config_dll api-ms-win-core-heap-l1-2-0 enable_api_ms_win_core_heap_l1_2_0
17042 wine_fn_config_dll api-ms-win-core-heap-obsolete-l1-1-0 enable_api_ms_win_core_heap_obsolete_l1_1_0
17043 wine_fn_config_dll api-ms-win-core-interlocked-l1-1-0 enable_api_ms_win_core_interlocked_l1_1_0
17044 wine_fn_config_dll api-ms-win-core-interlocked-l1-2-0 enable_api_ms_win_core_interlocked_l1_2_0
17045 wine_fn_config_dll api-ms-win-core-io-l1-1-1 enable_api_ms_win_core_io_l1_1_1
17046 wine_fn_config_dll api-ms-win-core-kernel32-legacy-l1-1-0 enable_api_ms_win_core_kernel32_legacy_l1_1_0
17047 wine_fn_config_dll api-ms-win-core-libraryloader-l1-1-0 enable_api_ms_win_core_libraryloader_l1_1_0
17048 wine_fn_config_dll api-ms-win-core-libraryloader-l1-1-1 enable_api_ms_win_core_libraryloader_l1_1_1
17049 wine_fn_config_dll api-ms-win-core-localization-l1-2-0 enable_api_ms_win_core_localization_l1_2_0
17050 wine_fn_config_dll api-ms-win-core-localization-l1-2-1 enable_api_ms_win_core_localization_l1_2_1
17051 wine_fn_config_dll api-ms-win-core-localization-obsolete-l1-1-0 enable_api_ms_win_core_localization_obsolete_l1_1_0
17052 wine_fn_config_dll api-ms-win-core-localregistry-l1-1-0 enable_api_ms_win_core_localregistry_l1_1_0
17053 wine_fn_config_dll api-ms-win-core-memory-l1-1-0 enable_api_ms_win_core_memory_l1_1_0
17054 wine_fn_config_dll api-ms-win-core-memory-l1-1-1 enable_api_ms_win_core_memory_l1_1_1
17055 wine_fn_config_dll api-ms-win-core-misc-l1-1-0 enable_api_ms_win_core_misc_l1_1_0
17056 wine_fn_config_dll api-ms-win-core-namedpipe-l1-1-0 enable_api_ms_win_core_namedpipe_l1_1_0
17057 wine_fn_config_dll api-ms-win-core-namedpipe-l1-2-0 enable_api_ms_win_core_namedpipe_l1_2_0
17058 wine_fn_config_dll api-ms-win-core-processenvironment-l1-1-0 enable_api_ms_win_core_processenvironment_l1_1_0
17059 wine_fn_config_dll api-ms-win-core-processenvironment-l1-2-0 enable_api_ms_win_core_processenvironment_l1_2_0
17060 wine_fn_config_dll api-ms-win-core-processthreads-l1-1-0 enable_api_ms_win_core_processthreads_l1_1_0
17061 wine_fn_config_dll api-ms-win-core-processthreads-l1-1-1 enable_api_ms_win_core_processthreads_l1_1_1
17062 wine_fn_config_dll api-ms-win-core-processthreads-l1-1-2 enable_api_ms_win_core_processthreads_l1_1_2
17063 wine_fn_config_dll api-ms-win-core-profile-l1-1-0 enable_api_ms_win_core_profile_l1_1_0
17064 wine_fn_config_dll api-ms-win-core-psapi-l1-1-0 enable_api_ms_win_core_psapi_l1_1_0
17065 wine_fn_config_dll api-ms-win-core-registry-l1-1-0 enable_api_ms_win_core_registry_l1_1_0
17066 wine_fn_config_dll api-ms-win-core-rtlsupport-l1-1-0 enable_api_ms_win_core_rtlsupport_l1_1_0
17067 wine_fn_config_dll api-ms-win-core-rtlsupport-l1-2-0 enable_api_ms_win_core_rtlsupport_l1_2_0
17068 wine_fn_config_dll api-ms-win-core-shlwapi-legacy-l1-1-0 enable_api_ms_win_core_shlwapi_legacy_l1_1_0
17069 wine_fn_config_dll api-ms-win-core-string-l1-1-0 enable_api_ms_win_core_string_l1_1_0
17070 wine_fn_config_dll api-ms-win-core-synch-l1-1-0 enable_api_ms_win_core_synch_l1_1_0
17071 wine_fn_config_dll api-ms-win-core-synch-l1-2-0 enable_api_ms_win_core_synch_l1_2_0
17072 wine_fn_config_dll api-ms-win-core-sysinfo-l1-1-0 enable_api_ms_win_core_sysinfo_l1_1_0
17073 wine_fn_config_dll api-ms-win-core-sysinfo-l1-2-0 enable_api_ms_win_core_sysinfo_l1_2_0
17074 wine_fn_config_dll api-ms-win-core-sysinfo-l1-2-1 enable_api_ms_win_core_sysinfo_l1_2_1
17075 wine_fn_config_dll api-ms-win-core-threadpool-legacy-l1-1-0 enable_api_ms_win_core_threadpool_legacy_l1_1_0
17076 wine_fn_config_dll api-ms-win-core-timezone-l1-1-0 enable_api_ms_win_core_timezone_l1_1_0
17077 wine_fn_config_dll api-ms-win-core-url-l1-1-0 enable_api_ms_win_core_url_l1_1_0
17078 wine_fn_config_dll api-ms-win-core-util-l1-1-0 enable_api_ms_win_core_util_l1_1_0
17079 wine_fn_config_dll api-ms-win-core-winrt-error-l1-1-0 enable_api_ms_win_core_winrt_error_l1_1_0
17080 wine_fn_config_dll api-ms-win-core-winrt-error-l1-1-1 enable_api_ms_win_core_winrt_error_l1_1_1
17081 wine_fn_config_dll api-ms-win-core-winrt-l1-1-0 enable_api_ms_win_core_winrt_l1_1_0
17082 wine_fn_config_dll api-ms-win-core-winrt-string-l1-1-0 enable_api_ms_win_core_winrt_string_l1_1_0
17083 wine_fn_config_dll api-ms-win-core-xstate-l2-1-0 enable_api_ms_win_core_xstate_l2_1_0
17084 wine_fn_config_dll api-ms-win-downlevel-advapi32-l1-1-0 enable_api_ms_win_downlevel_advapi32_l1_1_0
17085 wine_fn_config_dll api-ms-win-downlevel-advapi32-l2-1-0 enable_api_ms_win_downlevel_advapi32_l2_1_0
17086 wine_fn_config_dll api-ms-win-downlevel-normaliz-l1-1-0 enable_api_ms_win_downlevel_normaliz_l1_1_0
17087 wine_fn_config_dll api-ms-win-downlevel-ole32-l1-1-0 enable_api_ms_win_downlevel_ole32_l1_1_0
17088 wine_fn_config_dll api-ms-win-downlevel-shell32-l1-1-0 enable_api_ms_win_downlevel_shell32_l1_1_0
17089 wine_fn_config_dll api-ms-win-downlevel-shlwapi-l1-1-0 enable_api_ms_win_downlevel_shlwapi_l1_1_0
17090 wine_fn_config_dll api-ms-win-downlevel-shlwapi-l2-1-0 enable_api_ms_win_downlevel_shlwapi_l2_1_0
17091 wine_fn_config_dll api-ms-win-downlevel-user32-l1-1-0 enable_api_ms_win_downlevel_user32_l1_1_0
17092 wine_fn_config_dll api-ms-win-downlevel-version-l1-1-0 enable_api_ms_win_downlevel_version_l1_1_0
17093 wine_fn_config_dll api-ms-win-eventing-provider-l1-1-0 enable_api_ms_win_eventing_provider_l1_1_0
17094 wine_fn_config_dll api-ms-win-ntuser-dc-access-l1-1-0 enable_api_ms_win_ntuser_dc_access_l1_1_0
17095 wine_fn_config_dll api-ms-win-security-base-l1-1-0 enable_api_ms_win_security_base_l1_1_0
17096 wine_fn_config_dll api-ms-win-security-base-l1-2-0 enable_api_ms_win_security_base_l1_2_0
17097 wine_fn_config_dll api-ms-win-security-sddl-l1-1-0 enable_api_ms_win_security_sddl_l1_1_0
17098 wine_fn_config_dll api-ms-win-service-core-l1-1-1 enable_api_ms_win_service_core_l1_1_1
17099 wine_fn_config_dll api-ms-win-service-management-l1-1-0 enable_api_ms_win_service_management_l1_1_0
17100 wine_fn_config_dll api-ms-win-service-winsvc-l1-2-0 enable_api_ms_win_service_winsvc_l1_2_0
17101 wine_fn_config_dll apphelp enable_apphelp
17102 wine_fn_config_test dlls
/apphelp
/tests apphelp_test
17103 wine_fn_config_dll appwiz.cpl enable_appwiz_cpl po
17104 wine_fn_config_dll atl enable_atl clean
,implib
17105 wine_fn_config_test dlls
/atl
/tests atl_test
17106 wine_fn_config_dll atl100 enable_atl100 clean
,implib
17107 wine_fn_config_test dlls
/atl100
/tests atl100_test
17108 wine_fn_config_dll atl110 enable_atl110 clean
17109 wine_fn_config_dll atl80 enable_atl80 clean
,implib
17110 wine_fn_config_test dlls
/atl80
/tests atl80_test
17111 wine_fn_config_dll atl90 enable_atl90 clean
17112 wine_fn_config_dll authz enable_authz
17113 wine_fn_config_dll avicap32 enable_avicap32 implib
17114 wine_fn_config_dll avifil32 enable_avifil32 clean
,implib
,po
17115 wine_fn_config_test dlls
/avifil32
/tests avifil32_test
17116 wine_fn_config_dll avifile.dll16 enable_win16
17117 wine_fn_config_dll avrt enable_avrt implib
17118 wine_fn_config_dll bcrypt enable_bcrypt
17119 wine_fn_config_test dlls
/bcrypt
/tests bcrypt_test
17120 wine_fn_config_dll browseui enable_browseui clean
,po
17121 wine_fn_config_test dlls
/browseui
/tests browseui_test
17122 wine_fn_config_dll cabinet enable_cabinet implib
17123 wine_fn_config_test dlls
/cabinet
/tests cabinet_test
17124 wine_fn_config_dll capi2032 enable_capi2032 implib
17125 wine_fn_config_dll cards enable_cards implib
17126 wine_fn_config_dll cfgmgr32 enable_cfgmgr32 implib
17127 wine_fn_config_dll clusapi enable_clusapi implib
17128 wine_fn_config_dll combase enable_combase
17129 wine_fn_config_test dlls
/combase
/tests combase_test
17130 wine_fn_config_dll comcat enable_comcat
17131 wine_fn_config_test dlls
/comcat
/tests comcat_test
17132 wine_fn_config_dll comctl32 enable_comctl32 implib
,po
17133 wine_fn_config_test dlls
/comctl32
/tests comctl32_test
17134 wine_fn_config_dll comdlg32 enable_comdlg32 clean
,implib
,po
17135 wine_fn_config_test dlls
/comdlg32
/tests comdlg32_test
17136 wine_fn_config_dll
comm.drv16 enable_win16
17137 wine_fn_config_dll commdlg.dll16 enable_win16
17138 wine_fn_config_dll compobj.dll16 enable_win16
17139 wine_fn_config_dll compstui enable_compstui implib
17140 wine_fn_config_dll comsvcs enable_comsvcs implib
17141 wine_fn_config_dll connect enable_connect
17142 wine_fn_config_dll credui enable_credui implib
,po
17143 wine_fn_config_test dlls
/credui
/tests credui_test
17144 wine_fn_config_dll crtdll enable_crtdll implib
17145 wine_fn_config_dll crypt32 enable_crypt32 implib
,po
17146 wine_fn_config_test dlls
/crypt32
/tests crypt32_test
17147 wine_fn_config_dll cryptdlg enable_cryptdlg po
17148 wine_fn_config_dll cryptdll enable_cryptdll implib
17149 wine_fn_config_dll cryptext enable_cryptext
17150 wine_fn_config_dll cryptnet enable_cryptnet implib
17151 wine_fn_config_test dlls
/cryptnet
/tests cryptnet_test
17152 wine_fn_config_dll cryptui enable_cryptui implib
,po
17153 wine_fn_config_test dlls
/cryptui
/tests cryptui_test
17154 wine_fn_config_dll ctapi32 enable_ctapi32
17155 wine_fn_config_dll ctl3d.dll16 enable_win16
17156 wine_fn_config_dll ctl3d32 enable_ctl3d32 implib
17157 wine_fn_config_dll ctl3dv2.dll16 enable_win16
17158 wine_fn_config_dll d2d1 enable_d2d1 implib
17159 wine_fn_config_test dlls
/d2d
1/tests d2d1_test
17160 wine_fn_config_dll d3d10 enable_d3d10 implib
17161 wine_fn_config_test dlls
/d3d10
/tests d3d10_test
17162 wine_fn_config_dll d3d10_1 enable_d3d10_1 implib
17163 wine_fn_config_dll d3d10core enable_d3d10core implib
17164 wine_fn_config_test dlls
/d3d10core
/tests d3d10core_test
17165 wine_fn_config_dll d3d11 enable_d3d11
17166 wine_fn_config_dll d3d8 enable_d3d8 implib
17167 wine_fn_config_test dlls
/d3d
8/tests d3d8_test
17168 wine_fn_config_dll d3d9 enable_d3d9 implib
17169 wine_fn_config_test dlls
/d3d
9/tests d3d9_test
17170 wine_fn_config_dll d3dcompiler_33 enable_d3dcompiler_33
17171 wine_fn_config_dll d3dcompiler_34 enable_d3dcompiler_34
17172 wine_fn_config_dll d3dcompiler_35 enable_d3dcompiler_35
17173 wine_fn_config_dll d3dcompiler_36 enable_d3dcompiler_36
17174 wine_fn_config_dll d3dcompiler_37 enable_d3dcompiler_37
17175 wine_fn_config_dll d3dcompiler_38 enable_d3dcompiler_38
17176 wine_fn_config_dll d3dcompiler_39 enable_d3dcompiler_39
17177 wine_fn_config_dll d3dcompiler_40 enable_d3dcompiler_40
17178 wine_fn_config_dll d3dcompiler_41 enable_d3dcompiler_41
17179 wine_fn_config_dll d3dcompiler_42 enable_d3dcompiler_42
17180 wine_fn_config_dll d3dcompiler_43 enable_d3dcompiler_43 implib d3dcompiler
17181 wine_fn_config_test dlls
/d3dcompiler_43
/tests d3dcompiler_43_test
17182 wine_fn_config_dll d3dim enable_d3dim implib
17183 wine_fn_config_dll d3drm enable_d3drm implib
17184 wine_fn_config_test dlls
/d3drm
/tests d3drm_test
17185 wine_fn_config_dll d3dx10_33 enable_d3dx10_33
17186 wine_fn_config_dll d3dx10_34 enable_d3dx10_34
17187 wine_fn_config_dll d3dx10_35 enable_d3dx10_35
17188 wine_fn_config_dll d3dx10_36 enable_d3dx10_36
17189 wine_fn_config_dll d3dx10_37 enable_d3dx10_37
17190 wine_fn_config_dll d3dx10_38 enable_d3dx10_38
17191 wine_fn_config_dll d3dx10_39 enable_d3dx10_39
17192 wine_fn_config_dll d3dx10_40 enable_d3dx10_40
17193 wine_fn_config_dll d3dx10_41 enable_d3dx10_41
17194 wine_fn_config_dll d3dx10_42 enable_d3dx10_42
17195 wine_fn_config_dll d3dx10_43 enable_d3dx10_43
17196 wine_fn_config_dll d3dx11_42 enable_d3dx11_42
17197 wine_fn_config_dll d3dx11_43 enable_d3dx11_43
17198 wine_fn_config_dll d3dx9_24 enable_d3dx9_24
17199 wine_fn_config_dll d3dx9_25 enable_d3dx9_25
17200 wine_fn_config_dll d3dx9_26 enable_d3dx9_26
17201 wine_fn_config_dll d3dx9_27 enable_d3dx9_27
17202 wine_fn_config_dll d3dx9_28 enable_d3dx9_28
17203 wine_fn_config_dll d3dx9_29 enable_d3dx9_29
17204 wine_fn_config_dll d3dx9_30 enable_d3dx9_30
17205 wine_fn_config_dll d3dx9_31 enable_d3dx9_31
17206 wine_fn_config_dll d3dx9_32 enable_d3dx9_32
17207 wine_fn_config_dll d3dx9_33 enable_d3dx9_33
17208 wine_fn_config_dll d3dx9_34 enable_d3dx9_34
17209 wine_fn_config_dll d3dx9_35 enable_d3dx9_35
17210 wine_fn_config_dll d3dx9_36 enable_d3dx9_36 implib d3dx9
17211 wine_fn_config_test dlls
/d3dx9_36
/tests d3dx9_36_test
17212 wine_fn_config_dll d3dx9_37 enable_d3dx9_37
17213 wine_fn_config_dll d3dx9_38 enable_d3dx9_38
17214 wine_fn_config_dll d3dx9_39 enable_d3dx9_39
17215 wine_fn_config_dll d3dx9_40 enable_d3dx9_40
17216 wine_fn_config_dll d3dx9_41 enable_d3dx9_41
17217 wine_fn_config_dll d3dx9_42 enable_d3dx9_42
17218 wine_fn_config_dll d3dx9_43 enable_d3dx9_43
17219 wine_fn_config_dll d3dxof enable_d3dxof clean
,implib
17220 wine_fn_config_test dlls
/d3dxof
/tests d3dxof_test
17221 wine_fn_config_dll dbgeng enable_dbgeng implib
17222 wine_fn_config_dll dbghelp enable_dbghelp implib
17223 wine_fn_config_dll dciman32 enable_dciman32 implib
17224 wine_fn_config_dll ddeml.dll16 enable_win16
17225 wine_fn_config_dll ddraw enable_ddraw clean
,implib
17226 wine_fn_config_test dlls
/ddraw
/tests ddraw_test
17227 wine_fn_config_dll ddrawex enable_ddrawex clean
17228 wine_fn_config_test dlls
/ddrawex
/tests ddrawex_test
17229 wine_fn_config_dll devenum enable_devenum clean
,po
17230 wine_fn_config_test dlls
/devenum
/tests devenum_test
17231 wine_fn_config_dll dhcpcsvc enable_dhcpcsvc
17232 wine_fn_config_dll difxapi enable_difxapi
17233 wine_fn_config_dll dinput enable_dinput clean
,implib
,po
,staticimplib
17234 wine_fn_config_test dlls
/dinput
/tests dinput_test
17235 wine_fn_config_dll dinput8 enable_dinput8 clean
,implib
17236 wine_fn_config_test dlls
/dinput
8/tests dinput8_test
17237 wine_fn_config_dll dispdib.dll16 enable_win16
17238 wine_fn_config_dll dispex enable_dispex clean
17239 wine_fn_config_test dlls
/dispex
/tests dispex_test
17240 wine_fn_config_dll display.drv16 enable_win16
17241 wine_fn_config_dll dmband enable_dmband clean
17242 wine_fn_config_test dlls
/dmband
/tests dmband_test
17243 wine_fn_config_dll dmcompos enable_dmcompos clean
17244 wine_fn_config_test dlls
/dmcompos
/tests dmcompos_test
17245 wine_fn_config_dll dmime enable_dmime clean
17246 wine_fn_config_test dlls
/dmime
/tests dmime_test
17247 wine_fn_config_dll dmloader enable_dmloader clean
17248 wine_fn_config_test dlls
/dmloader
/tests dmloader_test
17249 wine_fn_config_dll dmscript enable_dmscript clean
17250 wine_fn_config_test dlls
/dmscript
/tests dmscript_test
17251 wine_fn_config_dll dmstyle enable_dmstyle clean
17252 wine_fn_config_test dlls
/dmstyle
/tests dmstyle_test
17253 wine_fn_config_dll dmsynth enable_dmsynth clean
17254 wine_fn_config_test dlls
/dmsynth
/tests dmsynth_test
17255 wine_fn_config_dll dmusic enable_dmusic clean
17256 wine_fn_config_test dlls
/dmusic
/tests dmusic_test
17257 wine_fn_config_dll dmusic32 enable_dmusic32 implib
17258 wine_fn_config_dll dnsapi enable_dnsapi implib
17259 wine_fn_config_test dlls
/dnsapi
/tests dnsapi_test
17260 wine_fn_config_dll dplay enable_dplay implib
17261 wine_fn_config_dll dplayx enable_dplayx clean
,implib
17262 wine_fn_config_test dlls
/dplayx
/tests dplayx_test
17263 wine_fn_config_dll dpnaddr enable_dpnaddr
17264 wine_fn_config_dll dpnet enable_dpnet clean
,implib
17265 wine_fn_config_test dlls
/dpnet
/tests dpnet_test
17266 wine_fn_config_dll dpnhpast enable_dpnhpast
17267 wine_fn_config_dll dpnlobby enable_dpnlobby
17268 wine_fn_config_dll dpvoice enable_dpvoice clean
17269 wine_fn_config_test dlls
/dpvoice
/tests dpvoice_test
17270 wine_fn_config_dll dpwsockx enable_dpwsockx
17271 wine_fn_config_dll drmclien enable_drmclien
17272 wine_fn_config_dll dsound enable_dsound clean
,implib
17273 wine_fn_config_test dlls
/dsound
/tests dsound_test
17274 wine_fn_config_dll dssenh enable_dssenh
17275 wine_fn_config_test dlls
/dssenh
/tests dssenh_test
17276 wine_fn_config_dll dswave enable_dswave clean
17277 wine_fn_config_test dlls
/dswave
/tests dswave_test
17278 wine_fn_config_dll dwmapi enable_dwmapi implib
17279 wine_fn_config_dll dwrite enable_dwrite implib
17280 wine_fn_config_test dlls
/dwrite
/tests dwrite_test
17281 wine_fn_config_dll dxdiagn enable_dxdiagn clean
,po
17282 wine_fn_config_test dlls
/dxdiagn
/tests dxdiagn_test
17283 wine_fn_config_lib dxerr8
17284 wine_fn_config_lib dxerr9
17285 wine_fn_config_dll dxgi enable_dxgi implib
17286 wine_fn_config_test dlls
/dxgi
/tests dxgi_test
17287 wine_fn_config_lib dxguid
17288 wine_fn_config_dll dxva2 enable_dxva2
17289 wine_fn_config_dll evr enable_evr
17290 wine_fn_config_dll explorerframe enable_explorerframe clean
17291 wine_fn_config_test dlls
/explorerframe
/tests explorerframe_test
17292 wine_fn_config_dll ext-ms-win-gdi-devcaps-l1-1-0 enable_ext_ms_win_gdi_devcaps_l1_1_0
17293 wine_fn_config_dll faultrep enable_faultrep implib
17294 wine_fn_config_test dlls
/faultrep
/tests faultrep_test
17295 wine_fn_config_dll fltlib enable_fltlib
17296 wine_fn_config_dll fntcache enable_fntcache
17297 wine_fn_config_dll fontsub enable_fontsub
17298 wine_fn_config_dll fusion enable_fusion
17299 wine_fn_config_test dlls
/fusion
/tests fusion_test
17300 wine_fn_config_dll fwpuclnt enable_fwpuclnt
17301 wine_fn_config_dll gameux enable_gameux clean
17302 wine_fn_config_test dlls
/gameux
/tests gameux_test
17303 wine_fn_config_dll gdi.exe16 enable_win16
17304 wine_fn_config_dll gdi32 enable_gdi32 clean
,implib
,po
17305 wine_fn_config_test dlls
/gdi32
/tests gdi32_test
17306 wine_fn_config_dll gdiplus enable_gdiplus implib
17307 wine_fn_config_test dlls
/gdiplus
/tests gdiplus_test
17308 wine_fn_config_dll glu32 enable_glu32 implib
17309 wine_fn_config_dll gphoto2.ds enable_gphoto2_ds po
17310 wine_fn_config_dll gpkcsp enable_gpkcsp
17311 wine_fn_config_dll hal enable_hal
17312 wine_fn_config_dll hhctrl.ocx enable_hhctrl_ocx clean
,implib
,po htmlhelp
17313 wine_fn_config_dll hid enable_hid implib
17314 wine_fn_config_dll hlink enable_hlink clean
,implib
17315 wine_fn_config_test dlls
/hlink
/tests hlink_test
17316 wine_fn_config_dll hnetcfg enable_hnetcfg clean
17317 wine_fn_config_dll httpapi enable_httpapi
17318 wine_fn_config_dll iccvid enable_iccvid po
17319 wine_fn_config_dll icmp enable_icmp
17320 wine_fn_config_dll ieframe enable_ieframe clean
,implib
,po
17321 wine_fn_config_test dlls
/ieframe
/tests ieframe_test
17322 wine_fn_config_dll ifsmgr.vxd enable_win16
17323 wine_fn_config_dll imaadp32.acm enable_imaadp32_acm
17324 wine_fn_config_dll imagehlp enable_imagehlp implib
17325 wine_fn_config_test dlls
/imagehlp
/tests imagehlp_test
17326 wine_fn_config_dll imm.dll16 enable_win16
17327 wine_fn_config_dll imm32 enable_imm32 implib
17328 wine_fn_config_test dlls
/imm32
/tests imm32_test
17329 wine_fn_config_dll inetcomm enable_inetcomm clean
,implib
17330 wine_fn_config_test dlls
/inetcomm
/tests inetcomm_test
17331 wine_fn_config_dll inetcpl.cpl enable_inetcpl_cpl po
17332 wine_fn_config_dll inetmib1 enable_inetmib1
17333 wine_fn_config_test dlls
/inetmib
1/tests inetmib1_test
17334 wine_fn_config_dll infosoft enable_infosoft clean
17335 wine_fn_config_test dlls
/infosoft
/tests infosoft_test
17336 wine_fn_config_dll initpki enable_initpki
17337 wine_fn_config_dll inkobj enable_inkobj
17338 wine_fn_config_dll inseng enable_inseng clean
17339 wine_fn_config_dll iphlpapi enable_iphlpapi implib
17340 wine_fn_config_test dlls
/iphlpapi
/tests iphlpapi_test
17341 wine_fn_config_dll itircl enable_itircl
17342 wine_fn_config_dll itss enable_itss clean
17343 wine_fn_config_test dlls
/itss
/tests itss_test
17344 wine_fn_config_dll joy.cpl enable_joy_cpl po
17345 wine_fn_config_dll jscript enable_jscript clean
,po
17346 wine_fn_config_test dlls
/jscript
/tests jscript_test
17347 wine_fn_config_dll jsproxy enable_jsproxy implib
17348 wine_fn_config_dll kernel32 enable_kernel32 clean
,implib
,mc
17349 wine_fn_config_test dlls
/kernel32
/tests kernel32_test
17350 wine_fn_config_dll keyboard.drv16 enable_win16
17351 wine_fn_config_dll krnl386.exe16 enable_win16 implib kernel
17352 wine_fn_config_dll ksuser enable_ksuser
17353 wine_fn_config_dll ktmw32 enable_ktmw32
17354 wine_fn_config_dll loadperf enable_loadperf implib
17355 wine_fn_config_dll localspl enable_localspl po
17356 wine_fn_config_test dlls
/localspl
/tests localspl_test
17357 wine_fn_config_dll localui enable_localui po
17358 wine_fn_config_test dlls
/localui
/tests localui_test
17359 wine_fn_config_dll lz32 enable_lz32 implib
17360 wine_fn_config_test dlls
/lz32
/tests lz32_test
17361 wine_fn_config_dll lzexpand.dll16 enable_win16
17362 wine_fn_config_dll mapi32 enable_mapi32 implib
,po
17363 wine_fn_config_test dlls
/mapi32
/tests mapi32_test
17364 wine_fn_config_dll mapistub enable_mapistub
17365 wine_fn_config_dll mciavi32 enable_mciavi32
17366 wine_fn_config_dll mcicda enable_mcicda
17367 wine_fn_config_dll mciqtz32 enable_mciqtz32
17368 wine_fn_config_dll mciseq enable_mciseq
17369 wine_fn_config_dll mciwave enable_mciwave
17370 wine_fn_config_dll mf enable_mf
17371 wine_fn_config_dll mfplat enable_mfplat
17372 wine_fn_config_dll mfreadwrite enable_mfreadwrite
17373 wine_fn_config_dll mgmtapi enable_mgmtapi
17374 wine_fn_config_dll midimap enable_midimap
17375 wine_fn_config_dll mlang enable_mlang clean
,implib
17376 wine_fn_config_test dlls
/mlang
/tests mlang_test
17377 wine_fn_config_dll mmcndmgr enable_mmcndmgr clean
17378 wine_fn_config_test dlls
/mmcndmgr
/tests mmcndmgr_test
17379 wine_fn_config_dll mmdevapi enable_mmdevapi clean
17380 wine_fn_config_test dlls
/mmdevapi
/tests mmdevapi_test
17381 wine_fn_config_dll mmdevldr.vxd enable_win16
17382 wine_fn_config_dll mmsystem.dll16 enable_win16
17383 wine_fn_config_dll monodebg.vxd enable_win16
17384 wine_fn_config_dll mountmgr.sys enable_mountmgr_sys
17385 wine_fn_config_dll mouse.drv16 enable_win16
17386 wine_fn_config_dll mpr enable_mpr implib
,po
17387 wine_fn_config_test dlls
/mpr
/tests mpr_test
17388 wine_fn_config_dll mprapi enable_mprapi implib
17389 wine_fn_config_dll msacm.dll16 enable_win16
17390 wine_fn_config_dll msacm32.drv enable_msacm32_drv
17391 wine_fn_config_dll msacm32 enable_msacm32 implib
,po
17392 wine_fn_config_test dlls
/msacm32
/tests msacm32_test
17393 wine_fn_config_dll msadp32.acm enable_msadp32_acm
17394 wine_fn_config_dll msasn1 enable_msasn1 implib
17395 wine_fn_config_dll mscat32 enable_mscat32
17396 wine_fn_config_dll mscms enable_mscms implib
17397 wine_fn_config_test dlls
/mscms
/tests mscms_test
17398 wine_fn_config_dll mscoree enable_mscoree clean
17399 wine_fn_config_test dlls
/mscoree
/tests mscoree_test
17400 wine_fn_config_dll msctf enable_msctf clean
17401 wine_fn_config_test dlls
/msctf
/tests msctf_test
17402 wine_fn_config_dll msctfp enable_msctfp clean
17403 wine_fn_config_dll msdaps enable_msdaps clean
17404 wine_fn_config_dll msdmo enable_msdmo implib
17405 wine_fn_config_test dlls
/msdmo
/tests msdmo_test
17406 wine_fn_config_dll msftedit enable_msftedit
17407 wine_fn_config_dll msg711.acm enable_msg711_acm
17408 wine_fn_config_dll msgsm32.acm enable_msgsm32_acm
17409 wine_fn_config_dll mshtml.tlb enable_mshtml_tlb clean
17410 wine_fn_config_dll mshtml enable_mshtml clean
,implib
,po
17411 wine_fn_config_test dlls
/mshtml
/tests mshtml_test clean
17412 wine_fn_config_dll msi enable_msi clean
,implib
,po
17413 wine_fn_config_test dlls
/msi
/tests msi_test
17414 wine_fn_config_dll msident enable_msident clean
17415 wine_fn_config_dll msimg32 enable_msimg32 implib
17416 wine_fn_config_dll msimsg enable_msimsg
17417 wine_fn_config_dll msimtf enable_msimtf clean
17418 wine_fn_config_dll msisip enable_msisip
17419 wine_fn_config_dll msisys.ocx enable_msisys_ocx
17420 wine_fn_config_dll msls31 enable_msls31
17421 wine_fn_config_dll msnet32 enable_msnet32
17422 wine_fn_config_dll mspatcha enable_mspatcha implib
17423 wine_fn_config_dll msrle32 enable_msrle32 po
17424 wine_fn_config_test dlls
/msrle32
/tests msrle32_test
17425 wine_fn_config_dll mssign32 enable_mssign32
17426 wine_fn_config_dll mssip32 enable_mssip32
17427 wine_fn_config_dll mstask enable_mstask clean
17428 wine_fn_config_test dlls
/mstask
/tests mstask_test
17429 wine_fn_config_dll msvcirt enable_msvcirt
17430 wine_fn_config_test dlls
/msvcirt
/tests msvcirt_test
17431 wine_fn_config_dll msvcm80 enable_msvcm80
17432 wine_fn_config_dll msvcm90 enable_msvcm90
17433 wine_fn_config_dll msvcp100 enable_msvcp100
17434 wine_fn_config_test dlls
/msvcp100
/tests msvcp100_test
17435 wine_fn_config_dll msvcp110 enable_msvcp110
17436 wine_fn_config_dll msvcp120 enable_msvcp120
17437 wine_fn_config_test dlls
/msvcp120
/tests msvcp120_test
17438 wine_fn_config_dll msvcp120_app enable_msvcp120_app
17439 wine_fn_config_dll msvcp60 enable_msvcp60
17440 wine_fn_config_test dlls
/msvcp60
/tests msvcp60_test
17441 wine_fn_config_dll msvcp70 enable_msvcp70
17442 wine_fn_config_dll msvcp71 enable_msvcp71
17443 wine_fn_config_dll msvcp80 enable_msvcp80
17444 wine_fn_config_dll msvcp90 enable_msvcp90
17445 wine_fn_config_test dlls
/msvcp90
/tests msvcp90_test
17446 wine_fn_config_dll msvcr100 enable_msvcr100 implib
17447 wine_fn_config_test dlls
/msvcr100
/tests msvcr100_test
17448 wine_fn_config_dll msvcr110 enable_msvcr110 implib
17449 wine_fn_config_dll msvcr120 enable_msvcr120 implib
17450 wine_fn_config_test dlls
/msvcr120
/tests msvcr120_test
17451 wine_fn_config_dll msvcr120_app enable_msvcr120_app
17452 wine_fn_config_dll msvcr70 enable_msvcr70 implib
17453 wine_fn_config_dll msvcr71 enable_msvcr71 implib
17454 wine_fn_config_dll msvcr80 enable_msvcr80 implib
17455 wine_fn_config_dll msvcr90 enable_msvcr90 implib
17456 wine_fn_config_test dlls
/msvcr90
/tests msvcr90_test
17457 wine_fn_config_dll msvcrt enable_msvcrt implib
17458 wine_fn_config_test dlls
/msvcrt
/tests msvcrt_test
17459 wine_fn_config_dll msvcrt20 enable_msvcrt20 implib
17460 wine_fn_config_dll msvcrt40 enable_msvcrt40 implib
17461 wine_fn_config_dll msvcrtd enable_msvcrtd implib
17462 wine_fn_config_test dlls
/msvcrtd
/tests msvcrtd_test
17463 wine_fn_config_dll msvfw32 enable_msvfw32 implib
,po
17464 wine_fn_config_test dlls
/msvfw32
/tests msvfw32_test
17465 wine_fn_config_dll msvidc32 enable_msvidc32 po
17466 wine_fn_config_dll msvideo.dll16 enable_win16
17467 wine_fn_config_dll mswsock enable_mswsock implib
17468 wine_fn_config_dll msxml enable_msxml clean
17469 wine_fn_config_dll msxml2 enable_msxml2 clean
17470 wine_fn_config_dll msxml3 enable_msxml3 clean
17471 wine_fn_config_test dlls
/msxml
3/tests msxml3_test clean
17472 wine_fn_config_dll msxml4 enable_msxml4 clean
17473 wine_fn_config_dll msxml6 enable_msxml6 clean
17474 wine_fn_config_dll nddeapi enable_nddeapi implib
17475 wine_fn_config_dll ndis.sys enable_ndis_sys
17476 wine_fn_config_dll netapi32 enable_netapi32 implib
17477 wine_fn_config_test dlls
/netapi32
/tests netapi32_test
17478 wine_fn_config_dll netcfgx enable_netcfgx clean
17479 wine_fn_config_test dlls
/netcfgx
/tests netcfgx_test
17480 wine_fn_config_dll netprofm enable_netprofm clean
17481 wine_fn_config_test dlls
/netprofm
/tests netprofm_test
17482 wine_fn_config_dll newdev enable_newdev implib
17483 wine_fn_config_dll normaliz enable_normaliz implib
17484 wine_fn_config_dll npmshtml enable_npmshtml
17485 wine_fn_config_dll npptools enable_npptools
17486 wine_fn_config_dll ntdll enable_ntdll implib
17487 wine_fn_config_test dlls
/ntdll
/tests ntdll_test
17488 wine_fn_config_dll ntdsapi enable_ntdsapi implib
17489 wine_fn_config_test dlls
/ntdsapi
/tests ntdsapi_test
17490 wine_fn_config_dll ntoskrnl.exe enable_ntoskrnl_exe implib
17491 wine_fn_config_dll ntprint enable_ntprint
17492 wine_fn_config_test dlls
/ntprint
/tests ntprint_test
17493 wine_fn_config_dll objsel enable_objsel clean
17494 wine_fn_config_dll odbc32 enable_odbc32 implib
17495 wine_fn_config_dll odbccp32 enable_odbccp32 implib
17496 wine_fn_config_test dlls
/odbccp32
/tests odbccp32_test
17497 wine_fn_config_dll odbccu32 enable_odbccu32
17498 wine_fn_config_dll ole2.dll16 enable_win16
17499 wine_fn_config_dll ole2conv.dll16 enable_win16
17500 wine_fn_config_dll ole2disp.dll16 enable_win16
17501 wine_fn_config_dll ole2nls.dll16 enable_win16
17502 wine_fn_config_dll ole2prox.dll16 enable_win16
17503 wine_fn_config_dll ole2thk.dll16 enable_win16
17504 wine_fn_config_dll ole32 enable_ole32 clean
,implib
17505 wine_fn_config_test dlls
/ole32
/tests ole32_test
17506 wine_fn_config_dll oleacc enable_oleacc clean
,implib
,po
17507 wine_fn_config_test dlls
/oleacc
/tests oleacc_test
17508 wine_fn_config_dll oleaut32 enable_oleaut32 clean
,implib
,po
17509 wine_fn_config_test dlls
/oleaut32
/tests oleaut32_test clean
17510 wine_fn_config_dll olecli.dll16 enable_win16
17511 wine_fn_config_dll olecli32 enable_olecli32 implib
17512 wine_fn_config_dll oledb32 enable_oledb32 clean
17513 wine_fn_config_test dlls
/oledb32
/tests oledb32_test clean
17514 wine_fn_config_dll oledlg enable_oledlg implib
,po
17515 wine_fn_config_test dlls
/oledlg
/tests oledlg_test
17516 wine_fn_config_dll olepro32 enable_olepro32 implib
17517 wine_fn_config_dll olesvr.dll16 enable_win16
17518 wine_fn_config_dll olesvr32 enable_olesvr32 implib
17519 wine_fn_config_dll olethk32 enable_olethk32
17520 wine_fn_config_dll openal32 enable_openal32
17521 wine_fn_config_dll opencl enable_opencl
17522 wine_fn_config_dll opengl32 enable_opengl32 implib
17523 wine_fn_config_test dlls
/opengl32
/tests opengl32_test
17524 wine_fn_config_dll packager enable_packager clean
17525 wine_fn_config_test dlls
/packager
/tests packager_test
17526 wine_fn_config_dll pdh enable_pdh implib
17527 wine_fn_config_test dlls
/pdh
/tests pdh_test
17528 wine_fn_config_dll photometadatahandler enable_photometadatahandler
17529 wine_fn_config_dll pidgen enable_pidgen
17530 wine_fn_config_dll powrprof enable_powrprof implib
17531 wine_fn_config_dll printui enable_printui
17532 wine_fn_config_dll prntvpt enable_prntvpt
17533 wine_fn_config_dll propsys enable_propsys clean
,implib
17534 wine_fn_config_test dlls
/propsys
/tests propsys_test
17535 wine_fn_config_dll psapi enable_psapi implib
17536 wine_fn_config_test dlls
/psapi
/tests psapi_test
17537 wine_fn_config_dll pstorec enable_pstorec clean
17538 wine_fn_config_dll qcap enable_qcap
17539 wine_fn_config_test dlls
/qcap
/tests qcap_test
17540 wine_fn_config_dll qedit enable_qedit clean
17541 wine_fn_config_test dlls
/qedit
/tests qedit_test
17542 wine_fn_config_dll qmgr enable_qmgr clean
17543 wine_fn_config_test dlls
/qmgr
/tests qmgr_test
17544 wine_fn_config_dll qmgrprxy enable_qmgrprxy clean
17545 wine_fn_config_dll quartz enable_quartz clean
,implib
17546 wine_fn_config_test dlls
/quartz
/tests quartz_test clean
17547 wine_fn_config_dll query enable_query
17548 wine_fn_config_dll rasapi16.dll16 enable_win16
17549 wine_fn_config_dll rasapi32 enable_rasapi32 implib
17550 wine_fn_config_test dlls
/rasapi32
/tests rasapi32_test
17551 wine_fn_config_dll rasdlg enable_rasdlg implib
17552 wine_fn_config_dll regapi enable_regapi
17553 wine_fn_config_dll resutils enable_resutils implib
17554 wine_fn_config_dll riched20 enable_riched20 clean
,implib
17555 wine_fn_config_test dlls
/riched20
/tests riched20_test
17556 wine_fn_config_dll riched32 enable_riched32
17557 wine_fn_config_test dlls
/riched32
/tests riched32_test
17558 wine_fn_config_dll rpcrt4 enable_rpcrt4 clean
,implib
17559 wine_fn_config_test dlls
/rpcrt
4/tests rpcrt4_test clean
17560 wine_fn_config_dll rsabase enable_rsabase
17561 wine_fn_config_dll rsaenh enable_rsaenh implib
17562 wine_fn_config_test dlls
/rsaenh
/tests rsaenh_test
17563 wine_fn_config_dll rstrtmgr enable_rstrtmgr
17564 wine_fn_config_dll rtutils enable_rtutils implib
17565 wine_fn_config_dll samlib enable_samlib
17566 wine_fn_config_dll sane.ds enable_sane_ds po
17567 wine_fn_config_dll scarddlg enable_scarddlg
17568 wine_fn_config_dll sccbase enable_sccbase
17569 wine_fn_config_dll schannel enable_schannel
17570 wine_fn_config_test dlls
/schannel
/tests schannel_test
17571 wine_fn_config_dll schedsvc enable_schedsvc clean
17572 wine_fn_config_test dlls
/schedsvc
/tests schedsvc_test clean
17573 wine_fn_config_dll scrrun enable_scrrun clean
17574 wine_fn_config_test dlls
/scrrun
/tests scrrun_test clean
17575 wine_fn_config_dll scsiport.sys enable_scsiport_sys
17576 wine_fn_config_dll secur32 enable_secur32 implib
17577 wine_fn_config_test dlls
/secur32
/tests secur32_test
17578 wine_fn_config_dll security enable_security
17579 wine_fn_config_dll sensapi enable_sensapi implib
17580 wine_fn_config_dll serialui enable_serialui implib
,po
17581 wine_fn_config_test dlls
/serialui
/tests serialui_test
17582 wine_fn_config_dll setupapi enable_setupapi implib
,po
17583 wine_fn_config_test dlls
/setupapi
/tests setupapi_test
17584 wine_fn_config_dll setupx.dll16 enable_win16
17585 wine_fn_config_dll sfc enable_sfc implib
17586 wine_fn_config_dll sfc_os enable_sfc_os implib
17587 wine_fn_config_dll shdoclc enable_shdoclc po
17588 wine_fn_config_dll shdocvw enable_shdocvw clean
,implib
17589 wine_fn_config_test dlls
/shdocvw
/tests shdocvw_test
17590 wine_fn_config_dll shell.dll16 enable_win16
17591 wine_fn_config_dll shell32 enable_shell32 clean
,implib
,po
17592 wine_fn_config_test dlls
/shell32
/tests shell32_test
17593 wine_fn_config_dll shfolder enable_shfolder implib
17594 wine_fn_config_dll shlwapi enable_shlwapi implib
,po
17595 wine_fn_config_test dlls
/shlwapi
/tests shlwapi_test
17596 wine_fn_config_dll slbcsp enable_slbcsp
17597 wine_fn_config_dll slc enable_slc implib
17598 wine_fn_config_test dlls
/slc
/tests slc_test
17599 wine_fn_config_dll snmpapi enable_snmpapi implib
17600 wine_fn_config_test dlls
/snmpapi
/tests snmpapi_test
17601 wine_fn_config_dll softpub enable_softpub
17602 wine_fn_config_dll sound.drv16 enable_win16
17603 wine_fn_config_dll spoolss enable_spoolss implib
17604 wine_fn_config_test dlls
/spoolss
/tests spoolss_test
17605 wine_fn_config_dll stdole2.tlb enable_stdole2_tlb clean
17606 wine_fn_config_dll stdole32.tlb enable_stdole32_tlb clean
17607 wine_fn_config_dll sti enable_sti clean
,implib
17608 wine_fn_config_test dlls
/sti
/tests sti_test
17609 wine_fn_config_dll storage.dll16 enable_win16
17610 wine_fn_config_dll stress.dll16 enable_win16
17611 wine_fn_config_lib strmbase
17612 wine_fn_config_lib strmiids
17613 wine_fn_config_dll svrapi enable_svrapi
17614 wine_fn_config_dll sxs enable_sxs implib
17615 wine_fn_config_test dlls
/sxs
/tests sxs_test
17616 wine_fn_config_dll system.drv16 enable_win16
17617 wine_fn_config_dll t2embed enable_t2embed
17618 wine_fn_config_dll tapi32 enable_tapi32 implib
17619 wine_fn_config_dll taskschd enable_taskschd clean
17620 wine_fn_config_test dlls
/taskschd
/tests taskschd_test
17621 wine_fn_config_dll toolhelp.dll16 enable_win16
17622 wine_fn_config_dll traffic enable_traffic
17623 wine_fn_config_dll twain.dll16 enable_win16
17624 wine_fn_config_dll twain_32 enable_twain_32
17625 wine_fn_config_test dlls
/twain_32
/tests twain_32_test
17626 wine_fn_config_dll typelib.dll16 enable_win16
17627 wine_fn_config_dll unicows enable_unicows implib
17628 wine_fn_config_dll updspapi enable_updspapi
17629 wine_fn_config_dll url enable_url implib
17630 wine_fn_config_dll urlmon enable_urlmon clean
,implib
,po
17631 wine_fn_config_test dlls
/urlmon
/tests urlmon_test
17632 wine_fn_config_dll usbd.sys enable_usbd_sys implib
17633 wine_fn_config_dll user.exe16 enable_win16
17634 wine_fn_config_dll user32 enable_user32 clean
,implib
,po
17635 wine_fn_config_test dlls
/user32
/tests user32_test
17636 wine_fn_config_dll userenv enable_userenv implib
17637 wine_fn_config_test dlls
/userenv
/tests userenv_test
17638 wine_fn_config_dll usp10 enable_usp10 implib
17639 wine_fn_config_test dlls
/usp10
/tests usp10_test
17640 wine_fn_config_lib uuid
17641 wine_fn_config_dll uxtheme enable_uxtheme implib
17642 wine_fn_config_test dlls
/uxtheme
/tests uxtheme_test
17643 wine_fn_config_dll vbscript enable_vbscript clean
17644 wine_fn_config_test dlls
/vbscript
/tests vbscript_test clean
17645 wine_fn_config_dll vcomp enable_vcomp
17646 wine_fn_config_dll vcomp100 enable_vcomp100
17647 wine_fn_config_dll vcomp90 enable_vcomp90
17648 wine_fn_config_dll vdhcp.vxd enable_win16
17649 wine_fn_config_dll vdmdbg enable_vdmdbg implib
17650 wine_fn_config_dll ver.dll16 enable_win16
17651 wine_fn_config_dll version enable_version implib
17652 wine_fn_config_test dlls
/version
/tests version_test
17653 wine_fn_config_dll vmm.vxd enable_win16
17654 wine_fn_config_dll vnbt.vxd enable_win16
17655 wine_fn_config_dll vnetbios.vxd enable_win16
17656 wine_fn_config_dll vssapi enable_vssapi
17657 wine_fn_config_dll vtdapi.vxd enable_win16
17658 wine_fn_config_dll vwin32.vxd enable_win16
17659 wine_fn_config_dll w32skrnl enable_win16
17660 wine_fn_config_dll w32sys.dll16 enable_win16
17661 wine_fn_config_dll wbemdisp enable_wbemdisp clean
17662 wine_fn_config_test dlls
/wbemdisp
/tests wbemdisp_test
17663 wine_fn_config_dll wbemprox enable_wbemprox clean
17664 wine_fn_config_test dlls
/wbemprox
/tests wbemprox_test
17665 wine_fn_config_dll webservices enable_webservices implib
17666 wine_fn_config_dll wer enable_wer implib
17667 wine_fn_config_test dlls
/wer
/tests wer_test
17668 wine_fn_config_dll wevtapi enable_wevtapi
17669 wine_fn_config_dll wiaservc enable_wiaservc clean
17670 wine_fn_config_dll win32s16.dll16 enable_win16
17671 wine_fn_config_dll win87em.dll16 enable_win16
17672 wine_fn_config_dll winaspi.dll16 enable_win16
17673 wine_fn_config_dll windebug.dll16 enable_win16
17674 wine_fn_config_dll windowscodecs enable_windowscodecs clean
,implib
17675 wine_fn_config_test dlls
/windowscodecs
/tests windowscodecs_test
17676 wine_fn_config_dll windowscodecsext enable_windowscodecsext implib
17677 wine_fn_config_test dlls
/windowscodecsext
/tests windowscodecsext_test
17678 wine_fn_config_dll winealsa.drv enable_winealsa_drv
17679 wine_fn_config_dll winecoreaudio.drv enable_winecoreaudio_drv
17680 wine_fn_config_lib winecrt0
17681 wine_fn_config_dll wined3d enable_wined3d implib
17682 wine_fn_config_dll winegstreamer enable_winegstreamer
17683 wine_fn_config_dll winejoystick.drv enable_winejoystick_drv
17684 wine_fn_config_dll winemac.drv enable_winemac_drv
17685 wine_fn_config_dll winemapi enable_winemapi
17686 wine_fn_config_dll winemp3.acm enable_winemp3_acm
17687 wine_fn_config_dll wineoss.drv enable_wineoss_drv
17688 wine_fn_config_dll wineps.drv enable_wineps_drv clean
,po
17689 wine_fn_config_dll wineps16.drv16 enable_win16
17690 wine_fn_config_dll wineqtdecoder enable_wineqtdecoder
17691 wine_fn_config_dll winex11.drv enable_winex11_drv
17692 wine_fn_config_dll wing.dll16 enable_win16
17693 wine_fn_config_dll wing32 enable_wing32
17694 wine_fn_config_dll winhttp enable_winhttp clean
,implib
17695 wine_fn_config_test dlls
/winhttp
/tests winhttp_test
17696 wine_fn_config_dll wininet enable_wininet implib
,po
17697 wine_fn_config_test dlls
/wininet
/tests wininet_test
17698 wine_fn_config_dll winmm enable_winmm implib
,po
17699 wine_fn_config_test dlls
/winmm
/tests winmm_test
17700 wine_fn_config_dll winnls.dll16 enable_win16
17701 wine_fn_config_dll winnls32 enable_winnls32 implib
17702 wine_fn_config_dll winscard enable_winscard implib
17703 wine_fn_config_dll winsock.dll16 enable_win16
17704 wine_fn_config_dll winspool.drv enable_winspool_drv implib
,po winspool
17705 wine_fn_config_test dlls
/winspool.drv
/tests winspool.drv_test
17706 wine_fn_config_dll winsta enable_winsta
17707 wine_fn_config_dll wintab.dll16 enable_win16
17708 wine_fn_config_dll wintab32 enable_wintab32 implib
17709 wine_fn_config_test dlls
/wintab32
/tests wintab32_test
17710 wine_fn_config_dll wintrust enable_wintrust implib
17711 wine_fn_config_test dlls
/wintrust
/tests wintrust_test
17712 wine_fn_config_dll wlanapi enable_wlanapi
17713 wine_fn_config_dll wldap32 enable_wldap32 implib
,po
17714 wine_fn_config_test dlls
/wldap32
/tests wldap32_test
17715 wine_fn_config_dll wmi enable_wmi
17716 wine_fn_config_dll wmiutils enable_wmiutils clean
17717 wine_fn_config_test dlls
/wmiutils
/tests wmiutils_test
17718 wine_fn_config_dll wmp enable_wmp clean
17719 wine_fn_config_test dlls
/wmp
/tests wmp_test
17720 wine_fn_config_dll wmvcore enable_wmvcore
17721 wine_fn_config_dll wnaspi32 enable_wnaspi32 implib
17722 wine_fn_config_dll wow32 enable_win16 implib
17723 wine_fn_config_dll wpcap enable_wpcap
17724 wine_fn_config_dll ws2_32 enable_ws2_32 implib
17725 wine_fn_config_test dlls
/ws2_32
/tests ws2_32_test
17726 wine_fn_config_dll wshom.ocx enable_wshom_ocx clean
17727 wine_fn_config_test dlls
/wshom.ocx
/tests wshom.ocx_test clean
17728 wine_fn_config_dll wsnmp32 enable_wsnmp32 implib
17729 wine_fn_config_test dlls
/wsnmp32
/tests wsnmp32_test
17730 wine_fn_config_dll wsock32 enable_wsock32 implib
17731 wine_fn_config_dll wtsapi32 enable_wtsapi32 implib
17732 wine_fn_config_test dlls
/wtsapi32
/tests wtsapi32_test
17733 wine_fn_config_dll wuapi enable_wuapi clean
17734 wine_fn_config_dll wuaueng enable_wuaueng
17735 wine_fn_config_dll x3daudio1_1 enable_x3daudio1_1
17736 wine_fn_config_dll x3daudio1_2 enable_x3daudio1_2
17737 wine_fn_config_dll x3daudio1_3 enable_x3daudio1_3
17738 wine_fn_config_dll x3daudio1_4 enable_x3daudio1_4
17739 wine_fn_config_dll x3daudio1_5 enable_x3daudio1_5
17740 wine_fn_config_dll x3daudio1_6 enable_x3daudio1_6
17741 wine_fn_config_dll x3daudio1_7 enable_x3daudio1_7
17742 wine_fn_config_dll xapofx1_1 enable_xapofx1_1
17743 wine_fn_config_dll xapofx1_3 enable_xapofx1_3
17744 wine_fn_config_dll xapofx1_4 enable_xapofx1_4
17745 wine_fn_config_dll xapofx1_5 enable_xapofx1_5
17746 wine_fn_config_dll xaudio2_7 enable_xaudio2_7 clean
17747 wine_fn_config_dll xinput1_1 enable_xinput1_1
17748 wine_fn_config_dll xinput1_2 enable_xinput1_2
17749 wine_fn_config_dll xinput1_3 enable_xinput1_3 implib xinput
17750 wine_fn_config_test dlls
/xinput1_
3/tests xinput1_3_test
17751 wine_fn_config_dll xinput1_4 enable_xinput1_4
17752 wine_fn_config_dll xinput9_1_0 enable_xinput9_1_0
17753 wine_fn_config_dll xmllite enable_xmllite implib
17754 wine_fn_config_test dlls
/xmllite
/tests xmllite_test
17755 wine_fn_config_dll xolehlp enable_xolehlp
17756 wine_fn_config_dll xpsprint enable_xpsprint
17757 wine_fn_config_dll xpssvcs enable_xpssvcs
17758 wine_fn_config_makefile documentation enable_documentation clean
17759 wine_fn_config_makefile fonts enable_fonts clean
,install-lib
17760 wine_fn_config_makefile include enable_include clean
,install-dev
17761 wine_fn_config_makefile libs
/port enable_libs_port
17762 wine_fn_config_makefile libs
/wine enable_libs_wine clean
,install-dev
,install-lib
17763 wine_fn_config_makefile libs
/wpp enable_libs_wpp
17764 wine_fn_config_makefile loader enable_loader clean
,install-lib
,manpage
17765 wine_fn_config_program arp enable_arp
install
17766 wine_fn_config_program aspnet_regiis enable_aspnet_regiis
install
17767 wine_fn_config_program attrib enable_attrib
install,po
17768 wine_fn_config_program cabarc enable_cabarc
install
17769 wine_fn_config_program cacls enable_cacls
install
17770 wine_fn_config_program
clock enable_clock
install,po
17771 wine_fn_config_program cmd enable_cmd
install,po
17772 wine_fn_config_test programs
/cmd
/tests cmd.exe_test
17773 wine_fn_config_program conhost enable_conhost
install
17774 wine_fn_config_program control enable_control
install
17775 wine_fn_config_program cscript enable_cscript clean
,install
17776 wine_fn_config_program dpnsvr enable_dpnsvr
install
17777 wine_fn_config_program dxdiag enable_dxdiag
install,po
17778 wine_fn_config_program eject enable_eject
install
17779 wine_fn_config_program
expand enable_expand
install
17780 wine_fn_config_program explorer enable_explorer
install,po
17781 wine_fn_config_program extrac32 enable_extrac32
install
17782 wine_fn_config_program findstr enable_findstr
install
17783 wine_fn_config_program hh enable_hh
install
17784 wine_fn_config_program hostname enable_hostname
install,po
17785 wine_fn_config_program icinfo enable_icinfo
install
17786 wine_fn_config_program iexplore enable_iexplore
install
17787 wine_fn_config_program ipconfig enable_ipconfig
install,po
17788 wine_fn_config_program lodctr enable_lodctr
install
17789 wine_fn_config_program mofcomp enable_mofcomp
install
17790 wine_fn_config_program mshta enable_mshta
install
17791 wine_fn_config_program msiexec enable_msiexec
install,installbin
,manpage
17792 wine_fn_config_program net enable_net
install,po
17793 wine_fn_config_program netsh enable_netsh
install
17794 wine_fn_config_program netstat enable_netstat
install,po
17795 wine_fn_config_program ngen enable_ngen
install
17796 wine_fn_config_program notepad enable_notepad
install,installbin
,manpage
,po
17797 wine_fn_config_program oleview enable_oleview
install,po
17798 wine_fn_config_program
ping enable_ping
install
17799 wine_fn_config_program plugplay enable_plugplay
install
17800 wine_fn_config_program presentationfontcache enable_presentationfontcache
install
17801 wine_fn_config_program progman enable_progman
install,po
17802 wine_fn_config_program reg enable_reg
install,po
17803 wine_fn_config_test programs
/reg
/tests reg.exe_test
17804 wine_fn_config_program regasm enable_regasm
install
17805 wine_fn_config_program regedit enable_regedit
install,installbin
,manpage
,po
17806 wine_fn_config_test programs
/regedit
/tests regedit.exe_test
17807 wine_fn_config_program regsvcs enable_regsvcs
install
17808 wine_fn_config_program regsvr32 enable_regsvr32
install,installbin
,manpage
,po
17809 wine_fn_config_program rpcss enable_rpcss clean
,install
17810 wine_fn_config_program rundll.exe16 enable_win16
install
17811 wine_fn_config_program rundll32 enable_rundll32
install
17812 wine_fn_config_program sc enable_sc
install
17813 wine_fn_config_program schtasks enable_schtasks
install
17814 wine_fn_config_program sdbinst enable_sdbinst
install
17815 wine_fn_config_program secedit enable_secedit
install
17816 wine_fn_config_program servicemodelreg enable_servicemodelreg
install
17817 wine_fn_config_program services enable_services clean
,install
17818 wine_fn_config_test programs
/services
/tests services.exe_test
17819 wine_fn_config_program spoolsv enable_spoolsv
install
17820 wine_fn_config_program start enable_start
install,po
17821 wine_fn_config_program svchost enable_svchost
install
17822 wine_fn_config_program systeminfo enable_systeminfo
install
17823 wine_fn_config_program taskkill enable_taskkill
install,po
17824 wine_fn_config_program tasklist enable_tasklist
install
17825 wine_fn_config_program taskmgr enable_taskmgr
install,po
17826 wine_fn_config_program termsv enable_termsv
install
17827 wine_fn_config_program uninstaller enable_uninstaller
install,po
17828 wine_fn_config_program unlodctr enable_unlodctr
install
17829 wine_fn_config_program view enable_view
install,po
17830 wine_fn_config_program wevtutil enable_wevtutil
install
17831 wine_fn_config_program wineboot enable_wineboot
install,installbin
,manpage
,po
17832 wine_fn_config_program winebrowser enable_winebrowser
install
17833 wine_fn_config_program winecfg enable_winecfg
install,installbin
,manpage
,po
17834 wine_fn_config_program wineconsole enable_wineconsole
install,installbin
,manpage
,po
17835 wine_fn_config_program winedbg enable_winedbg
install,installbin
,manpage
,po
17836 wine_fn_config_program winedevice enable_winedevice
install
17837 wine_fn_config_program winefile enable_winefile
install,installbin
,manpage
,po
17838 wine_fn_config_program winemenubuilder enable_winemenubuilder
install
17839 wine_fn_config_program winemine enable_winemine
install,installbin
,manpage
,po
17840 wine_fn_config_program winemsibuilder enable_winemsibuilder
install
17841 wine_fn_config_program winepath enable_winepath
install,installbin
,manpage
17842 wine_fn_config_program winetest enable_winetest clean
17843 wine_fn_config_program winevdm enable_win16
install
17844 wine_fn_config_program winhelp.exe16 enable_win16
install
17845 wine_fn_config_program winhlp32 enable_winhlp32
install,po
17846 wine_fn_config_program winoldap.mod16 enable_win16
install
17847 wine_fn_config_program winver enable_winver
install
17848 wine_fn_config_program wmic enable_wmic
install,po
17849 wine_fn_config_program wordpad enable_wordpad
install,po
17850 wine_fn_config_program
write enable_write
install,po
17851 wine_fn_config_program wscript enable_wscript clean
,install
17852 wine_fn_config_test programs
/wscript
/tests wscript.exe_test
17853 wine_fn_config_program wusa enable_wusa
install
17854 wine_fn_config_program xcopy enable_xcopy
install,po
17855 wine_fn_config_test programs
/xcopy
/tests xcopy.exe_test
17856 wine_fn_config_makefile server enable_server clean
,install-lib
,manpage
17857 wine_fn_config_tool tools clean
,install-dev
,install-lib
,manpage
17858 wine_fn_config_tool tools
/sfnt2fon clean
17859 wine_fn_config_tool tools
/widl clean
,install-dev
,manpage
17860 wine_fn_config_tool tools
/winebuild clean
,install-dev
,manpage
17861 wine_fn_config_tool tools
/winedump clean
,install-dev
,manpage
17862 wine_fn_config_tool tools
/winegcc clean
,install-dev
,manpage
17863 wine_fn_config_tool tools
/wmc clean
,install-dev
,manpage
17864 wine_fn_config_tool tools
/wrc clean
,install-dev
,manpage
17916 wine_fn_ignore_file
".gitignore"
17917 wine_fn_ignore_file
"Makefile"
17918 wine_fn_ignore_file
"TAGS"
17919 wine_fn_ignore_file
"tags"
17920 wine_fn_ignore_file
"autom4te.cache"
17921 wine_fn_ignore_file
"config.cache"
17922 wine_fn_ignore_file
"config.log"
17923 wine_fn_ignore_file
"config.status"
17924 wine_fn_ignore_file
"configure.lineno"
17925 wine_fn_ignore_file
"include/config.h"
17926 wine_fn_ignore_file
"include/stamp-h"
17927 test "$wine_binary" = wine || wine_fn_ignore_file
"loader/wine"
17929 if test "x$enable_tools" != xno
17931 wine_fn_ignore_file
"tools/makedep$ac_exeext"
17932 ac_config_commands
="$ac_config_commands tools/makedep"
17936 ac_config_commands
="$ac_config_commands Makefile"
17939 ac_config_files
="$ac_config_files Make.tmp:Make.vars.in:Makefile.in"
17943 if test "x$enable_maintainer_mode" = xyes
17945 wine_fn_append_rule
"configure: configure.ac aclocal.m4
17946 autoconf --warnings=all
17947 include/config.h.in: include/stamp-h.in
17948 include/stamp-h.in: configure.ac aclocal.m4
17949 autoheader --warnings=all
17950 @echo timestamp > \$@"
17953 if test "x$with_gettextpo" = xyes
17955 test "$srcdir" = . || as_fn_error $?
"Rebuilding po files is not supported for out of tree builds." "$LINENO" 5
17956 wine_fn_append_rule
"ALL_POT_FILES =$ALL_POT_FILES
17957 \$(LINGUAS:%=po/%.po): po/wine.pot
17958 msgmerge --previous -q \$@ po/wine.pot | msgattrib --no-obsolete -o \$@.new && mv \$@.new \$@
17959 po/wine.pot: \$(ALL_POT_FILES)
17960 msgcat -o \$@ \$(ALL_POT_FILES)"
17963 if test "$MSGFMT" != false
17965 wine_fn_append_rule
"__builddeps__: \$(LINGUAS:%=po/%.mo)
17967 \$(RM) \$(LINGUAS:%=po/%.mo)"
17970 test "$srcdir" = . || posrc
="$srcdir/po"
17973 wine_fn_ignore_file
"po/$i.mo"
17974 wine_fn_append_rule
"po/$i.mo: $posrc/$i.po
17975 \$(MSGFMT) -o \$@ $posrc/$i.po"
17981 if test "x$enable_tools" != xno
17983 wine_fn_append_rule
"tools/makedep$ac_exeext: $srcdir/tools/makedep.c include/config.h config.status
17984 @./config.status tools/makedep
17985 Makefile: tools/makedep$ac_exeext
17987 \$(RM) tools/makedep$ac_exeext"
17989 wine_fn_append_rule
"\$(MAKEDEP):
17990 @echo \"You need to run make in $TOOLSDIR first\" && false"
17993 if test -n "$with_wine64"
17995 wine_fn_append_rule
"all: fonts server tools $with_wine64/loader/wine $with_wine64/loader/wine-preloader
17996 fonts server tools:
17997 \$(RM) \$@ && \$(LN_S) $with_wine64/\$@ \$@
17998 $with_wine64/loader/wine:
17999 \$(RM) \$@ && \$(LN_S) $ac_pwd/loader/wine \$@
18000 $with_wine64/loader/wine-preloader:
18001 \$(RM) \$@ && \$(LN_S) $ac_pwd/loader/wine-preloader \$@
18003 \$(RM) fonts server tools $with_wine64/loader/wine $with_wine64/loader/wine-preloader"
18005 as_fn_append LOADER_RULES
"
18006 install install-lib:: wine.inf install-man-pages
18007 \$(INSTALL_DATA) wine.inf \$(DESTDIR)\$(datadir)/wine/wine.inf
18008 \$(INSTALL_DATA) \$(srcdir)/l_intl.nls \$(DESTDIR)\$(datadir)/wine/l_intl.nls
18011 \$(RM) \$(DESTDIR)\$(datadir)/wine/wine.inf \$(DESTDIR)\$(datadir)/wine/l_intl.nls
18015 if test "$srcdir" = .
18017 ac_config_commands
="$ac_config_commands .gitignore"
18021 $as_echo " done" >&6
18022 cat >confcache
<<\_ACEOF
18023 # This file is a shell script that caches the results of configure
18024 # tests run on this system so they can be shared between configure
18025 # scripts and configure runs, see configure's option --config-cache.
18026 # It is not useful on other systems. If it contains results you don't
18027 # want to keep, you may remove or edit it.
18029 # config.status only pays attention to the cache file if you give it
18030 # the --recheck option to rerun configure.
18032 # `ac_cv_env_foo' variables (set or unset) will be overridden when
18033 # loading this file, other *unset* `ac_cv_foo' will be assigned the
18034 # following values.
18038 # The following way of writing the cache mishandles newlines in values,
18039 # but we know of no workaround that is simple, portable, and efficient.
18040 # So, we kill variables containing newlines.
18041 # Ultrix sh set writes to stderr and can't be redirected directly,
18042 # and sets the high bit in the cache file unless we assign to the vars.
18044 for ac_var
in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
18045 eval ac_val
=\$
$ac_var
18049 *_cv_
*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
18050 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
18053 _ | IFS | as_nl
) ;; #(
18054 BASH_ARGV | BASH_SOURCE
) eval $ac_var= ;; #(
18055 *) { eval $ac_var=; unset $ac_var;} ;;
18061 case $as_nl`(ac_space=' '; set) 2>&1` in #(
18062 *${as_nl}ac_space
=\
*)
18063 # `set' does not quote correctly, so add quotes: double-quote
18064 # substitution turns \\\\ into \\, and sed turns \\ into \.
18067 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
18070 # `set' quotes correctly as required by POSIX, so do not add quotes.
18071 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
18080 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
18082 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
18084 if diff "$cache_file" confcache
>/dev
/null
2>&1; then :; else
18085 if test -w "$cache_file"; then
18086 if test "x$cache_file" != "x/dev/null"; then
18087 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
18088 $as_echo "$as_me: updating cache $cache_file" >&6;}
18089 if test ! -f "$cache_file" ||
test -h "$cache_file"; then
18090 cat confcache
>"$cache_file"
18092 case $cache_file in #(
18094 mv -f confcache
"$cache_file"$$
&&
18095 mv -f "$cache_file"$$
"$cache_file" ;; #(
18097 mv -f confcache
"$cache_file" ;;
18102 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
18103 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
18108 test "x$prefix" = xNONE
&& prefix
=$ac_default_prefix
18109 # Let make expand exec_prefix.
18110 test "x$exec_prefix" = xNONE
&& exec_prefix
='${prefix}'
18112 DEFS
=-DHAVE_CONFIG_H
18117 for ac_i
in : $LIBOBJS; do test "x$ac_i" = x
: && continue
18118 # 1. Remove the extension, and $U if already installed.
18119 ac_script
='s/\$U\././;s/\.o$//;s/\.obj$//'
18120 ac_i
=`$as_echo "$ac_i" | sed "$ac_script"`
18121 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
18122 # will be set to the directory where LIBOBJS objects are built.
18123 as_fn_append ac_libobjs
" \${LIBOBJDIR}$ac_i\$U.$ac_objext"
18124 as_fn_append ac_ltlibobjs
" \${LIBOBJDIR}$ac_i"'$U.lo'
18126 LIBOBJS
=$ac_libobjs
18128 LTLIBOBJS
=$ac_ltlibobjs
18132 : "${CONFIG_STATUS=./config.status}"
18134 ac_clean_files_save
=$ac_clean_files
18135 ac_clean_files
="$ac_clean_files $CONFIG_STATUS"
18136 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
18137 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
18139 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
18141 # Generated by $as_me.
18142 # Run this file to recreate the current configuration.
18143 # Compiler output produced by configure, useful for debugging
18144 # configure, is in config.log if it exists.
18147 ac_cs_recheck=false
18150 SHELL=\${CONFIG_SHELL-$SHELL}
18153 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail
=1
18154 ## -------------------- ##
18155 ## M4sh Initialization. ##
18156 ## -------------------- ##
18158 # Be more Bourne compatible
18159 DUALCASE
=1; export DUALCASE
# for MKS sh
18160 if test -n "${ZSH_VERSION+set}" && (emulate sh
) >/dev
/null
2>&1; then :
18163 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
18164 # is contrary to our usage. Disable this feature.
18165 alias -g '${1+"$@"}'='"$@"'
18166 setopt NO_GLOB_SUBST
18168 case `(set -o) 2>/dev/null` in #(
18180 # Printing a long string crashes Solaris 7 /usr/bin/printf.
18181 as_echo
='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
18182 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
18183 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
18184 # Prefer a ksh shell builtin over an external printf program on Solaris,
18185 # but without wasting forks for bash or zsh.
18186 if test -z "$BASH_VERSION$ZSH_VERSION" \
18187 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
18188 as_echo='print
-r --'
18189 as_echo_n='print
-rn --'
18190 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
18191 as_echo='printf %s
\n'
18192 as_echo_n='printf %s
'
18194 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
18195 as_echo_body='eval /usr
/ucb
/echo -n "$1$as_nl"'
18196 as_echo_n='/usr
/ucb
/echo -n'
18198 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
18199 as_echo_n_body='eval
18203 expr "X$arg" : "X\\(.*\\)$as_nl";
18204 arg
=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
18206 expr "X$arg" : "X\\(.*\\)" |
tr -d "$as_nl"
18208 export as_echo_n_body
18209 as_echo_n='sh
-c $as_echo_n_body as_echo
'
18211 export as_echo_body
18212 as_echo='sh
-c $as_echo_body as_echo
'
18215 # The user is always right.
18216 if test "${PATH_SEPARATOR+set}" != set; then
18218 (PATH='/bin
;/bin
'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
18219 (PATH='/bin
:/bin
'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
18226 # We need space, tab and new line, in precisely that order. Quoting is
18227 # there to prevent editors from complaining about space-tab.
18228 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
18229 # splitting by setting IFS to empty value.)
18232 # Find who we are. Look in the path if we contain no directory separator.
18235 *[\\/]* ) as_myself=$0 ;;
18236 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
18237 for as_dir in $PATH
18240 test -z "$as_dir" && as_dir=.
18241 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
18247 # We did not find ourselves, most probably we were run as `sh COMMAND'
18248 # in which case we are not to be found in the path.
18249 if test "x$as_myself" = x
; then
18252 if test ! -f "$as_myself"; then
18253 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
18257 # Unset variables that we do not need and which cause bugs (e.g. in
18258 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
18259 # suppresses any "Segmentation fault" message there. '((' could
18260 # trigger a bug in pdksh 5.2.14.
18261 for as_var
in BASH_ENV ENV MAIL MAILPATH
18262 do eval test x\
${$as_var+set} = xset \
18263 && ( (unset $as_var) ||
exit 1) >/dev
/null
2>&1 && unset $as_var ||
:
18276 (unset CDPATH
) >/dev
/null
2>&1 && unset CDPATH
18279 # as_fn_error STATUS ERROR [LINENO LOG_FD]
18280 # ----------------------------------------
18281 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
18282 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
18283 # script with STATUS, using 1 if that was 0.
18286 as_status
=$1; test $as_status -eq 0 && as_status
=1
18288 as_lineno
=${as_lineno-"$3"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
18289 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
18291 $as_echo "$as_me: error: $2" >&2
18292 as_fn_exit
$as_status
18296 # as_fn_set_status STATUS
18297 # -----------------------
18298 # Set $? to STATUS, without forking.
18299 as_fn_set_status
()
18302 } # as_fn_set_status
18304 # as_fn_exit STATUS
18305 # -----------------
18306 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
18310 as_fn_set_status
$1
18316 # Portably unset VAR.
18319 { eval $1=; unset $1;}
18321 as_unset
=as_fn_unset
18322 # as_fn_append VAR VALUE
18323 # ----------------------
18324 # Append the text in VALUE to the end of the definition contained in VAR. Take
18325 # advantage of any shell optimizations that allow amortized linear growth over
18326 # repeated appends, instead of the typical quadratic growth present in naive
18328 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev
/null
; then :
18329 eval 'as_fn_append ()
18340 # as_fn_arith ARG...
18341 # ------------------
18342 # Perform arithmetic evaluation on the ARGs, and store the result in the
18343 # global $as_val. Take advantage of shells that can avoid forks. The arguments
18344 # must be portable across $(()) and expr.
18345 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev
/null
; then :
18346 eval 'as_fn_arith ()
18353 as_val
=`expr "$@" || test $? -eq 1`
18358 if expr a
: '\(a\)' >/dev
/null
2>&1 &&
18359 test "X`expr 00001 : '.*\(...\)'`" = X001
; then
18365 if (basename -- /) >/dev
/null
2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
18366 as_basename
=basename
18371 if (as_dir
=`dirname -- /` && test "X$as_dir" = X
/) >/dev
/null
2>&1; then
18377 as_me
=`$as_basename -- "$0" ||
18378 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
18379 X"$0" : 'X\(//\)$' \| \
18380 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
18382 sed '/^.*\/\([^/][^/]*\)\/*$/{
18396 # Avoid depending upon Character Ranges.
18397 as_cr_letters
='abcdefghijklmnopqrstuvwxyz'
18398 as_cr_LETTERS
='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
18399 as_cr_Letters
=$as_cr_letters$as_cr_LETTERS
18400 as_cr_digits
='0123456789'
18401 as_cr_alnum
=$as_cr_Letters$as_cr_digits
18403 ECHO_C
= ECHO_N
= ECHO_T
=
18404 case `echo -n x` in #(((((
18406 case `echo 'xy\c'` in
18407 *c
*) ECHO_T
=' ';; # ECHO_T is single tab character.
18409 *) echo `echo ksh88 bug on AIX 6.1` > /dev
/null
18416 rm -f conf$$ conf$$.exe conf$$.
file
18417 if test -d conf$$.dir
; then
18418 rm -f conf$$.dir
/conf$$.
file
18421 mkdir conf$$.dir
2>/dev
/null
18423 if (echo >conf$$.
file) 2>/dev
/null
; then
18424 if ln -s conf$$.
file conf$$
2>/dev
/null
; then
18426 # ... but there are two gotchas:
18427 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
18428 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
18429 # In both cases, we have to default to `cp -pR'.
18430 ln -s conf$$.
file conf$$.dir
2>/dev
/null
&& test ! -f conf$$.exe ||
18432 elif ln conf$$.
file conf$$
2>/dev
/null
; then
18440 rm -f conf$$ conf$$.exe conf$$.dir
/conf$$.
file conf$$.
file
18441 rmdir conf$$.dir
2>/dev
/null
18446 # Create "$as_dir" as a directory, including parents if necessary.
18451 -*) as_dir
=.
/$as_dir;;
18453 test -d "$as_dir" ||
eval $as_mkdir_p ||
{
18457 *\'*) as_qdir
=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
18458 *) as_qdir
=$as_dir;;
18460 as_dirs
="'$as_qdir' $as_dirs"
18461 as_dir
=`$as_dirname -- "$as_dir" ||
18462 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
18463 X"$as_dir" : 'X\(//\)[^/]' \| \
18464 X"$as_dir" : 'X\(//\)$' \| \
18465 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
18466 $as_echo X"$as_dir" |
18467 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
18471 /^X\(\/\/\)[^/].*/{
18484 test -d "$as_dir" && break
18486 test -z "$as_dirs" ||
eval "mkdir $as_dirs"
18487 } ||
test -d "$as_dir" || as_fn_error $?
"cannot create directory $as_dir"
18491 if mkdir
-p .
2>/dev
/null
; then
18492 as_mkdir_p
='mkdir -p "$as_dir"'
18494 test -d .
/-p && rmdir .
/-p
18499 # as_fn_executable_p FILE
18500 # -----------------------
18501 # Test if FILE is an executable regular file.
18502 as_fn_executable_p
()
18504 test -f "$1" && test -x "$1"
18505 } # as_fn_executable_p
18506 as_test_x
='test -x'
18507 as_executable_p
=as_fn_executable_p
18509 # Sed expression to map a string onto a valid CPP name.
18510 as_tr_cpp
="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
18512 # Sed expression to map a string onto a valid variable name.
18513 as_tr_sh
="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
18517 ## ----------------------------------- ##
18518 ## Main body of $CONFIG_STATUS script. ##
18519 ## ----------------------------------- ##
18521 test $as_write_fail = 0 && chmod +x
$CONFIG_STATUS || ac_write_fail
=1
18523 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
18524 # Save the log message, to keep $0 and so on meaningful, and to
18525 # report actual input values of CONFIG_FILES etc. instead of their
18526 # values after options handling.
18528 This file was extended by Wine $as_me 1.7.45, which was
18529 generated by GNU Autoconf 2.69. Invocation command line was
18531 CONFIG_FILES = $CONFIG_FILES
18532 CONFIG_HEADERS = $CONFIG_HEADERS
18533 CONFIG_LINKS = $CONFIG_LINKS
18534 CONFIG_COMMANDS = $CONFIG_COMMANDS
18537 on `(hostname || uname -n) 2>/dev/null | sed 1q`
18542 case $ac_config_files in *"
18543 "*) set x
$ac_config_files; shift; ac_config_files
=$
*;;
18546 case $ac_config_headers in *"
18547 "*) set x
$ac_config_headers; shift; ac_config_headers
=$
*;;
18551 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
18552 # Files that config.status was made for.
18553 config_files="$ac_config_files"
18554 config_headers="$ac_config_headers"
18555 config_links="$ac_config_links"
18556 config_commands="$ac_config_commands"
18560 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
18562 \`$as_me' instantiates files and other configuration actions
18563 from templates according to the current configuration. Unless the files
18564 and actions are specified as TAGs, all are instantiated by default.
18566 Usage: $0 [OPTION]... [TAG]...
18568 -h, --help print this help, then exit
18569 -V, --version print version number and configuration settings, then exit
18570 --config print configuration, then exit
18571 -q, --quiet, --silent
18572 do not print progress messages
18573 -d, --debug don't remove temporary files
18574 --recheck update $as_me by reconfiguring in the same conditions
18575 --file=FILE[:TEMPLATE]
18576 instantiate the configuration file FILE
18577 --header=FILE[:TEMPLATE]
18578 instantiate the configuration header FILE
18580 Configuration files:
18583 Configuration headers:
18586 Configuration links:
18589 Configuration commands:
18592 Report bugs to <wine-devel@winehq.org>.
18593 Wine home page: <http://www.winehq.org>."
18596 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
18597 ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
18599 Wine config.status 1.7.45
18600 configured by $0, generated by GNU Autoconf 2.69,
18601 with options \\"\$ac_cs_config\\"
18603 Copyright (C) 2012 Free Software Foundation, Inc.
18604 This config.status script is free software; the Free Software Foundation
18605 gives unlimited permission to copy, distribute and modify it."
18609 test -n "\$AWK" || AWK=awk
18612 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
18613 # The default lists apply if the user does not specify any file.
18619 ac_option
=`expr "X$1" : 'X\([^=]*\)='`
18620 ac_optarg
=`expr "X$1" : 'X[^=]*=\(.*\)'`
18624 ac_option
=`expr "X$1" : 'X\([^=]*\)='`
18636 # Handling of the options.
18637 -recheck |
--recheck |
--rechec |
--reche |
--rech |
--rec |
--re |
--r)
18639 --version |
--versio |
--versi |
--vers |
--ver |
--ve |
--v |
-V )
18640 $as_echo "$ac_cs_version"; exit ;;
18641 --config |
--confi |
--conf |
--con |
--co |
--c )
18642 $as_echo "$ac_cs_config"; exit ;;
18643 --debug |
--debu |
--deb |
--de |
--d |
-d )
18645 --file |
--fil |
--fi |
--f )
18648 *\'*) ac_optarg
=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
18649 '') as_fn_error $?
"missing file argument" ;;
18651 as_fn_append CONFIG_FILES
" '$ac_optarg'"
18652 ac_need_defaults
=false
;;
18653 --header |
--heade |
--head |
--hea )
18656 *\'*) ac_optarg
=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
18658 as_fn_append CONFIG_HEADERS
" '$ac_optarg'"
18659 ac_need_defaults
=false
;;
18661 # Conflict between --help and --header
18662 as_fn_error $?
"ambiguous option: \`$1'
18663 Try \`$0 --help' for more information.";;
18664 --help |
--hel |
-h )
18665 $as_echo "$ac_cs_usage"; exit ;;
18666 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
18667 |
-silent |
--silent |
--silen |
--sile |
--sil |
--si |
--s)
18670 # This is an error.
18671 -*) as_fn_error $?
"unrecognized option: \`$1'
18672 Try \`$0 --help' for more information." ;;
18674 *) as_fn_append ac_config_targets
" $1"
18675 ac_need_defaults
=false
;;
18681 ac_configure_extra_args
=
18683 if $ac_cs_silent; then
18685 ac_configure_extra_args
="$ac_configure_extra_args --silent"
18689 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
18690 if \$ac_cs_recheck; then
18691 set X $SHELL '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
18693 \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
18694 CONFIG_SHELL='$SHELL'
18695 export CONFIG_SHELL
18700 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
18704 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
18705 ## Running $as_me. ##
18711 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
18715 wine_fn_output_makedep ()
18717 as_dir=tools; as_fn_mkdir_p
18718 $CC -Iinclude -I$srcdir/include -D__WINESRC__ $EXTRACFLAGS $CPPFLAGS $CFLAGS -o tools/makedep$ac_exeext $srcdir/tools/makedep.c $LDFLAGS
18720 wine_fn_output_makefile ()
18722 cat Make.tmp - <<\_WINE_EOF >\$tmp/makefile && mv -f \$tmp/makefile \$1 && rm -f Make.tmp && "$wine_makedep" . && return
18723 `cat $wine_rules_file`
18725 as_fn_error $? "could not create Makefile" "$LINENO" 5
18727 wine_fn_output_gitignore ()
18729 sort <<\_WINE_EOF >\$tmp/gitignore && mv -f \$tmp/gitignore \$1 && return
18732 as_fn_error $? "could not create .gitignore" "$LINENO" 5
18737 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
18739 # Handling of arguments.
18740 for ac_config_target
in $ac_config_targets
18742 case $ac_config_target in
18743 "include/config.h") CONFIG_HEADERS
="$CONFIG_HEADERS include/config.h" ;;
18744 "include/stamp-h") CONFIG_COMMANDS
="$CONFIG_COMMANDS include/stamp-h" ;;
18745 "fonts/marlett.ttf") CONFIG_LINKS
="$CONFIG_LINKS fonts/marlett.ttf:fonts/marlett.ttf" ;;
18746 "fonts/symbol.ttf") CONFIG_LINKS
="$CONFIG_LINKS fonts/symbol.ttf:fonts/symbol.ttf" ;;
18747 "fonts/tahoma.ttf") CONFIG_LINKS
="$CONFIG_LINKS fonts/tahoma.ttf:fonts/tahoma.ttf" ;;
18748 "fonts/tahomabd.ttf") CONFIG_LINKS
="$CONFIG_LINKS fonts/tahomabd.ttf:fonts/tahomabd.ttf" ;;
18749 "loader/l_intl.nls") CONFIG_LINKS
="$CONFIG_LINKS loader/l_intl.nls:loader/l_intl.nls" ;;
18750 "po/LINGUAS") CONFIG_LINKS
="$CONFIG_LINKS po/LINGUAS:po/LINGUAS" ;;
18751 "wine") CONFIG_LINKS
="$CONFIG_LINKS wine:tools/winewrapper" ;;
18752 "wine64") CONFIG_LINKS
="$CONFIG_LINKS wine64:tools/winewrapper" ;;
18753 "tools/makedep") CONFIG_COMMANDS
="$CONFIG_COMMANDS tools/makedep" ;;
18754 "Makefile") CONFIG_COMMANDS
="$CONFIG_COMMANDS Makefile" ;;
18755 "Make.tmp") CONFIG_FILES
="$CONFIG_FILES Make.tmp:Make.vars.in:Makefile.in" ;;
18756 ".gitignore") CONFIG_COMMANDS
="$CONFIG_COMMANDS .gitignore" ;;
18758 *) as_fn_error $?
"invalid argument: \`$ac_config_target'" "$LINENO" 5;;
18763 # If the user did not use the arguments to specify the items to instantiate,
18764 # then the envvar interface is used. Set only those that are not.
18765 # We use the long form for the default assignment because of an extremely
18766 # bizarre bug on SunOS 4.1.3.
18767 if $ac_need_defaults; then
18768 test "${CONFIG_FILES+set}" = set || CONFIG_FILES
=$config_files
18769 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS
=$config_headers
18770 test "${CONFIG_LINKS+set}" = set || CONFIG_LINKS
=$config_links
18771 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS
=$config_commands
18774 # Have a temporary directory for convenience. Make it in the build tree
18775 # simply because there is no reason against having it here, and in addition,
18776 # creating and moving files from /tmp can sometimes cause problems.
18777 # Hook for its removal unless debugging.
18778 # Note that there is a small window in which the directory will not be cleaned:
18779 # after its creation but before its name has been assigned to `$tmp'.
18783 trap 'exit_status=$?
18784 : "${ac_tmp:=$tmp}"
18785 { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
18787 trap 'as_fn_exit 1' 1 2 13 15
18789 # Create a (secure) tmp directory for tmp files.
18792 tmp
=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
18796 tmp
=.
/conf$$
-$RANDOM
18797 (umask 077 && mkdir
"$tmp")
18798 } || as_fn_error $?
"cannot create a temporary directory in ." "$LINENO" 5
18801 # Set up the scripts for CONFIG_FILES section.
18802 # No need to generate them if there are no CONFIG_FILES.
18803 # This happens for instance with `./config.status config.h'.
18804 if test -n "$CONFIG_FILES"; then
18807 ac_cr
=`echo X | tr X '\015'`
18808 # On cygwin, bash can eat \r inside `` if the user requested igncr.
18809 # But we know of no other shell where ac_cr would be empty at this
18810 # point, so we can use a bashism as a fallback.
18811 if test "x$ac_cr" = x
; then
18812 eval ac_cr
=\$
\'\\r
\'
18814 ac_cs_awk_cr
=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
18815 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
18818 ac_cs_awk_cr
=$ac_cr
18821 echo 'BEGIN {' >"$ac_tmp/subs1.awk" &&
18826 echo "cat >conf$$subs.awk <<_ACEOF" &&
18827 echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
18829 } >conf$$subs.sh ||
18830 as_fn_error $? "could not
make $CONFIG_STATUS" "$LINENO" 5
18831 ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
18833 for ac_last_try in false false false false false :; do
18834 . ./conf$$subs.sh ||
18835 as_fn_error $? "could not
make $CONFIG_STATUS" "$LINENO" 5
18837 ac_delim_n=`sed -n "s
/.
*$ac_delim\$
/X
/p
" conf$$subs.awk | grep -c X`
18838 if test $ac_delim_n = $ac_delim_num; then
18840 elif $ac_last_try; then
18841 as_fn_error $? "could not
make $CONFIG_STATUS" "$LINENO" 5
18843 ac_delim="$ac_delim!$ac_delim _
$ac_delim!! "
18846 rm -f conf$$subs.sh
18848 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
18849 cat >>"\
$ac_tmp/subs1.
awk" <<\\_ACAWK &&
18853 s/^/S["/; s
/!.
*/"]=/
18863 s/\(.\{148\}\)..*/\1/
18865 s/["\\]/\\&/g
; s
/^
/"/; s/$/\\n"\\/
18870 s
/["\\]/\\&/g; s/^/"/; s
/$
/"\\/
18877 s/\(.\{148\}\)..*/\1/
18879 s/["\\]/\\&/g
; s
/^
/"/; s/$/"/
18883 s
/["\\]/\\&/g; s/^/"/; s
/$
/"\\/
18888 ' <conf$$subs.awk | sed '
18893 ' >>$CONFIG_STATUS || ac_write_fail=1
18894 rm -f conf$$subs.awk
18895 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
18897 cat >>"\
$ac_tmp/subs1.
awk" <<_ACAWK &&
18898 for (key in S) S_is_set[key] = 1
18904 nfields = split(line, field, "@
")
18906 len = length(field[1])
18907 for (i = 2; i < nfields; i++) {
18909 keylen = length(key)
18910 if (S_is_set[key]) {
18912 line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
18913 len += length(value) + length(field[++i])
18924 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
18925 if sed "s
/$ac_cr//" < /dev/null > /dev/null 2>&1; then
18926 sed "s
/$ac_cr\$
//; s
/$ac_cr/$ac_cs_awk_cr/g
"
18929 fi < "$ac_tmp/subs1.
awk" > "$ac_tmp/subs.
awk" \
18930 || as_fn_error $? "could not setup config files machinery
" "$LINENO" 5
18933 # VPATH may cause trouble with some makes, so we remove sole $(srcdir),
18934 # ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".
", strip leading and
18935 # trailing colons and then remove the whole line if VPATH becomes empty
18936 # (actually we leave an empty line to preserve line numbers).
18937 if test "x
$srcdir" = x.; then
18938 ac_vpsub='/^[ ]*VPATH[ ]*=[ ]*/{
18956 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
18957 fi # test -n "$CONFIG_FILES"
18959 # Set up the scripts for CONFIG_HEADERS section.
18960 # No need to generate them if there are no CONFIG_HEADERS.
18961 # This happens for instance with `./config.status Makefile'.
18962 if test -n "$CONFIG_HEADERS"; then
18963 cat >"$ac_tmp/defines.
awk" <<\_ACAWK ||
18967 # Transform confdefs.h into an awk script `defines.awk', embedded as
18968 # here-document in config.status, that substitutes the proper values into
18969 # config.h.in to produce config.h.
18971 # Create a delimiter string that does not exist in confdefs.h, to ease
18972 # handling of long lines.
18974 for ac_last_try in false false :; do
18975 ac_tt=`sed -n "/$ac_delim/p
" confdefs.h`
18976 if test -z "$ac_tt"; then
18978 elif $ac_last_try; then
18979 as_fn_error $? "could not
make $CONFIG_HEADERS" "$LINENO" 5
18981 ac_delim="$ac_delim!$ac_delim _
$ac_delim!! "
18985 # For the awk script, D is an array of macro values keyed by name,
18986 # likewise P contains macro parameters if any. Preserve backslash
18987 # newline sequences.
18989 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
18991 s/.\{148\}/&'"$ac_delim"'/g
18994 s/^[ ]*#[ ]*define[ ][ ]*/ /
19001 s
/^ \
('"$ac_word_re"'\
)\
(([^
()]*)\
)[ ]*\
(.
*\
)/P
["\1"]="\2"\
19003 s
/^ \
('"$ac_word_re"'\
)[ ]*\
(.
*\
)/D
["\1"]=" \2"/p
19007 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\
1"]="\
2"\
19008 D["\
1"]=" \
3\\\\\\n
"\\/p
19010 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\
1"]=" \
2\\\\\\n
"\\/p
19015 s/.\{148\}/&'"$ac_delim"'/g
19020 s/["\\]/\\&/g
; s
/^
/"/; s/$/"/p
19023 s
/["\\]/\\&/g; s/^/"/; s
/$
/\\\\\\n
"\\/p
19025 ' <confdefs.h | sed '
19026 s/'"$ac_delim"'/"\\\
19027 "/g' >>$CONFIG_STATUS || ac_write_fail=1
19029 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
19030 for (key in D) D_is_set[key] = 1
19033 /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
19035 split(line, arg, " ")
19036 if (arg[1] == "#") {
19040 defundef
= substr
(arg
[1], 2)
19043 split(mac1
, mac2
, "(") #)
19045 prefix
= substr
(line
, 1, index
(line
, defundef
) - 1)
19046 if (D_is_set
[macro
]) {
19047 # Preserve the white space surrounding the "#".
19048 print prefix
"define", macro P
[macro
] D
[macro
]
19051 # Replace #undef with comments. This is necessary, for example,
19052 # in the case of _POSIX_SOURCE, which is predefined and required
19053 # on some systems where configure will not decide to define it.
19054 if (defundef
== "undef") {
19055 print
"/*", prefix defundef
, macro
, "*/"
19063 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
19064 as_fn_error $?
"could not setup config headers machinery" "$LINENO" 5
19065 fi # test -n "$CONFIG_HEADERS"
19068 eval set X
" :F $CONFIG_FILES :H $CONFIG_HEADERS :L $CONFIG_LINKS :C $CONFIG_COMMANDS"
19073 :[FHLC
]) ac_mode
=$ac_tag; continue;;
19075 case $ac_mode$ac_tag in
19077 :L
* |
:C
*:*) as_fn_error $?
"invalid tag \`$ac_tag'" "$LINENO" 5;;
19078 :[FH
]-) ac_tag
=-:-;;
19079 :[FH
]*) ac_tag
=$ac_tag:$ac_tag.
in;;
19096 -) ac_f
="$ac_tmp/stdin";;
19097 *) # Look for the file first in the build tree, then in the source tree
19098 # (if the path is not absolute). The absolute path cannot be DOS-style,
19099 # because $ac_f cannot contain `:'.
19103 *) test -f "$srcdir/$ac_f" && ac_f
="$srcdir/$ac_f";;
19105 as_fn_error
1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
19107 case $ac_f in *\'*) ac_f
=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
19108 as_fn_append ac_file_inputs
" '$ac_f'"
19111 # Let's still pretend it is `configure' which instantiates (i.e., don't
19112 # use $as_me), people would be surprised to read:
19113 # /* config.h. Generated by config.status. */
19114 configure_input
='Generated from '`
19115 $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
19117 if test x
"$ac_file" != x-
; then
19118 configure_input
="$ac_file. $configure_input"
19119 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
19120 $as_echo "$as_me: creating $ac_file" >&6;}
19122 # Neutralize special characters interpreted by sed in replacement strings.
19123 case $configure_input in #(
19124 *\
&* |
*\|
* |
*\\* )
19125 ac_sed_conf_input
=`$as_echo "$configure_input" |
19126 sed 's/[\\\\&|]/\\\\&/g'`;; #(
19127 *) ac_sed_conf_input
=$configure_input;;
19131 *:-:* |
*:-) cat >"$ac_tmp/stdin" \
19132 || as_fn_error $?
"could not create $ac_file" "$LINENO" 5 ;;
19137 ac_dir
=`$as_dirname -- "$ac_file" ||
19138 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
19139 X"$ac_file" : 'X\(//\)[^/]' \| \
19140 X"$ac_file" : 'X\(//\)$' \| \
19141 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
19142 $as_echo X"$ac_file" |
19143 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
19147 /^X\(\/\/\)[^/].*/{
19160 as_dir
="$ac_dir"; as_fn_mkdir_p
19164 .
) ac_dir_suffix
= ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
19166 ac_dir_suffix
=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
19167 # A ".." for each directory in $ac_dir_suffix.
19168 ac_top_builddir_sub
=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
19169 case $ac_top_builddir_sub in
19170 "") ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
19171 *) ac_top_build_prefix
=$ac_top_builddir_sub/ ;;
19174 ac_abs_top_builddir
=$ac_pwd
19175 ac_abs_builddir
=$ac_pwd$ac_dir_suffix
19176 # for backward compatibility:
19177 ac_top_builddir
=$ac_top_build_prefix
19180 .
) # We are building in place.
19182 ac_top_srcdir
=$ac_top_builddir_sub
19183 ac_abs_top_srcdir
=$ac_pwd ;;
19184 [\\/]* | ?
:[\\/]* ) # Absolute name.
19185 ac_srcdir
=$srcdir$ac_dir_suffix;
19186 ac_top_srcdir
=$srcdir
19187 ac_abs_top_srcdir
=$srcdir ;;
19188 *) # Relative name.
19189 ac_srcdir
=$ac_top_build_prefix$srcdir$ac_dir_suffix
19190 ac_top_srcdir
=$ac_top_build_prefix$srcdir
19191 ac_abs_top_srcdir
=$ac_pwd/$srcdir ;;
19193 ac_abs_srcdir
=$ac_abs_top_srcdir$ac_dir_suffix
19204 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
19205 # If the template does not know about datarootdir, expand it.
19206 # FIXME: This hack should be removed a few years after 2.60.
19207 ac_datarootdir_hack
=; ac_datarootdir_seen
=
19218 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
19219 *datarootdir
*) ac_datarootdir_seen
=yes;;
19220 *@datadir@
*|
*@docdir@
*|
*@infodir@
*|
*@localedir@
*|
*@mandir@
*)
19221 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
19222 $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
19224 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
19225 ac_datarootdir_hack='
19226 s&@datadir@&$datadir&g
19227 s&@docdir@&$docdir&g
19228 s&@infodir@&$infodir&g
19229 s&@localedir@&$localedir&g
19230 s&@mandir@&$mandir&g
19231 s&\\\${datarootdir}&$datarootdir&g' ;;
19235 # Neutralize VPATH when `$srcdir' = `.'.
19236 # Shell code in configure.ac might set extrasub.
19237 # FIXME: do we really want to maintain this feature?
19238 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
19239 ac_sed_extra="$ac_vpsub
19242 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
19244 /@
[a-zA-Z_
][a-zA-Z_0-9
]*@
/!b
19245 s|@configure_input@|
$ac_sed_conf_input|
;t t
19246 s
&@top_builddir@
&$ac_top_builddir_sub&;t t
19247 s
&@top_build_prefix@
&$ac_top_build_prefix&;t t
19248 s
&@srcdir@
&$ac_srcdir&;t t
19249 s
&@abs_srcdir@
&$ac_abs_srcdir&;t t
19250 s
&@top_srcdir@
&$ac_top_srcdir&;t t
19251 s
&@abs_top_srcdir@
&$ac_abs_top_srcdir&;t t
19252 s
&@builddir@
&$ac_builddir&;t t
19253 s
&@abs_builddir@
&$ac_abs_builddir&;t t
19254 s
&@abs_top_builddir@
&$ac_abs_top_builddir&;t t
19255 $ac_datarootdir_hack
19257 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.
awk" \
19258 >$ac_tmp/out || as_fn_error $? "could not create
$ac_file" "$LINENO" 5
19260 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
19261 { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out
"`; test -n "$ac_out"; } &&
19262 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' \
19263 "$ac_tmp/out
"`; test -z "$ac_out"; } &&
19264 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: $ac_file contains a reference to the variable \
`datarootdir'
19265 which seems to be undefined. Please make sure it is defined" >&5
19266 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir
'
19267 which seems to be undefined. Please make sure it is defined" >&2;}
19269 rm -f "$ac_tmp/stdin"
19271 -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";;
19272 *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";;
19274 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
19280 if test x"$ac_file" != x-; then
19282 $as_echo "/* $configure_input */" \
19283 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs"
19284 } >"$ac_tmp/config.h" \
19285 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
19286 if diff "$ac_file" "$ac_tmp/config.h" >/dev/null 2>&1; then
19287 { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
19288 $as_echo "$as_me: $ac_file is unchanged" >&6;}
19291 mv "$ac_tmp/config.h" "$ac_file" \
19292 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
19295 $as_echo "/* $configure_input */" \
19296 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" \
19297 || as_fn_error $? "could not create -" "$LINENO" 5
19305 if test "$ac_source" = "$ac_file" && test "$srcdir" = '.
'; then
19308 # Prefer the file from the source tree if names are identical.
19309 if test "$ac_source" = "$ac_file" || test ! -r "$ac_source"; then
19310 ac_source=$srcdir/$ac_source
19313 { $as_echo "$as_me:${as_lineno-$LINENO}: linking $ac_source to $ac_file" >&5
19314 $as_echo "$as_me: linking $ac_source to $ac_file" >&6;}
19316 if test ! -r "$ac_source"; then
19317 as_fn_error $? "$ac_source: file not found" "$LINENO" 5
19321 # Try a relative symlink, then a hard link, then a copy.
19323 [\\/$]* | ?:[\\/]* ) ac_rel_source=$ac_source ;;
19324 *) ac_rel_source=$ac_top_build_prefix$ac_source ;;
19326 ln -s "$ac_rel_source" "$ac_file" 2>/dev/null ||
19327 ln "$ac_source" "$ac_file" 2>/dev/null ||
19328 cp -p "$ac_source" "$ac_file" ||
19329 as_fn_error $? "cannot link or copy $ac_source to $ac_file" "$LINENO" 5
19332 :C) { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
19333 $as_echo "$as_me: executing $ac_file commands" >&6;}
19338 case $ac_file$ac_mode in
19339 "include/stamp-h":C) echo timestamp > include/stamp-h ;;
19340 "tools/makedep":C) wine_fn_output_makedep || as_fn_exit $? ;;
19341 "Makefile":C) wine_fn_output_makefile Makefile ;;
19342 ".gitignore":C) wine_fn_output_gitignore .gitignore ;;
19350 ac_clean_files=$ac_clean_files_save
19352 test $ac_write_fail = 0 ||
19353 as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5
19356 # configure is writing to config.log, and then calls config.status.
19357 # config.status does its own redirection, appending to config.log.
19358 # Unfortunately, on DOS this fails, as config.log is still kept open
19359 # by configure, so config.status won't be able to
write to it
; its
19360 # output is simply discarded. So we exec the FD to /dev/null,
19361 # effectively closing config.log, so it can be properly (re)opened and
19362 # appended to by config.status. When coming back to configure, we
19363 # need to make the FD available again.
19364 if test "$no_create" != yes; then
19366 ac_config_status_args
=
19367 test "$silent" = yes &&
19368 ac_config_status_args
="$ac_config_status_args --quiet"
19370 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success
=false
19372 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
19373 # would make configure fail if this is the last instruction.
19374 $ac_cs_success || as_fn_exit
1
19376 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no
; then
19377 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
19378 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
19382 if test "$no_create" = "yes"
19388 if test "x$wine_notices != "x
; then
19391 for msg
in $wine_notices; do
19393 if ${msg:+false} :; then :
19396 { $as_echo "$as_me:${as_lineno-$LINENO}: $msg" >&5
19397 $as_echo "$as_me: $msg" >&6;}
19402 for msg
in $wine_warnings; do
19404 if ${msg:+false} :; then :
19408 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $msg" >&5
19409 $as_echo "$as_me: WARNING: $msg" >&2;}
19415 $as_me: Finished. Do '${ac_make}' to compile Wine.