2 # Guess values for system-dependent variables and create Makefiles.
3 # Generated by GNU Autoconf 2.69 for Wine 1.7.52.
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.52'
584 PACKAGE_STRING
='Wine 1.7.52'
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
785 program_transform_name
798 enable_option_checking
802 enable_maintainer_mode
859 enable_api_ms_win_core_com_l1_1_0
860 enable_api_ms_win_core_console_l1_1_0
861 enable_api_ms_win_core_datetime_l1_1_0
862 enable_api_ms_win_core_datetime_l1_1_1
863 enable_api_ms_win_core_debug_l1_1_0
864 enable_api_ms_win_core_debug_l1_1_1
865 enable_api_ms_win_core_errorhandling_l1_1_0
866 enable_api_ms_win_core_errorhandling_l1_1_1
867 enable_api_ms_win_core_errorhandling_l1_1_2
868 enable_api_ms_win_core_fibers_l1_1_0
869 enable_api_ms_win_core_fibers_l1_1_1
870 enable_api_ms_win_core_file_l1_1_0
871 enable_api_ms_win_core_file_l1_2_0
872 enable_api_ms_win_core_file_l2_1_0
873 enable_api_ms_win_core_file_l2_1_1
874 enable_api_ms_win_core_handle_l1_1_0
875 enable_api_ms_win_core_heap_l1_1_0
876 enable_api_ms_win_core_heap_l1_2_0
877 enable_api_ms_win_core_heap_obsolete_l1_1_0
878 enable_api_ms_win_core_interlocked_l1_1_0
879 enable_api_ms_win_core_interlocked_l1_2_0
880 enable_api_ms_win_core_io_l1_1_1
881 enable_api_ms_win_core_kernel32_legacy_l1_1_0
882 enable_api_ms_win_core_libraryloader_l1_1_0
883 enable_api_ms_win_core_libraryloader_l1_1_1
884 enable_api_ms_win_core_localization_l1_2_0
885 enable_api_ms_win_core_localization_l1_2_1
886 enable_api_ms_win_core_localization_obsolete_l1_1_0
887 enable_api_ms_win_core_localregistry_l1_1_0
888 enable_api_ms_win_core_memory_l1_1_0
889 enable_api_ms_win_core_memory_l1_1_1
890 enable_api_ms_win_core_misc_l1_1_0
891 enable_api_ms_win_core_namedpipe_l1_1_0
892 enable_api_ms_win_core_namedpipe_l1_2_0
893 enable_api_ms_win_core_processenvironment_l1_1_0
894 enable_api_ms_win_core_processenvironment_l1_2_0
895 enable_api_ms_win_core_processthreads_l1_1_0
896 enable_api_ms_win_core_processthreads_l1_1_1
897 enable_api_ms_win_core_processthreads_l1_1_2
898 enable_api_ms_win_core_profile_l1_1_0
899 enable_api_ms_win_core_psapi_l1_1_0
900 enable_api_ms_win_core_registry_l1_1_0
901 enable_api_ms_win_core_rtlsupport_l1_1_0
902 enable_api_ms_win_core_rtlsupport_l1_2_0
903 enable_api_ms_win_core_shlwapi_legacy_l1_1_0
904 enable_api_ms_win_core_string_l1_1_0
905 enable_api_ms_win_core_synch_l1_1_0
906 enable_api_ms_win_core_synch_l1_2_0
907 enable_api_ms_win_core_sysinfo_l1_1_0
908 enable_api_ms_win_core_sysinfo_l1_2_0
909 enable_api_ms_win_core_sysinfo_l1_2_1
910 enable_api_ms_win_core_threadpool_legacy_l1_1_0
911 enable_api_ms_win_core_timezone_l1_1_0
912 enable_api_ms_win_core_url_l1_1_0
913 enable_api_ms_win_core_util_l1_1_0
914 enable_api_ms_win_core_winrt_error_l1_1_0
915 enable_api_ms_win_core_winrt_error_l1_1_1
916 enable_api_ms_win_core_winrt_l1_1_0
917 enable_api_ms_win_core_winrt_string_l1_1_0
918 enable_api_ms_win_core_xstate_l2_1_0
919 enable_api_ms_win_crt_conio_l1_1_0
920 enable_api_ms_win_crt_convert_l1_1_0
921 enable_api_ms_win_crt_environment_l1_1_0
922 enable_api_ms_win_crt_filesystem_l1_1_0
923 enable_api_ms_win_crt_heap_l1_1_0
924 enable_api_ms_win_crt_locale_l1_1_0
925 enable_api_ms_win_crt_math_l1_1_0
926 enable_api_ms_win_crt_multibyte_l1_1_0
927 enable_api_ms_win_crt_private_l1_1_0
928 enable_api_ms_win_crt_process_l1_1_0
929 enable_api_ms_win_crt_runtime_l1_1_0
930 enable_api_ms_win_crt_stdio_l1_1_0
931 enable_api_ms_win_crt_string_l1_1_0
932 enable_api_ms_win_crt_time_l1_1_0
933 enable_api_ms_win_crt_utility_l1_1_0
934 enable_api_ms_win_downlevel_advapi32_l1_1_0
935 enable_api_ms_win_downlevel_advapi32_l2_1_0
936 enable_api_ms_win_downlevel_normaliz_l1_1_0
937 enable_api_ms_win_downlevel_ole32_l1_1_0
938 enable_api_ms_win_downlevel_shell32_l1_1_0
939 enable_api_ms_win_downlevel_shlwapi_l1_1_0
940 enable_api_ms_win_downlevel_shlwapi_l2_1_0
941 enable_api_ms_win_downlevel_user32_l1_1_0
942 enable_api_ms_win_downlevel_version_l1_1_0
943 enable_api_ms_win_eventing_provider_l1_1_0
944 enable_api_ms_win_ntuser_dc_access_l1_1_0
945 enable_api_ms_win_security_base_l1_1_0
946 enable_api_ms_win_security_base_l1_2_0
947 enable_api_ms_win_security_sddl_l1_1_0
948 enable_api_ms_win_service_core_l1_1_1
949 enable_api_ms_win_service_management_l1_1_0
950 enable_api_ms_win_service_winsvc_l1_2_0
993 enable_d3dcompiler_33
994 enable_d3dcompiler_34
995 enable_d3dcompiler_35
996 enable_d3dcompiler_36
997 enable_d3dcompiler_37
998 enable_d3dcompiler_38
999 enable_d3dcompiler_39
1000 enable_d3dcompiler_40
1001 enable_d3dcompiler_41
1002 enable_d3dcompiler_42
1003 enable_d3dcompiler_43
1004 enable_d3dcompiler_46
1005 enable_d3dcompiler_47
1083 enable_explorerframe
1084 enable_ext_ms_win_gdi_devcaps_l1_1_0
1243 enable_photometadatahandler
1327 enable_windowscodecs
1328 enable_windowscodecsext
1330 enable_winecoreaudio_drv
1332 enable_winegstreamer
1333 enable_winejoystick_drv
1339 enable_wineqtdecoder
1391 enable_documentation
1399 enable_aspnet_regiis
1432 enable_presentationfontcache
1445 enable_servicemodelreg
1466 enable_winemenubuilder
1468 enable_winemsibuilder
1482 ac_precious_vars
='build_alias
1531 # Initialize some variables set by options.
1533 ac_init_version
=false
1534 ac_unrecognized_opts
=
1535 ac_unrecognized_sep
=
1536 # The variables have the same names as the options, with
1537 # dashes changed to underlines.
1538 cache_file
=/dev
/null
1545 program_transform_name
=s
,x
,x
,
1553 # Installation directory options.
1554 # These are left unexpanded so users can "make install exec_prefix=/foo"
1555 # and all the variables that are supposed to be based on exec_prefix
1556 # by default will actually change.
1557 # Use braces instead of parens because sh, perl, etc. also accept them.
1558 # (The list follows the same order as the GNU Coding Standards.)
1559 bindir
='${exec_prefix}/bin'
1560 sbindir
='${exec_prefix}/sbin'
1561 libexecdir
='${exec_prefix}/libexec'
1562 datarootdir
='${prefix}/share'
1563 datadir
='${datarootdir}'
1564 sysconfdir
='${prefix}/etc'
1565 sharedstatedir
='${prefix}/com'
1566 localstatedir
='${prefix}/var'
1567 runstatedir
='${localstatedir}/run'
1568 includedir
='${prefix}/include'
1569 oldincludedir
='/usr/include'
1570 docdir
='${datarootdir}/doc/${PACKAGE_TARNAME}'
1571 infodir
='${datarootdir}/info'
1576 libdir
='${exec_prefix}/lib'
1577 localedir
='${datarootdir}/locale'
1578 mandir
='${datarootdir}/man'
1584 # If the previous option needs an argument, assign it.
1585 if test -n "$ac_prev"; then
1586 eval $ac_prev=\
$ac_option
1592 *=?
*) ac_optarg
=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
1597 # Accept the important Cygnus configure options, so we can diagnose typos.
1599 case $ac_dashdash$ac_option in
1603 -bindir |
--bindir |
--bindi |
--bind |
--bin |
--bi)
1605 -bindir=* |
--bindir=* |
--bindi=* |
--bind=* |
--bin=* |
--bi=*)
1606 bindir
=$ac_optarg ;;
1608 -build |
--build |
--buil |
--bui |
--bu)
1609 ac_prev
=build_alias
;;
1610 -build=* |
--build=* |
--buil=* |
--bui=* |
--bu=*)
1611 build_alias
=$ac_optarg ;;
1613 -cache-file |
--cache-file |
--cache-fil |
--cache-fi \
1614 |
--cache-f |
--cache- |
--cache |
--cach |
--cac |
--ca |
--c)
1615 ac_prev
=cache_file
;;
1616 -cache-file=* |
--cache-file=* |
--cache-fil=* |
--cache-fi=* \
1617 |
--cache-f=* |
--cache-=* |
--cache=* |
--cach=* |
--cac=* |
--ca=* |
--c=*)
1618 cache_file
=$ac_optarg ;;
1620 --config-cache |
-C)
1621 cache_file
=config.cache
;;
1623 -datadir |
--datadir |
--datadi |
--datad)
1625 -datadir=* |
--datadir=* |
--datadi=* |
--datad=*)
1626 datadir
=$ac_optarg ;;
1628 -datarootdir |
--datarootdir |
--datarootdi |
--datarootd |
--dataroot \
1629 |
--dataroo |
--dataro |
--datar)
1630 ac_prev
=datarootdir
;;
1631 -datarootdir=* |
--datarootdir=* |
--datarootdi=* |
--datarootd=* \
1632 |
--dataroot=* |
--dataroo=* |
--dataro=* |
--datar=*)
1633 datarootdir
=$ac_optarg ;;
1635 -disable-* |
--disable-*)
1636 ac_useropt
=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
1637 # Reject names that are not valid shell variable names.
1638 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
1639 as_fn_error $?
"invalid feature name: $ac_useropt"
1640 ac_useropt_orig
=$ac_useropt
1641 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1642 case $ac_user_opts in
1644 "enable_
$ac_useropt"
1646 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
1647 ac_unrecognized_sep
=', ';;
1649 eval enable_
$ac_useropt=no
;;
1651 -docdir |
--docdir |
--docdi |
--doc |
--do)
1653 -docdir=* |
--docdir=* |
--docdi=* |
--doc=* |
--do=*)
1654 docdir
=$ac_optarg ;;
1656 -dvidir |
--dvidir |
--dvidi |
--dvid |
--dvi |
--dv)
1658 -dvidir=* |
--dvidir=* |
--dvidi=* |
--dvid=* |
--dvi=* |
--dv=*)
1659 dvidir
=$ac_optarg ;;
1661 -enable-* |
--enable-*)
1662 ac_useropt
=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
1663 # Reject names that are not valid shell variable names.
1664 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
1665 as_fn_error $?
"invalid feature name: $ac_useropt"
1666 ac_useropt_orig
=$ac_useropt
1667 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1668 case $ac_user_opts in
1670 "enable_
$ac_useropt"
1672 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
1673 ac_unrecognized_sep
=', ';;
1675 eval enable_
$ac_useropt=\
$ac_optarg ;;
1677 -exec-prefix |
--exec_prefix |
--exec-prefix |
--exec-prefi \
1678 |
--exec-pref |
--exec-pre |
--exec-pr |
--exec-p |
--exec- \
1679 |
--exec |
--exe |
--ex)
1680 ac_prev
=exec_prefix
;;
1681 -exec-prefix=* |
--exec_prefix=* |
--exec-prefix=* |
--exec-prefi=* \
1682 |
--exec-pref=* |
--exec-pre=* |
--exec-pr=* |
--exec-p=* |
--exec-=* \
1683 |
--exec=* |
--exe=* |
--ex=*)
1684 exec_prefix
=$ac_optarg ;;
1686 -gas |
--gas |
--ga |
--g)
1687 # Obsolete; use --with-gas.
1690 -help |
--help |
--hel |
--he |
-h)
1691 ac_init_help
=long
;;
1692 -help=r
* |
--help=r
* |
--hel=r
* |
--he=r
* |
-hr*)
1693 ac_init_help
=recursive
;;
1694 -help=s
* |
--help=s
* |
--hel=s
* |
--he=s
* |
-hs*)
1695 ac_init_help
=short
;;
1697 -host |
--host |
--hos |
--ho)
1698 ac_prev
=host_alias
;;
1699 -host=* |
--host=* |
--hos=* |
--ho=*)
1700 host_alias
=$ac_optarg ;;
1702 -htmldir |
--htmldir |
--htmldi |
--htmld |
--html |
--htm |
--ht)
1704 -htmldir=* |
--htmldir=* |
--htmldi=* |
--htmld=* |
--html=* |
--htm=* \
1706 htmldir
=$ac_optarg ;;
1708 -includedir |
--includedir |
--includedi |
--included |
--include \
1709 |
--includ |
--inclu |
--incl |
--inc)
1710 ac_prev
=includedir
;;
1711 -includedir=* |
--includedir=* |
--includedi=* |
--included=* |
--include=* \
1712 |
--includ=* |
--inclu=* |
--incl=* |
--inc=*)
1713 includedir
=$ac_optarg ;;
1715 -infodir |
--infodir |
--infodi |
--infod |
--info |
--inf)
1717 -infodir=* |
--infodir=* |
--infodi=* |
--infod=* |
--info=* |
--inf=*)
1718 infodir
=$ac_optarg ;;
1720 -libdir |
--libdir |
--libdi |
--libd)
1722 -libdir=* |
--libdir=* |
--libdi=* |
--libd=*)
1723 libdir
=$ac_optarg ;;
1725 -libexecdir |
--libexecdir |
--libexecdi |
--libexecd |
--libexec \
1726 |
--libexe |
--libex |
--libe)
1727 ac_prev
=libexecdir
;;
1728 -libexecdir=* |
--libexecdir=* |
--libexecdi=* |
--libexecd=* |
--libexec=* \
1729 |
--libexe=* |
--libex=* |
--libe=*)
1730 libexecdir
=$ac_optarg ;;
1732 -localedir |
--localedir |
--localedi |
--localed |
--locale)
1733 ac_prev
=localedir
;;
1734 -localedir=* |
--localedir=* |
--localedi=* |
--localed=* |
--locale=*)
1735 localedir
=$ac_optarg ;;
1737 -localstatedir |
--localstatedir |
--localstatedi |
--localstated \
1738 |
--localstate |
--localstat |
--localsta |
--localst |
--locals)
1739 ac_prev
=localstatedir
;;
1740 -localstatedir=* |
--localstatedir=* |
--localstatedi=* |
--localstated=* \
1741 |
--localstate=* |
--localstat=* |
--localsta=* |
--localst=* |
--locals=*)
1742 localstatedir
=$ac_optarg ;;
1744 -mandir |
--mandir |
--mandi |
--mand |
--man |
--ma |
--m)
1746 -mandir=* |
--mandir=* |
--mandi=* |
--mand=* |
--man=* |
--ma=* |
--m=*)
1747 mandir
=$ac_optarg ;;
1749 -nfp |
--nfp |
--nf)
1750 # Obsolete; use --without-fp.
1753 -no-create |
--no-create |
--no-creat |
--no-crea |
--no-cre \
1754 |
--no-cr |
--no-c |
-n)
1757 -no-recursion |
--no-recursion |
--no-recursio |
--no-recursi \
1758 |
--no-recurs |
--no-recur |
--no-recu |
--no-rec |
--no-re |
--no-r)
1761 -oldincludedir |
--oldincludedir |
--oldincludedi |
--oldincluded \
1762 |
--oldinclude |
--oldinclud |
--oldinclu |
--oldincl |
--oldinc \
1763 |
--oldin |
--oldi |
--old |
--ol |
--o)
1764 ac_prev
=oldincludedir
;;
1765 -oldincludedir=* |
--oldincludedir=* |
--oldincludedi=* |
--oldincluded=* \
1766 |
--oldinclude=* |
--oldinclud=* |
--oldinclu=* |
--oldincl=* |
--oldinc=* \
1767 |
--oldin=* |
--oldi=* |
--old=* |
--ol=* |
--o=*)
1768 oldincludedir
=$ac_optarg ;;
1770 -prefix |
--prefix |
--prefi |
--pref |
--pre |
--pr |
--p)
1772 -prefix=* |
--prefix=* |
--prefi=* |
--pref=* |
--pre=* |
--pr=* |
--p=*)
1773 prefix
=$ac_optarg ;;
1775 -program-prefix |
--program-prefix |
--program-prefi |
--program-pref \
1776 |
--program-pre |
--program-pr |
--program-p)
1777 ac_prev
=program_prefix
;;
1778 -program-prefix=* |
--program-prefix=* |
--program-prefi=* \
1779 |
--program-pref=* |
--program-pre=* |
--program-pr=* |
--program-p=*)
1780 program_prefix
=$ac_optarg ;;
1782 -program-suffix |
--program-suffix |
--program-suffi |
--program-suff \
1783 |
--program-suf |
--program-su |
--program-s)
1784 ac_prev
=program_suffix
;;
1785 -program-suffix=* |
--program-suffix=* |
--program-suffi=* \
1786 |
--program-suff=* |
--program-suf=* |
--program-su=* |
--program-s=*)
1787 program_suffix
=$ac_optarg ;;
1789 -program-transform-name |
--program-transform-name \
1790 |
--program-transform-nam |
--program-transform-na \
1791 |
--program-transform-n |
--program-transform- \
1792 |
--program-transform |
--program-transfor \
1793 |
--program-transfo |
--program-transf \
1794 |
--program-trans |
--program-tran \
1795 |
--progr-tra |
--program-tr |
--program-t)
1796 ac_prev
=program_transform_name
;;
1797 -program-transform-name=* |
--program-transform-name=* \
1798 |
--program-transform-nam=* |
--program-transform-na=* \
1799 |
--program-transform-n=* |
--program-transform-=* \
1800 |
--program-transform=* |
--program-transfor=* \
1801 |
--program-transfo=* |
--program-transf=* \
1802 |
--program-trans=* |
--program-tran=* \
1803 |
--progr-tra=* |
--program-tr=* |
--program-t=*)
1804 program_transform_name
=$ac_optarg ;;
1806 -pdfdir |
--pdfdir |
--pdfdi |
--pdfd |
--pdf |
--pd)
1808 -pdfdir=* |
--pdfdir=* |
--pdfdi=* |
--pdfd=* |
--pdf=* |
--pd=*)
1809 pdfdir
=$ac_optarg ;;
1811 -psdir |
--psdir |
--psdi |
--psd |
--ps)
1813 -psdir=* |
--psdir=* |
--psdi=* |
--psd=* |
--ps=*)
1816 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
1817 |
-silent |
--silent |
--silen |
--sile |
--sil)
1820 -runstatedir |
--runstatedir |
--runstatedi |
--runstated \
1821 |
--runstate |
--runstat |
--runsta |
--runst |
--runs \
1822 |
--run |
--ru |
--r)
1823 ac_prev
=runstatedir
;;
1824 -runstatedir=* |
--runstatedir=* |
--runstatedi=* |
--runstated=* \
1825 |
--runstate=* |
--runstat=* |
--runsta=* |
--runst=* |
--runs=* \
1826 |
--run=* |
--ru=* |
--r=*)
1827 runstatedir
=$ac_optarg ;;
1829 -sbindir |
--sbindir |
--sbindi |
--sbind |
--sbin |
--sbi |
--sb)
1831 -sbindir=* |
--sbindir=* |
--sbindi=* |
--sbind=* |
--sbin=* \
1833 sbindir
=$ac_optarg ;;
1835 -sharedstatedir |
--sharedstatedir |
--sharedstatedi \
1836 |
--sharedstated |
--sharedstate |
--sharedstat |
--sharedsta \
1837 |
--sharedst |
--shareds |
--shared |
--share |
--shar \
1839 ac_prev
=sharedstatedir
;;
1840 -sharedstatedir=* |
--sharedstatedir=* |
--sharedstatedi=* \
1841 |
--sharedstated=* |
--sharedstate=* |
--sharedstat=* |
--sharedsta=* \
1842 |
--sharedst=* |
--shareds=* |
--shared=* |
--share=* |
--shar=* \
1844 sharedstatedir
=$ac_optarg ;;
1846 -site |
--site |
--sit)
1848 -site=* |
--site=* |
--sit=*)
1851 -srcdir |
--srcdir |
--srcdi |
--srcd |
--src |
--sr)
1853 -srcdir=* |
--srcdir=* |
--srcdi=* |
--srcd=* |
--src=* |
--sr=*)
1854 srcdir
=$ac_optarg ;;
1856 -sysconfdir |
--sysconfdir |
--sysconfdi |
--sysconfd |
--sysconf \
1857 |
--syscon |
--sysco |
--sysc |
--sys |
--sy)
1858 ac_prev
=sysconfdir
;;
1859 -sysconfdir=* |
--sysconfdir=* |
--sysconfdi=* |
--sysconfd=* |
--sysconf=* \
1860 |
--syscon=* |
--sysco=* |
--sysc=* |
--sys=* |
--sy=*)
1861 sysconfdir
=$ac_optarg ;;
1863 -target |
--target |
--targe |
--targ |
--tar |
--ta |
--t)
1864 ac_prev
=target_alias
;;
1865 -target=* |
--target=* |
--targe=* |
--targ=* |
--tar=* |
--ta=* |
--t=*)
1866 target_alias
=$ac_optarg ;;
1868 -v |
-verbose |
--verbose |
--verbos |
--verbo |
--verb)
1871 -version |
--version |
--versio |
--versi |
--vers |
-V)
1872 ac_init_version
=: ;;
1875 ac_useropt
=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1876 # Reject names that are not valid shell variable names.
1877 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
1878 as_fn_error $?
"invalid package name: $ac_useropt"
1879 ac_useropt_orig
=$ac_useropt
1880 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1881 case $ac_user_opts in
1885 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
1886 ac_unrecognized_sep
=', ';;
1888 eval with_
$ac_useropt=\
$ac_optarg ;;
1890 -without-* |
--without-*)
1891 ac_useropt
=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1892 # Reject names that are not valid shell variable names.
1893 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
1894 as_fn_error $?
"invalid package name: $ac_useropt"
1895 ac_useropt_orig
=$ac_useropt
1896 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1897 case $ac_user_opts in
1901 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
1902 ac_unrecognized_sep
=', ';;
1904 eval with_
$ac_useropt=no
;;
1907 # Obsolete; use --with-x.
1910 -x-includes |
--x-includes |
--x-include |
--x-includ |
--x-inclu \
1911 |
--x-incl |
--x-inc |
--x-in |
--x-i)
1912 ac_prev
=x_includes
;;
1913 -x-includes=* |
--x-includes=* |
--x-include=* |
--x-includ=* |
--x-inclu=* \
1914 |
--x-incl=* |
--x-inc=* |
--x-in=* |
--x-i=*)
1915 x_includes
=$ac_optarg ;;
1917 -x-libraries |
--x-libraries |
--x-librarie |
--x-librari \
1918 |
--x-librar |
--x-libra |
--x-libr |
--x-lib |
--x-li |
--x-l)
1919 ac_prev
=x_libraries
;;
1920 -x-libraries=* |
--x-libraries=* |
--x-librarie=* |
--x-librari=* \
1921 |
--x-librar=* |
--x-libra=* |
--x-libr=* |
--x-lib=* |
--x-li=* |
--x-l=*)
1922 x_libraries
=$ac_optarg ;;
1924 -*) as_fn_error $?
"unrecognized option: \`$ac_option'
1925 Try \`$0 --help' for more information"
1929 ac_envvar
=`expr "x$ac_option" : 'x\([^=]*\)='`
1930 # Reject names that are not valid shell variable names.
1931 case $ac_envvar in #(
1932 '' |
[0-9]* |
*[!_
$as_cr_alnum]* )
1933 as_fn_error $?
"invalid variable name: \`$ac_envvar'" ;;
1935 eval $ac_envvar=\
$ac_optarg
1936 export $ac_envvar ;;
1939 # FIXME: should be removed in autoconf 3.0.
1940 $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1941 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev
/null
&&
1942 $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1943 : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}"
1949 if test -n "$ac_prev"; then
1950 ac_option
=--`echo $ac_prev | sed 's/_/-/g'`
1951 as_fn_error $?
"missing argument to $ac_option"
1954 if test -n "$ac_unrecognized_opts"; then
1955 case $enable_option_checking in
1957 fatal
) as_fn_error $?
"unrecognized options: $ac_unrecognized_opts" ;;
1958 *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
1962 # Check all directory arguments for consistency.
1963 for ac_var
in exec_prefix prefix bindir sbindir libexecdir datarootdir \
1964 datadir sysconfdir sharedstatedir localstatedir includedir \
1965 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1966 libdir localedir mandir runstatedir
1968 eval ac_val
=\$
$ac_var
1969 # Remove trailing slashes.
1972 ac_val
=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
1973 eval $ac_var=\
$ac_val;;
1975 # Be sure to have absolute directory names.
1977 [\\/$
]* | ?
:[\\/]* ) continue;;
1978 NONE |
'' ) case $ac_var in *prefix
) continue;; esac;;
1980 as_fn_error $?
"expected an absolute directory name for --$ac_var: $ac_val"
1983 # There might be people who depend on the old broken behavior: `$host'
1984 # used to hold the argument of --host etc.
1985 # FIXME: To remove some day.
1988 target
=$target_alias
1990 # FIXME: To remove some day.
1991 if test "x$host_alias" != x
; then
1992 if test "x$build_alias" = x
; then
1993 cross_compiling
=maybe
1994 elif test "x$build_alias" != "x$host_alias"; then
2000 test -n "$host_alias" && ac_tool_prefix
=$host_alias-
2002 test "$silent" = yes && exec 6>/dev
/null
2005 ac_pwd
=`pwd` && test -n "$ac_pwd" &&
2006 ac_ls_di
=`ls -di .` &&
2007 ac_pwd_ls_di
=`cd "$ac_pwd" && ls -di .` ||
2008 as_fn_error $?
"working directory cannot be determined"
2009 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
2010 as_fn_error $?
"pwd does not report name of working directory"
2013 # Find the source files, if location was not specified.
2014 if test -z "$srcdir"; then
2015 ac_srcdir_defaulted
=yes
2016 # Try the directory containing this script, then the parent directory.
2017 ac_confdir
=`$as_dirname -- "$as_myself" ||
2018 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
2019 X"$as_myself" : 'X\(//\)[^/]' \| \
2020 X"$as_myself" : 'X\(//\)$' \| \
2021 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
2022 $as_echo X"$as_myself" |
2023 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
2041 if test ! -r "$srcdir/$ac_unique_file"; then
2045 ac_srcdir_defaulted
=no
2047 if test ! -r "$srcdir/$ac_unique_file"; then
2048 test "$ac_srcdir_defaulted" = yes && srcdir
="$ac_confdir or .."
2049 as_fn_error $?
"cannot find sources ($ac_unique_file) in $srcdir"
2051 ac_msg
="sources are in $srcdir, but \`cd $srcdir' does not work"
2053 cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
2055 # When building in place, set srcdir=.
2056 if test "$ac_abs_confdir" = "$ac_pwd"; then
2059 # Remove unnecessary trailing slashes from srcdir.
2060 # Double slashes in file names in object file debugging info
2061 # mess up M-x gdb in Emacs.
2063 */) srcdir
=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
2065 for ac_var
in $ac_precious_vars; do
2066 eval ac_env_
${ac_var}_set=\${${ac_var}+set}
2067 eval ac_env_
${ac_var}_value
=\$
${ac_var}
2068 eval ac_cv_env_
${ac_var}_set=\${${ac_var}+set}
2069 eval ac_cv_env_
${ac_var}_value
=\$
${ac_var}
2073 # Report the --help message.
2075 if test "$ac_init_help" = "long"; then
2076 # Omit some internal or obsolete options to make the list less imposing.
2077 # This message is too long to be a string in the A/UX 3.1 sh.
2079 \`configure' configures Wine 1.7.52 to adapt to many kinds of systems.
2081 Usage: $0 [OPTION]... [VAR=VALUE]...
2083 To assign environment variables (e.g., CC, CFLAGS...), specify them as
2084 VAR=VALUE. See below for descriptions of some of the useful variables.
2086 Defaults for the options are specified in brackets.
2089 -h, --help display this help and exit
2090 --help=short display options specific to this package
2091 --help=recursive display the short help of all the included packages
2092 -V, --version display version information and exit
2093 -q, --quiet, --silent do not print \`checking ...' messages
2094 --cache-file=FILE cache test results in FILE [disabled]
2095 -C, --config-cache alias for \`--cache-file=config.cache'
2096 -n, --no-create do not create output files
2097 --srcdir=DIR find the sources in DIR [configure dir or \`..']
2099 Installation directories:
2100 --prefix=PREFIX install architecture-independent files in PREFIX
2101 [$ac_default_prefix]
2102 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
2105 By default, \`make install' will install all the files in
2106 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
2107 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
2108 for instance \`--prefix=\$HOME'.
2110 For better control, use the options below.
2112 Fine tuning of the installation directories:
2113 --bindir=DIR user executables [EPREFIX/bin]
2114 --sbindir=DIR system admin executables [EPREFIX/sbin]
2115 --libexecdir=DIR program executables [EPREFIX/libexec]
2116 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
2117 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
2118 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
2119 --runstatedir=DIR modifiable per-process data [LOCALSTATEDIR/run]
2120 --libdir=DIR object code libraries [EPREFIX/lib]
2121 --includedir=DIR C header files [PREFIX/include]
2122 --oldincludedir=DIR C header files for non-gcc [/usr/include]
2123 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
2124 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
2125 --infodir=DIR info documentation [DATAROOTDIR/info]
2126 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
2127 --mandir=DIR man documentation [DATAROOTDIR/man]
2128 --docdir=DIR documentation root [DATAROOTDIR/doc/wine]
2129 --htmldir=DIR html documentation [DOCDIR]
2130 --dvidir=DIR dvi documentation [DOCDIR]
2131 --pdfdir=DIR pdf documentation [DOCDIR]
2132 --psdir=DIR ps documentation [DOCDIR]
2138 --x-includes=DIR X include files are
in DIR
2139 --x-libraries=DIR X library files are
in DIR
2142 --build=BUILD configure
for building on BUILD
[guessed
]
2143 --host=HOST cross-compile to build programs to run on HOST
[BUILD
]
2147 if test -n "$ac_init_help"; then
2148 case $ac_init_help in
2149 short | recursive
) echo "Configuration of Wine 1.7.52:";;
2154 --disable-option-checking ignore unrecognized
--enable/--with options
2155 --disable-FEATURE do not include FEATURE
(same as
--enable-FEATURE=no
)
2156 --enable-FEATURE[=ARG
] include FEATURE
[ARG
=yes]
2157 --disable-win16 do not include Win16 support
2158 --enable-win64 build a Win64 emulator on AMD64
(won
't run Win32
2160 --disable-tests do not build the regression tests
2161 --enable-maintainer-mode
2162 enable maintainer-specific build rules
2163 --disable-largefile omit support for large files
2166 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
2167 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
2168 --without-alsa do not use the Alsa sound support
2169 --without-capi do not use CAPI (ISDN support)
2170 --without-cms do not use CMS (color management support)
2171 --without-coreaudio do not use the CoreAudio sound support
2172 --without-cups do not use CUPS
2173 --without-curses do not use (n)curses
2174 --without-dbus do not use DBus (dynamic device support)
2175 --without-fontconfig do not use fontconfig
2176 --without-freetype do not use the FreeType library
2177 --without-gettext do not use gettext
2178 --with-gettextpo use the GetTextPO library to rebuild po files
2179 --without-gphoto do not use gphoto (Digital Camera support)
2180 --without-glu do not use the GLU library
2181 --without-gnutls do not use GnuTLS (schannel support)
2182 --without-gsm do not use libgsm (GSM 06.10 codec support)
2183 --without-gstreamer do not use GStreamer (codecs support)
2184 --without-hal do not use HAL (dynamic device support)
2185 --without-jpeg do not use JPEG
2186 --without-ldap do not use LDAP
2187 --without-mpg123 do not use the mpg123 library
2188 --without-netapi do not use the Samba NetAPI library
2189 --without-openal do not use OpenAL
2190 --without-opencl do not use OpenCL
2191 --without-opengl do not use OpenGL
2192 --without-osmesa do not use the OSMesa library
2193 --without-oss do not use the OSS sound support
2194 --without-pcap do not use the Packet Capture library
2195 --without-png do not use PNG
2196 --without-pthread do not use the pthread library
2197 --without-sane do not use SANE (scanner support)
2198 --without-tiff do not use TIFF
2199 --without-v4l do not use v4l1 (v4l support)
2200 --without-xcomposite do not use the Xcomposite extension
2201 --without-xcursor do not use the Xcursor extension
2202 --without-xinerama do not use Xinerama (multi-monitor support)
2203 --without-xinput do not use the Xinput extension
2204 --without-xinput2 do not use the Xinput 2 extension
2205 --without-xml do not use XML
2206 --without-xrandr do not use Xrandr (resolution changes)
2207 --without-xrender do not use the Xrender extension
2208 --without-xshape do not use the Xshape extension
2209 --without-xshm do not use XShm (shared memory extension)
2210 --without-xslt do not use XSLT
2211 --without-xxf86vm do not use XFree video mode extension
2212 --without-zlib do not use Zlib (data compression)
2213 --with-wine-tools=DIR use Wine tools from directory DIR
2214 --with-wine64=DIR use the 64-bit Wine in DIR for a Wow64 build
2215 --with-x use the X Window System
2217 Some influential environment variables:
2218 CC C compiler command
2219 CFLAGS C compiler flags
2220 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
2221 nonstandard directory <lib dir>
2222 LIBS libraries to pass to the linker, e.g. -l<library>
2223 CPPFLAGS (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if
2224 you have headers in a nonstandard directory <include dir>
2225 CXX C++ compiler command
2226 CXXFLAGS C++ compiler flags
2228 XMKMF Path to xmkmf, Makefile generator for X Window System
2229 XML2_CFLAGS C compiler flags for libxml-2.0, overriding pkg-config
2230 XML2_LIBS Linker flags for libxml-2.0, overriding pkg-config
2231 XSLT_CFLAGS C compiler flags for libxslt, overriding pkg-config
2232 XSLT_LIBS Linker flags for libxslt, overriding pkg-config
2233 DBUS_CFLAGS C compiler flags for dbus-1, overriding pkg-config
2234 DBUS_LIBS Linker flags for dbus-1, overriding pkg-config
2235 HAL_CFLAGS C compiler flags for hal, overriding pkg-config
2236 HAL_LIBS Linker flags for hal, overriding pkg-config
2238 C compiler flags for gnutls, overriding pkg-config
2239 GNUTLS_LIBS Linker flags for gnutls, overriding pkg-config
2240 SANE_CFLAGS C compiler flags for libsane, overriding pkg-config
2241 SANE_LIBS Linker flags for libsane, overriding pkg-config
2243 C compiler flags for libgphoto2, overriding pkg-config
2245 Linker flags for libgphoto2, overriding pkg-config
2247 C compiler flags for libgphoto2_port, overriding pkg-config
2249 Linker flags for libgphoto2_port, overriding pkg-config
2251 C compiler flags for lcms2, overriding pkg-config
2252 LCMS2_LIBS Linker flags for lcms2, overriding pkg-config
2254 C compiler flags for freetype2, overriding pkg-config
2256 Linker flags for freetype2, overriding pkg-config
2258 C compiler flags for gstreamer-app-0.10, overriding pkg-config
2260 Linker flags for gstreamer-app-0.10, overriding pkg-config
2262 C compiler flags for capi20, overriding pkg-config
2263 CAPI20_LIBS Linker flags for capi20, overriding pkg-config
2265 C compiler flags for fontconfig, overriding pkg-config
2267 Linker flags for fontconfig, overriding pkg-config
2268 JPEG_CFLAGS C compiler flags for libjpeg, overriding pkg-config
2269 JPEG_LIBS Linker flags for libjpeg, overriding pkg-config
2270 PNG_CFLAGS C compiler flags for libpng, overriding pkg-config
2271 PNG_LIBS Linker flags for libpng, overriding pkg-config
2272 TIFF_CFLAGS C compiler flags for libtiff, overriding pkg-config
2273 TIFF_LIBS Linker flags for libtiff, overriding pkg-config
2275 C compiler flags for libmpg123, overriding pkg-config
2276 MPG123_LIBS Linker flags for libmpg123, overriding pkg-config
2278 Use these variables to override the choices made by `configure' or to
help
2279 it to
find libraries and programs with nonstandard names
/locations.
2281 Report bugs to
<wine-devel@winehq.org
>.
2282 Wine home page
: <http
://www.winehq.org
>.
2287 if test "$ac_init_help" = "recursive"; then
2288 # If there are subdirs, report their specific --help.
2289 for ac_dir
in : $ac_subdirs_all; do test "x$ac_dir" = x
: && continue
2290 test -d "$ac_dir" ||
2291 { cd "$srcdir" && ac_pwd
=`pwd` && srcdir
=.
&& test -d "$ac_dir"; } ||
2296 .
) ac_dir_suffix
= ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
2298 ac_dir_suffix
=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
2299 # A ".." for each directory in $ac_dir_suffix.
2300 ac_top_builddir_sub
=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
2301 case $ac_top_builddir_sub in
2302 "") ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
2303 *) ac_top_build_prefix
=$ac_top_builddir_sub/ ;;
2306 ac_abs_top_builddir
=$ac_pwd
2307 ac_abs_builddir
=$ac_pwd$ac_dir_suffix
2308 # for backward compatibility:
2309 ac_top_builddir
=$ac_top_build_prefix
2312 .
) # We are building in place.
2314 ac_top_srcdir
=$ac_top_builddir_sub
2315 ac_abs_top_srcdir
=$ac_pwd ;;
2316 [\\/]* | ?
:[\\/]* ) # Absolute name.
2317 ac_srcdir
=$srcdir$ac_dir_suffix;
2318 ac_top_srcdir
=$srcdir
2319 ac_abs_top_srcdir
=$srcdir ;;
2321 ac_srcdir
=$ac_top_build_prefix$srcdir$ac_dir_suffix
2322 ac_top_srcdir
=$ac_top_build_prefix$srcdir
2323 ac_abs_top_srcdir
=$ac_pwd/$srcdir ;;
2325 ac_abs_srcdir
=$ac_abs_top_srcdir$ac_dir_suffix
2327 cd "$ac_dir" ||
{ ac_status
=$?
; continue; }
2328 # Check for guested configure.
2329 if test -f "$ac_srcdir/configure.gnu"; then
2331 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
2332 elif test -f "$ac_srcdir/configure"; then
2334 $SHELL "$ac_srcdir/configure" --help=recursive
2336 $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
2338 cd "$ac_pwd" ||
{ ac_status
=$?
; break; }
2342 test -n "$ac_init_help" && exit $ac_status
2343 if $ac_init_version; then
2345 Wine configure
1.7.52
2346 generated by GNU Autoconf
2.69
2348 Copyright
(C
) 2012 Free Software Foundation
, Inc.
2349 This configure
script is free software
; the Free Software Foundation
2350 gives unlimited permission to copy
, distribute and modify it.
2355 ## ------------------------ ##
2356 ## Autoconf initialization. ##
2357 ## ------------------------ ##
2359 # ac_fn_c_try_compile LINENO
2360 # --------------------------
2361 # Try to compile conftest.$ac_ext, and return whether this succeeded.
2362 ac_fn_c_try_compile
()
2364 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
2365 rm -f conftest.
$ac_objext
2366 if { { ac_try
="$ac_compile"
2368 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
2369 *) ac_try_echo=$ac_try;;
2371 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2372 $as_echo "$ac_try_echo"; } >&5
2373 (eval "$ac_compile") 2>conftest.err
2375 if test -s conftest.err; then
2376 grep -v '^ *+' conftest.err >conftest.er1
2377 cat conftest.er1 >&5
2378 mv -f conftest.er1 conftest.err
2380 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2381 test $ac_status = 0; } && {
2382 test -z "$ac_c_werror_flag" ||
2383 test ! -s conftest.err
2384 } && test -s conftest.$ac_objext; then :
2387 $as_echo "$as_me: failed program was:" >&5
2388 sed 's/^/| /' conftest.$ac_ext >&5
2392 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2393 as_fn_set_status $ac_retval
2395 } # ac_fn_c_try_compile
2397 # ac_fn_cxx_try_compile LINENO
2398 # ----------------------------
2399 # Try to compile conftest.$ac_ext, and return whether this succeeded.
2400 ac_fn_cxx_try_compile ()
2402 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2403 rm -f conftest.$ac_objext
2404 if { { ac_try="$ac_compile"
2406 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
2407 *) ac_try_echo
=$ac_try;;
2409 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2410 $as_echo "$ac_try_echo"; } >&5
2411 (eval "$ac_compile") 2>conftest.err
2413 if test -s conftest.err
; then
2414 grep -v '^ *+' conftest.err
>conftest.er1
2415 cat conftest.er1
>&5
2416 mv -f conftest.er1 conftest.err
2418 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2419 test $ac_status = 0; } && {
2420 test -z "$ac_cxx_werror_flag" ||
2421 test ! -s conftest.err
2422 } && test -s conftest.
$ac_objext; then :
2425 $as_echo "$as_me: failed program was:" >&5
2426 sed 's/^/| /' conftest.
$ac_ext >&5
2430 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2431 as_fn_set_status
$ac_retval
2433 } # ac_fn_cxx_try_compile
2435 # ac_fn_c_try_link LINENO
2436 # -----------------------
2437 # Try to link conftest.$ac_ext, and return whether this succeeded.
2440 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
2441 rm -f conftest.
$ac_objext conftest
$ac_exeext
2442 if { { ac_try
="$ac_link"
2444 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
2445 *) ac_try_echo=$ac_try;;
2447 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2448 $as_echo "$ac_try_echo"; } >&5
2449 (eval "$ac_link") 2>conftest.err
2451 if test -s conftest.err; then
2452 grep -v '^ *+' conftest.err >conftest.er1
2453 cat conftest.er1 >&5
2454 mv -f conftest.er1 conftest.err
2456 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2457 test $ac_status = 0; } && {
2458 test -z "$ac_c_werror_flag" ||
2459 test ! -s conftest.err
2460 } && test -s conftest$ac_exeext && {
2461 test "$cross_compiling" = yes ||
2462 test -x conftest$ac_exeext
2466 $as_echo "$as_me: failed program was:" >&5
2467 sed 's/^/| /' conftest.$ac_ext >&5
2471 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
2472 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
2473 # interfere with the next link command; also delete a directory that is
2474 # left behind by Apple's compiler. We do this before executing the actions.
2475 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
2476 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2477 as_fn_set_status $ac_retval
2479 } # ac_fn_c_try_link
2481 # ac_fn_c_try_cpp LINENO
2482 # ----------------------
2483 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
2486 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2487 if { { ac_try="$ac_cpp conftest.$ac_ext"
2489 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
2490 *) ac_try_echo
=$ac_try;;
2492 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2493 $as_echo "$ac_try_echo"; } >&5
2494 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
2496 if test -s conftest.err
; then
2497 grep -v '^ *+' conftest.err
>conftest.er1
2498 cat conftest.er1
>&5
2499 mv -f conftest.er1 conftest.err
2501 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2502 test $ac_status = 0; } > conftest.i
&& {
2503 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
2504 test ! -s conftest.err
2508 $as_echo "$as_me: failed program was:" >&5
2509 sed 's/^/| /' conftest.
$ac_ext >&5
2513 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2514 as_fn_set_status
$ac_retval
2518 # ac_fn_c_check_header_mongrel LINENO HEADER VAR INCLUDES
2519 # -------------------------------------------------------
2520 # Tests whether HEADER exists, giving a warning if it cannot be compiled using
2521 # the include files in INCLUDES and setting the cache variable VAR
2523 ac_fn_c_check_header_mongrel
()
2525 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
2526 if eval \
${$3+:} false
; then :
2527 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2528 $as_echo_n "checking for $2... " >&6; }
2529 if eval \
${$3+:} false
; then :
2530 $as_echo_n "(cached) " >&6
2533 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2534 $as_echo "$ac_res" >&6; }
2536 # Is the header compilable?
2537 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
2538 $as_echo_n "checking $2 usability... " >&6; }
2539 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
2540 /* end confdefs.h. */
2544 if ac_fn_c_try_compile
"$LINENO"; then :
2545 ac_header_compiler
=yes
2547 ac_header_compiler
=no
2549 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
2550 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
2551 $as_echo "$ac_header_compiler" >&6; }
2553 # Is the header present?
2554 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
2555 $as_echo_n "checking $2 presence... " >&6; }
2556 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
2557 /* end confdefs.h. */
2560 if ac_fn_c_try_cpp
"$LINENO"; then :
2561 ac_header_preproc
=yes
2563 ac_header_preproc
=no
2565 rm -f conftest.err conftest.i conftest.
$ac_ext
2566 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
2567 $as_echo "$ac_header_preproc" >&6; }
2569 # So? What about this header?
2570 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in #((
2572 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
2573 $as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
2574 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
2575 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
2578 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
2579 $as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
2580 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: check for missing prerequisite headers?" >&5
2581 $as_echo "$as_me: WARNING: $2: check for missing prerequisite headers?" >&2;}
2582 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
2583 $as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
2584 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&5
2585 $as_echo "$as_me: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&2;}
2586 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
2587 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
2588 ( $as_echo "## ------------------------------------ ##
2589 ## Report this to wine-devel@winehq.org ##
2590 ## ------------------------------------ ##"
2591 ) |
sed "s/^/$as_me: WARNING: /" >&2
2594 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2595 $as_echo_n "checking for $2... " >&6; }
2596 if eval \
${$3+:} false
; then :
2597 $as_echo_n "(cached) " >&6
2599 eval "$3=\$ac_header_compiler"
2602 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2603 $as_echo "$ac_res" >&6; }
2605 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2607 } # ac_fn_c_check_header_mongrel
2609 # ac_fn_c_try_run LINENO
2610 # ----------------------
2611 # Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
2612 # that executables *can* be run.
2615 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
2616 if { { ac_try
="$ac_link"
2618 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
2619 *) ac_try_echo=$ac_try;;
2621 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2622 $as_echo "$ac_try_echo"; } >&5
2623 (eval "$ac_link") 2>&5
2625 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2626 test $ac_status = 0; } && { ac_try='./conftest$ac_exeext'
2627 { { case "(($ac_try" in
2628 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
2629 *) ac_try_echo
=$ac_try;;
2631 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2632 $as_echo "$ac_try_echo"; } >&5
2633 (eval "$ac_try") 2>&5
2635 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2636 test $ac_status = 0; }; }; then :
2639 $as_echo "$as_me: program exited with status $ac_status" >&5
2640 $as_echo "$as_me: failed program was:" >&5
2641 sed 's/^/| /' conftest.
$ac_ext >&5
2643 ac_retval
=$ac_status
2645 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
2646 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2647 as_fn_set_status
$ac_retval
2651 # ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
2652 # -------------------------------------------------------
2653 # Tests whether HEADER exists and can be compiled using the include files in
2654 # INCLUDES, setting the cache variable VAR accordingly.
2655 ac_fn_c_check_header_compile
()
2657 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
2658 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2659 $as_echo_n "checking for $2... " >&6; }
2660 if eval \
${$3+:} false
; then :
2661 $as_echo_n "(cached) " >&6
2663 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
2664 /* end confdefs.h. */
2668 if ac_fn_c_try_compile
"$LINENO"; then :
2673 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
2676 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2677 $as_echo "$ac_res" >&6; }
2678 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2680 } # ac_fn_c_check_header_compile
2682 # ac_fn_c_check_func LINENO FUNC VAR
2683 # ----------------------------------
2684 # Tests whether FUNC exists, setting the cache variable VAR accordingly
2685 ac_fn_c_check_func
()
2687 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
2688 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2689 $as_echo_n "checking for $2... " >&6; }
2690 if eval \
${$3+:} false
; then :
2691 $as_echo_n "(cached) " >&6
2693 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
2694 /* end confdefs.h. */
2695 /* Define $2 to an innocuous variant, in case <limits.h> declares $2.
2696 For example, HP-UX 11i <limits.h> declares gettimeofday. */
2697 #define $2 innocuous_$2
2699 /* System header to define __stub macros and hopefully few prototypes,
2700 which can conflict with char $2 (); below.
2701 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
2702 <limits.h> exists even on freestanding compilers. */
2705 # include <limits.h>
2707 # include <assert.h>
2712 /* Override any GCC internal prototype to avoid an error.
2713 Use char because int might match the return type of a GCC
2714 builtin and then its argument prototype would still apply. */
2719 /* The GNU C library defines this for functions which it implements
2720 to always fail with ENOSYS. Some functions are actually named
2721 something starting with __ and the normal name is an alias. */
2722 #if defined __stub_$2 || defined __stub___$2
2734 if ac_fn_c_try_link
"$LINENO"; then :
2739 rm -f core conftest.err conftest.
$ac_objext \
2740 conftest
$ac_exeext conftest.
$ac_ext
2743 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2744 $as_echo "$ac_res" >&6; }
2745 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2747 } # ac_fn_c_check_func
2749 # ac_fn_c_check_member LINENO AGGR MEMBER VAR INCLUDES
2750 # ----------------------------------------------------
2751 # Tries to find if the field MEMBER exists in type AGGR, after including
2752 # INCLUDES, setting cache variable VAR accordingly.
2753 ac_fn_c_check_member
()
2755 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
2756 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2.$3" >&5
2757 $as_echo_n "checking for $2.$3... " >&6; }
2758 if eval \
${$4+:} false
; then :
2759 $as_echo_n "(cached) " >&6
2761 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
2762 /* end confdefs.h. */
2774 if ac_fn_c_try_compile
"$LINENO"; then :
2777 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
2778 /* end confdefs.h. */
2784 if (sizeof ac_aggr.$3)
2790 if ac_fn_c_try_compile
"$LINENO"; then :
2795 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
2797 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
2800 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2801 $as_echo "$ac_res" >&6; }
2802 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2804 } # ac_fn_c_check_member
2806 # ac_fn_c_check_type LINENO TYPE VAR INCLUDES
2807 # -------------------------------------------
2808 # Tests whether TYPE exists after having included INCLUDES, setting cache
2809 # variable VAR accordingly.
2810 ac_fn_c_check_type
()
2812 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
2813 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2814 $as_echo_n "checking for $2... " >&6; }
2815 if eval \
${$3+:} false
; then :
2816 $as_echo_n "(cached) " >&6
2819 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
2820 /* end confdefs.h. */
2831 if ac_fn_c_try_compile
"$LINENO"; then :
2832 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
2833 /* end confdefs.h. */
2844 if ac_fn_c_try_compile
"$LINENO"; then :
2849 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
2851 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
2854 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2855 $as_echo "$ac_res" >&6; }
2856 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2858 } # ac_fn_c_check_type
2859 cat >config.log
<<_ACEOF
2860 This file contains any messages produced by compilers while
2861 running configure, to aid debugging if configure makes a mistake.
2863 It was created by Wine $as_me 1.7.52, which was
2864 generated by GNU Autoconf 2.69. Invocation command line was
2876 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
2877 uname -m = `(uname -m) 2>/dev/null || echo unknown`
2878 uname -r = `(uname -r) 2>/dev/null || echo unknown`
2879 uname -s = `(uname -s) 2>/dev/null || echo unknown`
2880 uname -v = `(uname -v) 2>/dev/null || echo unknown`
2882 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
2883 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
2885 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
2886 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
2887 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
2888 /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
2889 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
2890 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
2891 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
2895 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2899 test -z "$as_dir" && as_dir
=.
2900 $as_echo "PATH: $as_dir"
2916 # Keep a trace of the command line.
2917 # Strip out --no-create and --no-recursion so they do not pile up.
2918 # Strip out --silent because we don't want to record it for future runs.
2919 # Also quote any args containing shell meta-characters.
2920 # Make two passes to allow for proper duplicate-argument suppression.
2924 ac_must_keep_next
=false
2930 -no-create |
--no-c* |
-n |
-no-recursion |
--no-r*) continue ;;
2931 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
2932 |
-silent |
--silent |
--silen |
--sile |
--sil)
2935 ac_arg
=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
2938 1) as_fn_append ac_configure_args0
" '$ac_arg'" ;;
2940 as_fn_append ac_configure_args1
" '$ac_arg'"
2941 if test $ac_must_keep_next = true
; then
2942 ac_must_keep_next
=false
# Got value, back to normal.
2945 *=* |
--config-cache |
-C |
-disable-* |
--disable-* \
2946 |
-enable-* |
--enable-* |
-gas |
--g* |
-nfp |
--nf* \
2947 |
-q |
-quiet |
--q* |
-silent |
--sil* |
-v |
-verb* \
2948 |
-with-* |
--with-* |
-without-* |
--without-* |
--x)
2949 case "$ac_configure_args0 " in
2950 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
2953 -* ) ac_must_keep_next
=true
;;
2956 as_fn_append ac_configure_args
" '$ac_arg'"
2961 { ac_configure_args0
=; unset ac_configure_args0
;}
2962 { ac_configure_args1
=; unset ac_configure_args1
;}
2964 # When interrupted or exit'd, cleanup temporary files, and complete
2965 # config.log. We remove comments because anyway the quotes in there
2966 # would cause problems or look ugly.
2967 # WARNING: Use '\'' to represent an apostrophe within the trap.
2968 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
2969 trap 'exit_status=$?
2970 # Save into config.log some information that might help in debugging.
2974 $as_echo "## ---------------- ##
2975 ## Cache variables. ##
2976 ## ---------------- ##"
2978 # The following way of writing the cache mishandles newlines in values,
2980 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
2981 eval ac_val=\$$ac_var
2985 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
2986 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
2989 _ | IFS | as_nl) ;; #(
2990 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
2991 *) { eval $ac_var=; unset $ac_var;} ;;
2996 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
2997 *${as_nl}ac_space=\ *)
2999 "s/'\''/'\''\\\\'\'''\''/g;
3000 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
3003 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
3010 $as_echo "## ----------------- ##
3011 ## Output variables. ##
3012 ## ----------------- ##"
3014 for ac_var in $ac_subst_vars
3016 eval ac_val=\$$ac_var
3018 *\'\''*) ac_val
=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
3020 $as_echo "$ac_var='\''$ac_val'\''"
3024 if test -n "$ac_subst_files"; then
3025 $as_echo "## ------------------- ##
3026 ## File substitutions. ##
3027 ## ------------------- ##"
3029 for ac_var
in $ac_subst_files
3031 eval ac_val
=\$
$ac_var
3033 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
3035 $as_echo "$ac_var='\''$ac_val'\''"
3040 if test -s confdefs.h; then
3041 $as_echo "## ----------- ##
3048 test "$ac_signal" != 0 &&
3049 $as_echo "$as_me: caught signal $ac_signal"
3050 $as_echo "$as_me: exit $exit_status"
3052 rm -f core *.core core.conftest.* &&
3053 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
3056 for ac_signal
in 1 2 13 15; do
3057 trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
3061 # confdefs.h avoids OS command line length limits that DEFS can exceed.
3062 rm -f -r conftest
* confdefs.h
3064 $as_echo "/* confdefs.h */" > confdefs.h
3066 # Predefined preprocessor variables.
3068 cat >>confdefs.h
<<_ACEOF
3069 #define PACKAGE_NAME "$PACKAGE_NAME"
3072 cat >>confdefs.h
<<_ACEOF
3073 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
3076 cat >>confdefs.h
<<_ACEOF
3077 #define PACKAGE_VERSION "$PACKAGE_VERSION"
3080 cat >>confdefs.h
<<_ACEOF
3081 #define PACKAGE_STRING "$PACKAGE_STRING"
3084 cat >>confdefs.h
<<_ACEOF
3085 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
3088 cat >>confdefs.h
<<_ACEOF
3089 #define PACKAGE_URL "$PACKAGE_URL"
3093 # Let the site file select an alternate cache file if it wants to.
3094 # Prefer an explicitly selected file to automatically selected ones.
3097 if test -n "$CONFIG_SITE"; then
3098 # We do not want a PATH search for config.site.
3099 case $CONFIG_SITE in #((
3100 -*) ac_site_file1
=.
/$CONFIG_SITE;;
3101 */*) ac_site_file1
=$CONFIG_SITE;;
3102 *) ac_site_file1
=.
/$CONFIG_SITE;;
3104 elif test "x$prefix" != xNONE
; then
3105 ac_site_file1
=$prefix/share
/config.site
3106 ac_site_file2
=$prefix/etc
/config.site
3108 ac_site_file1
=$ac_default_prefix/share
/config.site
3109 ac_site_file2
=$ac_default_prefix/etc
/config.site
3111 for ac_site_file
in "$ac_site_file1" "$ac_site_file2"
3113 test "x$ac_site_file" = xNONE
&& continue
3114 if test /dev
/null
!= "$ac_site_file" && test -r "$ac_site_file"; then
3115 { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
3116 $as_echo "$as_me: loading site script $ac_site_file" >&6;}
3117 sed 's/^/| /' "$ac_site_file" >&5
3119 ||
{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3120 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3121 as_fn_error $?
"failed to load site script $ac_site_file
3122 See \`config.log' for more details" "$LINENO" 5; }
3126 if test -r "$cache_file"; then
3127 # Some versions of bash will fail to source /dev/null (special files
3128 # actually), so we avoid doing that. DJGPP emulates it as a regular file.
3129 if test /dev
/null
!= "$cache_file" && test -f "$cache_file"; then
3130 { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
3131 $as_echo "$as_me: loading cache $cache_file" >&6;}
3133 [\\/]* | ?
:[\\/]* ) .
"$cache_file";;
3134 *) .
"./$cache_file";;
3138 { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
3139 $as_echo "$as_me: creating cache $cache_file" >&6;}
3143 # Check that the precious variables saved in the cache have kept the same
3145 ac_cache_corrupted
=false
3146 for ac_var
in $ac_precious_vars; do
3147 eval ac_old_set
=\
$ac_cv_env_${ac_var}_set
3148 eval ac_new_set
=\
$ac_env_${ac_var}_set
3149 eval ac_old_val
=\
$ac_cv_env_${ac_var}_value
3150 eval ac_new_val
=\
$ac_env_${ac_var}_value
3151 case $ac_old_set,$ac_new_set in
3153 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
3154 $as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
3155 ac_cache_corrupted
=: ;;
3157 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
3158 $as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
3159 ac_cache_corrupted
=: ;;
3162 if test "x$ac_old_val" != "x$ac_new_val"; then
3163 # differences in whitespace do not lead to failure.
3164 ac_old_val_w
=`echo x $ac_old_val`
3165 ac_new_val_w
=`echo x $ac_new_val`
3166 if test "$ac_old_val_w" != "$ac_new_val_w"; then
3167 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
3168 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
3169 ac_cache_corrupted
=:
3171 { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
3172 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
3173 eval $ac_var=\
$ac_old_val
3175 { $as_echo "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5
3176 $as_echo "$as_me: former value: \`$ac_old_val'" >&2;}
3177 { $as_echo "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5
3178 $as_echo "$as_me: current value: \`$ac_new_val'" >&2;}
3181 # Pass precious variables to config.status.
3182 if test "$ac_new_set" = set; then
3184 *\'*) ac_arg
=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
3185 *) ac_arg
=$ac_var=$ac_new_val ;;
3187 case " $ac_configure_args " in
3188 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
3189 *) as_fn_append ac_configure_args
" '$ac_arg'" ;;
3193 if $ac_cache_corrupted; then
3194 { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3195 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3196 { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
3197 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
3198 as_fn_error $?
"run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
3200 ## -------------------- ##
3201 ## Main body of script. ##
3202 ## -------------------- ##
3205 ac_cpp
='$CPP $CPPFLAGS'
3206 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3207 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3208 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
3212 ac_config_headers
="$ac_config_headers include/config.h"
3215 for ac_dir
in tools
"$srcdir"/tools
; do
3216 if test -f "$ac_dir/install-sh"; then
3218 ac_install_sh
="$ac_aux_dir/install-sh -c"
3220 elif test -f "$ac_dir/install.sh"; then
3222 ac_install_sh
="$ac_aux_dir/install.sh -c"
3224 elif test -f "$ac_dir/shtool"; then
3226 ac_install_sh
="$ac_aux_dir/shtool install -c"
3230 if test -z "$ac_aux_dir"; then
3231 as_fn_error $?
"cannot find install-sh, install.sh, or shtool in tools \"$srcdir\"/tools" "$LINENO" 5
3234 # These three variables are undocumented and unsupported,
3235 # and are intended to be withdrawn in a future Autoconf release.
3236 # They can cause serious problems if a builder's source tree is in a directory
3237 # whose full name contains unusual characters.
3238 ac_config_guess
="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
3239 ac_config_sub
="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
3240 ac_configure
="$SHELL $ac_aux_dir/configure" # Please don't use this var.
3244 libwine_version
="1.0"
3248 # Check whether --enable-win16 was given.
3249 if test "${enable_win16+set}" = set; then :
3250 enableval
=$enable_win16;
3253 # Check whether --enable-win64 was given.
3254 if test "${enable_win64+set}" = set; then :
3255 enableval
=$enable_win64;
3258 # Check whether --enable-tests was given.
3259 if test "${enable_tests+set}" = set; then :
3260 enableval
=$enable_tests;
3263 # Check whether --enable-maintainer-mode was given.
3264 if test "${enable_maintainer_mode+set}" = set; then :
3265 enableval
=$enable_maintainer_mode;
3270 # Check whether --with-alsa was given.
3271 if test "${with_alsa+set}" = set; then :
3272 withval
=$with_alsa; if test "x$withval" = "xno"; then ac_cv_header_sys_asoundlib_h
=no
; ac_cv_header_alsa_asoundlib_h
=no
; fi
3276 # Check whether --with-capi was given.
3277 if test "${with_capi+set}" = set; then :
3282 # Check whether --with-cms was given.
3283 if test "${with_cms+set}" = set; then :
3288 # Check whether --with-coreaudio was given.
3289 if test "${with_coreaudio+set}" = set; then :
3290 withval
=$with_coreaudio; if test "x$withval" = "xno"; then ac_cv_header_CoreAudio_CoreAudio_h
=no
; fi
3294 # Check whether --with-cups was given.
3295 if test "${with_cups+set}" = set; then :
3300 # Check whether --with-curses was given.
3301 if test "${with_curses+set}" = set; then :
3302 withval
=$with_curses; if test "x$withval" = "xno"; then ac_cv_header_ncurses_h
=no
; ac_cv_header_curses_h
=no
; fi
3306 # Check whether --with-dbus was given.
3307 if test "${with_dbus+set}" = set; then :
3312 # Check whether --with-fontconfig was given.
3313 if test "${with_fontconfig+set}" = set; then :
3314 withval
=$with_fontconfig;
3318 # Check whether --with-freetype was given.
3319 if test "${with_freetype+set}" = set; then :
3320 withval
=$with_freetype;
3324 # Check whether --with-gettext was given.
3325 if test "${with_gettext+set}" = set; then :
3326 withval
=$with_gettext;
3330 # Check whether --with-gettextpo was given.
3331 if test "${with_gettextpo+set}" = set; then :
3332 withval
=$with_gettextpo; if test "x$withval" = "xno"; then ac_cv_header_gettext_po_h
=no
; fi
3336 # Check whether --with-gphoto was given.
3337 if test "${with_gphoto+set}" = set; then :
3338 withval
=$with_gphoto;
3342 # Check whether --with-glu was given.
3343 if test "${with_glu+set}" = set; then :
3348 # Check whether --with-gnutls was given.
3349 if test "${with_gnutls+set}" = set; then :
3350 withval
=$with_gnutls;
3354 # Check whether --with-gsm was given.
3355 if test "${with_gsm+set}" = set; then :
3356 withval
=$with_gsm; if test "x$withval" = "xno"; then ac_cv_header_gsm_h
=no
; ac_cv_header_gsm_gsm_h
=no
; fi
3360 # Check whether --with-gstreamer was given.
3361 if test "${with_gstreamer+set}" = set; then :
3362 withval
=$with_gstreamer;
3366 # Check whether --with-hal was given.
3367 if test "${with_hal+set}" = set; then :
3372 # Check whether --with-jpeg was given.
3373 if test "${with_jpeg+set}" = set; then :
3378 # Check whether --with-ldap was given.
3379 if test "${with_ldap+set}" = set; then :
3380 withval
=$with_ldap; if test "x$withval" = "xno"; then ac_cv_header_ldap_h
=no
; ac_cv_header_lber_h
=no
; fi
3384 # Check whether --with-mpg123 was given.
3385 if test "${with_mpg123+set}" = set; then :
3386 withval
=$with_mpg123;
3390 # Check whether --with-netapi was given.
3391 if test "${with_netapi+set}" = set; then :
3392 withval
=$with_netapi;
3396 # Check whether --with-openal was given.
3397 if test "${with_openal+set}" = set; then :
3398 withval
=$with_openal; if test "x$withval" = "xno"; then ac_cv_header_AL_al_h
=no
; ac_cv_header_OpenAL_al_h
=no
; fi
3402 # Check whether --with-opencl was given.
3403 if test "${with_opencl+set}" = set; then :
3404 withval
=$with_opencl; if test "x$withval" = "xno"; then ac_cv_header_CL_cl_h
=no
; ac_cv_header_OpenCL_opencl_h
=no
; fi
3408 # Check whether --with-opengl was given.
3409 if test "${with_opengl+set}" = set; then :
3410 withval
=$with_opengl;
3414 # Check whether --with-osmesa was given.
3415 if test "${with_osmesa+set}" = set; then :
3416 withval
=$with_osmesa;
3420 # Check whether --with-oss was given.
3421 if test "${with_oss+set}" = set; then :
3426 # Check whether --with-pcap was given.
3427 if test "${with_pcap+set}" = set; then :
3428 withval
=$with_pcap; if test "x$withval" = "xno"; then ac_cv_header_pcap_pcap_h
=no
; fi
3432 # Check whether --with-png was given.
3433 if test "${with_png+set}" = set; then :
3438 # Check whether --with-pthread was given.
3439 if test "${with_pthread+set}" = set; then :
3440 withval
=$with_pthread; if test "x$withval" = "xno"; then ac_cv_header_pthread_h
=no
; fi
3444 # Check whether --with-sane was given.
3445 if test "${with_sane+set}" = set; then :
3450 # Check whether --with-tiff was given.
3451 if test "${with_tiff+set}" = set; then :
3456 # Check whether --with-v4l was given.
3457 if test "${with_v4l+set}" = set; then :
3462 # Check whether --with-xcomposite was given.
3463 if test "${with_xcomposite+set}" = set; then :
3464 withval
=$with_xcomposite; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xcomposite_h
=no
; fi
3468 # Check whether --with-xcursor was given.
3469 if test "${with_xcursor+set}" = set; then :
3470 withval
=$with_xcursor; if test "x$withval" = "xno"; then ac_cv_header_X11_Xcursor_Xcursor_h
=no
; fi
3474 # Check whether --with-xinerama was given.
3475 if test "${with_xinerama+set}" = set; then :
3476 withval
=$with_xinerama; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xinerama_h
=no
; fi
3480 # Check whether --with-xinput was given.
3481 if test "${with_xinput+set}" = set; then :
3482 withval
=$with_xinput; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_XInput_h
=no
; fi
3486 # Check whether --with-xinput2 was given.
3487 if test "${with_xinput2+set}" = set; then :
3488 withval
=$with_xinput2; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_XInput2_h
=no
; fi
3492 # Check whether --with-xml was given.
3493 if test "${with_xml+set}" = set; then :
3498 # Check whether --with-xrandr was given.
3499 if test "${with_xrandr+set}" = set; then :
3500 withval
=$with_xrandr; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xrandr_h
=no
; fi
3504 # Check whether --with-xrender was given.
3505 if test "${with_xrender+set}" = set; then :
3506 withval
=$with_xrender; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xrender_h
=no
; fi
3510 # Check whether --with-xshape was given.
3511 if test "${with_xshape+set}" = set; then :
3512 withval
=$with_xshape; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_shape_h
=no
; fi
3516 # Check whether --with-xshm was given.
3517 if test "${with_xshm+set}" = set; then :
3518 withval
=$with_xshm; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_XShm_h
=no
; fi
3522 # Check whether --with-xslt was given.
3523 if test "${with_xslt+set}" = set; then :
3528 # Check whether --with-xxf86vm was given.
3529 if test "${with_xxf86vm+set}" = set; then :
3530 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
3534 # Check whether --with-zlib was given.
3535 if test "${with_zlib+set}" = set; then :
3536 withval
=$with_zlib; if test "x$withval" = "xno"; then ac_cv_header_zlib_h
=no
; fi
3541 # Check whether --with-wine-tools was given.
3542 if test "${with_wine_tools+set}" = set; then :
3543 withval
=$with_wine_tools;
3547 # Check whether --with-wine64 was given.
3548 if test "${with_wine64+set}" = set; then :
3549 withval
=$with_wine64;
3553 # Make sure we can run config.sub.
3554 $SHELL "$ac_aux_dir/config.sub" sun4
>/dev
/null
2>&1 ||
3555 as_fn_error $?
"cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
3557 { $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
3558 $as_echo_n "checking build system type... " >&6; }
3559 if ${ac_cv_build+:} false
; then :
3560 $as_echo_n "(cached) " >&6
3562 ac_build_alias
=$build_alias
3563 test "x$ac_build_alias" = x
&&
3564 ac_build_alias
=`$SHELL "$ac_aux_dir/config.guess"`
3565 test "x$ac_build_alias" = x
&&
3566 as_fn_error $?
"cannot guess build type; you must specify one" "$LINENO" 5
3567 ac_cv_build
=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
3568 as_fn_error $?
"$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
3571 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
3572 $as_echo "$ac_cv_build" >&6; }
3573 case $ac_cv_build in
3575 *) as_fn_error $?
"invalid value of canonical build" "$LINENO" 5;;
3578 ac_save_IFS
=$IFS; IFS
='-'
3584 # Remember, the first character of IFS is used to create $*,
3585 # except with old shells:
3588 case $build_os in *\
*) build_os
=`echo "$build_os" | sed 's/ /-/g'`;; esac
3591 { $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
3592 $as_echo_n "checking host system type... " >&6; }
3593 if ${ac_cv_host+:} false
; then :
3594 $as_echo_n "(cached) " >&6
3596 if test "x$host_alias" = x
; then
3597 ac_cv_host
=$ac_cv_build
3599 ac_cv_host
=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
3600 as_fn_error $?
"$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
3604 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
3605 $as_echo "$ac_cv_host" >&6; }
3608 *) as_fn_error $?
"invalid value of canonical host" "$LINENO" 5;;
3611 ac_save_IFS
=$IFS; IFS
='-'
3617 # Remember, the first character of IFS is used to create $*,
3618 # except with old shells:
3621 case $host_os in *\
*) host_os
=`echo "$host_os" | sed 's/ /-/g'`;; esac
3627 *) if test -f "$srcdir/Makefile" -o -f "$srcdir/include/config.h"; then
3628 as_fn_error $?
"you are building out of the source tree, but the source tree contains object files.
3629 You need to run 'make distclean' in the source tree first." "$LINENO" 5
3634 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
3635 $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
3637 ac_make
=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
3638 if eval \
${ac_cv_prog_make_${ac_make}_set+:} false
; then :
3639 $as_echo_n "(cached) " >&6
3641 cat >conftest.
make <<\_ACEOF
3644 @
echo '@@@%%%=$(MAKE)=@@@%%%'
3646 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
3647 case `${MAKE-make} -f conftest.make 2>/dev/null` in
3649 eval ac_cv_prog_make_
${ac_make}_set
=yes;;
3651 eval ac_cv_prog_make_
${ac_make}_set
=no
;;
3655 if eval test \
$ac_cv_prog_make_${ac_make}_set
= yes; then
3656 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3657 $as_echo "yes" >&6; }
3660 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3661 $as_echo "no" >&6; }
3662 SET_MAKE
="MAKE=${MAKE-make}"
3666 ac_cpp
='$CPP $CPPFLAGS'
3667 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3668 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3669 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
3670 if test -n "$ac_tool_prefix"; then
3671 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
3672 set dummy
${ac_tool_prefix}gcc
; ac_word
=$2
3673 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3674 $as_echo_n "checking for $ac_word... " >&6; }
3675 if ${ac_cv_prog_CC+:} false
; then :
3676 $as_echo_n "(cached) " >&6
3678 if test -n "$CC"; then
3679 ac_cv_prog_CC
="$CC" # Let the user override the test.
3681 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3685 test -z "$as_dir" && as_dir
=.
3686 for ac_exec_ext
in '' $ac_executable_extensions; do
3687 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
3688 ac_cv_prog_CC
="${ac_tool_prefix}gcc"
3689 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3699 if test -n "$CC"; then
3700 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3701 $as_echo "$CC" >&6; }
3703 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3704 $as_echo "no" >&6; }
3709 if test -z "$ac_cv_prog_CC"; then
3711 # Extract the first word of "gcc", so it can be a program name with args.
3712 set dummy gcc
; ac_word
=$2
3713 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3714 $as_echo_n "checking for $ac_word... " >&6; }
3715 if ${ac_cv_prog_ac_ct_CC+:} false
; then :
3716 $as_echo_n "(cached) " >&6
3718 if test -n "$ac_ct_CC"; then
3719 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
3721 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3725 test -z "$as_dir" && as_dir
=.
3726 for ac_exec_ext
in '' $ac_executable_extensions; do
3727 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
3728 ac_cv_prog_ac_ct_CC
="gcc"
3729 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3738 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
3739 if test -n "$ac_ct_CC"; then
3740 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3741 $as_echo "$ac_ct_CC" >&6; }
3743 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3744 $as_echo "no" >&6; }
3747 if test "x$ac_ct_CC" = x
; then
3750 case $cross_compiling:$ac_tool_warned in
3752 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3753 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3754 ac_tool_warned
=yes ;;
3762 if test -z "$CC"; then
3763 if test -n "$ac_tool_prefix"; then
3764 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
3765 set dummy
${ac_tool_prefix}cc
; ac_word
=$2
3766 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3767 $as_echo_n "checking for $ac_word... " >&6; }
3768 if ${ac_cv_prog_CC+:} false
; then :
3769 $as_echo_n "(cached) " >&6
3771 if test -n "$CC"; then
3772 ac_cv_prog_CC
="$CC" # Let the user override the test.
3774 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3778 test -z "$as_dir" && as_dir
=.
3779 for ac_exec_ext
in '' $ac_executable_extensions; do
3780 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
3781 ac_cv_prog_CC
="${ac_tool_prefix}cc"
3782 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3792 if test -n "$CC"; then
3793 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3794 $as_echo "$CC" >&6; }
3796 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3797 $as_echo "no" >&6; }
3803 if test -z "$CC"; then
3804 # Extract the first word of "cc", so it can be a program name with args.
3805 set dummy cc
; ac_word
=$2
3806 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3807 $as_echo_n "checking for $ac_word... " >&6; }
3808 if ${ac_cv_prog_CC+:} false
; then :
3809 $as_echo_n "(cached) " >&6
3811 if test -n "$CC"; then
3812 ac_cv_prog_CC
="$CC" # Let the user override the test.
3815 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3819 test -z "$as_dir" && as_dir
=.
3820 for ac_exec_ext
in '' $ac_executable_extensions; do
3821 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
3822 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
3823 ac_prog_rejected
=yes
3827 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3834 if test $ac_prog_rejected = yes; then
3835 # We found a bogon in the path, so make sure we never use it.
3836 set dummy
$ac_cv_prog_CC
3838 if test $# != 0; then
3839 # We chose a different compiler from the bogus one.
3840 # However, it has the same basename, so the bogon will be chosen
3841 # first if we set CC to just the basename; use the full file name.
3843 ac_cv_prog_CC
="$as_dir/$ac_word${1+' '}$@"
3849 if test -n "$CC"; then
3850 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3851 $as_echo "$CC" >&6; }
3853 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3854 $as_echo "no" >&6; }
3859 if test -z "$CC"; then
3860 if test -n "$ac_tool_prefix"; then
3861 for ac_prog
in cl.exe
3863 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
3864 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
3865 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3866 $as_echo_n "checking for $ac_word... " >&6; }
3867 if ${ac_cv_prog_CC+:} false
; then :
3868 $as_echo_n "(cached) " >&6
3870 if test -n "$CC"; then
3871 ac_cv_prog_CC
="$CC" # Let the user override the test.
3873 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3877 test -z "$as_dir" && as_dir
=.
3878 for ac_exec_ext
in '' $ac_executable_extensions; do
3879 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
3880 ac_cv_prog_CC
="$ac_tool_prefix$ac_prog"
3881 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3891 if test -n "$CC"; then
3892 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3893 $as_echo "$CC" >&6; }
3895 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3896 $as_echo "no" >&6; }
3900 test -n "$CC" && break
3903 if test -z "$CC"; then
3905 for ac_prog
in cl.exe
3907 # Extract the first word of "$ac_prog", so it can be a program name with args.
3908 set dummy
$ac_prog; ac_word
=$2
3909 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3910 $as_echo_n "checking for $ac_word... " >&6; }
3911 if ${ac_cv_prog_ac_ct_CC+:} false
; then :
3912 $as_echo_n "(cached) " >&6
3914 if test -n "$ac_ct_CC"; then
3915 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
3917 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3921 test -z "$as_dir" && as_dir
=.
3922 for ac_exec_ext
in '' $ac_executable_extensions; do
3923 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
3924 ac_cv_prog_ac_ct_CC
="$ac_prog"
3925 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3934 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
3935 if test -n "$ac_ct_CC"; then
3936 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3937 $as_echo "$ac_ct_CC" >&6; }
3939 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3940 $as_echo "no" >&6; }
3944 test -n "$ac_ct_CC" && break
3947 if test "x$ac_ct_CC" = x
; then
3950 case $cross_compiling:$ac_tool_warned in
3952 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3953 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3954 ac_tool_warned
=yes ;;
3963 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3964 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3965 as_fn_error $?
"no acceptable C compiler found in \$PATH
3966 See \`config.log' for more details" "$LINENO" 5; }
3968 # Provide some information about the compiler.
3969 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
3972 for ac_option
in --version -v -V -qversion; do
3973 { { ac_try
="$ac_compiler $ac_option >&5"
3975 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
3976 *) ac_try_echo=$ac_try;;
3978 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3979 $as_echo "$ac_try_echo"; } >&5
3980 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
3982 if test -s conftest.err; then
3984 ... rest of stderr output deleted ...
3985 10q' conftest.err >conftest.er1
3986 cat conftest.er1 >&5
3988 rm -f conftest.er1 conftest.err
3989 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3990 test $ac_status = 0; }
3993 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3994 /* end confdefs.h. */
4004 ac_clean_files_save=$ac_clean_files
4005 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
4006 # Try to create an executable without -o first, disregard a.out.
4007 # It will help us diagnose broken compilers, and finding out an intuition
4009 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
4010 $as_echo_n "checking whether the C compiler works... " >&6; }
4011 ac_link_default=`$as_echo "$ac_link" |
sed 's/ -o *conftest[^ ]*//'`
4013 # The possible output files:
4014 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
4017 for ac_file in $ac_files
4020 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
4021 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
4026 if { { ac_try="$ac_link_default"
4028 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
4029 *) ac_try_echo
=$ac_try;;
4031 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4032 $as_echo "$ac_try_echo"; } >&5
4033 (eval "$ac_link_default") 2>&5
4035 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4036 test $ac_status = 0; }; then :
4037 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
4038 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
4039 # in a Makefile. We should not override ac_cv_exeext if it was cached,
4040 # so that the user can short-circuit this test for compilers unknown to
4042 for ac_file
in $ac_files ''
4044 test -f "$ac_file" ||
continue
4046 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg |
*.map |
*.inf |
*.dSYM |
*.o |
*.obj
)
4049 # We found the default executable, but exeext='' is most
4053 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no
;
4055 ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
4057 # We set ac_cv_exeext here because the later test for it is not
4058 # safe: cross compilers may not add the suffix if given an `-o'
4059 # argument, so we may need to know it at that point already.
4060 # Even if this section looks crufty: it has the advantage of
4067 test "$ac_cv_exeext" = no
&& ac_cv_exeext
=
4072 if test -z "$ac_file"; then :
4073 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4074 $as_echo "no" >&6; }
4075 $as_echo "$as_me: failed program was:" >&5
4076 sed 's/^/| /' conftest.
$ac_ext >&5
4078 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4079 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4080 as_fn_error
77 "C compiler cannot create executables
4081 See \`config.log' for more details" "$LINENO" 5; }
4083 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4084 $as_echo "yes" >&6; }
4086 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
4087 $as_echo_n "checking for C compiler default output file name... " >&6; }
4088 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
4089 $as_echo "$ac_file" >&6; }
4090 ac_exeext
=$ac_cv_exeext
4092 rm -f -r a.out a.out.dSYM a.exe conftest
$ac_cv_exeext b.out
4093 ac_clean_files
=$ac_clean_files_save
4094 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
4095 $as_echo_n "checking for suffix of executables... " >&6; }
4096 if { { ac_try
="$ac_link"
4098 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
4099 *) ac_try_echo=$ac_try;;
4101 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4102 $as_echo "$ac_try_echo"; } >&5
4103 (eval "$ac_link") 2>&5
4105 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4106 test $ac_status = 0; }; then :
4107 # If both `conftest.exe
' and `conftest' are
`present' (well, observable)
4108 # catch `conftest.exe
'. For instance with Cygwin, `ls conftest' will
4109 # work properly (i.e., refer to `conftest.exe'), while it won't with
4111 for ac_file
in conftest.exe conftest conftest.
*; do
4112 test -f "$ac_file" ||
continue
4114 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg |
*.map |
*.inf |
*.dSYM |
*.o |
*.obj
) ;;
4115 *.
* ) ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
4121 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4122 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4123 as_fn_error $?
"cannot compute suffix of executables: cannot compile and link
4124 See \`config.log' for more details" "$LINENO" 5; }
4126 rm -f conftest conftest
$ac_cv_exeext
4127 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
4128 $as_echo "$ac_cv_exeext" >&6; }
4130 rm -f conftest.
$ac_ext
4131 EXEEXT
=$ac_cv_exeext
4133 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4134 /* end confdefs.h. */
4139 FILE *f = fopen ("conftest.out", "w");
4140 return ferror (f) || fclose (f) != 0;
4146 ac_clean_files
="$ac_clean_files conftest.out"
4147 # Check that the compiler produces executables we can run. If not, either
4148 # the compiler is broken, or we cross compile.
4149 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
4150 $as_echo_n "checking whether we are cross compiling... " >&6; }
4151 if test "$cross_compiling" != yes; then
4152 { { ac_try
="$ac_link"
4154 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
4155 *) ac_try_echo=$ac_try;;
4157 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4158 $as_echo "$ac_try_echo"; } >&5
4159 (eval "$ac_link") 2>&5
4161 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4162 test $ac_status = 0; }
4163 if { ac_try='./conftest$ac_cv_exeext'
4164 { { case "(($ac_try" in
4165 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
4166 *) ac_try_echo
=$ac_try;;
4168 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4169 $as_echo "$ac_try_echo"; } >&5
4170 (eval "$ac_try") 2>&5
4172 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4173 test $ac_status = 0; }; }; then
4176 if test "$cross_compiling" = maybe
; then
4179 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4180 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4181 as_fn_error $?
"cannot run C compiled programs.
4182 If you meant to cross compile, use \`--host'.
4183 See \`config.log' for more details" "$LINENO" 5; }
4187 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
4188 $as_echo "$cross_compiling" >&6; }
4190 rm -f conftest.
$ac_ext conftest
$ac_cv_exeext conftest.out
4191 ac_clean_files
=$ac_clean_files_save
4192 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
4193 $as_echo_n "checking for suffix of object files... " >&6; }
4194 if ${ac_cv_objext+:} false
; then :
4195 $as_echo_n "(cached) " >&6
4197 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4198 /* end confdefs.h. */
4208 rm -f conftest.o conftest.obj
4209 if { { ac_try
="$ac_compile"
4211 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
4212 *) ac_try_echo=$ac_try;;
4214 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4215 $as_echo "$ac_try_echo"; } >&5
4216 (eval "$ac_compile") 2>&5
4218 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4219 test $ac_status = 0; }; then :
4220 for ac_file in conftest.o conftest.obj conftest.*; do
4221 test -f "$ac_file" || continue;
4223 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
4224 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
4229 $as_echo "$as_me: failed program was:" >&5
4230 sed 's/^/| /' conftest.$ac_ext >&5
4232 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4233 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4234 as_fn_error $? "cannot compute suffix of object files
: cannot compile
4235 See \
`config.log' for more details" "$LINENO" 5; }
4237 rm -f conftest.$ac_cv_objext conftest.$ac_ext
4239 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
4240 $as_echo "$ac_cv_objext" >&6; }
4241 OBJEXT=$ac_cv_objext
4243 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
4244 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
4245 if ${ac_cv_c_compiler_gnu+:} false; then :
4246 $as_echo_n "(cached) " >&6
4248 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4249 /* end confdefs.h. */
4262 if ac_fn_c_try_compile "$LINENO"; then :
4267 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4268 ac_cv_c_compiler_gnu=$ac_compiler_gnu
4271 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
4272 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
4273 if test $ac_compiler_gnu = yes; then
4278 ac_test_CFLAGS=${CFLAGS+set}
4279 ac_save_CFLAGS=$CFLAGS
4280 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
4281 $as_echo_n "checking whether $CC accepts -g... " >&6; }
4282 if ${ac_cv_prog_cc_g+:} false; then :
4283 $as_echo_n "(cached) " >&6
4285 ac_save_c_werror_flag=$ac_c_werror_flag
4286 ac_c_werror_flag=yes
4289 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4290 /* end confdefs.h. */
4300 if ac_fn_c_try_compile "$LINENO"; then :
4304 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4305 /* end confdefs.h. */
4315 if ac_fn_c_try_compile "$LINENO"; then :
4318 ac_c_werror_flag=$ac_save_c_werror_flag
4320 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4321 /* end confdefs.h. */
4331 if ac_fn_c_try_compile "$LINENO"; then :
4334 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4336 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4338 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4339 ac_c_werror_flag=$ac_save_c_werror_flag
4341 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
4342 $as_echo "$ac_cv_prog_cc_g" >&6; }
4343 if test "$ac_test_CFLAGS" = set; then
4344 CFLAGS=$ac_save_CFLAGS
4345 elif test $ac_cv_prog_cc_g = yes; then
4346 if test "$GCC" = yes; then
4352 if test "$GCC" = yes; then
4358 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
4359 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
4360 if ${ac_cv_prog_cc_c89+:} false; then :
4361 $as_echo_n "(cached) " >&6
4363 ac_cv_prog_cc_c89=no
4365 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4366 /* end confdefs.h. */
4370 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
4371 struct buf { int x; };
4372 FILE * (*rcsopen) (struct buf *, struct stat *, int);
4373 static char *e (p, i)
4379 static char *f (char * (*g) (char **, int), char **p, ...)
4384 s = g (p, va_arg (v,int));
4389 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
4390 function prototypes and stuff, but not '\xHH' hex character constants.
4391 These don't provoke an error unfortunately, instead are silently treated
4392 as 'x'. The following induces an error, until -std is added to get
4393 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
4394 array size at least. It's necessary to write '\x00'==0 to get something
4395 that's true only with -std. */
4396 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
4398 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
4399 inside strings and character constants. */
4401 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
4403 int test (int i, double x);
4404 struct s1 {int (*f) (int a);};
4405 struct s2 {int (*f) (double a);};
4406 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
4412 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
4417 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
4418 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
4420 CC="$ac_save_CC $ac_arg"
4421 if ac_fn_c_try_compile "$LINENO"; then :
4422 ac_cv_prog_cc_c89=$ac_arg
4424 rm -f core conftest.err conftest.$ac_objext
4425 test "x$ac_cv_prog_cc_c89" != "xno" && break
4427 rm -f conftest.$ac_ext
4432 case "x$ac_cv_prog_cc_c89" in
4434 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
4435 $as_echo "none needed" >&6; } ;;
4437 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
4438 $as_echo "unsupported" >&6; } ;;
4440 CC="$CC $ac_cv_prog_cc_c89"
4441 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
4442 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
4444 if test "x$ac_cv_prog_cc_c89" != xno; then :
4449 ac_cpp='$CPP $CPPFLAGS'
4450 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4451 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4452 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4455 ac_cpp='$CXXCPP $CPPFLAGS'
4456 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4457 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4458 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
4459 if test -z "$CXX"; then
4460 if test -n "$CCC"; then
4463 if test -n "$ac_tool_prefix"; then
4464 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
4466 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
4467 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
4468 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4469 $as_echo_n "checking for $ac_word... " >&6; }
4470 if ${ac_cv_prog_CXX+:} false; then :
4471 $as_echo_n "(cached) " >&6
4473 if test -n "$CXX"; then
4474 ac_cv_prog_CXX="$CXX" # Let the user override the test.
4476 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4480 test -z "$as_dir" && as_dir=.
4481 for ac_exec_ext in '' $ac_executable_extensions; do
4482 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4483 ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"
4484 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4494 if test -n "$CXX"; then
4495 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXX" >&5
4496 $as_echo "$CXX" >&6; }
4498 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4499 $as_echo "no" >&6; }
4503 test -n "$CXX" && break
4506 if test -z "$CXX"; then
4508 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
4510 # Extract the first word of "$ac_prog", so it can be a program name with args.
4511 set dummy $ac_prog; ac_word=$2
4512 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4513 $as_echo_n "checking for $ac_word... " >&6; }
4514 if ${ac_cv_prog_ac_ct_CXX+:} false; then :
4515 $as_echo_n "(cached) " >&6
4517 if test -n "$ac_ct_CXX"; then
4518 ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
4520 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4524 test -z "$as_dir" && as_dir=.
4525 for ac_exec_ext in '' $ac_executable_extensions; do
4526 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4527 ac_cv_prog_ac_ct_CXX="$ac_prog"
4528 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4537 ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
4538 if test -n "$ac_ct_CXX"; then
4539 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CXX" >&5
4540 $as_echo "$ac_ct_CXX" >&6; }
4542 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4543 $as_echo "no" >&6; }
4547 test -n "$ac_ct_CXX" && break
4550 if test "x$ac_ct_CXX" = x; then
4553 case $cross_compiling:$ac_tool_warned in
4555 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4556 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4557 ac_tool_warned=yes ;;
4565 # Provide some information about the compiler.
4566 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C++ compiler version" >&5
4569 for ac_option in --version -v -V -qversion; do
4570 { { ac_try="$ac_compiler $ac_option >&5"
4572 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
4573 *) ac_try_echo
=$ac_try;;
4575 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4576 $as_echo "$ac_try_echo"; } >&5
4577 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
4579 if test -s conftest.err
; then
4581 ... rest of stderr output deleted ...
4582 10q' conftest.err
>conftest.er1
4583 cat conftest.er1
>&5
4585 rm -f conftest.er1 conftest.err
4586 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4587 test $ac_status = 0; }
4590 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C++ compiler" >&5
4591 $as_echo_n "checking whether we are using the GNU C++ compiler... " >&6; }
4592 if ${ac_cv_cxx_compiler_gnu+:} false
; then :
4593 $as_echo_n "(cached) " >&6
4595 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4596 /* end confdefs.h. */
4609 if ac_fn_cxx_try_compile
"$LINENO"; then :
4614 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
4615 ac_cv_cxx_compiler_gnu
=$ac_compiler_gnu
4618 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cxx_compiler_gnu" >&5
4619 $as_echo "$ac_cv_cxx_compiler_gnu" >&6; }
4620 if test $ac_compiler_gnu = yes; then
4625 ac_test_CXXFLAGS
=${CXXFLAGS+set}
4626 ac_save_CXXFLAGS
=$CXXFLAGS
4627 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CXX accepts -g" >&5
4628 $as_echo_n "checking whether $CXX accepts -g... " >&6; }
4629 if ${ac_cv_prog_cxx_g+:} false
; then :
4630 $as_echo_n "(cached) " >&6
4632 ac_save_cxx_werror_flag
=$ac_cxx_werror_flag
4633 ac_cxx_werror_flag
=yes
4636 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4637 /* end confdefs.h. */
4647 if ac_fn_cxx_try_compile
"$LINENO"; then :
4648 ac_cv_prog_cxx_g
=yes
4651 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4652 /* end confdefs.h. */
4662 if ac_fn_cxx_try_compile
"$LINENO"; then :
4665 ac_cxx_werror_flag
=$ac_save_cxx_werror_flag
4667 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4668 /* end confdefs.h. */
4678 if ac_fn_cxx_try_compile
"$LINENO"; then :
4679 ac_cv_prog_cxx_g
=yes
4681 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
4683 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
4685 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
4686 ac_cxx_werror_flag
=$ac_save_cxx_werror_flag
4688 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cxx_g" >&5
4689 $as_echo "$ac_cv_prog_cxx_g" >&6; }
4690 if test "$ac_test_CXXFLAGS" = set; then
4691 CXXFLAGS
=$ac_save_CXXFLAGS
4692 elif test $ac_cv_prog_cxx_g = yes; then
4693 if test "$GXX" = yes; then
4699 if test "$GXX" = yes; then
4706 ac_cpp
='$CPP $CPPFLAGS'
4707 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4708 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4709 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
4711 if test -n "$ac_tool_prefix"; then
4712 # Extract the first word of "${ac_tool_prefix}cpp", so it can be a program name with args.
4713 set dummy
${ac_tool_prefix}cpp
; ac_word
=$2
4714 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4715 $as_echo_n "checking for $ac_word... " >&6; }
4716 if ${ac_cv_prog_CPPBIN+:} false
; then :
4717 $as_echo_n "(cached) " >&6
4719 if test -n "$CPPBIN"; then
4720 ac_cv_prog_CPPBIN
="$CPPBIN" # Let the user override the test.
4722 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4726 test -z "$as_dir" && as_dir
=.
4727 for ac_exec_ext
in '' $ac_executable_extensions; do
4728 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
4729 ac_cv_prog_CPPBIN
="${ac_tool_prefix}cpp"
4730 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4739 CPPBIN
=$ac_cv_prog_CPPBIN
4740 if test -n "$CPPBIN"; then
4741 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPPBIN" >&5
4742 $as_echo "$CPPBIN" >&6; }
4744 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4745 $as_echo "no" >&6; }
4750 if test -z "$ac_cv_prog_CPPBIN"; then
4751 ac_ct_CPPBIN
=$CPPBIN
4752 # Extract the first word of "cpp", so it can be a program name with args.
4753 set dummy cpp
; ac_word
=$2
4754 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4755 $as_echo_n "checking for $ac_word... " >&6; }
4756 if ${ac_cv_prog_ac_ct_CPPBIN+:} false
; then :
4757 $as_echo_n "(cached) " >&6
4759 if test -n "$ac_ct_CPPBIN"; then
4760 ac_cv_prog_ac_ct_CPPBIN
="$ac_ct_CPPBIN" # Let the user override the test.
4762 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4766 test -z "$as_dir" && as_dir
=.
4767 for ac_exec_ext
in '' $ac_executable_extensions; do
4768 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
4769 ac_cv_prog_ac_ct_CPPBIN
="cpp"
4770 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4779 ac_ct_CPPBIN
=$ac_cv_prog_ac_ct_CPPBIN
4780 if test -n "$ac_ct_CPPBIN"; then
4781 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CPPBIN" >&5
4782 $as_echo "$ac_ct_CPPBIN" >&6; }
4784 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4785 $as_echo "no" >&6; }
4788 if test "x$ac_ct_CPPBIN" = x
; then
4791 case $cross_compiling:$ac_tool_warned in
4793 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4794 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4795 ac_tool_warned
=yes ;;
4797 CPPBIN
=$ac_ct_CPPBIN
4800 CPPBIN
="$ac_cv_prog_CPPBIN"
4804 cat >>confdefs.h
<<_ACEOF
4805 #define EXEEXT "$ac_exeext"
4808 if test -n "$ac_tool_prefix"; then
4809 # Extract the first word of "${ac_tool_prefix}ld", so it can be a program name with args.
4810 set dummy
${ac_tool_prefix}ld
; ac_word
=$2
4811 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4812 $as_echo_n "checking for $ac_word... " >&6; }
4813 if ${ac_cv_prog_LD+:} false
; then :
4814 $as_echo_n "(cached) " >&6
4816 if test -n "$LD"; then
4817 ac_cv_prog_LD
="$LD" # Let the user override the test.
4819 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4823 test -z "$as_dir" && as_dir
=.
4824 for ac_exec_ext
in '' $ac_executable_extensions; do
4825 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
4826 ac_cv_prog_LD
="${ac_tool_prefix}ld"
4827 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4837 if test -n "$LD"; then
4838 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
4839 $as_echo "$LD" >&6; }
4841 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4842 $as_echo "no" >&6; }
4847 if test -z "$ac_cv_prog_LD"; then
4849 # Extract the first word of "ld", so it can be a program name with args.
4850 set dummy ld
; ac_word
=$2
4851 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4852 $as_echo_n "checking for $ac_word... " >&6; }
4853 if ${ac_cv_prog_ac_ct_LD+:} false
; then :
4854 $as_echo_n "(cached) " >&6
4856 if test -n "$ac_ct_LD"; then
4857 ac_cv_prog_ac_ct_LD
="$ac_ct_LD" # Let the user override the test.
4859 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4863 test -z "$as_dir" && as_dir
=.
4864 for ac_exec_ext
in '' $ac_executable_extensions; do
4865 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
4866 ac_cv_prog_ac_ct_LD
="ld"
4867 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4876 ac_ct_LD
=$ac_cv_prog_ac_ct_LD
4877 if test -n "$ac_ct_LD"; then
4878 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_LD" >&5
4879 $as_echo "$ac_ct_LD" >&6; }
4881 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4882 $as_echo "no" >&6; }
4885 if test "x$ac_ct_LD" = x
; then
4888 case $cross_compiling:$ac_tool_warned in
4890 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4891 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4892 ac_tool_warned
=yes ;;
4903 if test "x$enable_win64" = "xyes"
4908 notice_platform
="64-bit "
4915 notice_platform
="32-bit "
4918 enable_win16
=${enable_win16:-yes}
4920 with_fontconfig
=${with_fontconfig:-no}
4923 if test "x$enable_win64" != "xyes" -a "$cross_compiling" != "yes"
4927 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC works" >&5
4928 $as_echo_n "checking whether $CC works... " >&6; }
4930 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4931 /* end confdefs.h. */
4941 if ac_fn_c_try_link
"$LINENO"; then :
4942 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4943 $as_echo "yes" >&6; }
4945 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4946 $as_echo "no" >&6; }
4947 as_fn_error $?
"Cannot build a 32-bit program, you need to install 32-bit development libraries." "$LINENO" 5
4949 rm -f core conftest.err conftest.
$ac_objext \
4950 conftest
$ac_exeext conftest.
$ac_ext
4952 notice_platform
="32-bit "
4955 enable_win16
=${enable_win16:-yes}
4957 if test "x${GCC}" = "xyes"
4959 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC supports __builtin_ms_va_list" >&5
4960 $as_echo_n "checking whether $CC supports __builtin_ms_va_list... " >&6; }
4961 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4962 /* end confdefs.h. */
4967 void func(__builtin_ms_va_list *args);
4972 if ac_fn_c_try_compile
"$LINENO"; then :
4973 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4974 $as_echo "yes" >&6; }
4976 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4977 $as_echo "no" >&6; }
4978 as_fn_error $?
"You need gcc >= 4.4 to build Wine as 64-bit." "$LINENO" 5
4980 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
4988 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC supports Thumb" >&5
4989 $as_echo_n "checking whether $CC supports Thumb... " >&6; }
4990 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4991 /* end confdefs.h. */
4992 int ac_test(int i) { return i; }
4996 asm(".thumb\nblx ac_test\n.arm"); if (ac_test(1)) return 1
5001 if ac_fn_c_try_link
"$LINENO"; then :
5002 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5003 $as_echo "yes" >&6; }
5005 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5006 $as_echo "no" >&6; }
5007 as_fn_error $?
"You need a target with Thumb support to build Wine for ARM." "$LINENO" 5
5009 rm -f core conftest.err conftest.
$ac_objext \
5010 conftest
$ac_exeext conftest.
$ac_ext
5011 CFLAGS
="$CFLAGS -marm"
5015 *-mingw32*|
*-cygwin*)
5016 enable_win16
=${enable_win16:-no}
5017 CFLAGS
="$CFLAGS -D_WIN32"
5020 enable_win16
=${enable_win16:-yes}
5024 enable_win16
=${enable_win16:-no}
5025 enable_win64
=${enable_win64:-no}
5027 enable_winetest
=${enable_winetest:-$enable_tests}
5029 if test -n "$with_wine64"
5031 if test "x$enable_win64" = "xyes"
5033 as_fn_error $?
"--enable-win64 and --with-wine64 are mutually exclusive.
5034 --enable-win64 should be used in the 64-bit build tree, --with-wine64 in the 32-bit Wow64 build tree." "$LINENO" 5
5036 enable_fonts
=${enable_fonts:-no}
5037 enable_server
=${enable_server:-no}
5038 elif test "x$enable_win64" = "xyes"
5040 test "x$libdir" != "x\${exec_prefix}/lib" || libdir
="\${exec_prefix}/lib64"
5043 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for the directory containing the Wine tools" >&5
5044 $as_echo_n "checking for the directory containing the Wine tools... " >&6; }
5045 if ${wine_cv_toolsdir+:} false
; then :
5046 $as_echo_n "(cached) " >&6
5048 wine_cv_toolsdir
="$with_wine_tools"
5049 if test -z "$with_wine_tools"; then
5050 if test "$cross_compiling" = "yes"; then
5051 as_fn_error $?
"you must use the --with-wine-tools option when cross-compiling." "$LINENO" 5
5052 elif test -n "$with_wine64"; then
5053 wine_cv_toolsdir
="$with_wine64"
5056 if test -z "$wine_cv_toolsdir"; then
5057 wine_makedep
=tools
/makedep
5058 wine_cv_toolsdir
="\$(top_builddir)"
5059 elif test -d "$wine_cv_toolsdir/tools/winebuild"; then
5060 wine_makedep
=$wine_cv_toolsdir/tools
/makedep
5061 case "$wine_cv_toolsdir" in
5063 *) wine_cv_toolsdir
="\$(top_builddir)/$wine_cv_toolsdir" ;;
5065 enable_tools
=${enable_tools:-no}
5066 test -f "$wine_makedep" || as_fn_error $?
"the Wine tools have not yet been built in $wine_cv_toolsdir" "$LINENO" 5
5068 as_fn_error $?
"could not find Wine tools in $wine_cv_toolsdir" "$LINENO" 5
5071 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_toolsdir" >&5
5072 $as_echo "$wine_cv_toolsdir" >&6; }
5073 TOOLSDIR
=$wine_cv_toolsdir
5075 if test -n "$host_alias" -a "$host_alias" != "$build_alias"
5077 TARGETFLAGS
="-b $host_alias $TARGETFLAGS"
5083 # Extract the first word of "$ac_prog", so it can be a program name with args.
5084 set dummy
$ac_prog; ac_word
=$2
5085 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5086 $as_echo_n "checking for $ac_word... " >&6; }
5087 if ${ac_cv_prog_FLEX+:} false
; then :
5088 $as_echo_n "(cached) " >&6
5090 if test -n "$FLEX"; then
5091 ac_cv_prog_FLEX
="$FLEX" # Let the user override the test.
5093 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5097 test -z "$as_dir" && as_dir
=.
5098 for ac_exec_ext
in '' $ac_executable_extensions; do
5099 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
5100 ac_cv_prog_FLEX
="$ac_prog"
5101 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5110 FLEX
=$ac_cv_prog_FLEX
5111 if test -n "$FLEX"; then
5112 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $FLEX" >&5
5113 $as_echo "$FLEX" >&6; }
5115 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5116 $as_echo "no" >&6; }
5120 test -n "$FLEX" && break
5122 test -n "$FLEX" || FLEX
="none"
5124 if test "$FLEX" = "none"
5126 as_fn_error $?
"no suitable flex found. Please install the 'flex' package." "$LINENO" 5
5128 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether flex is recent enough" >&5
5129 $as_echo_n "checking whether flex is recent enough... " >&6; }
5130 cat >conftest.l
<<EOF
5132 #include "prediluvian.h"
5136 if $FLEX -t conftest.l
>/dev
/null
2>&5
5138 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5139 $as_echo "yes" >&6; }
5141 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5142 $as_echo "no" >&6; }
5143 as_fn_error $?
"Your flex version is too old. Please install flex version 2.5.33 or newer." "$LINENO" 5
5146 for ac_prog
in bison
5148 # Extract the first word of "$ac_prog", so it can be a program name with args.
5149 set dummy
$ac_prog; ac_word
=$2
5150 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5151 $as_echo_n "checking for $ac_word... " >&6; }
5152 if ${ac_cv_prog_BISON+:} false
; then :
5153 $as_echo_n "(cached) " >&6
5155 if test -n "$BISON"; then
5156 ac_cv_prog_BISON
="$BISON" # Let the user override the test.
5158 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5162 test -z "$as_dir" && as_dir
=.
5163 for ac_exec_ext
in '' $ac_executable_extensions; do
5164 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
5165 ac_cv_prog_BISON
="$ac_prog"
5166 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5175 BISON
=$ac_cv_prog_BISON
5176 if test -n "$BISON"; then
5177 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $BISON" >&5
5178 $as_echo "$BISON" >&6; }
5180 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5181 $as_echo "no" >&6; }
5185 test -n "$BISON" && break
5187 test -n "$BISON" || BISON
="none"
5189 if test "$BISON" = "none"
5191 as_fn_error $?
"no suitable bison found. Please install the 'bison' package." "$LINENO" 5
5194 if test -n "$ac_tool_prefix"; then
5195 for ac_prog
in ar gar
5197 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
5198 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
5199 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5200 $as_echo_n "checking for $ac_word... " >&6; }
5201 if ${ac_cv_prog_AR+:} false
; then :
5202 $as_echo_n "(cached) " >&6
5204 if test -n "$AR"; then
5205 ac_cv_prog_AR
="$AR" # Let the user override the test.
5207 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5211 test -z "$as_dir" && as_dir
=.
5212 for ac_exec_ext
in '' $ac_executable_extensions; do
5213 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
5214 ac_cv_prog_AR
="$ac_tool_prefix$ac_prog"
5215 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5225 if test -n "$AR"; then
5226 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
5227 $as_echo "$AR" >&6; }
5229 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5230 $as_echo "no" >&6; }
5234 test -n "$AR" && break
5237 if test -z "$AR"; then
5239 for ac_prog
in ar gar
5241 # Extract the first word of "$ac_prog", so it can be a program name with args.
5242 set dummy
$ac_prog; ac_word
=$2
5243 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5244 $as_echo_n "checking for $ac_word... " >&6; }
5245 if ${ac_cv_prog_ac_ct_AR+:} false
; then :
5246 $as_echo_n "(cached) " >&6
5248 if test -n "$ac_ct_AR"; then
5249 ac_cv_prog_ac_ct_AR
="$ac_ct_AR" # Let the user override the test.
5251 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5255 test -z "$as_dir" && as_dir
=.
5256 for ac_exec_ext
in '' $ac_executable_extensions; do
5257 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
5258 ac_cv_prog_ac_ct_AR
="$ac_prog"
5259 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5268 ac_ct_AR
=$ac_cv_prog_ac_ct_AR
5269 if test -n "$ac_ct_AR"; then
5270 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5
5271 $as_echo "$ac_ct_AR" >&6; }
5273 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5274 $as_echo "no" >&6; }
5278 test -n "$ac_ct_AR" && break
5281 if test "x$ac_ct_AR" = x
; then
5284 case $cross_compiling:$ac_tool_warned in
5286 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5287 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5288 ac_tool_warned
=yes ;;
5294 if test -n "$ac_tool_prefix"; then
5295 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
5296 set dummy
${ac_tool_prefix}strip
; ac_word
=$2
5297 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5298 $as_echo_n "checking for $ac_word... " >&6; }
5299 if ${ac_cv_prog_STRIP+:} false
; then :
5300 $as_echo_n "(cached) " >&6
5302 if test -n "$STRIP"; then
5303 ac_cv_prog_STRIP
="$STRIP" # Let the user override the test.
5305 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5309 test -z "$as_dir" && as_dir
=.
5310 for ac_exec_ext
in '' $ac_executable_extensions; do
5311 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
5312 ac_cv_prog_STRIP
="${ac_tool_prefix}strip"
5313 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5322 STRIP
=$ac_cv_prog_STRIP
5323 if test -n "$STRIP"; then
5324 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
5325 $as_echo "$STRIP" >&6; }
5327 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5328 $as_echo "no" >&6; }
5333 if test -z "$ac_cv_prog_STRIP"; then
5335 # Extract the first word of "strip", so it can be a program name with args.
5336 set dummy strip
; ac_word
=$2
5337 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5338 $as_echo_n "checking for $ac_word... " >&6; }
5339 if ${ac_cv_prog_ac_ct_STRIP+:} false
; then :
5340 $as_echo_n "(cached) " >&6
5342 if test -n "$ac_ct_STRIP"; then
5343 ac_cv_prog_ac_ct_STRIP
="$ac_ct_STRIP" # Let the user override the test.
5345 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5349 test -z "$as_dir" && as_dir
=.
5350 for ac_exec_ext
in '' $ac_executable_extensions; do
5351 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
5352 ac_cv_prog_ac_ct_STRIP
="strip"
5353 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5362 ac_ct_STRIP
=$ac_cv_prog_ac_ct_STRIP
5363 if test -n "$ac_ct_STRIP"; then
5364 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
5365 $as_echo "$ac_ct_STRIP" >&6; }
5367 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5368 $as_echo "no" >&6; }
5371 if test "x$ac_ct_STRIP" = x
; then
5374 case $cross_compiling:$ac_tool_warned in
5376 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5377 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5378 ac_tool_warned
=yes ;;
5383 STRIP
="$ac_cv_prog_STRIP"
5388 if test -n "$ac_tool_prefix"; then
5389 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
5390 set dummy
${ac_tool_prefix}ranlib
; ac_word
=$2
5391 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5392 $as_echo_n "checking for $ac_word... " >&6; }
5393 if ${ac_cv_prog_RANLIB+:} false
; then :
5394 $as_echo_n "(cached) " >&6
5396 if test -n "$RANLIB"; then
5397 ac_cv_prog_RANLIB
="$RANLIB" # Let the user override the test.
5399 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5403 test -z "$as_dir" && as_dir
=.
5404 for ac_exec_ext
in '' $ac_executable_extensions; do
5405 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
5406 ac_cv_prog_RANLIB
="${ac_tool_prefix}ranlib"
5407 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5416 RANLIB
=$ac_cv_prog_RANLIB
5417 if test -n "$RANLIB"; then
5418 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
5419 $as_echo "$RANLIB" >&6; }
5421 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5422 $as_echo "no" >&6; }
5427 if test -z "$ac_cv_prog_RANLIB"; then
5428 ac_ct_RANLIB
=$RANLIB
5429 # Extract the first word of "ranlib", so it can be a program name with args.
5430 set dummy ranlib
; ac_word
=$2
5431 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5432 $as_echo_n "checking for $ac_word... " >&6; }
5433 if ${ac_cv_prog_ac_ct_RANLIB+:} false
; then :
5434 $as_echo_n "(cached) " >&6
5436 if test -n "$ac_ct_RANLIB"; then
5437 ac_cv_prog_ac_ct_RANLIB
="$ac_ct_RANLIB" # Let the user override the test.
5439 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5443 test -z "$as_dir" && as_dir
=.
5444 for ac_exec_ext
in '' $ac_executable_extensions; do
5445 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
5446 ac_cv_prog_ac_ct_RANLIB
="ranlib"
5447 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5456 ac_ct_RANLIB
=$ac_cv_prog_ac_ct_RANLIB
5457 if test -n "$ac_ct_RANLIB"; then
5458 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
5459 $as_echo "$ac_ct_RANLIB" >&6; }
5461 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5462 $as_echo "no" >&6; }
5465 if test "x$ac_ct_RANLIB" = x
; then
5468 case $cross_compiling:$ac_tool_warned in
5470 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5471 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5472 ac_tool_warned
=yes ;;
5474 RANLIB
=$ac_ct_RANLIB
5477 RANLIB
="$ac_cv_prog_RANLIB"
5480 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5
5481 $as_echo_n "checking whether ln -s works... " >&6; }
5483 if test "$LN_S" = "ln -s"; then
5484 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5485 $as_echo "yes" >&6; }
5487 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5
5488 $as_echo "no, using $LN_S" >&6; }
5491 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
5492 $as_echo_n "checking for grep that handles long lines and -e... " >&6; }
5493 if ${ac_cv_path_GREP+:} false
; then :
5494 $as_echo_n "(cached) " >&6
5496 if test -z "$GREP"; then
5497 ac_path_GREP_found
=false
5498 # Loop through the user's path and test for each of PROGNAME-LIST
5499 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5500 for as_dir
in $PATH$PATH_SEPARATOR/usr
/xpg
4/bin
5503 test -z "$as_dir" && as_dir
=.
5504 for ac_prog
in grep ggrep
; do
5505 for ac_exec_ext
in '' $ac_executable_extensions; do
5506 ac_path_GREP
="$as_dir/$ac_prog$ac_exec_ext"
5507 as_fn_executable_p
"$ac_path_GREP" ||
continue
5508 # Check for GNU ac_path_GREP and select it if it is found.
5509 # Check for GNU $ac_path_GREP
5510 case `"$ac_path_GREP" --version 2>&1` in
5512 ac_cv_path_GREP
="$ac_path_GREP" ac_path_GREP_found
=:;;
5515 $as_echo_n 0123456789 >"conftest.in"
5518 cat "conftest.in" "conftest.in" >"conftest.tmp"
5519 mv "conftest.tmp" "conftest.in"
5520 cp "conftest.in" "conftest.nl"
5521 $as_echo 'GREP' >> "conftest.nl"
5522 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev
/null ||
break
5523 diff "conftest.out" "conftest.nl" >/dev
/null
2>&1 ||
break
5524 as_fn_arith
$ac_count + 1 && ac_count
=$as_val
5525 if test $ac_count -gt ${ac_path_GREP_max-0}; then
5526 # Best one so far, save it but keep looking for a better one
5527 ac_cv_path_GREP
="$ac_path_GREP"
5528 ac_path_GREP_max
=$ac_count
5530 # 10*(2^10) chars as input seems more than enough
5531 test $ac_count -gt 10 && break
5533 rm -f conftest.
in conftest.tmp conftest.
nl conftest.out
;;
5536 $ac_path_GREP_found && break 3
5541 if test -z "$ac_cv_path_GREP"; then
5542 as_fn_error $?
"no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
5545 ac_cv_path_GREP
=$GREP
5549 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
5550 $as_echo "$ac_cv_path_GREP" >&6; }
5551 GREP
="$ac_cv_path_GREP"
5554 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
5555 $as_echo_n "checking for egrep... " >&6; }
5556 if ${ac_cv_path_EGREP+:} false
; then :
5557 $as_echo_n "(cached) " >&6
5559 if echo a |
$GREP -E '(a|b)' >/dev
/null
2>&1
5560 then ac_cv_path_EGREP
="$GREP -E"
5562 if test -z "$EGREP"; then
5563 ac_path_EGREP_found
=false
5564 # Loop through the user's path and test for each of PROGNAME-LIST
5565 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5566 for as_dir
in $PATH$PATH_SEPARATOR/usr
/xpg
4/bin
5569 test -z "$as_dir" && as_dir
=.
5570 for ac_prog
in egrep; do
5571 for ac_exec_ext
in '' $ac_executable_extensions; do
5572 ac_path_EGREP
="$as_dir/$ac_prog$ac_exec_ext"
5573 as_fn_executable_p
"$ac_path_EGREP" ||
continue
5574 # Check for GNU ac_path_EGREP and select it if it is found.
5575 # Check for GNU $ac_path_EGREP
5576 case `"$ac_path_EGREP" --version 2>&1` in
5578 ac_cv_path_EGREP
="$ac_path_EGREP" ac_path_EGREP_found
=:;;
5581 $as_echo_n 0123456789 >"conftest.in"
5584 cat "conftest.in" "conftest.in" >"conftest.tmp"
5585 mv "conftest.tmp" "conftest.in"
5586 cp "conftest.in" "conftest.nl"
5587 $as_echo 'EGREP' >> "conftest.nl"
5588 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev
/null ||
break
5589 diff "conftest.out" "conftest.nl" >/dev
/null
2>&1 ||
break
5590 as_fn_arith
$ac_count + 1 && ac_count
=$as_val
5591 if test $ac_count -gt ${ac_path_EGREP_max-0}; then
5592 # Best one so far, save it but keep looking for a better one
5593 ac_cv_path_EGREP
="$ac_path_EGREP"
5594 ac_path_EGREP_max
=$ac_count
5596 # 10*(2^10) chars as input seems more than enough
5597 test $ac_count -gt 10 && break
5599 rm -f conftest.
in conftest.tmp conftest.
nl conftest.out
;;
5602 $ac_path_EGREP_found && break 3
5607 if test -z "$ac_cv_path_EGREP"; then
5608 as_fn_error $?
"no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
5611 ac_cv_path_EGREP
=$EGREP
5616 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
5617 $as_echo "$ac_cv_path_EGREP" >&6; }
5618 EGREP
="$ac_cv_path_EGREP"
5621 # Extract the first word of "ldconfig", so it can be a program name with args.
5622 set dummy ldconfig
; ac_word
=$2
5623 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5624 $as_echo_n "checking for $ac_word... " >&6; }
5625 if ${ac_cv_path_LDCONFIG+:} false
; then :
5626 $as_echo_n "(cached) " >&6
5630 ac_cv_path_LDCONFIG
="$LDCONFIG" # Let the user override the test with a path.
5633 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5634 for as_dir
in /sbin
/usr
/sbin
$PATH
5637 test -z "$as_dir" && as_dir
=.
5638 for ac_exec_ext
in '' $ac_executable_extensions; do
5639 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
5640 ac_cv_path_LDCONFIG
="$as_dir/$ac_word$ac_exec_ext"
5641 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5648 test -z "$ac_cv_path_LDCONFIG" && ac_cv_path_LDCONFIG
="true"
5652 LDCONFIG
=$ac_cv_path_LDCONFIG
5653 if test -n "$LDCONFIG"; then
5654 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LDCONFIG" >&5
5655 $as_echo "$LDCONFIG" >&6; }
5657 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5658 $as_echo "no" >&6; }
5662 for ac_prog
in msgfmt
5664 # Extract the first word of "$ac_prog", so it can be a program name with args.
5665 set dummy
$ac_prog; ac_word
=$2
5666 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5667 $as_echo_n "checking for $ac_word... " >&6; }
5668 if ${ac_cv_prog_MSGFMT+:} false
; then :
5669 $as_echo_n "(cached) " >&6
5671 if test -n "$MSGFMT"; then
5672 ac_cv_prog_MSGFMT
="$MSGFMT" # Let the user override the test.
5674 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5678 test -z "$as_dir" && as_dir
=.
5679 for ac_exec_ext
in '' $ac_executable_extensions; do
5680 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
5681 ac_cv_prog_MSGFMT
="$ac_prog"
5682 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5691 MSGFMT
=$ac_cv_prog_MSGFMT
5692 if test -n "$MSGFMT"; then
5693 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MSGFMT" >&5
5694 $as_echo "$MSGFMT" >&6; }
5696 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5697 $as_echo "no" >&6; }
5701 test -n "$MSGFMT" && break
5703 test -n "$MSGFMT" || MSGFMT
="false"
5705 if ${ac_tool_prefix+:} false
; then :
5706 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
5707 set dummy
${ac_tool_prefix}pkg-config
; ac_word
=$2
5708 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5709 $as_echo_n "checking for $ac_word... " >&6; }
5710 if ${ac_cv_prog_PKG_CONFIG+:} false
; then :
5711 $as_echo_n "(cached) " >&6
5713 if test -n "$PKG_CONFIG"; then
5714 ac_cv_prog_PKG_CONFIG
="$PKG_CONFIG" # Let the user override the test.
5716 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5720 test -z "$as_dir" && as_dir
=.
5721 for ac_exec_ext
in '' $ac_executable_extensions; do
5722 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
5723 ac_cv_prog_PKG_CONFIG
="${ac_tool_prefix}pkg-config"
5724 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5733 PKG_CONFIG
=$ac_cv_prog_PKG_CONFIG
5734 if test -n "$PKG_CONFIG"; then
5735 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
5736 $as_echo "$PKG_CONFIG" >&6; }
5738 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5739 $as_echo "no" >&6; }
5744 if ${ac_cv_prog_PKG_CONFIG:+false} :; then :
5745 if test "x$cross_compiling" = xyes
; then :
5748 { ac_cv_prog_PKG_CONFIG
=; unset ac_cv_prog_PKG_CONFIG
;}
5749 # Extract the first word of "pkg-config", so it can be a program name with args.
5750 set dummy pkg-config
; ac_word
=$2
5751 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5752 $as_echo_n "checking for $ac_word... " >&6; }
5753 if ${ac_cv_prog_PKG_CONFIG+:} false
; then :
5754 $as_echo_n "(cached) " >&6
5756 if test -n "$PKG_CONFIG"; then
5757 ac_cv_prog_PKG_CONFIG
="$PKG_CONFIG" # Let the user override the test.
5759 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5763 test -z "$as_dir" && as_dir
=.
5764 for ac_exec_ext
in '' $ac_executable_extensions; do
5765 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
5766 ac_cv_prog_PKG_CONFIG
="pkg-config"
5767 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5776 PKG_CONFIG
=$ac_cv_prog_PKG_CONFIG
5777 if test -n "$PKG_CONFIG"; then
5778 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
5779 $as_echo "$PKG_CONFIG" >&6; }
5781 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5782 $as_echo "no" >&6; }
5788 PKG_CONFIG
=$ac_cv_prog_PKG_CONFIG
5791 if test "x$enable_maintainer_mode" != "xyes"
5798 test "$srcdir" = . || as_fn_error $?
"Maintainer mode cannot work out of tree." "$LINENO" 5
5799 for ac_prog
in fontforge
5801 # Extract the first word of "$ac_prog", so it can be a program name with args.
5802 set dummy
$ac_prog; ac_word
=$2
5803 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5804 $as_echo_n "checking for $ac_word... " >&6; }
5805 if ${ac_cv_prog_FONTFORGE+:} false
; then :
5806 $as_echo_n "(cached) " >&6
5808 if test -n "$FONTFORGE"; then
5809 ac_cv_prog_FONTFORGE
="$FONTFORGE" # Let the user override the test.
5811 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5815 test -z "$as_dir" && as_dir
=.
5816 for ac_exec_ext
in '' $ac_executable_extensions; do
5817 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
5818 ac_cv_prog_FONTFORGE
="$ac_prog"
5819 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5828 FONTFORGE
=$ac_cv_prog_FONTFORGE
5829 if test -n "$FONTFORGE"; then
5830 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $FONTFORGE" >&5
5831 $as_echo "$FONTFORGE" >&6; }
5833 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5834 $as_echo "no" >&6; }
5838 test -n "$FONTFORGE" && break
5840 test -n "$FONTFORGE" || FONTFORGE
="false"
5842 for ac_prog
in rsvg-convert rsvg
5844 # Extract the first word of "$ac_prog", so it can be a program name with args.
5845 set dummy
$ac_prog; ac_word
=$2
5846 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5847 $as_echo_n "checking for $ac_word... " >&6; }
5848 if ${ac_cv_prog_RSVG+:} false
; then :
5849 $as_echo_n "(cached) " >&6
5851 if test -n "$RSVG"; then
5852 ac_cv_prog_RSVG
="$RSVG" # Let the user override the test.
5854 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5858 test -z "$as_dir" && as_dir
=.
5859 for ac_exec_ext
in '' $ac_executable_extensions; do
5860 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
5861 ac_cv_prog_RSVG
="$ac_prog"
5862 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5871 RSVG
=$ac_cv_prog_RSVG
5872 if test -n "$RSVG"; then
5873 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RSVG" >&5
5874 $as_echo "$RSVG" >&6; }
5876 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5877 $as_echo "no" >&6; }
5881 test -n "$RSVG" && break
5883 test -n "$RSVG" || RSVG
="false"
5885 for ac_prog
in convert
5887 # Extract the first word of "$ac_prog", so it can be a program name with args.
5888 set dummy
$ac_prog; ac_word
=$2
5889 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5890 $as_echo_n "checking for $ac_word... " >&6; }
5891 if ${ac_cv_prog_CONVERT+:} false
; then :
5892 $as_echo_n "(cached) " >&6
5894 if test -n "$CONVERT"; then
5895 ac_cv_prog_CONVERT
="$CONVERT" # Let the user override the test.
5897 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5901 test -z "$as_dir" && as_dir
=.
5902 for ac_exec_ext
in '' $ac_executable_extensions; do
5903 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
5904 ac_cv_prog_CONVERT
="$ac_prog"
5905 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5914 CONVERT
=$ac_cv_prog_CONVERT
5915 if test -n "$CONVERT"; then
5916 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CONVERT" >&5
5917 $as_echo "$CONVERT" >&6; }
5919 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5920 $as_echo "no" >&6; }
5924 test -n "$CONVERT" && break
5926 test -n "$CONVERT" || CONVERT
="false"
5928 for ac_prog
in icotool
5930 # Extract the first word of "$ac_prog", so it can be a program name with args.
5931 set dummy
$ac_prog; ac_word
=$2
5932 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5933 $as_echo_n "checking for $ac_word... " >&6; }
5934 if ${ac_cv_prog_ICOTOOL+:} false
; then :
5935 $as_echo_n "(cached) " >&6
5937 if test -n "$ICOTOOL"; then
5938 ac_cv_prog_ICOTOOL
="$ICOTOOL" # Let the user override the test.
5940 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5944 test -z "$as_dir" && as_dir
=.
5945 for ac_exec_ext
in '' $ac_executable_extensions; do
5946 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
5947 ac_cv_prog_ICOTOOL
="$ac_prog"
5948 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5957 ICOTOOL
=$ac_cv_prog_ICOTOOL
5958 if test -n "$ICOTOOL"; then
5959 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ICOTOOL" >&5
5960 $as_echo "$ICOTOOL" >&6; }
5962 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5963 $as_echo "no" >&6; }
5967 test -n "$ICOTOOL" && break
5969 test -n "$ICOTOOL" || ICOTOOL
="false"
5971 test "$FONTFORGE" != "false" || as_fn_error $?
"You need fontforge to rebuild fonts in maintainer mode." "$LINENO" 5
5972 test "$RSVG" != "false" || as_fn_error $?
"You need rsvg to rebuild icons in maintainer mode." "$LINENO" 5
5974 if test "$CONVERT" = false
5976 as_fn_error $?
"You need imagemagick to rebuild icons in maintainer mode." "$LINENO" 5
5978 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for recent enough imagemagick" >&5
5979 $as_echo_n "checking for recent enough imagemagick... " >&6; }
5980 convert_version
=`convert --version | head -n1`
5981 if test "x$convert_version" != "x"
5983 convert_version_major
=`expr "$convert_version" : '.* \([0-9]*\)\.[0-9]*'`
5984 convert_version_minor
=`expr "$convert_version" : '.* [0-9]*\.\([0-9]*\)'`
5985 if test "$convert_version_major" -eq 6 -a "$convert_version_minor" -lt 6
5990 if test "$CONVERT" = false
5992 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no ($convert_version_major.$convert_version_minor)" >&5
5993 $as_echo "no ($convert_version_major.$convert_version_minor)" >&6; }
5994 as_fn_error $?
"You need imagemagick version 6.6 or newer to rebuild icons in maintainer mode." "$LINENO" 5
5996 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes ($convert_version_major.$convert_version_minor)" >&5
5997 $as_echo "yes ($convert_version_major.$convert_version_minor)" >&6; }
6001 if test "$ICOTOOL" = false
6003 as_fn_error $?
"You need icotool to rebuild icons in maintainer mode." "$LINENO" 5
6005 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for recent enough icotool" >&5
6006 $as_echo_n "checking for recent enough icotool... " >&6; }
6007 icotool_version
=`icotool --version | head -n1`
6008 if test "x$icotool_version" != "x"
6010 icotool_version_major
=`expr "$icotool_version" : '.* \([0-9]*\)\.[0-9]*'`
6011 icotool_version_minor
=`expr "$icotool_version" : '.* [0-9]*\.\([0-9]*\)'`
6012 if test "$icotool_version_major" -eq 0 -a "$icotool_version_minor" -lt 29
6015 as_fn_append wine_warnings
"|icotool version 0.29.0 or newer is needed to rebuild icons."
6018 if test "$ICOTOOL" = false
6020 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no ($icotool_version_major.$icotool_version_minor)" >&5
6021 $as_echo "no ($icotool_version_major.$icotool_version_minor)" >&6; }
6022 as_fn_error $?
"You need icotool version 0.29.0 or newer to rebuild icons in maintainer mode." "$LINENO" 5
6024 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes ($icotool_version_major.$icotool_version_minor)" >&5
6025 $as_echo "yes ($icotool_version_major.$icotool_version_minor)" >&6; }
6031 { ac_cv_header_gettext_po_h
=; unset ac_cv_header_gettext_po_h
;}
6034 test "x$with_gettext" != xno || MSGFMT
=false
6035 if test "$MSGFMT" != "false"
6037 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether msgfmt supports contexts" >&5
6038 $as_echo_n "checking whether msgfmt supports contexts... " >&6; }
6039 cat >conftest.po
<<EOF
6045 if $MSGFMT -o /dev
/null conftest.po
2>&5
6047 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
6048 $as_echo "yes" >&6; }
6050 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6051 $as_echo "no" >&6; }
6055 if test "$MSGFMT" = false
; then :
6056 case "x$with_gettext" in
6057 x
) as_fn_append wine_warnings
"|gettext tools not found (or too old), translations won't be built." ;;
6059 *) as_fn_error $?
"gettext tools not found (or too old), translations won't be built.
6060 This is an error since --with-gettext was requested." "$LINENO" 5 ;;
6065 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for i386_set_ldt in -li386" >&5
6066 $as_echo_n "checking for i386_set_ldt in -li386... " >&6; }
6067 if ${ac_cv_lib_i386_i386_set_ldt+:} false
; then :
6068 $as_echo_n "(cached) " >&6
6070 ac_check_lib_save_LIBS
=$LIBS
6072 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6073 /* end confdefs.h. */
6075 /* Override any GCC internal prototype to avoid an error.
6076 Use char because int might match the return type of a GCC
6077 builtin and then its argument prototype would still apply. */
6081 char i386_set_ldt ();
6085 return i386_set_ldt ();
6090 if ac_fn_c_try_link
"$LINENO"; then :
6091 ac_cv_lib_i386_i386_set_ldt
=yes
6093 ac_cv_lib_i386_i386_set_ldt
=no
6095 rm -f core conftest.err conftest.
$ac_objext \
6096 conftest
$ac_exeext conftest.
$ac_ext
6097 LIBS
=$ac_check_lib_save_LIBS
6099 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_i386_i386_set_ldt" >&5
6100 $as_echo "$ac_cv_lib_i386_i386_set_ldt" >&6; }
6101 if test "x$ac_cv_lib_i386_i386_set_ldt" = xyes
; then :
6102 cat >>confdefs.h
<<_ACEOF
6103 #define HAVE_LIBI386 1
6110 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _oss_ioctl in -lossaudio" >&5
6111 $as_echo_n "checking for _oss_ioctl in -lossaudio... " >&6; }
6112 if ${ac_cv_lib_ossaudio__oss_ioctl+:} false
; then :
6113 $as_echo_n "(cached) " >&6
6115 ac_check_lib_save_LIBS
=$LIBS
6116 LIBS
="-lossaudio $LIBS"
6117 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6118 /* end confdefs.h. */
6120 /* Override any GCC internal prototype to avoid an error.
6121 Use char because int might match the return type of a GCC
6122 builtin and then its argument prototype would still apply. */
6130 return _oss_ioctl ();
6135 if ac_fn_c_try_link
"$LINENO"; then :
6136 ac_cv_lib_ossaudio__oss_ioctl
=yes
6138 ac_cv_lib_ossaudio__oss_ioctl
=no
6140 rm -f core conftest.err conftest.
$ac_objext \
6141 conftest
$ac_exeext conftest.
$ac_ext
6142 LIBS
=$ac_check_lib_save_LIBS
6144 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ossaudio__oss_ioctl" >&5
6145 $as_echo "$ac_cv_lib_ossaudio__oss_ioctl" >&6; }
6146 if test "x$ac_cv_lib_ossaudio__oss_ioctl" = xyes
; then :
6147 cat >>confdefs.h
<<_ACEOF
6148 #define HAVE_LIBOSSAUDIO 1
6151 LIBS
="-lossaudio $LIBS"
6160 # Check whether --enable-largefile was given.
6161 if test "${enable_largefile+set}" = set; then :
6162 enableval
=$enable_largefile;
6165 if test "$enable_largefile" != no
; then
6167 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for special C compiler options needed for large files" >&5
6168 $as_echo_n "checking for special C compiler options needed for large files... " >&6; }
6169 if ${ac_cv_sys_largefile_CC+:} false
; then :
6170 $as_echo_n "(cached) " >&6
6172 ac_cv_sys_largefile_CC
=no
6173 if test "$GCC" != yes; then
6176 # IRIX 6.2 and later do not support large files by default,
6177 # so use the C compiler's -n32 option if that helps.
6178 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6179 /* end confdefs.h. */
6180 #include <sys/types.h>
6181 /* Check that off_t can represent 2**63 - 1 correctly.
6182 We can't simply define LARGE_OFF_T to be 9223372036854775807,
6183 since some C++ compilers masquerading as C compilers
6184 incorrectly reject 9223372036854775807. */
6185 #define LARGE_OFF_T ((((off_t) 1 << 31) << 31) - 1 + (((off_t) 1 << 31) << 31))
6186 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
6187 && LARGE_OFF_T % 2147483647 == 1)
6197 if ac_fn_c_try_compile
"$LINENO"; then :
6200 rm -f core conftest.err conftest.
$ac_objext
6202 if ac_fn_c_try_compile
"$LINENO"; then :
6203 ac_cv_sys_largefile_CC
=' -n32'; break
6205 rm -f core conftest.err conftest.
$ac_objext
6209 rm -f conftest.
$ac_ext
6212 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_largefile_CC" >&5
6213 $as_echo "$ac_cv_sys_largefile_CC" >&6; }
6214 if test "$ac_cv_sys_largefile_CC" != no
; then
6215 CC
=$CC$ac_cv_sys_largefile_CC
6218 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _FILE_OFFSET_BITS value needed for large files" >&5
6219 $as_echo_n "checking for _FILE_OFFSET_BITS value needed for large files... " >&6; }
6220 if ${ac_cv_sys_file_offset_bits+:} false
; then :
6221 $as_echo_n "(cached) " >&6
6224 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6225 /* end confdefs.h. */
6226 #include <sys/types.h>
6227 /* Check that off_t can represent 2**63 - 1 correctly.
6228 We can't simply define LARGE_OFF_T to be 9223372036854775807,
6229 since some C++ compilers masquerading as C compilers
6230 incorrectly reject 9223372036854775807. */
6231 #define LARGE_OFF_T ((((off_t) 1 << 31) << 31) - 1 + (((off_t) 1 << 31) << 31))
6232 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
6233 && LARGE_OFF_T % 2147483647 == 1)
6243 if ac_fn_c_try_compile
"$LINENO"; then :
6244 ac_cv_sys_file_offset_bits
=no
; break
6246 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
6247 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6248 /* end confdefs.h. */
6249 #define _FILE_OFFSET_BITS 64
6250 #include <sys/types.h>
6251 /* Check that off_t can represent 2**63 - 1 correctly.
6252 We can't simply define LARGE_OFF_T to be 9223372036854775807,
6253 since some C++ compilers masquerading as C compilers
6254 incorrectly reject 9223372036854775807. */
6255 #define LARGE_OFF_T ((((off_t) 1 << 31) << 31) - 1 + (((off_t) 1 << 31) << 31))
6256 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
6257 && LARGE_OFF_T % 2147483647 == 1)
6267 if ac_fn_c_try_compile
"$LINENO"; then :
6268 ac_cv_sys_file_offset_bits
=64; break
6270 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
6271 ac_cv_sys_file_offset_bits
=unknown
6275 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_file_offset_bits" >&5
6276 $as_echo "$ac_cv_sys_file_offset_bits" >&6; }
6277 case $ac_cv_sys_file_offset_bits in #(
6280 cat >>confdefs.h
<<_ACEOF
6281 #define _FILE_OFFSET_BITS $ac_cv_sys_file_offset_bits
6286 if test $ac_cv_sys_file_offset_bits = unknown
; then
6287 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _LARGE_FILES value needed for large files" >&5
6288 $as_echo_n "checking for _LARGE_FILES value needed for large files... " >&6; }
6289 if ${ac_cv_sys_large_files+:} false
; then :
6290 $as_echo_n "(cached) " >&6
6293 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6294 /* end confdefs.h. */
6295 #include <sys/types.h>
6296 /* Check that off_t can represent 2**63 - 1 correctly.
6297 We can't simply define LARGE_OFF_T to be 9223372036854775807,
6298 since some C++ compilers masquerading as C compilers
6299 incorrectly reject 9223372036854775807. */
6300 #define LARGE_OFF_T ((((off_t) 1 << 31) << 31) - 1 + (((off_t) 1 << 31) << 31))
6301 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
6302 && LARGE_OFF_T % 2147483647 == 1)
6312 if ac_fn_c_try_compile
"$LINENO"; then :
6313 ac_cv_sys_large_files
=no
; break
6315 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
6316 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6317 /* end confdefs.h. */
6318 #define _LARGE_FILES 1
6319 #include <sys/types.h>
6320 /* Check that off_t can represent 2**63 - 1 correctly.
6321 We can't simply define LARGE_OFF_T to be 9223372036854775807,
6322 since some C++ compilers masquerading as C compilers
6323 incorrectly reject 9223372036854775807. */
6324 #define LARGE_OFF_T ((((off_t) 1 << 31) << 31) - 1 + (((off_t) 1 << 31) << 31))
6325 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
6326 && LARGE_OFF_T % 2147483647 == 1)
6336 if ac_fn_c_try_compile
"$LINENO"; then :
6337 ac_cv_sys_large_files
=1; break
6339 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
6340 ac_cv_sys_large_files
=unknown
6344 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_large_files" >&5
6345 $as_echo "$ac_cv_sys_large_files" >&6; }
6346 case $ac_cv_sys_large_files in #(
6349 cat >>confdefs.h
<<_ACEOF
6350 #define _LARGE_FILES $ac_cv_sys_large_files
6362 ac_cpp
='$CPP $CPPFLAGS'
6363 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6364 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6365 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
6366 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
6367 $as_echo_n "checking how to run the C preprocessor... " >&6; }
6368 # On Suns, sometimes $CPP names a directory.
6369 if test -n "$CPP" && test -d "$CPP"; then
6372 if test -z "$CPP"; then
6373 if ${ac_cv_prog_CPP+:} false
; then :
6374 $as_echo_n "(cached) " >&6
6376 # Double quotes because CPP needs to be expanded
6377 for CPP
in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
6380 for ac_c_preproc_warn_flag
in '' yes
6382 # Use a header file that comes with gcc, so configuring glibc
6383 # with a fresh cross-compiler works.
6384 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
6385 # <limits.h> exists even on freestanding compilers.
6386 # On the NeXT, cc -E runs the code through the compiler's parser,
6387 # not just through cpp. "Syntax error" is here to catch this case.
6388 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6389 /* end confdefs.h. */
6391 # include <limits.h>
6393 # include <assert.h>
6397 if ac_fn_c_try_cpp
"$LINENO"; then :
6400 # Broken: fails on valid input.
6403 rm -f conftest.err conftest.i conftest.
$ac_ext
6405 # OK, works on sane cases. Now check whether nonexistent headers
6406 # can be detected and how.
6407 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6408 /* end confdefs.h. */
6409 #include <ac_nonexistent.h>
6411 if ac_fn_c_try_cpp
"$LINENO"; then :
6412 # Broken: success on invalid input.
6415 # Passes both tests.
6419 rm -f conftest.err conftest.i conftest.
$ac_ext
6422 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
6423 rm -f conftest.i conftest.err conftest.
$ac_ext
6424 if $ac_preproc_ok; then :
6436 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
6437 $as_echo "$CPP" >&6; }
6439 for ac_c_preproc_warn_flag
in '' yes
6441 # Use a header file that comes with gcc, so configuring glibc
6442 # with a fresh cross-compiler works.
6443 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
6444 # <limits.h> exists even on freestanding compilers.
6445 # On the NeXT, cc -E runs the code through the compiler's parser,
6446 # not just through cpp. "Syntax error" is here to catch this case.
6447 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6448 /* end confdefs.h. */
6450 # include <limits.h>
6452 # include <assert.h>
6456 if ac_fn_c_try_cpp
"$LINENO"; then :
6459 # Broken: fails on valid input.
6462 rm -f conftest.err conftest.i conftest.
$ac_ext
6464 # OK, works on sane cases. Now check whether nonexistent headers
6465 # can be detected and how.
6466 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6467 /* end confdefs.h. */
6468 #include <ac_nonexistent.h>
6470 if ac_fn_c_try_cpp
"$LINENO"; then :
6471 # Broken: success on invalid input.
6474 # Passes both tests.
6478 rm -f conftest.err conftest.i conftest.
$ac_ext
6481 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
6482 rm -f conftest.i conftest.err conftest.
$ac_ext
6483 if $ac_preproc_ok; then :
6486 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
6487 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
6488 as_fn_error $?
"C preprocessor \"$CPP\" fails sanity check
6489 See \`config.log' for more details" "$LINENO" 5; }
6493 ac_cpp
='$CPP $CPPFLAGS'
6494 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6495 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6496 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
6499 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
6500 $as_echo_n "checking for ANSI C header files... " >&6; }
6501 if ${ac_cv_header_stdc+:} false
; then :
6502 $as_echo_n "(cached) " >&6
6504 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6505 /* end confdefs.h. */
6519 if ac_fn_c_try_compile
"$LINENO"; then :
6520 ac_cv_header_stdc
=yes
6522 ac_cv_header_stdc
=no
6524 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
6526 if test $ac_cv_header_stdc = yes; then
6527 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
6528 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6529 /* end confdefs.h. */
6533 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
6534 $EGREP "memchr" >/dev
/null
2>&1; then :
6537 ac_cv_header_stdc
=no
6543 if test $ac_cv_header_stdc = yes; then
6544 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
6545 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6546 /* end confdefs.h. */
6550 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
6551 $EGREP "free" >/dev
/null
2>&1; then :
6554 ac_cv_header_stdc
=no
6560 if test $ac_cv_header_stdc = yes; then
6561 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
6562 if test "$cross_compiling" = yes; then :
6565 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6566 /* end confdefs.h. */
6569 #if ((' ' & 0x0FF) == 0x020)
6570 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
6571 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
6573 # define ISLOWER(c) \
6574 (('a' <= (c) && (c) <= 'i') \
6575 || ('j' <= (c) && (c) <= 'r') \
6576 || ('s' <= (c) && (c) <= 'z'))
6577 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
6580 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
6585 for (i = 0; i < 256; i++)
6586 if (XOR (islower (i), ISLOWER (i))
6587 || toupper (i) != TOUPPER (i))
6592 if ac_fn_c_try_run
"$LINENO"; then :
6595 ac_cv_header_stdc
=no
6597 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext \
6598 conftest.
$ac_objext conftest.beam conftest.
$ac_ext
6603 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
6604 $as_echo "$ac_cv_header_stdc" >&6; }
6605 if test $ac_cv_header_stdc = yes; then
6607 $as_echo "#define STDC_HEADERS 1" >>confdefs.h
6611 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
6612 for ac_header
in sys
/types.h sys
/stat.h stdlib.h string.h memory.h
strings.h \
6613 inttypes.h stdint.h unistd.h
6615 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
6616 ac_fn_c_check_header_compile
"$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
6618 if eval test \"x\$
"$as_ac_Header"\" = x
"yes"; then :
6619 cat >>confdefs.h
<<_ACEOF
6620 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
6630 ApplicationServices
/ApplicationServices.h \
6631 AudioToolbox
/AudioConverter.h \
6632 AudioUnit
/AudioUnit.h \
6633 AudioUnit
/AudioComponent.h \
6636 CoreAudio
/CoreAudio.h \
6637 CoreServices
/CoreServices.h \
6638 DiskArbitration
/DiskArbitration.h \
6640 IOKit
/hid
/IOHIDLib.h \
6643 QuickTime
/ImageCompression.h \
6644 Security
/Security.h \
6695 netinet
/in_systm.h \
6758 valgrind
/memcheck.h \
6759 valgrind
/valgrind.h \
6763 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
6764 ac_fn_c_check_header_mongrel
"$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
6765 if eval test \"x\$
"$as_ac_Header"\" = x
"yes"; then :
6766 cat >>confdefs.h
<<_ACEOF
6767 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
6774 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether stat file-mode macros are broken" >&5
6775 $as_echo_n "checking whether stat file-mode macros are broken... " >&6; }
6776 if ${ac_cv_header_stat_broken+:} false
; then :
6777 $as_echo_n "(cached) " >&6
6779 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6780 /* end confdefs.h. */
6781 #include <sys/types.h>
6782 #include <sys/stat.h>
6784 #if defined S_ISBLK && defined S_IFDIR
6785 extern char c1[S_ISBLK (S_IFDIR) ? -1 : 1];
6788 #if defined S_ISBLK && defined S_IFCHR
6789 extern char c2[S_ISBLK (S_IFCHR) ? -1 : 1];
6792 #if defined S_ISLNK && defined S_IFREG
6793 extern char c3[S_ISLNK (S_IFREG) ? -1 : 1];
6796 #if defined S_ISSOCK && defined S_IFREG
6797 extern char c4[S_ISSOCK (S_IFREG) ? -1 : 1];
6801 if ac_fn_c_try_compile
"$LINENO"; then :
6802 ac_cv_header_stat_broken
=no
6804 ac_cv_header_stat_broken
=yes
6806 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
6808 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stat_broken" >&5
6809 $as_echo "$ac_cv_header_stat_broken" >&6; }
6810 if test $ac_cv_header_stat_broken = yes; then
6812 $as_echo "#define STAT_MACROS_BROKEN 1" >>confdefs.h
6818 for ac_header
in sys
/mount.h sys
/statfs.h sys
/sysctl.h sys
/user.h sys
/vfs.h
6820 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
6821 ac_fn_c_check_header_compile
"$LINENO" "$ac_header" "$as_ac_Header" "#include <sys/types.h>
6822 #ifdef HAVE_SYS_PARAM_H
6823 # include <sys/param.h>
6826 if eval test \"x\$
"$as_ac_Header"\" = x
"yes"; then :
6827 cat >>confdefs.h
<<_ACEOF
6828 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
6843 netinet
/if_ether.h \
6844 netinet
/if_inarp.h \
6853 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
6854 ac_fn_c_check_header_compile
"$LINENO" "$ac_header" "$as_ac_Header" "#include <sys/types.h>
6855 #ifdef HAVE_SYS_SOCKET_H
6856 # include <sys/socket.h>
6858 #ifdef HAVE_SYS_SOCKETVAR_H
6859 # include <sys/socketvar.h>
6861 #ifdef HAVE_NET_ROUTE_H
6862 # include <net/route.h>
6864 #ifdef HAVE_NETINET_IN_H
6865 # include <netinet/in.h>
6867 #ifdef HAVE_NETINET_IN_SYSTM_H
6868 # include <netinet/in_systm.h>
6870 #ifdef HAVE_NET_IF_H
6871 # include <net/if.h>
6873 #ifdef HAVE_NETINET_IP_H
6874 # include <netinet/ip.h>
6877 if eval test \"x\$
"$as_ac_Header"\" = x
"yes"; then :
6878 cat >>confdefs.h
<<_ACEOF
6879 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
6887 for ac_header
in netinet
/tcp_timer.h netinet
/udp_var.h netinet
/icmp_var.h netinet
/tcp_var.h
6889 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
6890 ac_fn_c_check_header_compile
"$LINENO" "$ac_header" "$as_ac_Header" "#include <sys/types.h>
6894 #ifdef HAVE_SYS_SOCKET_H
6895 # include <sys/socket.h>
6897 #ifdef HAVE_SYS_SOCKETVAR_H
6898 # include <sys/socketvar.h>
6900 #ifdef HAVE_SYS_TIMEOUT_H
6901 # include <sys/timeout.h>
6903 #ifdef HAVE_NETINET_IN_H
6904 # include <netinet/in.h>
6906 #ifdef HAVE_NETINET_IN_SYSTM_H
6907 # include <netinet/in_systm.h>
6909 #ifdef HAVE_NETINET_IP_H
6910 # include <netinet/ip.h>
6912 #ifdef HAVE_NETINET_IP_VAR_H
6913 # include <netinet/ip_var.h>
6915 #ifdef HAVE_NETINET_IP_ICMP_H
6916 # include <netinet/ip_icmp.h>
6918 #ifdef HAVE_NETINET_UDP_H
6919 # include <netinet/udp.h>
6921 #ifdef HAVE_NETINET_TCP_H
6922 # include <netinet/tcp.h>
6924 #ifdef HAVE_NETINET_TCP_TIMER_H
6925 #include <netinet/tcp_timer.h>
6928 if eval test \"x\$
"$as_ac_Header"\" = x
"yes"; then :
6929 cat >>confdefs.h
<<_ACEOF
6930 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
6938 for ac_header
in linux
/ipx.h linux
/irda.h linux
/rtnetlink.h
6940 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
6941 ac_fn_c_check_header_compile
"$LINENO" "$ac_header" "$as_ac_Header" "#include <sys/types.h>
6942 #ifdef HAVE_ASM_TYPES_H
6943 # include <asm/types.h>
6945 #ifdef HAVE_SYS_SOCKET_H
6946 # include <sys/socket.h>
6948 #ifdef HAVE_LINUX_TYPES_H
6949 # include <linux/types.h>
6952 if eval test \"x\$
"$as_ac_Header"\" = x
"yes"; then :
6953 cat >>confdefs.h
<<_ACEOF
6954 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
6962 for ac_header
in mach-o
/dyld_images.h
6964 ac_fn_c_check_header_compile
"$LINENO" "mach-o/dyld_images.h" "ac_cv_header_mach_o_dyld_images_h" "#ifdef HAVE_STDBOOL_H
6965 # include <stdbool.h>
6967 #ifdef HAVE_STDINT_H
6968 # include <stdint.h>
6971 if test "x$ac_cv_header_mach_o_dyld_images_h" = xyes
; then :
6972 cat >>confdefs.h
<<_ACEOF
6973 #define HAVE_MACH_O_DYLD_IMAGES_H 1
6981 for ac_header
in resolv.h
6983 ac_fn_c_check_header_compile
"$LINENO" "resolv.h" "ac_cv_header_resolv_h" "#include <sys/types.h>
6984 #ifdef HAVE_SYS_SOCKET_H
6985 # include <sys/socket.h>
6987 #ifdef HAVE_NETINET_IN_H
6988 # include <netinet/in.h>
6990 #ifdef HAVE_ARPA_NAMESER_H
6991 # include <arpa/nameser.h>
6994 if test "x$ac_cv_header_resolv_h" = xyes
; then :
6995 cat >>confdefs.h
<<_ACEOF
6996 #define HAVE_RESOLV_H 1
7004 for ac_header
in ifaddrs.h
7006 ac_fn_c_check_header_compile
"$LINENO" "ifaddrs.h" "ac_cv_header_ifaddrs_h" "#include <sys/types.h>
7008 if test "x$ac_cv_header_ifaddrs_h" = xyes
; then :
7009 cat >>confdefs.h
<<_ACEOF
7010 #define HAVE_IFADDRS_H 1
7018 for ac_header
in sys
/ucontext.h
7020 ac_fn_c_check_header_compile
"$LINENO" "sys/ucontext.h" "ac_cv_header_sys_ucontext_h" "#include <signal.h>
7022 if test "x$ac_cv_header_sys_ucontext_h" = xyes
; then :
7023 cat >>confdefs.h
<<_ACEOF
7024 #define HAVE_SYS_UCONTEXT_H 1
7032 for ac_header
in sys
/thr.h
7034 ac_fn_c_check_header_compile
"$LINENO" "sys/thr.h" "ac_cv_header_sys_thr_h" "#include <sys/types.h>
7035 #ifdef HAVE_SYS_UCONTEXT_H
7036 #include <sys/ucontext.h>
7039 if test "x$ac_cv_header_sys_thr_h" = xyes
; then :
7040 cat >>confdefs.h
<<_ACEOF
7041 #define HAVE_SYS_THR_H 1
7049 for ac_header
in pthread_np.h
7051 ac_fn_c_check_header_compile
"$LINENO" "pthread_np.h" "ac_cv_header_pthread_np_h" "#ifdef HAVE_PTHREAD_H
7052 #include <pthread.h>
7055 if test "x$ac_cv_header_pthread_np_h" = xyes
; then :
7056 cat >>confdefs.h
<<_ACEOF
7057 #define HAVE_PTHREAD_NP_H 1
7065 for ac_header
in linux
/videodev.h linux
/videodev2.h libv4l1.h
7067 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
7068 ac_fn_c_check_header_compile
"$LINENO" "$ac_header" "$as_ac_Header" "#ifdef HAVE_SYS_TIME_H
7069 #include <sys/time.h>
7071 #include <sys/types.h>
7072 #ifdef HAVE_ASM_TYPES_H
7073 #include <asm/types.h>
7076 if eval test \"x\$
"$as_ac_Header"\" = x
"yes"; then :
7077 cat >>confdefs.h
<<_ACEOF
7078 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
7086 for ac_header
in libprocstat.h
7088 ac_fn_c_check_header_compile
"$LINENO" "libprocstat.h" "ac_cv_header_libprocstat_h" "#ifdef HAVE_SYS_PARAM_H
7089 #include <sys/param.h>
7091 #ifdef HAVE_SYS_QUEUE_H
7092 #include <sys/queue.h>
7094 #ifdef HAVE_SYS_SOCKET_H
7095 #include <sys/socket.h>
7098 if test "x$ac_cv_header_libprocstat_h" = xyes
; then :
7099 cat >>confdefs.h
<<_ACEOF
7100 #define HAVE_LIBPROCSTAT_H 1
7109 dlldir
="\${libdir}/wine"
7113 DLLFLAGS
="-D_REENTRANT"
7122 STATIC_IMPLIBEXT
="def.a"
7123 # Extract the first word of "ldd", so it can be a program name with args.
7124 set dummy ldd
; ac_word
=$2
7125 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7126 $as_echo_n "checking for $ac_word... " >&6; }
7127 if ${ac_cv_path_LDD+:} false
; then :
7128 $as_echo_n "(cached) " >&6
7132 ac_cv_path_LDD
="$LDD" # Let the user override the test with a path.
7135 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7136 as_dummy
="/sbin:/usr/sbin:$PATH"
7137 for as_dir
in $as_dummy
7140 test -z "$as_dir" && as_dir
=.
7141 for ac_exec_ext
in '' $ac_executable_extensions; do
7142 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
7143 ac_cv_path_LDD
="$as_dir/$ac_word$ac_exec_ext"
7144 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7151 test -z "$ac_cv_path_LDD" && ac_cv_path_LDD
="true"
7156 if test -n "$LDD"; then
7157 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LDD" >&5
7158 $as_echo "$LDD" >&6; }
7160 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7161 $as_echo "no" >&6; }
7165 if test -n "$ac_tool_prefix"; then
7166 # Extract the first word of "${ac_tool_prefix}otool", so it can be a program name with args.
7167 set dummy
${ac_tool_prefix}otool
; ac_word
=$2
7168 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7169 $as_echo_n "checking for $ac_word... " >&6; }
7170 if ${ac_cv_prog_OTOOL+:} false
; then :
7171 $as_echo_n "(cached) " >&6
7173 if test -n "$OTOOL"; then
7174 ac_cv_prog_OTOOL
="$OTOOL" # Let the user override the test.
7176 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7180 test -z "$as_dir" && as_dir
=.
7181 for ac_exec_ext
in '' $ac_executable_extensions; do
7182 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
7183 ac_cv_prog_OTOOL
="${ac_tool_prefix}otool"
7184 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7193 OTOOL
=$ac_cv_prog_OTOOL
7194 if test -n "$OTOOL"; then
7195 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL" >&5
7196 $as_echo "$OTOOL" >&6; }
7198 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7199 $as_echo "no" >&6; }
7204 if test -z "$ac_cv_prog_OTOOL"; then
7206 # Extract the first word of "otool", so it can be a program name with args.
7207 set dummy otool
; ac_word
=$2
7208 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7209 $as_echo_n "checking for $ac_word... " >&6; }
7210 if ${ac_cv_prog_ac_ct_OTOOL+:} false
; then :
7211 $as_echo_n "(cached) " >&6
7213 if test -n "$ac_ct_OTOOL"; then
7214 ac_cv_prog_ac_ct_OTOOL
="$ac_ct_OTOOL" # Let the user override the test.
7216 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7220 test -z "$as_dir" && as_dir
=.
7221 for ac_exec_ext
in '' $ac_executable_extensions; do
7222 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
7223 ac_cv_prog_ac_ct_OTOOL
="otool"
7224 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7233 ac_ct_OTOOL
=$ac_cv_prog_ac_ct_OTOOL
7234 if test -n "$ac_ct_OTOOL"; then
7235 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL" >&5
7236 $as_echo "$ac_ct_OTOOL" >&6; }
7238 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7239 $as_echo "no" >&6; }
7242 if test "x$ac_ct_OTOOL" = x
; then
7245 case $cross_compiling:$ac_tool_warned in
7247 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7248 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7249 ac_tool_warned
=yes ;;
7254 OTOOL
="$ac_cv_prog_OTOOL"
7257 if test -n "$ac_tool_prefix"; then
7258 # Extract the first word of "${ac_tool_prefix}readelf", so it can be a program name with args.
7259 set dummy
${ac_tool_prefix}readelf
; ac_word
=$2
7260 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7261 $as_echo_n "checking for $ac_word... " >&6; }
7262 if ${ac_cv_prog_READELF+:} false
; then :
7263 $as_echo_n "(cached) " >&6
7265 if test -n "$READELF"; then
7266 ac_cv_prog_READELF
="$READELF" # Let the user override the test.
7268 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7272 test -z "$as_dir" && as_dir
=.
7273 for ac_exec_ext
in '' $ac_executable_extensions; do
7274 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
7275 ac_cv_prog_READELF
="${ac_tool_prefix}readelf"
7276 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7285 READELF
=$ac_cv_prog_READELF
7286 if test -n "$READELF"; then
7287 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $READELF" >&5
7288 $as_echo "$READELF" >&6; }
7290 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7291 $as_echo "no" >&6; }
7296 if test -z "$ac_cv_prog_READELF"; then
7297 ac_ct_READELF
=$READELF
7298 # Extract the first word of "readelf", so it can be a program name with args.
7299 set dummy readelf
; ac_word
=$2
7300 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7301 $as_echo_n "checking for $ac_word... " >&6; }
7302 if ${ac_cv_prog_ac_ct_READELF+:} false
; then :
7303 $as_echo_n "(cached) " >&6
7305 if test -n "$ac_ct_READELF"; then
7306 ac_cv_prog_ac_ct_READELF
="$ac_ct_READELF" # Let the user override the test.
7308 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7312 test -z "$as_dir" && as_dir
=.
7313 for ac_exec_ext
in '' $ac_executable_extensions; do
7314 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
7315 ac_cv_prog_ac_ct_READELF
="readelf"
7316 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7325 ac_ct_READELF
=$ac_cv_prog_ac_ct_READELF
7326 if test -n "$ac_ct_READELF"; then
7327 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_READELF" >&5
7328 $as_echo "$ac_ct_READELF" >&6; }
7330 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7331 $as_echo "no" >&6; }
7334 if test "x$ac_ct_READELF" = x
; then
7337 case $cross_compiling:$ac_tool_warned in
7339 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7340 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7341 ac_tool_warned
=yes ;;
7343 READELF
=$ac_ct_READELF
7346 READELF
="$ac_cv_prog_READELF"
7349 wine_rules_file
=conf$
$rules.
make
7350 rm -f $wine_rules_file
7352 GITIGNORE
="# Automatically generated by configure; DO NOT EDIT!!"
7353 ALL_TEST_RESOURCES
=""
7356 wine_fn_append_file
()
7358 as_fn_append
$1 " \\$as_nl $2"
7361 wine_fn_ignore_file
()
7364 */*) as_fn_append GITIGNORE
"$as_nl$1" ;;
7365 \
**) as_fn_append GITIGNORE
"$as_nl$1" ;;
7366 *) as_fn_append GITIGNORE
"$as_nl/$1" ;;
7370 wine_fn_append_rule
()
7372 $as_echo "$1" >>$wine_rules_file
7377 expr ",$ac_flags," : ".*,$1,.*" >/dev
/null
7380 wine_fn_depend_rules
()
7382 wine_fn_append_rule \
7383 "$ac_dir/Makefile: $srcdir/$ac_dir/Makefile.in $srcdir/Make.vars.in config.status \$(MAKEDEP)
7384 @./config.status --file $ac_dir/Makefile:Make.vars.in:$ac_dir/Makefile.in && \$(MAKEDEP) $ac_dir
7385 depend: $ac_dir/depend
7386 .PHONY: $ac_dir/depend
7387 $ac_dir/depend: \$(MAKEDEP) dummy
7388 @./config.status --file $ac_dir/Makefile:Make.vars.in:$ac_dir/Makefile.in && \$(MAKEDEP) $ac_dir"
7391 wine_fn_pot_rules
()
7393 test "x$with_gettextpo" = xyes ||
return
7395 if wine_fn_has_flag mc
7397 wine_fn_append_file ALL_POT_FILES
$ac_dir/msg.pot
7398 wine_fn_append_rule \
7399 "$ac_dir/msg.pot: $ac_dir/Makefile dummy
7400 @cd $ac_dir && \$(MAKE) msg.pot
7401 $ac_dir/msg.pot: tools/wmc include"
7403 if wine_fn_has_flag po
7405 wine_fn_append_file ALL_POT_FILES
$ac_dir/rsrc.pot
7406 wine_fn_append_rule \
7407 "$ac_dir/rsrc.pot: $ac_dir/Makefile dummy
7408 @cd $ac_dir && \$(MAKE) rsrc.pot
7409 $ac_dir/rsrc.pot: tools/wrc include"
7413 wine_fn_all_rules
()
7415 wine_fn_depend_rules
7416 wine_fn_append_rule \
7419 $ac_dir: $ac_dir/Makefile dummy
7420 @cd $ac_dir && \$(MAKE)"
7423 wine_fn_install_rules
()
7425 wine_fn_has_flag install-lib || wine_fn_has_flag install-dev ||
return
7427 wine_fn_append_rule \
7428 ".PHONY: $ac_dir/install $ac_dir/uninstall
7429 $ac_dir/install:: $ac_dir
7430 @cd $ac_dir && \$(MAKE) install
7431 $ac_dir/uninstall:: $ac_dir/Makefile
7432 @cd $ac_dir && \$(MAKE) uninstall
7433 install:: $ac_dir/install
7434 __uninstall__: $ac_dir/uninstall"
7436 if wine_fn_has_flag install-lib
7438 wine_fn_append_rule \
7439 ".PHONY: $ac_dir/install-lib
7440 $ac_dir/install-lib:: $ac_dir
7441 @cd $ac_dir && \$(MAKE) install-lib
7442 install-lib:: $ac_dir/install-lib"
7445 if wine_fn_has_flag install-dev
7447 wine_fn_append_rule \
7448 ".PHONY: $ac_dir/install-dev
7449 $ac_dir/install-dev:: $ac_dir
7450 @cd $ac_dir && \$(MAKE) install-dev
7451 install-dev:: $ac_dir/install-dev"
7455 wine_fn_clean_rules
()
7458 ac_extraclean
="$ac_dir/Makefile"
7459 test "$srcdir" = .
&& ac_extraclean
="$ac_extraclean $ac_dir/.gitignore"
7461 */tests
) ac_extraclean
="$ac_extraclean $ac_dir/testlist.c" ;;
7464 if wine_fn_has_flag clean
7466 wine_fn_append_rule \
7467 "__clean__: $ac_dir/clean
7468 .PHONY: $ac_dir/clean
7469 $ac_dir/clean: $ac_dir/Makefile
7470 @cd $ac_dir && \$(MAKE) clean
7471 \$(RM) $ac_extraclean"
7473 wine_fn_append_rule \
7474 "__clean__: $ac_dir/clean
7475 .PHONY: $ac_dir/clean
7476 $ac_dir/clean: dummy
7477 \$(RM) \$(CLEAN_FILES:%=$ac_dir/%) $ac_clean $ac_extraclean"
7481 wine_fn_disabled_rules
()
7484 ac_extraclean
="$ac_dir/Makefile"
7485 test "$srcdir" = .
&& ac_extraclean
="$ac_extraclean $ac_dir/.gitignore"
7487 wine_fn_append_rule \
7488 "__clean__: $ac_dir/clean
7489 .PHONY: $ac_dir/clean
7490 $ac_dir/clean: dummy
7491 \$(RM) \$(CLEAN_FILES:%=$ac_dir/%) $ac_clean $ac_extraclean"
7494 wine_fn_config_makefile
()
7500 if eval test \"x\$
"$ac_enable"\" = x
"no"; then :
7501 wine_fn_disabled_rules
; return
7504 wine_fn_install_rules
7508 wine_fn_config_lib
()
7512 ac_dir
=dlls
/$ac_name
7515 if test "x$enable_tools" = xno
; then :
7518 ac_deps
="tools/widl tools/winebuild tools/winegcc $ac_deps"
7523 wine_fn_append_rule \
7524 ".PHONY: $ac_dir/install $ac_dir/uninstall
7525 $ac_dir/install:: $ac_dir
7526 \$(INSTALL_DATA) $ac_dir/lib$ac_name.a \$(DESTDIR)\$(dlldir)/lib$ac_name.a
7528 \$(RM) \$(DESTDIR)\$(dlldir)/lib$ac_name.a
7529 install install-dev:: $ac_dir/install
7530 __uninstall__: $ac_dir/uninstall
7531 __builddeps__: $ac_dir
7535 wine_fn_config_dll
()
7538 ac_dir
=dlls
/$ac_name
7541 ac_implib
=${4:-$ac_name}
7542 ac_file
=$ac_dir/lib
$ac_implib
7547 if test "x$enable_tools" = xno
; then :
7550 ac_deps
="tools/widl tools/winebuild tools/winegcc $ac_deps"
7553 *16) ac_implibflags
=" -m16" ;;
7555 *) ac_dll
=$ac_dll.dll
;;
7559 wine_fn_has_flag implib
&& ac_clean
="$ac_clean $ac_file.$IMPLIBEXT"
7560 wine_fn_has_flag mc
&& ac_clean
="$ac_clean $ac_dir/msg.pot"
7561 wine_fn_has_flag po
&& ac_clean
="$ac_clean $ac_dir/rsrc.pot"
7562 test -n "$DLLEXT" || ac_clean
="$ac_clean $ac_dir/$ac_dll"
7564 if eval test \"x\$
"$ac_enable"\" = x
"no"; then :
7565 if wine_fn_has_flag implib
&& test "$ac_enable" != enable_win16
7567 wine_fn_depend_rules
7568 wine_fn_clean_rules
$ac_clean
7570 wine_fn_disabled_rules
$ac_clean
7575 wine_fn_clean_rules
$ac_clean
7576 wine_fn_append_rule \
7577 "$ac_dir: __builddeps__
7578 manpages htmlpages sgmlpages xmlpages:: $ac_dir/Makefile
7579 @cd $ac_dir && \$(MAKE) \$@
7580 .PHONY: $ac_dir/install-lib $ac_dir/uninstall
7581 install install-lib:: $ac_dir/install-lib
7582 __uninstall__: $ac_dir/uninstall"
7583 if test -n "$DLLEXT"
7585 wine_fn_append_rule \
7586 "$ac_dir/install-lib:: $ac_dir
7587 \$(INSTALL_PROGRAM) $ac_dir/$ac_dll$DLLEXT \$(DESTDIR)\$(dlldir)/$DLLPREFIX$ac_dll$DLLEXT
7588 \$(INSTALL_DATA) $ac_dir/$ac_dll.fake \$(DESTDIR)\$(fakedlldir)/$ac_dll
7590 \$(RM) \$(DESTDIR)\$(dlldir)/$DLLPREFIX$ac_dll$DLLEXT \$(DESTDIR)\$(fakedlldir)/$ac_dll"
7592 wine_fn_append_rule \
7593 "$ac_dir/install-lib:: $ac_dir
7594 \$(INSTALL_PROGRAM) $ac_dir/$ac_dll \$(DESTDIR)\$(dlldir)/$ac_dll
7596 \$(RM) \$(DESTDIR)\$(dlldir)/$ac_dll"
7602 if wine_fn_has_flag staticimplib
7604 wine_fn_append_rule \
7605 "__builddeps__: $ac_file.$IMPLIBEXT $ac_file.$STATIC_IMPLIBEXT
7606 $ac_file.$IMPLIBEXT $ac_file.$STATIC_IMPLIBEXT $ac_file.cross.a: $ac_deps
7607 $ac_file.def: $srcdir/$ac_dir/$ac_name.spec $ac_dir/Makefile \$(WINEBUILD)
7608 \$(WINEBUILD) \$(TARGETFLAGS)$ac_implibflags -w --def -o \$@ --export $srcdir/$ac_dir/$ac_name.spec
7609 $ac_file.$STATIC_IMPLIBEXT: $ac_dir/Makefile dummy
7610 @cd $ac_dir && \$(MAKE) lib$ac_implib.$STATIC_IMPLIBEXT
7611 .PHONY: $ac_dir/install-dev $ac_dir/uninstall
7612 $ac_dir/install-dev:: $ac_file.$IMPLIBEXT
7613 \$(INSTALL_DATA) $ac_file.$IMPLIBEXT \$(DESTDIR)\$(dlldir)/lib$ac_implib.$IMPLIBEXT
7615 \$(RM) \$(DESTDIR)\$(dlldir)/lib$ac_implib.$IMPLIBEXT
7616 install install-dev:: $ac_dir/install-dev
7617 __uninstall__: $ac_dir/uninstall"
7619 if test "$IMPLIBEXT" != "$STATIC_IMPLIBEXT"
7621 wine_fn_append_rule \
7622 "$ac_dir/install-dev:: $ac_file.$STATIC_IMPLIBEXT __builddeps__
7623 \$(INSTALL_DATA) $ac_file.$STATIC_IMPLIBEXT \$(DESTDIR)\$(dlldir)/lib$ac_implib.$STATIC_IMPLIBEXT
7625 \$(RM) \$(DESTDIR)\$(dlldir)/lib$ac_implib.$STATIC_IMPLIBEXT"
7628 if test -n "$CROSSTARGET" -a -z "$ac_implibflags"
7630 wine_fn_append_rule \
7631 "__builddeps__: $ac_file.cross.a
7632 $ac_file.cross.a: $ac_dir/Makefile dummy
7633 @cd $ac_dir && \$(MAKE) lib$ac_implib.cross.a"
7636 elif wine_fn_has_flag implib
7638 wine_fn_append_rule \
7639 "__builddeps__: $ac_file.$IMPLIBEXT
7640 $ac_file.def: $srcdir/$ac_dir/$ac_name.spec $ac_dir/Makefile \$(WINEBUILD)
7641 \$(WINEBUILD) \$(TARGETFLAGS)$ac_implibflags -w --def -o \$@ --export $srcdir/$ac_dir/$ac_name.spec
7642 $ac_file.a: $srcdir/$ac_dir/$ac_name.spec $ac_dir/Makefile \$(WINEBUILD)
7643 \$(WINEBUILD) \$(TARGETFLAGS)$ac_implibflags -w --implib -o \$@ --export $srcdir/$ac_dir/$ac_name.spec
7644 .PHONY: $ac_dir/install-dev $ac_dir/uninstall
7645 $ac_dir/install-dev:: $ac_file.$IMPLIBEXT
7646 \$(INSTALL_DATA) $ac_file.$IMPLIBEXT \$(DESTDIR)\$(dlldir)/lib$ac_implib.$IMPLIBEXT
7648 \$(RM) \$(DESTDIR)\$(dlldir)/lib$ac_implib.$IMPLIBEXT
7649 install install-dev:: $ac_dir/install-dev
7650 __uninstall__: $ac_dir/uninstall"
7651 if test -n "$CROSSTARGET" -a -z "$ac_implibflags"
7653 wine_fn_append_rule \
7654 "__builddeps__: $ac_file.cross.a
7655 $ac_file.cross.a: $srcdir/$ac_dir/$ac_name.spec $ac_dir/Makefile \$(WINEBUILD)
7656 \$(WINEBUILD) \$(CROSSTARGET:%=-b %)$ac_implibflags -w --implib -o \$@ --export $srcdir/$ac_dir/$ac_name.spec"
7659 if test "$ac_name" != "$ac_implib"
7661 wine_fn_append_rule \
7662 "__builddeps__: dlls/lib$ac_implib.$IMPLIBEXT
7663 dlls/lib$ac_implib.$IMPLIBEXT: $ac_file.$IMPLIBEXT
7664 \$(RM) \$@ && \$(LN_S) $ac_name/lib$ac_implib.$IMPLIBEXT \$@
7666 \$(RM) dlls/lib$ac_implib.$IMPLIBEXT"
7667 wine_fn_ignore_file
"dlls/lib$ac_implib.$IMPLIBEXT"
7668 if test -n "$CROSSTARGET" -a -z "$ac_implibflags"
7670 wine_fn_append_rule \
7671 "__builddeps__: dlls/lib$ac_implib.cross.a
7672 dlls/lib$ac_implib.cross.a: $ac_file.cross.a
7673 \$(RM) \$@ && \$(LN_S) $ac_name/lib$ac_implib.cross.a \$@
7675 \$(RM) dlls/lib$ac_implib.cross.a"
7676 wine_fn_ignore_file
"dlls/lib$ac_implib.cross.a"
7682 wine_fn_config_program
()
7685 ac_dir
=programs
/$ac_name
7692 *) ac_program
=$ac_program.exe
;;
7696 wine_fn_has_flag mc
&& ac_clean
="$ac_clean $ac_dir/msg.pot"
7697 wine_fn_has_flag po
&& ac_clean
="$ac_clean $ac_dir/rsrc.pot"
7698 wine_fn_has_flag manpage
&& ac_clean
="$ac_clean $ac_dir/$ac_name.man"
7699 test -n "$DLLEXT" || ac_clean
="$ac_clean $ac_dir/$ac_program"
7701 if eval test \"x\$
"$ac_enable"\" = x
"no"; then :
7702 wine_fn_disabled_rules
$ac_clean; return
7706 wine_fn_clean_rules
$ac_clean
7707 wine_fn_append_rule
"$ac_dir: __builddeps__"
7710 wine_fn_has_flag
install ||
return
7711 wine_fn_append_rule \
7712 ".PHONY: $ac_dir/install $ac_dir/uninstall
7713 install install-lib:: $ac_dir/install
7714 __uninstall__: $ac_dir/uninstall"
7716 if test -n "$DLLEXT"
7718 wine_fn_append_rule \
7719 "$ac_dir/install:: $ac_dir
7720 \$(INSTALL_PROGRAM) $ac_dir/$ac_program$DLLEXT \$(DESTDIR)\$(dlldir)/$DLLPREFIX$ac_program$DLLEXT
7721 \$(INSTALL_DATA) $ac_dir/$ac_program.fake \$(DESTDIR)\$(fakedlldir)/$ac_program
7723 \$(RM) \$(DESTDIR)\$(dlldir)/$DLLPREFIX$ac_program$DLLEXT \$(DESTDIR)\$(fakedlldir)/$ac_program"
7725 if test -z "$with_wine64" && wine_fn_has_flag installbin
7727 wine_fn_append_rule \
7728 "$ac_dir/install:: __tooldeps__
7729 \$(INSTALL_SCRIPT) \$(TOOLSDIR)/tools/wineapploader \$(DESTDIR)\$(bindir)/$ac_name
7731 \$(RM) \$(DESTDIR)\$(bindir)/$ac_name"
7734 wine_fn_append_rule \
7735 "$ac_dir/install:: $ac_dir
7736 \$(INSTALL_PROGRAM) $ac_dir/$ac_program \$(DESTDIR)\$(bindir)/$ac_program
7738 \$(RM) \$(DESTDIR)\$(bindir)/$ac_program"
7741 if test -z "$with_wine64" && wine_fn_has_flag manpage
7743 wine_fn_append_rule \
7744 "$ac_dir/install:: $ac_dir
7745 \$(INSTALL_DATA) $ac_dir/$ac_name.man \$(DESTDIR)\$(mandir)/man\$(prog_manext)/$ac_name.\$(prog_manext)
7747 \$(RM) \$(DESTDIR)\$(mandir)/man\$(prog_manext)/$ac_name.\$(prog_manext)"
7751 wine_fn_config_test
()
7758 test -n "$CROSSTARGET" && ac_clean
=`expr $ac_dir/${ac_name} : "\\(.*\\)_test"`_crosstest.exe
7759 test -n "$DLLEXT" || ac_clean
="$ac_dir/${ac_name}.exe $ac_dir/${ac_name}-stripped.exe"
7761 if test "x$enable_tests" = xno
; then :
7762 wine_fn_disabled_rules
$ac_clean; return
7765 wine_fn_append_file ALL_TEST_RESOURCES
$ac_name.res
7767 wine_fn_clean_rules
$ac_clean
7769 wine_fn_append_rule \
7770 "$ac_dir: programs/winetest/Makefile __builddeps__
7771 programs/winetest: $ac_dir
7772 check test: $ac_dir/test
7773 .PHONY: $ac_dir/test
7775 @cd $ac_dir && \$(MAKE) test
7777 \$(RM) $ac_dir/*.ok"
7779 if test -n "$CROSSTARGET"
7781 wine_fn_append_rule \
7782 "crosstest: $ac_dir/crosstest
7783 .PHONY: $ac_dir/crosstest
7784 $ac_dir/crosstest: $ac_dir/Makefile __builddeps__ dummy
7785 @cd $ac_dir && \$(MAKE) crosstest"
7789 wine_fn_config_tool
()
7793 if test "x$enable_tools" = xno
; then :
7798 wine_fn_install_rules
7801 wine_fn_append_rule
"__tooldeps__: $ac_dir"
7802 wine_fn_append_rule
"$ac_dir: libs/port"
7804 tools
/winebuild
) wine_fn_append_rule
"\$(WINEBUILD): $ac_dir" ;;
7808 wine_fn_config_symlink
()
7811 if test "x$1" = "x-d"
7817 wine_fn_append_rule \
7819 @./config.status \$@
7822 for f
in $ac_links; do wine_fn_ignore_file
$f; done
7823 test -n "$ac_linkdir" ||
return
7824 wine_fn_append_rule
"$ac_linkdir/Makefile $ac_linkdir/depend: $ac_links"
7828 test "x$enable_win64" != "xyes" || wine_binary
="wine64"
7829 loader_programs
="$wine_binary wine-installed"
7830 libwine_soversion
=`expr $libwine_version : '\([0-9]*\)\..*'`
7835 install install-lib:: wine-installed
7836 \$(INSTALL_PROGRAM) wine-installed \$(DESTDIR)\$(bindir)/$wine_binary
7839 \$(RM) \$(DESTDIR)\$(bindir)/$wine_binary
7845 if test -n "$ac_tool_prefix"; then
7846 # Extract the first word of "${ac_tool_prefix}dlltool", so it can be a program name with args.
7847 set dummy
${ac_tool_prefix}dlltool
; ac_word
=$2
7848 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7849 $as_echo_n "checking for $ac_word... " >&6; }
7850 if ${ac_cv_prog_DLLTOOL+:} false
; then :
7851 $as_echo_n "(cached) " >&6
7853 if test -n "$DLLTOOL"; then
7854 ac_cv_prog_DLLTOOL
="$DLLTOOL" # Let the user override the test.
7856 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7860 test -z "$as_dir" && as_dir
=.
7861 for ac_exec_ext
in '' $ac_executable_extensions; do
7862 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
7863 ac_cv_prog_DLLTOOL
="${ac_tool_prefix}dlltool"
7864 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7873 DLLTOOL
=$ac_cv_prog_DLLTOOL
7874 if test -n "$DLLTOOL"; then
7875 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DLLTOOL" >&5
7876 $as_echo "$DLLTOOL" >&6; }
7878 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7879 $as_echo "no" >&6; }
7884 if test -z "$ac_cv_prog_DLLTOOL"; then
7885 ac_ct_DLLTOOL
=$DLLTOOL
7886 # Extract the first word of "dlltool", so it can be a program name with args.
7887 set dummy dlltool
; ac_word
=$2
7888 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7889 $as_echo_n "checking for $ac_word... " >&6; }
7890 if ${ac_cv_prog_ac_ct_DLLTOOL+:} false
; then :
7891 $as_echo_n "(cached) " >&6
7893 if test -n "$ac_ct_DLLTOOL"; then
7894 ac_cv_prog_ac_ct_DLLTOOL
="$ac_ct_DLLTOOL" # Let the user override the test.
7896 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7900 test -z "$as_dir" && as_dir
=.
7901 for ac_exec_ext
in '' $ac_executable_extensions; do
7902 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
7903 ac_cv_prog_ac_ct_DLLTOOL
="dlltool"
7904 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7913 ac_ct_DLLTOOL
=$ac_cv_prog_ac_ct_DLLTOOL
7914 if test -n "$ac_ct_DLLTOOL"; then
7915 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DLLTOOL" >&5
7916 $as_echo "$ac_ct_DLLTOOL" >&6; }
7918 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7919 $as_echo "no" >&6; }
7922 if test "x$ac_ct_DLLTOOL" = x
; then
7925 case $cross_compiling:$ac_tool_warned in
7927 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7928 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7929 ac_tool_warned
=yes ;;
7931 DLLTOOL
=$ac_ct_DLLTOOL
7934 DLLTOOL
="$ac_cv_prog_DLLTOOL"
7940 STATIC_IMPLIBEXT
="a"
7941 enable_iphlpapi
=${enable_iphlpapi:-no}
7942 enable_kernel32
=${enable_kernel32:-no}
7943 enable_msvcrt
=${enable_msvcrt:-no}
7944 enable_ntdll
=${enable_ntdll:-no}
7945 enable_ws2_32
=${enable_ws2_32:-no}
7946 enable_loader
=${enable_loader:-no}
7947 enable_server
=${enable_server:-no}
7948 with_x
=${with_x:-no}
7949 with_pthread
=${with_pthread:-no}
7955 SOCKET_LIBS
="-L\$(top_builddir)/dlls/ws2_32 -lws2_32"
7959 libwine_targets
="libwine.dll libwine.a"
7961 OBJS = \$(C_SRCS:.c=.o) \$(EXTRA_OBJS)
7963 all: libwine.dll libwine.a
7965 libwine.a: \$(srcdir)/wine.def
7966 \$(DLLTOOL) -l \$@ -d \$(srcdir)/wine.def
7968 libwine.dll: \$(OBJS) \$(srcdir)/wine.def
7969 \$(CC) -shared \$(srcdir)/wine.def -o \$@ \$(OBJS) $crtlibs \$(EXTRALIBS)
7971 install install-lib:: libwine.dll
7972 \$(INSTALL_DATA) libwine.dll \$(DESTDIR)\$(libdir)/libwine.dll
7974 install install-dev:: libwine.a
7975 \$(INSTALL_DATA) libwine.a \$(DESTDIR)\$(libdir)/libwine.a
7978 -cd \$(DESTDIR)\$(libdir) && \$(RM) libwine.a libwine.dll
7984 for ac_header
in libunwind.h
7986 ac_fn_c_check_header_mongrel
"$LINENO" "libunwind.h" "ac_cv_header_libunwind_h" "$ac_includes_default"
7987 if test "x$ac_cv_header_libunwind_h" = xyes
; then :
7988 cat >>confdefs.h
<<_ACEOF
7989 #define HAVE_LIBUNWIND_H 1
7997 DLLFLAGS
="$DLLFLAGS -fPIC"
7998 LIBWINE_LDFLAGS
="-multiply_defined suppress"
7999 LDRPATH_INSTALL
="-Wl,-rpath,@loader_path/\`\$(MAKEDEP) -R \$(bindir) \$(libdir)\`"
8000 LDRPATH_LOCAL
="-Wl,-rpath,@loader_path/\$(top_builddir)/libs/wine"
8001 COREFOUNDATION_LIBS
="-framework CoreFoundation"
8003 IOKIT_LIBS
="-framework IOKit -framework CoreFoundation"
8005 FORCEFEEDBACK_LIBS
="-framework ForceFeedback -framework CoreFoundation"
8007 APPLICATIONSERVICES_LIBS
="-framework ApplicationServices"
8009 CORESERVICES_LIBS
="-framework CoreServices"
8011 APPKIT_LIBS
="-framework AppKit"
8013 LDEXECFLAGS
="-image_base 0x7bf00000 -Wl,-pagezero_size,0x1000,-segaddr,WINE_DOS,0x00001000,-segaddr,WINE_SHAREDHEAP,0x7f000000,-sectcreate,__TEXT,__info_plist,wine_info.plist"
8014 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,-no_pie" >&5
8015 $as_echo_n "checking whether the compiler supports -Wl,-no_pie... " >&6; }
8016 if ${ac_cv_cflags__Wl__no_pie+:} false
; then :
8017 $as_echo_n "(cached) " >&6
8019 ac_wine_try_cflags_saved
=$CFLAGS
8020 CFLAGS
="$CFLAGS -Wl,-no_pie"
8021 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8022 /* end confdefs.h. */
8023 int main(int argc, char **argv) { return 0; }
8025 if ac_fn_c_try_link
"$LINENO"; then :
8026 ac_cv_cflags__Wl__no_pie
=yes
8028 ac_cv_cflags__Wl__no_pie
=no
8030 rm -f core conftest.err conftest.
$ac_objext \
8031 conftest
$ac_exeext conftest.
$ac_ext
8032 CFLAGS
=$ac_wine_try_cflags_saved
8034 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl__no_pie" >&5
8035 $as_echo "$ac_cv_cflags__Wl__no_pie" >&6; }
8036 if test "x$ac_cv_cflags__Wl__no_pie" = xyes
; then :
8037 LDEXECFLAGS
="-Wl,-no_pie $LDEXECFLAGS"
8039 if test "$ac_cv_header_DiskArbitration_DiskArbitration_h" = "yes"
8041 DISKARBITRATION_LIBS
="-framework DiskArbitration -framework CoreFoundation"
8044 if test "$ac_cv_header_Security_Security_h" = "yes"
8046 SECURITY_LIBS
="-framework Security -framework CoreFoundation"
8048 ac_save_LIBS
="$LIBS"
8049 LIBS
="$LIBS $SECURITY_LIBS"
8050 for ac_func
in SSLCopyPeerCertificates
8052 ac_fn_c_check_func
"$LINENO" "SSLCopyPeerCertificates" "ac_cv_func_SSLCopyPeerCertificates"
8053 if test "x$ac_cv_func_SSLCopyPeerCertificates" = xyes
; then :
8054 cat >>confdefs.h
<<_ACEOF
8055 #define HAVE_SSLCOPYPEERCERTIFICATES 1
8061 LIBS
="$ac_save_LIBS"
8062 with_gnutls
=${with_gnutls:-no}
8064 if test "$ac_cv_header_CoreAudio_CoreAudio_h" = "yes" -a "$ac_cv_header_AudioUnit_AudioUnit_h" = "yes"
8066 if test "$ac_cv_header_AudioUnit_AudioComponent_h" = "yes"
8068 COREAUDIO_LIBS
="-framework CoreFoundation -framework CoreAudio -framework AudioUnit -framework AudioToolbox -framework CoreMIDI"
8071 COREAUDIO_LIBS
="-framework CoreAudio -framework AudioUnit -framework CoreServices -framework AudioToolbox -framework CoreMIDI"
8074 ac_save_LIBS
="$LIBS"
8075 LIBS
="$LIBS $COREAUDIO_LIBS"
8076 for ac_func
in AUGraphAddNode
8078 ac_fn_c_check_func
"$LINENO" "AUGraphAddNode" "ac_cv_func_AUGraphAddNode"
8079 if test "x$ac_cv_func_AUGraphAddNode" = xyes
; then :
8080 cat >>confdefs.h
<<_ACEOF
8081 #define HAVE_AUGRAPHADDNODE 1
8087 LIBS
="$ac_save_LIBS"
8089 if test "$ac_cv_header_OpenAL_al_h" = "yes"
8091 OPENAL_LIBS
="-framework OpenAL"
8094 cat >>confdefs.h
<<_ACEOF
8095 #define HAVE_OPENAL 1
8098 ac_cv_lib_openal
=yes
8100 if test "$ac_cv_header_OpenCL_opencl_h" = "yes"
8102 OPENCL_LIBS
="-framework OpenCL"
8104 ac_cv_lib_OpenCL_clGetPlatformInfo
=yes
8106 if test "$ac_cv_header_IOKit_hid_IOHIDLib_h" = "yes"
8108 ac_save_LIBS
="$LIBS"
8109 LIBS
="$LIBS $IOKIT_LIBS"
8110 for ac_func
in IOHIDManagerCreate
8112 ac_fn_c_check_func
"$LINENO" "IOHIDManagerCreate" "ac_cv_func_IOHIDManagerCreate"
8113 if test "x$ac_cv_func_IOHIDManagerCreate" = xyes
; then :
8114 cat >>confdefs.h
<<_ACEOF
8115 #define HAVE_IOHIDMANAGERCREATE 1
8121 LIBS
="$ac_save_LIBS"
8123 if test "$ac_cv_header_QuickTime_ImageCompression_h" = "yes"
8125 ac_save_LIBS
="$LIBS"
8126 LIBS
="-framework QuickTime -framework ApplicationServices -framework CoreVideo $LIBS"
8127 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for the QuickTime framework" >&5
8128 $as_echo_n "checking for the QuickTime framework... " >&6; }
8129 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8130 /* end confdefs.h. */
8131 #include <QuickTime/ImageCompression.h>
8135 CodecManagerVersion(NULL);
8140 if ac_fn_c_try_link
"$LINENO"; then :
8141 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
8142 $as_echo "yes" >&6; }
8143 QUICKTIME_LIBS
="-framework QuickTime -framework ApplicationServices -framework CoreVideo"
8145 enable_wineqtdecoder
=${enable_wineqtdecoder:-yes}
8147 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8148 $as_echo "no" >&6; }
8149 ac_cv_header_QuickTime_ImageCompression_h
=no
8151 rm -f core conftest.err conftest.
$ac_objext \
8152 conftest
$ac_exeext conftest.
$ac_ext
8153 LIBS
="$ac_save_LIBS"
8155 if test "$ac_cv_header_QuickTime_ImageCompression_h" != "yes"
8157 as_fn_append wine_notices
"|QuickTime ${notice_platform}development files not found, video decoding won't be supported."
8159 if test "$ac_cv_header_Carbon_Carbon_h" = "yes"
8161 CARBON_LIBS
="-framework Carbon"
8165 if test "$ac_cv_header_ApplicationServices_ApplicationServices_h" = "yes"
8167 ac_save_LIBS
="$LIBS"
8168 LIBS
="$LIBS $APPLICATIONSERVICES_LIBS"
8169 ac_fn_c_check_func
"$LINENO" "CGDisplayModeGetWidth" "ac_cv_func_CGDisplayModeGetWidth"
8170 if test "x$ac_cv_func_CGDisplayModeGetWidth" = xyes
; then :
8171 enable_winemac_drv
=${enable_winemac_drv:-yes}
8174 LIBS
="$ac_save_LIBS"
8177 if test "x$enable_win16" = "xyes"
8179 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether 16-bit code can be built correctly" >&5
8180 $as_echo_n "checking whether 16-bit code can be built correctly... " >&6; }
8181 if test "$cross_compiling" = yes; then :
8182 { $as_echo "$as_me:${as_lineno-$LINENO}: result: cross-compiling, assuming yes" >&5
8183 $as_echo "cross-compiling, assuming yes" >&6; }
8185 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8186 /* end confdefs.h. */
8189 "good:\tnop;nop\n\t"
8190 ".globl _testfunc\n"
8191 "_testfunc:\tcallw good");
8192 extern void testfunc();
8196 unsigned short *p = (unsigned short *)testfunc;
8197 return p[0] != 0xe866 || p[1] != 0xfffa
8202 if ac_fn_c_try_run
"$LINENO"; then :
8203 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
8204 $as_echo "yes" >&6; }
8206 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8207 $as_echo "no" >&6; }
8208 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
8210 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext \
8211 conftest.
$ac_objext conftest.beam conftest.
$ac_ext
8216 libwine_targets
="libwine.dylib libwine.$libwine_soversion.dylib libwine.$libwine_version.dylib"
8218 OBJS = \$(C_SRCS:.c=.o) \$(EXTRA_OBJS)
8222 libwine.$libwine_version.dylib: \$(OBJS)
8223 \$(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 \$@
8225 libwine.$libwine_soversion.dylib: libwine.$libwine_version.dylib
8226 \$(RM) \$@ && \$(LN_S) libwine.$libwine_version.dylib \$@
8228 libwine.dylib: libwine.$libwine_soversion.dylib
8229 \$(RM) \$@ && \$(LN_S) libwine.$libwine_soversion.dylib \$@
8231 install install-lib:: libwine.$libwine_version.dylib
8232 \$(INSTALL_PROGRAM) libwine.$libwine_version.dylib \$(DESTDIR)\$(libdir)/libwine.$libwine_version.dylib
8233 cd \$(DESTDIR)\$(libdir) && \$(RM) libwine.$libwine_soversion.dylib && \$(LN_S) libwine.$libwine_version.dylib libwine.$libwine_soversion.dylib
8235 install install-dev::
8236 cd \$(DESTDIR)\$(libdir) && \$(RM) libwine.dylib && \$(LN_S) libwine.$libwine_version.dylib libwine.dylib
8239 -cd \$(DESTDIR)\$(libdir) && \$(RM) libwine.dylib libwine.$libwine_soversion.dylib libwine.$libwine_version.dylib
8243 as_fn_append LOADER_RULES
"
8244 $wine_binary: main.o wine_info.plist
8245 \$(CC) -o \$@ $LDEXECFLAGS main.o \$(LIBWINE) \$(LIBPORT) \$(EXTRALIBS) \$(LDFLAGS) \$(LDRPATH_LOCAL)
8247 wine-installed: main.o wine_info.plist
8248 \$(CC) -o \$@ $LDEXECFLAGS main.o \$(LIBWINE) \$(LIBPORT) \$(EXTRALIBS) \$(LDFLAGS) \$(LDRPATH_INSTALL)
8253 DLLFLAGS
="$DLLFLAGS -fPIC"
8257 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -Wl,--export-dynamic" >&5
8258 $as_echo_n "checking whether the compiler supports -fPIC -Wl,--export-dynamic... " >&6; }
8259 if ${ac_cv_cflags__fPIC__Wl___export_dynamic+:} false
; then :
8260 $as_echo_n "(cached) " >&6
8262 ac_wine_try_cflags_saved
=$CFLAGS
8263 CFLAGS
="$CFLAGS -fPIC -Wl,--export-dynamic"
8264 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8265 /* end confdefs.h. */
8266 int main(int argc, char **argv) { return 0; }
8268 if ac_fn_c_try_link
"$LINENO"; then :
8269 ac_cv_cflags__fPIC__Wl___export_dynamic
=yes
8271 ac_cv_cflags__fPIC__Wl___export_dynamic
=no
8273 rm -f core conftest.err conftest.
$ac_objext \
8274 conftest
$ac_exeext conftest.
$ac_ext
8275 CFLAGS
=$ac_wine_try_cflags_saved
8277 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fPIC__Wl___export_dynamic" >&5
8278 $as_echo "$ac_cv_cflags__fPIC__Wl___export_dynamic" >&6; }
8279 if test "x$ac_cv_cflags__fPIC__Wl___export_dynamic" = xyes
; then :
8280 LDEXECFLAGS
="-Wl,--export-dynamic"
8282 as_ac_var
=`$as_echo "ac_cv_cflags_-fPIC -Wl,--rpath,\\$ORIGIN/../lib" | $as_tr_sh`
8283 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -Wl,--rpath,\$ORIGIN/../lib" >&5
8284 $as_echo_n "checking whether the compiler supports -fPIC -Wl,--rpath,\$ORIGIN/../lib... " >&6; }
8285 if eval \
${$as_ac_var+:} false
; then :
8286 $as_echo_n "(cached) " >&6
8288 ac_wine_try_cflags_saved
=$CFLAGS
8289 CFLAGS
="$CFLAGS -fPIC -Wl,--rpath,\$ORIGIN/../lib"
8290 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8291 /* end confdefs.h. */
8292 int main(int argc, char **argv) { return 0; }
8294 if ac_fn_c_try_link
"$LINENO"; then :
8295 eval "$as_ac_var=yes"
8297 eval "$as_ac_var=no"
8299 rm -f core conftest.err conftest.
$ac_objext \
8300 conftest
$ac_exeext conftest.
$ac_ext
8301 CFLAGS
=$ac_wine_try_cflags_saved
8303 eval ac_res
=\$
$as_ac_var
8304 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
8305 $as_echo "$ac_res" >&6; }
8306 if eval test \"x\$
"$as_ac_var"\" = x
"yes"; then :
8307 LDRPATH_INSTALL
="-Wl,--rpath,\\\$\$ORIGIN/\`\$(MAKEDEP) -R \$(bindir) \$(libdir)\`"
8308 LDRPATH_LOCAL
="-Wl,--rpath,\\\$\$ORIGIN/\$(top_builddir)/libs/wine"
8310 as_ac_var
=`$as_echo "ac_cv_cflags_-fPIC -Wl,-R,\\$ORIGIN/../lib" | $as_tr_sh`
8311 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -Wl,-R,\$ORIGIN/../lib" >&5
8312 $as_echo_n "checking whether the compiler supports -fPIC -Wl,-R,\$ORIGIN/../lib... " >&6; }
8313 if eval \
${$as_ac_var+:} false
; then :
8314 $as_echo_n "(cached) " >&6
8316 ac_wine_try_cflags_saved
=$CFLAGS
8317 CFLAGS
="$CFLAGS -fPIC -Wl,-R,\$ORIGIN/../lib"
8318 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8319 /* end confdefs.h. */
8320 int main(int argc, char **argv) { return 0; }
8322 if ac_fn_c_try_link
"$LINENO"; then :
8323 eval "$as_ac_var=yes"
8325 eval "$as_ac_var=no"
8327 rm -f core conftest.err conftest.
$ac_objext \
8328 conftest
$ac_exeext conftest.
$ac_ext
8329 CFLAGS
=$ac_wine_try_cflags_saved
8331 eval ac_res
=\$
$as_ac_var
8332 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
8333 $as_echo "$ac_res" >&6; }
8334 if eval test \"x\$
"$as_ac_var"\" = x
"yes"; then :
8335 LDRPATH_INSTALL
="-Wl,-R,\\\$\$ORIGIN/\`\$(MAKEDEP) -R \$(bindir) \$(libdir)\`"
8336 LDRPATH_LOCAL
="-Wl,-R,\\\$\$ORIGIN/\$(top_builddir)/libs/wine"
8340 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,--enable-new-dtags" >&5
8341 $as_echo_n "checking whether the compiler supports -Wl,--enable-new-dtags... " >&6; }
8342 if ${ac_cv_cflags__Wl___enable_new_dtags+:} false
; then :
8343 $as_echo_n "(cached) " >&6
8345 ac_wine_try_cflags_saved
=$CFLAGS
8346 CFLAGS
="$CFLAGS -Wl,--enable-new-dtags"
8347 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8348 /* end confdefs.h. */
8349 int main(int argc, char **argv) { return 0; }
8351 if ac_fn_c_try_link
"$LINENO"; then :
8352 ac_cv_cflags__Wl___enable_new_dtags
=yes
8354 ac_cv_cflags__Wl___enable_new_dtags
=no
8356 rm -f core conftest.err conftest.
$ac_objext \
8357 conftest
$ac_exeext conftest.
$ac_ext
8358 CFLAGS
=$ac_wine_try_cflags_saved
8360 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl___enable_new_dtags" >&5
8361 $as_echo "$ac_cv_cflags__Wl___enable_new_dtags" >&6; }
8362 if test "x$ac_cv_cflags__Wl___enable_new_dtags" = xyes
; then :
8363 LDRPATH_INSTALL
="$LDRPATH_INSTALL -Wl,--enable-new-dtags"
8367 *i
[3456789]86* | x86_64
)
8368 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,--section-start,.interp=0x7bf00400" >&5
8369 $as_echo_n "checking whether the compiler supports -Wl,--section-start,.interp=0x7bf00400... " >&6; }
8370 if ${ac_cv_cflags__Wl___section_start__interp_0x7bf00400+:} false
; then :
8371 $as_echo_n "(cached) " >&6
8373 ac_wine_try_cflags_saved
=$CFLAGS
8374 CFLAGS
="$CFLAGS -Wl,--section-start,.interp=0x7bf00400"
8375 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8376 /* end confdefs.h. */
8377 int main(int argc, char **argv) { return 0; }
8379 if ac_fn_c_try_link
"$LINENO"; then :
8380 ac_cv_cflags__Wl___section_start__interp_0x7bf00400
=yes
8382 ac_cv_cflags__Wl___section_start__interp_0x7bf00400
=no
8384 rm -f core conftest.err conftest.
$ac_objext \
8385 conftest
$ac_exeext conftest.
$ac_ext
8386 CFLAGS
=$ac_wine_try_cflags_saved
8388 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl___section_start__interp_0x7bf00400" >&5
8389 $as_echo "$ac_cv_cflags__Wl___section_start__interp_0x7bf00400" >&6; }
8390 if test "x$ac_cv_cflags__Wl___section_start__interp_0x7bf00400" = xyes
; then :
8391 LDEXECFLAGS
="$LDEXECFLAGS -Wl,--section-start,.interp=0x7bf00400"
8396 libwine_targets
="libwine.so"
8398 OBJS = \$(C_SRCS:.c=.o) \$(EXTRA_OBJS)
8402 libwine.so: \$(OBJS)
8403 \$(CC) -shared \$(OBJS) \$(EXTRALIBS) \$(LDFLAGS) \$(LIBS) -o \$@
8405 install install-lib:: libwine.so
8406 \$(INSTALL_PROGRAM) libwine.so \$(DESTDIR)\$(libdir)/libwine.so
8409 \$(RM) \$(DESTDIR)\$(libdir)/libwine.so
8413 as_fn_append LOADER_RULES
"
8414 $wine_binary: main.o
8415 \$(CC) -o \$@ $LDEXECFLAGS main.o \$(LIBWINE) \$(LIBPORT) \$(EXTRALIBS) \$(LDFLAGS) \$(LDRPATH_LOCAL)
8417 wine-installed: main.o
8418 \$(CC) -o \$@ $LDEXECFLAGS main.o \$(LIBWINE) \$(LIBPORT) \$(EXTRALIBS) \$(LDFLAGS) \$(LDRPATH_INSTALL)
8423 DLLFLAGS
="$DLLFLAGS -fPIC"
8425 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we can build a GNU style ELF dll" >&5
8426 $as_echo_n "checking whether we can build a GNU style ELF dll... " >&6; }
8427 if ${ac_cv_c_dll_gnuelf+:} false
; then :
8428 $as_echo_n "(cached) " >&6
8430 ac_wine_try_cflags_saved
=$CFLAGS
8431 CFLAGS
="$CFLAGS -fPIC -shared -Wl,-Bsymbolic"
8432 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8433 /* end confdefs.h. */
8436 if ac_fn_c_try_link
"$LINENO"; then :
8437 ac_cv_c_dll_gnuelf
="yes"
8439 ac_cv_c_dll_gnuelf
="no"
8441 rm -f core conftest.err conftest.
$ac_objext \
8442 conftest
$ac_exeext conftest.
$ac_ext
8443 CFLAGS
=$ac_wine_try_cflags_saved
8445 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_dll_gnuelf" >&5
8446 $as_echo "$ac_cv_c_dll_gnuelf" >&6; }
8447 if test "$ac_cv_c_dll_gnuelf" = "yes"
8449 LDSHARED
="\$(CC) -shared"
8450 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -shared -Wl,-soname,confest.so.1" >&5
8451 $as_echo_n "checking whether the compiler supports -fPIC -shared -Wl,-soname,confest.so.1... " >&6; }
8452 if ${ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1+:} false
; then :
8453 $as_echo_n "(cached) " >&6
8455 ac_wine_try_cflags_saved
=$CFLAGS
8456 CFLAGS
="$CFLAGS -fPIC -shared -Wl,-soname,confest.so.1"
8457 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8458 /* end confdefs.h. */
8459 int main(int argc, char **argv) { return 0; }
8461 if ac_fn_c_try_link
"$LINENO"; then :
8462 ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1
=yes
8464 ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1
=no
8466 rm -f core conftest.err conftest.
$ac_objext \
8467 conftest
$ac_exeext conftest.
$ac_ext
8468 CFLAGS
=$ac_wine_try_cflags_saved
8470 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1" >&5
8471 $as_echo "$ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1" >&6; }
8472 if test "x$ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1" = xyes
; then :
8473 LDSHARED
="\$(CC) -shared -Wl,-soname,libwine.so.$libwine_soversion"
8475 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -shared -Wl,-h,confest.so.1" >&5
8476 $as_echo_n "checking whether the compiler supports -fPIC -shared -Wl,-h,confest.so.1... " >&6; }
8477 if ${ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1+:} false
; then :
8478 $as_echo_n "(cached) " >&6
8480 ac_wine_try_cflags_saved
=$CFLAGS
8481 CFLAGS
="$CFLAGS -fPIC -shared -Wl,-h,confest.so.1"
8482 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8483 /* end confdefs.h. */
8484 int main(int argc, char **argv) { return 0; }
8486 if ac_fn_c_try_link
"$LINENO"; then :
8487 ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1
=yes
8489 ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1
=no
8491 rm -f core conftest.err conftest.
$ac_objext \
8492 conftest
$ac_exeext conftest.
$ac_ext
8493 CFLAGS
=$ac_wine_try_cflags_saved
8495 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1" >&5
8496 $as_echo "$ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1" >&6; }
8497 if test "x$ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1" = xyes
; then :
8498 LDSHARED
="\$(CC) -shared -Wl,-h,libwine.so.$libwine_soversion"
8502 echo '{ global: *; };' >conftest.map
8503 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -shared -Wl,--version-script=conftest.map" >&5
8504 $as_echo_n "checking whether the compiler supports -fPIC -shared -Wl,--version-script=conftest.map... " >&6; }
8505 if ${ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map+:} false
; then :
8506 $as_echo_n "(cached) " >&6
8508 ac_wine_try_cflags_saved
=$CFLAGS
8509 CFLAGS
="$CFLAGS -fPIC -shared -Wl,--version-script=conftest.map"
8510 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8511 /* end confdefs.h. */
8512 int main(int argc, char **argv) { return 0; }
8514 if ac_fn_c_try_link
"$LINENO"; then :
8515 ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map
=yes
8517 ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map
=no
8519 rm -f core conftest.err conftest.
$ac_objext \
8520 conftest
$ac_exeext conftest.
$ac_ext
8521 CFLAGS
=$ac_wine_try_cflags_saved
8523 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map" >&5
8524 $as_echo "$ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map" >&6; }
8525 if test "x$ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map" = xyes
; then :
8526 LDSHARED
="$LDSHARED -Wl,--version-script=\$(srcdir)/wine.map"
8530 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -Wl,--export-dynamic" >&5
8531 $as_echo_n "checking whether the compiler supports -fPIC -Wl,--export-dynamic... " >&6; }
8532 if ${ac_cv_cflags__fPIC__Wl___export_dynamic+:} false
; then :
8533 $as_echo_n "(cached) " >&6
8535 ac_wine_try_cflags_saved
=$CFLAGS
8536 CFLAGS
="$CFLAGS -fPIC -Wl,--export-dynamic"
8537 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8538 /* end confdefs.h. */
8539 int main(int argc, char **argv) { return 0; }
8541 if ac_fn_c_try_link
"$LINENO"; then :
8542 ac_cv_cflags__fPIC__Wl___export_dynamic
=yes
8544 ac_cv_cflags__fPIC__Wl___export_dynamic
=no
8546 rm -f core conftest.err conftest.
$ac_objext \
8547 conftest
$ac_exeext conftest.
$ac_ext
8548 CFLAGS
=$ac_wine_try_cflags_saved
8550 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fPIC__Wl___export_dynamic" >&5
8551 $as_echo "$ac_cv_cflags__fPIC__Wl___export_dynamic" >&6; }
8552 if test "x$ac_cv_cflags__fPIC__Wl___export_dynamic" = xyes
; then :
8553 LDEXECFLAGS
="-Wl,--export-dynamic"
8556 as_ac_var
=`$as_echo "ac_cv_cflags_-fPIC -Wl,--rpath,\\$ORIGIN/../lib" | $as_tr_sh`
8557 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -Wl,--rpath,\$ORIGIN/../lib" >&5
8558 $as_echo_n "checking whether the compiler supports -fPIC -Wl,--rpath,\$ORIGIN/../lib... " >&6; }
8559 if eval \
${$as_ac_var+:} false
; then :
8560 $as_echo_n "(cached) " >&6
8562 ac_wine_try_cflags_saved
=$CFLAGS
8563 CFLAGS
="$CFLAGS -fPIC -Wl,--rpath,\$ORIGIN/../lib"
8564 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8565 /* end confdefs.h. */
8566 int main(int argc, char **argv) { return 0; }
8568 if ac_fn_c_try_link
"$LINENO"; then :
8569 eval "$as_ac_var=yes"
8571 eval "$as_ac_var=no"
8573 rm -f core conftest.err conftest.
$ac_objext \
8574 conftest
$ac_exeext conftest.
$ac_ext
8575 CFLAGS
=$ac_wine_try_cflags_saved
8577 eval ac_res
=\$
$as_ac_var
8578 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
8579 $as_echo "$ac_res" >&6; }
8580 if eval test \"x\$
"$as_ac_var"\" = x
"yes"; then :
8581 LDRPATH_INSTALL
="-Wl,--rpath,\\\$\$ORIGIN/\`\$(MAKEDEP) -R \$(bindir) \$(libdir)\`"
8582 LDRPATH_LOCAL
="-Wl,--rpath,\\\$\$ORIGIN/\$(top_builddir)/libs/wine"
8584 as_ac_var
=`$as_echo "ac_cv_cflags_-fPIC -Wl,-R,\\$ORIGIN/../lib" | $as_tr_sh`
8585 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -Wl,-R,\$ORIGIN/../lib" >&5
8586 $as_echo_n "checking whether the compiler supports -fPIC -Wl,-R,\$ORIGIN/../lib... " >&6; }
8587 if eval \
${$as_ac_var+:} false
; then :
8588 $as_echo_n "(cached) " >&6
8590 ac_wine_try_cflags_saved
=$CFLAGS
8591 CFLAGS
="$CFLAGS -fPIC -Wl,-R,\$ORIGIN/../lib"
8592 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8593 /* end confdefs.h. */
8594 int main(int argc, char **argv) { return 0; }
8596 if ac_fn_c_try_link
"$LINENO"; then :
8597 eval "$as_ac_var=yes"
8599 eval "$as_ac_var=no"
8601 rm -f core conftest.err conftest.
$ac_objext \
8602 conftest
$ac_exeext conftest.
$ac_ext
8603 CFLAGS
=$ac_wine_try_cflags_saved
8605 eval ac_res
=\$
$as_ac_var
8606 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
8607 $as_echo "$ac_res" >&6; }
8608 if eval test \"x\$
"$as_ac_var"\" = x
"yes"; then :
8609 LDRPATH_INSTALL
="-Wl,-R,\\\$\$ORIGIN/\`\$(MAKEDEP) -R \$(bindir) \$(libdir)\`"
8610 LDRPATH_LOCAL
="-Wl,-R,\\\$\$ORIGIN/\$(top_builddir)/libs/wine"
8614 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,--enable-new-dtags" >&5
8615 $as_echo_n "checking whether the compiler supports -Wl,--enable-new-dtags... " >&6; }
8616 if ${ac_cv_cflags__Wl___enable_new_dtags+:} false
; then :
8617 $as_echo_n "(cached) " >&6
8619 ac_wine_try_cflags_saved
=$CFLAGS
8620 CFLAGS
="$CFLAGS -Wl,--enable-new-dtags"
8621 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8622 /* end confdefs.h. */
8623 int main(int argc, char **argv) { return 0; }
8625 if ac_fn_c_try_link
"$LINENO"; then :
8626 ac_cv_cflags__Wl___enable_new_dtags
=yes
8628 ac_cv_cflags__Wl___enable_new_dtags
=no
8630 rm -f core conftest.err conftest.
$ac_objext \
8631 conftest
$ac_exeext conftest.
$ac_ext
8632 CFLAGS
=$ac_wine_try_cflags_saved
8634 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl___enable_new_dtags" >&5
8635 $as_echo "$ac_cv_cflags__Wl___enable_new_dtags" >&6; }
8636 if test "x$ac_cv_cflags__Wl___enable_new_dtags" = xyes
; then :
8637 LDRPATH_INSTALL
="$LDRPATH_INSTALL -Wl,--enable-new-dtags"
8641 *i
[3456789]86* | x86_64
)
8642 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,--section-start,.interp=0x7bf00400" >&5
8643 $as_echo_n "checking whether the compiler supports -Wl,--section-start,.interp=0x7bf00400... " >&6; }
8644 if ${ac_cv_cflags__Wl___section_start__interp_0x7bf00400+:} false
; then :
8645 $as_echo_n "(cached) " >&6
8647 ac_wine_try_cflags_saved
=$CFLAGS
8648 CFLAGS
="$CFLAGS -Wl,--section-start,.interp=0x7bf00400"
8649 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8650 /* end confdefs.h. */
8651 int main(int argc, char **argv) { return 0; }
8653 if ac_fn_c_try_link
"$LINENO"; then :
8654 ac_cv_cflags__Wl___section_start__interp_0x7bf00400
=yes
8656 ac_cv_cflags__Wl___section_start__interp_0x7bf00400
=no
8658 rm -f core conftest.err conftest.
$ac_objext \
8659 conftest
$ac_exeext conftest.
$ac_ext
8660 CFLAGS
=$ac_wine_try_cflags_saved
8662 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl___section_start__interp_0x7bf00400" >&5
8663 $as_echo "$ac_cv_cflags__Wl___section_start__interp_0x7bf00400" >&6; }
8664 if test "x$ac_cv_cflags__Wl___section_start__interp_0x7bf00400" = xyes
; then :
8666 freebsd
* | kfreebsd
*-gnu) LDEXECFLAGS
="$LDEXECFLAGS -Wl,--section-start,.interp=0x60000400" ;;
8667 *) LDEXECFLAGS
="$LDEXECFLAGS -Wl,--section-start,.interp=0x7bf00400" ;;
8671 # Extract the first word of "prelink", so it can be a program name with args.
8672 set dummy prelink
; ac_word
=$2
8673 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8674 $as_echo_n "checking for $ac_word... " >&6; }
8675 if ${ac_cv_path_PRELINK+:} false
; then :
8676 $as_echo_n "(cached) " >&6
8680 ac_cv_path_PRELINK
="$PRELINK" # Let the user override the test with a path.
8683 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
8684 for as_dir
in /sbin
/usr
/sbin
$PATH
8687 test -z "$as_dir" && as_dir
=.
8688 for ac_exec_ext
in '' $ac_executable_extensions; do
8689 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
8690 ac_cv_path_PRELINK
="$as_dir/$ac_word$ac_exec_ext"
8691 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8698 test -z "$ac_cv_path_PRELINK" && ac_cv_path_PRELINK
="false"
8702 PRELINK
=$ac_cv_path_PRELINK
8703 if test -n "$PRELINK"; then
8704 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PRELINK" >&5
8705 $as_echo "$PRELINK" >&6; }
8707 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8708 $as_echo "no" >&6; }
8712 if test "x$PRELINK" = xfalse
8714 as_fn_append wine_warnings
"|prelink not found, base address of core dlls won't be set correctly."
8720 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we can build a UnixWare (Solaris) dll" >&5
8721 $as_echo_n "checking whether we can build a UnixWare (Solaris) dll... " >&6; }
8722 if ${ac_cv_c_dll_unixware+:} false
; then :
8723 $as_echo_n "(cached) " >&6
8725 ac_wine_try_cflags_saved
=$CFLAGS
8726 CFLAGS
="$CFLAGS -fPIC -Wl,-G,-h,conftest.so.1.0,-B,symbolic"
8727 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8728 /* end confdefs.h. */
8731 if ac_fn_c_try_link
"$LINENO"; then :
8732 ac_cv_c_dll_unixware
="yes"
8734 ac_cv_c_dll_unixware
="no"
8736 rm -f core conftest.err conftest.
$ac_objext \
8737 conftest
$ac_exeext conftest.
$ac_ext
8738 CFLAGS
=$ac_wine_try_cflags_saved
8740 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_dll_unixware" >&5
8741 $as_echo "$ac_cv_c_dll_unixware" >&6; }
8742 if test "$ac_cv_c_dll_unixware" = "yes"
8744 LDSHARED
="\$(CC) -Wl,-G,-h,libwine.so.$libwine_soversion"
8747 libwine_targets
="libwine.so libwine.so.$libwine_soversion libwine.so.$libwine_version"
8749 OBJS = \$(C_SRCS:.c=.o) \$(EXTRA_OBJS)
8753 libwine.so.$libwine_version: \$(OBJS) \$(srcdir)/wine.map
8754 $LDSHARED \$(OBJS) \$(EXTRALIBS) \$(LDFLAGS) \$(LIBS) -o \$@
8756 libwine.so.$libwine_soversion: libwine.so.$libwine_version
8757 \$(RM) \$@ && \$(LN_S) libwine.so.$libwine_version \$@
8759 libwine.so: libwine.so.$libwine_soversion
8760 \$(RM) \$@ && \$(LN_S) libwine.so.$libwine_soversion \$@
8762 install install-lib:: libwine.so.$libwine_version
8763 \$(INSTALL_PROGRAM) libwine.so.$libwine_version \$(DESTDIR)\$(libdir)/libwine.so.$libwine_version
8764 cd \$(DESTDIR)\$(libdir) && \$(RM) libwine.so.$libwine_soversion && \$(LN_S) libwine.so.$libwine_version libwine.so.$libwine_soversion
8766 install install-dev::
8767 cd \$(DESTDIR)\$(libdir) && \$(RM) libwine.so && \$(LN_S) libwine.so.$libwine_version libwine.so
8770 -cd \$(DESTDIR)\$(libdir) && \$(RM) libwine.so libwine.so.$libwine_soversion libwine.so.$libwine_version
8774 as_fn_append LOADER_RULES
"
8775 $wine_binary: main.o
8776 \$(CC) -o \$@ $LDEXECFLAGS main.o \$(LIBWINE) \$(LIBPORT) \$(EXTRALIBS) \$(LDFLAGS) \$(LDRPATH_LOCAL)
8778 wine-installed: main.o
8779 \$(CC) -o \$@ $LDEXECFLAGS main.o \$(LIBWINE) \$(LIBPORT) \$(EXTRALIBS) \$(LDFLAGS) \$(LDRPATH_INSTALL)
8784 as_fn_append LIBWINE_RULES
"
8785 EXTRA_TARGETS = $libwine_targets
8788 enable_wineqtdecoder
=${enable_wineqtdecoder:-no}
8789 enable_winemac_drv
=${enable_winemac_drv:-no}
8793 if test "$cross_compiling" = "no" -a "x$enable_tests" != xno
-a "$LIBEXT" != "dll"
8797 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
8800 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 " ;;
8802 ac_prefix_list
="" ;;
8804 for ac_prog
in $ac_prefix_list
8806 # Extract the first word of "$ac_prog", so it can be a program name with args.
8807 set dummy
$ac_prog; ac_word
=$2
8808 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8809 $as_echo_n "checking for $ac_word... " >&6; }
8810 if ${ac_cv_prog_CROSSCC+:} false
; then :
8811 $as_echo_n "(cached) " >&6
8813 if test -n "$CROSSCC"; then
8814 ac_cv_prog_CROSSCC
="$CROSSCC" # Let the user override the test.
8816 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
8820 test -z "$as_dir" && as_dir
=.
8821 for ac_exec_ext
in '' $ac_executable_extensions; do
8822 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
8823 ac_cv_prog_CROSSCC
="$ac_prog"
8824 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8833 CROSSCC
=$ac_cv_prog_CROSSCC
8834 if test -n "$CROSSCC"; then
8835 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CROSSCC" >&5
8836 $as_echo "$CROSSCC" >&6; }
8838 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8839 $as_echo "no" >&6; }
8843 test -n "$CROSSCC" && break
8845 test -n "$CROSSCC" || CROSSCC
="false"
8847 if test "$CROSSCC" != "false"
8851 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CROSSCC works" >&5
8852 $as_echo_n "checking whether $CROSSCC works... " >&6; }
8853 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8854 /* end confdefs.h. */
8864 if ac_fn_c_try_compile
"$LINENO"; then :
8865 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
8866 $as_echo "yes" >&6; }
8872 *-gcc) CROSSTARGET
=`expr "$1" : '\(.*\)-gcc'` ;;
8877 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8878 $as_echo "no" >&6; }
8880 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
8886 if test "$ac_cv_header_pthread_h" = "yes"
8888 ac_fn_c_check_func
"$LINENO" "pthread_create" "ac_cv_func_pthread_create"
8889 if test "x$ac_cv_func_pthread_create" = xyes
; then :
8892 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pthread_create in -lpthread" >&5
8893 $as_echo_n "checking for pthread_create in -lpthread... " >&6; }
8894 if ${ac_cv_lib_pthread_pthread_create+:} false
; then :
8895 $as_echo_n "(cached) " >&6
8897 ac_check_lib_save_LIBS
=$LIBS
8898 LIBS
="-lpthread $LIBS"
8899 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8900 /* end confdefs.h. */
8902 /* Override any GCC internal prototype to avoid an error.
8903 Use char because int might match the return type of a GCC
8904 builtin and then its argument prototype would still apply. */
8908 char pthread_create ();
8912 return pthread_create ();
8917 if ac_fn_c_try_link
"$LINENO"; then :
8918 ac_cv_lib_pthread_pthread_create
=yes
8920 ac_cv_lib_pthread_pthread_create
=no
8922 rm -f core conftest.err conftest.
$ac_objext \
8923 conftest
$ac_exeext conftest.
$ac_ext
8924 LIBS
=$ac_check_lib_save_LIBS
8926 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_pthread_pthread_create" >&5
8927 $as_echo "$ac_cv_lib_pthread_pthread_create" >&6; }
8928 if test "x$ac_cv_lib_pthread_pthread_create" = xyes
; then :
8929 PTHREAD_LIBS
="-lpthread"
8936 if test "x$ac_cv_func_pthread_create" != xyes
-a "x$PTHREAD_LIBS" = x
; then :
8937 case "x$with_pthread" in
8939 *) as_fn_error $?
"pthread ${notice_platform}development files not found.
8940 Wine cannot support threads without libpthread.
8941 Use the --without-pthread option if you really want this." "$LINENO" 5 ;;
8946 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for X" >&5
8947 $as_echo_n "checking for X... " >&6; }
8950 # Check whether --with-x was given.
8951 if test "${with_x+set}" = set; then :
8955 # $have_x is `yes', `no', `disabled', or empty when we do not yet know.
8956 if test "x$with_x" = xno
; then
8957 # The user explicitly disabled X.
8960 case $x_includes,$x_libraries in #(
8961 *\'*) as_fn_error $?
"cannot use X directory names containing '" "$LINENO" 5;; #(
8962 *,NONE | NONE
,*) if ${ac_cv_have_x+:} false
; then :
8963 $as_echo_n "(cached) " >&6
8965 # One or both of the vars are not set, and there is no cached value.
8966 ac_x_includes
=no ac_x_libraries
=no
8967 rm -f -r conftest.dir
8968 if mkdir conftest.dir
; then
8970 cat >Imakefile
<<'_ACEOF'
8972 @echo incroot='${INCROOT}'
8974 @echo usrlibdir='${USRLIBDIR}'
8976 @echo libdir='${LIBDIR}'
8978 if (export CC
; ${XMKMF-xmkmf}) >/dev
/null
2>/dev
/null
&& test -f Makefile
; then
8979 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
8980 for ac_var
in incroot usrlibdir libdir
; do
8981 eval "ac_im_$ac_var=\`\${MAKE-make} $ac_var 2>/dev/null | sed -n 's/^$ac_var=//p'\`"
8983 # Open Windows xmkmf reportedly sets LIBDIR instead of USRLIBDIR.
8984 for ac_extension
in a so sl dylib la dll
; do
8985 if test ! -f "$ac_im_usrlibdir/libX11.$ac_extension" &&
8986 test -f "$ac_im_libdir/libX11.$ac_extension"; then
8987 ac_im_usrlibdir
=$ac_im_libdir; break
8990 # Screen out bogus values from the imake configuration. They are
8991 # bogus both because they are the default anyway, and because
8992 # using them would break gcc on systems where it needs fixed includes.
8993 case $ac_im_incroot in
8994 /usr
/include
) ac_x_includes
= ;;
8995 *) test -f "$ac_im_incroot/X11/Xos.h" && ac_x_includes
=$ac_im_incroot;;
8997 case $ac_im_usrlibdir in
8998 /usr
/lib |
/usr
/lib64 |
/lib |
/lib64
) ;;
8999 *) test -d "$ac_im_usrlibdir" && ac_x_libraries
=$ac_im_usrlibdir ;;
9003 rm -f -r conftest.dir
9006 # Standard set of common directories for X headers.
9007 # Check X11 before X11Rn because it is often a symlink to the current release.
9021 /usr/local/X11/include
9022 /usr/local/X11R7/include
9023 /usr/local/X11R6/include
9024 /usr/local/X11R5/include
9025 /usr/local/X11R4/include
9027 /usr/local/include/X11
9028 /usr/local/include/X11R7
9029 /usr/local/include/X11R6
9030 /usr/local/include/X11R5
9031 /usr/local/include/X11R4
9035 /usr/XFree86/include/X11
9039 /usr/unsupported/include
9041 /usr/local/x11r5/include
9042 /usr/lpp/Xamples/include
9044 /usr/openwin/include
9045 /usr/openwin/share/include'
9047 if test "$ac_x_includes" = no
; then
9048 # Guess where to find include files, by looking for Xlib.h.
9049 # First, try using that file with no special directory specified.
9050 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9051 /* end confdefs.h. */
9052 #include <X11/Xlib.h>
9054 if ac_fn_c_try_cpp
"$LINENO"; then :
9055 # We can compile using X headers with no special include directory.
9058 for ac_dir
in $ac_x_header_dirs; do
9059 if test -r "$ac_dir/X11/Xlib.h"; then
9060 ac_x_includes
=$ac_dir
9065 rm -f conftest.err conftest.i conftest.
$ac_ext
9066 fi # $ac_x_includes = no
9068 if test "$ac_x_libraries" = no
; then
9069 # Check for the libraries.
9070 # See if we find them without any special options.
9071 # Don't add to $LIBS permanently.
9074 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9075 /* end confdefs.h. */
9076 #include <X11/Xlib.h>
9085 if ac_fn_c_try_link
"$LINENO"; then :
9087 # We can link X programs with no special library path.
9091 for ac_dir
in `$as_echo "$ac_x_includes $ac_x_header_dirs" | sed s/include/lib/g`
9093 # Don't even attempt the hair of trying to link an X program!
9094 for ac_extension
in a so sl dylib la dll
; do
9095 if test -r "$ac_dir/libX11.$ac_extension"; then
9096 ac_x_libraries
=$ac_dir
9102 rm -f core conftest.err conftest.
$ac_objext \
9103 conftest
$ac_exeext conftest.
$ac_ext
9104 fi # $ac_x_libraries = no
9106 case $ac_x_includes,$ac_x_libraries in #(
9108 # Didn't find X, or a directory has "'" in its name.
9109 ac_cv_have_x
="have_x=no";; #(
9111 # Record where we found X for the cache.
9112 ac_cv_have_x
="have_x=yes\
9113 ac_x_includes='$ac_x_includes'\
9114 ac_x_libraries='$ac_x_libraries'"
9120 eval "$ac_cv_have_x"
9123 if test "$have_x" != yes; then
9124 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $have_x" >&5
9125 $as_echo "$have_x" >&6; }
9128 # If each of the values was on the command line, it overrides each guess.
9129 test "x$x_includes" = xNONE
&& x_includes
=$ac_x_includes
9130 test "x$x_libraries" = xNONE
&& x_libraries
=$ac_x_libraries
9131 # Update the cache value to reflect the command line values.
9132 ac_cv_have_x
="have_x=yes\
9133 ac_x_includes='$x_includes'\
9134 ac_x_libraries='$x_libraries'"
9135 { $as_echo "$as_me:${as_lineno-$LINENO}: result: libraries $x_libraries, headers $x_includes" >&5
9136 $as_echo "libraries $x_libraries, headers $x_includes" >&6; }
9139 if test "$no_x" = yes; then
9140 # Not all programs may use this symbol, but it does not hurt to define it.
9142 $as_echo "#define X_DISPLAY_MISSING 1" >>confdefs.h
9144 X_CFLAGS
= X_PRE_LIBS
= X_LIBS
= X_EXTRA_LIBS
=
9146 if test -n "$x_includes"; then
9147 X_CFLAGS
="$X_CFLAGS -I$x_includes"
9150 # It would also be nice to do this for all -L options, not just this one.
9151 if test -n "$x_libraries"; then
9152 X_LIBS
="$X_LIBS -L$x_libraries"
9153 # For Solaris; some versions of Sun CC require a space after -R and
9154 # others require no space. Words are not sufficient . . . .
9155 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -R must be followed by a space" >&5
9156 $as_echo_n "checking whether -R must be followed by a space... " >&6; }
9157 ac_xsave_LIBS
=$LIBS; LIBS
="$LIBS -R$x_libraries"
9158 ac_xsave_c_werror_flag
=$ac_c_werror_flag
9159 ac_c_werror_flag
=yes
9160 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9161 /* end confdefs.h. */
9171 if ac_fn_c_try_link
"$LINENO"; then :
9172 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9173 $as_echo "no" >&6; }
9174 X_LIBS
="$X_LIBS -R$x_libraries"
9176 LIBS
="$ac_xsave_LIBS -R $x_libraries"
9177 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9178 /* end confdefs.h. */
9188 if ac_fn_c_try_link
"$LINENO"; then :
9189 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
9190 $as_echo "yes" >&6; }
9191 X_LIBS
="$X_LIBS -R $x_libraries"
9193 { $as_echo "$as_me:${as_lineno-$LINENO}: result: neither works" >&5
9194 $as_echo "neither works" >&6; }
9196 rm -f core conftest.err conftest.
$ac_objext \
9197 conftest
$ac_exeext conftest.
$ac_ext
9199 rm -f core conftest.err conftest.
$ac_objext \
9200 conftest
$ac_exeext conftest.
$ac_ext
9201 ac_c_werror_flag
=$ac_xsave_c_werror_flag
9205 # Check for system-dependent libraries X programs must link with.
9206 # Do this before checking for the system-independent R6 libraries
9207 # (-lICE), since we may need -lsocket or whatever for X linking.
9209 if test "$ISC" = yes; then
9210 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lnsl_s -linet"
9212 # Martyn Johnson says this is needed for Ultrix, if the X
9213 # libraries were built with DECnet support. And Karl Berry says
9214 # the Alpha needs dnet_stub (dnet does not exist).
9215 ac_xsave_LIBS
="$LIBS"; LIBS
="$LIBS $X_LIBS -lX11"
9216 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9217 /* end confdefs.h. */
9219 /* Override any GCC internal prototype to avoid an error.
9220 Use char because int might match the return type of a GCC
9221 builtin and then its argument prototype would still apply. */
9225 char XOpenDisplay ();
9229 return XOpenDisplay ();
9234 if ac_fn_c_try_link
"$LINENO"; then :
9237 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dnet_ntoa in -ldnet" >&5
9238 $as_echo_n "checking for dnet_ntoa in -ldnet... " >&6; }
9239 if ${ac_cv_lib_dnet_dnet_ntoa+:} false
; then :
9240 $as_echo_n "(cached) " >&6
9242 ac_check_lib_save_LIBS
=$LIBS
9244 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9245 /* end confdefs.h. */
9247 /* Override any GCC internal prototype to avoid an error.
9248 Use char because int might match the return type of a GCC
9249 builtin and then its argument prototype would still apply. */
9257 return dnet_ntoa ();
9262 if ac_fn_c_try_link
"$LINENO"; then :
9263 ac_cv_lib_dnet_dnet_ntoa
=yes
9265 ac_cv_lib_dnet_dnet_ntoa
=no
9267 rm -f core conftest.err conftest.
$ac_objext \
9268 conftest
$ac_exeext conftest.
$ac_ext
9269 LIBS
=$ac_check_lib_save_LIBS
9271 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dnet_dnet_ntoa" >&5
9272 $as_echo "$ac_cv_lib_dnet_dnet_ntoa" >&6; }
9273 if test "x$ac_cv_lib_dnet_dnet_ntoa" = xyes
; then :
9274 X_EXTRA_LIBS
="$X_EXTRA_LIBS -ldnet"
9277 if test $ac_cv_lib_dnet_dnet_ntoa = no
; then
9278 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dnet_ntoa in -ldnet_stub" >&5
9279 $as_echo_n "checking for dnet_ntoa in -ldnet_stub... " >&6; }
9280 if ${ac_cv_lib_dnet_stub_dnet_ntoa+:} false
; then :
9281 $as_echo_n "(cached) " >&6
9283 ac_check_lib_save_LIBS
=$LIBS
9284 LIBS
="-ldnet_stub $LIBS"
9285 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9286 /* end confdefs.h. */
9288 /* Override any GCC internal prototype to avoid an error.
9289 Use char because int might match the return type of a GCC
9290 builtin and then its argument prototype would still apply. */
9298 return dnet_ntoa ();
9303 if ac_fn_c_try_link
"$LINENO"; then :
9304 ac_cv_lib_dnet_stub_dnet_ntoa
=yes
9306 ac_cv_lib_dnet_stub_dnet_ntoa
=no
9308 rm -f core conftest.err conftest.
$ac_objext \
9309 conftest
$ac_exeext conftest.
$ac_ext
9310 LIBS
=$ac_check_lib_save_LIBS
9312 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dnet_stub_dnet_ntoa" >&5
9313 $as_echo "$ac_cv_lib_dnet_stub_dnet_ntoa" >&6; }
9314 if test "x$ac_cv_lib_dnet_stub_dnet_ntoa" = xyes
; then :
9315 X_EXTRA_LIBS
="$X_EXTRA_LIBS -ldnet_stub"
9320 rm -f core conftest.err conftest.
$ac_objext \
9321 conftest
$ac_exeext conftest.
$ac_ext
9322 LIBS
="$ac_xsave_LIBS"
9324 # msh@cis.ufl.edu says -lnsl (and -lsocket) are needed for his 386/AT,
9325 # to get the SysV transport functions.
9326 # Chad R. Larson says the Pyramis MIS-ES running DC/OSx (SVR4)
9328 # The nsl library prevents programs from opening the X display
9329 # on Irix 5.2, according to T.E. Dickey.
9330 # The functions gethostbyname, getservbyname, and inet_addr are
9331 # in -lbsd on LynxOS 3.0.1/i386, according to Lars Hecking.
9332 ac_fn_c_check_func
"$LINENO" "gethostbyname" "ac_cv_func_gethostbyname"
9333 if test "x$ac_cv_func_gethostbyname" = xyes
; then :
9337 if test $ac_cv_func_gethostbyname = no
; then
9338 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gethostbyname in -lnsl" >&5
9339 $as_echo_n "checking for gethostbyname in -lnsl... " >&6; }
9340 if ${ac_cv_lib_nsl_gethostbyname+:} false
; then :
9341 $as_echo_n "(cached) " >&6
9343 ac_check_lib_save_LIBS
=$LIBS
9345 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9346 /* end confdefs.h. */
9348 /* Override any GCC internal prototype to avoid an error.
9349 Use char because int might match the return type of a GCC
9350 builtin and then its argument prototype would still apply. */
9354 char gethostbyname ();
9358 return gethostbyname ();
9363 if ac_fn_c_try_link
"$LINENO"; then :
9364 ac_cv_lib_nsl_gethostbyname
=yes
9366 ac_cv_lib_nsl_gethostbyname
=no
9368 rm -f core conftest.err conftest.
$ac_objext \
9369 conftest
$ac_exeext conftest.
$ac_ext
9370 LIBS
=$ac_check_lib_save_LIBS
9372 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_nsl_gethostbyname" >&5
9373 $as_echo "$ac_cv_lib_nsl_gethostbyname" >&6; }
9374 if test "x$ac_cv_lib_nsl_gethostbyname" = xyes
; then :
9375 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lnsl"
9378 if test $ac_cv_lib_nsl_gethostbyname = no
; then
9379 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gethostbyname in -lbsd" >&5
9380 $as_echo_n "checking for gethostbyname in -lbsd... " >&6; }
9381 if ${ac_cv_lib_bsd_gethostbyname+:} false
; then :
9382 $as_echo_n "(cached) " >&6
9384 ac_check_lib_save_LIBS
=$LIBS
9386 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9387 /* end confdefs.h. */
9389 /* Override any GCC internal prototype to avoid an error.
9390 Use char because int might match the return type of a GCC
9391 builtin and then its argument prototype would still apply. */
9395 char gethostbyname ();
9399 return gethostbyname ();
9404 if ac_fn_c_try_link
"$LINENO"; then :
9405 ac_cv_lib_bsd_gethostbyname
=yes
9407 ac_cv_lib_bsd_gethostbyname
=no
9409 rm -f core conftest.err conftest.
$ac_objext \
9410 conftest
$ac_exeext conftest.
$ac_ext
9411 LIBS
=$ac_check_lib_save_LIBS
9413 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_bsd_gethostbyname" >&5
9414 $as_echo "$ac_cv_lib_bsd_gethostbyname" >&6; }
9415 if test "x$ac_cv_lib_bsd_gethostbyname" = xyes
; then :
9416 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lbsd"
9422 # lieder@skyler.mavd.honeywell.com says without -lsocket,
9423 # socket/setsockopt and other routines are undefined under SCO ODT
9424 # 2.0. But -lsocket is broken on IRIX 5.2 (and is not necessary
9425 # on later versions), says Simon Leinen: it contains gethostby*
9426 # variants that don't use the name server (or something). -lsocket
9427 # must be given before -lnsl if both are needed. We assume that
9428 # if connect needs -lnsl, so does gethostbyname.
9429 ac_fn_c_check_func
"$LINENO" "connect" "ac_cv_func_connect"
9430 if test "x$ac_cv_func_connect" = xyes
; then :
9434 if test $ac_cv_func_connect = no
; then
9435 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for connect in -lsocket" >&5
9436 $as_echo_n "checking for connect in -lsocket... " >&6; }
9437 if ${ac_cv_lib_socket_connect+:} false
; then :
9438 $as_echo_n "(cached) " >&6
9440 ac_check_lib_save_LIBS
=$LIBS
9441 LIBS
="-lsocket $X_EXTRA_LIBS $LIBS"
9442 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9443 /* end confdefs.h. */
9445 /* Override any GCC internal prototype to avoid an error.
9446 Use char because int might match the return type of a GCC
9447 builtin and then its argument prototype would still apply. */
9460 if ac_fn_c_try_link
"$LINENO"; then :
9461 ac_cv_lib_socket_connect
=yes
9463 ac_cv_lib_socket_connect
=no
9465 rm -f core conftest.err conftest.
$ac_objext \
9466 conftest
$ac_exeext conftest.
$ac_ext
9467 LIBS
=$ac_check_lib_save_LIBS
9469 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_socket_connect" >&5
9470 $as_echo "$ac_cv_lib_socket_connect" >&6; }
9471 if test "x$ac_cv_lib_socket_connect" = xyes
; then :
9472 X_EXTRA_LIBS
="-lsocket $X_EXTRA_LIBS"
9477 # Guillermo Gomez says -lposix is necessary on A/UX.
9478 ac_fn_c_check_func
"$LINENO" "remove" "ac_cv_func_remove"
9479 if test "x$ac_cv_func_remove" = xyes
; then :
9483 if test $ac_cv_func_remove = no
; then
9484 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for remove in -lposix" >&5
9485 $as_echo_n "checking for remove in -lposix... " >&6; }
9486 if ${ac_cv_lib_posix_remove+:} false
; then :
9487 $as_echo_n "(cached) " >&6
9489 ac_check_lib_save_LIBS
=$LIBS
9490 LIBS
="-lposix $LIBS"
9491 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9492 /* end confdefs.h. */
9494 /* Override any GCC internal prototype to avoid an error.
9495 Use char because int might match the return type of a GCC
9496 builtin and then its argument prototype would still apply. */
9509 if ac_fn_c_try_link
"$LINENO"; then :
9510 ac_cv_lib_posix_remove
=yes
9512 ac_cv_lib_posix_remove
=no
9514 rm -f core conftest.err conftest.
$ac_objext \
9515 conftest
$ac_exeext conftest.
$ac_ext
9516 LIBS
=$ac_check_lib_save_LIBS
9518 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_posix_remove" >&5
9519 $as_echo "$ac_cv_lib_posix_remove" >&6; }
9520 if test "x$ac_cv_lib_posix_remove" = xyes
; then :
9521 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lposix"
9526 # BSDI BSD/OS 2.1 needs -lipc for XOpenDisplay.
9527 ac_fn_c_check_func
"$LINENO" "shmat" "ac_cv_func_shmat"
9528 if test "x$ac_cv_func_shmat" = xyes
; then :
9532 if test $ac_cv_func_shmat = no
; then
9533 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shmat in -lipc" >&5
9534 $as_echo_n "checking for shmat in -lipc... " >&6; }
9535 if ${ac_cv_lib_ipc_shmat+:} false
; then :
9536 $as_echo_n "(cached) " >&6
9538 ac_check_lib_save_LIBS
=$LIBS
9540 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9541 /* end confdefs.h. */
9543 /* Override any GCC internal prototype to avoid an error.
9544 Use char because int might match the return type of a GCC
9545 builtin and then its argument prototype would still apply. */
9558 if ac_fn_c_try_link
"$LINENO"; then :
9559 ac_cv_lib_ipc_shmat
=yes
9561 ac_cv_lib_ipc_shmat
=no
9563 rm -f core conftest.err conftest.
$ac_objext \
9564 conftest
$ac_exeext conftest.
$ac_ext
9565 LIBS
=$ac_check_lib_save_LIBS
9567 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ipc_shmat" >&5
9568 $as_echo "$ac_cv_lib_ipc_shmat" >&6; }
9569 if test "x$ac_cv_lib_ipc_shmat" = xyes
; then :
9570 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lipc"
9576 # Check for libraries that X11R6 Xt/Xaw programs need.
9577 ac_save_LDFLAGS
=$LDFLAGS
9578 test -n "$x_libraries" && LDFLAGS
="$LDFLAGS -L$x_libraries"
9579 # SM needs ICE to (dynamically) link under SunOS 4.x (so we have to
9580 # check for ICE first), but we must link in the order -lSM -lICE or
9581 # we get undefined symbols. So assume we have SM if we have ICE.
9582 # These have to be linked with before -lX11, unlike the other
9583 # libraries we check for below, so use a different variable.
9584 # John Interrante, Karl Berry
9585 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for IceConnectionNumber in -lICE" >&5
9586 $as_echo_n "checking for IceConnectionNumber in -lICE... " >&6; }
9587 if ${ac_cv_lib_ICE_IceConnectionNumber+:} false
; then :
9588 $as_echo_n "(cached) " >&6
9590 ac_check_lib_save_LIBS
=$LIBS
9591 LIBS
="-lICE $X_EXTRA_LIBS $LIBS"
9592 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9593 /* end confdefs.h. */
9595 /* Override any GCC internal prototype to avoid an error.
9596 Use char because int might match the return type of a GCC
9597 builtin and then its argument prototype would still apply. */
9601 char IceConnectionNumber ();
9605 return IceConnectionNumber ();
9610 if ac_fn_c_try_link
"$LINENO"; then :
9611 ac_cv_lib_ICE_IceConnectionNumber
=yes
9613 ac_cv_lib_ICE_IceConnectionNumber
=no
9615 rm -f core conftest.err conftest.
$ac_objext \
9616 conftest
$ac_exeext conftest.
$ac_ext
9617 LIBS
=$ac_check_lib_save_LIBS
9619 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ICE_IceConnectionNumber" >&5
9620 $as_echo "$ac_cv_lib_ICE_IceConnectionNumber" >&6; }
9621 if test "x$ac_cv_lib_ICE_IceConnectionNumber" = xyes
; then :
9622 X_PRE_LIBS
="$X_PRE_LIBS -lSM -lICE"
9625 LDFLAGS
=$ac_save_LDFLAGS
9630 if test "$have_x" = "yes"
9632 ac_save_CPPFLAGS
="$CPPFLAGS"
9633 CPPFLAGS
="$CPPFLAGS $X_CFLAGS"
9635 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lX11" >&5
9636 $as_echo_n "checking for -lX11... " >&6; }
9637 if ${ac_cv_lib_soname_X11+:} false
; then :
9638 $as_echo_n "(cached) " >&6
9640 ac_check_soname_save_LIBS
=$LIBS
9641 LIBS
="-lX11 $X_LIBS $X_EXTRA_LIBS $LIBS"
9642 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9643 /* end confdefs.h. */
9645 /* Override any GCC internal prototype to avoid an error.
9646 Use char because int might match the return type of a GCC
9647 builtin and then its argument prototype would still apply. */
9651 char XCreateWindow ();
9655 return XCreateWindow ();
9660 if ac_fn_c_try_link
"$LINENO"; then :
9662 dll
) ac_cv_lib_soname_X11
=`$ac_cv_path_LDD conftest.exe | grep "X11" | sed -e "s/dll.*/dll/"';2,$d'` ;;
9663 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'` ;;
9664 *) ac_cv_lib_soname_X11
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libX11\\.$LIBEXT" | sed -e "s/^.*\\[\\(libX11\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
9665 if ${ac_cv_lib_soname_X11:+false} :; then :
9666 ac_cv_lib_soname_X11
=`$LDD conftest$ac_exeext | grep "libX11\\.$LIBEXT" | sed -e "s/^.*\(libX11\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
9670 rm -f core conftest.err conftest.
$ac_objext \
9671 conftest
$ac_exeext conftest.
$ac_ext
9672 LIBS
=$ac_check_soname_save_LIBS
9674 if ${ac_cv_lib_soname_X11:+false} :; then :
9675 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
9676 $as_echo "not found" >&6; }
9679 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_X11" >&5
9680 $as_echo "$ac_cv_lib_soname_X11" >&6; }
9682 cat >>confdefs.h
<<_ACEOF
9683 #define SONAME_LIBX11 "$ac_cv_lib_soname_X11"
9688 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXext" >&5
9689 $as_echo_n "checking for -lXext... " >&6; }
9690 if ${ac_cv_lib_soname_Xext+:} false
; then :
9691 $as_echo_n "(cached) " >&6
9693 ac_check_soname_save_LIBS
=$LIBS
9694 LIBS
="-lXext $X_LIBS -lX11 $X_EXTRA_LIBS $LIBS"
9695 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9696 /* end confdefs.h. */
9698 /* Override any GCC internal prototype to avoid an error.
9699 Use char because int might match the return type of a GCC
9700 builtin and then its argument prototype would still apply. */
9704 char XextCreateExtension ();
9708 return XextCreateExtension ();
9713 if ac_fn_c_try_link
"$LINENO"; then :
9715 dll
) ac_cv_lib_soname_Xext
=`$ac_cv_path_LDD conftest.exe | grep "Xext" | sed -e "s/dll.*/dll/"';2,$d'` ;;
9716 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'` ;;
9717 *) ac_cv_lib_soname_Xext
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXext\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXext\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
9718 if ${ac_cv_lib_soname_Xext:+false} :; then :
9719 ac_cv_lib_soname_Xext
=`$LDD conftest$ac_exeext | grep "libXext\\.$LIBEXT" | sed -e "s/^.*\(libXext\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
9723 rm -f core conftest.err conftest.
$ac_objext \
9724 conftest
$ac_exeext conftest.
$ac_ext
9725 LIBS
=$ac_check_soname_save_LIBS
9727 if ${ac_cv_lib_soname_Xext:+false} :; then :
9728 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
9729 $as_echo "not found" >&6; }
9732 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xext" >&5
9733 $as_echo "$ac_cv_lib_soname_Xext" >&6; }
9735 cat >>confdefs.h
<<_ACEOF
9736 #define SONAME_LIBXEXT "$ac_cv_lib_soname_Xext"
9739 X_LIBS
="$X_LIBS -lXext"
9741 X_LIBS
="$X_LIBS -lX11"
9743 for ac_header
in X11
/Xlib.h \
9746 X11
/Xcursor
/Xcursor.h \
9747 X11
/extensions
/shape.h \
9748 X11
/extensions
/XInput.h \
9749 X11
/extensions
/XInput2.h \
9750 X11
/extensions
/XShm.h \
9751 X11
/extensions
/Xcomposite.h \
9752 X11
/extensions
/Xinerama.h \
9753 X11
/extensions
/Xrandr.h \
9754 X11
/extensions
/Xrender.h \
9755 X11
/extensions
/xf86vmode.h \
9756 X11
/extensions
/xf86vmproto.h
9758 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
9759 ac_fn_c_check_header_compile
"$LINENO" "$ac_header" "$as_ac_Header" "#ifdef HAVE_X11_XLIB_H
9760 # include <X11/Xlib.h>
9762 #ifdef HAVE_X11_XUTIL_H
9763 # include <X11/Xutil.h>
9766 if eval test \"x\$
"$as_ac_Header"\" = x
"yes"; then :
9767 cat >>confdefs.h
<<_ACEOF
9768 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
9776 if test "$ac_cv_header_X11_XKBlib_h" = "yes"
9778 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XkbQueryExtension in -lX11" >&5
9779 $as_echo_n "checking for XkbQueryExtension in -lX11... " >&6; }
9780 if ${ac_cv_lib_X11_XkbQueryExtension+:} false
; then :
9781 $as_echo_n "(cached) " >&6
9783 ac_check_lib_save_LIBS
=$LIBS
9784 LIBS
="-lX11 $X_LIBS $X_EXTRA_LIBS $LIBS"
9785 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9786 /* end confdefs.h. */
9788 /* Override any GCC internal prototype to avoid an error.
9789 Use char because int might match the return type of a GCC
9790 builtin and then its argument prototype would still apply. */
9794 char XkbQueryExtension ();
9798 return XkbQueryExtension ();
9803 if ac_fn_c_try_link
"$LINENO"; then :
9804 ac_cv_lib_X11_XkbQueryExtension
=yes
9806 ac_cv_lib_X11_XkbQueryExtension
=no
9808 rm -f core conftest.err conftest.
$ac_objext \
9809 conftest
$ac_exeext conftest.
$ac_ext
9810 LIBS
=$ac_check_lib_save_LIBS
9812 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_X11_XkbQueryExtension" >&5
9813 $as_echo "$ac_cv_lib_X11_XkbQueryExtension" >&6; }
9814 if test "x$ac_cv_lib_X11_XkbQueryExtension" = xyes
; then :
9816 $as_echo "#define HAVE_XKB 1" >>confdefs.h
9822 if test "$ac_cv_header_X11_Xcursor_Xcursor_h" = "yes"
9824 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXcursor" >&5
9825 $as_echo_n "checking for -lXcursor... " >&6; }
9826 if ${ac_cv_lib_soname_Xcursor+:} false
; then :
9827 $as_echo_n "(cached) " >&6
9829 ac_check_soname_save_LIBS
=$LIBS
9830 LIBS
="-lXcursor $X_LIBS $X_EXTRA_LIBS $LIBS"
9831 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9832 /* end confdefs.h. */
9834 /* Override any GCC internal prototype to avoid an error.
9835 Use char because int might match the return type of a GCC
9836 builtin and then its argument prototype would still apply. */
9840 char XcursorImageLoadCursor ();
9844 return XcursorImageLoadCursor ();
9849 if ac_fn_c_try_link
"$LINENO"; then :
9851 dll
) ac_cv_lib_soname_Xcursor
=`$ac_cv_path_LDD conftest.exe | grep "Xcursor" | sed -e "s/dll.*/dll/"';2,$d'` ;;
9852 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'` ;;
9853 *) ac_cv_lib_soname_Xcursor
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXcursor\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXcursor\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
9854 if ${ac_cv_lib_soname_Xcursor:+false} :; then :
9855 ac_cv_lib_soname_Xcursor
=`$LDD conftest$ac_exeext | grep "libXcursor\\.$LIBEXT" | sed -e "s/^.*\(libXcursor\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
9859 rm -f core conftest.err conftest.
$ac_objext \
9860 conftest
$ac_exeext conftest.
$ac_ext
9861 LIBS
=$ac_check_soname_save_LIBS
9863 if ${ac_cv_lib_soname_Xcursor:+false} :; then :
9864 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
9865 $as_echo "not found" >&6; }
9868 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xcursor" >&5
9869 $as_echo "$ac_cv_lib_soname_Xcursor" >&6; }
9871 cat >>confdefs.h
<<_ACEOF
9872 #define SONAME_LIBXCURSOR "$ac_cv_lib_soname_Xcursor"
9878 if test "x$ac_cv_lib_soname_Xcursor" = "x"; then :
9879 case "x$with_xcursor" in
9880 x
) as_fn_append wine_notices
"|libxcursor ${notice_platform}development files not found, the Xcursor extension won't be supported." ;;
9882 *) as_fn_error $?
"libxcursor ${notice_platform}development files not found, the Xcursor extension won't be supported.
9883 This is an error since --with-xcursor was requested." "$LINENO" 5 ;;
9887 if test "$ac_cv_header_X11_extensions_XInput_h" = "yes"
9889 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXi" >&5
9890 $as_echo_n "checking for -lXi... " >&6; }
9891 if ${ac_cv_lib_soname_Xi+:} false
; then :
9892 $as_echo_n "(cached) " >&6
9894 ac_check_soname_save_LIBS
=$LIBS
9895 LIBS
="-lXi $X_LIBS $X_EXTRA_LIBS $LIBS"
9896 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9897 /* end confdefs.h. */
9899 /* Override any GCC internal prototype to avoid an error.
9900 Use char because int might match the return type of a GCC
9901 builtin and then its argument prototype would still apply. */
9905 char XOpenDevice ();
9909 return XOpenDevice ();
9914 if ac_fn_c_try_link
"$LINENO"; then :
9916 dll
) ac_cv_lib_soname_Xi
=`$ac_cv_path_LDD conftest.exe | grep "Xi" | sed -e "s/dll.*/dll/"';2,$d'` ;;
9917 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'` ;;
9918 *) ac_cv_lib_soname_Xi
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXi\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXi\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
9919 if ${ac_cv_lib_soname_Xi:+false} :; then :
9920 ac_cv_lib_soname_Xi
=`$LDD conftest$ac_exeext | grep "libXi\\.$LIBEXT" | sed -e "s/^.*\(libXi\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
9924 rm -f core conftest.err conftest.
$ac_objext \
9925 conftest
$ac_exeext conftest.
$ac_ext
9926 LIBS
=$ac_check_soname_save_LIBS
9928 if ${ac_cv_lib_soname_Xi:+false} :; then :
9929 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
9930 $as_echo "not found" >&6; }
9933 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xi" >&5
9934 $as_echo "$ac_cv_lib_soname_Xi" >&6; }
9936 cat >>confdefs.h
<<_ACEOF
9937 #define SONAME_LIBXI "$ac_cv_lib_soname_Xi"
9943 if test "x$ac_cv_lib_soname_Xi" = "x"; then :
9944 case "x$with_xinput" in
9945 x
) as_fn_append wine_notices
"|libxi ${notice_platform}development files not found, the Xinput extension won't be supported." ;;
9947 *) as_fn_error $?
"libxi ${notice_platform}development files not found, the Xinput extension won't be supported.
9948 This is an error since --with-xinput was requested." "$LINENO" 5 ;;
9952 if test "x$ac_cv_lib_soname_Xi" != x
9954 if test "$ac_cv_header_X11_extensions_XInput2_h" != "yes"; then :
9955 case "x$with_xinput2" in
9956 x
) as_fn_append wine_notices
"|XInput2 headers not found, the XInput 2 extension won't be supported." ;;
9958 *) as_fn_error $?
"XInput2 headers not found, the XInput 2 extension won't be supported.
9959 This is an error since --with-xinput2 was requested." "$LINENO" 5 ;;
9964 if test "$ac_cv_header_X11_extensions_XShm_h" = "yes"
9966 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XShmQueryExtension in -lXext" >&5
9967 $as_echo_n "checking for XShmQueryExtension in -lXext... " >&6; }
9968 if ${ac_cv_lib_Xext_XShmQueryExtension+:} false
; then :
9969 $as_echo_n "(cached) " >&6
9971 ac_check_lib_save_LIBS
=$LIBS
9972 LIBS
="-lXext $X_LIBS $X_EXTRA_LIBS $LIBS"
9973 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9974 /* end confdefs.h. */
9976 /* Override any GCC internal prototype to avoid an error.
9977 Use char because int might match the return type of a GCC
9978 builtin and then its argument prototype would still apply. */
9982 char XShmQueryExtension ();
9986 return XShmQueryExtension ();
9991 if ac_fn_c_try_link
"$LINENO"; then :
9992 ac_cv_lib_Xext_XShmQueryExtension
=yes
9994 ac_cv_lib_Xext_XShmQueryExtension
=no
9996 rm -f core conftest.err conftest.
$ac_objext \
9997 conftest
$ac_exeext conftest.
$ac_ext
9998 LIBS
=$ac_check_lib_save_LIBS
10000 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xext_XShmQueryExtension" >&5
10001 $as_echo "$ac_cv_lib_Xext_XShmQueryExtension" >&6; }
10002 if test "x$ac_cv_lib_Xext_XShmQueryExtension" = xyes
; then :
10004 $as_echo "#define HAVE_LIBXXSHM 1" >>confdefs.h
10009 if test "$ac_cv_lib_Xext_XShmQueryExtension" != "yes"; then :
10010 case "x$with_xshm" in
10011 x
) as_fn_append wine_notices
"|XShm ${notice_platform}development files not found, X Shared Memory won't be supported." ;;
10013 *) as_fn_error $?
"XShm ${notice_platform}development files not found, X Shared Memory won't be supported.
10014 This is an error since --with-xshm was requested." "$LINENO" 5 ;;
10018 if test "$ac_cv_header_X11_extensions_shape_h" = "yes"
10020 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XShapeQueryExtension in -lXext" >&5
10021 $as_echo_n "checking for XShapeQueryExtension in -lXext... " >&6; }
10022 if ${ac_cv_lib_Xext_XShapeQueryExtension+:} false
; then :
10023 $as_echo_n "(cached) " >&6
10025 ac_check_lib_save_LIBS
=$LIBS
10026 LIBS
="-lXext $X_LIBS $X_EXTRA_LIBS $LIBS"
10027 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10028 /* end confdefs.h. */
10030 /* Override any GCC internal prototype to avoid an error.
10031 Use char because int might match the return type of a GCC
10032 builtin and then its argument prototype would still apply. */
10036 char XShapeQueryExtension ();
10040 return XShapeQueryExtension ();
10045 if ac_fn_c_try_link
"$LINENO"; then :
10046 ac_cv_lib_Xext_XShapeQueryExtension
=yes
10048 ac_cv_lib_Xext_XShapeQueryExtension
=no
10050 rm -f core conftest.err conftest.
$ac_objext \
10051 conftest
$ac_exeext conftest.
$ac_ext
10052 LIBS
=$ac_check_lib_save_LIBS
10054 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xext_XShapeQueryExtension" >&5
10055 $as_echo "$ac_cv_lib_Xext_XShapeQueryExtension" >&6; }
10056 if test "x$ac_cv_lib_Xext_XShapeQueryExtension" = xyes
; then :
10058 $as_echo "#define HAVE_LIBXSHAPE 1" >>confdefs.h
10063 if test "$ac_cv_lib_Xext_XShapeQueryExtension" != "yes"; then :
10064 case "x$with_xshape" in
10065 x
) as_fn_append wine_notices
"|XShape ${notice_platform}development files not found, XShape won't be supported." ;;
10067 *) as_fn_error $?
"XShape ${notice_platform}development files not found, XShape won't be supported.
10068 This is an error since --with-xshape was requested." "$LINENO" 5 ;;
10072 if test "$ac_cv_header_X11_extensions_xf86vmode_h" = "yes" -o "$ac_cv_header_X11_extensions_xf86vmproto_h" = "yes"
10074 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXxf86vm" >&5
10075 $as_echo_n "checking for -lXxf86vm... " >&6; }
10076 if ${ac_cv_lib_soname_Xxf86vm+:} false
; then :
10077 $as_echo_n "(cached) " >&6
10079 ac_check_soname_save_LIBS
=$LIBS
10080 LIBS
="-lXxf86vm $X_LIBS $X_EXTRA_LIBS $LIBS"
10081 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10082 /* end confdefs.h. */
10084 /* Override any GCC internal prototype to avoid an error.
10085 Use char because int might match the return type of a GCC
10086 builtin and then its argument prototype would still apply. */
10090 char XF86VidModeQueryExtension ();
10094 return XF86VidModeQueryExtension ();
10099 if ac_fn_c_try_link
"$LINENO"; then :
10101 dll
) ac_cv_lib_soname_Xxf86vm
=`$ac_cv_path_LDD conftest.exe | grep "Xxf86vm" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10102 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'` ;;
10103 *) ac_cv_lib_soname_Xxf86vm
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXxf86vm\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXxf86vm\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10104 if ${ac_cv_lib_soname_Xxf86vm:+false} :; then :
10105 ac_cv_lib_soname_Xxf86vm
=`$LDD conftest$ac_exeext | grep "libXxf86vm\\.$LIBEXT" | sed -e "s/^.*\(libXxf86vm\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10109 rm -f core conftest.err conftest.
$ac_objext \
10110 conftest
$ac_exeext conftest.
$ac_ext
10111 LIBS
=$ac_check_soname_save_LIBS
10113 if ${ac_cv_lib_soname_Xxf86vm:+false} :; then :
10114 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10115 $as_echo "not found" >&6; }
10118 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xxf86vm" >&5
10119 $as_echo "$ac_cv_lib_soname_Xxf86vm" >&6; }
10121 cat >>confdefs.h
<<_ACEOF
10122 #define SONAME_LIBXXF86VM "$ac_cv_lib_soname_Xxf86vm"
10128 if test "x$ac_cv_lib_soname_Xxf86vm" = "x"; then :
10129 case "x$with_xxf86vm" in
10130 x
) as_fn_append wine_notices
"|libXxf86vm ${notice_platform}development files not found, XFree86 Vidmode won't be supported." ;;
10132 *) as_fn_error $?
"libXxf86vm ${notice_platform}development files not found, XFree86 Vidmode won't be supported.
10133 This is an error since --with-xxf86vm was requested." "$LINENO" 5 ;;
10137 if test "$ac_cv_header_X11_extensions_Xrender_h" = "yes" -a "x$ac_cv_lib_soname_X11" != "x"
10139 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXrender" >&5
10140 $as_echo_n "checking for -lXrender... " >&6; }
10141 if ${ac_cv_lib_soname_Xrender+:} false
; then :
10142 $as_echo_n "(cached) " >&6
10144 ac_check_soname_save_LIBS
=$LIBS
10145 LIBS
="-lXrender $X_LIBS $X_EXTRA_LIBS $LIBS"
10146 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10147 /* end confdefs.h. */
10149 /* Override any GCC internal prototype to avoid an error.
10150 Use char because int might match the return type of a GCC
10151 builtin and then its argument prototype would still apply. */
10155 char XRenderQueryExtension ();
10159 return XRenderQueryExtension ();
10164 if ac_fn_c_try_link
"$LINENO"; then :
10166 dll
) ac_cv_lib_soname_Xrender
=`$ac_cv_path_LDD conftest.exe | grep "Xrender" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10167 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'` ;;
10168 *) ac_cv_lib_soname_Xrender
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXrender\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXrender\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10169 if ${ac_cv_lib_soname_Xrender:+false} :; then :
10170 ac_cv_lib_soname_Xrender
=`$LDD conftest$ac_exeext | grep "libXrender\\.$LIBEXT" | sed -e "s/^.*\(libXrender\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10174 rm -f core conftest.err conftest.
$ac_objext \
10175 conftest
$ac_exeext conftest.
$ac_ext
10176 LIBS
=$ac_check_soname_save_LIBS
10178 if ${ac_cv_lib_soname_Xrender:+false} :; then :
10179 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10180 $as_echo "not found" >&6; }
10183 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xrender" >&5
10184 $as_echo "$ac_cv_lib_soname_Xrender" >&6; }
10186 cat >>confdefs.h
<<_ACEOF
10187 #define SONAME_LIBXRENDER "$ac_cv_lib_soname_Xrender"
10190 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XRenderSetPictureTransform in -lXrender" >&5
10191 $as_echo_n "checking for XRenderSetPictureTransform in -lXrender... " >&6; }
10192 if ${ac_cv_lib_Xrender_XRenderSetPictureTransform+:} false
; then :
10193 $as_echo_n "(cached) " >&6
10195 ac_check_lib_save_LIBS
=$LIBS
10196 LIBS
="-lXrender $X_LIBS $X_EXTRA_LIBS $LIBS"
10197 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10198 /* end confdefs.h. */
10200 /* Override any GCC internal prototype to avoid an error.
10201 Use char because int might match the return type of a GCC
10202 builtin and then its argument prototype would still apply. */
10206 char XRenderSetPictureTransform ();
10210 return XRenderSetPictureTransform ();
10215 if ac_fn_c_try_link
"$LINENO"; then :
10216 ac_cv_lib_Xrender_XRenderSetPictureTransform
=yes
10218 ac_cv_lib_Xrender_XRenderSetPictureTransform
=no
10220 rm -f core conftest.err conftest.
$ac_objext \
10221 conftest
$ac_exeext conftest.
$ac_ext
10222 LIBS
=$ac_check_lib_save_LIBS
10224 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xrender_XRenderSetPictureTransform" >&5
10225 $as_echo "$ac_cv_lib_Xrender_XRenderSetPictureTransform" >&6; }
10226 if test "x$ac_cv_lib_Xrender_XRenderSetPictureTransform" = xyes
; then :
10228 $as_echo "#define HAVE_XRENDERSETPICTURETRANSFORM 1" >>confdefs.h
10232 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XRenderCreateLinearGradient in -lXrender" >&5
10233 $as_echo_n "checking for XRenderCreateLinearGradient in -lXrender... " >&6; }
10234 if ${ac_cv_lib_Xrender_XRenderCreateLinearGradient+:} false
; then :
10235 $as_echo_n "(cached) " >&6
10237 ac_check_lib_save_LIBS
=$LIBS
10238 LIBS
="-lXrender $X_LIBS $X_EXTRA_LIBS $LIBS"
10239 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10240 /* end confdefs.h. */
10242 /* Override any GCC internal prototype to avoid an error.
10243 Use char because int might match the return type of a GCC
10244 builtin and then its argument prototype would still apply. */
10248 char XRenderCreateLinearGradient ();
10252 return XRenderCreateLinearGradient ();
10257 if ac_fn_c_try_link
"$LINENO"; then :
10258 ac_cv_lib_Xrender_XRenderCreateLinearGradient
=yes
10260 ac_cv_lib_Xrender_XRenderCreateLinearGradient
=no
10262 rm -f core conftest.err conftest.
$ac_objext \
10263 conftest
$ac_exeext conftest.
$ac_ext
10264 LIBS
=$ac_check_lib_save_LIBS
10266 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xrender_XRenderCreateLinearGradient" >&5
10267 $as_echo "$ac_cv_lib_Xrender_XRenderCreateLinearGradient" >&6; }
10268 if test "x$ac_cv_lib_Xrender_XRenderCreateLinearGradient" = xyes
; then :
10270 $as_echo "#define HAVE_XRENDERCREATELINEARGRADIENT 1" >>confdefs.h
10277 if test "x$ac_cv_lib_soname_Xrender" = "x"; then :
10278 case "x$with_xrender" in
10279 x
) as_fn_append wine_warnings
"|libxrender ${notice_platform}development files not found, XRender won't be supported." ;;
10281 *) as_fn_error $?
"libxrender ${notice_platform}development files not found, XRender won't be supported.
10282 This is an error since --with-xrender was requested." "$LINENO" 5 ;;
10286 if test "$ac_cv_header_X11_extensions_Xrandr_h" = "yes" -a "x$ac_cv_lib_soname_Xrender" != "x"
10288 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10289 /* end confdefs.h. */
10290 #include <X11/Xlib.h>
10291 #include <X11/extensions/Xrandr.h>
10295 static typeof(XRRSetScreenConfigAndRate) * func; if (func) return 0;
10300 if ac_fn_c_try_compile
"$LINENO"; then :
10301 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXrandr" >&5
10302 $as_echo_n "checking for -lXrandr... " >&6; }
10303 if ${ac_cv_lib_soname_Xrandr+:} false
; then :
10304 $as_echo_n "(cached) " >&6
10306 ac_check_soname_save_LIBS
=$LIBS
10307 LIBS
="-lXrandr $X_LIBS $X_EXTRA_LIBS $LIBS"
10308 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10309 /* end confdefs.h. */
10311 /* Override any GCC internal prototype to avoid an error.
10312 Use char because int might match the return type of a GCC
10313 builtin and then its argument prototype would still apply. */
10317 char XRRQueryExtension ();
10321 return XRRQueryExtension ();
10326 if ac_fn_c_try_link
"$LINENO"; then :
10328 dll
) ac_cv_lib_soname_Xrandr
=`$ac_cv_path_LDD conftest.exe | grep "Xrandr" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10329 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'` ;;
10330 *) ac_cv_lib_soname_Xrandr
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXrandr\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXrandr\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10331 if ${ac_cv_lib_soname_Xrandr:+false} :; then :
10332 ac_cv_lib_soname_Xrandr
=`$LDD conftest$ac_exeext | grep "libXrandr\\.$LIBEXT" | sed -e "s/^.*\(libXrandr\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10336 rm -f core conftest.err conftest.
$ac_objext \
10337 conftest
$ac_exeext conftest.
$ac_ext
10338 LIBS
=$ac_check_soname_save_LIBS
10340 if ${ac_cv_lib_soname_Xrandr:+false} :; then :
10341 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10342 $as_echo "not found" >&6; }
10345 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xrandr" >&5
10346 $as_echo "$ac_cv_lib_soname_Xrandr" >&6; }
10348 cat >>confdefs.h
<<_ACEOF
10349 #define SONAME_LIBXRANDR "$ac_cv_lib_soname_Xrandr"
10352 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10353 /* end confdefs.h. */
10354 #include <X11/Xlib.h>
10355 #include <X11/extensions/Xrandr.h>
10359 static typeof(XRRGetScreenResources) *f; if (f) return 0;
10364 if ac_fn_c_try_compile
"$LINENO"; then :
10366 $as_echo "#define HAVE_XRRGETSCREENRESOURCES 1" >>confdefs.h
10369 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
10372 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
10374 if test "x$ac_cv_lib_soname_Xrandr" = "x"; then :
10375 case "x$with_xrandr" in
10376 x
) as_fn_append wine_notices
"|libxrandr ${notice_platform}development files not found, XRandr won't be supported." ;;
10378 *) as_fn_error $?
"libxrandr ${notice_platform}development files not found, XRandr won't be supported.
10379 This is an error since --with-xrandr was requested." "$LINENO" 5 ;;
10383 if test "$ac_cv_header_X11_extensions_Xinerama_h" = "yes"
10385 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10386 /* end confdefs.h. */
10387 #include <X11/Xlib.h>
10388 #include <X11/extensions/Xinerama.h>
10392 static typeof(XineramaQueryScreens) * func; if (func) return 0;
10397 if ac_fn_c_try_compile
"$LINENO"; then :
10398 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXinerama" >&5
10399 $as_echo_n "checking for -lXinerama... " >&6; }
10400 if ${ac_cv_lib_soname_Xinerama+:} false
; then :
10401 $as_echo_n "(cached) " >&6
10403 ac_check_soname_save_LIBS
=$LIBS
10404 LIBS
="-lXinerama $X_LIBS $X_EXTRA_LIBS $LIBS"
10405 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10406 /* end confdefs.h. */
10408 /* Override any GCC internal prototype to avoid an error.
10409 Use char because int might match the return type of a GCC
10410 builtin and then its argument prototype would still apply. */
10414 char XineramaQueryScreens ();
10418 return XineramaQueryScreens ();
10423 if ac_fn_c_try_link
"$LINENO"; then :
10425 dll
) ac_cv_lib_soname_Xinerama
=`$ac_cv_path_LDD conftest.exe | grep "Xinerama" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10426 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'` ;;
10427 *) ac_cv_lib_soname_Xinerama
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXinerama\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXinerama\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10428 if ${ac_cv_lib_soname_Xinerama:+false} :; then :
10429 ac_cv_lib_soname_Xinerama
=`$LDD conftest$ac_exeext | grep "libXinerama\\.$LIBEXT" | sed -e "s/^.*\(libXinerama\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10433 rm -f core conftest.err conftest.
$ac_objext \
10434 conftest
$ac_exeext conftest.
$ac_ext
10435 LIBS
=$ac_check_soname_save_LIBS
10437 if ${ac_cv_lib_soname_Xinerama:+false} :; then :
10438 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10439 $as_echo "not found" >&6; }
10442 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xinerama" >&5
10443 $as_echo "$ac_cv_lib_soname_Xinerama" >&6; }
10445 cat >>confdefs.h
<<_ACEOF
10446 #define SONAME_LIBXINERAMA "$ac_cv_lib_soname_Xinerama"
10452 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
10454 if test "x$ac_cv_lib_soname_Xinerama" = "x"; then :
10455 case "x$with_xinerama" in
10456 x
) as_fn_append wine_notices
"|libxinerama ${notice_platform}development files not found, multi-monitor setups won't be supported." ;;
10458 *) as_fn_error $?
"libxinerama ${notice_platform}development files not found, multi-monitor setups won't be supported.
10459 This is an error since --with-xinerama was requested." "$LINENO" 5 ;;
10463 if test "$ac_cv_header_X11_extensions_Xcomposite_h" = "yes"
10465 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXcomposite" >&5
10466 $as_echo_n "checking for -lXcomposite... " >&6; }
10467 if ${ac_cv_lib_soname_Xcomposite+:} false
; then :
10468 $as_echo_n "(cached) " >&6
10470 ac_check_soname_save_LIBS
=$LIBS
10471 LIBS
="-lXcomposite $X_LIBS $X_EXTRA_LIBS $LIBS"
10472 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10473 /* end confdefs.h. */
10475 /* Override any GCC internal prototype to avoid an error.
10476 Use char because int might match the return type of a GCC
10477 builtin and then its argument prototype would still apply. */
10481 char XCompositeRedirectWindow ();
10485 return XCompositeRedirectWindow ();
10490 if ac_fn_c_try_link
"$LINENO"; then :
10492 dll
) ac_cv_lib_soname_Xcomposite
=`$ac_cv_path_LDD conftest.exe | grep "Xcomposite" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10493 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'` ;;
10494 *) ac_cv_lib_soname_Xcomposite
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXcomposite\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXcomposite\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10495 if ${ac_cv_lib_soname_Xcomposite:+false} :; then :
10496 ac_cv_lib_soname_Xcomposite
=`$LDD conftest$ac_exeext | grep "libXcomposite\\.$LIBEXT" | sed -e "s/^.*\(libXcomposite\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10500 rm -f core conftest.err conftest.
$ac_objext \
10501 conftest
$ac_exeext conftest.
$ac_ext
10502 LIBS
=$ac_check_soname_save_LIBS
10504 if ${ac_cv_lib_soname_Xcomposite:+false} :; then :
10505 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10506 $as_echo "not found" >&6; }
10509 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xcomposite" >&5
10510 $as_echo "$ac_cv_lib_soname_Xcomposite" >&6; }
10512 cat >>confdefs.h
<<_ACEOF
10513 #define SONAME_LIBXCOMPOSITE "$ac_cv_lib_soname_Xcomposite"
10519 if test "x$ac_cv_lib_soname_Xcomposite" = "x"; then :
10520 case "x$with_xcomposite" in
10521 x
) as_fn_append wine_notices
"|libxcomposite ${notice_platform}development files not found, Xcomposite won't be supported." ;;
10523 *) as_fn_error $?
"libxcomposite ${notice_platform}development files not found, Xcomposite won't be supported.
10524 This is an error since --with-xcomposite was requested." "$LINENO" 5 ;;
10528 ac_fn_c_check_member
"$LINENO" "XICCallback" "callback" "ac_cv_member_XICCallback_callback" "#ifdef HAVE_X11_XLIB_H
10529 #include <X11/Xlib.h>
10532 if test "x$ac_cv_member_XICCallback_callback" = xyes
; then :
10534 cat >>confdefs.h
<<_ACEOF
10535 #define HAVE_XICCALLBACK_CALLBACK 1
10540 ac_fn_c_check_member
"$LINENO" "XEvent" "xcookie" "ac_cv_member_XEvent_xcookie" "#ifdef HAVE_X11_XLIB_H
10541 #include <X11/Xlib.h>
10544 if test "x$ac_cv_member_XEvent_xcookie" = xyes
; then :
10546 cat >>confdefs.h
<<_ACEOF
10547 #define HAVE_XEVENT_XCOOKIE 1
10556 if test "x$with_opengl" != "xno"
10558 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lGL" >&5
10559 $as_echo_n "checking for -lGL... " >&6; }
10560 if ${ac_cv_lib_soname_GL+:} false
; then :
10561 $as_echo_n "(cached) " >&6
10563 ac_check_soname_save_LIBS
=$LIBS
10564 LIBS
="-lGL $X_LIBS -lm $X_EXTRA_LIBS $LIBS"
10565 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10566 /* end confdefs.h. */
10568 /* Override any GCC internal prototype to avoid an error.
10569 Use char because int might match the return type of a GCC
10570 builtin and then its argument prototype would still apply. */
10574 char glXCreateContext ();
10578 return glXCreateContext ();
10583 if ac_fn_c_try_link
"$LINENO"; then :
10585 dll
) ac_cv_lib_soname_GL
=`$ac_cv_path_LDD conftest.exe | grep "GL" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10586 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'` ;;
10587 *) ac_cv_lib_soname_GL
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libGL\\.$LIBEXT" | sed -e "s/^.*\\[\\(libGL\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10588 if ${ac_cv_lib_soname_GL:+false} :; then :
10589 ac_cv_lib_soname_GL
=`$LDD conftest$ac_exeext | grep "libGL\\.$LIBEXT" | sed -e "s/^.*\(libGL\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10593 rm -f core conftest.err conftest.
$ac_objext \
10594 conftest
$ac_exeext conftest.
$ac_ext
10595 LIBS
=$ac_check_soname_save_LIBS
10597 if ${ac_cv_lib_soname_GL:+false} :; then :
10598 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10599 $as_echo "not found" >&6; }
10600 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lGL" >&5
10601 $as_echo_n "checking for -lGL... " >&6; }
10602 if ${ac_cv_lib_soname_GL+:} false
; then :
10603 $as_echo_n "(cached) " >&6
10605 ac_check_soname_save_LIBS
=$LIBS
10606 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"
10607 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10608 /* end confdefs.h. */
10610 /* Override any GCC internal prototype to avoid an error.
10611 Use char because int might match the return type of a GCC
10612 builtin and then its argument prototype would still apply. */
10616 char glXCreateContext ();
10620 return glXCreateContext ();
10625 if ac_fn_c_try_link
"$LINENO"; then :
10627 dll
) ac_cv_lib_soname_GL
=`$ac_cv_path_LDD conftest.exe | grep "GL" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10628 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'` ;;
10629 *) ac_cv_lib_soname_GL
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libGL\\.$LIBEXT" | sed -e "s/^.*\\[\\(libGL\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10630 if ${ac_cv_lib_soname_GL:+false} :; then :
10631 ac_cv_lib_soname_GL
=`$LDD conftest$ac_exeext | grep "libGL\\.$LIBEXT" | sed -e "s/^.*\(libGL\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10635 rm -f core conftest.err conftest.
$ac_objext \
10636 conftest
$ac_exeext conftest.
$ac_ext
10637 LIBS
=$ac_check_soname_save_LIBS
10639 if ${ac_cv_lib_soname_GL:+false} :; then :
10640 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10641 $as_echo "not found" >&6; }
10642 if test -f /usr
/X11R
6/lib
/libGL.a
10644 opengl_msg
="/usr/X11R6/lib/libGL.a is present on your system.
10645 This probably prevents linking to OpenGL. Try deleting the file and restarting configure."
10647 opengl_msg
="No OpenGL library found on this system."
10650 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_GL" >&5
10651 $as_echo "$ac_cv_lib_soname_GL" >&6; }
10653 cat >>confdefs.h
<<_ACEOF
10654 #define SONAME_LIBGL "$ac_cv_lib_soname_GL"
10657 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"
10660 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_GL" >&5
10661 $as_echo "$ac_cv_lib_soname_GL" >&6; }
10663 cat >>confdefs.h
<<_ACEOF
10664 #define SONAME_LIBGL "$ac_cv_lib_soname_GL"
10669 if test "x$with_glu" != "xno"
10671 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gluLookAt in -lGLU" >&5
10672 $as_echo_n "checking for gluLookAt in -lGLU... " >&6; }
10673 if ${ac_cv_lib_GLU_gluLookAt+:} false
; then :
10674 $as_echo_n "(cached) " >&6
10676 ac_check_lib_save_LIBS
=$LIBS
10677 LIBS
="-lGLU $OPENGL_LIBS $X_LIBS -lm $X_EXTRA_LIBS $LIBS"
10678 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10679 /* end confdefs.h. */
10681 /* Override any GCC internal prototype to avoid an error.
10682 Use char because int might match the return type of a GCC
10683 builtin and then its argument prototype would still apply. */
10691 return gluLookAt ();
10696 if ac_fn_c_try_link
"$LINENO"; then :
10697 ac_cv_lib_GLU_gluLookAt
=yes
10699 ac_cv_lib_GLU_gluLookAt
=no
10701 rm -f core conftest.err conftest.
$ac_objext \
10702 conftest
$ac_exeext conftest.
$ac_ext
10703 LIBS
=$ac_check_lib_save_LIBS
10705 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_GLU_gluLookAt" >&5
10706 $as_echo "$ac_cv_lib_GLU_gluLookAt" >&6; }
10707 if test "x$ac_cv_lib_GLU_gluLookAt" = xyes
; then :
10711 if test "x$ac_cv_lib_GLU_gluLookAt" != xyes
; then :
10712 case "x$with_glu" in
10713 x
) as_fn_append wine_notices
"|libGLU ${notice_platform}development files not found, GLU won't be supported." ;;
10715 *) as_fn_error $?
"libGLU ${notice_platform}development files not found, GLU won't be supported.
10716 This is an error since --with-glu was requested." "$LINENO" 5 ;;
10721 if test "x$with_osmesa" != "xno"
10723 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lOSMesa" >&5
10724 $as_echo_n "checking for -lOSMesa... " >&6; }
10725 if ${ac_cv_lib_soname_OSMesa+:} false
; then :
10726 $as_echo_n "(cached) " >&6
10728 ac_check_soname_save_LIBS
=$LIBS
10729 LIBS
="-lOSMesa $X_LIBS -lm $X_EXTRA_LIBS $LIBS"
10730 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10731 /* end confdefs.h. */
10733 /* Override any GCC internal prototype to avoid an error.
10734 Use char because int might match the return type of a GCC
10735 builtin and then its argument prototype would still apply. */
10748 if ac_fn_c_try_link
"$LINENO"; then :
10750 dll
) ac_cv_lib_soname_OSMesa
=`$ac_cv_path_LDD conftest.exe | grep "OSMesa" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10751 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'` ;;
10752 *) ac_cv_lib_soname_OSMesa
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libOSMesa\\.$LIBEXT" | sed -e "s/^.*\\[\\(libOSMesa\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10753 if ${ac_cv_lib_soname_OSMesa:+false} :; then :
10754 ac_cv_lib_soname_OSMesa
=`$LDD conftest$ac_exeext | grep "libOSMesa\\.$LIBEXT" | sed -e "s/^.*\(libOSMesa\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10758 rm -f core conftest.err conftest.
$ac_objext \
10759 conftest
$ac_exeext conftest.
$ac_ext
10760 LIBS
=$ac_check_soname_save_LIBS
10762 if ${ac_cv_lib_soname_OSMesa:+false} :; then :
10763 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10764 $as_echo "not found" >&6; }
10767 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_OSMesa" >&5
10768 $as_echo "$ac_cv_lib_soname_OSMesa" >&6; }
10770 cat >>confdefs.h
<<_ACEOF
10771 #define SONAME_LIBOSMESA "$ac_cv_lib_soname_OSMesa"
10776 if test "x$ac_cv_lib_soname_OSMesa" = "x"; then :
10777 case "x$with_osmesa" in
10778 x
) as_fn_append wine_notices
"|libOSMesa ${notice_platform}development files not found (or too old), OpenGL rendering in bitmaps won't be supported." ;;
10780 *) as_fn_error $?
"libOSMesa ${notice_platform}development files not found (or too old), OpenGL rendering in bitmaps won't be supported.
10781 This is an error since --with-osmesa was requested." "$LINENO" 5 ;;
10786 if test -n "$opengl_msg"; then :
10787 case "x$with_opengl" in
10788 x
) as_fn_append wine_warnings
"|$opengl_msg
10789 OpenGL and Direct3D won't be supported." ;;
10791 *) as_fn_error $?
"$opengl_msg
10792 OpenGL and Direct3D won't be supported.
10793 This is an error since --with-opengl was requested." "$LINENO" 5 ;;
10797 CPPFLAGS
="$ac_save_CPPFLAGS"
10801 enable_winex11_drv
=${enable_winex11_drv:-no}
10803 if test "x$X_LIBS" = "x"; then :
10806 *) as_fn_error $?
"X ${notice_platform}development files not found. Wine will be built
10807 without X support, which probably isn't what you want. You will need
10808 to install ${notice_platform}development packages of Xlib/Xfree86 at the very least.
10809 Use the --without-x option if you really want this." "$LINENO" 5 ;;
10813 test "x$ac_cv_lib_GLU_gluLookAt" != xyes
&& enable_glu32
=${enable_glu32:-no}
10815 if test "$ac_cv_header_CL_cl_h" = "yes"
10817 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for clGetPlatformInfo in -lOpenCL" >&5
10818 $as_echo_n "checking for clGetPlatformInfo in -lOpenCL... " >&6; }
10819 if ${ac_cv_lib_OpenCL_clGetPlatformInfo+:} false
; then :
10820 $as_echo_n "(cached) " >&6
10822 ac_check_lib_save_LIBS
=$LIBS
10823 LIBS
="-lOpenCL $LIBS"
10824 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10825 /* end confdefs.h. */
10827 /* Override any GCC internal prototype to avoid an error.
10828 Use char because int might match the return type of a GCC
10829 builtin and then its argument prototype would still apply. */
10833 char clGetPlatformInfo ();
10837 return clGetPlatformInfo ();
10842 if ac_fn_c_try_link
"$LINENO"; then :
10843 ac_cv_lib_OpenCL_clGetPlatformInfo
=yes
10845 ac_cv_lib_OpenCL_clGetPlatformInfo
=no
10847 rm -f core conftest.err conftest.
$ac_objext \
10848 conftest
$ac_exeext conftest.
$ac_ext
10849 LIBS
=$ac_check_lib_save_LIBS
10851 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_OpenCL_clGetPlatformInfo" >&5
10852 $as_echo "$ac_cv_lib_OpenCL_clGetPlatformInfo" >&6; }
10853 if test "x$ac_cv_lib_OpenCL_clGetPlatformInfo" = xyes
; then :
10854 OPENCL_LIBS
="-lOpenCL"
10859 if test "x$ac_cv_lib_OpenCL_clGetPlatformInfo" != xyes
; then :
10860 case "x$with_opencl" in
10861 x
) as_fn_append wine_notices
"|OpenCL ${notice_platform}development files not found, OpenCL won't be supported." ;;
10863 *) as_fn_error $?
"OpenCL ${notice_platform}development files not found, OpenCL won't be supported.
10864 This is an error since --with-opencl was requested." "$LINENO" 5 ;;
10867 test "x$ac_cv_lib_OpenCL_clGetPlatformInfo" != xyes
&& enable_opencl
=${enable_opencl:-no}
10869 if test "$ac_cv_header_pcap_pcap_h" = "yes"
10871 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pcap_create in -lpcap" >&5
10872 $as_echo_n "checking for pcap_create in -lpcap... " >&6; }
10873 if ${ac_cv_lib_pcap_pcap_create+:} false
; then :
10874 $as_echo_n "(cached) " >&6
10876 ac_check_lib_save_LIBS
=$LIBS
10877 LIBS
="-lpcap $LIBS"
10878 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10879 /* end confdefs.h. */
10881 /* Override any GCC internal prototype to avoid an error.
10882 Use char because int might match the return type of a GCC
10883 builtin and then its argument prototype would still apply. */
10887 char pcap_create ();
10891 return pcap_create ();
10896 if ac_fn_c_try_link
"$LINENO"; then :
10897 ac_cv_lib_pcap_pcap_create
=yes
10899 ac_cv_lib_pcap_pcap_create
=no
10901 rm -f core conftest.err conftest.
$ac_objext \
10902 conftest
$ac_exeext conftest.
$ac_ext
10903 LIBS
=$ac_check_lib_save_LIBS
10905 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_pcap_pcap_create" >&5
10906 $as_echo "$ac_cv_lib_pcap_pcap_create" >&6; }
10907 if test "x$ac_cv_lib_pcap_pcap_create" = xyes
; then :
10913 if test "x$ac_cv_lib_pcap_pcap_create" != xyes
; then :
10914 case "x$with_pcap" in
10915 x
) as_fn_append wine_notices
"|pcap ${notice_platform}development files not found, wpcap won't be supported." ;;
10917 *) as_fn_error $?
"pcap ${notice_platform}development files not found, wpcap won't be supported.
10918 This is an error since --with-pcap was requested." "$LINENO" 5 ;;
10921 test "x$ac_cv_lib_pcap_pcap_create" != xyes
&& enable_wpcap
=${enable_wpcap:-no}
10924 if test "x$with_xml" != "xno"
10926 if ${XML2_CFLAGS:+false} :; then :
10927 if ${PKG_CONFIG+:} false
; then :
10928 XML2_CFLAGS
=`$PKG_CONFIG --cflags libxml-2.0 2>/dev/null`
10931 test "$cross_compiling" = yes || XML2_CFLAGS
=${XML2_CFLAGS:-`xml2-config --cflags 2>/dev/null`}
10932 if ${XML2_LIBS:+false} :; then :
10933 if ${PKG_CONFIG+:} false
; then :
10934 XML2_LIBS
=`$PKG_CONFIG --libs libxml-2.0 2>/dev/null`
10937 test "$cross_compiling" = yes || XML2_LIBS
=${XML2_LIBS:-`xml2-config --libs 2>/dev/null`}
10938 XML2_LIBS
=${XML2_LIBS:-"-lxml2"}
10939 $as_echo "$as_me:${as_lineno-$LINENO}: libxml-2.0 cflags: $XML2_CFLAGS" >&5
10940 $as_echo "$as_me:${as_lineno-$LINENO}: libxml-2.0 libs: $XML2_LIBS" >&5
10941 ac_save_CPPFLAGS
=$CPPFLAGS
10942 CPPFLAGS
="$CPPFLAGS $XML2_CFLAGS"
10943 for ac_header
in libxml
/parser.h libxml
/xmlsave.h libxml
/SAX2.h
10945 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
10946 ac_fn_c_check_header_mongrel
"$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
10947 if eval test \"x\$
"$as_ac_Header"\" = x
"yes"; then :
10948 cat >>confdefs.h
<<_ACEOF
10949 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
10956 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"
10958 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlParseMemory in -lxml2" >&5
10959 $as_echo_n "checking for xmlParseMemory in -lxml2... " >&6; }
10960 if ${ac_cv_lib_xml2_xmlParseMemory+:} false
; then :
10961 $as_echo_n "(cached) " >&6
10963 ac_check_lib_save_LIBS
=$LIBS
10964 LIBS
="-lxml2 $XML2_LIBS $LIBS"
10965 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10966 /* end confdefs.h. */
10968 /* Override any GCC internal prototype to avoid an error.
10969 Use char because int might match the return type of a GCC
10970 builtin and then its argument prototype would still apply. */
10974 char xmlParseMemory ();
10978 return xmlParseMemory ();
10983 if ac_fn_c_try_link
"$LINENO"; then :
10984 ac_cv_lib_xml2_xmlParseMemory
=yes
10986 ac_cv_lib_xml2_xmlParseMemory
=no
10988 rm -f core conftest.err conftest.
$ac_objext \
10989 conftest
$ac_exeext conftest.
$ac_ext
10990 LIBS
=$ac_check_lib_save_LIBS
10992 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlParseMemory" >&5
10993 $as_echo "$ac_cv_lib_xml2_xmlParseMemory" >&6; }
10994 if test "x$ac_cv_lib_xml2_xmlParseMemory" = xyes
; then :
10996 $as_echo "#define HAVE_LIBXML2 1" >>confdefs.h
11002 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlReadMemory in -lxml2" >&5
11003 $as_echo_n "checking for xmlReadMemory in -lxml2... " >&6; }
11004 if ${ac_cv_lib_xml2_xmlReadMemory+:} false
; then :
11005 $as_echo_n "(cached) " >&6
11007 ac_check_lib_save_LIBS
=$LIBS
11008 LIBS
="-lxml2 $XML2_LIBS $LIBS"
11009 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11010 /* end confdefs.h. */
11012 /* Override any GCC internal prototype to avoid an error.
11013 Use char because int might match the return type of a GCC
11014 builtin and then its argument prototype would still apply. */
11018 char xmlReadMemory ();
11022 return xmlReadMemory ();
11027 if ac_fn_c_try_link
"$LINENO"; then :
11028 ac_cv_lib_xml2_xmlReadMemory
=yes
11030 ac_cv_lib_xml2_xmlReadMemory
=no
11032 rm -f core conftest.err conftest.
$ac_objext \
11033 conftest
$ac_exeext conftest.
$ac_ext
11034 LIBS
=$ac_check_lib_save_LIBS
11036 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlReadMemory" >&5
11037 $as_echo "$ac_cv_lib_xml2_xmlReadMemory" >&6; }
11038 if test "x$ac_cv_lib_xml2_xmlReadMemory" = xyes
; then :
11040 $as_echo "#define HAVE_XMLREADMEMORY 1" >>confdefs.h
11044 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlNewDocPI in -lxml2" >&5
11045 $as_echo_n "checking for xmlNewDocPI in -lxml2... " >&6; }
11046 if ${ac_cv_lib_xml2_xmlNewDocPI+:} false
; then :
11047 $as_echo_n "(cached) " >&6
11049 ac_check_lib_save_LIBS
=$LIBS
11050 LIBS
="-lxml2 $XML2_LIBS $LIBS"
11051 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11052 /* end confdefs.h. */
11054 /* Override any GCC internal prototype to avoid an error.
11055 Use char because int might match the return type of a GCC
11056 builtin and then its argument prototype would still apply. */
11060 char xmlNewDocPI ();
11064 return xmlNewDocPI ();
11069 if ac_fn_c_try_link
"$LINENO"; then :
11070 ac_cv_lib_xml2_xmlNewDocPI
=yes
11072 ac_cv_lib_xml2_xmlNewDocPI
=no
11074 rm -f core conftest.err conftest.
$ac_objext \
11075 conftest
$ac_exeext conftest.
$ac_ext
11076 LIBS
=$ac_check_lib_save_LIBS
11078 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlNewDocPI" >&5
11079 $as_echo "$ac_cv_lib_xml2_xmlNewDocPI" >&6; }
11080 if test "x$ac_cv_lib_xml2_xmlNewDocPI" = xyes
; then :
11082 $as_echo "#define HAVE_XMLNEWDOCPI 1" >>confdefs.h
11086 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlSchemaSetParserStructuredErrors in -lxml2" >&5
11087 $as_echo_n "checking for xmlSchemaSetParserStructuredErrors in -lxml2... " >&6; }
11088 if ${ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors+:} false
; then :
11089 $as_echo_n "(cached) " >&6
11091 ac_check_lib_save_LIBS
=$LIBS
11092 LIBS
="-lxml2 $XML2_LIBS $LIBS"
11093 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11094 /* end confdefs.h. */
11096 /* Override any GCC internal prototype to avoid an error.
11097 Use char because int might match the return type of a GCC
11098 builtin and then its argument prototype would still apply. */
11102 char xmlSchemaSetParserStructuredErrors ();
11106 return xmlSchemaSetParserStructuredErrors ();
11111 if ac_fn_c_try_link
"$LINENO"; then :
11112 ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors
=yes
11114 ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors
=no
11116 rm -f core conftest.err conftest.
$ac_objext \
11117 conftest
$ac_exeext conftest.
$ac_ext
11118 LIBS
=$ac_check_lib_save_LIBS
11120 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors" >&5
11121 $as_echo "$ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors" >&6; }
11122 if test "x$ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors" = xyes
; then :
11124 $as_echo "#define HAVE_XMLSCHEMASSETPARSERSTRUCTUREDERRORS 1" >>confdefs.h
11128 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlSchemaSetValidStructuredErrors in -lxml2" >&5
11129 $as_echo_n "checking for xmlSchemaSetValidStructuredErrors in -lxml2... " >&6; }
11130 if ${ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors+:} false
; then :
11131 $as_echo_n "(cached) " >&6
11133 ac_check_lib_save_LIBS
=$LIBS
11134 LIBS
="-lxml2 $XML2_LIBS $LIBS"
11135 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11136 /* end confdefs.h. */
11138 /* Override any GCC internal prototype to avoid an error.
11139 Use char because int might match the return type of a GCC
11140 builtin and then its argument prototype would still apply. */
11144 char xmlSchemaSetValidStructuredErrors ();
11148 return xmlSchemaSetValidStructuredErrors ();
11153 if ac_fn_c_try_link
"$LINENO"; then :
11154 ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors
=yes
11156 ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors
=no
11158 rm -f core conftest.err conftest.
$ac_objext \
11159 conftest
$ac_exeext conftest.
$ac_ext
11160 LIBS
=$ac_check_lib_save_LIBS
11162 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors" >&5
11163 $as_echo "$ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors" >&6; }
11164 if test "x$ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors" = xyes
; then :
11166 $as_echo "#define HAVE_XMLSCHEMASSETVALIDSTRUCTUREDERRORS 1" >>confdefs.h
11170 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlFirstElementChild in -lxml2" >&5
11171 $as_echo_n "checking for xmlFirstElementChild in -lxml2... " >&6; }
11172 if ${ac_cv_lib_xml2_xmlFirstElementChild+:} false
; then :
11173 $as_echo_n "(cached) " >&6
11175 ac_check_lib_save_LIBS
=$LIBS
11176 LIBS
="-lxml2 $XML2_LIBS $LIBS"
11177 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11178 /* end confdefs.h. */
11180 /* Override any GCC internal prototype to avoid an error.
11181 Use char because int might match the return type of a GCC
11182 builtin and then its argument prototype would still apply. */
11186 char xmlFirstElementChild ();
11190 return xmlFirstElementChild ();
11195 if ac_fn_c_try_link
"$LINENO"; then :
11196 ac_cv_lib_xml2_xmlFirstElementChild
=yes
11198 ac_cv_lib_xml2_xmlFirstElementChild
=no
11200 rm -f core conftest.err conftest.
$ac_objext \
11201 conftest
$ac_exeext conftest.
$ac_ext
11202 LIBS
=$ac_check_lib_save_LIBS
11204 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlFirstElementChild" >&5
11205 $as_echo "$ac_cv_lib_xml2_xmlFirstElementChild" >&6; }
11206 if test "x$ac_cv_lib_xml2_xmlFirstElementChild" = xyes
; then :
11208 $as_echo "#define HAVE_XMLFIRSTELEMENTCHILD 1" >>confdefs.h
11212 ac_fn_c_check_type
"$LINENO" "xmlDocProperties" "ac_cv_type_xmlDocProperties" "#include <libxml/tree.h>
11214 if test "x$ac_cv_type_xmlDocProperties" = xyes
; then :
11216 $as_echo "#define HAVE_XMLDOC_PROPERTIES 1" >>confdefs.h
11224 CPPFLAGS
=$ac_save_CPPFLAGS
11225 test -z "$XML2_CFLAGS" || XML2_CFLAGS
=`echo " $XML2_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
11226 test -z "$XML2_LIBS" || XML2_LIBS
=`echo " $XML2_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
11229 if test "$ac_cv_lib_xml2_xmlParseMemory" != "yes"; then :
11230 case "x$with_xml" in
11231 x
) as_fn_append wine_warnings
"|libxml2 ${notice_platform}development files not found (or too old), XML won't be supported." ;;
11233 *) as_fn_error $?
"libxml2 ${notice_platform}development files not found (or too old), XML won't be supported.
11234 This is an error since --with-xml was requested." "$LINENO" 5 ;;
11238 if test "x$with_xslt" != "xno"
11240 if ${XSLT_CFLAGS:+false} :; then :
11241 if ${PKG_CONFIG+:} false
; then :
11242 XSLT_CFLAGS
=`$PKG_CONFIG --cflags libxslt 2>/dev/null`
11245 test "$cross_compiling" = yes || XSLT_CFLAGS
=${XSLT_CFLAGS:-`xslt-config --cflags 2>/dev/null`}
11246 if ${XSLT_LIBS:+false} :; then :
11247 if ${PKG_CONFIG+:} false
; then :
11248 XSLT_LIBS
=`$PKG_CONFIG --libs libxslt 2>/dev/null`
11251 test "$cross_compiling" = yes || XSLT_LIBS
=${XSLT_LIBS:-`xslt-config --libs 2>/dev/null`}
11252 XSLT_LIBS
=${XSLT_LIBS:-"-lxml2"}
11253 $as_echo "$as_me:${as_lineno-$LINENO}: libxslt cflags: $XSLT_CFLAGS" >&5
11254 $as_echo "$as_me:${as_lineno-$LINENO}: libxslt libs: $XSLT_LIBS" >&5
11255 ac_save_CPPFLAGS
=$CPPFLAGS
11256 CPPFLAGS
="$CPPFLAGS $XSLT_CFLAGS"
11257 for ac_header
in libxslt
/pattern.h libxslt
/transform.h
11259 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
11260 ac_fn_c_check_header_compile
"$LINENO" "$ac_header" "$as_ac_Header" "#ifdef HAVE_LIBXSLT_PATTERN_H
11261 # include <libxslt/pattern.h>
11264 if eval test \"x\$
"$as_ac_Header"\" = x
"yes"; then :
11265 cat >>confdefs.h
<<_ACEOF
11266 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
11273 if test "$ac_cv_header_libxslt_transform_h" = "yes"
11275 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lxslt" >&5
11276 $as_echo_n "checking for -lxslt... " >&6; }
11277 if ${ac_cv_lib_soname_xslt+:} false
; then :
11278 $as_echo_n "(cached) " >&6
11280 ac_check_soname_save_LIBS
=$LIBS
11281 LIBS
="-lxslt $XSLT_LIBS $LIBS"
11282 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11283 /* end confdefs.h. */
11285 /* Override any GCC internal prototype to avoid an error.
11286 Use char because int might match the return type of a GCC
11287 builtin and then its argument prototype would still apply. */
11291 char xsltCompilePattern ();
11295 return xsltCompilePattern ();
11300 if ac_fn_c_try_link
"$LINENO"; then :
11302 dll
) ac_cv_lib_soname_xslt
=`$ac_cv_path_LDD conftest.exe | grep "xslt" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11303 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'` ;;
11304 *) ac_cv_lib_soname_xslt
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libxslt\\.$LIBEXT" | sed -e "s/^.*\\[\\(libxslt\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
11305 if ${ac_cv_lib_soname_xslt:+false} :; then :
11306 ac_cv_lib_soname_xslt
=`$LDD conftest$ac_exeext | grep "libxslt\\.$LIBEXT" | sed -e "s/^.*\(libxslt\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11310 rm -f core conftest.err conftest.
$ac_objext \
11311 conftest
$ac_exeext conftest.
$ac_ext
11312 LIBS
=$ac_check_soname_save_LIBS
11314 if ${ac_cv_lib_soname_xslt:+false} :; then :
11315 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11316 $as_echo "not found" >&6; }
11319 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_xslt" >&5
11320 $as_echo "$ac_cv_lib_soname_xslt" >&6; }
11322 cat >>confdefs.h
<<_ACEOF
11323 #define SONAME_LIBXSLT "$ac_cv_lib_soname_xslt"
11331 CPPFLAGS
=$ac_save_CPPFLAGS
11332 test -z "$XSLT_CFLAGS" || XSLT_CFLAGS
=`echo " $XSLT_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
11333 test -z "$XSLT_LIBS" || XSLT_LIBS
=`echo " $XSLT_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
11336 if test "x$ac_cv_lib_soname_xslt" = "x"; then :
11337 case "x$with_xslt" in
11338 x
) as_fn_append wine_warnings
"|libxslt ${notice_platform}development files not found, xslt won't be supported." ;;
11340 *) as_fn_error $?
"libxslt ${notice_platform}development files not found, xslt won't be supported.
11341 This is an error since --with-xslt was requested." "$LINENO" 5 ;;
11345 if test "x$with_dbus" != "xno"
11347 if ${DBUS_CFLAGS:+false} :; then :
11348 if ${PKG_CONFIG+:} false
; then :
11349 DBUS_CFLAGS
=`$PKG_CONFIG --cflags dbus-1 2>/dev/null`
11353 if ${DBUS_LIBS:+false} :; then :
11354 if ${PKG_CONFIG+:} false
; then :
11355 DBUS_LIBS
=`$PKG_CONFIG --libs dbus-1 2>/dev/null`
11360 $as_echo "$as_me:${as_lineno-$LINENO}: dbus-1 cflags: $DBUS_CFLAGS" >&5
11361 $as_echo "$as_me:${as_lineno-$LINENO}: dbus-1 libs: $DBUS_LIBS" >&5
11362 ac_save_CPPFLAGS
=$CPPFLAGS
11363 CPPFLAGS
="$CPPFLAGS $DBUS_CFLAGS"
11364 ac_fn_c_check_header_mongrel
"$LINENO" "dbus/dbus.h" "ac_cv_header_dbus_dbus_h" "$ac_includes_default"
11365 if test "x$ac_cv_header_dbus_dbus_h" = xyes
; then :
11366 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -ldbus-1" >&5
11367 $as_echo_n "checking for -ldbus-1... " >&6; }
11368 if ${ac_cv_lib_soname_dbus_1+:} false
; then :
11369 $as_echo_n "(cached) " >&6
11371 ac_check_soname_save_LIBS
=$LIBS
11372 LIBS
="-ldbus-1 $DBUS_LIBS $LIBS"
11373 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11374 /* end confdefs.h. */
11376 /* Override any GCC internal prototype to avoid an error.
11377 Use char because int might match the return type of a GCC
11378 builtin and then its argument prototype would still apply. */
11382 char dbus_connection_close ();
11386 return dbus_connection_close ();
11391 if ac_fn_c_try_link
"$LINENO"; then :
11393 dll
) ac_cv_lib_soname_dbus_1
=`$ac_cv_path_LDD conftest.exe | grep "dbus-1" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11394 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'` ;;
11395 *) 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'`
11396 if ${ac_cv_lib_soname_dbus_1:+false} :; then :
11397 ac_cv_lib_soname_dbus_1
=`$LDD conftest$ac_exeext | grep "libdbus-1\\.$LIBEXT" | sed -e "s/^.*\(libdbus-1\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11401 rm -f core conftest.err conftest.
$ac_objext \
11402 conftest
$ac_exeext conftest.
$ac_ext
11403 LIBS
=$ac_check_soname_save_LIBS
11405 if ${ac_cv_lib_soname_dbus_1:+false} :; then :
11406 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11407 $as_echo "not found" >&6; }
11410 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_dbus_1" >&5
11411 $as_echo "$ac_cv_lib_soname_dbus_1" >&6; }
11413 cat >>confdefs.h
<<_ACEOF
11414 #define SONAME_LIBDBUS_1 "$ac_cv_lib_soname_dbus_1"
11424 CPPFLAGS
=$ac_save_CPPFLAGS
11425 test -z "$DBUS_CFLAGS" || DBUS_CFLAGS
=`echo " $DBUS_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
11426 test -z "$DBUS_LIBS" || DBUS_LIBS
=`echo " $DBUS_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
11429 if test "x$ac_cv_lib_soname_dbus_1" = "x" -a \
11430 "x$ac_cv_header_DiskArbitration_DiskArbitration_h" != "xyes"; then :
11431 case "x$with_dbus" in
11432 x
) as_fn_append wine_notices
"|libdbus ${notice_platform}development files not found, no dynamic device support." ;;
11434 *) as_fn_error $?
"libdbus ${notice_platform}development files not found, no dynamic device support.
11435 This is an error since --with-dbus was requested." "$LINENO" 5 ;;
11439 if test "x$with_hal" != "xno" -a "x$ac_cv_lib_soname_dbus_1" != x
11441 if ${HAL_CFLAGS:+false} :; then :
11442 if ${PKG_CONFIG+:} false
; then :
11443 HAL_CFLAGS
=`$PKG_CONFIG --cflags hal 2>/dev/null`
11447 if ${HAL_LIBS:+false} :; then :
11448 if ${PKG_CONFIG+:} false
; then :
11449 HAL_LIBS
=`$PKG_CONFIG --libs hal 2>/dev/null`
11453 HAL_LIBS
=${HAL_LIBS:-"-ldbus-1"}
11454 $as_echo "$as_me:${as_lineno-$LINENO}: hal cflags: $HAL_CFLAGS" >&5
11455 $as_echo "$as_me:${as_lineno-$LINENO}: hal libs: $HAL_LIBS" >&5
11456 ac_save_CPPFLAGS
=$CPPFLAGS
11457 CPPFLAGS
="$CPPFLAGS $HAL_CFLAGS"
11458 ac_fn_c_check_header_mongrel
"$LINENO" "hal/libhal.h" "ac_cv_header_hal_libhal_h" "$ac_includes_default"
11459 if test "x$ac_cv_header_hal_libhal_h" = xyes
; then :
11460 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lhal" >&5
11461 $as_echo_n "checking for -lhal... " >&6; }
11462 if ${ac_cv_lib_soname_hal+:} false
; then :
11463 $as_echo_n "(cached) " >&6
11465 ac_check_soname_save_LIBS
=$LIBS
11466 LIBS
="-lhal $HAL_LIBS $LIBS"
11467 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11468 /* end confdefs.h. */
11470 /* Override any GCC internal prototype to avoid an error.
11471 Use char because int might match the return type of a GCC
11472 builtin and then its argument prototype would still apply. */
11476 char libhal_ctx_new ();
11480 return libhal_ctx_new ();
11485 if ac_fn_c_try_link
"$LINENO"; then :
11487 dll
) ac_cv_lib_soname_hal
=`$ac_cv_path_LDD conftest.exe | grep "hal" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11488 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'` ;;
11489 *) ac_cv_lib_soname_hal
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libhal\\.$LIBEXT" | sed -e "s/^.*\\[\\(libhal\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
11490 if ${ac_cv_lib_soname_hal:+false} :; then :
11491 ac_cv_lib_soname_hal
=`$LDD conftest$ac_exeext | grep "libhal\\.$LIBEXT" | sed -e "s/^.*\(libhal\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11495 rm -f core conftest.err conftest.
$ac_objext \
11496 conftest
$ac_exeext conftest.
$ac_ext
11497 LIBS
=$ac_check_soname_save_LIBS
11499 if ${ac_cv_lib_soname_hal:+false} :; then :
11500 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11501 $as_echo "not found" >&6; }
11504 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_hal" >&5
11505 $as_echo "$ac_cv_lib_soname_hal" >&6; }
11507 cat >>confdefs.h
<<_ACEOF
11508 #define SONAME_LIBHAL "$ac_cv_lib_soname_hal"
11518 CPPFLAGS
=$ac_save_CPPFLAGS
11519 test -z "$HAL_CFLAGS" || HAL_CFLAGS
=`echo " $HAL_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
11520 test -z "$HAL_LIBS" || HAL_LIBS
=`echo " $HAL_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
11522 if test "x$ac_cv_lib_soname_hal" = "x" -a \
11523 "x$ac_cv_header_DiskArbitration_DiskArbitration_h" != "xyes"; then :
11524 case "x$with_hal" in
11525 x
) as_fn_append wine_notices
"|libhal ${notice_platform}development files not found, no legacy dynamic device support." ;;
11527 *) as_fn_error $?
"libhal ${notice_platform}development files not found, no legacy dynamic device support.
11528 This is an error since --with-hal was requested." "$LINENO" 5 ;;
11533 if test "x$with_gnutls" != "xno"
11535 if ${GNUTLS_CFLAGS:+false} :; then :
11536 if ${PKG_CONFIG+:} false
; then :
11537 GNUTLS_CFLAGS
=`$PKG_CONFIG --cflags gnutls 2>/dev/null`
11541 if ${GNUTLS_LIBS:+false} :; then :
11542 if ${PKG_CONFIG+:} false
; then :
11543 GNUTLS_LIBS
=`$PKG_CONFIG --libs gnutls 2>/dev/null`
11548 $as_echo "$as_me:${as_lineno-$LINENO}: gnutls cflags: $GNUTLS_CFLAGS" >&5
11549 $as_echo "$as_me:${as_lineno-$LINENO}: gnutls libs: $GNUTLS_LIBS" >&5
11550 ac_save_CPPFLAGS
=$CPPFLAGS
11551 CPPFLAGS
="$CPPFLAGS $GNUTLS_CFLAGS"
11552 ac_fn_c_check_header_mongrel
"$LINENO" "gnutls/gnutls.h" "ac_cv_header_gnutls_gnutls_h" "$ac_includes_default"
11553 if test "x$ac_cv_header_gnutls_gnutls_h" = xyes
; then :
11554 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11555 /* end confdefs.h. */
11556 #include <gnutls/gnutls.h>
11557 #include <gnutls/crypto.h>
11561 static typeof(gnutls_mac_get_key_size) *func; if (func) return 0;
11566 if ac_fn_c_try_compile
"$LINENO"; then :
11567 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lgnutls" >&5
11568 $as_echo_n "checking for -lgnutls... " >&6; }
11569 if ${ac_cv_lib_soname_gnutls+:} false
; then :
11570 $as_echo_n "(cached) " >&6
11572 ac_check_soname_save_LIBS
=$LIBS
11573 LIBS
="-lgnutls $GNUTLS_LIBS $LIBS"
11574 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11575 /* end confdefs.h. */
11577 /* Override any GCC internal prototype to avoid an error.
11578 Use char because int might match the return type of a GCC
11579 builtin and then its argument prototype would still apply. */
11583 char gnutls_global_init ();
11587 return gnutls_global_init ();
11592 if ac_fn_c_try_link
"$LINENO"; then :
11594 dll
) ac_cv_lib_soname_gnutls
=`$ac_cv_path_LDD conftest.exe | grep "gnutls" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11595 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'` ;;
11596 *) 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'`
11597 if ${ac_cv_lib_soname_gnutls:+false} :; then :
11598 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'`
11602 rm -f core conftest.err conftest.
$ac_objext \
11603 conftest
$ac_exeext conftest.
$ac_ext
11604 LIBS
=$ac_check_soname_save_LIBS
11606 if ${ac_cv_lib_soname_gnutls:+false} :; then :
11607 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11608 $as_echo "not found" >&6; }
11611 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_gnutls" >&5
11612 $as_echo "$ac_cv_lib_soname_gnutls" >&6; }
11614 cat >>confdefs.h
<<_ACEOF
11615 #define SONAME_LIBGNUTLS "$ac_cv_lib_soname_gnutls"
11621 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
11627 CPPFLAGS
=$ac_save_CPPFLAGS
11628 test -z "$GNUTLS_CFLAGS" || GNUTLS_CFLAGS
=`echo " $GNUTLS_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
11629 test -z "$GNUTLS_LIBS" || GNUTLS_LIBS
=`echo " $GNUTLS_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
11632 if test "x$ac_cv_lib_soname_gnutls" = "x"; then :
11633 case "x$with_gnutls" in
11634 x
) as_fn_append wine_warnings
"|libgnutls ${notice_platform}development files not found, no schannel support." ;;
11636 *) as_fn_error $?
"libgnutls ${notice_platform}development files not found, no schannel support.
11637 This is an error since --with-gnutls was requested." "$LINENO" 5 ;;
11642 if test "$ac_cv_header_ncurses_h" = "yes"
11644 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lncurses" >&5
11645 $as_echo_n "checking for -lncurses... " >&6; }
11646 if ${ac_cv_lib_soname_ncurses+:} false
; then :
11647 $as_echo_n "(cached) " >&6
11649 ac_check_soname_save_LIBS
=$LIBS
11650 LIBS
="-lncurses $LIBS"
11651 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11652 /* end confdefs.h. */
11654 /* Override any GCC internal prototype to avoid an error.
11655 Use char because int might match the return type of a GCC
11656 builtin and then its argument prototype would still apply. */
11669 if ac_fn_c_try_link
"$LINENO"; then :
11671 dll
) ac_cv_lib_soname_ncurses
=`$ac_cv_path_LDD conftest.exe | grep "ncurses" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11672 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'` ;;
11673 *) 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'`
11674 if ${ac_cv_lib_soname_ncurses:+false} :; then :
11675 ac_cv_lib_soname_ncurses
=`$LDD conftest$ac_exeext | grep "libncursesw\\{0,1\\}\\.$LIBEXT" | sed -e "s/^.*\(libncursesw\\{0,1\\}\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11679 rm -f core conftest.err conftest.
$ac_objext \
11680 conftest
$ac_exeext conftest.
$ac_ext
11681 LIBS
=$ac_check_soname_save_LIBS
11683 if ${ac_cv_lib_soname_ncurses:+false} :; then :
11684 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11685 $as_echo "not found" >&6; }
11688 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_ncurses" >&5
11689 $as_echo "$ac_cv_lib_soname_ncurses" >&6; }
11691 cat >>confdefs.h
<<_ACEOF
11692 #define SONAME_LIBNCURSES "$ac_cv_lib_soname_ncurses"
11695 CURSES_LIBS
="-lncurses"
11697 elif test "$ac_cv_header_curses_h" = "yes"
11699 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lcurses" >&5
11700 $as_echo_n "checking for -lcurses... " >&6; }
11701 if ${ac_cv_lib_soname_curses+:} false
; then :
11702 $as_echo_n "(cached) " >&6
11704 ac_check_soname_save_LIBS
=$LIBS
11705 LIBS
="-lcurses $LIBS"
11706 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11707 /* end confdefs.h. */
11709 /* Override any GCC internal prototype to avoid an error.
11710 Use char because int might match the return type of a GCC
11711 builtin and then its argument prototype would still apply. */
11724 if ac_fn_c_try_link
"$LINENO"; then :
11726 dll
) ac_cv_lib_soname_curses
=`$ac_cv_path_LDD conftest.exe | grep "curses" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11727 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'` ;;
11728 *) ac_cv_lib_soname_curses
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libcurses\\.$LIBEXT" | sed -e "s/^.*\\[\\(libcurses\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
11729 if ${ac_cv_lib_soname_curses:+false} :; then :
11730 ac_cv_lib_soname_curses
=`$LDD conftest$ac_exeext | grep "libcurses\\.$LIBEXT" | sed -e "s/^.*\(libcurses\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11734 rm -f core conftest.err conftest.
$ac_objext \
11735 conftest
$ac_exeext conftest.
$ac_ext
11736 LIBS
=$ac_check_soname_save_LIBS
11738 if ${ac_cv_lib_soname_curses:+false} :; then :
11739 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11740 $as_echo "not found" >&6; }
11743 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_curses" >&5
11744 $as_echo "$ac_cv_lib_soname_curses" >&6; }
11746 cat >>confdefs.h
<<_ACEOF
11747 #define SONAME_LIBCURSES "$ac_cv_lib_soname_curses"
11750 CURSES_LIBS
="-lcurses"
11753 ac_save_LIBS
="$LIBS"
11754 LIBS
="$LIBS $CURSES_LIBS"
11755 for ac_func
in mousemask
11757 ac_fn_c_check_func
"$LINENO" "mousemask" "ac_cv_func_mousemask"
11758 if test "x$ac_cv_func_mousemask" = xyes
; then :
11759 cat >>confdefs.h
<<_ACEOF
11760 #define HAVE_MOUSEMASK 1
11766 LIBS
="$ac_save_LIBS"
11767 if test "x$ac_cv_lib_soname_curses$ac_cv_lib_soname_ncurses" = "x"; then :
11768 case "x$with_curses" in
11769 x
) as_fn_append wine_notices
"|lib(n)curses ${notice_platform}development files not found, curses won't be supported." ;;
11771 *) as_fn_error $?
"lib(n)curses ${notice_platform}development files not found, curses won't be supported.
11772 This is an error since --with-curses was requested." "$LINENO" 5 ;;
11776 if test "x$with_sane" != "xno"
11778 if ${SANE_CFLAGS:+false} :; then :
11779 if ${PKG_CONFIG+:} false
; then :
11780 SANE_CFLAGS
=`$PKG_CONFIG --cflags libsane 2>/dev/null`
11783 test "$cross_compiling" = yes || SANE_CFLAGS
=${SANE_CFLAGS:-`sane-config --cflags 2>/dev/null`}
11784 if ${SANE_LIBS:+false} :; then :
11785 if ${PKG_CONFIG+:} false
; then :
11786 SANE_LIBS
=`$PKG_CONFIG --libs libsane 2>/dev/null`
11789 test "$cross_compiling" = yes || SANE_LIBS
=${SANE_LIBS:-`sane-config --ldflags 2>/dev/null`}
11791 $as_echo "$as_me:${as_lineno-$LINENO}: libsane cflags: $SANE_CFLAGS" >&5
11792 $as_echo "$as_me:${as_lineno-$LINENO}: libsane libs: $SANE_LIBS" >&5
11793 ac_save_CPPFLAGS
=$CPPFLAGS
11794 CPPFLAGS
="$CPPFLAGS $SANE_CFLAGS"
11795 ac_fn_c_check_header_mongrel
"$LINENO" "sane/sane.h" "ac_cv_header_sane_sane_h" "$ac_includes_default"
11796 if test "x$ac_cv_header_sane_sane_h" = xyes
; then :
11797 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lsane" >&5
11798 $as_echo_n "checking for -lsane... " >&6; }
11799 if ${ac_cv_lib_soname_sane+:} false
; then :
11800 $as_echo_n "(cached) " >&6
11802 ac_check_soname_save_LIBS
=$LIBS
11803 LIBS
="-lsane $SANE_LIBS $LIBS"
11804 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11805 /* end confdefs.h. */
11807 /* Override any GCC internal prototype to avoid an error.
11808 Use char because int might match the return type of a GCC
11809 builtin and then its argument prototype would still apply. */
11817 return sane_init ();
11822 if ac_fn_c_try_link
"$LINENO"; then :
11824 dll
) ac_cv_lib_soname_sane
=`$ac_cv_path_LDD conftest.exe | grep "sane" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11825 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'` ;;
11826 *) ac_cv_lib_soname_sane
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libsane\\.$LIBEXT" | sed -e "s/^.*\\[\\(libsane\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
11827 if ${ac_cv_lib_soname_sane:+false} :; then :
11828 ac_cv_lib_soname_sane
=`$LDD conftest$ac_exeext | grep "libsane\\.$LIBEXT" | sed -e "s/^.*\(libsane\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11832 rm -f core conftest.err conftest.
$ac_objext \
11833 conftest
$ac_exeext conftest.
$ac_ext
11834 LIBS
=$ac_check_soname_save_LIBS
11836 if ${ac_cv_lib_soname_sane:+false} :; then :
11837 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11838 $as_echo "not found" >&6; }
11841 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_sane" >&5
11842 $as_echo "$ac_cv_lib_soname_sane" >&6; }
11844 cat >>confdefs.h
<<_ACEOF
11845 #define SONAME_LIBSANE "$ac_cv_lib_soname_sane"
11855 CPPFLAGS
=$ac_save_CPPFLAGS
11856 test -z "$SANE_CFLAGS" || SANE_CFLAGS
=`echo " $SANE_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
11857 test -z "$SANE_LIBS" || SANE_LIBS
=`echo " $SANE_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
11860 if test "x$ac_cv_lib_soname_sane" = "x"; then :
11861 case "x$with_sane" in
11862 x
) as_fn_append wine_notices
"|libsane ${notice_platform}development files not found, scanners won't be supported." ;;
11864 *) as_fn_error $?
"libsane ${notice_platform}development files not found, scanners won't be supported.
11865 This is an error since --with-sane was requested." "$LINENO" 5 ;;
11869 if test "x$with_v4l" != "xno"
11871 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lv4l1" >&5
11872 $as_echo_n "checking for -lv4l1... " >&6; }
11873 if ${ac_cv_lib_soname_v4l1+:} false
; then :
11874 $as_echo_n "(cached) " >&6
11876 ac_check_soname_save_LIBS
=$LIBS
11877 LIBS
="-lv4l1 $LIBS"
11878 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11879 /* end confdefs.h. */
11881 /* Override any GCC internal prototype to avoid an error.
11882 Use char because int might match the return type of a GCC
11883 builtin and then its argument prototype would still apply. */
11891 return v4l1_open ();
11896 if ac_fn_c_try_link
"$LINENO"; then :
11898 dll
) ac_cv_lib_soname_v4l1
=`$ac_cv_path_LDD conftest.exe | grep "v4l1" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11899 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'` ;;
11900 *) ac_cv_lib_soname_v4l1
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libv4l1\\.$LIBEXT" | sed -e "s/^.*\\[\\(libv4l1\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
11901 if ${ac_cv_lib_soname_v4l1:+false} :; then :
11902 ac_cv_lib_soname_v4l1
=`$LDD conftest$ac_exeext | grep "libv4l1\\.$LIBEXT" | sed -e "s/^.*\(libv4l1\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11906 rm -f core conftest.err conftest.
$ac_objext \
11907 conftest
$ac_exeext conftest.
$ac_ext
11908 LIBS
=$ac_check_soname_save_LIBS
11910 if ${ac_cv_lib_soname_v4l1:+false} :; then :
11911 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11912 $as_echo "not found" >&6; }
11915 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_v4l1" >&5
11916 $as_echo "$ac_cv_lib_soname_v4l1" >&6; }
11918 cat >>confdefs.h
<<_ACEOF
11919 #define SONAME_LIBV4L1 "$ac_cv_lib_soname_v4l1"
11925 if test "x$ac_cv_lib_soname_v4l1" = "x"; then :
11926 case "x$with_v4l" in
11927 x
) as_fn_append wine_notices
"|libv4l ${notice_platform}development files not found." ;;
11929 *) as_fn_error $?
"libv4l ${notice_platform}development files not found.
11930 This is an error since --with-v4l was requested." "$LINENO" 5 ;;
11934 if test "x$with_gphoto" != "xno"
11936 if ${GPHOTO2_CFLAGS:+false} :; then :
11937 if ${PKG_CONFIG+:} false
; then :
11938 GPHOTO2_CFLAGS
=`$PKG_CONFIG --cflags libgphoto2 2>/dev/null`
11941 test "$cross_compiling" = yes || GPHOTO2_CFLAGS
=${GPHOTO2_CFLAGS:-`gphoto2-config --cflags 2>/dev/null`}
11942 if ${GPHOTO2_LIBS:+false} :; then :
11943 if ${PKG_CONFIG+:} false
; then :
11944 GPHOTO2_LIBS
=`$PKG_CONFIG --libs libgphoto2 2>/dev/null`
11947 test "$cross_compiling" = yes || GPHOTO2_LIBS
=${GPHOTO2_LIBS:-`gphoto2-config --libs 2>/dev/null`}
11948 GPHOTO2_LIBS
=${GPHOTO2_LIBS:-"-lgphoto2"}
11949 $as_echo "$as_me:${as_lineno-$LINENO}: libgphoto2 cflags: $GPHOTO2_CFLAGS" >&5
11950 $as_echo "$as_me:${as_lineno-$LINENO}: libgphoto2 libs: $GPHOTO2_LIBS" >&5
11951 ac_save_CPPFLAGS
=$CPPFLAGS
11952 CPPFLAGS
="$CPPFLAGS $GPHOTO2_CFLAGS"
11953 ac_fn_c_check_header_mongrel
"$LINENO" "gphoto2-camera.h" "ac_cv_header_gphoto2_camera_h" "$ac_includes_default"
11954 if test "x$ac_cv_header_gphoto2_camera_h" = xyes
; then :
11955 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gp_camera_new in -lgphoto2" >&5
11956 $as_echo_n "checking for gp_camera_new in -lgphoto2... " >&6; }
11957 if ${ac_cv_lib_gphoto2_gp_camera_new+:} false
; then :
11958 $as_echo_n "(cached) " >&6
11960 ac_check_lib_save_LIBS
=$LIBS
11961 LIBS
="-lgphoto2 $GPHOTO2_LIBS $LIBS"
11962 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11963 /* end confdefs.h. */
11965 /* Override any GCC internal prototype to avoid an error.
11966 Use char because int might match the return type of a GCC
11967 builtin and then its argument prototype would still apply. */
11971 char gp_camera_new ();
11975 return gp_camera_new ();
11980 if ac_fn_c_try_link
"$LINENO"; then :
11981 ac_cv_lib_gphoto2_gp_camera_new
=yes
11983 ac_cv_lib_gphoto2_gp_camera_new
=no
11985 rm -f core conftest.err conftest.
$ac_objext \
11986 conftest
$ac_exeext conftest.
$ac_ext
11987 LIBS
=$ac_check_lib_save_LIBS
11989 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gphoto2_gp_camera_new" >&5
11990 $as_echo "$ac_cv_lib_gphoto2_gp_camera_new" >&6; }
11991 if test "x$ac_cv_lib_gphoto2_gp_camera_new" = xyes
; then :
11993 $as_echo "#define HAVE_GPHOTO2 1" >>confdefs.h
11996 GPHOTO2_LIBS
=""; GPHOTO2_CFLAGS
=""
12000 GPHOTO2_LIBS
=""; GPHOTO2_CFLAGS
=""
12004 CPPFLAGS
=$ac_save_CPPFLAGS
12005 test -z "$GPHOTO2_CFLAGS" || GPHOTO2_CFLAGS
=`echo " $GPHOTO2_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
12006 test -z "$GPHOTO2_LIBS" || GPHOTO2_LIBS
=`echo " $GPHOTO2_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
12008 if ${GPHOTO2_PORT_CFLAGS:+false} :; then :
12009 if ${PKG_CONFIG+:} false
; then :
12010 GPHOTO2_PORT_CFLAGS
=`$PKG_CONFIG --cflags libgphoto2_port 2>/dev/null`
12013 test "$cross_compiling" = yes || GPHOTO2_PORT_CFLAGS
=${GPHOTO2_PORT_CFLAGS:-`gphoto2-port-config --cflags 2>/dev/null`}
12014 if ${GPHOTO2_PORT_LIBS:+false} :; then :
12015 if ${PKG_CONFIG+:} false
; then :
12016 GPHOTO2_PORT_LIBS
=`$PKG_CONFIG --libs libgphoto2_port 2>/dev/null`
12019 test "$cross_compiling" = yes || GPHOTO2_PORT_LIBS
=${GPHOTO2_PORT_LIBS:-`gphoto2-port-config --libs 2>/dev/null`}
12020 GPHOTO2_PORT_LIBS
=${GPHOTO2_PORT_LIBS:-"-lgphoto2_port"}
12021 $as_echo "$as_me:${as_lineno-$LINENO}: libgphoto2_port cflags: $GPHOTO2_PORT_CFLAGS" >&5
12022 $as_echo "$as_me:${as_lineno-$LINENO}: libgphoto2_port libs: $GPHOTO2_PORT_LIBS" >&5
12023 ac_save_CPPFLAGS
=$CPPFLAGS
12024 CPPFLAGS
="$CPPFLAGS $GPHOTO2_PORT_CFLAGS"
12025 ac_fn_c_check_header_mongrel
"$LINENO" "gphoto2-port.h" "ac_cv_header_gphoto2_port_h" "$ac_includes_default"
12026 if test "x$ac_cv_header_gphoto2_port_h" = xyes
; then :
12027 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gp_port_info_list_new in -lgphoto2_port" >&5
12028 $as_echo_n "checking for gp_port_info_list_new in -lgphoto2_port... " >&6; }
12029 if ${ac_cv_lib_gphoto2_port_gp_port_info_list_new+:} false
; then :
12030 $as_echo_n "(cached) " >&6
12032 ac_check_lib_save_LIBS
=$LIBS
12033 LIBS
="-lgphoto2_port $GPHOTO2_PORT_LIBS $LIBS"
12034 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12035 /* end confdefs.h. */
12037 /* Override any GCC internal prototype to avoid an error.
12038 Use char because int might match the return type of a GCC
12039 builtin and then its argument prototype would still apply. */
12043 char gp_port_info_list_new ();
12047 return gp_port_info_list_new ();
12052 if ac_fn_c_try_link
"$LINENO"; then :
12053 ac_cv_lib_gphoto2_port_gp_port_info_list_new
=yes
12055 ac_cv_lib_gphoto2_port_gp_port_info_list_new
=no
12057 rm -f core conftest.err conftest.
$ac_objext \
12058 conftest
$ac_exeext conftest.
$ac_ext
12059 LIBS
=$ac_check_lib_save_LIBS
12061 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gphoto2_port_gp_port_info_list_new" >&5
12062 $as_echo "$ac_cv_lib_gphoto2_port_gp_port_info_list_new" >&6; }
12063 if test "x$ac_cv_lib_gphoto2_port_gp_port_info_list_new" = xyes
; then :
12065 $as_echo "#define HAVE_GPHOTO2_PORT 1" >>confdefs.h
12068 GPHOTO2_PORT_LIBS
=""; GPHOTO2_PORT_CFLAGS
=""
12072 GPHOTO2_PORT_LIBS
=""; GPHOTO2_PORT_CFLAGS
=""
12076 CPPFLAGS
=$ac_save_CPPFLAGS
12077 test -z "$GPHOTO2_PORT_CFLAGS" || GPHOTO2_PORT_CFLAGS
=`echo " $GPHOTO2_PORT_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
12078 test -z "$GPHOTO2_PORT_LIBS" || GPHOTO2_PORT_LIBS
=`echo " $GPHOTO2_PORT_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
12081 if test "$ac_cv_lib_gphoto2_gp_camera_new" != "yes"; then :
12082 case "x$with_gphoto" in
12083 x
) as_fn_append wine_notices
"|libgphoto2 ${notice_platform}development files not found, digital cameras won't be supported." ;;
12085 *) as_fn_error $?
"libgphoto2 ${notice_platform}development files not found, digital cameras won't be supported.
12086 This is an error since --with-gphoto was requested." "$LINENO" 5 ;;
12089 if test "$ac_cv_lib_gphoto2_port_gp_port_info_list_new" != "yes"; then :
12090 case "x$with_gphoto" in
12091 x
) as_fn_append wine_notices
"|libgphoto2_port ${notice_platform}development files not found, digital cameras won't be auto-detected." ;;
12093 *) as_fn_error $?
"libgphoto2_port ${notice_platform}development files not found, digital cameras won't be auto-detected.
12094 This is an error since --with-gphoto was requested." "$LINENO" 5 ;;
12099 if test "$ac_cv_header_resolv_h" = "yes"
12101 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for resolver library" >&5
12102 $as_echo_n "checking for resolver library... " >&6; }
12103 if ${ac_cv_have_resolv+:} false
; then :
12104 $as_echo_n "(cached) " >&6
12106 ac_save_LIBS
="$LIBS"
12107 for lib
in '' -lresolv
12109 LIBS
="$lib $ac_save_LIBS"
12110 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12111 /* end confdefs.h. */
12112 #ifdef HAVE_NETINET_IN_H
12113 #include <netinet/in.h>
12115 #include <resolv.h>
12119 if (!(_res.options & RES_INIT)) res_init(); res_query("foo",ns_c_in,0,0,0)
12124 if ac_fn_c_try_link
"$LINENO"; then :
12125 ac_cv_have_resolv
=${lib:-"none required"}
12127 ac_cv_have_resolv
="not found"
12129 rm -f core conftest.err conftest.
$ac_objext \
12130 conftest
$ac_exeext conftest.
$ac_ext
12131 test "x$ac_cv_have_resolv" = "xnot found" ||
break
12133 LIBS
="$ac_save_LIBS"
12135 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_resolv" >&5
12136 $as_echo "$ac_cv_have_resolv" >&6; }
12138 case "$ac_cv_have_resolv" in
12142 $as_echo "#define HAVE_RESOLV 1" >>confdefs.h
12145 $as_echo "#define HAVE_RESOLV 1" >>confdefs.h
12147 RESOLV_LIBS
=$ac_cv_have_resolv
12152 if test "x$with_cms" != "xno"
12154 if ${LCMS2_CFLAGS:+false} :; then :
12155 if ${PKG_CONFIG+:} false
; then :
12156 LCMS2_CFLAGS
=`$PKG_CONFIG --cflags lcms2 2>/dev/null`
12160 if ${LCMS2_LIBS:+false} :; then :
12161 if ${PKG_CONFIG+:} false
; then :
12162 LCMS2_LIBS
=`$PKG_CONFIG --libs lcms2 2>/dev/null`
12166 LCMS2_LIBS
=${LCMS2_LIBS:-"-llcms2"}
12167 $as_echo "$as_me:${as_lineno-$LINENO}: lcms2 cflags: $LCMS2_CFLAGS" >&5
12168 $as_echo "$as_me:${as_lineno-$LINENO}: lcms2 libs: $LCMS2_LIBS" >&5
12169 ac_save_CPPFLAGS
=$CPPFLAGS
12170 CPPFLAGS
="$CPPFLAGS $LCMS2_CFLAGS"
12171 for ac_header
in lcms2.h
12173 ac_fn_c_check_header_mongrel
"$LINENO" "lcms2.h" "ac_cv_header_lcms2_h" "$ac_includes_default"
12174 if test "x$ac_cv_header_lcms2_h" = xyes
; then :
12175 cat >>confdefs.h
<<_ACEOF
12176 #define HAVE_LCMS2_H 1
12183 if test "$ac_cv_header_lcms2_h" = "yes"
12185 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cmsOpenProfileFromFile in -llcms2" >&5
12186 $as_echo_n "checking for cmsOpenProfileFromFile in -llcms2... " >&6; }
12187 if ${ac_cv_lib_lcms2_cmsOpenProfileFromFile+:} false
; then :
12188 $as_echo_n "(cached) " >&6
12190 ac_check_lib_save_LIBS
=$LIBS
12191 LIBS
="-llcms2 $LCMS2_LIBS $LIBS"
12192 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12193 /* end confdefs.h. */
12195 /* Override any GCC internal prototype to avoid an error.
12196 Use char because int might match the return type of a GCC
12197 builtin and then its argument prototype would still apply. */
12201 char cmsOpenProfileFromFile ();
12205 return cmsOpenProfileFromFile ();
12210 if ac_fn_c_try_link
"$LINENO"; then :
12211 ac_cv_lib_lcms2_cmsOpenProfileFromFile
=yes
12213 ac_cv_lib_lcms2_cmsOpenProfileFromFile
=no
12215 rm -f core conftest.err conftest.
$ac_objext \
12216 conftest
$ac_exeext conftest.
$ac_ext
12217 LIBS
=$ac_check_lib_save_LIBS
12219 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_lcms2_cmsOpenProfileFromFile" >&5
12220 $as_echo "$ac_cv_lib_lcms2_cmsOpenProfileFromFile" >&6; }
12221 if test "x$ac_cv_lib_lcms2_cmsOpenProfileFromFile" = xyes
; then :
12223 $as_echo "#define HAVE_LCMS2 1" >>confdefs.h
12233 CPPFLAGS
=$ac_save_CPPFLAGS
12234 test -z "$LCMS2_CFLAGS" || LCMS2_CFLAGS
=`echo " $LCMS2_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
12235 test -z "$LCMS2_LIBS" || LCMS2_LIBS
=`echo " $LCMS2_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
12238 if test "$ac_cv_lib_lcms2_cmsOpenProfileFromFile" != "yes"; then :
12239 case "x$with_cms" in
12240 x
) as_fn_append wine_notices
"|liblcms2 ${notice_platform}development files not found, Color Management won't be supported." ;;
12242 *) as_fn_error $?
"liblcms2 ${notice_platform}development files not found, Color Management won't be supported.
12243 This is an error since --with-cms was requested." "$LINENO" 5 ;;
12247 if test "x$with_freetype" != "xno"
12249 if ${FREETYPE_CFLAGS:+false} :; then :
12250 if ${PKG_CONFIG+:} false
; then :
12251 FREETYPE_CFLAGS
=`$PKG_CONFIG --cflags freetype2 2>/dev/null`
12254 test "$cross_compiling" = yes || FREETYPE_CFLAGS
=${FREETYPE_CFLAGS:-`(freetype-config --cflags || freetype2-config --cflags) 2>/dev/null`}
12255 if ${FREETYPE_LIBS:+false} :; then :
12256 if ${PKG_CONFIG+:} false
; then :
12257 FREETYPE_LIBS
=`$PKG_CONFIG --libs freetype2 2>/dev/null`
12260 test "$cross_compiling" = yes || FREETYPE_LIBS
=${FREETYPE_LIBS:-`(freetype-config --libs || freetype2-config --libs) 2>/dev/null`}
12261 FREETYPE_LIBS
=${FREETYPE_LIBS:-"-lfreetype"}
12262 $as_echo "$as_me:${as_lineno-$LINENO}: freetype2 cflags: $FREETYPE_CFLAGS" >&5
12263 $as_echo "$as_me:${as_lineno-$LINENO}: freetype2 libs: $FREETYPE_LIBS" >&5
12264 ac_save_CPPFLAGS
=$CPPFLAGS
12265 CPPFLAGS
="$CPPFLAGS $FREETYPE_CFLAGS"
12266 for ac_header
in ft2build.h
12268 ac_fn_c_check_header_mongrel
"$LINENO" "ft2build.h" "ac_cv_header_ft2build_h" "$ac_includes_default"
12269 if test "x$ac_cv_header_ft2build_h" = xyes
; then :
12270 cat >>confdefs.h
<<_ACEOF
12271 #define HAVE_FT2BUILD_H 1
12278 if test "$ac_cv_header_ft2build_h" = "yes"
12280 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lfreetype" >&5
12281 $as_echo_n "checking for -lfreetype... " >&6; }
12282 if ${ac_cv_lib_soname_freetype+:} false
; then :
12283 $as_echo_n "(cached) " >&6
12285 ac_check_soname_save_LIBS
=$LIBS
12286 LIBS
="-lfreetype $FREETYPE_LIBS $LIBS"
12287 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12288 /* end confdefs.h. */
12290 /* Override any GCC internal prototype to avoid an error.
12291 Use char because int might match the return type of a GCC
12292 builtin and then its argument prototype would still apply. */
12296 char FT_Init_FreeType ();
12300 return FT_Init_FreeType ();
12305 if ac_fn_c_try_link
"$LINENO"; then :
12307 dll
) ac_cv_lib_soname_freetype
=`$ac_cv_path_LDD conftest.exe | grep "freetype" | sed -e "s/dll.*/dll/"';2,$d'` ;;
12308 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'` ;;
12309 *) ac_cv_lib_soname_freetype
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libfreetype\\.$LIBEXT" | sed -e "s/^.*\\[\\(libfreetype\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
12310 if ${ac_cv_lib_soname_freetype:+false} :; then :
12311 ac_cv_lib_soname_freetype
=`$LDD conftest$ac_exeext | grep "libfreetype\\.$LIBEXT" | sed -e "s/^.*\(libfreetype\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
12315 rm -f core conftest.err conftest.
$ac_objext \
12316 conftest
$ac_exeext conftest.
$ac_ext
12317 LIBS
=$ac_check_soname_save_LIBS
12319 if ${ac_cv_lib_soname_freetype:+false} :; then :
12320 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
12321 $as_echo "not found" >&6; }
12324 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_freetype" >&5
12325 $as_echo "$ac_cv_lib_soname_freetype" >&6; }
12327 cat >>confdefs.h
<<_ACEOF
12328 #define SONAME_LIBFREETYPE "$ac_cv_lib_soname_freetype"
12332 $as_echo "#define HAVE_FREETYPE 1" >>confdefs.h
12334 ac_fn_c_check_type
"$LINENO" "FT_TrueTypeEngineType" "ac_cv_type_FT_TrueTypeEngineType" "#include <ft2build.h>
12335 #include FT_MODULE_H
12337 if test "x$ac_cv_type_FT_TrueTypeEngineType" = xyes
; then :
12339 cat >>confdefs.h
<<_ACEOF
12340 #define HAVE_FT_TRUETYPEENGINETYPE 1
12351 CPPFLAGS
=$ac_save_CPPFLAGS
12352 test -z "$FREETYPE_CFLAGS" || FREETYPE_CFLAGS
=`echo " $FREETYPE_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
12353 test -z "$FREETYPE_LIBS" || FREETYPE_LIBS
=`echo " $FREETYPE_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
12356 if test "x$ac_cv_lib_soname_freetype" = x
; then :
12357 case "x$with_freetype" in
12359 *) as_fn_error $?
"FreeType ${notice_platform}development files not found. Fonts will not be built.
12360 Use the --without-freetype option if you really want this." "$LINENO" 5 ;;
12363 test "x$ac_cv_lib_soname_freetype" = x
&& enable_fonts
=${enable_fonts:-no}
12365 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for parport header/ppdev.h" >&5
12366 $as_echo_n "checking for parport header/ppdev.h... " >&6; }
12367 if ${ac_cv_c_ppdev+:} false
; then :
12368 $as_echo_n "(cached) " >&6
12370 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12371 /* end confdefs.h. */
12372 #ifdef HAVE_SYS_IOCTL_H
12373 # include <sys/ioctl.h>
12375 #include <linux/ppdev.h>
12379 ioctl (1,PPCLAIM,0)
12384 if ac_fn_c_try_compile
"$LINENO"; then :
12385 ac_cv_c_ppdev
="yes"
12389 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
12391 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_ppdev" >&5
12392 $as_echo "$ac_cv_c_ppdev" >&6; }
12393 if test "$ac_cv_c_ppdev" = "yes"
12396 $as_echo "#define HAVE_PPDEV 1" >>confdefs.h
12400 ac_wine_check_funcs_save_LIBS
="$LIBS"
12401 LIBS
="$LIBS $PTHREAD_LIBS"
12403 pthread_attr_get_np \
12404 pthread_getattr_np \
12405 pthread_getthreadid_np \
12406 pthread_get_stackaddr_np \
12407 pthread_get_stacksize_np
12409 as_ac_var
=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
12410 ac_fn_c_check_func
"$LINENO" "$ac_func" "$as_ac_var"
12411 if eval test \"x\$
"$as_ac_var"\" = x
"yes"; then :
12412 cat >>confdefs.h
<<_ACEOF
12413 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
12419 LIBS
="$ac_wine_check_funcs_save_LIBS"
12421 if test "$ac_cv_header_zlib_h" = "yes"
12423 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for inflate in -lz" >&5
12424 $as_echo_n "checking for inflate in -lz... " >&6; }
12425 if ${ac_cv_lib_z_inflate+:} false
; then :
12426 $as_echo_n "(cached) " >&6
12428 ac_check_lib_save_LIBS
=$LIBS
12430 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12431 /* end confdefs.h. */
12433 /* Override any GCC internal prototype to avoid an error.
12434 Use char because int might match the return type of a GCC
12435 builtin and then its argument prototype would still apply. */
12448 if ac_fn_c_try_link
"$LINENO"; then :
12449 ac_cv_lib_z_inflate
=yes
12451 ac_cv_lib_z_inflate
=no
12453 rm -f core conftest.err conftest.
$ac_objext \
12454 conftest
$ac_exeext conftest.
$ac_ext
12455 LIBS
=$ac_check_lib_save_LIBS
12457 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_z_inflate" >&5
12458 $as_echo "$ac_cv_lib_z_inflate" >&6; }
12459 if test "x$ac_cv_lib_z_inflate" = xyes
; then :
12461 $as_echo "#define HAVE_ZLIB 1" >>confdefs.h
12468 if test "x$Z_LIBS" = "x"; then :
12469 case "x$with_zlib" in
12470 x
) as_fn_append wine_notices
"|libz ${notice_platform}development files not found, data compression won't be supported." ;;
12472 *) as_fn_error $?
"libz ${notice_platform}development files not found, data compression won't be supported.
12473 This is an error since --with-zlib was requested." "$LINENO" 5 ;;
12477 if test "x$enable_tools" != xno
12479 if test "$ac_cv_header_gettext_po_h" = "yes"
12481 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for po_message_msgctxt in -lgettextpo" >&5
12482 $as_echo_n "checking for po_message_msgctxt in -lgettextpo... " >&6; }
12483 if ${ac_cv_lib_gettextpo_po_message_msgctxt+:} false
; then :
12484 $as_echo_n "(cached) " >&6
12486 ac_check_lib_save_LIBS
=$LIBS
12487 LIBS
="-lgettextpo $LIBS"
12488 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12489 /* end confdefs.h. */
12491 /* Override any GCC internal prototype to avoid an error.
12492 Use char because int might match the return type of a GCC
12493 builtin and then its argument prototype would still apply. */
12497 char po_message_msgctxt ();
12501 return po_message_msgctxt ();
12506 if ac_fn_c_try_link
"$LINENO"; then :
12507 ac_cv_lib_gettextpo_po_message_msgctxt
=yes
12509 ac_cv_lib_gettextpo_po_message_msgctxt
=no
12511 rm -f core conftest.err conftest.
$ac_objext \
12512 conftest
$ac_exeext conftest.
$ac_ext
12513 LIBS
=$ac_check_lib_save_LIBS
12515 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gettextpo_po_message_msgctxt" >&5
12516 $as_echo "$ac_cv_lib_gettextpo_po_message_msgctxt" >&6; }
12517 if test "x$ac_cv_lib_gettextpo_po_message_msgctxt" = xyes
; then :
12519 $as_echo "#define HAVE_LIBGETTEXTPO 1" >>confdefs.h
12521 GETTEXTPO_LIBS
="-lgettextpo"
12526 test "x$with_gettextpo" != xyes ||
if test "x$GETTEXTPO_LIBS" = "x"; then :
12527 case "x$with_gettextpo" in
12528 x
) as_fn_append wine_notices
"|GetText ${notice_platform}development files not found (or too old), po files can't be rebuilt." ;;
12530 *) as_fn_error $?
"GetText ${notice_platform}development files not found (or too old), po files can't be rebuilt.
12531 This is an error since --with-gettextpo was requested." "$LINENO" 5 ;;
12536 if test "x$with_gstreamer" != "xno"
12538 if ${GSTREAMER_CFLAGS:+false} :; then :
12539 if ${PKG_CONFIG+:} false
; then :
12540 GSTREAMER_CFLAGS
=`$PKG_CONFIG --cflags gstreamer-app-0.10 2>/dev/null`
12544 if ${GSTREAMER_LIBS:+false} :; then :
12545 if ${PKG_CONFIG+:} false
; then :
12546 GSTREAMER_LIBS
=`$PKG_CONFIG --libs gstreamer-app-0.10 2>/dev/null`
12551 $as_echo "$as_me:${as_lineno-$LINENO}: gstreamer-app-0.10 cflags: $GSTREAMER_CFLAGS" >&5
12552 $as_echo "$as_me:${as_lineno-$LINENO}: gstreamer-app-0.10 libs: $GSTREAMER_LIBS" >&5
12553 ac_save_CPPFLAGS
=$CPPFLAGS
12554 CPPFLAGS
="$CPPFLAGS $GSTREAMER_CFLAGS"
12556 for i
in $GSTREAMER_CFLAGS
12559 -I*) ac_gst_incl
="$ac_gst_incl $i";;
12562 GSTREAMER_CFLAGS
=$ac_gst_incl
12563 CPPFLAGS
="$ac_save_CPPFLAGS $GSTREAMER_CFLAGS"
12564 ac_fn_c_check_header_mongrel
"$LINENO" "gst/gstpad.h" "ac_cv_header_gst_gstpad_h" "$ac_includes_default"
12565 if test "x$ac_cv_header_gst_gstpad_h" = xyes
; then :
12566 ac_fn_c_check_header_mongrel
"$LINENO" "gst/app/gstappsink.h" "ac_cv_header_gst_app_gstappsink_h" "$ac_includes_default"
12567 if test "x$ac_cv_header_gst_app_gstappsink_h" = xyes
; then :
12568 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether gint64 defined by gst/app/gstappsink.h is indeed 64-bit" >&5
12569 $as_echo_n "checking whether gint64 defined by gst/app/gstappsink.h is indeed 64-bit... " >&6; }
12570 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12571 /* end confdefs.h. */
12572 #include <gst/app/gstappsink.h>
12576 static int a[sizeof(gint64) > 4 ? 1 : -1]; if (a[0]) return 0;
12581 if ac_fn_c_try_compile
"$LINENO"; then :
12582 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
12583 $as_echo "yes" >&6; }
12584 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gst_pad_get_caps_reffed in -lgstreamer-0.10" >&5
12585 $as_echo_n "checking for gst_pad_get_caps_reffed in -lgstreamer-0.10... " >&6; }
12586 if ${ac_cv_lib_gstreamer_0_10_gst_pad_get_caps_reffed+:} false
; then :
12587 $as_echo_n "(cached) " >&6
12589 ac_check_lib_save_LIBS
=$LIBS
12590 LIBS
="-lgstreamer-0.10 $LIBS"
12591 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12592 /* end confdefs.h. */
12594 /* Override any GCC internal prototype to avoid an error.
12595 Use char because int might match the return type of a GCC
12596 builtin and then its argument prototype would still apply. */
12600 char gst_pad_get_caps_reffed ();
12604 return gst_pad_get_caps_reffed ();
12609 if ac_fn_c_try_link
"$LINENO"; then :
12610 ac_cv_lib_gstreamer_0_10_gst_pad_get_caps_reffed
=yes
12612 ac_cv_lib_gstreamer_0_10_gst_pad_get_caps_reffed
=no
12614 rm -f core conftest.err conftest.
$ac_objext \
12615 conftest
$ac_exeext conftest.
$ac_ext
12616 LIBS
=$ac_check_lib_save_LIBS
12618 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gstreamer_0_10_gst_pad_get_caps_reffed" >&5
12619 $as_echo "$ac_cv_lib_gstreamer_0_10_gst_pad_get_caps_reffed" >&6; }
12620 if test "x$ac_cv_lib_gstreamer_0_10_gst_pad_get_caps_reffed" = xyes
; then :
12621 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gst_app_buffer_new in -lgstapp-0.10" >&5
12622 $as_echo_n "checking for gst_app_buffer_new in -lgstapp-0.10... " >&6; }
12623 if ${ac_cv_lib_gstapp_0_10_gst_app_buffer_new+:} false
; then :
12624 $as_echo_n "(cached) " >&6
12626 ac_check_lib_save_LIBS
=$LIBS
12627 LIBS
="-lgstapp-0.10 $GSTREAMER_LIBS $LIBS"
12628 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12629 /* end confdefs.h. */
12631 /* Override any GCC internal prototype to avoid an error.
12632 Use char because int might match the return type of a GCC
12633 builtin and then its argument prototype would still apply. */
12637 char gst_app_buffer_new ();
12641 return gst_app_buffer_new ();
12646 if ac_fn_c_try_link
"$LINENO"; then :
12647 ac_cv_lib_gstapp_0_10_gst_app_buffer_new
=yes
12649 ac_cv_lib_gstapp_0_10_gst_app_buffer_new
=no
12651 rm -f core conftest.err conftest.
$ac_objext \
12652 conftest
$ac_exeext conftest.
$ac_ext
12653 LIBS
=$ac_check_lib_save_LIBS
12655 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gstapp_0_10_gst_app_buffer_new" >&5
12656 $as_echo "$ac_cv_lib_gstapp_0_10_gst_app_buffer_new" >&6; }
12657 if test "x$ac_cv_lib_gstapp_0_10_gst_app_buffer_new" = xyes
; then :
12664 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12665 $as_echo "no" >&6; }
12667 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
12672 GSTREAMER_CFLAGS
=""
12676 CPPFLAGS
=$ac_save_CPPFLAGS
12677 test -z "$GSTREAMER_CFLAGS" || GSTREAMER_CFLAGS
=`echo " $GSTREAMER_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
12678 test -z "$GSTREAMER_LIBS" || GSTREAMER_LIBS
=`echo " $GSTREAMER_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
12681 if test "x$ac_cv_lib_gstapp_0_10_gst_app_buffer_new" != xyes
-a "x$ac_cv_header_QuickTime_ImageCompression_h" != xyes
; then :
12682 case "x$with_gstreamer" in
12683 x
) as_fn_append wine_notices
"|gstreamer-0.10 base plugins ${notice_platform}development files not found, gstreamer support disabled" ;;
12685 *) as_fn_error $?
"gstreamer-0.10 base plugins ${notice_platform}development files not found, gstreamer support disabled
12686 This is an error since --with-gstreamer was requested." "$LINENO" 5 ;;
12689 test "x$ac_cv_lib_gstapp_0_10_gst_app_buffer_new" = xyes || enable_winegstreamer
=${enable_winegstreamer:-no}
12693 if test "$ac_cv_header_sys_asoundlib_h" = "yes" -o "$ac_cv_header_alsa_asoundlib_h" = "yes"
12695 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for snd_pcm_hw_params_get_access_mask in -lasound" >&5
12696 $as_echo_n "checking for snd_pcm_hw_params_get_access_mask in -lasound... " >&6; }
12697 if ${ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask+:} false
; then :
12698 $as_echo_n "(cached) " >&6
12700 ac_check_lib_save_LIBS
=$LIBS
12701 LIBS
="-lasound $LIBS"
12702 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12703 /* end confdefs.h. */
12705 /* Override any GCC internal prototype to avoid an error.
12706 Use char because int might match the return type of a GCC
12707 builtin and then its argument prototype would still apply. */
12711 char snd_pcm_hw_params_get_access_mask ();
12715 return snd_pcm_hw_params_get_access_mask ();
12720 if ac_fn_c_try_link
"$LINENO"; then :
12721 ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask
=yes
12723 ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask
=no
12725 rm -f core conftest.err conftest.
$ac_objext \
12726 conftest
$ac_exeext conftest.
$ac_ext
12727 LIBS
=$ac_check_lib_save_LIBS
12729 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask" >&5
12730 $as_echo "$ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask" >&6; }
12731 if test "x$ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask" = xyes
; then :
12732 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12733 /* end confdefs.h. */
12734 #ifdef HAVE_ALSA_ASOUNDLIB_H
12735 #include <alsa/asoundlib.h>
12736 #elif defined(HAVE_SYS_ASOUNDLIB_H)
12737 #include <sys/asoundlib.h>
12742 snd_pcm_hw_params_get_access_mask(NULL, NULL)
12747 if ac_fn_c_try_compile
"$LINENO"; then :
12748 ALSA_LIBS
="-lasound"
12750 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
12755 if test "x$with_oss" != xno
12757 ac_save_CPPFLAGS
="$CPPFLAGS"
12758 if test -f /etc
/oss.conf
12762 ac_oss_incl
="-I${OSSLIBDIR:-/usr/lib/oss}/include"
12763 CPPFLAGS
="$CPPFLAGS $ac_oss_incl"
12764 ac_fn_c_check_header_mongrel
"$LINENO" "sys/soundcard.h" "ac_cv_header_sys_soundcard_h" "$ac_includes_default"
12765 if test "x$ac_cv_header_sys_soundcard_h" = xyes
; then :
12766 ac_fn_c_check_member
"$LINENO" "oss_sysinfo" "numaudioengines" "ac_cv_member_oss_sysinfo_numaudioengines" "#include <sys/soundcard.h>
12768 if test "x$ac_cv_member_oss_sysinfo_numaudioengines" = xyes
; then :
12770 cat >>confdefs.h
<<_ACEOF
12771 #define HAVE_OSS_SYSINFO_NUMAUDIOENGINES 1
12774 OSS4_CFLAGS
="$ac_oss_incl"
12781 CPPFLAGS
="$ac_save_CPPFLAGS"
12782 if test "x$ac_cv_member_oss_sysinfo_numaudioengines" != xyes
12784 as_fn_append wine_notices
"|OSS sound system found but too old (OSSv4 needed), OSS won't be supported."
12788 if test "x$with_capi" != "xno"
12790 if ${CAPI20_CFLAGS:+false} :; then :
12791 if ${PKG_CONFIG+:} false
; then :
12792 CAPI20_CFLAGS
=`$PKG_CONFIG --cflags capi20 2>/dev/null`
12796 if ${CAPI20_LIBS:+false} :; then :
12797 if ${PKG_CONFIG+:} false
; then :
12798 CAPI20_LIBS
=`$PKG_CONFIG --libs capi20 2>/dev/null`
12803 $as_echo "$as_me:${as_lineno-$LINENO}: capi20 cflags: $CAPI20_CFLAGS" >&5
12804 $as_echo "$as_me:${as_lineno-$LINENO}: capi20 libs: $CAPI20_LIBS" >&5
12805 ac_save_CPPFLAGS
=$CPPFLAGS
12806 CPPFLAGS
="$CPPFLAGS $CAPI20_CFLAGS"
12807 for ac_header
in capi20.h linux
/capi.h
12809 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
12810 ac_fn_c_check_header_compile
"$LINENO" "$ac_header" "$as_ac_Header" "#define __user
12812 if eval test \"x\$
"$as_ac_Header"\" = x
"yes"; then :
12813 cat >>confdefs.h
<<_ACEOF
12814 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
12821 if test "$ac_cv_header_capi20_h" = "yes" -a "$ac_cv_header_linux_capi_h" = "yes"
12823 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lcapi20" >&5
12824 $as_echo_n "checking for -lcapi20... " >&6; }
12825 if ${ac_cv_lib_soname_capi20+:} false
; then :
12826 $as_echo_n "(cached) " >&6
12828 ac_check_soname_save_LIBS
=$LIBS
12829 LIBS
="-lcapi20 $CAPI20_LIBS $LIBS"
12830 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12831 /* end confdefs.h. */
12833 /* Override any GCC internal prototype to avoid an error.
12834 Use char because int might match the return type of a GCC
12835 builtin and then its argument prototype would still apply. */
12839 char capi20_register ();
12843 return capi20_register ();
12848 if ac_fn_c_try_link
"$LINENO"; then :
12850 dll
) ac_cv_lib_soname_capi20
=`$ac_cv_path_LDD conftest.exe | grep "capi20" | sed -e "s/dll.*/dll/"';2,$d'` ;;
12851 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'` ;;
12852 *) ac_cv_lib_soname_capi20
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libcapi20\\.$LIBEXT" | sed -e "s/^.*\\[\\(libcapi20\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
12853 if ${ac_cv_lib_soname_capi20:+false} :; then :
12854 ac_cv_lib_soname_capi20
=`$LDD conftest$ac_exeext | grep "libcapi20\\.$LIBEXT" | sed -e "s/^.*\(libcapi20\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
12858 rm -f core conftest.err conftest.
$ac_objext \
12859 conftest
$ac_exeext conftest.
$ac_ext
12860 LIBS
=$ac_check_soname_save_LIBS
12862 if ${ac_cv_lib_soname_capi20:+false} :; then :
12863 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
12864 $as_echo "not found" >&6; }
12867 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_capi20" >&5
12868 $as_echo "$ac_cv_lib_soname_capi20" >&6; }
12870 cat >>confdefs.h
<<_ACEOF
12871 #define SONAME_LIBCAPI20 "$ac_cv_lib_soname_capi20"
12877 CPPFLAGS
=$ac_save_CPPFLAGS
12878 test -z "$CAPI20_CFLAGS" || CAPI20_CFLAGS
=`echo " $CAPI20_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
12879 test -z "$CAPI20_LIBS" || CAPI20_LIBS
=`echo " $CAPI20_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
12882 if test "x$ac_cv_lib_soname_capi20" = "x"; then :
12883 case "x$with_capi" in
12884 x
) as_fn_append wine_notices
"|libcapi20 ${notice_platform}development files not found, ISDN won't be supported." ;;
12886 *) as_fn_error $?
"libcapi20 ${notice_platform}development files not found, ISDN won't be supported.
12887 This is an error since --with-capi was requested." "$LINENO" 5 ;;
12893 if test "x$with_cups" != "xno"
12895 ac_save_CPPFLAGS
="$CPPFLAGS"
12896 ac_cups_cflags
=`cups-config --cflags 2>/dev/null`
12897 ac_cups_libs
=`cups-config --ldflags 2>/dev/null`
12898 CPPFLAGS
="$CPPFLAGS $ac_cups_cflags"
12899 for ac_header
in cups
/cups.h
12901 ac_fn_c_check_header_mongrel
"$LINENO" "cups/cups.h" "ac_cv_header_cups_cups_h" "$ac_includes_default"
12902 if test "x$ac_cv_header_cups_cups_h" = xyes
; then :
12903 cat >>confdefs.h
<<_ACEOF
12904 #define HAVE_CUPS_CUPS_H 1
12906 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lcups" >&5
12907 $as_echo_n "checking for -lcups... " >&6; }
12908 if ${ac_cv_lib_soname_cups+:} false
; then :
12909 $as_echo_n "(cached) " >&6
12911 ac_check_soname_save_LIBS
=$LIBS
12912 LIBS
="-lcups $ac_cups_libs $LIBS"
12913 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12914 /* end confdefs.h. */
12916 /* Override any GCC internal prototype to avoid an error.
12917 Use char because int might match the return type of a GCC
12918 builtin and then its argument prototype would still apply. */
12922 char cupsGetDefault ();
12926 return cupsGetDefault ();
12931 if ac_fn_c_try_link
"$LINENO"; then :
12933 dll
) ac_cv_lib_soname_cups
=`$ac_cv_path_LDD conftest.exe | grep "cups" | sed -e "s/dll.*/dll/"';2,$d'` ;;
12934 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'` ;;
12935 *) ac_cv_lib_soname_cups
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libcups\\.$LIBEXT" | sed -e "s/^.*\\[\\(libcups\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
12936 if ${ac_cv_lib_soname_cups:+false} :; then :
12937 ac_cv_lib_soname_cups
=`$LDD conftest$ac_exeext | grep "libcups\\.$LIBEXT" | sed -e "s/^.*\(libcups\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
12941 rm -f core conftest.err conftest.
$ac_objext \
12942 conftest
$ac_exeext conftest.
$ac_ext
12943 LIBS
=$ac_check_soname_save_LIBS
12945 if ${ac_cv_lib_soname_cups:+false} :; then :
12946 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
12947 $as_echo "not found" >&6; }
12950 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_cups" >&5
12951 $as_echo "$ac_cv_lib_soname_cups" >&6; }
12953 cat >>confdefs.h
<<_ACEOF
12954 #define SONAME_LIBCUPS "$ac_cv_lib_soname_cups"
12957 CUPS_CFLAGS
="$ac_cups_cflags"
12963 CPPFLAGS
="$ac_save_CPPFLAGS"
12965 if test "x$ac_cv_lib_soname_cups" = "x"; then :
12966 case "x$with_cups" in
12967 x
) as_fn_append wine_notices
"|libcups ${notice_platform}development files not found, CUPS won't be supported." ;;
12969 *) as_fn_error $?
"libcups ${notice_platform}development files not found, CUPS won't be supported.
12970 This is an error since --with-cups was requested." "$LINENO" 5 ;;
12974 if test "x$with_fontconfig" != "xno"
12976 if ${FONTCONFIG_CFLAGS:+false} :; then :
12977 if ${PKG_CONFIG+:} false
; then :
12978 FONTCONFIG_CFLAGS
=`$PKG_CONFIG --cflags fontconfig 2>/dev/null`
12981 test "$cross_compiling" = yes || FONTCONFIG_CFLAGS
=${FONTCONFIG_CFLAGS:-$X_CFLAGS}
12982 if ${FONTCONFIG_LIBS:+false} :; then :
12983 if ${PKG_CONFIG+:} false
; then :
12984 FONTCONFIG_LIBS
=`$PKG_CONFIG --libs fontconfig 2>/dev/null`
12987 test "$cross_compiling" = yes || FONTCONFIG_LIBS
=${FONTCONFIG_LIBS:-$X_LIBS}
12989 $as_echo "$as_me:${as_lineno-$LINENO}: fontconfig cflags: $FONTCONFIG_CFLAGS" >&5
12990 $as_echo "$as_me:${as_lineno-$LINENO}: fontconfig libs: $FONTCONFIG_LIBS" >&5
12991 ac_save_CPPFLAGS
=$CPPFLAGS
12992 CPPFLAGS
="$CPPFLAGS $FONTCONFIG_CFLAGS"
12993 for ac_header
in fontconfig
/fontconfig.h
12995 ac_fn_c_check_header_mongrel
"$LINENO" "fontconfig/fontconfig.h" "ac_cv_header_fontconfig_fontconfig_h" "$ac_includes_default"
12996 if test "x$ac_cv_header_fontconfig_fontconfig_h" = xyes
; then :
12997 cat >>confdefs.h
<<_ACEOF
12998 #define HAVE_FONTCONFIG_FONTCONFIG_H 1
13005 if test "$ac_cv_header_fontconfig_fontconfig_h" = "yes"
13007 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lfontconfig" >&5
13008 $as_echo_n "checking for -lfontconfig... " >&6; }
13009 if ${ac_cv_lib_soname_fontconfig+:} false
; then :
13010 $as_echo_n "(cached) " >&6
13012 ac_check_soname_save_LIBS
=$LIBS
13013 LIBS
="-lfontconfig $FONTCONFIG_LIBS $LIBS"
13014 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13015 /* end confdefs.h. */
13017 /* Override any GCC internal prototype to avoid an error.
13018 Use char because int might match the return type of a GCC
13019 builtin and then its argument prototype would still apply. */
13032 if ac_fn_c_try_link
"$LINENO"; then :
13034 dll
) ac_cv_lib_soname_fontconfig
=`$ac_cv_path_LDD conftest.exe | grep "fontconfig" | sed -e "s/dll.*/dll/"';2,$d'` ;;
13035 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'` ;;
13036 *) ac_cv_lib_soname_fontconfig
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libfontconfig\\.$LIBEXT" | sed -e "s/^.*\\[\\(libfontconfig\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
13037 if ${ac_cv_lib_soname_fontconfig:+false} :; then :
13038 ac_cv_lib_soname_fontconfig
=`$LDD conftest$ac_exeext | grep "libfontconfig\\.$LIBEXT" | sed -e "s/^.*\(libfontconfig\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
13042 rm -f core conftest.err conftest.
$ac_objext \
13043 conftest
$ac_exeext conftest.
$ac_ext
13044 LIBS
=$ac_check_soname_save_LIBS
13046 if ${ac_cv_lib_soname_fontconfig:+false} :; then :
13047 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13048 $as_echo "not found" >&6; }
13049 FONTCONFIG_CFLAGS
=""
13051 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_fontconfig" >&5
13052 $as_echo "$ac_cv_lib_soname_fontconfig" >&6; }
13054 cat >>confdefs.h
<<_ACEOF
13055 #define SONAME_LIBFONTCONFIG "$ac_cv_lib_soname_fontconfig"
13061 FONTCONFIG_CFLAGS
=""
13063 CPPFLAGS
=$ac_save_CPPFLAGS
13064 test -z "$FONTCONFIG_CFLAGS" || FONTCONFIG_CFLAGS
=`echo " $FONTCONFIG_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
13065 test -z "$FONTCONFIG_LIBS" || FONTCONFIG_LIBS
=`echo " $FONTCONFIG_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
13068 if test "x$ac_cv_lib_soname_fontconfig" = "x"; then :
13069 case "x$with_fontconfig" in
13070 x
) as_fn_append wine_notices
"|fontconfig ${notice_platform}development files not found, fontconfig won't be supported." ;;
13072 *) as_fn_error $?
"fontconfig ${notice_platform}development files not found, fontconfig won't be supported.
13073 This is an error since --with-fontconfig was requested." "$LINENO" 5 ;;
13077 if test "$ac_cv_header_gsm_h" = "yes" -o "$ac_cv_header_gsm_gsm_h" = "yes"
13079 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lgsm" >&5
13080 $as_echo_n "checking for -lgsm... " >&6; }
13081 if ${ac_cv_lib_soname_gsm+:} false
; then :
13082 $as_echo_n "(cached) " >&6
13084 ac_check_soname_save_LIBS
=$LIBS
13086 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13087 /* end confdefs.h. */
13089 /* Override any GCC internal prototype to avoid an error.
13090 Use char because int might match the return type of a GCC
13091 builtin and then its argument prototype would still apply. */
13095 char gsm_create ();
13099 return gsm_create ();
13104 if ac_fn_c_try_link
"$LINENO"; then :
13106 dll
) ac_cv_lib_soname_gsm
=`$ac_cv_path_LDD conftest.exe | grep "gsm" | sed -e "s/dll.*/dll/"';2,$d'` ;;
13107 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'` ;;
13108 *) ac_cv_lib_soname_gsm
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libgsm\\.$LIBEXT" | sed -e "s/^.*\\[\\(libgsm\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
13109 if ${ac_cv_lib_soname_gsm:+false} :; then :
13110 ac_cv_lib_soname_gsm
=`$LDD conftest$ac_exeext | grep "libgsm\\.$LIBEXT" | sed -e "s/^.*\(libgsm\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
13114 rm -f core conftest.err conftest.
$ac_objext \
13115 conftest
$ac_exeext conftest.
$ac_ext
13116 LIBS
=$ac_check_soname_save_LIBS
13118 if ${ac_cv_lib_soname_gsm:+false} :; then :
13119 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13120 $as_echo "not found" >&6; }
13123 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_gsm" >&5
13124 $as_echo "$ac_cv_lib_soname_gsm" >&6; }
13126 cat >>confdefs.h
<<_ACEOF
13127 #define SONAME_LIBGSM "$ac_cv_lib_soname_gsm"
13133 if test "x$ac_cv_lib_soname_gsm" = "x"; then :
13134 case "x$with_gsm" in
13135 x
) as_fn_append wine_notices
"|libgsm ${notice_platform}development files not found, gsm 06.10 codec won't be supported." ;;
13137 *) as_fn_error $?
"libgsm ${notice_platform}development files not found, gsm 06.10 codec won't be supported.
13138 This is an error since --with-gsm was requested." "$LINENO" 5 ;;
13142 if test "x$with_jpeg" != "xno"
13144 if ${JPEG_CFLAGS:+false} :; then :
13145 if ${PKG_CONFIG+:} false
; then :
13146 JPEG_CFLAGS
=`$PKG_CONFIG --cflags libjpeg 2>/dev/null`
13150 if ${JPEG_LIBS:+false} :; then :
13151 if ${PKG_CONFIG+:} false
; then :
13152 JPEG_LIBS
=`$PKG_CONFIG --libs libjpeg 2>/dev/null`
13157 $as_echo "$as_me:${as_lineno-$LINENO}: libjpeg cflags: $JPEG_CFLAGS" >&5
13158 $as_echo "$as_me:${as_lineno-$LINENO}: libjpeg libs: $JPEG_LIBS" >&5
13159 ac_save_CPPFLAGS
=$CPPFLAGS
13160 CPPFLAGS
="$CPPFLAGS $JPEG_CFLAGS"
13161 for ac_header
in jpeglib.h
13163 ac_fn_c_check_header_mongrel
"$LINENO" "jpeglib.h" "ac_cv_header_jpeglib_h" "$ac_includes_default"
13164 if test "x$ac_cv_header_jpeglib_h" = xyes
; then :
13165 cat >>confdefs.h
<<_ACEOF
13166 #define HAVE_JPEGLIB_H 1
13173 if test "$ac_cv_header_jpeglib_h" = "yes"
13175 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -ljpeg" >&5
13176 $as_echo_n "checking for -ljpeg... " >&6; }
13177 if ${ac_cv_lib_soname_jpeg+:} false
; then :
13178 $as_echo_n "(cached) " >&6
13180 ac_check_soname_save_LIBS
=$LIBS
13181 LIBS
="-ljpeg $JPEG_LIBS $LIBS"
13182 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13183 /* end confdefs.h. */
13185 /* Override any GCC internal prototype to avoid an error.
13186 Use char because int might match the return type of a GCC
13187 builtin and then its argument prototype would still apply. */
13191 char jpeg_start_decompress ();
13195 return jpeg_start_decompress ();
13200 if ac_fn_c_try_link
"$LINENO"; then :
13202 dll
) ac_cv_lib_soname_jpeg
=`$ac_cv_path_LDD conftest.exe | grep "jpeg" | sed -e "s/dll.*/dll/"';2,$d'` ;;
13203 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'` ;;
13204 *) ac_cv_lib_soname_jpeg
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libjpeg\\.$LIBEXT" | sed -e "s/^.*\\[\\(libjpeg\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
13205 if ${ac_cv_lib_soname_jpeg:+false} :; then :
13206 ac_cv_lib_soname_jpeg
=`$LDD conftest$ac_exeext | grep "libjpeg\\.$LIBEXT" | sed -e "s/^.*\(libjpeg\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
13210 rm -f core conftest.err conftest.
$ac_objext \
13211 conftest
$ac_exeext conftest.
$ac_ext
13212 LIBS
=$ac_check_soname_save_LIBS
13214 if ${ac_cv_lib_soname_jpeg:+false} :; then :
13215 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13216 $as_echo "not found" >&6; }
13219 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_jpeg" >&5
13220 $as_echo "$ac_cv_lib_soname_jpeg" >&6; }
13222 cat >>confdefs.h
<<_ACEOF
13223 #define SONAME_LIBJPEG "$ac_cv_lib_soname_jpeg"
13231 CPPFLAGS
=$ac_save_CPPFLAGS
13232 test -z "$JPEG_CFLAGS" || JPEG_CFLAGS
=`echo " $JPEG_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
13233 test -z "$JPEG_LIBS" || JPEG_LIBS
=`echo " $JPEG_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
13236 if test "x$ac_cv_lib_soname_jpeg" = "x"; then :
13237 case "x$with_jpeg" in
13238 x
) as_fn_append wine_warnings
"|libjpeg ${notice_platform}development files not found, JPEG won't be supported." ;;
13240 *) as_fn_error $?
"libjpeg ${notice_platform}development files not found, JPEG won't be supported.
13241 This is an error since --with-jpeg was requested." "$LINENO" 5 ;;
13245 if test "x$with_png" != "xno"
13247 if ${PNG_CFLAGS:+false} :; then :
13248 if ${PKG_CONFIG+:} false
; then :
13249 PNG_CFLAGS
=`$PKG_CONFIG --cflags libpng 2>/dev/null`
13252 test "$cross_compiling" = yes || PNG_CFLAGS
=${PNG_CFLAGS:-$X_CFLAGS}
13253 if ${PNG_LIBS:+false} :; then :
13254 if ${PKG_CONFIG+:} false
; then :
13255 PNG_LIBS
=`$PKG_CONFIG --libs libpng 2>/dev/null`
13258 test "$cross_compiling" = yes || PNG_LIBS
=${PNG_LIBS:-$X_LIBS}
13260 $as_echo "$as_me:${as_lineno-$LINENO}: libpng cflags: $PNG_CFLAGS" >&5
13261 $as_echo "$as_me:${as_lineno-$LINENO}: libpng libs: $PNG_LIBS" >&5
13262 ac_save_CPPFLAGS
=$CPPFLAGS
13263 CPPFLAGS
="$CPPFLAGS $PNG_CFLAGS"
13264 for ac_header
in png.h
13266 ac_fn_c_check_header_mongrel
"$LINENO" "png.h" "ac_cv_header_png_h" "$ac_includes_default"
13267 if test "x$ac_cv_header_png_h" = xyes
; then :
13268 cat >>confdefs.h
<<_ACEOF
13269 #define HAVE_PNG_H 1
13276 if test "$ac_cv_header_png_h" = "yes"
13278 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lpng" >&5
13279 $as_echo_n "checking for -lpng... " >&6; }
13280 if ${ac_cv_lib_soname_png+:} false
; then :
13281 $as_echo_n "(cached) " >&6
13283 ac_check_soname_save_LIBS
=$LIBS
13284 LIBS
="-lpng $PNG_LIBS -lm -lz $LIBS"
13285 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13286 /* end confdefs.h. */
13288 /* Override any GCC internal prototype to avoid an error.
13289 Use char because int might match the return type of a GCC
13290 builtin and then its argument prototype would still apply. */
13294 char png_create_read_struct ();
13298 return png_create_read_struct ();
13303 if ac_fn_c_try_link
"$LINENO"; then :
13305 dll
) ac_cv_lib_soname_png
=`$ac_cv_path_LDD conftest.exe | grep "png" | sed -e "s/dll.*/dll/"';2,$d'` ;;
13306 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'` ;;
13307 *) 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'`
13308 if ${ac_cv_lib_soname_png:+false} :; then :
13309 ac_cv_lib_soname_png
=`$LDD conftest$ac_exeext | grep "libpng[0-9]*\\.$LIBEXT" | sed -e "s/^.*\(libpng[0-9]*\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
13313 rm -f core conftest.err conftest.
$ac_objext \
13314 conftest
$ac_exeext conftest.
$ac_ext
13315 LIBS
=$ac_check_soname_save_LIBS
13317 if ${ac_cv_lib_soname_png:+false} :; then :
13318 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13319 $as_echo "not found" >&6; }
13322 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_png" >&5
13323 $as_echo "$ac_cv_lib_soname_png" >&6; }
13325 cat >>confdefs.h
<<_ACEOF
13326 #define SONAME_LIBPNG "$ac_cv_lib_soname_png"
13329 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13330 /* end confdefs.h. */
13335 typeof(png_set_expand_gray_1_2_4_to_8) *p
13340 if ac_fn_c_try_compile
"$LINENO"; then :
13342 $as_echo "#define HAVE_PNG_SET_EXPAND_GRAY_1_2_4_TO_8 1" >>confdefs.h
13345 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
13350 CPPFLAGS
=$ac_save_CPPFLAGS
13351 test -z "$PNG_CFLAGS" || PNG_CFLAGS
=`echo " $PNG_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
13352 test -z "$PNG_LIBS" || PNG_LIBS
=`echo " $PNG_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
13355 if test "x$ac_cv_lib_soname_png" = "x"; then :
13356 case "x$with_png" in
13357 x
) as_fn_append wine_warnings
"|libpng ${notice_platform}development files not found, PNG won't be supported." ;;
13359 *) as_fn_error $?
"libpng ${notice_platform}development files not found, PNG won't be supported.
13360 This is an error since --with-png was requested." "$LINENO" 5 ;;
13364 if test "x$with_tiff" != "xno"
13366 if ${TIFF_CFLAGS:+false} :; then :
13367 if ${PKG_CONFIG+:} false
; then :
13368 TIFF_CFLAGS
=`$PKG_CONFIG --cflags libtiff 2>/dev/null`
13372 if ${TIFF_LIBS:+false} :; then :
13373 if ${PKG_CONFIG+:} false
; then :
13374 TIFF_LIBS
=`$PKG_CONFIG --libs libtiff 2>/dev/null`
13379 $as_echo "$as_me:${as_lineno-$LINENO}: libtiff cflags: $TIFF_CFLAGS" >&5
13380 $as_echo "$as_me:${as_lineno-$LINENO}: libtiff libs: $TIFF_LIBS" >&5
13381 ac_save_CPPFLAGS
=$CPPFLAGS
13382 CPPFLAGS
="$CPPFLAGS $TIFF_CFLAGS"
13383 for ac_header
in tiffio.h
13385 ac_fn_c_check_header_mongrel
"$LINENO" "tiffio.h" "ac_cv_header_tiffio_h" "$ac_includes_default"
13386 if test "x$ac_cv_header_tiffio_h" = xyes
; then :
13387 cat >>confdefs.h
<<_ACEOF
13388 #define HAVE_TIFFIO_H 1
13395 if test "$ac_cv_header_tiffio_h" = "yes"
13397 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -ltiff" >&5
13398 $as_echo_n "checking for -ltiff... " >&6; }
13399 if ${ac_cv_lib_soname_tiff+:} false
; then :
13400 $as_echo_n "(cached) " >&6
13402 ac_check_soname_save_LIBS
=$LIBS
13403 LIBS
="-ltiff $TIFF_LIBS $LIBS"
13404 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13405 /* end confdefs.h. */
13407 /* Override any GCC internal prototype to avoid an error.
13408 Use char because int might match the return type of a GCC
13409 builtin and then its argument prototype would still apply. */
13413 char TIFFClientOpen ();
13417 return TIFFClientOpen ();
13422 if ac_fn_c_try_link
"$LINENO"; then :
13424 dll
) ac_cv_lib_soname_tiff
=`$ac_cv_path_LDD conftest.exe | grep "tiff" | sed -e "s/dll.*/dll/"';2,$d'` ;;
13425 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'` ;;
13426 *) ac_cv_lib_soname_tiff
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libtiff\\.$LIBEXT" | sed -e "s/^.*\\[\\(libtiff\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
13427 if ${ac_cv_lib_soname_tiff:+false} :; then :
13428 ac_cv_lib_soname_tiff
=`$LDD conftest$ac_exeext | grep "libtiff\\.$LIBEXT" | sed -e "s/^.*\(libtiff\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
13432 rm -f core conftest.err conftest.
$ac_objext \
13433 conftest
$ac_exeext conftest.
$ac_ext
13434 LIBS
=$ac_check_soname_save_LIBS
13436 if ${ac_cv_lib_soname_tiff:+false} :; then :
13437 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13438 $as_echo "not found" >&6; }
13441 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_tiff" >&5
13442 $as_echo "$ac_cv_lib_soname_tiff" >&6; }
13444 cat >>confdefs.h
<<_ACEOF
13445 #define SONAME_LIBTIFF "$ac_cv_lib_soname_tiff"
13451 CPPFLAGS
=$ac_save_CPPFLAGS
13452 test -z "$TIFF_CFLAGS" || TIFF_CFLAGS
=`echo " $TIFF_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
13453 test -z "$TIFF_LIBS" || TIFF_LIBS
=`echo " $TIFF_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
13456 if test "x$ac_cv_lib_soname_tiff" = "x"; then :
13457 case "x$with_tiff" in
13458 x
) as_fn_append wine_notices
"|libtiff ${notice_platform}development files not found, TIFF won't be supported." ;;
13460 *) as_fn_error $?
"libtiff ${notice_platform}development files not found, TIFF won't be supported.
13461 This is an error since --with-tiff was requested." "$LINENO" 5 ;;
13465 if test "x$with_mpg123" != "xno"
13467 if ${MPG123_CFLAGS:+false} :; then :
13468 if ${PKG_CONFIG+:} false
; then :
13469 MPG123_CFLAGS
=`$PKG_CONFIG --cflags libmpg123 2>/dev/null`
13473 if ${MPG123_LIBS:+false} :; then :
13474 if ${PKG_CONFIG+:} false
; then :
13475 MPG123_LIBS
=`$PKG_CONFIG --libs libmpg123 2>/dev/null`
13479 MPG123_LIBS
=${MPG123_LIBS:-"-lmpg123"}
13480 $as_echo "$as_me:${as_lineno-$LINENO}: libmpg123 cflags: $MPG123_CFLAGS" >&5
13481 $as_echo "$as_me:${as_lineno-$LINENO}: libmpg123 libs: $MPG123_LIBS" >&5
13482 ac_save_CPPFLAGS
=$CPPFLAGS
13483 CPPFLAGS
="$CPPFLAGS $MPG123_CFLAGS"
13484 for ac_header
in mpg123.h
13486 ac_fn_c_check_header_mongrel
"$LINENO" "mpg123.h" "ac_cv_header_mpg123_h" "$ac_includes_default"
13487 if test "x$ac_cv_header_mpg123_h" = xyes
; then :
13488 cat >>confdefs.h
<<_ACEOF
13489 #define HAVE_MPG123_H 1
13496 if test "$ac_cv_header_mpg123_h" = "yes"
13498 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for mpg123_feed in -lmpg123" >&5
13499 $as_echo_n "checking for mpg123_feed in -lmpg123... " >&6; }
13500 if ${ac_cv_lib_mpg123_mpg123_feed+:} false
; then :
13501 $as_echo_n "(cached) " >&6
13503 ac_check_lib_save_LIBS
=$LIBS
13504 LIBS
="-lmpg123 $MPG123_LIBS $LIBS"
13505 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13506 /* end confdefs.h. */
13508 /* Override any GCC internal prototype to avoid an error.
13509 Use char because int might match the return type of a GCC
13510 builtin and then its argument prototype would still apply. */
13514 char mpg123_feed ();
13518 return mpg123_feed ();
13523 if ac_fn_c_try_link
"$LINENO"; then :
13524 ac_cv_lib_mpg123_mpg123_feed
=yes
13526 ac_cv_lib_mpg123_mpg123_feed
=no
13528 rm -f core conftest.err conftest.
$ac_objext \
13529 conftest
$ac_exeext conftest.
$ac_ext
13530 LIBS
=$ac_check_lib_save_LIBS
13532 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_mpg123_mpg123_feed" >&5
13533 $as_echo "$ac_cv_lib_mpg123_mpg123_feed" >&6; }
13534 if test "x$ac_cv_lib_mpg123_mpg123_feed" = xyes
; then :
13544 CPPFLAGS
=$ac_save_CPPFLAGS
13545 test -z "$MPG123_CFLAGS" || MPG123_CFLAGS
=`echo " $MPG123_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
13546 test -z "$MPG123_LIBS" || MPG123_LIBS
=`echo " $MPG123_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
13549 if test "x$ac_cv_lib_mpg123_mpg123_feed" != xyes
-a x
"$ac_cv_header_CoreAudio_CoreAudio_h" != xyes
; then :
13550 case "x$with_mpg123" in
13551 x
) as_fn_append wine_notices
"|libmpg123 ${notice_platform}development files not found (or too old), mp3 codec won't be supported." ;;
13553 *) as_fn_error $?
"libmpg123 ${notice_platform}development files not found (or too old), mp3 codec won't be supported.
13554 This is an error since --with-mpg123 was requested." "$LINENO" 5 ;;
13557 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}
13559 if test "$ac_cv_header_AL_al_h" = "yes"
13561 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lopenal" >&5
13562 $as_echo_n "checking for -lopenal... " >&6; }
13563 if ${ac_cv_lib_soname_openal+:} false
; then :
13564 $as_echo_n "(cached) " >&6
13566 ac_check_soname_save_LIBS
=$LIBS
13567 LIBS
="-lopenal $LIBS"
13568 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13569 /* end confdefs.h. */
13571 /* Override any GCC internal prototype to avoid an error.
13572 Use char because int might match the return type of a GCC
13573 builtin and then its argument prototype would still apply. */
13577 char alGetSource3i ();
13581 return alGetSource3i ();
13586 if ac_fn_c_try_link
"$LINENO"; then :
13588 dll
) ac_cv_lib_soname_openal
=`$ac_cv_path_LDD conftest.exe | grep "openal" | sed -e "s/dll.*/dll/"';2,$d'` ;;
13589 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'` ;;
13590 *) ac_cv_lib_soname_openal
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libopenal\\.$LIBEXT" | sed -e "s/^.*\\[\\(libopenal\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
13591 if ${ac_cv_lib_soname_openal:+false} :; then :
13592 ac_cv_lib_soname_openal
=`$LDD conftest$ac_exeext | grep "libopenal\\.$LIBEXT" | sed -e "s/^.*\(libopenal\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
13596 rm -f core conftest.err conftest.
$ac_objext \
13597 conftest
$ac_exeext conftest.
$ac_ext
13598 LIBS
=$ac_check_soname_save_LIBS
13600 if ${ac_cv_lib_soname_openal:+false} :; then :
13601 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13602 $as_echo "not found" >&6; }
13605 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_openal" >&5
13606 $as_echo "$ac_cv_lib_soname_openal" >&6; }
13608 cat >>confdefs.h
<<_ACEOF
13609 #define SONAME_LIBOPENAL "$ac_cv_lib_soname_openal"
13612 OPENAL_LIBS
="-lopenal"
13614 ac_cv_lib_openal
=yes
13616 cat >>confdefs.h
<<_ACEOF
13617 #define HAVE_OPENAL 1
13622 if test "x$ac_cv_lib_openal" != xyes
; then :
13623 case "x$with_openal" in
13624 x
) as_fn_append wine_notices
"|libopenal ${notice_platform}development files not found (or too old), OpenAL won't be supported" ;;
13626 *) as_fn_error $?
"libopenal ${notice_platform}development files not found (or too old), OpenAL won't be supported
13627 This is an error since --with-openal was requested." "$LINENO" 5 ;;
13630 test "x$ac_cv_lib_openal" = xyes || enable_openal32
=${enable_openal32:-no}
13632 if test "x$ac_cv_lib_openal" = xyes
13634 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for openal-soft" >&5
13635 $as_echo_n "checking for openal-soft... " >&6; }
13636 if ${ac_cv_have_openalsoft+:} false
; then :
13637 $as_echo_n "(cached) " >&6
13639 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13640 /* end confdefs.h. */
13641 #include <AL/alext.h>
13642 LPALCRENDERSAMPLESSOFT x;
13651 if ac_fn_c_try_compile
"$LINENO"; then :
13652 ac_cv_have_openalsoft
=yes
13654 ac_cv_have_openalsoft
=no
13656 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
13658 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_openalsoft" >&5
13659 $as_echo "$ac_cv_have_openalsoft" >&6; }
13661 if test "x$ac_cv_have_openalsoft" != xyes
13663 as_fn_append wine_notices
"|openal-soft ${notice_platform}development files not found (or too old), XAudio2 won't be supported"
13664 enable_xaudio2_7
=${enable_xaudio2_7:-no}
13667 if test "$ac_cv_header_kstat_h" = "yes"
13669 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for kstat_open in -lkstat" >&5
13670 $as_echo_n "checking for kstat_open in -lkstat... " >&6; }
13671 if ${ac_cv_lib_kstat_kstat_open+:} false
; then :
13672 $as_echo_n "(cached) " >&6
13674 ac_check_lib_save_LIBS
=$LIBS
13675 LIBS
="-lkstat $LIBS"
13676 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13677 /* end confdefs.h. */
13679 /* Override any GCC internal prototype to avoid an error.
13680 Use char because int might match the return type of a GCC
13681 builtin and then its argument prototype would still apply. */
13685 char kstat_open ();
13689 return kstat_open ();
13694 if ac_fn_c_try_link
"$LINENO"; then :
13695 ac_cv_lib_kstat_kstat_open
=yes
13697 ac_cv_lib_kstat_kstat_open
=no
13699 rm -f core conftest.err conftest.
$ac_objext \
13700 conftest
$ac_exeext conftest.
$ac_ext
13701 LIBS
=$ac_check_lib_save_LIBS
13703 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_kstat_kstat_open" >&5
13704 $as_echo "$ac_cv_lib_kstat_kstat_open" >&6; }
13705 if test "x$ac_cv_lib_kstat_kstat_open" = xyes
; then :
13707 $as_echo "#define HAVE_LIBKSTAT 1" >>confdefs.h
13709 KSTAT_LIBS
="-lkstat"
13715 if test "$ac_cv_header_libprocstat_h" = "yes"
13717 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for procstat_open_sysctl in -lprocstat" >&5
13718 $as_echo_n "checking for procstat_open_sysctl in -lprocstat... " >&6; }
13719 if ${ac_cv_lib_procstat_procstat_open_sysctl+:} false
; then :
13720 $as_echo_n "(cached) " >&6
13722 ac_check_lib_save_LIBS
=$LIBS
13723 LIBS
="-lprocstat $LIBS"
13724 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13725 /* end confdefs.h. */
13727 /* Override any GCC internal prototype to avoid an error.
13728 Use char because int might match the return type of a GCC
13729 builtin and then its argument prototype would still apply. */
13733 char procstat_open_sysctl ();
13737 return procstat_open_sysctl ();
13742 if ac_fn_c_try_link
"$LINENO"; then :
13743 ac_cv_lib_procstat_procstat_open_sysctl
=yes
13745 ac_cv_lib_procstat_procstat_open_sysctl
=no
13747 rm -f core conftest.err conftest.
$ac_objext \
13748 conftest
$ac_exeext conftest.
$ac_ext
13749 LIBS
=$ac_check_lib_save_LIBS
13751 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_procstat_procstat_open_sysctl" >&5
13752 $as_echo "$ac_cv_lib_procstat_procstat_open_sysctl" >&6; }
13753 if test "x$ac_cv_lib_procstat_procstat_open_sysctl" = xyes
; then :
13755 $as_echo "#define HAVE_LIBPROCSTAT 1" >>confdefs.h
13757 PROCSTAT_LIBS
="-lprocstat"
13763 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lodbc" >&5
13764 $as_echo_n "checking for -lodbc... " >&6; }
13765 if ${ac_cv_lib_soname_odbc+:} false
; then :
13766 $as_echo_n "(cached) " >&6
13768 ac_check_soname_save_LIBS
=$LIBS
13769 LIBS
="-lodbc $LIBS"
13770 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13771 /* end confdefs.h. */
13773 /* Override any GCC internal prototype to avoid an error.
13774 Use char because int might match the return type of a GCC
13775 builtin and then its argument prototype would still apply. */
13779 char SQLConnect ();
13783 return SQLConnect ();
13788 if ac_fn_c_try_link
"$LINENO"; then :
13790 dll
) ac_cv_lib_soname_odbc
=`$ac_cv_path_LDD conftest.exe | grep "odbc" | sed -e "s/dll.*/dll/"';2,$d'` ;;
13791 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'` ;;
13792 *) ac_cv_lib_soname_odbc
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libodbc\\.$LIBEXT" | sed -e "s/^.*\\[\\(libodbc\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
13793 if ${ac_cv_lib_soname_odbc:+false} :; then :
13794 ac_cv_lib_soname_odbc
=`$LDD conftest$ac_exeext | grep "libodbc\\.$LIBEXT" | sed -e "s/^.*\(libodbc\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
13798 rm -f core conftest.err conftest.
$ac_objext \
13799 conftest
$ac_exeext conftest.
$ac_ext
13800 LIBS
=$ac_check_soname_save_LIBS
13802 if ${ac_cv_lib_soname_odbc:+false} :; then :
13803 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13804 $as_echo "not found" >&6; }
13805 cat >>confdefs.h
<<_ACEOF
13806 #define SONAME_LIBODBC "libodbc.$LIBEXT"
13810 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_odbc" >&5
13811 $as_echo "$ac_cv_lib_soname_odbc" >&6; }
13813 cat >>confdefs.h
<<_ACEOF
13814 #define SONAME_LIBODBC "$ac_cv_lib_soname_odbc"
13820 if test "x$with_netapi" != "xno"
13822 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lnetapi" >&5
13823 $as_echo_n "checking for -lnetapi... " >&6; }
13824 if ${ac_cv_lib_soname_netapi+:} false
; then :
13825 $as_echo_n "(cached) " >&6
13827 ac_check_soname_save_LIBS
=$LIBS
13828 LIBS
="-lnetapi $LIBS"
13829 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13830 /* end confdefs.h. */
13832 /* Override any GCC internal prototype to avoid an error.
13833 Use char because int might match the return type of a GCC
13834 builtin and then its argument prototype would still apply. */
13838 char libnetapi_init ();
13842 return libnetapi_init ();
13847 if ac_fn_c_try_link
"$LINENO"; then :
13849 dll
) ac_cv_lib_soname_netapi
=`$ac_cv_path_LDD conftest.exe | grep "netapi" | sed -e "s/dll.*/dll/"';2,$d'` ;;
13850 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'` ;;
13851 *) ac_cv_lib_soname_netapi
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libnetapi\\.$LIBEXT" | sed -e "s/^.*\\[\\(libnetapi\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
13852 if ${ac_cv_lib_soname_netapi:+false} :; then :
13853 ac_cv_lib_soname_netapi
=`$LDD conftest$ac_exeext | grep "libnetapi\\.$LIBEXT" | sed -e "s/^.*\(libnetapi\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
13857 rm -f core conftest.err conftest.
$ac_objext \
13858 conftest
$ac_exeext conftest.
$ac_ext
13859 LIBS
=$ac_check_soname_save_LIBS
13861 if ${ac_cv_lib_soname_netapi:+false} :; then :
13862 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13863 $as_echo "not found" >&6; }
13864 cat >>confdefs.h
<<_ACEOF
13865 #define SONAME_LIBNETAPI "libnetapi.$LIBEXT"
13869 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_netapi" >&5
13870 $as_echo "$ac_cv_lib_soname_netapi" >&6; }
13872 cat >>confdefs.h
<<_ACEOF
13873 #define SONAME_LIBNETAPI "$ac_cv_lib_soname_netapi"
13880 test -n "$ALSA_LIBS" || enable_winealsa_drv
=${enable_winealsa_drv:-no}
13881 test -n "$COREAUDIO_LIBS" || enable_winecoreaudio_drv
=${enable_winecoreaudio_drv:-no}
13882 test "x$ac_cv_member_oss_sysinfo_numaudioengines" = xyes || enable_wineoss_drv
=${enable_wineoss_drv:-no}
13883 test "$ac_cv_header_linux_joystick_h" = "yes" -o "$ac_cv_header_IOKit_hid_IOHIDLib_h" = "yes" || enable_winejoystick_drv
=${enable_winejoystick_drv:-no}
13885 if test "x$ALSA_LIBS$COREAUDIO_LIBS" = "x" -a \
13886 "x$ac_cv_member_oss_sysinfo_numaudioengines" != xyes
-a \
13887 "x$with_alsa$with_coreaudio$with_oss" != xnonono
13889 as_fn_append wine_warnings
"|No sound system was found. Windows applications will be silent."
13895 if test "x${GCC}" = "xyes"
13897 EXTRACFLAGS
="-Wall -pipe"
13899 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gcc strength-reduce bug" >&5
13900 $as_echo_n "checking for gcc strength-reduce bug... " >&6; }
13901 if ${ac_cv_c_gcc_strength_bug+:} false
; then :
13902 $as_echo_n "(cached) " >&6
13904 if test "$cross_compiling" = yes; then :
13905 ac_cv_c_gcc_strength_bug
="no"
13907 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13908 /* end confdefs.h. */
13909 int L[4] = {0,1,2,3};
13913 static int Array[3];
13914 unsigned int B = 3;
13916 for(i=0; i<B; i++) Array[i] = i - 3;
13917 for(i=0; i<4 - 1; i++) L[i] = L[i + 1];
13919 return (Array[1] != -2 || L[2] != 3)
13924 if ac_fn_c_try_run
"$LINENO"; then :
13925 ac_cv_c_gcc_strength_bug
="no"
13927 ac_cv_c_gcc_strength_bug
="yes"
13929 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext \
13930 conftest.
$ac_objext conftest.beam conftest.
$ac_ext
13934 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_gcc_strength_bug" >&5
13935 $as_echo "$ac_cv_c_gcc_strength_bug" >&6; }
13936 if test "$ac_cv_c_gcc_strength_bug" = "yes"
13938 EXTRACFLAGS
="$EXTRACFLAGS -fno-strength-reduce"
13941 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fno-builtin" >&5
13942 $as_echo_n "checking whether the compiler supports -fno-builtin... " >&6; }
13943 if ${ac_cv_cflags__fno_builtin+:} false
; then :
13944 $as_echo_n "(cached) " >&6
13946 ac_wine_try_cflags_saved
=$CFLAGS
13947 CFLAGS
="$CFLAGS -fno-builtin"
13948 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13949 /* end confdefs.h. */
13950 int main(int argc, char **argv) { return 0; }
13952 if ac_fn_c_try_link
"$LINENO"; then :
13953 ac_cv_cflags__fno_builtin
=yes
13955 ac_cv_cflags__fno_builtin
=no
13957 rm -f core conftest.err conftest.
$ac_objext \
13958 conftest
$ac_exeext conftest.
$ac_ext
13959 CFLAGS
=$ac_wine_try_cflags_saved
13961 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fno_builtin" >&5
13962 $as_echo "$ac_cv_cflags__fno_builtin" >&6; }
13963 if test "x$ac_cv_cflags__fno_builtin" = xyes
; then :
13964 BUILTINFLAG
="-fno-builtin"
13967 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fno-strict-aliasing" >&5
13968 $as_echo_n "checking whether the compiler supports -fno-strict-aliasing... " >&6; }
13969 if ${ac_cv_cflags__fno_strict_aliasing+:} false
; then :
13970 $as_echo_n "(cached) " >&6
13972 ac_wine_try_cflags_saved
=$CFLAGS
13973 CFLAGS
="$CFLAGS -fno-strict-aliasing"
13974 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13975 /* end confdefs.h. */
13976 int main(int argc, char **argv) { return 0; }
13978 if ac_fn_c_try_link
"$LINENO"; then :
13979 ac_cv_cflags__fno_strict_aliasing
=yes
13981 ac_cv_cflags__fno_strict_aliasing
=no
13983 rm -f core conftest.err conftest.
$ac_objext \
13984 conftest
$ac_exeext conftest.
$ac_ext
13985 CFLAGS
=$ac_wine_try_cflags_saved
13987 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fno_strict_aliasing" >&5
13988 $as_echo "$ac_cv_cflags__fno_strict_aliasing" >&6; }
13989 if test "x$ac_cv_cflags__fno_strict_aliasing" = xyes
; then :
13990 EXTRACFLAGS
="$EXTRACFLAGS -fno-strict-aliasing"
13992 saved_CFLAGS
=$CFLAGS
13993 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Werror=unknown-warning-option" >&5
13994 $as_echo_n "checking whether the compiler supports -Werror=unknown-warning-option... " >&6; }
13995 if ${ac_cv_cflags__Werror_unknown_warning_option+:} false
; then :
13996 $as_echo_n "(cached) " >&6
13998 ac_wine_try_cflags_saved
=$CFLAGS
13999 CFLAGS
="$CFLAGS -Werror=unknown-warning-option"
14000 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14001 /* end confdefs.h. */
14002 int main(int argc, char **argv) { return 0; }
14004 if ac_fn_c_try_link
"$LINENO"; then :
14005 ac_cv_cflags__Werror_unknown_warning_option
=yes
14007 ac_cv_cflags__Werror_unknown_warning_option
=no
14009 rm -f core conftest.err conftest.
$ac_objext \
14010 conftest
$ac_exeext conftest.
$ac_ext
14011 CFLAGS
=$ac_wine_try_cflags_saved
14013 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Werror_unknown_warning_option" >&5
14014 $as_echo "$ac_cv_cflags__Werror_unknown_warning_option" >&6; }
14015 if test "x$ac_cv_cflags__Werror_unknown_warning_option" = xyes
; then :
14016 CFLAGS
="$CFLAGS -Werror=unknown-warning-option"
14018 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wdeclaration-after-statement" >&5
14019 $as_echo_n "checking whether the compiler supports -Wdeclaration-after-statement... " >&6; }
14020 if ${ac_cv_cflags__Wdeclaration_after_statement+:} false
; then :
14021 $as_echo_n "(cached) " >&6
14023 ac_wine_try_cflags_saved
=$CFLAGS
14024 CFLAGS
="$CFLAGS -Wdeclaration-after-statement"
14025 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14026 /* end confdefs.h. */
14027 int main(int argc, char **argv) { return 0; }
14029 if ac_fn_c_try_link
"$LINENO"; then :
14030 ac_cv_cflags__Wdeclaration_after_statement
=yes
14032 ac_cv_cflags__Wdeclaration_after_statement
=no
14034 rm -f core conftest.err conftest.
$ac_objext \
14035 conftest
$ac_exeext conftest.
$ac_ext
14036 CFLAGS
=$ac_wine_try_cflags_saved
14038 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wdeclaration_after_statement" >&5
14039 $as_echo "$ac_cv_cflags__Wdeclaration_after_statement" >&6; }
14040 if test "x$ac_cv_cflags__Wdeclaration_after_statement" = xyes
; then :
14041 EXTRACFLAGS
="$EXTRACFLAGS -Wdeclaration-after-statement"
14043 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wempty-body" >&5
14044 $as_echo_n "checking whether the compiler supports -Wempty-body... " >&6; }
14045 if ${ac_cv_cflags__Wempty_body+:} false
; then :
14046 $as_echo_n "(cached) " >&6
14048 ac_wine_try_cflags_saved
=$CFLAGS
14049 CFLAGS
="$CFLAGS -Wempty-body"
14050 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14051 /* end confdefs.h. */
14052 int main(int argc, char **argv) { return 0; }
14054 if ac_fn_c_try_link
"$LINENO"; then :
14055 ac_cv_cflags__Wempty_body
=yes
14057 ac_cv_cflags__Wempty_body
=no
14059 rm -f core conftest.err conftest.
$ac_objext \
14060 conftest
$ac_exeext conftest.
$ac_ext
14061 CFLAGS
=$ac_wine_try_cflags_saved
14063 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wempty_body" >&5
14064 $as_echo "$ac_cv_cflags__Wempty_body" >&6; }
14065 if test "x$ac_cv_cflags__Wempty_body" = xyes
; then :
14066 EXTRACFLAGS
="$EXTRACFLAGS -Wempty-body"
14068 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wignored-qualifiers" >&5
14069 $as_echo_n "checking whether the compiler supports -Wignored-qualifiers... " >&6; }
14070 if ${ac_cv_cflags__Wignored_qualifiers+:} false
; then :
14071 $as_echo_n "(cached) " >&6
14073 ac_wine_try_cflags_saved
=$CFLAGS
14074 CFLAGS
="$CFLAGS -Wignored-qualifiers"
14075 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14076 /* end confdefs.h. */
14077 int main(int argc, char **argv) { return 0; }
14079 if ac_fn_c_try_link
"$LINENO"; then :
14080 ac_cv_cflags__Wignored_qualifiers
=yes
14082 ac_cv_cflags__Wignored_qualifiers
=no
14084 rm -f core conftest.err conftest.
$ac_objext \
14085 conftest
$ac_exeext conftest.
$ac_ext
14086 CFLAGS
=$ac_wine_try_cflags_saved
14088 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wignored_qualifiers" >&5
14089 $as_echo "$ac_cv_cflags__Wignored_qualifiers" >&6; }
14090 if test "x$ac_cv_cflags__Wignored_qualifiers" = xyes
; then :
14091 EXTRACFLAGS
="$EXTRACFLAGS -Wignored-qualifiers"
14093 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wstrict-prototypes" >&5
14094 $as_echo_n "checking whether the compiler supports -Wstrict-prototypes... " >&6; }
14095 if ${ac_cv_cflags__Wstrict_prototypes+:} false
; then :
14096 $as_echo_n "(cached) " >&6
14098 ac_wine_try_cflags_saved
=$CFLAGS
14099 CFLAGS
="$CFLAGS -Wstrict-prototypes"
14100 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14101 /* end confdefs.h. */
14102 int main(int argc, char **argv) { return 0; }
14104 if ac_fn_c_try_link
"$LINENO"; then :
14105 ac_cv_cflags__Wstrict_prototypes
=yes
14107 ac_cv_cflags__Wstrict_prototypes
=no
14109 rm -f core conftest.err conftest.
$ac_objext \
14110 conftest
$ac_exeext conftest.
$ac_ext
14111 CFLAGS
=$ac_wine_try_cflags_saved
14113 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wstrict_prototypes" >&5
14114 $as_echo "$ac_cv_cflags__Wstrict_prototypes" >&6; }
14115 if test "x$ac_cv_cflags__Wstrict_prototypes" = xyes
; then :
14116 EXTRACFLAGS
="$EXTRACFLAGS -Wstrict-prototypes"
14118 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wtype-limits" >&5
14119 $as_echo_n "checking whether the compiler supports -Wtype-limits... " >&6; }
14120 if ${ac_cv_cflags__Wtype_limits+:} false
; then :
14121 $as_echo_n "(cached) " >&6
14123 ac_wine_try_cflags_saved
=$CFLAGS
14124 CFLAGS
="$CFLAGS -Wtype-limits"
14125 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14126 /* end confdefs.h. */
14127 int main(int argc, char **argv) { return 0; }
14129 if ac_fn_c_try_link
"$LINENO"; then :
14130 ac_cv_cflags__Wtype_limits
=yes
14132 ac_cv_cflags__Wtype_limits
=no
14134 rm -f core conftest.err conftest.
$ac_objext \
14135 conftest
$ac_exeext conftest.
$ac_ext
14136 CFLAGS
=$ac_wine_try_cflags_saved
14138 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wtype_limits" >&5
14139 $as_echo "$ac_cv_cflags__Wtype_limits" >&6; }
14140 if test "x$ac_cv_cflags__Wtype_limits" = xyes
; then :
14141 EXTRACFLAGS
="$EXTRACFLAGS -Wtype-limits"
14143 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wunused-but-set-parameter" >&5
14144 $as_echo_n "checking whether the compiler supports -Wunused-but-set-parameter... " >&6; }
14145 if ${ac_cv_cflags__Wunused_but_set_parameter+:} false
; then :
14146 $as_echo_n "(cached) " >&6
14148 ac_wine_try_cflags_saved
=$CFLAGS
14149 CFLAGS
="$CFLAGS -Wunused-but-set-parameter"
14150 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14151 /* end confdefs.h. */
14152 int main(int argc, char **argv) { return 0; }
14154 if ac_fn_c_try_link
"$LINENO"; then :
14155 ac_cv_cflags__Wunused_but_set_parameter
=yes
14157 ac_cv_cflags__Wunused_but_set_parameter
=no
14159 rm -f core conftest.err conftest.
$ac_objext \
14160 conftest
$ac_exeext conftest.
$ac_ext
14161 CFLAGS
=$ac_wine_try_cflags_saved
14163 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wunused_but_set_parameter" >&5
14164 $as_echo "$ac_cv_cflags__Wunused_but_set_parameter" >&6; }
14165 if test "x$ac_cv_cflags__Wunused_but_set_parameter" = xyes
; then :
14166 EXTRACFLAGS
="$EXTRACFLAGS -Wunused-but-set-parameter"
14168 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wvla" >&5
14169 $as_echo_n "checking whether the compiler supports -Wvla... " >&6; }
14170 if ${ac_cv_cflags__Wvla+:} false
; then :
14171 $as_echo_n "(cached) " >&6
14173 ac_wine_try_cflags_saved
=$CFLAGS
14174 CFLAGS
="$CFLAGS -Wvla"
14175 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14176 /* end confdefs.h. */
14177 int main(int argc, char **argv) { return 0; }
14179 if ac_fn_c_try_link
"$LINENO"; then :
14180 ac_cv_cflags__Wvla
=yes
14182 ac_cv_cflags__Wvla
=no
14184 rm -f core conftest.err conftest.
$ac_objext \
14185 conftest
$ac_exeext conftest.
$ac_ext
14186 CFLAGS
=$ac_wine_try_cflags_saved
14188 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wvla" >&5
14189 $as_echo "$ac_cv_cflags__Wvla" >&6; }
14190 if test "x$ac_cv_cflags__Wvla" = xyes
; then :
14191 EXTRACFLAGS
="$EXTRACFLAGS -Wvla"
14193 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wwrite-strings" >&5
14194 $as_echo_n "checking whether the compiler supports -Wwrite-strings... " >&6; }
14195 if ${ac_cv_cflags__Wwrite_strings+:} false
; then :
14196 $as_echo_n "(cached) " >&6
14198 ac_wine_try_cflags_saved
=$CFLAGS
14199 CFLAGS
="$CFLAGS -Wwrite-strings"
14200 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14201 /* end confdefs.h. */
14202 int main(int argc, char **argv) { return 0; }
14204 if ac_fn_c_try_link
"$LINENO"; then :
14205 ac_cv_cflags__Wwrite_strings
=yes
14207 ac_cv_cflags__Wwrite_strings
=no
14209 rm -f core conftest.err conftest.
$ac_objext \
14210 conftest
$ac_exeext conftest.
$ac_ext
14211 CFLAGS
=$ac_wine_try_cflags_saved
14213 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wwrite_strings" >&5
14214 $as_echo "$ac_cv_cflags__Wwrite_strings" >&6; }
14215 if test "x$ac_cv_cflags__Wwrite_strings" = xyes
; then :
14216 EXTRACFLAGS
="$EXTRACFLAGS -Wwrite-strings"
14219 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wpointer-arith" >&5
14220 $as_echo_n "checking whether the compiler supports -Wpointer-arith... " >&6; }
14221 if ${ac_cv_cflags__Wpointer_arith+:} false
; then :
14222 $as_echo_n "(cached) " >&6
14224 ac_wine_try_cflags_saved
=$CFLAGS
14225 CFLAGS
="$CFLAGS -Wpointer-arith"
14226 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14227 /* end confdefs.h. */
14228 int main(int argc, char **argv) { return 0; }
14230 if ac_fn_c_try_link
"$LINENO"; then :
14231 ac_cv_cflags__Wpointer_arith
=yes
14233 ac_cv_cflags__Wpointer_arith
=no
14235 rm -f core conftest.err conftest.
$ac_objext \
14236 conftest
$ac_exeext conftest.
$ac_ext
14237 CFLAGS
=$ac_wine_try_cflags_saved
14239 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wpointer_arith" >&5
14240 $as_echo "$ac_cv_cflags__Wpointer_arith" >&6; }
14241 if test "x$ac_cv_cflags__Wpointer_arith" = xyes
; then :
14242 saved_string_h_CFLAGS
=$CFLAGS
14243 CFLAGS
="$CFLAGS -Wpointer-arith -Werror"
14244 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for broken string.h that generates warnings with -Wpointer-arith" >&5
14245 $as_echo_n "checking for broken string.h that generates warnings with -Wpointer-arith... " >&6; }
14246 if ${ac_cv_c_string_h_warnings+:} false
; then :
14247 $as_echo_n "(cached) " >&6
14249 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14250 /* end confdefs.h. */
14251 #include <string.h>
14260 if ac_fn_c_try_compile
"$LINENO"; then :
14261 ac_cv_c_string_h_warnings
=no
14263 ac_cv_c_string_h_warnings
=yes
14265 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
14267 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_string_h_warnings" >&5
14268 $as_echo "$ac_cv_c_string_h_warnings" >&6; }
14269 test "$ac_cv_c_string_h_warnings" = yes || EXTRACFLAGS
="$EXTRACFLAGS -Wpointer-arith"
14270 CFLAGS
=$saved_string_h_CFLAGS
14273 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wlogical-op" >&5
14274 $as_echo_n "checking whether the compiler supports -Wlogical-op... " >&6; }
14275 if ${ac_cv_cflags__Wlogical_op+:} false
; then :
14276 $as_echo_n "(cached) " >&6
14278 ac_wine_try_cflags_saved
=$CFLAGS
14279 CFLAGS
="$CFLAGS -Wlogical-op"
14280 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14281 /* end confdefs.h. */
14282 int main(int argc, char **argv) { return 0; }
14284 if ac_fn_c_try_link
"$LINENO"; then :
14285 ac_cv_cflags__Wlogical_op
=yes
14287 ac_cv_cflags__Wlogical_op
=no
14289 rm -f core conftest.err conftest.
$ac_objext \
14290 conftest
$ac_exeext conftest.
$ac_ext
14291 CFLAGS
=$ac_wine_try_cflags_saved
14293 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wlogical_op" >&5
14294 $as_echo "$ac_cv_cflags__Wlogical_op" >&6; }
14295 if test "x$ac_cv_cflags__Wlogical_op" = xyes
; then :
14296 saved_string_h_CFLAGS
=$CFLAGS
14297 CFLAGS
="$CFLAGS -Wlogical-op -Werror"
14298 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for broken string.h that generates warnings with -Wlogical-op" >&5
14299 $as_echo_n "checking for broken string.h that generates warnings with -Wlogical-op... " >&6; }
14300 if ${ac_cv_c_logicalop_noisy+:} false
; then :
14301 $as_echo_n "(cached) " >&6
14303 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14304 /* end confdefs.h. */
14305 #include <string.h>
14306 char*f(const char *h,char n) {return strchr(h,n);}
14315 if ac_fn_c_try_compile
"$LINENO"; then :
14316 ac_cv_c_logicalop_noisy
=no
14318 ac_cv_c_logicalop_noisy
=yes
14320 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
14322 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_logicalop_noisy" >&5
14323 $as_echo "$ac_cv_c_logicalop_noisy" >&6; }
14324 CFLAGS
=$saved_string_h_CFLAGS
14325 test "$ac_cv_c_logicalop_noisy" = yes || EXTRACFLAGS
="$EXTRACFLAGS -Wlogical-op"
14328 CFLAGS
=$saved_CFLAGS
14330 for ac_flag
in $CFLAGS; do
14332 -g) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -gdwarf-2" >&5
14333 $as_echo_n "checking whether the compiler supports -gdwarf-2... " >&6; }
14334 if ${ac_cv_cflags__gdwarf_2+:} false
; then :
14335 $as_echo_n "(cached) " >&6
14337 ac_wine_try_cflags_saved
=$CFLAGS
14338 CFLAGS
="$CFLAGS -gdwarf-2"
14339 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14340 /* end confdefs.h. */
14341 int main(int argc, char **argv) { return 0; }
14343 if ac_fn_c_try_link
"$LINENO"; then :
14344 ac_cv_cflags__gdwarf_2
=yes
14346 ac_cv_cflags__gdwarf_2
=no
14348 rm -f core conftest.err conftest.
$ac_objext \
14349 conftest
$ac_exeext conftest.
$ac_ext
14350 CFLAGS
=$ac_wine_try_cflags_saved
14352 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__gdwarf_2" >&5
14353 $as_echo "$ac_cv_cflags__gdwarf_2" >&6; }
14354 if test "x$ac_cv_cflags__gdwarf_2" = xyes
; then :
14355 EXTRACFLAGS
="$EXTRACFLAGS -gdwarf-2"
14357 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -gstrict-dwarf" >&5
14358 $as_echo_n "checking whether the compiler supports -gstrict-dwarf... " >&6; }
14359 if ${ac_cv_cflags__gstrict_dwarf+:} false
; then :
14360 $as_echo_n "(cached) " >&6
14362 ac_wine_try_cflags_saved
=$CFLAGS
14363 CFLAGS
="$CFLAGS -gstrict-dwarf"
14364 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14365 /* end confdefs.h. */
14366 int main(int argc, char **argv) { return 0; }
14368 if ac_fn_c_try_link
"$LINENO"; then :
14369 ac_cv_cflags__gstrict_dwarf
=yes
14371 ac_cv_cflags__gstrict_dwarf
=no
14373 rm -f core conftest.err conftest.
$ac_objext \
14374 conftest
$ac_exeext conftest.
$ac_ext
14375 CFLAGS
=$ac_wine_try_cflags_saved
14377 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__gstrict_dwarf" >&5
14378 $as_echo "$ac_cv_cflags__gstrict_dwarf" >&6; }
14379 if test "x$ac_cv_cflags__gstrict_dwarf" = xyes
; then :
14380 EXTRACFLAGS
="$EXTRACFLAGS -gstrict-dwarf"
14386 *i
[3456789]86*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fno-omit-frame-pointer" >&5
14387 $as_echo_n "checking whether the compiler supports -fno-omit-frame-pointer... " >&6; }
14388 if ${ac_cv_cflags__fno_omit_frame_pointer+:} false
; then :
14389 $as_echo_n "(cached) " >&6
14391 ac_wine_try_cflags_saved
=$CFLAGS
14392 CFLAGS
="$CFLAGS -fno-omit-frame-pointer"
14393 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14394 /* end confdefs.h. */
14395 int main(int argc, char **argv) { return 0; }
14397 if ac_fn_c_try_link
"$LINENO"; then :
14398 ac_cv_cflags__fno_omit_frame_pointer
=yes
14400 ac_cv_cflags__fno_omit_frame_pointer
=no
14402 rm -f core conftest.err conftest.
$ac_objext \
14403 conftest
$ac_exeext conftest.
$ac_ext
14404 CFLAGS
=$ac_wine_try_cflags_saved
14406 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fno_omit_frame_pointer" >&5
14407 $as_echo "$ac_cv_cflags__fno_omit_frame_pointer" >&6; }
14408 if test "x$ac_cv_cflags__fno_omit_frame_pointer" = xyes
; then :
14409 EXTRACFLAGS
="$EXTRACFLAGS -fno-omit-frame-pointer"
14414 x86_64-
*mingw32
*|x86_64-
*cygwin
*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wno-format" >&5
14415 $as_echo_n "checking whether the compiler supports -Wno-format... " >&6; }
14416 if ${ac_cv_cflags__Wno_format+:} false
; then :
14417 $as_echo_n "(cached) " >&6
14419 ac_wine_try_cflags_saved
=$CFLAGS
14420 CFLAGS
="$CFLAGS -Wno-format"
14421 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14422 /* end confdefs.h. */
14423 int main(int argc, char **argv) { return 0; }
14425 if ac_fn_c_try_link
"$LINENO"; then :
14426 ac_cv_cflags__Wno_format
=yes
14428 ac_cv_cflags__Wno_format
=no
14430 rm -f core conftest.err conftest.
$ac_objext \
14431 conftest
$ac_exeext conftest.
$ac_ext
14432 CFLAGS
=$ac_wine_try_cflags_saved
14434 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wno_format" >&5
14435 $as_echo "$ac_cv_cflags__Wno_format" >&6; }
14436 if test "x$ac_cv_cflags__Wno_format" = xyes
; then :
14437 EXTRACFLAGS
="$EXTRACFLAGS -Wno-format"
14441 if test "x$enable_maintainer_mode" = "xyes"
14443 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Werror" >&5
14444 $as_echo_n "checking whether the compiler supports -Werror... " >&6; }
14445 if ${ac_cv_cflags__Werror+:} false
; then :
14446 $as_echo_n "(cached) " >&6
14448 ac_wine_try_cflags_saved
=$CFLAGS
14449 CFLAGS
="$CFLAGS -Werror"
14450 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14451 /* end confdefs.h. */
14452 int main(int argc, char **argv) { return 0; }
14454 if ac_fn_c_try_link
"$LINENO"; then :
14455 ac_cv_cflags__Werror
=yes
14457 ac_cv_cflags__Werror
=no
14459 rm -f core conftest.err conftest.
$ac_objext \
14460 conftest
$ac_exeext conftest.
$ac_ext
14461 CFLAGS
=$ac_wine_try_cflags_saved
14463 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Werror" >&5
14464 $as_echo "$ac_cv_cflags__Werror" >&6; }
14465 if test "x$ac_cv_cflags__Werror" = xyes
; then :
14466 EXTRACFLAGS
="$EXTRACFLAGS -Werror"
14470 saved_CFLAGS
="$CFLAGS"
14471 CFLAGS
="$CFLAGS -Werror"
14472 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ms_hook_prologue attribute" >&5
14473 $as_echo_n "checking for ms_hook_prologue attribute... " >&6; }
14474 if ${ac_cv_have_ms_hook_prologue+:} false
; then :
14475 $as_echo_n "(cached) " >&6
14477 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14478 /* end confdefs.h. */
14479 int __attribute__((__ms_hook_prologue__)) test(void) { return 0; }
14488 if ac_fn_c_try_compile
"$LINENO"; then :
14489 ac_cv_have_ms_hook_prologue
="yes"
14491 ac_cv_have_ms_hook_prologue
="no"
14493 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
14495 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_ms_hook_prologue" >&5
14496 $as_echo "$ac_cv_have_ms_hook_prologue" >&6; }
14497 CFLAGS
="$saved_CFLAGS"
14498 if test "$ac_cv_have_ms_hook_prologue" = "yes"
14501 $as_echo "#define DECLSPEC_HOTPATCH __attribute__((__ms_hook_prologue__))" >>confdefs.h
14504 $as_echo "#define DECLSPEC_HOTPATCH /* */" >>confdefs.h
14510 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for the need to disable Fortify" >&5
14511 $as_echo_n "checking for the need to disable Fortify... " >&6; }
14512 if ${ac_cv_c_fortify_enabled+:} false
; then :
14513 $as_echo_n "(cached) " >&6
14515 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14516 /* end confdefs.h. */
14517 #include <string.h>
14521 #if defined(__USE_FORTIFY_LEVEL) && __USE_FORTIFY_LEVEL > 0
14522 #error Fortify enabled
14528 if ac_fn_c_try_compile
"$LINENO"; then :
14529 ac_cv_c_fortify_enabled
=no
14531 ac_cv_c_fortify_enabled
=yes
14533 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
14535 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_fortify_enabled" >&5
14536 $as_echo "$ac_cv_c_fortify_enabled" >&6; }
14537 if test "$ac_cv_c_fortify_enabled" = yes
14539 CFLAGS
="$CFLAGS -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=0"
14543 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether external symbols need an underscore prefix" >&5
14544 $as_echo_n "checking whether external symbols need an underscore prefix... " >&6; }
14545 if ${ac_cv_c_extern_prefix+:} false
; then :
14546 $as_echo_n "(cached) " >&6
14548 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14549 /* end confdefs.h. */
14550 extern int ac_test;
14554 asm(".globl _ac_test\n_ac_test:\t.long 0"); if (ac_test) return 1
14559 if ac_fn_c_try_link
"$LINENO"; then :
14560 ac_cv_c_extern_prefix
="yes"
14562 ac_cv_c_extern_prefix
="no"
14564 rm -f core conftest.err conftest.
$ac_objext \
14565 conftest
$ac_exeext conftest.
$ac_ext
14567 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_extern_prefix" >&5
14568 $as_echo "$ac_cv_c_extern_prefix" >&6; }
14572 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether external symbols need stdcall decoration" >&5
14573 $as_echo_n "checking whether external symbols need stdcall decoration... " >&6; }
14574 if ${ac_cv_c_stdcall_suffix+:} false
; then :
14575 $as_echo_n "(cached) " >&6
14577 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14578 /* end confdefs.h. */
14580 #define __stdcall __attribute__((__stdcall__))
14582 int __stdcall ac_test(int i) { return i; }
14586 asm("jmp _ac_test@4"); if (ac_test(1)) return 1
14591 if ac_fn_c_try_link
"$LINENO"; then :
14592 ac_cv_c_stdcall_suffix
="yes"
14594 ac_cv_c_stdcall_suffix
="no"
14596 rm -f core conftest.err conftest.
$ac_objext \
14597 conftest
$ac_exeext conftest.
$ac_ext
14599 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_stdcall_suffix" >&5
14600 $as_echo "$ac_cv_c_stdcall_suffix" >&6; } ;;
14601 *) ac_cv_c_stdcall_suffix
="no" ;;
14605 if test "$ac_cv_c_extern_prefix" = "yes"
14607 $as_echo "#define __ASM_NAME(name) \"_\" name" >>confdefs.h
14609 asm_name_prefix
="_"
14611 $as_echo "#define __ASM_NAME(name) name" >>confdefs.h
14617 if test "$ac_cv_c_stdcall_suffix" = "yes"
14619 $as_echo "#define __ASM_STDCALL(args) \"@\" #args" >>confdefs.h
14622 $as_echo "#define __ASM_STDCALL(args) \"\"" >>confdefs.h
14627 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to define a function in assembly code" >&5
14628 $as_echo_n "checking how to define a function in assembly code... " >&6; }
14629 if ${ac_cv_asm_func_def+:} false
; then :
14630 $as_echo_n "(cached) " >&6
14632 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14633 /* end confdefs.h. */
14638 asm("\t.globl _ac_test\n\t.def _ac_test; .scl 2; .type 32; .endef\n_ac_test:\t.long 0");
14643 if ac_fn_c_try_link
"$LINENO"; then :
14644 ac_cv_asm_func_def
=".def"
14646 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14647 /* end confdefs.h. */
14652 asm("\t.globl _ac_test\n\t.type _ac_test,@function\n_ac_test:\t.long 0");
14657 if ac_fn_c_try_link
"$LINENO"; then :
14658 ac_cv_asm_func_def
=".type @function"
14660 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14661 /* end confdefs.h. */
14666 asm("\t.globl _ac_test\n\t.type _ac_test,2\n_ac_test:\t.long 0");
14671 if ac_fn_c_try_link
"$LINENO"; then :
14672 ac_cv_asm_func_def
=".type 2"
14674 ac_cv_asm_func_def
="unknown"
14676 rm -f core conftest.err conftest.
$ac_objext \
14677 conftest
$ac_exeext conftest.
$ac_ext
14679 rm -f core conftest.err conftest.
$ac_objext \
14680 conftest
$ac_exeext conftest.
$ac_ext
14682 rm -f core conftest.err conftest.
$ac_objext \
14683 conftest
$ac_exeext conftest.
$ac_ext
14685 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_asm_func_def" >&5
14686 $as_echo "$ac_cv_asm_func_def" >&6; }
14689 case "$ac_cv_asm_func_def" in
14691 $as_echo "#define __ASM_FUNC(name) \".def \" __ASM_NAME(name) \"; .scl 2; .type 32; .endef\"" >>confdefs.h
14693 asm_func_header
=".def $asm_name_prefix\" #name suffix \"; .scl 2; .type 32; .endef" ;;
14695 $as_echo "#define __ASM_FUNC(name) \".type \" __ASM_NAME(name) \",@function\"" >>confdefs.h
14697 asm_func_header
=".type $asm_name_prefix\" #name suffix \",@function" ;;
14699 $as_echo "#define __ASM_FUNC(name) \".type \" __ASM_NAME(name) \",2\"" >>confdefs.h
14701 asm_func_header
=".type $asm_name_prefix\" #name suffix \",2" ;;
14703 $as_echo "#define __ASM_FUNC(name) \"\"" >>confdefs.h
14705 asm_func_header
="" ;;
14708 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether asm() works outside of functions" >&5
14709 $as_echo_n "checking whether asm() works outside of functions... " >&6; }
14710 if ${ac_cv_c_asm_outside_funcs+:} false
; then :
14711 $as_echo_n "(cached) " >&6
14713 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14714 /* end confdefs.h. */
14715 asm(".text\n\t.long 0");
14724 if ac_fn_c_try_compile
"$LINENO"; then :
14725 ac_cv_c_asm_outside_funcs
="yes"
14727 ac_cv_c_asm_outside_funcs
="no"
14729 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
14731 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_asm_outside_funcs" >&5
14732 $as_echo "$ac_cv_c_asm_outside_funcs" >&6; }
14734 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether .previous is supported in assembly code" >&5
14735 $as_echo_n "checking whether .previous is supported in assembly code... " >&6; }
14736 if ${ac_cv_c_dot_previous+:} false
; then :
14737 $as_echo_n "(cached) " >&6
14739 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14740 /* end confdefs.h. */
14745 asm(".text\nac_test:\t.long 0\n\t.previous");
14750 if ac_fn_c_try_link
"$LINENO"; then :
14751 ac_cv_c_dot_previous
="yes"
14753 ac_cv_c_dot_previous
="no"
14755 rm -f core conftest.err conftest.
$ac_objext \
14756 conftest
$ac_exeext conftest.
$ac_ext
14758 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_dot_previous" >&5
14759 $as_echo "$ac_cv_c_dot_previous" >&6; }
14761 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether CFI directives are supported in assembly code" >&5
14762 $as_echo_n "checking whether CFI directives are supported in assembly code... " >&6; }
14763 if ${ac_cv_c_cfi_support+:} false
; then :
14764 $as_echo_n "(cached) " >&6
14766 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14767 /* end confdefs.h. */
14768 asm(".text\nac_test:\t.cfi_startproc\n\t.long 0\n\t.cfi_endproc");
14777 if ac_fn_c_try_compile
"$LINENO"; then :
14778 ac_cv_c_cfi_support
="yes"
14780 ac_cv_c_cfi_support
="no"
14782 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
14784 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_cfi_support" >&5
14785 $as_echo "$ac_cv_c_cfi_support" >&6; }
14787 asm_func_header
=".globl $asm_name_prefix\" #name suffix \"\\n\\t$asm_func_header\\n$asm_name_prefix\" #name suffix \":\\n\\t"
14788 asm_func_trailer
=""
14789 if test "$ac_cv_c_dot_previous" = "yes"
14791 asm_func_trailer
="\\n\\t.previous"
14793 if test "$ac_cv_c_cfi_support" = "yes"
14795 asm_func_header
="$asm_func_header.cfi_startproc\\n\\t"
14796 asm_func_trailer
="\\n\\t.cfi_endproc$asm_func_trailer"
14798 $as_echo "#define __ASM_CFI(str) str" >>confdefs.h
14800 UNWINDFLAGS
=-fasynchronous-unwind-tables
14803 $as_echo "#define __ASM_CFI(str) \"\"" >>confdefs.h
14805 if test "x$enable_win64" = "xyes"
14807 as_fn_append wine_warnings
"|building 64-bit Wine without support for CFI directives; exception handling will not work properly."
14811 asm_func_code
="$asm_func_header\" code \"$asm_func_trailer"
14814 if test "$ac_cv_c_asm_outside_funcs" = "yes"
14816 cat >>confdefs.h
<<_ACEOF
14817 #define __ASM_DEFINE_FUNC(name,suffix,code) asm(".text\n\t.align 4\n\t$asm_func_code");
14821 cat >>confdefs.h
<<_ACEOF
14822 #define __ASM_DEFINE_FUNC(name,suffix,code) void __asm_dummy_##name(void) { asm(".text\n\t.align 4\n\t$asm_func_code"); }
14827 $as_echo "#define __ASM_GLOBAL_FUNC(name,code) __ASM_DEFINE_FUNC(name,\"\",code)" >>confdefs.h
14830 $as_echo "#define __ASM_STDCALL_FUNC(name,args,code) __ASM_DEFINE_FUNC(name,__ASM_STDCALL(args),code)" >>confdefs.h
14835 cygwin
*|mingw32
*) TOOLSEXT
=".exe"
14842 *i
[3456789]86*|x86_64
*)
14843 test "$wine_binary" = wine || wine_fn_ignore_file
"loader/wine-preloader"
14844 loader_programs
="$loader_programs $wine_binary-preloader"
14845 as_fn_append LOADER_RULES
"
14846 $wine_binary-preloader: preloader.o
14847 \$(CC) -o \$@ -static -nostartfiles -nodefaultlibs -Wl,-Ttext=0x7c400000 preloader.o \$(LIBPORT) \$(LDFLAGS)
14849 install install-lib:: $wine_binary-preloader
14850 \$(INSTALL_PROGRAM) $wine_binary-preloader \$(DESTDIR)\$(bindir)/$wine_binary-preloader
14853 \$(RM) \$(DESTDIR)\$(bindir)/$wine_binary-preloader
14855 preloader_EXTRADEFS = $BUILTINFLAG
14860 as_fn_append LOADER_RULES
"
14861 PROGRAMS = $loader_programs
14865 ac_save_CFLAGS
="$CFLAGS"
14866 CFLAGS
="$CFLAGS $BUILTINFLAG"
14945 as_ac_var
=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
14946 ac_fn_c_check_func
"$LINENO" "$ac_func" "$as_ac_var"
14947 if eval test \"x\$
"$as_ac_var"\" = x
"yes"; then :
14948 cat >>confdefs.h
<<_ACEOF
14949 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
14955 CFLAGS
="$ac_save_CFLAGS"
14957 if test "$ac_cv_func_dlopen" = no
14959 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
14960 $as_echo_n "checking for dlopen in -ldl... " >&6; }
14961 if ${ac_cv_lib_dl_dlopen+:} false
; then :
14962 $as_echo_n "(cached) " >&6
14964 ac_check_lib_save_LIBS
=$LIBS
14966 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14967 /* end confdefs.h. */
14969 /* Override any GCC internal prototype to avoid an error.
14970 Use char because int might match the return type of a GCC
14971 builtin and then its argument prototype would still apply. */
14984 if ac_fn_c_try_link
"$LINENO"; then :
14985 ac_cv_lib_dl_dlopen
=yes
14987 ac_cv_lib_dl_dlopen
=no
14989 rm -f core conftest.err conftest.
$ac_objext \
14990 conftest
$ac_exeext conftest.
$ac_ext
14991 LIBS
=$ac_check_lib_save_LIBS
14993 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
14994 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
14995 if test "x$ac_cv_lib_dl_dlopen" = xyes
; then :
14996 $as_echo "#define HAVE_DLOPEN 1" >>confdefs.h
15002 ac_wine_check_funcs_save_LIBS
="$LIBS"
15003 LIBS
="$LIBS $DL_LIBS"
15004 for ac_func
in dladdr
15006 ac_fn_c_check_func
"$LINENO" "dladdr" "ac_cv_func_dladdr"
15007 if test "x$ac_cv_func_dladdr" = xyes
; then :
15008 cat >>confdefs.h
<<_ACEOF
15009 #define HAVE_DLADDR 1
15015 LIBS
="$ac_wine_check_funcs_save_LIBS"
15017 if test "$ac_cv_func_poll" = no
15019 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for poll in -lpoll" >&5
15020 $as_echo_n "checking for poll in -lpoll... " >&6; }
15021 if ${ac_cv_lib_poll_poll+:} false
; then :
15022 $as_echo_n "(cached) " >&6
15024 ac_check_lib_save_LIBS
=$LIBS
15025 LIBS
="-lpoll $LIBS"
15026 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15027 /* end confdefs.h. */
15029 /* Override any GCC internal prototype to avoid an error.
15030 Use char because int might match the return type of a GCC
15031 builtin and then its argument prototype would still apply. */
15044 if ac_fn_c_try_link
"$LINENO"; then :
15045 ac_cv_lib_poll_poll
=yes
15047 ac_cv_lib_poll_poll
=no
15049 rm -f core conftest.err conftest.
$ac_objext \
15050 conftest
$ac_exeext conftest.
$ac_ext
15051 LIBS
=$ac_check_lib_save_LIBS
15053 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_poll_poll" >&5
15054 $as_echo "$ac_cv_lib_poll_poll" >&6; }
15055 if test "x$ac_cv_lib_poll_poll" = xyes
; then :
15056 $as_echo "#define HAVE_POLL 1" >>confdefs.h
15063 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing gethostbyname" >&5
15064 $as_echo_n "checking for library containing gethostbyname... " >&6; }
15065 if ${ac_cv_search_gethostbyname+:} false
; then :
15066 $as_echo_n "(cached) " >&6
15068 ac_func_search_save_LIBS
=$LIBS
15069 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15070 /* end confdefs.h. */
15072 /* Override any GCC internal prototype to avoid an error.
15073 Use char because int might match the return type of a GCC
15074 builtin and then its argument prototype would still apply. */
15078 char gethostbyname ();
15082 return gethostbyname ();
15087 for ac_lib
in '' nsl
; do
15088 if test -z "$ac_lib"; then
15089 ac_res
="none required"
15092 LIBS
="-l$ac_lib $ac_func_search_save_LIBS"
15094 if ac_fn_c_try_link
"$LINENO"; then :
15095 ac_cv_search_gethostbyname
=$ac_res
15097 rm -f core conftest.err conftest.
$ac_objext \
15099 if ${ac_cv_search_gethostbyname+:} false
; then :
15103 if ${ac_cv_search_gethostbyname+:} false
; then :
15106 ac_cv_search_gethostbyname
=no
15108 rm conftest.
$ac_ext
15109 LIBS
=$ac_func_search_save_LIBS
15111 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_gethostbyname" >&5
15112 $as_echo "$ac_cv_search_gethostbyname" >&6; }
15113 ac_res
=$ac_cv_search_gethostbyname
15114 if test "$ac_res" != no
; then :
15115 test "$ac_res" = "none required" || LIBS
="$ac_res $LIBS"
15120 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing connect" >&5
15121 $as_echo_n "checking for library containing connect... " >&6; }
15122 if ${ac_cv_search_connect+:} false
; then :
15123 $as_echo_n "(cached) " >&6
15125 ac_func_search_save_LIBS
=$LIBS
15126 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15127 /* end confdefs.h. */
15129 /* Override any GCC internal prototype to avoid an error.
15130 Use char because int might match the return type of a GCC
15131 builtin and then its argument prototype would still apply. */
15144 for ac_lib
in '' socket
; do
15145 if test -z "$ac_lib"; then
15146 ac_res
="none required"
15149 LIBS
="-l$ac_lib $ac_func_search_save_LIBS"
15151 if ac_fn_c_try_link
"$LINENO"; then :
15152 ac_cv_search_connect
=$ac_res
15154 rm -f core conftest.err conftest.
$ac_objext \
15156 if ${ac_cv_search_connect+:} false
; then :
15160 if ${ac_cv_search_connect+:} false
; then :
15163 ac_cv_search_connect
=no
15165 rm conftest.
$ac_ext
15166 LIBS
=$ac_func_search_save_LIBS
15168 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_connect" >&5
15169 $as_echo "$ac_cv_search_connect" >&6; }
15170 ac_res
=$ac_cv_search_connect
15171 if test "$ac_res" != no
; then :
15172 test "$ac_res" = "none required" || LIBS
="$ac_res $LIBS"
15177 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing inet_aton" >&5
15178 $as_echo_n "checking for library containing inet_aton... " >&6; }
15179 if ${ac_cv_search_inet_aton+:} false
; then :
15180 $as_echo_n "(cached) " >&6
15182 ac_func_search_save_LIBS
=$LIBS
15183 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15184 /* end confdefs.h. */
15186 /* Override any GCC internal prototype to avoid an error.
15187 Use char because int might match the return type of a GCC
15188 builtin and then its argument prototype would still apply. */
15196 return inet_aton ();
15201 for ac_lib
in '' resolv
; do
15202 if test -z "$ac_lib"; then
15203 ac_res
="none required"
15206 LIBS
="-l$ac_lib $ac_func_search_save_LIBS"
15208 if ac_fn_c_try_link
"$LINENO"; then :
15209 ac_cv_search_inet_aton
=$ac_res
15211 rm -f core conftest.err conftest.
$ac_objext \
15213 if ${ac_cv_search_inet_aton+:} false
; then :
15217 if ${ac_cv_search_inet_aton+:} false
; then :
15220 ac_cv_search_inet_aton
=no
15222 rm conftest.
$ac_ext
15223 LIBS
=$ac_func_search_save_LIBS
15225 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_inet_aton" >&5
15226 $as_echo "$ac_cv_search_inet_aton" >&6; }
15227 ac_res
=$ac_cv_search_inet_aton
15228 if test "$ac_res" != no
; then :
15229 test "$ac_res" = "none required" || LIBS
="$ac_res $LIBS"
15249 as_ac_var
=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
15250 ac_fn_c_check_func
"$LINENO" "$ac_func" "$as_ac_var"
15251 if eval test \"x\$
"$as_ac_var"\" = x
"yes"; then :
15252 cat >>confdefs.h
<<_ACEOF
15253 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
15261 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing clock_gettime" >&5
15262 $as_echo_n "checking for library containing clock_gettime... " >&6; }
15263 if ${ac_cv_search_clock_gettime+:} false
; then :
15264 $as_echo_n "(cached) " >&6
15266 ac_func_search_save_LIBS
=$LIBS
15267 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15268 /* end confdefs.h. */
15270 /* Override any GCC internal prototype to avoid an error.
15271 Use char because int might match the return type of a GCC
15272 builtin and then its argument prototype would still apply. */
15276 char clock_gettime ();
15280 return clock_gettime ();
15285 for ac_lib
in '' rt
; do
15286 if test -z "$ac_lib"; then
15287 ac_res
="none required"
15290 LIBS
="-l$ac_lib $ac_func_search_save_LIBS"
15292 if ac_fn_c_try_link
"$LINENO"; then :
15293 ac_cv_search_clock_gettime
=$ac_res
15295 rm -f core conftest.err conftest.
$ac_objext \
15297 if ${ac_cv_search_clock_gettime+:} false
; then :
15301 if ${ac_cv_search_clock_gettime+:} false
; then :
15304 ac_cv_search_clock_gettime
=no
15306 rm conftest.
$ac_ext
15307 LIBS
=$ac_func_search_save_LIBS
15309 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_clock_gettime" >&5
15310 $as_echo "$ac_cv_search_clock_gettime" >&6; }
15311 ac_res
=$ac_cv_search_clock_gettime
15312 if test "$ac_res" != no
; then :
15313 test "$ac_res" = "none required" || LIBS
="$ac_res $LIBS"
15315 $as_echo "#define HAVE_CLOCK_GETTIME 1" >>confdefs.h
15317 test "$ac_res" = "none required" || RT_LIBS
="$ac_res"
15325 if test "$ac_cv_header_ldap_h" = "yes" -a "$ac_cv_header_lber_h" = "yes"
15327 ac_fn_c_check_type
"$LINENO" "LDAPSortKey" "ac_cv_type_LDAPSortKey" "#include <ldap.h>
15329 if test "x$ac_cv_type_LDAPSortKey" = xyes
; then :
15330 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldap_initialize in -lldap_r" >&5
15331 $as_echo_n "checking for ldap_initialize in -lldap_r... " >&6; }
15332 if ${ac_cv_lib_ldap_r_ldap_initialize+:} false
; then :
15333 $as_echo_n "(cached) " >&6
15335 ac_check_lib_save_LIBS
=$LIBS
15336 LIBS
="-lldap_r $PTHREAD_LIBS $LIBS"
15337 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15338 /* end confdefs.h. */
15340 /* Override any GCC internal prototype to avoid an error.
15341 Use char because int might match the return type of a GCC
15342 builtin and then its argument prototype would still apply. */
15346 char ldap_initialize ();
15350 return ldap_initialize ();
15355 if ac_fn_c_try_link
"$LINENO"; then :
15356 ac_cv_lib_ldap_r_ldap_initialize
=yes
15358 ac_cv_lib_ldap_r_ldap_initialize
=no
15360 rm -f core conftest.err conftest.
$ac_objext \
15361 conftest
$ac_exeext conftest.
$ac_ext
15362 LIBS
=$ac_check_lib_save_LIBS
15364 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ldap_r_ldap_initialize" >&5
15365 $as_echo "$ac_cv_lib_ldap_r_ldap_initialize" >&6; }
15366 if test "x$ac_cv_lib_ldap_r_ldap_initialize" = xyes
; then :
15367 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ber_init in -llber" >&5
15368 $as_echo_n "checking for ber_init in -llber... " >&6; }
15369 if ${ac_cv_lib_lber_ber_init+:} false
; then :
15370 $as_echo_n "(cached) " >&6
15372 ac_check_lib_save_LIBS
=$LIBS
15373 LIBS
="-llber $PTHREAD_LIBS $LIBS"
15374 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15375 /* end confdefs.h. */
15377 /* Override any GCC internal prototype to avoid an error.
15378 Use char because int might match the return type of a GCC
15379 builtin and then its argument prototype would still apply. */
15387 return ber_init ();
15392 if ac_fn_c_try_link
"$LINENO"; then :
15393 ac_cv_lib_lber_ber_init
=yes
15395 ac_cv_lib_lber_ber_init
=no
15397 rm -f core conftest.err conftest.
$ac_objext \
15398 conftest
$ac_exeext conftest.
$ac_ext
15399 LIBS
=$ac_check_lib_save_LIBS
15401 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_lber_ber_init" >&5
15402 $as_echo "$ac_cv_lib_lber_ber_init" >&6; }
15403 if test "x$ac_cv_lib_lber_ber_init" = xyes
; then :
15405 $as_echo "#define HAVE_LDAP 1" >>confdefs.h
15407 LDAP_LIBS
="-lldap_r -llber"
15414 ac_wine_check_funcs_save_LIBS
="$LIBS"
15415 LIBS
="$LIBS $LDAP_LIBS $PTHREAD_LIBS"
15417 ldap_count_references \
15418 ldap_first_reference \
15419 ldap_next_reference \
15420 ldap_parse_reference \
15421 ldap_parse_sort_control \
15422 ldap_parse_sortresponse_control \
15423 ldap_parse_vlv_control \
15424 ldap_parse_vlvresponse_control
15426 as_ac_var
=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
15427 ac_fn_c_check_func
"$LINENO" "$ac_func" "$as_ac_var"
15428 if eval test \"x\$
"$as_ac_var"\" = x
"yes"; then :
15429 cat >>confdefs.h
<<_ACEOF
15430 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
15436 LIBS
="$ac_wine_check_funcs_save_LIBS"
15438 if test "x$LDAP_LIBS" = "x"; then :
15439 case "x$with_ldap" in
15440 x
) as_fn_append wine_notices
"|libldap (OpenLDAP) ${notice_platform}development files not found, LDAP won't be supported." ;;
15442 *) as_fn_error $?
"libldap (OpenLDAP) ${notice_platform}development files not found, LDAP won't be supported.
15443 This is an error since --with-ldap was requested." "$LINENO" 5 ;;
15447 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether mkdir takes only one argument" >&5
15448 $as_echo_n "checking whether mkdir takes only one argument... " >&6; }
15449 if ${wine_cv_one_arg_mkdir+:} false
; then :
15450 $as_echo_n "(cached) " >&6
15452 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15453 /* end confdefs.h. */
15454 #include <sys/stat.h>
15463 if ac_fn_c_try_compile
"$LINENO"; then :
15464 wine_cv_one_arg_mkdir
=yes
15466 wine_cv_one_arg_mkdir
=no
15468 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
15470 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_one_arg_mkdir" >&5
15471 $as_echo "$wine_cv_one_arg_mkdir" >&6; }
15472 if test "$wine_cv_one_arg_mkdir" = "yes"
15475 $as_echo "#define HAVE_ONE_ARG_MKDIR 1" >>confdefs.h
15479 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sched_setaffinity" >&5
15480 $as_echo_n "checking for sched_setaffinity... " >&6; }
15481 if ${wine_cv_have_sched_setaffinity+:} false
; then :
15482 $as_echo_n "(cached) " >&6
15484 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15485 /* end confdefs.h. */
15486 #define _GNU_SOURCE
15491 sched_setaffinity(0, 0, 0);
15496 if ac_fn_c_try_link
"$LINENO"; then :
15497 wine_cv_have_sched_setaffinity
=yes
15499 wine_cv_have_sched_setaffinity
=no
15501 rm -f core conftest.err conftest.
$ac_objext \
15502 conftest
$ac_exeext conftest.
$ac_ext
15504 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_have_sched_setaffinity" >&5
15505 $as_echo "$wine_cv_have_sched_setaffinity" >&6; }
15506 if test "$wine_cv_have_sched_setaffinity" = "yes"
15509 $as_echo "#define HAVE_SCHED_SETAFFINITY 1" >>confdefs.h
15513 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fallocate" >&5
15514 $as_echo_n "checking for fallocate... " >&6; }
15515 if ${wine_cv_have_fallocate+:} false
; then :
15516 $as_echo_n "(cached) " >&6
15518 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15519 /* end confdefs.h. */
15520 #define _GNU_SOURCE
15525 fallocate(-1, 0, 0, 0);
15530 if ac_fn_c_try_link
"$LINENO"; then :
15531 wine_cv_have_fallocate
=yes
15533 wine_cv_have_fallocate
=no
15535 rm -f core conftest.err conftest.
$ac_objext \
15536 conftest
$ac_exeext conftest.
$ac_ext
15538 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_have_fallocate" >&5
15539 $as_echo "$wine_cv_have_fallocate" >&6; }
15540 if test "$wine_cv_have_fallocate" = "yes"
15543 $as_echo "#define HAVE_FALLOCATE 1" >>confdefs.h
15548 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for inline" >&5
15549 $as_echo_n "checking for inline... " >&6; }
15550 if ${ac_cv_c_inline+:} false
; then :
15551 $as_echo_n "(cached) " >&6
15554 for ac_kw
in inline __inline__ __inline
; do
15555 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15556 /* end confdefs.h. */
15557 #ifndef __cplusplus
15559 static $ac_kw foo_t static_foo () {return 0; }
15560 $ac_kw foo_t foo () {return 0; }
15564 if ac_fn_c_try_compile
"$LINENO"; then :
15565 ac_cv_c_inline
=$ac_kw
15567 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
15568 test "$ac_cv_c_inline" != no
&& break
15572 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_inline" >&5
15573 $as_echo "$ac_cv_c_inline" >&6; }
15575 case $ac_cv_c_inline in
15578 case $ac_cv_c_inline in
15580 *) ac_val
=$ac_cv_c_inline;;
15582 cat >>confdefs.h
<<_ACEOF
15583 #ifndef __cplusplus
15584 #define inline $ac_val
15590 ac_fn_c_check_type
"$LINENO" "mode_t" "ac_cv_type_mode_t" "$ac_includes_default"
15591 if test "x$ac_cv_type_mode_t" = xyes
; then :
15593 cat >>confdefs.h
<<_ACEOF
15594 #define HAVE_MODE_T 1
15599 ac_fn_c_check_type
"$LINENO" "off_t" "ac_cv_type_off_t" "$ac_includes_default"
15600 if test "x$ac_cv_type_off_t" = xyes
; then :
15602 cat >>confdefs.h
<<_ACEOF
15603 #define HAVE_OFF_T 1
15608 ac_fn_c_check_type
"$LINENO" "pid_t" "ac_cv_type_pid_t" "$ac_includes_default"
15609 if test "x$ac_cv_type_pid_t" = xyes
; then :
15611 cat >>confdefs.h
<<_ACEOF
15612 #define HAVE_PID_T 1
15617 ac_fn_c_check_type
"$LINENO" "size_t" "ac_cv_type_size_t" "$ac_includes_default"
15618 if test "x$ac_cv_type_size_t" = xyes
; then :
15620 cat >>confdefs.h
<<_ACEOF
15621 #define HAVE_SIZE_T 1
15626 ac_fn_c_check_type
"$LINENO" "ssize_t" "ac_cv_type_ssize_t" "$ac_includes_default"
15627 if test "x$ac_cv_type_ssize_t" = xyes
; then :
15629 cat >>confdefs.h
<<_ACEOF
15630 #define HAVE_SSIZE_T 1
15635 ac_fn_c_check_type
"$LINENO" "long long" "ac_cv_type_long_long" "$ac_includes_default"
15636 if test "x$ac_cv_type_long_long" = xyes
; then :
15638 cat >>confdefs.h
<<_ACEOF
15639 #define HAVE_LONG_LONG 1
15644 ac_fn_c_check_type
"$LINENO" "fsblkcnt_t" "ac_cv_type_fsblkcnt_t" "$ac_includes_default"
15645 if test "x$ac_cv_type_fsblkcnt_t" = xyes
; then :
15647 cat >>confdefs.h
<<_ACEOF
15648 #define HAVE_FSBLKCNT_T 1
15653 ac_fn_c_check_type
"$LINENO" "fsfilcnt_t" "ac_cv_type_fsfilcnt_t" "$ac_includes_default"
15654 if test "x$ac_cv_type_fsfilcnt_t" = xyes
; then :
15656 cat >>confdefs.h
<<_ACEOF
15657 #define HAVE_FSFILCNT_T 1
15663 ac_fn_c_check_type
"$LINENO" "sigset_t" "ac_cv_type_sigset_t" "#include <sys/types.h>
15664 #include <signal.h>
15666 if test "x$ac_cv_type_sigset_t" = xyes
; then :
15668 cat >>confdefs.h
<<_ACEOF
15669 #define HAVE_SIGSET_T 1
15675 ac_fn_c_check_type
"$LINENO" "request_sense" "ac_cv_type_request_sense" "#include <linux/cdrom.h>
15677 if test "x$ac_cv_type_request_sense" = xyes
; then :
15679 cat >>confdefs.h
<<_ACEOF
15680 #define HAVE_REQUEST_SENSE 1
15687 ac_fn_c_check_type
"$LINENO" "struct xinpgen" "ac_cv_type_struct_xinpgen" "#include <sys/types.h>
15688 #ifdef HAVE_SYS_SOCKET_H
15689 #include <sys/socket.h>
15691 #ifdef HAVE_SYS_SOCKETVAR_H
15692 #include <sys/socketvar.h>
15694 #ifdef HAVE_NET_ROUTE_H
15695 #include <net/route.h>
15697 #ifdef HAVE_NETINET_IN_H
15698 #include <netinet/in.h>
15700 #ifdef HAVE_NETINET_IN_SYSTM_H
15701 #include <netinet/in_systm.h>
15703 #ifdef HAVE_NETINET_IP_H
15704 #include <netinet/ip.h>
15706 #ifdef HAVE_NETINET_IN_PCB_H
15707 #include <netinet/in_pcb.h>
15710 if test "x$ac_cv_type_struct_xinpgen" = xyes
; then :
15712 cat >>confdefs.h
<<_ACEOF
15713 #define HAVE_STRUCT_XINPGEN 1
15720 ac_fn_c_check_type
"$LINENO" "struct r_debug" "ac_cv_type_struct_r_debug" "#ifdef HAVE_LINK_H
15723 #ifdef HAVE_SYS_LINK_H
15724 #include <sys/link.h>
15727 if test "x$ac_cv_type_struct_r_debug" = xyes
; then :
15729 cat >>confdefs.h
<<_ACEOF
15730 #define HAVE_STRUCT_R_DEBUG 1
15735 ac_fn_c_check_type
"$LINENO" "struct link_map" "ac_cv_type_struct_link_map" "#ifdef HAVE_LINK_H
15738 #ifdef HAVE_SYS_LINK_H
15739 #include <sys/link.h>
15742 if test "x$ac_cv_type_struct_link_map" = xyes
; then :
15744 cat >>confdefs.h
<<_ACEOF
15745 #define HAVE_STRUCT_LINK_MAP 1
15752 ac_fn_c_check_member
"$LINENO" "struct ff_effect" "direction" "ac_cv_member_struct_ff_effect_direction" "#ifdef HAVE_LINUX_INPUT_H
15753 #include <linux/input.h>
15756 if test "x$ac_cv_member_struct_ff_effect_direction" = xyes
; then :
15758 cat >>confdefs.h
<<_ACEOF
15759 #define HAVE_STRUCT_FF_EFFECT_DIRECTION 1
15766 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sigaddset" >&5
15767 $as_echo_n "checking for sigaddset... " >&6; }
15768 if ${wine_cv_have_sigaddset+:} false
; then :
15769 $as_echo_n "(cached) " >&6
15771 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15772 /* end confdefs.h. */
15773 #include <signal.h>
15777 sigset_t set; sigaddset(&set,SIGTERM);
15782 if ac_fn_c_try_link
"$LINENO"; then :
15783 wine_cv_have_sigaddset
=yes
15785 wine_cv_have_sigaddset
=no
15787 rm -f core conftest.err conftest.
$ac_objext \
15788 conftest
$ac_exeext conftest.
$ac_ext
15790 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_have_sigaddset" >&5
15791 $as_echo "$wine_cv_have_sigaddset" >&6; }
15792 if test "$wine_cv_have_sigaddset" = "yes"
15795 $as_echo "#define HAVE_SIGADDSET 1" >>confdefs.h
15800 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we can use re-entrant gethostbyname_r Linux style" >&5
15801 $as_echo_n "checking whether we can use re-entrant gethostbyname_r Linux style... " >&6; }
15802 if ${wine_cv_linux_gethostbyname_r_6+:} false
; then :
15803 $as_echo_n "(cached) " >&6
15805 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15806 /* end confdefs.h. */
15814 struct hostent *result;
15821 gethostbyname_r(name,&he,buf,bufsize,&result,&errnr);
15822 gethostbyaddr_r(addr, addrlen, addrtype,&he,buf,bufsize,&result,&errnr);
15828 if ac_fn_c_try_link
"$LINENO"; then :
15829 wine_cv_linux_gethostbyname_r_6
=yes
15831 wine_cv_linux_gethostbyname_r_6
=no
15834 rm -f core conftest.err conftest.
$ac_objext \
15835 conftest
$ac_exeext conftest.
$ac_ext
15838 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_linux_gethostbyname_r_6" >&5
15839 $as_echo "$wine_cv_linux_gethostbyname_r_6" >&6; }
15840 if test "$wine_cv_linux_gethostbyname_r_6" = "yes"
15843 $as_echo "#define HAVE_LINUX_GETHOSTBYNAME_R_6 1" >>confdefs.h
15847 if test "$ac_cv_header_linux_joystick_h" = "yes"
15849 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether linux/joystick.h uses the Linux 2.2+ API" >&5
15850 $as_echo_n "checking whether linux/joystick.h uses the Linux 2.2+ API... " >&6; }
15851 if ${wine_cv_linux_joystick_22_api+:} false
; then :
15852 $as_echo_n "(cached) " >&6
15854 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15855 /* end confdefs.h. */
15857 #include <sys/ioctl.h>
15858 #include <sys/types.h>
15859 #include <linux/joystick.h>
15861 struct js_event blub;
15862 #if !defined(JS_EVENT_AXIS) || !defined(JS_EVENT_BUTTON)
15863 #error "no 2.2 header"
15874 if ac_fn_c_try_compile
"$LINENO"; then :
15875 wine_cv_linux_joystick_22_api
=yes
15877 wine_cv_linux_joystick_22_api
=no
15879 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
15882 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_linux_joystick_22_api" >&5
15883 $as_echo "$wine_cv_linux_joystick_22_api" >&6; }
15884 if test "$wine_cv_linux_joystick_22_api" = "yes"
15887 $as_echo "#define HAVE_LINUX_22_JOYSTICK_API 1" >>confdefs.h
15893 ac_fn_c_check_member
"$LINENO" "struct statfs" "f_bfree" "ac_cv_member_struct_statfs_f_bfree" "#include <sys/types.h>
15894 #ifdef HAVE_SYS_PARAM_H
15895 # include <sys/param.h>
15897 #ifdef HAVE_SYS_MOUNT_H
15898 # include <sys/mount.h>
15900 #ifdef HAVE_SYS_VFS_H
15901 # include <sys/vfs.h>
15903 #ifdef HAVE_SYS_STATFS_H
15904 # include <sys/statfs.h>
15907 if test "x$ac_cv_member_struct_statfs_f_bfree" = xyes
; then :
15909 cat >>confdefs.h
<<_ACEOF
15910 #define HAVE_STRUCT_STATFS_F_BFREE 1
15915 ac_fn_c_check_member
"$LINENO" "struct statfs" "f_bavail" "ac_cv_member_struct_statfs_f_bavail" "#include <sys/types.h>
15916 #ifdef HAVE_SYS_PARAM_H
15917 # include <sys/param.h>
15919 #ifdef HAVE_SYS_MOUNT_H
15920 # include <sys/mount.h>
15922 #ifdef HAVE_SYS_VFS_H
15923 # include <sys/vfs.h>
15925 #ifdef HAVE_SYS_STATFS_H
15926 # include <sys/statfs.h>
15929 if test "x$ac_cv_member_struct_statfs_f_bavail" = xyes
; then :
15931 cat >>confdefs.h
<<_ACEOF
15932 #define HAVE_STRUCT_STATFS_F_BAVAIL 1
15937 ac_fn_c_check_member
"$LINENO" "struct statfs" "f_frsize" "ac_cv_member_struct_statfs_f_frsize" "#include <sys/types.h>
15938 #ifdef HAVE_SYS_PARAM_H
15939 # include <sys/param.h>
15941 #ifdef HAVE_SYS_MOUNT_H
15942 # include <sys/mount.h>
15944 #ifdef HAVE_SYS_VFS_H
15945 # include <sys/vfs.h>
15947 #ifdef HAVE_SYS_STATFS_H
15948 # include <sys/statfs.h>
15951 if test "x$ac_cv_member_struct_statfs_f_frsize" = xyes
; then :
15953 cat >>confdefs.h
<<_ACEOF
15954 #define HAVE_STRUCT_STATFS_F_FRSIZE 1
15959 ac_fn_c_check_member
"$LINENO" "struct statfs" "f_ffree" "ac_cv_member_struct_statfs_f_ffree" "#include <sys/types.h>
15960 #ifdef HAVE_SYS_PARAM_H
15961 # include <sys/param.h>
15963 #ifdef HAVE_SYS_MOUNT_H
15964 # include <sys/mount.h>
15966 #ifdef HAVE_SYS_VFS_H
15967 # include <sys/vfs.h>
15969 #ifdef HAVE_SYS_STATFS_H
15970 # include <sys/statfs.h>
15973 if test "x$ac_cv_member_struct_statfs_f_ffree" = xyes
; then :
15975 cat >>confdefs.h
<<_ACEOF
15976 #define HAVE_STRUCT_STATFS_F_FFREE 1
15981 ac_fn_c_check_member
"$LINENO" "struct statfs" "f_favail" "ac_cv_member_struct_statfs_f_favail" "#include <sys/types.h>
15982 #ifdef HAVE_SYS_PARAM_H
15983 # include <sys/param.h>
15985 #ifdef HAVE_SYS_MOUNT_H
15986 # include <sys/mount.h>
15988 #ifdef HAVE_SYS_VFS_H
15989 # include <sys/vfs.h>
15991 #ifdef HAVE_SYS_STATFS_H
15992 # include <sys/statfs.h>
15995 if test "x$ac_cv_member_struct_statfs_f_favail" = xyes
; then :
15997 cat >>confdefs.h
<<_ACEOF
15998 #define HAVE_STRUCT_STATFS_F_FAVAIL 1
16003 ac_fn_c_check_member
"$LINENO" "struct statfs" "f_namelen" "ac_cv_member_struct_statfs_f_namelen" "#include <sys/types.h>
16004 #ifdef HAVE_SYS_PARAM_H
16005 # include <sys/param.h>
16007 #ifdef HAVE_SYS_MOUNT_H
16008 # include <sys/mount.h>
16010 #ifdef HAVE_SYS_VFS_H
16011 # include <sys/vfs.h>
16013 #ifdef HAVE_SYS_STATFS_H
16014 # include <sys/statfs.h>
16017 if test "x$ac_cv_member_struct_statfs_f_namelen" = xyes
; then :
16019 cat >>confdefs.h
<<_ACEOF
16020 #define HAVE_STRUCT_STATFS_F_NAMELEN 1
16027 ac_fn_c_check_member
"$LINENO" "struct statvfs" "f_blocks" "ac_cv_member_struct_statvfs_f_blocks" "#ifdef HAVE_SYS_STATVFS_H
16028 #include <sys/statvfs.h>
16031 if test "x$ac_cv_member_struct_statvfs_f_blocks" = xyes
; then :
16033 cat >>confdefs.h
<<_ACEOF
16034 #define HAVE_STRUCT_STATVFS_F_BLOCKS 1
16041 ac_fn_c_check_member
"$LINENO" "struct dirent" "d_reclen" "ac_cv_member_struct_dirent_d_reclen" "#ifdef HAVE_DIRENT_H
16042 #include <dirent.h>
16045 if test "x$ac_cv_member_struct_dirent_d_reclen" = xyes
; then :
16047 cat >>confdefs.h
<<_ACEOF
16048 #define HAVE_STRUCT_DIRENT_D_RECLEN 1
16055 ac_fn_c_check_member
"$LINENO" "struct msghdr" "msg_accrights" "ac_cv_member_struct_msghdr_msg_accrights" "#include <sys/types.h>
16056 #ifdef HAVE_SYS_SOCKET_H
16057 # include <sys/socket.h>
16059 #ifdef HAVE_SYS_UN_H
16060 # include <sys/un.h>
16063 if test "x$ac_cv_member_struct_msghdr_msg_accrights" = xyes
; then :
16065 cat >>confdefs.h
<<_ACEOF
16066 #define HAVE_STRUCT_MSGHDR_MSG_ACCRIGHTS 1
16071 ac_fn_c_check_member
"$LINENO" "struct sockaddr" "sa_len" "ac_cv_member_struct_sockaddr_sa_len" "#include <sys/types.h>
16072 #ifdef HAVE_SYS_SOCKET_H
16073 # include <sys/socket.h>
16075 #ifdef HAVE_SYS_UN_H
16076 # include <sys/un.h>
16079 if test "x$ac_cv_member_struct_sockaddr_sa_len" = xyes
; then :
16081 cat >>confdefs.h
<<_ACEOF
16082 #define HAVE_STRUCT_SOCKADDR_SA_LEN 1
16087 ac_fn_c_check_member
"$LINENO" "struct sockaddr_un" "sun_len" "ac_cv_member_struct_sockaddr_un_sun_len" "#include <sys/types.h>
16088 #ifdef HAVE_SYS_SOCKET_H
16089 # include <sys/socket.h>
16091 #ifdef HAVE_SYS_UN_H
16092 # include <sys/un.h>
16095 if test "x$ac_cv_member_struct_sockaddr_un_sun_len" = xyes
; then :
16097 cat >>confdefs.h
<<_ACEOF
16098 #define HAVE_STRUCT_SOCKADDR_UN_SUN_LEN 1
16105 ac_fn_c_check_member
"$LINENO" "scsireq_t" "cmd" "ac_cv_member_scsireq_t_cmd" "#include <sys/types.h>
16106 #ifdef HAVE_SCSI_SG_H
16107 #include <scsi/sg.h>
16110 if test "x$ac_cv_member_scsireq_t_cmd" = xyes
; then :
16112 cat >>confdefs.h
<<_ACEOF
16113 #define HAVE_SCSIREQ_T_CMD 1
16118 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>
16119 #ifdef HAVE_SCSI_SG_H
16120 #include <scsi/sg.h>
16123 if test "x$ac_cv_member_sg_io_hdr_t_interface_id" = xyes
; then :
16125 cat >>confdefs.h
<<_ACEOF
16126 #define HAVE_SG_IO_HDR_T_INTERFACE_ID 1
16133 ac_fn_c_check_member
"$LINENO" "siginfo_t" "si_fd" "ac_cv_member_siginfo_t_si_fd" "#include <signal.h>
16135 if test "x$ac_cv_member_siginfo_t_si_fd" = xyes
; then :
16137 cat >>confdefs.h
<<_ACEOF
16138 #define HAVE_SIGINFO_T_SI_FD 1
16145 ac_fn_c_check_member
"$LINENO" "struct mtget" "mt_blksiz" "ac_cv_member_struct_mtget_mt_blksiz" "#include <sys/types.h>
16146 #ifdef HAVE_SYS_MTIO_H
16147 #include <sys/mtio.h>
16150 if test "x$ac_cv_member_struct_mtget_mt_blksiz" = xyes
; then :
16152 cat >>confdefs.h
<<_ACEOF
16153 #define HAVE_STRUCT_MTGET_MT_BLKSIZ 1
16158 ac_fn_c_check_member
"$LINENO" "struct mtget" "mt_gstat" "ac_cv_member_struct_mtget_mt_gstat" "#include <sys/types.h>
16159 #ifdef HAVE_SYS_MTIO_H
16160 #include <sys/mtio.h>
16163 if test "x$ac_cv_member_struct_mtget_mt_gstat" = xyes
; then :
16165 cat >>confdefs.h
<<_ACEOF
16166 #define HAVE_STRUCT_MTGET_MT_GSTAT 1
16171 ac_fn_c_check_member
"$LINENO" "struct mtget" "mt_blkno" "ac_cv_member_struct_mtget_mt_blkno" "#include <sys/types.h>
16172 #ifdef HAVE_SYS_MTIO_H
16173 #include <sys/mtio.h>
16176 if test "x$ac_cv_member_struct_mtget_mt_blkno" = xyes
; then :
16178 cat >>confdefs.h
<<_ACEOF
16179 #define HAVE_STRUCT_MTGET_MT_BLKNO 1
16186 ac_fn_c_check_member
"$LINENO" "struct option" "name" "ac_cv_member_struct_option_name" "#ifdef HAVE_GETOPT_H
16187 #include <getopt.h>
16190 if test "x$ac_cv_member_struct_option_name" = xyes
; then :
16192 cat >>confdefs.h
<<_ACEOF
16193 #define HAVE_STRUCT_OPTION_NAME 1
16200 ac_fn_c_check_member
"$LINENO" "struct stat" "st_blocks" "ac_cv_member_struct_stat_st_blocks" "$ac_includes_default"
16201 if test "x$ac_cv_member_struct_stat_st_blocks" = xyes
; then :
16203 cat >>confdefs.h
<<_ACEOF
16204 #define HAVE_STRUCT_STAT_ST_BLOCKS 1
16209 ac_fn_c_check_member
"$LINENO" "struct stat" "st_mtim" "ac_cv_member_struct_stat_st_mtim" "$ac_includes_default"
16210 if test "x$ac_cv_member_struct_stat_st_mtim" = xyes
; then :
16212 cat >>confdefs.h
<<_ACEOF
16213 #define HAVE_STRUCT_STAT_ST_MTIM 1
16218 ac_fn_c_check_member
"$LINENO" "struct stat" "st_mtimespec" "ac_cv_member_struct_stat_st_mtimespec" "$ac_includes_default"
16219 if test "x$ac_cv_member_struct_stat_st_mtimespec" = xyes
; then :
16221 cat >>confdefs.h
<<_ACEOF
16222 #define HAVE_STRUCT_STAT_ST_MTIMESPEC 1
16227 ac_fn_c_check_member
"$LINENO" "struct stat" "st_ctim" "ac_cv_member_struct_stat_st_ctim" "$ac_includes_default"
16228 if test "x$ac_cv_member_struct_stat_st_ctim" = xyes
; then :
16230 cat >>confdefs.h
<<_ACEOF
16231 #define HAVE_STRUCT_STAT_ST_CTIM 1
16236 ac_fn_c_check_member
"$LINENO" "struct stat" "st_ctimespec" "ac_cv_member_struct_stat_st_ctimespec" "$ac_includes_default"
16237 if test "x$ac_cv_member_struct_stat_st_ctimespec" = xyes
; then :
16239 cat >>confdefs.h
<<_ACEOF
16240 #define HAVE_STRUCT_STAT_ST_CTIMESPEC 1
16245 ac_fn_c_check_member
"$LINENO" "struct stat" "st_atim" "ac_cv_member_struct_stat_st_atim" "$ac_includes_default"
16246 if test "x$ac_cv_member_struct_stat_st_atim" = xyes
; then :
16248 cat >>confdefs.h
<<_ACEOF
16249 #define HAVE_STRUCT_STAT_ST_ATIM 1
16254 ac_fn_c_check_member
"$LINENO" "struct stat" "st_atimespec" "ac_cv_member_struct_stat_st_atimespec" "$ac_includes_default"
16255 if test "x$ac_cv_member_struct_stat_st_atimespec" = xyes
; then :
16257 cat >>confdefs.h
<<_ACEOF
16258 #define HAVE_STRUCT_STAT_ST_ATIMESPEC 1
16263 ac_fn_c_check_member
"$LINENO" "struct stat" "st_birthtime" "ac_cv_member_struct_stat_st_birthtime" "$ac_includes_default"
16264 if test "x$ac_cv_member_struct_stat_st_birthtime" = xyes
; then :
16266 cat >>confdefs.h
<<_ACEOF
16267 #define HAVE_STRUCT_STAT_ST_BIRTHTIME 1
16272 ac_fn_c_check_member
"$LINENO" "struct stat" "st_birthtim" "ac_cv_member_struct_stat_st_birthtim" "$ac_includes_default"
16273 if test "x$ac_cv_member_struct_stat_st_birthtim" = xyes
; then :
16275 cat >>confdefs.h
<<_ACEOF
16276 #define HAVE_STRUCT_STAT_ST_BIRTHTIM 1
16281 ac_fn_c_check_member
"$LINENO" "struct stat" "st_birthtimespec" "ac_cv_member_struct_stat_st_birthtimespec" "$ac_includes_default"
16282 if test "x$ac_cv_member_struct_stat_st_birthtimespec" = xyes
; then :
16284 cat >>confdefs.h
<<_ACEOF
16285 #define HAVE_STRUCT_STAT_ST_BIRTHTIMESPEC 1
16290 ac_fn_c_check_member
"$LINENO" "struct stat" "__st_birthtime" "ac_cv_member_struct_stat___st_birthtime" "$ac_includes_default"
16291 if test "x$ac_cv_member_struct_stat___st_birthtime" = xyes
; then :
16293 cat >>confdefs.h
<<_ACEOF
16294 #define HAVE_STRUCT_STAT___ST_BIRTHTIME 1
16299 ac_fn_c_check_member
"$LINENO" "struct stat" "__st_birthtim" "ac_cv_member_struct_stat___st_birthtim" "$ac_includes_default"
16300 if test "x$ac_cv_member_struct_stat___st_birthtim" = xyes
; then :
16302 cat >>confdefs.h
<<_ACEOF
16303 #define HAVE_STRUCT_STAT___ST_BIRTHTIM 1
16310 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
16311 #include <sys/types.h>
16313 #ifdef HAVE_NETINET_IN_H
16314 #include <netinet/in.h>
16317 if test "x$ac_cv_member_struct_sockaddr_in6_sin6_scope_id" = xyes
; then :
16319 cat >>confdefs.h
<<_ACEOF
16320 #define HAVE_STRUCT_SOCKADDR_IN6_SIN6_SCOPE_ID 1
16327 ac_fn_c_check_type
"$LINENO" "struct __res_state" "ac_cv_type_struct___res_state" "#ifdef HAVE_RESOLV_H
16328 #include <resolv.h>
16331 if test "x$ac_cv_type_struct___res_state" = xyes
; then :
16333 cat >>confdefs.h
<<_ACEOF
16334 #define HAVE_STRUCT___RES_STATE 1
16341 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
16342 #include <resolv.h>
16345 if test "x$ac_cv_member_struct___res_state__u__ext_nscount6" = xyes
; then :
16347 cat >>confdefs.h
<<_ACEOF
16348 #define HAVE_STRUCT___RES_STATE__U__EXT_NSCOUNT6 1
16355 ac_fn_c_check_member
"$LINENO" "ns_msg" "_msg_ptr" "ac_cv_member_ns_msg__msg_ptr" "#ifdef HAVE_SYS_TYPES_H
16356 #include <sys/types.h>
16358 #ifdef HAVE_NETINET_IN_H
16359 # include <netinet/in.h>
16361 #ifdef HAVE_ARPA_NAMESER_H
16362 # include <arpa/nameser.h>
16365 if test "x$ac_cv_member_ns_msg__msg_ptr" = xyes
; then :
16367 cat >>confdefs.h
<<_ACEOF
16368 #define HAVE_NS_MSG__MSG_PTR 1
16375 ac_fn_c_check_member
"$LINENO" "struct icmpstat" "icps_inhist" "ac_cv_member_struct_icmpstat_icps_inhist" "#ifdef HAVE_SYS_TYPES_H
16376 #include <sys/types.h>
16378 #ifdef HAVE_NETINET_IP_H
16379 #include <netinet/ip.h>
16381 #ifdef HAVE_NETINET_IP_ICMP_H
16382 #include <netinet/ip_icmp.h>
16384 #ifdef HAVE_NETINET_ICMP_VAR_H
16385 #include <netinet/icmp_var.h>
16388 if test "x$ac_cv_member_struct_icmpstat_icps_inhist" = xyes
; then :
16390 cat >>confdefs.h
<<_ACEOF
16391 #define HAVE_STRUCT_ICMPSTAT_ICPS_INHIST 1
16398 ac_fn_c_check_member
"$LINENO" "struct icmpstat" "icps_outhist" "ac_cv_member_struct_icmpstat_icps_outhist" "#ifdef HAVE_SYS_TYPES_H
16399 #include <sys/types.h>
16401 #ifdef HAVE_ALIAS_H
16404 #ifdef HAVE_SYS_SOCKET_H
16405 #include <sys/socket.h>
16407 #ifdef HAVE_SYS_SOCKETVAR_H
16408 #include <sys/socketvar.h>
16410 #ifdef HAVE_SYS_TIMEOUT_H
16411 #include <sys/timeout.h>
16413 #ifdef HAVE_NETINET_IN_H
16414 #include <netinet/in.h>
16416 #ifdef HAVE_NETINET_IN_SYSTM_H
16417 #include <netinet/in_systm.h>
16419 #ifdef HAVE_NETINET_IP_H
16420 #include <netinet/ip.h>
16422 #ifdef HAVE_NETINET_IP_VAR_H
16423 #include <netinet/ip_var.h>
16425 #ifdef HAVE_NETINET_IP_ICMP_H
16426 #include <netinet/ip_icmp.h>
16428 #ifdef HAVE_NETINET_ICMP_VAR_H
16429 #include <netinet/icmp_var.h>
16432 if test "x$ac_cv_member_struct_icmpstat_icps_outhist" = xyes
; then :
16434 cat >>confdefs.h
<<_ACEOF
16435 #define HAVE_STRUCT_ICMPSTAT_ICPS_OUTHIST 1
16442 ac_fn_c_check_member
"$LINENO" "struct ipstat" "ips_total" "ac_cv_member_struct_ipstat_ips_total" "#ifdef HAVE_SYS_TYPES_H
16443 #include <sys/types.h>
16445 #ifdef HAVE_SYS_SOCKETVAR_H
16446 #include <sys/socketvar.h>
16448 #ifdef HAVE_NETINET_IN_H
16449 #include <netinet/in.h>
16451 #ifdef HAVE_NETINET_IP_VAR_H
16452 #include <netinet/ip_var.h>
16455 if test "x$ac_cv_member_struct_ipstat_ips_total" = xyes
; then :
16457 cat >>confdefs.h
<<_ACEOF
16458 #define HAVE_STRUCT_IPSTAT_IPS_TOTAL 1
16465 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
16466 #include <netinet/ip_var.h>
16469 if test "x$ac_cv_member_struct_ip_stats_ips_total" = xyes
; then :
16471 cat >>confdefs.h
<<_ACEOF
16472 #define HAVE_STRUCT_IP_STATS_IPS_TOTAL 1
16479 ac_fn_c_check_member
"$LINENO" "struct tcpstat" "tcps_connattempt" "ac_cv_member_struct_tcpstat_tcps_connattempt" "#ifdef HAVE_SYS_TYPES_H
16480 #include <sys/types.h>
16482 #ifdef HAVE_SYS_SOCKETVAR_H
16483 #include <sys/socketvar.h>
16485 #ifdef HAVE_NETINET_IN_H
16486 #include <netinet/in.h>
16488 #ifdef HAVE_NETINET_TCP_H
16489 #include <netinet/tcp.h>
16491 #ifdef HAVE_NETINET_TCP_VAR_H
16492 #include <netinet/tcp_var.h>
16495 if test "x$ac_cv_member_struct_tcpstat_tcps_connattempt" = xyes
; then :
16497 cat >>confdefs.h
<<_ACEOF
16498 #define HAVE_STRUCT_TCPSTAT_TCPS_CONNATTEMPT 1
16505 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
16506 #include <netinet/tcp_var.h>
16509 if test "x$ac_cv_member_struct_tcp_stats_tcps_connattempt" = xyes
; then :
16511 cat >>confdefs.h
<<_ACEOF
16512 #define HAVE_STRUCT_TCP_STATS_TCPS_CONNATTEMPT 1
16519 ac_fn_c_check_member
"$LINENO" "struct udpstat" "udps_ipackets" "ac_cv_member_struct_udpstat_udps_ipackets" "#ifdef HAVE_SYS_TYPES_H
16520 #include <sys/types.h>
16522 #ifdef HAVE_NETINET_IN_H
16523 #include <netinet/in.h>
16525 #ifdef HAVE_NETINET_IP_VAR_H
16526 #include <netinet/ip_var.h>
16528 #ifdef HAVE_NETINET_UDP_H
16529 #include <netinet/udp.h>
16531 #ifdef HAVE_NETINET_UDP_VAR_H
16532 #include <netinet/udp_var.h>
16535 if test "x$ac_cv_member_struct_udpstat_udps_ipackets" = xyes
; then :
16537 cat >>confdefs.h
<<_ACEOF
16538 #define HAVE_STRUCT_UDPSTAT_UDPS_IPACKETS 1
16545 ac_fn_c_check_member
"$LINENO" "struct ifreq" "ifr_hwaddr" "ac_cv_member_struct_ifreq_ifr_hwaddr" "#ifdef HAVE_SYS_TYPES_H
16546 #include <sys/types.h>
16548 #ifdef HAVE_NET_IF_H
16549 # include <net/if.h>
16552 if test "x$ac_cv_member_struct_ifreq_ifr_hwaddr" = xyes
; then :
16554 cat >>confdefs.h
<<_ACEOF
16555 #define HAVE_STRUCT_IFREQ_IFR_HWADDR 1
16562 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for timezone variable" >&5
16563 $as_echo_n "checking for timezone variable... " >&6; }
16564 if ${ac_cv_have_timezone+:} false
; then :
16565 $as_echo_n "(cached) " >&6
16567 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
16568 /* end confdefs.h. */
16578 if ac_fn_c_try_link
"$LINENO"; then :
16579 ac_cv_have_timezone
="yes"
16581 ac_cv_have_timezone
="no"
16583 rm -f core conftest.err conftest.
$ac_objext \
16584 conftest
$ac_exeext conftest.
$ac_ext
16586 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_timezone" >&5
16587 $as_echo "$ac_cv_have_timezone" >&6; }
16588 if test "$ac_cv_have_timezone" = "yes"
16591 $as_echo "#define HAVE_TIMEZONE 1" >>confdefs.h
16594 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for daylight variable" >&5
16595 $as_echo_n "checking for daylight variable... " >&6; }
16596 if ${ac_cv_have_daylight+:} false
; then :
16597 $as_echo_n "(cached) " >&6
16599 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
16600 /* end confdefs.h. */
16610 if ac_fn_c_try_link
"$LINENO"; then :
16611 ac_cv_have_daylight
="yes"
16613 ac_cv_have_daylight
="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_daylight" >&5
16619 $as_echo "$ac_cv_have_daylight" >&6; }
16620 if test "$ac_cv_have_daylight" = "yes"
16623 $as_echo "#define HAVE_DAYLIGHT 1" >>confdefs.h
16627 ac_save_LIBS
="$LIBS"
16629 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isfinite" >&5
16630 $as_echo_n "checking for isfinite... " >&6; }
16631 if ${ac_cv_have_isfinite+:} false
; then :
16632 $as_echo_n "(cached) " >&6
16634 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
16635 /* end confdefs.h. */
16636 #define _GNU_SOURCE
16641 float f = 0.0; return isfinite(f)
16646 if ac_fn_c_try_link
"$LINENO"; then :
16647 ac_cv_have_isfinite
="yes"
16649 ac_cv_have_isfinite
="no"
16651 rm -f core conftest.err conftest.
$ac_objext \
16652 conftest
$ac_exeext conftest.
$ac_ext
16654 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_isfinite" >&5
16655 $as_echo "$ac_cv_have_isfinite" >&6; }
16656 if test "$ac_cv_have_isfinite" = "yes"
16659 $as_echo "#define HAVE_ISFINITE 1" >>confdefs.h
16663 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinf" >&5
16664 $as_echo_n "checking for isinf... " >&6; }
16665 if ${ac_cv_have_isinf+:} false
; then :
16666 $as_echo_n "(cached) " >&6
16668 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
16669 /* end confdefs.h. */
16674 float f = 0.0; return isinf(f)
16679 if ac_fn_c_try_link
"$LINENO"; then :
16680 ac_cv_have_isinf
="yes"
16682 ac_cv_have_isinf
="no"
16684 rm -f core conftest.err conftest.
$ac_objext \
16685 conftest
$ac_exeext conftest.
$ac_ext
16687 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_isinf" >&5
16688 $as_echo "$ac_cv_have_isinf" >&6; }
16689 if test "$ac_cv_have_isinf" = "yes"
16692 $as_echo "#define HAVE_ISINF 1" >>confdefs.h
16696 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnan" >&5
16697 $as_echo_n "checking for isnan... " >&6; }
16698 if ${ac_cv_have_isnan+:} false
; then :
16699 $as_echo_n "(cached) " >&6
16701 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
16702 /* end confdefs.h. */
16707 float f = 0.0; return isnan(f)
16712 if ac_fn_c_try_link
"$LINENO"; then :
16713 ac_cv_have_isnan
="yes"
16715 ac_cv_have_isnan
="no"
16717 rm -f core conftest.err conftest.
$ac_objext \
16718 conftest
$ac_exeext conftest.
$ac_ext
16720 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_isnan" >&5
16721 $as_echo "$ac_cv_have_isnan" >&6; }
16722 if test "$ac_cv_have_isnan" = "yes"
16725 $as_echo "#define HAVE_ISNAN 1" >>confdefs.h
16754 as_ac_var
=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
16755 ac_fn_c_check_func
"$LINENO" "$ac_func" "$as_ac_var"
16756 if eval test \"x\$
"$as_ac_var"\" = x
"yes"; then :
16757 cat >>confdefs.h
<<_ACEOF
16758 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
16764 LIBS
="$ac_save_LIBS"
16766 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for __builtin_clz" >&5
16767 $as_echo_n "checking for __builtin_clz... " >&6; }
16768 if ${ac_cv_have___builtin_clz+:} false
; then :
16769 $as_echo_n "(cached) " >&6
16771 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
16772 /* end confdefs.h. */
16777 return __builtin_clz(1)
16782 if ac_fn_c_try_link
"$LINENO"; then :
16783 ac_cv_have___builtin_clz
="yes"
16785 ac_cv_have___builtin_clz
="no"
16787 rm -f core conftest.err conftest.
$ac_objext \
16788 conftest
$ac_exeext conftest.
$ac_ext
16790 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have___builtin_clz" >&5
16791 $as_echo "$ac_cv_have___builtin_clz" >&6; }
16792 if test "$ac_cv_have___builtin_clz" = "yes"
16795 $as_echo "#define HAVE___BUILTIN_CLZ 1" >>confdefs.h
16801 *i
[3456789]86*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __i386__" >&5
16802 $as_echo_n "checking whether we need to define __i386__... " >&6; }
16803 if ${ac_cv_cpp_def___i386__+:} false
; then :
16804 $as_echo_n "(cached) " >&6
16806 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
16807 /* end confdefs.h. */
16812 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
16813 $EGREP "yes" >/dev
/null
2>&1; then :
16814 ac_cv_cpp_def___i386__
=yes
16816 ac_cv_cpp_def___i386__
=no
16821 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___i386__" >&5
16822 $as_echo "$ac_cv_cpp_def___i386__" >&6; }
16823 if test "x$ac_cv_cpp_def___i386__" = xyes
; then :
16824 CFLAGS
="$CFLAGS -D__i386__"
16825 LINTFLAGS
="$LINTFLAGS -D__i386__"
16827 *x86_64
*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __x86_64__" >&5
16828 $as_echo_n "checking whether we need to define __x86_64__... " >&6; }
16829 if ${ac_cv_cpp_def___x86_64__+:} false
; then :
16830 $as_echo_n "(cached) " >&6
16832 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
16833 /* end confdefs.h. */
16838 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
16839 $EGREP "yes" >/dev
/null
2>&1; then :
16840 ac_cv_cpp_def___x86_64__
=yes
16842 ac_cv_cpp_def___x86_64__
=no
16847 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___x86_64__" >&5
16848 $as_echo "$ac_cv_cpp_def___x86_64__" >&6; }
16849 if test "x$ac_cv_cpp_def___x86_64__" = xyes
; then :
16850 CFLAGS
="$CFLAGS -D__x86_64__"
16851 LINTFLAGS
="$LINTFLAGS -D__x86_64__"
16853 *sparc64
*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __sparc64__" >&5
16854 $as_echo_n "checking whether we need to define __sparc64__... " >&6; }
16855 if ${ac_cv_cpp_def___sparc64__+:} false
; then :
16856 $as_echo_n "(cached) " >&6
16858 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
16859 /* end confdefs.h. */
16860 #ifndef __sparc64__
16864 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
16865 $EGREP "yes" >/dev
/null
2>&1; then :
16866 ac_cv_cpp_def___sparc64__
=yes
16868 ac_cv_cpp_def___sparc64__
=no
16873 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___sparc64__" >&5
16874 $as_echo "$ac_cv_cpp_def___sparc64__" >&6; }
16875 if test "x$ac_cv_cpp_def___sparc64__" = xyes
; then :
16876 CFLAGS
="$CFLAGS -D__sparc64__"
16877 LINTFLAGS
="$LINTFLAGS -D__sparc64__"
16879 *sparc
*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __sparc__" >&5
16880 $as_echo_n "checking whether we need to define __sparc__... " >&6; }
16881 if ${ac_cv_cpp_def___sparc__+:} false
; then :
16882 $as_echo_n "(cached) " >&6
16884 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
16885 /* end confdefs.h. */
16890 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
16891 $EGREP "yes" >/dev
/null
2>&1; then :
16892 ac_cv_cpp_def___sparc__
=yes
16894 ac_cv_cpp_def___sparc__
=no
16899 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___sparc__" >&5
16900 $as_echo "$ac_cv_cpp_def___sparc__" >&6; }
16901 if test "x$ac_cv_cpp_def___sparc__" = xyes
; then :
16902 CFLAGS
="$CFLAGS -D__sparc__"
16903 LINTFLAGS
="$LINTFLAGS -D__sparc__"
16905 *powerpc64
*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __powerpc64__" >&5
16906 $as_echo_n "checking whether we need to define __powerpc64__... " >&6; }
16907 if ${ac_cv_cpp_def___powerpc64__+:} false
; then :
16908 $as_echo_n "(cached) " >&6
16910 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
16911 /* end confdefs.h. */
16912 #ifndef __powerpc64__
16916 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
16917 $EGREP "yes" >/dev
/null
2>&1; then :
16918 ac_cv_cpp_def___powerpc64__
=yes
16920 ac_cv_cpp_def___powerpc64__
=no
16925 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___powerpc64__" >&5
16926 $as_echo "$ac_cv_cpp_def___powerpc64__" >&6; }
16927 if test "x$ac_cv_cpp_def___powerpc64__" = xyes
; then :
16928 CFLAGS
="$CFLAGS -D__powerpc64__"
16929 LINTFLAGS
="$LINTFLAGS -D__powerpc64__"
16931 *powerpc
*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __powerpc__" >&5
16932 $as_echo_n "checking whether we need to define __powerpc__... " >&6; }
16933 if ${ac_cv_cpp_def___powerpc__+:} false
; then :
16934 $as_echo_n "(cached) " >&6
16936 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
16937 /* end confdefs.h. */
16938 #ifndef __powerpc__
16942 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
16943 $EGREP "yes" >/dev
/null
2>&1; then :
16944 ac_cv_cpp_def___powerpc__
=yes
16946 ac_cv_cpp_def___powerpc__
=no
16951 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___powerpc__" >&5
16952 $as_echo "$ac_cv_cpp_def___powerpc__" >&6; }
16953 if test "x$ac_cv_cpp_def___powerpc__" = xyes
; then :
16954 CFLAGS
="$CFLAGS -D__powerpc__"
16955 LINTFLAGS
="$LINTFLAGS -D__powerpc__"
16957 *aarch64
*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __aarch64__" >&5
16958 $as_echo_n "checking whether we need to define __aarch64__... " >&6; }
16959 if ${ac_cv_cpp_def___aarch64__+:} false
; then :
16960 $as_echo_n "(cached) " >&6
16962 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
16963 /* end confdefs.h. */
16964 #ifndef __aarch64__
16968 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
16969 $EGREP "yes" >/dev
/null
2>&1; then :
16970 ac_cv_cpp_def___aarch64__
=yes
16972 ac_cv_cpp_def___aarch64__
=no
16977 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___aarch64__" >&5
16978 $as_echo "$ac_cv_cpp_def___aarch64__" >&6; }
16979 if test "x$ac_cv_cpp_def___aarch64__" = xyes
; then :
16980 CFLAGS
="$CFLAGS -D__aarch64__"
16981 LINTFLAGS
="$LINTFLAGS -D__aarch64__"
16983 *arm
*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __arm__" >&5
16984 $as_echo_n "checking whether we need to define __arm__... " >&6; }
16985 if ${ac_cv_cpp_def___arm__+:} false
; then :
16986 $as_echo_n "(cached) " >&6
16988 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
16989 /* end confdefs.h. */
16994 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
16995 $EGREP "yes" >/dev
/null
2>&1; then :
16996 ac_cv_cpp_def___arm__
=yes
16998 ac_cv_cpp_def___arm__
=no
17003 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___arm__" >&5
17004 $as_echo "$ac_cv_cpp_def___arm__" >&6; }
17005 if test "x$ac_cv_cpp_def___arm__" = xyes
; then :
17006 CFLAGS
="$CFLAGS -D__arm__"
17007 LINTFLAGS
="$LINTFLAGS -D__arm__"
17011 case $host_vendor in
17012 *sun
*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __sun__" >&5
17013 $as_echo_n "checking whether we need to define __sun__... " >&6; }
17014 if ${ac_cv_cpp_def___sun__+:} false
; then :
17015 $as_echo_n "(cached) " >&6
17017 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
17018 /* end confdefs.h. */
17023 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
17024 $EGREP "yes" >/dev
/null
2>&1; then :
17025 ac_cv_cpp_def___sun__
=yes
17027 ac_cv_cpp_def___sun__
=no
17032 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___sun__" >&5
17033 $as_echo "$ac_cv_cpp_def___sun__" >&6; }
17034 if test "x$ac_cv_cpp_def___sun__" = xyes
; then :
17035 CFLAGS
="$CFLAGS -D__sun__"
17036 LINTFLAGS
="$LINTFLAGS -D__sun__"
17044 ac_config_commands
="$ac_config_commands include/stamp-h"
17046 $as_echo_n "creating Makefile rules..." >&6
17048 ALL_VARS_RULES
="OPENGL_LIBS = $OPENGL_LIBS
17049 SOCKET_LIBS = $SOCKET_LIBS
17050 COREFOUNDATION_LIBS = $COREFOUNDATION_LIBS
17051 IOKIT_LIBS = $IOKIT_LIBS
17052 FORCEFEEDBACK_LIBS = $FORCEFEEDBACK_LIBS
17053 APPLICATIONSERVICES_LIBS = $APPLICATIONSERVICES_LIBS
17054 CORESERVICES_LIBS = $CORESERVICES_LIBS
17055 APPKIT_LIBS = $APPKIT_LIBS
17056 DISKARBITRATION_LIBS = $DISKARBITRATION_LIBS
17057 SECURITY_LIBS = $SECURITY_LIBS
17058 COREAUDIO_LIBS = $COREAUDIO_LIBS
17059 OPENAL_LIBS = $OPENAL_LIBS
17060 OPENCL_LIBS = $OPENCL_LIBS
17061 QUICKTIME_LIBS = $QUICKTIME_LIBS
17062 CARBON_LIBS = $CARBON_LIBS
17063 PTHREAD_LIBS = $PTHREAD_LIBS
17064 X_CFLAGS = $X_CFLAGS
17065 X_PRE_LIBS = $X_PRE_LIBS
17067 X_EXTRA_LIBS = $X_EXTRA_LIBS
17068 XML2_CFLAGS = $XML2_CFLAGS
17069 XML2_LIBS = $XML2_LIBS
17070 XSLT_CFLAGS = $XSLT_CFLAGS
17071 XSLT_LIBS = $XSLT_LIBS
17072 DBUS_CFLAGS = $DBUS_CFLAGS
17073 DBUS_LIBS = $DBUS_LIBS
17074 HAL_CFLAGS = $HAL_CFLAGS
17075 HAL_LIBS = $HAL_LIBS
17076 GNUTLS_CFLAGS = $GNUTLS_CFLAGS
17077 GNUTLS_LIBS = $GNUTLS_LIBS
17078 SANE_CFLAGS = $SANE_CFLAGS
17079 SANE_LIBS = $SANE_LIBS
17080 GPHOTO2_CFLAGS = $GPHOTO2_CFLAGS
17081 GPHOTO2_LIBS = $GPHOTO2_LIBS
17082 GPHOTO2_PORT_CFLAGS = $GPHOTO2_PORT_CFLAGS
17083 GPHOTO2_PORT_LIBS = $GPHOTO2_PORT_LIBS
17084 RESOLV_LIBS = $RESOLV_LIBS
17085 LCMS2_CFLAGS = $LCMS2_CFLAGS
17086 LCMS2_LIBS = $LCMS2_LIBS
17087 FREETYPE_CFLAGS = $FREETYPE_CFLAGS
17088 FREETYPE_LIBS = $FREETYPE_LIBS
17090 GETTEXTPO_LIBS = $GETTEXTPO_LIBS
17091 GSTREAMER_CFLAGS = $GSTREAMER_CFLAGS
17092 GSTREAMER_LIBS = $GSTREAMER_LIBS
17093 ALSA_LIBS = $ALSA_LIBS
17094 OSS4_CFLAGS = $OSS4_CFLAGS
17095 CAPI20_CFLAGS = $CAPI20_CFLAGS
17096 CAPI20_LIBS = $CAPI20_LIBS
17097 CUPS_CFLAGS = $CUPS_CFLAGS
17098 FONTCONFIG_CFLAGS = $FONTCONFIG_CFLAGS
17099 FONTCONFIG_LIBS = $FONTCONFIG_LIBS
17100 JPEG_CFLAGS = $JPEG_CFLAGS
17101 JPEG_LIBS = $JPEG_LIBS
17102 PNG_CFLAGS = $PNG_CFLAGS
17103 PNG_LIBS = $PNG_LIBS
17104 TIFF_CFLAGS = $TIFF_CFLAGS
17105 TIFF_LIBS = $TIFF_LIBS
17106 MPG123_CFLAGS = $MPG123_CFLAGS
17107 MPG123_LIBS = $MPG123_LIBS
17108 KSTAT_LIBS = $KSTAT_LIBS
17109 PROCSTAT_LIBS = $PROCSTAT_LIBS
17111 POLL_LIBS = $POLL_LIBS
17113 LDAP_LIBS = $LDAP_LIBS
17118 wine_fn_append_rule
"
17119 # Rules automatically generated by configure
17121 CLEAN_FILES = *.o *.a *.so *.res *.fake *.ok *.tab.[ch] *.yy.c
17126 Makefile: $srcdir/Makefile.in $srcdir/Make.vars.in config.status \$(MAKEDEP)
17127 @./config.status Make.tmp Makefile"
17129 test "$srcdir" = .
&& wine_fn_append_rule
"all: .gitignore
17130 .gitignore: config.status
17131 @./config.status .gitignore"
17133 test -n "$CROSSTARGET" || wine_fn_append_rule
"crosstest:
17134 @echo \"crosstest is not supported (mingw not installed?)\" && false"
17136 if test "x$enable_fonts" != xno
; then
17137 ac_config_links
="$ac_config_links fonts/marlett.ttf:fonts/marlett.ttf"
17138 ac_config_links
="$ac_config_links fonts/symbol.ttf:fonts/symbol.ttf"
17139 ac_config_links
="$ac_config_links fonts/tahoma.ttf:fonts/tahoma.ttf"
17140 ac_config_links
="$ac_config_links fonts/tahomabd.ttf:fonts/tahomabd.ttf"
17141 ac_config_links
="$ac_config_links fonts/wingding.ttf:fonts/wingding.ttf"
17142 test "$srcdir" = "." || wine_fn_config_symlink fonts
/marlett.ttf fonts
/symbol.ttf fonts
/tahoma.ttf fonts
/tahomabd.ttf fonts
/wingding.ttf
17144 ac_config_links
="$ac_config_links loader/l_intl.nls:loader/l_intl.nls"
17145 test "$srcdir" = "." || wine_fn_config_symlink loader
/l_intl.nls
17146 ac_config_links
="$ac_config_links po/LINGUAS:po/LINGUAS"
17147 test "$srcdir" = "." || wine_fn_config_symlink po
/LINGUAS
17148 ac_config_links
="$ac_config_links wine:tools/winewrapper"
17149 wine_fn_config_symlink wine
17150 if test "x$enable_win64" != xno
; then
17151 ac_config_links
="$ac_config_links wine64:tools/winewrapper"
17152 wine_fn_config_symlink wine64
17155 wine_fn_config_dll acledit enable_acledit
17156 wine_fn_config_dll aclui enable_aclui implib
17157 wine_fn_config_dll activeds enable_activeds implib
17158 wine_fn_config_dll actxprxy enable_actxprxy clean
17159 wine_fn_config_lib adsiid
17160 wine_fn_config_dll advapi32 enable_advapi32 clean
,implib
17161 wine_fn_config_test dlls
/advapi32
/tests advapi32_test
17162 wine_fn_config_dll advpack enable_advpack implib
17163 wine_fn_config_test dlls
/advpack
/tests advpack_test
17164 wine_fn_config_dll amstream enable_amstream clean
17165 wine_fn_config_test dlls
/amstream
/tests amstream_test
17166 wine_fn_config_dll api-ms-win-core-com-l1-1-0 enable_api_ms_win_core_com_l1_1_0
17167 wine_fn_config_dll api-ms-win-core-console-l1-1-0 enable_api_ms_win_core_console_l1_1_0
17168 wine_fn_config_dll api-ms-win-core-datetime-l1-1-0 enable_api_ms_win_core_datetime_l1_1_0
17169 wine_fn_config_dll api-ms-win-core-datetime-l1-1-1 enable_api_ms_win_core_datetime_l1_1_1
17170 wine_fn_config_dll api-ms-win-core-debug-l1-1-0 enable_api_ms_win_core_debug_l1_1_0
17171 wine_fn_config_dll api-ms-win-core-debug-l1-1-1 enable_api_ms_win_core_debug_l1_1_1
17172 wine_fn_config_dll api-ms-win-core-errorhandling-l1-1-0 enable_api_ms_win_core_errorhandling_l1_1_0
17173 wine_fn_config_dll api-ms-win-core-errorhandling-l1-1-1 enable_api_ms_win_core_errorhandling_l1_1_1
17174 wine_fn_config_dll api-ms-win-core-errorhandling-l1-1-2 enable_api_ms_win_core_errorhandling_l1_1_2
17175 wine_fn_config_dll api-ms-win-core-fibers-l1-1-0 enable_api_ms_win_core_fibers_l1_1_0
17176 wine_fn_config_dll api-ms-win-core-fibers-l1-1-1 enable_api_ms_win_core_fibers_l1_1_1
17177 wine_fn_config_dll api-ms-win-core-file-l1-1-0 enable_api_ms_win_core_file_l1_1_0
17178 wine_fn_config_dll api-ms-win-core-file-l1-2-0 enable_api_ms_win_core_file_l1_2_0
17179 wine_fn_config_dll api-ms-win-core-file-l2-1-0 enable_api_ms_win_core_file_l2_1_0
17180 wine_fn_config_dll api-ms-win-core-file-l2-1-1 enable_api_ms_win_core_file_l2_1_1
17181 wine_fn_config_dll api-ms-win-core-handle-l1-1-0 enable_api_ms_win_core_handle_l1_1_0
17182 wine_fn_config_dll api-ms-win-core-heap-l1-1-0 enable_api_ms_win_core_heap_l1_1_0
17183 wine_fn_config_dll api-ms-win-core-heap-l1-2-0 enable_api_ms_win_core_heap_l1_2_0
17184 wine_fn_config_dll api-ms-win-core-heap-obsolete-l1-1-0 enable_api_ms_win_core_heap_obsolete_l1_1_0
17185 wine_fn_config_dll api-ms-win-core-interlocked-l1-1-0 enable_api_ms_win_core_interlocked_l1_1_0
17186 wine_fn_config_dll api-ms-win-core-interlocked-l1-2-0 enable_api_ms_win_core_interlocked_l1_2_0
17187 wine_fn_config_dll api-ms-win-core-io-l1-1-1 enable_api_ms_win_core_io_l1_1_1
17188 wine_fn_config_dll api-ms-win-core-kernel32-legacy-l1-1-0 enable_api_ms_win_core_kernel32_legacy_l1_1_0
17189 wine_fn_config_dll api-ms-win-core-libraryloader-l1-1-0 enable_api_ms_win_core_libraryloader_l1_1_0
17190 wine_fn_config_dll api-ms-win-core-libraryloader-l1-1-1 enable_api_ms_win_core_libraryloader_l1_1_1
17191 wine_fn_config_dll api-ms-win-core-localization-l1-2-0 enable_api_ms_win_core_localization_l1_2_0
17192 wine_fn_config_dll api-ms-win-core-localization-l1-2-1 enable_api_ms_win_core_localization_l1_2_1
17193 wine_fn_config_dll api-ms-win-core-localization-obsolete-l1-1-0 enable_api_ms_win_core_localization_obsolete_l1_1_0
17194 wine_fn_config_dll api-ms-win-core-localregistry-l1-1-0 enable_api_ms_win_core_localregistry_l1_1_0
17195 wine_fn_config_dll api-ms-win-core-memory-l1-1-0 enable_api_ms_win_core_memory_l1_1_0
17196 wine_fn_config_dll api-ms-win-core-memory-l1-1-1 enable_api_ms_win_core_memory_l1_1_1
17197 wine_fn_config_dll api-ms-win-core-misc-l1-1-0 enable_api_ms_win_core_misc_l1_1_0
17198 wine_fn_config_dll api-ms-win-core-namedpipe-l1-1-0 enable_api_ms_win_core_namedpipe_l1_1_0
17199 wine_fn_config_dll api-ms-win-core-namedpipe-l1-2-0 enable_api_ms_win_core_namedpipe_l1_2_0
17200 wine_fn_config_dll api-ms-win-core-processenvironment-l1-1-0 enable_api_ms_win_core_processenvironment_l1_1_0
17201 wine_fn_config_dll api-ms-win-core-processenvironment-l1-2-0 enable_api_ms_win_core_processenvironment_l1_2_0
17202 wine_fn_config_dll api-ms-win-core-processthreads-l1-1-0 enable_api_ms_win_core_processthreads_l1_1_0
17203 wine_fn_config_dll api-ms-win-core-processthreads-l1-1-1 enable_api_ms_win_core_processthreads_l1_1_1
17204 wine_fn_config_dll api-ms-win-core-processthreads-l1-1-2 enable_api_ms_win_core_processthreads_l1_1_2
17205 wine_fn_config_dll api-ms-win-core-profile-l1-1-0 enable_api_ms_win_core_profile_l1_1_0
17206 wine_fn_config_dll api-ms-win-core-psapi-l1-1-0 enable_api_ms_win_core_psapi_l1_1_0
17207 wine_fn_config_dll api-ms-win-core-registry-l1-1-0 enable_api_ms_win_core_registry_l1_1_0
17208 wine_fn_config_dll api-ms-win-core-rtlsupport-l1-1-0 enable_api_ms_win_core_rtlsupport_l1_1_0
17209 wine_fn_config_dll api-ms-win-core-rtlsupport-l1-2-0 enable_api_ms_win_core_rtlsupport_l1_2_0
17210 wine_fn_config_dll api-ms-win-core-shlwapi-legacy-l1-1-0 enable_api_ms_win_core_shlwapi_legacy_l1_1_0
17211 wine_fn_config_dll api-ms-win-core-string-l1-1-0 enable_api_ms_win_core_string_l1_1_0
17212 wine_fn_config_dll api-ms-win-core-synch-l1-1-0 enable_api_ms_win_core_synch_l1_1_0
17213 wine_fn_config_dll api-ms-win-core-synch-l1-2-0 enable_api_ms_win_core_synch_l1_2_0
17214 wine_fn_config_dll api-ms-win-core-sysinfo-l1-1-0 enable_api_ms_win_core_sysinfo_l1_1_0
17215 wine_fn_config_dll api-ms-win-core-sysinfo-l1-2-0 enable_api_ms_win_core_sysinfo_l1_2_0
17216 wine_fn_config_dll api-ms-win-core-sysinfo-l1-2-1 enable_api_ms_win_core_sysinfo_l1_2_1
17217 wine_fn_config_dll api-ms-win-core-threadpool-legacy-l1-1-0 enable_api_ms_win_core_threadpool_legacy_l1_1_0
17218 wine_fn_config_dll api-ms-win-core-timezone-l1-1-0 enable_api_ms_win_core_timezone_l1_1_0
17219 wine_fn_config_dll api-ms-win-core-url-l1-1-0 enable_api_ms_win_core_url_l1_1_0
17220 wine_fn_config_dll api-ms-win-core-util-l1-1-0 enable_api_ms_win_core_util_l1_1_0
17221 wine_fn_config_dll api-ms-win-core-winrt-error-l1-1-0 enable_api_ms_win_core_winrt_error_l1_1_0
17222 wine_fn_config_dll api-ms-win-core-winrt-error-l1-1-1 enable_api_ms_win_core_winrt_error_l1_1_1
17223 wine_fn_config_dll api-ms-win-core-winrt-l1-1-0 enable_api_ms_win_core_winrt_l1_1_0
17224 wine_fn_config_dll api-ms-win-core-winrt-string-l1-1-0 enable_api_ms_win_core_winrt_string_l1_1_0
17225 wine_fn_config_dll api-ms-win-core-xstate-l2-1-0 enable_api_ms_win_core_xstate_l2_1_0
17226 wine_fn_config_dll api-ms-win-crt-conio-l1-1-0 enable_api_ms_win_crt_conio_l1_1_0
17227 wine_fn_config_dll api-ms-win-crt-convert-l1-1-0 enable_api_ms_win_crt_convert_l1_1_0
17228 wine_fn_config_dll api-ms-win-crt-environment-l1-1-0 enable_api_ms_win_crt_environment_l1_1_0
17229 wine_fn_config_dll api-ms-win-crt-filesystem-l1-1-0 enable_api_ms_win_crt_filesystem_l1_1_0
17230 wine_fn_config_dll api-ms-win-crt-heap-l1-1-0 enable_api_ms_win_crt_heap_l1_1_0
17231 wine_fn_config_dll api-ms-win-crt-locale-l1-1-0 enable_api_ms_win_crt_locale_l1_1_0
17232 wine_fn_config_dll api-ms-win-crt-math-l1-1-0 enable_api_ms_win_crt_math_l1_1_0
17233 wine_fn_config_dll api-ms-win-crt-multibyte-l1-1-0 enable_api_ms_win_crt_multibyte_l1_1_0
17234 wine_fn_config_dll api-ms-win-crt-private-l1-1-0 enable_api_ms_win_crt_private_l1_1_0
17235 wine_fn_config_dll api-ms-win-crt-process-l1-1-0 enable_api_ms_win_crt_process_l1_1_0
17236 wine_fn_config_dll api-ms-win-crt-runtime-l1-1-0 enable_api_ms_win_crt_runtime_l1_1_0
17237 wine_fn_config_dll api-ms-win-crt-stdio-l1-1-0 enable_api_ms_win_crt_stdio_l1_1_0
17238 wine_fn_config_dll api-ms-win-crt-string-l1-1-0 enable_api_ms_win_crt_string_l1_1_0
17239 wine_fn_config_dll api-ms-win-crt-time-l1-1-0 enable_api_ms_win_crt_time_l1_1_0
17240 wine_fn_config_dll api-ms-win-crt-utility-l1-1-0 enable_api_ms_win_crt_utility_l1_1_0
17241 wine_fn_config_dll api-ms-win-downlevel-advapi32-l1-1-0 enable_api_ms_win_downlevel_advapi32_l1_1_0
17242 wine_fn_config_dll api-ms-win-downlevel-advapi32-l2-1-0 enable_api_ms_win_downlevel_advapi32_l2_1_0
17243 wine_fn_config_dll api-ms-win-downlevel-normaliz-l1-1-0 enable_api_ms_win_downlevel_normaliz_l1_1_0
17244 wine_fn_config_dll api-ms-win-downlevel-ole32-l1-1-0 enable_api_ms_win_downlevel_ole32_l1_1_0
17245 wine_fn_config_dll api-ms-win-downlevel-shell32-l1-1-0 enable_api_ms_win_downlevel_shell32_l1_1_0
17246 wine_fn_config_dll api-ms-win-downlevel-shlwapi-l1-1-0 enable_api_ms_win_downlevel_shlwapi_l1_1_0
17247 wine_fn_config_dll api-ms-win-downlevel-shlwapi-l2-1-0 enable_api_ms_win_downlevel_shlwapi_l2_1_0
17248 wine_fn_config_dll api-ms-win-downlevel-user32-l1-1-0 enable_api_ms_win_downlevel_user32_l1_1_0
17249 wine_fn_config_dll api-ms-win-downlevel-version-l1-1-0 enable_api_ms_win_downlevel_version_l1_1_0
17250 wine_fn_config_dll api-ms-win-eventing-provider-l1-1-0 enable_api_ms_win_eventing_provider_l1_1_0
17251 wine_fn_config_dll api-ms-win-ntuser-dc-access-l1-1-0 enable_api_ms_win_ntuser_dc_access_l1_1_0
17252 wine_fn_config_dll api-ms-win-security-base-l1-1-0 enable_api_ms_win_security_base_l1_1_0
17253 wine_fn_config_dll api-ms-win-security-base-l1-2-0 enable_api_ms_win_security_base_l1_2_0
17254 wine_fn_config_dll api-ms-win-security-sddl-l1-1-0 enable_api_ms_win_security_sddl_l1_1_0
17255 wine_fn_config_dll api-ms-win-service-core-l1-1-1 enable_api_ms_win_service_core_l1_1_1
17256 wine_fn_config_dll api-ms-win-service-management-l1-1-0 enable_api_ms_win_service_management_l1_1_0
17257 wine_fn_config_dll api-ms-win-service-winsvc-l1-2-0 enable_api_ms_win_service_winsvc_l1_2_0
17258 wine_fn_config_dll apphelp enable_apphelp
17259 wine_fn_config_test dlls
/apphelp
/tests apphelp_test
17260 wine_fn_config_dll appwiz.cpl enable_appwiz_cpl po
17261 wine_fn_config_dll atl enable_atl clean
,implib
17262 wine_fn_config_test dlls
/atl
/tests atl_test
17263 wine_fn_config_dll atl100 enable_atl100 clean
,implib
17264 wine_fn_config_test dlls
/atl100
/tests atl100_test
17265 wine_fn_config_dll atl110 enable_atl110 clean
17266 wine_fn_config_dll atl80 enable_atl80 clean
,implib
17267 wine_fn_config_test dlls
/atl80
/tests atl80_test
17268 wine_fn_config_dll atl90 enable_atl90 clean
17269 wine_fn_config_dll authz enable_authz
17270 wine_fn_config_dll avicap32 enable_avicap32 implib
17271 wine_fn_config_dll avifil32 enable_avifil32 clean
,implib
,po
17272 wine_fn_config_test dlls
/avifil32
/tests avifil32_test
17273 wine_fn_config_dll avifile.dll16 enable_win16
17274 wine_fn_config_dll avrt enable_avrt implib
17275 wine_fn_config_dll bcrypt enable_bcrypt
17276 wine_fn_config_test dlls
/bcrypt
/tests bcrypt_test
17277 wine_fn_config_dll browseui enable_browseui clean
,po
17278 wine_fn_config_test dlls
/browseui
/tests browseui_test
17279 wine_fn_config_dll cabinet enable_cabinet implib
17280 wine_fn_config_test dlls
/cabinet
/tests cabinet_test
17281 wine_fn_config_dll capi2032 enable_capi2032 implib
17282 wine_fn_config_dll cards enable_cards implib
17283 wine_fn_config_dll cfgmgr32 enable_cfgmgr32 implib
17284 wine_fn_config_dll clusapi enable_clusapi implib
17285 wine_fn_config_dll combase enable_combase
17286 wine_fn_config_test dlls
/combase
/tests combase_test
17287 wine_fn_config_dll comcat enable_comcat
17288 wine_fn_config_test dlls
/comcat
/tests comcat_test
17289 wine_fn_config_dll comctl32 enable_comctl32 implib
,po
17290 wine_fn_config_test dlls
/comctl32
/tests comctl32_test
17291 wine_fn_config_dll comdlg32 enable_comdlg32 clean
,implib
,po
17292 wine_fn_config_test dlls
/comdlg32
/tests comdlg32_test
17293 wine_fn_config_dll
comm.drv16 enable_win16
17294 wine_fn_config_dll commdlg.dll16 enable_win16
17295 wine_fn_config_dll compobj.dll16 enable_win16
17296 wine_fn_config_dll compstui enable_compstui implib
17297 wine_fn_config_dll comsvcs enable_comsvcs implib
17298 wine_fn_config_dll connect enable_connect
17299 wine_fn_config_dll credui enable_credui implib
,po
17300 wine_fn_config_test dlls
/credui
/tests credui_test
17301 wine_fn_config_dll crtdll enable_crtdll implib
17302 wine_fn_config_dll crypt32 enable_crypt32 implib
,po
17303 wine_fn_config_test dlls
/crypt32
/tests crypt32_test
17304 wine_fn_config_dll cryptdlg enable_cryptdlg po
17305 wine_fn_config_dll cryptdll enable_cryptdll implib
17306 wine_fn_config_dll cryptext enable_cryptext
17307 wine_fn_config_dll cryptnet enable_cryptnet implib
17308 wine_fn_config_test dlls
/cryptnet
/tests cryptnet_test
17309 wine_fn_config_dll cryptui enable_cryptui implib
,po
17310 wine_fn_config_test dlls
/cryptui
/tests cryptui_test
17311 wine_fn_config_dll ctapi32 enable_ctapi32
17312 wine_fn_config_dll ctl3d.dll16 enable_win16
17313 wine_fn_config_dll ctl3d32 enable_ctl3d32 implib
17314 wine_fn_config_dll ctl3dv2.dll16 enable_win16
17315 wine_fn_config_dll d2d1 enable_d2d1 implib
17316 wine_fn_config_test dlls
/d2d
1/tests d2d1_test
17317 wine_fn_config_dll d3d10 enable_d3d10 implib
17318 wine_fn_config_test dlls
/d3d10
/tests d3d10_test
17319 wine_fn_config_dll d3d10_1 enable_d3d10_1 implib
17320 wine_fn_config_dll d3d10core enable_d3d10core implib
17321 wine_fn_config_test dlls
/d3d10core
/tests d3d10core_test
17322 wine_fn_config_dll d3d11 enable_d3d11 implib
17323 wine_fn_config_test dlls
/d3d11
/tests d3d11_test
17324 wine_fn_config_dll d3d8 enable_d3d8 implib
17325 wine_fn_config_test dlls
/d3d
8/tests d3d8_test
17326 wine_fn_config_dll d3d9 enable_d3d9 implib
17327 wine_fn_config_test dlls
/d3d
9/tests d3d9_test
17328 wine_fn_config_dll d3dcompiler_33 enable_d3dcompiler_33
17329 wine_fn_config_dll d3dcompiler_34 enable_d3dcompiler_34
17330 wine_fn_config_dll d3dcompiler_35 enable_d3dcompiler_35
17331 wine_fn_config_dll d3dcompiler_36 enable_d3dcompiler_36
17332 wine_fn_config_dll d3dcompiler_37 enable_d3dcompiler_37
17333 wine_fn_config_dll d3dcompiler_38 enable_d3dcompiler_38
17334 wine_fn_config_dll d3dcompiler_39 enable_d3dcompiler_39
17335 wine_fn_config_dll d3dcompiler_40 enable_d3dcompiler_40
17336 wine_fn_config_dll d3dcompiler_41 enable_d3dcompiler_41
17337 wine_fn_config_dll d3dcompiler_42 enable_d3dcompiler_42
17338 wine_fn_config_dll d3dcompiler_43 enable_d3dcompiler_43 implib d3dcompiler
17339 wine_fn_config_test dlls
/d3dcompiler_43
/tests d3dcompiler_43_test
17340 wine_fn_config_dll d3dcompiler_46 enable_d3dcompiler_46
17341 wine_fn_config_dll d3dcompiler_47 enable_d3dcompiler_47
17342 wine_fn_config_dll d3dim enable_d3dim implib
17343 wine_fn_config_dll d3drm enable_d3drm implib
17344 wine_fn_config_test dlls
/d3drm
/tests d3drm_test
17345 wine_fn_config_dll d3dx10_33 enable_d3dx10_33
17346 wine_fn_config_dll d3dx10_34 enable_d3dx10_34
17347 wine_fn_config_dll d3dx10_35 enable_d3dx10_35
17348 wine_fn_config_dll d3dx10_36 enable_d3dx10_36
17349 wine_fn_config_dll d3dx10_37 enable_d3dx10_37
17350 wine_fn_config_dll d3dx10_38 enable_d3dx10_38
17351 wine_fn_config_dll d3dx10_39 enable_d3dx10_39
17352 wine_fn_config_dll d3dx10_40 enable_d3dx10_40
17353 wine_fn_config_dll d3dx10_41 enable_d3dx10_41
17354 wine_fn_config_dll d3dx10_42 enable_d3dx10_42
17355 wine_fn_config_dll d3dx10_43 enable_d3dx10_43
17356 wine_fn_config_dll d3dx11_42 enable_d3dx11_42
17357 wine_fn_config_dll d3dx11_43 enable_d3dx11_43
17358 wine_fn_config_dll d3dx9_24 enable_d3dx9_24
17359 wine_fn_config_dll d3dx9_25 enable_d3dx9_25
17360 wine_fn_config_dll d3dx9_26 enable_d3dx9_26
17361 wine_fn_config_dll d3dx9_27 enable_d3dx9_27
17362 wine_fn_config_dll d3dx9_28 enable_d3dx9_28
17363 wine_fn_config_dll d3dx9_29 enable_d3dx9_29
17364 wine_fn_config_dll d3dx9_30 enable_d3dx9_30
17365 wine_fn_config_dll d3dx9_31 enable_d3dx9_31
17366 wine_fn_config_dll d3dx9_32 enable_d3dx9_32
17367 wine_fn_config_dll d3dx9_33 enable_d3dx9_33
17368 wine_fn_config_dll d3dx9_34 enable_d3dx9_34
17369 wine_fn_config_dll d3dx9_35 enable_d3dx9_35
17370 wine_fn_config_dll d3dx9_36 enable_d3dx9_36 implib d3dx9
17371 wine_fn_config_test dlls
/d3dx9_36
/tests d3dx9_36_test
17372 wine_fn_config_dll d3dx9_37 enable_d3dx9_37
17373 wine_fn_config_dll d3dx9_38 enable_d3dx9_38
17374 wine_fn_config_dll d3dx9_39 enable_d3dx9_39
17375 wine_fn_config_dll d3dx9_40 enable_d3dx9_40
17376 wine_fn_config_dll d3dx9_41 enable_d3dx9_41
17377 wine_fn_config_dll d3dx9_42 enable_d3dx9_42
17378 wine_fn_config_dll d3dx9_43 enable_d3dx9_43
17379 wine_fn_config_dll d3dxof enable_d3dxof clean
,implib
17380 wine_fn_config_test dlls
/d3dxof
/tests d3dxof_test
17381 wine_fn_config_dll davclnt enable_davclnt
17382 wine_fn_config_dll dbgeng enable_dbgeng implib
17383 wine_fn_config_dll dbghelp enable_dbghelp implib
17384 wine_fn_config_dll dciman32 enable_dciman32 implib
17385 wine_fn_config_dll ddeml.dll16 enable_win16
17386 wine_fn_config_dll ddraw enable_ddraw clean
,implib
17387 wine_fn_config_test dlls
/ddraw
/tests ddraw_test
17388 wine_fn_config_dll ddrawex enable_ddrawex clean
17389 wine_fn_config_test dlls
/ddrawex
/tests ddrawex_test
17390 wine_fn_config_dll devenum enable_devenum clean
,po
17391 wine_fn_config_test dlls
/devenum
/tests devenum_test
17392 wine_fn_config_dll dhcpcsvc enable_dhcpcsvc
17393 wine_fn_config_dll difxapi enable_difxapi
17394 wine_fn_config_dll dinput enable_dinput clean
,implib
,po
,staticimplib
17395 wine_fn_config_test dlls
/dinput
/tests dinput_test
17396 wine_fn_config_dll dinput8 enable_dinput8 clean
,implib
17397 wine_fn_config_test dlls
/dinput
8/tests dinput8_test
17398 wine_fn_config_dll dispdib.dll16 enable_win16
17399 wine_fn_config_dll dispex enable_dispex clean
17400 wine_fn_config_test dlls
/dispex
/tests dispex_test
17401 wine_fn_config_dll display.drv16 enable_win16
17402 wine_fn_config_dll dmband enable_dmband clean
17403 wine_fn_config_test dlls
/dmband
/tests dmband_test
17404 wine_fn_config_dll dmcompos enable_dmcompos clean
17405 wine_fn_config_test dlls
/dmcompos
/tests dmcompos_test
17406 wine_fn_config_dll dmime enable_dmime clean
17407 wine_fn_config_test dlls
/dmime
/tests dmime_test
17408 wine_fn_config_dll dmloader enable_dmloader clean
17409 wine_fn_config_test dlls
/dmloader
/tests dmloader_test
17410 wine_fn_config_dll dmscript enable_dmscript clean
17411 wine_fn_config_test dlls
/dmscript
/tests dmscript_test
17412 wine_fn_config_dll dmstyle enable_dmstyle clean
17413 wine_fn_config_test dlls
/dmstyle
/tests dmstyle_test
17414 wine_fn_config_dll dmsynth enable_dmsynth clean
17415 wine_fn_config_test dlls
/dmsynth
/tests dmsynth_test
17416 wine_fn_config_dll dmusic enable_dmusic clean
17417 wine_fn_config_test dlls
/dmusic
/tests dmusic_test
17418 wine_fn_config_dll dmusic32 enable_dmusic32 implib
17419 wine_fn_config_dll dnsapi enable_dnsapi implib
17420 wine_fn_config_test dlls
/dnsapi
/tests dnsapi_test
17421 wine_fn_config_dll dplay enable_dplay implib
17422 wine_fn_config_dll dplayx enable_dplayx clean
,implib
17423 wine_fn_config_test dlls
/dplayx
/tests dplayx_test
17424 wine_fn_config_dll dpnaddr enable_dpnaddr
17425 wine_fn_config_dll dpnet enable_dpnet clean
,implib
17426 wine_fn_config_test dlls
/dpnet
/tests dpnet_test
17427 wine_fn_config_dll dpnhpast enable_dpnhpast
17428 wine_fn_config_dll dpnlobby enable_dpnlobby
17429 wine_fn_config_dll dpvoice enable_dpvoice clean
17430 wine_fn_config_test dlls
/dpvoice
/tests dpvoice_test
17431 wine_fn_config_dll dpwsockx enable_dpwsockx
17432 wine_fn_config_dll drmclien enable_drmclien
17433 wine_fn_config_dll dsound enable_dsound clean
,implib
17434 wine_fn_config_test dlls
/dsound
/tests dsound_test
17435 wine_fn_config_dll dssenh enable_dssenh
17436 wine_fn_config_test dlls
/dssenh
/tests dssenh_test
17437 wine_fn_config_dll dswave enable_dswave clean
17438 wine_fn_config_test dlls
/dswave
/tests dswave_test
17439 wine_fn_config_dll dwmapi enable_dwmapi implib
17440 wine_fn_config_dll dwrite enable_dwrite implib
17441 wine_fn_config_test dlls
/dwrite
/tests dwrite_test
17442 wine_fn_config_dll dxdiagn enable_dxdiagn clean
,po
17443 wine_fn_config_test dlls
/dxdiagn
/tests dxdiagn_test
17444 wine_fn_config_lib dxerr8
17445 wine_fn_config_lib dxerr9
17446 wine_fn_config_dll dxgi enable_dxgi implib
17447 wine_fn_config_test dlls
/dxgi
/tests dxgi_test
17448 wine_fn_config_lib dxguid
17449 wine_fn_config_dll dxva2 enable_dxva2
17450 wine_fn_config_dll esent enable_esent
17451 wine_fn_config_dll evr enable_evr
17452 wine_fn_config_dll explorerframe enable_explorerframe clean
17453 wine_fn_config_test dlls
/explorerframe
/tests explorerframe_test
17454 wine_fn_config_dll ext-ms-win-gdi-devcaps-l1-1-0 enable_ext_ms_win_gdi_devcaps_l1_1_0
17455 wine_fn_config_dll faultrep enable_faultrep implib
17456 wine_fn_config_test dlls
/faultrep
/tests faultrep_test
17457 wine_fn_config_dll fltlib enable_fltlib
17458 wine_fn_config_dll fntcache enable_fntcache
17459 wine_fn_config_dll fontsub enable_fontsub
17460 wine_fn_config_dll fusion enable_fusion
17461 wine_fn_config_test dlls
/fusion
/tests fusion_test
17462 wine_fn_config_dll fwpuclnt enable_fwpuclnt
17463 wine_fn_config_dll gameux enable_gameux clean
17464 wine_fn_config_test dlls
/gameux
/tests gameux_test
17465 wine_fn_config_dll gdi.exe16 enable_win16
17466 wine_fn_config_dll gdi32 enable_gdi32 clean
,implib
,po
17467 wine_fn_config_test dlls
/gdi32
/tests gdi32_test
17468 wine_fn_config_dll gdiplus enable_gdiplus implib
17469 wine_fn_config_test dlls
/gdiplus
/tests gdiplus_test
17470 wine_fn_config_dll glu32 enable_glu32 implib
17471 wine_fn_config_dll gphoto2.ds enable_gphoto2_ds po
17472 wine_fn_config_dll gpkcsp enable_gpkcsp
17473 wine_fn_config_dll hal enable_hal
17474 wine_fn_config_dll hhctrl.ocx enable_hhctrl_ocx clean
,implib
,po htmlhelp
17475 wine_fn_config_dll hid enable_hid implib
17476 wine_fn_config_dll hidclass.sys enable_hidclass_sys implib hidclass
17477 wine_fn_config_dll hlink enable_hlink clean
,implib
17478 wine_fn_config_test dlls
/hlink
/tests hlink_test
17479 wine_fn_config_dll hnetcfg enable_hnetcfg clean
17480 wine_fn_config_dll httpapi enable_httpapi
17481 wine_fn_config_dll iccvid enable_iccvid po
17482 wine_fn_config_dll icmp enable_icmp
17483 wine_fn_config_dll ieframe enable_ieframe clean
,implib
,po
17484 wine_fn_config_test dlls
/ieframe
/tests ieframe_test
17485 wine_fn_config_dll ifsmgr.vxd enable_win16
17486 wine_fn_config_dll imaadp32.acm enable_imaadp32_acm
17487 wine_fn_config_dll imagehlp enable_imagehlp implib
17488 wine_fn_config_test dlls
/imagehlp
/tests imagehlp_test
17489 wine_fn_config_dll imm.dll16 enable_win16
17490 wine_fn_config_dll imm32 enable_imm32 implib
17491 wine_fn_config_test dlls
/imm32
/tests imm32_test
17492 wine_fn_config_dll inetcomm enable_inetcomm clean
,implib
17493 wine_fn_config_test dlls
/inetcomm
/tests inetcomm_test
17494 wine_fn_config_dll inetcpl.cpl enable_inetcpl_cpl po
17495 wine_fn_config_dll inetmib1 enable_inetmib1
17496 wine_fn_config_test dlls
/inetmib
1/tests inetmib1_test
17497 wine_fn_config_dll infosoft enable_infosoft clean
17498 wine_fn_config_test dlls
/infosoft
/tests infosoft_test
17499 wine_fn_config_dll initpki enable_initpki
17500 wine_fn_config_dll inkobj enable_inkobj
17501 wine_fn_config_dll inseng enable_inseng clean
17502 wine_fn_config_dll iphlpapi enable_iphlpapi implib
17503 wine_fn_config_test dlls
/iphlpapi
/tests iphlpapi_test
17504 wine_fn_config_dll itircl enable_itircl
17505 wine_fn_config_dll itss enable_itss clean
17506 wine_fn_config_test dlls
/itss
/tests itss_test
17507 wine_fn_config_dll joy.cpl enable_joy_cpl po
17508 wine_fn_config_dll jscript enable_jscript clean
,po
17509 wine_fn_config_test dlls
/jscript
/tests jscript_test
17510 wine_fn_config_dll jsproxy enable_jsproxy implib
17511 wine_fn_config_dll kernel32 enable_kernel32 clean
,implib
,mc
17512 wine_fn_config_test dlls
/kernel32
/tests kernel32_test
17513 wine_fn_config_dll keyboard.drv16 enable_win16
17514 wine_fn_config_dll krnl386.exe16 enable_win16 implib kernel
17515 wine_fn_config_dll ksuser enable_ksuser
17516 wine_fn_config_dll ktmw32 enable_ktmw32
17517 wine_fn_config_dll loadperf enable_loadperf implib
17518 wine_fn_config_dll localspl enable_localspl po
17519 wine_fn_config_test dlls
/localspl
/tests localspl_test
17520 wine_fn_config_dll localui enable_localui po
17521 wine_fn_config_test dlls
/localui
/tests localui_test
17522 wine_fn_config_dll lz32 enable_lz32 implib
17523 wine_fn_config_test dlls
/lz32
/tests lz32_test
17524 wine_fn_config_dll lzexpand.dll16 enable_win16
17525 wine_fn_config_dll mapi32 enable_mapi32 implib
,po
17526 wine_fn_config_test dlls
/mapi32
/tests mapi32_test
17527 wine_fn_config_dll mapistub enable_mapistub
17528 wine_fn_config_dll mciavi32 enable_mciavi32
17529 wine_fn_config_dll mcicda enable_mcicda
17530 wine_fn_config_dll mciqtz32 enable_mciqtz32
17531 wine_fn_config_dll mciseq enable_mciseq
17532 wine_fn_config_dll mciwave enable_mciwave
17533 wine_fn_config_dll mf enable_mf
17534 wine_fn_config_dll mfplat enable_mfplat
17535 wine_fn_config_dll mfreadwrite enable_mfreadwrite
17536 wine_fn_config_dll mgmtapi enable_mgmtapi
17537 wine_fn_config_dll midimap enable_midimap
17538 wine_fn_config_dll mlang enable_mlang clean
,implib
17539 wine_fn_config_test dlls
/mlang
/tests mlang_test
17540 wine_fn_config_dll mmcndmgr enable_mmcndmgr clean
17541 wine_fn_config_test dlls
/mmcndmgr
/tests mmcndmgr_test
17542 wine_fn_config_dll mmdevapi enable_mmdevapi clean
17543 wine_fn_config_test dlls
/mmdevapi
/tests mmdevapi_test
17544 wine_fn_config_dll mmdevldr.vxd enable_win16
17545 wine_fn_config_dll mmsystem.dll16 enable_win16
17546 wine_fn_config_dll monodebg.vxd enable_win16
17547 wine_fn_config_dll mountmgr.sys enable_mountmgr_sys
17548 wine_fn_config_dll mouse.drv16 enable_win16
17549 wine_fn_config_dll mpr enable_mpr implib
,po
17550 wine_fn_config_test dlls
/mpr
/tests mpr_test
17551 wine_fn_config_dll mprapi enable_mprapi implib
17552 wine_fn_config_dll msacm.dll16 enable_win16
17553 wine_fn_config_dll msacm32.drv enable_msacm32_drv
17554 wine_fn_config_dll msacm32 enable_msacm32 implib
,po
17555 wine_fn_config_test dlls
/msacm32
/tests msacm32_test
17556 wine_fn_config_dll msadp32.acm enable_msadp32_acm
17557 wine_fn_config_dll msasn1 enable_msasn1 implib
17558 wine_fn_config_dll mscat32 enable_mscat32
17559 wine_fn_config_dll mscms enable_mscms implib
17560 wine_fn_config_test dlls
/mscms
/tests mscms_test
17561 wine_fn_config_dll mscoree enable_mscoree clean
17562 wine_fn_config_test dlls
/mscoree
/tests mscoree_test
17563 wine_fn_config_dll msctf enable_msctf clean
17564 wine_fn_config_test dlls
/msctf
/tests msctf_test
17565 wine_fn_config_dll msctfp enable_msctfp clean
17566 wine_fn_config_dll msdaps enable_msdaps clean
17567 wine_fn_config_dll msdelta enable_msdelta
17568 wine_fn_config_dll msdmo enable_msdmo implib
17569 wine_fn_config_test dlls
/msdmo
/tests msdmo_test
17570 wine_fn_config_dll msftedit enable_msftedit
17571 wine_fn_config_dll msg711.acm enable_msg711_acm
17572 wine_fn_config_dll msgsm32.acm enable_msgsm32_acm
17573 wine_fn_config_dll mshtml.tlb enable_mshtml_tlb clean
17574 wine_fn_config_dll mshtml enable_mshtml clean
,implib
,po
17575 wine_fn_config_test dlls
/mshtml
/tests mshtml_test clean
17576 wine_fn_config_dll msi enable_msi clean
,implib
,po
17577 wine_fn_config_test dlls
/msi
/tests msi_test
17578 wine_fn_config_dll msident enable_msident clean
17579 wine_fn_config_dll msimg32 enable_msimg32 implib
17580 wine_fn_config_dll msimsg enable_msimsg
17581 wine_fn_config_dll msimtf enable_msimtf clean
17582 wine_fn_config_dll msisip enable_msisip
17583 wine_fn_config_dll msisys.ocx enable_msisys_ocx
17584 wine_fn_config_dll msls31 enable_msls31
17585 wine_fn_config_dll msnet32 enable_msnet32
17586 wine_fn_config_dll mspatcha enable_mspatcha implib
17587 wine_fn_config_dll msrle32 enable_msrle32 po
17588 wine_fn_config_test dlls
/msrle32
/tests msrle32_test
17589 wine_fn_config_dll msscript.ocx enable_msscript_ocx clean
17590 wine_fn_config_dll mssign32 enable_mssign32
17591 wine_fn_config_dll mssip32 enable_mssip32
17592 wine_fn_config_dll mstask enable_mstask clean
17593 wine_fn_config_test dlls
/mstask
/tests mstask_test
17594 wine_fn_config_dll msvcirt enable_msvcirt
17595 wine_fn_config_test dlls
/msvcirt
/tests msvcirt_test
17596 wine_fn_config_dll msvcm80 enable_msvcm80
17597 wine_fn_config_dll msvcm90 enable_msvcm90
17598 wine_fn_config_dll msvcp100 enable_msvcp100
17599 wine_fn_config_test dlls
/msvcp100
/tests msvcp100_test
17600 wine_fn_config_dll msvcp110 enable_msvcp110
17601 wine_fn_config_test dlls
/msvcp110
/tests msvcp110_test
17602 wine_fn_config_dll msvcp120 enable_msvcp120
17603 wine_fn_config_test dlls
/msvcp120
/tests msvcp120_test
17604 wine_fn_config_dll msvcp120_app enable_msvcp120_app
17605 wine_fn_config_dll msvcp60 enable_msvcp60
17606 wine_fn_config_test dlls
/msvcp60
/tests msvcp60_test
17607 wine_fn_config_dll msvcp70 enable_msvcp70
17608 wine_fn_config_dll msvcp71 enable_msvcp71
17609 wine_fn_config_dll msvcp80 enable_msvcp80
17610 wine_fn_config_dll msvcp90 enable_msvcp90
17611 wine_fn_config_test dlls
/msvcp90
/tests msvcp90_test
17612 wine_fn_config_dll msvcr100 enable_msvcr100 implib
17613 wine_fn_config_test dlls
/msvcr100
/tests msvcr100_test
17614 wine_fn_config_dll msvcr110 enable_msvcr110 implib
17615 wine_fn_config_dll msvcr120 enable_msvcr120 implib
17616 wine_fn_config_test dlls
/msvcr120
/tests msvcr120_test
17617 wine_fn_config_dll msvcr120_app enable_msvcr120_app
17618 wine_fn_config_dll msvcr70 enable_msvcr70 implib
17619 wine_fn_config_dll msvcr71 enable_msvcr71 implib
17620 wine_fn_config_dll msvcr80 enable_msvcr80 implib
17621 wine_fn_config_dll msvcr90 enable_msvcr90 implib
17622 wine_fn_config_test dlls
/msvcr90
/tests msvcr90_test
17623 wine_fn_config_dll msvcrt enable_msvcrt implib
17624 wine_fn_config_test dlls
/msvcrt
/tests msvcrt_test
17625 wine_fn_config_dll msvcrt20 enable_msvcrt20 implib
17626 wine_fn_config_dll msvcrt40 enable_msvcrt40 implib
17627 wine_fn_config_dll msvcrtd enable_msvcrtd implib
17628 wine_fn_config_test dlls
/msvcrtd
/tests msvcrtd_test
17629 wine_fn_config_dll msvfw32 enable_msvfw32 implib
,po
17630 wine_fn_config_test dlls
/msvfw32
/tests msvfw32_test
17631 wine_fn_config_dll msvidc32 enable_msvidc32 po
17632 wine_fn_config_dll msvideo.dll16 enable_win16
17633 wine_fn_config_dll mswsock enable_mswsock implib
17634 wine_fn_config_dll msxml enable_msxml clean
17635 wine_fn_config_dll msxml2 enable_msxml2 clean
17636 wine_fn_config_dll msxml3 enable_msxml3 clean
17637 wine_fn_config_test dlls
/msxml
3/tests msxml3_test clean
17638 wine_fn_config_dll msxml4 enable_msxml4 clean
17639 wine_fn_config_dll msxml6 enable_msxml6 clean
17640 wine_fn_config_dll nddeapi enable_nddeapi implib
17641 wine_fn_config_dll ndis.sys enable_ndis_sys
17642 wine_fn_config_dll netapi32 enable_netapi32 implib
17643 wine_fn_config_test dlls
/netapi32
/tests netapi32_test
17644 wine_fn_config_dll netcfgx enable_netcfgx clean
17645 wine_fn_config_test dlls
/netcfgx
/tests netcfgx_test
17646 wine_fn_config_dll netprofm enable_netprofm clean
17647 wine_fn_config_test dlls
/netprofm
/tests netprofm_test
17648 wine_fn_config_dll newdev enable_newdev implib
17649 wine_fn_config_dll normaliz enable_normaliz implib
17650 wine_fn_config_dll npmshtml enable_npmshtml
17651 wine_fn_config_dll npptools enable_npptools
17652 wine_fn_config_dll ntdll enable_ntdll implib
17653 wine_fn_config_test dlls
/ntdll
/tests ntdll_test
17654 wine_fn_config_dll ntdsapi enable_ntdsapi implib
17655 wine_fn_config_test dlls
/ntdsapi
/tests ntdsapi_test
17656 wine_fn_config_dll ntoskrnl.exe enable_ntoskrnl_exe implib
17657 wine_fn_config_dll ntprint enable_ntprint
17658 wine_fn_config_test dlls
/ntprint
/tests ntprint_test
17659 wine_fn_config_dll objsel enable_objsel clean
17660 wine_fn_config_dll odbc32 enable_odbc32 implib
17661 wine_fn_config_dll odbccp32 enable_odbccp32 implib
17662 wine_fn_config_test dlls
/odbccp32
/tests odbccp32_test
17663 wine_fn_config_dll odbccu32 enable_odbccu32
17664 wine_fn_config_dll ole2.dll16 enable_win16
17665 wine_fn_config_dll ole2conv.dll16 enable_win16
17666 wine_fn_config_dll ole2disp.dll16 enable_win16
17667 wine_fn_config_dll ole2nls.dll16 enable_win16
17668 wine_fn_config_dll ole2prox.dll16 enable_win16
17669 wine_fn_config_dll ole2thk.dll16 enable_win16
17670 wine_fn_config_dll ole32 enable_ole32 clean
,implib
17671 wine_fn_config_test dlls
/ole32
/tests ole32_test
17672 wine_fn_config_dll oleacc enable_oleacc clean
,implib
,po
17673 wine_fn_config_test dlls
/oleacc
/tests oleacc_test
17674 wine_fn_config_dll oleaut32 enable_oleaut32 clean
,implib
,po
17675 wine_fn_config_test dlls
/oleaut32
/tests oleaut32_test clean
17676 wine_fn_config_dll olecli.dll16 enable_win16
17677 wine_fn_config_dll olecli32 enable_olecli32 implib
17678 wine_fn_config_dll oledb32 enable_oledb32 clean
17679 wine_fn_config_test dlls
/oledb32
/tests oledb32_test clean
17680 wine_fn_config_dll oledlg enable_oledlg implib
,po
17681 wine_fn_config_test dlls
/oledlg
/tests oledlg_test
17682 wine_fn_config_dll olepro32 enable_olepro32 implib
17683 wine_fn_config_dll olesvr.dll16 enable_win16
17684 wine_fn_config_dll olesvr32 enable_olesvr32 implib
17685 wine_fn_config_dll olethk32 enable_olethk32
17686 wine_fn_config_dll openal32 enable_openal32
17687 wine_fn_config_dll opencl enable_opencl
17688 wine_fn_config_dll opengl32 enable_opengl32 implib
17689 wine_fn_config_test dlls
/opengl32
/tests opengl32_test
17690 wine_fn_config_dll packager enable_packager clean
17691 wine_fn_config_test dlls
/packager
/tests packager_test
17692 wine_fn_config_dll pdh enable_pdh implib
17693 wine_fn_config_test dlls
/pdh
/tests pdh_test
17694 wine_fn_config_dll photometadatahandler enable_photometadatahandler
17695 wine_fn_config_dll pidgen enable_pidgen
17696 wine_fn_config_dll powrprof enable_powrprof implib
17697 wine_fn_config_dll printui enable_printui
17698 wine_fn_config_dll prntvpt enable_prntvpt
17699 wine_fn_config_dll propsys enable_propsys clean
,implib
17700 wine_fn_config_test dlls
/propsys
/tests propsys_test
17701 wine_fn_config_dll psapi enable_psapi implib
17702 wine_fn_config_test dlls
/psapi
/tests psapi_test
17703 wine_fn_config_dll pstorec enable_pstorec clean
17704 wine_fn_config_dll qcap enable_qcap
17705 wine_fn_config_test dlls
/qcap
/tests qcap_test
17706 wine_fn_config_dll qedit enable_qedit clean
17707 wine_fn_config_test dlls
/qedit
/tests qedit_test
17708 wine_fn_config_dll qmgr enable_qmgr clean
17709 wine_fn_config_test dlls
/qmgr
/tests qmgr_test
17710 wine_fn_config_dll qmgrprxy enable_qmgrprxy clean
17711 wine_fn_config_dll quartz enable_quartz clean
,implib
17712 wine_fn_config_test dlls
/quartz
/tests quartz_test clean
17713 wine_fn_config_dll query enable_query
17714 wine_fn_config_dll rasapi16.dll16 enable_win16
17715 wine_fn_config_dll rasapi32 enable_rasapi32 implib
17716 wine_fn_config_test dlls
/rasapi32
/tests rasapi32_test
17717 wine_fn_config_dll rasdlg enable_rasdlg implib
17718 wine_fn_config_dll regapi enable_regapi
17719 wine_fn_config_dll resutils enable_resutils implib
17720 wine_fn_config_dll riched20 enable_riched20 clean
,implib
17721 wine_fn_config_test dlls
/riched20
/tests riched20_test
17722 wine_fn_config_dll riched32 enable_riched32
17723 wine_fn_config_test dlls
/riched32
/tests riched32_test
17724 wine_fn_config_dll rpcrt4 enable_rpcrt4 clean
,implib
17725 wine_fn_config_test dlls
/rpcrt
4/tests rpcrt4_test clean
17726 wine_fn_config_dll rsabase enable_rsabase
17727 wine_fn_config_dll rsaenh enable_rsaenh implib
17728 wine_fn_config_test dlls
/rsaenh
/tests rsaenh_test
17729 wine_fn_config_dll rstrtmgr enable_rstrtmgr
17730 wine_fn_config_dll rtutils enable_rtutils implib
17731 wine_fn_config_dll samlib enable_samlib
17732 wine_fn_config_dll sane.ds enable_sane_ds po
17733 wine_fn_config_dll scarddlg enable_scarddlg
17734 wine_fn_config_dll sccbase enable_sccbase
17735 wine_fn_config_dll schannel enable_schannel
17736 wine_fn_config_test dlls
/schannel
/tests schannel_test
17737 wine_fn_config_dll schedsvc enable_schedsvc clean
17738 wine_fn_config_test dlls
/schedsvc
/tests schedsvc_test clean
17739 wine_fn_config_dll scrrun enable_scrrun clean
17740 wine_fn_config_test dlls
/scrrun
/tests scrrun_test clean
17741 wine_fn_config_dll scsiport.sys enable_scsiport_sys
17742 wine_fn_config_dll secur32 enable_secur32 implib
17743 wine_fn_config_test dlls
/secur32
/tests secur32_test
17744 wine_fn_config_dll security enable_security
17745 wine_fn_config_dll sensapi enable_sensapi implib
17746 wine_fn_config_dll serialui enable_serialui implib
,po
17747 wine_fn_config_test dlls
/serialui
/tests serialui_test
17748 wine_fn_config_dll setupapi enable_setupapi implib
,po
17749 wine_fn_config_test dlls
/setupapi
/tests setupapi_test
17750 wine_fn_config_dll setupx.dll16 enable_win16
17751 wine_fn_config_dll sfc enable_sfc implib
17752 wine_fn_config_dll sfc_os enable_sfc_os implib
17753 wine_fn_config_dll shdoclc enable_shdoclc po
17754 wine_fn_config_dll shdocvw enable_shdocvw clean
,implib
17755 wine_fn_config_test dlls
/shdocvw
/tests shdocvw_test
17756 wine_fn_config_dll shell.dll16 enable_win16
17757 wine_fn_config_dll shell32 enable_shell32 clean
,implib
,po
17758 wine_fn_config_test dlls
/shell32
/tests shell32_test
17759 wine_fn_config_dll shfolder enable_shfolder implib
17760 wine_fn_config_dll shlwapi enable_shlwapi implib
,po
17761 wine_fn_config_test dlls
/shlwapi
/tests shlwapi_test
17762 wine_fn_config_dll slbcsp enable_slbcsp
17763 wine_fn_config_dll slc enable_slc implib
17764 wine_fn_config_test dlls
/slc
/tests slc_test
17765 wine_fn_config_dll snmpapi enable_snmpapi implib
17766 wine_fn_config_test dlls
/snmpapi
/tests snmpapi_test
17767 wine_fn_config_dll softpub enable_softpub
17768 wine_fn_config_dll sound.drv16 enable_win16
17769 wine_fn_config_dll spoolss enable_spoolss implib
17770 wine_fn_config_test dlls
/spoolss
/tests spoolss_test
17771 wine_fn_config_dll stdole2.tlb enable_stdole2_tlb clean
17772 wine_fn_config_dll stdole32.tlb enable_stdole32_tlb clean
17773 wine_fn_config_dll sti enable_sti clean
,implib
17774 wine_fn_config_test dlls
/sti
/tests sti_test
17775 wine_fn_config_dll storage.dll16 enable_win16
17776 wine_fn_config_dll stress.dll16 enable_win16
17777 wine_fn_config_lib strmbase
17778 wine_fn_config_lib strmiids
17779 wine_fn_config_dll svrapi enable_svrapi
17780 wine_fn_config_dll sxs enable_sxs implib
17781 wine_fn_config_test dlls
/sxs
/tests sxs_test
17782 wine_fn_config_dll system.drv16 enable_win16
17783 wine_fn_config_dll t2embed enable_t2embed
17784 wine_fn_config_dll tapi32 enable_tapi32 implib
17785 wine_fn_config_dll taskschd enable_taskschd clean
17786 wine_fn_config_test dlls
/taskschd
/tests taskschd_test
17787 wine_fn_config_dll toolhelp.dll16 enable_win16
17788 wine_fn_config_dll traffic enable_traffic
17789 wine_fn_config_dll twain.dll16 enable_win16
17790 wine_fn_config_dll twain_32 enable_twain_32
17791 wine_fn_config_test dlls
/twain_32
/tests twain_32_test
17792 wine_fn_config_dll typelib.dll16 enable_win16
17793 wine_fn_config_dll ucrtbase enable_ucrtbase
17794 wine_fn_config_test dlls
/ucrtbase
/tests ucrtbase_test
17795 wine_fn_config_dll unicows enable_unicows implib
17796 wine_fn_config_dll updspapi enable_updspapi
17797 wine_fn_config_dll url enable_url implib
17798 wine_fn_config_dll urlmon enable_urlmon clean
,implib
,po
17799 wine_fn_config_test dlls
/urlmon
/tests urlmon_test
17800 wine_fn_config_dll usbd.sys enable_usbd_sys implib
17801 wine_fn_config_dll user.exe16 enable_win16
17802 wine_fn_config_dll user32 enable_user32 clean
,implib
,po
17803 wine_fn_config_test dlls
/user32
/tests user32_test
17804 wine_fn_config_dll userenv enable_userenv implib
17805 wine_fn_config_test dlls
/userenv
/tests userenv_test
17806 wine_fn_config_dll usp10 enable_usp10 implib
17807 wine_fn_config_test dlls
/usp10
/tests usp10_test
17808 wine_fn_config_lib uuid
17809 wine_fn_config_dll uxtheme enable_uxtheme implib
17810 wine_fn_config_test dlls
/uxtheme
/tests uxtheme_test
17811 wine_fn_config_dll vbscript enable_vbscript clean
17812 wine_fn_config_test dlls
/vbscript
/tests vbscript_test clean
17813 wine_fn_config_dll vcomp enable_vcomp
17814 wine_fn_config_test dlls
/vcomp
/tests vcomp_test
17815 wine_fn_config_dll vcomp100 enable_vcomp100
17816 wine_fn_config_dll vcomp110 enable_vcomp110
17817 wine_fn_config_dll vcomp90 enable_vcomp90
17818 wine_fn_config_dll vdhcp.vxd enable_win16
17819 wine_fn_config_dll vdmdbg enable_vdmdbg implib
17820 wine_fn_config_dll ver.dll16 enable_win16
17821 wine_fn_config_dll version enable_version implib
17822 wine_fn_config_test dlls
/version
/tests version_test
17823 wine_fn_config_dll vmm.vxd enable_win16
17824 wine_fn_config_dll vnbt.vxd enable_win16
17825 wine_fn_config_dll vnetbios.vxd enable_win16
17826 wine_fn_config_dll vssapi enable_vssapi
17827 wine_fn_config_dll vtdapi.vxd enable_win16
17828 wine_fn_config_dll vwin32.vxd enable_win16
17829 wine_fn_config_dll w32skrnl enable_win16
17830 wine_fn_config_dll w32sys.dll16 enable_win16
17831 wine_fn_config_dll wbemdisp enable_wbemdisp clean
17832 wine_fn_config_test dlls
/wbemdisp
/tests wbemdisp_test
17833 wine_fn_config_dll wbemprox enable_wbemprox clean
17834 wine_fn_config_test dlls
/wbemprox
/tests wbemprox_test
17835 wine_fn_config_dll webservices enable_webservices implib
17836 wine_fn_config_test dlls
/webservices
/tests webservices_test
17837 wine_fn_config_dll wer enable_wer implib
17838 wine_fn_config_test dlls
/wer
/tests wer_test
17839 wine_fn_config_dll wevtapi enable_wevtapi
17840 wine_fn_config_dll wiaservc enable_wiaservc clean
17841 wine_fn_config_dll win32s16.dll16 enable_win16
17842 wine_fn_config_dll win87em.dll16 enable_win16
17843 wine_fn_config_dll winaspi.dll16 enable_win16
17844 wine_fn_config_dll windebug.dll16 enable_win16
17845 wine_fn_config_dll windowscodecs enable_windowscodecs clean
,implib
17846 wine_fn_config_test dlls
/windowscodecs
/tests windowscodecs_test
17847 wine_fn_config_dll windowscodecsext enable_windowscodecsext implib
17848 wine_fn_config_test dlls
/windowscodecsext
/tests windowscodecsext_test
17849 wine_fn_config_dll winealsa.drv enable_winealsa_drv
17850 wine_fn_config_dll winecoreaudio.drv enable_winecoreaudio_drv
17851 wine_fn_config_lib winecrt0
17852 wine_fn_config_dll wined3d enable_wined3d implib
17853 wine_fn_config_dll winegstreamer enable_winegstreamer
17854 wine_fn_config_dll winejoystick.drv enable_winejoystick_drv
17855 wine_fn_config_dll winemac.drv enable_winemac_drv
17856 wine_fn_config_dll winemapi enable_winemapi
17857 wine_fn_config_dll winemp3.acm enable_winemp3_acm
17858 wine_fn_config_dll wineoss.drv enable_wineoss_drv
17859 wine_fn_config_dll wineps.drv enable_wineps_drv clean
,po
17860 wine_fn_config_dll wineps16.drv16 enable_win16
17861 wine_fn_config_dll wineqtdecoder enable_wineqtdecoder
17862 wine_fn_config_dll winex11.drv enable_winex11_drv
17863 wine_fn_config_dll wing.dll16 enable_win16
17864 wine_fn_config_dll wing32 enable_wing32
17865 wine_fn_config_dll winhttp enable_winhttp clean
,implib
17866 wine_fn_config_test dlls
/winhttp
/tests winhttp_test
17867 wine_fn_config_dll wininet enable_wininet implib
,po
17868 wine_fn_config_test dlls
/wininet
/tests wininet_test
17869 wine_fn_config_dll winmm enable_winmm implib
,po
17870 wine_fn_config_test dlls
/winmm
/tests winmm_test
17871 wine_fn_config_dll winnls.dll16 enable_win16
17872 wine_fn_config_dll winnls32 enable_winnls32 implib
17873 wine_fn_config_dll winscard enable_winscard implib
17874 wine_fn_config_dll winsock.dll16 enable_win16
17875 wine_fn_config_dll winspool.drv enable_winspool_drv implib
,po winspool
17876 wine_fn_config_test dlls
/winspool.drv
/tests winspool.drv_test
17877 wine_fn_config_dll winsta enable_winsta
17878 wine_fn_config_dll wintab.dll16 enable_win16
17879 wine_fn_config_dll wintab32 enable_wintab32 implib
17880 wine_fn_config_test dlls
/wintab32
/tests wintab32_test
17881 wine_fn_config_dll wintrust enable_wintrust implib
17882 wine_fn_config_test dlls
/wintrust
/tests wintrust_test
17883 wine_fn_config_dll wlanapi enable_wlanapi
17884 wine_fn_config_dll wldap32 enable_wldap32 implib
,po
17885 wine_fn_config_test dlls
/wldap32
/tests wldap32_test
17886 wine_fn_config_dll wmi enable_wmi
17887 wine_fn_config_dll wmiutils enable_wmiutils clean
17888 wine_fn_config_test dlls
/wmiutils
/tests wmiutils_test
17889 wine_fn_config_dll wmp enable_wmp clean
17890 wine_fn_config_test dlls
/wmp
/tests wmp_test
17891 wine_fn_config_dll wmvcore enable_wmvcore
17892 wine_fn_config_dll wnaspi32 enable_wnaspi32 implib
17893 wine_fn_config_dll wow32 enable_win16 implib
17894 wine_fn_config_dll wpcap enable_wpcap
17895 wine_fn_config_dll ws2_32 enable_ws2_32 implib
17896 wine_fn_config_test dlls
/ws2_32
/tests ws2_32_test
17897 wine_fn_config_dll wshom.ocx enable_wshom_ocx clean
17898 wine_fn_config_test dlls
/wshom.ocx
/tests wshom.ocx_test clean
17899 wine_fn_config_dll wsnmp32 enable_wsnmp32 implib
17900 wine_fn_config_test dlls
/wsnmp32
/tests wsnmp32_test
17901 wine_fn_config_dll wsock32 enable_wsock32 implib
17902 wine_fn_config_dll wtsapi32 enable_wtsapi32 implib
17903 wine_fn_config_test dlls
/wtsapi32
/tests wtsapi32_test
17904 wine_fn_config_dll wuapi enable_wuapi clean
17905 wine_fn_config_dll wuaueng enable_wuaueng
17906 wine_fn_config_dll x3daudio1_1 enable_x3daudio1_1
17907 wine_fn_config_dll x3daudio1_2 enable_x3daudio1_2
17908 wine_fn_config_dll x3daudio1_3 enable_x3daudio1_3
17909 wine_fn_config_dll x3daudio1_4 enable_x3daudio1_4
17910 wine_fn_config_dll x3daudio1_5 enable_x3daudio1_5
17911 wine_fn_config_dll x3daudio1_6 enable_x3daudio1_6
17912 wine_fn_config_dll x3daudio1_7 enable_x3daudio1_7
17913 wine_fn_config_dll xapofx1_1 enable_xapofx1_1
17914 wine_fn_config_dll xapofx1_3 enable_xapofx1_3
17915 wine_fn_config_dll xapofx1_4 enable_xapofx1_4
17916 wine_fn_config_dll xapofx1_5 enable_xapofx1_5
17917 wine_fn_config_dll xaudio2_3 enable_xaudio2_3 clean
17918 wine_fn_config_dll xaudio2_4 enable_xaudio2_4 clean
17919 wine_fn_config_dll xaudio2_5 enable_xaudio2_5 clean
17920 wine_fn_config_dll xaudio2_7 enable_xaudio2_7 clean
17921 wine_fn_config_test dlls
/xaudio2_
7/tests xaudio2_7_test
17922 wine_fn_config_dll xaudio2_8 enable_xaudio2_8
17923 wine_fn_config_dll xinput1_1 enable_xinput1_1
17924 wine_fn_config_dll xinput1_2 enable_xinput1_2
17925 wine_fn_config_dll xinput1_3 enable_xinput1_3 implib xinput
17926 wine_fn_config_test dlls
/xinput1_
3/tests xinput1_3_test
17927 wine_fn_config_dll xinput1_4 enable_xinput1_4
17928 wine_fn_config_dll xinput9_1_0 enable_xinput9_1_0
17929 wine_fn_config_dll xmllite enable_xmllite implib
17930 wine_fn_config_test dlls
/xmllite
/tests xmllite_test
17931 wine_fn_config_dll xolehlp enable_xolehlp
17932 wine_fn_config_dll xpsprint enable_xpsprint
17933 wine_fn_config_dll xpssvcs enable_xpssvcs
17934 wine_fn_config_makefile documentation enable_documentation clean
17935 wine_fn_config_makefile fonts enable_fonts clean
,install-lib
17936 wine_fn_config_makefile include enable_include clean
,install-dev
17937 wine_fn_config_makefile libs
/port enable_libs_port
17938 wine_fn_config_makefile libs
/wine enable_libs_wine clean
,install-dev
,install-lib
17939 wine_fn_config_makefile libs
/wpp enable_libs_wpp
17940 wine_fn_config_makefile loader enable_loader clean
,install-lib
,manpage
17941 wine_fn_config_program arp enable_arp
install
17942 wine_fn_config_program aspnet_regiis enable_aspnet_regiis
install
17943 wine_fn_config_program attrib enable_attrib
install,po
17944 wine_fn_config_program cabarc enable_cabarc
install
17945 wine_fn_config_program cacls enable_cacls
install
17946 wine_fn_config_program
clock enable_clock
install,po
17947 wine_fn_config_program cmd enable_cmd
install,po
17948 wine_fn_config_test programs
/cmd
/tests cmd.exe_test
17949 wine_fn_config_program conhost enable_conhost
install
17950 wine_fn_config_program control enable_control
install
17951 wine_fn_config_program cscript enable_cscript clean
,install
17952 wine_fn_config_program dpnsvr enable_dpnsvr
install
17953 wine_fn_config_program dxdiag enable_dxdiag
install,po
17954 wine_fn_config_program eject enable_eject
install
17955 wine_fn_config_program
expand enable_expand
install
17956 wine_fn_config_program explorer enable_explorer
install,po
17957 wine_fn_config_program extrac32 enable_extrac32
install
17958 wine_fn_config_program findstr enable_findstr
install
17959 wine_fn_config_program hh enable_hh
install
17960 wine_fn_config_program hostname enable_hostname
install,po
17961 wine_fn_config_program icinfo enable_icinfo
install
17962 wine_fn_config_program iexplore enable_iexplore
install
17963 wine_fn_config_program ipconfig enable_ipconfig
install,po
17964 wine_fn_config_program lodctr enable_lodctr
install
17965 wine_fn_config_program mofcomp enable_mofcomp
install
17966 wine_fn_config_program mshta enable_mshta
install
17967 wine_fn_config_program msiexec enable_msiexec
install,installbin
,manpage
17968 wine_fn_config_program net enable_net
install,po
17969 wine_fn_config_program netsh enable_netsh
install
17970 wine_fn_config_program netstat enable_netstat
install,po
17971 wine_fn_config_program ngen enable_ngen
install
17972 wine_fn_config_program notepad enable_notepad
install,installbin
,manpage
,po
17973 wine_fn_config_program oleview enable_oleview
install,po
17974 wine_fn_config_program
ping enable_ping
install
17975 wine_fn_config_program plugplay enable_plugplay
install
17976 wine_fn_config_program presentationfontcache enable_presentationfontcache
install
17977 wine_fn_config_program progman enable_progman
install,po
17978 wine_fn_config_program reg enable_reg
install,po
17979 wine_fn_config_test programs
/reg
/tests reg.exe_test
17980 wine_fn_config_program regasm enable_regasm
install
17981 wine_fn_config_program regedit enable_regedit
install,installbin
,manpage
,po
17982 wine_fn_config_test programs
/regedit
/tests regedit.exe_test
17983 wine_fn_config_program regsvcs enable_regsvcs
install
17984 wine_fn_config_program regsvr32 enable_regsvr32
install,installbin
,manpage
,po
17985 wine_fn_config_program rpcss enable_rpcss clean
,install
17986 wine_fn_config_program rundll.exe16 enable_win16
install
17987 wine_fn_config_program rundll32 enable_rundll32
install
17988 wine_fn_config_program sc enable_sc
install
17989 wine_fn_config_program schtasks enable_schtasks
install
17990 wine_fn_config_program sdbinst enable_sdbinst
install
17991 wine_fn_config_program secedit enable_secedit
install
17992 wine_fn_config_program servicemodelreg enable_servicemodelreg
install
17993 wine_fn_config_program services enable_services clean
,install
17994 wine_fn_config_test programs
/services
/tests services.exe_test
17995 wine_fn_config_program spoolsv enable_spoolsv
install
17996 wine_fn_config_program start enable_start
install,po
17997 wine_fn_config_program svchost enable_svchost
install
17998 wine_fn_config_program systeminfo enable_systeminfo
install
17999 wine_fn_config_program taskkill enable_taskkill
install,po
18000 wine_fn_config_program tasklist enable_tasklist
install
18001 wine_fn_config_program taskmgr enable_taskmgr
install,po
18002 wine_fn_config_program termsv enable_termsv
install
18003 wine_fn_config_program uninstaller enable_uninstaller
install,po
18004 wine_fn_config_program unlodctr enable_unlodctr
install
18005 wine_fn_config_program view enable_view
install,po
18006 wine_fn_config_program wevtutil enable_wevtutil
install
18007 wine_fn_config_program wineboot enable_wineboot
install,installbin
,manpage
,po
18008 wine_fn_config_program winebrowser enable_winebrowser
install
18009 wine_fn_config_program winecfg enable_winecfg
install,installbin
,manpage
,po
18010 wine_fn_config_program wineconsole enable_wineconsole
install,installbin
,manpage
,po
18011 wine_fn_config_program winedbg enable_winedbg
install,installbin
,manpage
,po
18012 wine_fn_config_program winedevice enable_winedevice
install
18013 wine_fn_config_program winefile enable_winefile
install,installbin
,manpage
,po
18014 wine_fn_config_program winemenubuilder enable_winemenubuilder
install
18015 wine_fn_config_program winemine enable_winemine
install,installbin
,manpage
,po
18016 wine_fn_config_program winemsibuilder enable_winemsibuilder
install
18017 wine_fn_config_program winepath enable_winepath
install,installbin
,manpage
18018 wine_fn_config_program winetest enable_winetest clean
18019 wine_fn_config_program winevdm enable_win16
install
18020 wine_fn_config_program winhelp.exe16 enable_win16
install
18021 wine_fn_config_program winhlp32 enable_winhlp32
install,po
18022 wine_fn_config_program winoldap.mod16 enable_win16
install
18023 wine_fn_config_program winver enable_winver
install
18024 wine_fn_config_program wmic enable_wmic
install,po
18025 wine_fn_config_program wordpad enable_wordpad
install,po
18026 wine_fn_config_program
write enable_write
install,po
18027 wine_fn_config_program wscript enable_wscript clean
,install
18028 wine_fn_config_test programs
/wscript
/tests wscript.exe_test
18029 wine_fn_config_program wusa enable_wusa
install
18030 wine_fn_config_program xcopy enable_xcopy
install,po
18031 wine_fn_config_test programs
/xcopy
/tests xcopy.exe_test
18032 wine_fn_config_makefile server enable_server clean
,install-lib
,manpage
18033 wine_fn_config_tool tools clean
,install-dev
,install-lib
,manpage
18034 wine_fn_config_tool tools
/sfnt2fon clean
18035 wine_fn_config_tool tools
/widl clean
,install-dev
,manpage
18036 wine_fn_config_tool tools
/winebuild clean
,install-dev
,manpage
18037 wine_fn_config_tool tools
/winedump clean
,install-dev
,manpage
18038 wine_fn_config_tool tools
/winegcc clean
,install-dev
,manpage
18039 wine_fn_config_tool tools
/wmc clean
,install-dev
,manpage
18040 wine_fn_config_tool tools
/wrc clean
,install-dev
,manpage
18092 wine_fn_ignore_file
".gitignore"
18093 wine_fn_ignore_file
"Makefile"
18094 wine_fn_ignore_file
"TAGS"
18095 wine_fn_ignore_file
"tags"
18096 wine_fn_ignore_file
"autom4te.cache"
18097 wine_fn_ignore_file
"config.cache"
18098 wine_fn_ignore_file
"config.log"
18099 wine_fn_ignore_file
"config.status"
18100 wine_fn_ignore_file
"configure.lineno"
18101 wine_fn_ignore_file
"include/config.h"
18102 wine_fn_ignore_file
"include/stamp-h"
18103 test "$wine_binary" = wine || wine_fn_ignore_file
"loader/wine"
18105 if test "x$enable_tools" != xno
18107 wine_fn_ignore_file
"tools/makedep$ac_exeext"
18108 ac_config_commands
="$ac_config_commands tools/makedep"
18112 ac_config_commands
="$ac_config_commands Makefile"
18115 ac_config_files
="$ac_config_files Make.tmp:Make.vars.in:Makefile.in"
18119 if test "x$enable_maintainer_mode" = xyes
18121 wine_fn_append_rule
"configure: configure.ac aclocal.m4
18122 autoconf --warnings=all
18123 include/config.h.in: include/stamp-h.in
18124 include/stamp-h.in: configure.ac aclocal.m4
18125 autoheader --warnings=all
18126 @echo timestamp > \$@"
18129 if test "x$with_gettextpo" = xyes
18131 test "$srcdir" = . || as_fn_error $?
"Rebuilding po files is not supported for out of tree builds." "$LINENO" 5
18132 wine_fn_append_rule
"ALL_POT_FILES =$ALL_POT_FILES
18133 \$(LINGUAS:%=po/%.po): po/wine.pot
18134 msgmerge --previous -q \$@ po/wine.pot | msgattrib --no-obsolete -o \$@.new && mv \$@.new \$@
18135 po/wine.pot: \$(ALL_POT_FILES)
18136 msgcat -o \$@ \$(ALL_POT_FILES)"
18139 if test "$MSGFMT" != false
18141 wine_fn_append_rule
"__builddeps__: \$(LINGUAS:%=po/%.mo)
18143 \$(RM) \$(LINGUAS:%=po/%.mo)"
18146 test "$srcdir" = . || posrc
="$srcdir/po"
18149 wine_fn_ignore_file
"po/$i.mo"
18150 wine_fn_append_rule
"po/$i.mo: $posrc/$i.po
18151 \$(MSGFMT) -o \$@ $posrc/$i.po"
18157 if test "x$enable_tools" != xno
18159 wine_fn_append_rule
"tools/makedep$ac_exeext: $srcdir/tools/makedep.c include/config.h config.status
18160 @./config.status tools/makedep
18161 Makefile: tools/makedep$ac_exeext
18163 \$(RM) tools/makedep$ac_exeext"
18165 wine_fn_append_rule
"\$(MAKEDEP):
18166 @echo \"You need to run make in $TOOLSDIR first\" && false"
18169 if test -n "$with_wine64"
18171 wine_fn_append_rule
"all: fonts server tools $with_wine64/loader/wine $with_wine64/loader/wine-preloader
18172 fonts server tools:
18173 \$(RM) \$@ && \$(LN_S) $with_wine64/\$@ \$@
18174 $with_wine64/loader/wine:
18175 \$(RM) \$@ && \$(LN_S) $ac_pwd/loader/wine \$@
18176 $with_wine64/loader/wine-preloader:
18177 \$(RM) \$@ && \$(LN_S) $ac_pwd/loader/wine-preloader \$@
18179 \$(RM) fonts server tools $with_wine64/loader/wine $with_wine64/loader/wine-preloader"
18181 as_fn_append LOADER_RULES
"
18182 install install-lib:: wine.inf install-man-pages
18183 \$(INSTALL_DATA) wine.inf \$(DESTDIR)\$(datadir)/wine/wine.inf
18184 \$(INSTALL_DATA) \$(srcdir)/l_intl.nls \$(DESTDIR)\$(datadir)/wine/l_intl.nls
18187 \$(RM) \$(DESTDIR)\$(datadir)/wine/wine.inf \$(DESTDIR)\$(datadir)/wine/l_intl.nls
18191 if test "$srcdir" = .
18193 ac_config_commands
="$ac_config_commands .gitignore"
18197 $as_echo " done" >&6
18198 cat >confcache
<<\_ACEOF
18199 # This file is a shell script that caches the results of configure
18200 # tests run on this system so they can be shared between configure
18201 # scripts and configure runs, see configure's option --config-cache.
18202 # It is not useful on other systems. If it contains results you don't
18203 # want to keep, you may remove or edit it.
18205 # config.status only pays attention to the cache file if you give it
18206 # the --recheck option to rerun configure.
18208 # `ac_cv_env_foo' variables (set or unset) will be overridden when
18209 # loading this file, other *unset* `ac_cv_foo' will be assigned the
18210 # following values.
18214 # The following way of writing the cache mishandles newlines in values,
18215 # but we know of no workaround that is simple, portable, and efficient.
18216 # So, we kill variables containing newlines.
18217 # Ultrix sh set writes to stderr and can't be redirected directly,
18218 # and sets the high bit in the cache file unless we assign to the vars.
18220 for ac_var
in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
18221 eval ac_val
=\$
$ac_var
18225 *_cv_
*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
18226 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
18229 _ | IFS | as_nl
) ;; #(
18230 BASH_ARGV | BASH_SOURCE
) eval $ac_var= ;; #(
18231 *) { eval $ac_var=; unset $ac_var;} ;;
18237 case $as_nl`(ac_space=' '; set) 2>&1` in #(
18238 *${as_nl}ac_space
=\
*)
18239 # `set' does not quote correctly, so add quotes: double-quote
18240 # substitution turns \\\\ into \\, and sed turns \\ into \.
18243 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
18246 # `set' quotes correctly as required by POSIX, so do not add quotes.
18247 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
18256 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
18258 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
18260 if diff "$cache_file" confcache
>/dev
/null
2>&1; then :; else
18261 if test -w "$cache_file"; then
18262 if test "x$cache_file" != "x/dev/null"; then
18263 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
18264 $as_echo "$as_me: updating cache $cache_file" >&6;}
18265 if test ! -f "$cache_file" ||
test -h "$cache_file"; then
18266 cat confcache
>"$cache_file"
18268 case $cache_file in #(
18270 mv -f confcache
"$cache_file"$$
&&
18271 mv -f "$cache_file"$$
"$cache_file" ;; #(
18273 mv -f confcache
"$cache_file" ;;
18278 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
18279 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
18284 test "x$prefix" = xNONE
&& prefix
=$ac_default_prefix
18285 # Let make expand exec_prefix.
18286 test "x$exec_prefix" = xNONE
&& exec_prefix
='${prefix}'
18288 DEFS
=-DHAVE_CONFIG_H
18293 for ac_i
in : $LIBOBJS; do test "x$ac_i" = x
: && continue
18294 # 1. Remove the extension, and $U if already installed.
18295 ac_script
='s/\$U\././;s/\.o$//;s/\.obj$//'
18296 ac_i
=`$as_echo "$ac_i" | sed "$ac_script"`
18297 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
18298 # will be set to the directory where LIBOBJS objects are built.
18299 as_fn_append ac_libobjs
" \${LIBOBJDIR}$ac_i\$U.$ac_objext"
18300 as_fn_append ac_ltlibobjs
" \${LIBOBJDIR}$ac_i"'$U.lo'
18302 LIBOBJS
=$ac_libobjs
18304 LTLIBOBJS
=$ac_ltlibobjs
18308 : "${CONFIG_STATUS=./config.status}"
18310 ac_clean_files_save
=$ac_clean_files
18311 ac_clean_files
="$ac_clean_files $CONFIG_STATUS"
18312 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
18313 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
18315 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
18317 # Generated by $as_me.
18318 # Run this file to recreate the current configuration.
18319 # Compiler output produced by configure, useful for debugging
18320 # configure, is in config.log if it exists.
18323 ac_cs_recheck=false
18326 SHELL=\${CONFIG_SHELL-$SHELL}
18329 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail
=1
18330 ## -------------------- ##
18331 ## M4sh Initialization. ##
18332 ## -------------------- ##
18334 # Be more Bourne compatible
18335 DUALCASE
=1; export DUALCASE
# for MKS sh
18336 if test -n "${ZSH_VERSION+set}" && (emulate sh
) >/dev
/null
2>&1; then :
18339 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
18340 # is contrary to our usage. Disable this feature.
18341 alias -g '${1+"$@"}'='"$@"'
18342 setopt NO_GLOB_SUBST
18344 case `(set -o) 2>/dev/null` in #(
18356 # Printing a long string crashes Solaris 7 /usr/bin/printf.
18357 as_echo
='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
18358 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
18359 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
18360 # Prefer a ksh shell builtin over an external printf program on Solaris,
18361 # but without wasting forks for bash or zsh.
18362 if test -z "$BASH_VERSION$ZSH_VERSION" \
18363 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
18364 as_echo='print
-r --'
18365 as_echo_n='print
-rn --'
18366 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
18367 as_echo='printf %s
\n'
18368 as_echo_n='printf %s
'
18370 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
18371 as_echo_body='eval /usr
/ucb
/echo -n "$1$as_nl"'
18372 as_echo_n='/usr
/ucb
/echo -n'
18374 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
18375 as_echo_n_body='eval
18379 expr "X$arg" : "X\\(.*\\)$as_nl";
18380 arg
=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
18382 expr "X$arg" : "X\\(.*\\)" |
tr -d "$as_nl"
18384 export as_echo_n_body
18385 as_echo_n='sh
-c $as_echo_n_body as_echo
'
18387 export as_echo_body
18388 as_echo='sh
-c $as_echo_body as_echo
'
18391 # The user is always right.
18392 if test "${PATH_SEPARATOR+set}" != set; then
18394 (PATH='/bin
;/bin
'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
18395 (PATH='/bin
:/bin
'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
18402 # We need space, tab and new line, in precisely that order. Quoting is
18403 # there to prevent editors from complaining about space-tab.
18404 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
18405 # splitting by setting IFS to empty value.)
18408 # Find who we are. Look in the path if we contain no directory separator.
18411 *[\\/]* ) as_myself=$0 ;;
18412 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
18413 for as_dir in $PATH
18416 test -z "$as_dir" && as_dir=.
18417 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
18423 # We did not find ourselves, most probably we were run as `sh COMMAND'
18424 # in which case we are not to be found in the path.
18425 if test "x$as_myself" = x
; then
18428 if test ! -f "$as_myself"; then
18429 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
18433 # Unset variables that we do not need and which cause bugs (e.g. in
18434 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
18435 # suppresses any "Segmentation fault" message there. '((' could
18436 # trigger a bug in pdksh 5.2.14.
18437 for as_var
in BASH_ENV ENV MAIL MAILPATH
18438 do eval test x\
${$as_var+set} = xset \
18439 && ( (unset $as_var) ||
exit 1) >/dev
/null
2>&1 && unset $as_var ||
:
18452 (unset CDPATH
) >/dev
/null
2>&1 && unset CDPATH
18455 # as_fn_error STATUS ERROR [LINENO LOG_FD]
18456 # ----------------------------------------
18457 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
18458 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
18459 # script with STATUS, using 1 if that was 0.
18462 as_status
=$1; test $as_status -eq 0 && as_status
=1
18464 as_lineno
=${as_lineno-"$3"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
18465 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
18467 $as_echo "$as_me: error: $2" >&2
18468 as_fn_exit
$as_status
18472 # as_fn_set_status STATUS
18473 # -----------------------
18474 # Set $? to STATUS, without forking.
18475 as_fn_set_status
()
18478 } # as_fn_set_status
18480 # as_fn_exit STATUS
18481 # -----------------
18482 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
18486 as_fn_set_status
$1
18492 # Portably unset VAR.
18495 { eval $1=; unset $1;}
18497 as_unset
=as_fn_unset
18498 # as_fn_append VAR VALUE
18499 # ----------------------
18500 # Append the text in VALUE to the end of the definition contained in VAR. Take
18501 # advantage of any shell optimizations that allow amortized linear growth over
18502 # repeated appends, instead of the typical quadratic growth present in naive
18504 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev
/null
; then :
18505 eval 'as_fn_append ()
18516 # as_fn_arith ARG...
18517 # ------------------
18518 # Perform arithmetic evaluation on the ARGs, and store the result in the
18519 # global $as_val. Take advantage of shells that can avoid forks. The arguments
18520 # must be portable across $(()) and expr.
18521 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev
/null
; then :
18522 eval 'as_fn_arith ()
18529 as_val
=`expr "$@" || test $? -eq 1`
18534 if expr a
: '\(a\)' >/dev
/null
2>&1 &&
18535 test "X`expr 00001 : '.*\(...\)'`" = X001
; then
18541 if (basename -- /) >/dev
/null
2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
18542 as_basename
=basename
18547 if (as_dir
=`dirname -- /` && test "X$as_dir" = X
/) >/dev
/null
2>&1; then
18553 as_me
=`$as_basename -- "$0" ||
18554 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
18555 X"$0" : 'X\(//\)$' \| \
18556 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
18558 sed '/^.*\/\([^/][^/]*\)\/*$/{
18572 # Avoid depending upon Character Ranges.
18573 as_cr_letters
='abcdefghijklmnopqrstuvwxyz'
18574 as_cr_LETTERS
='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
18575 as_cr_Letters
=$as_cr_letters$as_cr_LETTERS
18576 as_cr_digits
='0123456789'
18577 as_cr_alnum
=$as_cr_Letters$as_cr_digits
18579 ECHO_C
= ECHO_N
= ECHO_T
=
18580 case `echo -n x` in #(((((
18582 case `echo 'xy\c'` in
18583 *c
*) ECHO_T
=' ';; # ECHO_T is single tab character.
18585 *) echo `echo ksh88 bug on AIX 6.1` > /dev
/null
18592 rm -f conf$$ conf$$.exe conf$$.
file
18593 if test -d conf$$.dir
; then
18594 rm -f conf$$.dir
/conf$$.
file
18597 mkdir conf$$.dir
2>/dev
/null
18599 if (echo >conf$$.
file) 2>/dev
/null
; then
18600 if ln -s conf$$.
file conf$$
2>/dev
/null
; then
18602 # ... but there are two gotchas:
18603 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
18604 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
18605 # In both cases, we have to default to `cp -pR'.
18606 ln -s conf$$.
file conf$$.dir
2>/dev
/null
&& test ! -f conf$$.exe ||
18608 elif ln conf$$.
file conf$$
2>/dev
/null
; then
18616 rm -f conf$$ conf$$.exe conf$$.dir
/conf$$.
file conf$$.
file
18617 rmdir conf$$.dir
2>/dev
/null
18622 # Create "$as_dir" as a directory, including parents if necessary.
18627 -*) as_dir
=.
/$as_dir;;
18629 test -d "$as_dir" ||
eval $as_mkdir_p ||
{
18633 *\'*) as_qdir
=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
18634 *) as_qdir
=$as_dir;;
18636 as_dirs
="'$as_qdir' $as_dirs"
18637 as_dir
=`$as_dirname -- "$as_dir" ||
18638 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
18639 X"$as_dir" : 'X\(//\)[^/]' \| \
18640 X"$as_dir" : 'X\(//\)$' \| \
18641 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
18642 $as_echo X"$as_dir" |
18643 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
18647 /^X\(\/\/\)[^/].*/{
18660 test -d "$as_dir" && break
18662 test -z "$as_dirs" ||
eval "mkdir $as_dirs"
18663 } ||
test -d "$as_dir" || as_fn_error $?
"cannot create directory $as_dir"
18667 if mkdir
-p .
2>/dev
/null
; then
18668 as_mkdir_p
='mkdir -p "$as_dir"'
18670 test -d .
/-p && rmdir .
/-p
18675 # as_fn_executable_p FILE
18676 # -----------------------
18677 # Test if FILE is an executable regular file.
18678 as_fn_executable_p
()
18680 test -f "$1" && test -x "$1"
18681 } # as_fn_executable_p
18682 as_test_x
='test -x'
18683 as_executable_p
=as_fn_executable_p
18685 # Sed expression to map a string onto a valid CPP name.
18686 as_tr_cpp
="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
18688 # Sed expression to map a string onto a valid variable name.
18689 as_tr_sh
="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
18693 ## ----------------------------------- ##
18694 ## Main body of $CONFIG_STATUS script. ##
18695 ## ----------------------------------- ##
18697 test $as_write_fail = 0 && chmod +x
$CONFIG_STATUS || ac_write_fail
=1
18699 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
18700 # Save the log message, to keep $0 and so on meaningful, and to
18701 # report actual input values of CONFIG_FILES etc. instead of their
18702 # values after options handling.
18704 This file was extended by Wine $as_me 1.7.52, which was
18705 generated by GNU Autoconf 2.69. Invocation command line was
18707 CONFIG_FILES = $CONFIG_FILES
18708 CONFIG_HEADERS = $CONFIG_HEADERS
18709 CONFIG_LINKS = $CONFIG_LINKS
18710 CONFIG_COMMANDS = $CONFIG_COMMANDS
18713 on `(hostname || uname -n) 2>/dev/null | sed 1q`
18718 case $ac_config_files in *"
18719 "*) set x
$ac_config_files; shift; ac_config_files
=$
*;;
18722 case $ac_config_headers in *"
18723 "*) set x
$ac_config_headers; shift; ac_config_headers
=$
*;;
18727 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
18728 # Files that config.status was made for.
18729 config_files="$ac_config_files"
18730 config_headers="$ac_config_headers"
18731 config_links="$ac_config_links"
18732 config_commands="$ac_config_commands"
18736 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
18738 \`$as_me' instantiates files and other configuration actions
18739 from templates according to the current configuration. Unless the files
18740 and actions are specified as TAGs, all are instantiated by default.
18742 Usage: $0 [OPTION]... [TAG]...
18744 -h, --help print this help, then exit
18745 -V, --version print version number and configuration settings, then exit
18746 --config print configuration, then exit
18747 -q, --quiet, --silent
18748 do not print progress messages
18749 -d, --debug don't remove temporary files
18750 --recheck update $as_me by reconfiguring in the same conditions
18751 --file=FILE[:TEMPLATE]
18752 instantiate the configuration file FILE
18753 --header=FILE[:TEMPLATE]
18754 instantiate the configuration header FILE
18756 Configuration files:
18759 Configuration headers:
18762 Configuration links:
18765 Configuration commands:
18768 Report bugs to <wine-devel@winehq.org>.
18769 Wine home page: <http://www.winehq.org>."
18772 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
18773 ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
18775 Wine config.status 1.7.52
18776 configured by $0, generated by GNU Autoconf 2.69,
18777 with options \\"\$ac_cs_config\\"
18779 Copyright (C) 2012 Free Software Foundation, Inc.
18780 This config.status script is free software; the Free Software Foundation
18781 gives unlimited permission to copy, distribute and modify it."
18785 test -n "\$AWK" || AWK=awk
18788 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
18789 # The default lists apply if the user does not specify any file.
18795 ac_option
=`expr "X$1" : 'X\([^=]*\)='`
18796 ac_optarg
=`expr "X$1" : 'X[^=]*=\(.*\)'`
18800 ac_option
=`expr "X$1" : 'X\([^=]*\)='`
18812 # Handling of the options.
18813 -recheck |
--recheck |
--rechec |
--reche |
--rech |
--rec |
--re |
--r)
18815 --version |
--versio |
--versi |
--vers |
--ver |
--ve |
--v |
-V )
18816 $as_echo "$ac_cs_version"; exit ;;
18817 --config |
--confi |
--conf |
--con |
--co |
--c )
18818 $as_echo "$ac_cs_config"; exit ;;
18819 --debug |
--debu |
--deb |
--de |
--d |
-d )
18821 --file |
--fil |
--fi |
--f )
18824 *\'*) ac_optarg
=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
18825 '') as_fn_error $?
"missing file argument" ;;
18827 as_fn_append CONFIG_FILES
" '$ac_optarg'"
18828 ac_need_defaults
=false
;;
18829 --header |
--heade |
--head |
--hea )
18832 *\'*) ac_optarg
=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
18834 as_fn_append CONFIG_HEADERS
" '$ac_optarg'"
18835 ac_need_defaults
=false
;;
18837 # Conflict between --help and --header
18838 as_fn_error $?
"ambiguous option: \`$1'
18839 Try \`$0 --help' for more information.";;
18840 --help |
--hel |
-h )
18841 $as_echo "$ac_cs_usage"; exit ;;
18842 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
18843 |
-silent |
--silent |
--silen |
--sile |
--sil |
--si |
--s)
18846 # This is an error.
18847 -*) as_fn_error $?
"unrecognized option: \`$1'
18848 Try \`$0 --help' for more information." ;;
18850 *) as_fn_append ac_config_targets
" $1"
18851 ac_need_defaults
=false
;;
18857 ac_configure_extra_args
=
18859 if $ac_cs_silent; then
18861 ac_configure_extra_args
="$ac_configure_extra_args --silent"
18865 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
18866 if \$ac_cs_recheck; then
18867 set X $SHELL '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
18869 \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
18870 CONFIG_SHELL='$SHELL'
18871 export CONFIG_SHELL
18876 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
18880 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
18881 ## Running $as_me. ##
18887 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
18891 wine_fn_output_makedep ()
18893 as_dir=tools; as_fn_mkdir_p
18894 $CC -Iinclude -I$srcdir/include -D__WINESRC__ $EXTRACFLAGS $CPPFLAGS $CFLAGS -o tools/makedep$ac_exeext $srcdir/tools/makedep.c $LDFLAGS
18896 wine_fn_output_makefile ()
18898 cat Make.tmp - <<\_WINE_EOF >\$tmp/makefile && mv -f \$tmp/makefile \$1 && rm -f Make.tmp && "$wine_makedep" . && return
18899 `cat $wine_rules_file`
18901 as_fn_error $? "could not create Makefile" "$LINENO" 5
18903 wine_fn_output_gitignore ()
18905 sort <<\_WINE_EOF >\$tmp/gitignore && mv -f \$tmp/gitignore \$1 && return
18908 as_fn_error $? "could not create .gitignore" "$LINENO" 5
18913 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
18915 # Handling of arguments.
18916 for ac_config_target
in $ac_config_targets
18918 case $ac_config_target in
18919 "include/config.h") CONFIG_HEADERS
="$CONFIG_HEADERS include/config.h" ;;
18920 "include/stamp-h") CONFIG_COMMANDS
="$CONFIG_COMMANDS include/stamp-h" ;;
18921 "fonts/marlett.ttf") CONFIG_LINKS
="$CONFIG_LINKS fonts/marlett.ttf:fonts/marlett.ttf" ;;
18922 "fonts/symbol.ttf") CONFIG_LINKS
="$CONFIG_LINKS fonts/symbol.ttf:fonts/symbol.ttf" ;;
18923 "fonts/tahoma.ttf") CONFIG_LINKS
="$CONFIG_LINKS fonts/tahoma.ttf:fonts/tahoma.ttf" ;;
18924 "fonts/tahomabd.ttf") CONFIG_LINKS
="$CONFIG_LINKS fonts/tahomabd.ttf:fonts/tahomabd.ttf" ;;
18925 "fonts/wingding.ttf") CONFIG_LINKS
="$CONFIG_LINKS fonts/wingding.ttf:fonts/wingding.ttf" ;;
18926 "loader/l_intl.nls") CONFIG_LINKS
="$CONFIG_LINKS loader/l_intl.nls:loader/l_intl.nls" ;;
18927 "po/LINGUAS") CONFIG_LINKS
="$CONFIG_LINKS po/LINGUAS:po/LINGUAS" ;;
18928 "wine") CONFIG_LINKS
="$CONFIG_LINKS wine:tools/winewrapper" ;;
18929 "wine64") CONFIG_LINKS
="$CONFIG_LINKS wine64:tools/winewrapper" ;;
18930 "tools/makedep") CONFIG_COMMANDS
="$CONFIG_COMMANDS tools/makedep" ;;
18931 "Makefile") CONFIG_COMMANDS
="$CONFIG_COMMANDS Makefile" ;;
18932 "Make.tmp") CONFIG_FILES
="$CONFIG_FILES Make.tmp:Make.vars.in:Makefile.in" ;;
18933 ".gitignore") CONFIG_COMMANDS
="$CONFIG_COMMANDS .gitignore" ;;
18935 *) as_fn_error $?
"invalid argument: \`$ac_config_target'" "$LINENO" 5;;
18940 # If the user did not use the arguments to specify the items to instantiate,
18941 # then the envvar interface is used. Set only those that are not.
18942 # We use the long form for the default assignment because of an extremely
18943 # bizarre bug on SunOS 4.1.3.
18944 if $ac_need_defaults; then
18945 test "${CONFIG_FILES+set}" = set || CONFIG_FILES
=$config_files
18946 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS
=$config_headers
18947 test "${CONFIG_LINKS+set}" = set || CONFIG_LINKS
=$config_links
18948 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS
=$config_commands
18951 # Have a temporary directory for convenience. Make it in the build tree
18952 # simply because there is no reason against having it here, and in addition,
18953 # creating and moving files from /tmp can sometimes cause problems.
18954 # Hook for its removal unless debugging.
18955 # Note that there is a small window in which the directory will not be cleaned:
18956 # after its creation but before its name has been assigned to `$tmp'.
18960 trap 'exit_status=$?
18961 : "${ac_tmp:=$tmp}"
18962 { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
18964 trap 'as_fn_exit 1' 1 2 13 15
18966 # Create a (secure) tmp directory for tmp files.
18969 tmp
=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
18973 tmp
=.
/conf$$
-$RANDOM
18974 (umask 077 && mkdir
"$tmp")
18975 } || as_fn_error $?
"cannot create a temporary directory in ." "$LINENO" 5
18978 # Set up the scripts for CONFIG_FILES section.
18979 # No need to generate them if there are no CONFIG_FILES.
18980 # This happens for instance with `./config.status config.h'.
18981 if test -n "$CONFIG_FILES"; then
18984 ac_cr
=`echo X | tr X '\015'`
18985 # On cygwin, bash can eat \r inside `` if the user requested igncr.
18986 # But we know of no other shell where ac_cr would be empty at this
18987 # point, so we can use a bashism as a fallback.
18988 if test "x$ac_cr" = x
; then
18989 eval ac_cr
=\$
\'\\r
\'
18991 ac_cs_awk_cr
=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
18992 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
18995 ac_cs_awk_cr
=$ac_cr
18998 echo 'BEGIN {' >"$ac_tmp/subs1.awk" &&
19003 echo "cat >conf$$subs.awk <<_ACEOF" &&
19004 echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
19006 } >conf$$subs.sh ||
19007 as_fn_error $? "could not
make $CONFIG_STATUS" "$LINENO" 5
19008 ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
19010 for ac_last_try in false false false false false :; do
19011 . ./conf$$subs.sh ||
19012 as_fn_error $? "could not
make $CONFIG_STATUS" "$LINENO" 5
19014 ac_delim_n=`sed -n "s
/.
*$ac_delim\$
/X
/p
" conf$$subs.awk | grep -c X`
19015 if test $ac_delim_n = $ac_delim_num; then
19017 elif $ac_last_try; then
19018 as_fn_error $? "could not
make $CONFIG_STATUS" "$LINENO" 5
19020 ac_delim="$ac_delim!$ac_delim _
$ac_delim!! "
19023 rm -f conf$$subs.sh
19025 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
19026 cat >>"\
$ac_tmp/subs1.
awk" <<\\_ACAWK &&
19030 s/^/S["/; s
/!.
*/"]=/
19040 s/\(.\{148\}\)..*/\1/
19042 s/["\\]/\\&/g
; s
/^
/"/; s/$/\\n"\\/
19047 s
/["\\]/\\&/g; s/^/"/; s
/$
/"\\/
19054 s/\(.\{148\}\)..*/\1/
19056 s/["\\]/\\&/g
; s
/^
/"/; s/$/"/
19060 s
/["\\]/\\&/g; s/^/"/; s
/$
/"\\/
19065 ' <conf$$subs.awk | sed '
19070 ' >>$CONFIG_STATUS || ac_write_fail=1
19071 rm -f conf$$subs.awk
19072 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
19074 cat >>"\
$ac_tmp/subs1.
awk" <<_ACAWK &&
19075 for (key in S) S_is_set[key] = 1
19081 nfields = split(line, field, "@
")
19083 len = length(field[1])
19084 for (i = 2; i < nfields; i++) {
19086 keylen = length(key)
19087 if (S_is_set[key]) {
19089 line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
19090 len += length(value) + length(field[++i])
19101 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
19102 if sed "s
/$ac_cr//" < /dev/null > /dev/null 2>&1; then
19103 sed "s
/$ac_cr\$
//; s
/$ac_cr/$ac_cs_awk_cr/g
"
19106 fi < "$ac_tmp/subs1.
awk" > "$ac_tmp/subs.
awk" \
19107 || as_fn_error $? "could not setup config files machinery
" "$LINENO" 5
19110 # VPATH may cause trouble with some makes, so we remove sole $(srcdir),
19111 # ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".
", strip leading and
19112 # trailing colons and then remove the whole line if VPATH becomes empty
19113 # (actually we leave an empty line to preserve line numbers).
19114 if test "x
$srcdir" = x.; then
19115 ac_vpsub='/^[ ]*VPATH[ ]*=[ ]*/{
19133 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
19134 fi # test -n "$CONFIG_FILES"
19136 # Set up the scripts for CONFIG_HEADERS section.
19137 # No need to generate them if there are no CONFIG_HEADERS.
19138 # This happens for instance with `./config.status Makefile'.
19139 if test -n "$CONFIG_HEADERS"; then
19140 cat >"$ac_tmp/defines.
awk" <<\_ACAWK ||
19144 # Transform confdefs.h into an awk script `defines.awk', embedded as
19145 # here-document in config.status, that substitutes the proper values into
19146 # config.h.in to produce config.h.
19148 # Create a delimiter string that does not exist in confdefs.h, to ease
19149 # handling of long lines.
19151 for ac_last_try in false false :; do
19152 ac_tt=`sed -n "/$ac_delim/p
" confdefs.h`
19153 if test -z "$ac_tt"; then
19155 elif $ac_last_try; then
19156 as_fn_error $? "could not
make $CONFIG_HEADERS" "$LINENO" 5
19158 ac_delim="$ac_delim!$ac_delim _
$ac_delim!! "
19162 # For the awk script, D is an array of macro values keyed by name,
19163 # likewise P contains macro parameters if any. Preserve backslash
19164 # newline sequences.
19166 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
19168 s/.\{148\}/&'"$ac_delim"'/g
19171 s/^[ ]*#[ ]*define[ ][ ]*/ /
19178 s
/^ \
('"$ac_word_re"'\
)\
(([^
()]*)\
)[ ]*\
(.
*\
)/P
["\1"]="\2"\
19180 s
/^ \
('"$ac_word_re"'\
)[ ]*\
(.
*\
)/D
["\1"]=" \2"/p
19184 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\
1"]="\
2"\
19185 D["\
1"]=" \
3\\\\\\n
"\\/p
19187 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\
1"]=" \
2\\\\\\n
"\\/p
19192 s/.\{148\}/&'"$ac_delim"'/g
19197 s/["\\]/\\&/g
; s
/^
/"/; s/$/"/p
19200 s
/["\\]/\\&/g; s/^/"/; s
/$
/\\\\\\n
"\\/p
19202 ' <confdefs.h | sed '
19203 s/'"$ac_delim"'/"\\\
19204 "/g' >>$CONFIG_STATUS || ac_write_fail=1
19206 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
19207 for (key in D) D_is_set[key] = 1
19210 /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
19212 split(line, arg, " ")
19213 if (arg[1] == "#") {
19217 defundef
= substr
(arg
[1], 2)
19220 split(mac1
, mac2
, "(") #)
19222 prefix
= substr
(line
, 1, index
(line
, defundef
) - 1)
19223 if (D_is_set
[macro
]) {
19224 # Preserve the white space surrounding the "#".
19225 print prefix
"define", macro P
[macro
] D
[macro
]
19228 # Replace #undef with comments. This is necessary, for example,
19229 # in the case of _POSIX_SOURCE, which is predefined and required
19230 # on some systems where configure will not decide to define it.
19231 if (defundef
== "undef") {
19232 print
"/*", prefix defundef
, macro
, "*/"
19240 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
19241 as_fn_error $?
"could not setup config headers machinery" "$LINENO" 5
19242 fi # test -n "$CONFIG_HEADERS"
19245 eval set X
" :F $CONFIG_FILES :H $CONFIG_HEADERS :L $CONFIG_LINKS :C $CONFIG_COMMANDS"
19250 :[FHLC
]) ac_mode
=$ac_tag; continue;;
19252 case $ac_mode$ac_tag in
19254 :L
* |
:C
*:*) as_fn_error $?
"invalid tag \`$ac_tag'" "$LINENO" 5;;
19255 :[FH
]-) ac_tag
=-:-;;
19256 :[FH
]*) ac_tag
=$ac_tag:$ac_tag.
in;;
19273 -) ac_f
="$ac_tmp/stdin";;
19274 *) # Look for the file first in the build tree, then in the source tree
19275 # (if the path is not absolute). The absolute path cannot be DOS-style,
19276 # because $ac_f cannot contain `:'.
19280 *) test -f "$srcdir/$ac_f" && ac_f
="$srcdir/$ac_f";;
19282 as_fn_error
1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
19284 case $ac_f in *\'*) ac_f
=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
19285 as_fn_append ac_file_inputs
" '$ac_f'"
19288 # Let's still pretend it is `configure' which instantiates (i.e., don't
19289 # use $as_me), people would be surprised to read:
19290 # /* config.h. Generated by config.status. */
19291 configure_input
='Generated from '`
19292 $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
19294 if test x
"$ac_file" != x-
; then
19295 configure_input
="$ac_file. $configure_input"
19296 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
19297 $as_echo "$as_me: creating $ac_file" >&6;}
19299 # Neutralize special characters interpreted by sed in replacement strings.
19300 case $configure_input in #(
19301 *\
&* |
*\|
* |
*\\* )
19302 ac_sed_conf_input
=`$as_echo "$configure_input" |
19303 sed 's/[\\\\&|]/\\\\&/g'`;; #(
19304 *) ac_sed_conf_input
=$configure_input;;
19308 *:-:* |
*:-) cat >"$ac_tmp/stdin" \
19309 || as_fn_error $?
"could not create $ac_file" "$LINENO" 5 ;;
19314 ac_dir
=`$as_dirname -- "$ac_file" ||
19315 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
19316 X"$ac_file" : 'X\(//\)[^/]' \| \
19317 X"$ac_file" : 'X\(//\)$' \| \
19318 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
19319 $as_echo X"$ac_file" |
19320 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
19324 /^X\(\/\/\)[^/].*/{
19337 as_dir
="$ac_dir"; as_fn_mkdir_p
19341 .
) ac_dir_suffix
= ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
19343 ac_dir_suffix
=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
19344 # A ".." for each directory in $ac_dir_suffix.
19345 ac_top_builddir_sub
=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
19346 case $ac_top_builddir_sub in
19347 "") ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
19348 *) ac_top_build_prefix
=$ac_top_builddir_sub/ ;;
19351 ac_abs_top_builddir
=$ac_pwd
19352 ac_abs_builddir
=$ac_pwd$ac_dir_suffix
19353 # for backward compatibility:
19354 ac_top_builddir
=$ac_top_build_prefix
19357 .
) # We are building in place.
19359 ac_top_srcdir
=$ac_top_builddir_sub
19360 ac_abs_top_srcdir
=$ac_pwd ;;
19361 [\\/]* | ?
:[\\/]* ) # Absolute name.
19362 ac_srcdir
=$srcdir$ac_dir_suffix;
19363 ac_top_srcdir
=$srcdir
19364 ac_abs_top_srcdir
=$srcdir ;;
19365 *) # Relative name.
19366 ac_srcdir
=$ac_top_build_prefix$srcdir$ac_dir_suffix
19367 ac_top_srcdir
=$ac_top_build_prefix$srcdir
19368 ac_abs_top_srcdir
=$ac_pwd/$srcdir ;;
19370 ac_abs_srcdir
=$ac_abs_top_srcdir$ac_dir_suffix
19381 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
19382 # If the template does not know about datarootdir, expand it.
19383 # FIXME: This hack should be removed a few years after 2.60.
19384 ac_datarootdir_hack
=; ac_datarootdir_seen
=
19395 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
19396 *datarootdir
*) ac_datarootdir_seen
=yes;;
19397 *@datadir@
*|
*@docdir@
*|
*@infodir@
*|
*@localedir@
*|
*@mandir@
*)
19398 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
19399 $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
19401 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
19402 ac_datarootdir_hack='
19403 s&@datadir@&$datadir&g
19404 s&@docdir@&$docdir&g
19405 s&@infodir@&$infodir&g
19406 s&@localedir@&$localedir&g
19407 s&@mandir@&$mandir&g
19408 s&\\\${datarootdir}&$datarootdir&g' ;;
19412 # Neutralize VPATH when `$srcdir' = `.'.
19413 # Shell code in configure.ac might set extrasub.
19414 # FIXME: do we really want to maintain this feature?
19415 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
19416 ac_sed_extra="$ac_vpsub
19419 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
19421 /@
[a-zA-Z_
][a-zA-Z_0-9
]*@
/!b
19422 s|@configure_input@|
$ac_sed_conf_input|
;t t
19423 s
&@top_builddir@
&$ac_top_builddir_sub&;t t
19424 s
&@top_build_prefix@
&$ac_top_build_prefix&;t t
19425 s
&@srcdir@
&$ac_srcdir&;t t
19426 s
&@abs_srcdir@
&$ac_abs_srcdir&;t t
19427 s
&@top_srcdir@
&$ac_top_srcdir&;t t
19428 s
&@abs_top_srcdir@
&$ac_abs_top_srcdir&;t t
19429 s
&@builddir@
&$ac_builddir&;t t
19430 s
&@abs_builddir@
&$ac_abs_builddir&;t t
19431 s
&@abs_top_builddir@
&$ac_abs_top_builddir&;t t
19432 $ac_datarootdir_hack
19434 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.
awk" \
19435 >$ac_tmp/out || as_fn_error $? "could not create
$ac_file" "$LINENO" 5
19437 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
19438 { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out
"`; test -n "$ac_out"; } &&
19439 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' \
19440 "$ac_tmp/out
"`; test -z "$ac_out"; } &&
19441 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: $ac_file contains a reference to the variable \
`datarootdir'
19442 which seems to be undefined. Please make sure it is defined" >&5
19443 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir
'
19444 which seems to be undefined. Please make sure it is defined" >&2;}
19446 rm -f "$ac_tmp/stdin"
19448 -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";;
19449 *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";;
19451 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
19457 if test x"$ac_file" != x-; then
19459 $as_echo "/* $configure_input */" \
19460 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs"
19461 } >"$ac_tmp/config.h" \
19462 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
19463 if diff "$ac_file" "$ac_tmp/config.h" >/dev/null 2>&1; then
19464 { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
19465 $as_echo "$as_me: $ac_file is unchanged" >&6;}
19468 mv "$ac_tmp/config.h" "$ac_file" \
19469 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
19472 $as_echo "/* $configure_input */" \
19473 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" \
19474 || as_fn_error $? "could not create -" "$LINENO" 5
19482 if test "$ac_source" = "$ac_file" && test "$srcdir" = '.
'; then
19485 # Prefer the file from the source tree if names are identical.
19486 if test "$ac_source" = "$ac_file" || test ! -r "$ac_source"; then
19487 ac_source=$srcdir/$ac_source
19490 { $as_echo "$as_me:${as_lineno-$LINENO}: linking $ac_source to $ac_file" >&5
19491 $as_echo "$as_me: linking $ac_source to $ac_file" >&6;}
19493 if test ! -r "$ac_source"; then
19494 as_fn_error $? "$ac_source: file not found" "$LINENO" 5
19498 # Try a relative symlink, then a hard link, then a copy.
19500 [\\/$]* | ?:[\\/]* ) ac_rel_source=$ac_source ;;
19501 *) ac_rel_source=$ac_top_build_prefix$ac_source ;;
19503 ln -s "$ac_rel_source" "$ac_file" 2>/dev/null ||
19504 ln "$ac_source" "$ac_file" 2>/dev/null ||
19505 cp -p "$ac_source" "$ac_file" ||
19506 as_fn_error $? "cannot link or copy $ac_source to $ac_file" "$LINENO" 5
19509 :C) { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
19510 $as_echo "$as_me: executing $ac_file commands" >&6;}
19515 case $ac_file$ac_mode in
19516 "include/stamp-h":C) echo timestamp > include/stamp-h ;;
19517 "tools/makedep":C) wine_fn_output_makedep || as_fn_exit $? ;;
19518 "Makefile":C) wine_fn_output_makefile Makefile ;;
19519 ".gitignore":C) wine_fn_output_gitignore .gitignore ;;
19527 ac_clean_files=$ac_clean_files_save
19529 test $ac_write_fail = 0 ||
19530 as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5
19533 # configure is writing to config.log, and then calls config.status.
19534 # config.status does its own redirection, appending to config.log.
19535 # Unfortunately, on DOS this fails, as config.log is still kept open
19536 # by configure, so config.status won't be able to
write to it
; its
19537 # output is simply discarded. So we exec the FD to /dev/null,
19538 # effectively closing config.log, so it can be properly (re)opened and
19539 # appended to by config.status. When coming back to configure, we
19540 # need to make the FD available again.
19541 if test "$no_create" != yes; then
19543 ac_config_status_args
=
19544 test "$silent" = yes &&
19545 ac_config_status_args
="$ac_config_status_args --quiet"
19547 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success
=false
19549 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
19550 # would make configure fail if this is the last instruction.
19551 $ac_cs_success || as_fn_exit
1
19553 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no
; then
19554 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
19555 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
19559 if test "$no_create" = "yes"
19565 if test "x$wine_notices != "x
; then
19568 for msg
in $wine_notices; do
19570 if ${msg:+false} :; then :
19573 { $as_echo "$as_me:${as_lineno-$LINENO}: $msg" >&5
19574 $as_echo "$as_me: $msg" >&6;}
19579 for msg
in $wine_warnings; do
19581 if ${msg:+false} :; then :
19585 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $msg" >&5
19586 $as_echo "$as_me: WARNING: $msg" >&2;}
19592 $as_me: Finished. Do '${ac_make}' to compile Wine.