2 # Guess values for system-dependent variables and create Makefiles.
3 # Generated by GNU Autoconf 2.69 for Wine 1.9.21.
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.21'
584 PACKAGE_STRING
='Wine 1.9.21'
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
706 APPLICATIONSERVICES_LIBS
801 program_transform_name
814 enable_option_checking
818 enable_maintainer_mode
877 enable_api_ms_win_appmodel_runtime_l1_1_1
878 enable_api_ms_win_core_apiquery_l1_1_0
879 enable_api_ms_win_core_appcompat_l1_1_1
880 enable_api_ms_win_core_appinit_l1_1_0
881 enable_api_ms_win_core_atoms_l1_1_0
882 enable_api_ms_win_core_bem_l1_1_0
883 enable_api_ms_win_core_com_l1_1_0
884 enable_api_ms_win_core_com_l1_1_1
885 enable_api_ms_win_core_console_l1_1_0
886 enable_api_ms_win_core_console_l2_1_0
887 enable_api_ms_win_core_datetime_l1_1_0
888 enable_api_ms_win_core_datetime_l1_1_1
889 enable_api_ms_win_core_debug_l1_1_0
890 enable_api_ms_win_core_debug_l1_1_1
891 enable_api_ms_win_core_delayload_l1_1_0
892 enable_api_ms_win_core_delayload_l1_1_1
893 enable_api_ms_win_core_errorhandling_l1_1_0
894 enable_api_ms_win_core_errorhandling_l1_1_1
895 enable_api_ms_win_core_errorhandling_l1_1_2
896 enable_api_ms_win_core_fibers_l1_1_0
897 enable_api_ms_win_core_fibers_l1_1_1
898 enable_api_ms_win_core_file_l1_1_0
899 enable_api_ms_win_core_file_l1_2_0
900 enable_api_ms_win_core_file_l1_2_1
901 enable_api_ms_win_core_file_l2_1_0
902 enable_api_ms_win_core_file_l2_1_1
903 enable_api_ms_win_core_handle_l1_1_0
904 enable_api_ms_win_core_heap_l1_1_0
905 enable_api_ms_win_core_heap_l1_2_0
906 enable_api_ms_win_core_heap_obsolete_l1_1_0
907 enable_api_ms_win_core_interlocked_l1_1_0
908 enable_api_ms_win_core_interlocked_l1_2_0
909 enable_api_ms_win_core_io_l1_1_0
910 enable_api_ms_win_core_io_l1_1_1
911 enable_api_ms_win_core_job_l1_1_0
912 enable_api_ms_win_core_job_l2_1_0
913 enable_api_ms_win_core_kernel32_legacy_l1_1_0
914 enable_api_ms_win_core_kernel32_legacy_l1_1_1
915 enable_api_ms_win_core_kernel32_private_l1_1_1
916 enable_api_ms_win_core_libraryloader_l1_1_0
917 enable_api_ms_win_core_libraryloader_l1_1_1
918 enable_api_ms_win_core_libraryloader_l1_2_0
919 enable_api_ms_win_core_libraryloader_l1_2_2
920 enable_api_ms_win_core_localization_l1_1_0
921 enable_api_ms_win_core_localization_l1_2_0
922 enable_api_ms_win_core_localization_l1_2_1
923 enable_api_ms_win_core_localization_l2_1_0
924 enable_api_ms_win_core_localization_obsolete_l1_1_0
925 enable_api_ms_win_core_localization_obsolete_l1_2_0
926 enable_api_ms_win_core_localization_private_l1_1_0
927 enable_api_ms_win_core_localregistry_l1_1_0
928 enable_api_ms_win_core_memory_l1_1_0
929 enable_api_ms_win_core_memory_l1_1_1
930 enable_api_ms_win_core_memory_l1_1_2
931 enable_api_ms_win_core_misc_l1_1_0
932 enable_api_ms_win_core_namedpipe_l1_1_0
933 enable_api_ms_win_core_namedpipe_l1_2_0
934 enable_api_ms_win_core_namespace_l1_1_0
935 enable_api_ms_win_core_normalization_l1_1_0
936 enable_api_ms_win_core_path_l1_1_0
937 enable_api_ms_win_core_privateprofile_l1_1_1
938 enable_api_ms_win_core_processenvironment_l1_1_0
939 enable_api_ms_win_core_processenvironment_l1_2_0
940 enable_api_ms_win_core_processthreads_l1_1_0
941 enable_api_ms_win_core_processthreads_l1_1_1
942 enable_api_ms_win_core_processthreads_l1_1_2
943 enable_api_ms_win_core_profile_l1_1_0
944 enable_api_ms_win_core_psapi_l1_1_0
945 enable_api_ms_win_core_realtime_l1_1_0
946 enable_api_ms_win_core_registry_l1_1_0
947 enable_api_ms_win_core_registryuserspecific_l1_1_0
948 enable_api_ms_win_core_rtlsupport_l1_1_0
949 enable_api_ms_win_core_rtlsupport_l1_2_0
950 enable_api_ms_win_core_shlwapi_legacy_l1_1_0
951 enable_api_ms_win_core_shlwapi_obsolete_l1_1_0
952 enable_api_ms_win_core_sidebyside_l1_1_0
953 enable_api_ms_win_core_string_l1_1_0
954 enable_api_ms_win_core_string_l2_1_0
955 enable_api_ms_win_core_string_obsolete_l1_1_0
956 enable_api_ms_win_core_stringansi_l1_1_0
957 enable_api_ms_win_core_synch_l1_1_0
958 enable_api_ms_win_core_synch_l1_2_0
959 enable_api_ms_win_core_sysinfo_l1_1_0
960 enable_api_ms_win_core_sysinfo_l1_2_0
961 enable_api_ms_win_core_sysinfo_l1_2_1
962 enable_api_ms_win_core_threadpool_l1_1_0
963 enable_api_ms_win_core_threadpool_l1_2_0
964 enable_api_ms_win_core_threadpool_legacy_l1_1_0
965 enable_api_ms_win_core_timezone_l1_1_0
966 enable_api_ms_win_core_toolhelp_l1_1_0
967 enable_api_ms_win_core_url_l1_1_0
968 enable_api_ms_win_core_util_l1_1_0
969 enable_api_ms_win_core_version_l1_1_0
970 enable_api_ms_win_core_version_private_l1_1_0
971 enable_api_ms_win_core_versionansi_l1_1_0
972 enable_api_ms_win_core_windowserrorreporting_l1_1_0
973 enable_api_ms_win_core_winrt_error_l1_1_0
974 enable_api_ms_win_core_winrt_error_l1_1_1
975 enable_api_ms_win_core_winrt_errorprivate_l1_1_1
976 enable_api_ms_win_core_winrt_l1_1_0
977 enable_api_ms_win_core_winrt_registration_l1_1_0
978 enable_api_ms_win_core_winrt_string_l1_1_0
979 enable_api_ms_win_core_wow64_l1_1_0
980 enable_api_ms_win_core_xstate_l1_1_0
981 enable_api_ms_win_core_xstate_l2_1_0
982 enable_api_ms_win_crt_conio_l1_1_0
983 enable_api_ms_win_crt_convert_l1_1_0
984 enable_api_ms_win_crt_environment_l1_1_0
985 enable_api_ms_win_crt_filesystem_l1_1_0
986 enable_api_ms_win_crt_heap_l1_1_0
987 enable_api_ms_win_crt_locale_l1_1_0
988 enable_api_ms_win_crt_math_l1_1_0
989 enable_api_ms_win_crt_multibyte_l1_1_0
990 enable_api_ms_win_crt_private_l1_1_0
991 enable_api_ms_win_crt_process_l1_1_0
992 enable_api_ms_win_crt_runtime_l1_1_0
993 enable_api_ms_win_crt_stdio_l1_1_0
994 enable_api_ms_win_crt_string_l1_1_0
995 enable_api_ms_win_crt_time_l1_1_0
996 enable_api_ms_win_crt_utility_l1_1_0
997 enable_api_ms_win_downlevel_advapi32_l1_1_0
998 enable_api_ms_win_downlevel_advapi32_l2_1_0
999 enable_api_ms_win_downlevel_normaliz_l1_1_0
1000 enable_api_ms_win_downlevel_ole32_l1_1_0
1001 enable_api_ms_win_downlevel_shell32_l1_1_0
1002 enable_api_ms_win_downlevel_shlwapi_l1_1_0
1003 enable_api_ms_win_downlevel_shlwapi_l2_1_0
1004 enable_api_ms_win_downlevel_user32_l1_1_0
1005 enable_api_ms_win_downlevel_version_l1_1_0
1006 enable_api_ms_win_eventing_classicprovider_l1_1_0
1007 enable_api_ms_win_eventing_consumer_l1_1_0
1008 enable_api_ms_win_eventing_controller_l1_1_0
1009 enable_api_ms_win_eventing_provider_l1_1_0
1010 enable_api_ms_win_eventlog_legacy_l1_1_0
1011 enable_api_ms_win_ntuser_dc_access_l1_1_0
1012 enable_api_ms_win_security_audit_l1_1_1
1013 enable_api_ms_win_security_base_l1_1_0
1014 enable_api_ms_win_security_base_l1_2_0
1015 enable_api_ms_win_security_base_private_l1_1_1
1016 enable_api_ms_win_security_lsalookup_l1_1_0
1017 enable_api_ms_win_security_lsalookup_l1_1_1
1018 enable_api_ms_win_security_sddl_l1_1_0
1019 enable_api_ms_win_service_core_l1_1_0
1020 enable_api_ms_win_service_core_l1_1_1
1021 enable_api_ms_win_service_management_l1_1_0
1022 enable_api_ms_win_service_management_l2_1_0
1023 enable_api_ms_win_service_private_l1_1_1
1024 enable_api_ms_win_service_winsvc_l1_1_0
1025 enable_api_ms_win_service_winsvc_l1_2_0
1026 enable_api_ms_win_shell_shellcom_l1_1_0
1027 enable_api_ms_win_shell_shellfolders_l1_1_0
1040 enable_bluetoothapis
1073 enable_d3dcompiler_33
1074 enable_d3dcompiler_34
1075 enable_d3dcompiler_35
1076 enable_d3dcompiler_36
1077 enable_d3dcompiler_37
1078 enable_d3dcompiler_38
1079 enable_d3dcompiler_39
1080 enable_d3dcompiler_40
1081 enable_d3dcompiler_41
1082 enable_d3dcompiler_42
1083 enable_d3dcompiler_43
1084 enable_d3dcompiler_46
1085 enable_d3dcompiler_47
1163 enable_explorerframe
1164 enable_ext_ms_win_gdi_devcaps_l1_1_0
1165 enable_ext_ms_win_kernel32_package_current_l1_1_0
1332 enable_photometadatahandler
1422 enable_windowscodecs
1423 enable_windowscodecsext
1426 enable_winecoreaudio_drv
1428 enable_winegstreamer
1430 enable_winejoystick_drv
1436 enable_winepulse_drv
1437 enable_wineqtdecoder
1506 enable_aspnet_regiis
1542 enable_presentationfontcache
1555 enable_servicemodelreg
1578 enable_winemenubuilder
1580 enable_winemsibuilder
1595 ac_precious_vars
='build_alias
1650 # Initialize some variables set by options.
1652 ac_init_version
=false
1653 ac_unrecognized_opts
=
1654 ac_unrecognized_sep
=
1655 # The variables have the same names as the options, with
1656 # dashes changed to underlines.
1657 cache_file
=/dev
/null
1664 program_transform_name
=s
,x
,x
,
1672 # Installation directory options.
1673 # These are left unexpanded so users can "make install exec_prefix=/foo"
1674 # and all the variables that are supposed to be based on exec_prefix
1675 # by default will actually change.
1676 # Use braces instead of parens because sh, perl, etc. also accept them.
1677 # (The list follows the same order as the GNU Coding Standards.)
1678 bindir
='${exec_prefix}/bin'
1679 sbindir
='${exec_prefix}/sbin'
1680 libexecdir
='${exec_prefix}/libexec'
1681 datarootdir
='${prefix}/share'
1682 datadir
='${datarootdir}'
1683 sysconfdir
='${prefix}/etc'
1684 sharedstatedir
='${prefix}/com'
1685 localstatedir
='${prefix}/var'
1686 runstatedir
='${localstatedir}/run'
1687 includedir
='${prefix}/include'
1688 oldincludedir
='/usr/include'
1689 docdir
='${datarootdir}/doc/${PACKAGE_TARNAME}'
1690 infodir
='${datarootdir}/info'
1695 libdir
='${exec_prefix}/lib'
1696 localedir
='${datarootdir}/locale'
1697 mandir
='${datarootdir}/man'
1703 # If the previous option needs an argument, assign it.
1704 if test -n "$ac_prev"; then
1705 eval $ac_prev=\
$ac_option
1711 *=?
*) ac_optarg
=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
1716 # Accept the important Cygnus configure options, so we can diagnose typos.
1718 case $ac_dashdash$ac_option in
1722 -bindir |
--bindir |
--bindi |
--bind |
--bin |
--bi)
1724 -bindir=* |
--bindir=* |
--bindi=* |
--bind=* |
--bin=* |
--bi=*)
1725 bindir
=$ac_optarg ;;
1727 -build |
--build |
--buil |
--bui |
--bu)
1728 ac_prev
=build_alias
;;
1729 -build=* |
--build=* |
--buil=* |
--bui=* |
--bu=*)
1730 build_alias
=$ac_optarg ;;
1732 -cache-file |
--cache-file |
--cache-fil |
--cache-fi \
1733 |
--cache-f |
--cache- |
--cache |
--cach |
--cac |
--ca |
--c)
1734 ac_prev
=cache_file
;;
1735 -cache-file=* |
--cache-file=* |
--cache-fil=* |
--cache-fi=* \
1736 |
--cache-f=* |
--cache-=* |
--cache=* |
--cach=* |
--cac=* |
--ca=* |
--c=*)
1737 cache_file
=$ac_optarg ;;
1739 --config-cache |
-C)
1740 cache_file
=config.cache
;;
1742 -datadir |
--datadir |
--datadi |
--datad)
1744 -datadir=* |
--datadir=* |
--datadi=* |
--datad=*)
1745 datadir
=$ac_optarg ;;
1747 -datarootdir |
--datarootdir |
--datarootdi |
--datarootd |
--dataroot \
1748 |
--dataroo |
--dataro |
--datar)
1749 ac_prev
=datarootdir
;;
1750 -datarootdir=* |
--datarootdir=* |
--datarootdi=* |
--datarootd=* \
1751 |
--dataroot=* |
--dataroo=* |
--dataro=* |
--datar=*)
1752 datarootdir
=$ac_optarg ;;
1754 -disable-* |
--disable-*)
1755 ac_useropt
=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
1756 # Reject names that are not valid shell variable names.
1757 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
1758 as_fn_error $?
"invalid feature name: $ac_useropt"
1759 ac_useropt_orig
=$ac_useropt
1760 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1761 case $ac_user_opts in
1763 "enable_
$ac_useropt"
1765 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
1766 ac_unrecognized_sep
=', ';;
1768 eval enable_
$ac_useropt=no
;;
1770 -docdir |
--docdir |
--docdi |
--doc |
--do)
1772 -docdir=* |
--docdir=* |
--docdi=* |
--doc=* |
--do=*)
1773 docdir
=$ac_optarg ;;
1775 -dvidir |
--dvidir |
--dvidi |
--dvid |
--dvi |
--dv)
1777 -dvidir=* |
--dvidir=* |
--dvidi=* |
--dvid=* |
--dvi=* |
--dv=*)
1778 dvidir
=$ac_optarg ;;
1780 -enable-* |
--enable-*)
1781 ac_useropt
=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
1782 # Reject names that are not valid shell variable names.
1783 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
1784 as_fn_error $?
"invalid feature name: $ac_useropt"
1785 ac_useropt_orig
=$ac_useropt
1786 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1787 case $ac_user_opts in
1789 "enable_
$ac_useropt"
1791 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
1792 ac_unrecognized_sep
=', ';;
1794 eval enable_
$ac_useropt=\
$ac_optarg ;;
1796 -exec-prefix |
--exec_prefix |
--exec-prefix |
--exec-prefi \
1797 |
--exec-pref |
--exec-pre |
--exec-pr |
--exec-p |
--exec- \
1798 |
--exec |
--exe |
--ex)
1799 ac_prev
=exec_prefix
;;
1800 -exec-prefix=* |
--exec_prefix=* |
--exec-prefix=* |
--exec-prefi=* \
1801 |
--exec-pref=* |
--exec-pre=* |
--exec-pr=* |
--exec-p=* |
--exec-=* \
1802 |
--exec=* |
--exe=* |
--ex=*)
1803 exec_prefix
=$ac_optarg ;;
1805 -gas |
--gas |
--ga |
--g)
1806 # Obsolete; use --with-gas.
1809 -help |
--help |
--hel |
--he |
-h)
1810 ac_init_help
=long
;;
1811 -help=r
* |
--help=r
* |
--hel=r
* |
--he=r
* |
-hr*)
1812 ac_init_help
=recursive
;;
1813 -help=s
* |
--help=s
* |
--hel=s
* |
--he=s
* |
-hs*)
1814 ac_init_help
=short
;;
1816 -host |
--host |
--hos |
--ho)
1817 ac_prev
=host_alias
;;
1818 -host=* |
--host=* |
--hos=* |
--ho=*)
1819 host_alias
=$ac_optarg ;;
1821 -htmldir |
--htmldir |
--htmldi |
--htmld |
--html |
--htm |
--ht)
1823 -htmldir=* |
--htmldir=* |
--htmldi=* |
--htmld=* |
--html=* |
--htm=* \
1825 htmldir
=$ac_optarg ;;
1827 -includedir |
--includedir |
--includedi |
--included |
--include \
1828 |
--includ |
--inclu |
--incl |
--inc)
1829 ac_prev
=includedir
;;
1830 -includedir=* |
--includedir=* |
--includedi=* |
--included=* |
--include=* \
1831 |
--includ=* |
--inclu=* |
--incl=* |
--inc=*)
1832 includedir
=$ac_optarg ;;
1834 -infodir |
--infodir |
--infodi |
--infod |
--info |
--inf)
1836 -infodir=* |
--infodir=* |
--infodi=* |
--infod=* |
--info=* |
--inf=*)
1837 infodir
=$ac_optarg ;;
1839 -libdir |
--libdir |
--libdi |
--libd)
1841 -libdir=* |
--libdir=* |
--libdi=* |
--libd=*)
1842 libdir
=$ac_optarg ;;
1844 -libexecdir |
--libexecdir |
--libexecdi |
--libexecd |
--libexec \
1845 |
--libexe |
--libex |
--libe)
1846 ac_prev
=libexecdir
;;
1847 -libexecdir=* |
--libexecdir=* |
--libexecdi=* |
--libexecd=* |
--libexec=* \
1848 |
--libexe=* |
--libex=* |
--libe=*)
1849 libexecdir
=$ac_optarg ;;
1851 -localedir |
--localedir |
--localedi |
--localed |
--locale)
1852 ac_prev
=localedir
;;
1853 -localedir=* |
--localedir=* |
--localedi=* |
--localed=* |
--locale=*)
1854 localedir
=$ac_optarg ;;
1856 -localstatedir |
--localstatedir |
--localstatedi |
--localstated \
1857 |
--localstate |
--localstat |
--localsta |
--localst |
--locals)
1858 ac_prev
=localstatedir
;;
1859 -localstatedir=* |
--localstatedir=* |
--localstatedi=* |
--localstated=* \
1860 |
--localstate=* |
--localstat=* |
--localsta=* |
--localst=* |
--locals=*)
1861 localstatedir
=$ac_optarg ;;
1863 -mandir |
--mandir |
--mandi |
--mand |
--man |
--ma |
--m)
1865 -mandir=* |
--mandir=* |
--mandi=* |
--mand=* |
--man=* |
--ma=* |
--m=*)
1866 mandir
=$ac_optarg ;;
1868 -nfp |
--nfp |
--nf)
1869 # Obsolete; use --without-fp.
1872 -no-create |
--no-create |
--no-creat |
--no-crea |
--no-cre \
1873 |
--no-cr |
--no-c |
-n)
1876 -no-recursion |
--no-recursion |
--no-recursio |
--no-recursi \
1877 |
--no-recurs |
--no-recur |
--no-recu |
--no-rec |
--no-re |
--no-r)
1880 -oldincludedir |
--oldincludedir |
--oldincludedi |
--oldincluded \
1881 |
--oldinclude |
--oldinclud |
--oldinclu |
--oldincl |
--oldinc \
1882 |
--oldin |
--oldi |
--old |
--ol |
--o)
1883 ac_prev
=oldincludedir
;;
1884 -oldincludedir=* |
--oldincludedir=* |
--oldincludedi=* |
--oldincluded=* \
1885 |
--oldinclude=* |
--oldinclud=* |
--oldinclu=* |
--oldincl=* |
--oldinc=* \
1886 |
--oldin=* |
--oldi=* |
--old=* |
--ol=* |
--o=*)
1887 oldincludedir
=$ac_optarg ;;
1889 -prefix |
--prefix |
--prefi |
--pref |
--pre |
--pr |
--p)
1891 -prefix=* |
--prefix=* |
--prefi=* |
--pref=* |
--pre=* |
--pr=* |
--p=*)
1892 prefix
=$ac_optarg ;;
1894 -program-prefix |
--program-prefix |
--program-prefi |
--program-pref \
1895 |
--program-pre |
--program-pr |
--program-p)
1896 ac_prev
=program_prefix
;;
1897 -program-prefix=* |
--program-prefix=* |
--program-prefi=* \
1898 |
--program-pref=* |
--program-pre=* |
--program-pr=* |
--program-p=*)
1899 program_prefix
=$ac_optarg ;;
1901 -program-suffix |
--program-suffix |
--program-suffi |
--program-suff \
1902 |
--program-suf |
--program-su |
--program-s)
1903 ac_prev
=program_suffix
;;
1904 -program-suffix=* |
--program-suffix=* |
--program-suffi=* \
1905 |
--program-suff=* |
--program-suf=* |
--program-su=* |
--program-s=*)
1906 program_suffix
=$ac_optarg ;;
1908 -program-transform-name |
--program-transform-name \
1909 |
--program-transform-nam |
--program-transform-na \
1910 |
--program-transform-n |
--program-transform- \
1911 |
--program-transform |
--program-transfor \
1912 |
--program-transfo |
--program-transf \
1913 |
--program-trans |
--program-tran \
1914 |
--progr-tra |
--program-tr |
--program-t)
1915 ac_prev
=program_transform_name
;;
1916 -program-transform-name=* |
--program-transform-name=* \
1917 |
--program-transform-nam=* |
--program-transform-na=* \
1918 |
--program-transform-n=* |
--program-transform-=* \
1919 |
--program-transform=* |
--program-transfor=* \
1920 |
--program-transfo=* |
--program-transf=* \
1921 |
--program-trans=* |
--program-tran=* \
1922 |
--progr-tra=* |
--program-tr=* |
--program-t=*)
1923 program_transform_name
=$ac_optarg ;;
1925 -pdfdir |
--pdfdir |
--pdfdi |
--pdfd |
--pdf |
--pd)
1927 -pdfdir=* |
--pdfdir=* |
--pdfdi=* |
--pdfd=* |
--pdf=* |
--pd=*)
1928 pdfdir
=$ac_optarg ;;
1930 -psdir |
--psdir |
--psdi |
--psd |
--ps)
1932 -psdir=* |
--psdir=* |
--psdi=* |
--psd=* |
--ps=*)
1935 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
1936 |
-silent |
--silent |
--silen |
--sile |
--sil)
1939 -runstatedir |
--runstatedir |
--runstatedi |
--runstated \
1940 |
--runstate |
--runstat |
--runsta |
--runst |
--runs \
1941 |
--run |
--ru |
--r)
1942 ac_prev
=runstatedir
;;
1943 -runstatedir=* |
--runstatedir=* |
--runstatedi=* |
--runstated=* \
1944 |
--runstate=* |
--runstat=* |
--runsta=* |
--runst=* |
--runs=* \
1945 |
--run=* |
--ru=* |
--r=*)
1946 runstatedir
=$ac_optarg ;;
1948 -sbindir |
--sbindir |
--sbindi |
--sbind |
--sbin |
--sbi |
--sb)
1950 -sbindir=* |
--sbindir=* |
--sbindi=* |
--sbind=* |
--sbin=* \
1952 sbindir
=$ac_optarg ;;
1954 -sharedstatedir |
--sharedstatedir |
--sharedstatedi \
1955 |
--sharedstated |
--sharedstate |
--sharedstat |
--sharedsta \
1956 |
--sharedst |
--shareds |
--shared |
--share |
--shar \
1958 ac_prev
=sharedstatedir
;;
1959 -sharedstatedir=* |
--sharedstatedir=* |
--sharedstatedi=* \
1960 |
--sharedstated=* |
--sharedstate=* |
--sharedstat=* |
--sharedsta=* \
1961 |
--sharedst=* |
--shareds=* |
--shared=* |
--share=* |
--shar=* \
1963 sharedstatedir
=$ac_optarg ;;
1965 -site |
--site |
--sit)
1967 -site=* |
--site=* |
--sit=*)
1970 -srcdir |
--srcdir |
--srcdi |
--srcd |
--src |
--sr)
1972 -srcdir=* |
--srcdir=* |
--srcdi=* |
--srcd=* |
--src=* |
--sr=*)
1973 srcdir
=$ac_optarg ;;
1975 -sysconfdir |
--sysconfdir |
--sysconfdi |
--sysconfd |
--sysconf \
1976 |
--syscon |
--sysco |
--sysc |
--sys |
--sy)
1977 ac_prev
=sysconfdir
;;
1978 -sysconfdir=* |
--sysconfdir=* |
--sysconfdi=* |
--sysconfd=* |
--sysconf=* \
1979 |
--syscon=* |
--sysco=* |
--sysc=* |
--sys=* |
--sy=*)
1980 sysconfdir
=$ac_optarg ;;
1982 -target |
--target |
--targe |
--targ |
--tar |
--ta |
--t)
1983 ac_prev
=target_alias
;;
1984 -target=* |
--target=* |
--targe=* |
--targ=* |
--tar=* |
--ta=* |
--t=*)
1985 target_alias
=$ac_optarg ;;
1987 -v |
-verbose |
--verbose |
--verbos |
--verbo |
--verb)
1990 -version |
--version |
--versio |
--versi |
--vers |
-V)
1991 ac_init_version
=: ;;
1994 ac_useropt
=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1995 # Reject names that are not valid shell variable names.
1996 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
1997 as_fn_error $?
"invalid package name: $ac_useropt"
1998 ac_useropt_orig
=$ac_useropt
1999 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
2000 case $ac_user_opts in
2004 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
2005 ac_unrecognized_sep
=', ';;
2007 eval with_
$ac_useropt=\
$ac_optarg ;;
2009 -without-* |
--without-*)
2010 ac_useropt
=`expr "x$ac_option" : 'x-*without-\(.*\)'`
2011 # Reject names that are not valid shell variable names.
2012 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
2013 as_fn_error $?
"invalid package name: $ac_useropt"
2014 ac_useropt_orig
=$ac_useropt
2015 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
2016 case $ac_user_opts in
2020 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
2021 ac_unrecognized_sep
=', ';;
2023 eval with_
$ac_useropt=no
;;
2026 # Obsolete; use --with-x.
2029 -x-includes |
--x-includes |
--x-include |
--x-includ |
--x-inclu \
2030 |
--x-incl |
--x-inc |
--x-in |
--x-i)
2031 ac_prev
=x_includes
;;
2032 -x-includes=* |
--x-includes=* |
--x-include=* |
--x-includ=* |
--x-inclu=* \
2033 |
--x-incl=* |
--x-inc=* |
--x-in=* |
--x-i=*)
2034 x_includes
=$ac_optarg ;;
2036 -x-libraries |
--x-libraries |
--x-librarie |
--x-librari \
2037 |
--x-librar |
--x-libra |
--x-libr |
--x-lib |
--x-li |
--x-l)
2038 ac_prev
=x_libraries
;;
2039 -x-libraries=* |
--x-libraries=* |
--x-librarie=* |
--x-librari=* \
2040 |
--x-librar=* |
--x-libra=* |
--x-libr=* |
--x-lib=* |
--x-li=* |
--x-l=*)
2041 x_libraries
=$ac_optarg ;;
2043 -*) as_fn_error $?
"unrecognized option: \`$ac_option'
2044 Try \`$0 --help' for more information"
2048 ac_envvar
=`expr "x$ac_option" : 'x\([^=]*\)='`
2049 # Reject names that are not valid shell variable names.
2050 case $ac_envvar in #(
2051 '' |
[0-9]* |
*[!_
$as_cr_alnum]* )
2052 as_fn_error $?
"invalid variable name: \`$ac_envvar'" ;;
2054 eval $ac_envvar=\
$ac_optarg
2055 export $ac_envvar ;;
2058 # FIXME: should be removed in autoconf 3.0.
2059 $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
2060 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev
/null
&&
2061 $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
2062 : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}"
2068 if test -n "$ac_prev"; then
2069 ac_option
=--`echo $ac_prev | sed 's/_/-/g'`
2070 as_fn_error $?
"missing argument to $ac_option"
2073 if test -n "$ac_unrecognized_opts"; then
2074 case $enable_option_checking in
2076 fatal
) as_fn_error $?
"unrecognized options: $ac_unrecognized_opts" ;;
2077 *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
2081 # Check all directory arguments for consistency.
2082 for ac_var
in exec_prefix prefix bindir sbindir libexecdir datarootdir \
2083 datadir sysconfdir sharedstatedir localstatedir includedir \
2084 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
2085 libdir localedir mandir runstatedir
2087 eval ac_val
=\$
$ac_var
2088 # Remove trailing slashes.
2091 ac_val
=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
2092 eval $ac_var=\
$ac_val;;
2094 # Be sure to have absolute directory names.
2096 [\\/$
]* | ?
:[\\/]* ) continue;;
2097 NONE |
'' ) case $ac_var in *prefix
) continue;; esac;;
2099 as_fn_error $?
"expected an absolute directory name for --$ac_var: $ac_val"
2102 # There might be people who depend on the old broken behavior: `$host'
2103 # used to hold the argument of --host etc.
2104 # FIXME: To remove some day.
2107 target
=$target_alias
2109 # FIXME: To remove some day.
2110 if test "x$host_alias" != x
; then
2111 if test "x$build_alias" = x
; then
2112 cross_compiling
=maybe
2113 elif test "x$build_alias" != "x$host_alias"; then
2119 test -n "$host_alias" && ac_tool_prefix
=$host_alias-
2121 test "$silent" = yes && exec 6>/dev
/null
2124 ac_pwd
=`pwd` && test -n "$ac_pwd" &&
2125 ac_ls_di
=`ls -di .` &&
2126 ac_pwd_ls_di
=`cd "$ac_pwd" && ls -di .` ||
2127 as_fn_error $?
"working directory cannot be determined"
2128 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
2129 as_fn_error $?
"pwd does not report name of working directory"
2132 # Find the source files, if location was not specified.
2133 if test -z "$srcdir"; then
2134 ac_srcdir_defaulted
=yes
2135 # Try the directory containing this script, then the parent directory.
2136 ac_confdir
=`$as_dirname -- "$as_myself" ||
2137 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
2138 X"$as_myself" : 'X\(//\)[^/]' \| \
2139 X"$as_myself" : 'X\(//\)$' \| \
2140 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
2141 $as_echo X"$as_myself" |
2142 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
2160 if test ! -r "$srcdir/$ac_unique_file"; then
2164 ac_srcdir_defaulted
=no
2166 if test ! -r "$srcdir/$ac_unique_file"; then
2167 test "$ac_srcdir_defaulted" = yes && srcdir
="$ac_confdir or .."
2168 as_fn_error $?
"cannot find sources ($ac_unique_file) in $srcdir"
2170 ac_msg
="sources are in $srcdir, but \`cd $srcdir' does not work"
2172 cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
2174 # When building in place, set srcdir=.
2175 if test "$ac_abs_confdir" = "$ac_pwd"; then
2178 # Remove unnecessary trailing slashes from srcdir.
2179 # Double slashes in file names in object file debugging info
2180 # mess up M-x gdb in Emacs.
2182 */) srcdir
=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
2184 for ac_var
in $ac_precious_vars; do
2185 eval ac_env_
${ac_var}_set=\${${ac_var}+set}
2186 eval ac_env_
${ac_var}_value
=\$
${ac_var}
2187 eval ac_cv_env_
${ac_var}_set=\${${ac_var}+set}
2188 eval ac_cv_env_
${ac_var}_value
=\$
${ac_var}
2192 # Report the --help message.
2194 if test "$ac_init_help" = "long"; then
2195 # Omit some internal or obsolete options to make the list less imposing.
2196 # This message is too long to be a string in the A/UX 3.1 sh.
2198 \`configure' configures Wine 1.9.21 to adapt to many kinds of systems.
2200 Usage: $0 [OPTION]... [VAR=VALUE]...
2202 To assign environment variables (e.g., CC, CFLAGS...), specify them as
2203 VAR=VALUE. See below for descriptions of some of the useful variables.
2205 Defaults for the options are specified in brackets.
2208 -h, --help display this help and exit
2209 --help=short display options specific to this package
2210 --help=recursive display the short help of all the included packages
2211 -V, --version display version information and exit
2212 -q, --quiet, --silent do not print \`checking ...' messages
2213 --cache-file=FILE cache test results in FILE [disabled]
2214 -C, --config-cache alias for \`--cache-file=config.cache'
2215 -n, --no-create do not create output files
2216 --srcdir=DIR find the sources in DIR [configure dir or \`..']
2218 Installation directories:
2219 --prefix=PREFIX install architecture-independent files in PREFIX
2220 [$ac_default_prefix]
2221 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
2224 By default, \`make install' will install all the files in
2225 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
2226 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
2227 for instance \`--prefix=\$HOME'.
2229 For better control, use the options below.
2231 Fine tuning of the installation directories:
2232 --bindir=DIR user executables [EPREFIX/bin]
2233 --sbindir=DIR system admin executables [EPREFIX/sbin]
2234 --libexecdir=DIR program executables [EPREFIX/libexec]
2235 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
2236 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
2237 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
2238 --runstatedir=DIR modifiable per-process data [LOCALSTATEDIR/run]
2239 --libdir=DIR object code libraries [EPREFIX/lib]
2240 --includedir=DIR C header files [PREFIX/include]
2241 --oldincludedir=DIR C header files for non-gcc [/usr/include]
2242 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
2243 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
2244 --infodir=DIR info documentation [DATAROOTDIR/info]
2245 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
2246 --mandir=DIR man documentation [DATAROOTDIR/man]
2247 --docdir=DIR documentation root [DATAROOTDIR/doc/wine]
2248 --htmldir=DIR html documentation [DOCDIR]
2249 --dvidir=DIR dvi documentation [DOCDIR]
2250 --pdfdir=DIR pdf documentation [DOCDIR]
2251 --psdir=DIR ps documentation [DOCDIR]
2257 --x-includes=DIR X include files are
in DIR
2258 --x-libraries=DIR X library files are
in DIR
2261 --build=BUILD configure
for building on BUILD
[guessed
]
2262 --host=HOST cross-compile to build programs to run on HOST
[BUILD
]
2266 if test -n "$ac_init_help"; then
2267 case $ac_init_help in
2268 short | recursive
) echo "Configuration of Wine 1.9.21:";;
2273 --disable-option-checking ignore unrecognized
--enable/--with options
2274 --disable-FEATURE do not include FEATURE
(same as
--enable-FEATURE=no
)
2275 --enable-FEATURE[=ARG
] include FEATURE
[ARG
=yes]
2276 --disable-win16 do not include Win16 support
2277 --enable-win64 build a Win64 emulator on AMD64
(won
't run Win32
2279 --disable-tests do not build the regression tests
2280 --enable-maintainer-mode
2281 enable maintainer-specific build rules
2282 --disable-largefile omit support for large files
2285 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
2286 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
2287 --without-alsa do not use the Alsa sound support
2288 --without-capi do not use CAPI (ISDN support)
2289 --without-cms do not use CMS (color management support)
2290 --without-coreaudio do not use the CoreAudio sound support
2291 --without-cups do not use CUPS
2292 --without-curses do not use (n)curses
2293 --without-dbus do not use DBus (dynamic device support)
2294 --without-fontconfig do not use fontconfig
2295 --without-freetype do not use the FreeType library
2296 --without-gettext do not use gettext
2297 --with-gettextpo use the GetTextPO library to rebuild po files
2298 --without-gphoto do not use gphoto (Digital Camera support)
2299 --without-glu do not use the GLU library
2300 --without-gnutls do not use GnuTLS (schannel support)
2301 --without-gsm do not use libgsm (GSM 06.10 codec support)
2302 --without-gstreamer do not use GStreamer (codecs support)
2303 --without-hal do not use HAL (dynamic device support)
2304 --without-jpeg do not use JPEG
2305 --without-ldap do not use LDAP
2306 --without-mpg123 do not use the mpg123 library
2307 --without-netapi do not use the Samba NetAPI library
2308 --without-openal do not use OpenAL
2309 --without-opencl do not use OpenCL
2310 --without-opengl do not use OpenGL
2311 --without-osmesa do not use the OSMesa library
2312 --without-oss do not use the OSS sound support
2313 --without-pcap do not use the Packet Capture library
2314 --without-png do not use PNG
2315 --without-pthread do not use the pthread library
2316 --without-pulse do not use PulseAudio sound support
2317 --without-sane do not use SANE (scanner support)
2318 --without-tiff do not use TIFF
2319 --without-udev do not use udev (plug and play support)
2320 --without-v4l do not use v4l1 (v4l support)
2321 --without-xcomposite do not use the Xcomposite extension
2322 --without-xcursor do not use the Xcursor extension
2323 --without-xinerama do not use Xinerama (multi-monitor support)
2324 --without-xinput do not use the Xinput extension
2325 --without-xinput2 do not use the Xinput 2 extension
2326 --without-xml do not use XML
2327 --without-xrandr do not use Xrandr (resolution changes)
2328 --without-xrender do not use the Xrender extension
2329 --without-xshape do not use the Xshape extension
2330 --without-xshm do not use XShm (shared memory extension)
2331 --without-xslt do not use XSLT
2332 --without-xxf86vm do not use XFree video mode extension
2333 --without-zlib do not use Zlib (data compression)
2334 --with-wine-tools=DIR use Wine tools from directory DIR
2335 --with-wine64=DIR use the 64-bit Wine in DIR for a Wow64 build
2336 --with-x use the X Window System
2338 Some influential environment variables:
2339 CC C compiler command
2340 CFLAGS C compiler flags
2341 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
2342 nonstandard directory <lib dir>
2343 LIBS libraries to pass to the linker, e.g. -l<library>
2344 CPPFLAGS (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if
2345 you have headers in a nonstandard directory <include dir>
2346 CXX C++ compiler command
2347 CXXFLAGS C++ compiler flags
2349 XMKMF Path to xmkmf, Makefile generator for X Window System
2350 XML2_CFLAGS C compiler flags for libxml-2.0, overriding pkg-config
2351 XML2_LIBS Linker flags for libxml-2.0, overriding pkg-config
2352 XSLT_CFLAGS C compiler flags for libxslt, overriding pkg-config
2353 XSLT_LIBS Linker flags for libxslt, overriding pkg-config
2354 DBUS_CFLAGS C compiler flags for dbus-1, overriding pkg-config
2355 DBUS_LIBS Linker flags for dbus-1, overriding pkg-config
2356 HAL_CFLAGS C compiler flags for hal, overriding pkg-config
2357 HAL_LIBS Linker flags for hal, overriding pkg-config
2359 C compiler flags for gnutls, overriding pkg-config
2360 GNUTLS_LIBS Linker flags for gnutls, overriding pkg-config
2361 SANE_CFLAGS C compiler flags for libsane, overriding pkg-config
2362 SANE_LIBS Linker flags for libsane, overriding pkg-config
2364 C compiler flags for libgphoto2, overriding pkg-config
2366 Linker flags for libgphoto2, overriding pkg-config
2368 C compiler flags for libgphoto2_port, overriding pkg-config
2370 Linker flags for libgphoto2_port, overriding pkg-config
2372 C compiler flags for lcms2, overriding pkg-config
2373 LCMS2_LIBS Linker flags for lcms2, overriding pkg-config
2375 C compiler flags for freetype2, overriding pkg-config
2377 Linker flags for freetype2, overriding pkg-config
2379 C compiler flags for libpulse, overriding pkg-config
2380 PULSE_LIBS Linker flags for libpulse, overriding pkg-config
2382 C compiler flags for gstreamer-1.0 gstreamer-video-1.0
2383 gstreamer-audio-1.0, overriding pkg-config
2385 Linker flags for gstreamer-1.0 gstreamer-video-1.0
2386 gstreamer-audio-1.0, overriding pkg-config
2387 UDEV_CFLAGS C compiler flags for libudev, overriding pkg-config
2388 UDEV_LIBS Linker flags for libudev, overriding pkg-config
2390 C compiler flags for capi20, overriding pkg-config
2391 CAPI20_LIBS Linker flags for capi20, overriding pkg-config
2393 C compiler flags for fontconfig, overriding pkg-config
2395 Linker flags for fontconfig, overriding pkg-config
2396 JPEG_CFLAGS C compiler flags for libjpeg, overriding pkg-config
2397 JPEG_LIBS Linker flags for libjpeg, overriding pkg-config
2398 PNG_CFLAGS C compiler flags for libpng, overriding pkg-config
2399 PNG_LIBS Linker flags for libpng, overriding pkg-config
2400 TIFF_CFLAGS C compiler flags for libtiff-4, overriding pkg-config
2401 TIFF_LIBS Linker flags for libtiff-4, overriding pkg-config
2403 C compiler flags for libmpg123, overriding pkg-config
2404 MPG123_LIBS Linker flags for libmpg123, overriding pkg-config
2406 C compiler flags for netapi, overriding pkg-config
2407 NETAPI_LIBS Linker flags for netapi, overriding pkg-config
2409 Use these variables to override the choices made by `configure' or to
help
2410 it to
find libraries and programs with nonstandard names
/locations.
2412 Report bugs to
<wine-devel@winehq.org
>.
2413 Wine home page
: <http
://www.winehq.org
>.
2418 if test "$ac_init_help" = "recursive"; then
2419 # If there are subdirs, report their specific --help.
2420 for ac_dir
in : $ac_subdirs_all; do test "x$ac_dir" = x
: && continue
2421 test -d "$ac_dir" ||
2422 { cd "$srcdir" && ac_pwd
=`pwd` && srcdir
=.
&& test -d "$ac_dir"; } ||
2427 .
) ac_dir_suffix
= ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
2429 ac_dir_suffix
=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
2430 # A ".." for each directory in $ac_dir_suffix.
2431 ac_top_builddir_sub
=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
2432 case $ac_top_builddir_sub in
2433 "") ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
2434 *) ac_top_build_prefix
=$ac_top_builddir_sub/ ;;
2437 ac_abs_top_builddir
=$ac_pwd
2438 ac_abs_builddir
=$ac_pwd$ac_dir_suffix
2439 # for backward compatibility:
2440 ac_top_builddir
=$ac_top_build_prefix
2443 .
) # We are building in place.
2445 ac_top_srcdir
=$ac_top_builddir_sub
2446 ac_abs_top_srcdir
=$ac_pwd ;;
2447 [\\/]* | ?
:[\\/]* ) # Absolute name.
2448 ac_srcdir
=$srcdir$ac_dir_suffix;
2449 ac_top_srcdir
=$srcdir
2450 ac_abs_top_srcdir
=$srcdir ;;
2452 ac_srcdir
=$ac_top_build_prefix$srcdir$ac_dir_suffix
2453 ac_top_srcdir
=$ac_top_build_prefix$srcdir
2454 ac_abs_top_srcdir
=$ac_pwd/$srcdir ;;
2456 ac_abs_srcdir
=$ac_abs_top_srcdir$ac_dir_suffix
2458 cd "$ac_dir" ||
{ ac_status
=$?
; continue; }
2459 # Check for guested configure.
2460 if test -f "$ac_srcdir/configure.gnu"; then
2462 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
2463 elif test -f "$ac_srcdir/configure"; then
2465 $SHELL "$ac_srcdir/configure" --help=recursive
2467 $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
2469 cd "$ac_pwd" ||
{ ac_status
=$?
; break; }
2473 test -n "$ac_init_help" && exit $ac_status
2474 if $ac_init_version; then
2476 Wine configure
1.9.21
2477 generated by GNU Autoconf
2.69
2479 Copyright
(C
) 2012 Free Software Foundation
, Inc.
2480 This configure
script is free software
; the Free Software Foundation
2481 gives unlimited permission to copy
, distribute and modify it.
2486 ## ------------------------ ##
2487 ## Autoconf initialization. ##
2488 ## ------------------------ ##
2490 # ac_fn_c_try_compile LINENO
2491 # --------------------------
2492 # Try to compile conftest.$ac_ext, and return whether this succeeded.
2493 ac_fn_c_try_compile
()
2495 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
2496 rm -f conftest.
$ac_objext
2497 if { { ac_try
="$ac_compile"
2499 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
2500 *) ac_try_echo=$ac_try;;
2502 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2503 $as_echo "$ac_try_echo"; } >&5
2504 (eval "$ac_compile") 2>conftest.err
2506 if test -s conftest.err; then
2507 grep -v '^ *+' conftest.err >conftest.er1
2508 cat conftest.er1 >&5
2509 mv -f conftest.er1 conftest.err
2511 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2512 test $ac_status = 0; } && {
2513 test -z "$ac_c_werror_flag" ||
2514 test ! -s conftest.err
2515 } && test -s conftest.$ac_objext; then :
2518 $as_echo "$as_me: failed program was:" >&5
2519 sed 's/^/| /' conftest.$ac_ext >&5
2523 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2524 as_fn_set_status $ac_retval
2526 } # ac_fn_c_try_compile
2528 # ac_fn_cxx_try_compile LINENO
2529 # ----------------------------
2530 # Try to compile conftest.$ac_ext, and return whether this succeeded.
2531 ac_fn_cxx_try_compile ()
2533 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2534 rm -f conftest.$ac_objext
2535 if { { ac_try="$ac_compile"
2537 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
2538 *) ac_try_echo
=$ac_try;;
2540 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2541 $as_echo "$ac_try_echo"; } >&5
2542 (eval "$ac_compile") 2>conftest.err
2544 if test -s conftest.err
; then
2545 grep -v '^ *+' conftest.err
>conftest.er1
2546 cat conftest.er1
>&5
2547 mv -f conftest.er1 conftest.err
2549 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2550 test $ac_status = 0; } && {
2551 test -z "$ac_cxx_werror_flag" ||
2552 test ! -s conftest.err
2553 } && test -s conftest.
$ac_objext; then :
2556 $as_echo "$as_me: failed program was:" >&5
2557 sed 's/^/| /' conftest.
$ac_ext >&5
2561 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2562 as_fn_set_status
$ac_retval
2564 } # ac_fn_cxx_try_compile
2566 # ac_fn_c_try_link LINENO
2567 # -----------------------
2568 # Try to link conftest.$ac_ext, and return whether this succeeded.
2571 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
2572 rm -f conftest.
$ac_objext conftest
$ac_exeext
2573 if { { ac_try
="$ac_link"
2575 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
2576 *) ac_try_echo=$ac_try;;
2578 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2579 $as_echo "$ac_try_echo"; } >&5
2580 (eval "$ac_link") 2>conftest.err
2582 if test -s conftest.err; then
2583 grep -v '^ *+' conftest.err >conftest.er1
2584 cat conftest.er1 >&5
2585 mv -f conftest.er1 conftest.err
2587 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2588 test $ac_status = 0; } && {
2589 test -z "$ac_c_werror_flag" ||
2590 test ! -s conftest.err
2591 } && test -s conftest$ac_exeext && {
2592 test "$cross_compiling" = yes ||
2593 test -x conftest$ac_exeext
2597 $as_echo "$as_me: failed program was:" >&5
2598 sed 's/^/| /' conftest.$ac_ext >&5
2602 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
2603 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
2604 # interfere with the next link command; also delete a directory that is
2605 # left behind by Apple's compiler. We do this before executing the actions.
2606 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
2607 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2608 as_fn_set_status $ac_retval
2610 } # ac_fn_c_try_link
2612 # ac_fn_c_try_cpp LINENO
2613 # ----------------------
2614 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
2617 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2618 if { { ac_try="$ac_cpp conftest.$ac_ext"
2620 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
2621 *) ac_try_echo
=$ac_try;;
2623 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2624 $as_echo "$ac_try_echo"; } >&5
2625 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
2627 if test -s conftest.err
; then
2628 grep -v '^ *+' conftest.err
>conftest.er1
2629 cat conftest.er1
>&5
2630 mv -f conftest.er1 conftest.err
2632 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2633 test $ac_status = 0; } > conftest.i
&& {
2634 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
2635 test ! -s conftest.err
2639 $as_echo "$as_me: failed program was:" >&5
2640 sed 's/^/| /' conftest.
$ac_ext >&5
2644 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2645 as_fn_set_status
$ac_retval
2649 # ac_fn_c_check_header_mongrel LINENO HEADER VAR INCLUDES
2650 # -------------------------------------------------------
2651 # Tests whether HEADER exists, giving a warning if it cannot be compiled using
2652 # the include files in INCLUDES and setting the cache variable VAR
2654 ac_fn_c_check_header_mongrel
()
2656 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
2657 if eval \
${$3+:} false
; then :
2658 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2659 $as_echo_n "checking for $2... " >&6; }
2660 if eval \
${$3+:} false
; then :
2661 $as_echo_n "(cached) " >&6
2664 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2665 $as_echo "$ac_res" >&6; }
2667 # Is the header compilable?
2668 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
2669 $as_echo_n "checking $2 usability... " >&6; }
2670 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
2671 /* end confdefs.h. */
2675 if ac_fn_c_try_compile
"$LINENO"; then :
2676 ac_header_compiler
=yes
2678 ac_header_compiler
=no
2680 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
2681 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
2682 $as_echo "$ac_header_compiler" >&6; }
2684 # Is the header present?
2685 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
2686 $as_echo_n "checking $2 presence... " >&6; }
2687 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
2688 /* end confdefs.h. */
2691 if ac_fn_c_try_cpp
"$LINENO"; then :
2692 ac_header_preproc
=yes
2694 ac_header_preproc
=no
2696 rm -f conftest.err conftest.i conftest.
$ac_ext
2697 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
2698 $as_echo "$ac_header_preproc" >&6; }
2700 # So? What about this header?
2701 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in #((
2703 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
2704 $as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
2705 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
2706 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
2709 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
2710 $as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
2711 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: check for missing prerequisite headers?" >&5
2712 $as_echo "$as_me: WARNING: $2: check for missing prerequisite headers?" >&2;}
2713 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
2714 $as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
2715 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&5
2716 $as_echo "$as_me: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&2;}
2717 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
2718 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
2719 ( $as_echo "## ------------------------------------ ##
2720 ## Report this to wine-devel@winehq.org ##
2721 ## ------------------------------------ ##"
2722 ) |
sed "s/^/$as_me: WARNING: /" >&2
2725 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2726 $as_echo_n "checking for $2... " >&6; }
2727 if eval \
${$3+:} false
; then :
2728 $as_echo_n "(cached) " >&6
2730 eval "$3=\$ac_header_compiler"
2733 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2734 $as_echo "$ac_res" >&6; }
2736 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2738 } # ac_fn_c_check_header_mongrel
2740 # ac_fn_c_try_run LINENO
2741 # ----------------------
2742 # Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
2743 # that executables *can* be run.
2746 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
2747 if { { ac_try
="$ac_link"
2749 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
2750 *) ac_try_echo=$ac_try;;
2752 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2753 $as_echo "$ac_try_echo"; } >&5
2754 (eval "$ac_link") 2>&5
2756 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2757 test $ac_status = 0; } && { ac_try='./conftest$ac_exeext'
2758 { { case "(($ac_try" in
2759 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
2760 *) ac_try_echo
=$ac_try;;
2762 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2763 $as_echo "$ac_try_echo"; } >&5
2764 (eval "$ac_try") 2>&5
2766 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2767 test $ac_status = 0; }; }; then :
2770 $as_echo "$as_me: program exited with status $ac_status" >&5
2771 $as_echo "$as_me: failed program was:" >&5
2772 sed 's/^/| /' conftest.
$ac_ext >&5
2774 ac_retval
=$ac_status
2776 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
2777 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2778 as_fn_set_status
$ac_retval
2782 # ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
2783 # -------------------------------------------------------
2784 # Tests whether HEADER exists and can be compiled using the include files in
2785 # INCLUDES, setting the cache variable VAR accordingly.
2786 ac_fn_c_check_header_compile
()
2788 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
2789 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2790 $as_echo_n "checking for $2... " >&6; }
2791 if eval \
${$3+:} false
; then :
2792 $as_echo_n "(cached) " >&6
2794 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
2795 /* end confdefs.h. */
2799 if ac_fn_c_try_compile
"$LINENO"; then :
2804 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
2807 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2808 $as_echo "$ac_res" >&6; }
2809 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2811 } # ac_fn_c_check_header_compile
2813 # ac_fn_c_check_func LINENO FUNC VAR
2814 # ----------------------------------
2815 # Tests whether FUNC exists, setting the cache variable VAR accordingly
2816 ac_fn_c_check_func
()
2818 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
2819 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2820 $as_echo_n "checking for $2... " >&6; }
2821 if eval \
${$3+:} false
; then :
2822 $as_echo_n "(cached) " >&6
2824 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
2825 /* end confdefs.h. */
2826 /* Define $2 to an innocuous variant, in case <limits.h> declares $2.
2827 For example, HP-UX 11i <limits.h> declares gettimeofday. */
2828 #define $2 innocuous_$2
2830 /* System header to define __stub macros and hopefully few prototypes,
2831 which can conflict with char $2 (); below.
2832 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
2833 <limits.h> exists even on freestanding compilers. */
2836 # include <limits.h>
2838 # include <assert.h>
2843 /* Override any GCC internal prototype to avoid an error.
2844 Use char because int might match the return type of a GCC
2845 builtin and then its argument prototype would still apply. */
2850 /* The GNU C library defines this for functions which it implements
2851 to always fail with ENOSYS. Some functions are actually named
2852 something starting with __ and the normal name is an alias. */
2853 #if defined __stub_$2 || defined __stub___$2
2865 if ac_fn_c_try_link
"$LINENO"; then :
2870 rm -f core conftest.err conftest.
$ac_objext \
2871 conftest
$ac_exeext conftest.
$ac_ext
2874 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2875 $as_echo "$ac_res" >&6; }
2876 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2878 } # ac_fn_c_check_func
2880 # ac_fn_c_check_member LINENO AGGR MEMBER VAR INCLUDES
2881 # ----------------------------------------------------
2882 # Tries to find if the field MEMBER exists in type AGGR, after including
2883 # INCLUDES, setting cache variable VAR accordingly.
2884 ac_fn_c_check_member
()
2886 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
2887 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2.$3" >&5
2888 $as_echo_n "checking for $2.$3... " >&6; }
2889 if eval \
${$4+:} false
; then :
2890 $as_echo_n "(cached) " >&6
2892 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
2893 /* end confdefs.h. */
2905 if ac_fn_c_try_compile
"$LINENO"; then :
2908 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
2909 /* end confdefs.h. */
2915 if (sizeof ac_aggr.$3)
2921 if ac_fn_c_try_compile
"$LINENO"; then :
2926 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
2928 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
2931 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2932 $as_echo "$ac_res" >&6; }
2933 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2935 } # ac_fn_c_check_member
2937 # ac_fn_c_check_type LINENO TYPE VAR INCLUDES
2938 # -------------------------------------------
2939 # Tests whether TYPE exists after having included INCLUDES, setting cache
2940 # variable VAR accordingly.
2941 ac_fn_c_check_type
()
2943 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
2944 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2945 $as_echo_n "checking for $2... " >&6; }
2946 if eval \
${$3+:} false
; then :
2947 $as_echo_n "(cached) " >&6
2950 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
2951 /* end confdefs.h. */
2962 if ac_fn_c_try_compile
"$LINENO"; then :
2963 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
2964 /* end confdefs.h. */
2975 if ac_fn_c_try_compile
"$LINENO"; then :
2980 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
2982 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
2985 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2986 $as_echo "$ac_res" >&6; }
2987 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2989 } # ac_fn_c_check_type
2990 cat >config.log
<<_ACEOF
2991 This file contains any messages produced by compilers while
2992 running configure, to aid debugging if configure makes a mistake.
2994 It was created by Wine $as_me 1.9.21, which was
2995 generated by GNU Autoconf 2.69. Invocation command line was
3007 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
3008 uname -m = `(uname -m) 2>/dev/null || echo unknown`
3009 uname -r = `(uname -r) 2>/dev/null || echo unknown`
3010 uname -s = `(uname -s) 2>/dev/null || echo unknown`
3011 uname -v = `(uname -v) 2>/dev/null || echo unknown`
3013 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
3014 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
3016 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
3017 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
3018 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
3019 /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
3020 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
3021 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
3022 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
3026 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3030 test -z "$as_dir" && as_dir
=.
3031 $as_echo "PATH: $as_dir"
3047 # Keep a trace of the command line.
3048 # Strip out --no-create and --no-recursion so they do not pile up.
3049 # Strip out --silent because we don't want to record it for future runs.
3050 # Also quote any args containing shell meta-characters.
3051 # Make two passes to allow for proper duplicate-argument suppression.
3055 ac_must_keep_next
=false
3061 -no-create |
--no-c* |
-n |
-no-recursion |
--no-r*) continue ;;
3062 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
3063 |
-silent |
--silent |
--silen |
--sile |
--sil)
3066 ac_arg
=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
3069 1) as_fn_append ac_configure_args0
" '$ac_arg'" ;;
3071 as_fn_append ac_configure_args1
" '$ac_arg'"
3072 if test $ac_must_keep_next = true
; then
3073 ac_must_keep_next
=false
# Got value, back to normal.
3076 *=* |
--config-cache |
-C |
-disable-* |
--disable-* \
3077 |
-enable-* |
--enable-* |
-gas |
--g* |
-nfp |
--nf* \
3078 |
-q |
-quiet |
--q* |
-silent |
--sil* |
-v |
-verb* \
3079 |
-with-* |
--with-* |
-without-* |
--without-* |
--x)
3080 case "$ac_configure_args0 " in
3081 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
3084 -* ) ac_must_keep_next
=true
;;
3087 as_fn_append ac_configure_args
" '$ac_arg'"
3092 { ac_configure_args0
=; unset ac_configure_args0
;}
3093 { ac_configure_args1
=; unset ac_configure_args1
;}
3095 # When interrupted or exit'd, cleanup temporary files, and complete
3096 # config.log. We remove comments because anyway the quotes in there
3097 # would cause problems or look ugly.
3098 # WARNING: Use '\'' to represent an apostrophe within the trap.
3099 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
3100 trap 'exit_status=$?
3101 # Save into config.log some information that might help in debugging.
3105 $as_echo "## ---------------- ##
3106 ## Cache variables. ##
3107 ## ---------------- ##"
3109 # The following way of writing the cache mishandles newlines in values,
3111 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
3112 eval ac_val=\$$ac_var
3116 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
3117 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
3120 _ | IFS | as_nl) ;; #(
3121 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
3122 *) { eval $ac_var=; unset $ac_var;} ;;
3127 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
3128 *${as_nl}ac_space=\ *)
3130 "s/'\''/'\''\\\\'\'''\''/g;
3131 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
3134 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
3141 $as_echo "## ----------------- ##
3142 ## Output variables. ##
3143 ## ----------------- ##"
3145 for ac_var in $ac_subst_vars
3147 eval ac_val=\$$ac_var
3149 *\'\''*) ac_val
=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
3151 $as_echo "$ac_var='\''$ac_val'\''"
3155 if test -n "$ac_subst_files"; then
3156 $as_echo "## ------------------- ##
3157 ## File substitutions. ##
3158 ## ------------------- ##"
3160 for ac_var
in $ac_subst_files
3162 eval ac_val
=\$
$ac_var
3164 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
3166 $as_echo "$ac_var='\''$ac_val'\''"
3171 if test -s confdefs.h; then
3172 $as_echo "## ----------- ##
3179 test "$ac_signal" != 0 &&
3180 $as_echo "$as_me: caught signal $ac_signal"
3181 $as_echo "$as_me: exit $exit_status"
3183 rm -f core *.core core.conftest.* &&
3184 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
3187 for ac_signal
in 1 2 13 15; do
3188 trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
3192 # confdefs.h avoids OS command line length limits that DEFS can exceed.
3193 rm -f -r conftest
* confdefs.h
3195 $as_echo "/* confdefs.h */" > confdefs.h
3197 # Predefined preprocessor variables.
3199 cat >>confdefs.h
<<_ACEOF
3200 #define PACKAGE_NAME "$PACKAGE_NAME"
3203 cat >>confdefs.h
<<_ACEOF
3204 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
3207 cat >>confdefs.h
<<_ACEOF
3208 #define PACKAGE_VERSION "$PACKAGE_VERSION"
3211 cat >>confdefs.h
<<_ACEOF
3212 #define PACKAGE_STRING "$PACKAGE_STRING"
3215 cat >>confdefs.h
<<_ACEOF
3216 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
3219 cat >>confdefs.h
<<_ACEOF
3220 #define PACKAGE_URL "$PACKAGE_URL"
3224 # Let the site file select an alternate cache file if it wants to.
3225 # Prefer an explicitly selected file to automatically selected ones.
3228 if test -n "$CONFIG_SITE"; then
3229 # We do not want a PATH search for config.site.
3230 case $CONFIG_SITE in #((
3231 -*) ac_site_file1
=.
/$CONFIG_SITE;;
3232 */*) ac_site_file1
=$CONFIG_SITE;;
3233 *) ac_site_file1
=.
/$CONFIG_SITE;;
3235 elif test "x$prefix" != xNONE
; then
3236 ac_site_file1
=$prefix/share
/config.site
3237 ac_site_file2
=$prefix/etc
/config.site
3239 ac_site_file1
=$ac_default_prefix/share
/config.site
3240 ac_site_file2
=$ac_default_prefix/etc
/config.site
3242 for ac_site_file
in "$ac_site_file1" "$ac_site_file2"
3244 test "x$ac_site_file" = xNONE
&& continue
3245 if test /dev
/null
!= "$ac_site_file" && test -r "$ac_site_file"; then
3246 { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
3247 $as_echo "$as_me: loading site script $ac_site_file" >&6;}
3248 sed 's/^/| /' "$ac_site_file" >&5
3250 ||
{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3251 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3252 as_fn_error $?
"failed to load site script $ac_site_file
3253 See \`config.log' for more details" "$LINENO" 5; }
3257 if test -r "$cache_file"; then
3258 # Some versions of bash will fail to source /dev/null (special files
3259 # actually), so we avoid doing that. DJGPP emulates it as a regular file.
3260 if test /dev
/null
!= "$cache_file" && test -f "$cache_file"; then
3261 { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
3262 $as_echo "$as_me: loading cache $cache_file" >&6;}
3264 [\\/]* | ?
:[\\/]* ) .
"$cache_file";;
3265 *) .
"./$cache_file";;
3269 { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
3270 $as_echo "$as_me: creating cache $cache_file" >&6;}
3274 # Check that the precious variables saved in the cache have kept the same
3276 ac_cache_corrupted
=false
3277 for ac_var
in $ac_precious_vars; do
3278 eval ac_old_set
=\
$ac_cv_env_${ac_var}_set
3279 eval ac_new_set
=\
$ac_env_${ac_var}_set
3280 eval ac_old_val
=\
$ac_cv_env_${ac_var}_value
3281 eval ac_new_val
=\
$ac_env_${ac_var}_value
3282 case $ac_old_set,$ac_new_set in
3284 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
3285 $as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
3286 ac_cache_corrupted
=: ;;
3288 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
3289 $as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
3290 ac_cache_corrupted
=: ;;
3293 if test "x$ac_old_val" != "x$ac_new_val"; then
3294 # differences in whitespace do not lead to failure.
3295 ac_old_val_w
=`echo x $ac_old_val`
3296 ac_new_val_w
=`echo x $ac_new_val`
3297 if test "$ac_old_val_w" != "$ac_new_val_w"; then
3298 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
3299 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
3300 ac_cache_corrupted
=:
3302 { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
3303 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
3304 eval $ac_var=\
$ac_old_val
3306 { $as_echo "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5
3307 $as_echo "$as_me: former value: \`$ac_old_val'" >&2;}
3308 { $as_echo "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5
3309 $as_echo "$as_me: current value: \`$ac_new_val'" >&2;}
3312 # Pass precious variables to config.status.
3313 if test "$ac_new_set" = set; then
3315 *\'*) ac_arg
=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
3316 *) ac_arg
=$ac_var=$ac_new_val ;;
3318 case " $ac_configure_args " in
3319 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
3320 *) as_fn_append ac_configure_args
" '$ac_arg'" ;;
3324 if $ac_cache_corrupted; then
3325 { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3326 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3327 { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
3328 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
3329 as_fn_error $?
"run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
3331 ## -------------------- ##
3332 ## Main body of script. ##
3333 ## -------------------- ##
3336 ac_cpp
='$CPP $CPPFLAGS'
3337 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3338 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3339 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
3343 ac_config_headers
="$ac_config_headers include/config.h"
3346 for ac_dir
in tools
"$srcdir"/tools
; do
3347 if test -f "$ac_dir/install-sh"; then
3349 ac_install_sh
="$ac_aux_dir/install-sh -c"
3351 elif test -f "$ac_dir/install.sh"; then
3353 ac_install_sh
="$ac_aux_dir/install.sh -c"
3355 elif test -f "$ac_dir/shtool"; then
3357 ac_install_sh
="$ac_aux_dir/shtool install -c"
3361 if test -z "$ac_aux_dir"; then
3362 as_fn_error $?
"cannot find install-sh, install.sh, or shtool in tools \"$srcdir\"/tools" "$LINENO" 5
3365 # These three variables are undocumented and unsupported,
3366 # and are intended to be withdrawn in a future Autoconf release.
3367 # They can cause serious problems if a builder's source tree is in a directory
3368 # whose full name contains unusual characters.
3369 ac_config_guess
="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
3370 ac_config_sub
="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
3371 ac_configure
="$SHELL $ac_aux_dir/configure" # Please don't use this var.
3375 libwine_version
="1.0"
3379 # Check whether --enable-win16 was given.
3380 if test "${enable_win16+set}" = set; then :
3381 enableval
=$enable_win16;
3384 # Check whether --enable-win64 was given.
3385 if test "${enable_win64+set}" = set; then :
3386 enableval
=$enable_win64;
3389 # Check whether --enable-tests was given.
3390 if test "${enable_tests+set}" = set; then :
3391 enableval
=$enable_tests;
3394 # Check whether --enable-maintainer-mode was given.
3395 if test "${enable_maintainer_mode+set}" = set; then :
3396 enableval
=$enable_maintainer_mode;
3401 # Check whether --with-alsa was given.
3402 if test "${with_alsa+set}" = set; then :
3403 withval
=$with_alsa; if test "x$withval" = "xno"; then ac_cv_header_sys_asoundlib_h
=no
; ac_cv_header_alsa_asoundlib_h
=no
; fi
3407 # Check whether --with-capi was given.
3408 if test "${with_capi+set}" = set; then :
3413 # Check whether --with-cms was given.
3414 if test "${with_cms+set}" = set; then :
3419 # Check whether --with-coreaudio was given.
3420 if test "${with_coreaudio+set}" = set; then :
3421 withval
=$with_coreaudio; if test "x$withval" = "xno"; then ac_cv_header_CoreAudio_CoreAudio_h
=no
; fi
3425 # Check whether --with-cups was given.
3426 if test "${with_cups+set}" = set; then :
3431 # Check whether --with-curses was given.
3432 if test "${with_curses+set}" = set; then :
3433 withval
=$with_curses; if test "x$withval" = "xno"; then ac_cv_header_ncurses_h
=no
; ac_cv_header_curses_h
=no
; fi
3437 # Check whether --with-dbus was given.
3438 if test "${with_dbus+set}" = set; then :
3443 # Check whether --with-fontconfig was given.
3444 if test "${with_fontconfig+set}" = set; then :
3445 withval
=$with_fontconfig;
3449 # Check whether --with-freetype was given.
3450 if test "${with_freetype+set}" = set; then :
3451 withval
=$with_freetype;
3455 # Check whether --with-gettext was given.
3456 if test "${with_gettext+set}" = set; then :
3457 withval
=$with_gettext;
3461 # Check whether --with-gettextpo was given.
3462 if test "${with_gettextpo+set}" = set; then :
3463 withval
=$with_gettextpo; if test "x$withval" = "xno"; then ac_cv_header_gettext_po_h
=no
; fi
3467 # Check whether --with-gphoto was given.
3468 if test "${with_gphoto+set}" = set; then :
3469 withval
=$with_gphoto;
3473 # Check whether --with-glu was given.
3474 if test "${with_glu+set}" = set; then :
3479 # Check whether --with-gnutls was given.
3480 if test "${with_gnutls+set}" = set; then :
3481 withval
=$with_gnutls;
3485 # Check whether --with-gsm was given.
3486 if test "${with_gsm+set}" = set; then :
3487 withval
=$with_gsm; if test "x$withval" = "xno"; then ac_cv_header_gsm_h
=no
; ac_cv_header_gsm_gsm_h
=no
; fi
3491 # Check whether --with-gstreamer was given.
3492 if test "${with_gstreamer+set}" = set; then :
3493 withval
=$with_gstreamer;
3497 # Check whether --with-hal was given.
3498 if test "${with_hal+set}" = set; then :
3503 # Check whether --with-jpeg was given.
3504 if test "${with_jpeg+set}" = set; then :
3509 # Check whether --with-ldap was given.
3510 if test "${with_ldap+set}" = set; then :
3511 withval
=$with_ldap; if test "x$withval" = "xno"; then ac_cv_header_ldap_h
=no
; ac_cv_header_lber_h
=no
; fi
3515 # Check whether --with-mpg123 was given.
3516 if test "${with_mpg123+set}" = set; then :
3517 withval
=$with_mpg123;
3521 # Check whether --with-netapi was given.
3522 if test "${with_netapi+set}" = set; then :
3523 withval
=$with_netapi;
3527 # Check whether --with-openal was given.
3528 if test "${with_openal+set}" = set; then :
3529 withval
=$with_openal; if test "x$withval" = "xno"; then ac_cv_header_AL_al_h
=no
; ac_cv_header_OpenAL_al_h
=no
; fi
3533 # Check whether --with-opencl was given.
3534 if test "${with_opencl+set}" = set; then :
3535 withval
=$with_opencl; if test "x$withval" = "xno"; then ac_cv_header_CL_cl_h
=no
; ac_cv_header_OpenCL_opencl_h
=no
; fi
3539 # Check whether --with-opengl was given.
3540 if test "${with_opengl+set}" = set; then :
3541 withval
=$with_opengl;
3545 # Check whether --with-osmesa was given.
3546 if test "${with_osmesa+set}" = set; then :
3547 withval
=$with_osmesa;
3551 # Check whether --with-oss was given.
3552 if test "${with_oss+set}" = set; then :
3557 # Check whether --with-pcap was given.
3558 if test "${with_pcap+set}" = set; then :
3559 withval
=$with_pcap; if test "x$withval" = "xno"; then ac_cv_header_pcap_pcap_h
=no
; fi
3563 # Check whether --with-png was given.
3564 if test "${with_png+set}" = set; then :
3569 # Check whether --with-pthread was given.
3570 if test "${with_pthread+set}" = set; then :
3571 withval
=$with_pthread; if test "x$withval" = "xno"; then ac_cv_header_pthread_h
=no
; fi
3575 # Check whether --with-pulse was given.
3576 if test "${with_pulse+set}" = set; then :
3577 withval
=$with_pulse;
3581 # Check whether --with-sane was given.
3582 if test "${with_sane+set}" = set; then :
3587 # Check whether --with-tiff was given.
3588 if test "${with_tiff+set}" = set; then :
3593 # Check whether --with-udev was given.
3594 if test "${with_udev+set}" = set; then :
3599 # Check whether --with-v4l was given.
3600 if test "${with_v4l+set}" = set; then :
3605 # Check whether --with-xcomposite was given.
3606 if test "${with_xcomposite+set}" = set; then :
3607 withval
=$with_xcomposite; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xcomposite_h
=no
; fi
3611 # Check whether --with-xcursor was given.
3612 if test "${with_xcursor+set}" = set; then :
3613 withval
=$with_xcursor; if test "x$withval" = "xno"; then ac_cv_header_X11_Xcursor_Xcursor_h
=no
; fi
3617 # Check whether --with-xinerama was given.
3618 if test "${with_xinerama+set}" = set; then :
3619 withval
=$with_xinerama; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xinerama_h
=no
; fi
3623 # Check whether --with-xinput was given.
3624 if test "${with_xinput+set}" = set; then :
3625 withval
=$with_xinput; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_XInput_h
=no
; fi
3629 # Check whether --with-xinput2 was given.
3630 if test "${with_xinput2+set}" = set; then :
3631 withval
=$with_xinput2; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_XInput2_h
=no
; fi
3635 # Check whether --with-xml was given.
3636 if test "${with_xml+set}" = set; then :
3641 # Check whether --with-xrandr was given.
3642 if test "${with_xrandr+set}" = set; then :
3643 withval
=$with_xrandr; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xrandr_h
=no
; fi
3647 # Check whether --with-xrender was given.
3648 if test "${with_xrender+set}" = set; then :
3649 withval
=$with_xrender; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xrender_h
=no
; fi
3653 # Check whether --with-xshape was given.
3654 if test "${with_xshape+set}" = set; then :
3655 withval
=$with_xshape; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_shape_h
=no
; fi
3659 # Check whether --with-xshm was given.
3660 if test "${with_xshm+set}" = set; then :
3661 withval
=$with_xshm; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_XShm_h
=no
; fi
3665 # Check whether --with-xslt was given.
3666 if test "${with_xslt+set}" = set; then :
3671 # Check whether --with-xxf86vm was given.
3672 if test "${with_xxf86vm+set}" = set; then :
3673 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
3677 # Check whether --with-zlib was given.
3678 if test "${with_zlib+set}" = set; then :
3679 withval
=$with_zlib; if test "x$withval" = "xno"; then ac_cv_header_zlib_h
=no
; fi
3684 # Check whether --with-wine-tools was given.
3685 if test "${with_wine_tools+set}" = set; then :
3686 withval
=$with_wine_tools;
3690 # Check whether --with-wine64 was given.
3691 if test "${with_wine64+set}" = set; then :
3692 withval
=$with_wine64;
3696 # Make sure we can run config.sub.
3697 $SHELL "$ac_aux_dir/config.sub" sun4
>/dev
/null
2>&1 ||
3698 as_fn_error $?
"cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
3700 { $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
3701 $as_echo_n "checking build system type... " >&6; }
3702 if ${ac_cv_build+:} false
; then :
3703 $as_echo_n "(cached) " >&6
3705 ac_build_alias
=$build_alias
3706 test "x$ac_build_alias" = x
&&
3707 ac_build_alias
=`$SHELL "$ac_aux_dir/config.guess"`
3708 test "x$ac_build_alias" = x
&&
3709 as_fn_error $?
"cannot guess build type; you must specify one" "$LINENO" 5
3710 ac_cv_build
=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
3711 as_fn_error $?
"$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
3714 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
3715 $as_echo "$ac_cv_build" >&6; }
3716 case $ac_cv_build in
3718 *) as_fn_error $?
"invalid value of canonical build" "$LINENO" 5;;
3721 ac_save_IFS
=$IFS; IFS
='-'
3727 # Remember, the first character of IFS is used to create $*,
3728 # except with old shells:
3731 case $build_os in *\
*) build_os
=`echo "$build_os" | sed 's/ /-/g'`;; esac
3734 { $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
3735 $as_echo_n "checking host system type... " >&6; }
3736 if ${ac_cv_host+:} false
; then :
3737 $as_echo_n "(cached) " >&6
3739 if test "x$host_alias" = x
; then
3740 ac_cv_host
=$ac_cv_build
3742 ac_cv_host
=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
3743 as_fn_error $?
"$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
3747 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
3748 $as_echo "$ac_cv_host" >&6; }
3751 *) as_fn_error $?
"invalid value of canonical host" "$LINENO" 5;;
3754 ac_save_IFS
=$IFS; IFS
='-'
3760 # Remember, the first character of IFS is used to create $*,
3761 # except with old shells:
3764 case $host_os in *\
*) host_os
=`echo "$host_os" | sed 's/ /-/g'`;; esac
3770 *) if test -f "$srcdir/Makefile" -o -f "$srcdir/include/config.h"; then
3771 as_fn_error $?
"you are building out of the source tree, but the source tree contains object files.
3772 You need to run 'make distclean' in the source tree first." "$LINENO" 5
3777 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
3778 $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
3780 ac_make
=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
3781 if eval \
${ac_cv_prog_make_${ac_make}_set+:} false
; then :
3782 $as_echo_n "(cached) " >&6
3784 cat >conftest.
make <<\_ACEOF
3787 @
echo '@@@%%%=$(MAKE)=@@@%%%'
3789 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
3790 case `${MAKE-make} -f conftest.make 2>/dev/null` in
3792 eval ac_cv_prog_make_
${ac_make}_set
=yes;;
3794 eval ac_cv_prog_make_
${ac_make}_set
=no
;;
3798 if eval test \
$ac_cv_prog_make_${ac_make}_set
= yes; then
3799 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3800 $as_echo "yes" >&6; }
3803 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3804 $as_echo "no" >&6; }
3805 SET_MAKE
="MAKE=${MAKE-make}"
3809 ac_cpp
='$CPP $CPPFLAGS'
3810 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3811 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3812 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
3813 if test -n "$ac_tool_prefix"; then
3814 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
3815 set dummy
${ac_tool_prefix}gcc
; ac_word
=$2
3816 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3817 $as_echo_n "checking for $ac_word... " >&6; }
3818 if ${ac_cv_prog_CC+:} false
; then :
3819 $as_echo_n "(cached) " >&6
3821 if test -n "$CC"; then
3822 ac_cv_prog_CC
="$CC" # Let the user override the test.
3824 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3828 test -z "$as_dir" && as_dir
=.
3829 for ac_exec_ext
in '' $ac_executable_extensions; do
3830 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
3831 ac_cv_prog_CC
="${ac_tool_prefix}gcc"
3832 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3842 if test -n "$CC"; then
3843 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3844 $as_echo "$CC" >&6; }
3846 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3847 $as_echo "no" >&6; }
3852 if test -z "$ac_cv_prog_CC"; then
3854 # Extract the first word of "gcc", so it can be a program name with args.
3855 set dummy gcc
; ac_word
=$2
3856 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3857 $as_echo_n "checking for $ac_word... " >&6; }
3858 if ${ac_cv_prog_ac_ct_CC+:} false
; then :
3859 $as_echo_n "(cached) " >&6
3861 if test -n "$ac_ct_CC"; then
3862 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
3864 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3868 test -z "$as_dir" && as_dir
=.
3869 for ac_exec_ext
in '' $ac_executable_extensions; do
3870 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
3871 ac_cv_prog_ac_ct_CC
="gcc"
3872 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3881 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
3882 if test -n "$ac_ct_CC"; then
3883 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3884 $as_echo "$ac_ct_CC" >&6; }
3886 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3887 $as_echo "no" >&6; }
3890 if test "x$ac_ct_CC" = x
; then
3893 case $cross_compiling:$ac_tool_warned in
3895 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3896 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3897 ac_tool_warned
=yes ;;
3905 if test -z "$CC"; then
3906 if test -n "$ac_tool_prefix"; then
3907 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
3908 set dummy
${ac_tool_prefix}cc
; ac_word
=$2
3909 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3910 $as_echo_n "checking for $ac_word... " >&6; }
3911 if ${ac_cv_prog_CC+:} false
; then :
3912 $as_echo_n "(cached) " >&6
3914 if test -n "$CC"; then
3915 ac_cv_prog_CC
="$CC" # Let the user override the test.
3917 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3921 test -z "$as_dir" && as_dir
=.
3922 for ac_exec_ext
in '' $ac_executable_extensions; do
3923 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
3924 ac_cv_prog_CC
="${ac_tool_prefix}cc"
3925 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3935 if test -n "$CC"; then
3936 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3937 $as_echo "$CC" >&6; }
3939 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3940 $as_echo "no" >&6; }
3946 if test -z "$CC"; then
3947 # Extract the first word of "cc", so it can be a program name with args.
3948 set dummy cc
; ac_word
=$2
3949 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3950 $as_echo_n "checking for $ac_word... " >&6; }
3951 if ${ac_cv_prog_CC+:} false
; then :
3952 $as_echo_n "(cached) " >&6
3954 if test -n "$CC"; then
3955 ac_cv_prog_CC
="$CC" # Let the user override the test.
3958 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3962 test -z "$as_dir" && as_dir
=.
3963 for ac_exec_ext
in '' $ac_executable_extensions; do
3964 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
3965 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
3966 ac_prog_rejected
=yes
3970 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3977 if test $ac_prog_rejected = yes; then
3978 # We found a bogon in the path, so make sure we never use it.
3979 set dummy
$ac_cv_prog_CC
3981 if test $# != 0; then
3982 # We chose a different compiler from the bogus one.
3983 # However, it has the same basename, so the bogon will be chosen
3984 # first if we set CC to just the basename; use the full file name.
3986 ac_cv_prog_CC
="$as_dir/$ac_word${1+' '}$@"
3992 if test -n "$CC"; then
3993 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3994 $as_echo "$CC" >&6; }
3996 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3997 $as_echo "no" >&6; }
4002 if test -z "$CC"; then
4003 if test -n "$ac_tool_prefix"; then
4004 for ac_prog
in cl.exe
4006 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
4007 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
4008 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4009 $as_echo_n "checking for $ac_word... " >&6; }
4010 if ${ac_cv_prog_CC+:} false
; then :
4011 $as_echo_n "(cached) " >&6
4013 if test -n "$CC"; then
4014 ac_cv_prog_CC
="$CC" # Let the user override the test.
4016 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4020 test -z "$as_dir" && as_dir
=.
4021 for ac_exec_ext
in '' $ac_executable_extensions; do
4022 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
4023 ac_cv_prog_CC
="$ac_tool_prefix$ac_prog"
4024 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4034 if test -n "$CC"; then
4035 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4036 $as_echo "$CC" >&6; }
4038 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4039 $as_echo "no" >&6; }
4043 test -n "$CC" && break
4046 if test -z "$CC"; then
4048 for ac_prog
in cl.exe
4050 # Extract the first word of "$ac_prog", so it can be a program name with args.
4051 set dummy
$ac_prog; ac_word
=$2
4052 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4053 $as_echo_n "checking for $ac_word... " >&6; }
4054 if ${ac_cv_prog_ac_ct_CC+:} false
; then :
4055 $as_echo_n "(cached) " >&6
4057 if test -n "$ac_ct_CC"; then
4058 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
4060 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4064 test -z "$as_dir" && as_dir
=.
4065 for ac_exec_ext
in '' $ac_executable_extensions; do
4066 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
4067 ac_cv_prog_ac_ct_CC
="$ac_prog"
4068 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4077 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
4078 if test -n "$ac_ct_CC"; then
4079 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
4080 $as_echo "$ac_ct_CC" >&6; }
4082 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4083 $as_echo "no" >&6; }
4087 test -n "$ac_ct_CC" && break
4090 if test "x$ac_ct_CC" = x
; then
4093 case $cross_compiling:$ac_tool_warned in
4095 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4096 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4097 ac_tool_warned
=yes ;;
4106 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4107 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4108 as_fn_error $?
"no acceptable C compiler found in \$PATH
4109 See \`config.log' for more details" "$LINENO" 5; }
4111 # Provide some information about the compiler.
4112 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
4115 for ac_option
in --version -v -V -qversion; do
4116 { { ac_try
="$ac_compiler $ac_option >&5"
4118 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
4119 *) ac_try_echo=$ac_try;;
4121 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4122 $as_echo "$ac_try_echo"; } >&5
4123 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
4125 if test -s conftest.err; then
4127 ... rest of stderr output deleted ...
4128 10q' conftest.err >conftest.er1
4129 cat conftest.er1 >&5
4131 rm -f conftest.er1 conftest.err
4132 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4133 test $ac_status = 0; }
4136 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4137 /* end confdefs.h. */
4147 ac_clean_files_save=$ac_clean_files
4148 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
4149 # Try to create an executable without -o first, disregard a.out.
4150 # It will help us diagnose broken compilers, and finding out an intuition
4152 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
4153 $as_echo_n "checking whether the C compiler works... " >&6; }
4154 ac_link_default=`$as_echo "$ac_link" |
sed 's/ -o *conftest[^ ]*//'`
4156 # The possible output files:
4157 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
4160 for ac_file in $ac_files
4163 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
4164 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
4169 if { { ac_try="$ac_link_default"
4171 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
4172 *) ac_try_echo
=$ac_try;;
4174 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4175 $as_echo "$ac_try_echo"; } >&5
4176 (eval "$ac_link_default") 2>&5
4178 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4179 test $ac_status = 0; }; then :
4180 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
4181 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
4182 # in a Makefile. We should not override ac_cv_exeext if it was cached,
4183 # so that the user can short-circuit this test for compilers unknown to
4185 for ac_file
in $ac_files ''
4187 test -f "$ac_file" ||
continue
4189 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg |
*.map |
*.inf |
*.dSYM |
*.o |
*.obj
)
4192 # We found the default executable, but exeext='' is most
4196 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no
;
4198 ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
4200 # We set ac_cv_exeext here because the later test for it is not
4201 # safe: cross compilers may not add the suffix if given an `-o'
4202 # argument, so we may need to know it at that point already.
4203 # Even if this section looks crufty: it has the advantage of
4210 test "$ac_cv_exeext" = no
&& ac_cv_exeext
=
4215 if test -z "$ac_file"; then :
4216 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4217 $as_echo "no" >&6; }
4218 $as_echo "$as_me: failed program was:" >&5
4219 sed 's/^/| /' conftest.
$ac_ext >&5
4221 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4222 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4223 as_fn_error
77 "C compiler cannot create executables
4224 See \`config.log' for more details" "$LINENO" 5; }
4226 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4227 $as_echo "yes" >&6; }
4229 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
4230 $as_echo_n "checking for C compiler default output file name... " >&6; }
4231 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
4232 $as_echo "$ac_file" >&6; }
4233 ac_exeext
=$ac_cv_exeext
4235 rm -f -r a.out a.out.dSYM a.exe conftest
$ac_cv_exeext b.out
4236 ac_clean_files
=$ac_clean_files_save
4237 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
4238 $as_echo_n "checking for suffix of executables... " >&6; }
4239 if { { ac_try
="$ac_link"
4241 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
4242 *) ac_try_echo=$ac_try;;
4244 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4245 $as_echo "$ac_try_echo"; } >&5
4246 (eval "$ac_link") 2>&5
4248 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4249 test $ac_status = 0; }; then :
4250 # If both `conftest.exe
' and `conftest' are
`present' (well, observable)
4251 # catch `conftest.exe
'. For instance with Cygwin, `ls conftest' will
4252 # work properly (i.e., refer to `conftest.exe'), while it won't with
4254 for ac_file
in conftest.exe conftest conftest.
*; do
4255 test -f "$ac_file" ||
continue
4257 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg |
*.map |
*.inf |
*.dSYM |
*.o |
*.obj
) ;;
4258 *.
* ) ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
4264 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4265 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4266 as_fn_error $?
"cannot compute suffix of executables: cannot compile and link
4267 See \`config.log' for more details" "$LINENO" 5; }
4269 rm -f conftest conftest
$ac_cv_exeext
4270 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
4271 $as_echo "$ac_cv_exeext" >&6; }
4273 rm -f conftest.
$ac_ext
4274 EXEEXT
=$ac_cv_exeext
4276 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4277 /* end confdefs.h. */
4282 FILE *f = fopen ("conftest.out", "w");
4283 return ferror (f) || fclose (f) != 0;
4289 ac_clean_files
="$ac_clean_files conftest.out"
4290 # Check that the compiler produces executables we can run. If not, either
4291 # the compiler is broken, or we cross compile.
4292 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
4293 $as_echo_n "checking whether we are cross compiling... " >&6; }
4294 if test "$cross_compiling" != yes; then
4295 { { ac_try
="$ac_link"
4297 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
4298 *) ac_try_echo=$ac_try;;
4300 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4301 $as_echo "$ac_try_echo"; } >&5
4302 (eval "$ac_link") 2>&5
4304 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4305 test $ac_status = 0; }
4306 if { ac_try='./conftest$ac_cv_exeext'
4307 { { case "(($ac_try" in
4308 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
4309 *) ac_try_echo
=$ac_try;;
4311 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4312 $as_echo "$ac_try_echo"; } >&5
4313 (eval "$ac_try") 2>&5
4315 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4316 test $ac_status = 0; }; }; then
4319 if test "$cross_compiling" = maybe
; then
4322 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4323 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4324 as_fn_error $?
"cannot run C compiled programs.
4325 If you meant to cross compile, use \`--host'.
4326 See \`config.log' for more details" "$LINENO" 5; }
4330 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
4331 $as_echo "$cross_compiling" >&6; }
4333 rm -f conftest.
$ac_ext conftest
$ac_cv_exeext conftest.out
4334 ac_clean_files
=$ac_clean_files_save
4335 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
4336 $as_echo_n "checking for suffix of object files... " >&6; }
4337 if ${ac_cv_objext+:} false
; then :
4338 $as_echo_n "(cached) " >&6
4340 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4341 /* end confdefs.h. */
4351 rm -f conftest.o conftest.obj
4352 if { { ac_try
="$ac_compile"
4354 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
4355 *) ac_try_echo=$ac_try;;
4357 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4358 $as_echo "$ac_try_echo"; } >&5
4359 (eval "$ac_compile") 2>&5
4361 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4362 test $ac_status = 0; }; then :
4363 for ac_file in conftest.o conftest.obj conftest.*; do
4364 test -f "$ac_file" || continue;
4366 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
4367 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
4372 $as_echo "$as_me: failed program was:" >&5
4373 sed 's/^/| /' conftest.$ac_ext >&5
4375 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4376 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4377 as_fn_error $? "cannot compute suffix of object files
: cannot compile
4378 See \
`config.log' for more details" "$LINENO" 5; }
4380 rm -f conftest.$ac_cv_objext conftest.$ac_ext
4382 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
4383 $as_echo "$ac_cv_objext" >&6; }
4384 OBJEXT=$ac_cv_objext
4386 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
4387 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
4388 if ${ac_cv_c_compiler_gnu+:} false; then :
4389 $as_echo_n "(cached) " >&6
4391 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4392 /* end confdefs.h. */
4405 if ac_fn_c_try_compile "$LINENO"; then :
4410 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4411 ac_cv_c_compiler_gnu=$ac_compiler_gnu
4414 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
4415 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
4416 if test $ac_compiler_gnu = yes; then
4421 ac_test_CFLAGS=${CFLAGS+set}
4422 ac_save_CFLAGS=$CFLAGS
4423 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
4424 $as_echo_n "checking whether $CC accepts -g... " >&6; }
4425 if ${ac_cv_prog_cc_g+:} false; then :
4426 $as_echo_n "(cached) " >&6
4428 ac_save_c_werror_flag=$ac_c_werror_flag
4429 ac_c_werror_flag=yes
4432 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4433 /* end confdefs.h. */
4443 if ac_fn_c_try_compile "$LINENO"; then :
4447 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4448 /* end confdefs.h. */
4458 if ac_fn_c_try_compile "$LINENO"; then :
4461 ac_c_werror_flag=$ac_save_c_werror_flag
4463 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4464 /* end confdefs.h. */
4474 if ac_fn_c_try_compile "$LINENO"; then :
4477 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4479 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4481 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4482 ac_c_werror_flag=$ac_save_c_werror_flag
4484 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
4485 $as_echo "$ac_cv_prog_cc_g" >&6; }
4486 if test "$ac_test_CFLAGS" = set; then
4487 CFLAGS=$ac_save_CFLAGS
4488 elif test $ac_cv_prog_cc_g = yes; then
4489 if test "$GCC" = yes; then
4495 if test "$GCC" = yes; then
4501 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
4502 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
4503 if ${ac_cv_prog_cc_c89+:} false; then :
4504 $as_echo_n "(cached) " >&6
4506 ac_cv_prog_cc_c89=no
4508 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4509 /* end confdefs.h. */
4513 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
4514 struct buf { int x; };
4515 FILE * (*rcsopen) (struct buf *, struct stat *, int);
4516 static char *e (p, i)
4522 static char *f (char * (*g) (char **, int), char **p, ...)
4527 s = g (p, va_arg (v,int));
4532 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
4533 function prototypes and stuff, but not '\xHH' hex character constants.
4534 These don't provoke an error unfortunately, instead are silently treated
4535 as 'x'. The following induces an error, until -std is added to get
4536 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
4537 array size at least. It's necessary to write '\x00'==0 to get something
4538 that's true only with -std. */
4539 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
4541 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
4542 inside strings and character constants. */
4544 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
4546 int test (int i, double x);
4547 struct s1 {int (*f) (int a);};
4548 struct s2 {int (*f) (double a);};
4549 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
4555 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
4560 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
4561 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
4563 CC="$ac_save_CC $ac_arg"
4564 if ac_fn_c_try_compile "$LINENO"; then :
4565 ac_cv_prog_cc_c89=$ac_arg
4567 rm -f core conftest.err conftest.$ac_objext
4568 test "x$ac_cv_prog_cc_c89" != "xno" && break
4570 rm -f conftest.$ac_ext
4575 case "x$ac_cv_prog_cc_c89" in
4577 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
4578 $as_echo "none needed" >&6; } ;;
4580 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
4581 $as_echo "unsupported" >&6; } ;;
4583 CC="$CC $ac_cv_prog_cc_c89"
4584 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
4585 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
4587 if test "x$ac_cv_prog_cc_c89" != xno; then :
4592 ac_cpp='$CPP $CPPFLAGS'
4593 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4594 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4595 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4598 ac_cpp='$CXXCPP $CPPFLAGS'
4599 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4600 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4601 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
4602 if test -z "$CXX"; then
4603 if test -n "$CCC"; then
4606 if test -n "$ac_tool_prefix"; then
4607 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
4609 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
4610 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
4611 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4612 $as_echo_n "checking for $ac_word... " >&6; }
4613 if ${ac_cv_prog_CXX+:} false; then :
4614 $as_echo_n "(cached) " >&6
4616 if test -n "$CXX"; then
4617 ac_cv_prog_CXX="$CXX" # Let the user override the test.
4619 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4623 test -z "$as_dir" && as_dir=.
4624 for ac_exec_ext in '' $ac_executable_extensions; do
4625 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4626 ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"
4627 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4637 if test -n "$CXX"; then
4638 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXX" >&5
4639 $as_echo "$CXX" >&6; }
4641 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4642 $as_echo "no" >&6; }
4646 test -n "$CXX" && break
4649 if test -z "$CXX"; then
4651 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
4653 # Extract the first word of "$ac_prog", so it can be a program name with args.
4654 set dummy $ac_prog; ac_word=$2
4655 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4656 $as_echo_n "checking for $ac_word... " >&6; }
4657 if ${ac_cv_prog_ac_ct_CXX+:} false; then :
4658 $as_echo_n "(cached) " >&6
4660 if test -n "$ac_ct_CXX"; then
4661 ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
4663 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4667 test -z "$as_dir" && as_dir=.
4668 for ac_exec_ext in '' $ac_executable_extensions; do
4669 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4670 ac_cv_prog_ac_ct_CXX="$ac_prog"
4671 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4680 ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
4681 if test -n "$ac_ct_CXX"; then
4682 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CXX" >&5
4683 $as_echo "$ac_ct_CXX" >&6; }
4685 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4686 $as_echo "no" >&6; }
4690 test -n "$ac_ct_CXX" && break
4693 if test "x$ac_ct_CXX" = x; then
4696 case $cross_compiling:$ac_tool_warned in
4698 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4699 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4700 ac_tool_warned=yes ;;
4708 # Provide some information about the compiler.
4709 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C++ compiler version" >&5
4712 for ac_option in --version -v -V -qversion; do
4713 { { ac_try="$ac_compiler $ac_option >&5"
4715 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
4716 *) ac_try_echo
=$ac_try;;
4718 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4719 $as_echo "$ac_try_echo"; } >&5
4720 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
4722 if test -s conftest.err
; then
4724 ... rest of stderr output deleted ...
4725 10q' conftest.err
>conftest.er1
4726 cat conftest.er1
>&5
4728 rm -f conftest.er1 conftest.err
4729 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4730 test $ac_status = 0; }
4733 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C++ compiler" >&5
4734 $as_echo_n "checking whether we are using the GNU C++ compiler... " >&6; }
4735 if ${ac_cv_cxx_compiler_gnu+:} false
; then :
4736 $as_echo_n "(cached) " >&6
4738 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4739 /* end confdefs.h. */
4752 if ac_fn_cxx_try_compile
"$LINENO"; then :
4757 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
4758 ac_cv_cxx_compiler_gnu
=$ac_compiler_gnu
4761 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cxx_compiler_gnu" >&5
4762 $as_echo "$ac_cv_cxx_compiler_gnu" >&6; }
4763 if test $ac_compiler_gnu = yes; then
4768 ac_test_CXXFLAGS
=${CXXFLAGS+set}
4769 ac_save_CXXFLAGS
=$CXXFLAGS
4770 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CXX accepts -g" >&5
4771 $as_echo_n "checking whether $CXX accepts -g... " >&6; }
4772 if ${ac_cv_prog_cxx_g+:} false
; then :
4773 $as_echo_n "(cached) " >&6
4775 ac_save_cxx_werror_flag
=$ac_cxx_werror_flag
4776 ac_cxx_werror_flag
=yes
4779 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4780 /* end confdefs.h. */
4790 if ac_fn_cxx_try_compile
"$LINENO"; then :
4791 ac_cv_prog_cxx_g
=yes
4794 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4795 /* end confdefs.h. */
4805 if ac_fn_cxx_try_compile
"$LINENO"; then :
4808 ac_cxx_werror_flag
=$ac_save_cxx_werror_flag
4810 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4811 /* end confdefs.h. */
4821 if ac_fn_cxx_try_compile
"$LINENO"; then :
4822 ac_cv_prog_cxx_g
=yes
4824 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
4826 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
4828 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
4829 ac_cxx_werror_flag
=$ac_save_cxx_werror_flag
4831 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cxx_g" >&5
4832 $as_echo "$ac_cv_prog_cxx_g" >&6; }
4833 if test "$ac_test_CXXFLAGS" = set; then
4834 CXXFLAGS
=$ac_save_CXXFLAGS
4835 elif test $ac_cv_prog_cxx_g = yes; then
4836 if test "$GXX" = yes; then
4842 if test "$GXX" = yes; then
4849 ac_cpp
='$CPP $CPPFLAGS'
4850 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4851 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4852 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
4854 if test -n "$ac_tool_prefix"; then
4855 # Extract the first word of "${ac_tool_prefix}cpp", so it can be a program name with args.
4856 set dummy
${ac_tool_prefix}cpp
; ac_word
=$2
4857 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4858 $as_echo_n "checking for $ac_word... " >&6; }
4859 if ${ac_cv_prog_CPPBIN+:} false
; then :
4860 $as_echo_n "(cached) " >&6
4862 if test -n "$CPPBIN"; then
4863 ac_cv_prog_CPPBIN
="$CPPBIN" # Let the user override the test.
4865 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4869 test -z "$as_dir" && as_dir
=.
4870 for ac_exec_ext
in '' $ac_executable_extensions; do
4871 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
4872 ac_cv_prog_CPPBIN
="${ac_tool_prefix}cpp"
4873 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4882 CPPBIN
=$ac_cv_prog_CPPBIN
4883 if test -n "$CPPBIN"; then
4884 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPPBIN" >&5
4885 $as_echo "$CPPBIN" >&6; }
4887 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4888 $as_echo "no" >&6; }
4893 if test -z "$ac_cv_prog_CPPBIN"; then
4894 ac_ct_CPPBIN
=$CPPBIN
4895 # Extract the first word of "cpp", so it can be a program name with args.
4896 set dummy cpp
; ac_word
=$2
4897 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4898 $as_echo_n "checking for $ac_word... " >&6; }
4899 if ${ac_cv_prog_ac_ct_CPPBIN+:} false
; then :
4900 $as_echo_n "(cached) " >&6
4902 if test -n "$ac_ct_CPPBIN"; then
4903 ac_cv_prog_ac_ct_CPPBIN
="$ac_ct_CPPBIN" # Let the user override the test.
4905 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4909 test -z "$as_dir" && as_dir
=.
4910 for ac_exec_ext
in '' $ac_executable_extensions; do
4911 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
4912 ac_cv_prog_ac_ct_CPPBIN
="cpp"
4913 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4922 ac_ct_CPPBIN
=$ac_cv_prog_ac_ct_CPPBIN
4923 if test -n "$ac_ct_CPPBIN"; then
4924 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CPPBIN" >&5
4925 $as_echo "$ac_ct_CPPBIN" >&6; }
4927 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4928 $as_echo "no" >&6; }
4931 if test "x$ac_ct_CPPBIN" = x
; then
4934 case $cross_compiling:$ac_tool_warned in
4936 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4937 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4938 ac_tool_warned
=yes ;;
4940 CPPBIN
=$ac_ct_CPPBIN
4943 CPPBIN
="$ac_cv_prog_CPPBIN"
4947 cat >>confdefs.h
<<_ACEOF
4948 #define EXEEXT "$ac_exeext"
4951 if test -n "$ac_tool_prefix"; then
4952 # Extract the first word of "${ac_tool_prefix}ld", so it can be a program name with args.
4953 set dummy
${ac_tool_prefix}ld
; ac_word
=$2
4954 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4955 $as_echo_n "checking for $ac_word... " >&6; }
4956 if ${ac_cv_prog_LD+:} false
; then :
4957 $as_echo_n "(cached) " >&6
4959 if test -n "$LD"; then
4960 ac_cv_prog_LD
="$LD" # Let the user override the test.
4962 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4966 test -z "$as_dir" && as_dir
=.
4967 for ac_exec_ext
in '' $ac_executable_extensions; do
4968 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
4969 ac_cv_prog_LD
="${ac_tool_prefix}ld"
4970 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4980 if test -n "$LD"; then
4981 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
4982 $as_echo "$LD" >&6; }
4984 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4985 $as_echo "no" >&6; }
4990 if test -z "$ac_cv_prog_LD"; then
4992 # Extract the first word of "ld", so it can be a program name with args.
4993 set dummy ld
; ac_word
=$2
4994 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4995 $as_echo_n "checking for $ac_word... " >&6; }
4996 if ${ac_cv_prog_ac_ct_LD+:} false
; then :
4997 $as_echo_n "(cached) " >&6
4999 if test -n "$ac_ct_LD"; then
5000 ac_cv_prog_ac_ct_LD
="$ac_ct_LD" # Let the user override the test.
5002 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5006 test -z "$as_dir" && as_dir
=.
5007 for ac_exec_ext
in '' $ac_executable_extensions; do
5008 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
5009 ac_cv_prog_ac_ct_LD
="ld"
5010 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5019 ac_ct_LD
=$ac_cv_prog_ac_ct_LD
5020 if test -n "$ac_ct_LD"; then
5021 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_LD" >&5
5022 $as_echo "$ac_ct_LD" >&6; }
5024 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5025 $as_echo "no" >&6; }
5028 if test "x$ac_ct_LD" = x
; then
5031 case $cross_compiling:$ac_tool_warned in
5033 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5034 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5035 ac_tool_warned
=yes ;;
5046 with_fontconfig
=${with_fontconfig:-no}
5048 *-mingw32*|
*-cygwin*)
5049 enable_win16
=${enable_win16:-no}
5050 CFLAGS
="$CFLAGS -D_WIN32"
5056 if test "x$enable_win64" != "xyes" -a "$cross_compiling" != "yes"
5060 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC works" >&5
5061 $as_echo_n "checking whether $CC works... " >&6; }
5063 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5064 /* end confdefs.h. */
5074 if ac_fn_c_try_link
"$LINENO"; then :
5075 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5076 $as_echo "yes" >&6; }
5078 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5079 $as_echo "no" >&6; }
5080 as_fn_error $?
"Cannot build a 32-bit program, you need to install 32-bit development libraries." "$LINENO" 5
5082 rm -f core conftest.err conftest.
$ac_objext \
5083 conftest
$ac_exeext conftest.
$ac_ext
5085 notice_platform
="32-bit "
5088 enable_win16
=${enable_win16:-yes}
5090 if test "x${GCC}" = "xyes"
5092 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC supports __builtin_ms_va_list" >&5
5093 $as_echo_n "checking whether $CC supports __builtin_ms_va_list... " >&6; }
5094 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5095 /* end confdefs.h. */
5100 void func(__builtin_ms_va_list *args);
5105 if ac_fn_c_try_compile
"$LINENO"; then :
5106 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5107 $as_echo "yes" >&6; }
5109 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5110 $as_echo "no" >&6; }
5111 as_fn_error $?
"You need gcc >= 4.4 or clang >= 3.8 to build Wine as 64-bit." "$LINENO" 5
5113 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
5118 notice_platform
="64-bit "
5124 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC supports Thumb" >&5
5125 $as_echo_n "checking whether $CC supports Thumb... " >&6; }
5126 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5127 /* end confdefs.h. */
5128 int ac_test(int i) { return i; }
5132 asm(".thumb\nblx ac_test\n.arm"); if (ac_test(1)) return 1
5137 if ac_fn_c_try_link
"$LINENO"; then :
5138 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5139 $as_echo "yes" >&6; }
5141 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5142 $as_echo "no" >&6; }
5143 as_fn_error $?
"You need a target with Thumb support to build Wine for ARM." "$LINENO" 5
5145 rm -f core conftest.err conftest.
$ac_objext \
5146 conftest
$ac_exeext conftest.
$ac_ext
5147 CFLAGS
="$CFLAGS -marm"
5152 enable_win16
=${enable_win16:-yes}
5156 enable_win16
=${enable_win16:-no}
5157 enable_win64
=${enable_win64:-no}
5159 enable_winetest
=${enable_winetest:-$enable_tests}
5161 if test -n "$with_wine64"
5163 if test "x$enable_win64" = "xyes"
5165 as_fn_error $?
"--enable-win64 and --with-wine64 are mutually exclusive.
5166 --enable-win64 should be used in the 64-bit build tree, --with-wine64 in the 32-bit Wow64 build tree." "$LINENO" 5
5168 test "$srcdir" != . || as_fn_error $?
"--with-wine64 cannot be used when building inside the source tree.
5169 You should create a separate build directory and run configure from there." "$LINENO" 5
5170 enable_fonts
=${enable_fonts:-no}
5171 enable_server
=${enable_server:-no}
5172 elif test "x$enable_win64" = "xyes"
5174 test "x$libdir" != "x\${exec_prefix}/lib" || libdir
="\${exec_prefix}/lib64"
5177 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for the directory containing the Wine tools" >&5
5178 $as_echo_n "checking for the directory containing the Wine tools... " >&6; }
5179 if ${wine_cv_toolsdir+:} false
; then :
5180 $as_echo_n "(cached) " >&6
5182 wine_cv_toolsdir
="$with_wine_tools"
5183 if test -z "$with_wine_tools"; then
5184 if test "$cross_compiling" = "yes"; then
5185 as_fn_error $?
"you must use the --with-wine-tools option when cross-compiling." "$LINENO" 5
5186 elif test -n "$with_wine64"; then
5187 wine_cv_toolsdir
="$with_wine64"
5190 if test -z "$wine_cv_toolsdir"; then
5191 wine_makedep
=tools
/makedep
5192 wine_cv_toolsdir
="\$(top_builddir)"
5193 elif test -d "$wine_cv_toolsdir/tools/winebuild"; then
5194 wine_makedep
=$wine_cv_toolsdir/tools
/makedep
5195 case "$wine_cv_toolsdir" in
5197 *) wine_cv_toolsdir
="\$(top_builddir)/$wine_cv_toolsdir" ;;
5199 enable_tools
=${enable_tools:-no}
5200 test -f "$wine_makedep" || as_fn_error $?
"the Wine tools have not yet been built in $wine_cv_toolsdir" "$LINENO" 5
5202 as_fn_error $?
"could not find Wine tools in $wine_cv_toolsdir" "$LINENO" 5
5205 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_toolsdir" >&5
5206 $as_echo "$wine_cv_toolsdir" >&6; }
5207 TOOLSDIR
=$wine_cv_toolsdir
5209 if test -n "$host_alias" -a "$host_alias" != "$build_alias"
5211 TARGETFLAGS
="-b $host_alias $TARGETFLAGS"
5217 # Extract the first word of "$ac_prog", so it can be a program name with args.
5218 set dummy
$ac_prog; ac_word
=$2
5219 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5220 $as_echo_n "checking for $ac_word... " >&6; }
5221 if ${ac_cv_prog_FLEX+:} false
; then :
5222 $as_echo_n "(cached) " >&6
5224 if test -n "$FLEX"; then
5225 ac_cv_prog_FLEX
="$FLEX" # Let the user override the test.
5227 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5231 test -z "$as_dir" && as_dir
=.
5232 for ac_exec_ext
in '' $ac_executable_extensions; do
5233 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
5234 ac_cv_prog_FLEX
="$ac_prog"
5235 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5244 FLEX
=$ac_cv_prog_FLEX
5245 if test -n "$FLEX"; then
5246 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $FLEX" >&5
5247 $as_echo "$FLEX" >&6; }
5249 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5250 $as_echo "no" >&6; }
5254 test -n "$FLEX" && break
5256 test -n "$FLEX" || FLEX
="none"
5258 if test "$FLEX" = "none"
5260 as_fn_error $?
"no suitable flex found. Please install the 'flex' package." "$LINENO" 5
5262 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether flex is recent enough" >&5
5263 $as_echo_n "checking whether flex is recent enough... " >&6; }
5264 cat >conftest.l
<<EOF
5266 #include "prediluvian.h"
5270 if $FLEX -t conftest.l
>/dev
/null
2>&5
5272 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5273 $as_echo "yes" >&6; }
5275 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5276 $as_echo "no" >&6; }
5277 as_fn_error $?
"Your flex version is too old. Please install flex version 2.5.33 or newer." "$LINENO" 5
5280 for ac_prog
in bison
5282 # Extract the first word of "$ac_prog", so it can be a program name with args.
5283 set dummy
$ac_prog; ac_word
=$2
5284 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5285 $as_echo_n "checking for $ac_word... " >&6; }
5286 if ${ac_cv_prog_BISON+:} false
; then :
5287 $as_echo_n "(cached) " >&6
5289 if test -n "$BISON"; then
5290 ac_cv_prog_BISON
="$BISON" # Let the user override the test.
5292 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5296 test -z "$as_dir" && as_dir
=.
5297 for ac_exec_ext
in '' $ac_executable_extensions; do
5298 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
5299 ac_cv_prog_BISON
="$ac_prog"
5300 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5309 BISON
=$ac_cv_prog_BISON
5310 if test -n "$BISON"; then
5311 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $BISON" >&5
5312 $as_echo "$BISON" >&6; }
5314 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5315 $as_echo "no" >&6; }
5319 test -n "$BISON" && break
5321 test -n "$BISON" || BISON
="none"
5323 if test "$BISON" = "none"
5325 as_fn_error $?
"no suitable bison found. Please install the 'bison' package." "$LINENO" 5
5328 if test -n "$ac_tool_prefix"; then
5329 for ac_prog
in ar gar
5331 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
5332 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
5333 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5334 $as_echo_n "checking for $ac_word... " >&6; }
5335 if ${ac_cv_prog_AR+:} false
; then :
5336 $as_echo_n "(cached) " >&6
5338 if test -n "$AR"; then
5339 ac_cv_prog_AR
="$AR" # Let the user override the test.
5341 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5345 test -z "$as_dir" && as_dir
=.
5346 for ac_exec_ext
in '' $ac_executable_extensions; do
5347 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
5348 ac_cv_prog_AR
="$ac_tool_prefix$ac_prog"
5349 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5359 if test -n "$AR"; then
5360 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
5361 $as_echo "$AR" >&6; }
5363 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5364 $as_echo "no" >&6; }
5368 test -n "$AR" && break
5371 if test -z "$AR"; then
5373 for ac_prog
in ar gar
5375 # Extract the first word of "$ac_prog", so it can be a program name with args.
5376 set dummy
$ac_prog; ac_word
=$2
5377 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5378 $as_echo_n "checking for $ac_word... " >&6; }
5379 if ${ac_cv_prog_ac_ct_AR+:} false
; then :
5380 $as_echo_n "(cached) " >&6
5382 if test -n "$ac_ct_AR"; then
5383 ac_cv_prog_ac_ct_AR
="$ac_ct_AR" # Let the user override the test.
5385 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5389 test -z "$as_dir" && as_dir
=.
5390 for ac_exec_ext
in '' $ac_executable_extensions; do
5391 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
5392 ac_cv_prog_ac_ct_AR
="$ac_prog"
5393 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5402 ac_ct_AR
=$ac_cv_prog_ac_ct_AR
5403 if test -n "$ac_ct_AR"; then
5404 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5
5405 $as_echo "$ac_ct_AR" >&6; }
5407 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5408 $as_echo "no" >&6; }
5412 test -n "$ac_ct_AR" && break
5415 if test "x$ac_ct_AR" = x
; then
5418 case $cross_compiling:$ac_tool_warned in
5420 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5421 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5422 ac_tool_warned
=yes ;;
5428 if test -n "$ac_tool_prefix"; then
5429 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
5430 set dummy
${ac_tool_prefix}strip
; ac_word
=$2
5431 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5432 $as_echo_n "checking for $ac_word... " >&6; }
5433 if ${ac_cv_prog_STRIP+:} false
; then :
5434 $as_echo_n "(cached) " >&6
5436 if test -n "$STRIP"; then
5437 ac_cv_prog_STRIP
="$STRIP" # Let the user override the test.
5439 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5443 test -z "$as_dir" && as_dir
=.
5444 for ac_exec_ext
in '' $ac_executable_extensions; do
5445 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
5446 ac_cv_prog_STRIP
="${ac_tool_prefix}strip"
5447 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5456 STRIP
=$ac_cv_prog_STRIP
5457 if test -n "$STRIP"; then
5458 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
5459 $as_echo "$STRIP" >&6; }
5461 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5462 $as_echo "no" >&6; }
5467 if test -z "$ac_cv_prog_STRIP"; then
5469 # Extract the first word of "strip", so it can be a program name with args.
5470 set dummy strip
; ac_word
=$2
5471 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5472 $as_echo_n "checking for $ac_word... " >&6; }
5473 if ${ac_cv_prog_ac_ct_STRIP+:} false
; then :
5474 $as_echo_n "(cached) " >&6
5476 if test -n "$ac_ct_STRIP"; then
5477 ac_cv_prog_ac_ct_STRIP
="$ac_ct_STRIP" # Let the user override the test.
5479 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5483 test -z "$as_dir" && as_dir
=.
5484 for ac_exec_ext
in '' $ac_executable_extensions; do
5485 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
5486 ac_cv_prog_ac_ct_STRIP
="strip"
5487 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5496 ac_ct_STRIP
=$ac_cv_prog_ac_ct_STRIP
5497 if test -n "$ac_ct_STRIP"; then
5498 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
5499 $as_echo "$ac_ct_STRIP" >&6; }
5501 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5502 $as_echo "no" >&6; }
5505 if test "x$ac_ct_STRIP" = x
; then
5508 case $cross_compiling:$ac_tool_warned in
5510 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5511 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5512 ac_tool_warned
=yes ;;
5517 STRIP
="$ac_cv_prog_STRIP"
5522 if test -n "$ac_tool_prefix"; then
5523 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
5524 set dummy
${ac_tool_prefix}ranlib
; ac_word
=$2
5525 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5526 $as_echo_n "checking for $ac_word... " >&6; }
5527 if ${ac_cv_prog_RANLIB+:} false
; then :
5528 $as_echo_n "(cached) " >&6
5530 if test -n "$RANLIB"; then
5531 ac_cv_prog_RANLIB
="$RANLIB" # Let the user override the test.
5533 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5537 test -z "$as_dir" && as_dir
=.
5538 for ac_exec_ext
in '' $ac_executable_extensions; do
5539 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
5540 ac_cv_prog_RANLIB
="${ac_tool_prefix}ranlib"
5541 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5550 RANLIB
=$ac_cv_prog_RANLIB
5551 if test -n "$RANLIB"; then
5552 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
5553 $as_echo "$RANLIB" >&6; }
5555 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5556 $as_echo "no" >&6; }
5561 if test -z "$ac_cv_prog_RANLIB"; then
5562 ac_ct_RANLIB
=$RANLIB
5563 # Extract the first word of "ranlib", so it can be a program name with args.
5564 set dummy ranlib
; ac_word
=$2
5565 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5566 $as_echo_n "checking for $ac_word... " >&6; }
5567 if ${ac_cv_prog_ac_ct_RANLIB+:} false
; then :
5568 $as_echo_n "(cached) " >&6
5570 if test -n "$ac_ct_RANLIB"; then
5571 ac_cv_prog_ac_ct_RANLIB
="$ac_ct_RANLIB" # Let the user override the test.
5573 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5577 test -z "$as_dir" && as_dir
=.
5578 for ac_exec_ext
in '' $ac_executable_extensions; do
5579 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
5580 ac_cv_prog_ac_ct_RANLIB
="ranlib"
5581 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5590 ac_ct_RANLIB
=$ac_cv_prog_ac_ct_RANLIB
5591 if test -n "$ac_ct_RANLIB"; then
5592 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
5593 $as_echo "$ac_ct_RANLIB" >&6; }
5595 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5596 $as_echo "no" >&6; }
5599 if test "x$ac_ct_RANLIB" = x
; then
5602 case $cross_compiling:$ac_tool_warned in
5604 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5605 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5606 ac_tool_warned
=yes ;;
5608 RANLIB
=$ac_ct_RANLIB
5611 RANLIB
="$ac_cv_prog_RANLIB"
5614 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5
5615 $as_echo_n "checking whether ln -s works... " >&6; }
5617 if test "$LN_S" = "ln -s"; then
5618 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5619 $as_echo "yes" >&6; }
5621 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5
5622 $as_echo "no, using $LN_S" >&6; }
5625 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
5626 $as_echo_n "checking for grep that handles long lines and -e... " >&6; }
5627 if ${ac_cv_path_GREP+:} false
; then :
5628 $as_echo_n "(cached) " >&6
5630 if test -z "$GREP"; then
5631 ac_path_GREP_found
=false
5632 # Loop through the user's path and test for each of PROGNAME-LIST
5633 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5634 for as_dir
in $PATH$PATH_SEPARATOR/usr
/xpg
4/bin
5637 test -z "$as_dir" && as_dir
=.
5638 for ac_prog
in grep ggrep
; do
5639 for ac_exec_ext
in '' $ac_executable_extensions; do
5640 ac_path_GREP
="$as_dir/$ac_prog$ac_exec_ext"
5641 as_fn_executable_p
"$ac_path_GREP" ||
continue
5642 # Check for GNU ac_path_GREP and select it if it is found.
5643 # Check for GNU $ac_path_GREP
5644 case `"$ac_path_GREP" --version 2>&1` in
5646 ac_cv_path_GREP
="$ac_path_GREP" ac_path_GREP_found
=:;;
5649 $as_echo_n 0123456789 >"conftest.in"
5652 cat "conftest.in" "conftest.in" >"conftest.tmp"
5653 mv "conftest.tmp" "conftest.in"
5654 cp "conftest.in" "conftest.nl"
5655 $as_echo 'GREP' >> "conftest.nl"
5656 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev
/null ||
break
5657 diff "conftest.out" "conftest.nl" >/dev
/null
2>&1 ||
break
5658 as_fn_arith
$ac_count + 1 && ac_count
=$as_val
5659 if test $ac_count -gt ${ac_path_GREP_max-0}; then
5660 # Best one so far, save it but keep looking for a better one
5661 ac_cv_path_GREP
="$ac_path_GREP"
5662 ac_path_GREP_max
=$ac_count
5664 # 10*(2^10) chars as input seems more than enough
5665 test $ac_count -gt 10 && break
5667 rm -f conftest.
in conftest.tmp conftest.
nl conftest.out
;;
5670 $ac_path_GREP_found && break 3
5675 if test -z "$ac_cv_path_GREP"; then
5676 as_fn_error $?
"no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
5679 ac_cv_path_GREP
=$GREP
5683 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
5684 $as_echo "$ac_cv_path_GREP" >&6; }
5685 GREP
="$ac_cv_path_GREP"
5688 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
5689 $as_echo_n "checking for egrep... " >&6; }
5690 if ${ac_cv_path_EGREP+:} false
; then :
5691 $as_echo_n "(cached) " >&6
5693 if echo a |
$GREP -E '(a|b)' >/dev
/null
2>&1
5694 then ac_cv_path_EGREP
="$GREP -E"
5696 if test -z "$EGREP"; then
5697 ac_path_EGREP_found
=false
5698 # Loop through the user's path and test for each of PROGNAME-LIST
5699 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5700 for as_dir
in $PATH$PATH_SEPARATOR/usr
/xpg
4/bin
5703 test -z "$as_dir" && as_dir
=.
5704 for ac_prog
in egrep; do
5705 for ac_exec_ext
in '' $ac_executable_extensions; do
5706 ac_path_EGREP
="$as_dir/$ac_prog$ac_exec_ext"
5707 as_fn_executable_p
"$ac_path_EGREP" ||
continue
5708 # Check for GNU ac_path_EGREP and select it if it is found.
5709 # Check for GNU $ac_path_EGREP
5710 case `"$ac_path_EGREP" --version 2>&1` in
5712 ac_cv_path_EGREP
="$ac_path_EGREP" ac_path_EGREP_found
=:;;
5715 $as_echo_n 0123456789 >"conftest.in"
5718 cat "conftest.in" "conftest.in" >"conftest.tmp"
5719 mv "conftest.tmp" "conftest.in"
5720 cp "conftest.in" "conftest.nl"
5721 $as_echo 'EGREP' >> "conftest.nl"
5722 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev
/null ||
break
5723 diff "conftest.out" "conftest.nl" >/dev
/null
2>&1 ||
break
5724 as_fn_arith
$ac_count + 1 && ac_count
=$as_val
5725 if test $ac_count -gt ${ac_path_EGREP_max-0}; then
5726 # Best one so far, save it but keep looking for a better one
5727 ac_cv_path_EGREP
="$ac_path_EGREP"
5728 ac_path_EGREP_max
=$ac_count
5730 # 10*(2^10) chars as input seems more than enough
5731 test $ac_count -gt 10 && break
5733 rm -f conftest.
in conftest.tmp conftest.
nl conftest.out
;;
5736 $ac_path_EGREP_found && break 3
5741 if test -z "$ac_cv_path_EGREP"; then
5742 as_fn_error $?
"no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
5745 ac_cv_path_EGREP
=$EGREP
5750 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
5751 $as_echo "$ac_cv_path_EGREP" >&6; }
5752 EGREP
="$ac_cv_path_EGREP"
5755 # Extract the first word of "ldconfig", so it can be a program name with args.
5756 set dummy ldconfig
; ac_word
=$2
5757 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5758 $as_echo_n "checking for $ac_word... " >&6; }
5759 if ${ac_cv_path_LDCONFIG+:} false
; then :
5760 $as_echo_n "(cached) " >&6
5764 ac_cv_path_LDCONFIG
="$LDCONFIG" # Let the user override the test with a path.
5767 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5768 for as_dir
in /sbin
/usr
/sbin
$PATH
5771 test -z "$as_dir" && as_dir
=.
5772 for ac_exec_ext
in '' $ac_executable_extensions; do
5773 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
5774 ac_cv_path_LDCONFIG
="$as_dir/$ac_word$ac_exec_ext"
5775 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5782 test -z "$ac_cv_path_LDCONFIG" && ac_cv_path_LDCONFIG
="true"
5786 LDCONFIG
=$ac_cv_path_LDCONFIG
5787 if test -n "$LDCONFIG"; then
5788 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LDCONFIG" >&5
5789 $as_echo "$LDCONFIG" >&6; }
5791 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5792 $as_echo "no" >&6; }
5796 for ac_prog
in msgfmt
5798 # Extract the first word of "$ac_prog", so it can be a program name with args.
5799 set dummy
$ac_prog; ac_word
=$2
5800 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5801 $as_echo_n "checking for $ac_word... " >&6; }
5802 if ${ac_cv_prog_MSGFMT+:} false
; then :
5803 $as_echo_n "(cached) " >&6
5805 if test -n "$MSGFMT"; then
5806 ac_cv_prog_MSGFMT
="$MSGFMT" # Let the user override the test.
5808 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5812 test -z "$as_dir" && as_dir
=.
5813 for ac_exec_ext
in '' $ac_executable_extensions; do
5814 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
5815 ac_cv_prog_MSGFMT
="$ac_prog"
5816 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5825 MSGFMT
=$ac_cv_prog_MSGFMT
5826 if test -n "$MSGFMT"; then
5827 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MSGFMT" >&5
5828 $as_echo "$MSGFMT" >&6; }
5830 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5831 $as_echo "no" >&6; }
5835 test -n "$MSGFMT" && break
5837 test -n "$MSGFMT" || MSGFMT
="false"
5839 if ${ac_tool_prefix+:} false
; then :
5840 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
5841 set dummy
${ac_tool_prefix}pkg-config
; ac_word
=$2
5842 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5843 $as_echo_n "checking for $ac_word... " >&6; }
5844 if ${ac_cv_prog_PKG_CONFIG+:} false
; then :
5845 $as_echo_n "(cached) " >&6
5847 if test -n "$PKG_CONFIG"; then
5848 ac_cv_prog_PKG_CONFIG
="$PKG_CONFIG" # Let the user override the test.
5850 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5854 test -z "$as_dir" && as_dir
=.
5855 for ac_exec_ext
in '' $ac_executable_extensions; do
5856 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
5857 ac_cv_prog_PKG_CONFIG
="${ac_tool_prefix}pkg-config"
5858 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5867 PKG_CONFIG
=$ac_cv_prog_PKG_CONFIG
5868 if test -n "$PKG_CONFIG"; then
5869 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
5870 $as_echo "$PKG_CONFIG" >&6; }
5872 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5873 $as_echo "no" >&6; }
5878 if ${ac_cv_prog_PKG_CONFIG:+false} :; then :
5879 if test "x$cross_compiling" = xyes
; then :
5882 { ac_cv_prog_PKG_CONFIG
=; unset ac_cv_prog_PKG_CONFIG
;}
5883 # Extract the first word of "pkg-config", so it can be a program name with args.
5884 set dummy pkg-config
; ac_word
=$2
5885 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5886 $as_echo_n "checking for $ac_word... " >&6; }
5887 if ${ac_cv_prog_PKG_CONFIG+:} false
; then :
5888 $as_echo_n "(cached) " >&6
5890 if test -n "$PKG_CONFIG"; then
5891 ac_cv_prog_PKG_CONFIG
="$PKG_CONFIG" # Let the user override the test.
5893 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5897 test -z "$as_dir" && as_dir
=.
5898 for ac_exec_ext
in '' $ac_executable_extensions; do
5899 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
5900 ac_cv_prog_PKG_CONFIG
="pkg-config"
5901 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5910 PKG_CONFIG
=$ac_cv_prog_PKG_CONFIG
5911 if test -n "$PKG_CONFIG"; then
5912 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
5913 $as_echo "$PKG_CONFIG" >&6; }
5915 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5916 $as_echo "no" >&6; }
5922 PKG_CONFIG
=$ac_cv_prog_PKG_CONFIG
5925 if test "x$enable_maintainer_mode" != "xyes"
5932 test "$srcdir" = . || as_fn_error $?
"Maintainer mode cannot work out of tree." "$LINENO" 5
5933 for ac_prog
in fontforge
5935 # Extract the first word of "$ac_prog", so it can be a program name with args.
5936 set dummy
$ac_prog; ac_word
=$2
5937 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5938 $as_echo_n "checking for $ac_word... " >&6; }
5939 if ${ac_cv_prog_FONTFORGE+:} false
; then :
5940 $as_echo_n "(cached) " >&6
5942 if test -n "$FONTFORGE"; then
5943 ac_cv_prog_FONTFORGE
="$FONTFORGE" # Let the user override the test.
5945 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5949 test -z "$as_dir" && as_dir
=.
5950 for ac_exec_ext
in '' $ac_executable_extensions; do
5951 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
5952 ac_cv_prog_FONTFORGE
="$ac_prog"
5953 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5962 FONTFORGE
=$ac_cv_prog_FONTFORGE
5963 if test -n "$FONTFORGE"; then
5964 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $FONTFORGE" >&5
5965 $as_echo "$FONTFORGE" >&6; }
5967 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5968 $as_echo "no" >&6; }
5972 test -n "$FONTFORGE" && break
5974 test -n "$FONTFORGE" || FONTFORGE
="false"
5976 for ac_prog
in rsvg-convert rsvg
5978 # Extract the first word of "$ac_prog", so it can be a program name with args.
5979 set dummy
$ac_prog; ac_word
=$2
5980 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5981 $as_echo_n "checking for $ac_word... " >&6; }
5982 if ${ac_cv_prog_RSVG+:} false
; then :
5983 $as_echo_n "(cached) " >&6
5985 if test -n "$RSVG"; then
5986 ac_cv_prog_RSVG
="$RSVG" # Let the user override the test.
5988 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5992 test -z "$as_dir" && as_dir
=.
5993 for ac_exec_ext
in '' $ac_executable_extensions; do
5994 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
5995 ac_cv_prog_RSVG
="$ac_prog"
5996 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6005 RSVG
=$ac_cv_prog_RSVG
6006 if test -n "$RSVG"; then
6007 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RSVG" >&5
6008 $as_echo "$RSVG" >&6; }
6010 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6011 $as_echo "no" >&6; }
6015 test -n "$RSVG" && break
6017 test -n "$RSVG" || RSVG
="false"
6019 for ac_prog
in convert
6021 # Extract the first word of "$ac_prog", so it can be a program name with args.
6022 set dummy
$ac_prog; ac_word
=$2
6023 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6024 $as_echo_n "checking for $ac_word... " >&6; }
6025 if ${ac_cv_prog_CONVERT+:} false
; then :
6026 $as_echo_n "(cached) " >&6
6028 if test -n "$CONVERT"; then
6029 ac_cv_prog_CONVERT
="$CONVERT" # Let the user override the test.
6031 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6035 test -z "$as_dir" && as_dir
=.
6036 for ac_exec_ext
in '' $ac_executable_extensions; do
6037 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
6038 ac_cv_prog_CONVERT
="$ac_prog"
6039 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6048 CONVERT
=$ac_cv_prog_CONVERT
6049 if test -n "$CONVERT"; then
6050 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CONVERT" >&5
6051 $as_echo "$CONVERT" >&6; }
6053 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6054 $as_echo "no" >&6; }
6058 test -n "$CONVERT" && break
6060 test -n "$CONVERT" || CONVERT
="false"
6062 for ac_prog
in icotool
6064 # Extract the first word of "$ac_prog", so it can be a program name with args.
6065 set dummy
$ac_prog; ac_word
=$2
6066 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6067 $as_echo_n "checking for $ac_word... " >&6; }
6068 if ${ac_cv_prog_ICOTOOL+:} false
; then :
6069 $as_echo_n "(cached) " >&6
6071 if test -n "$ICOTOOL"; then
6072 ac_cv_prog_ICOTOOL
="$ICOTOOL" # Let the user override the test.
6074 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6078 test -z "$as_dir" && as_dir
=.
6079 for ac_exec_ext
in '' $ac_executable_extensions; do
6080 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
6081 ac_cv_prog_ICOTOOL
="$ac_prog"
6082 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6091 ICOTOOL
=$ac_cv_prog_ICOTOOL
6092 if test -n "$ICOTOOL"; then
6093 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ICOTOOL" >&5
6094 $as_echo "$ICOTOOL" >&6; }
6096 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6097 $as_echo "no" >&6; }
6101 test -n "$ICOTOOL" && break
6103 test -n "$ICOTOOL" || ICOTOOL
="false"
6105 test "$FONTFORGE" != "false" || as_fn_error $?
"You need fontforge to rebuild fonts in maintainer mode." "$LINENO" 5
6106 test "$RSVG" != "false" || as_fn_error $?
"You need rsvg to rebuild icons in maintainer mode." "$LINENO" 5
6108 if test "$CONVERT" = false
6110 as_fn_error $?
"You need imagemagick to rebuild icons in maintainer mode." "$LINENO" 5
6112 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for recent enough imagemagick" >&5
6113 $as_echo_n "checking for recent enough imagemagick... " >&6; }
6114 convert_version
=`convert --version | head -n1`
6115 if test "x$convert_version" != "x"
6117 convert_version_major
=`expr "$convert_version" : '.* \([0-9]*\)\.[0-9]*'`
6118 convert_version_minor
=`expr "$convert_version" : '.* [0-9]*\.\([0-9]*\)'`
6119 if test "$convert_version_major" -eq 6 -a "$convert_version_minor" -lt 6
6124 if test "$CONVERT" = false
6126 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no ($convert_version_major.$convert_version_minor)" >&5
6127 $as_echo "no ($convert_version_major.$convert_version_minor)" >&6; }
6128 as_fn_error $?
"You need imagemagick version 6.6 or newer to rebuild icons in maintainer mode." "$LINENO" 5
6130 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes ($convert_version_major.$convert_version_minor)" >&5
6131 $as_echo "yes ($convert_version_major.$convert_version_minor)" >&6; }
6135 if test "$ICOTOOL" = false
6137 as_fn_error $?
"You need icotool to rebuild icons in maintainer mode." "$LINENO" 5
6139 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for recent enough icotool" >&5
6140 $as_echo_n "checking for recent enough icotool... " >&6; }
6141 icotool_version
=`icotool --version | head -n1`
6142 if test "x$icotool_version" != "x"
6144 icotool_version_major
=`expr "$icotool_version" : '.* \([0-9]*\)\.[0-9]*'`
6145 icotool_version_minor
=`expr "$icotool_version" : '.* [0-9]*\.\([0-9]*\)'`
6146 if test "$icotool_version_major" -eq 0 -a "$icotool_version_minor" -lt 29
6149 as_fn_append wine_warnings
"|icotool version 0.29.0 or newer is needed to rebuild icons."
6152 if test "$ICOTOOL" = false
6154 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no ($icotool_version_major.$icotool_version_minor)" >&5
6155 $as_echo "no ($icotool_version_major.$icotool_version_minor)" >&6; }
6156 as_fn_error $?
"You need icotool version 0.29.0 or newer to rebuild icons in maintainer mode." "$LINENO" 5
6158 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes ($icotool_version_major.$icotool_version_minor)" >&5
6159 $as_echo "yes ($icotool_version_major.$icotool_version_minor)" >&6; }
6165 { ac_cv_header_gettext_po_h
=; unset ac_cv_header_gettext_po_h
;}
6168 test "x$with_gettext" != xno || MSGFMT
=false
6169 if test "$MSGFMT" != "false"
6171 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether msgfmt supports contexts" >&5
6172 $as_echo_n "checking whether msgfmt supports contexts... " >&6; }
6173 cat >conftest.po
<<EOF
6179 if $MSGFMT -o /dev
/null conftest.po
2>&5
6181 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
6182 $as_echo "yes" >&6; }
6184 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6185 $as_echo "no" >&6; }
6189 if test "$MSGFMT" = false
; then :
6190 case "x$with_gettext" in
6191 x
) as_fn_append wine_warnings
"|gettext tools not found (or too old), translations won't be built." ;;
6193 *) as_fn_error $?
"gettext tools not found (or too old), translations won't be built.
6194 This is an error since --with-gettext was requested." "$LINENO" 5 ;;
6196 enable_po
=${enable_po:-no}
6200 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for i386_set_ldt in -li386" >&5
6201 $as_echo_n "checking for i386_set_ldt in -li386... " >&6; }
6202 if ${ac_cv_lib_i386_i386_set_ldt+:} false
; then :
6203 $as_echo_n "(cached) " >&6
6205 ac_check_lib_save_LIBS
=$LIBS
6207 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6208 /* end confdefs.h. */
6210 /* Override any GCC internal prototype to avoid an error.
6211 Use char because int might match the return type of a GCC
6212 builtin and then its argument prototype would still apply. */
6216 char i386_set_ldt ();
6220 return i386_set_ldt ();
6225 if ac_fn_c_try_link
"$LINENO"; then :
6226 ac_cv_lib_i386_i386_set_ldt
=yes
6228 ac_cv_lib_i386_i386_set_ldt
=no
6230 rm -f core conftest.err conftest.
$ac_objext \
6231 conftest
$ac_exeext conftest.
$ac_ext
6232 LIBS
=$ac_check_lib_save_LIBS
6234 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_i386_i386_set_ldt" >&5
6235 $as_echo "$ac_cv_lib_i386_i386_set_ldt" >&6; }
6236 if test "x$ac_cv_lib_i386_i386_set_ldt" = xyes
; then :
6237 cat >>confdefs.h
<<_ACEOF
6238 #define HAVE_LIBI386 1
6245 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _oss_ioctl in -lossaudio" >&5
6246 $as_echo_n "checking for _oss_ioctl in -lossaudio... " >&6; }
6247 if ${ac_cv_lib_ossaudio__oss_ioctl+:} false
; then :
6248 $as_echo_n "(cached) " >&6
6250 ac_check_lib_save_LIBS
=$LIBS
6251 LIBS
="-lossaudio $LIBS"
6252 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6253 /* end confdefs.h. */
6255 /* Override any GCC internal prototype to avoid an error.
6256 Use char because int might match the return type of a GCC
6257 builtin and then its argument prototype would still apply. */
6265 return _oss_ioctl ();
6270 if ac_fn_c_try_link
"$LINENO"; then :
6271 ac_cv_lib_ossaudio__oss_ioctl
=yes
6273 ac_cv_lib_ossaudio__oss_ioctl
=no
6275 rm -f core conftest.err conftest.
$ac_objext \
6276 conftest
$ac_exeext conftest.
$ac_ext
6277 LIBS
=$ac_check_lib_save_LIBS
6279 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ossaudio__oss_ioctl" >&5
6280 $as_echo "$ac_cv_lib_ossaudio__oss_ioctl" >&6; }
6281 if test "x$ac_cv_lib_ossaudio__oss_ioctl" = xyes
; then :
6282 cat >>confdefs.h
<<_ACEOF
6283 #define HAVE_LIBOSSAUDIO 1
6286 LIBS
="-lossaudio $LIBS"
6295 # Check whether --enable-largefile was given.
6296 if test "${enable_largefile+set}" = set; then :
6297 enableval
=$enable_largefile;
6300 if test "$enable_largefile" != no
; then
6302 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for special C compiler options needed for large files" >&5
6303 $as_echo_n "checking for special C compiler options needed for large files... " >&6; }
6304 if ${ac_cv_sys_largefile_CC+:} false
; then :
6305 $as_echo_n "(cached) " >&6
6307 ac_cv_sys_largefile_CC
=no
6308 if test "$GCC" != yes; then
6311 # IRIX 6.2 and later do not support large files by default,
6312 # so use the C compiler's -n32 option if that helps.
6313 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6314 /* end confdefs.h. */
6315 #include <sys/types.h>
6316 /* Check that off_t can represent 2**63 - 1 correctly.
6317 We can't simply define LARGE_OFF_T to be 9223372036854775807,
6318 since some C++ compilers masquerading as C compilers
6319 incorrectly reject 9223372036854775807. */
6320 #define LARGE_OFF_T ((((off_t) 1 << 31) << 31) - 1 + (((off_t) 1 << 31) << 31))
6321 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
6322 && LARGE_OFF_T % 2147483647 == 1)
6332 if ac_fn_c_try_compile
"$LINENO"; then :
6335 rm -f core conftest.err conftest.
$ac_objext
6337 if ac_fn_c_try_compile
"$LINENO"; then :
6338 ac_cv_sys_largefile_CC
=' -n32'; break
6340 rm -f core conftest.err conftest.
$ac_objext
6344 rm -f conftest.
$ac_ext
6347 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_largefile_CC" >&5
6348 $as_echo "$ac_cv_sys_largefile_CC" >&6; }
6349 if test "$ac_cv_sys_largefile_CC" != no
; then
6350 CC
=$CC$ac_cv_sys_largefile_CC
6353 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _FILE_OFFSET_BITS value needed for large files" >&5
6354 $as_echo_n "checking for _FILE_OFFSET_BITS value needed for large files... " >&6; }
6355 if ${ac_cv_sys_file_offset_bits+:} false
; then :
6356 $as_echo_n "(cached) " >&6
6359 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6360 /* end confdefs.h. */
6361 #include <sys/types.h>
6362 /* Check that off_t can represent 2**63 - 1 correctly.
6363 We can't simply define LARGE_OFF_T to be 9223372036854775807,
6364 since some C++ compilers masquerading as C compilers
6365 incorrectly reject 9223372036854775807. */
6366 #define LARGE_OFF_T ((((off_t) 1 << 31) << 31) - 1 + (((off_t) 1 << 31) << 31))
6367 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
6368 && LARGE_OFF_T % 2147483647 == 1)
6378 if ac_fn_c_try_compile
"$LINENO"; then :
6379 ac_cv_sys_file_offset_bits
=no
; break
6381 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
6382 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6383 /* end confdefs.h. */
6384 #define _FILE_OFFSET_BITS 64
6385 #include <sys/types.h>
6386 /* Check that off_t can represent 2**63 - 1 correctly.
6387 We can't simply define LARGE_OFF_T to be 9223372036854775807,
6388 since some C++ compilers masquerading as C compilers
6389 incorrectly reject 9223372036854775807. */
6390 #define LARGE_OFF_T ((((off_t) 1 << 31) << 31) - 1 + (((off_t) 1 << 31) << 31))
6391 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
6392 && LARGE_OFF_T % 2147483647 == 1)
6402 if ac_fn_c_try_compile
"$LINENO"; then :
6403 ac_cv_sys_file_offset_bits
=64; break
6405 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
6406 ac_cv_sys_file_offset_bits
=unknown
6410 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_file_offset_bits" >&5
6411 $as_echo "$ac_cv_sys_file_offset_bits" >&6; }
6412 case $ac_cv_sys_file_offset_bits in #(
6415 cat >>confdefs.h
<<_ACEOF
6416 #define _FILE_OFFSET_BITS $ac_cv_sys_file_offset_bits
6421 if test $ac_cv_sys_file_offset_bits = unknown
; then
6422 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _LARGE_FILES value needed for large files" >&5
6423 $as_echo_n "checking for _LARGE_FILES value needed for large files... " >&6; }
6424 if ${ac_cv_sys_large_files+:} false
; then :
6425 $as_echo_n "(cached) " >&6
6428 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6429 /* end confdefs.h. */
6430 #include <sys/types.h>
6431 /* Check that off_t can represent 2**63 - 1 correctly.
6432 We can't simply define LARGE_OFF_T to be 9223372036854775807,
6433 since some C++ compilers masquerading as C compilers
6434 incorrectly reject 9223372036854775807. */
6435 #define LARGE_OFF_T ((((off_t) 1 << 31) << 31) - 1 + (((off_t) 1 << 31) << 31))
6436 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
6437 && LARGE_OFF_T % 2147483647 == 1)
6447 if ac_fn_c_try_compile
"$LINENO"; then :
6448 ac_cv_sys_large_files
=no
; break
6450 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
6451 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6452 /* end confdefs.h. */
6453 #define _LARGE_FILES 1
6454 #include <sys/types.h>
6455 /* Check that off_t can represent 2**63 - 1 correctly.
6456 We can't simply define LARGE_OFF_T to be 9223372036854775807,
6457 since some C++ compilers masquerading as C compilers
6458 incorrectly reject 9223372036854775807. */
6459 #define LARGE_OFF_T ((((off_t) 1 << 31) << 31) - 1 + (((off_t) 1 << 31) << 31))
6460 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
6461 && LARGE_OFF_T % 2147483647 == 1)
6471 if ac_fn_c_try_compile
"$LINENO"; then :
6472 ac_cv_sys_large_files
=1; break
6474 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
6475 ac_cv_sys_large_files
=unknown
6479 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_large_files" >&5
6480 $as_echo "$ac_cv_sys_large_files" >&6; }
6481 case $ac_cv_sys_large_files in #(
6484 cat >>confdefs.h
<<_ACEOF
6485 #define _LARGE_FILES $ac_cv_sys_large_files
6497 ac_cpp
='$CPP $CPPFLAGS'
6498 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6499 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6500 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
6501 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
6502 $as_echo_n "checking how to run the C preprocessor... " >&6; }
6503 # On Suns, sometimes $CPP names a directory.
6504 if test -n "$CPP" && test -d "$CPP"; then
6507 if test -z "$CPP"; then
6508 if ${ac_cv_prog_CPP+:} false
; then :
6509 $as_echo_n "(cached) " >&6
6511 # Double quotes because CPP needs to be expanded
6512 for CPP
in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
6515 for ac_c_preproc_warn_flag
in '' yes
6517 # Use a header file that comes with gcc, so configuring glibc
6518 # with a fresh cross-compiler works.
6519 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
6520 # <limits.h> exists even on freestanding compilers.
6521 # On the NeXT, cc -E runs the code through the compiler's parser,
6522 # not just through cpp. "Syntax error" is here to catch this case.
6523 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6524 /* end confdefs.h. */
6526 # include <limits.h>
6528 # include <assert.h>
6532 if ac_fn_c_try_cpp
"$LINENO"; then :
6535 # Broken: fails on valid input.
6538 rm -f conftest.err conftest.i conftest.
$ac_ext
6540 # OK, works on sane cases. Now check whether nonexistent headers
6541 # can be detected and how.
6542 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6543 /* end confdefs.h. */
6544 #include <ac_nonexistent.h>
6546 if ac_fn_c_try_cpp
"$LINENO"; then :
6547 # Broken: success on invalid input.
6550 # Passes both tests.
6554 rm -f conftest.err conftest.i conftest.
$ac_ext
6557 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
6558 rm -f conftest.i conftest.err conftest.
$ac_ext
6559 if $ac_preproc_ok; then :
6571 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
6572 $as_echo "$CPP" >&6; }
6574 for ac_c_preproc_warn_flag
in '' yes
6576 # Use a header file that comes with gcc, so configuring glibc
6577 # with a fresh cross-compiler works.
6578 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
6579 # <limits.h> exists even on freestanding compilers.
6580 # On the NeXT, cc -E runs the code through the compiler's parser,
6581 # not just through cpp. "Syntax error" is here to catch this case.
6582 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6583 /* end confdefs.h. */
6585 # include <limits.h>
6587 # include <assert.h>
6591 if ac_fn_c_try_cpp
"$LINENO"; then :
6594 # Broken: fails on valid input.
6597 rm -f conftest.err conftest.i conftest.
$ac_ext
6599 # OK, works on sane cases. Now check whether nonexistent headers
6600 # can be detected and how.
6601 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6602 /* end confdefs.h. */
6603 #include <ac_nonexistent.h>
6605 if ac_fn_c_try_cpp
"$LINENO"; then :
6606 # Broken: success on invalid input.
6609 # Passes both tests.
6613 rm -f conftest.err conftest.i conftest.
$ac_ext
6616 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
6617 rm -f conftest.i conftest.err conftest.
$ac_ext
6618 if $ac_preproc_ok; then :
6621 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
6622 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
6623 as_fn_error $?
"C preprocessor \"$CPP\" fails sanity check
6624 See \`config.log' for more details" "$LINENO" 5; }
6628 ac_cpp
='$CPP $CPPFLAGS'
6629 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6630 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6631 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
6634 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
6635 $as_echo_n "checking for ANSI C header files... " >&6; }
6636 if ${ac_cv_header_stdc+:} false
; then :
6637 $as_echo_n "(cached) " >&6
6639 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6640 /* end confdefs.h. */
6654 if ac_fn_c_try_compile
"$LINENO"; then :
6655 ac_cv_header_stdc
=yes
6657 ac_cv_header_stdc
=no
6659 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
6661 if test $ac_cv_header_stdc = yes; then
6662 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
6663 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6664 /* end confdefs.h. */
6668 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
6669 $EGREP "memchr" >/dev
/null
2>&1; then :
6672 ac_cv_header_stdc
=no
6678 if test $ac_cv_header_stdc = yes; then
6679 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
6680 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6681 /* end confdefs.h. */
6685 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
6686 $EGREP "free" >/dev
/null
2>&1; then :
6689 ac_cv_header_stdc
=no
6695 if test $ac_cv_header_stdc = yes; then
6696 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
6697 if test "$cross_compiling" = yes; then :
6700 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6701 /* end confdefs.h. */
6704 #if ((' ' & 0x0FF) == 0x020)
6705 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
6706 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
6708 # define ISLOWER(c) \
6709 (('a' <= (c) && (c) <= 'i') \
6710 || ('j' <= (c) && (c) <= 'r') \
6711 || ('s' <= (c) && (c) <= 'z'))
6712 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
6715 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
6720 for (i = 0; i < 256; i++)
6721 if (XOR (islower (i), ISLOWER (i))
6722 || toupper (i) != TOUPPER (i))
6727 if ac_fn_c_try_run
"$LINENO"; then :
6730 ac_cv_header_stdc
=no
6732 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext \
6733 conftest.
$ac_objext conftest.beam conftest.
$ac_ext
6738 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
6739 $as_echo "$ac_cv_header_stdc" >&6; }
6740 if test $ac_cv_header_stdc = yes; then
6742 $as_echo "#define STDC_HEADERS 1" >>confdefs.h
6746 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
6747 for ac_header
in sys
/types.h sys
/stat.h stdlib.h string.h memory.h
strings.h \
6748 inttypes.h stdint.h unistd.h
6750 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
6751 ac_fn_c_check_header_compile
"$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
6753 if eval test \"x\$
"$as_ac_Header"\" = x
"yes"; then :
6754 cat >>confdefs.h
<<_ACEOF
6755 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
6765 ApplicationServices
/ApplicationServices.h \
6766 AudioToolbox
/AudioConverter.h \
6767 AudioUnit
/AudioUnit.h \
6768 AudioUnit
/AudioComponent.h \
6771 CommonCrypto
/CommonDigest.h \
6772 CoreAudio
/CoreAudio.h \
6773 CoreServices
/CoreServices.h \
6774 DiskArbitration
/DiskArbitration.h \
6776 IOKit
/hid
/IOHIDLib.h \
6779 QuickTime
/ImageCompression.h \
6780 Security
/Security.h \
6832 netinet
/in_systm.h \
6896 valgrind
/memcheck.h \
6897 valgrind
/valgrind.h \
6901 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
6902 ac_fn_c_check_header_mongrel
"$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
6903 if eval test \"x\$
"$as_ac_Header"\" = x
"yes"; then :
6904 cat >>confdefs.h
<<_ACEOF
6905 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
6912 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether sys/types.h defines makedev" >&5
6913 $as_echo_n "checking whether sys/types.h defines makedev... " >&6; }
6914 if ${ac_cv_header_sys_types_h_makedev+:} false
; then :
6915 $as_echo_n "(cached) " >&6
6917 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6918 /* end confdefs.h. */
6919 #include <sys/types.h>
6923 return makedev(0, 0);
6928 if ac_fn_c_try_link
"$LINENO"; then :
6929 ac_cv_header_sys_types_h_makedev
=yes
6931 ac_cv_header_sys_types_h_makedev
=no
6933 rm -f core conftest.err conftest.
$ac_objext \
6934 conftest
$ac_exeext conftest.
$ac_ext
6937 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_sys_types_h_makedev" >&5
6938 $as_echo "$ac_cv_header_sys_types_h_makedev" >&6; }
6940 if test $ac_cv_header_sys_types_h_makedev = no
; then
6941 ac_fn_c_check_header_mongrel
"$LINENO" "sys/mkdev.h" "ac_cv_header_sys_mkdev_h" "$ac_includes_default"
6942 if test "x$ac_cv_header_sys_mkdev_h" = xyes
; then :
6944 $as_echo "#define MAJOR_IN_MKDEV 1" >>confdefs.h
6950 if test $ac_cv_header_sys_mkdev_h = no
; then
6951 ac_fn_c_check_header_mongrel
"$LINENO" "sys/sysmacros.h" "ac_cv_header_sys_sysmacros_h" "$ac_includes_default"
6952 if test "x$ac_cv_header_sys_sysmacros_h" = xyes
; then :
6954 $as_echo "#define MAJOR_IN_SYSMACROS 1" >>confdefs.h
6962 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether stat file-mode macros are broken" >&5
6963 $as_echo_n "checking whether stat file-mode macros are broken... " >&6; }
6964 if ${ac_cv_header_stat_broken+:} false
; then :
6965 $as_echo_n "(cached) " >&6
6967 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6968 /* end confdefs.h. */
6969 #include <sys/types.h>
6970 #include <sys/stat.h>
6972 #if defined S_ISBLK && defined S_IFDIR
6973 extern char c1[S_ISBLK (S_IFDIR) ? -1 : 1];
6976 #if defined S_ISBLK && defined S_IFCHR
6977 extern char c2[S_ISBLK (S_IFCHR) ? -1 : 1];
6980 #if defined S_ISLNK && defined S_IFREG
6981 extern char c3[S_ISLNK (S_IFREG) ? -1 : 1];
6984 #if defined S_ISSOCK && defined S_IFREG
6985 extern char c4[S_ISSOCK (S_IFREG) ? -1 : 1];
6989 if ac_fn_c_try_compile
"$LINENO"; then :
6990 ac_cv_header_stat_broken
=no
6992 ac_cv_header_stat_broken
=yes
6994 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
6996 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stat_broken" >&5
6997 $as_echo "$ac_cv_header_stat_broken" >&6; }
6998 if test $ac_cv_header_stat_broken = yes; then
7000 $as_echo "#define STAT_MACROS_BROKEN 1" >>confdefs.h
7006 for ac_header
in sys
/mount.h sys
/statfs.h sys
/sysctl.h sys
/user.h sys
/vfs.h
7008 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
7009 ac_fn_c_check_header_compile
"$LINENO" "$ac_header" "$as_ac_Header" "#include <sys/types.h>
7010 #ifdef HAVE_SYS_PARAM_H
7011 # include <sys/param.h>
7014 if eval test \"x\$
"$as_ac_Header"\" = x
"yes"; then :
7015 cat >>confdefs.h
<<_ACEOF
7016 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
7031 netinet
/if_ether.h \
7032 netinet
/if_inarp.h \
7041 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
7042 ac_fn_c_check_header_compile
"$LINENO" "$ac_header" "$as_ac_Header" "#include <sys/types.h>
7043 #ifdef HAVE_SYS_SOCKET_H
7044 # include <sys/socket.h>
7046 #ifdef HAVE_SYS_SOCKETVAR_H
7047 # include <sys/socketvar.h>
7049 #ifdef HAVE_NET_ROUTE_H
7050 # include <net/route.h>
7052 #ifdef HAVE_NETINET_IN_H
7053 # include <netinet/in.h>
7055 #ifdef HAVE_NETINET_IN_SYSTM_H
7056 # include <netinet/in_systm.h>
7058 #ifdef HAVE_NET_IF_H
7059 # include <net/if.h>
7061 #ifdef HAVE_NETINET_IP_H
7062 # include <netinet/ip.h>
7065 if eval test \"x\$
"$as_ac_Header"\" = x
"yes"; then :
7066 cat >>confdefs.h
<<_ACEOF
7067 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
7075 for ac_header
in netinet
/tcp_timer.h netinet
/udp_var.h netinet
/icmp_var.h netinet
/tcp_var.h
7077 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
7078 ac_fn_c_check_header_compile
"$LINENO" "$ac_header" "$as_ac_Header" "#include <sys/types.h>
7082 #ifdef HAVE_SYS_SOCKET_H
7083 # include <sys/socket.h>
7085 #ifdef HAVE_SYS_SOCKETVAR_H
7086 # include <sys/socketvar.h>
7088 #ifdef HAVE_SYS_TIMEOUT_H
7089 # include <sys/timeout.h>
7091 #ifdef HAVE_NETINET_IN_H
7092 # include <netinet/in.h>
7094 #ifdef HAVE_NETINET_IN_SYSTM_H
7095 # include <netinet/in_systm.h>
7097 #ifdef HAVE_NETINET_IP_H
7098 # include <netinet/ip.h>
7100 #ifdef HAVE_NETINET_IP_VAR_H
7101 # include <netinet/ip_var.h>
7103 #ifdef HAVE_NETINET_IP_ICMP_H
7104 # include <netinet/ip_icmp.h>
7106 #ifdef HAVE_NETINET_UDP_H
7107 # include <netinet/udp.h>
7109 #ifdef HAVE_NETINET_TCP_H
7110 # include <netinet/tcp.h>
7112 #ifdef HAVE_NETINET_TCP_TIMER_H
7113 #include <netinet/tcp_timer.h>
7116 if eval test \"x\$
"$as_ac_Header"\" = x
"yes"; then :
7117 cat >>confdefs.h
<<_ACEOF
7118 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
7126 for ac_header
in linux
/ipx.h linux
/irda.h linux
/rtnetlink.h
7128 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
7129 ac_fn_c_check_header_compile
"$LINENO" "$ac_header" "$as_ac_Header" "#include <sys/types.h>
7130 #ifdef HAVE_ASM_TYPES_H
7131 # include <asm/types.h>
7133 #ifdef HAVE_SYS_SOCKET_H
7134 # include <sys/socket.h>
7136 #ifdef HAVE_LINUX_TYPES_H
7137 # include <linux/types.h>
7140 if eval test \"x\$
"$as_ac_Header"\" = x
"yes"; then :
7141 cat >>confdefs.h
<<_ACEOF
7142 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
7150 for ac_header
in mach-o
/dyld_images.h
7152 ac_fn_c_check_header_compile
"$LINENO" "mach-o/dyld_images.h" "ac_cv_header_mach_o_dyld_images_h" "#ifdef HAVE_STDBOOL_H
7153 # include <stdbool.h>
7155 #ifdef HAVE_STDINT_H
7156 # include <stdint.h>
7159 if test "x$ac_cv_header_mach_o_dyld_images_h" = xyes
; then :
7160 cat >>confdefs.h
<<_ACEOF
7161 #define HAVE_MACH_O_DYLD_IMAGES_H 1
7169 for ac_header
in resolv.h
7171 ac_fn_c_check_header_compile
"$LINENO" "resolv.h" "ac_cv_header_resolv_h" "#include <sys/types.h>
7172 #ifdef HAVE_SYS_SOCKET_H
7173 # include <sys/socket.h>
7175 #ifdef HAVE_NETINET_IN_H
7176 # include <netinet/in.h>
7178 #ifdef HAVE_ARPA_NAMESER_H
7179 # include <arpa/nameser.h>
7182 if test "x$ac_cv_header_resolv_h" = xyes
; then :
7183 cat >>confdefs.h
<<_ACEOF
7184 #define HAVE_RESOLV_H 1
7192 for ac_header
in ifaddrs.h
7194 ac_fn_c_check_header_compile
"$LINENO" "ifaddrs.h" "ac_cv_header_ifaddrs_h" "#include <sys/types.h>
7196 if test "x$ac_cv_header_ifaddrs_h" = xyes
; then :
7197 cat >>confdefs.h
<<_ACEOF
7198 #define HAVE_IFADDRS_H 1
7206 for ac_header
in sys
/ucontext.h
7208 ac_fn_c_check_header_compile
"$LINENO" "sys/ucontext.h" "ac_cv_header_sys_ucontext_h" "#include <signal.h>
7210 if test "x$ac_cv_header_sys_ucontext_h" = xyes
; then :
7211 cat >>confdefs.h
<<_ACEOF
7212 #define HAVE_SYS_UCONTEXT_H 1
7220 for ac_header
in sys
/thr.h
7222 ac_fn_c_check_header_compile
"$LINENO" "sys/thr.h" "ac_cv_header_sys_thr_h" "#include <sys/types.h>
7223 #ifdef HAVE_SYS_UCONTEXT_H
7224 #include <sys/ucontext.h>
7227 if test "x$ac_cv_header_sys_thr_h" = xyes
; then :
7228 cat >>confdefs.h
<<_ACEOF
7229 #define HAVE_SYS_THR_H 1
7237 for ac_header
in pthread_np.h
7239 ac_fn_c_check_header_compile
"$LINENO" "pthread_np.h" "ac_cv_header_pthread_np_h" "#ifdef HAVE_PTHREAD_H
7240 #include <pthread.h>
7243 if test "x$ac_cv_header_pthread_np_h" = xyes
; then :
7244 cat >>confdefs.h
<<_ACEOF
7245 #define HAVE_PTHREAD_NP_H 1
7253 for ac_header
in linux
/videodev.h linux
/videodev2.h libv4l1.h
7255 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
7256 ac_fn_c_check_header_compile
"$LINENO" "$ac_header" "$as_ac_Header" "#ifdef HAVE_SYS_TIME_H
7257 #include <sys/time.h>
7259 #include <sys/types.h>
7260 #ifdef HAVE_ASM_TYPES_H
7261 #include <asm/types.h>
7264 if eval test \"x\$
"$as_ac_Header"\" = x
"yes"; then :
7265 cat >>confdefs.h
<<_ACEOF
7266 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
7274 for ac_header
in libprocstat.h
7276 ac_fn_c_check_header_compile
"$LINENO" "libprocstat.h" "ac_cv_header_libprocstat_h" "#ifdef HAVE_SYS_PARAM_H
7277 #include <sys/param.h>
7279 #ifdef HAVE_SYS_QUEUE_H
7280 #include <sys/queue.h>
7282 #ifdef HAVE_SYS_SOCKET_H
7283 #include <sys/socket.h>
7286 if test "x$ac_cv_header_libprocstat_h" = xyes
; then :
7287 cat >>confdefs.h
<<_ACEOF
7288 #define HAVE_LIBPROCSTAT_H 1
7297 dlldir
="\${libdir}/wine"
7299 DLLFLAGS
="-D_REENTRANT"
7310 # Extract the first word of "ldd", so it can be a program name with args.
7311 set dummy ldd
; ac_word
=$2
7312 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7313 $as_echo_n "checking for $ac_word... " >&6; }
7314 if ${ac_cv_path_LDD+:} false
; then :
7315 $as_echo_n "(cached) " >&6
7319 ac_cv_path_LDD
="$LDD" # Let the user override the test with a path.
7322 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7323 as_dummy
="/sbin:/usr/sbin:$PATH"
7324 for as_dir
in $as_dummy
7327 test -z "$as_dir" && as_dir
=.
7328 for ac_exec_ext
in '' $ac_executable_extensions; do
7329 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
7330 ac_cv_path_LDD
="$as_dir/$ac_word$ac_exec_ext"
7331 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7338 test -z "$ac_cv_path_LDD" && ac_cv_path_LDD
="true"
7343 if test -n "$LDD"; then
7344 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LDD" >&5
7345 $as_echo "$LDD" >&6; }
7347 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7348 $as_echo "no" >&6; }
7352 if test -n "$ac_tool_prefix"; then
7353 # Extract the first word of "${ac_tool_prefix}otool", so it can be a program name with args.
7354 set dummy
${ac_tool_prefix}otool
; ac_word
=$2
7355 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7356 $as_echo_n "checking for $ac_word... " >&6; }
7357 if ${ac_cv_prog_OTOOL+:} false
; then :
7358 $as_echo_n "(cached) " >&6
7360 if test -n "$OTOOL"; then
7361 ac_cv_prog_OTOOL
="$OTOOL" # Let the user override the test.
7363 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7367 test -z "$as_dir" && as_dir
=.
7368 for ac_exec_ext
in '' $ac_executable_extensions; do
7369 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
7370 ac_cv_prog_OTOOL
="${ac_tool_prefix}otool"
7371 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7380 OTOOL
=$ac_cv_prog_OTOOL
7381 if test -n "$OTOOL"; then
7382 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL" >&5
7383 $as_echo "$OTOOL" >&6; }
7385 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7386 $as_echo "no" >&6; }
7391 if test -z "$ac_cv_prog_OTOOL"; then
7393 # Extract the first word of "otool", so it can be a program name with args.
7394 set dummy otool
; ac_word
=$2
7395 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7396 $as_echo_n "checking for $ac_word... " >&6; }
7397 if ${ac_cv_prog_ac_ct_OTOOL+:} false
; then :
7398 $as_echo_n "(cached) " >&6
7400 if test -n "$ac_ct_OTOOL"; then
7401 ac_cv_prog_ac_ct_OTOOL
="$ac_ct_OTOOL" # Let the user override the test.
7403 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7407 test -z "$as_dir" && as_dir
=.
7408 for ac_exec_ext
in '' $ac_executable_extensions; do
7409 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
7410 ac_cv_prog_ac_ct_OTOOL
="otool"
7411 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7420 ac_ct_OTOOL
=$ac_cv_prog_ac_ct_OTOOL
7421 if test -n "$ac_ct_OTOOL"; then
7422 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL" >&5
7423 $as_echo "$ac_ct_OTOOL" >&6; }
7425 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7426 $as_echo "no" >&6; }
7429 if test "x$ac_ct_OTOOL" = x
; then
7432 case $cross_compiling:$ac_tool_warned in
7434 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7435 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7436 ac_tool_warned
=yes ;;
7441 OTOOL
="$ac_cv_prog_OTOOL"
7444 if test -n "$ac_tool_prefix"; then
7445 # Extract the first word of "${ac_tool_prefix}readelf", so it can be a program name with args.
7446 set dummy
${ac_tool_prefix}readelf
; ac_word
=$2
7447 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7448 $as_echo_n "checking for $ac_word... " >&6; }
7449 if ${ac_cv_prog_READELF+:} false
; then :
7450 $as_echo_n "(cached) " >&6
7452 if test -n "$READELF"; then
7453 ac_cv_prog_READELF
="$READELF" # Let the user override the test.
7455 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7459 test -z "$as_dir" && as_dir
=.
7460 for ac_exec_ext
in '' $ac_executable_extensions; do
7461 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
7462 ac_cv_prog_READELF
="${ac_tool_prefix}readelf"
7463 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7472 READELF
=$ac_cv_prog_READELF
7473 if test -n "$READELF"; then
7474 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $READELF" >&5
7475 $as_echo "$READELF" >&6; }
7477 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7478 $as_echo "no" >&6; }
7483 if test -z "$ac_cv_prog_READELF"; then
7484 ac_ct_READELF
=$READELF
7485 # Extract the first word of "readelf", so it can be a program name with args.
7486 set dummy readelf
; ac_word
=$2
7487 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7488 $as_echo_n "checking for $ac_word... " >&6; }
7489 if ${ac_cv_prog_ac_ct_READELF+:} false
; then :
7490 $as_echo_n "(cached) " >&6
7492 if test -n "$ac_ct_READELF"; then
7493 ac_cv_prog_ac_ct_READELF
="$ac_ct_READELF" # Let the user override the test.
7495 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7499 test -z "$as_dir" && as_dir
=.
7500 for ac_exec_ext
in '' $ac_executable_extensions; do
7501 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
7502 ac_cv_prog_ac_ct_READELF
="readelf"
7503 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7512 ac_ct_READELF
=$ac_cv_prog_ac_ct_READELF
7513 if test -n "$ac_ct_READELF"; then
7514 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_READELF" >&5
7515 $as_echo "$ac_ct_READELF" >&6; }
7517 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7518 $as_echo "no" >&6; }
7521 if test "x$ac_ct_READELF" = x
; then
7524 case $cross_compiling:$ac_tool_warned in
7526 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7527 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7528 ac_tool_warned
=yes ;;
7530 READELF
=$ac_ct_READELF
7533 READELF
="$ac_cv_prog_READELF"
7536 wine_rules_file
=conf$
$rules.
make
7537 rm -f $wine_rules_file
7542 CONFIGURE_TARGETS
=""
7544 ALL_TEST_RESOURCES
=""
7547 wine_fn_append_file
()
7549 as_fn_append
$1 " \\$as_nl $2"
7552 wine_fn_append_rule
()
7554 $as_echo "$1" >>$wine_rules_file
7559 expr ",$ac_flags," : ".*,$1,.*" >/dev
/null
7562 wine_fn_all_rules
()
7564 wine_fn_append_file SUBDIRS
$ac_dir
7565 wine_fn_append_rule \
7569 @cd $ac_dir && \$(MAKE)"
7572 wine_fn_install_rules
()
7574 wine_fn_has_flag install-lib || wine_fn_has_flag install-dev ||
return
7576 wine_fn_append_rule \
7577 ".PHONY: $ac_dir/install $ac_dir/uninstall
7578 $ac_dir/install:: $ac_dir
7579 @cd $ac_dir && \$(MAKE) install
7581 @cd $ac_dir && \$(MAKE) uninstall
7582 install:: $ac_dir/install
7583 __uninstall__: $ac_dir/uninstall"
7585 if wine_fn_has_flag install-lib
7587 wine_fn_append_rule \
7588 ".PHONY: $ac_dir/install-lib
7589 $ac_dir/install-lib:: $ac_dir
7590 @cd $ac_dir && \$(MAKE) install-lib
7591 install-lib:: $ac_dir/install-lib"
7594 if wine_fn_has_flag install-dev
7596 wine_fn_append_rule \
7597 ".PHONY: $ac_dir/install-dev
7598 $ac_dir/install-dev:: $ac_dir
7599 @cd $ac_dir && \$(MAKE) install-dev
7600 install-dev:: $ac_dir/install-dev"
7604 wine_fn_clean_rules
()
7608 if wine_fn_has_flag clean
7610 wine_fn_append_rule \
7611 "$ac_dir/clean: dummy
7612 @cd $ac_dir && \$(MAKE) clean"
7614 wine_fn_append_rule \
7615 "$ac_dir/clean: dummy
7616 \$(RM) \$(CLEAN_FILES:%=$ac_dir/%) $ac_clean"
7618 wine_fn_append_rule \
7619 "__clean__: $ac_dir/clean
7620 .PHONY: $ac_dir/clean"
7623 wine_fn_disabled_rules
()
7627 wine_fn_append_file SUBDIRS
$ac_dir
7628 wine_fn_append_file DISABLED_SUBDIRS
$ac_dir
7629 wine_fn_append_rule \
7630 "__clean__: $ac_dir/clean
7631 .PHONY: $ac_dir/clean
7632 $ac_dir/clean: dummy
7633 \$(RM) \$(CLEAN_FILES:%=$ac_dir/%) $ac_clean"
7636 wine_fn_config_makefile
()
7643 fonts|server
) test -z "$with_wine64" ||
return ;;
7645 if eval test \"x\$
"$ac_enable"\" = x
"no"; then :
7646 wine_fn_disabled_rules
; return
7649 wine_fn_install_rules
7653 wine_fn_config_lib
()
7657 ac_dir
=dlls
/$ac_name
7660 if test "x$enable_tools" = xno
; then :
7663 ac_deps
="tools/widl tools/winebuild tools/winegcc $ac_deps"
7668 wine_fn_append_rule \
7669 ".PHONY: $ac_dir/install $ac_dir/uninstall
7670 $ac_dir/install:: $ac_dir
7671 \$(INSTALL_DATA) $ac_dir/lib$ac_name.a \$(DESTDIR)\$(dlldir)/lib$ac_name.a
7673 \$(RM) \$(DESTDIR)\$(dlldir)/lib$ac_name.a
7674 install install-dev:: $ac_dir/install
7675 __uninstall__: $ac_dir/uninstall
7676 __builddeps__: $ac_dir
7680 wine_fn_config_dll
()
7683 ac_dir
=dlls
/$ac_name
7686 ac_implib
=${4:-$ac_name}
7687 ac_file
=$ac_dir/lib
$ac_implib
7692 if test "x$enable_tools" = xno
; then :
7695 ac_deps
="tools/widl tools/winebuild tools/winegcc $ac_deps"
7698 *16) ac_implibflags
=" -m16" ;;
7700 *) ac_dll
=$ac_dll.dll
;;
7704 wine_fn_has_flag implib
&& ac_clean
="$ac_clean $ac_file.$IMPLIBEXT"
7705 test -n "$DLLEXT" || ac_clean
="$ac_clean $ac_dir/$ac_dll"
7707 if eval test \"x\$
"$ac_enable"\" = x
"no"; then :
7708 if test "$ac_enable" != enable_win16
7710 wine_fn_clean_rules
$ac_clean
7711 wine_fn_append_file SUBDIRS
$ac_dir
7712 wine_fn_append_file DISABLED_SUBDIRS
$ac_dir
7714 wine_fn_disabled_rules
$ac_clean
7719 wine_fn_clean_rules
$ac_clean
7720 wine_fn_append_rule \
7721 "$ac_dir: __builddeps__
7722 manpages htmlpages sgmlpages xmlpages::
7723 @cd $ac_dir && \$(MAKE) \$@
7724 .PHONY: $ac_dir/install-lib $ac_dir/uninstall
7725 install install-lib:: $ac_dir/install-lib
7726 __uninstall__: $ac_dir/uninstall"
7727 if test -n "$DLLEXT"
7729 wine_fn_append_rule \
7730 "$ac_dir/install-lib:: $ac_dir
7731 \$(INSTALL_PROGRAM) $ac_dir/$ac_dll$DLLEXT \$(DESTDIR)\$(dlldir)/$ac_dll$DLLEXT
7732 \$(INSTALL_DATA) $ac_dir/$ac_dll.fake \$(DESTDIR)\$(fakedlldir)/$ac_dll
7734 \$(RM) \$(DESTDIR)\$(dlldir)/$ac_dll$DLLEXT \$(DESTDIR)\$(fakedlldir)/$ac_dll"
7736 wine_fn_append_rule \
7737 "$ac_dir/install-lib:: $ac_dir
7738 \$(INSTALL_PROGRAM) $ac_dir/$ac_dll \$(DESTDIR)\$(dlldir)/$ac_dll
7740 \$(RM) \$(DESTDIR)\$(dlldir)/$ac_dll"
7744 if wine_fn_has_flag staticimplib
7746 wine_fn_append_rule \
7747 "__builddeps__: $ac_file.a
7748 $ac_file.a $ac_file.cross.a: $ac_deps
7750 @cd $ac_dir && \$(MAKE) lib$ac_implib.a
7751 .PHONY: $ac_dir/install-dev $ac_dir/uninstall
7752 $ac_dir/install-dev:: $ac_file.a
7753 \$(INSTALL_DATA) $ac_file.a \$(DESTDIR)\$(dlldir)/lib$ac_implib.a
7755 \$(RM) \$(DESTDIR)\$(dlldir)/lib$ac_implib.a
7756 install install-dev:: $ac_dir/install-dev
7757 __uninstall__: $ac_dir/uninstall"
7759 if test -n "$CROSSTARGET" -a -z "$ac_implibflags"
7761 wine_fn_append_rule \
7762 "__builddeps__: $ac_file.cross.a
7763 $ac_file.cross.a: dummy
7764 @cd $ac_dir && \$(MAKE) lib$ac_implib.cross.a"
7767 elif wine_fn_has_flag implib
7769 wine_fn_append_rule \
7770 "__builddeps__: $ac_file.$IMPLIBEXT
7771 $ac_file.def: $srcdir/$ac_dir/$ac_name.spec \$(WINEBUILD)
7772 \$(WINEBUILD) \$(TARGETFLAGS)$ac_implibflags -w --def -o \$@ --export $srcdir/$ac_dir/$ac_name.spec
7773 $ac_file.a: $srcdir/$ac_dir/$ac_name.spec \$(WINEBUILD)
7774 \$(WINEBUILD) \$(TARGETFLAGS)$ac_implibflags -w --implib -o \$@ --export $srcdir/$ac_dir/$ac_name.spec
7775 .PHONY: $ac_dir/install-dev $ac_dir/uninstall
7776 $ac_dir/install-dev:: $ac_file.$IMPLIBEXT
7777 \$(INSTALL_DATA) $ac_file.$IMPLIBEXT \$(DESTDIR)\$(dlldir)/lib$ac_implib.$IMPLIBEXT
7779 \$(RM) \$(DESTDIR)\$(dlldir)/lib$ac_implib.$IMPLIBEXT
7780 install install-dev:: $ac_dir/install-dev
7781 __uninstall__: $ac_dir/uninstall"
7782 if test -n "$CROSSTARGET" -a -z "$ac_implibflags"
7784 wine_fn_append_rule \
7785 "__builddeps__: $ac_file.cross.a
7786 $ac_file.cross.a: $srcdir/$ac_dir/$ac_name.spec \$(WINEBUILD)
7787 \$(WINEBUILD) \$(CROSSTARGET:%=-b %)$ac_implibflags -w --implib -o \$@ --export $srcdir/$ac_dir/$ac_name.spec"
7792 wine_fn_config_program
()
7795 ac_dir
=programs
/$ac_name
7802 *) ac_program
=$ac_program.exe
;;
7806 wine_fn_has_flag manpage
&& ac_clean
="$ac_clean $ac_dir/$ac_name.man"
7807 test -n "$DLLEXT" || ac_clean
="$ac_clean $ac_dir/$ac_program"
7809 if eval test \"x\$
"$ac_enable"\" = x
"no"; then :
7810 wine_fn_disabled_rules
$ac_clean; return
7814 wine_fn_clean_rules
$ac_clean
7815 wine_fn_append_rule
"$ac_dir: __builddeps__"
7817 wine_fn_has_flag
install ||
return
7818 wine_fn_append_rule \
7819 ".PHONY: $ac_dir/install $ac_dir/uninstall
7820 install install-lib:: $ac_dir/install
7821 __uninstall__: $ac_dir/uninstall"
7823 if test -n "$DLLEXT"
7825 wine_fn_append_rule \
7826 "$ac_dir/install:: $ac_dir
7827 \$(INSTALL_PROGRAM) $ac_dir/$ac_program$DLLEXT \$(DESTDIR)\$(dlldir)/$ac_program$DLLEXT
7828 \$(INSTALL_DATA) $ac_dir/$ac_program.fake \$(DESTDIR)\$(fakedlldir)/$ac_program
7830 \$(RM) \$(DESTDIR)\$(dlldir)/$ac_program$DLLEXT \$(DESTDIR)\$(fakedlldir)/$ac_program"
7832 if test -z "$with_wine64" && wine_fn_has_flag installbin
7834 wine_fn_append_rule \
7835 "$ac_dir/install:: __tooldeps__
7836 \$(INSTALL_SCRIPT) \$(TOOLSDIR)/tools/wineapploader \$(DESTDIR)\$(bindir)/$ac_name
7838 \$(RM) \$(DESTDIR)\$(bindir)/$ac_name"
7841 wine_fn_append_rule \
7842 "$ac_dir/install:: $ac_dir
7843 \$(INSTALL_PROGRAM) $ac_dir/$ac_program \$(DESTDIR)\$(bindir)/$ac_program
7845 \$(RM) \$(DESTDIR)\$(bindir)/$ac_program"
7848 if test -z "$with_wine64" && wine_fn_has_flag manpage
7850 wine_fn_append_rule \
7851 "$ac_dir/install:: $ac_dir
7852 \$(INSTALL_DATA) $ac_dir/$ac_name.man \$(DESTDIR)\$(mandir)/man\$(prog_manext)/$ac_name.\$(prog_manext)
7854 \$(RM) \$(DESTDIR)\$(mandir)/man\$(prog_manext)/$ac_name.\$(prog_manext)"
7858 wine_fn_config_test
()
7865 test -n "$CROSSTARGET" && ac_clean
=`expr $ac_dir/${ac_name} : "\\(.*\\)_test"`_crosstest.exe
7866 test -n "$DLLEXT" || ac_clean
="$ac_dir/${ac_name}.exe $ac_dir/${ac_name}-stripped.exe"
7868 if test "x$enable_tests" = xno
; then :
7869 wine_fn_disabled_rules
$ac_clean; return
7872 wine_fn_append_file ALL_TEST_RESOURCES
$ac_name.res
7874 wine_fn_clean_rules
$ac_clean
7876 wine_fn_append_rule \
7877 "$ac_dir: __builddeps__
7878 programs/winetest: $ac_dir
7879 check test: $ac_dir/test
7880 .PHONY: $ac_dir/test
7882 @cd $ac_dir && \$(MAKE) test
7884 \$(RM) $ac_dir/*.ok"
7886 if test -n "$CROSSTARGET"
7888 wine_fn_append_rule \
7889 "crosstest: $ac_dir/crosstest
7890 .PHONY: $ac_dir/crosstest
7891 $ac_dir/crosstest: __builddeps__ dummy
7892 @cd $ac_dir && \$(MAKE) crosstest"
7896 wine_fn_config_tool
()
7900 if test "x$enable_tools" = xno
; then :
7901 wine_fn_append_file DISABLED_SUBDIRS
$ac_dir; return
7905 wine_fn_install_rules
7908 wine_fn_append_rule
"__tooldeps__: $ac_dir"
7909 wine_fn_append_rule
"$ac_dir: libs/port"
7911 tools
/winebuild
) wine_fn_append_rule
"\$(WINEBUILD): $ac_dir" ;;
7915 wine_fn_config_symlink
()
7918 if test "x$1" = "x-d"
7924 wine_fn_append_rule \
7926 @./config.status \$@"
7927 for f
in $ac_links; do wine_fn_append_file CONFIGURE_TARGETS
$f; done
7928 test -n "$ac_linkdir" ||
return
7929 wine_fn_append_rule
"$ac_linkdir/depend: $ac_links"
7933 test "x$enable_win64" != "xyes" || wine_binary
="wine64"
7934 WINELOADER_PROGRAMS
="$wine_binary"
7936 libwine_soversion
=`expr $libwine_version : '\([0-9]*\)\..*'`
7940 if test -n "$ac_tool_prefix"; then
7941 # Extract the first word of "${ac_tool_prefix}dlltool", so it can be a program name with args.
7942 set dummy
${ac_tool_prefix}dlltool
; ac_word
=$2
7943 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7944 $as_echo_n "checking for $ac_word... " >&6; }
7945 if ${ac_cv_prog_DLLTOOL+:} false
; then :
7946 $as_echo_n "(cached) " >&6
7948 if test -n "$DLLTOOL"; then
7949 ac_cv_prog_DLLTOOL
="$DLLTOOL" # Let the user override the test.
7951 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7955 test -z "$as_dir" && as_dir
=.
7956 for ac_exec_ext
in '' $ac_executable_extensions; do
7957 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
7958 ac_cv_prog_DLLTOOL
="${ac_tool_prefix}dlltool"
7959 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7968 DLLTOOL
=$ac_cv_prog_DLLTOOL
7969 if test -n "$DLLTOOL"; then
7970 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DLLTOOL" >&5
7971 $as_echo "$DLLTOOL" >&6; }
7973 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7974 $as_echo "no" >&6; }
7979 if test -z "$ac_cv_prog_DLLTOOL"; then
7980 ac_ct_DLLTOOL
=$DLLTOOL
7981 # Extract the first word of "dlltool", so it can be a program name with args.
7982 set dummy dlltool
; ac_word
=$2
7983 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7984 $as_echo_n "checking for $ac_word... " >&6; }
7985 if ${ac_cv_prog_ac_ct_DLLTOOL+:} false
; then :
7986 $as_echo_n "(cached) " >&6
7988 if test -n "$ac_ct_DLLTOOL"; then
7989 ac_cv_prog_ac_ct_DLLTOOL
="$ac_ct_DLLTOOL" # Let the user override the test.
7991 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7995 test -z "$as_dir" && as_dir
=.
7996 for ac_exec_ext
in '' $ac_executable_extensions; do
7997 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
7998 ac_cv_prog_ac_ct_DLLTOOL
="dlltool"
7999 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8008 ac_ct_DLLTOOL
=$ac_cv_prog_ac_ct_DLLTOOL
8009 if test -n "$ac_ct_DLLTOOL"; then
8010 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DLLTOOL" >&5
8011 $as_echo "$ac_ct_DLLTOOL" >&6; }
8013 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8014 $as_echo "no" >&6; }
8017 if test "x$ac_ct_DLLTOOL" = x
; then
8020 case $cross_compiling:$ac_tool_warned in
8022 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
8023 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
8024 ac_tool_warned
=yes ;;
8026 DLLTOOL
=$ac_ct_DLLTOOL
8029 DLLTOOL
="$ac_cv_prog_DLLTOOL"
8035 enable_iphlpapi
=${enable_iphlpapi:-no}
8036 enable_kernel32
=${enable_kernel32:-no}
8037 enable_msvcrt
=${enable_msvcrt:-no}
8038 enable_ntdll
=${enable_ntdll:-no}
8039 enable_ws2_32
=${enable_ws2_32:-no}
8040 enable_loader
=${enable_loader:-no}
8041 enable_server
=${enable_server:-no}
8042 with_x
=${with_x:-no}
8043 with_pthread
=${with_pthread:-no}
8049 SOCKET_LIBS
="-lws2_32"
8053 LIBWINE_SHAREDLIB
="libwine.dll"
8055 LIBWINE_IMPORTLIB
="libwine.a"
8057 LIBWINE_INSTALL_LIB
="libwine.dll"
8059 LIBWINE_INSTALL_DEV
="libwine.a"
8061 LIBWINE_LDFLAGS
="-shared \$(srcdir)/wine.def"
8063 LIBWINE_DEPENDS
="wine.def"
8068 for ac_header
in libunwind.h
8070 ac_fn_c_check_header_mongrel
"$LINENO" "libunwind.h" "ac_cv_header_libunwind_h" "$ac_includes_default"
8071 if test "x$ac_cv_header_libunwind_h" = xyes
; then :
8072 cat >>confdefs.h
<<_ACEOF
8073 #define HAVE_LIBUNWIND_H 1
8081 DLLFLAGS
="$DLLFLAGS -fPIC"
8082 LDRPATH_INSTALL
="-Wl,-rpath,@loader_path/\`\$(MAKEDEP) -R \${bindir} \${libdir}\`"
8083 LDRPATH_LOCAL
="-Wl,-rpath,@loader_path/\$(top_builddir)/libs/wine"
8084 COREFOUNDATION_LIBS
="-framework CoreFoundation"
8086 IOKIT_LIBS
="-framework IOKit -framework CoreFoundation"
8088 FORCEFEEDBACK_LIBS
="-framework ForceFeedback -framework CoreFoundation"
8090 APPLICATIONSERVICES_LIBS
="-framework ApplicationServices"
8092 CORESERVICES_LIBS
="-framework CoreServices"
8094 APPKIT_LIBS
="-framework AppKit"
8096 LDEXECFLAGS
="-image_base 0x7bf00000 -Wl,-pagezero_size,0x1000,-segaddr,WINE_DOS,0x00001000,-segaddr,WINE_SHAREDHEAP,0x7f000000,-sectcreate,__TEXT,__info_plist,wine_info.plist"
8097 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,-no_pie" >&5
8098 $as_echo_n "checking whether the compiler supports -Wl,-no_pie... " >&6; }
8099 if ${ac_cv_cflags__Wl__no_pie+:} false
; then :
8100 $as_echo_n "(cached) " >&6
8102 ac_wine_try_cflags_saved
=$CFLAGS
8103 CFLAGS
="$CFLAGS -Wl,-no_pie"
8104 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8105 /* end confdefs.h. */
8106 int main(int argc, char **argv) { return 0; }
8108 if ac_fn_c_try_link
"$LINENO"; then :
8109 ac_cv_cflags__Wl__no_pie
=yes
8111 ac_cv_cflags__Wl__no_pie
=no
8113 rm -f core conftest.err conftest.
$ac_objext \
8114 conftest
$ac_exeext conftest.
$ac_ext
8115 CFLAGS
=$ac_wine_try_cflags_saved
8117 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl__no_pie" >&5
8118 $as_echo "$ac_cv_cflags__Wl__no_pie" >&6; }
8119 if test "x$ac_cv_cflags__Wl__no_pie" = xyes
; then :
8120 LDEXECFLAGS
="-Wl,-no_pie $LDEXECFLAGS"
8122 if test "$ac_cv_header_DiskArbitration_DiskArbitration_h" = "yes"
8124 DISKARBITRATION_LIBS
="-framework DiskArbitration -framework CoreFoundation"
8127 if test "$ac_cv_header_Security_Security_h" = "yes"
8129 SECURITY_LIBS
="-framework Security -framework CoreFoundation"
8131 ac_save_LIBS
="$LIBS"
8132 LIBS
="$LIBS $SECURITY_LIBS"
8133 for ac_func
in SSLCopyPeerCertificates
8135 ac_fn_c_check_func
"$LINENO" "SSLCopyPeerCertificates" "ac_cv_func_SSLCopyPeerCertificates"
8136 if test "x$ac_cv_func_SSLCopyPeerCertificates" = xyes
; then :
8137 cat >>confdefs.h
<<_ACEOF
8138 #define HAVE_SSLCOPYPEERCERTIFICATES 1
8144 LIBS
="$ac_save_LIBS"
8145 with_gnutls
=${with_gnutls:-no}
8147 if test "$ac_cv_header_CoreAudio_CoreAudio_h" = "yes" -a "$ac_cv_header_AudioUnit_AudioUnit_h" = "yes"
8149 if test "$ac_cv_header_AudioUnit_AudioComponent_h" = "yes"
8151 COREAUDIO_LIBS
="-framework CoreFoundation -framework CoreAudio -framework AudioUnit -framework AudioToolbox -framework CoreMIDI"
8154 COREAUDIO_LIBS
="-framework CoreAudio -framework AudioUnit -framework CoreServices -framework AudioToolbox -framework CoreMIDI"
8157 enable_winecoreaudio_drv
=${enable_winecoreaudio_drv:-yes}
8158 ac_save_LIBS
="$LIBS"
8159 LIBS
="$LIBS $COREAUDIO_LIBS"
8160 for ac_func
in AUGraphAddNode
8162 ac_fn_c_check_func
"$LINENO" "AUGraphAddNode" "ac_cv_func_AUGraphAddNode"
8163 if test "x$ac_cv_func_AUGraphAddNode" = xyes
; then :
8164 cat >>confdefs.h
<<_ACEOF
8165 #define HAVE_AUGRAPHADDNODE 1
8171 LIBS
="$ac_save_LIBS"
8173 if test "$ac_cv_header_OpenAL_al_h" = "yes"
8175 OPENAL_LIBS
="-framework OpenAL"
8178 cat >>confdefs.h
<<_ACEOF
8179 #define HAVE_OPENAL 1
8182 ac_cv_lib_openal
=yes
8184 if test "$ac_cv_header_OpenCL_opencl_h" = "yes"
8186 OPENCL_LIBS
="-framework OpenCL"
8188 ac_cv_lib_OpenCL_clGetPlatformInfo
=yes
8190 if test "$ac_cv_header_IOKit_hid_IOHIDLib_h" = "yes"
8192 ac_save_LIBS
="$LIBS"
8193 LIBS
="$LIBS $IOKIT_LIBS"
8194 for ac_func
in IOHIDManagerCreate
8196 ac_fn_c_check_func
"$LINENO" "IOHIDManagerCreate" "ac_cv_func_IOHIDManagerCreate"
8197 if test "x$ac_cv_func_IOHIDManagerCreate" = xyes
; then :
8198 cat >>confdefs.h
<<_ACEOF
8199 #define HAVE_IOHIDMANAGERCREATE 1
8205 LIBS
="$ac_save_LIBS"
8207 if test "$ac_cv_header_QuickTime_ImageCompression_h" = "yes"
8209 ac_save_LIBS
="$LIBS"
8210 LIBS
="-framework QuickTime -framework ApplicationServices -framework CoreVideo $LIBS"
8211 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for the QuickTime framework" >&5
8212 $as_echo_n "checking for the QuickTime framework... " >&6; }
8213 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8214 /* end confdefs.h. */
8215 #include <QuickTime/ImageCompression.h>
8219 CodecManagerVersion(NULL);
8224 if ac_fn_c_try_link
"$LINENO"; then :
8225 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
8226 $as_echo "yes" >&6; }
8227 QUICKTIME_LIBS
="-framework QuickTime -framework ApplicationServices -framework CoreVideo"
8229 enable_wineqtdecoder
=${enable_wineqtdecoder:-yes}
8231 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8232 $as_echo "no" >&6; }
8233 ac_cv_header_QuickTime_ImageCompression_h
=no
8235 rm -f core conftest.err conftest.
$ac_objext \
8236 conftest
$ac_exeext conftest.
$ac_ext
8237 LIBS
="$ac_save_LIBS"
8239 if test "$ac_cv_header_QuickTime_ImageCompression_h" != "yes"
8241 as_fn_append wine_notices
"|QuickTime ${notice_platform}development files not found, video decoding won't be supported."
8243 if test "$ac_cv_header_Carbon_Carbon_h" = "yes"
8245 CARBON_LIBS
="-framework Carbon"
8249 if test "$ac_cv_header_ApplicationServices_ApplicationServices_h" = "yes"
8251 ac_save_LIBS
="$LIBS"
8252 LIBS
="$LIBS $APPLICATIONSERVICES_LIBS"
8253 ac_fn_c_check_func
"$LINENO" "CGDisplayModeGetWidth" "ac_cv_func_CGDisplayModeGetWidth"
8254 if test "x$ac_cv_func_CGDisplayModeGetWidth" = xyes
; then :
8255 enable_winemac_drv
=${enable_winemac_drv:-yes}
8258 LIBS
="$ac_save_LIBS"
8261 if test "x$enable_win16" = "xyes"
8263 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether 16-bit code can be built correctly" >&5
8264 $as_echo_n "checking whether 16-bit code can be built correctly... " >&6; }
8265 if test "$cross_compiling" = yes; then :
8266 { $as_echo "$as_me:${as_lineno-$LINENO}: result: cross-compiling, assuming yes" >&5
8267 $as_echo "cross-compiling, assuming yes" >&6; }
8269 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8270 /* end confdefs.h. */
8273 "good:\tnop;nop\n\t"
8274 ".globl _testfunc\n"
8275 "_testfunc:\tcallw good");
8276 extern void testfunc();
8280 unsigned short *p = (unsigned short *)testfunc;
8281 return p[0] != 0xe866 || p[1] != 0xfffa
8286 if ac_fn_c_try_run
"$LINENO"; then :
8287 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
8288 $as_echo "yes" >&6; }
8290 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8291 $as_echo "no" >&6; }
8292 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
8294 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext \
8295 conftest.
$ac_objext conftest.beam conftest.
$ac_ext
8300 LIBWINE_SHAREDLIB
="libwine.$libwine_version.dylib"
8302 LIBWINE_INSTALL_LIB
="libwine.$libwine_version.dylib libwine.$libwine_soversion.dylib"
8304 LIBWINE_INSTALL_DEV
="libwine.dylib"
8306 LIBWINE_LDFLAGS
="-dynamiclib -install_name @rpath/libwine.$libwine_soversion.dylib -Wl,-rpath,@loader_path/ -compatibility_version $libwine_soversion -current_version $libwine_version"
8308 WINELOADER_DEPENDS
="wine_info.plist"
8313 DLLFLAGS
="$DLLFLAGS -fPIC"
8314 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -Wl,--export-dynamic" >&5
8315 $as_echo_n "checking whether the compiler supports -fPIC -Wl,--export-dynamic... " >&6; }
8316 if ${ac_cv_cflags__fPIC__Wl___export_dynamic+:} false
; then :
8317 $as_echo_n "(cached) " >&6
8319 ac_wine_try_cflags_saved
=$CFLAGS
8320 CFLAGS
="$CFLAGS -fPIC -Wl,--export-dynamic"
8321 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8322 /* end confdefs.h. */
8323 int main(int argc, char **argv) { return 0; }
8325 if ac_fn_c_try_link
"$LINENO"; then :
8326 ac_cv_cflags__fPIC__Wl___export_dynamic
=yes
8328 ac_cv_cflags__fPIC__Wl___export_dynamic
=no
8330 rm -f core conftest.err conftest.
$ac_objext \
8331 conftest
$ac_exeext conftest.
$ac_ext
8332 CFLAGS
=$ac_wine_try_cflags_saved
8334 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fPIC__Wl___export_dynamic" >&5
8335 $as_echo "$ac_cv_cflags__fPIC__Wl___export_dynamic" >&6; }
8336 if test "x$ac_cv_cflags__fPIC__Wl___export_dynamic" = xyes
; then :
8337 LDEXECFLAGS
="-Wl,--export-dynamic"
8339 as_ac_var
=`$as_echo "ac_cv_cflags_-fPIC -Wl,--rpath,\\$ORIGIN/../lib" | $as_tr_sh`
8340 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -Wl,--rpath,\$ORIGIN/../lib" >&5
8341 $as_echo_n "checking whether the compiler supports -fPIC -Wl,--rpath,\$ORIGIN/../lib... " >&6; }
8342 if eval \
${$as_ac_var+:} false
; then :
8343 $as_echo_n "(cached) " >&6
8345 ac_wine_try_cflags_saved
=$CFLAGS
8346 CFLAGS
="$CFLAGS -fPIC -Wl,--rpath,\$ORIGIN/../lib"
8347 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8348 /* end confdefs.h. */
8349 int main(int argc, char **argv) { return 0; }
8351 if ac_fn_c_try_link
"$LINENO"; then :
8352 eval "$as_ac_var=yes"
8354 eval "$as_ac_var=no"
8356 rm -f core conftest.err conftest.
$ac_objext \
8357 conftest
$ac_exeext conftest.
$ac_ext
8358 CFLAGS
=$ac_wine_try_cflags_saved
8360 eval ac_res
=\$
$as_ac_var
8361 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
8362 $as_echo "$ac_res" >&6; }
8363 if eval test \"x\$
"$as_ac_var"\" = x
"yes"; then :
8364 LDRPATH_INSTALL
="-Wl,--rpath,\\\$\$ORIGIN/\`\$(MAKEDEP) -R \${bindir} \${libdir}\`"
8365 LDRPATH_LOCAL
="-Wl,--rpath,\\\$\$ORIGIN/\$(top_builddir)/libs/wine"
8367 as_ac_var
=`$as_echo "ac_cv_cflags_-fPIC -Wl,-R,\\$ORIGIN/../lib" | $as_tr_sh`
8368 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -Wl,-R,\$ORIGIN/../lib" >&5
8369 $as_echo_n "checking whether the compiler supports -fPIC -Wl,-R,\$ORIGIN/../lib... " >&6; }
8370 if eval \
${$as_ac_var+:} false
; then :
8371 $as_echo_n "(cached) " >&6
8373 ac_wine_try_cflags_saved
=$CFLAGS
8374 CFLAGS
="$CFLAGS -fPIC -Wl,-R,\$ORIGIN/../lib"
8375 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8376 /* end confdefs.h. */
8377 int main(int argc, char **argv) { return 0; }
8379 if ac_fn_c_try_link
"$LINENO"; then :
8380 eval "$as_ac_var=yes"
8382 eval "$as_ac_var=no"
8384 rm -f core conftest.err conftest.
$ac_objext \
8385 conftest
$ac_exeext conftest.
$ac_ext
8386 CFLAGS
=$ac_wine_try_cflags_saved
8388 eval ac_res
=\$
$as_ac_var
8389 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
8390 $as_echo "$ac_res" >&6; }
8391 if eval test \"x\$
"$as_ac_var"\" = x
"yes"; then :
8392 LDRPATH_INSTALL
="-Wl,-R,\\\$\$ORIGIN/\`\$(MAKEDEP) -R \${bindir} \${libdir}\`"
8393 LDRPATH_LOCAL
="-Wl,-R,\\\$\$ORIGIN/\$(top_builddir)/libs/wine"
8397 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,--enable-new-dtags" >&5
8398 $as_echo_n "checking whether the compiler supports -Wl,--enable-new-dtags... " >&6; }
8399 if ${ac_cv_cflags__Wl___enable_new_dtags+:} false
; then :
8400 $as_echo_n "(cached) " >&6
8402 ac_wine_try_cflags_saved
=$CFLAGS
8403 CFLAGS
="$CFLAGS -Wl,--enable-new-dtags"
8404 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8405 /* end confdefs.h. */
8406 int main(int argc, char **argv) { return 0; }
8408 if ac_fn_c_try_link
"$LINENO"; then :
8409 ac_cv_cflags__Wl___enable_new_dtags
=yes
8411 ac_cv_cflags__Wl___enable_new_dtags
=no
8413 rm -f core conftest.err conftest.
$ac_objext \
8414 conftest
$ac_exeext conftest.
$ac_ext
8415 CFLAGS
=$ac_wine_try_cflags_saved
8417 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl___enable_new_dtags" >&5
8418 $as_echo "$ac_cv_cflags__Wl___enable_new_dtags" >&6; }
8419 if test "x$ac_cv_cflags__Wl___enable_new_dtags" = xyes
; then :
8420 LDRPATH_INSTALL
="$LDRPATH_INSTALL -Wl,--enable-new-dtags"
8422 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,-pie" >&5
8423 $as_echo_n "checking whether the compiler supports -Wl,-pie... " >&6; }
8424 if ${ac_cv_cflags__Wl__pie+:} false
; then :
8425 $as_echo_n "(cached) " >&6
8427 ac_wine_try_cflags_saved
=$CFLAGS
8428 CFLAGS
="$CFLAGS -Wl,-pie"
8429 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8430 /* end confdefs.h. */
8431 int main(int argc, char **argv) { return 0; }
8433 if ac_fn_c_try_link
"$LINENO"; then :
8434 ac_cv_cflags__Wl__pie
=yes
8436 ac_cv_cflags__Wl__pie
=no
8438 rm -f core conftest.err conftest.
$ac_objext \
8439 conftest
$ac_exeext conftest.
$ac_ext
8440 CFLAGS
=$ac_wine_try_cflags_saved
8442 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl__pie" >&5
8443 $as_echo "$ac_cv_cflags__Wl__pie" >&6; }
8444 if test "x$ac_cv_cflags__Wl__pie" = xyes
; then :
8445 LDRPATH_INSTALL
="$LDRPATH_INSTALL -Wl,-pie"
8448 LIBWINE_SHAREDLIB
="libwine.so"
8450 LIBWINE_INSTALL_LIB
="libwine.so"
8452 LIBWINE_LDFLAGS
="-shared -Wl,-soname,libwine.so"
8457 DLLFLAGS
="$DLLFLAGS -fPIC"
8459 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we can build a GNU style ELF dll" >&5
8460 $as_echo_n "checking whether we can build a GNU style ELF dll... " >&6; }
8461 if ${ac_cv_c_dll_gnuelf+:} false
; then :
8462 $as_echo_n "(cached) " >&6
8464 ac_wine_try_cflags_saved
=$CFLAGS
8465 CFLAGS
="$CFLAGS -fPIC -shared -Wl,-Bsymbolic"
8466 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8467 /* end confdefs.h. */
8470 if ac_fn_c_try_link
"$LINENO"; then :
8471 ac_cv_c_dll_gnuelf
="yes"
8473 ac_cv_c_dll_gnuelf
="no"
8475 rm -f core conftest.err conftest.
$ac_objext \
8476 conftest
$ac_exeext conftest.
$ac_ext
8477 CFLAGS
=$ac_wine_try_cflags_saved
8479 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_dll_gnuelf" >&5
8480 $as_echo "$ac_cv_c_dll_gnuelf" >&6; }
8481 if test "$ac_cv_c_dll_gnuelf" = "yes"
8483 LIBWINE_LDFLAGS
="-shared"
8484 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -shared -Wl,-soname,confest.so.1" >&5
8485 $as_echo_n "checking whether the compiler supports -fPIC -shared -Wl,-soname,confest.so.1... " >&6; }
8486 if ${ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1+:} false
; then :
8487 $as_echo_n "(cached) " >&6
8489 ac_wine_try_cflags_saved
=$CFLAGS
8490 CFLAGS
="$CFLAGS -fPIC -shared -Wl,-soname,confest.so.1"
8491 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8492 /* end confdefs.h. */
8493 int main(int argc, char **argv) { return 0; }
8495 if ac_fn_c_try_link
"$LINENO"; then :
8496 ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1
=yes
8498 ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1
=no
8500 rm -f core conftest.err conftest.
$ac_objext \
8501 conftest
$ac_exeext conftest.
$ac_ext
8502 CFLAGS
=$ac_wine_try_cflags_saved
8504 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1" >&5
8505 $as_echo "$ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1" >&6; }
8506 if test "x$ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1" = xyes
; then :
8507 LIBWINE_LDFLAGS
="-shared -Wl,-soname,libwine.so.$libwine_soversion"
8509 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -shared -Wl,-h,confest.so.1" >&5
8510 $as_echo_n "checking whether the compiler supports -fPIC -shared -Wl,-h,confest.so.1... " >&6; }
8511 if ${ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1+:} false
; then :
8512 $as_echo_n "(cached) " >&6
8514 ac_wine_try_cflags_saved
=$CFLAGS
8515 CFLAGS
="$CFLAGS -fPIC -shared -Wl,-h,confest.so.1"
8516 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8517 /* end confdefs.h. */
8518 int main(int argc, char **argv) { return 0; }
8520 if ac_fn_c_try_link
"$LINENO"; then :
8521 ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1
=yes
8523 ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1
=no
8525 rm -f core conftest.err conftest.
$ac_objext \
8526 conftest
$ac_exeext conftest.
$ac_ext
8527 CFLAGS
=$ac_wine_try_cflags_saved
8529 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1" >&5
8530 $as_echo "$ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1" >&6; }
8531 if test "x$ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1" = xyes
; then :
8532 LIBWINE_LDFLAGS
="-shared -Wl,-h,libwine.so.$libwine_soversion"
8536 echo '{ global: *; };' >conftest.map
8537 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -shared -Wl,--version-script=conftest.map" >&5
8538 $as_echo_n "checking whether the compiler supports -fPIC -shared -Wl,--version-script=conftest.map... " >&6; }
8539 if ${ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map+:} false
; then :
8540 $as_echo_n "(cached) " >&6
8542 ac_wine_try_cflags_saved
=$CFLAGS
8543 CFLAGS
="$CFLAGS -fPIC -shared -Wl,--version-script=conftest.map"
8544 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8545 /* end confdefs.h. */
8546 int main(int argc, char **argv) { return 0; }
8548 if ac_fn_c_try_link
"$LINENO"; then :
8549 ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map
=yes
8551 ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map
=no
8553 rm -f core conftest.err conftest.
$ac_objext \
8554 conftest
$ac_exeext conftest.
$ac_ext
8555 CFLAGS
=$ac_wine_try_cflags_saved
8557 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map" >&5
8558 $as_echo "$ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map" >&6; }
8559 if test "x$ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map" = xyes
; then :
8560 LIBWINE_LDFLAGS
="$LIBWINE_LDFLAGS -Wl,--version-script=\$(srcdir)/wine.map"
8564 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -Wl,--export-dynamic" >&5
8565 $as_echo_n "checking whether the compiler supports -fPIC -Wl,--export-dynamic... " >&6; }
8566 if ${ac_cv_cflags__fPIC__Wl___export_dynamic+:} false
; then :
8567 $as_echo_n "(cached) " >&6
8569 ac_wine_try_cflags_saved
=$CFLAGS
8570 CFLAGS
="$CFLAGS -fPIC -Wl,--export-dynamic"
8571 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8572 /* end confdefs.h. */
8573 int main(int argc, char **argv) { return 0; }
8575 if ac_fn_c_try_link
"$LINENO"; then :
8576 ac_cv_cflags__fPIC__Wl___export_dynamic
=yes
8578 ac_cv_cflags__fPIC__Wl___export_dynamic
=no
8580 rm -f core conftest.err conftest.
$ac_objext \
8581 conftest
$ac_exeext conftest.
$ac_ext
8582 CFLAGS
=$ac_wine_try_cflags_saved
8584 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fPIC__Wl___export_dynamic" >&5
8585 $as_echo "$ac_cv_cflags__fPIC__Wl___export_dynamic" >&6; }
8586 if test "x$ac_cv_cflags__fPIC__Wl___export_dynamic" = xyes
; then :
8587 LDEXECFLAGS
="-Wl,--export-dynamic"
8590 as_ac_var
=`$as_echo "ac_cv_cflags_-fPIC -Wl,--rpath,\\$ORIGIN/../lib" | $as_tr_sh`
8591 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -Wl,--rpath,\$ORIGIN/../lib" >&5
8592 $as_echo_n "checking whether the compiler supports -fPIC -Wl,--rpath,\$ORIGIN/../lib... " >&6; }
8593 if eval \
${$as_ac_var+:} false
; then :
8594 $as_echo_n "(cached) " >&6
8596 ac_wine_try_cflags_saved
=$CFLAGS
8597 CFLAGS
="$CFLAGS -fPIC -Wl,--rpath,\$ORIGIN/../lib"
8598 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8599 /* end confdefs.h. */
8600 int main(int argc, char **argv) { return 0; }
8602 if ac_fn_c_try_link
"$LINENO"; then :
8603 eval "$as_ac_var=yes"
8605 eval "$as_ac_var=no"
8607 rm -f core conftest.err conftest.
$ac_objext \
8608 conftest
$ac_exeext conftest.
$ac_ext
8609 CFLAGS
=$ac_wine_try_cflags_saved
8611 eval ac_res
=\$
$as_ac_var
8612 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
8613 $as_echo "$ac_res" >&6; }
8614 if eval test \"x\$
"$as_ac_var"\" = x
"yes"; then :
8615 LDRPATH_INSTALL
="-Wl,--rpath,\\\$\$ORIGIN/\`\$(MAKEDEP) -R \${bindir} \${libdir}\`"
8616 LDRPATH_LOCAL
="-Wl,--rpath,\\\$\$ORIGIN/\$(top_builddir)/libs/wine"
8618 as_ac_var
=`$as_echo "ac_cv_cflags_-fPIC -Wl,-R,\\$ORIGIN/../lib" | $as_tr_sh`
8619 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -Wl,-R,\$ORIGIN/../lib" >&5
8620 $as_echo_n "checking whether the compiler supports -fPIC -Wl,-R,\$ORIGIN/../lib... " >&6; }
8621 if eval \
${$as_ac_var+:} false
; then :
8622 $as_echo_n "(cached) " >&6
8624 ac_wine_try_cflags_saved
=$CFLAGS
8625 CFLAGS
="$CFLAGS -fPIC -Wl,-R,\$ORIGIN/../lib"
8626 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8627 /* end confdefs.h. */
8628 int main(int argc, char **argv) { return 0; }
8630 if ac_fn_c_try_link
"$LINENO"; then :
8631 eval "$as_ac_var=yes"
8633 eval "$as_ac_var=no"
8635 rm -f core conftest.err conftest.
$ac_objext \
8636 conftest
$ac_exeext conftest.
$ac_ext
8637 CFLAGS
=$ac_wine_try_cflags_saved
8639 eval ac_res
=\$
$as_ac_var
8640 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
8641 $as_echo "$ac_res" >&6; }
8642 if eval test \"x\$
"$as_ac_var"\" = x
"yes"; then :
8643 LDRPATH_INSTALL
="-Wl,-R,\\\$\$ORIGIN/\`\$(MAKEDEP) -R \${bindir} \${libdir}\`"
8644 LDRPATH_LOCAL
="-Wl,-R,\\\$\$ORIGIN/\$(top_builddir)/libs/wine"
8648 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,--enable-new-dtags" >&5
8649 $as_echo_n "checking whether the compiler supports -Wl,--enable-new-dtags... " >&6; }
8650 if ${ac_cv_cflags__Wl___enable_new_dtags+:} false
; then :
8651 $as_echo_n "(cached) " >&6
8653 ac_wine_try_cflags_saved
=$CFLAGS
8654 CFLAGS
="$CFLAGS -Wl,--enable-new-dtags"
8655 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8656 /* end confdefs.h. */
8657 int main(int argc, char **argv) { return 0; }
8659 if ac_fn_c_try_link
"$LINENO"; then :
8660 ac_cv_cflags__Wl___enable_new_dtags
=yes
8662 ac_cv_cflags__Wl___enable_new_dtags
=no
8664 rm -f core conftest.err conftest.
$ac_objext \
8665 conftest
$ac_exeext conftest.
$ac_ext
8666 CFLAGS
=$ac_wine_try_cflags_saved
8668 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl___enable_new_dtags" >&5
8669 $as_echo "$ac_cv_cflags__Wl___enable_new_dtags" >&6; }
8670 if test "x$ac_cv_cflags__Wl___enable_new_dtags" = xyes
; then :
8671 LDRPATH_INSTALL
="$LDRPATH_INSTALL -Wl,--enable-new-dtags"
8675 *i
[3456789]86* | x86_64
)
8676 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,-Ttext-segment=0x7bc00000" >&5
8677 $as_echo_n "checking whether the compiler supports -Wl,-Ttext-segment=0x7bc00000... " >&6; }
8678 if ${ac_cv_cflags__Wl__Ttext_segment_0x7bc00000+:} false
; then :
8679 $as_echo_n "(cached) " >&6
8681 ac_wine_try_cflags_saved
=$CFLAGS
8682 CFLAGS
="$CFLAGS -Wl,-Ttext-segment=0x7bc00000"
8683 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8684 /* end confdefs.h. */
8685 int main(int argc, char **argv) { return 0; }
8687 if ac_fn_c_try_link
"$LINENO"; then :
8688 ac_cv_cflags__Wl__Ttext_segment_0x7bc00000
=yes
8690 ac_cv_cflags__Wl__Ttext_segment_0x7bc00000
=no
8692 rm -f core conftest.err conftest.
$ac_objext \
8693 conftest
$ac_exeext conftest.
$ac_ext
8694 CFLAGS
=$ac_wine_try_cflags_saved
8696 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl__Ttext_segment_0x7bc00000" >&5
8697 $as_echo "$ac_cv_cflags__Wl__Ttext_segment_0x7bc00000" >&6; }
8698 if test "x$ac_cv_cflags__Wl__Ttext_segment_0x7bc00000" = xyes
; then :
8700 freebsd
* | kfreebsd
*-gnu) LDEXECFLAGS
="$LDEXECFLAGS -Wl,-Ttext-segment=0x60000000" ;;
8701 *) LDEXECFLAGS
="$LDEXECFLAGS -Wl,-Ttext-segment=0x7c000000" ;;
8704 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,--section-start,.interp=0x7c000400" >&5
8705 $as_echo_n "checking whether the compiler supports -Wl,--section-start,.interp=0x7c000400... " >&6; }
8706 if ${ac_cv_cflags__Wl___section_start__interp_0x7c000400+:} false
; then :
8707 $as_echo_n "(cached) " >&6
8709 ac_wine_try_cflags_saved
=$CFLAGS
8710 CFLAGS
="$CFLAGS -Wl,--section-start,.interp=0x7c000400"
8711 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8712 /* end confdefs.h. */
8713 int main(int argc, char **argv) { return 0; }
8715 if ac_fn_c_try_link
"$LINENO"; then :
8716 ac_cv_cflags__Wl___section_start__interp_0x7c000400
=yes
8718 ac_cv_cflags__Wl___section_start__interp_0x7c000400
=no
8720 rm -f core conftest.err conftest.
$ac_objext \
8721 conftest
$ac_exeext conftest.
$ac_ext
8722 CFLAGS
=$ac_wine_try_cflags_saved
8724 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl___section_start__interp_0x7c000400" >&5
8725 $as_echo "$ac_cv_cflags__Wl___section_start__interp_0x7c000400" >&6; }
8726 if test "x$ac_cv_cflags__Wl___section_start__interp_0x7c000400" = xyes
; then :
8728 freebsd
* | kfreebsd
*-gnu) LDEXECFLAGS
="$LDEXECFLAGS -Wl,--section-start,.interp=0x60000400" ;;
8729 *) LDEXECFLAGS
="$LDEXECFLAGS -Wl,--section-start,.interp=0x7c000400" ;;
8732 # Extract the first word of "prelink", so it can be a program name with args.
8733 set dummy prelink
; ac_word
=$2
8734 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8735 $as_echo_n "checking for $ac_word... " >&6; }
8736 if ${ac_cv_path_PRELINK+:} false
; then :
8737 $as_echo_n "(cached) " >&6
8741 ac_cv_path_PRELINK
="$PRELINK" # Let the user override the test with a path.
8744 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
8745 for as_dir
in /sbin
/usr
/sbin
$PATH
8748 test -z "$as_dir" && as_dir
=.
8749 for ac_exec_ext
in '' $ac_executable_extensions; do
8750 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
8751 ac_cv_path_PRELINK
="$as_dir/$ac_word$ac_exec_ext"
8752 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8759 test -z "$ac_cv_path_PRELINK" && ac_cv_path_PRELINK
="false"
8763 PRELINK
=$ac_cv_path_PRELINK
8764 if test -n "$PRELINK"; then
8765 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PRELINK" >&5
8766 $as_echo "$PRELINK" >&6; }
8768 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8769 $as_echo "no" >&6; }
8773 if test "x$PRELINK" = xfalse
8775 as_fn_append wine_warnings
"|prelink not found and linker does not support relocation, base address of core dlls won't be set correctly."
8778 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,-z,max-page-size=0x1000" >&5
8779 $as_echo_n "checking whether the compiler supports -Wl,-z,max-page-size=0x1000... " >&6; }
8780 if ${ac_cv_cflags__Wl__z_max_page_size_0x1000+:} false
; then :
8781 $as_echo_n "(cached) " >&6
8783 ac_wine_try_cflags_saved
=$CFLAGS
8784 CFLAGS
="$CFLAGS -Wl,-z,max-page-size=0x1000"
8785 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8786 /* end confdefs.h. */
8787 int main(int argc, char **argv) { return 0; }
8789 if ac_fn_c_try_link
"$LINENO"; then :
8790 ac_cv_cflags__Wl__z_max_page_size_0x1000
=yes
8792 ac_cv_cflags__Wl__z_max_page_size_0x1000
=no
8794 rm -f core conftest.err conftest.
$ac_objext \
8795 conftest
$ac_exeext conftest.
$ac_ext
8796 CFLAGS
=$ac_wine_try_cflags_saved
8798 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl__z_max_page_size_0x1000" >&5
8799 $as_echo "$ac_cv_cflags__Wl__z_max_page_size_0x1000" >&6; }
8800 if test "x$ac_cv_cflags__Wl__z_max_page_size_0x1000" = xyes
; then :
8801 LDEXECFLAGS
="$LDEXECFLAGS -Wl,-z,max-page-size=0x1000"
8807 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we can build a UnixWare (Solaris) dll" >&5
8808 $as_echo_n "checking whether we can build a UnixWare (Solaris) dll... " >&6; }
8809 if ${ac_cv_c_dll_unixware+:} false
; then :
8810 $as_echo_n "(cached) " >&6
8812 ac_wine_try_cflags_saved
=$CFLAGS
8813 CFLAGS
="$CFLAGS -fPIC -Wl,-G,-h,conftest.so.1.0,-B,symbolic"
8814 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8815 /* end confdefs.h. */
8818 if ac_fn_c_try_link
"$LINENO"; then :
8819 ac_cv_c_dll_unixware
="yes"
8821 ac_cv_c_dll_unixware
="no"
8823 rm -f core conftest.err conftest.
$ac_objext \
8824 conftest
$ac_exeext conftest.
$ac_ext
8825 CFLAGS
=$ac_wine_try_cflags_saved
8827 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_dll_unixware" >&5
8828 $as_echo "$ac_cv_c_dll_unixware" >&6; }
8829 if test "$ac_cv_c_dll_unixware" = "yes"
8831 LIBWINE_LDFLAGS
="-Wl,-G,-h,libwine.so.$libwine_soversion"
8834 LIBWINE_SHAREDLIB
="libwine.so.$libwine_version"
8836 LIBWINE_INSTALL_LIB
="libwine.so.$libwine_version libwine.so.$libwine_soversion"
8838 LIBWINE_INSTALL_DEV
="libwine.so"
8840 LIBWINE_DEPENDS
="wine.map"
8845 enable_winecoreaudio_drv
=${enable_winecoreaudio_drv:-no}
8846 enable_wineqtdecoder
=${enable_wineqtdecoder:-no}
8847 enable_winemac_drv
=${enable_winemac_drv:-no}
8848 test "$ac_cv_header_linux_joystick_h" = "yes" -o "$ac_cv_header_IOKit_hid_IOHIDLib_h" = "yes" || enable_winejoystick_drv
=${enable_winejoystick_drv:-no}
8852 if test "x$enable_tests" != xno
-a "$LIBEXT" != "dll"
8856 ac_prefix_list
="armv7-w64-mingw32-clang armv7-w64-mingw32-gcc" ;;
8858 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
8859 i686-w64-mingw32-clang i586-w64-mingw32-clang i486-w64-mingw32-clang i386-w64-mingw32-clang
8862 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
8863 x86_64-w64-mingw32-clang amd64-w64-mingw32-clang " ;;
8865 ac_prefix_list
="" ;;
8867 for ac_prog
in $ac_prefix_list
8869 # Extract the first word of "$ac_prog", so it can be a program name with args.
8870 set dummy
$ac_prog; ac_word
=$2
8871 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8872 $as_echo_n "checking for $ac_word... " >&6; }
8873 if ${ac_cv_prog_CROSSCC+:} false
; then :
8874 $as_echo_n "(cached) " >&6
8876 if test -n "$CROSSCC"; then
8877 ac_cv_prog_CROSSCC
="$CROSSCC" # Let the user override the test.
8879 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
8883 test -z "$as_dir" && as_dir
=.
8884 for ac_exec_ext
in '' $ac_executable_extensions; do
8885 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
8886 ac_cv_prog_CROSSCC
="$ac_prog"
8887 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8896 CROSSCC
=$ac_cv_prog_CROSSCC
8897 if test -n "$CROSSCC"; then
8898 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CROSSCC" >&5
8899 $as_echo "$CROSSCC" >&6; }
8901 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8902 $as_echo "no" >&6; }
8906 test -n "$CROSSCC" && break
8908 test -n "$CROSSCC" || CROSSCC
="false"
8910 if test "$CROSSCC" != "false"
8914 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CROSSCC works" >&5
8915 $as_echo_n "checking whether $CROSSCC works... " >&6; }
8916 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8917 /* end confdefs.h. */
8927 if ac_fn_c_try_compile
"$LINENO"; then :
8928 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
8929 $as_echo "yes" >&6; }
8935 *-gcc) CROSSTARGET
=`expr "$1" : '\(.*\)-gcc'` ;;
8936 *-clang) CROSSTARGET
=`expr "$1" : '\(.*\)-clang'` ;;
8941 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8942 $as_echo "no" >&6; }
8944 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
8950 if test "$ac_cv_header_pthread_h" = "yes"
8952 ac_fn_c_check_func
"$LINENO" "pthread_create" "ac_cv_func_pthread_create"
8953 if test "x$ac_cv_func_pthread_create" = xyes
; then :
8956 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pthread_create in -lpthread" >&5
8957 $as_echo_n "checking for pthread_create in -lpthread... " >&6; }
8958 if ${ac_cv_lib_pthread_pthread_create+:} false
; then :
8959 $as_echo_n "(cached) " >&6
8961 ac_check_lib_save_LIBS
=$LIBS
8962 LIBS
="-lpthread $LIBS"
8963 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8964 /* end confdefs.h. */
8966 /* Override any GCC internal prototype to avoid an error.
8967 Use char because int might match the return type of a GCC
8968 builtin and then its argument prototype would still apply. */
8972 char pthread_create ();
8976 return pthread_create ();
8981 if ac_fn_c_try_link
"$LINENO"; then :
8982 ac_cv_lib_pthread_pthread_create
=yes
8984 ac_cv_lib_pthread_pthread_create
=no
8986 rm -f core conftest.err conftest.
$ac_objext \
8987 conftest
$ac_exeext conftest.
$ac_ext
8988 LIBS
=$ac_check_lib_save_LIBS
8990 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_pthread_pthread_create" >&5
8991 $as_echo "$ac_cv_lib_pthread_pthread_create" >&6; }
8992 if test "x$ac_cv_lib_pthread_pthread_create" = xyes
; then :
8993 PTHREAD_LIBS
="-lpthread"
9000 if test "x$ac_cv_func_pthread_create" != xyes
-a "x$PTHREAD_LIBS" = x
; then :
9001 case "x$with_pthread" in
9003 *) as_fn_error $?
"pthread ${notice_platform}development files not found.
9004 Wine cannot support threads without libpthread.
9005 Use the --without-pthread option if you really want this." "$LINENO" 5 ;;
9011 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for X" >&5
9012 $as_echo_n "checking for X... " >&6; }
9015 # Check whether --with-x was given.
9016 if test "${with_x+set}" = set; then :
9020 # $have_x is `yes', `no', `disabled', or empty when we do not yet know.
9021 if test "x$with_x" = xno
; then
9022 # The user explicitly disabled X.
9025 case $x_includes,$x_libraries in #(
9026 *\'*) as_fn_error $?
"cannot use X directory names containing '" "$LINENO" 5;; #(
9027 *,NONE | NONE
,*) if ${ac_cv_have_x+:} false
; then :
9028 $as_echo_n "(cached) " >&6
9030 # One or both of the vars are not set, and there is no cached value.
9031 ac_x_includes
=no ac_x_libraries
=no
9032 rm -f -r conftest.dir
9033 if mkdir conftest.dir
; then
9035 cat >Imakefile
<<'_ACEOF'
9037 @echo incroot='${INCROOT}'
9039 @echo usrlibdir='${USRLIBDIR}'
9041 @echo libdir='${LIBDIR}'
9043 if (export CC
; ${XMKMF-xmkmf}) >/dev
/null
2>/dev
/null
&& test -f Makefile
; then
9044 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
9045 for ac_var
in incroot usrlibdir libdir
; do
9046 eval "ac_im_$ac_var=\`\${MAKE-make} $ac_var 2>/dev/null | sed -n 's/^$ac_var=//p'\`"
9048 # Open Windows xmkmf reportedly sets LIBDIR instead of USRLIBDIR.
9049 for ac_extension
in a so sl dylib la dll
; do
9050 if test ! -f "$ac_im_usrlibdir/libX11.$ac_extension" &&
9051 test -f "$ac_im_libdir/libX11.$ac_extension"; then
9052 ac_im_usrlibdir
=$ac_im_libdir; break
9055 # Screen out bogus values from the imake configuration. They are
9056 # bogus both because they are the default anyway, and because
9057 # using them would break gcc on systems where it needs fixed includes.
9058 case $ac_im_incroot in
9059 /usr
/include
) ac_x_includes
= ;;
9060 *) test -f "$ac_im_incroot/X11/Xos.h" && ac_x_includes
=$ac_im_incroot;;
9062 case $ac_im_usrlibdir in
9063 /usr
/lib |
/usr
/lib64 |
/lib |
/lib64
) ;;
9064 *) test -d "$ac_im_usrlibdir" && ac_x_libraries
=$ac_im_usrlibdir ;;
9068 rm -f -r conftest.dir
9071 # Standard set of common directories for X headers.
9072 # Check X11 before X11Rn because it is often a symlink to the current release.
9086 /usr/local/X11/include
9087 /usr/local/X11R7/include
9088 /usr/local/X11R6/include
9089 /usr/local/X11R5/include
9090 /usr/local/X11R4/include
9092 /usr/local/include/X11
9093 /usr/local/include/X11R7
9094 /usr/local/include/X11R6
9095 /usr/local/include/X11R5
9096 /usr/local/include/X11R4
9100 /usr/XFree86/include/X11
9104 /usr/unsupported/include
9106 /usr/local/x11r5/include
9107 /usr/lpp/Xamples/include
9109 /usr/openwin/include
9110 /usr/openwin/share/include'
9112 if test "$ac_x_includes" = no
; then
9113 # Guess where to find include files, by looking for Xlib.h.
9114 # First, try using that file with no special directory specified.
9115 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9116 /* end confdefs.h. */
9117 #include <X11/Xlib.h>
9119 if ac_fn_c_try_cpp
"$LINENO"; then :
9120 # We can compile using X headers with no special include directory.
9123 for ac_dir
in $ac_x_header_dirs; do
9124 if test -r "$ac_dir/X11/Xlib.h"; then
9125 ac_x_includes
=$ac_dir
9130 rm -f conftest.err conftest.i conftest.
$ac_ext
9131 fi # $ac_x_includes = no
9133 if test "$ac_x_libraries" = no
; then
9134 # Check for the libraries.
9135 # See if we find them without any special options.
9136 # Don't add to $LIBS permanently.
9139 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9140 /* end confdefs.h. */
9141 #include <X11/Xlib.h>
9150 if ac_fn_c_try_link
"$LINENO"; then :
9152 # We can link X programs with no special library path.
9156 for ac_dir
in `$as_echo "$ac_x_includes $ac_x_header_dirs" | sed s/include/lib/g`
9158 # Don't even attempt the hair of trying to link an X program!
9159 for ac_extension
in a so sl dylib la dll
; do
9160 if test -r "$ac_dir/libX11.$ac_extension"; then
9161 ac_x_libraries
=$ac_dir
9167 rm -f core conftest.err conftest.
$ac_objext \
9168 conftest
$ac_exeext conftest.
$ac_ext
9169 fi # $ac_x_libraries = no
9171 case $ac_x_includes,$ac_x_libraries in #(
9173 # Didn't find X, or a directory has "'" in its name.
9174 ac_cv_have_x
="have_x=no";; #(
9176 # Record where we found X for the cache.
9177 ac_cv_have_x
="have_x=yes\
9178 ac_x_includes='$ac_x_includes'\
9179 ac_x_libraries='$ac_x_libraries'"
9185 eval "$ac_cv_have_x"
9188 if test "$have_x" != yes; then
9189 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $have_x" >&5
9190 $as_echo "$have_x" >&6; }
9193 # If each of the values was on the command line, it overrides each guess.
9194 test "x$x_includes" = xNONE
&& x_includes
=$ac_x_includes
9195 test "x$x_libraries" = xNONE
&& x_libraries
=$ac_x_libraries
9196 # Update the cache value to reflect the command line values.
9197 ac_cv_have_x
="have_x=yes\
9198 ac_x_includes='$x_includes'\
9199 ac_x_libraries='$x_libraries'"
9200 { $as_echo "$as_me:${as_lineno-$LINENO}: result: libraries $x_libraries, headers $x_includes" >&5
9201 $as_echo "libraries $x_libraries, headers $x_includes" >&6; }
9204 if test "$no_x" = yes; then
9205 # Not all programs may use this symbol, but it does not hurt to define it.
9207 $as_echo "#define X_DISPLAY_MISSING 1" >>confdefs.h
9209 X_CFLAGS
= X_PRE_LIBS
= X_LIBS
= X_EXTRA_LIBS
=
9211 if test -n "$x_includes"; then
9212 X_CFLAGS
="$X_CFLAGS -I$x_includes"
9215 # It would also be nice to do this for all -L options, not just this one.
9216 if test -n "$x_libraries"; then
9217 X_LIBS
="$X_LIBS -L$x_libraries"
9218 # For Solaris; some versions of Sun CC require a space after -R and
9219 # others require no space. Words are not sufficient . . . .
9220 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -R must be followed by a space" >&5
9221 $as_echo_n "checking whether -R must be followed by a space... " >&6; }
9222 ac_xsave_LIBS
=$LIBS; LIBS
="$LIBS -R$x_libraries"
9223 ac_xsave_c_werror_flag
=$ac_c_werror_flag
9224 ac_c_werror_flag
=yes
9225 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9226 /* end confdefs.h. */
9236 if ac_fn_c_try_link
"$LINENO"; then :
9237 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9238 $as_echo "no" >&6; }
9239 X_LIBS
="$X_LIBS -R$x_libraries"
9241 LIBS
="$ac_xsave_LIBS -R $x_libraries"
9242 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9243 /* end confdefs.h. */
9253 if ac_fn_c_try_link
"$LINENO"; then :
9254 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
9255 $as_echo "yes" >&6; }
9256 X_LIBS
="$X_LIBS -R $x_libraries"
9258 { $as_echo "$as_me:${as_lineno-$LINENO}: result: neither works" >&5
9259 $as_echo "neither works" >&6; }
9261 rm -f core conftest.err conftest.
$ac_objext \
9262 conftest
$ac_exeext conftest.
$ac_ext
9264 rm -f core conftest.err conftest.
$ac_objext \
9265 conftest
$ac_exeext conftest.
$ac_ext
9266 ac_c_werror_flag
=$ac_xsave_c_werror_flag
9270 # Check for system-dependent libraries X programs must link with.
9271 # Do this before checking for the system-independent R6 libraries
9272 # (-lICE), since we may need -lsocket or whatever for X linking.
9274 if test "$ISC" = yes; then
9275 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lnsl_s -linet"
9277 # Martyn Johnson says this is needed for Ultrix, if the X
9278 # libraries were built with DECnet support. And Karl Berry says
9279 # the Alpha needs dnet_stub (dnet does not exist).
9280 ac_xsave_LIBS
="$LIBS"; LIBS
="$LIBS $X_LIBS -lX11"
9281 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9282 /* end confdefs.h. */
9284 /* Override any GCC internal prototype to avoid an error.
9285 Use char because int might match the return type of a GCC
9286 builtin and then its argument prototype would still apply. */
9290 char XOpenDisplay ();
9294 return XOpenDisplay ();
9299 if ac_fn_c_try_link
"$LINENO"; then :
9302 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dnet_ntoa in -ldnet" >&5
9303 $as_echo_n "checking for dnet_ntoa in -ldnet... " >&6; }
9304 if ${ac_cv_lib_dnet_dnet_ntoa+:} false
; then :
9305 $as_echo_n "(cached) " >&6
9307 ac_check_lib_save_LIBS
=$LIBS
9309 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9310 /* end confdefs.h. */
9312 /* Override any GCC internal prototype to avoid an error.
9313 Use char because int might match the return type of a GCC
9314 builtin and then its argument prototype would still apply. */
9322 return dnet_ntoa ();
9327 if ac_fn_c_try_link
"$LINENO"; then :
9328 ac_cv_lib_dnet_dnet_ntoa
=yes
9330 ac_cv_lib_dnet_dnet_ntoa
=no
9332 rm -f core conftest.err conftest.
$ac_objext \
9333 conftest
$ac_exeext conftest.
$ac_ext
9334 LIBS
=$ac_check_lib_save_LIBS
9336 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dnet_dnet_ntoa" >&5
9337 $as_echo "$ac_cv_lib_dnet_dnet_ntoa" >&6; }
9338 if test "x$ac_cv_lib_dnet_dnet_ntoa" = xyes
; then :
9339 X_EXTRA_LIBS
="$X_EXTRA_LIBS -ldnet"
9342 if test $ac_cv_lib_dnet_dnet_ntoa = no
; then
9343 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dnet_ntoa in -ldnet_stub" >&5
9344 $as_echo_n "checking for dnet_ntoa in -ldnet_stub... " >&6; }
9345 if ${ac_cv_lib_dnet_stub_dnet_ntoa+:} false
; then :
9346 $as_echo_n "(cached) " >&6
9348 ac_check_lib_save_LIBS
=$LIBS
9349 LIBS
="-ldnet_stub $LIBS"
9350 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9351 /* end confdefs.h. */
9353 /* Override any GCC internal prototype to avoid an error.
9354 Use char because int might match the return type of a GCC
9355 builtin and then its argument prototype would still apply. */
9363 return dnet_ntoa ();
9368 if ac_fn_c_try_link
"$LINENO"; then :
9369 ac_cv_lib_dnet_stub_dnet_ntoa
=yes
9371 ac_cv_lib_dnet_stub_dnet_ntoa
=no
9373 rm -f core conftest.err conftest.
$ac_objext \
9374 conftest
$ac_exeext conftest.
$ac_ext
9375 LIBS
=$ac_check_lib_save_LIBS
9377 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dnet_stub_dnet_ntoa" >&5
9378 $as_echo "$ac_cv_lib_dnet_stub_dnet_ntoa" >&6; }
9379 if test "x$ac_cv_lib_dnet_stub_dnet_ntoa" = xyes
; then :
9380 X_EXTRA_LIBS
="$X_EXTRA_LIBS -ldnet_stub"
9385 rm -f core conftest.err conftest.
$ac_objext \
9386 conftest
$ac_exeext conftest.
$ac_ext
9387 LIBS
="$ac_xsave_LIBS"
9389 # msh@cis.ufl.edu says -lnsl (and -lsocket) are needed for his 386/AT,
9390 # to get the SysV transport functions.
9391 # Chad R. Larson says the Pyramis MIS-ES running DC/OSx (SVR4)
9393 # The nsl library prevents programs from opening the X display
9394 # on Irix 5.2, according to T.E. Dickey.
9395 # The functions gethostbyname, getservbyname, and inet_addr are
9396 # in -lbsd on LynxOS 3.0.1/i386, according to Lars Hecking.
9397 ac_fn_c_check_func
"$LINENO" "gethostbyname" "ac_cv_func_gethostbyname"
9398 if test "x$ac_cv_func_gethostbyname" = xyes
; then :
9402 if test $ac_cv_func_gethostbyname = no
; then
9403 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gethostbyname in -lnsl" >&5
9404 $as_echo_n "checking for gethostbyname in -lnsl... " >&6; }
9405 if ${ac_cv_lib_nsl_gethostbyname+:} false
; then :
9406 $as_echo_n "(cached) " >&6
9408 ac_check_lib_save_LIBS
=$LIBS
9410 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9411 /* end confdefs.h. */
9413 /* Override any GCC internal prototype to avoid an error.
9414 Use char because int might match the return type of a GCC
9415 builtin and then its argument prototype would still apply. */
9419 char gethostbyname ();
9423 return gethostbyname ();
9428 if ac_fn_c_try_link
"$LINENO"; then :
9429 ac_cv_lib_nsl_gethostbyname
=yes
9431 ac_cv_lib_nsl_gethostbyname
=no
9433 rm -f core conftest.err conftest.
$ac_objext \
9434 conftest
$ac_exeext conftest.
$ac_ext
9435 LIBS
=$ac_check_lib_save_LIBS
9437 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_nsl_gethostbyname" >&5
9438 $as_echo "$ac_cv_lib_nsl_gethostbyname" >&6; }
9439 if test "x$ac_cv_lib_nsl_gethostbyname" = xyes
; then :
9440 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lnsl"
9443 if test $ac_cv_lib_nsl_gethostbyname = no
; then
9444 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gethostbyname in -lbsd" >&5
9445 $as_echo_n "checking for gethostbyname in -lbsd... " >&6; }
9446 if ${ac_cv_lib_bsd_gethostbyname+:} false
; then :
9447 $as_echo_n "(cached) " >&6
9449 ac_check_lib_save_LIBS
=$LIBS
9451 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9452 /* end confdefs.h. */
9454 /* Override any GCC internal prototype to avoid an error.
9455 Use char because int might match the return type of a GCC
9456 builtin and then its argument prototype would still apply. */
9460 char gethostbyname ();
9464 return gethostbyname ();
9469 if ac_fn_c_try_link
"$LINENO"; then :
9470 ac_cv_lib_bsd_gethostbyname
=yes
9472 ac_cv_lib_bsd_gethostbyname
=no
9474 rm -f core conftest.err conftest.
$ac_objext \
9475 conftest
$ac_exeext conftest.
$ac_ext
9476 LIBS
=$ac_check_lib_save_LIBS
9478 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_bsd_gethostbyname" >&5
9479 $as_echo "$ac_cv_lib_bsd_gethostbyname" >&6; }
9480 if test "x$ac_cv_lib_bsd_gethostbyname" = xyes
; then :
9481 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lbsd"
9487 # lieder@skyler.mavd.honeywell.com says without -lsocket,
9488 # socket/setsockopt and other routines are undefined under SCO ODT
9489 # 2.0. But -lsocket is broken on IRIX 5.2 (and is not necessary
9490 # on later versions), says Simon Leinen: it contains gethostby*
9491 # variants that don't use the name server (or something). -lsocket
9492 # must be given before -lnsl if both are needed. We assume that
9493 # if connect needs -lnsl, so does gethostbyname.
9494 ac_fn_c_check_func
"$LINENO" "connect" "ac_cv_func_connect"
9495 if test "x$ac_cv_func_connect" = xyes
; then :
9499 if test $ac_cv_func_connect = no
; then
9500 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for connect in -lsocket" >&5
9501 $as_echo_n "checking for connect in -lsocket... " >&6; }
9502 if ${ac_cv_lib_socket_connect+:} false
; then :
9503 $as_echo_n "(cached) " >&6
9505 ac_check_lib_save_LIBS
=$LIBS
9506 LIBS
="-lsocket $X_EXTRA_LIBS $LIBS"
9507 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9508 /* end confdefs.h. */
9510 /* Override any GCC internal prototype to avoid an error.
9511 Use char because int might match the return type of a GCC
9512 builtin and then its argument prototype would still apply. */
9525 if ac_fn_c_try_link
"$LINENO"; then :
9526 ac_cv_lib_socket_connect
=yes
9528 ac_cv_lib_socket_connect
=no
9530 rm -f core conftest.err conftest.
$ac_objext \
9531 conftest
$ac_exeext conftest.
$ac_ext
9532 LIBS
=$ac_check_lib_save_LIBS
9534 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_socket_connect" >&5
9535 $as_echo "$ac_cv_lib_socket_connect" >&6; }
9536 if test "x$ac_cv_lib_socket_connect" = xyes
; then :
9537 X_EXTRA_LIBS
="-lsocket $X_EXTRA_LIBS"
9542 # Guillermo Gomez says -lposix is necessary on A/UX.
9543 ac_fn_c_check_func
"$LINENO" "remove" "ac_cv_func_remove"
9544 if test "x$ac_cv_func_remove" = xyes
; then :
9548 if test $ac_cv_func_remove = no
; then
9549 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for remove in -lposix" >&5
9550 $as_echo_n "checking for remove in -lposix... " >&6; }
9551 if ${ac_cv_lib_posix_remove+:} false
; then :
9552 $as_echo_n "(cached) " >&6
9554 ac_check_lib_save_LIBS
=$LIBS
9555 LIBS
="-lposix $LIBS"
9556 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9557 /* end confdefs.h. */
9559 /* Override any GCC internal prototype to avoid an error.
9560 Use char because int might match the return type of a GCC
9561 builtin and then its argument prototype would still apply. */
9574 if ac_fn_c_try_link
"$LINENO"; then :
9575 ac_cv_lib_posix_remove
=yes
9577 ac_cv_lib_posix_remove
=no
9579 rm -f core conftest.err conftest.
$ac_objext \
9580 conftest
$ac_exeext conftest.
$ac_ext
9581 LIBS
=$ac_check_lib_save_LIBS
9583 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_posix_remove" >&5
9584 $as_echo "$ac_cv_lib_posix_remove" >&6; }
9585 if test "x$ac_cv_lib_posix_remove" = xyes
; then :
9586 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lposix"
9591 # BSDI BSD/OS 2.1 needs -lipc for XOpenDisplay.
9592 ac_fn_c_check_func
"$LINENO" "shmat" "ac_cv_func_shmat"
9593 if test "x$ac_cv_func_shmat" = xyes
; then :
9597 if test $ac_cv_func_shmat = no
; then
9598 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shmat in -lipc" >&5
9599 $as_echo_n "checking for shmat in -lipc... " >&6; }
9600 if ${ac_cv_lib_ipc_shmat+:} false
; then :
9601 $as_echo_n "(cached) " >&6
9603 ac_check_lib_save_LIBS
=$LIBS
9605 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9606 /* end confdefs.h. */
9608 /* Override any GCC internal prototype to avoid an error.
9609 Use char because int might match the return type of a GCC
9610 builtin and then its argument prototype would still apply. */
9623 if ac_fn_c_try_link
"$LINENO"; then :
9624 ac_cv_lib_ipc_shmat
=yes
9626 ac_cv_lib_ipc_shmat
=no
9628 rm -f core conftest.err conftest.
$ac_objext \
9629 conftest
$ac_exeext conftest.
$ac_ext
9630 LIBS
=$ac_check_lib_save_LIBS
9632 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ipc_shmat" >&5
9633 $as_echo "$ac_cv_lib_ipc_shmat" >&6; }
9634 if test "x$ac_cv_lib_ipc_shmat" = xyes
; then :
9635 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lipc"
9641 # Check for libraries that X11R6 Xt/Xaw programs need.
9642 ac_save_LDFLAGS
=$LDFLAGS
9643 test -n "$x_libraries" && LDFLAGS
="$LDFLAGS -L$x_libraries"
9644 # SM needs ICE to (dynamically) link under SunOS 4.x (so we have to
9645 # check for ICE first), but we must link in the order -lSM -lICE or
9646 # we get undefined symbols. So assume we have SM if we have ICE.
9647 # These have to be linked with before -lX11, unlike the other
9648 # libraries we check for below, so use a different variable.
9649 # John Interrante, Karl Berry
9650 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for IceConnectionNumber in -lICE" >&5
9651 $as_echo_n "checking for IceConnectionNumber in -lICE... " >&6; }
9652 if ${ac_cv_lib_ICE_IceConnectionNumber+:} false
; then :
9653 $as_echo_n "(cached) " >&6
9655 ac_check_lib_save_LIBS
=$LIBS
9656 LIBS
="-lICE $X_EXTRA_LIBS $LIBS"
9657 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9658 /* end confdefs.h. */
9660 /* Override any GCC internal prototype to avoid an error.
9661 Use char because int might match the return type of a GCC
9662 builtin and then its argument prototype would still apply. */
9666 char IceConnectionNumber ();
9670 return IceConnectionNumber ();
9675 if ac_fn_c_try_link
"$LINENO"; then :
9676 ac_cv_lib_ICE_IceConnectionNumber
=yes
9678 ac_cv_lib_ICE_IceConnectionNumber
=no
9680 rm -f core conftest.err conftest.
$ac_objext \
9681 conftest
$ac_exeext conftest.
$ac_ext
9682 LIBS
=$ac_check_lib_save_LIBS
9684 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ICE_IceConnectionNumber" >&5
9685 $as_echo "$ac_cv_lib_ICE_IceConnectionNumber" >&6; }
9686 if test "x$ac_cv_lib_ICE_IceConnectionNumber" = xyes
; then :
9687 X_PRE_LIBS
="$X_PRE_LIBS -lSM -lICE"
9690 LDFLAGS
=$ac_save_LDFLAGS
9695 if test "$have_x" = "yes"
9697 ac_save_CPPFLAGS
="$CPPFLAGS"
9698 CPPFLAGS
="$CPPFLAGS $X_CFLAGS"
9700 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lX11" >&5
9701 $as_echo_n "checking for -lX11... " >&6; }
9702 if ${ac_cv_lib_soname_X11+:} false
; then :
9703 $as_echo_n "(cached) " >&6
9705 ac_check_soname_save_LIBS
=$LIBS
9706 LIBS
="-lX11 $X_LIBS $X_EXTRA_LIBS $LIBS"
9707 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9708 /* end confdefs.h. */
9710 /* Override any GCC internal prototype to avoid an error.
9711 Use char because int might match the return type of a GCC
9712 builtin and then its argument prototype would still apply. */
9716 char XCreateWindow ();
9720 return XCreateWindow ();
9725 if ac_fn_c_try_link
"$LINENO"; then :
9727 dll
) ac_cv_lib_soname_X11
=`$ac_cv_path_LDD conftest.exe | grep "X11" | sed -e "s/dll.*/dll/"';2,$d'` ;;
9728 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'` ;;
9729 *) ac_cv_lib_soname_X11
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libX11\\.$LIBEXT" | sed -e "s/^.*\\[\\(libX11\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
9730 if ${ac_cv_lib_soname_X11:+false} :; then :
9731 ac_cv_lib_soname_X11
=`$LDD conftest$ac_exeext | grep "libX11\\.$LIBEXT" | sed -e "s/^.*\(libX11\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
9735 rm -f core conftest.err conftest.
$ac_objext \
9736 conftest
$ac_exeext conftest.
$ac_ext
9737 LIBS
=$ac_check_soname_save_LIBS
9739 if ${ac_cv_lib_soname_X11:+false} :; then :
9740 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
9741 $as_echo "not found" >&6; }
9744 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_X11" >&5
9745 $as_echo "$ac_cv_lib_soname_X11" >&6; }
9747 cat >>confdefs.h
<<_ACEOF
9748 #define SONAME_LIBX11 "$ac_cv_lib_soname_X11"
9753 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXext" >&5
9754 $as_echo_n "checking for -lXext... " >&6; }
9755 if ${ac_cv_lib_soname_Xext+:} false
; then :
9756 $as_echo_n "(cached) " >&6
9758 ac_check_soname_save_LIBS
=$LIBS
9759 LIBS
="-lXext $X_LIBS -lX11 $X_EXTRA_LIBS $LIBS"
9760 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9761 /* end confdefs.h. */
9763 /* Override any GCC internal prototype to avoid an error.
9764 Use char because int might match the return type of a GCC
9765 builtin and then its argument prototype would still apply. */
9769 char XextCreateExtension ();
9773 return XextCreateExtension ();
9778 if ac_fn_c_try_link
"$LINENO"; then :
9780 dll
) ac_cv_lib_soname_Xext
=`$ac_cv_path_LDD conftest.exe | grep "Xext" | sed -e "s/dll.*/dll/"';2,$d'` ;;
9781 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'` ;;
9782 *) ac_cv_lib_soname_Xext
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXext\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXext\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
9783 if ${ac_cv_lib_soname_Xext:+false} :; then :
9784 ac_cv_lib_soname_Xext
=`$LDD conftest$ac_exeext | grep "libXext\\.$LIBEXT" | sed -e "s/^.*\(libXext\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
9788 rm -f core conftest.err conftest.
$ac_objext \
9789 conftest
$ac_exeext conftest.
$ac_ext
9790 LIBS
=$ac_check_soname_save_LIBS
9792 if ${ac_cv_lib_soname_Xext:+false} :; then :
9793 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
9794 $as_echo "not found" >&6; }
9797 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xext" >&5
9798 $as_echo "$ac_cv_lib_soname_Xext" >&6; }
9800 cat >>confdefs.h
<<_ACEOF
9801 #define SONAME_LIBXEXT "$ac_cv_lib_soname_Xext"
9804 X_LIBS
="$X_LIBS -lXext"
9806 X_LIBS
="$X_LIBS -lX11"
9808 for ac_header
in X11
/Xlib.h \
9811 X11
/Xcursor
/Xcursor.h \
9812 X11
/extensions
/shape.h \
9813 X11
/extensions
/XInput.h \
9814 X11
/extensions
/XInput2.h \
9815 X11
/extensions
/XShm.h \
9816 X11
/extensions
/Xcomposite.h \
9817 X11
/extensions
/Xinerama.h \
9818 X11
/extensions
/Xrandr.h \
9819 X11
/extensions
/Xrender.h \
9820 X11
/extensions
/xf86vmode.h \
9821 X11
/extensions
/xf86vmproto.h
9823 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
9824 ac_fn_c_check_header_compile
"$LINENO" "$ac_header" "$as_ac_Header" "#ifdef HAVE_X11_XLIB_H
9825 # include <X11/Xlib.h>
9827 #ifdef HAVE_X11_XUTIL_H
9828 # include <X11/Xutil.h>
9831 if eval test \"x\$
"$as_ac_Header"\" = x
"yes"; then :
9832 cat >>confdefs.h
<<_ACEOF
9833 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
9841 if test "$ac_cv_header_X11_XKBlib_h" = "yes"
9843 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XkbQueryExtension in -lX11" >&5
9844 $as_echo_n "checking for XkbQueryExtension in -lX11... " >&6; }
9845 if ${ac_cv_lib_X11_XkbQueryExtension+:} false
; then :
9846 $as_echo_n "(cached) " >&6
9848 ac_check_lib_save_LIBS
=$LIBS
9849 LIBS
="-lX11 $X_LIBS $X_EXTRA_LIBS $LIBS"
9850 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9851 /* end confdefs.h. */
9853 /* Override any GCC internal prototype to avoid an error.
9854 Use char because int might match the return type of a GCC
9855 builtin and then its argument prototype would still apply. */
9859 char XkbQueryExtension ();
9863 return XkbQueryExtension ();
9868 if ac_fn_c_try_link
"$LINENO"; then :
9869 ac_cv_lib_X11_XkbQueryExtension
=yes
9871 ac_cv_lib_X11_XkbQueryExtension
=no
9873 rm -f core conftest.err conftest.
$ac_objext \
9874 conftest
$ac_exeext conftest.
$ac_ext
9875 LIBS
=$ac_check_lib_save_LIBS
9877 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_X11_XkbQueryExtension" >&5
9878 $as_echo "$ac_cv_lib_X11_XkbQueryExtension" >&6; }
9879 if test "x$ac_cv_lib_X11_XkbQueryExtension" = xyes
; then :
9881 $as_echo "#define HAVE_XKB 1" >>confdefs.h
9887 if test "$ac_cv_header_X11_Xcursor_Xcursor_h" = "yes"
9889 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXcursor" >&5
9890 $as_echo_n "checking for -lXcursor... " >&6; }
9891 if ${ac_cv_lib_soname_Xcursor+:} false
; then :
9892 $as_echo_n "(cached) " >&6
9894 ac_check_soname_save_LIBS
=$LIBS
9895 LIBS
="-lXcursor $X_LIBS $X_EXTRA_LIBS $LIBS"
9896 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9897 /* end confdefs.h. */
9899 /* Override any GCC internal prototype to avoid an error.
9900 Use char because int might match the return type of a GCC
9901 builtin and then its argument prototype would still apply. */
9905 char XcursorImageLoadCursor ();
9909 return XcursorImageLoadCursor ();
9914 if ac_fn_c_try_link
"$LINENO"; then :
9916 dll
) ac_cv_lib_soname_Xcursor
=`$ac_cv_path_LDD conftest.exe | grep "Xcursor" | sed -e "s/dll.*/dll/"';2,$d'` ;;
9917 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'` ;;
9918 *) ac_cv_lib_soname_Xcursor
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXcursor\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXcursor\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
9919 if ${ac_cv_lib_soname_Xcursor:+false} :; then :
9920 ac_cv_lib_soname_Xcursor
=`$LDD conftest$ac_exeext | grep "libXcursor\\.$LIBEXT" | sed -e "s/^.*\(libXcursor\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
9924 rm -f core conftest.err conftest.
$ac_objext \
9925 conftest
$ac_exeext conftest.
$ac_ext
9926 LIBS
=$ac_check_soname_save_LIBS
9928 if ${ac_cv_lib_soname_Xcursor:+false} :; then :
9929 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
9930 $as_echo "not found" >&6; }
9933 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xcursor" >&5
9934 $as_echo "$ac_cv_lib_soname_Xcursor" >&6; }
9936 cat >>confdefs.h
<<_ACEOF
9937 #define SONAME_LIBXCURSOR "$ac_cv_lib_soname_Xcursor"
9943 if test "x$ac_cv_lib_soname_Xcursor" = "x"; then :
9944 case "x$with_xcursor" in
9945 x
) as_fn_append wine_notices
"|libxcursor ${notice_platform}development files not found, the Xcursor extension won't be supported." ;;
9947 *) as_fn_error $?
"libxcursor ${notice_platform}development files not found, the Xcursor extension won't be supported.
9948 This is an error since --with-xcursor was requested." "$LINENO" 5 ;;
9953 if test "$ac_cv_header_X11_extensions_XInput_h" = "yes"
9955 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXi" >&5
9956 $as_echo_n "checking for -lXi... " >&6; }
9957 if ${ac_cv_lib_soname_Xi+:} false
; then :
9958 $as_echo_n "(cached) " >&6
9960 ac_check_soname_save_LIBS
=$LIBS
9961 LIBS
="-lXi $X_LIBS $X_EXTRA_LIBS $LIBS"
9962 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9963 /* end confdefs.h. */
9965 /* Override any GCC internal prototype to avoid an error.
9966 Use char because int might match the return type of a GCC
9967 builtin and then its argument prototype would still apply. */
9971 char XOpenDevice ();
9975 return XOpenDevice ();
9980 if ac_fn_c_try_link
"$LINENO"; then :
9982 dll
) ac_cv_lib_soname_Xi
=`$ac_cv_path_LDD conftest.exe | grep "Xi" | sed -e "s/dll.*/dll/"';2,$d'` ;;
9983 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'` ;;
9984 *) ac_cv_lib_soname_Xi
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXi\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXi\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
9985 if ${ac_cv_lib_soname_Xi:+false} :; then :
9986 ac_cv_lib_soname_Xi
=`$LDD conftest$ac_exeext | grep "libXi\\.$LIBEXT" | sed -e "s/^.*\(libXi\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
9990 rm -f core conftest.err conftest.
$ac_objext \
9991 conftest
$ac_exeext conftest.
$ac_ext
9992 LIBS
=$ac_check_soname_save_LIBS
9994 if ${ac_cv_lib_soname_Xi:+false} :; then :
9995 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
9996 $as_echo "not found" >&6; }
9999 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xi" >&5
10000 $as_echo "$ac_cv_lib_soname_Xi" >&6; }
10002 cat >>confdefs.h
<<_ACEOF
10003 #define SONAME_LIBXI "$ac_cv_lib_soname_Xi"
10009 if test "x$ac_cv_lib_soname_Xi" = "x"; then :
10010 case "x$with_xinput" in
10011 x
) as_fn_append wine_notices
"|libxi ${notice_platform}development files not found, the Xinput extension won't be supported." ;;
10013 *) as_fn_error $?
"libxi ${notice_platform}development files not found, the Xinput extension won't be supported.
10014 This is an error since --with-xinput was requested." "$LINENO" 5 ;;
10019 if test "x$ac_cv_lib_soname_Xi" != x
10021 if test "$ac_cv_header_X11_extensions_XInput2_h" != "yes"; then :
10022 case "x$with_xinput2" in
10023 x
) as_fn_append wine_notices
"|XInput2 headers not found, the XInput 2 extension won't be supported." ;;
10025 *) as_fn_error $?
"XInput2 headers not found, the XInput 2 extension won't be supported.
10026 This is an error since --with-xinput2 was requested." "$LINENO" 5 ;;
10032 if test "$ac_cv_header_X11_extensions_XShm_h" = "yes"
10034 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XShmQueryExtension in -lXext" >&5
10035 $as_echo_n "checking for XShmQueryExtension in -lXext... " >&6; }
10036 if ${ac_cv_lib_Xext_XShmQueryExtension+:} false
; then :
10037 $as_echo_n "(cached) " >&6
10039 ac_check_lib_save_LIBS
=$LIBS
10040 LIBS
="-lXext $X_LIBS $X_EXTRA_LIBS $LIBS"
10041 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10042 /* end confdefs.h. */
10044 /* Override any GCC internal prototype to avoid an error.
10045 Use char because int might match the return type of a GCC
10046 builtin and then its argument prototype would still apply. */
10050 char XShmQueryExtension ();
10054 return XShmQueryExtension ();
10059 if ac_fn_c_try_link
"$LINENO"; then :
10060 ac_cv_lib_Xext_XShmQueryExtension
=yes
10062 ac_cv_lib_Xext_XShmQueryExtension
=no
10064 rm -f core conftest.err conftest.
$ac_objext \
10065 conftest
$ac_exeext conftest.
$ac_ext
10066 LIBS
=$ac_check_lib_save_LIBS
10068 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xext_XShmQueryExtension" >&5
10069 $as_echo "$ac_cv_lib_Xext_XShmQueryExtension" >&6; }
10070 if test "x$ac_cv_lib_Xext_XShmQueryExtension" = xyes
; then :
10072 $as_echo "#define HAVE_LIBXXSHM 1" >>confdefs.h
10077 if test "$ac_cv_lib_Xext_XShmQueryExtension" != "yes"; then :
10078 case "x$with_xshm" in
10079 x
) as_fn_append wine_notices
"|XShm ${notice_platform}development files not found, X Shared Memory won't be supported." ;;
10081 *) as_fn_error $?
"XShm ${notice_platform}development files not found, X Shared Memory won't be supported.
10082 This is an error since --with-xshm was requested." "$LINENO" 5 ;;
10087 if test "$ac_cv_header_X11_extensions_shape_h" = "yes"
10089 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XShapeQueryExtension in -lXext" >&5
10090 $as_echo_n "checking for XShapeQueryExtension in -lXext... " >&6; }
10091 if ${ac_cv_lib_Xext_XShapeQueryExtension+:} false
; then :
10092 $as_echo_n "(cached) " >&6
10094 ac_check_lib_save_LIBS
=$LIBS
10095 LIBS
="-lXext $X_LIBS $X_EXTRA_LIBS $LIBS"
10096 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10097 /* end confdefs.h. */
10099 /* Override any GCC internal prototype to avoid an error.
10100 Use char because int might match the return type of a GCC
10101 builtin and then its argument prototype would still apply. */
10105 char XShapeQueryExtension ();
10109 return XShapeQueryExtension ();
10114 if ac_fn_c_try_link
"$LINENO"; then :
10115 ac_cv_lib_Xext_XShapeQueryExtension
=yes
10117 ac_cv_lib_Xext_XShapeQueryExtension
=no
10119 rm -f core conftest.err conftest.
$ac_objext \
10120 conftest
$ac_exeext conftest.
$ac_ext
10121 LIBS
=$ac_check_lib_save_LIBS
10123 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xext_XShapeQueryExtension" >&5
10124 $as_echo "$ac_cv_lib_Xext_XShapeQueryExtension" >&6; }
10125 if test "x$ac_cv_lib_Xext_XShapeQueryExtension" = xyes
; then :
10127 $as_echo "#define HAVE_LIBXSHAPE 1" >>confdefs.h
10132 if test "$ac_cv_lib_Xext_XShapeQueryExtension" != "yes"; then :
10133 case "x$with_xshape" in
10134 x
) as_fn_append wine_notices
"|XShape ${notice_platform}development files not found, XShape won't be supported." ;;
10136 *) as_fn_error $?
"XShape ${notice_platform}development files not found, XShape won't be supported.
10137 This is an error since --with-xshape was requested." "$LINENO" 5 ;;
10142 if test "$ac_cv_header_X11_extensions_xf86vmode_h" = "yes" -o "$ac_cv_header_X11_extensions_xf86vmproto_h" = "yes"
10144 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXxf86vm" >&5
10145 $as_echo_n "checking for -lXxf86vm... " >&6; }
10146 if ${ac_cv_lib_soname_Xxf86vm+:} false
; then :
10147 $as_echo_n "(cached) " >&6
10149 ac_check_soname_save_LIBS
=$LIBS
10150 LIBS
="-lXxf86vm $X_LIBS $X_EXTRA_LIBS $LIBS"
10151 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10152 /* end confdefs.h. */
10154 /* Override any GCC internal prototype to avoid an error.
10155 Use char because int might match the return type of a GCC
10156 builtin and then its argument prototype would still apply. */
10160 char XF86VidModeQueryExtension ();
10164 return XF86VidModeQueryExtension ();
10169 if ac_fn_c_try_link
"$LINENO"; then :
10171 dll
) ac_cv_lib_soname_Xxf86vm
=`$ac_cv_path_LDD conftest.exe | grep "Xxf86vm" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10172 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'` ;;
10173 *) ac_cv_lib_soname_Xxf86vm
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXxf86vm\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXxf86vm\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10174 if ${ac_cv_lib_soname_Xxf86vm:+false} :; then :
10175 ac_cv_lib_soname_Xxf86vm
=`$LDD conftest$ac_exeext | grep "libXxf86vm\\.$LIBEXT" | sed -e "s/^.*\(libXxf86vm\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10179 rm -f core conftest.err conftest.
$ac_objext \
10180 conftest
$ac_exeext conftest.
$ac_ext
10181 LIBS
=$ac_check_soname_save_LIBS
10183 if ${ac_cv_lib_soname_Xxf86vm:+false} :; then :
10184 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10185 $as_echo "not found" >&6; }
10188 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xxf86vm" >&5
10189 $as_echo "$ac_cv_lib_soname_Xxf86vm" >&6; }
10191 cat >>confdefs.h
<<_ACEOF
10192 #define SONAME_LIBXXF86VM "$ac_cv_lib_soname_Xxf86vm"
10198 if test "x$ac_cv_lib_soname_Xxf86vm" = "x"; then :
10199 case "x$with_xxf86vm" in
10200 x
) as_fn_append wine_notices
"|libXxf86vm ${notice_platform}development files not found, XFree86 Vidmode won't be supported." ;;
10202 *) as_fn_error $?
"libXxf86vm ${notice_platform}development files not found, XFree86 Vidmode won't be supported.
10203 This is an error since --with-xxf86vm was requested." "$LINENO" 5 ;;
10208 if test "$ac_cv_header_X11_extensions_Xrender_h" = "yes" -a "x$ac_cv_lib_soname_X11" != "x"
10210 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXrender" >&5
10211 $as_echo_n "checking for -lXrender... " >&6; }
10212 if ${ac_cv_lib_soname_Xrender+:} false
; then :
10213 $as_echo_n "(cached) " >&6
10215 ac_check_soname_save_LIBS
=$LIBS
10216 LIBS
="-lXrender $X_LIBS $X_EXTRA_LIBS $LIBS"
10217 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10218 /* end confdefs.h. */
10220 /* Override any GCC internal prototype to avoid an error.
10221 Use char because int might match the return type of a GCC
10222 builtin and then its argument prototype would still apply. */
10226 char XRenderQueryExtension ();
10230 return XRenderQueryExtension ();
10235 if ac_fn_c_try_link
"$LINENO"; then :
10237 dll
) ac_cv_lib_soname_Xrender
=`$ac_cv_path_LDD conftest.exe | grep "Xrender" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10238 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'` ;;
10239 *) ac_cv_lib_soname_Xrender
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXrender\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXrender\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10240 if ${ac_cv_lib_soname_Xrender:+false} :; then :
10241 ac_cv_lib_soname_Xrender
=`$LDD conftest$ac_exeext | grep "libXrender\\.$LIBEXT" | sed -e "s/^.*\(libXrender\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10245 rm -f core conftest.err conftest.
$ac_objext \
10246 conftest
$ac_exeext conftest.
$ac_ext
10247 LIBS
=$ac_check_soname_save_LIBS
10249 if ${ac_cv_lib_soname_Xrender:+false} :; then :
10250 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10251 $as_echo "not found" >&6; }
10254 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xrender" >&5
10255 $as_echo "$ac_cv_lib_soname_Xrender" >&6; }
10257 cat >>confdefs.h
<<_ACEOF
10258 #define SONAME_LIBXRENDER "$ac_cv_lib_soname_Xrender"
10261 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XRenderSetPictureTransform in -lXrender" >&5
10262 $as_echo_n "checking for XRenderSetPictureTransform in -lXrender... " >&6; }
10263 if ${ac_cv_lib_Xrender_XRenderSetPictureTransform+:} false
; then :
10264 $as_echo_n "(cached) " >&6
10266 ac_check_lib_save_LIBS
=$LIBS
10267 LIBS
="-lXrender $X_LIBS $X_EXTRA_LIBS $LIBS"
10268 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10269 /* end confdefs.h. */
10271 /* Override any GCC internal prototype to avoid an error.
10272 Use char because int might match the return type of a GCC
10273 builtin and then its argument prototype would still apply. */
10277 char XRenderSetPictureTransform ();
10281 return XRenderSetPictureTransform ();
10286 if ac_fn_c_try_link
"$LINENO"; then :
10287 ac_cv_lib_Xrender_XRenderSetPictureTransform
=yes
10289 ac_cv_lib_Xrender_XRenderSetPictureTransform
=no
10291 rm -f core conftest.err conftest.
$ac_objext \
10292 conftest
$ac_exeext conftest.
$ac_ext
10293 LIBS
=$ac_check_lib_save_LIBS
10295 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xrender_XRenderSetPictureTransform" >&5
10296 $as_echo "$ac_cv_lib_Xrender_XRenderSetPictureTransform" >&6; }
10297 if test "x$ac_cv_lib_Xrender_XRenderSetPictureTransform" = xyes
; then :
10299 $as_echo "#define HAVE_XRENDERSETPICTURETRANSFORM 1" >>confdefs.h
10303 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XRenderCreateLinearGradient in -lXrender" >&5
10304 $as_echo_n "checking for XRenderCreateLinearGradient in -lXrender... " >&6; }
10305 if ${ac_cv_lib_Xrender_XRenderCreateLinearGradient+:} false
; then :
10306 $as_echo_n "(cached) " >&6
10308 ac_check_lib_save_LIBS
=$LIBS
10309 LIBS
="-lXrender $X_LIBS $X_EXTRA_LIBS $LIBS"
10310 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10311 /* end confdefs.h. */
10313 /* Override any GCC internal prototype to avoid an error.
10314 Use char because int might match the return type of a GCC
10315 builtin and then its argument prototype would still apply. */
10319 char XRenderCreateLinearGradient ();
10323 return XRenderCreateLinearGradient ();
10328 if ac_fn_c_try_link
"$LINENO"; then :
10329 ac_cv_lib_Xrender_XRenderCreateLinearGradient
=yes
10331 ac_cv_lib_Xrender_XRenderCreateLinearGradient
=no
10333 rm -f core conftest.err conftest.
$ac_objext \
10334 conftest
$ac_exeext conftest.
$ac_ext
10335 LIBS
=$ac_check_lib_save_LIBS
10337 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xrender_XRenderCreateLinearGradient" >&5
10338 $as_echo "$ac_cv_lib_Xrender_XRenderCreateLinearGradient" >&6; }
10339 if test "x$ac_cv_lib_Xrender_XRenderCreateLinearGradient" = xyes
; then :
10341 $as_echo "#define HAVE_XRENDERCREATELINEARGRADIENT 1" >>confdefs.h
10348 if test "x$ac_cv_lib_soname_Xrender" = "x"; then :
10349 case "x$with_xrender" in
10350 x
) as_fn_append wine_warnings
"|libxrender ${notice_platform}development files not found, XRender won't be supported." ;;
10352 *) as_fn_error $?
"libxrender ${notice_platform}development files not found, XRender won't be supported.
10353 This is an error since --with-xrender was requested." "$LINENO" 5 ;;
10358 if test "$ac_cv_header_X11_extensions_Xrandr_h" = "yes" -a "x$ac_cv_lib_soname_Xrender" != "x"
10360 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10361 /* end confdefs.h. */
10362 #include <X11/Xlib.h>
10363 #include <X11/extensions/Xrandr.h>
10367 static typeof(XRRSetScreenConfigAndRate) * func; if (func) return 0;
10372 if ac_fn_c_try_compile
"$LINENO"; then :
10373 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXrandr" >&5
10374 $as_echo_n "checking for -lXrandr... " >&6; }
10375 if ${ac_cv_lib_soname_Xrandr+:} false
; then :
10376 $as_echo_n "(cached) " >&6
10378 ac_check_soname_save_LIBS
=$LIBS
10379 LIBS
="-lXrandr $X_LIBS $X_EXTRA_LIBS $LIBS"
10380 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10381 /* end confdefs.h. */
10383 /* Override any GCC internal prototype to avoid an error.
10384 Use char because int might match the return type of a GCC
10385 builtin and then its argument prototype would still apply. */
10389 char XRRQueryExtension ();
10393 return XRRQueryExtension ();
10398 if ac_fn_c_try_link
"$LINENO"; then :
10400 dll
) ac_cv_lib_soname_Xrandr
=`$ac_cv_path_LDD conftest.exe | grep "Xrandr" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10401 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'` ;;
10402 *) ac_cv_lib_soname_Xrandr
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXrandr\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXrandr\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10403 if ${ac_cv_lib_soname_Xrandr:+false} :; then :
10404 ac_cv_lib_soname_Xrandr
=`$LDD conftest$ac_exeext | grep "libXrandr\\.$LIBEXT" | sed -e "s/^.*\(libXrandr\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10408 rm -f core conftest.err conftest.
$ac_objext \
10409 conftest
$ac_exeext conftest.
$ac_ext
10410 LIBS
=$ac_check_soname_save_LIBS
10412 if ${ac_cv_lib_soname_Xrandr:+false} :; then :
10413 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10414 $as_echo "not found" >&6; }
10417 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xrandr" >&5
10418 $as_echo "$ac_cv_lib_soname_Xrandr" >&6; }
10420 cat >>confdefs.h
<<_ACEOF
10421 #define SONAME_LIBXRANDR "$ac_cv_lib_soname_Xrandr"
10424 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10425 /* end confdefs.h. */
10426 #include <X11/Xlib.h>
10427 #include <X11/extensions/Xrandr.h>
10431 static typeof(XRRGetScreenResources) *f; if (f) return 0;
10436 if ac_fn_c_try_compile
"$LINENO"; then :
10438 $as_echo "#define HAVE_XRRGETSCREENRESOURCES 1" >>confdefs.h
10441 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
10444 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
10446 if test "x$ac_cv_lib_soname_Xrandr" = "x"; then :
10447 case "x$with_xrandr" in
10448 x
) as_fn_append wine_notices
"|libxrandr ${notice_platform}development files not found, XRandr won't be supported." ;;
10450 *) as_fn_error $?
"libxrandr ${notice_platform}development files not found, XRandr won't be supported.
10451 This is an error since --with-xrandr was requested." "$LINENO" 5 ;;
10456 if test "$ac_cv_header_X11_extensions_Xinerama_h" = "yes"
10458 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10459 /* end confdefs.h. */
10460 #include <X11/Xlib.h>
10461 #include <X11/extensions/Xinerama.h>
10465 static typeof(XineramaQueryScreens) * func; if (func) return 0;
10470 if ac_fn_c_try_compile
"$LINENO"; then :
10471 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXinerama" >&5
10472 $as_echo_n "checking for -lXinerama... " >&6; }
10473 if ${ac_cv_lib_soname_Xinerama+:} false
; then :
10474 $as_echo_n "(cached) " >&6
10476 ac_check_soname_save_LIBS
=$LIBS
10477 LIBS
="-lXinerama $X_LIBS $X_EXTRA_LIBS $LIBS"
10478 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10479 /* end confdefs.h. */
10481 /* Override any GCC internal prototype to avoid an error.
10482 Use char because int might match the return type of a GCC
10483 builtin and then its argument prototype would still apply. */
10487 char XineramaQueryScreens ();
10491 return XineramaQueryScreens ();
10496 if ac_fn_c_try_link
"$LINENO"; then :
10498 dll
) ac_cv_lib_soname_Xinerama
=`$ac_cv_path_LDD conftest.exe | grep "Xinerama" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10499 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'` ;;
10500 *) ac_cv_lib_soname_Xinerama
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXinerama\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXinerama\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10501 if ${ac_cv_lib_soname_Xinerama:+false} :; then :
10502 ac_cv_lib_soname_Xinerama
=`$LDD conftest$ac_exeext | grep "libXinerama\\.$LIBEXT" | sed -e "s/^.*\(libXinerama\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10506 rm -f core conftest.err conftest.
$ac_objext \
10507 conftest
$ac_exeext conftest.
$ac_ext
10508 LIBS
=$ac_check_soname_save_LIBS
10510 if ${ac_cv_lib_soname_Xinerama:+false} :; then :
10511 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10512 $as_echo "not found" >&6; }
10515 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xinerama" >&5
10516 $as_echo "$ac_cv_lib_soname_Xinerama" >&6; }
10518 cat >>confdefs.h
<<_ACEOF
10519 #define SONAME_LIBXINERAMA "$ac_cv_lib_soname_Xinerama"
10525 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
10527 if test "x$ac_cv_lib_soname_Xinerama" = "x"; then :
10528 case "x$with_xinerama" in
10529 x
) as_fn_append wine_notices
"|libxinerama ${notice_platform}development files not found, multi-monitor setups won't be supported." ;;
10531 *) as_fn_error $?
"libxinerama ${notice_platform}development files not found, multi-monitor setups won't be supported.
10532 This is an error since --with-xinerama was requested." "$LINENO" 5 ;;
10537 if test "$ac_cv_header_X11_extensions_Xcomposite_h" = "yes"
10539 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXcomposite" >&5
10540 $as_echo_n "checking for -lXcomposite... " >&6; }
10541 if ${ac_cv_lib_soname_Xcomposite+:} false
; then :
10542 $as_echo_n "(cached) " >&6
10544 ac_check_soname_save_LIBS
=$LIBS
10545 LIBS
="-lXcomposite $X_LIBS $X_EXTRA_LIBS $LIBS"
10546 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10547 /* end confdefs.h. */
10549 /* Override any GCC internal prototype to avoid an error.
10550 Use char because int might match the return type of a GCC
10551 builtin and then its argument prototype would still apply. */
10555 char XCompositeRedirectWindow ();
10559 return XCompositeRedirectWindow ();
10564 if ac_fn_c_try_link
"$LINENO"; then :
10566 dll
) ac_cv_lib_soname_Xcomposite
=`$ac_cv_path_LDD conftest.exe | grep "Xcomposite" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10567 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'` ;;
10568 *) ac_cv_lib_soname_Xcomposite
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXcomposite\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXcomposite\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10569 if ${ac_cv_lib_soname_Xcomposite:+false} :; then :
10570 ac_cv_lib_soname_Xcomposite
=`$LDD conftest$ac_exeext | grep "libXcomposite\\.$LIBEXT" | sed -e "s/^.*\(libXcomposite\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10574 rm -f core conftest.err conftest.
$ac_objext \
10575 conftest
$ac_exeext conftest.
$ac_ext
10576 LIBS
=$ac_check_soname_save_LIBS
10578 if ${ac_cv_lib_soname_Xcomposite:+false} :; then :
10579 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10580 $as_echo "not found" >&6; }
10583 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xcomposite" >&5
10584 $as_echo "$ac_cv_lib_soname_Xcomposite" >&6; }
10586 cat >>confdefs.h
<<_ACEOF
10587 #define SONAME_LIBXCOMPOSITE "$ac_cv_lib_soname_Xcomposite"
10593 if test "x$ac_cv_lib_soname_Xcomposite" = "x"; then :
10594 case "x$with_xcomposite" in
10595 x
) as_fn_append wine_notices
"|libxcomposite ${notice_platform}development files not found, Xcomposite won't be supported." ;;
10597 *) as_fn_error $?
"libxcomposite ${notice_platform}development files not found, Xcomposite won't be supported.
10598 This is an error since --with-xcomposite was requested." "$LINENO" 5 ;;
10603 ac_fn_c_check_member
"$LINENO" "XICCallback" "callback" "ac_cv_member_XICCallback_callback" "#ifdef HAVE_X11_XLIB_H
10604 #include <X11/Xlib.h>
10607 if test "x$ac_cv_member_XICCallback_callback" = xyes
; then :
10609 cat >>confdefs.h
<<_ACEOF
10610 #define HAVE_XICCALLBACK_CALLBACK 1
10615 ac_fn_c_check_member
"$LINENO" "XEvent" "xcookie" "ac_cv_member_XEvent_xcookie" "#ifdef HAVE_X11_XLIB_H
10616 #include <X11/Xlib.h>
10619 if test "x$ac_cv_member_XEvent_xcookie" = xyes
; then :
10621 cat >>confdefs.h
<<_ACEOF
10622 #define HAVE_XEVENT_XCOOKIE 1
10631 if test "x$with_opengl" != "xno"
10633 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lGL" >&5
10634 $as_echo_n "checking for -lGL... " >&6; }
10635 if ${ac_cv_lib_soname_GL+:} false
; then :
10636 $as_echo_n "(cached) " >&6
10638 ac_check_soname_save_LIBS
=$LIBS
10639 LIBS
="-lGL $X_LIBS -lm $X_EXTRA_LIBS $LIBS"
10640 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10641 /* end confdefs.h. */
10643 /* Override any GCC internal prototype to avoid an error.
10644 Use char because int might match the return type of a GCC
10645 builtin and then its argument prototype would still apply. */
10649 char glXCreateContext ();
10653 return glXCreateContext ();
10658 if ac_fn_c_try_link
"$LINENO"; then :
10660 dll
) ac_cv_lib_soname_GL
=`$ac_cv_path_LDD conftest.exe | grep "GL" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10661 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'` ;;
10662 *) ac_cv_lib_soname_GL
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libGL\\.$LIBEXT" | sed -e "s/^.*\\[\\(libGL\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10663 if ${ac_cv_lib_soname_GL:+false} :; then :
10664 ac_cv_lib_soname_GL
=`$LDD conftest$ac_exeext | grep "libGL\\.$LIBEXT" | sed -e "s/^.*\(libGL\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10668 rm -f core conftest.err conftest.
$ac_objext \
10669 conftest
$ac_exeext conftest.
$ac_ext
10670 LIBS
=$ac_check_soname_save_LIBS
10672 if ${ac_cv_lib_soname_GL:+false} :; then :
10673 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10674 $as_echo "not found" >&6; }
10675 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lGL" >&5
10676 $as_echo_n "checking for -lGL... " >&6; }
10677 if ${ac_cv_lib_soname_GL+:} false
; then :
10678 $as_echo_n "(cached) " >&6
10680 ac_check_soname_save_LIBS
=$LIBS
10681 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"
10682 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10683 /* end confdefs.h. */
10685 /* Override any GCC internal prototype to avoid an error.
10686 Use char because int might match the return type of a GCC
10687 builtin and then its argument prototype would still apply. */
10691 char glXCreateContext ();
10695 return glXCreateContext ();
10700 if ac_fn_c_try_link
"$LINENO"; then :
10702 dll
) ac_cv_lib_soname_GL
=`$ac_cv_path_LDD conftest.exe | grep "GL" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10703 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'` ;;
10704 *) ac_cv_lib_soname_GL
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libGL\\.$LIBEXT" | sed -e "s/^.*\\[\\(libGL\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10705 if ${ac_cv_lib_soname_GL:+false} :; then :
10706 ac_cv_lib_soname_GL
=`$LDD conftest$ac_exeext | grep "libGL\\.$LIBEXT" | sed -e "s/^.*\(libGL\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10710 rm -f core conftest.err conftest.
$ac_objext \
10711 conftest
$ac_exeext conftest.
$ac_ext
10712 LIBS
=$ac_check_soname_save_LIBS
10714 if ${ac_cv_lib_soname_GL:+false} :; then :
10715 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10716 $as_echo "not found" >&6; }
10717 if test -f /usr
/X11R
6/lib
/libGL.a
10719 opengl_msg
="/usr/X11R6/lib/libGL.a is present on your system.
10720 This probably prevents linking to OpenGL. Try deleting the file and restarting configure."
10722 opengl_msg
="No OpenGL library found on this system."
10725 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_GL" >&5
10726 $as_echo "$ac_cv_lib_soname_GL" >&6; }
10728 cat >>confdefs.h
<<_ACEOF
10729 #define SONAME_LIBGL "$ac_cv_lib_soname_GL"
10732 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"
10735 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_GL" >&5
10736 $as_echo "$ac_cv_lib_soname_GL" >&6; }
10738 cat >>confdefs.h
<<_ACEOF
10739 #define SONAME_LIBGL "$ac_cv_lib_soname_GL"
10744 if test "x$with_glu" != "xno"
10746 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gluLookAt in -lGLU" >&5
10747 $as_echo_n "checking for gluLookAt in -lGLU... " >&6; }
10748 if ${ac_cv_lib_GLU_gluLookAt+:} false
; then :
10749 $as_echo_n "(cached) " >&6
10751 ac_check_lib_save_LIBS
=$LIBS
10752 LIBS
="-lGLU $OPENGL_LIBS $X_LIBS -lm $X_EXTRA_LIBS $LIBS"
10753 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10754 /* end confdefs.h. */
10756 /* Override any GCC internal prototype to avoid an error.
10757 Use char because int might match the return type of a GCC
10758 builtin and then its argument prototype would still apply. */
10766 return gluLookAt ();
10771 if ac_fn_c_try_link
"$LINENO"; then :
10772 ac_cv_lib_GLU_gluLookAt
=yes
10774 ac_cv_lib_GLU_gluLookAt
=no
10776 rm -f core conftest.err conftest.
$ac_objext \
10777 conftest
$ac_exeext conftest.
$ac_ext
10778 LIBS
=$ac_check_lib_save_LIBS
10780 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_GLU_gluLookAt" >&5
10781 $as_echo "$ac_cv_lib_GLU_gluLookAt" >&6; }
10782 if test "x$ac_cv_lib_GLU_gluLookAt" = xyes
; then :
10786 if test "x$ac_cv_lib_GLU_gluLookAt" != xyes
; then :
10787 case "x$with_glu" in
10788 x
) as_fn_append wine_notices
"|libGLU ${notice_platform}development files not found, GLU won't be supported." ;;
10790 *) as_fn_error $?
"libGLU ${notice_platform}development files not found, GLU won't be supported.
10791 This is an error since --with-glu was requested." "$LINENO" 5 ;;
10797 if test "x$with_osmesa" != "xno"
10799 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lOSMesa" >&5
10800 $as_echo_n "checking for -lOSMesa... " >&6; }
10801 if ${ac_cv_lib_soname_OSMesa+:} false
; then :
10802 $as_echo_n "(cached) " >&6
10804 ac_check_soname_save_LIBS
=$LIBS
10805 LIBS
="-lOSMesa $X_LIBS -lm $X_EXTRA_LIBS $LIBS"
10806 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10807 /* end confdefs.h. */
10809 /* Override any GCC internal prototype to avoid an error.
10810 Use char because int might match the return type of a GCC
10811 builtin and then its argument prototype would still apply. */
10824 if ac_fn_c_try_link
"$LINENO"; then :
10826 dll
) ac_cv_lib_soname_OSMesa
=`$ac_cv_path_LDD conftest.exe | grep "OSMesa" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10827 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'` ;;
10828 *) ac_cv_lib_soname_OSMesa
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libOSMesa\\.$LIBEXT" | sed -e "s/^.*\\[\\(libOSMesa\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10829 if ${ac_cv_lib_soname_OSMesa:+false} :; then :
10830 ac_cv_lib_soname_OSMesa
=`$LDD conftest$ac_exeext | grep "libOSMesa\\.$LIBEXT" | sed -e "s/^.*\(libOSMesa\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10834 rm -f core conftest.err conftest.
$ac_objext \
10835 conftest
$ac_exeext conftest.
$ac_ext
10836 LIBS
=$ac_check_soname_save_LIBS
10838 if ${ac_cv_lib_soname_OSMesa:+false} :; then :
10839 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10840 $as_echo "not found" >&6; }
10843 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_OSMesa" >&5
10844 $as_echo "$ac_cv_lib_soname_OSMesa" >&6; }
10846 cat >>confdefs.h
<<_ACEOF
10847 #define SONAME_LIBOSMESA "$ac_cv_lib_soname_OSMesa"
10852 if test "x$ac_cv_lib_soname_OSMesa" = "x"; then :
10853 case "x$with_osmesa" in
10854 x
) as_fn_append wine_notices
"|libOSMesa ${notice_platform}development files not found (or too old), OpenGL rendering in bitmaps won't be supported." ;;
10856 *) as_fn_error $?
"libOSMesa ${notice_platform}development files not found (or too old), OpenGL rendering in bitmaps won't be supported.
10857 This is an error since --with-osmesa was requested." "$LINENO" 5 ;;
10863 if test -n "$opengl_msg"; then :
10864 case "x$with_opengl" in
10865 x
) as_fn_append wine_warnings
"|$opengl_msg
10866 OpenGL and Direct3D won't be supported." ;;
10868 *) as_fn_error $?
"$opengl_msg
10869 OpenGL and Direct3D won't be supported.
10870 This is an error since --with-opengl was requested." "$LINENO" 5 ;;
10875 CPPFLAGS
="$ac_save_CPPFLAGS"
10880 if test "x$X_LIBS" = "x"; then :
10883 *) as_fn_error $?
"X ${notice_platform}development files not found. Wine will be built
10884 without X support, which probably isn't what you want. You will need
10885 to install ${notice_platform}development packages of Xlib/Xfree86 at the very least.
10886 Use the --without-x option if you really want this." "$LINENO" 5 ;;
10888 enable_winex11_drv
=${enable_winex11_drv:-no}
10891 test "x$ac_cv_lib_GLU_gluLookAt" != xyes
&& enable_glu32
=${enable_glu32:-no}
10893 if test "$ac_cv_header_CL_cl_h" = "yes"
10895 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for clGetPlatformInfo in -lOpenCL" >&5
10896 $as_echo_n "checking for clGetPlatformInfo in -lOpenCL... " >&6; }
10897 if ${ac_cv_lib_OpenCL_clGetPlatformInfo+:} false
; then :
10898 $as_echo_n "(cached) " >&6
10900 ac_check_lib_save_LIBS
=$LIBS
10901 LIBS
="-lOpenCL $LIBS"
10902 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10903 /* end confdefs.h. */
10905 /* Override any GCC internal prototype to avoid an error.
10906 Use char because int might match the return type of a GCC
10907 builtin and then its argument prototype would still apply. */
10911 char clGetPlatformInfo ();
10915 return clGetPlatformInfo ();
10920 if ac_fn_c_try_link
"$LINENO"; then :
10921 ac_cv_lib_OpenCL_clGetPlatformInfo
=yes
10923 ac_cv_lib_OpenCL_clGetPlatformInfo
=no
10925 rm -f core conftest.err conftest.
$ac_objext \
10926 conftest
$ac_exeext conftest.
$ac_ext
10927 LIBS
=$ac_check_lib_save_LIBS
10929 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_OpenCL_clGetPlatformInfo" >&5
10930 $as_echo "$ac_cv_lib_OpenCL_clGetPlatformInfo" >&6; }
10931 if test "x$ac_cv_lib_OpenCL_clGetPlatformInfo" = xyes
; then :
10932 OPENCL_LIBS
="-lOpenCL"
10937 if test "x$ac_cv_lib_OpenCL_clGetPlatformInfo" != xyes
; then :
10938 case "x$with_opencl" in
10939 x
) as_fn_append wine_notices
"|OpenCL ${notice_platform}development files not found, OpenCL won't be supported." ;;
10941 *) as_fn_error $?
"OpenCL ${notice_platform}development files not found, OpenCL won't be supported.
10942 This is an error since --with-opencl was requested." "$LINENO" 5 ;;
10944 enable_opencl
=${enable_opencl:-no}
10947 if test "$ac_cv_header_pcap_pcap_h" = "yes"
10949 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pcap_create in -lpcap" >&5
10950 $as_echo_n "checking for pcap_create in -lpcap... " >&6; }
10951 if ${ac_cv_lib_pcap_pcap_create+:} false
; then :
10952 $as_echo_n "(cached) " >&6
10954 ac_check_lib_save_LIBS
=$LIBS
10955 LIBS
="-lpcap $LIBS"
10956 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10957 /* end confdefs.h. */
10959 /* Override any GCC internal prototype to avoid an error.
10960 Use char because int might match the return type of a GCC
10961 builtin and then its argument prototype would still apply. */
10965 char pcap_create ();
10969 return pcap_create ();
10974 if ac_fn_c_try_link
"$LINENO"; then :
10975 ac_cv_lib_pcap_pcap_create
=yes
10977 ac_cv_lib_pcap_pcap_create
=no
10979 rm -f core conftest.err conftest.
$ac_objext \
10980 conftest
$ac_exeext conftest.
$ac_ext
10981 LIBS
=$ac_check_lib_save_LIBS
10983 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_pcap_pcap_create" >&5
10984 $as_echo "$ac_cv_lib_pcap_pcap_create" >&6; }
10985 if test "x$ac_cv_lib_pcap_pcap_create" = xyes
; then :
10991 if test "x$ac_cv_lib_pcap_pcap_create" != xyes
; then :
10992 case "x$with_pcap" in
10993 x
) as_fn_append wine_notices
"|pcap ${notice_platform}development files not found, wpcap won't be supported." ;;
10995 *) as_fn_error $?
"pcap ${notice_platform}development files not found, wpcap won't be supported.
10996 This is an error since --with-pcap was requested." "$LINENO" 5 ;;
10998 enable_wpcap
=${enable_wpcap:-no}
11002 if test "x$with_xml" != "xno"
11004 if ${XML2_CFLAGS:+false} :; then :
11005 if ${PKG_CONFIG+:} false
; then :
11006 XML2_CFLAGS
=`$PKG_CONFIG --cflags libxml-2.0 2>/dev/null`
11009 test "$cross_compiling" = yes || XML2_CFLAGS
=${XML2_CFLAGS:-`${XML2_CONFIG:-xml2-config} --cflags 2>/dev/null`}
11010 if ${XML2_LIBS:+false} :; then :
11011 if ${PKG_CONFIG+:} false
; then :
11012 XML2_LIBS
=`$PKG_CONFIG --libs libxml-2.0 2>/dev/null`
11015 test "$cross_compiling" = yes || XML2_LIBS
=${XML2_LIBS:-`${XML2_CONFIG:-xml2-config} --libs 2>/dev/null`}
11016 XML2_LIBS
=${XML2_LIBS:-"-lxml2"}
11017 $as_echo "$as_me:${as_lineno-$LINENO}: libxml-2.0 cflags: $XML2_CFLAGS" >&5
11018 $as_echo "$as_me:${as_lineno-$LINENO}: libxml-2.0 libs: $XML2_LIBS" >&5
11019 ac_save_CPPFLAGS
=$CPPFLAGS
11020 CPPFLAGS
="$CPPFLAGS $XML2_CFLAGS"
11021 for ac_header
in libxml
/parser.h libxml
/xmlsave.h libxml
/SAX2.h
11023 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
11024 ac_fn_c_check_header_mongrel
"$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
11025 if eval test \"x\$
"$as_ac_Header"\" = x
"yes"; then :
11026 cat >>confdefs.h
<<_ACEOF
11027 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
11034 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"
11036 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlParseMemory in -lxml2" >&5
11037 $as_echo_n "checking for xmlParseMemory in -lxml2... " >&6; }
11038 if ${ac_cv_lib_xml2_xmlParseMemory+:} false
; then :
11039 $as_echo_n "(cached) " >&6
11041 ac_check_lib_save_LIBS
=$LIBS
11042 LIBS
="-lxml2 $XML2_LIBS $LIBS"
11043 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11044 /* end confdefs.h. */
11046 /* Override any GCC internal prototype to avoid an error.
11047 Use char because int might match the return type of a GCC
11048 builtin and then its argument prototype would still apply. */
11052 char xmlParseMemory ();
11056 return xmlParseMemory ();
11061 if ac_fn_c_try_link
"$LINENO"; then :
11062 ac_cv_lib_xml2_xmlParseMemory
=yes
11064 ac_cv_lib_xml2_xmlParseMemory
=no
11066 rm -f core conftest.err conftest.
$ac_objext \
11067 conftest
$ac_exeext conftest.
$ac_ext
11068 LIBS
=$ac_check_lib_save_LIBS
11070 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlParseMemory" >&5
11071 $as_echo "$ac_cv_lib_xml2_xmlParseMemory" >&6; }
11072 if test "x$ac_cv_lib_xml2_xmlParseMemory" = xyes
; then :
11074 $as_echo "#define HAVE_LIBXML2 1" >>confdefs.h
11080 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlReadMemory in -lxml2" >&5
11081 $as_echo_n "checking for xmlReadMemory in -lxml2... " >&6; }
11082 if ${ac_cv_lib_xml2_xmlReadMemory+:} false
; then :
11083 $as_echo_n "(cached) " >&6
11085 ac_check_lib_save_LIBS
=$LIBS
11086 LIBS
="-lxml2 $XML2_LIBS $LIBS"
11087 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11088 /* end confdefs.h. */
11090 /* Override any GCC internal prototype to avoid an error.
11091 Use char because int might match the return type of a GCC
11092 builtin and then its argument prototype would still apply. */
11096 char xmlReadMemory ();
11100 return xmlReadMemory ();
11105 if ac_fn_c_try_link
"$LINENO"; then :
11106 ac_cv_lib_xml2_xmlReadMemory
=yes
11108 ac_cv_lib_xml2_xmlReadMemory
=no
11110 rm -f core conftest.err conftest.
$ac_objext \
11111 conftest
$ac_exeext conftest.
$ac_ext
11112 LIBS
=$ac_check_lib_save_LIBS
11114 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlReadMemory" >&5
11115 $as_echo "$ac_cv_lib_xml2_xmlReadMemory" >&6; }
11116 if test "x$ac_cv_lib_xml2_xmlReadMemory" = xyes
; then :
11118 $as_echo "#define HAVE_XMLREADMEMORY 1" >>confdefs.h
11122 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlNewDocPI in -lxml2" >&5
11123 $as_echo_n "checking for xmlNewDocPI in -lxml2... " >&6; }
11124 if ${ac_cv_lib_xml2_xmlNewDocPI+:} false
; then :
11125 $as_echo_n "(cached) " >&6
11127 ac_check_lib_save_LIBS
=$LIBS
11128 LIBS
="-lxml2 $XML2_LIBS $LIBS"
11129 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11130 /* end confdefs.h. */
11132 /* Override any GCC internal prototype to avoid an error.
11133 Use char because int might match the return type of a GCC
11134 builtin and then its argument prototype would still apply. */
11138 char xmlNewDocPI ();
11142 return xmlNewDocPI ();
11147 if ac_fn_c_try_link
"$LINENO"; then :
11148 ac_cv_lib_xml2_xmlNewDocPI
=yes
11150 ac_cv_lib_xml2_xmlNewDocPI
=no
11152 rm -f core conftest.err conftest.
$ac_objext \
11153 conftest
$ac_exeext conftest.
$ac_ext
11154 LIBS
=$ac_check_lib_save_LIBS
11156 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlNewDocPI" >&5
11157 $as_echo "$ac_cv_lib_xml2_xmlNewDocPI" >&6; }
11158 if test "x$ac_cv_lib_xml2_xmlNewDocPI" = xyes
; then :
11160 $as_echo "#define HAVE_XMLNEWDOCPI 1" >>confdefs.h
11164 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlSchemaSetParserStructuredErrors in -lxml2" >&5
11165 $as_echo_n "checking for xmlSchemaSetParserStructuredErrors in -lxml2... " >&6; }
11166 if ${ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors+:} false
; then :
11167 $as_echo_n "(cached) " >&6
11169 ac_check_lib_save_LIBS
=$LIBS
11170 LIBS
="-lxml2 $XML2_LIBS $LIBS"
11171 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11172 /* end confdefs.h. */
11174 /* Override any GCC internal prototype to avoid an error.
11175 Use char because int might match the return type of a GCC
11176 builtin and then its argument prototype would still apply. */
11180 char xmlSchemaSetParserStructuredErrors ();
11184 return xmlSchemaSetParserStructuredErrors ();
11189 if ac_fn_c_try_link
"$LINENO"; then :
11190 ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors
=yes
11192 ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors
=no
11194 rm -f core conftest.err conftest.
$ac_objext \
11195 conftest
$ac_exeext conftest.
$ac_ext
11196 LIBS
=$ac_check_lib_save_LIBS
11198 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors" >&5
11199 $as_echo "$ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors" >&6; }
11200 if test "x$ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors" = xyes
; then :
11202 $as_echo "#define HAVE_XMLSCHEMASSETPARSERSTRUCTUREDERRORS 1" >>confdefs.h
11206 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlSchemaSetValidStructuredErrors in -lxml2" >&5
11207 $as_echo_n "checking for xmlSchemaSetValidStructuredErrors in -lxml2... " >&6; }
11208 if ${ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors+:} false
; then :
11209 $as_echo_n "(cached) " >&6
11211 ac_check_lib_save_LIBS
=$LIBS
11212 LIBS
="-lxml2 $XML2_LIBS $LIBS"
11213 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11214 /* end confdefs.h. */
11216 /* Override any GCC internal prototype to avoid an error.
11217 Use char because int might match the return type of a GCC
11218 builtin and then its argument prototype would still apply. */
11222 char xmlSchemaSetValidStructuredErrors ();
11226 return xmlSchemaSetValidStructuredErrors ();
11231 if ac_fn_c_try_link
"$LINENO"; then :
11232 ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors
=yes
11234 ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors
=no
11236 rm -f core conftest.err conftest.
$ac_objext \
11237 conftest
$ac_exeext conftest.
$ac_ext
11238 LIBS
=$ac_check_lib_save_LIBS
11240 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors" >&5
11241 $as_echo "$ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors" >&6; }
11242 if test "x$ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors" = xyes
; then :
11244 $as_echo "#define HAVE_XMLSCHEMASSETVALIDSTRUCTUREDERRORS 1" >>confdefs.h
11248 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlFirstElementChild in -lxml2" >&5
11249 $as_echo_n "checking for xmlFirstElementChild in -lxml2... " >&6; }
11250 if ${ac_cv_lib_xml2_xmlFirstElementChild+:} false
; then :
11251 $as_echo_n "(cached) " >&6
11253 ac_check_lib_save_LIBS
=$LIBS
11254 LIBS
="-lxml2 $XML2_LIBS $LIBS"
11255 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11256 /* end confdefs.h. */
11258 /* Override any GCC internal prototype to avoid an error.
11259 Use char because int might match the return type of a GCC
11260 builtin and then its argument prototype would still apply. */
11264 char xmlFirstElementChild ();
11268 return xmlFirstElementChild ();
11273 if ac_fn_c_try_link
"$LINENO"; then :
11274 ac_cv_lib_xml2_xmlFirstElementChild
=yes
11276 ac_cv_lib_xml2_xmlFirstElementChild
=no
11278 rm -f core conftest.err conftest.
$ac_objext \
11279 conftest
$ac_exeext conftest.
$ac_ext
11280 LIBS
=$ac_check_lib_save_LIBS
11282 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlFirstElementChild" >&5
11283 $as_echo "$ac_cv_lib_xml2_xmlFirstElementChild" >&6; }
11284 if test "x$ac_cv_lib_xml2_xmlFirstElementChild" = xyes
; then :
11286 $as_echo "#define HAVE_XMLFIRSTELEMENTCHILD 1" >>confdefs.h
11290 ac_fn_c_check_type
"$LINENO" "xmlDocProperties" "ac_cv_type_xmlDocProperties" "#include <libxml/tree.h>
11292 if test "x$ac_cv_type_xmlDocProperties" = xyes
; then :
11294 $as_echo "#define HAVE_XMLDOC_PROPERTIES 1" >>confdefs.h
11302 CPPFLAGS
=$ac_save_CPPFLAGS
11303 test -z "$XML2_CFLAGS" || XML2_CFLAGS
=`echo " $XML2_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
11304 test -z "$XML2_LIBS" || XML2_LIBS
=`echo " $XML2_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
11307 if test "$ac_cv_lib_xml2_xmlParseMemory" != "yes"; then :
11308 case "x$with_xml" in
11309 x
) as_fn_append wine_warnings
"|libxml2 ${notice_platform}development files not found (or too old), XML won't be supported." ;;
11311 *) as_fn_error $?
"libxml2 ${notice_platform}development files not found (or too old), XML won't be supported.
11312 This is an error since --with-xml was requested." "$LINENO" 5 ;;
11317 if test "x$with_xslt" != "xno"
11319 if ${XSLT_CFLAGS:+false} :; then :
11320 if ${PKG_CONFIG+:} false
; then :
11321 XSLT_CFLAGS
=`$PKG_CONFIG --cflags libxslt 2>/dev/null`
11324 test "$cross_compiling" = yes || XSLT_CFLAGS
=${XSLT_CFLAGS:-`${XSLT_CONFIG:-xslt-config} --cflags 2>/dev/null`}
11325 if ${XSLT_LIBS:+false} :; then :
11326 if ${PKG_CONFIG+:} false
; then :
11327 XSLT_LIBS
=`$PKG_CONFIG --libs libxslt 2>/dev/null`
11330 test "$cross_compiling" = yes || XSLT_LIBS
=${XSLT_LIBS:-`${XSLT_CONFIG:-xslt-config} --libs 2>/dev/null`}
11331 XSLT_LIBS
=${XSLT_LIBS:-"-lxml2"}
11332 $as_echo "$as_me:${as_lineno-$LINENO}: libxslt cflags: $XSLT_CFLAGS" >&5
11333 $as_echo "$as_me:${as_lineno-$LINENO}: libxslt libs: $XSLT_LIBS" >&5
11334 ac_save_CPPFLAGS
=$CPPFLAGS
11335 CPPFLAGS
="$CPPFLAGS $XSLT_CFLAGS"
11336 for ac_header
in libxslt
/pattern.h libxslt
/transform.h
11338 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
11339 ac_fn_c_check_header_compile
"$LINENO" "$ac_header" "$as_ac_Header" "#ifdef HAVE_LIBXSLT_PATTERN_H
11340 # include <libxslt/pattern.h>
11343 if eval test \"x\$
"$as_ac_Header"\" = x
"yes"; then :
11344 cat >>confdefs.h
<<_ACEOF
11345 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
11352 if test "$ac_cv_header_libxslt_transform_h" = "yes"
11354 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lxslt" >&5
11355 $as_echo_n "checking for -lxslt... " >&6; }
11356 if ${ac_cv_lib_soname_xslt+:} false
; then :
11357 $as_echo_n "(cached) " >&6
11359 ac_check_soname_save_LIBS
=$LIBS
11360 LIBS
="-lxslt $XSLT_LIBS $LIBS"
11361 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11362 /* end confdefs.h. */
11364 /* Override any GCC internal prototype to avoid an error.
11365 Use char because int might match the return type of a GCC
11366 builtin and then its argument prototype would still apply. */
11370 char xsltCompilePattern ();
11374 return xsltCompilePattern ();
11379 if ac_fn_c_try_link
"$LINENO"; then :
11381 dll
) ac_cv_lib_soname_xslt
=`$ac_cv_path_LDD conftest.exe | grep "xslt" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11382 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'` ;;
11383 *) ac_cv_lib_soname_xslt
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libxslt\\.$LIBEXT" | sed -e "s/^.*\\[\\(libxslt\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
11384 if ${ac_cv_lib_soname_xslt:+false} :; then :
11385 ac_cv_lib_soname_xslt
=`$LDD conftest$ac_exeext | grep "libxslt\\.$LIBEXT" | sed -e "s/^.*\(libxslt\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11389 rm -f core conftest.err conftest.
$ac_objext \
11390 conftest
$ac_exeext conftest.
$ac_ext
11391 LIBS
=$ac_check_soname_save_LIBS
11393 if ${ac_cv_lib_soname_xslt:+false} :; then :
11394 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11395 $as_echo "not found" >&6; }
11398 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_xslt" >&5
11399 $as_echo "$ac_cv_lib_soname_xslt" >&6; }
11401 cat >>confdefs.h
<<_ACEOF
11402 #define SONAME_LIBXSLT "$ac_cv_lib_soname_xslt"
11410 CPPFLAGS
=$ac_save_CPPFLAGS
11411 test -z "$XSLT_CFLAGS" || XSLT_CFLAGS
=`echo " $XSLT_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
11412 test -z "$XSLT_LIBS" || XSLT_LIBS
=`echo " $XSLT_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
11415 if test "x$ac_cv_lib_soname_xslt" = "x"; then :
11416 case "x$with_xslt" in
11417 x
) as_fn_append wine_warnings
"|libxslt ${notice_platform}development files not found, xslt won't be supported." ;;
11419 *) as_fn_error $?
"libxslt ${notice_platform}development files not found, xslt won't be supported.
11420 This is an error since --with-xslt was requested." "$LINENO" 5 ;;
11425 if test "x$with_dbus" != "xno"
11427 if ${DBUS_CFLAGS:+false} :; then :
11428 if ${PKG_CONFIG+:} false
; then :
11429 DBUS_CFLAGS
=`$PKG_CONFIG --cflags dbus-1 2>/dev/null`
11433 if ${DBUS_LIBS:+false} :; then :
11434 if ${PKG_CONFIG+:} false
; then :
11435 DBUS_LIBS
=`$PKG_CONFIG --libs dbus-1 2>/dev/null`
11440 $as_echo "$as_me:${as_lineno-$LINENO}: dbus-1 cflags: $DBUS_CFLAGS" >&5
11441 $as_echo "$as_me:${as_lineno-$LINENO}: dbus-1 libs: $DBUS_LIBS" >&5
11442 ac_save_CPPFLAGS
=$CPPFLAGS
11443 CPPFLAGS
="$CPPFLAGS $DBUS_CFLAGS"
11444 ac_fn_c_check_header_mongrel
"$LINENO" "dbus/dbus.h" "ac_cv_header_dbus_dbus_h" "$ac_includes_default"
11445 if test "x$ac_cv_header_dbus_dbus_h" = xyes
; then :
11446 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -ldbus-1" >&5
11447 $as_echo_n "checking for -ldbus-1... " >&6; }
11448 if ${ac_cv_lib_soname_dbus_1+:} false
; then :
11449 $as_echo_n "(cached) " >&6
11451 ac_check_soname_save_LIBS
=$LIBS
11452 LIBS
="-ldbus-1 $DBUS_LIBS $LIBS"
11453 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11454 /* end confdefs.h. */
11456 /* Override any GCC internal prototype to avoid an error.
11457 Use char because int might match the return type of a GCC
11458 builtin and then its argument prototype would still apply. */
11462 char dbus_connection_close ();
11466 return dbus_connection_close ();
11471 if ac_fn_c_try_link
"$LINENO"; then :
11473 dll
) ac_cv_lib_soname_dbus_1
=`$ac_cv_path_LDD conftest.exe | grep "dbus-1" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11474 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'` ;;
11475 *) 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'`
11476 if ${ac_cv_lib_soname_dbus_1:+false} :; then :
11477 ac_cv_lib_soname_dbus_1
=`$LDD conftest$ac_exeext | grep "libdbus-1\\.$LIBEXT" | sed -e "s/^.*\(libdbus-1\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11481 rm -f core conftest.err conftest.
$ac_objext \
11482 conftest
$ac_exeext conftest.
$ac_ext
11483 LIBS
=$ac_check_soname_save_LIBS
11485 if ${ac_cv_lib_soname_dbus_1:+false} :; then :
11486 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11487 $as_echo "not found" >&6; }
11490 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_dbus_1" >&5
11491 $as_echo "$ac_cv_lib_soname_dbus_1" >&6; }
11493 cat >>confdefs.h
<<_ACEOF
11494 #define SONAME_LIBDBUS_1 "$ac_cv_lib_soname_dbus_1"
11504 CPPFLAGS
=$ac_save_CPPFLAGS
11505 test -z "$DBUS_CFLAGS" || DBUS_CFLAGS
=`echo " $DBUS_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
11506 test -z "$DBUS_LIBS" || DBUS_LIBS
=`echo " $DBUS_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
11509 if test "x$ac_cv_lib_soname_dbus_1" = "x" -a \
11510 "x$ac_cv_header_DiskArbitration_DiskArbitration_h" != "xyes"; then :
11511 case "x$with_dbus" in
11512 x
) as_fn_append wine_notices
"|libdbus ${notice_platform}development files not found, no dynamic device support." ;;
11514 *) as_fn_error $?
"libdbus ${notice_platform}development files not found, no dynamic device support.
11515 This is an error since --with-dbus was requested." "$LINENO" 5 ;;
11520 if test "x$with_hal" != "xno" -a "x$ac_cv_lib_soname_dbus_1" != x
11522 if ${HAL_CFLAGS:+false} :; then :
11523 if ${PKG_CONFIG+:} false
; then :
11524 HAL_CFLAGS
=`$PKG_CONFIG --cflags hal 2>/dev/null`
11528 if ${HAL_LIBS:+false} :; then :
11529 if ${PKG_CONFIG+:} false
; then :
11530 HAL_LIBS
=`$PKG_CONFIG --libs hal 2>/dev/null`
11534 HAL_LIBS
=${HAL_LIBS:-"-ldbus-1"}
11535 $as_echo "$as_me:${as_lineno-$LINENO}: hal cflags: $HAL_CFLAGS" >&5
11536 $as_echo "$as_me:${as_lineno-$LINENO}: hal libs: $HAL_LIBS" >&5
11537 ac_save_CPPFLAGS
=$CPPFLAGS
11538 CPPFLAGS
="$CPPFLAGS $HAL_CFLAGS"
11539 ac_fn_c_check_header_mongrel
"$LINENO" "hal/libhal.h" "ac_cv_header_hal_libhal_h" "$ac_includes_default"
11540 if test "x$ac_cv_header_hal_libhal_h" = xyes
; then :
11541 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lhal" >&5
11542 $as_echo_n "checking for -lhal... " >&6; }
11543 if ${ac_cv_lib_soname_hal+:} false
; then :
11544 $as_echo_n "(cached) " >&6
11546 ac_check_soname_save_LIBS
=$LIBS
11547 LIBS
="-lhal $HAL_LIBS $LIBS"
11548 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11549 /* end confdefs.h. */
11551 /* Override any GCC internal prototype to avoid an error.
11552 Use char because int might match the return type of a GCC
11553 builtin and then its argument prototype would still apply. */
11557 char libhal_ctx_new ();
11561 return libhal_ctx_new ();
11566 if ac_fn_c_try_link
"$LINENO"; then :
11568 dll
) ac_cv_lib_soname_hal
=`$ac_cv_path_LDD conftest.exe | grep "hal" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11569 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'` ;;
11570 *) ac_cv_lib_soname_hal
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libhal\\.$LIBEXT" | sed -e "s/^.*\\[\\(libhal\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
11571 if ${ac_cv_lib_soname_hal:+false} :; then :
11572 ac_cv_lib_soname_hal
=`$LDD conftest$ac_exeext | grep "libhal\\.$LIBEXT" | sed -e "s/^.*\(libhal\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11576 rm -f core conftest.err conftest.
$ac_objext \
11577 conftest
$ac_exeext conftest.
$ac_ext
11578 LIBS
=$ac_check_soname_save_LIBS
11580 if ${ac_cv_lib_soname_hal:+false} :; then :
11581 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11582 $as_echo "not found" >&6; }
11585 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_hal" >&5
11586 $as_echo "$ac_cv_lib_soname_hal" >&6; }
11588 cat >>confdefs.h
<<_ACEOF
11589 #define SONAME_LIBHAL "$ac_cv_lib_soname_hal"
11599 CPPFLAGS
=$ac_save_CPPFLAGS
11600 test -z "$HAL_CFLAGS" || HAL_CFLAGS
=`echo " $HAL_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
11601 test -z "$HAL_LIBS" || HAL_LIBS
=`echo " $HAL_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
11603 if test "x$ac_cv_lib_soname_hal" = "x" -a \
11604 "x$ac_cv_header_DiskArbitration_DiskArbitration_h" != "xyes"; then :
11605 case "x$with_hal" in
11606 x
) as_fn_append wine_notices
"|libhal ${notice_platform}development files not found, no legacy dynamic device support." ;;
11608 *) as_fn_error $?
"libhal ${notice_platform}development files not found, no legacy dynamic device support.
11609 This is an error since --with-hal was requested." "$LINENO" 5 ;;
11615 if test "x$with_gnutls" != "xno"
11617 if ${GNUTLS_CFLAGS:+false} :; then :
11618 if ${PKG_CONFIG+:} false
; then :
11619 GNUTLS_CFLAGS
=`$PKG_CONFIG --cflags gnutls 2>/dev/null`
11623 if ${GNUTLS_LIBS:+false} :; then :
11624 if ${PKG_CONFIG+:} false
; then :
11625 GNUTLS_LIBS
=`$PKG_CONFIG --libs gnutls 2>/dev/null`
11630 $as_echo "$as_me:${as_lineno-$LINENO}: gnutls cflags: $GNUTLS_CFLAGS" >&5
11631 $as_echo "$as_me:${as_lineno-$LINENO}: gnutls libs: $GNUTLS_LIBS" >&5
11632 ac_save_CPPFLAGS
=$CPPFLAGS
11633 CPPFLAGS
="$CPPFLAGS $GNUTLS_CFLAGS"
11634 ac_fn_c_check_header_mongrel
"$LINENO" "gnutls/gnutls.h" "ac_cv_header_gnutls_gnutls_h" "$ac_includes_default"
11635 if test "x$ac_cv_header_gnutls_gnutls_h" = xyes
; then :
11636 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11637 /* end confdefs.h. */
11638 #include <gnutls/gnutls.h>
11639 #include <gnutls/crypto.h>
11643 static typeof(gnutls_mac_get_key_size) *func; if (func) return 0;
11648 if ac_fn_c_try_compile
"$LINENO"; then :
11649 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lgnutls" >&5
11650 $as_echo_n "checking for -lgnutls... " >&6; }
11651 if ${ac_cv_lib_soname_gnutls+:} false
; then :
11652 $as_echo_n "(cached) " >&6
11654 ac_check_soname_save_LIBS
=$LIBS
11655 LIBS
="-lgnutls $GNUTLS_LIBS $LIBS"
11656 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11657 /* end confdefs.h. */
11659 /* Override any GCC internal prototype to avoid an error.
11660 Use char because int might match the return type of a GCC
11661 builtin and then its argument prototype would still apply. */
11665 char gnutls_global_init ();
11669 return gnutls_global_init ();
11674 if ac_fn_c_try_link
"$LINENO"; then :
11676 dll
) ac_cv_lib_soname_gnutls
=`$ac_cv_path_LDD conftest.exe | grep "gnutls" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11677 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'` ;;
11678 *) 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'`
11679 if ${ac_cv_lib_soname_gnutls:+false} :; then :
11680 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'`
11684 rm -f core conftest.err conftest.
$ac_objext \
11685 conftest
$ac_exeext conftest.
$ac_ext
11686 LIBS
=$ac_check_soname_save_LIBS
11688 if ${ac_cv_lib_soname_gnutls:+false} :; then :
11689 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11690 $as_echo "not found" >&6; }
11693 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_gnutls" >&5
11694 $as_echo "$ac_cv_lib_soname_gnutls" >&6; }
11696 cat >>confdefs.h
<<_ACEOF
11697 #define SONAME_LIBGNUTLS "$ac_cv_lib_soname_gnutls"
11702 ac_wine_check_funcs_save_LIBS
="$LIBS"
11703 LIBS
="$LIBS $GNUTLS_LIBS"
11704 for ac_func
in gnutls_hash
11706 ac_fn_c_check_func
"$LINENO" "gnutls_hash" "ac_cv_func_gnutls_hash"
11707 if test "x$ac_cv_func_gnutls_hash" = xyes
; then :
11708 cat >>confdefs.h
<<_ACEOF
11709 #define HAVE_GNUTLS_HASH 1
11713 as_fn_append wine_notices
"|libgnutls ${notice_platform}development files too old, no bcrypt hash support."
11717 LIBS
="$ac_wine_check_funcs_save_LIBS"
11719 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
11725 CPPFLAGS
=$ac_save_CPPFLAGS
11726 test -z "$GNUTLS_CFLAGS" || GNUTLS_CFLAGS
=`echo " $GNUTLS_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
11727 test -z "$GNUTLS_LIBS" || GNUTLS_LIBS
=`echo " $GNUTLS_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
11730 if test "x$ac_cv_lib_soname_gnutls" = "x"; then :
11731 case "x$with_gnutls" in
11732 x
) as_fn_append wine_warnings
"|libgnutls ${notice_platform}development files not found, no schannel support." ;;
11734 *) as_fn_error $?
"libgnutls ${notice_platform}development files not found, no schannel support.
11735 This is an error since --with-gnutls was requested." "$LINENO" 5 ;;
11741 if test "$ac_cv_header_ncurses_h" = "yes"
11743 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lncurses" >&5
11744 $as_echo_n "checking for -lncurses... " >&6; }
11745 if ${ac_cv_lib_soname_ncurses+:} false
; then :
11746 $as_echo_n "(cached) " >&6
11748 ac_check_soname_save_LIBS
=$LIBS
11749 LIBS
="-lncurses $LIBS"
11750 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11751 /* end confdefs.h. */
11753 /* Override any GCC internal prototype to avoid an error.
11754 Use char because int might match the return type of a GCC
11755 builtin and then its argument prototype would still apply. */
11768 if ac_fn_c_try_link
"$LINENO"; then :
11770 dll
) ac_cv_lib_soname_ncurses
=`$ac_cv_path_LDD conftest.exe | grep "ncurses" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11771 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'` ;;
11772 *) 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'`
11773 if ${ac_cv_lib_soname_ncurses:+false} :; then :
11774 ac_cv_lib_soname_ncurses
=`$LDD conftest$ac_exeext | grep "libncursesw\\{0,1\\}\\.$LIBEXT" | sed -e "s/^.*\(libncursesw\\{0,1\\}\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11778 rm -f core conftest.err conftest.
$ac_objext \
11779 conftest
$ac_exeext conftest.
$ac_ext
11780 LIBS
=$ac_check_soname_save_LIBS
11782 if ${ac_cv_lib_soname_ncurses:+false} :; then :
11783 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11784 $as_echo "not found" >&6; }
11787 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_ncurses" >&5
11788 $as_echo "$ac_cv_lib_soname_ncurses" >&6; }
11790 cat >>confdefs.h
<<_ACEOF
11791 #define SONAME_LIBNCURSES "$ac_cv_lib_soname_ncurses"
11794 CURSES_LIBS
="-lncurses"
11796 elif test "$ac_cv_header_curses_h" = "yes"
11798 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lcurses" >&5
11799 $as_echo_n "checking for -lcurses... " >&6; }
11800 if ${ac_cv_lib_soname_curses+:} false
; then :
11801 $as_echo_n "(cached) " >&6
11803 ac_check_soname_save_LIBS
=$LIBS
11804 LIBS
="-lcurses $LIBS"
11805 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11806 /* end confdefs.h. */
11808 /* Override any GCC internal prototype to avoid an error.
11809 Use char because int might match the return type of a GCC
11810 builtin and then its argument prototype would still apply. */
11823 if ac_fn_c_try_link
"$LINENO"; then :
11825 dll
) ac_cv_lib_soname_curses
=`$ac_cv_path_LDD conftest.exe | grep "curses" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11826 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'` ;;
11827 *) ac_cv_lib_soname_curses
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libcurses\\.$LIBEXT" | sed -e "s/^.*\\[\\(libcurses\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
11828 if ${ac_cv_lib_soname_curses:+false} :; then :
11829 ac_cv_lib_soname_curses
=`$LDD conftest$ac_exeext | grep "libcurses\\.$LIBEXT" | sed -e "s/^.*\(libcurses\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11833 rm -f core conftest.err conftest.
$ac_objext \
11834 conftest
$ac_exeext conftest.
$ac_ext
11835 LIBS
=$ac_check_soname_save_LIBS
11837 if ${ac_cv_lib_soname_curses:+false} :; then :
11838 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11839 $as_echo "not found" >&6; }
11842 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_curses" >&5
11843 $as_echo "$ac_cv_lib_soname_curses" >&6; }
11845 cat >>confdefs.h
<<_ACEOF
11846 #define SONAME_LIBCURSES "$ac_cv_lib_soname_curses"
11849 CURSES_LIBS
="-lcurses"
11852 ac_save_LIBS
="$LIBS"
11853 LIBS
="$LIBS $CURSES_LIBS"
11854 for ac_func
in mousemask
11856 ac_fn_c_check_func
"$LINENO" "mousemask" "ac_cv_func_mousemask"
11857 if test "x$ac_cv_func_mousemask" = xyes
; then :
11858 cat >>confdefs.h
<<_ACEOF
11859 #define HAVE_MOUSEMASK 1
11865 LIBS
="$ac_save_LIBS"
11866 if test "x$ac_cv_lib_soname_curses$ac_cv_lib_soname_ncurses" = "x"; then :
11867 case "x$with_curses" in
11868 x
) as_fn_append wine_notices
"|lib(n)curses ${notice_platform}development files not found, curses won't be supported." ;;
11870 *) as_fn_error $?
"lib(n)curses ${notice_platform}development files not found, curses won't be supported.
11871 This is an error since --with-curses was requested." "$LINENO" 5 ;;
11876 if test "x$with_sane" != "xno"
11878 if ${SANE_CFLAGS:+false} :; then :
11879 if ${PKG_CONFIG+:} false
; then :
11880 SANE_CFLAGS
=`$PKG_CONFIG --cflags libsane 2>/dev/null`
11883 test "$cross_compiling" = yes || SANE_CFLAGS
=${SANE_CFLAGS:-`${SANE_CONFIG:-sane-config} --cflags 2>/dev/null`}
11884 if ${SANE_LIBS:+false} :; then :
11885 if ${PKG_CONFIG+:} false
; then :
11886 SANE_LIBS
=`$PKG_CONFIG --libs libsane 2>/dev/null`
11889 test "$cross_compiling" = yes || SANE_LIBS
=${SANE_LIBS:-`${SANE_CONFIG:-sane-config} --ldflags 2>/dev/null`}
11891 $as_echo "$as_me:${as_lineno-$LINENO}: libsane cflags: $SANE_CFLAGS" >&5
11892 $as_echo "$as_me:${as_lineno-$LINENO}: libsane libs: $SANE_LIBS" >&5
11893 ac_save_CPPFLAGS
=$CPPFLAGS
11894 CPPFLAGS
="$CPPFLAGS $SANE_CFLAGS"
11895 ac_fn_c_check_header_mongrel
"$LINENO" "sane/sane.h" "ac_cv_header_sane_sane_h" "$ac_includes_default"
11896 if test "x$ac_cv_header_sane_sane_h" = xyes
; then :
11897 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lsane" >&5
11898 $as_echo_n "checking for -lsane... " >&6; }
11899 if ${ac_cv_lib_soname_sane+:} false
; then :
11900 $as_echo_n "(cached) " >&6
11902 ac_check_soname_save_LIBS
=$LIBS
11903 LIBS
="-lsane $SANE_LIBS $LIBS"
11904 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11905 /* end confdefs.h. */
11907 /* Override any GCC internal prototype to avoid an error.
11908 Use char because int might match the return type of a GCC
11909 builtin and then its argument prototype would still apply. */
11917 return sane_init ();
11922 if ac_fn_c_try_link
"$LINENO"; then :
11924 dll
) ac_cv_lib_soname_sane
=`$ac_cv_path_LDD conftest.exe | grep "sane" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11925 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'` ;;
11926 *) ac_cv_lib_soname_sane
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libsane\\.$LIBEXT" | sed -e "s/^.*\\[\\(libsane\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
11927 if ${ac_cv_lib_soname_sane:+false} :; then :
11928 ac_cv_lib_soname_sane
=`$LDD conftest$ac_exeext | grep "libsane\\.$LIBEXT" | sed -e "s/^.*\(libsane\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11932 rm -f core conftest.err conftest.
$ac_objext \
11933 conftest
$ac_exeext conftest.
$ac_ext
11934 LIBS
=$ac_check_soname_save_LIBS
11936 if ${ac_cv_lib_soname_sane:+false} :; then :
11937 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11938 $as_echo "not found" >&6; }
11941 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_sane" >&5
11942 $as_echo "$ac_cv_lib_soname_sane" >&6; }
11944 cat >>confdefs.h
<<_ACEOF
11945 #define SONAME_LIBSANE "$ac_cv_lib_soname_sane"
11955 CPPFLAGS
=$ac_save_CPPFLAGS
11956 test -z "$SANE_CFLAGS" || SANE_CFLAGS
=`echo " $SANE_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
11957 test -z "$SANE_LIBS" || SANE_LIBS
=`echo " $SANE_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
11960 if test "x$ac_cv_lib_soname_sane" = "x"; then :
11961 case "x$with_sane" in
11962 x
) as_fn_append wine_notices
"|libsane ${notice_platform}development files not found, scanners won't be supported." ;;
11964 *) as_fn_error $?
"libsane ${notice_platform}development files not found, scanners won't be supported.
11965 This is an error since --with-sane was requested." "$LINENO" 5 ;;
11970 if test "x$with_v4l" != "xno"
11972 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lv4l1" >&5
11973 $as_echo_n "checking for -lv4l1... " >&6; }
11974 if ${ac_cv_lib_soname_v4l1+:} false
; then :
11975 $as_echo_n "(cached) " >&6
11977 ac_check_soname_save_LIBS
=$LIBS
11978 LIBS
="-lv4l1 $LIBS"
11979 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11980 /* end confdefs.h. */
11982 /* Override any GCC internal prototype to avoid an error.
11983 Use char because int might match the return type of a GCC
11984 builtin and then its argument prototype would still apply. */
11992 return v4l1_open ();
11997 if ac_fn_c_try_link
"$LINENO"; then :
11999 dll
) ac_cv_lib_soname_v4l1
=`$ac_cv_path_LDD conftest.exe | grep "v4l1" | sed -e "s/dll.*/dll/"';2,$d'` ;;
12000 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'` ;;
12001 *) ac_cv_lib_soname_v4l1
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libv4l1\\.$LIBEXT" | sed -e "s/^.*\\[\\(libv4l1\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
12002 if ${ac_cv_lib_soname_v4l1:+false} :; then :
12003 ac_cv_lib_soname_v4l1
=`$LDD conftest$ac_exeext | grep "libv4l1\\.$LIBEXT" | sed -e "s/^.*\(libv4l1\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
12007 rm -f core conftest.err conftest.
$ac_objext \
12008 conftest
$ac_exeext conftest.
$ac_ext
12009 LIBS
=$ac_check_soname_save_LIBS
12011 if ${ac_cv_lib_soname_v4l1:+false} :; then :
12012 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
12013 $as_echo "not found" >&6; }
12016 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_v4l1" >&5
12017 $as_echo "$ac_cv_lib_soname_v4l1" >&6; }
12019 cat >>confdefs.h
<<_ACEOF
12020 #define SONAME_LIBV4L1 "$ac_cv_lib_soname_v4l1"
12026 if test "x$ac_cv_lib_soname_v4l1" = "x"; then :
12027 case "x$with_v4l" in
12028 x
) as_fn_append wine_notices
"|libv4l ${notice_platform}development files not found." ;;
12030 *) as_fn_error $?
"libv4l ${notice_platform}development files not found.
12031 This is an error since --with-v4l was requested." "$LINENO" 5 ;;
12036 if test "x$with_gphoto" != "xno"
12038 if ${GPHOTO2_CFLAGS:+false} :; then :
12039 if ${PKG_CONFIG+:} false
; then :
12040 GPHOTO2_CFLAGS
=`$PKG_CONFIG --cflags libgphoto2 2>/dev/null`
12043 test "$cross_compiling" = yes || GPHOTO2_CFLAGS
=${GPHOTO2_CFLAGS:-`${GPHOTO2_CONFIG:-gphoto2-config} --cflags 2>/dev/null`}
12044 if ${GPHOTO2_LIBS:+false} :; then :
12045 if ${PKG_CONFIG+:} false
; then :
12046 GPHOTO2_LIBS
=`$PKG_CONFIG --libs libgphoto2 2>/dev/null`
12049 test "$cross_compiling" = yes || GPHOTO2_LIBS
=${GPHOTO2_LIBS:-`${GPHOTO2_CONFIG:-gphoto2-config} --libs 2>/dev/null`}
12050 GPHOTO2_LIBS
=${GPHOTO2_LIBS:-"-lgphoto2"}
12051 $as_echo "$as_me:${as_lineno-$LINENO}: libgphoto2 cflags: $GPHOTO2_CFLAGS" >&5
12052 $as_echo "$as_me:${as_lineno-$LINENO}: libgphoto2 libs: $GPHOTO2_LIBS" >&5
12053 ac_save_CPPFLAGS
=$CPPFLAGS
12054 CPPFLAGS
="$CPPFLAGS $GPHOTO2_CFLAGS"
12055 ac_fn_c_check_header_mongrel
"$LINENO" "gphoto2-camera.h" "ac_cv_header_gphoto2_camera_h" "$ac_includes_default"
12056 if test "x$ac_cv_header_gphoto2_camera_h" = xyes
; then :
12057 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gp_camera_new in -lgphoto2" >&5
12058 $as_echo_n "checking for gp_camera_new in -lgphoto2... " >&6; }
12059 if ${ac_cv_lib_gphoto2_gp_camera_new+:} false
; then :
12060 $as_echo_n "(cached) " >&6
12062 ac_check_lib_save_LIBS
=$LIBS
12063 LIBS
="-lgphoto2 $GPHOTO2_LIBS $LIBS"
12064 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12065 /* end confdefs.h. */
12067 /* Override any GCC internal prototype to avoid an error.
12068 Use char because int might match the return type of a GCC
12069 builtin and then its argument prototype would still apply. */
12073 char gp_camera_new ();
12077 return gp_camera_new ();
12082 if ac_fn_c_try_link
"$LINENO"; then :
12083 ac_cv_lib_gphoto2_gp_camera_new
=yes
12085 ac_cv_lib_gphoto2_gp_camera_new
=no
12087 rm -f core conftest.err conftest.
$ac_objext \
12088 conftest
$ac_exeext conftest.
$ac_ext
12089 LIBS
=$ac_check_lib_save_LIBS
12091 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gphoto2_gp_camera_new" >&5
12092 $as_echo "$ac_cv_lib_gphoto2_gp_camera_new" >&6; }
12093 if test "x$ac_cv_lib_gphoto2_gp_camera_new" = xyes
; then :
12095 $as_echo "#define HAVE_GPHOTO2 1" >>confdefs.h
12098 GPHOTO2_LIBS
=""; GPHOTO2_CFLAGS
=""
12102 GPHOTO2_LIBS
=""; GPHOTO2_CFLAGS
=""
12106 CPPFLAGS
=$ac_save_CPPFLAGS
12107 test -z "$GPHOTO2_CFLAGS" || GPHOTO2_CFLAGS
=`echo " $GPHOTO2_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
12108 test -z "$GPHOTO2_LIBS" || GPHOTO2_LIBS
=`echo " $GPHOTO2_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
12110 if ${GPHOTO2_PORT_CFLAGS:+false} :; then :
12111 if ${PKG_CONFIG+:} false
; then :
12112 GPHOTO2_PORT_CFLAGS
=`$PKG_CONFIG --cflags libgphoto2_port 2>/dev/null`
12115 test "$cross_compiling" = yes || GPHOTO2_PORT_CFLAGS
=${GPHOTO2_PORT_CFLAGS:-`${GPHOTO2_PORT_CONFIG:-gphoto2-port-config} --cflags 2>/dev/null`}
12116 if ${GPHOTO2_PORT_LIBS:+false} :; then :
12117 if ${PKG_CONFIG+:} false
; then :
12118 GPHOTO2_PORT_LIBS
=`$PKG_CONFIG --libs libgphoto2_port 2>/dev/null`
12121 test "$cross_compiling" = yes || GPHOTO2_PORT_LIBS
=${GPHOTO2_PORT_LIBS:-`${GPHOTO2_PORT_CONFIG:-gphoto2-port-config} --libs 2>/dev/null`}
12122 GPHOTO2_PORT_LIBS
=${GPHOTO2_PORT_LIBS:-"-lgphoto2_port"}
12123 $as_echo "$as_me:${as_lineno-$LINENO}: libgphoto2_port cflags: $GPHOTO2_PORT_CFLAGS" >&5
12124 $as_echo "$as_me:${as_lineno-$LINENO}: libgphoto2_port libs: $GPHOTO2_PORT_LIBS" >&5
12125 ac_save_CPPFLAGS
=$CPPFLAGS
12126 CPPFLAGS
="$CPPFLAGS $GPHOTO2_PORT_CFLAGS"
12127 ac_fn_c_check_header_mongrel
"$LINENO" "gphoto2-port.h" "ac_cv_header_gphoto2_port_h" "$ac_includes_default"
12128 if test "x$ac_cv_header_gphoto2_port_h" = xyes
; then :
12129 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gp_port_info_list_new in -lgphoto2_port" >&5
12130 $as_echo_n "checking for gp_port_info_list_new in -lgphoto2_port... " >&6; }
12131 if ${ac_cv_lib_gphoto2_port_gp_port_info_list_new+:} false
; then :
12132 $as_echo_n "(cached) " >&6
12134 ac_check_lib_save_LIBS
=$LIBS
12135 LIBS
="-lgphoto2_port $GPHOTO2_PORT_LIBS $LIBS"
12136 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12137 /* end confdefs.h. */
12139 /* Override any GCC internal prototype to avoid an error.
12140 Use char because int might match the return type of a GCC
12141 builtin and then its argument prototype would still apply. */
12145 char gp_port_info_list_new ();
12149 return gp_port_info_list_new ();
12154 if ac_fn_c_try_link
"$LINENO"; then :
12155 ac_cv_lib_gphoto2_port_gp_port_info_list_new
=yes
12157 ac_cv_lib_gphoto2_port_gp_port_info_list_new
=no
12159 rm -f core conftest.err conftest.
$ac_objext \
12160 conftest
$ac_exeext conftest.
$ac_ext
12161 LIBS
=$ac_check_lib_save_LIBS
12163 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gphoto2_port_gp_port_info_list_new" >&5
12164 $as_echo "$ac_cv_lib_gphoto2_port_gp_port_info_list_new" >&6; }
12165 if test "x$ac_cv_lib_gphoto2_port_gp_port_info_list_new" = xyes
; then :
12167 $as_echo "#define HAVE_GPHOTO2_PORT 1" >>confdefs.h
12170 GPHOTO2_PORT_LIBS
=""; GPHOTO2_PORT_CFLAGS
=""
12174 GPHOTO2_PORT_LIBS
=""; GPHOTO2_PORT_CFLAGS
=""
12178 CPPFLAGS
=$ac_save_CPPFLAGS
12179 test -z "$GPHOTO2_PORT_CFLAGS" || GPHOTO2_PORT_CFLAGS
=`echo " $GPHOTO2_PORT_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
12180 test -z "$GPHOTO2_PORT_LIBS" || GPHOTO2_PORT_LIBS
=`echo " $GPHOTO2_PORT_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
12183 if test "$ac_cv_lib_gphoto2_gp_camera_new" != "yes"; then :
12184 case "x$with_gphoto" in
12185 x
) as_fn_append wine_notices
"|libgphoto2 ${notice_platform}development files not found, digital cameras won't be supported." ;;
12187 *) as_fn_error $?
"libgphoto2 ${notice_platform}development files not found, digital cameras won't be supported.
12188 This is an error since --with-gphoto was requested." "$LINENO" 5 ;;
12192 if test "$ac_cv_lib_gphoto2_port_gp_port_info_list_new" != "yes"; then :
12193 case "x$with_gphoto" in
12194 x
) as_fn_append wine_notices
"|libgphoto2_port ${notice_platform}development files not found, digital cameras won't be auto-detected." ;;
12196 *) as_fn_error $?
"libgphoto2_port ${notice_platform}development files not found, digital cameras won't be auto-detected.
12197 This is an error since --with-gphoto was requested." "$LINENO" 5 ;;
12203 if test "$ac_cv_header_resolv_h" = "yes"
12205 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for resolver library" >&5
12206 $as_echo_n "checking for resolver library... " >&6; }
12207 if ${ac_cv_have_resolv+:} false
; then :
12208 $as_echo_n "(cached) " >&6
12210 ac_save_LIBS
="$LIBS"
12211 for lib
in '' -lresolv
12213 LIBS
="$lib $ac_save_LIBS"
12214 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12215 /* end confdefs.h. */
12216 #ifdef HAVE_NETINET_IN_H
12217 #include <netinet/in.h>
12219 #include <resolv.h>
12223 if (!(_res.options & RES_INIT)) res_init(); res_query("foo",ns_c_in,0,0,0)
12228 if ac_fn_c_try_link
"$LINENO"; then :
12229 ac_cv_have_resolv
=${lib:-"none required"}
12231 ac_cv_have_resolv
="not found"
12233 rm -f core conftest.err conftest.
$ac_objext \
12234 conftest
$ac_exeext conftest.
$ac_ext
12235 test "x$ac_cv_have_resolv" = "xnot found" ||
break
12237 LIBS
="$ac_save_LIBS"
12239 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_resolv" >&5
12240 $as_echo "$ac_cv_have_resolv" >&6; }
12242 case "$ac_cv_have_resolv" in
12246 $as_echo "#define HAVE_RESOLV 1" >>confdefs.h
12249 $as_echo "#define HAVE_RESOLV 1" >>confdefs.h
12251 RESOLV_LIBS
=$ac_cv_have_resolv
12256 if test "x$with_cms" != "xno"
12258 if ${LCMS2_CFLAGS:+false} :; then :
12259 if ${PKG_CONFIG+:} false
; then :
12260 LCMS2_CFLAGS
=`$PKG_CONFIG --cflags lcms2 2>/dev/null`
12264 if ${LCMS2_LIBS:+false} :; then :
12265 if ${PKG_CONFIG+:} false
; then :
12266 LCMS2_LIBS
=`$PKG_CONFIG --libs lcms2 2>/dev/null`
12270 LCMS2_LIBS
=${LCMS2_LIBS:-"-llcms2"}
12271 $as_echo "$as_me:${as_lineno-$LINENO}: lcms2 cflags: $LCMS2_CFLAGS" >&5
12272 $as_echo "$as_me:${as_lineno-$LINENO}: lcms2 libs: $LCMS2_LIBS" >&5
12273 ac_save_CPPFLAGS
=$CPPFLAGS
12274 CPPFLAGS
="$CPPFLAGS $LCMS2_CFLAGS"
12275 for ac_header
in lcms2.h
12277 ac_fn_c_check_header_mongrel
"$LINENO" "lcms2.h" "ac_cv_header_lcms2_h" "$ac_includes_default"
12278 if test "x$ac_cv_header_lcms2_h" = xyes
; then :
12279 cat >>confdefs.h
<<_ACEOF
12280 #define HAVE_LCMS2_H 1
12287 if test "$ac_cv_header_lcms2_h" = "yes"
12289 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cmsOpenProfileFromFile in -llcms2" >&5
12290 $as_echo_n "checking for cmsOpenProfileFromFile in -llcms2... " >&6; }
12291 if ${ac_cv_lib_lcms2_cmsOpenProfileFromFile+:} false
; then :
12292 $as_echo_n "(cached) " >&6
12294 ac_check_lib_save_LIBS
=$LIBS
12295 LIBS
="-llcms2 $LCMS2_LIBS $LIBS"
12296 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12297 /* end confdefs.h. */
12299 /* Override any GCC internal prototype to avoid an error.
12300 Use char because int might match the return type of a GCC
12301 builtin and then its argument prototype would still apply. */
12305 char cmsOpenProfileFromFile ();
12309 return cmsOpenProfileFromFile ();
12314 if ac_fn_c_try_link
"$LINENO"; then :
12315 ac_cv_lib_lcms2_cmsOpenProfileFromFile
=yes
12317 ac_cv_lib_lcms2_cmsOpenProfileFromFile
=no
12319 rm -f core conftest.err conftest.
$ac_objext \
12320 conftest
$ac_exeext conftest.
$ac_ext
12321 LIBS
=$ac_check_lib_save_LIBS
12323 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_lcms2_cmsOpenProfileFromFile" >&5
12324 $as_echo "$ac_cv_lib_lcms2_cmsOpenProfileFromFile" >&6; }
12325 if test "x$ac_cv_lib_lcms2_cmsOpenProfileFromFile" = xyes
; then :
12327 $as_echo "#define HAVE_LCMS2 1" >>confdefs.h
12337 CPPFLAGS
=$ac_save_CPPFLAGS
12338 test -z "$LCMS2_CFLAGS" || LCMS2_CFLAGS
=`echo " $LCMS2_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
12339 test -z "$LCMS2_LIBS" || LCMS2_LIBS
=`echo " $LCMS2_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
12342 if test "$ac_cv_lib_lcms2_cmsOpenProfileFromFile" != "yes"; then :
12343 case "x$with_cms" in
12344 x
) as_fn_append wine_notices
"|liblcms2 ${notice_platform}development files not found, Color Management won't be supported." ;;
12346 *) as_fn_error $?
"liblcms2 ${notice_platform}development files not found, Color Management won't be supported.
12347 This is an error since --with-cms was requested." "$LINENO" 5 ;;
12352 if test "x$with_freetype" != "xno"
12354 if ${FREETYPE_CFLAGS:+false} :; then :
12355 if ${PKG_CONFIG+:} false
; then :
12356 FREETYPE_CFLAGS
=`$PKG_CONFIG --cflags freetype2 2>/dev/null`
12359 test "$cross_compiling" = yes || FREETYPE_CFLAGS
=${FREETYPE_CFLAGS:-`(${FREETYPE_CONFIG:-freetype-config} --cflags || ${FREETYPE2_CONFIG:-freetype2-config} --cflags) 2>/dev/null`}
12360 if ${FREETYPE_LIBS:+false} :; then :
12361 if ${PKG_CONFIG+:} false
; then :
12362 FREETYPE_LIBS
=`$PKG_CONFIG --libs freetype2 2>/dev/null`
12365 test "$cross_compiling" = yes || FREETYPE_LIBS
=${FREETYPE_LIBS:-`(${FREETYPE_CONFIG:-freetype-config} --libs || ${FREETYPE2_CONFIG:-freetype2-config} --libs) 2>/dev/null`}
12366 FREETYPE_LIBS
=${FREETYPE_LIBS:-"-lfreetype"}
12367 $as_echo "$as_me:${as_lineno-$LINENO}: freetype2 cflags: $FREETYPE_CFLAGS" >&5
12368 $as_echo "$as_me:${as_lineno-$LINENO}: freetype2 libs: $FREETYPE_LIBS" >&5
12369 ac_save_CPPFLAGS
=$CPPFLAGS
12370 CPPFLAGS
="$CPPFLAGS $FREETYPE_CFLAGS"
12371 for ac_header
in ft2build.h
12373 ac_fn_c_check_header_mongrel
"$LINENO" "ft2build.h" "ac_cv_header_ft2build_h" "$ac_includes_default"
12374 if test "x$ac_cv_header_ft2build_h" = xyes
; then :
12375 cat >>confdefs.h
<<_ACEOF
12376 #define HAVE_FT2BUILD_H 1
12383 if test "$ac_cv_header_ft2build_h" = "yes"
12385 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lfreetype" >&5
12386 $as_echo_n "checking for -lfreetype... " >&6; }
12387 if ${ac_cv_lib_soname_freetype+:} false
; then :
12388 $as_echo_n "(cached) " >&6
12390 ac_check_soname_save_LIBS
=$LIBS
12391 LIBS
="-lfreetype $FREETYPE_LIBS $LIBS"
12392 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12393 /* end confdefs.h. */
12395 /* Override any GCC internal prototype to avoid an error.
12396 Use char because int might match the return type of a GCC
12397 builtin and then its argument prototype would still apply. */
12401 char FT_Init_FreeType ();
12405 return FT_Init_FreeType ();
12410 if ac_fn_c_try_link
"$LINENO"; then :
12412 dll
) ac_cv_lib_soname_freetype
=`$ac_cv_path_LDD conftest.exe | grep "freetype" | sed -e "s/dll.*/dll/"';2,$d'` ;;
12413 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'` ;;
12414 *) ac_cv_lib_soname_freetype
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libfreetype\\.$LIBEXT" | sed -e "s/^.*\\[\\(libfreetype\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
12415 if ${ac_cv_lib_soname_freetype:+false} :; then :
12416 ac_cv_lib_soname_freetype
=`$LDD conftest$ac_exeext | grep "libfreetype\\.$LIBEXT" | sed -e "s/^.*\(libfreetype\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
12420 rm -f core conftest.err conftest.
$ac_objext \
12421 conftest
$ac_exeext conftest.
$ac_ext
12422 LIBS
=$ac_check_soname_save_LIBS
12424 if ${ac_cv_lib_soname_freetype:+false} :; then :
12425 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
12426 $as_echo "not found" >&6; }
12429 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_freetype" >&5
12430 $as_echo "$ac_cv_lib_soname_freetype" >&6; }
12432 cat >>confdefs.h
<<_ACEOF
12433 #define SONAME_LIBFREETYPE "$ac_cv_lib_soname_freetype"
12437 $as_echo "#define HAVE_FREETYPE 1" >>confdefs.h
12439 ac_fn_c_check_type
"$LINENO" "FT_TrueTypeEngineType" "ac_cv_type_FT_TrueTypeEngineType" "#include <ft2build.h>
12440 #include FT_MODULE_H
12442 if test "x$ac_cv_type_FT_TrueTypeEngineType" = xyes
; then :
12444 cat >>confdefs.h
<<_ACEOF
12445 #define HAVE_FT_TRUETYPEENGINETYPE 1
12456 CPPFLAGS
=$ac_save_CPPFLAGS
12457 test -z "$FREETYPE_CFLAGS" || FREETYPE_CFLAGS
=`echo " $FREETYPE_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
12458 test -z "$FREETYPE_LIBS" || FREETYPE_LIBS
=`echo " $FREETYPE_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
12461 if test "x$ac_cv_lib_soname_freetype" = x
; then :
12462 case "x$with_freetype" in
12464 *) as_fn_error $?
"FreeType ${notice_platform}development files not found. Fonts will not be built.
12465 Use the --without-freetype option if you really want this." "$LINENO" 5 ;;
12467 enable_fonts
=${enable_fonts:-no}
12470 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for parport header/ppdev.h" >&5
12471 $as_echo_n "checking for parport header/ppdev.h... " >&6; }
12472 if ${ac_cv_c_ppdev+:} false
; then :
12473 $as_echo_n "(cached) " >&6
12475 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12476 /* end confdefs.h. */
12477 #ifdef HAVE_SYS_IOCTL_H
12478 # include <sys/ioctl.h>
12480 #include <linux/ppdev.h>
12484 ioctl (1,PPCLAIM,0)
12489 if ac_fn_c_try_compile
"$LINENO"; then :
12490 ac_cv_c_ppdev
="yes"
12494 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
12496 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_ppdev" >&5
12497 $as_echo "$ac_cv_c_ppdev" >&6; }
12498 if test "$ac_cv_c_ppdev" = "yes"
12501 $as_echo "#define HAVE_PPDEV 1" >>confdefs.h
12505 ac_wine_check_funcs_save_LIBS
="$LIBS"
12506 LIBS
="$LIBS $PTHREAD_LIBS"
12508 pthread_attr_get_np \
12509 pthread_getattr_np \
12510 pthread_getthreadid_np \
12511 pthread_get_stackaddr_np \
12512 pthread_get_stacksize_np
12514 as_ac_var
=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
12515 ac_fn_c_check_func
"$LINENO" "$ac_func" "$as_ac_var"
12516 if eval test \"x\$
"$as_ac_var"\" = x
"yes"; then :
12517 cat >>confdefs.h
<<_ACEOF
12518 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
12524 LIBS
="$ac_wine_check_funcs_save_LIBS"
12526 if test "$ac_cv_header_zlib_h" = "yes"
12528 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for inflate in -lz" >&5
12529 $as_echo_n "checking for inflate in -lz... " >&6; }
12530 if ${ac_cv_lib_z_inflate+:} false
; then :
12531 $as_echo_n "(cached) " >&6
12533 ac_check_lib_save_LIBS
=$LIBS
12535 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12536 /* end confdefs.h. */
12538 /* Override any GCC internal prototype to avoid an error.
12539 Use char because int might match the return type of a GCC
12540 builtin and then its argument prototype would still apply. */
12553 if ac_fn_c_try_link
"$LINENO"; then :
12554 ac_cv_lib_z_inflate
=yes
12556 ac_cv_lib_z_inflate
=no
12558 rm -f core conftest.err conftest.
$ac_objext \
12559 conftest
$ac_exeext conftest.
$ac_ext
12560 LIBS
=$ac_check_lib_save_LIBS
12562 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_z_inflate" >&5
12563 $as_echo "$ac_cv_lib_z_inflate" >&6; }
12564 if test "x$ac_cv_lib_z_inflate" = xyes
; then :
12566 $as_echo "#define HAVE_ZLIB 1" >>confdefs.h
12573 if test "x$Z_LIBS" = "x"; then :
12574 case "x$with_zlib" in
12575 x
) as_fn_append wine_notices
"|libz ${notice_platform}development files not found, data compression won't be supported." ;;
12577 *) as_fn_error $?
"libz ${notice_platform}development files not found, data compression won't be supported.
12578 This is an error since --with-zlib was requested." "$LINENO" 5 ;;
12583 if test "x$enable_tools" != xno
-a "x$with_gettextpo" = xyes
12585 if test "$ac_cv_header_gettext_po_h" = "yes"
12587 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for po_message_msgctxt in -lgettextpo" >&5
12588 $as_echo_n "checking for po_message_msgctxt in -lgettextpo... " >&6; }
12589 if ${ac_cv_lib_gettextpo_po_message_msgctxt+:} false
; then :
12590 $as_echo_n "(cached) " >&6
12592 ac_check_lib_save_LIBS
=$LIBS
12593 LIBS
="-lgettextpo $LIBS"
12594 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12595 /* end confdefs.h. */
12597 /* Override any GCC internal prototype to avoid an error.
12598 Use char because int might match the return type of a GCC
12599 builtin and then its argument prototype would still apply. */
12603 char po_message_msgctxt ();
12607 return po_message_msgctxt ();
12612 if ac_fn_c_try_link
"$LINENO"; then :
12613 ac_cv_lib_gettextpo_po_message_msgctxt
=yes
12615 ac_cv_lib_gettextpo_po_message_msgctxt
=no
12617 rm -f core conftest.err conftest.
$ac_objext \
12618 conftest
$ac_exeext conftest.
$ac_ext
12619 LIBS
=$ac_check_lib_save_LIBS
12621 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gettextpo_po_message_msgctxt" >&5
12622 $as_echo "$ac_cv_lib_gettextpo_po_message_msgctxt" >&6; }
12623 if test "x$ac_cv_lib_gettextpo_po_message_msgctxt" = xyes
; then :
12625 $as_echo "#define HAVE_LIBGETTEXTPO 1" >>confdefs.h
12627 GETTEXTPO_LIBS
="-lgettextpo"
12632 if test "x$GETTEXTPO_LIBS" = "x"; then :
12633 case "x$with_gettextpo" in
12634 x
) as_fn_append wine_notices
"|GetText ${notice_platform}development files not found (or too old), po files can't be rebuilt." ;;
12636 *) as_fn_error $?
"GetText ${notice_platform}development files not found (or too old), po files can't be rebuilt.
12637 This is an error since --with-gettextpo was requested." "$LINENO" 5 ;;
12641 if test "$srcdir" != .
; then :
12642 case "x$with_gettextpo" in
12643 x
) as_fn_append wine_notices
"|Rebuilding po files is not supported for out of tree builds." ;;
12645 *) as_fn_error $?
"Rebuilding po files is not supported for out of tree builds.
12646 This is an error since --with-gettextpo was requested." "$LINENO" 5 ;;
12652 if test "x$with_pulse" != "xno";
12654 if ${PULSE_CFLAGS:+false} :; then :
12655 if ${PKG_CONFIG+:} false
; then :
12656 PULSE_CFLAGS
=`$PKG_CONFIG --cflags libpulse 2>/dev/null`
12660 if ${PULSE_LIBS:+false} :; then :
12661 if ${PKG_CONFIG+:} false
; then :
12662 PULSE_LIBS
=`$PKG_CONFIG --libs libpulse 2>/dev/null`
12667 $as_echo "$as_me:${as_lineno-$LINENO}: libpulse cflags: $PULSE_CFLAGS" >&5
12668 $as_echo "$as_me:${as_lineno-$LINENO}: libpulse libs: $PULSE_LIBS" >&5
12669 ac_save_CPPFLAGS
=$CPPFLAGS
12670 CPPFLAGS
="$CPPFLAGS $PULSE_CFLAGS"
12671 for ac_header
in pulse
/pulseaudio.h
12673 ac_fn_c_check_header_mongrel
"$LINENO" "pulse/pulseaudio.h" "ac_cv_header_pulse_pulseaudio_h" "$ac_includes_default"
12674 if test "x$ac_cv_header_pulse_pulseaudio_h" = xyes
; then :
12675 cat >>confdefs.h
<<_ACEOF
12676 #define HAVE_PULSE_PULSEAUDIO_H 1
12678 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pa_stream_is_corked in -lpulse" >&5
12679 $as_echo_n "checking for pa_stream_is_corked in -lpulse... " >&6; }
12680 if ${ac_cv_lib_pulse_pa_stream_is_corked+:} false
; then :
12681 $as_echo_n "(cached) " >&6
12683 ac_check_lib_save_LIBS
=$LIBS
12684 LIBS
="-lpulse $PULSE_LIBS $LIBS"
12685 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12686 /* end confdefs.h. */
12688 /* Override any GCC internal prototype to avoid an error.
12689 Use char because int might match the return type of a GCC
12690 builtin and then its argument prototype would still apply. */
12694 char pa_stream_is_corked ();
12698 return pa_stream_is_corked ();
12703 if ac_fn_c_try_link
"$LINENO"; then :
12704 ac_cv_lib_pulse_pa_stream_is_corked
=yes
12706 ac_cv_lib_pulse_pa_stream_is_corked
=no
12708 rm -f core conftest.err conftest.
$ac_objext \
12709 conftest
$ac_exeext conftest.
$ac_ext
12710 LIBS
=$ac_check_lib_save_LIBS
12712 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_pulse_pa_stream_is_corked" >&5
12713 $as_echo "$ac_cv_lib_pulse_pa_stream_is_corked" >&6; }
12714 if test "x$ac_cv_lib_pulse_pa_stream_is_corked" = xyes
; then :
12726 CPPFLAGS
=$ac_save_CPPFLAGS
12727 test -z "$PULSE_CFLAGS" || PULSE_CFLAGS
=`echo " $PULSE_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
12728 test -z "$PULSE_LIBS" || PULSE_LIBS
=`echo " $PULSE_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
12731 if test -z "$PULSE_LIBS"; then :
12732 case "x$with_pulse" in
12733 x
) as_fn_append wine_notices
"|libpulse ${notice_platform}development files not found or too old, Pulse won't be supported." ;;
12735 *) as_fn_error $?
"libpulse ${notice_platform}development files not found or too old, Pulse won't be supported.
12736 This is an error since --with-pulse was requested." "$LINENO" 5 ;;
12738 enable_winepulse_drv
=${enable_winepulse_drv:-no}
12741 if test "x$with_gstreamer" != "xno"
12743 if ${GSTREAMER_CFLAGS:+false} :; then :
12744 if ${PKG_CONFIG+:} false
; then :
12745 GSTREAMER_CFLAGS
=`$PKG_CONFIG --cflags gstreamer-1.0 gstreamer-video-1.0 gstreamer-audio-1.0 2>/dev/null`
12749 if ${GSTREAMER_LIBS:+false} :; then :
12750 if ${PKG_CONFIG+:} false
; then :
12751 GSTREAMER_LIBS
=`$PKG_CONFIG --libs gstreamer-1.0 gstreamer-video-1.0 gstreamer-audio-1.0 2>/dev/null`
12756 $as_echo "$as_me:${as_lineno-$LINENO}: gstreamer-1.0 gstreamer-video-1.0 gstreamer-audio-1.0 cflags: $GSTREAMER_CFLAGS" >&5
12757 $as_echo "$as_me:${as_lineno-$LINENO}: gstreamer-1.0 gstreamer-video-1.0 gstreamer-audio-1.0 libs: $GSTREAMER_LIBS" >&5
12758 ac_save_CPPFLAGS
=$CPPFLAGS
12759 CPPFLAGS
="$CPPFLAGS $GSTREAMER_CFLAGS"
12761 for i
in $GSTREAMER_CFLAGS
12764 -I*) ac_gst_incl
="$ac_gst_incl $i";;
12767 GSTREAMER_CFLAGS
=$ac_gst_incl
12768 CPPFLAGS
="$ac_save_CPPFLAGS $GSTREAMER_CFLAGS"
12769 ac_fn_c_check_header_mongrel
"$LINENO" "gst/gst.h" "ac_cv_header_gst_gst_h" "$ac_includes_default"
12770 if test "x$ac_cv_header_gst_gst_h" = xyes
; then :
12771 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether gint64 defined by gst/gst.h is indeed 64-bit" >&5
12772 $as_echo_n "checking whether gint64 defined by gst/gst.h is indeed 64-bit... " >&6; }
12773 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12774 /* end confdefs.h. */
12775 #include <gst/gst.h>
12779 static int a[sizeof(gint64) > 4 ? 1 : -1]; if (a[0]) return 0;
12784 if ac_fn_c_try_compile
"$LINENO"; then :
12785 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
12786 $as_echo "yes" >&6; }
12787 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gst_pad_new in -lgstreamer-1.0" >&5
12788 $as_echo_n "checking for gst_pad_new in -lgstreamer-1.0... " >&6; }
12789 if ${ac_cv_lib_gstreamer_1_0_gst_pad_new+:} false
; then :
12790 $as_echo_n "(cached) " >&6
12792 ac_check_lib_save_LIBS
=$LIBS
12793 LIBS
="-lgstreamer-1.0 $GSTREAMER_LIBS $LIBS"
12794 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12795 /* end confdefs.h. */
12797 /* Override any GCC internal prototype to avoid an error.
12798 Use char because int might match the return type of a GCC
12799 builtin and then its argument prototype would still apply. */
12803 char gst_pad_new ();
12807 return gst_pad_new ();
12812 if ac_fn_c_try_link
"$LINENO"; then :
12813 ac_cv_lib_gstreamer_1_0_gst_pad_new
=yes
12815 ac_cv_lib_gstreamer_1_0_gst_pad_new
=no
12817 rm -f core conftest.err conftest.
$ac_objext \
12818 conftest
$ac_exeext conftest.
$ac_ext
12819 LIBS
=$ac_check_lib_save_LIBS
12821 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gstreamer_1_0_gst_pad_new" >&5
12822 $as_echo "$ac_cv_lib_gstreamer_1_0_gst_pad_new" >&6; }
12823 if test "x$ac_cv_lib_gstreamer_1_0_gst_pad_new" = xyes
; then :
12828 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12829 $as_echo "no" >&6; }
12830 ac_glib2_broken
=yes
12831 as_fn_append wine_notices
"|glib-2.0 pkgconfig configuration is for the wrong architecture, winegstreamer won't be built."
12833 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
12837 CPPFLAGS
=$ac_save_CPPFLAGS
12838 test -z "$GSTREAMER_CFLAGS" || GSTREAMER_CFLAGS
=`echo " $GSTREAMER_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
12839 test -z "$GSTREAMER_LIBS" || GSTREAMER_LIBS
=`echo " $GSTREAMER_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
12842 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 :
12843 case "x$with_gstreamer" in
12844 x
) as_fn_append wine_notices
"|gstreamer-1.0 base plugins ${notice_platform}development files not found, gstreamer support disabled" ;;
12846 *) as_fn_error $?
"gstreamer-1.0 base plugins ${notice_platform}development files not found, gstreamer support disabled
12847 This is an error since --with-gstreamer was requested." "$LINENO" 5 ;;
12851 test "x$ac_cv_lib_gstreamer_1_0_gst_pad_new" = xyes || enable_winegstreamer
=${enable_winegstreamer:-no}
12855 if test "$ac_cv_header_sys_asoundlib_h" = "yes" -o "$ac_cv_header_alsa_asoundlib_h" = "yes"
12857 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for snd_pcm_hw_params_get_access_mask in -lasound" >&5
12858 $as_echo_n "checking for snd_pcm_hw_params_get_access_mask in -lasound... " >&6; }
12859 if ${ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask+:} false
; then :
12860 $as_echo_n "(cached) " >&6
12862 ac_check_lib_save_LIBS
=$LIBS
12863 LIBS
="-lasound $LIBS"
12864 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12865 /* end confdefs.h. */
12867 /* Override any GCC internal prototype to avoid an error.
12868 Use char because int might match the return type of a GCC
12869 builtin and then its argument prototype would still apply. */
12873 char snd_pcm_hw_params_get_access_mask ();
12877 return snd_pcm_hw_params_get_access_mask ();
12882 if ac_fn_c_try_link
"$LINENO"; then :
12883 ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask
=yes
12885 ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask
=no
12887 rm -f core conftest.err conftest.
$ac_objext \
12888 conftest
$ac_exeext conftest.
$ac_ext
12889 LIBS
=$ac_check_lib_save_LIBS
12891 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask" >&5
12892 $as_echo "$ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask" >&6; }
12893 if test "x$ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask" = xyes
; then :
12894 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12895 /* end confdefs.h. */
12896 #ifdef HAVE_ALSA_ASOUNDLIB_H
12897 #include <alsa/asoundlib.h>
12898 #elif defined(HAVE_SYS_ASOUNDLIB_H)
12899 #include <sys/asoundlib.h>
12904 snd_pcm_hw_params_get_access_mask(NULL, NULL)
12909 if ac_fn_c_try_compile
"$LINENO"; then :
12910 ALSA_LIBS
="-lasound"
12912 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
12916 test -n "$ALSA_LIBS" || enable_winealsa_drv
=${enable_winealsa_drv:-no}
12918 if test "x$with_oss" != xno
12920 ac_save_CPPFLAGS
="$CPPFLAGS"
12921 if test -f /etc
/oss.conf
12925 ac_oss_incl
="-I${OSSLIBDIR:-/usr/lib/oss}/include"
12926 CPPFLAGS
="$CPPFLAGS $ac_oss_incl"
12927 ac_fn_c_check_header_mongrel
"$LINENO" "sys/soundcard.h" "ac_cv_header_sys_soundcard_h" "$ac_includes_default"
12928 if test "x$ac_cv_header_sys_soundcard_h" = xyes
; then :
12929 ac_fn_c_check_member
"$LINENO" "oss_sysinfo" "numaudioengines" "ac_cv_member_oss_sysinfo_numaudioengines" "#include <sys/soundcard.h>
12931 if test "x$ac_cv_member_oss_sysinfo_numaudioengines" = xyes
; then :
12933 cat >>confdefs.h
<<_ACEOF
12934 #define HAVE_OSS_SYSINFO_NUMAUDIOENGINES 1
12937 OSS4_CFLAGS
="$ac_oss_incl"
12944 CPPFLAGS
="$ac_save_CPPFLAGS"
12946 if test "x$ac_cv_member_oss_sysinfo_numaudioengines" != xyes
; then :
12947 case "x$with_oss" in
12948 x
) as_fn_append wine_notices
"|OSS sound system found but too old (OSSv4 needed), OSS won't be supported." ;;
12950 *) as_fn_error $?
"OSS sound system found but too old (OSSv4 needed), OSS won't be supported.
12951 This is an error since --with-oss was requested." "$LINENO" 5 ;;
12953 enable_wineoss_drv
=${enable_wineoss_drv:-no}
12956 if test "x$with_udev" != "xno"
12958 if ${UDEV_CFLAGS:+false} :; then :
12959 if ${PKG_CONFIG+:} false
; then :
12960 UDEV_CFLAGS
=`$PKG_CONFIG --cflags libudev 2>/dev/null`
12964 if ${UDEV_LIBS:+false} :; then :
12965 if ${PKG_CONFIG+:} false
; then :
12966 UDEV_LIBS
=`$PKG_CONFIG --libs libudev 2>/dev/null`
12971 $as_echo "$as_me:${as_lineno-$LINENO}: libudev cflags: $UDEV_CFLAGS" >&5
12972 $as_echo "$as_me:${as_lineno-$LINENO}: libudev libs: $UDEV_LIBS" >&5
12973 ac_save_CPPFLAGS
=$CPPFLAGS
12974 CPPFLAGS
="$CPPFLAGS $UDEV_CFLAGS"
12975 for ac_header
in libudev.h
12977 ac_fn_c_check_header_mongrel
"$LINENO" "libudev.h" "ac_cv_header_libudev_h" "$ac_includes_default"
12978 if test "x$ac_cv_header_libudev_h" = xyes
; then :
12979 cat >>confdefs.h
<<_ACEOF
12980 #define HAVE_LIBUDEV_H 1
12982 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for udev_new in -ludev" >&5
12983 $as_echo_n "checking for udev_new in -ludev... " >&6; }
12984 if ${ac_cv_lib_udev_udev_new+:} false
; then :
12985 $as_echo_n "(cached) " >&6
12987 ac_check_lib_save_LIBS
=$LIBS
12988 LIBS
="-ludev $UDEV_LIBS $LIBS"
12989 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12990 /* end confdefs.h. */
12992 /* Override any GCC internal prototype to avoid an error.
12993 Use char because int might match the return type of a GCC
12994 builtin and then its argument prototype would still apply. */
13002 return udev_new ();
13007 if ac_fn_c_try_link
"$LINENO"; then :
13008 ac_cv_lib_udev_udev_new
=yes
13010 ac_cv_lib_udev_udev_new
=no
13012 rm -f core conftest.err conftest.
$ac_objext \
13013 conftest
$ac_exeext conftest.
$ac_ext
13014 LIBS
=$ac_check_lib_save_LIBS
13016 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_udev_udev_new" >&5
13017 $as_echo "$ac_cv_lib_udev_udev_new" >&6; }
13018 if test "x$ac_cv_lib_udev_udev_new" = xyes
; then :
13020 $as_echo "#define HAVE_UDEV 1" >>confdefs.h
13032 CPPFLAGS
=$ac_save_CPPFLAGS
13033 test -z "$UDEV_CFLAGS" || UDEV_CFLAGS
=`echo " $UDEV_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
13034 test -z "$UDEV_LIBS" || UDEV_LIBS
=`echo " $UDEV_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
13037 if test "x$UDEV_LIBS" = "x"; then :
13038 case "x$with_udev" in
13039 x
) as_fn_append wine_notices
"|libudev ${notice_platform}development files not found, plug and play won't be supported." ;;
13041 *) as_fn_error $?
"libudev ${notice_platform}development files not found, plug and play won't be supported.
13042 This is an error since --with-udev was requested." "$LINENO" 5 ;;
13047 if test "x$with_capi" != "xno"
13049 if ${CAPI20_CFLAGS:+false} :; then :
13050 if ${PKG_CONFIG+:} false
; then :
13051 CAPI20_CFLAGS
=`$PKG_CONFIG --cflags capi20 2>/dev/null`
13055 if ${CAPI20_LIBS:+false} :; then :
13056 if ${PKG_CONFIG+:} false
; then :
13057 CAPI20_LIBS
=`$PKG_CONFIG --libs capi20 2>/dev/null`
13062 $as_echo "$as_me:${as_lineno-$LINENO}: capi20 cflags: $CAPI20_CFLAGS" >&5
13063 $as_echo "$as_me:${as_lineno-$LINENO}: capi20 libs: $CAPI20_LIBS" >&5
13064 ac_save_CPPFLAGS
=$CPPFLAGS
13065 CPPFLAGS
="$CPPFLAGS $CAPI20_CFLAGS"
13066 for ac_header
in capi20.h linux
/capi.h
13068 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
13069 ac_fn_c_check_header_compile
"$LINENO" "$ac_header" "$as_ac_Header" "#define __user
13071 if eval test \"x\$
"$as_ac_Header"\" = x
"yes"; then :
13072 cat >>confdefs.h
<<_ACEOF
13073 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
13080 if test "$ac_cv_header_capi20_h" = "yes" -a "$ac_cv_header_linux_capi_h" = "yes"
13082 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lcapi20" >&5
13083 $as_echo_n "checking for -lcapi20... " >&6; }
13084 if ${ac_cv_lib_soname_capi20+:} false
; then :
13085 $as_echo_n "(cached) " >&6
13087 ac_check_soname_save_LIBS
=$LIBS
13088 LIBS
="-lcapi20 $CAPI20_LIBS $LIBS"
13089 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13090 /* end confdefs.h. */
13092 /* Override any GCC internal prototype to avoid an error.
13093 Use char because int might match the return type of a GCC
13094 builtin and then its argument prototype would still apply. */
13098 char capi20_register ();
13102 return capi20_register ();
13107 if ac_fn_c_try_link
"$LINENO"; then :
13109 dll
) ac_cv_lib_soname_capi20
=`$ac_cv_path_LDD conftest.exe | grep "capi20" | sed -e "s/dll.*/dll/"';2,$d'` ;;
13110 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'` ;;
13111 *) ac_cv_lib_soname_capi20
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libcapi20\\.$LIBEXT" | sed -e "s/^.*\\[\\(libcapi20\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
13112 if ${ac_cv_lib_soname_capi20:+false} :; then :
13113 ac_cv_lib_soname_capi20
=`$LDD conftest$ac_exeext | grep "libcapi20\\.$LIBEXT" | sed -e "s/^.*\(libcapi20\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
13117 rm -f core conftest.err conftest.
$ac_objext \
13118 conftest
$ac_exeext conftest.
$ac_ext
13119 LIBS
=$ac_check_soname_save_LIBS
13121 if ${ac_cv_lib_soname_capi20:+false} :; then :
13122 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13123 $as_echo "not found" >&6; }
13126 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_capi20" >&5
13127 $as_echo "$ac_cv_lib_soname_capi20" >&6; }
13129 cat >>confdefs.h
<<_ACEOF
13130 #define SONAME_LIBCAPI20 "$ac_cv_lib_soname_capi20"
13136 CPPFLAGS
=$ac_save_CPPFLAGS
13137 test -z "$CAPI20_CFLAGS" || CAPI20_CFLAGS
=`echo " $CAPI20_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
13138 test -z "$CAPI20_LIBS" || CAPI20_LIBS
=`echo " $CAPI20_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
13141 if test "x$ac_cv_lib_soname_capi20" = "x"; then :
13142 case "x$with_capi" in
13143 x
) as_fn_append wine_notices
"|libcapi20 ${notice_platform}development files not found, ISDN won't be supported." ;;
13145 *) as_fn_error $?
"libcapi20 ${notice_platform}development files not found, ISDN won't be supported.
13146 This is an error since --with-capi was requested." "$LINENO" 5 ;;
13153 if test "x$with_cups" != "xno"
13155 ac_save_CPPFLAGS
="$CPPFLAGS"
13156 ac_cups_cflags
=`${CUPS_CONFIG:-cups-config} --cflags 2>/dev/null`
13157 ac_cups_libs
=`${CUPS_CONFIG:-cups-config} --ldflags 2>/dev/null`
13158 CPPFLAGS
="$CPPFLAGS $ac_cups_cflags"
13159 for ac_header
in cups
/cups.h
13161 ac_fn_c_check_header_mongrel
"$LINENO" "cups/cups.h" "ac_cv_header_cups_cups_h" "$ac_includes_default"
13162 if test "x$ac_cv_header_cups_cups_h" = xyes
; then :
13163 cat >>confdefs.h
<<_ACEOF
13164 #define HAVE_CUPS_CUPS_H 1
13166 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lcups" >&5
13167 $as_echo_n "checking for -lcups... " >&6; }
13168 if ${ac_cv_lib_soname_cups+:} false
; then :
13169 $as_echo_n "(cached) " >&6
13171 ac_check_soname_save_LIBS
=$LIBS
13172 LIBS
="-lcups $ac_cups_libs $LIBS"
13173 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13174 /* end confdefs.h. */
13176 /* Override any GCC internal prototype to avoid an error.
13177 Use char because int might match the return type of a GCC
13178 builtin and then its argument prototype would still apply. */
13182 char cupsGetDefault ();
13186 return cupsGetDefault ();
13191 if ac_fn_c_try_link
"$LINENO"; then :
13193 dll
) ac_cv_lib_soname_cups
=`$ac_cv_path_LDD conftest.exe | grep "cups" | sed -e "s/dll.*/dll/"';2,$d'` ;;
13194 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'` ;;
13195 *) ac_cv_lib_soname_cups
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libcups\\.$LIBEXT" | sed -e "s/^.*\\[\\(libcups\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
13196 if ${ac_cv_lib_soname_cups:+false} :; then :
13197 ac_cv_lib_soname_cups
=`$LDD conftest$ac_exeext | grep "libcups\\.$LIBEXT" | sed -e "s/^.*\(libcups\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
13201 rm -f core conftest.err conftest.
$ac_objext \
13202 conftest
$ac_exeext conftest.
$ac_ext
13203 LIBS
=$ac_check_soname_save_LIBS
13205 if ${ac_cv_lib_soname_cups:+false} :; then :
13206 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13207 $as_echo "not found" >&6; }
13210 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_cups" >&5
13211 $as_echo "$ac_cv_lib_soname_cups" >&6; }
13213 cat >>confdefs.h
<<_ACEOF
13214 #define SONAME_LIBCUPS "$ac_cv_lib_soname_cups"
13217 CUPS_CFLAGS
="$ac_cups_cflags"
13219 for ac_header
in cups
/ppd.h
13221 ac_fn_c_check_header_mongrel
"$LINENO" "cups/ppd.h" "ac_cv_header_cups_ppd_h" "$ac_includes_default"
13222 if test "x$ac_cv_header_cups_ppd_h" = xyes
; then :
13223 cat >>confdefs.h
<<_ACEOF
13224 #define HAVE_CUPS_PPD_H 1
13235 CPPFLAGS
="$ac_save_CPPFLAGS"
13237 if test "x$ac_cv_lib_soname_cups" = "x"; then :
13238 case "x$with_cups" in
13239 x
) as_fn_append wine_notices
"|libcups ${notice_platform}development files not found, CUPS won't be supported." ;;
13241 *) as_fn_error $?
"libcups ${notice_platform}development files not found, CUPS won't be supported.
13242 This is an error since --with-cups was requested." "$LINENO" 5 ;;
13247 if test "x$with_fontconfig" != "xno"
13249 if ${FONTCONFIG_CFLAGS:+false} :; then :
13250 if ${PKG_CONFIG+:} false
; then :
13251 FONTCONFIG_CFLAGS
=`$PKG_CONFIG --cflags fontconfig 2>/dev/null`
13254 test "$cross_compiling" = yes || FONTCONFIG_CFLAGS
=${FONTCONFIG_CFLAGS:-$X_CFLAGS}
13255 if ${FONTCONFIG_LIBS:+false} :; then :
13256 if ${PKG_CONFIG+:} false
; then :
13257 FONTCONFIG_LIBS
=`$PKG_CONFIG --libs fontconfig 2>/dev/null`
13260 test "$cross_compiling" = yes || FONTCONFIG_LIBS
=${FONTCONFIG_LIBS:-$X_LIBS}
13262 $as_echo "$as_me:${as_lineno-$LINENO}: fontconfig cflags: $FONTCONFIG_CFLAGS" >&5
13263 $as_echo "$as_me:${as_lineno-$LINENO}: fontconfig libs: $FONTCONFIG_LIBS" >&5
13264 ac_save_CPPFLAGS
=$CPPFLAGS
13265 CPPFLAGS
="$CPPFLAGS $FONTCONFIG_CFLAGS"
13266 for ac_header
in fontconfig
/fontconfig.h
13268 ac_fn_c_check_header_mongrel
"$LINENO" "fontconfig/fontconfig.h" "ac_cv_header_fontconfig_fontconfig_h" "$ac_includes_default"
13269 if test "x$ac_cv_header_fontconfig_fontconfig_h" = xyes
; then :
13270 cat >>confdefs.h
<<_ACEOF
13271 #define HAVE_FONTCONFIG_FONTCONFIG_H 1
13278 if test "$ac_cv_header_fontconfig_fontconfig_h" = "yes"
13280 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lfontconfig" >&5
13281 $as_echo_n "checking for -lfontconfig... " >&6; }
13282 if ${ac_cv_lib_soname_fontconfig+:} false
; then :
13283 $as_echo_n "(cached) " >&6
13285 ac_check_soname_save_LIBS
=$LIBS
13286 LIBS
="-lfontconfig $FONTCONFIG_LIBS $LIBS"
13287 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13288 /* end confdefs.h. */
13290 /* Override any GCC internal prototype to avoid an error.
13291 Use char because int might match the return type of a GCC
13292 builtin and then its argument prototype would still apply. */
13305 if ac_fn_c_try_link
"$LINENO"; then :
13307 dll
) ac_cv_lib_soname_fontconfig
=`$ac_cv_path_LDD conftest.exe | grep "fontconfig" | sed -e "s/dll.*/dll/"';2,$d'` ;;
13308 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'` ;;
13309 *) ac_cv_lib_soname_fontconfig
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libfontconfig\\.$LIBEXT" | sed -e "s/^.*\\[\\(libfontconfig\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
13310 if ${ac_cv_lib_soname_fontconfig:+false} :; then :
13311 ac_cv_lib_soname_fontconfig
=`$LDD conftest$ac_exeext | grep "libfontconfig\\.$LIBEXT" | sed -e "s/^.*\(libfontconfig\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
13315 rm -f core conftest.err conftest.
$ac_objext \
13316 conftest
$ac_exeext conftest.
$ac_ext
13317 LIBS
=$ac_check_soname_save_LIBS
13319 if ${ac_cv_lib_soname_fontconfig:+false} :; then :
13320 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13321 $as_echo "not found" >&6; }
13322 FONTCONFIG_CFLAGS
=""
13324 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_fontconfig" >&5
13325 $as_echo "$ac_cv_lib_soname_fontconfig" >&6; }
13327 cat >>confdefs.h
<<_ACEOF
13328 #define SONAME_LIBFONTCONFIG "$ac_cv_lib_soname_fontconfig"
13334 FONTCONFIG_CFLAGS
=""
13336 CPPFLAGS
=$ac_save_CPPFLAGS
13337 test -z "$FONTCONFIG_CFLAGS" || FONTCONFIG_CFLAGS
=`echo " $FONTCONFIG_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
13338 test -z "$FONTCONFIG_LIBS" || FONTCONFIG_LIBS
=`echo " $FONTCONFIG_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
13341 if test "x$ac_cv_lib_soname_fontconfig" = "x"; then :
13342 case "x$with_fontconfig" in
13343 x
) as_fn_append wine_notices
"|fontconfig ${notice_platform}development files not found, fontconfig won't be supported." ;;
13345 *) as_fn_error $?
"fontconfig ${notice_platform}development files not found, fontconfig won't be supported.
13346 This is an error since --with-fontconfig was requested." "$LINENO" 5 ;;
13351 if test "$ac_cv_header_gsm_h" = "yes" -o "$ac_cv_header_gsm_gsm_h" = "yes"
13353 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lgsm" >&5
13354 $as_echo_n "checking for -lgsm... " >&6; }
13355 if ${ac_cv_lib_soname_gsm+:} false
; then :
13356 $as_echo_n "(cached) " >&6
13358 ac_check_soname_save_LIBS
=$LIBS
13360 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13361 /* end confdefs.h. */
13363 /* Override any GCC internal prototype to avoid an error.
13364 Use char because int might match the return type of a GCC
13365 builtin and then its argument prototype would still apply. */
13369 char gsm_create ();
13373 return gsm_create ();
13378 if ac_fn_c_try_link
"$LINENO"; then :
13380 dll
) ac_cv_lib_soname_gsm
=`$ac_cv_path_LDD conftest.exe | grep "gsm" | sed -e "s/dll.*/dll/"';2,$d'` ;;
13381 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'` ;;
13382 *) ac_cv_lib_soname_gsm
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libgsm\\.$LIBEXT" | sed -e "s/^.*\\[\\(libgsm\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
13383 if ${ac_cv_lib_soname_gsm:+false} :; then :
13384 ac_cv_lib_soname_gsm
=`$LDD conftest$ac_exeext | grep "libgsm\\.$LIBEXT" | sed -e "s/^.*\(libgsm\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
13388 rm -f core conftest.err conftest.
$ac_objext \
13389 conftest
$ac_exeext conftest.
$ac_ext
13390 LIBS
=$ac_check_soname_save_LIBS
13392 if ${ac_cv_lib_soname_gsm:+false} :; then :
13393 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13394 $as_echo "not found" >&6; }
13397 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_gsm" >&5
13398 $as_echo "$ac_cv_lib_soname_gsm" >&6; }
13400 cat >>confdefs.h
<<_ACEOF
13401 #define SONAME_LIBGSM "$ac_cv_lib_soname_gsm"
13407 if test "x$ac_cv_lib_soname_gsm" = "x"; then :
13408 case "x$with_gsm" in
13409 x
) as_fn_append wine_notices
"|libgsm ${notice_platform}development files not found, gsm 06.10 codec won't be supported." ;;
13411 *) as_fn_error $?
"libgsm ${notice_platform}development files not found, gsm 06.10 codec won't be supported.
13412 This is an error since --with-gsm was requested." "$LINENO" 5 ;;
13417 if test "x$with_jpeg" != "xno"
13419 if ${JPEG_CFLAGS:+false} :; then :
13420 if ${PKG_CONFIG+:} false
; then :
13421 JPEG_CFLAGS
=`$PKG_CONFIG --cflags libjpeg 2>/dev/null`
13425 if ${JPEG_LIBS:+false} :; then :
13426 if ${PKG_CONFIG+:} false
; then :
13427 JPEG_LIBS
=`$PKG_CONFIG --libs libjpeg 2>/dev/null`
13432 $as_echo "$as_me:${as_lineno-$LINENO}: libjpeg cflags: $JPEG_CFLAGS" >&5
13433 $as_echo "$as_me:${as_lineno-$LINENO}: libjpeg libs: $JPEG_LIBS" >&5
13434 ac_save_CPPFLAGS
=$CPPFLAGS
13435 CPPFLAGS
="$CPPFLAGS $JPEG_CFLAGS"
13436 for ac_header
in jpeglib.h
13438 ac_fn_c_check_header_mongrel
"$LINENO" "jpeglib.h" "ac_cv_header_jpeglib_h" "$ac_includes_default"
13439 if test "x$ac_cv_header_jpeglib_h" = xyes
; then :
13440 cat >>confdefs.h
<<_ACEOF
13441 #define HAVE_JPEGLIB_H 1
13448 if test "$ac_cv_header_jpeglib_h" = "yes"
13450 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -ljpeg" >&5
13451 $as_echo_n "checking for -ljpeg... " >&6; }
13452 if ${ac_cv_lib_soname_jpeg+:} false
; then :
13453 $as_echo_n "(cached) " >&6
13455 ac_check_soname_save_LIBS
=$LIBS
13456 LIBS
="-ljpeg $JPEG_LIBS $LIBS"
13457 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13458 /* end confdefs.h. */
13460 /* Override any GCC internal prototype to avoid an error.
13461 Use char because int might match the return type of a GCC
13462 builtin and then its argument prototype would still apply. */
13466 char jpeg_start_decompress ();
13470 return jpeg_start_decompress ();
13475 if ac_fn_c_try_link
"$LINENO"; then :
13477 dll
) ac_cv_lib_soname_jpeg
=`$ac_cv_path_LDD conftest.exe | grep "jpeg" | sed -e "s/dll.*/dll/"';2,$d'` ;;
13478 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'` ;;
13479 *) ac_cv_lib_soname_jpeg
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libjpeg\\.$LIBEXT" | sed -e "s/^.*\\[\\(libjpeg\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
13480 if ${ac_cv_lib_soname_jpeg:+false} :; then :
13481 ac_cv_lib_soname_jpeg
=`$LDD conftest$ac_exeext | grep "libjpeg\\.$LIBEXT" | sed -e "s/^.*\(libjpeg\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
13485 rm -f core conftest.err conftest.
$ac_objext \
13486 conftest
$ac_exeext conftest.
$ac_ext
13487 LIBS
=$ac_check_soname_save_LIBS
13489 if ${ac_cv_lib_soname_jpeg:+false} :; then :
13490 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13491 $as_echo "not found" >&6; }
13494 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_jpeg" >&5
13495 $as_echo "$ac_cv_lib_soname_jpeg" >&6; }
13497 cat >>confdefs.h
<<_ACEOF
13498 #define SONAME_LIBJPEG "$ac_cv_lib_soname_jpeg"
13506 CPPFLAGS
=$ac_save_CPPFLAGS
13507 test -z "$JPEG_CFLAGS" || JPEG_CFLAGS
=`echo " $JPEG_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
13508 test -z "$JPEG_LIBS" || JPEG_LIBS
=`echo " $JPEG_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
13511 if test "x$ac_cv_lib_soname_jpeg" = "x"; then :
13512 case "x$with_jpeg" in
13513 x
) as_fn_append wine_warnings
"|libjpeg ${notice_platform}development files not found, JPEG won't be supported." ;;
13515 *) as_fn_error $?
"libjpeg ${notice_platform}development files not found, JPEG won't be supported.
13516 This is an error since --with-jpeg was requested." "$LINENO" 5 ;;
13521 if test "x$with_png" != "xno"
13523 if ${PNG_CFLAGS:+false} :; then :
13524 if ${PKG_CONFIG+:} false
; then :
13525 PNG_CFLAGS
=`$PKG_CONFIG --cflags libpng 2>/dev/null`
13528 test "$cross_compiling" = yes || PNG_CFLAGS
=${PNG_CFLAGS:-$X_CFLAGS}
13529 if ${PNG_LIBS:+false} :; then :
13530 if ${PKG_CONFIG+:} false
; then :
13531 PNG_LIBS
=`$PKG_CONFIG --libs libpng 2>/dev/null`
13534 test "$cross_compiling" = yes || PNG_LIBS
=${PNG_LIBS:-$X_LIBS}
13536 $as_echo "$as_me:${as_lineno-$LINENO}: libpng cflags: $PNG_CFLAGS" >&5
13537 $as_echo "$as_me:${as_lineno-$LINENO}: libpng libs: $PNG_LIBS" >&5
13538 ac_save_CPPFLAGS
=$CPPFLAGS
13539 CPPFLAGS
="$CPPFLAGS $PNG_CFLAGS"
13540 for ac_header
in png.h
13542 ac_fn_c_check_header_mongrel
"$LINENO" "png.h" "ac_cv_header_png_h" "$ac_includes_default"
13543 if test "x$ac_cv_header_png_h" = xyes
; then :
13544 cat >>confdefs.h
<<_ACEOF
13545 #define HAVE_PNG_H 1
13552 if test "$ac_cv_header_png_h" = "yes"
13554 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lpng" >&5
13555 $as_echo_n "checking for -lpng... " >&6; }
13556 if ${ac_cv_lib_soname_png+:} false
; then :
13557 $as_echo_n "(cached) " >&6
13559 ac_check_soname_save_LIBS
=$LIBS
13560 LIBS
="-lpng $PNG_LIBS -lm -lz $LIBS"
13561 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13562 /* end confdefs.h. */
13564 /* Override any GCC internal prototype to avoid an error.
13565 Use char because int might match the return type of a GCC
13566 builtin and then its argument prototype would still apply. */
13570 char png_create_read_struct ();
13574 return png_create_read_struct ();
13579 if ac_fn_c_try_link
"$LINENO"; then :
13581 dll
) ac_cv_lib_soname_png
=`$ac_cv_path_LDD conftest.exe | grep "png" | sed -e "s/dll.*/dll/"';2,$d'` ;;
13582 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'` ;;
13583 *) 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'`
13584 if ${ac_cv_lib_soname_png:+false} :; then :
13585 ac_cv_lib_soname_png
=`$LDD conftest$ac_exeext | grep "libpng[0-9]*\\.$LIBEXT" | sed -e "s/^.*\(libpng[0-9]*\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
13589 rm -f core conftest.err conftest.
$ac_objext \
13590 conftest
$ac_exeext conftest.
$ac_ext
13591 LIBS
=$ac_check_soname_save_LIBS
13593 if ${ac_cv_lib_soname_png:+false} :; then :
13594 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13595 $as_echo "not found" >&6; }
13598 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_png" >&5
13599 $as_echo "$ac_cv_lib_soname_png" >&6; }
13601 cat >>confdefs.h
<<_ACEOF
13602 #define SONAME_LIBPNG "$ac_cv_lib_soname_png"
13605 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13606 /* end confdefs.h. */
13611 typeof(png_set_expand_gray_1_2_4_to_8) *p
13616 if ac_fn_c_try_compile
"$LINENO"; then :
13618 $as_echo "#define HAVE_PNG_SET_EXPAND_GRAY_1_2_4_TO_8 1" >>confdefs.h
13621 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
13626 CPPFLAGS
=$ac_save_CPPFLAGS
13627 test -z "$PNG_CFLAGS" || PNG_CFLAGS
=`echo " $PNG_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
13628 test -z "$PNG_LIBS" || PNG_LIBS
=`echo " $PNG_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
13631 if test "x$ac_cv_lib_soname_png" = "x"; then :
13632 case "x$with_png" in
13633 x
) as_fn_append wine_warnings
"|libpng ${notice_platform}development files not found, PNG won't be supported." ;;
13635 *) as_fn_error $?
"libpng ${notice_platform}development files not found, PNG won't be supported.
13636 This is an error since --with-png was requested." "$LINENO" 5 ;;
13641 if test "x$with_tiff" != "xno"
13643 if ${TIFF_CFLAGS:+false} :; then :
13644 if ${PKG_CONFIG+:} false
; then :
13645 TIFF_CFLAGS
=`$PKG_CONFIG --cflags libtiff-4 2>/dev/null`
13649 if ${TIFF_LIBS:+false} :; then :
13650 if ${PKG_CONFIG+:} false
; then :
13651 TIFF_LIBS
=`$PKG_CONFIG --libs libtiff-4 2>/dev/null`
13656 $as_echo "$as_me:${as_lineno-$LINENO}: libtiff-4 cflags: $TIFF_CFLAGS" >&5
13657 $as_echo "$as_me:${as_lineno-$LINENO}: libtiff-4 libs: $TIFF_LIBS" >&5
13658 ac_save_CPPFLAGS
=$CPPFLAGS
13659 CPPFLAGS
="$CPPFLAGS $TIFF_CFLAGS"
13660 for ac_header
in tiffio.h
13662 ac_fn_c_check_header_mongrel
"$LINENO" "tiffio.h" "ac_cv_header_tiffio_h" "$ac_includes_default"
13663 if test "x$ac_cv_header_tiffio_h" = xyes
; then :
13664 cat >>confdefs.h
<<_ACEOF
13665 #define HAVE_TIFFIO_H 1
13672 if test "$ac_cv_header_tiffio_h" = "yes"
13674 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -ltiff" >&5
13675 $as_echo_n "checking for -ltiff... " >&6; }
13676 if ${ac_cv_lib_soname_tiff+:} false
; then :
13677 $as_echo_n "(cached) " >&6
13679 ac_check_soname_save_LIBS
=$LIBS
13680 LIBS
="-ltiff $TIFF_LIBS $LIBS"
13681 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13682 /* end confdefs.h. */
13684 /* Override any GCC internal prototype to avoid an error.
13685 Use char because int might match the return type of a GCC
13686 builtin and then its argument prototype would still apply. */
13690 char TIFFClientOpen ();
13694 return TIFFClientOpen ();
13699 if ac_fn_c_try_link
"$LINENO"; then :
13701 dll
) ac_cv_lib_soname_tiff
=`$ac_cv_path_LDD conftest.exe | grep "tiff" | sed -e "s/dll.*/dll/"';2,$d'` ;;
13702 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'` ;;
13703 *) ac_cv_lib_soname_tiff
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libtiff\\.$LIBEXT" | sed -e "s/^.*\\[\\(libtiff\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
13704 if ${ac_cv_lib_soname_tiff:+false} :; then :
13705 ac_cv_lib_soname_tiff
=`$LDD conftest$ac_exeext | grep "libtiff\\.$LIBEXT" | sed -e "s/^.*\(libtiff\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
13709 rm -f core conftest.err conftest.
$ac_objext \
13710 conftest
$ac_exeext conftest.
$ac_ext
13711 LIBS
=$ac_check_soname_save_LIBS
13713 if ${ac_cv_lib_soname_tiff:+false} :; then :
13714 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13715 $as_echo "not found" >&6; }
13718 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_tiff" >&5
13719 $as_echo "$ac_cv_lib_soname_tiff" >&6; }
13721 cat >>confdefs.h
<<_ACEOF
13722 #define SONAME_LIBTIFF "$ac_cv_lib_soname_tiff"
13728 CPPFLAGS
=$ac_save_CPPFLAGS
13729 test -z "$TIFF_CFLAGS" || TIFF_CFLAGS
=`echo " $TIFF_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
13730 test -z "$TIFF_LIBS" || TIFF_LIBS
=`echo " $TIFF_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
13733 if test "x$ac_cv_lib_soname_tiff" = "x"; then :
13734 case "x$with_tiff" in
13735 x
) as_fn_append wine_notices
"|libtiff ${notice_platform}development files not found, TIFF won't be supported." ;;
13737 *) as_fn_error $?
"libtiff ${notice_platform}development files not found, TIFF won't be supported.
13738 This is an error since --with-tiff was requested." "$LINENO" 5 ;;
13743 if test "x$with_mpg123" != "xno"
13745 if ${MPG123_CFLAGS:+false} :; then :
13746 if ${PKG_CONFIG+:} false
; then :
13747 MPG123_CFLAGS
=`$PKG_CONFIG --cflags libmpg123 2>/dev/null`
13751 if ${MPG123_LIBS:+false} :; then :
13752 if ${PKG_CONFIG+:} false
; then :
13753 MPG123_LIBS
=`$PKG_CONFIG --libs libmpg123 2>/dev/null`
13757 MPG123_LIBS
=${MPG123_LIBS:-"-lmpg123"}
13758 $as_echo "$as_me:${as_lineno-$LINENO}: libmpg123 cflags: $MPG123_CFLAGS" >&5
13759 $as_echo "$as_me:${as_lineno-$LINENO}: libmpg123 libs: $MPG123_LIBS" >&5
13760 ac_save_CPPFLAGS
=$CPPFLAGS
13761 CPPFLAGS
="$CPPFLAGS $MPG123_CFLAGS"
13762 for ac_header
in mpg123.h
13764 ac_fn_c_check_header_mongrel
"$LINENO" "mpg123.h" "ac_cv_header_mpg123_h" "$ac_includes_default"
13765 if test "x$ac_cv_header_mpg123_h" = xyes
; then :
13766 cat >>confdefs.h
<<_ACEOF
13767 #define HAVE_MPG123_H 1
13774 if test "$ac_cv_header_mpg123_h" = "yes"
13776 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for mpg123_feed in -lmpg123" >&5
13777 $as_echo_n "checking for mpg123_feed in -lmpg123... " >&6; }
13778 if ${ac_cv_lib_mpg123_mpg123_feed+:} false
; then :
13779 $as_echo_n "(cached) " >&6
13781 ac_check_lib_save_LIBS
=$LIBS
13782 LIBS
="-lmpg123 $MPG123_LIBS $LIBS"
13783 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13784 /* end confdefs.h. */
13786 /* Override any GCC internal prototype to avoid an error.
13787 Use char because int might match the return type of a GCC
13788 builtin and then its argument prototype would still apply. */
13792 char mpg123_feed ();
13796 return mpg123_feed ();
13801 if ac_fn_c_try_link
"$LINENO"; then :
13802 ac_cv_lib_mpg123_mpg123_feed
=yes
13804 ac_cv_lib_mpg123_mpg123_feed
=no
13806 rm -f core conftest.err conftest.
$ac_objext \
13807 conftest
$ac_exeext conftest.
$ac_ext
13808 LIBS
=$ac_check_lib_save_LIBS
13810 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_mpg123_mpg123_feed" >&5
13811 $as_echo "$ac_cv_lib_mpg123_mpg123_feed" >&6; }
13812 if test "x$ac_cv_lib_mpg123_mpg123_feed" = xyes
; then :
13822 CPPFLAGS
=$ac_save_CPPFLAGS
13823 test -z "$MPG123_CFLAGS" || MPG123_CFLAGS
=`echo " $MPG123_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
13824 test -z "$MPG123_LIBS" || MPG123_LIBS
=`echo " $MPG123_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
13827 if test "x$ac_cv_lib_mpg123_mpg123_feed" != xyes
-a x
"$ac_cv_header_CoreAudio_CoreAudio_h" != xyes
; then :
13828 case "x$with_mpg123" in
13829 x
) as_fn_append wine_notices
"|libmpg123 ${notice_platform}development files not found (or too old), mp3 codec won't be supported." ;;
13831 *) as_fn_error $?
"libmpg123 ${notice_platform}development files not found (or too old), mp3 codec won't be supported.
13832 This is an error since --with-mpg123 was requested." "$LINENO" 5 ;;
13834 enable_winemp3_acm
=${enable_winemp3_acm:-no}
13837 if test "$ac_cv_header_AL_al_h" = "yes"
13839 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lopenal" >&5
13840 $as_echo_n "checking for -lopenal... " >&6; }
13841 if ${ac_cv_lib_soname_openal+:} false
; then :
13842 $as_echo_n "(cached) " >&6
13844 ac_check_soname_save_LIBS
=$LIBS
13845 LIBS
="-lopenal $LIBS"
13846 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13847 /* end confdefs.h. */
13849 /* Override any GCC internal prototype to avoid an error.
13850 Use char because int might match the return type of a GCC
13851 builtin and then its argument prototype would still apply. */
13855 char alGetSource3i ();
13859 return alGetSource3i ();
13864 if ac_fn_c_try_link
"$LINENO"; then :
13866 dll
) ac_cv_lib_soname_openal
=`$ac_cv_path_LDD conftest.exe | grep "openal" | sed -e "s/dll.*/dll/"';2,$d'` ;;
13867 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'` ;;
13868 *) ac_cv_lib_soname_openal
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libopenal\\.$LIBEXT" | sed -e "s/^.*\\[\\(libopenal\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
13869 if ${ac_cv_lib_soname_openal:+false} :; then :
13870 ac_cv_lib_soname_openal
=`$LDD conftest$ac_exeext | grep "libopenal\\.$LIBEXT" | sed -e "s/^.*\(libopenal\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
13874 rm -f core conftest.err conftest.
$ac_objext \
13875 conftest
$ac_exeext conftest.
$ac_ext
13876 LIBS
=$ac_check_soname_save_LIBS
13878 if ${ac_cv_lib_soname_openal:+false} :; then :
13879 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13880 $as_echo "not found" >&6; }
13883 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_openal" >&5
13884 $as_echo "$ac_cv_lib_soname_openal" >&6; }
13886 cat >>confdefs.h
<<_ACEOF
13887 #define SONAME_LIBOPENAL "$ac_cv_lib_soname_openal"
13890 OPENAL_LIBS
="-lopenal"
13892 ac_cv_lib_openal
=yes
13894 cat >>confdefs.h
<<_ACEOF
13895 #define HAVE_OPENAL 1
13900 if test "x$ac_cv_lib_openal" != xyes
; then :
13901 case "x$with_openal" in
13902 x
) as_fn_append wine_notices
"|libopenal ${notice_platform}development files not found (or too old), OpenAL won't be supported" ;;
13904 *) as_fn_error $?
"libopenal ${notice_platform}development files not found (or too old), OpenAL won't be supported
13905 This is an error since --with-openal was requested." "$LINENO" 5 ;;
13907 enable_openal32
=${enable_openal32:-no}
13910 if test "x$ac_cv_lib_openal" = xyes
13912 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for openal-soft" >&5
13913 $as_echo_n "checking for openal-soft... " >&6; }
13914 if ${ac_cv_have_openalsoft+:} false
; then :
13915 $as_echo_n "(cached) " >&6
13917 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13918 /* end confdefs.h. */
13920 #include <AL/alc.h>
13921 #include <AL/alext.h>
13922 LPALCRENDERSAMPLESSOFT x;
13931 if ac_fn_c_try_compile
"$LINENO"; then :
13932 ac_cv_have_openalsoft
=yes
13934 ac_cv_have_openalsoft
=no
13936 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
13938 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_openalsoft" >&5
13939 $as_echo "$ac_cv_have_openalsoft" >&6; }
13941 if test "x$ac_cv_have_openalsoft" != xyes
13943 as_fn_append wine_notices
"|openal-soft ${notice_platform}development files not found (or too old), XAudio2 won't be supported"
13944 enable_x3daudio1_0
=${enable_x3daudio1_0:-no}
13945 enable_x3daudio1_1
=${enable_x3daudio1_1:-no}
13946 enable_x3daudio1_2
=${enable_x3daudio1_2:-no}
13947 enable_x3daudio1_3
=${enable_x3daudio1_3:-no}
13948 enable_x3daudio1_4
=${enable_x3daudio1_4:-no}
13949 enable_x3daudio1_5
=${enable_x3daudio1_5:-no}
13950 enable_x3daudio1_6
=${enable_x3daudio1_6:-no}
13951 enable_x3daudio1_7
=${enable_x3daudio1_7:-no}
13952 enable_xapofx1_1
=${enable_xapofx1_1:-no}
13953 enable_xapofx1_2
=${enable_xapofx1_2:-no}
13954 enable_xapofx1_3
=${enable_xapofx1_3:-no}
13955 enable_xapofx1_4
=${enable_xapofx1_4:-no}
13956 enable_xapofx1_5
=${enable_xapofx1_5:-no}
13957 enable_xaudio2_0
=${enable_xaudio2_0:-no}
13958 enable_xaudio2_1
=${enable_xaudio2_1:-no}
13959 enable_xaudio2_2
=${enable_xaudio2_2:-no}
13960 enable_xaudio2_3
=${enable_xaudio2_3:-no}
13961 enable_xaudio2_4
=${enable_xaudio2_4:-no}
13962 enable_xaudio2_5
=${enable_xaudio2_5:-no}
13963 enable_xaudio2_6
=${enable_xaudio2_6:-no}
13964 enable_xaudio2_7
=${enable_xaudio2_7:-no}
13965 enable_xaudio2_8
=${enable_xaudio2_8:-no}
13966 enable_xaudio2_9
=${enable_xaudio2_9:-no}
13969 if test "$ac_cv_header_kstat_h" = "yes"
13971 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for kstat_open in -lkstat" >&5
13972 $as_echo_n "checking for kstat_open in -lkstat... " >&6; }
13973 if ${ac_cv_lib_kstat_kstat_open+:} false
; then :
13974 $as_echo_n "(cached) " >&6
13976 ac_check_lib_save_LIBS
=$LIBS
13977 LIBS
="-lkstat $LIBS"
13978 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13979 /* end confdefs.h. */
13981 /* Override any GCC internal prototype to avoid an error.
13982 Use char because int might match the return type of a GCC
13983 builtin and then its argument prototype would still apply. */
13987 char kstat_open ();
13991 return kstat_open ();
13996 if ac_fn_c_try_link
"$LINENO"; then :
13997 ac_cv_lib_kstat_kstat_open
=yes
13999 ac_cv_lib_kstat_kstat_open
=no
14001 rm -f core conftest.err conftest.
$ac_objext \
14002 conftest
$ac_exeext conftest.
$ac_ext
14003 LIBS
=$ac_check_lib_save_LIBS
14005 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_kstat_kstat_open" >&5
14006 $as_echo "$ac_cv_lib_kstat_kstat_open" >&6; }
14007 if test "x$ac_cv_lib_kstat_kstat_open" = xyes
; then :
14009 $as_echo "#define HAVE_LIBKSTAT 1" >>confdefs.h
14011 KSTAT_LIBS
="-lkstat"
14017 if test "$ac_cv_header_libprocstat_h" = "yes"
14019 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for procstat_open_sysctl in -lprocstat" >&5
14020 $as_echo_n "checking for procstat_open_sysctl in -lprocstat... " >&6; }
14021 if ${ac_cv_lib_procstat_procstat_open_sysctl+:} false
; then :
14022 $as_echo_n "(cached) " >&6
14024 ac_check_lib_save_LIBS
=$LIBS
14025 LIBS
="-lprocstat $LIBS"
14026 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14027 /* end confdefs.h. */
14029 /* Override any GCC internal prototype to avoid an error.
14030 Use char because int might match the return type of a GCC
14031 builtin and then its argument prototype would still apply. */
14035 char procstat_open_sysctl ();
14039 return procstat_open_sysctl ();
14044 if ac_fn_c_try_link
"$LINENO"; then :
14045 ac_cv_lib_procstat_procstat_open_sysctl
=yes
14047 ac_cv_lib_procstat_procstat_open_sysctl
=no
14049 rm -f core conftest.err conftest.
$ac_objext \
14050 conftest
$ac_exeext conftest.
$ac_ext
14051 LIBS
=$ac_check_lib_save_LIBS
14053 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_procstat_procstat_open_sysctl" >&5
14054 $as_echo "$ac_cv_lib_procstat_procstat_open_sysctl" >&6; }
14055 if test "x$ac_cv_lib_procstat_procstat_open_sysctl" = xyes
; then :
14057 $as_echo "#define HAVE_LIBPROCSTAT 1" >>confdefs.h
14059 PROCSTAT_LIBS
="-lprocstat"
14065 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lodbc" >&5
14066 $as_echo_n "checking for -lodbc... " >&6; }
14067 if ${ac_cv_lib_soname_odbc+:} false
; then :
14068 $as_echo_n "(cached) " >&6
14070 ac_check_soname_save_LIBS
=$LIBS
14071 LIBS
="-lodbc $LIBS"
14072 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14073 /* end confdefs.h. */
14075 /* Override any GCC internal prototype to avoid an error.
14076 Use char because int might match the return type of a GCC
14077 builtin and then its argument prototype would still apply. */
14081 char SQLConnect ();
14085 return SQLConnect ();
14090 if ac_fn_c_try_link
"$LINENO"; then :
14092 dll
) ac_cv_lib_soname_odbc
=`$ac_cv_path_LDD conftest.exe | grep "odbc" | sed -e "s/dll.*/dll/"';2,$d'` ;;
14093 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'` ;;
14094 *) ac_cv_lib_soname_odbc
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libodbc\\.$LIBEXT" | sed -e "s/^.*\\[\\(libodbc\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
14095 if ${ac_cv_lib_soname_odbc:+false} :; then :
14096 ac_cv_lib_soname_odbc
=`$LDD conftest$ac_exeext | grep "libodbc\\.$LIBEXT" | sed -e "s/^.*\(libodbc\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
14100 rm -f core conftest.err conftest.
$ac_objext \
14101 conftest
$ac_exeext conftest.
$ac_ext
14102 LIBS
=$ac_check_soname_save_LIBS
14104 if ${ac_cv_lib_soname_odbc:+false} :; then :
14105 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
14106 $as_echo "not found" >&6; }
14107 cat >>confdefs.h
<<_ACEOF
14108 #define SONAME_LIBODBC "libodbc.$LIBEXT"
14112 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_odbc" >&5
14113 $as_echo "$ac_cv_lib_soname_odbc" >&6; }
14115 cat >>confdefs.h
<<_ACEOF
14116 #define SONAME_LIBODBC "$ac_cv_lib_soname_odbc"
14122 if test "x$with_netapi" != "xno"
14124 if ${NETAPI_CFLAGS:+false} :; then :
14125 if ${PKG_CONFIG+:} false
; then :
14126 NETAPI_CFLAGS
=`$PKG_CONFIG --cflags netapi 2>/dev/null`
14130 if ${NETAPI_LIBS:+false} :; then :
14131 if ${PKG_CONFIG+:} false
; then :
14132 NETAPI_LIBS
=`$PKG_CONFIG --libs netapi 2>/dev/null`
14137 $as_echo "$as_me:${as_lineno-$LINENO}: netapi cflags: $NETAPI_CFLAGS" >&5
14138 $as_echo "$as_me:${as_lineno-$LINENO}: netapi libs: $NETAPI_LIBS" >&5
14139 ac_save_CPPFLAGS
=$CPPFLAGS
14140 CPPFLAGS
="$CPPFLAGS $NETAPI_CFLAGS"
14141 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lnetapi" >&5
14142 $as_echo_n "checking for -lnetapi... " >&6; }
14143 if ${ac_cv_lib_soname_netapi+:} false
; then :
14144 $as_echo_n "(cached) " >&6
14146 ac_check_soname_save_LIBS
=$LIBS
14147 LIBS
="-lnetapi $NETAPI_LIBS $LIBS"
14148 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14149 /* end confdefs.h. */
14151 /* Override any GCC internal prototype to avoid an error.
14152 Use char because int might match the return type of a GCC
14153 builtin and then its argument prototype would still apply. */
14157 char libnetapi_init ();
14161 return libnetapi_init ();
14166 if ac_fn_c_try_link
"$LINENO"; then :
14168 dll
) ac_cv_lib_soname_netapi
=`$ac_cv_path_LDD conftest.exe | grep "netapi" | sed -e "s/dll.*/dll/"';2,$d'` ;;
14169 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'` ;;
14170 *) ac_cv_lib_soname_netapi
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libnetapi\\.$LIBEXT" | sed -e "s/^.*\\[\\(libnetapi\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
14171 if ${ac_cv_lib_soname_netapi:+false} :; then :
14172 ac_cv_lib_soname_netapi
=`$LDD conftest$ac_exeext | grep "libnetapi\\.$LIBEXT" | sed -e "s/^.*\(libnetapi\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
14176 rm -f core conftest.err conftest.
$ac_objext \
14177 conftest
$ac_exeext conftest.
$ac_ext
14178 LIBS
=$ac_check_soname_save_LIBS
14180 if ${ac_cv_lib_soname_netapi:+false} :; then :
14181 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
14182 $as_echo "not found" >&6; }
14183 cat >>confdefs.h
<<_ACEOF
14184 #define SONAME_LIBNETAPI "libnetapi.$LIBEXT"
14188 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_netapi" >&5
14189 $as_echo "$ac_cv_lib_soname_netapi" >&6; }
14191 cat >>confdefs.h
<<_ACEOF
14192 #define SONAME_LIBNETAPI "$ac_cv_lib_soname_netapi"
14197 CPPFLAGS
=$ac_save_CPPFLAGS
14198 test -z "$NETAPI_CFLAGS" || NETAPI_CFLAGS
=`echo " $NETAPI_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
14199 test -z "$NETAPI_LIBS" || NETAPI_LIBS
=`echo " $NETAPI_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
14203 if test "x$enable_winealsa_drv$enable_winecoreaudio_drv$enable_winepulse_drv$enable_wineoss_drv" = xnononono
-a \
14204 "x$with_alsa$with_coreaudio$with_oss$with_pulse" != xnononono
14206 as_fn_append wine_warnings
"|No sound system was found. Windows applications will be silent."
14212 if test "x${GCC}" = "xyes"
14214 EXTRACFLAGS
="-Wall -pipe"
14216 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gcc strength-reduce bug" >&5
14217 $as_echo_n "checking for gcc strength-reduce bug... " >&6; }
14218 if ${ac_cv_c_gcc_strength_bug+:} false
; then :
14219 $as_echo_n "(cached) " >&6
14221 if test "$cross_compiling" = yes; then :
14222 ac_cv_c_gcc_strength_bug
="no"
14224 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14225 /* end confdefs.h. */
14226 int L[4] = {0,1,2,3};
14230 static int Array[3];
14231 unsigned int B = 3;
14233 for(i=0; i<B; i++) Array[i] = i - 3;
14234 for(i=0; i<4 - 1; i++) L[i] = L[i + 1];
14236 return (Array[1] != -2 || L[2] != 3)
14241 if ac_fn_c_try_run
"$LINENO"; then :
14242 ac_cv_c_gcc_strength_bug
="no"
14244 ac_cv_c_gcc_strength_bug
="yes"
14246 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext \
14247 conftest.
$ac_objext conftest.beam conftest.
$ac_ext
14251 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_gcc_strength_bug" >&5
14252 $as_echo "$ac_cv_c_gcc_strength_bug" >&6; }
14253 if test "$ac_cv_c_gcc_strength_bug" = "yes"
14255 EXTRACFLAGS
="$EXTRACFLAGS -fno-strength-reduce"
14258 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fno-builtin" >&5
14259 $as_echo_n "checking whether the compiler supports -fno-builtin... " >&6; }
14260 if ${ac_cv_cflags__fno_builtin+:} false
; then :
14261 $as_echo_n "(cached) " >&6
14263 ac_wine_try_cflags_saved
=$CFLAGS
14264 CFLAGS
="$CFLAGS -fno-builtin"
14265 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14266 /* end confdefs.h. */
14267 int main(int argc, char **argv) { return 0; }
14269 if ac_fn_c_try_link
"$LINENO"; then :
14270 ac_cv_cflags__fno_builtin
=yes
14272 ac_cv_cflags__fno_builtin
=no
14274 rm -f core conftest.err conftest.
$ac_objext \
14275 conftest
$ac_exeext conftest.
$ac_ext
14276 CFLAGS
=$ac_wine_try_cflags_saved
14278 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fno_builtin" >&5
14279 $as_echo "$ac_cv_cflags__fno_builtin" >&6; }
14280 if test "x$ac_cv_cflags__fno_builtin" = xyes
; then :
14281 BUILTINFLAG
="-fno-builtin"
14284 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fno-strict-aliasing" >&5
14285 $as_echo_n "checking whether the compiler supports -fno-strict-aliasing... " >&6; }
14286 if ${ac_cv_cflags__fno_strict_aliasing+:} false
; then :
14287 $as_echo_n "(cached) " >&6
14289 ac_wine_try_cflags_saved
=$CFLAGS
14290 CFLAGS
="$CFLAGS -fno-strict-aliasing"
14291 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14292 /* end confdefs.h. */
14293 int main(int argc, char **argv) { return 0; }
14295 if ac_fn_c_try_link
"$LINENO"; then :
14296 ac_cv_cflags__fno_strict_aliasing
=yes
14298 ac_cv_cflags__fno_strict_aliasing
=no
14300 rm -f core conftest.err conftest.
$ac_objext \
14301 conftest
$ac_exeext conftest.
$ac_ext
14302 CFLAGS
=$ac_wine_try_cflags_saved
14304 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fno_strict_aliasing" >&5
14305 $as_echo "$ac_cv_cflags__fno_strict_aliasing" >&6; }
14306 if test "x$ac_cv_cflags__fno_strict_aliasing" = xyes
; then :
14307 EXTRACFLAGS
="$EXTRACFLAGS -fno-strict-aliasing"
14309 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fexcess-precision=standard" >&5
14310 $as_echo_n "checking whether the compiler supports -fexcess-precision=standard... " >&6; }
14311 if ${ac_cv_cflags__fexcess_precision_standard+:} false
; then :
14312 $as_echo_n "(cached) " >&6
14314 ac_wine_try_cflags_saved
=$CFLAGS
14315 CFLAGS
="$CFLAGS -fexcess-precision=standard"
14316 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14317 /* end confdefs.h. */
14318 int main(int argc, char **argv) { return 0; }
14320 if ac_fn_c_try_link
"$LINENO"; then :
14321 ac_cv_cflags__fexcess_precision_standard
=yes
14323 ac_cv_cflags__fexcess_precision_standard
=no
14325 rm -f core conftest.err conftest.
$ac_objext \
14326 conftest
$ac_exeext conftest.
$ac_ext
14327 CFLAGS
=$ac_wine_try_cflags_saved
14329 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fexcess_precision_standard" >&5
14330 $as_echo "$ac_cv_cflags__fexcess_precision_standard" >&6; }
14331 if test "x$ac_cv_cflags__fexcess_precision_standard" = xyes
; then :
14332 EXCESS_PRECISION_CFLAGS
="-fexcess-precision=standard"
14335 saved_CFLAGS
=$CFLAGS
14336 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Werror=unknown-warning-option" >&5
14337 $as_echo_n "checking whether the compiler supports -Werror=unknown-warning-option... " >&6; }
14338 if ${ac_cv_cflags__Werror_unknown_warning_option+:} false
; then :
14339 $as_echo_n "(cached) " >&6
14341 ac_wine_try_cflags_saved
=$CFLAGS
14342 CFLAGS
="$CFLAGS -Werror=unknown-warning-option"
14343 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14344 /* end confdefs.h. */
14345 int main(int argc, char **argv) { return 0; }
14347 if ac_fn_c_try_link
"$LINENO"; then :
14348 ac_cv_cflags__Werror_unknown_warning_option
=yes
14350 ac_cv_cflags__Werror_unknown_warning_option
=no
14352 rm -f core conftest.err conftest.
$ac_objext \
14353 conftest
$ac_exeext conftest.
$ac_ext
14354 CFLAGS
=$ac_wine_try_cflags_saved
14356 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Werror_unknown_warning_option" >&5
14357 $as_echo "$ac_cv_cflags__Werror_unknown_warning_option" >&6; }
14358 if test "x$ac_cv_cflags__Werror_unknown_warning_option" = xyes
; then :
14359 CFLAGS
="$CFLAGS -Werror=unknown-warning-option"
14361 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wdeclaration-after-statement" >&5
14362 $as_echo_n "checking whether the compiler supports -Wdeclaration-after-statement... " >&6; }
14363 if ${ac_cv_cflags__Wdeclaration_after_statement+:} false
; then :
14364 $as_echo_n "(cached) " >&6
14366 ac_wine_try_cflags_saved
=$CFLAGS
14367 CFLAGS
="$CFLAGS -Wdeclaration-after-statement"
14368 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14369 /* end confdefs.h. */
14370 int main(int argc, char **argv) { return 0; }
14372 if ac_fn_c_try_link
"$LINENO"; then :
14373 ac_cv_cflags__Wdeclaration_after_statement
=yes
14375 ac_cv_cflags__Wdeclaration_after_statement
=no
14377 rm -f core conftest.err conftest.
$ac_objext \
14378 conftest
$ac_exeext conftest.
$ac_ext
14379 CFLAGS
=$ac_wine_try_cflags_saved
14381 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wdeclaration_after_statement" >&5
14382 $as_echo "$ac_cv_cflags__Wdeclaration_after_statement" >&6; }
14383 if test "x$ac_cv_cflags__Wdeclaration_after_statement" = xyes
; then :
14384 EXTRACFLAGS
="$EXTRACFLAGS -Wdeclaration-after-statement"
14386 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wempty-body" >&5
14387 $as_echo_n "checking whether the compiler supports -Wempty-body... " >&6; }
14388 if ${ac_cv_cflags__Wempty_body+:} false
; then :
14389 $as_echo_n "(cached) " >&6
14391 ac_wine_try_cflags_saved
=$CFLAGS
14392 CFLAGS
="$CFLAGS -Wempty-body"
14393 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14394 /* end confdefs.h. */
14395 int main(int argc, char **argv) { return 0; }
14397 if ac_fn_c_try_link
"$LINENO"; then :
14398 ac_cv_cflags__Wempty_body
=yes
14400 ac_cv_cflags__Wempty_body
=no
14402 rm -f core conftest.err conftest.
$ac_objext \
14403 conftest
$ac_exeext conftest.
$ac_ext
14404 CFLAGS
=$ac_wine_try_cflags_saved
14406 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wempty_body" >&5
14407 $as_echo "$ac_cv_cflags__Wempty_body" >&6; }
14408 if test "x$ac_cv_cflags__Wempty_body" = xyes
; then :
14409 EXTRACFLAGS
="$EXTRACFLAGS -Wempty-body"
14411 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wignored-qualifiers" >&5
14412 $as_echo_n "checking whether the compiler supports -Wignored-qualifiers... " >&6; }
14413 if ${ac_cv_cflags__Wignored_qualifiers+:} false
; then :
14414 $as_echo_n "(cached) " >&6
14416 ac_wine_try_cflags_saved
=$CFLAGS
14417 CFLAGS
="$CFLAGS -Wignored-qualifiers"
14418 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14419 /* end confdefs.h. */
14420 int main(int argc, char **argv) { return 0; }
14422 if ac_fn_c_try_link
"$LINENO"; then :
14423 ac_cv_cflags__Wignored_qualifiers
=yes
14425 ac_cv_cflags__Wignored_qualifiers
=no
14427 rm -f core conftest.err conftest.
$ac_objext \
14428 conftest
$ac_exeext conftest.
$ac_ext
14429 CFLAGS
=$ac_wine_try_cflags_saved
14431 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wignored_qualifiers" >&5
14432 $as_echo "$ac_cv_cflags__Wignored_qualifiers" >&6; }
14433 if test "x$ac_cv_cflags__Wignored_qualifiers" = xyes
; then :
14434 EXTRACFLAGS
="$EXTRACFLAGS -Wignored-qualifiers"
14436 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wshift-overflow=2" >&5
14437 $as_echo_n "checking whether the compiler supports -Wshift-overflow=2... " >&6; }
14438 if ${ac_cv_cflags__Wshift_overflow_2+:} false
; then :
14439 $as_echo_n "(cached) " >&6
14441 ac_wine_try_cflags_saved
=$CFLAGS
14442 CFLAGS
="$CFLAGS -Wshift-overflow=2"
14443 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14444 /* end confdefs.h. */
14445 int main(int argc, char **argv) { return 0; }
14447 if ac_fn_c_try_link
"$LINENO"; then :
14448 ac_cv_cflags__Wshift_overflow_2
=yes
14450 ac_cv_cflags__Wshift_overflow_2
=no
14452 rm -f core conftest.err conftest.
$ac_objext \
14453 conftest
$ac_exeext conftest.
$ac_ext
14454 CFLAGS
=$ac_wine_try_cflags_saved
14456 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wshift_overflow_2" >&5
14457 $as_echo "$ac_cv_cflags__Wshift_overflow_2" >&6; }
14458 if test "x$ac_cv_cflags__Wshift_overflow_2" = xyes
; then :
14459 EXTRACFLAGS
="$EXTRACFLAGS -Wshift-overflow=2"
14461 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wstrict-prototypes" >&5
14462 $as_echo_n "checking whether the compiler supports -Wstrict-prototypes... " >&6; }
14463 if ${ac_cv_cflags__Wstrict_prototypes+:} false
; then :
14464 $as_echo_n "(cached) " >&6
14466 ac_wine_try_cflags_saved
=$CFLAGS
14467 CFLAGS
="$CFLAGS -Wstrict-prototypes"
14468 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14469 /* end confdefs.h. */
14470 int main(int argc, char **argv) { return 0; }
14472 if ac_fn_c_try_link
"$LINENO"; then :
14473 ac_cv_cflags__Wstrict_prototypes
=yes
14475 ac_cv_cflags__Wstrict_prototypes
=no
14477 rm -f core conftest.err conftest.
$ac_objext \
14478 conftest
$ac_exeext conftest.
$ac_ext
14479 CFLAGS
=$ac_wine_try_cflags_saved
14481 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wstrict_prototypes" >&5
14482 $as_echo "$ac_cv_cflags__Wstrict_prototypes" >&6; }
14483 if test "x$ac_cv_cflags__Wstrict_prototypes" = xyes
; then :
14484 EXTRACFLAGS
="$EXTRACFLAGS -Wstrict-prototypes"
14486 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wtype-limits" >&5
14487 $as_echo_n "checking whether the compiler supports -Wtype-limits... " >&6; }
14488 if ${ac_cv_cflags__Wtype_limits+:} false
; then :
14489 $as_echo_n "(cached) " >&6
14491 ac_wine_try_cflags_saved
=$CFLAGS
14492 CFLAGS
="$CFLAGS -Wtype-limits"
14493 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14494 /* end confdefs.h. */
14495 int main(int argc, char **argv) { return 0; }
14497 if ac_fn_c_try_link
"$LINENO"; then :
14498 ac_cv_cflags__Wtype_limits
=yes
14500 ac_cv_cflags__Wtype_limits
=no
14502 rm -f core conftest.err conftest.
$ac_objext \
14503 conftest
$ac_exeext conftest.
$ac_ext
14504 CFLAGS
=$ac_wine_try_cflags_saved
14506 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wtype_limits" >&5
14507 $as_echo "$ac_cv_cflags__Wtype_limits" >&6; }
14508 if test "x$ac_cv_cflags__Wtype_limits" = xyes
; then :
14509 EXTRACFLAGS
="$EXTRACFLAGS -Wtype-limits"
14511 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wunused-but-set-parameter" >&5
14512 $as_echo_n "checking whether the compiler supports -Wunused-but-set-parameter... " >&6; }
14513 if ${ac_cv_cflags__Wunused_but_set_parameter+:} false
; then :
14514 $as_echo_n "(cached) " >&6
14516 ac_wine_try_cflags_saved
=$CFLAGS
14517 CFLAGS
="$CFLAGS -Wunused-but-set-parameter"
14518 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14519 /* end confdefs.h. */
14520 int main(int argc, char **argv) { return 0; }
14522 if ac_fn_c_try_link
"$LINENO"; then :
14523 ac_cv_cflags__Wunused_but_set_parameter
=yes
14525 ac_cv_cflags__Wunused_but_set_parameter
=no
14527 rm -f core conftest.err conftest.
$ac_objext \
14528 conftest
$ac_exeext conftest.
$ac_ext
14529 CFLAGS
=$ac_wine_try_cflags_saved
14531 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wunused_but_set_parameter" >&5
14532 $as_echo "$ac_cv_cflags__Wunused_but_set_parameter" >&6; }
14533 if test "x$ac_cv_cflags__Wunused_but_set_parameter" = xyes
; then :
14534 EXTRACFLAGS
="$EXTRACFLAGS -Wunused-but-set-parameter"
14536 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wvla" >&5
14537 $as_echo_n "checking whether the compiler supports -Wvla... " >&6; }
14538 if ${ac_cv_cflags__Wvla+:} false
; then :
14539 $as_echo_n "(cached) " >&6
14541 ac_wine_try_cflags_saved
=$CFLAGS
14542 CFLAGS
="$CFLAGS -Wvla"
14543 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14544 /* end confdefs.h. */
14545 int main(int argc, char **argv) { return 0; }
14547 if ac_fn_c_try_link
"$LINENO"; then :
14548 ac_cv_cflags__Wvla
=yes
14550 ac_cv_cflags__Wvla
=no
14552 rm -f core conftest.err conftest.
$ac_objext \
14553 conftest
$ac_exeext conftest.
$ac_ext
14554 CFLAGS
=$ac_wine_try_cflags_saved
14556 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wvla" >&5
14557 $as_echo "$ac_cv_cflags__Wvla" >&6; }
14558 if test "x$ac_cv_cflags__Wvla" = xyes
; then :
14559 EXTRACFLAGS
="$EXTRACFLAGS -Wvla"
14561 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wwrite-strings" >&5
14562 $as_echo_n "checking whether the compiler supports -Wwrite-strings... " >&6; }
14563 if ${ac_cv_cflags__Wwrite_strings+:} false
; then :
14564 $as_echo_n "(cached) " >&6
14566 ac_wine_try_cflags_saved
=$CFLAGS
14567 CFLAGS
="$CFLAGS -Wwrite-strings"
14568 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14569 /* end confdefs.h. */
14570 int main(int argc, char **argv) { return 0; }
14572 if ac_fn_c_try_link
"$LINENO"; then :
14573 ac_cv_cflags__Wwrite_strings
=yes
14575 ac_cv_cflags__Wwrite_strings
=no
14577 rm -f core conftest.err conftest.
$ac_objext \
14578 conftest
$ac_exeext conftest.
$ac_ext
14579 CFLAGS
=$ac_wine_try_cflags_saved
14581 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wwrite_strings" >&5
14582 $as_echo "$ac_cv_cflags__Wwrite_strings" >&6; }
14583 if test "x$ac_cv_cflags__Wwrite_strings" = xyes
; then :
14584 EXTRACFLAGS
="$EXTRACFLAGS -Wwrite-strings"
14587 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wpointer-arith" >&5
14588 $as_echo_n "checking whether the compiler supports -Wpointer-arith... " >&6; }
14589 if ${ac_cv_cflags__Wpointer_arith+:} false
; then :
14590 $as_echo_n "(cached) " >&6
14592 ac_wine_try_cflags_saved
=$CFLAGS
14593 CFLAGS
="$CFLAGS -Wpointer-arith"
14594 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14595 /* end confdefs.h. */
14596 int main(int argc, char **argv) { return 0; }
14598 if ac_fn_c_try_link
"$LINENO"; then :
14599 ac_cv_cflags__Wpointer_arith
=yes
14601 ac_cv_cflags__Wpointer_arith
=no
14603 rm -f core conftest.err conftest.
$ac_objext \
14604 conftest
$ac_exeext conftest.
$ac_ext
14605 CFLAGS
=$ac_wine_try_cflags_saved
14607 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wpointer_arith" >&5
14608 $as_echo "$ac_cv_cflags__Wpointer_arith" >&6; }
14609 if test "x$ac_cv_cflags__Wpointer_arith" = xyes
; then :
14610 saved_string_h_CFLAGS
=$CFLAGS
14611 CFLAGS
="$CFLAGS -Wpointer-arith -Werror"
14612 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for broken string.h that generates warnings with -Wpointer-arith" >&5
14613 $as_echo_n "checking for broken string.h that generates warnings with -Wpointer-arith... " >&6; }
14614 if ${ac_cv_c_string_h_warnings+:} false
; then :
14615 $as_echo_n "(cached) " >&6
14617 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14618 /* end confdefs.h. */
14619 #include <string.h>
14628 if ac_fn_c_try_compile
"$LINENO"; then :
14629 ac_cv_c_string_h_warnings
=no
14631 ac_cv_c_string_h_warnings
=yes
14633 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
14635 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_string_h_warnings" >&5
14636 $as_echo "$ac_cv_c_string_h_warnings" >&6; }
14637 test "$ac_cv_c_string_h_warnings" = yes || EXTRACFLAGS
="$EXTRACFLAGS -Wpointer-arith"
14638 CFLAGS
=$saved_string_h_CFLAGS
14641 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wlogical-op" >&5
14642 $as_echo_n "checking whether the compiler supports -Wlogical-op... " >&6; }
14643 if ${ac_cv_cflags__Wlogical_op+:} false
; then :
14644 $as_echo_n "(cached) " >&6
14646 ac_wine_try_cflags_saved
=$CFLAGS
14647 CFLAGS
="$CFLAGS -Wlogical-op"
14648 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14649 /* end confdefs.h. */
14650 int main(int argc, char **argv) { return 0; }
14652 if ac_fn_c_try_link
"$LINENO"; then :
14653 ac_cv_cflags__Wlogical_op
=yes
14655 ac_cv_cflags__Wlogical_op
=no
14657 rm -f core conftest.err conftest.
$ac_objext \
14658 conftest
$ac_exeext conftest.
$ac_ext
14659 CFLAGS
=$ac_wine_try_cflags_saved
14661 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wlogical_op" >&5
14662 $as_echo "$ac_cv_cflags__Wlogical_op" >&6; }
14663 if test "x$ac_cv_cflags__Wlogical_op" = xyes
; then :
14664 saved_string_h_CFLAGS
=$CFLAGS
14665 CFLAGS
="$CFLAGS -Wlogical-op -Werror"
14666 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for broken string.h that generates warnings with -Wlogical-op" >&5
14667 $as_echo_n "checking for broken string.h that generates warnings with -Wlogical-op... " >&6; }
14668 if ${ac_cv_c_logicalop_noisy+:} false
; then :
14669 $as_echo_n "(cached) " >&6
14671 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14672 /* end confdefs.h. */
14673 #include <string.h>
14674 char*f(const char *h,char n) {return strchr(h,n);}
14683 if ac_fn_c_try_compile
"$LINENO"; then :
14684 ac_cv_c_logicalop_noisy
=no
14686 ac_cv_c_logicalop_noisy
=yes
14688 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
14690 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_logicalop_noisy" >&5
14691 $as_echo "$ac_cv_c_logicalop_noisy" >&6; }
14692 CFLAGS
=$saved_string_h_CFLAGS
14693 test "$ac_cv_c_logicalop_noisy" = yes || EXTRACFLAGS
="$EXTRACFLAGS -Wlogical-op"
14696 CFLAGS
=$saved_CFLAGS
14698 for ac_flag
in $CFLAGS; do
14700 -g) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -gdwarf-2" >&5
14701 $as_echo_n "checking whether the compiler supports -gdwarf-2... " >&6; }
14702 if ${ac_cv_cflags__gdwarf_2+:} false
; then :
14703 $as_echo_n "(cached) " >&6
14705 ac_wine_try_cflags_saved
=$CFLAGS
14706 CFLAGS
="$CFLAGS -gdwarf-2"
14707 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14708 /* end confdefs.h. */
14709 int main(int argc, char **argv) { return 0; }
14711 if ac_fn_c_try_link
"$LINENO"; then :
14712 ac_cv_cflags__gdwarf_2
=yes
14714 ac_cv_cflags__gdwarf_2
=no
14716 rm -f core conftest.err conftest.
$ac_objext \
14717 conftest
$ac_exeext conftest.
$ac_ext
14718 CFLAGS
=$ac_wine_try_cflags_saved
14720 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__gdwarf_2" >&5
14721 $as_echo "$ac_cv_cflags__gdwarf_2" >&6; }
14722 if test "x$ac_cv_cflags__gdwarf_2" = xyes
; then :
14723 EXTRACFLAGS
="$EXTRACFLAGS -gdwarf-2"
14725 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -gstrict-dwarf" >&5
14726 $as_echo_n "checking whether the compiler supports -gstrict-dwarf... " >&6; }
14727 if ${ac_cv_cflags__gstrict_dwarf+:} false
; then :
14728 $as_echo_n "(cached) " >&6
14730 ac_wine_try_cflags_saved
=$CFLAGS
14731 CFLAGS
="$CFLAGS -gstrict-dwarf"
14732 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14733 /* end confdefs.h. */
14734 int main(int argc, char **argv) { return 0; }
14736 if ac_fn_c_try_link
"$LINENO"; then :
14737 ac_cv_cflags__gstrict_dwarf
=yes
14739 ac_cv_cflags__gstrict_dwarf
=no
14741 rm -f core conftest.err conftest.
$ac_objext \
14742 conftest
$ac_exeext conftest.
$ac_ext
14743 CFLAGS
=$ac_wine_try_cflags_saved
14745 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__gstrict_dwarf" >&5
14746 $as_echo "$ac_cv_cflags__gstrict_dwarf" >&6; }
14747 if test "x$ac_cv_cflags__gstrict_dwarf" = xyes
; then :
14748 EXTRACFLAGS
="$EXTRACFLAGS -gstrict-dwarf"
14754 *i
[3456789]86*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fno-omit-frame-pointer" >&5
14755 $as_echo_n "checking whether the compiler supports -fno-omit-frame-pointer... " >&6; }
14756 if ${ac_cv_cflags__fno_omit_frame_pointer+:} false
; then :
14757 $as_echo_n "(cached) " >&6
14759 ac_wine_try_cflags_saved
=$CFLAGS
14760 CFLAGS
="$CFLAGS -fno-omit-frame-pointer"
14761 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14762 /* end confdefs.h. */
14763 int main(int argc, char **argv) { return 0; }
14765 if ac_fn_c_try_link
"$LINENO"; then :
14766 ac_cv_cflags__fno_omit_frame_pointer
=yes
14768 ac_cv_cflags__fno_omit_frame_pointer
=no
14770 rm -f core conftest.err conftest.
$ac_objext \
14771 conftest
$ac_exeext conftest.
$ac_ext
14772 CFLAGS
=$ac_wine_try_cflags_saved
14774 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fno_omit_frame_pointer" >&5
14775 $as_echo "$ac_cv_cflags__fno_omit_frame_pointer" >&6; }
14776 if test "x$ac_cv_cflags__fno_omit_frame_pointer" = xyes
; then :
14777 EXTRACFLAGS
="$EXTRACFLAGS -fno-omit-frame-pointer"
14782 x86_64-
*mingw32
*|x86_64-
*cygwin
*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wno-format" >&5
14783 $as_echo_n "checking whether the compiler supports -Wno-format... " >&6; }
14784 if ${ac_cv_cflags__Wno_format+:} false
; then :
14785 $as_echo_n "(cached) " >&6
14787 ac_wine_try_cflags_saved
=$CFLAGS
14788 CFLAGS
="$CFLAGS -Wno-format"
14789 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14790 /* end confdefs.h. */
14791 int main(int argc, char **argv) { return 0; }
14793 if ac_fn_c_try_link
"$LINENO"; then :
14794 ac_cv_cflags__Wno_format
=yes
14796 ac_cv_cflags__Wno_format
=no
14798 rm -f core conftest.err conftest.
$ac_objext \
14799 conftest
$ac_exeext conftest.
$ac_ext
14800 CFLAGS
=$ac_wine_try_cflags_saved
14802 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wno_format" >&5
14803 $as_echo "$ac_cv_cflags__Wno_format" >&6; }
14804 if test "x$ac_cv_cflags__Wno_format" = xyes
; then :
14805 EXTRACFLAGS
="$EXTRACFLAGS -Wno-format"
14809 if test "x$enable_maintainer_mode" = "xyes"
14811 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Werror" >&5
14812 $as_echo_n "checking whether the compiler supports -Werror... " >&6; }
14813 if ${ac_cv_cflags__Werror+:} false
; then :
14814 $as_echo_n "(cached) " >&6
14816 ac_wine_try_cflags_saved
=$CFLAGS
14817 CFLAGS
="$CFLAGS -Werror"
14818 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14819 /* end confdefs.h. */
14820 int main(int argc, char **argv) { return 0; }
14822 if ac_fn_c_try_link
"$LINENO"; then :
14823 ac_cv_cflags__Werror
=yes
14825 ac_cv_cflags__Werror
=no
14827 rm -f core conftest.err conftest.
$ac_objext \
14828 conftest
$ac_exeext conftest.
$ac_ext
14829 CFLAGS
=$ac_wine_try_cflags_saved
14831 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Werror" >&5
14832 $as_echo "$ac_cv_cflags__Werror" >&6; }
14833 if test "x$ac_cv_cflags__Werror" = xyes
; then :
14834 EXTRACFLAGS
="$EXTRACFLAGS -Werror"
14838 saved_CFLAGS
="$CFLAGS"
14839 CFLAGS
="$CFLAGS -Werror"
14840 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ms_hook_prologue attribute" >&5
14841 $as_echo_n "checking for ms_hook_prologue attribute... " >&6; }
14842 if ${ac_cv_have_ms_hook_prologue+:} false
; then :
14843 $as_echo_n "(cached) " >&6
14845 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14846 /* end confdefs.h. */
14847 int __attribute__((__ms_hook_prologue__)) test(void) { return 0; }
14856 if ac_fn_c_try_compile
"$LINENO"; then :
14857 ac_cv_have_ms_hook_prologue
="yes"
14859 ac_cv_have_ms_hook_prologue
="no"
14861 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
14863 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_ms_hook_prologue" >&5
14864 $as_echo "$ac_cv_have_ms_hook_prologue" >&6; }
14865 CFLAGS
="$saved_CFLAGS"
14866 if test "$ac_cv_have_ms_hook_prologue" = "yes"
14869 $as_echo "#define DECLSPEC_HOTPATCH __attribute__((__ms_hook_prologue__))" >>confdefs.h
14872 $as_echo "#define DECLSPEC_HOTPATCH /* */" >>confdefs.h
14878 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for the need to disable Fortify" >&5
14879 $as_echo_n "checking for the need to disable Fortify... " >&6; }
14880 if ${ac_cv_c_fortify_enabled+:} false
; then :
14881 $as_echo_n "(cached) " >&6
14883 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14884 /* end confdefs.h. */
14885 #include <string.h>
14889 #if (defined(__USE_FORTIFY_LEVEL) && __USE_FORTIFY_LEVEL > 0) || (defined(_FORTIFY_SOURCE) && _FORTIFY_SOURCE > 0)
14890 #error Fortify enabled
14896 if ac_fn_c_try_compile
"$LINENO"; then :
14897 ac_cv_c_fortify_enabled
=no
14899 ac_cv_c_fortify_enabled
=yes
14901 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
14903 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_fortify_enabled" >&5
14904 $as_echo "$ac_cv_c_fortify_enabled" >&6; }
14905 if test "$ac_cv_c_fortify_enabled" = yes
14907 CFLAGS
="$CFLAGS -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=0"
14911 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether external symbols need an underscore prefix" >&5
14912 $as_echo_n "checking whether external symbols need an underscore prefix... " >&6; }
14913 if ${ac_cv_c_extern_prefix+:} false
; then :
14914 $as_echo_n "(cached) " >&6
14916 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14917 /* end confdefs.h. */
14918 extern int ac_test;
14922 asm(".globl _ac_test\n_ac_test:\t.long 0"); if (ac_test) return 1
14927 if ac_fn_c_try_link
"$LINENO"; then :
14928 ac_cv_c_extern_prefix
="yes"
14930 ac_cv_c_extern_prefix
="no"
14932 rm -f core conftest.err conftest.
$ac_objext \
14933 conftest
$ac_exeext conftest.
$ac_ext
14935 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_extern_prefix" >&5
14936 $as_echo "$ac_cv_c_extern_prefix" >&6; }
14940 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether external symbols need stdcall decoration" >&5
14941 $as_echo_n "checking whether external symbols need stdcall decoration... " >&6; }
14942 if ${ac_cv_c_stdcall_suffix+:} false
; then :
14943 $as_echo_n "(cached) " >&6
14945 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14946 /* end confdefs.h. */
14948 #define __stdcall __attribute__((__stdcall__))
14950 int __stdcall ac_test(int i) { return i; }
14954 asm("jmp _ac_test@4"); if (ac_test(1)) return 1
14959 if ac_fn_c_try_link
"$LINENO"; then :
14960 ac_cv_c_stdcall_suffix
="yes"
14962 ac_cv_c_stdcall_suffix
="no"
14964 rm -f core conftest.err conftest.
$ac_objext \
14965 conftest
$ac_exeext conftest.
$ac_ext
14967 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_stdcall_suffix" >&5
14968 $as_echo "$ac_cv_c_stdcall_suffix" >&6; } ;;
14969 *) ac_cv_c_stdcall_suffix
="no" ;;
14973 if test "$ac_cv_c_extern_prefix" = "yes"
14975 $as_echo "#define __ASM_NAME(name) \"_\" name" >>confdefs.h
14977 asm_name_prefix
="_"
14979 $as_echo "#define __ASM_NAME(name) name" >>confdefs.h
14985 if test "$ac_cv_c_stdcall_suffix" = "yes"
14987 $as_echo "#define __ASM_STDCALL(args) \"@\" #args" >>confdefs.h
14990 $as_echo "#define __ASM_STDCALL(args) \"\"" >>confdefs.h
14995 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to define a function in assembly code" >&5
14996 $as_echo_n "checking how to define a function in assembly code... " >&6; }
14997 if ${ac_cv_asm_func_def+:} false
; then :
14998 $as_echo_n "(cached) " >&6
15000 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15001 /* end confdefs.h. */
15006 asm("\t.globl _ac_test\n\t.def _ac_test; .scl 2; .type 32; .endef\n_ac_test:\t.long 0");
15011 if ac_fn_c_try_link
"$LINENO"; then :
15012 ac_cv_asm_func_def
=".def"
15014 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15015 /* end confdefs.h. */
15020 asm("\t.globl _ac_test\n\t.type _ac_test,@function\n_ac_test:\t.long 0");
15025 if ac_fn_c_try_link
"$LINENO"; then :
15026 ac_cv_asm_func_def
=".type @function"
15028 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15029 /* end confdefs.h. */
15034 asm("\t.globl _ac_test\n\t.type _ac_test,2\n_ac_test:\t.long 0");
15039 if ac_fn_c_try_link
"$LINENO"; then :
15040 ac_cv_asm_func_def
=".type 2"
15042 ac_cv_asm_func_def
="unknown"
15044 rm -f core conftest.err conftest.
$ac_objext \
15045 conftest
$ac_exeext conftest.
$ac_ext
15047 rm -f core conftest.err conftest.
$ac_objext \
15048 conftest
$ac_exeext conftest.
$ac_ext
15050 rm -f core conftest.err conftest.
$ac_objext \
15051 conftest
$ac_exeext conftest.
$ac_ext
15053 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_asm_func_def" >&5
15054 $as_echo "$ac_cv_asm_func_def" >&6; }
15057 case "$ac_cv_asm_func_def" in
15059 $as_echo "#define __ASM_FUNC(name) \".def \" __ASM_NAME(name) \"; .scl 2; .type 32; .endef\"" >>confdefs.h
15061 asm_func_header
=".def $asm_name_prefix\" #name suffix \"; .scl 2; .type 32; .endef" ;;
15063 $as_echo "#define __ASM_FUNC(name) \".type \" __ASM_NAME(name) \",@function\"" >>confdefs.h
15065 asm_func_header
=".type $asm_name_prefix\" #name suffix \",@function" ;;
15067 $as_echo "#define __ASM_FUNC(name) \".type \" __ASM_NAME(name) \",2\"" >>confdefs.h
15069 asm_func_header
=".type $asm_name_prefix\" #name suffix \",2" ;;
15071 $as_echo "#define __ASM_FUNC(name) \"\"" >>confdefs.h
15073 asm_func_header
="" ;;
15076 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether asm() works outside of functions" >&5
15077 $as_echo_n "checking whether asm() works outside of functions... " >&6; }
15078 if ${ac_cv_c_asm_outside_funcs+:} false
; then :
15079 $as_echo_n "(cached) " >&6
15081 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15082 /* end confdefs.h. */
15083 asm(".text\n\t.long 0");
15092 if ac_fn_c_try_compile
"$LINENO"; then :
15093 ac_cv_c_asm_outside_funcs
="yes"
15095 ac_cv_c_asm_outside_funcs
="no"
15097 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
15099 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_asm_outside_funcs" >&5
15100 $as_echo "$ac_cv_c_asm_outside_funcs" >&6; }
15102 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether .previous is supported in assembly code" >&5
15103 $as_echo_n "checking whether .previous is supported in assembly code... " >&6; }
15104 if ${ac_cv_c_dot_previous+:} false
; then :
15105 $as_echo_n "(cached) " >&6
15107 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15108 /* end confdefs.h. */
15113 asm(".text\nac_test:\t.long 0\n\t.previous");
15118 if ac_fn_c_try_link
"$LINENO"; then :
15119 ac_cv_c_dot_previous
="yes"
15121 ac_cv_c_dot_previous
="no"
15123 rm -f core conftest.err conftest.
$ac_objext \
15124 conftest
$ac_exeext conftest.
$ac_ext
15126 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_dot_previous" >&5
15127 $as_echo "$ac_cv_c_dot_previous" >&6; }
15129 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether CFI directives are supported in assembly code" >&5
15130 $as_echo_n "checking whether CFI directives are supported in assembly code... " >&6; }
15131 if ${ac_cv_c_cfi_support+:} false
; then :
15132 $as_echo_n "(cached) " >&6
15134 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15135 /* end confdefs.h. */
15136 asm(".text\nac_test:\t.cfi_startproc\n\t.long 0\n\t.cfi_endproc");
15145 if ac_fn_c_try_compile
"$LINENO"; then :
15146 ac_cv_c_cfi_support
="yes"
15148 ac_cv_c_cfi_support
="no"
15150 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
15152 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_cfi_support" >&5
15153 $as_echo "$ac_cv_c_cfi_support" >&6; }
15155 asm_func_header
=".globl $asm_name_prefix\" #name suffix \"\\n\\t$asm_func_header\\n$asm_name_prefix\" #name suffix \":\\n\\t"
15156 asm_func_trailer
=""
15157 if test "$ac_cv_c_dot_previous" = "yes"
15159 asm_func_trailer
="\\n\\t.previous"
15161 if test "$ac_cv_c_cfi_support" = "yes"
15163 asm_func_header
="$asm_func_header.cfi_startproc\\n\\t"
15164 asm_func_trailer
="\\n\\t.cfi_endproc$asm_func_trailer"
15166 $as_echo "#define __ASM_CFI(str) str" >>confdefs.h
15168 UNWINDFLAGS
=-fasynchronous-unwind-tables
15171 $as_echo "#define __ASM_CFI(str) \"\"" >>confdefs.h
15173 if test "x$enable_win64" = "xyes"
15175 as_fn_append wine_warnings
"|building 64-bit Wine without support for CFI directives; exception handling will not work properly."
15179 asm_func_code
="$asm_func_header\" code \"$asm_func_trailer"
15182 if test "$ac_cv_c_asm_outside_funcs" = "yes"
15184 cat >>confdefs.h
<<_ACEOF
15185 #define __ASM_DEFINE_FUNC(name,suffix,code) asm(".text\n\t.align 4\n\t$asm_func_code");
15189 cat >>confdefs.h
<<_ACEOF
15190 #define __ASM_DEFINE_FUNC(name,suffix,code) void __asm_dummy_##name(void) { asm(".text\n\t.align 4\n\t$asm_func_code"); }
15195 $as_echo "#define __ASM_GLOBAL_FUNC(name,code) __ASM_DEFINE_FUNC(name,\"\",code)" >>confdefs.h
15198 $as_echo "#define __ASM_STDCALL_FUNC(name,args,code) __ASM_DEFINE_FUNC(name,__ASM_STDCALL(args),code)" >>confdefs.h
15203 cygwin
*|mingw32
*) TOOLSEXT
=".exe"
15211 *i
[3456789]86*|x86_64
*)
15212 test "$wine_binary" = wine || wine_fn_append_file CONFIGURE_TARGETS
"loader/wine-preloader"
15213 WINELOADER_PROGRAMS
="$WINELOADER_PROGRAMS $wine_binary-preloader"
15220 ac_save_CFLAGS
="$CFLAGS"
15221 CFLAGS
="$CFLAGS $BUILTINFLAG"
15301 as_ac_var
=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
15302 ac_fn_c_check_func
"$LINENO" "$ac_func" "$as_ac_var"
15303 if eval test \"x\$
"$as_ac_var"\" = x
"yes"; then :
15304 cat >>confdefs.h
<<_ACEOF
15305 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
15311 CFLAGS
="$ac_save_CFLAGS"
15313 if test "$ac_cv_func_dlopen" = no
15315 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
15316 $as_echo_n "checking for dlopen in -ldl... " >&6; }
15317 if ${ac_cv_lib_dl_dlopen+:} false
; then :
15318 $as_echo_n "(cached) " >&6
15320 ac_check_lib_save_LIBS
=$LIBS
15322 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15323 /* end confdefs.h. */
15325 /* Override any GCC internal prototype to avoid an error.
15326 Use char because int might match the return type of a GCC
15327 builtin and then its argument prototype would still apply. */
15340 if ac_fn_c_try_link
"$LINENO"; then :
15341 ac_cv_lib_dl_dlopen
=yes
15343 ac_cv_lib_dl_dlopen
=no
15345 rm -f core conftest.err conftest.
$ac_objext \
15346 conftest
$ac_exeext conftest.
$ac_ext
15347 LIBS
=$ac_check_lib_save_LIBS
15349 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
15350 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
15351 if test "x$ac_cv_lib_dl_dlopen" = xyes
; then :
15352 $as_echo "#define HAVE_DLOPEN 1" >>confdefs.h
15358 ac_wine_check_funcs_save_LIBS
="$LIBS"
15359 LIBS
="$LIBS $DL_LIBS"
15360 for ac_func
in dladdr
15362 ac_fn_c_check_func
"$LINENO" "dladdr" "ac_cv_func_dladdr"
15363 if test "x$ac_cv_func_dladdr" = xyes
; then :
15364 cat >>confdefs.h
<<_ACEOF
15365 #define HAVE_DLADDR 1
15371 LIBS
="$ac_wine_check_funcs_save_LIBS"
15373 if test "$ac_cv_func_poll" = no
15375 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for poll in -lpoll" >&5
15376 $as_echo_n "checking for poll in -lpoll... " >&6; }
15377 if ${ac_cv_lib_poll_poll+:} false
; then :
15378 $as_echo_n "(cached) " >&6
15380 ac_check_lib_save_LIBS
=$LIBS
15381 LIBS
="-lpoll $LIBS"
15382 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15383 /* end confdefs.h. */
15385 /* Override any GCC internal prototype to avoid an error.
15386 Use char because int might match the return type of a GCC
15387 builtin and then its argument prototype would still apply. */
15400 if ac_fn_c_try_link
"$LINENO"; then :
15401 ac_cv_lib_poll_poll
=yes
15403 ac_cv_lib_poll_poll
=no
15405 rm -f core conftest.err conftest.
$ac_objext \
15406 conftest
$ac_exeext conftest.
$ac_ext
15407 LIBS
=$ac_check_lib_save_LIBS
15409 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_poll_poll" >&5
15410 $as_echo "$ac_cv_lib_poll_poll" >&6; }
15411 if test "x$ac_cv_lib_poll_poll" = xyes
; then :
15412 $as_echo "#define HAVE_POLL 1" >>confdefs.h
15419 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing gethostbyname" >&5
15420 $as_echo_n "checking for library containing gethostbyname... " >&6; }
15421 if ${ac_cv_search_gethostbyname+:} false
; then :
15422 $as_echo_n "(cached) " >&6
15424 ac_func_search_save_LIBS
=$LIBS
15425 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15426 /* end confdefs.h. */
15428 /* Override any GCC internal prototype to avoid an error.
15429 Use char because int might match the return type of a GCC
15430 builtin and then its argument prototype would still apply. */
15434 char gethostbyname ();
15438 return gethostbyname ();
15443 for ac_lib
in '' nsl
; do
15444 if test -z "$ac_lib"; then
15445 ac_res
="none required"
15448 LIBS
="-l$ac_lib $ac_func_search_save_LIBS"
15450 if ac_fn_c_try_link
"$LINENO"; then :
15451 ac_cv_search_gethostbyname
=$ac_res
15453 rm -f core conftest.err conftest.
$ac_objext \
15455 if ${ac_cv_search_gethostbyname+:} false
; then :
15459 if ${ac_cv_search_gethostbyname+:} false
; then :
15462 ac_cv_search_gethostbyname
=no
15464 rm conftest.
$ac_ext
15465 LIBS
=$ac_func_search_save_LIBS
15467 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_gethostbyname" >&5
15468 $as_echo "$ac_cv_search_gethostbyname" >&6; }
15469 ac_res
=$ac_cv_search_gethostbyname
15470 if test "$ac_res" != no
; then :
15471 test "$ac_res" = "none required" || LIBS
="$ac_res $LIBS"
15476 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing connect" >&5
15477 $as_echo_n "checking for library containing connect... " >&6; }
15478 if ${ac_cv_search_connect+:} false
; then :
15479 $as_echo_n "(cached) " >&6
15481 ac_func_search_save_LIBS
=$LIBS
15482 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15483 /* end confdefs.h. */
15485 /* Override any GCC internal prototype to avoid an error.
15486 Use char because int might match the return type of a GCC
15487 builtin and then its argument prototype would still apply. */
15500 for ac_lib
in '' socket
; do
15501 if test -z "$ac_lib"; then
15502 ac_res
="none required"
15505 LIBS
="-l$ac_lib $ac_func_search_save_LIBS"
15507 if ac_fn_c_try_link
"$LINENO"; then :
15508 ac_cv_search_connect
=$ac_res
15510 rm -f core conftest.err conftest.
$ac_objext \
15512 if ${ac_cv_search_connect+:} false
; then :
15516 if ${ac_cv_search_connect+:} false
; then :
15519 ac_cv_search_connect
=no
15521 rm conftest.
$ac_ext
15522 LIBS
=$ac_func_search_save_LIBS
15524 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_connect" >&5
15525 $as_echo "$ac_cv_search_connect" >&6; }
15526 ac_res
=$ac_cv_search_connect
15527 if test "$ac_res" != no
; then :
15528 test "$ac_res" = "none required" || LIBS
="$ac_res $LIBS"
15533 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing inet_aton" >&5
15534 $as_echo_n "checking for library containing inet_aton... " >&6; }
15535 if ${ac_cv_search_inet_aton+:} false
; then :
15536 $as_echo_n "(cached) " >&6
15538 ac_func_search_save_LIBS
=$LIBS
15539 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15540 /* end confdefs.h. */
15542 /* Override any GCC internal prototype to avoid an error.
15543 Use char because int might match the return type of a GCC
15544 builtin and then its argument prototype would still apply. */
15552 return inet_aton ();
15557 for ac_lib
in '' resolv
; do
15558 if test -z "$ac_lib"; then
15559 ac_res
="none required"
15562 LIBS
="-l$ac_lib $ac_func_search_save_LIBS"
15564 if ac_fn_c_try_link
"$LINENO"; then :
15565 ac_cv_search_inet_aton
=$ac_res
15567 rm -f core conftest.err conftest.
$ac_objext \
15569 if ${ac_cv_search_inet_aton+:} false
; then :
15573 if ${ac_cv_search_inet_aton+:} false
; then :
15576 ac_cv_search_inet_aton
=no
15578 rm conftest.
$ac_ext
15579 LIBS
=$ac_func_search_save_LIBS
15581 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_inet_aton" >&5
15582 $as_echo "$ac_cv_search_inet_aton" >&6; }
15583 ac_res
=$ac_cv_search_inet_aton
15584 if test "$ac_res" != no
; then :
15585 test "$ac_res" = "none required" || LIBS
="$ac_res $LIBS"
15605 as_ac_var
=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
15606 ac_fn_c_check_func
"$LINENO" "$ac_func" "$as_ac_var"
15607 if eval test \"x\$
"$as_ac_var"\" = x
"yes"; then :
15608 cat >>confdefs.h
<<_ACEOF
15609 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
15617 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing clock_gettime" >&5
15618 $as_echo_n "checking for library containing clock_gettime... " >&6; }
15619 if ${ac_cv_search_clock_gettime+:} false
; then :
15620 $as_echo_n "(cached) " >&6
15622 ac_func_search_save_LIBS
=$LIBS
15623 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15624 /* end confdefs.h. */
15626 /* Override any GCC internal prototype to avoid an error.
15627 Use char because int might match the return type of a GCC
15628 builtin and then its argument prototype would still apply. */
15632 char clock_gettime ();
15636 return clock_gettime ();
15641 for ac_lib
in '' rt
; do
15642 if test -z "$ac_lib"; then
15643 ac_res
="none required"
15646 LIBS
="-l$ac_lib $ac_func_search_save_LIBS"
15648 if ac_fn_c_try_link
"$LINENO"; then :
15649 ac_cv_search_clock_gettime
=$ac_res
15651 rm -f core conftest.err conftest.
$ac_objext \
15653 if ${ac_cv_search_clock_gettime+:} false
; then :
15657 if ${ac_cv_search_clock_gettime+:} false
; then :
15660 ac_cv_search_clock_gettime
=no
15662 rm conftest.
$ac_ext
15663 LIBS
=$ac_func_search_save_LIBS
15665 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_clock_gettime" >&5
15666 $as_echo "$ac_cv_search_clock_gettime" >&6; }
15667 ac_res
=$ac_cv_search_clock_gettime
15668 if test "$ac_res" != no
; then :
15669 test "$ac_res" = "none required" || LIBS
="$ac_res $LIBS"
15671 $as_echo "#define HAVE_CLOCK_GETTIME 1" >>confdefs.h
15673 test "$ac_res" = "none required" || RT_LIBS
="$ac_res"
15681 if test "$ac_cv_header_ldap_h" = "yes" -a "$ac_cv_header_lber_h" = "yes"
15683 ac_fn_c_check_type
"$LINENO" "LDAPSortKey" "ac_cv_type_LDAPSortKey" "#include <ldap.h>
15685 if test "x$ac_cv_type_LDAPSortKey" = xyes
; then :
15686 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldap_initialize in -lldap_r" >&5
15687 $as_echo_n "checking for ldap_initialize in -lldap_r... " >&6; }
15688 if ${ac_cv_lib_ldap_r_ldap_initialize+:} false
; then :
15689 $as_echo_n "(cached) " >&6
15691 ac_check_lib_save_LIBS
=$LIBS
15692 LIBS
="-lldap_r $PTHREAD_LIBS $LIBS"
15693 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15694 /* end confdefs.h. */
15696 /* Override any GCC internal prototype to avoid an error.
15697 Use char because int might match the return type of a GCC
15698 builtin and then its argument prototype would still apply. */
15702 char ldap_initialize ();
15706 return ldap_initialize ();
15711 if ac_fn_c_try_link
"$LINENO"; then :
15712 ac_cv_lib_ldap_r_ldap_initialize
=yes
15714 ac_cv_lib_ldap_r_ldap_initialize
=no
15716 rm -f core conftest.err conftest.
$ac_objext \
15717 conftest
$ac_exeext conftest.
$ac_ext
15718 LIBS
=$ac_check_lib_save_LIBS
15720 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ldap_r_ldap_initialize" >&5
15721 $as_echo "$ac_cv_lib_ldap_r_ldap_initialize" >&6; }
15722 if test "x$ac_cv_lib_ldap_r_ldap_initialize" = xyes
; then :
15723 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ber_init in -llber" >&5
15724 $as_echo_n "checking for ber_init in -llber... " >&6; }
15725 if ${ac_cv_lib_lber_ber_init+:} false
; then :
15726 $as_echo_n "(cached) " >&6
15728 ac_check_lib_save_LIBS
=$LIBS
15729 LIBS
="-llber $PTHREAD_LIBS $LIBS"
15730 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15731 /* end confdefs.h. */
15733 /* Override any GCC internal prototype to avoid an error.
15734 Use char because int might match the return type of a GCC
15735 builtin and then its argument prototype would still apply. */
15743 return ber_init ();
15748 if ac_fn_c_try_link
"$LINENO"; then :
15749 ac_cv_lib_lber_ber_init
=yes
15751 ac_cv_lib_lber_ber_init
=no
15753 rm -f core conftest.err conftest.
$ac_objext \
15754 conftest
$ac_exeext conftest.
$ac_ext
15755 LIBS
=$ac_check_lib_save_LIBS
15757 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_lber_ber_init" >&5
15758 $as_echo "$ac_cv_lib_lber_ber_init" >&6; }
15759 if test "x$ac_cv_lib_lber_ber_init" = xyes
; then :
15761 $as_echo "#define HAVE_LDAP 1" >>confdefs.h
15763 LDAP_LIBS
="-lldap_r -llber"
15770 ac_wine_check_funcs_save_LIBS
="$LIBS"
15771 LIBS
="$LIBS $LDAP_LIBS $PTHREAD_LIBS"
15773 ldap_count_references \
15774 ldap_first_reference \
15775 ldap_next_reference \
15776 ldap_parse_reference \
15777 ldap_parse_sort_control \
15778 ldap_parse_sortresponse_control \
15779 ldap_parse_vlv_control \
15780 ldap_parse_vlvresponse_control
15782 as_ac_var
=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
15783 ac_fn_c_check_func
"$LINENO" "$ac_func" "$as_ac_var"
15784 if eval test \"x\$
"$as_ac_var"\" = x
"yes"; then :
15785 cat >>confdefs.h
<<_ACEOF
15786 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
15792 LIBS
="$ac_wine_check_funcs_save_LIBS"
15794 if test "x$LDAP_LIBS" = "x"; then :
15795 case "x$with_ldap" in
15796 x
) as_fn_append wine_notices
"|libldap (OpenLDAP) ${notice_platform}development files not found, LDAP won't be supported." ;;
15798 *) as_fn_error $?
"libldap (OpenLDAP) ${notice_platform}development files not found, LDAP won't be supported.
15799 This is an error since --with-ldap was requested." "$LINENO" 5 ;;
15804 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether mkdir takes only one argument" >&5
15805 $as_echo_n "checking whether mkdir takes only one argument... " >&6; }
15806 if ${wine_cv_one_arg_mkdir+:} false
; then :
15807 $as_echo_n "(cached) " >&6
15809 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15810 /* end confdefs.h. */
15811 #include <sys/stat.h>
15820 if ac_fn_c_try_compile
"$LINENO"; then :
15821 wine_cv_one_arg_mkdir
=yes
15823 wine_cv_one_arg_mkdir
=no
15825 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
15827 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_one_arg_mkdir" >&5
15828 $as_echo "$wine_cv_one_arg_mkdir" >&6; }
15829 if test "$wine_cv_one_arg_mkdir" = "yes"
15832 $as_echo "#define HAVE_ONE_ARG_MKDIR 1" >>confdefs.h
15836 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sched_setaffinity" >&5
15837 $as_echo_n "checking for sched_setaffinity... " >&6; }
15838 if ${wine_cv_have_sched_setaffinity+:} false
; then :
15839 $as_echo_n "(cached) " >&6
15841 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15842 /* end confdefs.h. */
15843 #define _GNU_SOURCE
15848 sched_setaffinity(0, 0, 0);
15853 if ac_fn_c_try_link
"$LINENO"; then :
15854 wine_cv_have_sched_setaffinity
=yes
15856 wine_cv_have_sched_setaffinity
=no
15858 rm -f core conftest.err conftest.
$ac_objext \
15859 conftest
$ac_exeext conftest.
$ac_ext
15861 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_have_sched_setaffinity" >&5
15862 $as_echo "$wine_cv_have_sched_setaffinity" >&6; }
15863 if test "$wine_cv_have_sched_setaffinity" = "yes"
15866 $as_echo "#define HAVE_SCHED_SETAFFINITY 1" >>confdefs.h
15870 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fallocate" >&5
15871 $as_echo_n "checking for fallocate... " >&6; }
15872 if ${wine_cv_have_fallocate+:} false
; then :
15873 $as_echo_n "(cached) " >&6
15875 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15876 /* end confdefs.h. */
15877 #define _GNU_SOURCE
15882 fallocate(-1, 0, 0, 0);
15887 if ac_fn_c_try_link
"$LINENO"; then :
15888 wine_cv_have_fallocate
=yes
15890 wine_cv_have_fallocate
=no
15892 rm -f core conftest.err conftest.
$ac_objext \
15893 conftest
$ac_exeext conftest.
$ac_ext
15895 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_have_fallocate" >&5
15896 $as_echo "$wine_cv_have_fallocate" >&6; }
15897 if test "$wine_cv_have_fallocate" = "yes"
15900 $as_echo "#define HAVE_FALLOCATE 1" >>confdefs.h
15905 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for inline" >&5
15906 $as_echo_n "checking for inline... " >&6; }
15907 if ${ac_cv_c_inline+:} false
; then :
15908 $as_echo_n "(cached) " >&6
15911 for ac_kw
in inline __inline__ __inline
; do
15912 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15913 /* end confdefs.h. */
15914 #ifndef __cplusplus
15916 static $ac_kw foo_t static_foo () {return 0; }
15917 $ac_kw foo_t foo () {return 0; }
15921 if ac_fn_c_try_compile
"$LINENO"; then :
15922 ac_cv_c_inline
=$ac_kw
15924 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
15925 test "$ac_cv_c_inline" != no
&& break
15929 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_inline" >&5
15930 $as_echo "$ac_cv_c_inline" >&6; }
15932 case $ac_cv_c_inline in
15935 case $ac_cv_c_inline in
15937 *) ac_val
=$ac_cv_c_inline;;
15939 cat >>confdefs.h
<<_ACEOF
15940 #ifndef __cplusplus
15941 #define inline $ac_val
15947 ac_fn_c_check_type
"$LINENO" "mode_t" "ac_cv_type_mode_t" "$ac_includes_default"
15948 if test "x$ac_cv_type_mode_t" = xyes
; then :
15950 cat >>confdefs.h
<<_ACEOF
15951 #define HAVE_MODE_T 1
15956 ac_fn_c_check_type
"$LINENO" "off_t" "ac_cv_type_off_t" "$ac_includes_default"
15957 if test "x$ac_cv_type_off_t" = xyes
; then :
15959 cat >>confdefs.h
<<_ACEOF
15960 #define HAVE_OFF_T 1
15965 ac_fn_c_check_type
"$LINENO" "pid_t" "ac_cv_type_pid_t" "$ac_includes_default"
15966 if test "x$ac_cv_type_pid_t" = xyes
; then :
15968 cat >>confdefs.h
<<_ACEOF
15969 #define HAVE_PID_T 1
15974 ac_fn_c_check_type
"$LINENO" "size_t" "ac_cv_type_size_t" "$ac_includes_default"
15975 if test "x$ac_cv_type_size_t" = xyes
; then :
15977 cat >>confdefs.h
<<_ACEOF
15978 #define HAVE_SIZE_T 1
15983 ac_fn_c_check_type
"$LINENO" "ssize_t" "ac_cv_type_ssize_t" "$ac_includes_default"
15984 if test "x$ac_cv_type_ssize_t" = xyes
; then :
15986 cat >>confdefs.h
<<_ACEOF
15987 #define HAVE_SSIZE_T 1
15992 ac_fn_c_check_type
"$LINENO" "long long" "ac_cv_type_long_long" "$ac_includes_default"
15993 if test "x$ac_cv_type_long_long" = xyes
; then :
15995 cat >>confdefs.h
<<_ACEOF
15996 #define HAVE_LONG_LONG 1
16001 ac_fn_c_check_type
"$LINENO" "fsblkcnt_t" "ac_cv_type_fsblkcnt_t" "$ac_includes_default"
16002 if test "x$ac_cv_type_fsblkcnt_t" = xyes
; then :
16004 cat >>confdefs.h
<<_ACEOF
16005 #define HAVE_FSBLKCNT_T 1
16010 ac_fn_c_check_type
"$LINENO" "fsfilcnt_t" "ac_cv_type_fsfilcnt_t" "$ac_includes_default"
16011 if test "x$ac_cv_type_fsfilcnt_t" = xyes
; then :
16013 cat >>confdefs.h
<<_ACEOF
16014 #define HAVE_FSFILCNT_T 1
16020 ac_fn_c_check_type
"$LINENO" "sigset_t" "ac_cv_type_sigset_t" "#include <sys/types.h>
16021 #include <signal.h>
16023 if test "x$ac_cv_type_sigset_t" = xyes
; then :
16025 cat >>confdefs.h
<<_ACEOF
16026 #define HAVE_SIGSET_T 1
16032 ac_fn_c_check_type
"$LINENO" "request_sense" "ac_cv_type_request_sense" "#include <linux/cdrom.h>
16034 if test "x$ac_cv_type_request_sense" = xyes
; then :
16036 cat >>confdefs.h
<<_ACEOF
16037 #define HAVE_REQUEST_SENSE 1
16044 ac_fn_c_check_type
"$LINENO" "struct xinpgen" "ac_cv_type_struct_xinpgen" "#include <sys/types.h>
16045 #ifdef HAVE_SYS_SOCKET_H
16046 #include <sys/socket.h>
16048 #ifdef HAVE_SYS_SOCKETVAR_H
16049 #include <sys/socketvar.h>
16051 #ifdef HAVE_NET_ROUTE_H
16052 #include <net/route.h>
16054 #ifdef HAVE_NETINET_IN_H
16055 #include <netinet/in.h>
16057 #ifdef HAVE_NETINET_IN_SYSTM_H
16058 #include <netinet/in_systm.h>
16060 #ifdef HAVE_NETINET_IP_H
16061 #include <netinet/ip.h>
16063 #ifdef HAVE_NETINET_IN_PCB_H
16064 #include <netinet/in_pcb.h>
16067 if test "x$ac_cv_type_struct_xinpgen" = xyes
; then :
16069 cat >>confdefs.h
<<_ACEOF
16070 #define HAVE_STRUCT_XINPGEN 1
16077 ac_fn_c_check_type
"$LINENO" "struct r_debug" "ac_cv_type_struct_r_debug" "#ifdef HAVE_LINK_H
16080 #ifdef HAVE_SYS_LINK_H
16081 #include <sys/link.h>
16084 if test "x$ac_cv_type_struct_r_debug" = xyes
; then :
16086 cat >>confdefs.h
<<_ACEOF
16087 #define HAVE_STRUCT_R_DEBUG 1
16092 ac_fn_c_check_type
"$LINENO" "struct link_map" "ac_cv_type_struct_link_map" "#ifdef HAVE_LINK_H
16095 #ifdef HAVE_SYS_LINK_H
16096 #include <sys/link.h>
16099 if test "x$ac_cv_type_struct_link_map" = xyes
; then :
16101 cat >>confdefs.h
<<_ACEOF
16102 #define HAVE_STRUCT_LINK_MAP 1
16109 ac_fn_c_check_member
"$LINENO" "struct ff_effect" "direction" "ac_cv_member_struct_ff_effect_direction" "#ifdef HAVE_LINUX_INPUT_H
16110 #include <linux/input.h>
16113 if test "x$ac_cv_member_struct_ff_effect_direction" = xyes
; then :
16115 cat >>confdefs.h
<<_ACEOF
16116 #define HAVE_STRUCT_FF_EFFECT_DIRECTION 1
16123 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sigaddset" >&5
16124 $as_echo_n "checking for sigaddset... " >&6; }
16125 if ${wine_cv_have_sigaddset+:} false
; then :
16126 $as_echo_n "(cached) " >&6
16128 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
16129 /* end confdefs.h. */
16130 #include <signal.h>
16134 sigset_t set; sigaddset(&set,SIGTERM);
16139 if ac_fn_c_try_link
"$LINENO"; then :
16140 wine_cv_have_sigaddset
=yes
16142 wine_cv_have_sigaddset
=no
16144 rm -f core conftest.err conftest.
$ac_objext \
16145 conftest
$ac_exeext conftest.
$ac_ext
16147 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_have_sigaddset" >&5
16148 $as_echo "$wine_cv_have_sigaddset" >&6; }
16149 if test "$wine_cv_have_sigaddset" = "yes"
16152 $as_echo "#define HAVE_SIGADDSET 1" >>confdefs.h
16157 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we can use re-entrant gethostbyname_r Linux style" >&5
16158 $as_echo_n "checking whether we can use re-entrant gethostbyname_r Linux style... " >&6; }
16159 if ${wine_cv_linux_gethostbyname_r_6+:} false
; then :
16160 $as_echo_n "(cached) " >&6
16162 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
16163 /* end confdefs.h. */
16171 struct hostent *result;
16178 gethostbyname_r(name,&he,buf,bufsize,&result,&errnr);
16179 gethostbyaddr_r(addr, addrlen, addrtype,&he,buf,bufsize,&result,&errnr);
16185 if ac_fn_c_try_link
"$LINENO"; then :
16186 wine_cv_linux_gethostbyname_r_6
=yes
16188 wine_cv_linux_gethostbyname_r_6
=no
16191 rm -f core conftest.err conftest.
$ac_objext \
16192 conftest
$ac_exeext conftest.
$ac_ext
16195 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_linux_gethostbyname_r_6" >&5
16196 $as_echo "$wine_cv_linux_gethostbyname_r_6" >&6; }
16197 if test "$wine_cv_linux_gethostbyname_r_6" = "yes"
16200 $as_echo "#define HAVE_LINUX_GETHOSTBYNAME_R_6 1" >>confdefs.h
16204 if test "$ac_cv_header_linux_joystick_h" = "yes"
16206 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether linux/joystick.h uses the Linux 2.2+ API" >&5
16207 $as_echo_n "checking whether linux/joystick.h uses the Linux 2.2+ API... " >&6; }
16208 if ${wine_cv_linux_joystick_22_api+:} false
; then :
16209 $as_echo_n "(cached) " >&6
16211 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
16212 /* end confdefs.h. */
16214 #include <sys/ioctl.h>
16215 #include <sys/types.h>
16216 #include <linux/joystick.h>
16218 struct js_event blub;
16219 #if !defined(JS_EVENT_AXIS) || !defined(JS_EVENT_BUTTON)
16220 #error "no 2.2 header"
16231 if ac_fn_c_try_compile
"$LINENO"; then :
16232 wine_cv_linux_joystick_22_api
=yes
16234 wine_cv_linux_joystick_22_api
=no
16236 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
16239 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_linux_joystick_22_api" >&5
16240 $as_echo "$wine_cv_linux_joystick_22_api" >&6; }
16241 if test "$wine_cv_linux_joystick_22_api" = "yes"
16244 $as_echo "#define HAVE_LINUX_22_JOYSTICK_API 1" >>confdefs.h
16250 ac_fn_c_check_member
"$LINENO" "struct statfs" "f_bfree" "ac_cv_member_struct_statfs_f_bfree" "#include <sys/types.h>
16251 #ifdef HAVE_SYS_PARAM_H
16252 # include <sys/param.h>
16254 #ifdef HAVE_SYS_MOUNT_H
16255 # include <sys/mount.h>
16257 #ifdef HAVE_SYS_VFS_H
16258 # include <sys/vfs.h>
16260 #ifdef HAVE_SYS_STATFS_H
16261 # include <sys/statfs.h>
16264 if test "x$ac_cv_member_struct_statfs_f_bfree" = xyes
; then :
16266 cat >>confdefs.h
<<_ACEOF
16267 #define HAVE_STRUCT_STATFS_F_BFREE 1
16272 ac_fn_c_check_member
"$LINENO" "struct statfs" "f_bavail" "ac_cv_member_struct_statfs_f_bavail" "#include <sys/types.h>
16273 #ifdef HAVE_SYS_PARAM_H
16274 # include <sys/param.h>
16276 #ifdef HAVE_SYS_MOUNT_H
16277 # include <sys/mount.h>
16279 #ifdef HAVE_SYS_VFS_H
16280 # include <sys/vfs.h>
16282 #ifdef HAVE_SYS_STATFS_H
16283 # include <sys/statfs.h>
16286 if test "x$ac_cv_member_struct_statfs_f_bavail" = xyes
; then :
16288 cat >>confdefs.h
<<_ACEOF
16289 #define HAVE_STRUCT_STATFS_F_BAVAIL 1
16294 ac_fn_c_check_member
"$LINENO" "struct statfs" "f_frsize" "ac_cv_member_struct_statfs_f_frsize" "#include <sys/types.h>
16295 #ifdef HAVE_SYS_PARAM_H
16296 # include <sys/param.h>
16298 #ifdef HAVE_SYS_MOUNT_H
16299 # include <sys/mount.h>
16301 #ifdef HAVE_SYS_VFS_H
16302 # include <sys/vfs.h>
16304 #ifdef HAVE_SYS_STATFS_H
16305 # include <sys/statfs.h>
16308 if test "x$ac_cv_member_struct_statfs_f_frsize" = xyes
; then :
16310 cat >>confdefs.h
<<_ACEOF
16311 #define HAVE_STRUCT_STATFS_F_FRSIZE 1
16316 ac_fn_c_check_member
"$LINENO" "struct statfs" "f_ffree" "ac_cv_member_struct_statfs_f_ffree" "#include <sys/types.h>
16317 #ifdef HAVE_SYS_PARAM_H
16318 # include <sys/param.h>
16320 #ifdef HAVE_SYS_MOUNT_H
16321 # include <sys/mount.h>
16323 #ifdef HAVE_SYS_VFS_H
16324 # include <sys/vfs.h>
16326 #ifdef HAVE_SYS_STATFS_H
16327 # include <sys/statfs.h>
16330 if test "x$ac_cv_member_struct_statfs_f_ffree" = xyes
; then :
16332 cat >>confdefs.h
<<_ACEOF
16333 #define HAVE_STRUCT_STATFS_F_FFREE 1
16338 ac_fn_c_check_member
"$LINENO" "struct statfs" "f_favail" "ac_cv_member_struct_statfs_f_favail" "#include <sys/types.h>
16339 #ifdef HAVE_SYS_PARAM_H
16340 # include <sys/param.h>
16342 #ifdef HAVE_SYS_MOUNT_H
16343 # include <sys/mount.h>
16345 #ifdef HAVE_SYS_VFS_H
16346 # include <sys/vfs.h>
16348 #ifdef HAVE_SYS_STATFS_H
16349 # include <sys/statfs.h>
16352 if test "x$ac_cv_member_struct_statfs_f_favail" = xyes
; then :
16354 cat >>confdefs.h
<<_ACEOF
16355 #define HAVE_STRUCT_STATFS_F_FAVAIL 1
16360 ac_fn_c_check_member
"$LINENO" "struct statfs" "f_namelen" "ac_cv_member_struct_statfs_f_namelen" "#include <sys/types.h>
16361 #ifdef HAVE_SYS_PARAM_H
16362 # include <sys/param.h>
16364 #ifdef HAVE_SYS_MOUNT_H
16365 # include <sys/mount.h>
16367 #ifdef HAVE_SYS_VFS_H
16368 # include <sys/vfs.h>
16370 #ifdef HAVE_SYS_STATFS_H
16371 # include <sys/statfs.h>
16374 if test "x$ac_cv_member_struct_statfs_f_namelen" = xyes
; then :
16376 cat >>confdefs.h
<<_ACEOF
16377 #define HAVE_STRUCT_STATFS_F_NAMELEN 1
16384 ac_fn_c_check_member
"$LINENO" "struct statvfs" "f_blocks" "ac_cv_member_struct_statvfs_f_blocks" "#ifdef HAVE_SYS_STATVFS_H
16385 #include <sys/statvfs.h>
16388 if test "x$ac_cv_member_struct_statvfs_f_blocks" = xyes
; then :
16390 cat >>confdefs.h
<<_ACEOF
16391 #define HAVE_STRUCT_STATVFS_F_BLOCKS 1
16398 ac_fn_c_check_member
"$LINENO" "struct dirent" "d_reclen" "ac_cv_member_struct_dirent_d_reclen" "#ifdef HAVE_DIRENT_H
16399 #include <dirent.h>
16402 if test "x$ac_cv_member_struct_dirent_d_reclen" = xyes
; then :
16404 cat >>confdefs.h
<<_ACEOF
16405 #define HAVE_STRUCT_DIRENT_D_RECLEN 1
16412 ac_fn_c_check_member
"$LINENO" "struct msghdr" "msg_accrights" "ac_cv_member_struct_msghdr_msg_accrights" "#include <sys/types.h>
16413 #ifdef HAVE_SYS_SOCKET_H
16414 # include <sys/socket.h>
16416 #ifdef HAVE_SYS_UN_H
16417 # include <sys/un.h>
16420 if test "x$ac_cv_member_struct_msghdr_msg_accrights" = xyes
; then :
16422 cat >>confdefs.h
<<_ACEOF
16423 #define HAVE_STRUCT_MSGHDR_MSG_ACCRIGHTS 1
16428 ac_fn_c_check_member
"$LINENO" "struct sockaddr" "sa_len" "ac_cv_member_struct_sockaddr_sa_len" "#include <sys/types.h>
16429 #ifdef HAVE_SYS_SOCKET_H
16430 # include <sys/socket.h>
16432 #ifdef HAVE_SYS_UN_H
16433 # include <sys/un.h>
16436 if test "x$ac_cv_member_struct_sockaddr_sa_len" = xyes
; then :
16438 cat >>confdefs.h
<<_ACEOF
16439 #define HAVE_STRUCT_SOCKADDR_SA_LEN 1
16444 ac_fn_c_check_member
"$LINENO" "struct sockaddr_un" "sun_len" "ac_cv_member_struct_sockaddr_un_sun_len" "#include <sys/types.h>
16445 #ifdef HAVE_SYS_SOCKET_H
16446 # include <sys/socket.h>
16448 #ifdef HAVE_SYS_UN_H
16449 # include <sys/un.h>
16452 if test "x$ac_cv_member_struct_sockaddr_un_sun_len" = xyes
; then :
16454 cat >>confdefs.h
<<_ACEOF
16455 #define HAVE_STRUCT_SOCKADDR_UN_SUN_LEN 1
16462 ac_fn_c_check_member
"$LINENO" "scsireq_t" "cmd" "ac_cv_member_scsireq_t_cmd" "#include <sys/types.h>
16463 #ifdef HAVE_SCSI_SG_H
16464 #include <scsi/sg.h>
16467 if test "x$ac_cv_member_scsireq_t_cmd" = xyes
; then :
16469 cat >>confdefs.h
<<_ACEOF
16470 #define HAVE_SCSIREQ_T_CMD 1
16475 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>
16476 #ifdef HAVE_SCSI_SG_H
16477 #include <scsi/sg.h>
16480 if test "x$ac_cv_member_sg_io_hdr_t_interface_id" = xyes
; then :
16482 cat >>confdefs.h
<<_ACEOF
16483 #define HAVE_SG_IO_HDR_T_INTERFACE_ID 1
16490 ac_fn_c_check_member
"$LINENO" "siginfo_t" "si_fd" "ac_cv_member_siginfo_t_si_fd" "#include <signal.h>
16492 if test "x$ac_cv_member_siginfo_t_si_fd" = xyes
; then :
16494 cat >>confdefs.h
<<_ACEOF
16495 #define HAVE_SIGINFO_T_SI_FD 1
16502 ac_fn_c_check_member
"$LINENO" "struct mtget" "mt_blksiz" "ac_cv_member_struct_mtget_mt_blksiz" "#include <sys/types.h>
16503 #ifdef HAVE_SYS_MTIO_H
16504 #include <sys/mtio.h>
16507 if test "x$ac_cv_member_struct_mtget_mt_blksiz" = xyes
; then :
16509 cat >>confdefs.h
<<_ACEOF
16510 #define HAVE_STRUCT_MTGET_MT_BLKSIZ 1
16515 ac_fn_c_check_member
"$LINENO" "struct mtget" "mt_gstat" "ac_cv_member_struct_mtget_mt_gstat" "#include <sys/types.h>
16516 #ifdef HAVE_SYS_MTIO_H
16517 #include <sys/mtio.h>
16520 if test "x$ac_cv_member_struct_mtget_mt_gstat" = xyes
; then :
16522 cat >>confdefs.h
<<_ACEOF
16523 #define HAVE_STRUCT_MTGET_MT_GSTAT 1
16528 ac_fn_c_check_member
"$LINENO" "struct mtget" "mt_blkno" "ac_cv_member_struct_mtget_mt_blkno" "#include <sys/types.h>
16529 #ifdef HAVE_SYS_MTIO_H
16530 #include <sys/mtio.h>
16533 if test "x$ac_cv_member_struct_mtget_mt_blkno" = xyes
; then :
16535 cat >>confdefs.h
<<_ACEOF
16536 #define HAVE_STRUCT_MTGET_MT_BLKNO 1
16543 ac_fn_c_check_member
"$LINENO" "struct option" "name" "ac_cv_member_struct_option_name" "#ifdef HAVE_GETOPT_H
16544 #include <getopt.h>
16547 if test "x$ac_cv_member_struct_option_name" = xyes
; then :
16549 cat >>confdefs.h
<<_ACEOF
16550 #define HAVE_STRUCT_OPTION_NAME 1
16557 ac_fn_c_check_member
"$LINENO" "struct stat" "st_blocks" "ac_cv_member_struct_stat_st_blocks" "$ac_includes_default"
16558 if test "x$ac_cv_member_struct_stat_st_blocks" = xyes
; then :
16560 cat >>confdefs.h
<<_ACEOF
16561 #define HAVE_STRUCT_STAT_ST_BLOCKS 1
16566 ac_fn_c_check_member
"$LINENO" "struct stat" "st_mtim" "ac_cv_member_struct_stat_st_mtim" "$ac_includes_default"
16567 if test "x$ac_cv_member_struct_stat_st_mtim" = xyes
; then :
16569 cat >>confdefs.h
<<_ACEOF
16570 #define HAVE_STRUCT_STAT_ST_MTIM 1
16575 ac_fn_c_check_member
"$LINENO" "struct stat" "st_mtimespec" "ac_cv_member_struct_stat_st_mtimespec" "$ac_includes_default"
16576 if test "x$ac_cv_member_struct_stat_st_mtimespec" = xyes
; then :
16578 cat >>confdefs.h
<<_ACEOF
16579 #define HAVE_STRUCT_STAT_ST_MTIMESPEC 1
16584 ac_fn_c_check_member
"$LINENO" "struct stat" "st_ctim" "ac_cv_member_struct_stat_st_ctim" "$ac_includes_default"
16585 if test "x$ac_cv_member_struct_stat_st_ctim" = xyes
; then :
16587 cat >>confdefs.h
<<_ACEOF
16588 #define HAVE_STRUCT_STAT_ST_CTIM 1
16593 ac_fn_c_check_member
"$LINENO" "struct stat" "st_ctimespec" "ac_cv_member_struct_stat_st_ctimespec" "$ac_includes_default"
16594 if test "x$ac_cv_member_struct_stat_st_ctimespec" = xyes
; then :
16596 cat >>confdefs.h
<<_ACEOF
16597 #define HAVE_STRUCT_STAT_ST_CTIMESPEC 1
16602 ac_fn_c_check_member
"$LINENO" "struct stat" "st_atim" "ac_cv_member_struct_stat_st_atim" "$ac_includes_default"
16603 if test "x$ac_cv_member_struct_stat_st_atim" = xyes
; then :
16605 cat >>confdefs.h
<<_ACEOF
16606 #define HAVE_STRUCT_STAT_ST_ATIM 1
16611 ac_fn_c_check_member
"$LINENO" "struct stat" "st_atimespec" "ac_cv_member_struct_stat_st_atimespec" "$ac_includes_default"
16612 if test "x$ac_cv_member_struct_stat_st_atimespec" = xyes
; then :
16614 cat >>confdefs.h
<<_ACEOF
16615 #define HAVE_STRUCT_STAT_ST_ATIMESPEC 1
16620 ac_fn_c_check_member
"$LINENO" "struct stat" "st_birthtime" "ac_cv_member_struct_stat_st_birthtime" "$ac_includes_default"
16621 if test "x$ac_cv_member_struct_stat_st_birthtime" = xyes
; then :
16623 cat >>confdefs.h
<<_ACEOF
16624 #define HAVE_STRUCT_STAT_ST_BIRTHTIME 1
16629 ac_fn_c_check_member
"$LINENO" "struct stat" "st_birthtim" "ac_cv_member_struct_stat_st_birthtim" "$ac_includes_default"
16630 if test "x$ac_cv_member_struct_stat_st_birthtim" = xyes
; then :
16632 cat >>confdefs.h
<<_ACEOF
16633 #define HAVE_STRUCT_STAT_ST_BIRTHTIM 1
16638 ac_fn_c_check_member
"$LINENO" "struct stat" "st_birthtimespec" "ac_cv_member_struct_stat_st_birthtimespec" "$ac_includes_default"
16639 if test "x$ac_cv_member_struct_stat_st_birthtimespec" = xyes
; then :
16641 cat >>confdefs.h
<<_ACEOF
16642 #define HAVE_STRUCT_STAT_ST_BIRTHTIMESPEC 1
16647 ac_fn_c_check_member
"$LINENO" "struct stat" "__st_birthtime" "ac_cv_member_struct_stat___st_birthtime" "$ac_includes_default"
16648 if test "x$ac_cv_member_struct_stat___st_birthtime" = xyes
; then :
16650 cat >>confdefs.h
<<_ACEOF
16651 #define HAVE_STRUCT_STAT___ST_BIRTHTIME 1
16656 ac_fn_c_check_member
"$LINENO" "struct stat" "__st_birthtim" "ac_cv_member_struct_stat___st_birthtim" "$ac_includes_default"
16657 if test "x$ac_cv_member_struct_stat___st_birthtim" = xyes
; then :
16659 cat >>confdefs.h
<<_ACEOF
16660 #define HAVE_STRUCT_STAT___ST_BIRTHTIM 1
16667 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
16668 #include <sys/types.h>
16670 #ifdef HAVE_NETINET_IN_H
16671 #include <netinet/in.h>
16674 if test "x$ac_cv_member_struct_sockaddr_in6_sin6_scope_id" = xyes
; then :
16676 cat >>confdefs.h
<<_ACEOF
16677 #define HAVE_STRUCT_SOCKADDR_IN6_SIN6_SCOPE_ID 1
16684 ac_fn_c_check_type
"$LINENO" "struct __res_state" "ac_cv_type_struct___res_state" "#ifdef HAVE_RESOLV_H
16685 #include <resolv.h>
16688 if test "x$ac_cv_type_struct___res_state" = xyes
; then :
16690 cat >>confdefs.h
<<_ACEOF
16691 #define HAVE_STRUCT___RES_STATE 1
16698 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
16699 #include <resolv.h>
16702 if test "x$ac_cv_member_struct___res_state__u__ext_nscount6" = xyes
; then :
16704 cat >>confdefs.h
<<_ACEOF
16705 #define HAVE_STRUCT___RES_STATE__U__EXT_NSCOUNT6 1
16712 ac_fn_c_check_member
"$LINENO" "ns_msg" "_msg_ptr" "ac_cv_member_ns_msg__msg_ptr" "#ifdef HAVE_SYS_TYPES_H
16713 #include <sys/types.h>
16715 #ifdef HAVE_NETINET_IN_H
16716 # include <netinet/in.h>
16718 #ifdef HAVE_ARPA_NAMESER_H
16719 # include <arpa/nameser.h>
16722 if test "x$ac_cv_member_ns_msg__msg_ptr" = xyes
; then :
16724 cat >>confdefs.h
<<_ACEOF
16725 #define HAVE_NS_MSG__MSG_PTR 1
16732 ac_fn_c_check_member
"$LINENO" "struct icmpstat" "icps_inhist" "ac_cv_member_struct_icmpstat_icps_inhist" "#ifdef HAVE_SYS_TYPES_H
16733 #include <sys/types.h>
16735 #ifdef HAVE_NETINET_IP_H
16736 #include <netinet/ip.h>
16738 #ifdef HAVE_NETINET_IP_ICMP_H
16739 #include <netinet/ip_icmp.h>
16741 #ifdef HAVE_NETINET_ICMP_VAR_H
16742 #include <netinet/icmp_var.h>
16745 if test "x$ac_cv_member_struct_icmpstat_icps_inhist" = xyes
; then :
16747 cat >>confdefs.h
<<_ACEOF
16748 #define HAVE_STRUCT_ICMPSTAT_ICPS_INHIST 1
16755 ac_fn_c_check_member
"$LINENO" "struct icmpstat" "icps_outhist" "ac_cv_member_struct_icmpstat_icps_outhist" "#ifdef HAVE_SYS_TYPES_H
16756 #include <sys/types.h>
16758 #ifdef HAVE_ALIAS_H
16761 #ifdef HAVE_SYS_SOCKET_H
16762 #include <sys/socket.h>
16764 #ifdef HAVE_SYS_SOCKETVAR_H
16765 #include <sys/socketvar.h>
16767 #ifdef HAVE_SYS_TIMEOUT_H
16768 #include <sys/timeout.h>
16770 #ifdef HAVE_NETINET_IN_H
16771 #include <netinet/in.h>
16773 #ifdef HAVE_NETINET_IN_SYSTM_H
16774 #include <netinet/in_systm.h>
16776 #ifdef HAVE_NETINET_IP_H
16777 #include <netinet/ip.h>
16779 #ifdef HAVE_NETINET_IP_VAR_H
16780 #include <netinet/ip_var.h>
16782 #ifdef HAVE_NETINET_IP_ICMP_H
16783 #include <netinet/ip_icmp.h>
16785 #ifdef HAVE_NETINET_ICMP_VAR_H
16786 #include <netinet/icmp_var.h>
16789 if test "x$ac_cv_member_struct_icmpstat_icps_outhist" = xyes
; then :
16791 cat >>confdefs.h
<<_ACEOF
16792 #define HAVE_STRUCT_ICMPSTAT_ICPS_OUTHIST 1
16799 ac_fn_c_check_member
"$LINENO" "struct ipstat" "ips_total" "ac_cv_member_struct_ipstat_ips_total" "#ifdef HAVE_SYS_TYPES_H
16800 #include <sys/types.h>
16802 #ifdef HAVE_SYS_SOCKETVAR_H
16803 #include <sys/socketvar.h>
16805 #ifdef HAVE_NETINET_IN_H
16806 #include <netinet/in.h>
16808 #ifdef HAVE_NETINET_IP_VAR_H
16809 #include <netinet/ip_var.h>
16812 if test "x$ac_cv_member_struct_ipstat_ips_total" = xyes
; then :
16814 cat >>confdefs.h
<<_ACEOF
16815 #define HAVE_STRUCT_IPSTAT_IPS_TOTAL 1
16822 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
16823 #include <netinet/ip_var.h>
16826 if test "x$ac_cv_member_struct_ip_stats_ips_total" = xyes
; then :
16828 cat >>confdefs.h
<<_ACEOF
16829 #define HAVE_STRUCT_IP_STATS_IPS_TOTAL 1
16836 ac_fn_c_check_member
"$LINENO" "struct tcpstat" "tcps_connattempt" "ac_cv_member_struct_tcpstat_tcps_connattempt" "#ifdef HAVE_SYS_TYPES_H
16837 #include <sys/types.h>
16839 #ifdef HAVE_SYS_SOCKETVAR_H
16840 #include <sys/socketvar.h>
16842 #ifdef HAVE_NETINET_IN_H
16843 #include <netinet/in.h>
16845 #ifdef HAVE_NETINET_TCP_H
16846 #include <netinet/tcp.h>
16848 #ifdef HAVE_NETINET_TCP_VAR_H
16849 #include <netinet/tcp_var.h>
16852 if test "x$ac_cv_member_struct_tcpstat_tcps_connattempt" = xyes
; then :
16854 cat >>confdefs.h
<<_ACEOF
16855 #define HAVE_STRUCT_TCPSTAT_TCPS_CONNATTEMPT 1
16862 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
16863 #include <netinet/tcp_var.h>
16866 if test "x$ac_cv_member_struct_tcp_stats_tcps_connattempt" = xyes
; then :
16868 cat >>confdefs.h
<<_ACEOF
16869 #define HAVE_STRUCT_TCP_STATS_TCPS_CONNATTEMPT 1
16876 ac_fn_c_check_member
"$LINENO" "struct udpstat" "udps_ipackets" "ac_cv_member_struct_udpstat_udps_ipackets" "#ifdef HAVE_SYS_TYPES_H
16877 #include <sys/types.h>
16879 #ifdef HAVE_NETINET_IN_H
16880 #include <netinet/in.h>
16882 #ifdef HAVE_NETINET_IP_VAR_H
16883 #include <netinet/ip_var.h>
16885 #ifdef HAVE_NETINET_UDP_H
16886 #include <netinet/udp.h>
16888 #ifdef HAVE_NETINET_UDP_VAR_H
16889 #include <netinet/udp_var.h>
16892 if test "x$ac_cv_member_struct_udpstat_udps_ipackets" = xyes
; then :
16894 cat >>confdefs.h
<<_ACEOF
16895 #define HAVE_STRUCT_UDPSTAT_UDPS_IPACKETS 1
16902 ac_fn_c_check_member
"$LINENO" "struct ifreq" "ifr_hwaddr" "ac_cv_member_struct_ifreq_ifr_hwaddr" "#ifdef HAVE_SYS_TYPES_H
16903 #include <sys/types.h>
16905 #ifdef HAVE_NET_IF_H
16906 # include <net/if.h>
16909 if test "x$ac_cv_member_struct_ifreq_ifr_hwaddr" = xyes
; then :
16911 cat >>confdefs.h
<<_ACEOF
16912 #define HAVE_STRUCT_IFREQ_IFR_HWADDR 1
16919 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for timezone variable" >&5
16920 $as_echo_n "checking for timezone variable... " >&6; }
16921 if ${ac_cv_have_timezone+:} false
; then :
16922 $as_echo_n "(cached) " >&6
16924 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
16925 /* end confdefs.h. */
16935 if ac_fn_c_try_link
"$LINENO"; then :
16936 ac_cv_have_timezone
="yes"
16938 ac_cv_have_timezone
="no"
16940 rm -f core conftest.err conftest.
$ac_objext \
16941 conftest
$ac_exeext conftest.
$ac_ext
16943 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_timezone" >&5
16944 $as_echo "$ac_cv_have_timezone" >&6; }
16945 if test "$ac_cv_have_timezone" = "yes"
16948 $as_echo "#define HAVE_TIMEZONE 1" >>confdefs.h
16951 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for daylight variable" >&5
16952 $as_echo_n "checking for daylight variable... " >&6; }
16953 if ${ac_cv_have_daylight+:} false
; then :
16954 $as_echo_n "(cached) " >&6
16956 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
16957 /* end confdefs.h. */
16967 if ac_fn_c_try_link
"$LINENO"; then :
16968 ac_cv_have_daylight
="yes"
16970 ac_cv_have_daylight
="no"
16972 rm -f core conftest.err conftest.
$ac_objext \
16973 conftest
$ac_exeext conftest.
$ac_ext
16975 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_daylight" >&5
16976 $as_echo "$ac_cv_have_daylight" >&6; }
16977 if test "$ac_cv_have_daylight" = "yes"
16980 $as_echo "#define HAVE_DAYLIGHT 1" >>confdefs.h
16984 ac_save_LIBS
="$LIBS"
16986 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isfinite" >&5
16987 $as_echo_n "checking for isfinite... " >&6; }
16988 if ${ac_cv_have_isfinite+:} false
; then :
16989 $as_echo_n "(cached) " >&6
16991 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
16992 /* end confdefs.h. */
16993 #define _GNU_SOURCE
16998 float f = 0.0; return isfinite(f)
17003 if ac_fn_c_try_link
"$LINENO"; then :
17004 ac_cv_have_isfinite
="yes"
17006 ac_cv_have_isfinite
="no"
17008 rm -f core conftest.err conftest.
$ac_objext \
17009 conftest
$ac_exeext conftest.
$ac_ext
17011 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_isfinite" >&5
17012 $as_echo "$ac_cv_have_isfinite" >&6; }
17013 if test "$ac_cv_have_isfinite" = "yes"
17016 $as_echo "#define HAVE_ISFINITE 1" >>confdefs.h
17020 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinf" >&5
17021 $as_echo_n "checking for isinf... " >&6; }
17022 if ${ac_cv_have_isinf+:} false
; then :
17023 $as_echo_n "(cached) " >&6
17025 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
17026 /* end confdefs.h. */
17031 float f = 0.0; return isinf(f)
17036 if ac_fn_c_try_link
"$LINENO"; then :
17037 ac_cv_have_isinf
="yes"
17039 ac_cv_have_isinf
="no"
17041 rm -f core conftest.err conftest.
$ac_objext \
17042 conftest
$ac_exeext conftest.
$ac_ext
17044 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_isinf" >&5
17045 $as_echo "$ac_cv_have_isinf" >&6; }
17046 if test "$ac_cv_have_isinf" = "yes"
17049 $as_echo "#define HAVE_ISINF 1" >>confdefs.h
17053 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnan" >&5
17054 $as_echo_n "checking for isnan... " >&6; }
17055 if ${ac_cv_have_isnan+:} false
; then :
17056 $as_echo_n "(cached) " >&6
17058 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
17059 /* end confdefs.h. */
17064 float f = 0.0; return isnan(f)
17069 if ac_fn_c_try_link
"$LINENO"; then :
17070 ac_cv_have_isnan
="yes"
17072 ac_cv_have_isnan
="no"
17074 rm -f core conftest.err conftest.
$ac_objext \
17075 conftest
$ac_exeext conftest.
$ac_ext
17077 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_isnan" >&5
17078 $as_echo "$ac_cv_have_isnan" >&6; }
17079 if test "$ac_cv_have_isnan" = "yes"
17082 $as_echo "#define HAVE_ISNAN 1" >>confdefs.h
17118 as_ac_var
=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
17119 ac_fn_c_check_func
"$LINENO" "$ac_func" "$as_ac_var"
17120 if eval test \"x\$
"$as_ac_var"\" = x
"yes"; then :
17121 cat >>confdefs.h
<<_ACEOF
17122 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
17128 LIBS
="$ac_save_LIBS"
17130 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for __builtin_clz" >&5
17131 $as_echo_n "checking for __builtin_clz... " >&6; }
17132 if ${ac_cv_have___builtin_clz+:} false
; then :
17133 $as_echo_n "(cached) " >&6
17135 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
17136 /* end confdefs.h. */
17141 return __builtin_clz(1)
17146 if ac_fn_c_try_link
"$LINENO"; then :
17147 ac_cv_have___builtin_clz
="yes"
17149 ac_cv_have___builtin_clz
="no"
17151 rm -f core conftest.err conftest.
$ac_objext \
17152 conftest
$ac_exeext conftest.
$ac_ext
17154 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have___builtin_clz" >&5
17155 $as_echo "$ac_cv_have___builtin_clz" >&6; }
17156 if test "$ac_cv_have___builtin_clz" = "yes"
17159 $as_echo "#define HAVE___BUILTIN_CLZ 1" >>confdefs.h
17163 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for __builtin_popcount" >&5
17164 $as_echo_n "checking for __builtin_popcount... " >&6; }
17165 if ${ac_cv_have___builtin_popcount+:} false
; then :
17166 $as_echo_n "(cached) " >&6
17168 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
17169 /* end confdefs.h. */
17174 return __builtin_popcount(1)
17179 if ac_fn_c_try_link
"$LINENO"; then :
17180 ac_cv_have___builtin_popcount
="yes"
17182 ac_cv_have___builtin_popcount
="no"
17184 rm -f core conftest.err conftest.
$ac_objext \
17185 conftest
$ac_exeext conftest.
$ac_ext
17187 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have___builtin_popcount" >&5
17188 $as_echo "$ac_cv_have___builtin_popcount" >&6; }
17189 if test "$ac_cv_have___builtin_popcount" = "yes"
17192 $as_echo "#define HAVE___BUILTIN_POPCOUNT 1" >>confdefs.h
17198 *i
[3456789]86*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __i386__" >&5
17199 $as_echo_n "checking whether we need to define __i386__... " >&6; }
17200 if ${ac_cv_cpp_def___i386__+:} false
; then :
17201 $as_echo_n "(cached) " >&6
17203 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
17204 /* end confdefs.h. */
17209 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
17210 $EGREP "yes" >/dev
/null
2>&1; then :
17211 ac_cv_cpp_def___i386__
=yes
17213 ac_cv_cpp_def___i386__
=no
17218 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___i386__" >&5
17219 $as_echo "$ac_cv_cpp_def___i386__" >&6; }
17220 if test "x$ac_cv_cpp_def___i386__" = xyes
; then :
17221 CFLAGS
="$CFLAGS -D__i386__"
17222 LINTFLAGS
="$LINTFLAGS -D__i386__"
17224 *x86_64
*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __x86_64__" >&5
17225 $as_echo_n "checking whether we need to define __x86_64__... " >&6; }
17226 if ${ac_cv_cpp_def___x86_64__+:} 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___x86_64__
=yes
17239 ac_cv_cpp_def___x86_64__
=no
17244 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___x86_64__" >&5
17245 $as_echo "$ac_cv_cpp_def___x86_64__" >&6; }
17246 if test "x$ac_cv_cpp_def___x86_64__" = xyes
; then :
17247 CFLAGS
="$CFLAGS -D__x86_64__"
17248 LINTFLAGS
="$LINTFLAGS -D__x86_64__"
17250 *sparc64
*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __sparc64__" >&5
17251 $as_echo_n "checking whether we need to define __sparc64__... " >&6; }
17252 if ${ac_cv_cpp_def___sparc64__+:} false
; then :
17253 $as_echo_n "(cached) " >&6
17255 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
17256 /* end confdefs.h. */
17257 #ifndef __sparc64__
17261 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
17262 $EGREP "yes" >/dev
/null
2>&1; then :
17263 ac_cv_cpp_def___sparc64__
=yes
17265 ac_cv_cpp_def___sparc64__
=no
17270 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___sparc64__" >&5
17271 $as_echo "$ac_cv_cpp_def___sparc64__" >&6; }
17272 if test "x$ac_cv_cpp_def___sparc64__" = xyes
; then :
17273 CFLAGS
="$CFLAGS -D__sparc64__"
17274 LINTFLAGS
="$LINTFLAGS -D__sparc64__"
17276 *sparc
*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __sparc__" >&5
17277 $as_echo_n "checking whether we need to define __sparc__... " >&6; }
17278 if ${ac_cv_cpp_def___sparc__+:} false
; then :
17279 $as_echo_n "(cached) " >&6
17281 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
17282 /* end confdefs.h. */
17287 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
17288 $EGREP "yes" >/dev
/null
2>&1; then :
17289 ac_cv_cpp_def___sparc__
=yes
17291 ac_cv_cpp_def___sparc__
=no
17296 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___sparc__" >&5
17297 $as_echo "$ac_cv_cpp_def___sparc__" >&6; }
17298 if test "x$ac_cv_cpp_def___sparc__" = xyes
; then :
17299 CFLAGS
="$CFLAGS -D__sparc__"
17300 LINTFLAGS
="$LINTFLAGS -D__sparc__"
17302 *powerpc64
*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __powerpc64__" >&5
17303 $as_echo_n "checking whether we need to define __powerpc64__... " >&6; }
17304 if ${ac_cv_cpp_def___powerpc64__+:} false
; then :
17305 $as_echo_n "(cached) " >&6
17307 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
17308 /* end confdefs.h. */
17309 #ifndef __powerpc64__
17313 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
17314 $EGREP "yes" >/dev
/null
2>&1; then :
17315 ac_cv_cpp_def___powerpc64__
=yes
17317 ac_cv_cpp_def___powerpc64__
=no
17322 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___powerpc64__" >&5
17323 $as_echo "$ac_cv_cpp_def___powerpc64__" >&6; }
17324 if test "x$ac_cv_cpp_def___powerpc64__" = xyes
; then :
17325 CFLAGS
="$CFLAGS -D__powerpc64__"
17326 LINTFLAGS
="$LINTFLAGS -D__powerpc64__"
17328 *powerpc
*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __powerpc__" >&5
17329 $as_echo_n "checking whether we need to define __powerpc__... " >&6; }
17330 if ${ac_cv_cpp_def___powerpc__+:} false
; then :
17331 $as_echo_n "(cached) " >&6
17333 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
17334 /* end confdefs.h. */
17335 #ifndef __powerpc__
17339 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
17340 $EGREP "yes" >/dev
/null
2>&1; then :
17341 ac_cv_cpp_def___powerpc__
=yes
17343 ac_cv_cpp_def___powerpc__
=no
17348 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___powerpc__" >&5
17349 $as_echo "$ac_cv_cpp_def___powerpc__" >&6; }
17350 if test "x$ac_cv_cpp_def___powerpc__" = xyes
; then :
17351 CFLAGS
="$CFLAGS -D__powerpc__"
17352 LINTFLAGS
="$LINTFLAGS -D__powerpc__"
17354 *aarch64
*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __aarch64__" >&5
17355 $as_echo_n "checking whether we need to define __aarch64__... " >&6; }
17356 if ${ac_cv_cpp_def___aarch64__+:} false
; then :
17357 $as_echo_n "(cached) " >&6
17359 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
17360 /* end confdefs.h. */
17361 #ifndef __aarch64__
17365 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
17366 $EGREP "yes" >/dev
/null
2>&1; then :
17367 ac_cv_cpp_def___aarch64__
=yes
17369 ac_cv_cpp_def___aarch64__
=no
17374 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___aarch64__" >&5
17375 $as_echo "$ac_cv_cpp_def___aarch64__" >&6; }
17376 if test "x$ac_cv_cpp_def___aarch64__" = xyes
; then :
17377 CFLAGS
="$CFLAGS -D__aarch64__"
17378 LINTFLAGS
="$LINTFLAGS -D__aarch64__"
17380 *arm
*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __arm__" >&5
17381 $as_echo_n "checking whether we need to define __arm__... " >&6; }
17382 if ${ac_cv_cpp_def___arm__+:} false
; then :
17383 $as_echo_n "(cached) " >&6
17385 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
17386 /* end confdefs.h. */
17391 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
17392 $EGREP "yes" >/dev
/null
2>&1; then :
17393 ac_cv_cpp_def___arm__
=yes
17395 ac_cv_cpp_def___arm__
=no
17400 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___arm__" >&5
17401 $as_echo "$ac_cv_cpp_def___arm__" >&6; }
17402 if test "x$ac_cv_cpp_def___arm__" = xyes
; then :
17403 CFLAGS
="$CFLAGS -D__arm__"
17404 LINTFLAGS
="$LINTFLAGS -D__arm__"
17408 case $host_vendor in
17409 *sun
*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __sun__" >&5
17410 $as_echo_n "checking whether we need to define __sun__... " >&6; }
17411 if ${ac_cv_cpp_def___sun__+:} false
; then :
17412 $as_echo_n "(cached) " >&6
17414 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
17415 /* end confdefs.h. */
17420 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
17421 $EGREP "yes" >/dev
/null
2>&1; then :
17422 ac_cv_cpp_def___sun__
=yes
17424 ac_cv_cpp_def___sun__
=no
17429 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___sun__" >&5
17430 $as_echo "$ac_cv_cpp_def___sun__" >&6; }
17431 if test "x$ac_cv_cpp_def___sun__" = xyes
; then :
17432 CFLAGS
="$CFLAGS -D__sun__"
17433 LINTFLAGS
="$LINTFLAGS -D__sun__"
17441 ac_config_commands
="$ac_config_commands include/stamp-h"
17443 $as_echo_n "creating Makefile rules..." >&6
17445 ALL_VARS_RULES
="OPENGL_LIBS = $OPENGL_LIBS
17446 SOCKET_LIBS = $SOCKET_LIBS
17447 COREFOUNDATION_LIBS = $COREFOUNDATION_LIBS
17448 IOKIT_LIBS = $IOKIT_LIBS
17449 FORCEFEEDBACK_LIBS = $FORCEFEEDBACK_LIBS
17450 APPLICATIONSERVICES_LIBS = $APPLICATIONSERVICES_LIBS
17451 CORESERVICES_LIBS = $CORESERVICES_LIBS
17452 APPKIT_LIBS = $APPKIT_LIBS
17453 DISKARBITRATION_LIBS = $DISKARBITRATION_LIBS
17454 SECURITY_LIBS = $SECURITY_LIBS
17455 COREAUDIO_LIBS = $COREAUDIO_LIBS
17456 OPENAL_LIBS = $OPENAL_LIBS
17457 OPENCL_LIBS = $OPENCL_LIBS
17458 QUICKTIME_LIBS = $QUICKTIME_LIBS
17459 CARBON_LIBS = $CARBON_LIBS
17460 PTHREAD_LIBS = $PTHREAD_LIBS
17461 X_CFLAGS = $X_CFLAGS
17462 X_PRE_LIBS = $X_PRE_LIBS
17464 X_EXTRA_LIBS = $X_EXTRA_LIBS
17465 PCAP_LIBS = $PCAP_LIBS
17466 XML2_CFLAGS = $XML2_CFLAGS
17467 XML2_LIBS = $XML2_LIBS
17468 XSLT_CFLAGS = $XSLT_CFLAGS
17469 XSLT_LIBS = $XSLT_LIBS
17470 DBUS_CFLAGS = $DBUS_CFLAGS
17471 DBUS_LIBS = $DBUS_LIBS
17472 HAL_CFLAGS = $HAL_CFLAGS
17473 HAL_LIBS = $HAL_LIBS
17474 GNUTLS_CFLAGS = $GNUTLS_CFLAGS
17475 GNUTLS_LIBS = $GNUTLS_LIBS
17476 SANE_CFLAGS = $SANE_CFLAGS
17477 SANE_LIBS = $SANE_LIBS
17478 GPHOTO2_CFLAGS = $GPHOTO2_CFLAGS
17479 GPHOTO2_LIBS = $GPHOTO2_LIBS
17480 GPHOTO2_PORT_CFLAGS = $GPHOTO2_PORT_CFLAGS
17481 GPHOTO2_PORT_LIBS = $GPHOTO2_PORT_LIBS
17482 RESOLV_LIBS = $RESOLV_LIBS
17483 LCMS2_CFLAGS = $LCMS2_CFLAGS
17484 LCMS2_LIBS = $LCMS2_LIBS
17485 FREETYPE_CFLAGS = $FREETYPE_CFLAGS
17486 FREETYPE_LIBS = $FREETYPE_LIBS
17488 GETTEXTPO_LIBS = $GETTEXTPO_LIBS
17489 PULSE_CFLAGS = $PULSE_CFLAGS
17490 PULSE_LIBS = $PULSE_LIBS
17491 GSTREAMER_CFLAGS = $GSTREAMER_CFLAGS
17492 GSTREAMER_LIBS = $GSTREAMER_LIBS
17493 ALSA_LIBS = $ALSA_LIBS
17494 OSS4_CFLAGS = $OSS4_CFLAGS
17495 UDEV_CFLAGS = $UDEV_CFLAGS
17496 UDEV_LIBS = $UDEV_LIBS
17497 CAPI20_CFLAGS = $CAPI20_CFLAGS
17498 CAPI20_LIBS = $CAPI20_LIBS
17499 CUPS_CFLAGS = $CUPS_CFLAGS
17500 FONTCONFIG_CFLAGS = $FONTCONFIG_CFLAGS
17501 FONTCONFIG_LIBS = $FONTCONFIG_LIBS
17502 JPEG_CFLAGS = $JPEG_CFLAGS
17503 JPEG_LIBS = $JPEG_LIBS
17504 PNG_CFLAGS = $PNG_CFLAGS
17505 PNG_LIBS = $PNG_LIBS
17506 TIFF_CFLAGS = $TIFF_CFLAGS
17507 TIFF_LIBS = $TIFF_LIBS
17508 MPG123_CFLAGS = $MPG123_CFLAGS
17509 MPG123_LIBS = $MPG123_LIBS
17510 KSTAT_LIBS = $KSTAT_LIBS
17511 PROCSTAT_LIBS = $PROCSTAT_LIBS
17512 NETAPI_CFLAGS = $NETAPI_CFLAGS
17513 NETAPI_LIBS = $NETAPI_LIBS
17514 EXCESS_PRECISION_CFLAGS = $EXCESS_PRECISION_CFLAGS
17516 POLL_LIBS = $POLL_LIBS
17518 LDAP_LIBS = $LDAP_LIBS
17523 wine_fn_append_rule
"
17524 # Rules automatically generated by configure
17526 CLEAN_FILES = *.o *.a *.so *.res *.fake *.ok *.tab.[ch] *.yy.c
17531 Makefile: $srcdir/Makefile.in config.status \$(MAKEDEP)
17532 @./config.status Make.tmp Makefile
17533 depend: \$(MAKEDEP) dummy
17536 test -n "$CROSSTARGET" || wine_fn_append_rule
"crosstest:
17537 @echo \"crosstest is not supported (mingw not installed?)\" && false"
17539 if test "x$enable_fonts" != xno
; then
17540 ac_config_links
="$ac_config_links fonts/marlett.ttf:fonts/marlett.ttf"
17541 ac_config_links
="$ac_config_links fonts/symbol.ttf:fonts/symbol.ttf"
17542 ac_config_links
="$ac_config_links fonts/tahoma.ttf:fonts/tahoma.ttf"
17543 ac_config_links
="$ac_config_links fonts/tahomabd.ttf:fonts/tahomabd.ttf"
17544 ac_config_links
="$ac_config_links fonts/wingding.ttf:fonts/wingding.ttf"
17545 test "$srcdir" = "." || wine_fn_config_symlink fonts
/marlett.ttf fonts
/symbol.ttf fonts
/tahoma.ttf fonts
/tahomabd.ttf fonts
/wingding.ttf
17547 ac_config_links
="$ac_config_links loader/l_intl.nls:loader/l_intl.nls"
17548 test "$srcdir" = "." || wine_fn_config_symlink loader
/l_intl.nls
17549 ac_config_links
="$ac_config_links wine:tools/winewrapper"
17550 wine_fn_config_symlink wine
17551 if test "x$enable_win64" != xno
; then
17552 ac_config_links
="$ac_config_links wine64:tools/winewrapper"
17553 wine_fn_config_symlink wine64
17556 wine_fn_config_dll acledit enable_acledit
17557 wine_fn_config_dll aclui enable_aclui implib
17558 wine_fn_config_dll activeds enable_activeds implib
17559 wine_fn_config_dll actxprxy enable_actxprxy clean
17560 wine_fn_config_lib adsiid
17561 wine_fn_config_dll advapi32 enable_advapi32 clean
,implib
17562 wine_fn_config_test dlls
/advapi32
/tests advapi32_test
17563 wine_fn_config_dll advpack enable_advpack implib
17564 wine_fn_config_test dlls
/advpack
/tests advpack_test
17565 wine_fn_config_dll amstream enable_amstream clean
17566 wine_fn_config_test dlls
/amstream
/tests amstream_test
17567 wine_fn_config_dll api-ms-win-appmodel-runtime-l1-1-1 enable_api_ms_win_appmodel_runtime_l1_1_1
17568 wine_fn_config_dll api-ms-win-core-apiquery-l1-1-0 enable_api_ms_win_core_apiquery_l1_1_0
17569 wine_fn_config_dll api-ms-win-core-appcompat-l1-1-1 enable_api_ms_win_core_appcompat_l1_1_1
17570 wine_fn_config_dll api-ms-win-core-appinit-l1-1-0 enable_api_ms_win_core_appinit_l1_1_0
17571 wine_fn_config_dll api-ms-win-core-atoms-l1-1-0 enable_api_ms_win_core_atoms_l1_1_0
17572 wine_fn_config_dll api-ms-win-core-bem-l1-1-0 enable_api_ms_win_core_bem_l1_1_0
17573 wine_fn_config_dll api-ms-win-core-com-l1-1-0 enable_api_ms_win_core_com_l1_1_0
17574 wine_fn_config_dll api-ms-win-core-com-l1-1-1 enable_api_ms_win_core_com_l1_1_1
17575 wine_fn_config_dll api-ms-win-core-console-l1-1-0 enable_api_ms_win_core_console_l1_1_0
17576 wine_fn_config_dll api-ms-win-core-console-l2-1-0 enable_api_ms_win_core_console_l2_1_0
17577 wine_fn_config_dll api-ms-win-core-datetime-l1-1-0 enable_api_ms_win_core_datetime_l1_1_0
17578 wine_fn_config_dll api-ms-win-core-datetime-l1-1-1 enable_api_ms_win_core_datetime_l1_1_1
17579 wine_fn_config_dll api-ms-win-core-debug-l1-1-0 enable_api_ms_win_core_debug_l1_1_0
17580 wine_fn_config_dll api-ms-win-core-debug-l1-1-1 enable_api_ms_win_core_debug_l1_1_1
17581 wine_fn_config_dll api-ms-win-core-delayload-l1-1-0 enable_api_ms_win_core_delayload_l1_1_0
17582 wine_fn_config_dll api-ms-win-core-delayload-l1-1-1 enable_api_ms_win_core_delayload_l1_1_1
17583 wine_fn_config_dll api-ms-win-core-errorhandling-l1-1-0 enable_api_ms_win_core_errorhandling_l1_1_0
17584 wine_fn_config_dll api-ms-win-core-errorhandling-l1-1-1 enable_api_ms_win_core_errorhandling_l1_1_1
17585 wine_fn_config_dll api-ms-win-core-errorhandling-l1-1-2 enable_api_ms_win_core_errorhandling_l1_1_2
17586 wine_fn_config_dll api-ms-win-core-fibers-l1-1-0 enable_api_ms_win_core_fibers_l1_1_0
17587 wine_fn_config_dll api-ms-win-core-fibers-l1-1-1 enable_api_ms_win_core_fibers_l1_1_1
17588 wine_fn_config_dll api-ms-win-core-file-l1-1-0 enable_api_ms_win_core_file_l1_1_0
17589 wine_fn_config_dll api-ms-win-core-file-l1-2-0 enable_api_ms_win_core_file_l1_2_0
17590 wine_fn_config_dll api-ms-win-core-file-l1-2-1 enable_api_ms_win_core_file_l1_2_1
17591 wine_fn_config_dll api-ms-win-core-file-l2-1-0 enable_api_ms_win_core_file_l2_1_0
17592 wine_fn_config_dll api-ms-win-core-file-l2-1-1 enable_api_ms_win_core_file_l2_1_1
17593 wine_fn_config_dll api-ms-win-core-handle-l1-1-0 enable_api_ms_win_core_handle_l1_1_0
17594 wine_fn_config_dll api-ms-win-core-heap-l1-1-0 enable_api_ms_win_core_heap_l1_1_0
17595 wine_fn_config_dll api-ms-win-core-heap-l1-2-0 enable_api_ms_win_core_heap_l1_2_0
17596 wine_fn_config_dll api-ms-win-core-heap-obsolete-l1-1-0 enable_api_ms_win_core_heap_obsolete_l1_1_0
17597 wine_fn_config_dll api-ms-win-core-interlocked-l1-1-0 enable_api_ms_win_core_interlocked_l1_1_0
17598 wine_fn_config_dll api-ms-win-core-interlocked-l1-2-0 enable_api_ms_win_core_interlocked_l1_2_0
17599 wine_fn_config_dll api-ms-win-core-io-l1-1-0 enable_api_ms_win_core_io_l1_1_0
17600 wine_fn_config_dll api-ms-win-core-io-l1-1-1 enable_api_ms_win_core_io_l1_1_1
17601 wine_fn_config_dll api-ms-win-core-job-l1-1-0 enable_api_ms_win_core_job_l1_1_0
17602 wine_fn_config_dll api-ms-win-core-job-l2-1-0 enable_api_ms_win_core_job_l2_1_0
17603 wine_fn_config_dll api-ms-win-core-kernel32-legacy-l1-1-0 enable_api_ms_win_core_kernel32_legacy_l1_1_0
17604 wine_fn_config_dll api-ms-win-core-kernel32-legacy-l1-1-1 enable_api_ms_win_core_kernel32_legacy_l1_1_1
17605 wine_fn_config_dll api-ms-win-core-kernel32-private-l1-1-1 enable_api_ms_win_core_kernel32_private_l1_1_1
17606 wine_fn_config_dll api-ms-win-core-libraryloader-l1-1-0 enable_api_ms_win_core_libraryloader_l1_1_0
17607 wine_fn_config_dll api-ms-win-core-libraryloader-l1-1-1 enable_api_ms_win_core_libraryloader_l1_1_1
17608 wine_fn_config_dll api-ms-win-core-libraryloader-l1-2-0 enable_api_ms_win_core_libraryloader_l1_2_0
17609 wine_fn_config_dll api-ms-win-core-libraryloader-l1-2-2 enable_api_ms_win_core_libraryloader_l1_2_2
17610 wine_fn_config_dll api-ms-win-core-localization-l1-1-0 enable_api_ms_win_core_localization_l1_1_0
17611 wine_fn_config_dll api-ms-win-core-localization-l1-2-0 enable_api_ms_win_core_localization_l1_2_0
17612 wine_fn_config_dll api-ms-win-core-localization-l1-2-1 enable_api_ms_win_core_localization_l1_2_1
17613 wine_fn_config_dll api-ms-win-core-localization-l2-1-0 enable_api_ms_win_core_localization_l2_1_0
17614 wine_fn_config_dll api-ms-win-core-localization-obsolete-l1-1-0 enable_api_ms_win_core_localization_obsolete_l1_1_0
17615 wine_fn_config_dll api-ms-win-core-localization-obsolete-l1-2-0 enable_api_ms_win_core_localization_obsolete_l1_2_0
17616 wine_fn_config_dll api-ms-win-core-localization-private-l1-1-0 enable_api_ms_win_core_localization_private_l1_1_0
17617 wine_fn_config_dll api-ms-win-core-localregistry-l1-1-0 enable_api_ms_win_core_localregistry_l1_1_0
17618 wine_fn_config_dll api-ms-win-core-memory-l1-1-0 enable_api_ms_win_core_memory_l1_1_0
17619 wine_fn_config_dll api-ms-win-core-memory-l1-1-1 enable_api_ms_win_core_memory_l1_1_1
17620 wine_fn_config_dll api-ms-win-core-memory-l1-1-2 enable_api_ms_win_core_memory_l1_1_2
17621 wine_fn_config_dll api-ms-win-core-misc-l1-1-0 enable_api_ms_win_core_misc_l1_1_0
17622 wine_fn_config_dll api-ms-win-core-namedpipe-l1-1-0 enable_api_ms_win_core_namedpipe_l1_1_0
17623 wine_fn_config_dll api-ms-win-core-namedpipe-l1-2-0 enable_api_ms_win_core_namedpipe_l1_2_0
17624 wine_fn_config_dll api-ms-win-core-namespace-l1-1-0 enable_api_ms_win_core_namespace_l1_1_0
17625 wine_fn_config_dll api-ms-win-core-normalization-l1-1-0 enable_api_ms_win_core_normalization_l1_1_0
17626 wine_fn_config_dll api-ms-win-core-path-l1-1-0 enable_api_ms_win_core_path_l1_1_0
17627 wine_fn_config_dll api-ms-win-core-privateprofile-l1-1-1 enable_api_ms_win_core_privateprofile_l1_1_1
17628 wine_fn_config_dll api-ms-win-core-processenvironment-l1-1-0 enable_api_ms_win_core_processenvironment_l1_1_0
17629 wine_fn_config_dll api-ms-win-core-processenvironment-l1-2-0 enable_api_ms_win_core_processenvironment_l1_2_0
17630 wine_fn_config_dll api-ms-win-core-processthreads-l1-1-0 enable_api_ms_win_core_processthreads_l1_1_0
17631 wine_fn_config_dll api-ms-win-core-processthreads-l1-1-1 enable_api_ms_win_core_processthreads_l1_1_1
17632 wine_fn_config_dll api-ms-win-core-processthreads-l1-1-2 enable_api_ms_win_core_processthreads_l1_1_2
17633 wine_fn_config_dll api-ms-win-core-profile-l1-1-0 enable_api_ms_win_core_profile_l1_1_0
17634 wine_fn_config_dll api-ms-win-core-psapi-l1-1-0 enable_api_ms_win_core_psapi_l1_1_0
17635 wine_fn_config_dll api-ms-win-core-realtime-l1-1-0 enable_api_ms_win_core_realtime_l1_1_0
17636 wine_fn_config_dll api-ms-win-core-registry-l1-1-0 enable_api_ms_win_core_registry_l1_1_0
17637 wine_fn_config_dll api-ms-win-core-registryuserspecific-l1-1-0 enable_api_ms_win_core_registryuserspecific_l1_1_0
17638 wine_fn_config_dll api-ms-win-core-rtlsupport-l1-1-0 enable_api_ms_win_core_rtlsupport_l1_1_0
17639 wine_fn_config_dll api-ms-win-core-rtlsupport-l1-2-0 enable_api_ms_win_core_rtlsupport_l1_2_0
17640 wine_fn_config_dll api-ms-win-core-shlwapi-legacy-l1-1-0 enable_api_ms_win_core_shlwapi_legacy_l1_1_0
17641 wine_fn_config_dll api-ms-win-core-shlwapi-obsolete-l1-1-0 enable_api_ms_win_core_shlwapi_obsolete_l1_1_0
17642 wine_fn_config_dll api-ms-win-core-sidebyside-l1-1-0 enable_api_ms_win_core_sidebyside_l1_1_0
17643 wine_fn_config_dll api-ms-win-core-string-l1-1-0 enable_api_ms_win_core_string_l1_1_0
17644 wine_fn_config_dll api-ms-win-core-string-l2-1-0 enable_api_ms_win_core_string_l2_1_0
17645 wine_fn_config_dll api-ms-win-core-string-obsolete-l1-1-0 enable_api_ms_win_core_string_obsolete_l1_1_0
17646 wine_fn_config_dll api-ms-win-core-stringansi-l1-1-0 enable_api_ms_win_core_stringansi_l1_1_0
17647 wine_fn_config_dll api-ms-win-core-synch-l1-1-0 enable_api_ms_win_core_synch_l1_1_0
17648 wine_fn_config_dll api-ms-win-core-synch-l1-2-0 enable_api_ms_win_core_synch_l1_2_0
17649 wine_fn_config_dll api-ms-win-core-sysinfo-l1-1-0 enable_api_ms_win_core_sysinfo_l1_1_0
17650 wine_fn_config_dll api-ms-win-core-sysinfo-l1-2-0 enable_api_ms_win_core_sysinfo_l1_2_0
17651 wine_fn_config_dll api-ms-win-core-sysinfo-l1-2-1 enable_api_ms_win_core_sysinfo_l1_2_1
17652 wine_fn_config_dll api-ms-win-core-threadpool-l1-1-0 enable_api_ms_win_core_threadpool_l1_1_0
17653 wine_fn_config_dll api-ms-win-core-threadpool-l1-2-0 enable_api_ms_win_core_threadpool_l1_2_0
17654 wine_fn_config_dll api-ms-win-core-threadpool-legacy-l1-1-0 enable_api_ms_win_core_threadpool_legacy_l1_1_0
17655 wine_fn_config_dll api-ms-win-core-timezone-l1-1-0 enable_api_ms_win_core_timezone_l1_1_0
17656 wine_fn_config_dll api-ms-win-core-toolhelp-l1-1-0 enable_api_ms_win_core_toolhelp_l1_1_0
17657 wine_fn_config_dll api-ms-win-core-url-l1-1-0 enable_api_ms_win_core_url_l1_1_0
17658 wine_fn_config_dll api-ms-win-core-util-l1-1-0 enable_api_ms_win_core_util_l1_1_0
17659 wine_fn_config_dll api-ms-win-core-version-l1-1-0 enable_api_ms_win_core_version_l1_1_0
17660 wine_fn_config_dll api-ms-win-core-version-private-l1-1-0 enable_api_ms_win_core_version_private_l1_1_0
17661 wine_fn_config_dll api-ms-win-core-versionansi-l1-1-0 enable_api_ms_win_core_versionansi_l1_1_0
17662 wine_fn_config_dll api-ms-win-core-windowserrorreporting-l1-1-0 enable_api_ms_win_core_windowserrorreporting_l1_1_0
17663 wine_fn_config_dll api-ms-win-core-winrt-error-l1-1-0 enable_api_ms_win_core_winrt_error_l1_1_0
17664 wine_fn_config_dll api-ms-win-core-winrt-error-l1-1-1 enable_api_ms_win_core_winrt_error_l1_1_1
17665 wine_fn_config_dll api-ms-win-core-winrt-errorprivate-l1-1-1 enable_api_ms_win_core_winrt_errorprivate_l1_1_1
17666 wine_fn_config_dll api-ms-win-core-winrt-l1-1-0 enable_api_ms_win_core_winrt_l1_1_0
17667 wine_fn_config_dll api-ms-win-core-winrt-registration-l1-1-0 enable_api_ms_win_core_winrt_registration_l1_1_0
17668 wine_fn_config_dll api-ms-win-core-winrt-string-l1-1-0 enable_api_ms_win_core_winrt_string_l1_1_0
17669 wine_fn_config_dll api-ms-win-core-wow64-l1-1-0 enable_api_ms_win_core_wow64_l1_1_0
17670 wine_fn_config_dll api-ms-win-core-xstate-l1-1-0 enable_api_ms_win_core_xstate_l1_1_0
17671 wine_fn_config_dll api-ms-win-core-xstate-l2-1-0 enable_api_ms_win_core_xstate_l2_1_0
17672 wine_fn_config_dll api-ms-win-crt-conio-l1-1-0 enable_api_ms_win_crt_conio_l1_1_0
17673 wine_fn_config_dll api-ms-win-crt-convert-l1-1-0 enable_api_ms_win_crt_convert_l1_1_0
17674 wine_fn_config_dll api-ms-win-crt-environment-l1-1-0 enable_api_ms_win_crt_environment_l1_1_0
17675 wine_fn_config_dll api-ms-win-crt-filesystem-l1-1-0 enable_api_ms_win_crt_filesystem_l1_1_0
17676 wine_fn_config_dll api-ms-win-crt-heap-l1-1-0 enable_api_ms_win_crt_heap_l1_1_0
17677 wine_fn_config_dll api-ms-win-crt-locale-l1-1-0 enable_api_ms_win_crt_locale_l1_1_0
17678 wine_fn_config_dll api-ms-win-crt-math-l1-1-0 enable_api_ms_win_crt_math_l1_1_0
17679 wine_fn_config_dll api-ms-win-crt-multibyte-l1-1-0 enable_api_ms_win_crt_multibyte_l1_1_0
17680 wine_fn_config_dll api-ms-win-crt-private-l1-1-0 enable_api_ms_win_crt_private_l1_1_0
17681 wine_fn_config_dll api-ms-win-crt-process-l1-1-0 enable_api_ms_win_crt_process_l1_1_0
17682 wine_fn_config_dll api-ms-win-crt-runtime-l1-1-0 enable_api_ms_win_crt_runtime_l1_1_0
17683 wine_fn_config_dll api-ms-win-crt-stdio-l1-1-0 enable_api_ms_win_crt_stdio_l1_1_0
17684 wine_fn_config_dll api-ms-win-crt-string-l1-1-0 enable_api_ms_win_crt_string_l1_1_0
17685 wine_fn_config_dll api-ms-win-crt-time-l1-1-0 enable_api_ms_win_crt_time_l1_1_0
17686 wine_fn_config_dll api-ms-win-crt-utility-l1-1-0 enable_api_ms_win_crt_utility_l1_1_0
17687 wine_fn_config_dll api-ms-win-downlevel-advapi32-l1-1-0 enable_api_ms_win_downlevel_advapi32_l1_1_0
17688 wine_fn_config_dll api-ms-win-downlevel-advapi32-l2-1-0 enable_api_ms_win_downlevel_advapi32_l2_1_0
17689 wine_fn_config_dll api-ms-win-downlevel-normaliz-l1-1-0 enable_api_ms_win_downlevel_normaliz_l1_1_0
17690 wine_fn_config_dll api-ms-win-downlevel-ole32-l1-1-0 enable_api_ms_win_downlevel_ole32_l1_1_0
17691 wine_fn_config_dll api-ms-win-downlevel-shell32-l1-1-0 enable_api_ms_win_downlevel_shell32_l1_1_0
17692 wine_fn_config_dll api-ms-win-downlevel-shlwapi-l1-1-0 enable_api_ms_win_downlevel_shlwapi_l1_1_0
17693 wine_fn_config_dll api-ms-win-downlevel-shlwapi-l2-1-0 enable_api_ms_win_downlevel_shlwapi_l2_1_0
17694 wine_fn_config_dll api-ms-win-downlevel-user32-l1-1-0 enable_api_ms_win_downlevel_user32_l1_1_0
17695 wine_fn_config_dll api-ms-win-downlevel-version-l1-1-0 enable_api_ms_win_downlevel_version_l1_1_0
17696 wine_fn_config_dll api-ms-win-eventing-classicprovider-l1-1-0 enable_api_ms_win_eventing_classicprovider_l1_1_0
17697 wine_fn_config_dll api-ms-win-eventing-consumer-l1-1-0 enable_api_ms_win_eventing_consumer_l1_1_0
17698 wine_fn_config_dll api-ms-win-eventing-controller-l1-1-0 enable_api_ms_win_eventing_controller_l1_1_0
17699 wine_fn_config_dll api-ms-win-eventing-provider-l1-1-0 enable_api_ms_win_eventing_provider_l1_1_0
17700 wine_fn_config_dll api-ms-win-eventlog-legacy-l1-1-0 enable_api_ms_win_eventlog_legacy_l1_1_0
17701 wine_fn_config_dll api-ms-win-ntuser-dc-access-l1-1-0 enable_api_ms_win_ntuser_dc_access_l1_1_0
17702 wine_fn_config_dll api-ms-win-security-audit-l1-1-1 enable_api_ms_win_security_audit_l1_1_1
17703 wine_fn_config_dll api-ms-win-security-base-l1-1-0 enable_api_ms_win_security_base_l1_1_0
17704 wine_fn_config_dll api-ms-win-security-base-l1-2-0 enable_api_ms_win_security_base_l1_2_0
17705 wine_fn_config_dll api-ms-win-security-base-private-l1-1-1 enable_api_ms_win_security_base_private_l1_1_1
17706 wine_fn_config_dll api-ms-win-security-lsalookup-l1-1-0 enable_api_ms_win_security_lsalookup_l1_1_0
17707 wine_fn_config_dll api-ms-win-security-lsalookup-l1-1-1 enable_api_ms_win_security_lsalookup_l1_1_1
17708 wine_fn_config_dll api-ms-win-security-sddl-l1-1-0 enable_api_ms_win_security_sddl_l1_1_0
17709 wine_fn_config_dll api-ms-win-service-core-l1-1-0 enable_api_ms_win_service_core_l1_1_0
17710 wine_fn_config_dll api-ms-win-service-core-l1-1-1 enable_api_ms_win_service_core_l1_1_1
17711 wine_fn_config_dll api-ms-win-service-management-l1-1-0 enable_api_ms_win_service_management_l1_1_0
17712 wine_fn_config_dll api-ms-win-service-management-l2-1-0 enable_api_ms_win_service_management_l2_1_0
17713 wine_fn_config_dll api-ms-win-service-private-l1-1-1 enable_api_ms_win_service_private_l1_1_1
17714 wine_fn_config_dll api-ms-win-service-winsvc-l1-1-0 enable_api_ms_win_service_winsvc_l1_1_0
17715 wine_fn_config_dll api-ms-win-service-winsvc-l1-2-0 enable_api_ms_win_service_winsvc_l1_2_0
17716 wine_fn_config_dll api-ms-win-shell-shellcom-l1-1-0 enable_api_ms_win_shell_shellcom_l1_1_0
17717 wine_fn_config_dll api-ms-win-shell-shellfolders-l1-1-0 enable_api_ms_win_shell_shellfolders_l1_1_0
17718 wine_fn_config_dll apphelp enable_apphelp
17719 wine_fn_config_test dlls
/apphelp
/tests apphelp_test
17720 wine_fn_config_dll appwiz.cpl enable_appwiz_cpl clean
17721 wine_fn_config_dll atl enable_atl clean
,implib
17722 wine_fn_config_test dlls
/atl
/tests atl_test
17723 wine_fn_config_dll atl100 enable_atl100 clean
,implib
17724 wine_fn_config_test dlls
/atl100
/tests atl100_test
17725 wine_fn_config_dll atl110 enable_atl110 clean
17726 wine_fn_config_dll atl80 enable_atl80 clean
,implib
17727 wine_fn_config_test dlls
/atl80
/tests atl80_test
17728 wine_fn_config_dll atl90 enable_atl90 clean
17729 wine_fn_config_dll authz enable_authz
17730 wine_fn_config_dll avicap32 enable_avicap32 implib
17731 wine_fn_config_dll avifil32 enable_avifil32 clean
,implib
17732 wine_fn_config_test dlls
/avifil32
/tests avifil32_test
17733 wine_fn_config_dll avifile.dll16 enable_win16
17734 wine_fn_config_dll avrt enable_avrt implib
17735 wine_fn_config_dll bcrypt enable_bcrypt implib
17736 wine_fn_config_test dlls
/bcrypt
/tests bcrypt_test
17737 wine_fn_config_dll bluetoothapis enable_bluetoothapis
17738 wine_fn_config_dll browseui enable_browseui clean
17739 wine_fn_config_test dlls
/browseui
/tests browseui_test
17740 wine_fn_config_dll bthprops.cpl enable_bthprops_cpl
17741 wine_fn_config_dll cabinet enable_cabinet implib
17742 wine_fn_config_test dlls
/cabinet
/tests cabinet_test
17743 wine_fn_config_dll capi2032 enable_capi2032 implib
17744 wine_fn_config_dll cards enable_cards implib
17745 wine_fn_config_dll cfgmgr32 enable_cfgmgr32 implib
17746 wine_fn_config_dll clusapi enable_clusapi implib
17747 wine_fn_config_dll combase enable_combase
17748 wine_fn_config_test dlls
/combase
/tests combase_test
17749 wine_fn_config_dll comcat enable_comcat
17750 wine_fn_config_test dlls
/comcat
/tests comcat_test
17751 wine_fn_config_dll comctl32 enable_comctl32 clean
,implib
17752 wine_fn_config_test dlls
/comctl32
/tests comctl32_test
17753 wine_fn_config_dll comdlg32 enable_comdlg32 clean
,implib
17754 wine_fn_config_test dlls
/comdlg32
/tests comdlg32_test
17755 wine_fn_config_dll
comm.drv16 enable_win16
17756 wine_fn_config_dll commdlg.dll16 enable_win16
17757 wine_fn_config_dll compobj.dll16 enable_win16
17758 wine_fn_config_dll compstui enable_compstui implib
17759 wine_fn_config_dll comsvcs enable_comsvcs implib
17760 wine_fn_config_dll concrt140 enable_concrt140
17761 wine_fn_config_dll connect enable_connect
17762 wine_fn_config_dll credui enable_credui clean
,implib
17763 wine_fn_config_test dlls
/credui
/tests credui_test
17764 wine_fn_config_dll crtdll enable_crtdll
17765 wine_fn_config_dll crypt32 enable_crypt32 clean
,implib
17766 wine_fn_config_test dlls
/crypt32
/tests crypt32_test
17767 wine_fn_config_dll cryptdlg enable_cryptdlg clean
17768 wine_fn_config_dll cryptdll enable_cryptdll implib
17769 wine_fn_config_dll cryptext enable_cryptext
17770 wine_fn_config_dll cryptnet enable_cryptnet implib
17771 wine_fn_config_test dlls
/cryptnet
/tests cryptnet_test
17772 wine_fn_config_dll cryptui enable_cryptui clean
,implib
17773 wine_fn_config_test dlls
/cryptui
/tests cryptui_test
17774 wine_fn_config_dll ctapi32 enable_ctapi32
17775 wine_fn_config_dll ctl3d.dll16 enable_win16
17776 wine_fn_config_dll ctl3d32 enable_ctl3d32
17777 wine_fn_config_dll ctl3dv2.dll16 enable_win16
17778 wine_fn_config_dll d2d1 enable_d2d1 implib
17779 wine_fn_config_test dlls
/d2d
1/tests d2d1_test
17780 wine_fn_config_dll d3d10 enable_d3d10 implib
17781 wine_fn_config_test dlls
/d3d10
/tests d3d10_test
17782 wine_fn_config_dll d3d10_1 enable_d3d10_1 implib
17783 wine_fn_config_test dlls
/d3d10_
1/tests d3d10_1_test
17784 wine_fn_config_dll d3d10core enable_d3d10core implib
17785 wine_fn_config_test dlls
/d3d10core
/tests d3d10core_test
17786 wine_fn_config_dll d3d11 enable_d3d11 implib
17787 wine_fn_config_test dlls
/d3d11
/tests d3d11_test
17788 wine_fn_config_dll d3d8 enable_d3d8 implib
17789 wine_fn_config_test dlls
/d3d
8/tests d3d8_test
17790 wine_fn_config_dll d3d9 enable_d3d9 implib
17791 wine_fn_config_test dlls
/d3d
9/tests d3d9_test
17792 wine_fn_config_dll d3dcompiler_33 enable_d3dcompiler_33
17793 wine_fn_config_dll d3dcompiler_34 enable_d3dcompiler_34
17794 wine_fn_config_dll d3dcompiler_35 enable_d3dcompiler_35
17795 wine_fn_config_dll d3dcompiler_36 enable_d3dcompiler_36
17796 wine_fn_config_dll d3dcompiler_37 enable_d3dcompiler_37
17797 wine_fn_config_dll d3dcompiler_38 enable_d3dcompiler_38
17798 wine_fn_config_dll d3dcompiler_39 enable_d3dcompiler_39
17799 wine_fn_config_dll d3dcompiler_40 enable_d3dcompiler_40
17800 wine_fn_config_dll d3dcompiler_41 enable_d3dcompiler_41
17801 wine_fn_config_dll d3dcompiler_42 enable_d3dcompiler_42
17802 wine_fn_config_dll d3dcompiler_43 enable_d3dcompiler_43 implib d3dcompiler
17803 wine_fn_config_test dlls
/d3dcompiler_43
/tests d3dcompiler_43_test
17804 wine_fn_config_dll d3dcompiler_46 enable_d3dcompiler_46
17805 wine_fn_config_dll d3dcompiler_47 enable_d3dcompiler_47
17806 wine_fn_config_dll d3dim enable_d3dim
17807 wine_fn_config_dll d3drm enable_d3drm implib
17808 wine_fn_config_test dlls
/d3drm
/tests d3drm_test
17809 wine_fn_config_dll d3dx10_33 enable_d3dx10_33
17810 wine_fn_config_dll d3dx10_34 enable_d3dx10_34
17811 wine_fn_config_dll d3dx10_35 enable_d3dx10_35
17812 wine_fn_config_dll d3dx10_36 enable_d3dx10_36
17813 wine_fn_config_dll d3dx10_37 enable_d3dx10_37
17814 wine_fn_config_dll d3dx10_38 enable_d3dx10_38
17815 wine_fn_config_dll d3dx10_39 enable_d3dx10_39
17816 wine_fn_config_dll d3dx10_40 enable_d3dx10_40
17817 wine_fn_config_dll d3dx10_41 enable_d3dx10_41
17818 wine_fn_config_dll d3dx10_42 enable_d3dx10_42
17819 wine_fn_config_dll d3dx10_43 enable_d3dx10_43 implib d3dx10
17820 wine_fn_config_test dlls
/d3dx10_43
/tests d3dx10_43_test
17821 wine_fn_config_dll d3dx11_42 enable_d3dx11_42
17822 wine_fn_config_dll d3dx11_43 enable_d3dx11_43 implib d3dx11
17823 wine_fn_config_dll d3dx9_24 enable_d3dx9_24
17824 wine_fn_config_dll d3dx9_25 enable_d3dx9_25
17825 wine_fn_config_dll d3dx9_26 enable_d3dx9_26
17826 wine_fn_config_dll d3dx9_27 enable_d3dx9_27
17827 wine_fn_config_dll d3dx9_28 enable_d3dx9_28
17828 wine_fn_config_dll d3dx9_29 enable_d3dx9_29
17829 wine_fn_config_dll d3dx9_30 enable_d3dx9_30
17830 wine_fn_config_dll d3dx9_31 enable_d3dx9_31
17831 wine_fn_config_dll d3dx9_32 enable_d3dx9_32
17832 wine_fn_config_dll d3dx9_33 enable_d3dx9_33
17833 wine_fn_config_dll d3dx9_34 enable_d3dx9_34
17834 wine_fn_config_dll d3dx9_35 enable_d3dx9_35
17835 wine_fn_config_dll d3dx9_36 enable_d3dx9_36 implib d3dx9
17836 wine_fn_config_test dlls
/d3dx9_36
/tests d3dx9_36_test
17837 wine_fn_config_dll d3dx9_37 enable_d3dx9_37
17838 wine_fn_config_dll d3dx9_38 enable_d3dx9_38
17839 wine_fn_config_dll d3dx9_39 enable_d3dx9_39
17840 wine_fn_config_dll d3dx9_40 enable_d3dx9_40
17841 wine_fn_config_dll d3dx9_41 enable_d3dx9_41
17842 wine_fn_config_dll d3dx9_42 enable_d3dx9_42
17843 wine_fn_config_dll d3dx9_43 enable_d3dx9_43
17844 wine_fn_config_dll d3dxof enable_d3dxof clean
,implib
17845 wine_fn_config_test dlls
/d3dxof
/tests d3dxof_test
17846 wine_fn_config_dll davclnt enable_davclnt
17847 wine_fn_config_dll dbgeng enable_dbgeng implib
17848 wine_fn_config_dll dbghelp enable_dbghelp implib
17849 wine_fn_config_dll dciman32 enable_dciman32 implib
17850 wine_fn_config_dll ddeml.dll16 enable_win16
17851 wine_fn_config_dll ddraw enable_ddraw clean
,implib
17852 wine_fn_config_test dlls
/ddraw
/tests ddraw_test
17853 wine_fn_config_dll ddrawex enable_ddrawex clean
17854 wine_fn_config_test dlls
/ddrawex
/tests ddrawex_test
17855 wine_fn_config_dll devenum enable_devenum clean
17856 wine_fn_config_test dlls
/devenum
/tests devenum_test
17857 wine_fn_config_dll dhcpcsvc enable_dhcpcsvc
17858 wine_fn_config_dll difxapi enable_difxapi
17859 wine_fn_config_dll dinput enable_dinput clean
,implib
,staticimplib
17860 wine_fn_config_test dlls
/dinput
/tests dinput_test
17861 wine_fn_config_dll dinput8 enable_dinput8 clean
,implib
17862 wine_fn_config_test dlls
/dinput
8/tests dinput8_test
17863 wine_fn_config_dll dispdib.dll16 enable_win16
17864 wine_fn_config_dll dispex enable_dispex clean
17865 wine_fn_config_test dlls
/dispex
/tests dispex_test
17866 wine_fn_config_dll display.drv16 enable_win16
17867 wine_fn_config_dll dmband enable_dmband clean
17868 wine_fn_config_test dlls
/dmband
/tests dmband_test
17869 wine_fn_config_dll dmcompos enable_dmcompos clean
17870 wine_fn_config_test dlls
/dmcompos
/tests dmcompos_test
17871 wine_fn_config_dll dmime enable_dmime clean
17872 wine_fn_config_test dlls
/dmime
/tests dmime_test
17873 wine_fn_config_dll dmloader enable_dmloader clean
17874 wine_fn_config_test dlls
/dmloader
/tests dmloader_test
17875 wine_fn_config_dll dmscript enable_dmscript clean
17876 wine_fn_config_test dlls
/dmscript
/tests dmscript_test
17877 wine_fn_config_dll dmstyle enable_dmstyle clean
17878 wine_fn_config_test dlls
/dmstyle
/tests dmstyle_test
17879 wine_fn_config_dll dmsynth enable_dmsynth clean
17880 wine_fn_config_test dlls
/dmsynth
/tests dmsynth_test
17881 wine_fn_config_dll dmusic enable_dmusic clean
17882 wine_fn_config_test dlls
/dmusic
/tests dmusic_test
17883 wine_fn_config_dll dmusic32 enable_dmusic32
17884 wine_fn_config_dll dnsapi enable_dnsapi implib
17885 wine_fn_config_test dlls
/dnsapi
/tests dnsapi_test
17886 wine_fn_config_dll dplay enable_dplay
17887 wine_fn_config_dll dplayx enable_dplayx clean
,implib
17888 wine_fn_config_test dlls
/dplayx
/tests dplayx_test
17889 wine_fn_config_dll dpnaddr enable_dpnaddr
17890 wine_fn_config_dll dpnet enable_dpnet clean
,implib
17891 wine_fn_config_test dlls
/dpnet
/tests dpnet_test
17892 wine_fn_config_dll dpnhpast enable_dpnhpast
17893 wine_fn_config_dll dpnlobby enable_dpnlobby
17894 wine_fn_config_dll dpvoice enable_dpvoice clean
17895 wine_fn_config_test dlls
/dpvoice
/tests dpvoice_test
17896 wine_fn_config_dll dpwsockx enable_dpwsockx
17897 wine_fn_config_dll drmclien enable_drmclien
17898 wine_fn_config_dll dsound enable_dsound clean
,implib
17899 wine_fn_config_test dlls
/dsound
/tests dsound_test
17900 wine_fn_config_dll dssenh enable_dssenh
17901 wine_fn_config_test dlls
/dssenh
/tests dssenh_test
17902 wine_fn_config_dll dswave enable_dswave clean
17903 wine_fn_config_test dlls
/dswave
/tests dswave_test
17904 wine_fn_config_dll dwmapi enable_dwmapi implib
17905 wine_fn_config_dll dwrite enable_dwrite implib
17906 wine_fn_config_test dlls
/dwrite
/tests dwrite_test
17907 wine_fn_config_dll dxdiagn enable_dxdiagn clean
17908 wine_fn_config_test dlls
/dxdiagn
/tests dxdiagn_test
17909 wine_fn_config_lib dxerr8
17910 wine_fn_config_lib dxerr9
17911 wine_fn_config_dll dxgi enable_dxgi implib
17912 wine_fn_config_test dlls
/dxgi
/tests dxgi_test
17913 wine_fn_config_lib dxguid
17914 wine_fn_config_dll dxva2 enable_dxva2
17915 wine_fn_config_dll esent enable_esent
17916 wine_fn_config_dll evr enable_evr
17917 wine_fn_config_dll explorerframe enable_explorerframe clean
17918 wine_fn_config_test dlls
/explorerframe
/tests explorerframe_test
17919 wine_fn_config_dll ext-ms-win-gdi-devcaps-l1-1-0 enable_ext_ms_win_gdi_devcaps_l1_1_0
17920 wine_fn_config_dll ext-ms-win-kernel32-package-current-l1-1-0 enable_ext_ms_win_kernel32_package_current_l1_1_0
17921 wine_fn_config_dll faultrep enable_faultrep implib
17922 wine_fn_config_test dlls
/faultrep
/tests faultrep_test
17923 wine_fn_config_dll fltlib enable_fltlib
17924 wine_fn_config_dll fltmgr.sys enable_fltmgr_sys
17925 wine_fn_config_dll fntcache enable_fntcache
17926 wine_fn_config_dll fontsub enable_fontsub
17927 wine_fn_config_dll fusion enable_fusion
17928 wine_fn_config_test dlls
/fusion
/tests fusion_test
17929 wine_fn_config_dll fwpuclnt enable_fwpuclnt
17930 wine_fn_config_dll gameux enable_gameux clean
17931 wine_fn_config_test dlls
/gameux
/tests gameux_test
17932 wine_fn_config_dll gdi.exe16 enable_win16
17933 wine_fn_config_dll gdi32 enable_gdi32 clean
,implib
17934 wine_fn_config_test dlls
/gdi32
/tests gdi32_test
17935 wine_fn_config_dll gdiplus enable_gdiplus implib
17936 wine_fn_config_test dlls
/gdiplus
/tests gdiplus_test
17937 wine_fn_config_dll glu32 enable_glu32 implib
17938 wine_fn_config_dll gphoto2.ds enable_gphoto2_ds clean
17939 wine_fn_config_dll gpkcsp enable_gpkcsp
17940 wine_fn_config_dll hal enable_hal
17941 wine_fn_config_dll hhctrl.ocx enable_hhctrl_ocx clean
,implib htmlhelp
17942 wine_fn_config_dll hid enable_hid implib
17943 wine_fn_config_dll hidclass.sys enable_hidclass_sys implib hidclass
17944 wine_fn_config_dll hlink enable_hlink clean
,implib
17945 wine_fn_config_test dlls
/hlink
/tests hlink_test
17946 wine_fn_config_dll hnetcfg enable_hnetcfg clean
17947 wine_fn_config_test dlls
/hnetcfg
/tests hnetcfg_test
17948 wine_fn_config_dll httpapi enable_httpapi
17949 wine_fn_config_dll iccvid enable_iccvid clean
17950 wine_fn_config_dll icmp enable_icmp
17951 wine_fn_config_dll ieframe enable_ieframe clean
,implib
17952 wine_fn_config_test dlls
/ieframe
/tests ieframe_test
17953 wine_fn_config_dll ifsmgr.vxd enable_win16
17954 wine_fn_config_dll imaadp32.acm enable_imaadp32_acm
17955 wine_fn_config_dll imagehlp enable_imagehlp implib
17956 wine_fn_config_test dlls
/imagehlp
/tests imagehlp_test
17957 wine_fn_config_dll imm.dll16 enable_win16
17958 wine_fn_config_dll imm32 enable_imm32 implib
17959 wine_fn_config_test dlls
/imm32
/tests imm32_test
17960 wine_fn_config_dll inetcomm enable_inetcomm clean
,implib
17961 wine_fn_config_test dlls
/inetcomm
/tests inetcomm_test
17962 wine_fn_config_dll inetcpl.cpl enable_inetcpl_cpl clean
17963 wine_fn_config_dll inetmib1 enable_inetmib1
17964 wine_fn_config_test dlls
/inetmib
1/tests inetmib1_test
17965 wine_fn_config_dll infosoft enable_infosoft clean
17966 wine_fn_config_test dlls
/infosoft
/tests infosoft_test
17967 wine_fn_config_dll initpki enable_initpki
17968 wine_fn_config_dll inkobj enable_inkobj
17969 wine_fn_config_dll inseng enable_inseng clean
17970 wine_fn_config_dll iphlpapi enable_iphlpapi implib
17971 wine_fn_config_test dlls
/iphlpapi
/tests iphlpapi_test
17972 wine_fn_config_dll iprop enable_iprop
17973 wine_fn_config_dll irprops.cpl enable_irprops_cpl
17974 wine_fn_config_dll itircl enable_itircl
17975 wine_fn_config_dll itss enable_itss clean
17976 wine_fn_config_test dlls
/itss
/tests itss_test
17977 wine_fn_config_dll joy.cpl enable_joy_cpl clean
17978 wine_fn_config_dll jscript enable_jscript clean
17979 wine_fn_config_test dlls
/jscript
/tests jscript_test
17980 wine_fn_config_dll jsproxy enable_jsproxy implib
17981 wine_fn_config_test dlls
/jsproxy
/tests jsproxy_test
17982 wine_fn_config_dll kernel32 enable_kernel32 clean
,implib
17983 wine_fn_config_test dlls
/kernel32
/tests kernel32_test
17984 wine_fn_config_dll kernelbase enable_kernelbase
17985 wine_fn_config_dll keyboard.drv16 enable_win16
17986 wine_fn_config_dll krnl386.exe16 enable_win16 implib kernel
17987 wine_fn_config_dll ksuser enable_ksuser
17988 wine_fn_config_dll ktmw32 enable_ktmw32
17989 wine_fn_config_dll loadperf enable_loadperf implib
17990 wine_fn_config_dll localspl enable_localspl clean
17991 wine_fn_config_test dlls
/localspl
/tests localspl_test
17992 wine_fn_config_dll localui enable_localui clean
17993 wine_fn_config_test dlls
/localui
/tests localui_test
17994 wine_fn_config_dll lz32 enable_lz32 implib
17995 wine_fn_config_test dlls
/lz32
/tests lz32_test
17996 wine_fn_config_dll lzexpand.dll16 enable_win16
17997 wine_fn_config_dll mapi32 enable_mapi32 clean
,implib
17998 wine_fn_config_test dlls
/mapi32
/tests mapi32_test
17999 wine_fn_config_dll mapistub enable_mapistub
18000 wine_fn_config_dll mciavi32 enable_mciavi32
18001 wine_fn_config_dll mcicda enable_mcicda
18002 wine_fn_config_dll mciqtz32 enable_mciqtz32
18003 wine_fn_config_dll mciseq enable_mciseq
18004 wine_fn_config_dll mciwave enable_mciwave
18005 wine_fn_config_dll mf enable_mf
18006 wine_fn_config_dll mfplat enable_mfplat
18007 wine_fn_config_dll mfreadwrite enable_mfreadwrite
18008 wine_fn_config_dll mgmtapi enable_mgmtapi
18009 wine_fn_config_dll midimap enable_midimap
18010 wine_fn_config_dll mlang enable_mlang clean
,implib
18011 wine_fn_config_test dlls
/mlang
/tests mlang_test
18012 wine_fn_config_dll mmcndmgr enable_mmcndmgr clean
18013 wine_fn_config_test dlls
/mmcndmgr
/tests mmcndmgr_test
18014 wine_fn_config_dll mmdevapi enable_mmdevapi clean
18015 wine_fn_config_test dlls
/mmdevapi
/tests mmdevapi_test
18016 wine_fn_config_dll mmdevldr.vxd enable_win16
18017 wine_fn_config_dll mmsystem.dll16 enable_win16
18018 wine_fn_config_dll monodebg.vxd enable_win16
18019 wine_fn_config_dll mountmgr.sys enable_mountmgr_sys
18020 wine_fn_config_dll mouse.drv16 enable_win16
18021 wine_fn_config_dll mpr enable_mpr clean
,implib
18022 wine_fn_config_test dlls
/mpr
/tests mpr_test
18023 wine_fn_config_dll mprapi enable_mprapi implib
18024 wine_fn_config_dll msacm.dll16 enable_win16
18025 wine_fn_config_dll msacm32.drv enable_msacm32_drv
18026 wine_fn_config_dll msacm32 enable_msacm32 clean
,implib
18027 wine_fn_config_test dlls
/msacm32
/tests msacm32_test
18028 wine_fn_config_dll msadp32.acm enable_msadp32_acm
18029 wine_fn_config_dll msasn1 enable_msasn1 implib
18030 wine_fn_config_dll mscat32 enable_mscat32
18031 wine_fn_config_dll mscms enable_mscms implib
18032 wine_fn_config_test dlls
/mscms
/tests mscms_test
18033 wine_fn_config_dll mscoree enable_mscoree clean
18034 wine_fn_config_test dlls
/mscoree
/tests mscoree_test
18035 wine_fn_config_dll msctf enable_msctf clean
18036 wine_fn_config_test dlls
/msctf
/tests msctf_test
18037 wine_fn_config_dll msctfp enable_msctfp clean
18038 wine_fn_config_dll msdaps enable_msdaps clean
18039 wine_fn_config_dll msdelta enable_msdelta
18040 wine_fn_config_dll msdmo enable_msdmo implib
18041 wine_fn_config_test dlls
/msdmo
/tests msdmo_test
18042 wine_fn_config_dll msdrm enable_msdrm
18043 wine_fn_config_dll msftedit enable_msftedit
18044 wine_fn_config_dll msg711.acm enable_msg711_acm
18045 wine_fn_config_dll msgsm32.acm enable_msgsm32_acm
18046 wine_fn_config_dll mshtml.tlb enable_mshtml_tlb clean
18047 wine_fn_config_dll mshtml enable_mshtml clean
,implib
18048 wine_fn_config_test dlls
/mshtml
/tests mshtml_test clean
18049 wine_fn_config_dll msi enable_msi clean
,implib
18050 wine_fn_config_test dlls
/msi
/tests msi_test
18051 wine_fn_config_dll msident enable_msident clean
18052 wine_fn_config_dll msimg32 enable_msimg32 implib
18053 wine_fn_config_dll msimsg enable_msimsg
18054 wine_fn_config_dll msimtf enable_msimtf clean
18055 wine_fn_config_dll msisip enable_msisip
18056 wine_fn_config_dll msisys.ocx enable_msisys_ocx
18057 wine_fn_config_dll msls31 enable_msls31
18058 wine_fn_config_dll msnet32 enable_msnet32
18059 wine_fn_config_dll mspatcha enable_mspatcha implib
18060 wine_fn_config_dll msports enable_msports
18061 wine_fn_config_dll msrle32 enable_msrle32 clean
18062 wine_fn_config_test dlls
/msrle32
/tests msrle32_test
18063 wine_fn_config_dll msscript.ocx enable_msscript_ocx clean
18064 wine_fn_config_test dlls
/msscript.ocx
/tests msscript.ocx_test clean
18065 wine_fn_config_dll mssign32 enable_mssign32
18066 wine_fn_config_dll mssip32 enable_mssip32
18067 wine_fn_config_dll mstask enable_mstask clean
18068 wine_fn_config_test dlls
/mstask
/tests mstask_test
18069 wine_fn_config_dll msvcirt enable_msvcirt
18070 wine_fn_config_test dlls
/msvcirt
/tests msvcirt_test
18071 wine_fn_config_dll msvcm80 enable_msvcm80
18072 wine_fn_config_dll msvcm90 enable_msvcm90
18073 wine_fn_config_dll msvcp100 enable_msvcp100
18074 wine_fn_config_test dlls
/msvcp100
/tests msvcp100_test
18075 wine_fn_config_dll msvcp110 enable_msvcp110
18076 wine_fn_config_test dlls
/msvcp110
/tests msvcp110_test
18077 wine_fn_config_dll msvcp120 enable_msvcp120
18078 wine_fn_config_test dlls
/msvcp120
/tests msvcp120_test
18079 wine_fn_config_dll msvcp120_app enable_msvcp120_app
18080 wine_fn_config_dll msvcp140 enable_msvcp140
18081 wine_fn_config_test dlls
/msvcp140
/tests msvcp140_test
18082 wine_fn_config_dll msvcp60 enable_msvcp60
18083 wine_fn_config_test dlls
/msvcp60
/tests msvcp60_test
18084 wine_fn_config_dll msvcp70 enable_msvcp70
18085 wine_fn_config_dll msvcp71 enable_msvcp71
18086 wine_fn_config_dll msvcp80 enable_msvcp80
18087 wine_fn_config_dll msvcp90 enable_msvcp90
18088 wine_fn_config_test dlls
/msvcp90
/tests msvcp90_test
18089 wine_fn_config_dll msvcr100 enable_msvcr100 implib
18090 wine_fn_config_test dlls
/msvcr100
/tests msvcr100_test
18091 wine_fn_config_dll msvcr110 enable_msvcr110 implib
18092 wine_fn_config_dll msvcr120 enable_msvcr120 implib
18093 wine_fn_config_test dlls
/msvcr120
/tests msvcr120_test
18094 wine_fn_config_dll msvcr120_app enable_msvcr120_app
18095 wine_fn_config_dll msvcr70 enable_msvcr70 implib
18096 wine_fn_config_dll msvcr71 enable_msvcr71 implib
18097 wine_fn_config_dll msvcr80 enable_msvcr80 implib
18098 wine_fn_config_dll msvcr90 enable_msvcr90 implib
18099 wine_fn_config_test dlls
/msvcr90
/tests msvcr90_test
18100 wine_fn_config_dll msvcrt enable_msvcrt implib
18101 wine_fn_config_test dlls
/msvcrt
/tests msvcrt_test
18102 wine_fn_config_dll msvcrt20 enable_msvcrt20
18103 wine_fn_config_dll msvcrt40 enable_msvcrt40
18104 wine_fn_config_dll msvcrtd enable_msvcrtd implib
18105 wine_fn_config_test dlls
/msvcrtd
/tests msvcrtd_test
18106 wine_fn_config_dll msvfw32 enable_msvfw32 clean
,implib
18107 wine_fn_config_test dlls
/msvfw32
/tests msvfw32_test
18108 wine_fn_config_dll msvidc32 enable_msvidc32 clean
18109 wine_fn_config_dll msvideo.dll16 enable_win16
18110 wine_fn_config_dll mswsock enable_mswsock implib
18111 wine_fn_config_dll msxml enable_msxml clean
18112 wine_fn_config_dll msxml2 enable_msxml2 clean
18113 wine_fn_config_dll msxml3 enable_msxml3 clean
18114 wine_fn_config_test dlls
/msxml
3/tests msxml3_test clean
18115 wine_fn_config_dll msxml4 enable_msxml4 clean
18116 wine_fn_config_dll msxml6 enable_msxml6 clean
18117 wine_fn_config_dll ncrypt enable_ncrypt
18118 wine_fn_config_dll nddeapi enable_nddeapi implib
18119 wine_fn_config_dll ndis.sys enable_ndis_sys
18120 wine_fn_config_dll netapi32 enable_netapi32 implib
18121 wine_fn_config_test dlls
/netapi32
/tests netapi32_test
18122 wine_fn_config_dll netcfgx enable_netcfgx clean
18123 wine_fn_config_test dlls
/netcfgx
/tests netcfgx_test
18124 wine_fn_config_dll netprofm enable_netprofm clean
18125 wine_fn_config_test dlls
/netprofm
/tests netprofm_test
18126 wine_fn_config_dll newdev enable_newdev implib
18127 wine_fn_config_dll normaliz enable_normaliz implib
18128 wine_fn_config_dll npmshtml enable_npmshtml
18129 wine_fn_config_dll npptools enable_npptools
18130 wine_fn_config_dll ntdll enable_ntdll implib
18131 wine_fn_config_test dlls
/ntdll
/tests ntdll_test
18132 wine_fn_config_dll ntdsapi enable_ntdsapi implib
18133 wine_fn_config_test dlls
/ntdsapi
/tests ntdsapi_test
18134 wine_fn_config_dll ntoskrnl.exe enable_ntoskrnl_exe implib ntoskrnl
18135 wine_fn_config_dll ntprint enable_ntprint
18136 wine_fn_config_test dlls
/ntprint
/tests ntprint_test
18137 wine_fn_config_dll objsel enable_objsel clean
18138 wine_fn_config_dll odbc32 enable_odbc32 implib
18139 wine_fn_config_dll odbccp32 enable_odbccp32 implib
18140 wine_fn_config_test dlls
/odbccp32
/tests odbccp32_test
18141 wine_fn_config_dll odbccu32 enable_odbccu32
18142 wine_fn_config_dll ole2.dll16 enable_win16
18143 wine_fn_config_dll ole2conv.dll16 enable_win16
18144 wine_fn_config_dll ole2disp.dll16 enable_win16
18145 wine_fn_config_dll ole2nls.dll16 enable_win16
18146 wine_fn_config_dll ole2prox.dll16 enable_win16
18147 wine_fn_config_dll ole2thk.dll16 enable_win16
18148 wine_fn_config_dll ole32 enable_ole32 clean
,implib
18149 wine_fn_config_test dlls
/ole32
/tests ole32_test
18150 wine_fn_config_dll oleacc enable_oleacc clean
,implib
18151 wine_fn_config_test dlls
/oleacc
/tests oleacc_test
18152 wine_fn_config_dll oleaut32 enable_oleaut32 clean
,implib
18153 wine_fn_config_test dlls
/oleaut32
/tests oleaut32_test clean
18154 wine_fn_config_dll olecli.dll16 enable_win16
18155 wine_fn_config_dll olecli32 enable_olecli32 implib
18156 wine_fn_config_dll oledb32 enable_oledb32 clean
18157 wine_fn_config_test dlls
/oledb32
/tests oledb32_test clean
18158 wine_fn_config_dll oledlg enable_oledlg clean
,implib
18159 wine_fn_config_test dlls
/oledlg
/tests oledlg_test
18160 wine_fn_config_dll olepro32 enable_olepro32 clean
,implib
18161 wine_fn_config_dll olesvr.dll16 enable_win16
18162 wine_fn_config_dll olesvr32 enable_olesvr32 implib
18163 wine_fn_config_dll olethk32 enable_olethk32
18164 wine_fn_config_dll openal32 enable_openal32
18165 wine_fn_config_dll opencl enable_opencl
18166 wine_fn_config_dll opengl32 enable_opengl32 implib
18167 wine_fn_config_test dlls
/opengl32
/tests opengl32_test
18168 wine_fn_config_dll packager enable_packager clean
18169 wine_fn_config_test dlls
/packager
/tests packager_test
18170 wine_fn_config_dll pdh enable_pdh implib
18171 wine_fn_config_test dlls
/pdh
/tests pdh_test
18172 wine_fn_config_dll photometadatahandler enable_photometadatahandler
18173 wine_fn_config_dll pidgen enable_pidgen
18174 wine_fn_config_dll powrprof enable_powrprof implib
18175 wine_fn_config_dll printui enable_printui
18176 wine_fn_config_dll prntvpt enable_prntvpt
18177 wine_fn_config_dll propsys enable_propsys clean
,implib
18178 wine_fn_config_test dlls
/propsys
/tests propsys_test
18179 wine_fn_config_dll psapi enable_psapi implib
18180 wine_fn_config_test dlls
/psapi
/tests psapi_test
18181 wine_fn_config_dll pstorec enable_pstorec clean
18182 wine_fn_config_dll qcap enable_qcap
18183 wine_fn_config_test dlls
/qcap
/tests qcap_test
18184 wine_fn_config_dll qedit enable_qedit clean
18185 wine_fn_config_test dlls
/qedit
/tests qedit_test
18186 wine_fn_config_dll qmgr enable_qmgr clean
18187 wine_fn_config_test dlls
/qmgr
/tests qmgr_test
18188 wine_fn_config_dll qmgrprxy enable_qmgrprxy clean
18189 wine_fn_config_dll quartz enable_quartz clean
,implib
18190 wine_fn_config_test dlls
/quartz
/tests quartz_test clean
18191 wine_fn_config_dll query enable_query
18192 wine_fn_config_dll rasapi16.dll16 enable_win16
18193 wine_fn_config_dll rasapi32 enable_rasapi32 implib
18194 wine_fn_config_test dlls
/rasapi32
/tests rasapi32_test
18195 wine_fn_config_dll rasdlg enable_rasdlg implib
18196 wine_fn_config_dll regapi enable_regapi
18197 wine_fn_config_dll resutils enable_resutils implib
18198 wine_fn_config_dll riched20 enable_riched20 clean
,implib
18199 wine_fn_config_test dlls
/riched20
/tests riched20_test
18200 wine_fn_config_dll riched32 enable_riched32
18201 wine_fn_config_test dlls
/riched32
/tests riched32_test
18202 wine_fn_config_dll rpcrt4 enable_rpcrt4 clean
,implib
18203 wine_fn_config_test dlls
/rpcrt
4/tests rpcrt4_test clean
18204 wine_fn_config_dll rsabase enable_rsabase
18205 wine_fn_config_dll rsaenh enable_rsaenh implib
18206 wine_fn_config_test dlls
/rsaenh
/tests rsaenh_test
18207 wine_fn_config_dll rstrtmgr enable_rstrtmgr
18208 wine_fn_config_dll rtutils enable_rtutils implib
18209 wine_fn_config_dll samlib enable_samlib
18210 wine_fn_config_dll sane.ds enable_sane_ds clean
18211 wine_fn_config_dll scarddlg enable_scarddlg
18212 wine_fn_config_dll sccbase enable_sccbase
18213 wine_fn_config_dll schannel enable_schannel
18214 wine_fn_config_test dlls
/schannel
/tests schannel_test
18215 wine_fn_config_dll schedsvc enable_schedsvc clean
18216 wine_fn_config_test dlls
/schedsvc
/tests schedsvc_test clean
18217 wine_fn_config_dll scrrun enable_scrrun clean
18218 wine_fn_config_test dlls
/scrrun
/tests scrrun_test clean
18219 wine_fn_config_dll scsiport.sys enable_scsiport_sys
18220 wine_fn_config_dll secur32 enable_secur32 implib
18221 wine_fn_config_test dlls
/secur32
/tests secur32_test
18222 wine_fn_config_dll security enable_security
18223 wine_fn_config_dll sensapi enable_sensapi implib
18224 wine_fn_config_dll serialui enable_serialui clean
18225 wine_fn_config_test dlls
/serialui
/tests serialui_test
18226 wine_fn_config_dll setupapi enable_setupapi clean
,implib
18227 wine_fn_config_test dlls
/setupapi
/tests setupapi_test
18228 wine_fn_config_dll setupx.dll16 enable_win16
18229 wine_fn_config_dll sfc enable_sfc implib
18230 wine_fn_config_dll sfc_os enable_sfc_os implib
18231 wine_fn_config_dll shdoclc enable_shdoclc clean
18232 wine_fn_config_dll shdocvw enable_shdocvw clean
,implib
18233 wine_fn_config_test dlls
/shdocvw
/tests shdocvw_test
18234 wine_fn_config_dll shell.dll16 enable_win16
18235 wine_fn_config_dll shell32 enable_shell32 clean
,implib
18236 wine_fn_config_test dlls
/shell32
/tests shell32_test
18237 wine_fn_config_dll shfolder enable_shfolder implib
18238 wine_fn_config_dll shlwapi enable_shlwapi clean
,implib
18239 wine_fn_config_test dlls
/shlwapi
/tests shlwapi_test
18240 wine_fn_config_dll slbcsp enable_slbcsp
18241 wine_fn_config_dll slc enable_slc implib
18242 wine_fn_config_test dlls
/slc
/tests slc_test
18243 wine_fn_config_dll snmpapi enable_snmpapi implib
18244 wine_fn_config_test dlls
/snmpapi
/tests snmpapi_test
18245 wine_fn_config_dll softpub enable_softpub
18246 wine_fn_config_dll sound.drv16 enable_win16
18247 wine_fn_config_dll spoolss enable_spoolss implib
18248 wine_fn_config_test dlls
/spoolss
/tests spoolss_test
18249 wine_fn_config_dll sspicli enable_sspicli
18250 wine_fn_config_dll stdole2.tlb enable_stdole2_tlb clean
18251 wine_fn_config_dll stdole32.tlb enable_stdole32_tlb clean
18252 wine_fn_config_dll sti enable_sti clean
,implib
18253 wine_fn_config_test dlls
/sti
/tests sti_test
18254 wine_fn_config_dll storage.dll16 enable_win16
18255 wine_fn_config_dll stress.dll16 enable_win16
18256 wine_fn_config_lib strmbase
18257 wine_fn_config_lib strmiids
18258 wine_fn_config_dll svrapi enable_svrapi
18259 wine_fn_config_dll sxs enable_sxs implib
18260 wine_fn_config_test dlls
/sxs
/tests sxs_test
18261 wine_fn_config_dll system.drv16 enable_win16
18262 wine_fn_config_dll t2embed enable_t2embed implib
18263 wine_fn_config_test dlls
/t2embed
/tests t2embed_test
18264 wine_fn_config_dll tapi32 enable_tapi32 implib
18265 wine_fn_config_dll taskschd enable_taskschd clean
18266 wine_fn_config_test dlls
/taskschd
/tests taskschd_test
18267 wine_fn_config_dll tdi.sys enable_tdi_sys
18268 wine_fn_config_dll toolhelp.dll16 enable_win16
18269 wine_fn_config_dll traffic enable_traffic
18270 wine_fn_config_dll twain.dll16 enable_win16
18271 wine_fn_config_dll twain_32 enable_twain_32
18272 wine_fn_config_test dlls
/twain_32
/tests twain_32_test
18273 wine_fn_config_dll typelib.dll16 enable_win16
18274 wine_fn_config_dll ucrtbase enable_ucrtbase implib
18275 wine_fn_config_test dlls
/ucrtbase
/tests ucrtbase_test
18276 wine_fn_config_dll unicows enable_unicows implib
18277 wine_fn_config_dll updspapi enable_updspapi
18278 wine_fn_config_dll url enable_url implib
18279 wine_fn_config_dll urlmon enable_urlmon clean
,implib
18280 wine_fn_config_test dlls
/urlmon
/tests urlmon_test
18281 wine_fn_config_dll usbd.sys enable_usbd_sys implib usbd
18282 wine_fn_config_dll user.exe16 enable_win16
18283 wine_fn_config_dll user32 enable_user32 clean
,implib
18284 wine_fn_config_test dlls
/user32
/tests user32_test
18285 wine_fn_config_dll userenv enable_userenv implib
18286 wine_fn_config_test dlls
/userenv
/tests userenv_test
18287 wine_fn_config_dll usp10 enable_usp10 implib
18288 wine_fn_config_test dlls
/usp10
/tests usp10_test
18289 wine_fn_config_lib uuid
18290 wine_fn_config_dll uxtheme enable_uxtheme implib
18291 wine_fn_config_test dlls
/uxtheme
/tests uxtheme_test
18292 wine_fn_config_dll vbscript enable_vbscript clean
18293 wine_fn_config_test dlls
/vbscript
/tests vbscript_test clean
18294 wine_fn_config_dll vcomp enable_vcomp
18295 wine_fn_config_test dlls
/vcomp
/tests vcomp_test
18296 wine_fn_config_dll vcomp100 enable_vcomp100
18297 wine_fn_config_dll vcomp110 enable_vcomp110
18298 wine_fn_config_dll vcomp120 enable_vcomp120
18299 wine_fn_config_dll vcomp140 enable_vcomp140
18300 wine_fn_config_dll vcomp90 enable_vcomp90
18301 wine_fn_config_dll vcruntime140 enable_vcruntime140
18302 wine_fn_config_dll vdhcp.vxd enable_win16
18303 wine_fn_config_dll vdmdbg enable_vdmdbg implib
18304 wine_fn_config_dll ver.dll16 enable_win16
18305 wine_fn_config_dll version enable_version implib
18306 wine_fn_config_test dlls
/version
/tests version_test
18307 wine_fn_config_dll vmm.vxd enable_win16
18308 wine_fn_config_dll vnbt.vxd enable_win16
18309 wine_fn_config_dll vnetbios.vxd enable_win16
18310 wine_fn_config_dll vssapi enable_vssapi
18311 wine_fn_config_dll vtdapi.vxd enable_win16
18312 wine_fn_config_dll vwin32.vxd enable_win16
18313 wine_fn_config_dll w32skrnl enable_win16
18314 wine_fn_config_dll w32sys.dll16 enable_win16
18315 wine_fn_config_dll wbemdisp enable_wbemdisp clean
18316 wine_fn_config_test dlls
/wbemdisp
/tests wbemdisp_test
18317 wine_fn_config_dll wbemprox enable_wbemprox clean
18318 wine_fn_config_test dlls
/wbemprox
/tests wbemprox_test
18319 wine_fn_config_dll webservices enable_webservices implib
18320 wine_fn_config_test dlls
/webservices
/tests webservices_test
18321 wine_fn_config_dll wer enable_wer implib
18322 wine_fn_config_test dlls
/wer
/tests wer_test
18323 wine_fn_config_dll wevtapi enable_wevtapi
18324 wine_fn_config_dll wiaservc enable_wiaservc clean
18325 wine_fn_config_test dlls
/wiaservc
/tests wiaservc_test
18326 wine_fn_config_dll wimgapi enable_wimgapi
18327 wine_fn_config_dll win32s16.dll16 enable_win16
18328 wine_fn_config_dll win87em.dll16 enable_win16
18329 wine_fn_config_dll winaspi.dll16 enable_win16
18330 wine_fn_config_dll windebug.dll16 enable_win16
18331 wine_fn_config_dll windowscodecs enable_windowscodecs clean
,implib
18332 wine_fn_config_test dlls
/windowscodecs
/tests windowscodecs_test
18333 wine_fn_config_dll windowscodecsext enable_windowscodecsext implib
18334 wine_fn_config_test dlls
/windowscodecsext
/tests windowscodecsext_test
18335 wine_fn_config_dll winealsa.drv enable_winealsa_drv
18336 wine_fn_config_dll winebus.sys enable_winebus_sys
18337 wine_fn_config_dll winecoreaudio.drv enable_winecoreaudio_drv
18338 wine_fn_config_lib winecrt0
18339 wine_fn_config_dll wined3d enable_wined3d implib
18340 wine_fn_config_dll winegstreamer enable_winegstreamer
18341 wine_fn_config_dll winehid.sys enable_winehid_sys
18342 wine_fn_config_dll winejoystick.drv enable_winejoystick_drv
18343 wine_fn_config_dll winemac.drv enable_winemac_drv clean
18344 wine_fn_config_dll winemapi enable_winemapi
18345 wine_fn_config_dll winemp3.acm enable_winemp3_acm
18346 wine_fn_config_dll wineoss.drv enable_wineoss_drv
18347 wine_fn_config_dll wineps.drv enable_wineps_drv clean
18348 wine_fn_config_dll wineps16.drv16 enable_win16
18349 wine_fn_config_dll winepulse.drv enable_winepulse_drv
18350 wine_fn_config_dll wineqtdecoder enable_wineqtdecoder
18351 wine_fn_config_dll winex11.drv enable_winex11_drv
18352 wine_fn_config_dll wing.dll16 enable_win16
18353 wine_fn_config_dll wing32 enable_wing32
18354 wine_fn_config_dll winhttp enable_winhttp clean
,implib
18355 wine_fn_config_test dlls
/winhttp
/tests winhttp_test
18356 wine_fn_config_dll wininet enable_wininet clean
,implib
18357 wine_fn_config_test dlls
/wininet
/tests wininet_test
18358 wine_fn_config_dll winmm enable_winmm clean
,implib
18359 wine_fn_config_test dlls
/winmm
/tests winmm_test
18360 wine_fn_config_dll winnls.dll16 enable_win16
18361 wine_fn_config_dll winnls32 enable_winnls32 implib
18362 wine_fn_config_dll winscard enable_winscard implib
18363 wine_fn_config_dll winsock.dll16 enable_win16
18364 wine_fn_config_dll winspool.drv enable_winspool_drv clean
,implib winspool
18365 wine_fn_config_test dlls
/winspool.drv
/tests winspool.drv_test
18366 wine_fn_config_dll winsta enable_winsta
18367 wine_fn_config_dll wintab.dll16 enable_win16
18368 wine_fn_config_dll wintab32 enable_wintab32 implib
18369 wine_fn_config_test dlls
/wintab32
/tests wintab32_test
18370 wine_fn_config_dll wintrust enable_wintrust implib
18371 wine_fn_config_test dlls
/wintrust
/tests wintrust_test
18372 wine_fn_config_dll wlanapi enable_wlanapi
18373 wine_fn_config_dll wldap32 enable_wldap32 clean
,implib
18374 wine_fn_config_test dlls
/wldap32
/tests wldap32_test
18375 wine_fn_config_dll wmasf enable_wmasf
18376 wine_fn_config_dll wmi enable_wmi
18377 wine_fn_config_dll wmiutils enable_wmiutils clean
18378 wine_fn_config_test dlls
/wmiutils
/tests wmiutils_test
18379 wine_fn_config_dll wmp enable_wmp clean
18380 wine_fn_config_test dlls
/wmp
/tests wmp_test
18381 wine_fn_config_dll wmvcore enable_wmvcore
18382 wine_fn_config_dll wnaspi32 enable_wnaspi32 implib
18383 wine_fn_config_dll wow32 enable_win16 implib
18384 wine_fn_config_dll wpc enable_wpc clean
18385 wine_fn_config_test dlls
/wpc
/tests wpc_test
18386 wine_fn_config_dll wpcap enable_wpcap
18387 wine_fn_config_dll ws2_32 enable_ws2_32 implib
18388 wine_fn_config_test dlls
/ws2_32
/tests ws2_32_test
18389 wine_fn_config_dll wshom.ocx enable_wshom_ocx clean
18390 wine_fn_config_test dlls
/wshom.ocx
/tests wshom.ocx_test clean
18391 wine_fn_config_dll wsnmp32 enable_wsnmp32 implib
18392 wine_fn_config_test dlls
/wsnmp32
/tests wsnmp32_test
18393 wine_fn_config_dll wsock32 enable_wsock32 implib
18394 wine_fn_config_dll wtsapi32 enable_wtsapi32 implib
18395 wine_fn_config_test dlls
/wtsapi32
/tests wtsapi32_test
18396 wine_fn_config_dll wuapi enable_wuapi clean
18397 wine_fn_config_dll wuaueng enable_wuaueng
18398 wine_fn_config_dll x3daudio1_0 enable_x3daudio1_0
18399 wine_fn_config_dll x3daudio1_1 enable_x3daudio1_1
18400 wine_fn_config_dll x3daudio1_2 enable_x3daudio1_2
18401 wine_fn_config_dll x3daudio1_3 enable_x3daudio1_3
18402 wine_fn_config_dll x3daudio1_4 enable_x3daudio1_4
18403 wine_fn_config_dll x3daudio1_5 enable_x3daudio1_5
18404 wine_fn_config_dll x3daudio1_6 enable_x3daudio1_6
18405 wine_fn_config_dll x3daudio1_7 enable_x3daudio1_7
18406 wine_fn_config_dll xapofx1_1 enable_xapofx1_1
18407 wine_fn_config_dll xapofx1_2 enable_xapofx1_2
18408 wine_fn_config_dll xapofx1_3 enable_xapofx1_3
18409 wine_fn_config_dll xapofx1_4 enable_xapofx1_4
18410 wine_fn_config_dll xapofx1_5 enable_xapofx1_5
18411 wine_fn_config_dll xaudio2_0 enable_xaudio2_0 clean
18412 wine_fn_config_dll xaudio2_1 enable_xaudio2_1 clean
18413 wine_fn_config_dll xaudio2_2 enable_xaudio2_2 clean
18414 wine_fn_config_dll xaudio2_3 enable_xaudio2_3 clean
18415 wine_fn_config_dll xaudio2_4 enable_xaudio2_4 clean
18416 wine_fn_config_dll xaudio2_5 enable_xaudio2_5 clean
18417 wine_fn_config_dll xaudio2_6 enable_xaudio2_6 clean
18418 wine_fn_config_dll xaudio2_7 enable_xaudio2_7 clean
18419 wine_fn_config_test dlls
/xaudio2_
7/tests xaudio2_7_test
18420 wine_fn_config_dll xaudio2_8 enable_xaudio2_8 clean
18421 wine_fn_config_dll xaudio2_9 enable_xaudio2_9 clean
18422 wine_fn_config_dll xinput1_1 enable_xinput1_1
18423 wine_fn_config_dll xinput1_2 enable_xinput1_2
18424 wine_fn_config_dll xinput1_3 enable_xinput1_3 implib xinput
18425 wine_fn_config_test dlls
/xinput1_
3/tests xinput1_3_test
18426 wine_fn_config_dll xinput1_4 enable_xinput1_4
18427 wine_fn_config_dll xinput9_1_0 enable_xinput9_1_0
18428 wine_fn_config_dll xmllite enable_xmllite implib
18429 wine_fn_config_test dlls
/xmllite
/tests xmllite_test
18430 wine_fn_config_dll xolehlp enable_xolehlp
18431 wine_fn_config_dll xpsprint enable_xpsprint
18432 wine_fn_config_dll xpssvcs enable_xpssvcs
18433 wine_fn_config_makefile fonts enable_fonts clean
,install-lib
18434 wine_fn_config_makefile include enable_include clean
,install-dev
18435 wine_fn_config_makefile libs
/port enable_libs_port
18436 wine_fn_config_makefile libs
/wine enable_libs_wine clean
,implib
,install-dev
,install-lib
18437 wine_fn_config_makefile libs
/wpp enable_libs_wpp
18438 wine_fn_config_makefile loader enable_loader clean
,install-lib
18439 wine_fn_config_makefile po enable_po clean
18440 wine_fn_config_program arp enable_arp
install
18441 wine_fn_config_program aspnet_regiis enable_aspnet_regiis
install
18442 wine_fn_config_program attrib enable_attrib clean
,install
18443 wine_fn_config_program cabarc enable_cabarc
install
18444 wine_fn_config_program cacls enable_cacls
install
18445 wine_fn_config_program
clock enable_clock clean
,install
18446 wine_fn_config_program cmd enable_cmd clean
,install
18447 wine_fn_config_test programs
/cmd
/tests cmd.exe_test
18448 wine_fn_config_program conhost enable_conhost
install
18449 wine_fn_config_program control enable_control
install
18450 wine_fn_config_program cscript enable_cscript clean
,install
18451 wine_fn_config_program dpnsvr enable_dpnsvr
install
18452 wine_fn_config_program dxdiag enable_dxdiag clean
,install
18453 wine_fn_config_program eject enable_eject
install
18454 wine_fn_config_program
expand enable_expand
install
18455 wine_fn_config_program explorer enable_explorer clean
,install
18456 wine_fn_config_program extrac32 enable_extrac32
install
18457 wine_fn_config_program findstr enable_findstr
install
18458 wine_fn_config_program fsutil enable_fsutil
install
18459 wine_fn_config_program hh enable_hh
install
18460 wine_fn_config_program hostname enable_hostname clean
,install
18461 wine_fn_config_program icacls enable_icacls
install
18462 wine_fn_config_program icinfo enable_icinfo
install
18463 wine_fn_config_program iexplore enable_iexplore
install
18464 wine_fn_config_program ipconfig enable_ipconfig clean
,install
18465 wine_fn_config_program lodctr enable_lodctr
install
18466 wine_fn_config_program mofcomp enable_mofcomp
install
18467 wine_fn_config_program mshta enable_mshta
install
18468 wine_fn_config_program msiexec enable_msiexec
install,installbin
,manpage
18469 wine_fn_config_program msinfo32 enable_msinfo32 clean
,install
18470 wine_fn_config_program net enable_net clean
,install
18471 wine_fn_config_program netsh enable_netsh
install
18472 wine_fn_config_program netstat enable_netstat clean
,install
18473 wine_fn_config_program ngen enable_ngen
install
18474 wine_fn_config_program notepad enable_notepad clean
,install,installbin
,manpage
18475 wine_fn_config_program oleview enable_oleview clean
,install
18476 wine_fn_config_program
ping enable_ping
install
18477 wine_fn_config_program plugplay enable_plugplay
install
18478 wine_fn_config_program presentationfontcache enable_presentationfontcache
install
18479 wine_fn_config_program progman enable_progman clean
,install
18480 wine_fn_config_program reg enable_reg clean
,install
18481 wine_fn_config_test programs
/reg
/tests reg.exe_test
18482 wine_fn_config_program regasm enable_regasm
install
18483 wine_fn_config_program regedit enable_regedit clean
,install,installbin
,manpage
18484 wine_fn_config_test programs
/regedit
/tests regedit.exe_test
18485 wine_fn_config_program regsvcs enable_regsvcs
install
18486 wine_fn_config_program regsvr32 enable_regsvr32 clean
,install,installbin
,manpage
18487 wine_fn_config_program rpcss enable_rpcss clean
,install
18488 wine_fn_config_program rundll.exe16 enable_win16
install
18489 wine_fn_config_program rundll32 enable_rundll32
install
18490 wine_fn_config_program sc enable_sc
install
18491 wine_fn_config_program schtasks enable_schtasks
install
18492 wine_fn_config_program sdbinst enable_sdbinst
install
18493 wine_fn_config_program secedit enable_secedit
install
18494 wine_fn_config_program servicemodelreg enable_servicemodelreg
install
18495 wine_fn_config_program services enable_services clean
,install
18496 wine_fn_config_test programs
/services
/tests services.exe_test
18497 wine_fn_config_program shutdown enable_shutdown
install
18498 wine_fn_config_program spoolsv enable_spoolsv
install
18499 wine_fn_config_program start enable_start clean
,install
18500 wine_fn_config_program subst enable_subst
install
18501 wine_fn_config_program svchost enable_svchost
install
18502 wine_fn_config_program systeminfo enable_systeminfo
install
18503 wine_fn_config_program taskkill enable_taskkill clean
,install
18504 wine_fn_config_program tasklist enable_tasklist
install
18505 wine_fn_config_program taskmgr enable_taskmgr clean
,install
18506 wine_fn_config_program termsv enable_termsv
install
18507 wine_fn_config_program uninstaller enable_uninstaller clean
,install
18508 wine_fn_config_program unlodctr enable_unlodctr
install
18509 wine_fn_config_program view enable_view clean
,install
18510 wine_fn_config_program wevtutil enable_wevtutil
install
18511 wine_fn_config_program wineboot enable_wineboot clean
,install,installbin
,manpage
18512 wine_fn_config_program winebrowser enable_winebrowser
install
18513 wine_fn_config_program winecfg enable_winecfg clean
,install,installbin
,manpage
18514 wine_fn_config_program wineconsole enable_wineconsole clean
,install,installbin
,manpage
18515 wine_fn_config_program winedbg enable_winedbg clean
,install,installbin
,manpage
18516 wine_fn_config_program winedevice enable_winedevice
install
18517 wine_fn_config_program winefile enable_winefile clean
,install,installbin
,manpage
18518 wine_fn_config_program winemenubuilder enable_winemenubuilder
install
18519 wine_fn_config_program winemine enable_winemine clean
,install,installbin
,manpage
18520 wine_fn_config_program winemsibuilder enable_winemsibuilder
install
18521 wine_fn_config_program winepath enable_winepath
install,installbin
,manpage
18522 wine_fn_config_program winetest enable_winetest clean
18523 wine_fn_config_program winevdm enable_win16
install
18524 wine_fn_config_program winhelp.exe16 enable_win16
install
18525 wine_fn_config_program winhlp32 enable_winhlp32 clean
,install
18526 wine_fn_config_program winoldap.mod16 enable_win16
install
18527 wine_fn_config_program winver enable_winver
install
18528 wine_fn_config_program wmic enable_wmic clean
,install
18529 wine_fn_config_program wmplayer enable_wmplayer
install
18530 wine_fn_config_program wordpad enable_wordpad clean
,install
18531 wine_fn_config_program
write enable_write clean
,install
18532 wine_fn_config_program wscript enable_wscript clean
,install
18533 wine_fn_config_test programs
/wscript
/tests wscript.exe_test
18534 wine_fn_config_program wusa enable_wusa
install
18535 wine_fn_config_program xcopy enable_xcopy clean
,install
18536 wine_fn_config_test programs
/xcopy
/tests xcopy.exe_test
18537 wine_fn_config_makefile server enable_server clean
,install-lib
18538 wine_fn_config_tool tools clean
18539 wine_fn_config_tool tools
/sfnt2fon clean
18540 wine_fn_config_tool tools
/widl clean
,install-dev
18541 wine_fn_config_tool tools
/winebuild clean
,install-dev
18542 wine_fn_config_tool tools
/winedump clean
,install-dev
18543 wine_fn_config_tool tools
/winegcc clean
,install-dev
18544 wine_fn_config_tool tools
/winemaker clean
,install-dev
18545 wine_fn_config_tool tools
/wmc clean
,install-dev
18546 wine_fn_config_tool tools
/wrc clean
,install-dev
18549 wine_fn_append_file CONFIGURE_TARGETS
"TAGS"
18550 wine_fn_append_file CONFIGURE_TARGETS
"tags"
18551 wine_fn_append_file CONFIGURE_TARGETS
"autom4te.cache"
18552 wine_fn_append_file CONFIGURE_TARGETS
"config.log"
18553 wine_fn_append_file CONFIGURE_TARGETS
"config.status"
18554 wine_fn_append_file CONFIGURE_TARGETS
"include/config.h"
18555 wine_fn_append_file CONFIGURE_TARGETS
"include/stamp-h"
18556 test "$wine_binary" = wine || wine_fn_append_file CONFIGURE_TARGETS
"loader/wine"
18558 if test "x$enable_tools" != xno
18560 wine_fn_append_file CONFIGURE_TARGETS
"tools/makedep$ac_exeext"
18561 ac_config_commands
="$ac_config_commands tools/makedep"
18565 ac_config_commands
="$ac_config_commands Makefile"
18568 ac_config_files
="$ac_config_files Make.tmp:Makefile.in"
18572 if test "x$enable_maintainer_mode" = xyes
18574 wine_fn_append_rule
"configure: configure.ac aclocal.m4
18575 autoconf --warnings=all
18576 include/config.h.in: include/stamp-h.in
18577 include/stamp-h.in: configure.ac aclocal.m4
18578 autoheader --warnings=all
18579 @echo timestamp > \$@"
18582 if test "x$enable_tools" != xno
18584 wine_fn_append_rule
"tools/makedep$ac_exeext: $srcdir/tools/makedep.c include/config.h config.status
18585 @./config.status tools/makedep
18586 Makefile: tools/makedep$ac_exeext"
18588 wine_fn_append_rule
"\$(MAKEDEP):
18589 @echo \"You need to run make in $TOOLSDIR first\" && false"
18592 if test -n "$with_wine64"
18594 wine_fn_append_rule
"all: fonts server $with_wine64/loader/wine $with_wine64/loader/wine-preloader
18596 \$(RM) \$@ && \$(LN_S) $with_wine64/\$@ \$@
18597 $with_wine64/loader/wine:
18598 \$(RM) \$@ && \$(LN_S) $ac_pwd/loader/wine \$@
18599 $with_wine64/loader/wine-preloader:
18600 \$(RM) \$@ && \$(LN_S) $ac_pwd/loader/wine-preloader \$@
18602 \$(RM) fonts server $with_wine64/loader/wine $with_wine64/loader/wine-preloader"
18604 WINELOADER_INSTALL
="wine.inf"
18606 wine_fn_append_rule
"install install-lib::
18607 \$(INSTALL_DATA) $srcdir/loader/l_intl.nls \$(DESTDIR)\$(datadir)/wine/l_intl.nls
18609 \$(RM) \$(DESTDIR)\$(datadir)/wine/l_intl.nls"
18611 cygwin
*|mingw32
*|darwin
*|macosx
*|linux-android
*) ;;
18612 *) wine_fn_append_rule
"install install-lib::
18613 \$(INSTALL_DATA) $srcdir/loader/wine.desktop \$(DESTDIR)\$(datadir)/applications/wine.desktop
18615 \$(RM) \$(DESTDIR)\$(datadir)/applications/wine.desktop" ;;
18619 $as_echo " done" >&6
18620 cat >confcache
<<\_ACEOF
18621 # This file is a shell script that caches the results of configure
18622 # tests run on this system so they can be shared between configure
18623 # scripts and configure runs, see configure's option --config-cache.
18624 # It is not useful on other systems. If it contains results you don't
18625 # want to keep, you may remove or edit it.
18627 # config.status only pays attention to the cache file if you give it
18628 # the --recheck option to rerun configure.
18630 # `ac_cv_env_foo' variables (set or unset) will be overridden when
18631 # loading this file, other *unset* `ac_cv_foo' will be assigned the
18632 # following values.
18636 # The following way of writing the cache mishandles newlines in values,
18637 # but we know of no workaround that is simple, portable, and efficient.
18638 # So, we kill variables containing newlines.
18639 # Ultrix sh set writes to stderr and can't be redirected directly,
18640 # and sets the high bit in the cache file unless we assign to the vars.
18642 for ac_var
in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
18643 eval ac_val
=\$
$ac_var
18647 *_cv_
*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
18648 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
18651 _ | IFS | as_nl
) ;; #(
18652 BASH_ARGV | BASH_SOURCE
) eval $ac_var= ;; #(
18653 *) { eval $ac_var=; unset $ac_var;} ;;
18659 case $as_nl`(ac_space=' '; set) 2>&1` in #(
18660 *${as_nl}ac_space
=\
*)
18661 # `set' does not quote correctly, so add quotes: double-quote
18662 # substitution turns \\\\ into \\, and sed turns \\ into \.
18665 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
18668 # `set' quotes correctly as required by POSIX, so do not add quotes.
18669 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
18678 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
18680 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
18682 if diff "$cache_file" confcache
>/dev
/null
2>&1; then :; else
18683 if test -w "$cache_file"; then
18684 if test "x$cache_file" != "x/dev/null"; then
18685 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
18686 $as_echo "$as_me: updating cache $cache_file" >&6;}
18687 if test ! -f "$cache_file" ||
test -h "$cache_file"; then
18688 cat confcache
>"$cache_file"
18690 case $cache_file in #(
18692 mv -f confcache
"$cache_file"$$
&&
18693 mv -f "$cache_file"$$
"$cache_file" ;; #(
18695 mv -f confcache
"$cache_file" ;;
18700 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
18701 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
18706 test "x$prefix" = xNONE
&& prefix
=$ac_default_prefix
18707 # Let make expand exec_prefix.
18708 test "x$exec_prefix" = xNONE
&& exec_prefix
='${prefix}'
18710 DEFS
=-DHAVE_CONFIG_H
18715 for ac_i
in : $LIBOBJS; do test "x$ac_i" = x
: && continue
18716 # 1. Remove the extension, and $U if already installed.
18717 ac_script
='s/\$U\././;s/\.o$//;s/\.obj$//'
18718 ac_i
=`$as_echo "$ac_i" | sed "$ac_script"`
18719 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
18720 # will be set to the directory where LIBOBJS objects are built.
18721 as_fn_append ac_libobjs
" \${LIBOBJDIR}$ac_i\$U.$ac_objext"
18722 as_fn_append ac_ltlibobjs
" \${LIBOBJDIR}$ac_i"'$U.lo'
18724 LIBOBJS
=$ac_libobjs
18726 LTLIBOBJS
=$ac_ltlibobjs
18730 : "${CONFIG_STATUS=./config.status}"
18732 ac_clean_files_save
=$ac_clean_files
18733 ac_clean_files
="$ac_clean_files $CONFIG_STATUS"
18734 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
18735 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
18737 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
18739 # Generated by $as_me.
18740 # Run this file to recreate the current configuration.
18741 # Compiler output produced by configure, useful for debugging
18742 # configure, is in config.log if it exists.
18745 ac_cs_recheck=false
18748 SHELL=\${CONFIG_SHELL-$SHELL}
18751 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail
=1
18752 ## -------------------- ##
18753 ## M4sh Initialization. ##
18754 ## -------------------- ##
18756 # Be more Bourne compatible
18757 DUALCASE
=1; export DUALCASE
# for MKS sh
18758 if test -n "${ZSH_VERSION+set}" && (emulate sh
) >/dev
/null
2>&1; then :
18761 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
18762 # is contrary to our usage. Disable this feature.
18763 alias -g '${1+"$@"}'='"$@"'
18764 setopt NO_GLOB_SUBST
18766 case `(set -o) 2>/dev/null` in #(
18778 # Printing a long string crashes Solaris 7 /usr/bin/printf.
18779 as_echo
='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
18780 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
18781 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
18782 # Prefer a ksh shell builtin over an external printf program on Solaris,
18783 # but without wasting forks for bash or zsh.
18784 if test -z "$BASH_VERSION$ZSH_VERSION" \
18785 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
18786 as_echo='print
-r --'
18787 as_echo_n='print
-rn --'
18788 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
18789 as_echo='printf %s
\n'
18790 as_echo_n='printf %s
'
18792 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
18793 as_echo_body='eval /usr
/ucb
/echo -n "$1$as_nl"'
18794 as_echo_n='/usr
/ucb
/echo -n'
18796 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
18797 as_echo_n_body='eval
18801 expr "X$arg" : "X\\(.*\\)$as_nl";
18802 arg
=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
18804 expr "X$arg" : "X\\(.*\\)" |
tr -d "$as_nl"
18806 export as_echo_n_body
18807 as_echo_n='sh
-c $as_echo_n_body as_echo
'
18809 export as_echo_body
18810 as_echo='sh
-c $as_echo_body as_echo
'
18813 # The user is always right.
18814 if test "${PATH_SEPARATOR+set}" != set; then
18816 (PATH='/bin
;/bin
'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
18817 (PATH='/bin
:/bin
'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
18824 # We need space, tab and new line, in precisely that order. Quoting is
18825 # there to prevent editors from complaining about space-tab.
18826 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
18827 # splitting by setting IFS to empty value.)
18830 # Find who we are. Look in the path if we contain no directory separator.
18833 *[\\/]* ) as_myself=$0 ;;
18834 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
18835 for as_dir in $PATH
18838 test -z "$as_dir" && as_dir=.
18839 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
18845 # We did not find ourselves, most probably we were run as `sh COMMAND'
18846 # in which case we are not to be found in the path.
18847 if test "x$as_myself" = x
; then
18850 if test ! -f "$as_myself"; then
18851 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
18855 # Unset variables that we do not need and which cause bugs (e.g. in
18856 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
18857 # suppresses any "Segmentation fault" message there. '((' could
18858 # trigger a bug in pdksh 5.2.14.
18859 for as_var
in BASH_ENV ENV MAIL MAILPATH
18860 do eval test x\
${$as_var+set} = xset \
18861 && ( (unset $as_var) ||
exit 1) >/dev
/null
2>&1 && unset $as_var ||
:
18874 (unset CDPATH
) >/dev
/null
2>&1 && unset CDPATH
18877 # as_fn_error STATUS ERROR [LINENO LOG_FD]
18878 # ----------------------------------------
18879 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
18880 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
18881 # script with STATUS, using 1 if that was 0.
18884 as_status
=$1; test $as_status -eq 0 && as_status
=1
18886 as_lineno
=${as_lineno-"$3"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
18887 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
18889 $as_echo "$as_me: error: $2" >&2
18890 as_fn_exit
$as_status
18894 # as_fn_set_status STATUS
18895 # -----------------------
18896 # Set $? to STATUS, without forking.
18897 as_fn_set_status
()
18900 } # as_fn_set_status
18902 # as_fn_exit STATUS
18903 # -----------------
18904 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
18908 as_fn_set_status
$1
18914 # Portably unset VAR.
18917 { eval $1=; unset $1;}
18919 as_unset
=as_fn_unset
18920 # as_fn_append VAR VALUE
18921 # ----------------------
18922 # Append the text in VALUE to the end of the definition contained in VAR. Take
18923 # advantage of any shell optimizations that allow amortized linear growth over
18924 # repeated appends, instead of the typical quadratic growth present in naive
18926 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev
/null
; then :
18927 eval 'as_fn_append ()
18938 # as_fn_arith ARG...
18939 # ------------------
18940 # Perform arithmetic evaluation on the ARGs, and store the result in the
18941 # global $as_val. Take advantage of shells that can avoid forks. The arguments
18942 # must be portable across $(()) and expr.
18943 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev
/null
; then :
18944 eval 'as_fn_arith ()
18951 as_val
=`expr "$@" || test $? -eq 1`
18956 if expr a
: '\(a\)' >/dev
/null
2>&1 &&
18957 test "X`expr 00001 : '.*\(...\)'`" = X001
; then
18963 if (basename -- /) >/dev
/null
2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
18964 as_basename
=basename
18969 if (as_dir
=`dirname -- /` && test "X$as_dir" = X
/) >/dev
/null
2>&1; then
18975 as_me
=`$as_basename -- "$0" ||
18976 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
18977 X"$0" : 'X\(//\)$' \| \
18978 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
18980 sed '/^.*\/\([^/][^/]*\)\/*$/{
18994 # Avoid depending upon Character Ranges.
18995 as_cr_letters
='abcdefghijklmnopqrstuvwxyz'
18996 as_cr_LETTERS
='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
18997 as_cr_Letters
=$as_cr_letters$as_cr_LETTERS
18998 as_cr_digits
='0123456789'
18999 as_cr_alnum
=$as_cr_Letters$as_cr_digits
19001 ECHO_C
= ECHO_N
= ECHO_T
=
19002 case `echo -n x` in #(((((
19004 case `echo 'xy\c'` in
19005 *c
*) ECHO_T
=' ';; # ECHO_T is single tab character.
19007 *) echo `echo ksh88 bug on AIX 6.1` > /dev
/null
19014 rm -f conf$$ conf$$.exe conf$$.
file
19015 if test -d conf$$.dir
; then
19016 rm -f conf$$.dir
/conf$$.
file
19019 mkdir conf$$.dir
2>/dev
/null
19021 if (echo >conf$$.
file) 2>/dev
/null
; then
19022 if ln -s conf$$.
file conf$$
2>/dev
/null
; then
19024 # ... but there are two gotchas:
19025 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
19026 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
19027 # In both cases, we have to default to `cp -pR'.
19028 ln -s conf$$.
file conf$$.dir
2>/dev
/null
&& test ! -f conf$$.exe ||
19030 elif ln conf$$.
file conf$$
2>/dev
/null
; then
19038 rm -f conf$$ conf$$.exe conf$$.dir
/conf$$.
file conf$$.
file
19039 rmdir conf$$.dir
2>/dev
/null
19044 # Create "$as_dir" as a directory, including parents if necessary.
19049 -*) as_dir
=.
/$as_dir;;
19051 test -d "$as_dir" ||
eval $as_mkdir_p ||
{
19055 *\'*) as_qdir
=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
19056 *) as_qdir
=$as_dir;;
19058 as_dirs
="'$as_qdir' $as_dirs"
19059 as_dir
=`$as_dirname -- "$as_dir" ||
19060 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
19061 X"$as_dir" : 'X\(//\)[^/]' \| \
19062 X"$as_dir" : 'X\(//\)$' \| \
19063 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
19064 $as_echo X"$as_dir" |
19065 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
19069 /^X\(\/\/\)[^/].*/{
19082 test -d "$as_dir" && break
19084 test -z "$as_dirs" ||
eval "mkdir $as_dirs"
19085 } ||
test -d "$as_dir" || as_fn_error $?
"cannot create directory $as_dir"
19089 if mkdir
-p .
2>/dev
/null
; then
19090 as_mkdir_p
='mkdir -p "$as_dir"'
19092 test -d .
/-p && rmdir .
/-p
19097 # as_fn_executable_p FILE
19098 # -----------------------
19099 # Test if FILE is an executable regular file.
19100 as_fn_executable_p
()
19102 test -f "$1" && test -x "$1"
19103 } # as_fn_executable_p
19104 as_test_x
='test -x'
19105 as_executable_p
=as_fn_executable_p
19107 # Sed expression to map a string onto a valid CPP name.
19108 as_tr_cpp
="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
19110 # Sed expression to map a string onto a valid variable name.
19111 as_tr_sh
="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
19115 ## ----------------------------------- ##
19116 ## Main body of $CONFIG_STATUS script. ##
19117 ## ----------------------------------- ##
19119 test $as_write_fail = 0 && chmod +x
$CONFIG_STATUS || ac_write_fail
=1
19121 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
19122 # Save the log message, to keep $0 and so on meaningful, and to
19123 # report actual input values of CONFIG_FILES etc. instead of their
19124 # values after options handling.
19126 This file was extended by Wine $as_me 1.9.21, which was
19127 generated by GNU Autoconf 2.69. Invocation command line was
19129 CONFIG_FILES = $CONFIG_FILES
19130 CONFIG_HEADERS = $CONFIG_HEADERS
19131 CONFIG_LINKS = $CONFIG_LINKS
19132 CONFIG_COMMANDS = $CONFIG_COMMANDS
19135 on `(hostname || uname -n) 2>/dev/null | sed 1q`
19140 case $ac_config_files in *"
19141 "*) set x
$ac_config_files; shift; ac_config_files
=$
*;;
19144 case $ac_config_headers in *"
19145 "*) set x
$ac_config_headers; shift; ac_config_headers
=$
*;;
19149 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
19150 # Files that config.status was made for.
19151 config_files="$ac_config_files"
19152 config_headers="$ac_config_headers"
19153 config_links="$ac_config_links"
19154 config_commands="$ac_config_commands"
19158 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
19160 \`$as_me' instantiates files and other configuration actions
19161 from templates according to the current configuration. Unless the files
19162 and actions are specified as TAGs, all are instantiated by default.
19164 Usage: $0 [OPTION]... [TAG]...
19166 -h, --help print this help, then exit
19167 -V, --version print version number and configuration settings, then exit
19168 --config print configuration, then exit
19169 -q, --quiet, --silent
19170 do not print progress messages
19171 -d, --debug don't remove temporary files
19172 --recheck update $as_me by reconfiguring in the same conditions
19173 --file=FILE[:TEMPLATE]
19174 instantiate the configuration file FILE
19175 --header=FILE[:TEMPLATE]
19176 instantiate the configuration header FILE
19178 Configuration files:
19181 Configuration headers:
19184 Configuration links:
19187 Configuration commands:
19190 Report bugs to <wine-devel@winehq.org>.
19191 Wine home page: <http://www.winehq.org>."
19194 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
19195 ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
19197 Wine config.status 1.9.21
19198 configured by $0, generated by GNU Autoconf 2.69,
19199 with options \\"\$ac_cs_config\\"
19201 Copyright (C) 2012 Free Software Foundation, Inc.
19202 This config.status script is free software; the Free Software Foundation
19203 gives unlimited permission to copy, distribute and modify it."
19207 test -n "\$AWK" || AWK=awk
19210 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
19211 # The default lists apply if the user does not specify any file.
19217 ac_option
=`expr "X$1" : 'X\([^=]*\)='`
19218 ac_optarg
=`expr "X$1" : 'X[^=]*=\(.*\)'`
19222 ac_option
=`expr "X$1" : 'X\([^=]*\)='`
19234 # Handling of the options.
19235 -recheck |
--recheck |
--rechec |
--reche |
--rech |
--rec |
--re |
--r)
19237 --version |
--versio |
--versi |
--vers |
--ver |
--ve |
--v |
-V )
19238 $as_echo "$ac_cs_version"; exit ;;
19239 --config |
--confi |
--conf |
--con |
--co |
--c )
19240 $as_echo "$ac_cs_config"; exit ;;
19241 --debug |
--debu |
--deb |
--de |
--d |
-d )
19243 --file |
--fil |
--fi |
--f )
19246 *\'*) ac_optarg
=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
19247 '') as_fn_error $?
"missing file argument" ;;
19249 as_fn_append CONFIG_FILES
" '$ac_optarg'"
19250 ac_need_defaults
=false
;;
19251 --header |
--heade |
--head |
--hea )
19254 *\'*) ac_optarg
=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
19256 as_fn_append CONFIG_HEADERS
" '$ac_optarg'"
19257 ac_need_defaults
=false
;;
19259 # Conflict between --help and --header
19260 as_fn_error $?
"ambiguous option: \`$1'
19261 Try \`$0 --help' for more information.";;
19262 --help |
--hel |
-h )
19263 $as_echo "$ac_cs_usage"; exit ;;
19264 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
19265 |
-silent |
--silent |
--silen |
--sile |
--sil |
--si |
--s)
19268 # This is an error.
19269 -*) as_fn_error $?
"unrecognized option: \`$1'
19270 Try \`$0 --help' for more information." ;;
19272 *) as_fn_append ac_config_targets
" $1"
19273 ac_need_defaults
=false
;;
19279 ac_configure_extra_args
=
19281 if $ac_cs_silent; then
19283 ac_configure_extra_args
="$ac_configure_extra_args --silent"
19287 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
19288 if \$ac_cs_recheck; then
19289 set X $SHELL '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
19291 \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
19292 CONFIG_SHELL='$SHELL'
19293 export CONFIG_SHELL
19298 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
19302 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
19303 ## Running $as_me. ##
19309 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
19313 wine_fn_output_makedep ()
19315 as_dir=tools; as_fn_mkdir_p
19316 $CC -Iinclude -I$srcdir/include -D__WINESRC__ $EXTRACFLAGS $CPPFLAGS $CFLAGS -o tools/makedep$ac_exeext $srcdir/tools/makedep.c $LDFLAGS
19318 wine_fn_output_makefile ()
19320 cat Make.tmp - <<\_WINE_EOF >\$tmp/makefile && mv -f \$tmp/makefile \$1 && rm -f Make.tmp && "$wine_makedep" && return
19321 `cat $wine_rules_file`
19323 as_fn_error $? "could not create Makefile" "$LINENO" 5
19328 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
19330 # Handling of arguments.
19331 for ac_config_target
in $ac_config_targets
19333 case $ac_config_target in
19334 "include/config.h") CONFIG_HEADERS
="$CONFIG_HEADERS include/config.h" ;;
19335 "include/stamp-h") CONFIG_COMMANDS
="$CONFIG_COMMANDS include/stamp-h" ;;
19336 "fonts/marlett.ttf") CONFIG_LINKS
="$CONFIG_LINKS fonts/marlett.ttf:fonts/marlett.ttf" ;;
19337 "fonts/symbol.ttf") CONFIG_LINKS
="$CONFIG_LINKS fonts/symbol.ttf:fonts/symbol.ttf" ;;
19338 "fonts/tahoma.ttf") CONFIG_LINKS
="$CONFIG_LINKS fonts/tahoma.ttf:fonts/tahoma.ttf" ;;
19339 "fonts/tahomabd.ttf") CONFIG_LINKS
="$CONFIG_LINKS fonts/tahomabd.ttf:fonts/tahomabd.ttf" ;;
19340 "fonts/wingding.ttf") CONFIG_LINKS
="$CONFIG_LINKS fonts/wingding.ttf:fonts/wingding.ttf" ;;
19341 "loader/l_intl.nls") CONFIG_LINKS
="$CONFIG_LINKS loader/l_intl.nls:loader/l_intl.nls" ;;
19342 "wine") CONFIG_LINKS
="$CONFIG_LINKS wine:tools/winewrapper" ;;
19343 "wine64") CONFIG_LINKS
="$CONFIG_LINKS wine64:tools/winewrapper" ;;
19344 "tools/makedep") CONFIG_COMMANDS
="$CONFIG_COMMANDS tools/makedep" ;;
19345 "Makefile") CONFIG_COMMANDS
="$CONFIG_COMMANDS Makefile" ;;
19346 "Make.tmp") CONFIG_FILES
="$CONFIG_FILES Make.tmp:Makefile.in" ;;
19348 *) as_fn_error $?
"invalid argument: \`$ac_config_target'" "$LINENO" 5;;
19353 # If the user did not use the arguments to specify the items to instantiate,
19354 # then the envvar interface is used. Set only those that are not.
19355 # We use the long form for the default assignment because of an extremely
19356 # bizarre bug on SunOS 4.1.3.
19357 if $ac_need_defaults; then
19358 test "${CONFIG_FILES+set}" = set || CONFIG_FILES
=$config_files
19359 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS
=$config_headers
19360 test "${CONFIG_LINKS+set}" = set || CONFIG_LINKS
=$config_links
19361 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS
=$config_commands
19364 # Have a temporary directory for convenience. Make it in the build tree
19365 # simply because there is no reason against having it here, and in addition,
19366 # creating and moving files from /tmp can sometimes cause problems.
19367 # Hook for its removal unless debugging.
19368 # Note that there is a small window in which the directory will not be cleaned:
19369 # after its creation but before its name has been assigned to `$tmp'.
19373 trap 'exit_status=$?
19374 : "${ac_tmp:=$tmp}"
19375 { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
19377 trap 'as_fn_exit 1' 1 2 13 15
19379 # Create a (secure) tmp directory for tmp files.
19382 tmp
=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
19386 tmp
=.
/conf$$
-$RANDOM
19387 (umask 077 && mkdir
"$tmp")
19388 } || as_fn_error $?
"cannot create a temporary directory in ." "$LINENO" 5
19391 # Set up the scripts for CONFIG_FILES section.
19392 # No need to generate them if there are no CONFIG_FILES.
19393 # This happens for instance with `./config.status config.h'.
19394 if test -n "$CONFIG_FILES"; then
19397 ac_cr
=`echo X | tr X '\015'`
19398 # On cygwin, bash can eat \r inside `` if the user requested igncr.
19399 # But we know of no other shell where ac_cr would be empty at this
19400 # point, so we can use a bashism as a fallback.
19401 if test "x$ac_cr" = x
; then
19402 eval ac_cr
=\$
\'\\r
\'
19404 ac_cs_awk_cr
=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
19405 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
19408 ac_cs_awk_cr
=$ac_cr
19411 echo 'BEGIN {' >"$ac_tmp/subs1.awk" &&
19416 echo "cat >conf$$subs.awk <<_ACEOF" &&
19417 echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
19419 } >conf$$subs.sh ||
19420 as_fn_error $? "could not
make $CONFIG_STATUS" "$LINENO" 5
19421 ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
19423 for ac_last_try in false false false false false :; do
19424 . ./conf$$subs.sh ||
19425 as_fn_error $? "could not
make $CONFIG_STATUS" "$LINENO" 5
19427 ac_delim_n=`sed -n "s
/.
*$ac_delim\$
/X
/p
" conf$$subs.awk | grep -c X`
19428 if test $ac_delim_n = $ac_delim_num; then
19430 elif $ac_last_try; then
19431 as_fn_error $? "could not
make $CONFIG_STATUS" "$LINENO" 5
19433 ac_delim="$ac_delim!$ac_delim _
$ac_delim!! "
19436 rm -f conf$$subs.sh
19438 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
19439 cat >>"\
$ac_tmp/subs1.
awk" <<\\_ACAWK &&
19443 s/^/S["/; s
/!.
*/"]=/
19453 s/\(.\{148\}\)..*/\1/
19455 s/["\\]/\\&/g
; s
/^
/"/; s/$/\\n"\\/
19460 s
/["\\]/\\&/g; s/^/"/; s
/$
/"\\/
19467 s/\(.\{148\}\)..*/\1/
19469 s/["\\]/\\&/g
; s
/^
/"/; s/$/"/
19473 s
/["\\]/\\&/g; s/^/"/; s
/$
/"\\/
19478 ' <conf$$subs.awk | sed '
19483 ' >>$CONFIG_STATUS || ac_write_fail=1
19484 rm -f conf$$subs.awk
19485 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
19487 cat >>"\
$ac_tmp/subs1.
awk" <<_ACAWK &&
19488 for (key in S) S_is_set[key] = 1
19494 nfields = split(line, field, "@
")
19496 len = length(field[1])
19497 for (i = 2; i < nfields; i++) {
19499 keylen = length(key)
19500 if (S_is_set[key]) {
19502 line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
19503 len += length(value) + length(field[++i])
19514 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
19515 if sed "s
/$ac_cr//" < /dev/null > /dev/null 2>&1; then
19516 sed "s
/$ac_cr\$
//; s
/$ac_cr/$ac_cs_awk_cr/g
"
19519 fi < "$ac_tmp/subs1.
awk" > "$ac_tmp/subs.
awk" \
19520 || as_fn_error $? "could not setup config files machinery
" "$LINENO" 5
19523 # VPATH may cause trouble with some makes, so we remove sole $(srcdir),
19524 # ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".
", strip leading and
19525 # trailing colons and then remove the whole line if VPATH becomes empty
19526 # (actually we leave an empty line to preserve line numbers).
19527 if test "x
$srcdir" = x.; then
19528 ac_vpsub='/^[ ]*VPATH[ ]*=[ ]*/{
19546 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
19547 fi # test -n "$CONFIG_FILES"
19549 # Set up the scripts for CONFIG_HEADERS section.
19550 # No need to generate them if there are no CONFIG_HEADERS.
19551 # This happens for instance with `./config.status Makefile'.
19552 if test -n "$CONFIG_HEADERS"; then
19553 cat >"$ac_tmp/defines.
awk" <<\_ACAWK ||
19557 # Transform confdefs.h into an awk script `defines.awk', embedded as
19558 # here-document in config.status, that substitutes the proper values into
19559 # config.h.in to produce config.h.
19561 # Create a delimiter string that does not exist in confdefs.h, to ease
19562 # handling of long lines.
19564 for ac_last_try in false false :; do
19565 ac_tt=`sed -n "/$ac_delim/p
" confdefs.h`
19566 if test -z "$ac_tt"; then
19568 elif $ac_last_try; then
19569 as_fn_error $? "could not
make $CONFIG_HEADERS" "$LINENO" 5
19571 ac_delim="$ac_delim!$ac_delim _
$ac_delim!! "
19575 # For the awk script, D is an array of macro values keyed by name,
19576 # likewise P contains macro parameters if any. Preserve backslash
19577 # newline sequences.
19579 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
19581 s/.\{148\}/&'"$ac_delim"'/g
19584 s/^[ ]*#[ ]*define[ ][ ]*/ /
19591 s
/^ \
('"$ac_word_re"'\
)\
(([^
()]*)\
)[ ]*\
(.
*\
)/P
["\1"]="\2"\
19593 s
/^ \
('"$ac_word_re"'\
)[ ]*\
(.
*\
)/D
["\1"]=" \2"/p
19597 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\
1"]="\
2"\
19598 D["\
1"]=" \
3\\\\\\n
"\\/p
19600 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\
1"]=" \
2\\\\\\n
"\\/p
19605 s/.\{148\}/&'"$ac_delim"'/g
19610 s/["\\]/\\&/g
; s
/^
/"/; s/$/"/p
19613 s
/["\\]/\\&/g; s/^/"/; s
/$
/\\\\\\n
"\\/p
19615 ' <confdefs.h | sed '
19616 s/'"$ac_delim"'/"\\\
19617 "/g' >>$CONFIG_STATUS || ac_write_fail=1
19619 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
19620 for (key in D) D_is_set[key] = 1
19623 /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
19625 split(line, arg, " ")
19626 if (arg[1] == "#") {
19630 defundef
= substr
(arg
[1], 2)
19633 split(mac1
, mac2
, "(") #)
19635 prefix
= substr
(line
, 1, index
(line
, defundef
) - 1)
19636 if (D_is_set
[macro
]) {
19637 # Preserve the white space surrounding the "#".
19638 print prefix
"define", macro P
[macro
] D
[macro
]
19641 # Replace #undef with comments. This is necessary, for example,
19642 # in the case of _POSIX_SOURCE, which is predefined and required
19643 # on some systems where configure will not decide to define it.
19644 if (defundef
== "undef") {
19645 print
"/*", prefix defundef
, macro
, "*/"
19653 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
19654 as_fn_error $?
"could not setup config headers machinery" "$LINENO" 5
19655 fi # test -n "$CONFIG_HEADERS"
19658 eval set X
" :F $CONFIG_FILES :H $CONFIG_HEADERS :L $CONFIG_LINKS :C $CONFIG_COMMANDS"
19663 :[FHLC
]) ac_mode
=$ac_tag; continue;;
19665 case $ac_mode$ac_tag in
19667 :L
* |
:C
*:*) as_fn_error $?
"invalid tag \`$ac_tag'" "$LINENO" 5;;
19668 :[FH
]-) ac_tag
=-:-;;
19669 :[FH
]*) ac_tag
=$ac_tag:$ac_tag.
in;;
19686 -) ac_f
="$ac_tmp/stdin";;
19687 *) # Look for the file first in the build tree, then in the source tree
19688 # (if the path is not absolute). The absolute path cannot be DOS-style,
19689 # because $ac_f cannot contain `:'.
19693 *) test -f "$srcdir/$ac_f" && ac_f
="$srcdir/$ac_f";;
19695 as_fn_error
1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
19697 case $ac_f in *\'*) ac_f
=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
19698 as_fn_append ac_file_inputs
" '$ac_f'"
19701 # Let's still pretend it is `configure' which instantiates (i.e., don't
19702 # use $as_me), people would be surprised to read:
19703 # /* config.h. Generated by config.status. */
19704 configure_input
='Generated from '`
19705 $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
19707 if test x
"$ac_file" != x-
; then
19708 configure_input
="$ac_file. $configure_input"
19709 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
19710 $as_echo "$as_me: creating $ac_file" >&6;}
19712 # Neutralize special characters interpreted by sed in replacement strings.
19713 case $configure_input in #(
19714 *\
&* |
*\|
* |
*\\* )
19715 ac_sed_conf_input
=`$as_echo "$configure_input" |
19716 sed 's/[\\\\&|]/\\\\&/g'`;; #(
19717 *) ac_sed_conf_input
=$configure_input;;
19721 *:-:* |
*:-) cat >"$ac_tmp/stdin" \
19722 || as_fn_error $?
"could not create $ac_file" "$LINENO" 5 ;;
19727 ac_dir
=`$as_dirname -- "$ac_file" ||
19728 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
19729 X"$ac_file" : 'X\(//\)[^/]' \| \
19730 X"$ac_file" : 'X\(//\)$' \| \
19731 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
19732 $as_echo X"$ac_file" |
19733 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
19737 /^X\(\/\/\)[^/].*/{
19750 as_dir
="$ac_dir"; as_fn_mkdir_p
19754 .
) ac_dir_suffix
= ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
19756 ac_dir_suffix
=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
19757 # A ".." for each directory in $ac_dir_suffix.
19758 ac_top_builddir_sub
=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
19759 case $ac_top_builddir_sub in
19760 "") ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
19761 *) ac_top_build_prefix
=$ac_top_builddir_sub/ ;;
19764 ac_abs_top_builddir
=$ac_pwd
19765 ac_abs_builddir
=$ac_pwd$ac_dir_suffix
19766 # for backward compatibility:
19767 ac_top_builddir
=$ac_top_build_prefix
19770 .
) # We are building in place.
19772 ac_top_srcdir
=$ac_top_builddir_sub
19773 ac_abs_top_srcdir
=$ac_pwd ;;
19774 [\\/]* | ?
:[\\/]* ) # Absolute name.
19775 ac_srcdir
=$srcdir$ac_dir_suffix;
19776 ac_top_srcdir
=$srcdir
19777 ac_abs_top_srcdir
=$srcdir ;;
19778 *) # Relative name.
19779 ac_srcdir
=$ac_top_build_prefix$srcdir$ac_dir_suffix
19780 ac_top_srcdir
=$ac_top_build_prefix$srcdir
19781 ac_abs_top_srcdir
=$ac_pwd/$srcdir ;;
19783 ac_abs_srcdir
=$ac_abs_top_srcdir$ac_dir_suffix
19794 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
19795 # If the template does not know about datarootdir, expand it.
19796 # FIXME: This hack should be removed a few years after 2.60.
19797 ac_datarootdir_hack
=; ac_datarootdir_seen
=
19808 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
19809 *datarootdir
*) ac_datarootdir_seen
=yes;;
19810 *@datadir@
*|
*@docdir@
*|
*@infodir@
*|
*@localedir@
*|
*@mandir@
*)
19811 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
19812 $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
19814 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
19815 ac_datarootdir_hack='
19816 s&@datadir@&$datadir&g
19817 s&@docdir@&$docdir&g
19818 s&@infodir@&$infodir&g
19819 s&@localedir@&$localedir&g
19820 s&@mandir@&$mandir&g
19821 s&\\\${datarootdir}&$datarootdir&g' ;;
19825 # Neutralize VPATH when `$srcdir' = `.'.
19826 # Shell code in configure.ac might set extrasub.
19827 # FIXME: do we really want to maintain this feature?
19828 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
19829 ac_sed_extra="$ac_vpsub
19832 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
19834 /@
[a-zA-Z_
][a-zA-Z_0-9
]*@
/!b
19835 s|@configure_input@|
$ac_sed_conf_input|
;t t
19836 s
&@top_builddir@
&$ac_top_builddir_sub&;t t
19837 s
&@top_build_prefix@
&$ac_top_build_prefix&;t t
19838 s
&@srcdir@
&$ac_srcdir&;t t
19839 s
&@abs_srcdir@
&$ac_abs_srcdir&;t t
19840 s
&@top_srcdir@
&$ac_top_srcdir&;t t
19841 s
&@abs_top_srcdir@
&$ac_abs_top_srcdir&;t t
19842 s
&@builddir@
&$ac_builddir&;t t
19843 s
&@abs_builddir@
&$ac_abs_builddir&;t t
19844 s
&@abs_top_builddir@
&$ac_abs_top_builddir&;t t
19845 $ac_datarootdir_hack
19847 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.
awk" \
19848 >$ac_tmp/out || as_fn_error $? "could not create
$ac_file" "$LINENO" 5
19850 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
19851 { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out
"`; test -n "$ac_out"; } &&
19852 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' \
19853 "$ac_tmp/out
"`; test -z "$ac_out"; } &&
19854 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: $ac_file contains a reference to the variable \
`datarootdir'
19855 which seems to be undefined. Please make sure it is defined" >&5
19856 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir
'
19857 which seems to be undefined. Please make sure it is defined" >&2;}
19859 rm -f "$ac_tmp/stdin"
19861 -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";;
19862 *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";;
19864 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
19870 if test x"$ac_file" != x-; then
19872 $as_echo "/* $configure_input */" \
19873 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs"
19874 } >"$ac_tmp/config.h" \
19875 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
19876 if diff "$ac_file" "$ac_tmp/config.h" >/dev/null 2>&1; then
19877 { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
19878 $as_echo "$as_me: $ac_file is unchanged" >&6;}
19881 mv "$ac_tmp/config.h" "$ac_file" \
19882 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
19885 $as_echo "/* $configure_input */" \
19886 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" \
19887 || as_fn_error $? "could not create -" "$LINENO" 5
19895 if test "$ac_source" = "$ac_file" && test "$srcdir" = '.
'; then
19898 # Prefer the file from the source tree if names are identical.
19899 if test "$ac_source" = "$ac_file" || test ! -r "$ac_source"; then
19900 ac_source=$srcdir/$ac_source
19903 { $as_echo "$as_me:${as_lineno-$LINENO}: linking $ac_source to $ac_file" >&5
19904 $as_echo "$as_me: linking $ac_source to $ac_file" >&6;}
19906 if test ! -r "$ac_source"; then
19907 as_fn_error $? "$ac_source: file not found" "$LINENO" 5
19911 # Try a relative symlink, then a hard link, then a copy.
19913 [\\/$]* | ?:[\\/]* ) ac_rel_source=$ac_source ;;
19914 *) ac_rel_source=$ac_top_build_prefix$ac_source ;;
19916 ln -s "$ac_rel_source" "$ac_file" 2>/dev/null ||
19917 ln "$ac_source" "$ac_file" 2>/dev/null ||
19918 cp -p "$ac_source" "$ac_file" ||
19919 as_fn_error $? "cannot link or copy $ac_source to $ac_file" "$LINENO" 5
19922 :C) { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
19923 $as_echo "$as_me: executing $ac_file commands" >&6;}
19928 case $ac_file$ac_mode in
19929 "include/stamp-h":C) echo timestamp > include/stamp-h ;;
19930 "tools/makedep":C) wine_fn_output_makedep || as_fn_exit $? ;;
19931 "Makefile":C) wine_fn_output_makefile Makefile ;;
19939 ac_clean_files=$ac_clean_files_save
19941 test $ac_write_fail = 0 ||
19942 as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5
19945 # configure is writing to config.log, and then calls config.status.
19946 # config.status does its own redirection, appending to config.log.
19947 # Unfortunately, on DOS this fails, as config.log is still kept open
19948 # by configure, so config.status won't be able to
write to it
; its
19949 # output is simply discarded. So we exec the FD to /dev/null,
19950 # effectively closing config.log, so it can be properly (re)opened and
19951 # appended to by config.status. When coming back to configure, we
19952 # need to make the FD available again.
19953 if test "$no_create" != yes; then
19955 ac_config_status_args
=
19956 test "$silent" = yes &&
19957 ac_config_status_args
="$ac_config_status_args --quiet"
19959 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success
=false
19961 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
19962 # would make configure fail if this is the last instruction.
19963 $ac_cs_success || as_fn_exit
1
19965 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no
; then
19966 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
19967 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
19971 if test "$no_create" = "yes"
19977 if test "x$wine_notices" != x
; then
19980 for msg
in $wine_notices; do
19982 if ${msg:+false} :; then :
19985 { $as_echo "$as_me:${as_lineno-$LINENO}: $msg" >&5
19986 $as_echo "$as_me: $msg" >&6;}
19991 for msg
in $wine_warnings; do
19993 if ${msg:+false} :; then :
19997 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $msg" >&5
19998 $as_echo "$as_me: WARNING: $msg" >&2;}
20004 $as_me: Finished. Do '${ac_make}' to compile Wine.