2 # Guess values for system-dependent variables and create Makefiles.
3 # Generated by GNU Autoconf 2.69 for Wine 1.9.17.
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.9.17'
584 PACKAGE_STRING
='Wine 1.9.17'
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
635 EXCESS_PRECISION_CFLAGS
704 APPLICATIONSERVICES_LIBS
799 program_transform_name
812 enable_option_checking
816 enable_maintainer_mode
874 enable_api_ms_win_core_com_l1_1_0
875 enable_api_ms_win_core_com_l1_1_1
876 enable_api_ms_win_core_console_l1_1_0
877 enable_api_ms_win_core_console_l2_1_0
878 enable_api_ms_win_core_datetime_l1_1_0
879 enable_api_ms_win_core_datetime_l1_1_1
880 enable_api_ms_win_core_debug_l1_1_0
881 enable_api_ms_win_core_debug_l1_1_1
882 enable_api_ms_win_core_delayload_l1_1_1
883 enable_api_ms_win_core_errorhandling_l1_1_0
884 enable_api_ms_win_core_errorhandling_l1_1_1
885 enable_api_ms_win_core_errorhandling_l1_1_2
886 enable_api_ms_win_core_fibers_l1_1_0
887 enable_api_ms_win_core_fibers_l1_1_1
888 enable_api_ms_win_core_file_l1_1_0
889 enable_api_ms_win_core_file_l1_2_0
890 enable_api_ms_win_core_file_l1_2_1
891 enable_api_ms_win_core_file_l2_1_0
892 enable_api_ms_win_core_file_l2_1_1
893 enable_api_ms_win_core_handle_l1_1_0
894 enable_api_ms_win_core_heap_l1_1_0
895 enable_api_ms_win_core_heap_l1_2_0
896 enable_api_ms_win_core_heap_obsolete_l1_1_0
897 enable_api_ms_win_core_interlocked_l1_1_0
898 enable_api_ms_win_core_interlocked_l1_2_0
899 enable_api_ms_win_core_io_l1_1_1
900 enable_api_ms_win_core_kernel32_legacy_l1_1_0
901 enable_api_ms_win_core_kernel32_legacy_l1_1_1
902 enable_api_ms_win_core_libraryloader_l1_1_0
903 enable_api_ms_win_core_libraryloader_l1_1_1
904 enable_api_ms_win_core_libraryloader_l1_2_0
905 enable_api_ms_win_core_localization_l1_1_0
906 enable_api_ms_win_core_localization_l1_2_0
907 enable_api_ms_win_core_localization_l1_2_1
908 enable_api_ms_win_core_localization_obsolete_l1_1_0
909 enable_api_ms_win_core_localregistry_l1_1_0
910 enable_api_ms_win_core_memory_l1_1_0
911 enable_api_ms_win_core_memory_l1_1_1
912 enable_api_ms_win_core_memory_l1_1_2
913 enable_api_ms_win_core_misc_l1_1_0
914 enable_api_ms_win_core_namedpipe_l1_1_0
915 enable_api_ms_win_core_namedpipe_l1_2_0
916 enable_api_ms_win_core_path_l1_1_0
917 enable_api_ms_win_core_processenvironment_l1_1_0
918 enable_api_ms_win_core_processenvironment_l1_2_0
919 enable_api_ms_win_core_processthreads_l1_1_0
920 enable_api_ms_win_core_processthreads_l1_1_1
921 enable_api_ms_win_core_processthreads_l1_1_2
922 enable_api_ms_win_core_profile_l1_1_0
923 enable_api_ms_win_core_psapi_l1_1_0
924 enable_api_ms_win_core_registry_l1_1_0
925 enable_api_ms_win_core_rtlsupport_l1_1_0
926 enable_api_ms_win_core_rtlsupport_l1_2_0
927 enable_api_ms_win_core_shlwapi_legacy_l1_1_0
928 enable_api_ms_win_core_string_l1_1_0
929 enable_api_ms_win_core_string_l2_1_0
930 enable_api_ms_win_core_synch_l1_1_0
931 enable_api_ms_win_core_synch_l1_2_0
932 enable_api_ms_win_core_sysinfo_l1_1_0
933 enable_api_ms_win_core_sysinfo_l1_2_0
934 enable_api_ms_win_core_sysinfo_l1_2_1
935 enable_api_ms_win_core_threadpool_l1_2_0
936 enable_api_ms_win_core_threadpool_legacy_l1_1_0
937 enable_api_ms_win_core_timezone_l1_1_0
938 enable_api_ms_win_core_url_l1_1_0
939 enable_api_ms_win_core_util_l1_1_0
940 enable_api_ms_win_core_version_l1_1_0
941 enable_api_ms_win_core_winrt_error_l1_1_0
942 enable_api_ms_win_core_winrt_error_l1_1_1
943 enable_api_ms_win_core_winrt_l1_1_0
944 enable_api_ms_win_core_winrt_registration_l1_1_0
945 enable_api_ms_win_core_winrt_string_l1_1_0
946 enable_api_ms_win_core_wow64_l1_1_0
947 enable_api_ms_win_core_xstate_l2_1_0
948 enable_api_ms_win_crt_conio_l1_1_0
949 enable_api_ms_win_crt_convert_l1_1_0
950 enable_api_ms_win_crt_environment_l1_1_0
951 enable_api_ms_win_crt_filesystem_l1_1_0
952 enable_api_ms_win_crt_heap_l1_1_0
953 enable_api_ms_win_crt_locale_l1_1_0
954 enable_api_ms_win_crt_math_l1_1_0
955 enable_api_ms_win_crt_multibyte_l1_1_0
956 enable_api_ms_win_crt_private_l1_1_0
957 enable_api_ms_win_crt_process_l1_1_0
958 enable_api_ms_win_crt_runtime_l1_1_0
959 enable_api_ms_win_crt_stdio_l1_1_0
960 enable_api_ms_win_crt_string_l1_1_0
961 enable_api_ms_win_crt_time_l1_1_0
962 enable_api_ms_win_crt_utility_l1_1_0
963 enable_api_ms_win_downlevel_advapi32_l1_1_0
964 enable_api_ms_win_downlevel_advapi32_l2_1_0
965 enable_api_ms_win_downlevel_normaliz_l1_1_0
966 enable_api_ms_win_downlevel_ole32_l1_1_0
967 enable_api_ms_win_downlevel_shell32_l1_1_0
968 enable_api_ms_win_downlevel_shlwapi_l1_1_0
969 enable_api_ms_win_downlevel_shlwapi_l2_1_0
970 enable_api_ms_win_downlevel_user32_l1_1_0
971 enable_api_ms_win_downlevel_version_l1_1_0
972 enable_api_ms_win_eventing_classicprovider_l1_1_0
973 enable_api_ms_win_eventing_provider_l1_1_0
974 enable_api_ms_win_ntuser_dc_access_l1_1_0
975 enable_api_ms_win_security_base_l1_1_0
976 enable_api_ms_win_security_base_l1_2_0
977 enable_api_ms_win_security_lsalookup_l1_1_0
978 enable_api_ms_win_security_lsalookup_l1_1_1
979 enable_api_ms_win_security_sddl_l1_1_0
980 enable_api_ms_win_service_core_l1_1_1
981 enable_api_ms_win_service_management_l1_1_0
982 enable_api_ms_win_service_winsvc_l1_2_0
1028 enable_d3dcompiler_33
1029 enable_d3dcompiler_34
1030 enable_d3dcompiler_35
1031 enable_d3dcompiler_36
1032 enable_d3dcompiler_37
1033 enable_d3dcompiler_38
1034 enable_d3dcompiler_39
1035 enable_d3dcompiler_40
1036 enable_d3dcompiler_41
1037 enable_d3dcompiler_42
1038 enable_d3dcompiler_43
1039 enable_d3dcompiler_46
1040 enable_d3dcompiler_47
1118 enable_explorerframe
1119 enable_ext_ms_win_gdi_devcaps_l1_1_0
1284 enable_photometadatahandler
1374 enable_windowscodecs
1375 enable_windowscodecsext
1377 enable_winecoreaudio_drv
1379 enable_winegstreamer
1380 enable_winejoystick_drv
1386 enable_winepulse_drv
1387 enable_wineqtdecoder
1455 enable_aspnet_regiis
1490 enable_presentationfontcache
1503 enable_servicemodelreg
1525 enable_winemenubuilder
1527 enable_winemsibuilder
1542 ac_precious_vars
='build_alias
1595 # Initialize some variables set by options.
1597 ac_init_version
=false
1598 ac_unrecognized_opts
=
1599 ac_unrecognized_sep
=
1600 # The variables have the same names as the options, with
1601 # dashes changed to underlines.
1602 cache_file
=/dev
/null
1609 program_transform_name
=s
,x
,x
,
1617 # Installation directory options.
1618 # These are left unexpanded so users can "make install exec_prefix=/foo"
1619 # and all the variables that are supposed to be based on exec_prefix
1620 # by default will actually change.
1621 # Use braces instead of parens because sh, perl, etc. also accept them.
1622 # (The list follows the same order as the GNU Coding Standards.)
1623 bindir
='${exec_prefix}/bin'
1624 sbindir
='${exec_prefix}/sbin'
1625 libexecdir
='${exec_prefix}/libexec'
1626 datarootdir
='${prefix}/share'
1627 datadir
='${datarootdir}'
1628 sysconfdir
='${prefix}/etc'
1629 sharedstatedir
='${prefix}/com'
1630 localstatedir
='${prefix}/var'
1631 runstatedir
='${localstatedir}/run'
1632 includedir
='${prefix}/include'
1633 oldincludedir
='/usr/include'
1634 docdir
='${datarootdir}/doc/${PACKAGE_TARNAME}'
1635 infodir
='${datarootdir}/info'
1640 libdir
='${exec_prefix}/lib'
1641 localedir
='${datarootdir}/locale'
1642 mandir
='${datarootdir}/man'
1648 # If the previous option needs an argument, assign it.
1649 if test -n "$ac_prev"; then
1650 eval $ac_prev=\
$ac_option
1656 *=?
*) ac_optarg
=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
1661 # Accept the important Cygnus configure options, so we can diagnose typos.
1663 case $ac_dashdash$ac_option in
1667 -bindir |
--bindir |
--bindi |
--bind |
--bin |
--bi)
1669 -bindir=* |
--bindir=* |
--bindi=* |
--bind=* |
--bin=* |
--bi=*)
1670 bindir
=$ac_optarg ;;
1672 -build |
--build |
--buil |
--bui |
--bu)
1673 ac_prev
=build_alias
;;
1674 -build=* |
--build=* |
--buil=* |
--bui=* |
--bu=*)
1675 build_alias
=$ac_optarg ;;
1677 -cache-file |
--cache-file |
--cache-fil |
--cache-fi \
1678 |
--cache-f |
--cache- |
--cache |
--cach |
--cac |
--ca |
--c)
1679 ac_prev
=cache_file
;;
1680 -cache-file=* |
--cache-file=* |
--cache-fil=* |
--cache-fi=* \
1681 |
--cache-f=* |
--cache-=* |
--cache=* |
--cach=* |
--cac=* |
--ca=* |
--c=*)
1682 cache_file
=$ac_optarg ;;
1684 --config-cache |
-C)
1685 cache_file
=config.cache
;;
1687 -datadir |
--datadir |
--datadi |
--datad)
1689 -datadir=* |
--datadir=* |
--datadi=* |
--datad=*)
1690 datadir
=$ac_optarg ;;
1692 -datarootdir |
--datarootdir |
--datarootdi |
--datarootd |
--dataroot \
1693 |
--dataroo |
--dataro |
--datar)
1694 ac_prev
=datarootdir
;;
1695 -datarootdir=* |
--datarootdir=* |
--datarootdi=* |
--datarootd=* \
1696 |
--dataroot=* |
--dataroo=* |
--dataro=* |
--datar=*)
1697 datarootdir
=$ac_optarg ;;
1699 -disable-* |
--disable-*)
1700 ac_useropt
=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
1701 # Reject names that are not valid shell variable names.
1702 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
1703 as_fn_error $?
"invalid feature name: $ac_useropt"
1704 ac_useropt_orig
=$ac_useropt
1705 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1706 case $ac_user_opts in
1708 "enable_
$ac_useropt"
1710 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
1711 ac_unrecognized_sep
=', ';;
1713 eval enable_
$ac_useropt=no
;;
1715 -docdir |
--docdir |
--docdi |
--doc |
--do)
1717 -docdir=* |
--docdir=* |
--docdi=* |
--doc=* |
--do=*)
1718 docdir
=$ac_optarg ;;
1720 -dvidir |
--dvidir |
--dvidi |
--dvid |
--dvi |
--dv)
1722 -dvidir=* |
--dvidir=* |
--dvidi=* |
--dvid=* |
--dvi=* |
--dv=*)
1723 dvidir
=$ac_optarg ;;
1725 -enable-* |
--enable-*)
1726 ac_useropt
=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
1727 # Reject names that are not valid shell variable names.
1728 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
1729 as_fn_error $?
"invalid feature name: $ac_useropt"
1730 ac_useropt_orig
=$ac_useropt
1731 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1732 case $ac_user_opts in
1734 "enable_
$ac_useropt"
1736 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
1737 ac_unrecognized_sep
=', ';;
1739 eval enable_
$ac_useropt=\
$ac_optarg ;;
1741 -exec-prefix |
--exec_prefix |
--exec-prefix |
--exec-prefi \
1742 |
--exec-pref |
--exec-pre |
--exec-pr |
--exec-p |
--exec- \
1743 |
--exec |
--exe |
--ex)
1744 ac_prev
=exec_prefix
;;
1745 -exec-prefix=* |
--exec_prefix=* |
--exec-prefix=* |
--exec-prefi=* \
1746 |
--exec-pref=* |
--exec-pre=* |
--exec-pr=* |
--exec-p=* |
--exec-=* \
1747 |
--exec=* |
--exe=* |
--ex=*)
1748 exec_prefix
=$ac_optarg ;;
1750 -gas |
--gas |
--ga |
--g)
1751 # Obsolete; use --with-gas.
1754 -help |
--help |
--hel |
--he |
-h)
1755 ac_init_help
=long
;;
1756 -help=r
* |
--help=r
* |
--hel=r
* |
--he=r
* |
-hr*)
1757 ac_init_help
=recursive
;;
1758 -help=s
* |
--help=s
* |
--hel=s
* |
--he=s
* |
-hs*)
1759 ac_init_help
=short
;;
1761 -host |
--host |
--hos |
--ho)
1762 ac_prev
=host_alias
;;
1763 -host=* |
--host=* |
--hos=* |
--ho=*)
1764 host_alias
=$ac_optarg ;;
1766 -htmldir |
--htmldir |
--htmldi |
--htmld |
--html |
--htm |
--ht)
1768 -htmldir=* |
--htmldir=* |
--htmldi=* |
--htmld=* |
--html=* |
--htm=* \
1770 htmldir
=$ac_optarg ;;
1772 -includedir |
--includedir |
--includedi |
--included |
--include \
1773 |
--includ |
--inclu |
--incl |
--inc)
1774 ac_prev
=includedir
;;
1775 -includedir=* |
--includedir=* |
--includedi=* |
--included=* |
--include=* \
1776 |
--includ=* |
--inclu=* |
--incl=* |
--inc=*)
1777 includedir
=$ac_optarg ;;
1779 -infodir |
--infodir |
--infodi |
--infod |
--info |
--inf)
1781 -infodir=* |
--infodir=* |
--infodi=* |
--infod=* |
--info=* |
--inf=*)
1782 infodir
=$ac_optarg ;;
1784 -libdir |
--libdir |
--libdi |
--libd)
1786 -libdir=* |
--libdir=* |
--libdi=* |
--libd=*)
1787 libdir
=$ac_optarg ;;
1789 -libexecdir |
--libexecdir |
--libexecdi |
--libexecd |
--libexec \
1790 |
--libexe |
--libex |
--libe)
1791 ac_prev
=libexecdir
;;
1792 -libexecdir=* |
--libexecdir=* |
--libexecdi=* |
--libexecd=* |
--libexec=* \
1793 |
--libexe=* |
--libex=* |
--libe=*)
1794 libexecdir
=$ac_optarg ;;
1796 -localedir |
--localedir |
--localedi |
--localed |
--locale)
1797 ac_prev
=localedir
;;
1798 -localedir=* |
--localedir=* |
--localedi=* |
--localed=* |
--locale=*)
1799 localedir
=$ac_optarg ;;
1801 -localstatedir |
--localstatedir |
--localstatedi |
--localstated \
1802 |
--localstate |
--localstat |
--localsta |
--localst |
--locals)
1803 ac_prev
=localstatedir
;;
1804 -localstatedir=* |
--localstatedir=* |
--localstatedi=* |
--localstated=* \
1805 |
--localstate=* |
--localstat=* |
--localsta=* |
--localst=* |
--locals=*)
1806 localstatedir
=$ac_optarg ;;
1808 -mandir |
--mandir |
--mandi |
--mand |
--man |
--ma |
--m)
1810 -mandir=* |
--mandir=* |
--mandi=* |
--mand=* |
--man=* |
--ma=* |
--m=*)
1811 mandir
=$ac_optarg ;;
1813 -nfp |
--nfp |
--nf)
1814 # Obsolete; use --without-fp.
1817 -no-create |
--no-create |
--no-creat |
--no-crea |
--no-cre \
1818 |
--no-cr |
--no-c |
-n)
1821 -no-recursion |
--no-recursion |
--no-recursio |
--no-recursi \
1822 |
--no-recurs |
--no-recur |
--no-recu |
--no-rec |
--no-re |
--no-r)
1825 -oldincludedir |
--oldincludedir |
--oldincludedi |
--oldincluded \
1826 |
--oldinclude |
--oldinclud |
--oldinclu |
--oldincl |
--oldinc \
1827 |
--oldin |
--oldi |
--old |
--ol |
--o)
1828 ac_prev
=oldincludedir
;;
1829 -oldincludedir=* |
--oldincludedir=* |
--oldincludedi=* |
--oldincluded=* \
1830 |
--oldinclude=* |
--oldinclud=* |
--oldinclu=* |
--oldincl=* |
--oldinc=* \
1831 |
--oldin=* |
--oldi=* |
--old=* |
--ol=* |
--o=*)
1832 oldincludedir
=$ac_optarg ;;
1834 -prefix |
--prefix |
--prefi |
--pref |
--pre |
--pr |
--p)
1836 -prefix=* |
--prefix=* |
--prefi=* |
--pref=* |
--pre=* |
--pr=* |
--p=*)
1837 prefix
=$ac_optarg ;;
1839 -program-prefix |
--program-prefix |
--program-prefi |
--program-pref \
1840 |
--program-pre |
--program-pr |
--program-p)
1841 ac_prev
=program_prefix
;;
1842 -program-prefix=* |
--program-prefix=* |
--program-prefi=* \
1843 |
--program-pref=* |
--program-pre=* |
--program-pr=* |
--program-p=*)
1844 program_prefix
=$ac_optarg ;;
1846 -program-suffix |
--program-suffix |
--program-suffi |
--program-suff \
1847 |
--program-suf |
--program-su |
--program-s)
1848 ac_prev
=program_suffix
;;
1849 -program-suffix=* |
--program-suffix=* |
--program-suffi=* \
1850 |
--program-suff=* |
--program-suf=* |
--program-su=* |
--program-s=*)
1851 program_suffix
=$ac_optarg ;;
1853 -program-transform-name |
--program-transform-name \
1854 |
--program-transform-nam |
--program-transform-na \
1855 |
--program-transform-n |
--program-transform- \
1856 |
--program-transform |
--program-transfor \
1857 |
--program-transfo |
--program-transf \
1858 |
--program-trans |
--program-tran \
1859 |
--progr-tra |
--program-tr |
--program-t)
1860 ac_prev
=program_transform_name
;;
1861 -program-transform-name=* |
--program-transform-name=* \
1862 |
--program-transform-nam=* |
--program-transform-na=* \
1863 |
--program-transform-n=* |
--program-transform-=* \
1864 |
--program-transform=* |
--program-transfor=* \
1865 |
--program-transfo=* |
--program-transf=* \
1866 |
--program-trans=* |
--program-tran=* \
1867 |
--progr-tra=* |
--program-tr=* |
--program-t=*)
1868 program_transform_name
=$ac_optarg ;;
1870 -pdfdir |
--pdfdir |
--pdfdi |
--pdfd |
--pdf |
--pd)
1872 -pdfdir=* |
--pdfdir=* |
--pdfdi=* |
--pdfd=* |
--pdf=* |
--pd=*)
1873 pdfdir
=$ac_optarg ;;
1875 -psdir |
--psdir |
--psdi |
--psd |
--ps)
1877 -psdir=* |
--psdir=* |
--psdi=* |
--psd=* |
--ps=*)
1880 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
1881 |
-silent |
--silent |
--silen |
--sile |
--sil)
1884 -runstatedir |
--runstatedir |
--runstatedi |
--runstated \
1885 |
--runstate |
--runstat |
--runsta |
--runst |
--runs \
1886 |
--run |
--ru |
--r)
1887 ac_prev
=runstatedir
;;
1888 -runstatedir=* |
--runstatedir=* |
--runstatedi=* |
--runstated=* \
1889 |
--runstate=* |
--runstat=* |
--runsta=* |
--runst=* |
--runs=* \
1890 |
--run=* |
--ru=* |
--r=*)
1891 runstatedir
=$ac_optarg ;;
1893 -sbindir |
--sbindir |
--sbindi |
--sbind |
--sbin |
--sbi |
--sb)
1895 -sbindir=* |
--sbindir=* |
--sbindi=* |
--sbind=* |
--sbin=* \
1897 sbindir
=$ac_optarg ;;
1899 -sharedstatedir |
--sharedstatedir |
--sharedstatedi \
1900 |
--sharedstated |
--sharedstate |
--sharedstat |
--sharedsta \
1901 |
--sharedst |
--shareds |
--shared |
--share |
--shar \
1903 ac_prev
=sharedstatedir
;;
1904 -sharedstatedir=* |
--sharedstatedir=* |
--sharedstatedi=* \
1905 |
--sharedstated=* |
--sharedstate=* |
--sharedstat=* |
--sharedsta=* \
1906 |
--sharedst=* |
--shareds=* |
--shared=* |
--share=* |
--shar=* \
1908 sharedstatedir
=$ac_optarg ;;
1910 -site |
--site |
--sit)
1912 -site=* |
--site=* |
--sit=*)
1915 -srcdir |
--srcdir |
--srcdi |
--srcd |
--src |
--sr)
1917 -srcdir=* |
--srcdir=* |
--srcdi=* |
--srcd=* |
--src=* |
--sr=*)
1918 srcdir
=$ac_optarg ;;
1920 -sysconfdir |
--sysconfdir |
--sysconfdi |
--sysconfd |
--sysconf \
1921 |
--syscon |
--sysco |
--sysc |
--sys |
--sy)
1922 ac_prev
=sysconfdir
;;
1923 -sysconfdir=* |
--sysconfdir=* |
--sysconfdi=* |
--sysconfd=* |
--sysconf=* \
1924 |
--syscon=* |
--sysco=* |
--sysc=* |
--sys=* |
--sy=*)
1925 sysconfdir
=$ac_optarg ;;
1927 -target |
--target |
--targe |
--targ |
--tar |
--ta |
--t)
1928 ac_prev
=target_alias
;;
1929 -target=* |
--target=* |
--targe=* |
--targ=* |
--tar=* |
--ta=* |
--t=*)
1930 target_alias
=$ac_optarg ;;
1932 -v |
-verbose |
--verbose |
--verbos |
--verbo |
--verb)
1935 -version |
--version |
--versio |
--versi |
--vers |
-V)
1936 ac_init_version
=: ;;
1939 ac_useropt
=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1940 # Reject names that are not valid shell variable names.
1941 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
1942 as_fn_error $?
"invalid package name: $ac_useropt"
1943 ac_useropt_orig
=$ac_useropt
1944 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1945 case $ac_user_opts in
1949 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
1950 ac_unrecognized_sep
=', ';;
1952 eval with_
$ac_useropt=\
$ac_optarg ;;
1954 -without-* |
--without-*)
1955 ac_useropt
=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1956 # Reject names that are not valid shell variable names.
1957 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
1958 as_fn_error $?
"invalid package name: $ac_useropt"
1959 ac_useropt_orig
=$ac_useropt
1960 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1961 case $ac_user_opts in
1965 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
1966 ac_unrecognized_sep
=', ';;
1968 eval with_
$ac_useropt=no
;;
1971 # Obsolete; use --with-x.
1974 -x-includes |
--x-includes |
--x-include |
--x-includ |
--x-inclu \
1975 |
--x-incl |
--x-inc |
--x-in |
--x-i)
1976 ac_prev
=x_includes
;;
1977 -x-includes=* |
--x-includes=* |
--x-include=* |
--x-includ=* |
--x-inclu=* \
1978 |
--x-incl=* |
--x-inc=* |
--x-in=* |
--x-i=*)
1979 x_includes
=$ac_optarg ;;
1981 -x-libraries |
--x-libraries |
--x-librarie |
--x-librari \
1982 |
--x-librar |
--x-libra |
--x-libr |
--x-lib |
--x-li |
--x-l)
1983 ac_prev
=x_libraries
;;
1984 -x-libraries=* |
--x-libraries=* |
--x-librarie=* |
--x-librari=* \
1985 |
--x-librar=* |
--x-libra=* |
--x-libr=* |
--x-lib=* |
--x-li=* |
--x-l=*)
1986 x_libraries
=$ac_optarg ;;
1988 -*) as_fn_error $?
"unrecognized option: \`$ac_option'
1989 Try \`$0 --help' for more information"
1993 ac_envvar
=`expr "x$ac_option" : 'x\([^=]*\)='`
1994 # Reject names that are not valid shell variable names.
1995 case $ac_envvar in #(
1996 '' |
[0-9]* |
*[!_
$as_cr_alnum]* )
1997 as_fn_error $?
"invalid variable name: \`$ac_envvar'" ;;
1999 eval $ac_envvar=\
$ac_optarg
2000 export $ac_envvar ;;
2003 # FIXME: should be removed in autoconf 3.0.
2004 $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
2005 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev
/null
&&
2006 $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
2007 : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}"
2013 if test -n "$ac_prev"; then
2014 ac_option
=--`echo $ac_prev | sed 's/_/-/g'`
2015 as_fn_error $?
"missing argument to $ac_option"
2018 if test -n "$ac_unrecognized_opts"; then
2019 case $enable_option_checking in
2021 fatal
) as_fn_error $?
"unrecognized options: $ac_unrecognized_opts" ;;
2022 *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
2026 # Check all directory arguments for consistency.
2027 for ac_var
in exec_prefix prefix bindir sbindir libexecdir datarootdir \
2028 datadir sysconfdir sharedstatedir localstatedir includedir \
2029 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
2030 libdir localedir mandir runstatedir
2032 eval ac_val
=\$
$ac_var
2033 # Remove trailing slashes.
2036 ac_val
=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
2037 eval $ac_var=\
$ac_val;;
2039 # Be sure to have absolute directory names.
2041 [\\/$
]* | ?
:[\\/]* ) continue;;
2042 NONE |
'' ) case $ac_var in *prefix
) continue;; esac;;
2044 as_fn_error $?
"expected an absolute directory name for --$ac_var: $ac_val"
2047 # There might be people who depend on the old broken behavior: `$host'
2048 # used to hold the argument of --host etc.
2049 # FIXME: To remove some day.
2052 target
=$target_alias
2054 # FIXME: To remove some day.
2055 if test "x$host_alias" != x
; then
2056 if test "x$build_alias" = x
; then
2057 cross_compiling
=maybe
2058 elif test "x$build_alias" != "x$host_alias"; then
2064 test -n "$host_alias" && ac_tool_prefix
=$host_alias-
2066 test "$silent" = yes && exec 6>/dev
/null
2069 ac_pwd
=`pwd` && test -n "$ac_pwd" &&
2070 ac_ls_di
=`ls -di .` &&
2071 ac_pwd_ls_di
=`cd "$ac_pwd" && ls -di .` ||
2072 as_fn_error $?
"working directory cannot be determined"
2073 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
2074 as_fn_error $?
"pwd does not report name of working directory"
2077 # Find the source files, if location was not specified.
2078 if test -z "$srcdir"; then
2079 ac_srcdir_defaulted
=yes
2080 # Try the directory containing this script, then the parent directory.
2081 ac_confdir
=`$as_dirname -- "$as_myself" ||
2082 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
2083 X"$as_myself" : 'X\(//\)[^/]' \| \
2084 X"$as_myself" : 'X\(//\)$' \| \
2085 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
2086 $as_echo X"$as_myself" |
2087 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
2105 if test ! -r "$srcdir/$ac_unique_file"; then
2109 ac_srcdir_defaulted
=no
2111 if test ! -r "$srcdir/$ac_unique_file"; then
2112 test "$ac_srcdir_defaulted" = yes && srcdir
="$ac_confdir or .."
2113 as_fn_error $?
"cannot find sources ($ac_unique_file) in $srcdir"
2115 ac_msg
="sources are in $srcdir, but \`cd $srcdir' does not work"
2117 cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
2119 # When building in place, set srcdir=.
2120 if test "$ac_abs_confdir" = "$ac_pwd"; then
2123 # Remove unnecessary trailing slashes from srcdir.
2124 # Double slashes in file names in object file debugging info
2125 # mess up M-x gdb in Emacs.
2127 */) srcdir
=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
2129 for ac_var
in $ac_precious_vars; do
2130 eval ac_env_
${ac_var}_set=\${${ac_var}+set}
2131 eval ac_env_
${ac_var}_value
=\$
${ac_var}
2132 eval ac_cv_env_
${ac_var}_set=\${${ac_var}+set}
2133 eval ac_cv_env_
${ac_var}_value
=\$
${ac_var}
2137 # Report the --help message.
2139 if test "$ac_init_help" = "long"; then
2140 # Omit some internal or obsolete options to make the list less imposing.
2141 # This message is too long to be a string in the A/UX 3.1 sh.
2143 \`configure' configures Wine 1.9.17 to adapt to many kinds of systems.
2145 Usage: $0 [OPTION]... [VAR=VALUE]...
2147 To assign environment variables (e.g., CC, CFLAGS...), specify them as
2148 VAR=VALUE. See below for descriptions of some of the useful variables.
2150 Defaults for the options are specified in brackets.
2153 -h, --help display this help and exit
2154 --help=short display options specific to this package
2155 --help=recursive display the short help of all the included packages
2156 -V, --version display version information and exit
2157 -q, --quiet, --silent do not print \`checking ...' messages
2158 --cache-file=FILE cache test results in FILE [disabled]
2159 -C, --config-cache alias for \`--cache-file=config.cache'
2160 -n, --no-create do not create output files
2161 --srcdir=DIR find the sources in DIR [configure dir or \`..']
2163 Installation directories:
2164 --prefix=PREFIX install architecture-independent files in PREFIX
2165 [$ac_default_prefix]
2166 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
2169 By default, \`make install' will install all the files in
2170 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
2171 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
2172 for instance \`--prefix=\$HOME'.
2174 For better control, use the options below.
2176 Fine tuning of the installation directories:
2177 --bindir=DIR user executables [EPREFIX/bin]
2178 --sbindir=DIR system admin executables [EPREFIX/sbin]
2179 --libexecdir=DIR program executables [EPREFIX/libexec]
2180 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
2181 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
2182 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
2183 --runstatedir=DIR modifiable per-process data [LOCALSTATEDIR/run]
2184 --libdir=DIR object code libraries [EPREFIX/lib]
2185 --includedir=DIR C header files [PREFIX/include]
2186 --oldincludedir=DIR C header files for non-gcc [/usr/include]
2187 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
2188 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
2189 --infodir=DIR info documentation [DATAROOTDIR/info]
2190 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
2191 --mandir=DIR man documentation [DATAROOTDIR/man]
2192 --docdir=DIR documentation root [DATAROOTDIR/doc/wine]
2193 --htmldir=DIR html documentation [DOCDIR]
2194 --dvidir=DIR dvi documentation [DOCDIR]
2195 --pdfdir=DIR pdf documentation [DOCDIR]
2196 --psdir=DIR ps documentation [DOCDIR]
2202 --x-includes=DIR X include files are
in DIR
2203 --x-libraries=DIR X library files are
in DIR
2206 --build=BUILD configure
for building on BUILD
[guessed
]
2207 --host=HOST cross-compile to build programs to run on HOST
[BUILD
]
2211 if test -n "$ac_init_help"; then
2212 case $ac_init_help in
2213 short | recursive
) echo "Configuration of Wine 1.9.17:";;
2218 --disable-option-checking ignore unrecognized
--enable/--with options
2219 --disable-FEATURE do not include FEATURE
(same as
--enable-FEATURE=no
)
2220 --enable-FEATURE[=ARG
] include FEATURE
[ARG
=yes]
2221 --disable-win16 do not include Win16 support
2222 --enable-win64 build a Win64 emulator on AMD64
(won
't run Win32
2224 --disable-tests do not build the regression tests
2225 --enable-maintainer-mode
2226 enable maintainer-specific build rules
2227 --disable-largefile omit support for large files
2230 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
2231 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
2232 --without-alsa do not use the Alsa sound support
2233 --without-capi do not use CAPI (ISDN support)
2234 --without-cms do not use CMS (color management support)
2235 --without-coreaudio do not use the CoreAudio sound support
2236 --without-cups do not use CUPS
2237 --without-curses do not use (n)curses
2238 --without-dbus do not use DBus (dynamic device support)
2239 --without-fontconfig do not use fontconfig
2240 --without-freetype do not use the FreeType library
2241 --without-gettext do not use gettext
2242 --with-gettextpo use the GetTextPO library to rebuild po files
2243 --without-gphoto do not use gphoto (Digital Camera support)
2244 --without-glu do not use the GLU library
2245 --without-gnutls do not use GnuTLS (schannel support)
2246 --without-gsm do not use libgsm (GSM 06.10 codec support)
2247 --without-gstreamer do not use GStreamer (codecs support)
2248 --without-hal do not use HAL (dynamic device support)
2249 --without-jpeg do not use JPEG
2250 --without-ldap do not use LDAP
2251 --without-mpg123 do not use the mpg123 library
2252 --without-netapi do not use the Samba NetAPI library
2253 --without-openal do not use OpenAL
2254 --without-opencl do not use OpenCL
2255 --without-opengl do not use OpenGL
2256 --without-osmesa do not use the OSMesa library
2257 --without-oss do not use the OSS sound support
2258 --without-pcap do not use the Packet Capture library
2259 --without-png do not use PNG
2260 --without-pthread do not use the pthread library
2261 --without-pulse do not use PulseAudio sound support
2262 --without-sane do not use SANE (scanner support)
2263 --without-tiff do not use TIFF
2264 --without-v4l do not use v4l1 (v4l support)
2265 --without-xcomposite do not use the Xcomposite extension
2266 --without-xcursor do not use the Xcursor extension
2267 --without-xinerama do not use Xinerama (multi-monitor support)
2268 --without-xinput do not use the Xinput extension
2269 --without-xinput2 do not use the Xinput 2 extension
2270 --without-xml do not use XML
2271 --without-xrandr do not use Xrandr (resolution changes)
2272 --without-xrender do not use the Xrender extension
2273 --without-xshape do not use the Xshape extension
2274 --without-xshm do not use XShm (shared memory extension)
2275 --without-xslt do not use XSLT
2276 --without-xxf86vm do not use XFree video mode extension
2277 --without-zlib do not use Zlib (data compression)
2278 --with-wine-tools=DIR use Wine tools from directory DIR
2279 --with-wine64=DIR use the 64-bit Wine in DIR for a Wow64 build
2280 --with-x use the X Window System
2282 Some influential environment variables:
2283 CC C compiler command
2284 CFLAGS C compiler flags
2285 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
2286 nonstandard directory <lib dir>
2287 LIBS libraries to pass to the linker, e.g. -l<library>
2288 CPPFLAGS (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if
2289 you have headers in a nonstandard directory <include dir>
2290 CXX C++ compiler command
2291 CXXFLAGS C++ compiler flags
2293 XMKMF Path to xmkmf, Makefile generator for X Window System
2294 XML2_CFLAGS C compiler flags for libxml-2.0, overriding pkg-config
2295 XML2_LIBS Linker flags for libxml-2.0, overriding pkg-config
2296 XSLT_CFLAGS C compiler flags for libxslt, overriding pkg-config
2297 XSLT_LIBS Linker flags for libxslt, overriding pkg-config
2298 DBUS_CFLAGS C compiler flags for dbus-1, overriding pkg-config
2299 DBUS_LIBS Linker flags for dbus-1, overriding pkg-config
2300 HAL_CFLAGS C compiler flags for hal, overriding pkg-config
2301 HAL_LIBS Linker flags for hal, overriding pkg-config
2303 C compiler flags for gnutls, overriding pkg-config
2304 GNUTLS_LIBS Linker flags for gnutls, overriding pkg-config
2305 SANE_CFLAGS C compiler flags for libsane, overriding pkg-config
2306 SANE_LIBS Linker flags for libsane, overriding pkg-config
2308 C compiler flags for libgphoto2, overriding pkg-config
2310 Linker flags for libgphoto2, overriding pkg-config
2312 C compiler flags for libgphoto2_port, overriding pkg-config
2314 Linker flags for libgphoto2_port, overriding pkg-config
2316 C compiler flags for lcms2, overriding pkg-config
2317 LCMS2_LIBS Linker flags for lcms2, overriding pkg-config
2319 C compiler flags for freetype2, overriding pkg-config
2321 Linker flags for freetype2, overriding pkg-config
2323 C compiler flags for libpulse, overriding pkg-config
2324 PULSE_LIBS Linker flags for libpulse, overriding pkg-config
2326 C compiler flags for gstreamer-1.0 gstreamer-video-1.0
2327 gstreamer-audio-1.0, overriding pkg-config
2329 Linker flags for gstreamer-1.0 gstreamer-video-1.0
2330 gstreamer-audio-1.0, overriding pkg-config
2332 C compiler flags for capi20, overriding pkg-config
2333 CAPI20_LIBS Linker flags for capi20, overriding pkg-config
2335 C compiler flags for fontconfig, overriding pkg-config
2337 Linker flags for fontconfig, overriding pkg-config
2338 JPEG_CFLAGS C compiler flags for libjpeg, overriding pkg-config
2339 JPEG_LIBS Linker flags for libjpeg, overriding pkg-config
2340 PNG_CFLAGS C compiler flags for libpng, overriding pkg-config
2341 PNG_LIBS Linker flags for libpng, overriding pkg-config
2342 TIFF_CFLAGS C compiler flags for libtiff-4, overriding pkg-config
2343 TIFF_LIBS Linker flags for libtiff-4, overriding pkg-config
2345 C compiler flags for libmpg123, overriding pkg-config
2346 MPG123_LIBS Linker flags for libmpg123, overriding pkg-config
2348 C compiler flags for netapi, overriding pkg-config
2349 NETAPI_LIBS Linker flags for netapi, overriding pkg-config
2351 Use these variables to override the choices made by `configure' or to
help
2352 it to
find libraries and programs with nonstandard names
/locations.
2354 Report bugs to
<wine-devel@winehq.org
>.
2355 Wine home page
: <http
://www.winehq.org
>.
2360 if test "$ac_init_help" = "recursive"; then
2361 # If there are subdirs, report their specific --help.
2362 for ac_dir
in : $ac_subdirs_all; do test "x$ac_dir" = x
: && continue
2363 test -d "$ac_dir" ||
2364 { cd "$srcdir" && ac_pwd
=`pwd` && srcdir
=.
&& test -d "$ac_dir"; } ||
2369 .
) ac_dir_suffix
= ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
2371 ac_dir_suffix
=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
2372 # A ".." for each directory in $ac_dir_suffix.
2373 ac_top_builddir_sub
=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
2374 case $ac_top_builddir_sub in
2375 "") ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
2376 *) ac_top_build_prefix
=$ac_top_builddir_sub/ ;;
2379 ac_abs_top_builddir
=$ac_pwd
2380 ac_abs_builddir
=$ac_pwd$ac_dir_suffix
2381 # for backward compatibility:
2382 ac_top_builddir
=$ac_top_build_prefix
2385 .
) # We are building in place.
2387 ac_top_srcdir
=$ac_top_builddir_sub
2388 ac_abs_top_srcdir
=$ac_pwd ;;
2389 [\\/]* | ?
:[\\/]* ) # Absolute name.
2390 ac_srcdir
=$srcdir$ac_dir_suffix;
2391 ac_top_srcdir
=$srcdir
2392 ac_abs_top_srcdir
=$srcdir ;;
2394 ac_srcdir
=$ac_top_build_prefix$srcdir$ac_dir_suffix
2395 ac_top_srcdir
=$ac_top_build_prefix$srcdir
2396 ac_abs_top_srcdir
=$ac_pwd/$srcdir ;;
2398 ac_abs_srcdir
=$ac_abs_top_srcdir$ac_dir_suffix
2400 cd "$ac_dir" ||
{ ac_status
=$?
; continue; }
2401 # Check for guested configure.
2402 if test -f "$ac_srcdir/configure.gnu"; then
2404 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
2405 elif test -f "$ac_srcdir/configure"; then
2407 $SHELL "$ac_srcdir/configure" --help=recursive
2409 $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
2411 cd "$ac_pwd" ||
{ ac_status
=$?
; break; }
2415 test -n "$ac_init_help" && exit $ac_status
2416 if $ac_init_version; then
2418 Wine configure
1.9.17
2419 generated by GNU Autoconf
2.69
2421 Copyright
(C
) 2012 Free Software Foundation
, Inc.
2422 This configure
script is free software
; the Free Software Foundation
2423 gives unlimited permission to copy
, distribute and modify it.
2428 ## ------------------------ ##
2429 ## Autoconf initialization. ##
2430 ## ------------------------ ##
2432 # ac_fn_c_try_compile LINENO
2433 # --------------------------
2434 # Try to compile conftest.$ac_ext, and return whether this succeeded.
2435 ac_fn_c_try_compile
()
2437 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
2438 rm -f conftest.
$ac_objext
2439 if { { ac_try
="$ac_compile"
2441 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
2442 *) ac_try_echo=$ac_try;;
2444 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2445 $as_echo "$ac_try_echo"; } >&5
2446 (eval "$ac_compile") 2>conftest.err
2448 if test -s conftest.err; then
2449 grep -v '^ *+' conftest.err >conftest.er1
2450 cat conftest.er1 >&5
2451 mv -f conftest.er1 conftest.err
2453 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2454 test $ac_status = 0; } && {
2455 test -z "$ac_c_werror_flag" ||
2456 test ! -s conftest.err
2457 } && test -s conftest.$ac_objext; then :
2460 $as_echo "$as_me: failed program was:" >&5
2461 sed 's/^/| /' conftest.$ac_ext >&5
2465 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2466 as_fn_set_status $ac_retval
2468 } # ac_fn_c_try_compile
2470 # ac_fn_cxx_try_compile LINENO
2471 # ----------------------------
2472 # Try to compile conftest.$ac_ext, and return whether this succeeded.
2473 ac_fn_cxx_try_compile ()
2475 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2476 rm -f conftest.$ac_objext
2477 if { { ac_try="$ac_compile"
2479 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
2480 *) ac_try_echo
=$ac_try;;
2482 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2483 $as_echo "$ac_try_echo"; } >&5
2484 (eval "$ac_compile") 2>conftest.err
2486 if test -s conftest.err
; then
2487 grep -v '^ *+' conftest.err
>conftest.er1
2488 cat conftest.er1
>&5
2489 mv -f conftest.er1 conftest.err
2491 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2492 test $ac_status = 0; } && {
2493 test -z "$ac_cxx_werror_flag" ||
2494 test ! -s conftest.err
2495 } && test -s conftest.
$ac_objext; then :
2498 $as_echo "$as_me: failed program was:" >&5
2499 sed 's/^/| /' conftest.
$ac_ext >&5
2503 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2504 as_fn_set_status
$ac_retval
2506 } # ac_fn_cxx_try_compile
2508 # ac_fn_c_try_link LINENO
2509 # -----------------------
2510 # Try to link conftest.$ac_ext, and return whether this succeeded.
2513 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
2514 rm -f conftest.
$ac_objext conftest
$ac_exeext
2515 if { { ac_try
="$ac_link"
2517 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
2518 *) ac_try_echo=$ac_try;;
2520 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2521 $as_echo "$ac_try_echo"; } >&5
2522 (eval "$ac_link") 2>conftest.err
2524 if test -s conftest.err; then
2525 grep -v '^ *+' conftest.err >conftest.er1
2526 cat conftest.er1 >&5
2527 mv -f conftest.er1 conftest.err
2529 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2530 test $ac_status = 0; } && {
2531 test -z "$ac_c_werror_flag" ||
2532 test ! -s conftest.err
2533 } && test -s conftest$ac_exeext && {
2534 test "$cross_compiling" = yes ||
2535 test -x conftest$ac_exeext
2539 $as_echo "$as_me: failed program was:" >&5
2540 sed 's/^/| /' conftest.$ac_ext >&5
2544 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
2545 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
2546 # interfere with the next link command; also delete a directory that is
2547 # left behind by Apple's compiler. We do this before executing the actions.
2548 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
2549 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2550 as_fn_set_status $ac_retval
2552 } # ac_fn_c_try_link
2554 # ac_fn_c_try_cpp LINENO
2555 # ----------------------
2556 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
2559 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2560 if { { ac_try="$ac_cpp conftest.$ac_ext"
2562 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
2563 *) ac_try_echo
=$ac_try;;
2565 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2566 $as_echo "$ac_try_echo"; } >&5
2567 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
2569 if test -s conftest.err
; then
2570 grep -v '^ *+' conftest.err
>conftest.er1
2571 cat conftest.er1
>&5
2572 mv -f conftest.er1 conftest.err
2574 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2575 test $ac_status = 0; } > conftest.i
&& {
2576 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
2577 test ! -s conftest.err
2581 $as_echo "$as_me: failed program was:" >&5
2582 sed 's/^/| /' conftest.
$ac_ext >&5
2586 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2587 as_fn_set_status
$ac_retval
2591 # ac_fn_c_check_header_mongrel LINENO HEADER VAR INCLUDES
2592 # -------------------------------------------------------
2593 # Tests whether HEADER exists, giving a warning if it cannot be compiled using
2594 # the include files in INCLUDES and setting the cache variable VAR
2596 ac_fn_c_check_header_mongrel
()
2598 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
2599 if eval \
${$3+:} false
; then :
2600 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2601 $as_echo_n "checking for $2... " >&6; }
2602 if eval \
${$3+:} false
; then :
2603 $as_echo_n "(cached) " >&6
2606 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2607 $as_echo "$ac_res" >&6; }
2609 # Is the header compilable?
2610 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
2611 $as_echo_n "checking $2 usability... " >&6; }
2612 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
2613 /* end confdefs.h. */
2617 if ac_fn_c_try_compile
"$LINENO"; then :
2618 ac_header_compiler
=yes
2620 ac_header_compiler
=no
2622 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
2623 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
2624 $as_echo "$ac_header_compiler" >&6; }
2626 # Is the header present?
2627 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
2628 $as_echo_n "checking $2 presence... " >&6; }
2629 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
2630 /* end confdefs.h. */
2633 if ac_fn_c_try_cpp
"$LINENO"; then :
2634 ac_header_preproc
=yes
2636 ac_header_preproc
=no
2638 rm -f conftest.err conftest.i conftest.
$ac_ext
2639 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
2640 $as_echo "$ac_header_preproc" >&6; }
2642 # So? What about this header?
2643 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in #((
2645 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
2646 $as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
2647 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
2648 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
2651 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
2652 $as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
2653 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: check for missing prerequisite headers?" >&5
2654 $as_echo "$as_me: WARNING: $2: check for missing prerequisite headers?" >&2;}
2655 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
2656 $as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
2657 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&5
2658 $as_echo "$as_me: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&2;}
2659 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
2660 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
2661 ( $as_echo "## ------------------------------------ ##
2662 ## Report this to wine-devel@winehq.org ##
2663 ## ------------------------------------ ##"
2664 ) |
sed "s/^/$as_me: WARNING: /" >&2
2667 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2668 $as_echo_n "checking for $2... " >&6; }
2669 if eval \
${$3+:} false
; then :
2670 $as_echo_n "(cached) " >&6
2672 eval "$3=\$ac_header_compiler"
2675 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2676 $as_echo "$ac_res" >&6; }
2678 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2680 } # ac_fn_c_check_header_mongrel
2682 # ac_fn_c_try_run LINENO
2683 # ----------------------
2684 # Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
2685 # that executables *can* be run.
2688 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
2689 if { { ac_try
="$ac_link"
2691 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
2692 *) ac_try_echo=$ac_try;;
2694 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2695 $as_echo "$ac_try_echo"; } >&5
2696 (eval "$ac_link") 2>&5
2698 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2699 test $ac_status = 0; } && { ac_try='./conftest$ac_exeext'
2700 { { case "(($ac_try" in
2701 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
2702 *) ac_try_echo
=$ac_try;;
2704 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2705 $as_echo "$ac_try_echo"; } >&5
2706 (eval "$ac_try") 2>&5
2708 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2709 test $ac_status = 0; }; }; then :
2712 $as_echo "$as_me: program exited with status $ac_status" >&5
2713 $as_echo "$as_me: failed program was:" >&5
2714 sed 's/^/| /' conftest.
$ac_ext >&5
2716 ac_retval
=$ac_status
2718 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
2719 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2720 as_fn_set_status
$ac_retval
2724 # ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
2725 # -------------------------------------------------------
2726 # Tests whether HEADER exists and can be compiled using the include files in
2727 # INCLUDES, setting the cache variable VAR accordingly.
2728 ac_fn_c_check_header_compile
()
2730 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
2731 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2732 $as_echo_n "checking for $2... " >&6; }
2733 if eval \
${$3+:} false
; then :
2734 $as_echo_n "(cached) " >&6
2736 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
2737 /* end confdefs.h. */
2741 if ac_fn_c_try_compile
"$LINENO"; then :
2746 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
2749 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2750 $as_echo "$ac_res" >&6; }
2751 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2753 } # ac_fn_c_check_header_compile
2755 # ac_fn_c_check_func LINENO FUNC VAR
2756 # ----------------------------------
2757 # Tests whether FUNC exists, setting the cache variable VAR accordingly
2758 ac_fn_c_check_func
()
2760 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
2761 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2762 $as_echo_n "checking for $2... " >&6; }
2763 if eval \
${$3+:} false
; then :
2764 $as_echo_n "(cached) " >&6
2766 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
2767 /* end confdefs.h. */
2768 /* Define $2 to an innocuous variant, in case <limits.h> declares $2.
2769 For example, HP-UX 11i <limits.h> declares gettimeofday. */
2770 #define $2 innocuous_$2
2772 /* System header to define __stub macros and hopefully few prototypes,
2773 which can conflict with char $2 (); below.
2774 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
2775 <limits.h> exists even on freestanding compilers. */
2778 # include <limits.h>
2780 # include <assert.h>
2785 /* Override any GCC internal prototype to avoid an error.
2786 Use char because int might match the return type of a GCC
2787 builtin and then its argument prototype would still apply. */
2792 /* The GNU C library defines this for functions which it implements
2793 to always fail with ENOSYS. Some functions are actually named
2794 something starting with __ and the normal name is an alias. */
2795 #if defined __stub_$2 || defined __stub___$2
2807 if ac_fn_c_try_link
"$LINENO"; then :
2812 rm -f core conftest.err conftest.
$ac_objext \
2813 conftest
$ac_exeext conftest.
$ac_ext
2816 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2817 $as_echo "$ac_res" >&6; }
2818 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2820 } # ac_fn_c_check_func
2822 # ac_fn_c_check_member LINENO AGGR MEMBER VAR INCLUDES
2823 # ----------------------------------------------------
2824 # Tries to find if the field MEMBER exists in type AGGR, after including
2825 # INCLUDES, setting cache variable VAR accordingly.
2826 ac_fn_c_check_member
()
2828 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
2829 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2.$3" >&5
2830 $as_echo_n "checking for $2.$3... " >&6; }
2831 if eval \
${$4+:} false
; then :
2832 $as_echo_n "(cached) " >&6
2834 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
2835 /* end confdefs.h. */
2847 if ac_fn_c_try_compile
"$LINENO"; then :
2850 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
2851 /* end confdefs.h. */
2857 if (sizeof ac_aggr.$3)
2863 if ac_fn_c_try_compile
"$LINENO"; then :
2868 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
2870 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
2873 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2874 $as_echo "$ac_res" >&6; }
2875 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2877 } # ac_fn_c_check_member
2879 # ac_fn_c_check_type LINENO TYPE VAR INCLUDES
2880 # -------------------------------------------
2881 # Tests whether TYPE exists after having included INCLUDES, setting cache
2882 # variable VAR accordingly.
2883 ac_fn_c_check_type
()
2885 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
2886 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2887 $as_echo_n "checking for $2... " >&6; }
2888 if eval \
${$3+:} false
; then :
2889 $as_echo_n "(cached) " >&6
2892 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
2893 /* end confdefs.h. */
2904 if ac_fn_c_try_compile
"$LINENO"; then :
2905 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
2906 /* end confdefs.h. */
2917 if ac_fn_c_try_compile
"$LINENO"; then :
2922 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
2924 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
2927 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2928 $as_echo "$ac_res" >&6; }
2929 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2931 } # ac_fn_c_check_type
2932 cat >config.log
<<_ACEOF
2933 This file contains any messages produced by compilers while
2934 running configure, to aid debugging if configure makes a mistake.
2936 It was created by Wine $as_me 1.9.17, which was
2937 generated by GNU Autoconf 2.69. Invocation command line was
2949 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
2950 uname -m = `(uname -m) 2>/dev/null || echo unknown`
2951 uname -r = `(uname -r) 2>/dev/null || echo unknown`
2952 uname -s = `(uname -s) 2>/dev/null || echo unknown`
2953 uname -v = `(uname -v) 2>/dev/null || echo unknown`
2955 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
2956 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
2958 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
2959 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
2960 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
2961 /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
2962 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
2963 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
2964 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
2968 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2972 test -z "$as_dir" && as_dir
=.
2973 $as_echo "PATH: $as_dir"
2989 # Keep a trace of the command line.
2990 # Strip out --no-create and --no-recursion so they do not pile up.
2991 # Strip out --silent because we don't want to record it for future runs.
2992 # Also quote any args containing shell meta-characters.
2993 # Make two passes to allow for proper duplicate-argument suppression.
2997 ac_must_keep_next
=false
3003 -no-create |
--no-c* |
-n |
-no-recursion |
--no-r*) continue ;;
3004 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
3005 |
-silent |
--silent |
--silen |
--sile |
--sil)
3008 ac_arg
=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
3011 1) as_fn_append ac_configure_args0
" '$ac_arg'" ;;
3013 as_fn_append ac_configure_args1
" '$ac_arg'"
3014 if test $ac_must_keep_next = true
; then
3015 ac_must_keep_next
=false
# Got value, back to normal.
3018 *=* |
--config-cache |
-C |
-disable-* |
--disable-* \
3019 |
-enable-* |
--enable-* |
-gas |
--g* |
-nfp |
--nf* \
3020 |
-q |
-quiet |
--q* |
-silent |
--sil* |
-v |
-verb* \
3021 |
-with-* |
--with-* |
-without-* |
--without-* |
--x)
3022 case "$ac_configure_args0 " in
3023 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
3026 -* ) ac_must_keep_next
=true
;;
3029 as_fn_append ac_configure_args
" '$ac_arg'"
3034 { ac_configure_args0
=; unset ac_configure_args0
;}
3035 { ac_configure_args1
=; unset ac_configure_args1
;}
3037 # When interrupted or exit'd, cleanup temporary files, and complete
3038 # config.log. We remove comments because anyway the quotes in there
3039 # would cause problems or look ugly.
3040 # WARNING: Use '\'' to represent an apostrophe within the trap.
3041 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
3042 trap 'exit_status=$?
3043 # Save into config.log some information that might help in debugging.
3047 $as_echo "## ---------------- ##
3048 ## Cache variables. ##
3049 ## ---------------- ##"
3051 # The following way of writing the cache mishandles newlines in values,
3053 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
3054 eval ac_val=\$$ac_var
3058 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
3059 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
3062 _ | IFS | as_nl) ;; #(
3063 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
3064 *) { eval $ac_var=; unset $ac_var;} ;;
3069 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
3070 *${as_nl}ac_space=\ *)
3072 "s/'\''/'\''\\\\'\'''\''/g;
3073 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
3076 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
3083 $as_echo "## ----------------- ##
3084 ## Output variables. ##
3085 ## ----------------- ##"
3087 for ac_var in $ac_subst_vars
3089 eval ac_val=\$$ac_var
3091 *\'\''*) ac_val
=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
3093 $as_echo "$ac_var='\''$ac_val'\''"
3097 if test -n "$ac_subst_files"; then
3098 $as_echo "## ------------------- ##
3099 ## File substitutions. ##
3100 ## ------------------- ##"
3102 for ac_var
in $ac_subst_files
3104 eval ac_val
=\$
$ac_var
3106 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
3108 $as_echo "$ac_var='\''$ac_val'\''"
3113 if test -s confdefs.h; then
3114 $as_echo "## ----------- ##
3121 test "$ac_signal" != 0 &&
3122 $as_echo "$as_me: caught signal $ac_signal"
3123 $as_echo "$as_me: exit $exit_status"
3125 rm -f core *.core core.conftest.* &&
3126 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
3129 for ac_signal
in 1 2 13 15; do
3130 trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
3134 # confdefs.h avoids OS command line length limits that DEFS can exceed.
3135 rm -f -r conftest
* confdefs.h
3137 $as_echo "/* confdefs.h */" > confdefs.h
3139 # Predefined preprocessor variables.
3141 cat >>confdefs.h
<<_ACEOF
3142 #define PACKAGE_NAME "$PACKAGE_NAME"
3145 cat >>confdefs.h
<<_ACEOF
3146 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
3149 cat >>confdefs.h
<<_ACEOF
3150 #define PACKAGE_VERSION "$PACKAGE_VERSION"
3153 cat >>confdefs.h
<<_ACEOF
3154 #define PACKAGE_STRING "$PACKAGE_STRING"
3157 cat >>confdefs.h
<<_ACEOF
3158 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
3161 cat >>confdefs.h
<<_ACEOF
3162 #define PACKAGE_URL "$PACKAGE_URL"
3166 # Let the site file select an alternate cache file if it wants to.
3167 # Prefer an explicitly selected file to automatically selected ones.
3170 if test -n "$CONFIG_SITE"; then
3171 # We do not want a PATH search for config.site.
3172 case $CONFIG_SITE in #((
3173 -*) ac_site_file1
=.
/$CONFIG_SITE;;
3174 */*) ac_site_file1
=$CONFIG_SITE;;
3175 *) ac_site_file1
=.
/$CONFIG_SITE;;
3177 elif test "x$prefix" != xNONE
; then
3178 ac_site_file1
=$prefix/share
/config.site
3179 ac_site_file2
=$prefix/etc
/config.site
3181 ac_site_file1
=$ac_default_prefix/share
/config.site
3182 ac_site_file2
=$ac_default_prefix/etc
/config.site
3184 for ac_site_file
in "$ac_site_file1" "$ac_site_file2"
3186 test "x$ac_site_file" = xNONE
&& continue
3187 if test /dev
/null
!= "$ac_site_file" && test -r "$ac_site_file"; then
3188 { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
3189 $as_echo "$as_me: loading site script $ac_site_file" >&6;}
3190 sed 's/^/| /' "$ac_site_file" >&5
3192 ||
{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3193 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3194 as_fn_error $?
"failed to load site script $ac_site_file
3195 See \`config.log' for more details" "$LINENO" 5; }
3199 if test -r "$cache_file"; then
3200 # Some versions of bash will fail to source /dev/null (special files
3201 # actually), so we avoid doing that. DJGPP emulates it as a regular file.
3202 if test /dev
/null
!= "$cache_file" && test -f "$cache_file"; then
3203 { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
3204 $as_echo "$as_me: loading cache $cache_file" >&6;}
3206 [\\/]* | ?
:[\\/]* ) .
"$cache_file";;
3207 *) .
"./$cache_file";;
3211 { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
3212 $as_echo "$as_me: creating cache $cache_file" >&6;}
3216 # Check that the precious variables saved in the cache have kept the same
3218 ac_cache_corrupted
=false
3219 for ac_var
in $ac_precious_vars; do
3220 eval ac_old_set
=\
$ac_cv_env_${ac_var}_set
3221 eval ac_new_set
=\
$ac_env_${ac_var}_set
3222 eval ac_old_val
=\
$ac_cv_env_${ac_var}_value
3223 eval ac_new_val
=\
$ac_env_${ac_var}_value
3224 case $ac_old_set,$ac_new_set in
3226 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
3227 $as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
3228 ac_cache_corrupted
=: ;;
3230 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
3231 $as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
3232 ac_cache_corrupted
=: ;;
3235 if test "x$ac_old_val" != "x$ac_new_val"; then
3236 # differences in whitespace do not lead to failure.
3237 ac_old_val_w
=`echo x $ac_old_val`
3238 ac_new_val_w
=`echo x $ac_new_val`
3239 if test "$ac_old_val_w" != "$ac_new_val_w"; then
3240 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
3241 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
3242 ac_cache_corrupted
=:
3244 { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
3245 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
3246 eval $ac_var=\
$ac_old_val
3248 { $as_echo "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5
3249 $as_echo "$as_me: former value: \`$ac_old_val'" >&2;}
3250 { $as_echo "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5
3251 $as_echo "$as_me: current value: \`$ac_new_val'" >&2;}
3254 # Pass precious variables to config.status.
3255 if test "$ac_new_set" = set; then
3257 *\'*) ac_arg
=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
3258 *) ac_arg
=$ac_var=$ac_new_val ;;
3260 case " $ac_configure_args " in
3261 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
3262 *) as_fn_append ac_configure_args
" '$ac_arg'" ;;
3266 if $ac_cache_corrupted; then
3267 { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3268 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3269 { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
3270 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
3271 as_fn_error $?
"run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
3273 ## -------------------- ##
3274 ## Main body of script. ##
3275 ## -------------------- ##
3278 ac_cpp
='$CPP $CPPFLAGS'
3279 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3280 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3281 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
3285 ac_config_headers
="$ac_config_headers include/config.h"
3288 for ac_dir
in tools
"$srcdir"/tools
; do
3289 if test -f "$ac_dir/install-sh"; then
3291 ac_install_sh
="$ac_aux_dir/install-sh -c"
3293 elif test -f "$ac_dir/install.sh"; then
3295 ac_install_sh
="$ac_aux_dir/install.sh -c"
3297 elif test -f "$ac_dir/shtool"; then
3299 ac_install_sh
="$ac_aux_dir/shtool install -c"
3303 if test -z "$ac_aux_dir"; then
3304 as_fn_error $?
"cannot find install-sh, install.sh, or shtool in tools \"$srcdir\"/tools" "$LINENO" 5
3307 # These three variables are undocumented and unsupported,
3308 # and are intended to be withdrawn in a future Autoconf release.
3309 # They can cause serious problems if a builder's source tree is in a directory
3310 # whose full name contains unusual characters.
3311 ac_config_guess
="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
3312 ac_config_sub
="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
3313 ac_configure
="$SHELL $ac_aux_dir/configure" # Please don't use this var.
3317 libwine_version
="1.0"
3321 # Check whether --enable-win16 was given.
3322 if test "${enable_win16+set}" = set; then :
3323 enableval
=$enable_win16;
3326 # Check whether --enable-win64 was given.
3327 if test "${enable_win64+set}" = set; then :
3328 enableval
=$enable_win64;
3331 # Check whether --enable-tests was given.
3332 if test "${enable_tests+set}" = set; then :
3333 enableval
=$enable_tests;
3336 # Check whether --enable-maintainer-mode was given.
3337 if test "${enable_maintainer_mode+set}" = set; then :
3338 enableval
=$enable_maintainer_mode;
3343 # Check whether --with-alsa was given.
3344 if test "${with_alsa+set}" = set; then :
3345 withval
=$with_alsa; if test "x$withval" = "xno"; then ac_cv_header_sys_asoundlib_h
=no
; ac_cv_header_alsa_asoundlib_h
=no
; fi
3349 # Check whether --with-capi was given.
3350 if test "${with_capi+set}" = set; then :
3355 # Check whether --with-cms was given.
3356 if test "${with_cms+set}" = set; then :
3361 # Check whether --with-coreaudio was given.
3362 if test "${with_coreaudio+set}" = set; then :
3363 withval
=$with_coreaudio; if test "x$withval" = "xno"; then ac_cv_header_CoreAudio_CoreAudio_h
=no
; fi
3367 # Check whether --with-cups was given.
3368 if test "${with_cups+set}" = set; then :
3373 # Check whether --with-curses was given.
3374 if test "${with_curses+set}" = set; then :
3375 withval
=$with_curses; if test "x$withval" = "xno"; then ac_cv_header_ncurses_h
=no
; ac_cv_header_curses_h
=no
; fi
3379 # Check whether --with-dbus was given.
3380 if test "${with_dbus+set}" = set; then :
3385 # Check whether --with-fontconfig was given.
3386 if test "${with_fontconfig+set}" = set; then :
3387 withval
=$with_fontconfig;
3391 # Check whether --with-freetype was given.
3392 if test "${with_freetype+set}" = set; then :
3393 withval
=$with_freetype;
3397 # Check whether --with-gettext was given.
3398 if test "${with_gettext+set}" = set; then :
3399 withval
=$with_gettext;
3403 # Check whether --with-gettextpo was given.
3404 if test "${with_gettextpo+set}" = set; then :
3405 withval
=$with_gettextpo; if test "x$withval" = "xno"; then ac_cv_header_gettext_po_h
=no
; fi
3409 # Check whether --with-gphoto was given.
3410 if test "${with_gphoto+set}" = set; then :
3411 withval
=$with_gphoto;
3415 # Check whether --with-glu was given.
3416 if test "${with_glu+set}" = set; then :
3421 # Check whether --with-gnutls was given.
3422 if test "${with_gnutls+set}" = set; then :
3423 withval
=$with_gnutls;
3427 # Check whether --with-gsm was given.
3428 if test "${with_gsm+set}" = set; then :
3429 withval
=$with_gsm; if test "x$withval" = "xno"; then ac_cv_header_gsm_h
=no
; ac_cv_header_gsm_gsm_h
=no
; fi
3433 # Check whether --with-gstreamer was given.
3434 if test "${with_gstreamer+set}" = set; then :
3435 withval
=$with_gstreamer;
3439 # Check whether --with-hal was given.
3440 if test "${with_hal+set}" = set; then :
3445 # Check whether --with-jpeg was given.
3446 if test "${with_jpeg+set}" = set; then :
3451 # Check whether --with-ldap was given.
3452 if test "${with_ldap+set}" = set; then :
3453 withval
=$with_ldap; if test "x$withval" = "xno"; then ac_cv_header_ldap_h
=no
; ac_cv_header_lber_h
=no
; fi
3457 # Check whether --with-mpg123 was given.
3458 if test "${with_mpg123+set}" = set; then :
3459 withval
=$with_mpg123;
3463 # Check whether --with-netapi was given.
3464 if test "${with_netapi+set}" = set; then :
3465 withval
=$with_netapi;
3469 # Check whether --with-openal was given.
3470 if test "${with_openal+set}" = set; then :
3471 withval
=$with_openal; if test "x$withval" = "xno"; then ac_cv_header_AL_al_h
=no
; ac_cv_header_OpenAL_al_h
=no
; fi
3475 # Check whether --with-opencl was given.
3476 if test "${with_opencl+set}" = set; then :
3477 withval
=$with_opencl; if test "x$withval" = "xno"; then ac_cv_header_CL_cl_h
=no
; ac_cv_header_OpenCL_opencl_h
=no
; fi
3481 # Check whether --with-opengl was given.
3482 if test "${with_opengl+set}" = set; then :
3483 withval
=$with_opengl;
3487 # Check whether --with-osmesa was given.
3488 if test "${with_osmesa+set}" = set; then :
3489 withval
=$with_osmesa;
3493 # Check whether --with-oss was given.
3494 if test "${with_oss+set}" = set; then :
3499 # Check whether --with-pcap was given.
3500 if test "${with_pcap+set}" = set; then :
3501 withval
=$with_pcap; if test "x$withval" = "xno"; then ac_cv_header_pcap_pcap_h
=no
; fi
3505 # Check whether --with-png was given.
3506 if test "${with_png+set}" = set; then :
3511 # Check whether --with-pthread was given.
3512 if test "${with_pthread+set}" = set; then :
3513 withval
=$with_pthread; if test "x$withval" = "xno"; then ac_cv_header_pthread_h
=no
; fi
3517 # Check whether --with-pulse was given.
3518 if test "${with_pulse+set}" = set; then :
3519 withval
=$with_pulse;
3523 # Check whether --with-sane was given.
3524 if test "${with_sane+set}" = set; then :
3529 # Check whether --with-tiff was given.
3530 if test "${with_tiff+set}" = set; then :
3535 # Check whether --with-v4l was given.
3536 if test "${with_v4l+set}" = set; then :
3541 # Check whether --with-xcomposite was given.
3542 if test "${with_xcomposite+set}" = set; then :
3543 withval
=$with_xcomposite; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xcomposite_h
=no
; fi
3547 # Check whether --with-xcursor was given.
3548 if test "${with_xcursor+set}" = set; then :
3549 withval
=$with_xcursor; if test "x$withval" = "xno"; then ac_cv_header_X11_Xcursor_Xcursor_h
=no
; fi
3553 # Check whether --with-xinerama was given.
3554 if test "${with_xinerama+set}" = set; then :
3555 withval
=$with_xinerama; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xinerama_h
=no
; fi
3559 # Check whether --with-xinput was given.
3560 if test "${with_xinput+set}" = set; then :
3561 withval
=$with_xinput; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_XInput_h
=no
; fi
3565 # Check whether --with-xinput2 was given.
3566 if test "${with_xinput2+set}" = set; then :
3567 withval
=$with_xinput2; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_XInput2_h
=no
; fi
3571 # Check whether --with-xml was given.
3572 if test "${with_xml+set}" = set; then :
3577 # Check whether --with-xrandr was given.
3578 if test "${with_xrandr+set}" = set; then :
3579 withval
=$with_xrandr; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xrandr_h
=no
; fi
3583 # Check whether --with-xrender was given.
3584 if test "${with_xrender+set}" = set; then :
3585 withval
=$with_xrender; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xrender_h
=no
; fi
3589 # Check whether --with-xshape was given.
3590 if test "${with_xshape+set}" = set; then :
3591 withval
=$with_xshape; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_shape_h
=no
; fi
3595 # Check whether --with-xshm was given.
3596 if test "${with_xshm+set}" = set; then :
3597 withval
=$with_xshm; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_XShm_h
=no
; fi
3601 # Check whether --with-xslt was given.
3602 if test "${with_xslt+set}" = set; then :
3607 # Check whether --with-xxf86vm was given.
3608 if test "${with_xxf86vm+set}" = set; then :
3609 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
3613 # Check whether --with-zlib was given.
3614 if test "${with_zlib+set}" = set; then :
3615 withval
=$with_zlib; if test "x$withval" = "xno"; then ac_cv_header_zlib_h
=no
; fi
3620 # Check whether --with-wine-tools was given.
3621 if test "${with_wine_tools+set}" = set; then :
3622 withval
=$with_wine_tools;
3626 # Check whether --with-wine64 was given.
3627 if test "${with_wine64+set}" = set; then :
3628 withval
=$with_wine64;
3632 # Make sure we can run config.sub.
3633 $SHELL "$ac_aux_dir/config.sub" sun4
>/dev
/null
2>&1 ||
3634 as_fn_error $?
"cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
3636 { $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
3637 $as_echo_n "checking build system type... " >&6; }
3638 if ${ac_cv_build+:} false
; then :
3639 $as_echo_n "(cached) " >&6
3641 ac_build_alias
=$build_alias
3642 test "x$ac_build_alias" = x
&&
3643 ac_build_alias
=`$SHELL "$ac_aux_dir/config.guess"`
3644 test "x$ac_build_alias" = x
&&
3645 as_fn_error $?
"cannot guess build type; you must specify one" "$LINENO" 5
3646 ac_cv_build
=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
3647 as_fn_error $?
"$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
3650 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
3651 $as_echo "$ac_cv_build" >&6; }
3652 case $ac_cv_build in
3654 *) as_fn_error $?
"invalid value of canonical build" "$LINENO" 5;;
3657 ac_save_IFS
=$IFS; IFS
='-'
3663 # Remember, the first character of IFS is used to create $*,
3664 # except with old shells:
3667 case $build_os in *\
*) build_os
=`echo "$build_os" | sed 's/ /-/g'`;; esac
3670 { $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
3671 $as_echo_n "checking host system type... " >&6; }
3672 if ${ac_cv_host+:} false
; then :
3673 $as_echo_n "(cached) " >&6
3675 if test "x$host_alias" = x
; then
3676 ac_cv_host
=$ac_cv_build
3678 ac_cv_host
=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
3679 as_fn_error $?
"$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
3683 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
3684 $as_echo "$ac_cv_host" >&6; }
3687 *) as_fn_error $?
"invalid value of canonical host" "$LINENO" 5;;
3690 ac_save_IFS
=$IFS; IFS
='-'
3696 # Remember, the first character of IFS is used to create $*,
3697 # except with old shells:
3700 case $host_os in *\
*) host_os
=`echo "$host_os" | sed 's/ /-/g'`;; esac
3706 *) if test -f "$srcdir/Makefile" -o -f "$srcdir/include/config.h"; then
3707 as_fn_error $?
"you are building out of the source tree, but the source tree contains object files.
3708 You need to run 'make distclean' in the source tree first." "$LINENO" 5
3713 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
3714 $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
3716 ac_make
=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
3717 if eval \
${ac_cv_prog_make_${ac_make}_set+:} false
; then :
3718 $as_echo_n "(cached) " >&6
3720 cat >conftest.
make <<\_ACEOF
3723 @
echo '@@@%%%=$(MAKE)=@@@%%%'
3725 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
3726 case `${MAKE-make} -f conftest.make 2>/dev/null` in
3728 eval ac_cv_prog_make_
${ac_make}_set
=yes;;
3730 eval ac_cv_prog_make_
${ac_make}_set
=no
;;
3734 if eval test \
$ac_cv_prog_make_${ac_make}_set
= yes; then
3735 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3736 $as_echo "yes" >&6; }
3739 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3740 $as_echo "no" >&6; }
3741 SET_MAKE
="MAKE=${MAKE-make}"
3745 ac_cpp
='$CPP $CPPFLAGS'
3746 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3747 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3748 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
3749 if test -n "$ac_tool_prefix"; then
3750 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
3751 set dummy
${ac_tool_prefix}gcc
; ac_word
=$2
3752 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3753 $as_echo_n "checking for $ac_word... " >&6; }
3754 if ${ac_cv_prog_CC+:} false
; then :
3755 $as_echo_n "(cached) " >&6
3757 if test -n "$CC"; then
3758 ac_cv_prog_CC
="$CC" # Let the user override the test.
3760 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3764 test -z "$as_dir" && as_dir
=.
3765 for ac_exec_ext
in '' $ac_executable_extensions; do
3766 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
3767 ac_cv_prog_CC
="${ac_tool_prefix}gcc"
3768 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3778 if test -n "$CC"; then
3779 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3780 $as_echo "$CC" >&6; }
3782 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3783 $as_echo "no" >&6; }
3788 if test -z "$ac_cv_prog_CC"; then
3790 # Extract the first word of "gcc", so it can be a program name with args.
3791 set dummy gcc
; ac_word
=$2
3792 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3793 $as_echo_n "checking for $ac_word... " >&6; }
3794 if ${ac_cv_prog_ac_ct_CC+:} false
; then :
3795 $as_echo_n "(cached) " >&6
3797 if test -n "$ac_ct_CC"; then
3798 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
3800 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3804 test -z "$as_dir" && as_dir
=.
3805 for ac_exec_ext
in '' $ac_executable_extensions; do
3806 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
3807 ac_cv_prog_ac_ct_CC
="gcc"
3808 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3817 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
3818 if test -n "$ac_ct_CC"; then
3819 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3820 $as_echo "$ac_ct_CC" >&6; }
3822 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3823 $as_echo "no" >&6; }
3826 if test "x$ac_ct_CC" = x
; then
3829 case $cross_compiling:$ac_tool_warned in
3831 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3832 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3833 ac_tool_warned
=yes ;;
3841 if test -z "$CC"; then
3842 if test -n "$ac_tool_prefix"; then
3843 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
3844 set dummy
${ac_tool_prefix}cc
; ac_word
=$2
3845 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3846 $as_echo_n "checking for $ac_word... " >&6; }
3847 if ${ac_cv_prog_CC+:} false
; then :
3848 $as_echo_n "(cached) " >&6
3850 if test -n "$CC"; then
3851 ac_cv_prog_CC
="$CC" # Let the user override the test.
3853 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3857 test -z "$as_dir" && as_dir
=.
3858 for ac_exec_ext
in '' $ac_executable_extensions; do
3859 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
3860 ac_cv_prog_CC
="${ac_tool_prefix}cc"
3861 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3871 if test -n "$CC"; then
3872 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3873 $as_echo "$CC" >&6; }
3875 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3876 $as_echo "no" >&6; }
3882 if test -z "$CC"; then
3883 # Extract the first word of "cc", so it can be a program name with args.
3884 set dummy cc
; ac_word
=$2
3885 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3886 $as_echo_n "checking for $ac_word... " >&6; }
3887 if ${ac_cv_prog_CC+:} false
; then :
3888 $as_echo_n "(cached) " >&6
3890 if test -n "$CC"; then
3891 ac_cv_prog_CC
="$CC" # Let the user override the test.
3894 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3898 test -z "$as_dir" && as_dir
=.
3899 for ac_exec_ext
in '' $ac_executable_extensions; do
3900 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
3901 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
3902 ac_prog_rejected
=yes
3906 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3913 if test $ac_prog_rejected = yes; then
3914 # We found a bogon in the path, so make sure we never use it.
3915 set dummy
$ac_cv_prog_CC
3917 if test $# != 0; then
3918 # We chose a different compiler from the bogus one.
3919 # However, it has the same basename, so the bogon will be chosen
3920 # first if we set CC to just the basename; use the full file name.
3922 ac_cv_prog_CC
="$as_dir/$ac_word${1+' '}$@"
3928 if test -n "$CC"; then
3929 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3930 $as_echo "$CC" >&6; }
3932 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3933 $as_echo "no" >&6; }
3938 if test -z "$CC"; then
3939 if test -n "$ac_tool_prefix"; then
3940 for ac_prog
in cl.exe
3942 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
3943 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
3944 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3945 $as_echo_n "checking for $ac_word... " >&6; }
3946 if ${ac_cv_prog_CC+:} false
; then :
3947 $as_echo_n "(cached) " >&6
3949 if test -n "$CC"; then
3950 ac_cv_prog_CC
="$CC" # Let the user override the test.
3952 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3956 test -z "$as_dir" && as_dir
=.
3957 for ac_exec_ext
in '' $ac_executable_extensions; do
3958 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
3959 ac_cv_prog_CC
="$ac_tool_prefix$ac_prog"
3960 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3970 if test -n "$CC"; then
3971 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3972 $as_echo "$CC" >&6; }
3974 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3975 $as_echo "no" >&6; }
3979 test -n "$CC" && break
3982 if test -z "$CC"; then
3984 for ac_prog
in cl.exe
3986 # Extract the first word of "$ac_prog", so it can be a program name with args.
3987 set dummy
$ac_prog; ac_word
=$2
3988 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3989 $as_echo_n "checking for $ac_word... " >&6; }
3990 if ${ac_cv_prog_ac_ct_CC+:} false
; then :
3991 $as_echo_n "(cached) " >&6
3993 if test -n "$ac_ct_CC"; then
3994 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
3996 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4000 test -z "$as_dir" && as_dir
=.
4001 for ac_exec_ext
in '' $ac_executable_extensions; do
4002 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
4003 ac_cv_prog_ac_ct_CC
="$ac_prog"
4004 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4013 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
4014 if test -n "$ac_ct_CC"; then
4015 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
4016 $as_echo "$ac_ct_CC" >&6; }
4018 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4019 $as_echo "no" >&6; }
4023 test -n "$ac_ct_CC" && break
4026 if test "x$ac_ct_CC" = x
; then
4029 case $cross_compiling:$ac_tool_warned in
4031 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4032 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4033 ac_tool_warned
=yes ;;
4042 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4043 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4044 as_fn_error $?
"no acceptable C compiler found in \$PATH
4045 See \`config.log' for more details" "$LINENO" 5; }
4047 # Provide some information about the compiler.
4048 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
4051 for ac_option
in --version -v -V -qversion; do
4052 { { ac_try
="$ac_compiler $ac_option >&5"
4054 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
4055 *) ac_try_echo=$ac_try;;
4057 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4058 $as_echo "$ac_try_echo"; } >&5
4059 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
4061 if test -s conftest.err; then
4063 ... rest of stderr output deleted ...
4064 10q' conftest.err >conftest.er1
4065 cat conftest.er1 >&5
4067 rm -f conftest.er1 conftest.err
4068 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4069 test $ac_status = 0; }
4072 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4073 /* end confdefs.h. */
4083 ac_clean_files_save=$ac_clean_files
4084 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
4085 # Try to create an executable without -o first, disregard a.out.
4086 # It will help us diagnose broken compilers, and finding out an intuition
4088 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
4089 $as_echo_n "checking whether the C compiler works... " >&6; }
4090 ac_link_default=`$as_echo "$ac_link" |
sed 's/ -o *conftest[^ ]*//'`
4092 # The possible output files:
4093 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
4096 for ac_file in $ac_files
4099 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
4100 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
4105 if { { ac_try="$ac_link_default"
4107 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
4108 *) ac_try_echo
=$ac_try;;
4110 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4111 $as_echo "$ac_try_echo"; } >&5
4112 (eval "$ac_link_default") 2>&5
4114 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4115 test $ac_status = 0; }; then :
4116 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
4117 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
4118 # in a Makefile. We should not override ac_cv_exeext if it was cached,
4119 # so that the user can short-circuit this test for compilers unknown to
4121 for ac_file
in $ac_files ''
4123 test -f "$ac_file" ||
continue
4125 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg |
*.map |
*.inf |
*.dSYM |
*.o |
*.obj
)
4128 # We found the default executable, but exeext='' is most
4132 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no
;
4134 ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
4136 # We set ac_cv_exeext here because the later test for it is not
4137 # safe: cross compilers may not add the suffix if given an `-o'
4138 # argument, so we may need to know it at that point already.
4139 # Even if this section looks crufty: it has the advantage of
4146 test "$ac_cv_exeext" = no
&& ac_cv_exeext
=
4151 if test -z "$ac_file"; then :
4152 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4153 $as_echo "no" >&6; }
4154 $as_echo "$as_me: failed program was:" >&5
4155 sed 's/^/| /' conftest.
$ac_ext >&5
4157 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4158 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4159 as_fn_error
77 "C compiler cannot create executables
4160 See \`config.log' for more details" "$LINENO" 5; }
4162 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4163 $as_echo "yes" >&6; }
4165 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
4166 $as_echo_n "checking for C compiler default output file name... " >&6; }
4167 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
4168 $as_echo "$ac_file" >&6; }
4169 ac_exeext
=$ac_cv_exeext
4171 rm -f -r a.out a.out.dSYM a.exe conftest
$ac_cv_exeext b.out
4172 ac_clean_files
=$ac_clean_files_save
4173 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
4174 $as_echo_n "checking for suffix of executables... " >&6; }
4175 if { { ac_try
="$ac_link"
4177 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
4178 *) ac_try_echo=$ac_try;;
4180 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4181 $as_echo "$ac_try_echo"; } >&5
4182 (eval "$ac_link") 2>&5
4184 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4185 test $ac_status = 0; }; then :
4186 # If both `conftest.exe
' and `conftest' are
`present' (well, observable)
4187 # catch `conftest.exe
'. For instance with Cygwin, `ls conftest' will
4188 # work properly (i.e., refer to `conftest.exe'), while it won't with
4190 for ac_file
in conftest.exe conftest conftest.
*; do
4191 test -f "$ac_file" ||
continue
4193 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg |
*.map |
*.inf |
*.dSYM |
*.o |
*.obj
) ;;
4194 *.
* ) ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
4200 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4201 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4202 as_fn_error $?
"cannot compute suffix of executables: cannot compile and link
4203 See \`config.log' for more details" "$LINENO" 5; }
4205 rm -f conftest conftest
$ac_cv_exeext
4206 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
4207 $as_echo "$ac_cv_exeext" >&6; }
4209 rm -f conftest.
$ac_ext
4210 EXEEXT
=$ac_cv_exeext
4212 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4213 /* end confdefs.h. */
4218 FILE *f = fopen ("conftest.out", "w");
4219 return ferror (f) || fclose (f) != 0;
4225 ac_clean_files
="$ac_clean_files conftest.out"
4226 # Check that the compiler produces executables we can run. If not, either
4227 # the compiler is broken, or we cross compile.
4228 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
4229 $as_echo_n "checking whether we are cross compiling... " >&6; }
4230 if test "$cross_compiling" != yes; then
4231 { { ac_try
="$ac_link"
4233 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
4234 *) ac_try_echo=$ac_try;;
4236 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4237 $as_echo "$ac_try_echo"; } >&5
4238 (eval "$ac_link") 2>&5
4240 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4241 test $ac_status = 0; }
4242 if { ac_try='./conftest$ac_cv_exeext'
4243 { { case "(($ac_try" in
4244 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
4245 *) ac_try_echo
=$ac_try;;
4247 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4248 $as_echo "$ac_try_echo"; } >&5
4249 (eval "$ac_try") 2>&5
4251 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4252 test $ac_status = 0; }; }; then
4255 if test "$cross_compiling" = maybe
; then
4258 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4259 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4260 as_fn_error $?
"cannot run C compiled programs.
4261 If you meant to cross compile, use \`--host'.
4262 See \`config.log' for more details" "$LINENO" 5; }
4266 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
4267 $as_echo "$cross_compiling" >&6; }
4269 rm -f conftest.
$ac_ext conftest
$ac_cv_exeext conftest.out
4270 ac_clean_files
=$ac_clean_files_save
4271 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
4272 $as_echo_n "checking for suffix of object files... " >&6; }
4273 if ${ac_cv_objext+:} false
; then :
4274 $as_echo_n "(cached) " >&6
4276 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4277 /* end confdefs.h. */
4287 rm -f conftest.o conftest.obj
4288 if { { ac_try
="$ac_compile"
4290 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
4291 *) ac_try_echo=$ac_try;;
4293 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4294 $as_echo "$ac_try_echo"; } >&5
4295 (eval "$ac_compile") 2>&5
4297 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4298 test $ac_status = 0; }; then :
4299 for ac_file in conftest.o conftest.obj conftest.*; do
4300 test -f "$ac_file" || continue;
4302 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
4303 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
4308 $as_echo "$as_me: failed program was:" >&5
4309 sed 's/^/| /' conftest.$ac_ext >&5
4311 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4312 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4313 as_fn_error $? "cannot compute suffix of object files
: cannot compile
4314 See \
`config.log' for more details" "$LINENO" 5; }
4316 rm -f conftest.$ac_cv_objext conftest.$ac_ext
4318 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
4319 $as_echo "$ac_cv_objext" >&6; }
4320 OBJEXT=$ac_cv_objext
4322 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
4323 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
4324 if ${ac_cv_c_compiler_gnu+:} false; then :
4325 $as_echo_n "(cached) " >&6
4327 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4328 /* end confdefs.h. */
4341 if ac_fn_c_try_compile "$LINENO"; then :
4346 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4347 ac_cv_c_compiler_gnu=$ac_compiler_gnu
4350 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
4351 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
4352 if test $ac_compiler_gnu = yes; then
4357 ac_test_CFLAGS=${CFLAGS+set}
4358 ac_save_CFLAGS=$CFLAGS
4359 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
4360 $as_echo_n "checking whether $CC accepts -g... " >&6; }
4361 if ${ac_cv_prog_cc_g+:} false; then :
4362 $as_echo_n "(cached) " >&6
4364 ac_save_c_werror_flag=$ac_c_werror_flag
4365 ac_c_werror_flag=yes
4368 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4369 /* end confdefs.h. */
4379 if ac_fn_c_try_compile "$LINENO"; then :
4383 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4384 /* end confdefs.h. */
4394 if ac_fn_c_try_compile "$LINENO"; then :
4397 ac_c_werror_flag=$ac_save_c_werror_flag
4399 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4400 /* end confdefs.h. */
4410 if ac_fn_c_try_compile "$LINENO"; then :
4413 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4415 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4417 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4418 ac_c_werror_flag=$ac_save_c_werror_flag
4420 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
4421 $as_echo "$ac_cv_prog_cc_g" >&6; }
4422 if test "$ac_test_CFLAGS" = set; then
4423 CFLAGS=$ac_save_CFLAGS
4424 elif test $ac_cv_prog_cc_g = yes; then
4425 if test "$GCC" = yes; then
4431 if test "$GCC" = yes; then
4437 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
4438 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
4439 if ${ac_cv_prog_cc_c89+:} false; then :
4440 $as_echo_n "(cached) " >&6
4442 ac_cv_prog_cc_c89=no
4444 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4445 /* end confdefs.h. */
4449 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
4450 struct buf { int x; };
4451 FILE * (*rcsopen) (struct buf *, struct stat *, int);
4452 static char *e (p, i)
4458 static char *f (char * (*g) (char **, int), char **p, ...)
4463 s = g (p, va_arg (v,int));
4468 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
4469 function prototypes and stuff, but not '\xHH' hex character constants.
4470 These don't provoke an error unfortunately, instead are silently treated
4471 as 'x'. The following induces an error, until -std is added to get
4472 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
4473 array size at least. It's necessary to write '\x00'==0 to get something
4474 that's true only with -std. */
4475 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
4477 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
4478 inside strings and character constants. */
4480 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
4482 int test (int i, double x);
4483 struct s1 {int (*f) (int a);};
4484 struct s2 {int (*f) (double a);};
4485 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
4491 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
4496 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
4497 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
4499 CC="$ac_save_CC $ac_arg"
4500 if ac_fn_c_try_compile "$LINENO"; then :
4501 ac_cv_prog_cc_c89=$ac_arg
4503 rm -f core conftest.err conftest.$ac_objext
4504 test "x$ac_cv_prog_cc_c89" != "xno" && break
4506 rm -f conftest.$ac_ext
4511 case "x$ac_cv_prog_cc_c89" in
4513 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
4514 $as_echo "none needed" >&6; } ;;
4516 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
4517 $as_echo "unsupported" >&6; } ;;
4519 CC="$CC $ac_cv_prog_cc_c89"
4520 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
4521 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
4523 if test "x$ac_cv_prog_cc_c89" != xno; then :
4528 ac_cpp='$CPP $CPPFLAGS'
4529 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4530 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4531 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4534 ac_cpp='$CXXCPP $CPPFLAGS'
4535 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4536 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4537 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
4538 if test -z "$CXX"; then
4539 if test -n "$CCC"; then
4542 if test -n "$ac_tool_prefix"; then
4543 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
4545 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
4546 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
4547 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4548 $as_echo_n "checking for $ac_word... " >&6; }
4549 if ${ac_cv_prog_CXX+:} false; then :
4550 $as_echo_n "(cached) " >&6
4552 if test -n "$CXX"; then
4553 ac_cv_prog_CXX="$CXX" # Let the user override the test.
4555 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4559 test -z "$as_dir" && as_dir=.
4560 for ac_exec_ext in '' $ac_executable_extensions; do
4561 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4562 ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"
4563 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4573 if test -n "$CXX"; then
4574 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXX" >&5
4575 $as_echo "$CXX" >&6; }
4577 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4578 $as_echo "no" >&6; }
4582 test -n "$CXX" && break
4585 if test -z "$CXX"; then
4587 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
4589 # Extract the first word of "$ac_prog", so it can be a program name with args.
4590 set dummy $ac_prog; ac_word=$2
4591 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4592 $as_echo_n "checking for $ac_word... " >&6; }
4593 if ${ac_cv_prog_ac_ct_CXX+:} false; then :
4594 $as_echo_n "(cached) " >&6
4596 if test -n "$ac_ct_CXX"; then
4597 ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
4599 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4603 test -z "$as_dir" && as_dir=.
4604 for ac_exec_ext in '' $ac_executable_extensions; do
4605 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4606 ac_cv_prog_ac_ct_CXX="$ac_prog"
4607 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4616 ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
4617 if test -n "$ac_ct_CXX"; then
4618 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CXX" >&5
4619 $as_echo "$ac_ct_CXX" >&6; }
4621 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4622 $as_echo "no" >&6; }
4626 test -n "$ac_ct_CXX" && break
4629 if test "x$ac_ct_CXX" = x; then
4632 case $cross_compiling:$ac_tool_warned in
4634 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4635 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4636 ac_tool_warned=yes ;;
4644 # Provide some information about the compiler.
4645 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C++ compiler version" >&5
4648 for ac_option in --version -v -V -qversion; do
4649 { { ac_try="$ac_compiler $ac_option >&5"
4651 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
4652 *) ac_try_echo
=$ac_try;;
4654 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4655 $as_echo "$ac_try_echo"; } >&5
4656 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
4658 if test -s conftest.err
; then
4660 ... rest of stderr output deleted ...
4661 10q' conftest.err
>conftest.er1
4662 cat conftest.er1
>&5
4664 rm -f conftest.er1 conftest.err
4665 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4666 test $ac_status = 0; }
4669 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C++ compiler" >&5
4670 $as_echo_n "checking whether we are using the GNU C++ compiler... " >&6; }
4671 if ${ac_cv_cxx_compiler_gnu+:} false
; then :
4672 $as_echo_n "(cached) " >&6
4674 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4675 /* end confdefs.h. */
4688 if ac_fn_cxx_try_compile
"$LINENO"; then :
4693 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
4694 ac_cv_cxx_compiler_gnu
=$ac_compiler_gnu
4697 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cxx_compiler_gnu" >&5
4698 $as_echo "$ac_cv_cxx_compiler_gnu" >&6; }
4699 if test $ac_compiler_gnu = yes; then
4704 ac_test_CXXFLAGS
=${CXXFLAGS+set}
4705 ac_save_CXXFLAGS
=$CXXFLAGS
4706 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CXX accepts -g" >&5
4707 $as_echo_n "checking whether $CXX accepts -g... " >&6; }
4708 if ${ac_cv_prog_cxx_g+:} false
; then :
4709 $as_echo_n "(cached) " >&6
4711 ac_save_cxx_werror_flag
=$ac_cxx_werror_flag
4712 ac_cxx_werror_flag
=yes
4715 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4716 /* end confdefs.h. */
4726 if ac_fn_cxx_try_compile
"$LINENO"; then :
4727 ac_cv_prog_cxx_g
=yes
4730 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4731 /* end confdefs.h. */
4741 if ac_fn_cxx_try_compile
"$LINENO"; then :
4744 ac_cxx_werror_flag
=$ac_save_cxx_werror_flag
4746 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4747 /* end confdefs.h. */
4757 if ac_fn_cxx_try_compile
"$LINENO"; then :
4758 ac_cv_prog_cxx_g
=yes
4760 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
4762 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
4764 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
4765 ac_cxx_werror_flag
=$ac_save_cxx_werror_flag
4767 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cxx_g" >&5
4768 $as_echo "$ac_cv_prog_cxx_g" >&6; }
4769 if test "$ac_test_CXXFLAGS" = set; then
4770 CXXFLAGS
=$ac_save_CXXFLAGS
4771 elif test $ac_cv_prog_cxx_g = yes; then
4772 if test "$GXX" = yes; then
4778 if test "$GXX" = yes; then
4785 ac_cpp
='$CPP $CPPFLAGS'
4786 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4787 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4788 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
4790 if test -n "$ac_tool_prefix"; then
4791 # Extract the first word of "${ac_tool_prefix}cpp", so it can be a program name with args.
4792 set dummy
${ac_tool_prefix}cpp
; ac_word
=$2
4793 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4794 $as_echo_n "checking for $ac_word... " >&6; }
4795 if ${ac_cv_prog_CPPBIN+:} false
; then :
4796 $as_echo_n "(cached) " >&6
4798 if test -n "$CPPBIN"; then
4799 ac_cv_prog_CPPBIN
="$CPPBIN" # Let the user override the test.
4801 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4805 test -z "$as_dir" && as_dir
=.
4806 for ac_exec_ext
in '' $ac_executable_extensions; do
4807 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
4808 ac_cv_prog_CPPBIN
="${ac_tool_prefix}cpp"
4809 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4818 CPPBIN
=$ac_cv_prog_CPPBIN
4819 if test -n "$CPPBIN"; then
4820 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPPBIN" >&5
4821 $as_echo "$CPPBIN" >&6; }
4823 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4824 $as_echo "no" >&6; }
4829 if test -z "$ac_cv_prog_CPPBIN"; then
4830 ac_ct_CPPBIN
=$CPPBIN
4831 # Extract the first word of "cpp", so it can be a program name with args.
4832 set dummy cpp
; ac_word
=$2
4833 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4834 $as_echo_n "checking for $ac_word... " >&6; }
4835 if ${ac_cv_prog_ac_ct_CPPBIN+:} false
; then :
4836 $as_echo_n "(cached) " >&6
4838 if test -n "$ac_ct_CPPBIN"; then
4839 ac_cv_prog_ac_ct_CPPBIN
="$ac_ct_CPPBIN" # Let the user override the test.
4841 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4845 test -z "$as_dir" && as_dir
=.
4846 for ac_exec_ext
in '' $ac_executable_extensions; do
4847 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
4848 ac_cv_prog_ac_ct_CPPBIN
="cpp"
4849 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4858 ac_ct_CPPBIN
=$ac_cv_prog_ac_ct_CPPBIN
4859 if test -n "$ac_ct_CPPBIN"; then
4860 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CPPBIN" >&5
4861 $as_echo "$ac_ct_CPPBIN" >&6; }
4863 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4864 $as_echo "no" >&6; }
4867 if test "x$ac_ct_CPPBIN" = x
; then
4870 case $cross_compiling:$ac_tool_warned in
4872 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4873 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4874 ac_tool_warned
=yes ;;
4876 CPPBIN
=$ac_ct_CPPBIN
4879 CPPBIN
="$ac_cv_prog_CPPBIN"
4883 cat >>confdefs.h
<<_ACEOF
4884 #define EXEEXT "$ac_exeext"
4887 if test -n "$ac_tool_prefix"; then
4888 # Extract the first word of "${ac_tool_prefix}ld", so it can be a program name with args.
4889 set dummy
${ac_tool_prefix}ld
; ac_word
=$2
4890 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4891 $as_echo_n "checking for $ac_word... " >&6; }
4892 if ${ac_cv_prog_LD+:} false
; then :
4893 $as_echo_n "(cached) " >&6
4895 if test -n "$LD"; then
4896 ac_cv_prog_LD
="$LD" # Let the user override the test.
4898 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4902 test -z "$as_dir" && as_dir
=.
4903 for ac_exec_ext
in '' $ac_executable_extensions; do
4904 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
4905 ac_cv_prog_LD
="${ac_tool_prefix}ld"
4906 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4916 if test -n "$LD"; then
4917 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
4918 $as_echo "$LD" >&6; }
4920 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4921 $as_echo "no" >&6; }
4926 if test -z "$ac_cv_prog_LD"; then
4928 # Extract the first word of "ld", so it can be a program name with args.
4929 set dummy ld
; ac_word
=$2
4930 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4931 $as_echo_n "checking for $ac_word... " >&6; }
4932 if ${ac_cv_prog_ac_ct_LD+:} false
; then :
4933 $as_echo_n "(cached) " >&6
4935 if test -n "$ac_ct_LD"; then
4936 ac_cv_prog_ac_ct_LD
="$ac_ct_LD" # Let the user override the test.
4938 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4942 test -z "$as_dir" && as_dir
=.
4943 for ac_exec_ext
in '' $ac_executable_extensions; do
4944 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
4945 ac_cv_prog_ac_ct_LD
="ld"
4946 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4955 ac_ct_LD
=$ac_cv_prog_ac_ct_LD
4956 if test -n "$ac_ct_LD"; then
4957 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_LD" >&5
4958 $as_echo "$ac_ct_LD" >&6; }
4960 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4961 $as_echo "no" >&6; }
4964 if test "x$ac_ct_LD" = x
; then
4967 case $cross_compiling:$ac_tool_warned in
4969 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4970 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4971 ac_tool_warned
=yes ;;
4982 with_fontconfig
=${with_fontconfig:-no}
4984 *-mingw32*|
*-cygwin*)
4985 enable_win16
=${enable_win16:-no}
4986 CFLAGS
="$CFLAGS -D_WIN32"
4992 if test "x$enable_win64" != "xyes" -a "$cross_compiling" != "yes"
4996 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC works" >&5
4997 $as_echo_n "checking whether $CC works... " >&6; }
4999 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5000 /* end confdefs.h. */
5010 if ac_fn_c_try_link
"$LINENO"; then :
5011 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5012 $as_echo "yes" >&6; }
5014 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5015 $as_echo "no" >&6; }
5016 as_fn_error $?
"Cannot build a 32-bit program, you need to install 32-bit development libraries." "$LINENO" 5
5018 rm -f core conftest.err conftest.
$ac_objext \
5019 conftest
$ac_exeext conftest.
$ac_ext
5021 notice_platform
="32-bit "
5024 enable_win16
=${enable_win16:-yes}
5026 if test "x${GCC}" = "xyes"
5028 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC supports __builtin_ms_va_list" >&5
5029 $as_echo_n "checking whether $CC supports __builtin_ms_va_list... " >&6; }
5030 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5031 /* end confdefs.h. */
5036 void func(__builtin_ms_va_list *args);
5041 if ac_fn_c_try_compile
"$LINENO"; then :
5042 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5043 $as_echo "yes" >&6; }
5045 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5046 $as_echo "no" >&6; }
5047 as_fn_error $?
"You need gcc >= 4.4 or clang >= 3.8 to build Wine as 64-bit." "$LINENO" 5
5049 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
5054 notice_platform
="64-bit "
5060 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC supports Thumb" >&5
5061 $as_echo_n "checking whether $CC supports Thumb... " >&6; }
5062 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5063 /* end confdefs.h. */
5064 int ac_test(int i) { return i; }
5068 asm(".thumb\nblx ac_test\n.arm"); if (ac_test(1)) return 1
5073 if ac_fn_c_try_link
"$LINENO"; then :
5074 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5075 $as_echo "yes" >&6; }
5077 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5078 $as_echo "no" >&6; }
5079 as_fn_error $?
"You need a target with Thumb support to build Wine for ARM." "$LINENO" 5
5081 rm -f core conftest.err conftest.
$ac_objext \
5082 conftest
$ac_exeext conftest.
$ac_ext
5083 CFLAGS
="$CFLAGS -marm"
5088 enable_win16
=${enable_win16:-yes}
5092 enable_win16
=${enable_win16:-no}
5093 enable_win64
=${enable_win64:-no}
5095 enable_winetest
=${enable_winetest:-$enable_tests}
5097 if test -n "$with_wine64"
5099 if test "x$enable_win64" = "xyes"
5101 as_fn_error $?
"--enable-win64 and --with-wine64 are mutually exclusive.
5102 --enable-win64 should be used in the 64-bit build tree, --with-wine64 in the 32-bit Wow64 build tree." "$LINENO" 5
5104 test "$srcdir" != . || as_fn_error $?
"--with-wine64 cannot be used when building inside the source tree.
5105 You should create a separate build directory and run configure from there." "$LINENO" 5
5106 enable_fonts
=${enable_fonts:-no}
5107 enable_server
=${enable_server:-no}
5108 elif test "x$enable_win64" = "xyes"
5110 test "x$libdir" != "x\${exec_prefix}/lib" || libdir
="\${exec_prefix}/lib64"
5113 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for the directory containing the Wine tools" >&5
5114 $as_echo_n "checking for the directory containing the Wine tools... " >&6; }
5115 if ${wine_cv_toolsdir+:} false
; then :
5116 $as_echo_n "(cached) " >&6
5118 wine_cv_toolsdir
="$with_wine_tools"
5119 if test -z "$with_wine_tools"; then
5120 if test "$cross_compiling" = "yes"; then
5121 as_fn_error $?
"you must use the --with-wine-tools option when cross-compiling." "$LINENO" 5
5122 elif test -n "$with_wine64"; then
5123 wine_cv_toolsdir
="$with_wine64"
5126 if test -z "$wine_cv_toolsdir"; then
5127 wine_makedep
=tools
/makedep
5128 wine_cv_toolsdir
="\$(top_builddir)"
5129 elif test -d "$wine_cv_toolsdir/tools/winebuild"; then
5130 wine_makedep
=$wine_cv_toolsdir/tools
/makedep
5131 case "$wine_cv_toolsdir" in
5133 *) wine_cv_toolsdir
="\$(top_builddir)/$wine_cv_toolsdir" ;;
5135 enable_tools
=${enable_tools:-no}
5136 test -f "$wine_makedep" || as_fn_error $?
"the Wine tools have not yet been built in $wine_cv_toolsdir" "$LINENO" 5
5138 as_fn_error $?
"could not find Wine tools in $wine_cv_toolsdir" "$LINENO" 5
5141 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_toolsdir" >&5
5142 $as_echo "$wine_cv_toolsdir" >&6; }
5143 TOOLSDIR
=$wine_cv_toolsdir
5145 if test -n "$host_alias" -a "$host_alias" != "$build_alias"
5147 TARGETFLAGS
="-b $host_alias $TARGETFLAGS"
5153 # Extract the first word of "$ac_prog", so it can be a program name with args.
5154 set dummy
$ac_prog; ac_word
=$2
5155 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5156 $as_echo_n "checking for $ac_word... " >&6; }
5157 if ${ac_cv_prog_FLEX+:} false
; then :
5158 $as_echo_n "(cached) " >&6
5160 if test -n "$FLEX"; then
5161 ac_cv_prog_FLEX
="$FLEX" # Let the user override the test.
5163 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5167 test -z "$as_dir" && as_dir
=.
5168 for ac_exec_ext
in '' $ac_executable_extensions; do
5169 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
5170 ac_cv_prog_FLEX
="$ac_prog"
5171 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5180 FLEX
=$ac_cv_prog_FLEX
5181 if test -n "$FLEX"; then
5182 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $FLEX" >&5
5183 $as_echo "$FLEX" >&6; }
5185 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5186 $as_echo "no" >&6; }
5190 test -n "$FLEX" && break
5192 test -n "$FLEX" || FLEX
="none"
5194 if test "$FLEX" = "none"
5196 as_fn_error $?
"no suitable flex found. Please install the 'flex' package." "$LINENO" 5
5198 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether flex is recent enough" >&5
5199 $as_echo_n "checking whether flex is recent enough... " >&6; }
5200 cat >conftest.l
<<EOF
5202 #include "prediluvian.h"
5206 if $FLEX -t conftest.l
>/dev
/null
2>&5
5208 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5209 $as_echo "yes" >&6; }
5211 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5212 $as_echo "no" >&6; }
5213 as_fn_error $?
"Your flex version is too old. Please install flex version 2.5.33 or newer." "$LINENO" 5
5216 for ac_prog
in bison
5218 # Extract the first word of "$ac_prog", so it can be a program name with args.
5219 set dummy
$ac_prog; ac_word
=$2
5220 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5221 $as_echo_n "checking for $ac_word... " >&6; }
5222 if ${ac_cv_prog_BISON+:} false
; then :
5223 $as_echo_n "(cached) " >&6
5225 if test -n "$BISON"; then
5226 ac_cv_prog_BISON
="$BISON" # Let the user override the test.
5228 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5232 test -z "$as_dir" && as_dir
=.
5233 for ac_exec_ext
in '' $ac_executable_extensions; do
5234 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
5235 ac_cv_prog_BISON
="$ac_prog"
5236 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5245 BISON
=$ac_cv_prog_BISON
5246 if test -n "$BISON"; then
5247 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $BISON" >&5
5248 $as_echo "$BISON" >&6; }
5250 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5251 $as_echo "no" >&6; }
5255 test -n "$BISON" && break
5257 test -n "$BISON" || BISON
="none"
5259 if test "$BISON" = "none"
5261 as_fn_error $?
"no suitable bison found. Please install the 'bison' package." "$LINENO" 5
5264 if test -n "$ac_tool_prefix"; then
5265 for ac_prog
in ar gar
5267 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
5268 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
5269 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5270 $as_echo_n "checking for $ac_word... " >&6; }
5271 if ${ac_cv_prog_AR+:} false
; then :
5272 $as_echo_n "(cached) " >&6
5274 if test -n "$AR"; then
5275 ac_cv_prog_AR
="$AR" # Let the user override the test.
5277 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5281 test -z "$as_dir" && as_dir
=.
5282 for ac_exec_ext
in '' $ac_executable_extensions; do
5283 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
5284 ac_cv_prog_AR
="$ac_tool_prefix$ac_prog"
5285 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5295 if test -n "$AR"; then
5296 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
5297 $as_echo "$AR" >&6; }
5299 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5300 $as_echo "no" >&6; }
5304 test -n "$AR" && break
5307 if test -z "$AR"; then
5309 for ac_prog
in ar gar
5311 # Extract the first word of "$ac_prog", so it can be a program name with args.
5312 set dummy
$ac_prog; ac_word
=$2
5313 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5314 $as_echo_n "checking for $ac_word... " >&6; }
5315 if ${ac_cv_prog_ac_ct_AR+:} false
; then :
5316 $as_echo_n "(cached) " >&6
5318 if test -n "$ac_ct_AR"; then
5319 ac_cv_prog_ac_ct_AR
="$ac_ct_AR" # Let the user override the test.
5321 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5325 test -z "$as_dir" && as_dir
=.
5326 for ac_exec_ext
in '' $ac_executable_extensions; do
5327 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
5328 ac_cv_prog_ac_ct_AR
="$ac_prog"
5329 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5338 ac_ct_AR
=$ac_cv_prog_ac_ct_AR
5339 if test -n "$ac_ct_AR"; then
5340 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5
5341 $as_echo "$ac_ct_AR" >&6; }
5343 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5344 $as_echo "no" >&6; }
5348 test -n "$ac_ct_AR" && break
5351 if test "x$ac_ct_AR" = x
; then
5354 case $cross_compiling:$ac_tool_warned in
5356 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5357 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5358 ac_tool_warned
=yes ;;
5364 if test -n "$ac_tool_prefix"; then
5365 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
5366 set dummy
${ac_tool_prefix}strip
; ac_word
=$2
5367 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5368 $as_echo_n "checking for $ac_word... " >&6; }
5369 if ${ac_cv_prog_STRIP+:} false
; then :
5370 $as_echo_n "(cached) " >&6
5372 if test -n "$STRIP"; then
5373 ac_cv_prog_STRIP
="$STRIP" # Let the user override the test.
5375 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5379 test -z "$as_dir" && as_dir
=.
5380 for ac_exec_ext
in '' $ac_executable_extensions; do
5381 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
5382 ac_cv_prog_STRIP
="${ac_tool_prefix}strip"
5383 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5392 STRIP
=$ac_cv_prog_STRIP
5393 if test -n "$STRIP"; then
5394 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
5395 $as_echo "$STRIP" >&6; }
5397 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5398 $as_echo "no" >&6; }
5403 if test -z "$ac_cv_prog_STRIP"; then
5405 # Extract the first word of "strip", so it can be a program name with args.
5406 set dummy strip
; ac_word
=$2
5407 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5408 $as_echo_n "checking for $ac_word... " >&6; }
5409 if ${ac_cv_prog_ac_ct_STRIP+:} false
; then :
5410 $as_echo_n "(cached) " >&6
5412 if test -n "$ac_ct_STRIP"; then
5413 ac_cv_prog_ac_ct_STRIP
="$ac_ct_STRIP" # Let the user override the test.
5415 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5419 test -z "$as_dir" && as_dir
=.
5420 for ac_exec_ext
in '' $ac_executable_extensions; do
5421 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
5422 ac_cv_prog_ac_ct_STRIP
="strip"
5423 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5432 ac_ct_STRIP
=$ac_cv_prog_ac_ct_STRIP
5433 if test -n "$ac_ct_STRIP"; then
5434 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
5435 $as_echo "$ac_ct_STRIP" >&6; }
5437 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5438 $as_echo "no" >&6; }
5441 if test "x$ac_ct_STRIP" = x
; then
5444 case $cross_compiling:$ac_tool_warned in
5446 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5447 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5448 ac_tool_warned
=yes ;;
5453 STRIP
="$ac_cv_prog_STRIP"
5458 if test -n "$ac_tool_prefix"; then
5459 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
5460 set dummy
${ac_tool_prefix}ranlib
; ac_word
=$2
5461 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5462 $as_echo_n "checking for $ac_word... " >&6; }
5463 if ${ac_cv_prog_RANLIB+:} false
; then :
5464 $as_echo_n "(cached) " >&6
5466 if test -n "$RANLIB"; then
5467 ac_cv_prog_RANLIB
="$RANLIB" # Let the user override the test.
5469 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5473 test -z "$as_dir" && as_dir
=.
5474 for ac_exec_ext
in '' $ac_executable_extensions; do
5475 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
5476 ac_cv_prog_RANLIB
="${ac_tool_prefix}ranlib"
5477 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5486 RANLIB
=$ac_cv_prog_RANLIB
5487 if test -n "$RANLIB"; then
5488 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
5489 $as_echo "$RANLIB" >&6; }
5491 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5492 $as_echo "no" >&6; }
5497 if test -z "$ac_cv_prog_RANLIB"; then
5498 ac_ct_RANLIB
=$RANLIB
5499 # Extract the first word of "ranlib", so it can be a program name with args.
5500 set dummy ranlib
; ac_word
=$2
5501 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5502 $as_echo_n "checking for $ac_word... " >&6; }
5503 if ${ac_cv_prog_ac_ct_RANLIB+:} false
; then :
5504 $as_echo_n "(cached) " >&6
5506 if test -n "$ac_ct_RANLIB"; then
5507 ac_cv_prog_ac_ct_RANLIB
="$ac_ct_RANLIB" # Let the user override the test.
5509 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5513 test -z "$as_dir" && as_dir
=.
5514 for ac_exec_ext
in '' $ac_executable_extensions; do
5515 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
5516 ac_cv_prog_ac_ct_RANLIB
="ranlib"
5517 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5526 ac_ct_RANLIB
=$ac_cv_prog_ac_ct_RANLIB
5527 if test -n "$ac_ct_RANLIB"; then
5528 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
5529 $as_echo "$ac_ct_RANLIB" >&6; }
5531 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5532 $as_echo "no" >&6; }
5535 if test "x$ac_ct_RANLIB" = x
; then
5538 case $cross_compiling:$ac_tool_warned in
5540 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5541 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5542 ac_tool_warned
=yes ;;
5544 RANLIB
=$ac_ct_RANLIB
5547 RANLIB
="$ac_cv_prog_RANLIB"
5550 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5
5551 $as_echo_n "checking whether ln -s works... " >&6; }
5553 if test "$LN_S" = "ln -s"; then
5554 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5555 $as_echo "yes" >&6; }
5557 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5
5558 $as_echo "no, using $LN_S" >&6; }
5561 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
5562 $as_echo_n "checking for grep that handles long lines and -e... " >&6; }
5563 if ${ac_cv_path_GREP+:} false
; then :
5564 $as_echo_n "(cached) " >&6
5566 if test -z "$GREP"; then
5567 ac_path_GREP_found
=false
5568 # Loop through the user's path and test for each of PROGNAME-LIST
5569 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5570 for as_dir
in $PATH$PATH_SEPARATOR/usr
/xpg
4/bin
5573 test -z "$as_dir" && as_dir
=.
5574 for ac_prog
in grep ggrep
; do
5575 for ac_exec_ext
in '' $ac_executable_extensions; do
5576 ac_path_GREP
="$as_dir/$ac_prog$ac_exec_ext"
5577 as_fn_executable_p
"$ac_path_GREP" ||
continue
5578 # Check for GNU ac_path_GREP and select it if it is found.
5579 # Check for GNU $ac_path_GREP
5580 case `"$ac_path_GREP" --version 2>&1` in
5582 ac_cv_path_GREP
="$ac_path_GREP" ac_path_GREP_found
=:;;
5585 $as_echo_n 0123456789 >"conftest.in"
5588 cat "conftest.in" "conftest.in" >"conftest.tmp"
5589 mv "conftest.tmp" "conftest.in"
5590 cp "conftest.in" "conftest.nl"
5591 $as_echo 'GREP' >> "conftest.nl"
5592 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev
/null ||
break
5593 diff "conftest.out" "conftest.nl" >/dev
/null
2>&1 ||
break
5594 as_fn_arith
$ac_count + 1 && ac_count
=$as_val
5595 if test $ac_count -gt ${ac_path_GREP_max-0}; then
5596 # Best one so far, save it but keep looking for a better one
5597 ac_cv_path_GREP
="$ac_path_GREP"
5598 ac_path_GREP_max
=$ac_count
5600 # 10*(2^10) chars as input seems more than enough
5601 test $ac_count -gt 10 && break
5603 rm -f conftest.
in conftest.tmp conftest.
nl conftest.out
;;
5606 $ac_path_GREP_found && break 3
5611 if test -z "$ac_cv_path_GREP"; then
5612 as_fn_error $?
"no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
5615 ac_cv_path_GREP
=$GREP
5619 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
5620 $as_echo "$ac_cv_path_GREP" >&6; }
5621 GREP
="$ac_cv_path_GREP"
5624 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
5625 $as_echo_n "checking for egrep... " >&6; }
5626 if ${ac_cv_path_EGREP+:} false
; then :
5627 $as_echo_n "(cached) " >&6
5629 if echo a |
$GREP -E '(a|b)' >/dev
/null
2>&1
5630 then ac_cv_path_EGREP
="$GREP -E"
5632 if test -z "$EGREP"; then
5633 ac_path_EGREP_found
=false
5634 # Loop through the user's path and test for each of PROGNAME-LIST
5635 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5636 for as_dir
in $PATH$PATH_SEPARATOR/usr
/xpg
4/bin
5639 test -z "$as_dir" && as_dir
=.
5640 for ac_prog
in egrep; do
5641 for ac_exec_ext
in '' $ac_executable_extensions; do
5642 ac_path_EGREP
="$as_dir/$ac_prog$ac_exec_ext"
5643 as_fn_executable_p
"$ac_path_EGREP" ||
continue
5644 # Check for GNU ac_path_EGREP and select it if it is found.
5645 # Check for GNU $ac_path_EGREP
5646 case `"$ac_path_EGREP" --version 2>&1` in
5648 ac_cv_path_EGREP
="$ac_path_EGREP" ac_path_EGREP_found
=:;;
5651 $as_echo_n 0123456789 >"conftest.in"
5654 cat "conftest.in" "conftest.in" >"conftest.tmp"
5655 mv "conftest.tmp" "conftest.in"
5656 cp "conftest.in" "conftest.nl"
5657 $as_echo 'EGREP' >> "conftest.nl"
5658 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev
/null ||
break
5659 diff "conftest.out" "conftest.nl" >/dev
/null
2>&1 ||
break
5660 as_fn_arith
$ac_count + 1 && ac_count
=$as_val
5661 if test $ac_count -gt ${ac_path_EGREP_max-0}; then
5662 # Best one so far, save it but keep looking for a better one
5663 ac_cv_path_EGREP
="$ac_path_EGREP"
5664 ac_path_EGREP_max
=$ac_count
5666 # 10*(2^10) chars as input seems more than enough
5667 test $ac_count -gt 10 && break
5669 rm -f conftest.
in conftest.tmp conftest.
nl conftest.out
;;
5672 $ac_path_EGREP_found && break 3
5677 if test -z "$ac_cv_path_EGREP"; then
5678 as_fn_error $?
"no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
5681 ac_cv_path_EGREP
=$EGREP
5686 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
5687 $as_echo "$ac_cv_path_EGREP" >&6; }
5688 EGREP
="$ac_cv_path_EGREP"
5691 # Extract the first word of "ldconfig", so it can be a program name with args.
5692 set dummy ldconfig
; ac_word
=$2
5693 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5694 $as_echo_n "checking for $ac_word... " >&6; }
5695 if ${ac_cv_path_LDCONFIG+:} false
; then :
5696 $as_echo_n "(cached) " >&6
5700 ac_cv_path_LDCONFIG
="$LDCONFIG" # Let the user override the test with a path.
5703 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5704 for as_dir
in /sbin
/usr
/sbin
$PATH
5707 test -z "$as_dir" && as_dir
=.
5708 for ac_exec_ext
in '' $ac_executable_extensions; do
5709 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
5710 ac_cv_path_LDCONFIG
="$as_dir/$ac_word$ac_exec_ext"
5711 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5718 test -z "$ac_cv_path_LDCONFIG" && ac_cv_path_LDCONFIG
="true"
5722 LDCONFIG
=$ac_cv_path_LDCONFIG
5723 if test -n "$LDCONFIG"; then
5724 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LDCONFIG" >&5
5725 $as_echo "$LDCONFIG" >&6; }
5727 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5728 $as_echo "no" >&6; }
5732 for ac_prog
in msgfmt
5734 # Extract the first word of "$ac_prog", so it can be a program name with args.
5735 set dummy
$ac_prog; ac_word
=$2
5736 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5737 $as_echo_n "checking for $ac_word... " >&6; }
5738 if ${ac_cv_prog_MSGFMT+:} false
; then :
5739 $as_echo_n "(cached) " >&6
5741 if test -n "$MSGFMT"; then
5742 ac_cv_prog_MSGFMT
="$MSGFMT" # Let the user override the test.
5744 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5748 test -z "$as_dir" && as_dir
=.
5749 for ac_exec_ext
in '' $ac_executable_extensions; do
5750 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
5751 ac_cv_prog_MSGFMT
="$ac_prog"
5752 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5761 MSGFMT
=$ac_cv_prog_MSGFMT
5762 if test -n "$MSGFMT"; then
5763 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MSGFMT" >&5
5764 $as_echo "$MSGFMT" >&6; }
5766 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5767 $as_echo "no" >&6; }
5771 test -n "$MSGFMT" && break
5773 test -n "$MSGFMT" || MSGFMT
="false"
5775 if ${ac_tool_prefix+:} false
; then :
5776 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
5777 set dummy
${ac_tool_prefix}pkg-config
; ac_word
=$2
5778 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5779 $as_echo_n "checking for $ac_word... " >&6; }
5780 if ${ac_cv_prog_PKG_CONFIG+:} false
; then :
5781 $as_echo_n "(cached) " >&6
5783 if test -n "$PKG_CONFIG"; then
5784 ac_cv_prog_PKG_CONFIG
="$PKG_CONFIG" # Let the user override the test.
5786 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5790 test -z "$as_dir" && as_dir
=.
5791 for ac_exec_ext
in '' $ac_executable_extensions; do
5792 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
5793 ac_cv_prog_PKG_CONFIG
="${ac_tool_prefix}pkg-config"
5794 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5803 PKG_CONFIG
=$ac_cv_prog_PKG_CONFIG
5804 if test -n "$PKG_CONFIG"; then
5805 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
5806 $as_echo "$PKG_CONFIG" >&6; }
5808 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5809 $as_echo "no" >&6; }
5814 if ${ac_cv_prog_PKG_CONFIG:+false} :; then :
5815 if test "x$cross_compiling" = xyes
; then :
5818 { ac_cv_prog_PKG_CONFIG
=; unset ac_cv_prog_PKG_CONFIG
;}
5819 # Extract the first word of "pkg-config", so it can be a program name with args.
5820 set dummy pkg-config
; ac_word
=$2
5821 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5822 $as_echo_n "checking for $ac_word... " >&6; }
5823 if ${ac_cv_prog_PKG_CONFIG+:} false
; then :
5824 $as_echo_n "(cached) " >&6
5826 if test -n "$PKG_CONFIG"; then
5827 ac_cv_prog_PKG_CONFIG
="$PKG_CONFIG" # Let the user override the test.
5829 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5833 test -z "$as_dir" && as_dir
=.
5834 for ac_exec_ext
in '' $ac_executable_extensions; do
5835 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
5836 ac_cv_prog_PKG_CONFIG
="pkg-config"
5837 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5846 PKG_CONFIG
=$ac_cv_prog_PKG_CONFIG
5847 if test -n "$PKG_CONFIG"; then
5848 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
5849 $as_echo "$PKG_CONFIG" >&6; }
5851 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5852 $as_echo "no" >&6; }
5858 PKG_CONFIG
=$ac_cv_prog_PKG_CONFIG
5861 if test "x$enable_maintainer_mode" != "xyes"
5868 test "$srcdir" = . || as_fn_error $?
"Maintainer mode cannot work out of tree." "$LINENO" 5
5869 for ac_prog
in fontforge
5871 # Extract the first word of "$ac_prog", so it can be a program name with args.
5872 set dummy
$ac_prog; ac_word
=$2
5873 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5874 $as_echo_n "checking for $ac_word... " >&6; }
5875 if ${ac_cv_prog_FONTFORGE+:} false
; then :
5876 $as_echo_n "(cached) " >&6
5878 if test -n "$FONTFORGE"; then
5879 ac_cv_prog_FONTFORGE
="$FONTFORGE" # Let the user override the test.
5881 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5885 test -z "$as_dir" && as_dir
=.
5886 for ac_exec_ext
in '' $ac_executable_extensions; do
5887 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
5888 ac_cv_prog_FONTFORGE
="$ac_prog"
5889 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5898 FONTFORGE
=$ac_cv_prog_FONTFORGE
5899 if test -n "$FONTFORGE"; then
5900 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $FONTFORGE" >&5
5901 $as_echo "$FONTFORGE" >&6; }
5903 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5904 $as_echo "no" >&6; }
5908 test -n "$FONTFORGE" && break
5910 test -n "$FONTFORGE" || FONTFORGE
="false"
5912 for ac_prog
in rsvg-convert rsvg
5914 # Extract the first word of "$ac_prog", so it can be a program name with args.
5915 set dummy
$ac_prog; ac_word
=$2
5916 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5917 $as_echo_n "checking for $ac_word... " >&6; }
5918 if ${ac_cv_prog_RSVG+:} false
; then :
5919 $as_echo_n "(cached) " >&6
5921 if test -n "$RSVG"; then
5922 ac_cv_prog_RSVG
="$RSVG" # Let the user override the test.
5924 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5928 test -z "$as_dir" && as_dir
=.
5929 for ac_exec_ext
in '' $ac_executable_extensions; do
5930 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
5931 ac_cv_prog_RSVG
="$ac_prog"
5932 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5941 RSVG
=$ac_cv_prog_RSVG
5942 if test -n "$RSVG"; then
5943 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RSVG" >&5
5944 $as_echo "$RSVG" >&6; }
5946 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5947 $as_echo "no" >&6; }
5951 test -n "$RSVG" && break
5953 test -n "$RSVG" || RSVG
="false"
5955 for ac_prog
in convert
5957 # Extract the first word of "$ac_prog", so it can be a program name with args.
5958 set dummy
$ac_prog; ac_word
=$2
5959 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5960 $as_echo_n "checking for $ac_word... " >&6; }
5961 if ${ac_cv_prog_CONVERT+:} false
; then :
5962 $as_echo_n "(cached) " >&6
5964 if test -n "$CONVERT"; then
5965 ac_cv_prog_CONVERT
="$CONVERT" # Let the user override the test.
5967 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5971 test -z "$as_dir" && as_dir
=.
5972 for ac_exec_ext
in '' $ac_executable_extensions; do
5973 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
5974 ac_cv_prog_CONVERT
="$ac_prog"
5975 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5984 CONVERT
=$ac_cv_prog_CONVERT
5985 if test -n "$CONVERT"; then
5986 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CONVERT" >&5
5987 $as_echo "$CONVERT" >&6; }
5989 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5990 $as_echo "no" >&6; }
5994 test -n "$CONVERT" && break
5996 test -n "$CONVERT" || CONVERT
="false"
5998 for ac_prog
in icotool
6000 # Extract the first word of "$ac_prog", so it can be a program name with args.
6001 set dummy
$ac_prog; ac_word
=$2
6002 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6003 $as_echo_n "checking for $ac_word... " >&6; }
6004 if ${ac_cv_prog_ICOTOOL+:} false
; then :
6005 $as_echo_n "(cached) " >&6
6007 if test -n "$ICOTOOL"; then
6008 ac_cv_prog_ICOTOOL
="$ICOTOOL" # Let the user override the test.
6010 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6014 test -z "$as_dir" && as_dir
=.
6015 for ac_exec_ext
in '' $ac_executable_extensions; do
6016 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
6017 ac_cv_prog_ICOTOOL
="$ac_prog"
6018 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6027 ICOTOOL
=$ac_cv_prog_ICOTOOL
6028 if test -n "$ICOTOOL"; then
6029 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ICOTOOL" >&5
6030 $as_echo "$ICOTOOL" >&6; }
6032 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6033 $as_echo "no" >&6; }
6037 test -n "$ICOTOOL" && break
6039 test -n "$ICOTOOL" || ICOTOOL
="false"
6041 test "$FONTFORGE" != "false" || as_fn_error $?
"You need fontforge to rebuild fonts in maintainer mode." "$LINENO" 5
6042 test "$RSVG" != "false" || as_fn_error $?
"You need rsvg to rebuild icons in maintainer mode." "$LINENO" 5
6044 if test "$CONVERT" = false
6046 as_fn_error $?
"You need imagemagick to rebuild icons in maintainer mode." "$LINENO" 5
6048 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for recent enough imagemagick" >&5
6049 $as_echo_n "checking for recent enough imagemagick... " >&6; }
6050 convert_version
=`convert --version | head -n1`
6051 if test "x$convert_version" != "x"
6053 convert_version_major
=`expr "$convert_version" : '.* \([0-9]*\)\.[0-9]*'`
6054 convert_version_minor
=`expr "$convert_version" : '.* [0-9]*\.\([0-9]*\)'`
6055 if test "$convert_version_major" -eq 6 -a "$convert_version_minor" -lt 6
6060 if test "$CONVERT" = false
6062 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no ($convert_version_major.$convert_version_minor)" >&5
6063 $as_echo "no ($convert_version_major.$convert_version_minor)" >&6; }
6064 as_fn_error $?
"You need imagemagick version 6.6 or newer to rebuild icons in maintainer mode." "$LINENO" 5
6066 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes ($convert_version_major.$convert_version_minor)" >&5
6067 $as_echo "yes ($convert_version_major.$convert_version_minor)" >&6; }
6071 if test "$ICOTOOL" = false
6073 as_fn_error $?
"You need icotool to rebuild icons in maintainer mode." "$LINENO" 5
6075 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for recent enough icotool" >&5
6076 $as_echo_n "checking for recent enough icotool... " >&6; }
6077 icotool_version
=`icotool --version | head -n1`
6078 if test "x$icotool_version" != "x"
6080 icotool_version_major
=`expr "$icotool_version" : '.* \([0-9]*\)\.[0-9]*'`
6081 icotool_version_minor
=`expr "$icotool_version" : '.* [0-9]*\.\([0-9]*\)'`
6082 if test "$icotool_version_major" -eq 0 -a "$icotool_version_minor" -lt 29
6085 as_fn_append wine_warnings
"|icotool version 0.29.0 or newer is needed to rebuild icons."
6088 if test "$ICOTOOL" = false
6090 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no ($icotool_version_major.$icotool_version_minor)" >&5
6091 $as_echo "no ($icotool_version_major.$icotool_version_minor)" >&6; }
6092 as_fn_error $?
"You need icotool version 0.29.0 or newer to rebuild icons in maintainer mode." "$LINENO" 5
6094 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes ($icotool_version_major.$icotool_version_minor)" >&5
6095 $as_echo "yes ($icotool_version_major.$icotool_version_minor)" >&6; }
6101 { ac_cv_header_gettext_po_h
=; unset ac_cv_header_gettext_po_h
;}
6104 test "x$with_gettext" != xno || MSGFMT
=false
6105 if test "$MSGFMT" != "false"
6107 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether msgfmt supports contexts" >&5
6108 $as_echo_n "checking whether msgfmt supports contexts... " >&6; }
6109 cat >conftest.po
<<EOF
6115 if $MSGFMT -o /dev
/null conftest.po
2>&5
6117 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
6118 $as_echo "yes" >&6; }
6120 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6121 $as_echo "no" >&6; }
6125 if test "$MSGFMT" = false
; then :
6126 case "x$with_gettext" in
6127 x
) as_fn_append wine_warnings
"|gettext tools not found (or too old), translations won't be built." ;;
6129 *) as_fn_error $?
"gettext tools not found (or too old), translations won't be built.
6130 This is an error since --with-gettext was requested." "$LINENO" 5 ;;
6132 enable_po
=${enable_po:-no}
6136 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for i386_set_ldt in -li386" >&5
6137 $as_echo_n "checking for i386_set_ldt in -li386... " >&6; }
6138 if ${ac_cv_lib_i386_i386_set_ldt+:} false
; then :
6139 $as_echo_n "(cached) " >&6
6141 ac_check_lib_save_LIBS
=$LIBS
6143 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6144 /* end confdefs.h. */
6146 /* Override any GCC internal prototype to avoid an error.
6147 Use char because int might match the return type of a GCC
6148 builtin and then its argument prototype would still apply. */
6152 char i386_set_ldt ();
6156 return i386_set_ldt ();
6161 if ac_fn_c_try_link
"$LINENO"; then :
6162 ac_cv_lib_i386_i386_set_ldt
=yes
6164 ac_cv_lib_i386_i386_set_ldt
=no
6166 rm -f core conftest.err conftest.
$ac_objext \
6167 conftest
$ac_exeext conftest.
$ac_ext
6168 LIBS
=$ac_check_lib_save_LIBS
6170 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_i386_i386_set_ldt" >&5
6171 $as_echo "$ac_cv_lib_i386_i386_set_ldt" >&6; }
6172 if test "x$ac_cv_lib_i386_i386_set_ldt" = xyes
; then :
6173 cat >>confdefs.h
<<_ACEOF
6174 #define HAVE_LIBI386 1
6181 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _oss_ioctl in -lossaudio" >&5
6182 $as_echo_n "checking for _oss_ioctl in -lossaudio... " >&6; }
6183 if ${ac_cv_lib_ossaudio__oss_ioctl+:} false
; then :
6184 $as_echo_n "(cached) " >&6
6186 ac_check_lib_save_LIBS
=$LIBS
6187 LIBS
="-lossaudio $LIBS"
6188 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6189 /* end confdefs.h. */
6191 /* Override any GCC internal prototype to avoid an error.
6192 Use char because int might match the return type of a GCC
6193 builtin and then its argument prototype would still apply. */
6201 return _oss_ioctl ();
6206 if ac_fn_c_try_link
"$LINENO"; then :
6207 ac_cv_lib_ossaudio__oss_ioctl
=yes
6209 ac_cv_lib_ossaudio__oss_ioctl
=no
6211 rm -f core conftest.err conftest.
$ac_objext \
6212 conftest
$ac_exeext conftest.
$ac_ext
6213 LIBS
=$ac_check_lib_save_LIBS
6215 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ossaudio__oss_ioctl" >&5
6216 $as_echo "$ac_cv_lib_ossaudio__oss_ioctl" >&6; }
6217 if test "x$ac_cv_lib_ossaudio__oss_ioctl" = xyes
; then :
6218 cat >>confdefs.h
<<_ACEOF
6219 #define HAVE_LIBOSSAUDIO 1
6222 LIBS
="-lossaudio $LIBS"
6231 # Check whether --enable-largefile was given.
6232 if test "${enable_largefile+set}" = set; then :
6233 enableval
=$enable_largefile;
6236 if test "$enable_largefile" != no
; then
6238 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for special C compiler options needed for large files" >&5
6239 $as_echo_n "checking for special C compiler options needed for large files... " >&6; }
6240 if ${ac_cv_sys_largefile_CC+:} false
; then :
6241 $as_echo_n "(cached) " >&6
6243 ac_cv_sys_largefile_CC
=no
6244 if test "$GCC" != yes; then
6247 # IRIX 6.2 and later do not support large files by default,
6248 # so use the C compiler's -n32 option if that helps.
6249 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6250 /* end confdefs.h. */
6251 #include <sys/types.h>
6252 /* Check that off_t can represent 2**63 - 1 correctly.
6253 We can't simply define LARGE_OFF_T to be 9223372036854775807,
6254 since some C++ compilers masquerading as C compilers
6255 incorrectly reject 9223372036854775807. */
6256 #define LARGE_OFF_T ((((off_t) 1 << 31) << 31) - 1 + (((off_t) 1 << 31) << 31))
6257 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
6258 && LARGE_OFF_T % 2147483647 == 1)
6268 if ac_fn_c_try_compile
"$LINENO"; then :
6271 rm -f core conftest.err conftest.
$ac_objext
6273 if ac_fn_c_try_compile
"$LINENO"; then :
6274 ac_cv_sys_largefile_CC
=' -n32'; break
6276 rm -f core conftest.err conftest.
$ac_objext
6280 rm -f conftest.
$ac_ext
6283 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_largefile_CC" >&5
6284 $as_echo "$ac_cv_sys_largefile_CC" >&6; }
6285 if test "$ac_cv_sys_largefile_CC" != no
; then
6286 CC
=$CC$ac_cv_sys_largefile_CC
6289 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _FILE_OFFSET_BITS value needed for large files" >&5
6290 $as_echo_n "checking for _FILE_OFFSET_BITS value needed for large files... " >&6; }
6291 if ${ac_cv_sys_file_offset_bits+:} false
; then :
6292 $as_echo_n "(cached) " >&6
6295 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6296 /* end confdefs.h. */
6297 #include <sys/types.h>
6298 /* Check that off_t can represent 2**63 - 1 correctly.
6299 We can't simply define LARGE_OFF_T to be 9223372036854775807,
6300 since some C++ compilers masquerading as C compilers
6301 incorrectly reject 9223372036854775807. */
6302 #define LARGE_OFF_T ((((off_t) 1 << 31) << 31) - 1 + (((off_t) 1 << 31) << 31))
6303 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
6304 && LARGE_OFF_T % 2147483647 == 1)
6314 if ac_fn_c_try_compile
"$LINENO"; then :
6315 ac_cv_sys_file_offset_bits
=no
; break
6317 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
6318 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6319 /* end confdefs.h. */
6320 #define _FILE_OFFSET_BITS 64
6321 #include <sys/types.h>
6322 /* Check that off_t can represent 2**63 - 1 correctly.
6323 We can't simply define LARGE_OFF_T to be 9223372036854775807,
6324 since some C++ compilers masquerading as C compilers
6325 incorrectly reject 9223372036854775807. */
6326 #define LARGE_OFF_T ((((off_t) 1 << 31) << 31) - 1 + (((off_t) 1 << 31) << 31))
6327 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
6328 && LARGE_OFF_T % 2147483647 == 1)
6338 if ac_fn_c_try_compile
"$LINENO"; then :
6339 ac_cv_sys_file_offset_bits
=64; break
6341 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
6342 ac_cv_sys_file_offset_bits
=unknown
6346 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_file_offset_bits" >&5
6347 $as_echo "$ac_cv_sys_file_offset_bits" >&6; }
6348 case $ac_cv_sys_file_offset_bits in #(
6351 cat >>confdefs.h
<<_ACEOF
6352 #define _FILE_OFFSET_BITS $ac_cv_sys_file_offset_bits
6357 if test $ac_cv_sys_file_offset_bits = unknown
; then
6358 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _LARGE_FILES value needed for large files" >&5
6359 $as_echo_n "checking for _LARGE_FILES value needed for large files... " >&6; }
6360 if ${ac_cv_sys_large_files+:} false
; then :
6361 $as_echo_n "(cached) " >&6
6364 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6365 /* end confdefs.h. */
6366 #include <sys/types.h>
6367 /* Check that off_t can represent 2**63 - 1 correctly.
6368 We can't simply define LARGE_OFF_T to be 9223372036854775807,
6369 since some C++ compilers masquerading as C compilers
6370 incorrectly reject 9223372036854775807. */
6371 #define LARGE_OFF_T ((((off_t) 1 << 31) << 31) - 1 + (((off_t) 1 << 31) << 31))
6372 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
6373 && LARGE_OFF_T % 2147483647 == 1)
6383 if ac_fn_c_try_compile
"$LINENO"; then :
6384 ac_cv_sys_large_files
=no
; break
6386 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
6387 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6388 /* end confdefs.h. */
6389 #define _LARGE_FILES 1
6390 #include <sys/types.h>
6391 /* Check that off_t can represent 2**63 - 1 correctly.
6392 We can't simply define LARGE_OFF_T to be 9223372036854775807,
6393 since some C++ compilers masquerading as C compilers
6394 incorrectly reject 9223372036854775807. */
6395 #define LARGE_OFF_T ((((off_t) 1 << 31) << 31) - 1 + (((off_t) 1 << 31) << 31))
6396 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
6397 && LARGE_OFF_T % 2147483647 == 1)
6407 if ac_fn_c_try_compile
"$LINENO"; then :
6408 ac_cv_sys_large_files
=1; break
6410 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
6411 ac_cv_sys_large_files
=unknown
6415 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_large_files" >&5
6416 $as_echo "$ac_cv_sys_large_files" >&6; }
6417 case $ac_cv_sys_large_files in #(
6420 cat >>confdefs.h
<<_ACEOF
6421 #define _LARGE_FILES $ac_cv_sys_large_files
6433 ac_cpp
='$CPP $CPPFLAGS'
6434 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6435 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6436 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
6437 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
6438 $as_echo_n "checking how to run the C preprocessor... " >&6; }
6439 # On Suns, sometimes $CPP names a directory.
6440 if test -n "$CPP" && test -d "$CPP"; then
6443 if test -z "$CPP"; then
6444 if ${ac_cv_prog_CPP+:} false
; then :
6445 $as_echo_n "(cached) " >&6
6447 # Double quotes because CPP needs to be expanded
6448 for CPP
in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
6451 for ac_c_preproc_warn_flag
in '' yes
6453 # Use a header file that comes with gcc, so configuring glibc
6454 # with a fresh cross-compiler works.
6455 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
6456 # <limits.h> exists even on freestanding compilers.
6457 # On the NeXT, cc -E runs the code through the compiler's parser,
6458 # not just through cpp. "Syntax error" is here to catch this case.
6459 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6460 /* end confdefs.h. */
6462 # include <limits.h>
6464 # include <assert.h>
6468 if ac_fn_c_try_cpp
"$LINENO"; then :
6471 # Broken: fails on valid input.
6474 rm -f conftest.err conftest.i conftest.
$ac_ext
6476 # OK, works on sane cases. Now check whether nonexistent headers
6477 # can be detected and how.
6478 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6479 /* end confdefs.h. */
6480 #include <ac_nonexistent.h>
6482 if ac_fn_c_try_cpp
"$LINENO"; then :
6483 # Broken: success on invalid input.
6486 # Passes both tests.
6490 rm -f conftest.err conftest.i conftest.
$ac_ext
6493 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
6494 rm -f conftest.i conftest.err conftest.
$ac_ext
6495 if $ac_preproc_ok; then :
6507 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
6508 $as_echo "$CPP" >&6; }
6510 for ac_c_preproc_warn_flag
in '' yes
6512 # Use a header file that comes with gcc, so configuring glibc
6513 # with a fresh cross-compiler works.
6514 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
6515 # <limits.h> exists even on freestanding compilers.
6516 # On the NeXT, cc -E runs the code through the compiler's parser,
6517 # not just through cpp. "Syntax error" is here to catch this case.
6518 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6519 /* end confdefs.h. */
6521 # include <limits.h>
6523 # include <assert.h>
6527 if ac_fn_c_try_cpp
"$LINENO"; then :
6530 # Broken: fails on valid input.
6533 rm -f conftest.err conftest.i conftest.
$ac_ext
6535 # OK, works on sane cases. Now check whether nonexistent headers
6536 # can be detected and how.
6537 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6538 /* end confdefs.h. */
6539 #include <ac_nonexistent.h>
6541 if ac_fn_c_try_cpp
"$LINENO"; then :
6542 # Broken: success on invalid input.
6545 # Passes both tests.
6549 rm -f conftest.err conftest.i conftest.
$ac_ext
6552 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
6553 rm -f conftest.i conftest.err conftest.
$ac_ext
6554 if $ac_preproc_ok; then :
6557 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
6558 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
6559 as_fn_error $?
"C preprocessor \"$CPP\" fails sanity check
6560 See \`config.log' for more details" "$LINENO" 5; }
6564 ac_cpp
='$CPP $CPPFLAGS'
6565 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6566 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6567 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
6570 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
6571 $as_echo_n "checking for ANSI C header files... " >&6; }
6572 if ${ac_cv_header_stdc+:} false
; then :
6573 $as_echo_n "(cached) " >&6
6575 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6576 /* end confdefs.h. */
6590 if ac_fn_c_try_compile
"$LINENO"; then :
6591 ac_cv_header_stdc
=yes
6593 ac_cv_header_stdc
=no
6595 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
6597 if test $ac_cv_header_stdc = yes; then
6598 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
6599 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6600 /* end confdefs.h. */
6604 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
6605 $EGREP "memchr" >/dev
/null
2>&1; then :
6608 ac_cv_header_stdc
=no
6614 if test $ac_cv_header_stdc = yes; then
6615 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
6616 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6617 /* end confdefs.h. */
6621 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
6622 $EGREP "free" >/dev
/null
2>&1; then :
6625 ac_cv_header_stdc
=no
6631 if test $ac_cv_header_stdc = yes; then
6632 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
6633 if test "$cross_compiling" = yes; then :
6636 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6637 /* end confdefs.h. */
6640 #if ((' ' & 0x0FF) == 0x020)
6641 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
6642 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
6644 # define ISLOWER(c) \
6645 (('a' <= (c) && (c) <= 'i') \
6646 || ('j' <= (c) && (c) <= 'r') \
6647 || ('s' <= (c) && (c) <= 'z'))
6648 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
6651 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
6656 for (i = 0; i < 256; i++)
6657 if (XOR (islower (i), ISLOWER (i))
6658 || toupper (i) != TOUPPER (i))
6663 if ac_fn_c_try_run
"$LINENO"; then :
6666 ac_cv_header_stdc
=no
6668 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext \
6669 conftest.
$ac_objext conftest.beam conftest.
$ac_ext
6674 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
6675 $as_echo "$ac_cv_header_stdc" >&6; }
6676 if test $ac_cv_header_stdc = yes; then
6678 $as_echo "#define STDC_HEADERS 1" >>confdefs.h
6682 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
6683 for ac_header
in sys
/types.h sys
/stat.h stdlib.h string.h memory.h
strings.h \
6684 inttypes.h stdint.h unistd.h
6686 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
6687 ac_fn_c_check_header_compile
"$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
6689 if eval test \"x\$
"$as_ac_Header"\" = x
"yes"; then :
6690 cat >>confdefs.h
<<_ACEOF
6691 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
6701 ApplicationServices
/ApplicationServices.h \
6702 AudioToolbox
/AudioConverter.h \
6703 AudioUnit
/AudioUnit.h \
6704 AudioUnit
/AudioComponent.h \
6707 CommonCrypto
/CommonDigest.h \
6708 CoreAudio
/CoreAudio.h \
6709 CoreServices
/CoreServices.h \
6710 DiskArbitration
/DiskArbitration.h \
6712 IOKit
/hid
/IOHIDLib.h \
6715 QuickTime
/ImageCompression.h \
6716 Security
/Security.h \
6767 netinet
/in_systm.h \
6831 valgrind
/memcheck.h \
6832 valgrind
/valgrind.h \
6836 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
6837 ac_fn_c_check_header_mongrel
"$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
6838 if eval test \"x\$
"$as_ac_Header"\" = x
"yes"; then :
6839 cat >>confdefs.h
<<_ACEOF
6840 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
6847 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether sys/types.h defines makedev" >&5
6848 $as_echo_n "checking whether sys/types.h defines makedev... " >&6; }
6849 if ${ac_cv_header_sys_types_h_makedev+:} false
; then :
6850 $as_echo_n "(cached) " >&6
6852 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6853 /* end confdefs.h. */
6854 #include <sys/types.h>
6858 return makedev(0, 0);
6863 if ac_fn_c_try_link
"$LINENO"; then :
6864 ac_cv_header_sys_types_h_makedev
=yes
6866 ac_cv_header_sys_types_h_makedev
=no
6868 rm -f core conftest.err conftest.
$ac_objext \
6869 conftest
$ac_exeext conftest.
$ac_ext
6872 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_sys_types_h_makedev" >&5
6873 $as_echo "$ac_cv_header_sys_types_h_makedev" >&6; }
6875 if test $ac_cv_header_sys_types_h_makedev = no
; then
6876 ac_fn_c_check_header_mongrel
"$LINENO" "sys/mkdev.h" "ac_cv_header_sys_mkdev_h" "$ac_includes_default"
6877 if test "x$ac_cv_header_sys_mkdev_h" = xyes
; then :
6879 $as_echo "#define MAJOR_IN_MKDEV 1" >>confdefs.h
6885 if test $ac_cv_header_sys_mkdev_h = no
; then
6886 ac_fn_c_check_header_mongrel
"$LINENO" "sys/sysmacros.h" "ac_cv_header_sys_sysmacros_h" "$ac_includes_default"
6887 if test "x$ac_cv_header_sys_sysmacros_h" = xyes
; then :
6889 $as_echo "#define MAJOR_IN_SYSMACROS 1" >>confdefs.h
6897 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether stat file-mode macros are broken" >&5
6898 $as_echo_n "checking whether stat file-mode macros are broken... " >&6; }
6899 if ${ac_cv_header_stat_broken+:} false
; then :
6900 $as_echo_n "(cached) " >&6
6902 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6903 /* end confdefs.h. */
6904 #include <sys/types.h>
6905 #include <sys/stat.h>
6907 #if defined S_ISBLK && defined S_IFDIR
6908 extern char c1[S_ISBLK (S_IFDIR) ? -1 : 1];
6911 #if defined S_ISBLK && defined S_IFCHR
6912 extern char c2[S_ISBLK (S_IFCHR) ? -1 : 1];
6915 #if defined S_ISLNK && defined S_IFREG
6916 extern char c3[S_ISLNK (S_IFREG) ? -1 : 1];
6919 #if defined S_ISSOCK && defined S_IFREG
6920 extern char c4[S_ISSOCK (S_IFREG) ? -1 : 1];
6924 if ac_fn_c_try_compile
"$LINENO"; then :
6925 ac_cv_header_stat_broken
=no
6927 ac_cv_header_stat_broken
=yes
6929 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
6931 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stat_broken" >&5
6932 $as_echo "$ac_cv_header_stat_broken" >&6; }
6933 if test $ac_cv_header_stat_broken = yes; then
6935 $as_echo "#define STAT_MACROS_BROKEN 1" >>confdefs.h
6941 for ac_header
in sys
/mount.h sys
/statfs.h sys
/sysctl.h sys
/user.h sys
/vfs.h
6943 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
6944 ac_fn_c_check_header_compile
"$LINENO" "$ac_header" "$as_ac_Header" "#include <sys/types.h>
6945 #ifdef HAVE_SYS_PARAM_H
6946 # include <sys/param.h>
6949 if eval test \"x\$
"$as_ac_Header"\" = x
"yes"; then :
6950 cat >>confdefs.h
<<_ACEOF
6951 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
6966 netinet
/if_ether.h \
6967 netinet
/if_inarp.h \
6976 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
6977 ac_fn_c_check_header_compile
"$LINENO" "$ac_header" "$as_ac_Header" "#include <sys/types.h>
6978 #ifdef HAVE_SYS_SOCKET_H
6979 # include <sys/socket.h>
6981 #ifdef HAVE_SYS_SOCKETVAR_H
6982 # include <sys/socketvar.h>
6984 #ifdef HAVE_NET_ROUTE_H
6985 # include <net/route.h>
6987 #ifdef HAVE_NETINET_IN_H
6988 # include <netinet/in.h>
6990 #ifdef HAVE_NETINET_IN_SYSTM_H
6991 # include <netinet/in_systm.h>
6993 #ifdef HAVE_NET_IF_H
6994 # include <net/if.h>
6996 #ifdef HAVE_NETINET_IP_H
6997 # include <netinet/ip.h>
7000 if eval test \"x\$
"$as_ac_Header"\" = x
"yes"; then :
7001 cat >>confdefs.h
<<_ACEOF
7002 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
7010 for ac_header
in netinet
/tcp_timer.h netinet
/udp_var.h netinet
/icmp_var.h netinet
/tcp_var.h
7012 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
7013 ac_fn_c_check_header_compile
"$LINENO" "$ac_header" "$as_ac_Header" "#include <sys/types.h>
7017 #ifdef HAVE_SYS_SOCKET_H
7018 # include <sys/socket.h>
7020 #ifdef HAVE_SYS_SOCKETVAR_H
7021 # include <sys/socketvar.h>
7023 #ifdef HAVE_SYS_TIMEOUT_H
7024 # include <sys/timeout.h>
7026 #ifdef HAVE_NETINET_IN_H
7027 # include <netinet/in.h>
7029 #ifdef HAVE_NETINET_IN_SYSTM_H
7030 # include <netinet/in_systm.h>
7032 #ifdef HAVE_NETINET_IP_H
7033 # include <netinet/ip.h>
7035 #ifdef HAVE_NETINET_IP_VAR_H
7036 # include <netinet/ip_var.h>
7038 #ifdef HAVE_NETINET_IP_ICMP_H
7039 # include <netinet/ip_icmp.h>
7041 #ifdef HAVE_NETINET_UDP_H
7042 # include <netinet/udp.h>
7044 #ifdef HAVE_NETINET_TCP_H
7045 # include <netinet/tcp.h>
7047 #ifdef HAVE_NETINET_TCP_TIMER_H
7048 #include <netinet/tcp_timer.h>
7051 if eval test \"x\$
"$as_ac_Header"\" = x
"yes"; then :
7052 cat >>confdefs.h
<<_ACEOF
7053 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
7061 for ac_header
in linux
/ipx.h linux
/irda.h linux
/rtnetlink.h
7063 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
7064 ac_fn_c_check_header_compile
"$LINENO" "$ac_header" "$as_ac_Header" "#include <sys/types.h>
7065 #ifdef HAVE_ASM_TYPES_H
7066 # include <asm/types.h>
7068 #ifdef HAVE_SYS_SOCKET_H
7069 # include <sys/socket.h>
7071 #ifdef HAVE_LINUX_TYPES_H
7072 # include <linux/types.h>
7075 if eval test \"x\$
"$as_ac_Header"\" = x
"yes"; then :
7076 cat >>confdefs.h
<<_ACEOF
7077 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
7085 for ac_header
in mach-o
/dyld_images.h
7087 ac_fn_c_check_header_compile
"$LINENO" "mach-o/dyld_images.h" "ac_cv_header_mach_o_dyld_images_h" "#ifdef HAVE_STDBOOL_H
7088 # include <stdbool.h>
7090 #ifdef HAVE_STDINT_H
7091 # include <stdint.h>
7094 if test "x$ac_cv_header_mach_o_dyld_images_h" = xyes
; then :
7095 cat >>confdefs.h
<<_ACEOF
7096 #define HAVE_MACH_O_DYLD_IMAGES_H 1
7104 for ac_header
in resolv.h
7106 ac_fn_c_check_header_compile
"$LINENO" "resolv.h" "ac_cv_header_resolv_h" "#include <sys/types.h>
7107 #ifdef HAVE_SYS_SOCKET_H
7108 # include <sys/socket.h>
7110 #ifdef HAVE_NETINET_IN_H
7111 # include <netinet/in.h>
7113 #ifdef HAVE_ARPA_NAMESER_H
7114 # include <arpa/nameser.h>
7117 if test "x$ac_cv_header_resolv_h" = xyes
; then :
7118 cat >>confdefs.h
<<_ACEOF
7119 #define HAVE_RESOLV_H 1
7127 for ac_header
in ifaddrs.h
7129 ac_fn_c_check_header_compile
"$LINENO" "ifaddrs.h" "ac_cv_header_ifaddrs_h" "#include <sys/types.h>
7131 if test "x$ac_cv_header_ifaddrs_h" = xyes
; then :
7132 cat >>confdefs.h
<<_ACEOF
7133 #define HAVE_IFADDRS_H 1
7141 for ac_header
in sys
/ucontext.h
7143 ac_fn_c_check_header_compile
"$LINENO" "sys/ucontext.h" "ac_cv_header_sys_ucontext_h" "#include <signal.h>
7145 if test "x$ac_cv_header_sys_ucontext_h" = xyes
; then :
7146 cat >>confdefs.h
<<_ACEOF
7147 #define HAVE_SYS_UCONTEXT_H 1
7155 for ac_header
in sys
/thr.h
7157 ac_fn_c_check_header_compile
"$LINENO" "sys/thr.h" "ac_cv_header_sys_thr_h" "#include <sys/types.h>
7158 #ifdef HAVE_SYS_UCONTEXT_H
7159 #include <sys/ucontext.h>
7162 if test "x$ac_cv_header_sys_thr_h" = xyes
; then :
7163 cat >>confdefs.h
<<_ACEOF
7164 #define HAVE_SYS_THR_H 1
7172 for ac_header
in pthread_np.h
7174 ac_fn_c_check_header_compile
"$LINENO" "pthread_np.h" "ac_cv_header_pthread_np_h" "#ifdef HAVE_PTHREAD_H
7175 #include <pthread.h>
7178 if test "x$ac_cv_header_pthread_np_h" = xyes
; then :
7179 cat >>confdefs.h
<<_ACEOF
7180 #define HAVE_PTHREAD_NP_H 1
7188 for ac_header
in linux
/videodev.h linux
/videodev2.h libv4l1.h
7190 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
7191 ac_fn_c_check_header_compile
"$LINENO" "$ac_header" "$as_ac_Header" "#ifdef HAVE_SYS_TIME_H
7192 #include <sys/time.h>
7194 #include <sys/types.h>
7195 #ifdef HAVE_ASM_TYPES_H
7196 #include <asm/types.h>
7199 if eval test \"x\$
"$as_ac_Header"\" = x
"yes"; then :
7200 cat >>confdefs.h
<<_ACEOF
7201 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
7209 for ac_header
in libprocstat.h
7211 ac_fn_c_check_header_compile
"$LINENO" "libprocstat.h" "ac_cv_header_libprocstat_h" "#ifdef HAVE_SYS_PARAM_H
7212 #include <sys/param.h>
7214 #ifdef HAVE_SYS_QUEUE_H
7215 #include <sys/queue.h>
7217 #ifdef HAVE_SYS_SOCKET_H
7218 #include <sys/socket.h>
7221 if test "x$ac_cv_header_libprocstat_h" = xyes
; then :
7222 cat >>confdefs.h
<<_ACEOF
7223 #define HAVE_LIBPROCSTAT_H 1
7232 dlldir
="\${libdir}/wine"
7234 DLLFLAGS
="-D_REENTRANT"
7245 # Extract the first word of "ldd", so it can be a program name with args.
7246 set dummy ldd
; ac_word
=$2
7247 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7248 $as_echo_n "checking for $ac_word... " >&6; }
7249 if ${ac_cv_path_LDD+:} false
; then :
7250 $as_echo_n "(cached) " >&6
7254 ac_cv_path_LDD
="$LDD" # Let the user override the test with a path.
7257 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7258 as_dummy
="/sbin:/usr/sbin:$PATH"
7259 for as_dir
in $as_dummy
7262 test -z "$as_dir" && as_dir
=.
7263 for ac_exec_ext
in '' $ac_executable_extensions; do
7264 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
7265 ac_cv_path_LDD
="$as_dir/$ac_word$ac_exec_ext"
7266 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7273 test -z "$ac_cv_path_LDD" && ac_cv_path_LDD
="true"
7278 if test -n "$LDD"; then
7279 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LDD" >&5
7280 $as_echo "$LDD" >&6; }
7282 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7283 $as_echo "no" >&6; }
7287 if test -n "$ac_tool_prefix"; then
7288 # Extract the first word of "${ac_tool_prefix}otool", so it can be a program name with args.
7289 set dummy
${ac_tool_prefix}otool
; ac_word
=$2
7290 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7291 $as_echo_n "checking for $ac_word... " >&6; }
7292 if ${ac_cv_prog_OTOOL+:} false
; then :
7293 $as_echo_n "(cached) " >&6
7295 if test -n "$OTOOL"; then
7296 ac_cv_prog_OTOOL
="$OTOOL" # Let the user override the test.
7298 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7302 test -z "$as_dir" && as_dir
=.
7303 for ac_exec_ext
in '' $ac_executable_extensions; do
7304 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
7305 ac_cv_prog_OTOOL
="${ac_tool_prefix}otool"
7306 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7315 OTOOL
=$ac_cv_prog_OTOOL
7316 if test -n "$OTOOL"; then
7317 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL" >&5
7318 $as_echo "$OTOOL" >&6; }
7320 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7321 $as_echo "no" >&6; }
7326 if test -z "$ac_cv_prog_OTOOL"; then
7328 # Extract the first word of "otool", so it can be a program name with args.
7329 set dummy otool
; ac_word
=$2
7330 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7331 $as_echo_n "checking for $ac_word... " >&6; }
7332 if ${ac_cv_prog_ac_ct_OTOOL+:} false
; then :
7333 $as_echo_n "(cached) " >&6
7335 if test -n "$ac_ct_OTOOL"; then
7336 ac_cv_prog_ac_ct_OTOOL
="$ac_ct_OTOOL" # Let the user override the test.
7338 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7342 test -z "$as_dir" && as_dir
=.
7343 for ac_exec_ext
in '' $ac_executable_extensions; do
7344 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
7345 ac_cv_prog_ac_ct_OTOOL
="otool"
7346 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7355 ac_ct_OTOOL
=$ac_cv_prog_ac_ct_OTOOL
7356 if test -n "$ac_ct_OTOOL"; then
7357 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL" >&5
7358 $as_echo "$ac_ct_OTOOL" >&6; }
7360 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7361 $as_echo "no" >&6; }
7364 if test "x$ac_ct_OTOOL" = x
; then
7367 case $cross_compiling:$ac_tool_warned in
7369 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7370 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7371 ac_tool_warned
=yes ;;
7376 OTOOL
="$ac_cv_prog_OTOOL"
7379 if test -n "$ac_tool_prefix"; then
7380 # Extract the first word of "${ac_tool_prefix}readelf", so it can be a program name with args.
7381 set dummy
${ac_tool_prefix}readelf
; ac_word
=$2
7382 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7383 $as_echo_n "checking for $ac_word... " >&6; }
7384 if ${ac_cv_prog_READELF+:} false
; then :
7385 $as_echo_n "(cached) " >&6
7387 if test -n "$READELF"; then
7388 ac_cv_prog_READELF
="$READELF" # Let the user override the test.
7390 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7394 test -z "$as_dir" && as_dir
=.
7395 for ac_exec_ext
in '' $ac_executable_extensions; do
7396 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
7397 ac_cv_prog_READELF
="${ac_tool_prefix}readelf"
7398 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7407 READELF
=$ac_cv_prog_READELF
7408 if test -n "$READELF"; then
7409 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $READELF" >&5
7410 $as_echo "$READELF" >&6; }
7412 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7413 $as_echo "no" >&6; }
7418 if test -z "$ac_cv_prog_READELF"; then
7419 ac_ct_READELF
=$READELF
7420 # Extract the first word of "readelf", so it can be a program name with args.
7421 set dummy readelf
; ac_word
=$2
7422 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7423 $as_echo_n "checking for $ac_word... " >&6; }
7424 if ${ac_cv_prog_ac_ct_READELF+:} false
; then :
7425 $as_echo_n "(cached) " >&6
7427 if test -n "$ac_ct_READELF"; then
7428 ac_cv_prog_ac_ct_READELF
="$ac_ct_READELF" # Let the user override the test.
7430 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7434 test -z "$as_dir" && as_dir
=.
7435 for ac_exec_ext
in '' $ac_executable_extensions; do
7436 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
7437 ac_cv_prog_ac_ct_READELF
="readelf"
7438 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7447 ac_ct_READELF
=$ac_cv_prog_ac_ct_READELF
7448 if test -n "$ac_ct_READELF"; then
7449 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_READELF" >&5
7450 $as_echo "$ac_ct_READELF" >&6; }
7452 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7453 $as_echo "no" >&6; }
7456 if test "x$ac_ct_READELF" = x
; then
7459 case $cross_compiling:$ac_tool_warned in
7461 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7462 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7463 ac_tool_warned
=yes ;;
7465 READELF
=$ac_ct_READELF
7468 READELF
="$ac_cv_prog_READELF"
7471 wine_rules_file
=conf$
$rules.
make
7472 rm -f $wine_rules_file
7477 CONFIGURE_TARGETS
=""
7479 ALL_TEST_RESOURCES
=""
7482 wine_fn_append_file
()
7484 as_fn_append
$1 " \\$as_nl $2"
7487 wine_fn_append_rule
()
7489 $as_echo "$1" >>$wine_rules_file
7494 expr ",$ac_flags," : ".*,$1,.*" >/dev
/null
7497 wine_fn_all_rules
()
7499 wine_fn_append_file SUBDIRS
$ac_dir
7500 wine_fn_append_rule \
7504 @cd $ac_dir && \$(MAKE)"
7507 wine_fn_install_rules
()
7509 wine_fn_has_flag install-lib || wine_fn_has_flag install-dev ||
return
7511 wine_fn_append_rule \
7512 ".PHONY: $ac_dir/install $ac_dir/uninstall
7513 $ac_dir/install:: $ac_dir
7514 @cd $ac_dir && \$(MAKE) install
7516 @cd $ac_dir && \$(MAKE) uninstall
7517 install:: $ac_dir/install
7518 __uninstall__: $ac_dir/uninstall"
7520 if wine_fn_has_flag install-lib
7522 wine_fn_append_rule \
7523 ".PHONY: $ac_dir/install-lib
7524 $ac_dir/install-lib:: $ac_dir
7525 @cd $ac_dir && \$(MAKE) install-lib
7526 install-lib:: $ac_dir/install-lib"
7529 if wine_fn_has_flag install-dev
7531 wine_fn_append_rule \
7532 ".PHONY: $ac_dir/install-dev
7533 $ac_dir/install-dev:: $ac_dir
7534 @cd $ac_dir && \$(MAKE) install-dev
7535 install-dev:: $ac_dir/install-dev"
7539 wine_fn_clean_rules
()
7543 if wine_fn_has_flag clean
7545 wine_fn_append_rule \
7546 "$ac_dir/clean: dummy
7547 @cd $ac_dir && \$(MAKE) clean"
7549 wine_fn_append_rule \
7550 "$ac_dir/clean: dummy
7551 \$(RM) \$(CLEAN_FILES:%=$ac_dir/%) $ac_clean"
7553 wine_fn_append_rule \
7554 "__clean__: $ac_dir/clean
7555 .PHONY: $ac_dir/clean"
7558 wine_fn_disabled_rules
()
7562 wine_fn_append_file SUBDIRS
$ac_dir
7563 wine_fn_append_file DISABLED_SUBDIRS
$ac_dir
7564 wine_fn_append_rule \
7565 "__clean__: $ac_dir/clean
7566 .PHONY: $ac_dir/clean
7567 $ac_dir/clean: dummy
7568 \$(RM) \$(CLEAN_FILES:%=$ac_dir/%) $ac_clean"
7571 wine_fn_config_makefile
()
7578 fonts|server
) test -z "$with_wine64" ||
return ;;
7580 if eval test \"x\$
"$ac_enable"\" = x
"no"; then :
7581 wine_fn_disabled_rules
; return
7584 wine_fn_install_rules
7588 wine_fn_config_lib
()
7592 ac_dir
=dlls
/$ac_name
7595 if test "x$enable_tools" = xno
; then :
7598 ac_deps
="tools/widl tools/winebuild tools/winegcc $ac_deps"
7603 wine_fn_append_rule \
7604 ".PHONY: $ac_dir/install $ac_dir/uninstall
7605 $ac_dir/install:: $ac_dir
7606 \$(INSTALL_DATA) $ac_dir/lib$ac_name.a \$(DESTDIR)\$(dlldir)/lib$ac_name.a
7608 \$(RM) \$(DESTDIR)\$(dlldir)/lib$ac_name.a
7609 install install-dev:: $ac_dir/install
7610 __uninstall__: $ac_dir/uninstall
7611 __builddeps__: $ac_dir
7615 wine_fn_config_dll
()
7618 ac_dir
=dlls
/$ac_name
7621 ac_implib
=${4:-$ac_name}
7622 ac_file
=$ac_dir/lib
$ac_implib
7627 if test "x$enable_tools" = xno
; then :
7630 ac_deps
="tools/widl tools/winebuild tools/winegcc $ac_deps"
7633 *16) ac_implibflags
=" -m16" ;;
7635 *) ac_dll
=$ac_dll.dll
;;
7639 wine_fn_has_flag implib
&& ac_clean
="$ac_clean $ac_file.$IMPLIBEXT"
7640 test -n "$DLLEXT" || ac_clean
="$ac_clean $ac_dir/$ac_dll"
7642 if eval test \"x\$
"$ac_enable"\" = x
"no"; then :
7643 if test "$ac_enable" != enable_win16
7645 wine_fn_clean_rules
$ac_clean
7646 wine_fn_append_file SUBDIRS
$ac_dir
7647 wine_fn_append_file DISABLED_SUBDIRS
$ac_dir
7649 wine_fn_disabled_rules
$ac_clean
7654 wine_fn_clean_rules
$ac_clean
7655 wine_fn_append_rule \
7656 "$ac_dir: __builddeps__
7657 manpages htmlpages sgmlpages xmlpages::
7658 @cd $ac_dir && \$(MAKE) \$@
7659 .PHONY: $ac_dir/install-lib $ac_dir/uninstall
7660 install install-lib:: $ac_dir/install-lib
7661 __uninstall__: $ac_dir/uninstall"
7662 if test -n "$DLLEXT"
7664 wine_fn_append_rule \
7665 "$ac_dir/install-lib:: $ac_dir
7666 \$(INSTALL_PROGRAM) $ac_dir/$ac_dll$DLLEXT \$(DESTDIR)\$(dlldir)/$ac_dll$DLLEXT
7667 \$(INSTALL_DATA) $ac_dir/$ac_dll.fake \$(DESTDIR)\$(fakedlldir)/$ac_dll
7669 \$(RM) \$(DESTDIR)\$(dlldir)/$ac_dll$DLLEXT \$(DESTDIR)\$(fakedlldir)/$ac_dll"
7671 wine_fn_append_rule \
7672 "$ac_dir/install-lib:: $ac_dir
7673 \$(INSTALL_PROGRAM) $ac_dir/$ac_dll \$(DESTDIR)\$(dlldir)/$ac_dll
7675 \$(RM) \$(DESTDIR)\$(dlldir)/$ac_dll"
7679 if wine_fn_has_flag staticimplib
7681 wine_fn_append_rule \
7682 "__builddeps__: $ac_file.a
7683 $ac_file.a $ac_file.cross.a: $ac_deps
7685 @cd $ac_dir && \$(MAKE) lib$ac_implib.a
7686 .PHONY: $ac_dir/install-dev $ac_dir/uninstall
7687 $ac_dir/install-dev:: $ac_file.a
7688 \$(INSTALL_DATA) $ac_file.a \$(DESTDIR)\$(dlldir)/lib$ac_implib.a
7690 \$(RM) \$(DESTDIR)\$(dlldir)/lib$ac_implib.a
7691 install install-dev:: $ac_dir/install-dev
7692 __uninstall__: $ac_dir/uninstall"
7694 if test -n "$CROSSTARGET" -a -z "$ac_implibflags"
7696 wine_fn_append_rule \
7697 "__builddeps__: $ac_file.cross.a
7698 $ac_file.cross.a: dummy
7699 @cd $ac_dir && \$(MAKE) lib$ac_implib.cross.a"
7702 elif wine_fn_has_flag implib
7704 wine_fn_append_rule \
7705 "__builddeps__: $ac_file.$IMPLIBEXT
7706 $ac_file.def: $srcdir/$ac_dir/$ac_name.spec \$(WINEBUILD)
7707 \$(WINEBUILD) \$(TARGETFLAGS)$ac_implibflags -w --def -o \$@ --export $srcdir/$ac_dir/$ac_name.spec
7708 $ac_file.a: $srcdir/$ac_dir/$ac_name.spec \$(WINEBUILD)
7709 \$(WINEBUILD) \$(TARGETFLAGS)$ac_implibflags -w --implib -o \$@ --export $srcdir/$ac_dir/$ac_name.spec
7710 .PHONY: $ac_dir/install-dev $ac_dir/uninstall
7711 $ac_dir/install-dev:: $ac_file.$IMPLIBEXT
7712 \$(INSTALL_DATA) $ac_file.$IMPLIBEXT \$(DESTDIR)\$(dlldir)/lib$ac_implib.$IMPLIBEXT
7714 \$(RM) \$(DESTDIR)\$(dlldir)/lib$ac_implib.$IMPLIBEXT
7715 install install-dev:: $ac_dir/install-dev
7716 __uninstall__: $ac_dir/uninstall"
7717 if test -n "$CROSSTARGET" -a -z "$ac_implibflags"
7719 wine_fn_append_rule \
7720 "__builddeps__: $ac_file.cross.a
7721 $ac_file.cross.a: $srcdir/$ac_dir/$ac_name.spec \$(WINEBUILD)
7722 \$(WINEBUILD) \$(CROSSTARGET:%=-b %)$ac_implibflags -w --implib -o \$@ --export $srcdir/$ac_dir/$ac_name.spec"
7727 wine_fn_config_program
()
7730 ac_dir
=programs
/$ac_name
7737 *) ac_program
=$ac_program.exe
;;
7741 wine_fn_has_flag manpage
&& ac_clean
="$ac_clean $ac_dir/$ac_name.man"
7742 test -n "$DLLEXT" || ac_clean
="$ac_clean $ac_dir/$ac_program"
7744 if eval test \"x\$
"$ac_enable"\" = x
"no"; then :
7745 wine_fn_disabled_rules
$ac_clean; return
7749 wine_fn_clean_rules
$ac_clean
7750 wine_fn_append_rule
"$ac_dir: __builddeps__"
7752 wine_fn_has_flag
install ||
return
7753 wine_fn_append_rule \
7754 ".PHONY: $ac_dir/install $ac_dir/uninstall
7755 install install-lib:: $ac_dir/install
7756 __uninstall__: $ac_dir/uninstall"
7758 if test -n "$DLLEXT"
7760 wine_fn_append_rule \
7761 "$ac_dir/install:: $ac_dir
7762 \$(INSTALL_PROGRAM) $ac_dir/$ac_program$DLLEXT \$(DESTDIR)\$(dlldir)/$ac_program$DLLEXT
7763 \$(INSTALL_DATA) $ac_dir/$ac_program.fake \$(DESTDIR)\$(fakedlldir)/$ac_program
7765 \$(RM) \$(DESTDIR)\$(dlldir)/$ac_program$DLLEXT \$(DESTDIR)\$(fakedlldir)/$ac_program"
7767 if test -z "$with_wine64" && wine_fn_has_flag installbin
7769 wine_fn_append_rule \
7770 "$ac_dir/install:: __tooldeps__
7771 \$(INSTALL_SCRIPT) \$(TOOLSDIR)/tools/wineapploader \$(DESTDIR)\$(bindir)/$ac_name
7773 \$(RM) \$(DESTDIR)\$(bindir)/$ac_name"
7776 wine_fn_append_rule \
7777 "$ac_dir/install:: $ac_dir
7778 \$(INSTALL_PROGRAM) $ac_dir/$ac_program \$(DESTDIR)\$(bindir)/$ac_program
7780 \$(RM) \$(DESTDIR)\$(bindir)/$ac_program"
7783 if test -z "$with_wine64" && wine_fn_has_flag manpage
7785 wine_fn_append_rule \
7786 "$ac_dir/install:: $ac_dir
7787 \$(INSTALL_DATA) $ac_dir/$ac_name.man \$(DESTDIR)\$(mandir)/man\$(prog_manext)/$ac_name.\$(prog_manext)
7789 \$(RM) \$(DESTDIR)\$(mandir)/man\$(prog_manext)/$ac_name.\$(prog_manext)"
7793 wine_fn_config_test
()
7800 test -n "$CROSSTARGET" && ac_clean
=`expr $ac_dir/${ac_name} : "\\(.*\\)_test"`_crosstest.exe
7801 test -n "$DLLEXT" || ac_clean
="$ac_dir/${ac_name}.exe $ac_dir/${ac_name}-stripped.exe"
7803 if test "x$enable_tests" = xno
; then :
7804 wine_fn_disabled_rules
$ac_clean; return
7807 wine_fn_append_file ALL_TEST_RESOURCES
$ac_name.res
7809 wine_fn_clean_rules
$ac_clean
7811 wine_fn_append_rule \
7812 "$ac_dir: __builddeps__
7813 programs/winetest: $ac_dir
7814 check test: $ac_dir/test
7815 .PHONY: $ac_dir/test
7817 @cd $ac_dir && \$(MAKE) test
7819 \$(RM) $ac_dir/*.ok"
7821 if test -n "$CROSSTARGET"
7823 wine_fn_append_rule \
7824 "crosstest: $ac_dir/crosstest
7825 .PHONY: $ac_dir/crosstest
7826 $ac_dir/crosstest: __builddeps__ dummy
7827 @cd $ac_dir && \$(MAKE) crosstest"
7831 wine_fn_config_tool
()
7835 if test "x$enable_tools" = xno
; then :
7836 wine_fn_append_file DISABLED_SUBDIRS
$ac_dir; return
7840 wine_fn_install_rules
7843 wine_fn_append_rule
"__tooldeps__: $ac_dir"
7844 wine_fn_append_rule
"$ac_dir: libs/port"
7846 tools
/winebuild
) wine_fn_append_rule
"\$(WINEBUILD): $ac_dir" ;;
7850 wine_fn_config_symlink
()
7853 if test "x$1" = "x-d"
7859 wine_fn_append_rule \
7861 @./config.status \$@"
7862 for f
in $ac_links; do wine_fn_append_file CONFIGURE_TARGETS
$f; done
7863 test -n "$ac_linkdir" ||
return
7864 wine_fn_append_rule
"$ac_linkdir/depend: $ac_links"
7868 test "x$enable_win64" != "xyes" || wine_binary
="wine64"
7869 WINELOADER_PROGRAMS
="$wine_binary"
7871 libwine_soversion
=`expr $libwine_version : '\([0-9]*\)\..*'`
7875 if test -n "$ac_tool_prefix"; then
7876 # Extract the first word of "${ac_tool_prefix}dlltool", so it can be a program name with args.
7877 set dummy
${ac_tool_prefix}dlltool
; ac_word
=$2
7878 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7879 $as_echo_n "checking for $ac_word... " >&6; }
7880 if ${ac_cv_prog_DLLTOOL+:} false
; then :
7881 $as_echo_n "(cached) " >&6
7883 if test -n "$DLLTOOL"; then
7884 ac_cv_prog_DLLTOOL
="$DLLTOOL" # Let the user override the test.
7886 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7890 test -z "$as_dir" && as_dir
=.
7891 for ac_exec_ext
in '' $ac_executable_extensions; do
7892 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
7893 ac_cv_prog_DLLTOOL
="${ac_tool_prefix}dlltool"
7894 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7903 DLLTOOL
=$ac_cv_prog_DLLTOOL
7904 if test -n "$DLLTOOL"; then
7905 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DLLTOOL" >&5
7906 $as_echo "$DLLTOOL" >&6; }
7908 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7909 $as_echo "no" >&6; }
7914 if test -z "$ac_cv_prog_DLLTOOL"; then
7915 ac_ct_DLLTOOL
=$DLLTOOL
7916 # Extract the first word of "dlltool", so it can be a program name with args.
7917 set dummy dlltool
; ac_word
=$2
7918 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7919 $as_echo_n "checking for $ac_word... " >&6; }
7920 if ${ac_cv_prog_ac_ct_DLLTOOL+:} false
; then :
7921 $as_echo_n "(cached) " >&6
7923 if test -n "$ac_ct_DLLTOOL"; then
7924 ac_cv_prog_ac_ct_DLLTOOL
="$ac_ct_DLLTOOL" # Let the user override the test.
7926 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7930 test -z "$as_dir" && as_dir
=.
7931 for ac_exec_ext
in '' $ac_executable_extensions; do
7932 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
7933 ac_cv_prog_ac_ct_DLLTOOL
="dlltool"
7934 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7943 ac_ct_DLLTOOL
=$ac_cv_prog_ac_ct_DLLTOOL
7944 if test -n "$ac_ct_DLLTOOL"; then
7945 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DLLTOOL" >&5
7946 $as_echo "$ac_ct_DLLTOOL" >&6; }
7948 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7949 $as_echo "no" >&6; }
7952 if test "x$ac_ct_DLLTOOL" = x
; then
7955 case $cross_compiling:$ac_tool_warned in
7957 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7958 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7959 ac_tool_warned
=yes ;;
7961 DLLTOOL
=$ac_ct_DLLTOOL
7964 DLLTOOL
="$ac_cv_prog_DLLTOOL"
7970 enable_iphlpapi
=${enable_iphlpapi:-no}
7971 enable_kernel32
=${enable_kernel32:-no}
7972 enable_msvcrt
=${enable_msvcrt:-no}
7973 enable_ntdll
=${enable_ntdll:-no}
7974 enable_ws2_32
=${enable_ws2_32:-no}
7975 enable_loader
=${enable_loader:-no}
7976 enable_server
=${enable_server:-no}
7977 with_x
=${with_x:-no}
7978 with_pthread
=${with_pthread:-no}
7984 SOCKET_LIBS
="-lws2_32"
7988 LIBWINE_SHAREDLIB
="libwine.dll"
7990 LIBWINE_IMPORTLIB
="libwine.a"
7992 LIBWINE_INSTALL_LIB
="libwine.dll"
7994 LIBWINE_INSTALL_DEV
="libwine.a"
7996 LIBWINE_LDFLAGS
="-shared \$(srcdir)/wine.def"
7998 LIBWINE_DEPENDS
="wine.def"
8003 for ac_header
in libunwind.h
8005 ac_fn_c_check_header_mongrel
"$LINENO" "libunwind.h" "ac_cv_header_libunwind_h" "$ac_includes_default"
8006 if test "x$ac_cv_header_libunwind_h" = xyes
; then :
8007 cat >>confdefs.h
<<_ACEOF
8008 #define HAVE_LIBUNWIND_H 1
8016 DLLFLAGS
="$DLLFLAGS -fPIC"
8017 LDRPATH_INSTALL
="-Wl,-rpath,@loader_path/\`\$(MAKEDEP) -R \${bindir} \${libdir}\`"
8018 LDRPATH_LOCAL
="-Wl,-rpath,@loader_path/\$(top_builddir)/libs/wine"
8019 COREFOUNDATION_LIBS
="-framework CoreFoundation"
8021 IOKIT_LIBS
="-framework IOKit -framework CoreFoundation"
8023 FORCEFEEDBACK_LIBS
="-framework ForceFeedback -framework CoreFoundation"
8025 APPLICATIONSERVICES_LIBS
="-framework ApplicationServices"
8027 CORESERVICES_LIBS
="-framework CoreServices"
8029 APPKIT_LIBS
="-framework AppKit"
8031 LDEXECFLAGS
="-image_base 0x7bf00000 -Wl,-pagezero_size,0x1000,-segaddr,WINE_DOS,0x00001000,-segaddr,WINE_SHAREDHEAP,0x7f000000,-sectcreate,__TEXT,__info_plist,wine_info.plist"
8032 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,-no_pie" >&5
8033 $as_echo_n "checking whether the compiler supports -Wl,-no_pie... " >&6; }
8034 if ${ac_cv_cflags__Wl__no_pie+:} false
; then :
8035 $as_echo_n "(cached) " >&6
8037 ac_wine_try_cflags_saved
=$CFLAGS
8038 CFLAGS
="$CFLAGS -Wl,-no_pie"
8039 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8040 /* end confdefs.h. */
8041 int main(int argc, char **argv) { return 0; }
8043 if ac_fn_c_try_link
"$LINENO"; then :
8044 ac_cv_cflags__Wl__no_pie
=yes
8046 ac_cv_cflags__Wl__no_pie
=no
8048 rm -f core conftest.err conftest.
$ac_objext \
8049 conftest
$ac_exeext conftest.
$ac_ext
8050 CFLAGS
=$ac_wine_try_cflags_saved
8052 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl__no_pie" >&5
8053 $as_echo "$ac_cv_cflags__Wl__no_pie" >&6; }
8054 if test "x$ac_cv_cflags__Wl__no_pie" = xyes
; then :
8055 LDEXECFLAGS
="-Wl,-no_pie $LDEXECFLAGS"
8057 if test "$ac_cv_header_DiskArbitration_DiskArbitration_h" = "yes"
8059 DISKARBITRATION_LIBS
="-framework DiskArbitration -framework CoreFoundation"
8062 if test "$ac_cv_header_Security_Security_h" = "yes"
8064 SECURITY_LIBS
="-framework Security -framework CoreFoundation"
8066 ac_save_LIBS
="$LIBS"
8067 LIBS
="$LIBS $SECURITY_LIBS"
8068 for ac_func
in SSLCopyPeerCertificates
8070 ac_fn_c_check_func
"$LINENO" "SSLCopyPeerCertificates" "ac_cv_func_SSLCopyPeerCertificates"
8071 if test "x$ac_cv_func_SSLCopyPeerCertificates" = xyes
; then :
8072 cat >>confdefs.h
<<_ACEOF
8073 #define HAVE_SSLCOPYPEERCERTIFICATES 1
8079 LIBS
="$ac_save_LIBS"
8080 with_gnutls
=${with_gnutls:-no}
8082 if test "$ac_cv_header_CoreAudio_CoreAudio_h" = "yes" -a "$ac_cv_header_AudioUnit_AudioUnit_h" = "yes"
8084 if test "$ac_cv_header_AudioUnit_AudioComponent_h" = "yes"
8086 COREAUDIO_LIBS
="-framework CoreFoundation -framework CoreAudio -framework AudioUnit -framework AudioToolbox -framework CoreMIDI"
8089 COREAUDIO_LIBS
="-framework CoreAudio -framework AudioUnit -framework CoreServices -framework AudioToolbox -framework CoreMIDI"
8092 enable_winecoreaudio_drv
=${enable_winecoreaudio_drv:-yes}
8093 ac_save_LIBS
="$LIBS"
8094 LIBS
="$LIBS $COREAUDIO_LIBS"
8095 for ac_func
in AUGraphAddNode
8097 ac_fn_c_check_func
"$LINENO" "AUGraphAddNode" "ac_cv_func_AUGraphAddNode"
8098 if test "x$ac_cv_func_AUGraphAddNode" = xyes
; then :
8099 cat >>confdefs.h
<<_ACEOF
8100 #define HAVE_AUGRAPHADDNODE 1
8106 LIBS
="$ac_save_LIBS"
8108 if test "$ac_cv_header_OpenAL_al_h" = "yes"
8110 OPENAL_LIBS
="-framework OpenAL"
8113 cat >>confdefs.h
<<_ACEOF
8114 #define HAVE_OPENAL 1
8117 ac_cv_lib_openal
=yes
8119 if test "$ac_cv_header_OpenCL_opencl_h" = "yes"
8121 OPENCL_LIBS
="-framework OpenCL"
8123 ac_cv_lib_OpenCL_clGetPlatformInfo
=yes
8125 if test "$ac_cv_header_IOKit_hid_IOHIDLib_h" = "yes"
8127 ac_save_LIBS
="$LIBS"
8128 LIBS
="$LIBS $IOKIT_LIBS"
8129 for ac_func
in IOHIDManagerCreate
8131 ac_fn_c_check_func
"$LINENO" "IOHIDManagerCreate" "ac_cv_func_IOHIDManagerCreate"
8132 if test "x$ac_cv_func_IOHIDManagerCreate" = xyes
; then :
8133 cat >>confdefs.h
<<_ACEOF
8134 #define HAVE_IOHIDMANAGERCREATE 1
8140 LIBS
="$ac_save_LIBS"
8142 if test "$ac_cv_header_QuickTime_ImageCompression_h" = "yes"
8144 ac_save_LIBS
="$LIBS"
8145 LIBS
="-framework QuickTime -framework ApplicationServices -framework CoreVideo $LIBS"
8146 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for the QuickTime framework" >&5
8147 $as_echo_n "checking for the QuickTime framework... " >&6; }
8148 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8149 /* end confdefs.h. */
8150 #include <QuickTime/ImageCompression.h>
8154 CodecManagerVersion(NULL);
8159 if ac_fn_c_try_link
"$LINENO"; then :
8160 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
8161 $as_echo "yes" >&6; }
8162 QUICKTIME_LIBS
="-framework QuickTime -framework ApplicationServices -framework CoreVideo"
8164 enable_wineqtdecoder
=${enable_wineqtdecoder:-yes}
8166 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8167 $as_echo "no" >&6; }
8168 ac_cv_header_QuickTime_ImageCompression_h
=no
8170 rm -f core conftest.err conftest.
$ac_objext \
8171 conftest
$ac_exeext conftest.
$ac_ext
8172 LIBS
="$ac_save_LIBS"
8174 if test "$ac_cv_header_QuickTime_ImageCompression_h" != "yes"
8176 as_fn_append wine_notices
"|QuickTime ${notice_platform}development files not found, video decoding won't be supported."
8178 if test "$ac_cv_header_Carbon_Carbon_h" = "yes"
8180 CARBON_LIBS
="-framework Carbon"
8184 if test "$ac_cv_header_ApplicationServices_ApplicationServices_h" = "yes"
8186 ac_save_LIBS
="$LIBS"
8187 LIBS
="$LIBS $APPLICATIONSERVICES_LIBS"
8188 ac_fn_c_check_func
"$LINENO" "CGDisplayModeGetWidth" "ac_cv_func_CGDisplayModeGetWidth"
8189 if test "x$ac_cv_func_CGDisplayModeGetWidth" = xyes
; then :
8190 enable_winemac_drv
=${enable_winemac_drv:-yes}
8193 LIBS
="$ac_save_LIBS"
8196 if test "x$enable_win16" = "xyes"
8198 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether 16-bit code can be built correctly" >&5
8199 $as_echo_n "checking whether 16-bit code can be built correctly... " >&6; }
8200 if test "$cross_compiling" = yes; then :
8201 { $as_echo "$as_me:${as_lineno-$LINENO}: result: cross-compiling, assuming yes" >&5
8202 $as_echo "cross-compiling, assuming yes" >&6; }
8204 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8205 /* end confdefs.h. */
8208 "good:\tnop;nop\n\t"
8209 ".globl _testfunc\n"
8210 "_testfunc:\tcallw good");
8211 extern void testfunc();
8215 unsigned short *p = (unsigned short *)testfunc;
8216 return p[0] != 0xe866 || p[1] != 0xfffa
8221 if ac_fn_c_try_run
"$LINENO"; then :
8222 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
8223 $as_echo "yes" >&6; }
8225 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8226 $as_echo "no" >&6; }
8227 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
8229 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext \
8230 conftest.
$ac_objext conftest.beam conftest.
$ac_ext
8235 LIBWINE_SHAREDLIB
="libwine.$libwine_version.dylib"
8237 LIBWINE_INSTALL_LIB
="libwine.$libwine_version.dylib libwine.$libwine_soversion.dylib"
8239 LIBWINE_INSTALL_DEV
="libwine.dylib"
8241 LIBWINE_LDFLAGS
="-dynamiclib -install_name @rpath/libwine.$libwine_soversion.dylib -Wl,-rpath,@loader_path/ -compatibility_version $libwine_soversion -current_version $libwine_version"
8243 WINELOADER_DEPENDS
="wine_info.plist"
8248 DLLFLAGS
="$DLLFLAGS -fPIC"
8249 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -Wl,--export-dynamic" >&5
8250 $as_echo_n "checking whether the compiler supports -fPIC -Wl,--export-dynamic... " >&6; }
8251 if ${ac_cv_cflags__fPIC__Wl___export_dynamic+:} false
; then :
8252 $as_echo_n "(cached) " >&6
8254 ac_wine_try_cflags_saved
=$CFLAGS
8255 CFLAGS
="$CFLAGS -fPIC -Wl,--export-dynamic"
8256 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8257 /* end confdefs.h. */
8258 int main(int argc, char **argv) { return 0; }
8260 if ac_fn_c_try_link
"$LINENO"; then :
8261 ac_cv_cflags__fPIC__Wl___export_dynamic
=yes
8263 ac_cv_cflags__fPIC__Wl___export_dynamic
=no
8265 rm -f core conftest.err conftest.
$ac_objext \
8266 conftest
$ac_exeext conftest.
$ac_ext
8267 CFLAGS
=$ac_wine_try_cflags_saved
8269 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fPIC__Wl___export_dynamic" >&5
8270 $as_echo "$ac_cv_cflags__fPIC__Wl___export_dynamic" >&6; }
8271 if test "x$ac_cv_cflags__fPIC__Wl___export_dynamic" = xyes
; then :
8272 LDEXECFLAGS
="-Wl,--export-dynamic"
8274 as_ac_var
=`$as_echo "ac_cv_cflags_-fPIC -Wl,--rpath,\\$ORIGIN/../lib" | $as_tr_sh`
8275 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -Wl,--rpath,\$ORIGIN/../lib" >&5
8276 $as_echo_n "checking whether the compiler supports -fPIC -Wl,--rpath,\$ORIGIN/../lib... " >&6; }
8277 if eval \
${$as_ac_var+:} false
; then :
8278 $as_echo_n "(cached) " >&6
8280 ac_wine_try_cflags_saved
=$CFLAGS
8281 CFLAGS
="$CFLAGS -fPIC -Wl,--rpath,\$ORIGIN/../lib"
8282 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8283 /* end confdefs.h. */
8284 int main(int argc, char **argv) { return 0; }
8286 if ac_fn_c_try_link
"$LINENO"; then :
8287 eval "$as_ac_var=yes"
8289 eval "$as_ac_var=no"
8291 rm -f core conftest.err conftest.
$ac_objext \
8292 conftest
$ac_exeext conftest.
$ac_ext
8293 CFLAGS
=$ac_wine_try_cflags_saved
8295 eval ac_res
=\$
$as_ac_var
8296 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
8297 $as_echo "$ac_res" >&6; }
8298 if eval test \"x\$
"$as_ac_var"\" = x
"yes"; then :
8299 LDRPATH_INSTALL
="-Wl,--rpath,\\\$\$ORIGIN/\`\$(MAKEDEP) -R \${bindir} \${libdir}\`"
8300 LDRPATH_LOCAL
="-Wl,--rpath,\\\$\$ORIGIN/\$(top_builddir)/libs/wine"
8302 as_ac_var
=`$as_echo "ac_cv_cflags_-fPIC -Wl,-R,\\$ORIGIN/../lib" | $as_tr_sh`
8303 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -Wl,-R,\$ORIGIN/../lib" >&5
8304 $as_echo_n "checking whether the compiler supports -fPIC -Wl,-R,\$ORIGIN/../lib... " >&6; }
8305 if eval \
${$as_ac_var+:} false
; then :
8306 $as_echo_n "(cached) " >&6
8308 ac_wine_try_cflags_saved
=$CFLAGS
8309 CFLAGS
="$CFLAGS -fPIC -Wl,-R,\$ORIGIN/../lib"
8310 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8311 /* end confdefs.h. */
8312 int main(int argc, char **argv) { return 0; }
8314 if ac_fn_c_try_link
"$LINENO"; then :
8315 eval "$as_ac_var=yes"
8317 eval "$as_ac_var=no"
8319 rm -f core conftest.err conftest.
$ac_objext \
8320 conftest
$ac_exeext conftest.
$ac_ext
8321 CFLAGS
=$ac_wine_try_cflags_saved
8323 eval ac_res
=\$
$as_ac_var
8324 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
8325 $as_echo "$ac_res" >&6; }
8326 if eval test \"x\$
"$as_ac_var"\" = x
"yes"; then :
8327 LDRPATH_INSTALL
="-Wl,-R,\\\$\$ORIGIN/\`\$(MAKEDEP) -R \${bindir} \${libdir}\`"
8328 LDRPATH_LOCAL
="-Wl,-R,\\\$\$ORIGIN/\$(top_builddir)/libs/wine"
8332 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,--enable-new-dtags" >&5
8333 $as_echo_n "checking whether the compiler supports -Wl,--enable-new-dtags... " >&6; }
8334 if ${ac_cv_cflags__Wl___enable_new_dtags+:} false
; then :
8335 $as_echo_n "(cached) " >&6
8337 ac_wine_try_cflags_saved
=$CFLAGS
8338 CFLAGS
="$CFLAGS -Wl,--enable-new-dtags"
8339 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8340 /* end confdefs.h. */
8341 int main(int argc, char **argv) { return 0; }
8343 if ac_fn_c_try_link
"$LINENO"; then :
8344 ac_cv_cflags__Wl___enable_new_dtags
=yes
8346 ac_cv_cflags__Wl___enable_new_dtags
=no
8348 rm -f core conftest.err conftest.
$ac_objext \
8349 conftest
$ac_exeext conftest.
$ac_ext
8350 CFLAGS
=$ac_wine_try_cflags_saved
8352 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl___enable_new_dtags" >&5
8353 $as_echo "$ac_cv_cflags__Wl___enable_new_dtags" >&6; }
8354 if test "x$ac_cv_cflags__Wl___enable_new_dtags" = xyes
; then :
8355 LDRPATH_INSTALL
="$LDRPATH_INSTALL -Wl,--enable-new-dtags"
8357 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,-pie" >&5
8358 $as_echo_n "checking whether the compiler supports -Wl,-pie... " >&6; }
8359 if ${ac_cv_cflags__Wl__pie+:} false
; then :
8360 $as_echo_n "(cached) " >&6
8362 ac_wine_try_cflags_saved
=$CFLAGS
8363 CFLAGS
="$CFLAGS -Wl,-pie"
8364 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8365 /* end confdefs.h. */
8366 int main(int argc, char **argv) { return 0; }
8368 if ac_fn_c_try_link
"$LINENO"; then :
8369 ac_cv_cflags__Wl__pie
=yes
8371 ac_cv_cflags__Wl__pie
=no
8373 rm -f core conftest.err conftest.
$ac_objext \
8374 conftest
$ac_exeext conftest.
$ac_ext
8375 CFLAGS
=$ac_wine_try_cflags_saved
8377 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl__pie" >&5
8378 $as_echo "$ac_cv_cflags__Wl__pie" >&6; }
8379 if test "x$ac_cv_cflags__Wl__pie" = xyes
; then :
8380 LDRPATH_INSTALL
="$LDRPATH_INSTALL -Wl,-pie"
8383 LIBWINE_SHAREDLIB
="libwine.so"
8385 LIBWINE_INSTALL_LIB
="libwine.so"
8387 LIBWINE_LDFLAGS
="-shared -Wl,-soname,libwine.so"
8392 DLLFLAGS
="$DLLFLAGS -fPIC"
8394 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we can build a GNU style ELF dll" >&5
8395 $as_echo_n "checking whether we can build a GNU style ELF dll... " >&6; }
8396 if ${ac_cv_c_dll_gnuelf+:} false
; then :
8397 $as_echo_n "(cached) " >&6
8399 ac_wine_try_cflags_saved
=$CFLAGS
8400 CFLAGS
="$CFLAGS -fPIC -shared -Wl,-Bsymbolic"
8401 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8402 /* end confdefs.h. */
8405 if ac_fn_c_try_link
"$LINENO"; then :
8406 ac_cv_c_dll_gnuelf
="yes"
8408 ac_cv_c_dll_gnuelf
="no"
8410 rm -f core conftest.err conftest.
$ac_objext \
8411 conftest
$ac_exeext conftest.
$ac_ext
8412 CFLAGS
=$ac_wine_try_cflags_saved
8414 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_dll_gnuelf" >&5
8415 $as_echo "$ac_cv_c_dll_gnuelf" >&6; }
8416 if test "$ac_cv_c_dll_gnuelf" = "yes"
8418 LIBWINE_LDFLAGS
="-shared"
8419 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -shared -Wl,-soname,confest.so.1" >&5
8420 $as_echo_n "checking whether the compiler supports -fPIC -shared -Wl,-soname,confest.so.1... " >&6; }
8421 if ${ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1+:} false
; then :
8422 $as_echo_n "(cached) " >&6
8424 ac_wine_try_cflags_saved
=$CFLAGS
8425 CFLAGS
="$CFLAGS -fPIC -shared -Wl,-soname,confest.so.1"
8426 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8427 /* end confdefs.h. */
8428 int main(int argc, char **argv) { return 0; }
8430 if ac_fn_c_try_link
"$LINENO"; then :
8431 ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1
=yes
8433 ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1
=no
8435 rm -f core conftest.err conftest.
$ac_objext \
8436 conftest
$ac_exeext conftest.
$ac_ext
8437 CFLAGS
=$ac_wine_try_cflags_saved
8439 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1" >&5
8440 $as_echo "$ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1" >&6; }
8441 if test "x$ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1" = xyes
; then :
8442 LIBWINE_LDFLAGS
="-shared -Wl,-soname,libwine.so.$libwine_soversion"
8444 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -shared -Wl,-h,confest.so.1" >&5
8445 $as_echo_n "checking whether the compiler supports -fPIC -shared -Wl,-h,confest.so.1... " >&6; }
8446 if ${ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1+:} false
; then :
8447 $as_echo_n "(cached) " >&6
8449 ac_wine_try_cflags_saved
=$CFLAGS
8450 CFLAGS
="$CFLAGS -fPIC -shared -Wl,-h,confest.so.1"
8451 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8452 /* end confdefs.h. */
8453 int main(int argc, char **argv) { return 0; }
8455 if ac_fn_c_try_link
"$LINENO"; then :
8456 ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1
=yes
8458 ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1
=no
8460 rm -f core conftest.err conftest.
$ac_objext \
8461 conftest
$ac_exeext conftest.
$ac_ext
8462 CFLAGS
=$ac_wine_try_cflags_saved
8464 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1" >&5
8465 $as_echo "$ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1" >&6; }
8466 if test "x$ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1" = xyes
; then :
8467 LIBWINE_LDFLAGS
="-shared -Wl,-h,libwine.so.$libwine_soversion"
8471 echo '{ global: *; };' >conftest.map
8472 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -shared -Wl,--version-script=conftest.map" >&5
8473 $as_echo_n "checking whether the compiler supports -fPIC -shared -Wl,--version-script=conftest.map... " >&6; }
8474 if ${ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map+:} false
; then :
8475 $as_echo_n "(cached) " >&6
8477 ac_wine_try_cflags_saved
=$CFLAGS
8478 CFLAGS
="$CFLAGS -fPIC -shared -Wl,--version-script=conftest.map"
8479 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8480 /* end confdefs.h. */
8481 int main(int argc, char **argv) { return 0; }
8483 if ac_fn_c_try_link
"$LINENO"; then :
8484 ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map
=yes
8486 ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map
=no
8488 rm -f core conftest.err conftest.
$ac_objext \
8489 conftest
$ac_exeext conftest.
$ac_ext
8490 CFLAGS
=$ac_wine_try_cflags_saved
8492 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map" >&5
8493 $as_echo "$ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map" >&6; }
8494 if test "x$ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map" = xyes
; then :
8495 LIBWINE_LDFLAGS
="$LIBWINE_LDFLAGS -Wl,--version-script=\$(srcdir)/wine.map"
8499 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -Wl,--export-dynamic" >&5
8500 $as_echo_n "checking whether the compiler supports -fPIC -Wl,--export-dynamic... " >&6; }
8501 if ${ac_cv_cflags__fPIC__Wl___export_dynamic+:} false
; then :
8502 $as_echo_n "(cached) " >&6
8504 ac_wine_try_cflags_saved
=$CFLAGS
8505 CFLAGS
="$CFLAGS -fPIC -Wl,--export-dynamic"
8506 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8507 /* end confdefs.h. */
8508 int main(int argc, char **argv) { return 0; }
8510 if ac_fn_c_try_link
"$LINENO"; then :
8511 ac_cv_cflags__fPIC__Wl___export_dynamic
=yes
8513 ac_cv_cflags__fPIC__Wl___export_dynamic
=no
8515 rm -f core conftest.err conftest.
$ac_objext \
8516 conftest
$ac_exeext conftest.
$ac_ext
8517 CFLAGS
=$ac_wine_try_cflags_saved
8519 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fPIC__Wl___export_dynamic" >&5
8520 $as_echo "$ac_cv_cflags__fPIC__Wl___export_dynamic" >&6; }
8521 if test "x$ac_cv_cflags__fPIC__Wl___export_dynamic" = xyes
; then :
8522 LDEXECFLAGS
="-Wl,--export-dynamic"
8525 as_ac_var
=`$as_echo "ac_cv_cflags_-fPIC -Wl,--rpath,\\$ORIGIN/../lib" | $as_tr_sh`
8526 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -Wl,--rpath,\$ORIGIN/../lib" >&5
8527 $as_echo_n "checking whether the compiler supports -fPIC -Wl,--rpath,\$ORIGIN/../lib... " >&6; }
8528 if eval \
${$as_ac_var+:} false
; then :
8529 $as_echo_n "(cached) " >&6
8531 ac_wine_try_cflags_saved
=$CFLAGS
8532 CFLAGS
="$CFLAGS -fPIC -Wl,--rpath,\$ORIGIN/../lib"
8533 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8534 /* end confdefs.h. */
8535 int main(int argc, char **argv) { return 0; }
8537 if ac_fn_c_try_link
"$LINENO"; then :
8538 eval "$as_ac_var=yes"
8540 eval "$as_ac_var=no"
8542 rm -f core conftest.err conftest.
$ac_objext \
8543 conftest
$ac_exeext conftest.
$ac_ext
8544 CFLAGS
=$ac_wine_try_cflags_saved
8546 eval ac_res
=\$
$as_ac_var
8547 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
8548 $as_echo "$ac_res" >&6; }
8549 if eval test \"x\$
"$as_ac_var"\" = x
"yes"; then :
8550 LDRPATH_INSTALL
="-Wl,--rpath,\\\$\$ORIGIN/\`\$(MAKEDEP) -R \${bindir} \${libdir}\`"
8551 LDRPATH_LOCAL
="-Wl,--rpath,\\\$\$ORIGIN/\$(top_builddir)/libs/wine"
8553 as_ac_var
=`$as_echo "ac_cv_cflags_-fPIC -Wl,-R,\\$ORIGIN/../lib" | $as_tr_sh`
8554 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -Wl,-R,\$ORIGIN/../lib" >&5
8555 $as_echo_n "checking whether the compiler supports -fPIC -Wl,-R,\$ORIGIN/../lib... " >&6; }
8556 if eval \
${$as_ac_var+:} false
; then :
8557 $as_echo_n "(cached) " >&6
8559 ac_wine_try_cflags_saved
=$CFLAGS
8560 CFLAGS
="$CFLAGS -fPIC -Wl,-R,\$ORIGIN/../lib"
8561 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8562 /* end confdefs.h. */
8563 int main(int argc, char **argv) { return 0; }
8565 if ac_fn_c_try_link
"$LINENO"; then :
8566 eval "$as_ac_var=yes"
8568 eval "$as_ac_var=no"
8570 rm -f core conftest.err conftest.
$ac_objext \
8571 conftest
$ac_exeext conftest.
$ac_ext
8572 CFLAGS
=$ac_wine_try_cflags_saved
8574 eval ac_res
=\$
$as_ac_var
8575 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
8576 $as_echo "$ac_res" >&6; }
8577 if eval test \"x\$
"$as_ac_var"\" = x
"yes"; then :
8578 LDRPATH_INSTALL
="-Wl,-R,\\\$\$ORIGIN/\`\$(MAKEDEP) -R \${bindir} \${libdir}\`"
8579 LDRPATH_LOCAL
="-Wl,-R,\\\$\$ORIGIN/\$(top_builddir)/libs/wine"
8583 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,--enable-new-dtags" >&5
8584 $as_echo_n "checking whether the compiler supports -Wl,--enable-new-dtags... " >&6; }
8585 if ${ac_cv_cflags__Wl___enable_new_dtags+:} false
; then :
8586 $as_echo_n "(cached) " >&6
8588 ac_wine_try_cflags_saved
=$CFLAGS
8589 CFLAGS
="$CFLAGS -Wl,--enable-new-dtags"
8590 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8591 /* end confdefs.h. */
8592 int main(int argc, char **argv) { return 0; }
8594 if ac_fn_c_try_link
"$LINENO"; then :
8595 ac_cv_cflags__Wl___enable_new_dtags
=yes
8597 ac_cv_cflags__Wl___enable_new_dtags
=no
8599 rm -f core conftest.err conftest.
$ac_objext \
8600 conftest
$ac_exeext conftest.
$ac_ext
8601 CFLAGS
=$ac_wine_try_cflags_saved
8603 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl___enable_new_dtags" >&5
8604 $as_echo "$ac_cv_cflags__Wl___enable_new_dtags" >&6; }
8605 if test "x$ac_cv_cflags__Wl___enable_new_dtags" = xyes
; then :
8606 LDRPATH_INSTALL
="$LDRPATH_INSTALL -Wl,--enable-new-dtags"
8610 *i
[3456789]86* | x86_64
)
8611 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,-Ttext-segment=0x7bc00000" >&5
8612 $as_echo_n "checking whether the compiler supports -Wl,-Ttext-segment=0x7bc00000... " >&6; }
8613 if ${ac_cv_cflags__Wl__Ttext_segment_0x7bc00000+:} false
; then :
8614 $as_echo_n "(cached) " >&6
8616 ac_wine_try_cflags_saved
=$CFLAGS
8617 CFLAGS
="$CFLAGS -Wl,-Ttext-segment=0x7bc00000"
8618 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8619 /* end confdefs.h. */
8620 int main(int argc, char **argv) { return 0; }
8622 if ac_fn_c_try_link
"$LINENO"; then :
8623 ac_cv_cflags__Wl__Ttext_segment_0x7bc00000
=yes
8625 ac_cv_cflags__Wl__Ttext_segment_0x7bc00000
=no
8627 rm -f core conftest.err conftest.
$ac_objext \
8628 conftest
$ac_exeext conftest.
$ac_ext
8629 CFLAGS
=$ac_wine_try_cflags_saved
8631 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl__Ttext_segment_0x7bc00000" >&5
8632 $as_echo "$ac_cv_cflags__Wl__Ttext_segment_0x7bc00000" >&6; }
8633 if test "x$ac_cv_cflags__Wl__Ttext_segment_0x7bc00000" = xyes
; then :
8635 freebsd
* | kfreebsd
*-gnu) LDEXECFLAGS
="$LDEXECFLAGS -Wl,-Ttext-segment=0x60000000" ;;
8636 *) LDEXECFLAGS
="$LDEXECFLAGS -Wl,-Ttext-segment=0x7c000000" ;;
8639 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,--section-start,.interp=0x7c000400" >&5
8640 $as_echo_n "checking whether the compiler supports -Wl,--section-start,.interp=0x7c000400... " >&6; }
8641 if ${ac_cv_cflags__Wl___section_start__interp_0x7c000400+:} false
; then :
8642 $as_echo_n "(cached) " >&6
8644 ac_wine_try_cflags_saved
=$CFLAGS
8645 CFLAGS
="$CFLAGS -Wl,--section-start,.interp=0x7c000400"
8646 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8647 /* end confdefs.h. */
8648 int main(int argc, char **argv) { return 0; }
8650 if ac_fn_c_try_link
"$LINENO"; then :
8651 ac_cv_cflags__Wl___section_start__interp_0x7c000400
=yes
8653 ac_cv_cflags__Wl___section_start__interp_0x7c000400
=no
8655 rm -f core conftest.err conftest.
$ac_objext \
8656 conftest
$ac_exeext conftest.
$ac_ext
8657 CFLAGS
=$ac_wine_try_cflags_saved
8659 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl___section_start__interp_0x7c000400" >&5
8660 $as_echo "$ac_cv_cflags__Wl___section_start__interp_0x7c000400" >&6; }
8661 if test "x$ac_cv_cflags__Wl___section_start__interp_0x7c000400" = xyes
; then :
8663 freebsd
* | kfreebsd
*-gnu) LDEXECFLAGS
="$LDEXECFLAGS -Wl,--section-start,.interp=0x60000400" ;;
8664 *) LDEXECFLAGS
="$LDEXECFLAGS -Wl,--section-start,.interp=0x7c000400" ;;
8667 # Extract the first word of "prelink", so it can be a program name with args.
8668 set dummy prelink
; ac_word
=$2
8669 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8670 $as_echo_n "checking for $ac_word... " >&6; }
8671 if ${ac_cv_path_PRELINK+:} false
; then :
8672 $as_echo_n "(cached) " >&6
8676 ac_cv_path_PRELINK
="$PRELINK" # Let the user override the test with a path.
8679 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
8680 for as_dir
in /sbin
/usr
/sbin
$PATH
8683 test -z "$as_dir" && as_dir
=.
8684 for ac_exec_ext
in '' $ac_executable_extensions; do
8685 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
8686 ac_cv_path_PRELINK
="$as_dir/$ac_word$ac_exec_ext"
8687 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8694 test -z "$ac_cv_path_PRELINK" && ac_cv_path_PRELINK
="false"
8698 PRELINK
=$ac_cv_path_PRELINK
8699 if test -n "$PRELINK"; then
8700 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PRELINK" >&5
8701 $as_echo "$PRELINK" >&6; }
8703 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8704 $as_echo "no" >&6; }
8708 if test "x$PRELINK" = xfalse
8710 as_fn_append wine_warnings
"|prelink not found and linker does not support relocation, base address of core dlls won't be set correctly."
8713 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,-z,max-page-size=0x1000" >&5
8714 $as_echo_n "checking whether the compiler supports -Wl,-z,max-page-size=0x1000... " >&6; }
8715 if ${ac_cv_cflags__Wl__z_max_page_size_0x1000+:} false
; then :
8716 $as_echo_n "(cached) " >&6
8718 ac_wine_try_cflags_saved
=$CFLAGS
8719 CFLAGS
="$CFLAGS -Wl,-z,max-page-size=0x1000"
8720 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8721 /* end confdefs.h. */
8722 int main(int argc, char **argv) { return 0; }
8724 if ac_fn_c_try_link
"$LINENO"; then :
8725 ac_cv_cflags__Wl__z_max_page_size_0x1000
=yes
8727 ac_cv_cflags__Wl__z_max_page_size_0x1000
=no
8729 rm -f core conftest.err conftest.
$ac_objext \
8730 conftest
$ac_exeext conftest.
$ac_ext
8731 CFLAGS
=$ac_wine_try_cflags_saved
8733 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl__z_max_page_size_0x1000" >&5
8734 $as_echo "$ac_cv_cflags__Wl__z_max_page_size_0x1000" >&6; }
8735 if test "x$ac_cv_cflags__Wl__z_max_page_size_0x1000" = xyes
; then :
8736 LDEXECFLAGS
="$LDEXECFLAGS -Wl,-z,max-page-size=0x1000"
8742 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we can build a UnixWare (Solaris) dll" >&5
8743 $as_echo_n "checking whether we can build a UnixWare (Solaris) dll... " >&6; }
8744 if ${ac_cv_c_dll_unixware+:} false
; then :
8745 $as_echo_n "(cached) " >&6
8747 ac_wine_try_cflags_saved
=$CFLAGS
8748 CFLAGS
="$CFLAGS -fPIC -Wl,-G,-h,conftest.so.1.0,-B,symbolic"
8749 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8750 /* end confdefs.h. */
8753 if ac_fn_c_try_link
"$LINENO"; then :
8754 ac_cv_c_dll_unixware
="yes"
8756 ac_cv_c_dll_unixware
="no"
8758 rm -f core conftest.err conftest.
$ac_objext \
8759 conftest
$ac_exeext conftest.
$ac_ext
8760 CFLAGS
=$ac_wine_try_cflags_saved
8762 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_dll_unixware" >&5
8763 $as_echo "$ac_cv_c_dll_unixware" >&6; }
8764 if test "$ac_cv_c_dll_unixware" = "yes"
8766 LIBWINE_LDFLAGS
="-Wl,-G,-h,libwine.so.$libwine_soversion"
8769 LIBWINE_SHAREDLIB
="libwine.so.$libwine_version"
8771 LIBWINE_INSTALL_LIB
="libwine.so.$libwine_version libwine.so.$libwine_soversion"
8773 LIBWINE_INSTALL_DEV
="libwine.so"
8775 LIBWINE_DEPENDS
="wine.map"
8780 enable_winecoreaudio_drv
=${enable_winecoreaudio_drv:-no}
8781 enable_wineqtdecoder
=${enable_wineqtdecoder:-no}
8782 enable_winemac_drv
=${enable_winemac_drv:-no}
8783 test "$ac_cv_header_linux_joystick_h" = "yes" -o "$ac_cv_header_IOKit_hid_IOHIDLib_h" = "yes" || enable_winejoystick_drv
=${enable_winejoystick_drv:-no}
8787 if test "x$enable_tests" != xno
-a "$LIBEXT" != "dll"
8791 ac_prefix_list
="armv7-w64-mingw32-clang armv7-w64-mingw32-gcc" ;;
8793 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
8794 i686-w64-mingw32-clang i586-w64-mingw32-clang i486-w64-mingw32-clang i386-w64-mingw32-clang
8797 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
8798 x86_64-w64-mingw32-clang amd64-w64-mingw32-clang " ;;
8800 ac_prefix_list
="" ;;
8802 for ac_prog
in $ac_prefix_list
8804 # Extract the first word of "$ac_prog", so it can be a program name with args.
8805 set dummy
$ac_prog; ac_word
=$2
8806 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8807 $as_echo_n "checking for $ac_word... " >&6; }
8808 if ${ac_cv_prog_CROSSCC+:} false
; then :
8809 $as_echo_n "(cached) " >&6
8811 if test -n "$CROSSCC"; then
8812 ac_cv_prog_CROSSCC
="$CROSSCC" # Let the user override the test.
8814 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
8818 test -z "$as_dir" && as_dir
=.
8819 for ac_exec_ext
in '' $ac_executable_extensions; do
8820 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
8821 ac_cv_prog_CROSSCC
="$ac_prog"
8822 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8831 CROSSCC
=$ac_cv_prog_CROSSCC
8832 if test -n "$CROSSCC"; then
8833 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CROSSCC" >&5
8834 $as_echo "$CROSSCC" >&6; }
8836 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8837 $as_echo "no" >&6; }
8841 test -n "$CROSSCC" && break
8843 test -n "$CROSSCC" || CROSSCC
="false"
8845 if test "$CROSSCC" != "false"
8849 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CROSSCC works" >&5
8850 $as_echo_n "checking whether $CROSSCC works... " >&6; }
8851 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8852 /* end confdefs.h. */
8862 if ac_fn_c_try_compile
"$LINENO"; then :
8863 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
8864 $as_echo "yes" >&6; }
8870 *-gcc) CROSSTARGET
=`expr "$1" : '\(.*\)-gcc'` ;;
8871 *-clang) CROSSTARGET
=`expr "$1" : '\(.*\)-clang'` ;;
8876 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8877 $as_echo "no" >&6; }
8879 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
8885 if test "$ac_cv_header_pthread_h" = "yes"
8887 ac_fn_c_check_func
"$LINENO" "pthread_create" "ac_cv_func_pthread_create"
8888 if test "x$ac_cv_func_pthread_create" = xyes
; then :
8891 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pthread_create in -lpthread" >&5
8892 $as_echo_n "checking for pthread_create in -lpthread... " >&6; }
8893 if ${ac_cv_lib_pthread_pthread_create+:} false
; then :
8894 $as_echo_n "(cached) " >&6
8896 ac_check_lib_save_LIBS
=$LIBS
8897 LIBS
="-lpthread $LIBS"
8898 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8899 /* end confdefs.h. */
8901 /* Override any GCC internal prototype to avoid an error.
8902 Use char because int might match the return type of a GCC
8903 builtin and then its argument prototype would still apply. */
8907 char pthread_create ();
8911 return pthread_create ();
8916 if ac_fn_c_try_link
"$LINENO"; then :
8917 ac_cv_lib_pthread_pthread_create
=yes
8919 ac_cv_lib_pthread_pthread_create
=no
8921 rm -f core conftest.err conftest.
$ac_objext \
8922 conftest
$ac_exeext conftest.
$ac_ext
8923 LIBS
=$ac_check_lib_save_LIBS
8925 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_pthread_pthread_create" >&5
8926 $as_echo "$ac_cv_lib_pthread_pthread_create" >&6; }
8927 if test "x$ac_cv_lib_pthread_pthread_create" = xyes
; then :
8928 PTHREAD_LIBS
="-lpthread"
8935 if test "x$ac_cv_func_pthread_create" != xyes
-a "x$PTHREAD_LIBS" = x
; then :
8936 case "x$with_pthread" in
8938 *) as_fn_error $?
"pthread ${notice_platform}development files not found.
8939 Wine cannot support threads without libpthread.
8940 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 ;;
9888 if test "$ac_cv_header_X11_extensions_XInput_h" = "yes"
9890 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXi" >&5
9891 $as_echo_n "checking for -lXi... " >&6; }
9892 if ${ac_cv_lib_soname_Xi+:} false
; then :
9893 $as_echo_n "(cached) " >&6
9895 ac_check_soname_save_LIBS
=$LIBS
9896 LIBS
="-lXi $X_LIBS $X_EXTRA_LIBS $LIBS"
9897 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9898 /* end confdefs.h. */
9900 /* Override any GCC internal prototype to avoid an error.
9901 Use char because int might match the return type of a GCC
9902 builtin and then its argument prototype would still apply. */
9906 char XOpenDevice ();
9910 return XOpenDevice ();
9915 if ac_fn_c_try_link
"$LINENO"; then :
9917 dll
) ac_cv_lib_soname_Xi
=`$ac_cv_path_LDD conftest.exe | grep "Xi" | sed -e "s/dll.*/dll/"';2,$d'` ;;
9918 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'` ;;
9919 *) ac_cv_lib_soname_Xi
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXi\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXi\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
9920 if ${ac_cv_lib_soname_Xi:+false} :; then :
9921 ac_cv_lib_soname_Xi
=`$LDD conftest$ac_exeext | grep "libXi\\.$LIBEXT" | sed -e "s/^.*\(libXi\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
9925 rm -f core conftest.err conftest.
$ac_objext \
9926 conftest
$ac_exeext conftest.
$ac_ext
9927 LIBS
=$ac_check_soname_save_LIBS
9929 if ${ac_cv_lib_soname_Xi:+false} :; then :
9930 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
9931 $as_echo "not found" >&6; }
9934 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xi" >&5
9935 $as_echo "$ac_cv_lib_soname_Xi" >&6; }
9937 cat >>confdefs.h
<<_ACEOF
9938 #define SONAME_LIBXI "$ac_cv_lib_soname_Xi"
9944 if test "x$ac_cv_lib_soname_Xi" = "x"; then :
9945 case "x$with_xinput" in
9946 x
) as_fn_append wine_notices
"|libxi ${notice_platform}development files not found, the Xinput extension won't be supported." ;;
9948 *) as_fn_error $?
"libxi ${notice_platform}development files not found, the Xinput extension won't be supported.
9949 This is an error since --with-xinput was requested." "$LINENO" 5 ;;
9954 if test "x$ac_cv_lib_soname_Xi" != x
9956 if test "$ac_cv_header_X11_extensions_XInput2_h" != "yes"; then :
9957 case "x$with_xinput2" in
9958 x
) as_fn_append wine_notices
"|XInput2 headers not found, the XInput 2 extension won't be supported." ;;
9960 *) as_fn_error $?
"XInput2 headers not found, the XInput 2 extension won't be supported.
9961 This is an error since --with-xinput2 was requested." "$LINENO" 5 ;;
9967 if test "$ac_cv_header_X11_extensions_XShm_h" = "yes"
9969 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XShmQueryExtension in -lXext" >&5
9970 $as_echo_n "checking for XShmQueryExtension in -lXext... " >&6; }
9971 if ${ac_cv_lib_Xext_XShmQueryExtension+:} false
; then :
9972 $as_echo_n "(cached) " >&6
9974 ac_check_lib_save_LIBS
=$LIBS
9975 LIBS
="-lXext $X_LIBS $X_EXTRA_LIBS $LIBS"
9976 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9977 /* end confdefs.h. */
9979 /* Override any GCC internal prototype to avoid an error.
9980 Use char because int might match the return type of a GCC
9981 builtin and then its argument prototype would still apply. */
9985 char XShmQueryExtension ();
9989 return XShmQueryExtension ();
9994 if ac_fn_c_try_link
"$LINENO"; then :
9995 ac_cv_lib_Xext_XShmQueryExtension
=yes
9997 ac_cv_lib_Xext_XShmQueryExtension
=no
9999 rm -f core conftest.err conftest.
$ac_objext \
10000 conftest
$ac_exeext conftest.
$ac_ext
10001 LIBS
=$ac_check_lib_save_LIBS
10003 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xext_XShmQueryExtension" >&5
10004 $as_echo "$ac_cv_lib_Xext_XShmQueryExtension" >&6; }
10005 if test "x$ac_cv_lib_Xext_XShmQueryExtension" = xyes
; then :
10007 $as_echo "#define HAVE_LIBXXSHM 1" >>confdefs.h
10012 if test "$ac_cv_lib_Xext_XShmQueryExtension" != "yes"; then :
10013 case "x$with_xshm" in
10014 x
) as_fn_append wine_notices
"|XShm ${notice_platform}development files not found, X Shared Memory won't be supported." ;;
10016 *) as_fn_error $?
"XShm ${notice_platform}development files not found, X Shared Memory won't be supported.
10017 This is an error since --with-xshm was requested." "$LINENO" 5 ;;
10022 if test "$ac_cv_header_X11_extensions_shape_h" = "yes"
10024 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XShapeQueryExtension in -lXext" >&5
10025 $as_echo_n "checking for XShapeQueryExtension in -lXext... " >&6; }
10026 if ${ac_cv_lib_Xext_XShapeQueryExtension+:} false
; then :
10027 $as_echo_n "(cached) " >&6
10029 ac_check_lib_save_LIBS
=$LIBS
10030 LIBS
="-lXext $X_LIBS $X_EXTRA_LIBS $LIBS"
10031 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10032 /* end confdefs.h. */
10034 /* Override any GCC internal prototype to avoid an error.
10035 Use char because int might match the return type of a GCC
10036 builtin and then its argument prototype would still apply. */
10040 char XShapeQueryExtension ();
10044 return XShapeQueryExtension ();
10049 if ac_fn_c_try_link
"$LINENO"; then :
10050 ac_cv_lib_Xext_XShapeQueryExtension
=yes
10052 ac_cv_lib_Xext_XShapeQueryExtension
=no
10054 rm -f core conftest.err conftest.
$ac_objext \
10055 conftest
$ac_exeext conftest.
$ac_ext
10056 LIBS
=$ac_check_lib_save_LIBS
10058 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xext_XShapeQueryExtension" >&5
10059 $as_echo "$ac_cv_lib_Xext_XShapeQueryExtension" >&6; }
10060 if test "x$ac_cv_lib_Xext_XShapeQueryExtension" = xyes
; then :
10062 $as_echo "#define HAVE_LIBXSHAPE 1" >>confdefs.h
10067 if test "$ac_cv_lib_Xext_XShapeQueryExtension" != "yes"; then :
10068 case "x$with_xshape" in
10069 x
) as_fn_append wine_notices
"|XShape ${notice_platform}development files not found, XShape won't be supported." ;;
10071 *) as_fn_error $?
"XShape ${notice_platform}development files not found, XShape won't be supported.
10072 This is an error since --with-xshape was requested." "$LINENO" 5 ;;
10077 if test "$ac_cv_header_X11_extensions_xf86vmode_h" = "yes" -o "$ac_cv_header_X11_extensions_xf86vmproto_h" = "yes"
10079 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXxf86vm" >&5
10080 $as_echo_n "checking for -lXxf86vm... " >&6; }
10081 if ${ac_cv_lib_soname_Xxf86vm+:} false
; then :
10082 $as_echo_n "(cached) " >&6
10084 ac_check_soname_save_LIBS
=$LIBS
10085 LIBS
="-lXxf86vm $X_LIBS $X_EXTRA_LIBS $LIBS"
10086 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10087 /* end confdefs.h. */
10089 /* Override any GCC internal prototype to avoid an error.
10090 Use char because int might match the return type of a GCC
10091 builtin and then its argument prototype would still apply. */
10095 char XF86VidModeQueryExtension ();
10099 return XF86VidModeQueryExtension ();
10104 if ac_fn_c_try_link
"$LINENO"; then :
10106 dll
) ac_cv_lib_soname_Xxf86vm
=`$ac_cv_path_LDD conftest.exe | grep "Xxf86vm" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10107 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'` ;;
10108 *) ac_cv_lib_soname_Xxf86vm
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXxf86vm\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXxf86vm\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10109 if ${ac_cv_lib_soname_Xxf86vm:+false} :; then :
10110 ac_cv_lib_soname_Xxf86vm
=`$LDD conftest$ac_exeext | grep "libXxf86vm\\.$LIBEXT" | sed -e "s/^.*\(libXxf86vm\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10114 rm -f core conftest.err conftest.
$ac_objext \
10115 conftest
$ac_exeext conftest.
$ac_ext
10116 LIBS
=$ac_check_soname_save_LIBS
10118 if ${ac_cv_lib_soname_Xxf86vm:+false} :; then :
10119 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10120 $as_echo "not found" >&6; }
10123 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xxf86vm" >&5
10124 $as_echo "$ac_cv_lib_soname_Xxf86vm" >&6; }
10126 cat >>confdefs.h
<<_ACEOF
10127 #define SONAME_LIBXXF86VM "$ac_cv_lib_soname_Xxf86vm"
10133 if test "x$ac_cv_lib_soname_Xxf86vm" = "x"; then :
10134 case "x$with_xxf86vm" in
10135 x
) as_fn_append wine_notices
"|libXxf86vm ${notice_platform}development files not found, XFree86 Vidmode won't be supported." ;;
10137 *) as_fn_error $?
"libXxf86vm ${notice_platform}development files not found, XFree86 Vidmode won't be supported.
10138 This is an error since --with-xxf86vm was requested." "$LINENO" 5 ;;
10143 if test "$ac_cv_header_X11_extensions_Xrender_h" = "yes" -a "x$ac_cv_lib_soname_X11" != "x"
10145 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXrender" >&5
10146 $as_echo_n "checking for -lXrender... " >&6; }
10147 if ${ac_cv_lib_soname_Xrender+:} false
; then :
10148 $as_echo_n "(cached) " >&6
10150 ac_check_soname_save_LIBS
=$LIBS
10151 LIBS
="-lXrender $X_LIBS $X_EXTRA_LIBS $LIBS"
10152 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10153 /* end confdefs.h. */
10155 /* Override any GCC internal prototype to avoid an error.
10156 Use char because int might match the return type of a GCC
10157 builtin and then its argument prototype would still apply. */
10161 char XRenderQueryExtension ();
10165 return XRenderQueryExtension ();
10170 if ac_fn_c_try_link
"$LINENO"; then :
10172 dll
) ac_cv_lib_soname_Xrender
=`$ac_cv_path_LDD conftest.exe | grep "Xrender" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10173 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'` ;;
10174 *) ac_cv_lib_soname_Xrender
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXrender\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXrender\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10175 if ${ac_cv_lib_soname_Xrender:+false} :; then :
10176 ac_cv_lib_soname_Xrender
=`$LDD conftest$ac_exeext | grep "libXrender\\.$LIBEXT" | sed -e "s/^.*\(libXrender\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10180 rm -f core conftest.err conftest.
$ac_objext \
10181 conftest
$ac_exeext conftest.
$ac_ext
10182 LIBS
=$ac_check_soname_save_LIBS
10184 if ${ac_cv_lib_soname_Xrender:+false} :; then :
10185 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10186 $as_echo "not found" >&6; }
10189 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xrender" >&5
10190 $as_echo "$ac_cv_lib_soname_Xrender" >&6; }
10192 cat >>confdefs.h
<<_ACEOF
10193 #define SONAME_LIBXRENDER "$ac_cv_lib_soname_Xrender"
10196 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XRenderSetPictureTransform in -lXrender" >&5
10197 $as_echo_n "checking for XRenderSetPictureTransform in -lXrender... " >&6; }
10198 if ${ac_cv_lib_Xrender_XRenderSetPictureTransform+:} false
; then :
10199 $as_echo_n "(cached) " >&6
10201 ac_check_lib_save_LIBS
=$LIBS
10202 LIBS
="-lXrender $X_LIBS $X_EXTRA_LIBS $LIBS"
10203 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10204 /* end confdefs.h. */
10206 /* Override any GCC internal prototype to avoid an error.
10207 Use char because int might match the return type of a GCC
10208 builtin and then its argument prototype would still apply. */
10212 char XRenderSetPictureTransform ();
10216 return XRenderSetPictureTransform ();
10221 if ac_fn_c_try_link
"$LINENO"; then :
10222 ac_cv_lib_Xrender_XRenderSetPictureTransform
=yes
10224 ac_cv_lib_Xrender_XRenderSetPictureTransform
=no
10226 rm -f core conftest.err conftest.
$ac_objext \
10227 conftest
$ac_exeext conftest.
$ac_ext
10228 LIBS
=$ac_check_lib_save_LIBS
10230 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xrender_XRenderSetPictureTransform" >&5
10231 $as_echo "$ac_cv_lib_Xrender_XRenderSetPictureTransform" >&6; }
10232 if test "x$ac_cv_lib_Xrender_XRenderSetPictureTransform" = xyes
; then :
10234 $as_echo "#define HAVE_XRENDERSETPICTURETRANSFORM 1" >>confdefs.h
10238 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XRenderCreateLinearGradient in -lXrender" >&5
10239 $as_echo_n "checking for XRenderCreateLinearGradient in -lXrender... " >&6; }
10240 if ${ac_cv_lib_Xrender_XRenderCreateLinearGradient+:} false
; then :
10241 $as_echo_n "(cached) " >&6
10243 ac_check_lib_save_LIBS
=$LIBS
10244 LIBS
="-lXrender $X_LIBS $X_EXTRA_LIBS $LIBS"
10245 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10246 /* end confdefs.h. */
10248 /* Override any GCC internal prototype to avoid an error.
10249 Use char because int might match the return type of a GCC
10250 builtin and then its argument prototype would still apply. */
10254 char XRenderCreateLinearGradient ();
10258 return XRenderCreateLinearGradient ();
10263 if ac_fn_c_try_link
"$LINENO"; then :
10264 ac_cv_lib_Xrender_XRenderCreateLinearGradient
=yes
10266 ac_cv_lib_Xrender_XRenderCreateLinearGradient
=no
10268 rm -f core conftest.err conftest.
$ac_objext \
10269 conftest
$ac_exeext conftest.
$ac_ext
10270 LIBS
=$ac_check_lib_save_LIBS
10272 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xrender_XRenderCreateLinearGradient" >&5
10273 $as_echo "$ac_cv_lib_Xrender_XRenderCreateLinearGradient" >&6; }
10274 if test "x$ac_cv_lib_Xrender_XRenderCreateLinearGradient" = xyes
; then :
10276 $as_echo "#define HAVE_XRENDERCREATELINEARGRADIENT 1" >>confdefs.h
10283 if test "x$ac_cv_lib_soname_Xrender" = "x"; then :
10284 case "x$with_xrender" in
10285 x
) as_fn_append wine_warnings
"|libxrender ${notice_platform}development files not found, XRender won't be supported." ;;
10287 *) as_fn_error $?
"libxrender ${notice_platform}development files not found, XRender won't be supported.
10288 This is an error since --with-xrender was requested." "$LINENO" 5 ;;
10293 if test "$ac_cv_header_X11_extensions_Xrandr_h" = "yes" -a "x$ac_cv_lib_soname_Xrender" != "x"
10295 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10296 /* end confdefs.h. */
10297 #include <X11/Xlib.h>
10298 #include <X11/extensions/Xrandr.h>
10302 static typeof(XRRSetScreenConfigAndRate) * func; if (func) return 0;
10307 if ac_fn_c_try_compile
"$LINENO"; then :
10308 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXrandr" >&5
10309 $as_echo_n "checking for -lXrandr... " >&6; }
10310 if ${ac_cv_lib_soname_Xrandr+:} false
; then :
10311 $as_echo_n "(cached) " >&6
10313 ac_check_soname_save_LIBS
=$LIBS
10314 LIBS
="-lXrandr $X_LIBS $X_EXTRA_LIBS $LIBS"
10315 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10316 /* end confdefs.h. */
10318 /* Override any GCC internal prototype to avoid an error.
10319 Use char because int might match the return type of a GCC
10320 builtin and then its argument prototype would still apply. */
10324 char XRRQueryExtension ();
10328 return XRRQueryExtension ();
10333 if ac_fn_c_try_link
"$LINENO"; then :
10335 dll
) ac_cv_lib_soname_Xrandr
=`$ac_cv_path_LDD conftest.exe | grep "Xrandr" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10336 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'` ;;
10337 *) ac_cv_lib_soname_Xrandr
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXrandr\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXrandr\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10338 if ${ac_cv_lib_soname_Xrandr:+false} :; then :
10339 ac_cv_lib_soname_Xrandr
=`$LDD conftest$ac_exeext | grep "libXrandr\\.$LIBEXT" | sed -e "s/^.*\(libXrandr\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10343 rm -f core conftest.err conftest.
$ac_objext \
10344 conftest
$ac_exeext conftest.
$ac_ext
10345 LIBS
=$ac_check_soname_save_LIBS
10347 if ${ac_cv_lib_soname_Xrandr:+false} :; then :
10348 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10349 $as_echo "not found" >&6; }
10352 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xrandr" >&5
10353 $as_echo "$ac_cv_lib_soname_Xrandr" >&6; }
10355 cat >>confdefs.h
<<_ACEOF
10356 #define SONAME_LIBXRANDR "$ac_cv_lib_soname_Xrandr"
10359 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10360 /* end confdefs.h. */
10361 #include <X11/Xlib.h>
10362 #include <X11/extensions/Xrandr.h>
10366 static typeof(XRRGetScreenResources) *f; if (f) return 0;
10371 if ac_fn_c_try_compile
"$LINENO"; then :
10373 $as_echo "#define HAVE_XRRGETSCREENRESOURCES 1" >>confdefs.h
10376 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
10379 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
10381 if test "x$ac_cv_lib_soname_Xrandr" = "x"; then :
10382 case "x$with_xrandr" in
10383 x
) as_fn_append wine_notices
"|libxrandr ${notice_platform}development files not found, XRandr won't be supported." ;;
10385 *) as_fn_error $?
"libxrandr ${notice_platform}development files not found, XRandr won't be supported.
10386 This is an error since --with-xrandr was requested." "$LINENO" 5 ;;
10391 if test "$ac_cv_header_X11_extensions_Xinerama_h" = "yes"
10393 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10394 /* end confdefs.h. */
10395 #include <X11/Xlib.h>
10396 #include <X11/extensions/Xinerama.h>
10400 static typeof(XineramaQueryScreens) * func; if (func) return 0;
10405 if ac_fn_c_try_compile
"$LINENO"; then :
10406 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXinerama" >&5
10407 $as_echo_n "checking for -lXinerama... " >&6; }
10408 if ${ac_cv_lib_soname_Xinerama+:} false
; then :
10409 $as_echo_n "(cached) " >&6
10411 ac_check_soname_save_LIBS
=$LIBS
10412 LIBS
="-lXinerama $X_LIBS $X_EXTRA_LIBS $LIBS"
10413 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10414 /* end confdefs.h. */
10416 /* Override any GCC internal prototype to avoid an error.
10417 Use char because int might match the return type of a GCC
10418 builtin and then its argument prototype would still apply. */
10422 char XineramaQueryScreens ();
10426 return XineramaQueryScreens ();
10431 if ac_fn_c_try_link
"$LINENO"; then :
10433 dll
) ac_cv_lib_soname_Xinerama
=`$ac_cv_path_LDD conftest.exe | grep "Xinerama" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10434 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'` ;;
10435 *) ac_cv_lib_soname_Xinerama
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXinerama\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXinerama\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10436 if ${ac_cv_lib_soname_Xinerama:+false} :; then :
10437 ac_cv_lib_soname_Xinerama
=`$LDD conftest$ac_exeext | grep "libXinerama\\.$LIBEXT" | sed -e "s/^.*\(libXinerama\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10441 rm -f core conftest.err conftest.
$ac_objext \
10442 conftest
$ac_exeext conftest.
$ac_ext
10443 LIBS
=$ac_check_soname_save_LIBS
10445 if ${ac_cv_lib_soname_Xinerama:+false} :; then :
10446 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10447 $as_echo "not found" >&6; }
10450 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xinerama" >&5
10451 $as_echo "$ac_cv_lib_soname_Xinerama" >&6; }
10453 cat >>confdefs.h
<<_ACEOF
10454 #define SONAME_LIBXINERAMA "$ac_cv_lib_soname_Xinerama"
10460 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
10462 if test "x$ac_cv_lib_soname_Xinerama" = "x"; then :
10463 case "x$with_xinerama" in
10464 x
) as_fn_append wine_notices
"|libxinerama ${notice_platform}development files not found, multi-monitor setups won't be supported." ;;
10466 *) as_fn_error $?
"libxinerama ${notice_platform}development files not found, multi-monitor setups won't be supported.
10467 This is an error since --with-xinerama was requested." "$LINENO" 5 ;;
10472 if test "$ac_cv_header_X11_extensions_Xcomposite_h" = "yes"
10474 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXcomposite" >&5
10475 $as_echo_n "checking for -lXcomposite... " >&6; }
10476 if ${ac_cv_lib_soname_Xcomposite+:} false
; then :
10477 $as_echo_n "(cached) " >&6
10479 ac_check_soname_save_LIBS
=$LIBS
10480 LIBS
="-lXcomposite $X_LIBS $X_EXTRA_LIBS $LIBS"
10481 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10482 /* end confdefs.h. */
10484 /* Override any GCC internal prototype to avoid an error.
10485 Use char because int might match the return type of a GCC
10486 builtin and then its argument prototype would still apply. */
10490 char XCompositeRedirectWindow ();
10494 return XCompositeRedirectWindow ();
10499 if ac_fn_c_try_link
"$LINENO"; then :
10501 dll
) ac_cv_lib_soname_Xcomposite
=`$ac_cv_path_LDD conftest.exe | grep "Xcomposite" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10502 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'` ;;
10503 *) ac_cv_lib_soname_Xcomposite
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXcomposite\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXcomposite\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10504 if ${ac_cv_lib_soname_Xcomposite:+false} :; then :
10505 ac_cv_lib_soname_Xcomposite
=`$LDD conftest$ac_exeext | grep "libXcomposite\\.$LIBEXT" | sed -e "s/^.*\(libXcomposite\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10509 rm -f core conftest.err conftest.
$ac_objext \
10510 conftest
$ac_exeext conftest.
$ac_ext
10511 LIBS
=$ac_check_soname_save_LIBS
10513 if ${ac_cv_lib_soname_Xcomposite:+false} :; then :
10514 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10515 $as_echo "not found" >&6; }
10518 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xcomposite" >&5
10519 $as_echo "$ac_cv_lib_soname_Xcomposite" >&6; }
10521 cat >>confdefs.h
<<_ACEOF
10522 #define SONAME_LIBXCOMPOSITE "$ac_cv_lib_soname_Xcomposite"
10528 if test "x$ac_cv_lib_soname_Xcomposite" = "x"; then :
10529 case "x$with_xcomposite" in
10530 x
) as_fn_append wine_notices
"|libxcomposite ${notice_platform}development files not found, Xcomposite won't be supported." ;;
10532 *) as_fn_error $?
"libxcomposite ${notice_platform}development files not found, Xcomposite won't be supported.
10533 This is an error since --with-xcomposite was requested." "$LINENO" 5 ;;
10538 ac_fn_c_check_member
"$LINENO" "XICCallback" "callback" "ac_cv_member_XICCallback_callback" "#ifdef HAVE_X11_XLIB_H
10539 #include <X11/Xlib.h>
10542 if test "x$ac_cv_member_XICCallback_callback" = xyes
; then :
10544 cat >>confdefs.h
<<_ACEOF
10545 #define HAVE_XICCALLBACK_CALLBACK 1
10550 ac_fn_c_check_member
"$LINENO" "XEvent" "xcookie" "ac_cv_member_XEvent_xcookie" "#ifdef HAVE_X11_XLIB_H
10551 #include <X11/Xlib.h>
10554 if test "x$ac_cv_member_XEvent_xcookie" = xyes
; then :
10556 cat >>confdefs.h
<<_ACEOF
10557 #define HAVE_XEVENT_XCOOKIE 1
10566 if test "x$with_opengl" != "xno"
10568 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lGL" >&5
10569 $as_echo_n "checking for -lGL... " >&6; }
10570 if ${ac_cv_lib_soname_GL+:} false
; then :
10571 $as_echo_n "(cached) " >&6
10573 ac_check_soname_save_LIBS
=$LIBS
10574 LIBS
="-lGL $X_LIBS -lm $X_EXTRA_LIBS $LIBS"
10575 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10576 /* end confdefs.h. */
10578 /* Override any GCC internal prototype to avoid an error.
10579 Use char because int might match the return type of a GCC
10580 builtin and then its argument prototype would still apply. */
10584 char glXCreateContext ();
10588 return glXCreateContext ();
10593 if ac_fn_c_try_link
"$LINENO"; then :
10595 dll
) ac_cv_lib_soname_GL
=`$ac_cv_path_LDD conftest.exe | grep "GL" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10596 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'` ;;
10597 *) ac_cv_lib_soname_GL
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libGL\\.$LIBEXT" | sed -e "s/^.*\\[\\(libGL\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10598 if ${ac_cv_lib_soname_GL:+false} :; then :
10599 ac_cv_lib_soname_GL
=`$LDD conftest$ac_exeext | grep "libGL\\.$LIBEXT" | sed -e "s/^.*\(libGL\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10603 rm -f core conftest.err conftest.
$ac_objext \
10604 conftest
$ac_exeext conftest.
$ac_ext
10605 LIBS
=$ac_check_soname_save_LIBS
10607 if ${ac_cv_lib_soname_GL:+false} :; then :
10608 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10609 $as_echo "not found" >&6; }
10610 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lGL" >&5
10611 $as_echo_n "checking for -lGL... " >&6; }
10612 if ${ac_cv_lib_soname_GL+:} false
; then :
10613 $as_echo_n "(cached) " >&6
10615 ac_check_soname_save_LIBS
=$LIBS
10616 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"
10617 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10618 /* end confdefs.h. */
10620 /* Override any GCC internal prototype to avoid an error.
10621 Use char because int might match the return type of a GCC
10622 builtin and then its argument prototype would still apply. */
10626 char glXCreateContext ();
10630 return glXCreateContext ();
10635 if ac_fn_c_try_link
"$LINENO"; then :
10637 dll
) ac_cv_lib_soname_GL
=`$ac_cv_path_LDD conftest.exe | grep "GL" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10638 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'` ;;
10639 *) ac_cv_lib_soname_GL
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libGL\\.$LIBEXT" | sed -e "s/^.*\\[\\(libGL\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10640 if ${ac_cv_lib_soname_GL:+false} :; then :
10641 ac_cv_lib_soname_GL
=`$LDD conftest$ac_exeext | grep "libGL\\.$LIBEXT" | sed -e "s/^.*\(libGL\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10645 rm -f core conftest.err conftest.
$ac_objext \
10646 conftest
$ac_exeext conftest.
$ac_ext
10647 LIBS
=$ac_check_soname_save_LIBS
10649 if ${ac_cv_lib_soname_GL:+false} :; then :
10650 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10651 $as_echo "not found" >&6; }
10652 if test -f /usr
/X11R
6/lib
/libGL.a
10654 opengl_msg
="/usr/X11R6/lib/libGL.a is present on your system.
10655 This probably prevents linking to OpenGL. Try deleting the file and restarting configure."
10657 opengl_msg
="No OpenGL library found on this system."
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"
10667 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"
10670 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_GL" >&5
10671 $as_echo "$ac_cv_lib_soname_GL" >&6; }
10673 cat >>confdefs.h
<<_ACEOF
10674 #define SONAME_LIBGL "$ac_cv_lib_soname_GL"
10679 if test "x$with_glu" != "xno"
10681 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gluLookAt in -lGLU" >&5
10682 $as_echo_n "checking for gluLookAt in -lGLU... " >&6; }
10683 if ${ac_cv_lib_GLU_gluLookAt+:} false
; then :
10684 $as_echo_n "(cached) " >&6
10686 ac_check_lib_save_LIBS
=$LIBS
10687 LIBS
="-lGLU $OPENGL_LIBS $X_LIBS -lm $X_EXTRA_LIBS $LIBS"
10688 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10689 /* end confdefs.h. */
10691 /* Override any GCC internal prototype to avoid an error.
10692 Use char because int might match the return type of a GCC
10693 builtin and then its argument prototype would still apply. */
10701 return gluLookAt ();
10706 if ac_fn_c_try_link
"$LINENO"; then :
10707 ac_cv_lib_GLU_gluLookAt
=yes
10709 ac_cv_lib_GLU_gluLookAt
=no
10711 rm -f core conftest.err conftest.
$ac_objext \
10712 conftest
$ac_exeext conftest.
$ac_ext
10713 LIBS
=$ac_check_lib_save_LIBS
10715 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_GLU_gluLookAt" >&5
10716 $as_echo "$ac_cv_lib_GLU_gluLookAt" >&6; }
10717 if test "x$ac_cv_lib_GLU_gluLookAt" = xyes
; then :
10721 if test "x$ac_cv_lib_GLU_gluLookAt" != xyes
; then :
10722 case "x$with_glu" in
10723 x
) as_fn_append wine_notices
"|libGLU ${notice_platform}development files not found, GLU won't be supported." ;;
10725 *) as_fn_error $?
"libGLU ${notice_platform}development files not found, GLU won't be supported.
10726 This is an error since --with-glu was requested." "$LINENO" 5 ;;
10732 if test "x$with_osmesa" != "xno"
10734 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lOSMesa" >&5
10735 $as_echo_n "checking for -lOSMesa... " >&6; }
10736 if ${ac_cv_lib_soname_OSMesa+:} false
; then :
10737 $as_echo_n "(cached) " >&6
10739 ac_check_soname_save_LIBS
=$LIBS
10740 LIBS
="-lOSMesa $X_LIBS -lm $X_EXTRA_LIBS $LIBS"
10741 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10742 /* end confdefs.h. */
10744 /* Override any GCC internal prototype to avoid an error.
10745 Use char because int might match the return type of a GCC
10746 builtin and then its argument prototype would still apply. */
10759 if ac_fn_c_try_link
"$LINENO"; then :
10761 dll
) ac_cv_lib_soname_OSMesa
=`$ac_cv_path_LDD conftest.exe | grep "OSMesa" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10762 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'` ;;
10763 *) ac_cv_lib_soname_OSMesa
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libOSMesa\\.$LIBEXT" | sed -e "s/^.*\\[\\(libOSMesa\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10764 if ${ac_cv_lib_soname_OSMesa:+false} :; then :
10765 ac_cv_lib_soname_OSMesa
=`$LDD conftest$ac_exeext | grep "libOSMesa\\.$LIBEXT" | sed -e "s/^.*\(libOSMesa\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10769 rm -f core conftest.err conftest.
$ac_objext \
10770 conftest
$ac_exeext conftest.
$ac_ext
10771 LIBS
=$ac_check_soname_save_LIBS
10773 if ${ac_cv_lib_soname_OSMesa:+false} :; then :
10774 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10775 $as_echo "not found" >&6; }
10778 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_OSMesa" >&5
10779 $as_echo "$ac_cv_lib_soname_OSMesa" >&6; }
10781 cat >>confdefs.h
<<_ACEOF
10782 #define SONAME_LIBOSMESA "$ac_cv_lib_soname_OSMesa"
10787 if test "x$ac_cv_lib_soname_OSMesa" = "x"; then :
10788 case "x$with_osmesa" in
10789 x
) as_fn_append wine_notices
"|libOSMesa ${notice_platform}development files not found (or too old), OpenGL rendering in bitmaps won't be supported." ;;
10791 *) as_fn_error $?
"libOSMesa ${notice_platform}development files not found (or too old), OpenGL rendering in bitmaps won't be supported.
10792 This is an error since --with-osmesa was requested." "$LINENO" 5 ;;
10798 if test -n "$opengl_msg"; then :
10799 case "x$with_opengl" in
10800 x
) as_fn_append wine_warnings
"|$opengl_msg
10801 OpenGL and Direct3D won't be supported." ;;
10803 *) as_fn_error $?
"$opengl_msg
10804 OpenGL and Direct3D won't be supported.
10805 This is an error since --with-opengl was requested." "$LINENO" 5 ;;
10810 CPPFLAGS
="$ac_save_CPPFLAGS"
10815 if test "x$X_LIBS" = "x"; then :
10818 *) as_fn_error $?
"X ${notice_platform}development files not found. Wine will be built
10819 without X support, which probably isn't what you want. You will need
10820 to install ${notice_platform}development packages of Xlib/Xfree86 at the very least.
10821 Use the --without-x option if you really want this." "$LINENO" 5 ;;
10823 enable_winex11_drv
=${enable_winex11_drv:-no}
10826 test "x$ac_cv_lib_GLU_gluLookAt" != xyes
&& enable_glu32
=${enable_glu32:-no}
10828 if test "$ac_cv_header_CL_cl_h" = "yes"
10830 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for clGetPlatformInfo in -lOpenCL" >&5
10831 $as_echo_n "checking for clGetPlatformInfo in -lOpenCL... " >&6; }
10832 if ${ac_cv_lib_OpenCL_clGetPlatformInfo+:} false
; then :
10833 $as_echo_n "(cached) " >&6
10835 ac_check_lib_save_LIBS
=$LIBS
10836 LIBS
="-lOpenCL $LIBS"
10837 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10838 /* end confdefs.h. */
10840 /* Override any GCC internal prototype to avoid an error.
10841 Use char because int might match the return type of a GCC
10842 builtin and then its argument prototype would still apply. */
10846 char clGetPlatformInfo ();
10850 return clGetPlatformInfo ();
10855 if ac_fn_c_try_link
"$LINENO"; then :
10856 ac_cv_lib_OpenCL_clGetPlatformInfo
=yes
10858 ac_cv_lib_OpenCL_clGetPlatformInfo
=no
10860 rm -f core conftest.err conftest.
$ac_objext \
10861 conftest
$ac_exeext conftest.
$ac_ext
10862 LIBS
=$ac_check_lib_save_LIBS
10864 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_OpenCL_clGetPlatformInfo" >&5
10865 $as_echo "$ac_cv_lib_OpenCL_clGetPlatformInfo" >&6; }
10866 if test "x$ac_cv_lib_OpenCL_clGetPlatformInfo" = xyes
; then :
10867 OPENCL_LIBS
="-lOpenCL"
10872 if test "x$ac_cv_lib_OpenCL_clGetPlatformInfo" != xyes
; then :
10873 case "x$with_opencl" in
10874 x
) as_fn_append wine_notices
"|OpenCL ${notice_platform}development files not found, OpenCL won't be supported." ;;
10876 *) as_fn_error $?
"OpenCL ${notice_platform}development files not found, OpenCL won't be supported.
10877 This is an error since --with-opencl was requested." "$LINENO" 5 ;;
10879 enable_opencl
=${enable_opencl:-no}
10882 if test "$ac_cv_header_pcap_pcap_h" = "yes"
10884 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pcap_create in -lpcap" >&5
10885 $as_echo_n "checking for pcap_create in -lpcap... " >&6; }
10886 if ${ac_cv_lib_pcap_pcap_create+:} false
; then :
10887 $as_echo_n "(cached) " >&6
10889 ac_check_lib_save_LIBS
=$LIBS
10890 LIBS
="-lpcap $LIBS"
10891 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10892 /* end confdefs.h. */
10894 /* Override any GCC internal prototype to avoid an error.
10895 Use char because int might match the return type of a GCC
10896 builtin and then its argument prototype would still apply. */
10900 char pcap_create ();
10904 return pcap_create ();
10909 if ac_fn_c_try_link
"$LINENO"; then :
10910 ac_cv_lib_pcap_pcap_create
=yes
10912 ac_cv_lib_pcap_pcap_create
=no
10914 rm -f core conftest.err conftest.
$ac_objext \
10915 conftest
$ac_exeext conftest.
$ac_ext
10916 LIBS
=$ac_check_lib_save_LIBS
10918 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_pcap_pcap_create" >&5
10919 $as_echo "$ac_cv_lib_pcap_pcap_create" >&6; }
10920 if test "x$ac_cv_lib_pcap_pcap_create" = xyes
; then :
10926 if test "x$ac_cv_lib_pcap_pcap_create" != xyes
; then :
10927 case "x$with_pcap" in
10928 x
) as_fn_append wine_notices
"|pcap ${notice_platform}development files not found, wpcap won't be supported." ;;
10930 *) as_fn_error $?
"pcap ${notice_platform}development files not found, wpcap won't be supported.
10931 This is an error since --with-pcap was requested." "$LINENO" 5 ;;
10933 enable_wpcap
=${enable_wpcap:-no}
10937 if test "x$with_xml" != "xno"
10939 if ${XML2_CFLAGS:+false} :; then :
10940 if ${PKG_CONFIG+:} false
; then :
10941 XML2_CFLAGS
=`$PKG_CONFIG --cflags libxml-2.0 2>/dev/null`
10944 test "$cross_compiling" = yes || XML2_CFLAGS
=${XML2_CFLAGS:-`${XML2_CONFIG:-xml2-config} --cflags 2>/dev/null`}
10945 if ${XML2_LIBS:+false} :; then :
10946 if ${PKG_CONFIG+:} false
; then :
10947 XML2_LIBS
=`$PKG_CONFIG --libs libxml-2.0 2>/dev/null`
10950 test "$cross_compiling" = yes || XML2_LIBS
=${XML2_LIBS:-`${XML2_CONFIG:-xml2-config} --libs 2>/dev/null`}
10951 XML2_LIBS
=${XML2_LIBS:-"-lxml2"}
10952 $as_echo "$as_me:${as_lineno-$LINENO}: libxml-2.0 cflags: $XML2_CFLAGS" >&5
10953 $as_echo "$as_me:${as_lineno-$LINENO}: libxml-2.0 libs: $XML2_LIBS" >&5
10954 ac_save_CPPFLAGS
=$CPPFLAGS
10955 CPPFLAGS
="$CPPFLAGS $XML2_CFLAGS"
10956 for ac_header
in libxml
/parser.h libxml
/xmlsave.h libxml
/SAX2.h
10958 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
10959 ac_fn_c_check_header_mongrel
"$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
10960 if eval test \"x\$
"$as_ac_Header"\" = x
"yes"; then :
10961 cat >>confdefs.h
<<_ACEOF
10962 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
10969 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"
10971 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlParseMemory in -lxml2" >&5
10972 $as_echo_n "checking for xmlParseMemory in -lxml2... " >&6; }
10973 if ${ac_cv_lib_xml2_xmlParseMemory+:} false
; then :
10974 $as_echo_n "(cached) " >&6
10976 ac_check_lib_save_LIBS
=$LIBS
10977 LIBS
="-lxml2 $XML2_LIBS $LIBS"
10978 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10979 /* end confdefs.h. */
10981 /* Override any GCC internal prototype to avoid an error.
10982 Use char because int might match the return type of a GCC
10983 builtin and then its argument prototype would still apply. */
10987 char xmlParseMemory ();
10991 return xmlParseMemory ();
10996 if ac_fn_c_try_link
"$LINENO"; then :
10997 ac_cv_lib_xml2_xmlParseMemory
=yes
10999 ac_cv_lib_xml2_xmlParseMemory
=no
11001 rm -f core conftest.err conftest.
$ac_objext \
11002 conftest
$ac_exeext conftest.
$ac_ext
11003 LIBS
=$ac_check_lib_save_LIBS
11005 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlParseMemory" >&5
11006 $as_echo "$ac_cv_lib_xml2_xmlParseMemory" >&6; }
11007 if test "x$ac_cv_lib_xml2_xmlParseMemory" = xyes
; then :
11009 $as_echo "#define HAVE_LIBXML2 1" >>confdefs.h
11015 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlReadMemory in -lxml2" >&5
11016 $as_echo_n "checking for xmlReadMemory in -lxml2... " >&6; }
11017 if ${ac_cv_lib_xml2_xmlReadMemory+:} false
; then :
11018 $as_echo_n "(cached) " >&6
11020 ac_check_lib_save_LIBS
=$LIBS
11021 LIBS
="-lxml2 $XML2_LIBS $LIBS"
11022 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11023 /* end confdefs.h. */
11025 /* Override any GCC internal prototype to avoid an error.
11026 Use char because int might match the return type of a GCC
11027 builtin and then its argument prototype would still apply. */
11031 char xmlReadMemory ();
11035 return xmlReadMemory ();
11040 if ac_fn_c_try_link
"$LINENO"; then :
11041 ac_cv_lib_xml2_xmlReadMemory
=yes
11043 ac_cv_lib_xml2_xmlReadMemory
=no
11045 rm -f core conftest.err conftest.
$ac_objext \
11046 conftest
$ac_exeext conftest.
$ac_ext
11047 LIBS
=$ac_check_lib_save_LIBS
11049 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlReadMemory" >&5
11050 $as_echo "$ac_cv_lib_xml2_xmlReadMemory" >&6; }
11051 if test "x$ac_cv_lib_xml2_xmlReadMemory" = xyes
; then :
11053 $as_echo "#define HAVE_XMLREADMEMORY 1" >>confdefs.h
11057 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlNewDocPI in -lxml2" >&5
11058 $as_echo_n "checking for xmlNewDocPI in -lxml2... " >&6; }
11059 if ${ac_cv_lib_xml2_xmlNewDocPI+:} false
; then :
11060 $as_echo_n "(cached) " >&6
11062 ac_check_lib_save_LIBS
=$LIBS
11063 LIBS
="-lxml2 $XML2_LIBS $LIBS"
11064 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11065 /* end confdefs.h. */
11067 /* Override any GCC internal prototype to avoid an error.
11068 Use char because int might match the return type of a GCC
11069 builtin and then its argument prototype would still apply. */
11073 char xmlNewDocPI ();
11077 return xmlNewDocPI ();
11082 if ac_fn_c_try_link
"$LINENO"; then :
11083 ac_cv_lib_xml2_xmlNewDocPI
=yes
11085 ac_cv_lib_xml2_xmlNewDocPI
=no
11087 rm -f core conftest.err conftest.
$ac_objext \
11088 conftest
$ac_exeext conftest.
$ac_ext
11089 LIBS
=$ac_check_lib_save_LIBS
11091 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlNewDocPI" >&5
11092 $as_echo "$ac_cv_lib_xml2_xmlNewDocPI" >&6; }
11093 if test "x$ac_cv_lib_xml2_xmlNewDocPI" = xyes
; then :
11095 $as_echo "#define HAVE_XMLNEWDOCPI 1" >>confdefs.h
11099 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlSchemaSetParserStructuredErrors in -lxml2" >&5
11100 $as_echo_n "checking for xmlSchemaSetParserStructuredErrors in -lxml2... " >&6; }
11101 if ${ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors+:} false
; then :
11102 $as_echo_n "(cached) " >&6
11104 ac_check_lib_save_LIBS
=$LIBS
11105 LIBS
="-lxml2 $XML2_LIBS $LIBS"
11106 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11107 /* end confdefs.h. */
11109 /* Override any GCC internal prototype to avoid an error.
11110 Use char because int might match the return type of a GCC
11111 builtin and then its argument prototype would still apply. */
11115 char xmlSchemaSetParserStructuredErrors ();
11119 return xmlSchemaSetParserStructuredErrors ();
11124 if ac_fn_c_try_link
"$LINENO"; then :
11125 ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors
=yes
11127 ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors
=no
11129 rm -f core conftest.err conftest.
$ac_objext \
11130 conftest
$ac_exeext conftest.
$ac_ext
11131 LIBS
=$ac_check_lib_save_LIBS
11133 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors" >&5
11134 $as_echo "$ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors" >&6; }
11135 if test "x$ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors" = xyes
; then :
11137 $as_echo "#define HAVE_XMLSCHEMASSETPARSERSTRUCTUREDERRORS 1" >>confdefs.h
11141 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlSchemaSetValidStructuredErrors in -lxml2" >&5
11142 $as_echo_n "checking for xmlSchemaSetValidStructuredErrors in -lxml2... " >&6; }
11143 if ${ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors+:} false
; then :
11144 $as_echo_n "(cached) " >&6
11146 ac_check_lib_save_LIBS
=$LIBS
11147 LIBS
="-lxml2 $XML2_LIBS $LIBS"
11148 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11149 /* end confdefs.h. */
11151 /* Override any GCC internal prototype to avoid an error.
11152 Use char because int might match the return type of a GCC
11153 builtin and then its argument prototype would still apply. */
11157 char xmlSchemaSetValidStructuredErrors ();
11161 return xmlSchemaSetValidStructuredErrors ();
11166 if ac_fn_c_try_link
"$LINENO"; then :
11167 ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors
=yes
11169 ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors
=no
11171 rm -f core conftest.err conftest.
$ac_objext \
11172 conftest
$ac_exeext conftest.
$ac_ext
11173 LIBS
=$ac_check_lib_save_LIBS
11175 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors" >&5
11176 $as_echo "$ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors" >&6; }
11177 if test "x$ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors" = xyes
; then :
11179 $as_echo "#define HAVE_XMLSCHEMASSETVALIDSTRUCTUREDERRORS 1" >>confdefs.h
11183 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlFirstElementChild in -lxml2" >&5
11184 $as_echo_n "checking for xmlFirstElementChild in -lxml2... " >&6; }
11185 if ${ac_cv_lib_xml2_xmlFirstElementChild+:} false
; then :
11186 $as_echo_n "(cached) " >&6
11188 ac_check_lib_save_LIBS
=$LIBS
11189 LIBS
="-lxml2 $XML2_LIBS $LIBS"
11190 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11191 /* end confdefs.h. */
11193 /* Override any GCC internal prototype to avoid an error.
11194 Use char because int might match the return type of a GCC
11195 builtin and then its argument prototype would still apply. */
11199 char xmlFirstElementChild ();
11203 return xmlFirstElementChild ();
11208 if ac_fn_c_try_link
"$LINENO"; then :
11209 ac_cv_lib_xml2_xmlFirstElementChild
=yes
11211 ac_cv_lib_xml2_xmlFirstElementChild
=no
11213 rm -f core conftest.err conftest.
$ac_objext \
11214 conftest
$ac_exeext conftest.
$ac_ext
11215 LIBS
=$ac_check_lib_save_LIBS
11217 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlFirstElementChild" >&5
11218 $as_echo "$ac_cv_lib_xml2_xmlFirstElementChild" >&6; }
11219 if test "x$ac_cv_lib_xml2_xmlFirstElementChild" = xyes
; then :
11221 $as_echo "#define HAVE_XMLFIRSTELEMENTCHILD 1" >>confdefs.h
11225 ac_fn_c_check_type
"$LINENO" "xmlDocProperties" "ac_cv_type_xmlDocProperties" "#include <libxml/tree.h>
11227 if test "x$ac_cv_type_xmlDocProperties" = xyes
; then :
11229 $as_echo "#define HAVE_XMLDOC_PROPERTIES 1" >>confdefs.h
11237 CPPFLAGS
=$ac_save_CPPFLAGS
11238 test -z "$XML2_CFLAGS" || XML2_CFLAGS
=`echo " $XML2_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
11239 test -z "$XML2_LIBS" || XML2_LIBS
=`echo " $XML2_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
11242 if test "$ac_cv_lib_xml2_xmlParseMemory" != "yes"; then :
11243 case "x$with_xml" in
11244 x
) as_fn_append wine_warnings
"|libxml2 ${notice_platform}development files not found (or too old), XML won't be supported." ;;
11246 *) as_fn_error $?
"libxml2 ${notice_platform}development files not found (or too old), XML won't be supported.
11247 This is an error since --with-xml was requested." "$LINENO" 5 ;;
11252 if test "x$with_xslt" != "xno"
11254 if ${XSLT_CFLAGS:+false} :; then :
11255 if ${PKG_CONFIG+:} false
; then :
11256 XSLT_CFLAGS
=`$PKG_CONFIG --cflags libxslt 2>/dev/null`
11259 test "$cross_compiling" = yes || XSLT_CFLAGS
=${XSLT_CFLAGS:-`${XSLT_CONFIG:-xslt-config} --cflags 2>/dev/null`}
11260 if ${XSLT_LIBS:+false} :; then :
11261 if ${PKG_CONFIG+:} false
; then :
11262 XSLT_LIBS
=`$PKG_CONFIG --libs libxslt 2>/dev/null`
11265 test "$cross_compiling" = yes || XSLT_LIBS
=${XSLT_LIBS:-`${XSLT_CONFIG:-xslt-config} --libs 2>/dev/null`}
11266 XSLT_LIBS
=${XSLT_LIBS:-"-lxml2"}
11267 $as_echo "$as_me:${as_lineno-$LINENO}: libxslt cflags: $XSLT_CFLAGS" >&5
11268 $as_echo "$as_me:${as_lineno-$LINENO}: libxslt libs: $XSLT_LIBS" >&5
11269 ac_save_CPPFLAGS
=$CPPFLAGS
11270 CPPFLAGS
="$CPPFLAGS $XSLT_CFLAGS"
11271 for ac_header
in libxslt
/pattern.h libxslt
/transform.h
11273 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
11274 ac_fn_c_check_header_compile
"$LINENO" "$ac_header" "$as_ac_Header" "#ifdef HAVE_LIBXSLT_PATTERN_H
11275 # include <libxslt/pattern.h>
11278 if eval test \"x\$
"$as_ac_Header"\" = x
"yes"; then :
11279 cat >>confdefs.h
<<_ACEOF
11280 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
11287 if test "$ac_cv_header_libxslt_transform_h" = "yes"
11289 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lxslt" >&5
11290 $as_echo_n "checking for -lxslt... " >&6; }
11291 if ${ac_cv_lib_soname_xslt+:} false
; then :
11292 $as_echo_n "(cached) " >&6
11294 ac_check_soname_save_LIBS
=$LIBS
11295 LIBS
="-lxslt $XSLT_LIBS $LIBS"
11296 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11297 /* end confdefs.h. */
11299 /* Override any GCC internal prototype to avoid an error.
11300 Use char because int might match the return type of a GCC
11301 builtin and then its argument prototype would still apply. */
11305 char xsltCompilePattern ();
11309 return xsltCompilePattern ();
11314 if ac_fn_c_try_link
"$LINENO"; then :
11316 dll
) ac_cv_lib_soname_xslt
=`$ac_cv_path_LDD conftest.exe | grep "xslt" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11317 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'` ;;
11318 *) ac_cv_lib_soname_xslt
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libxslt\\.$LIBEXT" | sed -e "s/^.*\\[\\(libxslt\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
11319 if ${ac_cv_lib_soname_xslt:+false} :; then :
11320 ac_cv_lib_soname_xslt
=`$LDD conftest$ac_exeext | grep "libxslt\\.$LIBEXT" | sed -e "s/^.*\(libxslt\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11324 rm -f core conftest.err conftest.
$ac_objext \
11325 conftest
$ac_exeext conftest.
$ac_ext
11326 LIBS
=$ac_check_soname_save_LIBS
11328 if ${ac_cv_lib_soname_xslt:+false} :; then :
11329 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11330 $as_echo "not found" >&6; }
11333 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_xslt" >&5
11334 $as_echo "$ac_cv_lib_soname_xslt" >&6; }
11336 cat >>confdefs.h
<<_ACEOF
11337 #define SONAME_LIBXSLT "$ac_cv_lib_soname_xslt"
11345 CPPFLAGS
=$ac_save_CPPFLAGS
11346 test -z "$XSLT_CFLAGS" || XSLT_CFLAGS
=`echo " $XSLT_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
11347 test -z "$XSLT_LIBS" || XSLT_LIBS
=`echo " $XSLT_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
11350 if test "x$ac_cv_lib_soname_xslt" = "x"; then :
11351 case "x$with_xslt" in
11352 x
) as_fn_append wine_warnings
"|libxslt ${notice_platform}development files not found, xslt won't be supported." ;;
11354 *) as_fn_error $?
"libxslt ${notice_platform}development files not found, xslt won't be supported.
11355 This is an error since --with-xslt was requested." "$LINENO" 5 ;;
11360 if test "x$with_dbus" != "xno"
11362 if ${DBUS_CFLAGS:+false} :; then :
11363 if ${PKG_CONFIG+:} false
; then :
11364 DBUS_CFLAGS
=`$PKG_CONFIG --cflags dbus-1 2>/dev/null`
11368 if ${DBUS_LIBS:+false} :; then :
11369 if ${PKG_CONFIG+:} false
; then :
11370 DBUS_LIBS
=`$PKG_CONFIG --libs dbus-1 2>/dev/null`
11375 $as_echo "$as_me:${as_lineno-$LINENO}: dbus-1 cflags: $DBUS_CFLAGS" >&5
11376 $as_echo "$as_me:${as_lineno-$LINENO}: dbus-1 libs: $DBUS_LIBS" >&5
11377 ac_save_CPPFLAGS
=$CPPFLAGS
11378 CPPFLAGS
="$CPPFLAGS $DBUS_CFLAGS"
11379 ac_fn_c_check_header_mongrel
"$LINENO" "dbus/dbus.h" "ac_cv_header_dbus_dbus_h" "$ac_includes_default"
11380 if test "x$ac_cv_header_dbus_dbus_h" = xyes
; then :
11381 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -ldbus-1" >&5
11382 $as_echo_n "checking for -ldbus-1... " >&6; }
11383 if ${ac_cv_lib_soname_dbus_1+:} false
; then :
11384 $as_echo_n "(cached) " >&6
11386 ac_check_soname_save_LIBS
=$LIBS
11387 LIBS
="-ldbus-1 $DBUS_LIBS $LIBS"
11388 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11389 /* end confdefs.h. */
11391 /* Override any GCC internal prototype to avoid an error.
11392 Use char because int might match the return type of a GCC
11393 builtin and then its argument prototype would still apply. */
11397 char dbus_connection_close ();
11401 return dbus_connection_close ();
11406 if ac_fn_c_try_link
"$LINENO"; then :
11408 dll
) ac_cv_lib_soname_dbus_1
=`$ac_cv_path_LDD conftest.exe | grep "dbus-1" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11409 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'` ;;
11410 *) 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'`
11411 if ${ac_cv_lib_soname_dbus_1:+false} :; then :
11412 ac_cv_lib_soname_dbus_1
=`$LDD conftest$ac_exeext | grep "libdbus-1\\.$LIBEXT" | sed -e "s/^.*\(libdbus-1\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11416 rm -f core conftest.err conftest.
$ac_objext \
11417 conftest
$ac_exeext conftest.
$ac_ext
11418 LIBS
=$ac_check_soname_save_LIBS
11420 if ${ac_cv_lib_soname_dbus_1:+false} :; then :
11421 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11422 $as_echo "not found" >&6; }
11425 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_dbus_1" >&5
11426 $as_echo "$ac_cv_lib_soname_dbus_1" >&6; }
11428 cat >>confdefs.h
<<_ACEOF
11429 #define SONAME_LIBDBUS_1 "$ac_cv_lib_soname_dbus_1"
11439 CPPFLAGS
=$ac_save_CPPFLAGS
11440 test -z "$DBUS_CFLAGS" || DBUS_CFLAGS
=`echo " $DBUS_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
11441 test -z "$DBUS_LIBS" || DBUS_LIBS
=`echo " $DBUS_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
11444 if test "x$ac_cv_lib_soname_dbus_1" = "x" -a \
11445 "x$ac_cv_header_DiskArbitration_DiskArbitration_h" != "xyes"; then :
11446 case "x$with_dbus" in
11447 x
) as_fn_append wine_notices
"|libdbus ${notice_platform}development files not found, no dynamic device support." ;;
11449 *) as_fn_error $?
"libdbus ${notice_platform}development files not found, no dynamic device support.
11450 This is an error since --with-dbus was requested." "$LINENO" 5 ;;
11455 if test "x$with_hal" != "xno" -a "x$ac_cv_lib_soname_dbus_1" != x
11457 if ${HAL_CFLAGS:+false} :; then :
11458 if ${PKG_CONFIG+:} false
; then :
11459 HAL_CFLAGS
=`$PKG_CONFIG --cflags hal 2>/dev/null`
11463 if ${HAL_LIBS:+false} :; then :
11464 if ${PKG_CONFIG+:} false
; then :
11465 HAL_LIBS
=`$PKG_CONFIG --libs hal 2>/dev/null`
11469 HAL_LIBS
=${HAL_LIBS:-"-ldbus-1"}
11470 $as_echo "$as_me:${as_lineno-$LINENO}: hal cflags: $HAL_CFLAGS" >&5
11471 $as_echo "$as_me:${as_lineno-$LINENO}: hal libs: $HAL_LIBS" >&5
11472 ac_save_CPPFLAGS
=$CPPFLAGS
11473 CPPFLAGS
="$CPPFLAGS $HAL_CFLAGS"
11474 ac_fn_c_check_header_mongrel
"$LINENO" "hal/libhal.h" "ac_cv_header_hal_libhal_h" "$ac_includes_default"
11475 if test "x$ac_cv_header_hal_libhal_h" = xyes
; then :
11476 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lhal" >&5
11477 $as_echo_n "checking for -lhal... " >&6; }
11478 if ${ac_cv_lib_soname_hal+:} false
; then :
11479 $as_echo_n "(cached) " >&6
11481 ac_check_soname_save_LIBS
=$LIBS
11482 LIBS
="-lhal $HAL_LIBS $LIBS"
11483 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11484 /* end confdefs.h. */
11486 /* Override any GCC internal prototype to avoid an error.
11487 Use char because int might match the return type of a GCC
11488 builtin and then its argument prototype would still apply. */
11492 char libhal_ctx_new ();
11496 return libhal_ctx_new ();
11501 if ac_fn_c_try_link
"$LINENO"; then :
11503 dll
) ac_cv_lib_soname_hal
=`$ac_cv_path_LDD conftest.exe | grep "hal" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11504 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'` ;;
11505 *) ac_cv_lib_soname_hal
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libhal\\.$LIBEXT" | sed -e "s/^.*\\[\\(libhal\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
11506 if ${ac_cv_lib_soname_hal:+false} :; then :
11507 ac_cv_lib_soname_hal
=`$LDD conftest$ac_exeext | grep "libhal\\.$LIBEXT" | sed -e "s/^.*\(libhal\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11511 rm -f core conftest.err conftest.
$ac_objext \
11512 conftest
$ac_exeext conftest.
$ac_ext
11513 LIBS
=$ac_check_soname_save_LIBS
11515 if ${ac_cv_lib_soname_hal:+false} :; then :
11516 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11517 $as_echo "not found" >&6; }
11520 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_hal" >&5
11521 $as_echo "$ac_cv_lib_soname_hal" >&6; }
11523 cat >>confdefs.h
<<_ACEOF
11524 #define SONAME_LIBHAL "$ac_cv_lib_soname_hal"
11534 CPPFLAGS
=$ac_save_CPPFLAGS
11535 test -z "$HAL_CFLAGS" || HAL_CFLAGS
=`echo " $HAL_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
11536 test -z "$HAL_LIBS" || HAL_LIBS
=`echo " $HAL_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
11538 if test "x$ac_cv_lib_soname_hal" = "x" -a \
11539 "x$ac_cv_header_DiskArbitration_DiskArbitration_h" != "xyes"; then :
11540 case "x$with_hal" in
11541 x
) as_fn_append wine_notices
"|libhal ${notice_platform}development files not found, no legacy dynamic device support." ;;
11543 *) as_fn_error $?
"libhal ${notice_platform}development files not found, no legacy dynamic device support.
11544 This is an error since --with-hal was requested." "$LINENO" 5 ;;
11550 if test "x$with_gnutls" != "xno"
11552 if ${GNUTLS_CFLAGS:+false} :; then :
11553 if ${PKG_CONFIG+:} false
; then :
11554 GNUTLS_CFLAGS
=`$PKG_CONFIG --cflags gnutls 2>/dev/null`
11558 if ${GNUTLS_LIBS:+false} :; then :
11559 if ${PKG_CONFIG+:} false
; then :
11560 GNUTLS_LIBS
=`$PKG_CONFIG --libs gnutls 2>/dev/null`
11565 $as_echo "$as_me:${as_lineno-$LINENO}: gnutls cflags: $GNUTLS_CFLAGS" >&5
11566 $as_echo "$as_me:${as_lineno-$LINENO}: gnutls libs: $GNUTLS_LIBS" >&5
11567 ac_save_CPPFLAGS
=$CPPFLAGS
11568 CPPFLAGS
="$CPPFLAGS $GNUTLS_CFLAGS"
11569 ac_fn_c_check_header_mongrel
"$LINENO" "gnutls/gnutls.h" "ac_cv_header_gnutls_gnutls_h" "$ac_includes_default"
11570 if test "x$ac_cv_header_gnutls_gnutls_h" = xyes
; then :
11571 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11572 /* end confdefs.h. */
11573 #include <gnutls/gnutls.h>
11574 #include <gnutls/crypto.h>
11578 static typeof(gnutls_mac_get_key_size) *func; if (func) return 0;
11583 if ac_fn_c_try_compile
"$LINENO"; then :
11584 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lgnutls" >&5
11585 $as_echo_n "checking for -lgnutls... " >&6; }
11586 if ${ac_cv_lib_soname_gnutls+:} false
; then :
11587 $as_echo_n "(cached) " >&6
11589 ac_check_soname_save_LIBS
=$LIBS
11590 LIBS
="-lgnutls $GNUTLS_LIBS $LIBS"
11591 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11592 /* end confdefs.h. */
11594 /* Override any GCC internal prototype to avoid an error.
11595 Use char because int might match the return type of a GCC
11596 builtin and then its argument prototype would still apply. */
11600 char gnutls_global_init ();
11604 return gnutls_global_init ();
11609 if ac_fn_c_try_link
"$LINENO"; then :
11611 dll
) ac_cv_lib_soname_gnutls
=`$ac_cv_path_LDD conftest.exe | grep "gnutls" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11612 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'` ;;
11613 *) 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'`
11614 if ${ac_cv_lib_soname_gnutls:+false} :; then :
11615 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'`
11619 rm -f core conftest.err conftest.
$ac_objext \
11620 conftest
$ac_exeext conftest.
$ac_ext
11621 LIBS
=$ac_check_soname_save_LIBS
11623 if ${ac_cv_lib_soname_gnutls:+false} :; then :
11624 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11625 $as_echo "not found" >&6; }
11628 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_gnutls" >&5
11629 $as_echo "$ac_cv_lib_soname_gnutls" >&6; }
11631 cat >>confdefs.h
<<_ACEOF
11632 #define SONAME_LIBGNUTLS "$ac_cv_lib_soname_gnutls"
11637 ac_wine_check_funcs_save_LIBS
="$LIBS"
11638 LIBS
="$LIBS $GNUTLS_LIBS"
11639 for ac_func
in gnutls_hash
11641 ac_fn_c_check_func
"$LINENO" "gnutls_hash" "ac_cv_func_gnutls_hash"
11642 if test "x$ac_cv_func_gnutls_hash" = xyes
; then :
11643 cat >>confdefs.h
<<_ACEOF
11644 #define HAVE_GNUTLS_HASH 1
11648 as_fn_append wine_notices
"|libgnutls ${notice_platform}development files too old, no bcrypt hash support."
11652 LIBS
="$ac_wine_check_funcs_save_LIBS"
11654 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
11660 CPPFLAGS
=$ac_save_CPPFLAGS
11661 test -z "$GNUTLS_CFLAGS" || GNUTLS_CFLAGS
=`echo " $GNUTLS_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
11662 test -z "$GNUTLS_LIBS" || GNUTLS_LIBS
=`echo " $GNUTLS_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
11665 if test "x$ac_cv_lib_soname_gnutls" = "x"; then :
11666 case "x$with_gnutls" in
11667 x
) as_fn_append wine_warnings
"|libgnutls ${notice_platform}development files not found, no schannel support." ;;
11669 *) as_fn_error $?
"libgnutls ${notice_platform}development files not found, no schannel support.
11670 This is an error since --with-gnutls was requested." "$LINENO" 5 ;;
11676 if test "$ac_cv_header_ncurses_h" = "yes"
11678 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lncurses" >&5
11679 $as_echo_n "checking for -lncurses... " >&6; }
11680 if ${ac_cv_lib_soname_ncurses+:} false
; then :
11681 $as_echo_n "(cached) " >&6
11683 ac_check_soname_save_LIBS
=$LIBS
11684 LIBS
="-lncurses $LIBS"
11685 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11686 /* end confdefs.h. */
11688 /* Override any GCC internal prototype to avoid an error.
11689 Use char because int might match the return type of a GCC
11690 builtin and then its argument prototype would still apply. */
11703 if ac_fn_c_try_link
"$LINENO"; then :
11705 dll
) ac_cv_lib_soname_ncurses
=`$ac_cv_path_LDD conftest.exe | grep "ncurses" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11706 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'` ;;
11707 *) 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'`
11708 if ${ac_cv_lib_soname_ncurses:+false} :; then :
11709 ac_cv_lib_soname_ncurses
=`$LDD conftest$ac_exeext | grep "libncursesw\\{0,1\\}\\.$LIBEXT" | sed -e "s/^.*\(libncursesw\\{0,1\\}\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11713 rm -f core conftest.err conftest.
$ac_objext \
11714 conftest
$ac_exeext conftest.
$ac_ext
11715 LIBS
=$ac_check_soname_save_LIBS
11717 if ${ac_cv_lib_soname_ncurses:+false} :; then :
11718 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11719 $as_echo "not found" >&6; }
11722 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_ncurses" >&5
11723 $as_echo "$ac_cv_lib_soname_ncurses" >&6; }
11725 cat >>confdefs.h
<<_ACEOF
11726 #define SONAME_LIBNCURSES "$ac_cv_lib_soname_ncurses"
11729 CURSES_LIBS
="-lncurses"
11731 elif test "$ac_cv_header_curses_h" = "yes"
11733 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lcurses" >&5
11734 $as_echo_n "checking for -lcurses... " >&6; }
11735 if ${ac_cv_lib_soname_curses+:} false
; then :
11736 $as_echo_n "(cached) " >&6
11738 ac_check_soname_save_LIBS
=$LIBS
11739 LIBS
="-lcurses $LIBS"
11740 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11741 /* end confdefs.h. */
11743 /* Override any GCC internal prototype to avoid an error.
11744 Use char because int might match the return type of a GCC
11745 builtin and then its argument prototype would still apply. */
11758 if ac_fn_c_try_link
"$LINENO"; then :
11760 dll
) ac_cv_lib_soname_curses
=`$ac_cv_path_LDD conftest.exe | grep "curses" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11761 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'` ;;
11762 *) ac_cv_lib_soname_curses
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libcurses\\.$LIBEXT" | sed -e "s/^.*\\[\\(libcurses\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
11763 if ${ac_cv_lib_soname_curses:+false} :; then :
11764 ac_cv_lib_soname_curses
=`$LDD conftest$ac_exeext | grep "libcurses\\.$LIBEXT" | sed -e "s/^.*\(libcurses\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11768 rm -f core conftest.err conftest.
$ac_objext \
11769 conftest
$ac_exeext conftest.
$ac_ext
11770 LIBS
=$ac_check_soname_save_LIBS
11772 if ${ac_cv_lib_soname_curses:+false} :; then :
11773 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11774 $as_echo "not found" >&6; }
11777 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_curses" >&5
11778 $as_echo "$ac_cv_lib_soname_curses" >&6; }
11780 cat >>confdefs.h
<<_ACEOF
11781 #define SONAME_LIBCURSES "$ac_cv_lib_soname_curses"
11784 CURSES_LIBS
="-lcurses"
11787 ac_save_LIBS
="$LIBS"
11788 LIBS
="$LIBS $CURSES_LIBS"
11789 for ac_func
in mousemask
11791 ac_fn_c_check_func
"$LINENO" "mousemask" "ac_cv_func_mousemask"
11792 if test "x$ac_cv_func_mousemask" = xyes
; then :
11793 cat >>confdefs.h
<<_ACEOF
11794 #define HAVE_MOUSEMASK 1
11800 LIBS
="$ac_save_LIBS"
11801 if test "x$ac_cv_lib_soname_curses$ac_cv_lib_soname_ncurses" = "x"; then :
11802 case "x$with_curses" in
11803 x
) as_fn_append wine_notices
"|lib(n)curses ${notice_platform}development files not found, curses won't be supported." ;;
11805 *) as_fn_error $?
"lib(n)curses ${notice_platform}development files not found, curses won't be supported.
11806 This is an error since --with-curses was requested." "$LINENO" 5 ;;
11811 if test "x$with_sane" != "xno"
11813 if ${SANE_CFLAGS:+false} :; then :
11814 if ${PKG_CONFIG+:} false
; then :
11815 SANE_CFLAGS
=`$PKG_CONFIG --cflags libsane 2>/dev/null`
11818 test "$cross_compiling" = yes || SANE_CFLAGS
=${SANE_CFLAGS:-`${SANE_CONFIG:-sane-config} --cflags 2>/dev/null`}
11819 if ${SANE_LIBS:+false} :; then :
11820 if ${PKG_CONFIG+:} false
; then :
11821 SANE_LIBS
=`$PKG_CONFIG --libs libsane 2>/dev/null`
11824 test "$cross_compiling" = yes || SANE_LIBS
=${SANE_LIBS:-`${SANE_CONFIG:-sane-config} --ldflags 2>/dev/null`}
11826 $as_echo "$as_me:${as_lineno-$LINENO}: libsane cflags: $SANE_CFLAGS" >&5
11827 $as_echo "$as_me:${as_lineno-$LINENO}: libsane libs: $SANE_LIBS" >&5
11828 ac_save_CPPFLAGS
=$CPPFLAGS
11829 CPPFLAGS
="$CPPFLAGS $SANE_CFLAGS"
11830 ac_fn_c_check_header_mongrel
"$LINENO" "sane/sane.h" "ac_cv_header_sane_sane_h" "$ac_includes_default"
11831 if test "x$ac_cv_header_sane_sane_h" = xyes
; then :
11832 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lsane" >&5
11833 $as_echo_n "checking for -lsane... " >&6; }
11834 if ${ac_cv_lib_soname_sane+:} false
; then :
11835 $as_echo_n "(cached) " >&6
11837 ac_check_soname_save_LIBS
=$LIBS
11838 LIBS
="-lsane $SANE_LIBS $LIBS"
11839 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11840 /* end confdefs.h. */
11842 /* Override any GCC internal prototype to avoid an error.
11843 Use char because int might match the return type of a GCC
11844 builtin and then its argument prototype would still apply. */
11852 return sane_init ();
11857 if ac_fn_c_try_link
"$LINENO"; then :
11859 dll
) ac_cv_lib_soname_sane
=`$ac_cv_path_LDD conftest.exe | grep "sane" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11860 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'` ;;
11861 *) ac_cv_lib_soname_sane
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libsane\\.$LIBEXT" | sed -e "s/^.*\\[\\(libsane\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
11862 if ${ac_cv_lib_soname_sane:+false} :; then :
11863 ac_cv_lib_soname_sane
=`$LDD conftest$ac_exeext | grep "libsane\\.$LIBEXT" | sed -e "s/^.*\(libsane\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11867 rm -f core conftest.err conftest.
$ac_objext \
11868 conftest
$ac_exeext conftest.
$ac_ext
11869 LIBS
=$ac_check_soname_save_LIBS
11871 if ${ac_cv_lib_soname_sane:+false} :; then :
11872 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11873 $as_echo "not found" >&6; }
11876 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_sane" >&5
11877 $as_echo "$ac_cv_lib_soname_sane" >&6; }
11879 cat >>confdefs.h
<<_ACEOF
11880 #define SONAME_LIBSANE "$ac_cv_lib_soname_sane"
11890 CPPFLAGS
=$ac_save_CPPFLAGS
11891 test -z "$SANE_CFLAGS" || SANE_CFLAGS
=`echo " $SANE_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
11892 test -z "$SANE_LIBS" || SANE_LIBS
=`echo " $SANE_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
11895 if test "x$ac_cv_lib_soname_sane" = "x"; then :
11896 case "x$with_sane" in
11897 x
) as_fn_append wine_notices
"|libsane ${notice_platform}development files not found, scanners won't be supported." ;;
11899 *) as_fn_error $?
"libsane ${notice_platform}development files not found, scanners won't be supported.
11900 This is an error since --with-sane was requested." "$LINENO" 5 ;;
11905 if test "x$with_v4l" != "xno"
11907 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lv4l1" >&5
11908 $as_echo_n "checking for -lv4l1... " >&6; }
11909 if ${ac_cv_lib_soname_v4l1+:} false
; then :
11910 $as_echo_n "(cached) " >&6
11912 ac_check_soname_save_LIBS
=$LIBS
11913 LIBS
="-lv4l1 $LIBS"
11914 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11915 /* end confdefs.h. */
11917 /* Override any GCC internal prototype to avoid an error.
11918 Use char because int might match the return type of a GCC
11919 builtin and then its argument prototype would still apply. */
11927 return v4l1_open ();
11932 if ac_fn_c_try_link
"$LINENO"; then :
11934 dll
) ac_cv_lib_soname_v4l1
=`$ac_cv_path_LDD conftest.exe | grep "v4l1" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11935 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'` ;;
11936 *) ac_cv_lib_soname_v4l1
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libv4l1\\.$LIBEXT" | sed -e "s/^.*\\[\\(libv4l1\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
11937 if ${ac_cv_lib_soname_v4l1:+false} :; then :
11938 ac_cv_lib_soname_v4l1
=`$LDD conftest$ac_exeext | grep "libv4l1\\.$LIBEXT" | sed -e "s/^.*\(libv4l1\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11942 rm -f core conftest.err conftest.
$ac_objext \
11943 conftest
$ac_exeext conftest.
$ac_ext
11944 LIBS
=$ac_check_soname_save_LIBS
11946 if ${ac_cv_lib_soname_v4l1:+false} :; then :
11947 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11948 $as_echo "not found" >&6; }
11951 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_v4l1" >&5
11952 $as_echo "$ac_cv_lib_soname_v4l1" >&6; }
11954 cat >>confdefs.h
<<_ACEOF
11955 #define SONAME_LIBV4L1 "$ac_cv_lib_soname_v4l1"
11961 if test "x$ac_cv_lib_soname_v4l1" = "x"; then :
11962 case "x$with_v4l" in
11963 x
) as_fn_append wine_notices
"|libv4l ${notice_platform}development files not found." ;;
11965 *) as_fn_error $?
"libv4l ${notice_platform}development files not found.
11966 This is an error since --with-v4l was requested." "$LINENO" 5 ;;
11971 if test "x$with_gphoto" != "xno"
11973 if ${GPHOTO2_CFLAGS:+false} :; then :
11974 if ${PKG_CONFIG+:} false
; then :
11975 GPHOTO2_CFLAGS
=`$PKG_CONFIG --cflags libgphoto2 2>/dev/null`
11978 test "$cross_compiling" = yes || GPHOTO2_CFLAGS
=${GPHOTO2_CFLAGS:-`${GPHOTO2_CONFIG:-gphoto2-config} --cflags 2>/dev/null`}
11979 if ${GPHOTO2_LIBS:+false} :; then :
11980 if ${PKG_CONFIG+:} false
; then :
11981 GPHOTO2_LIBS
=`$PKG_CONFIG --libs libgphoto2 2>/dev/null`
11984 test "$cross_compiling" = yes || GPHOTO2_LIBS
=${GPHOTO2_LIBS:-`${GPHOTO2_CONFIG:-gphoto2-config} --libs 2>/dev/null`}
11985 GPHOTO2_LIBS
=${GPHOTO2_LIBS:-"-lgphoto2"}
11986 $as_echo "$as_me:${as_lineno-$LINENO}: libgphoto2 cflags: $GPHOTO2_CFLAGS" >&5
11987 $as_echo "$as_me:${as_lineno-$LINENO}: libgphoto2 libs: $GPHOTO2_LIBS" >&5
11988 ac_save_CPPFLAGS
=$CPPFLAGS
11989 CPPFLAGS
="$CPPFLAGS $GPHOTO2_CFLAGS"
11990 ac_fn_c_check_header_mongrel
"$LINENO" "gphoto2-camera.h" "ac_cv_header_gphoto2_camera_h" "$ac_includes_default"
11991 if test "x$ac_cv_header_gphoto2_camera_h" = xyes
; then :
11992 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gp_camera_new in -lgphoto2" >&5
11993 $as_echo_n "checking for gp_camera_new in -lgphoto2... " >&6; }
11994 if ${ac_cv_lib_gphoto2_gp_camera_new+:} false
; then :
11995 $as_echo_n "(cached) " >&6
11997 ac_check_lib_save_LIBS
=$LIBS
11998 LIBS
="-lgphoto2 $GPHOTO2_LIBS $LIBS"
11999 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12000 /* end confdefs.h. */
12002 /* Override any GCC internal prototype to avoid an error.
12003 Use char because int might match the return type of a GCC
12004 builtin and then its argument prototype would still apply. */
12008 char gp_camera_new ();
12012 return gp_camera_new ();
12017 if ac_fn_c_try_link
"$LINENO"; then :
12018 ac_cv_lib_gphoto2_gp_camera_new
=yes
12020 ac_cv_lib_gphoto2_gp_camera_new
=no
12022 rm -f core conftest.err conftest.
$ac_objext \
12023 conftest
$ac_exeext conftest.
$ac_ext
12024 LIBS
=$ac_check_lib_save_LIBS
12026 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gphoto2_gp_camera_new" >&5
12027 $as_echo "$ac_cv_lib_gphoto2_gp_camera_new" >&6; }
12028 if test "x$ac_cv_lib_gphoto2_gp_camera_new" = xyes
; then :
12030 $as_echo "#define HAVE_GPHOTO2 1" >>confdefs.h
12033 GPHOTO2_LIBS
=""; GPHOTO2_CFLAGS
=""
12037 GPHOTO2_LIBS
=""; GPHOTO2_CFLAGS
=""
12041 CPPFLAGS
=$ac_save_CPPFLAGS
12042 test -z "$GPHOTO2_CFLAGS" || GPHOTO2_CFLAGS
=`echo " $GPHOTO2_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
12043 test -z "$GPHOTO2_LIBS" || GPHOTO2_LIBS
=`echo " $GPHOTO2_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
12045 if ${GPHOTO2_PORT_CFLAGS:+false} :; then :
12046 if ${PKG_CONFIG+:} false
; then :
12047 GPHOTO2_PORT_CFLAGS
=`$PKG_CONFIG --cflags libgphoto2_port 2>/dev/null`
12050 test "$cross_compiling" = yes || GPHOTO2_PORT_CFLAGS
=${GPHOTO2_PORT_CFLAGS:-`${GPHOTO2_PORT_CONFIG:-gphoto2-port-config} --cflags 2>/dev/null`}
12051 if ${GPHOTO2_PORT_LIBS:+false} :; then :
12052 if ${PKG_CONFIG+:} false
; then :
12053 GPHOTO2_PORT_LIBS
=`$PKG_CONFIG --libs libgphoto2_port 2>/dev/null`
12056 test "$cross_compiling" = yes || GPHOTO2_PORT_LIBS
=${GPHOTO2_PORT_LIBS:-`${GPHOTO2_PORT_CONFIG:-gphoto2-port-config} --libs 2>/dev/null`}
12057 GPHOTO2_PORT_LIBS
=${GPHOTO2_PORT_LIBS:-"-lgphoto2_port"}
12058 $as_echo "$as_me:${as_lineno-$LINENO}: libgphoto2_port cflags: $GPHOTO2_PORT_CFLAGS" >&5
12059 $as_echo "$as_me:${as_lineno-$LINENO}: libgphoto2_port libs: $GPHOTO2_PORT_LIBS" >&5
12060 ac_save_CPPFLAGS
=$CPPFLAGS
12061 CPPFLAGS
="$CPPFLAGS $GPHOTO2_PORT_CFLAGS"
12062 ac_fn_c_check_header_mongrel
"$LINENO" "gphoto2-port.h" "ac_cv_header_gphoto2_port_h" "$ac_includes_default"
12063 if test "x$ac_cv_header_gphoto2_port_h" = xyes
; then :
12064 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gp_port_info_list_new in -lgphoto2_port" >&5
12065 $as_echo_n "checking for gp_port_info_list_new in -lgphoto2_port... " >&6; }
12066 if ${ac_cv_lib_gphoto2_port_gp_port_info_list_new+:} false
; then :
12067 $as_echo_n "(cached) " >&6
12069 ac_check_lib_save_LIBS
=$LIBS
12070 LIBS
="-lgphoto2_port $GPHOTO2_PORT_LIBS $LIBS"
12071 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12072 /* end confdefs.h. */
12074 /* Override any GCC internal prototype to avoid an error.
12075 Use char because int might match the return type of a GCC
12076 builtin and then its argument prototype would still apply. */
12080 char gp_port_info_list_new ();
12084 return gp_port_info_list_new ();
12089 if ac_fn_c_try_link
"$LINENO"; then :
12090 ac_cv_lib_gphoto2_port_gp_port_info_list_new
=yes
12092 ac_cv_lib_gphoto2_port_gp_port_info_list_new
=no
12094 rm -f core conftest.err conftest.
$ac_objext \
12095 conftest
$ac_exeext conftest.
$ac_ext
12096 LIBS
=$ac_check_lib_save_LIBS
12098 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gphoto2_port_gp_port_info_list_new" >&5
12099 $as_echo "$ac_cv_lib_gphoto2_port_gp_port_info_list_new" >&6; }
12100 if test "x$ac_cv_lib_gphoto2_port_gp_port_info_list_new" = xyes
; then :
12102 $as_echo "#define HAVE_GPHOTO2_PORT 1" >>confdefs.h
12105 GPHOTO2_PORT_LIBS
=""; GPHOTO2_PORT_CFLAGS
=""
12109 GPHOTO2_PORT_LIBS
=""; GPHOTO2_PORT_CFLAGS
=""
12113 CPPFLAGS
=$ac_save_CPPFLAGS
12114 test -z "$GPHOTO2_PORT_CFLAGS" || GPHOTO2_PORT_CFLAGS
=`echo " $GPHOTO2_PORT_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
12115 test -z "$GPHOTO2_PORT_LIBS" || GPHOTO2_PORT_LIBS
=`echo " $GPHOTO2_PORT_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
12118 if test "$ac_cv_lib_gphoto2_gp_camera_new" != "yes"; then :
12119 case "x$with_gphoto" in
12120 x
) as_fn_append wine_notices
"|libgphoto2 ${notice_platform}development files not found, digital cameras won't be supported." ;;
12122 *) as_fn_error $?
"libgphoto2 ${notice_platform}development files not found, digital cameras won't be supported.
12123 This is an error since --with-gphoto was requested." "$LINENO" 5 ;;
12127 if test "$ac_cv_lib_gphoto2_port_gp_port_info_list_new" != "yes"; then :
12128 case "x$with_gphoto" in
12129 x
) as_fn_append wine_notices
"|libgphoto2_port ${notice_platform}development files not found, digital cameras won't be auto-detected." ;;
12131 *) as_fn_error $?
"libgphoto2_port ${notice_platform}development files not found, digital cameras won't be auto-detected.
12132 This is an error since --with-gphoto was requested." "$LINENO" 5 ;;
12138 if test "$ac_cv_header_resolv_h" = "yes"
12140 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for resolver library" >&5
12141 $as_echo_n "checking for resolver library... " >&6; }
12142 if ${ac_cv_have_resolv+:} false
; then :
12143 $as_echo_n "(cached) " >&6
12145 ac_save_LIBS
="$LIBS"
12146 for lib
in '' -lresolv
12148 LIBS
="$lib $ac_save_LIBS"
12149 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12150 /* end confdefs.h. */
12151 #ifdef HAVE_NETINET_IN_H
12152 #include <netinet/in.h>
12154 #include <resolv.h>
12158 if (!(_res.options & RES_INIT)) res_init(); res_query("foo",ns_c_in,0,0,0)
12163 if ac_fn_c_try_link
"$LINENO"; then :
12164 ac_cv_have_resolv
=${lib:-"none required"}
12166 ac_cv_have_resolv
="not found"
12168 rm -f core conftest.err conftest.
$ac_objext \
12169 conftest
$ac_exeext conftest.
$ac_ext
12170 test "x$ac_cv_have_resolv" = "xnot found" ||
break
12172 LIBS
="$ac_save_LIBS"
12174 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_resolv" >&5
12175 $as_echo "$ac_cv_have_resolv" >&6; }
12177 case "$ac_cv_have_resolv" in
12181 $as_echo "#define HAVE_RESOLV 1" >>confdefs.h
12184 $as_echo "#define HAVE_RESOLV 1" >>confdefs.h
12186 RESOLV_LIBS
=$ac_cv_have_resolv
12191 if test "x$with_cms" != "xno"
12193 if ${LCMS2_CFLAGS:+false} :; then :
12194 if ${PKG_CONFIG+:} false
; then :
12195 LCMS2_CFLAGS
=`$PKG_CONFIG --cflags lcms2 2>/dev/null`
12199 if ${LCMS2_LIBS:+false} :; then :
12200 if ${PKG_CONFIG+:} false
; then :
12201 LCMS2_LIBS
=`$PKG_CONFIG --libs lcms2 2>/dev/null`
12205 LCMS2_LIBS
=${LCMS2_LIBS:-"-llcms2"}
12206 $as_echo "$as_me:${as_lineno-$LINENO}: lcms2 cflags: $LCMS2_CFLAGS" >&5
12207 $as_echo "$as_me:${as_lineno-$LINENO}: lcms2 libs: $LCMS2_LIBS" >&5
12208 ac_save_CPPFLAGS
=$CPPFLAGS
12209 CPPFLAGS
="$CPPFLAGS $LCMS2_CFLAGS"
12210 for ac_header
in lcms2.h
12212 ac_fn_c_check_header_mongrel
"$LINENO" "lcms2.h" "ac_cv_header_lcms2_h" "$ac_includes_default"
12213 if test "x$ac_cv_header_lcms2_h" = xyes
; then :
12214 cat >>confdefs.h
<<_ACEOF
12215 #define HAVE_LCMS2_H 1
12222 if test "$ac_cv_header_lcms2_h" = "yes"
12224 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cmsOpenProfileFromFile in -llcms2" >&5
12225 $as_echo_n "checking for cmsOpenProfileFromFile in -llcms2... " >&6; }
12226 if ${ac_cv_lib_lcms2_cmsOpenProfileFromFile+:} false
; then :
12227 $as_echo_n "(cached) " >&6
12229 ac_check_lib_save_LIBS
=$LIBS
12230 LIBS
="-llcms2 $LCMS2_LIBS $LIBS"
12231 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12232 /* end confdefs.h. */
12234 /* Override any GCC internal prototype to avoid an error.
12235 Use char because int might match the return type of a GCC
12236 builtin and then its argument prototype would still apply. */
12240 char cmsOpenProfileFromFile ();
12244 return cmsOpenProfileFromFile ();
12249 if ac_fn_c_try_link
"$LINENO"; then :
12250 ac_cv_lib_lcms2_cmsOpenProfileFromFile
=yes
12252 ac_cv_lib_lcms2_cmsOpenProfileFromFile
=no
12254 rm -f core conftest.err conftest.
$ac_objext \
12255 conftest
$ac_exeext conftest.
$ac_ext
12256 LIBS
=$ac_check_lib_save_LIBS
12258 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_lcms2_cmsOpenProfileFromFile" >&5
12259 $as_echo "$ac_cv_lib_lcms2_cmsOpenProfileFromFile" >&6; }
12260 if test "x$ac_cv_lib_lcms2_cmsOpenProfileFromFile" = xyes
; then :
12262 $as_echo "#define HAVE_LCMS2 1" >>confdefs.h
12272 CPPFLAGS
=$ac_save_CPPFLAGS
12273 test -z "$LCMS2_CFLAGS" || LCMS2_CFLAGS
=`echo " $LCMS2_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
12274 test -z "$LCMS2_LIBS" || LCMS2_LIBS
=`echo " $LCMS2_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
12277 if test "$ac_cv_lib_lcms2_cmsOpenProfileFromFile" != "yes"; then :
12278 case "x$with_cms" in
12279 x
) as_fn_append wine_notices
"|liblcms2 ${notice_platform}development files not found, Color Management won't be supported." ;;
12281 *) as_fn_error $?
"liblcms2 ${notice_platform}development files not found, Color Management won't be supported.
12282 This is an error since --with-cms was requested." "$LINENO" 5 ;;
12287 if test "x$with_freetype" != "xno"
12289 if ${FREETYPE_CFLAGS:+false} :; then :
12290 if ${PKG_CONFIG+:} false
; then :
12291 FREETYPE_CFLAGS
=`$PKG_CONFIG --cflags freetype2 2>/dev/null`
12294 test "$cross_compiling" = yes || FREETYPE_CFLAGS
=${FREETYPE_CFLAGS:-`(${FREETYPE_CONFIG:-freetype-config} --cflags || ${FREETYPE2_CONFIG:-freetype2-config} --cflags) 2>/dev/null`}
12295 if ${FREETYPE_LIBS:+false} :; then :
12296 if ${PKG_CONFIG+:} false
; then :
12297 FREETYPE_LIBS
=`$PKG_CONFIG --libs freetype2 2>/dev/null`
12300 test "$cross_compiling" = yes || FREETYPE_LIBS
=${FREETYPE_LIBS:-`(${FREETYPE_CONFIG:-freetype-config} --libs || ${FREETYPE2_CONFIG:-freetype2-config} --libs) 2>/dev/null`}
12301 FREETYPE_LIBS
=${FREETYPE_LIBS:-"-lfreetype"}
12302 $as_echo "$as_me:${as_lineno-$LINENO}: freetype2 cflags: $FREETYPE_CFLAGS" >&5
12303 $as_echo "$as_me:${as_lineno-$LINENO}: freetype2 libs: $FREETYPE_LIBS" >&5
12304 ac_save_CPPFLAGS
=$CPPFLAGS
12305 CPPFLAGS
="$CPPFLAGS $FREETYPE_CFLAGS"
12306 for ac_header
in ft2build.h
12308 ac_fn_c_check_header_mongrel
"$LINENO" "ft2build.h" "ac_cv_header_ft2build_h" "$ac_includes_default"
12309 if test "x$ac_cv_header_ft2build_h" = xyes
; then :
12310 cat >>confdefs.h
<<_ACEOF
12311 #define HAVE_FT2BUILD_H 1
12318 if test "$ac_cv_header_ft2build_h" = "yes"
12320 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lfreetype" >&5
12321 $as_echo_n "checking for -lfreetype... " >&6; }
12322 if ${ac_cv_lib_soname_freetype+:} false
; then :
12323 $as_echo_n "(cached) " >&6
12325 ac_check_soname_save_LIBS
=$LIBS
12326 LIBS
="-lfreetype $FREETYPE_LIBS $LIBS"
12327 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12328 /* end confdefs.h. */
12330 /* Override any GCC internal prototype to avoid an error.
12331 Use char because int might match the return type of a GCC
12332 builtin and then its argument prototype would still apply. */
12336 char FT_Init_FreeType ();
12340 return FT_Init_FreeType ();
12345 if ac_fn_c_try_link
"$LINENO"; then :
12347 dll
) ac_cv_lib_soname_freetype
=`$ac_cv_path_LDD conftest.exe | grep "freetype" | sed -e "s/dll.*/dll/"';2,$d'` ;;
12348 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'` ;;
12349 *) ac_cv_lib_soname_freetype
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libfreetype\\.$LIBEXT" | sed -e "s/^.*\\[\\(libfreetype\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
12350 if ${ac_cv_lib_soname_freetype:+false} :; then :
12351 ac_cv_lib_soname_freetype
=`$LDD conftest$ac_exeext | grep "libfreetype\\.$LIBEXT" | sed -e "s/^.*\(libfreetype\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
12355 rm -f core conftest.err conftest.
$ac_objext \
12356 conftest
$ac_exeext conftest.
$ac_ext
12357 LIBS
=$ac_check_soname_save_LIBS
12359 if ${ac_cv_lib_soname_freetype:+false} :; then :
12360 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
12361 $as_echo "not found" >&6; }
12364 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_freetype" >&5
12365 $as_echo "$ac_cv_lib_soname_freetype" >&6; }
12367 cat >>confdefs.h
<<_ACEOF
12368 #define SONAME_LIBFREETYPE "$ac_cv_lib_soname_freetype"
12372 $as_echo "#define HAVE_FREETYPE 1" >>confdefs.h
12374 ac_fn_c_check_type
"$LINENO" "FT_TrueTypeEngineType" "ac_cv_type_FT_TrueTypeEngineType" "#include <ft2build.h>
12375 #include FT_MODULE_H
12377 if test "x$ac_cv_type_FT_TrueTypeEngineType" = xyes
; then :
12379 cat >>confdefs.h
<<_ACEOF
12380 #define HAVE_FT_TRUETYPEENGINETYPE 1
12391 CPPFLAGS
=$ac_save_CPPFLAGS
12392 test -z "$FREETYPE_CFLAGS" || FREETYPE_CFLAGS
=`echo " $FREETYPE_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
12393 test -z "$FREETYPE_LIBS" || FREETYPE_LIBS
=`echo " $FREETYPE_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
12396 if test "x$ac_cv_lib_soname_freetype" = x
; then :
12397 case "x$with_freetype" in
12399 *) as_fn_error $?
"FreeType ${notice_platform}development files not found. Fonts will not be built.
12400 Use the --without-freetype option if you really want this." "$LINENO" 5 ;;
12402 enable_fonts
=${enable_fonts:-no}
12405 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for parport header/ppdev.h" >&5
12406 $as_echo_n "checking for parport header/ppdev.h... " >&6; }
12407 if ${ac_cv_c_ppdev+:} false
; then :
12408 $as_echo_n "(cached) " >&6
12410 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12411 /* end confdefs.h. */
12412 #ifdef HAVE_SYS_IOCTL_H
12413 # include <sys/ioctl.h>
12415 #include <linux/ppdev.h>
12419 ioctl (1,PPCLAIM,0)
12424 if ac_fn_c_try_compile
"$LINENO"; then :
12425 ac_cv_c_ppdev
="yes"
12429 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
12431 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_ppdev" >&5
12432 $as_echo "$ac_cv_c_ppdev" >&6; }
12433 if test "$ac_cv_c_ppdev" = "yes"
12436 $as_echo "#define HAVE_PPDEV 1" >>confdefs.h
12440 ac_wine_check_funcs_save_LIBS
="$LIBS"
12441 LIBS
="$LIBS $PTHREAD_LIBS"
12443 pthread_attr_get_np \
12444 pthread_getattr_np \
12445 pthread_getthreadid_np \
12446 pthread_get_stackaddr_np \
12447 pthread_get_stacksize_np
12449 as_ac_var
=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
12450 ac_fn_c_check_func
"$LINENO" "$ac_func" "$as_ac_var"
12451 if eval test \"x\$
"$as_ac_var"\" = x
"yes"; then :
12452 cat >>confdefs.h
<<_ACEOF
12453 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
12459 LIBS
="$ac_wine_check_funcs_save_LIBS"
12461 if test "$ac_cv_header_zlib_h" = "yes"
12463 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for inflate in -lz" >&5
12464 $as_echo_n "checking for inflate in -lz... " >&6; }
12465 if ${ac_cv_lib_z_inflate+:} false
; then :
12466 $as_echo_n "(cached) " >&6
12468 ac_check_lib_save_LIBS
=$LIBS
12470 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12471 /* end confdefs.h. */
12473 /* Override any GCC internal prototype to avoid an error.
12474 Use char because int might match the return type of a GCC
12475 builtin and then its argument prototype would still apply. */
12488 if ac_fn_c_try_link
"$LINENO"; then :
12489 ac_cv_lib_z_inflate
=yes
12491 ac_cv_lib_z_inflate
=no
12493 rm -f core conftest.err conftest.
$ac_objext \
12494 conftest
$ac_exeext conftest.
$ac_ext
12495 LIBS
=$ac_check_lib_save_LIBS
12497 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_z_inflate" >&5
12498 $as_echo "$ac_cv_lib_z_inflate" >&6; }
12499 if test "x$ac_cv_lib_z_inflate" = xyes
; then :
12501 $as_echo "#define HAVE_ZLIB 1" >>confdefs.h
12508 if test "x$Z_LIBS" = "x"; then :
12509 case "x$with_zlib" in
12510 x
) as_fn_append wine_notices
"|libz ${notice_platform}development files not found, data compression won't be supported." ;;
12512 *) as_fn_error $?
"libz ${notice_platform}development files not found, data compression won't be supported.
12513 This is an error since --with-zlib was requested." "$LINENO" 5 ;;
12518 if test "x$enable_tools" != xno
-a "x$with_gettextpo" = xyes
12520 if test "$ac_cv_header_gettext_po_h" = "yes"
12522 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for po_message_msgctxt in -lgettextpo" >&5
12523 $as_echo_n "checking for po_message_msgctxt in -lgettextpo... " >&6; }
12524 if ${ac_cv_lib_gettextpo_po_message_msgctxt+:} false
; then :
12525 $as_echo_n "(cached) " >&6
12527 ac_check_lib_save_LIBS
=$LIBS
12528 LIBS
="-lgettextpo $LIBS"
12529 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12530 /* end confdefs.h. */
12532 /* Override any GCC internal prototype to avoid an error.
12533 Use char because int might match the return type of a GCC
12534 builtin and then its argument prototype would still apply. */
12538 char po_message_msgctxt ();
12542 return po_message_msgctxt ();
12547 if ac_fn_c_try_link
"$LINENO"; then :
12548 ac_cv_lib_gettextpo_po_message_msgctxt
=yes
12550 ac_cv_lib_gettextpo_po_message_msgctxt
=no
12552 rm -f core conftest.err conftest.
$ac_objext \
12553 conftest
$ac_exeext conftest.
$ac_ext
12554 LIBS
=$ac_check_lib_save_LIBS
12556 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gettextpo_po_message_msgctxt" >&5
12557 $as_echo "$ac_cv_lib_gettextpo_po_message_msgctxt" >&6; }
12558 if test "x$ac_cv_lib_gettextpo_po_message_msgctxt" = xyes
; then :
12560 $as_echo "#define HAVE_LIBGETTEXTPO 1" >>confdefs.h
12562 GETTEXTPO_LIBS
="-lgettextpo"
12567 if test "x$GETTEXTPO_LIBS" = "x"; then :
12568 case "x$with_gettextpo" in
12569 x
) as_fn_append wine_notices
"|GetText ${notice_platform}development files not found (or too old), po files can't be rebuilt." ;;
12571 *) as_fn_error $?
"GetText ${notice_platform}development files not found (or too old), po files can't be rebuilt.
12572 This is an error since --with-gettextpo was requested." "$LINENO" 5 ;;
12576 if test "$srcdir" != .
; then :
12577 case "x$with_gettextpo" in
12578 x
) as_fn_append wine_notices
"|Rebuilding po files is not supported for out of tree builds." ;;
12580 *) as_fn_error $?
"Rebuilding po files is not supported for out of tree builds.
12581 This is an error since --with-gettextpo was requested." "$LINENO" 5 ;;
12587 if test "x$with_pulse" != "xno";
12589 if ${PULSE_CFLAGS:+false} :; then :
12590 if ${PKG_CONFIG+:} false
; then :
12591 PULSE_CFLAGS
=`$PKG_CONFIG --cflags libpulse 2>/dev/null`
12595 if ${PULSE_LIBS:+false} :; then :
12596 if ${PKG_CONFIG+:} false
; then :
12597 PULSE_LIBS
=`$PKG_CONFIG --libs libpulse 2>/dev/null`
12602 $as_echo "$as_me:${as_lineno-$LINENO}: libpulse cflags: $PULSE_CFLAGS" >&5
12603 $as_echo "$as_me:${as_lineno-$LINENO}: libpulse libs: $PULSE_LIBS" >&5
12604 ac_save_CPPFLAGS
=$CPPFLAGS
12605 CPPFLAGS
="$CPPFLAGS $PULSE_CFLAGS"
12606 for ac_header
in pulse
/pulseaudio.h
12608 ac_fn_c_check_header_mongrel
"$LINENO" "pulse/pulseaudio.h" "ac_cv_header_pulse_pulseaudio_h" "$ac_includes_default"
12609 if test "x$ac_cv_header_pulse_pulseaudio_h" = xyes
; then :
12610 cat >>confdefs.h
<<_ACEOF
12611 #define HAVE_PULSE_PULSEAUDIO_H 1
12613 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pa_stream_is_corked in -lpulse" >&5
12614 $as_echo_n "checking for pa_stream_is_corked in -lpulse... " >&6; }
12615 if ${ac_cv_lib_pulse_pa_stream_is_corked+:} false
; then :
12616 $as_echo_n "(cached) " >&6
12618 ac_check_lib_save_LIBS
=$LIBS
12619 LIBS
="-lpulse $PULSE_LIBS $LIBS"
12620 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12621 /* end confdefs.h. */
12623 /* Override any GCC internal prototype to avoid an error.
12624 Use char because int might match the return type of a GCC
12625 builtin and then its argument prototype would still apply. */
12629 char pa_stream_is_corked ();
12633 return pa_stream_is_corked ();
12638 if ac_fn_c_try_link
"$LINENO"; then :
12639 ac_cv_lib_pulse_pa_stream_is_corked
=yes
12641 ac_cv_lib_pulse_pa_stream_is_corked
=no
12643 rm -f core conftest.err conftest.
$ac_objext \
12644 conftest
$ac_exeext conftest.
$ac_ext
12645 LIBS
=$ac_check_lib_save_LIBS
12647 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_pulse_pa_stream_is_corked" >&5
12648 $as_echo "$ac_cv_lib_pulse_pa_stream_is_corked" >&6; }
12649 if test "x$ac_cv_lib_pulse_pa_stream_is_corked" = xyes
; then :
12661 CPPFLAGS
=$ac_save_CPPFLAGS
12662 test -z "$PULSE_CFLAGS" || PULSE_CFLAGS
=`echo " $PULSE_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
12663 test -z "$PULSE_LIBS" || PULSE_LIBS
=`echo " $PULSE_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
12666 if test -z "$PULSE_LIBS"; then :
12667 case "x$with_pulse" in
12668 x
) as_fn_append wine_notices
"|libpulse ${notice_platform}development files not found or too old, Pulse won't be supported." ;;
12670 *) as_fn_error $?
"libpulse ${notice_platform}development files not found or too old, Pulse won't be supported.
12671 This is an error since --with-pulse was requested." "$LINENO" 5 ;;
12673 enable_winepulse_drv
=${enable_winepulse_drv:-no}
12676 if test "x$with_gstreamer" != "xno"
12678 if ${GSTREAMER_CFLAGS:+false} :; then :
12679 if ${PKG_CONFIG+:} false
; then :
12680 GSTREAMER_CFLAGS
=`$PKG_CONFIG --cflags gstreamer-1.0 gstreamer-video-1.0 gstreamer-audio-1.0 2>/dev/null`
12684 if ${GSTREAMER_LIBS:+false} :; then :
12685 if ${PKG_CONFIG+:} false
; then :
12686 GSTREAMER_LIBS
=`$PKG_CONFIG --libs gstreamer-1.0 gstreamer-video-1.0 gstreamer-audio-1.0 2>/dev/null`
12691 $as_echo "$as_me:${as_lineno-$LINENO}: gstreamer-1.0 gstreamer-video-1.0 gstreamer-audio-1.0 cflags: $GSTREAMER_CFLAGS" >&5
12692 $as_echo "$as_me:${as_lineno-$LINENO}: gstreamer-1.0 gstreamer-video-1.0 gstreamer-audio-1.0 libs: $GSTREAMER_LIBS" >&5
12693 ac_save_CPPFLAGS
=$CPPFLAGS
12694 CPPFLAGS
="$CPPFLAGS $GSTREAMER_CFLAGS"
12696 for i
in $GSTREAMER_CFLAGS
12699 -I*) ac_gst_incl
="$ac_gst_incl $i";;
12702 GSTREAMER_CFLAGS
=$ac_gst_incl
12703 CPPFLAGS
="$ac_save_CPPFLAGS $GSTREAMER_CFLAGS"
12704 ac_fn_c_check_header_mongrel
"$LINENO" "gst/gst.h" "ac_cv_header_gst_gst_h" "$ac_includes_default"
12705 if test "x$ac_cv_header_gst_gst_h" = xyes
; then :
12706 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether gint64 defined by gst/gst.h is indeed 64-bit" >&5
12707 $as_echo_n "checking whether gint64 defined by gst/gst.h is indeed 64-bit... " >&6; }
12708 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12709 /* end confdefs.h. */
12710 #include <gst/gst.h>
12714 static int a[sizeof(gint64) > 4 ? 1 : -1]; if (a[0]) return 0;
12719 if ac_fn_c_try_compile
"$LINENO"; then :
12720 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
12721 $as_echo "yes" >&6; }
12722 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gst_pad_new in -lgstreamer-1.0" >&5
12723 $as_echo_n "checking for gst_pad_new in -lgstreamer-1.0... " >&6; }
12724 if ${ac_cv_lib_gstreamer_1_0_gst_pad_new+:} false
; then :
12725 $as_echo_n "(cached) " >&6
12727 ac_check_lib_save_LIBS
=$LIBS
12728 LIBS
="-lgstreamer-1.0 $GSTREAMER_LIBS $LIBS"
12729 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12730 /* end confdefs.h. */
12732 /* Override any GCC internal prototype to avoid an error.
12733 Use char because int might match the return type of a GCC
12734 builtin and then its argument prototype would still apply. */
12738 char gst_pad_new ();
12742 return gst_pad_new ();
12747 if ac_fn_c_try_link
"$LINENO"; then :
12748 ac_cv_lib_gstreamer_1_0_gst_pad_new
=yes
12750 ac_cv_lib_gstreamer_1_0_gst_pad_new
=no
12752 rm -f core conftest.err conftest.
$ac_objext \
12753 conftest
$ac_exeext conftest.
$ac_ext
12754 LIBS
=$ac_check_lib_save_LIBS
12756 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gstreamer_1_0_gst_pad_new" >&5
12757 $as_echo "$ac_cv_lib_gstreamer_1_0_gst_pad_new" >&6; }
12758 if test "x$ac_cv_lib_gstreamer_1_0_gst_pad_new" = xyes
; then :
12763 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12764 $as_echo "no" >&6; }
12765 ac_glib2_broken
=yes
12766 as_fn_append wine_notices
"|glib-2.0 pkgconfig configuration is for the wrong architecture, winegstreamer won't be built."
12768 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
12772 CPPFLAGS
=$ac_save_CPPFLAGS
12773 test -z "$GSTREAMER_CFLAGS" || GSTREAMER_CFLAGS
=`echo " $GSTREAMER_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
12774 test -z "$GSTREAMER_LIBS" || GSTREAMER_LIBS
=`echo " $GSTREAMER_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
12777 if test "x$ac_glib2_broken" != xyes
-a "x$ac_cv_lib_gstreamer_1_0_gst_pad_new" != xyes
-a "x$ac_cv_header_QuickTime_ImageCompression_h" != xyes
; then :
12778 case "x$with_gstreamer" in
12779 x
) as_fn_append wine_notices
"|gstreamer-1.0 base plugins ${notice_platform}development files not found, gstreamer support disabled" ;;
12781 *) as_fn_error $?
"gstreamer-1.0 base plugins ${notice_platform}development files not found, gstreamer support disabled
12782 This is an error since --with-gstreamer was requested." "$LINENO" 5 ;;
12786 test "x$ac_cv_lib_gstreamer_1_0_gst_pad_new" = xyes || enable_winegstreamer
=${enable_winegstreamer:-no}
12790 if test "$ac_cv_header_sys_asoundlib_h" = "yes" -o "$ac_cv_header_alsa_asoundlib_h" = "yes"
12792 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for snd_pcm_hw_params_get_access_mask in -lasound" >&5
12793 $as_echo_n "checking for snd_pcm_hw_params_get_access_mask in -lasound... " >&6; }
12794 if ${ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask+:} false
; then :
12795 $as_echo_n "(cached) " >&6
12797 ac_check_lib_save_LIBS
=$LIBS
12798 LIBS
="-lasound $LIBS"
12799 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12800 /* end confdefs.h. */
12802 /* Override any GCC internal prototype to avoid an error.
12803 Use char because int might match the return type of a GCC
12804 builtin and then its argument prototype would still apply. */
12808 char snd_pcm_hw_params_get_access_mask ();
12812 return snd_pcm_hw_params_get_access_mask ();
12817 if ac_fn_c_try_link
"$LINENO"; then :
12818 ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask
=yes
12820 ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask
=no
12822 rm -f core conftest.err conftest.
$ac_objext \
12823 conftest
$ac_exeext conftest.
$ac_ext
12824 LIBS
=$ac_check_lib_save_LIBS
12826 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask" >&5
12827 $as_echo "$ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask" >&6; }
12828 if test "x$ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask" = xyes
; then :
12829 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12830 /* end confdefs.h. */
12831 #ifdef HAVE_ALSA_ASOUNDLIB_H
12832 #include <alsa/asoundlib.h>
12833 #elif defined(HAVE_SYS_ASOUNDLIB_H)
12834 #include <sys/asoundlib.h>
12839 snd_pcm_hw_params_get_access_mask(NULL, NULL)
12844 if ac_fn_c_try_compile
"$LINENO"; then :
12845 ALSA_LIBS
="-lasound"
12847 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
12851 test -n "$ALSA_LIBS" || enable_winealsa_drv
=${enable_winealsa_drv:-no}
12853 if test "x$with_oss" != xno
12855 ac_save_CPPFLAGS
="$CPPFLAGS"
12856 if test -f /etc
/oss.conf
12860 ac_oss_incl
="-I${OSSLIBDIR:-/usr/lib/oss}/include"
12861 CPPFLAGS
="$CPPFLAGS $ac_oss_incl"
12862 ac_fn_c_check_header_mongrel
"$LINENO" "sys/soundcard.h" "ac_cv_header_sys_soundcard_h" "$ac_includes_default"
12863 if test "x$ac_cv_header_sys_soundcard_h" = xyes
; then :
12864 ac_fn_c_check_member
"$LINENO" "oss_sysinfo" "numaudioengines" "ac_cv_member_oss_sysinfo_numaudioengines" "#include <sys/soundcard.h>
12866 if test "x$ac_cv_member_oss_sysinfo_numaudioengines" = xyes
; then :
12868 cat >>confdefs.h
<<_ACEOF
12869 #define HAVE_OSS_SYSINFO_NUMAUDIOENGINES 1
12872 OSS4_CFLAGS
="$ac_oss_incl"
12879 CPPFLAGS
="$ac_save_CPPFLAGS"
12881 if test "x$ac_cv_member_oss_sysinfo_numaudioengines" != xyes
; then :
12882 case "x$with_oss" in
12883 x
) as_fn_append wine_notices
"|OSS sound system found but too old (OSSv4 needed), OSS won't be supported." ;;
12885 *) as_fn_error $?
"OSS sound system found but too old (OSSv4 needed), OSS won't be supported.
12886 This is an error since --with-oss was requested." "$LINENO" 5 ;;
12888 enable_wineoss_drv
=${enable_wineoss_drv:-no}
12891 if test "x$with_capi" != "xno"
12893 if ${CAPI20_CFLAGS:+false} :; then :
12894 if ${PKG_CONFIG+:} false
; then :
12895 CAPI20_CFLAGS
=`$PKG_CONFIG --cflags capi20 2>/dev/null`
12899 if ${CAPI20_LIBS:+false} :; then :
12900 if ${PKG_CONFIG+:} false
; then :
12901 CAPI20_LIBS
=`$PKG_CONFIG --libs capi20 2>/dev/null`
12906 $as_echo "$as_me:${as_lineno-$LINENO}: capi20 cflags: $CAPI20_CFLAGS" >&5
12907 $as_echo "$as_me:${as_lineno-$LINENO}: capi20 libs: $CAPI20_LIBS" >&5
12908 ac_save_CPPFLAGS
=$CPPFLAGS
12909 CPPFLAGS
="$CPPFLAGS $CAPI20_CFLAGS"
12910 for ac_header
in capi20.h linux
/capi.h
12912 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
12913 ac_fn_c_check_header_compile
"$LINENO" "$ac_header" "$as_ac_Header" "#define __user
12915 if eval test \"x\$
"$as_ac_Header"\" = x
"yes"; then :
12916 cat >>confdefs.h
<<_ACEOF
12917 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
12924 if test "$ac_cv_header_capi20_h" = "yes" -a "$ac_cv_header_linux_capi_h" = "yes"
12926 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lcapi20" >&5
12927 $as_echo_n "checking for -lcapi20... " >&6; }
12928 if ${ac_cv_lib_soname_capi20+:} false
; then :
12929 $as_echo_n "(cached) " >&6
12931 ac_check_soname_save_LIBS
=$LIBS
12932 LIBS
="-lcapi20 $CAPI20_LIBS $LIBS"
12933 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12934 /* end confdefs.h. */
12936 /* Override any GCC internal prototype to avoid an error.
12937 Use char because int might match the return type of a GCC
12938 builtin and then its argument prototype would still apply. */
12942 char capi20_register ();
12946 return capi20_register ();
12951 if ac_fn_c_try_link
"$LINENO"; then :
12953 dll
) ac_cv_lib_soname_capi20
=`$ac_cv_path_LDD conftest.exe | grep "capi20" | sed -e "s/dll.*/dll/"';2,$d'` ;;
12954 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'` ;;
12955 *) ac_cv_lib_soname_capi20
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libcapi20\\.$LIBEXT" | sed -e "s/^.*\\[\\(libcapi20\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
12956 if ${ac_cv_lib_soname_capi20:+false} :; then :
12957 ac_cv_lib_soname_capi20
=`$LDD conftest$ac_exeext | grep "libcapi20\\.$LIBEXT" | sed -e "s/^.*\(libcapi20\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
12961 rm -f core conftest.err conftest.
$ac_objext \
12962 conftest
$ac_exeext conftest.
$ac_ext
12963 LIBS
=$ac_check_soname_save_LIBS
12965 if ${ac_cv_lib_soname_capi20:+false} :; then :
12966 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
12967 $as_echo "not found" >&6; }
12970 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_capi20" >&5
12971 $as_echo "$ac_cv_lib_soname_capi20" >&6; }
12973 cat >>confdefs.h
<<_ACEOF
12974 #define SONAME_LIBCAPI20 "$ac_cv_lib_soname_capi20"
12980 CPPFLAGS
=$ac_save_CPPFLAGS
12981 test -z "$CAPI20_CFLAGS" || CAPI20_CFLAGS
=`echo " $CAPI20_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
12982 test -z "$CAPI20_LIBS" || CAPI20_LIBS
=`echo " $CAPI20_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
12985 if test "x$ac_cv_lib_soname_capi20" = "x"; then :
12986 case "x$with_capi" in
12987 x
) as_fn_append wine_notices
"|libcapi20 ${notice_platform}development files not found, ISDN won't be supported." ;;
12989 *) as_fn_error $?
"libcapi20 ${notice_platform}development files not found, ISDN won't be supported.
12990 This is an error since --with-capi was requested." "$LINENO" 5 ;;
12997 if test "x$with_cups" != "xno"
12999 ac_save_CPPFLAGS
="$CPPFLAGS"
13000 ac_cups_cflags
=`${CUPS_CONFIG:-cups-config} --cflags 2>/dev/null`
13001 ac_cups_libs
=`${CUPS_CONFIG:-cups-config} --ldflags 2>/dev/null`
13002 CPPFLAGS
="$CPPFLAGS $ac_cups_cflags"
13003 for ac_header
in cups
/cups.h
13005 ac_fn_c_check_header_mongrel
"$LINENO" "cups/cups.h" "ac_cv_header_cups_cups_h" "$ac_includes_default"
13006 if test "x$ac_cv_header_cups_cups_h" = xyes
; then :
13007 cat >>confdefs.h
<<_ACEOF
13008 #define HAVE_CUPS_CUPS_H 1
13010 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lcups" >&5
13011 $as_echo_n "checking for -lcups... " >&6; }
13012 if ${ac_cv_lib_soname_cups+:} false
; then :
13013 $as_echo_n "(cached) " >&6
13015 ac_check_soname_save_LIBS
=$LIBS
13016 LIBS
="-lcups $ac_cups_libs $LIBS"
13017 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13018 /* end confdefs.h. */
13020 /* Override any GCC internal prototype to avoid an error.
13021 Use char because int might match the return type of a GCC
13022 builtin and then its argument prototype would still apply. */
13026 char cupsGetDefault ();
13030 return cupsGetDefault ();
13035 if ac_fn_c_try_link
"$LINENO"; then :
13037 dll
) ac_cv_lib_soname_cups
=`$ac_cv_path_LDD conftest.exe | grep "cups" | sed -e "s/dll.*/dll/"';2,$d'` ;;
13038 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'` ;;
13039 *) ac_cv_lib_soname_cups
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libcups\\.$LIBEXT" | sed -e "s/^.*\\[\\(libcups\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
13040 if ${ac_cv_lib_soname_cups:+false} :; then :
13041 ac_cv_lib_soname_cups
=`$LDD conftest$ac_exeext | grep "libcups\\.$LIBEXT" | sed -e "s/^.*\(libcups\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
13045 rm -f core conftest.err conftest.
$ac_objext \
13046 conftest
$ac_exeext conftest.
$ac_ext
13047 LIBS
=$ac_check_soname_save_LIBS
13049 if ${ac_cv_lib_soname_cups:+false} :; then :
13050 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13051 $as_echo "not found" >&6; }
13054 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_cups" >&5
13055 $as_echo "$ac_cv_lib_soname_cups" >&6; }
13057 cat >>confdefs.h
<<_ACEOF
13058 #define SONAME_LIBCUPS "$ac_cv_lib_soname_cups"
13061 CUPS_CFLAGS
="$ac_cups_cflags"
13063 for ac_header
in cups
/ppd.h
13065 ac_fn_c_check_header_mongrel
"$LINENO" "cups/ppd.h" "ac_cv_header_cups_ppd_h" "$ac_includes_default"
13066 if test "x$ac_cv_header_cups_ppd_h" = xyes
; then :
13067 cat >>confdefs.h
<<_ACEOF
13068 #define HAVE_CUPS_PPD_H 1
13079 CPPFLAGS
="$ac_save_CPPFLAGS"
13081 if test "x$ac_cv_lib_soname_cups" = "x"; then :
13082 case "x$with_cups" in
13083 x
) as_fn_append wine_notices
"|libcups ${notice_platform}development files not found, CUPS won't be supported." ;;
13085 *) as_fn_error $?
"libcups ${notice_platform}development files not found, CUPS won't be supported.
13086 This is an error since --with-cups was requested." "$LINENO" 5 ;;
13091 if test "x$with_fontconfig" != "xno"
13093 if ${FONTCONFIG_CFLAGS:+false} :; then :
13094 if ${PKG_CONFIG+:} false
; then :
13095 FONTCONFIG_CFLAGS
=`$PKG_CONFIG --cflags fontconfig 2>/dev/null`
13098 test "$cross_compiling" = yes || FONTCONFIG_CFLAGS
=${FONTCONFIG_CFLAGS:-$X_CFLAGS}
13099 if ${FONTCONFIG_LIBS:+false} :; then :
13100 if ${PKG_CONFIG+:} false
; then :
13101 FONTCONFIG_LIBS
=`$PKG_CONFIG --libs fontconfig 2>/dev/null`
13104 test "$cross_compiling" = yes || FONTCONFIG_LIBS
=${FONTCONFIG_LIBS:-$X_LIBS}
13106 $as_echo "$as_me:${as_lineno-$LINENO}: fontconfig cflags: $FONTCONFIG_CFLAGS" >&5
13107 $as_echo "$as_me:${as_lineno-$LINENO}: fontconfig libs: $FONTCONFIG_LIBS" >&5
13108 ac_save_CPPFLAGS
=$CPPFLAGS
13109 CPPFLAGS
="$CPPFLAGS $FONTCONFIG_CFLAGS"
13110 for ac_header
in fontconfig
/fontconfig.h
13112 ac_fn_c_check_header_mongrel
"$LINENO" "fontconfig/fontconfig.h" "ac_cv_header_fontconfig_fontconfig_h" "$ac_includes_default"
13113 if test "x$ac_cv_header_fontconfig_fontconfig_h" = xyes
; then :
13114 cat >>confdefs.h
<<_ACEOF
13115 #define HAVE_FONTCONFIG_FONTCONFIG_H 1
13122 if test "$ac_cv_header_fontconfig_fontconfig_h" = "yes"
13124 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lfontconfig" >&5
13125 $as_echo_n "checking for -lfontconfig... " >&6; }
13126 if ${ac_cv_lib_soname_fontconfig+:} false
; then :
13127 $as_echo_n "(cached) " >&6
13129 ac_check_soname_save_LIBS
=$LIBS
13130 LIBS
="-lfontconfig $FONTCONFIG_LIBS $LIBS"
13131 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13132 /* end confdefs.h. */
13134 /* Override any GCC internal prototype to avoid an error.
13135 Use char because int might match the return type of a GCC
13136 builtin and then its argument prototype would still apply. */
13149 if ac_fn_c_try_link
"$LINENO"; then :
13151 dll
) ac_cv_lib_soname_fontconfig
=`$ac_cv_path_LDD conftest.exe | grep "fontconfig" | sed -e "s/dll.*/dll/"';2,$d'` ;;
13152 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'` ;;
13153 *) ac_cv_lib_soname_fontconfig
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libfontconfig\\.$LIBEXT" | sed -e "s/^.*\\[\\(libfontconfig\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
13154 if ${ac_cv_lib_soname_fontconfig:+false} :; then :
13155 ac_cv_lib_soname_fontconfig
=`$LDD conftest$ac_exeext | grep "libfontconfig\\.$LIBEXT" | sed -e "s/^.*\(libfontconfig\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
13159 rm -f core conftest.err conftest.
$ac_objext \
13160 conftest
$ac_exeext conftest.
$ac_ext
13161 LIBS
=$ac_check_soname_save_LIBS
13163 if ${ac_cv_lib_soname_fontconfig:+false} :; then :
13164 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13165 $as_echo "not found" >&6; }
13166 FONTCONFIG_CFLAGS
=""
13168 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_fontconfig" >&5
13169 $as_echo "$ac_cv_lib_soname_fontconfig" >&6; }
13171 cat >>confdefs.h
<<_ACEOF
13172 #define SONAME_LIBFONTCONFIG "$ac_cv_lib_soname_fontconfig"
13178 FONTCONFIG_CFLAGS
=""
13180 CPPFLAGS
=$ac_save_CPPFLAGS
13181 test -z "$FONTCONFIG_CFLAGS" || FONTCONFIG_CFLAGS
=`echo " $FONTCONFIG_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
13182 test -z "$FONTCONFIG_LIBS" || FONTCONFIG_LIBS
=`echo " $FONTCONFIG_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
13185 if test "x$ac_cv_lib_soname_fontconfig" = "x"; then :
13186 case "x$with_fontconfig" in
13187 x
) as_fn_append wine_notices
"|fontconfig ${notice_platform}development files not found, fontconfig won't be supported." ;;
13189 *) as_fn_error $?
"fontconfig ${notice_platform}development files not found, fontconfig won't be supported.
13190 This is an error since --with-fontconfig was requested." "$LINENO" 5 ;;
13195 if test "$ac_cv_header_gsm_h" = "yes" -o "$ac_cv_header_gsm_gsm_h" = "yes"
13197 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lgsm" >&5
13198 $as_echo_n "checking for -lgsm... " >&6; }
13199 if ${ac_cv_lib_soname_gsm+:} false
; then :
13200 $as_echo_n "(cached) " >&6
13202 ac_check_soname_save_LIBS
=$LIBS
13204 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13205 /* end confdefs.h. */
13207 /* Override any GCC internal prototype to avoid an error.
13208 Use char because int might match the return type of a GCC
13209 builtin and then its argument prototype would still apply. */
13213 char gsm_create ();
13217 return gsm_create ();
13222 if ac_fn_c_try_link
"$LINENO"; then :
13224 dll
) ac_cv_lib_soname_gsm
=`$ac_cv_path_LDD conftest.exe | grep "gsm" | sed -e "s/dll.*/dll/"';2,$d'` ;;
13225 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'` ;;
13226 *) ac_cv_lib_soname_gsm
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libgsm\\.$LIBEXT" | sed -e "s/^.*\\[\\(libgsm\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
13227 if ${ac_cv_lib_soname_gsm:+false} :; then :
13228 ac_cv_lib_soname_gsm
=`$LDD conftest$ac_exeext | grep "libgsm\\.$LIBEXT" | sed -e "s/^.*\(libgsm\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
13232 rm -f core conftest.err conftest.
$ac_objext \
13233 conftest
$ac_exeext conftest.
$ac_ext
13234 LIBS
=$ac_check_soname_save_LIBS
13236 if ${ac_cv_lib_soname_gsm:+false} :; then :
13237 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13238 $as_echo "not found" >&6; }
13241 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_gsm" >&5
13242 $as_echo "$ac_cv_lib_soname_gsm" >&6; }
13244 cat >>confdefs.h
<<_ACEOF
13245 #define SONAME_LIBGSM "$ac_cv_lib_soname_gsm"
13251 if test "x$ac_cv_lib_soname_gsm" = "x"; then :
13252 case "x$with_gsm" in
13253 x
) as_fn_append wine_notices
"|libgsm ${notice_platform}development files not found, gsm 06.10 codec won't be supported." ;;
13255 *) as_fn_error $?
"libgsm ${notice_platform}development files not found, gsm 06.10 codec won't be supported.
13256 This is an error since --with-gsm was requested." "$LINENO" 5 ;;
13261 if test "x$with_jpeg" != "xno"
13263 if ${JPEG_CFLAGS:+false} :; then :
13264 if ${PKG_CONFIG+:} false
; then :
13265 JPEG_CFLAGS
=`$PKG_CONFIG --cflags libjpeg 2>/dev/null`
13269 if ${JPEG_LIBS:+false} :; then :
13270 if ${PKG_CONFIG+:} false
; then :
13271 JPEG_LIBS
=`$PKG_CONFIG --libs libjpeg 2>/dev/null`
13276 $as_echo "$as_me:${as_lineno-$LINENO}: libjpeg cflags: $JPEG_CFLAGS" >&5
13277 $as_echo "$as_me:${as_lineno-$LINENO}: libjpeg libs: $JPEG_LIBS" >&5
13278 ac_save_CPPFLAGS
=$CPPFLAGS
13279 CPPFLAGS
="$CPPFLAGS $JPEG_CFLAGS"
13280 for ac_header
in jpeglib.h
13282 ac_fn_c_check_header_mongrel
"$LINENO" "jpeglib.h" "ac_cv_header_jpeglib_h" "$ac_includes_default"
13283 if test "x$ac_cv_header_jpeglib_h" = xyes
; then :
13284 cat >>confdefs.h
<<_ACEOF
13285 #define HAVE_JPEGLIB_H 1
13292 if test "$ac_cv_header_jpeglib_h" = "yes"
13294 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -ljpeg" >&5
13295 $as_echo_n "checking for -ljpeg... " >&6; }
13296 if ${ac_cv_lib_soname_jpeg+:} false
; then :
13297 $as_echo_n "(cached) " >&6
13299 ac_check_soname_save_LIBS
=$LIBS
13300 LIBS
="-ljpeg $JPEG_LIBS $LIBS"
13301 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13302 /* end confdefs.h. */
13304 /* Override any GCC internal prototype to avoid an error.
13305 Use char because int might match the return type of a GCC
13306 builtin and then its argument prototype would still apply. */
13310 char jpeg_start_decompress ();
13314 return jpeg_start_decompress ();
13319 if ac_fn_c_try_link
"$LINENO"; then :
13321 dll
) ac_cv_lib_soname_jpeg
=`$ac_cv_path_LDD conftest.exe | grep "jpeg" | sed -e "s/dll.*/dll/"';2,$d'` ;;
13322 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'` ;;
13323 *) ac_cv_lib_soname_jpeg
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libjpeg\\.$LIBEXT" | sed -e "s/^.*\\[\\(libjpeg\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
13324 if ${ac_cv_lib_soname_jpeg:+false} :; then :
13325 ac_cv_lib_soname_jpeg
=`$LDD conftest$ac_exeext | grep "libjpeg\\.$LIBEXT" | sed -e "s/^.*\(libjpeg\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
13329 rm -f core conftest.err conftest.
$ac_objext \
13330 conftest
$ac_exeext conftest.
$ac_ext
13331 LIBS
=$ac_check_soname_save_LIBS
13333 if ${ac_cv_lib_soname_jpeg:+false} :; then :
13334 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13335 $as_echo "not found" >&6; }
13338 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_jpeg" >&5
13339 $as_echo "$ac_cv_lib_soname_jpeg" >&6; }
13341 cat >>confdefs.h
<<_ACEOF
13342 #define SONAME_LIBJPEG "$ac_cv_lib_soname_jpeg"
13350 CPPFLAGS
=$ac_save_CPPFLAGS
13351 test -z "$JPEG_CFLAGS" || JPEG_CFLAGS
=`echo " $JPEG_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
13352 test -z "$JPEG_LIBS" || JPEG_LIBS
=`echo " $JPEG_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
13355 if test "x$ac_cv_lib_soname_jpeg" = "x"; then :
13356 case "x$with_jpeg" in
13357 x
) as_fn_append wine_warnings
"|libjpeg ${notice_platform}development files not found, JPEG won't be supported." ;;
13359 *) as_fn_error $?
"libjpeg ${notice_platform}development files not found, JPEG won't be supported.
13360 This is an error since --with-jpeg was requested." "$LINENO" 5 ;;
13365 if test "x$with_png" != "xno"
13367 if ${PNG_CFLAGS:+false} :; then :
13368 if ${PKG_CONFIG+:} false
; then :
13369 PNG_CFLAGS
=`$PKG_CONFIG --cflags libpng 2>/dev/null`
13372 test "$cross_compiling" = yes || PNG_CFLAGS
=${PNG_CFLAGS:-$X_CFLAGS}
13373 if ${PNG_LIBS:+false} :; then :
13374 if ${PKG_CONFIG+:} false
; then :
13375 PNG_LIBS
=`$PKG_CONFIG --libs libpng 2>/dev/null`
13378 test "$cross_compiling" = yes || PNG_LIBS
=${PNG_LIBS:-$X_LIBS}
13380 $as_echo "$as_me:${as_lineno-$LINENO}: libpng cflags: $PNG_CFLAGS" >&5
13381 $as_echo "$as_me:${as_lineno-$LINENO}: libpng libs: $PNG_LIBS" >&5
13382 ac_save_CPPFLAGS
=$CPPFLAGS
13383 CPPFLAGS
="$CPPFLAGS $PNG_CFLAGS"
13384 for ac_header
in png.h
13386 ac_fn_c_check_header_mongrel
"$LINENO" "png.h" "ac_cv_header_png_h" "$ac_includes_default"
13387 if test "x$ac_cv_header_png_h" = xyes
; then :
13388 cat >>confdefs.h
<<_ACEOF
13389 #define HAVE_PNG_H 1
13396 if test "$ac_cv_header_png_h" = "yes"
13398 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lpng" >&5
13399 $as_echo_n "checking for -lpng... " >&6; }
13400 if ${ac_cv_lib_soname_png+:} false
; then :
13401 $as_echo_n "(cached) " >&6
13403 ac_check_soname_save_LIBS
=$LIBS
13404 LIBS
="-lpng $PNG_LIBS -lm -lz $LIBS"
13405 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13406 /* end confdefs.h. */
13408 /* Override any GCC internal prototype to avoid an error.
13409 Use char because int might match the return type of a GCC
13410 builtin and then its argument prototype would still apply. */
13414 char png_create_read_struct ();
13418 return png_create_read_struct ();
13423 if ac_fn_c_try_link
"$LINENO"; then :
13425 dll
) ac_cv_lib_soname_png
=`$ac_cv_path_LDD conftest.exe | grep "png" | sed -e "s/dll.*/dll/"';2,$d'` ;;
13426 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'` ;;
13427 *) 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'`
13428 if ${ac_cv_lib_soname_png:+false} :; then :
13429 ac_cv_lib_soname_png
=`$LDD conftest$ac_exeext | grep "libpng[0-9]*\\.$LIBEXT" | sed -e "s/^.*\(libpng[0-9]*\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
13433 rm -f core conftest.err conftest.
$ac_objext \
13434 conftest
$ac_exeext conftest.
$ac_ext
13435 LIBS
=$ac_check_soname_save_LIBS
13437 if ${ac_cv_lib_soname_png:+false} :; then :
13438 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13439 $as_echo "not found" >&6; }
13442 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_png" >&5
13443 $as_echo "$ac_cv_lib_soname_png" >&6; }
13445 cat >>confdefs.h
<<_ACEOF
13446 #define SONAME_LIBPNG "$ac_cv_lib_soname_png"
13449 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13450 /* end confdefs.h. */
13455 typeof(png_set_expand_gray_1_2_4_to_8) *p
13460 if ac_fn_c_try_compile
"$LINENO"; then :
13462 $as_echo "#define HAVE_PNG_SET_EXPAND_GRAY_1_2_4_TO_8 1" >>confdefs.h
13465 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
13470 CPPFLAGS
=$ac_save_CPPFLAGS
13471 test -z "$PNG_CFLAGS" || PNG_CFLAGS
=`echo " $PNG_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
13472 test -z "$PNG_LIBS" || PNG_LIBS
=`echo " $PNG_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
13475 if test "x$ac_cv_lib_soname_png" = "x"; then :
13476 case "x$with_png" in
13477 x
) as_fn_append wine_warnings
"|libpng ${notice_platform}development files not found, PNG won't be supported." ;;
13479 *) as_fn_error $?
"libpng ${notice_platform}development files not found, PNG won't be supported.
13480 This is an error since --with-png was requested." "$LINENO" 5 ;;
13485 if test "x$with_tiff" != "xno"
13487 if ${TIFF_CFLAGS:+false} :; then :
13488 if ${PKG_CONFIG+:} false
; then :
13489 TIFF_CFLAGS
=`$PKG_CONFIG --cflags libtiff-4 2>/dev/null`
13493 if ${TIFF_LIBS:+false} :; then :
13494 if ${PKG_CONFIG+:} false
; then :
13495 TIFF_LIBS
=`$PKG_CONFIG --libs libtiff-4 2>/dev/null`
13500 $as_echo "$as_me:${as_lineno-$LINENO}: libtiff-4 cflags: $TIFF_CFLAGS" >&5
13501 $as_echo "$as_me:${as_lineno-$LINENO}: libtiff-4 libs: $TIFF_LIBS" >&5
13502 ac_save_CPPFLAGS
=$CPPFLAGS
13503 CPPFLAGS
="$CPPFLAGS $TIFF_CFLAGS"
13504 for ac_header
in tiffio.h
13506 ac_fn_c_check_header_mongrel
"$LINENO" "tiffio.h" "ac_cv_header_tiffio_h" "$ac_includes_default"
13507 if test "x$ac_cv_header_tiffio_h" = xyes
; then :
13508 cat >>confdefs.h
<<_ACEOF
13509 #define HAVE_TIFFIO_H 1
13516 if test "$ac_cv_header_tiffio_h" = "yes"
13518 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -ltiff" >&5
13519 $as_echo_n "checking for -ltiff... " >&6; }
13520 if ${ac_cv_lib_soname_tiff+:} false
; then :
13521 $as_echo_n "(cached) " >&6
13523 ac_check_soname_save_LIBS
=$LIBS
13524 LIBS
="-ltiff $TIFF_LIBS $LIBS"
13525 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13526 /* end confdefs.h. */
13528 /* Override any GCC internal prototype to avoid an error.
13529 Use char because int might match the return type of a GCC
13530 builtin and then its argument prototype would still apply. */
13534 char TIFFClientOpen ();
13538 return TIFFClientOpen ();
13543 if ac_fn_c_try_link
"$LINENO"; then :
13545 dll
) ac_cv_lib_soname_tiff
=`$ac_cv_path_LDD conftest.exe | grep "tiff" | sed -e "s/dll.*/dll/"';2,$d'` ;;
13546 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'` ;;
13547 *) ac_cv_lib_soname_tiff
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libtiff\\.$LIBEXT" | sed -e "s/^.*\\[\\(libtiff\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
13548 if ${ac_cv_lib_soname_tiff:+false} :; then :
13549 ac_cv_lib_soname_tiff
=`$LDD conftest$ac_exeext | grep "libtiff\\.$LIBEXT" | sed -e "s/^.*\(libtiff\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
13553 rm -f core conftest.err conftest.
$ac_objext \
13554 conftest
$ac_exeext conftest.
$ac_ext
13555 LIBS
=$ac_check_soname_save_LIBS
13557 if ${ac_cv_lib_soname_tiff:+false} :; then :
13558 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13559 $as_echo "not found" >&6; }
13562 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_tiff" >&5
13563 $as_echo "$ac_cv_lib_soname_tiff" >&6; }
13565 cat >>confdefs.h
<<_ACEOF
13566 #define SONAME_LIBTIFF "$ac_cv_lib_soname_tiff"
13572 CPPFLAGS
=$ac_save_CPPFLAGS
13573 test -z "$TIFF_CFLAGS" || TIFF_CFLAGS
=`echo " $TIFF_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
13574 test -z "$TIFF_LIBS" || TIFF_LIBS
=`echo " $TIFF_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
13577 if test "x$ac_cv_lib_soname_tiff" = "x"; then :
13578 case "x$with_tiff" in
13579 x
) as_fn_append wine_notices
"|libtiff ${notice_platform}development files not found, TIFF won't be supported." ;;
13581 *) as_fn_error $?
"libtiff ${notice_platform}development files not found, TIFF won't be supported.
13582 This is an error since --with-tiff was requested." "$LINENO" 5 ;;
13587 if test "x$with_mpg123" != "xno"
13589 if ${MPG123_CFLAGS:+false} :; then :
13590 if ${PKG_CONFIG+:} false
; then :
13591 MPG123_CFLAGS
=`$PKG_CONFIG --cflags libmpg123 2>/dev/null`
13595 if ${MPG123_LIBS:+false} :; then :
13596 if ${PKG_CONFIG+:} false
; then :
13597 MPG123_LIBS
=`$PKG_CONFIG --libs libmpg123 2>/dev/null`
13601 MPG123_LIBS
=${MPG123_LIBS:-"-lmpg123"}
13602 $as_echo "$as_me:${as_lineno-$LINENO}: libmpg123 cflags: $MPG123_CFLAGS" >&5
13603 $as_echo "$as_me:${as_lineno-$LINENO}: libmpg123 libs: $MPG123_LIBS" >&5
13604 ac_save_CPPFLAGS
=$CPPFLAGS
13605 CPPFLAGS
="$CPPFLAGS $MPG123_CFLAGS"
13606 for ac_header
in mpg123.h
13608 ac_fn_c_check_header_mongrel
"$LINENO" "mpg123.h" "ac_cv_header_mpg123_h" "$ac_includes_default"
13609 if test "x$ac_cv_header_mpg123_h" = xyes
; then :
13610 cat >>confdefs.h
<<_ACEOF
13611 #define HAVE_MPG123_H 1
13618 if test "$ac_cv_header_mpg123_h" = "yes"
13620 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for mpg123_feed in -lmpg123" >&5
13621 $as_echo_n "checking for mpg123_feed in -lmpg123... " >&6; }
13622 if ${ac_cv_lib_mpg123_mpg123_feed+:} false
; then :
13623 $as_echo_n "(cached) " >&6
13625 ac_check_lib_save_LIBS
=$LIBS
13626 LIBS
="-lmpg123 $MPG123_LIBS $LIBS"
13627 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13628 /* end confdefs.h. */
13630 /* Override any GCC internal prototype to avoid an error.
13631 Use char because int might match the return type of a GCC
13632 builtin and then its argument prototype would still apply. */
13636 char mpg123_feed ();
13640 return mpg123_feed ();
13645 if ac_fn_c_try_link
"$LINENO"; then :
13646 ac_cv_lib_mpg123_mpg123_feed
=yes
13648 ac_cv_lib_mpg123_mpg123_feed
=no
13650 rm -f core conftest.err conftest.
$ac_objext \
13651 conftest
$ac_exeext conftest.
$ac_ext
13652 LIBS
=$ac_check_lib_save_LIBS
13654 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_mpg123_mpg123_feed" >&5
13655 $as_echo "$ac_cv_lib_mpg123_mpg123_feed" >&6; }
13656 if test "x$ac_cv_lib_mpg123_mpg123_feed" = xyes
; then :
13666 CPPFLAGS
=$ac_save_CPPFLAGS
13667 test -z "$MPG123_CFLAGS" || MPG123_CFLAGS
=`echo " $MPG123_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
13668 test -z "$MPG123_LIBS" || MPG123_LIBS
=`echo " $MPG123_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
13671 if test "x$ac_cv_lib_mpg123_mpg123_feed" != xyes
-a x
"$ac_cv_header_CoreAudio_CoreAudio_h" != xyes
; then :
13672 case "x$with_mpg123" in
13673 x
) as_fn_append wine_notices
"|libmpg123 ${notice_platform}development files not found (or too old), mp3 codec won't be supported." ;;
13675 *) as_fn_error $?
"libmpg123 ${notice_platform}development files not found (or too old), mp3 codec won't be supported.
13676 This is an error since --with-mpg123 was requested." "$LINENO" 5 ;;
13678 enable_winemp3_acm
=${enable_winemp3_acm:-no}
13681 if test "$ac_cv_header_AL_al_h" = "yes"
13683 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lopenal" >&5
13684 $as_echo_n "checking for -lopenal... " >&6; }
13685 if ${ac_cv_lib_soname_openal+:} false
; then :
13686 $as_echo_n "(cached) " >&6
13688 ac_check_soname_save_LIBS
=$LIBS
13689 LIBS
="-lopenal $LIBS"
13690 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13691 /* end confdefs.h. */
13693 /* Override any GCC internal prototype to avoid an error.
13694 Use char because int might match the return type of a GCC
13695 builtin and then its argument prototype would still apply. */
13699 char alGetSource3i ();
13703 return alGetSource3i ();
13708 if ac_fn_c_try_link
"$LINENO"; then :
13710 dll
) ac_cv_lib_soname_openal
=`$ac_cv_path_LDD conftest.exe | grep "openal" | sed -e "s/dll.*/dll/"';2,$d'` ;;
13711 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'` ;;
13712 *) ac_cv_lib_soname_openal
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libopenal\\.$LIBEXT" | sed -e "s/^.*\\[\\(libopenal\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
13713 if ${ac_cv_lib_soname_openal:+false} :; then :
13714 ac_cv_lib_soname_openal
=`$LDD conftest$ac_exeext | grep "libopenal\\.$LIBEXT" | sed -e "s/^.*\(libopenal\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
13718 rm -f core conftest.err conftest.
$ac_objext \
13719 conftest
$ac_exeext conftest.
$ac_ext
13720 LIBS
=$ac_check_soname_save_LIBS
13722 if ${ac_cv_lib_soname_openal:+false} :; then :
13723 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13724 $as_echo "not found" >&6; }
13727 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_openal" >&5
13728 $as_echo "$ac_cv_lib_soname_openal" >&6; }
13730 cat >>confdefs.h
<<_ACEOF
13731 #define SONAME_LIBOPENAL "$ac_cv_lib_soname_openal"
13734 OPENAL_LIBS
="-lopenal"
13736 ac_cv_lib_openal
=yes
13738 cat >>confdefs.h
<<_ACEOF
13739 #define HAVE_OPENAL 1
13744 if test "x$ac_cv_lib_openal" != xyes
; then :
13745 case "x$with_openal" in
13746 x
) as_fn_append wine_notices
"|libopenal ${notice_platform}development files not found (or too old), OpenAL won't be supported" ;;
13748 *) as_fn_error $?
"libopenal ${notice_platform}development files not found (or too old), OpenAL won't be supported
13749 This is an error since --with-openal was requested." "$LINENO" 5 ;;
13751 enable_openal32
=${enable_openal32:-no}
13754 if test "x$ac_cv_lib_openal" = xyes
13756 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for openal-soft" >&5
13757 $as_echo_n "checking for openal-soft... " >&6; }
13758 if ${ac_cv_have_openalsoft+:} false
; then :
13759 $as_echo_n "(cached) " >&6
13761 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13762 /* end confdefs.h. */
13764 #include <AL/alc.h>
13765 #include <AL/alext.h>
13766 LPALCRENDERSAMPLESSOFT x;
13775 if ac_fn_c_try_compile
"$LINENO"; then :
13776 ac_cv_have_openalsoft
=yes
13778 ac_cv_have_openalsoft
=no
13780 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
13782 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_openalsoft" >&5
13783 $as_echo "$ac_cv_have_openalsoft" >&6; }
13785 if test "x$ac_cv_have_openalsoft" != xyes
13787 as_fn_append wine_notices
"|openal-soft ${notice_platform}development files not found (or too old), XAudio2 won't be supported"
13788 enable_x3daudio1_0
=${enable_x3daudio1_0:-no}
13789 enable_x3daudio1_1
=${enable_x3daudio1_1:-no}
13790 enable_x3daudio1_2
=${enable_x3daudio1_2:-no}
13791 enable_x3daudio1_3
=${enable_x3daudio1_3:-no}
13792 enable_x3daudio1_4
=${enable_x3daudio1_4:-no}
13793 enable_x3daudio1_5
=${enable_x3daudio1_5:-no}
13794 enable_x3daudio1_6
=${enable_x3daudio1_6:-no}
13795 enable_x3daudio1_7
=${enable_x3daudio1_7:-no}
13796 enable_xapofx1_1
=${enable_xapofx1_1:-no}
13797 enable_xapofx1_2
=${enable_xapofx1_2:-no}
13798 enable_xapofx1_3
=${enable_xapofx1_3:-no}
13799 enable_xapofx1_4
=${enable_xapofx1_4:-no}
13800 enable_xapofx1_5
=${enable_xapofx1_5:-no}
13801 enable_xaudio2_0
=${enable_xaudio2_0:-no}
13802 enable_xaudio2_1
=${enable_xaudio2_1:-no}
13803 enable_xaudio2_2
=${enable_xaudio2_2:-no}
13804 enable_xaudio2_3
=${enable_xaudio2_3:-no}
13805 enable_xaudio2_4
=${enable_xaudio2_4:-no}
13806 enable_xaudio2_5
=${enable_xaudio2_5:-no}
13807 enable_xaudio2_6
=${enable_xaudio2_6:-no}
13808 enable_xaudio2_7
=${enable_xaudio2_7:-no}
13809 enable_xaudio2_8
=${enable_xaudio2_8:-no}
13810 enable_xaudio2_9
=${enable_xaudio2_9:-no}
13813 if test "$ac_cv_header_kstat_h" = "yes"
13815 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for kstat_open in -lkstat" >&5
13816 $as_echo_n "checking for kstat_open in -lkstat... " >&6; }
13817 if ${ac_cv_lib_kstat_kstat_open+:} false
; then :
13818 $as_echo_n "(cached) " >&6
13820 ac_check_lib_save_LIBS
=$LIBS
13821 LIBS
="-lkstat $LIBS"
13822 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13823 /* end confdefs.h. */
13825 /* Override any GCC internal prototype to avoid an error.
13826 Use char because int might match the return type of a GCC
13827 builtin and then its argument prototype would still apply. */
13831 char kstat_open ();
13835 return kstat_open ();
13840 if ac_fn_c_try_link
"$LINENO"; then :
13841 ac_cv_lib_kstat_kstat_open
=yes
13843 ac_cv_lib_kstat_kstat_open
=no
13845 rm -f core conftest.err conftest.
$ac_objext \
13846 conftest
$ac_exeext conftest.
$ac_ext
13847 LIBS
=$ac_check_lib_save_LIBS
13849 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_kstat_kstat_open" >&5
13850 $as_echo "$ac_cv_lib_kstat_kstat_open" >&6; }
13851 if test "x$ac_cv_lib_kstat_kstat_open" = xyes
; then :
13853 $as_echo "#define HAVE_LIBKSTAT 1" >>confdefs.h
13855 KSTAT_LIBS
="-lkstat"
13861 if test "$ac_cv_header_libprocstat_h" = "yes"
13863 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for procstat_open_sysctl in -lprocstat" >&5
13864 $as_echo_n "checking for procstat_open_sysctl in -lprocstat... " >&6; }
13865 if ${ac_cv_lib_procstat_procstat_open_sysctl+:} false
; then :
13866 $as_echo_n "(cached) " >&6
13868 ac_check_lib_save_LIBS
=$LIBS
13869 LIBS
="-lprocstat $LIBS"
13870 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13871 /* end confdefs.h. */
13873 /* Override any GCC internal prototype to avoid an error.
13874 Use char because int might match the return type of a GCC
13875 builtin and then its argument prototype would still apply. */
13879 char procstat_open_sysctl ();
13883 return procstat_open_sysctl ();
13888 if ac_fn_c_try_link
"$LINENO"; then :
13889 ac_cv_lib_procstat_procstat_open_sysctl
=yes
13891 ac_cv_lib_procstat_procstat_open_sysctl
=no
13893 rm -f core conftest.err conftest.
$ac_objext \
13894 conftest
$ac_exeext conftest.
$ac_ext
13895 LIBS
=$ac_check_lib_save_LIBS
13897 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_procstat_procstat_open_sysctl" >&5
13898 $as_echo "$ac_cv_lib_procstat_procstat_open_sysctl" >&6; }
13899 if test "x$ac_cv_lib_procstat_procstat_open_sysctl" = xyes
; then :
13901 $as_echo "#define HAVE_LIBPROCSTAT 1" >>confdefs.h
13903 PROCSTAT_LIBS
="-lprocstat"
13909 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lodbc" >&5
13910 $as_echo_n "checking for -lodbc... " >&6; }
13911 if ${ac_cv_lib_soname_odbc+:} false
; then :
13912 $as_echo_n "(cached) " >&6
13914 ac_check_soname_save_LIBS
=$LIBS
13915 LIBS
="-lodbc $LIBS"
13916 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13917 /* end confdefs.h. */
13919 /* Override any GCC internal prototype to avoid an error.
13920 Use char because int might match the return type of a GCC
13921 builtin and then its argument prototype would still apply. */
13925 char SQLConnect ();
13929 return SQLConnect ();
13934 if ac_fn_c_try_link
"$LINENO"; then :
13936 dll
) ac_cv_lib_soname_odbc
=`$ac_cv_path_LDD conftest.exe | grep "odbc" | sed -e "s/dll.*/dll/"';2,$d'` ;;
13937 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'` ;;
13938 *) ac_cv_lib_soname_odbc
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libodbc\\.$LIBEXT" | sed -e "s/^.*\\[\\(libodbc\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
13939 if ${ac_cv_lib_soname_odbc:+false} :; then :
13940 ac_cv_lib_soname_odbc
=`$LDD conftest$ac_exeext | grep "libodbc\\.$LIBEXT" | sed -e "s/^.*\(libodbc\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
13944 rm -f core conftest.err conftest.
$ac_objext \
13945 conftest
$ac_exeext conftest.
$ac_ext
13946 LIBS
=$ac_check_soname_save_LIBS
13948 if ${ac_cv_lib_soname_odbc:+false} :; then :
13949 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13950 $as_echo "not found" >&6; }
13951 cat >>confdefs.h
<<_ACEOF
13952 #define SONAME_LIBODBC "libodbc.$LIBEXT"
13956 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_odbc" >&5
13957 $as_echo "$ac_cv_lib_soname_odbc" >&6; }
13959 cat >>confdefs.h
<<_ACEOF
13960 #define SONAME_LIBODBC "$ac_cv_lib_soname_odbc"
13966 if test "x$with_netapi" != "xno"
13968 if ${NETAPI_CFLAGS:+false} :; then :
13969 if ${PKG_CONFIG+:} false
; then :
13970 NETAPI_CFLAGS
=`$PKG_CONFIG --cflags netapi 2>/dev/null`
13974 if ${NETAPI_LIBS:+false} :; then :
13975 if ${PKG_CONFIG+:} false
; then :
13976 NETAPI_LIBS
=`$PKG_CONFIG --libs netapi 2>/dev/null`
13981 $as_echo "$as_me:${as_lineno-$LINENO}: netapi cflags: $NETAPI_CFLAGS" >&5
13982 $as_echo "$as_me:${as_lineno-$LINENO}: netapi libs: $NETAPI_LIBS" >&5
13983 ac_save_CPPFLAGS
=$CPPFLAGS
13984 CPPFLAGS
="$CPPFLAGS $NETAPI_CFLAGS"
13985 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lnetapi" >&5
13986 $as_echo_n "checking for -lnetapi... " >&6; }
13987 if ${ac_cv_lib_soname_netapi+:} false
; then :
13988 $as_echo_n "(cached) " >&6
13990 ac_check_soname_save_LIBS
=$LIBS
13991 LIBS
="-lnetapi $NETAPI_LIBS $LIBS"
13992 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13993 /* end confdefs.h. */
13995 /* Override any GCC internal prototype to avoid an error.
13996 Use char because int might match the return type of a GCC
13997 builtin and then its argument prototype would still apply. */
14001 char libnetapi_init ();
14005 return libnetapi_init ();
14010 if ac_fn_c_try_link
"$LINENO"; then :
14012 dll
) ac_cv_lib_soname_netapi
=`$ac_cv_path_LDD conftest.exe | grep "netapi" | sed -e "s/dll.*/dll/"';2,$d'` ;;
14013 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'` ;;
14014 *) ac_cv_lib_soname_netapi
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libnetapi\\.$LIBEXT" | sed -e "s/^.*\\[\\(libnetapi\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
14015 if ${ac_cv_lib_soname_netapi:+false} :; then :
14016 ac_cv_lib_soname_netapi
=`$LDD conftest$ac_exeext | grep "libnetapi\\.$LIBEXT" | sed -e "s/^.*\(libnetapi\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
14020 rm -f core conftest.err conftest.
$ac_objext \
14021 conftest
$ac_exeext conftest.
$ac_ext
14022 LIBS
=$ac_check_soname_save_LIBS
14024 if ${ac_cv_lib_soname_netapi:+false} :; then :
14025 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
14026 $as_echo "not found" >&6; }
14027 cat >>confdefs.h
<<_ACEOF
14028 #define SONAME_LIBNETAPI "libnetapi.$LIBEXT"
14032 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_netapi" >&5
14033 $as_echo "$ac_cv_lib_soname_netapi" >&6; }
14035 cat >>confdefs.h
<<_ACEOF
14036 #define SONAME_LIBNETAPI "$ac_cv_lib_soname_netapi"
14041 CPPFLAGS
=$ac_save_CPPFLAGS
14042 test -z "$NETAPI_CFLAGS" || NETAPI_CFLAGS
=`echo " $NETAPI_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
14043 test -z "$NETAPI_LIBS" || NETAPI_LIBS
=`echo " $NETAPI_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
14047 if test "x$enable_winealsa_drv$enable_winecoreaudio_drv$enable_winepulse_drv$enable_wineoss_drv" = xnononono
-a \
14048 "x$with_alsa$with_coreaudio$with_oss$with_pulse" != xnononono
14050 as_fn_append wine_warnings
"|No sound system was found. Windows applications will be silent."
14056 if test "x${GCC}" = "xyes"
14058 EXTRACFLAGS
="-Wall -pipe"
14060 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gcc strength-reduce bug" >&5
14061 $as_echo_n "checking for gcc strength-reduce bug... " >&6; }
14062 if ${ac_cv_c_gcc_strength_bug+:} false
; then :
14063 $as_echo_n "(cached) " >&6
14065 if test "$cross_compiling" = yes; then :
14066 ac_cv_c_gcc_strength_bug
="no"
14068 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14069 /* end confdefs.h. */
14070 int L[4] = {0,1,2,3};
14074 static int Array[3];
14075 unsigned int B = 3;
14077 for(i=0; i<B; i++) Array[i] = i - 3;
14078 for(i=0; i<4 - 1; i++) L[i] = L[i + 1];
14080 return (Array[1] != -2 || L[2] != 3)
14085 if ac_fn_c_try_run
"$LINENO"; then :
14086 ac_cv_c_gcc_strength_bug
="no"
14088 ac_cv_c_gcc_strength_bug
="yes"
14090 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext \
14091 conftest.
$ac_objext conftest.beam conftest.
$ac_ext
14095 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_gcc_strength_bug" >&5
14096 $as_echo "$ac_cv_c_gcc_strength_bug" >&6; }
14097 if test "$ac_cv_c_gcc_strength_bug" = "yes"
14099 EXTRACFLAGS
="$EXTRACFLAGS -fno-strength-reduce"
14102 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fno-builtin" >&5
14103 $as_echo_n "checking whether the compiler supports -fno-builtin... " >&6; }
14104 if ${ac_cv_cflags__fno_builtin+:} false
; then :
14105 $as_echo_n "(cached) " >&6
14107 ac_wine_try_cflags_saved
=$CFLAGS
14108 CFLAGS
="$CFLAGS -fno-builtin"
14109 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14110 /* end confdefs.h. */
14111 int main(int argc, char **argv) { return 0; }
14113 if ac_fn_c_try_link
"$LINENO"; then :
14114 ac_cv_cflags__fno_builtin
=yes
14116 ac_cv_cflags__fno_builtin
=no
14118 rm -f core conftest.err conftest.
$ac_objext \
14119 conftest
$ac_exeext conftest.
$ac_ext
14120 CFLAGS
=$ac_wine_try_cflags_saved
14122 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fno_builtin" >&5
14123 $as_echo "$ac_cv_cflags__fno_builtin" >&6; }
14124 if test "x$ac_cv_cflags__fno_builtin" = xyes
; then :
14125 BUILTINFLAG
="-fno-builtin"
14128 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fno-strict-aliasing" >&5
14129 $as_echo_n "checking whether the compiler supports -fno-strict-aliasing... " >&6; }
14130 if ${ac_cv_cflags__fno_strict_aliasing+:} false
; then :
14131 $as_echo_n "(cached) " >&6
14133 ac_wine_try_cflags_saved
=$CFLAGS
14134 CFLAGS
="$CFLAGS -fno-strict-aliasing"
14135 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14136 /* end confdefs.h. */
14137 int main(int argc, char **argv) { return 0; }
14139 if ac_fn_c_try_link
"$LINENO"; then :
14140 ac_cv_cflags__fno_strict_aliasing
=yes
14142 ac_cv_cflags__fno_strict_aliasing
=no
14144 rm -f core conftest.err conftest.
$ac_objext \
14145 conftest
$ac_exeext conftest.
$ac_ext
14146 CFLAGS
=$ac_wine_try_cflags_saved
14148 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fno_strict_aliasing" >&5
14149 $as_echo "$ac_cv_cflags__fno_strict_aliasing" >&6; }
14150 if test "x$ac_cv_cflags__fno_strict_aliasing" = xyes
; then :
14151 EXTRACFLAGS
="$EXTRACFLAGS -fno-strict-aliasing"
14153 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fexcess-precision=standard" >&5
14154 $as_echo_n "checking whether the compiler supports -fexcess-precision=standard... " >&6; }
14155 if ${ac_cv_cflags__fexcess_precision_standard+:} false
; then :
14156 $as_echo_n "(cached) " >&6
14158 ac_wine_try_cflags_saved
=$CFLAGS
14159 CFLAGS
="$CFLAGS -fexcess-precision=standard"
14160 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14161 /* end confdefs.h. */
14162 int main(int argc, char **argv) { return 0; }
14164 if ac_fn_c_try_link
"$LINENO"; then :
14165 ac_cv_cflags__fexcess_precision_standard
=yes
14167 ac_cv_cflags__fexcess_precision_standard
=no
14169 rm -f core conftest.err conftest.
$ac_objext \
14170 conftest
$ac_exeext conftest.
$ac_ext
14171 CFLAGS
=$ac_wine_try_cflags_saved
14173 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fexcess_precision_standard" >&5
14174 $as_echo "$ac_cv_cflags__fexcess_precision_standard" >&6; }
14175 if test "x$ac_cv_cflags__fexcess_precision_standard" = xyes
; then :
14176 EXCESS_PRECISION_CFLAGS
="-fexcess-precision=standard"
14179 saved_CFLAGS
=$CFLAGS
14180 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Werror=unknown-warning-option" >&5
14181 $as_echo_n "checking whether the compiler supports -Werror=unknown-warning-option... " >&6; }
14182 if ${ac_cv_cflags__Werror_unknown_warning_option+:} false
; then :
14183 $as_echo_n "(cached) " >&6
14185 ac_wine_try_cflags_saved
=$CFLAGS
14186 CFLAGS
="$CFLAGS -Werror=unknown-warning-option"
14187 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14188 /* end confdefs.h. */
14189 int main(int argc, char **argv) { return 0; }
14191 if ac_fn_c_try_link
"$LINENO"; then :
14192 ac_cv_cflags__Werror_unknown_warning_option
=yes
14194 ac_cv_cflags__Werror_unknown_warning_option
=no
14196 rm -f core conftest.err conftest.
$ac_objext \
14197 conftest
$ac_exeext conftest.
$ac_ext
14198 CFLAGS
=$ac_wine_try_cflags_saved
14200 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Werror_unknown_warning_option" >&5
14201 $as_echo "$ac_cv_cflags__Werror_unknown_warning_option" >&6; }
14202 if test "x$ac_cv_cflags__Werror_unknown_warning_option" = xyes
; then :
14203 CFLAGS
="$CFLAGS -Werror=unknown-warning-option"
14205 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wdeclaration-after-statement" >&5
14206 $as_echo_n "checking whether the compiler supports -Wdeclaration-after-statement... " >&6; }
14207 if ${ac_cv_cflags__Wdeclaration_after_statement+:} false
; then :
14208 $as_echo_n "(cached) " >&6
14210 ac_wine_try_cflags_saved
=$CFLAGS
14211 CFLAGS
="$CFLAGS -Wdeclaration-after-statement"
14212 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14213 /* end confdefs.h. */
14214 int main(int argc, char **argv) { return 0; }
14216 if ac_fn_c_try_link
"$LINENO"; then :
14217 ac_cv_cflags__Wdeclaration_after_statement
=yes
14219 ac_cv_cflags__Wdeclaration_after_statement
=no
14221 rm -f core conftest.err conftest.
$ac_objext \
14222 conftest
$ac_exeext conftest.
$ac_ext
14223 CFLAGS
=$ac_wine_try_cflags_saved
14225 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wdeclaration_after_statement" >&5
14226 $as_echo "$ac_cv_cflags__Wdeclaration_after_statement" >&6; }
14227 if test "x$ac_cv_cflags__Wdeclaration_after_statement" = xyes
; then :
14228 EXTRACFLAGS
="$EXTRACFLAGS -Wdeclaration-after-statement"
14230 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wempty-body" >&5
14231 $as_echo_n "checking whether the compiler supports -Wempty-body... " >&6; }
14232 if ${ac_cv_cflags__Wempty_body+:} false
; then :
14233 $as_echo_n "(cached) " >&6
14235 ac_wine_try_cflags_saved
=$CFLAGS
14236 CFLAGS
="$CFLAGS -Wempty-body"
14237 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14238 /* end confdefs.h. */
14239 int main(int argc, char **argv) { return 0; }
14241 if ac_fn_c_try_link
"$LINENO"; then :
14242 ac_cv_cflags__Wempty_body
=yes
14244 ac_cv_cflags__Wempty_body
=no
14246 rm -f core conftest.err conftest.
$ac_objext \
14247 conftest
$ac_exeext conftest.
$ac_ext
14248 CFLAGS
=$ac_wine_try_cflags_saved
14250 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wempty_body" >&5
14251 $as_echo "$ac_cv_cflags__Wempty_body" >&6; }
14252 if test "x$ac_cv_cflags__Wempty_body" = xyes
; then :
14253 EXTRACFLAGS
="$EXTRACFLAGS -Wempty-body"
14255 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wignored-qualifiers" >&5
14256 $as_echo_n "checking whether the compiler supports -Wignored-qualifiers... " >&6; }
14257 if ${ac_cv_cflags__Wignored_qualifiers+:} false
; then :
14258 $as_echo_n "(cached) " >&6
14260 ac_wine_try_cflags_saved
=$CFLAGS
14261 CFLAGS
="$CFLAGS -Wignored-qualifiers"
14262 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14263 /* end confdefs.h. */
14264 int main(int argc, char **argv) { return 0; }
14266 if ac_fn_c_try_link
"$LINENO"; then :
14267 ac_cv_cflags__Wignored_qualifiers
=yes
14269 ac_cv_cflags__Wignored_qualifiers
=no
14271 rm -f core conftest.err conftest.
$ac_objext \
14272 conftest
$ac_exeext conftest.
$ac_ext
14273 CFLAGS
=$ac_wine_try_cflags_saved
14275 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wignored_qualifiers" >&5
14276 $as_echo "$ac_cv_cflags__Wignored_qualifiers" >&6; }
14277 if test "x$ac_cv_cflags__Wignored_qualifiers" = xyes
; then :
14278 EXTRACFLAGS
="$EXTRACFLAGS -Wignored-qualifiers"
14280 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wshift-overflow=2" >&5
14281 $as_echo_n "checking whether the compiler supports -Wshift-overflow=2... " >&6; }
14282 if ${ac_cv_cflags__Wshift_overflow_2+:} false
; then :
14283 $as_echo_n "(cached) " >&6
14285 ac_wine_try_cflags_saved
=$CFLAGS
14286 CFLAGS
="$CFLAGS -Wshift-overflow=2"
14287 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14288 /* end confdefs.h. */
14289 int main(int argc, char **argv) { return 0; }
14291 if ac_fn_c_try_link
"$LINENO"; then :
14292 ac_cv_cflags__Wshift_overflow_2
=yes
14294 ac_cv_cflags__Wshift_overflow_2
=no
14296 rm -f core conftest.err conftest.
$ac_objext \
14297 conftest
$ac_exeext conftest.
$ac_ext
14298 CFLAGS
=$ac_wine_try_cflags_saved
14300 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wshift_overflow_2" >&5
14301 $as_echo "$ac_cv_cflags__Wshift_overflow_2" >&6; }
14302 if test "x$ac_cv_cflags__Wshift_overflow_2" = xyes
; then :
14303 EXTRACFLAGS
="$EXTRACFLAGS -Wshift-overflow=2"
14305 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wstrict-prototypes" >&5
14306 $as_echo_n "checking whether the compiler supports -Wstrict-prototypes... " >&6; }
14307 if ${ac_cv_cflags__Wstrict_prototypes+:} false
; then :
14308 $as_echo_n "(cached) " >&6
14310 ac_wine_try_cflags_saved
=$CFLAGS
14311 CFLAGS
="$CFLAGS -Wstrict-prototypes"
14312 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14313 /* end confdefs.h. */
14314 int main(int argc, char **argv) { return 0; }
14316 if ac_fn_c_try_link
"$LINENO"; then :
14317 ac_cv_cflags__Wstrict_prototypes
=yes
14319 ac_cv_cflags__Wstrict_prototypes
=no
14321 rm -f core conftest.err conftest.
$ac_objext \
14322 conftest
$ac_exeext conftest.
$ac_ext
14323 CFLAGS
=$ac_wine_try_cflags_saved
14325 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wstrict_prototypes" >&5
14326 $as_echo "$ac_cv_cflags__Wstrict_prototypes" >&6; }
14327 if test "x$ac_cv_cflags__Wstrict_prototypes" = xyes
; then :
14328 EXTRACFLAGS
="$EXTRACFLAGS -Wstrict-prototypes"
14330 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wtype-limits" >&5
14331 $as_echo_n "checking whether the compiler supports -Wtype-limits... " >&6; }
14332 if ${ac_cv_cflags__Wtype_limits+:} false
; then :
14333 $as_echo_n "(cached) " >&6
14335 ac_wine_try_cflags_saved
=$CFLAGS
14336 CFLAGS
="$CFLAGS -Wtype-limits"
14337 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14338 /* end confdefs.h. */
14339 int main(int argc, char **argv) { return 0; }
14341 if ac_fn_c_try_link
"$LINENO"; then :
14342 ac_cv_cflags__Wtype_limits
=yes
14344 ac_cv_cflags__Wtype_limits
=no
14346 rm -f core conftest.err conftest.
$ac_objext \
14347 conftest
$ac_exeext conftest.
$ac_ext
14348 CFLAGS
=$ac_wine_try_cflags_saved
14350 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wtype_limits" >&5
14351 $as_echo "$ac_cv_cflags__Wtype_limits" >&6; }
14352 if test "x$ac_cv_cflags__Wtype_limits" = xyes
; then :
14353 EXTRACFLAGS
="$EXTRACFLAGS -Wtype-limits"
14355 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wunused-but-set-parameter" >&5
14356 $as_echo_n "checking whether the compiler supports -Wunused-but-set-parameter... " >&6; }
14357 if ${ac_cv_cflags__Wunused_but_set_parameter+:} false
; then :
14358 $as_echo_n "(cached) " >&6
14360 ac_wine_try_cflags_saved
=$CFLAGS
14361 CFLAGS
="$CFLAGS -Wunused-but-set-parameter"
14362 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14363 /* end confdefs.h. */
14364 int main(int argc, char **argv) { return 0; }
14366 if ac_fn_c_try_link
"$LINENO"; then :
14367 ac_cv_cflags__Wunused_but_set_parameter
=yes
14369 ac_cv_cflags__Wunused_but_set_parameter
=no
14371 rm -f core conftest.err conftest.
$ac_objext \
14372 conftest
$ac_exeext conftest.
$ac_ext
14373 CFLAGS
=$ac_wine_try_cflags_saved
14375 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wunused_but_set_parameter" >&5
14376 $as_echo "$ac_cv_cflags__Wunused_but_set_parameter" >&6; }
14377 if test "x$ac_cv_cflags__Wunused_but_set_parameter" = xyes
; then :
14378 EXTRACFLAGS
="$EXTRACFLAGS -Wunused-but-set-parameter"
14380 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wvla" >&5
14381 $as_echo_n "checking whether the compiler supports -Wvla... " >&6; }
14382 if ${ac_cv_cflags__Wvla+:} false
; then :
14383 $as_echo_n "(cached) " >&6
14385 ac_wine_try_cflags_saved
=$CFLAGS
14386 CFLAGS
="$CFLAGS -Wvla"
14387 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14388 /* end confdefs.h. */
14389 int main(int argc, char **argv) { return 0; }
14391 if ac_fn_c_try_link
"$LINENO"; then :
14392 ac_cv_cflags__Wvla
=yes
14394 ac_cv_cflags__Wvla
=no
14396 rm -f core conftest.err conftest.
$ac_objext \
14397 conftest
$ac_exeext conftest.
$ac_ext
14398 CFLAGS
=$ac_wine_try_cflags_saved
14400 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wvla" >&5
14401 $as_echo "$ac_cv_cflags__Wvla" >&6; }
14402 if test "x$ac_cv_cflags__Wvla" = xyes
; then :
14403 EXTRACFLAGS
="$EXTRACFLAGS -Wvla"
14405 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wwrite-strings" >&5
14406 $as_echo_n "checking whether the compiler supports -Wwrite-strings... " >&6; }
14407 if ${ac_cv_cflags__Wwrite_strings+:} false
; then :
14408 $as_echo_n "(cached) " >&6
14410 ac_wine_try_cflags_saved
=$CFLAGS
14411 CFLAGS
="$CFLAGS -Wwrite-strings"
14412 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14413 /* end confdefs.h. */
14414 int main(int argc, char **argv) { return 0; }
14416 if ac_fn_c_try_link
"$LINENO"; then :
14417 ac_cv_cflags__Wwrite_strings
=yes
14419 ac_cv_cflags__Wwrite_strings
=no
14421 rm -f core conftest.err conftest.
$ac_objext \
14422 conftest
$ac_exeext conftest.
$ac_ext
14423 CFLAGS
=$ac_wine_try_cflags_saved
14425 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wwrite_strings" >&5
14426 $as_echo "$ac_cv_cflags__Wwrite_strings" >&6; }
14427 if test "x$ac_cv_cflags__Wwrite_strings" = xyes
; then :
14428 EXTRACFLAGS
="$EXTRACFLAGS -Wwrite-strings"
14431 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wpointer-arith" >&5
14432 $as_echo_n "checking whether the compiler supports -Wpointer-arith... " >&6; }
14433 if ${ac_cv_cflags__Wpointer_arith+:} false
; then :
14434 $as_echo_n "(cached) " >&6
14436 ac_wine_try_cflags_saved
=$CFLAGS
14437 CFLAGS
="$CFLAGS -Wpointer-arith"
14438 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14439 /* end confdefs.h. */
14440 int main(int argc, char **argv) { return 0; }
14442 if ac_fn_c_try_link
"$LINENO"; then :
14443 ac_cv_cflags__Wpointer_arith
=yes
14445 ac_cv_cflags__Wpointer_arith
=no
14447 rm -f core conftest.err conftest.
$ac_objext \
14448 conftest
$ac_exeext conftest.
$ac_ext
14449 CFLAGS
=$ac_wine_try_cflags_saved
14451 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wpointer_arith" >&5
14452 $as_echo "$ac_cv_cflags__Wpointer_arith" >&6; }
14453 if test "x$ac_cv_cflags__Wpointer_arith" = xyes
; then :
14454 saved_string_h_CFLAGS
=$CFLAGS
14455 CFLAGS
="$CFLAGS -Wpointer-arith -Werror"
14456 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for broken string.h that generates warnings with -Wpointer-arith" >&5
14457 $as_echo_n "checking for broken string.h that generates warnings with -Wpointer-arith... " >&6; }
14458 if ${ac_cv_c_string_h_warnings+:} false
; then :
14459 $as_echo_n "(cached) " >&6
14461 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14462 /* end confdefs.h. */
14463 #include <string.h>
14472 if ac_fn_c_try_compile
"$LINENO"; then :
14473 ac_cv_c_string_h_warnings
=no
14475 ac_cv_c_string_h_warnings
=yes
14477 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
14479 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_string_h_warnings" >&5
14480 $as_echo "$ac_cv_c_string_h_warnings" >&6; }
14481 test "$ac_cv_c_string_h_warnings" = yes || EXTRACFLAGS
="$EXTRACFLAGS -Wpointer-arith"
14482 CFLAGS
=$saved_string_h_CFLAGS
14485 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wlogical-op" >&5
14486 $as_echo_n "checking whether the compiler supports -Wlogical-op... " >&6; }
14487 if ${ac_cv_cflags__Wlogical_op+:} false
; then :
14488 $as_echo_n "(cached) " >&6
14490 ac_wine_try_cflags_saved
=$CFLAGS
14491 CFLAGS
="$CFLAGS -Wlogical-op"
14492 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14493 /* end confdefs.h. */
14494 int main(int argc, char **argv) { return 0; }
14496 if ac_fn_c_try_link
"$LINENO"; then :
14497 ac_cv_cflags__Wlogical_op
=yes
14499 ac_cv_cflags__Wlogical_op
=no
14501 rm -f core conftest.err conftest.
$ac_objext \
14502 conftest
$ac_exeext conftest.
$ac_ext
14503 CFLAGS
=$ac_wine_try_cflags_saved
14505 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wlogical_op" >&5
14506 $as_echo "$ac_cv_cflags__Wlogical_op" >&6; }
14507 if test "x$ac_cv_cflags__Wlogical_op" = xyes
; then :
14508 saved_string_h_CFLAGS
=$CFLAGS
14509 CFLAGS
="$CFLAGS -Wlogical-op -Werror"
14510 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for broken string.h that generates warnings with -Wlogical-op" >&5
14511 $as_echo_n "checking for broken string.h that generates warnings with -Wlogical-op... " >&6; }
14512 if ${ac_cv_c_logicalop_noisy+:} false
; then :
14513 $as_echo_n "(cached) " >&6
14515 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14516 /* end confdefs.h. */
14517 #include <string.h>
14518 char*f(const char *h,char n) {return strchr(h,n);}
14527 if ac_fn_c_try_compile
"$LINENO"; then :
14528 ac_cv_c_logicalop_noisy
=no
14530 ac_cv_c_logicalop_noisy
=yes
14532 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
14534 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_logicalop_noisy" >&5
14535 $as_echo "$ac_cv_c_logicalop_noisy" >&6; }
14536 CFLAGS
=$saved_string_h_CFLAGS
14537 test "$ac_cv_c_logicalop_noisy" = yes || EXTRACFLAGS
="$EXTRACFLAGS -Wlogical-op"
14540 CFLAGS
=$saved_CFLAGS
14542 for ac_flag
in $CFLAGS; do
14544 -g) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -gdwarf-2" >&5
14545 $as_echo_n "checking whether the compiler supports -gdwarf-2... " >&6; }
14546 if ${ac_cv_cflags__gdwarf_2+:} false
; then :
14547 $as_echo_n "(cached) " >&6
14549 ac_wine_try_cflags_saved
=$CFLAGS
14550 CFLAGS
="$CFLAGS -gdwarf-2"
14551 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14552 /* end confdefs.h. */
14553 int main(int argc, char **argv) { return 0; }
14555 if ac_fn_c_try_link
"$LINENO"; then :
14556 ac_cv_cflags__gdwarf_2
=yes
14558 ac_cv_cflags__gdwarf_2
=no
14560 rm -f core conftest.err conftest.
$ac_objext \
14561 conftest
$ac_exeext conftest.
$ac_ext
14562 CFLAGS
=$ac_wine_try_cflags_saved
14564 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__gdwarf_2" >&5
14565 $as_echo "$ac_cv_cflags__gdwarf_2" >&6; }
14566 if test "x$ac_cv_cflags__gdwarf_2" = xyes
; then :
14567 EXTRACFLAGS
="$EXTRACFLAGS -gdwarf-2"
14569 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -gstrict-dwarf" >&5
14570 $as_echo_n "checking whether the compiler supports -gstrict-dwarf... " >&6; }
14571 if ${ac_cv_cflags__gstrict_dwarf+:} false
; then :
14572 $as_echo_n "(cached) " >&6
14574 ac_wine_try_cflags_saved
=$CFLAGS
14575 CFLAGS
="$CFLAGS -gstrict-dwarf"
14576 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14577 /* end confdefs.h. */
14578 int main(int argc, char **argv) { return 0; }
14580 if ac_fn_c_try_link
"$LINENO"; then :
14581 ac_cv_cflags__gstrict_dwarf
=yes
14583 ac_cv_cflags__gstrict_dwarf
=no
14585 rm -f core conftest.err conftest.
$ac_objext \
14586 conftest
$ac_exeext conftest.
$ac_ext
14587 CFLAGS
=$ac_wine_try_cflags_saved
14589 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__gstrict_dwarf" >&5
14590 $as_echo "$ac_cv_cflags__gstrict_dwarf" >&6; }
14591 if test "x$ac_cv_cflags__gstrict_dwarf" = xyes
; then :
14592 EXTRACFLAGS
="$EXTRACFLAGS -gstrict-dwarf"
14598 *i
[3456789]86*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fno-omit-frame-pointer" >&5
14599 $as_echo_n "checking whether the compiler supports -fno-omit-frame-pointer... " >&6; }
14600 if ${ac_cv_cflags__fno_omit_frame_pointer+:} false
; then :
14601 $as_echo_n "(cached) " >&6
14603 ac_wine_try_cflags_saved
=$CFLAGS
14604 CFLAGS
="$CFLAGS -fno-omit-frame-pointer"
14605 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14606 /* end confdefs.h. */
14607 int main(int argc, char **argv) { return 0; }
14609 if ac_fn_c_try_link
"$LINENO"; then :
14610 ac_cv_cflags__fno_omit_frame_pointer
=yes
14612 ac_cv_cflags__fno_omit_frame_pointer
=no
14614 rm -f core conftest.err conftest.
$ac_objext \
14615 conftest
$ac_exeext conftest.
$ac_ext
14616 CFLAGS
=$ac_wine_try_cflags_saved
14618 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fno_omit_frame_pointer" >&5
14619 $as_echo "$ac_cv_cflags__fno_omit_frame_pointer" >&6; }
14620 if test "x$ac_cv_cflags__fno_omit_frame_pointer" = xyes
; then :
14621 EXTRACFLAGS
="$EXTRACFLAGS -fno-omit-frame-pointer"
14626 x86_64-
*mingw32
*|x86_64-
*cygwin
*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wno-format" >&5
14627 $as_echo_n "checking whether the compiler supports -Wno-format... " >&6; }
14628 if ${ac_cv_cflags__Wno_format+:} false
; then :
14629 $as_echo_n "(cached) " >&6
14631 ac_wine_try_cflags_saved
=$CFLAGS
14632 CFLAGS
="$CFLAGS -Wno-format"
14633 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14634 /* end confdefs.h. */
14635 int main(int argc, char **argv) { return 0; }
14637 if ac_fn_c_try_link
"$LINENO"; then :
14638 ac_cv_cflags__Wno_format
=yes
14640 ac_cv_cflags__Wno_format
=no
14642 rm -f core conftest.err conftest.
$ac_objext \
14643 conftest
$ac_exeext conftest.
$ac_ext
14644 CFLAGS
=$ac_wine_try_cflags_saved
14646 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wno_format" >&5
14647 $as_echo "$ac_cv_cflags__Wno_format" >&6; }
14648 if test "x$ac_cv_cflags__Wno_format" = xyes
; then :
14649 EXTRACFLAGS
="$EXTRACFLAGS -Wno-format"
14653 if test "x$enable_maintainer_mode" = "xyes"
14655 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Werror" >&5
14656 $as_echo_n "checking whether the compiler supports -Werror... " >&6; }
14657 if ${ac_cv_cflags__Werror+:} false
; then :
14658 $as_echo_n "(cached) " >&6
14660 ac_wine_try_cflags_saved
=$CFLAGS
14661 CFLAGS
="$CFLAGS -Werror"
14662 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14663 /* end confdefs.h. */
14664 int main(int argc, char **argv) { return 0; }
14666 if ac_fn_c_try_link
"$LINENO"; then :
14667 ac_cv_cflags__Werror
=yes
14669 ac_cv_cflags__Werror
=no
14671 rm -f core conftest.err conftest.
$ac_objext \
14672 conftest
$ac_exeext conftest.
$ac_ext
14673 CFLAGS
=$ac_wine_try_cflags_saved
14675 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Werror" >&5
14676 $as_echo "$ac_cv_cflags__Werror" >&6; }
14677 if test "x$ac_cv_cflags__Werror" = xyes
; then :
14678 EXTRACFLAGS
="$EXTRACFLAGS -Werror"
14682 saved_CFLAGS
="$CFLAGS"
14683 CFLAGS
="$CFLAGS -Werror"
14684 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ms_hook_prologue attribute" >&5
14685 $as_echo_n "checking for ms_hook_prologue attribute... " >&6; }
14686 if ${ac_cv_have_ms_hook_prologue+:} false
; then :
14687 $as_echo_n "(cached) " >&6
14689 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14690 /* end confdefs.h. */
14691 int __attribute__((__ms_hook_prologue__)) test(void) { return 0; }
14700 if ac_fn_c_try_compile
"$LINENO"; then :
14701 ac_cv_have_ms_hook_prologue
="yes"
14703 ac_cv_have_ms_hook_prologue
="no"
14705 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
14707 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_ms_hook_prologue" >&5
14708 $as_echo "$ac_cv_have_ms_hook_prologue" >&6; }
14709 CFLAGS
="$saved_CFLAGS"
14710 if test "$ac_cv_have_ms_hook_prologue" = "yes"
14713 $as_echo "#define DECLSPEC_HOTPATCH __attribute__((__ms_hook_prologue__))" >>confdefs.h
14716 $as_echo "#define DECLSPEC_HOTPATCH /* */" >>confdefs.h
14722 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for the need to disable Fortify" >&5
14723 $as_echo_n "checking for the need to disable Fortify... " >&6; }
14724 if ${ac_cv_c_fortify_enabled+:} false
; then :
14725 $as_echo_n "(cached) " >&6
14727 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14728 /* end confdefs.h. */
14729 #include <string.h>
14733 #if (defined(__USE_FORTIFY_LEVEL) && __USE_FORTIFY_LEVEL > 0) || (defined(_FORTIFY_SOURCE) && _FORTIFY_SOURCE > 0)
14734 #error Fortify enabled
14740 if ac_fn_c_try_compile
"$LINENO"; then :
14741 ac_cv_c_fortify_enabled
=no
14743 ac_cv_c_fortify_enabled
=yes
14745 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
14747 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_fortify_enabled" >&5
14748 $as_echo "$ac_cv_c_fortify_enabled" >&6; }
14749 if test "$ac_cv_c_fortify_enabled" = yes
14751 CFLAGS
="$CFLAGS -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=0"
14755 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether external symbols need an underscore prefix" >&5
14756 $as_echo_n "checking whether external symbols need an underscore prefix... " >&6; }
14757 if ${ac_cv_c_extern_prefix+:} false
; then :
14758 $as_echo_n "(cached) " >&6
14760 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14761 /* end confdefs.h. */
14762 extern int ac_test;
14766 asm(".globl _ac_test\n_ac_test:\t.long 0"); if (ac_test) return 1
14771 if ac_fn_c_try_link
"$LINENO"; then :
14772 ac_cv_c_extern_prefix
="yes"
14774 ac_cv_c_extern_prefix
="no"
14776 rm -f core conftest.err conftest.
$ac_objext \
14777 conftest
$ac_exeext conftest.
$ac_ext
14779 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_extern_prefix" >&5
14780 $as_echo "$ac_cv_c_extern_prefix" >&6; }
14784 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether external symbols need stdcall decoration" >&5
14785 $as_echo_n "checking whether external symbols need stdcall decoration... " >&6; }
14786 if ${ac_cv_c_stdcall_suffix+:} false
; then :
14787 $as_echo_n "(cached) " >&6
14789 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14790 /* end confdefs.h. */
14792 #define __stdcall __attribute__((__stdcall__))
14794 int __stdcall ac_test(int i) { return i; }
14798 asm("jmp _ac_test@4"); if (ac_test(1)) return 1
14803 if ac_fn_c_try_link
"$LINENO"; then :
14804 ac_cv_c_stdcall_suffix
="yes"
14806 ac_cv_c_stdcall_suffix
="no"
14808 rm -f core conftest.err conftest.
$ac_objext \
14809 conftest
$ac_exeext conftest.
$ac_ext
14811 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_stdcall_suffix" >&5
14812 $as_echo "$ac_cv_c_stdcall_suffix" >&6; } ;;
14813 *) ac_cv_c_stdcall_suffix
="no" ;;
14817 if test "$ac_cv_c_extern_prefix" = "yes"
14819 $as_echo "#define __ASM_NAME(name) \"_\" name" >>confdefs.h
14821 asm_name_prefix
="_"
14823 $as_echo "#define __ASM_NAME(name) name" >>confdefs.h
14829 if test "$ac_cv_c_stdcall_suffix" = "yes"
14831 $as_echo "#define __ASM_STDCALL(args) \"@\" #args" >>confdefs.h
14834 $as_echo "#define __ASM_STDCALL(args) \"\"" >>confdefs.h
14839 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to define a function in assembly code" >&5
14840 $as_echo_n "checking how to define a function in assembly code... " >&6; }
14841 if ${ac_cv_asm_func_def+:} false
; then :
14842 $as_echo_n "(cached) " >&6
14844 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14845 /* end confdefs.h. */
14850 asm("\t.globl _ac_test\n\t.def _ac_test; .scl 2; .type 32; .endef\n_ac_test:\t.long 0");
14855 if ac_fn_c_try_link
"$LINENO"; then :
14856 ac_cv_asm_func_def
=".def"
14858 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14859 /* end confdefs.h. */
14864 asm("\t.globl _ac_test\n\t.type _ac_test,@function\n_ac_test:\t.long 0");
14869 if ac_fn_c_try_link
"$LINENO"; then :
14870 ac_cv_asm_func_def
=".type @function"
14872 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14873 /* end confdefs.h. */
14878 asm("\t.globl _ac_test\n\t.type _ac_test,2\n_ac_test:\t.long 0");
14883 if ac_fn_c_try_link
"$LINENO"; then :
14884 ac_cv_asm_func_def
=".type 2"
14886 ac_cv_asm_func_def
="unknown"
14888 rm -f core conftest.err conftest.
$ac_objext \
14889 conftest
$ac_exeext conftest.
$ac_ext
14891 rm -f core conftest.err conftest.
$ac_objext \
14892 conftest
$ac_exeext conftest.
$ac_ext
14894 rm -f core conftest.err conftest.
$ac_objext \
14895 conftest
$ac_exeext conftest.
$ac_ext
14897 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_asm_func_def" >&5
14898 $as_echo "$ac_cv_asm_func_def" >&6; }
14901 case "$ac_cv_asm_func_def" in
14903 $as_echo "#define __ASM_FUNC(name) \".def \" __ASM_NAME(name) \"; .scl 2; .type 32; .endef\"" >>confdefs.h
14905 asm_func_header
=".def $asm_name_prefix\" #name suffix \"; .scl 2; .type 32; .endef" ;;
14907 $as_echo "#define __ASM_FUNC(name) \".type \" __ASM_NAME(name) \",@function\"" >>confdefs.h
14909 asm_func_header
=".type $asm_name_prefix\" #name suffix \",@function" ;;
14911 $as_echo "#define __ASM_FUNC(name) \".type \" __ASM_NAME(name) \",2\"" >>confdefs.h
14913 asm_func_header
=".type $asm_name_prefix\" #name suffix \",2" ;;
14915 $as_echo "#define __ASM_FUNC(name) \"\"" >>confdefs.h
14917 asm_func_header
="" ;;
14920 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether asm() works outside of functions" >&5
14921 $as_echo_n "checking whether asm() works outside of functions... " >&6; }
14922 if ${ac_cv_c_asm_outside_funcs+:} false
; then :
14923 $as_echo_n "(cached) " >&6
14925 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14926 /* end confdefs.h. */
14927 asm(".text\n\t.long 0");
14936 if ac_fn_c_try_compile
"$LINENO"; then :
14937 ac_cv_c_asm_outside_funcs
="yes"
14939 ac_cv_c_asm_outside_funcs
="no"
14941 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
14943 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_asm_outside_funcs" >&5
14944 $as_echo "$ac_cv_c_asm_outside_funcs" >&6; }
14946 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether .previous is supported in assembly code" >&5
14947 $as_echo_n "checking whether .previous is supported in assembly code... " >&6; }
14948 if ${ac_cv_c_dot_previous+:} false
; then :
14949 $as_echo_n "(cached) " >&6
14951 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14952 /* end confdefs.h. */
14957 asm(".text\nac_test:\t.long 0\n\t.previous");
14962 if ac_fn_c_try_link
"$LINENO"; then :
14963 ac_cv_c_dot_previous
="yes"
14965 ac_cv_c_dot_previous
="no"
14967 rm -f core conftest.err conftest.
$ac_objext \
14968 conftest
$ac_exeext conftest.
$ac_ext
14970 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_dot_previous" >&5
14971 $as_echo "$ac_cv_c_dot_previous" >&6; }
14973 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether CFI directives are supported in assembly code" >&5
14974 $as_echo_n "checking whether CFI directives are supported in assembly code... " >&6; }
14975 if ${ac_cv_c_cfi_support+:} false
; then :
14976 $as_echo_n "(cached) " >&6
14978 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14979 /* end confdefs.h. */
14980 asm(".text\nac_test:\t.cfi_startproc\n\t.long 0\n\t.cfi_endproc");
14989 if ac_fn_c_try_compile
"$LINENO"; then :
14990 ac_cv_c_cfi_support
="yes"
14992 ac_cv_c_cfi_support
="no"
14994 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
14996 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_cfi_support" >&5
14997 $as_echo "$ac_cv_c_cfi_support" >&6; }
14999 asm_func_header
=".globl $asm_name_prefix\" #name suffix \"\\n\\t$asm_func_header\\n$asm_name_prefix\" #name suffix \":\\n\\t"
15000 asm_func_trailer
=""
15001 if test "$ac_cv_c_dot_previous" = "yes"
15003 asm_func_trailer
="\\n\\t.previous"
15005 if test "$ac_cv_c_cfi_support" = "yes"
15007 asm_func_header
="$asm_func_header.cfi_startproc\\n\\t"
15008 asm_func_trailer
="\\n\\t.cfi_endproc$asm_func_trailer"
15010 $as_echo "#define __ASM_CFI(str) str" >>confdefs.h
15012 UNWINDFLAGS
=-fasynchronous-unwind-tables
15015 $as_echo "#define __ASM_CFI(str) \"\"" >>confdefs.h
15017 if test "x$enable_win64" = "xyes"
15019 as_fn_append wine_warnings
"|building 64-bit Wine without support for CFI directives; exception handling will not work properly."
15023 asm_func_code
="$asm_func_header\" code \"$asm_func_trailer"
15026 if test "$ac_cv_c_asm_outside_funcs" = "yes"
15028 cat >>confdefs.h
<<_ACEOF
15029 #define __ASM_DEFINE_FUNC(name,suffix,code) asm(".text\n\t.align 4\n\t$asm_func_code");
15033 cat >>confdefs.h
<<_ACEOF
15034 #define __ASM_DEFINE_FUNC(name,suffix,code) void __asm_dummy_##name(void) { asm(".text\n\t.align 4\n\t$asm_func_code"); }
15039 $as_echo "#define __ASM_GLOBAL_FUNC(name,code) __ASM_DEFINE_FUNC(name,\"\",code)" >>confdefs.h
15042 $as_echo "#define __ASM_STDCALL_FUNC(name,args,code) __ASM_DEFINE_FUNC(name,__ASM_STDCALL(args),code)" >>confdefs.h
15047 cygwin
*|mingw32
*) TOOLSEXT
=".exe"
15055 *i
[3456789]86*|x86_64
*)
15056 test "$wine_binary" = wine || wine_fn_append_file CONFIGURE_TARGETS
"loader/wine-preloader"
15057 WINELOADER_PROGRAMS
="$WINELOADER_PROGRAMS $wine_binary-preloader"
15064 ac_save_CFLAGS
="$CFLAGS"
15065 CFLAGS
="$CFLAGS $BUILTINFLAG"
15145 as_ac_var
=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
15146 ac_fn_c_check_func
"$LINENO" "$ac_func" "$as_ac_var"
15147 if eval test \"x\$
"$as_ac_var"\" = x
"yes"; then :
15148 cat >>confdefs.h
<<_ACEOF
15149 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
15155 CFLAGS
="$ac_save_CFLAGS"
15157 if test "$ac_cv_func_dlopen" = no
15159 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
15160 $as_echo_n "checking for dlopen in -ldl... " >&6; }
15161 if ${ac_cv_lib_dl_dlopen+:} false
; then :
15162 $as_echo_n "(cached) " >&6
15164 ac_check_lib_save_LIBS
=$LIBS
15166 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15167 /* end confdefs.h. */
15169 /* Override any GCC internal prototype to avoid an error.
15170 Use char because int might match the return type of a GCC
15171 builtin and then its argument prototype would still apply. */
15184 if ac_fn_c_try_link
"$LINENO"; then :
15185 ac_cv_lib_dl_dlopen
=yes
15187 ac_cv_lib_dl_dlopen
=no
15189 rm -f core conftest.err conftest.
$ac_objext \
15190 conftest
$ac_exeext conftest.
$ac_ext
15191 LIBS
=$ac_check_lib_save_LIBS
15193 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
15194 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
15195 if test "x$ac_cv_lib_dl_dlopen" = xyes
; then :
15196 $as_echo "#define HAVE_DLOPEN 1" >>confdefs.h
15202 ac_wine_check_funcs_save_LIBS
="$LIBS"
15203 LIBS
="$LIBS $DL_LIBS"
15204 for ac_func
in dladdr
15206 ac_fn_c_check_func
"$LINENO" "dladdr" "ac_cv_func_dladdr"
15207 if test "x$ac_cv_func_dladdr" = xyes
; then :
15208 cat >>confdefs.h
<<_ACEOF
15209 #define HAVE_DLADDR 1
15215 LIBS
="$ac_wine_check_funcs_save_LIBS"
15217 if test "$ac_cv_func_poll" = no
15219 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for poll in -lpoll" >&5
15220 $as_echo_n "checking for poll in -lpoll... " >&6; }
15221 if ${ac_cv_lib_poll_poll+:} false
; then :
15222 $as_echo_n "(cached) " >&6
15224 ac_check_lib_save_LIBS
=$LIBS
15225 LIBS
="-lpoll $LIBS"
15226 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15227 /* end confdefs.h. */
15229 /* Override any GCC internal prototype to avoid an error.
15230 Use char because int might match the return type of a GCC
15231 builtin and then its argument prototype would still apply. */
15244 if ac_fn_c_try_link
"$LINENO"; then :
15245 ac_cv_lib_poll_poll
=yes
15247 ac_cv_lib_poll_poll
=no
15249 rm -f core conftest.err conftest.
$ac_objext \
15250 conftest
$ac_exeext conftest.
$ac_ext
15251 LIBS
=$ac_check_lib_save_LIBS
15253 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_poll_poll" >&5
15254 $as_echo "$ac_cv_lib_poll_poll" >&6; }
15255 if test "x$ac_cv_lib_poll_poll" = xyes
; then :
15256 $as_echo "#define HAVE_POLL 1" >>confdefs.h
15263 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing gethostbyname" >&5
15264 $as_echo_n "checking for library containing gethostbyname... " >&6; }
15265 if ${ac_cv_search_gethostbyname+:} false
; then :
15266 $as_echo_n "(cached) " >&6
15268 ac_func_search_save_LIBS
=$LIBS
15269 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15270 /* end confdefs.h. */
15272 /* Override any GCC internal prototype to avoid an error.
15273 Use char because int might match the return type of a GCC
15274 builtin and then its argument prototype would still apply. */
15278 char gethostbyname ();
15282 return gethostbyname ();
15287 for ac_lib
in '' nsl
; do
15288 if test -z "$ac_lib"; then
15289 ac_res
="none required"
15292 LIBS
="-l$ac_lib $ac_func_search_save_LIBS"
15294 if ac_fn_c_try_link
"$LINENO"; then :
15295 ac_cv_search_gethostbyname
=$ac_res
15297 rm -f core conftest.err conftest.
$ac_objext \
15299 if ${ac_cv_search_gethostbyname+:} false
; then :
15303 if ${ac_cv_search_gethostbyname+:} false
; then :
15306 ac_cv_search_gethostbyname
=no
15308 rm conftest.
$ac_ext
15309 LIBS
=$ac_func_search_save_LIBS
15311 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_gethostbyname" >&5
15312 $as_echo "$ac_cv_search_gethostbyname" >&6; }
15313 ac_res
=$ac_cv_search_gethostbyname
15314 if test "$ac_res" != no
; then :
15315 test "$ac_res" = "none required" || LIBS
="$ac_res $LIBS"
15320 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing connect" >&5
15321 $as_echo_n "checking for library containing connect... " >&6; }
15322 if ${ac_cv_search_connect+:} false
; then :
15323 $as_echo_n "(cached) " >&6
15325 ac_func_search_save_LIBS
=$LIBS
15326 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15327 /* end confdefs.h. */
15329 /* Override any GCC internal prototype to avoid an error.
15330 Use char because int might match the return type of a GCC
15331 builtin and then its argument prototype would still apply. */
15344 for ac_lib
in '' socket
; do
15345 if test -z "$ac_lib"; then
15346 ac_res
="none required"
15349 LIBS
="-l$ac_lib $ac_func_search_save_LIBS"
15351 if ac_fn_c_try_link
"$LINENO"; then :
15352 ac_cv_search_connect
=$ac_res
15354 rm -f core conftest.err conftest.
$ac_objext \
15356 if ${ac_cv_search_connect+:} false
; then :
15360 if ${ac_cv_search_connect+:} false
; then :
15363 ac_cv_search_connect
=no
15365 rm conftest.
$ac_ext
15366 LIBS
=$ac_func_search_save_LIBS
15368 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_connect" >&5
15369 $as_echo "$ac_cv_search_connect" >&6; }
15370 ac_res
=$ac_cv_search_connect
15371 if test "$ac_res" != no
; then :
15372 test "$ac_res" = "none required" || LIBS
="$ac_res $LIBS"
15377 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing inet_aton" >&5
15378 $as_echo_n "checking for library containing inet_aton... " >&6; }
15379 if ${ac_cv_search_inet_aton+:} false
; then :
15380 $as_echo_n "(cached) " >&6
15382 ac_func_search_save_LIBS
=$LIBS
15383 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15384 /* end confdefs.h. */
15386 /* Override any GCC internal prototype to avoid an error.
15387 Use char because int might match the return type of a GCC
15388 builtin and then its argument prototype would still apply. */
15396 return inet_aton ();
15401 for ac_lib
in '' resolv
; do
15402 if test -z "$ac_lib"; then
15403 ac_res
="none required"
15406 LIBS
="-l$ac_lib $ac_func_search_save_LIBS"
15408 if ac_fn_c_try_link
"$LINENO"; then :
15409 ac_cv_search_inet_aton
=$ac_res
15411 rm -f core conftest.err conftest.
$ac_objext \
15413 if ${ac_cv_search_inet_aton+:} false
; then :
15417 if ${ac_cv_search_inet_aton+:} false
; then :
15420 ac_cv_search_inet_aton
=no
15422 rm conftest.
$ac_ext
15423 LIBS
=$ac_func_search_save_LIBS
15425 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_inet_aton" >&5
15426 $as_echo "$ac_cv_search_inet_aton" >&6; }
15427 ac_res
=$ac_cv_search_inet_aton
15428 if test "$ac_res" != no
; then :
15429 test "$ac_res" = "none required" || LIBS
="$ac_res $LIBS"
15449 as_ac_var
=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
15450 ac_fn_c_check_func
"$LINENO" "$ac_func" "$as_ac_var"
15451 if eval test \"x\$
"$as_ac_var"\" = x
"yes"; then :
15452 cat >>confdefs.h
<<_ACEOF
15453 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
15461 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing clock_gettime" >&5
15462 $as_echo_n "checking for library containing clock_gettime... " >&6; }
15463 if ${ac_cv_search_clock_gettime+:} false
; then :
15464 $as_echo_n "(cached) " >&6
15466 ac_func_search_save_LIBS
=$LIBS
15467 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15468 /* end confdefs.h. */
15470 /* Override any GCC internal prototype to avoid an error.
15471 Use char because int might match the return type of a GCC
15472 builtin and then its argument prototype would still apply. */
15476 char clock_gettime ();
15480 return clock_gettime ();
15485 for ac_lib
in '' rt
; do
15486 if test -z "$ac_lib"; then
15487 ac_res
="none required"
15490 LIBS
="-l$ac_lib $ac_func_search_save_LIBS"
15492 if ac_fn_c_try_link
"$LINENO"; then :
15493 ac_cv_search_clock_gettime
=$ac_res
15495 rm -f core conftest.err conftest.
$ac_objext \
15497 if ${ac_cv_search_clock_gettime+:} false
; then :
15501 if ${ac_cv_search_clock_gettime+:} false
; then :
15504 ac_cv_search_clock_gettime
=no
15506 rm conftest.
$ac_ext
15507 LIBS
=$ac_func_search_save_LIBS
15509 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_clock_gettime" >&5
15510 $as_echo "$ac_cv_search_clock_gettime" >&6; }
15511 ac_res
=$ac_cv_search_clock_gettime
15512 if test "$ac_res" != no
; then :
15513 test "$ac_res" = "none required" || LIBS
="$ac_res $LIBS"
15515 $as_echo "#define HAVE_CLOCK_GETTIME 1" >>confdefs.h
15517 test "$ac_res" = "none required" || RT_LIBS
="$ac_res"
15525 if test "$ac_cv_header_ldap_h" = "yes" -a "$ac_cv_header_lber_h" = "yes"
15527 ac_fn_c_check_type
"$LINENO" "LDAPSortKey" "ac_cv_type_LDAPSortKey" "#include <ldap.h>
15529 if test "x$ac_cv_type_LDAPSortKey" = xyes
; then :
15530 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldap_initialize in -lldap_r" >&5
15531 $as_echo_n "checking for ldap_initialize in -lldap_r... " >&6; }
15532 if ${ac_cv_lib_ldap_r_ldap_initialize+:} false
; then :
15533 $as_echo_n "(cached) " >&6
15535 ac_check_lib_save_LIBS
=$LIBS
15536 LIBS
="-lldap_r $PTHREAD_LIBS $LIBS"
15537 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15538 /* end confdefs.h. */
15540 /* Override any GCC internal prototype to avoid an error.
15541 Use char because int might match the return type of a GCC
15542 builtin and then its argument prototype would still apply. */
15546 char ldap_initialize ();
15550 return ldap_initialize ();
15555 if ac_fn_c_try_link
"$LINENO"; then :
15556 ac_cv_lib_ldap_r_ldap_initialize
=yes
15558 ac_cv_lib_ldap_r_ldap_initialize
=no
15560 rm -f core conftest.err conftest.
$ac_objext \
15561 conftest
$ac_exeext conftest.
$ac_ext
15562 LIBS
=$ac_check_lib_save_LIBS
15564 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ldap_r_ldap_initialize" >&5
15565 $as_echo "$ac_cv_lib_ldap_r_ldap_initialize" >&6; }
15566 if test "x$ac_cv_lib_ldap_r_ldap_initialize" = xyes
; then :
15567 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ber_init in -llber" >&5
15568 $as_echo_n "checking for ber_init in -llber... " >&6; }
15569 if ${ac_cv_lib_lber_ber_init+:} false
; then :
15570 $as_echo_n "(cached) " >&6
15572 ac_check_lib_save_LIBS
=$LIBS
15573 LIBS
="-llber $PTHREAD_LIBS $LIBS"
15574 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15575 /* end confdefs.h. */
15577 /* Override any GCC internal prototype to avoid an error.
15578 Use char because int might match the return type of a GCC
15579 builtin and then its argument prototype would still apply. */
15587 return ber_init ();
15592 if ac_fn_c_try_link
"$LINENO"; then :
15593 ac_cv_lib_lber_ber_init
=yes
15595 ac_cv_lib_lber_ber_init
=no
15597 rm -f core conftest.err conftest.
$ac_objext \
15598 conftest
$ac_exeext conftest.
$ac_ext
15599 LIBS
=$ac_check_lib_save_LIBS
15601 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_lber_ber_init" >&5
15602 $as_echo "$ac_cv_lib_lber_ber_init" >&6; }
15603 if test "x$ac_cv_lib_lber_ber_init" = xyes
; then :
15605 $as_echo "#define HAVE_LDAP 1" >>confdefs.h
15607 LDAP_LIBS
="-lldap_r -llber"
15614 ac_wine_check_funcs_save_LIBS
="$LIBS"
15615 LIBS
="$LIBS $LDAP_LIBS $PTHREAD_LIBS"
15617 ldap_count_references \
15618 ldap_first_reference \
15619 ldap_next_reference \
15620 ldap_parse_reference \
15621 ldap_parse_sort_control \
15622 ldap_parse_sortresponse_control \
15623 ldap_parse_vlv_control \
15624 ldap_parse_vlvresponse_control
15626 as_ac_var
=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
15627 ac_fn_c_check_func
"$LINENO" "$ac_func" "$as_ac_var"
15628 if eval test \"x\$
"$as_ac_var"\" = x
"yes"; then :
15629 cat >>confdefs.h
<<_ACEOF
15630 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
15636 LIBS
="$ac_wine_check_funcs_save_LIBS"
15638 if test "x$LDAP_LIBS" = "x"; then :
15639 case "x$with_ldap" in
15640 x
) as_fn_append wine_notices
"|libldap (OpenLDAP) ${notice_platform}development files not found, LDAP won't be supported." ;;
15642 *) as_fn_error $?
"libldap (OpenLDAP) ${notice_platform}development files not found, LDAP won't be supported.
15643 This is an error since --with-ldap was requested." "$LINENO" 5 ;;
15648 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether mkdir takes only one argument" >&5
15649 $as_echo_n "checking whether mkdir takes only one argument... " >&6; }
15650 if ${wine_cv_one_arg_mkdir+:} false
; then :
15651 $as_echo_n "(cached) " >&6
15653 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15654 /* end confdefs.h. */
15655 #include <sys/stat.h>
15664 if ac_fn_c_try_compile
"$LINENO"; then :
15665 wine_cv_one_arg_mkdir
=yes
15667 wine_cv_one_arg_mkdir
=no
15669 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
15671 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_one_arg_mkdir" >&5
15672 $as_echo "$wine_cv_one_arg_mkdir" >&6; }
15673 if test "$wine_cv_one_arg_mkdir" = "yes"
15676 $as_echo "#define HAVE_ONE_ARG_MKDIR 1" >>confdefs.h
15680 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sched_setaffinity" >&5
15681 $as_echo_n "checking for sched_setaffinity... " >&6; }
15682 if ${wine_cv_have_sched_setaffinity+:} false
; then :
15683 $as_echo_n "(cached) " >&6
15685 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15686 /* end confdefs.h. */
15687 #define _GNU_SOURCE
15692 sched_setaffinity(0, 0, 0);
15697 if ac_fn_c_try_link
"$LINENO"; then :
15698 wine_cv_have_sched_setaffinity
=yes
15700 wine_cv_have_sched_setaffinity
=no
15702 rm -f core conftest.err conftest.
$ac_objext \
15703 conftest
$ac_exeext conftest.
$ac_ext
15705 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_have_sched_setaffinity" >&5
15706 $as_echo "$wine_cv_have_sched_setaffinity" >&6; }
15707 if test "$wine_cv_have_sched_setaffinity" = "yes"
15710 $as_echo "#define HAVE_SCHED_SETAFFINITY 1" >>confdefs.h
15714 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fallocate" >&5
15715 $as_echo_n "checking for fallocate... " >&6; }
15716 if ${wine_cv_have_fallocate+:} false
; then :
15717 $as_echo_n "(cached) " >&6
15719 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15720 /* end confdefs.h. */
15721 #define _GNU_SOURCE
15726 fallocate(-1, 0, 0, 0);
15731 if ac_fn_c_try_link
"$LINENO"; then :
15732 wine_cv_have_fallocate
=yes
15734 wine_cv_have_fallocate
=no
15736 rm -f core conftest.err conftest.
$ac_objext \
15737 conftest
$ac_exeext conftest.
$ac_ext
15739 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_have_fallocate" >&5
15740 $as_echo "$wine_cv_have_fallocate" >&6; }
15741 if test "$wine_cv_have_fallocate" = "yes"
15744 $as_echo "#define HAVE_FALLOCATE 1" >>confdefs.h
15749 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for inline" >&5
15750 $as_echo_n "checking for inline... " >&6; }
15751 if ${ac_cv_c_inline+:} false
; then :
15752 $as_echo_n "(cached) " >&6
15755 for ac_kw
in inline __inline__ __inline
; do
15756 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15757 /* end confdefs.h. */
15758 #ifndef __cplusplus
15760 static $ac_kw foo_t static_foo () {return 0; }
15761 $ac_kw foo_t foo () {return 0; }
15765 if ac_fn_c_try_compile
"$LINENO"; then :
15766 ac_cv_c_inline
=$ac_kw
15768 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
15769 test "$ac_cv_c_inline" != no
&& break
15773 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_inline" >&5
15774 $as_echo "$ac_cv_c_inline" >&6; }
15776 case $ac_cv_c_inline in
15779 case $ac_cv_c_inline in
15781 *) ac_val
=$ac_cv_c_inline;;
15783 cat >>confdefs.h
<<_ACEOF
15784 #ifndef __cplusplus
15785 #define inline $ac_val
15791 ac_fn_c_check_type
"$LINENO" "mode_t" "ac_cv_type_mode_t" "$ac_includes_default"
15792 if test "x$ac_cv_type_mode_t" = xyes
; then :
15794 cat >>confdefs.h
<<_ACEOF
15795 #define HAVE_MODE_T 1
15800 ac_fn_c_check_type
"$LINENO" "off_t" "ac_cv_type_off_t" "$ac_includes_default"
15801 if test "x$ac_cv_type_off_t" = xyes
; then :
15803 cat >>confdefs.h
<<_ACEOF
15804 #define HAVE_OFF_T 1
15809 ac_fn_c_check_type
"$LINENO" "pid_t" "ac_cv_type_pid_t" "$ac_includes_default"
15810 if test "x$ac_cv_type_pid_t" = xyes
; then :
15812 cat >>confdefs.h
<<_ACEOF
15813 #define HAVE_PID_T 1
15818 ac_fn_c_check_type
"$LINENO" "size_t" "ac_cv_type_size_t" "$ac_includes_default"
15819 if test "x$ac_cv_type_size_t" = xyes
; then :
15821 cat >>confdefs.h
<<_ACEOF
15822 #define HAVE_SIZE_T 1
15827 ac_fn_c_check_type
"$LINENO" "ssize_t" "ac_cv_type_ssize_t" "$ac_includes_default"
15828 if test "x$ac_cv_type_ssize_t" = xyes
; then :
15830 cat >>confdefs.h
<<_ACEOF
15831 #define HAVE_SSIZE_T 1
15836 ac_fn_c_check_type
"$LINENO" "long long" "ac_cv_type_long_long" "$ac_includes_default"
15837 if test "x$ac_cv_type_long_long" = xyes
; then :
15839 cat >>confdefs.h
<<_ACEOF
15840 #define HAVE_LONG_LONG 1
15845 ac_fn_c_check_type
"$LINENO" "fsblkcnt_t" "ac_cv_type_fsblkcnt_t" "$ac_includes_default"
15846 if test "x$ac_cv_type_fsblkcnt_t" = xyes
; then :
15848 cat >>confdefs.h
<<_ACEOF
15849 #define HAVE_FSBLKCNT_T 1
15854 ac_fn_c_check_type
"$LINENO" "fsfilcnt_t" "ac_cv_type_fsfilcnt_t" "$ac_includes_default"
15855 if test "x$ac_cv_type_fsfilcnt_t" = xyes
; then :
15857 cat >>confdefs.h
<<_ACEOF
15858 #define HAVE_FSFILCNT_T 1
15864 ac_fn_c_check_type
"$LINENO" "sigset_t" "ac_cv_type_sigset_t" "#include <sys/types.h>
15865 #include <signal.h>
15867 if test "x$ac_cv_type_sigset_t" = xyes
; then :
15869 cat >>confdefs.h
<<_ACEOF
15870 #define HAVE_SIGSET_T 1
15876 ac_fn_c_check_type
"$LINENO" "request_sense" "ac_cv_type_request_sense" "#include <linux/cdrom.h>
15878 if test "x$ac_cv_type_request_sense" = xyes
; then :
15880 cat >>confdefs.h
<<_ACEOF
15881 #define HAVE_REQUEST_SENSE 1
15888 ac_fn_c_check_type
"$LINENO" "struct xinpgen" "ac_cv_type_struct_xinpgen" "#include <sys/types.h>
15889 #ifdef HAVE_SYS_SOCKET_H
15890 #include <sys/socket.h>
15892 #ifdef HAVE_SYS_SOCKETVAR_H
15893 #include <sys/socketvar.h>
15895 #ifdef HAVE_NET_ROUTE_H
15896 #include <net/route.h>
15898 #ifdef HAVE_NETINET_IN_H
15899 #include <netinet/in.h>
15901 #ifdef HAVE_NETINET_IN_SYSTM_H
15902 #include <netinet/in_systm.h>
15904 #ifdef HAVE_NETINET_IP_H
15905 #include <netinet/ip.h>
15907 #ifdef HAVE_NETINET_IN_PCB_H
15908 #include <netinet/in_pcb.h>
15911 if test "x$ac_cv_type_struct_xinpgen" = xyes
; then :
15913 cat >>confdefs.h
<<_ACEOF
15914 #define HAVE_STRUCT_XINPGEN 1
15921 ac_fn_c_check_type
"$LINENO" "struct r_debug" "ac_cv_type_struct_r_debug" "#ifdef HAVE_LINK_H
15924 #ifdef HAVE_SYS_LINK_H
15925 #include <sys/link.h>
15928 if test "x$ac_cv_type_struct_r_debug" = xyes
; then :
15930 cat >>confdefs.h
<<_ACEOF
15931 #define HAVE_STRUCT_R_DEBUG 1
15936 ac_fn_c_check_type
"$LINENO" "struct link_map" "ac_cv_type_struct_link_map" "#ifdef HAVE_LINK_H
15939 #ifdef HAVE_SYS_LINK_H
15940 #include <sys/link.h>
15943 if test "x$ac_cv_type_struct_link_map" = xyes
; then :
15945 cat >>confdefs.h
<<_ACEOF
15946 #define HAVE_STRUCT_LINK_MAP 1
15953 ac_fn_c_check_member
"$LINENO" "struct ff_effect" "direction" "ac_cv_member_struct_ff_effect_direction" "#ifdef HAVE_LINUX_INPUT_H
15954 #include <linux/input.h>
15957 if test "x$ac_cv_member_struct_ff_effect_direction" = xyes
; then :
15959 cat >>confdefs.h
<<_ACEOF
15960 #define HAVE_STRUCT_FF_EFFECT_DIRECTION 1
15967 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sigaddset" >&5
15968 $as_echo_n "checking for sigaddset... " >&6; }
15969 if ${wine_cv_have_sigaddset+:} false
; then :
15970 $as_echo_n "(cached) " >&6
15972 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15973 /* end confdefs.h. */
15974 #include <signal.h>
15978 sigset_t set; sigaddset(&set,SIGTERM);
15983 if ac_fn_c_try_link
"$LINENO"; then :
15984 wine_cv_have_sigaddset
=yes
15986 wine_cv_have_sigaddset
=no
15988 rm -f core conftest.err conftest.
$ac_objext \
15989 conftest
$ac_exeext conftest.
$ac_ext
15991 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_have_sigaddset" >&5
15992 $as_echo "$wine_cv_have_sigaddset" >&6; }
15993 if test "$wine_cv_have_sigaddset" = "yes"
15996 $as_echo "#define HAVE_SIGADDSET 1" >>confdefs.h
16001 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we can use re-entrant gethostbyname_r Linux style" >&5
16002 $as_echo_n "checking whether we can use re-entrant gethostbyname_r Linux style... " >&6; }
16003 if ${wine_cv_linux_gethostbyname_r_6+:} false
; then :
16004 $as_echo_n "(cached) " >&6
16006 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
16007 /* end confdefs.h. */
16015 struct hostent *result;
16022 gethostbyname_r(name,&he,buf,bufsize,&result,&errnr);
16023 gethostbyaddr_r(addr, addrlen, addrtype,&he,buf,bufsize,&result,&errnr);
16029 if ac_fn_c_try_link
"$LINENO"; then :
16030 wine_cv_linux_gethostbyname_r_6
=yes
16032 wine_cv_linux_gethostbyname_r_6
=no
16035 rm -f core conftest.err conftest.
$ac_objext \
16036 conftest
$ac_exeext conftest.
$ac_ext
16039 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_linux_gethostbyname_r_6" >&5
16040 $as_echo "$wine_cv_linux_gethostbyname_r_6" >&6; }
16041 if test "$wine_cv_linux_gethostbyname_r_6" = "yes"
16044 $as_echo "#define HAVE_LINUX_GETHOSTBYNAME_R_6 1" >>confdefs.h
16048 if test "$ac_cv_header_linux_joystick_h" = "yes"
16050 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether linux/joystick.h uses the Linux 2.2+ API" >&5
16051 $as_echo_n "checking whether linux/joystick.h uses the Linux 2.2+ API... " >&6; }
16052 if ${wine_cv_linux_joystick_22_api+:} false
; then :
16053 $as_echo_n "(cached) " >&6
16055 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
16056 /* end confdefs.h. */
16058 #include <sys/ioctl.h>
16059 #include <sys/types.h>
16060 #include <linux/joystick.h>
16062 struct js_event blub;
16063 #if !defined(JS_EVENT_AXIS) || !defined(JS_EVENT_BUTTON)
16064 #error "no 2.2 header"
16075 if ac_fn_c_try_compile
"$LINENO"; then :
16076 wine_cv_linux_joystick_22_api
=yes
16078 wine_cv_linux_joystick_22_api
=no
16080 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
16083 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_linux_joystick_22_api" >&5
16084 $as_echo "$wine_cv_linux_joystick_22_api" >&6; }
16085 if test "$wine_cv_linux_joystick_22_api" = "yes"
16088 $as_echo "#define HAVE_LINUX_22_JOYSTICK_API 1" >>confdefs.h
16094 ac_fn_c_check_member
"$LINENO" "struct statfs" "f_bfree" "ac_cv_member_struct_statfs_f_bfree" "#include <sys/types.h>
16095 #ifdef HAVE_SYS_PARAM_H
16096 # include <sys/param.h>
16098 #ifdef HAVE_SYS_MOUNT_H
16099 # include <sys/mount.h>
16101 #ifdef HAVE_SYS_VFS_H
16102 # include <sys/vfs.h>
16104 #ifdef HAVE_SYS_STATFS_H
16105 # include <sys/statfs.h>
16108 if test "x$ac_cv_member_struct_statfs_f_bfree" = xyes
; then :
16110 cat >>confdefs.h
<<_ACEOF
16111 #define HAVE_STRUCT_STATFS_F_BFREE 1
16116 ac_fn_c_check_member
"$LINENO" "struct statfs" "f_bavail" "ac_cv_member_struct_statfs_f_bavail" "#include <sys/types.h>
16117 #ifdef HAVE_SYS_PARAM_H
16118 # include <sys/param.h>
16120 #ifdef HAVE_SYS_MOUNT_H
16121 # include <sys/mount.h>
16123 #ifdef HAVE_SYS_VFS_H
16124 # include <sys/vfs.h>
16126 #ifdef HAVE_SYS_STATFS_H
16127 # include <sys/statfs.h>
16130 if test "x$ac_cv_member_struct_statfs_f_bavail" = xyes
; then :
16132 cat >>confdefs.h
<<_ACEOF
16133 #define HAVE_STRUCT_STATFS_F_BAVAIL 1
16138 ac_fn_c_check_member
"$LINENO" "struct statfs" "f_frsize" "ac_cv_member_struct_statfs_f_frsize" "#include <sys/types.h>
16139 #ifdef HAVE_SYS_PARAM_H
16140 # include <sys/param.h>
16142 #ifdef HAVE_SYS_MOUNT_H
16143 # include <sys/mount.h>
16145 #ifdef HAVE_SYS_VFS_H
16146 # include <sys/vfs.h>
16148 #ifdef HAVE_SYS_STATFS_H
16149 # include <sys/statfs.h>
16152 if test "x$ac_cv_member_struct_statfs_f_frsize" = xyes
; then :
16154 cat >>confdefs.h
<<_ACEOF
16155 #define HAVE_STRUCT_STATFS_F_FRSIZE 1
16160 ac_fn_c_check_member
"$LINENO" "struct statfs" "f_ffree" "ac_cv_member_struct_statfs_f_ffree" "#include <sys/types.h>
16161 #ifdef HAVE_SYS_PARAM_H
16162 # include <sys/param.h>
16164 #ifdef HAVE_SYS_MOUNT_H
16165 # include <sys/mount.h>
16167 #ifdef HAVE_SYS_VFS_H
16168 # include <sys/vfs.h>
16170 #ifdef HAVE_SYS_STATFS_H
16171 # include <sys/statfs.h>
16174 if test "x$ac_cv_member_struct_statfs_f_ffree" = xyes
; then :
16176 cat >>confdefs.h
<<_ACEOF
16177 #define HAVE_STRUCT_STATFS_F_FFREE 1
16182 ac_fn_c_check_member
"$LINENO" "struct statfs" "f_favail" "ac_cv_member_struct_statfs_f_favail" "#include <sys/types.h>
16183 #ifdef HAVE_SYS_PARAM_H
16184 # include <sys/param.h>
16186 #ifdef HAVE_SYS_MOUNT_H
16187 # include <sys/mount.h>
16189 #ifdef HAVE_SYS_VFS_H
16190 # include <sys/vfs.h>
16192 #ifdef HAVE_SYS_STATFS_H
16193 # include <sys/statfs.h>
16196 if test "x$ac_cv_member_struct_statfs_f_favail" = xyes
; then :
16198 cat >>confdefs.h
<<_ACEOF
16199 #define HAVE_STRUCT_STATFS_F_FAVAIL 1
16204 ac_fn_c_check_member
"$LINENO" "struct statfs" "f_namelen" "ac_cv_member_struct_statfs_f_namelen" "#include <sys/types.h>
16205 #ifdef HAVE_SYS_PARAM_H
16206 # include <sys/param.h>
16208 #ifdef HAVE_SYS_MOUNT_H
16209 # include <sys/mount.h>
16211 #ifdef HAVE_SYS_VFS_H
16212 # include <sys/vfs.h>
16214 #ifdef HAVE_SYS_STATFS_H
16215 # include <sys/statfs.h>
16218 if test "x$ac_cv_member_struct_statfs_f_namelen" = xyes
; then :
16220 cat >>confdefs.h
<<_ACEOF
16221 #define HAVE_STRUCT_STATFS_F_NAMELEN 1
16228 ac_fn_c_check_member
"$LINENO" "struct statvfs" "f_blocks" "ac_cv_member_struct_statvfs_f_blocks" "#ifdef HAVE_SYS_STATVFS_H
16229 #include <sys/statvfs.h>
16232 if test "x$ac_cv_member_struct_statvfs_f_blocks" = xyes
; then :
16234 cat >>confdefs.h
<<_ACEOF
16235 #define HAVE_STRUCT_STATVFS_F_BLOCKS 1
16242 ac_fn_c_check_member
"$LINENO" "struct dirent" "d_reclen" "ac_cv_member_struct_dirent_d_reclen" "#ifdef HAVE_DIRENT_H
16243 #include <dirent.h>
16246 if test "x$ac_cv_member_struct_dirent_d_reclen" = xyes
; then :
16248 cat >>confdefs.h
<<_ACEOF
16249 #define HAVE_STRUCT_DIRENT_D_RECLEN 1
16256 ac_fn_c_check_member
"$LINENO" "struct msghdr" "msg_accrights" "ac_cv_member_struct_msghdr_msg_accrights" "#include <sys/types.h>
16257 #ifdef HAVE_SYS_SOCKET_H
16258 # include <sys/socket.h>
16260 #ifdef HAVE_SYS_UN_H
16261 # include <sys/un.h>
16264 if test "x$ac_cv_member_struct_msghdr_msg_accrights" = xyes
; then :
16266 cat >>confdefs.h
<<_ACEOF
16267 #define HAVE_STRUCT_MSGHDR_MSG_ACCRIGHTS 1
16272 ac_fn_c_check_member
"$LINENO" "struct sockaddr" "sa_len" "ac_cv_member_struct_sockaddr_sa_len" "#include <sys/types.h>
16273 #ifdef HAVE_SYS_SOCKET_H
16274 # include <sys/socket.h>
16276 #ifdef HAVE_SYS_UN_H
16277 # include <sys/un.h>
16280 if test "x$ac_cv_member_struct_sockaddr_sa_len" = xyes
; then :
16282 cat >>confdefs.h
<<_ACEOF
16283 #define HAVE_STRUCT_SOCKADDR_SA_LEN 1
16288 ac_fn_c_check_member
"$LINENO" "struct sockaddr_un" "sun_len" "ac_cv_member_struct_sockaddr_un_sun_len" "#include <sys/types.h>
16289 #ifdef HAVE_SYS_SOCKET_H
16290 # include <sys/socket.h>
16292 #ifdef HAVE_SYS_UN_H
16293 # include <sys/un.h>
16296 if test "x$ac_cv_member_struct_sockaddr_un_sun_len" = xyes
; then :
16298 cat >>confdefs.h
<<_ACEOF
16299 #define HAVE_STRUCT_SOCKADDR_UN_SUN_LEN 1
16306 ac_fn_c_check_member
"$LINENO" "scsireq_t" "cmd" "ac_cv_member_scsireq_t_cmd" "#include <sys/types.h>
16307 #ifdef HAVE_SCSI_SG_H
16308 #include <scsi/sg.h>
16311 if test "x$ac_cv_member_scsireq_t_cmd" = xyes
; then :
16313 cat >>confdefs.h
<<_ACEOF
16314 #define HAVE_SCSIREQ_T_CMD 1
16319 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>
16320 #ifdef HAVE_SCSI_SG_H
16321 #include <scsi/sg.h>
16324 if test "x$ac_cv_member_sg_io_hdr_t_interface_id" = xyes
; then :
16326 cat >>confdefs.h
<<_ACEOF
16327 #define HAVE_SG_IO_HDR_T_INTERFACE_ID 1
16334 ac_fn_c_check_member
"$LINENO" "siginfo_t" "si_fd" "ac_cv_member_siginfo_t_si_fd" "#include <signal.h>
16336 if test "x$ac_cv_member_siginfo_t_si_fd" = xyes
; then :
16338 cat >>confdefs.h
<<_ACEOF
16339 #define HAVE_SIGINFO_T_SI_FD 1
16346 ac_fn_c_check_member
"$LINENO" "struct mtget" "mt_blksiz" "ac_cv_member_struct_mtget_mt_blksiz" "#include <sys/types.h>
16347 #ifdef HAVE_SYS_MTIO_H
16348 #include <sys/mtio.h>
16351 if test "x$ac_cv_member_struct_mtget_mt_blksiz" = xyes
; then :
16353 cat >>confdefs.h
<<_ACEOF
16354 #define HAVE_STRUCT_MTGET_MT_BLKSIZ 1
16359 ac_fn_c_check_member
"$LINENO" "struct mtget" "mt_gstat" "ac_cv_member_struct_mtget_mt_gstat" "#include <sys/types.h>
16360 #ifdef HAVE_SYS_MTIO_H
16361 #include <sys/mtio.h>
16364 if test "x$ac_cv_member_struct_mtget_mt_gstat" = xyes
; then :
16366 cat >>confdefs.h
<<_ACEOF
16367 #define HAVE_STRUCT_MTGET_MT_GSTAT 1
16372 ac_fn_c_check_member
"$LINENO" "struct mtget" "mt_blkno" "ac_cv_member_struct_mtget_mt_blkno" "#include <sys/types.h>
16373 #ifdef HAVE_SYS_MTIO_H
16374 #include <sys/mtio.h>
16377 if test "x$ac_cv_member_struct_mtget_mt_blkno" = xyes
; then :
16379 cat >>confdefs.h
<<_ACEOF
16380 #define HAVE_STRUCT_MTGET_MT_BLKNO 1
16387 ac_fn_c_check_member
"$LINENO" "struct option" "name" "ac_cv_member_struct_option_name" "#ifdef HAVE_GETOPT_H
16388 #include <getopt.h>
16391 if test "x$ac_cv_member_struct_option_name" = xyes
; then :
16393 cat >>confdefs.h
<<_ACEOF
16394 #define HAVE_STRUCT_OPTION_NAME 1
16401 ac_fn_c_check_member
"$LINENO" "struct stat" "st_blocks" "ac_cv_member_struct_stat_st_blocks" "$ac_includes_default"
16402 if test "x$ac_cv_member_struct_stat_st_blocks" = xyes
; then :
16404 cat >>confdefs.h
<<_ACEOF
16405 #define HAVE_STRUCT_STAT_ST_BLOCKS 1
16410 ac_fn_c_check_member
"$LINENO" "struct stat" "st_mtim" "ac_cv_member_struct_stat_st_mtim" "$ac_includes_default"
16411 if test "x$ac_cv_member_struct_stat_st_mtim" = xyes
; then :
16413 cat >>confdefs.h
<<_ACEOF
16414 #define HAVE_STRUCT_STAT_ST_MTIM 1
16419 ac_fn_c_check_member
"$LINENO" "struct stat" "st_mtimespec" "ac_cv_member_struct_stat_st_mtimespec" "$ac_includes_default"
16420 if test "x$ac_cv_member_struct_stat_st_mtimespec" = xyes
; then :
16422 cat >>confdefs.h
<<_ACEOF
16423 #define HAVE_STRUCT_STAT_ST_MTIMESPEC 1
16428 ac_fn_c_check_member
"$LINENO" "struct stat" "st_ctim" "ac_cv_member_struct_stat_st_ctim" "$ac_includes_default"
16429 if test "x$ac_cv_member_struct_stat_st_ctim" = xyes
; then :
16431 cat >>confdefs.h
<<_ACEOF
16432 #define HAVE_STRUCT_STAT_ST_CTIM 1
16437 ac_fn_c_check_member
"$LINENO" "struct stat" "st_ctimespec" "ac_cv_member_struct_stat_st_ctimespec" "$ac_includes_default"
16438 if test "x$ac_cv_member_struct_stat_st_ctimespec" = xyes
; then :
16440 cat >>confdefs.h
<<_ACEOF
16441 #define HAVE_STRUCT_STAT_ST_CTIMESPEC 1
16446 ac_fn_c_check_member
"$LINENO" "struct stat" "st_atim" "ac_cv_member_struct_stat_st_atim" "$ac_includes_default"
16447 if test "x$ac_cv_member_struct_stat_st_atim" = xyes
; then :
16449 cat >>confdefs.h
<<_ACEOF
16450 #define HAVE_STRUCT_STAT_ST_ATIM 1
16455 ac_fn_c_check_member
"$LINENO" "struct stat" "st_atimespec" "ac_cv_member_struct_stat_st_atimespec" "$ac_includes_default"
16456 if test "x$ac_cv_member_struct_stat_st_atimespec" = xyes
; then :
16458 cat >>confdefs.h
<<_ACEOF
16459 #define HAVE_STRUCT_STAT_ST_ATIMESPEC 1
16464 ac_fn_c_check_member
"$LINENO" "struct stat" "st_birthtime" "ac_cv_member_struct_stat_st_birthtime" "$ac_includes_default"
16465 if test "x$ac_cv_member_struct_stat_st_birthtime" = xyes
; then :
16467 cat >>confdefs.h
<<_ACEOF
16468 #define HAVE_STRUCT_STAT_ST_BIRTHTIME 1
16473 ac_fn_c_check_member
"$LINENO" "struct stat" "st_birthtim" "ac_cv_member_struct_stat_st_birthtim" "$ac_includes_default"
16474 if test "x$ac_cv_member_struct_stat_st_birthtim" = xyes
; then :
16476 cat >>confdefs.h
<<_ACEOF
16477 #define HAVE_STRUCT_STAT_ST_BIRTHTIM 1
16482 ac_fn_c_check_member
"$LINENO" "struct stat" "st_birthtimespec" "ac_cv_member_struct_stat_st_birthtimespec" "$ac_includes_default"
16483 if test "x$ac_cv_member_struct_stat_st_birthtimespec" = xyes
; then :
16485 cat >>confdefs.h
<<_ACEOF
16486 #define HAVE_STRUCT_STAT_ST_BIRTHTIMESPEC 1
16491 ac_fn_c_check_member
"$LINENO" "struct stat" "__st_birthtime" "ac_cv_member_struct_stat___st_birthtime" "$ac_includes_default"
16492 if test "x$ac_cv_member_struct_stat___st_birthtime" = xyes
; then :
16494 cat >>confdefs.h
<<_ACEOF
16495 #define HAVE_STRUCT_STAT___ST_BIRTHTIME 1
16500 ac_fn_c_check_member
"$LINENO" "struct stat" "__st_birthtim" "ac_cv_member_struct_stat___st_birthtim" "$ac_includes_default"
16501 if test "x$ac_cv_member_struct_stat___st_birthtim" = xyes
; then :
16503 cat >>confdefs.h
<<_ACEOF
16504 #define HAVE_STRUCT_STAT___ST_BIRTHTIM 1
16511 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
16512 #include <sys/types.h>
16514 #ifdef HAVE_NETINET_IN_H
16515 #include <netinet/in.h>
16518 if test "x$ac_cv_member_struct_sockaddr_in6_sin6_scope_id" = xyes
; then :
16520 cat >>confdefs.h
<<_ACEOF
16521 #define HAVE_STRUCT_SOCKADDR_IN6_SIN6_SCOPE_ID 1
16528 ac_fn_c_check_type
"$LINENO" "struct __res_state" "ac_cv_type_struct___res_state" "#ifdef HAVE_RESOLV_H
16529 #include <resolv.h>
16532 if test "x$ac_cv_type_struct___res_state" = xyes
; then :
16534 cat >>confdefs.h
<<_ACEOF
16535 #define HAVE_STRUCT___RES_STATE 1
16542 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
16543 #include <resolv.h>
16546 if test "x$ac_cv_member_struct___res_state__u__ext_nscount6" = xyes
; then :
16548 cat >>confdefs.h
<<_ACEOF
16549 #define HAVE_STRUCT___RES_STATE__U__EXT_NSCOUNT6 1
16556 ac_fn_c_check_member
"$LINENO" "ns_msg" "_msg_ptr" "ac_cv_member_ns_msg__msg_ptr" "#ifdef HAVE_SYS_TYPES_H
16557 #include <sys/types.h>
16559 #ifdef HAVE_NETINET_IN_H
16560 # include <netinet/in.h>
16562 #ifdef HAVE_ARPA_NAMESER_H
16563 # include <arpa/nameser.h>
16566 if test "x$ac_cv_member_ns_msg__msg_ptr" = xyes
; then :
16568 cat >>confdefs.h
<<_ACEOF
16569 #define HAVE_NS_MSG__MSG_PTR 1
16576 ac_fn_c_check_member
"$LINENO" "struct icmpstat" "icps_inhist" "ac_cv_member_struct_icmpstat_icps_inhist" "#ifdef HAVE_SYS_TYPES_H
16577 #include <sys/types.h>
16579 #ifdef HAVE_NETINET_IP_H
16580 #include <netinet/ip.h>
16582 #ifdef HAVE_NETINET_IP_ICMP_H
16583 #include <netinet/ip_icmp.h>
16585 #ifdef HAVE_NETINET_ICMP_VAR_H
16586 #include <netinet/icmp_var.h>
16589 if test "x$ac_cv_member_struct_icmpstat_icps_inhist" = xyes
; then :
16591 cat >>confdefs.h
<<_ACEOF
16592 #define HAVE_STRUCT_ICMPSTAT_ICPS_INHIST 1
16599 ac_fn_c_check_member
"$LINENO" "struct icmpstat" "icps_outhist" "ac_cv_member_struct_icmpstat_icps_outhist" "#ifdef HAVE_SYS_TYPES_H
16600 #include <sys/types.h>
16602 #ifdef HAVE_ALIAS_H
16605 #ifdef HAVE_SYS_SOCKET_H
16606 #include <sys/socket.h>
16608 #ifdef HAVE_SYS_SOCKETVAR_H
16609 #include <sys/socketvar.h>
16611 #ifdef HAVE_SYS_TIMEOUT_H
16612 #include <sys/timeout.h>
16614 #ifdef HAVE_NETINET_IN_H
16615 #include <netinet/in.h>
16617 #ifdef HAVE_NETINET_IN_SYSTM_H
16618 #include <netinet/in_systm.h>
16620 #ifdef HAVE_NETINET_IP_H
16621 #include <netinet/ip.h>
16623 #ifdef HAVE_NETINET_IP_VAR_H
16624 #include <netinet/ip_var.h>
16626 #ifdef HAVE_NETINET_IP_ICMP_H
16627 #include <netinet/ip_icmp.h>
16629 #ifdef HAVE_NETINET_ICMP_VAR_H
16630 #include <netinet/icmp_var.h>
16633 if test "x$ac_cv_member_struct_icmpstat_icps_outhist" = xyes
; then :
16635 cat >>confdefs.h
<<_ACEOF
16636 #define HAVE_STRUCT_ICMPSTAT_ICPS_OUTHIST 1
16643 ac_fn_c_check_member
"$LINENO" "struct ipstat" "ips_total" "ac_cv_member_struct_ipstat_ips_total" "#ifdef HAVE_SYS_TYPES_H
16644 #include <sys/types.h>
16646 #ifdef HAVE_SYS_SOCKETVAR_H
16647 #include <sys/socketvar.h>
16649 #ifdef HAVE_NETINET_IN_H
16650 #include <netinet/in.h>
16652 #ifdef HAVE_NETINET_IP_VAR_H
16653 #include <netinet/ip_var.h>
16656 if test "x$ac_cv_member_struct_ipstat_ips_total" = xyes
; then :
16658 cat >>confdefs.h
<<_ACEOF
16659 #define HAVE_STRUCT_IPSTAT_IPS_TOTAL 1
16666 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
16667 #include <netinet/ip_var.h>
16670 if test "x$ac_cv_member_struct_ip_stats_ips_total" = xyes
; then :
16672 cat >>confdefs.h
<<_ACEOF
16673 #define HAVE_STRUCT_IP_STATS_IPS_TOTAL 1
16680 ac_fn_c_check_member
"$LINENO" "struct tcpstat" "tcps_connattempt" "ac_cv_member_struct_tcpstat_tcps_connattempt" "#ifdef HAVE_SYS_TYPES_H
16681 #include <sys/types.h>
16683 #ifdef HAVE_SYS_SOCKETVAR_H
16684 #include <sys/socketvar.h>
16686 #ifdef HAVE_NETINET_IN_H
16687 #include <netinet/in.h>
16689 #ifdef HAVE_NETINET_TCP_H
16690 #include <netinet/tcp.h>
16692 #ifdef HAVE_NETINET_TCP_VAR_H
16693 #include <netinet/tcp_var.h>
16696 if test "x$ac_cv_member_struct_tcpstat_tcps_connattempt" = xyes
; then :
16698 cat >>confdefs.h
<<_ACEOF
16699 #define HAVE_STRUCT_TCPSTAT_TCPS_CONNATTEMPT 1
16706 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
16707 #include <netinet/tcp_var.h>
16710 if test "x$ac_cv_member_struct_tcp_stats_tcps_connattempt" = xyes
; then :
16712 cat >>confdefs.h
<<_ACEOF
16713 #define HAVE_STRUCT_TCP_STATS_TCPS_CONNATTEMPT 1
16720 ac_fn_c_check_member
"$LINENO" "struct udpstat" "udps_ipackets" "ac_cv_member_struct_udpstat_udps_ipackets" "#ifdef HAVE_SYS_TYPES_H
16721 #include <sys/types.h>
16723 #ifdef HAVE_NETINET_IN_H
16724 #include <netinet/in.h>
16726 #ifdef HAVE_NETINET_IP_VAR_H
16727 #include <netinet/ip_var.h>
16729 #ifdef HAVE_NETINET_UDP_H
16730 #include <netinet/udp.h>
16732 #ifdef HAVE_NETINET_UDP_VAR_H
16733 #include <netinet/udp_var.h>
16736 if test "x$ac_cv_member_struct_udpstat_udps_ipackets" = xyes
; then :
16738 cat >>confdefs.h
<<_ACEOF
16739 #define HAVE_STRUCT_UDPSTAT_UDPS_IPACKETS 1
16746 ac_fn_c_check_member
"$LINENO" "struct ifreq" "ifr_hwaddr" "ac_cv_member_struct_ifreq_ifr_hwaddr" "#ifdef HAVE_SYS_TYPES_H
16747 #include <sys/types.h>
16749 #ifdef HAVE_NET_IF_H
16750 # include <net/if.h>
16753 if test "x$ac_cv_member_struct_ifreq_ifr_hwaddr" = xyes
; then :
16755 cat >>confdefs.h
<<_ACEOF
16756 #define HAVE_STRUCT_IFREQ_IFR_HWADDR 1
16763 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for timezone variable" >&5
16764 $as_echo_n "checking for timezone variable... " >&6; }
16765 if ${ac_cv_have_timezone+:} false
; then :
16766 $as_echo_n "(cached) " >&6
16768 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
16769 /* end confdefs.h. */
16779 if ac_fn_c_try_link
"$LINENO"; then :
16780 ac_cv_have_timezone
="yes"
16782 ac_cv_have_timezone
="no"
16784 rm -f core conftest.err conftest.
$ac_objext \
16785 conftest
$ac_exeext conftest.
$ac_ext
16787 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_timezone" >&5
16788 $as_echo "$ac_cv_have_timezone" >&6; }
16789 if test "$ac_cv_have_timezone" = "yes"
16792 $as_echo "#define HAVE_TIMEZONE 1" >>confdefs.h
16795 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for daylight variable" >&5
16796 $as_echo_n "checking for daylight variable... " >&6; }
16797 if ${ac_cv_have_daylight+:} false
; then :
16798 $as_echo_n "(cached) " >&6
16800 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
16801 /* end confdefs.h. */
16811 if ac_fn_c_try_link
"$LINENO"; then :
16812 ac_cv_have_daylight
="yes"
16814 ac_cv_have_daylight
="no"
16816 rm -f core conftest.err conftest.
$ac_objext \
16817 conftest
$ac_exeext conftest.
$ac_ext
16819 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_daylight" >&5
16820 $as_echo "$ac_cv_have_daylight" >&6; }
16821 if test "$ac_cv_have_daylight" = "yes"
16824 $as_echo "#define HAVE_DAYLIGHT 1" >>confdefs.h
16828 ac_save_LIBS
="$LIBS"
16830 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isfinite" >&5
16831 $as_echo_n "checking for isfinite... " >&6; }
16832 if ${ac_cv_have_isfinite+:} false
; then :
16833 $as_echo_n "(cached) " >&6
16835 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
16836 /* end confdefs.h. */
16837 #define _GNU_SOURCE
16842 float f = 0.0; return isfinite(f)
16847 if ac_fn_c_try_link
"$LINENO"; then :
16848 ac_cv_have_isfinite
="yes"
16850 ac_cv_have_isfinite
="no"
16852 rm -f core conftest.err conftest.
$ac_objext \
16853 conftest
$ac_exeext conftest.
$ac_ext
16855 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_isfinite" >&5
16856 $as_echo "$ac_cv_have_isfinite" >&6; }
16857 if test "$ac_cv_have_isfinite" = "yes"
16860 $as_echo "#define HAVE_ISFINITE 1" >>confdefs.h
16864 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinf" >&5
16865 $as_echo_n "checking for isinf... " >&6; }
16866 if ${ac_cv_have_isinf+:} false
; then :
16867 $as_echo_n "(cached) " >&6
16869 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
16870 /* end confdefs.h. */
16875 float f = 0.0; return isinf(f)
16880 if ac_fn_c_try_link
"$LINENO"; then :
16881 ac_cv_have_isinf
="yes"
16883 ac_cv_have_isinf
="no"
16885 rm -f core conftest.err conftest.
$ac_objext \
16886 conftest
$ac_exeext conftest.
$ac_ext
16888 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_isinf" >&5
16889 $as_echo "$ac_cv_have_isinf" >&6; }
16890 if test "$ac_cv_have_isinf" = "yes"
16893 $as_echo "#define HAVE_ISINF 1" >>confdefs.h
16897 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnan" >&5
16898 $as_echo_n "checking for isnan... " >&6; }
16899 if ${ac_cv_have_isnan+:} false
; then :
16900 $as_echo_n "(cached) " >&6
16902 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
16903 /* end confdefs.h. */
16908 float f = 0.0; return isnan(f)
16913 if ac_fn_c_try_link
"$LINENO"; then :
16914 ac_cv_have_isnan
="yes"
16916 ac_cv_have_isnan
="no"
16918 rm -f core conftest.err conftest.
$ac_objext \
16919 conftest
$ac_exeext conftest.
$ac_ext
16921 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_isnan" >&5
16922 $as_echo "$ac_cv_have_isnan" >&6; }
16923 if test "$ac_cv_have_isnan" = "yes"
16926 $as_echo "#define HAVE_ISNAN 1" >>confdefs.h
16962 as_ac_var
=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
16963 ac_fn_c_check_func
"$LINENO" "$ac_func" "$as_ac_var"
16964 if eval test \"x\$
"$as_ac_var"\" = x
"yes"; then :
16965 cat >>confdefs.h
<<_ACEOF
16966 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
16972 LIBS
="$ac_save_LIBS"
16974 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for __builtin_clz" >&5
16975 $as_echo_n "checking for __builtin_clz... " >&6; }
16976 if ${ac_cv_have___builtin_clz+:} false
; then :
16977 $as_echo_n "(cached) " >&6
16979 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
16980 /* end confdefs.h. */
16985 return __builtin_clz(1)
16990 if ac_fn_c_try_link
"$LINENO"; then :
16991 ac_cv_have___builtin_clz
="yes"
16993 ac_cv_have___builtin_clz
="no"
16995 rm -f core conftest.err conftest.
$ac_objext \
16996 conftest
$ac_exeext conftest.
$ac_ext
16998 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have___builtin_clz" >&5
16999 $as_echo "$ac_cv_have___builtin_clz" >&6; }
17000 if test "$ac_cv_have___builtin_clz" = "yes"
17003 $as_echo "#define HAVE___BUILTIN_CLZ 1" >>confdefs.h
17007 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for __builtin_popcount" >&5
17008 $as_echo_n "checking for __builtin_popcount... " >&6; }
17009 if ${ac_cv_have___builtin_popcount+:} false
; then :
17010 $as_echo_n "(cached) " >&6
17012 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
17013 /* end confdefs.h. */
17018 return __builtin_popcount(1)
17023 if ac_fn_c_try_link
"$LINENO"; then :
17024 ac_cv_have___builtin_popcount
="yes"
17026 ac_cv_have___builtin_popcount
="no"
17028 rm -f core conftest.err conftest.
$ac_objext \
17029 conftest
$ac_exeext conftest.
$ac_ext
17031 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have___builtin_popcount" >&5
17032 $as_echo "$ac_cv_have___builtin_popcount" >&6; }
17033 if test "$ac_cv_have___builtin_popcount" = "yes"
17036 $as_echo "#define HAVE___BUILTIN_POPCOUNT 1" >>confdefs.h
17042 *i
[3456789]86*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __i386__" >&5
17043 $as_echo_n "checking whether we need to define __i386__... " >&6; }
17044 if ${ac_cv_cpp_def___i386__+:} false
; then :
17045 $as_echo_n "(cached) " >&6
17047 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
17048 /* end confdefs.h. */
17053 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
17054 $EGREP "yes" >/dev
/null
2>&1; then :
17055 ac_cv_cpp_def___i386__
=yes
17057 ac_cv_cpp_def___i386__
=no
17062 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___i386__" >&5
17063 $as_echo "$ac_cv_cpp_def___i386__" >&6; }
17064 if test "x$ac_cv_cpp_def___i386__" = xyes
; then :
17065 CFLAGS
="$CFLAGS -D__i386__"
17066 LINTFLAGS
="$LINTFLAGS -D__i386__"
17068 *x86_64
*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __x86_64__" >&5
17069 $as_echo_n "checking whether we need to define __x86_64__... " >&6; }
17070 if ${ac_cv_cpp_def___x86_64__+:} false
; then :
17071 $as_echo_n "(cached) " >&6
17073 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
17074 /* end confdefs.h. */
17079 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
17080 $EGREP "yes" >/dev
/null
2>&1; then :
17081 ac_cv_cpp_def___x86_64__
=yes
17083 ac_cv_cpp_def___x86_64__
=no
17088 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___x86_64__" >&5
17089 $as_echo "$ac_cv_cpp_def___x86_64__" >&6; }
17090 if test "x$ac_cv_cpp_def___x86_64__" = xyes
; then :
17091 CFLAGS
="$CFLAGS -D__x86_64__"
17092 LINTFLAGS
="$LINTFLAGS -D__x86_64__"
17094 *sparc64
*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __sparc64__" >&5
17095 $as_echo_n "checking whether we need to define __sparc64__... " >&6; }
17096 if ${ac_cv_cpp_def___sparc64__+:} false
; then :
17097 $as_echo_n "(cached) " >&6
17099 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
17100 /* end confdefs.h. */
17101 #ifndef __sparc64__
17105 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
17106 $EGREP "yes" >/dev
/null
2>&1; then :
17107 ac_cv_cpp_def___sparc64__
=yes
17109 ac_cv_cpp_def___sparc64__
=no
17114 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___sparc64__" >&5
17115 $as_echo "$ac_cv_cpp_def___sparc64__" >&6; }
17116 if test "x$ac_cv_cpp_def___sparc64__" = xyes
; then :
17117 CFLAGS
="$CFLAGS -D__sparc64__"
17118 LINTFLAGS
="$LINTFLAGS -D__sparc64__"
17120 *sparc
*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __sparc__" >&5
17121 $as_echo_n "checking whether we need to define __sparc__... " >&6; }
17122 if ${ac_cv_cpp_def___sparc__+:} false
; then :
17123 $as_echo_n "(cached) " >&6
17125 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
17126 /* end confdefs.h. */
17131 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
17132 $EGREP "yes" >/dev
/null
2>&1; then :
17133 ac_cv_cpp_def___sparc__
=yes
17135 ac_cv_cpp_def___sparc__
=no
17140 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___sparc__" >&5
17141 $as_echo "$ac_cv_cpp_def___sparc__" >&6; }
17142 if test "x$ac_cv_cpp_def___sparc__" = xyes
; then :
17143 CFLAGS
="$CFLAGS -D__sparc__"
17144 LINTFLAGS
="$LINTFLAGS -D__sparc__"
17146 *powerpc64
*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __powerpc64__" >&5
17147 $as_echo_n "checking whether we need to define __powerpc64__... " >&6; }
17148 if ${ac_cv_cpp_def___powerpc64__+:} false
; then :
17149 $as_echo_n "(cached) " >&6
17151 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
17152 /* end confdefs.h. */
17153 #ifndef __powerpc64__
17157 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
17158 $EGREP "yes" >/dev
/null
2>&1; then :
17159 ac_cv_cpp_def___powerpc64__
=yes
17161 ac_cv_cpp_def___powerpc64__
=no
17166 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___powerpc64__" >&5
17167 $as_echo "$ac_cv_cpp_def___powerpc64__" >&6; }
17168 if test "x$ac_cv_cpp_def___powerpc64__" = xyes
; then :
17169 CFLAGS
="$CFLAGS -D__powerpc64__"
17170 LINTFLAGS
="$LINTFLAGS -D__powerpc64__"
17172 *powerpc
*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __powerpc__" >&5
17173 $as_echo_n "checking whether we need to define __powerpc__... " >&6; }
17174 if ${ac_cv_cpp_def___powerpc__+:} false
; then :
17175 $as_echo_n "(cached) " >&6
17177 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
17178 /* end confdefs.h. */
17179 #ifndef __powerpc__
17183 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
17184 $EGREP "yes" >/dev
/null
2>&1; then :
17185 ac_cv_cpp_def___powerpc__
=yes
17187 ac_cv_cpp_def___powerpc__
=no
17192 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___powerpc__" >&5
17193 $as_echo "$ac_cv_cpp_def___powerpc__" >&6; }
17194 if test "x$ac_cv_cpp_def___powerpc__" = xyes
; then :
17195 CFLAGS
="$CFLAGS -D__powerpc__"
17196 LINTFLAGS
="$LINTFLAGS -D__powerpc__"
17198 *aarch64
*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __aarch64__" >&5
17199 $as_echo_n "checking whether we need to define __aarch64__... " >&6; }
17200 if ${ac_cv_cpp_def___aarch64__+:} false
; then :
17201 $as_echo_n "(cached) " >&6
17203 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
17204 /* end confdefs.h. */
17205 #ifndef __aarch64__
17209 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
17210 $EGREP "yes" >/dev
/null
2>&1; then :
17211 ac_cv_cpp_def___aarch64__
=yes
17213 ac_cv_cpp_def___aarch64__
=no
17218 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___aarch64__" >&5
17219 $as_echo "$ac_cv_cpp_def___aarch64__" >&6; }
17220 if test "x$ac_cv_cpp_def___aarch64__" = xyes
; then :
17221 CFLAGS
="$CFLAGS -D__aarch64__"
17222 LINTFLAGS
="$LINTFLAGS -D__aarch64__"
17224 *arm
*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __arm__" >&5
17225 $as_echo_n "checking whether we need to define __arm__... " >&6; }
17226 if ${ac_cv_cpp_def___arm__+:} false
; then :
17227 $as_echo_n "(cached) " >&6
17229 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
17230 /* end confdefs.h. */
17235 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
17236 $EGREP "yes" >/dev
/null
2>&1; then :
17237 ac_cv_cpp_def___arm__
=yes
17239 ac_cv_cpp_def___arm__
=no
17244 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___arm__" >&5
17245 $as_echo "$ac_cv_cpp_def___arm__" >&6; }
17246 if test "x$ac_cv_cpp_def___arm__" = xyes
; then :
17247 CFLAGS
="$CFLAGS -D__arm__"
17248 LINTFLAGS
="$LINTFLAGS -D__arm__"
17252 case $host_vendor in
17253 *sun
*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __sun__" >&5
17254 $as_echo_n "checking whether we need to define __sun__... " >&6; }
17255 if ${ac_cv_cpp_def___sun__+:} false
; then :
17256 $as_echo_n "(cached) " >&6
17258 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
17259 /* end confdefs.h. */
17264 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
17265 $EGREP "yes" >/dev
/null
2>&1; then :
17266 ac_cv_cpp_def___sun__
=yes
17268 ac_cv_cpp_def___sun__
=no
17273 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___sun__" >&5
17274 $as_echo "$ac_cv_cpp_def___sun__" >&6; }
17275 if test "x$ac_cv_cpp_def___sun__" = xyes
; then :
17276 CFLAGS
="$CFLAGS -D__sun__"
17277 LINTFLAGS
="$LINTFLAGS -D__sun__"
17285 ac_config_commands
="$ac_config_commands include/stamp-h"
17287 $as_echo_n "creating Makefile rules..." >&6
17289 ALL_VARS_RULES
="OPENGL_LIBS = $OPENGL_LIBS
17290 SOCKET_LIBS = $SOCKET_LIBS
17291 COREFOUNDATION_LIBS = $COREFOUNDATION_LIBS
17292 IOKIT_LIBS = $IOKIT_LIBS
17293 FORCEFEEDBACK_LIBS = $FORCEFEEDBACK_LIBS
17294 APPLICATIONSERVICES_LIBS = $APPLICATIONSERVICES_LIBS
17295 CORESERVICES_LIBS = $CORESERVICES_LIBS
17296 APPKIT_LIBS = $APPKIT_LIBS
17297 DISKARBITRATION_LIBS = $DISKARBITRATION_LIBS
17298 SECURITY_LIBS = $SECURITY_LIBS
17299 COREAUDIO_LIBS = $COREAUDIO_LIBS
17300 OPENAL_LIBS = $OPENAL_LIBS
17301 OPENCL_LIBS = $OPENCL_LIBS
17302 QUICKTIME_LIBS = $QUICKTIME_LIBS
17303 CARBON_LIBS = $CARBON_LIBS
17304 PTHREAD_LIBS = $PTHREAD_LIBS
17305 X_CFLAGS = $X_CFLAGS
17306 X_PRE_LIBS = $X_PRE_LIBS
17308 X_EXTRA_LIBS = $X_EXTRA_LIBS
17309 PCAP_LIBS = $PCAP_LIBS
17310 XML2_CFLAGS = $XML2_CFLAGS
17311 XML2_LIBS = $XML2_LIBS
17312 XSLT_CFLAGS = $XSLT_CFLAGS
17313 XSLT_LIBS = $XSLT_LIBS
17314 DBUS_CFLAGS = $DBUS_CFLAGS
17315 DBUS_LIBS = $DBUS_LIBS
17316 HAL_CFLAGS = $HAL_CFLAGS
17317 HAL_LIBS = $HAL_LIBS
17318 GNUTLS_CFLAGS = $GNUTLS_CFLAGS
17319 GNUTLS_LIBS = $GNUTLS_LIBS
17320 SANE_CFLAGS = $SANE_CFLAGS
17321 SANE_LIBS = $SANE_LIBS
17322 GPHOTO2_CFLAGS = $GPHOTO2_CFLAGS
17323 GPHOTO2_LIBS = $GPHOTO2_LIBS
17324 GPHOTO2_PORT_CFLAGS = $GPHOTO2_PORT_CFLAGS
17325 GPHOTO2_PORT_LIBS = $GPHOTO2_PORT_LIBS
17326 RESOLV_LIBS = $RESOLV_LIBS
17327 LCMS2_CFLAGS = $LCMS2_CFLAGS
17328 LCMS2_LIBS = $LCMS2_LIBS
17329 FREETYPE_CFLAGS = $FREETYPE_CFLAGS
17330 FREETYPE_LIBS = $FREETYPE_LIBS
17332 GETTEXTPO_LIBS = $GETTEXTPO_LIBS
17333 PULSE_CFLAGS = $PULSE_CFLAGS
17334 PULSE_LIBS = $PULSE_LIBS
17335 GSTREAMER_CFLAGS = $GSTREAMER_CFLAGS
17336 GSTREAMER_LIBS = $GSTREAMER_LIBS
17337 ALSA_LIBS = $ALSA_LIBS
17338 OSS4_CFLAGS = $OSS4_CFLAGS
17339 CAPI20_CFLAGS = $CAPI20_CFLAGS
17340 CAPI20_LIBS = $CAPI20_LIBS
17341 CUPS_CFLAGS = $CUPS_CFLAGS
17342 FONTCONFIG_CFLAGS = $FONTCONFIG_CFLAGS
17343 FONTCONFIG_LIBS = $FONTCONFIG_LIBS
17344 JPEG_CFLAGS = $JPEG_CFLAGS
17345 JPEG_LIBS = $JPEG_LIBS
17346 PNG_CFLAGS = $PNG_CFLAGS
17347 PNG_LIBS = $PNG_LIBS
17348 TIFF_CFLAGS = $TIFF_CFLAGS
17349 TIFF_LIBS = $TIFF_LIBS
17350 MPG123_CFLAGS = $MPG123_CFLAGS
17351 MPG123_LIBS = $MPG123_LIBS
17352 KSTAT_LIBS = $KSTAT_LIBS
17353 PROCSTAT_LIBS = $PROCSTAT_LIBS
17354 NETAPI_CFLAGS = $NETAPI_CFLAGS
17355 NETAPI_LIBS = $NETAPI_LIBS
17356 EXCESS_PRECISION_CFLAGS = $EXCESS_PRECISION_CFLAGS
17358 POLL_LIBS = $POLL_LIBS
17360 LDAP_LIBS = $LDAP_LIBS
17365 wine_fn_append_rule
"
17366 # Rules automatically generated by configure
17368 CLEAN_FILES = *.o *.a *.so *.res *.fake *.ok *.tab.[ch] *.yy.c
17373 Makefile: $srcdir/Makefile.in config.status \$(MAKEDEP)
17374 @./config.status Make.tmp Makefile
17375 depend: \$(MAKEDEP) dummy
17378 test -n "$CROSSTARGET" || wine_fn_append_rule
"crosstest:
17379 @echo \"crosstest is not supported (mingw not installed?)\" && false"
17381 if test "x$enable_fonts" != xno
; then
17382 ac_config_links
="$ac_config_links fonts/marlett.ttf:fonts/marlett.ttf"
17383 ac_config_links
="$ac_config_links fonts/symbol.ttf:fonts/symbol.ttf"
17384 ac_config_links
="$ac_config_links fonts/tahoma.ttf:fonts/tahoma.ttf"
17385 ac_config_links
="$ac_config_links fonts/tahomabd.ttf:fonts/tahomabd.ttf"
17386 ac_config_links
="$ac_config_links fonts/wingding.ttf:fonts/wingding.ttf"
17387 test "$srcdir" = "." || wine_fn_config_symlink fonts
/marlett.ttf fonts
/symbol.ttf fonts
/tahoma.ttf fonts
/tahomabd.ttf fonts
/wingding.ttf
17389 ac_config_links
="$ac_config_links loader/l_intl.nls:loader/l_intl.nls"
17390 test "$srcdir" = "." || wine_fn_config_symlink loader
/l_intl.nls
17391 ac_config_links
="$ac_config_links wine:tools/winewrapper"
17392 wine_fn_config_symlink wine
17393 if test "x$enable_win64" != xno
; then
17394 ac_config_links
="$ac_config_links wine64:tools/winewrapper"
17395 wine_fn_config_symlink wine64
17398 wine_fn_config_dll acledit enable_acledit
17399 wine_fn_config_dll aclui enable_aclui implib
17400 wine_fn_config_dll activeds enable_activeds implib
17401 wine_fn_config_dll actxprxy enable_actxprxy clean
17402 wine_fn_config_lib adsiid
17403 wine_fn_config_dll advapi32 enable_advapi32 clean
,implib
17404 wine_fn_config_test dlls
/advapi32
/tests advapi32_test
17405 wine_fn_config_dll advpack enable_advpack implib
17406 wine_fn_config_test dlls
/advpack
/tests advpack_test
17407 wine_fn_config_dll amstream enable_amstream clean
17408 wine_fn_config_test dlls
/amstream
/tests amstream_test
17409 wine_fn_config_dll api-ms-win-core-com-l1-1-0 enable_api_ms_win_core_com_l1_1_0
17410 wine_fn_config_dll api-ms-win-core-com-l1-1-1 enable_api_ms_win_core_com_l1_1_1
17411 wine_fn_config_dll api-ms-win-core-console-l1-1-0 enable_api_ms_win_core_console_l1_1_0
17412 wine_fn_config_dll api-ms-win-core-console-l2-1-0 enable_api_ms_win_core_console_l2_1_0
17413 wine_fn_config_dll api-ms-win-core-datetime-l1-1-0 enable_api_ms_win_core_datetime_l1_1_0
17414 wine_fn_config_dll api-ms-win-core-datetime-l1-1-1 enable_api_ms_win_core_datetime_l1_1_1
17415 wine_fn_config_dll api-ms-win-core-debug-l1-1-0 enable_api_ms_win_core_debug_l1_1_0
17416 wine_fn_config_dll api-ms-win-core-debug-l1-1-1 enable_api_ms_win_core_debug_l1_1_1
17417 wine_fn_config_dll api-ms-win-core-delayload-l1-1-1 enable_api_ms_win_core_delayload_l1_1_1
17418 wine_fn_config_dll api-ms-win-core-errorhandling-l1-1-0 enable_api_ms_win_core_errorhandling_l1_1_0
17419 wine_fn_config_dll api-ms-win-core-errorhandling-l1-1-1 enable_api_ms_win_core_errorhandling_l1_1_1
17420 wine_fn_config_dll api-ms-win-core-errorhandling-l1-1-2 enable_api_ms_win_core_errorhandling_l1_1_2
17421 wine_fn_config_dll api-ms-win-core-fibers-l1-1-0 enable_api_ms_win_core_fibers_l1_1_0
17422 wine_fn_config_dll api-ms-win-core-fibers-l1-1-1 enable_api_ms_win_core_fibers_l1_1_1
17423 wine_fn_config_dll api-ms-win-core-file-l1-1-0 enable_api_ms_win_core_file_l1_1_0
17424 wine_fn_config_dll api-ms-win-core-file-l1-2-0 enable_api_ms_win_core_file_l1_2_0
17425 wine_fn_config_dll api-ms-win-core-file-l1-2-1 enable_api_ms_win_core_file_l1_2_1
17426 wine_fn_config_dll api-ms-win-core-file-l2-1-0 enable_api_ms_win_core_file_l2_1_0
17427 wine_fn_config_dll api-ms-win-core-file-l2-1-1 enable_api_ms_win_core_file_l2_1_1
17428 wine_fn_config_dll api-ms-win-core-handle-l1-1-0 enable_api_ms_win_core_handle_l1_1_0
17429 wine_fn_config_dll api-ms-win-core-heap-l1-1-0 enable_api_ms_win_core_heap_l1_1_0
17430 wine_fn_config_dll api-ms-win-core-heap-l1-2-0 enable_api_ms_win_core_heap_l1_2_0
17431 wine_fn_config_dll api-ms-win-core-heap-obsolete-l1-1-0 enable_api_ms_win_core_heap_obsolete_l1_1_0
17432 wine_fn_config_dll api-ms-win-core-interlocked-l1-1-0 enable_api_ms_win_core_interlocked_l1_1_0
17433 wine_fn_config_dll api-ms-win-core-interlocked-l1-2-0 enable_api_ms_win_core_interlocked_l1_2_0
17434 wine_fn_config_dll api-ms-win-core-io-l1-1-1 enable_api_ms_win_core_io_l1_1_1
17435 wine_fn_config_dll api-ms-win-core-kernel32-legacy-l1-1-0 enable_api_ms_win_core_kernel32_legacy_l1_1_0
17436 wine_fn_config_dll api-ms-win-core-kernel32-legacy-l1-1-1 enable_api_ms_win_core_kernel32_legacy_l1_1_1
17437 wine_fn_config_dll api-ms-win-core-libraryloader-l1-1-0 enable_api_ms_win_core_libraryloader_l1_1_0
17438 wine_fn_config_dll api-ms-win-core-libraryloader-l1-1-1 enable_api_ms_win_core_libraryloader_l1_1_1
17439 wine_fn_config_dll api-ms-win-core-libraryloader-l1-2-0 enable_api_ms_win_core_libraryloader_l1_2_0
17440 wine_fn_config_dll api-ms-win-core-localization-l1-1-0 enable_api_ms_win_core_localization_l1_1_0
17441 wine_fn_config_dll api-ms-win-core-localization-l1-2-0 enable_api_ms_win_core_localization_l1_2_0
17442 wine_fn_config_dll api-ms-win-core-localization-l1-2-1 enable_api_ms_win_core_localization_l1_2_1
17443 wine_fn_config_dll api-ms-win-core-localization-obsolete-l1-1-0 enable_api_ms_win_core_localization_obsolete_l1_1_0
17444 wine_fn_config_dll api-ms-win-core-localregistry-l1-1-0 enable_api_ms_win_core_localregistry_l1_1_0
17445 wine_fn_config_dll api-ms-win-core-memory-l1-1-0 enable_api_ms_win_core_memory_l1_1_0
17446 wine_fn_config_dll api-ms-win-core-memory-l1-1-1 enable_api_ms_win_core_memory_l1_1_1
17447 wine_fn_config_dll api-ms-win-core-memory-l1-1-2 enable_api_ms_win_core_memory_l1_1_2
17448 wine_fn_config_dll api-ms-win-core-misc-l1-1-0 enable_api_ms_win_core_misc_l1_1_0
17449 wine_fn_config_dll api-ms-win-core-namedpipe-l1-1-0 enable_api_ms_win_core_namedpipe_l1_1_0
17450 wine_fn_config_dll api-ms-win-core-namedpipe-l1-2-0 enable_api_ms_win_core_namedpipe_l1_2_0
17451 wine_fn_config_dll api-ms-win-core-path-l1-1-0 enable_api_ms_win_core_path_l1_1_0
17452 wine_fn_config_dll api-ms-win-core-processenvironment-l1-1-0 enable_api_ms_win_core_processenvironment_l1_1_0
17453 wine_fn_config_dll api-ms-win-core-processenvironment-l1-2-0 enable_api_ms_win_core_processenvironment_l1_2_0
17454 wine_fn_config_dll api-ms-win-core-processthreads-l1-1-0 enable_api_ms_win_core_processthreads_l1_1_0
17455 wine_fn_config_dll api-ms-win-core-processthreads-l1-1-1 enable_api_ms_win_core_processthreads_l1_1_1
17456 wine_fn_config_dll api-ms-win-core-processthreads-l1-1-2 enable_api_ms_win_core_processthreads_l1_1_2
17457 wine_fn_config_dll api-ms-win-core-profile-l1-1-0 enable_api_ms_win_core_profile_l1_1_0
17458 wine_fn_config_dll api-ms-win-core-psapi-l1-1-0 enable_api_ms_win_core_psapi_l1_1_0
17459 wine_fn_config_dll api-ms-win-core-registry-l1-1-0 enable_api_ms_win_core_registry_l1_1_0
17460 wine_fn_config_dll api-ms-win-core-rtlsupport-l1-1-0 enable_api_ms_win_core_rtlsupport_l1_1_0
17461 wine_fn_config_dll api-ms-win-core-rtlsupport-l1-2-0 enable_api_ms_win_core_rtlsupport_l1_2_0
17462 wine_fn_config_dll api-ms-win-core-shlwapi-legacy-l1-1-0 enable_api_ms_win_core_shlwapi_legacy_l1_1_0
17463 wine_fn_config_dll api-ms-win-core-string-l1-1-0 enable_api_ms_win_core_string_l1_1_0
17464 wine_fn_config_dll api-ms-win-core-string-l2-1-0 enable_api_ms_win_core_string_l2_1_0
17465 wine_fn_config_dll api-ms-win-core-synch-l1-1-0 enable_api_ms_win_core_synch_l1_1_0
17466 wine_fn_config_dll api-ms-win-core-synch-l1-2-0 enable_api_ms_win_core_synch_l1_2_0
17467 wine_fn_config_dll api-ms-win-core-sysinfo-l1-1-0 enable_api_ms_win_core_sysinfo_l1_1_0
17468 wine_fn_config_dll api-ms-win-core-sysinfo-l1-2-0 enable_api_ms_win_core_sysinfo_l1_2_0
17469 wine_fn_config_dll api-ms-win-core-sysinfo-l1-2-1 enable_api_ms_win_core_sysinfo_l1_2_1
17470 wine_fn_config_dll api-ms-win-core-threadpool-l1-2-0 enable_api_ms_win_core_threadpool_l1_2_0
17471 wine_fn_config_dll api-ms-win-core-threadpool-legacy-l1-1-0 enable_api_ms_win_core_threadpool_legacy_l1_1_0
17472 wine_fn_config_dll api-ms-win-core-timezone-l1-1-0 enable_api_ms_win_core_timezone_l1_1_0
17473 wine_fn_config_dll api-ms-win-core-url-l1-1-0 enable_api_ms_win_core_url_l1_1_0
17474 wine_fn_config_dll api-ms-win-core-util-l1-1-0 enable_api_ms_win_core_util_l1_1_0
17475 wine_fn_config_dll api-ms-win-core-version-l1-1-0 enable_api_ms_win_core_version_l1_1_0
17476 wine_fn_config_dll api-ms-win-core-winrt-error-l1-1-0 enable_api_ms_win_core_winrt_error_l1_1_0
17477 wine_fn_config_dll api-ms-win-core-winrt-error-l1-1-1 enable_api_ms_win_core_winrt_error_l1_1_1
17478 wine_fn_config_dll api-ms-win-core-winrt-l1-1-0 enable_api_ms_win_core_winrt_l1_1_0
17479 wine_fn_config_dll api-ms-win-core-winrt-registration-l1-1-0 enable_api_ms_win_core_winrt_registration_l1_1_0
17480 wine_fn_config_dll api-ms-win-core-winrt-string-l1-1-0 enable_api_ms_win_core_winrt_string_l1_1_0
17481 wine_fn_config_dll api-ms-win-core-wow64-l1-1-0 enable_api_ms_win_core_wow64_l1_1_0
17482 wine_fn_config_dll api-ms-win-core-xstate-l2-1-0 enable_api_ms_win_core_xstate_l2_1_0
17483 wine_fn_config_dll api-ms-win-crt-conio-l1-1-0 enable_api_ms_win_crt_conio_l1_1_0
17484 wine_fn_config_dll api-ms-win-crt-convert-l1-1-0 enable_api_ms_win_crt_convert_l1_1_0
17485 wine_fn_config_dll api-ms-win-crt-environment-l1-1-0 enable_api_ms_win_crt_environment_l1_1_0
17486 wine_fn_config_dll api-ms-win-crt-filesystem-l1-1-0 enable_api_ms_win_crt_filesystem_l1_1_0
17487 wine_fn_config_dll api-ms-win-crt-heap-l1-1-0 enable_api_ms_win_crt_heap_l1_1_0
17488 wine_fn_config_dll api-ms-win-crt-locale-l1-1-0 enable_api_ms_win_crt_locale_l1_1_0
17489 wine_fn_config_dll api-ms-win-crt-math-l1-1-0 enable_api_ms_win_crt_math_l1_1_0
17490 wine_fn_config_dll api-ms-win-crt-multibyte-l1-1-0 enable_api_ms_win_crt_multibyte_l1_1_0
17491 wine_fn_config_dll api-ms-win-crt-private-l1-1-0 enable_api_ms_win_crt_private_l1_1_0
17492 wine_fn_config_dll api-ms-win-crt-process-l1-1-0 enable_api_ms_win_crt_process_l1_1_0
17493 wine_fn_config_dll api-ms-win-crt-runtime-l1-1-0 enable_api_ms_win_crt_runtime_l1_1_0
17494 wine_fn_config_dll api-ms-win-crt-stdio-l1-1-0 enable_api_ms_win_crt_stdio_l1_1_0
17495 wine_fn_config_dll api-ms-win-crt-string-l1-1-0 enable_api_ms_win_crt_string_l1_1_0
17496 wine_fn_config_dll api-ms-win-crt-time-l1-1-0 enable_api_ms_win_crt_time_l1_1_0
17497 wine_fn_config_dll api-ms-win-crt-utility-l1-1-0 enable_api_ms_win_crt_utility_l1_1_0
17498 wine_fn_config_dll api-ms-win-downlevel-advapi32-l1-1-0 enable_api_ms_win_downlevel_advapi32_l1_1_0
17499 wine_fn_config_dll api-ms-win-downlevel-advapi32-l2-1-0 enable_api_ms_win_downlevel_advapi32_l2_1_0
17500 wine_fn_config_dll api-ms-win-downlevel-normaliz-l1-1-0 enable_api_ms_win_downlevel_normaliz_l1_1_0
17501 wine_fn_config_dll api-ms-win-downlevel-ole32-l1-1-0 enable_api_ms_win_downlevel_ole32_l1_1_0
17502 wine_fn_config_dll api-ms-win-downlevel-shell32-l1-1-0 enable_api_ms_win_downlevel_shell32_l1_1_0
17503 wine_fn_config_dll api-ms-win-downlevel-shlwapi-l1-1-0 enable_api_ms_win_downlevel_shlwapi_l1_1_0
17504 wine_fn_config_dll api-ms-win-downlevel-shlwapi-l2-1-0 enable_api_ms_win_downlevel_shlwapi_l2_1_0
17505 wine_fn_config_dll api-ms-win-downlevel-user32-l1-1-0 enable_api_ms_win_downlevel_user32_l1_1_0
17506 wine_fn_config_dll api-ms-win-downlevel-version-l1-1-0 enable_api_ms_win_downlevel_version_l1_1_0
17507 wine_fn_config_dll api-ms-win-eventing-classicprovider-l1-1-0 enable_api_ms_win_eventing_classicprovider_l1_1_0
17508 wine_fn_config_dll api-ms-win-eventing-provider-l1-1-0 enable_api_ms_win_eventing_provider_l1_1_0
17509 wine_fn_config_dll api-ms-win-ntuser-dc-access-l1-1-0 enable_api_ms_win_ntuser_dc_access_l1_1_0
17510 wine_fn_config_dll api-ms-win-security-base-l1-1-0 enable_api_ms_win_security_base_l1_1_0
17511 wine_fn_config_dll api-ms-win-security-base-l1-2-0 enable_api_ms_win_security_base_l1_2_0
17512 wine_fn_config_dll api-ms-win-security-lsalookup-l1-1-0 enable_api_ms_win_security_lsalookup_l1_1_0
17513 wine_fn_config_dll api-ms-win-security-lsalookup-l1-1-1 enable_api_ms_win_security_lsalookup_l1_1_1
17514 wine_fn_config_dll api-ms-win-security-sddl-l1-1-0 enable_api_ms_win_security_sddl_l1_1_0
17515 wine_fn_config_dll api-ms-win-service-core-l1-1-1 enable_api_ms_win_service_core_l1_1_1
17516 wine_fn_config_dll api-ms-win-service-management-l1-1-0 enable_api_ms_win_service_management_l1_1_0
17517 wine_fn_config_dll api-ms-win-service-winsvc-l1-2-0 enable_api_ms_win_service_winsvc_l1_2_0
17518 wine_fn_config_dll apphelp enable_apphelp
17519 wine_fn_config_test dlls
/apphelp
/tests apphelp_test
17520 wine_fn_config_dll appwiz.cpl enable_appwiz_cpl clean
17521 wine_fn_config_dll atl enable_atl clean
,implib
17522 wine_fn_config_test dlls
/atl
/tests atl_test
17523 wine_fn_config_dll atl100 enable_atl100 clean
,implib
17524 wine_fn_config_test dlls
/atl100
/tests atl100_test
17525 wine_fn_config_dll atl110 enable_atl110 clean
17526 wine_fn_config_dll atl80 enable_atl80 clean
,implib
17527 wine_fn_config_test dlls
/atl80
/tests atl80_test
17528 wine_fn_config_dll atl90 enable_atl90 clean
17529 wine_fn_config_dll authz enable_authz
17530 wine_fn_config_dll avicap32 enable_avicap32 implib
17531 wine_fn_config_dll avifil32 enable_avifil32 clean
,implib
17532 wine_fn_config_test dlls
/avifil32
/tests avifil32_test
17533 wine_fn_config_dll avifile.dll16 enable_win16
17534 wine_fn_config_dll avrt enable_avrt implib
17535 wine_fn_config_dll bcrypt enable_bcrypt implib
17536 wine_fn_config_test dlls
/bcrypt
/tests bcrypt_test
17537 wine_fn_config_dll bluetoothapis enable_bluetoothapis
17538 wine_fn_config_dll browseui enable_browseui clean
17539 wine_fn_config_test dlls
/browseui
/tests browseui_test
17540 wine_fn_config_dll bthprops.cpl enable_bthprops_cpl
17541 wine_fn_config_dll cabinet enable_cabinet implib
17542 wine_fn_config_test dlls
/cabinet
/tests cabinet_test
17543 wine_fn_config_dll capi2032 enable_capi2032 implib
17544 wine_fn_config_dll cards enable_cards implib
17545 wine_fn_config_dll cfgmgr32 enable_cfgmgr32 implib
17546 wine_fn_config_dll clusapi enable_clusapi implib
17547 wine_fn_config_dll combase enable_combase
17548 wine_fn_config_test dlls
/combase
/tests combase_test
17549 wine_fn_config_dll comcat enable_comcat
17550 wine_fn_config_test dlls
/comcat
/tests comcat_test
17551 wine_fn_config_dll comctl32 enable_comctl32 clean
,implib
17552 wine_fn_config_test dlls
/comctl32
/tests comctl32_test
17553 wine_fn_config_dll comdlg32 enable_comdlg32 clean
,implib
17554 wine_fn_config_test dlls
/comdlg32
/tests comdlg32_test
17555 wine_fn_config_dll
comm.drv16 enable_win16
17556 wine_fn_config_dll commdlg.dll16 enable_win16
17557 wine_fn_config_dll compobj.dll16 enable_win16
17558 wine_fn_config_dll compstui enable_compstui implib
17559 wine_fn_config_dll comsvcs enable_comsvcs implib
17560 wine_fn_config_dll concrt140 enable_concrt140
17561 wine_fn_config_dll connect enable_connect
17562 wine_fn_config_dll credui enable_credui clean
,implib
17563 wine_fn_config_test dlls
/credui
/tests credui_test
17564 wine_fn_config_dll crtdll enable_crtdll
17565 wine_fn_config_dll crypt32 enable_crypt32 clean
,implib
17566 wine_fn_config_test dlls
/crypt32
/tests crypt32_test
17567 wine_fn_config_dll cryptdlg enable_cryptdlg clean
17568 wine_fn_config_dll cryptdll enable_cryptdll implib
17569 wine_fn_config_dll cryptext enable_cryptext
17570 wine_fn_config_dll cryptnet enable_cryptnet implib
17571 wine_fn_config_test dlls
/cryptnet
/tests cryptnet_test
17572 wine_fn_config_dll cryptui enable_cryptui clean
,implib
17573 wine_fn_config_test dlls
/cryptui
/tests cryptui_test
17574 wine_fn_config_dll ctapi32 enable_ctapi32
17575 wine_fn_config_dll ctl3d.dll16 enable_win16
17576 wine_fn_config_dll ctl3d32 enable_ctl3d32
17577 wine_fn_config_dll ctl3dv2.dll16 enable_win16
17578 wine_fn_config_dll d2d1 enable_d2d1 implib
17579 wine_fn_config_test dlls
/d2d
1/tests d2d1_test
17580 wine_fn_config_dll d3d10 enable_d3d10 implib
17581 wine_fn_config_test dlls
/d3d10
/tests d3d10_test
17582 wine_fn_config_dll d3d10_1 enable_d3d10_1 implib
17583 wine_fn_config_test dlls
/d3d10_
1/tests d3d10_1_test
17584 wine_fn_config_dll d3d10core enable_d3d10core implib
17585 wine_fn_config_test dlls
/d3d10core
/tests d3d10core_test
17586 wine_fn_config_dll d3d11 enable_d3d11 implib
17587 wine_fn_config_test dlls
/d3d11
/tests d3d11_test
17588 wine_fn_config_dll d3d8 enable_d3d8 implib
17589 wine_fn_config_test dlls
/d3d
8/tests d3d8_test
17590 wine_fn_config_dll d3d9 enable_d3d9 implib
17591 wine_fn_config_test dlls
/d3d
9/tests d3d9_test
17592 wine_fn_config_dll d3dcompiler_33 enable_d3dcompiler_33
17593 wine_fn_config_dll d3dcompiler_34 enable_d3dcompiler_34
17594 wine_fn_config_dll d3dcompiler_35 enable_d3dcompiler_35
17595 wine_fn_config_dll d3dcompiler_36 enable_d3dcompiler_36
17596 wine_fn_config_dll d3dcompiler_37 enable_d3dcompiler_37
17597 wine_fn_config_dll d3dcompiler_38 enable_d3dcompiler_38
17598 wine_fn_config_dll d3dcompiler_39 enable_d3dcompiler_39
17599 wine_fn_config_dll d3dcompiler_40 enable_d3dcompiler_40
17600 wine_fn_config_dll d3dcompiler_41 enable_d3dcompiler_41
17601 wine_fn_config_dll d3dcompiler_42 enable_d3dcompiler_42
17602 wine_fn_config_dll d3dcompiler_43 enable_d3dcompiler_43 implib d3dcompiler
17603 wine_fn_config_test dlls
/d3dcompiler_43
/tests d3dcompiler_43_test
17604 wine_fn_config_dll d3dcompiler_46 enable_d3dcompiler_46
17605 wine_fn_config_dll d3dcompiler_47 enable_d3dcompiler_47
17606 wine_fn_config_dll d3dim enable_d3dim
17607 wine_fn_config_dll d3drm enable_d3drm implib
17608 wine_fn_config_test dlls
/d3drm
/tests d3drm_test
17609 wine_fn_config_dll d3dx10_33 enable_d3dx10_33
17610 wine_fn_config_dll d3dx10_34 enable_d3dx10_34
17611 wine_fn_config_dll d3dx10_35 enable_d3dx10_35
17612 wine_fn_config_dll d3dx10_36 enable_d3dx10_36
17613 wine_fn_config_dll d3dx10_37 enable_d3dx10_37
17614 wine_fn_config_dll d3dx10_38 enable_d3dx10_38
17615 wine_fn_config_dll d3dx10_39 enable_d3dx10_39
17616 wine_fn_config_dll d3dx10_40 enable_d3dx10_40
17617 wine_fn_config_dll d3dx10_41 enable_d3dx10_41
17618 wine_fn_config_dll d3dx10_42 enable_d3dx10_42
17619 wine_fn_config_dll d3dx10_43 enable_d3dx10_43 implib d3dx10
17620 wine_fn_config_test dlls
/d3dx10_43
/tests d3dx10_43_test
17621 wine_fn_config_dll d3dx11_42 enable_d3dx11_42
17622 wine_fn_config_dll d3dx11_43 enable_d3dx11_43 implib d3dx11
17623 wine_fn_config_dll d3dx9_24 enable_d3dx9_24
17624 wine_fn_config_dll d3dx9_25 enable_d3dx9_25
17625 wine_fn_config_dll d3dx9_26 enable_d3dx9_26
17626 wine_fn_config_dll d3dx9_27 enable_d3dx9_27
17627 wine_fn_config_dll d3dx9_28 enable_d3dx9_28
17628 wine_fn_config_dll d3dx9_29 enable_d3dx9_29
17629 wine_fn_config_dll d3dx9_30 enable_d3dx9_30
17630 wine_fn_config_dll d3dx9_31 enable_d3dx9_31
17631 wine_fn_config_dll d3dx9_32 enable_d3dx9_32
17632 wine_fn_config_dll d3dx9_33 enable_d3dx9_33
17633 wine_fn_config_dll d3dx9_34 enable_d3dx9_34
17634 wine_fn_config_dll d3dx9_35 enable_d3dx9_35
17635 wine_fn_config_dll d3dx9_36 enable_d3dx9_36 implib d3dx9
17636 wine_fn_config_test dlls
/d3dx9_36
/tests d3dx9_36_test
17637 wine_fn_config_dll d3dx9_37 enable_d3dx9_37
17638 wine_fn_config_dll d3dx9_38 enable_d3dx9_38
17639 wine_fn_config_dll d3dx9_39 enable_d3dx9_39
17640 wine_fn_config_dll d3dx9_40 enable_d3dx9_40
17641 wine_fn_config_dll d3dx9_41 enable_d3dx9_41
17642 wine_fn_config_dll d3dx9_42 enable_d3dx9_42
17643 wine_fn_config_dll d3dx9_43 enable_d3dx9_43
17644 wine_fn_config_dll d3dxof enable_d3dxof clean
,implib
17645 wine_fn_config_test dlls
/d3dxof
/tests d3dxof_test
17646 wine_fn_config_dll davclnt enable_davclnt
17647 wine_fn_config_dll dbgeng enable_dbgeng implib
17648 wine_fn_config_dll dbghelp enable_dbghelp implib
17649 wine_fn_config_dll dciman32 enable_dciman32 implib
17650 wine_fn_config_dll ddeml.dll16 enable_win16
17651 wine_fn_config_dll ddraw enable_ddraw clean
,implib
17652 wine_fn_config_test dlls
/ddraw
/tests ddraw_test
17653 wine_fn_config_dll ddrawex enable_ddrawex clean
17654 wine_fn_config_test dlls
/ddrawex
/tests ddrawex_test
17655 wine_fn_config_dll devenum enable_devenum clean
17656 wine_fn_config_test dlls
/devenum
/tests devenum_test
17657 wine_fn_config_dll dhcpcsvc enable_dhcpcsvc
17658 wine_fn_config_dll difxapi enable_difxapi
17659 wine_fn_config_dll dinput enable_dinput clean
,implib
,staticimplib
17660 wine_fn_config_test dlls
/dinput
/tests dinput_test
17661 wine_fn_config_dll dinput8 enable_dinput8 clean
,implib
17662 wine_fn_config_test dlls
/dinput
8/tests dinput8_test
17663 wine_fn_config_dll dispdib.dll16 enable_win16
17664 wine_fn_config_dll dispex enable_dispex clean
17665 wine_fn_config_test dlls
/dispex
/tests dispex_test
17666 wine_fn_config_dll display.drv16 enable_win16
17667 wine_fn_config_dll dmband enable_dmband clean
17668 wine_fn_config_test dlls
/dmband
/tests dmband_test
17669 wine_fn_config_dll dmcompos enable_dmcompos clean
17670 wine_fn_config_test dlls
/dmcompos
/tests dmcompos_test
17671 wine_fn_config_dll dmime enable_dmime clean
17672 wine_fn_config_test dlls
/dmime
/tests dmime_test
17673 wine_fn_config_dll dmloader enable_dmloader clean
17674 wine_fn_config_test dlls
/dmloader
/tests dmloader_test
17675 wine_fn_config_dll dmscript enable_dmscript clean
17676 wine_fn_config_test dlls
/dmscript
/tests dmscript_test
17677 wine_fn_config_dll dmstyle enable_dmstyle clean
17678 wine_fn_config_test dlls
/dmstyle
/tests dmstyle_test
17679 wine_fn_config_dll dmsynth enable_dmsynth clean
17680 wine_fn_config_test dlls
/dmsynth
/tests dmsynth_test
17681 wine_fn_config_dll dmusic enable_dmusic clean
17682 wine_fn_config_test dlls
/dmusic
/tests dmusic_test
17683 wine_fn_config_dll dmusic32 enable_dmusic32
17684 wine_fn_config_dll dnsapi enable_dnsapi implib
17685 wine_fn_config_test dlls
/dnsapi
/tests dnsapi_test
17686 wine_fn_config_dll dplay enable_dplay
17687 wine_fn_config_dll dplayx enable_dplayx clean
,implib
17688 wine_fn_config_test dlls
/dplayx
/tests dplayx_test
17689 wine_fn_config_dll dpnaddr enable_dpnaddr
17690 wine_fn_config_dll dpnet enable_dpnet clean
,implib
17691 wine_fn_config_test dlls
/dpnet
/tests dpnet_test
17692 wine_fn_config_dll dpnhpast enable_dpnhpast
17693 wine_fn_config_dll dpnlobby enable_dpnlobby
17694 wine_fn_config_dll dpvoice enable_dpvoice clean
17695 wine_fn_config_test dlls
/dpvoice
/tests dpvoice_test
17696 wine_fn_config_dll dpwsockx enable_dpwsockx
17697 wine_fn_config_dll drmclien enable_drmclien
17698 wine_fn_config_dll dsound enable_dsound clean
,implib
17699 wine_fn_config_test dlls
/dsound
/tests dsound_test
17700 wine_fn_config_dll dssenh enable_dssenh
17701 wine_fn_config_test dlls
/dssenh
/tests dssenh_test
17702 wine_fn_config_dll dswave enable_dswave clean
17703 wine_fn_config_test dlls
/dswave
/tests dswave_test
17704 wine_fn_config_dll dwmapi enable_dwmapi implib
17705 wine_fn_config_dll dwrite enable_dwrite implib
17706 wine_fn_config_test dlls
/dwrite
/tests dwrite_test
17707 wine_fn_config_dll dxdiagn enable_dxdiagn clean
17708 wine_fn_config_test dlls
/dxdiagn
/tests dxdiagn_test
17709 wine_fn_config_lib dxerr8
17710 wine_fn_config_lib dxerr9
17711 wine_fn_config_dll dxgi enable_dxgi implib
17712 wine_fn_config_test dlls
/dxgi
/tests dxgi_test
17713 wine_fn_config_lib dxguid
17714 wine_fn_config_dll dxva2 enable_dxva2
17715 wine_fn_config_dll esent enable_esent
17716 wine_fn_config_dll evr enable_evr
17717 wine_fn_config_dll explorerframe enable_explorerframe clean
17718 wine_fn_config_test dlls
/explorerframe
/tests explorerframe_test
17719 wine_fn_config_dll ext-ms-win-gdi-devcaps-l1-1-0 enable_ext_ms_win_gdi_devcaps_l1_1_0
17720 wine_fn_config_dll faultrep enable_faultrep implib
17721 wine_fn_config_test dlls
/faultrep
/tests faultrep_test
17722 wine_fn_config_dll fltlib enable_fltlib
17723 wine_fn_config_dll fltmgr.sys enable_fltmgr_sys
17724 wine_fn_config_dll fntcache enable_fntcache
17725 wine_fn_config_dll fontsub enable_fontsub
17726 wine_fn_config_dll fusion enable_fusion
17727 wine_fn_config_test dlls
/fusion
/tests fusion_test
17728 wine_fn_config_dll fwpuclnt enable_fwpuclnt
17729 wine_fn_config_dll gameux enable_gameux clean
17730 wine_fn_config_test dlls
/gameux
/tests gameux_test
17731 wine_fn_config_dll gdi.exe16 enable_win16
17732 wine_fn_config_dll gdi32 enable_gdi32 clean
,implib
17733 wine_fn_config_test dlls
/gdi32
/tests gdi32_test
17734 wine_fn_config_dll gdiplus enable_gdiplus implib
17735 wine_fn_config_test dlls
/gdiplus
/tests gdiplus_test
17736 wine_fn_config_dll glu32 enable_glu32 implib
17737 wine_fn_config_dll gphoto2.ds enable_gphoto2_ds clean
17738 wine_fn_config_dll gpkcsp enable_gpkcsp
17739 wine_fn_config_dll hal enable_hal
17740 wine_fn_config_dll hhctrl.ocx enable_hhctrl_ocx clean
,implib htmlhelp
17741 wine_fn_config_dll hid enable_hid implib
17742 wine_fn_config_dll hidclass.sys enable_hidclass_sys implib hidclass
17743 wine_fn_config_dll hlink enable_hlink clean
,implib
17744 wine_fn_config_test dlls
/hlink
/tests hlink_test
17745 wine_fn_config_dll hnetcfg enable_hnetcfg clean
17746 wine_fn_config_test dlls
/hnetcfg
/tests hnetcfg_test
17747 wine_fn_config_dll httpapi enable_httpapi
17748 wine_fn_config_dll iccvid enable_iccvid clean
17749 wine_fn_config_dll icmp enable_icmp
17750 wine_fn_config_dll ieframe enable_ieframe clean
,implib
17751 wine_fn_config_test dlls
/ieframe
/tests ieframe_test
17752 wine_fn_config_dll ifsmgr.vxd enable_win16
17753 wine_fn_config_dll imaadp32.acm enable_imaadp32_acm
17754 wine_fn_config_dll imagehlp enable_imagehlp implib
17755 wine_fn_config_test dlls
/imagehlp
/tests imagehlp_test
17756 wine_fn_config_dll imm.dll16 enable_win16
17757 wine_fn_config_dll imm32 enable_imm32 implib
17758 wine_fn_config_test dlls
/imm32
/tests imm32_test
17759 wine_fn_config_dll inetcomm enable_inetcomm clean
,implib
17760 wine_fn_config_test dlls
/inetcomm
/tests inetcomm_test
17761 wine_fn_config_dll inetcpl.cpl enable_inetcpl_cpl clean
17762 wine_fn_config_dll inetmib1 enable_inetmib1
17763 wine_fn_config_test dlls
/inetmib
1/tests inetmib1_test
17764 wine_fn_config_dll infosoft enable_infosoft clean
17765 wine_fn_config_test dlls
/infosoft
/tests infosoft_test
17766 wine_fn_config_dll initpki enable_initpki
17767 wine_fn_config_dll inkobj enable_inkobj
17768 wine_fn_config_dll inseng enable_inseng clean
17769 wine_fn_config_dll iphlpapi enable_iphlpapi implib
17770 wine_fn_config_test dlls
/iphlpapi
/tests iphlpapi_test
17771 wine_fn_config_dll irprops.cpl enable_irprops_cpl
17772 wine_fn_config_dll itircl enable_itircl
17773 wine_fn_config_dll itss enable_itss clean
17774 wine_fn_config_test dlls
/itss
/tests itss_test
17775 wine_fn_config_dll joy.cpl enable_joy_cpl clean
17776 wine_fn_config_dll jscript enable_jscript clean
17777 wine_fn_config_test dlls
/jscript
/tests jscript_test
17778 wine_fn_config_dll jsproxy enable_jsproxy implib
17779 wine_fn_config_test dlls
/jsproxy
/tests jsproxy_test
17780 wine_fn_config_dll kernel32 enable_kernel32 clean
,implib
17781 wine_fn_config_test dlls
/kernel32
/tests kernel32_test
17782 wine_fn_config_dll kernelbase enable_kernelbase
17783 wine_fn_config_dll keyboard.drv16 enable_win16
17784 wine_fn_config_dll krnl386.exe16 enable_win16 implib kernel
17785 wine_fn_config_dll ksuser enable_ksuser
17786 wine_fn_config_dll ktmw32 enable_ktmw32
17787 wine_fn_config_dll loadperf enable_loadperf implib
17788 wine_fn_config_dll localspl enable_localspl clean
17789 wine_fn_config_test dlls
/localspl
/tests localspl_test
17790 wine_fn_config_dll localui enable_localui clean
17791 wine_fn_config_test dlls
/localui
/tests localui_test
17792 wine_fn_config_dll lz32 enable_lz32 implib
17793 wine_fn_config_test dlls
/lz32
/tests lz32_test
17794 wine_fn_config_dll lzexpand.dll16 enable_win16
17795 wine_fn_config_dll mapi32 enable_mapi32 clean
,implib
17796 wine_fn_config_test dlls
/mapi32
/tests mapi32_test
17797 wine_fn_config_dll mapistub enable_mapistub
17798 wine_fn_config_dll mciavi32 enable_mciavi32
17799 wine_fn_config_dll mcicda enable_mcicda
17800 wine_fn_config_dll mciqtz32 enable_mciqtz32
17801 wine_fn_config_dll mciseq enable_mciseq
17802 wine_fn_config_dll mciwave enable_mciwave
17803 wine_fn_config_dll mf enable_mf
17804 wine_fn_config_dll mfplat enable_mfplat
17805 wine_fn_config_dll mfreadwrite enable_mfreadwrite
17806 wine_fn_config_dll mgmtapi enable_mgmtapi
17807 wine_fn_config_dll midimap enable_midimap
17808 wine_fn_config_dll mlang enable_mlang clean
,implib
17809 wine_fn_config_test dlls
/mlang
/tests mlang_test
17810 wine_fn_config_dll mmcndmgr enable_mmcndmgr clean
17811 wine_fn_config_test dlls
/mmcndmgr
/tests mmcndmgr_test
17812 wine_fn_config_dll mmdevapi enable_mmdevapi clean
17813 wine_fn_config_test dlls
/mmdevapi
/tests mmdevapi_test
17814 wine_fn_config_dll mmdevldr.vxd enable_win16
17815 wine_fn_config_dll mmsystem.dll16 enable_win16
17816 wine_fn_config_dll monodebg.vxd enable_win16
17817 wine_fn_config_dll mountmgr.sys enable_mountmgr_sys
17818 wine_fn_config_dll mouse.drv16 enable_win16
17819 wine_fn_config_dll mpr enable_mpr clean
,implib
17820 wine_fn_config_test dlls
/mpr
/tests mpr_test
17821 wine_fn_config_dll mprapi enable_mprapi implib
17822 wine_fn_config_dll msacm.dll16 enable_win16
17823 wine_fn_config_dll msacm32.drv enable_msacm32_drv
17824 wine_fn_config_dll msacm32 enable_msacm32 clean
,implib
17825 wine_fn_config_test dlls
/msacm32
/tests msacm32_test
17826 wine_fn_config_dll msadp32.acm enable_msadp32_acm
17827 wine_fn_config_dll msasn1 enable_msasn1 implib
17828 wine_fn_config_dll mscat32 enable_mscat32
17829 wine_fn_config_dll mscms enable_mscms implib
17830 wine_fn_config_test dlls
/mscms
/tests mscms_test
17831 wine_fn_config_dll mscoree enable_mscoree clean
17832 wine_fn_config_test dlls
/mscoree
/tests mscoree_test
17833 wine_fn_config_dll msctf enable_msctf clean
17834 wine_fn_config_test dlls
/msctf
/tests msctf_test
17835 wine_fn_config_dll msctfp enable_msctfp clean
17836 wine_fn_config_dll msdaps enable_msdaps clean
17837 wine_fn_config_dll msdelta enable_msdelta
17838 wine_fn_config_dll msdmo enable_msdmo implib
17839 wine_fn_config_test dlls
/msdmo
/tests msdmo_test
17840 wine_fn_config_dll msdrm enable_msdrm
17841 wine_fn_config_dll msftedit enable_msftedit
17842 wine_fn_config_dll msg711.acm enable_msg711_acm
17843 wine_fn_config_dll msgsm32.acm enable_msgsm32_acm
17844 wine_fn_config_dll mshtml.tlb enable_mshtml_tlb clean
17845 wine_fn_config_dll mshtml enable_mshtml clean
,implib
17846 wine_fn_config_test dlls
/mshtml
/tests mshtml_test clean
17847 wine_fn_config_dll msi enable_msi clean
,implib
17848 wine_fn_config_test dlls
/msi
/tests msi_test
17849 wine_fn_config_dll msident enable_msident clean
17850 wine_fn_config_dll msimg32 enable_msimg32 implib
17851 wine_fn_config_dll msimsg enable_msimsg
17852 wine_fn_config_dll msimtf enable_msimtf clean
17853 wine_fn_config_dll msisip enable_msisip
17854 wine_fn_config_dll msisys.ocx enable_msisys_ocx
17855 wine_fn_config_dll msls31 enable_msls31
17856 wine_fn_config_dll msnet32 enable_msnet32
17857 wine_fn_config_dll mspatcha enable_mspatcha implib
17858 wine_fn_config_dll msrle32 enable_msrle32 clean
17859 wine_fn_config_test dlls
/msrle32
/tests msrle32_test
17860 wine_fn_config_dll msscript.ocx enable_msscript_ocx clean
17861 wine_fn_config_test dlls
/msscript.ocx
/tests msscript.ocx_test clean
17862 wine_fn_config_dll mssign32 enable_mssign32
17863 wine_fn_config_dll mssip32 enable_mssip32
17864 wine_fn_config_dll mstask enable_mstask clean
17865 wine_fn_config_test dlls
/mstask
/tests mstask_test
17866 wine_fn_config_dll msvcirt enable_msvcirt
17867 wine_fn_config_test dlls
/msvcirt
/tests msvcirt_test
17868 wine_fn_config_dll msvcm80 enable_msvcm80
17869 wine_fn_config_dll msvcm90 enable_msvcm90
17870 wine_fn_config_dll msvcp100 enable_msvcp100
17871 wine_fn_config_test dlls
/msvcp100
/tests msvcp100_test
17872 wine_fn_config_dll msvcp110 enable_msvcp110
17873 wine_fn_config_test dlls
/msvcp110
/tests msvcp110_test
17874 wine_fn_config_dll msvcp120 enable_msvcp120
17875 wine_fn_config_test dlls
/msvcp120
/tests msvcp120_test
17876 wine_fn_config_dll msvcp120_app enable_msvcp120_app
17877 wine_fn_config_dll msvcp140 enable_msvcp140
17878 wine_fn_config_dll msvcp60 enable_msvcp60
17879 wine_fn_config_test dlls
/msvcp60
/tests msvcp60_test
17880 wine_fn_config_dll msvcp70 enable_msvcp70
17881 wine_fn_config_dll msvcp71 enable_msvcp71
17882 wine_fn_config_dll msvcp80 enable_msvcp80
17883 wine_fn_config_dll msvcp90 enable_msvcp90
17884 wine_fn_config_test dlls
/msvcp90
/tests msvcp90_test
17885 wine_fn_config_dll msvcr100 enable_msvcr100 implib
17886 wine_fn_config_test dlls
/msvcr100
/tests msvcr100_test
17887 wine_fn_config_dll msvcr110 enable_msvcr110 implib
17888 wine_fn_config_dll msvcr120 enable_msvcr120 implib
17889 wine_fn_config_test dlls
/msvcr120
/tests msvcr120_test
17890 wine_fn_config_dll msvcr120_app enable_msvcr120_app
17891 wine_fn_config_dll msvcr70 enable_msvcr70 implib
17892 wine_fn_config_dll msvcr71 enable_msvcr71 implib
17893 wine_fn_config_dll msvcr80 enable_msvcr80 implib
17894 wine_fn_config_dll msvcr90 enable_msvcr90 implib
17895 wine_fn_config_test dlls
/msvcr90
/tests msvcr90_test
17896 wine_fn_config_dll msvcrt enable_msvcrt implib
17897 wine_fn_config_test dlls
/msvcrt
/tests msvcrt_test
17898 wine_fn_config_dll msvcrt20 enable_msvcrt20
17899 wine_fn_config_dll msvcrt40 enable_msvcrt40
17900 wine_fn_config_dll msvcrtd enable_msvcrtd implib
17901 wine_fn_config_test dlls
/msvcrtd
/tests msvcrtd_test
17902 wine_fn_config_dll msvfw32 enable_msvfw32 clean
,implib
17903 wine_fn_config_test dlls
/msvfw32
/tests msvfw32_test
17904 wine_fn_config_dll msvidc32 enable_msvidc32 clean
17905 wine_fn_config_dll msvideo.dll16 enable_win16
17906 wine_fn_config_dll mswsock enable_mswsock implib
17907 wine_fn_config_dll msxml enable_msxml clean
17908 wine_fn_config_dll msxml2 enable_msxml2 clean
17909 wine_fn_config_dll msxml3 enable_msxml3 clean
17910 wine_fn_config_test dlls
/msxml
3/tests msxml3_test clean
17911 wine_fn_config_dll msxml4 enable_msxml4 clean
17912 wine_fn_config_dll msxml6 enable_msxml6 clean
17913 wine_fn_config_dll ncrypt enable_ncrypt
17914 wine_fn_config_dll nddeapi enable_nddeapi implib
17915 wine_fn_config_dll ndis.sys enable_ndis_sys
17916 wine_fn_config_dll netapi32 enable_netapi32 implib
17917 wine_fn_config_test dlls
/netapi32
/tests netapi32_test
17918 wine_fn_config_dll netcfgx enable_netcfgx clean
17919 wine_fn_config_test dlls
/netcfgx
/tests netcfgx_test
17920 wine_fn_config_dll netprofm enable_netprofm clean
17921 wine_fn_config_test dlls
/netprofm
/tests netprofm_test
17922 wine_fn_config_dll newdev enable_newdev implib
17923 wine_fn_config_dll normaliz enable_normaliz implib
17924 wine_fn_config_dll npmshtml enable_npmshtml
17925 wine_fn_config_dll npptools enable_npptools
17926 wine_fn_config_dll ntdll enable_ntdll implib
17927 wine_fn_config_test dlls
/ntdll
/tests ntdll_test
17928 wine_fn_config_dll ntdsapi enable_ntdsapi implib
17929 wine_fn_config_test dlls
/ntdsapi
/tests ntdsapi_test
17930 wine_fn_config_dll ntoskrnl.exe enable_ntoskrnl_exe implib ntoskrnl
17931 wine_fn_config_dll ntprint enable_ntprint
17932 wine_fn_config_test dlls
/ntprint
/tests ntprint_test
17933 wine_fn_config_dll objsel enable_objsel clean
17934 wine_fn_config_dll odbc32 enable_odbc32 implib
17935 wine_fn_config_dll odbccp32 enable_odbccp32 implib
17936 wine_fn_config_test dlls
/odbccp32
/tests odbccp32_test
17937 wine_fn_config_dll odbccu32 enable_odbccu32
17938 wine_fn_config_dll ole2.dll16 enable_win16
17939 wine_fn_config_dll ole2conv.dll16 enable_win16
17940 wine_fn_config_dll ole2disp.dll16 enable_win16
17941 wine_fn_config_dll ole2nls.dll16 enable_win16
17942 wine_fn_config_dll ole2prox.dll16 enable_win16
17943 wine_fn_config_dll ole2thk.dll16 enable_win16
17944 wine_fn_config_dll ole32 enable_ole32 clean
,implib
17945 wine_fn_config_test dlls
/ole32
/tests ole32_test
17946 wine_fn_config_dll oleacc enable_oleacc clean
,implib
17947 wine_fn_config_test dlls
/oleacc
/tests oleacc_test
17948 wine_fn_config_dll oleaut32 enable_oleaut32 clean
,implib
17949 wine_fn_config_test dlls
/oleaut32
/tests oleaut32_test clean
17950 wine_fn_config_dll olecli.dll16 enable_win16
17951 wine_fn_config_dll olecli32 enable_olecli32 implib
17952 wine_fn_config_dll oledb32 enable_oledb32 clean
17953 wine_fn_config_test dlls
/oledb32
/tests oledb32_test clean
17954 wine_fn_config_dll oledlg enable_oledlg clean
,implib
17955 wine_fn_config_test dlls
/oledlg
/tests oledlg_test
17956 wine_fn_config_dll olepro32 enable_olepro32 clean
,implib
17957 wine_fn_config_dll olesvr.dll16 enable_win16
17958 wine_fn_config_dll olesvr32 enable_olesvr32 implib
17959 wine_fn_config_dll olethk32 enable_olethk32
17960 wine_fn_config_dll openal32 enable_openal32
17961 wine_fn_config_dll opencl enable_opencl
17962 wine_fn_config_dll opengl32 enable_opengl32 implib
17963 wine_fn_config_test dlls
/opengl32
/tests opengl32_test
17964 wine_fn_config_dll packager enable_packager clean
17965 wine_fn_config_test dlls
/packager
/tests packager_test
17966 wine_fn_config_dll pdh enable_pdh implib
17967 wine_fn_config_test dlls
/pdh
/tests pdh_test
17968 wine_fn_config_dll photometadatahandler enable_photometadatahandler
17969 wine_fn_config_dll pidgen enable_pidgen
17970 wine_fn_config_dll powrprof enable_powrprof implib
17971 wine_fn_config_dll printui enable_printui
17972 wine_fn_config_dll prntvpt enable_prntvpt
17973 wine_fn_config_dll propsys enable_propsys clean
,implib
17974 wine_fn_config_test dlls
/propsys
/tests propsys_test
17975 wine_fn_config_dll psapi enable_psapi implib
17976 wine_fn_config_test dlls
/psapi
/tests psapi_test
17977 wine_fn_config_dll pstorec enable_pstorec clean
17978 wine_fn_config_dll qcap enable_qcap
17979 wine_fn_config_test dlls
/qcap
/tests qcap_test
17980 wine_fn_config_dll qedit enable_qedit clean
17981 wine_fn_config_test dlls
/qedit
/tests qedit_test
17982 wine_fn_config_dll qmgr enable_qmgr clean
17983 wine_fn_config_test dlls
/qmgr
/tests qmgr_test
17984 wine_fn_config_dll qmgrprxy enable_qmgrprxy clean
17985 wine_fn_config_dll quartz enable_quartz clean
,implib
17986 wine_fn_config_test dlls
/quartz
/tests quartz_test clean
17987 wine_fn_config_dll query enable_query
17988 wine_fn_config_dll rasapi16.dll16 enable_win16
17989 wine_fn_config_dll rasapi32 enable_rasapi32 implib
17990 wine_fn_config_test dlls
/rasapi32
/tests rasapi32_test
17991 wine_fn_config_dll rasdlg enable_rasdlg implib
17992 wine_fn_config_dll regapi enable_regapi
17993 wine_fn_config_dll resutils enable_resutils implib
17994 wine_fn_config_dll riched20 enable_riched20 clean
,implib
17995 wine_fn_config_test dlls
/riched20
/tests riched20_test
17996 wine_fn_config_dll riched32 enable_riched32
17997 wine_fn_config_test dlls
/riched32
/tests riched32_test
17998 wine_fn_config_dll rpcrt4 enable_rpcrt4 clean
,implib
17999 wine_fn_config_test dlls
/rpcrt
4/tests rpcrt4_test clean
18000 wine_fn_config_dll rsabase enable_rsabase
18001 wine_fn_config_dll rsaenh enable_rsaenh implib
18002 wine_fn_config_test dlls
/rsaenh
/tests rsaenh_test
18003 wine_fn_config_dll rstrtmgr enable_rstrtmgr
18004 wine_fn_config_dll rtutils enable_rtutils implib
18005 wine_fn_config_dll samlib enable_samlib
18006 wine_fn_config_dll sane.ds enable_sane_ds clean
18007 wine_fn_config_dll scarddlg enable_scarddlg
18008 wine_fn_config_dll sccbase enable_sccbase
18009 wine_fn_config_dll schannel enable_schannel
18010 wine_fn_config_test dlls
/schannel
/tests schannel_test
18011 wine_fn_config_dll schedsvc enable_schedsvc clean
18012 wine_fn_config_test dlls
/schedsvc
/tests schedsvc_test clean
18013 wine_fn_config_dll scrrun enable_scrrun clean
18014 wine_fn_config_test dlls
/scrrun
/tests scrrun_test clean
18015 wine_fn_config_dll scsiport.sys enable_scsiport_sys
18016 wine_fn_config_dll secur32 enable_secur32 implib
18017 wine_fn_config_test dlls
/secur32
/tests secur32_test
18018 wine_fn_config_dll security enable_security
18019 wine_fn_config_dll sensapi enable_sensapi implib
18020 wine_fn_config_dll serialui enable_serialui clean
18021 wine_fn_config_test dlls
/serialui
/tests serialui_test
18022 wine_fn_config_dll setupapi enable_setupapi clean
,implib
18023 wine_fn_config_test dlls
/setupapi
/tests setupapi_test
18024 wine_fn_config_dll setupx.dll16 enable_win16
18025 wine_fn_config_dll sfc enable_sfc implib
18026 wine_fn_config_dll sfc_os enable_sfc_os implib
18027 wine_fn_config_dll shdoclc enable_shdoclc clean
18028 wine_fn_config_dll shdocvw enable_shdocvw clean
,implib
18029 wine_fn_config_test dlls
/shdocvw
/tests shdocvw_test
18030 wine_fn_config_dll shell.dll16 enable_win16
18031 wine_fn_config_dll shell32 enable_shell32 clean
,implib
18032 wine_fn_config_test dlls
/shell32
/tests shell32_test
18033 wine_fn_config_dll shfolder enable_shfolder implib
18034 wine_fn_config_dll shlwapi enable_shlwapi clean
,implib
18035 wine_fn_config_test dlls
/shlwapi
/tests shlwapi_test
18036 wine_fn_config_dll slbcsp enable_slbcsp
18037 wine_fn_config_dll slc enable_slc implib
18038 wine_fn_config_test dlls
/slc
/tests slc_test
18039 wine_fn_config_dll snmpapi enable_snmpapi implib
18040 wine_fn_config_test dlls
/snmpapi
/tests snmpapi_test
18041 wine_fn_config_dll softpub enable_softpub
18042 wine_fn_config_dll sound.drv16 enable_win16
18043 wine_fn_config_dll spoolss enable_spoolss implib
18044 wine_fn_config_test dlls
/spoolss
/tests spoolss_test
18045 wine_fn_config_dll sspicli enable_sspicli
18046 wine_fn_config_dll stdole2.tlb enable_stdole2_tlb clean
18047 wine_fn_config_dll stdole32.tlb enable_stdole32_tlb clean
18048 wine_fn_config_dll sti enable_sti clean
,implib
18049 wine_fn_config_test dlls
/sti
/tests sti_test
18050 wine_fn_config_dll storage.dll16 enable_win16
18051 wine_fn_config_dll stress.dll16 enable_win16
18052 wine_fn_config_lib strmbase
18053 wine_fn_config_lib strmiids
18054 wine_fn_config_dll svrapi enable_svrapi
18055 wine_fn_config_dll sxs enable_sxs implib
18056 wine_fn_config_test dlls
/sxs
/tests sxs_test
18057 wine_fn_config_dll system.drv16 enable_win16
18058 wine_fn_config_dll t2embed enable_t2embed implib
18059 wine_fn_config_test dlls
/t2embed
/tests t2embed_test
18060 wine_fn_config_dll tapi32 enable_tapi32 implib
18061 wine_fn_config_dll taskschd enable_taskschd clean
18062 wine_fn_config_test dlls
/taskschd
/tests taskschd_test
18063 wine_fn_config_dll tdi.sys enable_tdi_sys
18064 wine_fn_config_dll toolhelp.dll16 enable_win16
18065 wine_fn_config_dll traffic enable_traffic
18066 wine_fn_config_dll twain.dll16 enable_win16
18067 wine_fn_config_dll twain_32 enable_twain_32
18068 wine_fn_config_test dlls
/twain_32
/tests twain_32_test
18069 wine_fn_config_dll typelib.dll16 enable_win16
18070 wine_fn_config_dll ucrtbase enable_ucrtbase implib
18071 wine_fn_config_test dlls
/ucrtbase
/tests ucrtbase_test
18072 wine_fn_config_dll unicows enable_unicows implib
18073 wine_fn_config_dll updspapi enable_updspapi
18074 wine_fn_config_dll url enable_url implib
18075 wine_fn_config_dll urlmon enable_urlmon clean
,implib
18076 wine_fn_config_test dlls
/urlmon
/tests urlmon_test
18077 wine_fn_config_dll usbd.sys enable_usbd_sys implib usbd
18078 wine_fn_config_dll user.exe16 enable_win16
18079 wine_fn_config_dll user32 enable_user32 clean
,implib
18080 wine_fn_config_test dlls
/user32
/tests user32_test
18081 wine_fn_config_dll userenv enable_userenv implib
18082 wine_fn_config_test dlls
/userenv
/tests userenv_test
18083 wine_fn_config_dll usp10 enable_usp10 implib
18084 wine_fn_config_test dlls
/usp10
/tests usp10_test
18085 wine_fn_config_lib uuid
18086 wine_fn_config_dll uxtheme enable_uxtheme implib
18087 wine_fn_config_test dlls
/uxtheme
/tests uxtheme_test
18088 wine_fn_config_dll vbscript enable_vbscript clean
18089 wine_fn_config_test dlls
/vbscript
/tests vbscript_test clean
18090 wine_fn_config_dll vcomp enable_vcomp
18091 wine_fn_config_test dlls
/vcomp
/tests vcomp_test
18092 wine_fn_config_dll vcomp100 enable_vcomp100
18093 wine_fn_config_dll vcomp110 enable_vcomp110
18094 wine_fn_config_dll vcomp120 enable_vcomp120
18095 wine_fn_config_dll vcomp140 enable_vcomp140
18096 wine_fn_config_dll vcomp90 enable_vcomp90
18097 wine_fn_config_dll vcruntime140 enable_vcruntime140
18098 wine_fn_config_dll vdhcp.vxd enable_win16
18099 wine_fn_config_dll vdmdbg enable_vdmdbg implib
18100 wine_fn_config_dll ver.dll16 enable_win16
18101 wine_fn_config_dll version enable_version implib
18102 wine_fn_config_test dlls
/version
/tests version_test
18103 wine_fn_config_dll vmm.vxd enable_win16
18104 wine_fn_config_dll vnbt.vxd enable_win16
18105 wine_fn_config_dll vnetbios.vxd enable_win16
18106 wine_fn_config_dll vssapi enable_vssapi
18107 wine_fn_config_dll vtdapi.vxd enable_win16
18108 wine_fn_config_dll vwin32.vxd enable_win16
18109 wine_fn_config_dll w32skrnl enable_win16
18110 wine_fn_config_dll w32sys.dll16 enable_win16
18111 wine_fn_config_dll wbemdisp enable_wbemdisp clean
18112 wine_fn_config_test dlls
/wbemdisp
/tests wbemdisp_test
18113 wine_fn_config_dll wbemprox enable_wbemprox clean
18114 wine_fn_config_test dlls
/wbemprox
/tests wbemprox_test
18115 wine_fn_config_dll webservices enable_webservices implib
18116 wine_fn_config_test dlls
/webservices
/tests webservices_test
18117 wine_fn_config_dll wer enable_wer implib
18118 wine_fn_config_test dlls
/wer
/tests wer_test
18119 wine_fn_config_dll wevtapi enable_wevtapi
18120 wine_fn_config_dll wiaservc enable_wiaservc clean
18121 wine_fn_config_test dlls
/wiaservc
/tests wiaservc_test
18122 wine_fn_config_dll wimgapi enable_wimgapi
18123 wine_fn_config_dll win32s16.dll16 enable_win16
18124 wine_fn_config_dll win87em.dll16 enable_win16
18125 wine_fn_config_dll winaspi.dll16 enable_win16
18126 wine_fn_config_dll windebug.dll16 enable_win16
18127 wine_fn_config_dll windowscodecs enable_windowscodecs clean
,implib
18128 wine_fn_config_test dlls
/windowscodecs
/tests windowscodecs_test
18129 wine_fn_config_dll windowscodecsext enable_windowscodecsext implib
18130 wine_fn_config_test dlls
/windowscodecsext
/tests windowscodecsext_test
18131 wine_fn_config_dll winealsa.drv enable_winealsa_drv
18132 wine_fn_config_dll winecoreaudio.drv enable_winecoreaudio_drv
18133 wine_fn_config_lib winecrt0
18134 wine_fn_config_dll wined3d enable_wined3d implib
18135 wine_fn_config_dll winegstreamer enable_winegstreamer
18136 wine_fn_config_dll winejoystick.drv enable_winejoystick_drv
18137 wine_fn_config_dll winemac.drv enable_winemac_drv clean
18138 wine_fn_config_dll winemapi enable_winemapi
18139 wine_fn_config_dll winemp3.acm enable_winemp3_acm
18140 wine_fn_config_dll wineoss.drv enable_wineoss_drv
18141 wine_fn_config_dll wineps.drv enable_wineps_drv clean
18142 wine_fn_config_dll wineps16.drv16 enable_win16
18143 wine_fn_config_dll winepulse.drv enable_winepulse_drv
18144 wine_fn_config_dll wineqtdecoder enable_wineqtdecoder
18145 wine_fn_config_dll winex11.drv enable_winex11_drv
18146 wine_fn_config_dll wing.dll16 enable_win16
18147 wine_fn_config_dll wing32 enable_wing32
18148 wine_fn_config_dll winhttp enable_winhttp clean
,implib
18149 wine_fn_config_test dlls
/winhttp
/tests winhttp_test
18150 wine_fn_config_dll wininet enable_wininet clean
,implib
18151 wine_fn_config_test dlls
/wininet
/tests wininet_test
18152 wine_fn_config_dll winmm enable_winmm clean
,implib
18153 wine_fn_config_test dlls
/winmm
/tests winmm_test
18154 wine_fn_config_dll winnls.dll16 enable_win16
18155 wine_fn_config_dll winnls32 enable_winnls32 implib
18156 wine_fn_config_dll winscard enable_winscard implib
18157 wine_fn_config_dll winsock.dll16 enable_win16
18158 wine_fn_config_dll winspool.drv enable_winspool_drv clean
,implib winspool
18159 wine_fn_config_test dlls
/winspool.drv
/tests winspool.drv_test
18160 wine_fn_config_dll winsta enable_winsta
18161 wine_fn_config_dll wintab.dll16 enable_win16
18162 wine_fn_config_dll wintab32 enable_wintab32 implib
18163 wine_fn_config_test dlls
/wintab32
/tests wintab32_test
18164 wine_fn_config_dll wintrust enable_wintrust implib
18165 wine_fn_config_test dlls
/wintrust
/tests wintrust_test
18166 wine_fn_config_dll wlanapi enable_wlanapi
18167 wine_fn_config_dll wldap32 enable_wldap32 clean
,implib
18168 wine_fn_config_test dlls
/wldap32
/tests wldap32_test
18169 wine_fn_config_dll wmasf enable_wmasf
18170 wine_fn_config_dll wmi enable_wmi
18171 wine_fn_config_dll wmiutils enable_wmiutils clean
18172 wine_fn_config_test dlls
/wmiutils
/tests wmiutils_test
18173 wine_fn_config_dll wmp enable_wmp clean
18174 wine_fn_config_test dlls
/wmp
/tests wmp_test
18175 wine_fn_config_dll wmvcore enable_wmvcore
18176 wine_fn_config_dll wnaspi32 enable_wnaspi32 implib
18177 wine_fn_config_dll wow32 enable_win16 implib
18178 wine_fn_config_dll wpcap enable_wpcap
18179 wine_fn_config_dll ws2_32 enable_ws2_32 implib
18180 wine_fn_config_test dlls
/ws2_32
/tests ws2_32_test
18181 wine_fn_config_dll wshom.ocx enable_wshom_ocx clean
18182 wine_fn_config_test dlls
/wshom.ocx
/tests wshom.ocx_test clean
18183 wine_fn_config_dll wsnmp32 enable_wsnmp32 implib
18184 wine_fn_config_test dlls
/wsnmp32
/tests wsnmp32_test
18185 wine_fn_config_dll wsock32 enable_wsock32 implib
18186 wine_fn_config_dll wtsapi32 enable_wtsapi32 implib
18187 wine_fn_config_test dlls
/wtsapi32
/tests wtsapi32_test
18188 wine_fn_config_dll wuapi enable_wuapi clean
18189 wine_fn_config_dll wuaueng enable_wuaueng
18190 wine_fn_config_dll x3daudio1_0 enable_x3daudio1_0
18191 wine_fn_config_dll x3daudio1_1 enable_x3daudio1_1
18192 wine_fn_config_dll x3daudio1_2 enable_x3daudio1_2
18193 wine_fn_config_dll x3daudio1_3 enable_x3daudio1_3
18194 wine_fn_config_dll x3daudio1_4 enable_x3daudio1_4
18195 wine_fn_config_dll x3daudio1_5 enable_x3daudio1_5
18196 wine_fn_config_dll x3daudio1_6 enable_x3daudio1_6
18197 wine_fn_config_dll x3daudio1_7 enable_x3daudio1_7
18198 wine_fn_config_dll xapofx1_1 enable_xapofx1_1
18199 wine_fn_config_dll xapofx1_2 enable_xapofx1_2
18200 wine_fn_config_dll xapofx1_3 enable_xapofx1_3
18201 wine_fn_config_dll xapofx1_4 enable_xapofx1_4
18202 wine_fn_config_dll xapofx1_5 enable_xapofx1_5
18203 wine_fn_config_dll xaudio2_0 enable_xaudio2_0 clean
18204 wine_fn_config_dll xaudio2_1 enable_xaudio2_1 clean
18205 wine_fn_config_dll xaudio2_2 enable_xaudio2_2 clean
18206 wine_fn_config_dll xaudio2_3 enable_xaudio2_3 clean
18207 wine_fn_config_dll xaudio2_4 enable_xaudio2_4 clean
18208 wine_fn_config_dll xaudio2_5 enable_xaudio2_5 clean
18209 wine_fn_config_dll xaudio2_6 enable_xaudio2_6 clean
18210 wine_fn_config_dll xaudio2_7 enable_xaudio2_7 clean
18211 wine_fn_config_test dlls
/xaudio2_
7/tests xaudio2_7_test
18212 wine_fn_config_dll xaudio2_8 enable_xaudio2_8 clean
18213 wine_fn_config_dll xaudio2_9 enable_xaudio2_9 clean
18214 wine_fn_config_dll xinput1_1 enable_xinput1_1
18215 wine_fn_config_dll xinput1_2 enable_xinput1_2
18216 wine_fn_config_dll xinput1_3 enable_xinput1_3 implib xinput
18217 wine_fn_config_test dlls
/xinput1_
3/tests xinput1_3_test
18218 wine_fn_config_dll xinput1_4 enable_xinput1_4
18219 wine_fn_config_dll xinput9_1_0 enable_xinput9_1_0
18220 wine_fn_config_dll xmllite enable_xmllite implib
18221 wine_fn_config_test dlls
/xmllite
/tests xmllite_test
18222 wine_fn_config_dll xolehlp enable_xolehlp
18223 wine_fn_config_dll xpsprint enable_xpsprint
18224 wine_fn_config_dll xpssvcs enable_xpssvcs
18225 wine_fn_config_makefile fonts enable_fonts clean
,install-lib
18226 wine_fn_config_makefile include enable_include clean
,install-dev
18227 wine_fn_config_makefile libs
/port enable_libs_port
18228 wine_fn_config_makefile libs
/wine enable_libs_wine clean
,implib
,install-dev
,install-lib
18229 wine_fn_config_makefile libs
/wpp enable_libs_wpp
18230 wine_fn_config_makefile loader enable_loader clean
,install-lib
18231 wine_fn_config_makefile po enable_po clean
18232 wine_fn_config_program arp enable_arp
install
18233 wine_fn_config_program aspnet_regiis enable_aspnet_regiis
install
18234 wine_fn_config_program attrib enable_attrib clean
,install
18235 wine_fn_config_program cabarc enable_cabarc
install
18236 wine_fn_config_program cacls enable_cacls
install
18237 wine_fn_config_program
clock enable_clock clean
,install
18238 wine_fn_config_program cmd enable_cmd clean
,install
18239 wine_fn_config_test programs
/cmd
/tests cmd.exe_test
18240 wine_fn_config_program conhost enable_conhost
install
18241 wine_fn_config_program control enable_control
install
18242 wine_fn_config_program cscript enable_cscript clean
,install
18243 wine_fn_config_program dpnsvr enable_dpnsvr
install
18244 wine_fn_config_program dxdiag enable_dxdiag clean
,install
18245 wine_fn_config_program eject enable_eject
install
18246 wine_fn_config_program
expand enable_expand
install
18247 wine_fn_config_program explorer enable_explorer clean
,install
18248 wine_fn_config_program extrac32 enable_extrac32
install
18249 wine_fn_config_program findstr enable_findstr
install
18250 wine_fn_config_program fsutil enable_fsutil
install
18251 wine_fn_config_program hh enable_hh
install
18252 wine_fn_config_program hostname enable_hostname clean
,install
18253 wine_fn_config_program icacls enable_icacls
install
18254 wine_fn_config_program icinfo enable_icinfo
install
18255 wine_fn_config_program iexplore enable_iexplore
install
18256 wine_fn_config_program ipconfig enable_ipconfig clean
,install
18257 wine_fn_config_program lodctr enable_lodctr
install
18258 wine_fn_config_program mofcomp enable_mofcomp
install
18259 wine_fn_config_program mshta enable_mshta
install
18260 wine_fn_config_program msiexec enable_msiexec
install,installbin
,manpage
18261 wine_fn_config_program net enable_net clean
,install
18262 wine_fn_config_program netsh enable_netsh
install
18263 wine_fn_config_program netstat enable_netstat clean
,install
18264 wine_fn_config_program ngen enable_ngen
install
18265 wine_fn_config_program notepad enable_notepad clean
,install,installbin
,manpage
18266 wine_fn_config_program oleview enable_oleview clean
,install
18267 wine_fn_config_program
ping enable_ping
install
18268 wine_fn_config_program plugplay enable_plugplay
install
18269 wine_fn_config_program presentationfontcache enable_presentationfontcache
install
18270 wine_fn_config_program progman enable_progman clean
,install
18271 wine_fn_config_program reg enable_reg clean
,install
18272 wine_fn_config_test programs
/reg
/tests reg.exe_test
18273 wine_fn_config_program regasm enable_regasm
install
18274 wine_fn_config_program regedit enable_regedit clean
,install,installbin
,manpage
18275 wine_fn_config_test programs
/regedit
/tests regedit.exe_test
18276 wine_fn_config_program regsvcs enable_regsvcs
install
18277 wine_fn_config_program regsvr32 enable_regsvr32 clean
,install,installbin
,manpage
18278 wine_fn_config_program rpcss enable_rpcss clean
,install
18279 wine_fn_config_program rundll.exe16 enable_win16
install
18280 wine_fn_config_program rundll32 enable_rundll32
install
18281 wine_fn_config_program sc enable_sc
install
18282 wine_fn_config_program schtasks enable_schtasks
install
18283 wine_fn_config_program sdbinst enable_sdbinst
install
18284 wine_fn_config_program secedit enable_secedit
install
18285 wine_fn_config_program servicemodelreg enable_servicemodelreg
install
18286 wine_fn_config_program services enable_services clean
,install
18287 wine_fn_config_test programs
/services
/tests services.exe_test
18288 wine_fn_config_program shutdown enable_shutdown
install
18289 wine_fn_config_program spoolsv enable_spoolsv
install
18290 wine_fn_config_program start enable_start clean
,install
18291 wine_fn_config_program svchost enable_svchost
install
18292 wine_fn_config_program systeminfo enable_systeminfo
install
18293 wine_fn_config_program taskkill enable_taskkill clean
,install
18294 wine_fn_config_program tasklist enable_tasklist
install
18295 wine_fn_config_program taskmgr enable_taskmgr clean
,install
18296 wine_fn_config_program termsv enable_termsv
install
18297 wine_fn_config_program uninstaller enable_uninstaller clean
,install
18298 wine_fn_config_program unlodctr enable_unlodctr
install
18299 wine_fn_config_program view enable_view clean
,install
18300 wine_fn_config_program wevtutil enable_wevtutil
install
18301 wine_fn_config_program wineboot enable_wineboot clean
,install,installbin
,manpage
18302 wine_fn_config_program winebrowser enable_winebrowser
install
18303 wine_fn_config_program winecfg enable_winecfg clean
,install,installbin
,manpage
18304 wine_fn_config_program wineconsole enable_wineconsole clean
,install,installbin
,manpage
18305 wine_fn_config_program winedbg enable_winedbg clean
,install,installbin
,manpage
18306 wine_fn_config_program winedevice enable_winedevice
install
18307 wine_fn_config_program winefile enable_winefile clean
,install,installbin
,manpage
18308 wine_fn_config_program winemenubuilder enable_winemenubuilder
install
18309 wine_fn_config_program winemine enable_winemine clean
,install,installbin
,manpage
18310 wine_fn_config_program winemsibuilder enable_winemsibuilder
install
18311 wine_fn_config_program winepath enable_winepath
install,installbin
,manpage
18312 wine_fn_config_program winetest enable_winetest clean
18313 wine_fn_config_program winevdm enable_win16
install
18314 wine_fn_config_program winhelp.exe16 enable_win16
install
18315 wine_fn_config_program winhlp32 enable_winhlp32 clean
,install
18316 wine_fn_config_program winoldap.mod16 enable_win16
install
18317 wine_fn_config_program winver enable_winver
install
18318 wine_fn_config_program wmic enable_wmic clean
,install
18319 wine_fn_config_program wmplayer enable_wmplayer
install
18320 wine_fn_config_program wordpad enable_wordpad clean
,install
18321 wine_fn_config_program
write enable_write clean
,install
18322 wine_fn_config_program wscript enable_wscript clean
,install
18323 wine_fn_config_test programs
/wscript
/tests wscript.exe_test
18324 wine_fn_config_program wusa enable_wusa
install
18325 wine_fn_config_program xcopy enable_xcopy clean
,install
18326 wine_fn_config_test programs
/xcopy
/tests xcopy.exe_test
18327 wine_fn_config_makefile server enable_server clean
,install-lib
18328 wine_fn_config_tool tools clean
18329 wine_fn_config_tool tools
/sfnt2fon clean
18330 wine_fn_config_tool tools
/widl clean
,install-dev
18331 wine_fn_config_tool tools
/winebuild clean
,install-dev
18332 wine_fn_config_tool tools
/winedump clean
,install-dev
18333 wine_fn_config_tool tools
/winegcc clean
,install-dev
18334 wine_fn_config_tool tools
/winemaker clean
,install-dev
18335 wine_fn_config_tool tools
/wmc clean
,install-dev
18336 wine_fn_config_tool tools
/wrc clean
,install-dev
18339 wine_fn_append_file CONFIGURE_TARGETS
"TAGS"
18340 wine_fn_append_file CONFIGURE_TARGETS
"tags"
18341 wine_fn_append_file CONFIGURE_TARGETS
"autom4te.cache"
18342 wine_fn_append_file CONFIGURE_TARGETS
"config.log"
18343 wine_fn_append_file CONFIGURE_TARGETS
"config.status"
18344 wine_fn_append_file CONFIGURE_TARGETS
"include/config.h"
18345 wine_fn_append_file CONFIGURE_TARGETS
"include/stamp-h"
18346 test "$wine_binary" = wine || wine_fn_append_file CONFIGURE_TARGETS
"loader/wine"
18348 if test "x$enable_tools" != xno
18350 wine_fn_append_file CONFIGURE_TARGETS
"tools/makedep$ac_exeext"
18351 ac_config_commands
="$ac_config_commands tools/makedep"
18355 ac_config_commands
="$ac_config_commands Makefile"
18358 ac_config_files
="$ac_config_files Make.tmp:Makefile.in"
18362 if test "x$enable_maintainer_mode" = xyes
18364 wine_fn_append_rule
"configure: configure.ac aclocal.m4
18365 autoconf --warnings=all
18366 include/config.h.in: include/stamp-h.in
18367 include/stamp-h.in: configure.ac aclocal.m4
18368 autoheader --warnings=all
18369 @echo timestamp > \$@"
18372 if test "x$enable_tools" != xno
18374 wine_fn_append_rule
"tools/makedep$ac_exeext: $srcdir/tools/makedep.c include/config.h config.status
18375 @./config.status tools/makedep
18376 Makefile: tools/makedep$ac_exeext"
18378 wine_fn_append_rule
"\$(MAKEDEP):
18379 @echo \"You need to run make in $TOOLSDIR first\" && false"
18382 if test -n "$with_wine64"
18384 wine_fn_append_rule
"all: fonts server $with_wine64/loader/wine $with_wine64/loader/wine-preloader
18386 \$(RM) \$@ && \$(LN_S) $with_wine64/\$@ \$@
18387 $with_wine64/loader/wine:
18388 \$(RM) \$@ && \$(LN_S) $ac_pwd/loader/wine \$@
18389 $with_wine64/loader/wine-preloader:
18390 \$(RM) \$@ && \$(LN_S) $ac_pwd/loader/wine-preloader \$@
18392 \$(RM) fonts server $with_wine64/loader/wine $with_wine64/loader/wine-preloader"
18394 WINELOADER_INSTALL
="wine.inf"
18396 wine_fn_append_rule
"install install-lib::
18397 \$(INSTALL_DATA) $srcdir/loader/l_intl.nls \$(DESTDIR)\$(datadir)/wine/l_intl.nls
18399 \$(RM) \$(DESTDIR)\$(datadir)/wine/l_intl.nls"
18401 cygwin
*|mingw32
*|darwin
*|macosx
*|linux-android
*) ;;
18402 *) wine_fn_append_rule
"install install-lib::
18403 \$(INSTALL_DATA) $srcdir/loader/wine.desktop \$(DESTDIR)\$(datadir)/applications/wine.desktop
18405 \$(RM) \$(DESTDIR)\$(datadir)/applications/wine.desktop" ;;
18409 $as_echo " done" >&6
18410 cat >confcache
<<\_ACEOF
18411 # This file is a shell script that caches the results of configure
18412 # tests run on this system so they can be shared between configure
18413 # scripts and configure runs, see configure's option --config-cache.
18414 # It is not useful on other systems. If it contains results you don't
18415 # want to keep, you may remove or edit it.
18417 # config.status only pays attention to the cache file if you give it
18418 # the --recheck option to rerun configure.
18420 # `ac_cv_env_foo' variables (set or unset) will be overridden when
18421 # loading this file, other *unset* `ac_cv_foo' will be assigned the
18422 # following values.
18426 # The following way of writing the cache mishandles newlines in values,
18427 # but we know of no workaround that is simple, portable, and efficient.
18428 # So, we kill variables containing newlines.
18429 # Ultrix sh set writes to stderr and can't be redirected directly,
18430 # and sets the high bit in the cache file unless we assign to the vars.
18432 for ac_var
in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
18433 eval ac_val
=\$
$ac_var
18437 *_cv_
*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
18438 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
18441 _ | IFS | as_nl
) ;; #(
18442 BASH_ARGV | BASH_SOURCE
) eval $ac_var= ;; #(
18443 *) { eval $ac_var=; unset $ac_var;} ;;
18449 case $as_nl`(ac_space=' '; set) 2>&1` in #(
18450 *${as_nl}ac_space
=\
*)
18451 # `set' does not quote correctly, so add quotes: double-quote
18452 # substitution turns \\\\ into \\, and sed turns \\ into \.
18455 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
18458 # `set' quotes correctly as required by POSIX, so do not add quotes.
18459 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
18468 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
18470 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
18472 if diff "$cache_file" confcache
>/dev
/null
2>&1; then :; else
18473 if test -w "$cache_file"; then
18474 if test "x$cache_file" != "x/dev/null"; then
18475 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
18476 $as_echo "$as_me: updating cache $cache_file" >&6;}
18477 if test ! -f "$cache_file" ||
test -h "$cache_file"; then
18478 cat confcache
>"$cache_file"
18480 case $cache_file in #(
18482 mv -f confcache
"$cache_file"$$
&&
18483 mv -f "$cache_file"$$
"$cache_file" ;; #(
18485 mv -f confcache
"$cache_file" ;;
18490 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
18491 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
18496 test "x$prefix" = xNONE
&& prefix
=$ac_default_prefix
18497 # Let make expand exec_prefix.
18498 test "x$exec_prefix" = xNONE
&& exec_prefix
='${prefix}'
18500 DEFS
=-DHAVE_CONFIG_H
18505 for ac_i
in : $LIBOBJS; do test "x$ac_i" = x
: && continue
18506 # 1. Remove the extension, and $U if already installed.
18507 ac_script
='s/\$U\././;s/\.o$//;s/\.obj$//'
18508 ac_i
=`$as_echo "$ac_i" | sed "$ac_script"`
18509 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
18510 # will be set to the directory where LIBOBJS objects are built.
18511 as_fn_append ac_libobjs
" \${LIBOBJDIR}$ac_i\$U.$ac_objext"
18512 as_fn_append ac_ltlibobjs
" \${LIBOBJDIR}$ac_i"'$U.lo'
18514 LIBOBJS
=$ac_libobjs
18516 LTLIBOBJS
=$ac_ltlibobjs
18520 : "${CONFIG_STATUS=./config.status}"
18522 ac_clean_files_save
=$ac_clean_files
18523 ac_clean_files
="$ac_clean_files $CONFIG_STATUS"
18524 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
18525 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
18527 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
18529 # Generated by $as_me.
18530 # Run this file to recreate the current configuration.
18531 # Compiler output produced by configure, useful for debugging
18532 # configure, is in config.log if it exists.
18535 ac_cs_recheck=false
18538 SHELL=\${CONFIG_SHELL-$SHELL}
18541 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail
=1
18542 ## -------------------- ##
18543 ## M4sh Initialization. ##
18544 ## -------------------- ##
18546 # Be more Bourne compatible
18547 DUALCASE
=1; export DUALCASE
# for MKS sh
18548 if test -n "${ZSH_VERSION+set}" && (emulate sh
) >/dev
/null
2>&1; then :
18551 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
18552 # is contrary to our usage. Disable this feature.
18553 alias -g '${1+"$@"}'='"$@"'
18554 setopt NO_GLOB_SUBST
18556 case `(set -o) 2>/dev/null` in #(
18568 # Printing a long string crashes Solaris 7 /usr/bin/printf.
18569 as_echo
='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
18570 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
18571 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
18572 # Prefer a ksh shell builtin over an external printf program on Solaris,
18573 # but without wasting forks for bash or zsh.
18574 if test -z "$BASH_VERSION$ZSH_VERSION" \
18575 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
18576 as_echo='print
-r --'
18577 as_echo_n='print
-rn --'
18578 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
18579 as_echo='printf %s
\n'
18580 as_echo_n='printf %s
'
18582 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
18583 as_echo_body='eval /usr
/ucb
/echo -n "$1$as_nl"'
18584 as_echo_n='/usr
/ucb
/echo -n'
18586 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
18587 as_echo_n_body='eval
18591 expr "X$arg" : "X\\(.*\\)$as_nl";
18592 arg
=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
18594 expr "X$arg" : "X\\(.*\\)" |
tr -d "$as_nl"
18596 export as_echo_n_body
18597 as_echo_n='sh
-c $as_echo_n_body as_echo
'
18599 export as_echo_body
18600 as_echo='sh
-c $as_echo_body as_echo
'
18603 # The user is always right.
18604 if test "${PATH_SEPARATOR+set}" != set; then
18606 (PATH='/bin
;/bin
'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
18607 (PATH='/bin
:/bin
'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
18614 # We need space, tab and new line, in precisely that order. Quoting is
18615 # there to prevent editors from complaining about space-tab.
18616 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
18617 # splitting by setting IFS to empty value.)
18620 # Find who we are. Look in the path if we contain no directory separator.
18623 *[\\/]* ) as_myself=$0 ;;
18624 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
18625 for as_dir in $PATH
18628 test -z "$as_dir" && as_dir=.
18629 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
18635 # We did not find ourselves, most probably we were run as `sh COMMAND'
18636 # in which case we are not to be found in the path.
18637 if test "x$as_myself" = x
; then
18640 if test ! -f "$as_myself"; then
18641 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
18645 # Unset variables that we do not need and which cause bugs (e.g. in
18646 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
18647 # suppresses any "Segmentation fault" message there. '((' could
18648 # trigger a bug in pdksh 5.2.14.
18649 for as_var
in BASH_ENV ENV MAIL MAILPATH
18650 do eval test x\
${$as_var+set} = xset \
18651 && ( (unset $as_var) ||
exit 1) >/dev
/null
2>&1 && unset $as_var ||
:
18664 (unset CDPATH
) >/dev
/null
2>&1 && unset CDPATH
18667 # as_fn_error STATUS ERROR [LINENO LOG_FD]
18668 # ----------------------------------------
18669 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
18670 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
18671 # script with STATUS, using 1 if that was 0.
18674 as_status
=$1; test $as_status -eq 0 && as_status
=1
18676 as_lineno
=${as_lineno-"$3"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
18677 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
18679 $as_echo "$as_me: error: $2" >&2
18680 as_fn_exit
$as_status
18684 # as_fn_set_status STATUS
18685 # -----------------------
18686 # Set $? to STATUS, without forking.
18687 as_fn_set_status
()
18690 } # as_fn_set_status
18692 # as_fn_exit STATUS
18693 # -----------------
18694 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
18698 as_fn_set_status
$1
18704 # Portably unset VAR.
18707 { eval $1=; unset $1;}
18709 as_unset
=as_fn_unset
18710 # as_fn_append VAR VALUE
18711 # ----------------------
18712 # Append the text in VALUE to the end of the definition contained in VAR. Take
18713 # advantage of any shell optimizations that allow amortized linear growth over
18714 # repeated appends, instead of the typical quadratic growth present in naive
18716 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev
/null
; then :
18717 eval 'as_fn_append ()
18728 # as_fn_arith ARG...
18729 # ------------------
18730 # Perform arithmetic evaluation on the ARGs, and store the result in the
18731 # global $as_val. Take advantage of shells that can avoid forks. The arguments
18732 # must be portable across $(()) and expr.
18733 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev
/null
; then :
18734 eval 'as_fn_arith ()
18741 as_val
=`expr "$@" || test $? -eq 1`
18746 if expr a
: '\(a\)' >/dev
/null
2>&1 &&
18747 test "X`expr 00001 : '.*\(...\)'`" = X001
; then
18753 if (basename -- /) >/dev
/null
2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
18754 as_basename
=basename
18759 if (as_dir
=`dirname -- /` && test "X$as_dir" = X
/) >/dev
/null
2>&1; then
18765 as_me
=`$as_basename -- "$0" ||
18766 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
18767 X"$0" : 'X\(//\)$' \| \
18768 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
18770 sed '/^.*\/\([^/][^/]*\)\/*$/{
18784 # Avoid depending upon Character Ranges.
18785 as_cr_letters
='abcdefghijklmnopqrstuvwxyz'
18786 as_cr_LETTERS
='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
18787 as_cr_Letters
=$as_cr_letters$as_cr_LETTERS
18788 as_cr_digits
='0123456789'
18789 as_cr_alnum
=$as_cr_Letters$as_cr_digits
18791 ECHO_C
= ECHO_N
= ECHO_T
=
18792 case `echo -n x` in #(((((
18794 case `echo 'xy\c'` in
18795 *c
*) ECHO_T
=' ';; # ECHO_T is single tab character.
18797 *) echo `echo ksh88 bug on AIX 6.1` > /dev
/null
18804 rm -f conf$$ conf$$.exe conf$$.
file
18805 if test -d conf$$.dir
; then
18806 rm -f conf$$.dir
/conf$$.
file
18809 mkdir conf$$.dir
2>/dev
/null
18811 if (echo >conf$$.
file) 2>/dev
/null
; then
18812 if ln -s conf$$.
file conf$$
2>/dev
/null
; then
18814 # ... but there are two gotchas:
18815 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
18816 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
18817 # In both cases, we have to default to `cp -pR'.
18818 ln -s conf$$.
file conf$$.dir
2>/dev
/null
&& test ! -f conf$$.exe ||
18820 elif ln conf$$.
file conf$$
2>/dev
/null
; then
18828 rm -f conf$$ conf$$.exe conf$$.dir
/conf$$.
file conf$$.
file
18829 rmdir conf$$.dir
2>/dev
/null
18834 # Create "$as_dir" as a directory, including parents if necessary.
18839 -*) as_dir
=.
/$as_dir;;
18841 test -d "$as_dir" ||
eval $as_mkdir_p ||
{
18845 *\'*) as_qdir
=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
18846 *) as_qdir
=$as_dir;;
18848 as_dirs
="'$as_qdir' $as_dirs"
18849 as_dir
=`$as_dirname -- "$as_dir" ||
18850 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
18851 X"$as_dir" : 'X\(//\)[^/]' \| \
18852 X"$as_dir" : 'X\(//\)$' \| \
18853 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
18854 $as_echo X"$as_dir" |
18855 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
18859 /^X\(\/\/\)[^/].*/{
18872 test -d "$as_dir" && break
18874 test -z "$as_dirs" ||
eval "mkdir $as_dirs"
18875 } ||
test -d "$as_dir" || as_fn_error $?
"cannot create directory $as_dir"
18879 if mkdir
-p .
2>/dev
/null
; then
18880 as_mkdir_p
='mkdir -p "$as_dir"'
18882 test -d .
/-p && rmdir .
/-p
18887 # as_fn_executable_p FILE
18888 # -----------------------
18889 # Test if FILE is an executable regular file.
18890 as_fn_executable_p
()
18892 test -f "$1" && test -x "$1"
18893 } # as_fn_executable_p
18894 as_test_x
='test -x'
18895 as_executable_p
=as_fn_executable_p
18897 # Sed expression to map a string onto a valid CPP name.
18898 as_tr_cpp
="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
18900 # Sed expression to map a string onto a valid variable name.
18901 as_tr_sh
="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
18905 ## ----------------------------------- ##
18906 ## Main body of $CONFIG_STATUS script. ##
18907 ## ----------------------------------- ##
18909 test $as_write_fail = 0 && chmod +x
$CONFIG_STATUS || ac_write_fail
=1
18911 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
18912 # Save the log message, to keep $0 and so on meaningful, and to
18913 # report actual input values of CONFIG_FILES etc. instead of their
18914 # values after options handling.
18916 This file was extended by Wine $as_me 1.9.17, which was
18917 generated by GNU Autoconf 2.69. Invocation command line was
18919 CONFIG_FILES = $CONFIG_FILES
18920 CONFIG_HEADERS = $CONFIG_HEADERS
18921 CONFIG_LINKS = $CONFIG_LINKS
18922 CONFIG_COMMANDS = $CONFIG_COMMANDS
18925 on `(hostname || uname -n) 2>/dev/null | sed 1q`
18930 case $ac_config_files in *"
18931 "*) set x
$ac_config_files; shift; ac_config_files
=$
*;;
18934 case $ac_config_headers in *"
18935 "*) set x
$ac_config_headers; shift; ac_config_headers
=$
*;;
18939 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
18940 # Files that config.status was made for.
18941 config_files="$ac_config_files"
18942 config_headers="$ac_config_headers"
18943 config_links="$ac_config_links"
18944 config_commands="$ac_config_commands"
18948 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
18950 \`$as_me' instantiates files and other configuration actions
18951 from templates according to the current configuration. Unless the files
18952 and actions are specified as TAGs, all are instantiated by default.
18954 Usage: $0 [OPTION]... [TAG]...
18956 -h, --help print this help, then exit
18957 -V, --version print version number and configuration settings, then exit
18958 --config print configuration, then exit
18959 -q, --quiet, --silent
18960 do not print progress messages
18961 -d, --debug don't remove temporary files
18962 --recheck update $as_me by reconfiguring in the same conditions
18963 --file=FILE[:TEMPLATE]
18964 instantiate the configuration file FILE
18965 --header=FILE[:TEMPLATE]
18966 instantiate the configuration header FILE
18968 Configuration files:
18971 Configuration headers:
18974 Configuration links:
18977 Configuration commands:
18980 Report bugs to <wine-devel@winehq.org>.
18981 Wine home page: <http://www.winehq.org>."
18984 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
18985 ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
18987 Wine config.status 1.9.17
18988 configured by $0, generated by GNU Autoconf 2.69,
18989 with options \\"\$ac_cs_config\\"
18991 Copyright (C) 2012 Free Software Foundation, Inc.
18992 This config.status script is free software; the Free Software Foundation
18993 gives unlimited permission to copy, distribute and modify it."
18997 test -n "\$AWK" || AWK=awk
19000 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
19001 # The default lists apply if the user does not specify any file.
19007 ac_option
=`expr "X$1" : 'X\([^=]*\)='`
19008 ac_optarg
=`expr "X$1" : 'X[^=]*=\(.*\)'`
19012 ac_option
=`expr "X$1" : 'X\([^=]*\)='`
19024 # Handling of the options.
19025 -recheck |
--recheck |
--rechec |
--reche |
--rech |
--rec |
--re |
--r)
19027 --version |
--versio |
--versi |
--vers |
--ver |
--ve |
--v |
-V )
19028 $as_echo "$ac_cs_version"; exit ;;
19029 --config |
--confi |
--conf |
--con |
--co |
--c )
19030 $as_echo "$ac_cs_config"; exit ;;
19031 --debug |
--debu |
--deb |
--de |
--d |
-d )
19033 --file |
--fil |
--fi |
--f )
19036 *\'*) ac_optarg
=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
19037 '') as_fn_error $?
"missing file argument" ;;
19039 as_fn_append CONFIG_FILES
" '$ac_optarg'"
19040 ac_need_defaults
=false
;;
19041 --header |
--heade |
--head |
--hea )
19044 *\'*) ac_optarg
=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
19046 as_fn_append CONFIG_HEADERS
" '$ac_optarg'"
19047 ac_need_defaults
=false
;;
19049 # Conflict between --help and --header
19050 as_fn_error $?
"ambiguous option: \`$1'
19051 Try \`$0 --help' for more information.";;
19052 --help |
--hel |
-h )
19053 $as_echo "$ac_cs_usage"; exit ;;
19054 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
19055 |
-silent |
--silent |
--silen |
--sile |
--sil |
--si |
--s)
19058 # This is an error.
19059 -*) as_fn_error $?
"unrecognized option: \`$1'
19060 Try \`$0 --help' for more information." ;;
19062 *) as_fn_append ac_config_targets
" $1"
19063 ac_need_defaults
=false
;;
19069 ac_configure_extra_args
=
19071 if $ac_cs_silent; then
19073 ac_configure_extra_args
="$ac_configure_extra_args --silent"
19077 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
19078 if \$ac_cs_recheck; then
19079 set X $SHELL '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
19081 \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
19082 CONFIG_SHELL='$SHELL'
19083 export CONFIG_SHELL
19088 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
19092 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
19093 ## Running $as_me. ##
19099 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
19103 wine_fn_output_makedep ()
19105 as_dir=tools; as_fn_mkdir_p
19106 $CC -Iinclude -I$srcdir/include -D__WINESRC__ $EXTRACFLAGS $CPPFLAGS $CFLAGS -o tools/makedep$ac_exeext $srcdir/tools/makedep.c $LDFLAGS
19108 wine_fn_output_makefile ()
19110 cat Make.tmp - <<\_WINE_EOF >\$tmp/makefile && mv -f \$tmp/makefile \$1 && rm -f Make.tmp && "$wine_makedep" && return
19111 `cat $wine_rules_file`
19113 as_fn_error $? "could not create Makefile" "$LINENO" 5
19118 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
19120 # Handling of arguments.
19121 for ac_config_target
in $ac_config_targets
19123 case $ac_config_target in
19124 "include/config.h") CONFIG_HEADERS
="$CONFIG_HEADERS include/config.h" ;;
19125 "include/stamp-h") CONFIG_COMMANDS
="$CONFIG_COMMANDS include/stamp-h" ;;
19126 "fonts/marlett.ttf") CONFIG_LINKS
="$CONFIG_LINKS fonts/marlett.ttf:fonts/marlett.ttf" ;;
19127 "fonts/symbol.ttf") CONFIG_LINKS
="$CONFIG_LINKS fonts/symbol.ttf:fonts/symbol.ttf" ;;
19128 "fonts/tahoma.ttf") CONFIG_LINKS
="$CONFIG_LINKS fonts/tahoma.ttf:fonts/tahoma.ttf" ;;
19129 "fonts/tahomabd.ttf") CONFIG_LINKS
="$CONFIG_LINKS fonts/tahomabd.ttf:fonts/tahomabd.ttf" ;;
19130 "fonts/wingding.ttf") CONFIG_LINKS
="$CONFIG_LINKS fonts/wingding.ttf:fonts/wingding.ttf" ;;
19131 "loader/l_intl.nls") CONFIG_LINKS
="$CONFIG_LINKS loader/l_intl.nls:loader/l_intl.nls" ;;
19132 "wine") CONFIG_LINKS
="$CONFIG_LINKS wine:tools/winewrapper" ;;
19133 "wine64") CONFIG_LINKS
="$CONFIG_LINKS wine64:tools/winewrapper" ;;
19134 "tools/makedep") CONFIG_COMMANDS
="$CONFIG_COMMANDS tools/makedep" ;;
19135 "Makefile") CONFIG_COMMANDS
="$CONFIG_COMMANDS Makefile" ;;
19136 "Make.tmp") CONFIG_FILES
="$CONFIG_FILES Make.tmp:Makefile.in" ;;
19138 *) as_fn_error $?
"invalid argument: \`$ac_config_target'" "$LINENO" 5;;
19143 # If the user did not use the arguments to specify the items to instantiate,
19144 # then the envvar interface is used. Set only those that are not.
19145 # We use the long form for the default assignment because of an extremely
19146 # bizarre bug on SunOS 4.1.3.
19147 if $ac_need_defaults; then
19148 test "${CONFIG_FILES+set}" = set || CONFIG_FILES
=$config_files
19149 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS
=$config_headers
19150 test "${CONFIG_LINKS+set}" = set || CONFIG_LINKS
=$config_links
19151 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS
=$config_commands
19154 # Have a temporary directory for convenience. Make it in the build tree
19155 # simply because there is no reason against having it here, and in addition,
19156 # creating and moving files from /tmp can sometimes cause problems.
19157 # Hook for its removal unless debugging.
19158 # Note that there is a small window in which the directory will not be cleaned:
19159 # after its creation but before its name has been assigned to `$tmp'.
19163 trap 'exit_status=$?
19164 : "${ac_tmp:=$tmp}"
19165 { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
19167 trap 'as_fn_exit 1' 1 2 13 15
19169 # Create a (secure) tmp directory for tmp files.
19172 tmp
=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
19176 tmp
=.
/conf$$
-$RANDOM
19177 (umask 077 && mkdir
"$tmp")
19178 } || as_fn_error $?
"cannot create a temporary directory in ." "$LINENO" 5
19181 # Set up the scripts for CONFIG_FILES section.
19182 # No need to generate them if there are no CONFIG_FILES.
19183 # This happens for instance with `./config.status config.h'.
19184 if test -n "$CONFIG_FILES"; then
19187 ac_cr
=`echo X | tr X '\015'`
19188 # On cygwin, bash can eat \r inside `` if the user requested igncr.
19189 # But we know of no other shell where ac_cr would be empty at this
19190 # point, so we can use a bashism as a fallback.
19191 if test "x$ac_cr" = x
; then
19192 eval ac_cr
=\$
\'\\r
\'
19194 ac_cs_awk_cr
=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
19195 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
19198 ac_cs_awk_cr
=$ac_cr
19201 echo 'BEGIN {' >"$ac_tmp/subs1.awk" &&
19206 echo "cat >conf$$subs.awk <<_ACEOF" &&
19207 echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
19209 } >conf$$subs.sh ||
19210 as_fn_error $? "could not
make $CONFIG_STATUS" "$LINENO" 5
19211 ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
19213 for ac_last_try in false false false false false :; do
19214 . ./conf$$subs.sh ||
19215 as_fn_error $? "could not
make $CONFIG_STATUS" "$LINENO" 5
19217 ac_delim_n=`sed -n "s
/.
*$ac_delim\$
/X
/p
" conf$$subs.awk | grep -c X`
19218 if test $ac_delim_n = $ac_delim_num; then
19220 elif $ac_last_try; then
19221 as_fn_error $? "could not
make $CONFIG_STATUS" "$LINENO" 5
19223 ac_delim="$ac_delim!$ac_delim _
$ac_delim!! "
19226 rm -f conf$$subs.sh
19228 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
19229 cat >>"\
$ac_tmp/subs1.
awk" <<\\_ACAWK &&
19233 s/^/S["/; s
/!.
*/"]=/
19243 s/\(.\{148\}\)..*/\1/
19245 s/["\\]/\\&/g
; s
/^
/"/; s/$/\\n"\\/
19250 s
/["\\]/\\&/g; s/^/"/; s
/$
/"\\/
19257 s/\(.\{148\}\)..*/\1/
19259 s/["\\]/\\&/g
; s
/^
/"/; s/$/"/
19263 s
/["\\]/\\&/g; s/^/"/; s
/$
/"\\/
19268 ' <conf$$subs.awk | sed '
19273 ' >>$CONFIG_STATUS || ac_write_fail=1
19274 rm -f conf$$subs.awk
19275 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
19277 cat >>"\
$ac_tmp/subs1.
awk" <<_ACAWK &&
19278 for (key in S) S_is_set[key] = 1
19284 nfields = split(line, field, "@
")
19286 len = length(field[1])
19287 for (i = 2; i < nfields; i++) {
19289 keylen = length(key)
19290 if (S_is_set[key]) {
19292 line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
19293 len += length(value) + length(field[++i])
19304 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
19305 if sed "s
/$ac_cr//" < /dev/null > /dev/null 2>&1; then
19306 sed "s
/$ac_cr\$
//; s
/$ac_cr/$ac_cs_awk_cr/g
"
19309 fi < "$ac_tmp/subs1.
awk" > "$ac_tmp/subs.
awk" \
19310 || as_fn_error $? "could not setup config files machinery
" "$LINENO" 5
19313 # VPATH may cause trouble with some makes, so we remove sole $(srcdir),
19314 # ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".
", strip leading and
19315 # trailing colons and then remove the whole line if VPATH becomes empty
19316 # (actually we leave an empty line to preserve line numbers).
19317 if test "x
$srcdir" = x.; then
19318 ac_vpsub='/^[ ]*VPATH[ ]*=[ ]*/{
19336 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
19337 fi # test -n "$CONFIG_FILES"
19339 # Set up the scripts for CONFIG_HEADERS section.
19340 # No need to generate them if there are no CONFIG_HEADERS.
19341 # This happens for instance with `./config.status Makefile'.
19342 if test -n "$CONFIG_HEADERS"; then
19343 cat >"$ac_tmp/defines.
awk" <<\_ACAWK ||
19347 # Transform confdefs.h into an awk script `defines.awk', embedded as
19348 # here-document in config.status, that substitutes the proper values into
19349 # config.h.in to produce config.h.
19351 # Create a delimiter string that does not exist in confdefs.h, to ease
19352 # handling of long lines.
19354 for ac_last_try in false false :; do
19355 ac_tt=`sed -n "/$ac_delim/p
" confdefs.h`
19356 if test -z "$ac_tt"; then
19358 elif $ac_last_try; then
19359 as_fn_error $? "could not
make $CONFIG_HEADERS" "$LINENO" 5
19361 ac_delim="$ac_delim!$ac_delim _
$ac_delim!! "
19365 # For the awk script, D is an array of macro values keyed by name,
19366 # likewise P contains macro parameters if any. Preserve backslash
19367 # newline sequences.
19369 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
19371 s/.\{148\}/&'"$ac_delim"'/g
19374 s/^[ ]*#[ ]*define[ ][ ]*/ /
19381 s
/^ \
('"$ac_word_re"'\
)\
(([^
()]*)\
)[ ]*\
(.
*\
)/P
["\1"]="\2"\
19383 s
/^ \
('"$ac_word_re"'\
)[ ]*\
(.
*\
)/D
["\1"]=" \2"/p
19387 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\
1"]="\
2"\
19388 D["\
1"]=" \
3\\\\\\n
"\\/p
19390 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\
1"]=" \
2\\\\\\n
"\\/p
19395 s/.\{148\}/&'"$ac_delim"'/g
19400 s/["\\]/\\&/g
; s
/^
/"/; s/$/"/p
19403 s
/["\\]/\\&/g; s/^/"/; s
/$
/\\\\\\n
"\\/p
19405 ' <confdefs.h | sed '
19406 s/'"$ac_delim"'/"\\\
19407 "/g' >>$CONFIG_STATUS || ac_write_fail=1
19409 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
19410 for (key in D) D_is_set[key] = 1
19413 /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
19415 split(line, arg, " ")
19416 if (arg[1] == "#") {
19420 defundef
= substr
(arg
[1], 2)
19423 split(mac1
, mac2
, "(") #)
19425 prefix
= substr
(line
, 1, index
(line
, defundef
) - 1)
19426 if (D_is_set
[macro
]) {
19427 # Preserve the white space surrounding the "#".
19428 print prefix
"define", macro P
[macro
] D
[macro
]
19431 # Replace #undef with comments. This is necessary, for example,
19432 # in the case of _POSIX_SOURCE, which is predefined and required
19433 # on some systems where configure will not decide to define it.
19434 if (defundef
== "undef") {
19435 print
"/*", prefix defundef
, macro
, "*/"
19443 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
19444 as_fn_error $?
"could not setup config headers machinery" "$LINENO" 5
19445 fi # test -n "$CONFIG_HEADERS"
19448 eval set X
" :F $CONFIG_FILES :H $CONFIG_HEADERS :L $CONFIG_LINKS :C $CONFIG_COMMANDS"
19453 :[FHLC
]) ac_mode
=$ac_tag; continue;;
19455 case $ac_mode$ac_tag in
19457 :L
* |
:C
*:*) as_fn_error $?
"invalid tag \`$ac_tag'" "$LINENO" 5;;
19458 :[FH
]-) ac_tag
=-:-;;
19459 :[FH
]*) ac_tag
=$ac_tag:$ac_tag.
in;;
19476 -) ac_f
="$ac_tmp/stdin";;
19477 *) # Look for the file first in the build tree, then in the source tree
19478 # (if the path is not absolute). The absolute path cannot be DOS-style,
19479 # because $ac_f cannot contain `:'.
19483 *) test -f "$srcdir/$ac_f" && ac_f
="$srcdir/$ac_f";;
19485 as_fn_error
1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
19487 case $ac_f in *\'*) ac_f
=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
19488 as_fn_append ac_file_inputs
" '$ac_f'"
19491 # Let's still pretend it is `configure' which instantiates (i.e., don't
19492 # use $as_me), people would be surprised to read:
19493 # /* config.h. Generated by config.status. */
19494 configure_input
='Generated from '`
19495 $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
19497 if test x
"$ac_file" != x-
; then
19498 configure_input
="$ac_file. $configure_input"
19499 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
19500 $as_echo "$as_me: creating $ac_file" >&6;}
19502 # Neutralize special characters interpreted by sed in replacement strings.
19503 case $configure_input in #(
19504 *\
&* |
*\|
* |
*\\* )
19505 ac_sed_conf_input
=`$as_echo "$configure_input" |
19506 sed 's/[\\\\&|]/\\\\&/g'`;; #(
19507 *) ac_sed_conf_input
=$configure_input;;
19511 *:-:* |
*:-) cat >"$ac_tmp/stdin" \
19512 || as_fn_error $?
"could not create $ac_file" "$LINENO" 5 ;;
19517 ac_dir
=`$as_dirname -- "$ac_file" ||
19518 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
19519 X"$ac_file" : 'X\(//\)[^/]' \| \
19520 X"$ac_file" : 'X\(//\)$' \| \
19521 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
19522 $as_echo X"$ac_file" |
19523 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
19527 /^X\(\/\/\)[^/].*/{
19540 as_dir
="$ac_dir"; as_fn_mkdir_p
19544 .
) ac_dir_suffix
= ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
19546 ac_dir_suffix
=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
19547 # A ".." for each directory in $ac_dir_suffix.
19548 ac_top_builddir_sub
=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
19549 case $ac_top_builddir_sub in
19550 "") ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
19551 *) ac_top_build_prefix
=$ac_top_builddir_sub/ ;;
19554 ac_abs_top_builddir
=$ac_pwd
19555 ac_abs_builddir
=$ac_pwd$ac_dir_suffix
19556 # for backward compatibility:
19557 ac_top_builddir
=$ac_top_build_prefix
19560 .
) # We are building in place.
19562 ac_top_srcdir
=$ac_top_builddir_sub
19563 ac_abs_top_srcdir
=$ac_pwd ;;
19564 [\\/]* | ?
:[\\/]* ) # Absolute name.
19565 ac_srcdir
=$srcdir$ac_dir_suffix;
19566 ac_top_srcdir
=$srcdir
19567 ac_abs_top_srcdir
=$srcdir ;;
19568 *) # Relative name.
19569 ac_srcdir
=$ac_top_build_prefix$srcdir$ac_dir_suffix
19570 ac_top_srcdir
=$ac_top_build_prefix$srcdir
19571 ac_abs_top_srcdir
=$ac_pwd/$srcdir ;;
19573 ac_abs_srcdir
=$ac_abs_top_srcdir$ac_dir_suffix
19584 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
19585 # If the template does not know about datarootdir, expand it.
19586 # FIXME: This hack should be removed a few years after 2.60.
19587 ac_datarootdir_hack
=; ac_datarootdir_seen
=
19598 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
19599 *datarootdir
*) ac_datarootdir_seen
=yes;;
19600 *@datadir@
*|
*@docdir@
*|
*@infodir@
*|
*@localedir@
*|
*@mandir@
*)
19601 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
19602 $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
19604 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
19605 ac_datarootdir_hack='
19606 s&@datadir@&$datadir&g
19607 s&@docdir@&$docdir&g
19608 s&@infodir@&$infodir&g
19609 s&@localedir@&$localedir&g
19610 s&@mandir@&$mandir&g
19611 s&\\\${datarootdir}&$datarootdir&g' ;;
19615 # Neutralize VPATH when `$srcdir' = `.'.
19616 # Shell code in configure.ac might set extrasub.
19617 # FIXME: do we really want to maintain this feature?
19618 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
19619 ac_sed_extra="$ac_vpsub
19622 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
19624 /@
[a-zA-Z_
][a-zA-Z_0-9
]*@
/!b
19625 s|@configure_input@|
$ac_sed_conf_input|
;t t
19626 s
&@top_builddir@
&$ac_top_builddir_sub&;t t
19627 s
&@top_build_prefix@
&$ac_top_build_prefix&;t t
19628 s
&@srcdir@
&$ac_srcdir&;t t
19629 s
&@abs_srcdir@
&$ac_abs_srcdir&;t t
19630 s
&@top_srcdir@
&$ac_top_srcdir&;t t
19631 s
&@abs_top_srcdir@
&$ac_abs_top_srcdir&;t t
19632 s
&@builddir@
&$ac_builddir&;t t
19633 s
&@abs_builddir@
&$ac_abs_builddir&;t t
19634 s
&@abs_top_builddir@
&$ac_abs_top_builddir&;t t
19635 $ac_datarootdir_hack
19637 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.
awk" \
19638 >$ac_tmp/out || as_fn_error $? "could not create
$ac_file" "$LINENO" 5
19640 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
19641 { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out
"`; test -n "$ac_out"; } &&
19642 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' \
19643 "$ac_tmp/out
"`; test -z "$ac_out"; } &&
19644 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: $ac_file contains a reference to the variable \
`datarootdir'
19645 which seems to be undefined. Please make sure it is defined" >&5
19646 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir
'
19647 which seems to be undefined. Please make sure it is defined" >&2;}
19649 rm -f "$ac_tmp/stdin"
19651 -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";;
19652 *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";;
19654 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
19660 if test x"$ac_file" != x-; then
19662 $as_echo "/* $configure_input */" \
19663 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs"
19664 } >"$ac_tmp/config.h" \
19665 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
19666 if diff "$ac_file" "$ac_tmp/config.h" >/dev/null 2>&1; then
19667 { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
19668 $as_echo "$as_me: $ac_file is unchanged" >&6;}
19671 mv "$ac_tmp/config.h" "$ac_file" \
19672 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
19675 $as_echo "/* $configure_input */" \
19676 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" \
19677 || as_fn_error $? "could not create -" "$LINENO" 5
19685 if test "$ac_source" = "$ac_file" && test "$srcdir" = '.
'; then
19688 # Prefer the file from the source tree if names are identical.
19689 if test "$ac_source" = "$ac_file" || test ! -r "$ac_source"; then
19690 ac_source=$srcdir/$ac_source
19693 { $as_echo "$as_me:${as_lineno-$LINENO}: linking $ac_source to $ac_file" >&5
19694 $as_echo "$as_me: linking $ac_source to $ac_file" >&6;}
19696 if test ! -r "$ac_source"; then
19697 as_fn_error $? "$ac_source: file not found" "$LINENO" 5
19701 # Try a relative symlink, then a hard link, then a copy.
19703 [\\/$]* | ?:[\\/]* ) ac_rel_source=$ac_source ;;
19704 *) ac_rel_source=$ac_top_build_prefix$ac_source ;;
19706 ln -s "$ac_rel_source" "$ac_file" 2>/dev/null ||
19707 ln "$ac_source" "$ac_file" 2>/dev/null ||
19708 cp -p "$ac_source" "$ac_file" ||
19709 as_fn_error $? "cannot link or copy $ac_source to $ac_file" "$LINENO" 5
19712 :C) { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
19713 $as_echo "$as_me: executing $ac_file commands" >&6;}
19718 case $ac_file$ac_mode in
19719 "include/stamp-h":C) echo timestamp > include/stamp-h ;;
19720 "tools/makedep":C) wine_fn_output_makedep || as_fn_exit $? ;;
19721 "Makefile":C) wine_fn_output_makefile Makefile ;;
19729 ac_clean_files=$ac_clean_files_save
19731 test $ac_write_fail = 0 ||
19732 as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5
19735 # configure is writing to config.log, and then calls config.status.
19736 # config.status does its own redirection, appending to config.log.
19737 # Unfortunately, on DOS this fails, as config.log is still kept open
19738 # by configure, so config.status won't be able to
write to it
; its
19739 # output is simply discarded. So we exec the FD to /dev/null,
19740 # effectively closing config.log, so it can be properly (re)opened and
19741 # appended to by config.status. When coming back to configure, we
19742 # need to make the FD available again.
19743 if test "$no_create" != yes; then
19745 ac_config_status_args
=
19746 test "$silent" = yes &&
19747 ac_config_status_args
="$ac_config_status_args --quiet"
19749 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success
=false
19751 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
19752 # would make configure fail if this is the last instruction.
19753 $ac_cs_success || as_fn_exit
1
19755 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no
; then
19756 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
19757 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
19761 if test "$no_create" = "yes"
19767 if test "x$wine_notices" != x
; then
19770 for msg
in $wine_notices; do
19772 if ${msg:+false} :; then :
19775 { $as_echo "$as_me:${as_lineno-$LINENO}: $msg" >&5
19776 $as_echo "$as_me: $msg" >&6;}
19781 for msg
in $wine_warnings; do
19783 if ${msg:+false} :; then :
19787 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $msg" >&5
19788 $as_echo "$as_me: WARNING: $msg" >&2;}
19794 $as_me: Finished. Do '${ac_make}' to compile Wine.