2 # Guess values for system-dependent variables and create Makefiles.
3 # Generated by GNU Autoconf 2.69 for Wine 1.7.48.
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.48'
584 PACKAGE_STRING
='Wine 1.7.48'
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
784 program_transform_name
797 enable_option_checking
801 enable_maintainer_mode
858 enable_api_ms_win_core_com_l1_1_0
859 enable_api_ms_win_core_console_l1_1_0
860 enable_api_ms_win_core_datetime_l1_1_0
861 enable_api_ms_win_core_datetime_l1_1_1
862 enable_api_ms_win_core_debug_l1_1_0
863 enable_api_ms_win_core_debug_l1_1_1
864 enable_api_ms_win_core_errorhandling_l1_1_0
865 enable_api_ms_win_core_errorhandling_l1_1_1
866 enable_api_ms_win_core_errorhandling_l1_1_2
867 enable_api_ms_win_core_fibers_l1_1_0
868 enable_api_ms_win_core_fibers_l1_1_1
869 enable_api_ms_win_core_file_l1_1_0
870 enable_api_ms_win_core_file_l1_2_0
871 enable_api_ms_win_core_file_l2_1_0
872 enable_api_ms_win_core_file_l2_1_1
873 enable_api_ms_win_core_handle_l1_1_0
874 enable_api_ms_win_core_heap_l1_1_0
875 enable_api_ms_win_core_heap_l1_2_0
876 enable_api_ms_win_core_heap_obsolete_l1_1_0
877 enable_api_ms_win_core_interlocked_l1_1_0
878 enable_api_ms_win_core_interlocked_l1_2_0
879 enable_api_ms_win_core_io_l1_1_1
880 enable_api_ms_win_core_kernel32_legacy_l1_1_0
881 enable_api_ms_win_core_libraryloader_l1_1_0
882 enable_api_ms_win_core_libraryloader_l1_1_1
883 enable_api_ms_win_core_localization_l1_2_0
884 enable_api_ms_win_core_localization_l1_2_1
885 enable_api_ms_win_core_localization_obsolete_l1_1_0
886 enable_api_ms_win_core_localregistry_l1_1_0
887 enable_api_ms_win_core_memory_l1_1_0
888 enable_api_ms_win_core_memory_l1_1_1
889 enable_api_ms_win_core_misc_l1_1_0
890 enable_api_ms_win_core_namedpipe_l1_1_0
891 enable_api_ms_win_core_namedpipe_l1_2_0
892 enable_api_ms_win_core_processenvironment_l1_1_0
893 enable_api_ms_win_core_processenvironment_l1_2_0
894 enable_api_ms_win_core_processthreads_l1_1_0
895 enable_api_ms_win_core_processthreads_l1_1_1
896 enable_api_ms_win_core_processthreads_l1_1_2
897 enable_api_ms_win_core_profile_l1_1_0
898 enable_api_ms_win_core_psapi_l1_1_0
899 enable_api_ms_win_core_registry_l1_1_0
900 enable_api_ms_win_core_rtlsupport_l1_1_0
901 enable_api_ms_win_core_rtlsupport_l1_2_0
902 enable_api_ms_win_core_shlwapi_legacy_l1_1_0
903 enable_api_ms_win_core_string_l1_1_0
904 enable_api_ms_win_core_synch_l1_1_0
905 enable_api_ms_win_core_synch_l1_2_0
906 enable_api_ms_win_core_sysinfo_l1_1_0
907 enable_api_ms_win_core_sysinfo_l1_2_0
908 enable_api_ms_win_core_sysinfo_l1_2_1
909 enable_api_ms_win_core_threadpool_legacy_l1_1_0
910 enable_api_ms_win_core_timezone_l1_1_0
911 enable_api_ms_win_core_url_l1_1_0
912 enable_api_ms_win_core_util_l1_1_0
913 enable_api_ms_win_core_winrt_error_l1_1_0
914 enable_api_ms_win_core_winrt_error_l1_1_1
915 enable_api_ms_win_core_winrt_l1_1_0
916 enable_api_ms_win_core_winrt_string_l1_1_0
917 enable_api_ms_win_core_xstate_l2_1_0
918 enable_api_ms_win_downlevel_advapi32_l1_1_0
919 enable_api_ms_win_downlevel_advapi32_l2_1_0
920 enable_api_ms_win_downlevel_normaliz_l1_1_0
921 enable_api_ms_win_downlevel_ole32_l1_1_0
922 enable_api_ms_win_downlevel_shell32_l1_1_0
923 enable_api_ms_win_downlevel_shlwapi_l1_1_0
924 enable_api_ms_win_downlevel_shlwapi_l2_1_0
925 enable_api_ms_win_downlevel_user32_l1_1_0
926 enable_api_ms_win_downlevel_version_l1_1_0
927 enable_api_ms_win_eventing_provider_l1_1_0
928 enable_api_ms_win_ntuser_dc_access_l1_1_0
929 enable_api_ms_win_security_base_l1_1_0
930 enable_api_ms_win_security_base_l1_2_0
931 enable_api_ms_win_security_sddl_l1_1_0
932 enable_api_ms_win_service_core_l1_1_1
933 enable_api_ms_win_service_management_l1_1_0
934 enable_api_ms_win_service_winsvc_l1_2_0
977 enable_d3dcompiler_33
978 enable_d3dcompiler_34
979 enable_d3dcompiler_35
980 enable_d3dcompiler_36
981 enable_d3dcompiler_37
982 enable_d3dcompiler_38
983 enable_d3dcompiler_39
984 enable_d3dcompiler_40
985 enable_d3dcompiler_41
986 enable_d3dcompiler_42
987 enable_d3dcompiler_43
988 enable_d3dcompiler_46
989 enable_d3dcompiler_47
1066 enable_explorerframe
1067 enable_ext_ms_win_gdi_devcaps_l1_1_0
1225 enable_photometadatahandler
1307 enable_windowscodecs
1308 enable_windowscodecsext
1310 enable_winecoreaudio_drv
1312 enable_winegstreamer
1313 enable_winejoystick_drv
1319 enable_wineqtdecoder
1368 enable_documentation
1376 enable_aspnet_regiis
1409 enable_presentationfontcache
1422 enable_servicemodelreg
1443 enable_winemenubuilder
1445 enable_winemsibuilder
1459 ac_precious_vars
='build_alias
1508 # Initialize some variables set by options.
1510 ac_init_version
=false
1511 ac_unrecognized_opts
=
1512 ac_unrecognized_sep
=
1513 # The variables have the same names as the options, with
1514 # dashes changed to underlines.
1515 cache_file
=/dev
/null
1522 program_transform_name
=s
,x
,x
,
1530 # Installation directory options.
1531 # These are left unexpanded so users can "make install exec_prefix=/foo"
1532 # and all the variables that are supposed to be based on exec_prefix
1533 # by default will actually change.
1534 # Use braces instead of parens because sh, perl, etc. also accept them.
1535 # (The list follows the same order as the GNU Coding Standards.)
1536 bindir
='${exec_prefix}/bin'
1537 sbindir
='${exec_prefix}/sbin'
1538 libexecdir
='${exec_prefix}/libexec'
1539 datarootdir
='${prefix}/share'
1540 datadir
='${datarootdir}'
1541 sysconfdir
='${prefix}/etc'
1542 sharedstatedir
='${prefix}/com'
1543 localstatedir
='${prefix}/var'
1544 includedir
='${prefix}/include'
1545 oldincludedir
='/usr/include'
1546 docdir
='${datarootdir}/doc/${PACKAGE_TARNAME}'
1547 infodir
='${datarootdir}/info'
1552 libdir
='${exec_prefix}/lib'
1553 localedir
='${datarootdir}/locale'
1554 mandir
='${datarootdir}/man'
1560 # If the previous option needs an argument, assign it.
1561 if test -n "$ac_prev"; then
1562 eval $ac_prev=\
$ac_option
1568 *=?
*) ac_optarg
=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
1573 # Accept the important Cygnus configure options, so we can diagnose typos.
1575 case $ac_dashdash$ac_option in
1579 -bindir |
--bindir |
--bindi |
--bind |
--bin |
--bi)
1581 -bindir=* |
--bindir=* |
--bindi=* |
--bind=* |
--bin=* |
--bi=*)
1582 bindir
=$ac_optarg ;;
1584 -build |
--build |
--buil |
--bui |
--bu)
1585 ac_prev
=build_alias
;;
1586 -build=* |
--build=* |
--buil=* |
--bui=* |
--bu=*)
1587 build_alias
=$ac_optarg ;;
1589 -cache-file |
--cache-file |
--cache-fil |
--cache-fi \
1590 |
--cache-f |
--cache- |
--cache |
--cach |
--cac |
--ca |
--c)
1591 ac_prev
=cache_file
;;
1592 -cache-file=* |
--cache-file=* |
--cache-fil=* |
--cache-fi=* \
1593 |
--cache-f=* |
--cache-=* |
--cache=* |
--cach=* |
--cac=* |
--ca=* |
--c=*)
1594 cache_file
=$ac_optarg ;;
1596 --config-cache |
-C)
1597 cache_file
=config.cache
;;
1599 -datadir |
--datadir |
--datadi |
--datad)
1601 -datadir=* |
--datadir=* |
--datadi=* |
--datad=*)
1602 datadir
=$ac_optarg ;;
1604 -datarootdir |
--datarootdir |
--datarootdi |
--datarootd |
--dataroot \
1605 |
--dataroo |
--dataro |
--datar)
1606 ac_prev
=datarootdir
;;
1607 -datarootdir=* |
--datarootdir=* |
--datarootdi=* |
--datarootd=* \
1608 |
--dataroot=* |
--dataroo=* |
--dataro=* |
--datar=*)
1609 datarootdir
=$ac_optarg ;;
1611 -disable-* |
--disable-*)
1612 ac_useropt
=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
1613 # Reject names that are not valid shell variable names.
1614 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
1615 as_fn_error $?
"invalid feature name: $ac_useropt"
1616 ac_useropt_orig
=$ac_useropt
1617 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1618 case $ac_user_opts in
1620 "enable_
$ac_useropt"
1622 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
1623 ac_unrecognized_sep
=', ';;
1625 eval enable_
$ac_useropt=no
;;
1627 -docdir |
--docdir |
--docdi |
--doc |
--do)
1629 -docdir=* |
--docdir=* |
--docdi=* |
--doc=* |
--do=*)
1630 docdir
=$ac_optarg ;;
1632 -dvidir |
--dvidir |
--dvidi |
--dvid |
--dvi |
--dv)
1634 -dvidir=* |
--dvidir=* |
--dvidi=* |
--dvid=* |
--dvi=* |
--dv=*)
1635 dvidir
=$ac_optarg ;;
1637 -enable-* |
--enable-*)
1638 ac_useropt
=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
1639 # Reject names that are not valid shell variable names.
1640 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
1641 as_fn_error $?
"invalid feature name: $ac_useropt"
1642 ac_useropt_orig
=$ac_useropt
1643 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1644 case $ac_user_opts in
1646 "enable_
$ac_useropt"
1648 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
1649 ac_unrecognized_sep
=', ';;
1651 eval enable_
$ac_useropt=\
$ac_optarg ;;
1653 -exec-prefix |
--exec_prefix |
--exec-prefix |
--exec-prefi \
1654 |
--exec-pref |
--exec-pre |
--exec-pr |
--exec-p |
--exec- \
1655 |
--exec |
--exe |
--ex)
1656 ac_prev
=exec_prefix
;;
1657 -exec-prefix=* |
--exec_prefix=* |
--exec-prefix=* |
--exec-prefi=* \
1658 |
--exec-pref=* |
--exec-pre=* |
--exec-pr=* |
--exec-p=* |
--exec-=* \
1659 |
--exec=* |
--exe=* |
--ex=*)
1660 exec_prefix
=$ac_optarg ;;
1662 -gas |
--gas |
--ga |
--g)
1663 # Obsolete; use --with-gas.
1666 -help |
--help |
--hel |
--he |
-h)
1667 ac_init_help
=long
;;
1668 -help=r
* |
--help=r
* |
--hel=r
* |
--he=r
* |
-hr*)
1669 ac_init_help
=recursive
;;
1670 -help=s
* |
--help=s
* |
--hel=s
* |
--he=s
* |
-hs*)
1671 ac_init_help
=short
;;
1673 -host |
--host |
--hos |
--ho)
1674 ac_prev
=host_alias
;;
1675 -host=* |
--host=* |
--hos=* |
--ho=*)
1676 host_alias
=$ac_optarg ;;
1678 -htmldir |
--htmldir |
--htmldi |
--htmld |
--html |
--htm |
--ht)
1680 -htmldir=* |
--htmldir=* |
--htmldi=* |
--htmld=* |
--html=* |
--htm=* \
1682 htmldir
=$ac_optarg ;;
1684 -includedir |
--includedir |
--includedi |
--included |
--include \
1685 |
--includ |
--inclu |
--incl |
--inc)
1686 ac_prev
=includedir
;;
1687 -includedir=* |
--includedir=* |
--includedi=* |
--included=* |
--include=* \
1688 |
--includ=* |
--inclu=* |
--incl=* |
--inc=*)
1689 includedir
=$ac_optarg ;;
1691 -infodir |
--infodir |
--infodi |
--infod |
--info |
--inf)
1693 -infodir=* |
--infodir=* |
--infodi=* |
--infod=* |
--info=* |
--inf=*)
1694 infodir
=$ac_optarg ;;
1696 -libdir |
--libdir |
--libdi |
--libd)
1698 -libdir=* |
--libdir=* |
--libdi=* |
--libd=*)
1699 libdir
=$ac_optarg ;;
1701 -libexecdir |
--libexecdir |
--libexecdi |
--libexecd |
--libexec \
1702 |
--libexe |
--libex |
--libe)
1703 ac_prev
=libexecdir
;;
1704 -libexecdir=* |
--libexecdir=* |
--libexecdi=* |
--libexecd=* |
--libexec=* \
1705 |
--libexe=* |
--libex=* |
--libe=*)
1706 libexecdir
=$ac_optarg ;;
1708 -localedir |
--localedir |
--localedi |
--localed |
--locale)
1709 ac_prev
=localedir
;;
1710 -localedir=* |
--localedir=* |
--localedi=* |
--localed=* |
--locale=*)
1711 localedir
=$ac_optarg ;;
1713 -localstatedir |
--localstatedir |
--localstatedi |
--localstated \
1714 |
--localstate |
--localstat |
--localsta |
--localst |
--locals)
1715 ac_prev
=localstatedir
;;
1716 -localstatedir=* |
--localstatedir=* |
--localstatedi=* |
--localstated=* \
1717 |
--localstate=* |
--localstat=* |
--localsta=* |
--localst=* |
--locals=*)
1718 localstatedir
=$ac_optarg ;;
1720 -mandir |
--mandir |
--mandi |
--mand |
--man |
--ma |
--m)
1722 -mandir=* |
--mandir=* |
--mandi=* |
--mand=* |
--man=* |
--ma=* |
--m=*)
1723 mandir
=$ac_optarg ;;
1725 -nfp |
--nfp |
--nf)
1726 # Obsolete; use --without-fp.
1729 -no-create |
--no-create |
--no-creat |
--no-crea |
--no-cre \
1730 |
--no-cr |
--no-c |
-n)
1733 -no-recursion |
--no-recursion |
--no-recursio |
--no-recursi \
1734 |
--no-recurs |
--no-recur |
--no-recu |
--no-rec |
--no-re |
--no-r)
1737 -oldincludedir |
--oldincludedir |
--oldincludedi |
--oldincluded \
1738 |
--oldinclude |
--oldinclud |
--oldinclu |
--oldincl |
--oldinc \
1739 |
--oldin |
--oldi |
--old |
--ol |
--o)
1740 ac_prev
=oldincludedir
;;
1741 -oldincludedir=* |
--oldincludedir=* |
--oldincludedi=* |
--oldincluded=* \
1742 |
--oldinclude=* |
--oldinclud=* |
--oldinclu=* |
--oldincl=* |
--oldinc=* \
1743 |
--oldin=* |
--oldi=* |
--old=* |
--ol=* |
--o=*)
1744 oldincludedir
=$ac_optarg ;;
1746 -prefix |
--prefix |
--prefi |
--pref |
--pre |
--pr |
--p)
1748 -prefix=* |
--prefix=* |
--prefi=* |
--pref=* |
--pre=* |
--pr=* |
--p=*)
1749 prefix
=$ac_optarg ;;
1751 -program-prefix |
--program-prefix |
--program-prefi |
--program-pref \
1752 |
--program-pre |
--program-pr |
--program-p)
1753 ac_prev
=program_prefix
;;
1754 -program-prefix=* |
--program-prefix=* |
--program-prefi=* \
1755 |
--program-pref=* |
--program-pre=* |
--program-pr=* |
--program-p=*)
1756 program_prefix
=$ac_optarg ;;
1758 -program-suffix |
--program-suffix |
--program-suffi |
--program-suff \
1759 |
--program-suf |
--program-su |
--program-s)
1760 ac_prev
=program_suffix
;;
1761 -program-suffix=* |
--program-suffix=* |
--program-suffi=* \
1762 |
--program-suff=* |
--program-suf=* |
--program-su=* |
--program-s=*)
1763 program_suffix
=$ac_optarg ;;
1765 -program-transform-name |
--program-transform-name \
1766 |
--program-transform-nam |
--program-transform-na \
1767 |
--program-transform-n |
--program-transform- \
1768 |
--program-transform |
--program-transfor \
1769 |
--program-transfo |
--program-transf \
1770 |
--program-trans |
--program-tran \
1771 |
--progr-tra |
--program-tr |
--program-t)
1772 ac_prev
=program_transform_name
;;
1773 -program-transform-name=* |
--program-transform-name=* \
1774 |
--program-transform-nam=* |
--program-transform-na=* \
1775 |
--program-transform-n=* |
--program-transform-=* \
1776 |
--program-transform=* |
--program-transfor=* \
1777 |
--program-transfo=* |
--program-transf=* \
1778 |
--program-trans=* |
--program-tran=* \
1779 |
--progr-tra=* |
--program-tr=* |
--program-t=*)
1780 program_transform_name
=$ac_optarg ;;
1782 -pdfdir |
--pdfdir |
--pdfdi |
--pdfd |
--pdf |
--pd)
1784 -pdfdir=* |
--pdfdir=* |
--pdfdi=* |
--pdfd=* |
--pdf=* |
--pd=*)
1785 pdfdir
=$ac_optarg ;;
1787 -psdir |
--psdir |
--psdi |
--psd |
--ps)
1789 -psdir=* |
--psdir=* |
--psdi=* |
--psd=* |
--ps=*)
1792 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
1793 |
-silent |
--silent |
--silen |
--sile |
--sil)
1796 -sbindir |
--sbindir |
--sbindi |
--sbind |
--sbin |
--sbi |
--sb)
1798 -sbindir=* |
--sbindir=* |
--sbindi=* |
--sbind=* |
--sbin=* \
1800 sbindir
=$ac_optarg ;;
1802 -sharedstatedir |
--sharedstatedir |
--sharedstatedi \
1803 |
--sharedstated |
--sharedstate |
--sharedstat |
--sharedsta \
1804 |
--sharedst |
--shareds |
--shared |
--share |
--shar \
1806 ac_prev
=sharedstatedir
;;
1807 -sharedstatedir=* |
--sharedstatedir=* |
--sharedstatedi=* \
1808 |
--sharedstated=* |
--sharedstate=* |
--sharedstat=* |
--sharedsta=* \
1809 |
--sharedst=* |
--shareds=* |
--shared=* |
--share=* |
--shar=* \
1811 sharedstatedir
=$ac_optarg ;;
1813 -site |
--site |
--sit)
1815 -site=* |
--site=* |
--sit=*)
1818 -srcdir |
--srcdir |
--srcdi |
--srcd |
--src |
--sr)
1820 -srcdir=* |
--srcdir=* |
--srcdi=* |
--srcd=* |
--src=* |
--sr=*)
1821 srcdir
=$ac_optarg ;;
1823 -sysconfdir |
--sysconfdir |
--sysconfdi |
--sysconfd |
--sysconf \
1824 |
--syscon |
--sysco |
--sysc |
--sys |
--sy)
1825 ac_prev
=sysconfdir
;;
1826 -sysconfdir=* |
--sysconfdir=* |
--sysconfdi=* |
--sysconfd=* |
--sysconf=* \
1827 |
--syscon=* |
--sysco=* |
--sysc=* |
--sys=* |
--sy=*)
1828 sysconfdir
=$ac_optarg ;;
1830 -target |
--target |
--targe |
--targ |
--tar |
--ta |
--t)
1831 ac_prev
=target_alias
;;
1832 -target=* |
--target=* |
--targe=* |
--targ=* |
--tar=* |
--ta=* |
--t=*)
1833 target_alias
=$ac_optarg ;;
1835 -v |
-verbose |
--verbose |
--verbos |
--verbo |
--verb)
1838 -version |
--version |
--versio |
--versi |
--vers |
-V)
1839 ac_init_version
=: ;;
1842 ac_useropt
=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1843 # Reject names that are not valid shell variable names.
1844 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
1845 as_fn_error $?
"invalid package name: $ac_useropt"
1846 ac_useropt_orig
=$ac_useropt
1847 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1848 case $ac_user_opts in
1852 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
1853 ac_unrecognized_sep
=', ';;
1855 eval with_
$ac_useropt=\
$ac_optarg ;;
1857 -without-* |
--without-*)
1858 ac_useropt
=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1859 # Reject names that are not valid shell variable names.
1860 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
1861 as_fn_error $?
"invalid package name: $ac_useropt"
1862 ac_useropt_orig
=$ac_useropt
1863 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1864 case $ac_user_opts in
1868 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
1869 ac_unrecognized_sep
=', ';;
1871 eval with_
$ac_useropt=no
;;
1874 # Obsolete; use --with-x.
1877 -x-includes |
--x-includes |
--x-include |
--x-includ |
--x-inclu \
1878 |
--x-incl |
--x-inc |
--x-in |
--x-i)
1879 ac_prev
=x_includes
;;
1880 -x-includes=* |
--x-includes=* |
--x-include=* |
--x-includ=* |
--x-inclu=* \
1881 |
--x-incl=* |
--x-inc=* |
--x-in=* |
--x-i=*)
1882 x_includes
=$ac_optarg ;;
1884 -x-libraries |
--x-libraries |
--x-librarie |
--x-librari \
1885 |
--x-librar |
--x-libra |
--x-libr |
--x-lib |
--x-li |
--x-l)
1886 ac_prev
=x_libraries
;;
1887 -x-libraries=* |
--x-libraries=* |
--x-librarie=* |
--x-librari=* \
1888 |
--x-librar=* |
--x-libra=* |
--x-libr=* |
--x-lib=* |
--x-li=* |
--x-l=*)
1889 x_libraries
=$ac_optarg ;;
1891 -*) as_fn_error $?
"unrecognized option: \`$ac_option'
1892 Try \`$0 --help' for more information"
1896 ac_envvar
=`expr "x$ac_option" : 'x\([^=]*\)='`
1897 # Reject names that are not valid shell variable names.
1898 case $ac_envvar in #(
1899 '' |
[0-9]* |
*[!_
$as_cr_alnum]* )
1900 as_fn_error $?
"invalid variable name: \`$ac_envvar'" ;;
1902 eval $ac_envvar=\
$ac_optarg
1903 export $ac_envvar ;;
1906 # FIXME: should be removed in autoconf 3.0.
1907 $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1908 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev
/null
&&
1909 $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1910 : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}"
1916 if test -n "$ac_prev"; then
1917 ac_option
=--`echo $ac_prev | sed 's/_/-/g'`
1918 as_fn_error $?
"missing argument to $ac_option"
1921 if test -n "$ac_unrecognized_opts"; then
1922 case $enable_option_checking in
1924 fatal
) as_fn_error $?
"unrecognized options: $ac_unrecognized_opts" ;;
1925 *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
1929 # Check all directory arguments for consistency.
1930 for ac_var
in exec_prefix prefix bindir sbindir libexecdir datarootdir \
1931 datadir sysconfdir sharedstatedir localstatedir includedir \
1932 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1933 libdir localedir mandir
1935 eval ac_val
=\$
$ac_var
1936 # Remove trailing slashes.
1939 ac_val
=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
1940 eval $ac_var=\
$ac_val;;
1942 # Be sure to have absolute directory names.
1944 [\\/$
]* | ?
:[\\/]* ) continue;;
1945 NONE |
'' ) case $ac_var in *prefix
) continue;; esac;;
1947 as_fn_error $?
"expected an absolute directory name for --$ac_var: $ac_val"
1950 # There might be people who depend on the old broken behavior: `$host'
1951 # used to hold the argument of --host etc.
1952 # FIXME: To remove some day.
1955 target
=$target_alias
1957 # FIXME: To remove some day.
1958 if test "x$host_alias" != x
; then
1959 if test "x$build_alias" = x
; then
1960 cross_compiling
=maybe
1961 elif test "x$build_alias" != "x$host_alias"; then
1967 test -n "$host_alias" && ac_tool_prefix
=$host_alias-
1969 test "$silent" = yes && exec 6>/dev
/null
1972 ac_pwd
=`pwd` && test -n "$ac_pwd" &&
1973 ac_ls_di
=`ls -di .` &&
1974 ac_pwd_ls_di
=`cd "$ac_pwd" && ls -di .` ||
1975 as_fn_error $?
"working directory cannot be determined"
1976 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1977 as_fn_error $?
"pwd does not report name of working directory"
1980 # Find the source files, if location was not specified.
1981 if test -z "$srcdir"; then
1982 ac_srcdir_defaulted
=yes
1983 # Try the directory containing this script, then the parent directory.
1984 ac_confdir
=`$as_dirname -- "$as_myself" ||
1985 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1986 X"$as_myself" : 'X\(//\)[^/]' \| \
1987 X"$as_myself" : 'X\(//\)$' \| \
1988 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
1989 $as_echo X"$as_myself" |
1990 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
2008 if test ! -r "$srcdir/$ac_unique_file"; then
2012 ac_srcdir_defaulted
=no
2014 if test ! -r "$srcdir/$ac_unique_file"; then
2015 test "$ac_srcdir_defaulted" = yes && srcdir
="$ac_confdir or .."
2016 as_fn_error $?
"cannot find sources ($ac_unique_file) in $srcdir"
2018 ac_msg
="sources are in $srcdir, but \`cd $srcdir' does not work"
2020 cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
2022 # When building in place, set srcdir=.
2023 if test "$ac_abs_confdir" = "$ac_pwd"; then
2026 # Remove unnecessary trailing slashes from srcdir.
2027 # Double slashes in file names in object file debugging info
2028 # mess up M-x gdb in Emacs.
2030 */) srcdir
=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
2032 for ac_var
in $ac_precious_vars; do
2033 eval ac_env_
${ac_var}_set=\${${ac_var}+set}
2034 eval ac_env_
${ac_var}_value
=\$
${ac_var}
2035 eval ac_cv_env_
${ac_var}_set=\${${ac_var}+set}
2036 eval ac_cv_env_
${ac_var}_value
=\$
${ac_var}
2040 # Report the --help message.
2042 if test "$ac_init_help" = "long"; then
2043 # Omit some internal or obsolete options to make the list less imposing.
2044 # This message is too long to be a string in the A/UX 3.1 sh.
2046 \`configure' configures Wine 1.7.48 to adapt to many kinds of systems.
2048 Usage: $0 [OPTION]... [VAR=VALUE]...
2050 To assign environment variables (e.g., CC, CFLAGS...), specify them as
2051 VAR=VALUE. See below for descriptions of some of the useful variables.
2053 Defaults for the options are specified in brackets.
2056 -h, --help display this help and exit
2057 --help=short display options specific to this package
2058 --help=recursive display the short help of all the included packages
2059 -V, --version display version information and exit
2060 -q, --quiet, --silent do not print \`checking ...' messages
2061 --cache-file=FILE cache test results in FILE [disabled]
2062 -C, --config-cache alias for \`--cache-file=config.cache'
2063 -n, --no-create do not create output files
2064 --srcdir=DIR find the sources in DIR [configure dir or \`..']
2066 Installation directories:
2067 --prefix=PREFIX install architecture-independent files in PREFIX
2068 [$ac_default_prefix]
2069 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
2072 By default, \`make install' will install all the files in
2073 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
2074 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
2075 for instance \`--prefix=\$HOME'.
2077 For better control, use the options below.
2079 Fine tuning of the installation directories:
2080 --bindir=DIR user executables [EPREFIX/bin]
2081 --sbindir=DIR system admin executables [EPREFIX/sbin]
2082 --libexecdir=DIR program executables [EPREFIX/libexec]
2083 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
2084 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
2085 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
2086 --libdir=DIR object code libraries [EPREFIX/lib]
2087 --includedir=DIR C header files [PREFIX/include]
2088 --oldincludedir=DIR C header files for non-gcc [/usr/include]
2089 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
2090 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
2091 --infodir=DIR info documentation [DATAROOTDIR/info]
2092 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
2093 --mandir=DIR man documentation [DATAROOTDIR/man]
2094 --docdir=DIR documentation root [DATAROOTDIR/doc/wine]
2095 --htmldir=DIR html documentation [DOCDIR]
2096 --dvidir=DIR dvi documentation [DOCDIR]
2097 --pdfdir=DIR pdf documentation [DOCDIR]
2098 --psdir=DIR ps documentation [DOCDIR]
2104 --x-includes=DIR X include files are
in DIR
2105 --x-libraries=DIR X library files are
in DIR
2108 --build=BUILD configure
for building on BUILD
[guessed
]
2109 --host=HOST cross-compile to build programs to run on HOST
[BUILD
]
2113 if test -n "$ac_init_help"; then
2114 case $ac_init_help in
2115 short | recursive
) echo "Configuration of Wine 1.7.48:";;
2120 --disable-option-checking ignore unrecognized
--enable/--with options
2121 --disable-FEATURE do not include FEATURE
(same as
--enable-FEATURE=no
)
2122 --enable-FEATURE[=ARG
] include FEATURE
[ARG
=yes]
2123 --disable-win16 do not include Win16 support
2124 --enable-win64 build a Win64 emulator on AMD64
(won
't run Win32
2126 --disable-tests do not build the regression tests
2127 --enable-maintainer-mode
2128 enable maintainer-specific build rules
2129 --disable-largefile omit support for large files
2132 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
2133 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
2134 --without-alsa do not use the Alsa sound support
2135 --without-capi do not use CAPI (ISDN support)
2136 --without-cms do not use CMS (color management support)
2137 --without-coreaudio do not use the CoreAudio sound support
2138 --without-cups do not use CUPS
2139 --without-curses do not use (n)curses
2140 --without-dbus do not use DBus (dynamic device support)
2141 --without-fontconfig do not use fontconfig
2142 --without-freetype do not use the FreeType library
2143 --without-gettext do not use gettext
2144 --with-gettextpo use the GetTextPO library to rebuild po files
2145 --without-gphoto do not use gphoto (Digital Camera support)
2146 --without-glu do not use the GLU library
2147 --without-gnutls do not use GnuTLS (schannel support)
2148 --without-gsm do not use libgsm (GSM 06.10 codec support)
2149 --without-gstreamer do not use GStreamer (codecs support)
2150 --without-hal do not use HAL (dynamic device support)
2151 --without-jpeg do not use JPEG
2152 --without-ldap do not use LDAP
2153 --without-mpg123 do not use the mpg123 library
2154 --without-netapi do not use the Samba NetAPI library
2155 --without-openal do not use OpenAL
2156 --without-opencl do not use OpenCL
2157 --without-opengl do not use OpenGL
2158 --without-osmesa do not use the OSMesa library
2159 --without-oss do not use the OSS sound support
2160 --without-pcap do not use the Packet Capture library
2161 --without-png do not use PNG
2162 --without-pthread do not use the pthread library
2163 --without-sane do not use SANE (scanner support)
2164 --without-tiff do not use TIFF
2165 --without-v4l do not use v4l1 (v4l support)
2166 --without-xcomposite do not use the Xcomposite extension
2167 --without-xcursor do not use the Xcursor extension
2168 --without-xinerama do not use Xinerama (multi-monitor support)
2169 --without-xinput do not use the Xinput extension
2170 --without-xinput2 do not use the Xinput 2 extension
2171 --without-xml do not use XML
2172 --without-xrandr do not use Xrandr (resolution changes)
2173 --without-xrender do not use the Xrender extension
2174 --without-xshape do not use the Xshape extension
2175 --without-xshm do not use XShm (shared memory extension)
2176 --without-xslt do not use XSLT
2177 --without-xxf86vm do not use XFree video mode extension
2178 --without-zlib do not use Zlib (data compression)
2179 --with-wine-tools=DIR use Wine tools from directory DIR
2180 --with-wine64=DIR use the 64-bit Wine in DIR for a Wow64 build
2181 --with-x use the X Window System
2183 Some influential environment variables:
2184 CC C compiler command
2185 CFLAGS C compiler flags
2186 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
2187 nonstandard directory <lib dir>
2188 LIBS libraries to pass to the linker, e.g. -l<library>
2189 CPPFLAGS (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if
2190 you have headers in a nonstandard directory <include dir>
2191 CXX C++ compiler command
2192 CXXFLAGS C++ compiler flags
2194 XMKMF Path to xmkmf, Makefile generator for X Window System
2195 XML2_CFLAGS C compiler flags for libxml-2.0, overriding pkg-config
2196 XML2_LIBS Linker flags for libxml-2.0, overriding pkg-config
2197 XSLT_CFLAGS C compiler flags for libxslt, overriding pkg-config
2198 XSLT_LIBS Linker flags for libxslt, overriding pkg-config
2199 DBUS_CFLAGS C compiler flags for dbus-1, overriding pkg-config
2200 DBUS_LIBS Linker flags for dbus-1, overriding pkg-config
2201 HAL_CFLAGS C compiler flags for hal, overriding pkg-config
2202 HAL_LIBS Linker flags for hal, overriding pkg-config
2204 C compiler flags for gnutls, overriding pkg-config
2205 GNUTLS_LIBS Linker flags for gnutls, overriding pkg-config
2206 SANE_CFLAGS C compiler flags for libsane, overriding pkg-config
2207 SANE_LIBS Linker flags for libsane, overriding pkg-config
2209 C compiler flags for libgphoto2, overriding pkg-config
2211 Linker flags for libgphoto2, overriding pkg-config
2213 C compiler flags for libgphoto2_port, overriding pkg-config
2215 Linker flags for libgphoto2_port, overriding pkg-config
2217 C compiler flags for lcms2, overriding pkg-config
2218 LCMS2_LIBS Linker flags for lcms2, overriding pkg-config
2220 C compiler flags for freetype2, overriding pkg-config
2222 Linker flags for freetype2, overriding pkg-config
2224 C compiler flags for gstreamer-app-0.10, overriding pkg-config
2226 Linker flags for gstreamer-app-0.10, overriding pkg-config
2228 C compiler flags for capi20, overriding pkg-config
2229 CAPI20_LIBS Linker flags for capi20, overriding pkg-config
2231 C compiler flags for fontconfig, overriding pkg-config
2233 Linker flags for fontconfig, overriding pkg-config
2234 JPEG_CFLAGS C compiler flags for libjpeg, overriding pkg-config
2235 JPEG_LIBS Linker flags for libjpeg, overriding pkg-config
2236 PNG_CFLAGS C compiler flags for libpng, overriding pkg-config
2237 PNG_LIBS Linker flags for libpng, overriding pkg-config
2238 TIFF_CFLAGS C compiler flags for libtiff, overriding pkg-config
2239 TIFF_LIBS Linker flags for libtiff, overriding pkg-config
2241 C compiler flags for libmpg123, overriding pkg-config
2242 MPG123_LIBS Linker flags for libmpg123, overriding pkg-config
2244 Use these variables to override the choices made by `configure' or to
help
2245 it to
find libraries and programs with nonstandard names
/locations.
2247 Report bugs to
<wine-devel@winehq.org
>.
2248 Wine home page
: <http
://www.winehq.org
>.
2253 if test "$ac_init_help" = "recursive"; then
2254 # If there are subdirs, report their specific --help.
2255 for ac_dir
in : $ac_subdirs_all; do test "x$ac_dir" = x
: && continue
2256 test -d "$ac_dir" ||
2257 { cd "$srcdir" && ac_pwd
=`pwd` && srcdir
=.
&& test -d "$ac_dir"; } ||
2262 .
) ac_dir_suffix
= ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
2264 ac_dir_suffix
=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
2265 # A ".." for each directory in $ac_dir_suffix.
2266 ac_top_builddir_sub
=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
2267 case $ac_top_builddir_sub in
2268 "") ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
2269 *) ac_top_build_prefix
=$ac_top_builddir_sub/ ;;
2272 ac_abs_top_builddir
=$ac_pwd
2273 ac_abs_builddir
=$ac_pwd$ac_dir_suffix
2274 # for backward compatibility:
2275 ac_top_builddir
=$ac_top_build_prefix
2278 .
) # We are building in place.
2280 ac_top_srcdir
=$ac_top_builddir_sub
2281 ac_abs_top_srcdir
=$ac_pwd ;;
2282 [\\/]* | ?
:[\\/]* ) # Absolute name.
2283 ac_srcdir
=$srcdir$ac_dir_suffix;
2284 ac_top_srcdir
=$srcdir
2285 ac_abs_top_srcdir
=$srcdir ;;
2287 ac_srcdir
=$ac_top_build_prefix$srcdir$ac_dir_suffix
2288 ac_top_srcdir
=$ac_top_build_prefix$srcdir
2289 ac_abs_top_srcdir
=$ac_pwd/$srcdir ;;
2291 ac_abs_srcdir
=$ac_abs_top_srcdir$ac_dir_suffix
2293 cd "$ac_dir" ||
{ ac_status
=$?
; continue; }
2294 # Check for guested configure.
2295 if test -f "$ac_srcdir/configure.gnu"; then
2297 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
2298 elif test -f "$ac_srcdir/configure"; then
2300 $SHELL "$ac_srcdir/configure" --help=recursive
2302 $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
2304 cd "$ac_pwd" ||
{ ac_status
=$?
; break; }
2308 test -n "$ac_init_help" && exit $ac_status
2309 if $ac_init_version; then
2311 Wine configure
1.7.48
2312 generated by GNU Autoconf
2.69
2314 Copyright
(C
) 2012 Free Software Foundation
, Inc.
2315 This configure
script is free software
; the Free Software Foundation
2316 gives unlimited permission to copy
, distribute and modify it.
2321 ## ------------------------ ##
2322 ## Autoconf initialization. ##
2323 ## ------------------------ ##
2325 # ac_fn_c_try_compile LINENO
2326 # --------------------------
2327 # Try to compile conftest.$ac_ext, and return whether this succeeded.
2328 ac_fn_c_try_compile
()
2330 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
2331 rm -f conftest.
$ac_objext
2332 if { { ac_try
="$ac_compile"
2334 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
2335 *) ac_try_echo=$ac_try;;
2337 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2338 $as_echo "$ac_try_echo"; } >&5
2339 (eval "$ac_compile") 2>conftest.err
2341 if test -s conftest.err; then
2342 grep -v '^ *+' conftest.err >conftest.er1
2343 cat conftest.er1 >&5
2344 mv -f conftest.er1 conftest.err
2346 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2347 test $ac_status = 0; } && {
2348 test -z "$ac_c_werror_flag" ||
2349 test ! -s conftest.err
2350 } && test -s conftest.$ac_objext; then :
2353 $as_echo "$as_me: failed program was:" >&5
2354 sed 's/^/| /' conftest.$ac_ext >&5
2358 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2359 as_fn_set_status $ac_retval
2361 } # ac_fn_c_try_compile
2363 # ac_fn_cxx_try_compile LINENO
2364 # ----------------------------
2365 # Try to compile conftest.$ac_ext, and return whether this succeeded.
2366 ac_fn_cxx_try_compile ()
2368 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2369 rm -f conftest.$ac_objext
2370 if { { ac_try="$ac_compile"
2372 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
2373 *) ac_try_echo
=$ac_try;;
2375 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2376 $as_echo "$ac_try_echo"; } >&5
2377 (eval "$ac_compile") 2>conftest.err
2379 if test -s conftest.err
; then
2380 grep -v '^ *+' conftest.err
>conftest.er1
2381 cat conftest.er1
>&5
2382 mv -f conftest.er1 conftest.err
2384 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2385 test $ac_status = 0; } && {
2386 test -z "$ac_cxx_werror_flag" ||
2387 test ! -s conftest.err
2388 } && test -s conftest.
$ac_objext; then :
2391 $as_echo "$as_me: failed program was:" >&5
2392 sed 's/^/| /' conftest.
$ac_ext >&5
2396 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2397 as_fn_set_status
$ac_retval
2399 } # ac_fn_cxx_try_compile
2401 # ac_fn_c_try_link LINENO
2402 # -----------------------
2403 # Try to link conftest.$ac_ext, and return whether this succeeded.
2406 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
2407 rm -f conftest.
$ac_objext conftest
$ac_exeext
2408 if { { ac_try
="$ac_link"
2410 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
2411 *) ac_try_echo=$ac_try;;
2413 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2414 $as_echo "$ac_try_echo"; } >&5
2415 (eval "$ac_link") 2>conftest.err
2417 if test -s conftest.err; then
2418 grep -v '^ *+' conftest.err >conftest.er1
2419 cat conftest.er1 >&5
2420 mv -f conftest.er1 conftest.err
2422 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2423 test $ac_status = 0; } && {
2424 test -z "$ac_c_werror_flag" ||
2425 test ! -s conftest.err
2426 } && test -s conftest$ac_exeext && {
2427 test "$cross_compiling" = yes ||
2428 test -x conftest$ac_exeext
2432 $as_echo "$as_me: failed program was:" >&5
2433 sed 's/^/| /' conftest.$ac_ext >&5
2437 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
2438 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
2439 # interfere with the next link command; also delete a directory that is
2440 # left behind by Apple's compiler. We do this before executing the actions.
2441 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
2442 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2443 as_fn_set_status $ac_retval
2445 } # ac_fn_c_try_link
2447 # ac_fn_c_try_cpp LINENO
2448 # ----------------------
2449 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
2452 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2453 if { { ac_try="$ac_cpp conftest.$ac_ext"
2455 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
2456 *) ac_try_echo
=$ac_try;;
2458 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2459 $as_echo "$ac_try_echo"; } >&5
2460 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
2462 if test -s conftest.err
; then
2463 grep -v '^ *+' conftest.err
>conftest.er1
2464 cat conftest.er1
>&5
2465 mv -f conftest.er1 conftest.err
2467 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2468 test $ac_status = 0; } > conftest.i
&& {
2469 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
2470 test ! -s conftest.err
2474 $as_echo "$as_me: failed program was:" >&5
2475 sed 's/^/| /' conftest.
$ac_ext >&5
2479 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2480 as_fn_set_status
$ac_retval
2484 # ac_fn_c_check_header_mongrel LINENO HEADER VAR INCLUDES
2485 # -------------------------------------------------------
2486 # Tests whether HEADER exists, giving a warning if it cannot be compiled using
2487 # the include files in INCLUDES and setting the cache variable VAR
2489 ac_fn_c_check_header_mongrel
()
2491 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
2492 if eval \
${$3+:} false
; then :
2493 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2494 $as_echo_n "checking for $2... " >&6; }
2495 if eval \
${$3+:} false
; then :
2496 $as_echo_n "(cached) " >&6
2499 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2500 $as_echo "$ac_res" >&6; }
2502 # Is the header compilable?
2503 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
2504 $as_echo_n "checking $2 usability... " >&6; }
2505 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
2506 /* end confdefs.h. */
2510 if ac_fn_c_try_compile
"$LINENO"; then :
2511 ac_header_compiler
=yes
2513 ac_header_compiler
=no
2515 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
2516 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
2517 $as_echo "$ac_header_compiler" >&6; }
2519 # Is the header present?
2520 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
2521 $as_echo_n "checking $2 presence... " >&6; }
2522 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
2523 /* end confdefs.h. */
2526 if ac_fn_c_try_cpp
"$LINENO"; then :
2527 ac_header_preproc
=yes
2529 ac_header_preproc
=no
2531 rm -f conftest.err conftest.i conftest.
$ac_ext
2532 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
2533 $as_echo "$ac_header_preproc" >&6; }
2535 # So? What about this header?
2536 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in #((
2538 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
2539 $as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
2540 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
2541 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
2544 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
2545 $as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
2546 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: check for missing prerequisite headers?" >&5
2547 $as_echo "$as_me: WARNING: $2: check for missing prerequisite headers?" >&2;}
2548 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
2549 $as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
2550 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&5
2551 $as_echo "$as_me: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&2;}
2552 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
2553 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
2554 ( $as_echo "## ------------------------------------ ##
2555 ## Report this to wine-devel@winehq.org ##
2556 ## ------------------------------------ ##"
2557 ) |
sed "s/^/$as_me: WARNING: /" >&2
2560 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2561 $as_echo_n "checking for $2... " >&6; }
2562 if eval \
${$3+:} false
; then :
2563 $as_echo_n "(cached) " >&6
2565 eval "$3=\$ac_header_compiler"
2568 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2569 $as_echo "$ac_res" >&6; }
2571 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2573 } # ac_fn_c_check_header_mongrel
2575 # ac_fn_c_try_run LINENO
2576 # ----------------------
2577 # Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
2578 # that executables *can* be run.
2581 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
2582 if { { ac_try
="$ac_link"
2584 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
2585 *) ac_try_echo=$ac_try;;
2587 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2588 $as_echo "$ac_try_echo"; } >&5
2589 (eval "$ac_link") 2>&5
2591 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2592 test $ac_status = 0; } && { ac_try='./conftest$ac_exeext'
2593 { { case "(($ac_try" in
2594 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
2595 *) ac_try_echo
=$ac_try;;
2597 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2598 $as_echo "$ac_try_echo"; } >&5
2599 (eval "$ac_try") 2>&5
2601 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2602 test $ac_status = 0; }; }; then :
2605 $as_echo "$as_me: program exited with status $ac_status" >&5
2606 $as_echo "$as_me: failed program was:" >&5
2607 sed 's/^/| /' conftest.
$ac_ext >&5
2609 ac_retval
=$ac_status
2611 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
2612 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2613 as_fn_set_status
$ac_retval
2617 # ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
2618 # -------------------------------------------------------
2619 # Tests whether HEADER exists and can be compiled using the include files in
2620 # INCLUDES, setting the cache variable VAR accordingly.
2621 ac_fn_c_check_header_compile
()
2623 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
2624 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2625 $as_echo_n "checking for $2... " >&6; }
2626 if eval \
${$3+:} false
; then :
2627 $as_echo_n "(cached) " >&6
2629 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
2630 /* end confdefs.h. */
2634 if ac_fn_c_try_compile
"$LINENO"; then :
2639 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
2642 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2643 $as_echo "$ac_res" >&6; }
2644 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2646 } # ac_fn_c_check_header_compile
2648 # ac_fn_c_check_func LINENO FUNC VAR
2649 # ----------------------------------
2650 # Tests whether FUNC exists, setting the cache variable VAR accordingly
2651 ac_fn_c_check_func
()
2653 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
2654 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2655 $as_echo_n "checking for $2... " >&6; }
2656 if eval \
${$3+:} false
; then :
2657 $as_echo_n "(cached) " >&6
2659 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
2660 /* end confdefs.h. */
2661 /* Define $2 to an innocuous variant, in case <limits.h> declares $2.
2662 For example, HP-UX 11i <limits.h> declares gettimeofday. */
2663 #define $2 innocuous_$2
2665 /* System header to define __stub macros and hopefully few prototypes,
2666 which can conflict with char $2 (); below.
2667 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
2668 <limits.h> exists even on freestanding compilers. */
2671 # include <limits.h>
2673 # include <assert.h>
2678 /* Override any GCC internal prototype to avoid an error.
2679 Use char because int might match the return type of a GCC
2680 builtin and then its argument prototype would still apply. */
2685 /* The GNU C library defines this for functions which it implements
2686 to always fail with ENOSYS. Some functions are actually named
2687 something starting with __ and the normal name is an alias. */
2688 #if defined __stub_$2 || defined __stub___$2
2700 if ac_fn_c_try_link
"$LINENO"; then :
2705 rm -f core conftest.err conftest.
$ac_objext \
2706 conftest
$ac_exeext conftest.
$ac_ext
2709 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2710 $as_echo "$ac_res" >&6; }
2711 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2713 } # ac_fn_c_check_func
2715 # ac_fn_c_check_member LINENO AGGR MEMBER VAR INCLUDES
2716 # ----------------------------------------------------
2717 # Tries to find if the field MEMBER exists in type AGGR, after including
2718 # INCLUDES, setting cache variable VAR accordingly.
2719 ac_fn_c_check_member
()
2721 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
2722 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2.$3" >&5
2723 $as_echo_n "checking for $2.$3... " >&6; }
2724 if eval \
${$4+:} false
; then :
2725 $as_echo_n "(cached) " >&6
2727 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
2728 /* end confdefs.h. */
2740 if ac_fn_c_try_compile
"$LINENO"; then :
2743 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
2744 /* end confdefs.h. */
2750 if (sizeof ac_aggr.$3)
2756 if ac_fn_c_try_compile
"$LINENO"; then :
2761 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
2763 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
2766 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2767 $as_echo "$ac_res" >&6; }
2768 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2770 } # ac_fn_c_check_member
2772 # ac_fn_c_check_type LINENO TYPE VAR INCLUDES
2773 # -------------------------------------------
2774 # Tests whether TYPE exists after having included INCLUDES, setting cache
2775 # variable VAR accordingly.
2776 ac_fn_c_check_type
()
2778 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
2779 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2780 $as_echo_n "checking for $2... " >&6; }
2781 if eval \
${$3+:} false
; then :
2782 $as_echo_n "(cached) " >&6
2785 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
2786 /* end confdefs.h. */
2797 if ac_fn_c_try_compile
"$LINENO"; then :
2798 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
2799 /* end confdefs.h. */
2810 if ac_fn_c_try_compile
"$LINENO"; then :
2815 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
2817 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
2820 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2821 $as_echo "$ac_res" >&6; }
2822 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2824 } # ac_fn_c_check_type
2825 cat >config.log
<<_ACEOF
2826 This file contains any messages produced by compilers while
2827 running configure, to aid debugging if configure makes a mistake.
2829 It was created by Wine $as_me 1.7.48, which was
2830 generated by GNU Autoconf 2.69. Invocation command line was
2842 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
2843 uname -m = `(uname -m) 2>/dev/null || echo unknown`
2844 uname -r = `(uname -r) 2>/dev/null || echo unknown`
2845 uname -s = `(uname -s) 2>/dev/null || echo unknown`
2846 uname -v = `(uname -v) 2>/dev/null || echo unknown`
2848 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
2849 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
2851 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
2852 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
2853 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
2854 /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
2855 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
2856 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
2857 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
2861 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2865 test -z "$as_dir" && as_dir
=.
2866 $as_echo "PATH: $as_dir"
2882 # Keep a trace of the command line.
2883 # Strip out --no-create and --no-recursion so they do not pile up.
2884 # Strip out --silent because we don't want to record it for future runs.
2885 # Also quote any args containing shell meta-characters.
2886 # Make two passes to allow for proper duplicate-argument suppression.
2890 ac_must_keep_next
=false
2896 -no-create |
--no-c* |
-n |
-no-recursion |
--no-r*) continue ;;
2897 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
2898 |
-silent |
--silent |
--silen |
--sile |
--sil)
2901 ac_arg
=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
2904 1) as_fn_append ac_configure_args0
" '$ac_arg'" ;;
2906 as_fn_append ac_configure_args1
" '$ac_arg'"
2907 if test $ac_must_keep_next = true
; then
2908 ac_must_keep_next
=false
# Got value, back to normal.
2911 *=* |
--config-cache |
-C |
-disable-* |
--disable-* \
2912 |
-enable-* |
--enable-* |
-gas |
--g* |
-nfp |
--nf* \
2913 |
-q |
-quiet |
--q* |
-silent |
--sil* |
-v |
-verb* \
2914 |
-with-* |
--with-* |
-without-* |
--without-* |
--x)
2915 case "$ac_configure_args0 " in
2916 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
2919 -* ) ac_must_keep_next
=true
;;
2922 as_fn_append ac_configure_args
" '$ac_arg'"
2927 { ac_configure_args0
=; unset ac_configure_args0
;}
2928 { ac_configure_args1
=; unset ac_configure_args1
;}
2930 # When interrupted or exit'd, cleanup temporary files, and complete
2931 # config.log. We remove comments because anyway the quotes in there
2932 # would cause problems or look ugly.
2933 # WARNING: Use '\'' to represent an apostrophe within the trap.
2934 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
2935 trap 'exit_status=$?
2936 # Save into config.log some information that might help in debugging.
2940 $as_echo "## ---------------- ##
2941 ## Cache variables. ##
2942 ## ---------------- ##"
2944 # The following way of writing the cache mishandles newlines in values,
2946 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
2947 eval ac_val=\$$ac_var
2951 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
2952 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
2955 _ | IFS | as_nl) ;; #(
2956 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
2957 *) { eval $ac_var=; unset $ac_var;} ;;
2962 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
2963 *${as_nl}ac_space=\ *)
2965 "s/'\''/'\''\\\\'\'''\''/g;
2966 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
2969 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
2976 $as_echo "## ----------------- ##
2977 ## Output variables. ##
2978 ## ----------------- ##"
2980 for ac_var in $ac_subst_vars
2982 eval ac_val=\$$ac_var
2984 *\'\''*) ac_val
=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2986 $as_echo "$ac_var='\''$ac_val'\''"
2990 if test -n "$ac_subst_files"; then
2991 $as_echo "## ------------------- ##
2992 ## File substitutions. ##
2993 ## ------------------- ##"
2995 for ac_var
in $ac_subst_files
2997 eval ac_val
=\$
$ac_var
2999 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
3001 $as_echo "$ac_var='\''$ac_val'\''"
3006 if test -s confdefs.h; then
3007 $as_echo "## ----------- ##
3014 test "$ac_signal" != 0 &&
3015 $as_echo "$as_me: caught signal $ac_signal"
3016 $as_echo "$as_me: exit $exit_status"
3018 rm -f core *.core core.conftest.* &&
3019 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
3022 for ac_signal
in 1 2 13 15; do
3023 trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
3027 # confdefs.h avoids OS command line length limits that DEFS can exceed.
3028 rm -f -r conftest
* confdefs.h
3030 $as_echo "/* confdefs.h */" > confdefs.h
3032 # Predefined preprocessor variables.
3034 cat >>confdefs.h
<<_ACEOF
3035 #define PACKAGE_NAME "$PACKAGE_NAME"
3038 cat >>confdefs.h
<<_ACEOF
3039 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
3042 cat >>confdefs.h
<<_ACEOF
3043 #define PACKAGE_VERSION "$PACKAGE_VERSION"
3046 cat >>confdefs.h
<<_ACEOF
3047 #define PACKAGE_STRING "$PACKAGE_STRING"
3050 cat >>confdefs.h
<<_ACEOF
3051 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
3054 cat >>confdefs.h
<<_ACEOF
3055 #define PACKAGE_URL "$PACKAGE_URL"
3059 # Let the site file select an alternate cache file if it wants to.
3060 # Prefer an explicitly selected file to automatically selected ones.
3063 if test -n "$CONFIG_SITE"; then
3064 # We do not want a PATH search for config.site.
3065 case $CONFIG_SITE in #((
3066 -*) ac_site_file1
=.
/$CONFIG_SITE;;
3067 */*) ac_site_file1
=$CONFIG_SITE;;
3068 *) ac_site_file1
=.
/$CONFIG_SITE;;
3070 elif test "x$prefix" != xNONE
; then
3071 ac_site_file1
=$prefix/share
/config.site
3072 ac_site_file2
=$prefix/etc
/config.site
3074 ac_site_file1
=$ac_default_prefix/share
/config.site
3075 ac_site_file2
=$ac_default_prefix/etc
/config.site
3077 for ac_site_file
in "$ac_site_file1" "$ac_site_file2"
3079 test "x$ac_site_file" = xNONE
&& continue
3080 if test /dev
/null
!= "$ac_site_file" && test -r "$ac_site_file"; then
3081 { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
3082 $as_echo "$as_me: loading site script $ac_site_file" >&6;}
3083 sed 's/^/| /' "$ac_site_file" >&5
3085 ||
{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3086 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3087 as_fn_error $?
"failed to load site script $ac_site_file
3088 See \`config.log' for more details" "$LINENO" 5; }
3092 if test -r "$cache_file"; then
3093 # Some versions of bash will fail to source /dev/null (special files
3094 # actually), so we avoid doing that. DJGPP emulates it as a regular file.
3095 if test /dev
/null
!= "$cache_file" && test -f "$cache_file"; then
3096 { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
3097 $as_echo "$as_me: loading cache $cache_file" >&6;}
3099 [\\/]* | ?
:[\\/]* ) .
"$cache_file";;
3100 *) .
"./$cache_file";;
3104 { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
3105 $as_echo "$as_me: creating cache $cache_file" >&6;}
3109 # Check that the precious variables saved in the cache have kept the same
3111 ac_cache_corrupted
=false
3112 for ac_var
in $ac_precious_vars; do
3113 eval ac_old_set
=\
$ac_cv_env_${ac_var}_set
3114 eval ac_new_set
=\
$ac_env_${ac_var}_set
3115 eval ac_old_val
=\
$ac_cv_env_${ac_var}_value
3116 eval ac_new_val
=\
$ac_env_${ac_var}_value
3117 case $ac_old_set,$ac_new_set in
3119 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
3120 $as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
3121 ac_cache_corrupted
=: ;;
3123 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
3124 $as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
3125 ac_cache_corrupted
=: ;;
3128 if test "x$ac_old_val" != "x$ac_new_val"; then
3129 # differences in whitespace do not lead to failure.
3130 ac_old_val_w
=`echo x $ac_old_val`
3131 ac_new_val_w
=`echo x $ac_new_val`
3132 if test "$ac_old_val_w" != "$ac_new_val_w"; then
3133 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
3134 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
3135 ac_cache_corrupted
=:
3137 { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
3138 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
3139 eval $ac_var=\
$ac_old_val
3141 { $as_echo "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5
3142 $as_echo "$as_me: former value: \`$ac_old_val'" >&2;}
3143 { $as_echo "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5
3144 $as_echo "$as_me: current value: \`$ac_new_val'" >&2;}
3147 # Pass precious variables to config.status.
3148 if test "$ac_new_set" = set; then
3150 *\'*) ac_arg
=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
3151 *) ac_arg
=$ac_var=$ac_new_val ;;
3153 case " $ac_configure_args " in
3154 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
3155 *) as_fn_append ac_configure_args
" '$ac_arg'" ;;
3159 if $ac_cache_corrupted; then
3160 { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3161 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3162 { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
3163 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
3164 as_fn_error $?
"run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
3166 ## -------------------- ##
3167 ## Main body of script. ##
3168 ## -------------------- ##
3171 ac_cpp
='$CPP $CPPFLAGS'
3172 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3173 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3174 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
3178 ac_config_headers
="$ac_config_headers include/config.h"
3181 for ac_dir
in tools
"$srcdir"/tools
; do
3182 if test -f "$ac_dir/install-sh"; then
3184 ac_install_sh
="$ac_aux_dir/install-sh -c"
3186 elif test -f "$ac_dir/install.sh"; then
3188 ac_install_sh
="$ac_aux_dir/install.sh -c"
3190 elif test -f "$ac_dir/shtool"; then
3192 ac_install_sh
="$ac_aux_dir/shtool install -c"
3196 if test -z "$ac_aux_dir"; then
3197 as_fn_error $?
"cannot find install-sh, install.sh, or shtool in tools \"$srcdir\"/tools" "$LINENO" 5
3200 # These three variables are undocumented and unsupported,
3201 # and are intended to be withdrawn in a future Autoconf release.
3202 # They can cause serious problems if a builder's source tree is in a directory
3203 # whose full name contains unusual characters.
3204 ac_config_guess
="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
3205 ac_config_sub
="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
3206 ac_configure
="$SHELL $ac_aux_dir/configure" # Please don't use this var.
3210 libwine_version
="1.0"
3214 # Check whether --enable-win16 was given.
3215 if test "${enable_win16+set}" = set; then :
3216 enableval
=$enable_win16;
3219 # Check whether --enable-win64 was given.
3220 if test "${enable_win64+set}" = set; then :
3221 enableval
=$enable_win64;
3224 # Check whether --enable-tests was given.
3225 if test "${enable_tests+set}" = set; then :
3226 enableval
=$enable_tests;
3229 # Check whether --enable-maintainer-mode was given.
3230 if test "${enable_maintainer_mode+set}" = set; then :
3231 enableval
=$enable_maintainer_mode;
3236 # Check whether --with-alsa was given.
3237 if test "${with_alsa+set}" = set; then :
3238 withval
=$with_alsa; if test "x$withval" = "xno"; then ac_cv_header_sys_asoundlib_h
=no
; ac_cv_header_alsa_asoundlib_h
=no
; fi
3242 # Check whether --with-capi was given.
3243 if test "${with_capi+set}" = set; then :
3248 # Check whether --with-cms was given.
3249 if test "${with_cms+set}" = set; then :
3254 # Check whether --with-coreaudio was given.
3255 if test "${with_coreaudio+set}" = set; then :
3256 withval
=$with_coreaudio; if test "x$withval" = "xno"; then ac_cv_header_CoreAudio_CoreAudio_h
=no
; fi
3260 # Check whether --with-cups was given.
3261 if test "${with_cups+set}" = set; then :
3266 # Check whether --with-curses was given.
3267 if test "${with_curses+set}" = set; then :
3268 withval
=$with_curses; if test "x$withval" = "xno"; then ac_cv_header_ncurses_h
=no
; ac_cv_header_curses_h
=no
; fi
3272 # Check whether --with-dbus was given.
3273 if test "${with_dbus+set}" = set; then :
3278 # Check whether --with-fontconfig was given.
3279 if test "${with_fontconfig+set}" = set; then :
3280 withval
=$with_fontconfig;
3284 # Check whether --with-freetype was given.
3285 if test "${with_freetype+set}" = set; then :
3286 withval
=$with_freetype;
3290 # Check whether --with-gettext was given.
3291 if test "${with_gettext+set}" = set; then :
3292 withval
=$with_gettext;
3296 # Check whether --with-gettextpo was given.
3297 if test "${with_gettextpo+set}" = set; then :
3298 withval
=$with_gettextpo; if test "x$withval" = "xno"; then ac_cv_header_gettext_po_h
=no
; fi
3302 # Check whether --with-gphoto was given.
3303 if test "${with_gphoto+set}" = set; then :
3304 withval
=$with_gphoto;
3308 # Check whether --with-glu was given.
3309 if test "${with_glu+set}" = set; then :
3314 # Check whether --with-gnutls was given.
3315 if test "${with_gnutls+set}" = set; then :
3316 withval
=$with_gnutls;
3320 # Check whether --with-gsm was given.
3321 if test "${with_gsm+set}" = set; then :
3322 withval
=$with_gsm; if test "x$withval" = "xno"; then ac_cv_header_gsm_h
=no
; ac_cv_header_gsm_gsm_h
=no
; fi
3326 # Check whether --with-gstreamer was given.
3327 if test "${with_gstreamer+set}" = set; then :
3328 withval
=$with_gstreamer;
3332 # Check whether --with-hal was given.
3333 if test "${with_hal+set}" = set; then :
3338 # Check whether --with-jpeg was given.
3339 if test "${with_jpeg+set}" = set; then :
3344 # Check whether --with-ldap was given.
3345 if test "${with_ldap+set}" = set; then :
3346 withval
=$with_ldap; if test "x$withval" = "xno"; then ac_cv_header_ldap_h
=no
; ac_cv_header_lber_h
=no
; fi
3350 # Check whether --with-mpg123 was given.
3351 if test "${with_mpg123+set}" = set; then :
3352 withval
=$with_mpg123;
3356 # Check whether --with-netapi was given.
3357 if test "${with_netapi+set}" = set; then :
3358 withval
=$with_netapi;
3362 # Check whether --with-openal was given.
3363 if test "${with_openal+set}" = set; then :
3364 withval
=$with_openal; if test "x$withval" = "xno"; then ac_cv_header_AL_al_h
=no
; ac_cv_header_OpenAL_al_h
=no
; fi
3368 # Check whether --with-opencl was given.
3369 if test "${with_opencl+set}" = set; then :
3370 withval
=$with_opencl; if test "x$withval" = "xno"; then ac_cv_header_CL_cl_h
=no
; ac_cv_header_OpenCL_opencl_h
=no
; fi
3374 # Check whether --with-opengl was given.
3375 if test "${with_opengl+set}" = set; then :
3376 withval
=$with_opengl;
3380 # Check whether --with-osmesa was given.
3381 if test "${with_osmesa+set}" = set; then :
3382 withval
=$with_osmesa;
3386 # Check whether --with-oss was given.
3387 if test "${with_oss+set}" = set; then :
3392 # Check whether --with-pcap was given.
3393 if test "${with_pcap+set}" = set; then :
3394 withval
=$with_pcap; if test "x$withval" = "xno"; then ac_cv_header_pcap_pcap_h
=no
; fi
3398 # Check whether --with-png was given.
3399 if test "${with_png+set}" = set; then :
3404 # Check whether --with-pthread was given.
3405 if test "${with_pthread+set}" = set; then :
3406 withval
=$with_pthread; if test "x$withval" = "xno"; then ac_cv_header_pthread_h
=no
; fi
3410 # Check whether --with-sane was given.
3411 if test "${with_sane+set}" = set; then :
3416 # Check whether --with-tiff was given.
3417 if test "${with_tiff+set}" = set; then :
3422 # Check whether --with-v4l was given.
3423 if test "${with_v4l+set}" = set; then :
3428 # Check whether --with-xcomposite was given.
3429 if test "${with_xcomposite+set}" = set; then :
3430 withval
=$with_xcomposite; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xcomposite_h
=no
; fi
3434 # Check whether --with-xcursor was given.
3435 if test "${with_xcursor+set}" = set; then :
3436 withval
=$with_xcursor; if test "x$withval" = "xno"; then ac_cv_header_X11_Xcursor_Xcursor_h
=no
; fi
3440 # Check whether --with-xinerama was given.
3441 if test "${with_xinerama+set}" = set; then :
3442 withval
=$with_xinerama; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xinerama_h
=no
; fi
3446 # Check whether --with-xinput was given.
3447 if test "${with_xinput+set}" = set; then :
3448 withval
=$with_xinput; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_XInput_h
=no
; fi
3452 # Check whether --with-xinput2 was given.
3453 if test "${with_xinput2+set}" = set; then :
3454 withval
=$with_xinput2; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_XInput2_h
=no
; fi
3458 # Check whether --with-xml was given.
3459 if test "${with_xml+set}" = set; then :
3464 # Check whether --with-xrandr was given.
3465 if test "${with_xrandr+set}" = set; then :
3466 withval
=$with_xrandr; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xrandr_h
=no
; fi
3470 # Check whether --with-xrender was given.
3471 if test "${with_xrender+set}" = set; then :
3472 withval
=$with_xrender; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xrender_h
=no
; fi
3476 # Check whether --with-xshape was given.
3477 if test "${with_xshape+set}" = set; then :
3478 withval
=$with_xshape; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_shape_h
=no
; fi
3482 # Check whether --with-xshm was given.
3483 if test "${with_xshm+set}" = set; then :
3484 withval
=$with_xshm; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_XShm_h
=no
; fi
3488 # Check whether --with-xslt was given.
3489 if test "${with_xslt+set}" = set; then :
3494 # Check whether --with-xxf86vm was given.
3495 if test "${with_xxf86vm+set}" = set; then :
3496 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
3500 # Check whether --with-zlib was given.
3501 if test "${with_zlib+set}" = set; then :
3502 withval
=$with_zlib; if test "x$withval" = "xno"; then ac_cv_header_zlib_h
=no
; fi
3507 # Check whether --with-wine-tools was given.
3508 if test "${with_wine_tools+set}" = set; then :
3509 withval
=$with_wine_tools;
3513 # Check whether --with-wine64 was given.
3514 if test "${with_wine64+set}" = set; then :
3515 withval
=$with_wine64;
3519 # Make sure we can run config.sub.
3520 $SHELL "$ac_aux_dir/config.sub" sun4
>/dev
/null
2>&1 ||
3521 as_fn_error $?
"cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
3523 { $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
3524 $as_echo_n "checking build system type... " >&6; }
3525 if ${ac_cv_build+:} false
; then :
3526 $as_echo_n "(cached) " >&6
3528 ac_build_alias
=$build_alias
3529 test "x$ac_build_alias" = x
&&
3530 ac_build_alias
=`$SHELL "$ac_aux_dir/config.guess"`
3531 test "x$ac_build_alias" = x
&&
3532 as_fn_error $?
"cannot guess build type; you must specify one" "$LINENO" 5
3533 ac_cv_build
=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
3534 as_fn_error $?
"$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
3537 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
3538 $as_echo "$ac_cv_build" >&6; }
3539 case $ac_cv_build in
3541 *) as_fn_error $?
"invalid value of canonical build" "$LINENO" 5;;
3544 ac_save_IFS
=$IFS; IFS
='-'
3550 # Remember, the first character of IFS is used to create $*,
3551 # except with old shells:
3554 case $build_os in *\
*) build_os
=`echo "$build_os" | sed 's/ /-/g'`;; esac
3557 { $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
3558 $as_echo_n "checking host system type... " >&6; }
3559 if ${ac_cv_host+:} false
; then :
3560 $as_echo_n "(cached) " >&6
3562 if test "x$host_alias" = x
; then
3563 ac_cv_host
=$ac_cv_build
3565 ac_cv_host
=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
3566 as_fn_error $?
"$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
3570 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
3571 $as_echo "$ac_cv_host" >&6; }
3574 *) as_fn_error $?
"invalid value of canonical host" "$LINENO" 5;;
3577 ac_save_IFS
=$IFS; IFS
='-'
3583 # Remember, the first character of IFS is used to create $*,
3584 # except with old shells:
3587 case $host_os in *\
*) host_os
=`echo "$host_os" | sed 's/ /-/g'`;; esac
3593 *) if test -f "$srcdir/Makefile" -o -f "$srcdir/include/config.h"; then
3594 as_fn_error $?
"you are building out of the source tree, but the source tree contains object files.
3595 You need to run 'make distclean' in the source tree first." "$LINENO" 5
3600 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
3601 $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
3603 ac_make
=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
3604 if eval \
${ac_cv_prog_make_${ac_make}_set+:} false
; then :
3605 $as_echo_n "(cached) " >&6
3607 cat >conftest.
make <<\_ACEOF
3610 @
echo '@@@%%%=$(MAKE)=@@@%%%'
3612 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
3613 case `${MAKE-make} -f conftest.make 2>/dev/null` in
3615 eval ac_cv_prog_make_
${ac_make}_set
=yes;;
3617 eval ac_cv_prog_make_
${ac_make}_set
=no
;;
3621 if eval test \
$ac_cv_prog_make_${ac_make}_set
= yes; then
3622 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3623 $as_echo "yes" >&6; }
3626 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3627 $as_echo "no" >&6; }
3628 SET_MAKE
="MAKE=${MAKE-make}"
3632 ac_cpp
='$CPP $CPPFLAGS'
3633 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3634 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3635 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
3636 if test -n "$ac_tool_prefix"; then
3637 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
3638 set dummy
${ac_tool_prefix}gcc
; ac_word
=$2
3639 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3640 $as_echo_n "checking for $ac_word... " >&6; }
3641 if ${ac_cv_prog_CC+:} false
; then :
3642 $as_echo_n "(cached) " >&6
3644 if test -n "$CC"; then
3645 ac_cv_prog_CC
="$CC" # Let the user override the test.
3647 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3651 test -z "$as_dir" && as_dir
=.
3652 for ac_exec_ext
in '' $ac_executable_extensions; do
3653 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
3654 ac_cv_prog_CC
="${ac_tool_prefix}gcc"
3655 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3665 if test -n "$CC"; then
3666 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3667 $as_echo "$CC" >&6; }
3669 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3670 $as_echo "no" >&6; }
3675 if test -z "$ac_cv_prog_CC"; then
3677 # Extract the first word of "gcc", so it can be a program name with args.
3678 set dummy gcc
; ac_word
=$2
3679 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3680 $as_echo_n "checking for $ac_word... " >&6; }
3681 if ${ac_cv_prog_ac_ct_CC+:} false
; then :
3682 $as_echo_n "(cached) " >&6
3684 if test -n "$ac_ct_CC"; then
3685 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
3687 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3691 test -z "$as_dir" && as_dir
=.
3692 for ac_exec_ext
in '' $ac_executable_extensions; do
3693 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
3694 ac_cv_prog_ac_ct_CC
="gcc"
3695 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3704 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
3705 if test -n "$ac_ct_CC"; then
3706 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3707 $as_echo "$ac_ct_CC" >&6; }
3709 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3710 $as_echo "no" >&6; }
3713 if test "x$ac_ct_CC" = x
; then
3716 case $cross_compiling:$ac_tool_warned in
3718 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3719 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3720 ac_tool_warned
=yes ;;
3728 if test -z "$CC"; then
3729 if test -n "$ac_tool_prefix"; then
3730 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
3731 set dummy
${ac_tool_prefix}cc
; ac_word
=$2
3732 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3733 $as_echo_n "checking for $ac_word... " >&6; }
3734 if ${ac_cv_prog_CC+:} false
; then :
3735 $as_echo_n "(cached) " >&6
3737 if test -n "$CC"; then
3738 ac_cv_prog_CC
="$CC" # Let the user override the test.
3740 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3744 test -z "$as_dir" && as_dir
=.
3745 for ac_exec_ext
in '' $ac_executable_extensions; do
3746 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
3747 ac_cv_prog_CC
="${ac_tool_prefix}cc"
3748 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3758 if test -n "$CC"; then
3759 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3760 $as_echo "$CC" >&6; }
3762 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3763 $as_echo "no" >&6; }
3769 if test -z "$CC"; then
3770 # Extract the first word of "cc", so it can be a program name with args.
3771 set dummy cc
; ac_word
=$2
3772 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3773 $as_echo_n "checking for $ac_word... " >&6; }
3774 if ${ac_cv_prog_CC+:} false
; then :
3775 $as_echo_n "(cached) " >&6
3777 if test -n "$CC"; then
3778 ac_cv_prog_CC
="$CC" # Let the user override the test.
3781 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3785 test -z "$as_dir" && as_dir
=.
3786 for ac_exec_ext
in '' $ac_executable_extensions; do
3787 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
3788 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
3789 ac_prog_rejected
=yes
3793 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3800 if test $ac_prog_rejected = yes; then
3801 # We found a bogon in the path, so make sure we never use it.
3802 set dummy
$ac_cv_prog_CC
3804 if test $# != 0; then
3805 # We chose a different compiler from the bogus one.
3806 # However, it has the same basename, so the bogon will be chosen
3807 # first if we set CC to just the basename; use the full file name.
3809 ac_cv_prog_CC
="$as_dir/$ac_word${1+' '}$@"
3815 if test -n "$CC"; then
3816 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3817 $as_echo "$CC" >&6; }
3819 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3820 $as_echo "no" >&6; }
3825 if test -z "$CC"; then
3826 if test -n "$ac_tool_prefix"; then
3827 for ac_prog
in cl.exe
3829 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
3830 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
3831 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3832 $as_echo_n "checking for $ac_word... " >&6; }
3833 if ${ac_cv_prog_CC+:} false
; then :
3834 $as_echo_n "(cached) " >&6
3836 if test -n "$CC"; then
3837 ac_cv_prog_CC
="$CC" # Let the user override the test.
3839 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3843 test -z "$as_dir" && as_dir
=.
3844 for ac_exec_ext
in '' $ac_executable_extensions; do
3845 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
3846 ac_cv_prog_CC
="$ac_tool_prefix$ac_prog"
3847 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3857 if test -n "$CC"; then
3858 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3859 $as_echo "$CC" >&6; }
3861 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3862 $as_echo "no" >&6; }
3866 test -n "$CC" && break
3869 if test -z "$CC"; then
3871 for ac_prog
in cl.exe
3873 # Extract the first word of "$ac_prog", so it can be a program name with args.
3874 set dummy
$ac_prog; ac_word
=$2
3875 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3876 $as_echo_n "checking for $ac_word... " >&6; }
3877 if ${ac_cv_prog_ac_ct_CC+:} false
; then :
3878 $as_echo_n "(cached) " >&6
3880 if test -n "$ac_ct_CC"; then
3881 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
3883 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3887 test -z "$as_dir" && as_dir
=.
3888 for ac_exec_ext
in '' $ac_executable_extensions; do
3889 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
3890 ac_cv_prog_ac_ct_CC
="$ac_prog"
3891 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3900 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
3901 if test -n "$ac_ct_CC"; then
3902 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3903 $as_echo "$ac_ct_CC" >&6; }
3905 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3906 $as_echo "no" >&6; }
3910 test -n "$ac_ct_CC" && break
3913 if test "x$ac_ct_CC" = x
; then
3916 case $cross_compiling:$ac_tool_warned in
3918 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3919 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3920 ac_tool_warned
=yes ;;
3929 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3930 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3931 as_fn_error $?
"no acceptable C compiler found in \$PATH
3932 See \`config.log' for more details" "$LINENO" 5; }
3934 # Provide some information about the compiler.
3935 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
3938 for ac_option
in --version -v -V -qversion; do
3939 { { ac_try
="$ac_compiler $ac_option >&5"
3941 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
3942 *) ac_try_echo=$ac_try;;
3944 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3945 $as_echo "$ac_try_echo"; } >&5
3946 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
3948 if test -s conftest.err; then
3950 ... rest of stderr output deleted ...
3951 10q' conftest.err >conftest.er1
3952 cat conftest.er1 >&5
3954 rm -f conftest.er1 conftest.err
3955 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3956 test $ac_status = 0; }
3959 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3960 /* end confdefs.h. */
3970 ac_clean_files_save=$ac_clean_files
3971 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
3972 # Try to create an executable without -o first, disregard a.out.
3973 # It will help us diagnose broken compilers, and finding out an intuition
3975 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
3976 $as_echo_n "checking whether the C compiler works... " >&6; }
3977 ac_link_default=`$as_echo "$ac_link" |
sed 's/ -o *conftest[^ ]*//'`
3979 # The possible output files:
3980 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
3983 for ac_file in $ac_files
3986 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
3987 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
3992 if { { ac_try="$ac_link_default"
3994 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
3995 *) ac_try_echo
=$ac_try;;
3997 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3998 $as_echo "$ac_try_echo"; } >&5
3999 (eval "$ac_link_default") 2>&5
4001 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4002 test $ac_status = 0; }; then :
4003 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
4004 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
4005 # in a Makefile. We should not override ac_cv_exeext if it was cached,
4006 # so that the user can short-circuit this test for compilers unknown to
4008 for ac_file
in $ac_files ''
4010 test -f "$ac_file" ||
continue
4012 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg |
*.map |
*.inf |
*.dSYM |
*.o |
*.obj
)
4015 # We found the default executable, but exeext='' is most
4019 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no
;
4021 ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
4023 # We set ac_cv_exeext here because the later test for it is not
4024 # safe: cross compilers may not add the suffix if given an `-o'
4025 # argument, so we may need to know it at that point already.
4026 # Even if this section looks crufty: it has the advantage of
4033 test "$ac_cv_exeext" = no
&& ac_cv_exeext
=
4038 if test -z "$ac_file"; then :
4039 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4040 $as_echo "no" >&6; }
4041 $as_echo "$as_me: failed program was:" >&5
4042 sed 's/^/| /' conftest.
$ac_ext >&5
4044 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4045 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4046 as_fn_error
77 "C compiler cannot create executables
4047 See \`config.log' for more details" "$LINENO" 5; }
4049 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4050 $as_echo "yes" >&6; }
4052 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
4053 $as_echo_n "checking for C compiler default output file name... " >&6; }
4054 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
4055 $as_echo "$ac_file" >&6; }
4056 ac_exeext
=$ac_cv_exeext
4058 rm -f -r a.out a.out.dSYM a.exe conftest
$ac_cv_exeext b.out
4059 ac_clean_files
=$ac_clean_files_save
4060 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
4061 $as_echo_n "checking for suffix of executables... " >&6; }
4062 if { { ac_try
="$ac_link"
4064 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
4065 *) ac_try_echo=$ac_try;;
4067 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4068 $as_echo "$ac_try_echo"; } >&5
4069 (eval "$ac_link") 2>&5
4071 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4072 test $ac_status = 0; }; then :
4073 # If both `conftest.exe
' and `conftest' are
`present' (well, observable)
4074 # catch `conftest.exe
'. For instance with Cygwin, `ls conftest' will
4075 # work properly (i.e., refer to `conftest.exe'), while it won't with
4077 for ac_file
in conftest.exe conftest conftest.
*; do
4078 test -f "$ac_file" ||
continue
4080 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg |
*.map |
*.inf |
*.dSYM |
*.o |
*.obj
) ;;
4081 *.
* ) ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
4087 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4088 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4089 as_fn_error $?
"cannot compute suffix of executables: cannot compile and link
4090 See \`config.log' for more details" "$LINENO" 5; }
4092 rm -f conftest conftest
$ac_cv_exeext
4093 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
4094 $as_echo "$ac_cv_exeext" >&6; }
4096 rm -f conftest.
$ac_ext
4097 EXEEXT
=$ac_cv_exeext
4099 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4100 /* end confdefs.h. */
4105 FILE *f = fopen ("conftest.out", "w");
4106 return ferror (f) || fclose (f) != 0;
4112 ac_clean_files
="$ac_clean_files conftest.out"
4113 # Check that the compiler produces executables we can run. If not, either
4114 # the compiler is broken, or we cross compile.
4115 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
4116 $as_echo_n "checking whether we are cross compiling... " >&6; }
4117 if test "$cross_compiling" != yes; then
4118 { { ac_try
="$ac_link"
4120 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
4121 *) ac_try_echo=$ac_try;;
4123 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4124 $as_echo "$ac_try_echo"; } >&5
4125 (eval "$ac_link") 2>&5
4127 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4128 test $ac_status = 0; }
4129 if { ac_try='./conftest$ac_cv_exeext'
4130 { { case "(($ac_try" in
4131 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
4132 *) ac_try_echo
=$ac_try;;
4134 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4135 $as_echo "$ac_try_echo"; } >&5
4136 (eval "$ac_try") 2>&5
4138 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4139 test $ac_status = 0; }; }; then
4142 if test "$cross_compiling" = maybe
; then
4145 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4146 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4147 as_fn_error $?
"cannot run C compiled programs.
4148 If you meant to cross compile, use \`--host'.
4149 See \`config.log' for more details" "$LINENO" 5; }
4153 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
4154 $as_echo "$cross_compiling" >&6; }
4156 rm -f conftest.
$ac_ext conftest
$ac_cv_exeext conftest.out
4157 ac_clean_files
=$ac_clean_files_save
4158 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
4159 $as_echo_n "checking for suffix of object files... " >&6; }
4160 if ${ac_cv_objext+:} false
; then :
4161 $as_echo_n "(cached) " >&6
4163 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4164 /* end confdefs.h. */
4174 rm -f conftest.o conftest.obj
4175 if { { ac_try
="$ac_compile"
4177 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
4178 *) ac_try_echo=$ac_try;;
4180 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4181 $as_echo "$ac_try_echo"; } >&5
4182 (eval "$ac_compile") 2>&5
4184 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4185 test $ac_status = 0; }; then :
4186 for ac_file in conftest.o conftest.obj conftest.*; do
4187 test -f "$ac_file" || continue;
4189 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
4190 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
4195 $as_echo "$as_me: failed program was:" >&5
4196 sed 's/^/| /' conftest.$ac_ext >&5
4198 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4199 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4200 as_fn_error $? "cannot compute suffix of object files
: cannot compile
4201 See \
`config.log' for more details" "$LINENO" 5; }
4203 rm -f conftest.$ac_cv_objext conftest.$ac_ext
4205 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
4206 $as_echo "$ac_cv_objext" >&6; }
4207 OBJEXT=$ac_cv_objext
4209 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
4210 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
4211 if ${ac_cv_c_compiler_gnu+:} false; then :
4212 $as_echo_n "(cached) " >&6
4214 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4215 /* end confdefs.h. */
4228 if ac_fn_c_try_compile "$LINENO"; then :
4233 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4234 ac_cv_c_compiler_gnu=$ac_compiler_gnu
4237 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
4238 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
4239 if test $ac_compiler_gnu = yes; then
4244 ac_test_CFLAGS=${CFLAGS+set}
4245 ac_save_CFLAGS=$CFLAGS
4246 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
4247 $as_echo_n "checking whether $CC accepts -g... " >&6; }
4248 if ${ac_cv_prog_cc_g+:} false; then :
4249 $as_echo_n "(cached) " >&6
4251 ac_save_c_werror_flag=$ac_c_werror_flag
4252 ac_c_werror_flag=yes
4255 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4256 /* end confdefs.h. */
4266 if ac_fn_c_try_compile "$LINENO"; then :
4270 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4271 /* end confdefs.h. */
4281 if ac_fn_c_try_compile "$LINENO"; then :
4284 ac_c_werror_flag=$ac_save_c_werror_flag
4286 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4287 /* end confdefs.h. */
4297 if ac_fn_c_try_compile "$LINENO"; then :
4300 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4302 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4304 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4305 ac_c_werror_flag=$ac_save_c_werror_flag
4307 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
4308 $as_echo "$ac_cv_prog_cc_g" >&6; }
4309 if test "$ac_test_CFLAGS" = set; then
4310 CFLAGS=$ac_save_CFLAGS
4311 elif test $ac_cv_prog_cc_g = yes; then
4312 if test "$GCC" = yes; then
4318 if test "$GCC" = yes; then
4324 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
4325 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
4326 if ${ac_cv_prog_cc_c89+:} false; then :
4327 $as_echo_n "(cached) " >&6
4329 ac_cv_prog_cc_c89=no
4331 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4332 /* end confdefs.h. */
4336 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
4337 struct buf { int x; };
4338 FILE * (*rcsopen) (struct buf *, struct stat *, int);
4339 static char *e (p, i)
4345 static char *f (char * (*g) (char **, int), char **p, ...)
4350 s = g (p, va_arg (v,int));
4355 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
4356 function prototypes and stuff, but not '\xHH' hex character constants.
4357 These don't provoke an error unfortunately, instead are silently treated
4358 as 'x'. The following induces an error, until -std is added to get
4359 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
4360 array size at least. It's necessary to write '\x00'==0 to get something
4361 that's true only with -std. */
4362 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
4364 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
4365 inside strings and character constants. */
4367 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
4369 int test (int i, double x);
4370 struct s1 {int (*f) (int a);};
4371 struct s2 {int (*f) (double a);};
4372 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
4378 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
4383 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
4384 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
4386 CC="$ac_save_CC $ac_arg"
4387 if ac_fn_c_try_compile "$LINENO"; then :
4388 ac_cv_prog_cc_c89=$ac_arg
4390 rm -f core conftest.err conftest.$ac_objext
4391 test "x$ac_cv_prog_cc_c89" != "xno" && break
4393 rm -f conftest.$ac_ext
4398 case "x$ac_cv_prog_cc_c89" in
4400 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
4401 $as_echo "none needed" >&6; } ;;
4403 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
4404 $as_echo "unsupported" >&6; } ;;
4406 CC="$CC $ac_cv_prog_cc_c89"
4407 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
4408 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
4410 if test "x$ac_cv_prog_cc_c89" != xno; then :
4415 ac_cpp='$CPP $CPPFLAGS'
4416 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4417 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4418 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4421 ac_cpp='$CXXCPP $CPPFLAGS'
4422 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4423 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4424 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
4425 if test -z "$CXX"; then
4426 if test -n "$CCC"; then
4429 if test -n "$ac_tool_prefix"; then
4430 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
4432 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
4433 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
4434 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4435 $as_echo_n "checking for $ac_word... " >&6; }
4436 if ${ac_cv_prog_CXX+:} false; then :
4437 $as_echo_n "(cached) " >&6
4439 if test -n "$CXX"; then
4440 ac_cv_prog_CXX="$CXX" # Let the user override the test.
4442 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4446 test -z "$as_dir" && as_dir=.
4447 for ac_exec_ext in '' $ac_executable_extensions; do
4448 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4449 ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"
4450 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4460 if test -n "$CXX"; then
4461 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXX" >&5
4462 $as_echo "$CXX" >&6; }
4464 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4465 $as_echo "no" >&6; }
4469 test -n "$CXX" && break
4472 if test -z "$CXX"; then
4474 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
4476 # Extract the first word of "$ac_prog", so it can be a program name with args.
4477 set dummy $ac_prog; ac_word=$2
4478 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4479 $as_echo_n "checking for $ac_word... " >&6; }
4480 if ${ac_cv_prog_ac_ct_CXX+:} false; then :
4481 $as_echo_n "(cached) " >&6
4483 if test -n "$ac_ct_CXX"; then
4484 ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
4486 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4490 test -z "$as_dir" && as_dir=.
4491 for ac_exec_ext in '' $ac_executable_extensions; do
4492 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4493 ac_cv_prog_ac_ct_CXX="$ac_prog"
4494 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4503 ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
4504 if test -n "$ac_ct_CXX"; then
4505 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CXX" >&5
4506 $as_echo "$ac_ct_CXX" >&6; }
4508 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4509 $as_echo "no" >&6; }
4513 test -n "$ac_ct_CXX" && break
4516 if test "x$ac_ct_CXX" = x; then
4519 case $cross_compiling:$ac_tool_warned in
4521 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4522 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4523 ac_tool_warned=yes ;;
4531 # Provide some information about the compiler.
4532 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C++ compiler version" >&5
4535 for ac_option in --version -v -V -qversion; do
4536 { { ac_try="$ac_compiler $ac_option >&5"
4538 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
4539 *) ac_try_echo
=$ac_try;;
4541 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4542 $as_echo "$ac_try_echo"; } >&5
4543 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
4545 if test -s conftest.err
; then
4547 ... rest of stderr output deleted ...
4548 10q' conftest.err
>conftest.er1
4549 cat conftest.er1
>&5
4551 rm -f conftest.er1 conftest.err
4552 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4553 test $ac_status = 0; }
4556 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C++ compiler" >&5
4557 $as_echo_n "checking whether we are using the GNU C++ compiler... " >&6; }
4558 if ${ac_cv_cxx_compiler_gnu+:} false
; then :
4559 $as_echo_n "(cached) " >&6
4561 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4562 /* end confdefs.h. */
4575 if ac_fn_cxx_try_compile
"$LINENO"; then :
4580 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
4581 ac_cv_cxx_compiler_gnu
=$ac_compiler_gnu
4584 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cxx_compiler_gnu" >&5
4585 $as_echo "$ac_cv_cxx_compiler_gnu" >&6; }
4586 if test $ac_compiler_gnu = yes; then
4591 ac_test_CXXFLAGS
=${CXXFLAGS+set}
4592 ac_save_CXXFLAGS
=$CXXFLAGS
4593 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CXX accepts -g" >&5
4594 $as_echo_n "checking whether $CXX accepts -g... " >&6; }
4595 if ${ac_cv_prog_cxx_g+:} false
; then :
4596 $as_echo_n "(cached) " >&6
4598 ac_save_cxx_werror_flag
=$ac_cxx_werror_flag
4599 ac_cxx_werror_flag
=yes
4602 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4603 /* end confdefs.h. */
4613 if ac_fn_cxx_try_compile
"$LINENO"; then :
4614 ac_cv_prog_cxx_g
=yes
4617 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4618 /* end confdefs.h. */
4628 if ac_fn_cxx_try_compile
"$LINENO"; then :
4631 ac_cxx_werror_flag
=$ac_save_cxx_werror_flag
4633 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4634 /* end confdefs.h. */
4644 if ac_fn_cxx_try_compile
"$LINENO"; then :
4645 ac_cv_prog_cxx_g
=yes
4647 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
4649 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
4651 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
4652 ac_cxx_werror_flag
=$ac_save_cxx_werror_flag
4654 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cxx_g" >&5
4655 $as_echo "$ac_cv_prog_cxx_g" >&6; }
4656 if test "$ac_test_CXXFLAGS" = set; then
4657 CXXFLAGS
=$ac_save_CXXFLAGS
4658 elif test $ac_cv_prog_cxx_g = yes; then
4659 if test "$GXX" = yes; then
4665 if test "$GXX" = yes; then
4672 ac_cpp
='$CPP $CPPFLAGS'
4673 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4674 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4675 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
4677 if test -n "$ac_tool_prefix"; then
4678 # Extract the first word of "${ac_tool_prefix}cpp", so it can be a program name with args.
4679 set dummy
${ac_tool_prefix}cpp
; ac_word
=$2
4680 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4681 $as_echo_n "checking for $ac_word... " >&6; }
4682 if ${ac_cv_prog_CPPBIN+:} false
; then :
4683 $as_echo_n "(cached) " >&6
4685 if test -n "$CPPBIN"; then
4686 ac_cv_prog_CPPBIN
="$CPPBIN" # Let the user override the test.
4688 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4692 test -z "$as_dir" && as_dir
=.
4693 for ac_exec_ext
in '' $ac_executable_extensions; do
4694 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
4695 ac_cv_prog_CPPBIN
="${ac_tool_prefix}cpp"
4696 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4705 CPPBIN
=$ac_cv_prog_CPPBIN
4706 if test -n "$CPPBIN"; then
4707 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPPBIN" >&5
4708 $as_echo "$CPPBIN" >&6; }
4710 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4711 $as_echo "no" >&6; }
4716 if test -z "$ac_cv_prog_CPPBIN"; then
4717 ac_ct_CPPBIN
=$CPPBIN
4718 # Extract the first word of "cpp", so it can be a program name with args.
4719 set dummy cpp
; ac_word
=$2
4720 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4721 $as_echo_n "checking for $ac_word... " >&6; }
4722 if ${ac_cv_prog_ac_ct_CPPBIN+:} false
; then :
4723 $as_echo_n "(cached) " >&6
4725 if test -n "$ac_ct_CPPBIN"; then
4726 ac_cv_prog_ac_ct_CPPBIN
="$ac_ct_CPPBIN" # Let the user override the test.
4728 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4732 test -z "$as_dir" && as_dir
=.
4733 for ac_exec_ext
in '' $ac_executable_extensions; do
4734 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
4735 ac_cv_prog_ac_ct_CPPBIN
="cpp"
4736 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4745 ac_ct_CPPBIN
=$ac_cv_prog_ac_ct_CPPBIN
4746 if test -n "$ac_ct_CPPBIN"; then
4747 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CPPBIN" >&5
4748 $as_echo "$ac_ct_CPPBIN" >&6; }
4750 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4751 $as_echo "no" >&6; }
4754 if test "x$ac_ct_CPPBIN" = x
; then
4757 case $cross_compiling:$ac_tool_warned in
4759 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4760 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4761 ac_tool_warned
=yes ;;
4763 CPPBIN
=$ac_ct_CPPBIN
4766 CPPBIN
="$ac_cv_prog_CPPBIN"
4770 cat >>confdefs.h
<<_ACEOF
4771 #define EXEEXT "$ac_exeext"
4774 if test -n "$ac_tool_prefix"; then
4775 # Extract the first word of "${ac_tool_prefix}ld", so it can be a program name with args.
4776 set dummy
${ac_tool_prefix}ld
; ac_word
=$2
4777 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4778 $as_echo_n "checking for $ac_word... " >&6; }
4779 if ${ac_cv_prog_LD+:} false
; then :
4780 $as_echo_n "(cached) " >&6
4782 if test -n "$LD"; then
4783 ac_cv_prog_LD
="$LD" # Let the user override the test.
4785 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4789 test -z "$as_dir" && as_dir
=.
4790 for ac_exec_ext
in '' $ac_executable_extensions; do
4791 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
4792 ac_cv_prog_LD
="${ac_tool_prefix}ld"
4793 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4803 if test -n "$LD"; then
4804 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
4805 $as_echo "$LD" >&6; }
4807 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4808 $as_echo "no" >&6; }
4813 if test -z "$ac_cv_prog_LD"; then
4815 # Extract the first word of "ld", so it can be a program name with args.
4816 set dummy ld
; ac_word
=$2
4817 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4818 $as_echo_n "checking for $ac_word... " >&6; }
4819 if ${ac_cv_prog_ac_ct_LD+:} false
; then :
4820 $as_echo_n "(cached) " >&6
4822 if test -n "$ac_ct_LD"; then
4823 ac_cv_prog_ac_ct_LD
="$ac_ct_LD" # Let the user override the test.
4825 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4829 test -z "$as_dir" && as_dir
=.
4830 for ac_exec_ext
in '' $ac_executable_extensions; do
4831 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
4832 ac_cv_prog_ac_ct_LD
="ld"
4833 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4842 ac_ct_LD
=$ac_cv_prog_ac_ct_LD
4843 if test -n "$ac_ct_LD"; then
4844 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_LD" >&5
4845 $as_echo "$ac_ct_LD" >&6; }
4847 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4848 $as_echo "no" >&6; }
4851 if test "x$ac_ct_LD" = x
; then
4854 case $cross_compiling:$ac_tool_warned in
4856 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4857 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4858 ac_tool_warned
=yes ;;
4869 if test "x$enable_win64" = "xyes"
4874 notice_platform
="64-bit "
4881 notice_platform
="32-bit "
4884 enable_win16
=${enable_win16:-yes}
4886 with_fontconfig
=${with_fontconfig:-no}
4889 if test "x$enable_win64" != "xyes" -a "$cross_compiling" != "yes"
4893 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC works" >&5
4894 $as_echo_n "checking whether $CC works... " >&6; }
4896 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4897 /* end confdefs.h. */
4907 if ac_fn_c_try_link
"$LINENO"; then :
4908 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4909 $as_echo "yes" >&6; }
4911 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4912 $as_echo "no" >&6; }
4913 as_fn_error $?
"Cannot build a 32-bit program, you need to install 32-bit development libraries." "$LINENO" 5
4915 rm -f core conftest.err conftest.
$ac_objext \
4916 conftest
$ac_exeext conftest.
$ac_ext
4918 notice_platform
="32-bit "
4921 enable_win16
=${enable_win16:-yes}
4923 if test "x${GCC}" = "xyes"
4925 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC supports __builtin_ms_va_list" >&5
4926 $as_echo_n "checking whether $CC supports __builtin_ms_va_list... " >&6; }
4927 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4928 /* end confdefs.h. */
4933 void func(__builtin_ms_va_list *args);
4938 if ac_fn_c_try_compile
"$LINENO"; then :
4939 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4940 $as_echo "yes" >&6; }
4942 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4943 $as_echo "no" >&6; }
4944 as_fn_error $?
"You need gcc >= 4.4 to build Wine as 64-bit." "$LINENO" 5
4946 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
4954 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC supports Thumb" >&5
4955 $as_echo_n "checking whether $CC supports Thumb... " >&6; }
4956 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4957 /* end confdefs.h. */
4958 int ac_test(int i) { return i; }
4962 asm(".thumb\nblx ac_test\n.arm"); if (ac_test(1)) return 1
4967 if ac_fn_c_try_link
"$LINENO"; then :
4968 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4969 $as_echo "yes" >&6; }
4971 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4972 $as_echo "no" >&6; }
4973 as_fn_error $?
"You need a target with Thumb support to build Wine for ARM." "$LINENO" 5
4975 rm -f core conftest.err conftest.
$ac_objext \
4976 conftest
$ac_exeext conftest.
$ac_ext
4977 CFLAGS
="$CFLAGS -marm"
4981 *-mingw32*|
*-cygwin*)
4982 enable_win16
=${enable_win16:-no}
4983 CFLAGS
="$CFLAGS -D_WIN32"
4986 enable_win16
=${enable_win16:-yes}
4990 enable_win16
=${enable_win16:-no}
4991 enable_win64
=${enable_win64:-no}
4993 enable_winetest
=${enable_winetest:-$enable_tests}
4995 if test -n "$with_wine64"
4997 if test "x$enable_win64" = "xyes"
4999 as_fn_error $?
"--enable-win64 and --with-wine64 are mutually exclusive.
5000 --enable-win64 should be used in the 64-bit build tree, --with-wine64 in the 32-bit Wow64 build tree." "$LINENO" 5
5002 enable_fonts
=${enable_fonts:-no}
5003 enable_server
=${enable_server:-no}
5004 elif test "x$enable_win64" = "xyes"
5006 test "x$libdir" != "x\${exec_prefix}/lib" || libdir
="\${exec_prefix}/lib64"
5009 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for the directory containing the Wine tools" >&5
5010 $as_echo_n "checking for the directory containing the Wine tools... " >&6; }
5011 if ${wine_cv_toolsdir+:} false
; then :
5012 $as_echo_n "(cached) " >&6
5014 wine_cv_toolsdir
="$with_wine_tools"
5015 if test -z "$with_wine_tools"; then
5016 if test "$cross_compiling" = "yes"; then
5017 as_fn_error $?
"you must use the --with-wine-tools option when cross-compiling." "$LINENO" 5
5018 elif test -n "$with_wine64"; then
5019 wine_cv_toolsdir
="$with_wine64"
5022 if test -z "$wine_cv_toolsdir"; then
5023 wine_makedep
=tools
/makedep
5024 wine_cv_toolsdir
="\$(top_builddir)"
5025 elif test -d "$wine_cv_toolsdir/tools/winebuild"; then
5026 wine_makedep
=$wine_cv_toolsdir/tools
/makedep
5027 case "$wine_cv_toolsdir" in
5029 *) wine_cv_toolsdir
="\$(top_builddir)/$wine_cv_toolsdir" ;;
5031 enable_tools
=${enable_tools:-no}
5032 test -f "$wine_makedep" || as_fn_error $?
"the Wine tools have not yet been built in $wine_cv_toolsdir" "$LINENO" 5
5034 as_fn_error $?
"could not find Wine tools in $wine_cv_toolsdir" "$LINENO" 5
5037 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_toolsdir" >&5
5038 $as_echo "$wine_cv_toolsdir" >&6; }
5039 TOOLSDIR
=$wine_cv_toolsdir
5041 if test -n "$host_alias" -a "$host_alias" != "$build_alias"
5043 TARGETFLAGS
="-b $host_alias $TARGETFLAGS"
5049 # Extract the first word of "$ac_prog", so it can be a program name with args.
5050 set dummy
$ac_prog; ac_word
=$2
5051 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5052 $as_echo_n "checking for $ac_word... " >&6; }
5053 if ${ac_cv_prog_FLEX+:} false
; then :
5054 $as_echo_n "(cached) " >&6
5056 if test -n "$FLEX"; then
5057 ac_cv_prog_FLEX
="$FLEX" # Let the user override the test.
5059 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5063 test -z "$as_dir" && as_dir
=.
5064 for ac_exec_ext
in '' $ac_executable_extensions; do
5065 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
5066 ac_cv_prog_FLEX
="$ac_prog"
5067 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5076 FLEX
=$ac_cv_prog_FLEX
5077 if test -n "$FLEX"; then
5078 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $FLEX" >&5
5079 $as_echo "$FLEX" >&6; }
5081 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5082 $as_echo "no" >&6; }
5086 test -n "$FLEX" && break
5088 test -n "$FLEX" || FLEX
="none"
5090 if test "$FLEX" = "none"
5092 as_fn_error $?
"no suitable flex found. Please install the 'flex' package." "$LINENO" 5
5094 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether flex is recent enough" >&5
5095 $as_echo_n "checking whether flex is recent enough... " >&6; }
5096 cat >conftest.l
<<EOF
5098 #include "prediluvian.h"
5102 if $FLEX -t conftest.l
>/dev
/null
2>&5
5104 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5105 $as_echo "yes" >&6; }
5107 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5108 $as_echo "no" >&6; }
5109 as_fn_error $?
"Your flex version is too old. Please install flex version 2.5.33 or newer." "$LINENO" 5
5112 for ac_prog
in bison
5114 # Extract the first word of "$ac_prog", so it can be a program name with args.
5115 set dummy
$ac_prog; ac_word
=$2
5116 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5117 $as_echo_n "checking for $ac_word... " >&6; }
5118 if ${ac_cv_prog_BISON+:} false
; then :
5119 $as_echo_n "(cached) " >&6
5121 if test -n "$BISON"; then
5122 ac_cv_prog_BISON
="$BISON" # Let the user override the test.
5124 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5128 test -z "$as_dir" && as_dir
=.
5129 for ac_exec_ext
in '' $ac_executable_extensions; do
5130 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
5131 ac_cv_prog_BISON
="$ac_prog"
5132 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5141 BISON
=$ac_cv_prog_BISON
5142 if test -n "$BISON"; then
5143 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $BISON" >&5
5144 $as_echo "$BISON" >&6; }
5146 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5147 $as_echo "no" >&6; }
5151 test -n "$BISON" && break
5153 test -n "$BISON" || BISON
="none"
5155 if test "$BISON" = "none"
5157 as_fn_error $?
"no suitable bison found. Please install the 'bison' package." "$LINENO" 5
5160 if test -n "$ac_tool_prefix"; then
5161 for ac_prog
in ar gar
5163 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
5164 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
5165 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5166 $as_echo_n "checking for $ac_word... " >&6; }
5167 if ${ac_cv_prog_AR+:} false
; then :
5168 $as_echo_n "(cached) " >&6
5170 if test -n "$AR"; then
5171 ac_cv_prog_AR
="$AR" # Let the user override the test.
5173 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5177 test -z "$as_dir" && as_dir
=.
5178 for ac_exec_ext
in '' $ac_executable_extensions; do
5179 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
5180 ac_cv_prog_AR
="$ac_tool_prefix$ac_prog"
5181 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5191 if test -n "$AR"; then
5192 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
5193 $as_echo "$AR" >&6; }
5195 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5196 $as_echo "no" >&6; }
5200 test -n "$AR" && break
5203 if test -z "$AR"; then
5205 for ac_prog
in ar gar
5207 # Extract the first word of "$ac_prog", so it can be a program name with args.
5208 set dummy
$ac_prog; ac_word
=$2
5209 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5210 $as_echo_n "checking for $ac_word... " >&6; }
5211 if ${ac_cv_prog_ac_ct_AR+:} false
; then :
5212 $as_echo_n "(cached) " >&6
5214 if test -n "$ac_ct_AR"; then
5215 ac_cv_prog_ac_ct_AR
="$ac_ct_AR" # Let the user override the test.
5217 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5221 test -z "$as_dir" && as_dir
=.
5222 for ac_exec_ext
in '' $ac_executable_extensions; do
5223 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
5224 ac_cv_prog_ac_ct_AR
="$ac_prog"
5225 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5234 ac_ct_AR
=$ac_cv_prog_ac_ct_AR
5235 if test -n "$ac_ct_AR"; then
5236 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5
5237 $as_echo "$ac_ct_AR" >&6; }
5239 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5240 $as_echo "no" >&6; }
5244 test -n "$ac_ct_AR" && break
5247 if test "x$ac_ct_AR" = x
; then
5250 case $cross_compiling:$ac_tool_warned in
5252 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5253 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5254 ac_tool_warned
=yes ;;
5260 if test -n "$ac_tool_prefix"; then
5261 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
5262 set dummy
${ac_tool_prefix}strip
; ac_word
=$2
5263 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5264 $as_echo_n "checking for $ac_word... " >&6; }
5265 if ${ac_cv_prog_STRIP+:} false
; then :
5266 $as_echo_n "(cached) " >&6
5268 if test -n "$STRIP"; then
5269 ac_cv_prog_STRIP
="$STRIP" # Let the user override the test.
5271 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5275 test -z "$as_dir" && as_dir
=.
5276 for ac_exec_ext
in '' $ac_executable_extensions; do
5277 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
5278 ac_cv_prog_STRIP
="${ac_tool_prefix}strip"
5279 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5288 STRIP
=$ac_cv_prog_STRIP
5289 if test -n "$STRIP"; then
5290 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
5291 $as_echo "$STRIP" >&6; }
5293 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5294 $as_echo "no" >&6; }
5299 if test -z "$ac_cv_prog_STRIP"; then
5301 # Extract the first word of "strip", so it can be a program name with args.
5302 set dummy strip
; ac_word
=$2
5303 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5304 $as_echo_n "checking for $ac_word... " >&6; }
5305 if ${ac_cv_prog_ac_ct_STRIP+:} false
; then :
5306 $as_echo_n "(cached) " >&6
5308 if test -n "$ac_ct_STRIP"; then
5309 ac_cv_prog_ac_ct_STRIP
="$ac_ct_STRIP" # Let the user override the test.
5311 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5315 test -z "$as_dir" && as_dir
=.
5316 for ac_exec_ext
in '' $ac_executable_extensions; do
5317 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
5318 ac_cv_prog_ac_ct_STRIP
="strip"
5319 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5328 ac_ct_STRIP
=$ac_cv_prog_ac_ct_STRIP
5329 if test -n "$ac_ct_STRIP"; then
5330 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
5331 $as_echo "$ac_ct_STRIP" >&6; }
5333 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5334 $as_echo "no" >&6; }
5337 if test "x$ac_ct_STRIP" = x
; then
5340 case $cross_compiling:$ac_tool_warned in
5342 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5343 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5344 ac_tool_warned
=yes ;;
5349 STRIP
="$ac_cv_prog_STRIP"
5354 if test -n "$ac_tool_prefix"; then
5355 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
5356 set dummy
${ac_tool_prefix}ranlib
; ac_word
=$2
5357 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5358 $as_echo_n "checking for $ac_word... " >&6; }
5359 if ${ac_cv_prog_RANLIB+:} false
; then :
5360 $as_echo_n "(cached) " >&6
5362 if test -n "$RANLIB"; then
5363 ac_cv_prog_RANLIB
="$RANLIB" # Let the user override the test.
5365 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5369 test -z "$as_dir" && as_dir
=.
5370 for ac_exec_ext
in '' $ac_executable_extensions; do
5371 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
5372 ac_cv_prog_RANLIB
="${ac_tool_prefix}ranlib"
5373 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5382 RANLIB
=$ac_cv_prog_RANLIB
5383 if test -n "$RANLIB"; then
5384 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
5385 $as_echo "$RANLIB" >&6; }
5387 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5388 $as_echo "no" >&6; }
5393 if test -z "$ac_cv_prog_RANLIB"; then
5394 ac_ct_RANLIB
=$RANLIB
5395 # Extract the first word of "ranlib", so it can be a program name with args.
5396 set dummy ranlib
; ac_word
=$2
5397 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5398 $as_echo_n "checking for $ac_word... " >&6; }
5399 if ${ac_cv_prog_ac_ct_RANLIB+:} false
; then :
5400 $as_echo_n "(cached) " >&6
5402 if test -n "$ac_ct_RANLIB"; then
5403 ac_cv_prog_ac_ct_RANLIB
="$ac_ct_RANLIB" # Let the user override the test.
5405 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5409 test -z "$as_dir" && as_dir
=.
5410 for ac_exec_ext
in '' $ac_executable_extensions; do
5411 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
5412 ac_cv_prog_ac_ct_RANLIB
="ranlib"
5413 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5422 ac_ct_RANLIB
=$ac_cv_prog_ac_ct_RANLIB
5423 if test -n "$ac_ct_RANLIB"; then
5424 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
5425 $as_echo "$ac_ct_RANLIB" >&6; }
5427 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5428 $as_echo "no" >&6; }
5431 if test "x$ac_ct_RANLIB" = x
; then
5434 case $cross_compiling:$ac_tool_warned in
5436 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5437 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5438 ac_tool_warned
=yes ;;
5440 RANLIB
=$ac_ct_RANLIB
5443 RANLIB
="$ac_cv_prog_RANLIB"
5446 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5
5447 $as_echo_n "checking whether ln -s works... " >&6; }
5449 if test "$LN_S" = "ln -s"; then
5450 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5451 $as_echo "yes" >&6; }
5453 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5
5454 $as_echo "no, using $LN_S" >&6; }
5457 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
5458 $as_echo_n "checking for grep that handles long lines and -e... " >&6; }
5459 if ${ac_cv_path_GREP+:} false
; then :
5460 $as_echo_n "(cached) " >&6
5462 if test -z "$GREP"; then
5463 ac_path_GREP_found
=false
5464 # Loop through the user's path and test for each of PROGNAME-LIST
5465 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5466 for as_dir
in $PATH$PATH_SEPARATOR/usr
/xpg
4/bin
5469 test -z "$as_dir" && as_dir
=.
5470 for ac_prog
in grep ggrep
; do
5471 for ac_exec_ext
in '' $ac_executable_extensions; do
5472 ac_path_GREP
="$as_dir/$ac_prog$ac_exec_ext"
5473 as_fn_executable_p
"$ac_path_GREP" ||
continue
5474 # Check for GNU ac_path_GREP and select it if it is found.
5475 # Check for GNU $ac_path_GREP
5476 case `"$ac_path_GREP" --version 2>&1` in
5478 ac_cv_path_GREP
="$ac_path_GREP" ac_path_GREP_found
=:;;
5481 $as_echo_n 0123456789 >"conftest.in"
5484 cat "conftest.in" "conftest.in" >"conftest.tmp"
5485 mv "conftest.tmp" "conftest.in"
5486 cp "conftest.in" "conftest.nl"
5487 $as_echo 'GREP' >> "conftest.nl"
5488 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev
/null ||
break
5489 diff "conftest.out" "conftest.nl" >/dev
/null
2>&1 ||
break
5490 as_fn_arith
$ac_count + 1 && ac_count
=$as_val
5491 if test $ac_count -gt ${ac_path_GREP_max-0}; then
5492 # Best one so far, save it but keep looking for a better one
5493 ac_cv_path_GREP
="$ac_path_GREP"
5494 ac_path_GREP_max
=$ac_count
5496 # 10*(2^10) chars as input seems more than enough
5497 test $ac_count -gt 10 && break
5499 rm -f conftest.
in conftest.tmp conftest.
nl conftest.out
;;
5502 $ac_path_GREP_found && break 3
5507 if test -z "$ac_cv_path_GREP"; then
5508 as_fn_error $?
"no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
5511 ac_cv_path_GREP
=$GREP
5515 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
5516 $as_echo "$ac_cv_path_GREP" >&6; }
5517 GREP
="$ac_cv_path_GREP"
5520 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
5521 $as_echo_n "checking for egrep... " >&6; }
5522 if ${ac_cv_path_EGREP+:} false
; then :
5523 $as_echo_n "(cached) " >&6
5525 if echo a |
$GREP -E '(a|b)' >/dev
/null
2>&1
5526 then ac_cv_path_EGREP
="$GREP -E"
5528 if test -z "$EGREP"; then
5529 ac_path_EGREP_found
=false
5530 # Loop through the user's path and test for each of PROGNAME-LIST
5531 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5532 for as_dir
in $PATH$PATH_SEPARATOR/usr
/xpg
4/bin
5535 test -z "$as_dir" && as_dir
=.
5536 for ac_prog
in egrep; do
5537 for ac_exec_ext
in '' $ac_executable_extensions; do
5538 ac_path_EGREP
="$as_dir/$ac_prog$ac_exec_ext"
5539 as_fn_executable_p
"$ac_path_EGREP" ||
continue
5540 # Check for GNU ac_path_EGREP and select it if it is found.
5541 # Check for GNU $ac_path_EGREP
5542 case `"$ac_path_EGREP" --version 2>&1` in
5544 ac_cv_path_EGREP
="$ac_path_EGREP" ac_path_EGREP_found
=:;;
5547 $as_echo_n 0123456789 >"conftest.in"
5550 cat "conftest.in" "conftest.in" >"conftest.tmp"
5551 mv "conftest.tmp" "conftest.in"
5552 cp "conftest.in" "conftest.nl"
5553 $as_echo 'EGREP' >> "conftest.nl"
5554 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev
/null ||
break
5555 diff "conftest.out" "conftest.nl" >/dev
/null
2>&1 ||
break
5556 as_fn_arith
$ac_count + 1 && ac_count
=$as_val
5557 if test $ac_count -gt ${ac_path_EGREP_max-0}; then
5558 # Best one so far, save it but keep looking for a better one
5559 ac_cv_path_EGREP
="$ac_path_EGREP"
5560 ac_path_EGREP_max
=$ac_count
5562 # 10*(2^10) chars as input seems more than enough
5563 test $ac_count -gt 10 && break
5565 rm -f conftest.
in conftest.tmp conftest.
nl conftest.out
;;
5568 $ac_path_EGREP_found && break 3
5573 if test -z "$ac_cv_path_EGREP"; then
5574 as_fn_error $?
"no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
5577 ac_cv_path_EGREP
=$EGREP
5582 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
5583 $as_echo "$ac_cv_path_EGREP" >&6; }
5584 EGREP
="$ac_cv_path_EGREP"
5587 # Extract the first word of "ldconfig", so it can be a program name with args.
5588 set dummy ldconfig
; ac_word
=$2
5589 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5590 $as_echo_n "checking for $ac_word... " >&6; }
5591 if ${ac_cv_path_LDCONFIG+:} false
; then :
5592 $as_echo_n "(cached) " >&6
5596 ac_cv_path_LDCONFIG
="$LDCONFIG" # Let the user override the test with a path.
5599 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5600 for as_dir
in /sbin
/usr
/sbin
$PATH
5603 test -z "$as_dir" && as_dir
=.
5604 for ac_exec_ext
in '' $ac_executable_extensions; do
5605 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
5606 ac_cv_path_LDCONFIG
="$as_dir/$ac_word$ac_exec_ext"
5607 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5614 test -z "$ac_cv_path_LDCONFIG" && ac_cv_path_LDCONFIG
="true"
5618 LDCONFIG
=$ac_cv_path_LDCONFIG
5619 if test -n "$LDCONFIG"; then
5620 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LDCONFIG" >&5
5621 $as_echo "$LDCONFIG" >&6; }
5623 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5624 $as_echo "no" >&6; }
5628 for ac_prog
in msgfmt
5630 # Extract the first word of "$ac_prog", so it can be a program name with args.
5631 set dummy
$ac_prog; ac_word
=$2
5632 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5633 $as_echo_n "checking for $ac_word... " >&6; }
5634 if ${ac_cv_prog_MSGFMT+:} false
; then :
5635 $as_echo_n "(cached) " >&6
5637 if test -n "$MSGFMT"; then
5638 ac_cv_prog_MSGFMT
="$MSGFMT" # Let the user override the test.
5640 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5644 test -z "$as_dir" && as_dir
=.
5645 for ac_exec_ext
in '' $ac_executable_extensions; do
5646 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
5647 ac_cv_prog_MSGFMT
="$ac_prog"
5648 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5657 MSGFMT
=$ac_cv_prog_MSGFMT
5658 if test -n "$MSGFMT"; then
5659 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MSGFMT" >&5
5660 $as_echo "$MSGFMT" >&6; }
5662 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5663 $as_echo "no" >&6; }
5667 test -n "$MSGFMT" && break
5669 test -n "$MSGFMT" || MSGFMT
="false"
5671 if ${ac_tool_prefix+:} false
; then :
5672 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
5673 set dummy
${ac_tool_prefix}pkg-config
; ac_word
=$2
5674 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5675 $as_echo_n "checking for $ac_word... " >&6; }
5676 if ${ac_cv_prog_PKG_CONFIG+:} false
; then :
5677 $as_echo_n "(cached) " >&6
5679 if test -n "$PKG_CONFIG"; then
5680 ac_cv_prog_PKG_CONFIG
="$PKG_CONFIG" # Let the user override the test.
5682 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5686 test -z "$as_dir" && as_dir
=.
5687 for ac_exec_ext
in '' $ac_executable_extensions; do
5688 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
5689 ac_cv_prog_PKG_CONFIG
="${ac_tool_prefix}pkg-config"
5690 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5699 PKG_CONFIG
=$ac_cv_prog_PKG_CONFIG
5700 if test -n "$PKG_CONFIG"; then
5701 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
5702 $as_echo "$PKG_CONFIG" >&6; }
5704 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5705 $as_echo "no" >&6; }
5710 if ${ac_cv_prog_PKG_CONFIG:+false} :; then :
5711 if test "x$cross_compiling" = xyes
; then :
5714 { ac_cv_prog_PKG_CONFIG
=; unset ac_cv_prog_PKG_CONFIG
;}
5715 # Extract the first word of "pkg-config", so it can be a program name with args.
5716 set dummy pkg-config
; ac_word
=$2
5717 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5718 $as_echo_n "checking for $ac_word... " >&6; }
5719 if ${ac_cv_prog_PKG_CONFIG+:} false
; then :
5720 $as_echo_n "(cached) " >&6
5722 if test -n "$PKG_CONFIG"; then
5723 ac_cv_prog_PKG_CONFIG
="$PKG_CONFIG" # Let the user override the test.
5725 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5729 test -z "$as_dir" && as_dir
=.
5730 for ac_exec_ext
in '' $ac_executable_extensions; do
5731 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
5732 ac_cv_prog_PKG_CONFIG
="pkg-config"
5733 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5742 PKG_CONFIG
=$ac_cv_prog_PKG_CONFIG
5743 if test -n "$PKG_CONFIG"; then
5744 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
5745 $as_echo "$PKG_CONFIG" >&6; }
5747 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5748 $as_echo "no" >&6; }
5754 PKG_CONFIG
=$ac_cv_prog_PKG_CONFIG
5757 if test "x$enable_maintainer_mode" != "xyes"
5764 test "$srcdir" = . || as_fn_error $?
"Maintainer mode cannot work out of tree." "$LINENO" 5
5765 for ac_prog
in fontforge
5767 # Extract the first word of "$ac_prog", so it can be a program name with args.
5768 set dummy
$ac_prog; ac_word
=$2
5769 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5770 $as_echo_n "checking for $ac_word... " >&6; }
5771 if ${ac_cv_prog_FONTFORGE+:} false
; then :
5772 $as_echo_n "(cached) " >&6
5774 if test -n "$FONTFORGE"; then
5775 ac_cv_prog_FONTFORGE
="$FONTFORGE" # Let the user override the test.
5777 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5781 test -z "$as_dir" && as_dir
=.
5782 for ac_exec_ext
in '' $ac_executable_extensions; do
5783 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
5784 ac_cv_prog_FONTFORGE
="$ac_prog"
5785 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5794 FONTFORGE
=$ac_cv_prog_FONTFORGE
5795 if test -n "$FONTFORGE"; then
5796 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $FONTFORGE" >&5
5797 $as_echo "$FONTFORGE" >&6; }
5799 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5800 $as_echo "no" >&6; }
5804 test -n "$FONTFORGE" && break
5806 test -n "$FONTFORGE" || FONTFORGE
="false"
5808 for ac_prog
in rsvg-convert rsvg
5810 # Extract the first word of "$ac_prog", so it can be a program name with args.
5811 set dummy
$ac_prog; ac_word
=$2
5812 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5813 $as_echo_n "checking for $ac_word... " >&6; }
5814 if ${ac_cv_prog_RSVG+:} false
; then :
5815 $as_echo_n "(cached) " >&6
5817 if test -n "$RSVG"; then
5818 ac_cv_prog_RSVG
="$RSVG" # Let the user override the test.
5820 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5824 test -z "$as_dir" && as_dir
=.
5825 for ac_exec_ext
in '' $ac_executable_extensions; do
5826 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
5827 ac_cv_prog_RSVG
="$ac_prog"
5828 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5837 RSVG
=$ac_cv_prog_RSVG
5838 if test -n "$RSVG"; then
5839 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RSVG" >&5
5840 $as_echo "$RSVG" >&6; }
5842 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5843 $as_echo "no" >&6; }
5847 test -n "$RSVG" && break
5849 test -n "$RSVG" || RSVG
="false"
5851 for ac_prog
in convert
5853 # Extract the first word of "$ac_prog", so it can be a program name with args.
5854 set dummy
$ac_prog; ac_word
=$2
5855 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5856 $as_echo_n "checking for $ac_word... " >&6; }
5857 if ${ac_cv_prog_CONVERT+:} false
; then :
5858 $as_echo_n "(cached) " >&6
5860 if test -n "$CONVERT"; then
5861 ac_cv_prog_CONVERT
="$CONVERT" # Let the user override the test.
5863 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5867 test -z "$as_dir" && as_dir
=.
5868 for ac_exec_ext
in '' $ac_executable_extensions; do
5869 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
5870 ac_cv_prog_CONVERT
="$ac_prog"
5871 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5880 CONVERT
=$ac_cv_prog_CONVERT
5881 if test -n "$CONVERT"; then
5882 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CONVERT" >&5
5883 $as_echo "$CONVERT" >&6; }
5885 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5886 $as_echo "no" >&6; }
5890 test -n "$CONVERT" && break
5892 test -n "$CONVERT" || CONVERT
="false"
5894 for ac_prog
in icotool
5896 # Extract the first word of "$ac_prog", so it can be a program name with args.
5897 set dummy
$ac_prog; ac_word
=$2
5898 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5899 $as_echo_n "checking for $ac_word... " >&6; }
5900 if ${ac_cv_prog_ICOTOOL+:} false
; then :
5901 $as_echo_n "(cached) " >&6
5903 if test -n "$ICOTOOL"; then
5904 ac_cv_prog_ICOTOOL
="$ICOTOOL" # Let the user override the test.
5906 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5910 test -z "$as_dir" && as_dir
=.
5911 for ac_exec_ext
in '' $ac_executable_extensions; do
5912 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
5913 ac_cv_prog_ICOTOOL
="$ac_prog"
5914 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5923 ICOTOOL
=$ac_cv_prog_ICOTOOL
5924 if test -n "$ICOTOOL"; then
5925 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ICOTOOL" >&5
5926 $as_echo "$ICOTOOL" >&6; }
5928 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5929 $as_echo "no" >&6; }
5933 test -n "$ICOTOOL" && break
5935 test -n "$ICOTOOL" || ICOTOOL
="false"
5937 test "$FONTFORGE" != "false" || as_fn_error $?
"You need fontforge to rebuild fonts in maintainer mode." "$LINENO" 5
5938 test "$RSVG" != "false" || as_fn_error $?
"You need rsvg to rebuild icons in maintainer mode." "$LINENO" 5
5940 if test "$CONVERT" = false
5942 as_fn_error $?
"You need imagemagick to rebuild icons in maintainer mode." "$LINENO" 5
5944 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for recent enough imagemagick" >&5
5945 $as_echo_n "checking for recent enough imagemagick... " >&6; }
5946 convert_version
=`convert --version | head -n1`
5947 if test "x$convert_version" != "x"
5949 convert_version_major
=`expr "$convert_version" : '.* \([0-9]*\)\.[0-9]*'`
5950 convert_version_minor
=`expr "$convert_version" : '.* [0-9]*\.\([0-9]*\)'`
5951 if test "$convert_version_major" -eq 6 -a "$convert_version_minor" -lt 6
5956 if test "$CONVERT" = false
5958 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no ($convert_version_major.$convert_version_minor)" >&5
5959 $as_echo "no ($convert_version_major.$convert_version_minor)" >&6; }
5960 as_fn_error $?
"You need imagemagick version 6.6 or newer to rebuild icons in maintainer mode." "$LINENO" 5
5962 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes ($convert_version_major.$convert_version_minor)" >&5
5963 $as_echo "yes ($convert_version_major.$convert_version_minor)" >&6; }
5967 if test "$ICOTOOL" = false
5969 as_fn_error $?
"You need icotool to rebuild icons in maintainer mode." "$LINENO" 5
5971 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for recent enough icotool" >&5
5972 $as_echo_n "checking for recent enough icotool... " >&6; }
5973 icotool_version
=`icotool --version | head -n1`
5974 if test "x$icotool_version" != "x"
5976 icotool_version_major
=`expr "$icotool_version" : '.* \([0-9]*\)\.[0-9]*'`
5977 icotool_version_minor
=`expr "$icotool_version" : '.* [0-9]*\.\([0-9]*\)'`
5978 if test "$icotool_version_major" -eq 0 -a "$icotool_version_minor" -lt 29
5981 as_fn_append wine_warnings
"|icotool version 0.29.0 or newer is needed to rebuild icons."
5984 if test "$ICOTOOL" = false
5986 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no ($icotool_version_major.$icotool_version_minor)" >&5
5987 $as_echo "no ($icotool_version_major.$icotool_version_minor)" >&6; }
5988 as_fn_error $?
"You need icotool version 0.29.0 or newer to rebuild icons in maintainer mode." "$LINENO" 5
5990 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes ($icotool_version_major.$icotool_version_minor)" >&5
5991 $as_echo "yes ($icotool_version_major.$icotool_version_minor)" >&6; }
5997 { ac_cv_header_gettext_po_h
=; unset ac_cv_header_gettext_po_h
;}
6000 test "x$with_gettext" != xno || MSGFMT
=false
6001 if test "$MSGFMT" != "false"
6003 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether msgfmt supports contexts" >&5
6004 $as_echo_n "checking whether msgfmt supports contexts... " >&6; }
6005 cat >conftest.po
<<EOF
6011 if $MSGFMT -o /dev
/null conftest.po
2>&5
6013 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
6014 $as_echo "yes" >&6; }
6016 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6017 $as_echo "no" >&6; }
6021 if test "$MSGFMT" = false
; then :
6022 case "x$with_gettext" in
6023 x
) as_fn_append wine_warnings
"|gettext tools not found (or too old), translations won't be built." ;;
6025 *) as_fn_error $?
"gettext tools not found (or too old), translations won't be built.
6026 This is an error since --with-gettext was requested." "$LINENO" 5 ;;
6031 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for i386_set_ldt in -li386" >&5
6032 $as_echo_n "checking for i386_set_ldt in -li386... " >&6; }
6033 if ${ac_cv_lib_i386_i386_set_ldt+:} false
; then :
6034 $as_echo_n "(cached) " >&6
6036 ac_check_lib_save_LIBS
=$LIBS
6038 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6039 /* end confdefs.h. */
6041 /* Override any GCC internal prototype to avoid an error.
6042 Use char because int might match the return type of a GCC
6043 builtin and then its argument prototype would still apply. */
6047 char i386_set_ldt ();
6051 return i386_set_ldt ();
6056 if ac_fn_c_try_link
"$LINENO"; then :
6057 ac_cv_lib_i386_i386_set_ldt
=yes
6059 ac_cv_lib_i386_i386_set_ldt
=no
6061 rm -f core conftest.err conftest.
$ac_objext \
6062 conftest
$ac_exeext conftest.
$ac_ext
6063 LIBS
=$ac_check_lib_save_LIBS
6065 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_i386_i386_set_ldt" >&5
6066 $as_echo "$ac_cv_lib_i386_i386_set_ldt" >&6; }
6067 if test "x$ac_cv_lib_i386_i386_set_ldt" = xyes
; then :
6068 cat >>confdefs.h
<<_ACEOF
6069 #define HAVE_LIBI386 1
6076 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _oss_ioctl in -lossaudio" >&5
6077 $as_echo_n "checking for _oss_ioctl in -lossaudio... " >&6; }
6078 if ${ac_cv_lib_ossaudio__oss_ioctl+:} false
; then :
6079 $as_echo_n "(cached) " >&6
6081 ac_check_lib_save_LIBS
=$LIBS
6082 LIBS
="-lossaudio $LIBS"
6083 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6084 /* end confdefs.h. */
6086 /* Override any GCC internal prototype to avoid an error.
6087 Use char because int might match the return type of a GCC
6088 builtin and then its argument prototype would still apply. */
6096 return _oss_ioctl ();
6101 if ac_fn_c_try_link
"$LINENO"; then :
6102 ac_cv_lib_ossaudio__oss_ioctl
=yes
6104 ac_cv_lib_ossaudio__oss_ioctl
=no
6106 rm -f core conftest.err conftest.
$ac_objext \
6107 conftest
$ac_exeext conftest.
$ac_ext
6108 LIBS
=$ac_check_lib_save_LIBS
6110 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ossaudio__oss_ioctl" >&5
6111 $as_echo "$ac_cv_lib_ossaudio__oss_ioctl" >&6; }
6112 if test "x$ac_cv_lib_ossaudio__oss_ioctl" = xyes
; then :
6113 cat >>confdefs.h
<<_ACEOF
6114 #define HAVE_LIBOSSAUDIO 1
6117 LIBS
="-lossaudio $LIBS"
6126 # Check whether --enable-largefile was given.
6127 if test "${enable_largefile+set}" = set; then :
6128 enableval
=$enable_largefile;
6131 if test "$enable_largefile" != no
; then
6133 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for special C compiler options needed for large files" >&5
6134 $as_echo_n "checking for special C compiler options needed for large files... " >&6; }
6135 if ${ac_cv_sys_largefile_CC+:} false
; then :
6136 $as_echo_n "(cached) " >&6
6138 ac_cv_sys_largefile_CC
=no
6139 if test "$GCC" != yes; then
6142 # IRIX 6.2 and later do not support large files by default,
6143 # so use the C compiler's -n32 option if that helps.
6144 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6145 /* end confdefs.h. */
6146 #include <sys/types.h>
6147 /* Check that off_t can represent 2**63 - 1 correctly.
6148 We can't simply define LARGE_OFF_T to be 9223372036854775807,
6149 since some C++ compilers masquerading as C compilers
6150 incorrectly reject 9223372036854775807. */
6151 #define LARGE_OFF_T ((((off_t) 1 << 31) << 31) - 1 + (((off_t) 1 << 31) << 31))
6152 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
6153 && LARGE_OFF_T % 2147483647 == 1)
6163 if ac_fn_c_try_compile
"$LINENO"; then :
6166 rm -f core conftest.err conftest.
$ac_objext
6168 if ac_fn_c_try_compile
"$LINENO"; then :
6169 ac_cv_sys_largefile_CC
=' -n32'; break
6171 rm -f core conftest.err conftest.
$ac_objext
6175 rm -f conftest.
$ac_ext
6178 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_largefile_CC" >&5
6179 $as_echo "$ac_cv_sys_largefile_CC" >&6; }
6180 if test "$ac_cv_sys_largefile_CC" != no
; then
6181 CC
=$CC$ac_cv_sys_largefile_CC
6184 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _FILE_OFFSET_BITS value needed for large files" >&5
6185 $as_echo_n "checking for _FILE_OFFSET_BITS value needed for large files... " >&6; }
6186 if ${ac_cv_sys_file_offset_bits+:} false
; then :
6187 $as_echo_n "(cached) " >&6
6190 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6191 /* end confdefs.h. */
6192 #include <sys/types.h>
6193 /* Check that off_t can represent 2**63 - 1 correctly.
6194 We can't simply define LARGE_OFF_T to be 9223372036854775807,
6195 since some C++ compilers masquerading as C compilers
6196 incorrectly reject 9223372036854775807. */
6197 #define LARGE_OFF_T ((((off_t) 1 << 31) << 31) - 1 + (((off_t) 1 << 31) << 31))
6198 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
6199 && LARGE_OFF_T % 2147483647 == 1)
6209 if ac_fn_c_try_compile
"$LINENO"; then :
6210 ac_cv_sys_file_offset_bits
=no
; break
6212 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
6213 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6214 /* end confdefs.h. */
6215 #define _FILE_OFFSET_BITS 64
6216 #include <sys/types.h>
6217 /* Check that off_t can represent 2**63 - 1 correctly.
6218 We can't simply define LARGE_OFF_T to be 9223372036854775807,
6219 since some C++ compilers masquerading as C compilers
6220 incorrectly reject 9223372036854775807. */
6221 #define LARGE_OFF_T ((((off_t) 1 << 31) << 31) - 1 + (((off_t) 1 << 31) << 31))
6222 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
6223 && LARGE_OFF_T % 2147483647 == 1)
6233 if ac_fn_c_try_compile
"$LINENO"; then :
6234 ac_cv_sys_file_offset_bits
=64; break
6236 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
6237 ac_cv_sys_file_offset_bits
=unknown
6241 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_file_offset_bits" >&5
6242 $as_echo "$ac_cv_sys_file_offset_bits" >&6; }
6243 case $ac_cv_sys_file_offset_bits in #(
6246 cat >>confdefs.h
<<_ACEOF
6247 #define _FILE_OFFSET_BITS $ac_cv_sys_file_offset_bits
6252 if test $ac_cv_sys_file_offset_bits = unknown
; then
6253 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _LARGE_FILES value needed for large files" >&5
6254 $as_echo_n "checking for _LARGE_FILES value needed for large files... " >&6; }
6255 if ${ac_cv_sys_large_files+:} false
; then :
6256 $as_echo_n "(cached) " >&6
6259 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6260 /* end confdefs.h. */
6261 #include <sys/types.h>
6262 /* Check that off_t can represent 2**63 - 1 correctly.
6263 We can't simply define LARGE_OFF_T to be 9223372036854775807,
6264 since some C++ compilers masquerading as C compilers
6265 incorrectly reject 9223372036854775807. */
6266 #define LARGE_OFF_T ((((off_t) 1 << 31) << 31) - 1 + (((off_t) 1 << 31) << 31))
6267 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
6268 && LARGE_OFF_T % 2147483647 == 1)
6278 if ac_fn_c_try_compile
"$LINENO"; then :
6279 ac_cv_sys_large_files
=no
; break
6281 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
6282 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6283 /* end confdefs.h. */
6284 #define _LARGE_FILES 1
6285 #include <sys/types.h>
6286 /* Check that off_t can represent 2**63 - 1 correctly.
6287 We can't simply define LARGE_OFF_T to be 9223372036854775807,
6288 since some C++ compilers masquerading as C compilers
6289 incorrectly reject 9223372036854775807. */
6290 #define LARGE_OFF_T ((((off_t) 1 << 31) << 31) - 1 + (((off_t) 1 << 31) << 31))
6291 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
6292 && LARGE_OFF_T % 2147483647 == 1)
6302 if ac_fn_c_try_compile
"$LINENO"; then :
6303 ac_cv_sys_large_files
=1; break
6305 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
6306 ac_cv_sys_large_files
=unknown
6310 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_large_files" >&5
6311 $as_echo "$ac_cv_sys_large_files" >&6; }
6312 case $ac_cv_sys_large_files in #(
6315 cat >>confdefs.h
<<_ACEOF
6316 #define _LARGE_FILES $ac_cv_sys_large_files
6328 ac_cpp
='$CPP $CPPFLAGS'
6329 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6330 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6331 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
6332 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
6333 $as_echo_n "checking how to run the C preprocessor... " >&6; }
6334 # On Suns, sometimes $CPP names a directory.
6335 if test -n "$CPP" && test -d "$CPP"; then
6338 if test -z "$CPP"; then
6339 if ${ac_cv_prog_CPP+:} false
; then :
6340 $as_echo_n "(cached) " >&6
6342 # Double quotes because CPP needs to be expanded
6343 for CPP
in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
6346 for ac_c_preproc_warn_flag
in '' yes
6348 # Use a header file that comes with gcc, so configuring glibc
6349 # with a fresh cross-compiler works.
6350 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
6351 # <limits.h> exists even on freestanding compilers.
6352 # On the NeXT, cc -E runs the code through the compiler's parser,
6353 # not just through cpp. "Syntax error" is here to catch this case.
6354 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6355 /* end confdefs.h. */
6357 # include <limits.h>
6359 # include <assert.h>
6363 if ac_fn_c_try_cpp
"$LINENO"; then :
6366 # Broken: fails on valid input.
6369 rm -f conftest.err conftest.i conftest.
$ac_ext
6371 # OK, works on sane cases. Now check whether nonexistent headers
6372 # can be detected and how.
6373 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6374 /* end confdefs.h. */
6375 #include <ac_nonexistent.h>
6377 if ac_fn_c_try_cpp
"$LINENO"; then :
6378 # Broken: success on invalid input.
6381 # Passes both tests.
6385 rm -f conftest.err conftest.i conftest.
$ac_ext
6388 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
6389 rm -f conftest.i conftest.err conftest.
$ac_ext
6390 if $ac_preproc_ok; then :
6402 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
6403 $as_echo "$CPP" >&6; }
6405 for ac_c_preproc_warn_flag
in '' yes
6407 # Use a header file that comes with gcc, so configuring glibc
6408 # with a fresh cross-compiler works.
6409 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
6410 # <limits.h> exists even on freestanding compilers.
6411 # On the NeXT, cc -E runs the code through the compiler's parser,
6412 # not just through cpp. "Syntax error" is here to catch this case.
6413 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6414 /* end confdefs.h. */
6416 # include <limits.h>
6418 # include <assert.h>
6422 if ac_fn_c_try_cpp
"$LINENO"; then :
6425 # Broken: fails on valid input.
6428 rm -f conftest.err conftest.i conftest.
$ac_ext
6430 # OK, works on sane cases. Now check whether nonexistent headers
6431 # can be detected and how.
6432 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6433 /* end confdefs.h. */
6434 #include <ac_nonexistent.h>
6436 if ac_fn_c_try_cpp
"$LINENO"; then :
6437 # Broken: success on invalid input.
6440 # Passes both tests.
6444 rm -f conftest.err conftest.i conftest.
$ac_ext
6447 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
6448 rm -f conftest.i conftest.err conftest.
$ac_ext
6449 if $ac_preproc_ok; then :
6452 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
6453 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
6454 as_fn_error $?
"C preprocessor \"$CPP\" fails sanity check
6455 See \`config.log' for more details" "$LINENO" 5; }
6459 ac_cpp
='$CPP $CPPFLAGS'
6460 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6461 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6462 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
6465 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
6466 $as_echo_n "checking for ANSI C header files... " >&6; }
6467 if ${ac_cv_header_stdc+:} false
; then :
6468 $as_echo_n "(cached) " >&6
6470 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6471 /* end confdefs.h. */
6485 if ac_fn_c_try_compile
"$LINENO"; then :
6486 ac_cv_header_stdc
=yes
6488 ac_cv_header_stdc
=no
6490 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
6492 if test $ac_cv_header_stdc = yes; then
6493 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
6494 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6495 /* end confdefs.h. */
6499 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
6500 $EGREP "memchr" >/dev
/null
2>&1; then :
6503 ac_cv_header_stdc
=no
6509 if test $ac_cv_header_stdc = yes; then
6510 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
6511 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6512 /* end confdefs.h. */
6516 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
6517 $EGREP "free" >/dev
/null
2>&1; then :
6520 ac_cv_header_stdc
=no
6526 if test $ac_cv_header_stdc = yes; then
6527 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
6528 if test "$cross_compiling" = yes; then :
6531 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6532 /* end confdefs.h. */
6535 #if ((' ' & 0x0FF) == 0x020)
6536 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
6537 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
6539 # define ISLOWER(c) \
6540 (('a' <= (c) && (c) <= 'i') \
6541 || ('j' <= (c) && (c) <= 'r') \
6542 || ('s' <= (c) && (c) <= 'z'))
6543 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
6546 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
6551 for (i = 0; i < 256; i++)
6552 if (XOR (islower (i), ISLOWER (i))
6553 || toupper (i) != TOUPPER (i))
6558 if ac_fn_c_try_run
"$LINENO"; then :
6561 ac_cv_header_stdc
=no
6563 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext \
6564 conftest.
$ac_objext conftest.beam conftest.
$ac_ext
6569 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
6570 $as_echo "$ac_cv_header_stdc" >&6; }
6571 if test $ac_cv_header_stdc = yes; then
6573 $as_echo "#define STDC_HEADERS 1" >>confdefs.h
6577 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
6578 for ac_header
in sys
/types.h sys
/stat.h stdlib.h string.h memory.h
strings.h \
6579 inttypes.h stdint.h unistd.h
6581 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
6582 ac_fn_c_check_header_compile
"$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
6584 if eval test \"x\$
"$as_ac_Header"\" = x
"yes"; then :
6585 cat >>confdefs.h
<<_ACEOF
6586 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
6596 ApplicationServices
/ApplicationServices.h \
6597 AudioToolbox
/AudioConverter.h \
6598 AudioUnit
/AudioUnit.h \
6599 AudioUnit
/AudioComponent.h \
6602 CoreAudio
/CoreAudio.h \
6603 CoreServices
/CoreServices.h \
6604 DiskArbitration
/DiskArbitration.h \
6606 IOKit
/hid
/IOHIDLib.h \
6609 QuickTime
/ImageCompression.h \
6610 Security
/Security.h \
6661 netinet
/in_systm.h \
6724 valgrind
/memcheck.h \
6725 valgrind
/valgrind.h \
6729 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
6730 ac_fn_c_check_header_mongrel
"$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
6731 if eval test \"x\$
"$as_ac_Header"\" = x
"yes"; then :
6732 cat >>confdefs.h
<<_ACEOF
6733 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
6740 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether stat file-mode macros are broken" >&5
6741 $as_echo_n "checking whether stat file-mode macros are broken... " >&6; }
6742 if ${ac_cv_header_stat_broken+:} false
; then :
6743 $as_echo_n "(cached) " >&6
6745 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6746 /* end confdefs.h. */
6747 #include <sys/types.h>
6748 #include <sys/stat.h>
6750 #if defined S_ISBLK && defined S_IFDIR
6751 extern char c1[S_ISBLK (S_IFDIR) ? -1 : 1];
6754 #if defined S_ISBLK && defined S_IFCHR
6755 extern char c2[S_ISBLK (S_IFCHR) ? -1 : 1];
6758 #if defined S_ISLNK && defined S_IFREG
6759 extern char c3[S_ISLNK (S_IFREG) ? -1 : 1];
6762 #if defined S_ISSOCK && defined S_IFREG
6763 extern char c4[S_ISSOCK (S_IFREG) ? -1 : 1];
6767 if ac_fn_c_try_compile
"$LINENO"; then :
6768 ac_cv_header_stat_broken
=no
6770 ac_cv_header_stat_broken
=yes
6772 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
6774 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stat_broken" >&5
6775 $as_echo "$ac_cv_header_stat_broken" >&6; }
6776 if test $ac_cv_header_stat_broken = yes; then
6778 $as_echo "#define STAT_MACROS_BROKEN 1" >>confdefs.h
6784 for ac_header
in sys
/mount.h sys
/statfs.h sys
/sysctl.h sys
/user.h sys
/vfs.h
6786 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
6787 ac_fn_c_check_header_compile
"$LINENO" "$ac_header" "$as_ac_Header" "#include <sys/types.h>
6788 #ifdef HAVE_SYS_PARAM_H
6789 # include <sys/param.h>
6792 if eval test \"x\$
"$as_ac_Header"\" = x
"yes"; then :
6793 cat >>confdefs.h
<<_ACEOF
6794 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
6809 netinet
/if_ether.h \
6810 netinet
/if_inarp.h \
6819 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
6820 ac_fn_c_check_header_compile
"$LINENO" "$ac_header" "$as_ac_Header" "#include <sys/types.h>
6821 #ifdef HAVE_SYS_SOCKET_H
6822 # include <sys/socket.h>
6824 #ifdef HAVE_SYS_SOCKETVAR_H
6825 # include <sys/socketvar.h>
6827 #ifdef HAVE_NET_ROUTE_H
6828 # include <net/route.h>
6830 #ifdef HAVE_NETINET_IN_H
6831 # include <netinet/in.h>
6833 #ifdef HAVE_NETINET_IN_SYSTM_H
6834 # include <netinet/in_systm.h>
6836 #ifdef HAVE_NET_IF_H
6837 # include <net/if.h>
6839 #ifdef HAVE_NETINET_IP_H
6840 # include <netinet/ip.h>
6843 if eval test \"x\$
"$as_ac_Header"\" = x
"yes"; then :
6844 cat >>confdefs.h
<<_ACEOF
6845 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
6853 for ac_header
in netinet
/tcp_timer.h netinet
/udp_var.h netinet
/icmp_var.h netinet
/tcp_var.h
6855 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
6856 ac_fn_c_check_header_compile
"$LINENO" "$ac_header" "$as_ac_Header" "#include <sys/types.h>
6860 #ifdef HAVE_SYS_SOCKET_H
6861 # include <sys/socket.h>
6863 #ifdef HAVE_SYS_SOCKETVAR_H
6864 # include <sys/socketvar.h>
6866 #ifdef HAVE_SYS_TIMEOUT_H
6867 # include <sys/timeout.h>
6869 #ifdef HAVE_NETINET_IN_H
6870 # include <netinet/in.h>
6872 #ifdef HAVE_NETINET_IN_SYSTM_H
6873 # include <netinet/in_systm.h>
6875 #ifdef HAVE_NETINET_IP_H
6876 # include <netinet/ip.h>
6878 #ifdef HAVE_NETINET_IP_VAR_H
6879 # include <netinet/ip_var.h>
6881 #ifdef HAVE_NETINET_IP_ICMP_H
6882 # include <netinet/ip_icmp.h>
6884 #ifdef HAVE_NETINET_UDP_H
6885 # include <netinet/udp.h>
6887 #ifdef HAVE_NETINET_TCP_H
6888 # include <netinet/tcp.h>
6890 #ifdef HAVE_NETINET_TCP_TIMER_H
6891 #include <netinet/tcp_timer.h>
6894 if eval test \"x\$
"$as_ac_Header"\" = x
"yes"; then :
6895 cat >>confdefs.h
<<_ACEOF
6896 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
6904 for ac_header
in linux
/ipx.h linux
/irda.h linux
/rtnetlink.h
6906 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
6907 ac_fn_c_check_header_compile
"$LINENO" "$ac_header" "$as_ac_Header" "#include <sys/types.h>
6908 #ifdef HAVE_ASM_TYPES_H
6909 # include <asm/types.h>
6911 #ifdef HAVE_SYS_SOCKET_H
6912 # include <sys/socket.h>
6914 #ifdef HAVE_LINUX_TYPES_H
6915 # include <linux/types.h>
6918 if eval test \"x\$
"$as_ac_Header"\" = x
"yes"; then :
6919 cat >>confdefs.h
<<_ACEOF
6920 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
6928 for ac_header
in mach-o
/dyld_images.h
6930 ac_fn_c_check_header_compile
"$LINENO" "mach-o/dyld_images.h" "ac_cv_header_mach_o_dyld_images_h" "#ifdef HAVE_STDBOOL_H
6931 # include <stdbool.h>
6933 #ifdef HAVE_STDINT_H
6934 # include <stdint.h>
6937 if test "x$ac_cv_header_mach_o_dyld_images_h" = xyes
; then :
6938 cat >>confdefs.h
<<_ACEOF
6939 #define HAVE_MACH_O_DYLD_IMAGES_H 1
6947 for ac_header
in resolv.h
6949 ac_fn_c_check_header_compile
"$LINENO" "resolv.h" "ac_cv_header_resolv_h" "#include <sys/types.h>
6950 #ifdef HAVE_SYS_SOCKET_H
6951 # include <sys/socket.h>
6953 #ifdef HAVE_NETINET_IN_H
6954 # include <netinet/in.h>
6956 #ifdef HAVE_ARPA_NAMESER_H
6957 # include <arpa/nameser.h>
6960 if test "x$ac_cv_header_resolv_h" = xyes
; then :
6961 cat >>confdefs.h
<<_ACEOF
6962 #define HAVE_RESOLV_H 1
6970 for ac_header
in ifaddrs.h
6972 ac_fn_c_check_header_compile
"$LINENO" "ifaddrs.h" "ac_cv_header_ifaddrs_h" "#include <sys/types.h>
6974 if test "x$ac_cv_header_ifaddrs_h" = xyes
; then :
6975 cat >>confdefs.h
<<_ACEOF
6976 #define HAVE_IFADDRS_H 1
6984 for ac_header
in sys
/ucontext.h
6986 ac_fn_c_check_header_compile
"$LINENO" "sys/ucontext.h" "ac_cv_header_sys_ucontext_h" "#include <signal.h>
6988 if test "x$ac_cv_header_sys_ucontext_h" = xyes
; then :
6989 cat >>confdefs.h
<<_ACEOF
6990 #define HAVE_SYS_UCONTEXT_H 1
6998 for ac_header
in sys
/thr.h
7000 ac_fn_c_check_header_compile
"$LINENO" "sys/thr.h" "ac_cv_header_sys_thr_h" "#include <sys/types.h>
7001 #ifdef HAVE_SYS_UCONTEXT_H
7002 #include <sys/ucontext.h>
7005 if test "x$ac_cv_header_sys_thr_h" = xyes
; then :
7006 cat >>confdefs.h
<<_ACEOF
7007 #define HAVE_SYS_THR_H 1
7015 for ac_header
in pthread_np.h
7017 ac_fn_c_check_header_compile
"$LINENO" "pthread_np.h" "ac_cv_header_pthread_np_h" "#ifdef HAVE_PTHREAD_H
7018 #include <pthread.h>
7021 if test "x$ac_cv_header_pthread_np_h" = xyes
; then :
7022 cat >>confdefs.h
<<_ACEOF
7023 #define HAVE_PTHREAD_NP_H 1
7031 for ac_header
in linux
/videodev.h linux
/videodev2.h libv4l1.h
7033 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
7034 ac_fn_c_check_header_compile
"$LINENO" "$ac_header" "$as_ac_Header" "#ifdef HAVE_SYS_TIME_H
7035 #include <sys/time.h>
7037 #include <sys/types.h>
7038 #ifdef HAVE_ASM_TYPES_H
7039 #include <asm/types.h>
7042 if eval test \"x\$
"$as_ac_Header"\" = x
"yes"; then :
7043 cat >>confdefs.h
<<_ACEOF
7044 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
7052 for ac_header
in libprocstat.h
7054 ac_fn_c_check_header_compile
"$LINENO" "libprocstat.h" "ac_cv_header_libprocstat_h" "#ifdef HAVE_SYS_PARAM_H
7055 #include <sys/param.h>
7057 #ifdef HAVE_SYS_QUEUE_H
7058 #include <sys/queue.h>
7060 #ifdef HAVE_SYS_SOCKET_H
7061 #include <sys/socket.h>
7064 if test "x$ac_cv_header_libprocstat_h" = xyes
; then :
7065 cat >>confdefs.h
<<_ACEOF
7066 #define HAVE_LIBPROCSTAT_H 1
7075 dlldir
="\${libdir}/wine"
7079 DLLFLAGS
="-D_REENTRANT"
7088 STATIC_IMPLIBEXT
="def.a"
7089 # Extract the first word of "ldd", so it can be a program name with args.
7090 set dummy ldd
; ac_word
=$2
7091 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7092 $as_echo_n "checking for $ac_word... " >&6; }
7093 if ${ac_cv_path_LDD+:} false
; then :
7094 $as_echo_n "(cached) " >&6
7098 ac_cv_path_LDD
="$LDD" # Let the user override the test with a path.
7101 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7102 as_dummy
="/sbin:/usr/sbin:$PATH"
7103 for as_dir
in $as_dummy
7106 test -z "$as_dir" && as_dir
=.
7107 for ac_exec_ext
in '' $ac_executable_extensions; do
7108 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
7109 ac_cv_path_LDD
="$as_dir/$ac_word$ac_exec_ext"
7110 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7117 test -z "$ac_cv_path_LDD" && ac_cv_path_LDD
="true"
7122 if test -n "$LDD"; then
7123 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LDD" >&5
7124 $as_echo "$LDD" >&6; }
7126 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7127 $as_echo "no" >&6; }
7131 if test -n "$ac_tool_prefix"; then
7132 # Extract the first word of "${ac_tool_prefix}otool", so it can be a program name with args.
7133 set dummy
${ac_tool_prefix}otool
; ac_word
=$2
7134 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7135 $as_echo_n "checking for $ac_word... " >&6; }
7136 if ${ac_cv_prog_OTOOL+:} false
; then :
7137 $as_echo_n "(cached) " >&6
7139 if test -n "$OTOOL"; then
7140 ac_cv_prog_OTOOL
="$OTOOL" # Let the user override the test.
7142 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7146 test -z "$as_dir" && as_dir
=.
7147 for ac_exec_ext
in '' $ac_executable_extensions; do
7148 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
7149 ac_cv_prog_OTOOL
="${ac_tool_prefix}otool"
7150 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7159 OTOOL
=$ac_cv_prog_OTOOL
7160 if test -n "$OTOOL"; then
7161 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL" >&5
7162 $as_echo "$OTOOL" >&6; }
7164 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7165 $as_echo "no" >&6; }
7170 if test -z "$ac_cv_prog_OTOOL"; then
7172 # Extract the first word of "otool", so it can be a program name with args.
7173 set dummy otool
; ac_word
=$2
7174 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7175 $as_echo_n "checking for $ac_word... " >&6; }
7176 if ${ac_cv_prog_ac_ct_OTOOL+:} false
; then :
7177 $as_echo_n "(cached) " >&6
7179 if test -n "$ac_ct_OTOOL"; then
7180 ac_cv_prog_ac_ct_OTOOL
="$ac_ct_OTOOL" # Let the user override the test.
7182 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7186 test -z "$as_dir" && as_dir
=.
7187 for ac_exec_ext
in '' $ac_executable_extensions; do
7188 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
7189 ac_cv_prog_ac_ct_OTOOL
="otool"
7190 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7199 ac_ct_OTOOL
=$ac_cv_prog_ac_ct_OTOOL
7200 if test -n "$ac_ct_OTOOL"; then
7201 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL" >&5
7202 $as_echo "$ac_ct_OTOOL" >&6; }
7204 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7205 $as_echo "no" >&6; }
7208 if test "x$ac_ct_OTOOL" = x
; then
7211 case $cross_compiling:$ac_tool_warned in
7213 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7214 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7215 ac_tool_warned
=yes ;;
7220 OTOOL
="$ac_cv_prog_OTOOL"
7223 if test -n "$ac_tool_prefix"; then
7224 # Extract the first word of "${ac_tool_prefix}readelf", so it can be a program name with args.
7225 set dummy
${ac_tool_prefix}readelf
; ac_word
=$2
7226 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7227 $as_echo_n "checking for $ac_word... " >&6; }
7228 if ${ac_cv_prog_READELF+:} false
; then :
7229 $as_echo_n "(cached) " >&6
7231 if test -n "$READELF"; then
7232 ac_cv_prog_READELF
="$READELF" # Let the user override the test.
7234 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7238 test -z "$as_dir" && as_dir
=.
7239 for ac_exec_ext
in '' $ac_executable_extensions; do
7240 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
7241 ac_cv_prog_READELF
="${ac_tool_prefix}readelf"
7242 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7251 READELF
=$ac_cv_prog_READELF
7252 if test -n "$READELF"; then
7253 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $READELF" >&5
7254 $as_echo "$READELF" >&6; }
7256 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7257 $as_echo "no" >&6; }
7262 if test -z "$ac_cv_prog_READELF"; then
7263 ac_ct_READELF
=$READELF
7264 # Extract the first word of "readelf", so it can be a program name with args.
7265 set dummy readelf
; ac_word
=$2
7266 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7267 $as_echo_n "checking for $ac_word... " >&6; }
7268 if ${ac_cv_prog_ac_ct_READELF+:} false
; then :
7269 $as_echo_n "(cached) " >&6
7271 if test -n "$ac_ct_READELF"; then
7272 ac_cv_prog_ac_ct_READELF
="$ac_ct_READELF" # Let the user override the test.
7274 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7278 test -z "$as_dir" && as_dir
=.
7279 for ac_exec_ext
in '' $ac_executable_extensions; do
7280 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
7281 ac_cv_prog_ac_ct_READELF
="readelf"
7282 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7291 ac_ct_READELF
=$ac_cv_prog_ac_ct_READELF
7292 if test -n "$ac_ct_READELF"; then
7293 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_READELF" >&5
7294 $as_echo "$ac_ct_READELF" >&6; }
7296 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7297 $as_echo "no" >&6; }
7300 if test "x$ac_ct_READELF" = x
; then
7303 case $cross_compiling:$ac_tool_warned in
7305 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7306 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7307 ac_tool_warned
=yes ;;
7309 READELF
=$ac_ct_READELF
7312 READELF
="$ac_cv_prog_READELF"
7315 wine_rules_file
=conf$
$rules.
make
7316 rm -f $wine_rules_file
7318 GITIGNORE
="# Automatically generated by configure; DO NOT EDIT!!"
7319 ALL_TEST_RESOURCES
=""
7322 wine_fn_append_file
()
7324 as_fn_append
$1 " \\$as_nl $2"
7327 wine_fn_ignore_file
()
7330 */*) as_fn_append GITIGNORE
"$as_nl$1" ;;
7331 \
**) as_fn_append GITIGNORE
"$as_nl$1" ;;
7332 *) as_fn_append GITIGNORE
"$as_nl/$1" ;;
7336 wine_fn_append_rule
()
7338 $as_echo "$1" >>$wine_rules_file
7343 expr ",$ac_flags," : ".*,$1,.*" >/dev
/null
7346 wine_fn_depend_rules
()
7348 wine_fn_append_rule \
7349 "$ac_dir/Makefile: $srcdir/$ac_dir/Makefile.in $srcdir/Make.vars.in config.status \$(MAKEDEP)
7350 @./config.status --file $ac_dir/Makefile:Make.vars.in:$ac_dir/Makefile.in && \$(MAKEDEP) $ac_dir
7351 depend: $ac_dir/depend
7352 .PHONY: $ac_dir/depend
7353 $ac_dir/depend: \$(MAKEDEP) dummy
7354 @./config.status --file $ac_dir/Makefile:Make.vars.in:$ac_dir/Makefile.in && \$(MAKEDEP) $ac_dir"
7357 wine_fn_pot_rules
()
7359 test "x$with_gettextpo" = xyes ||
return
7361 if wine_fn_has_flag mc
7363 wine_fn_append_file ALL_POT_FILES
$ac_dir/msg.pot
7364 wine_fn_append_rule \
7365 "$ac_dir/msg.pot: $ac_dir/Makefile dummy
7366 @cd $ac_dir && \$(MAKE) msg.pot
7367 $ac_dir/msg.pot: tools/wmc include"
7369 if wine_fn_has_flag po
7371 wine_fn_append_file ALL_POT_FILES
$ac_dir/rsrc.pot
7372 wine_fn_append_rule \
7373 "$ac_dir/rsrc.pot: $ac_dir/Makefile dummy
7374 @cd $ac_dir && \$(MAKE) rsrc.pot
7375 $ac_dir/rsrc.pot: tools/wrc include"
7379 wine_fn_all_rules
()
7381 wine_fn_depend_rules
7382 wine_fn_append_rule \
7385 $ac_dir: $ac_dir/Makefile dummy
7386 @cd $ac_dir && \$(MAKE)"
7389 wine_fn_install_rules
()
7391 wine_fn_has_flag install-lib || wine_fn_has_flag install-dev ||
return
7393 wine_fn_append_rule \
7394 ".PHONY: $ac_dir/install $ac_dir/uninstall
7395 $ac_dir/install:: $ac_dir
7396 @cd $ac_dir && \$(MAKE) install
7397 $ac_dir/uninstall:: $ac_dir/Makefile
7398 @cd $ac_dir && \$(MAKE) uninstall
7399 install:: $ac_dir/install
7400 __uninstall__: $ac_dir/uninstall"
7402 if wine_fn_has_flag install-lib
7404 wine_fn_append_rule \
7405 ".PHONY: $ac_dir/install-lib
7406 $ac_dir/install-lib:: $ac_dir
7407 @cd $ac_dir && \$(MAKE) install-lib
7408 install-lib:: $ac_dir/install-lib"
7411 if wine_fn_has_flag install-dev
7413 wine_fn_append_rule \
7414 ".PHONY: $ac_dir/install-dev
7415 $ac_dir/install-dev:: $ac_dir
7416 @cd $ac_dir && \$(MAKE) install-dev
7417 install-dev:: $ac_dir/install-dev"
7421 wine_fn_clean_rules
()
7424 ac_extraclean
="$ac_dir/Makefile"
7425 test "$srcdir" = .
&& ac_extraclean
="$ac_extraclean $ac_dir/.gitignore"
7427 */tests
) ac_extraclean
="$ac_extraclean $ac_dir/testlist.c" ;;
7430 if wine_fn_has_flag clean
7432 wine_fn_append_rule \
7433 "__clean__: $ac_dir/clean
7434 .PHONY: $ac_dir/clean
7435 $ac_dir/clean: $ac_dir/Makefile
7436 @cd $ac_dir && \$(MAKE) clean
7437 \$(RM) $ac_extraclean"
7439 wine_fn_append_rule \
7440 "__clean__: $ac_dir/clean
7441 .PHONY: $ac_dir/clean
7442 $ac_dir/clean: dummy
7443 \$(RM) \$(CLEAN_FILES:%=$ac_dir/%) $ac_clean $ac_extraclean"
7447 wine_fn_disabled_rules
()
7450 ac_extraclean
="$ac_dir/Makefile"
7451 test "$srcdir" = .
&& ac_extraclean
="$ac_extraclean $ac_dir/.gitignore"
7453 wine_fn_append_rule \
7454 "__clean__: $ac_dir/clean
7455 .PHONY: $ac_dir/clean
7456 $ac_dir/clean: dummy
7457 \$(RM) \$(CLEAN_FILES:%=$ac_dir/%) $ac_clean $ac_extraclean"
7460 wine_fn_config_makefile
()
7466 if eval test \"x\$
"$ac_enable"\" = x
"no"; then :
7467 wine_fn_disabled_rules
; return
7470 wine_fn_install_rules
7474 wine_fn_config_lib
()
7478 ac_dir
=dlls
/$ac_name
7481 if test "x$enable_tools" = xno
; then :
7484 ac_deps
="tools/widl tools/winebuild tools/winegcc $ac_deps"
7489 wine_fn_append_rule \
7490 ".PHONY: $ac_dir/install $ac_dir/uninstall
7491 $ac_dir/install:: $ac_dir
7492 \$(INSTALL_DATA) $ac_dir/lib$ac_name.a \$(DESTDIR)\$(dlldir)/lib$ac_name.a
7494 \$(RM) \$(DESTDIR)\$(dlldir)/lib$ac_name.a
7495 install install-dev:: $ac_dir/install
7496 __uninstall__: $ac_dir/uninstall
7497 __builddeps__: $ac_dir
7501 wine_fn_config_dll
()
7504 ac_dir
=dlls
/$ac_name
7507 ac_implib
=${4:-$ac_name}
7508 ac_file
=$ac_dir/lib
$ac_implib
7513 if test "x$enable_tools" = xno
; then :
7516 ac_deps
="tools/widl tools/winebuild tools/winegcc $ac_deps"
7519 *16) ac_implibflags
=" -m16" ;;
7521 *) ac_dll
=$ac_dll.dll
;;
7525 wine_fn_has_flag implib
&& ac_clean
="$ac_clean $ac_file.$IMPLIBEXT"
7526 wine_fn_has_flag mc
&& ac_clean
="$ac_clean $ac_dir/msg.pot"
7527 wine_fn_has_flag po
&& ac_clean
="$ac_clean $ac_dir/rsrc.pot"
7528 test -n "$DLLEXT" || ac_clean
="$ac_clean $ac_dir/$ac_dll"
7530 if eval test \"x\$
"$ac_enable"\" = x
"no"; then :
7531 if wine_fn_has_flag implib
&& test "$ac_enable" != enable_win16
7533 wine_fn_depend_rules
7534 wine_fn_clean_rules
$ac_clean
7536 wine_fn_disabled_rules
$ac_clean
7541 wine_fn_clean_rules
$ac_clean
7542 wine_fn_append_rule \
7543 "$ac_dir: __builddeps__
7544 manpages htmlpages sgmlpages xmlpages:: $ac_dir/Makefile
7545 @cd $ac_dir && \$(MAKE) \$@
7546 .PHONY: $ac_dir/install-lib $ac_dir/uninstall
7547 install install-lib:: $ac_dir/install-lib
7548 __uninstall__: $ac_dir/uninstall"
7549 if test -n "$DLLEXT"
7551 wine_fn_append_rule \
7552 "$ac_dir/install-lib:: $ac_dir
7553 \$(INSTALL_PROGRAM) $ac_dir/$ac_dll$DLLEXT \$(DESTDIR)\$(dlldir)/$DLLPREFIX$ac_dll$DLLEXT
7554 \$(INSTALL_DATA) $ac_dir/$ac_dll.fake \$(DESTDIR)\$(fakedlldir)/$ac_dll
7556 \$(RM) \$(DESTDIR)\$(dlldir)/$DLLPREFIX$ac_dll$DLLEXT \$(DESTDIR)\$(fakedlldir)/$ac_dll"
7558 wine_fn_append_rule \
7559 "$ac_dir/install-lib:: $ac_dir
7560 \$(INSTALL_PROGRAM) $ac_dir/$ac_dll \$(DESTDIR)\$(dlldir)/$ac_dll
7562 \$(RM) \$(DESTDIR)\$(dlldir)/$ac_dll"
7568 if wine_fn_has_flag staticimplib
7570 wine_fn_append_rule \
7571 "__builddeps__: $ac_file.$IMPLIBEXT $ac_file.$STATIC_IMPLIBEXT
7572 $ac_file.$IMPLIBEXT $ac_file.$STATIC_IMPLIBEXT $ac_file.cross.a: $ac_deps
7573 $ac_file.def: $srcdir/$ac_dir/$ac_name.spec $ac_dir/Makefile \$(WINEBUILD)
7574 \$(WINEBUILD) \$(TARGETFLAGS)$ac_implibflags -w --def -o \$@ --export $srcdir/$ac_dir/$ac_name.spec
7575 $ac_file.$STATIC_IMPLIBEXT: $ac_dir/Makefile dummy
7576 @cd $ac_dir && \$(MAKE) lib$ac_implib.$STATIC_IMPLIBEXT
7577 .PHONY: $ac_dir/install-dev $ac_dir/uninstall
7578 $ac_dir/install-dev:: $ac_file.$IMPLIBEXT
7579 \$(INSTALL_DATA) $ac_file.$IMPLIBEXT \$(DESTDIR)\$(dlldir)/lib$ac_implib.$IMPLIBEXT
7581 \$(RM) \$(DESTDIR)\$(dlldir)/lib$ac_implib.$IMPLIBEXT
7582 install install-dev:: $ac_dir/install-dev
7583 __uninstall__: $ac_dir/uninstall"
7585 if test "$IMPLIBEXT" != "$STATIC_IMPLIBEXT"
7587 wine_fn_append_rule \
7588 "$ac_dir/install-dev:: $ac_file.$STATIC_IMPLIBEXT __builddeps__
7589 \$(INSTALL_DATA) $ac_file.$STATIC_IMPLIBEXT \$(DESTDIR)\$(dlldir)/lib$ac_implib.$STATIC_IMPLIBEXT
7591 \$(RM) \$(DESTDIR)\$(dlldir)/lib$ac_implib.$STATIC_IMPLIBEXT"
7594 if test -n "$CROSSTARGET" -a -z "$ac_implibflags"
7596 wine_fn_append_rule \
7597 "__builddeps__: $ac_file.cross.a
7598 $ac_file.cross.a: $ac_dir/Makefile dummy
7599 @cd $ac_dir && \$(MAKE) lib$ac_implib.cross.a"
7602 elif wine_fn_has_flag implib
7604 wine_fn_append_rule \
7605 "__builddeps__: $ac_file.$IMPLIBEXT
7606 $ac_file.def: $srcdir/$ac_dir/$ac_name.spec $ac_dir/Makefile \$(WINEBUILD)
7607 \$(WINEBUILD) \$(TARGETFLAGS)$ac_implibflags -w --def -o \$@ --export $srcdir/$ac_dir/$ac_name.spec
7608 $ac_file.a: $srcdir/$ac_dir/$ac_name.spec $ac_dir/Makefile \$(WINEBUILD)
7609 \$(WINEBUILD) \$(TARGETFLAGS)$ac_implibflags -w --implib -o \$@ --export $srcdir/$ac_dir/$ac_name.spec
7610 .PHONY: $ac_dir/install-dev $ac_dir/uninstall
7611 $ac_dir/install-dev:: $ac_file.$IMPLIBEXT
7612 \$(INSTALL_DATA) $ac_file.$IMPLIBEXT \$(DESTDIR)\$(dlldir)/lib$ac_implib.$IMPLIBEXT
7614 \$(RM) \$(DESTDIR)\$(dlldir)/lib$ac_implib.$IMPLIBEXT
7615 install install-dev:: $ac_dir/install-dev
7616 __uninstall__: $ac_dir/uninstall"
7617 if test -n "$CROSSTARGET" -a -z "$ac_implibflags"
7619 wine_fn_append_rule \
7620 "__builddeps__: $ac_file.cross.a
7621 $ac_file.cross.a: $srcdir/$ac_dir/$ac_name.spec $ac_dir/Makefile \$(WINEBUILD)
7622 \$(WINEBUILD) \$(CROSSTARGET:%=-b %)$ac_implibflags -w --implib -o \$@ --export $srcdir/$ac_dir/$ac_name.spec"
7625 if test "$ac_name" != "$ac_implib"
7627 wine_fn_append_rule \
7628 "__builddeps__: dlls/lib$ac_implib.$IMPLIBEXT
7629 dlls/lib$ac_implib.$IMPLIBEXT: $ac_file.$IMPLIBEXT
7630 \$(RM) \$@ && \$(LN_S) $ac_name/lib$ac_implib.$IMPLIBEXT \$@
7632 \$(RM) dlls/lib$ac_implib.$IMPLIBEXT"
7633 wine_fn_ignore_file
"dlls/lib$ac_implib.$IMPLIBEXT"
7634 if test -n "$CROSSTARGET" -a -z "$ac_implibflags"
7636 wine_fn_append_rule \
7637 "__builddeps__: dlls/lib$ac_implib.cross.a
7638 dlls/lib$ac_implib.cross.a: $ac_file.cross.a
7639 \$(RM) \$@ && \$(LN_S) $ac_name/lib$ac_implib.cross.a \$@
7641 \$(RM) dlls/lib$ac_implib.cross.a"
7642 wine_fn_ignore_file
"dlls/lib$ac_implib.cross.a"
7648 wine_fn_config_program
()
7651 ac_dir
=programs
/$ac_name
7658 *) ac_program
=$ac_program.exe
;;
7662 wine_fn_has_flag mc
&& ac_clean
="$ac_clean $ac_dir/msg.pot"
7663 wine_fn_has_flag po
&& ac_clean
="$ac_clean $ac_dir/rsrc.pot"
7664 wine_fn_has_flag manpage
&& ac_clean
="$ac_clean $ac_dir/$ac_name.man"
7665 test -n "$DLLEXT" || ac_clean
="$ac_clean $ac_dir/$ac_program"
7667 if eval test \"x\$
"$ac_enable"\" = x
"no"; then :
7668 wine_fn_disabled_rules
$ac_clean; return
7672 wine_fn_clean_rules
$ac_clean
7673 wine_fn_append_rule
"$ac_dir: __builddeps__"
7676 wine_fn_has_flag
install ||
return
7677 wine_fn_append_rule \
7678 ".PHONY: $ac_dir/install $ac_dir/uninstall
7679 install install-lib:: $ac_dir/install
7680 __uninstall__: $ac_dir/uninstall"
7682 if test -n "$DLLEXT"
7684 wine_fn_append_rule \
7685 "$ac_dir/install:: $ac_dir
7686 \$(INSTALL_PROGRAM) $ac_dir/$ac_program$DLLEXT \$(DESTDIR)\$(dlldir)/$DLLPREFIX$ac_program$DLLEXT
7687 \$(INSTALL_DATA) $ac_dir/$ac_program.fake \$(DESTDIR)\$(fakedlldir)/$ac_program
7689 \$(RM) \$(DESTDIR)\$(dlldir)/$DLLPREFIX$ac_program$DLLEXT \$(DESTDIR)\$(fakedlldir)/$ac_program"
7691 if test -z "$with_wine64" && wine_fn_has_flag installbin
7693 wine_fn_append_rule \
7694 "$ac_dir/install:: __tooldeps__
7695 \$(INSTALL_SCRIPT) \$(TOOLSDIR)/tools/wineapploader \$(DESTDIR)\$(bindir)/$ac_name
7697 \$(RM) \$(DESTDIR)\$(bindir)/$ac_name"
7700 wine_fn_append_rule \
7701 "$ac_dir/install:: $ac_dir
7702 \$(INSTALL_PROGRAM) $ac_dir/$ac_program \$(DESTDIR)\$(bindir)/$ac_program
7704 \$(RM) \$(DESTDIR)\$(bindir)/$ac_program"
7707 if test -z "$with_wine64" && wine_fn_has_flag manpage
7709 wine_fn_append_rule \
7710 "$ac_dir/install:: $ac_dir
7711 \$(INSTALL_DATA) $ac_dir/$ac_name.man \$(DESTDIR)\$(mandir)/man\$(prog_manext)/$ac_name.\$(prog_manext)
7713 \$(RM) \$(DESTDIR)\$(mandir)/man\$(prog_manext)/$ac_name.\$(prog_manext)"
7717 wine_fn_config_test
()
7724 test -n "$CROSSTARGET" && ac_clean
=`expr $ac_dir/${ac_name} : "\\(.*\\)_test"`_crosstest.exe
7725 test -n "$DLLEXT" || ac_clean
="$ac_dir/${ac_name}.exe $ac_dir/${ac_name}-stripped.exe"
7727 if test "x$enable_tests" = xno
; then :
7728 wine_fn_disabled_rules
$ac_clean; return
7731 wine_fn_append_file ALL_TEST_RESOURCES
$ac_name.res
7733 wine_fn_clean_rules
$ac_clean
7735 wine_fn_append_rule \
7736 "$ac_dir: programs/winetest/Makefile __builddeps__
7737 programs/winetest: $ac_dir
7738 check test: $ac_dir/test
7739 .PHONY: $ac_dir/test
7741 @cd $ac_dir && \$(MAKE) test
7743 \$(RM) $ac_dir/*.ok"
7745 if test -n "$CROSSTARGET"
7747 wine_fn_append_rule \
7748 "crosstest: $ac_dir/crosstest
7749 .PHONY: $ac_dir/crosstest
7750 $ac_dir/crosstest: $ac_dir/Makefile __builddeps__ dummy
7751 @cd $ac_dir && \$(MAKE) crosstest"
7755 wine_fn_config_tool
()
7759 if test "x$enable_tools" = xno
; then :
7764 wine_fn_install_rules
7767 wine_fn_append_rule
"__tooldeps__: $ac_dir"
7768 wine_fn_append_rule
"$ac_dir: libs/port"
7770 tools
/winebuild
) wine_fn_append_rule
"\$(WINEBUILD): $ac_dir" ;;
7774 wine_fn_config_symlink
()
7777 if test "x$1" = "x-d"
7783 wine_fn_append_rule \
7785 @./config.status \$@
7788 for f
in $ac_links; do wine_fn_ignore_file
$f; done
7789 test -n "$ac_linkdir" ||
return
7790 wine_fn_append_rule
"$ac_linkdir/Makefile $ac_linkdir/depend: $ac_links"
7794 test "x$enable_win64" != "xyes" || wine_binary
="wine64"
7795 loader_programs
="$wine_binary wine-installed"
7796 libwine_soversion
=`expr $libwine_version : '\([0-9]*\)\..*'`
7801 install install-lib:: wine-installed
7802 \$(INSTALL_PROGRAM) wine-installed \$(DESTDIR)\$(bindir)/$wine_binary
7805 \$(RM) \$(DESTDIR)\$(bindir)/$wine_binary
7811 if test -n "$ac_tool_prefix"; then
7812 # Extract the first word of "${ac_tool_prefix}dlltool", so it can be a program name with args.
7813 set dummy
${ac_tool_prefix}dlltool
; ac_word
=$2
7814 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7815 $as_echo_n "checking for $ac_word... " >&6; }
7816 if ${ac_cv_prog_DLLTOOL+:} false
; then :
7817 $as_echo_n "(cached) " >&6
7819 if test -n "$DLLTOOL"; then
7820 ac_cv_prog_DLLTOOL
="$DLLTOOL" # Let the user override the test.
7822 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7826 test -z "$as_dir" && as_dir
=.
7827 for ac_exec_ext
in '' $ac_executable_extensions; do
7828 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
7829 ac_cv_prog_DLLTOOL
="${ac_tool_prefix}dlltool"
7830 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7839 DLLTOOL
=$ac_cv_prog_DLLTOOL
7840 if test -n "$DLLTOOL"; then
7841 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DLLTOOL" >&5
7842 $as_echo "$DLLTOOL" >&6; }
7844 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7845 $as_echo "no" >&6; }
7850 if test -z "$ac_cv_prog_DLLTOOL"; then
7851 ac_ct_DLLTOOL
=$DLLTOOL
7852 # Extract the first word of "dlltool", so it can be a program name with args.
7853 set dummy dlltool
; ac_word
=$2
7854 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7855 $as_echo_n "checking for $ac_word... " >&6; }
7856 if ${ac_cv_prog_ac_ct_DLLTOOL+:} false
; then :
7857 $as_echo_n "(cached) " >&6
7859 if test -n "$ac_ct_DLLTOOL"; then
7860 ac_cv_prog_ac_ct_DLLTOOL
="$ac_ct_DLLTOOL" # Let the user override the test.
7862 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7866 test -z "$as_dir" && as_dir
=.
7867 for ac_exec_ext
in '' $ac_executable_extensions; do
7868 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
7869 ac_cv_prog_ac_ct_DLLTOOL
="dlltool"
7870 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7879 ac_ct_DLLTOOL
=$ac_cv_prog_ac_ct_DLLTOOL
7880 if test -n "$ac_ct_DLLTOOL"; then
7881 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DLLTOOL" >&5
7882 $as_echo "$ac_ct_DLLTOOL" >&6; }
7884 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7885 $as_echo "no" >&6; }
7888 if test "x$ac_ct_DLLTOOL" = x
; then
7891 case $cross_compiling:$ac_tool_warned in
7893 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7894 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7895 ac_tool_warned
=yes ;;
7897 DLLTOOL
=$ac_ct_DLLTOOL
7900 DLLTOOL
="$ac_cv_prog_DLLTOOL"
7906 STATIC_IMPLIBEXT
="a"
7907 enable_iphlpapi
=${enable_iphlpapi:-no}
7908 enable_kernel32
=${enable_kernel32:-no}
7909 enable_msvcrt
=${enable_msvcrt:-no}
7910 enable_ntdll
=${enable_ntdll:-no}
7911 enable_ws2_32
=${enable_ws2_32:-no}
7912 enable_loader
=${enable_loader:-no}
7913 enable_server
=${enable_server:-no}
7914 with_x
=${with_x:-no}
7915 with_pthread
=${with_pthread:-no}
7921 SOCKET_LIBS
="-L\$(top_builddir)/dlls/ws2_32 -lws2_32"
7925 libwine_targets
="libwine.dll libwine.a"
7927 OBJS = \$(C_SRCS:.c=.o) \$(EXTRA_OBJS)
7929 all: libwine.dll libwine.a
7931 libwine.a: \$(srcdir)/wine.def
7932 \$(DLLTOOL) -l \$@ -d \$(srcdir)/wine.def
7934 libwine.dll: \$(OBJS) \$(srcdir)/wine.def
7935 \$(CC) -shared \$(srcdir)/wine.def -o \$@ \$(OBJS) $crtlibs \$(EXTRALIBS)
7937 install install-lib:: libwine.dll
7938 \$(INSTALL_DATA) libwine.dll \$(DESTDIR)\$(libdir)/libwine.dll
7940 install install-dev:: libwine.a
7941 \$(INSTALL_DATA) libwine.a \$(DESTDIR)\$(libdir)/libwine.a
7944 -cd \$(DESTDIR)\$(libdir) && \$(RM) libwine.a libwine.dll
7950 for ac_header
in libunwind.h
7952 ac_fn_c_check_header_mongrel
"$LINENO" "libunwind.h" "ac_cv_header_libunwind_h" "$ac_includes_default"
7953 if test "x$ac_cv_header_libunwind_h" = xyes
; then :
7954 cat >>confdefs.h
<<_ACEOF
7955 #define HAVE_LIBUNWIND_H 1
7963 DLLFLAGS
="$DLLFLAGS -fPIC"
7964 LIBWINE_LDFLAGS
="-multiply_defined suppress"
7965 LDRPATH_INSTALL
="-Wl,-rpath,@loader_path/\`\$(MAKEDEP) -R \$(bindir) \$(libdir)\`"
7966 LDRPATH_LOCAL
="-Wl,-rpath,@loader_path/\$(top_builddir)/libs/wine"
7967 COREFOUNDATION_LIBS
="-framework CoreFoundation"
7969 IOKIT_LIBS
="-framework IOKit -framework CoreFoundation"
7971 FORCEFEEDBACK_LIBS
="-framework ForceFeedback -framework CoreFoundation"
7973 APPLICATIONSERVICES_LIBS
="-framework ApplicationServices"
7975 CORESERVICES_LIBS
="-framework CoreServices"
7977 APPKIT_LIBS
="-framework AppKit"
7979 LDEXECFLAGS
="-image_base 0x7bf00000 -Wl,-pagezero_size,0x1000,-segaddr,WINE_DOS,0x00001000,-segaddr,WINE_SHAREDHEAP,0x7f000000,-sectcreate,__TEXT,__info_plist,wine_info.plist"
7980 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,-no_pie" >&5
7981 $as_echo_n "checking whether the compiler supports -Wl,-no_pie... " >&6; }
7982 if ${ac_cv_cflags__Wl__no_pie+:} false
; then :
7983 $as_echo_n "(cached) " >&6
7985 ac_wine_try_cflags_saved
=$CFLAGS
7986 CFLAGS
="$CFLAGS -Wl,-no_pie"
7987 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
7988 /* end confdefs.h. */
7989 int main(int argc, char **argv) { return 0; }
7991 if ac_fn_c_try_link
"$LINENO"; then :
7992 ac_cv_cflags__Wl__no_pie
=yes
7994 ac_cv_cflags__Wl__no_pie
=no
7996 rm -f core conftest.err conftest.
$ac_objext \
7997 conftest
$ac_exeext conftest.
$ac_ext
7998 CFLAGS
=$ac_wine_try_cflags_saved
8000 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl__no_pie" >&5
8001 $as_echo "$ac_cv_cflags__Wl__no_pie" >&6; }
8002 if test "x$ac_cv_cflags__Wl__no_pie" = xyes
; then :
8003 LDEXECFLAGS
="-Wl,-no_pie $LDEXECFLAGS"
8005 if test "$ac_cv_header_DiskArbitration_DiskArbitration_h" = "yes"
8007 DISKARBITRATION_LIBS
="-framework DiskArbitration -framework CoreFoundation"
8010 if test "$ac_cv_header_Security_Security_h" = "yes"
8012 SECURITY_LIBS
="-framework Security -framework CoreFoundation"
8014 ac_save_LIBS
="$LIBS"
8015 LIBS
="$LIBS $SECURITY_LIBS"
8016 for ac_func
in SSLCopyPeerCertificates
8018 ac_fn_c_check_func
"$LINENO" "SSLCopyPeerCertificates" "ac_cv_func_SSLCopyPeerCertificates"
8019 if test "x$ac_cv_func_SSLCopyPeerCertificates" = xyes
; then :
8020 cat >>confdefs.h
<<_ACEOF
8021 #define HAVE_SSLCOPYPEERCERTIFICATES 1
8027 LIBS
="$ac_save_LIBS"
8028 with_gnutls
=${with_gnutls:-no}
8030 if test "$ac_cv_header_CoreAudio_CoreAudio_h" = "yes" -a "$ac_cv_header_AudioUnit_AudioUnit_h" = "yes"
8032 if test "$ac_cv_header_AudioUnit_AudioComponent_h" = "yes"
8034 COREAUDIO_LIBS
="-framework CoreFoundation -framework CoreAudio -framework AudioUnit -framework AudioToolbox -framework CoreMIDI"
8037 COREAUDIO_LIBS
="-framework CoreAudio -framework AudioUnit -framework CoreServices -framework AudioToolbox -framework CoreMIDI"
8040 ac_save_LIBS
="$LIBS"
8041 LIBS
="$LIBS $COREAUDIO_LIBS"
8042 for ac_func
in AUGraphAddNode
8044 ac_fn_c_check_func
"$LINENO" "AUGraphAddNode" "ac_cv_func_AUGraphAddNode"
8045 if test "x$ac_cv_func_AUGraphAddNode" = xyes
; then :
8046 cat >>confdefs.h
<<_ACEOF
8047 #define HAVE_AUGRAPHADDNODE 1
8053 LIBS
="$ac_save_LIBS"
8055 if test "$ac_cv_header_OpenAL_al_h" = "yes"
8057 OPENAL_LIBS
="-framework OpenAL"
8060 cat >>confdefs.h
<<_ACEOF
8061 #define HAVE_OPENAL 1
8064 ac_cv_lib_openal
=yes
8066 if test "$ac_cv_header_OpenCL_opencl_h" = "yes"
8068 OPENCL_LIBS
="-framework OpenCL"
8070 ac_cv_lib_OpenCL_clGetPlatformInfo
=yes
8072 if test "$ac_cv_header_IOKit_hid_IOHIDLib_h" = "yes"
8074 ac_save_LIBS
="$LIBS"
8075 LIBS
="$LIBS $IOKIT_LIBS"
8076 for ac_func
in IOHIDManagerCreate
8078 ac_fn_c_check_func
"$LINENO" "IOHIDManagerCreate" "ac_cv_func_IOHIDManagerCreate"
8079 if test "x$ac_cv_func_IOHIDManagerCreate" = xyes
; then :
8080 cat >>confdefs.h
<<_ACEOF
8081 #define HAVE_IOHIDMANAGERCREATE 1
8087 LIBS
="$ac_save_LIBS"
8089 if test "$ac_cv_header_QuickTime_ImageCompression_h" = "yes"
8091 ac_save_LIBS
="$LIBS"
8092 LIBS
="-framework QuickTime -framework ApplicationServices -framework CoreVideo $LIBS"
8093 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for the QuickTime framework" >&5
8094 $as_echo_n "checking for the QuickTime framework... " >&6; }
8095 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8096 /* end confdefs.h. */
8097 #include <QuickTime/ImageCompression.h>
8101 CodecManagerVersion(NULL);
8106 if ac_fn_c_try_link
"$LINENO"; then :
8107 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
8108 $as_echo "yes" >&6; }
8109 QUICKTIME_LIBS
="-framework QuickTime -framework ApplicationServices -framework CoreVideo"
8111 enable_wineqtdecoder
=${enable_wineqtdecoder:-yes}
8113 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8114 $as_echo "no" >&6; }
8115 ac_cv_header_QuickTime_ImageCompression_h
=no
8117 rm -f core conftest.err conftest.
$ac_objext \
8118 conftest
$ac_exeext conftest.
$ac_ext
8119 LIBS
="$ac_save_LIBS"
8121 if test "$ac_cv_header_QuickTime_ImageCompression_h" != "yes"
8123 as_fn_append wine_notices
"|QuickTime ${notice_platform}development files not found, video decoding won't be supported."
8125 if test "$ac_cv_header_Carbon_Carbon_h" = "yes"
8127 CARBON_LIBS
="-framework Carbon"
8131 if test "$ac_cv_header_ApplicationServices_ApplicationServices_h" = "yes"
8133 ac_save_LIBS
="$LIBS"
8134 LIBS
="$LIBS $APPLICATIONSERVICES_LIBS"
8135 ac_fn_c_check_func
"$LINENO" "CGDisplayModeGetWidth" "ac_cv_func_CGDisplayModeGetWidth"
8136 if test "x$ac_cv_func_CGDisplayModeGetWidth" = xyes
; then :
8137 enable_winemac_drv
=${enable_winemac_drv:-yes}
8140 LIBS
="$ac_save_LIBS"
8143 if test "x$enable_win16" = "xyes"
8145 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether 16-bit code can be built correctly" >&5
8146 $as_echo_n "checking whether 16-bit code can be built correctly... " >&6; }
8147 if test "$cross_compiling" = yes; then :
8148 { $as_echo "$as_me:${as_lineno-$LINENO}: result: cross-compiling, assuming yes" >&5
8149 $as_echo "cross-compiling, assuming yes" >&6; }
8151 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8152 /* end confdefs.h. */
8155 "good:\tnop;nop\n\t"
8156 ".globl _testfunc\n"
8157 "_testfunc:\tcallw good");
8158 extern void testfunc();
8162 unsigned short *p = (unsigned short *)testfunc;
8163 return p[0] != 0xe866 || p[1] != 0xfffa
8168 if ac_fn_c_try_run
"$LINENO"; then :
8169 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
8170 $as_echo "yes" >&6; }
8172 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8173 $as_echo "no" >&6; }
8174 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
8176 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext \
8177 conftest.
$ac_objext conftest.beam conftest.
$ac_ext
8182 libwine_targets
="libwine.dylib libwine.$libwine_soversion.dylib libwine.$libwine_version.dylib"
8184 OBJS = \$(C_SRCS:.c=.o) \$(EXTRA_OBJS)
8188 libwine.$libwine_version.dylib: \$(OBJS)
8189 \$(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 \$@
8191 libwine.$libwine_soversion.dylib: libwine.$libwine_version.dylib
8192 \$(RM) \$@ && \$(LN_S) libwine.$libwine_version.dylib \$@
8194 libwine.dylib: libwine.$libwine_soversion.dylib
8195 \$(RM) \$@ && \$(LN_S) libwine.$libwine_soversion.dylib \$@
8197 install install-lib:: libwine.$libwine_version.dylib
8198 \$(INSTALL_PROGRAM) libwine.$libwine_version.dylib \$(DESTDIR)\$(libdir)/libwine.$libwine_version.dylib
8199 cd \$(DESTDIR)\$(libdir) && \$(RM) libwine.$libwine_soversion.dylib && \$(LN_S) libwine.$libwine_version.dylib libwine.$libwine_soversion.dylib
8201 install install-dev::
8202 cd \$(DESTDIR)\$(libdir) && \$(RM) libwine.dylib && \$(LN_S) libwine.$libwine_version.dylib libwine.dylib
8205 -cd \$(DESTDIR)\$(libdir) && \$(RM) libwine.dylib libwine.$libwine_soversion.dylib libwine.$libwine_version.dylib
8209 as_fn_append LOADER_RULES
"
8210 $wine_binary: main.o wine_info.plist
8211 \$(CC) -o \$@ $LDEXECFLAGS main.o \$(LIBWINE) \$(LIBPORT) \$(EXTRALIBS) \$(LDFLAGS) \$(LDRPATH_LOCAL)
8213 wine-installed: main.o wine_info.plist
8214 \$(CC) -o \$@ $LDEXECFLAGS main.o \$(LIBWINE) \$(LIBPORT) \$(EXTRALIBS) \$(LDFLAGS) \$(LDRPATH_INSTALL)
8219 DLLFLAGS
="$DLLFLAGS -fPIC"
8223 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -Wl,--export-dynamic" >&5
8224 $as_echo_n "checking whether the compiler supports -fPIC -Wl,--export-dynamic... " >&6; }
8225 if ${ac_cv_cflags__fPIC__Wl___export_dynamic+:} false
; then :
8226 $as_echo_n "(cached) " >&6
8228 ac_wine_try_cflags_saved
=$CFLAGS
8229 CFLAGS
="$CFLAGS -fPIC -Wl,--export-dynamic"
8230 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8231 /* end confdefs.h. */
8232 int main(int argc, char **argv) { return 0; }
8234 if ac_fn_c_try_link
"$LINENO"; then :
8235 ac_cv_cflags__fPIC__Wl___export_dynamic
=yes
8237 ac_cv_cflags__fPIC__Wl___export_dynamic
=no
8239 rm -f core conftest.err conftest.
$ac_objext \
8240 conftest
$ac_exeext conftest.
$ac_ext
8241 CFLAGS
=$ac_wine_try_cflags_saved
8243 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fPIC__Wl___export_dynamic" >&5
8244 $as_echo "$ac_cv_cflags__fPIC__Wl___export_dynamic" >&6; }
8245 if test "x$ac_cv_cflags__fPIC__Wl___export_dynamic" = xyes
; then :
8246 LDEXECFLAGS
="-Wl,--export-dynamic"
8248 as_ac_var
=`$as_echo "ac_cv_cflags_-fPIC -Wl,--rpath,\\$ORIGIN/../lib" | $as_tr_sh`
8249 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -Wl,--rpath,\$ORIGIN/../lib" >&5
8250 $as_echo_n "checking whether the compiler supports -fPIC -Wl,--rpath,\$ORIGIN/../lib... " >&6; }
8251 if eval \
${$as_ac_var+:} false
; then :
8252 $as_echo_n "(cached) " >&6
8254 ac_wine_try_cflags_saved
=$CFLAGS
8255 CFLAGS
="$CFLAGS -fPIC -Wl,--rpath,\$ORIGIN/../lib"
8256 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8257 /* end confdefs.h. */
8258 int main(int argc, char **argv) { return 0; }
8260 if ac_fn_c_try_link
"$LINENO"; then :
8261 eval "$as_ac_var=yes"
8263 eval "$as_ac_var=no"
8265 rm -f core conftest.err conftest.
$ac_objext \
8266 conftest
$ac_exeext conftest.
$ac_ext
8267 CFLAGS
=$ac_wine_try_cflags_saved
8269 eval ac_res
=\$
$as_ac_var
8270 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
8271 $as_echo "$ac_res" >&6; }
8272 if eval test \"x\$
"$as_ac_var"\" = x
"yes"; then :
8273 LDRPATH_INSTALL
="-Wl,--rpath,\\\$\$ORIGIN/\`\$(MAKEDEP) -R \$(bindir) \$(libdir)\`"
8274 LDRPATH_LOCAL
="-Wl,--rpath,\\\$\$ORIGIN/\$(top_builddir)/libs/wine"
8276 as_ac_var
=`$as_echo "ac_cv_cflags_-fPIC -Wl,-R,\\$ORIGIN/../lib" | $as_tr_sh`
8277 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -Wl,-R,\$ORIGIN/../lib" >&5
8278 $as_echo_n "checking whether the compiler supports -fPIC -Wl,-R,\$ORIGIN/../lib... " >&6; }
8279 if eval \
${$as_ac_var+:} false
; then :
8280 $as_echo_n "(cached) " >&6
8282 ac_wine_try_cflags_saved
=$CFLAGS
8283 CFLAGS
="$CFLAGS -fPIC -Wl,-R,\$ORIGIN/../lib"
8284 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8285 /* end confdefs.h. */
8286 int main(int argc, char **argv) { return 0; }
8288 if ac_fn_c_try_link
"$LINENO"; then :
8289 eval "$as_ac_var=yes"
8291 eval "$as_ac_var=no"
8293 rm -f core conftest.err conftest.
$ac_objext \
8294 conftest
$ac_exeext conftest.
$ac_ext
8295 CFLAGS
=$ac_wine_try_cflags_saved
8297 eval ac_res
=\$
$as_ac_var
8298 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
8299 $as_echo "$ac_res" >&6; }
8300 if eval test \"x\$
"$as_ac_var"\" = x
"yes"; then :
8301 LDRPATH_INSTALL
="-Wl,-R,\\\$\$ORIGIN/\`\$(MAKEDEP) -R \$(bindir) \$(libdir)\`"
8302 LDRPATH_LOCAL
="-Wl,-R,\\\$\$ORIGIN/\$(top_builddir)/libs/wine"
8306 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,--enable-new-dtags" >&5
8307 $as_echo_n "checking whether the compiler supports -Wl,--enable-new-dtags... " >&6; }
8308 if ${ac_cv_cflags__Wl___enable_new_dtags+:} false
; then :
8309 $as_echo_n "(cached) " >&6
8311 ac_wine_try_cflags_saved
=$CFLAGS
8312 CFLAGS
="$CFLAGS -Wl,--enable-new-dtags"
8313 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8314 /* end confdefs.h. */
8315 int main(int argc, char **argv) { return 0; }
8317 if ac_fn_c_try_link
"$LINENO"; then :
8318 ac_cv_cflags__Wl___enable_new_dtags
=yes
8320 ac_cv_cflags__Wl___enable_new_dtags
=no
8322 rm -f core conftest.err conftest.
$ac_objext \
8323 conftest
$ac_exeext conftest.
$ac_ext
8324 CFLAGS
=$ac_wine_try_cflags_saved
8326 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl___enable_new_dtags" >&5
8327 $as_echo "$ac_cv_cflags__Wl___enable_new_dtags" >&6; }
8328 if test "x$ac_cv_cflags__Wl___enable_new_dtags" = xyes
; then :
8329 LDRPATH_INSTALL
="$LDRPATH_INSTALL -Wl,--enable-new-dtags"
8333 *i
[3456789]86* | x86_64
)
8334 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,--section-start,.interp=0x7bf00400" >&5
8335 $as_echo_n "checking whether the compiler supports -Wl,--section-start,.interp=0x7bf00400... " >&6; }
8336 if ${ac_cv_cflags__Wl___section_start__interp_0x7bf00400+:} false
; then :
8337 $as_echo_n "(cached) " >&6
8339 ac_wine_try_cflags_saved
=$CFLAGS
8340 CFLAGS
="$CFLAGS -Wl,--section-start,.interp=0x7bf00400"
8341 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8342 /* end confdefs.h. */
8343 int main(int argc, char **argv) { return 0; }
8345 if ac_fn_c_try_link
"$LINENO"; then :
8346 ac_cv_cflags__Wl___section_start__interp_0x7bf00400
=yes
8348 ac_cv_cflags__Wl___section_start__interp_0x7bf00400
=no
8350 rm -f core conftest.err conftest.
$ac_objext \
8351 conftest
$ac_exeext conftest.
$ac_ext
8352 CFLAGS
=$ac_wine_try_cflags_saved
8354 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl___section_start__interp_0x7bf00400" >&5
8355 $as_echo "$ac_cv_cflags__Wl___section_start__interp_0x7bf00400" >&6; }
8356 if test "x$ac_cv_cflags__Wl___section_start__interp_0x7bf00400" = xyes
; then :
8357 LDEXECFLAGS
="$LDEXECFLAGS -Wl,--section-start,.interp=0x7bf00400"
8362 libwine_targets
="libwine.so"
8364 OBJS = \$(C_SRCS:.c=.o) \$(EXTRA_OBJS)
8368 libwine.so: \$(OBJS)
8369 \$(CC) -shared \$(OBJS) \$(EXTRALIBS) \$(LDFLAGS) \$(LIBS) -o \$@
8371 install install-lib:: libwine.so
8372 \$(INSTALL_PROGRAM) libwine.so \$(DESTDIR)\$(libdir)/libwine.so
8375 \$(RM) \$(DESTDIR)\$(libdir)/libwine.so
8379 as_fn_append LOADER_RULES
"
8380 $wine_binary: main.o
8381 \$(CC) -o \$@ $LDEXECFLAGS main.o \$(LIBWINE) \$(LIBPORT) \$(EXTRALIBS) \$(LDFLAGS) \$(LDRPATH_LOCAL)
8383 wine-installed: main.o
8384 \$(CC) -o \$@ $LDEXECFLAGS main.o \$(LIBWINE) \$(LIBPORT) \$(EXTRALIBS) \$(LDFLAGS) \$(LDRPATH_INSTALL)
8389 DLLFLAGS
="$DLLFLAGS -fPIC"
8391 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we can build a GNU style ELF dll" >&5
8392 $as_echo_n "checking whether we can build a GNU style ELF dll... " >&6; }
8393 if ${ac_cv_c_dll_gnuelf+:} false
; then :
8394 $as_echo_n "(cached) " >&6
8396 ac_wine_try_cflags_saved
=$CFLAGS
8397 CFLAGS
="$CFLAGS -fPIC -shared -Wl,-Bsymbolic"
8398 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8399 /* end confdefs.h. */
8402 if ac_fn_c_try_link
"$LINENO"; then :
8403 ac_cv_c_dll_gnuelf
="yes"
8405 ac_cv_c_dll_gnuelf
="no"
8407 rm -f core conftest.err conftest.
$ac_objext \
8408 conftest
$ac_exeext conftest.
$ac_ext
8409 CFLAGS
=$ac_wine_try_cflags_saved
8411 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_dll_gnuelf" >&5
8412 $as_echo "$ac_cv_c_dll_gnuelf" >&6; }
8413 if test "$ac_cv_c_dll_gnuelf" = "yes"
8415 LDSHARED
="\$(CC) -shared"
8416 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -shared -Wl,-soname,confest.so.1" >&5
8417 $as_echo_n "checking whether the compiler supports -fPIC -shared -Wl,-soname,confest.so.1... " >&6; }
8418 if ${ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1+:} false
; then :
8419 $as_echo_n "(cached) " >&6
8421 ac_wine_try_cflags_saved
=$CFLAGS
8422 CFLAGS
="$CFLAGS -fPIC -shared -Wl,-soname,confest.so.1"
8423 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8424 /* end confdefs.h. */
8425 int main(int argc, char **argv) { return 0; }
8427 if ac_fn_c_try_link
"$LINENO"; then :
8428 ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1
=yes
8430 ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1
=no
8432 rm -f core conftest.err conftest.
$ac_objext \
8433 conftest
$ac_exeext conftest.
$ac_ext
8434 CFLAGS
=$ac_wine_try_cflags_saved
8436 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1" >&5
8437 $as_echo "$ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1" >&6; }
8438 if test "x$ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1" = xyes
; then :
8439 LDSHARED
="\$(CC) -shared -Wl,-soname,libwine.so.$libwine_soversion"
8441 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -shared -Wl,-h,confest.so.1" >&5
8442 $as_echo_n "checking whether the compiler supports -fPIC -shared -Wl,-h,confest.so.1... " >&6; }
8443 if ${ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1+:} false
; then :
8444 $as_echo_n "(cached) " >&6
8446 ac_wine_try_cflags_saved
=$CFLAGS
8447 CFLAGS
="$CFLAGS -fPIC -shared -Wl,-h,confest.so.1"
8448 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8449 /* end confdefs.h. */
8450 int main(int argc, char **argv) { return 0; }
8452 if ac_fn_c_try_link
"$LINENO"; then :
8453 ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1
=yes
8455 ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1
=no
8457 rm -f core conftest.err conftest.
$ac_objext \
8458 conftest
$ac_exeext conftest.
$ac_ext
8459 CFLAGS
=$ac_wine_try_cflags_saved
8461 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1" >&5
8462 $as_echo "$ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1" >&6; }
8463 if test "x$ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1" = xyes
; then :
8464 LDSHARED
="\$(CC) -shared -Wl,-h,libwine.so.$libwine_soversion"
8468 echo '{ global: *; };' >conftest.map
8469 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -shared -Wl,--version-script=conftest.map" >&5
8470 $as_echo_n "checking whether the compiler supports -fPIC -shared -Wl,--version-script=conftest.map... " >&6; }
8471 if ${ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map+:} false
; then :
8472 $as_echo_n "(cached) " >&6
8474 ac_wine_try_cflags_saved
=$CFLAGS
8475 CFLAGS
="$CFLAGS -fPIC -shared -Wl,--version-script=conftest.map"
8476 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8477 /* end confdefs.h. */
8478 int main(int argc, char **argv) { return 0; }
8480 if ac_fn_c_try_link
"$LINENO"; then :
8481 ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map
=yes
8483 ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map
=no
8485 rm -f core conftest.err conftest.
$ac_objext \
8486 conftest
$ac_exeext conftest.
$ac_ext
8487 CFLAGS
=$ac_wine_try_cflags_saved
8489 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map" >&5
8490 $as_echo "$ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map" >&6; }
8491 if test "x$ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map" = xyes
; then :
8492 LDSHARED
="$LDSHARED -Wl,--version-script=\$(srcdir)/wine.map"
8496 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -Wl,--export-dynamic" >&5
8497 $as_echo_n "checking whether the compiler supports -fPIC -Wl,--export-dynamic... " >&6; }
8498 if ${ac_cv_cflags__fPIC__Wl___export_dynamic+:} false
; then :
8499 $as_echo_n "(cached) " >&6
8501 ac_wine_try_cflags_saved
=$CFLAGS
8502 CFLAGS
="$CFLAGS -fPIC -Wl,--export-dynamic"
8503 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8504 /* end confdefs.h. */
8505 int main(int argc, char **argv) { return 0; }
8507 if ac_fn_c_try_link
"$LINENO"; then :
8508 ac_cv_cflags__fPIC__Wl___export_dynamic
=yes
8510 ac_cv_cflags__fPIC__Wl___export_dynamic
=no
8512 rm -f core conftest.err conftest.
$ac_objext \
8513 conftest
$ac_exeext conftest.
$ac_ext
8514 CFLAGS
=$ac_wine_try_cflags_saved
8516 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fPIC__Wl___export_dynamic" >&5
8517 $as_echo "$ac_cv_cflags__fPIC__Wl___export_dynamic" >&6; }
8518 if test "x$ac_cv_cflags__fPIC__Wl___export_dynamic" = xyes
; then :
8519 LDEXECFLAGS
="-Wl,--export-dynamic"
8522 as_ac_var
=`$as_echo "ac_cv_cflags_-fPIC -Wl,--rpath,\\$ORIGIN/../lib" | $as_tr_sh`
8523 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -Wl,--rpath,\$ORIGIN/../lib" >&5
8524 $as_echo_n "checking whether the compiler supports -fPIC -Wl,--rpath,\$ORIGIN/../lib... " >&6; }
8525 if eval \
${$as_ac_var+:} false
; then :
8526 $as_echo_n "(cached) " >&6
8528 ac_wine_try_cflags_saved
=$CFLAGS
8529 CFLAGS
="$CFLAGS -fPIC -Wl,--rpath,\$ORIGIN/../lib"
8530 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8531 /* end confdefs.h. */
8532 int main(int argc, char **argv) { return 0; }
8534 if ac_fn_c_try_link
"$LINENO"; then :
8535 eval "$as_ac_var=yes"
8537 eval "$as_ac_var=no"
8539 rm -f core conftest.err conftest.
$ac_objext \
8540 conftest
$ac_exeext conftest.
$ac_ext
8541 CFLAGS
=$ac_wine_try_cflags_saved
8543 eval ac_res
=\$
$as_ac_var
8544 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
8545 $as_echo "$ac_res" >&6; }
8546 if eval test \"x\$
"$as_ac_var"\" = x
"yes"; then :
8547 LDRPATH_INSTALL
="-Wl,--rpath,\\\$\$ORIGIN/\`\$(MAKEDEP) -R \$(bindir) \$(libdir)\`"
8548 LDRPATH_LOCAL
="-Wl,--rpath,\\\$\$ORIGIN/\$(top_builddir)/libs/wine"
8550 as_ac_var
=`$as_echo "ac_cv_cflags_-fPIC -Wl,-R,\\$ORIGIN/../lib" | $as_tr_sh`
8551 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -Wl,-R,\$ORIGIN/../lib" >&5
8552 $as_echo_n "checking whether the compiler supports -fPIC -Wl,-R,\$ORIGIN/../lib... " >&6; }
8553 if eval \
${$as_ac_var+:} false
; then :
8554 $as_echo_n "(cached) " >&6
8556 ac_wine_try_cflags_saved
=$CFLAGS
8557 CFLAGS
="$CFLAGS -fPIC -Wl,-R,\$ORIGIN/../lib"
8558 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8559 /* end confdefs.h. */
8560 int main(int argc, char **argv) { return 0; }
8562 if ac_fn_c_try_link
"$LINENO"; then :
8563 eval "$as_ac_var=yes"
8565 eval "$as_ac_var=no"
8567 rm -f core conftest.err conftest.
$ac_objext \
8568 conftest
$ac_exeext conftest.
$ac_ext
8569 CFLAGS
=$ac_wine_try_cflags_saved
8571 eval ac_res
=\$
$as_ac_var
8572 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
8573 $as_echo "$ac_res" >&6; }
8574 if eval test \"x\$
"$as_ac_var"\" = x
"yes"; then :
8575 LDRPATH_INSTALL
="-Wl,-R,\\\$\$ORIGIN/\`\$(MAKEDEP) -R \$(bindir) \$(libdir)\`"
8576 LDRPATH_LOCAL
="-Wl,-R,\\\$\$ORIGIN/\$(top_builddir)/libs/wine"
8580 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,--enable-new-dtags" >&5
8581 $as_echo_n "checking whether the compiler supports -Wl,--enable-new-dtags... " >&6; }
8582 if ${ac_cv_cflags__Wl___enable_new_dtags+:} false
; then :
8583 $as_echo_n "(cached) " >&6
8585 ac_wine_try_cflags_saved
=$CFLAGS
8586 CFLAGS
="$CFLAGS -Wl,--enable-new-dtags"
8587 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8588 /* end confdefs.h. */
8589 int main(int argc, char **argv) { return 0; }
8591 if ac_fn_c_try_link
"$LINENO"; then :
8592 ac_cv_cflags__Wl___enable_new_dtags
=yes
8594 ac_cv_cflags__Wl___enable_new_dtags
=no
8596 rm -f core conftest.err conftest.
$ac_objext \
8597 conftest
$ac_exeext conftest.
$ac_ext
8598 CFLAGS
=$ac_wine_try_cflags_saved
8600 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl___enable_new_dtags" >&5
8601 $as_echo "$ac_cv_cflags__Wl___enable_new_dtags" >&6; }
8602 if test "x$ac_cv_cflags__Wl___enable_new_dtags" = xyes
; then :
8603 LDRPATH_INSTALL
="$LDRPATH_INSTALL -Wl,--enable-new-dtags"
8607 *i
[3456789]86* | x86_64
)
8608 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,--section-start,.interp=0x7bf00400" >&5
8609 $as_echo_n "checking whether the compiler supports -Wl,--section-start,.interp=0x7bf00400... " >&6; }
8610 if ${ac_cv_cflags__Wl___section_start__interp_0x7bf00400+:} false
; then :
8611 $as_echo_n "(cached) " >&6
8613 ac_wine_try_cflags_saved
=$CFLAGS
8614 CFLAGS
="$CFLAGS -Wl,--section-start,.interp=0x7bf00400"
8615 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8616 /* end confdefs.h. */
8617 int main(int argc, char **argv) { return 0; }
8619 if ac_fn_c_try_link
"$LINENO"; then :
8620 ac_cv_cflags__Wl___section_start__interp_0x7bf00400
=yes
8622 ac_cv_cflags__Wl___section_start__interp_0x7bf00400
=no
8624 rm -f core conftest.err conftest.
$ac_objext \
8625 conftest
$ac_exeext conftest.
$ac_ext
8626 CFLAGS
=$ac_wine_try_cflags_saved
8628 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl___section_start__interp_0x7bf00400" >&5
8629 $as_echo "$ac_cv_cflags__Wl___section_start__interp_0x7bf00400" >&6; }
8630 if test "x$ac_cv_cflags__Wl___section_start__interp_0x7bf00400" = xyes
; then :
8632 freebsd
* | kfreebsd
*-gnu) LDEXECFLAGS
="$LDEXECFLAGS -Wl,--section-start,.interp=0x60000400" ;;
8633 *) LDEXECFLAGS
="$LDEXECFLAGS -Wl,--section-start,.interp=0x7bf00400" ;;
8637 # Extract the first word of "prelink", so it can be a program name with args.
8638 set dummy prelink
; ac_word
=$2
8639 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8640 $as_echo_n "checking for $ac_word... " >&6; }
8641 if ${ac_cv_path_PRELINK+:} false
; then :
8642 $as_echo_n "(cached) " >&6
8646 ac_cv_path_PRELINK
="$PRELINK" # Let the user override the test with a path.
8649 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
8650 for as_dir
in /sbin
/usr
/sbin
$PATH
8653 test -z "$as_dir" && as_dir
=.
8654 for ac_exec_ext
in '' $ac_executable_extensions; do
8655 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
8656 ac_cv_path_PRELINK
="$as_dir/$ac_word$ac_exec_ext"
8657 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8664 test -z "$ac_cv_path_PRELINK" && ac_cv_path_PRELINK
="false"
8668 PRELINK
=$ac_cv_path_PRELINK
8669 if test -n "$PRELINK"; then
8670 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PRELINK" >&5
8671 $as_echo "$PRELINK" >&6; }
8673 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8674 $as_echo "no" >&6; }
8678 if test "x$PRELINK" = xfalse
8680 as_fn_append wine_warnings
"|prelink not found, base address of core dlls won't be set correctly."
8686 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we can build a UnixWare (Solaris) dll" >&5
8687 $as_echo_n "checking whether we can build a UnixWare (Solaris) dll... " >&6; }
8688 if ${ac_cv_c_dll_unixware+:} false
; then :
8689 $as_echo_n "(cached) " >&6
8691 ac_wine_try_cflags_saved
=$CFLAGS
8692 CFLAGS
="$CFLAGS -fPIC -Wl,-G,-h,conftest.so.1.0,-B,symbolic"
8693 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8694 /* end confdefs.h. */
8697 if ac_fn_c_try_link
"$LINENO"; then :
8698 ac_cv_c_dll_unixware
="yes"
8700 ac_cv_c_dll_unixware
="no"
8702 rm -f core conftest.err conftest.
$ac_objext \
8703 conftest
$ac_exeext conftest.
$ac_ext
8704 CFLAGS
=$ac_wine_try_cflags_saved
8706 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_dll_unixware" >&5
8707 $as_echo "$ac_cv_c_dll_unixware" >&6; }
8708 if test "$ac_cv_c_dll_unixware" = "yes"
8710 LDSHARED
="\$(CC) -Wl,-G,-h,libwine.so.$libwine_soversion"
8713 libwine_targets
="libwine.so libwine.so.$libwine_soversion libwine.so.$libwine_version"
8715 OBJS = \$(C_SRCS:.c=.o) \$(EXTRA_OBJS)
8719 libwine.so.$libwine_version: \$(OBJS) \$(srcdir)/wine.map
8720 $LDSHARED \$(OBJS) \$(EXTRALIBS) \$(LDFLAGS) \$(LIBS) -o \$@
8722 libwine.so.$libwine_soversion: libwine.so.$libwine_version
8723 \$(RM) \$@ && \$(LN_S) libwine.so.$libwine_version \$@
8725 libwine.so: libwine.so.$libwine_soversion
8726 \$(RM) \$@ && \$(LN_S) libwine.so.$libwine_soversion \$@
8728 install install-lib:: libwine.so.$libwine_version
8729 \$(INSTALL_PROGRAM) libwine.so.$libwine_version \$(DESTDIR)\$(libdir)/libwine.so.$libwine_version
8730 cd \$(DESTDIR)\$(libdir) && \$(RM) libwine.so.$libwine_soversion && \$(LN_S) libwine.so.$libwine_version libwine.so.$libwine_soversion
8732 install install-dev::
8733 cd \$(DESTDIR)\$(libdir) && \$(RM) libwine.so && \$(LN_S) libwine.so.$libwine_version libwine.so
8736 -cd \$(DESTDIR)\$(libdir) && \$(RM) libwine.so libwine.so.$libwine_soversion libwine.so.$libwine_version
8740 as_fn_append LOADER_RULES
"
8741 $wine_binary: main.o
8742 \$(CC) -o \$@ $LDEXECFLAGS main.o \$(LIBWINE) \$(LIBPORT) \$(EXTRALIBS) \$(LDFLAGS) \$(LDRPATH_LOCAL)
8744 wine-installed: main.o
8745 \$(CC) -o \$@ $LDEXECFLAGS main.o \$(LIBWINE) \$(LIBPORT) \$(EXTRALIBS) \$(LDFLAGS) \$(LDRPATH_INSTALL)
8750 as_fn_append LIBWINE_RULES
"
8751 EXTRA_TARGETS = $libwine_targets
8754 enable_wineqtdecoder
=${enable_wineqtdecoder:-no}
8755 enable_winemac_drv
=${enable_winemac_drv:-no}
8759 if test "$cross_compiling" = "no" -a "x$enable_tests" != xno
-a "$LIBEXT" != "dll"
8763 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
8766 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 " ;;
8768 ac_prefix_list
="" ;;
8770 for ac_prog
in $ac_prefix_list
8772 # Extract the first word of "$ac_prog", so it can be a program name with args.
8773 set dummy
$ac_prog; ac_word
=$2
8774 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8775 $as_echo_n "checking for $ac_word... " >&6; }
8776 if ${ac_cv_prog_CROSSCC+:} false
; then :
8777 $as_echo_n "(cached) " >&6
8779 if test -n "$CROSSCC"; then
8780 ac_cv_prog_CROSSCC
="$CROSSCC" # Let the user override the test.
8782 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
8786 test -z "$as_dir" && as_dir
=.
8787 for ac_exec_ext
in '' $ac_executable_extensions; do
8788 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
8789 ac_cv_prog_CROSSCC
="$ac_prog"
8790 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8799 CROSSCC
=$ac_cv_prog_CROSSCC
8800 if test -n "$CROSSCC"; then
8801 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CROSSCC" >&5
8802 $as_echo "$CROSSCC" >&6; }
8804 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8805 $as_echo "no" >&6; }
8809 test -n "$CROSSCC" && break
8811 test -n "$CROSSCC" || CROSSCC
="false"
8813 if test "$CROSSCC" != "false"
8817 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CROSSCC works" >&5
8818 $as_echo_n "checking whether $CROSSCC works... " >&6; }
8819 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8820 /* end confdefs.h. */
8830 if ac_fn_c_try_compile
"$LINENO"; then :
8831 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
8832 $as_echo "yes" >&6; }
8838 *-gcc) CROSSTARGET
=`expr "$1" : '\(.*\)-gcc'` ;;
8843 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8844 $as_echo "no" >&6; }
8846 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
8852 if test "$ac_cv_header_pthread_h" = "yes"
8854 ac_fn_c_check_func
"$LINENO" "pthread_create" "ac_cv_func_pthread_create"
8855 if test "x$ac_cv_func_pthread_create" = xyes
; then :
8858 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pthread_create in -lpthread" >&5
8859 $as_echo_n "checking for pthread_create in -lpthread... " >&6; }
8860 if ${ac_cv_lib_pthread_pthread_create+:} false
; then :
8861 $as_echo_n "(cached) " >&6
8863 ac_check_lib_save_LIBS
=$LIBS
8864 LIBS
="-lpthread $LIBS"
8865 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8866 /* end confdefs.h. */
8868 /* Override any GCC internal prototype to avoid an error.
8869 Use char because int might match the return type of a GCC
8870 builtin and then its argument prototype would still apply. */
8874 char pthread_create ();
8878 return pthread_create ();
8883 if ac_fn_c_try_link
"$LINENO"; then :
8884 ac_cv_lib_pthread_pthread_create
=yes
8886 ac_cv_lib_pthread_pthread_create
=no
8888 rm -f core conftest.err conftest.
$ac_objext \
8889 conftest
$ac_exeext conftest.
$ac_ext
8890 LIBS
=$ac_check_lib_save_LIBS
8892 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_pthread_pthread_create" >&5
8893 $as_echo "$ac_cv_lib_pthread_pthread_create" >&6; }
8894 if test "x$ac_cv_lib_pthread_pthread_create" = xyes
; then :
8895 PTHREAD_LIBS
="-lpthread"
8902 if test "x$ac_cv_func_pthread_create" != xyes
-a "x$PTHREAD_LIBS" = x
; then :
8903 case "x$with_pthread" in
8905 *) as_fn_error $?
"pthread ${notice_platform}development files not found.
8906 Wine cannot support threads without libpthread.
8907 Use the --without-pthread option if you really want this." "$LINENO" 5 ;;
8912 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for X" >&5
8913 $as_echo_n "checking for X... " >&6; }
8916 # Check whether --with-x was given.
8917 if test "${with_x+set}" = set; then :
8921 # $have_x is `yes', `no', `disabled', or empty when we do not yet know.
8922 if test "x$with_x" = xno
; then
8923 # The user explicitly disabled X.
8926 case $x_includes,$x_libraries in #(
8927 *\'*) as_fn_error $?
"cannot use X directory names containing '" "$LINENO" 5;; #(
8928 *,NONE | NONE
,*) if ${ac_cv_have_x+:} false
; then :
8929 $as_echo_n "(cached) " >&6
8931 # One or both of the vars are not set, and there is no cached value.
8932 ac_x_includes
=no ac_x_libraries
=no
8933 rm -f -r conftest.dir
8934 if mkdir conftest.dir
; then
8936 cat >Imakefile
<<'_ACEOF'
8938 @echo incroot='${INCROOT}'
8940 @echo usrlibdir='${USRLIBDIR}'
8942 @echo libdir='${LIBDIR}'
8944 if (export CC
; ${XMKMF-xmkmf}) >/dev
/null
2>/dev
/null
&& test -f Makefile
; then
8945 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
8946 for ac_var
in incroot usrlibdir libdir
; do
8947 eval "ac_im_$ac_var=\`\${MAKE-make} $ac_var 2>/dev/null | sed -n 's/^$ac_var=//p'\`"
8949 # Open Windows xmkmf reportedly sets LIBDIR instead of USRLIBDIR.
8950 for ac_extension
in a so sl dylib la dll
; do
8951 if test ! -f "$ac_im_usrlibdir/libX11.$ac_extension" &&
8952 test -f "$ac_im_libdir/libX11.$ac_extension"; then
8953 ac_im_usrlibdir
=$ac_im_libdir; break
8956 # Screen out bogus values from the imake configuration. They are
8957 # bogus both because they are the default anyway, and because
8958 # using them would break gcc on systems where it needs fixed includes.
8959 case $ac_im_incroot in
8960 /usr
/include
) ac_x_includes
= ;;
8961 *) test -f "$ac_im_incroot/X11/Xos.h" && ac_x_includes
=$ac_im_incroot;;
8963 case $ac_im_usrlibdir in
8964 /usr
/lib |
/usr
/lib64 |
/lib |
/lib64
) ;;
8965 *) test -d "$ac_im_usrlibdir" && ac_x_libraries
=$ac_im_usrlibdir ;;
8969 rm -f -r conftest.dir
8972 # Standard set of common directories for X headers.
8973 # Check X11 before X11Rn because it is often a symlink to the current release.
8987 /usr/local/X11/include
8988 /usr/local/X11R7/include
8989 /usr/local/X11R6/include
8990 /usr/local/X11R5/include
8991 /usr/local/X11R4/include
8993 /usr/local/include/X11
8994 /usr/local/include/X11R7
8995 /usr/local/include/X11R6
8996 /usr/local/include/X11R5
8997 /usr/local/include/X11R4
9001 /usr/XFree86/include/X11
9005 /usr/unsupported/include
9007 /usr/local/x11r5/include
9008 /usr/lpp/Xamples/include
9010 /usr/openwin/include
9011 /usr/openwin/share/include'
9013 if test "$ac_x_includes" = no
; then
9014 # Guess where to find include files, by looking for Xlib.h.
9015 # First, try using that file with no special directory specified.
9016 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9017 /* end confdefs.h. */
9018 #include <X11/Xlib.h>
9020 if ac_fn_c_try_cpp
"$LINENO"; then :
9021 # We can compile using X headers with no special include directory.
9024 for ac_dir
in $ac_x_header_dirs; do
9025 if test -r "$ac_dir/X11/Xlib.h"; then
9026 ac_x_includes
=$ac_dir
9031 rm -f conftest.err conftest.i conftest.
$ac_ext
9032 fi # $ac_x_includes = no
9034 if test "$ac_x_libraries" = no
; then
9035 # Check for the libraries.
9036 # See if we find them without any special options.
9037 # Don't add to $LIBS permanently.
9040 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9041 /* end confdefs.h. */
9042 #include <X11/Xlib.h>
9051 if ac_fn_c_try_link
"$LINENO"; then :
9053 # We can link X programs with no special library path.
9057 for ac_dir
in `$as_echo "$ac_x_includes $ac_x_header_dirs" | sed s/include/lib/g`
9059 # Don't even attempt the hair of trying to link an X program!
9060 for ac_extension
in a so sl dylib la dll
; do
9061 if test -r "$ac_dir/libX11.$ac_extension"; then
9062 ac_x_libraries
=$ac_dir
9068 rm -f core conftest.err conftest.
$ac_objext \
9069 conftest
$ac_exeext conftest.
$ac_ext
9070 fi # $ac_x_libraries = no
9072 case $ac_x_includes,$ac_x_libraries in #(
9074 # Didn't find X, or a directory has "'" in its name.
9075 ac_cv_have_x
="have_x=no";; #(
9077 # Record where we found X for the cache.
9078 ac_cv_have_x
="have_x=yes\
9079 ac_x_includes='$ac_x_includes'\
9080 ac_x_libraries='$ac_x_libraries'"
9086 eval "$ac_cv_have_x"
9089 if test "$have_x" != yes; then
9090 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $have_x" >&5
9091 $as_echo "$have_x" >&6; }
9094 # If each of the values was on the command line, it overrides each guess.
9095 test "x$x_includes" = xNONE
&& x_includes
=$ac_x_includes
9096 test "x$x_libraries" = xNONE
&& x_libraries
=$ac_x_libraries
9097 # Update the cache value to reflect the command line values.
9098 ac_cv_have_x
="have_x=yes\
9099 ac_x_includes='$x_includes'\
9100 ac_x_libraries='$x_libraries'"
9101 { $as_echo "$as_me:${as_lineno-$LINENO}: result: libraries $x_libraries, headers $x_includes" >&5
9102 $as_echo "libraries $x_libraries, headers $x_includes" >&6; }
9105 if test "$no_x" = yes; then
9106 # Not all programs may use this symbol, but it does not hurt to define it.
9108 $as_echo "#define X_DISPLAY_MISSING 1" >>confdefs.h
9110 X_CFLAGS
= X_PRE_LIBS
= X_LIBS
= X_EXTRA_LIBS
=
9112 if test -n "$x_includes"; then
9113 X_CFLAGS
="$X_CFLAGS -I$x_includes"
9116 # It would also be nice to do this for all -L options, not just this one.
9117 if test -n "$x_libraries"; then
9118 X_LIBS
="$X_LIBS -L$x_libraries"
9119 # For Solaris; some versions of Sun CC require a space after -R and
9120 # others require no space. Words are not sufficient . . . .
9121 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -R must be followed by a space" >&5
9122 $as_echo_n "checking whether -R must be followed by a space... " >&6; }
9123 ac_xsave_LIBS
=$LIBS; LIBS
="$LIBS -R$x_libraries"
9124 ac_xsave_c_werror_flag
=$ac_c_werror_flag
9125 ac_c_werror_flag
=yes
9126 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9127 /* end confdefs.h. */
9137 if ac_fn_c_try_link
"$LINENO"; then :
9138 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9139 $as_echo "no" >&6; }
9140 X_LIBS
="$X_LIBS -R$x_libraries"
9142 LIBS
="$ac_xsave_LIBS -R $x_libraries"
9143 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9144 /* end confdefs.h. */
9154 if ac_fn_c_try_link
"$LINENO"; then :
9155 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
9156 $as_echo "yes" >&6; }
9157 X_LIBS
="$X_LIBS -R $x_libraries"
9159 { $as_echo "$as_me:${as_lineno-$LINENO}: result: neither works" >&5
9160 $as_echo "neither works" >&6; }
9162 rm -f core conftest.err conftest.
$ac_objext \
9163 conftest
$ac_exeext conftest.
$ac_ext
9165 rm -f core conftest.err conftest.
$ac_objext \
9166 conftest
$ac_exeext conftest.
$ac_ext
9167 ac_c_werror_flag
=$ac_xsave_c_werror_flag
9171 # Check for system-dependent libraries X programs must link with.
9172 # Do this before checking for the system-independent R6 libraries
9173 # (-lICE), since we may need -lsocket or whatever for X linking.
9175 if test "$ISC" = yes; then
9176 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lnsl_s -linet"
9178 # Martyn Johnson says this is needed for Ultrix, if the X
9179 # libraries were built with DECnet support. And Karl Berry says
9180 # the Alpha needs dnet_stub (dnet does not exist).
9181 ac_xsave_LIBS
="$LIBS"; LIBS
="$LIBS $X_LIBS -lX11"
9182 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9183 /* end confdefs.h. */
9185 /* Override any GCC internal prototype to avoid an error.
9186 Use char because int might match the return type of a GCC
9187 builtin and then its argument prototype would still apply. */
9191 char XOpenDisplay ();
9195 return XOpenDisplay ();
9200 if ac_fn_c_try_link
"$LINENO"; then :
9203 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dnet_ntoa in -ldnet" >&5
9204 $as_echo_n "checking for dnet_ntoa in -ldnet... " >&6; }
9205 if ${ac_cv_lib_dnet_dnet_ntoa+:} false
; then :
9206 $as_echo_n "(cached) " >&6
9208 ac_check_lib_save_LIBS
=$LIBS
9210 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9211 /* end confdefs.h. */
9213 /* Override any GCC internal prototype to avoid an error.
9214 Use char because int might match the return type of a GCC
9215 builtin and then its argument prototype would still apply. */
9223 return dnet_ntoa ();
9228 if ac_fn_c_try_link
"$LINENO"; then :
9229 ac_cv_lib_dnet_dnet_ntoa
=yes
9231 ac_cv_lib_dnet_dnet_ntoa
=no
9233 rm -f core conftest.err conftest.
$ac_objext \
9234 conftest
$ac_exeext conftest.
$ac_ext
9235 LIBS
=$ac_check_lib_save_LIBS
9237 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dnet_dnet_ntoa" >&5
9238 $as_echo "$ac_cv_lib_dnet_dnet_ntoa" >&6; }
9239 if test "x$ac_cv_lib_dnet_dnet_ntoa" = xyes
; then :
9240 X_EXTRA_LIBS
="$X_EXTRA_LIBS -ldnet"
9243 if test $ac_cv_lib_dnet_dnet_ntoa = no
; then
9244 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dnet_ntoa in -ldnet_stub" >&5
9245 $as_echo_n "checking for dnet_ntoa in -ldnet_stub... " >&6; }
9246 if ${ac_cv_lib_dnet_stub_dnet_ntoa+:} false
; then :
9247 $as_echo_n "(cached) " >&6
9249 ac_check_lib_save_LIBS
=$LIBS
9250 LIBS
="-ldnet_stub $LIBS"
9251 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9252 /* end confdefs.h. */
9254 /* Override any GCC internal prototype to avoid an error.
9255 Use char because int might match the return type of a GCC
9256 builtin and then its argument prototype would still apply. */
9264 return dnet_ntoa ();
9269 if ac_fn_c_try_link
"$LINENO"; then :
9270 ac_cv_lib_dnet_stub_dnet_ntoa
=yes
9272 ac_cv_lib_dnet_stub_dnet_ntoa
=no
9274 rm -f core conftest.err conftest.
$ac_objext \
9275 conftest
$ac_exeext conftest.
$ac_ext
9276 LIBS
=$ac_check_lib_save_LIBS
9278 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dnet_stub_dnet_ntoa" >&5
9279 $as_echo "$ac_cv_lib_dnet_stub_dnet_ntoa" >&6; }
9280 if test "x$ac_cv_lib_dnet_stub_dnet_ntoa" = xyes
; then :
9281 X_EXTRA_LIBS
="$X_EXTRA_LIBS -ldnet_stub"
9286 rm -f core conftest.err conftest.
$ac_objext \
9287 conftest
$ac_exeext conftest.
$ac_ext
9288 LIBS
="$ac_xsave_LIBS"
9290 # msh@cis.ufl.edu says -lnsl (and -lsocket) are needed for his 386/AT,
9291 # to get the SysV transport functions.
9292 # Chad R. Larson says the Pyramis MIS-ES running DC/OSx (SVR4)
9294 # The nsl library prevents programs from opening the X display
9295 # on Irix 5.2, according to T.E. Dickey.
9296 # The functions gethostbyname, getservbyname, and inet_addr are
9297 # in -lbsd on LynxOS 3.0.1/i386, according to Lars Hecking.
9298 ac_fn_c_check_func
"$LINENO" "gethostbyname" "ac_cv_func_gethostbyname"
9299 if test "x$ac_cv_func_gethostbyname" = xyes
; then :
9303 if test $ac_cv_func_gethostbyname = no
; then
9304 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gethostbyname in -lnsl" >&5
9305 $as_echo_n "checking for gethostbyname in -lnsl... " >&6; }
9306 if ${ac_cv_lib_nsl_gethostbyname+:} false
; then :
9307 $as_echo_n "(cached) " >&6
9309 ac_check_lib_save_LIBS
=$LIBS
9311 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9312 /* end confdefs.h. */
9314 /* Override any GCC internal prototype to avoid an error.
9315 Use char because int might match the return type of a GCC
9316 builtin and then its argument prototype would still apply. */
9320 char gethostbyname ();
9324 return gethostbyname ();
9329 if ac_fn_c_try_link
"$LINENO"; then :
9330 ac_cv_lib_nsl_gethostbyname
=yes
9332 ac_cv_lib_nsl_gethostbyname
=no
9334 rm -f core conftest.err conftest.
$ac_objext \
9335 conftest
$ac_exeext conftest.
$ac_ext
9336 LIBS
=$ac_check_lib_save_LIBS
9338 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_nsl_gethostbyname" >&5
9339 $as_echo "$ac_cv_lib_nsl_gethostbyname" >&6; }
9340 if test "x$ac_cv_lib_nsl_gethostbyname" = xyes
; then :
9341 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lnsl"
9344 if test $ac_cv_lib_nsl_gethostbyname = no
; then
9345 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gethostbyname in -lbsd" >&5
9346 $as_echo_n "checking for gethostbyname in -lbsd... " >&6; }
9347 if ${ac_cv_lib_bsd_gethostbyname+:} false
; then :
9348 $as_echo_n "(cached) " >&6
9350 ac_check_lib_save_LIBS
=$LIBS
9352 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9353 /* end confdefs.h. */
9355 /* Override any GCC internal prototype to avoid an error.
9356 Use char because int might match the return type of a GCC
9357 builtin and then its argument prototype would still apply. */
9361 char gethostbyname ();
9365 return gethostbyname ();
9370 if ac_fn_c_try_link
"$LINENO"; then :
9371 ac_cv_lib_bsd_gethostbyname
=yes
9373 ac_cv_lib_bsd_gethostbyname
=no
9375 rm -f core conftest.err conftest.
$ac_objext \
9376 conftest
$ac_exeext conftest.
$ac_ext
9377 LIBS
=$ac_check_lib_save_LIBS
9379 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_bsd_gethostbyname" >&5
9380 $as_echo "$ac_cv_lib_bsd_gethostbyname" >&6; }
9381 if test "x$ac_cv_lib_bsd_gethostbyname" = xyes
; then :
9382 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lbsd"
9388 # lieder@skyler.mavd.honeywell.com says without -lsocket,
9389 # socket/setsockopt and other routines are undefined under SCO ODT
9390 # 2.0. But -lsocket is broken on IRIX 5.2 (and is not necessary
9391 # on later versions), says Simon Leinen: it contains gethostby*
9392 # variants that don't use the name server (or something). -lsocket
9393 # must be given before -lnsl if both are needed. We assume that
9394 # if connect needs -lnsl, so does gethostbyname.
9395 ac_fn_c_check_func
"$LINENO" "connect" "ac_cv_func_connect"
9396 if test "x$ac_cv_func_connect" = xyes
; then :
9400 if test $ac_cv_func_connect = no
; then
9401 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for connect in -lsocket" >&5
9402 $as_echo_n "checking for connect in -lsocket... " >&6; }
9403 if ${ac_cv_lib_socket_connect+:} false
; then :
9404 $as_echo_n "(cached) " >&6
9406 ac_check_lib_save_LIBS
=$LIBS
9407 LIBS
="-lsocket $X_EXTRA_LIBS $LIBS"
9408 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9409 /* end confdefs.h. */
9411 /* Override any GCC internal prototype to avoid an error.
9412 Use char because int might match the return type of a GCC
9413 builtin and then its argument prototype would still apply. */
9426 if ac_fn_c_try_link
"$LINENO"; then :
9427 ac_cv_lib_socket_connect
=yes
9429 ac_cv_lib_socket_connect
=no
9431 rm -f core conftest.err conftest.
$ac_objext \
9432 conftest
$ac_exeext conftest.
$ac_ext
9433 LIBS
=$ac_check_lib_save_LIBS
9435 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_socket_connect" >&5
9436 $as_echo "$ac_cv_lib_socket_connect" >&6; }
9437 if test "x$ac_cv_lib_socket_connect" = xyes
; then :
9438 X_EXTRA_LIBS
="-lsocket $X_EXTRA_LIBS"
9443 # Guillermo Gomez says -lposix is necessary on A/UX.
9444 ac_fn_c_check_func
"$LINENO" "remove" "ac_cv_func_remove"
9445 if test "x$ac_cv_func_remove" = xyes
; then :
9449 if test $ac_cv_func_remove = no
; then
9450 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for remove in -lposix" >&5
9451 $as_echo_n "checking for remove in -lposix... " >&6; }
9452 if ${ac_cv_lib_posix_remove+:} false
; then :
9453 $as_echo_n "(cached) " >&6
9455 ac_check_lib_save_LIBS
=$LIBS
9456 LIBS
="-lposix $LIBS"
9457 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9458 /* end confdefs.h. */
9460 /* Override any GCC internal prototype to avoid an error.
9461 Use char because int might match the return type of a GCC
9462 builtin and then its argument prototype would still apply. */
9475 if ac_fn_c_try_link
"$LINENO"; then :
9476 ac_cv_lib_posix_remove
=yes
9478 ac_cv_lib_posix_remove
=no
9480 rm -f core conftest.err conftest.
$ac_objext \
9481 conftest
$ac_exeext conftest.
$ac_ext
9482 LIBS
=$ac_check_lib_save_LIBS
9484 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_posix_remove" >&5
9485 $as_echo "$ac_cv_lib_posix_remove" >&6; }
9486 if test "x$ac_cv_lib_posix_remove" = xyes
; then :
9487 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lposix"
9492 # BSDI BSD/OS 2.1 needs -lipc for XOpenDisplay.
9493 ac_fn_c_check_func
"$LINENO" "shmat" "ac_cv_func_shmat"
9494 if test "x$ac_cv_func_shmat" = xyes
; then :
9498 if test $ac_cv_func_shmat = no
; then
9499 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shmat in -lipc" >&5
9500 $as_echo_n "checking for shmat in -lipc... " >&6; }
9501 if ${ac_cv_lib_ipc_shmat+:} false
; then :
9502 $as_echo_n "(cached) " >&6
9504 ac_check_lib_save_LIBS
=$LIBS
9506 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9507 /* end confdefs.h. */
9509 /* Override any GCC internal prototype to avoid an error.
9510 Use char because int might match the return type of a GCC
9511 builtin and then its argument prototype would still apply. */
9524 if ac_fn_c_try_link
"$LINENO"; then :
9525 ac_cv_lib_ipc_shmat
=yes
9527 ac_cv_lib_ipc_shmat
=no
9529 rm -f core conftest.err conftest.
$ac_objext \
9530 conftest
$ac_exeext conftest.
$ac_ext
9531 LIBS
=$ac_check_lib_save_LIBS
9533 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ipc_shmat" >&5
9534 $as_echo "$ac_cv_lib_ipc_shmat" >&6; }
9535 if test "x$ac_cv_lib_ipc_shmat" = xyes
; then :
9536 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lipc"
9542 # Check for libraries that X11R6 Xt/Xaw programs need.
9543 ac_save_LDFLAGS
=$LDFLAGS
9544 test -n "$x_libraries" && LDFLAGS
="$LDFLAGS -L$x_libraries"
9545 # SM needs ICE to (dynamically) link under SunOS 4.x (so we have to
9546 # check for ICE first), but we must link in the order -lSM -lICE or
9547 # we get undefined symbols. So assume we have SM if we have ICE.
9548 # These have to be linked with before -lX11, unlike the other
9549 # libraries we check for below, so use a different variable.
9550 # John Interrante, Karl Berry
9551 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for IceConnectionNumber in -lICE" >&5
9552 $as_echo_n "checking for IceConnectionNumber in -lICE... " >&6; }
9553 if ${ac_cv_lib_ICE_IceConnectionNumber+:} false
; then :
9554 $as_echo_n "(cached) " >&6
9556 ac_check_lib_save_LIBS
=$LIBS
9557 LIBS
="-lICE $X_EXTRA_LIBS $LIBS"
9558 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9559 /* end confdefs.h. */
9561 /* Override any GCC internal prototype to avoid an error.
9562 Use char because int might match the return type of a GCC
9563 builtin and then its argument prototype would still apply. */
9567 char IceConnectionNumber ();
9571 return IceConnectionNumber ();
9576 if ac_fn_c_try_link
"$LINENO"; then :
9577 ac_cv_lib_ICE_IceConnectionNumber
=yes
9579 ac_cv_lib_ICE_IceConnectionNumber
=no
9581 rm -f core conftest.err conftest.
$ac_objext \
9582 conftest
$ac_exeext conftest.
$ac_ext
9583 LIBS
=$ac_check_lib_save_LIBS
9585 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ICE_IceConnectionNumber" >&5
9586 $as_echo "$ac_cv_lib_ICE_IceConnectionNumber" >&6; }
9587 if test "x$ac_cv_lib_ICE_IceConnectionNumber" = xyes
; then :
9588 X_PRE_LIBS
="$X_PRE_LIBS -lSM -lICE"
9591 LDFLAGS
=$ac_save_LDFLAGS
9596 if test "$have_x" = "yes"
9598 ac_save_CPPFLAGS
="$CPPFLAGS"
9599 CPPFLAGS
="$CPPFLAGS $X_CFLAGS"
9601 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lX11" >&5
9602 $as_echo_n "checking for -lX11... " >&6; }
9603 if ${ac_cv_lib_soname_X11+:} false
; then :
9604 $as_echo_n "(cached) " >&6
9606 ac_check_soname_save_LIBS
=$LIBS
9607 LIBS
="-lX11 $X_LIBS $X_EXTRA_LIBS $LIBS"
9608 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9609 /* end confdefs.h. */
9611 /* Override any GCC internal prototype to avoid an error.
9612 Use char because int might match the return type of a GCC
9613 builtin and then its argument prototype would still apply. */
9617 char XCreateWindow ();
9621 return XCreateWindow ();
9626 if ac_fn_c_try_link
"$LINENO"; then :
9628 dll
) ac_cv_lib_soname_X11
=`$ac_cv_path_LDD conftest.exe | grep "X11" | sed -e "s/dll.*/dll/"';2,$d'` ;;
9629 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'` ;;
9630 *) ac_cv_lib_soname_X11
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libX11\\.$LIBEXT" | sed -e "s/^.*\\[\\(libX11\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
9631 if ${ac_cv_lib_soname_X11:+false} :; then :
9632 ac_cv_lib_soname_X11
=`$LDD conftest$ac_exeext | grep "libX11\\.$LIBEXT" | sed -e "s/^.*\(libX11\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
9636 rm -f core conftest.err conftest.
$ac_objext \
9637 conftest
$ac_exeext conftest.
$ac_ext
9638 LIBS
=$ac_check_soname_save_LIBS
9640 if ${ac_cv_lib_soname_X11:+false} :; then :
9641 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
9642 $as_echo "not found" >&6; }
9645 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_X11" >&5
9646 $as_echo "$ac_cv_lib_soname_X11" >&6; }
9648 cat >>confdefs.h
<<_ACEOF
9649 #define SONAME_LIBX11 "$ac_cv_lib_soname_X11"
9654 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXext" >&5
9655 $as_echo_n "checking for -lXext... " >&6; }
9656 if ${ac_cv_lib_soname_Xext+:} false
; then :
9657 $as_echo_n "(cached) " >&6
9659 ac_check_soname_save_LIBS
=$LIBS
9660 LIBS
="-lXext $X_LIBS -lX11 $X_EXTRA_LIBS $LIBS"
9661 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9662 /* end confdefs.h. */
9664 /* Override any GCC internal prototype to avoid an error.
9665 Use char because int might match the return type of a GCC
9666 builtin and then its argument prototype would still apply. */
9670 char XextCreateExtension ();
9674 return XextCreateExtension ();
9679 if ac_fn_c_try_link
"$LINENO"; then :
9681 dll
) ac_cv_lib_soname_Xext
=`$ac_cv_path_LDD conftest.exe | grep "Xext" | sed -e "s/dll.*/dll/"';2,$d'` ;;
9682 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'` ;;
9683 *) ac_cv_lib_soname_Xext
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXext\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXext\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
9684 if ${ac_cv_lib_soname_Xext:+false} :; then :
9685 ac_cv_lib_soname_Xext
=`$LDD conftest$ac_exeext | grep "libXext\\.$LIBEXT" | sed -e "s/^.*\(libXext\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
9689 rm -f core conftest.err conftest.
$ac_objext \
9690 conftest
$ac_exeext conftest.
$ac_ext
9691 LIBS
=$ac_check_soname_save_LIBS
9693 if ${ac_cv_lib_soname_Xext:+false} :; then :
9694 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
9695 $as_echo "not found" >&6; }
9698 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xext" >&5
9699 $as_echo "$ac_cv_lib_soname_Xext" >&6; }
9701 cat >>confdefs.h
<<_ACEOF
9702 #define SONAME_LIBXEXT "$ac_cv_lib_soname_Xext"
9705 X_LIBS
="$X_LIBS -lXext"
9707 X_LIBS
="$X_LIBS -lX11"
9709 for ac_header
in X11
/Xlib.h \
9712 X11
/Xcursor
/Xcursor.h \
9713 X11
/extensions
/shape.h \
9714 X11
/extensions
/XInput.h \
9715 X11
/extensions
/XInput2.h \
9716 X11
/extensions
/XShm.h \
9717 X11
/extensions
/Xcomposite.h \
9718 X11
/extensions
/Xinerama.h \
9719 X11
/extensions
/Xrandr.h \
9720 X11
/extensions
/Xrender.h \
9721 X11
/extensions
/xf86vmode.h \
9722 X11
/extensions
/xf86vmproto.h
9724 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
9725 ac_fn_c_check_header_compile
"$LINENO" "$ac_header" "$as_ac_Header" "#ifdef HAVE_X11_XLIB_H
9726 # include <X11/Xlib.h>
9728 #ifdef HAVE_X11_XUTIL_H
9729 # include <X11/Xutil.h>
9732 if eval test \"x\$
"$as_ac_Header"\" = x
"yes"; then :
9733 cat >>confdefs.h
<<_ACEOF
9734 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
9742 if test "$ac_cv_header_X11_XKBlib_h" = "yes"
9744 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XkbQueryExtension in -lX11" >&5
9745 $as_echo_n "checking for XkbQueryExtension in -lX11... " >&6; }
9746 if ${ac_cv_lib_X11_XkbQueryExtension+:} false
; then :
9747 $as_echo_n "(cached) " >&6
9749 ac_check_lib_save_LIBS
=$LIBS
9750 LIBS
="-lX11 $X_LIBS $X_EXTRA_LIBS $LIBS"
9751 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9752 /* end confdefs.h. */
9754 /* Override any GCC internal prototype to avoid an error.
9755 Use char because int might match the return type of a GCC
9756 builtin and then its argument prototype would still apply. */
9760 char XkbQueryExtension ();
9764 return XkbQueryExtension ();
9769 if ac_fn_c_try_link
"$LINENO"; then :
9770 ac_cv_lib_X11_XkbQueryExtension
=yes
9772 ac_cv_lib_X11_XkbQueryExtension
=no
9774 rm -f core conftest.err conftest.
$ac_objext \
9775 conftest
$ac_exeext conftest.
$ac_ext
9776 LIBS
=$ac_check_lib_save_LIBS
9778 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_X11_XkbQueryExtension" >&5
9779 $as_echo "$ac_cv_lib_X11_XkbQueryExtension" >&6; }
9780 if test "x$ac_cv_lib_X11_XkbQueryExtension" = xyes
; then :
9782 $as_echo "#define HAVE_XKB 1" >>confdefs.h
9788 if test "$ac_cv_header_X11_Xcursor_Xcursor_h" = "yes"
9790 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXcursor" >&5
9791 $as_echo_n "checking for -lXcursor... " >&6; }
9792 if ${ac_cv_lib_soname_Xcursor+:} false
; then :
9793 $as_echo_n "(cached) " >&6
9795 ac_check_soname_save_LIBS
=$LIBS
9796 LIBS
="-lXcursor $X_LIBS $X_EXTRA_LIBS $LIBS"
9797 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9798 /* end confdefs.h. */
9800 /* Override any GCC internal prototype to avoid an error.
9801 Use char because int might match the return type of a GCC
9802 builtin and then its argument prototype would still apply. */
9806 char XcursorImageLoadCursor ();
9810 return XcursorImageLoadCursor ();
9815 if ac_fn_c_try_link
"$LINENO"; then :
9817 dll
) ac_cv_lib_soname_Xcursor
=`$ac_cv_path_LDD conftest.exe | grep "Xcursor" | sed -e "s/dll.*/dll/"';2,$d'` ;;
9818 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'` ;;
9819 *) ac_cv_lib_soname_Xcursor
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXcursor\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXcursor\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
9820 if ${ac_cv_lib_soname_Xcursor:+false} :; then :
9821 ac_cv_lib_soname_Xcursor
=`$LDD conftest$ac_exeext | grep "libXcursor\\.$LIBEXT" | sed -e "s/^.*\(libXcursor\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
9825 rm -f core conftest.err conftest.
$ac_objext \
9826 conftest
$ac_exeext conftest.
$ac_ext
9827 LIBS
=$ac_check_soname_save_LIBS
9829 if ${ac_cv_lib_soname_Xcursor:+false} :; then :
9830 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
9831 $as_echo "not found" >&6; }
9834 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xcursor" >&5
9835 $as_echo "$ac_cv_lib_soname_Xcursor" >&6; }
9837 cat >>confdefs.h
<<_ACEOF
9838 #define SONAME_LIBXCURSOR "$ac_cv_lib_soname_Xcursor"
9844 if test "x$ac_cv_lib_soname_Xcursor" = "x"; then :
9845 case "x$with_xcursor" in
9846 x
) as_fn_append wine_notices
"|libxcursor ${notice_platform}development files not found, the Xcursor extension won't be supported." ;;
9848 *) as_fn_error $?
"libxcursor ${notice_platform}development files not found, the Xcursor extension won't be supported.
9849 This is an error since --with-xcursor was requested." "$LINENO" 5 ;;
9853 if test "$ac_cv_header_X11_extensions_XInput_h" = "yes"
9855 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXi" >&5
9856 $as_echo_n "checking for -lXi... " >&6; }
9857 if ${ac_cv_lib_soname_Xi+:} false
; then :
9858 $as_echo_n "(cached) " >&6
9860 ac_check_soname_save_LIBS
=$LIBS
9861 LIBS
="-lXi $X_LIBS $X_EXTRA_LIBS $LIBS"
9862 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9863 /* end confdefs.h. */
9865 /* Override any GCC internal prototype to avoid an error.
9866 Use char because int might match the return type of a GCC
9867 builtin and then its argument prototype would still apply. */
9871 char XOpenDevice ();
9875 return XOpenDevice ();
9880 if ac_fn_c_try_link
"$LINENO"; then :
9882 dll
) ac_cv_lib_soname_Xi
=`$ac_cv_path_LDD conftest.exe | grep "Xi" | sed -e "s/dll.*/dll/"';2,$d'` ;;
9883 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'` ;;
9884 *) ac_cv_lib_soname_Xi
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXi\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXi\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
9885 if ${ac_cv_lib_soname_Xi:+false} :; then :
9886 ac_cv_lib_soname_Xi
=`$LDD conftest$ac_exeext | grep "libXi\\.$LIBEXT" | sed -e "s/^.*\(libXi\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
9890 rm -f core conftest.err conftest.
$ac_objext \
9891 conftest
$ac_exeext conftest.
$ac_ext
9892 LIBS
=$ac_check_soname_save_LIBS
9894 if ${ac_cv_lib_soname_Xi:+false} :; then :
9895 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
9896 $as_echo "not found" >&6; }
9899 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xi" >&5
9900 $as_echo "$ac_cv_lib_soname_Xi" >&6; }
9902 cat >>confdefs.h
<<_ACEOF
9903 #define SONAME_LIBXI "$ac_cv_lib_soname_Xi"
9909 if test "x$ac_cv_lib_soname_Xi" = "x"; then :
9910 case "x$with_xinput" in
9911 x
) as_fn_append wine_notices
"|libxi ${notice_platform}development files not found, the Xinput extension won't be supported." ;;
9913 *) as_fn_error $?
"libxi ${notice_platform}development files not found, the Xinput extension won't be supported.
9914 This is an error since --with-xinput was requested." "$LINENO" 5 ;;
9918 if test "x$ac_cv_lib_soname_Xi" != x
9920 if test "$ac_cv_header_X11_extensions_XInput2_h" != "yes"; then :
9921 case "x$with_xinput2" in
9922 x
) as_fn_append wine_notices
"|XInput2 headers not found, the XInput 2 extension won't be supported." ;;
9924 *) as_fn_error $?
"XInput2 headers not found, the XInput 2 extension won't be supported.
9925 This is an error since --with-xinput2 was requested." "$LINENO" 5 ;;
9930 if test "$ac_cv_header_X11_extensions_XShm_h" = "yes"
9932 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XShmQueryExtension in -lXext" >&5
9933 $as_echo_n "checking for XShmQueryExtension in -lXext... " >&6; }
9934 if ${ac_cv_lib_Xext_XShmQueryExtension+:} false
; then :
9935 $as_echo_n "(cached) " >&6
9937 ac_check_lib_save_LIBS
=$LIBS
9938 LIBS
="-lXext $X_LIBS $X_EXTRA_LIBS $LIBS"
9939 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9940 /* end confdefs.h. */
9942 /* Override any GCC internal prototype to avoid an error.
9943 Use char because int might match the return type of a GCC
9944 builtin and then its argument prototype would still apply. */
9948 char XShmQueryExtension ();
9952 return XShmQueryExtension ();
9957 if ac_fn_c_try_link
"$LINENO"; then :
9958 ac_cv_lib_Xext_XShmQueryExtension
=yes
9960 ac_cv_lib_Xext_XShmQueryExtension
=no
9962 rm -f core conftest.err conftest.
$ac_objext \
9963 conftest
$ac_exeext conftest.
$ac_ext
9964 LIBS
=$ac_check_lib_save_LIBS
9966 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xext_XShmQueryExtension" >&5
9967 $as_echo "$ac_cv_lib_Xext_XShmQueryExtension" >&6; }
9968 if test "x$ac_cv_lib_Xext_XShmQueryExtension" = xyes
; then :
9970 $as_echo "#define HAVE_LIBXXSHM 1" >>confdefs.h
9975 if test "$ac_cv_lib_Xext_XShmQueryExtension" != "yes"; then :
9976 case "x$with_xshm" in
9977 x
) as_fn_append wine_notices
"|XShm ${notice_platform}development files not found, X Shared Memory won't be supported." ;;
9979 *) as_fn_error $?
"XShm ${notice_platform}development files not found, X Shared Memory won't be supported.
9980 This is an error since --with-xshm was requested." "$LINENO" 5 ;;
9984 if test "$ac_cv_header_X11_extensions_shape_h" = "yes"
9986 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XShapeQueryExtension in -lXext" >&5
9987 $as_echo_n "checking for XShapeQueryExtension in -lXext... " >&6; }
9988 if ${ac_cv_lib_Xext_XShapeQueryExtension+:} false
; then :
9989 $as_echo_n "(cached) " >&6
9991 ac_check_lib_save_LIBS
=$LIBS
9992 LIBS
="-lXext $X_LIBS $X_EXTRA_LIBS $LIBS"
9993 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9994 /* end confdefs.h. */
9996 /* Override any GCC internal prototype to avoid an error.
9997 Use char because int might match the return type of a GCC
9998 builtin and then its argument prototype would still apply. */
10002 char XShapeQueryExtension ();
10006 return XShapeQueryExtension ();
10011 if ac_fn_c_try_link
"$LINENO"; then :
10012 ac_cv_lib_Xext_XShapeQueryExtension
=yes
10014 ac_cv_lib_Xext_XShapeQueryExtension
=no
10016 rm -f core conftest.err conftest.
$ac_objext \
10017 conftest
$ac_exeext conftest.
$ac_ext
10018 LIBS
=$ac_check_lib_save_LIBS
10020 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xext_XShapeQueryExtension" >&5
10021 $as_echo "$ac_cv_lib_Xext_XShapeQueryExtension" >&6; }
10022 if test "x$ac_cv_lib_Xext_XShapeQueryExtension" = xyes
; then :
10024 $as_echo "#define HAVE_LIBXSHAPE 1" >>confdefs.h
10029 if test "$ac_cv_lib_Xext_XShapeQueryExtension" != "yes"; then :
10030 case "x$with_xshape" in
10031 x
) as_fn_append wine_notices
"|XShape ${notice_platform}development files not found, XShape won't be supported." ;;
10033 *) as_fn_error $?
"XShape ${notice_platform}development files not found, XShape won't be supported.
10034 This is an error since --with-xshape was requested." "$LINENO" 5 ;;
10038 if test "$ac_cv_header_X11_extensions_xf86vmode_h" = "yes" -o "$ac_cv_header_X11_extensions_xf86vmproto_h" = "yes"
10040 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXxf86vm" >&5
10041 $as_echo_n "checking for -lXxf86vm... " >&6; }
10042 if ${ac_cv_lib_soname_Xxf86vm+:} false
; then :
10043 $as_echo_n "(cached) " >&6
10045 ac_check_soname_save_LIBS
=$LIBS
10046 LIBS
="-lXxf86vm $X_LIBS $X_EXTRA_LIBS $LIBS"
10047 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10048 /* end confdefs.h. */
10050 /* Override any GCC internal prototype to avoid an error.
10051 Use char because int might match the return type of a GCC
10052 builtin and then its argument prototype would still apply. */
10056 char XF86VidModeQueryExtension ();
10060 return XF86VidModeQueryExtension ();
10065 if ac_fn_c_try_link
"$LINENO"; then :
10067 dll
) ac_cv_lib_soname_Xxf86vm
=`$ac_cv_path_LDD conftest.exe | grep "Xxf86vm" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10068 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'` ;;
10069 *) ac_cv_lib_soname_Xxf86vm
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXxf86vm\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXxf86vm\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10070 if ${ac_cv_lib_soname_Xxf86vm:+false} :; then :
10071 ac_cv_lib_soname_Xxf86vm
=`$LDD conftest$ac_exeext | grep "libXxf86vm\\.$LIBEXT" | sed -e "s/^.*\(libXxf86vm\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10075 rm -f core conftest.err conftest.
$ac_objext \
10076 conftest
$ac_exeext conftest.
$ac_ext
10077 LIBS
=$ac_check_soname_save_LIBS
10079 if ${ac_cv_lib_soname_Xxf86vm:+false} :; then :
10080 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10081 $as_echo "not found" >&6; }
10084 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xxf86vm" >&5
10085 $as_echo "$ac_cv_lib_soname_Xxf86vm" >&6; }
10087 cat >>confdefs.h
<<_ACEOF
10088 #define SONAME_LIBXXF86VM "$ac_cv_lib_soname_Xxf86vm"
10094 if test "x$ac_cv_lib_soname_Xxf86vm" = "x"; then :
10095 case "x$with_xxf86vm" in
10096 x
) as_fn_append wine_notices
"|libXxf86vm ${notice_platform}development files not found, XFree86 Vidmode won't be supported." ;;
10098 *) as_fn_error $?
"libXxf86vm ${notice_platform}development files not found, XFree86 Vidmode won't be supported.
10099 This is an error since --with-xxf86vm was requested." "$LINENO" 5 ;;
10103 if test "$ac_cv_header_X11_extensions_Xrender_h" = "yes" -a "x$ac_cv_lib_soname_X11" != "x"
10105 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXrender" >&5
10106 $as_echo_n "checking for -lXrender... " >&6; }
10107 if ${ac_cv_lib_soname_Xrender+:} false
; then :
10108 $as_echo_n "(cached) " >&6
10110 ac_check_soname_save_LIBS
=$LIBS
10111 LIBS
="-lXrender $X_LIBS $X_EXTRA_LIBS $LIBS"
10112 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10113 /* end confdefs.h. */
10115 /* Override any GCC internal prototype to avoid an error.
10116 Use char because int might match the return type of a GCC
10117 builtin and then its argument prototype would still apply. */
10121 char XRenderQueryExtension ();
10125 return XRenderQueryExtension ();
10130 if ac_fn_c_try_link
"$LINENO"; then :
10132 dll
) ac_cv_lib_soname_Xrender
=`$ac_cv_path_LDD conftest.exe | grep "Xrender" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10133 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'` ;;
10134 *) ac_cv_lib_soname_Xrender
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXrender\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXrender\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10135 if ${ac_cv_lib_soname_Xrender:+false} :; then :
10136 ac_cv_lib_soname_Xrender
=`$LDD conftest$ac_exeext | grep "libXrender\\.$LIBEXT" | sed -e "s/^.*\(libXrender\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10140 rm -f core conftest.err conftest.
$ac_objext \
10141 conftest
$ac_exeext conftest.
$ac_ext
10142 LIBS
=$ac_check_soname_save_LIBS
10144 if ${ac_cv_lib_soname_Xrender:+false} :; then :
10145 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10146 $as_echo "not found" >&6; }
10149 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xrender" >&5
10150 $as_echo "$ac_cv_lib_soname_Xrender" >&6; }
10152 cat >>confdefs.h
<<_ACEOF
10153 #define SONAME_LIBXRENDER "$ac_cv_lib_soname_Xrender"
10156 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XRenderSetPictureTransform in -lXrender" >&5
10157 $as_echo_n "checking for XRenderSetPictureTransform in -lXrender... " >&6; }
10158 if ${ac_cv_lib_Xrender_XRenderSetPictureTransform+:} false
; then :
10159 $as_echo_n "(cached) " >&6
10161 ac_check_lib_save_LIBS
=$LIBS
10162 LIBS
="-lXrender $X_LIBS $X_EXTRA_LIBS $LIBS"
10163 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10164 /* end confdefs.h. */
10166 /* Override any GCC internal prototype to avoid an error.
10167 Use char because int might match the return type of a GCC
10168 builtin and then its argument prototype would still apply. */
10172 char XRenderSetPictureTransform ();
10176 return XRenderSetPictureTransform ();
10181 if ac_fn_c_try_link
"$LINENO"; then :
10182 ac_cv_lib_Xrender_XRenderSetPictureTransform
=yes
10184 ac_cv_lib_Xrender_XRenderSetPictureTransform
=no
10186 rm -f core conftest.err conftest.
$ac_objext \
10187 conftest
$ac_exeext conftest.
$ac_ext
10188 LIBS
=$ac_check_lib_save_LIBS
10190 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xrender_XRenderSetPictureTransform" >&5
10191 $as_echo "$ac_cv_lib_Xrender_XRenderSetPictureTransform" >&6; }
10192 if test "x$ac_cv_lib_Xrender_XRenderSetPictureTransform" = xyes
; then :
10194 $as_echo "#define HAVE_XRENDERSETPICTURETRANSFORM 1" >>confdefs.h
10198 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XRenderCreateLinearGradient in -lXrender" >&5
10199 $as_echo_n "checking for XRenderCreateLinearGradient in -lXrender... " >&6; }
10200 if ${ac_cv_lib_Xrender_XRenderCreateLinearGradient+:} false
; then :
10201 $as_echo_n "(cached) " >&6
10203 ac_check_lib_save_LIBS
=$LIBS
10204 LIBS
="-lXrender $X_LIBS $X_EXTRA_LIBS $LIBS"
10205 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10206 /* end confdefs.h. */
10208 /* Override any GCC internal prototype to avoid an error.
10209 Use char because int might match the return type of a GCC
10210 builtin and then its argument prototype would still apply. */
10214 char XRenderCreateLinearGradient ();
10218 return XRenderCreateLinearGradient ();
10223 if ac_fn_c_try_link
"$LINENO"; then :
10224 ac_cv_lib_Xrender_XRenderCreateLinearGradient
=yes
10226 ac_cv_lib_Xrender_XRenderCreateLinearGradient
=no
10228 rm -f core conftest.err conftest.
$ac_objext \
10229 conftest
$ac_exeext conftest.
$ac_ext
10230 LIBS
=$ac_check_lib_save_LIBS
10232 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xrender_XRenderCreateLinearGradient" >&5
10233 $as_echo "$ac_cv_lib_Xrender_XRenderCreateLinearGradient" >&6; }
10234 if test "x$ac_cv_lib_Xrender_XRenderCreateLinearGradient" = xyes
; then :
10236 $as_echo "#define HAVE_XRENDERCREATELINEARGRADIENT 1" >>confdefs.h
10243 if test "x$ac_cv_lib_soname_Xrender" = "x"; then :
10244 case "x$with_xrender" in
10245 x
) as_fn_append wine_warnings
"|libxrender ${notice_platform}development files not found, XRender won't be supported." ;;
10247 *) as_fn_error $?
"libxrender ${notice_platform}development files not found, XRender won't be supported.
10248 This is an error since --with-xrender was requested." "$LINENO" 5 ;;
10252 if test "$ac_cv_header_X11_extensions_Xrandr_h" = "yes" -a "x$ac_cv_lib_soname_Xrender" != "x"
10254 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10255 /* end confdefs.h. */
10256 #include <X11/Xlib.h>
10257 #include <X11/extensions/Xrandr.h>
10261 static typeof(XRRSetScreenConfigAndRate) * func; if (func) return 0;
10266 if ac_fn_c_try_compile
"$LINENO"; then :
10267 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXrandr" >&5
10268 $as_echo_n "checking for -lXrandr... " >&6; }
10269 if ${ac_cv_lib_soname_Xrandr+:} false
; then :
10270 $as_echo_n "(cached) " >&6
10272 ac_check_soname_save_LIBS
=$LIBS
10273 LIBS
="-lXrandr $X_LIBS $X_EXTRA_LIBS $LIBS"
10274 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10275 /* end confdefs.h. */
10277 /* Override any GCC internal prototype to avoid an error.
10278 Use char because int might match the return type of a GCC
10279 builtin and then its argument prototype would still apply. */
10283 char XRRQueryExtension ();
10287 return XRRQueryExtension ();
10292 if ac_fn_c_try_link
"$LINENO"; then :
10294 dll
) ac_cv_lib_soname_Xrandr
=`$ac_cv_path_LDD conftest.exe | grep "Xrandr" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10295 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'` ;;
10296 *) ac_cv_lib_soname_Xrandr
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXrandr\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXrandr\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10297 if ${ac_cv_lib_soname_Xrandr:+false} :; then :
10298 ac_cv_lib_soname_Xrandr
=`$LDD conftest$ac_exeext | grep "libXrandr\\.$LIBEXT" | sed -e "s/^.*\(libXrandr\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10302 rm -f core conftest.err conftest.
$ac_objext \
10303 conftest
$ac_exeext conftest.
$ac_ext
10304 LIBS
=$ac_check_soname_save_LIBS
10306 if ${ac_cv_lib_soname_Xrandr:+false} :; then :
10307 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10308 $as_echo "not found" >&6; }
10311 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xrandr" >&5
10312 $as_echo "$ac_cv_lib_soname_Xrandr" >&6; }
10314 cat >>confdefs.h
<<_ACEOF
10315 #define SONAME_LIBXRANDR "$ac_cv_lib_soname_Xrandr"
10318 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10319 /* end confdefs.h. */
10320 #include <X11/Xlib.h>
10321 #include <X11/extensions/Xrandr.h>
10325 static typeof(XRRGetScreenResources) *f; if (f) return 0;
10330 if ac_fn_c_try_compile
"$LINENO"; then :
10332 $as_echo "#define HAVE_XRRGETSCREENRESOURCES 1" >>confdefs.h
10335 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
10338 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
10340 if test "x$ac_cv_lib_soname_Xrandr" = "x"; then :
10341 case "x$with_xrandr" in
10342 x
) as_fn_append wine_notices
"|libxrandr ${notice_platform}development files not found, XRandr won't be supported." ;;
10344 *) as_fn_error $?
"libxrandr ${notice_platform}development files not found, XRandr won't be supported.
10345 This is an error since --with-xrandr was requested." "$LINENO" 5 ;;
10349 if test "$ac_cv_header_X11_extensions_Xinerama_h" = "yes"
10351 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10352 /* end confdefs.h. */
10353 #include <X11/Xlib.h>
10354 #include <X11/extensions/Xinerama.h>
10358 static typeof(XineramaQueryScreens) * func; if (func) return 0;
10363 if ac_fn_c_try_compile
"$LINENO"; then :
10364 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXinerama" >&5
10365 $as_echo_n "checking for -lXinerama... " >&6; }
10366 if ${ac_cv_lib_soname_Xinerama+:} false
; then :
10367 $as_echo_n "(cached) " >&6
10369 ac_check_soname_save_LIBS
=$LIBS
10370 LIBS
="-lXinerama $X_LIBS $X_EXTRA_LIBS $LIBS"
10371 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10372 /* end confdefs.h. */
10374 /* Override any GCC internal prototype to avoid an error.
10375 Use char because int might match the return type of a GCC
10376 builtin and then its argument prototype would still apply. */
10380 char XineramaQueryScreens ();
10384 return XineramaQueryScreens ();
10389 if ac_fn_c_try_link
"$LINENO"; then :
10391 dll
) ac_cv_lib_soname_Xinerama
=`$ac_cv_path_LDD conftest.exe | grep "Xinerama" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10392 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'` ;;
10393 *) ac_cv_lib_soname_Xinerama
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXinerama\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXinerama\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10394 if ${ac_cv_lib_soname_Xinerama:+false} :; then :
10395 ac_cv_lib_soname_Xinerama
=`$LDD conftest$ac_exeext | grep "libXinerama\\.$LIBEXT" | sed -e "s/^.*\(libXinerama\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10399 rm -f core conftest.err conftest.
$ac_objext \
10400 conftest
$ac_exeext conftest.
$ac_ext
10401 LIBS
=$ac_check_soname_save_LIBS
10403 if ${ac_cv_lib_soname_Xinerama:+false} :; then :
10404 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10405 $as_echo "not found" >&6; }
10408 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xinerama" >&5
10409 $as_echo "$ac_cv_lib_soname_Xinerama" >&6; }
10411 cat >>confdefs.h
<<_ACEOF
10412 #define SONAME_LIBXINERAMA "$ac_cv_lib_soname_Xinerama"
10418 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
10420 if test "x$ac_cv_lib_soname_Xinerama" = "x"; then :
10421 case "x$with_xinerama" in
10422 x
) as_fn_append wine_notices
"|libxinerama ${notice_platform}development files not found, multi-monitor setups won't be supported." ;;
10424 *) as_fn_error $?
"libxinerama ${notice_platform}development files not found, multi-monitor setups won't be supported.
10425 This is an error since --with-xinerama was requested." "$LINENO" 5 ;;
10429 if test "$ac_cv_header_X11_extensions_Xcomposite_h" = "yes"
10431 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXcomposite" >&5
10432 $as_echo_n "checking for -lXcomposite... " >&6; }
10433 if ${ac_cv_lib_soname_Xcomposite+:} false
; then :
10434 $as_echo_n "(cached) " >&6
10436 ac_check_soname_save_LIBS
=$LIBS
10437 LIBS
="-lXcomposite $X_LIBS $X_EXTRA_LIBS $LIBS"
10438 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10439 /* end confdefs.h. */
10441 /* Override any GCC internal prototype to avoid an error.
10442 Use char because int might match the return type of a GCC
10443 builtin and then its argument prototype would still apply. */
10447 char XCompositeRedirectWindow ();
10451 return XCompositeRedirectWindow ();
10456 if ac_fn_c_try_link
"$LINENO"; then :
10458 dll
) ac_cv_lib_soname_Xcomposite
=`$ac_cv_path_LDD conftest.exe | grep "Xcomposite" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10459 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'` ;;
10460 *) ac_cv_lib_soname_Xcomposite
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXcomposite\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXcomposite\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10461 if ${ac_cv_lib_soname_Xcomposite:+false} :; then :
10462 ac_cv_lib_soname_Xcomposite
=`$LDD conftest$ac_exeext | grep "libXcomposite\\.$LIBEXT" | sed -e "s/^.*\(libXcomposite\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10466 rm -f core conftest.err conftest.
$ac_objext \
10467 conftest
$ac_exeext conftest.
$ac_ext
10468 LIBS
=$ac_check_soname_save_LIBS
10470 if ${ac_cv_lib_soname_Xcomposite:+false} :; then :
10471 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10472 $as_echo "not found" >&6; }
10475 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xcomposite" >&5
10476 $as_echo "$ac_cv_lib_soname_Xcomposite" >&6; }
10478 cat >>confdefs.h
<<_ACEOF
10479 #define SONAME_LIBXCOMPOSITE "$ac_cv_lib_soname_Xcomposite"
10485 if test "x$ac_cv_lib_soname_Xcomposite" = "x"; then :
10486 case "x$with_xcomposite" in
10487 x
) as_fn_append wine_notices
"|libxcomposite ${notice_platform}development files not found, Xcomposite won't be supported." ;;
10489 *) as_fn_error $?
"libxcomposite ${notice_platform}development files not found, Xcomposite won't be supported.
10490 This is an error since --with-xcomposite was requested." "$LINENO" 5 ;;
10494 ac_fn_c_check_member
"$LINENO" "XICCallback" "callback" "ac_cv_member_XICCallback_callback" "#ifdef HAVE_X11_XLIB_H
10495 #include <X11/Xlib.h>
10498 if test "x$ac_cv_member_XICCallback_callback" = xyes
; then :
10500 cat >>confdefs.h
<<_ACEOF
10501 #define HAVE_XICCALLBACK_CALLBACK 1
10506 ac_fn_c_check_member
"$LINENO" "XEvent" "xcookie" "ac_cv_member_XEvent_xcookie" "#ifdef HAVE_X11_XLIB_H
10507 #include <X11/Xlib.h>
10510 if test "x$ac_cv_member_XEvent_xcookie" = xyes
; then :
10512 cat >>confdefs.h
<<_ACEOF
10513 #define HAVE_XEVENT_XCOOKIE 1
10522 if test "x$with_opengl" != "xno"
10524 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lGL" >&5
10525 $as_echo_n "checking for -lGL... " >&6; }
10526 if ${ac_cv_lib_soname_GL+:} false
; then :
10527 $as_echo_n "(cached) " >&6
10529 ac_check_soname_save_LIBS
=$LIBS
10530 LIBS
="-lGL $X_LIBS -lm $X_EXTRA_LIBS $LIBS"
10531 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10532 /* end confdefs.h. */
10534 /* Override any GCC internal prototype to avoid an error.
10535 Use char because int might match the return type of a GCC
10536 builtin and then its argument prototype would still apply. */
10540 char glXCreateContext ();
10544 return glXCreateContext ();
10549 if ac_fn_c_try_link
"$LINENO"; then :
10551 dll
) ac_cv_lib_soname_GL
=`$ac_cv_path_LDD conftest.exe | grep "GL" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10552 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'` ;;
10553 *) ac_cv_lib_soname_GL
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libGL\\.$LIBEXT" | sed -e "s/^.*\\[\\(libGL\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10554 if ${ac_cv_lib_soname_GL:+false} :; then :
10555 ac_cv_lib_soname_GL
=`$LDD conftest$ac_exeext | grep "libGL\\.$LIBEXT" | sed -e "s/^.*\(libGL\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10559 rm -f core conftest.err conftest.
$ac_objext \
10560 conftest
$ac_exeext conftest.
$ac_ext
10561 LIBS
=$ac_check_soname_save_LIBS
10563 if ${ac_cv_lib_soname_GL:+false} :; then :
10564 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10565 $as_echo "not found" >&6; }
10566 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lGL" >&5
10567 $as_echo_n "checking for -lGL... " >&6; }
10568 if ${ac_cv_lib_soname_GL+:} false
; then :
10569 $as_echo_n "(cached) " >&6
10571 ac_check_soname_save_LIBS
=$LIBS
10572 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"
10573 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10574 /* end confdefs.h. */
10576 /* Override any GCC internal prototype to avoid an error.
10577 Use char because int might match the return type of a GCC
10578 builtin and then its argument prototype would still apply. */
10582 char glXCreateContext ();
10586 return glXCreateContext ();
10591 if ac_fn_c_try_link
"$LINENO"; then :
10593 dll
) ac_cv_lib_soname_GL
=`$ac_cv_path_LDD conftest.exe | grep "GL" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10594 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'` ;;
10595 *) ac_cv_lib_soname_GL
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libGL\\.$LIBEXT" | sed -e "s/^.*\\[\\(libGL\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10596 if ${ac_cv_lib_soname_GL:+false} :; then :
10597 ac_cv_lib_soname_GL
=`$LDD conftest$ac_exeext | grep "libGL\\.$LIBEXT" | sed -e "s/^.*\(libGL\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10601 rm -f core conftest.err conftest.
$ac_objext \
10602 conftest
$ac_exeext conftest.
$ac_ext
10603 LIBS
=$ac_check_soname_save_LIBS
10605 if ${ac_cv_lib_soname_GL:+false} :; then :
10606 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10607 $as_echo "not found" >&6; }
10608 if test -f /usr
/X11R
6/lib
/libGL.a
10610 opengl_msg
="/usr/X11R6/lib/libGL.a is present on your system.
10611 This probably prevents linking to OpenGL. Try deleting the file and restarting configure."
10613 opengl_msg
="No OpenGL library found on this system."
10616 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_GL" >&5
10617 $as_echo "$ac_cv_lib_soname_GL" >&6; }
10619 cat >>confdefs.h
<<_ACEOF
10620 #define SONAME_LIBGL "$ac_cv_lib_soname_GL"
10623 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"
10626 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_GL" >&5
10627 $as_echo "$ac_cv_lib_soname_GL" >&6; }
10629 cat >>confdefs.h
<<_ACEOF
10630 #define SONAME_LIBGL "$ac_cv_lib_soname_GL"
10635 if test "x$with_glu" != "xno"
10637 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gluLookAt in -lGLU" >&5
10638 $as_echo_n "checking for gluLookAt in -lGLU... " >&6; }
10639 if ${ac_cv_lib_GLU_gluLookAt+:} false
; then :
10640 $as_echo_n "(cached) " >&6
10642 ac_check_lib_save_LIBS
=$LIBS
10643 LIBS
="-lGLU $OPENGL_LIBS $X_LIBS -lm $X_EXTRA_LIBS $LIBS"
10644 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10645 /* end confdefs.h. */
10647 /* Override any GCC internal prototype to avoid an error.
10648 Use char because int might match the return type of a GCC
10649 builtin and then its argument prototype would still apply. */
10657 return gluLookAt ();
10662 if ac_fn_c_try_link
"$LINENO"; then :
10663 ac_cv_lib_GLU_gluLookAt
=yes
10665 ac_cv_lib_GLU_gluLookAt
=no
10667 rm -f core conftest.err conftest.
$ac_objext \
10668 conftest
$ac_exeext conftest.
$ac_ext
10669 LIBS
=$ac_check_lib_save_LIBS
10671 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_GLU_gluLookAt" >&5
10672 $as_echo "$ac_cv_lib_GLU_gluLookAt" >&6; }
10673 if test "x$ac_cv_lib_GLU_gluLookAt" = xyes
; then :
10677 if test "x$ac_cv_lib_GLU_gluLookAt" != xyes
; then :
10678 case "x$with_glu" in
10679 x
) as_fn_append wine_notices
"|libGLU ${notice_platform}development files not found, GLU won't be supported." ;;
10681 *) as_fn_error $?
"libGLU ${notice_platform}development files not found, GLU won't be supported.
10682 This is an error since --with-glu was requested." "$LINENO" 5 ;;
10687 if test "x$with_osmesa" != "xno"
10689 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lOSMesa" >&5
10690 $as_echo_n "checking for -lOSMesa... " >&6; }
10691 if ${ac_cv_lib_soname_OSMesa+:} false
; then :
10692 $as_echo_n "(cached) " >&6
10694 ac_check_soname_save_LIBS
=$LIBS
10695 LIBS
="-lOSMesa $X_LIBS -lm $X_EXTRA_LIBS $LIBS"
10696 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10697 /* end confdefs.h. */
10699 /* Override any GCC internal prototype to avoid an error.
10700 Use char because int might match the return type of a GCC
10701 builtin and then its argument prototype would still apply. */
10714 if ac_fn_c_try_link
"$LINENO"; then :
10716 dll
) ac_cv_lib_soname_OSMesa
=`$ac_cv_path_LDD conftest.exe | grep "OSMesa" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10717 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'` ;;
10718 *) ac_cv_lib_soname_OSMesa
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libOSMesa\\.$LIBEXT" | sed -e "s/^.*\\[\\(libOSMesa\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10719 if ${ac_cv_lib_soname_OSMesa:+false} :; then :
10720 ac_cv_lib_soname_OSMesa
=`$LDD conftest$ac_exeext | grep "libOSMesa\\.$LIBEXT" | sed -e "s/^.*\(libOSMesa\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10724 rm -f core conftest.err conftest.
$ac_objext \
10725 conftest
$ac_exeext conftest.
$ac_ext
10726 LIBS
=$ac_check_soname_save_LIBS
10728 if ${ac_cv_lib_soname_OSMesa:+false} :; then :
10729 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10730 $as_echo "not found" >&6; }
10733 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_OSMesa" >&5
10734 $as_echo "$ac_cv_lib_soname_OSMesa" >&6; }
10736 cat >>confdefs.h
<<_ACEOF
10737 #define SONAME_LIBOSMESA "$ac_cv_lib_soname_OSMesa"
10742 if test "x$ac_cv_lib_soname_OSMesa" = "x"; then :
10743 case "x$with_osmesa" in
10744 x
) as_fn_append wine_notices
"|libOSMesa ${notice_platform}development files not found (or too old), OpenGL rendering in bitmaps won't be supported." ;;
10746 *) as_fn_error $?
"libOSMesa ${notice_platform}development files not found (or too old), OpenGL rendering in bitmaps won't be supported.
10747 This is an error since --with-osmesa was requested." "$LINENO" 5 ;;
10752 if test -n "$opengl_msg"; then :
10753 case "x$with_opengl" in
10754 x
) as_fn_append wine_warnings
"|$opengl_msg
10755 OpenGL and Direct3D won't be supported." ;;
10757 *) as_fn_error $?
"$opengl_msg
10758 OpenGL and Direct3D won't be supported.
10759 This is an error since --with-opengl was requested." "$LINENO" 5 ;;
10763 CPPFLAGS
="$ac_save_CPPFLAGS"
10767 enable_winex11_drv
=${enable_winex11_drv:-no}
10769 if test "x$X_LIBS" = "x"; then :
10772 *) as_fn_error $?
"X ${notice_platform}development files not found. Wine will be built
10773 without X support, which probably isn't what you want. You will need
10774 to install ${notice_platform}development packages of Xlib/Xfree86 at the very least.
10775 Use the --without-x option if you really want this." "$LINENO" 5 ;;
10779 test "x$ac_cv_lib_GLU_gluLookAt" != xyes
&& enable_glu32
=${enable_glu32:-no}
10781 if test "$ac_cv_header_CL_cl_h" = "yes"
10783 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for clGetPlatformInfo in -lOpenCL" >&5
10784 $as_echo_n "checking for clGetPlatformInfo in -lOpenCL... " >&6; }
10785 if ${ac_cv_lib_OpenCL_clGetPlatformInfo+:} false
; then :
10786 $as_echo_n "(cached) " >&6
10788 ac_check_lib_save_LIBS
=$LIBS
10789 LIBS
="-lOpenCL $LIBS"
10790 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10791 /* end confdefs.h. */
10793 /* Override any GCC internal prototype to avoid an error.
10794 Use char because int might match the return type of a GCC
10795 builtin and then its argument prototype would still apply. */
10799 char clGetPlatformInfo ();
10803 return clGetPlatformInfo ();
10808 if ac_fn_c_try_link
"$LINENO"; then :
10809 ac_cv_lib_OpenCL_clGetPlatformInfo
=yes
10811 ac_cv_lib_OpenCL_clGetPlatformInfo
=no
10813 rm -f core conftest.err conftest.
$ac_objext \
10814 conftest
$ac_exeext conftest.
$ac_ext
10815 LIBS
=$ac_check_lib_save_LIBS
10817 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_OpenCL_clGetPlatformInfo" >&5
10818 $as_echo "$ac_cv_lib_OpenCL_clGetPlatformInfo" >&6; }
10819 if test "x$ac_cv_lib_OpenCL_clGetPlatformInfo" = xyes
; then :
10820 OPENCL_LIBS
="-lOpenCL"
10825 if test "x$ac_cv_lib_OpenCL_clGetPlatformInfo" != xyes
; then :
10826 case "x$with_opencl" in
10827 x
) as_fn_append wine_notices
"|OpenCL ${notice_platform}development files not found, OpenCL won't be supported." ;;
10829 *) as_fn_error $?
"OpenCL ${notice_platform}development files not found, OpenCL won't be supported.
10830 This is an error since --with-opencl was requested." "$LINENO" 5 ;;
10833 test "x$ac_cv_lib_OpenCL_clGetPlatformInfo" != xyes
&& enable_opencl
=${enable_opencl:-no}
10835 if test "$ac_cv_header_pcap_pcap_h" = "yes"
10837 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pcap_create in -lpcap" >&5
10838 $as_echo_n "checking for pcap_create in -lpcap... " >&6; }
10839 if ${ac_cv_lib_pcap_pcap_create+:} false
; then :
10840 $as_echo_n "(cached) " >&6
10842 ac_check_lib_save_LIBS
=$LIBS
10843 LIBS
="-lpcap $LIBS"
10844 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10845 /* end confdefs.h. */
10847 /* Override any GCC internal prototype to avoid an error.
10848 Use char because int might match the return type of a GCC
10849 builtin and then its argument prototype would still apply. */
10853 char pcap_create ();
10857 return pcap_create ();
10862 if ac_fn_c_try_link
"$LINENO"; then :
10863 ac_cv_lib_pcap_pcap_create
=yes
10865 ac_cv_lib_pcap_pcap_create
=no
10867 rm -f core conftest.err conftest.
$ac_objext \
10868 conftest
$ac_exeext conftest.
$ac_ext
10869 LIBS
=$ac_check_lib_save_LIBS
10871 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_pcap_pcap_create" >&5
10872 $as_echo "$ac_cv_lib_pcap_pcap_create" >&6; }
10873 if test "x$ac_cv_lib_pcap_pcap_create" = xyes
; then :
10879 if test "x$ac_cv_lib_pcap_pcap_create" != xyes
; then :
10880 case "x$with_pcap" in
10881 x
) as_fn_append wine_notices
"|pcap ${notice_platform}development files not found, wpcap won't be supported." ;;
10883 *) as_fn_error $?
"pcap ${notice_platform}development files not found, wpcap won't be supported.
10884 This is an error since --with-pcap was requested." "$LINENO" 5 ;;
10887 test "x$ac_cv_lib_pcap_pcap_create" != xyes
&& enable_wpcap
=${enable_wpcap:-no}
10890 if test "x$with_xml" != "xno"
10892 if ${XML2_CFLAGS:+false} :; then :
10893 if ${PKG_CONFIG+:} false
; then :
10894 XML2_CFLAGS
=`$PKG_CONFIG --cflags libxml-2.0 2>/dev/null`
10897 test "$cross_compiling" = yes || XML2_CFLAGS
=${XML2_CFLAGS:-`xml2-config --cflags 2>/dev/null`}
10898 if ${XML2_LIBS:+false} :; then :
10899 if ${PKG_CONFIG+:} false
; then :
10900 XML2_LIBS
=`$PKG_CONFIG --libs libxml-2.0 2>/dev/null`
10903 test "$cross_compiling" = yes || XML2_LIBS
=${XML2_LIBS:-`xml2-config --libs 2>/dev/null`}
10904 XML2_LIBS
=${XML2_LIBS:-"-lxml2"}
10905 $as_echo "$as_me:${as_lineno-$LINENO}: libxml-2.0 cflags: $XML2_CFLAGS" >&5
10906 $as_echo "$as_me:${as_lineno-$LINENO}: libxml-2.0 libs: $XML2_LIBS" >&5
10907 ac_save_CPPFLAGS
=$CPPFLAGS
10908 CPPFLAGS
="$CPPFLAGS $XML2_CFLAGS"
10909 for ac_header
in libxml
/parser.h libxml
/xmlsave.h libxml
/SAX2.h
10911 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
10912 ac_fn_c_check_header_mongrel
"$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
10913 if eval test \"x\$
"$as_ac_Header"\" = x
"yes"; then :
10914 cat >>confdefs.h
<<_ACEOF
10915 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
10922 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"
10924 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlParseMemory in -lxml2" >&5
10925 $as_echo_n "checking for xmlParseMemory in -lxml2... " >&6; }
10926 if ${ac_cv_lib_xml2_xmlParseMemory+:} false
; then :
10927 $as_echo_n "(cached) " >&6
10929 ac_check_lib_save_LIBS
=$LIBS
10930 LIBS
="-lxml2 $XML2_LIBS $LIBS"
10931 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10932 /* end confdefs.h. */
10934 /* Override any GCC internal prototype to avoid an error.
10935 Use char because int might match the return type of a GCC
10936 builtin and then its argument prototype would still apply. */
10940 char xmlParseMemory ();
10944 return xmlParseMemory ();
10949 if ac_fn_c_try_link
"$LINENO"; then :
10950 ac_cv_lib_xml2_xmlParseMemory
=yes
10952 ac_cv_lib_xml2_xmlParseMemory
=no
10954 rm -f core conftest.err conftest.
$ac_objext \
10955 conftest
$ac_exeext conftest.
$ac_ext
10956 LIBS
=$ac_check_lib_save_LIBS
10958 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlParseMemory" >&5
10959 $as_echo "$ac_cv_lib_xml2_xmlParseMemory" >&6; }
10960 if test "x$ac_cv_lib_xml2_xmlParseMemory" = xyes
; then :
10962 $as_echo "#define HAVE_LIBXML2 1" >>confdefs.h
10968 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlReadMemory in -lxml2" >&5
10969 $as_echo_n "checking for xmlReadMemory in -lxml2... " >&6; }
10970 if ${ac_cv_lib_xml2_xmlReadMemory+:} false
; then :
10971 $as_echo_n "(cached) " >&6
10973 ac_check_lib_save_LIBS
=$LIBS
10974 LIBS
="-lxml2 $XML2_LIBS $LIBS"
10975 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10976 /* end confdefs.h. */
10978 /* Override any GCC internal prototype to avoid an error.
10979 Use char because int might match the return type of a GCC
10980 builtin and then its argument prototype would still apply. */
10984 char xmlReadMemory ();
10988 return xmlReadMemory ();
10993 if ac_fn_c_try_link
"$LINENO"; then :
10994 ac_cv_lib_xml2_xmlReadMemory
=yes
10996 ac_cv_lib_xml2_xmlReadMemory
=no
10998 rm -f core conftest.err conftest.
$ac_objext \
10999 conftest
$ac_exeext conftest.
$ac_ext
11000 LIBS
=$ac_check_lib_save_LIBS
11002 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlReadMemory" >&5
11003 $as_echo "$ac_cv_lib_xml2_xmlReadMemory" >&6; }
11004 if test "x$ac_cv_lib_xml2_xmlReadMemory" = xyes
; then :
11006 $as_echo "#define HAVE_XMLREADMEMORY 1" >>confdefs.h
11010 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlNewDocPI in -lxml2" >&5
11011 $as_echo_n "checking for xmlNewDocPI in -lxml2... " >&6; }
11012 if ${ac_cv_lib_xml2_xmlNewDocPI+:} false
; then :
11013 $as_echo_n "(cached) " >&6
11015 ac_check_lib_save_LIBS
=$LIBS
11016 LIBS
="-lxml2 $XML2_LIBS $LIBS"
11017 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11018 /* end confdefs.h. */
11020 /* Override any GCC internal prototype to avoid an error.
11021 Use char because int might match the return type of a GCC
11022 builtin and then its argument prototype would still apply. */
11026 char xmlNewDocPI ();
11030 return xmlNewDocPI ();
11035 if ac_fn_c_try_link
"$LINENO"; then :
11036 ac_cv_lib_xml2_xmlNewDocPI
=yes
11038 ac_cv_lib_xml2_xmlNewDocPI
=no
11040 rm -f core conftest.err conftest.
$ac_objext \
11041 conftest
$ac_exeext conftest.
$ac_ext
11042 LIBS
=$ac_check_lib_save_LIBS
11044 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlNewDocPI" >&5
11045 $as_echo "$ac_cv_lib_xml2_xmlNewDocPI" >&6; }
11046 if test "x$ac_cv_lib_xml2_xmlNewDocPI" = xyes
; then :
11048 $as_echo "#define HAVE_XMLNEWDOCPI 1" >>confdefs.h
11052 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlSchemaSetParserStructuredErrors in -lxml2" >&5
11053 $as_echo_n "checking for xmlSchemaSetParserStructuredErrors in -lxml2... " >&6; }
11054 if ${ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors+:} false
; then :
11055 $as_echo_n "(cached) " >&6
11057 ac_check_lib_save_LIBS
=$LIBS
11058 LIBS
="-lxml2 $XML2_LIBS $LIBS"
11059 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11060 /* end confdefs.h. */
11062 /* Override any GCC internal prototype to avoid an error.
11063 Use char because int might match the return type of a GCC
11064 builtin and then its argument prototype would still apply. */
11068 char xmlSchemaSetParserStructuredErrors ();
11072 return xmlSchemaSetParserStructuredErrors ();
11077 if ac_fn_c_try_link
"$LINENO"; then :
11078 ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors
=yes
11080 ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors
=no
11082 rm -f core conftest.err conftest.
$ac_objext \
11083 conftest
$ac_exeext conftest.
$ac_ext
11084 LIBS
=$ac_check_lib_save_LIBS
11086 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors" >&5
11087 $as_echo "$ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors" >&6; }
11088 if test "x$ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors" = xyes
; then :
11090 $as_echo "#define HAVE_XMLSCHEMASSETPARSERSTRUCTUREDERRORS 1" >>confdefs.h
11094 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlSchemaSetValidStructuredErrors in -lxml2" >&5
11095 $as_echo_n "checking for xmlSchemaSetValidStructuredErrors in -lxml2... " >&6; }
11096 if ${ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors+:} false
; then :
11097 $as_echo_n "(cached) " >&6
11099 ac_check_lib_save_LIBS
=$LIBS
11100 LIBS
="-lxml2 $XML2_LIBS $LIBS"
11101 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11102 /* end confdefs.h. */
11104 /* Override any GCC internal prototype to avoid an error.
11105 Use char because int might match the return type of a GCC
11106 builtin and then its argument prototype would still apply. */
11110 char xmlSchemaSetValidStructuredErrors ();
11114 return xmlSchemaSetValidStructuredErrors ();
11119 if ac_fn_c_try_link
"$LINENO"; then :
11120 ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors
=yes
11122 ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors
=no
11124 rm -f core conftest.err conftest.
$ac_objext \
11125 conftest
$ac_exeext conftest.
$ac_ext
11126 LIBS
=$ac_check_lib_save_LIBS
11128 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors" >&5
11129 $as_echo "$ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors" >&6; }
11130 if test "x$ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors" = xyes
; then :
11132 $as_echo "#define HAVE_XMLSCHEMASSETVALIDSTRUCTUREDERRORS 1" >>confdefs.h
11136 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlFirstElementChild in -lxml2" >&5
11137 $as_echo_n "checking for xmlFirstElementChild in -lxml2... " >&6; }
11138 if ${ac_cv_lib_xml2_xmlFirstElementChild+:} false
; then :
11139 $as_echo_n "(cached) " >&6
11141 ac_check_lib_save_LIBS
=$LIBS
11142 LIBS
="-lxml2 $XML2_LIBS $LIBS"
11143 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11144 /* end confdefs.h. */
11146 /* Override any GCC internal prototype to avoid an error.
11147 Use char because int might match the return type of a GCC
11148 builtin and then its argument prototype would still apply. */
11152 char xmlFirstElementChild ();
11156 return xmlFirstElementChild ();
11161 if ac_fn_c_try_link
"$LINENO"; then :
11162 ac_cv_lib_xml2_xmlFirstElementChild
=yes
11164 ac_cv_lib_xml2_xmlFirstElementChild
=no
11166 rm -f core conftest.err conftest.
$ac_objext \
11167 conftest
$ac_exeext conftest.
$ac_ext
11168 LIBS
=$ac_check_lib_save_LIBS
11170 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlFirstElementChild" >&5
11171 $as_echo "$ac_cv_lib_xml2_xmlFirstElementChild" >&6; }
11172 if test "x$ac_cv_lib_xml2_xmlFirstElementChild" = xyes
; then :
11174 $as_echo "#define HAVE_XMLFIRSTELEMENTCHILD 1" >>confdefs.h
11178 ac_fn_c_check_type
"$LINENO" "xmlDocProperties" "ac_cv_type_xmlDocProperties" "#include <libxml/tree.h>
11180 if test "x$ac_cv_type_xmlDocProperties" = xyes
; then :
11182 $as_echo "#define HAVE_XMLDOC_PROPERTIES 1" >>confdefs.h
11190 CPPFLAGS
=$ac_save_CPPFLAGS
11191 test -z "$XML2_CFLAGS" || XML2_CFLAGS
=`echo " $XML2_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
11192 test -z "$XML2_LIBS" || XML2_LIBS
=`echo " $XML2_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
11195 if test "$ac_cv_lib_xml2_xmlParseMemory" != "yes"; then :
11196 case "x$with_xml" in
11197 x
) as_fn_append wine_warnings
"|libxml2 ${notice_platform}development files not found (or too old), XML won't be supported." ;;
11199 *) as_fn_error $?
"libxml2 ${notice_platform}development files not found (or too old), XML won't be supported.
11200 This is an error since --with-xml was requested." "$LINENO" 5 ;;
11204 if test "x$with_xslt" != "xno"
11206 if ${XSLT_CFLAGS:+false} :; then :
11207 if ${PKG_CONFIG+:} false
; then :
11208 XSLT_CFLAGS
=`$PKG_CONFIG --cflags libxslt 2>/dev/null`
11211 test "$cross_compiling" = yes || XSLT_CFLAGS
=${XSLT_CFLAGS:-`xslt-config --cflags 2>/dev/null`}
11212 if ${XSLT_LIBS:+false} :; then :
11213 if ${PKG_CONFIG+:} false
; then :
11214 XSLT_LIBS
=`$PKG_CONFIG --libs libxslt 2>/dev/null`
11217 test "$cross_compiling" = yes || XSLT_LIBS
=${XSLT_LIBS:-`xslt-config --libs 2>/dev/null`}
11218 XSLT_LIBS
=${XSLT_LIBS:-"-lxml2"}
11219 $as_echo "$as_me:${as_lineno-$LINENO}: libxslt cflags: $XSLT_CFLAGS" >&5
11220 $as_echo "$as_me:${as_lineno-$LINENO}: libxslt libs: $XSLT_LIBS" >&5
11221 ac_save_CPPFLAGS
=$CPPFLAGS
11222 CPPFLAGS
="$CPPFLAGS $XSLT_CFLAGS"
11223 for ac_header
in libxslt
/pattern.h libxslt
/transform.h
11225 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
11226 ac_fn_c_check_header_compile
"$LINENO" "$ac_header" "$as_ac_Header" "#ifdef HAVE_LIBXSLT_PATTERN_H
11227 # include <libxslt/pattern.h>
11230 if eval test \"x\$
"$as_ac_Header"\" = x
"yes"; then :
11231 cat >>confdefs.h
<<_ACEOF
11232 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
11239 if test "$ac_cv_header_libxslt_transform_h" = "yes"
11241 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lxslt" >&5
11242 $as_echo_n "checking for -lxslt... " >&6; }
11243 if ${ac_cv_lib_soname_xslt+:} false
; then :
11244 $as_echo_n "(cached) " >&6
11246 ac_check_soname_save_LIBS
=$LIBS
11247 LIBS
="-lxslt $XSLT_LIBS $LIBS"
11248 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11249 /* end confdefs.h. */
11251 /* Override any GCC internal prototype to avoid an error.
11252 Use char because int might match the return type of a GCC
11253 builtin and then its argument prototype would still apply. */
11257 char xsltCompilePattern ();
11261 return xsltCompilePattern ();
11266 if ac_fn_c_try_link
"$LINENO"; then :
11268 dll
) ac_cv_lib_soname_xslt
=`$ac_cv_path_LDD conftest.exe | grep "xslt" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11269 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'` ;;
11270 *) ac_cv_lib_soname_xslt
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libxslt\\.$LIBEXT" | sed -e "s/^.*\\[\\(libxslt\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
11271 if ${ac_cv_lib_soname_xslt:+false} :; then :
11272 ac_cv_lib_soname_xslt
=`$LDD conftest$ac_exeext | grep "libxslt\\.$LIBEXT" | sed -e "s/^.*\(libxslt\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11276 rm -f core conftest.err conftest.
$ac_objext \
11277 conftest
$ac_exeext conftest.
$ac_ext
11278 LIBS
=$ac_check_soname_save_LIBS
11280 if ${ac_cv_lib_soname_xslt:+false} :; then :
11281 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11282 $as_echo "not found" >&6; }
11285 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_xslt" >&5
11286 $as_echo "$ac_cv_lib_soname_xslt" >&6; }
11288 cat >>confdefs.h
<<_ACEOF
11289 #define SONAME_LIBXSLT "$ac_cv_lib_soname_xslt"
11297 CPPFLAGS
=$ac_save_CPPFLAGS
11298 test -z "$XSLT_CFLAGS" || XSLT_CFLAGS
=`echo " $XSLT_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
11299 test -z "$XSLT_LIBS" || XSLT_LIBS
=`echo " $XSLT_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
11302 if test "x$ac_cv_lib_soname_xslt" = "x"; then :
11303 case "x$with_xslt" in
11304 x
) as_fn_append wine_warnings
"|libxslt ${notice_platform}development files not found, xslt won't be supported." ;;
11306 *) as_fn_error $?
"libxslt ${notice_platform}development files not found, xslt won't be supported.
11307 This is an error since --with-xslt was requested." "$LINENO" 5 ;;
11311 if test "x$with_dbus" != "xno"
11313 if ${DBUS_CFLAGS:+false} :; then :
11314 if ${PKG_CONFIG+:} false
; then :
11315 DBUS_CFLAGS
=`$PKG_CONFIG --cflags dbus-1 2>/dev/null`
11319 if ${DBUS_LIBS:+false} :; then :
11320 if ${PKG_CONFIG+:} false
; then :
11321 DBUS_LIBS
=`$PKG_CONFIG --libs dbus-1 2>/dev/null`
11326 $as_echo "$as_me:${as_lineno-$LINENO}: dbus-1 cflags: $DBUS_CFLAGS" >&5
11327 $as_echo "$as_me:${as_lineno-$LINENO}: dbus-1 libs: $DBUS_LIBS" >&5
11328 ac_save_CPPFLAGS
=$CPPFLAGS
11329 CPPFLAGS
="$CPPFLAGS $DBUS_CFLAGS"
11330 ac_fn_c_check_header_mongrel
"$LINENO" "dbus/dbus.h" "ac_cv_header_dbus_dbus_h" "$ac_includes_default"
11331 if test "x$ac_cv_header_dbus_dbus_h" = xyes
; then :
11332 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -ldbus-1" >&5
11333 $as_echo_n "checking for -ldbus-1... " >&6; }
11334 if ${ac_cv_lib_soname_dbus_1+:} false
; then :
11335 $as_echo_n "(cached) " >&6
11337 ac_check_soname_save_LIBS
=$LIBS
11338 LIBS
="-ldbus-1 $DBUS_LIBS $LIBS"
11339 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11340 /* end confdefs.h. */
11342 /* Override any GCC internal prototype to avoid an error.
11343 Use char because int might match the return type of a GCC
11344 builtin and then its argument prototype would still apply. */
11348 char dbus_connection_close ();
11352 return dbus_connection_close ();
11357 if ac_fn_c_try_link
"$LINENO"; then :
11359 dll
) ac_cv_lib_soname_dbus_1
=`$ac_cv_path_LDD conftest.exe | grep "dbus-1" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11360 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'` ;;
11361 *) 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'`
11362 if ${ac_cv_lib_soname_dbus_1:+false} :; then :
11363 ac_cv_lib_soname_dbus_1
=`$LDD conftest$ac_exeext | grep "libdbus-1\\.$LIBEXT" | sed -e "s/^.*\(libdbus-1\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11367 rm -f core conftest.err conftest.
$ac_objext \
11368 conftest
$ac_exeext conftest.
$ac_ext
11369 LIBS
=$ac_check_soname_save_LIBS
11371 if ${ac_cv_lib_soname_dbus_1:+false} :; then :
11372 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11373 $as_echo "not found" >&6; }
11376 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_dbus_1" >&5
11377 $as_echo "$ac_cv_lib_soname_dbus_1" >&6; }
11379 cat >>confdefs.h
<<_ACEOF
11380 #define SONAME_LIBDBUS_1 "$ac_cv_lib_soname_dbus_1"
11390 CPPFLAGS
=$ac_save_CPPFLAGS
11391 test -z "$DBUS_CFLAGS" || DBUS_CFLAGS
=`echo " $DBUS_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
11392 test -z "$DBUS_LIBS" || DBUS_LIBS
=`echo " $DBUS_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
11395 if test "x$ac_cv_lib_soname_dbus_1" = "x" -a \
11396 "x$ac_cv_header_DiskArbitration_DiskArbitration_h" != "xyes"; then :
11397 case "x$with_dbus" in
11398 x
) as_fn_append wine_notices
"|libdbus ${notice_platform}development files not found, no dynamic device support." ;;
11400 *) as_fn_error $?
"libdbus ${notice_platform}development files not found, no dynamic device support.
11401 This is an error since --with-dbus was requested." "$LINENO" 5 ;;
11405 if test "x$with_hal" != "xno" -a "x$ac_cv_lib_soname_dbus_1" != x
11407 if ${HAL_CFLAGS:+false} :; then :
11408 if ${PKG_CONFIG+:} false
; then :
11409 HAL_CFLAGS
=`$PKG_CONFIG --cflags hal 2>/dev/null`
11413 if ${HAL_LIBS:+false} :; then :
11414 if ${PKG_CONFIG+:} false
; then :
11415 HAL_LIBS
=`$PKG_CONFIG --libs hal 2>/dev/null`
11419 HAL_LIBS
=${HAL_LIBS:-"-ldbus-1"}
11420 $as_echo "$as_me:${as_lineno-$LINENO}: hal cflags: $HAL_CFLAGS" >&5
11421 $as_echo "$as_me:${as_lineno-$LINENO}: hal libs: $HAL_LIBS" >&5
11422 ac_save_CPPFLAGS
=$CPPFLAGS
11423 CPPFLAGS
="$CPPFLAGS $HAL_CFLAGS"
11424 ac_fn_c_check_header_mongrel
"$LINENO" "hal/libhal.h" "ac_cv_header_hal_libhal_h" "$ac_includes_default"
11425 if test "x$ac_cv_header_hal_libhal_h" = xyes
; then :
11426 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lhal" >&5
11427 $as_echo_n "checking for -lhal... " >&6; }
11428 if ${ac_cv_lib_soname_hal+:} false
; then :
11429 $as_echo_n "(cached) " >&6
11431 ac_check_soname_save_LIBS
=$LIBS
11432 LIBS
="-lhal $HAL_LIBS $LIBS"
11433 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11434 /* end confdefs.h. */
11436 /* Override any GCC internal prototype to avoid an error.
11437 Use char because int might match the return type of a GCC
11438 builtin and then its argument prototype would still apply. */
11442 char libhal_ctx_new ();
11446 return libhal_ctx_new ();
11451 if ac_fn_c_try_link
"$LINENO"; then :
11453 dll
) ac_cv_lib_soname_hal
=`$ac_cv_path_LDD conftest.exe | grep "hal" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11454 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'` ;;
11455 *) ac_cv_lib_soname_hal
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libhal\\.$LIBEXT" | sed -e "s/^.*\\[\\(libhal\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
11456 if ${ac_cv_lib_soname_hal:+false} :; then :
11457 ac_cv_lib_soname_hal
=`$LDD conftest$ac_exeext | grep "libhal\\.$LIBEXT" | sed -e "s/^.*\(libhal\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11461 rm -f core conftest.err conftest.
$ac_objext \
11462 conftest
$ac_exeext conftest.
$ac_ext
11463 LIBS
=$ac_check_soname_save_LIBS
11465 if ${ac_cv_lib_soname_hal:+false} :; then :
11466 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11467 $as_echo "not found" >&6; }
11470 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_hal" >&5
11471 $as_echo "$ac_cv_lib_soname_hal" >&6; }
11473 cat >>confdefs.h
<<_ACEOF
11474 #define SONAME_LIBHAL "$ac_cv_lib_soname_hal"
11484 CPPFLAGS
=$ac_save_CPPFLAGS
11485 test -z "$HAL_CFLAGS" || HAL_CFLAGS
=`echo " $HAL_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
11486 test -z "$HAL_LIBS" || HAL_LIBS
=`echo " $HAL_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
11488 if test "x$ac_cv_lib_soname_hal" = "x" -a \
11489 "x$ac_cv_header_DiskArbitration_DiskArbitration_h" != "xyes"; then :
11490 case "x$with_hal" in
11491 x
) as_fn_append wine_notices
"|libhal ${notice_platform}development files not found, no legacy dynamic device support." ;;
11493 *) as_fn_error $?
"libhal ${notice_platform}development files not found, no legacy dynamic device support.
11494 This is an error since --with-hal was requested." "$LINENO" 5 ;;
11499 if test "x$with_gnutls" != "xno"
11501 if ${GNUTLS_CFLAGS:+false} :; then :
11502 if ${PKG_CONFIG+:} false
; then :
11503 GNUTLS_CFLAGS
=`$PKG_CONFIG --cflags gnutls 2>/dev/null`
11507 if ${GNUTLS_LIBS:+false} :; then :
11508 if ${PKG_CONFIG+:} false
; then :
11509 GNUTLS_LIBS
=`$PKG_CONFIG --libs gnutls 2>/dev/null`
11514 $as_echo "$as_me:${as_lineno-$LINENO}: gnutls cflags: $GNUTLS_CFLAGS" >&5
11515 $as_echo "$as_me:${as_lineno-$LINENO}: gnutls libs: $GNUTLS_LIBS" >&5
11516 ac_save_CPPFLAGS
=$CPPFLAGS
11517 CPPFLAGS
="$CPPFLAGS $GNUTLS_CFLAGS"
11518 ac_fn_c_check_header_mongrel
"$LINENO" "gnutls/gnutls.h" "ac_cv_header_gnutls_gnutls_h" "$ac_includes_default"
11519 if test "x$ac_cv_header_gnutls_gnutls_h" = xyes
; then :
11520 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11521 /* end confdefs.h. */
11522 #include <gnutls/gnutls.h>
11523 #include <gnutls/crypto.h>
11527 static typeof(gnutls_mac_get_key_size) *func; if (func) return 0;
11532 if ac_fn_c_try_compile
"$LINENO"; then :
11533 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lgnutls" >&5
11534 $as_echo_n "checking for -lgnutls... " >&6; }
11535 if ${ac_cv_lib_soname_gnutls+:} false
; then :
11536 $as_echo_n "(cached) " >&6
11538 ac_check_soname_save_LIBS
=$LIBS
11539 LIBS
="-lgnutls $GNUTLS_LIBS $LIBS"
11540 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11541 /* end confdefs.h. */
11543 /* Override any GCC internal prototype to avoid an error.
11544 Use char because int might match the return type of a GCC
11545 builtin and then its argument prototype would still apply. */
11549 char gnutls_global_init ();
11553 return gnutls_global_init ();
11558 if ac_fn_c_try_link
"$LINENO"; then :
11560 dll
) ac_cv_lib_soname_gnutls
=`$ac_cv_path_LDD conftest.exe | grep "gnutls" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11561 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'` ;;
11562 *) 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'`
11563 if ${ac_cv_lib_soname_gnutls:+false} :; then :
11564 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'`
11568 rm -f core conftest.err conftest.
$ac_objext \
11569 conftest
$ac_exeext conftest.
$ac_ext
11570 LIBS
=$ac_check_soname_save_LIBS
11572 if ${ac_cv_lib_soname_gnutls:+false} :; then :
11573 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11574 $as_echo "not found" >&6; }
11577 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_gnutls" >&5
11578 $as_echo "$ac_cv_lib_soname_gnutls" >&6; }
11580 cat >>confdefs.h
<<_ACEOF
11581 #define SONAME_LIBGNUTLS "$ac_cv_lib_soname_gnutls"
11587 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
11593 CPPFLAGS
=$ac_save_CPPFLAGS
11594 test -z "$GNUTLS_CFLAGS" || GNUTLS_CFLAGS
=`echo " $GNUTLS_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
11595 test -z "$GNUTLS_LIBS" || GNUTLS_LIBS
=`echo " $GNUTLS_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
11598 if test "x$ac_cv_lib_soname_gnutls" = "x"; then :
11599 case "x$with_gnutls" in
11600 x
) as_fn_append wine_warnings
"|libgnutls ${notice_platform}development files not found, no schannel support." ;;
11602 *) as_fn_error $?
"libgnutls ${notice_platform}development files not found, no schannel support.
11603 This is an error since --with-gnutls was requested." "$LINENO" 5 ;;
11608 if test "$ac_cv_header_ncurses_h" = "yes"
11610 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lncurses" >&5
11611 $as_echo_n "checking for -lncurses... " >&6; }
11612 if ${ac_cv_lib_soname_ncurses+:} false
; then :
11613 $as_echo_n "(cached) " >&6
11615 ac_check_soname_save_LIBS
=$LIBS
11616 LIBS
="-lncurses $LIBS"
11617 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11618 /* end confdefs.h. */
11620 /* Override any GCC internal prototype to avoid an error.
11621 Use char because int might match the return type of a GCC
11622 builtin and then its argument prototype would still apply. */
11635 if ac_fn_c_try_link
"$LINENO"; then :
11637 dll
) ac_cv_lib_soname_ncurses
=`$ac_cv_path_LDD conftest.exe | grep "ncurses" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11638 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'` ;;
11639 *) 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'`
11640 if ${ac_cv_lib_soname_ncurses:+false} :; then :
11641 ac_cv_lib_soname_ncurses
=`$LDD conftest$ac_exeext | grep "libncursesw\\{0,1\\}\\.$LIBEXT" | sed -e "s/^.*\(libncursesw\\{0,1\\}\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11645 rm -f core conftest.err conftest.
$ac_objext \
11646 conftest
$ac_exeext conftest.
$ac_ext
11647 LIBS
=$ac_check_soname_save_LIBS
11649 if ${ac_cv_lib_soname_ncurses:+false} :; then :
11650 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11651 $as_echo "not found" >&6; }
11654 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_ncurses" >&5
11655 $as_echo "$ac_cv_lib_soname_ncurses" >&6; }
11657 cat >>confdefs.h
<<_ACEOF
11658 #define SONAME_LIBNCURSES "$ac_cv_lib_soname_ncurses"
11661 CURSES_LIBS
="-lncurses"
11663 elif test "$ac_cv_header_curses_h" = "yes"
11665 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lcurses" >&5
11666 $as_echo_n "checking for -lcurses... " >&6; }
11667 if ${ac_cv_lib_soname_curses+:} false
; then :
11668 $as_echo_n "(cached) " >&6
11670 ac_check_soname_save_LIBS
=$LIBS
11671 LIBS
="-lcurses $LIBS"
11672 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11673 /* end confdefs.h. */
11675 /* Override any GCC internal prototype to avoid an error.
11676 Use char because int might match the return type of a GCC
11677 builtin and then its argument prototype would still apply. */
11690 if ac_fn_c_try_link
"$LINENO"; then :
11692 dll
) ac_cv_lib_soname_curses
=`$ac_cv_path_LDD conftest.exe | grep "curses" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11693 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'` ;;
11694 *) ac_cv_lib_soname_curses
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libcurses\\.$LIBEXT" | sed -e "s/^.*\\[\\(libcurses\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
11695 if ${ac_cv_lib_soname_curses:+false} :; then :
11696 ac_cv_lib_soname_curses
=`$LDD conftest$ac_exeext | grep "libcurses\\.$LIBEXT" | sed -e "s/^.*\(libcurses\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11700 rm -f core conftest.err conftest.
$ac_objext \
11701 conftest
$ac_exeext conftest.
$ac_ext
11702 LIBS
=$ac_check_soname_save_LIBS
11704 if ${ac_cv_lib_soname_curses:+false} :; then :
11705 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11706 $as_echo "not found" >&6; }
11709 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_curses" >&5
11710 $as_echo "$ac_cv_lib_soname_curses" >&6; }
11712 cat >>confdefs.h
<<_ACEOF
11713 #define SONAME_LIBCURSES "$ac_cv_lib_soname_curses"
11716 CURSES_LIBS
="-lcurses"
11719 ac_save_LIBS
="$LIBS"
11720 LIBS
="$LIBS $CURSES_LIBS"
11721 for ac_func
in mousemask
11723 ac_fn_c_check_func
"$LINENO" "mousemask" "ac_cv_func_mousemask"
11724 if test "x$ac_cv_func_mousemask" = xyes
; then :
11725 cat >>confdefs.h
<<_ACEOF
11726 #define HAVE_MOUSEMASK 1
11732 LIBS
="$ac_save_LIBS"
11733 if test "x$ac_cv_lib_soname_curses$ac_cv_lib_soname_ncurses" = "x"; then :
11734 case "x$with_curses" in
11735 x
) as_fn_append wine_notices
"|lib(n)curses ${notice_platform}development files not found, curses won't be supported." ;;
11737 *) as_fn_error $?
"lib(n)curses ${notice_platform}development files not found, curses won't be supported.
11738 This is an error since --with-curses was requested." "$LINENO" 5 ;;
11742 if test "x$with_sane" != "xno"
11744 if ${SANE_CFLAGS:+false} :; then :
11745 if ${PKG_CONFIG+:} false
; then :
11746 SANE_CFLAGS
=`$PKG_CONFIG --cflags libsane 2>/dev/null`
11749 test "$cross_compiling" = yes || SANE_CFLAGS
=${SANE_CFLAGS:-`sane-config --cflags 2>/dev/null`}
11750 if ${SANE_LIBS:+false} :; then :
11751 if ${PKG_CONFIG+:} false
; then :
11752 SANE_LIBS
=`$PKG_CONFIG --libs libsane 2>/dev/null`
11755 test "$cross_compiling" = yes || SANE_LIBS
=${SANE_LIBS:-`sane-config --ldflags 2>/dev/null`}
11757 $as_echo "$as_me:${as_lineno-$LINENO}: libsane cflags: $SANE_CFLAGS" >&5
11758 $as_echo "$as_me:${as_lineno-$LINENO}: libsane libs: $SANE_LIBS" >&5
11759 ac_save_CPPFLAGS
=$CPPFLAGS
11760 CPPFLAGS
="$CPPFLAGS $SANE_CFLAGS"
11761 ac_fn_c_check_header_mongrel
"$LINENO" "sane/sane.h" "ac_cv_header_sane_sane_h" "$ac_includes_default"
11762 if test "x$ac_cv_header_sane_sane_h" = xyes
; then :
11763 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lsane" >&5
11764 $as_echo_n "checking for -lsane... " >&6; }
11765 if ${ac_cv_lib_soname_sane+:} false
; then :
11766 $as_echo_n "(cached) " >&6
11768 ac_check_soname_save_LIBS
=$LIBS
11769 LIBS
="-lsane $SANE_LIBS $LIBS"
11770 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11771 /* end confdefs.h. */
11773 /* Override any GCC internal prototype to avoid an error.
11774 Use char because int might match the return type of a GCC
11775 builtin and then its argument prototype would still apply. */
11783 return sane_init ();
11788 if ac_fn_c_try_link
"$LINENO"; then :
11790 dll
) ac_cv_lib_soname_sane
=`$ac_cv_path_LDD conftest.exe | grep "sane" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11791 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'` ;;
11792 *) ac_cv_lib_soname_sane
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libsane\\.$LIBEXT" | sed -e "s/^.*\\[\\(libsane\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
11793 if ${ac_cv_lib_soname_sane:+false} :; then :
11794 ac_cv_lib_soname_sane
=`$LDD conftest$ac_exeext | grep "libsane\\.$LIBEXT" | sed -e "s/^.*\(libsane\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11798 rm -f core conftest.err conftest.
$ac_objext \
11799 conftest
$ac_exeext conftest.
$ac_ext
11800 LIBS
=$ac_check_soname_save_LIBS
11802 if ${ac_cv_lib_soname_sane:+false} :; then :
11803 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11804 $as_echo "not found" >&6; }
11807 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_sane" >&5
11808 $as_echo "$ac_cv_lib_soname_sane" >&6; }
11810 cat >>confdefs.h
<<_ACEOF
11811 #define SONAME_LIBSANE "$ac_cv_lib_soname_sane"
11821 CPPFLAGS
=$ac_save_CPPFLAGS
11822 test -z "$SANE_CFLAGS" || SANE_CFLAGS
=`echo " $SANE_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
11823 test -z "$SANE_LIBS" || SANE_LIBS
=`echo " $SANE_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
11826 if test "x$ac_cv_lib_soname_sane" = "x"; then :
11827 case "x$with_sane" in
11828 x
) as_fn_append wine_notices
"|libsane ${notice_platform}development files not found, scanners won't be supported." ;;
11830 *) as_fn_error $?
"libsane ${notice_platform}development files not found, scanners won't be supported.
11831 This is an error since --with-sane was requested." "$LINENO" 5 ;;
11835 if test "x$with_v4l" != "xno"
11837 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lv4l1" >&5
11838 $as_echo_n "checking for -lv4l1... " >&6; }
11839 if ${ac_cv_lib_soname_v4l1+:} false
; then :
11840 $as_echo_n "(cached) " >&6
11842 ac_check_soname_save_LIBS
=$LIBS
11843 LIBS
="-lv4l1 $LIBS"
11844 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11845 /* end confdefs.h. */
11847 /* Override any GCC internal prototype to avoid an error.
11848 Use char because int might match the return type of a GCC
11849 builtin and then its argument prototype would still apply. */
11857 return v4l1_open ();
11862 if ac_fn_c_try_link
"$LINENO"; then :
11864 dll
) ac_cv_lib_soname_v4l1
=`$ac_cv_path_LDD conftest.exe | grep "v4l1" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11865 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'` ;;
11866 *) ac_cv_lib_soname_v4l1
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libv4l1\\.$LIBEXT" | sed -e "s/^.*\\[\\(libv4l1\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
11867 if ${ac_cv_lib_soname_v4l1:+false} :; then :
11868 ac_cv_lib_soname_v4l1
=`$LDD conftest$ac_exeext | grep "libv4l1\\.$LIBEXT" | sed -e "s/^.*\(libv4l1\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11872 rm -f core conftest.err conftest.
$ac_objext \
11873 conftest
$ac_exeext conftest.
$ac_ext
11874 LIBS
=$ac_check_soname_save_LIBS
11876 if ${ac_cv_lib_soname_v4l1:+false} :; then :
11877 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11878 $as_echo "not found" >&6; }
11881 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_v4l1" >&5
11882 $as_echo "$ac_cv_lib_soname_v4l1" >&6; }
11884 cat >>confdefs.h
<<_ACEOF
11885 #define SONAME_LIBV4L1 "$ac_cv_lib_soname_v4l1"
11891 if test "x$ac_cv_lib_soname_v4l1" = "x"; then :
11892 case "x$with_v4l" in
11893 x
) as_fn_append wine_notices
"|libv4l ${notice_platform}development files not found." ;;
11895 *) as_fn_error $?
"libv4l ${notice_platform}development files not found.
11896 This is an error since --with-v4l was requested." "$LINENO" 5 ;;
11900 if test "x$with_gphoto" != "xno"
11902 if ${GPHOTO2_CFLAGS:+false} :; then :
11903 if ${PKG_CONFIG+:} false
; then :
11904 GPHOTO2_CFLAGS
=`$PKG_CONFIG --cflags libgphoto2 2>/dev/null`
11907 test "$cross_compiling" = yes || GPHOTO2_CFLAGS
=${GPHOTO2_CFLAGS:-`gphoto2-config --cflags 2>/dev/null`}
11908 if ${GPHOTO2_LIBS:+false} :; then :
11909 if ${PKG_CONFIG+:} false
; then :
11910 GPHOTO2_LIBS
=`$PKG_CONFIG --libs libgphoto2 2>/dev/null`
11913 test "$cross_compiling" = yes || GPHOTO2_LIBS
=${GPHOTO2_LIBS:-`gphoto2-config --libs 2>/dev/null`}
11914 GPHOTO2_LIBS
=${GPHOTO2_LIBS:-"-lgphoto2"}
11915 $as_echo "$as_me:${as_lineno-$LINENO}: libgphoto2 cflags: $GPHOTO2_CFLAGS" >&5
11916 $as_echo "$as_me:${as_lineno-$LINENO}: libgphoto2 libs: $GPHOTO2_LIBS" >&5
11917 ac_save_CPPFLAGS
=$CPPFLAGS
11918 CPPFLAGS
="$CPPFLAGS $GPHOTO2_CFLAGS"
11919 ac_fn_c_check_header_mongrel
"$LINENO" "gphoto2-camera.h" "ac_cv_header_gphoto2_camera_h" "$ac_includes_default"
11920 if test "x$ac_cv_header_gphoto2_camera_h" = xyes
; then :
11921 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gp_camera_new in -lgphoto2" >&5
11922 $as_echo_n "checking for gp_camera_new in -lgphoto2... " >&6; }
11923 if ${ac_cv_lib_gphoto2_gp_camera_new+:} false
; then :
11924 $as_echo_n "(cached) " >&6
11926 ac_check_lib_save_LIBS
=$LIBS
11927 LIBS
="-lgphoto2 $GPHOTO2_LIBS $LIBS"
11928 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11929 /* end confdefs.h. */
11931 /* Override any GCC internal prototype to avoid an error.
11932 Use char because int might match the return type of a GCC
11933 builtin and then its argument prototype would still apply. */
11937 char gp_camera_new ();
11941 return gp_camera_new ();
11946 if ac_fn_c_try_link
"$LINENO"; then :
11947 ac_cv_lib_gphoto2_gp_camera_new
=yes
11949 ac_cv_lib_gphoto2_gp_camera_new
=no
11951 rm -f core conftest.err conftest.
$ac_objext \
11952 conftest
$ac_exeext conftest.
$ac_ext
11953 LIBS
=$ac_check_lib_save_LIBS
11955 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gphoto2_gp_camera_new" >&5
11956 $as_echo "$ac_cv_lib_gphoto2_gp_camera_new" >&6; }
11957 if test "x$ac_cv_lib_gphoto2_gp_camera_new" = xyes
; then :
11959 $as_echo "#define HAVE_GPHOTO2 1" >>confdefs.h
11962 GPHOTO2_LIBS
=""; GPHOTO2_CFLAGS
=""
11966 GPHOTO2_LIBS
=""; GPHOTO2_CFLAGS
=""
11970 CPPFLAGS
=$ac_save_CPPFLAGS
11971 test -z "$GPHOTO2_CFLAGS" || GPHOTO2_CFLAGS
=`echo " $GPHOTO2_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
11972 test -z "$GPHOTO2_LIBS" || GPHOTO2_LIBS
=`echo " $GPHOTO2_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
11974 if ${GPHOTO2_PORT_CFLAGS:+false} :; then :
11975 if ${PKG_CONFIG+:} false
; then :
11976 GPHOTO2_PORT_CFLAGS
=`$PKG_CONFIG --cflags libgphoto2_port 2>/dev/null`
11979 test "$cross_compiling" = yes || GPHOTO2_PORT_CFLAGS
=${GPHOTO2_PORT_CFLAGS:-`gphoto2-port-config --cflags 2>/dev/null`}
11980 if ${GPHOTO2_PORT_LIBS:+false} :; then :
11981 if ${PKG_CONFIG+:} false
; then :
11982 GPHOTO2_PORT_LIBS
=`$PKG_CONFIG --libs libgphoto2_port 2>/dev/null`
11985 test "$cross_compiling" = yes || GPHOTO2_PORT_LIBS
=${GPHOTO2_PORT_LIBS:-`gphoto2-port-config --libs 2>/dev/null`}
11986 GPHOTO2_PORT_LIBS
=${GPHOTO2_PORT_LIBS:-"-lgphoto2_port"}
11987 $as_echo "$as_me:${as_lineno-$LINENO}: libgphoto2_port cflags: $GPHOTO2_PORT_CFLAGS" >&5
11988 $as_echo "$as_me:${as_lineno-$LINENO}: libgphoto2_port libs: $GPHOTO2_PORT_LIBS" >&5
11989 ac_save_CPPFLAGS
=$CPPFLAGS
11990 CPPFLAGS
="$CPPFLAGS $GPHOTO2_PORT_CFLAGS"
11991 ac_fn_c_check_header_mongrel
"$LINENO" "gphoto2-port.h" "ac_cv_header_gphoto2_port_h" "$ac_includes_default"
11992 if test "x$ac_cv_header_gphoto2_port_h" = xyes
; then :
11993 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gp_port_info_list_new in -lgphoto2_port" >&5
11994 $as_echo_n "checking for gp_port_info_list_new in -lgphoto2_port... " >&6; }
11995 if ${ac_cv_lib_gphoto2_port_gp_port_info_list_new+:} false
; then :
11996 $as_echo_n "(cached) " >&6
11998 ac_check_lib_save_LIBS
=$LIBS
11999 LIBS
="-lgphoto2_port $GPHOTO2_PORT_LIBS $LIBS"
12000 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12001 /* end confdefs.h. */
12003 /* Override any GCC internal prototype to avoid an error.
12004 Use char because int might match the return type of a GCC
12005 builtin and then its argument prototype would still apply. */
12009 char gp_port_info_list_new ();
12013 return gp_port_info_list_new ();
12018 if ac_fn_c_try_link
"$LINENO"; then :
12019 ac_cv_lib_gphoto2_port_gp_port_info_list_new
=yes
12021 ac_cv_lib_gphoto2_port_gp_port_info_list_new
=no
12023 rm -f core conftest.err conftest.
$ac_objext \
12024 conftest
$ac_exeext conftest.
$ac_ext
12025 LIBS
=$ac_check_lib_save_LIBS
12027 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gphoto2_port_gp_port_info_list_new" >&5
12028 $as_echo "$ac_cv_lib_gphoto2_port_gp_port_info_list_new" >&6; }
12029 if test "x$ac_cv_lib_gphoto2_port_gp_port_info_list_new" = xyes
; then :
12031 $as_echo "#define HAVE_GPHOTO2_PORT 1" >>confdefs.h
12034 GPHOTO2_PORT_LIBS
=""; GPHOTO2_PORT_CFLAGS
=""
12038 GPHOTO2_PORT_LIBS
=""; GPHOTO2_PORT_CFLAGS
=""
12042 CPPFLAGS
=$ac_save_CPPFLAGS
12043 test -z "$GPHOTO2_PORT_CFLAGS" || GPHOTO2_PORT_CFLAGS
=`echo " $GPHOTO2_PORT_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
12044 test -z "$GPHOTO2_PORT_LIBS" || GPHOTO2_PORT_LIBS
=`echo " $GPHOTO2_PORT_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
12047 if test "$ac_cv_lib_gphoto2_gp_camera_new" != "yes"; then :
12048 case "x$with_gphoto" in
12049 x
) as_fn_append wine_notices
"|libgphoto2 ${notice_platform}development files not found, digital cameras won't be supported." ;;
12051 *) as_fn_error $?
"libgphoto2 ${notice_platform}development files not found, digital cameras won't be supported.
12052 This is an error since --with-gphoto was requested." "$LINENO" 5 ;;
12055 if test "$ac_cv_lib_gphoto2_port_gp_port_info_list_new" != "yes"; then :
12056 case "x$with_gphoto" in
12057 x
) as_fn_append wine_notices
"|libgphoto2_port ${notice_platform}development files not found, digital cameras won't be auto-detected." ;;
12059 *) as_fn_error $?
"libgphoto2_port ${notice_platform}development files not found, digital cameras won't be auto-detected.
12060 This is an error since --with-gphoto was requested." "$LINENO" 5 ;;
12065 if test "$ac_cv_header_resolv_h" = "yes"
12067 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for resolver library" >&5
12068 $as_echo_n "checking for resolver library... " >&6; }
12069 if ${ac_cv_have_resolv+:} false
; then :
12070 $as_echo_n "(cached) " >&6
12072 ac_save_LIBS
="$LIBS"
12073 for lib
in '' -lresolv
12075 LIBS
="$lib $ac_save_LIBS"
12076 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12077 /* end confdefs.h. */
12078 #ifdef HAVE_NETINET_IN_H
12079 #include <netinet/in.h>
12081 #include <resolv.h>
12085 if (!(_res.options & RES_INIT)) res_init(); res_query("foo",ns_c_in,0,0,0)
12090 if ac_fn_c_try_link
"$LINENO"; then :
12091 ac_cv_have_resolv
=${lib:-"none required"}
12093 ac_cv_have_resolv
="not found"
12095 rm -f core conftest.err conftest.
$ac_objext \
12096 conftest
$ac_exeext conftest.
$ac_ext
12097 test "x$ac_cv_have_resolv" = "xnot found" ||
break
12099 LIBS
="$ac_save_LIBS"
12101 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_resolv" >&5
12102 $as_echo "$ac_cv_have_resolv" >&6; }
12104 case "$ac_cv_have_resolv" in
12108 $as_echo "#define HAVE_RESOLV 1" >>confdefs.h
12111 $as_echo "#define HAVE_RESOLV 1" >>confdefs.h
12113 RESOLV_LIBS
=$ac_cv_have_resolv
12118 if test "x$with_cms" != "xno"
12120 if ${LCMS2_CFLAGS:+false} :; then :
12121 if ${PKG_CONFIG+:} false
; then :
12122 LCMS2_CFLAGS
=`$PKG_CONFIG --cflags lcms2 2>/dev/null`
12126 if ${LCMS2_LIBS:+false} :; then :
12127 if ${PKG_CONFIG+:} false
; then :
12128 LCMS2_LIBS
=`$PKG_CONFIG --libs lcms2 2>/dev/null`
12132 LCMS2_LIBS
=${LCMS2_LIBS:-"-llcms2"}
12133 $as_echo "$as_me:${as_lineno-$LINENO}: lcms2 cflags: $LCMS2_CFLAGS" >&5
12134 $as_echo "$as_me:${as_lineno-$LINENO}: lcms2 libs: $LCMS2_LIBS" >&5
12135 ac_save_CPPFLAGS
=$CPPFLAGS
12136 CPPFLAGS
="$CPPFLAGS $LCMS2_CFLAGS"
12137 for ac_header
in lcms2.h
12139 ac_fn_c_check_header_mongrel
"$LINENO" "lcms2.h" "ac_cv_header_lcms2_h" "$ac_includes_default"
12140 if test "x$ac_cv_header_lcms2_h" = xyes
; then :
12141 cat >>confdefs.h
<<_ACEOF
12142 #define HAVE_LCMS2_H 1
12149 if test "$ac_cv_header_lcms2_h" = "yes"
12151 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cmsOpenProfileFromFile in -llcms2" >&5
12152 $as_echo_n "checking for cmsOpenProfileFromFile in -llcms2... " >&6; }
12153 if ${ac_cv_lib_lcms2_cmsOpenProfileFromFile+:} false
; then :
12154 $as_echo_n "(cached) " >&6
12156 ac_check_lib_save_LIBS
=$LIBS
12157 LIBS
="-llcms2 $LCMS2_LIBS $LIBS"
12158 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12159 /* end confdefs.h. */
12161 /* Override any GCC internal prototype to avoid an error.
12162 Use char because int might match the return type of a GCC
12163 builtin and then its argument prototype would still apply. */
12167 char cmsOpenProfileFromFile ();
12171 return cmsOpenProfileFromFile ();
12176 if ac_fn_c_try_link
"$LINENO"; then :
12177 ac_cv_lib_lcms2_cmsOpenProfileFromFile
=yes
12179 ac_cv_lib_lcms2_cmsOpenProfileFromFile
=no
12181 rm -f core conftest.err conftest.
$ac_objext \
12182 conftest
$ac_exeext conftest.
$ac_ext
12183 LIBS
=$ac_check_lib_save_LIBS
12185 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_lcms2_cmsOpenProfileFromFile" >&5
12186 $as_echo "$ac_cv_lib_lcms2_cmsOpenProfileFromFile" >&6; }
12187 if test "x$ac_cv_lib_lcms2_cmsOpenProfileFromFile" = xyes
; then :
12189 $as_echo "#define HAVE_LCMS2 1" >>confdefs.h
12199 CPPFLAGS
=$ac_save_CPPFLAGS
12200 test -z "$LCMS2_CFLAGS" || LCMS2_CFLAGS
=`echo " $LCMS2_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
12201 test -z "$LCMS2_LIBS" || LCMS2_LIBS
=`echo " $LCMS2_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
12204 if test "$ac_cv_lib_lcms2_cmsOpenProfileFromFile" != "yes"; then :
12205 case "x$with_cms" in
12206 x
) as_fn_append wine_notices
"|liblcms2 ${notice_platform}development files not found, Color Management won't be supported." ;;
12208 *) as_fn_error $?
"liblcms2 ${notice_platform}development files not found, Color Management won't be supported.
12209 This is an error since --with-cms was requested." "$LINENO" 5 ;;
12213 if test "x$with_freetype" != "xno"
12215 if ${FREETYPE_CFLAGS:+false} :; then :
12216 if ${PKG_CONFIG+:} false
; then :
12217 FREETYPE_CFLAGS
=`$PKG_CONFIG --cflags freetype2 2>/dev/null`
12220 test "$cross_compiling" = yes || FREETYPE_CFLAGS
=${FREETYPE_CFLAGS:-`(freetype-config --cflags || freetype2-config --cflags) 2>/dev/null`}
12221 if ${FREETYPE_LIBS:+false} :; then :
12222 if ${PKG_CONFIG+:} false
; then :
12223 FREETYPE_LIBS
=`$PKG_CONFIG --libs freetype2 2>/dev/null`
12226 test "$cross_compiling" = yes || FREETYPE_LIBS
=${FREETYPE_LIBS:-`(freetype-config --libs || freetype2-config --libs) 2>/dev/null`}
12227 FREETYPE_LIBS
=${FREETYPE_LIBS:-"-lfreetype"}
12228 $as_echo "$as_me:${as_lineno-$LINENO}: freetype2 cflags: $FREETYPE_CFLAGS" >&5
12229 $as_echo "$as_me:${as_lineno-$LINENO}: freetype2 libs: $FREETYPE_LIBS" >&5
12230 ac_save_CPPFLAGS
=$CPPFLAGS
12231 CPPFLAGS
="$CPPFLAGS $FREETYPE_CFLAGS"
12232 for ac_header
in ft2build.h
12234 ac_fn_c_check_header_mongrel
"$LINENO" "ft2build.h" "ac_cv_header_ft2build_h" "$ac_includes_default"
12235 if test "x$ac_cv_header_ft2build_h" = xyes
; then :
12236 cat >>confdefs.h
<<_ACEOF
12237 #define HAVE_FT2BUILD_H 1
12244 if test "$ac_cv_header_ft2build_h" = "yes"
12246 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lfreetype" >&5
12247 $as_echo_n "checking for -lfreetype... " >&6; }
12248 if ${ac_cv_lib_soname_freetype+:} false
; then :
12249 $as_echo_n "(cached) " >&6
12251 ac_check_soname_save_LIBS
=$LIBS
12252 LIBS
="-lfreetype $FREETYPE_LIBS $LIBS"
12253 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12254 /* end confdefs.h. */
12256 /* Override any GCC internal prototype to avoid an error.
12257 Use char because int might match the return type of a GCC
12258 builtin and then its argument prototype would still apply. */
12262 char FT_Init_FreeType ();
12266 return FT_Init_FreeType ();
12271 if ac_fn_c_try_link
"$LINENO"; then :
12273 dll
) ac_cv_lib_soname_freetype
=`$ac_cv_path_LDD conftest.exe | grep "freetype" | sed -e "s/dll.*/dll/"';2,$d'` ;;
12274 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'` ;;
12275 *) ac_cv_lib_soname_freetype
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libfreetype\\.$LIBEXT" | sed -e "s/^.*\\[\\(libfreetype\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
12276 if ${ac_cv_lib_soname_freetype:+false} :; then :
12277 ac_cv_lib_soname_freetype
=`$LDD conftest$ac_exeext | grep "libfreetype\\.$LIBEXT" | sed -e "s/^.*\(libfreetype\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
12281 rm -f core conftest.err conftest.
$ac_objext \
12282 conftest
$ac_exeext conftest.
$ac_ext
12283 LIBS
=$ac_check_soname_save_LIBS
12285 if ${ac_cv_lib_soname_freetype:+false} :; then :
12286 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
12287 $as_echo "not found" >&6; }
12290 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_freetype" >&5
12291 $as_echo "$ac_cv_lib_soname_freetype" >&6; }
12293 cat >>confdefs.h
<<_ACEOF
12294 #define SONAME_LIBFREETYPE "$ac_cv_lib_soname_freetype"
12298 $as_echo "#define HAVE_FREETYPE 1" >>confdefs.h
12300 ac_fn_c_check_type
"$LINENO" "FT_TrueTypeEngineType" "ac_cv_type_FT_TrueTypeEngineType" "#include <ft2build.h>
12301 #include FT_MODULE_H
12303 if test "x$ac_cv_type_FT_TrueTypeEngineType" = xyes
; then :
12305 cat >>confdefs.h
<<_ACEOF
12306 #define HAVE_FT_TRUETYPEENGINETYPE 1
12317 CPPFLAGS
=$ac_save_CPPFLAGS
12318 test -z "$FREETYPE_CFLAGS" || FREETYPE_CFLAGS
=`echo " $FREETYPE_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
12319 test -z "$FREETYPE_LIBS" || FREETYPE_LIBS
=`echo " $FREETYPE_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
12322 if test "x$ac_cv_lib_soname_freetype" = x
; then :
12323 case "x$with_freetype" in
12325 *) as_fn_error $?
"FreeType ${notice_platform}development files not found. Fonts will not be built.
12326 Use the --without-freetype option if you really want this." "$LINENO" 5 ;;
12329 test "x$ac_cv_lib_soname_freetype" = x
&& enable_fonts
=${enable_fonts:-no}
12331 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for parport header/ppdev.h" >&5
12332 $as_echo_n "checking for parport header/ppdev.h... " >&6; }
12333 if ${ac_cv_c_ppdev+:} false
; then :
12334 $as_echo_n "(cached) " >&6
12336 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12337 /* end confdefs.h. */
12338 #ifdef HAVE_SYS_IOCTL_H
12339 # include <sys/ioctl.h>
12341 #include <linux/ppdev.h>
12345 ioctl (1,PPCLAIM,0)
12350 if ac_fn_c_try_compile
"$LINENO"; then :
12351 ac_cv_c_ppdev
="yes"
12355 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
12357 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_ppdev" >&5
12358 $as_echo "$ac_cv_c_ppdev" >&6; }
12359 if test "$ac_cv_c_ppdev" = "yes"
12362 $as_echo "#define HAVE_PPDEV 1" >>confdefs.h
12366 ac_wine_check_funcs_save_LIBS
="$LIBS"
12367 LIBS
="$LIBS $PTHREAD_LIBS"
12369 pthread_attr_get_np \
12370 pthread_getattr_np \
12371 pthread_getthreadid_np \
12372 pthread_get_stackaddr_np \
12373 pthread_get_stacksize_np
12375 as_ac_var
=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
12376 ac_fn_c_check_func
"$LINENO" "$ac_func" "$as_ac_var"
12377 if eval test \"x\$
"$as_ac_var"\" = x
"yes"; then :
12378 cat >>confdefs.h
<<_ACEOF
12379 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
12385 LIBS
="$ac_wine_check_funcs_save_LIBS"
12387 if test "$ac_cv_header_zlib_h" = "yes"
12389 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for inflate in -lz" >&5
12390 $as_echo_n "checking for inflate in -lz... " >&6; }
12391 if ${ac_cv_lib_z_inflate+:} false
; then :
12392 $as_echo_n "(cached) " >&6
12394 ac_check_lib_save_LIBS
=$LIBS
12396 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12397 /* end confdefs.h. */
12399 /* Override any GCC internal prototype to avoid an error.
12400 Use char because int might match the return type of a GCC
12401 builtin and then its argument prototype would still apply. */
12414 if ac_fn_c_try_link
"$LINENO"; then :
12415 ac_cv_lib_z_inflate
=yes
12417 ac_cv_lib_z_inflate
=no
12419 rm -f core conftest.err conftest.
$ac_objext \
12420 conftest
$ac_exeext conftest.
$ac_ext
12421 LIBS
=$ac_check_lib_save_LIBS
12423 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_z_inflate" >&5
12424 $as_echo "$ac_cv_lib_z_inflate" >&6; }
12425 if test "x$ac_cv_lib_z_inflate" = xyes
; then :
12427 $as_echo "#define HAVE_ZLIB 1" >>confdefs.h
12434 if test "x$Z_LIBS" = "x"; then :
12435 case "x$with_zlib" in
12436 x
) as_fn_append wine_notices
"|libz ${notice_platform}development files not found, data compression won't be supported." ;;
12438 *) as_fn_error $?
"libz ${notice_platform}development files not found, data compression won't be supported.
12439 This is an error since --with-zlib was requested." "$LINENO" 5 ;;
12443 if test "x$enable_tools" != xno
12445 if test "$ac_cv_header_gettext_po_h" = "yes"
12447 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for po_message_msgctxt in -lgettextpo" >&5
12448 $as_echo_n "checking for po_message_msgctxt in -lgettextpo... " >&6; }
12449 if ${ac_cv_lib_gettextpo_po_message_msgctxt+:} false
; then :
12450 $as_echo_n "(cached) " >&6
12452 ac_check_lib_save_LIBS
=$LIBS
12453 LIBS
="-lgettextpo $LIBS"
12454 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12455 /* end confdefs.h. */
12457 /* Override any GCC internal prototype to avoid an error.
12458 Use char because int might match the return type of a GCC
12459 builtin and then its argument prototype would still apply. */
12463 char po_message_msgctxt ();
12467 return po_message_msgctxt ();
12472 if ac_fn_c_try_link
"$LINENO"; then :
12473 ac_cv_lib_gettextpo_po_message_msgctxt
=yes
12475 ac_cv_lib_gettextpo_po_message_msgctxt
=no
12477 rm -f core conftest.err conftest.
$ac_objext \
12478 conftest
$ac_exeext conftest.
$ac_ext
12479 LIBS
=$ac_check_lib_save_LIBS
12481 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gettextpo_po_message_msgctxt" >&5
12482 $as_echo "$ac_cv_lib_gettextpo_po_message_msgctxt" >&6; }
12483 if test "x$ac_cv_lib_gettextpo_po_message_msgctxt" = xyes
; then :
12485 $as_echo "#define HAVE_LIBGETTEXTPO 1" >>confdefs.h
12487 GETTEXTPO_LIBS
="-lgettextpo"
12492 test "x$with_gettextpo" != xyes ||
if test "x$GETTEXTPO_LIBS" = "x"; then :
12493 case "x$with_gettextpo" in
12494 x
) as_fn_append wine_notices
"|GetText ${notice_platform}development files not found (or too old), po files can't be rebuilt." ;;
12496 *) as_fn_error $?
"GetText ${notice_platform}development files not found (or too old), po files can't be rebuilt.
12497 This is an error since --with-gettextpo was requested." "$LINENO" 5 ;;
12502 if test "x$with_gstreamer" != "xno"
12504 if ${GSTREAMER_CFLAGS:+false} :; then :
12505 if ${PKG_CONFIG+:} false
; then :
12506 GSTREAMER_CFLAGS
=`$PKG_CONFIG --cflags gstreamer-app-0.10 2>/dev/null`
12510 if ${GSTREAMER_LIBS:+false} :; then :
12511 if ${PKG_CONFIG+:} false
; then :
12512 GSTREAMER_LIBS
=`$PKG_CONFIG --libs gstreamer-app-0.10 2>/dev/null`
12517 $as_echo "$as_me:${as_lineno-$LINENO}: gstreamer-app-0.10 cflags: $GSTREAMER_CFLAGS" >&5
12518 $as_echo "$as_me:${as_lineno-$LINENO}: gstreamer-app-0.10 libs: $GSTREAMER_LIBS" >&5
12519 ac_save_CPPFLAGS
=$CPPFLAGS
12520 CPPFLAGS
="$CPPFLAGS $GSTREAMER_CFLAGS"
12522 for i
in $GSTREAMER_CFLAGS
12525 -I*) ac_gst_incl
="$ac_gst_incl $i";;
12528 GSTREAMER_CFLAGS
=$ac_gst_incl
12529 CPPFLAGS
="$ac_save_CPPFLAGS $GSTREAMER_CFLAGS"
12530 ac_fn_c_check_header_mongrel
"$LINENO" "gst/gstpad.h" "ac_cv_header_gst_gstpad_h" "$ac_includes_default"
12531 if test "x$ac_cv_header_gst_gstpad_h" = xyes
; then :
12532 ac_fn_c_check_header_mongrel
"$LINENO" "gst/app/gstappsink.h" "ac_cv_header_gst_app_gstappsink_h" "$ac_includes_default"
12533 if test "x$ac_cv_header_gst_app_gstappsink_h" = xyes
; then :
12534 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether gint64 defined by gst/app/gstappsink.h is indeed 64-bit" >&5
12535 $as_echo_n "checking whether gint64 defined by gst/app/gstappsink.h is indeed 64-bit... " >&6; }
12536 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12537 /* end confdefs.h. */
12538 #include <gst/app/gstappsink.h>
12542 static int a[sizeof(gint64) > 4 ? 1 : -1]; if (a[0]) return 0;
12547 if ac_fn_c_try_compile
"$LINENO"; then :
12548 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
12549 $as_echo "yes" >&6; }
12550 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gst_pad_get_caps_reffed in -lgstreamer-0.10" >&5
12551 $as_echo_n "checking for gst_pad_get_caps_reffed in -lgstreamer-0.10... " >&6; }
12552 if ${ac_cv_lib_gstreamer_0_10_gst_pad_get_caps_reffed+:} false
; then :
12553 $as_echo_n "(cached) " >&6
12555 ac_check_lib_save_LIBS
=$LIBS
12556 LIBS
="-lgstreamer-0.10 $LIBS"
12557 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12558 /* end confdefs.h. */
12560 /* Override any GCC internal prototype to avoid an error.
12561 Use char because int might match the return type of a GCC
12562 builtin and then its argument prototype would still apply. */
12566 char gst_pad_get_caps_reffed ();
12570 return gst_pad_get_caps_reffed ();
12575 if ac_fn_c_try_link
"$LINENO"; then :
12576 ac_cv_lib_gstreamer_0_10_gst_pad_get_caps_reffed
=yes
12578 ac_cv_lib_gstreamer_0_10_gst_pad_get_caps_reffed
=no
12580 rm -f core conftest.err conftest.
$ac_objext \
12581 conftest
$ac_exeext conftest.
$ac_ext
12582 LIBS
=$ac_check_lib_save_LIBS
12584 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gstreamer_0_10_gst_pad_get_caps_reffed" >&5
12585 $as_echo "$ac_cv_lib_gstreamer_0_10_gst_pad_get_caps_reffed" >&6; }
12586 if test "x$ac_cv_lib_gstreamer_0_10_gst_pad_get_caps_reffed" = xyes
; then :
12587 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gst_app_buffer_new in -lgstapp-0.10" >&5
12588 $as_echo_n "checking for gst_app_buffer_new in -lgstapp-0.10... " >&6; }
12589 if ${ac_cv_lib_gstapp_0_10_gst_app_buffer_new+:} false
; then :
12590 $as_echo_n "(cached) " >&6
12592 ac_check_lib_save_LIBS
=$LIBS
12593 LIBS
="-lgstapp-0.10 $GSTREAMER_LIBS $LIBS"
12594 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12595 /* end confdefs.h. */
12597 /* Override any GCC internal prototype to avoid an error.
12598 Use char because int might match the return type of a GCC
12599 builtin and then its argument prototype would still apply. */
12603 char gst_app_buffer_new ();
12607 return gst_app_buffer_new ();
12612 if ac_fn_c_try_link
"$LINENO"; then :
12613 ac_cv_lib_gstapp_0_10_gst_app_buffer_new
=yes
12615 ac_cv_lib_gstapp_0_10_gst_app_buffer_new
=no
12617 rm -f core conftest.err conftest.
$ac_objext \
12618 conftest
$ac_exeext conftest.
$ac_ext
12619 LIBS
=$ac_check_lib_save_LIBS
12621 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gstapp_0_10_gst_app_buffer_new" >&5
12622 $as_echo "$ac_cv_lib_gstapp_0_10_gst_app_buffer_new" >&6; }
12623 if test "x$ac_cv_lib_gstapp_0_10_gst_app_buffer_new" = xyes
; then :
12630 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12631 $as_echo "no" >&6; }
12633 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
12638 GSTREAMER_CFLAGS
=""
12642 CPPFLAGS
=$ac_save_CPPFLAGS
12643 test -z "$GSTREAMER_CFLAGS" || GSTREAMER_CFLAGS
=`echo " $GSTREAMER_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
12644 test -z "$GSTREAMER_LIBS" || GSTREAMER_LIBS
=`echo " $GSTREAMER_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
12647 if test "x$ac_cv_lib_gstapp_0_10_gst_app_buffer_new" != xyes
-a "x$ac_cv_header_QuickTime_ImageCompression_h" != xyes
; then :
12648 case "x$with_gstreamer" in
12649 x
) as_fn_append wine_notices
"|gstreamer-0.10 base plugins ${notice_platform}development files not found, gstreamer support disabled" ;;
12651 *) as_fn_error $?
"gstreamer-0.10 base plugins ${notice_platform}development files not found, gstreamer support disabled
12652 This is an error since --with-gstreamer was requested." "$LINENO" 5 ;;
12655 test "x$ac_cv_lib_gstapp_0_10_gst_app_buffer_new" = xyes || enable_winegstreamer
=${enable_winegstreamer:-no}
12659 if test "$ac_cv_header_sys_asoundlib_h" = "yes" -o "$ac_cv_header_alsa_asoundlib_h" = "yes"
12661 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for snd_pcm_hw_params_get_access_mask in -lasound" >&5
12662 $as_echo_n "checking for snd_pcm_hw_params_get_access_mask in -lasound... " >&6; }
12663 if ${ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask+:} false
; then :
12664 $as_echo_n "(cached) " >&6
12666 ac_check_lib_save_LIBS
=$LIBS
12667 LIBS
="-lasound $LIBS"
12668 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12669 /* end confdefs.h. */
12671 /* Override any GCC internal prototype to avoid an error.
12672 Use char because int might match the return type of a GCC
12673 builtin and then its argument prototype would still apply. */
12677 char snd_pcm_hw_params_get_access_mask ();
12681 return snd_pcm_hw_params_get_access_mask ();
12686 if ac_fn_c_try_link
"$LINENO"; then :
12687 ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask
=yes
12689 ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask
=no
12691 rm -f core conftest.err conftest.
$ac_objext \
12692 conftest
$ac_exeext conftest.
$ac_ext
12693 LIBS
=$ac_check_lib_save_LIBS
12695 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask" >&5
12696 $as_echo "$ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask" >&6; }
12697 if test "x$ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask" = xyes
; then :
12698 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12699 /* end confdefs.h. */
12700 #ifdef HAVE_ALSA_ASOUNDLIB_H
12701 #include <alsa/asoundlib.h>
12702 #elif defined(HAVE_SYS_ASOUNDLIB_H)
12703 #include <sys/asoundlib.h>
12708 snd_pcm_hw_params_get_access_mask(NULL, NULL)
12713 if ac_fn_c_try_compile
"$LINENO"; then :
12714 ALSA_LIBS
="-lasound"
12716 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
12721 if test "x$with_oss" != xno
12723 ac_save_CPPFLAGS
="$CPPFLAGS"
12724 if test -f /etc
/oss.conf
12728 ac_oss_incl
="-I${OSSLIBDIR:-/usr/lib/oss}/include"
12729 CPPFLAGS
="$CPPFLAGS $ac_oss_incl"
12730 ac_fn_c_check_header_mongrel
"$LINENO" "sys/soundcard.h" "ac_cv_header_sys_soundcard_h" "$ac_includes_default"
12731 if test "x$ac_cv_header_sys_soundcard_h" = xyes
; then :
12732 ac_fn_c_check_member
"$LINENO" "oss_sysinfo" "numaudioengines" "ac_cv_member_oss_sysinfo_numaudioengines" "#include <sys/soundcard.h>
12734 if test "x$ac_cv_member_oss_sysinfo_numaudioengines" = xyes
; then :
12736 cat >>confdefs.h
<<_ACEOF
12737 #define HAVE_OSS_SYSINFO_NUMAUDIOENGINES 1
12740 OSS4_CFLAGS
="$ac_oss_incl"
12747 CPPFLAGS
="$ac_save_CPPFLAGS"
12748 if test "x$ac_cv_member_oss_sysinfo_numaudioengines" != xyes
12750 as_fn_append wine_notices
"|OSS sound system found but too old (OSSv4 needed), OSS won't be supported."
12754 if test "x$with_capi" != "xno"
12756 if ${CAPI20_CFLAGS:+false} :; then :
12757 if ${PKG_CONFIG+:} false
; then :
12758 CAPI20_CFLAGS
=`$PKG_CONFIG --cflags capi20 2>/dev/null`
12762 if ${CAPI20_LIBS:+false} :; then :
12763 if ${PKG_CONFIG+:} false
; then :
12764 CAPI20_LIBS
=`$PKG_CONFIG --libs capi20 2>/dev/null`
12769 $as_echo "$as_me:${as_lineno-$LINENO}: capi20 cflags: $CAPI20_CFLAGS" >&5
12770 $as_echo "$as_me:${as_lineno-$LINENO}: capi20 libs: $CAPI20_LIBS" >&5
12771 ac_save_CPPFLAGS
=$CPPFLAGS
12772 CPPFLAGS
="$CPPFLAGS $CAPI20_CFLAGS"
12773 for ac_header
in capi20.h linux
/capi.h
12775 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
12776 ac_fn_c_check_header_compile
"$LINENO" "$ac_header" "$as_ac_Header" "#define __user
12778 if eval test \"x\$
"$as_ac_Header"\" = x
"yes"; then :
12779 cat >>confdefs.h
<<_ACEOF
12780 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
12787 if test "$ac_cv_header_capi20_h" = "yes" -a "$ac_cv_header_linux_capi_h" = "yes"
12789 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lcapi20" >&5
12790 $as_echo_n "checking for -lcapi20... " >&6; }
12791 if ${ac_cv_lib_soname_capi20+:} false
; then :
12792 $as_echo_n "(cached) " >&6
12794 ac_check_soname_save_LIBS
=$LIBS
12795 LIBS
="-lcapi20 $CAPI20_LIBS $LIBS"
12796 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12797 /* end confdefs.h. */
12799 /* Override any GCC internal prototype to avoid an error.
12800 Use char because int might match the return type of a GCC
12801 builtin and then its argument prototype would still apply. */
12805 char capi20_register ();
12809 return capi20_register ();
12814 if ac_fn_c_try_link
"$LINENO"; then :
12816 dll
) ac_cv_lib_soname_capi20
=`$ac_cv_path_LDD conftest.exe | grep "capi20" | sed -e "s/dll.*/dll/"';2,$d'` ;;
12817 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'` ;;
12818 *) ac_cv_lib_soname_capi20
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libcapi20\\.$LIBEXT" | sed -e "s/^.*\\[\\(libcapi20\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
12819 if ${ac_cv_lib_soname_capi20:+false} :; then :
12820 ac_cv_lib_soname_capi20
=`$LDD conftest$ac_exeext | grep "libcapi20\\.$LIBEXT" | sed -e "s/^.*\(libcapi20\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
12824 rm -f core conftest.err conftest.
$ac_objext \
12825 conftest
$ac_exeext conftest.
$ac_ext
12826 LIBS
=$ac_check_soname_save_LIBS
12828 if ${ac_cv_lib_soname_capi20:+false} :; then :
12829 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
12830 $as_echo "not found" >&6; }
12833 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_capi20" >&5
12834 $as_echo "$ac_cv_lib_soname_capi20" >&6; }
12836 cat >>confdefs.h
<<_ACEOF
12837 #define SONAME_LIBCAPI20 "$ac_cv_lib_soname_capi20"
12843 CPPFLAGS
=$ac_save_CPPFLAGS
12844 test -z "$CAPI20_CFLAGS" || CAPI20_CFLAGS
=`echo " $CAPI20_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
12845 test -z "$CAPI20_LIBS" || CAPI20_LIBS
=`echo " $CAPI20_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
12848 if test "x$ac_cv_lib_soname_capi20" = "x"; then :
12849 case "x$with_capi" in
12850 x
) as_fn_append wine_notices
"|libcapi20 ${notice_platform}development files not found, ISDN won't be supported." ;;
12852 *) as_fn_error $?
"libcapi20 ${notice_platform}development files not found, ISDN won't be supported.
12853 This is an error since --with-capi was requested." "$LINENO" 5 ;;
12859 if test "x$with_cups" != "xno"
12861 ac_save_CPPFLAGS
="$CPPFLAGS"
12862 ac_cups_cflags
=`cups-config --cflags 2>/dev/null`
12863 ac_cups_libs
=`cups-config --ldflags 2>/dev/null`
12864 CPPFLAGS
="$CPPFLAGS $ac_cups_cflags"
12865 for ac_header
in cups
/cups.h
12867 ac_fn_c_check_header_mongrel
"$LINENO" "cups/cups.h" "ac_cv_header_cups_cups_h" "$ac_includes_default"
12868 if test "x$ac_cv_header_cups_cups_h" = xyes
; then :
12869 cat >>confdefs.h
<<_ACEOF
12870 #define HAVE_CUPS_CUPS_H 1
12872 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lcups" >&5
12873 $as_echo_n "checking for -lcups... " >&6; }
12874 if ${ac_cv_lib_soname_cups+:} false
; then :
12875 $as_echo_n "(cached) " >&6
12877 ac_check_soname_save_LIBS
=$LIBS
12878 LIBS
="-lcups $ac_cups_libs $LIBS"
12879 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12880 /* end confdefs.h. */
12882 /* Override any GCC internal prototype to avoid an error.
12883 Use char because int might match the return type of a GCC
12884 builtin and then its argument prototype would still apply. */
12888 char cupsGetDefault ();
12892 return cupsGetDefault ();
12897 if ac_fn_c_try_link
"$LINENO"; then :
12899 dll
) ac_cv_lib_soname_cups
=`$ac_cv_path_LDD conftest.exe | grep "cups" | sed -e "s/dll.*/dll/"';2,$d'` ;;
12900 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'` ;;
12901 *) ac_cv_lib_soname_cups
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libcups\\.$LIBEXT" | sed -e "s/^.*\\[\\(libcups\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
12902 if ${ac_cv_lib_soname_cups:+false} :; then :
12903 ac_cv_lib_soname_cups
=`$LDD conftest$ac_exeext | grep "libcups\\.$LIBEXT" | sed -e "s/^.*\(libcups\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
12907 rm -f core conftest.err conftest.
$ac_objext \
12908 conftest
$ac_exeext conftest.
$ac_ext
12909 LIBS
=$ac_check_soname_save_LIBS
12911 if ${ac_cv_lib_soname_cups:+false} :; then :
12912 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
12913 $as_echo "not found" >&6; }
12916 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_cups" >&5
12917 $as_echo "$ac_cv_lib_soname_cups" >&6; }
12919 cat >>confdefs.h
<<_ACEOF
12920 #define SONAME_LIBCUPS "$ac_cv_lib_soname_cups"
12923 CUPS_CFLAGS
="$ac_cups_cflags"
12929 CPPFLAGS
="$ac_save_CPPFLAGS"
12931 if test "x$ac_cv_lib_soname_cups" = "x"; then :
12932 case "x$with_cups" in
12933 x
) as_fn_append wine_notices
"|libcups ${notice_platform}development files not found, CUPS won't be supported." ;;
12935 *) as_fn_error $?
"libcups ${notice_platform}development files not found, CUPS won't be supported.
12936 This is an error since --with-cups was requested." "$LINENO" 5 ;;
12940 if test "x$with_fontconfig" != "xno"
12942 if ${FONTCONFIG_CFLAGS:+false} :; then :
12943 if ${PKG_CONFIG+:} false
; then :
12944 FONTCONFIG_CFLAGS
=`$PKG_CONFIG --cflags fontconfig 2>/dev/null`
12947 test "$cross_compiling" = yes || FONTCONFIG_CFLAGS
=${FONTCONFIG_CFLAGS:-$X_CFLAGS}
12948 if ${FONTCONFIG_LIBS:+false} :; then :
12949 if ${PKG_CONFIG+:} false
; then :
12950 FONTCONFIG_LIBS
=`$PKG_CONFIG --libs fontconfig 2>/dev/null`
12953 test "$cross_compiling" = yes || FONTCONFIG_LIBS
=${FONTCONFIG_LIBS:-$X_LIBS}
12955 $as_echo "$as_me:${as_lineno-$LINENO}: fontconfig cflags: $FONTCONFIG_CFLAGS" >&5
12956 $as_echo "$as_me:${as_lineno-$LINENO}: fontconfig libs: $FONTCONFIG_LIBS" >&5
12957 ac_save_CPPFLAGS
=$CPPFLAGS
12958 CPPFLAGS
="$CPPFLAGS $FONTCONFIG_CFLAGS"
12959 for ac_header
in fontconfig
/fontconfig.h
12961 ac_fn_c_check_header_mongrel
"$LINENO" "fontconfig/fontconfig.h" "ac_cv_header_fontconfig_fontconfig_h" "$ac_includes_default"
12962 if test "x$ac_cv_header_fontconfig_fontconfig_h" = xyes
; then :
12963 cat >>confdefs.h
<<_ACEOF
12964 #define HAVE_FONTCONFIG_FONTCONFIG_H 1
12971 if test "$ac_cv_header_fontconfig_fontconfig_h" = "yes"
12973 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lfontconfig" >&5
12974 $as_echo_n "checking for -lfontconfig... " >&6; }
12975 if ${ac_cv_lib_soname_fontconfig+:} false
; then :
12976 $as_echo_n "(cached) " >&6
12978 ac_check_soname_save_LIBS
=$LIBS
12979 LIBS
="-lfontconfig $FONTCONFIG_LIBS $LIBS"
12980 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12981 /* end confdefs.h. */
12983 /* Override any GCC internal prototype to avoid an error.
12984 Use char because int might match the return type of a GCC
12985 builtin and then its argument prototype would still apply. */
12998 if ac_fn_c_try_link
"$LINENO"; then :
13000 dll
) ac_cv_lib_soname_fontconfig
=`$ac_cv_path_LDD conftest.exe | grep "fontconfig" | sed -e "s/dll.*/dll/"';2,$d'` ;;
13001 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'` ;;
13002 *) ac_cv_lib_soname_fontconfig
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libfontconfig\\.$LIBEXT" | sed -e "s/^.*\\[\\(libfontconfig\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
13003 if ${ac_cv_lib_soname_fontconfig:+false} :; then :
13004 ac_cv_lib_soname_fontconfig
=`$LDD conftest$ac_exeext | grep "libfontconfig\\.$LIBEXT" | sed -e "s/^.*\(libfontconfig\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
13008 rm -f core conftest.err conftest.
$ac_objext \
13009 conftest
$ac_exeext conftest.
$ac_ext
13010 LIBS
=$ac_check_soname_save_LIBS
13012 if ${ac_cv_lib_soname_fontconfig:+false} :; then :
13013 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13014 $as_echo "not found" >&6; }
13015 FONTCONFIG_CFLAGS
=""
13017 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_fontconfig" >&5
13018 $as_echo "$ac_cv_lib_soname_fontconfig" >&6; }
13020 cat >>confdefs.h
<<_ACEOF
13021 #define SONAME_LIBFONTCONFIG "$ac_cv_lib_soname_fontconfig"
13027 FONTCONFIG_CFLAGS
=""
13029 CPPFLAGS
=$ac_save_CPPFLAGS
13030 test -z "$FONTCONFIG_CFLAGS" || FONTCONFIG_CFLAGS
=`echo " $FONTCONFIG_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
13031 test -z "$FONTCONFIG_LIBS" || FONTCONFIG_LIBS
=`echo " $FONTCONFIG_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
13034 if test "x$ac_cv_lib_soname_fontconfig" = "x"; then :
13035 case "x$with_fontconfig" in
13036 x
) as_fn_append wine_notices
"|fontconfig ${notice_platform}development files not found, fontconfig won't be supported." ;;
13038 *) as_fn_error $?
"fontconfig ${notice_platform}development files not found, fontconfig won't be supported.
13039 This is an error since --with-fontconfig was requested." "$LINENO" 5 ;;
13043 if test "$ac_cv_header_gsm_h" = "yes" -o "$ac_cv_header_gsm_gsm_h" = "yes"
13045 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lgsm" >&5
13046 $as_echo_n "checking for -lgsm... " >&6; }
13047 if ${ac_cv_lib_soname_gsm+:} false
; then :
13048 $as_echo_n "(cached) " >&6
13050 ac_check_soname_save_LIBS
=$LIBS
13052 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13053 /* end confdefs.h. */
13055 /* Override any GCC internal prototype to avoid an error.
13056 Use char because int might match the return type of a GCC
13057 builtin and then its argument prototype would still apply. */
13061 char gsm_create ();
13065 return gsm_create ();
13070 if ac_fn_c_try_link
"$LINENO"; then :
13072 dll
) ac_cv_lib_soname_gsm
=`$ac_cv_path_LDD conftest.exe | grep "gsm" | sed -e "s/dll.*/dll/"';2,$d'` ;;
13073 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'` ;;
13074 *) ac_cv_lib_soname_gsm
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libgsm\\.$LIBEXT" | sed -e "s/^.*\\[\\(libgsm\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
13075 if ${ac_cv_lib_soname_gsm:+false} :; then :
13076 ac_cv_lib_soname_gsm
=`$LDD conftest$ac_exeext | grep "libgsm\\.$LIBEXT" | sed -e "s/^.*\(libgsm\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
13080 rm -f core conftest.err conftest.
$ac_objext \
13081 conftest
$ac_exeext conftest.
$ac_ext
13082 LIBS
=$ac_check_soname_save_LIBS
13084 if ${ac_cv_lib_soname_gsm:+false} :; then :
13085 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13086 $as_echo "not found" >&6; }
13089 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_gsm" >&5
13090 $as_echo "$ac_cv_lib_soname_gsm" >&6; }
13092 cat >>confdefs.h
<<_ACEOF
13093 #define SONAME_LIBGSM "$ac_cv_lib_soname_gsm"
13099 if test "x$ac_cv_lib_soname_gsm" = "x"; then :
13100 case "x$with_gsm" in
13101 x
) as_fn_append wine_notices
"|libgsm ${notice_platform}development files not found, gsm 06.10 codec won't be supported." ;;
13103 *) as_fn_error $?
"libgsm ${notice_platform}development files not found, gsm 06.10 codec won't be supported.
13104 This is an error since --with-gsm was requested." "$LINENO" 5 ;;
13108 if test "x$with_jpeg" != "xno"
13110 if ${JPEG_CFLAGS:+false} :; then :
13111 if ${PKG_CONFIG+:} false
; then :
13112 JPEG_CFLAGS
=`$PKG_CONFIG --cflags libjpeg 2>/dev/null`
13116 if ${JPEG_LIBS:+false} :; then :
13117 if ${PKG_CONFIG+:} false
; then :
13118 JPEG_LIBS
=`$PKG_CONFIG --libs libjpeg 2>/dev/null`
13123 $as_echo "$as_me:${as_lineno-$LINENO}: libjpeg cflags: $JPEG_CFLAGS" >&5
13124 $as_echo "$as_me:${as_lineno-$LINENO}: libjpeg libs: $JPEG_LIBS" >&5
13125 ac_save_CPPFLAGS
=$CPPFLAGS
13126 CPPFLAGS
="$CPPFLAGS $JPEG_CFLAGS"
13127 for ac_header
in jpeglib.h
13129 ac_fn_c_check_header_mongrel
"$LINENO" "jpeglib.h" "ac_cv_header_jpeglib_h" "$ac_includes_default"
13130 if test "x$ac_cv_header_jpeglib_h" = xyes
; then :
13131 cat >>confdefs.h
<<_ACEOF
13132 #define HAVE_JPEGLIB_H 1
13139 if test "$ac_cv_header_jpeglib_h" = "yes"
13141 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -ljpeg" >&5
13142 $as_echo_n "checking for -ljpeg... " >&6; }
13143 if ${ac_cv_lib_soname_jpeg+:} false
; then :
13144 $as_echo_n "(cached) " >&6
13146 ac_check_soname_save_LIBS
=$LIBS
13147 LIBS
="-ljpeg $JPEG_LIBS $LIBS"
13148 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13149 /* end confdefs.h. */
13151 /* Override any GCC internal prototype to avoid an error.
13152 Use char because int might match the return type of a GCC
13153 builtin and then its argument prototype would still apply. */
13157 char jpeg_start_decompress ();
13161 return jpeg_start_decompress ();
13166 if ac_fn_c_try_link
"$LINENO"; then :
13168 dll
) ac_cv_lib_soname_jpeg
=`$ac_cv_path_LDD conftest.exe | grep "jpeg" | sed -e "s/dll.*/dll/"';2,$d'` ;;
13169 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'` ;;
13170 *) ac_cv_lib_soname_jpeg
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libjpeg\\.$LIBEXT" | sed -e "s/^.*\\[\\(libjpeg\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
13171 if ${ac_cv_lib_soname_jpeg:+false} :; then :
13172 ac_cv_lib_soname_jpeg
=`$LDD conftest$ac_exeext | grep "libjpeg\\.$LIBEXT" | sed -e "s/^.*\(libjpeg\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
13176 rm -f core conftest.err conftest.
$ac_objext \
13177 conftest
$ac_exeext conftest.
$ac_ext
13178 LIBS
=$ac_check_soname_save_LIBS
13180 if ${ac_cv_lib_soname_jpeg:+false} :; then :
13181 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13182 $as_echo "not found" >&6; }
13185 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_jpeg" >&5
13186 $as_echo "$ac_cv_lib_soname_jpeg" >&6; }
13188 cat >>confdefs.h
<<_ACEOF
13189 #define SONAME_LIBJPEG "$ac_cv_lib_soname_jpeg"
13197 CPPFLAGS
=$ac_save_CPPFLAGS
13198 test -z "$JPEG_CFLAGS" || JPEG_CFLAGS
=`echo " $JPEG_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
13199 test -z "$JPEG_LIBS" || JPEG_LIBS
=`echo " $JPEG_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
13202 if test "x$ac_cv_lib_soname_jpeg" = "x"; then :
13203 case "x$with_jpeg" in
13204 x
) as_fn_append wine_warnings
"|libjpeg ${notice_platform}development files not found, JPEG won't be supported." ;;
13206 *) as_fn_error $?
"libjpeg ${notice_platform}development files not found, JPEG won't be supported.
13207 This is an error since --with-jpeg was requested." "$LINENO" 5 ;;
13211 if test "x$with_png" != "xno"
13213 if ${PNG_CFLAGS:+false} :; then :
13214 if ${PKG_CONFIG+:} false
; then :
13215 PNG_CFLAGS
=`$PKG_CONFIG --cflags libpng 2>/dev/null`
13218 test "$cross_compiling" = yes || PNG_CFLAGS
=${PNG_CFLAGS:-$X_CFLAGS}
13219 if ${PNG_LIBS:+false} :; then :
13220 if ${PKG_CONFIG+:} false
; then :
13221 PNG_LIBS
=`$PKG_CONFIG --libs libpng 2>/dev/null`
13224 test "$cross_compiling" = yes || PNG_LIBS
=${PNG_LIBS:-$X_LIBS}
13226 $as_echo "$as_me:${as_lineno-$LINENO}: libpng cflags: $PNG_CFLAGS" >&5
13227 $as_echo "$as_me:${as_lineno-$LINENO}: libpng libs: $PNG_LIBS" >&5
13228 ac_save_CPPFLAGS
=$CPPFLAGS
13229 CPPFLAGS
="$CPPFLAGS $PNG_CFLAGS"
13230 for ac_header
in png.h
13232 ac_fn_c_check_header_mongrel
"$LINENO" "png.h" "ac_cv_header_png_h" "$ac_includes_default"
13233 if test "x$ac_cv_header_png_h" = xyes
; then :
13234 cat >>confdefs.h
<<_ACEOF
13235 #define HAVE_PNG_H 1
13242 if test "$ac_cv_header_png_h" = "yes"
13244 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lpng" >&5
13245 $as_echo_n "checking for -lpng... " >&6; }
13246 if ${ac_cv_lib_soname_png+:} false
; then :
13247 $as_echo_n "(cached) " >&6
13249 ac_check_soname_save_LIBS
=$LIBS
13250 LIBS
="-lpng $PNG_LIBS -lm -lz $LIBS"
13251 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13252 /* end confdefs.h. */
13254 /* Override any GCC internal prototype to avoid an error.
13255 Use char because int might match the return type of a GCC
13256 builtin and then its argument prototype would still apply. */
13260 char png_create_read_struct ();
13264 return png_create_read_struct ();
13269 if ac_fn_c_try_link
"$LINENO"; then :
13271 dll
) ac_cv_lib_soname_png
=`$ac_cv_path_LDD conftest.exe | grep "png" | sed -e "s/dll.*/dll/"';2,$d'` ;;
13272 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'` ;;
13273 *) 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'`
13274 if ${ac_cv_lib_soname_png:+false} :; then :
13275 ac_cv_lib_soname_png
=`$LDD conftest$ac_exeext | grep "libpng[0-9]*\\.$LIBEXT" | sed -e "s/^.*\(libpng[0-9]*\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
13279 rm -f core conftest.err conftest.
$ac_objext \
13280 conftest
$ac_exeext conftest.
$ac_ext
13281 LIBS
=$ac_check_soname_save_LIBS
13283 if ${ac_cv_lib_soname_png:+false} :; then :
13284 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13285 $as_echo "not found" >&6; }
13288 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_png" >&5
13289 $as_echo "$ac_cv_lib_soname_png" >&6; }
13291 cat >>confdefs.h
<<_ACEOF
13292 #define SONAME_LIBPNG "$ac_cv_lib_soname_png"
13295 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13296 /* end confdefs.h. */
13301 typeof(png_set_expand_gray_1_2_4_to_8) *p
13306 if ac_fn_c_try_compile
"$LINENO"; then :
13308 $as_echo "#define HAVE_PNG_SET_EXPAND_GRAY_1_2_4_TO_8 1" >>confdefs.h
13311 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
13316 CPPFLAGS
=$ac_save_CPPFLAGS
13317 test -z "$PNG_CFLAGS" || PNG_CFLAGS
=`echo " $PNG_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
13318 test -z "$PNG_LIBS" || PNG_LIBS
=`echo " $PNG_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
13321 if test "x$ac_cv_lib_soname_png" = "x"; then :
13322 case "x$with_png" in
13323 x
) as_fn_append wine_warnings
"|libpng ${notice_platform}development files not found, PNG won't be supported." ;;
13325 *) as_fn_error $?
"libpng ${notice_platform}development files not found, PNG won't be supported.
13326 This is an error since --with-png was requested." "$LINENO" 5 ;;
13330 if test "x$with_tiff" != "xno"
13332 if ${TIFF_CFLAGS:+false} :; then :
13333 if ${PKG_CONFIG+:} false
; then :
13334 TIFF_CFLAGS
=`$PKG_CONFIG --cflags libtiff 2>/dev/null`
13338 if ${TIFF_LIBS:+false} :; then :
13339 if ${PKG_CONFIG+:} false
; then :
13340 TIFF_LIBS
=`$PKG_CONFIG --libs libtiff 2>/dev/null`
13345 $as_echo "$as_me:${as_lineno-$LINENO}: libtiff cflags: $TIFF_CFLAGS" >&5
13346 $as_echo "$as_me:${as_lineno-$LINENO}: libtiff libs: $TIFF_LIBS" >&5
13347 ac_save_CPPFLAGS
=$CPPFLAGS
13348 CPPFLAGS
="$CPPFLAGS $TIFF_CFLAGS"
13349 for ac_header
in tiffio.h
13351 ac_fn_c_check_header_mongrel
"$LINENO" "tiffio.h" "ac_cv_header_tiffio_h" "$ac_includes_default"
13352 if test "x$ac_cv_header_tiffio_h" = xyes
; then :
13353 cat >>confdefs.h
<<_ACEOF
13354 #define HAVE_TIFFIO_H 1
13361 if test "$ac_cv_header_tiffio_h" = "yes"
13363 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -ltiff" >&5
13364 $as_echo_n "checking for -ltiff... " >&6; }
13365 if ${ac_cv_lib_soname_tiff+:} false
; then :
13366 $as_echo_n "(cached) " >&6
13368 ac_check_soname_save_LIBS
=$LIBS
13369 LIBS
="-ltiff $TIFF_LIBS $LIBS"
13370 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13371 /* end confdefs.h. */
13373 /* Override any GCC internal prototype to avoid an error.
13374 Use char because int might match the return type of a GCC
13375 builtin and then its argument prototype would still apply. */
13379 char TIFFClientOpen ();
13383 return TIFFClientOpen ();
13388 if ac_fn_c_try_link
"$LINENO"; then :
13390 dll
) ac_cv_lib_soname_tiff
=`$ac_cv_path_LDD conftest.exe | grep "tiff" | sed -e "s/dll.*/dll/"';2,$d'` ;;
13391 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'` ;;
13392 *) ac_cv_lib_soname_tiff
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libtiff\\.$LIBEXT" | sed -e "s/^.*\\[\\(libtiff\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
13393 if ${ac_cv_lib_soname_tiff:+false} :; then :
13394 ac_cv_lib_soname_tiff
=`$LDD conftest$ac_exeext | grep "libtiff\\.$LIBEXT" | sed -e "s/^.*\(libtiff\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
13398 rm -f core conftest.err conftest.
$ac_objext \
13399 conftest
$ac_exeext conftest.
$ac_ext
13400 LIBS
=$ac_check_soname_save_LIBS
13402 if ${ac_cv_lib_soname_tiff:+false} :; then :
13403 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13404 $as_echo "not found" >&6; }
13407 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_tiff" >&5
13408 $as_echo "$ac_cv_lib_soname_tiff" >&6; }
13410 cat >>confdefs.h
<<_ACEOF
13411 #define SONAME_LIBTIFF "$ac_cv_lib_soname_tiff"
13417 CPPFLAGS
=$ac_save_CPPFLAGS
13418 test -z "$TIFF_CFLAGS" || TIFF_CFLAGS
=`echo " $TIFF_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
13419 test -z "$TIFF_LIBS" || TIFF_LIBS
=`echo " $TIFF_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
13422 if test "x$ac_cv_lib_soname_tiff" = "x"; then :
13423 case "x$with_tiff" in
13424 x
) as_fn_append wine_notices
"|libtiff ${notice_platform}development files not found, TIFF won't be supported." ;;
13426 *) as_fn_error $?
"libtiff ${notice_platform}development files not found, TIFF won't be supported.
13427 This is an error since --with-tiff was requested." "$LINENO" 5 ;;
13431 if test "x$with_mpg123" != "xno"
13433 if ${MPG123_CFLAGS:+false} :; then :
13434 if ${PKG_CONFIG+:} false
; then :
13435 MPG123_CFLAGS
=`$PKG_CONFIG --cflags libmpg123 2>/dev/null`
13439 if ${MPG123_LIBS:+false} :; then :
13440 if ${PKG_CONFIG+:} false
; then :
13441 MPG123_LIBS
=`$PKG_CONFIG --libs libmpg123 2>/dev/null`
13445 MPG123_LIBS
=${MPG123_LIBS:-"-lmpg123"}
13446 $as_echo "$as_me:${as_lineno-$LINENO}: libmpg123 cflags: $MPG123_CFLAGS" >&5
13447 $as_echo "$as_me:${as_lineno-$LINENO}: libmpg123 libs: $MPG123_LIBS" >&5
13448 ac_save_CPPFLAGS
=$CPPFLAGS
13449 CPPFLAGS
="$CPPFLAGS $MPG123_CFLAGS"
13450 for ac_header
in mpg123.h
13452 ac_fn_c_check_header_mongrel
"$LINENO" "mpg123.h" "ac_cv_header_mpg123_h" "$ac_includes_default"
13453 if test "x$ac_cv_header_mpg123_h" = xyes
; then :
13454 cat >>confdefs.h
<<_ACEOF
13455 #define HAVE_MPG123_H 1
13462 if test "$ac_cv_header_mpg123_h" = "yes"
13464 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for mpg123_feed in -lmpg123" >&5
13465 $as_echo_n "checking for mpg123_feed in -lmpg123... " >&6; }
13466 if ${ac_cv_lib_mpg123_mpg123_feed+:} false
; then :
13467 $as_echo_n "(cached) " >&6
13469 ac_check_lib_save_LIBS
=$LIBS
13470 LIBS
="-lmpg123 $MPG123_LIBS $LIBS"
13471 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13472 /* end confdefs.h. */
13474 /* Override any GCC internal prototype to avoid an error.
13475 Use char because int might match the return type of a GCC
13476 builtin and then its argument prototype would still apply. */
13480 char mpg123_feed ();
13484 return mpg123_feed ();
13489 if ac_fn_c_try_link
"$LINENO"; then :
13490 ac_cv_lib_mpg123_mpg123_feed
=yes
13492 ac_cv_lib_mpg123_mpg123_feed
=no
13494 rm -f core conftest.err conftest.
$ac_objext \
13495 conftest
$ac_exeext conftest.
$ac_ext
13496 LIBS
=$ac_check_lib_save_LIBS
13498 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_mpg123_mpg123_feed" >&5
13499 $as_echo "$ac_cv_lib_mpg123_mpg123_feed" >&6; }
13500 if test "x$ac_cv_lib_mpg123_mpg123_feed" = xyes
; then :
13510 CPPFLAGS
=$ac_save_CPPFLAGS
13511 test -z "$MPG123_CFLAGS" || MPG123_CFLAGS
=`echo " $MPG123_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
13512 test -z "$MPG123_LIBS" || MPG123_LIBS
=`echo " $MPG123_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
13515 if test "x$ac_cv_lib_mpg123_mpg123_feed" != xyes
-a x
"$ac_cv_header_CoreAudio_CoreAudio_h" != xyes
; then :
13516 case "x$with_mpg123" in
13517 x
) as_fn_append wine_notices
"|libmpg123 ${notice_platform}development files not found (or too old), mp3 codec won't be supported." ;;
13519 *) as_fn_error $?
"libmpg123 ${notice_platform}development files not found (or too old), mp3 codec won't be supported.
13520 This is an error since --with-mpg123 was requested." "$LINENO" 5 ;;
13523 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}
13525 if test "$ac_cv_header_AL_al_h" = "yes"
13527 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lopenal" >&5
13528 $as_echo_n "checking for -lopenal... " >&6; }
13529 if ${ac_cv_lib_soname_openal+:} false
; then :
13530 $as_echo_n "(cached) " >&6
13532 ac_check_soname_save_LIBS
=$LIBS
13533 LIBS
="-lopenal $LIBS"
13534 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13535 /* end confdefs.h. */
13537 /* Override any GCC internal prototype to avoid an error.
13538 Use char because int might match the return type of a GCC
13539 builtin and then its argument prototype would still apply. */
13543 char alGetSource3i ();
13547 return alGetSource3i ();
13552 if ac_fn_c_try_link
"$LINENO"; then :
13554 dll
) ac_cv_lib_soname_openal
=`$ac_cv_path_LDD conftest.exe | grep "openal" | sed -e "s/dll.*/dll/"';2,$d'` ;;
13555 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'` ;;
13556 *) ac_cv_lib_soname_openal
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libopenal\\.$LIBEXT" | sed -e "s/^.*\\[\\(libopenal\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
13557 if ${ac_cv_lib_soname_openal:+false} :; then :
13558 ac_cv_lib_soname_openal
=`$LDD conftest$ac_exeext | grep "libopenal\\.$LIBEXT" | sed -e "s/^.*\(libopenal\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
13562 rm -f core conftest.err conftest.
$ac_objext \
13563 conftest
$ac_exeext conftest.
$ac_ext
13564 LIBS
=$ac_check_soname_save_LIBS
13566 if ${ac_cv_lib_soname_openal:+false} :; then :
13567 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13568 $as_echo "not found" >&6; }
13571 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_openal" >&5
13572 $as_echo "$ac_cv_lib_soname_openal" >&6; }
13574 cat >>confdefs.h
<<_ACEOF
13575 #define SONAME_LIBOPENAL "$ac_cv_lib_soname_openal"
13578 OPENAL_LIBS
="-lopenal"
13580 ac_cv_lib_openal
=yes
13582 cat >>confdefs.h
<<_ACEOF
13583 #define HAVE_OPENAL 1
13588 if test "x$ac_cv_lib_openal" != xyes
; then :
13589 case "x$with_openal" in
13590 x
) as_fn_append wine_notices
"|libopenal ${notice_platform}development files not found (or too old), OpenAL won't be supported." ;;
13592 *) as_fn_error $?
"libopenal ${notice_platform}development files not found (or too old), OpenAL won't be supported.
13593 This is an error since --with-openal was requested." "$LINENO" 5 ;;
13596 test "x$ac_cv_lib_openal" = xyes || enable_openal32
=${enable_openal32:-no}
13598 if test "$ac_cv_header_kstat_h" = "yes"
13600 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for kstat_open in -lkstat" >&5
13601 $as_echo_n "checking for kstat_open in -lkstat... " >&6; }
13602 if ${ac_cv_lib_kstat_kstat_open+:} false
; then :
13603 $as_echo_n "(cached) " >&6
13605 ac_check_lib_save_LIBS
=$LIBS
13606 LIBS
="-lkstat $LIBS"
13607 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13608 /* end confdefs.h. */
13610 /* Override any GCC internal prototype to avoid an error.
13611 Use char because int might match the return type of a GCC
13612 builtin and then its argument prototype would still apply. */
13616 char kstat_open ();
13620 return kstat_open ();
13625 if ac_fn_c_try_link
"$LINENO"; then :
13626 ac_cv_lib_kstat_kstat_open
=yes
13628 ac_cv_lib_kstat_kstat_open
=no
13630 rm -f core conftest.err conftest.
$ac_objext \
13631 conftest
$ac_exeext conftest.
$ac_ext
13632 LIBS
=$ac_check_lib_save_LIBS
13634 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_kstat_kstat_open" >&5
13635 $as_echo "$ac_cv_lib_kstat_kstat_open" >&6; }
13636 if test "x$ac_cv_lib_kstat_kstat_open" = xyes
; then :
13638 $as_echo "#define HAVE_LIBKSTAT 1" >>confdefs.h
13640 KSTAT_LIBS
="-lkstat"
13646 if test "$ac_cv_header_libprocstat_h" = "yes"
13648 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for procstat_open_sysctl in -lprocstat" >&5
13649 $as_echo_n "checking for procstat_open_sysctl in -lprocstat... " >&6; }
13650 if ${ac_cv_lib_procstat_procstat_open_sysctl+:} false
; then :
13651 $as_echo_n "(cached) " >&6
13653 ac_check_lib_save_LIBS
=$LIBS
13654 LIBS
="-lprocstat $LIBS"
13655 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13656 /* end confdefs.h. */
13658 /* Override any GCC internal prototype to avoid an error.
13659 Use char because int might match the return type of a GCC
13660 builtin and then its argument prototype would still apply. */
13664 char procstat_open_sysctl ();
13668 return procstat_open_sysctl ();
13673 if ac_fn_c_try_link
"$LINENO"; then :
13674 ac_cv_lib_procstat_procstat_open_sysctl
=yes
13676 ac_cv_lib_procstat_procstat_open_sysctl
=no
13678 rm -f core conftest.err conftest.
$ac_objext \
13679 conftest
$ac_exeext conftest.
$ac_ext
13680 LIBS
=$ac_check_lib_save_LIBS
13682 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_procstat_procstat_open_sysctl" >&5
13683 $as_echo "$ac_cv_lib_procstat_procstat_open_sysctl" >&6; }
13684 if test "x$ac_cv_lib_procstat_procstat_open_sysctl" = xyes
; then :
13686 $as_echo "#define HAVE_LIBPROCSTAT 1" >>confdefs.h
13688 PROCSTAT_LIBS
="-lprocstat"
13694 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lodbc" >&5
13695 $as_echo_n "checking for -lodbc... " >&6; }
13696 if ${ac_cv_lib_soname_odbc+:} false
; then :
13697 $as_echo_n "(cached) " >&6
13699 ac_check_soname_save_LIBS
=$LIBS
13700 LIBS
="-lodbc $LIBS"
13701 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13702 /* end confdefs.h. */
13704 /* Override any GCC internal prototype to avoid an error.
13705 Use char because int might match the return type of a GCC
13706 builtin and then its argument prototype would still apply. */
13710 char SQLConnect ();
13714 return SQLConnect ();
13719 if ac_fn_c_try_link
"$LINENO"; then :
13721 dll
) ac_cv_lib_soname_odbc
=`$ac_cv_path_LDD conftest.exe | grep "odbc" | sed -e "s/dll.*/dll/"';2,$d'` ;;
13722 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'` ;;
13723 *) ac_cv_lib_soname_odbc
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libodbc\\.$LIBEXT" | sed -e "s/^.*\\[\\(libodbc\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
13724 if ${ac_cv_lib_soname_odbc:+false} :; then :
13725 ac_cv_lib_soname_odbc
=`$LDD conftest$ac_exeext | grep "libodbc\\.$LIBEXT" | sed -e "s/^.*\(libodbc\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
13729 rm -f core conftest.err conftest.
$ac_objext \
13730 conftest
$ac_exeext conftest.
$ac_ext
13731 LIBS
=$ac_check_soname_save_LIBS
13733 if ${ac_cv_lib_soname_odbc:+false} :; then :
13734 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13735 $as_echo "not found" >&6; }
13736 cat >>confdefs.h
<<_ACEOF
13737 #define SONAME_LIBODBC "libodbc.$LIBEXT"
13741 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_odbc" >&5
13742 $as_echo "$ac_cv_lib_soname_odbc" >&6; }
13744 cat >>confdefs.h
<<_ACEOF
13745 #define SONAME_LIBODBC "$ac_cv_lib_soname_odbc"
13751 if test "x$with_netapi" != "xno"
13753 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lnetapi" >&5
13754 $as_echo_n "checking for -lnetapi... " >&6; }
13755 if ${ac_cv_lib_soname_netapi+:} false
; then :
13756 $as_echo_n "(cached) " >&6
13758 ac_check_soname_save_LIBS
=$LIBS
13759 LIBS
="-lnetapi $LIBS"
13760 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13761 /* end confdefs.h. */
13763 /* Override any GCC internal prototype to avoid an error.
13764 Use char because int might match the return type of a GCC
13765 builtin and then its argument prototype would still apply. */
13769 char libnetapi_init ();
13773 return libnetapi_init ();
13778 if ac_fn_c_try_link
"$LINENO"; then :
13780 dll
) ac_cv_lib_soname_netapi
=`$ac_cv_path_LDD conftest.exe | grep "netapi" | sed -e "s/dll.*/dll/"';2,$d'` ;;
13781 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'` ;;
13782 *) ac_cv_lib_soname_netapi
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libnetapi\\.$LIBEXT" | sed -e "s/^.*\\[\\(libnetapi\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
13783 if ${ac_cv_lib_soname_netapi:+false} :; then :
13784 ac_cv_lib_soname_netapi
=`$LDD conftest$ac_exeext | grep "libnetapi\\.$LIBEXT" | sed -e "s/^.*\(libnetapi\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
13788 rm -f core conftest.err conftest.
$ac_objext \
13789 conftest
$ac_exeext conftest.
$ac_ext
13790 LIBS
=$ac_check_soname_save_LIBS
13792 if ${ac_cv_lib_soname_netapi:+false} :; then :
13793 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13794 $as_echo "not found" >&6; }
13795 cat >>confdefs.h
<<_ACEOF
13796 #define SONAME_LIBNETAPI "libnetapi.$LIBEXT"
13800 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_netapi" >&5
13801 $as_echo "$ac_cv_lib_soname_netapi" >&6; }
13803 cat >>confdefs.h
<<_ACEOF
13804 #define SONAME_LIBNETAPI "$ac_cv_lib_soname_netapi"
13811 test -n "$ALSA_LIBS" || enable_winealsa_drv
=${enable_winealsa_drv:-no}
13812 test -n "$COREAUDIO_LIBS" || enable_winecoreaudio_drv
=${enable_winecoreaudio_drv:-no}
13813 test "x$ac_cv_member_oss_sysinfo_numaudioengines" = xyes || enable_wineoss_drv
=${enable_wineoss_drv:-no}
13814 test "$ac_cv_header_linux_joystick_h" = "yes" -o "$ac_cv_header_IOKit_hid_IOHIDLib_h" = "yes" || enable_winejoystick_drv
=${enable_winejoystick_drv:-no}
13816 if test "x$ALSA_LIBS$COREAUDIO_LIBS" = "x" -a \
13817 "x$ac_cv_member_oss_sysinfo_numaudioengines" != xyes
-a \
13818 "x$with_alsa$with_coreaudio$with_oss" != xnonono
13820 as_fn_append wine_warnings
"|No sound system was found. Windows applications will be silent."
13826 if test "x${GCC}" = "xyes"
13828 EXTRACFLAGS
="-Wall -pipe"
13830 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gcc strength-reduce bug" >&5
13831 $as_echo_n "checking for gcc strength-reduce bug... " >&6; }
13832 if ${ac_cv_c_gcc_strength_bug+:} false
; then :
13833 $as_echo_n "(cached) " >&6
13835 if test "$cross_compiling" = yes; then :
13836 ac_cv_c_gcc_strength_bug
="no"
13838 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13839 /* end confdefs.h. */
13840 int L[4] = {0,1,2,3};
13844 static int Array[3];
13845 unsigned int B = 3;
13847 for(i=0; i<B; i++) Array[i] = i - 3;
13848 for(i=0; i<4 - 1; i++) L[i] = L[i + 1];
13850 return (Array[1] != -2 || L[2] != 3)
13855 if ac_fn_c_try_run
"$LINENO"; then :
13856 ac_cv_c_gcc_strength_bug
="no"
13858 ac_cv_c_gcc_strength_bug
="yes"
13860 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext \
13861 conftest.
$ac_objext conftest.beam conftest.
$ac_ext
13865 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_gcc_strength_bug" >&5
13866 $as_echo "$ac_cv_c_gcc_strength_bug" >&6; }
13867 if test "$ac_cv_c_gcc_strength_bug" = "yes"
13869 EXTRACFLAGS
="$EXTRACFLAGS -fno-strength-reduce"
13872 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fno-builtin" >&5
13873 $as_echo_n "checking whether the compiler supports -fno-builtin... " >&6; }
13874 if ${ac_cv_cflags__fno_builtin+:} false
; then :
13875 $as_echo_n "(cached) " >&6
13877 ac_wine_try_cflags_saved
=$CFLAGS
13878 CFLAGS
="$CFLAGS -fno-builtin"
13879 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13880 /* end confdefs.h. */
13881 int main(int argc, char **argv) { return 0; }
13883 if ac_fn_c_try_link
"$LINENO"; then :
13884 ac_cv_cflags__fno_builtin
=yes
13886 ac_cv_cflags__fno_builtin
=no
13888 rm -f core conftest.err conftest.
$ac_objext \
13889 conftest
$ac_exeext conftest.
$ac_ext
13890 CFLAGS
=$ac_wine_try_cflags_saved
13892 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fno_builtin" >&5
13893 $as_echo "$ac_cv_cflags__fno_builtin" >&6; }
13894 if test "x$ac_cv_cflags__fno_builtin" = xyes
; then :
13895 BUILTINFLAG
="-fno-builtin"
13898 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fno-strict-aliasing" >&5
13899 $as_echo_n "checking whether the compiler supports -fno-strict-aliasing... " >&6; }
13900 if ${ac_cv_cflags__fno_strict_aliasing+:} false
; then :
13901 $as_echo_n "(cached) " >&6
13903 ac_wine_try_cflags_saved
=$CFLAGS
13904 CFLAGS
="$CFLAGS -fno-strict-aliasing"
13905 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13906 /* end confdefs.h. */
13907 int main(int argc, char **argv) { return 0; }
13909 if ac_fn_c_try_link
"$LINENO"; then :
13910 ac_cv_cflags__fno_strict_aliasing
=yes
13912 ac_cv_cflags__fno_strict_aliasing
=no
13914 rm -f core conftest.err conftest.
$ac_objext \
13915 conftest
$ac_exeext conftest.
$ac_ext
13916 CFLAGS
=$ac_wine_try_cflags_saved
13918 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fno_strict_aliasing" >&5
13919 $as_echo "$ac_cv_cflags__fno_strict_aliasing" >&6; }
13920 if test "x$ac_cv_cflags__fno_strict_aliasing" = xyes
; then :
13921 EXTRACFLAGS
="$EXTRACFLAGS -fno-strict-aliasing"
13923 saved_CFLAGS
=$CFLAGS
13924 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Werror=unknown-warning-option" >&5
13925 $as_echo_n "checking whether the compiler supports -Werror=unknown-warning-option... " >&6; }
13926 if ${ac_cv_cflags__Werror_unknown_warning_option+:} false
; then :
13927 $as_echo_n "(cached) " >&6
13929 ac_wine_try_cflags_saved
=$CFLAGS
13930 CFLAGS
="$CFLAGS -Werror=unknown-warning-option"
13931 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13932 /* end confdefs.h. */
13933 int main(int argc, char **argv) { return 0; }
13935 if ac_fn_c_try_link
"$LINENO"; then :
13936 ac_cv_cflags__Werror_unknown_warning_option
=yes
13938 ac_cv_cflags__Werror_unknown_warning_option
=no
13940 rm -f core conftest.err conftest.
$ac_objext \
13941 conftest
$ac_exeext conftest.
$ac_ext
13942 CFLAGS
=$ac_wine_try_cflags_saved
13944 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Werror_unknown_warning_option" >&5
13945 $as_echo "$ac_cv_cflags__Werror_unknown_warning_option" >&6; }
13946 if test "x$ac_cv_cflags__Werror_unknown_warning_option" = xyes
; then :
13947 CFLAGS
="$CFLAGS -Werror=unknown-warning-option"
13949 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wdeclaration-after-statement" >&5
13950 $as_echo_n "checking whether the compiler supports -Wdeclaration-after-statement... " >&6; }
13951 if ${ac_cv_cflags__Wdeclaration_after_statement+:} false
; then :
13952 $as_echo_n "(cached) " >&6
13954 ac_wine_try_cflags_saved
=$CFLAGS
13955 CFLAGS
="$CFLAGS -Wdeclaration-after-statement"
13956 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13957 /* end confdefs.h. */
13958 int main(int argc, char **argv) { return 0; }
13960 if ac_fn_c_try_link
"$LINENO"; then :
13961 ac_cv_cflags__Wdeclaration_after_statement
=yes
13963 ac_cv_cflags__Wdeclaration_after_statement
=no
13965 rm -f core conftest.err conftest.
$ac_objext \
13966 conftest
$ac_exeext conftest.
$ac_ext
13967 CFLAGS
=$ac_wine_try_cflags_saved
13969 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wdeclaration_after_statement" >&5
13970 $as_echo "$ac_cv_cflags__Wdeclaration_after_statement" >&6; }
13971 if test "x$ac_cv_cflags__Wdeclaration_after_statement" = xyes
; then :
13972 EXTRACFLAGS
="$EXTRACFLAGS -Wdeclaration-after-statement"
13974 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wempty-body" >&5
13975 $as_echo_n "checking whether the compiler supports -Wempty-body... " >&6; }
13976 if ${ac_cv_cflags__Wempty_body+:} false
; then :
13977 $as_echo_n "(cached) " >&6
13979 ac_wine_try_cflags_saved
=$CFLAGS
13980 CFLAGS
="$CFLAGS -Wempty-body"
13981 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13982 /* end confdefs.h. */
13983 int main(int argc, char **argv) { return 0; }
13985 if ac_fn_c_try_link
"$LINENO"; then :
13986 ac_cv_cflags__Wempty_body
=yes
13988 ac_cv_cflags__Wempty_body
=no
13990 rm -f core conftest.err conftest.
$ac_objext \
13991 conftest
$ac_exeext conftest.
$ac_ext
13992 CFLAGS
=$ac_wine_try_cflags_saved
13994 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wempty_body" >&5
13995 $as_echo "$ac_cv_cflags__Wempty_body" >&6; }
13996 if test "x$ac_cv_cflags__Wempty_body" = xyes
; then :
13997 EXTRACFLAGS
="$EXTRACFLAGS -Wempty-body"
13999 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wignored-qualifiers" >&5
14000 $as_echo_n "checking whether the compiler supports -Wignored-qualifiers... " >&6; }
14001 if ${ac_cv_cflags__Wignored_qualifiers+:} false
; then :
14002 $as_echo_n "(cached) " >&6
14004 ac_wine_try_cflags_saved
=$CFLAGS
14005 CFLAGS
="$CFLAGS -Wignored-qualifiers"
14006 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14007 /* end confdefs.h. */
14008 int main(int argc, char **argv) { return 0; }
14010 if ac_fn_c_try_link
"$LINENO"; then :
14011 ac_cv_cflags__Wignored_qualifiers
=yes
14013 ac_cv_cflags__Wignored_qualifiers
=no
14015 rm -f core conftest.err conftest.
$ac_objext \
14016 conftest
$ac_exeext conftest.
$ac_ext
14017 CFLAGS
=$ac_wine_try_cflags_saved
14019 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wignored_qualifiers" >&5
14020 $as_echo "$ac_cv_cflags__Wignored_qualifiers" >&6; }
14021 if test "x$ac_cv_cflags__Wignored_qualifiers" = xyes
; then :
14022 EXTRACFLAGS
="$EXTRACFLAGS -Wignored-qualifiers"
14024 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wstrict-prototypes" >&5
14025 $as_echo_n "checking whether the compiler supports -Wstrict-prototypes... " >&6; }
14026 if ${ac_cv_cflags__Wstrict_prototypes+:} false
; then :
14027 $as_echo_n "(cached) " >&6
14029 ac_wine_try_cflags_saved
=$CFLAGS
14030 CFLAGS
="$CFLAGS -Wstrict-prototypes"
14031 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14032 /* end confdefs.h. */
14033 int main(int argc, char **argv) { return 0; }
14035 if ac_fn_c_try_link
"$LINENO"; then :
14036 ac_cv_cflags__Wstrict_prototypes
=yes
14038 ac_cv_cflags__Wstrict_prototypes
=no
14040 rm -f core conftest.err conftest.
$ac_objext \
14041 conftest
$ac_exeext conftest.
$ac_ext
14042 CFLAGS
=$ac_wine_try_cflags_saved
14044 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wstrict_prototypes" >&5
14045 $as_echo "$ac_cv_cflags__Wstrict_prototypes" >&6; }
14046 if test "x$ac_cv_cflags__Wstrict_prototypes" = xyes
; then :
14047 EXTRACFLAGS
="$EXTRACFLAGS -Wstrict-prototypes"
14049 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wtype-limits" >&5
14050 $as_echo_n "checking whether the compiler supports -Wtype-limits... " >&6; }
14051 if ${ac_cv_cflags__Wtype_limits+:} false
; then :
14052 $as_echo_n "(cached) " >&6
14054 ac_wine_try_cflags_saved
=$CFLAGS
14055 CFLAGS
="$CFLAGS -Wtype-limits"
14056 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14057 /* end confdefs.h. */
14058 int main(int argc, char **argv) { return 0; }
14060 if ac_fn_c_try_link
"$LINENO"; then :
14061 ac_cv_cflags__Wtype_limits
=yes
14063 ac_cv_cflags__Wtype_limits
=no
14065 rm -f core conftest.err conftest.
$ac_objext \
14066 conftest
$ac_exeext conftest.
$ac_ext
14067 CFLAGS
=$ac_wine_try_cflags_saved
14069 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wtype_limits" >&5
14070 $as_echo "$ac_cv_cflags__Wtype_limits" >&6; }
14071 if test "x$ac_cv_cflags__Wtype_limits" = xyes
; then :
14072 EXTRACFLAGS
="$EXTRACFLAGS -Wtype-limits"
14074 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wunused-but-set-parameter" >&5
14075 $as_echo_n "checking whether the compiler supports -Wunused-but-set-parameter... " >&6; }
14076 if ${ac_cv_cflags__Wunused_but_set_parameter+:} false
; then :
14077 $as_echo_n "(cached) " >&6
14079 ac_wine_try_cflags_saved
=$CFLAGS
14080 CFLAGS
="$CFLAGS -Wunused-but-set-parameter"
14081 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14082 /* end confdefs.h. */
14083 int main(int argc, char **argv) { return 0; }
14085 if ac_fn_c_try_link
"$LINENO"; then :
14086 ac_cv_cflags__Wunused_but_set_parameter
=yes
14088 ac_cv_cflags__Wunused_but_set_parameter
=no
14090 rm -f core conftest.err conftest.
$ac_objext \
14091 conftest
$ac_exeext conftest.
$ac_ext
14092 CFLAGS
=$ac_wine_try_cflags_saved
14094 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wunused_but_set_parameter" >&5
14095 $as_echo "$ac_cv_cflags__Wunused_but_set_parameter" >&6; }
14096 if test "x$ac_cv_cflags__Wunused_but_set_parameter" = xyes
; then :
14097 EXTRACFLAGS
="$EXTRACFLAGS -Wunused-but-set-parameter"
14099 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wvla" >&5
14100 $as_echo_n "checking whether the compiler supports -Wvla... " >&6; }
14101 if ${ac_cv_cflags__Wvla+:} false
; then :
14102 $as_echo_n "(cached) " >&6
14104 ac_wine_try_cflags_saved
=$CFLAGS
14105 CFLAGS
="$CFLAGS -Wvla"
14106 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14107 /* end confdefs.h. */
14108 int main(int argc, char **argv) { return 0; }
14110 if ac_fn_c_try_link
"$LINENO"; then :
14111 ac_cv_cflags__Wvla
=yes
14113 ac_cv_cflags__Wvla
=no
14115 rm -f core conftest.err conftest.
$ac_objext \
14116 conftest
$ac_exeext conftest.
$ac_ext
14117 CFLAGS
=$ac_wine_try_cflags_saved
14119 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wvla" >&5
14120 $as_echo "$ac_cv_cflags__Wvla" >&6; }
14121 if test "x$ac_cv_cflags__Wvla" = xyes
; then :
14122 EXTRACFLAGS
="$EXTRACFLAGS -Wvla"
14124 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wwrite-strings" >&5
14125 $as_echo_n "checking whether the compiler supports -Wwrite-strings... " >&6; }
14126 if ${ac_cv_cflags__Wwrite_strings+:} false
; then :
14127 $as_echo_n "(cached) " >&6
14129 ac_wine_try_cflags_saved
=$CFLAGS
14130 CFLAGS
="$CFLAGS -Wwrite-strings"
14131 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14132 /* end confdefs.h. */
14133 int main(int argc, char **argv) { return 0; }
14135 if ac_fn_c_try_link
"$LINENO"; then :
14136 ac_cv_cflags__Wwrite_strings
=yes
14138 ac_cv_cflags__Wwrite_strings
=no
14140 rm -f core conftest.err conftest.
$ac_objext \
14141 conftest
$ac_exeext conftest.
$ac_ext
14142 CFLAGS
=$ac_wine_try_cflags_saved
14144 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wwrite_strings" >&5
14145 $as_echo "$ac_cv_cflags__Wwrite_strings" >&6; }
14146 if test "x$ac_cv_cflags__Wwrite_strings" = xyes
; then :
14147 EXTRACFLAGS
="$EXTRACFLAGS -Wwrite-strings"
14150 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wpointer-arith" >&5
14151 $as_echo_n "checking whether the compiler supports -Wpointer-arith... " >&6; }
14152 if ${ac_cv_cflags__Wpointer_arith+:} false
; then :
14153 $as_echo_n "(cached) " >&6
14155 ac_wine_try_cflags_saved
=$CFLAGS
14156 CFLAGS
="$CFLAGS -Wpointer-arith"
14157 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14158 /* end confdefs.h. */
14159 int main(int argc, char **argv) { return 0; }
14161 if ac_fn_c_try_link
"$LINENO"; then :
14162 ac_cv_cflags__Wpointer_arith
=yes
14164 ac_cv_cflags__Wpointer_arith
=no
14166 rm -f core conftest.err conftest.
$ac_objext \
14167 conftest
$ac_exeext conftest.
$ac_ext
14168 CFLAGS
=$ac_wine_try_cflags_saved
14170 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wpointer_arith" >&5
14171 $as_echo "$ac_cv_cflags__Wpointer_arith" >&6; }
14172 if test "x$ac_cv_cflags__Wpointer_arith" = xyes
; then :
14173 saved_string_h_CFLAGS
=$CFLAGS
14174 CFLAGS
="$CFLAGS -Wpointer-arith -Werror"
14175 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for broken string.h that generates warnings with -Wpointer-arith" >&5
14176 $as_echo_n "checking for broken string.h that generates warnings with -Wpointer-arith... " >&6; }
14177 if ${ac_cv_c_string_h_warnings+:} false
; then :
14178 $as_echo_n "(cached) " >&6
14180 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14181 /* end confdefs.h. */
14182 #include <string.h>
14191 if ac_fn_c_try_compile
"$LINENO"; then :
14192 ac_cv_c_string_h_warnings
=no
14194 ac_cv_c_string_h_warnings
=yes
14196 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
14198 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_string_h_warnings" >&5
14199 $as_echo "$ac_cv_c_string_h_warnings" >&6; }
14200 test "$ac_cv_c_string_h_warnings" = yes || EXTRACFLAGS
="$EXTRACFLAGS -Wpointer-arith"
14201 CFLAGS
=$saved_string_h_CFLAGS
14204 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wlogical-op" >&5
14205 $as_echo_n "checking whether the compiler supports -Wlogical-op... " >&6; }
14206 if ${ac_cv_cflags__Wlogical_op+:} false
; then :
14207 $as_echo_n "(cached) " >&6
14209 ac_wine_try_cflags_saved
=$CFLAGS
14210 CFLAGS
="$CFLAGS -Wlogical-op"
14211 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14212 /* end confdefs.h. */
14213 int main(int argc, char **argv) { return 0; }
14215 if ac_fn_c_try_link
"$LINENO"; then :
14216 ac_cv_cflags__Wlogical_op
=yes
14218 ac_cv_cflags__Wlogical_op
=no
14220 rm -f core conftest.err conftest.
$ac_objext \
14221 conftest
$ac_exeext conftest.
$ac_ext
14222 CFLAGS
=$ac_wine_try_cflags_saved
14224 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wlogical_op" >&5
14225 $as_echo "$ac_cv_cflags__Wlogical_op" >&6; }
14226 if test "x$ac_cv_cflags__Wlogical_op" = xyes
; then :
14227 saved_string_h_CFLAGS
=$CFLAGS
14228 CFLAGS
="$CFLAGS -Wlogical-op -Werror"
14229 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for broken string.h that generates warnings with -Wlogical-op" >&5
14230 $as_echo_n "checking for broken string.h that generates warnings with -Wlogical-op... " >&6; }
14231 if ${ac_cv_c_logicalop_noisy+:} false
; then :
14232 $as_echo_n "(cached) " >&6
14234 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14235 /* end confdefs.h. */
14236 #include <string.h>
14237 char*f(const char *h,char n) {return strchr(h,n);}
14246 if ac_fn_c_try_compile
"$LINENO"; then :
14247 ac_cv_c_logicalop_noisy
=no
14249 ac_cv_c_logicalop_noisy
=yes
14251 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
14253 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_logicalop_noisy" >&5
14254 $as_echo "$ac_cv_c_logicalop_noisy" >&6; }
14255 CFLAGS
=$saved_string_h_CFLAGS
14256 test "$ac_cv_c_logicalop_noisy" = yes || EXTRACFLAGS
="$EXTRACFLAGS -Wlogical-op"
14259 CFLAGS
=$saved_CFLAGS
14261 for ac_flag
in $CFLAGS; do
14263 -g) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -gdwarf-2" >&5
14264 $as_echo_n "checking whether the compiler supports -gdwarf-2... " >&6; }
14265 if ${ac_cv_cflags__gdwarf_2+:} false
; then :
14266 $as_echo_n "(cached) " >&6
14268 ac_wine_try_cflags_saved
=$CFLAGS
14269 CFLAGS
="$CFLAGS -gdwarf-2"
14270 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14271 /* end confdefs.h. */
14272 int main(int argc, char **argv) { return 0; }
14274 if ac_fn_c_try_link
"$LINENO"; then :
14275 ac_cv_cflags__gdwarf_2
=yes
14277 ac_cv_cflags__gdwarf_2
=no
14279 rm -f core conftest.err conftest.
$ac_objext \
14280 conftest
$ac_exeext conftest.
$ac_ext
14281 CFLAGS
=$ac_wine_try_cflags_saved
14283 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__gdwarf_2" >&5
14284 $as_echo "$ac_cv_cflags__gdwarf_2" >&6; }
14285 if test "x$ac_cv_cflags__gdwarf_2" = xyes
; then :
14286 EXTRACFLAGS
="$EXTRACFLAGS -gdwarf-2"
14288 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -gstrict-dwarf" >&5
14289 $as_echo_n "checking whether the compiler supports -gstrict-dwarf... " >&6; }
14290 if ${ac_cv_cflags__gstrict_dwarf+:} false
; then :
14291 $as_echo_n "(cached) " >&6
14293 ac_wine_try_cflags_saved
=$CFLAGS
14294 CFLAGS
="$CFLAGS -gstrict-dwarf"
14295 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14296 /* end confdefs.h. */
14297 int main(int argc, char **argv) { return 0; }
14299 if ac_fn_c_try_link
"$LINENO"; then :
14300 ac_cv_cflags__gstrict_dwarf
=yes
14302 ac_cv_cflags__gstrict_dwarf
=no
14304 rm -f core conftest.err conftest.
$ac_objext \
14305 conftest
$ac_exeext conftest.
$ac_ext
14306 CFLAGS
=$ac_wine_try_cflags_saved
14308 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__gstrict_dwarf" >&5
14309 $as_echo "$ac_cv_cflags__gstrict_dwarf" >&6; }
14310 if test "x$ac_cv_cflags__gstrict_dwarf" = xyes
; then :
14311 EXTRACFLAGS
="$EXTRACFLAGS -gstrict-dwarf"
14317 *i
[3456789]86*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fno-omit-frame-pointer" >&5
14318 $as_echo_n "checking whether the compiler supports -fno-omit-frame-pointer... " >&6; }
14319 if ${ac_cv_cflags__fno_omit_frame_pointer+:} false
; then :
14320 $as_echo_n "(cached) " >&6
14322 ac_wine_try_cflags_saved
=$CFLAGS
14323 CFLAGS
="$CFLAGS -fno-omit-frame-pointer"
14324 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14325 /* end confdefs.h. */
14326 int main(int argc, char **argv) { return 0; }
14328 if ac_fn_c_try_link
"$LINENO"; then :
14329 ac_cv_cflags__fno_omit_frame_pointer
=yes
14331 ac_cv_cflags__fno_omit_frame_pointer
=no
14333 rm -f core conftest.err conftest.
$ac_objext \
14334 conftest
$ac_exeext conftest.
$ac_ext
14335 CFLAGS
=$ac_wine_try_cflags_saved
14337 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fno_omit_frame_pointer" >&5
14338 $as_echo "$ac_cv_cflags__fno_omit_frame_pointer" >&6; }
14339 if test "x$ac_cv_cflags__fno_omit_frame_pointer" = xyes
; then :
14340 EXTRACFLAGS
="$EXTRACFLAGS -fno-omit-frame-pointer"
14345 x86_64-
*mingw32
*|x86_64-
*cygwin
*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wno-format" >&5
14346 $as_echo_n "checking whether the compiler supports -Wno-format... " >&6; }
14347 if ${ac_cv_cflags__Wno_format+:} false
; then :
14348 $as_echo_n "(cached) " >&6
14350 ac_wine_try_cflags_saved
=$CFLAGS
14351 CFLAGS
="$CFLAGS -Wno-format"
14352 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14353 /* end confdefs.h. */
14354 int main(int argc, char **argv) { return 0; }
14356 if ac_fn_c_try_link
"$LINENO"; then :
14357 ac_cv_cflags__Wno_format
=yes
14359 ac_cv_cflags__Wno_format
=no
14361 rm -f core conftest.err conftest.
$ac_objext \
14362 conftest
$ac_exeext conftest.
$ac_ext
14363 CFLAGS
=$ac_wine_try_cflags_saved
14365 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wno_format" >&5
14366 $as_echo "$ac_cv_cflags__Wno_format" >&6; }
14367 if test "x$ac_cv_cflags__Wno_format" = xyes
; then :
14368 EXTRACFLAGS
="$EXTRACFLAGS -Wno-format"
14372 if test "x$enable_maintainer_mode" = "xyes"
14374 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Werror" >&5
14375 $as_echo_n "checking whether the compiler supports -Werror... " >&6; }
14376 if ${ac_cv_cflags__Werror+:} false
; then :
14377 $as_echo_n "(cached) " >&6
14379 ac_wine_try_cflags_saved
=$CFLAGS
14380 CFLAGS
="$CFLAGS -Werror"
14381 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14382 /* end confdefs.h. */
14383 int main(int argc, char **argv) { return 0; }
14385 if ac_fn_c_try_link
"$LINENO"; then :
14386 ac_cv_cflags__Werror
=yes
14388 ac_cv_cflags__Werror
=no
14390 rm -f core conftest.err conftest.
$ac_objext \
14391 conftest
$ac_exeext conftest.
$ac_ext
14392 CFLAGS
=$ac_wine_try_cflags_saved
14394 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Werror" >&5
14395 $as_echo "$ac_cv_cflags__Werror" >&6; }
14396 if test "x$ac_cv_cflags__Werror" = xyes
; then :
14397 EXTRACFLAGS
="$EXTRACFLAGS -Werror"
14401 saved_CFLAGS
="$CFLAGS"
14402 CFLAGS
="$CFLAGS -Werror"
14403 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ms_hook_prologue attribute" >&5
14404 $as_echo_n "checking for ms_hook_prologue attribute... " >&6; }
14405 if ${ac_cv_have_ms_hook_prologue+:} false
; then :
14406 $as_echo_n "(cached) " >&6
14408 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14409 /* end confdefs.h. */
14410 int __attribute__((__ms_hook_prologue__)) test(void) { return 0; }
14419 if ac_fn_c_try_compile
"$LINENO"; then :
14420 ac_cv_have_ms_hook_prologue
="yes"
14422 ac_cv_have_ms_hook_prologue
="no"
14424 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
14426 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_ms_hook_prologue" >&5
14427 $as_echo "$ac_cv_have_ms_hook_prologue" >&6; }
14428 CFLAGS
="$saved_CFLAGS"
14429 if test "$ac_cv_have_ms_hook_prologue" = "yes"
14432 $as_echo "#define DECLSPEC_HOTPATCH __attribute__((__ms_hook_prologue__))" >>confdefs.h
14435 $as_echo "#define DECLSPEC_HOTPATCH /* */" >>confdefs.h
14441 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for the need to disable Fortify" >&5
14442 $as_echo_n "checking for the need to disable Fortify... " >&6; }
14443 if ${ac_cv_c_fortify_enabled+:} false
; then :
14444 $as_echo_n "(cached) " >&6
14446 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14447 /* end confdefs.h. */
14448 #include <string.h>
14452 #if defined(__USE_FORTIFY_LEVEL) && __USE_FORTIFY_LEVEL > 0
14453 #error Fortify enabled
14459 if ac_fn_c_try_compile
"$LINENO"; then :
14460 ac_cv_c_fortify_enabled
=no
14462 ac_cv_c_fortify_enabled
=yes
14464 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
14466 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_fortify_enabled" >&5
14467 $as_echo "$ac_cv_c_fortify_enabled" >&6; }
14468 if test "$ac_cv_c_fortify_enabled" = yes
14470 CFLAGS
="$CFLAGS -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=0"
14474 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether external symbols need an underscore prefix" >&5
14475 $as_echo_n "checking whether external symbols need an underscore prefix... " >&6; }
14476 if ${ac_cv_c_extern_prefix+:} false
; then :
14477 $as_echo_n "(cached) " >&6
14479 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14480 /* end confdefs.h. */
14481 extern int ac_test;
14485 asm(".globl _ac_test\n_ac_test:\t.long 0"); if (ac_test) return 1
14490 if ac_fn_c_try_link
"$LINENO"; then :
14491 ac_cv_c_extern_prefix
="yes"
14493 ac_cv_c_extern_prefix
="no"
14495 rm -f core conftest.err conftest.
$ac_objext \
14496 conftest
$ac_exeext conftest.
$ac_ext
14498 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_extern_prefix" >&5
14499 $as_echo "$ac_cv_c_extern_prefix" >&6; }
14503 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether external symbols need stdcall decoration" >&5
14504 $as_echo_n "checking whether external symbols need stdcall decoration... " >&6; }
14505 if ${ac_cv_c_stdcall_suffix+:} false
; then :
14506 $as_echo_n "(cached) " >&6
14508 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14509 /* end confdefs.h. */
14511 #define __stdcall __attribute__((__stdcall__))
14513 int __stdcall ac_test(int i) { return i; }
14517 asm("jmp _ac_test@4"); if (ac_test(1)) return 1
14522 if ac_fn_c_try_link
"$LINENO"; then :
14523 ac_cv_c_stdcall_suffix
="yes"
14525 ac_cv_c_stdcall_suffix
="no"
14527 rm -f core conftest.err conftest.
$ac_objext \
14528 conftest
$ac_exeext conftest.
$ac_ext
14530 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_stdcall_suffix" >&5
14531 $as_echo "$ac_cv_c_stdcall_suffix" >&6; } ;;
14532 *) ac_cv_c_stdcall_suffix
="no" ;;
14536 if test "$ac_cv_c_extern_prefix" = "yes"
14538 $as_echo "#define __ASM_NAME(name) \"_\" name" >>confdefs.h
14540 asm_name_prefix
="_"
14542 $as_echo "#define __ASM_NAME(name) name" >>confdefs.h
14548 if test "$ac_cv_c_stdcall_suffix" = "yes"
14550 $as_echo "#define __ASM_STDCALL(args) \"@\" #args" >>confdefs.h
14553 $as_echo "#define __ASM_STDCALL(args) \"\"" >>confdefs.h
14558 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to define a function in assembly code" >&5
14559 $as_echo_n "checking how to define a function in assembly code... " >&6; }
14560 if ${ac_cv_asm_func_def+:} false
; then :
14561 $as_echo_n "(cached) " >&6
14563 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14564 /* end confdefs.h. */
14569 asm("\t.globl _ac_test\n\t.def _ac_test; .scl 2; .type 32; .endef\n_ac_test:\t.long 0");
14574 if ac_fn_c_try_link
"$LINENO"; then :
14575 ac_cv_asm_func_def
=".def"
14577 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14578 /* end confdefs.h. */
14583 asm("\t.globl _ac_test\n\t.type _ac_test,@function\n_ac_test:\t.long 0");
14588 if ac_fn_c_try_link
"$LINENO"; then :
14589 ac_cv_asm_func_def
=".type @function"
14591 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14592 /* end confdefs.h. */
14597 asm("\t.globl _ac_test\n\t.type _ac_test,2\n_ac_test:\t.long 0");
14602 if ac_fn_c_try_link
"$LINENO"; then :
14603 ac_cv_asm_func_def
=".type 2"
14605 ac_cv_asm_func_def
="unknown"
14607 rm -f core conftest.err conftest.
$ac_objext \
14608 conftest
$ac_exeext conftest.
$ac_ext
14610 rm -f core conftest.err conftest.
$ac_objext \
14611 conftest
$ac_exeext conftest.
$ac_ext
14613 rm -f core conftest.err conftest.
$ac_objext \
14614 conftest
$ac_exeext conftest.
$ac_ext
14616 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_asm_func_def" >&5
14617 $as_echo "$ac_cv_asm_func_def" >&6; }
14620 case "$ac_cv_asm_func_def" in
14622 $as_echo "#define __ASM_FUNC(name) \".def \" __ASM_NAME(name) \"; .scl 2; .type 32; .endef\"" >>confdefs.h
14624 asm_func_header
=".def $asm_name_prefix\" #name suffix \"; .scl 2; .type 32; .endef" ;;
14626 $as_echo "#define __ASM_FUNC(name) \".type \" __ASM_NAME(name) \",@function\"" >>confdefs.h
14628 asm_func_header
=".type $asm_name_prefix\" #name suffix \",@function" ;;
14630 $as_echo "#define __ASM_FUNC(name) \".type \" __ASM_NAME(name) \",2\"" >>confdefs.h
14632 asm_func_header
=".type $asm_name_prefix\" #name suffix \",2" ;;
14634 $as_echo "#define __ASM_FUNC(name) \"\"" >>confdefs.h
14636 asm_func_header
="" ;;
14639 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether asm() works outside of functions" >&5
14640 $as_echo_n "checking whether asm() works outside of functions... " >&6; }
14641 if ${ac_cv_c_asm_outside_funcs+:} false
; then :
14642 $as_echo_n "(cached) " >&6
14644 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14645 /* end confdefs.h. */
14646 asm(".text\n\t.long 0");
14655 if ac_fn_c_try_compile
"$LINENO"; then :
14656 ac_cv_c_asm_outside_funcs
="yes"
14658 ac_cv_c_asm_outside_funcs
="no"
14660 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
14662 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_asm_outside_funcs" >&5
14663 $as_echo "$ac_cv_c_asm_outside_funcs" >&6; }
14665 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether .previous is supported in assembly code" >&5
14666 $as_echo_n "checking whether .previous is supported in assembly code... " >&6; }
14667 if ${ac_cv_c_dot_previous+:} false
; then :
14668 $as_echo_n "(cached) " >&6
14670 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14671 /* end confdefs.h. */
14676 asm(".text\nac_test:\t.long 0\n\t.previous");
14681 if ac_fn_c_try_link
"$LINENO"; then :
14682 ac_cv_c_dot_previous
="yes"
14684 ac_cv_c_dot_previous
="no"
14686 rm -f core conftest.err conftest.
$ac_objext \
14687 conftest
$ac_exeext conftest.
$ac_ext
14689 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_dot_previous" >&5
14690 $as_echo "$ac_cv_c_dot_previous" >&6; }
14692 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether CFI directives are supported in assembly code" >&5
14693 $as_echo_n "checking whether CFI directives are supported in assembly code... " >&6; }
14694 if ${ac_cv_c_cfi_support+:} false
; then :
14695 $as_echo_n "(cached) " >&6
14697 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14698 /* end confdefs.h. */
14699 asm(".text\nac_test:\t.cfi_startproc\n\t.long 0\n\t.cfi_endproc");
14708 if ac_fn_c_try_compile
"$LINENO"; then :
14709 ac_cv_c_cfi_support
="yes"
14711 ac_cv_c_cfi_support
="no"
14713 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
14715 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_cfi_support" >&5
14716 $as_echo "$ac_cv_c_cfi_support" >&6; }
14718 asm_func_header
=".globl $asm_name_prefix\" #name suffix \"\\n\\t$asm_func_header\\n$asm_name_prefix\" #name suffix \":\\n\\t"
14719 asm_func_trailer
=""
14720 if test "$ac_cv_c_dot_previous" = "yes"
14722 asm_func_trailer
="\\n\\t.previous"
14724 if test "$ac_cv_c_cfi_support" = "yes"
14726 asm_func_header
="$asm_func_header.cfi_startproc\\n\\t"
14727 asm_func_trailer
="\\n\\t.cfi_endproc$asm_func_trailer"
14729 $as_echo "#define __ASM_CFI(str) str" >>confdefs.h
14731 UNWINDFLAGS
=-fasynchronous-unwind-tables
14734 $as_echo "#define __ASM_CFI(str) \"\"" >>confdefs.h
14736 if test "x$enable_win64" = "xyes"
14738 as_fn_append wine_warnings
"|building 64-bit Wine without support for CFI directives; exception handling will not work properly."
14742 asm_func_code
="$asm_func_header\" code \"$asm_func_trailer"
14745 if test "$ac_cv_c_asm_outside_funcs" = "yes"
14747 cat >>confdefs.h
<<_ACEOF
14748 #define __ASM_DEFINE_FUNC(name,suffix,code) asm(".text\n\t.align 4\n\t$asm_func_code");
14752 cat >>confdefs.h
<<_ACEOF
14753 #define __ASM_DEFINE_FUNC(name,suffix,code) void __asm_dummy_##name(void) { asm(".text\n\t.align 4\n\t$asm_func_code"); }
14758 $as_echo "#define __ASM_GLOBAL_FUNC(name,code) __ASM_DEFINE_FUNC(name,\"\",code)" >>confdefs.h
14761 $as_echo "#define __ASM_STDCALL_FUNC(name,args,code) __ASM_DEFINE_FUNC(name,__ASM_STDCALL(args),code)" >>confdefs.h
14766 cygwin
*|mingw32
*) TOOLSEXT
=".exe"
14773 *i
[3456789]86*|x86_64
*)
14774 test "$wine_binary" = wine || wine_fn_ignore_file
"loader/wine-preloader"
14775 loader_programs
="$loader_programs $wine_binary-preloader"
14776 as_fn_append LOADER_RULES
"
14777 $wine_binary-preloader: preloader.o
14778 \$(CC) -o \$@ -static -nostartfiles -nodefaultlibs -Wl,-Ttext=0x7c400000 preloader.o \$(LIBPORT) \$(LDFLAGS)
14780 install install-lib:: $wine_binary-preloader
14781 \$(INSTALL_PROGRAM) $wine_binary-preloader \$(DESTDIR)\$(bindir)/$wine_binary-preloader
14784 \$(RM) \$(DESTDIR)\$(bindir)/$wine_binary-preloader
14786 preloader_EXTRADEFS = $BUILTINFLAG
14791 as_fn_append LOADER_RULES
"
14792 PROGRAMS = $loader_programs
14796 ac_save_CFLAGS
="$CFLAGS"
14797 CFLAGS
="$CFLAGS $BUILTINFLAG"
14876 as_ac_var
=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
14877 ac_fn_c_check_func
"$LINENO" "$ac_func" "$as_ac_var"
14878 if eval test \"x\$
"$as_ac_var"\" = x
"yes"; then :
14879 cat >>confdefs.h
<<_ACEOF
14880 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
14886 CFLAGS
="$ac_save_CFLAGS"
14888 if test "$ac_cv_func_dlopen" = no
14890 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
14891 $as_echo_n "checking for dlopen in -ldl... " >&6; }
14892 if ${ac_cv_lib_dl_dlopen+:} false
; then :
14893 $as_echo_n "(cached) " >&6
14895 ac_check_lib_save_LIBS
=$LIBS
14897 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14898 /* end confdefs.h. */
14900 /* Override any GCC internal prototype to avoid an error.
14901 Use char because int might match the return type of a GCC
14902 builtin and then its argument prototype would still apply. */
14915 if ac_fn_c_try_link
"$LINENO"; then :
14916 ac_cv_lib_dl_dlopen
=yes
14918 ac_cv_lib_dl_dlopen
=no
14920 rm -f core conftest.err conftest.
$ac_objext \
14921 conftest
$ac_exeext conftest.
$ac_ext
14922 LIBS
=$ac_check_lib_save_LIBS
14924 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
14925 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
14926 if test "x$ac_cv_lib_dl_dlopen" = xyes
; then :
14927 $as_echo "#define HAVE_DLOPEN 1" >>confdefs.h
14933 ac_wine_check_funcs_save_LIBS
="$LIBS"
14934 LIBS
="$LIBS $DL_LIBS"
14935 for ac_func
in dladdr
14937 ac_fn_c_check_func
"$LINENO" "dladdr" "ac_cv_func_dladdr"
14938 if test "x$ac_cv_func_dladdr" = xyes
; then :
14939 cat >>confdefs.h
<<_ACEOF
14940 #define HAVE_DLADDR 1
14946 LIBS
="$ac_wine_check_funcs_save_LIBS"
14948 if test "$ac_cv_func_poll" = no
14950 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for poll in -lpoll" >&5
14951 $as_echo_n "checking for poll in -lpoll... " >&6; }
14952 if ${ac_cv_lib_poll_poll+:} false
; then :
14953 $as_echo_n "(cached) " >&6
14955 ac_check_lib_save_LIBS
=$LIBS
14956 LIBS
="-lpoll $LIBS"
14957 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14958 /* end confdefs.h. */
14960 /* Override any GCC internal prototype to avoid an error.
14961 Use char because int might match the return type of a GCC
14962 builtin and then its argument prototype would still apply. */
14975 if ac_fn_c_try_link
"$LINENO"; then :
14976 ac_cv_lib_poll_poll
=yes
14978 ac_cv_lib_poll_poll
=no
14980 rm -f core conftest.err conftest.
$ac_objext \
14981 conftest
$ac_exeext conftest.
$ac_ext
14982 LIBS
=$ac_check_lib_save_LIBS
14984 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_poll_poll" >&5
14985 $as_echo "$ac_cv_lib_poll_poll" >&6; }
14986 if test "x$ac_cv_lib_poll_poll" = xyes
; then :
14987 $as_echo "#define HAVE_POLL 1" >>confdefs.h
14994 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing gethostbyname" >&5
14995 $as_echo_n "checking for library containing gethostbyname... " >&6; }
14996 if ${ac_cv_search_gethostbyname+:} false
; then :
14997 $as_echo_n "(cached) " >&6
14999 ac_func_search_save_LIBS
=$LIBS
15000 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15001 /* end confdefs.h. */
15003 /* Override any GCC internal prototype to avoid an error.
15004 Use char because int might match the return type of a GCC
15005 builtin and then its argument prototype would still apply. */
15009 char gethostbyname ();
15013 return gethostbyname ();
15018 for ac_lib
in '' nsl
; do
15019 if test -z "$ac_lib"; then
15020 ac_res
="none required"
15023 LIBS
="-l$ac_lib $ac_func_search_save_LIBS"
15025 if ac_fn_c_try_link
"$LINENO"; then :
15026 ac_cv_search_gethostbyname
=$ac_res
15028 rm -f core conftest.err conftest.
$ac_objext \
15030 if ${ac_cv_search_gethostbyname+:} false
; then :
15034 if ${ac_cv_search_gethostbyname+:} false
; then :
15037 ac_cv_search_gethostbyname
=no
15039 rm conftest.
$ac_ext
15040 LIBS
=$ac_func_search_save_LIBS
15042 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_gethostbyname" >&5
15043 $as_echo "$ac_cv_search_gethostbyname" >&6; }
15044 ac_res
=$ac_cv_search_gethostbyname
15045 if test "$ac_res" != no
; then :
15046 test "$ac_res" = "none required" || LIBS
="$ac_res $LIBS"
15051 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing connect" >&5
15052 $as_echo_n "checking for library containing connect... " >&6; }
15053 if ${ac_cv_search_connect+:} false
; then :
15054 $as_echo_n "(cached) " >&6
15056 ac_func_search_save_LIBS
=$LIBS
15057 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15058 /* end confdefs.h. */
15060 /* Override any GCC internal prototype to avoid an error.
15061 Use char because int might match the return type of a GCC
15062 builtin and then its argument prototype would still apply. */
15075 for ac_lib
in '' socket
; do
15076 if test -z "$ac_lib"; then
15077 ac_res
="none required"
15080 LIBS
="-l$ac_lib $ac_func_search_save_LIBS"
15082 if ac_fn_c_try_link
"$LINENO"; then :
15083 ac_cv_search_connect
=$ac_res
15085 rm -f core conftest.err conftest.
$ac_objext \
15087 if ${ac_cv_search_connect+:} false
; then :
15091 if ${ac_cv_search_connect+:} false
; then :
15094 ac_cv_search_connect
=no
15096 rm conftest.
$ac_ext
15097 LIBS
=$ac_func_search_save_LIBS
15099 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_connect" >&5
15100 $as_echo "$ac_cv_search_connect" >&6; }
15101 ac_res
=$ac_cv_search_connect
15102 if test "$ac_res" != no
; then :
15103 test "$ac_res" = "none required" || LIBS
="$ac_res $LIBS"
15108 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing inet_aton" >&5
15109 $as_echo_n "checking for library containing inet_aton... " >&6; }
15110 if ${ac_cv_search_inet_aton+:} false
; then :
15111 $as_echo_n "(cached) " >&6
15113 ac_func_search_save_LIBS
=$LIBS
15114 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15115 /* end confdefs.h. */
15117 /* Override any GCC internal prototype to avoid an error.
15118 Use char because int might match the return type of a GCC
15119 builtin and then its argument prototype would still apply. */
15127 return inet_aton ();
15132 for ac_lib
in '' resolv
; do
15133 if test -z "$ac_lib"; then
15134 ac_res
="none required"
15137 LIBS
="-l$ac_lib $ac_func_search_save_LIBS"
15139 if ac_fn_c_try_link
"$LINENO"; then :
15140 ac_cv_search_inet_aton
=$ac_res
15142 rm -f core conftest.err conftest.
$ac_objext \
15144 if ${ac_cv_search_inet_aton+:} false
; then :
15148 if ${ac_cv_search_inet_aton+:} false
; then :
15151 ac_cv_search_inet_aton
=no
15153 rm conftest.
$ac_ext
15154 LIBS
=$ac_func_search_save_LIBS
15156 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_inet_aton" >&5
15157 $as_echo "$ac_cv_search_inet_aton" >&6; }
15158 ac_res
=$ac_cv_search_inet_aton
15159 if test "$ac_res" != no
; then :
15160 test "$ac_res" = "none required" || LIBS
="$ac_res $LIBS"
15180 as_ac_var
=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
15181 ac_fn_c_check_func
"$LINENO" "$ac_func" "$as_ac_var"
15182 if eval test \"x\$
"$as_ac_var"\" = x
"yes"; then :
15183 cat >>confdefs.h
<<_ACEOF
15184 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
15192 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing clock_gettime" >&5
15193 $as_echo_n "checking for library containing clock_gettime... " >&6; }
15194 if ${ac_cv_search_clock_gettime+:} false
; then :
15195 $as_echo_n "(cached) " >&6
15197 ac_func_search_save_LIBS
=$LIBS
15198 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15199 /* end confdefs.h. */
15201 /* Override any GCC internal prototype to avoid an error.
15202 Use char because int might match the return type of a GCC
15203 builtin and then its argument prototype would still apply. */
15207 char clock_gettime ();
15211 return clock_gettime ();
15216 for ac_lib
in '' rt
; do
15217 if test -z "$ac_lib"; then
15218 ac_res
="none required"
15221 LIBS
="-l$ac_lib $ac_func_search_save_LIBS"
15223 if ac_fn_c_try_link
"$LINENO"; then :
15224 ac_cv_search_clock_gettime
=$ac_res
15226 rm -f core conftest.err conftest.
$ac_objext \
15228 if ${ac_cv_search_clock_gettime+:} false
; then :
15232 if ${ac_cv_search_clock_gettime+:} false
; then :
15235 ac_cv_search_clock_gettime
=no
15237 rm conftest.
$ac_ext
15238 LIBS
=$ac_func_search_save_LIBS
15240 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_clock_gettime" >&5
15241 $as_echo "$ac_cv_search_clock_gettime" >&6; }
15242 ac_res
=$ac_cv_search_clock_gettime
15243 if test "$ac_res" != no
; then :
15244 test "$ac_res" = "none required" || LIBS
="$ac_res $LIBS"
15246 $as_echo "#define HAVE_CLOCK_GETTIME 1" >>confdefs.h
15248 test "$ac_res" = "none required" || RT_LIBS
="$ac_res"
15256 if test "$ac_cv_header_ldap_h" = "yes" -a "$ac_cv_header_lber_h" = "yes"
15258 ac_fn_c_check_type
"$LINENO" "LDAPSortKey" "ac_cv_type_LDAPSortKey" "#include <ldap.h>
15260 if test "x$ac_cv_type_LDAPSortKey" = xyes
; then :
15261 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldap_initialize in -lldap_r" >&5
15262 $as_echo_n "checking for ldap_initialize in -lldap_r... " >&6; }
15263 if ${ac_cv_lib_ldap_r_ldap_initialize+:} false
; then :
15264 $as_echo_n "(cached) " >&6
15266 ac_check_lib_save_LIBS
=$LIBS
15267 LIBS
="-lldap_r $PTHREAD_LIBS $LIBS"
15268 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15269 /* end confdefs.h. */
15271 /* Override any GCC internal prototype to avoid an error.
15272 Use char because int might match the return type of a GCC
15273 builtin and then its argument prototype would still apply. */
15277 char ldap_initialize ();
15281 return ldap_initialize ();
15286 if ac_fn_c_try_link
"$LINENO"; then :
15287 ac_cv_lib_ldap_r_ldap_initialize
=yes
15289 ac_cv_lib_ldap_r_ldap_initialize
=no
15291 rm -f core conftest.err conftest.
$ac_objext \
15292 conftest
$ac_exeext conftest.
$ac_ext
15293 LIBS
=$ac_check_lib_save_LIBS
15295 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ldap_r_ldap_initialize" >&5
15296 $as_echo "$ac_cv_lib_ldap_r_ldap_initialize" >&6; }
15297 if test "x$ac_cv_lib_ldap_r_ldap_initialize" = xyes
; then :
15298 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ber_init in -llber" >&5
15299 $as_echo_n "checking for ber_init in -llber... " >&6; }
15300 if ${ac_cv_lib_lber_ber_init+:} false
; then :
15301 $as_echo_n "(cached) " >&6
15303 ac_check_lib_save_LIBS
=$LIBS
15304 LIBS
="-llber $PTHREAD_LIBS $LIBS"
15305 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15306 /* end confdefs.h. */
15308 /* Override any GCC internal prototype to avoid an error.
15309 Use char because int might match the return type of a GCC
15310 builtin and then its argument prototype would still apply. */
15318 return ber_init ();
15323 if ac_fn_c_try_link
"$LINENO"; then :
15324 ac_cv_lib_lber_ber_init
=yes
15326 ac_cv_lib_lber_ber_init
=no
15328 rm -f core conftest.err conftest.
$ac_objext \
15329 conftest
$ac_exeext conftest.
$ac_ext
15330 LIBS
=$ac_check_lib_save_LIBS
15332 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_lber_ber_init" >&5
15333 $as_echo "$ac_cv_lib_lber_ber_init" >&6; }
15334 if test "x$ac_cv_lib_lber_ber_init" = xyes
; then :
15336 $as_echo "#define HAVE_LDAP 1" >>confdefs.h
15338 LDAP_LIBS
="-lldap_r -llber"
15345 ac_wine_check_funcs_save_LIBS
="$LIBS"
15346 LIBS
="$LIBS $LDAP_LIBS $PTHREAD_LIBS"
15348 ldap_count_references \
15349 ldap_first_reference \
15350 ldap_next_reference \
15351 ldap_parse_reference \
15352 ldap_parse_sort_control \
15353 ldap_parse_sortresponse_control \
15354 ldap_parse_vlv_control \
15355 ldap_parse_vlvresponse_control
15357 as_ac_var
=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
15358 ac_fn_c_check_func
"$LINENO" "$ac_func" "$as_ac_var"
15359 if eval test \"x\$
"$as_ac_var"\" = x
"yes"; then :
15360 cat >>confdefs.h
<<_ACEOF
15361 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
15367 LIBS
="$ac_wine_check_funcs_save_LIBS"
15369 if test "x$LDAP_LIBS" = "x"; then :
15370 case "x$with_ldap" in
15371 x
) as_fn_append wine_notices
"|libldap (OpenLDAP) ${notice_platform}development files not found, LDAP won't be supported." ;;
15373 *) as_fn_error $?
"libldap (OpenLDAP) ${notice_platform}development files not found, LDAP won't be supported.
15374 This is an error since --with-ldap was requested." "$LINENO" 5 ;;
15378 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether mkdir takes only one argument" >&5
15379 $as_echo_n "checking whether mkdir takes only one argument... " >&6; }
15380 if ${wine_cv_one_arg_mkdir+:} false
; then :
15381 $as_echo_n "(cached) " >&6
15383 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15384 /* end confdefs.h. */
15385 #include <sys/stat.h>
15394 if ac_fn_c_try_compile
"$LINENO"; then :
15395 wine_cv_one_arg_mkdir
=yes
15397 wine_cv_one_arg_mkdir
=no
15399 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
15401 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_one_arg_mkdir" >&5
15402 $as_echo "$wine_cv_one_arg_mkdir" >&6; }
15403 if test "$wine_cv_one_arg_mkdir" = "yes"
15406 $as_echo "#define HAVE_ONE_ARG_MKDIR 1" >>confdefs.h
15410 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sched_setaffinity" >&5
15411 $as_echo_n "checking for sched_setaffinity... " >&6; }
15412 if ${wine_cv_have_sched_setaffinity+:} false
; then :
15413 $as_echo_n "(cached) " >&6
15415 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15416 /* end confdefs.h. */
15417 #define _GNU_SOURCE
15422 sched_setaffinity(0, 0, 0);
15427 if ac_fn_c_try_link
"$LINENO"; then :
15428 wine_cv_have_sched_setaffinity
=yes
15430 wine_cv_have_sched_setaffinity
=no
15432 rm -f core conftest.err conftest.
$ac_objext \
15433 conftest
$ac_exeext conftest.
$ac_ext
15435 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_have_sched_setaffinity" >&5
15436 $as_echo "$wine_cv_have_sched_setaffinity" >&6; }
15437 if test "$wine_cv_have_sched_setaffinity" = "yes"
15440 $as_echo "#define HAVE_SCHED_SETAFFINITY 1" >>confdefs.h
15444 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fallocate" >&5
15445 $as_echo_n "checking for fallocate... " >&6; }
15446 if ${wine_cv_have_fallocate+:} false
; then :
15447 $as_echo_n "(cached) " >&6
15449 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15450 /* end confdefs.h. */
15451 #define _GNU_SOURCE
15456 fallocate(-1, 0, 0, 0);
15461 if ac_fn_c_try_link
"$LINENO"; then :
15462 wine_cv_have_fallocate
=yes
15464 wine_cv_have_fallocate
=no
15466 rm -f core conftest.err conftest.
$ac_objext \
15467 conftest
$ac_exeext conftest.
$ac_ext
15469 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_have_fallocate" >&5
15470 $as_echo "$wine_cv_have_fallocate" >&6; }
15471 if test "$wine_cv_have_fallocate" = "yes"
15474 $as_echo "#define HAVE_FALLOCATE 1" >>confdefs.h
15479 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for inline" >&5
15480 $as_echo_n "checking for inline... " >&6; }
15481 if ${ac_cv_c_inline+:} false
; then :
15482 $as_echo_n "(cached) " >&6
15485 for ac_kw
in inline __inline__ __inline
; do
15486 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15487 /* end confdefs.h. */
15488 #ifndef __cplusplus
15490 static $ac_kw foo_t static_foo () {return 0; }
15491 $ac_kw foo_t foo () {return 0; }
15495 if ac_fn_c_try_compile
"$LINENO"; then :
15496 ac_cv_c_inline
=$ac_kw
15498 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
15499 test "$ac_cv_c_inline" != no
&& break
15503 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_inline" >&5
15504 $as_echo "$ac_cv_c_inline" >&6; }
15506 case $ac_cv_c_inline in
15509 case $ac_cv_c_inline in
15511 *) ac_val
=$ac_cv_c_inline;;
15513 cat >>confdefs.h
<<_ACEOF
15514 #ifndef __cplusplus
15515 #define inline $ac_val
15521 ac_fn_c_check_type
"$LINENO" "mode_t" "ac_cv_type_mode_t" "$ac_includes_default"
15522 if test "x$ac_cv_type_mode_t" = xyes
; then :
15524 cat >>confdefs.h
<<_ACEOF
15525 #define HAVE_MODE_T 1
15530 ac_fn_c_check_type
"$LINENO" "off_t" "ac_cv_type_off_t" "$ac_includes_default"
15531 if test "x$ac_cv_type_off_t" = xyes
; then :
15533 cat >>confdefs.h
<<_ACEOF
15534 #define HAVE_OFF_T 1
15539 ac_fn_c_check_type
"$LINENO" "pid_t" "ac_cv_type_pid_t" "$ac_includes_default"
15540 if test "x$ac_cv_type_pid_t" = xyes
; then :
15542 cat >>confdefs.h
<<_ACEOF
15543 #define HAVE_PID_T 1
15548 ac_fn_c_check_type
"$LINENO" "size_t" "ac_cv_type_size_t" "$ac_includes_default"
15549 if test "x$ac_cv_type_size_t" = xyes
; then :
15551 cat >>confdefs.h
<<_ACEOF
15552 #define HAVE_SIZE_T 1
15557 ac_fn_c_check_type
"$LINENO" "ssize_t" "ac_cv_type_ssize_t" "$ac_includes_default"
15558 if test "x$ac_cv_type_ssize_t" = xyes
; then :
15560 cat >>confdefs.h
<<_ACEOF
15561 #define HAVE_SSIZE_T 1
15566 ac_fn_c_check_type
"$LINENO" "long long" "ac_cv_type_long_long" "$ac_includes_default"
15567 if test "x$ac_cv_type_long_long" = xyes
; then :
15569 cat >>confdefs.h
<<_ACEOF
15570 #define HAVE_LONG_LONG 1
15575 ac_fn_c_check_type
"$LINENO" "fsblkcnt_t" "ac_cv_type_fsblkcnt_t" "$ac_includes_default"
15576 if test "x$ac_cv_type_fsblkcnt_t" = xyes
; then :
15578 cat >>confdefs.h
<<_ACEOF
15579 #define HAVE_FSBLKCNT_T 1
15584 ac_fn_c_check_type
"$LINENO" "fsfilcnt_t" "ac_cv_type_fsfilcnt_t" "$ac_includes_default"
15585 if test "x$ac_cv_type_fsfilcnt_t" = xyes
; then :
15587 cat >>confdefs.h
<<_ACEOF
15588 #define HAVE_FSFILCNT_T 1
15594 ac_fn_c_check_type
"$LINENO" "sigset_t" "ac_cv_type_sigset_t" "#include <sys/types.h>
15595 #include <signal.h>
15597 if test "x$ac_cv_type_sigset_t" = xyes
; then :
15599 cat >>confdefs.h
<<_ACEOF
15600 #define HAVE_SIGSET_T 1
15606 ac_fn_c_check_type
"$LINENO" "request_sense" "ac_cv_type_request_sense" "#include <linux/cdrom.h>
15608 if test "x$ac_cv_type_request_sense" = xyes
; then :
15610 cat >>confdefs.h
<<_ACEOF
15611 #define HAVE_REQUEST_SENSE 1
15618 ac_fn_c_check_type
"$LINENO" "struct xinpgen" "ac_cv_type_struct_xinpgen" "#include <sys/types.h>
15619 #ifdef HAVE_SYS_SOCKET_H
15620 #include <sys/socket.h>
15622 #ifdef HAVE_SYS_SOCKETVAR_H
15623 #include <sys/socketvar.h>
15625 #ifdef HAVE_NET_ROUTE_H
15626 #include <net/route.h>
15628 #ifdef HAVE_NETINET_IN_H
15629 #include <netinet/in.h>
15631 #ifdef HAVE_NETINET_IN_SYSTM_H
15632 #include <netinet/in_systm.h>
15634 #ifdef HAVE_NETINET_IP_H
15635 #include <netinet/ip.h>
15637 #ifdef HAVE_NETINET_IN_PCB_H
15638 #include <netinet/in_pcb.h>
15641 if test "x$ac_cv_type_struct_xinpgen" = xyes
; then :
15643 cat >>confdefs.h
<<_ACEOF
15644 #define HAVE_STRUCT_XINPGEN 1
15651 ac_fn_c_check_type
"$LINENO" "struct r_debug" "ac_cv_type_struct_r_debug" "#ifdef HAVE_LINK_H
15654 #ifdef HAVE_SYS_LINK_H
15655 #include <sys/link.h>
15658 if test "x$ac_cv_type_struct_r_debug" = xyes
; then :
15660 cat >>confdefs.h
<<_ACEOF
15661 #define HAVE_STRUCT_R_DEBUG 1
15666 ac_fn_c_check_type
"$LINENO" "struct link_map" "ac_cv_type_struct_link_map" "#ifdef HAVE_LINK_H
15669 #ifdef HAVE_SYS_LINK_H
15670 #include <sys/link.h>
15673 if test "x$ac_cv_type_struct_link_map" = xyes
; then :
15675 cat >>confdefs.h
<<_ACEOF
15676 #define HAVE_STRUCT_LINK_MAP 1
15683 ac_fn_c_check_member
"$LINENO" "struct ff_effect" "direction" "ac_cv_member_struct_ff_effect_direction" "#ifdef HAVE_LINUX_INPUT_H
15684 #include <linux/input.h>
15687 if test "x$ac_cv_member_struct_ff_effect_direction" = xyes
; then :
15689 cat >>confdefs.h
<<_ACEOF
15690 #define HAVE_STRUCT_FF_EFFECT_DIRECTION 1
15697 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sigaddset" >&5
15698 $as_echo_n "checking for sigaddset... " >&6; }
15699 if ${wine_cv_have_sigaddset+:} false
; then :
15700 $as_echo_n "(cached) " >&6
15702 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15703 /* end confdefs.h. */
15704 #include <signal.h>
15708 sigset_t set; sigaddset(&set,SIGTERM);
15713 if ac_fn_c_try_link
"$LINENO"; then :
15714 wine_cv_have_sigaddset
=yes
15716 wine_cv_have_sigaddset
=no
15718 rm -f core conftest.err conftest.
$ac_objext \
15719 conftest
$ac_exeext conftest.
$ac_ext
15721 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_have_sigaddset" >&5
15722 $as_echo "$wine_cv_have_sigaddset" >&6; }
15723 if test "$wine_cv_have_sigaddset" = "yes"
15726 $as_echo "#define HAVE_SIGADDSET 1" >>confdefs.h
15731 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we can use re-entrant gethostbyname_r Linux style" >&5
15732 $as_echo_n "checking whether we can use re-entrant gethostbyname_r Linux style... " >&6; }
15733 if ${wine_cv_linux_gethostbyname_r_6+:} false
; then :
15734 $as_echo_n "(cached) " >&6
15736 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15737 /* end confdefs.h. */
15745 struct hostent *result;
15752 gethostbyname_r(name,&he,buf,bufsize,&result,&errnr);
15753 gethostbyaddr_r(addr, addrlen, addrtype,&he,buf,bufsize,&result,&errnr);
15759 if ac_fn_c_try_link
"$LINENO"; then :
15760 wine_cv_linux_gethostbyname_r_6
=yes
15762 wine_cv_linux_gethostbyname_r_6
=no
15765 rm -f core conftest.err conftest.
$ac_objext \
15766 conftest
$ac_exeext conftest.
$ac_ext
15769 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_linux_gethostbyname_r_6" >&5
15770 $as_echo "$wine_cv_linux_gethostbyname_r_6" >&6; }
15771 if test "$wine_cv_linux_gethostbyname_r_6" = "yes"
15774 $as_echo "#define HAVE_LINUX_GETHOSTBYNAME_R_6 1" >>confdefs.h
15778 if test "$ac_cv_header_linux_joystick_h" = "yes"
15780 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether linux/joystick.h uses the Linux 2.2+ API" >&5
15781 $as_echo_n "checking whether linux/joystick.h uses the Linux 2.2+ API... " >&6; }
15782 if ${wine_cv_linux_joystick_22_api+:} false
; then :
15783 $as_echo_n "(cached) " >&6
15785 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15786 /* end confdefs.h. */
15788 #include <sys/ioctl.h>
15789 #include <sys/types.h>
15790 #include <linux/joystick.h>
15792 struct js_event blub;
15793 #if !defined(JS_EVENT_AXIS) || !defined(JS_EVENT_BUTTON)
15794 #error "no 2.2 header"
15805 if ac_fn_c_try_compile
"$LINENO"; then :
15806 wine_cv_linux_joystick_22_api
=yes
15808 wine_cv_linux_joystick_22_api
=no
15810 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
15813 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_linux_joystick_22_api" >&5
15814 $as_echo "$wine_cv_linux_joystick_22_api" >&6; }
15815 if test "$wine_cv_linux_joystick_22_api" = "yes"
15818 $as_echo "#define HAVE_LINUX_22_JOYSTICK_API 1" >>confdefs.h
15824 ac_fn_c_check_member
"$LINENO" "struct statfs" "f_bfree" "ac_cv_member_struct_statfs_f_bfree" "#include <sys/types.h>
15825 #ifdef HAVE_SYS_PARAM_H
15826 # include <sys/param.h>
15828 #ifdef HAVE_SYS_MOUNT_H
15829 # include <sys/mount.h>
15831 #ifdef HAVE_SYS_VFS_H
15832 # include <sys/vfs.h>
15834 #ifdef HAVE_SYS_STATFS_H
15835 # include <sys/statfs.h>
15838 if test "x$ac_cv_member_struct_statfs_f_bfree" = xyes
; then :
15840 cat >>confdefs.h
<<_ACEOF
15841 #define HAVE_STRUCT_STATFS_F_BFREE 1
15846 ac_fn_c_check_member
"$LINENO" "struct statfs" "f_bavail" "ac_cv_member_struct_statfs_f_bavail" "#include <sys/types.h>
15847 #ifdef HAVE_SYS_PARAM_H
15848 # include <sys/param.h>
15850 #ifdef HAVE_SYS_MOUNT_H
15851 # include <sys/mount.h>
15853 #ifdef HAVE_SYS_VFS_H
15854 # include <sys/vfs.h>
15856 #ifdef HAVE_SYS_STATFS_H
15857 # include <sys/statfs.h>
15860 if test "x$ac_cv_member_struct_statfs_f_bavail" = xyes
; then :
15862 cat >>confdefs.h
<<_ACEOF
15863 #define HAVE_STRUCT_STATFS_F_BAVAIL 1
15868 ac_fn_c_check_member
"$LINENO" "struct statfs" "f_frsize" "ac_cv_member_struct_statfs_f_frsize" "#include <sys/types.h>
15869 #ifdef HAVE_SYS_PARAM_H
15870 # include <sys/param.h>
15872 #ifdef HAVE_SYS_MOUNT_H
15873 # include <sys/mount.h>
15875 #ifdef HAVE_SYS_VFS_H
15876 # include <sys/vfs.h>
15878 #ifdef HAVE_SYS_STATFS_H
15879 # include <sys/statfs.h>
15882 if test "x$ac_cv_member_struct_statfs_f_frsize" = xyes
; then :
15884 cat >>confdefs.h
<<_ACEOF
15885 #define HAVE_STRUCT_STATFS_F_FRSIZE 1
15890 ac_fn_c_check_member
"$LINENO" "struct statfs" "f_ffree" "ac_cv_member_struct_statfs_f_ffree" "#include <sys/types.h>
15891 #ifdef HAVE_SYS_PARAM_H
15892 # include <sys/param.h>
15894 #ifdef HAVE_SYS_MOUNT_H
15895 # include <sys/mount.h>
15897 #ifdef HAVE_SYS_VFS_H
15898 # include <sys/vfs.h>
15900 #ifdef HAVE_SYS_STATFS_H
15901 # include <sys/statfs.h>
15904 if test "x$ac_cv_member_struct_statfs_f_ffree" = xyes
; then :
15906 cat >>confdefs.h
<<_ACEOF
15907 #define HAVE_STRUCT_STATFS_F_FFREE 1
15912 ac_fn_c_check_member
"$LINENO" "struct statfs" "f_favail" "ac_cv_member_struct_statfs_f_favail" "#include <sys/types.h>
15913 #ifdef HAVE_SYS_PARAM_H
15914 # include <sys/param.h>
15916 #ifdef HAVE_SYS_MOUNT_H
15917 # include <sys/mount.h>
15919 #ifdef HAVE_SYS_VFS_H
15920 # include <sys/vfs.h>
15922 #ifdef HAVE_SYS_STATFS_H
15923 # include <sys/statfs.h>
15926 if test "x$ac_cv_member_struct_statfs_f_favail" = xyes
; then :
15928 cat >>confdefs.h
<<_ACEOF
15929 #define HAVE_STRUCT_STATFS_F_FAVAIL 1
15934 ac_fn_c_check_member
"$LINENO" "struct statfs" "f_namelen" "ac_cv_member_struct_statfs_f_namelen" "#include <sys/types.h>
15935 #ifdef HAVE_SYS_PARAM_H
15936 # include <sys/param.h>
15938 #ifdef HAVE_SYS_MOUNT_H
15939 # include <sys/mount.h>
15941 #ifdef HAVE_SYS_VFS_H
15942 # include <sys/vfs.h>
15944 #ifdef HAVE_SYS_STATFS_H
15945 # include <sys/statfs.h>
15948 if test "x$ac_cv_member_struct_statfs_f_namelen" = xyes
; then :
15950 cat >>confdefs.h
<<_ACEOF
15951 #define HAVE_STRUCT_STATFS_F_NAMELEN 1
15958 ac_fn_c_check_member
"$LINENO" "struct statvfs" "f_blocks" "ac_cv_member_struct_statvfs_f_blocks" "#ifdef HAVE_SYS_STATVFS_H
15959 #include <sys/statvfs.h>
15962 if test "x$ac_cv_member_struct_statvfs_f_blocks" = xyes
; then :
15964 cat >>confdefs.h
<<_ACEOF
15965 #define HAVE_STRUCT_STATVFS_F_BLOCKS 1
15972 ac_fn_c_check_member
"$LINENO" "struct dirent" "d_reclen" "ac_cv_member_struct_dirent_d_reclen" "#ifdef HAVE_DIRENT_H
15973 #include <dirent.h>
15976 if test "x$ac_cv_member_struct_dirent_d_reclen" = xyes
; then :
15978 cat >>confdefs.h
<<_ACEOF
15979 #define HAVE_STRUCT_DIRENT_D_RECLEN 1
15986 ac_fn_c_check_member
"$LINENO" "struct msghdr" "msg_accrights" "ac_cv_member_struct_msghdr_msg_accrights" "#include <sys/types.h>
15987 #ifdef HAVE_SYS_SOCKET_H
15988 # include <sys/socket.h>
15990 #ifdef HAVE_SYS_UN_H
15991 # include <sys/un.h>
15994 if test "x$ac_cv_member_struct_msghdr_msg_accrights" = xyes
; then :
15996 cat >>confdefs.h
<<_ACEOF
15997 #define HAVE_STRUCT_MSGHDR_MSG_ACCRIGHTS 1
16002 ac_fn_c_check_member
"$LINENO" "struct sockaddr" "sa_len" "ac_cv_member_struct_sockaddr_sa_len" "#include <sys/types.h>
16003 #ifdef HAVE_SYS_SOCKET_H
16004 # include <sys/socket.h>
16006 #ifdef HAVE_SYS_UN_H
16007 # include <sys/un.h>
16010 if test "x$ac_cv_member_struct_sockaddr_sa_len" = xyes
; then :
16012 cat >>confdefs.h
<<_ACEOF
16013 #define HAVE_STRUCT_SOCKADDR_SA_LEN 1
16018 ac_fn_c_check_member
"$LINENO" "struct sockaddr_un" "sun_len" "ac_cv_member_struct_sockaddr_un_sun_len" "#include <sys/types.h>
16019 #ifdef HAVE_SYS_SOCKET_H
16020 # include <sys/socket.h>
16022 #ifdef HAVE_SYS_UN_H
16023 # include <sys/un.h>
16026 if test "x$ac_cv_member_struct_sockaddr_un_sun_len" = xyes
; then :
16028 cat >>confdefs.h
<<_ACEOF
16029 #define HAVE_STRUCT_SOCKADDR_UN_SUN_LEN 1
16036 ac_fn_c_check_member
"$LINENO" "scsireq_t" "cmd" "ac_cv_member_scsireq_t_cmd" "#include <sys/types.h>
16037 #ifdef HAVE_SCSI_SG_H
16038 #include <scsi/sg.h>
16041 if test "x$ac_cv_member_scsireq_t_cmd" = xyes
; then :
16043 cat >>confdefs.h
<<_ACEOF
16044 #define HAVE_SCSIREQ_T_CMD 1
16049 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>
16050 #ifdef HAVE_SCSI_SG_H
16051 #include <scsi/sg.h>
16054 if test "x$ac_cv_member_sg_io_hdr_t_interface_id" = xyes
; then :
16056 cat >>confdefs.h
<<_ACEOF
16057 #define HAVE_SG_IO_HDR_T_INTERFACE_ID 1
16064 ac_fn_c_check_member
"$LINENO" "siginfo_t" "si_fd" "ac_cv_member_siginfo_t_si_fd" "#include <signal.h>
16066 if test "x$ac_cv_member_siginfo_t_si_fd" = xyes
; then :
16068 cat >>confdefs.h
<<_ACEOF
16069 #define HAVE_SIGINFO_T_SI_FD 1
16076 ac_fn_c_check_member
"$LINENO" "struct mtget" "mt_blksiz" "ac_cv_member_struct_mtget_mt_blksiz" "#include <sys/types.h>
16077 #ifdef HAVE_SYS_MTIO_H
16078 #include <sys/mtio.h>
16081 if test "x$ac_cv_member_struct_mtget_mt_blksiz" = xyes
; then :
16083 cat >>confdefs.h
<<_ACEOF
16084 #define HAVE_STRUCT_MTGET_MT_BLKSIZ 1
16089 ac_fn_c_check_member
"$LINENO" "struct mtget" "mt_gstat" "ac_cv_member_struct_mtget_mt_gstat" "#include <sys/types.h>
16090 #ifdef HAVE_SYS_MTIO_H
16091 #include <sys/mtio.h>
16094 if test "x$ac_cv_member_struct_mtget_mt_gstat" = xyes
; then :
16096 cat >>confdefs.h
<<_ACEOF
16097 #define HAVE_STRUCT_MTGET_MT_GSTAT 1
16102 ac_fn_c_check_member
"$LINENO" "struct mtget" "mt_blkno" "ac_cv_member_struct_mtget_mt_blkno" "#include <sys/types.h>
16103 #ifdef HAVE_SYS_MTIO_H
16104 #include <sys/mtio.h>
16107 if test "x$ac_cv_member_struct_mtget_mt_blkno" = xyes
; then :
16109 cat >>confdefs.h
<<_ACEOF
16110 #define HAVE_STRUCT_MTGET_MT_BLKNO 1
16117 ac_fn_c_check_member
"$LINENO" "struct option" "name" "ac_cv_member_struct_option_name" "#ifdef HAVE_GETOPT_H
16118 #include <getopt.h>
16121 if test "x$ac_cv_member_struct_option_name" = xyes
; then :
16123 cat >>confdefs.h
<<_ACEOF
16124 #define HAVE_STRUCT_OPTION_NAME 1
16131 ac_fn_c_check_member
"$LINENO" "struct stat" "st_blocks" "ac_cv_member_struct_stat_st_blocks" "$ac_includes_default"
16132 if test "x$ac_cv_member_struct_stat_st_blocks" = xyes
; then :
16134 cat >>confdefs.h
<<_ACEOF
16135 #define HAVE_STRUCT_STAT_ST_BLOCKS 1
16140 ac_fn_c_check_member
"$LINENO" "struct stat" "st_mtim" "ac_cv_member_struct_stat_st_mtim" "$ac_includes_default"
16141 if test "x$ac_cv_member_struct_stat_st_mtim" = xyes
; then :
16143 cat >>confdefs.h
<<_ACEOF
16144 #define HAVE_STRUCT_STAT_ST_MTIM 1
16149 ac_fn_c_check_member
"$LINENO" "struct stat" "st_mtimespec" "ac_cv_member_struct_stat_st_mtimespec" "$ac_includes_default"
16150 if test "x$ac_cv_member_struct_stat_st_mtimespec" = xyes
; then :
16152 cat >>confdefs.h
<<_ACEOF
16153 #define HAVE_STRUCT_STAT_ST_MTIMESPEC 1
16158 ac_fn_c_check_member
"$LINENO" "struct stat" "st_ctim" "ac_cv_member_struct_stat_st_ctim" "$ac_includes_default"
16159 if test "x$ac_cv_member_struct_stat_st_ctim" = xyes
; then :
16161 cat >>confdefs.h
<<_ACEOF
16162 #define HAVE_STRUCT_STAT_ST_CTIM 1
16167 ac_fn_c_check_member
"$LINENO" "struct stat" "st_ctimespec" "ac_cv_member_struct_stat_st_ctimespec" "$ac_includes_default"
16168 if test "x$ac_cv_member_struct_stat_st_ctimespec" = xyes
; then :
16170 cat >>confdefs.h
<<_ACEOF
16171 #define HAVE_STRUCT_STAT_ST_CTIMESPEC 1
16176 ac_fn_c_check_member
"$LINENO" "struct stat" "st_atim" "ac_cv_member_struct_stat_st_atim" "$ac_includes_default"
16177 if test "x$ac_cv_member_struct_stat_st_atim" = xyes
; then :
16179 cat >>confdefs.h
<<_ACEOF
16180 #define HAVE_STRUCT_STAT_ST_ATIM 1
16185 ac_fn_c_check_member
"$LINENO" "struct stat" "st_atimespec" "ac_cv_member_struct_stat_st_atimespec" "$ac_includes_default"
16186 if test "x$ac_cv_member_struct_stat_st_atimespec" = xyes
; then :
16188 cat >>confdefs.h
<<_ACEOF
16189 #define HAVE_STRUCT_STAT_ST_ATIMESPEC 1
16194 ac_fn_c_check_member
"$LINENO" "struct stat" "st_birthtime" "ac_cv_member_struct_stat_st_birthtime" "$ac_includes_default"
16195 if test "x$ac_cv_member_struct_stat_st_birthtime" = xyes
; then :
16197 cat >>confdefs.h
<<_ACEOF
16198 #define HAVE_STRUCT_STAT_ST_BIRTHTIME 1
16203 ac_fn_c_check_member
"$LINENO" "struct stat" "st_birthtim" "ac_cv_member_struct_stat_st_birthtim" "$ac_includes_default"
16204 if test "x$ac_cv_member_struct_stat_st_birthtim" = xyes
; then :
16206 cat >>confdefs.h
<<_ACEOF
16207 #define HAVE_STRUCT_STAT_ST_BIRTHTIM 1
16212 ac_fn_c_check_member
"$LINENO" "struct stat" "st_birthtimespec" "ac_cv_member_struct_stat_st_birthtimespec" "$ac_includes_default"
16213 if test "x$ac_cv_member_struct_stat_st_birthtimespec" = xyes
; then :
16215 cat >>confdefs.h
<<_ACEOF
16216 #define HAVE_STRUCT_STAT_ST_BIRTHTIMESPEC 1
16221 ac_fn_c_check_member
"$LINENO" "struct stat" "__st_birthtime" "ac_cv_member_struct_stat___st_birthtime" "$ac_includes_default"
16222 if test "x$ac_cv_member_struct_stat___st_birthtime" = xyes
; then :
16224 cat >>confdefs.h
<<_ACEOF
16225 #define HAVE_STRUCT_STAT___ST_BIRTHTIME 1
16230 ac_fn_c_check_member
"$LINENO" "struct stat" "__st_birthtim" "ac_cv_member_struct_stat___st_birthtim" "$ac_includes_default"
16231 if test "x$ac_cv_member_struct_stat___st_birthtim" = xyes
; then :
16233 cat >>confdefs.h
<<_ACEOF
16234 #define HAVE_STRUCT_STAT___ST_BIRTHTIM 1
16241 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
16242 #include <sys/types.h>
16244 #ifdef HAVE_NETINET_IN_H
16245 #include <netinet/in.h>
16248 if test "x$ac_cv_member_struct_sockaddr_in6_sin6_scope_id" = xyes
; then :
16250 cat >>confdefs.h
<<_ACEOF
16251 #define HAVE_STRUCT_SOCKADDR_IN6_SIN6_SCOPE_ID 1
16258 ac_fn_c_check_type
"$LINENO" "struct __res_state" "ac_cv_type_struct___res_state" "#ifdef HAVE_RESOLV_H
16259 #include <resolv.h>
16262 if test "x$ac_cv_type_struct___res_state" = xyes
; then :
16264 cat >>confdefs.h
<<_ACEOF
16265 #define HAVE_STRUCT___RES_STATE 1
16272 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
16273 #include <resolv.h>
16276 if test "x$ac_cv_member_struct___res_state__u__ext_nscount6" = xyes
; then :
16278 cat >>confdefs.h
<<_ACEOF
16279 #define HAVE_STRUCT___RES_STATE__U__EXT_NSCOUNT6 1
16286 ac_fn_c_check_member
"$LINENO" "ns_msg" "_msg_ptr" "ac_cv_member_ns_msg__msg_ptr" "#ifdef HAVE_SYS_TYPES_H
16287 #include <sys/types.h>
16289 #ifdef HAVE_NETINET_IN_H
16290 # include <netinet/in.h>
16292 #ifdef HAVE_ARPA_NAMESER_H
16293 # include <arpa/nameser.h>
16296 if test "x$ac_cv_member_ns_msg__msg_ptr" = xyes
; then :
16298 cat >>confdefs.h
<<_ACEOF
16299 #define HAVE_NS_MSG__MSG_PTR 1
16306 ac_fn_c_check_member
"$LINENO" "struct icmpstat" "icps_inhist" "ac_cv_member_struct_icmpstat_icps_inhist" "#ifdef HAVE_SYS_TYPES_H
16307 #include <sys/types.h>
16309 #ifdef HAVE_NETINET_IP_H
16310 #include <netinet/ip.h>
16312 #ifdef HAVE_NETINET_IP_ICMP_H
16313 #include <netinet/ip_icmp.h>
16315 #ifdef HAVE_NETINET_ICMP_VAR_H
16316 #include <netinet/icmp_var.h>
16319 if test "x$ac_cv_member_struct_icmpstat_icps_inhist" = xyes
; then :
16321 cat >>confdefs.h
<<_ACEOF
16322 #define HAVE_STRUCT_ICMPSTAT_ICPS_INHIST 1
16329 ac_fn_c_check_member
"$LINENO" "struct icmpstat" "icps_outhist" "ac_cv_member_struct_icmpstat_icps_outhist" "#ifdef HAVE_SYS_TYPES_H
16330 #include <sys/types.h>
16332 #ifdef HAVE_ALIAS_H
16335 #ifdef HAVE_SYS_SOCKET_H
16336 #include <sys/socket.h>
16338 #ifdef HAVE_SYS_SOCKETVAR_H
16339 #include <sys/socketvar.h>
16341 #ifdef HAVE_SYS_TIMEOUT_H
16342 #include <sys/timeout.h>
16344 #ifdef HAVE_NETINET_IN_H
16345 #include <netinet/in.h>
16347 #ifdef HAVE_NETINET_IN_SYSTM_H
16348 #include <netinet/in_systm.h>
16350 #ifdef HAVE_NETINET_IP_H
16351 #include <netinet/ip.h>
16353 #ifdef HAVE_NETINET_IP_VAR_H
16354 #include <netinet/ip_var.h>
16356 #ifdef HAVE_NETINET_IP_ICMP_H
16357 #include <netinet/ip_icmp.h>
16359 #ifdef HAVE_NETINET_ICMP_VAR_H
16360 #include <netinet/icmp_var.h>
16363 if test "x$ac_cv_member_struct_icmpstat_icps_outhist" = xyes
; then :
16365 cat >>confdefs.h
<<_ACEOF
16366 #define HAVE_STRUCT_ICMPSTAT_ICPS_OUTHIST 1
16373 ac_fn_c_check_member
"$LINENO" "struct ipstat" "ips_total" "ac_cv_member_struct_ipstat_ips_total" "#ifdef HAVE_SYS_TYPES_H
16374 #include <sys/types.h>
16376 #ifdef HAVE_SYS_SOCKETVAR_H
16377 #include <sys/socketvar.h>
16379 #ifdef HAVE_NETINET_IN_H
16380 #include <netinet/in.h>
16382 #ifdef HAVE_NETINET_IP_VAR_H
16383 #include <netinet/ip_var.h>
16386 if test "x$ac_cv_member_struct_ipstat_ips_total" = xyes
; then :
16388 cat >>confdefs.h
<<_ACEOF
16389 #define HAVE_STRUCT_IPSTAT_IPS_TOTAL 1
16396 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
16397 #include <netinet/ip_var.h>
16400 if test "x$ac_cv_member_struct_ip_stats_ips_total" = xyes
; then :
16402 cat >>confdefs.h
<<_ACEOF
16403 #define HAVE_STRUCT_IP_STATS_IPS_TOTAL 1
16410 ac_fn_c_check_member
"$LINENO" "struct tcpstat" "tcps_connattempt" "ac_cv_member_struct_tcpstat_tcps_connattempt" "#ifdef HAVE_SYS_TYPES_H
16411 #include <sys/types.h>
16413 #ifdef HAVE_SYS_SOCKETVAR_H
16414 #include <sys/socketvar.h>
16416 #ifdef HAVE_NETINET_IN_H
16417 #include <netinet/in.h>
16419 #ifdef HAVE_NETINET_TCP_H
16420 #include <netinet/tcp.h>
16422 #ifdef HAVE_NETINET_TCP_VAR_H
16423 #include <netinet/tcp_var.h>
16426 if test "x$ac_cv_member_struct_tcpstat_tcps_connattempt" = xyes
; then :
16428 cat >>confdefs.h
<<_ACEOF
16429 #define HAVE_STRUCT_TCPSTAT_TCPS_CONNATTEMPT 1
16436 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
16437 #include <netinet/tcp_var.h>
16440 if test "x$ac_cv_member_struct_tcp_stats_tcps_connattempt" = xyes
; then :
16442 cat >>confdefs.h
<<_ACEOF
16443 #define HAVE_STRUCT_TCP_STATS_TCPS_CONNATTEMPT 1
16450 ac_fn_c_check_member
"$LINENO" "struct udpstat" "udps_ipackets" "ac_cv_member_struct_udpstat_udps_ipackets" "#ifdef HAVE_SYS_TYPES_H
16451 #include <sys/types.h>
16453 #ifdef HAVE_NETINET_IN_H
16454 #include <netinet/in.h>
16456 #ifdef HAVE_NETINET_IP_VAR_H
16457 #include <netinet/ip_var.h>
16459 #ifdef HAVE_NETINET_UDP_H
16460 #include <netinet/udp.h>
16462 #ifdef HAVE_NETINET_UDP_VAR_H
16463 #include <netinet/udp_var.h>
16466 if test "x$ac_cv_member_struct_udpstat_udps_ipackets" = xyes
; then :
16468 cat >>confdefs.h
<<_ACEOF
16469 #define HAVE_STRUCT_UDPSTAT_UDPS_IPACKETS 1
16476 ac_fn_c_check_member
"$LINENO" "struct ifreq" "ifr_hwaddr" "ac_cv_member_struct_ifreq_ifr_hwaddr" "#ifdef HAVE_SYS_TYPES_H
16477 #include <sys/types.h>
16479 #ifdef HAVE_NET_IF_H
16480 # include <net/if.h>
16483 if test "x$ac_cv_member_struct_ifreq_ifr_hwaddr" = xyes
; then :
16485 cat >>confdefs.h
<<_ACEOF
16486 #define HAVE_STRUCT_IFREQ_IFR_HWADDR 1
16493 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for timezone variable" >&5
16494 $as_echo_n "checking for timezone variable... " >&6; }
16495 if ${ac_cv_have_timezone+:} false
; then :
16496 $as_echo_n "(cached) " >&6
16498 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
16499 /* end confdefs.h. */
16509 if ac_fn_c_try_link
"$LINENO"; then :
16510 ac_cv_have_timezone
="yes"
16512 ac_cv_have_timezone
="no"
16514 rm -f core conftest.err conftest.
$ac_objext \
16515 conftest
$ac_exeext conftest.
$ac_ext
16517 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_timezone" >&5
16518 $as_echo "$ac_cv_have_timezone" >&6; }
16519 if test "$ac_cv_have_timezone" = "yes"
16522 $as_echo "#define HAVE_TIMEZONE 1" >>confdefs.h
16525 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for daylight variable" >&5
16526 $as_echo_n "checking for daylight variable... " >&6; }
16527 if ${ac_cv_have_daylight+:} false
; then :
16528 $as_echo_n "(cached) " >&6
16530 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
16531 /* end confdefs.h. */
16541 if ac_fn_c_try_link
"$LINENO"; then :
16542 ac_cv_have_daylight
="yes"
16544 ac_cv_have_daylight
="no"
16546 rm -f core conftest.err conftest.
$ac_objext \
16547 conftest
$ac_exeext conftest.
$ac_ext
16549 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_daylight" >&5
16550 $as_echo "$ac_cv_have_daylight" >&6; }
16551 if test "$ac_cv_have_daylight" = "yes"
16554 $as_echo "#define HAVE_DAYLIGHT 1" >>confdefs.h
16558 ac_save_LIBS
="$LIBS"
16560 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isfinite" >&5
16561 $as_echo_n "checking for isfinite... " >&6; }
16562 if ${ac_cv_have_isfinite+:} false
; then :
16563 $as_echo_n "(cached) " >&6
16565 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
16566 /* end confdefs.h. */
16567 #define _GNU_SOURCE
16572 float f = 0.0; return isfinite(f)
16577 if ac_fn_c_try_link
"$LINENO"; then :
16578 ac_cv_have_isfinite
="yes"
16580 ac_cv_have_isfinite
="no"
16582 rm -f core conftest.err conftest.
$ac_objext \
16583 conftest
$ac_exeext conftest.
$ac_ext
16585 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_isfinite" >&5
16586 $as_echo "$ac_cv_have_isfinite" >&6; }
16587 if test "$ac_cv_have_isfinite" = "yes"
16590 $as_echo "#define HAVE_ISFINITE 1" >>confdefs.h
16594 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinf" >&5
16595 $as_echo_n "checking for isinf... " >&6; }
16596 if ${ac_cv_have_isinf+:} false
; then :
16597 $as_echo_n "(cached) " >&6
16599 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
16600 /* end confdefs.h. */
16605 float f = 0.0; return isinf(f)
16610 if ac_fn_c_try_link
"$LINENO"; then :
16611 ac_cv_have_isinf
="yes"
16613 ac_cv_have_isinf
="no"
16615 rm -f core conftest.err conftest.
$ac_objext \
16616 conftest
$ac_exeext conftest.
$ac_ext
16618 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_isinf" >&5
16619 $as_echo "$ac_cv_have_isinf" >&6; }
16620 if test "$ac_cv_have_isinf" = "yes"
16623 $as_echo "#define HAVE_ISINF 1" >>confdefs.h
16627 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnan" >&5
16628 $as_echo_n "checking for isnan... " >&6; }
16629 if ${ac_cv_have_isnan+:} false
; then :
16630 $as_echo_n "(cached) " >&6
16632 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
16633 /* end confdefs.h. */
16638 float f = 0.0; return isnan(f)
16643 if ac_fn_c_try_link
"$LINENO"; then :
16644 ac_cv_have_isnan
="yes"
16646 ac_cv_have_isnan
="no"
16648 rm -f core conftest.err conftest.
$ac_objext \
16649 conftest
$ac_exeext conftest.
$ac_ext
16651 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_isnan" >&5
16652 $as_echo "$ac_cv_have_isnan" >&6; }
16653 if test "$ac_cv_have_isnan" = "yes"
16656 $as_echo "#define HAVE_ISNAN 1" >>confdefs.h
16685 as_ac_var
=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
16686 ac_fn_c_check_func
"$LINENO" "$ac_func" "$as_ac_var"
16687 if eval test \"x\$
"$as_ac_var"\" = x
"yes"; then :
16688 cat >>confdefs.h
<<_ACEOF
16689 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
16695 LIBS
="$ac_save_LIBS"
16697 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for __builtin_clz" >&5
16698 $as_echo_n "checking for __builtin_clz... " >&6; }
16699 if ${ac_cv_have___builtin_clz+:} false
; then :
16700 $as_echo_n "(cached) " >&6
16702 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
16703 /* end confdefs.h. */
16708 return __builtin_clz(1)
16713 if ac_fn_c_try_link
"$LINENO"; then :
16714 ac_cv_have___builtin_clz
="yes"
16716 ac_cv_have___builtin_clz
="no"
16718 rm -f core conftest.err conftest.
$ac_objext \
16719 conftest
$ac_exeext conftest.
$ac_ext
16721 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have___builtin_clz" >&5
16722 $as_echo "$ac_cv_have___builtin_clz" >&6; }
16723 if test "$ac_cv_have___builtin_clz" = "yes"
16726 $as_echo "#define HAVE___BUILTIN_CLZ 1" >>confdefs.h
16732 *i
[3456789]86*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __i386__" >&5
16733 $as_echo_n "checking whether we need to define __i386__... " >&6; }
16734 if ${ac_cv_cpp_def___i386__+:} false
; then :
16735 $as_echo_n "(cached) " >&6
16737 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
16738 /* end confdefs.h. */
16743 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
16744 $EGREP "yes" >/dev
/null
2>&1; then :
16745 ac_cv_cpp_def___i386__
=yes
16747 ac_cv_cpp_def___i386__
=no
16752 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___i386__" >&5
16753 $as_echo "$ac_cv_cpp_def___i386__" >&6; }
16754 if test "x$ac_cv_cpp_def___i386__" = xyes
; then :
16755 CFLAGS
="$CFLAGS -D__i386__"
16756 LINTFLAGS
="$LINTFLAGS -D__i386__"
16758 *x86_64
*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __x86_64__" >&5
16759 $as_echo_n "checking whether we need to define __x86_64__... " >&6; }
16760 if ${ac_cv_cpp_def___x86_64__+:} false
; then :
16761 $as_echo_n "(cached) " >&6
16763 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
16764 /* end confdefs.h. */
16769 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
16770 $EGREP "yes" >/dev
/null
2>&1; then :
16771 ac_cv_cpp_def___x86_64__
=yes
16773 ac_cv_cpp_def___x86_64__
=no
16778 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___x86_64__" >&5
16779 $as_echo "$ac_cv_cpp_def___x86_64__" >&6; }
16780 if test "x$ac_cv_cpp_def___x86_64__" = xyes
; then :
16781 CFLAGS
="$CFLAGS -D__x86_64__"
16782 LINTFLAGS
="$LINTFLAGS -D__x86_64__"
16784 *sparc64
*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __sparc64__" >&5
16785 $as_echo_n "checking whether we need to define __sparc64__... " >&6; }
16786 if ${ac_cv_cpp_def___sparc64__+:} false
; then :
16787 $as_echo_n "(cached) " >&6
16789 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
16790 /* end confdefs.h. */
16791 #ifndef __sparc64__
16795 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
16796 $EGREP "yes" >/dev
/null
2>&1; then :
16797 ac_cv_cpp_def___sparc64__
=yes
16799 ac_cv_cpp_def___sparc64__
=no
16804 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___sparc64__" >&5
16805 $as_echo "$ac_cv_cpp_def___sparc64__" >&6; }
16806 if test "x$ac_cv_cpp_def___sparc64__" = xyes
; then :
16807 CFLAGS
="$CFLAGS -D__sparc64__"
16808 LINTFLAGS
="$LINTFLAGS -D__sparc64__"
16810 *sparc
*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __sparc__" >&5
16811 $as_echo_n "checking whether we need to define __sparc__... " >&6; }
16812 if ${ac_cv_cpp_def___sparc__+:} false
; then :
16813 $as_echo_n "(cached) " >&6
16815 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
16816 /* end confdefs.h. */
16821 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
16822 $EGREP "yes" >/dev
/null
2>&1; then :
16823 ac_cv_cpp_def___sparc__
=yes
16825 ac_cv_cpp_def___sparc__
=no
16830 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___sparc__" >&5
16831 $as_echo "$ac_cv_cpp_def___sparc__" >&6; }
16832 if test "x$ac_cv_cpp_def___sparc__" = xyes
; then :
16833 CFLAGS
="$CFLAGS -D__sparc__"
16834 LINTFLAGS
="$LINTFLAGS -D__sparc__"
16836 *powerpc64
*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __powerpc64__" >&5
16837 $as_echo_n "checking whether we need to define __powerpc64__... " >&6; }
16838 if ${ac_cv_cpp_def___powerpc64__+:} false
; then :
16839 $as_echo_n "(cached) " >&6
16841 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
16842 /* end confdefs.h. */
16843 #ifndef __powerpc64__
16847 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
16848 $EGREP "yes" >/dev
/null
2>&1; then :
16849 ac_cv_cpp_def___powerpc64__
=yes
16851 ac_cv_cpp_def___powerpc64__
=no
16856 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___powerpc64__" >&5
16857 $as_echo "$ac_cv_cpp_def___powerpc64__" >&6; }
16858 if test "x$ac_cv_cpp_def___powerpc64__" = xyes
; then :
16859 CFLAGS
="$CFLAGS -D__powerpc64__"
16860 LINTFLAGS
="$LINTFLAGS -D__powerpc64__"
16862 *powerpc
*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __powerpc__" >&5
16863 $as_echo_n "checking whether we need to define __powerpc__... " >&6; }
16864 if ${ac_cv_cpp_def___powerpc__+:} false
; then :
16865 $as_echo_n "(cached) " >&6
16867 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
16868 /* end confdefs.h. */
16869 #ifndef __powerpc__
16873 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
16874 $EGREP "yes" >/dev
/null
2>&1; then :
16875 ac_cv_cpp_def___powerpc__
=yes
16877 ac_cv_cpp_def___powerpc__
=no
16882 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___powerpc__" >&5
16883 $as_echo "$ac_cv_cpp_def___powerpc__" >&6; }
16884 if test "x$ac_cv_cpp_def___powerpc__" = xyes
; then :
16885 CFLAGS
="$CFLAGS -D__powerpc__"
16886 LINTFLAGS
="$LINTFLAGS -D__powerpc__"
16888 *aarch64
*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __aarch64__" >&5
16889 $as_echo_n "checking whether we need to define __aarch64__... " >&6; }
16890 if ${ac_cv_cpp_def___aarch64__+:} false
; then :
16891 $as_echo_n "(cached) " >&6
16893 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
16894 /* end confdefs.h. */
16895 #ifndef __aarch64__
16899 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
16900 $EGREP "yes" >/dev
/null
2>&1; then :
16901 ac_cv_cpp_def___aarch64__
=yes
16903 ac_cv_cpp_def___aarch64__
=no
16908 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___aarch64__" >&5
16909 $as_echo "$ac_cv_cpp_def___aarch64__" >&6; }
16910 if test "x$ac_cv_cpp_def___aarch64__" = xyes
; then :
16911 CFLAGS
="$CFLAGS -D__aarch64__"
16912 LINTFLAGS
="$LINTFLAGS -D__aarch64__"
16914 *arm
*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __arm__" >&5
16915 $as_echo_n "checking whether we need to define __arm__... " >&6; }
16916 if ${ac_cv_cpp_def___arm__+:} false
; then :
16917 $as_echo_n "(cached) " >&6
16919 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
16920 /* end confdefs.h. */
16925 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
16926 $EGREP "yes" >/dev
/null
2>&1; then :
16927 ac_cv_cpp_def___arm__
=yes
16929 ac_cv_cpp_def___arm__
=no
16934 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___arm__" >&5
16935 $as_echo "$ac_cv_cpp_def___arm__" >&6; }
16936 if test "x$ac_cv_cpp_def___arm__" = xyes
; then :
16937 CFLAGS
="$CFLAGS -D__arm__"
16938 LINTFLAGS
="$LINTFLAGS -D__arm__"
16942 case $host_vendor in
16943 *sun
*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __sun__" >&5
16944 $as_echo_n "checking whether we need to define __sun__... " >&6; }
16945 if ${ac_cv_cpp_def___sun__+:} false
; then :
16946 $as_echo_n "(cached) " >&6
16948 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
16949 /* end confdefs.h. */
16954 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
16955 $EGREP "yes" >/dev
/null
2>&1; then :
16956 ac_cv_cpp_def___sun__
=yes
16958 ac_cv_cpp_def___sun__
=no
16963 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___sun__" >&5
16964 $as_echo "$ac_cv_cpp_def___sun__" >&6; }
16965 if test "x$ac_cv_cpp_def___sun__" = xyes
; then :
16966 CFLAGS
="$CFLAGS -D__sun__"
16967 LINTFLAGS
="$LINTFLAGS -D__sun__"
16975 ac_config_commands
="$ac_config_commands include/stamp-h"
16977 $as_echo_n "creating Makefile rules..." >&6
16979 ALL_VARS_RULES
="OPENGL_LIBS = $OPENGL_LIBS
16980 SOCKET_LIBS = $SOCKET_LIBS
16981 COREFOUNDATION_LIBS = $COREFOUNDATION_LIBS
16982 IOKIT_LIBS = $IOKIT_LIBS
16983 FORCEFEEDBACK_LIBS = $FORCEFEEDBACK_LIBS
16984 APPLICATIONSERVICES_LIBS = $APPLICATIONSERVICES_LIBS
16985 CORESERVICES_LIBS = $CORESERVICES_LIBS
16986 APPKIT_LIBS = $APPKIT_LIBS
16987 DISKARBITRATION_LIBS = $DISKARBITRATION_LIBS
16988 SECURITY_LIBS = $SECURITY_LIBS
16989 COREAUDIO_LIBS = $COREAUDIO_LIBS
16990 OPENAL_LIBS = $OPENAL_LIBS
16991 OPENCL_LIBS = $OPENCL_LIBS
16992 QUICKTIME_LIBS = $QUICKTIME_LIBS
16993 CARBON_LIBS = $CARBON_LIBS
16994 PTHREAD_LIBS = $PTHREAD_LIBS
16995 X_CFLAGS = $X_CFLAGS
16996 X_PRE_LIBS = $X_PRE_LIBS
16998 X_EXTRA_LIBS = $X_EXTRA_LIBS
16999 XML2_CFLAGS = $XML2_CFLAGS
17000 XML2_LIBS = $XML2_LIBS
17001 XSLT_CFLAGS = $XSLT_CFLAGS
17002 XSLT_LIBS = $XSLT_LIBS
17003 DBUS_CFLAGS = $DBUS_CFLAGS
17004 DBUS_LIBS = $DBUS_LIBS
17005 HAL_CFLAGS = $HAL_CFLAGS
17006 HAL_LIBS = $HAL_LIBS
17007 GNUTLS_CFLAGS = $GNUTLS_CFLAGS
17008 GNUTLS_LIBS = $GNUTLS_LIBS
17009 SANE_CFLAGS = $SANE_CFLAGS
17010 SANE_LIBS = $SANE_LIBS
17011 GPHOTO2_CFLAGS = $GPHOTO2_CFLAGS
17012 GPHOTO2_LIBS = $GPHOTO2_LIBS
17013 GPHOTO2_PORT_CFLAGS = $GPHOTO2_PORT_CFLAGS
17014 GPHOTO2_PORT_LIBS = $GPHOTO2_PORT_LIBS
17015 RESOLV_LIBS = $RESOLV_LIBS
17016 LCMS2_CFLAGS = $LCMS2_CFLAGS
17017 LCMS2_LIBS = $LCMS2_LIBS
17018 FREETYPE_CFLAGS = $FREETYPE_CFLAGS
17019 FREETYPE_LIBS = $FREETYPE_LIBS
17021 GETTEXTPO_LIBS = $GETTEXTPO_LIBS
17022 GSTREAMER_CFLAGS = $GSTREAMER_CFLAGS
17023 GSTREAMER_LIBS = $GSTREAMER_LIBS
17024 ALSA_LIBS = $ALSA_LIBS
17025 OSS4_CFLAGS = $OSS4_CFLAGS
17026 CAPI20_CFLAGS = $CAPI20_CFLAGS
17027 CAPI20_LIBS = $CAPI20_LIBS
17028 CUPS_CFLAGS = $CUPS_CFLAGS
17029 FONTCONFIG_CFLAGS = $FONTCONFIG_CFLAGS
17030 FONTCONFIG_LIBS = $FONTCONFIG_LIBS
17031 JPEG_CFLAGS = $JPEG_CFLAGS
17032 JPEG_LIBS = $JPEG_LIBS
17033 PNG_CFLAGS = $PNG_CFLAGS
17034 PNG_LIBS = $PNG_LIBS
17035 TIFF_CFLAGS = $TIFF_CFLAGS
17036 TIFF_LIBS = $TIFF_LIBS
17037 MPG123_CFLAGS = $MPG123_CFLAGS
17038 MPG123_LIBS = $MPG123_LIBS
17039 KSTAT_LIBS = $KSTAT_LIBS
17040 PROCSTAT_LIBS = $PROCSTAT_LIBS
17042 POLL_LIBS = $POLL_LIBS
17044 LDAP_LIBS = $LDAP_LIBS
17049 wine_fn_append_rule
"
17050 # Rules automatically generated by configure
17052 CLEAN_FILES = *.o *.a *.so *.res *.fake *.ok *.tab.[ch] *.yy.c
17057 Makefile: $srcdir/Makefile.in $srcdir/Make.vars.in config.status \$(MAKEDEP)
17058 @./config.status Make.tmp Makefile"
17060 test "$srcdir" = .
&& wine_fn_append_rule
"all: .gitignore
17061 .gitignore: config.status
17062 @./config.status .gitignore"
17064 test -n "$CROSSTARGET" || wine_fn_append_rule
"crosstest:
17065 @echo \"crosstest is not supported (mingw not installed?)\" && false"
17067 if test "x$enable_fonts" != xno
; then
17068 ac_config_links
="$ac_config_links fonts/marlett.ttf:fonts/marlett.ttf"
17069 ac_config_links
="$ac_config_links fonts/symbol.ttf:fonts/symbol.ttf"
17070 ac_config_links
="$ac_config_links fonts/tahoma.ttf:fonts/tahoma.ttf"
17071 ac_config_links
="$ac_config_links fonts/tahomabd.ttf:fonts/tahomabd.ttf"
17072 test "$srcdir" = "." || wine_fn_config_symlink fonts
/marlett.ttf fonts
/symbol.ttf fonts
/tahoma.ttf fonts
/tahomabd.ttf
17074 ac_config_links
="$ac_config_links loader/l_intl.nls:loader/l_intl.nls"
17075 test "$srcdir" = "." || wine_fn_config_symlink loader
/l_intl.nls
17076 ac_config_links
="$ac_config_links po/LINGUAS:po/LINGUAS"
17077 test "$srcdir" = "." || wine_fn_config_symlink po
/LINGUAS
17078 ac_config_links
="$ac_config_links wine:tools/winewrapper"
17079 wine_fn_config_symlink wine
17080 if test "x$enable_win64" != xno
; then
17081 ac_config_links
="$ac_config_links wine64:tools/winewrapper"
17082 wine_fn_config_symlink wine64
17085 wine_fn_config_dll acledit enable_acledit
17086 wine_fn_config_dll aclui enable_aclui implib
17087 wine_fn_config_dll activeds enable_activeds implib
17088 wine_fn_config_dll actxprxy enable_actxprxy clean
17089 wine_fn_config_lib adsiid
17090 wine_fn_config_dll advapi32 enable_advapi32 clean
,implib
17091 wine_fn_config_test dlls
/advapi32
/tests advapi32_test
17092 wine_fn_config_dll advpack enable_advpack implib
17093 wine_fn_config_test dlls
/advpack
/tests advpack_test
17094 wine_fn_config_dll amstream enable_amstream clean
17095 wine_fn_config_test dlls
/amstream
/tests amstream_test
17096 wine_fn_config_dll api-ms-win-core-com-l1-1-0 enable_api_ms_win_core_com_l1_1_0
17097 wine_fn_config_dll api-ms-win-core-console-l1-1-0 enable_api_ms_win_core_console_l1_1_0
17098 wine_fn_config_dll api-ms-win-core-datetime-l1-1-0 enable_api_ms_win_core_datetime_l1_1_0
17099 wine_fn_config_dll api-ms-win-core-datetime-l1-1-1 enable_api_ms_win_core_datetime_l1_1_1
17100 wine_fn_config_dll api-ms-win-core-debug-l1-1-0 enable_api_ms_win_core_debug_l1_1_0
17101 wine_fn_config_dll api-ms-win-core-debug-l1-1-1 enable_api_ms_win_core_debug_l1_1_1
17102 wine_fn_config_dll api-ms-win-core-errorhandling-l1-1-0 enable_api_ms_win_core_errorhandling_l1_1_0
17103 wine_fn_config_dll api-ms-win-core-errorhandling-l1-1-1 enable_api_ms_win_core_errorhandling_l1_1_1
17104 wine_fn_config_dll api-ms-win-core-errorhandling-l1-1-2 enable_api_ms_win_core_errorhandling_l1_1_2
17105 wine_fn_config_dll api-ms-win-core-fibers-l1-1-0 enable_api_ms_win_core_fibers_l1_1_0
17106 wine_fn_config_dll api-ms-win-core-fibers-l1-1-1 enable_api_ms_win_core_fibers_l1_1_1
17107 wine_fn_config_dll api-ms-win-core-file-l1-1-0 enable_api_ms_win_core_file_l1_1_0
17108 wine_fn_config_dll api-ms-win-core-file-l1-2-0 enable_api_ms_win_core_file_l1_2_0
17109 wine_fn_config_dll api-ms-win-core-file-l2-1-0 enable_api_ms_win_core_file_l2_1_0
17110 wine_fn_config_dll api-ms-win-core-file-l2-1-1 enable_api_ms_win_core_file_l2_1_1
17111 wine_fn_config_dll api-ms-win-core-handle-l1-1-0 enable_api_ms_win_core_handle_l1_1_0
17112 wine_fn_config_dll api-ms-win-core-heap-l1-1-0 enable_api_ms_win_core_heap_l1_1_0
17113 wine_fn_config_dll api-ms-win-core-heap-l1-2-0 enable_api_ms_win_core_heap_l1_2_0
17114 wine_fn_config_dll api-ms-win-core-heap-obsolete-l1-1-0 enable_api_ms_win_core_heap_obsolete_l1_1_0
17115 wine_fn_config_dll api-ms-win-core-interlocked-l1-1-0 enable_api_ms_win_core_interlocked_l1_1_0
17116 wine_fn_config_dll api-ms-win-core-interlocked-l1-2-0 enable_api_ms_win_core_interlocked_l1_2_0
17117 wine_fn_config_dll api-ms-win-core-io-l1-1-1 enable_api_ms_win_core_io_l1_1_1
17118 wine_fn_config_dll api-ms-win-core-kernel32-legacy-l1-1-0 enable_api_ms_win_core_kernel32_legacy_l1_1_0
17119 wine_fn_config_dll api-ms-win-core-libraryloader-l1-1-0 enable_api_ms_win_core_libraryloader_l1_1_0
17120 wine_fn_config_dll api-ms-win-core-libraryloader-l1-1-1 enable_api_ms_win_core_libraryloader_l1_1_1
17121 wine_fn_config_dll api-ms-win-core-localization-l1-2-0 enable_api_ms_win_core_localization_l1_2_0
17122 wine_fn_config_dll api-ms-win-core-localization-l1-2-1 enable_api_ms_win_core_localization_l1_2_1
17123 wine_fn_config_dll api-ms-win-core-localization-obsolete-l1-1-0 enable_api_ms_win_core_localization_obsolete_l1_1_0
17124 wine_fn_config_dll api-ms-win-core-localregistry-l1-1-0 enable_api_ms_win_core_localregistry_l1_1_0
17125 wine_fn_config_dll api-ms-win-core-memory-l1-1-0 enable_api_ms_win_core_memory_l1_1_0
17126 wine_fn_config_dll api-ms-win-core-memory-l1-1-1 enable_api_ms_win_core_memory_l1_1_1
17127 wine_fn_config_dll api-ms-win-core-misc-l1-1-0 enable_api_ms_win_core_misc_l1_1_0
17128 wine_fn_config_dll api-ms-win-core-namedpipe-l1-1-0 enable_api_ms_win_core_namedpipe_l1_1_0
17129 wine_fn_config_dll api-ms-win-core-namedpipe-l1-2-0 enable_api_ms_win_core_namedpipe_l1_2_0
17130 wine_fn_config_dll api-ms-win-core-processenvironment-l1-1-0 enable_api_ms_win_core_processenvironment_l1_1_0
17131 wine_fn_config_dll api-ms-win-core-processenvironment-l1-2-0 enable_api_ms_win_core_processenvironment_l1_2_0
17132 wine_fn_config_dll api-ms-win-core-processthreads-l1-1-0 enable_api_ms_win_core_processthreads_l1_1_0
17133 wine_fn_config_dll api-ms-win-core-processthreads-l1-1-1 enable_api_ms_win_core_processthreads_l1_1_1
17134 wine_fn_config_dll api-ms-win-core-processthreads-l1-1-2 enable_api_ms_win_core_processthreads_l1_1_2
17135 wine_fn_config_dll api-ms-win-core-profile-l1-1-0 enable_api_ms_win_core_profile_l1_1_0
17136 wine_fn_config_dll api-ms-win-core-psapi-l1-1-0 enable_api_ms_win_core_psapi_l1_1_0
17137 wine_fn_config_dll api-ms-win-core-registry-l1-1-0 enable_api_ms_win_core_registry_l1_1_0
17138 wine_fn_config_dll api-ms-win-core-rtlsupport-l1-1-0 enable_api_ms_win_core_rtlsupport_l1_1_0
17139 wine_fn_config_dll api-ms-win-core-rtlsupport-l1-2-0 enable_api_ms_win_core_rtlsupport_l1_2_0
17140 wine_fn_config_dll api-ms-win-core-shlwapi-legacy-l1-1-0 enable_api_ms_win_core_shlwapi_legacy_l1_1_0
17141 wine_fn_config_dll api-ms-win-core-string-l1-1-0 enable_api_ms_win_core_string_l1_1_0
17142 wine_fn_config_dll api-ms-win-core-synch-l1-1-0 enable_api_ms_win_core_synch_l1_1_0
17143 wine_fn_config_dll api-ms-win-core-synch-l1-2-0 enable_api_ms_win_core_synch_l1_2_0
17144 wine_fn_config_dll api-ms-win-core-sysinfo-l1-1-0 enable_api_ms_win_core_sysinfo_l1_1_0
17145 wine_fn_config_dll api-ms-win-core-sysinfo-l1-2-0 enable_api_ms_win_core_sysinfo_l1_2_0
17146 wine_fn_config_dll api-ms-win-core-sysinfo-l1-2-1 enable_api_ms_win_core_sysinfo_l1_2_1
17147 wine_fn_config_dll api-ms-win-core-threadpool-legacy-l1-1-0 enable_api_ms_win_core_threadpool_legacy_l1_1_0
17148 wine_fn_config_dll api-ms-win-core-timezone-l1-1-0 enable_api_ms_win_core_timezone_l1_1_0
17149 wine_fn_config_dll api-ms-win-core-url-l1-1-0 enable_api_ms_win_core_url_l1_1_0
17150 wine_fn_config_dll api-ms-win-core-util-l1-1-0 enable_api_ms_win_core_util_l1_1_0
17151 wine_fn_config_dll api-ms-win-core-winrt-error-l1-1-0 enable_api_ms_win_core_winrt_error_l1_1_0
17152 wine_fn_config_dll api-ms-win-core-winrt-error-l1-1-1 enable_api_ms_win_core_winrt_error_l1_1_1
17153 wine_fn_config_dll api-ms-win-core-winrt-l1-1-0 enable_api_ms_win_core_winrt_l1_1_0
17154 wine_fn_config_dll api-ms-win-core-winrt-string-l1-1-0 enable_api_ms_win_core_winrt_string_l1_1_0
17155 wine_fn_config_dll api-ms-win-core-xstate-l2-1-0 enable_api_ms_win_core_xstate_l2_1_0
17156 wine_fn_config_dll api-ms-win-downlevel-advapi32-l1-1-0 enable_api_ms_win_downlevel_advapi32_l1_1_0
17157 wine_fn_config_dll api-ms-win-downlevel-advapi32-l2-1-0 enable_api_ms_win_downlevel_advapi32_l2_1_0
17158 wine_fn_config_dll api-ms-win-downlevel-normaliz-l1-1-0 enable_api_ms_win_downlevel_normaliz_l1_1_0
17159 wine_fn_config_dll api-ms-win-downlevel-ole32-l1-1-0 enable_api_ms_win_downlevel_ole32_l1_1_0
17160 wine_fn_config_dll api-ms-win-downlevel-shell32-l1-1-0 enable_api_ms_win_downlevel_shell32_l1_1_0
17161 wine_fn_config_dll api-ms-win-downlevel-shlwapi-l1-1-0 enable_api_ms_win_downlevel_shlwapi_l1_1_0
17162 wine_fn_config_dll api-ms-win-downlevel-shlwapi-l2-1-0 enable_api_ms_win_downlevel_shlwapi_l2_1_0
17163 wine_fn_config_dll api-ms-win-downlevel-user32-l1-1-0 enable_api_ms_win_downlevel_user32_l1_1_0
17164 wine_fn_config_dll api-ms-win-downlevel-version-l1-1-0 enable_api_ms_win_downlevel_version_l1_1_0
17165 wine_fn_config_dll api-ms-win-eventing-provider-l1-1-0 enable_api_ms_win_eventing_provider_l1_1_0
17166 wine_fn_config_dll api-ms-win-ntuser-dc-access-l1-1-0 enable_api_ms_win_ntuser_dc_access_l1_1_0
17167 wine_fn_config_dll api-ms-win-security-base-l1-1-0 enable_api_ms_win_security_base_l1_1_0
17168 wine_fn_config_dll api-ms-win-security-base-l1-2-0 enable_api_ms_win_security_base_l1_2_0
17169 wine_fn_config_dll api-ms-win-security-sddl-l1-1-0 enable_api_ms_win_security_sddl_l1_1_0
17170 wine_fn_config_dll api-ms-win-service-core-l1-1-1 enable_api_ms_win_service_core_l1_1_1
17171 wine_fn_config_dll api-ms-win-service-management-l1-1-0 enable_api_ms_win_service_management_l1_1_0
17172 wine_fn_config_dll api-ms-win-service-winsvc-l1-2-0 enable_api_ms_win_service_winsvc_l1_2_0
17173 wine_fn_config_dll apphelp enable_apphelp
17174 wine_fn_config_test dlls
/apphelp
/tests apphelp_test
17175 wine_fn_config_dll appwiz.cpl enable_appwiz_cpl po
17176 wine_fn_config_dll atl enable_atl clean
,implib
17177 wine_fn_config_test dlls
/atl
/tests atl_test
17178 wine_fn_config_dll atl100 enable_atl100 clean
,implib
17179 wine_fn_config_test dlls
/atl100
/tests atl100_test
17180 wine_fn_config_dll atl110 enable_atl110 clean
17181 wine_fn_config_dll atl80 enable_atl80 clean
,implib
17182 wine_fn_config_test dlls
/atl80
/tests atl80_test
17183 wine_fn_config_dll atl90 enable_atl90 clean
17184 wine_fn_config_dll authz enable_authz
17185 wine_fn_config_dll avicap32 enable_avicap32 implib
17186 wine_fn_config_dll avifil32 enable_avifil32 clean
,implib
,po
17187 wine_fn_config_test dlls
/avifil32
/tests avifil32_test
17188 wine_fn_config_dll avifile.dll16 enable_win16
17189 wine_fn_config_dll avrt enable_avrt implib
17190 wine_fn_config_dll bcrypt enable_bcrypt
17191 wine_fn_config_test dlls
/bcrypt
/tests bcrypt_test
17192 wine_fn_config_dll browseui enable_browseui clean
,po
17193 wine_fn_config_test dlls
/browseui
/tests browseui_test
17194 wine_fn_config_dll cabinet enable_cabinet implib
17195 wine_fn_config_test dlls
/cabinet
/tests cabinet_test
17196 wine_fn_config_dll capi2032 enable_capi2032 implib
17197 wine_fn_config_dll cards enable_cards implib
17198 wine_fn_config_dll cfgmgr32 enable_cfgmgr32 implib
17199 wine_fn_config_dll clusapi enable_clusapi implib
17200 wine_fn_config_dll combase enable_combase
17201 wine_fn_config_test dlls
/combase
/tests combase_test
17202 wine_fn_config_dll comcat enable_comcat
17203 wine_fn_config_test dlls
/comcat
/tests comcat_test
17204 wine_fn_config_dll comctl32 enable_comctl32 implib
,po
17205 wine_fn_config_test dlls
/comctl32
/tests comctl32_test
17206 wine_fn_config_dll comdlg32 enable_comdlg32 clean
,implib
,po
17207 wine_fn_config_test dlls
/comdlg32
/tests comdlg32_test
17208 wine_fn_config_dll
comm.drv16 enable_win16
17209 wine_fn_config_dll commdlg.dll16 enable_win16
17210 wine_fn_config_dll compobj.dll16 enable_win16
17211 wine_fn_config_dll compstui enable_compstui implib
17212 wine_fn_config_dll comsvcs enable_comsvcs implib
17213 wine_fn_config_dll connect enable_connect
17214 wine_fn_config_dll credui enable_credui implib
,po
17215 wine_fn_config_test dlls
/credui
/tests credui_test
17216 wine_fn_config_dll crtdll enable_crtdll implib
17217 wine_fn_config_dll crypt32 enable_crypt32 implib
,po
17218 wine_fn_config_test dlls
/crypt32
/tests crypt32_test
17219 wine_fn_config_dll cryptdlg enable_cryptdlg po
17220 wine_fn_config_dll cryptdll enable_cryptdll implib
17221 wine_fn_config_dll cryptext enable_cryptext
17222 wine_fn_config_dll cryptnet enable_cryptnet implib
17223 wine_fn_config_test dlls
/cryptnet
/tests cryptnet_test
17224 wine_fn_config_dll cryptui enable_cryptui implib
,po
17225 wine_fn_config_test dlls
/cryptui
/tests cryptui_test
17226 wine_fn_config_dll ctapi32 enable_ctapi32
17227 wine_fn_config_dll ctl3d.dll16 enable_win16
17228 wine_fn_config_dll ctl3d32 enable_ctl3d32 implib
17229 wine_fn_config_dll ctl3dv2.dll16 enable_win16
17230 wine_fn_config_dll d2d1 enable_d2d1 implib
17231 wine_fn_config_test dlls
/d2d
1/tests d2d1_test
17232 wine_fn_config_dll d3d10 enable_d3d10 implib
17233 wine_fn_config_test dlls
/d3d10
/tests d3d10_test
17234 wine_fn_config_dll d3d10_1 enable_d3d10_1 implib
17235 wine_fn_config_dll d3d10core enable_d3d10core implib
17236 wine_fn_config_test dlls
/d3d10core
/tests d3d10core_test
17237 wine_fn_config_dll d3d11 enable_d3d11
17238 wine_fn_config_dll d3d8 enable_d3d8 implib
17239 wine_fn_config_test dlls
/d3d
8/tests d3d8_test
17240 wine_fn_config_dll d3d9 enable_d3d9 implib
17241 wine_fn_config_test dlls
/d3d
9/tests d3d9_test
17242 wine_fn_config_dll d3dcompiler_33 enable_d3dcompiler_33
17243 wine_fn_config_dll d3dcompiler_34 enable_d3dcompiler_34
17244 wine_fn_config_dll d3dcompiler_35 enable_d3dcompiler_35
17245 wine_fn_config_dll d3dcompiler_36 enable_d3dcompiler_36
17246 wine_fn_config_dll d3dcompiler_37 enable_d3dcompiler_37
17247 wine_fn_config_dll d3dcompiler_38 enable_d3dcompiler_38
17248 wine_fn_config_dll d3dcompiler_39 enable_d3dcompiler_39
17249 wine_fn_config_dll d3dcompiler_40 enable_d3dcompiler_40
17250 wine_fn_config_dll d3dcompiler_41 enable_d3dcompiler_41
17251 wine_fn_config_dll d3dcompiler_42 enable_d3dcompiler_42
17252 wine_fn_config_dll d3dcompiler_43 enable_d3dcompiler_43 implib d3dcompiler
17253 wine_fn_config_test dlls
/d3dcompiler_43
/tests d3dcompiler_43_test
17254 wine_fn_config_dll d3dcompiler_46 enable_d3dcompiler_46
17255 wine_fn_config_dll d3dcompiler_47 enable_d3dcompiler_47
17256 wine_fn_config_dll d3dim enable_d3dim implib
17257 wine_fn_config_dll d3drm enable_d3drm implib
17258 wine_fn_config_test dlls
/d3drm
/tests d3drm_test
17259 wine_fn_config_dll d3dx10_33 enable_d3dx10_33
17260 wine_fn_config_dll d3dx10_34 enable_d3dx10_34
17261 wine_fn_config_dll d3dx10_35 enable_d3dx10_35
17262 wine_fn_config_dll d3dx10_36 enable_d3dx10_36
17263 wine_fn_config_dll d3dx10_37 enable_d3dx10_37
17264 wine_fn_config_dll d3dx10_38 enable_d3dx10_38
17265 wine_fn_config_dll d3dx10_39 enable_d3dx10_39
17266 wine_fn_config_dll d3dx10_40 enable_d3dx10_40
17267 wine_fn_config_dll d3dx10_41 enable_d3dx10_41
17268 wine_fn_config_dll d3dx10_42 enable_d3dx10_42
17269 wine_fn_config_dll d3dx10_43 enable_d3dx10_43
17270 wine_fn_config_dll d3dx11_42 enable_d3dx11_42
17271 wine_fn_config_dll d3dx11_43 enable_d3dx11_43
17272 wine_fn_config_dll d3dx9_24 enable_d3dx9_24
17273 wine_fn_config_dll d3dx9_25 enable_d3dx9_25
17274 wine_fn_config_dll d3dx9_26 enable_d3dx9_26
17275 wine_fn_config_dll d3dx9_27 enable_d3dx9_27
17276 wine_fn_config_dll d3dx9_28 enable_d3dx9_28
17277 wine_fn_config_dll d3dx9_29 enable_d3dx9_29
17278 wine_fn_config_dll d3dx9_30 enable_d3dx9_30
17279 wine_fn_config_dll d3dx9_31 enable_d3dx9_31
17280 wine_fn_config_dll d3dx9_32 enable_d3dx9_32
17281 wine_fn_config_dll d3dx9_33 enable_d3dx9_33
17282 wine_fn_config_dll d3dx9_34 enable_d3dx9_34
17283 wine_fn_config_dll d3dx9_35 enable_d3dx9_35
17284 wine_fn_config_dll d3dx9_36 enable_d3dx9_36 implib d3dx9
17285 wine_fn_config_test dlls
/d3dx9_36
/tests d3dx9_36_test
17286 wine_fn_config_dll d3dx9_37 enable_d3dx9_37
17287 wine_fn_config_dll d3dx9_38 enable_d3dx9_38
17288 wine_fn_config_dll d3dx9_39 enable_d3dx9_39
17289 wine_fn_config_dll d3dx9_40 enable_d3dx9_40
17290 wine_fn_config_dll d3dx9_41 enable_d3dx9_41
17291 wine_fn_config_dll d3dx9_42 enable_d3dx9_42
17292 wine_fn_config_dll d3dx9_43 enable_d3dx9_43
17293 wine_fn_config_dll d3dxof enable_d3dxof clean
,implib
17294 wine_fn_config_test dlls
/d3dxof
/tests d3dxof_test
17295 wine_fn_config_dll davclnt enable_davclnt
17296 wine_fn_config_dll dbgeng enable_dbgeng implib
17297 wine_fn_config_dll dbghelp enable_dbghelp implib
17298 wine_fn_config_dll dciman32 enable_dciman32 implib
17299 wine_fn_config_dll ddeml.dll16 enable_win16
17300 wine_fn_config_dll ddraw enable_ddraw clean
,implib
17301 wine_fn_config_test dlls
/ddraw
/tests ddraw_test
17302 wine_fn_config_dll ddrawex enable_ddrawex clean
17303 wine_fn_config_test dlls
/ddrawex
/tests ddrawex_test
17304 wine_fn_config_dll devenum enable_devenum clean
,po
17305 wine_fn_config_test dlls
/devenum
/tests devenum_test
17306 wine_fn_config_dll dhcpcsvc enable_dhcpcsvc
17307 wine_fn_config_dll difxapi enable_difxapi
17308 wine_fn_config_dll dinput enable_dinput clean
,implib
,po
,staticimplib
17309 wine_fn_config_test dlls
/dinput
/tests dinput_test
17310 wine_fn_config_dll dinput8 enable_dinput8 clean
,implib
17311 wine_fn_config_test dlls
/dinput
8/tests dinput8_test
17312 wine_fn_config_dll dispdib.dll16 enable_win16
17313 wine_fn_config_dll dispex enable_dispex clean
17314 wine_fn_config_test dlls
/dispex
/tests dispex_test
17315 wine_fn_config_dll display.drv16 enable_win16
17316 wine_fn_config_dll dmband enable_dmband clean
17317 wine_fn_config_test dlls
/dmband
/tests dmband_test
17318 wine_fn_config_dll dmcompos enable_dmcompos clean
17319 wine_fn_config_test dlls
/dmcompos
/tests dmcompos_test
17320 wine_fn_config_dll dmime enable_dmime clean
17321 wine_fn_config_test dlls
/dmime
/tests dmime_test
17322 wine_fn_config_dll dmloader enable_dmloader clean
17323 wine_fn_config_test dlls
/dmloader
/tests dmloader_test
17324 wine_fn_config_dll dmscript enable_dmscript clean
17325 wine_fn_config_test dlls
/dmscript
/tests dmscript_test
17326 wine_fn_config_dll dmstyle enable_dmstyle clean
17327 wine_fn_config_test dlls
/dmstyle
/tests dmstyle_test
17328 wine_fn_config_dll dmsynth enable_dmsynth clean
17329 wine_fn_config_test dlls
/dmsynth
/tests dmsynth_test
17330 wine_fn_config_dll dmusic enable_dmusic clean
17331 wine_fn_config_test dlls
/dmusic
/tests dmusic_test
17332 wine_fn_config_dll dmusic32 enable_dmusic32 implib
17333 wine_fn_config_dll dnsapi enable_dnsapi implib
17334 wine_fn_config_test dlls
/dnsapi
/tests dnsapi_test
17335 wine_fn_config_dll dplay enable_dplay implib
17336 wine_fn_config_dll dplayx enable_dplayx clean
,implib
17337 wine_fn_config_test dlls
/dplayx
/tests dplayx_test
17338 wine_fn_config_dll dpnaddr enable_dpnaddr
17339 wine_fn_config_dll dpnet enable_dpnet clean
,implib
17340 wine_fn_config_test dlls
/dpnet
/tests dpnet_test
17341 wine_fn_config_dll dpnhpast enable_dpnhpast
17342 wine_fn_config_dll dpnlobby enable_dpnlobby
17343 wine_fn_config_dll dpvoice enable_dpvoice clean
17344 wine_fn_config_test dlls
/dpvoice
/tests dpvoice_test
17345 wine_fn_config_dll dpwsockx enable_dpwsockx
17346 wine_fn_config_dll drmclien enable_drmclien
17347 wine_fn_config_dll dsound enable_dsound clean
,implib
17348 wine_fn_config_test dlls
/dsound
/tests dsound_test
17349 wine_fn_config_dll dssenh enable_dssenh
17350 wine_fn_config_test dlls
/dssenh
/tests dssenh_test
17351 wine_fn_config_dll dswave enable_dswave clean
17352 wine_fn_config_test dlls
/dswave
/tests dswave_test
17353 wine_fn_config_dll dwmapi enable_dwmapi implib
17354 wine_fn_config_dll dwrite enable_dwrite implib
17355 wine_fn_config_test dlls
/dwrite
/tests dwrite_test
17356 wine_fn_config_dll dxdiagn enable_dxdiagn clean
,po
17357 wine_fn_config_test dlls
/dxdiagn
/tests dxdiagn_test
17358 wine_fn_config_lib dxerr8
17359 wine_fn_config_lib dxerr9
17360 wine_fn_config_dll dxgi enable_dxgi implib
17361 wine_fn_config_test dlls
/dxgi
/tests dxgi_test
17362 wine_fn_config_lib dxguid
17363 wine_fn_config_dll dxva2 enable_dxva2
17364 wine_fn_config_dll evr enable_evr
17365 wine_fn_config_dll explorerframe enable_explorerframe clean
17366 wine_fn_config_test dlls
/explorerframe
/tests explorerframe_test
17367 wine_fn_config_dll ext-ms-win-gdi-devcaps-l1-1-0 enable_ext_ms_win_gdi_devcaps_l1_1_0
17368 wine_fn_config_dll faultrep enable_faultrep implib
17369 wine_fn_config_test dlls
/faultrep
/tests faultrep_test
17370 wine_fn_config_dll fltlib enable_fltlib
17371 wine_fn_config_dll fntcache enable_fntcache
17372 wine_fn_config_dll fontsub enable_fontsub
17373 wine_fn_config_dll fusion enable_fusion
17374 wine_fn_config_test dlls
/fusion
/tests fusion_test
17375 wine_fn_config_dll fwpuclnt enable_fwpuclnt
17376 wine_fn_config_dll gameux enable_gameux clean
17377 wine_fn_config_test dlls
/gameux
/tests gameux_test
17378 wine_fn_config_dll gdi.exe16 enable_win16
17379 wine_fn_config_dll gdi32 enable_gdi32 clean
,implib
,po
17380 wine_fn_config_test dlls
/gdi32
/tests gdi32_test
17381 wine_fn_config_dll gdiplus enable_gdiplus implib
17382 wine_fn_config_test dlls
/gdiplus
/tests gdiplus_test
17383 wine_fn_config_dll glu32 enable_glu32 implib
17384 wine_fn_config_dll gphoto2.ds enable_gphoto2_ds po
17385 wine_fn_config_dll gpkcsp enable_gpkcsp
17386 wine_fn_config_dll hal enable_hal
17387 wine_fn_config_dll hhctrl.ocx enable_hhctrl_ocx clean
,implib
,po htmlhelp
17388 wine_fn_config_dll hid enable_hid implib
17389 wine_fn_config_dll hidclass.sys enable_hidclass_sys implib hidclass
17390 wine_fn_config_dll hlink enable_hlink clean
,implib
17391 wine_fn_config_test dlls
/hlink
/tests hlink_test
17392 wine_fn_config_dll hnetcfg enable_hnetcfg clean
17393 wine_fn_config_dll httpapi enable_httpapi
17394 wine_fn_config_dll iccvid enable_iccvid po
17395 wine_fn_config_dll icmp enable_icmp
17396 wine_fn_config_dll ieframe enable_ieframe clean
,implib
,po
17397 wine_fn_config_test dlls
/ieframe
/tests ieframe_test
17398 wine_fn_config_dll ifsmgr.vxd enable_win16
17399 wine_fn_config_dll imaadp32.acm enable_imaadp32_acm
17400 wine_fn_config_dll imagehlp enable_imagehlp implib
17401 wine_fn_config_test dlls
/imagehlp
/tests imagehlp_test
17402 wine_fn_config_dll imm.dll16 enable_win16
17403 wine_fn_config_dll imm32 enable_imm32 implib
17404 wine_fn_config_test dlls
/imm32
/tests imm32_test
17405 wine_fn_config_dll inetcomm enable_inetcomm clean
,implib
17406 wine_fn_config_test dlls
/inetcomm
/tests inetcomm_test
17407 wine_fn_config_dll inetcpl.cpl enable_inetcpl_cpl po
17408 wine_fn_config_dll inetmib1 enable_inetmib1
17409 wine_fn_config_test dlls
/inetmib
1/tests inetmib1_test
17410 wine_fn_config_dll infosoft enable_infosoft clean
17411 wine_fn_config_test dlls
/infosoft
/tests infosoft_test
17412 wine_fn_config_dll initpki enable_initpki
17413 wine_fn_config_dll inkobj enable_inkobj
17414 wine_fn_config_dll inseng enable_inseng clean
17415 wine_fn_config_dll iphlpapi enable_iphlpapi implib
17416 wine_fn_config_test dlls
/iphlpapi
/tests iphlpapi_test
17417 wine_fn_config_dll itircl enable_itircl
17418 wine_fn_config_dll itss enable_itss clean
17419 wine_fn_config_test dlls
/itss
/tests itss_test
17420 wine_fn_config_dll joy.cpl enable_joy_cpl po
17421 wine_fn_config_dll jscript enable_jscript clean
,po
17422 wine_fn_config_test dlls
/jscript
/tests jscript_test
17423 wine_fn_config_dll jsproxy enable_jsproxy implib
17424 wine_fn_config_dll kernel32 enable_kernel32 clean
,implib
,mc
17425 wine_fn_config_test dlls
/kernel32
/tests kernel32_test
17426 wine_fn_config_dll keyboard.drv16 enable_win16
17427 wine_fn_config_dll krnl386.exe16 enable_win16 implib kernel
17428 wine_fn_config_dll ksuser enable_ksuser
17429 wine_fn_config_dll ktmw32 enable_ktmw32
17430 wine_fn_config_dll loadperf enable_loadperf implib
17431 wine_fn_config_dll localspl enable_localspl po
17432 wine_fn_config_test dlls
/localspl
/tests localspl_test
17433 wine_fn_config_dll localui enable_localui po
17434 wine_fn_config_test dlls
/localui
/tests localui_test
17435 wine_fn_config_dll lz32 enable_lz32 implib
17436 wine_fn_config_test dlls
/lz32
/tests lz32_test
17437 wine_fn_config_dll lzexpand.dll16 enable_win16
17438 wine_fn_config_dll mapi32 enable_mapi32 implib
,po
17439 wine_fn_config_test dlls
/mapi32
/tests mapi32_test
17440 wine_fn_config_dll mapistub enable_mapistub
17441 wine_fn_config_dll mciavi32 enable_mciavi32
17442 wine_fn_config_dll mcicda enable_mcicda
17443 wine_fn_config_dll mciqtz32 enable_mciqtz32
17444 wine_fn_config_dll mciseq enable_mciseq
17445 wine_fn_config_dll mciwave enable_mciwave
17446 wine_fn_config_dll mf enable_mf
17447 wine_fn_config_dll mfplat enable_mfplat
17448 wine_fn_config_dll mfreadwrite enable_mfreadwrite
17449 wine_fn_config_dll mgmtapi enable_mgmtapi
17450 wine_fn_config_dll midimap enable_midimap
17451 wine_fn_config_dll mlang enable_mlang clean
,implib
17452 wine_fn_config_test dlls
/mlang
/tests mlang_test
17453 wine_fn_config_dll mmcndmgr enable_mmcndmgr clean
17454 wine_fn_config_test dlls
/mmcndmgr
/tests mmcndmgr_test
17455 wine_fn_config_dll mmdevapi enable_mmdevapi clean
17456 wine_fn_config_test dlls
/mmdevapi
/tests mmdevapi_test
17457 wine_fn_config_dll mmdevldr.vxd enable_win16
17458 wine_fn_config_dll mmsystem.dll16 enable_win16
17459 wine_fn_config_dll monodebg.vxd enable_win16
17460 wine_fn_config_dll mountmgr.sys enable_mountmgr_sys
17461 wine_fn_config_dll mouse.drv16 enable_win16
17462 wine_fn_config_dll mpr enable_mpr implib
,po
17463 wine_fn_config_test dlls
/mpr
/tests mpr_test
17464 wine_fn_config_dll mprapi enable_mprapi implib
17465 wine_fn_config_dll msacm.dll16 enable_win16
17466 wine_fn_config_dll msacm32.drv enable_msacm32_drv
17467 wine_fn_config_dll msacm32 enable_msacm32 implib
,po
17468 wine_fn_config_test dlls
/msacm32
/tests msacm32_test
17469 wine_fn_config_dll msadp32.acm enable_msadp32_acm
17470 wine_fn_config_dll msasn1 enable_msasn1 implib
17471 wine_fn_config_dll mscat32 enable_mscat32
17472 wine_fn_config_dll mscms enable_mscms implib
17473 wine_fn_config_test dlls
/mscms
/tests mscms_test
17474 wine_fn_config_dll mscoree enable_mscoree clean
17475 wine_fn_config_test dlls
/mscoree
/tests mscoree_test
17476 wine_fn_config_dll msctf enable_msctf clean
17477 wine_fn_config_test dlls
/msctf
/tests msctf_test
17478 wine_fn_config_dll msctfp enable_msctfp clean
17479 wine_fn_config_dll msdaps enable_msdaps clean
17480 wine_fn_config_dll msdmo enable_msdmo implib
17481 wine_fn_config_test dlls
/msdmo
/tests msdmo_test
17482 wine_fn_config_dll msftedit enable_msftedit
17483 wine_fn_config_dll msg711.acm enable_msg711_acm
17484 wine_fn_config_dll msgsm32.acm enable_msgsm32_acm
17485 wine_fn_config_dll mshtml.tlb enable_mshtml_tlb clean
17486 wine_fn_config_dll mshtml enable_mshtml clean
,implib
,po
17487 wine_fn_config_test dlls
/mshtml
/tests mshtml_test clean
17488 wine_fn_config_dll msi enable_msi clean
,implib
,po
17489 wine_fn_config_test dlls
/msi
/tests msi_test
17490 wine_fn_config_dll msident enable_msident clean
17491 wine_fn_config_dll msimg32 enable_msimg32 implib
17492 wine_fn_config_dll msimsg enable_msimsg
17493 wine_fn_config_dll msimtf enable_msimtf clean
17494 wine_fn_config_dll msisip enable_msisip
17495 wine_fn_config_dll msisys.ocx enable_msisys_ocx
17496 wine_fn_config_dll msls31 enable_msls31
17497 wine_fn_config_dll msnet32 enable_msnet32
17498 wine_fn_config_dll mspatcha enable_mspatcha implib
17499 wine_fn_config_dll msrle32 enable_msrle32 po
17500 wine_fn_config_test dlls
/msrle32
/tests msrle32_test
17501 wine_fn_config_dll msscript.ocx enable_msscript_ocx clean
17502 wine_fn_config_dll mssign32 enable_mssign32
17503 wine_fn_config_dll mssip32 enable_mssip32
17504 wine_fn_config_dll mstask enable_mstask clean
17505 wine_fn_config_test dlls
/mstask
/tests mstask_test
17506 wine_fn_config_dll msvcirt enable_msvcirt
17507 wine_fn_config_test dlls
/msvcirt
/tests msvcirt_test
17508 wine_fn_config_dll msvcm80 enable_msvcm80
17509 wine_fn_config_dll msvcm90 enable_msvcm90
17510 wine_fn_config_dll msvcp100 enable_msvcp100
17511 wine_fn_config_test dlls
/msvcp100
/tests msvcp100_test
17512 wine_fn_config_dll msvcp110 enable_msvcp110
17513 wine_fn_config_dll msvcp120 enable_msvcp120
17514 wine_fn_config_test dlls
/msvcp120
/tests msvcp120_test
17515 wine_fn_config_dll msvcp120_app enable_msvcp120_app
17516 wine_fn_config_dll msvcp60 enable_msvcp60
17517 wine_fn_config_test dlls
/msvcp60
/tests msvcp60_test
17518 wine_fn_config_dll msvcp70 enable_msvcp70
17519 wine_fn_config_dll msvcp71 enable_msvcp71
17520 wine_fn_config_dll msvcp80 enable_msvcp80
17521 wine_fn_config_dll msvcp90 enable_msvcp90
17522 wine_fn_config_test dlls
/msvcp90
/tests msvcp90_test
17523 wine_fn_config_dll msvcr100 enable_msvcr100 implib
17524 wine_fn_config_test dlls
/msvcr100
/tests msvcr100_test
17525 wine_fn_config_dll msvcr110 enable_msvcr110 implib
17526 wine_fn_config_dll msvcr120 enable_msvcr120 implib
17527 wine_fn_config_test dlls
/msvcr120
/tests msvcr120_test
17528 wine_fn_config_dll msvcr120_app enable_msvcr120_app
17529 wine_fn_config_dll msvcr70 enable_msvcr70 implib
17530 wine_fn_config_dll msvcr71 enable_msvcr71 implib
17531 wine_fn_config_dll msvcr80 enable_msvcr80 implib
17532 wine_fn_config_dll msvcr90 enable_msvcr90 implib
17533 wine_fn_config_test dlls
/msvcr90
/tests msvcr90_test
17534 wine_fn_config_dll msvcrt enable_msvcrt implib
17535 wine_fn_config_test dlls
/msvcrt
/tests msvcrt_test
17536 wine_fn_config_dll msvcrt20 enable_msvcrt20 implib
17537 wine_fn_config_dll msvcrt40 enable_msvcrt40 implib
17538 wine_fn_config_dll msvcrtd enable_msvcrtd implib
17539 wine_fn_config_test dlls
/msvcrtd
/tests msvcrtd_test
17540 wine_fn_config_dll msvfw32 enable_msvfw32 implib
,po
17541 wine_fn_config_test dlls
/msvfw32
/tests msvfw32_test
17542 wine_fn_config_dll msvidc32 enable_msvidc32 po
17543 wine_fn_config_dll msvideo.dll16 enable_win16
17544 wine_fn_config_dll mswsock enable_mswsock implib
17545 wine_fn_config_dll msxml enable_msxml clean
17546 wine_fn_config_dll msxml2 enable_msxml2 clean
17547 wine_fn_config_dll msxml3 enable_msxml3 clean
17548 wine_fn_config_test dlls
/msxml
3/tests msxml3_test clean
17549 wine_fn_config_dll msxml4 enable_msxml4 clean
17550 wine_fn_config_dll msxml6 enable_msxml6 clean
17551 wine_fn_config_dll nddeapi enable_nddeapi implib
17552 wine_fn_config_dll ndis.sys enable_ndis_sys
17553 wine_fn_config_dll netapi32 enable_netapi32 implib
17554 wine_fn_config_test dlls
/netapi32
/tests netapi32_test
17555 wine_fn_config_dll netcfgx enable_netcfgx clean
17556 wine_fn_config_test dlls
/netcfgx
/tests netcfgx_test
17557 wine_fn_config_dll netprofm enable_netprofm clean
17558 wine_fn_config_test dlls
/netprofm
/tests netprofm_test
17559 wine_fn_config_dll newdev enable_newdev implib
17560 wine_fn_config_dll normaliz enable_normaliz implib
17561 wine_fn_config_dll npmshtml enable_npmshtml
17562 wine_fn_config_dll npptools enable_npptools
17563 wine_fn_config_dll ntdll enable_ntdll implib
17564 wine_fn_config_test dlls
/ntdll
/tests ntdll_test
17565 wine_fn_config_dll ntdsapi enable_ntdsapi implib
17566 wine_fn_config_test dlls
/ntdsapi
/tests ntdsapi_test
17567 wine_fn_config_dll ntoskrnl.exe enable_ntoskrnl_exe implib
17568 wine_fn_config_dll ntprint enable_ntprint
17569 wine_fn_config_test dlls
/ntprint
/tests ntprint_test
17570 wine_fn_config_dll objsel enable_objsel clean
17571 wine_fn_config_dll odbc32 enable_odbc32 implib
17572 wine_fn_config_dll odbccp32 enable_odbccp32 implib
17573 wine_fn_config_test dlls
/odbccp32
/tests odbccp32_test
17574 wine_fn_config_dll odbccu32 enable_odbccu32
17575 wine_fn_config_dll ole2.dll16 enable_win16
17576 wine_fn_config_dll ole2conv.dll16 enable_win16
17577 wine_fn_config_dll ole2disp.dll16 enable_win16
17578 wine_fn_config_dll ole2nls.dll16 enable_win16
17579 wine_fn_config_dll ole2prox.dll16 enable_win16
17580 wine_fn_config_dll ole2thk.dll16 enable_win16
17581 wine_fn_config_dll ole32 enable_ole32 clean
,implib
17582 wine_fn_config_test dlls
/ole32
/tests ole32_test
17583 wine_fn_config_dll oleacc enable_oleacc clean
,implib
,po
17584 wine_fn_config_test dlls
/oleacc
/tests oleacc_test
17585 wine_fn_config_dll oleaut32 enable_oleaut32 clean
,implib
,po
17586 wine_fn_config_test dlls
/oleaut32
/tests oleaut32_test clean
17587 wine_fn_config_dll olecli.dll16 enable_win16
17588 wine_fn_config_dll olecli32 enable_olecli32 implib
17589 wine_fn_config_dll oledb32 enable_oledb32 clean
17590 wine_fn_config_test dlls
/oledb32
/tests oledb32_test clean
17591 wine_fn_config_dll oledlg enable_oledlg implib
,po
17592 wine_fn_config_test dlls
/oledlg
/tests oledlg_test
17593 wine_fn_config_dll olepro32 enable_olepro32 implib
17594 wine_fn_config_dll olesvr.dll16 enable_win16
17595 wine_fn_config_dll olesvr32 enable_olesvr32 implib
17596 wine_fn_config_dll olethk32 enable_olethk32
17597 wine_fn_config_dll openal32 enable_openal32
17598 wine_fn_config_dll opencl enable_opencl
17599 wine_fn_config_dll opengl32 enable_opengl32 implib
17600 wine_fn_config_test dlls
/opengl32
/tests opengl32_test
17601 wine_fn_config_dll packager enable_packager clean
17602 wine_fn_config_test dlls
/packager
/tests packager_test
17603 wine_fn_config_dll pdh enable_pdh implib
17604 wine_fn_config_test dlls
/pdh
/tests pdh_test
17605 wine_fn_config_dll photometadatahandler enable_photometadatahandler
17606 wine_fn_config_dll pidgen enable_pidgen
17607 wine_fn_config_dll powrprof enable_powrprof implib
17608 wine_fn_config_dll printui enable_printui
17609 wine_fn_config_dll prntvpt enable_prntvpt
17610 wine_fn_config_dll propsys enable_propsys clean
,implib
17611 wine_fn_config_test dlls
/propsys
/tests propsys_test
17612 wine_fn_config_dll psapi enable_psapi implib
17613 wine_fn_config_test dlls
/psapi
/tests psapi_test
17614 wine_fn_config_dll pstorec enable_pstorec clean
17615 wine_fn_config_dll qcap enable_qcap
17616 wine_fn_config_test dlls
/qcap
/tests qcap_test
17617 wine_fn_config_dll qedit enable_qedit clean
17618 wine_fn_config_test dlls
/qedit
/tests qedit_test
17619 wine_fn_config_dll qmgr enable_qmgr clean
17620 wine_fn_config_test dlls
/qmgr
/tests qmgr_test
17621 wine_fn_config_dll qmgrprxy enable_qmgrprxy clean
17622 wine_fn_config_dll quartz enable_quartz clean
,implib
17623 wine_fn_config_test dlls
/quartz
/tests quartz_test clean
17624 wine_fn_config_dll query enable_query
17625 wine_fn_config_dll rasapi16.dll16 enable_win16
17626 wine_fn_config_dll rasapi32 enable_rasapi32 implib
17627 wine_fn_config_test dlls
/rasapi32
/tests rasapi32_test
17628 wine_fn_config_dll rasdlg enable_rasdlg implib
17629 wine_fn_config_dll regapi enable_regapi
17630 wine_fn_config_dll resutils enable_resutils implib
17631 wine_fn_config_dll riched20 enable_riched20 clean
,implib
17632 wine_fn_config_test dlls
/riched20
/tests riched20_test
17633 wine_fn_config_dll riched32 enable_riched32
17634 wine_fn_config_test dlls
/riched32
/tests riched32_test
17635 wine_fn_config_dll rpcrt4 enable_rpcrt4 clean
,implib
17636 wine_fn_config_test dlls
/rpcrt
4/tests rpcrt4_test clean
17637 wine_fn_config_dll rsabase enable_rsabase
17638 wine_fn_config_dll rsaenh enable_rsaenh implib
17639 wine_fn_config_test dlls
/rsaenh
/tests rsaenh_test
17640 wine_fn_config_dll rstrtmgr enable_rstrtmgr
17641 wine_fn_config_dll rtutils enable_rtutils implib
17642 wine_fn_config_dll samlib enable_samlib
17643 wine_fn_config_dll sane.ds enable_sane_ds po
17644 wine_fn_config_dll scarddlg enable_scarddlg
17645 wine_fn_config_dll sccbase enable_sccbase
17646 wine_fn_config_dll schannel enable_schannel
17647 wine_fn_config_test dlls
/schannel
/tests schannel_test
17648 wine_fn_config_dll schedsvc enable_schedsvc clean
17649 wine_fn_config_test dlls
/schedsvc
/tests schedsvc_test clean
17650 wine_fn_config_dll scrrun enable_scrrun clean
17651 wine_fn_config_test dlls
/scrrun
/tests scrrun_test clean
17652 wine_fn_config_dll scsiport.sys enable_scsiport_sys
17653 wine_fn_config_dll secur32 enable_secur32 implib
17654 wine_fn_config_test dlls
/secur32
/tests secur32_test
17655 wine_fn_config_dll security enable_security
17656 wine_fn_config_dll sensapi enable_sensapi implib
17657 wine_fn_config_dll serialui enable_serialui implib
,po
17658 wine_fn_config_test dlls
/serialui
/tests serialui_test
17659 wine_fn_config_dll setupapi enable_setupapi implib
,po
17660 wine_fn_config_test dlls
/setupapi
/tests setupapi_test
17661 wine_fn_config_dll setupx.dll16 enable_win16
17662 wine_fn_config_dll sfc enable_sfc implib
17663 wine_fn_config_dll sfc_os enable_sfc_os implib
17664 wine_fn_config_dll shdoclc enable_shdoclc po
17665 wine_fn_config_dll shdocvw enable_shdocvw clean
,implib
17666 wine_fn_config_test dlls
/shdocvw
/tests shdocvw_test
17667 wine_fn_config_dll shell.dll16 enable_win16
17668 wine_fn_config_dll shell32 enable_shell32 clean
,implib
,po
17669 wine_fn_config_test dlls
/shell32
/tests shell32_test
17670 wine_fn_config_dll shfolder enable_shfolder implib
17671 wine_fn_config_dll shlwapi enable_shlwapi implib
,po
17672 wine_fn_config_test dlls
/shlwapi
/tests shlwapi_test
17673 wine_fn_config_dll slbcsp enable_slbcsp
17674 wine_fn_config_dll slc enable_slc implib
17675 wine_fn_config_test dlls
/slc
/tests slc_test
17676 wine_fn_config_dll snmpapi enable_snmpapi implib
17677 wine_fn_config_test dlls
/snmpapi
/tests snmpapi_test
17678 wine_fn_config_dll softpub enable_softpub
17679 wine_fn_config_dll sound.drv16 enable_win16
17680 wine_fn_config_dll spoolss enable_spoolss implib
17681 wine_fn_config_test dlls
/spoolss
/tests spoolss_test
17682 wine_fn_config_dll stdole2.tlb enable_stdole2_tlb clean
17683 wine_fn_config_dll stdole32.tlb enable_stdole32_tlb clean
17684 wine_fn_config_dll sti enable_sti clean
,implib
17685 wine_fn_config_test dlls
/sti
/tests sti_test
17686 wine_fn_config_dll storage.dll16 enable_win16
17687 wine_fn_config_dll stress.dll16 enable_win16
17688 wine_fn_config_lib strmbase
17689 wine_fn_config_lib strmiids
17690 wine_fn_config_dll svrapi enable_svrapi
17691 wine_fn_config_dll sxs enable_sxs implib
17692 wine_fn_config_test dlls
/sxs
/tests sxs_test
17693 wine_fn_config_dll system.drv16 enable_win16
17694 wine_fn_config_dll t2embed enable_t2embed
17695 wine_fn_config_dll tapi32 enable_tapi32 implib
17696 wine_fn_config_dll taskschd enable_taskschd clean
17697 wine_fn_config_test dlls
/taskschd
/tests taskschd_test
17698 wine_fn_config_dll toolhelp.dll16 enable_win16
17699 wine_fn_config_dll traffic enable_traffic
17700 wine_fn_config_dll twain.dll16 enable_win16
17701 wine_fn_config_dll twain_32 enable_twain_32
17702 wine_fn_config_test dlls
/twain_32
/tests twain_32_test
17703 wine_fn_config_dll typelib.dll16 enable_win16
17704 wine_fn_config_dll unicows enable_unicows implib
17705 wine_fn_config_dll updspapi enable_updspapi
17706 wine_fn_config_dll url enable_url implib
17707 wine_fn_config_dll urlmon enable_urlmon clean
,implib
,po
17708 wine_fn_config_test dlls
/urlmon
/tests urlmon_test
17709 wine_fn_config_dll usbd.sys enable_usbd_sys implib
17710 wine_fn_config_dll user.exe16 enable_win16
17711 wine_fn_config_dll user32 enable_user32 clean
,implib
,po
17712 wine_fn_config_test dlls
/user32
/tests user32_test
17713 wine_fn_config_dll userenv enable_userenv implib
17714 wine_fn_config_test dlls
/userenv
/tests userenv_test
17715 wine_fn_config_dll usp10 enable_usp10 implib
17716 wine_fn_config_test dlls
/usp10
/tests usp10_test
17717 wine_fn_config_lib uuid
17718 wine_fn_config_dll uxtheme enable_uxtheme implib
17719 wine_fn_config_test dlls
/uxtheme
/tests uxtheme_test
17720 wine_fn_config_dll vbscript enable_vbscript clean
17721 wine_fn_config_test dlls
/vbscript
/tests vbscript_test clean
17722 wine_fn_config_dll vcomp enable_vcomp
17723 wine_fn_config_test dlls
/vcomp
/tests vcomp_test
17724 wine_fn_config_dll vcomp100 enable_vcomp100
17725 wine_fn_config_dll vcomp90 enable_vcomp90
17726 wine_fn_config_dll vdhcp.vxd enable_win16
17727 wine_fn_config_dll vdmdbg enable_vdmdbg implib
17728 wine_fn_config_dll ver.dll16 enable_win16
17729 wine_fn_config_dll version enable_version implib
17730 wine_fn_config_test dlls
/version
/tests version_test
17731 wine_fn_config_dll vmm.vxd enable_win16
17732 wine_fn_config_dll vnbt.vxd enable_win16
17733 wine_fn_config_dll vnetbios.vxd enable_win16
17734 wine_fn_config_dll vssapi enable_vssapi
17735 wine_fn_config_dll vtdapi.vxd enable_win16
17736 wine_fn_config_dll vwin32.vxd enable_win16
17737 wine_fn_config_dll w32skrnl enable_win16
17738 wine_fn_config_dll w32sys.dll16 enable_win16
17739 wine_fn_config_dll wbemdisp enable_wbemdisp clean
17740 wine_fn_config_test dlls
/wbemdisp
/tests wbemdisp_test
17741 wine_fn_config_dll wbemprox enable_wbemprox clean
17742 wine_fn_config_test dlls
/wbemprox
/tests wbemprox_test
17743 wine_fn_config_dll webservices enable_webservices implib
17744 wine_fn_config_dll wer enable_wer implib
17745 wine_fn_config_test dlls
/wer
/tests wer_test
17746 wine_fn_config_dll wevtapi enable_wevtapi
17747 wine_fn_config_dll wiaservc enable_wiaservc clean
17748 wine_fn_config_dll win32s16.dll16 enable_win16
17749 wine_fn_config_dll win87em.dll16 enable_win16
17750 wine_fn_config_dll winaspi.dll16 enable_win16
17751 wine_fn_config_dll windebug.dll16 enable_win16
17752 wine_fn_config_dll windowscodecs enable_windowscodecs clean
,implib
17753 wine_fn_config_test dlls
/windowscodecs
/tests windowscodecs_test
17754 wine_fn_config_dll windowscodecsext enable_windowscodecsext implib
17755 wine_fn_config_test dlls
/windowscodecsext
/tests windowscodecsext_test
17756 wine_fn_config_dll winealsa.drv enable_winealsa_drv
17757 wine_fn_config_dll winecoreaudio.drv enable_winecoreaudio_drv
17758 wine_fn_config_lib winecrt0
17759 wine_fn_config_dll wined3d enable_wined3d implib
17760 wine_fn_config_dll winegstreamer enable_winegstreamer
17761 wine_fn_config_dll winejoystick.drv enable_winejoystick_drv
17762 wine_fn_config_dll winemac.drv enable_winemac_drv
17763 wine_fn_config_dll winemapi enable_winemapi
17764 wine_fn_config_dll winemp3.acm enable_winemp3_acm
17765 wine_fn_config_dll wineoss.drv enable_wineoss_drv
17766 wine_fn_config_dll wineps.drv enable_wineps_drv clean
,po
17767 wine_fn_config_dll wineps16.drv16 enable_win16
17768 wine_fn_config_dll wineqtdecoder enable_wineqtdecoder
17769 wine_fn_config_dll winex11.drv enable_winex11_drv
17770 wine_fn_config_dll wing.dll16 enable_win16
17771 wine_fn_config_dll wing32 enable_wing32
17772 wine_fn_config_dll winhttp enable_winhttp clean
,implib
17773 wine_fn_config_test dlls
/winhttp
/tests winhttp_test
17774 wine_fn_config_dll wininet enable_wininet implib
,po
17775 wine_fn_config_test dlls
/wininet
/tests wininet_test
17776 wine_fn_config_dll winmm enable_winmm implib
,po
17777 wine_fn_config_test dlls
/winmm
/tests winmm_test
17778 wine_fn_config_dll winnls.dll16 enable_win16
17779 wine_fn_config_dll winnls32 enable_winnls32 implib
17780 wine_fn_config_dll winscard enable_winscard implib
17781 wine_fn_config_dll winsock.dll16 enable_win16
17782 wine_fn_config_dll winspool.drv enable_winspool_drv implib
,po winspool
17783 wine_fn_config_test dlls
/winspool.drv
/tests winspool.drv_test
17784 wine_fn_config_dll winsta enable_winsta
17785 wine_fn_config_dll wintab.dll16 enable_win16
17786 wine_fn_config_dll wintab32 enable_wintab32 implib
17787 wine_fn_config_test dlls
/wintab32
/tests wintab32_test
17788 wine_fn_config_dll wintrust enable_wintrust implib
17789 wine_fn_config_test dlls
/wintrust
/tests wintrust_test
17790 wine_fn_config_dll wlanapi enable_wlanapi
17791 wine_fn_config_dll wldap32 enable_wldap32 implib
,po
17792 wine_fn_config_test dlls
/wldap32
/tests wldap32_test
17793 wine_fn_config_dll wmi enable_wmi
17794 wine_fn_config_dll wmiutils enable_wmiutils clean
17795 wine_fn_config_test dlls
/wmiutils
/tests wmiutils_test
17796 wine_fn_config_dll wmp enable_wmp clean
17797 wine_fn_config_test dlls
/wmp
/tests wmp_test
17798 wine_fn_config_dll wmvcore enable_wmvcore
17799 wine_fn_config_dll wnaspi32 enable_wnaspi32 implib
17800 wine_fn_config_dll wow32 enable_win16 implib
17801 wine_fn_config_dll wpcap enable_wpcap
17802 wine_fn_config_dll ws2_32 enable_ws2_32 implib
17803 wine_fn_config_test dlls
/ws2_32
/tests ws2_32_test
17804 wine_fn_config_dll wshom.ocx enable_wshom_ocx clean
17805 wine_fn_config_test dlls
/wshom.ocx
/tests wshom.ocx_test clean
17806 wine_fn_config_dll wsnmp32 enable_wsnmp32 implib
17807 wine_fn_config_test dlls
/wsnmp32
/tests wsnmp32_test
17808 wine_fn_config_dll wsock32 enable_wsock32 implib
17809 wine_fn_config_dll wtsapi32 enable_wtsapi32 implib
17810 wine_fn_config_test dlls
/wtsapi32
/tests wtsapi32_test
17811 wine_fn_config_dll wuapi enable_wuapi clean
17812 wine_fn_config_dll wuaueng enable_wuaueng
17813 wine_fn_config_dll x3daudio1_1 enable_x3daudio1_1
17814 wine_fn_config_dll x3daudio1_2 enable_x3daudio1_2
17815 wine_fn_config_dll x3daudio1_3 enable_x3daudio1_3
17816 wine_fn_config_dll x3daudio1_4 enable_x3daudio1_4
17817 wine_fn_config_dll x3daudio1_5 enable_x3daudio1_5
17818 wine_fn_config_dll x3daudio1_6 enable_x3daudio1_6
17819 wine_fn_config_dll x3daudio1_7 enable_x3daudio1_7
17820 wine_fn_config_dll xapofx1_1 enable_xapofx1_1
17821 wine_fn_config_dll xapofx1_3 enable_xapofx1_3
17822 wine_fn_config_dll xapofx1_4 enable_xapofx1_4
17823 wine_fn_config_dll xapofx1_5 enable_xapofx1_5
17824 wine_fn_config_dll xaudio2_7 enable_xaudio2_7 clean
17825 wine_fn_config_dll xaudio2_8 enable_xaudio2_8
17826 wine_fn_config_dll xinput1_1 enable_xinput1_1
17827 wine_fn_config_dll xinput1_2 enable_xinput1_2
17828 wine_fn_config_dll xinput1_3 enable_xinput1_3 implib xinput
17829 wine_fn_config_test dlls
/xinput1_
3/tests xinput1_3_test
17830 wine_fn_config_dll xinput1_4 enable_xinput1_4
17831 wine_fn_config_dll xinput9_1_0 enable_xinput9_1_0
17832 wine_fn_config_dll xmllite enable_xmllite implib
17833 wine_fn_config_test dlls
/xmllite
/tests xmllite_test
17834 wine_fn_config_dll xolehlp enable_xolehlp
17835 wine_fn_config_dll xpsprint enable_xpsprint
17836 wine_fn_config_dll xpssvcs enable_xpssvcs
17837 wine_fn_config_makefile documentation enable_documentation clean
17838 wine_fn_config_makefile fonts enable_fonts clean
,install-lib
17839 wine_fn_config_makefile include enable_include clean
,install-dev
17840 wine_fn_config_makefile libs
/port enable_libs_port
17841 wine_fn_config_makefile libs
/wine enable_libs_wine clean
,install-dev
,install-lib
17842 wine_fn_config_makefile libs
/wpp enable_libs_wpp
17843 wine_fn_config_makefile loader enable_loader clean
,install-lib
,manpage
17844 wine_fn_config_program arp enable_arp
install
17845 wine_fn_config_program aspnet_regiis enable_aspnet_regiis
install
17846 wine_fn_config_program attrib enable_attrib
install,po
17847 wine_fn_config_program cabarc enable_cabarc
install
17848 wine_fn_config_program cacls enable_cacls
install
17849 wine_fn_config_program
clock enable_clock
install,po
17850 wine_fn_config_program cmd enable_cmd
install,po
17851 wine_fn_config_test programs
/cmd
/tests cmd.exe_test
17852 wine_fn_config_program conhost enable_conhost
install
17853 wine_fn_config_program control enable_control
install
17854 wine_fn_config_program cscript enable_cscript clean
,install
17855 wine_fn_config_program dpnsvr enable_dpnsvr
install
17856 wine_fn_config_program dxdiag enable_dxdiag
install,po
17857 wine_fn_config_program eject enable_eject
install
17858 wine_fn_config_program
expand enable_expand
install
17859 wine_fn_config_program explorer enable_explorer
install,po
17860 wine_fn_config_program extrac32 enable_extrac32
install
17861 wine_fn_config_program findstr enable_findstr
install
17862 wine_fn_config_program hh enable_hh
install
17863 wine_fn_config_program hostname enable_hostname
install,po
17864 wine_fn_config_program icinfo enable_icinfo
install
17865 wine_fn_config_program iexplore enable_iexplore
install
17866 wine_fn_config_program ipconfig enable_ipconfig
install,po
17867 wine_fn_config_program lodctr enable_lodctr
install
17868 wine_fn_config_program mofcomp enable_mofcomp
install
17869 wine_fn_config_program mshta enable_mshta
install
17870 wine_fn_config_program msiexec enable_msiexec
install,installbin
,manpage
17871 wine_fn_config_program net enable_net
install,po
17872 wine_fn_config_program netsh enable_netsh
install
17873 wine_fn_config_program netstat enable_netstat
install,po
17874 wine_fn_config_program ngen enable_ngen
install
17875 wine_fn_config_program notepad enable_notepad
install,installbin
,manpage
,po
17876 wine_fn_config_program oleview enable_oleview
install,po
17877 wine_fn_config_program
ping enable_ping
install
17878 wine_fn_config_program plugplay enable_plugplay
install
17879 wine_fn_config_program presentationfontcache enable_presentationfontcache
install
17880 wine_fn_config_program progman enable_progman
install,po
17881 wine_fn_config_program reg enable_reg
install,po
17882 wine_fn_config_test programs
/reg
/tests reg.exe_test
17883 wine_fn_config_program regasm enable_regasm
install
17884 wine_fn_config_program regedit enable_regedit
install,installbin
,manpage
,po
17885 wine_fn_config_test programs
/regedit
/tests regedit.exe_test
17886 wine_fn_config_program regsvcs enable_regsvcs
install
17887 wine_fn_config_program regsvr32 enable_regsvr32
install,installbin
,manpage
,po
17888 wine_fn_config_program rpcss enable_rpcss clean
,install
17889 wine_fn_config_program rundll.exe16 enable_win16
install
17890 wine_fn_config_program rundll32 enable_rundll32
install
17891 wine_fn_config_program sc enable_sc
install
17892 wine_fn_config_program schtasks enable_schtasks
install
17893 wine_fn_config_program sdbinst enable_sdbinst
install
17894 wine_fn_config_program secedit enable_secedit
install
17895 wine_fn_config_program servicemodelreg enable_servicemodelreg
install
17896 wine_fn_config_program services enable_services clean
,install
17897 wine_fn_config_test programs
/services
/tests services.exe_test
17898 wine_fn_config_program spoolsv enable_spoolsv
install
17899 wine_fn_config_program start enable_start
install,po
17900 wine_fn_config_program svchost enable_svchost
install
17901 wine_fn_config_program systeminfo enable_systeminfo
install
17902 wine_fn_config_program taskkill enable_taskkill
install,po
17903 wine_fn_config_program tasklist enable_tasklist
install
17904 wine_fn_config_program taskmgr enable_taskmgr
install,po
17905 wine_fn_config_program termsv enable_termsv
install
17906 wine_fn_config_program uninstaller enable_uninstaller
install,po
17907 wine_fn_config_program unlodctr enable_unlodctr
install
17908 wine_fn_config_program view enable_view
install,po
17909 wine_fn_config_program wevtutil enable_wevtutil
install
17910 wine_fn_config_program wineboot enable_wineboot
install,installbin
,manpage
,po
17911 wine_fn_config_program winebrowser enable_winebrowser
install
17912 wine_fn_config_program winecfg enable_winecfg
install,installbin
,manpage
,po
17913 wine_fn_config_program wineconsole enable_wineconsole
install,installbin
,manpage
,po
17914 wine_fn_config_program winedbg enable_winedbg
install,installbin
,manpage
,po
17915 wine_fn_config_program winedevice enable_winedevice
install
17916 wine_fn_config_program winefile enable_winefile
install,installbin
,manpage
,po
17917 wine_fn_config_program winemenubuilder enable_winemenubuilder
install
17918 wine_fn_config_program winemine enable_winemine
install,installbin
,manpage
,po
17919 wine_fn_config_program winemsibuilder enable_winemsibuilder
install
17920 wine_fn_config_program winepath enable_winepath
install,installbin
,manpage
17921 wine_fn_config_program winetest enable_winetest clean
17922 wine_fn_config_program winevdm enable_win16
install
17923 wine_fn_config_program winhelp.exe16 enable_win16
install
17924 wine_fn_config_program winhlp32 enable_winhlp32
install,po
17925 wine_fn_config_program winoldap.mod16 enable_win16
install
17926 wine_fn_config_program winver enable_winver
install
17927 wine_fn_config_program wmic enable_wmic
install,po
17928 wine_fn_config_program wordpad enable_wordpad
install,po
17929 wine_fn_config_program
write enable_write
install,po
17930 wine_fn_config_program wscript enable_wscript clean
,install
17931 wine_fn_config_test programs
/wscript
/tests wscript.exe_test
17932 wine_fn_config_program wusa enable_wusa
install
17933 wine_fn_config_program xcopy enable_xcopy
install,po
17934 wine_fn_config_test programs
/xcopy
/tests xcopy.exe_test
17935 wine_fn_config_makefile server enable_server clean
,install-lib
,manpage
17936 wine_fn_config_tool tools clean
,install-dev
,install-lib
,manpage
17937 wine_fn_config_tool tools
/sfnt2fon clean
17938 wine_fn_config_tool tools
/widl clean
,install-dev
,manpage
17939 wine_fn_config_tool tools
/winebuild clean
,install-dev
,manpage
17940 wine_fn_config_tool tools
/winedump clean
,install-dev
,manpage
17941 wine_fn_config_tool tools
/winegcc clean
,install-dev
,manpage
17942 wine_fn_config_tool tools
/wmc clean
,install-dev
,manpage
17943 wine_fn_config_tool tools
/wrc clean
,install-dev
,manpage
17995 wine_fn_ignore_file
".gitignore"
17996 wine_fn_ignore_file
"Makefile"
17997 wine_fn_ignore_file
"TAGS"
17998 wine_fn_ignore_file
"tags"
17999 wine_fn_ignore_file
"autom4te.cache"
18000 wine_fn_ignore_file
"config.cache"
18001 wine_fn_ignore_file
"config.log"
18002 wine_fn_ignore_file
"config.status"
18003 wine_fn_ignore_file
"configure.lineno"
18004 wine_fn_ignore_file
"include/config.h"
18005 wine_fn_ignore_file
"include/stamp-h"
18006 test "$wine_binary" = wine || wine_fn_ignore_file
"loader/wine"
18008 if test "x$enable_tools" != xno
18010 wine_fn_ignore_file
"tools/makedep$ac_exeext"
18011 ac_config_commands
="$ac_config_commands tools/makedep"
18015 ac_config_commands
="$ac_config_commands Makefile"
18018 ac_config_files
="$ac_config_files Make.tmp:Make.vars.in:Makefile.in"
18022 if test "x$enable_maintainer_mode" = xyes
18024 wine_fn_append_rule
"configure: configure.ac aclocal.m4
18025 autoconf --warnings=all
18026 include/config.h.in: include/stamp-h.in
18027 include/stamp-h.in: configure.ac aclocal.m4
18028 autoheader --warnings=all
18029 @echo timestamp > \$@"
18032 if test "x$with_gettextpo" = xyes
18034 test "$srcdir" = . || as_fn_error $?
"Rebuilding po files is not supported for out of tree builds." "$LINENO" 5
18035 wine_fn_append_rule
"ALL_POT_FILES =$ALL_POT_FILES
18036 \$(LINGUAS:%=po/%.po): po/wine.pot
18037 msgmerge --previous -q \$@ po/wine.pot | msgattrib --no-obsolete -o \$@.new && mv \$@.new \$@
18038 po/wine.pot: \$(ALL_POT_FILES)
18039 msgcat -o \$@ \$(ALL_POT_FILES)"
18042 if test "$MSGFMT" != false
18044 wine_fn_append_rule
"__builddeps__: \$(LINGUAS:%=po/%.mo)
18046 \$(RM) \$(LINGUAS:%=po/%.mo)"
18049 test "$srcdir" = . || posrc
="$srcdir/po"
18052 wine_fn_ignore_file
"po/$i.mo"
18053 wine_fn_append_rule
"po/$i.mo: $posrc/$i.po
18054 \$(MSGFMT) -o \$@ $posrc/$i.po"
18060 if test "x$enable_tools" != xno
18062 wine_fn_append_rule
"tools/makedep$ac_exeext: $srcdir/tools/makedep.c include/config.h config.status
18063 @./config.status tools/makedep
18064 Makefile: tools/makedep$ac_exeext
18066 \$(RM) tools/makedep$ac_exeext"
18068 wine_fn_append_rule
"\$(MAKEDEP):
18069 @echo \"You need to run make in $TOOLSDIR first\" && false"
18072 if test -n "$with_wine64"
18074 wine_fn_append_rule
"all: fonts server tools $with_wine64/loader/wine $with_wine64/loader/wine-preloader
18075 fonts server tools:
18076 \$(RM) \$@ && \$(LN_S) $with_wine64/\$@ \$@
18077 $with_wine64/loader/wine:
18078 \$(RM) \$@ && \$(LN_S) $ac_pwd/loader/wine \$@
18079 $with_wine64/loader/wine-preloader:
18080 \$(RM) \$@ && \$(LN_S) $ac_pwd/loader/wine-preloader \$@
18082 \$(RM) fonts server tools $with_wine64/loader/wine $with_wine64/loader/wine-preloader"
18084 as_fn_append LOADER_RULES
"
18085 install install-lib:: wine.inf install-man-pages
18086 \$(INSTALL_DATA) wine.inf \$(DESTDIR)\$(datadir)/wine/wine.inf
18087 \$(INSTALL_DATA) \$(srcdir)/l_intl.nls \$(DESTDIR)\$(datadir)/wine/l_intl.nls
18090 \$(RM) \$(DESTDIR)\$(datadir)/wine/wine.inf \$(DESTDIR)\$(datadir)/wine/l_intl.nls
18094 if test "$srcdir" = .
18096 ac_config_commands
="$ac_config_commands .gitignore"
18100 $as_echo " done" >&6
18101 cat >confcache
<<\_ACEOF
18102 # This file is a shell script that caches the results of configure
18103 # tests run on this system so they can be shared between configure
18104 # scripts and configure runs, see configure's option --config-cache.
18105 # It is not useful on other systems. If it contains results you don't
18106 # want to keep, you may remove or edit it.
18108 # config.status only pays attention to the cache file if you give it
18109 # the --recheck option to rerun configure.
18111 # `ac_cv_env_foo' variables (set or unset) will be overridden when
18112 # loading this file, other *unset* `ac_cv_foo' will be assigned the
18113 # following values.
18117 # The following way of writing the cache mishandles newlines in values,
18118 # but we know of no workaround that is simple, portable, and efficient.
18119 # So, we kill variables containing newlines.
18120 # Ultrix sh set writes to stderr and can't be redirected directly,
18121 # and sets the high bit in the cache file unless we assign to the vars.
18123 for ac_var
in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
18124 eval ac_val
=\$
$ac_var
18128 *_cv_
*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
18129 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
18132 _ | IFS | as_nl
) ;; #(
18133 BASH_ARGV | BASH_SOURCE
) eval $ac_var= ;; #(
18134 *) { eval $ac_var=; unset $ac_var;} ;;
18140 case $as_nl`(ac_space=' '; set) 2>&1` in #(
18141 *${as_nl}ac_space
=\
*)
18142 # `set' does not quote correctly, so add quotes: double-quote
18143 # substitution turns \\\\ into \\, and sed turns \\ into \.
18146 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
18149 # `set' quotes correctly as required by POSIX, so do not add quotes.
18150 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
18159 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
18161 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
18163 if diff "$cache_file" confcache
>/dev
/null
2>&1; then :; else
18164 if test -w "$cache_file"; then
18165 if test "x$cache_file" != "x/dev/null"; then
18166 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
18167 $as_echo "$as_me: updating cache $cache_file" >&6;}
18168 if test ! -f "$cache_file" ||
test -h "$cache_file"; then
18169 cat confcache
>"$cache_file"
18171 case $cache_file in #(
18173 mv -f confcache
"$cache_file"$$
&&
18174 mv -f "$cache_file"$$
"$cache_file" ;; #(
18176 mv -f confcache
"$cache_file" ;;
18181 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
18182 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
18187 test "x$prefix" = xNONE
&& prefix
=$ac_default_prefix
18188 # Let make expand exec_prefix.
18189 test "x$exec_prefix" = xNONE
&& exec_prefix
='${prefix}'
18191 DEFS
=-DHAVE_CONFIG_H
18196 for ac_i
in : $LIBOBJS; do test "x$ac_i" = x
: && continue
18197 # 1. Remove the extension, and $U if already installed.
18198 ac_script
='s/\$U\././;s/\.o$//;s/\.obj$//'
18199 ac_i
=`$as_echo "$ac_i" | sed "$ac_script"`
18200 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
18201 # will be set to the directory where LIBOBJS objects are built.
18202 as_fn_append ac_libobjs
" \${LIBOBJDIR}$ac_i\$U.$ac_objext"
18203 as_fn_append ac_ltlibobjs
" \${LIBOBJDIR}$ac_i"'$U.lo'
18205 LIBOBJS
=$ac_libobjs
18207 LTLIBOBJS
=$ac_ltlibobjs
18211 : "${CONFIG_STATUS=./config.status}"
18213 ac_clean_files_save
=$ac_clean_files
18214 ac_clean_files
="$ac_clean_files $CONFIG_STATUS"
18215 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
18216 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
18218 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
18220 # Generated by $as_me.
18221 # Run this file to recreate the current configuration.
18222 # Compiler output produced by configure, useful for debugging
18223 # configure, is in config.log if it exists.
18226 ac_cs_recheck=false
18229 SHELL=\${CONFIG_SHELL-$SHELL}
18232 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail
=1
18233 ## -------------------- ##
18234 ## M4sh Initialization. ##
18235 ## -------------------- ##
18237 # Be more Bourne compatible
18238 DUALCASE
=1; export DUALCASE
# for MKS sh
18239 if test -n "${ZSH_VERSION+set}" && (emulate sh
) >/dev
/null
2>&1; then :
18242 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
18243 # is contrary to our usage. Disable this feature.
18244 alias -g '${1+"$@"}'='"$@"'
18245 setopt NO_GLOB_SUBST
18247 case `(set -o) 2>/dev/null` in #(
18259 # Printing a long string crashes Solaris 7 /usr/bin/printf.
18260 as_echo
='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
18261 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
18262 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
18263 # Prefer a ksh shell builtin over an external printf program on Solaris,
18264 # but without wasting forks for bash or zsh.
18265 if test -z "$BASH_VERSION$ZSH_VERSION" \
18266 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
18267 as_echo='print
-r --'
18268 as_echo_n='print
-rn --'
18269 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
18270 as_echo='printf %s
\n'
18271 as_echo_n='printf %s
'
18273 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
18274 as_echo_body='eval /usr
/ucb
/echo -n "$1$as_nl"'
18275 as_echo_n='/usr
/ucb
/echo -n'
18277 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
18278 as_echo_n_body='eval
18282 expr "X$arg" : "X\\(.*\\)$as_nl";
18283 arg
=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
18285 expr "X$arg" : "X\\(.*\\)" |
tr -d "$as_nl"
18287 export as_echo_n_body
18288 as_echo_n='sh
-c $as_echo_n_body as_echo
'
18290 export as_echo_body
18291 as_echo='sh
-c $as_echo_body as_echo
'
18294 # The user is always right.
18295 if test "${PATH_SEPARATOR+set}" != set; then
18297 (PATH='/bin
;/bin
'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
18298 (PATH='/bin
:/bin
'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
18305 # We need space, tab and new line, in precisely that order. Quoting is
18306 # there to prevent editors from complaining about space-tab.
18307 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
18308 # splitting by setting IFS to empty value.)
18311 # Find who we are. Look in the path if we contain no directory separator.
18314 *[\\/]* ) as_myself=$0 ;;
18315 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
18316 for as_dir in $PATH
18319 test -z "$as_dir" && as_dir=.
18320 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
18326 # We did not find ourselves, most probably we were run as `sh COMMAND'
18327 # in which case we are not to be found in the path.
18328 if test "x$as_myself" = x
; then
18331 if test ! -f "$as_myself"; then
18332 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
18336 # Unset variables that we do not need and which cause bugs (e.g. in
18337 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
18338 # suppresses any "Segmentation fault" message there. '((' could
18339 # trigger a bug in pdksh 5.2.14.
18340 for as_var
in BASH_ENV ENV MAIL MAILPATH
18341 do eval test x\
${$as_var+set} = xset \
18342 && ( (unset $as_var) ||
exit 1) >/dev
/null
2>&1 && unset $as_var ||
:
18355 (unset CDPATH
) >/dev
/null
2>&1 && unset CDPATH
18358 # as_fn_error STATUS ERROR [LINENO LOG_FD]
18359 # ----------------------------------------
18360 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
18361 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
18362 # script with STATUS, using 1 if that was 0.
18365 as_status
=$1; test $as_status -eq 0 && as_status
=1
18367 as_lineno
=${as_lineno-"$3"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
18368 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
18370 $as_echo "$as_me: error: $2" >&2
18371 as_fn_exit
$as_status
18375 # as_fn_set_status STATUS
18376 # -----------------------
18377 # Set $? to STATUS, without forking.
18378 as_fn_set_status
()
18381 } # as_fn_set_status
18383 # as_fn_exit STATUS
18384 # -----------------
18385 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
18389 as_fn_set_status
$1
18395 # Portably unset VAR.
18398 { eval $1=; unset $1;}
18400 as_unset
=as_fn_unset
18401 # as_fn_append VAR VALUE
18402 # ----------------------
18403 # Append the text in VALUE to the end of the definition contained in VAR. Take
18404 # advantage of any shell optimizations that allow amortized linear growth over
18405 # repeated appends, instead of the typical quadratic growth present in naive
18407 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev
/null
; then :
18408 eval 'as_fn_append ()
18419 # as_fn_arith ARG...
18420 # ------------------
18421 # Perform arithmetic evaluation on the ARGs, and store the result in the
18422 # global $as_val. Take advantage of shells that can avoid forks. The arguments
18423 # must be portable across $(()) and expr.
18424 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev
/null
; then :
18425 eval 'as_fn_arith ()
18432 as_val
=`expr "$@" || test $? -eq 1`
18437 if expr a
: '\(a\)' >/dev
/null
2>&1 &&
18438 test "X`expr 00001 : '.*\(...\)'`" = X001
; then
18444 if (basename -- /) >/dev
/null
2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
18445 as_basename
=basename
18450 if (as_dir
=`dirname -- /` && test "X$as_dir" = X
/) >/dev
/null
2>&1; then
18456 as_me
=`$as_basename -- "$0" ||
18457 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
18458 X"$0" : 'X\(//\)$' \| \
18459 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
18461 sed '/^.*\/\([^/][^/]*\)\/*$/{
18475 # Avoid depending upon Character Ranges.
18476 as_cr_letters
='abcdefghijklmnopqrstuvwxyz'
18477 as_cr_LETTERS
='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
18478 as_cr_Letters
=$as_cr_letters$as_cr_LETTERS
18479 as_cr_digits
='0123456789'
18480 as_cr_alnum
=$as_cr_Letters$as_cr_digits
18482 ECHO_C
= ECHO_N
= ECHO_T
=
18483 case `echo -n x` in #(((((
18485 case `echo 'xy\c'` in
18486 *c
*) ECHO_T
=' ';; # ECHO_T is single tab character.
18488 *) echo `echo ksh88 bug on AIX 6.1` > /dev
/null
18495 rm -f conf$$ conf$$.exe conf$$.
file
18496 if test -d conf$$.dir
; then
18497 rm -f conf$$.dir
/conf$$.
file
18500 mkdir conf$$.dir
2>/dev
/null
18502 if (echo >conf$$.
file) 2>/dev
/null
; then
18503 if ln -s conf$$.
file conf$$
2>/dev
/null
; then
18505 # ... but there are two gotchas:
18506 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
18507 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
18508 # In both cases, we have to default to `cp -pR'.
18509 ln -s conf$$.
file conf$$.dir
2>/dev
/null
&& test ! -f conf$$.exe ||
18511 elif ln conf$$.
file conf$$
2>/dev
/null
; then
18519 rm -f conf$$ conf$$.exe conf$$.dir
/conf$$.
file conf$$.
file
18520 rmdir conf$$.dir
2>/dev
/null
18525 # Create "$as_dir" as a directory, including parents if necessary.
18530 -*) as_dir
=.
/$as_dir;;
18532 test -d "$as_dir" ||
eval $as_mkdir_p ||
{
18536 *\'*) as_qdir
=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
18537 *) as_qdir
=$as_dir;;
18539 as_dirs
="'$as_qdir' $as_dirs"
18540 as_dir
=`$as_dirname -- "$as_dir" ||
18541 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
18542 X"$as_dir" : 'X\(//\)[^/]' \| \
18543 X"$as_dir" : 'X\(//\)$' \| \
18544 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
18545 $as_echo X"$as_dir" |
18546 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
18550 /^X\(\/\/\)[^/].*/{
18563 test -d "$as_dir" && break
18565 test -z "$as_dirs" ||
eval "mkdir $as_dirs"
18566 } ||
test -d "$as_dir" || as_fn_error $?
"cannot create directory $as_dir"
18570 if mkdir
-p .
2>/dev
/null
; then
18571 as_mkdir_p
='mkdir -p "$as_dir"'
18573 test -d .
/-p && rmdir .
/-p
18578 # as_fn_executable_p FILE
18579 # -----------------------
18580 # Test if FILE is an executable regular file.
18581 as_fn_executable_p
()
18583 test -f "$1" && test -x "$1"
18584 } # as_fn_executable_p
18585 as_test_x
='test -x'
18586 as_executable_p
=as_fn_executable_p
18588 # Sed expression to map a string onto a valid CPP name.
18589 as_tr_cpp
="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
18591 # Sed expression to map a string onto a valid variable name.
18592 as_tr_sh
="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
18596 ## ----------------------------------- ##
18597 ## Main body of $CONFIG_STATUS script. ##
18598 ## ----------------------------------- ##
18600 test $as_write_fail = 0 && chmod +x
$CONFIG_STATUS || ac_write_fail
=1
18602 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
18603 # Save the log message, to keep $0 and so on meaningful, and to
18604 # report actual input values of CONFIG_FILES etc. instead of their
18605 # values after options handling.
18607 This file was extended by Wine $as_me 1.7.48, which was
18608 generated by GNU Autoconf 2.69. Invocation command line was
18610 CONFIG_FILES = $CONFIG_FILES
18611 CONFIG_HEADERS = $CONFIG_HEADERS
18612 CONFIG_LINKS = $CONFIG_LINKS
18613 CONFIG_COMMANDS = $CONFIG_COMMANDS
18616 on `(hostname || uname -n) 2>/dev/null | sed 1q`
18621 case $ac_config_files in *"
18622 "*) set x
$ac_config_files; shift; ac_config_files
=$
*;;
18625 case $ac_config_headers in *"
18626 "*) set x
$ac_config_headers; shift; ac_config_headers
=$
*;;
18630 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
18631 # Files that config.status was made for.
18632 config_files="$ac_config_files"
18633 config_headers="$ac_config_headers"
18634 config_links="$ac_config_links"
18635 config_commands="$ac_config_commands"
18639 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
18641 \`$as_me' instantiates files and other configuration actions
18642 from templates according to the current configuration. Unless the files
18643 and actions are specified as TAGs, all are instantiated by default.
18645 Usage: $0 [OPTION]... [TAG]...
18647 -h, --help print this help, then exit
18648 -V, --version print version number and configuration settings, then exit
18649 --config print configuration, then exit
18650 -q, --quiet, --silent
18651 do not print progress messages
18652 -d, --debug don't remove temporary files
18653 --recheck update $as_me by reconfiguring in the same conditions
18654 --file=FILE[:TEMPLATE]
18655 instantiate the configuration file FILE
18656 --header=FILE[:TEMPLATE]
18657 instantiate the configuration header FILE
18659 Configuration files:
18662 Configuration headers:
18665 Configuration links:
18668 Configuration commands:
18671 Report bugs to <wine-devel@winehq.org>.
18672 Wine home page: <http://www.winehq.org>."
18675 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
18676 ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
18678 Wine config.status 1.7.48
18679 configured by $0, generated by GNU Autoconf 2.69,
18680 with options \\"\$ac_cs_config\\"
18682 Copyright (C) 2012 Free Software Foundation, Inc.
18683 This config.status script is free software; the Free Software Foundation
18684 gives unlimited permission to copy, distribute and modify it."
18688 test -n "\$AWK" || AWK=awk
18691 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
18692 # The default lists apply if the user does not specify any file.
18698 ac_option
=`expr "X$1" : 'X\([^=]*\)='`
18699 ac_optarg
=`expr "X$1" : 'X[^=]*=\(.*\)'`
18703 ac_option
=`expr "X$1" : 'X\([^=]*\)='`
18715 # Handling of the options.
18716 -recheck |
--recheck |
--rechec |
--reche |
--rech |
--rec |
--re |
--r)
18718 --version |
--versio |
--versi |
--vers |
--ver |
--ve |
--v |
-V )
18719 $as_echo "$ac_cs_version"; exit ;;
18720 --config |
--confi |
--conf |
--con |
--co |
--c )
18721 $as_echo "$ac_cs_config"; exit ;;
18722 --debug |
--debu |
--deb |
--de |
--d |
-d )
18724 --file |
--fil |
--fi |
--f )
18727 *\'*) ac_optarg
=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
18728 '') as_fn_error $?
"missing file argument" ;;
18730 as_fn_append CONFIG_FILES
" '$ac_optarg'"
18731 ac_need_defaults
=false
;;
18732 --header |
--heade |
--head |
--hea )
18735 *\'*) ac_optarg
=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
18737 as_fn_append CONFIG_HEADERS
" '$ac_optarg'"
18738 ac_need_defaults
=false
;;
18740 # Conflict between --help and --header
18741 as_fn_error $?
"ambiguous option: \`$1'
18742 Try \`$0 --help' for more information.";;
18743 --help |
--hel |
-h )
18744 $as_echo "$ac_cs_usage"; exit ;;
18745 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
18746 |
-silent |
--silent |
--silen |
--sile |
--sil |
--si |
--s)
18749 # This is an error.
18750 -*) as_fn_error $?
"unrecognized option: \`$1'
18751 Try \`$0 --help' for more information." ;;
18753 *) as_fn_append ac_config_targets
" $1"
18754 ac_need_defaults
=false
;;
18760 ac_configure_extra_args
=
18762 if $ac_cs_silent; then
18764 ac_configure_extra_args
="$ac_configure_extra_args --silent"
18768 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
18769 if \$ac_cs_recheck; then
18770 set X $SHELL '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
18772 \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
18773 CONFIG_SHELL='$SHELL'
18774 export CONFIG_SHELL
18779 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
18783 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
18784 ## Running $as_me. ##
18790 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
18794 wine_fn_output_makedep ()
18796 as_dir=tools; as_fn_mkdir_p
18797 $CC -Iinclude -I$srcdir/include -D__WINESRC__ $EXTRACFLAGS $CPPFLAGS $CFLAGS -o tools/makedep$ac_exeext $srcdir/tools/makedep.c $LDFLAGS
18799 wine_fn_output_makefile ()
18801 cat Make.tmp - <<\_WINE_EOF >\$tmp/makefile && mv -f \$tmp/makefile \$1 && rm -f Make.tmp && "$wine_makedep" . && return
18802 `cat $wine_rules_file`
18804 as_fn_error $? "could not create Makefile" "$LINENO" 5
18806 wine_fn_output_gitignore ()
18808 sort <<\_WINE_EOF >\$tmp/gitignore && mv -f \$tmp/gitignore \$1 && return
18811 as_fn_error $? "could not create .gitignore" "$LINENO" 5
18816 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
18818 # Handling of arguments.
18819 for ac_config_target
in $ac_config_targets
18821 case $ac_config_target in
18822 "include/config.h") CONFIG_HEADERS
="$CONFIG_HEADERS include/config.h" ;;
18823 "include/stamp-h") CONFIG_COMMANDS
="$CONFIG_COMMANDS include/stamp-h" ;;
18824 "fonts/marlett.ttf") CONFIG_LINKS
="$CONFIG_LINKS fonts/marlett.ttf:fonts/marlett.ttf" ;;
18825 "fonts/symbol.ttf") CONFIG_LINKS
="$CONFIG_LINKS fonts/symbol.ttf:fonts/symbol.ttf" ;;
18826 "fonts/tahoma.ttf") CONFIG_LINKS
="$CONFIG_LINKS fonts/tahoma.ttf:fonts/tahoma.ttf" ;;
18827 "fonts/tahomabd.ttf") CONFIG_LINKS
="$CONFIG_LINKS fonts/tahomabd.ttf:fonts/tahomabd.ttf" ;;
18828 "loader/l_intl.nls") CONFIG_LINKS
="$CONFIG_LINKS loader/l_intl.nls:loader/l_intl.nls" ;;
18829 "po/LINGUAS") CONFIG_LINKS
="$CONFIG_LINKS po/LINGUAS:po/LINGUAS" ;;
18830 "wine") CONFIG_LINKS
="$CONFIG_LINKS wine:tools/winewrapper" ;;
18831 "wine64") CONFIG_LINKS
="$CONFIG_LINKS wine64:tools/winewrapper" ;;
18832 "tools/makedep") CONFIG_COMMANDS
="$CONFIG_COMMANDS tools/makedep" ;;
18833 "Makefile") CONFIG_COMMANDS
="$CONFIG_COMMANDS Makefile" ;;
18834 "Make.tmp") CONFIG_FILES
="$CONFIG_FILES Make.tmp:Make.vars.in:Makefile.in" ;;
18835 ".gitignore") CONFIG_COMMANDS
="$CONFIG_COMMANDS .gitignore" ;;
18837 *) as_fn_error $?
"invalid argument: \`$ac_config_target'" "$LINENO" 5;;
18842 # If the user did not use the arguments to specify the items to instantiate,
18843 # then the envvar interface is used. Set only those that are not.
18844 # We use the long form for the default assignment because of an extremely
18845 # bizarre bug on SunOS 4.1.3.
18846 if $ac_need_defaults; then
18847 test "${CONFIG_FILES+set}" = set || CONFIG_FILES
=$config_files
18848 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS
=$config_headers
18849 test "${CONFIG_LINKS+set}" = set || CONFIG_LINKS
=$config_links
18850 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS
=$config_commands
18853 # Have a temporary directory for convenience. Make it in the build tree
18854 # simply because there is no reason against having it here, and in addition,
18855 # creating and moving files from /tmp can sometimes cause problems.
18856 # Hook for its removal unless debugging.
18857 # Note that there is a small window in which the directory will not be cleaned:
18858 # after its creation but before its name has been assigned to `$tmp'.
18862 trap 'exit_status=$?
18863 : "${ac_tmp:=$tmp}"
18864 { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
18866 trap 'as_fn_exit 1' 1 2 13 15
18868 # Create a (secure) tmp directory for tmp files.
18871 tmp
=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
18875 tmp
=.
/conf$$
-$RANDOM
18876 (umask 077 && mkdir
"$tmp")
18877 } || as_fn_error $?
"cannot create a temporary directory in ." "$LINENO" 5
18880 # Set up the scripts for CONFIG_FILES section.
18881 # No need to generate them if there are no CONFIG_FILES.
18882 # This happens for instance with `./config.status config.h'.
18883 if test -n "$CONFIG_FILES"; then
18886 ac_cr
=`echo X | tr X '\015'`
18887 # On cygwin, bash can eat \r inside `` if the user requested igncr.
18888 # But we know of no other shell where ac_cr would be empty at this
18889 # point, so we can use a bashism as a fallback.
18890 if test "x$ac_cr" = x
; then
18891 eval ac_cr
=\$
\'\\r
\'
18893 ac_cs_awk_cr
=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
18894 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
18897 ac_cs_awk_cr
=$ac_cr
18900 echo 'BEGIN {' >"$ac_tmp/subs1.awk" &&
18905 echo "cat >conf$$subs.awk <<_ACEOF" &&
18906 echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
18908 } >conf$$subs.sh ||
18909 as_fn_error $? "could not
make $CONFIG_STATUS" "$LINENO" 5
18910 ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
18912 for ac_last_try in false false false false false :; do
18913 . ./conf$$subs.sh ||
18914 as_fn_error $? "could not
make $CONFIG_STATUS" "$LINENO" 5
18916 ac_delim_n=`sed -n "s
/.
*$ac_delim\$
/X
/p
" conf$$subs.awk | grep -c X`
18917 if test $ac_delim_n = $ac_delim_num; then
18919 elif $ac_last_try; then
18920 as_fn_error $? "could not
make $CONFIG_STATUS" "$LINENO" 5
18922 ac_delim="$ac_delim!$ac_delim _
$ac_delim!! "
18925 rm -f conf$$subs.sh
18927 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
18928 cat >>"\
$ac_tmp/subs1.
awk" <<\\_ACAWK &&
18932 s/^/S["/; s
/!.
*/"]=/
18942 s/\(.\{148\}\)..*/\1/
18944 s/["\\]/\\&/g
; s
/^
/"/; s/$/\\n"\\/
18949 s
/["\\]/\\&/g; s/^/"/; s
/$
/"\\/
18956 s/\(.\{148\}\)..*/\1/
18958 s/["\\]/\\&/g
; s
/^
/"/; s/$/"/
18962 s
/["\\]/\\&/g; s/^/"/; s
/$
/"\\/
18967 ' <conf$$subs.awk | sed '
18972 ' >>$CONFIG_STATUS || ac_write_fail=1
18973 rm -f conf$$subs.awk
18974 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
18976 cat >>"\
$ac_tmp/subs1.
awk" <<_ACAWK &&
18977 for (key in S) S_is_set[key] = 1
18983 nfields = split(line, field, "@
")
18985 len = length(field[1])
18986 for (i = 2; i < nfields; i++) {
18988 keylen = length(key)
18989 if (S_is_set[key]) {
18991 line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
18992 len += length(value) + length(field[++i])
19003 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
19004 if sed "s
/$ac_cr//" < /dev/null > /dev/null 2>&1; then
19005 sed "s
/$ac_cr\$
//; s
/$ac_cr/$ac_cs_awk_cr/g
"
19008 fi < "$ac_tmp/subs1.
awk" > "$ac_tmp/subs.
awk" \
19009 || as_fn_error $? "could not setup config files machinery
" "$LINENO" 5
19012 # VPATH may cause trouble with some makes, so we remove sole $(srcdir),
19013 # ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".
", strip leading and
19014 # trailing colons and then remove the whole line if VPATH becomes empty
19015 # (actually we leave an empty line to preserve line numbers).
19016 if test "x
$srcdir" = x.; then
19017 ac_vpsub='/^[ ]*VPATH[ ]*=[ ]*/{
19035 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
19036 fi # test -n "$CONFIG_FILES"
19038 # Set up the scripts for CONFIG_HEADERS section.
19039 # No need to generate them if there are no CONFIG_HEADERS.
19040 # This happens for instance with `./config.status Makefile'.
19041 if test -n "$CONFIG_HEADERS"; then
19042 cat >"$ac_tmp/defines.
awk" <<\_ACAWK ||
19046 # Transform confdefs.h into an awk script `defines.awk', embedded as
19047 # here-document in config.status, that substitutes the proper values into
19048 # config.h.in to produce config.h.
19050 # Create a delimiter string that does not exist in confdefs.h, to ease
19051 # handling of long lines.
19053 for ac_last_try in false false :; do
19054 ac_tt=`sed -n "/$ac_delim/p
" confdefs.h`
19055 if test -z "$ac_tt"; then
19057 elif $ac_last_try; then
19058 as_fn_error $? "could not
make $CONFIG_HEADERS" "$LINENO" 5
19060 ac_delim="$ac_delim!$ac_delim _
$ac_delim!! "
19064 # For the awk script, D is an array of macro values keyed by name,
19065 # likewise P contains macro parameters if any. Preserve backslash
19066 # newline sequences.
19068 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
19070 s/.\{148\}/&'"$ac_delim"'/g
19073 s/^[ ]*#[ ]*define[ ][ ]*/ /
19080 s
/^ \
('"$ac_word_re"'\
)\
(([^
()]*)\
)[ ]*\
(.
*\
)/P
["\1"]="\2"\
19082 s
/^ \
('"$ac_word_re"'\
)[ ]*\
(.
*\
)/D
["\1"]=" \2"/p
19086 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\
1"]="\
2"\
19087 D["\
1"]=" \
3\\\\\\n
"\\/p
19089 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\
1"]=" \
2\\\\\\n
"\\/p
19094 s/.\{148\}/&'"$ac_delim"'/g
19099 s/["\\]/\\&/g
; s
/^
/"/; s/$/"/p
19102 s
/["\\]/\\&/g; s/^/"/; s
/$
/\\\\\\n
"\\/p
19104 ' <confdefs.h | sed '
19105 s/'"$ac_delim"'/"\\\
19106 "/g' >>$CONFIG_STATUS || ac_write_fail=1
19108 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
19109 for (key in D) D_is_set[key] = 1
19112 /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
19114 split(line, arg, " ")
19115 if (arg[1] == "#") {
19119 defundef
= substr
(arg
[1], 2)
19122 split(mac1
, mac2
, "(") #)
19124 prefix
= substr
(line
, 1, index
(line
, defundef
) - 1)
19125 if (D_is_set
[macro
]) {
19126 # Preserve the white space surrounding the "#".
19127 print prefix
"define", macro P
[macro
] D
[macro
]
19130 # Replace #undef with comments. This is necessary, for example,
19131 # in the case of _POSIX_SOURCE, which is predefined and required
19132 # on some systems where configure will not decide to define it.
19133 if (defundef
== "undef") {
19134 print
"/*", prefix defundef
, macro
, "*/"
19142 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
19143 as_fn_error $?
"could not setup config headers machinery" "$LINENO" 5
19144 fi # test -n "$CONFIG_HEADERS"
19147 eval set X
" :F $CONFIG_FILES :H $CONFIG_HEADERS :L $CONFIG_LINKS :C $CONFIG_COMMANDS"
19152 :[FHLC
]) ac_mode
=$ac_tag; continue;;
19154 case $ac_mode$ac_tag in
19156 :L
* |
:C
*:*) as_fn_error $?
"invalid tag \`$ac_tag'" "$LINENO" 5;;
19157 :[FH
]-) ac_tag
=-:-;;
19158 :[FH
]*) ac_tag
=$ac_tag:$ac_tag.
in;;
19175 -) ac_f
="$ac_tmp/stdin";;
19176 *) # Look for the file first in the build tree, then in the source tree
19177 # (if the path is not absolute). The absolute path cannot be DOS-style,
19178 # because $ac_f cannot contain `:'.
19182 *) test -f "$srcdir/$ac_f" && ac_f
="$srcdir/$ac_f";;
19184 as_fn_error
1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
19186 case $ac_f in *\'*) ac_f
=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
19187 as_fn_append ac_file_inputs
" '$ac_f'"
19190 # Let's still pretend it is `configure' which instantiates (i.e., don't
19191 # use $as_me), people would be surprised to read:
19192 # /* config.h. Generated by config.status. */
19193 configure_input
='Generated from '`
19194 $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
19196 if test x
"$ac_file" != x-
; then
19197 configure_input
="$ac_file. $configure_input"
19198 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
19199 $as_echo "$as_me: creating $ac_file" >&6;}
19201 # Neutralize special characters interpreted by sed in replacement strings.
19202 case $configure_input in #(
19203 *\
&* |
*\|
* |
*\\* )
19204 ac_sed_conf_input
=`$as_echo "$configure_input" |
19205 sed 's/[\\\\&|]/\\\\&/g'`;; #(
19206 *) ac_sed_conf_input
=$configure_input;;
19210 *:-:* |
*:-) cat >"$ac_tmp/stdin" \
19211 || as_fn_error $?
"could not create $ac_file" "$LINENO" 5 ;;
19216 ac_dir
=`$as_dirname -- "$ac_file" ||
19217 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
19218 X"$ac_file" : 'X\(//\)[^/]' \| \
19219 X"$ac_file" : 'X\(//\)$' \| \
19220 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
19221 $as_echo X"$ac_file" |
19222 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
19226 /^X\(\/\/\)[^/].*/{
19239 as_dir
="$ac_dir"; as_fn_mkdir_p
19243 .
) ac_dir_suffix
= ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
19245 ac_dir_suffix
=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
19246 # A ".." for each directory in $ac_dir_suffix.
19247 ac_top_builddir_sub
=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
19248 case $ac_top_builddir_sub in
19249 "") ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
19250 *) ac_top_build_prefix
=$ac_top_builddir_sub/ ;;
19253 ac_abs_top_builddir
=$ac_pwd
19254 ac_abs_builddir
=$ac_pwd$ac_dir_suffix
19255 # for backward compatibility:
19256 ac_top_builddir
=$ac_top_build_prefix
19259 .
) # We are building in place.
19261 ac_top_srcdir
=$ac_top_builddir_sub
19262 ac_abs_top_srcdir
=$ac_pwd ;;
19263 [\\/]* | ?
:[\\/]* ) # Absolute name.
19264 ac_srcdir
=$srcdir$ac_dir_suffix;
19265 ac_top_srcdir
=$srcdir
19266 ac_abs_top_srcdir
=$srcdir ;;
19267 *) # Relative name.
19268 ac_srcdir
=$ac_top_build_prefix$srcdir$ac_dir_suffix
19269 ac_top_srcdir
=$ac_top_build_prefix$srcdir
19270 ac_abs_top_srcdir
=$ac_pwd/$srcdir ;;
19272 ac_abs_srcdir
=$ac_abs_top_srcdir$ac_dir_suffix
19283 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
19284 # If the template does not know about datarootdir, expand it.
19285 # FIXME: This hack should be removed a few years after 2.60.
19286 ac_datarootdir_hack
=; ac_datarootdir_seen
=
19297 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
19298 *datarootdir
*) ac_datarootdir_seen
=yes;;
19299 *@datadir@
*|
*@docdir@
*|
*@infodir@
*|
*@localedir@
*|
*@mandir@
*)
19300 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
19301 $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
19303 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
19304 ac_datarootdir_hack='
19305 s&@datadir@&$datadir&g
19306 s&@docdir@&$docdir&g
19307 s&@infodir@&$infodir&g
19308 s&@localedir@&$localedir&g
19309 s&@mandir@&$mandir&g
19310 s&\\\${datarootdir}&$datarootdir&g' ;;
19314 # Neutralize VPATH when `$srcdir' = `.'.
19315 # Shell code in configure.ac might set extrasub.
19316 # FIXME: do we really want to maintain this feature?
19317 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
19318 ac_sed_extra="$ac_vpsub
19321 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
19323 /@
[a-zA-Z_
][a-zA-Z_0-9
]*@
/!b
19324 s|@configure_input@|
$ac_sed_conf_input|
;t t
19325 s
&@top_builddir@
&$ac_top_builddir_sub&;t t
19326 s
&@top_build_prefix@
&$ac_top_build_prefix&;t t
19327 s
&@srcdir@
&$ac_srcdir&;t t
19328 s
&@abs_srcdir@
&$ac_abs_srcdir&;t t
19329 s
&@top_srcdir@
&$ac_top_srcdir&;t t
19330 s
&@abs_top_srcdir@
&$ac_abs_top_srcdir&;t t
19331 s
&@builddir@
&$ac_builddir&;t t
19332 s
&@abs_builddir@
&$ac_abs_builddir&;t t
19333 s
&@abs_top_builddir@
&$ac_abs_top_builddir&;t t
19334 $ac_datarootdir_hack
19336 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.
awk" \
19337 >$ac_tmp/out || as_fn_error $? "could not create
$ac_file" "$LINENO" 5
19339 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
19340 { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out
"`; test -n "$ac_out"; } &&
19341 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' \
19342 "$ac_tmp/out
"`; test -z "$ac_out"; } &&
19343 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: $ac_file contains a reference to the variable \
`datarootdir'
19344 which seems to be undefined. Please make sure it is defined" >&5
19345 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir
'
19346 which seems to be undefined. Please make sure it is defined" >&2;}
19348 rm -f "$ac_tmp/stdin"
19350 -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";;
19351 *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";;
19353 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
19359 if test x"$ac_file" != x-; then
19361 $as_echo "/* $configure_input */" \
19362 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs"
19363 } >"$ac_tmp/config.h" \
19364 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
19365 if diff "$ac_file" "$ac_tmp/config.h" >/dev/null 2>&1; then
19366 { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
19367 $as_echo "$as_me: $ac_file is unchanged" >&6;}
19370 mv "$ac_tmp/config.h" "$ac_file" \
19371 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
19374 $as_echo "/* $configure_input */" \
19375 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" \
19376 || as_fn_error $? "could not create -" "$LINENO" 5
19384 if test "$ac_source" = "$ac_file" && test "$srcdir" = '.
'; then
19387 # Prefer the file from the source tree if names are identical.
19388 if test "$ac_source" = "$ac_file" || test ! -r "$ac_source"; then
19389 ac_source=$srcdir/$ac_source
19392 { $as_echo "$as_me:${as_lineno-$LINENO}: linking $ac_source to $ac_file" >&5
19393 $as_echo "$as_me: linking $ac_source to $ac_file" >&6;}
19395 if test ! -r "$ac_source"; then
19396 as_fn_error $? "$ac_source: file not found" "$LINENO" 5
19400 # Try a relative symlink, then a hard link, then a copy.
19402 [\\/$]* | ?:[\\/]* ) ac_rel_source=$ac_source ;;
19403 *) ac_rel_source=$ac_top_build_prefix$ac_source ;;
19405 ln -s "$ac_rel_source" "$ac_file" 2>/dev/null ||
19406 ln "$ac_source" "$ac_file" 2>/dev/null ||
19407 cp -p "$ac_source" "$ac_file" ||
19408 as_fn_error $? "cannot link or copy $ac_source to $ac_file" "$LINENO" 5
19411 :C) { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
19412 $as_echo "$as_me: executing $ac_file commands" >&6;}
19417 case $ac_file$ac_mode in
19418 "include/stamp-h":C) echo timestamp > include/stamp-h ;;
19419 "tools/makedep":C) wine_fn_output_makedep || as_fn_exit $? ;;
19420 "Makefile":C) wine_fn_output_makefile Makefile ;;
19421 ".gitignore":C) wine_fn_output_gitignore .gitignore ;;
19429 ac_clean_files=$ac_clean_files_save
19431 test $ac_write_fail = 0 ||
19432 as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5
19435 # configure is writing to config.log, and then calls config.status.
19436 # config.status does its own redirection, appending to config.log.
19437 # Unfortunately, on DOS this fails, as config.log is still kept open
19438 # by configure, so config.status won't be able to
write to it
; its
19439 # output is simply discarded. So we exec the FD to /dev/null,
19440 # effectively closing config.log, so it can be properly (re)opened and
19441 # appended to by config.status. When coming back to configure, we
19442 # need to make the FD available again.
19443 if test "$no_create" != yes; then
19445 ac_config_status_args
=
19446 test "$silent" = yes &&
19447 ac_config_status_args
="$ac_config_status_args --quiet"
19449 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success
=false
19451 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
19452 # would make configure fail if this is the last instruction.
19453 $ac_cs_success || as_fn_exit
1
19455 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no
; then
19456 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
19457 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
19461 if test "$no_create" = "yes"
19467 if test "x$wine_notices != "x
; then
19470 for msg
in $wine_notices; do
19472 if ${msg:+false} :; then :
19475 { $as_echo "$as_me:${as_lineno-$LINENO}: $msg" >&5
19476 $as_echo "$as_me: $msg" >&6;}
19481 for msg
in $wine_warnings; do
19483 if ${msg:+false} :; then :
19487 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $msg" >&5
19488 $as_echo "$as_me: WARNING: $msg" >&2;}
19494 $as_me: Finished. Do '${ac_make}' to compile Wine.