2 # Guess values for system-dependent variables and create Makefiles.
3 # Generated by GNU Autoconf 2.69 for Wine 2.1.
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
='2.1'
584 PACKAGE_STRING
='Wine 2.1'
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_identity_l1_1_0
878 enable_api_ms_win_appmodel_runtime_l1_1_1
879 enable_api_ms_win_core_apiquery_l1_1_0
880 enable_api_ms_win_core_appcompat_l1_1_1
881 enable_api_ms_win_core_appinit_l1_1_0
882 enable_api_ms_win_core_atoms_l1_1_0
883 enable_api_ms_win_core_bem_l1_1_0
884 enable_api_ms_win_core_com_l1_1_0
885 enable_api_ms_win_core_com_l1_1_1
886 enable_api_ms_win_core_com_private_l1_1_0
887 enable_api_ms_win_core_console_l1_1_0
888 enable_api_ms_win_core_console_l2_1_0
889 enable_api_ms_win_core_datetime_l1_1_0
890 enable_api_ms_win_core_datetime_l1_1_1
891 enable_api_ms_win_core_debug_l1_1_0
892 enable_api_ms_win_core_debug_l1_1_1
893 enable_api_ms_win_core_delayload_l1_1_0
894 enable_api_ms_win_core_delayload_l1_1_1
895 enable_api_ms_win_core_errorhandling_l1_1_0
896 enable_api_ms_win_core_errorhandling_l1_1_1
897 enable_api_ms_win_core_errorhandling_l1_1_2
898 enable_api_ms_win_core_fibers_l1_1_0
899 enable_api_ms_win_core_fibers_l1_1_1
900 enable_api_ms_win_core_file_l1_1_0
901 enable_api_ms_win_core_file_l1_2_0
902 enable_api_ms_win_core_file_l1_2_1
903 enable_api_ms_win_core_file_l2_1_0
904 enable_api_ms_win_core_file_l2_1_1
905 enable_api_ms_win_core_handle_l1_1_0
906 enable_api_ms_win_core_heap_l1_1_0
907 enable_api_ms_win_core_heap_l1_2_0
908 enable_api_ms_win_core_heap_obsolete_l1_1_0
909 enable_api_ms_win_core_interlocked_l1_1_0
910 enable_api_ms_win_core_interlocked_l1_2_0
911 enable_api_ms_win_core_io_l1_1_0
912 enable_api_ms_win_core_io_l1_1_1
913 enable_api_ms_win_core_job_l1_1_0
914 enable_api_ms_win_core_job_l2_1_0
915 enable_api_ms_win_core_kernel32_legacy_l1_1_0
916 enable_api_ms_win_core_kernel32_legacy_l1_1_1
917 enable_api_ms_win_core_kernel32_private_l1_1_1
918 enable_api_ms_win_core_libraryloader_l1_1_0
919 enable_api_ms_win_core_libraryloader_l1_1_1
920 enable_api_ms_win_core_libraryloader_l1_2_0
921 enable_api_ms_win_core_libraryloader_l1_2_2
922 enable_api_ms_win_core_localization_l1_1_0
923 enable_api_ms_win_core_localization_l1_2_0
924 enable_api_ms_win_core_localization_l1_2_1
925 enable_api_ms_win_core_localization_l2_1_0
926 enable_api_ms_win_core_localization_obsolete_l1_1_0
927 enable_api_ms_win_core_localization_obsolete_l1_2_0
928 enable_api_ms_win_core_localization_private_l1_1_0
929 enable_api_ms_win_core_localregistry_l1_1_0
930 enable_api_ms_win_core_memory_l1_1_0
931 enable_api_ms_win_core_memory_l1_1_1
932 enable_api_ms_win_core_memory_l1_1_2
933 enable_api_ms_win_core_misc_l1_1_0
934 enable_api_ms_win_core_namedpipe_l1_1_0
935 enable_api_ms_win_core_namedpipe_l1_2_0
936 enable_api_ms_win_core_namespace_l1_1_0
937 enable_api_ms_win_core_normalization_l1_1_0
938 enable_api_ms_win_core_path_l1_1_0
939 enable_api_ms_win_core_privateprofile_l1_1_1
940 enable_api_ms_win_core_processenvironment_l1_1_0
941 enable_api_ms_win_core_processenvironment_l1_2_0
942 enable_api_ms_win_core_processthreads_l1_1_0
943 enable_api_ms_win_core_processthreads_l1_1_1
944 enable_api_ms_win_core_processthreads_l1_1_2
945 enable_api_ms_win_core_profile_l1_1_0
946 enable_api_ms_win_core_psapi_l1_1_0
947 enable_api_ms_win_core_psapi_obsolete_l1_1_0
948 enable_api_ms_win_core_realtime_l1_1_0
949 enable_api_ms_win_core_registry_l1_1_0
950 enable_api_ms_win_core_registryuserspecific_l1_1_0
951 enable_api_ms_win_core_rtlsupport_l1_1_0
952 enable_api_ms_win_core_rtlsupport_l1_2_0
953 enable_api_ms_win_core_shlwapi_legacy_l1_1_0
954 enable_api_ms_win_core_shlwapi_obsolete_l1_1_0
955 enable_api_ms_win_core_sidebyside_l1_1_0
956 enable_api_ms_win_core_string_l1_1_0
957 enable_api_ms_win_core_string_l2_1_0
958 enable_api_ms_win_core_string_obsolete_l1_1_0
959 enable_api_ms_win_core_stringansi_l1_1_0
960 enable_api_ms_win_core_synch_l1_1_0
961 enable_api_ms_win_core_synch_l1_2_0
962 enable_api_ms_win_core_sysinfo_l1_1_0
963 enable_api_ms_win_core_sysinfo_l1_2_0
964 enable_api_ms_win_core_sysinfo_l1_2_1
965 enable_api_ms_win_core_threadpool_l1_1_0
966 enable_api_ms_win_core_threadpool_l1_2_0
967 enable_api_ms_win_core_threadpool_legacy_l1_1_0
968 enable_api_ms_win_core_timezone_l1_1_0
969 enable_api_ms_win_core_toolhelp_l1_1_0
970 enable_api_ms_win_core_url_l1_1_0
971 enable_api_ms_win_core_util_l1_1_0
972 enable_api_ms_win_core_version_l1_1_0
973 enable_api_ms_win_core_version_private_l1_1_0
974 enable_api_ms_win_core_versionansi_l1_1_0
975 enable_api_ms_win_core_windowserrorreporting_l1_1_0
976 enable_api_ms_win_core_winrt_error_l1_1_0
977 enable_api_ms_win_core_winrt_error_l1_1_1
978 enable_api_ms_win_core_winrt_errorprivate_l1_1_1
979 enable_api_ms_win_core_winrt_l1_1_0
980 enable_api_ms_win_core_winrt_registration_l1_1_0
981 enable_api_ms_win_core_winrt_string_l1_1_0
982 enable_api_ms_win_core_wow64_l1_1_0
983 enable_api_ms_win_core_xstate_l1_1_0
984 enable_api_ms_win_core_xstate_l2_1_0
985 enable_api_ms_win_crt_conio_l1_1_0
986 enable_api_ms_win_crt_convert_l1_1_0
987 enable_api_ms_win_crt_environment_l1_1_0
988 enable_api_ms_win_crt_filesystem_l1_1_0
989 enable_api_ms_win_crt_heap_l1_1_0
990 enable_api_ms_win_crt_locale_l1_1_0
991 enable_api_ms_win_crt_math_l1_1_0
992 enable_api_ms_win_crt_multibyte_l1_1_0
993 enable_api_ms_win_crt_private_l1_1_0
994 enable_api_ms_win_crt_process_l1_1_0
995 enable_api_ms_win_crt_runtime_l1_1_0
996 enable_api_ms_win_crt_stdio_l1_1_0
997 enable_api_ms_win_crt_string_l1_1_0
998 enable_api_ms_win_crt_time_l1_1_0
999 enable_api_ms_win_crt_utility_l1_1_0
1000 enable_api_ms_win_devices_config_l1_1_1
1001 enable_api_ms_win_devices_query_l1_1_1
1002 enable_api_ms_win_downlevel_advapi32_l1_1_0
1003 enable_api_ms_win_downlevel_advapi32_l2_1_0
1004 enable_api_ms_win_downlevel_normaliz_l1_1_0
1005 enable_api_ms_win_downlevel_ole32_l1_1_0
1006 enable_api_ms_win_downlevel_shell32_l1_1_0
1007 enable_api_ms_win_downlevel_shlwapi_l1_1_0
1008 enable_api_ms_win_downlevel_shlwapi_l2_1_0
1009 enable_api_ms_win_downlevel_user32_l1_1_0
1010 enable_api_ms_win_downlevel_version_l1_1_0
1011 enable_api_ms_win_dx_d3dkmt_l1_1_0
1012 enable_api_ms_win_eventing_classicprovider_l1_1_0
1013 enable_api_ms_win_eventing_consumer_l1_1_0
1014 enable_api_ms_win_eventing_controller_l1_1_0
1015 enable_api_ms_win_eventing_provider_l1_1_0
1016 enable_api_ms_win_eventlog_legacy_l1_1_0
1017 enable_api_ms_win_ntuser_dc_access_l1_1_0
1018 enable_api_ms_win_power_base_l1_1_0
1019 enable_api_ms_win_power_setting_l1_1_0
1020 enable_api_ms_win_rtcore_ntuser_private_l1_1_0
1021 enable_api_ms_win_security_audit_l1_1_1
1022 enable_api_ms_win_security_base_l1_1_0
1023 enable_api_ms_win_security_base_l1_2_0
1024 enable_api_ms_win_security_base_private_l1_1_1
1025 enable_api_ms_win_security_lsalookup_l1_1_0
1026 enable_api_ms_win_security_lsalookup_l1_1_1
1027 enable_api_ms_win_security_lsalookup_l2_1_1
1028 enable_api_ms_win_security_lsapolicy_l1_1_0
1029 enable_api_ms_win_security_sddl_l1_1_0
1030 enable_api_ms_win_service_core_l1_1_0
1031 enable_api_ms_win_service_core_l1_1_1
1032 enable_api_ms_win_service_management_l1_1_0
1033 enable_api_ms_win_service_management_l2_1_0
1034 enable_api_ms_win_service_private_l1_1_1
1035 enable_api_ms_win_service_winsvc_l1_1_0
1036 enable_api_ms_win_service_winsvc_l1_2_0
1037 enable_api_ms_win_shell_shellcom_l1_1_0
1038 enable_api_ms_win_shell_shellfolders_l1_1_0
1051 enable_bluetoothapis
1084 enable_d3dcompiler_33
1085 enable_d3dcompiler_34
1086 enable_d3dcompiler_35
1087 enable_d3dcompiler_36
1088 enable_d3dcompiler_37
1089 enable_d3dcompiler_38
1090 enable_d3dcompiler_39
1091 enable_d3dcompiler_40
1092 enable_d3dcompiler_41
1093 enable_d3dcompiler_42
1094 enable_d3dcompiler_43
1095 enable_d3dcompiler_46
1096 enable_d3dcompiler_47
1174 enable_explorerframe
1175 enable_ext_ms_win_domainjoin_netjoin_l1_1_0
1176 enable_ext_ms_win_gdi_dc_create_l1_1_1
1177 enable_ext_ms_win_gdi_dc_l1_2_0
1178 enable_ext_ms_win_gdi_devcaps_l1_1_0
1179 enable_ext_ms_win_gdi_draw_l1_1_1
1180 enable_ext_ms_win_gdi_render_l1_1_0
1181 enable_ext_ms_win_kernel32_package_current_l1_1_0
1182 enable_ext_ms_win_ntuser_message_l1_1_1
1183 enable_ext_ms_win_ntuser_private_l1_1_1
1184 enable_ext_ms_win_ntuser_rectangle_ext_l1_1_0
1185 enable_ext_ms_win_ntuser_uicontext_ext_l1_1_0
1186 enable_ext_ms_win_ntuser_window_l1_1_1
1187 enable_ext_ms_win_rtcore_gdi_object_l1_1_0
1188 enable_ext_ms_win_rtcore_gdi_rgn_l1_1_0
1189 enable_ext_ms_win_rtcore_ntuser_dc_access_l1_1_0
1190 enable_ext_ms_win_rtcore_ntuser_dpi_l1_1_0
1191 enable_ext_ms_win_rtcore_ntuser_sysparams_l1_1_0
1359 enable_photometadatahandler
1451 enable_windowscodecs
1452 enable_windowscodecsext
1455 enable_winecoreaudio_drv
1457 enable_winegstreamer
1459 enable_winejoystick_drv
1465 enable_winepulse_drv
1466 enable_wineqtdecoder
1536 enable_aspnet_regiis
1572 enable_presentationfontcache
1585 enable_servicemodelreg
1608 enable_winemenubuilder
1610 enable_winemsibuilder
1625 ac_precious_vars
='build_alias
1680 # Initialize some variables set by options.
1682 ac_init_version
=false
1683 ac_unrecognized_opts
=
1684 ac_unrecognized_sep
=
1685 # The variables have the same names as the options, with
1686 # dashes changed to underlines.
1687 cache_file
=/dev
/null
1694 program_transform_name
=s
,x
,x
,
1702 # Installation directory options.
1703 # These are left unexpanded so users can "make install exec_prefix=/foo"
1704 # and all the variables that are supposed to be based on exec_prefix
1705 # by default will actually change.
1706 # Use braces instead of parens because sh, perl, etc. also accept them.
1707 # (The list follows the same order as the GNU Coding Standards.)
1708 bindir
='${exec_prefix}/bin'
1709 sbindir
='${exec_prefix}/sbin'
1710 libexecdir
='${exec_prefix}/libexec'
1711 datarootdir
='${prefix}/share'
1712 datadir
='${datarootdir}'
1713 sysconfdir
='${prefix}/etc'
1714 sharedstatedir
='${prefix}/com'
1715 localstatedir
='${prefix}/var'
1716 runstatedir
='${localstatedir}/run'
1717 includedir
='${prefix}/include'
1718 oldincludedir
='/usr/include'
1719 docdir
='${datarootdir}/doc/${PACKAGE_TARNAME}'
1720 infodir
='${datarootdir}/info'
1725 libdir
='${exec_prefix}/lib'
1726 localedir
='${datarootdir}/locale'
1727 mandir
='${datarootdir}/man'
1733 # If the previous option needs an argument, assign it.
1734 if test -n "$ac_prev"; then
1735 eval $ac_prev=\
$ac_option
1741 *=?
*) ac_optarg
=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
1746 # Accept the important Cygnus configure options, so we can diagnose typos.
1748 case $ac_dashdash$ac_option in
1752 -bindir |
--bindir |
--bindi |
--bind |
--bin |
--bi)
1754 -bindir=* |
--bindir=* |
--bindi=* |
--bind=* |
--bin=* |
--bi=*)
1755 bindir
=$ac_optarg ;;
1757 -build |
--build |
--buil |
--bui |
--bu)
1758 ac_prev
=build_alias
;;
1759 -build=* |
--build=* |
--buil=* |
--bui=* |
--bu=*)
1760 build_alias
=$ac_optarg ;;
1762 -cache-file |
--cache-file |
--cache-fil |
--cache-fi \
1763 |
--cache-f |
--cache- |
--cache |
--cach |
--cac |
--ca |
--c)
1764 ac_prev
=cache_file
;;
1765 -cache-file=* |
--cache-file=* |
--cache-fil=* |
--cache-fi=* \
1766 |
--cache-f=* |
--cache-=* |
--cache=* |
--cach=* |
--cac=* |
--ca=* |
--c=*)
1767 cache_file
=$ac_optarg ;;
1769 --config-cache |
-C)
1770 cache_file
=config.cache
;;
1772 -datadir |
--datadir |
--datadi |
--datad)
1774 -datadir=* |
--datadir=* |
--datadi=* |
--datad=*)
1775 datadir
=$ac_optarg ;;
1777 -datarootdir |
--datarootdir |
--datarootdi |
--datarootd |
--dataroot \
1778 |
--dataroo |
--dataro |
--datar)
1779 ac_prev
=datarootdir
;;
1780 -datarootdir=* |
--datarootdir=* |
--datarootdi=* |
--datarootd=* \
1781 |
--dataroot=* |
--dataroo=* |
--dataro=* |
--datar=*)
1782 datarootdir
=$ac_optarg ;;
1784 -disable-* |
--disable-*)
1785 ac_useropt
=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
1786 # Reject names that are not valid shell variable names.
1787 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
1788 as_fn_error $?
"invalid feature name: $ac_useropt"
1789 ac_useropt_orig
=$ac_useropt
1790 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1791 case $ac_user_opts in
1793 "enable_
$ac_useropt"
1795 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
1796 ac_unrecognized_sep
=', ';;
1798 eval enable_
$ac_useropt=no
;;
1800 -docdir |
--docdir |
--docdi |
--doc |
--do)
1802 -docdir=* |
--docdir=* |
--docdi=* |
--doc=* |
--do=*)
1803 docdir
=$ac_optarg ;;
1805 -dvidir |
--dvidir |
--dvidi |
--dvid |
--dvi |
--dv)
1807 -dvidir=* |
--dvidir=* |
--dvidi=* |
--dvid=* |
--dvi=* |
--dv=*)
1808 dvidir
=$ac_optarg ;;
1810 -enable-* |
--enable-*)
1811 ac_useropt
=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
1812 # Reject names that are not valid shell variable names.
1813 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
1814 as_fn_error $?
"invalid feature name: $ac_useropt"
1815 ac_useropt_orig
=$ac_useropt
1816 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1817 case $ac_user_opts in
1819 "enable_
$ac_useropt"
1821 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
1822 ac_unrecognized_sep
=', ';;
1824 eval enable_
$ac_useropt=\
$ac_optarg ;;
1826 -exec-prefix |
--exec_prefix |
--exec-prefix |
--exec-prefi \
1827 |
--exec-pref |
--exec-pre |
--exec-pr |
--exec-p |
--exec- \
1828 |
--exec |
--exe |
--ex)
1829 ac_prev
=exec_prefix
;;
1830 -exec-prefix=* |
--exec_prefix=* |
--exec-prefix=* |
--exec-prefi=* \
1831 |
--exec-pref=* |
--exec-pre=* |
--exec-pr=* |
--exec-p=* |
--exec-=* \
1832 |
--exec=* |
--exe=* |
--ex=*)
1833 exec_prefix
=$ac_optarg ;;
1835 -gas |
--gas |
--ga |
--g)
1836 # Obsolete; use --with-gas.
1839 -help |
--help |
--hel |
--he |
-h)
1840 ac_init_help
=long
;;
1841 -help=r
* |
--help=r
* |
--hel=r
* |
--he=r
* |
-hr*)
1842 ac_init_help
=recursive
;;
1843 -help=s
* |
--help=s
* |
--hel=s
* |
--he=s
* |
-hs*)
1844 ac_init_help
=short
;;
1846 -host |
--host |
--hos |
--ho)
1847 ac_prev
=host_alias
;;
1848 -host=* |
--host=* |
--hos=* |
--ho=*)
1849 host_alias
=$ac_optarg ;;
1851 -htmldir |
--htmldir |
--htmldi |
--htmld |
--html |
--htm |
--ht)
1853 -htmldir=* |
--htmldir=* |
--htmldi=* |
--htmld=* |
--html=* |
--htm=* \
1855 htmldir
=$ac_optarg ;;
1857 -includedir |
--includedir |
--includedi |
--included |
--include \
1858 |
--includ |
--inclu |
--incl |
--inc)
1859 ac_prev
=includedir
;;
1860 -includedir=* |
--includedir=* |
--includedi=* |
--included=* |
--include=* \
1861 |
--includ=* |
--inclu=* |
--incl=* |
--inc=*)
1862 includedir
=$ac_optarg ;;
1864 -infodir |
--infodir |
--infodi |
--infod |
--info |
--inf)
1866 -infodir=* |
--infodir=* |
--infodi=* |
--infod=* |
--info=* |
--inf=*)
1867 infodir
=$ac_optarg ;;
1869 -libdir |
--libdir |
--libdi |
--libd)
1871 -libdir=* |
--libdir=* |
--libdi=* |
--libd=*)
1872 libdir
=$ac_optarg ;;
1874 -libexecdir |
--libexecdir |
--libexecdi |
--libexecd |
--libexec \
1875 |
--libexe |
--libex |
--libe)
1876 ac_prev
=libexecdir
;;
1877 -libexecdir=* |
--libexecdir=* |
--libexecdi=* |
--libexecd=* |
--libexec=* \
1878 |
--libexe=* |
--libex=* |
--libe=*)
1879 libexecdir
=$ac_optarg ;;
1881 -localedir |
--localedir |
--localedi |
--localed |
--locale)
1882 ac_prev
=localedir
;;
1883 -localedir=* |
--localedir=* |
--localedi=* |
--localed=* |
--locale=*)
1884 localedir
=$ac_optarg ;;
1886 -localstatedir |
--localstatedir |
--localstatedi |
--localstated \
1887 |
--localstate |
--localstat |
--localsta |
--localst |
--locals)
1888 ac_prev
=localstatedir
;;
1889 -localstatedir=* |
--localstatedir=* |
--localstatedi=* |
--localstated=* \
1890 |
--localstate=* |
--localstat=* |
--localsta=* |
--localst=* |
--locals=*)
1891 localstatedir
=$ac_optarg ;;
1893 -mandir |
--mandir |
--mandi |
--mand |
--man |
--ma |
--m)
1895 -mandir=* |
--mandir=* |
--mandi=* |
--mand=* |
--man=* |
--ma=* |
--m=*)
1896 mandir
=$ac_optarg ;;
1898 -nfp |
--nfp |
--nf)
1899 # Obsolete; use --without-fp.
1902 -no-create |
--no-create |
--no-creat |
--no-crea |
--no-cre \
1903 |
--no-cr |
--no-c |
-n)
1906 -no-recursion |
--no-recursion |
--no-recursio |
--no-recursi \
1907 |
--no-recurs |
--no-recur |
--no-recu |
--no-rec |
--no-re |
--no-r)
1910 -oldincludedir |
--oldincludedir |
--oldincludedi |
--oldincluded \
1911 |
--oldinclude |
--oldinclud |
--oldinclu |
--oldincl |
--oldinc \
1912 |
--oldin |
--oldi |
--old |
--ol |
--o)
1913 ac_prev
=oldincludedir
;;
1914 -oldincludedir=* |
--oldincludedir=* |
--oldincludedi=* |
--oldincluded=* \
1915 |
--oldinclude=* |
--oldinclud=* |
--oldinclu=* |
--oldincl=* |
--oldinc=* \
1916 |
--oldin=* |
--oldi=* |
--old=* |
--ol=* |
--o=*)
1917 oldincludedir
=$ac_optarg ;;
1919 -prefix |
--prefix |
--prefi |
--pref |
--pre |
--pr |
--p)
1921 -prefix=* |
--prefix=* |
--prefi=* |
--pref=* |
--pre=* |
--pr=* |
--p=*)
1922 prefix
=$ac_optarg ;;
1924 -program-prefix |
--program-prefix |
--program-prefi |
--program-pref \
1925 |
--program-pre |
--program-pr |
--program-p)
1926 ac_prev
=program_prefix
;;
1927 -program-prefix=* |
--program-prefix=* |
--program-prefi=* \
1928 |
--program-pref=* |
--program-pre=* |
--program-pr=* |
--program-p=*)
1929 program_prefix
=$ac_optarg ;;
1931 -program-suffix |
--program-suffix |
--program-suffi |
--program-suff \
1932 |
--program-suf |
--program-su |
--program-s)
1933 ac_prev
=program_suffix
;;
1934 -program-suffix=* |
--program-suffix=* |
--program-suffi=* \
1935 |
--program-suff=* |
--program-suf=* |
--program-su=* |
--program-s=*)
1936 program_suffix
=$ac_optarg ;;
1938 -program-transform-name |
--program-transform-name \
1939 |
--program-transform-nam |
--program-transform-na \
1940 |
--program-transform-n |
--program-transform- \
1941 |
--program-transform |
--program-transfor \
1942 |
--program-transfo |
--program-transf \
1943 |
--program-trans |
--program-tran \
1944 |
--progr-tra |
--program-tr |
--program-t)
1945 ac_prev
=program_transform_name
;;
1946 -program-transform-name=* |
--program-transform-name=* \
1947 |
--program-transform-nam=* |
--program-transform-na=* \
1948 |
--program-transform-n=* |
--program-transform-=* \
1949 |
--program-transform=* |
--program-transfor=* \
1950 |
--program-transfo=* |
--program-transf=* \
1951 |
--program-trans=* |
--program-tran=* \
1952 |
--progr-tra=* |
--program-tr=* |
--program-t=*)
1953 program_transform_name
=$ac_optarg ;;
1955 -pdfdir |
--pdfdir |
--pdfdi |
--pdfd |
--pdf |
--pd)
1957 -pdfdir=* |
--pdfdir=* |
--pdfdi=* |
--pdfd=* |
--pdf=* |
--pd=*)
1958 pdfdir
=$ac_optarg ;;
1960 -psdir |
--psdir |
--psdi |
--psd |
--ps)
1962 -psdir=* |
--psdir=* |
--psdi=* |
--psd=* |
--ps=*)
1965 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
1966 |
-silent |
--silent |
--silen |
--sile |
--sil)
1969 -runstatedir |
--runstatedir |
--runstatedi |
--runstated \
1970 |
--runstate |
--runstat |
--runsta |
--runst |
--runs \
1971 |
--run |
--ru |
--r)
1972 ac_prev
=runstatedir
;;
1973 -runstatedir=* |
--runstatedir=* |
--runstatedi=* |
--runstated=* \
1974 |
--runstate=* |
--runstat=* |
--runsta=* |
--runst=* |
--runs=* \
1975 |
--run=* |
--ru=* |
--r=*)
1976 runstatedir
=$ac_optarg ;;
1978 -sbindir |
--sbindir |
--sbindi |
--sbind |
--sbin |
--sbi |
--sb)
1980 -sbindir=* |
--sbindir=* |
--sbindi=* |
--sbind=* |
--sbin=* \
1982 sbindir
=$ac_optarg ;;
1984 -sharedstatedir |
--sharedstatedir |
--sharedstatedi \
1985 |
--sharedstated |
--sharedstate |
--sharedstat |
--sharedsta \
1986 |
--sharedst |
--shareds |
--shared |
--share |
--shar \
1988 ac_prev
=sharedstatedir
;;
1989 -sharedstatedir=* |
--sharedstatedir=* |
--sharedstatedi=* \
1990 |
--sharedstated=* |
--sharedstate=* |
--sharedstat=* |
--sharedsta=* \
1991 |
--sharedst=* |
--shareds=* |
--shared=* |
--share=* |
--shar=* \
1993 sharedstatedir
=$ac_optarg ;;
1995 -site |
--site |
--sit)
1997 -site=* |
--site=* |
--sit=*)
2000 -srcdir |
--srcdir |
--srcdi |
--srcd |
--src |
--sr)
2002 -srcdir=* |
--srcdir=* |
--srcdi=* |
--srcd=* |
--src=* |
--sr=*)
2003 srcdir
=$ac_optarg ;;
2005 -sysconfdir |
--sysconfdir |
--sysconfdi |
--sysconfd |
--sysconf \
2006 |
--syscon |
--sysco |
--sysc |
--sys |
--sy)
2007 ac_prev
=sysconfdir
;;
2008 -sysconfdir=* |
--sysconfdir=* |
--sysconfdi=* |
--sysconfd=* |
--sysconf=* \
2009 |
--syscon=* |
--sysco=* |
--sysc=* |
--sys=* |
--sy=*)
2010 sysconfdir
=$ac_optarg ;;
2012 -target |
--target |
--targe |
--targ |
--tar |
--ta |
--t)
2013 ac_prev
=target_alias
;;
2014 -target=* |
--target=* |
--targe=* |
--targ=* |
--tar=* |
--ta=* |
--t=*)
2015 target_alias
=$ac_optarg ;;
2017 -v |
-verbose |
--verbose |
--verbos |
--verbo |
--verb)
2020 -version |
--version |
--versio |
--versi |
--vers |
-V)
2021 ac_init_version
=: ;;
2024 ac_useropt
=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
2025 # Reject names that are not valid shell variable names.
2026 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
2027 as_fn_error $?
"invalid package name: $ac_useropt"
2028 ac_useropt_orig
=$ac_useropt
2029 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
2030 case $ac_user_opts in
2034 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
2035 ac_unrecognized_sep
=', ';;
2037 eval with_
$ac_useropt=\
$ac_optarg ;;
2039 -without-* |
--without-*)
2040 ac_useropt
=`expr "x$ac_option" : 'x-*without-\(.*\)'`
2041 # Reject names that are not valid shell variable names.
2042 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
2043 as_fn_error $?
"invalid package name: $ac_useropt"
2044 ac_useropt_orig
=$ac_useropt
2045 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
2046 case $ac_user_opts in
2050 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
2051 ac_unrecognized_sep
=', ';;
2053 eval with_
$ac_useropt=no
;;
2056 # Obsolete; use --with-x.
2059 -x-includes |
--x-includes |
--x-include |
--x-includ |
--x-inclu \
2060 |
--x-incl |
--x-inc |
--x-in |
--x-i)
2061 ac_prev
=x_includes
;;
2062 -x-includes=* |
--x-includes=* |
--x-include=* |
--x-includ=* |
--x-inclu=* \
2063 |
--x-incl=* |
--x-inc=* |
--x-in=* |
--x-i=*)
2064 x_includes
=$ac_optarg ;;
2066 -x-libraries |
--x-libraries |
--x-librarie |
--x-librari \
2067 |
--x-librar |
--x-libra |
--x-libr |
--x-lib |
--x-li |
--x-l)
2068 ac_prev
=x_libraries
;;
2069 -x-libraries=* |
--x-libraries=* |
--x-librarie=* |
--x-librari=* \
2070 |
--x-librar=* |
--x-libra=* |
--x-libr=* |
--x-lib=* |
--x-li=* |
--x-l=*)
2071 x_libraries
=$ac_optarg ;;
2073 -*) as_fn_error $?
"unrecognized option: \`$ac_option'
2074 Try \`$0 --help' for more information"
2078 ac_envvar
=`expr "x$ac_option" : 'x\([^=]*\)='`
2079 # Reject names that are not valid shell variable names.
2080 case $ac_envvar in #(
2081 '' |
[0-9]* |
*[!_
$as_cr_alnum]* )
2082 as_fn_error $?
"invalid variable name: \`$ac_envvar'" ;;
2084 eval $ac_envvar=\
$ac_optarg
2085 export $ac_envvar ;;
2088 # FIXME: should be removed in autoconf 3.0.
2089 $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
2090 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev
/null
&&
2091 $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
2092 : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}"
2098 if test -n "$ac_prev"; then
2099 ac_option
=--`echo $ac_prev | sed 's/_/-/g'`
2100 as_fn_error $?
"missing argument to $ac_option"
2103 if test -n "$ac_unrecognized_opts"; then
2104 case $enable_option_checking in
2106 fatal
) as_fn_error $?
"unrecognized options: $ac_unrecognized_opts" ;;
2107 *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
2111 # Check all directory arguments for consistency.
2112 for ac_var
in exec_prefix prefix bindir sbindir libexecdir datarootdir \
2113 datadir sysconfdir sharedstatedir localstatedir includedir \
2114 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
2115 libdir localedir mandir runstatedir
2117 eval ac_val
=\$
$ac_var
2118 # Remove trailing slashes.
2121 ac_val
=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
2122 eval $ac_var=\
$ac_val;;
2124 # Be sure to have absolute directory names.
2126 [\\/$
]* | ?
:[\\/]* ) continue;;
2127 NONE |
'' ) case $ac_var in *prefix
) continue;; esac;;
2129 as_fn_error $?
"expected an absolute directory name for --$ac_var: $ac_val"
2132 # There might be people who depend on the old broken behavior: `$host'
2133 # used to hold the argument of --host etc.
2134 # FIXME: To remove some day.
2137 target
=$target_alias
2139 # FIXME: To remove some day.
2140 if test "x$host_alias" != x
; then
2141 if test "x$build_alias" = x
; then
2142 cross_compiling
=maybe
2143 elif test "x$build_alias" != "x$host_alias"; then
2149 test -n "$host_alias" && ac_tool_prefix
=$host_alias-
2151 test "$silent" = yes && exec 6>/dev
/null
2154 ac_pwd
=`pwd` && test -n "$ac_pwd" &&
2155 ac_ls_di
=`ls -di .` &&
2156 ac_pwd_ls_di
=`cd "$ac_pwd" && ls -di .` ||
2157 as_fn_error $?
"working directory cannot be determined"
2158 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
2159 as_fn_error $?
"pwd does not report name of working directory"
2162 # Find the source files, if location was not specified.
2163 if test -z "$srcdir"; then
2164 ac_srcdir_defaulted
=yes
2165 # Try the directory containing this script, then the parent directory.
2166 ac_confdir
=`$as_dirname -- "$as_myself" ||
2167 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
2168 X"$as_myself" : 'X\(//\)[^/]' \| \
2169 X"$as_myself" : 'X\(//\)$' \| \
2170 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
2171 $as_echo X"$as_myself" |
2172 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
2190 if test ! -r "$srcdir/$ac_unique_file"; then
2194 ac_srcdir_defaulted
=no
2196 if test ! -r "$srcdir/$ac_unique_file"; then
2197 test "$ac_srcdir_defaulted" = yes && srcdir
="$ac_confdir or .."
2198 as_fn_error $?
"cannot find sources ($ac_unique_file) in $srcdir"
2200 ac_msg
="sources are in $srcdir, but \`cd $srcdir' does not work"
2202 cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
2204 # When building in place, set srcdir=.
2205 if test "$ac_abs_confdir" = "$ac_pwd"; then
2208 # Remove unnecessary trailing slashes from srcdir.
2209 # Double slashes in file names in object file debugging info
2210 # mess up M-x gdb in Emacs.
2212 */) srcdir
=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
2214 for ac_var
in $ac_precious_vars; do
2215 eval ac_env_
${ac_var}_set=\${${ac_var}+set}
2216 eval ac_env_
${ac_var}_value
=\$
${ac_var}
2217 eval ac_cv_env_
${ac_var}_set=\${${ac_var}+set}
2218 eval ac_cv_env_
${ac_var}_value
=\$
${ac_var}
2222 # Report the --help message.
2224 if test "$ac_init_help" = "long"; then
2225 # Omit some internal or obsolete options to make the list less imposing.
2226 # This message is too long to be a string in the A/UX 3.1 sh.
2228 \`configure' configures Wine 2.1 to adapt to many kinds of systems.
2230 Usage: $0 [OPTION]... [VAR=VALUE]...
2232 To assign environment variables (e.g., CC, CFLAGS...), specify them as
2233 VAR=VALUE. See below for descriptions of some of the useful variables.
2235 Defaults for the options are specified in brackets.
2238 -h, --help display this help and exit
2239 --help=short display options specific to this package
2240 --help=recursive display the short help of all the included packages
2241 -V, --version display version information and exit
2242 -q, --quiet, --silent do not print \`checking ...' messages
2243 --cache-file=FILE cache test results in FILE [disabled]
2244 -C, --config-cache alias for \`--cache-file=config.cache'
2245 -n, --no-create do not create output files
2246 --srcdir=DIR find the sources in DIR [configure dir or \`..']
2248 Installation directories:
2249 --prefix=PREFIX install architecture-independent files in PREFIX
2250 [$ac_default_prefix]
2251 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
2254 By default, \`make install' will install all the files in
2255 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
2256 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
2257 for instance \`--prefix=\$HOME'.
2259 For better control, use the options below.
2261 Fine tuning of the installation directories:
2262 --bindir=DIR user executables [EPREFIX/bin]
2263 --sbindir=DIR system admin executables [EPREFIX/sbin]
2264 --libexecdir=DIR program executables [EPREFIX/libexec]
2265 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
2266 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
2267 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
2268 --runstatedir=DIR modifiable per-process data [LOCALSTATEDIR/run]
2269 --libdir=DIR object code libraries [EPREFIX/lib]
2270 --includedir=DIR C header files [PREFIX/include]
2271 --oldincludedir=DIR C header files for non-gcc [/usr/include]
2272 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
2273 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
2274 --infodir=DIR info documentation [DATAROOTDIR/info]
2275 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
2276 --mandir=DIR man documentation [DATAROOTDIR/man]
2277 --docdir=DIR documentation root [DATAROOTDIR/doc/wine]
2278 --htmldir=DIR html documentation [DOCDIR]
2279 --dvidir=DIR dvi documentation [DOCDIR]
2280 --pdfdir=DIR pdf documentation [DOCDIR]
2281 --psdir=DIR ps documentation [DOCDIR]
2287 --x-includes=DIR X include files are
in DIR
2288 --x-libraries=DIR X library files are
in DIR
2291 --build=BUILD configure
for building on BUILD
[guessed
]
2292 --host=HOST cross-compile to build programs to run on HOST
[BUILD
]
2296 if test -n "$ac_init_help"; then
2297 case $ac_init_help in
2298 short | recursive
) echo "Configuration of Wine 2.1:";;
2303 --disable-option-checking ignore unrecognized
--enable/--with options
2304 --disable-FEATURE do not include FEATURE
(same as
--enable-FEATURE=no
)
2305 --enable-FEATURE[=ARG
] include FEATURE
[ARG
=yes]
2306 --disable-win16 do not include Win16 support
2307 --enable-win64 build a Win64 emulator on AMD64
(won
't run Win32
2309 --disable-tests do not build the regression tests
2310 --enable-maintainer-mode
2311 enable maintainer-specific build rules
2312 --disable-largefile omit support for large files
2315 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
2316 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
2317 --without-alsa do not use the Alsa sound support
2318 --without-capi do not use CAPI (ISDN support)
2319 --without-cms do not use CMS (color management support)
2320 --without-coreaudio do not use the CoreAudio sound support
2321 --without-cups do not use CUPS
2322 --without-curses do not use (n)curses
2323 --without-dbus do not use DBus (dynamic device support)
2324 --without-fontconfig do not use fontconfig
2325 --without-freetype do not use the FreeType library
2326 --without-gettext do not use gettext
2327 --with-gettextpo use the GetTextPO library to rebuild po files
2328 --without-gphoto do not use gphoto (Digital Camera support)
2329 --without-glu do not use the GLU library
2330 --without-gnutls do not use GnuTLS (schannel support)
2331 --without-gsm do not use libgsm (GSM 06.10 codec support)
2332 --without-gstreamer do not use GStreamer (codecs support)
2333 --without-hal do not use HAL (dynamic device support)
2334 --without-jpeg do not use JPEG
2335 --without-ldap do not use LDAP
2336 --without-mpg123 do not use the mpg123 library
2337 --without-netapi do not use the Samba NetAPI library
2338 --without-openal do not use OpenAL
2339 --without-opencl do not use OpenCL
2340 --without-opengl do not use OpenGL
2341 --without-osmesa do not use the OSMesa library
2342 --without-oss do not use the OSS sound support
2343 --without-pcap do not use the Packet Capture library
2344 --without-png do not use PNG
2345 --without-pthread do not use the pthread library
2346 --without-pulse do not use PulseAudio sound support
2347 --without-sane do not use SANE (scanner support)
2348 --without-tiff do not use TIFF
2349 --without-udev do not use udev (plug and play support)
2350 --without-v4l do not use v4l1 (v4l support)
2351 --without-xcomposite do not use the Xcomposite extension
2352 --without-xcursor do not use the Xcursor extension
2353 --without-xinerama do not use Xinerama (multi-monitor support)
2354 --without-xinput do not use the Xinput extension
2355 --without-xinput2 do not use the Xinput 2 extension
2356 --without-xml do not use XML
2357 --without-xrandr do not use Xrandr (resolution changes)
2358 --without-xrender do not use the Xrender extension
2359 --without-xshape do not use the Xshape extension
2360 --without-xshm do not use XShm (shared memory extension)
2361 --without-xslt do not use XSLT
2362 --without-xxf86vm do not use XFree video mode extension
2363 --without-zlib do not use Zlib (data compression)
2364 --with-wine-tools=DIR use Wine tools from directory DIR
2365 --with-wine64=DIR use the 64-bit Wine in DIR for a Wow64 build
2366 --with-x use the X Window System
2368 Some influential environment variables:
2369 CC C compiler command
2370 CFLAGS C compiler flags
2371 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
2372 nonstandard directory <lib dir>
2373 LIBS libraries to pass to the linker, e.g. -l<library>
2374 CPPFLAGS (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if
2375 you have headers in a nonstandard directory <include dir>
2376 CXX C++ compiler command
2377 CXXFLAGS C++ compiler flags
2379 XMKMF Path to xmkmf, Makefile generator for X Window System
2380 XML2_CFLAGS C compiler flags for libxml-2.0, overriding pkg-config
2381 XML2_LIBS Linker flags for libxml-2.0, overriding pkg-config
2382 XSLT_CFLAGS C compiler flags for libxslt, overriding pkg-config
2383 XSLT_LIBS Linker flags for libxslt, overriding pkg-config
2384 DBUS_CFLAGS C compiler flags for dbus-1, overriding pkg-config
2385 DBUS_LIBS Linker flags for dbus-1, overriding pkg-config
2386 HAL_CFLAGS C compiler flags for hal, overriding pkg-config
2387 HAL_LIBS Linker flags for hal, overriding pkg-config
2389 C compiler flags for gnutls, overriding pkg-config
2390 GNUTLS_LIBS Linker flags for gnutls, overriding pkg-config
2391 SANE_CFLAGS C compiler flags for libsane, overriding pkg-config
2392 SANE_LIBS Linker flags for libsane, overriding pkg-config
2394 C compiler flags for libgphoto2, overriding pkg-config
2396 Linker flags for libgphoto2, overriding pkg-config
2398 C compiler flags for libgphoto2_port, overriding pkg-config
2400 Linker flags for libgphoto2_port, overriding pkg-config
2402 C compiler flags for lcms2, overriding pkg-config
2403 LCMS2_LIBS Linker flags for lcms2, overriding pkg-config
2405 C compiler flags for freetype2, overriding pkg-config
2407 Linker flags for freetype2, overriding pkg-config
2409 C compiler flags for libpulse, overriding pkg-config
2410 PULSE_LIBS Linker flags for libpulse, overriding pkg-config
2412 C compiler flags for gstreamer-1.0 gstreamer-video-1.0
2413 gstreamer-audio-1.0, overriding pkg-config
2415 Linker flags for gstreamer-1.0 gstreamer-video-1.0
2416 gstreamer-audio-1.0, overriding pkg-config
2417 UDEV_CFLAGS C compiler flags for libudev, overriding pkg-config
2418 UDEV_LIBS Linker flags for libudev, overriding pkg-config
2420 C compiler flags for capi20, overriding pkg-config
2421 CAPI20_LIBS Linker flags for capi20, overriding pkg-config
2423 C compiler flags for fontconfig, overriding pkg-config
2425 Linker flags for fontconfig, overriding pkg-config
2426 JPEG_CFLAGS C compiler flags for libjpeg, overriding pkg-config
2427 JPEG_LIBS Linker flags for libjpeg, overriding pkg-config
2428 PNG_CFLAGS C compiler flags for libpng, overriding pkg-config
2429 PNG_LIBS Linker flags for libpng, overriding pkg-config
2430 TIFF_CFLAGS C compiler flags for libtiff-4, overriding pkg-config
2431 TIFF_LIBS Linker flags for libtiff-4, overriding pkg-config
2433 C compiler flags for libmpg123, overriding pkg-config
2434 MPG123_LIBS Linker flags for libmpg123, overriding pkg-config
2436 C compiler flags for netapi, overriding pkg-config
2437 NETAPI_LIBS Linker flags for netapi, overriding pkg-config
2439 Use these variables to override the choices made by `configure' or to
help
2440 it to
find libraries and programs with nonstandard names
/locations.
2442 Report bugs to
<wine-devel@winehq.org
>.
2443 Wine home page
: <http
://www.winehq.org
>.
2448 if test "$ac_init_help" = "recursive"; then
2449 # If there are subdirs, report their specific --help.
2450 for ac_dir
in : $ac_subdirs_all; do test "x$ac_dir" = x
: && continue
2451 test -d "$ac_dir" ||
2452 { cd "$srcdir" && ac_pwd
=`pwd` && srcdir
=.
&& test -d "$ac_dir"; } ||
2457 .
) ac_dir_suffix
= ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
2459 ac_dir_suffix
=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
2460 # A ".." for each directory in $ac_dir_suffix.
2461 ac_top_builddir_sub
=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
2462 case $ac_top_builddir_sub in
2463 "") ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
2464 *) ac_top_build_prefix
=$ac_top_builddir_sub/ ;;
2467 ac_abs_top_builddir
=$ac_pwd
2468 ac_abs_builddir
=$ac_pwd$ac_dir_suffix
2469 # for backward compatibility:
2470 ac_top_builddir
=$ac_top_build_prefix
2473 .
) # We are building in place.
2475 ac_top_srcdir
=$ac_top_builddir_sub
2476 ac_abs_top_srcdir
=$ac_pwd ;;
2477 [\\/]* | ?
:[\\/]* ) # Absolute name.
2478 ac_srcdir
=$srcdir$ac_dir_suffix;
2479 ac_top_srcdir
=$srcdir
2480 ac_abs_top_srcdir
=$srcdir ;;
2482 ac_srcdir
=$ac_top_build_prefix$srcdir$ac_dir_suffix
2483 ac_top_srcdir
=$ac_top_build_prefix$srcdir
2484 ac_abs_top_srcdir
=$ac_pwd/$srcdir ;;
2486 ac_abs_srcdir
=$ac_abs_top_srcdir$ac_dir_suffix
2488 cd "$ac_dir" ||
{ ac_status
=$?
; continue; }
2489 # Check for guested configure.
2490 if test -f "$ac_srcdir/configure.gnu"; then
2492 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
2493 elif test -f "$ac_srcdir/configure"; then
2495 $SHELL "$ac_srcdir/configure" --help=recursive
2497 $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
2499 cd "$ac_pwd" ||
{ ac_status
=$?
; break; }
2503 test -n "$ac_init_help" && exit $ac_status
2504 if $ac_init_version; then
2507 generated by GNU Autoconf
2.69
2509 Copyright
(C
) 2012 Free Software Foundation
, Inc.
2510 This configure
script is free software
; the Free Software Foundation
2511 gives unlimited permission to copy
, distribute and modify it.
2516 ## ------------------------ ##
2517 ## Autoconf initialization. ##
2518 ## ------------------------ ##
2520 # ac_fn_c_try_compile LINENO
2521 # --------------------------
2522 # Try to compile conftest.$ac_ext, and return whether this succeeded.
2523 ac_fn_c_try_compile
()
2525 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
2526 rm -f conftest.
$ac_objext
2527 if { { ac_try
="$ac_compile"
2529 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
2530 *) ac_try_echo=$ac_try;;
2532 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2533 $as_echo "$ac_try_echo"; } >&5
2534 (eval "$ac_compile") 2>conftest.err
2536 if test -s conftest.err; then
2537 grep -v '^ *+' conftest.err >conftest.er1
2538 cat conftest.er1 >&5
2539 mv -f conftest.er1 conftest.err
2541 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2542 test $ac_status = 0; } && {
2543 test -z "$ac_c_werror_flag" ||
2544 test ! -s conftest.err
2545 } && test -s conftest.$ac_objext; then :
2548 $as_echo "$as_me: failed program was:" >&5
2549 sed 's/^/| /' conftest.$ac_ext >&5
2553 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2554 as_fn_set_status $ac_retval
2556 } # ac_fn_c_try_compile
2558 # ac_fn_cxx_try_compile LINENO
2559 # ----------------------------
2560 # Try to compile conftest.$ac_ext, and return whether this succeeded.
2561 ac_fn_cxx_try_compile ()
2563 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2564 rm -f conftest.$ac_objext
2565 if { { ac_try="$ac_compile"
2567 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
2568 *) ac_try_echo
=$ac_try;;
2570 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2571 $as_echo "$ac_try_echo"; } >&5
2572 (eval "$ac_compile") 2>conftest.err
2574 if test -s conftest.err
; then
2575 grep -v '^ *+' conftest.err
>conftest.er1
2576 cat conftest.er1
>&5
2577 mv -f conftest.er1 conftest.err
2579 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2580 test $ac_status = 0; } && {
2581 test -z "$ac_cxx_werror_flag" ||
2582 test ! -s conftest.err
2583 } && test -s conftest.
$ac_objext; then :
2586 $as_echo "$as_me: failed program was:" >&5
2587 sed 's/^/| /' conftest.
$ac_ext >&5
2591 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2592 as_fn_set_status
$ac_retval
2594 } # ac_fn_cxx_try_compile
2596 # ac_fn_c_try_link LINENO
2597 # -----------------------
2598 # Try to link conftest.$ac_ext, and return whether this succeeded.
2601 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
2602 rm -f conftest.
$ac_objext conftest
$ac_exeext
2603 if { { ac_try
="$ac_link"
2605 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
2606 *) ac_try_echo=$ac_try;;
2608 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2609 $as_echo "$ac_try_echo"; } >&5
2610 (eval "$ac_link") 2>conftest.err
2612 if test -s conftest.err; then
2613 grep -v '^ *+' conftest.err >conftest.er1
2614 cat conftest.er1 >&5
2615 mv -f conftest.er1 conftest.err
2617 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2618 test $ac_status = 0; } && {
2619 test -z "$ac_c_werror_flag" ||
2620 test ! -s conftest.err
2621 } && test -s conftest$ac_exeext && {
2622 test "$cross_compiling" = yes ||
2623 test -x conftest$ac_exeext
2627 $as_echo "$as_me: failed program was:" >&5
2628 sed 's/^/| /' conftest.$ac_ext >&5
2632 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
2633 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
2634 # interfere with the next link command; also delete a directory that is
2635 # left behind by Apple's compiler. We do this before executing the actions.
2636 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
2637 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2638 as_fn_set_status $ac_retval
2640 } # ac_fn_c_try_link
2642 # ac_fn_c_try_cpp LINENO
2643 # ----------------------
2644 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
2647 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2648 if { { ac_try="$ac_cpp conftest.$ac_ext"
2650 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
2651 *) ac_try_echo
=$ac_try;;
2653 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2654 $as_echo "$ac_try_echo"; } >&5
2655 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
2657 if test -s conftest.err
; then
2658 grep -v '^ *+' conftest.err
>conftest.er1
2659 cat conftest.er1
>&5
2660 mv -f conftest.er1 conftest.err
2662 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2663 test $ac_status = 0; } > conftest.i
&& {
2664 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
2665 test ! -s conftest.err
2669 $as_echo "$as_me: failed program was:" >&5
2670 sed 's/^/| /' conftest.
$ac_ext >&5
2674 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2675 as_fn_set_status
$ac_retval
2679 # ac_fn_c_check_header_mongrel LINENO HEADER VAR INCLUDES
2680 # -------------------------------------------------------
2681 # Tests whether HEADER exists, giving a warning if it cannot be compiled using
2682 # the include files in INCLUDES and setting the cache variable VAR
2684 ac_fn_c_check_header_mongrel
()
2686 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
2687 if eval \
${$3+:} false
; then :
2688 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2689 $as_echo_n "checking for $2... " >&6; }
2690 if eval \
${$3+:} false
; then :
2691 $as_echo_n "(cached) " >&6
2694 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2695 $as_echo "$ac_res" >&6; }
2697 # Is the header compilable?
2698 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
2699 $as_echo_n "checking $2 usability... " >&6; }
2700 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
2701 /* end confdefs.h. */
2705 if ac_fn_c_try_compile
"$LINENO"; then :
2706 ac_header_compiler
=yes
2708 ac_header_compiler
=no
2710 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
2711 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
2712 $as_echo "$ac_header_compiler" >&6; }
2714 # Is the header present?
2715 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
2716 $as_echo_n "checking $2 presence... " >&6; }
2717 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
2718 /* end confdefs.h. */
2721 if ac_fn_c_try_cpp
"$LINENO"; then :
2722 ac_header_preproc
=yes
2724 ac_header_preproc
=no
2726 rm -f conftest.err conftest.i conftest.
$ac_ext
2727 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
2728 $as_echo "$ac_header_preproc" >&6; }
2730 # So? What about this header?
2731 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in #((
2733 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
2734 $as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
2735 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
2736 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
2739 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
2740 $as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
2741 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: check for missing prerequisite headers?" >&5
2742 $as_echo "$as_me: WARNING: $2: check for missing prerequisite headers?" >&2;}
2743 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
2744 $as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
2745 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&5
2746 $as_echo "$as_me: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&2;}
2747 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
2748 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
2749 ( $as_echo "## ------------------------------------ ##
2750 ## Report this to wine-devel@winehq.org ##
2751 ## ------------------------------------ ##"
2752 ) |
sed "s/^/$as_me: WARNING: /" >&2
2755 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2756 $as_echo_n "checking for $2... " >&6; }
2757 if eval \
${$3+:} false
; then :
2758 $as_echo_n "(cached) " >&6
2760 eval "$3=\$ac_header_compiler"
2763 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2764 $as_echo "$ac_res" >&6; }
2766 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2768 } # ac_fn_c_check_header_mongrel
2770 # ac_fn_c_try_run LINENO
2771 # ----------------------
2772 # Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
2773 # that executables *can* be run.
2776 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
2777 if { { ac_try
="$ac_link"
2779 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
2780 *) ac_try_echo=$ac_try;;
2782 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2783 $as_echo "$ac_try_echo"; } >&5
2784 (eval "$ac_link") 2>&5
2786 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2787 test $ac_status = 0; } && { ac_try='./conftest$ac_exeext'
2788 { { case "(($ac_try" in
2789 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
2790 *) ac_try_echo
=$ac_try;;
2792 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2793 $as_echo "$ac_try_echo"; } >&5
2794 (eval "$ac_try") 2>&5
2796 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2797 test $ac_status = 0; }; }; then :
2800 $as_echo "$as_me: program exited with status $ac_status" >&5
2801 $as_echo "$as_me: failed program was:" >&5
2802 sed 's/^/| /' conftest.
$ac_ext >&5
2804 ac_retval
=$ac_status
2806 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
2807 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2808 as_fn_set_status
$ac_retval
2812 # ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
2813 # -------------------------------------------------------
2814 # Tests whether HEADER exists and can be compiled using the include files in
2815 # INCLUDES, setting the cache variable VAR accordingly.
2816 ac_fn_c_check_header_compile
()
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. */
2829 if ac_fn_c_try_compile
"$LINENO"; then :
2834 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
2837 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2838 $as_echo "$ac_res" >&6; }
2839 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2841 } # ac_fn_c_check_header_compile
2843 # ac_fn_c_check_func LINENO FUNC VAR
2844 # ----------------------------------
2845 # Tests whether FUNC exists, setting the cache variable VAR accordingly
2846 ac_fn_c_check_func
()
2848 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
2849 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2850 $as_echo_n "checking for $2... " >&6; }
2851 if eval \
${$3+:} false
; then :
2852 $as_echo_n "(cached) " >&6
2854 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
2855 /* end confdefs.h. */
2856 /* Define $2 to an innocuous variant, in case <limits.h> declares $2.
2857 For example, HP-UX 11i <limits.h> declares gettimeofday. */
2858 #define $2 innocuous_$2
2860 /* System header to define __stub macros and hopefully few prototypes,
2861 which can conflict with char $2 (); below.
2862 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
2863 <limits.h> exists even on freestanding compilers. */
2866 # include <limits.h>
2868 # include <assert.h>
2873 /* Override any GCC internal prototype to avoid an error.
2874 Use char because int might match the return type of a GCC
2875 builtin and then its argument prototype would still apply. */
2880 /* The GNU C library defines this for functions which it implements
2881 to always fail with ENOSYS. Some functions are actually named
2882 something starting with __ and the normal name is an alias. */
2883 #if defined __stub_$2 || defined __stub___$2
2895 if ac_fn_c_try_link
"$LINENO"; then :
2900 rm -f core conftest.err conftest.
$ac_objext \
2901 conftest
$ac_exeext conftest.
$ac_ext
2904 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2905 $as_echo "$ac_res" >&6; }
2906 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2908 } # ac_fn_c_check_func
2910 # ac_fn_c_check_member LINENO AGGR MEMBER VAR INCLUDES
2911 # ----------------------------------------------------
2912 # Tries to find if the field MEMBER exists in type AGGR, after including
2913 # INCLUDES, setting cache variable VAR accordingly.
2914 ac_fn_c_check_member
()
2916 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
2917 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2.$3" >&5
2918 $as_echo_n "checking for $2.$3... " >&6; }
2919 if eval \
${$4+:} false
; then :
2920 $as_echo_n "(cached) " >&6
2922 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
2923 /* end confdefs.h. */
2935 if ac_fn_c_try_compile
"$LINENO"; then :
2938 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
2939 /* end confdefs.h. */
2945 if (sizeof ac_aggr.$3)
2951 if ac_fn_c_try_compile
"$LINENO"; then :
2956 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
2958 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
2961 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2962 $as_echo "$ac_res" >&6; }
2963 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2965 } # ac_fn_c_check_member
2967 # ac_fn_c_check_type LINENO TYPE VAR INCLUDES
2968 # -------------------------------------------
2969 # Tests whether TYPE exists after having included INCLUDES, setting cache
2970 # variable VAR accordingly.
2971 ac_fn_c_check_type
()
2973 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
2974 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2975 $as_echo_n "checking for $2... " >&6; }
2976 if eval \
${$3+:} false
; then :
2977 $as_echo_n "(cached) " >&6
2980 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
2981 /* end confdefs.h. */
2992 if ac_fn_c_try_compile
"$LINENO"; then :
2993 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
2994 /* end confdefs.h. */
3005 if ac_fn_c_try_compile
"$LINENO"; then :
3010 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
3012 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
3015 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
3016 $as_echo "$ac_res" >&6; }
3017 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
3019 } # ac_fn_c_check_type
3020 cat >config.log
<<_ACEOF
3021 This file contains any messages produced by compilers while
3022 running configure, to aid debugging if configure makes a mistake.
3024 It was created by Wine $as_me 2.1, which was
3025 generated by GNU Autoconf 2.69. Invocation command line was
3037 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
3038 uname -m = `(uname -m) 2>/dev/null || echo unknown`
3039 uname -r = `(uname -r) 2>/dev/null || echo unknown`
3040 uname -s = `(uname -s) 2>/dev/null || echo unknown`
3041 uname -v = `(uname -v) 2>/dev/null || echo unknown`
3043 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
3044 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
3046 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
3047 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
3048 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
3049 /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
3050 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
3051 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
3052 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
3056 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3060 test -z "$as_dir" && as_dir
=.
3061 $as_echo "PATH: $as_dir"
3077 # Keep a trace of the command line.
3078 # Strip out --no-create and --no-recursion so they do not pile up.
3079 # Strip out --silent because we don't want to record it for future runs.
3080 # Also quote any args containing shell meta-characters.
3081 # Make two passes to allow for proper duplicate-argument suppression.
3085 ac_must_keep_next
=false
3091 -no-create |
--no-c* |
-n |
-no-recursion |
--no-r*) continue ;;
3092 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
3093 |
-silent |
--silent |
--silen |
--sile |
--sil)
3096 ac_arg
=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
3099 1) as_fn_append ac_configure_args0
" '$ac_arg'" ;;
3101 as_fn_append ac_configure_args1
" '$ac_arg'"
3102 if test $ac_must_keep_next = true
; then
3103 ac_must_keep_next
=false
# Got value, back to normal.
3106 *=* |
--config-cache |
-C |
-disable-* |
--disable-* \
3107 |
-enable-* |
--enable-* |
-gas |
--g* |
-nfp |
--nf* \
3108 |
-q |
-quiet |
--q* |
-silent |
--sil* |
-v |
-verb* \
3109 |
-with-* |
--with-* |
-without-* |
--without-* |
--x)
3110 case "$ac_configure_args0 " in
3111 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
3114 -* ) ac_must_keep_next
=true
;;
3117 as_fn_append ac_configure_args
" '$ac_arg'"
3122 { ac_configure_args0
=; unset ac_configure_args0
;}
3123 { ac_configure_args1
=; unset ac_configure_args1
;}
3125 # When interrupted or exit'd, cleanup temporary files, and complete
3126 # config.log. We remove comments because anyway the quotes in there
3127 # would cause problems or look ugly.
3128 # WARNING: Use '\'' to represent an apostrophe within the trap.
3129 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
3130 trap 'exit_status=$?
3131 # Save into config.log some information that might help in debugging.
3135 $as_echo "## ---------------- ##
3136 ## Cache variables. ##
3137 ## ---------------- ##"
3139 # The following way of writing the cache mishandles newlines in values,
3141 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
3142 eval ac_val=\$$ac_var
3146 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
3147 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
3150 _ | IFS | as_nl) ;; #(
3151 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
3152 *) { eval $ac_var=; unset $ac_var;} ;;
3157 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
3158 *${as_nl}ac_space=\ *)
3160 "s/'\''/'\''\\\\'\'''\''/g;
3161 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
3164 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
3171 $as_echo "## ----------------- ##
3172 ## Output variables. ##
3173 ## ----------------- ##"
3175 for ac_var in $ac_subst_vars
3177 eval ac_val=\$$ac_var
3179 *\'\''*) ac_val
=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
3181 $as_echo "$ac_var='\''$ac_val'\''"
3185 if test -n "$ac_subst_files"; then
3186 $as_echo "## ------------------- ##
3187 ## File substitutions. ##
3188 ## ------------------- ##"
3190 for ac_var
in $ac_subst_files
3192 eval ac_val
=\$
$ac_var
3194 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
3196 $as_echo "$ac_var='\''$ac_val'\''"
3201 if test -s confdefs.h; then
3202 $as_echo "## ----------- ##
3209 test "$ac_signal" != 0 &&
3210 $as_echo "$as_me: caught signal $ac_signal"
3211 $as_echo "$as_me: exit $exit_status"
3213 rm -f core *.core core.conftest.* &&
3214 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
3217 for ac_signal
in 1 2 13 15; do
3218 trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
3222 # confdefs.h avoids OS command line length limits that DEFS can exceed.
3223 rm -f -r conftest
* confdefs.h
3225 $as_echo "/* confdefs.h */" > confdefs.h
3227 # Predefined preprocessor variables.
3229 cat >>confdefs.h
<<_ACEOF
3230 #define PACKAGE_NAME "$PACKAGE_NAME"
3233 cat >>confdefs.h
<<_ACEOF
3234 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
3237 cat >>confdefs.h
<<_ACEOF
3238 #define PACKAGE_VERSION "$PACKAGE_VERSION"
3241 cat >>confdefs.h
<<_ACEOF
3242 #define PACKAGE_STRING "$PACKAGE_STRING"
3245 cat >>confdefs.h
<<_ACEOF
3246 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
3249 cat >>confdefs.h
<<_ACEOF
3250 #define PACKAGE_URL "$PACKAGE_URL"
3254 # Let the site file select an alternate cache file if it wants to.
3255 # Prefer an explicitly selected file to automatically selected ones.
3258 if test -n "$CONFIG_SITE"; then
3259 # We do not want a PATH search for config.site.
3260 case $CONFIG_SITE in #((
3261 -*) ac_site_file1
=.
/$CONFIG_SITE;;
3262 */*) ac_site_file1
=$CONFIG_SITE;;
3263 *) ac_site_file1
=.
/$CONFIG_SITE;;
3265 elif test "x$prefix" != xNONE
; then
3266 ac_site_file1
=$prefix/share
/config.site
3267 ac_site_file2
=$prefix/etc
/config.site
3269 ac_site_file1
=$ac_default_prefix/share
/config.site
3270 ac_site_file2
=$ac_default_prefix/etc
/config.site
3272 for ac_site_file
in "$ac_site_file1" "$ac_site_file2"
3274 test "x$ac_site_file" = xNONE
&& continue
3275 if test /dev
/null
!= "$ac_site_file" && test -r "$ac_site_file"; then
3276 { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
3277 $as_echo "$as_me: loading site script $ac_site_file" >&6;}
3278 sed 's/^/| /' "$ac_site_file" >&5
3280 ||
{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3281 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3282 as_fn_error $?
"failed to load site script $ac_site_file
3283 See \`config.log' for more details" "$LINENO" 5; }
3287 if test -r "$cache_file"; then
3288 # Some versions of bash will fail to source /dev/null (special files
3289 # actually), so we avoid doing that. DJGPP emulates it as a regular file.
3290 if test /dev
/null
!= "$cache_file" && test -f "$cache_file"; then
3291 { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
3292 $as_echo "$as_me: loading cache $cache_file" >&6;}
3294 [\\/]* | ?
:[\\/]* ) .
"$cache_file";;
3295 *) .
"./$cache_file";;
3299 { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
3300 $as_echo "$as_me: creating cache $cache_file" >&6;}
3304 # Check that the precious variables saved in the cache have kept the same
3306 ac_cache_corrupted
=false
3307 for ac_var
in $ac_precious_vars; do
3308 eval ac_old_set
=\
$ac_cv_env_${ac_var}_set
3309 eval ac_new_set
=\
$ac_env_${ac_var}_set
3310 eval ac_old_val
=\
$ac_cv_env_${ac_var}_value
3311 eval ac_new_val
=\
$ac_env_${ac_var}_value
3312 case $ac_old_set,$ac_new_set in
3314 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
3315 $as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
3316 ac_cache_corrupted
=: ;;
3318 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
3319 $as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
3320 ac_cache_corrupted
=: ;;
3323 if test "x$ac_old_val" != "x$ac_new_val"; then
3324 # differences in whitespace do not lead to failure.
3325 ac_old_val_w
=`echo x $ac_old_val`
3326 ac_new_val_w
=`echo x $ac_new_val`
3327 if test "$ac_old_val_w" != "$ac_new_val_w"; then
3328 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
3329 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
3330 ac_cache_corrupted
=:
3332 { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
3333 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
3334 eval $ac_var=\
$ac_old_val
3336 { $as_echo "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5
3337 $as_echo "$as_me: former value: \`$ac_old_val'" >&2;}
3338 { $as_echo "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5
3339 $as_echo "$as_me: current value: \`$ac_new_val'" >&2;}
3342 # Pass precious variables to config.status.
3343 if test "$ac_new_set" = set; then
3345 *\'*) ac_arg
=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
3346 *) ac_arg
=$ac_var=$ac_new_val ;;
3348 case " $ac_configure_args " in
3349 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
3350 *) as_fn_append ac_configure_args
" '$ac_arg'" ;;
3354 if $ac_cache_corrupted; then
3355 { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3356 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3357 { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
3358 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
3359 as_fn_error $?
"run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
3361 ## -------------------- ##
3362 ## Main body of script. ##
3363 ## -------------------- ##
3366 ac_cpp
='$CPP $CPPFLAGS'
3367 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3368 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3369 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
3373 ac_config_headers
="$ac_config_headers include/config.h"
3376 for ac_dir
in tools
"$srcdir"/tools
; do
3377 if test -f "$ac_dir/install-sh"; then
3379 ac_install_sh
="$ac_aux_dir/install-sh -c"
3381 elif test -f "$ac_dir/install.sh"; then
3383 ac_install_sh
="$ac_aux_dir/install.sh -c"
3385 elif test -f "$ac_dir/shtool"; then
3387 ac_install_sh
="$ac_aux_dir/shtool install -c"
3391 if test -z "$ac_aux_dir"; then
3392 as_fn_error $?
"cannot find install-sh, install.sh, or shtool in tools \"$srcdir\"/tools" "$LINENO" 5
3395 # These three variables are undocumented and unsupported,
3396 # and are intended to be withdrawn in a future Autoconf release.
3397 # They can cause serious problems if a builder's source tree is in a directory
3398 # whose full name contains unusual characters.
3399 ac_config_guess
="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
3400 ac_config_sub
="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
3401 ac_configure
="$SHELL $ac_aux_dir/configure" # Please don't use this var.
3405 libwine_version
="1.0"
3409 # Check whether --enable-win16 was given.
3410 if test "${enable_win16+set}" = set; then :
3411 enableval
=$enable_win16;
3414 # Check whether --enable-win64 was given.
3415 if test "${enable_win64+set}" = set; then :
3416 enableval
=$enable_win64;
3419 # Check whether --enable-tests was given.
3420 if test "${enable_tests+set}" = set; then :
3421 enableval
=$enable_tests;
3424 # Check whether --enable-maintainer-mode was given.
3425 if test "${enable_maintainer_mode+set}" = set; then :
3426 enableval
=$enable_maintainer_mode;
3431 # Check whether --with-alsa was given.
3432 if test "${with_alsa+set}" = set; then :
3433 withval
=$with_alsa; if test "x$withval" = "xno"; then ac_cv_header_sys_asoundlib_h
=no
; ac_cv_header_alsa_asoundlib_h
=no
; fi
3437 # Check whether --with-capi was given.
3438 if test "${with_capi+set}" = set; then :
3443 # Check whether --with-cms was given.
3444 if test "${with_cms+set}" = set; then :
3449 # Check whether --with-coreaudio was given.
3450 if test "${with_coreaudio+set}" = set; then :
3451 withval
=$with_coreaudio; if test "x$withval" = "xno"; then ac_cv_header_CoreAudio_CoreAudio_h
=no
; fi
3455 # Check whether --with-cups was given.
3456 if test "${with_cups+set}" = set; then :
3461 # Check whether --with-curses was given.
3462 if test "${with_curses+set}" = set; then :
3463 withval
=$with_curses; if test "x$withval" = "xno"; then ac_cv_header_ncurses_h
=no
; ac_cv_header_curses_h
=no
; fi
3467 # Check whether --with-dbus was given.
3468 if test "${with_dbus+set}" = set; then :
3473 # Check whether --with-fontconfig was given.
3474 if test "${with_fontconfig+set}" = set; then :
3475 withval
=$with_fontconfig;
3479 # Check whether --with-freetype was given.
3480 if test "${with_freetype+set}" = set; then :
3481 withval
=$with_freetype;
3485 # Check whether --with-gettext was given.
3486 if test "${with_gettext+set}" = set; then :
3487 withval
=$with_gettext;
3491 # Check whether --with-gettextpo was given.
3492 if test "${with_gettextpo+set}" = set; then :
3493 withval
=$with_gettextpo; if test "x$withval" = "xno"; then ac_cv_header_gettext_po_h
=no
; fi
3497 # Check whether --with-gphoto was given.
3498 if test "${with_gphoto+set}" = set; then :
3499 withval
=$with_gphoto;
3503 # Check whether --with-glu was given.
3504 if test "${with_glu+set}" = set; then :
3509 # Check whether --with-gnutls was given.
3510 if test "${with_gnutls+set}" = set; then :
3511 withval
=$with_gnutls;
3515 # Check whether --with-gsm was given.
3516 if test "${with_gsm+set}" = set; then :
3517 withval
=$with_gsm; if test "x$withval" = "xno"; then ac_cv_header_gsm_h
=no
; ac_cv_header_gsm_gsm_h
=no
; fi
3521 # Check whether --with-gstreamer was given.
3522 if test "${with_gstreamer+set}" = set; then :
3523 withval
=$with_gstreamer;
3527 # Check whether --with-hal was given.
3528 if test "${with_hal+set}" = set; then :
3533 # Check whether --with-jpeg was given.
3534 if test "${with_jpeg+set}" = set; then :
3539 # Check whether --with-ldap was given.
3540 if test "${with_ldap+set}" = set; then :
3541 withval
=$with_ldap; if test "x$withval" = "xno"; then ac_cv_header_ldap_h
=no
; ac_cv_header_lber_h
=no
; fi
3545 # Check whether --with-mpg123 was given.
3546 if test "${with_mpg123+set}" = set; then :
3547 withval
=$with_mpg123;
3551 # Check whether --with-netapi was given.
3552 if test "${with_netapi+set}" = set; then :
3553 withval
=$with_netapi;
3557 # Check whether --with-openal was given.
3558 if test "${with_openal+set}" = set; then :
3559 withval
=$with_openal; if test "x$withval" = "xno"; then ac_cv_header_AL_al_h
=no
; ac_cv_header_OpenAL_al_h
=no
; fi
3563 # Check whether --with-opencl was given.
3564 if test "${with_opencl+set}" = set; then :
3565 withval
=$with_opencl; if test "x$withval" = "xno"; then ac_cv_header_CL_cl_h
=no
; ac_cv_header_OpenCL_opencl_h
=no
; fi
3569 # Check whether --with-opengl was given.
3570 if test "${with_opengl+set}" = set; then :
3571 withval
=$with_opengl;
3575 # Check whether --with-osmesa was given.
3576 if test "${with_osmesa+set}" = set; then :
3577 withval
=$with_osmesa;
3581 # Check whether --with-oss was given.
3582 if test "${with_oss+set}" = set; then :
3587 # Check whether --with-pcap was given.
3588 if test "${with_pcap+set}" = set; then :
3589 withval
=$with_pcap; if test "x$withval" = "xno"; then ac_cv_header_pcap_pcap_h
=no
; fi
3593 # Check whether --with-png was given.
3594 if test "${with_png+set}" = set; then :
3599 # Check whether --with-pthread was given.
3600 if test "${with_pthread+set}" = set; then :
3601 withval
=$with_pthread; if test "x$withval" = "xno"; then ac_cv_header_pthread_h
=no
; fi
3605 # Check whether --with-pulse was given.
3606 if test "${with_pulse+set}" = set; then :
3607 withval
=$with_pulse;
3611 # Check whether --with-sane was given.
3612 if test "${with_sane+set}" = set; then :
3617 # Check whether --with-tiff was given.
3618 if test "${with_tiff+set}" = set; then :
3623 # Check whether --with-udev was given.
3624 if test "${with_udev+set}" = set; then :
3629 # Check whether --with-v4l was given.
3630 if test "${with_v4l+set}" = set; then :
3635 # Check whether --with-xcomposite was given.
3636 if test "${with_xcomposite+set}" = set; then :
3637 withval
=$with_xcomposite; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xcomposite_h
=no
; fi
3641 # Check whether --with-xcursor was given.
3642 if test "${with_xcursor+set}" = set; then :
3643 withval
=$with_xcursor; if test "x$withval" = "xno"; then ac_cv_header_X11_Xcursor_Xcursor_h
=no
; fi
3647 # Check whether --with-xinerama was given.
3648 if test "${with_xinerama+set}" = set; then :
3649 withval
=$with_xinerama; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xinerama_h
=no
; fi
3653 # Check whether --with-xinput was given.
3654 if test "${with_xinput+set}" = set; then :
3655 withval
=$with_xinput; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_XInput_h
=no
; fi
3659 # Check whether --with-xinput2 was given.
3660 if test "${with_xinput2+set}" = set; then :
3661 withval
=$with_xinput2; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_XInput2_h
=no
; fi
3665 # Check whether --with-xml was given.
3666 if test "${with_xml+set}" = set; then :
3671 # Check whether --with-xrandr was given.
3672 if test "${with_xrandr+set}" = set; then :
3673 withval
=$with_xrandr; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xrandr_h
=no
; fi
3677 # Check whether --with-xrender was given.
3678 if test "${with_xrender+set}" = set; then :
3679 withval
=$with_xrender; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xrender_h
=no
; fi
3683 # Check whether --with-xshape was given.
3684 if test "${with_xshape+set}" = set; then :
3685 withval
=$with_xshape; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_shape_h
=no
; fi
3689 # Check whether --with-xshm was given.
3690 if test "${with_xshm+set}" = set; then :
3691 withval
=$with_xshm; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_XShm_h
=no
; fi
3695 # Check whether --with-xslt was given.
3696 if test "${with_xslt+set}" = set; then :
3701 # Check whether --with-xxf86vm was given.
3702 if test "${with_xxf86vm+set}" = set; then :
3703 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
3707 # Check whether --with-zlib was given.
3708 if test "${with_zlib+set}" = set; then :
3709 withval
=$with_zlib; if test "x$withval" = "xno"; then ac_cv_header_zlib_h
=no
; fi
3714 # Check whether --with-wine-tools was given.
3715 if test "${with_wine_tools+set}" = set; then :
3716 withval
=$with_wine_tools;
3720 # Check whether --with-wine64 was given.
3721 if test "${with_wine64+set}" = set; then :
3722 withval
=$with_wine64;
3726 # Make sure we can run config.sub.
3727 $SHELL "$ac_aux_dir/config.sub" sun4
>/dev
/null
2>&1 ||
3728 as_fn_error $?
"cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
3730 { $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
3731 $as_echo_n "checking build system type... " >&6; }
3732 if ${ac_cv_build+:} false
; then :
3733 $as_echo_n "(cached) " >&6
3735 ac_build_alias
=$build_alias
3736 test "x$ac_build_alias" = x
&&
3737 ac_build_alias
=`$SHELL "$ac_aux_dir/config.guess"`
3738 test "x$ac_build_alias" = x
&&
3739 as_fn_error $?
"cannot guess build type; you must specify one" "$LINENO" 5
3740 ac_cv_build
=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
3741 as_fn_error $?
"$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
3744 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
3745 $as_echo "$ac_cv_build" >&6; }
3746 case $ac_cv_build in
3748 *) as_fn_error $?
"invalid value of canonical build" "$LINENO" 5;;
3751 ac_save_IFS
=$IFS; IFS
='-'
3757 # Remember, the first character of IFS is used to create $*,
3758 # except with old shells:
3761 case $build_os in *\
*) build_os
=`echo "$build_os" | sed 's/ /-/g'`;; esac
3764 { $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
3765 $as_echo_n "checking host system type... " >&6; }
3766 if ${ac_cv_host+:} false
; then :
3767 $as_echo_n "(cached) " >&6
3769 if test "x$host_alias" = x
; then
3770 ac_cv_host
=$ac_cv_build
3772 ac_cv_host
=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
3773 as_fn_error $?
"$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
3777 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
3778 $as_echo "$ac_cv_host" >&6; }
3781 *) as_fn_error $?
"invalid value of canonical host" "$LINENO" 5;;
3784 ac_save_IFS
=$IFS; IFS
='-'
3790 # Remember, the first character of IFS is used to create $*,
3791 # except with old shells:
3794 case $host_os in *\
*) host_os
=`echo "$host_os" | sed 's/ /-/g'`;; esac
3800 *) if test -f "$srcdir/Makefile" -o -f "$srcdir/include/config.h"; then
3801 as_fn_error $?
"you are building out of the source tree, but the source tree contains object files.
3802 You need to run 'make distclean' in the source tree first." "$LINENO" 5
3807 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
3808 $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
3810 ac_make
=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
3811 if eval \
${ac_cv_prog_make_${ac_make}_set+:} false
; then :
3812 $as_echo_n "(cached) " >&6
3814 cat >conftest.
make <<\_ACEOF
3817 @
echo '@@@%%%=$(MAKE)=@@@%%%'
3819 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
3820 case `${MAKE-make} -f conftest.make 2>/dev/null` in
3822 eval ac_cv_prog_make_
${ac_make}_set
=yes;;
3824 eval ac_cv_prog_make_
${ac_make}_set
=no
;;
3828 if eval test \
$ac_cv_prog_make_${ac_make}_set
= yes; then
3829 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3830 $as_echo "yes" >&6; }
3833 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3834 $as_echo "no" >&6; }
3835 SET_MAKE
="MAKE=${MAKE-make}"
3839 ac_cpp
='$CPP $CPPFLAGS'
3840 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3841 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3842 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
3843 if test -n "$ac_tool_prefix"; then
3844 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
3845 set dummy
${ac_tool_prefix}gcc
; ac_word
=$2
3846 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3847 $as_echo_n "checking for $ac_word... " >&6; }
3848 if ${ac_cv_prog_CC+:} false
; then :
3849 $as_echo_n "(cached) " >&6
3851 if test -n "$CC"; then
3852 ac_cv_prog_CC
="$CC" # Let the user override the test.
3854 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3858 test -z "$as_dir" && as_dir
=.
3859 for ac_exec_ext
in '' $ac_executable_extensions; do
3860 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
3861 ac_cv_prog_CC
="${ac_tool_prefix}gcc"
3862 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3872 if test -n "$CC"; then
3873 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3874 $as_echo "$CC" >&6; }
3876 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3877 $as_echo "no" >&6; }
3882 if test -z "$ac_cv_prog_CC"; then
3884 # Extract the first word of "gcc", so it can be a program name with args.
3885 set dummy gcc
; ac_word
=$2
3886 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3887 $as_echo_n "checking for $ac_word... " >&6; }
3888 if ${ac_cv_prog_ac_ct_CC+:} false
; then :
3889 $as_echo_n "(cached) " >&6
3891 if test -n "$ac_ct_CC"; then
3892 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
3894 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3898 test -z "$as_dir" && as_dir
=.
3899 for ac_exec_ext
in '' $ac_executable_extensions; do
3900 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
3901 ac_cv_prog_ac_ct_CC
="gcc"
3902 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3911 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
3912 if test -n "$ac_ct_CC"; then
3913 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3914 $as_echo "$ac_ct_CC" >&6; }
3916 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3917 $as_echo "no" >&6; }
3920 if test "x$ac_ct_CC" = x
; then
3923 case $cross_compiling:$ac_tool_warned in
3925 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3926 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3927 ac_tool_warned
=yes ;;
3935 if test -z "$CC"; then
3936 if test -n "$ac_tool_prefix"; then
3937 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
3938 set dummy
${ac_tool_prefix}cc
; ac_word
=$2
3939 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3940 $as_echo_n "checking for $ac_word... " >&6; }
3941 if ${ac_cv_prog_CC+:} false
; then :
3942 $as_echo_n "(cached) " >&6
3944 if test -n "$CC"; then
3945 ac_cv_prog_CC
="$CC" # Let the user override the test.
3947 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3951 test -z "$as_dir" && as_dir
=.
3952 for ac_exec_ext
in '' $ac_executable_extensions; do
3953 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
3954 ac_cv_prog_CC
="${ac_tool_prefix}cc"
3955 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3965 if test -n "$CC"; then
3966 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3967 $as_echo "$CC" >&6; }
3969 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3970 $as_echo "no" >&6; }
3976 if test -z "$CC"; then
3977 # Extract the first word of "cc", so it can be a program name with args.
3978 set dummy cc
; ac_word
=$2
3979 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3980 $as_echo_n "checking for $ac_word... " >&6; }
3981 if ${ac_cv_prog_CC+:} false
; then :
3982 $as_echo_n "(cached) " >&6
3984 if test -n "$CC"; then
3985 ac_cv_prog_CC
="$CC" # Let the user override the test.
3988 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3992 test -z "$as_dir" && as_dir
=.
3993 for ac_exec_ext
in '' $ac_executable_extensions; do
3994 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
3995 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
3996 ac_prog_rejected
=yes
4000 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4007 if test $ac_prog_rejected = yes; then
4008 # We found a bogon in the path, so make sure we never use it.
4009 set dummy
$ac_cv_prog_CC
4011 if test $# != 0; then
4012 # We chose a different compiler from the bogus one.
4013 # However, it has the same basename, so the bogon will be chosen
4014 # first if we set CC to just the basename; use the full file name.
4016 ac_cv_prog_CC
="$as_dir/$ac_word${1+' '}$@"
4022 if test -n "$CC"; then
4023 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4024 $as_echo "$CC" >&6; }
4026 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4027 $as_echo "no" >&6; }
4032 if test -z "$CC"; then
4033 if test -n "$ac_tool_prefix"; then
4034 for ac_prog
in cl.exe
4036 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
4037 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
4038 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4039 $as_echo_n "checking for $ac_word... " >&6; }
4040 if ${ac_cv_prog_CC+:} false
; then :
4041 $as_echo_n "(cached) " >&6
4043 if test -n "$CC"; then
4044 ac_cv_prog_CC
="$CC" # Let the user override the test.
4046 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4050 test -z "$as_dir" && as_dir
=.
4051 for ac_exec_ext
in '' $ac_executable_extensions; do
4052 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
4053 ac_cv_prog_CC
="$ac_tool_prefix$ac_prog"
4054 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4064 if test -n "$CC"; then
4065 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4066 $as_echo "$CC" >&6; }
4068 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4069 $as_echo "no" >&6; }
4073 test -n "$CC" && break
4076 if test -z "$CC"; then
4078 for ac_prog
in cl.exe
4080 # Extract the first word of "$ac_prog", so it can be a program name with args.
4081 set dummy
$ac_prog; ac_word
=$2
4082 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4083 $as_echo_n "checking for $ac_word... " >&6; }
4084 if ${ac_cv_prog_ac_ct_CC+:} false
; then :
4085 $as_echo_n "(cached) " >&6
4087 if test -n "$ac_ct_CC"; then
4088 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
4090 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4094 test -z "$as_dir" && as_dir
=.
4095 for ac_exec_ext
in '' $ac_executable_extensions; do
4096 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
4097 ac_cv_prog_ac_ct_CC
="$ac_prog"
4098 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4107 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
4108 if test -n "$ac_ct_CC"; then
4109 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
4110 $as_echo "$ac_ct_CC" >&6; }
4112 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4113 $as_echo "no" >&6; }
4117 test -n "$ac_ct_CC" && break
4120 if test "x$ac_ct_CC" = x
; then
4123 case $cross_compiling:$ac_tool_warned in
4125 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4126 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4127 ac_tool_warned
=yes ;;
4136 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4137 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4138 as_fn_error $?
"no acceptable C compiler found in \$PATH
4139 See \`config.log' for more details" "$LINENO" 5; }
4141 # Provide some information about the compiler.
4142 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
4145 for ac_option
in --version -v -V -qversion; do
4146 { { ac_try
="$ac_compiler $ac_option >&5"
4148 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
4149 *) ac_try_echo=$ac_try;;
4151 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4152 $as_echo "$ac_try_echo"; } >&5
4153 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
4155 if test -s conftest.err; then
4157 ... rest of stderr output deleted ...
4158 10q' conftest.err >conftest.er1
4159 cat conftest.er1 >&5
4161 rm -f conftest.er1 conftest.err
4162 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4163 test $ac_status = 0; }
4166 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4167 /* end confdefs.h. */
4177 ac_clean_files_save=$ac_clean_files
4178 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
4179 # Try to create an executable without -o first, disregard a.out.
4180 # It will help us diagnose broken compilers, and finding out an intuition
4182 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
4183 $as_echo_n "checking whether the C compiler works... " >&6; }
4184 ac_link_default=`$as_echo "$ac_link" |
sed 's/ -o *conftest[^ ]*//'`
4186 # The possible output files:
4187 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
4190 for ac_file in $ac_files
4193 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
4194 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
4199 if { { ac_try="$ac_link_default"
4201 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
4202 *) ac_try_echo
=$ac_try;;
4204 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4205 $as_echo "$ac_try_echo"; } >&5
4206 (eval "$ac_link_default") 2>&5
4208 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4209 test $ac_status = 0; }; then :
4210 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
4211 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
4212 # in a Makefile. We should not override ac_cv_exeext if it was cached,
4213 # so that the user can short-circuit this test for compilers unknown to
4215 for ac_file
in $ac_files ''
4217 test -f "$ac_file" ||
continue
4219 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg |
*.map |
*.inf |
*.dSYM |
*.o |
*.obj
)
4222 # We found the default executable, but exeext='' is most
4226 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no
;
4228 ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
4230 # We set ac_cv_exeext here because the later test for it is not
4231 # safe: cross compilers may not add the suffix if given an `-o'
4232 # argument, so we may need to know it at that point already.
4233 # Even if this section looks crufty: it has the advantage of
4240 test "$ac_cv_exeext" = no
&& ac_cv_exeext
=
4245 if test -z "$ac_file"; then :
4246 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4247 $as_echo "no" >&6; }
4248 $as_echo "$as_me: failed program was:" >&5
4249 sed 's/^/| /' conftest.
$ac_ext >&5
4251 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4252 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4253 as_fn_error
77 "C compiler cannot create executables
4254 See \`config.log' for more details" "$LINENO" 5; }
4256 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4257 $as_echo "yes" >&6; }
4259 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
4260 $as_echo_n "checking for C compiler default output file name... " >&6; }
4261 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
4262 $as_echo "$ac_file" >&6; }
4263 ac_exeext
=$ac_cv_exeext
4265 rm -f -r a.out a.out.dSYM a.exe conftest
$ac_cv_exeext b.out
4266 ac_clean_files
=$ac_clean_files_save
4267 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
4268 $as_echo_n "checking for suffix of executables... " >&6; }
4269 if { { ac_try
="$ac_link"
4271 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
4272 *) ac_try_echo=$ac_try;;
4274 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4275 $as_echo "$ac_try_echo"; } >&5
4276 (eval "$ac_link") 2>&5
4278 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4279 test $ac_status = 0; }; then :
4280 # If both `conftest.exe
' and `conftest' are
`present' (well, observable)
4281 # catch `conftest.exe
'. For instance with Cygwin, `ls conftest' will
4282 # work properly (i.e., refer to `conftest.exe'), while it won't with
4284 for ac_file
in conftest.exe conftest conftest.
*; do
4285 test -f "$ac_file" ||
continue
4287 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg |
*.map |
*.inf |
*.dSYM |
*.o |
*.obj
) ;;
4288 *.
* ) ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
4294 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4295 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4296 as_fn_error $?
"cannot compute suffix of executables: cannot compile and link
4297 See \`config.log' for more details" "$LINENO" 5; }
4299 rm -f conftest conftest
$ac_cv_exeext
4300 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
4301 $as_echo "$ac_cv_exeext" >&6; }
4303 rm -f conftest.
$ac_ext
4304 EXEEXT
=$ac_cv_exeext
4306 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4307 /* end confdefs.h. */
4312 FILE *f = fopen ("conftest.out", "w");
4313 return ferror (f) || fclose (f) != 0;
4319 ac_clean_files
="$ac_clean_files conftest.out"
4320 # Check that the compiler produces executables we can run. If not, either
4321 # the compiler is broken, or we cross compile.
4322 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
4323 $as_echo_n "checking whether we are cross compiling... " >&6; }
4324 if test "$cross_compiling" != yes; then
4325 { { ac_try
="$ac_link"
4327 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
4328 *) ac_try_echo=$ac_try;;
4330 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4331 $as_echo "$ac_try_echo"; } >&5
4332 (eval "$ac_link") 2>&5
4334 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4335 test $ac_status = 0; }
4336 if { ac_try='./conftest$ac_cv_exeext'
4337 { { case "(($ac_try" in
4338 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
4339 *) ac_try_echo
=$ac_try;;
4341 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4342 $as_echo "$ac_try_echo"; } >&5
4343 (eval "$ac_try") 2>&5
4345 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4346 test $ac_status = 0; }; }; then
4349 if test "$cross_compiling" = maybe
; then
4352 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4353 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4354 as_fn_error $?
"cannot run C compiled programs.
4355 If you meant to cross compile, use \`--host'.
4356 See \`config.log' for more details" "$LINENO" 5; }
4360 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
4361 $as_echo "$cross_compiling" >&6; }
4363 rm -f conftest.
$ac_ext conftest
$ac_cv_exeext conftest.out
4364 ac_clean_files
=$ac_clean_files_save
4365 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
4366 $as_echo_n "checking for suffix of object files... " >&6; }
4367 if ${ac_cv_objext+:} false
; then :
4368 $as_echo_n "(cached) " >&6
4370 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4371 /* end confdefs.h. */
4381 rm -f conftest.o conftest.obj
4382 if { { ac_try
="$ac_compile"
4384 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
4385 *) ac_try_echo=$ac_try;;
4387 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4388 $as_echo "$ac_try_echo"; } >&5
4389 (eval "$ac_compile") 2>&5
4391 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4392 test $ac_status = 0; }; then :
4393 for ac_file in conftest.o conftest.obj conftest.*; do
4394 test -f "$ac_file" || continue;
4396 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
4397 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
4402 $as_echo "$as_me: failed program was:" >&5
4403 sed 's/^/| /' conftest.$ac_ext >&5
4405 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4406 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4407 as_fn_error $? "cannot compute suffix of object files
: cannot compile
4408 See \
`config.log' for more details" "$LINENO" 5; }
4410 rm -f conftest.$ac_cv_objext conftest.$ac_ext
4412 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
4413 $as_echo "$ac_cv_objext" >&6; }
4414 OBJEXT=$ac_cv_objext
4416 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
4417 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
4418 if ${ac_cv_c_compiler_gnu+:} false; then :
4419 $as_echo_n "(cached) " >&6
4421 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4422 /* end confdefs.h. */
4435 if ac_fn_c_try_compile "$LINENO"; then :
4440 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4441 ac_cv_c_compiler_gnu=$ac_compiler_gnu
4444 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
4445 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
4446 if test $ac_compiler_gnu = yes; then
4451 ac_test_CFLAGS=${CFLAGS+set}
4452 ac_save_CFLAGS=$CFLAGS
4453 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
4454 $as_echo_n "checking whether $CC accepts -g... " >&6; }
4455 if ${ac_cv_prog_cc_g+:} false; then :
4456 $as_echo_n "(cached) " >&6
4458 ac_save_c_werror_flag=$ac_c_werror_flag
4459 ac_c_werror_flag=yes
4462 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4463 /* end confdefs.h. */
4473 if ac_fn_c_try_compile "$LINENO"; then :
4477 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4478 /* end confdefs.h. */
4488 if ac_fn_c_try_compile "$LINENO"; then :
4491 ac_c_werror_flag=$ac_save_c_werror_flag
4493 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4494 /* end confdefs.h. */
4504 if ac_fn_c_try_compile "$LINENO"; then :
4507 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4509 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4511 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4512 ac_c_werror_flag=$ac_save_c_werror_flag
4514 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
4515 $as_echo "$ac_cv_prog_cc_g" >&6; }
4516 if test "$ac_test_CFLAGS" = set; then
4517 CFLAGS=$ac_save_CFLAGS
4518 elif test $ac_cv_prog_cc_g = yes; then
4519 if test "$GCC" = yes; then
4525 if test "$GCC" = yes; then
4531 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
4532 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
4533 if ${ac_cv_prog_cc_c89+:} false; then :
4534 $as_echo_n "(cached) " >&6
4536 ac_cv_prog_cc_c89=no
4538 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4539 /* end confdefs.h. */
4543 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
4544 struct buf { int x; };
4545 FILE * (*rcsopen) (struct buf *, struct stat *, int);
4546 static char *e (p, i)
4552 static char *f (char * (*g) (char **, int), char **p, ...)
4557 s = g (p, va_arg (v,int));
4562 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
4563 function prototypes and stuff, but not '\xHH' hex character constants.
4564 These don't provoke an error unfortunately, instead are silently treated
4565 as 'x'. The following induces an error, until -std is added to get
4566 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
4567 array size at least. It's necessary to write '\x00'==0 to get something
4568 that's true only with -std. */
4569 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
4571 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
4572 inside strings and character constants. */
4574 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
4576 int test (int i, double x);
4577 struct s1 {int (*f) (int a);};
4578 struct s2 {int (*f) (double a);};
4579 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
4585 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
4590 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
4591 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
4593 CC="$ac_save_CC $ac_arg"
4594 if ac_fn_c_try_compile "$LINENO"; then :
4595 ac_cv_prog_cc_c89=$ac_arg
4597 rm -f core conftest.err conftest.$ac_objext
4598 test "x$ac_cv_prog_cc_c89" != "xno" && break
4600 rm -f conftest.$ac_ext
4605 case "x$ac_cv_prog_cc_c89" in
4607 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
4608 $as_echo "none needed" >&6; } ;;
4610 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
4611 $as_echo "unsupported" >&6; } ;;
4613 CC="$CC $ac_cv_prog_cc_c89"
4614 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
4615 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
4617 if test "x$ac_cv_prog_cc_c89" != xno; then :
4622 ac_cpp='$CPP $CPPFLAGS'
4623 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4624 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4625 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4628 ac_cpp='$CXXCPP $CPPFLAGS'
4629 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4630 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4631 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
4632 if test -z "$CXX"; then
4633 if test -n "$CCC"; then
4636 if test -n "$ac_tool_prefix"; then
4637 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
4639 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
4640 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
4641 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4642 $as_echo_n "checking for $ac_word... " >&6; }
4643 if ${ac_cv_prog_CXX+:} false; then :
4644 $as_echo_n "(cached) " >&6
4646 if test -n "$CXX"; then
4647 ac_cv_prog_CXX="$CXX" # Let the user override the test.
4649 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4653 test -z "$as_dir" && as_dir=.
4654 for ac_exec_ext in '' $ac_executable_extensions; do
4655 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4656 ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"
4657 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4667 if test -n "$CXX"; then
4668 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXX" >&5
4669 $as_echo "$CXX" >&6; }
4671 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4672 $as_echo "no" >&6; }
4676 test -n "$CXX" && break
4679 if test -z "$CXX"; then
4681 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
4683 # Extract the first word of "$ac_prog", so it can be a program name with args.
4684 set dummy $ac_prog; ac_word=$2
4685 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4686 $as_echo_n "checking for $ac_word... " >&6; }
4687 if ${ac_cv_prog_ac_ct_CXX+:} false; then :
4688 $as_echo_n "(cached) " >&6
4690 if test -n "$ac_ct_CXX"; then
4691 ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
4693 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4697 test -z "$as_dir" && as_dir=.
4698 for ac_exec_ext in '' $ac_executable_extensions; do
4699 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4700 ac_cv_prog_ac_ct_CXX="$ac_prog"
4701 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4710 ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
4711 if test -n "$ac_ct_CXX"; then
4712 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CXX" >&5
4713 $as_echo "$ac_ct_CXX" >&6; }
4715 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4716 $as_echo "no" >&6; }
4720 test -n "$ac_ct_CXX" && break
4723 if test "x$ac_ct_CXX" = x; then
4726 case $cross_compiling:$ac_tool_warned in
4728 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4729 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4730 ac_tool_warned=yes ;;
4738 # Provide some information about the compiler.
4739 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C++ compiler version" >&5
4742 for ac_option in --version -v -V -qversion; do
4743 { { ac_try="$ac_compiler $ac_option >&5"
4745 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
4746 *) ac_try_echo
=$ac_try;;
4748 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4749 $as_echo "$ac_try_echo"; } >&5
4750 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
4752 if test -s conftest.err
; then
4754 ... rest of stderr output deleted ...
4755 10q' conftest.err
>conftest.er1
4756 cat conftest.er1
>&5
4758 rm -f conftest.er1 conftest.err
4759 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4760 test $ac_status = 0; }
4763 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C++ compiler" >&5
4764 $as_echo_n "checking whether we are using the GNU C++ compiler... " >&6; }
4765 if ${ac_cv_cxx_compiler_gnu+:} false
; then :
4766 $as_echo_n "(cached) " >&6
4768 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4769 /* end confdefs.h. */
4782 if ac_fn_cxx_try_compile
"$LINENO"; then :
4787 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
4788 ac_cv_cxx_compiler_gnu
=$ac_compiler_gnu
4791 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cxx_compiler_gnu" >&5
4792 $as_echo "$ac_cv_cxx_compiler_gnu" >&6; }
4793 if test $ac_compiler_gnu = yes; then
4798 ac_test_CXXFLAGS
=${CXXFLAGS+set}
4799 ac_save_CXXFLAGS
=$CXXFLAGS
4800 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CXX accepts -g" >&5
4801 $as_echo_n "checking whether $CXX accepts -g... " >&6; }
4802 if ${ac_cv_prog_cxx_g+:} false
; then :
4803 $as_echo_n "(cached) " >&6
4805 ac_save_cxx_werror_flag
=$ac_cxx_werror_flag
4806 ac_cxx_werror_flag
=yes
4809 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4810 /* end confdefs.h. */
4820 if ac_fn_cxx_try_compile
"$LINENO"; then :
4821 ac_cv_prog_cxx_g
=yes
4824 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4825 /* end confdefs.h. */
4835 if ac_fn_cxx_try_compile
"$LINENO"; then :
4838 ac_cxx_werror_flag
=$ac_save_cxx_werror_flag
4840 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4841 /* end confdefs.h. */
4851 if ac_fn_cxx_try_compile
"$LINENO"; then :
4852 ac_cv_prog_cxx_g
=yes
4854 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
4856 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
4858 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
4859 ac_cxx_werror_flag
=$ac_save_cxx_werror_flag
4861 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cxx_g" >&5
4862 $as_echo "$ac_cv_prog_cxx_g" >&6; }
4863 if test "$ac_test_CXXFLAGS" = set; then
4864 CXXFLAGS
=$ac_save_CXXFLAGS
4865 elif test $ac_cv_prog_cxx_g = yes; then
4866 if test "$GXX" = yes; then
4872 if test "$GXX" = yes; then
4879 ac_cpp
='$CPP $CPPFLAGS'
4880 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4881 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4882 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
4884 if test -n "$ac_tool_prefix"; then
4885 # Extract the first word of "${ac_tool_prefix}cpp", so it can be a program name with args.
4886 set dummy
${ac_tool_prefix}cpp
; ac_word
=$2
4887 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4888 $as_echo_n "checking for $ac_word... " >&6; }
4889 if ${ac_cv_prog_CPPBIN+:} false
; then :
4890 $as_echo_n "(cached) " >&6
4892 if test -n "$CPPBIN"; then
4893 ac_cv_prog_CPPBIN
="$CPPBIN" # Let the user override the test.
4895 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4899 test -z "$as_dir" && as_dir
=.
4900 for ac_exec_ext
in '' $ac_executable_extensions; do
4901 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
4902 ac_cv_prog_CPPBIN
="${ac_tool_prefix}cpp"
4903 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4912 CPPBIN
=$ac_cv_prog_CPPBIN
4913 if test -n "$CPPBIN"; then
4914 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPPBIN" >&5
4915 $as_echo "$CPPBIN" >&6; }
4917 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4918 $as_echo "no" >&6; }
4923 if test -z "$ac_cv_prog_CPPBIN"; then
4924 ac_ct_CPPBIN
=$CPPBIN
4925 # Extract the first word of "cpp", so it can be a program name with args.
4926 set dummy cpp
; ac_word
=$2
4927 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4928 $as_echo_n "checking for $ac_word... " >&6; }
4929 if ${ac_cv_prog_ac_ct_CPPBIN+:} false
; then :
4930 $as_echo_n "(cached) " >&6
4932 if test -n "$ac_ct_CPPBIN"; then
4933 ac_cv_prog_ac_ct_CPPBIN
="$ac_ct_CPPBIN" # Let the user override the test.
4935 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4939 test -z "$as_dir" && as_dir
=.
4940 for ac_exec_ext
in '' $ac_executable_extensions; do
4941 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
4942 ac_cv_prog_ac_ct_CPPBIN
="cpp"
4943 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4952 ac_ct_CPPBIN
=$ac_cv_prog_ac_ct_CPPBIN
4953 if test -n "$ac_ct_CPPBIN"; then
4954 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CPPBIN" >&5
4955 $as_echo "$ac_ct_CPPBIN" >&6; }
4957 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4958 $as_echo "no" >&6; }
4961 if test "x$ac_ct_CPPBIN" = x
; then
4964 case $cross_compiling:$ac_tool_warned in
4966 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4967 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4968 ac_tool_warned
=yes ;;
4970 CPPBIN
=$ac_ct_CPPBIN
4973 CPPBIN
="$ac_cv_prog_CPPBIN"
4977 cat >>confdefs.h
<<_ACEOF
4978 #define EXEEXT "$ac_exeext"
4981 if test -n "$ac_tool_prefix"; then
4982 # Extract the first word of "${ac_tool_prefix}ld", so it can be a program name with args.
4983 set dummy
${ac_tool_prefix}ld
; ac_word
=$2
4984 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4985 $as_echo_n "checking for $ac_word... " >&6; }
4986 if ${ac_cv_prog_LD+:} false
; then :
4987 $as_echo_n "(cached) " >&6
4989 if test -n "$LD"; then
4990 ac_cv_prog_LD
="$LD" # Let the user override the test.
4992 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4996 test -z "$as_dir" && as_dir
=.
4997 for ac_exec_ext
in '' $ac_executable_extensions; do
4998 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
4999 ac_cv_prog_LD
="${ac_tool_prefix}ld"
5000 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5010 if test -n "$LD"; then
5011 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
5012 $as_echo "$LD" >&6; }
5014 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5015 $as_echo "no" >&6; }
5020 if test -z "$ac_cv_prog_LD"; then
5022 # Extract the first word of "ld", so it can be a program name with args.
5023 set dummy ld
; ac_word
=$2
5024 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5025 $as_echo_n "checking for $ac_word... " >&6; }
5026 if ${ac_cv_prog_ac_ct_LD+:} false
; then :
5027 $as_echo_n "(cached) " >&6
5029 if test -n "$ac_ct_LD"; then
5030 ac_cv_prog_ac_ct_LD
="$ac_ct_LD" # Let the user override the test.
5032 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5036 test -z "$as_dir" && as_dir
=.
5037 for ac_exec_ext
in '' $ac_executable_extensions; do
5038 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
5039 ac_cv_prog_ac_ct_LD
="ld"
5040 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5049 ac_ct_LD
=$ac_cv_prog_ac_ct_LD
5050 if test -n "$ac_ct_LD"; then
5051 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_LD" >&5
5052 $as_echo "$ac_ct_LD" >&6; }
5054 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5055 $as_echo "no" >&6; }
5058 if test "x$ac_ct_LD" = x
; then
5061 case $cross_compiling:$ac_tool_warned in
5063 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5064 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5065 ac_tool_warned
=yes ;;
5076 with_fontconfig
=${with_fontconfig:-no}
5078 *-mingw32*|
*-cygwin*)
5079 enable_win16
=${enable_win16:-no}
5080 CFLAGS
="$CFLAGS -D_WIN32"
5086 if test "x$enable_win64" != "xyes" -a "$cross_compiling" != "yes"
5090 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC works" >&5
5091 $as_echo_n "checking whether $CC works... " >&6; }
5093 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5094 /* end confdefs.h. */
5104 if ac_fn_c_try_link
"$LINENO"; then :
5105 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5106 $as_echo "yes" >&6; }
5108 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5109 $as_echo "no" >&6; }
5110 as_fn_error $?
"Cannot build a 32-bit program, you need to install 32-bit development libraries." "$LINENO" 5
5112 rm -f core conftest.err conftest.
$ac_objext \
5113 conftest
$ac_exeext conftest.
$ac_ext
5115 notice_platform
="32-bit "
5118 enable_win16
=${enable_win16:-yes}
5120 if test "x${GCC}" = "xyes"
5122 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC supports __builtin_ms_va_list" >&5
5123 $as_echo_n "checking whether $CC supports __builtin_ms_va_list... " >&6; }
5124 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5125 /* end confdefs.h. */
5130 void func(__builtin_ms_va_list *args);
5135 if ac_fn_c_try_compile
"$LINENO"; then :
5136 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5137 $as_echo "yes" >&6; }
5139 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5140 $as_echo "no" >&6; }
5141 as_fn_error $?
"You need gcc >= 4.4 or clang >= 3.8 to build Wine as 64-bit." "$LINENO" 5
5143 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
5148 notice_platform
="64-bit "
5154 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC supports Thumb" >&5
5155 $as_echo_n "checking whether $CC supports Thumb... " >&6; }
5156 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5157 /* end confdefs.h. */
5158 int ac_test(int i) { return i; }
5162 asm(".thumb\nblx ac_test\n.arm"); if (ac_test(1)) return 1
5167 if ac_fn_c_try_link
"$LINENO"; then :
5168 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5169 $as_echo "yes" >&6; }
5171 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5172 $as_echo "no" >&6; }
5173 as_fn_error $?
"You need a target with Thumb support to build Wine for ARM." "$LINENO" 5
5175 rm -f core conftest.err conftest.
$ac_objext \
5176 conftest
$ac_exeext conftest.
$ac_ext
5177 CFLAGS
="$CFLAGS -marm"
5182 enable_win16
=${enable_win16:-yes}
5186 enable_win16
=${enable_win16:-no}
5187 enable_win64
=${enable_win64:-no}
5189 enable_winetest
=${enable_winetest:-$enable_tests}
5191 if test -n "$with_wine64"
5193 if test "x$enable_win64" = "xyes"
5195 as_fn_error $?
"--enable-win64 and --with-wine64 are mutually exclusive.
5196 --enable-win64 should be used in the 64-bit build tree, --with-wine64 in the 32-bit Wow64 build tree." "$LINENO" 5
5198 test "$srcdir" != . || as_fn_error $?
"--with-wine64 cannot be used when building inside the source tree.
5199 You should create a separate build directory and run configure from there." "$LINENO" 5
5200 enable_fonts
=${enable_fonts:-no}
5201 enable_server
=${enable_server:-no}
5202 elif test "x$enable_win64" = "xyes"
5204 test "x$libdir" != "x\${exec_prefix}/lib" || libdir
="\${exec_prefix}/lib64"
5207 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for the directory containing the Wine tools" >&5
5208 $as_echo_n "checking for the directory containing the Wine tools... " >&6; }
5209 if ${wine_cv_toolsdir+:} false
; then :
5210 $as_echo_n "(cached) " >&6
5212 wine_cv_toolsdir
="$with_wine_tools"
5213 if test -z "$with_wine_tools"; then
5214 if test "$cross_compiling" = "yes"; then
5215 as_fn_error $?
"you must use the --with-wine-tools option when cross-compiling." "$LINENO" 5
5216 elif test -n "$with_wine64"; then
5217 wine_cv_toolsdir
="$with_wine64"
5220 if test -z "$wine_cv_toolsdir"; then
5221 wine_makedep
=tools
/makedep
5222 wine_cv_toolsdir
="\$(top_builddir)"
5223 elif test -d "$wine_cv_toolsdir/tools/winebuild"; then
5224 wine_makedep
=$wine_cv_toolsdir/tools
/makedep
5225 case "$wine_cv_toolsdir" in
5227 *) wine_cv_toolsdir
="\$(top_builddir)/$wine_cv_toolsdir" ;;
5229 enable_tools
=${enable_tools:-no}
5230 test -f "$wine_makedep" || as_fn_error $?
"the Wine tools have not yet been built in $wine_cv_toolsdir" "$LINENO" 5
5232 as_fn_error $?
"could not find Wine tools in $wine_cv_toolsdir" "$LINENO" 5
5235 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_toolsdir" >&5
5236 $as_echo "$wine_cv_toolsdir" >&6; }
5237 TOOLSDIR
=$wine_cv_toolsdir
5239 if test -n "$host_alias" -a "$host_alias" != "$build_alias"
5241 TARGETFLAGS
="-b $host_alias $TARGETFLAGS"
5247 # Extract the first word of "$ac_prog", so it can be a program name with args.
5248 set dummy
$ac_prog; ac_word
=$2
5249 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5250 $as_echo_n "checking for $ac_word... " >&6; }
5251 if ${ac_cv_prog_FLEX+:} false
; then :
5252 $as_echo_n "(cached) " >&6
5254 if test -n "$FLEX"; then
5255 ac_cv_prog_FLEX
="$FLEX" # Let the user override the test.
5257 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5261 test -z "$as_dir" && as_dir
=.
5262 for ac_exec_ext
in '' $ac_executable_extensions; do
5263 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
5264 ac_cv_prog_FLEX
="$ac_prog"
5265 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5274 FLEX
=$ac_cv_prog_FLEX
5275 if test -n "$FLEX"; then
5276 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $FLEX" >&5
5277 $as_echo "$FLEX" >&6; }
5279 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5280 $as_echo "no" >&6; }
5284 test -n "$FLEX" && break
5286 test -n "$FLEX" || FLEX
="none"
5288 if test "$FLEX" = "none"
5290 as_fn_error $?
"no suitable flex found. Please install the 'flex' package." "$LINENO" 5
5292 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether flex is recent enough" >&5
5293 $as_echo_n "checking whether flex is recent enough... " >&6; }
5294 cat >conftest.l
<<EOF
5296 #include "prediluvian.h"
5300 if $FLEX -t conftest.l
>/dev
/null
2>&5
5302 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5303 $as_echo "yes" >&6; }
5305 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5306 $as_echo "no" >&6; }
5307 as_fn_error $?
"Your flex version is too old. Please install flex version 2.5.33 or newer." "$LINENO" 5
5310 for ac_prog
in bison
5312 # Extract the first word of "$ac_prog", so it can be a program name with args.
5313 set dummy
$ac_prog; ac_word
=$2
5314 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5315 $as_echo_n "checking for $ac_word... " >&6; }
5316 if ${ac_cv_prog_BISON+:} false
; then :
5317 $as_echo_n "(cached) " >&6
5319 if test -n "$BISON"; then
5320 ac_cv_prog_BISON
="$BISON" # Let the user override the test.
5322 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5326 test -z "$as_dir" && as_dir
=.
5327 for ac_exec_ext
in '' $ac_executable_extensions; do
5328 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
5329 ac_cv_prog_BISON
="$ac_prog"
5330 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5339 BISON
=$ac_cv_prog_BISON
5340 if test -n "$BISON"; then
5341 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $BISON" >&5
5342 $as_echo "$BISON" >&6; }
5344 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5345 $as_echo "no" >&6; }
5349 test -n "$BISON" && break
5351 test -n "$BISON" || BISON
="none"
5353 if test "$BISON" = "none"
5355 as_fn_error $?
"no suitable bison found. Please install the 'bison' package." "$LINENO" 5
5358 if test -n "$ac_tool_prefix"; then
5359 for ac_prog
in ar gar
5361 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
5362 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
5363 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5364 $as_echo_n "checking for $ac_word... " >&6; }
5365 if ${ac_cv_prog_AR+:} false
; then :
5366 $as_echo_n "(cached) " >&6
5368 if test -n "$AR"; then
5369 ac_cv_prog_AR
="$AR" # Let the user override the test.
5371 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5375 test -z "$as_dir" && as_dir
=.
5376 for ac_exec_ext
in '' $ac_executable_extensions; do
5377 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
5378 ac_cv_prog_AR
="$ac_tool_prefix$ac_prog"
5379 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5389 if test -n "$AR"; then
5390 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
5391 $as_echo "$AR" >&6; }
5393 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5394 $as_echo "no" >&6; }
5398 test -n "$AR" && break
5401 if test -z "$AR"; then
5403 for ac_prog
in ar gar
5405 # Extract the first word of "$ac_prog", so it can be a program name with args.
5406 set dummy
$ac_prog; ac_word
=$2
5407 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5408 $as_echo_n "checking for $ac_word... " >&6; }
5409 if ${ac_cv_prog_ac_ct_AR+:} false
; then :
5410 $as_echo_n "(cached) " >&6
5412 if test -n "$ac_ct_AR"; then
5413 ac_cv_prog_ac_ct_AR
="$ac_ct_AR" # Let the user override the test.
5415 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5419 test -z "$as_dir" && as_dir
=.
5420 for ac_exec_ext
in '' $ac_executable_extensions; do
5421 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
5422 ac_cv_prog_ac_ct_AR
="$ac_prog"
5423 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5432 ac_ct_AR
=$ac_cv_prog_ac_ct_AR
5433 if test -n "$ac_ct_AR"; then
5434 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5
5435 $as_echo "$ac_ct_AR" >&6; }
5437 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5438 $as_echo "no" >&6; }
5442 test -n "$ac_ct_AR" && break
5445 if test "x$ac_ct_AR" = x
; then
5448 case $cross_compiling:$ac_tool_warned in
5450 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5451 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5452 ac_tool_warned
=yes ;;
5458 if test -n "$ac_tool_prefix"; then
5459 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
5460 set dummy
${ac_tool_prefix}strip
; ac_word
=$2
5461 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5462 $as_echo_n "checking for $ac_word... " >&6; }
5463 if ${ac_cv_prog_STRIP+:} false
; then :
5464 $as_echo_n "(cached) " >&6
5466 if test -n "$STRIP"; then
5467 ac_cv_prog_STRIP
="$STRIP" # Let the user override the test.
5469 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5473 test -z "$as_dir" && as_dir
=.
5474 for ac_exec_ext
in '' $ac_executable_extensions; do
5475 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
5476 ac_cv_prog_STRIP
="${ac_tool_prefix}strip"
5477 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5486 STRIP
=$ac_cv_prog_STRIP
5487 if test -n "$STRIP"; then
5488 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
5489 $as_echo "$STRIP" >&6; }
5491 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5492 $as_echo "no" >&6; }
5497 if test -z "$ac_cv_prog_STRIP"; then
5499 # Extract the first word of "strip", so it can be a program name with args.
5500 set dummy strip
; ac_word
=$2
5501 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5502 $as_echo_n "checking for $ac_word... " >&6; }
5503 if ${ac_cv_prog_ac_ct_STRIP+:} false
; then :
5504 $as_echo_n "(cached) " >&6
5506 if test -n "$ac_ct_STRIP"; then
5507 ac_cv_prog_ac_ct_STRIP
="$ac_ct_STRIP" # Let the user override the test.
5509 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5513 test -z "$as_dir" && as_dir
=.
5514 for ac_exec_ext
in '' $ac_executable_extensions; do
5515 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
5516 ac_cv_prog_ac_ct_STRIP
="strip"
5517 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5526 ac_ct_STRIP
=$ac_cv_prog_ac_ct_STRIP
5527 if test -n "$ac_ct_STRIP"; then
5528 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
5529 $as_echo "$ac_ct_STRIP" >&6; }
5531 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5532 $as_echo "no" >&6; }
5535 if test "x$ac_ct_STRIP" = x
; then
5538 case $cross_compiling:$ac_tool_warned in
5540 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5541 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5542 ac_tool_warned
=yes ;;
5547 STRIP
="$ac_cv_prog_STRIP"
5552 if test -n "$ac_tool_prefix"; then
5553 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
5554 set dummy
${ac_tool_prefix}ranlib
; ac_word
=$2
5555 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5556 $as_echo_n "checking for $ac_word... " >&6; }
5557 if ${ac_cv_prog_RANLIB+:} false
; then :
5558 $as_echo_n "(cached) " >&6
5560 if test -n "$RANLIB"; then
5561 ac_cv_prog_RANLIB
="$RANLIB" # Let the user override the test.
5563 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5567 test -z "$as_dir" && as_dir
=.
5568 for ac_exec_ext
in '' $ac_executable_extensions; do
5569 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
5570 ac_cv_prog_RANLIB
="${ac_tool_prefix}ranlib"
5571 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5580 RANLIB
=$ac_cv_prog_RANLIB
5581 if test -n "$RANLIB"; then
5582 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
5583 $as_echo "$RANLIB" >&6; }
5585 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5586 $as_echo "no" >&6; }
5591 if test -z "$ac_cv_prog_RANLIB"; then
5592 ac_ct_RANLIB
=$RANLIB
5593 # Extract the first word of "ranlib", so it can be a program name with args.
5594 set dummy ranlib
; ac_word
=$2
5595 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5596 $as_echo_n "checking for $ac_word... " >&6; }
5597 if ${ac_cv_prog_ac_ct_RANLIB+:} false
; then :
5598 $as_echo_n "(cached) " >&6
5600 if test -n "$ac_ct_RANLIB"; then
5601 ac_cv_prog_ac_ct_RANLIB
="$ac_ct_RANLIB" # Let the user override the test.
5603 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5607 test -z "$as_dir" && as_dir
=.
5608 for ac_exec_ext
in '' $ac_executable_extensions; do
5609 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
5610 ac_cv_prog_ac_ct_RANLIB
="ranlib"
5611 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5620 ac_ct_RANLIB
=$ac_cv_prog_ac_ct_RANLIB
5621 if test -n "$ac_ct_RANLIB"; then
5622 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
5623 $as_echo "$ac_ct_RANLIB" >&6; }
5625 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5626 $as_echo "no" >&6; }
5629 if test "x$ac_ct_RANLIB" = x
; then
5632 case $cross_compiling:$ac_tool_warned in
5634 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5635 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5636 ac_tool_warned
=yes ;;
5638 RANLIB
=$ac_ct_RANLIB
5641 RANLIB
="$ac_cv_prog_RANLIB"
5644 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5
5645 $as_echo_n "checking whether ln -s works... " >&6; }
5647 if test "$LN_S" = "ln -s"; then
5648 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5649 $as_echo "yes" >&6; }
5651 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5
5652 $as_echo "no, using $LN_S" >&6; }
5655 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
5656 $as_echo_n "checking for grep that handles long lines and -e... " >&6; }
5657 if ${ac_cv_path_GREP+:} false
; then :
5658 $as_echo_n "(cached) " >&6
5660 if test -z "$GREP"; then
5661 ac_path_GREP_found
=false
5662 # Loop through the user's path and test for each of PROGNAME-LIST
5663 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5664 for as_dir
in $PATH$PATH_SEPARATOR/usr
/xpg
4/bin
5667 test -z "$as_dir" && as_dir
=.
5668 for ac_prog
in grep ggrep
; do
5669 for ac_exec_ext
in '' $ac_executable_extensions; do
5670 ac_path_GREP
="$as_dir/$ac_prog$ac_exec_ext"
5671 as_fn_executable_p
"$ac_path_GREP" ||
continue
5672 # Check for GNU ac_path_GREP and select it if it is found.
5673 # Check for GNU $ac_path_GREP
5674 case `"$ac_path_GREP" --version 2>&1` in
5676 ac_cv_path_GREP
="$ac_path_GREP" ac_path_GREP_found
=:;;
5679 $as_echo_n 0123456789 >"conftest.in"
5682 cat "conftest.in" "conftest.in" >"conftest.tmp"
5683 mv "conftest.tmp" "conftest.in"
5684 cp "conftest.in" "conftest.nl"
5685 $as_echo 'GREP' >> "conftest.nl"
5686 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev
/null ||
break
5687 diff "conftest.out" "conftest.nl" >/dev
/null
2>&1 ||
break
5688 as_fn_arith
$ac_count + 1 && ac_count
=$as_val
5689 if test $ac_count -gt ${ac_path_GREP_max-0}; then
5690 # Best one so far, save it but keep looking for a better one
5691 ac_cv_path_GREP
="$ac_path_GREP"
5692 ac_path_GREP_max
=$ac_count
5694 # 10*(2^10) chars as input seems more than enough
5695 test $ac_count -gt 10 && break
5697 rm -f conftest.
in conftest.tmp conftest.
nl conftest.out
;;
5700 $ac_path_GREP_found && break 3
5705 if test -z "$ac_cv_path_GREP"; then
5706 as_fn_error $?
"no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
5709 ac_cv_path_GREP
=$GREP
5713 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
5714 $as_echo "$ac_cv_path_GREP" >&6; }
5715 GREP
="$ac_cv_path_GREP"
5718 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
5719 $as_echo_n "checking for egrep... " >&6; }
5720 if ${ac_cv_path_EGREP+:} false
; then :
5721 $as_echo_n "(cached) " >&6
5723 if echo a |
$GREP -E '(a|b)' >/dev
/null
2>&1
5724 then ac_cv_path_EGREP
="$GREP -E"
5726 if test -z "$EGREP"; then
5727 ac_path_EGREP_found
=false
5728 # Loop through the user's path and test for each of PROGNAME-LIST
5729 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5730 for as_dir
in $PATH$PATH_SEPARATOR/usr
/xpg
4/bin
5733 test -z "$as_dir" && as_dir
=.
5734 for ac_prog
in egrep; do
5735 for ac_exec_ext
in '' $ac_executable_extensions; do
5736 ac_path_EGREP
="$as_dir/$ac_prog$ac_exec_ext"
5737 as_fn_executable_p
"$ac_path_EGREP" ||
continue
5738 # Check for GNU ac_path_EGREP and select it if it is found.
5739 # Check for GNU $ac_path_EGREP
5740 case `"$ac_path_EGREP" --version 2>&1` in
5742 ac_cv_path_EGREP
="$ac_path_EGREP" ac_path_EGREP_found
=:;;
5745 $as_echo_n 0123456789 >"conftest.in"
5748 cat "conftest.in" "conftest.in" >"conftest.tmp"
5749 mv "conftest.tmp" "conftest.in"
5750 cp "conftest.in" "conftest.nl"
5751 $as_echo 'EGREP' >> "conftest.nl"
5752 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev
/null ||
break
5753 diff "conftest.out" "conftest.nl" >/dev
/null
2>&1 ||
break
5754 as_fn_arith
$ac_count + 1 && ac_count
=$as_val
5755 if test $ac_count -gt ${ac_path_EGREP_max-0}; then
5756 # Best one so far, save it but keep looking for a better one
5757 ac_cv_path_EGREP
="$ac_path_EGREP"
5758 ac_path_EGREP_max
=$ac_count
5760 # 10*(2^10) chars as input seems more than enough
5761 test $ac_count -gt 10 && break
5763 rm -f conftest.
in conftest.tmp conftest.
nl conftest.out
;;
5766 $ac_path_EGREP_found && break 3
5771 if test -z "$ac_cv_path_EGREP"; then
5772 as_fn_error $?
"no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
5775 ac_cv_path_EGREP
=$EGREP
5780 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
5781 $as_echo "$ac_cv_path_EGREP" >&6; }
5782 EGREP
="$ac_cv_path_EGREP"
5785 # Extract the first word of "ldconfig", so it can be a program name with args.
5786 set dummy ldconfig
; ac_word
=$2
5787 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5788 $as_echo_n "checking for $ac_word... " >&6; }
5789 if ${ac_cv_path_LDCONFIG+:} false
; then :
5790 $as_echo_n "(cached) " >&6
5794 ac_cv_path_LDCONFIG
="$LDCONFIG" # Let the user override the test with a path.
5797 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5798 for as_dir
in /sbin
/usr
/sbin
$PATH
5801 test -z "$as_dir" && as_dir
=.
5802 for ac_exec_ext
in '' $ac_executable_extensions; do
5803 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
5804 ac_cv_path_LDCONFIG
="$as_dir/$ac_word$ac_exec_ext"
5805 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5812 test -z "$ac_cv_path_LDCONFIG" && ac_cv_path_LDCONFIG
="true"
5816 LDCONFIG
=$ac_cv_path_LDCONFIG
5817 if test -n "$LDCONFIG"; then
5818 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LDCONFIG" >&5
5819 $as_echo "$LDCONFIG" >&6; }
5821 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5822 $as_echo "no" >&6; }
5826 for ac_prog
in msgfmt
5828 # Extract the first word of "$ac_prog", so it can be a program name with args.
5829 set dummy
$ac_prog; ac_word
=$2
5830 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5831 $as_echo_n "checking for $ac_word... " >&6; }
5832 if ${ac_cv_prog_MSGFMT+:} false
; then :
5833 $as_echo_n "(cached) " >&6
5835 if test -n "$MSGFMT"; then
5836 ac_cv_prog_MSGFMT
="$MSGFMT" # Let the user override the test.
5838 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5842 test -z "$as_dir" && as_dir
=.
5843 for ac_exec_ext
in '' $ac_executable_extensions; do
5844 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
5845 ac_cv_prog_MSGFMT
="$ac_prog"
5846 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5855 MSGFMT
=$ac_cv_prog_MSGFMT
5856 if test -n "$MSGFMT"; then
5857 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MSGFMT" >&5
5858 $as_echo "$MSGFMT" >&6; }
5860 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5861 $as_echo "no" >&6; }
5865 test -n "$MSGFMT" && break
5867 test -n "$MSGFMT" || MSGFMT
="false"
5869 if ${ac_tool_prefix+:} false
; then :
5870 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
5871 set dummy
${ac_tool_prefix}pkg-config
; ac_word
=$2
5872 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5873 $as_echo_n "checking for $ac_word... " >&6; }
5874 if ${ac_cv_prog_PKG_CONFIG+:} false
; then :
5875 $as_echo_n "(cached) " >&6
5877 if test -n "$PKG_CONFIG"; then
5878 ac_cv_prog_PKG_CONFIG
="$PKG_CONFIG" # Let the user override the test.
5880 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5884 test -z "$as_dir" && as_dir
=.
5885 for ac_exec_ext
in '' $ac_executable_extensions; do
5886 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
5887 ac_cv_prog_PKG_CONFIG
="${ac_tool_prefix}pkg-config"
5888 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5897 PKG_CONFIG
=$ac_cv_prog_PKG_CONFIG
5898 if test -n "$PKG_CONFIG"; then
5899 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
5900 $as_echo "$PKG_CONFIG" >&6; }
5902 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5903 $as_echo "no" >&6; }
5908 if ${ac_cv_prog_PKG_CONFIG:+false} :; then :
5909 if test "x$cross_compiling" = xyes
; then :
5912 { ac_cv_prog_PKG_CONFIG
=; unset ac_cv_prog_PKG_CONFIG
;}
5913 # Extract the first word of "pkg-config", so it can be a program name with args.
5914 set dummy pkg-config
; ac_word
=$2
5915 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5916 $as_echo_n "checking for $ac_word... " >&6; }
5917 if ${ac_cv_prog_PKG_CONFIG+:} false
; then :
5918 $as_echo_n "(cached) " >&6
5920 if test -n "$PKG_CONFIG"; then
5921 ac_cv_prog_PKG_CONFIG
="$PKG_CONFIG" # Let the user override the test.
5923 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5927 test -z "$as_dir" && as_dir
=.
5928 for ac_exec_ext
in '' $ac_executable_extensions; do
5929 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
5930 ac_cv_prog_PKG_CONFIG
="pkg-config"
5931 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5940 PKG_CONFIG
=$ac_cv_prog_PKG_CONFIG
5941 if test -n "$PKG_CONFIG"; then
5942 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
5943 $as_echo "$PKG_CONFIG" >&6; }
5945 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5946 $as_echo "no" >&6; }
5952 PKG_CONFIG
=$ac_cv_prog_PKG_CONFIG
5955 if test "x$enable_maintainer_mode" != "xyes"
5962 test "$srcdir" = . || as_fn_error $?
"Maintainer mode cannot work out of tree." "$LINENO" 5
5963 for ac_prog
in fontforge
5965 # Extract the first word of "$ac_prog", so it can be a program name with args.
5966 set dummy
$ac_prog; ac_word
=$2
5967 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5968 $as_echo_n "checking for $ac_word... " >&6; }
5969 if ${ac_cv_prog_FONTFORGE+:} false
; then :
5970 $as_echo_n "(cached) " >&6
5972 if test -n "$FONTFORGE"; then
5973 ac_cv_prog_FONTFORGE
="$FONTFORGE" # Let the user override the test.
5975 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5979 test -z "$as_dir" && as_dir
=.
5980 for ac_exec_ext
in '' $ac_executable_extensions; do
5981 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
5982 ac_cv_prog_FONTFORGE
="$ac_prog"
5983 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5992 FONTFORGE
=$ac_cv_prog_FONTFORGE
5993 if test -n "$FONTFORGE"; then
5994 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $FONTFORGE" >&5
5995 $as_echo "$FONTFORGE" >&6; }
5997 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5998 $as_echo "no" >&6; }
6002 test -n "$FONTFORGE" && break
6004 test -n "$FONTFORGE" || FONTFORGE
="false"
6006 for ac_prog
in rsvg-convert rsvg
6008 # Extract the first word of "$ac_prog", so it can be a program name with args.
6009 set dummy
$ac_prog; ac_word
=$2
6010 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6011 $as_echo_n "checking for $ac_word... " >&6; }
6012 if ${ac_cv_prog_RSVG+:} false
; then :
6013 $as_echo_n "(cached) " >&6
6015 if test -n "$RSVG"; then
6016 ac_cv_prog_RSVG
="$RSVG" # Let the user override the test.
6018 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6022 test -z "$as_dir" && as_dir
=.
6023 for ac_exec_ext
in '' $ac_executable_extensions; do
6024 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
6025 ac_cv_prog_RSVG
="$ac_prog"
6026 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6035 RSVG
=$ac_cv_prog_RSVG
6036 if test -n "$RSVG"; then
6037 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RSVG" >&5
6038 $as_echo "$RSVG" >&6; }
6040 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6041 $as_echo "no" >&6; }
6045 test -n "$RSVG" && break
6047 test -n "$RSVG" || RSVG
="false"
6049 for ac_prog
in convert
6051 # Extract the first word of "$ac_prog", so it can be a program name with args.
6052 set dummy
$ac_prog; ac_word
=$2
6053 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6054 $as_echo_n "checking for $ac_word... " >&6; }
6055 if ${ac_cv_prog_CONVERT+:} false
; then :
6056 $as_echo_n "(cached) " >&6
6058 if test -n "$CONVERT"; then
6059 ac_cv_prog_CONVERT
="$CONVERT" # Let the user override the test.
6061 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6065 test -z "$as_dir" && as_dir
=.
6066 for ac_exec_ext
in '' $ac_executable_extensions; do
6067 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
6068 ac_cv_prog_CONVERT
="$ac_prog"
6069 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6078 CONVERT
=$ac_cv_prog_CONVERT
6079 if test -n "$CONVERT"; then
6080 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CONVERT" >&5
6081 $as_echo "$CONVERT" >&6; }
6083 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6084 $as_echo "no" >&6; }
6088 test -n "$CONVERT" && break
6090 test -n "$CONVERT" || CONVERT
="false"
6092 for ac_prog
in icotool
6094 # Extract the first word of "$ac_prog", so it can be a program name with args.
6095 set dummy
$ac_prog; ac_word
=$2
6096 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6097 $as_echo_n "checking for $ac_word... " >&6; }
6098 if ${ac_cv_prog_ICOTOOL+:} false
; then :
6099 $as_echo_n "(cached) " >&6
6101 if test -n "$ICOTOOL"; then
6102 ac_cv_prog_ICOTOOL
="$ICOTOOL" # Let the user override the test.
6104 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6108 test -z "$as_dir" && as_dir
=.
6109 for ac_exec_ext
in '' $ac_executable_extensions; do
6110 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
6111 ac_cv_prog_ICOTOOL
="$ac_prog"
6112 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6121 ICOTOOL
=$ac_cv_prog_ICOTOOL
6122 if test -n "$ICOTOOL"; then
6123 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ICOTOOL" >&5
6124 $as_echo "$ICOTOOL" >&6; }
6126 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6127 $as_echo "no" >&6; }
6131 test -n "$ICOTOOL" && break
6133 test -n "$ICOTOOL" || ICOTOOL
="false"
6135 test "$FONTFORGE" != "false" || as_fn_error $?
"You need fontforge to rebuild fonts in maintainer mode." "$LINENO" 5
6136 test "$RSVG" != "false" || as_fn_error $?
"You need rsvg to rebuild icons in maintainer mode." "$LINENO" 5
6138 if test "$CONVERT" = false
6140 as_fn_error $?
"You need imagemagick to rebuild icons in maintainer mode." "$LINENO" 5
6142 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for recent enough imagemagick" >&5
6143 $as_echo_n "checking for recent enough imagemagick... " >&6; }
6144 convert_version
=`convert --version | head -n1`
6145 if test "x$convert_version" != "x"
6147 convert_version_major
=`expr "$convert_version" : '.* \([0-9]*\)\.[0-9]*'`
6148 convert_version_minor
=`expr "$convert_version" : '.* [0-9]*\.\([0-9]*\)'`
6149 if test "$convert_version_major" -eq 6 -a "$convert_version_minor" -lt 6
6154 if test "$CONVERT" = false
6156 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no ($convert_version_major.$convert_version_minor)" >&5
6157 $as_echo "no ($convert_version_major.$convert_version_minor)" >&6; }
6158 as_fn_error $?
"You need imagemagick version 6.6 or newer to rebuild icons in maintainer mode." "$LINENO" 5
6160 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes ($convert_version_major.$convert_version_minor)" >&5
6161 $as_echo "yes ($convert_version_major.$convert_version_minor)" >&6; }
6165 if test "$ICOTOOL" = false
6167 as_fn_error $?
"You need icotool to rebuild icons in maintainer mode." "$LINENO" 5
6169 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for recent enough icotool" >&5
6170 $as_echo_n "checking for recent enough icotool... " >&6; }
6171 icotool_version
=`icotool --version | head -n1`
6172 if test "x$icotool_version" != "x"
6174 icotool_version_major
=`expr "$icotool_version" : '.* \([0-9]*\)\.[0-9]*'`
6175 icotool_version_minor
=`expr "$icotool_version" : '.* [0-9]*\.\([0-9]*\)'`
6176 if test "$icotool_version_major" -eq 0 -a "$icotool_version_minor" -lt 29
6179 as_fn_append wine_warnings
"|icotool version 0.29.0 or newer is needed to rebuild icons."
6182 if test "$ICOTOOL" = false
6184 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no ($icotool_version_major.$icotool_version_minor)" >&5
6185 $as_echo "no ($icotool_version_major.$icotool_version_minor)" >&6; }
6186 as_fn_error $?
"You need icotool version 0.29.0 or newer to rebuild icons in maintainer mode." "$LINENO" 5
6188 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes ($icotool_version_major.$icotool_version_minor)" >&5
6189 $as_echo "yes ($icotool_version_major.$icotool_version_minor)" >&6; }
6195 { ac_cv_header_gettext_po_h
=; unset ac_cv_header_gettext_po_h
;}
6198 test "x$with_gettext" != xno || MSGFMT
=false
6199 if test "$MSGFMT" != "false"
6201 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether msgfmt supports contexts" >&5
6202 $as_echo_n "checking whether msgfmt supports contexts... " >&6; }
6203 cat >conftest.po
<<EOF
6209 if $MSGFMT -o /dev
/null conftest.po
2>&5
6211 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
6212 $as_echo "yes" >&6; }
6214 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6215 $as_echo "no" >&6; }
6219 if test "$MSGFMT" = false
; then :
6220 case "x$with_gettext" in
6221 x
) as_fn_append wine_warnings
"|gettext tools not found (or too old), translations won't be built." ;;
6223 *) as_fn_error $?
"gettext tools not found (or too old), translations won't be built.
6224 This is an error since --with-gettext was requested." "$LINENO" 5 ;;
6226 enable_po
=${enable_po:-no}
6230 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for i386_set_ldt in -li386" >&5
6231 $as_echo_n "checking for i386_set_ldt in -li386... " >&6; }
6232 if ${ac_cv_lib_i386_i386_set_ldt+:} false
; then :
6233 $as_echo_n "(cached) " >&6
6235 ac_check_lib_save_LIBS
=$LIBS
6237 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6238 /* end confdefs.h. */
6240 /* Override any GCC internal prototype to avoid an error.
6241 Use char because int might match the return type of a GCC
6242 builtin and then its argument prototype would still apply. */
6246 char i386_set_ldt ();
6250 return i386_set_ldt ();
6255 if ac_fn_c_try_link
"$LINENO"; then :
6256 ac_cv_lib_i386_i386_set_ldt
=yes
6258 ac_cv_lib_i386_i386_set_ldt
=no
6260 rm -f core conftest.err conftest.
$ac_objext \
6261 conftest
$ac_exeext conftest.
$ac_ext
6262 LIBS
=$ac_check_lib_save_LIBS
6264 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_i386_i386_set_ldt" >&5
6265 $as_echo "$ac_cv_lib_i386_i386_set_ldt" >&6; }
6266 if test "x$ac_cv_lib_i386_i386_set_ldt" = xyes
; then :
6267 cat >>confdefs.h
<<_ACEOF
6268 #define HAVE_LIBI386 1
6275 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _oss_ioctl in -lossaudio" >&5
6276 $as_echo_n "checking for _oss_ioctl in -lossaudio... " >&6; }
6277 if ${ac_cv_lib_ossaudio__oss_ioctl+:} false
; then :
6278 $as_echo_n "(cached) " >&6
6280 ac_check_lib_save_LIBS
=$LIBS
6281 LIBS
="-lossaudio $LIBS"
6282 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6283 /* end confdefs.h. */
6285 /* Override any GCC internal prototype to avoid an error.
6286 Use char because int might match the return type of a GCC
6287 builtin and then its argument prototype would still apply. */
6295 return _oss_ioctl ();
6300 if ac_fn_c_try_link
"$LINENO"; then :
6301 ac_cv_lib_ossaudio__oss_ioctl
=yes
6303 ac_cv_lib_ossaudio__oss_ioctl
=no
6305 rm -f core conftest.err conftest.
$ac_objext \
6306 conftest
$ac_exeext conftest.
$ac_ext
6307 LIBS
=$ac_check_lib_save_LIBS
6309 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ossaudio__oss_ioctl" >&5
6310 $as_echo "$ac_cv_lib_ossaudio__oss_ioctl" >&6; }
6311 if test "x$ac_cv_lib_ossaudio__oss_ioctl" = xyes
; then :
6312 cat >>confdefs.h
<<_ACEOF
6313 #define HAVE_LIBOSSAUDIO 1
6316 LIBS
="-lossaudio $LIBS"
6325 # Check whether --enable-largefile was given.
6326 if test "${enable_largefile+set}" = set; then :
6327 enableval
=$enable_largefile;
6330 if test "$enable_largefile" != no
; then
6332 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for special C compiler options needed for large files" >&5
6333 $as_echo_n "checking for special C compiler options needed for large files... " >&6; }
6334 if ${ac_cv_sys_largefile_CC+:} false
; then :
6335 $as_echo_n "(cached) " >&6
6337 ac_cv_sys_largefile_CC
=no
6338 if test "$GCC" != yes; then
6341 # IRIX 6.2 and later do not support large files by default,
6342 # so use the C compiler's -n32 option if that helps.
6343 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6344 /* end confdefs.h. */
6345 #include <sys/types.h>
6346 /* Check that off_t can represent 2**63 - 1 correctly.
6347 We can't simply define LARGE_OFF_T to be 9223372036854775807,
6348 since some C++ compilers masquerading as C compilers
6349 incorrectly reject 9223372036854775807. */
6350 #define LARGE_OFF_T ((((off_t) 1 << 31) << 31) - 1 + (((off_t) 1 << 31) << 31))
6351 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
6352 && LARGE_OFF_T % 2147483647 == 1)
6362 if ac_fn_c_try_compile
"$LINENO"; then :
6365 rm -f core conftest.err conftest.
$ac_objext
6367 if ac_fn_c_try_compile
"$LINENO"; then :
6368 ac_cv_sys_largefile_CC
=' -n32'; break
6370 rm -f core conftest.err conftest.
$ac_objext
6374 rm -f conftest.
$ac_ext
6377 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_largefile_CC" >&5
6378 $as_echo "$ac_cv_sys_largefile_CC" >&6; }
6379 if test "$ac_cv_sys_largefile_CC" != no
; then
6380 CC
=$CC$ac_cv_sys_largefile_CC
6383 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _FILE_OFFSET_BITS value needed for large files" >&5
6384 $as_echo_n "checking for _FILE_OFFSET_BITS value needed for large files... " >&6; }
6385 if ${ac_cv_sys_file_offset_bits+:} false
; then :
6386 $as_echo_n "(cached) " >&6
6389 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6390 /* end confdefs.h. */
6391 #include <sys/types.h>
6392 /* Check that off_t can represent 2**63 - 1 correctly.
6393 We can't simply define LARGE_OFF_T to be 9223372036854775807,
6394 since some C++ compilers masquerading as C compilers
6395 incorrectly reject 9223372036854775807. */
6396 #define LARGE_OFF_T ((((off_t) 1 << 31) << 31) - 1 + (((off_t) 1 << 31) << 31))
6397 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
6398 && LARGE_OFF_T % 2147483647 == 1)
6408 if ac_fn_c_try_compile
"$LINENO"; then :
6409 ac_cv_sys_file_offset_bits
=no
; break
6411 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
6412 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6413 /* end confdefs.h. */
6414 #define _FILE_OFFSET_BITS 64
6415 #include <sys/types.h>
6416 /* Check that off_t can represent 2**63 - 1 correctly.
6417 We can't simply define LARGE_OFF_T to be 9223372036854775807,
6418 since some C++ compilers masquerading as C compilers
6419 incorrectly reject 9223372036854775807. */
6420 #define LARGE_OFF_T ((((off_t) 1 << 31) << 31) - 1 + (((off_t) 1 << 31) << 31))
6421 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
6422 && LARGE_OFF_T % 2147483647 == 1)
6432 if ac_fn_c_try_compile
"$LINENO"; then :
6433 ac_cv_sys_file_offset_bits
=64; break
6435 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
6436 ac_cv_sys_file_offset_bits
=unknown
6440 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_file_offset_bits" >&5
6441 $as_echo "$ac_cv_sys_file_offset_bits" >&6; }
6442 case $ac_cv_sys_file_offset_bits in #(
6445 cat >>confdefs.h
<<_ACEOF
6446 #define _FILE_OFFSET_BITS $ac_cv_sys_file_offset_bits
6451 if test $ac_cv_sys_file_offset_bits = unknown
; then
6452 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _LARGE_FILES value needed for large files" >&5
6453 $as_echo_n "checking for _LARGE_FILES value needed for large files... " >&6; }
6454 if ${ac_cv_sys_large_files+:} false
; then :
6455 $as_echo_n "(cached) " >&6
6458 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6459 /* end confdefs.h. */
6460 #include <sys/types.h>
6461 /* Check that off_t can represent 2**63 - 1 correctly.
6462 We can't simply define LARGE_OFF_T to be 9223372036854775807,
6463 since some C++ compilers masquerading as C compilers
6464 incorrectly reject 9223372036854775807. */
6465 #define LARGE_OFF_T ((((off_t) 1 << 31) << 31) - 1 + (((off_t) 1 << 31) << 31))
6466 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
6467 && LARGE_OFF_T % 2147483647 == 1)
6477 if ac_fn_c_try_compile
"$LINENO"; then :
6478 ac_cv_sys_large_files
=no
; break
6480 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
6481 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6482 /* end confdefs.h. */
6483 #define _LARGE_FILES 1
6484 #include <sys/types.h>
6485 /* Check that off_t can represent 2**63 - 1 correctly.
6486 We can't simply define LARGE_OFF_T to be 9223372036854775807,
6487 since some C++ compilers masquerading as C compilers
6488 incorrectly reject 9223372036854775807. */
6489 #define LARGE_OFF_T ((((off_t) 1 << 31) << 31) - 1 + (((off_t) 1 << 31) << 31))
6490 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
6491 && LARGE_OFF_T % 2147483647 == 1)
6501 if ac_fn_c_try_compile
"$LINENO"; then :
6502 ac_cv_sys_large_files
=1; break
6504 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
6505 ac_cv_sys_large_files
=unknown
6509 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_large_files" >&5
6510 $as_echo "$ac_cv_sys_large_files" >&6; }
6511 case $ac_cv_sys_large_files in #(
6514 cat >>confdefs.h
<<_ACEOF
6515 #define _LARGE_FILES $ac_cv_sys_large_files
6527 ac_cpp
='$CPP $CPPFLAGS'
6528 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6529 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6530 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
6531 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
6532 $as_echo_n "checking how to run the C preprocessor... " >&6; }
6533 # On Suns, sometimes $CPP names a directory.
6534 if test -n "$CPP" && test -d "$CPP"; then
6537 if test -z "$CPP"; then
6538 if ${ac_cv_prog_CPP+:} false
; then :
6539 $as_echo_n "(cached) " >&6
6541 # Double quotes because CPP needs to be expanded
6542 for CPP
in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
6545 for ac_c_preproc_warn_flag
in '' yes
6547 # Use a header file that comes with gcc, so configuring glibc
6548 # with a fresh cross-compiler works.
6549 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
6550 # <limits.h> exists even on freestanding compilers.
6551 # On the NeXT, cc -E runs the code through the compiler's parser,
6552 # not just through cpp. "Syntax error" is here to catch this case.
6553 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6554 /* end confdefs.h. */
6556 # include <limits.h>
6558 # include <assert.h>
6562 if ac_fn_c_try_cpp
"$LINENO"; then :
6565 # Broken: fails on valid input.
6568 rm -f conftest.err conftest.i conftest.
$ac_ext
6570 # OK, works on sane cases. Now check whether nonexistent headers
6571 # can be detected and how.
6572 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6573 /* end confdefs.h. */
6574 #include <ac_nonexistent.h>
6576 if ac_fn_c_try_cpp
"$LINENO"; then :
6577 # Broken: success on invalid input.
6580 # Passes both tests.
6584 rm -f conftest.err conftest.i conftest.
$ac_ext
6587 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
6588 rm -f conftest.i conftest.err conftest.
$ac_ext
6589 if $ac_preproc_ok; then :
6601 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
6602 $as_echo "$CPP" >&6; }
6604 for ac_c_preproc_warn_flag
in '' yes
6606 # Use a header file that comes with gcc, so configuring glibc
6607 # with a fresh cross-compiler works.
6608 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
6609 # <limits.h> exists even on freestanding compilers.
6610 # On the NeXT, cc -E runs the code through the compiler's parser,
6611 # not just through cpp. "Syntax error" is here to catch this case.
6612 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6613 /* end confdefs.h. */
6615 # include <limits.h>
6617 # include <assert.h>
6621 if ac_fn_c_try_cpp
"$LINENO"; then :
6624 # Broken: fails on valid input.
6627 rm -f conftest.err conftest.i conftest.
$ac_ext
6629 # OK, works on sane cases. Now check whether nonexistent headers
6630 # can be detected and how.
6631 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6632 /* end confdefs.h. */
6633 #include <ac_nonexistent.h>
6635 if ac_fn_c_try_cpp
"$LINENO"; then :
6636 # Broken: success on invalid input.
6639 # Passes both tests.
6643 rm -f conftest.err conftest.i conftest.
$ac_ext
6646 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
6647 rm -f conftest.i conftest.err conftest.
$ac_ext
6648 if $ac_preproc_ok; then :
6651 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
6652 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
6653 as_fn_error $?
"C preprocessor \"$CPP\" fails sanity check
6654 See \`config.log' for more details" "$LINENO" 5; }
6658 ac_cpp
='$CPP $CPPFLAGS'
6659 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6660 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6661 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
6664 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
6665 $as_echo_n "checking for ANSI C header files... " >&6; }
6666 if ${ac_cv_header_stdc+:} false
; then :
6667 $as_echo_n "(cached) " >&6
6669 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6670 /* end confdefs.h. */
6684 if ac_fn_c_try_compile
"$LINENO"; then :
6685 ac_cv_header_stdc
=yes
6687 ac_cv_header_stdc
=no
6689 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
6691 if test $ac_cv_header_stdc = yes; then
6692 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
6693 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6694 /* end confdefs.h. */
6698 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
6699 $EGREP "memchr" >/dev
/null
2>&1; then :
6702 ac_cv_header_stdc
=no
6708 if test $ac_cv_header_stdc = yes; then
6709 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
6710 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6711 /* end confdefs.h. */
6715 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
6716 $EGREP "free" >/dev
/null
2>&1; then :
6719 ac_cv_header_stdc
=no
6725 if test $ac_cv_header_stdc = yes; then
6726 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
6727 if test "$cross_compiling" = yes; then :
6730 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6731 /* end confdefs.h. */
6734 #if ((' ' & 0x0FF) == 0x020)
6735 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
6736 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
6738 # define ISLOWER(c) \
6739 (('a' <= (c) && (c) <= 'i') \
6740 || ('j' <= (c) && (c) <= 'r') \
6741 || ('s' <= (c) && (c) <= 'z'))
6742 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
6745 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
6750 for (i = 0; i < 256; i++)
6751 if (XOR (islower (i), ISLOWER (i))
6752 || toupper (i) != TOUPPER (i))
6757 if ac_fn_c_try_run
"$LINENO"; then :
6760 ac_cv_header_stdc
=no
6762 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext \
6763 conftest.
$ac_objext conftest.beam conftest.
$ac_ext
6768 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
6769 $as_echo "$ac_cv_header_stdc" >&6; }
6770 if test $ac_cv_header_stdc = yes; then
6772 $as_echo "#define STDC_HEADERS 1" >>confdefs.h
6776 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
6777 for ac_header
in sys
/types.h sys
/stat.h stdlib.h string.h memory.h
strings.h \
6778 inttypes.h stdint.h unistd.h
6780 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
6781 ac_fn_c_check_header_compile
"$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
6783 if eval test \"x\$
"$as_ac_Header"\" = x
"yes"; then :
6784 cat >>confdefs.h
<<_ACEOF
6785 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
6795 ApplicationServices
/ApplicationServices.h \
6796 AudioToolbox
/AudioConverter.h \
6797 AudioUnit
/AudioUnit.h \
6798 AudioUnit
/AudioComponent.h \
6801 CommonCrypto
/CommonDigest.h \
6802 CoreAudio
/CoreAudio.h \
6803 CoreServices
/CoreServices.h \
6804 DiskArbitration
/DiskArbitration.h \
6806 IOKit
/hid
/IOHIDLib.h \
6809 QuickTime
/ImageCompression.h \
6810 Security
/Security.h \
6862 netinet
/in_systm.h \
6926 valgrind
/memcheck.h \
6927 valgrind
/valgrind.h \
6931 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
6932 ac_fn_c_check_header_mongrel
"$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
6933 if eval test \"x\$
"$as_ac_Header"\" = x
"yes"; then :
6934 cat >>confdefs.h
<<_ACEOF
6935 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
6942 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether sys/types.h defines makedev" >&5
6943 $as_echo_n "checking whether sys/types.h defines makedev... " >&6; }
6944 if ${ac_cv_header_sys_types_h_makedev+:} false
; then :
6945 $as_echo_n "(cached) " >&6
6947 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6948 /* end confdefs.h. */
6949 #include <sys/types.h>
6953 return makedev(0, 0);
6958 if ac_fn_c_try_link
"$LINENO"; then :
6959 ac_cv_header_sys_types_h_makedev
=yes
6961 ac_cv_header_sys_types_h_makedev
=no
6963 rm -f core conftest.err conftest.
$ac_objext \
6964 conftest
$ac_exeext conftest.
$ac_ext
6967 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_sys_types_h_makedev" >&5
6968 $as_echo "$ac_cv_header_sys_types_h_makedev" >&6; }
6970 if test $ac_cv_header_sys_types_h_makedev = no
; then
6971 ac_fn_c_check_header_mongrel
"$LINENO" "sys/mkdev.h" "ac_cv_header_sys_mkdev_h" "$ac_includes_default"
6972 if test "x$ac_cv_header_sys_mkdev_h" = xyes
; then :
6974 $as_echo "#define MAJOR_IN_MKDEV 1" >>confdefs.h
6980 if test $ac_cv_header_sys_mkdev_h = no
; then
6981 ac_fn_c_check_header_mongrel
"$LINENO" "sys/sysmacros.h" "ac_cv_header_sys_sysmacros_h" "$ac_includes_default"
6982 if test "x$ac_cv_header_sys_sysmacros_h" = xyes
; then :
6984 $as_echo "#define MAJOR_IN_SYSMACROS 1" >>confdefs.h
6992 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether stat file-mode macros are broken" >&5
6993 $as_echo_n "checking whether stat file-mode macros are broken... " >&6; }
6994 if ${ac_cv_header_stat_broken+:} false
; then :
6995 $as_echo_n "(cached) " >&6
6997 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6998 /* end confdefs.h. */
6999 #include <sys/types.h>
7000 #include <sys/stat.h>
7002 #if defined S_ISBLK && defined S_IFDIR
7003 extern char c1[S_ISBLK (S_IFDIR) ? -1 : 1];
7006 #if defined S_ISBLK && defined S_IFCHR
7007 extern char c2[S_ISBLK (S_IFCHR) ? -1 : 1];
7010 #if defined S_ISLNK && defined S_IFREG
7011 extern char c3[S_ISLNK (S_IFREG) ? -1 : 1];
7014 #if defined S_ISSOCK && defined S_IFREG
7015 extern char c4[S_ISSOCK (S_IFREG) ? -1 : 1];
7019 if ac_fn_c_try_compile
"$LINENO"; then :
7020 ac_cv_header_stat_broken
=no
7022 ac_cv_header_stat_broken
=yes
7024 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
7026 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stat_broken" >&5
7027 $as_echo "$ac_cv_header_stat_broken" >&6; }
7028 if test $ac_cv_header_stat_broken = yes; then
7030 $as_echo "#define STAT_MACROS_BROKEN 1" >>confdefs.h
7036 for ac_header
in sys
/mount.h sys
/statfs.h sys
/sysctl.h sys
/user.h sys
/vfs.h
7038 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
7039 ac_fn_c_check_header_compile
"$LINENO" "$ac_header" "$as_ac_Header" "#include <sys/types.h>
7040 #ifdef HAVE_SYS_PARAM_H
7041 # include <sys/param.h>
7044 if eval test \"x\$
"$as_ac_Header"\" = x
"yes"; then :
7045 cat >>confdefs.h
<<_ACEOF
7046 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
7061 netinet
/if_ether.h \
7062 netinet
/if_inarp.h \
7071 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
7072 ac_fn_c_check_header_compile
"$LINENO" "$ac_header" "$as_ac_Header" "#include <sys/types.h>
7073 #ifdef HAVE_SYS_SOCKET_H
7074 # include <sys/socket.h>
7076 #ifdef HAVE_SYS_SOCKETVAR_H
7077 # include <sys/socketvar.h>
7079 #ifdef HAVE_NET_ROUTE_H
7080 # include <net/route.h>
7082 #ifdef HAVE_NETINET_IN_H
7083 # include <netinet/in.h>
7085 #ifdef HAVE_NETINET_IN_SYSTM_H
7086 # include <netinet/in_systm.h>
7088 #ifdef HAVE_NET_IF_H
7089 # include <net/if.h>
7091 #ifdef HAVE_NETINET_IP_H
7092 # include <netinet/ip.h>
7095 if eval test \"x\$
"$as_ac_Header"\" = x
"yes"; then :
7096 cat >>confdefs.h
<<_ACEOF
7097 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
7105 for ac_header
in netinet
/tcp_timer.h netinet
/udp_var.h netinet
/icmp_var.h netinet
/tcp_var.h
7107 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
7108 ac_fn_c_check_header_compile
"$LINENO" "$ac_header" "$as_ac_Header" "#include <sys/types.h>
7112 #ifdef HAVE_SYS_SOCKET_H
7113 # include <sys/socket.h>
7115 #ifdef HAVE_SYS_SOCKETVAR_H
7116 # include <sys/socketvar.h>
7118 #ifdef HAVE_SYS_TIMEOUT_H
7119 # include <sys/timeout.h>
7121 #ifdef HAVE_NETINET_IN_H
7122 # include <netinet/in.h>
7124 #ifdef HAVE_NETINET_IN_SYSTM_H
7125 # include <netinet/in_systm.h>
7127 #ifdef HAVE_NETINET_IP_H
7128 # include <netinet/ip.h>
7130 #ifdef HAVE_NETINET_IP_VAR_H
7131 # include <netinet/ip_var.h>
7133 #ifdef HAVE_NETINET_IP_ICMP_H
7134 # include <netinet/ip_icmp.h>
7136 #ifdef HAVE_NETINET_UDP_H
7137 # include <netinet/udp.h>
7139 #ifdef HAVE_NETINET_TCP_H
7140 # include <netinet/tcp.h>
7142 #ifdef HAVE_NETINET_TCP_TIMER_H
7143 #include <netinet/tcp_timer.h>
7146 if eval test \"x\$
"$as_ac_Header"\" = x
"yes"; then :
7147 cat >>confdefs.h
<<_ACEOF
7148 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
7156 for ac_header
in linux
/ipx.h linux
/irda.h linux
/rtnetlink.h
7158 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
7159 ac_fn_c_check_header_compile
"$LINENO" "$ac_header" "$as_ac_Header" "#include <sys/types.h>
7160 #ifdef HAVE_ASM_TYPES_H
7161 # include <asm/types.h>
7163 #ifdef HAVE_SYS_SOCKET_H
7164 # include <sys/socket.h>
7166 #ifdef HAVE_LINUX_TYPES_H
7167 # include <linux/types.h>
7170 if eval test \"x\$
"$as_ac_Header"\" = x
"yes"; then :
7171 cat >>confdefs.h
<<_ACEOF
7172 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
7180 for ac_header
in mach-o
/dyld_images.h
7182 ac_fn_c_check_header_compile
"$LINENO" "mach-o/dyld_images.h" "ac_cv_header_mach_o_dyld_images_h" "#ifdef HAVE_STDBOOL_H
7183 # include <stdbool.h>
7185 #ifdef HAVE_STDINT_H
7186 # include <stdint.h>
7189 if test "x$ac_cv_header_mach_o_dyld_images_h" = xyes
; then :
7190 cat >>confdefs.h
<<_ACEOF
7191 #define HAVE_MACH_O_DYLD_IMAGES_H 1
7199 for ac_header
in resolv.h
7201 ac_fn_c_check_header_compile
"$LINENO" "resolv.h" "ac_cv_header_resolv_h" "#include <sys/types.h>
7202 #ifdef HAVE_SYS_SOCKET_H
7203 # include <sys/socket.h>
7205 #ifdef HAVE_NETINET_IN_H
7206 # include <netinet/in.h>
7208 #ifdef HAVE_ARPA_NAMESER_H
7209 # include <arpa/nameser.h>
7212 if test "x$ac_cv_header_resolv_h" = xyes
; then :
7213 cat >>confdefs.h
<<_ACEOF
7214 #define HAVE_RESOLV_H 1
7222 for ac_header
in ifaddrs.h
7224 ac_fn_c_check_header_compile
"$LINENO" "ifaddrs.h" "ac_cv_header_ifaddrs_h" "#include <sys/types.h>
7226 if test "x$ac_cv_header_ifaddrs_h" = xyes
; then :
7227 cat >>confdefs.h
<<_ACEOF
7228 #define HAVE_IFADDRS_H 1
7236 for ac_header
in sys
/ucontext.h
7238 ac_fn_c_check_header_compile
"$LINENO" "sys/ucontext.h" "ac_cv_header_sys_ucontext_h" "#include <signal.h>
7240 if test "x$ac_cv_header_sys_ucontext_h" = xyes
; then :
7241 cat >>confdefs.h
<<_ACEOF
7242 #define HAVE_SYS_UCONTEXT_H 1
7250 for ac_header
in sys
/thr.h
7252 ac_fn_c_check_header_compile
"$LINENO" "sys/thr.h" "ac_cv_header_sys_thr_h" "#include <sys/types.h>
7253 #ifdef HAVE_SYS_UCONTEXT_H
7254 #include <sys/ucontext.h>
7257 if test "x$ac_cv_header_sys_thr_h" = xyes
; then :
7258 cat >>confdefs.h
<<_ACEOF
7259 #define HAVE_SYS_THR_H 1
7267 for ac_header
in pthread_np.h
7269 ac_fn_c_check_header_compile
"$LINENO" "pthread_np.h" "ac_cv_header_pthread_np_h" "#ifdef HAVE_PTHREAD_H
7270 #include <pthread.h>
7273 if test "x$ac_cv_header_pthread_np_h" = xyes
; then :
7274 cat >>confdefs.h
<<_ACEOF
7275 #define HAVE_PTHREAD_NP_H 1
7283 for ac_header
in linux
/videodev.h linux
/videodev2.h libv4l1.h
7285 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
7286 ac_fn_c_check_header_compile
"$LINENO" "$ac_header" "$as_ac_Header" "#ifdef HAVE_SYS_TIME_H
7287 #include <sys/time.h>
7289 #include <sys/types.h>
7290 #ifdef HAVE_ASM_TYPES_H
7291 #include <asm/types.h>
7294 if eval test \"x\$
"$as_ac_Header"\" = x
"yes"; then :
7295 cat >>confdefs.h
<<_ACEOF
7296 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
7304 for ac_header
in libprocstat.h
7306 ac_fn_c_check_header_compile
"$LINENO" "libprocstat.h" "ac_cv_header_libprocstat_h" "#ifdef HAVE_SYS_PARAM_H
7307 #include <sys/param.h>
7309 #ifdef HAVE_SYS_QUEUE_H
7310 #include <sys/queue.h>
7312 #ifdef HAVE_SYS_SOCKET_H
7313 #include <sys/socket.h>
7316 if test "x$ac_cv_header_libprocstat_h" = xyes
; then :
7317 cat >>confdefs.h
<<_ACEOF
7318 #define HAVE_LIBPROCSTAT_H 1
7327 dlldir
="\${libdir}/wine"
7329 DLLFLAGS
="-D_REENTRANT"
7340 # Extract the first word of "ldd", so it can be a program name with args.
7341 set dummy ldd
; ac_word
=$2
7342 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7343 $as_echo_n "checking for $ac_word... " >&6; }
7344 if ${ac_cv_path_LDD+:} false
; then :
7345 $as_echo_n "(cached) " >&6
7349 ac_cv_path_LDD
="$LDD" # Let the user override the test with a path.
7352 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7353 as_dummy
="/sbin:/usr/sbin:$PATH"
7354 for as_dir
in $as_dummy
7357 test -z "$as_dir" && as_dir
=.
7358 for ac_exec_ext
in '' $ac_executable_extensions; do
7359 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
7360 ac_cv_path_LDD
="$as_dir/$ac_word$ac_exec_ext"
7361 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7368 test -z "$ac_cv_path_LDD" && ac_cv_path_LDD
="true"
7373 if test -n "$LDD"; then
7374 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LDD" >&5
7375 $as_echo "$LDD" >&6; }
7377 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7378 $as_echo "no" >&6; }
7382 if test -n "$ac_tool_prefix"; then
7383 # Extract the first word of "${ac_tool_prefix}otool", so it can be a program name with args.
7384 set dummy
${ac_tool_prefix}otool
; ac_word
=$2
7385 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7386 $as_echo_n "checking for $ac_word... " >&6; }
7387 if ${ac_cv_prog_OTOOL+:} false
; then :
7388 $as_echo_n "(cached) " >&6
7390 if test -n "$OTOOL"; then
7391 ac_cv_prog_OTOOL
="$OTOOL" # Let the user override the test.
7393 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7397 test -z "$as_dir" && as_dir
=.
7398 for ac_exec_ext
in '' $ac_executable_extensions; do
7399 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
7400 ac_cv_prog_OTOOL
="${ac_tool_prefix}otool"
7401 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7410 OTOOL
=$ac_cv_prog_OTOOL
7411 if test -n "$OTOOL"; then
7412 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL" >&5
7413 $as_echo "$OTOOL" >&6; }
7415 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7416 $as_echo "no" >&6; }
7421 if test -z "$ac_cv_prog_OTOOL"; then
7423 # Extract the first word of "otool", so it can be a program name with args.
7424 set dummy otool
; ac_word
=$2
7425 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7426 $as_echo_n "checking for $ac_word... " >&6; }
7427 if ${ac_cv_prog_ac_ct_OTOOL+:} false
; then :
7428 $as_echo_n "(cached) " >&6
7430 if test -n "$ac_ct_OTOOL"; then
7431 ac_cv_prog_ac_ct_OTOOL
="$ac_ct_OTOOL" # Let the user override the test.
7433 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7437 test -z "$as_dir" && as_dir
=.
7438 for ac_exec_ext
in '' $ac_executable_extensions; do
7439 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
7440 ac_cv_prog_ac_ct_OTOOL
="otool"
7441 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7450 ac_ct_OTOOL
=$ac_cv_prog_ac_ct_OTOOL
7451 if test -n "$ac_ct_OTOOL"; then
7452 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL" >&5
7453 $as_echo "$ac_ct_OTOOL" >&6; }
7455 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7456 $as_echo "no" >&6; }
7459 if test "x$ac_ct_OTOOL" = x
; then
7462 case $cross_compiling:$ac_tool_warned in
7464 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7465 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7466 ac_tool_warned
=yes ;;
7471 OTOOL
="$ac_cv_prog_OTOOL"
7474 if test -n "$ac_tool_prefix"; then
7475 # Extract the first word of "${ac_tool_prefix}readelf", so it can be a program name with args.
7476 set dummy
${ac_tool_prefix}readelf
; ac_word
=$2
7477 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7478 $as_echo_n "checking for $ac_word... " >&6; }
7479 if ${ac_cv_prog_READELF+:} false
; then :
7480 $as_echo_n "(cached) " >&6
7482 if test -n "$READELF"; then
7483 ac_cv_prog_READELF
="$READELF" # Let the user override the test.
7485 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7489 test -z "$as_dir" && as_dir
=.
7490 for ac_exec_ext
in '' $ac_executable_extensions; do
7491 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
7492 ac_cv_prog_READELF
="${ac_tool_prefix}readelf"
7493 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7502 READELF
=$ac_cv_prog_READELF
7503 if test -n "$READELF"; then
7504 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $READELF" >&5
7505 $as_echo "$READELF" >&6; }
7507 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7508 $as_echo "no" >&6; }
7513 if test -z "$ac_cv_prog_READELF"; then
7514 ac_ct_READELF
=$READELF
7515 # Extract the first word of "readelf", so it can be a program name with args.
7516 set dummy readelf
; ac_word
=$2
7517 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7518 $as_echo_n "checking for $ac_word... " >&6; }
7519 if ${ac_cv_prog_ac_ct_READELF+:} false
; then :
7520 $as_echo_n "(cached) " >&6
7522 if test -n "$ac_ct_READELF"; then
7523 ac_cv_prog_ac_ct_READELF
="$ac_ct_READELF" # Let the user override the test.
7525 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7529 test -z "$as_dir" && as_dir
=.
7530 for ac_exec_ext
in '' $ac_executable_extensions; do
7531 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
7532 ac_cv_prog_ac_ct_READELF
="readelf"
7533 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7542 ac_ct_READELF
=$ac_cv_prog_ac_ct_READELF
7543 if test -n "$ac_ct_READELF"; then
7544 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_READELF" >&5
7545 $as_echo "$ac_ct_READELF" >&6; }
7547 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7548 $as_echo "no" >&6; }
7551 if test "x$ac_ct_READELF" = x
; then
7554 case $cross_compiling:$ac_tool_warned in
7556 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7557 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7558 ac_tool_warned
=yes ;;
7560 READELF
=$ac_ct_READELF
7563 READELF
="$ac_cv_prog_READELF"
7566 wine_rules_file
=conf$
$rules.
make
7567 rm -f $wine_rules_file
7572 CONFIGURE_TARGETS
=""
7574 ALL_TEST_RESOURCES
=""
7577 wine_fn_append_file
()
7579 as_fn_append
$1 " \\$as_nl $2"
7582 wine_fn_append_rule
()
7584 $as_echo "$1" >>$wine_rules_file
7589 expr ",$ac_flags," : ".*,$1,.*" >/dev
/null
7592 wine_fn_all_rules
()
7594 wine_fn_append_file SUBDIRS
$ac_dir
7595 wine_fn_append_rule \
7599 @cd $ac_dir && \$(MAKE)"
7602 wine_fn_install_rules
()
7604 wine_fn_has_flag install-lib || wine_fn_has_flag install-dev ||
return
7606 wine_fn_append_rule \
7607 ".PHONY: $ac_dir/install $ac_dir/uninstall
7608 $ac_dir/install:: $ac_dir
7609 @cd $ac_dir && \$(MAKE) install
7611 @cd $ac_dir && \$(MAKE) uninstall
7612 install:: $ac_dir/install
7613 __uninstall__: $ac_dir/uninstall"
7615 if wine_fn_has_flag install-lib
7617 wine_fn_append_rule \
7618 ".PHONY: $ac_dir/install-lib
7619 $ac_dir/install-lib:: $ac_dir
7620 @cd $ac_dir && \$(MAKE) install-lib
7621 install-lib:: $ac_dir/install-lib"
7624 if wine_fn_has_flag install-dev
7626 wine_fn_append_rule \
7627 ".PHONY: $ac_dir/install-dev
7628 $ac_dir/install-dev:: $ac_dir
7629 @cd $ac_dir && \$(MAKE) install-dev
7630 install-dev:: $ac_dir/install-dev"
7634 wine_fn_clean_rules
()
7638 if wine_fn_has_flag clean
7640 wine_fn_append_rule \
7641 "$ac_dir/clean: dummy
7642 @cd $ac_dir && \$(MAKE) clean"
7644 wine_fn_append_rule \
7645 "$ac_dir/clean: dummy
7646 \$(RM) \$(CLEAN_FILES:%=$ac_dir/%) $ac_clean"
7648 wine_fn_append_rule \
7649 "__clean__: $ac_dir/clean
7650 .PHONY: $ac_dir/clean"
7653 wine_fn_disabled_rules
()
7657 wine_fn_append_file SUBDIRS
$ac_dir
7658 wine_fn_append_file DISABLED_SUBDIRS
$ac_dir
7659 wine_fn_append_rule \
7660 "__clean__: $ac_dir/clean
7661 .PHONY: $ac_dir/clean
7662 $ac_dir/clean: dummy
7663 \$(RM) \$(CLEAN_FILES:%=$ac_dir/%) $ac_clean"
7666 wine_fn_config_makefile
()
7673 fonts|server
) test -z "$with_wine64" ||
return ;;
7675 if eval test \"x\$
"$ac_enable"\" = x
"no"; then :
7676 wine_fn_disabled_rules
; return
7679 wine_fn_install_rules
7683 wine_fn_config_lib
()
7687 ac_dir
=dlls
/$ac_name
7690 if test "x$enable_tools" = xno
; then :
7693 ac_deps
="tools/widl tools/winebuild tools/winegcc $ac_deps"
7698 wine_fn_append_rule \
7699 ".PHONY: $ac_dir/install $ac_dir/uninstall
7700 $ac_dir/install:: $ac_dir
7701 \$(INSTALL_DATA) $ac_dir/lib$ac_name.a \$(DESTDIR)\$(dlldir)/lib$ac_name.a
7703 \$(RM) \$(DESTDIR)\$(dlldir)/lib$ac_name.a
7704 install install-dev:: $ac_dir/install
7705 __uninstall__: $ac_dir/uninstall
7706 __builddeps__: $ac_dir
7710 wine_fn_config_dll
()
7713 ac_dir
=dlls
/$ac_name
7716 ac_implib
=${4:-$ac_name}
7717 ac_file
=$ac_dir/lib
$ac_implib
7722 if test "x$enable_tools" = xno
; then :
7725 ac_deps
="tools/widl tools/winebuild tools/winegcc $ac_deps"
7728 *.
*16) ac_implibflags
=" -m16" ;;
7730 *) ac_dll
=$ac_dll.dll
;;
7734 wine_fn_has_flag implib
&& ac_clean
="$ac_clean $ac_file.$IMPLIBEXT"
7735 test -n "$DLLEXT" || ac_clean
="$ac_clean $ac_dir/$ac_dll"
7737 if eval test \"x\$
"$ac_enable"\" = x
"no"; then :
7738 if test "$ac_enable" != enable_win16
7740 wine_fn_clean_rules
$ac_clean
7741 wine_fn_append_file SUBDIRS
$ac_dir
7742 wine_fn_append_file DISABLED_SUBDIRS
$ac_dir
7744 wine_fn_disabled_rules
$ac_clean
7749 wine_fn_clean_rules
$ac_clean
7750 wine_fn_append_rule \
7751 "$ac_dir: __builddeps__
7752 manpages htmlpages sgmlpages xmlpages::
7753 @cd $ac_dir && \$(MAKE) \$@
7754 .PHONY: $ac_dir/install-lib $ac_dir/uninstall
7755 install install-lib:: $ac_dir/install-lib
7756 __uninstall__: $ac_dir/uninstall"
7757 if test -n "$DLLEXT"
7759 wine_fn_append_rule \
7760 "$ac_dir/install-lib:: $ac_dir
7761 \$(INSTALL_PROGRAM) $ac_dir/$ac_dll$DLLEXT \$(DESTDIR)\$(dlldir)/$ac_dll$DLLEXT
7762 \$(INSTALL_DATA) $ac_dir/$ac_dll.fake \$(DESTDIR)\$(fakedlldir)/$ac_dll
7764 \$(RM) \$(DESTDIR)\$(dlldir)/$ac_dll$DLLEXT \$(DESTDIR)\$(fakedlldir)/$ac_dll"
7766 wine_fn_append_rule \
7767 "$ac_dir/install-lib:: $ac_dir
7768 \$(INSTALL_PROGRAM) $ac_dir/$ac_dll \$(DESTDIR)\$(dlldir)/$ac_dll
7770 \$(RM) \$(DESTDIR)\$(dlldir)/$ac_dll"
7774 if wine_fn_has_flag staticimplib
7776 wine_fn_append_rule \
7777 "__builddeps__: $ac_file.a
7778 $ac_file.a $ac_file.cross.a: $ac_deps
7780 @cd $ac_dir && \$(MAKE) lib$ac_implib.a
7781 .PHONY: $ac_dir/install-dev $ac_dir/uninstall
7782 $ac_dir/install-dev:: $ac_file.a
7783 \$(INSTALL_DATA) $ac_file.a \$(DESTDIR)\$(dlldir)/lib$ac_implib.a
7785 \$(RM) \$(DESTDIR)\$(dlldir)/lib$ac_implib.a
7786 install install-dev:: $ac_dir/install-dev
7787 __uninstall__: $ac_dir/uninstall"
7789 if test -n "$CROSSTARGET" -a -z "$ac_implibflags"
7791 wine_fn_append_rule \
7792 "__builddeps__: $ac_file.cross.a
7793 $ac_file.cross.a: dummy
7794 @cd $ac_dir && \$(MAKE) lib$ac_implib.cross.a"
7797 elif wine_fn_has_flag implib
7799 wine_fn_append_rule \
7800 "__builddeps__: $ac_file.$IMPLIBEXT
7801 $ac_file.def: $srcdir/$ac_dir/$ac_name.spec \$(WINEBUILD)
7802 \$(WINEBUILD) \$(TARGETFLAGS)$ac_implibflags -w --def -o \$@ --export $srcdir/$ac_dir/$ac_name.spec
7803 $ac_file.a: $srcdir/$ac_dir/$ac_name.spec \$(WINEBUILD)
7804 \$(WINEBUILD) \$(TARGETFLAGS)$ac_implibflags -w --implib -o \$@ --export $srcdir/$ac_dir/$ac_name.spec
7805 .PHONY: $ac_dir/install-dev $ac_dir/uninstall
7806 $ac_dir/install-dev:: $ac_file.$IMPLIBEXT
7807 \$(INSTALL_DATA) $ac_file.$IMPLIBEXT \$(DESTDIR)\$(dlldir)/lib$ac_implib.$IMPLIBEXT
7809 \$(RM) \$(DESTDIR)\$(dlldir)/lib$ac_implib.$IMPLIBEXT
7810 install install-dev:: $ac_dir/install-dev
7811 __uninstall__: $ac_dir/uninstall"
7812 if test -n "$CROSSTARGET" -a -z "$ac_implibflags"
7814 wine_fn_append_rule \
7815 "__builddeps__: $ac_file.cross.a
7816 $ac_file.cross.a: $srcdir/$ac_dir/$ac_name.spec \$(WINEBUILD)
7817 \$(WINEBUILD) \$(CROSSTARGET:%=-b %)$ac_implibflags -w --implib -o \$@ --export $srcdir/$ac_dir/$ac_name.spec"
7822 wine_fn_config_program
()
7825 ac_dir
=programs
/$ac_name
7832 *) ac_program
=$ac_program.exe
;;
7836 wine_fn_has_flag manpage
&& ac_clean
="$ac_clean $ac_dir/$ac_name.man"
7837 test -n "$DLLEXT" || ac_clean
="$ac_clean $ac_dir/$ac_program"
7839 if eval test \"x\$
"$ac_enable"\" = x
"no"; then :
7840 wine_fn_disabled_rules
$ac_clean; return
7844 wine_fn_clean_rules
$ac_clean
7845 wine_fn_append_rule
"$ac_dir: __builddeps__"
7847 wine_fn_has_flag
install ||
return
7848 wine_fn_append_rule \
7849 ".PHONY: $ac_dir/install $ac_dir/uninstall
7850 install install-lib:: $ac_dir/install
7851 __uninstall__: $ac_dir/uninstall"
7853 if test -n "$DLLEXT"
7855 wine_fn_append_rule \
7856 "$ac_dir/install:: $ac_dir
7857 \$(INSTALL_PROGRAM) $ac_dir/$ac_program$DLLEXT \$(DESTDIR)\$(dlldir)/$ac_program$DLLEXT
7858 \$(INSTALL_DATA) $ac_dir/$ac_program.fake \$(DESTDIR)\$(fakedlldir)/$ac_program
7860 \$(RM) \$(DESTDIR)\$(dlldir)/$ac_program$DLLEXT \$(DESTDIR)\$(fakedlldir)/$ac_program"
7862 if test -z "$with_wine64" && wine_fn_has_flag installbin
7864 wine_fn_append_rule \
7865 "$ac_dir/install:: __tooldeps__
7866 \$(INSTALL_SCRIPT) \$(TOOLSDIR)/tools/wineapploader \$(DESTDIR)\$(bindir)/$ac_name
7868 \$(RM) \$(DESTDIR)\$(bindir)/$ac_name"
7871 wine_fn_append_rule \
7872 "$ac_dir/install:: $ac_dir
7873 \$(INSTALL_PROGRAM) $ac_dir/$ac_program \$(DESTDIR)\$(bindir)/$ac_program
7875 \$(RM) \$(DESTDIR)\$(bindir)/$ac_program"
7878 if test -z "$with_wine64" && wine_fn_has_flag manpage
7880 wine_fn_append_rule \
7881 "$ac_dir/install:: $ac_dir
7882 \$(INSTALL_DATA) $ac_dir/$ac_name.man \$(DESTDIR)\$(mandir)/man\$(prog_manext)/$ac_name.\$(prog_manext)
7884 \$(RM) \$(DESTDIR)\$(mandir)/man\$(prog_manext)/$ac_name.\$(prog_manext)"
7888 wine_fn_config_test
()
7895 test -n "$CROSSTARGET" && ac_clean
=`expr $ac_dir/${ac_name} : "\\(.*\\)_test"`_crosstest.exe
7896 test -n "$DLLEXT" || ac_clean
="$ac_dir/${ac_name}.exe $ac_dir/${ac_name}-stripped.exe"
7898 if test "x$enable_tests" = xno
; then :
7899 wine_fn_disabled_rules
$ac_clean; return
7902 wine_fn_append_file ALL_TEST_RESOURCES
$ac_name.res
7904 wine_fn_clean_rules
$ac_clean
7906 wine_fn_append_rule \
7907 "$ac_dir: __builddeps__
7908 programs/winetest: $ac_dir
7909 check test: $ac_dir/test
7910 .PHONY: $ac_dir/test
7912 @cd $ac_dir && \$(MAKE) test
7914 \$(RM) $ac_dir/*.ok"
7916 if test -n "$CROSSTARGET"
7918 wine_fn_append_rule \
7919 "crosstest: $ac_dir/crosstest
7920 .PHONY: $ac_dir/crosstest
7921 $ac_dir/crosstest: __builddeps__ dummy
7922 @cd $ac_dir && \$(MAKE) crosstest"
7926 wine_fn_config_tool
()
7930 if test "x$enable_tools" = xno
; then :
7931 wine_fn_append_file DISABLED_SUBDIRS
$ac_dir; return
7935 wine_fn_install_rules
7938 wine_fn_append_rule
"__tooldeps__: $ac_dir"
7939 wine_fn_append_rule
"$ac_dir: libs/port"
7941 tools
/winebuild
) wine_fn_append_rule
"\$(WINEBUILD): $ac_dir" ;;
7945 wine_fn_config_symlink
()
7948 if test "x$1" = "x-d"
7954 wine_fn_append_rule \
7956 @./config.status \$@"
7957 for f
in $ac_links; do wine_fn_append_file CONFIGURE_TARGETS
$f; done
7958 test -n "$ac_linkdir" ||
return
7959 wine_fn_append_rule
"$ac_linkdir/depend: $ac_links"
7963 test "x$enable_win64" != "xyes" || wine_binary
="wine64"
7964 WINELOADER_PROGRAMS
="$wine_binary"
7966 libwine_soversion
=`expr $libwine_version : '\([0-9]*\)\..*'`
7970 if test -n "$ac_tool_prefix"; then
7971 # Extract the first word of "${ac_tool_prefix}dlltool", so it can be a program name with args.
7972 set dummy
${ac_tool_prefix}dlltool
; ac_word
=$2
7973 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7974 $as_echo_n "checking for $ac_word... " >&6; }
7975 if ${ac_cv_prog_DLLTOOL+:} false
; then :
7976 $as_echo_n "(cached) " >&6
7978 if test -n "$DLLTOOL"; then
7979 ac_cv_prog_DLLTOOL
="$DLLTOOL" # Let the user override the test.
7981 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7985 test -z "$as_dir" && as_dir
=.
7986 for ac_exec_ext
in '' $ac_executable_extensions; do
7987 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
7988 ac_cv_prog_DLLTOOL
="${ac_tool_prefix}dlltool"
7989 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7998 DLLTOOL
=$ac_cv_prog_DLLTOOL
7999 if test -n "$DLLTOOL"; then
8000 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DLLTOOL" >&5
8001 $as_echo "$DLLTOOL" >&6; }
8003 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8004 $as_echo "no" >&6; }
8009 if test -z "$ac_cv_prog_DLLTOOL"; then
8010 ac_ct_DLLTOOL
=$DLLTOOL
8011 # Extract the first word of "dlltool", so it can be a program name with args.
8012 set dummy dlltool
; ac_word
=$2
8013 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8014 $as_echo_n "checking for $ac_word... " >&6; }
8015 if ${ac_cv_prog_ac_ct_DLLTOOL+:} false
; then :
8016 $as_echo_n "(cached) " >&6
8018 if test -n "$ac_ct_DLLTOOL"; then
8019 ac_cv_prog_ac_ct_DLLTOOL
="$ac_ct_DLLTOOL" # Let the user override the test.
8021 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
8025 test -z "$as_dir" && as_dir
=.
8026 for ac_exec_ext
in '' $ac_executable_extensions; do
8027 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
8028 ac_cv_prog_ac_ct_DLLTOOL
="dlltool"
8029 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8038 ac_ct_DLLTOOL
=$ac_cv_prog_ac_ct_DLLTOOL
8039 if test -n "$ac_ct_DLLTOOL"; then
8040 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DLLTOOL" >&5
8041 $as_echo "$ac_ct_DLLTOOL" >&6; }
8043 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8044 $as_echo "no" >&6; }
8047 if test "x$ac_ct_DLLTOOL" = x
; then
8050 case $cross_compiling:$ac_tool_warned in
8052 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
8053 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
8054 ac_tool_warned
=yes ;;
8056 DLLTOOL
=$ac_ct_DLLTOOL
8059 DLLTOOL
="$ac_cv_prog_DLLTOOL"
8065 enable_iphlpapi
=${enable_iphlpapi:-no}
8066 enable_kernel32
=${enable_kernel32:-no}
8067 enable_msvcrt
=${enable_msvcrt:-no}
8068 enable_ntdll
=${enable_ntdll:-no}
8069 enable_ws2_32
=${enable_ws2_32:-no}
8070 enable_loader
=${enable_loader:-no}
8071 enable_server
=${enable_server:-no}
8072 with_x
=${with_x:-no}
8073 with_pthread
=${with_pthread:-no}
8079 SOCKET_LIBS
="-lws2_32"
8083 LIBWINE_SHAREDLIB
="libwine.dll"
8085 LIBWINE_IMPORTLIB
="libwine.a"
8087 LIBWINE_INSTALL_LIB
="libwine.dll"
8089 LIBWINE_INSTALL_DEV
="libwine.a"
8091 LIBWINE_LDFLAGS
="-shared \$(srcdir)/wine.def"
8093 LIBWINE_DEPENDS
="wine.def"
8098 for ac_header
in libunwind.h
8100 ac_fn_c_check_header_mongrel
"$LINENO" "libunwind.h" "ac_cv_header_libunwind_h" "$ac_includes_default"
8101 if test "x$ac_cv_header_libunwind_h" = xyes
; then :
8102 cat >>confdefs.h
<<_ACEOF
8103 #define HAVE_LIBUNWIND_H 1
8111 DLLFLAGS
="$DLLFLAGS -fPIC"
8112 LDRPATH_INSTALL
="-Wl,-rpath,@loader_path/\`\$(MAKEDEP) -R \${bindir} \${libdir}\`"
8113 LDRPATH_LOCAL
="-Wl,-rpath,@loader_path/\$(top_builddir)/libs/wine"
8114 COREFOUNDATION_LIBS
="-framework CoreFoundation"
8116 IOKIT_LIBS
="-framework IOKit -framework CoreFoundation"
8118 FORCEFEEDBACK_LIBS
="-framework ForceFeedback -framework CoreFoundation"
8120 APPLICATIONSERVICES_LIBS
="-framework ApplicationServices"
8122 CORESERVICES_LIBS
="-framework CoreServices"
8124 APPKIT_LIBS
="-framework AppKit"
8126 LDEXECFLAGS
="-image_base 0x7bf00000 -Wl,-pagezero_size,0x1000,-segaddr,WINE_DOS,0x00001000,-segaddr,WINE_SHAREDHEAP,0x7f000000,-sectcreate,__TEXT,__info_plist,wine_info.plist"
8127 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,-no_pie" >&5
8128 $as_echo_n "checking whether the compiler supports -Wl,-no_pie... " >&6; }
8129 if ${ac_cv_cflags__Wl__no_pie+:} false
; then :
8130 $as_echo_n "(cached) " >&6
8132 ac_wine_try_cflags_saved
=$CFLAGS
8133 CFLAGS
="$CFLAGS -Wl,-no_pie"
8134 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8135 /* end confdefs.h. */
8136 int main(int argc, char **argv) { return 0; }
8138 if ac_fn_c_try_link
"$LINENO"; then :
8139 ac_cv_cflags__Wl__no_pie
=yes
8141 ac_cv_cflags__Wl__no_pie
=no
8143 rm -f core conftest.err conftest.
$ac_objext \
8144 conftest
$ac_exeext conftest.
$ac_ext
8145 CFLAGS
=$ac_wine_try_cflags_saved
8147 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl__no_pie" >&5
8148 $as_echo "$ac_cv_cflags__Wl__no_pie" >&6; }
8149 if test "x$ac_cv_cflags__Wl__no_pie" = xyes
; then :
8150 LDEXECFLAGS
="-Wl,-no_pie $LDEXECFLAGS"
8152 if test "$ac_cv_header_DiskArbitration_DiskArbitration_h" = "yes"
8154 DISKARBITRATION_LIBS
="-framework DiskArbitration -framework CoreFoundation"
8157 if test "$ac_cv_header_Security_Security_h" = "yes"
8159 SECURITY_LIBS
="-framework Security -framework CoreFoundation"
8161 ac_save_LIBS
="$LIBS"
8162 LIBS
="$LIBS $SECURITY_LIBS"
8163 for ac_func
in SSLCopyPeerCertificates
8165 ac_fn_c_check_func
"$LINENO" "SSLCopyPeerCertificates" "ac_cv_func_SSLCopyPeerCertificates"
8166 if test "x$ac_cv_func_SSLCopyPeerCertificates" = xyes
; then :
8167 cat >>confdefs.h
<<_ACEOF
8168 #define HAVE_SSLCOPYPEERCERTIFICATES 1
8174 LIBS
="$ac_save_LIBS"
8175 with_gnutls
=${with_gnutls:-no}
8177 if test "$ac_cv_header_CoreAudio_CoreAudio_h" = "yes" -a "$ac_cv_header_AudioUnit_AudioUnit_h" = "yes"
8179 if test "$ac_cv_header_AudioUnit_AudioComponent_h" = "yes"
8181 COREAUDIO_LIBS
="-framework CoreFoundation -framework CoreAudio -framework AudioUnit -framework AudioToolbox -framework CoreMIDI"
8184 COREAUDIO_LIBS
="-framework CoreAudio -framework AudioUnit -framework CoreServices -framework AudioToolbox -framework CoreMIDI"
8187 enable_winecoreaudio_drv
=${enable_winecoreaudio_drv:-yes}
8188 ac_save_LIBS
="$LIBS"
8189 LIBS
="$LIBS $COREAUDIO_LIBS"
8190 for ac_func
in AUGraphAddNode
8192 ac_fn_c_check_func
"$LINENO" "AUGraphAddNode" "ac_cv_func_AUGraphAddNode"
8193 if test "x$ac_cv_func_AUGraphAddNode" = xyes
; then :
8194 cat >>confdefs.h
<<_ACEOF
8195 #define HAVE_AUGRAPHADDNODE 1
8201 LIBS
="$ac_save_LIBS"
8203 if test "$ac_cv_header_OpenAL_al_h" = "yes"
8205 OPENAL_LIBS
="-framework OpenAL"
8208 cat >>confdefs.h
<<_ACEOF
8209 #define HAVE_OPENAL 1
8212 ac_cv_lib_openal
=yes
8214 if test "$ac_cv_header_OpenCL_opencl_h" = "yes"
8216 OPENCL_LIBS
="-framework OpenCL"
8218 ac_cv_lib_OpenCL_clGetPlatformInfo
=yes
8220 if test "$ac_cv_header_IOKit_hid_IOHIDLib_h" = "yes"
8222 ac_save_LIBS
="$LIBS"
8223 LIBS
="$LIBS $IOKIT_LIBS"
8224 for ac_func
in IOHIDManagerCreate
8226 ac_fn_c_check_func
"$LINENO" "IOHIDManagerCreate" "ac_cv_func_IOHIDManagerCreate"
8227 if test "x$ac_cv_func_IOHIDManagerCreate" = xyes
; then :
8228 cat >>confdefs.h
<<_ACEOF
8229 #define HAVE_IOHIDMANAGERCREATE 1
8235 LIBS
="$ac_save_LIBS"
8237 if test "$ac_cv_header_QuickTime_ImageCompression_h" = "yes"
8239 ac_save_LIBS
="$LIBS"
8240 LIBS
="-framework QuickTime -framework ApplicationServices -framework CoreVideo $LIBS"
8241 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for the QuickTime framework" >&5
8242 $as_echo_n "checking for the QuickTime framework... " >&6; }
8243 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8244 /* end confdefs.h. */
8245 #include <QuickTime/ImageCompression.h>
8249 CodecManagerVersion(NULL);
8254 if ac_fn_c_try_link
"$LINENO"; then :
8255 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
8256 $as_echo "yes" >&6; }
8257 QUICKTIME_LIBS
="-framework QuickTime -framework ApplicationServices -framework CoreVideo"
8259 enable_wineqtdecoder
=${enable_wineqtdecoder:-yes}
8261 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8262 $as_echo "no" >&6; }
8263 ac_cv_header_QuickTime_ImageCompression_h
=no
8265 rm -f core conftest.err conftest.
$ac_objext \
8266 conftest
$ac_exeext conftest.
$ac_ext
8267 LIBS
="$ac_save_LIBS"
8269 if test "$ac_cv_header_QuickTime_ImageCompression_h" != "yes"
8271 as_fn_append wine_notices
"|QuickTime ${notice_platform}development files not found, video decoding won't be supported."
8273 if test "$ac_cv_header_Carbon_Carbon_h" = "yes"
8275 CARBON_LIBS
="-framework Carbon"
8279 if test "$ac_cv_header_ApplicationServices_ApplicationServices_h" = "yes"
8281 ac_save_LIBS
="$LIBS"
8282 LIBS
="$LIBS $APPLICATIONSERVICES_LIBS"
8283 ac_fn_c_check_func
"$LINENO" "CGDisplayModeGetWidth" "ac_cv_func_CGDisplayModeGetWidth"
8284 if test "x$ac_cv_func_CGDisplayModeGetWidth" = xyes
; then :
8285 enable_winemac_drv
=${enable_winemac_drv:-yes}
8288 LIBS
="$ac_save_LIBS"
8291 if test "x$enable_win16" = "xyes"
8293 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether 16-bit code can be built correctly" >&5
8294 $as_echo_n "checking whether 16-bit code can be built correctly... " >&6; }
8295 if test "$cross_compiling" = yes; then :
8296 { $as_echo "$as_me:${as_lineno-$LINENO}: result: cross-compiling, assuming yes" >&5
8297 $as_echo "cross-compiling, assuming yes" >&6; }
8299 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8300 /* end confdefs.h. */
8303 "good:\tnop;nop\n\t"
8304 ".globl _testfunc\n"
8305 "_testfunc:\tcallw good");
8306 extern void testfunc();
8310 unsigned short *p = (unsigned short *)testfunc;
8311 return p[0] != 0xe866 || p[1] != 0xfffa
8316 if ac_fn_c_try_run
"$LINENO"; then :
8317 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
8318 $as_echo "yes" >&6; }
8320 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8321 $as_echo "no" >&6; }
8322 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
8324 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext \
8325 conftest.
$ac_objext conftest.beam conftest.
$ac_ext
8330 LIBWINE_SHAREDLIB
="libwine.$libwine_version.dylib"
8332 LIBWINE_INSTALL_LIB
="libwine.$libwine_version.dylib libwine.$libwine_soversion.dylib"
8334 LIBWINE_INSTALL_DEV
="libwine.dylib"
8336 LIBWINE_LDFLAGS
="-dynamiclib -install_name @rpath/libwine.$libwine_soversion.dylib -Wl,-rpath,@loader_path/ -compatibility_version $libwine_soversion -current_version $libwine_version"
8338 WINELOADER_DEPENDS
="wine_info.plist"
8343 DLLFLAGS
="$DLLFLAGS -fPIC"
8344 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -Wl,--export-dynamic" >&5
8345 $as_echo_n "checking whether the compiler supports -fPIC -Wl,--export-dynamic... " >&6; }
8346 if ${ac_cv_cflags__fPIC__Wl___export_dynamic+:} false
; then :
8347 $as_echo_n "(cached) " >&6
8349 ac_wine_try_cflags_saved
=$CFLAGS
8350 CFLAGS
="$CFLAGS -fPIC -Wl,--export-dynamic"
8351 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8352 /* end confdefs.h. */
8353 int main(int argc, char **argv) { return 0; }
8355 if ac_fn_c_try_link
"$LINENO"; then :
8356 ac_cv_cflags__fPIC__Wl___export_dynamic
=yes
8358 ac_cv_cflags__fPIC__Wl___export_dynamic
=no
8360 rm -f core conftest.err conftest.
$ac_objext \
8361 conftest
$ac_exeext conftest.
$ac_ext
8362 CFLAGS
=$ac_wine_try_cflags_saved
8364 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fPIC__Wl___export_dynamic" >&5
8365 $as_echo "$ac_cv_cflags__fPIC__Wl___export_dynamic" >&6; }
8366 if test "x$ac_cv_cflags__fPIC__Wl___export_dynamic" = xyes
; then :
8367 LDEXECFLAGS
="-Wl,--export-dynamic"
8369 as_ac_var
=`$as_echo "ac_cv_cflags_-fPIC -Wl,--rpath,\\$ORIGIN/../lib" | $as_tr_sh`
8370 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -Wl,--rpath,\$ORIGIN/../lib" >&5
8371 $as_echo_n "checking whether the compiler supports -fPIC -Wl,--rpath,\$ORIGIN/../lib... " >&6; }
8372 if eval \
${$as_ac_var+:} false
; then :
8373 $as_echo_n "(cached) " >&6
8375 ac_wine_try_cflags_saved
=$CFLAGS
8376 CFLAGS
="$CFLAGS -fPIC -Wl,--rpath,\$ORIGIN/../lib"
8377 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8378 /* end confdefs.h. */
8379 int main(int argc, char **argv) { return 0; }
8381 if ac_fn_c_try_link
"$LINENO"; then :
8382 eval "$as_ac_var=yes"
8384 eval "$as_ac_var=no"
8386 rm -f core conftest.err conftest.
$ac_objext \
8387 conftest
$ac_exeext conftest.
$ac_ext
8388 CFLAGS
=$ac_wine_try_cflags_saved
8390 eval ac_res
=\$
$as_ac_var
8391 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
8392 $as_echo "$ac_res" >&6; }
8393 if eval test \"x\$
"$as_ac_var"\" = x
"yes"; then :
8394 LDRPATH_INSTALL
="-Wl,--rpath,\\\$\$ORIGIN/\`\$(MAKEDEP) -R \${bindir} \${libdir}\`"
8395 LDRPATH_LOCAL
="-Wl,--rpath,\\\$\$ORIGIN/\$(top_builddir)/libs/wine"
8397 as_ac_var
=`$as_echo "ac_cv_cflags_-fPIC -Wl,-R,\\$ORIGIN/../lib" | $as_tr_sh`
8398 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -Wl,-R,\$ORIGIN/../lib" >&5
8399 $as_echo_n "checking whether the compiler supports -fPIC -Wl,-R,\$ORIGIN/../lib... " >&6; }
8400 if eval \
${$as_ac_var+:} false
; then :
8401 $as_echo_n "(cached) " >&6
8403 ac_wine_try_cflags_saved
=$CFLAGS
8404 CFLAGS
="$CFLAGS -fPIC -Wl,-R,\$ORIGIN/../lib"
8405 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8406 /* end confdefs.h. */
8407 int main(int argc, char **argv) { return 0; }
8409 if ac_fn_c_try_link
"$LINENO"; then :
8410 eval "$as_ac_var=yes"
8412 eval "$as_ac_var=no"
8414 rm -f core conftest.err conftest.
$ac_objext \
8415 conftest
$ac_exeext conftest.
$ac_ext
8416 CFLAGS
=$ac_wine_try_cflags_saved
8418 eval ac_res
=\$
$as_ac_var
8419 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
8420 $as_echo "$ac_res" >&6; }
8421 if eval test \"x\$
"$as_ac_var"\" = x
"yes"; then :
8422 LDRPATH_INSTALL
="-Wl,-R,\\\$\$ORIGIN/\`\$(MAKEDEP) -R \${bindir} \${libdir}\`"
8423 LDRPATH_LOCAL
="-Wl,-R,\\\$\$ORIGIN/\$(top_builddir)/libs/wine"
8427 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,--enable-new-dtags" >&5
8428 $as_echo_n "checking whether the compiler supports -Wl,--enable-new-dtags... " >&6; }
8429 if ${ac_cv_cflags__Wl___enable_new_dtags+:} false
; then :
8430 $as_echo_n "(cached) " >&6
8432 ac_wine_try_cflags_saved
=$CFLAGS
8433 CFLAGS
="$CFLAGS -Wl,--enable-new-dtags"
8434 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8435 /* end confdefs.h. */
8436 int main(int argc, char **argv) { return 0; }
8438 if ac_fn_c_try_link
"$LINENO"; then :
8439 ac_cv_cflags__Wl___enable_new_dtags
=yes
8441 ac_cv_cflags__Wl___enable_new_dtags
=no
8443 rm -f core conftest.err conftest.
$ac_objext \
8444 conftest
$ac_exeext conftest.
$ac_ext
8445 CFLAGS
=$ac_wine_try_cflags_saved
8447 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl___enable_new_dtags" >&5
8448 $as_echo "$ac_cv_cflags__Wl___enable_new_dtags" >&6; }
8449 if test "x$ac_cv_cflags__Wl___enable_new_dtags" = xyes
; then :
8450 LDRPATH_INSTALL
="$LDRPATH_INSTALL -Wl,--enable-new-dtags"
8452 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,-pie" >&5
8453 $as_echo_n "checking whether the compiler supports -Wl,-pie... " >&6; }
8454 if ${ac_cv_cflags__Wl__pie+:} false
; then :
8455 $as_echo_n "(cached) " >&6
8457 ac_wine_try_cflags_saved
=$CFLAGS
8458 CFLAGS
="$CFLAGS -Wl,-pie"
8459 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8460 /* end confdefs.h. */
8461 int main(int argc, char **argv) { return 0; }
8463 if ac_fn_c_try_link
"$LINENO"; then :
8464 ac_cv_cflags__Wl__pie
=yes
8466 ac_cv_cflags__Wl__pie
=no
8468 rm -f core conftest.err conftest.
$ac_objext \
8469 conftest
$ac_exeext conftest.
$ac_ext
8470 CFLAGS
=$ac_wine_try_cflags_saved
8472 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl__pie" >&5
8473 $as_echo "$ac_cv_cflags__Wl__pie" >&6; }
8474 if test "x$ac_cv_cflags__Wl__pie" = xyes
; then :
8475 LDRPATH_INSTALL
="$LDRPATH_INSTALL -Wl,-pie"
8478 LIBWINE_SHAREDLIB
="libwine.so"
8480 LIBWINE_INSTALL_LIB
="libwine.so"
8482 LIBWINE_LDFLAGS
="-shared -Wl,-soname,libwine.so"
8487 DLLFLAGS
="$DLLFLAGS -fPIC"
8489 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we can build a GNU style ELF dll" >&5
8490 $as_echo_n "checking whether we can build a GNU style ELF dll... " >&6; }
8491 if ${ac_cv_c_dll_gnuelf+:} false
; then :
8492 $as_echo_n "(cached) " >&6
8494 ac_wine_try_cflags_saved
=$CFLAGS
8495 CFLAGS
="$CFLAGS -fPIC -shared -Wl,-Bsymbolic"
8496 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8497 /* end confdefs.h. */
8500 if ac_fn_c_try_link
"$LINENO"; then :
8501 ac_cv_c_dll_gnuelf
="yes"
8503 ac_cv_c_dll_gnuelf
="no"
8505 rm -f core conftest.err conftest.
$ac_objext \
8506 conftest
$ac_exeext conftest.
$ac_ext
8507 CFLAGS
=$ac_wine_try_cflags_saved
8509 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_dll_gnuelf" >&5
8510 $as_echo "$ac_cv_c_dll_gnuelf" >&6; }
8511 if test "$ac_cv_c_dll_gnuelf" = "yes"
8513 LIBWINE_LDFLAGS
="-shared"
8514 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -shared -Wl,-soname,confest.so.1" >&5
8515 $as_echo_n "checking whether the compiler supports -fPIC -shared -Wl,-soname,confest.so.1... " >&6; }
8516 if ${ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1+:} false
; then :
8517 $as_echo_n "(cached) " >&6
8519 ac_wine_try_cflags_saved
=$CFLAGS
8520 CFLAGS
="$CFLAGS -fPIC -shared -Wl,-soname,confest.so.1"
8521 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8522 /* end confdefs.h. */
8523 int main(int argc, char **argv) { return 0; }
8525 if ac_fn_c_try_link
"$LINENO"; then :
8526 ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1
=yes
8528 ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1
=no
8530 rm -f core conftest.err conftest.
$ac_objext \
8531 conftest
$ac_exeext conftest.
$ac_ext
8532 CFLAGS
=$ac_wine_try_cflags_saved
8534 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1" >&5
8535 $as_echo "$ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1" >&6; }
8536 if test "x$ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1" = xyes
; then :
8537 LIBWINE_LDFLAGS
="-shared -Wl,-soname,libwine.so.$libwine_soversion"
8539 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -shared -Wl,-h,confest.so.1" >&5
8540 $as_echo_n "checking whether the compiler supports -fPIC -shared -Wl,-h,confest.so.1... " >&6; }
8541 if ${ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1+:} false
; then :
8542 $as_echo_n "(cached) " >&6
8544 ac_wine_try_cflags_saved
=$CFLAGS
8545 CFLAGS
="$CFLAGS -fPIC -shared -Wl,-h,confest.so.1"
8546 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8547 /* end confdefs.h. */
8548 int main(int argc, char **argv) { return 0; }
8550 if ac_fn_c_try_link
"$LINENO"; then :
8551 ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1
=yes
8553 ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1
=no
8555 rm -f core conftest.err conftest.
$ac_objext \
8556 conftest
$ac_exeext conftest.
$ac_ext
8557 CFLAGS
=$ac_wine_try_cflags_saved
8559 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1" >&5
8560 $as_echo "$ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1" >&6; }
8561 if test "x$ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1" = xyes
; then :
8562 LIBWINE_LDFLAGS
="-shared -Wl,-h,libwine.so.$libwine_soversion"
8566 echo '{ global: *; };' >conftest.map
8567 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -shared -Wl,--version-script=conftest.map" >&5
8568 $as_echo_n "checking whether the compiler supports -fPIC -shared -Wl,--version-script=conftest.map... " >&6; }
8569 if ${ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map+:} false
; then :
8570 $as_echo_n "(cached) " >&6
8572 ac_wine_try_cflags_saved
=$CFLAGS
8573 CFLAGS
="$CFLAGS -fPIC -shared -Wl,--version-script=conftest.map"
8574 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8575 /* end confdefs.h. */
8576 int main(int argc, char **argv) { return 0; }
8578 if ac_fn_c_try_link
"$LINENO"; then :
8579 ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map
=yes
8581 ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map
=no
8583 rm -f core conftest.err conftest.
$ac_objext \
8584 conftest
$ac_exeext conftest.
$ac_ext
8585 CFLAGS
=$ac_wine_try_cflags_saved
8587 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map" >&5
8588 $as_echo "$ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map" >&6; }
8589 if test "x$ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map" = xyes
; then :
8590 LIBWINE_LDFLAGS
="$LIBWINE_LDFLAGS -Wl,--version-script=\$(srcdir)/wine.map"
8594 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -Wl,--export-dynamic" >&5
8595 $as_echo_n "checking whether the compiler supports -fPIC -Wl,--export-dynamic... " >&6; }
8596 if ${ac_cv_cflags__fPIC__Wl___export_dynamic+:} false
; then :
8597 $as_echo_n "(cached) " >&6
8599 ac_wine_try_cflags_saved
=$CFLAGS
8600 CFLAGS
="$CFLAGS -fPIC -Wl,--export-dynamic"
8601 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8602 /* end confdefs.h. */
8603 int main(int argc, char **argv) { return 0; }
8605 if ac_fn_c_try_link
"$LINENO"; then :
8606 ac_cv_cflags__fPIC__Wl___export_dynamic
=yes
8608 ac_cv_cflags__fPIC__Wl___export_dynamic
=no
8610 rm -f core conftest.err conftest.
$ac_objext \
8611 conftest
$ac_exeext conftest.
$ac_ext
8612 CFLAGS
=$ac_wine_try_cflags_saved
8614 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fPIC__Wl___export_dynamic" >&5
8615 $as_echo "$ac_cv_cflags__fPIC__Wl___export_dynamic" >&6; }
8616 if test "x$ac_cv_cflags__fPIC__Wl___export_dynamic" = xyes
; then :
8617 LDEXECFLAGS
="-Wl,--export-dynamic"
8620 as_ac_var
=`$as_echo "ac_cv_cflags_-fPIC -Wl,--rpath,\\$ORIGIN/../lib" | $as_tr_sh`
8621 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -Wl,--rpath,\$ORIGIN/../lib" >&5
8622 $as_echo_n "checking whether the compiler supports -fPIC -Wl,--rpath,\$ORIGIN/../lib... " >&6; }
8623 if eval \
${$as_ac_var+:} false
; then :
8624 $as_echo_n "(cached) " >&6
8626 ac_wine_try_cflags_saved
=$CFLAGS
8627 CFLAGS
="$CFLAGS -fPIC -Wl,--rpath,\$ORIGIN/../lib"
8628 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8629 /* end confdefs.h. */
8630 int main(int argc, char **argv) { return 0; }
8632 if ac_fn_c_try_link
"$LINENO"; then :
8633 eval "$as_ac_var=yes"
8635 eval "$as_ac_var=no"
8637 rm -f core conftest.err conftest.
$ac_objext \
8638 conftest
$ac_exeext conftest.
$ac_ext
8639 CFLAGS
=$ac_wine_try_cflags_saved
8641 eval ac_res
=\$
$as_ac_var
8642 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
8643 $as_echo "$ac_res" >&6; }
8644 if eval test \"x\$
"$as_ac_var"\" = x
"yes"; then :
8645 LDRPATH_INSTALL
="-Wl,--rpath,\\\$\$ORIGIN/\`\$(MAKEDEP) -R \${bindir} \${libdir}\`"
8646 LDRPATH_LOCAL
="-Wl,--rpath,\\\$\$ORIGIN/\$(top_builddir)/libs/wine"
8648 as_ac_var
=`$as_echo "ac_cv_cflags_-fPIC -Wl,-R,\\$ORIGIN/../lib" | $as_tr_sh`
8649 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -Wl,-R,\$ORIGIN/../lib" >&5
8650 $as_echo_n "checking whether the compiler supports -fPIC -Wl,-R,\$ORIGIN/../lib... " >&6; }
8651 if eval \
${$as_ac_var+:} false
; then :
8652 $as_echo_n "(cached) " >&6
8654 ac_wine_try_cflags_saved
=$CFLAGS
8655 CFLAGS
="$CFLAGS -fPIC -Wl,-R,\$ORIGIN/../lib"
8656 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8657 /* end confdefs.h. */
8658 int main(int argc, char **argv) { return 0; }
8660 if ac_fn_c_try_link
"$LINENO"; then :
8661 eval "$as_ac_var=yes"
8663 eval "$as_ac_var=no"
8665 rm -f core conftest.err conftest.
$ac_objext \
8666 conftest
$ac_exeext conftest.
$ac_ext
8667 CFLAGS
=$ac_wine_try_cflags_saved
8669 eval ac_res
=\$
$as_ac_var
8670 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
8671 $as_echo "$ac_res" >&6; }
8672 if eval test \"x\$
"$as_ac_var"\" = x
"yes"; then :
8673 LDRPATH_INSTALL
="-Wl,-R,\\\$\$ORIGIN/\`\$(MAKEDEP) -R \${bindir} \${libdir}\`"
8674 LDRPATH_LOCAL
="-Wl,-R,\\\$\$ORIGIN/\$(top_builddir)/libs/wine"
8678 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,--enable-new-dtags" >&5
8679 $as_echo_n "checking whether the compiler supports -Wl,--enable-new-dtags... " >&6; }
8680 if ${ac_cv_cflags__Wl___enable_new_dtags+:} false
; then :
8681 $as_echo_n "(cached) " >&6
8683 ac_wine_try_cflags_saved
=$CFLAGS
8684 CFLAGS
="$CFLAGS -Wl,--enable-new-dtags"
8685 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8686 /* end confdefs.h. */
8687 int main(int argc, char **argv) { return 0; }
8689 if ac_fn_c_try_link
"$LINENO"; then :
8690 ac_cv_cflags__Wl___enable_new_dtags
=yes
8692 ac_cv_cflags__Wl___enable_new_dtags
=no
8694 rm -f core conftest.err conftest.
$ac_objext \
8695 conftest
$ac_exeext conftest.
$ac_ext
8696 CFLAGS
=$ac_wine_try_cflags_saved
8698 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl___enable_new_dtags" >&5
8699 $as_echo "$ac_cv_cflags__Wl___enable_new_dtags" >&6; }
8700 if test "x$ac_cv_cflags__Wl___enable_new_dtags" = xyes
; then :
8701 LDRPATH_INSTALL
="$LDRPATH_INSTALL -Wl,--enable-new-dtags"
8705 *i
[3456789]86* | x86_64
)
8706 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,-Ttext-segment=0x7bc00000" >&5
8707 $as_echo_n "checking whether the compiler supports -Wl,-Ttext-segment=0x7bc00000... " >&6; }
8708 if ${ac_cv_cflags__Wl__Ttext_segment_0x7bc00000+:} false
; then :
8709 $as_echo_n "(cached) " >&6
8711 ac_wine_try_cflags_saved
=$CFLAGS
8712 CFLAGS
="$CFLAGS -Wl,-Ttext-segment=0x7bc00000"
8713 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8714 /* end confdefs.h. */
8715 int main(int argc, char **argv) { return 0; }
8717 if ac_fn_c_try_link
"$LINENO"; then :
8718 ac_cv_cflags__Wl__Ttext_segment_0x7bc00000
=yes
8720 ac_cv_cflags__Wl__Ttext_segment_0x7bc00000
=no
8722 rm -f core conftest.err conftest.
$ac_objext \
8723 conftest
$ac_exeext conftest.
$ac_ext
8724 CFLAGS
=$ac_wine_try_cflags_saved
8726 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl__Ttext_segment_0x7bc00000" >&5
8727 $as_echo "$ac_cv_cflags__Wl__Ttext_segment_0x7bc00000" >&6; }
8728 if test "x$ac_cv_cflags__Wl__Ttext_segment_0x7bc00000" = xyes
; then :
8730 freebsd
* | kfreebsd
*-gnu) LDEXECFLAGS
="$LDEXECFLAGS -Wl,-Ttext-segment=0x60000000" ;;
8731 *) LDEXECFLAGS
="$LDEXECFLAGS -Wl,-Ttext-segment=0x7c000000" ;;
8734 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,--section-start,.interp=0x7c000400" >&5
8735 $as_echo_n "checking whether the compiler supports -Wl,--section-start,.interp=0x7c000400... " >&6; }
8736 if ${ac_cv_cflags__Wl___section_start__interp_0x7c000400+:} false
; then :
8737 $as_echo_n "(cached) " >&6
8739 ac_wine_try_cflags_saved
=$CFLAGS
8740 CFLAGS
="$CFLAGS -Wl,--section-start,.interp=0x7c000400"
8741 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8742 /* end confdefs.h. */
8743 int main(int argc, char **argv) { return 0; }
8745 if ac_fn_c_try_link
"$LINENO"; then :
8746 ac_cv_cflags__Wl___section_start__interp_0x7c000400
=yes
8748 ac_cv_cflags__Wl___section_start__interp_0x7c000400
=no
8750 rm -f core conftest.err conftest.
$ac_objext \
8751 conftest
$ac_exeext conftest.
$ac_ext
8752 CFLAGS
=$ac_wine_try_cflags_saved
8754 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl___section_start__interp_0x7c000400" >&5
8755 $as_echo "$ac_cv_cflags__Wl___section_start__interp_0x7c000400" >&6; }
8756 if test "x$ac_cv_cflags__Wl___section_start__interp_0x7c000400" = xyes
; then :
8758 freebsd
* | kfreebsd
*-gnu) LDEXECFLAGS
="$LDEXECFLAGS -Wl,--section-start,.interp=0x60000400" ;;
8759 *) LDEXECFLAGS
="$LDEXECFLAGS -Wl,--section-start,.interp=0x7c000400" ;;
8762 # Extract the first word of "prelink", so it can be a program name with args.
8763 set dummy prelink
; ac_word
=$2
8764 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8765 $as_echo_n "checking for $ac_word... " >&6; }
8766 if ${ac_cv_path_PRELINK+:} false
; then :
8767 $as_echo_n "(cached) " >&6
8771 ac_cv_path_PRELINK
="$PRELINK" # Let the user override the test with a path.
8774 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
8775 for as_dir
in /sbin
/usr
/sbin
$PATH
8778 test -z "$as_dir" && as_dir
=.
8779 for ac_exec_ext
in '' $ac_executable_extensions; do
8780 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
8781 ac_cv_path_PRELINK
="$as_dir/$ac_word$ac_exec_ext"
8782 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8789 test -z "$ac_cv_path_PRELINK" && ac_cv_path_PRELINK
="false"
8793 PRELINK
=$ac_cv_path_PRELINK
8794 if test -n "$PRELINK"; then
8795 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PRELINK" >&5
8796 $as_echo "$PRELINK" >&6; }
8798 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8799 $as_echo "no" >&6; }
8803 if test "x$PRELINK" = xfalse
8805 as_fn_append wine_warnings
"|prelink not found and linker does not support relocation, base address of core dlls won't be set correctly."
8808 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,-z,max-page-size=0x1000" >&5
8809 $as_echo_n "checking whether the compiler supports -Wl,-z,max-page-size=0x1000... " >&6; }
8810 if ${ac_cv_cflags__Wl__z_max_page_size_0x1000+:} false
; then :
8811 $as_echo_n "(cached) " >&6
8813 ac_wine_try_cflags_saved
=$CFLAGS
8814 CFLAGS
="$CFLAGS -Wl,-z,max-page-size=0x1000"
8815 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8816 /* end confdefs.h. */
8817 int main(int argc, char **argv) { return 0; }
8819 if ac_fn_c_try_link
"$LINENO"; then :
8820 ac_cv_cflags__Wl__z_max_page_size_0x1000
=yes
8822 ac_cv_cflags__Wl__z_max_page_size_0x1000
=no
8824 rm -f core conftest.err conftest.
$ac_objext \
8825 conftest
$ac_exeext conftest.
$ac_ext
8826 CFLAGS
=$ac_wine_try_cflags_saved
8828 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl__z_max_page_size_0x1000" >&5
8829 $as_echo "$ac_cv_cflags__Wl__z_max_page_size_0x1000" >&6; }
8830 if test "x$ac_cv_cflags__Wl__z_max_page_size_0x1000" = xyes
; then :
8831 LDEXECFLAGS
="$LDEXECFLAGS -Wl,-z,max-page-size=0x1000"
8837 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we can build a UnixWare (Solaris) dll" >&5
8838 $as_echo_n "checking whether we can build a UnixWare (Solaris) dll... " >&6; }
8839 if ${ac_cv_c_dll_unixware+:} false
; then :
8840 $as_echo_n "(cached) " >&6
8842 ac_wine_try_cflags_saved
=$CFLAGS
8843 CFLAGS
="$CFLAGS -fPIC -Wl,-G,-h,conftest.so.1.0,-B,symbolic"
8844 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8845 /* end confdefs.h. */
8848 if ac_fn_c_try_link
"$LINENO"; then :
8849 ac_cv_c_dll_unixware
="yes"
8851 ac_cv_c_dll_unixware
="no"
8853 rm -f core conftest.err conftest.
$ac_objext \
8854 conftest
$ac_exeext conftest.
$ac_ext
8855 CFLAGS
=$ac_wine_try_cflags_saved
8857 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_dll_unixware" >&5
8858 $as_echo "$ac_cv_c_dll_unixware" >&6; }
8859 if test "$ac_cv_c_dll_unixware" = "yes"
8861 LIBWINE_LDFLAGS
="-Wl,-G,-h,libwine.so.$libwine_soversion"
8864 LIBWINE_SHAREDLIB
="libwine.so.$libwine_version"
8866 LIBWINE_INSTALL_LIB
="libwine.so.$libwine_version libwine.so.$libwine_soversion"
8868 LIBWINE_INSTALL_DEV
="libwine.so"
8870 LIBWINE_DEPENDS
="wine.map"
8875 enable_winecoreaudio_drv
=${enable_winecoreaudio_drv:-no}
8876 enable_wineqtdecoder
=${enable_wineqtdecoder:-no}
8877 enable_winemac_drv
=${enable_winemac_drv:-no}
8878 test "$ac_cv_header_linux_joystick_h" = "yes" -o "$ac_cv_header_IOKit_hid_IOHIDLib_h" = "yes" || enable_winejoystick_drv
=${enable_winejoystick_drv:-no}
8882 if test "x$enable_tests" != xno
-a "$LIBEXT" != "dll"
8886 ac_prefix_list
="armv7-w64-mingw32-clang armv7-w64-mingw32-gcc" ;;
8888 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
8889 i686-w64-mingw32-clang i586-w64-mingw32-clang i486-w64-mingw32-clang i386-w64-mingw32-clang
8892 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
8893 x86_64-w64-mingw32-clang amd64-w64-mingw32-clang " ;;
8895 ac_prefix_list
="" ;;
8897 for ac_prog
in $ac_prefix_list
8899 # Extract the first word of "$ac_prog", so it can be a program name with args.
8900 set dummy
$ac_prog; ac_word
=$2
8901 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8902 $as_echo_n "checking for $ac_word... " >&6; }
8903 if ${ac_cv_prog_CROSSCC+:} false
; then :
8904 $as_echo_n "(cached) " >&6
8906 if test -n "$CROSSCC"; then
8907 ac_cv_prog_CROSSCC
="$CROSSCC" # Let the user override the test.
8909 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
8913 test -z "$as_dir" && as_dir
=.
8914 for ac_exec_ext
in '' $ac_executable_extensions; do
8915 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
8916 ac_cv_prog_CROSSCC
="$ac_prog"
8917 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8926 CROSSCC
=$ac_cv_prog_CROSSCC
8927 if test -n "$CROSSCC"; then
8928 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CROSSCC" >&5
8929 $as_echo "$CROSSCC" >&6; }
8931 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8932 $as_echo "no" >&6; }
8936 test -n "$CROSSCC" && break
8938 test -n "$CROSSCC" || CROSSCC
="false"
8940 if test "$CROSSCC" != "false"
8944 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CROSSCC works" >&5
8945 $as_echo_n "checking whether $CROSSCC works... " >&6; }
8946 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8947 /* end confdefs.h. */
8957 if ac_fn_c_try_compile
"$LINENO"; then :
8958 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
8959 $as_echo "yes" >&6; }
8965 *-gcc) CROSSTARGET
=`expr "$1" : '\(.*\)-gcc'` ;;
8966 *-clang) CROSSTARGET
=`expr "$1" : '\(.*\)-clang'` ;;
8971 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8972 $as_echo "no" >&6; }
8974 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
8980 if test "$ac_cv_header_pthread_h" = "yes"
8982 ac_fn_c_check_func
"$LINENO" "pthread_create" "ac_cv_func_pthread_create"
8983 if test "x$ac_cv_func_pthread_create" = xyes
; then :
8986 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pthread_create in -lpthread" >&5
8987 $as_echo_n "checking for pthread_create in -lpthread... " >&6; }
8988 if ${ac_cv_lib_pthread_pthread_create+:} false
; then :
8989 $as_echo_n "(cached) " >&6
8991 ac_check_lib_save_LIBS
=$LIBS
8992 LIBS
="-lpthread $LIBS"
8993 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8994 /* end confdefs.h. */
8996 /* Override any GCC internal prototype to avoid an error.
8997 Use char because int might match the return type of a GCC
8998 builtin and then its argument prototype would still apply. */
9002 char pthread_create ();
9006 return pthread_create ();
9011 if ac_fn_c_try_link
"$LINENO"; then :
9012 ac_cv_lib_pthread_pthread_create
=yes
9014 ac_cv_lib_pthread_pthread_create
=no
9016 rm -f core conftest.err conftest.
$ac_objext \
9017 conftest
$ac_exeext conftest.
$ac_ext
9018 LIBS
=$ac_check_lib_save_LIBS
9020 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_pthread_pthread_create" >&5
9021 $as_echo "$ac_cv_lib_pthread_pthread_create" >&6; }
9022 if test "x$ac_cv_lib_pthread_pthread_create" = xyes
; then :
9023 PTHREAD_LIBS
="-lpthread"
9030 if test "x$ac_cv_func_pthread_create" != xyes
-a "x$PTHREAD_LIBS" = x
; then :
9031 case "x$with_pthread" in
9033 *) as_fn_error $?
"pthread ${notice_platform}development files not found.
9034 Wine cannot support threads without libpthread.
9035 Use the --without-pthread option if you really want this." "$LINENO" 5 ;;
9041 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for X" >&5
9042 $as_echo_n "checking for X... " >&6; }
9045 # Check whether --with-x was given.
9046 if test "${with_x+set}" = set; then :
9050 # $have_x is `yes', `no', `disabled', or empty when we do not yet know.
9051 if test "x$with_x" = xno
; then
9052 # The user explicitly disabled X.
9055 case $x_includes,$x_libraries in #(
9056 *\'*) as_fn_error $?
"cannot use X directory names containing '" "$LINENO" 5;; #(
9057 *,NONE | NONE
,*) if ${ac_cv_have_x+:} false
; then :
9058 $as_echo_n "(cached) " >&6
9060 # One or both of the vars are not set, and there is no cached value.
9061 ac_x_includes
=no ac_x_libraries
=no
9062 rm -f -r conftest.dir
9063 if mkdir conftest.dir
; then
9065 cat >Imakefile
<<'_ACEOF'
9067 @echo incroot='${INCROOT}'
9069 @echo usrlibdir='${USRLIBDIR}'
9071 @echo libdir='${LIBDIR}'
9073 if (export CC
; ${XMKMF-xmkmf}) >/dev
/null
2>/dev
/null
&& test -f Makefile
; then
9074 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
9075 for ac_var
in incroot usrlibdir libdir
; do
9076 eval "ac_im_$ac_var=\`\${MAKE-make} $ac_var 2>/dev/null | sed -n 's/^$ac_var=//p'\`"
9078 # Open Windows xmkmf reportedly sets LIBDIR instead of USRLIBDIR.
9079 for ac_extension
in a so sl dylib la dll
; do
9080 if test ! -f "$ac_im_usrlibdir/libX11.$ac_extension" &&
9081 test -f "$ac_im_libdir/libX11.$ac_extension"; then
9082 ac_im_usrlibdir
=$ac_im_libdir; break
9085 # Screen out bogus values from the imake configuration. They are
9086 # bogus both because they are the default anyway, and because
9087 # using them would break gcc on systems where it needs fixed includes.
9088 case $ac_im_incroot in
9089 /usr
/include
) ac_x_includes
= ;;
9090 *) test -f "$ac_im_incroot/X11/Xos.h" && ac_x_includes
=$ac_im_incroot;;
9092 case $ac_im_usrlibdir in
9093 /usr
/lib |
/usr
/lib64 |
/lib |
/lib64
) ;;
9094 *) test -d "$ac_im_usrlibdir" && ac_x_libraries
=$ac_im_usrlibdir ;;
9098 rm -f -r conftest.dir
9101 # Standard set of common directories for X headers.
9102 # Check X11 before X11Rn because it is often a symlink to the current release.
9116 /usr/local/X11/include
9117 /usr/local/X11R7/include
9118 /usr/local/X11R6/include
9119 /usr/local/X11R5/include
9120 /usr/local/X11R4/include
9122 /usr/local/include/X11
9123 /usr/local/include/X11R7
9124 /usr/local/include/X11R6
9125 /usr/local/include/X11R5
9126 /usr/local/include/X11R4
9130 /usr/XFree86/include/X11
9134 /usr/unsupported/include
9136 /usr/local/x11r5/include
9137 /usr/lpp/Xamples/include
9139 /usr/openwin/include
9140 /usr/openwin/share/include'
9142 if test "$ac_x_includes" = no
; then
9143 # Guess where to find include files, by looking for Xlib.h.
9144 # First, try using that file with no special directory specified.
9145 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9146 /* end confdefs.h. */
9147 #include <X11/Xlib.h>
9149 if ac_fn_c_try_cpp
"$LINENO"; then :
9150 # We can compile using X headers with no special include directory.
9153 for ac_dir
in $ac_x_header_dirs; do
9154 if test -r "$ac_dir/X11/Xlib.h"; then
9155 ac_x_includes
=$ac_dir
9160 rm -f conftest.err conftest.i conftest.
$ac_ext
9161 fi # $ac_x_includes = no
9163 if test "$ac_x_libraries" = no
; then
9164 # Check for the libraries.
9165 # See if we find them without any special options.
9166 # Don't add to $LIBS permanently.
9169 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9170 /* end confdefs.h. */
9171 #include <X11/Xlib.h>
9180 if ac_fn_c_try_link
"$LINENO"; then :
9182 # We can link X programs with no special library path.
9186 for ac_dir
in `$as_echo "$ac_x_includes $ac_x_header_dirs" | sed s/include/lib/g`
9188 # Don't even attempt the hair of trying to link an X program!
9189 for ac_extension
in a so sl dylib la dll
; do
9190 if test -r "$ac_dir/libX11.$ac_extension"; then
9191 ac_x_libraries
=$ac_dir
9197 rm -f core conftest.err conftest.
$ac_objext \
9198 conftest
$ac_exeext conftest.
$ac_ext
9199 fi # $ac_x_libraries = no
9201 case $ac_x_includes,$ac_x_libraries in #(
9203 # Didn't find X, or a directory has "'" in its name.
9204 ac_cv_have_x
="have_x=no";; #(
9206 # Record where we found X for the cache.
9207 ac_cv_have_x
="have_x=yes\
9208 ac_x_includes='$ac_x_includes'\
9209 ac_x_libraries='$ac_x_libraries'"
9215 eval "$ac_cv_have_x"
9218 if test "$have_x" != yes; then
9219 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $have_x" >&5
9220 $as_echo "$have_x" >&6; }
9223 # If each of the values was on the command line, it overrides each guess.
9224 test "x$x_includes" = xNONE
&& x_includes
=$ac_x_includes
9225 test "x$x_libraries" = xNONE
&& x_libraries
=$ac_x_libraries
9226 # Update the cache value to reflect the command line values.
9227 ac_cv_have_x
="have_x=yes\
9228 ac_x_includes='$x_includes'\
9229 ac_x_libraries='$x_libraries'"
9230 { $as_echo "$as_me:${as_lineno-$LINENO}: result: libraries $x_libraries, headers $x_includes" >&5
9231 $as_echo "libraries $x_libraries, headers $x_includes" >&6; }
9234 if test "$no_x" = yes; then
9235 # Not all programs may use this symbol, but it does not hurt to define it.
9237 $as_echo "#define X_DISPLAY_MISSING 1" >>confdefs.h
9239 X_CFLAGS
= X_PRE_LIBS
= X_LIBS
= X_EXTRA_LIBS
=
9241 if test -n "$x_includes"; then
9242 X_CFLAGS
="$X_CFLAGS -I$x_includes"
9245 # It would also be nice to do this for all -L options, not just this one.
9246 if test -n "$x_libraries"; then
9247 X_LIBS
="$X_LIBS -L$x_libraries"
9248 # For Solaris; some versions of Sun CC require a space after -R and
9249 # others require no space. Words are not sufficient . . . .
9250 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -R must be followed by a space" >&5
9251 $as_echo_n "checking whether -R must be followed by a space... " >&6; }
9252 ac_xsave_LIBS
=$LIBS; LIBS
="$LIBS -R$x_libraries"
9253 ac_xsave_c_werror_flag
=$ac_c_werror_flag
9254 ac_c_werror_flag
=yes
9255 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9256 /* end confdefs.h. */
9266 if ac_fn_c_try_link
"$LINENO"; then :
9267 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9268 $as_echo "no" >&6; }
9269 X_LIBS
="$X_LIBS -R$x_libraries"
9271 LIBS
="$ac_xsave_LIBS -R $x_libraries"
9272 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9273 /* end confdefs.h. */
9283 if ac_fn_c_try_link
"$LINENO"; then :
9284 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
9285 $as_echo "yes" >&6; }
9286 X_LIBS
="$X_LIBS -R $x_libraries"
9288 { $as_echo "$as_me:${as_lineno-$LINENO}: result: neither works" >&5
9289 $as_echo "neither works" >&6; }
9291 rm -f core conftest.err conftest.
$ac_objext \
9292 conftest
$ac_exeext conftest.
$ac_ext
9294 rm -f core conftest.err conftest.
$ac_objext \
9295 conftest
$ac_exeext conftest.
$ac_ext
9296 ac_c_werror_flag
=$ac_xsave_c_werror_flag
9300 # Check for system-dependent libraries X programs must link with.
9301 # Do this before checking for the system-independent R6 libraries
9302 # (-lICE), since we may need -lsocket or whatever for X linking.
9304 if test "$ISC" = yes; then
9305 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lnsl_s -linet"
9307 # Martyn Johnson says this is needed for Ultrix, if the X
9308 # libraries were built with DECnet support. And Karl Berry says
9309 # the Alpha needs dnet_stub (dnet does not exist).
9310 ac_xsave_LIBS
="$LIBS"; LIBS
="$LIBS $X_LIBS -lX11"
9311 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9312 /* end confdefs.h. */
9314 /* Override any GCC internal prototype to avoid an error.
9315 Use char because int might match the return type of a GCC
9316 builtin and then its argument prototype would still apply. */
9320 char XOpenDisplay ();
9324 return XOpenDisplay ();
9329 if ac_fn_c_try_link
"$LINENO"; then :
9332 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dnet_ntoa in -ldnet" >&5
9333 $as_echo_n "checking for dnet_ntoa in -ldnet... " >&6; }
9334 if ${ac_cv_lib_dnet_dnet_ntoa+:} false
; then :
9335 $as_echo_n "(cached) " >&6
9337 ac_check_lib_save_LIBS
=$LIBS
9339 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9340 /* end confdefs.h. */
9342 /* Override any GCC internal prototype to avoid an error.
9343 Use char because int might match the return type of a GCC
9344 builtin and then its argument prototype would still apply. */
9352 return dnet_ntoa ();
9357 if ac_fn_c_try_link
"$LINENO"; then :
9358 ac_cv_lib_dnet_dnet_ntoa
=yes
9360 ac_cv_lib_dnet_dnet_ntoa
=no
9362 rm -f core conftest.err conftest.
$ac_objext \
9363 conftest
$ac_exeext conftest.
$ac_ext
9364 LIBS
=$ac_check_lib_save_LIBS
9366 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dnet_dnet_ntoa" >&5
9367 $as_echo "$ac_cv_lib_dnet_dnet_ntoa" >&6; }
9368 if test "x$ac_cv_lib_dnet_dnet_ntoa" = xyes
; then :
9369 X_EXTRA_LIBS
="$X_EXTRA_LIBS -ldnet"
9372 if test $ac_cv_lib_dnet_dnet_ntoa = no
; then
9373 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dnet_ntoa in -ldnet_stub" >&5
9374 $as_echo_n "checking for dnet_ntoa in -ldnet_stub... " >&6; }
9375 if ${ac_cv_lib_dnet_stub_dnet_ntoa+:} false
; then :
9376 $as_echo_n "(cached) " >&6
9378 ac_check_lib_save_LIBS
=$LIBS
9379 LIBS
="-ldnet_stub $LIBS"
9380 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9381 /* end confdefs.h. */
9383 /* Override any GCC internal prototype to avoid an error.
9384 Use char because int might match the return type of a GCC
9385 builtin and then its argument prototype would still apply. */
9393 return dnet_ntoa ();
9398 if ac_fn_c_try_link
"$LINENO"; then :
9399 ac_cv_lib_dnet_stub_dnet_ntoa
=yes
9401 ac_cv_lib_dnet_stub_dnet_ntoa
=no
9403 rm -f core conftest.err conftest.
$ac_objext \
9404 conftest
$ac_exeext conftest.
$ac_ext
9405 LIBS
=$ac_check_lib_save_LIBS
9407 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dnet_stub_dnet_ntoa" >&5
9408 $as_echo "$ac_cv_lib_dnet_stub_dnet_ntoa" >&6; }
9409 if test "x$ac_cv_lib_dnet_stub_dnet_ntoa" = xyes
; then :
9410 X_EXTRA_LIBS
="$X_EXTRA_LIBS -ldnet_stub"
9415 rm -f core conftest.err conftest.
$ac_objext \
9416 conftest
$ac_exeext conftest.
$ac_ext
9417 LIBS
="$ac_xsave_LIBS"
9419 # msh@cis.ufl.edu says -lnsl (and -lsocket) are needed for his 386/AT,
9420 # to get the SysV transport functions.
9421 # Chad R. Larson says the Pyramis MIS-ES running DC/OSx (SVR4)
9423 # The nsl library prevents programs from opening the X display
9424 # on Irix 5.2, according to T.E. Dickey.
9425 # The functions gethostbyname, getservbyname, and inet_addr are
9426 # in -lbsd on LynxOS 3.0.1/i386, according to Lars Hecking.
9427 ac_fn_c_check_func
"$LINENO" "gethostbyname" "ac_cv_func_gethostbyname"
9428 if test "x$ac_cv_func_gethostbyname" = xyes
; then :
9432 if test $ac_cv_func_gethostbyname = no
; then
9433 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gethostbyname in -lnsl" >&5
9434 $as_echo_n "checking for gethostbyname in -lnsl... " >&6; }
9435 if ${ac_cv_lib_nsl_gethostbyname+:} false
; then :
9436 $as_echo_n "(cached) " >&6
9438 ac_check_lib_save_LIBS
=$LIBS
9440 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9441 /* end confdefs.h. */
9443 /* Override any GCC internal prototype to avoid an error.
9444 Use char because int might match the return type of a GCC
9445 builtin and then its argument prototype would still apply. */
9449 char gethostbyname ();
9453 return gethostbyname ();
9458 if ac_fn_c_try_link
"$LINENO"; then :
9459 ac_cv_lib_nsl_gethostbyname
=yes
9461 ac_cv_lib_nsl_gethostbyname
=no
9463 rm -f core conftest.err conftest.
$ac_objext \
9464 conftest
$ac_exeext conftest.
$ac_ext
9465 LIBS
=$ac_check_lib_save_LIBS
9467 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_nsl_gethostbyname" >&5
9468 $as_echo "$ac_cv_lib_nsl_gethostbyname" >&6; }
9469 if test "x$ac_cv_lib_nsl_gethostbyname" = xyes
; then :
9470 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lnsl"
9473 if test $ac_cv_lib_nsl_gethostbyname = no
; then
9474 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gethostbyname in -lbsd" >&5
9475 $as_echo_n "checking for gethostbyname in -lbsd... " >&6; }
9476 if ${ac_cv_lib_bsd_gethostbyname+:} false
; then :
9477 $as_echo_n "(cached) " >&6
9479 ac_check_lib_save_LIBS
=$LIBS
9481 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9482 /* end confdefs.h. */
9484 /* Override any GCC internal prototype to avoid an error.
9485 Use char because int might match the return type of a GCC
9486 builtin and then its argument prototype would still apply. */
9490 char gethostbyname ();
9494 return gethostbyname ();
9499 if ac_fn_c_try_link
"$LINENO"; then :
9500 ac_cv_lib_bsd_gethostbyname
=yes
9502 ac_cv_lib_bsd_gethostbyname
=no
9504 rm -f core conftest.err conftest.
$ac_objext \
9505 conftest
$ac_exeext conftest.
$ac_ext
9506 LIBS
=$ac_check_lib_save_LIBS
9508 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_bsd_gethostbyname" >&5
9509 $as_echo "$ac_cv_lib_bsd_gethostbyname" >&6; }
9510 if test "x$ac_cv_lib_bsd_gethostbyname" = xyes
; then :
9511 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lbsd"
9517 # lieder@skyler.mavd.honeywell.com says without -lsocket,
9518 # socket/setsockopt and other routines are undefined under SCO ODT
9519 # 2.0. But -lsocket is broken on IRIX 5.2 (and is not necessary
9520 # on later versions), says Simon Leinen: it contains gethostby*
9521 # variants that don't use the name server (or something). -lsocket
9522 # must be given before -lnsl if both are needed. We assume that
9523 # if connect needs -lnsl, so does gethostbyname.
9524 ac_fn_c_check_func
"$LINENO" "connect" "ac_cv_func_connect"
9525 if test "x$ac_cv_func_connect" = xyes
; then :
9529 if test $ac_cv_func_connect = no
; then
9530 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for connect in -lsocket" >&5
9531 $as_echo_n "checking for connect in -lsocket... " >&6; }
9532 if ${ac_cv_lib_socket_connect+:} false
; then :
9533 $as_echo_n "(cached) " >&6
9535 ac_check_lib_save_LIBS
=$LIBS
9536 LIBS
="-lsocket $X_EXTRA_LIBS $LIBS"
9537 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9538 /* end confdefs.h. */
9540 /* Override any GCC internal prototype to avoid an error.
9541 Use char because int might match the return type of a GCC
9542 builtin and then its argument prototype would still apply. */
9555 if ac_fn_c_try_link
"$LINENO"; then :
9556 ac_cv_lib_socket_connect
=yes
9558 ac_cv_lib_socket_connect
=no
9560 rm -f core conftest.err conftest.
$ac_objext \
9561 conftest
$ac_exeext conftest.
$ac_ext
9562 LIBS
=$ac_check_lib_save_LIBS
9564 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_socket_connect" >&5
9565 $as_echo "$ac_cv_lib_socket_connect" >&6; }
9566 if test "x$ac_cv_lib_socket_connect" = xyes
; then :
9567 X_EXTRA_LIBS
="-lsocket $X_EXTRA_LIBS"
9572 # Guillermo Gomez says -lposix is necessary on A/UX.
9573 ac_fn_c_check_func
"$LINENO" "remove" "ac_cv_func_remove"
9574 if test "x$ac_cv_func_remove" = xyes
; then :
9578 if test $ac_cv_func_remove = no
; then
9579 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for remove in -lposix" >&5
9580 $as_echo_n "checking for remove in -lposix... " >&6; }
9581 if ${ac_cv_lib_posix_remove+:} false
; then :
9582 $as_echo_n "(cached) " >&6
9584 ac_check_lib_save_LIBS
=$LIBS
9585 LIBS
="-lposix $LIBS"
9586 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9587 /* end confdefs.h. */
9589 /* Override any GCC internal prototype to avoid an error.
9590 Use char because int might match the return type of a GCC
9591 builtin and then its argument prototype would still apply. */
9604 if ac_fn_c_try_link
"$LINENO"; then :
9605 ac_cv_lib_posix_remove
=yes
9607 ac_cv_lib_posix_remove
=no
9609 rm -f core conftest.err conftest.
$ac_objext \
9610 conftest
$ac_exeext conftest.
$ac_ext
9611 LIBS
=$ac_check_lib_save_LIBS
9613 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_posix_remove" >&5
9614 $as_echo "$ac_cv_lib_posix_remove" >&6; }
9615 if test "x$ac_cv_lib_posix_remove" = xyes
; then :
9616 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lposix"
9621 # BSDI BSD/OS 2.1 needs -lipc for XOpenDisplay.
9622 ac_fn_c_check_func
"$LINENO" "shmat" "ac_cv_func_shmat"
9623 if test "x$ac_cv_func_shmat" = xyes
; then :
9627 if test $ac_cv_func_shmat = no
; then
9628 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shmat in -lipc" >&5
9629 $as_echo_n "checking for shmat in -lipc... " >&6; }
9630 if ${ac_cv_lib_ipc_shmat+:} false
; then :
9631 $as_echo_n "(cached) " >&6
9633 ac_check_lib_save_LIBS
=$LIBS
9635 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9636 /* end confdefs.h. */
9638 /* Override any GCC internal prototype to avoid an error.
9639 Use char because int might match the return type of a GCC
9640 builtin and then its argument prototype would still apply. */
9653 if ac_fn_c_try_link
"$LINENO"; then :
9654 ac_cv_lib_ipc_shmat
=yes
9656 ac_cv_lib_ipc_shmat
=no
9658 rm -f core conftest.err conftest.
$ac_objext \
9659 conftest
$ac_exeext conftest.
$ac_ext
9660 LIBS
=$ac_check_lib_save_LIBS
9662 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ipc_shmat" >&5
9663 $as_echo "$ac_cv_lib_ipc_shmat" >&6; }
9664 if test "x$ac_cv_lib_ipc_shmat" = xyes
; then :
9665 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lipc"
9671 # Check for libraries that X11R6 Xt/Xaw programs need.
9672 ac_save_LDFLAGS
=$LDFLAGS
9673 test -n "$x_libraries" && LDFLAGS
="$LDFLAGS -L$x_libraries"
9674 # SM needs ICE to (dynamically) link under SunOS 4.x (so we have to
9675 # check for ICE first), but we must link in the order -lSM -lICE or
9676 # we get undefined symbols. So assume we have SM if we have ICE.
9677 # These have to be linked with before -lX11, unlike the other
9678 # libraries we check for below, so use a different variable.
9679 # John Interrante, Karl Berry
9680 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for IceConnectionNumber in -lICE" >&5
9681 $as_echo_n "checking for IceConnectionNumber in -lICE... " >&6; }
9682 if ${ac_cv_lib_ICE_IceConnectionNumber+:} false
; then :
9683 $as_echo_n "(cached) " >&6
9685 ac_check_lib_save_LIBS
=$LIBS
9686 LIBS
="-lICE $X_EXTRA_LIBS $LIBS"
9687 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9688 /* end confdefs.h. */
9690 /* Override any GCC internal prototype to avoid an error.
9691 Use char because int might match the return type of a GCC
9692 builtin and then its argument prototype would still apply. */
9696 char IceConnectionNumber ();
9700 return IceConnectionNumber ();
9705 if ac_fn_c_try_link
"$LINENO"; then :
9706 ac_cv_lib_ICE_IceConnectionNumber
=yes
9708 ac_cv_lib_ICE_IceConnectionNumber
=no
9710 rm -f core conftest.err conftest.
$ac_objext \
9711 conftest
$ac_exeext conftest.
$ac_ext
9712 LIBS
=$ac_check_lib_save_LIBS
9714 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ICE_IceConnectionNumber" >&5
9715 $as_echo "$ac_cv_lib_ICE_IceConnectionNumber" >&6; }
9716 if test "x$ac_cv_lib_ICE_IceConnectionNumber" = xyes
; then :
9717 X_PRE_LIBS
="$X_PRE_LIBS -lSM -lICE"
9720 LDFLAGS
=$ac_save_LDFLAGS
9725 if test "$have_x" = "yes"
9727 ac_save_CPPFLAGS
="$CPPFLAGS"
9728 CPPFLAGS
="$CPPFLAGS $X_CFLAGS"
9730 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lX11" >&5
9731 $as_echo_n "checking for -lX11... " >&6; }
9732 if ${ac_cv_lib_soname_X11+:} false
; then :
9733 $as_echo_n "(cached) " >&6
9735 ac_check_soname_save_LIBS
=$LIBS
9736 LIBS
="-lX11 $X_LIBS $X_EXTRA_LIBS $LIBS"
9737 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9738 /* end confdefs.h. */
9740 /* Override any GCC internal prototype to avoid an error.
9741 Use char because int might match the return type of a GCC
9742 builtin and then its argument prototype would still apply. */
9746 char XCreateWindow ();
9750 return XCreateWindow ();
9755 if ac_fn_c_try_link
"$LINENO"; then :
9757 dll
) ac_cv_lib_soname_X11
=`$ac_cv_path_LDD conftest.exe | grep "X11" | sed -e "s/dll.*/dll/"';2,$d'` ;;
9758 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'` ;;
9759 *) ac_cv_lib_soname_X11
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libX11\\.$LIBEXT" | sed -e "s/^.*\\[\\(libX11\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
9760 if ${ac_cv_lib_soname_X11:+false} :; then :
9761 ac_cv_lib_soname_X11
=`$LDD conftest$ac_exeext | grep "libX11\\.$LIBEXT" | sed -e "s/^.*\(libX11\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
9765 rm -f core conftest.err conftest.
$ac_objext \
9766 conftest
$ac_exeext conftest.
$ac_ext
9767 LIBS
=$ac_check_soname_save_LIBS
9769 if ${ac_cv_lib_soname_X11:+false} :; then :
9770 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
9771 $as_echo "not found" >&6; }
9774 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_X11" >&5
9775 $as_echo "$ac_cv_lib_soname_X11" >&6; }
9777 cat >>confdefs.h
<<_ACEOF
9778 #define SONAME_LIBX11 "$ac_cv_lib_soname_X11"
9783 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXext" >&5
9784 $as_echo_n "checking for -lXext... " >&6; }
9785 if ${ac_cv_lib_soname_Xext+:} false
; then :
9786 $as_echo_n "(cached) " >&6
9788 ac_check_soname_save_LIBS
=$LIBS
9789 LIBS
="-lXext $X_LIBS -lX11 $X_EXTRA_LIBS $LIBS"
9790 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9791 /* end confdefs.h. */
9793 /* Override any GCC internal prototype to avoid an error.
9794 Use char because int might match the return type of a GCC
9795 builtin and then its argument prototype would still apply. */
9799 char XextCreateExtension ();
9803 return XextCreateExtension ();
9808 if ac_fn_c_try_link
"$LINENO"; then :
9810 dll
) ac_cv_lib_soname_Xext
=`$ac_cv_path_LDD conftest.exe | grep "Xext" | sed -e "s/dll.*/dll/"';2,$d'` ;;
9811 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'` ;;
9812 *) ac_cv_lib_soname_Xext
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXext\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXext\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
9813 if ${ac_cv_lib_soname_Xext:+false} :; then :
9814 ac_cv_lib_soname_Xext
=`$LDD conftest$ac_exeext | grep "libXext\\.$LIBEXT" | sed -e "s/^.*\(libXext\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
9818 rm -f core conftest.err conftest.
$ac_objext \
9819 conftest
$ac_exeext conftest.
$ac_ext
9820 LIBS
=$ac_check_soname_save_LIBS
9822 if ${ac_cv_lib_soname_Xext:+false} :; then :
9823 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
9824 $as_echo "not found" >&6; }
9827 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xext" >&5
9828 $as_echo "$ac_cv_lib_soname_Xext" >&6; }
9830 cat >>confdefs.h
<<_ACEOF
9831 #define SONAME_LIBXEXT "$ac_cv_lib_soname_Xext"
9834 X_LIBS
="$X_LIBS -lXext"
9836 X_LIBS
="$X_LIBS -lX11"
9838 for ac_header
in X11
/Xlib.h \
9841 X11
/Xcursor
/Xcursor.h \
9842 X11
/extensions
/shape.h \
9843 X11
/extensions
/XInput.h \
9844 X11
/extensions
/XInput2.h \
9845 X11
/extensions
/XShm.h \
9846 X11
/extensions
/Xcomposite.h \
9847 X11
/extensions
/Xinerama.h \
9848 X11
/extensions
/Xrandr.h \
9849 X11
/extensions
/Xrender.h \
9850 X11
/extensions
/xf86vmode.h \
9851 X11
/extensions
/xf86vmproto.h
9853 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
9854 ac_fn_c_check_header_compile
"$LINENO" "$ac_header" "$as_ac_Header" "#ifdef HAVE_X11_XLIB_H
9855 # include <X11/Xlib.h>
9857 #ifdef HAVE_X11_XUTIL_H
9858 # include <X11/Xutil.h>
9861 if eval test \"x\$
"$as_ac_Header"\" = x
"yes"; then :
9862 cat >>confdefs.h
<<_ACEOF
9863 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
9871 if test "$ac_cv_header_X11_XKBlib_h" = "yes"
9873 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XkbQueryExtension in -lX11" >&5
9874 $as_echo_n "checking for XkbQueryExtension in -lX11... " >&6; }
9875 if ${ac_cv_lib_X11_XkbQueryExtension+:} false
; then :
9876 $as_echo_n "(cached) " >&6
9878 ac_check_lib_save_LIBS
=$LIBS
9879 LIBS
="-lX11 $X_LIBS $X_EXTRA_LIBS $LIBS"
9880 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9881 /* end confdefs.h. */
9883 /* Override any GCC internal prototype to avoid an error.
9884 Use char because int might match the return type of a GCC
9885 builtin and then its argument prototype would still apply. */
9889 char XkbQueryExtension ();
9893 return XkbQueryExtension ();
9898 if ac_fn_c_try_link
"$LINENO"; then :
9899 ac_cv_lib_X11_XkbQueryExtension
=yes
9901 ac_cv_lib_X11_XkbQueryExtension
=no
9903 rm -f core conftest.err conftest.
$ac_objext \
9904 conftest
$ac_exeext conftest.
$ac_ext
9905 LIBS
=$ac_check_lib_save_LIBS
9907 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_X11_XkbQueryExtension" >&5
9908 $as_echo "$ac_cv_lib_X11_XkbQueryExtension" >&6; }
9909 if test "x$ac_cv_lib_X11_XkbQueryExtension" = xyes
; then :
9911 $as_echo "#define HAVE_XKB 1" >>confdefs.h
9917 if test "$ac_cv_header_X11_Xcursor_Xcursor_h" = "yes"
9919 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXcursor" >&5
9920 $as_echo_n "checking for -lXcursor... " >&6; }
9921 if ${ac_cv_lib_soname_Xcursor+:} false
; then :
9922 $as_echo_n "(cached) " >&6
9924 ac_check_soname_save_LIBS
=$LIBS
9925 LIBS
="-lXcursor $X_LIBS $X_EXTRA_LIBS $LIBS"
9926 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9927 /* end confdefs.h. */
9929 /* Override any GCC internal prototype to avoid an error.
9930 Use char because int might match the return type of a GCC
9931 builtin and then its argument prototype would still apply. */
9935 char XcursorImageLoadCursor ();
9939 return XcursorImageLoadCursor ();
9944 if ac_fn_c_try_link
"$LINENO"; then :
9946 dll
) ac_cv_lib_soname_Xcursor
=`$ac_cv_path_LDD conftest.exe | grep "Xcursor" | sed -e "s/dll.*/dll/"';2,$d'` ;;
9947 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'` ;;
9948 *) ac_cv_lib_soname_Xcursor
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXcursor\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXcursor\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
9949 if ${ac_cv_lib_soname_Xcursor:+false} :; then :
9950 ac_cv_lib_soname_Xcursor
=`$LDD conftest$ac_exeext | grep "libXcursor\\.$LIBEXT" | sed -e "s/^.*\(libXcursor\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
9954 rm -f core conftest.err conftest.
$ac_objext \
9955 conftest
$ac_exeext conftest.
$ac_ext
9956 LIBS
=$ac_check_soname_save_LIBS
9958 if ${ac_cv_lib_soname_Xcursor:+false} :; then :
9959 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
9960 $as_echo "not found" >&6; }
9963 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xcursor" >&5
9964 $as_echo "$ac_cv_lib_soname_Xcursor" >&6; }
9966 cat >>confdefs.h
<<_ACEOF
9967 #define SONAME_LIBXCURSOR "$ac_cv_lib_soname_Xcursor"
9973 if test "x$ac_cv_lib_soname_Xcursor" = "x"; then :
9974 case "x$with_xcursor" in
9975 x
) as_fn_append wine_notices
"|libxcursor ${notice_platform}development files not found, the Xcursor extension won't be supported." ;;
9977 *) as_fn_error $?
"libxcursor ${notice_platform}development files not found, the Xcursor extension won't be supported.
9978 This is an error since --with-xcursor was requested." "$LINENO" 5 ;;
9983 if test "$ac_cv_header_X11_extensions_XInput_h" = "yes"
9985 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXi" >&5
9986 $as_echo_n "checking for -lXi... " >&6; }
9987 if ${ac_cv_lib_soname_Xi+:} false
; then :
9988 $as_echo_n "(cached) " >&6
9990 ac_check_soname_save_LIBS
=$LIBS
9991 LIBS
="-lXi $X_LIBS $X_EXTRA_LIBS $LIBS"
9992 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9993 /* end confdefs.h. */
9995 /* Override any GCC internal prototype to avoid an error.
9996 Use char because int might match the return type of a GCC
9997 builtin and then its argument prototype would still apply. */
10001 char XOpenDevice ();
10005 return XOpenDevice ();
10010 if ac_fn_c_try_link
"$LINENO"; then :
10012 dll
) ac_cv_lib_soname_Xi
=`$ac_cv_path_LDD conftest.exe | grep "Xi" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10013 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'` ;;
10014 *) ac_cv_lib_soname_Xi
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXi\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXi\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10015 if ${ac_cv_lib_soname_Xi:+false} :; then :
10016 ac_cv_lib_soname_Xi
=`$LDD conftest$ac_exeext | grep "libXi\\.$LIBEXT" | sed -e "s/^.*\(libXi\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10020 rm -f core conftest.err conftest.
$ac_objext \
10021 conftest
$ac_exeext conftest.
$ac_ext
10022 LIBS
=$ac_check_soname_save_LIBS
10024 if ${ac_cv_lib_soname_Xi:+false} :; then :
10025 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10026 $as_echo "not found" >&6; }
10029 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xi" >&5
10030 $as_echo "$ac_cv_lib_soname_Xi" >&6; }
10032 cat >>confdefs.h
<<_ACEOF
10033 #define SONAME_LIBXI "$ac_cv_lib_soname_Xi"
10039 if test "x$ac_cv_lib_soname_Xi" = "x"; then :
10040 case "x$with_xinput" in
10041 x
) as_fn_append wine_notices
"|libxi ${notice_platform}development files not found, the Xinput extension won't be supported." ;;
10043 *) as_fn_error $?
"libxi ${notice_platform}development files not found, the Xinput extension won't be supported.
10044 This is an error since --with-xinput was requested." "$LINENO" 5 ;;
10049 if test "x$ac_cv_lib_soname_Xi" != x
10051 if test "$ac_cv_header_X11_extensions_XInput2_h" != "yes"; then :
10052 case "x$with_xinput2" in
10053 x
) as_fn_append wine_notices
"|XInput2 headers not found, the XInput 2 extension won't be supported." ;;
10055 *) as_fn_error $?
"XInput2 headers not found, the XInput 2 extension won't be supported.
10056 This is an error since --with-xinput2 was requested." "$LINENO" 5 ;;
10062 if test "$ac_cv_header_X11_extensions_XShm_h" = "yes"
10064 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XShmQueryExtension in -lXext" >&5
10065 $as_echo_n "checking for XShmQueryExtension in -lXext... " >&6; }
10066 if ${ac_cv_lib_Xext_XShmQueryExtension+:} false
; then :
10067 $as_echo_n "(cached) " >&6
10069 ac_check_lib_save_LIBS
=$LIBS
10070 LIBS
="-lXext $X_LIBS $X_EXTRA_LIBS $LIBS"
10071 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10072 /* end confdefs.h. */
10074 /* Override any GCC internal prototype to avoid an error.
10075 Use char because int might match the return type of a GCC
10076 builtin and then its argument prototype would still apply. */
10080 char XShmQueryExtension ();
10084 return XShmQueryExtension ();
10089 if ac_fn_c_try_link
"$LINENO"; then :
10090 ac_cv_lib_Xext_XShmQueryExtension
=yes
10092 ac_cv_lib_Xext_XShmQueryExtension
=no
10094 rm -f core conftest.err conftest.
$ac_objext \
10095 conftest
$ac_exeext conftest.
$ac_ext
10096 LIBS
=$ac_check_lib_save_LIBS
10098 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xext_XShmQueryExtension" >&5
10099 $as_echo "$ac_cv_lib_Xext_XShmQueryExtension" >&6; }
10100 if test "x$ac_cv_lib_Xext_XShmQueryExtension" = xyes
; then :
10102 $as_echo "#define HAVE_LIBXXSHM 1" >>confdefs.h
10107 if test "$ac_cv_lib_Xext_XShmQueryExtension" != "yes"; then :
10108 case "x$with_xshm" in
10109 x
) as_fn_append wine_notices
"|XShm ${notice_platform}development files not found, X Shared Memory won't be supported." ;;
10111 *) as_fn_error $?
"XShm ${notice_platform}development files not found, X Shared Memory won't be supported.
10112 This is an error since --with-xshm was requested." "$LINENO" 5 ;;
10117 if test "$ac_cv_header_X11_extensions_shape_h" = "yes"
10119 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XShapeQueryExtension in -lXext" >&5
10120 $as_echo_n "checking for XShapeQueryExtension in -lXext... " >&6; }
10121 if ${ac_cv_lib_Xext_XShapeQueryExtension+:} false
; then :
10122 $as_echo_n "(cached) " >&6
10124 ac_check_lib_save_LIBS
=$LIBS
10125 LIBS
="-lXext $X_LIBS $X_EXTRA_LIBS $LIBS"
10126 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10127 /* end confdefs.h. */
10129 /* Override any GCC internal prototype to avoid an error.
10130 Use char because int might match the return type of a GCC
10131 builtin and then its argument prototype would still apply. */
10135 char XShapeQueryExtension ();
10139 return XShapeQueryExtension ();
10144 if ac_fn_c_try_link
"$LINENO"; then :
10145 ac_cv_lib_Xext_XShapeQueryExtension
=yes
10147 ac_cv_lib_Xext_XShapeQueryExtension
=no
10149 rm -f core conftest.err conftest.
$ac_objext \
10150 conftest
$ac_exeext conftest.
$ac_ext
10151 LIBS
=$ac_check_lib_save_LIBS
10153 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xext_XShapeQueryExtension" >&5
10154 $as_echo "$ac_cv_lib_Xext_XShapeQueryExtension" >&6; }
10155 if test "x$ac_cv_lib_Xext_XShapeQueryExtension" = xyes
; then :
10157 $as_echo "#define HAVE_LIBXSHAPE 1" >>confdefs.h
10162 if test "$ac_cv_lib_Xext_XShapeQueryExtension" != "yes"; then :
10163 case "x$with_xshape" in
10164 x
) as_fn_append wine_notices
"|XShape ${notice_platform}development files not found, XShape won't be supported." ;;
10166 *) as_fn_error $?
"XShape ${notice_platform}development files not found, XShape won't be supported.
10167 This is an error since --with-xshape was requested." "$LINENO" 5 ;;
10172 if test "$ac_cv_header_X11_extensions_xf86vmode_h" = "yes" -o "$ac_cv_header_X11_extensions_xf86vmproto_h" = "yes"
10174 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXxf86vm" >&5
10175 $as_echo_n "checking for -lXxf86vm... " >&6; }
10176 if ${ac_cv_lib_soname_Xxf86vm+:} false
; then :
10177 $as_echo_n "(cached) " >&6
10179 ac_check_soname_save_LIBS
=$LIBS
10180 LIBS
="-lXxf86vm $X_LIBS $X_EXTRA_LIBS $LIBS"
10181 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10182 /* end confdefs.h. */
10184 /* Override any GCC internal prototype to avoid an error.
10185 Use char because int might match the return type of a GCC
10186 builtin and then its argument prototype would still apply. */
10190 char XF86VidModeQueryExtension ();
10194 return XF86VidModeQueryExtension ();
10199 if ac_fn_c_try_link
"$LINENO"; then :
10201 dll
) ac_cv_lib_soname_Xxf86vm
=`$ac_cv_path_LDD conftest.exe | grep "Xxf86vm" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10202 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'` ;;
10203 *) ac_cv_lib_soname_Xxf86vm
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXxf86vm\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXxf86vm\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10204 if ${ac_cv_lib_soname_Xxf86vm:+false} :; then :
10205 ac_cv_lib_soname_Xxf86vm
=`$LDD conftest$ac_exeext | grep "libXxf86vm\\.$LIBEXT" | sed -e "s/^.*\(libXxf86vm\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10209 rm -f core conftest.err conftest.
$ac_objext \
10210 conftest
$ac_exeext conftest.
$ac_ext
10211 LIBS
=$ac_check_soname_save_LIBS
10213 if ${ac_cv_lib_soname_Xxf86vm:+false} :; then :
10214 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10215 $as_echo "not found" >&6; }
10218 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xxf86vm" >&5
10219 $as_echo "$ac_cv_lib_soname_Xxf86vm" >&6; }
10221 cat >>confdefs.h
<<_ACEOF
10222 #define SONAME_LIBXXF86VM "$ac_cv_lib_soname_Xxf86vm"
10228 if test "x$ac_cv_lib_soname_Xxf86vm" = "x"; then :
10229 case "x$with_xxf86vm" in
10230 x
) as_fn_append wine_notices
"|libXxf86vm ${notice_platform}development files not found, XFree86 Vidmode won't be supported." ;;
10232 *) as_fn_error $?
"libXxf86vm ${notice_platform}development files not found, XFree86 Vidmode won't be supported.
10233 This is an error since --with-xxf86vm was requested." "$LINENO" 5 ;;
10238 if test "$ac_cv_header_X11_extensions_Xrender_h" = "yes" -a "x$ac_cv_lib_soname_X11" != "x"
10240 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXrender" >&5
10241 $as_echo_n "checking for -lXrender... " >&6; }
10242 if ${ac_cv_lib_soname_Xrender+:} false
; then :
10243 $as_echo_n "(cached) " >&6
10245 ac_check_soname_save_LIBS
=$LIBS
10246 LIBS
="-lXrender $X_LIBS $X_EXTRA_LIBS $LIBS"
10247 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10248 /* end confdefs.h. */
10250 /* Override any GCC internal prototype to avoid an error.
10251 Use char because int might match the return type of a GCC
10252 builtin and then its argument prototype would still apply. */
10256 char XRenderQueryExtension ();
10260 return XRenderQueryExtension ();
10265 if ac_fn_c_try_link
"$LINENO"; then :
10267 dll
) ac_cv_lib_soname_Xrender
=`$ac_cv_path_LDD conftest.exe | grep "Xrender" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10268 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'` ;;
10269 *) ac_cv_lib_soname_Xrender
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXrender\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXrender\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10270 if ${ac_cv_lib_soname_Xrender:+false} :; then :
10271 ac_cv_lib_soname_Xrender
=`$LDD conftest$ac_exeext | grep "libXrender\\.$LIBEXT" | sed -e "s/^.*\(libXrender\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10275 rm -f core conftest.err conftest.
$ac_objext \
10276 conftest
$ac_exeext conftest.
$ac_ext
10277 LIBS
=$ac_check_soname_save_LIBS
10279 if ${ac_cv_lib_soname_Xrender:+false} :; then :
10280 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10281 $as_echo "not found" >&6; }
10284 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xrender" >&5
10285 $as_echo "$ac_cv_lib_soname_Xrender" >&6; }
10287 cat >>confdefs.h
<<_ACEOF
10288 #define SONAME_LIBXRENDER "$ac_cv_lib_soname_Xrender"
10291 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XRenderSetPictureTransform in -lXrender" >&5
10292 $as_echo_n "checking for XRenderSetPictureTransform in -lXrender... " >&6; }
10293 if ${ac_cv_lib_Xrender_XRenderSetPictureTransform+:} false
; then :
10294 $as_echo_n "(cached) " >&6
10296 ac_check_lib_save_LIBS
=$LIBS
10297 LIBS
="-lXrender $X_LIBS $X_EXTRA_LIBS $LIBS"
10298 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10299 /* end confdefs.h. */
10301 /* Override any GCC internal prototype to avoid an error.
10302 Use char because int might match the return type of a GCC
10303 builtin and then its argument prototype would still apply. */
10307 char XRenderSetPictureTransform ();
10311 return XRenderSetPictureTransform ();
10316 if ac_fn_c_try_link
"$LINENO"; then :
10317 ac_cv_lib_Xrender_XRenderSetPictureTransform
=yes
10319 ac_cv_lib_Xrender_XRenderSetPictureTransform
=no
10321 rm -f core conftest.err conftest.
$ac_objext \
10322 conftest
$ac_exeext conftest.
$ac_ext
10323 LIBS
=$ac_check_lib_save_LIBS
10325 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xrender_XRenderSetPictureTransform" >&5
10326 $as_echo "$ac_cv_lib_Xrender_XRenderSetPictureTransform" >&6; }
10327 if test "x$ac_cv_lib_Xrender_XRenderSetPictureTransform" = xyes
; then :
10329 $as_echo "#define HAVE_XRENDERSETPICTURETRANSFORM 1" >>confdefs.h
10333 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XRenderCreateLinearGradient in -lXrender" >&5
10334 $as_echo_n "checking for XRenderCreateLinearGradient in -lXrender... " >&6; }
10335 if ${ac_cv_lib_Xrender_XRenderCreateLinearGradient+:} false
; then :
10336 $as_echo_n "(cached) " >&6
10338 ac_check_lib_save_LIBS
=$LIBS
10339 LIBS
="-lXrender $X_LIBS $X_EXTRA_LIBS $LIBS"
10340 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10341 /* end confdefs.h. */
10343 /* Override any GCC internal prototype to avoid an error.
10344 Use char because int might match the return type of a GCC
10345 builtin and then its argument prototype would still apply. */
10349 char XRenderCreateLinearGradient ();
10353 return XRenderCreateLinearGradient ();
10358 if ac_fn_c_try_link
"$LINENO"; then :
10359 ac_cv_lib_Xrender_XRenderCreateLinearGradient
=yes
10361 ac_cv_lib_Xrender_XRenderCreateLinearGradient
=no
10363 rm -f core conftest.err conftest.
$ac_objext \
10364 conftest
$ac_exeext conftest.
$ac_ext
10365 LIBS
=$ac_check_lib_save_LIBS
10367 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xrender_XRenderCreateLinearGradient" >&5
10368 $as_echo "$ac_cv_lib_Xrender_XRenderCreateLinearGradient" >&6; }
10369 if test "x$ac_cv_lib_Xrender_XRenderCreateLinearGradient" = xyes
; then :
10371 $as_echo "#define HAVE_XRENDERCREATELINEARGRADIENT 1" >>confdefs.h
10378 if test "x$ac_cv_lib_soname_Xrender" = "x"; then :
10379 case "x$with_xrender" in
10380 x
) as_fn_append wine_warnings
"|libxrender ${notice_platform}development files not found, XRender won't be supported." ;;
10382 *) as_fn_error $?
"libxrender ${notice_platform}development files not found, XRender won't be supported.
10383 This is an error since --with-xrender was requested." "$LINENO" 5 ;;
10388 if test "$ac_cv_header_X11_extensions_Xrandr_h" = "yes" -a "x$ac_cv_lib_soname_Xrender" != "x"
10390 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10391 /* end confdefs.h. */
10392 #include <X11/Xlib.h>
10393 #include <X11/extensions/Xrandr.h>
10397 static typeof(XRRSetScreenConfigAndRate) * func; if (func) return 0;
10402 if ac_fn_c_try_compile
"$LINENO"; then :
10403 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXrandr" >&5
10404 $as_echo_n "checking for -lXrandr... " >&6; }
10405 if ${ac_cv_lib_soname_Xrandr+:} false
; then :
10406 $as_echo_n "(cached) " >&6
10408 ac_check_soname_save_LIBS
=$LIBS
10409 LIBS
="-lXrandr $X_LIBS $X_EXTRA_LIBS $LIBS"
10410 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10411 /* end confdefs.h. */
10413 /* Override any GCC internal prototype to avoid an error.
10414 Use char because int might match the return type of a GCC
10415 builtin and then its argument prototype would still apply. */
10419 char XRRQueryExtension ();
10423 return XRRQueryExtension ();
10428 if ac_fn_c_try_link
"$LINENO"; then :
10430 dll
) ac_cv_lib_soname_Xrandr
=`$ac_cv_path_LDD conftest.exe | grep "Xrandr" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10431 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'` ;;
10432 *) ac_cv_lib_soname_Xrandr
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXrandr\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXrandr\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10433 if ${ac_cv_lib_soname_Xrandr:+false} :; then :
10434 ac_cv_lib_soname_Xrandr
=`$LDD conftest$ac_exeext | grep "libXrandr\\.$LIBEXT" | sed -e "s/^.*\(libXrandr\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10438 rm -f core conftest.err conftest.
$ac_objext \
10439 conftest
$ac_exeext conftest.
$ac_ext
10440 LIBS
=$ac_check_soname_save_LIBS
10442 if ${ac_cv_lib_soname_Xrandr:+false} :; then :
10443 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10444 $as_echo "not found" >&6; }
10447 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xrandr" >&5
10448 $as_echo "$ac_cv_lib_soname_Xrandr" >&6; }
10450 cat >>confdefs.h
<<_ACEOF
10451 #define SONAME_LIBXRANDR "$ac_cv_lib_soname_Xrandr"
10454 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10455 /* end confdefs.h. */
10456 #include <X11/Xlib.h>
10457 #include <X11/extensions/Xrandr.h>
10461 static typeof(XRRGetScreenResources) *f; if (f) return 0;
10466 if ac_fn_c_try_compile
"$LINENO"; then :
10468 $as_echo "#define HAVE_XRRGETSCREENRESOURCES 1" >>confdefs.h
10471 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
10474 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
10476 if test "x$ac_cv_lib_soname_Xrandr" = "x"; then :
10477 case "x$with_xrandr" in
10478 x
) as_fn_append wine_notices
"|libxrandr ${notice_platform}development files not found, XRandr won't be supported." ;;
10480 *) as_fn_error $?
"libxrandr ${notice_platform}development files not found, XRandr won't be supported.
10481 This is an error since --with-xrandr was requested." "$LINENO" 5 ;;
10486 if test "$ac_cv_header_X11_extensions_Xinerama_h" = "yes"
10488 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10489 /* end confdefs.h. */
10490 #include <X11/Xlib.h>
10491 #include <X11/extensions/Xinerama.h>
10495 static typeof(XineramaQueryScreens) * func; if (func) return 0;
10500 if ac_fn_c_try_compile
"$LINENO"; then :
10501 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXinerama" >&5
10502 $as_echo_n "checking for -lXinerama... " >&6; }
10503 if ${ac_cv_lib_soname_Xinerama+:} false
; then :
10504 $as_echo_n "(cached) " >&6
10506 ac_check_soname_save_LIBS
=$LIBS
10507 LIBS
="-lXinerama $X_LIBS $X_EXTRA_LIBS $LIBS"
10508 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10509 /* end confdefs.h. */
10511 /* Override any GCC internal prototype to avoid an error.
10512 Use char because int might match the return type of a GCC
10513 builtin and then its argument prototype would still apply. */
10517 char XineramaQueryScreens ();
10521 return XineramaQueryScreens ();
10526 if ac_fn_c_try_link
"$LINENO"; then :
10528 dll
) ac_cv_lib_soname_Xinerama
=`$ac_cv_path_LDD conftest.exe | grep "Xinerama" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10529 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'` ;;
10530 *) ac_cv_lib_soname_Xinerama
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXinerama\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXinerama\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10531 if ${ac_cv_lib_soname_Xinerama:+false} :; then :
10532 ac_cv_lib_soname_Xinerama
=`$LDD conftest$ac_exeext | grep "libXinerama\\.$LIBEXT" | sed -e "s/^.*\(libXinerama\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10536 rm -f core conftest.err conftest.
$ac_objext \
10537 conftest
$ac_exeext conftest.
$ac_ext
10538 LIBS
=$ac_check_soname_save_LIBS
10540 if ${ac_cv_lib_soname_Xinerama:+false} :; then :
10541 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10542 $as_echo "not found" >&6; }
10545 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xinerama" >&5
10546 $as_echo "$ac_cv_lib_soname_Xinerama" >&6; }
10548 cat >>confdefs.h
<<_ACEOF
10549 #define SONAME_LIBXINERAMA "$ac_cv_lib_soname_Xinerama"
10555 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
10557 if test "x$ac_cv_lib_soname_Xinerama" = "x"; then :
10558 case "x$with_xinerama" in
10559 x
) as_fn_append wine_notices
"|libxinerama ${notice_platform}development files not found, multi-monitor setups won't be supported." ;;
10561 *) as_fn_error $?
"libxinerama ${notice_platform}development files not found, multi-monitor setups won't be supported.
10562 This is an error since --with-xinerama was requested." "$LINENO" 5 ;;
10567 if test "$ac_cv_header_X11_extensions_Xcomposite_h" = "yes"
10569 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXcomposite" >&5
10570 $as_echo_n "checking for -lXcomposite... " >&6; }
10571 if ${ac_cv_lib_soname_Xcomposite+:} false
; then :
10572 $as_echo_n "(cached) " >&6
10574 ac_check_soname_save_LIBS
=$LIBS
10575 LIBS
="-lXcomposite $X_LIBS $X_EXTRA_LIBS $LIBS"
10576 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10577 /* end confdefs.h. */
10579 /* Override any GCC internal prototype to avoid an error.
10580 Use char because int might match the return type of a GCC
10581 builtin and then its argument prototype would still apply. */
10585 char XCompositeRedirectWindow ();
10589 return XCompositeRedirectWindow ();
10594 if ac_fn_c_try_link
"$LINENO"; then :
10596 dll
) ac_cv_lib_soname_Xcomposite
=`$ac_cv_path_LDD conftest.exe | grep "Xcomposite" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10597 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'` ;;
10598 *) ac_cv_lib_soname_Xcomposite
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXcomposite\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXcomposite\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10599 if ${ac_cv_lib_soname_Xcomposite:+false} :; then :
10600 ac_cv_lib_soname_Xcomposite
=`$LDD conftest$ac_exeext | grep "libXcomposite\\.$LIBEXT" | sed -e "s/^.*\(libXcomposite\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10604 rm -f core conftest.err conftest.
$ac_objext \
10605 conftest
$ac_exeext conftest.
$ac_ext
10606 LIBS
=$ac_check_soname_save_LIBS
10608 if ${ac_cv_lib_soname_Xcomposite:+false} :; then :
10609 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10610 $as_echo "not found" >&6; }
10613 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xcomposite" >&5
10614 $as_echo "$ac_cv_lib_soname_Xcomposite" >&6; }
10616 cat >>confdefs.h
<<_ACEOF
10617 #define SONAME_LIBXCOMPOSITE "$ac_cv_lib_soname_Xcomposite"
10623 if test "x$ac_cv_lib_soname_Xcomposite" = "x"; then :
10624 case "x$with_xcomposite" in
10625 x
) as_fn_append wine_notices
"|libxcomposite ${notice_platform}development files not found, Xcomposite won't be supported." ;;
10627 *) as_fn_error $?
"libxcomposite ${notice_platform}development files not found, Xcomposite won't be supported.
10628 This is an error since --with-xcomposite was requested." "$LINENO" 5 ;;
10633 ac_fn_c_check_member
"$LINENO" "XICCallback" "callback" "ac_cv_member_XICCallback_callback" "#ifdef HAVE_X11_XLIB_H
10634 #include <X11/Xlib.h>
10637 if test "x$ac_cv_member_XICCallback_callback" = xyes
; then :
10639 cat >>confdefs.h
<<_ACEOF
10640 #define HAVE_XICCALLBACK_CALLBACK 1
10645 ac_fn_c_check_member
"$LINENO" "XEvent" "xcookie" "ac_cv_member_XEvent_xcookie" "#ifdef HAVE_X11_XLIB_H
10646 #include <X11/Xlib.h>
10649 if test "x$ac_cv_member_XEvent_xcookie" = xyes
; then :
10651 cat >>confdefs.h
<<_ACEOF
10652 #define HAVE_XEVENT_XCOOKIE 1
10661 if test "x$with_opengl" != "xno"
10663 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lGL" >&5
10664 $as_echo_n "checking for -lGL... " >&6; }
10665 if ${ac_cv_lib_soname_GL+:} false
; then :
10666 $as_echo_n "(cached) " >&6
10668 ac_check_soname_save_LIBS
=$LIBS
10669 LIBS
="-lGL $X_LIBS -lm $X_EXTRA_LIBS $LIBS"
10670 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10671 /* end confdefs.h. */
10673 /* Override any GCC internal prototype to avoid an error.
10674 Use char because int might match the return type of a GCC
10675 builtin and then its argument prototype would still apply. */
10679 char glXCreateContext ();
10683 return glXCreateContext ();
10688 if ac_fn_c_try_link
"$LINENO"; then :
10690 dll
) ac_cv_lib_soname_GL
=`$ac_cv_path_LDD conftest.exe | grep "GL" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10691 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'` ;;
10692 *) ac_cv_lib_soname_GL
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libGL\\.$LIBEXT" | sed -e "s/^.*\\[\\(libGL\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10693 if ${ac_cv_lib_soname_GL:+false} :; then :
10694 ac_cv_lib_soname_GL
=`$LDD conftest$ac_exeext | grep "libGL\\.$LIBEXT" | sed -e "s/^.*\(libGL\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10698 rm -f core conftest.err conftest.
$ac_objext \
10699 conftest
$ac_exeext conftest.
$ac_ext
10700 LIBS
=$ac_check_soname_save_LIBS
10702 if ${ac_cv_lib_soname_GL:+false} :; then :
10703 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10704 $as_echo "not found" >&6; }
10705 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lGL" >&5
10706 $as_echo_n "checking for -lGL... " >&6; }
10707 if ${ac_cv_lib_soname_GL+:} false
; then :
10708 $as_echo_n "(cached) " >&6
10710 ac_check_soname_save_LIBS
=$LIBS
10711 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"
10712 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10713 /* end confdefs.h. */
10715 /* Override any GCC internal prototype to avoid an error.
10716 Use char because int might match the return type of a GCC
10717 builtin and then its argument prototype would still apply. */
10721 char glXCreateContext ();
10725 return glXCreateContext ();
10730 if ac_fn_c_try_link
"$LINENO"; then :
10732 dll
) ac_cv_lib_soname_GL
=`$ac_cv_path_LDD conftest.exe | grep "GL" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10733 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'` ;;
10734 *) ac_cv_lib_soname_GL
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libGL\\.$LIBEXT" | sed -e "s/^.*\\[\\(libGL\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10735 if ${ac_cv_lib_soname_GL:+false} :; then :
10736 ac_cv_lib_soname_GL
=`$LDD conftest$ac_exeext | grep "libGL\\.$LIBEXT" | sed -e "s/^.*\(libGL\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10740 rm -f core conftest.err conftest.
$ac_objext \
10741 conftest
$ac_exeext conftest.
$ac_ext
10742 LIBS
=$ac_check_soname_save_LIBS
10744 if ${ac_cv_lib_soname_GL:+false} :; then :
10745 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10746 $as_echo "not found" >&6; }
10747 if test -f /usr
/X11R
6/lib
/libGL.a
10749 opengl_msg
="/usr/X11R6/lib/libGL.a is present on your system.
10750 This probably prevents linking to OpenGL. Try deleting the file and restarting configure."
10752 opengl_msg
="No OpenGL library found on this system."
10755 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_GL" >&5
10756 $as_echo "$ac_cv_lib_soname_GL" >&6; }
10758 cat >>confdefs.h
<<_ACEOF
10759 #define SONAME_LIBGL "$ac_cv_lib_soname_GL"
10762 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"
10765 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_GL" >&5
10766 $as_echo "$ac_cv_lib_soname_GL" >&6; }
10768 cat >>confdefs.h
<<_ACEOF
10769 #define SONAME_LIBGL "$ac_cv_lib_soname_GL"
10774 if test "x$with_glu" != "xno"
10776 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gluLookAt in -lGLU" >&5
10777 $as_echo_n "checking for gluLookAt in -lGLU... " >&6; }
10778 if ${ac_cv_lib_GLU_gluLookAt+:} false
; then :
10779 $as_echo_n "(cached) " >&6
10781 ac_check_lib_save_LIBS
=$LIBS
10782 LIBS
="-lGLU $OPENGL_LIBS $X_LIBS -lm $X_EXTRA_LIBS $LIBS"
10783 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10784 /* end confdefs.h. */
10786 /* Override any GCC internal prototype to avoid an error.
10787 Use char because int might match the return type of a GCC
10788 builtin and then its argument prototype would still apply. */
10796 return gluLookAt ();
10801 if ac_fn_c_try_link
"$LINENO"; then :
10802 ac_cv_lib_GLU_gluLookAt
=yes
10804 ac_cv_lib_GLU_gluLookAt
=no
10806 rm -f core conftest.err conftest.
$ac_objext \
10807 conftest
$ac_exeext conftest.
$ac_ext
10808 LIBS
=$ac_check_lib_save_LIBS
10810 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_GLU_gluLookAt" >&5
10811 $as_echo "$ac_cv_lib_GLU_gluLookAt" >&6; }
10812 if test "x$ac_cv_lib_GLU_gluLookAt" = xyes
; then :
10816 if test "x$ac_cv_lib_GLU_gluLookAt" != xyes
; then :
10817 case "x$with_glu" in
10818 x
) as_fn_append wine_notices
"|libGLU ${notice_platform}development files not found, GLU won't be supported." ;;
10820 *) as_fn_error $?
"libGLU ${notice_platform}development files not found, GLU won't be supported.
10821 This is an error since --with-glu was requested." "$LINENO" 5 ;;
10827 if test "x$with_osmesa" != "xno"
10829 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lOSMesa" >&5
10830 $as_echo_n "checking for -lOSMesa... " >&6; }
10831 if ${ac_cv_lib_soname_OSMesa+:} false
; then :
10832 $as_echo_n "(cached) " >&6
10834 ac_check_soname_save_LIBS
=$LIBS
10835 LIBS
="-lOSMesa $X_LIBS -lm $X_EXTRA_LIBS $LIBS"
10836 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10837 /* end confdefs.h. */
10839 /* Override any GCC internal prototype to avoid an error.
10840 Use char because int might match the return type of a GCC
10841 builtin and then its argument prototype would still apply. */
10854 if ac_fn_c_try_link
"$LINENO"; then :
10856 dll
) ac_cv_lib_soname_OSMesa
=`$ac_cv_path_LDD conftest.exe | grep "OSMesa" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10857 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'` ;;
10858 *) ac_cv_lib_soname_OSMesa
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libOSMesa\\.$LIBEXT" | sed -e "s/^.*\\[\\(libOSMesa\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10859 if ${ac_cv_lib_soname_OSMesa:+false} :; then :
10860 ac_cv_lib_soname_OSMesa
=`$LDD conftest$ac_exeext | grep "libOSMesa\\.$LIBEXT" | sed -e "s/^.*\(libOSMesa\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10864 rm -f core conftest.err conftest.
$ac_objext \
10865 conftest
$ac_exeext conftest.
$ac_ext
10866 LIBS
=$ac_check_soname_save_LIBS
10868 if ${ac_cv_lib_soname_OSMesa:+false} :; then :
10869 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10870 $as_echo "not found" >&6; }
10873 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_OSMesa" >&5
10874 $as_echo "$ac_cv_lib_soname_OSMesa" >&6; }
10876 cat >>confdefs.h
<<_ACEOF
10877 #define SONAME_LIBOSMESA "$ac_cv_lib_soname_OSMesa"
10882 if test "x$ac_cv_lib_soname_OSMesa" = "x"; then :
10883 case "x$with_osmesa" in
10884 x
) as_fn_append wine_notices
"|libOSMesa ${notice_platform}development files not found (or too old), OpenGL rendering in bitmaps won't be supported." ;;
10886 *) as_fn_error $?
"libOSMesa ${notice_platform}development files not found (or too old), OpenGL rendering in bitmaps won't be supported.
10887 This is an error since --with-osmesa was requested." "$LINENO" 5 ;;
10893 if test -n "$opengl_msg"; then :
10894 case "x$with_opengl" in
10895 x
) as_fn_append wine_warnings
"|$opengl_msg
10896 OpenGL and Direct3D won't be supported." ;;
10898 *) as_fn_error $?
"$opengl_msg
10899 OpenGL and Direct3D won't be supported.
10900 This is an error since --with-opengl was requested." "$LINENO" 5 ;;
10905 CPPFLAGS
="$ac_save_CPPFLAGS"
10910 if test "x$X_LIBS" = "x"; then :
10913 *) as_fn_error $?
"X ${notice_platform}development files not found. Wine will be built
10914 without X support, which probably isn't what you want. You will need
10915 to install ${notice_platform}development packages of Xlib/Xfree86 at the very least.
10916 Use the --without-x option if you really want this." "$LINENO" 5 ;;
10918 enable_winex11_drv
=${enable_winex11_drv:-no}
10921 test "x$ac_cv_lib_GLU_gluLookAt" != xyes
&& enable_glu32
=${enable_glu32:-no}
10923 if test "$ac_cv_header_CL_cl_h" = "yes"
10925 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for clGetPlatformInfo in -lOpenCL" >&5
10926 $as_echo_n "checking for clGetPlatformInfo in -lOpenCL... " >&6; }
10927 if ${ac_cv_lib_OpenCL_clGetPlatformInfo+:} false
; then :
10928 $as_echo_n "(cached) " >&6
10930 ac_check_lib_save_LIBS
=$LIBS
10931 LIBS
="-lOpenCL $LIBS"
10932 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10933 /* end confdefs.h. */
10935 /* Override any GCC internal prototype to avoid an error.
10936 Use char because int might match the return type of a GCC
10937 builtin and then its argument prototype would still apply. */
10941 char clGetPlatformInfo ();
10945 return clGetPlatformInfo ();
10950 if ac_fn_c_try_link
"$LINENO"; then :
10951 ac_cv_lib_OpenCL_clGetPlatformInfo
=yes
10953 ac_cv_lib_OpenCL_clGetPlatformInfo
=no
10955 rm -f core conftest.err conftest.
$ac_objext \
10956 conftest
$ac_exeext conftest.
$ac_ext
10957 LIBS
=$ac_check_lib_save_LIBS
10959 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_OpenCL_clGetPlatformInfo" >&5
10960 $as_echo "$ac_cv_lib_OpenCL_clGetPlatformInfo" >&6; }
10961 if test "x$ac_cv_lib_OpenCL_clGetPlatformInfo" = xyes
; then :
10962 OPENCL_LIBS
="-lOpenCL"
10967 if test "x$ac_cv_lib_OpenCL_clGetPlatformInfo" != xyes
; then :
10968 case "x$with_opencl" in
10969 x
) as_fn_append wine_notices
"|OpenCL ${notice_platform}development files not found, OpenCL won't be supported." ;;
10971 *) as_fn_error $?
"OpenCL ${notice_platform}development files not found, OpenCL won't be supported.
10972 This is an error since --with-opencl was requested." "$LINENO" 5 ;;
10974 enable_opencl
=${enable_opencl:-no}
10977 if test "$ac_cv_header_pcap_pcap_h" = "yes"
10979 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pcap_create in -lpcap" >&5
10980 $as_echo_n "checking for pcap_create in -lpcap... " >&6; }
10981 if ${ac_cv_lib_pcap_pcap_create+:} false
; then :
10982 $as_echo_n "(cached) " >&6
10984 ac_check_lib_save_LIBS
=$LIBS
10985 LIBS
="-lpcap $LIBS"
10986 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10987 /* end confdefs.h. */
10989 /* Override any GCC internal prototype to avoid an error.
10990 Use char because int might match the return type of a GCC
10991 builtin and then its argument prototype would still apply. */
10995 char pcap_create ();
10999 return pcap_create ();
11004 if ac_fn_c_try_link
"$LINENO"; then :
11005 ac_cv_lib_pcap_pcap_create
=yes
11007 ac_cv_lib_pcap_pcap_create
=no
11009 rm -f core conftest.err conftest.
$ac_objext \
11010 conftest
$ac_exeext conftest.
$ac_ext
11011 LIBS
=$ac_check_lib_save_LIBS
11013 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_pcap_pcap_create" >&5
11014 $as_echo "$ac_cv_lib_pcap_pcap_create" >&6; }
11015 if test "x$ac_cv_lib_pcap_pcap_create" = xyes
; then :
11021 if test "x$ac_cv_lib_pcap_pcap_create" != xyes
; then :
11022 case "x$with_pcap" in
11023 x
) as_fn_append wine_notices
"|pcap ${notice_platform}development files not found, wpcap won't be supported." ;;
11025 *) as_fn_error $?
"pcap ${notice_platform}development files not found, wpcap won't be supported.
11026 This is an error since --with-pcap was requested." "$LINENO" 5 ;;
11028 enable_wpcap
=${enable_wpcap:-no}
11032 if test "x$with_xml" != "xno"
11034 if ${XML2_CFLAGS:+false} :; then :
11035 if ${PKG_CONFIG+:} false
; then :
11036 XML2_CFLAGS
=`$PKG_CONFIG --cflags libxml-2.0 2>/dev/null`
11039 test "$cross_compiling" = yes || XML2_CFLAGS
=${XML2_CFLAGS:-`${XML2_CONFIG:-xml2-config} --cflags 2>/dev/null`}
11040 if ${XML2_LIBS:+false} :; then :
11041 if ${PKG_CONFIG+:} false
; then :
11042 XML2_LIBS
=`$PKG_CONFIG --libs libxml-2.0 2>/dev/null`
11045 test "$cross_compiling" = yes || XML2_LIBS
=${XML2_LIBS:-`${XML2_CONFIG:-xml2-config} --libs 2>/dev/null`}
11046 XML2_LIBS
=${XML2_LIBS:-"-lxml2"}
11047 $as_echo "$as_me:${as_lineno-$LINENO}: libxml-2.0 cflags: $XML2_CFLAGS" >&5
11048 $as_echo "$as_me:${as_lineno-$LINENO}: libxml-2.0 libs: $XML2_LIBS" >&5
11049 ac_save_CPPFLAGS
=$CPPFLAGS
11050 CPPFLAGS
="$CPPFLAGS $XML2_CFLAGS"
11051 for ac_header
in libxml
/parser.h libxml
/xmlsave.h libxml
/SAX2.h
11053 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
11054 ac_fn_c_check_header_mongrel
"$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
11055 if eval test \"x\$
"$as_ac_Header"\" = x
"yes"; then :
11056 cat >>confdefs.h
<<_ACEOF
11057 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
11064 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"
11066 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlParseMemory in -lxml2" >&5
11067 $as_echo_n "checking for xmlParseMemory in -lxml2... " >&6; }
11068 if ${ac_cv_lib_xml2_xmlParseMemory+:} false
; then :
11069 $as_echo_n "(cached) " >&6
11071 ac_check_lib_save_LIBS
=$LIBS
11072 LIBS
="-lxml2 $XML2_LIBS $LIBS"
11073 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11074 /* end confdefs.h. */
11076 /* Override any GCC internal prototype to avoid an error.
11077 Use char because int might match the return type of a GCC
11078 builtin and then its argument prototype would still apply. */
11082 char xmlParseMemory ();
11086 return xmlParseMemory ();
11091 if ac_fn_c_try_link
"$LINENO"; then :
11092 ac_cv_lib_xml2_xmlParseMemory
=yes
11094 ac_cv_lib_xml2_xmlParseMemory
=no
11096 rm -f core conftest.err conftest.
$ac_objext \
11097 conftest
$ac_exeext conftest.
$ac_ext
11098 LIBS
=$ac_check_lib_save_LIBS
11100 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlParseMemory" >&5
11101 $as_echo "$ac_cv_lib_xml2_xmlParseMemory" >&6; }
11102 if test "x$ac_cv_lib_xml2_xmlParseMemory" = xyes
; then :
11104 $as_echo "#define HAVE_LIBXML2 1" >>confdefs.h
11110 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlReadMemory in -lxml2" >&5
11111 $as_echo_n "checking for xmlReadMemory in -lxml2... " >&6; }
11112 if ${ac_cv_lib_xml2_xmlReadMemory+:} false
; then :
11113 $as_echo_n "(cached) " >&6
11115 ac_check_lib_save_LIBS
=$LIBS
11116 LIBS
="-lxml2 $XML2_LIBS $LIBS"
11117 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11118 /* end confdefs.h. */
11120 /* Override any GCC internal prototype to avoid an error.
11121 Use char because int might match the return type of a GCC
11122 builtin and then its argument prototype would still apply. */
11126 char xmlReadMemory ();
11130 return xmlReadMemory ();
11135 if ac_fn_c_try_link
"$LINENO"; then :
11136 ac_cv_lib_xml2_xmlReadMemory
=yes
11138 ac_cv_lib_xml2_xmlReadMemory
=no
11140 rm -f core conftest.err conftest.
$ac_objext \
11141 conftest
$ac_exeext conftest.
$ac_ext
11142 LIBS
=$ac_check_lib_save_LIBS
11144 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlReadMemory" >&5
11145 $as_echo "$ac_cv_lib_xml2_xmlReadMemory" >&6; }
11146 if test "x$ac_cv_lib_xml2_xmlReadMemory" = xyes
; then :
11148 $as_echo "#define HAVE_XMLREADMEMORY 1" >>confdefs.h
11152 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlNewDocPI in -lxml2" >&5
11153 $as_echo_n "checking for xmlNewDocPI in -lxml2... " >&6; }
11154 if ${ac_cv_lib_xml2_xmlNewDocPI+:} false
; then :
11155 $as_echo_n "(cached) " >&6
11157 ac_check_lib_save_LIBS
=$LIBS
11158 LIBS
="-lxml2 $XML2_LIBS $LIBS"
11159 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11160 /* end confdefs.h. */
11162 /* Override any GCC internal prototype to avoid an error.
11163 Use char because int might match the return type of a GCC
11164 builtin and then its argument prototype would still apply. */
11168 char xmlNewDocPI ();
11172 return xmlNewDocPI ();
11177 if ac_fn_c_try_link
"$LINENO"; then :
11178 ac_cv_lib_xml2_xmlNewDocPI
=yes
11180 ac_cv_lib_xml2_xmlNewDocPI
=no
11182 rm -f core conftest.err conftest.
$ac_objext \
11183 conftest
$ac_exeext conftest.
$ac_ext
11184 LIBS
=$ac_check_lib_save_LIBS
11186 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlNewDocPI" >&5
11187 $as_echo "$ac_cv_lib_xml2_xmlNewDocPI" >&6; }
11188 if test "x$ac_cv_lib_xml2_xmlNewDocPI" = xyes
; then :
11190 $as_echo "#define HAVE_XMLNEWDOCPI 1" >>confdefs.h
11194 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlSchemaSetParserStructuredErrors in -lxml2" >&5
11195 $as_echo_n "checking for xmlSchemaSetParserStructuredErrors in -lxml2... " >&6; }
11196 if ${ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors+:} false
; then :
11197 $as_echo_n "(cached) " >&6
11199 ac_check_lib_save_LIBS
=$LIBS
11200 LIBS
="-lxml2 $XML2_LIBS $LIBS"
11201 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11202 /* end confdefs.h. */
11204 /* Override any GCC internal prototype to avoid an error.
11205 Use char because int might match the return type of a GCC
11206 builtin and then its argument prototype would still apply. */
11210 char xmlSchemaSetParserStructuredErrors ();
11214 return xmlSchemaSetParserStructuredErrors ();
11219 if ac_fn_c_try_link
"$LINENO"; then :
11220 ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors
=yes
11222 ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors
=no
11224 rm -f core conftest.err conftest.
$ac_objext \
11225 conftest
$ac_exeext conftest.
$ac_ext
11226 LIBS
=$ac_check_lib_save_LIBS
11228 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors" >&5
11229 $as_echo "$ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors" >&6; }
11230 if test "x$ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors" = xyes
; then :
11232 $as_echo "#define HAVE_XMLSCHEMASSETPARSERSTRUCTUREDERRORS 1" >>confdefs.h
11236 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlSchemaSetValidStructuredErrors in -lxml2" >&5
11237 $as_echo_n "checking for xmlSchemaSetValidStructuredErrors in -lxml2... " >&6; }
11238 if ${ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors+:} false
; then :
11239 $as_echo_n "(cached) " >&6
11241 ac_check_lib_save_LIBS
=$LIBS
11242 LIBS
="-lxml2 $XML2_LIBS $LIBS"
11243 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11244 /* end confdefs.h. */
11246 /* Override any GCC internal prototype to avoid an error.
11247 Use char because int might match the return type of a GCC
11248 builtin and then its argument prototype would still apply. */
11252 char xmlSchemaSetValidStructuredErrors ();
11256 return xmlSchemaSetValidStructuredErrors ();
11261 if ac_fn_c_try_link
"$LINENO"; then :
11262 ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors
=yes
11264 ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors
=no
11266 rm -f core conftest.err conftest.
$ac_objext \
11267 conftest
$ac_exeext conftest.
$ac_ext
11268 LIBS
=$ac_check_lib_save_LIBS
11270 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors" >&5
11271 $as_echo "$ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors" >&6; }
11272 if test "x$ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors" = xyes
; then :
11274 $as_echo "#define HAVE_XMLSCHEMASSETVALIDSTRUCTUREDERRORS 1" >>confdefs.h
11278 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlFirstElementChild in -lxml2" >&5
11279 $as_echo_n "checking for xmlFirstElementChild in -lxml2... " >&6; }
11280 if ${ac_cv_lib_xml2_xmlFirstElementChild+:} false
; then :
11281 $as_echo_n "(cached) " >&6
11283 ac_check_lib_save_LIBS
=$LIBS
11284 LIBS
="-lxml2 $XML2_LIBS $LIBS"
11285 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11286 /* end confdefs.h. */
11288 /* Override any GCC internal prototype to avoid an error.
11289 Use char because int might match the return type of a GCC
11290 builtin and then its argument prototype would still apply. */
11294 char xmlFirstElementChild ();
11298 return xmlFirstElementChild ();
11303 if ac_fn_c_try_link
"$LINENO"; then :
11304 ac_cv_lib_xml2_xmlFirstElementChild
=yes
11306 ac_cv_lib_xml2_xmlFirstElementChild
=no
11308 rm -f core conftest.err conftest.
$ac_objext \
11309 conftest
$ac_exeext conftest.
$ac_ext
11310 LIBS
=$ac_check_lib_save_LIBS
11312 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlFirstElementChild" >&5
11313 $as_echo "$ac_cv_lib_xml2_xmlFirstElementChild" >&6; }
11314 if test "x$ac_cv_lib_xml2_xmlFirstElementChild" = xyes
; then :
11316 $as_echo "#define HAVE_XMLFIRSTELEMENTCHILD 1" >>confdefs.h
11320 ac_fn_c_check_type
"$LINENO" "xmlDocProperties" "ac_cv_type_xmlDocProperties" "#include <libxml/tree.h>
11322 if test "x$ac_cv_type_xmlDocProperties" = xyes
; then :
11324 $as_echo "#define HAVE_XMLDOC_PROPERTIES 1" >>confdefs.h
11332 CPPFLAGS
=$ac_save_CPPFLAGS
11333 test -z "$XML2_CFLAGS" || XML2_CFLAGS
=`echo " $XML2_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
11334 test -z "$XML2_LIBS" || XML2_LIBS
=`echo " $XML2_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
11337 if test "$ac_cv_lib_xml2_xmlParseMemory" != "yes"; then :
11338 case "x$with_xml" in
11339 x
) as_fn_append wine_warnings
"|libxml2 ${notice_platform}development files not found (or too old), XML won't be supported." ;;
11341 *) as_fn_error $?
"libxml2 ${notice_platform}development files not found (or too old), XML won't be supported.
11342 This is an error since --with-xml was requested." "$LINENO" 5 ;;
11347 if test "x$with_xslt" != "xno"
11349 if ${XSLT_CFLAGS:+false} :; then :
11350 if ${PKG_CONFIG+:} false
; then :
11351 XSLT_CFLAGS
=`$PKG_CONFIG --cflags libxslt 2>/dev/null`
11354 test "$cross_compiling" = yes || XSLT_CFLAGS
=${XSLT_CFLAGS:-`${XSLT_CONFIG:-xslt-config} --cflags 2>/dev/null`}
11355 if ${XSLT_LIBS:+false} :; then :
11356 if ${PKG_CONFIG+:} false
; then :
11357 XSLT_LIBS
=`$PKG_CONFIG --libs libxslt 2>/dev/null`
11360 test "$cross_compiling" = yes || XSLT_LIBS
=${XSLT_LIBS:-`${XSLT_CONFIG:-xslt-config} --libs 2>/dev/null`}
11361 XSLT_LIBS
=${XSLT_LIBS:-"-lxml2"}
11362 $as_echo "$as_me:${as_lineno-$LINENO}: libxslt cflags: $XSLT_CFLAGS" >&5
11363 $as_echo "$as_me:${as_lineno-$LINENO}: libxslt libs: $XSLT_LIBS" >&5
11364 ac_save_CPPFLAGS
=$CPPFLAGS
11365 CPPFLAGS
="$CPPFLAGS $XSLT_CFLAGS"
11366 for ac_header
in libxslt
/pattern.h libxslt
/transform.h
11368 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
11369 ac_fn_c_check_header_compile
"$LINENO" "$ac_header" "$as_ac_Header" "#ifdef HAVE_LIBXSLT_PATTERN_H
11370 # include <libxslt/pattern.h>
11373 if eval test \"x\$
"$as_ac_Header"\" = x
"yes"; then :
11374 cat >>confdefs.h
<<_ACEOF
11375 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
11382 if test "$ac_cv_header_libxslt_transform_h" = "yes"
11384 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lxslt" >&5
11385 $as_echo_n "checking for -lxslt... " >&6; }
11386 if ${ac_cv_lib_soname_xslt+:} false
; then :
11387 $as_echo_n "(cached) " >&6
11389 ac_check_soname_save_LIBS
=$LIBS
11390 LIBS
="-lxslt $XSLT_LIBS $LIBS"
11391 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11392 /* end confdefs.h. */
11394 /* Override any GCC internal prototype to avoid an error.
11395 Use char because int might match the return type of a GCC
11396 builtin and then its argument prototype would still apply. */
11400 char xsltCompilePattern ();
11404 return xsltCompilePattern ();
11409 if ac_fn_c_try_link
"$LINENO"; then :
11411 dll
) ac_cv_lib_soname_xslt
=`$ac_cv_path_LDD conftest.exe | grep "xslt" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11412 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'` ;;
11413 *) ac_cv_lib_soname_xslt
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libxslt\\.$LIBEXT" | sed -e "s/^.*\\[\\(libxslt\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
11414 if ${ac_cv_lib_soname_xslt:+false} :; then :
11415 ac_cv_lib_soname_xslt
=`$LDD conftest$ac_exeext | grep "libxslt\\.$LIBEXT" | sed -e "s/^.*\(libxslt\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11419 rm -f core conftest.err conftest.
$ac_objext \
11420 conftest
$ac_exeext conftest.
$ac_ext
11421 LIBS
=$ac_check_soname_save_LIBS
11423 if ${ac_cv_lib_soname_xslt:+false} :; then :
11424 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11425 $as_echo "not found" >&6; }
11428 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_xslt" >&5
11429 $as_echo "$ac_cv_lib_soname_xslt" >&6; }
11431 cat >>confdefs.h
<<_ACEOF
11432 #define SONAME_LIBXSLT "$ac_cv_lib_soname_xslt"
11440 CPPFLAGS
=$ac_save_CPPFLAGS
11441 test -z "$XSLT_CFLAGS" || XSLT_CFLAGS
=`echo " $XSLT_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
11442 test -z "$XSLT_LIBS" || XSLT_LIBS
=`echo " $XSLT_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
11445 if test "x$ac_cv_lib_soname_xslt" = "x"; then :
11446 case "x$with_xslt" in
11447 x
) as_fn_append wine_warnings
"|libxslt ${notice_platform}development files not found, xslt won't be supported." ;;
11449 *) as_fn_error $?
"libxslt ${notice_platform}development files not found, xslt won't be supported.
11450 This is an error since --with-xslt was requested." "$LINENO" 5 ;;
11455 if test "x$with_dbus" != "xno"
11457 if ${DBUS_CFLAGS:+false} :; then :
11458 if ${PKG_CONFIG+:} false
; then :
11459 DBUS_CFLAGS
=`$PKG_CONFIG --cflags dbus-1 2>/dev/null`
11463 if ${DBUS_LIBS:+false} :; then :
11464 if ${PKG_CONFIG+:} false
; then :
11465 DBUS_LIBS
=`$PKG_CONFIG --libs dbus-1 2>/dev/null`
11470 $as_echo "$as_me:${as_lineno-$LINENO}: dbus-1 cflags: $DBUS_CFLAGS" >&5
11471 $as_echo "$as_me:${as_lineno-$LINENO}: dbus-1 libs: $DBUS_LIBS" >&5
11472 ac_save_CPPFLAGS
=$CPPFLAGS
11473 CPPFLAGS
="$CPPFLAGS $DBUS_CFLAGS"
11474 ac_fn_c_check_header_mongrel
"$LINENO" "dbus/dbus.h" "ac_cv_header_dbus_dbus_h" "$ac_includes_default"
11475 if test "x$ac_cv_header_dbus_dbus_h" = xyes
; then :
11476 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -ldbus-1" >&5
11477 $as_echo_n "checking for -ldbus-1... " >&6; }
11478 if ${ac_cv_lib_soname_dbus_1+:} false
; then :
11479 $as_echo_n "(cached) " >&6
11481 ac_check_soname_save_LIBS
=$LIBS
11482 LIBS
="-ldbus-1 $DBUS_LIBS $LIBS"
11483 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11484 /* end confdefs.h. */
11486 /* Override any GCC internal prototype to avoid an error.
11487 Use char because int might match the return type of a GCC
11488 builtin and then its argument prototype would still apply. */
11492 char dbus_connection_close ();
11496 return dbus_connection_close ();
11501 if ac_fn_c_try_link
"$LINENO"; then :
11503 dll
) ac_cv_lib_soname_dbus_1
=`$ac_cv_path_LDD conftest.exe | grep "dbus-1" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11504 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'` ;;
11505 *) 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'`
11506 if ${ac_cv_lib_soname_dbus_1:+false} :; then :
11507 ac_cv_lib_soname_dbus_1
=`$LDD conftest$ac_exeext | grep "libdbus-1\\.$LIBEXT" | sed -e "s/^.*\(libdbus-1\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11511 rm -f core conftest.err conftest.
$ac_objext \
11512 conftest
$ac_exeext conftest.
$ac_ext
11513 LIBS
=$ac_check_soname_save_LIBS
11515 if ${ac_cv_lib_soname_dbus_1:+false} :; then :
11516 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11517 $as_echo "not found" >&6; }
11520 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_dbus_1" >&5
11521 $as_echo "$ac_cv_lib_soname_dbus_1" >&6; }
11523 cat >>confdefs.h
<<_ACEOF
11524 #define SONAME_LIBDBUS_1 "$ac_cv_lib_soname_dbus_1"
11534 CPPFLAGS
=$ac_save_CPPFLAGS
11535 test -z "$DBUS_CFLAGS" || DBUS_CFLAGS
=`echo " $DBUS_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
11536 test -z "$DBUS_LIBS" || DBUS_LIBS
=`echo " $DBUS_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
11539 if test "x$ac_cv_lib_soname_dbus_1" = "x" -a \
11540 "x$ac_cv_header_DiskArbitration_DiskArbitration_h" != "xyes"; then :
11541 case "x$with_dbus" in
11542 x
) as_fn_append wine_notices
"|libdbus ${notice_platform}development files not found, no dynamic device support." ;;
11544 *) as_fn_error $?
"libdbus ${notice_platform}development files not found, no dynamic device support.
11545 This is an error since --with-dbus was requested." "$LINENO" 5 ;;
11550 if test "x$with_hal" != "xno" -a "x$ac_cv_lib_soname_dbus_1" != x
11552 if ${HAL_CFLAGS:+false} :; then :
11553 if ${PKG_CONFIG+:} false
; then :
11554 HAL_CFLAGS
=`$PKG_CONFIG --cflags hal 2>/dev/null`
11558 if ${HAL_LIBS:+false} :; then :
11559 if ${PKG_CONFIG+:} false
; then :
11560 HAL_LIBS
=`$PKG_CONFIG --libs hal 2>/dev/null`
11564 HAL_LIBS
=${HAL_LIBS:-"-ldbus-1"}
11565 $as_echo "$as_me:${as_lineno-$LINENO}: hal cflags: $HAL_CFLAGS" >&5
11566 $as_echo "$as_me:${as_lineno-$LINENO}: hal libs: $HAL_LIBS" >&5
11567 ac_save_CPPFLAGS
=$CPPFLAGS
11568 CPPFLAGS
="$CPPFLAGS $HAL_CFLAGS"
11569 ac_fn_c_check_header_mongrel
"$LINENO" "hal/libhal.h" "ac_cv_header_hal_libhal_h" "$ac_includes_default"
11570 if test "x$ac_cv_header_hal_libhal_h" = xyes
; then :
11571 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lhal" >&5
11572 $as_echo_n "checking for -lhal... " >&6; }
11573 if ${ac_cv_lib_soname_hal+:} false
; then :
11574 $as_echo_n "(cached) " >&6
11576 ac_check_soname_save_LIBS
=$LIBS
11577 LIBS
="-lhal $HAL_LIBS $LIBS"
11578 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11579 /* end confdefs.h. */
11581 /* Override any GCC internal prototype to avoid an error.
11582 Use char because int might match the return type of a GCC
11583 builtin and then its argument prototype would still apply. */
11587 char libhal_ctx_new ();
11591 return libhal_ctx_new ();
11596 if ac_fn_c_try_link
"$LINENO"; then :
11598 dll
) ac_cv_lib_soname_hal
=`$ac_cv_path_LDD conftest.exe | grep "hal" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11599 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'` ;;
11600 *) ac_cv_lib_soname_hal
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libhal\\.$LIBEXT" | sed -e "s/^.*\\[\\(libhal\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
11601 if ${ac_cv_lib_soname_hal:+false} :; then :
11602 ac_cv_lib_soname_hal
=`$LDD conftest$ac_exeext | grep "libhal\\.$LIBEXT" | sed -e "s/^.*\(libhal\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11606 rm -f core conftest.err conftest.
$ac_objext \
11607 conftest
$ac_exeext conftest.
$ac_ext
11608 LIBS
=$ac_check_soname_save_LIBS
11610 if ${ac_cv_lib_soname_hal:+false} :; then :
11611 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11612 $as_echo "not found" >&6; }
11615 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_hal" >&5
11616 $as_echo "$ac_cv_lib_soname_hal" >&6; }
11618 cat >>confdefs.h
<<_ACEOF
11619 #define SONAME_LIBHAL "$ac_cv_lib_soname_hal"
11629 CPPFLAGS
=$ac_save_CPPFLAGS
11630 test -z "$HAL_CFLAGS" || HAL_CFLAGS
=`echo " $HAL_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
11631 test -z "$HAL_LIBS" || HAL_LIBS
=`echo " $HAL_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
11633 if test "x$ac_cv_lib_soname_hal" = "x" -a \
11634 "x$ac_cv_header_DiskArbitration_DiskArbitration_h" != "xyes"; then :
11635 case "x$with_hal" in
11636 x
) as_fn_append wine_notices
"|libhal ${notice_platform}development files not found, no legacy dynamic device support." ;;
11638 *) as_fn_error $?
"libhal ${notice_platform}development files not found, no legacy dynamic device support.
11639 This is an error since --with-hal was requested." "$LINENO" 5 ;;
11645 if test "x$with_gnutls" != "xno"
11647 if ${GNUTLS_CFLAGS:+false} :; then :
11648 if ${PKG_CONFIG+:} false
; then :
11649 GNUTLS_CFLAGS
=`$PKG_CONFIG --cflags gnutls 2>/dev/null`
11653 if ${GNUTLS_LIBS:+false} :; then :
11654 if ${PKG_CONFIG+:} false
; then :
11655 GNUTLS_LIBS
=`$PKG_CONFIG --libs gnutls 2>/dev/null`
11660 $as_echo "$as_me:${as_lineno-$LINENO}: gnutls cflags: $GNUTLS_CFLAGS" >&5
11661 $as_echo "$as_me:${as_lineno-$LINENO}: gnutls libs: $GNUTLS_LIBS" >&5
11662 ac_save_CPPFLAGS
=$CPPFLAGS
11663 CPPFLAGS
="$CPPFLAGS $GNUTLS_CFLAGS"
11664 ac_fn_c_check_header_mongrel
"$LINENO" "gnutls/gnutls.h" "ac_cv_header_gnutls_gnutls_h" "$ac_includes_default"
11665 if test "x$ac_cv_header_gnutls_gnutls_h" = xyes
; then :
11666 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11667 /* end confdefs.h. */
11668 #include <gnutls/gnutls.h>
11669 #include <gnutls/crypto.h>
11673 static typeof(gnutls_mac_get_key_size) *func; if (func) return 0;
11678 if ac_fn_c_try_compile
"$LINENO"; then :
11679 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lgnutls" >&5
11680 $as_echo_n "checking for -lgnutls... " >&6; }
11681 if ${ac_cv_lib_soname_gnutls+:} false
; then :
11682 $as_echo_n "(cached) " >&6
11684 ac_check_soname_save_LIBS
=$LIBS
11685 LIBS
="-lgnutls $GNUTLS_LIBS $LIBS"
11686 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11687 /* end confdefs.h. */
11689 /* Override any GCC internal prototype to avoid an error.
11690 Use char because int might match the return type of a GCC
11691 builtin and then its argument prototype would still apply. */
11695 char gnutls_global_init ();
11699 return gnutls_global_init ();
11704 if ac_fn_c_try_link
"$LINENO"; then :
11706 dll
) ac_cv_lib_soname_gnutls
=`$ac_cv_path_LDD conftest.exe | grep "gnutls" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11707 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'` ;;
11708 *) 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'`
11709 if ${ac_cv_lib_soname_gnutls:+false} :; then :
11710 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'`
11714 rm -f core conftest.err conftest.
$ac_objext \
11715 conftest
$ac_exeext conftest.
$ac_ext
11716 LIBS
=$ac_check_soname_save_LIBS
11718 if ${ac_cv_lib_soname_gnutls:+false} :; then :
11719 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11720 $as_echo "not found" >&6; }
11723 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_gnutls" >&5
11724 $as_echo "$ac_cv_lib_soname_gnutls" >&6; }
11726 cat >>confdefs.h
<<_ACEOF
11727 #define SONAME_LIBGNUTLS "$ac_cv_lib_soname_gnutls"
11732 ac_wine_check_funcs_save_LIBS
="$LIBS"
11733 LIBS
="$LIBS $GNUTLS_LIBS"
11734 for ac_func
in gnutls_hash
11736 ac_fn_c_check_func
"$LINENO" "gnutls_hash" "ac_cv_func_gnutls_hash"
11737 if test "x$ac_cv_func_gnutls_hash" = xyes
; then :
11738 cat >>confdefs.h
<<_ACEOF
11739 #define HAVE_GNUTLS_HASH 1
11743 as_fn_append wine_notices
"|libgnutls ${notice_platform}development files too old, no bcrypt hash support."
11747 LIBS
="$ac_wine_check_funcs_save_LIBS"
11749 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
11755 CPPFLAGS
=$ac_save_CPPFLAGS
11756 test -z "$GNUTLS_CFLAGS" || GNUTLS_CFLAGS
=`echo " $GNUTLS_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
11757 test -z "$GNUTLS_LIBS" || GNUTLS_LIBS
=`echo " $GNUTLS_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
11760 if test "x$ac_cv_lib_soname_gnutls" = "x"; then :
11761 case "x$with_gnutls" in
11762 x
) as_fn_append wine_warnings
"|libgnutls ${notice_platform}development files not found, no schannel support." ;;
11764 *) as_fn_error $?
"libgnutls ${notice_platform}development files not found, no schannel support.
11765 This is an error since --with-gnutls was requested." "$LINENO" 5 ;;
11771 if test "$ac_cv_header_ncurses_h" = "yes"
11773 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lncurses" >&5
11774 $as_echo_n "checking for -lncurses... " >&6; }
11775 if ${ac_cv_lib_soname_ncurses+:} false
; then :
11776 $as_echo_n "(cached) " >&6
11778 ac_check_soname_save_LIBS
=$LIBS
11779 LIBS
="-lncurses $LIBS"
11780 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11781 /* end confdefs.h. */
11783 /* Override any GCC internal prototype to avoid an error.
11784 Use char because int might match the return type of a GCC
11785 builtin and then its argument prototype would still apply. */
11798 if ac_fn_c_try_link
"$LINENO"; then :
11800 dll
) ac_cv_lib_soname_ncurses
=`$ac_cv_path_LDD conftest.exe | grep "ncurses" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11801 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'` ;;
11802 *) 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'`
11803 if ${ac_cv_lib_soname_ncurses:+false} :; then :
11804 ac_cv_lib_soname_ncurses
=`$LDD conftest$ac_exeext | grep "libncursesw\\{0,1\\}\\.$LIBEXT" | sed -e "s/^.*\(libncursesw\\{0,1\\}\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11808 rm -f core conftest.err conftest.
$ac_objext \
11809 conftest
$ac_exeext conftest.
$ac_ext
11810 LIBS
=$ac_check_soname_save_LIBS
11812 if ${ac_cv_lib_soname_ncurses:+false} :; then :
11813 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11814 $as_echo "not found" >&6; }
11817 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_ncurses" >&5
11818 $as_echo "$ac_cv_lib_soname_ncurses" >&6; }
11820 cat >>confdefs.h
<<_ACEOF
11821 #define SONAME_LIBNCURSES "$ac_cv_lib_soname_ncurses"
11824 CURSES_LIBS
="-lncurses"
11826 elif test "$ac_cv_header_curses_h" = "yes"
11828 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lcurses" >&5
11829 $as_echo_n "checking for -lcurses... " >&6; }
11830 if ${ac_cv_lib_soname_curses+:} false
; then :
11831 $as_echo_n "(cached) " >&6
11833 ac_check_soname_save_LIBS
=$LIBS
11834 LIBS
="-lcurses $LIBS"
11835 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11836 /* end confdefs.h. */
11838 /* Override any GCC internal prototype to avoid an error.
11839 Use char because int might match the return type of a GCC
11840 builtin and then its argument prototype would still apply. */
11853 if ac_fn_c_try_link
"$LINENO"; then :
11855 dll
) ac_cv_lib_soname_curses
=`$ac_cv_path_LDD conftest.exe | grep "curses" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11856 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'` ;;
11857 *) ac_cv_lib_soname_curses
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libcurses\\.$LIBEXT" | sed -e "s/^.*\\[\\(libcurses\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
11858 if ${ac_cv_lib_soname_curses:+false} :; then :
11859 ac_cv_lib_soname_curses
=`$LDD conftest$ac_exeext | grep "libcurses\\.$LIBEXT" | sed -e "s/^.*\(libcurses\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11863 rm -f core conftest.err conftest.
$ac_objext \
11864 conftest
$ac_exeext conftest.
$ac_ext
11865 LIBS
=$ac_check_soname_save_LIBS
11867 if ${ac_cv_lib_soname_curses:+false} :; then :
11868 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11869 $as_echo "not found" >&6; }
11872 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_curses" >&5
11873 $as_echo "$ac_cv_lib_soname_curses" >&6; }
11875 cat >>confdefs.h
<<_ACEOF
11876 #define SONAME_LIBCURSES "$ac_cv_lib_soname_curses"
11879 CURSES_LIBS
="-lcurses"
11882 ac_save_LIBS
="$LIBS"
11883 LIBS
="$LIBS $CURSES_LIBS"
11884 for ac_func
in mousemask
11886 ac_fn_c_check_func
"$LINENO" "mousemask" "ac_cv_func_mousemask"
11887 if test "x$ac_cv_func_mousemask" = xyes
; then :
11888 cat >>confdefs.h
<<_ACEOF
11889 #define HAVE_MOUSEMASK 1
11895 LIBS
="$ac_save_LIBS"
11896 if test "x$ac_cv_lib_soname_curses$ac_cv_lib_soname_ncurses" = "x"; then :
11897 case "x$with_curses" in
11898 x
) as_fn_append wine_notices
"|lib(n)curses ${notice_platform}development files not found, curses won't be supported." ;;
11900 *) as_fn_error $?
"lib(n)curses ${notice_platform}development files not found, curses won't be supported.
11901 This is an error since --with-curses was requested." "$LINENO" 5 ;;
11906 if test "x$with_sane" != "xno"
11908 if ${SANE_CFLAGS:+false} :; then :
11909 if ${PKG_CONFIG+:} false
; then :
11910 SANE_CFLAGS
=`$PKG_CONFIG --cflags libsane 2>/dev/null`
11913 test "$cross_compiling" = yes || SANE_CFLAGS
=${SANE_CFLAGS:-`${SANE_CONFIG:-sane-config} --cflags 2>/dev/null`}
11914 if ${SANE_LIBS:+false} :; then :
11915 if ${PKG_CONFIG+:} false
; then :
11916 SANE_LIBS
=`$PKG_CONFIG --libs libsane 2>/dev/null`
11919 test "$cross_compiling" = yes || SANE_LIBS
=${SANE_LIBS:-`${SANE_CONFIG:-sane-config} --ldflags 2>/dev/null`}
11921 $as_echo "$as_me:${as_lineno-$LINENO}: libsane cflags: $SANE_CFLAGS" >&5
11922 $as_echo "$as_me:${as_lineno-$LINENO}: libsane libs: $SANE_LIBS" >&5
11923 ac_save_CPPFLAGS
=$CPPFLAGS
11924 CPPFLAGS
="$CPPFLAGS $SANE_CFLAGS"
11925 ac_fn_c_check_header_mongrel
"$LINENO" "sane/sane.h" "ac_cv_header_sane_sane_h" "$ac_includes_default"
11926 if test "x$ac_cv_header_sane_sane_h" = xyes
; then :
11927 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lsane" >&5
11928 $as_echo_n "checking for -lsane... " >&6; }
11929 if ${ac_cv_lib_soname_sane+:} false
; then :
11930 $as_echo_n "(cached) " >&6
11932 ac_check_soname_save_LIBS
=$LIBS
11933 LIBS
="-lsane $SANE_LIBS $LIBS"
11934 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11935 /* end confdefs.h. */
11937 /* Override any GCC internal prototype to avoid an error.
11938 Use char because int might match the return type of a GCC
11939 builtin and then its argument prototype would still apply. */
11947 return sane_init ();
11952 if ac_fn_c_try_link
"$LINENO"; then :
11954 dll
) ac_cv_lib_soname_sane
=`$ac_cv_path_LDD conftest.exe | grep "sane" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11955 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'` ;;
11956 *) ac_cv_lib_soname_sane
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libsane\\.$LIBEXT" | sed -e "s/^.*\\[\\(libsane\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
11957 if ${ac_cv_lib_soname_sane:+false} :; then :
11958 ac_cv_lib_soname_sane
=`$LDD conftest$ac_exeext | grep "libsane\\.$LIBEXT" | sed -e "s/^.*\(libsane\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11962 rm -f core conftest.err conftest.
$ac_objext \
11963 conftest
$ac_exeext conftest.
$ac_ext
11964 LIBS
=$ac_check_soname_save_LIBS
11966 if ${ac_cv_lib_soname_sane:+false} :; then :
11967 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11968 $as_echo "not found" >&6; }
11971 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_sane" >&5
11972 $as_echo "$ac_cv_lib_soname_sane" >&6; }
11974 cat >>confdefs.h
<<_ACEOF
11975 #define SONAME_LIBSANE "$ac_cv_lib_soname_sane"
11985 CPPFLAGS
=$ac_save_CPPFLAGS
11986 test -z "$SANE_CFLAGS" || SANE_CFLAGS
=`echo " $SANE_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
11987 test -z "$SANE_LIBS" || SANE_LIBS
=`echo " $SANE_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
11990 if test "x$ac_cv_lib_soname_sane" = "x"; then :
11991 case "x$with_sane" in
11992 x
) as_fn_append wine_notices
"|libsane ${notice_platform}development files not found, scanners won't be supported." ;;
11994 *) as_fn_error $?
"libsane ${notice_platform}development files not found, scanners won't be supported.
11995 This is an error since --with-sane was requested." "$LINENO" 5 ;;
12000 if test "x$with_v4l" != "xno"
12002 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lv4l1" >&5
12003 $as_echo_n "checking for -lv4l1... " >&6; }
12004 if ${ac_cv_lib_soname_v4l1+:} false
; then :
12005 $as_echo_n "(cached) " >&6
12007 ac_check_soname_save_LIBS
=$LIBS
12008 LIBS
="-lv4l1 $LIBS"
12009 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12010 /* end confdefs.h. */
12012 /* Override any GCC internal prototype to avoid an error.
12013 Use char because int might match the return type of a GCC
12014 builtin and then its argument prototype would still apply. */
12022 return v4l1_open ();
12027 if ac_fn_c_try_link
"$LINENO"; then :
12029 dll
) ac_cv_lib_soname_v4l1
=`$ac_cv_path_LDD conftest.exe | grep "v4l1" | sed -e "s/dll.*/dll/"';2,$d'` ;;
12030 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'` ;;
12031 *) ac_cv_lib_soname_v4l1
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libv4l1\\.$LIBEXT" | sed -e "s/^.*\\[\\(libv4l1\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
12032 if ${ac_cv_lib_soname_v4l1:+false} :; then :
12033 ac_cv_lib_soname_v4l1
=`$LDD conftest$ac_exeext | grep "libv4l1\\.$LIBEXT" | sed -e "s/^.*\(libv4l1\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
12037 rm -f core conftest.err conftest.
$ac_objext \
12038 conftest
$ac_exeext conftest.
$ac_ext
12039 LIBS
=$ac_check_soname_save_LIBS
12041 if ${ac_cv_lib_soname_v4l1:+false} :; then :
12042 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
12043 $as_echo "not found" >&6; }
12046 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_v4l1" >&5
12047 $as_echo "$ac_cv_lib_soname_v4l1" >&6; }
12049 cat >>confdefs.h
<<_ACEOF
12050 #define SONAME_LIBV4L1 "$ac_cv_lib_soname_v4l1"
12056 if test "x$ac_cv_lib_soname_v4l1" = "x"; then :
12057 case "x$with_v4l" in
12058 x
) as_fn_append wine_notices
"|libv4l ${notice_platform}development files not found." ;;
12060 *) as_fn_error $?
"libv4l ${notice_platform}development files not found.
12061 This is an error since --with-v4l was requested." "$LINENO" 5 ;;
12066 if test "x$with_gphoto" != "xno"
12068 if ${GPHOTO2_CFLAGS:+false} :; then :
12069 if ${PKG_CONFIG+:} false
; then :
12070 GPHOTO2_CFLAGS
=`$PKG_CONFIG --cflags libgphoto2 2>/dev/null`
12073 test "$cross_compiling" = yes || GPHOTO2_CFLAGS
=${GPHOTO2_CFLAGS:-`${GPHOTO2_CONFIG:-gphoto2-config} --cflags 2>/dev/null`}
12074 if ${GPHOTO2_LIBS:+false} :; then :
12075 if ${PKG_CONFIG+:} false
; then :
12076 GPHOTO2_LIBS
=`$PKG_CONFIG --libs libgphoto2 2>/dev/null`
12079 test "$cross_compiling" = yes || GPHOTO2_LIBS
=${GPHOTO2_LIBS:-`${GPHOTO2_CONFIG:-gphoto2-config} --libs 2>/dev/null`}
12080 GPHOTO2_LIBS
=${GPHOTO2_LIBS:-"-lgphoto2"}
12081 $as_echo "$as_me:${as_lineno-$LINENO}: libgphoto2 cflags: $GPHOTO2_CFLAGS" >&5
12082 $as_echo "$as_me:${as_lineno-$LINENO}: libgphoto2 libs: $GPHOTO2_LIBS" >&5
12083 ac_save_CPPFLAGS
=$CPPFLAGS
12084 CPPFLAGS
="$CPPFLAGS $GPHOTO2_CFLAGS"
12085 ac_fn_c_check_header_mongrel
"$LINENO" "gphoto2-camera.h" "ac_cv_header_gphoto2_camera_h" "$ac_includes_default"
12086 if test "x$ac_cv_header_gphoto2_camera_h" = xyes
; then :
12087 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gp_camera_new in -lgphoto2" >&5
12088 $as_echo_n "checking for gp_camera_new in -lgphoto2... " >&6; }
12089 if ${ac_cv_lib_gphoto2_gp_camera_new+:} false
; then :
12090 $as_echo_n "(cached) " >&6
12092 ac_check_lib_save_LIBS
=$LIBS
12093 LIBS
="-lgphoto2 $GPHOTO2_LIBS $LIBS"
12094 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12095 /* end confdefs.h. */
12097 /* Override any GCC internal prototype to avoid an error.
12098 Use char because int might match the return type of a GCC
12099 builtin and then its argument prototype would still apply. */
12103 char gp_camera_new ();
12107 return gp_camera_new ();
12112 if ac_fn_c_try_link
"$LINENO"; then :
12113 ac_cv_lib_gphoto2_gp_camera_new
=yes
12115 ac_cv_lib_gphoto2_gp_camera_new
=no
12117 rm -f core conftest.err conftest.
$ac_objext \
12118 conftest
$ac_exeext conftest.
$ac_ext
12119 LIBS
=$ac_check_lib_save_LIBS
12121 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gphoto2_gp_camera_new" >&5
12122 $as_echo "$ac_cv_lib_gphoto2_gp_camera_new" >&6; }
12123 if test "x$ac_cv_lib_gphoto2_gp_camera_new" = xyes
; then :
12125 $as_echo "#define HAVE_GPHOTO2 1" >>confdefs.h
12128 GPHOTO2_LIBS
=""; GPHOTO2_CFLAGS
=""
12132 GPHOTO2_LIBS
=""; GPHOTO2_CFLAGS
=""
12136 CPPFLAGS
=$ac_save_CPPFLAGS
12137 test -z "$GPHOTO2_CFLAGS" || GPHOTO2_CFLAGS
=`echo " $GPHOTO2_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
12138 test -z "$GPHOTO2_LIBS" || GPHOTO2_LIBS
=`echo " $GPHOTO2_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
12140 if ${GPHOTO2_PORT_CFLAGS:+false} :; then :
12141 if ${PKG_CONFIG+:} false
; then :
12142 GPHOTO2_PORT_CFLAGS
=`$PKG_CONFIG --cflags libgphoto2_port 2>/dev/null`
12145 test "$cross_compiling" = yes || GPHOTO2_PORT_CFLAGS
=${GPHOTO2_PORT_CFLAGS:-`${GPHOTO2_PORT_CONFIG:-gphoto2-port-config} --cflags 2>/dev/null`}
12146 if ${GPHOTO2_PORT_LIBS:+false} :; then :
12147 if ${PKG_CONFIG+:} false
; then :
12148 GPHOTO2_PORT_LIBS
=`$PKG_CONFIG --libs libgphoto2_port 2>/dev/null`
12151 test "$cross_compiling" = yes || GPHOTO2_PORT_LIBS
=${GPHOTO2_PORT_LIBS:-`${GPHOTO2_PORT_CONFIG:-gphoto2-port-config} --libs 2>/dev/null`}
12152 GPHOTO2_PORT_LIBS
=${GPHOTO2_PORT_LIBS:-"-lgphoto2_port"}
12153 $as_echo "$as_me:${as_lineno-$LINENO}: libgphoto2_port cflags: $GPHOTO2_PORT_CFLAGS" >&5
12154 $as_echo "$as_me:${as_lineno-$LINENO}: libgphoto2_port libs: $GPHOTO2_PORT_LIBS" >&5
12155 ac_save_CPPFLAGS
=$CPPFLAGS
12156 CPPFLAGS
="$CPPFLAGS $GPHOTO2_PORT_CFLAGS"
12157 ac_fn_c_check_header_mongrel
"$LINENO" "gphoto2-port.h" "ac_cv_header_gphoto2_port_h" "$ac_includes_default"
12158 if test "x$ac_cv_header_gphoto2_port_h" = xyes
; then :
12159 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gp_port_info_list_new in -lgphoto2_port" >&5
12160 $as_echo_n "checking for gp_port_info_list_new in -lgphoto2_port... " >&6; }
12161 if ${ac_cv_lib_gphoto2_port_gp_port_info_list_new+:} false
; then :
12162 $as_echo_n "(cached) " >&6
12164 ac_check_lib_save_LIBS
=$LIBS
12165 LIBS
="-lgphoto2_port $GPHOTO2_PORT_LIBS $LIBS"
12166 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12167 /* end confdefs.h. */
12169 /* Override any GCC internal prototype to avoid an error.
12170 Use char because int might match the return type of a GCC
12171 builtin and then its argument prototype would still apply. */
12175 char gp_port_info_list_new ();
12179 return gp_port_info_list_new ();
12184 if ac_fn_c_try_link
"$LINENO"; then :
12185 ac_cv_lib_gphoto2_port_gp_port_info_list_new
=yes
12187 ac_cv_lib_gphoto2_port_gp_port_info_list_new
=no
12189 rm -f core conftest.err conftest.
$ac_objext \
12190 conftest
$ac_exeext conftest.
$ac_ext
12191 LIBS
=$ac_check_lib_save_LIBS
12193 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gphoto2_port_gp_port_info_list_new" >&5
12194 $as_echo "$ac_cv_lib_gphoto2_port_gp_port_info_list_new" >&6; }
12195 if test "x$ac_cv_lib_gphoto2_port_gp_port_info_list_new" = xyes
; then :
12197 $as_echo "#define HAVE_GPHOTO2_PORT 1" >>confdefs.h
12200 GPHOTO2_PORT_LIBS
=""; GPHOTO2_PORT_CFLAGS
=""
12204 GPHOTO2_PORT_LIBS
=""; GPHOTO2_PORT_CFLAGS
=""
12208 CPPFLAGS
=$ac_save_CPPFLAGS
12209 test -z "$GPHOTO2_PORT_CFLAGS" || GPHOTO2_PORT_CFLAGS
=`echo " $GPHOTO2_PORT_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
12210 test -z "$GPHOTO2_PORT_LIBS" || GPHOTO2_PORT_LIBS
=`echo " $GPHOTO2_PORT_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
12213 if test "$ac_cv_lib_gphoto2_gp_camera_new" != "yes"; then :
12214 case "x$with_gphoto" in
12215 x
) as_fn_append wine_notices
"|libgphoto2 ${notice_platform}development files not found, digital cameras won't be supported." ;;
12217 *) as_fn_error $?
"libgphoto2 ${notice_platform}development files not found, digital cameras won't be supported.
12218 This is an error since --with-gphoto was requested." "$LINENO" 5 ;;
12222 if test "$ac_cv_lib_gphoto2_port_gp_port_info_list_new" != "yes"; then :
12223 case "x$with_gphoto" in
12224 x
) as_fn_append wine_notices
"|libgphoto2_port ${notice_platform}development files not found, digital cameras won't be auto-detected." ;;
12226 *) as_fn_error $?
"libgphoto2_port ${notice_platform}development files not found, digital cameras won't be auto-detected.
12227 This is an error since --with-gphoto was requested." "$LINENO" 5 ;;
12233 if test "$ac_cv_header_resolv_h" = "yes"
12235 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for resolver library" >&5
12236 $as_echo_n "checking for resolver library... " >&6; }
12237 if ${ac_cv_have_resolv+:} false
; then :
12238 $as_echo_n "(cached) " >&6
12240 ac_save_LIBS
="$LIBS"
12241 for lib
in '' -lresolv
12243 LIBS
="$lib $ac_save_LIBS"
12244 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12245 /* end confdefs.h. */
12246 #ifdef HAVE_NETINET_IN_H
12247 #include <netinet/in.h>
12249 #include <resolv.h>
12253 if (!(_res.options & RES_INIT)) res_init(); res_query("foo",ns_c_in,0,0,0)
12258 if ac_fn_c_try_link
"$LINENO"; then :
12259 ac_cv_have_resolv
=${lib:-"none required"}
12261 ac_cv_have_resolv
="not found"
12263 rm -f core conftest.err conftest.
$ac_objext \
12264 conftest
$ac_exeext conftest.
$ac_ext
12265 test "x$ac_cv_have_resolv" = "xnot found" ||
break
12267 LIBS
="$ac_save_LIBS"
12269 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_resolv" >&5
12270 $as_echo "$ac_cv_have_resolv" >&6; }
12272 case "$ac_cv_have_resolv" in
12276 $as_echo "#define HAVE_RESOLV 1" >>confdefs.h
12279 $as_echo "#define HAVE_RESOLV 1" >>confdefs.h
12281 RESOLV_LIBS
=$ac_cv_have_resolv
12286 if test "x$with_cms" != "xno"
12288 if ${LCMS2_CFLAGS:+false} :; then :
12289 if ${PKG_CONFIG+:} false
; then :
12290 LCMS2_CFLAGS
=`$PKG_CONFIG --cflags lcms2 2>/dev/null`
12294 if ${LCMS2_LIBS:+false} :; then :
12295 if ${PKG_CONFIG+:} false
; then :
12296 LCMS2_LIBS
=`$PKG_CONFIG --libs lcms2 2>/dev/null`
12300 LCMS2_LIBS
=${LCMS2_LIBS:-"-llcms2"}
12301 $as_echo "$as_me:${as_lineno-$LINENO}: lcms2 cflags: $LCMS2_CFLAGS" >&5
12302 $as_echo "$as_me:${as_lineno-$LINENO}: lcms2 libs: $LCMS2_LIBS" >&5
12303 ac_save_CPPFLAGS
=$CPPFLAGS
12304 CPPFLAGS
="$CPPFLAGS $LCMS2_CFLAGS"
12305 for ac_header
in lcms2.h
12307 ac_fn_c_check_header_mongrel
"$LINENO" "lcms2.h" "ac_cv_header_lcms2_h" "$ac_includes_default"
12308 if test "x$ac_cv_header_lcms2_h" = xyes
; then :
12309 cat >>confdefs.h
<<_ACEOF
12310 #define HAVE_LCMS2_H 1
12317 if test "$ac_cv_header_lcms2_h" = "yes"
12319 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cmsOpenProfileFromFile in -llcms2" >&5
12320 $as_echo_n "checking for cmsOpenProfileFromFile in -llcms2... " >&6; }
12321 if ${ac_cv_lib_lcms2_cmsOpenProfileFromFile+:} false
; then :
12322 $as_echo_n "(cached) " >&6
12324 ac_check_lib_save_LIBS
=$LIBS
12325 LIBS
="-llcms2 $LCMS2_LIBS $LIBS"
12326 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12327 /* end confdefs.h. */
12329 /* Override any GCC internal prototype to avoid an error.
12330 Use char because int might match the return type of a GCC
12331 builtin and then its argument prototype would still apply. */
12335 char cmsOpenProfileFromFile ();
12339 return cmsOpenProfileFromFile ();
12344 if ac_fn_c_try_link
"$LINENO"; then :
12345 ac_cv_lib_lcms2_cmsOpenProfileFromFile
=yes
12347 ac_cv_lib_lcms2_cmsOpenProfileFromFile
=no
12349 rm -f core conftest.err conftest.
$ac_objext \
12350 conftest
$ac_exeext conftest.
$ac_ext
12351 LIBS
=$ac_check_lib_save_LIBS
12353 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_lcms2_cmsOpenProfileFromFile" >&5
12354 $as_echo "$ac_cv_lib_lcms2_cmsOpenProfileFromFile" >&6; }
12355 if test "x$ac_cv_lib_lcms2_cmsOpenProfileFromFile" = xyes
; then :
12357 $as_echo "#define HAVE_LCMS2 1" >>confdefs.h
12367 CPPFLAGS
=$ac_save_CPPFLAGS
12368 test -z "$LCMS2_CFLAGS" || LCMS2_CFLAGS
=`echo " $LCMS2_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
12369 test -z "$LCMS2_LIBS" || LCMS2_LIBS
=`echo " $LCMS2_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
12372 if test "$ac_cv_lib_lcms2_cmsOpenProfileFromFile" != "yes"; then :
12373 case "x$with_cms" in
12374 x
) as_fn_append wine_notices
"|liblcms2 ${notice_platform}development files not found, Color Management won't be supported." ;;
12376 *) as_fn_error $?
"liblcms2 ${notice_platform}development files not found, Color Management won't be supported.
12377 This is an error since --with-cms was requested." "$LINENO" 5 ;;
12382 if test "x$with_freetype" != "xno"
12384 if ${FREETYPE_CFLAGS:+false} :; then :
12385 if ${PKG_CONFIG+:} false
; then :
12386 FREETYPE_CFLAGS
=`$PKG_CONFIG --cflags freetype2 2>/dev/null`
12389 test "$cross_compiling" = yes || FREETYPE_CFLAGS
=${FREETYPE_CFLAGS:-`(${FREETYPE_CONFIG:-freetype-config} --cflags || ${FREETYPE2_CONFIG:-freetype2-config} --cflags) 2>/dev/null`}
12390 if ${FREETYPE_LIBS:+false} :; then :
12391 if ${PKG_CONFIG+:} false
; then :
12392 FREETYPE_LIBS
=`$PKG_CONFIG --libs freetype2 2>/dev/null`
12395 test "$cross_compiling" = yes || FREETYPE_LIBS
=${FREETYPE_LIBS:-`(${FREETYPE_CONFIG:-freetype-config} --libs || ${FREETYPE2_CONFIG:-freetype2-config} --libs) 2>/dev/null`}
12396 FREETYPE_LIBS
=${FREETYPE_LIBS:-"-lfreetype"}
12397 $as_echo "$as_me:${as_lineno-$LINENO}: freetype2 cflags: $FREETYPE_CFLAGS" >&5
12398 $as_echo "$as_me:${as_lineno-$LINENO}: freetype2 libs: $FREETYPE_LIBS" >&5
12399 ac_save_CPPFLAGS
=$CPPFLAGS
12400 CPPFLAGS
="$CPPFLAGS $FREETYPE_CFLAGS"
12401 for ac_header
in ft2build.h
12403 ac_fn_c_check_header_mongrel
"$LINENO" "ft2build.h" "ac_cv_header_ft2build_h" "$ac_includes_default"
12404 if test "x$ac_cv_header_ft2build_h" = xyes
; then :
12405 cat >>confdefs.h
<<_ACEOF
12406 #define HAVE_FT2BUILD_H 1
12413 if test "$ac_cv_header_ft2build_h" = "yes"
12415 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lfreetype" >&5
12416 $as_echo_n "checking for -lfreetype... " >&6; }
12417 if ${ac_cv_lib_soname_freetype+:} false
; then :
12418 $as_echo_n "(cached) " >&6
12420 ac_check_soname_save_LIBS
=$LIBS
12421 LIBS
="-lfreetype $FREETYPE_LIBS $LIBS"
12422 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12423 /* end confdefs.h. */
12425 /* Override any GCC internal prototype to avoid an error.
12426 Use char because int might match the return type of a GCC
12427 builtin and then its argument prototype would still apply. */
12431 char FT_Init_FreeType ();
12435 return FT_Init_FreeType ();
12440 if ac_fn_c_try_link
"$LINENO"; then :
12442 dll
) ac_cv_lib_soname_freetype
=`$ac_cv_path_LDD conftest.exe | grep "freetype" | sed -e "s/dll.*/dll/"';2,$d'` ;;
12443 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'` ;;
12444 *) ac_cv_lib_soname_freetype
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libfreetype\\.$LIBEXT" | sed -e "s/^.*\\[\\(libfreetype\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
12445 if ${ac_cv_lib_soname_freetype:+false} :; then :
12446 ac_cv_lib_soname_freetype
=`$LDD conftest$ac_exeext | grep "libfreetype\\.$LIBEXT" | sed -e "s/^.*\(libfreetype\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
12450 rm -f core conftest.err conftest.
$ac_objext \
12451 conftest
$ac_exeext conftest.
$ac_ext
12452 LIBS
=$ac_check_soname_save_LIBS
12454 if ${ac_cv_lib_soname_freetype:+false} :; then :
12455 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
12456 $as_echo "not found" >&6; }
12459 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_freetype" >&5
12460 $as_echo "$ac_cv_lib_soname_freetype" >&6; }
12462 cat >>confdefs.h
<<_ACEOF
12463 #define SONAME_LIBFREETYPE "$ac_cv_lib_soname_freetype"
12467 $as_echo "#define HAVE_FREETYPE 1" >>confdefs.h
12469 ac_fn_c_check_type
"$LINENO" "FT_TrueTypeEngineType" "ac_cv_type_FT_TrueTypeEngineType" "#include <ft2build.h>
12470 #include FT_MODULE_H
12472 if test "x$ac_cv_type_FT_TrueTypeEngineType" = xyes
; then :
12474 cat >>confdefs.h
<<_ACEOF
12475 #define HAVE_FT_TRUETYPEENGINETYPE 1
12486 CPPFLAGS
=$ac_save_CPPFLAGS
12487 test -z "$FREETYPE_CFLAGS" || FREETYPE_CFLAGS
=`echo " $FREETYPE_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
12488 test -z "$FREETYPE_LIBS" || FREETYPE_LIBS
=`echo " $FREETYPE_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
12491 if test "x$ac_cv_lib_soname_freetype" = x
; then :
12492 case "x$with_freetype" in
12494 *) as_fn_error $?
"FreeType ${notice_platform}development files not found. Fonts will not be built.
12495 Use the --without-freetype option if you really want this." "$LINENO" 5 ;;
12497 enable_fonts
=${enable_fonts:-no}
12500 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for parport header/ppdev.h" >&5
12501 $as_echo_n "checking for parport header/ppdev.h... " >&6; }
12502 if ${ac_cv_c_ppdev+:} false
; then :
12503 $as_echo_n "(cached) " >&6
12505 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12506 /* end confdefs.h. */
12507 #ifdef HAVE_SYS_IOCTL_H
12508 # include <sys/ioctl.h>
12510 #include <linux/ppdev.h>
12514 ioctl (1,PPCLAIM,0)
12519 if ac_fn_c_try_compile
"$LINENO"; then :
12520 ac_cv_c_ppdev
="yes"
12524 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
12526 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_ppdev" >&5
12527 $as_echo "$ac_cv_c_ppdev" >&6; }
12528 if test "$ac_cv_c_ppdev" = "yes"
12531 $as_echo "#define HAVE_PPDEV 1" >>confdefs.h
12535 ac_wine_check_funcs_save_LIBS
="$LIBS"
12536 LIBS
="$LIBS $PTHREAD_LIBS"
12538 pthread_attr_get_np \
12539 pthread_getattr_np \
12540 pthread_getthreadid_np \
12541 pthread_get_stackaddr_np \
12542 pthread_get_stacksize_np
12544 as_ac_var
=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
12545 ac_fn_c_check_func
"$LINENO" "$ac_func" "$as_ac_var"
12546 if eval test \"x\$
"$as_ac_var"\" = x
"yes"; then :
12547 cat >>confdefs.h
<<_ACEOF
12548 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
12554 LIBS
="$ac_wine_check_funcs_save_LIBS"
12556 if test "$ac_cv_header_zlib_h" = "yes"
12558 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for inflate in -lz" >&5
12559 $as_echo_n "checking for inflate in -lz... " >&6; }
12560 if ${ac_cv_lib_z_inflate+:} false
; then :
12561 $as_echo_n "(cached) " >&6
12563 ac_check_lib_save_LIBS
=$LIBS
12565 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12566 /* end confdefs.h. */
12568 /* Override any GCC internal prototype to avoid an error.
12569 Use char because int might match the return type of a GCC
12570 builtin and then its argument prototype would still apply. */
12583 if ac_fn_c_try_link
"$LINENO"; then :
12584 ac_cv_lib_z_inflate
=yes
12586 ac_cv_lib_z_inflate
=no
12588 rm -f core conftest.err conftest.
$ac_objext \
12589 conftest
$ac_exeext conftest.
$ac_ext
12590 LIBS
=$ac_check_lib_save_LIBS
12592 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_z_inflate" >&5
12593 $as_echo "$ac_cv_lib_z_inflate" >&6; }
12594 if test "x$ac_cv_lib_z_inflate" = xyes
; then :
12596 $as_echo "#define HAVE_ZLIB 1" >>confdefs.h
12603 if test "x$Z_LIBS" = "x"; then :
12604 case "x$with_zlib" in
12605 x
) as_fn_append wine_notices
"|libz ${notice_platform}development files not found, data compression won't be supported." ;;
12607 *) as_fn_error $?
"libz ${notice_platform}development files not found, data compression won't be supported.
12608 This is an error since --with-zlib was requested." "$LINENO" 5 ;;
12613 if test "x$enable_tools" != xno
-a "x$with_gettextpo" = xyes
12615 if test "$ac_cv_header_gettext_po_h" = "yes"
12617 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for po_message_msgctxt in -lgettextpo" >&5
12618 $as_echo_n "checking for po_message_msgctxt in -lgettextpo... " >&6; }
12619 if ${ac_cv_lib_gettextpo_po_message_msgctxt+:} false
; then :
12620 $as_echo_n "(cached) " >&6
12622 ac_check_lib_save_LIBS
=$LIBS
12623 LIBS
="-lgettextpo $LIBS"
12624 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12625 /* end confdefs.h. */
12627 /* Override any GCC internal prototype to avoid an error.
12628 Use char because int might match the return type of a GCC
12629 builtin and then its argument prototype would still apply. */
12633 char po_message_msgctxt ();
12637 return po_message_msgctxt ();
12642 if ac_fn_c_try_link
"$LINENO"; then :
12643 ac_cv_lib_gettextpo_po_message_msgctxt
=yes
12645 ac_cv_lib_gettextpo_po_message_msgctxt
=no
12647 rm -f core conftest.err conftest.
$ac_objext \
12648 conftest
$ac_exeext conftest.
$ac_ext
12649 LIBS
=$ac_check_lib_save_LIBS
12651 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gettextpo_po_message_msgctxt" >&5
12652 $as_echo "$ac_cv_lib_gettextpo_po_message_msgctxt" >&6; }
12653 if test "x$ac_cv_lib_gettextpo_po_message_msgctxt" = xyes
; then :
12655 $as_echo "#define HAVE_LIBGETTEXTPO 1" >>confdefs.h
12657 GETTEXTPO_LIBS
="-lgettextpo"
12662 if test "x$GETTEXTPO_LIBS" = "x"; then :
12663 case "x$with_gettextpo" in
12664 x
) as_fn_append wine_notices
"|GetText ${notice_platform}development files not found (or too old), po files can't be rebuilt." ;;
12666 *) as_fn_error $?
"GetText ${notice_platform}development files not found (or too old), po files can't be rebuilt.
12667 This is an error since --with-gettextpo was requested." "$LINENO" 5 ;;
12671 if test "$srcdir" != .
; then :
12672 case "x$with_gettextpo" in
12673 x
) as_fn_append wine_notices
"|Rebuilding po files is not supported for out of tree builds." ;;
12675 *) as_fn_error $?
"Rebuilding po files is not supported for out of tree builds.
12676 This is an error since --with-gettextpo was requested." "$LINENO" 5 ;;
12682 if test "x$with_pulse" != "xno";
12684 if ${PULSE_CFLAGS:+false} :; then :
12685 if ${PKG_CONFIG+:} false
; then :
12686 PULSE_CFLAGS
=`$PKG_CONFIG --cflags libpulse 2>/dev/null`
12690 if ${PULSE_LIBS:+false} :; then :
12691 if ${PKG_CONFIG+:} false
; then :
12692 PULSE_LIBS
=`$PKG_CONFIG --libs libpulse 2>/dev/null`
12697 $as_echo "$as_me:${as_lineno-$LINENO}: libpulse cflags: $PULSE_CFLAGS" >&5
12698 $as_echo "$as_me:${as_lineno-$LINENO}: libpulse libs: $PULSE_LIBS" >&5
12699 ac_save_CPPFLAGS
=$CPPFLAGS
12700 CPPFLAGS
="$CPPFLAGS $PULSE_CFLAGS"
12701 for ac_header
in pulse
/pulseaudio.h
12703 ac_fn_c_check_header_mongrel
"$LINENO" "pulse/pulseaudio.h" "ac_cv_header_pulse_pulseaudio_h" "$ac_includes_default"
12704 if test "x$ac_cv_header_pulse_pulseaudio_h" = xyes
; then :
12705 cat >>confdefs.h
<<_ACEOF
12706 #define HAVE_PULSE_PULSEAUDIO_H 1
12708 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pa_stream_is_corked in -lpulse" >&5
12709 $as_echo_n "checking for pa_stream_is_corked in -lpulse... " >&6; }
12710 if ${ac_cv_lib_pulse_pa_stream_is_corked+:} false
; then :
12711 $as_echo_n "(cached) " >&6
12713 ac_check_lib_save_LIBS
=$LIBS
12714 LIBS
="-lpulse $PULSE_LIBS $LIBS"
12715 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12716 /* end confdefs.h. */
12718 /* Override any GCC internal prototype to avoid an error.
12719 Use char because int might match the return type of a GCC
12720 builtin and then its argument prototype would still apply. */
12724 char pa_stream_is_corked ();
12728 return pa_stream_is_corked ();
12733 if ac_fn_c_try_link
"$LINENO"; then :
12734 ac_cv_lib_pulse_pa_stream_is_corked
=yes
12736 ac_cv_lib_pulse_pa_stream_is_corked
=no
12738 rm -f core conftest.err conftest.
$ac_objext \
12739 conftest
$ac_exeext conftest.
$ac_ext
12740 LIBS
=$ac_check_lib_save_LIBS
12742 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_pulse_pa_stream_is_corked" >&5
12743 $as_echo "$ac_cv_lib_pulse_pa_stream_is_corked" >&6; }
12744 if test "x$ac_cv_lib_pulse_pa_stream_is_corked" = xyes
; then :
12756 CPPFLAGS
=$ac_save_CPPFLAGS
12757 test -z "$PULSE_CFLAGS" || PULSE_CFLAGS
=`echo " $PULSE_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
12758 test -z "$PULSE_LIBS" || PULSE_LIBS
=`echo " $PULSE_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
12761 if test -z "$PULSE_LIBS"; then :
12762 case "x$with_pulse" in
12763 x
) as_fn_append wine_notices
"|libpulse ${notice_platform}development files not found or too old, Pulse won't be supported." ;;
12765 *) as_fn_error $?
"libpulse ${notice_platform}development files not found or too old, Pulse won't be supported.
12766 This is an error since --with-pulse was requested." "$LINENO" 5 ;;
12768 enable_winepulse_drv
=${enable_winepulse_drv:-no}
12771 if test "x$with_gstreamer" != "xno"
12773 if ${GSTREAMER_CFLAGS:+false} :; then :
12774 if ${PKG_CONFIG+:} false
; then :
12775 GSTREAMER_CFLAGS
=`$PKG_CONFIG --cflags gstreamer-1.0 gstreamer-video-1.0 gstreamer-audio-1.0 2>/dev/null`
12779 if ${GSTREAMER_LIBS:+false} :; then :
12780 if ${PKG_CONFIG+:} false
; then :
12781 GSTREAMER_LIBS
=`$PKG_CONFIG --libs gstreamer-1.0 gstreamer-video-1.0 gstreamer-audio-1.0 2>/dev/null`
12786 $as_echo "$as_me:${as_lineno-$LINENO}: gstreamer-1.0 gstreamer-video-1.0 gstreamer-audio-1.0 cflags: $GSTREAMER_CFLAGS" >&5
12787 $as_echo "$as_me:${as_lineno-$LINENO}: gstreamer-1.0 gstreamer-video-1.0 gstreamer-audio-1.0 libs: $GSTREAMER_LIBS" >&5
12788 ac_save_CPPFLAGS
=$CPPFLAGS
12789 CPPFLAGS
="$CPPFLAGS $GSTREAMER_CFLAGS"
12791 for i
in $GSTREAMER_CFLAGS
12794 -I*) ac_gst_incl
="$ac_gst_incl $i";;
12797 GSTREAMER_CFLAGS
=$ac_gst_incl
12798 CPPFLAGS
="$ac_save_CPPFLAGS $GSTREAMER_CFLAGS"
12799 ac_fn_c_check_header_mongrel
"$LINENO" "gst/gst.h" "ac_cv_header_gst_gst_h" "$ac_includes_default"
12800 if test "x$ac_cv_header_gst_gst_h" = xyes
; then :
12801 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether gint64 defined by gst/gst.h is indeed 64-bit" >&5
12802 $as_echo_n "checking whether gint64 defined by gst/gst.h is indeed 64-bit... " >&6; }
12803 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12804 /* end confdefs.h. */
12805 #include <gst/gst.h>
12809 static int a[sizeof(gint64) > 4 ? 1 : -1]; if (a[0]) return 0;
12814 if ac_fn_c_try_compile
"$LINENO"; then :
12815 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
12816 $as_echo "yes" >&6; }
12817 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gst_pad_new in -lgstreamer-1.0" >&5
12818 $as_echo_n "checking for gst_pad_new in -lgstreamer-1.0... " >&6; }
12819 if ${ac_cv_lib_gstreamer_1_0_gst_pad_new+:} false
; then :
12820 $as_echo_n "(cached) " >&6
12822 ac_check_lib_save_LIBS
=$LIBS
12823 LIBS
="-lgstreamer-1.0 $GSTREAMER_LIBS $LIBS"
12824 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12825 /* end confdefs.h. */
12827 /* Override any GCC internal prototype to avoid an error.
12828 Use char because int might match the return type of a GCC
12829 builtin and then its argument prototype would still apply. */
12833 char gst_pad_new ();
12837 return gst_pad_new ();
12842 if ac_fn_c_try_link
"$LINENO"; then :
12843 ac_cv_lib_gstreamer_1_0_gst_pad_new
=yes
12845 ac_cv_lib_gstreamer_1_0_gst_pad_new
=no
12847 rm -f core conftest.err conftest.
$ac_objext \
12848 conftest
$ac_exeext conftest.
$ac_ext
12849 LIBS
=$ac_check_lib_save_LIBS
12851 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gstreamer_1_0_gst_pad_new" >&5
12852 $as_echo "$ac_cv_lib_gstreamer_1_0_gst_pad_new" >&6; }
12853 if test "x$ac_cv_lib_gstreamer_1_0_gst_pad_new" = xyes
; then :
12858 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12859 $as_echo "no" >&6; }
12860 ac_glib2_broken
=yes
12861 as_fn_append wine_notices
"|glib-2.0 pkgconfig configuration is for the wrong architecture, winegstreamer won't be built."
12863 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
12867 CPPFLAGS
=$ac_save_CPPFLAGS
12868 test -z "$GSTREAMER_CFLAGS" || GSTREAMER_CFLAGS
=`echo " $GSTREAMER_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
12869 test -z "$GSTREAMER_LIBS" || GSTREAMER_LIBS
=`echo " $GSTREAMER_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
12872 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 :
12873 case "x$with_gstreamer" in
12874 x
) as_fn_append wine_notices
"|gstreamer-1.0 base plugins ${notice_platform}development files not found, gstreamer support disabled" ;;
12876 *) as_fn_error $?
"gstreamer-1.0 base plugins ${notice_platform}development files not found, gstreamer support disabled
12877 This is an error since --with-gstreamer was requested." "$LINENO" 5 ;;
12881 test "x$ac_cv_lib_gstreamer_1_0_gst_pad_new" = xyes || enable_winegstreamer
=${enable_winegstreamer:-no}
12885 if test "$ac_cv_header_sys_asoundlib_h" = "yes" -o "$ac_cv_header_alsa_asoundlib_h" = "yes"
12887 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for snd_pcm_hw_params_get_access_mask in -lasound" >&5
12888 $as_echo_n "checking for snd_pcm_hw_params_get_access_mask in -lasound... " >&6; }
12889 if ${ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask+:} false
; then :
12890 $as_echo_n "(cached) " >&6
12892 ac_check_lib_save_LIBS
=$LIBS
12893 LIBS
="-lasound $LIBS"
12894 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12895 /* end confdefs.h. */
12897 /* Override any GCC internal prototype to avoid an error.
12898 Use char because int might match the return type of a GCC
12899 builtin and then its argument prototype would still apply. */
12903 char snd_pcm_hw_params_get_access_mask ();
12907 return snd_pcm_hw_params_get_access_mask ();
12912 if ac_fn_c_try_link
"$LINENO"; then :
12913 ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask
=yes
12915 ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask
=no
12917 rm -f core conftest.err conftest.
$ac_objext \
12918 conftest
$ac_exeext conftest.
$ac_ext
12919 LIBS
=$ac_check_lib_save_LIBS
12921 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask" >&5
12922 $as_echo "$ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask" >&6; }
12923 if test "x$ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask" = xyes
; then :
12924 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12925 /* end confdefs.h. */
12926 #ifdef HAVE_ALSA_ASOUNDLIB_H
12927 #include <alsa/asoundlib.h>
12928 #elif defined(HAVE_SYS_ASOUNDLIB_H)
12929 #include <sys/asoundlib.h>
12934 snd_pcm_hw_params_get_access_mask(NULL, NULL)
12939 if ac_fn_c_try_compile
"$LINENO"; then :
12940 ALSA_LIBS
="-lasound"
12942 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
12946 test -n "$ALSA_LIBS" || enable_winealsa_drv
=${enable_winealsa_drv:-no}
12948 if test "x$with_oss" != xno
12950 ac_save_CPPFLAGS
="$CPPFLAGS"
12951 if test -f /etc
/oss.conf
12955 ac_oss_incl
="-I${OSSLIBDIR:-/usr/lib/oss}/include"
12956 CPPFLAGS
="$CPPFLAGS $ac_oss_incl"
12957 ac_fn_c_check_header_mongrel
"$LINENO" "sys/soundcard.h" "ac_cv_header_sys_soundcard_h" "$ac_includes_default"
12958 if test "x$ac_cv_header_sys_soundcard_h" = xyes
; then :
12959 ac_fn_c_check_member
"$LINENO" "oss_sysinfo" "numaudioengines" "ac_cv_member_oss_sysinfo_numaudioengines" "#include <sys/soundcard.h>
12961 if test "x$ac_cv_member_oss_sysinfo_numaudioengines" = xyes
; then :
12963 cat >>confdefs.h
<<_ACEOF
12964 #define HAVE_OSS_SYSINFO_NUMAUDIOENGINES 1
12967 OSS4_CFLAGS
="$ac_oss_incl"
12974 CPPFLAGS
="$ac_save_CPPFLAGS"
12976 if test "x$ac_cv_member_oss_sysinfo_numaudioengines" != xyes
; then :
12977 case "x$with_oss" in
12978 x
) as_fn_append wine_notices
"|OSS sound system found but too old (OSSv4 needed), OSS won't be supported." ;;
12980 *) as_fn_error $?
"OSS sound system found but too old (OSSv4 needed), OSS won't be supported.
12981 This is an error since --with-oss was requested." "$LINENO" 5 ;;
12983 enable_wineoss_drv
=${enable_wineoss_drv:-no}
12986 if test "x$with_udev" != "xno"
12988 if ${UDEV_CFLAGS:+false} :; then :
12989 if ${PKG_CONFIG+:} false
; then :
12990 UDEV_CFLAGS
=`$PKG_CONFIG --cflags libudev 2>/dev/null`
12994 if ${UDEV_LIBS:+false} :; then :
12995 if ${PKG_CONFIG+:} false
; then :
12996 UDEV_LIBS
=`$PKG_CONFIG --libs libudev 2>/dev/null`
13000 UDEV_LIBS
=${UDEV_LIBS:-"-ludev"}
13001 $as_echo "$as_me:${as_lineno-$LINENO}: libudev cflags: $UDEV_CFLAGS" >&5
13002 $as_echo "$as_me:${as_lineno-$LINENO}: libudev libs: $UDEV_LIBS" >&5
13003 ac_save_CPPFLAGS
=$CPPFLAGS
13004 CPPFLAGS
="$CPPFLAGS $UDEV_CFLAGS"
13005 for ac_header
in libudev.h
13007 ac_fn_c_check_header_mongrel
"$LINENO" "libudev.h" "ac_cv_header_libudev_h" "$ac_includes_default"
13008 if test "x$ac_cv_header_libudev_h" = xyes
; then :
13009 cat >>confdefs.h
<<_ACEOF
13010 #define HAVE_LIBUDEV_H 1
13012 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for udev_new in -ludev" >&5
13013 $as_echo_n "checking for udev_new in -ludev... " >&6; }
13014 if ${ac_cv_lib_udev_udev_new+:} false
; then :
13015 $as_echo_n "(cached) " >&6
13017 ac_check_lib_save_LIBS
=$LIBS
13018 LIBS
="-ludev $UDEV_LIBS $LIBS"
13019 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13020 /* end confdefs.h. */
13022 /* Override any GCC internal prototype to avoid an error.
13023 Use char because int might match the return type of a GCC
13024 builtin and then its argument prototype would still apply. */
13032 return udev_new ();
13037 if ac_fn_c_try_link
"$LINENO"; then :
13038 ac_cv_lib_udev_udev_new
=yes
13040 ac_cv_lib_udev_udev_new
=no
13042 rm -f core conftest.err conftest.
$ac_objext \
13043 conftest
$ac_exeext conftest.
$ac_ext
13044 LIBS
=$ac_check_lib_save_LIBS
13046 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_udev_udev_new" >&5
13047 $as_echo "$ac_cv_lib_udev_udev_new" >&6; }
13048 if test "x$ac_cv_lib_udev_udev_new" = xyes
; then :
13050 $as_echo "#define HAVE_UDEV 1" >>confdefs.h
13062 CPPFLAGS
=$ac_save_CPPFLAGS
13063 test -z "$UDEV_CFLAGS" || UDEV_CFLAGS
=`echo " $UDEV_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
13064 test -z "$UDEV_LIBS" || UDEV_LIBS
=`echo " $UDEV_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
13067 if test "x$UDEV_LIBS" = "x"; then :
13068 case "x$with_udev" in
13069 x
) as_fn_append wine_notices
"|libudev ${notice_platform}development files not found, plug and play won't be supported." ;;
13071 *) as_fn_error $?
"libudev ${notice_platform}development files not found, plug and play won't be supported.
13072 This is an error since --with-udev was requested." "$LINENO" 5 ;;
13077 if test "x$with_capi" != "xno"
13079 if ${CAPI20_CFLAGS:+false} :; then :
13080 if ${PKG_CONFIG+:} false
; then :
13081 CAPI20_CFLAGS
=`$PKG_CONFIG --cflags capi20 2>/dev/null`
13085 if ${CAPI20_LIBS:+false} :; then :
13086 if ${PKG_CONFIG+:} false
; then :
13087 CAPI20_LIBS
=`$PKG_CONFIG --libs capi20 2>/dev/null`
13092 $as_echo "$as_me:${as_lineno-$LINENO}: capi20 cflags: $CAPI20_CFLAGS" >&5
13093 $as_echo "$as_me:${as_lineno-$LINENO}: capi20 libs: $CAPI20_LIBS" >&5
13094 ac_save_CPPFLAGS
=$CPPFLAGS
13095 CPPFLAGS
="$CPPFLAGS $CAPI20_CFLAGS"
13096 for ac_header
in capi20.h linux
/capi.h
13098 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
13099 ac_fn_c_check_header_compile
"$LINENO" "$ac_header" "$as_ac_Header" "#define __user
13101 if eval test \"x\$
"$as_ac_Header"\" = x
"yes"; then :
13102 cat >>confdefs.h
<<_ACEOF
13103 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
13110 if test "$ac_cv_header_capi20_h" = "yes" -a "$ac_cv_header_linux_capi_h" = "yes"
13112 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lcapi20" >&5
13113 $as_echo_n "checking for -lcapi20... " >&6; }
13114 if ${ac_cv_lib_soname_capi20+:} false
; then :
13115 $as_echo_n "(cached) " >&6
13117 ac_check_soname_save_LIBS
=$LIBS
13118 LIBS
="-lcapi20 $CAPI20_LIBS $LIBS"
13119 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13120 /* end confdefs.h. */
13122 /* Override any GCC internal prototype to avoid an error.
13123 Use char because int might match the return type of a GCC
13124 builtin and then its argument prototype would still apply. */
13128 char capi20_register ();
13132 return capi20_register ();
13137 if ac_fn_c_try_link
"$LINENO"; then :
13139 dll
) ac_cv_lib_soname_capi20
=`$ac_cv_path_LDD conftest.exe | grep "capi20" | sed -e "s/dll.*/dll/"';2,$d'` ;;
13140 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'` ;;
13141 *) ac_cv_lib_soname_capi20
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libcapi20\\.$LIBEXT" | sed -e "s/^.*\\[\\(libcapi20\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
13142 if ${ac_cv_lib_soname_capi20:+false} :; then :
13143 ac_cv_lib_soname_capi20
=`$LDD conftest$ac_exeext | grep "libcapi20\\.$LIBEXT" | sed -e "s/^.*\(libcapi20\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
13147 rm -f core conftest.err conftest.
$ac_objext \
13148 conftest
$ac_exeext conftest.
$ac_ext
13149 LIBS
=$ac_check_soname_save_LIBS
13151 if ${ac_cv_lib_soname_capi20:+false} :; then :
13152 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13153 $as_echo "not found" >&6; }
13156 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_capi20" >&5
13157 $as_echo "$ac_cv_lib_soname_capi20" >&6; }
13159 cat >>confdefs.h
<<_ACEOF
13160 #define SONAME_LIBCAPI20 "$ac_cv_lib_soname_capi20"
13166 CPPFLAGS
=$ac_save_CPPFLAGS
13167 test -z "$CAPI20_CFLAGS" || CAPI20_CFLAGS
=`echo " $CAPI20_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
13168 test -z "$CAPI20_LIBS" || CAPI20_LIBS
=`echo " $CAPI20_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
13171 if test "x$ac_cv_lib_soname_capi20" = "x"; then :
13172 case "x$with_capi" in
13173 x
) as_fn_append wine_notices
"|libcapi20 ${notice_platform}development files not found, ISDN won't be supported." ;;
13175 *) as_fn_error $?
"libcapi20 ${notice_platform}development files not found, ISDN won't be supported.
13176 This is an error since --with-capi was requested." "$LINENO" 5 ;;
13183 if test "x$with_cups" != "xno"
13185 ac_save_CPPFLAGS
="$CPPFLAGS"
13186 ac_cups_cflags
=`${CUPS_CONFIG:-cups-config} --cflags 2>/dev/null`
13187 ac_cups_libs
=`${CUPS_CONFIG:-cups-config} --ldflags 2>/dev/null`
13188 CPPFLAGS
="$CPPFLAGS $ac_cups_cflags"
13189 for ac_header
in cups
/cups.h
13191 ac_fn_c_check_header_mongrel
"$LINENO" "cups/cups.h" "ac_cv_header_cups_cups_h" "$ac_includes_default"
13192 if test "x$ac_cv_header_cups_cups_h" = xyes
; then :
13193 cat >>confdefs.h
<<_ACEOF
13194 #define HAVE_CUPS_CUPS_H 1
13196 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lcups" >&5
13197 $as_echo_n "checking for -lcups... " >&6; }
13198 if ${ac_cv_lib_soname_cups+:} false
; then :
13199 $as_echo_n "(cached) " >&6
13201 ac_check_soname_save_LIBS
=$LIBS
13202 LIBS
="-lcups $ac_cups_libs $LIBS"
13203 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13204 /* end confdefs.h. */
13206 /* Override any GCC internal prototype to avoid an error.
13207 Use char because int might match the return type of a GCC
13208 builtin and then its argument prototype would still apply. */
13212 char cupsGetDefault ();
13216 return cupsGetDefault ();
13221 if ac_fn_c_try_link
"$LINENO"; then :
13223 dll
) ac_cv_lib_soname_cups
=`$ac_cv_path_LDD conftest.exe | grep "cups" | sed -e "s/dll.*/dll/"';2,$d'` ;;
13224 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'` ;;
13225 *) ac_cv_lib_soname_cups
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libcups\\.$LIBEXT" | sed -e "s/^.*\\[\\(libcups\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
13226 if ${ac_cv_lib_soname_cups:+false} :; then :
13227 ac_cv_lib_soname_cups
=`$LDD conftest$ac_exeext | grep "libcups\\.$LIBEXT" | sed -e "s/^.*\(libcups\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
13231 rm -f core conftest.err conftest.
$ac_objext \
13232 conftest
$ac_exeext conftest.
$ac_ext
13233 LIBS
=$ac_check_soname_save_LIBS
13235 if ${ac_cv_lib_soname_cups:+false} :; then :
13236 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13237 $as_echo "not found" >&6; }
13240 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_cups" >&5
13241 $as_echo "$ac_cv_lib_soname_cups" >&6; }
13243 cat >>confdefs.h
<<_ACEOF
13244 #define SONAME_LIBCUPS "$ac_cv_lib_soname_cups"
13247 CUPS_CFLAGS
="$ac_cups_cflags"
13249 for ac_header
in cups
/ppd.h
13251 ac_fn_c_check_header_mongrel
"$LINENO" "cups/ppd.h" "ac_cv_header_cups_ppd_h" "$ac_includes_default"
13252 if test "x$ac_cv_header_cups_ppd_h" = xyes
; then :
13253 cat >>confdefs.h
<<_ACEOF
13254 #define HAVE_CUPS_PPD_H 1
13265 CPPFLAGS
="$ac_save_CPPFLAGS"
13267 if test "x$ac_cv_lib_soname_cups" = "x"; then :
13268 case "x$with_cups" in
13269 x
) as_fn_append wine_notices
"|libcups ${notice_platform}development files not found, CUPS won't be supported." ;;
13271 *) as_fn_error $?
"libcups ${notice_platform}development files not found, CUPS won't be supported.
13272 This is an error since --with-cups was requested." "$LINENO" 5 ;;
13277 if test "x$with_fontconfig" != "xno"
13279 if ${FONTCONFIG_CFLAGS:+false} :; then :
13280 if ${PKG_CONFIG+:} false
; then :
13281 FONTCONFIG_CFLAGS
=`$PKG_CONFIG --cflags fontconfig 2>/dev/null`
13284 test "$cross_compiling" = yes || FONTCONFIG_CFLAGS
=${FONTCONFIG_CFLAGS:-$X_CFLAGS}
13285 if ${FONTCONFIG_LIBS:+false} :; then :
13286 if ${PKG_CONFIG+:} false
; then :
13287 FONTCONFIG_LIBS
=`$PKG_CONFIG --libs fontconfig 2>/dev/null`
13290 test "$cross_compiling" = yes || FONTCONFIG_LIBS
=${FONTCONFIG_LIBS:-$X_LIBS}
13292 $as_echo "$as_me:${as_lineno-$LINENO}: fontconfig cflags: $FONTCONFIG_CFLAGS" >&5
13293 $as_echo "$as_me:${as_lineno-$LINENO}: fontconfig libs: $FONTCONFIG_LIBS" >&5
13294 ac_save_CPPFLAGS
=$CPPFLAGS
13295 CPPFLAGS
="$CPPFLAGS $FONTCONFIG_CFLAGS"
13296 for ac_header
in fontconfig
/fontconfig.h
13298 ac_fn_c_check_header_mongrel
"$LINENO" "fontconfig/fontconfig.h" "ac_cv_header_fontconfig_fontconfig_h" "$ac_includes_default"
13299 if test "x$ac_cv_header_fontconfig_fontconfig_h" = xyes
; then :
13300 cat >>confdefs.h
<<_ACEOF
13301 #define HAVE_FONTCONFIG_FONTCONFIG_H 1
13308 if test "$ac_cv_header_fontconfig_fontconfig_h" = "yes"
13310 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lfontconfig" >&5
13311 $as_echo_n "checking for -lfontconfig... " >&6; }
13312 if ${ac_cv_lib_soname_fontconfig+:} false
; then :
13313 $as_echo_n "(cached) " >&6
13315 ac_check_soname_save_LIBS
=$LIBS
13316 LIBS
="-lfontconfig $FONTCONFIG_LIBS $LIBS"
13317 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13318 /* end confdefs.h. */
13320 /* Override any GCC internal prototype to avoid an error.
13321 Use char because int might match the return type of a GCC
13322 builtin and then its argument prototype would still apply. */
13335 if ac_fn_c_try_link
"$LINENO"; then :
13337 dll
) ac_cv_lib_soname_fontconfig
=`$ac_cv_path_LDD conftest.exe | grep "fontconfig" | sed -e "s/dll.*/dll/"';2,$d'` ;;
13338 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'` ;;
13339 *) ac_cv_lib_soname_fontconfig
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libfontconfig\\.$LIBEXT" | sed -e "s/^.*\\[\\(libfontconfig\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
13340 if ${ac_cv_lib_soname_fontconfig:+false} :; then :
13341 ac_cv_lib_soname_fontconfig
=`$LDD conftest$ac_exeext | grep "libfontconfig\\.$LIBEXT" | sed -e "s/^.*\(libfontconfig\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
13345 rm -f core conftest.err conftest.
$ac_objext \
13346 conftest
$ac_exeext conftest.
$ac_ext
13347 LIBS
=$ac_check_soname_save_LIBS
13349 if ${ac_cv_lib_soname_fontconfig:+false} :; then :
13350 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13351 $as_echo "not found" >&6; }
13352 FONTCONFIG_CFLAGS
=""
13354 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_fontconfig" >&5
13355 $as_echo "$ac_cv_lib_soname_fontconfig" >&6; }
13357 cat >>confdefs.h
<<_ACEOF
13358 #define SONAME_LIBFONTCONFIG "$ac_cv_lib_soname_fontconfig"
13364 FONTCONFIG_CFLAGS
=""
13366 CPPFLAGS
=$ac_save_CPPFLAGS
13367 test -z "$FONTCONFIG_CFLAGS" || FONTCONFIG_CFLAGS
=`echo " $FONTCONFIG_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
13368 test -z "$FONTCONFIG_LIBS" || FONTCONFIG_LIBS
=`echo " $FONTCONFIG_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
13371 if test "x$ac_cv_lib_soname_fontconfig" = "x"; then :
13372 case "x$with_fontconfig" in
13373 x
) as_fn_append wine_notices
"|fontconfig ${notice_platform}development files not found, fontconfig won't be supported." ;;
13375 *) as_fn_error $?
"fontconfig ${notice_platform}development files not found, fontconfig won't be supported.
13376 This is an error since --with-fontconfig was requested." "$LINENO" 5 ;;
13381 if test "$ac_cv_header_gsm_h" = "yes" -o "$ac_cv_header_gsm_gsm_h" = "yes"
13383 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lgsm" >&5
13384 $as_echo_n "checking for -lgsm... " >&6; }
13385 if ${ac_cv_lib_soname_gsm+:} false
; then :
13386 $as_echo_n "(cached) " >&6
13388 ac_check_soname_save_LIBS
=$LIBS
13390 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13391 /* end confdefs.h. */
13393 /* Override any GCC internal prototype to avoid an error.
13394 Use char because int might match the return type of a GCC
13395 builtin and then its argument prototype would still apply. */
13399 char gsm_create ();
13403 return gsm_create ();
13408 if ac_fn_c_try_link
"$LINENO"; then :
13410 dll
) ac_cv_lib_soname_gsm
=`$ac_cv_path_LDD conftest.exe | grep "gsm" | sed -e "s/dll.*/dll/"';2,$d'` ;;
13411 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'` ;;
13412 *) ac_cv_lib_soname_gsm
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libgsm\\.$LIBEXT" | sed -e "s/^.*\\[\\(libgsm\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
13413 if ${ac_cv_lib_soname_gsm:+false} :; then :
13414 ac_cv_lib_soname_gsm
=`$LDD conftest$ac_exeext | grep "libgsm\\.$LIBEXT" | sed -e "s/^.*\(libgsm\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
13418 rm -f core conftest.err conftest.
$ac_objext \
13419 conftest
$ac_exeext conftest.
$ac_ext
13420 LIBS
=$ac_check_soname_save_LIBS
13422 if ${ac_cv_lib_soname_gsm:+false} :; then :
13423 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13424 $as_echo "not found" >&6; }
13427 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_gsm" >&5
13428 $as_echo "$ac_cv_lib_soname_gsm" >&6; }
13430 cat >>confdefs.h
<<_ACEOF
13431 #define SONAME_LIBGSM "$ac_cv_lib_soname_gsm"
13437 if test "x$ac_cv_lib_soname_gsm" = "x"; then :
13438 case "x$with_gsm" in
13439 x
) as_fn_append wine_notices
"|libgsm ${notice_platform}development files not found, gsm 06.10 codec won't be supported." ;;
13441 *) as_fn_error $?
"libgsm ${notice_platform}development files not found, gsm 06.10 codec won't be supported.
13442 This is an error since --with-gsm was requested." "$LINENO" 5 ;;
13447 if test "x$with_jpeg" != "xno"
13449 if ${JPEG_CFLAGS:+false} :; then :
13450 if ${PKG_CONFIG+:} false
; then :
13451 JPEG_CFLAGS
=`$PKG_CONFIG --cflags libjpeg 2>/dev/null`
13455 if ${JPEG_LIBS:+false} :; then :
13456 if ${PKG_CONFIG+:} false
; then :
13457 JPEG_LIBS
=`$PKG_CONFIG --libs libjpeg 2>/dev/null`
13462 $as_echo "$as_me:${as_lineno-$LINENO}: libjpeg cflags: $JPEG_CFLAGS" >&5
13463 $as_echo "$as_me:${as_lineno-$LINENO}: libjpeg libs: $JPEG_LIBS" >&5
13464 ac_save_CPPFLAGS
=$CPPFLAGS
13465 CPPFLAGS
="$CPPFLAGS $JPEG_CFLAGS"
13466 for ac_header
in jpeglib.h
13468 ac_fn_c_check_header_mongrel
"$LINENO" "jpeglib.h" "ac_cv_header_jpeglib_h" "$ac_includes_default"
13469 if test "x$ac_cv_header_jpeglib_h" = xyes
; then :
13470 cat >>confdefs.h
<<_ACEOF
13471 #define HAVE_JPEGLIB_H 1
13478 if test "$ac_cv_header_jpeglib_h" = "yes"
13480 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -ljpeg" >&5
13481 $as_echo_n "checking for -ljpeg... " >&6; }
13482 if ${ac_cv_lib_soname_jpeg+:} false
; then :
13483 $as_echo_n "(cached) " >&6
13485 ac_check_soname_save_LIBS
=$LIBS
13486 LIBS
="-ljpeg $JPEG_LIBS $LIBS"
13487 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13488 /* end confdefs.h. */
13490 /* Override any GCC internal prototype to avoid an error.
13491 Use char because int might match the return type of a GCC
13492 builtin and then its argument prototype would still apply. */
13496 char jpeg_start_decompress ();
13500 return jpeg_start_decompress ();
13505 if ac_fn_c_try_link
"$LINENO"; then :
13507 dll
) ac_cv_lib_soname_jpeg
=`$ac_cv_path_LDD conftest.exe | grep "jpeg" | sed -e "s/dll.*/dll/"';2,$d'` ;;
13508 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'` ;;
13509 *) ac_cv_lib_soname_jpeg
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libjpeg\\.$LIBEXT" | sed -e "s/^.*\\[\\(libjpeg\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
13510 if ${ac_cv_lib_soname_jpeg:+false} :; then :
13511 ac_cv_lib_soname_jpeg
=`$LDD conftest$ac_exeext | grep "libjpeg\\.$LIBEXT" | sed -e "s/^.*\(libjpeg\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
13515 rm -f core conftest.err conftest.
$ac_objext \
13516 conftest
$ac_exeext conftest.
$ac_ext
13517 LIBS
=$ac_check_soname_save_LIBS
13519 if ${ac_cv_lib_soname_jpeg:+false} :; then :
13520 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13521 $as_echo "not found" >&6; }
13524 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_jpeg" >&5
13525 $as_echo "$ac_cv_lib_soname_jpeg" >&6; }
13527 cat >>confdefs.h
<<_ACEOF
13528 #define SONAME_LIBJPEG "$ac_cv_lib_soname_jpeg"
13536 CPPFLAGS
=$ac_save_CPPFLAGS
13537 test -z "$JPEG_CFLAGS" || JPEG_CFLAGS
=`echo " $JPEG_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
13538 test -z "$JPEG_LIBS" || JPEG_LIBS
=`echo " $JPEG_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
13541 if test "x$ac_cv_lib_soname_jpeg" = "x"; then :
13542 case "x$with_jpeg" in
13543 x
) as_fn_append wine_warnings
"|libjpeg ${notice_platform}development files not found, JPEG won't be supported." ;;
13545 *) as_fn_error $?
"libjpeg ${notice_platform}development files not found, JPEG won't be supported.
13546 This is an error since --with-jpeg was requested." "$LINENO" 5 ;;
13551 if test "x$with_png" != "xno"
13553 if ${PNG_CFLAGS:+false} :; then :
13554 if ${PKG_CONFIG+:} false
; then :
13555 PNG_CFLAGS
=`$PKG_CONFIG --cflags libpng 2>/dev/null`
13558 test "$cross_compiling" = yes || PNG_CFLAGS
=${PNG_CFLAGS:-$X_CFLAGS}
13559 if ${PNG_LIBS:+false} :; then :
13560 if ${PKG_CONFIG+:} false
; then :
13561 PNG_LIBS
=`$PKG_CONFIG --libs libpng 2>/dev/null`
13564 test "$cross_compiling" = yes || PNG_LIBS
=${PNG_LIBS:-$X_LIBS}
13566 $as_echo "$as_me:${as_lineno-$LINENO}: libpng cflags: $PNG_CFLAGS" >&5
13567 $as_echo "$as_me:${as_lineno-$LINENO}: libpng libs: $PNG_LIBS" >&5
13568 ac_save_CPPFLAGS
=$CPPFLAGS
13569 CPPFLAGS
="$CPPFLAGS $PNG_CFLAGS"
13570 for ac_header
in png.h
13572 ac_fn_c_check_header_mongrel
"$LINENO" "png.h" "ac_cv_header_png_h" "$ac_includes_default"
13573 if test "x$ac_cv_header_png_h" = xyes
; then :
13574 cat >>confdefs.h
<<_ACEOF
13575 #define HAVE_PNG_H 1
13582 if test "$ac_cv_header_png_h" = "yes"
13584 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lpng" >&5
13585 $as_echo_n "checking for -lpng... " >&6; }
13586 if ${ac_cv_lib_soname_png+:} false
; then :
13587 $as_echo_n "(cached) " >&6
13589 ac_check_soname_save_LIBS
=$LIBS
13590 LIBS
="-lpng $PNG_LIBS -lm -lz $LIBS"
13591 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13592 /* end confdefs.h. */
13594 /* Override any GCC internal prototype to avoid an error.
13595 Use char because int might match the return type of a GCC
13596 builtin and then its argument prototype would still apply. */
13600 char png_create_read_struct ();
13604 return png_create_read_struct ();
13609 if ac_fn_c_try_link
"$LINENO"; then :
13611 dll
) ac_cv_lib_soname_png
=`$ac_cv_path_LDD conftest.exe | grep "png" | sed -e "s/dll.*/dll/"';2,$d'` ;;
13612 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'` ;;
13613 *) 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'`
13614 if ${ac_cv_lib_soname_png:+false} :; then :
13615 ac_cv_lib_soname_png
=`$LDD conftest$ac_exeext | grep "libpng[0-9]*\\.$LIBEXT" | sed -e "s/^.*\(libpng[0-9]*\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
13619 rm -f core conftest.err conftest.
$ac_objext \
13620 conftest
$ac_exeext conftest.
$ac_ext
13621 LIBS
=$ac_check_soname_save_LIBS
13623 if ${ac_cv_lib_soname_png:+false} :; then :
13624 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13625 $as_echo "not found" >&6; }
13628 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_png" >&5
13629 $as_echo "$ac_cv_lib_soname_png" >&6; }
13631 cat >>confdefs.h
<<_ACEOF
13632 #define SONAME_LIBPNG "$ac_cv_lib_soname_png"
13635 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13636 /* end confdefs.h. */
13641 typeof(png_set_expand_gray_1_2_4_to_8) *p
13646 if ac_fn_c_try_compile
"$LINENO"; then :
13648 $as_echo "#define HAVE_PNG_SET_EXPAND_GRAY_1_2_4_TO_8 1" >>confdefs.h
13651 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
13656 CPPFLAGS
=$ac_save_CPPFLAGS
13657 test -z "$PNG_CFLAGS" || PNG_CFLAGS
=`echo " $PNG_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
13658 test -z "$PNG_LIBS" || PNG_LIBS
=`echo " $PNG_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
13661 if test "x$ac_cv_lib_soname_png" = "x"; then :
13662 case "x$with_png" in
13663 x
) as_fn_append wine_warnings
"|libpng ${notice_platform}development files not found, PNG won't be supported." ;;
13665 *) as_fn_error $?
"libpng ${notice_platform}development files not found, PNG won't be supported.
13666 This is an error since --with-png was requested." "$LINENO" 5 ;;
13671 if test "x$with_tiff" != "xno"
13673 if ${TIFF_CFLAGS:+false} :; then :
13674 if ${PKG_CONFIG+:} false
; then :
13675 TIFF_CFLAGS
=`$PKG_CONFIG --cflags libtiff-4 2>/dev/null`
13679 if ${TIFF_LIBS:+false} :; then :
13680 if ${PKG_CONFIG+:} false
; then :
13681 TIFF_LIBS
=`$PKG_CONFIG --libs libtiff-4 2>/dev/null`
13686 $as_echo "$as_me:${as_lineno-$LINENO}: libtiff-4 cflags: $TIFF_CFLAGS" >&5
13687 $as_echo "$as_me:${as_lineno-$LINENO}: libtiff-4 libs: $TIFF_LIBS" >&5
13688 ac_save_CPPFLAGS
=$CPPFLAGS
13689 CPPFLAGS
="$CPPFLAGS $TIFF_CFLAGS"
13690 for ac_header
in tiffio.h
13692 ac_fn_c_check_header_mongrel
"$LINENO" "tiffio.h" "ac_cv_header_tiffio_h" "$ac_includes_default"
13693 if test "x$ac_cv_header_tiffio_h" = xyes
; then :
13694 cat >>confdefs.h
<<_ACEOF
13695 #define HAVE_TIFFIO_H 1
13702 if test "$ac_cv_header_tiffio_h" = "yes"
13704 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -ltiff" >&5
13705 $as_echo_n "checking for -ltiff... " >&6; }
13706 if ${ac_cv_lib_soname_tiff+:} false
; then :
13707 $as_echo_n "(cached) " >&6
13709 ac_check_soname_save_LIBS
=$LIBS
13710 LIBS
="-ltiff $TIFF_LIBS $LIBS"
13711 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13712 /* end confdefs.h. */
13714 /* Override any GCC internal prototype to avoid an error.
13715 Use char because int might match the return type of a GCC
13716 builtin and then its argument prototype would still apply. */
13720 char TIFFClientOpen ();
13724 return TIFFClientOpen ();
13729 if ac_fn_c_try_link
"$LINENO"; then :
13731 dll
) ac_cv_lib_soname_tiff
=`$ac_cv_path_LDD conftest.exe | grep "tiff" | sed -e "s/dll.*/dll/"';2,$d'` ;;
13732 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'` ;;
13733 *) ac_cv_lib_soname_tiff
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libtiff\\.$LIBEXT" | sed -e "s/^.*\\[\\(libtiff\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
13734 if ${ac_cv_lib_soname_tiff:+false} :; then :
13735 ac_cv_lib_soname_tiff
=`$LDD conftest$ac_exeext | grep "libtiff\\.$LIBEXT" | sed -e "s/^.*\(libtiff\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
13739 rm -f core conftest.err conftest.
$ac_objext \
13740 conftest
$ac_exeext conftest.
$ac_ext
13741 LIBS
=$ac_check_soname_save_LIBS
13743 if ${ac_cv_lib_soname_tiff:+false} :; then :
13744 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13745 $as_echo "not found" >&6; }
13748 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_tiff" >&5
13749 $as_echo "$ac_cv_lib_soname_tiff" >&6; }
13751 cat >>confdefs.h
<<_ACEOF
13752 #define SONAME_LIBTIFF "$ac_cv_lib_soname_tiff"
13758 CPPFLAGS
=$ac_save_CPPFLAGS
13759 test -z "$TIFF_CFLAGS" || TIFF_CFLAGS
=`echo " $TIFF_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
13760 test -z "$TIFF_LIBS" || TIFF_LIBS
=`echo " $TIFF_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
13763 if test "x$ac_cv_lib_soname_tiff" = "x"; then :
13764 case "x$with_tiff" in
13765 x
) as_fn_append wine_notices
"|libtiff ${notice_platform}development files not found, TIFF won't be supported." ;;
13767 *) as_fn_error $?
"libtiff ${notice_platform}development files not found, TIFF won't be supported.
13768 This is an error since --with-tiff was requested." "$LINENO" 5 ;;
13773 if test "x$with_mpg123" != "xno"
13775 if ${MPG123_CFLAGS:+false} :; then :
13776 if ${PKG_CONFIG+:} false
; then :
13777 MPG123_CFLAGS
=`$PKG_CONFIG --cflags libmpg123 2>/dev/null`
13781 if ${MPG123_LIBS:+false} :; then :
13782 if ${PKG_CONFIG+:} false
; then :
13783 MPG123_LIBS
=`$PKG_CONFIG --libs libmpg123 2>/dev/null`
13787 MPG123_LIBS
=${MPG123_LIBS:-"-lmpg123"}
13788 $as_echo "$as_me:${as_lineno-$LINENO}: libmpg123 cflags: $MPG123_CFLAGS" >&5
13789 $as_echo "$as_me:${as_lineno-$LINENO}: libmpg123 libs: $MPG123_LIBS" >&5
13790 ac_save_CPPFLAGS
=$CPPFLAGS
13791 CPPFLAGS
="$CPPFLAGS $MPG123_CFLAGS"
13792 for ac_header
in mpg123.h
13794 ac_fn_c_check_header_mongrel
"$LINENO" "mpg123.h" "ac_cv_header_mpg123_h" "$ac_includes_default"
13795 if test "x$ac_cv_header_mpg123_h" = xyes
; then :
13796 cat >>confdefs.h
<<_ACEOF
13797 #define HAVE_MPG123_H 1
13804 if test "$ac_cv_header_mpg123_h" = "yes"
13806 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for mpg123_feed in -lmpg123" >&5
13807 $as_echo_n "checking for mpg123_feed in -lmpg123... " >&6; }
13808 if ${ac_cv_lib_mpg123_mpg123_feed+:} false
; then :
13809 $as_echo_n "(cached) " >&6
13811 ac_check_lib_save_LIBS
=$LIBS
13812 LIBS
="-lmpg123 $MPG123_LIBS $LIBS"
13813 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13814 /* end confdefs.h. */
13816 /* Override any GCC internal prototype to avoid an error.
13817 Use char because int might match the return type of a GCC
13818 builtin and then its argument prototype would still apply. */
13822 char mpg123_feed ();
13826 return mpg123_feed ();
13831 if ac_fn_c_try_link
"$LINENO"; then :
13832 ac_cv_lib_mpg123_mpg123_feed
=yes
13834 ac_cv_lib_mpg123_mpg123_feed
=no
13836 rm -f core conftest.err conftest.
$ac_objext \
13837 conftest
$ac_exeext conftest.
$ac_ext
13838 LIBS
=$ac_check_lib_save_LIBS
13840 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_mpg123_mpg123_feed" >&5
13841 $as_echo "$ac_cv_lib_mpg123_mpg123_feed" >&6; }
13842 if test "x$ac_cv_lib_mpg123_mpg123_feed" = xyes
; then :
13852 CPPFLAGS
=$ac_save_CPPFLAGS
13853 test -z "$MPG123_CFLAGS" || MPG123_CFLAGS
=`echo " $MPG123_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
13854 test -z "$MPG123_LIBS" || MPG123_LIBS
=`echo " $MPG123_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
13857 if test "x$ac_cv_lib_mpg123_mpg123_feed" != xyes
-a x
"$ac_cv_header_CoreAudio_CoreAudio_h" != xyes
; then :
13858 case "x$with_mpg123" in
13859 x
) as_fn_append wine_notices
"|libmpg123 ${notice_platform}development files not found (or too old), mp3 codec won't be supported." ;;
13861 *) as_fn_error $?
"libmpg123 ${notice_platform}development files not found (or too old), mp3 codec won't be supported.
13862 This is an error since --with-mpg123 was requested." "$LINENO" 5 ;;
13864 enable_winemp3_acm
=${enable_winemp3_acm:-no}
13867 if test "$ac_cv_header_AL_al_h" = "yes"
13869 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lopenal" >&5
13870 $as_echo_n "checking for -lopenal... " >&6; }
13871 if ${ac_cv_lib_soname_openal+:} false
; then :
13872 $as_echo_n "(cached) " >&6
13874 ac_check_soname_save_LIBS
=$LIBS
13875 LIBS
="-lopenal $LIBS"
13876 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13877 /* end confdefs.h. */
13879 /* Override any GCC internal prototype to avoid an error.
13880 Use char because int might match the return type of a GCC
13881 builtin and then its argument prototype would still apply. */
13885 char alGetSource3i ();
13889 return alGetSource3i ();
13894 if ac_fn_c_try_link
"$LINENO"; then :
13896 dll
) ac_cv_lib_soname_openal
=`$ac_cv_path_LDD conftest.exe | grep "openal" | sed -e "s/dll.*/dll/"';2,$d'` ;;
13897 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'` ;;
13898 *) ac_cv_lib_soname_openal
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libopenal\\.$LIBEXT" | sed -e "s/^.*\\[\\(libopenal\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
13899 if ${ac_cv_lib_soname_openal:+false} :; then :
13900 ac_cv_lib_soname_openal
=`$LDD conftest$ac_exeext | grep "libopenal\\.$LIBEXT" | sed -e "s/^.*\(libopenal\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
13904 rm -f core conftest.err conftest.
$ac_objext \
13905 conftest
$ac_exeext conftest.
$ac_ext
13906 LIBS
=$ac_check_soname_save_LIBS
13908 if ${ac_cv_lib_soname_openal:+false} :; then :
13909 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13910 $as_echo "not found" >&6; }
13913 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_openal" >&5
13914 $as_echo "$ac_cv_lib_soname_openal" >&6; }
13916 cat >>confdefs.h
<<_ACEOF
13917 #define SONAME_LIBOPENAL "$ac_cv_lib_soname_openal"
13920 OPENAL_LIBS
="-lopenal"
13922 ac_cv_lib_openal
=yes
13924 cat >>confdefs.h
<<_ACEOF
13925 #define HAVE_OPENAL 1
13930 if test "x$ac_cv_lib_openal" != xyes
; then :
13931 case "x$with_openal" in
13932 x
) as_fn_append wine_notices
"|libopenal ${notice_platform}development files not found (or too old), OpenAL won't be supported" ;;
13934 *) as_fn_error $?
"libopenal ${notice_platform}development files not found (or too old), OpenAL won't be supported
13935 This is an error since --with-openal was requested." "$LINENO" 5 ;;
13937 enable_openal32
=${enable_openal32:-no}
13940 if test "x$ac_cv_lib_openal" = xyes
13942 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for openal-soft" >&5
13943 $as_echo_n "checking for openal-soft... " >&6; }
13944 if ${ac_cv_have_openalsoft+:} false
; then :
13945 $as_echo_n "(cached) " >&6
13947 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13948 /* end confdefs.h. */
13950 #include <AL/alc.h>
13951 #include <AL/alext.h>
13952 LPALCRENDERSAMPLESSOFT x;
13961 if ac_fn_c_try_compile
"$LINENO"; then :
13962 ac_cv_have_openalsoft
=yes
13964 ac_cv_have_openalsoft
=no
13966 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
13968 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_openalsoft" >&5
13969 $as_echo "$ac_cv_have_openalsoft" >&6; }
13971 if test "x$ac_cv_have_openalsoft" != xyes
13973 as_fn_append wine_notices
"|openal-soft ${notice_platform}development files not found (or too old), XAudio2 won't be supported"
13974 enable_x3daudio1_0
=${enable_x3daudio1_0:-no}
13975 enable_x3daudio1_1
=${enable_x3daudio1_1:-no}
13976 enable_x3daudio1_2
=${enable_x3daudio1_2:-no}
13977 enable_x3daudio1_3
=${enable_x3daudio1_3:-no}
13978 enable_x3daudio1_4
=${enable_x3daudio1_4:-no}
13979 enable_x3daudio1_5
=${enable_x3daudio1_5:-no}
13980 enable_x3daudio1_6
=${enable_x3daudio1_6:-no}
13981 enable_x3daudio1_7
=${enable_x3daudio1_7:-no}
13982 enable_xapofx1_1
=${enable_xapofx1_1:-no}
13983 enable_xapofx1_2
=${enable_xapofx1_2:-no}
13984 enable_xapofx1_3
=${enable_xapofx1_3:-no}
13985 enable_xapofx1_4
=${enable_xapofx1_4:-no}
13986 enable_xapofx1_5
=${enable_xapofx1_5:-no}
13987 enable_xaudio2_0
=${enable_xaudio2_0:-no}
13988 enable_xaudio2_1
=${enable_xaudio2_1:-no}
13989 enable_xaudio2_2
=${enable_xaudio2_2:-no}
13990 enable_xaudio2_3
=${enable_xaudio2_3:-no}
13991 enable_xaudio2_4
=${enable_xaudio2_4:-no}
13992 enable_xaudio2_5
=${enable_xaudio2_5:-no}
13993 enable_xaudio2_6
=${enable_xaudio2_6:-no}
13994 enable_xaudio2_7
=${enable_xaudio2_7:-no}
13995 enable_xaudio2_8
=${enable_xaudio2_8:-no}
13996 enable_xaudio2_9
=${enable_xaudio2_9:-no}
13999 if test "$ac_cv_header_kstat_h" = "yes"
14001 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for kstat_open in -lkstat" >&5
14002 $as_echo_n "checking for kstat_open in -lkstat... " >&6; }
14003 if ${ac_cv_lib_kstat_kstat_open+:} false
; then :
14004 $as_echo_n "(cached) " >&6
14006 ac_check_lib_save_LIBS
=$LIBS
14007 LIBS
="-lkstat $LIBS"
14008 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14009 /* end confdefs.h. */
14011 /* Override any GCC internal prototype to avoid an error.
14012 Use char because int might match the return type of a GCC
14013 builtin and then its argument prototype would still apply. */
14017 char kstat_open ();
14021 return kstat_open ();
14026 if ac_fn_c_try_link
"$LINENO"; then :
14027 ac_cv_lib_kstat_kstat_open
=yes
14029 ac_cv_lib_kstat_kstat_open
=no
14031 rm -f core conftest.err conftest.
$ac_objext \
14032 conftest
$ac_exeext conftest.
$ac_ext
14033 LIBS
=$ac_check_lib_save_LIBS
14035 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_kstat_kstat_open" >&5
14036 $as_echo "$ac_cv_lib_kstat_kstat_open" >&6; }
14037 if test "x$ac_cv_lib_kstat_kstat_open" = xyes
; then :
14039 $as_echo "#define HAVE_LIBKSTAT 1" >>confdefs.h
14041 KSTAT_LIBS
="-lkstat"
14047 if test "$ac_cv_header_libprocstat_h" = "yes"
14049 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for procstat_open_sysctl in -lprocstat" >&5
14050 $as_echo_n "checking for procstat_open_sysctl in -lprocstat... " >&6; }
14051 if ${ac_cv_lib_procstat_procstat_open_sysctl+:} false
; then :
14052 $as_echo_n "(cached) " >&6
14054 ac_check_lib_save_LIBS
=$LIBS
14055 LIBS
="-lprocstat $LIBS"
14056 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14057 /* end confdefs.h. */
14059 /* Override any GCC internal prototype to avoid an error.
14060 Use char because int might match the return type of a GCC
14061 builtin and then its argument prototype would still apply. */
14065 char procstat_open_sysctl ();
14069 return procstat_open_sysctl ();
14074 if ac_fn_c_try_link
"$LINENO"; then :
14075 ac_cv_lib_procstat_procstat_open_sysctl
=yes
14077 ac_cv_lib_procstat_procstat_open_sysctl
=no
14079 rm -f core conftest.err conftest.
$ac_objext \
14080 conftest
$ac_exeext conftest.
$ac_ext
14081 LIBS
=$ac_check_lib_save_LIBS
14083 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_procstat_procstat_open_sysctl" >&5
14084 $as_echo "$ac_cv_lib_procstat_procstat_open_sysctl" >&6; }
14085 if test "x$ac_cv_lib_procstat_procstat_open_sysctl" = xyes
; then :
14087 $as_echo "#define HAVE_LIBPROCSTAT 1" >>confdefs.h
14089 PROCSTAT_LIBS
="-lprocstat"
14095 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lodbc" >&5
14096 $as_echo_n "checking for -lodbc... " >&6; }
14097 if ${ac_cv_lib_soname_odbc+:} false
; then :
14098 $as_echo_n "(cached) " >&6
14100 ac_check_soname_save_LIBS
=$LIBS
14101 LIBS
="-lodbc $LIBS"
14102 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14103 /* end confdefs.h. */
14105 /* Override any GCC internal prototype to avoid an error.
14106 Use char because int might match the return type of a GCC
14107 builtin and then its argument prototype would still apply. */
14111 char SQLConnect ();
14115 return SQLConnect ();
14120 if ac_fn_c_try_link
"$LINENO"; then :
14122 dll
) ac_cv_lib_soname_odbc
=`$ac_cv_path_LDD conftest.exe | grep "odbc" | sed -e "s/dll.*/dll/"';2,$d'` ;;
14123 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'` ;;
14124 *) ac_cv_lib_soname_odbc
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libodbc\\.$LIBEXT" | sed -e "s/^.*\\[\\(libodbc\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
14125 if ${ac_cv_lib_soname_odbc:+false} :; then :
14126 ac_cv_lib_soname_odbc
=`$LDD conftest$ac_exeext | grep "libodbc\\.$LIBEXT" | sed -e "s/^.*\(libodbc\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
14130 rm -f core conftest.err conftest.
$ac_objext \
14131 conftest
$ac_exeext conftest.
$ac_ext
14132 LIBS
=$ac_check_soname_save_LIBS
14134 if ${ac_cv_lib_soname_odbc:+false} :; then :
14135 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
14136 $as_echo "not found" >&6; }
14137 cat >>confdefs.h
<<_ACEOF
14138 #define SONAME_LIBODBC "libodbc.$LIBEXT"
14142 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_odbc" >&5
14143 $as_echo "$ac_cv_lib_soname_odbc" >&6; }
14145 cat >>confdefs.h
<<_ACEOF
14146 #define SONAME_LIBODBC "$ac_cv_lib_soname_odbc"
14152 if test "x$with_netapi" != "xno"
14154 if ${NETAPI_CFLAGS:+false} :; then :
14155 if ${PKG_CONFIG+:} false
; then :
14156 NETAPI_CFLAGS
=`$PKG_CONFIG --cflags netapi 2>/dev/null`
14160 if ${NETAPI_LIBS:+false} :; then :
14161 if ${PKG_CONFIG+:} false
; then :
14162 NETAPI_LIBS
=`$PKG_CONFIG --libs netapi 2>/dev/null`
14167 $as_echo "$as_me:${as_lineno-$LINENO}: netapi cflags: $NETAPI_CFLAGS" >&5
14168 $as_echo "$as_me:${as_lineno-$LINENO}: netapi libs: $NETAPI_LIBS" >&5
14169 ac_save_CPPFLAGS
=$CPPFLAGS
14170 CPPFLAGS
="$CPPFLAGS $NETAPI_CFLAGS"
14171 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lnetapi" >&5
14172 $as_echo_n "checking for -lnetapi... " >&6; }
14173 if ${ac_cv_lib_soname_netapi+:} false
; then :
14174 $as_echo_n "(cached) " >&6
14176 ac_check_soname_save_LIBS
=$LIBS
14177 LIBS
="-lnetapi $NETAPI_LIBS $LIBS"
14178 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14179 /* end confdefs.h. */
14181 /* Override any GCC internal prototype to avoid an error.
14182 Use char because int might match the return type of a GCC
14183 builtin and then its argument prototype would still apply. */
14187 char libnetapi_init ();
14191 return libnetapi_init ();
14196 if ac_fn_c_try_link
"$LINENO"; then :
14198 dll
) ac_cv_lib_soname_netapi
=`$ac_cv_path_LDD conftest.exe | grep "netapi" | sed -e "s/dll.*/dll/"';2,$d'` ;;
14199 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'` ;;
14200 *) ac_cv_lib_soname_netapi
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libnetapi\\.$LIBEXT" | sed -e "s/^.*\\[\\(libnetapi\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
14201 if ${ac_cv_lib_soname_netapi:+false} :; then :
14202 ac_cv_lib_soname_netapi
=`$LDD conftest$ac_exeext | grep "libnetapi\\.$LIBEXT" | sed -e "s/^.*\(libnetapi\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
14206 rm -f core conftest.err conftest.
$ac_objext \
14207 conftest
$ac_exeext conftest.
$ac_ext
14208 LIBS
=$ac_check_soname_save_LIBS
14210 if ${ac_cv_lib_soname_netapi:+false} :; then :
14211 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
14212 $as_echo "not found" >&6; }
14213 cat >>confdefs.h
<<_ACEOF
14214 #define SONAME_LIBNETAPI "libnetapi.$LIBEXT"
14218 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_netapi" >&5
14219 $as_echo "$ac_cv_lib_soname_netapi" >&6; }
14221 cat >>confdefs.h
<<_ACEOF
14222 #define SONAME_LIBNETAPI "$ac_cv_lib_soname_netapi"
14227 CPPFLAGS
=$ac_save_CPPFLAGS
14228 test -z "$NETAPI_CFLAGS" || NETAPI_CFLAGS
=`echo " $NETAPI_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
14229 test -z "$NETAPI_LIBS" || NETAPI_LIBS
=`echo " $NETAPI_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
14233 if test "x$enable_winealsa_drv$enable_winecoreaudio_drv$enable_winepulse_drv$enable_wineoss_drv" = xnononono
-a \
14234 "x$with_alsa$with_coreaudio$with_oss$with_pulse" != xnononono
14236 as_fn_append wine_warnings
"|No sound system was found. Windows applications will be silent."
14242 if test "x${GCC}" = "xyes"
14244 EXTRACFLAGS
="-Wall -pipe"
14246 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gcc strength-reduce bug" >&5
14247 $as_echo_n "checking for gcc strength-reduce bug... " >&6; }
14248 if ${ac_cv_c_gcc_strength_bug+:} false
; then :
14249 $as_echo_n "(cached) " >&6
14251 if test "$cross_compiling" = yes; then :
14252 ac_cv_c_gcc_strength_bug
="no"
14254 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14255 /* end confdefs.h. */
14256 int L[4] = {0,1,2,3};
14260 static int Array[3];
14261 unsigned int B = 3;
14263 for(i=0; i<B; i++) Array[i] = i - 3;
14264 for(i=0; i<4 - 1; i++) L[i] = L[i + 1];
14266 return (Array[1] != -2 || L[2] != 3)
14271 if ac_fn_c_try_run
"$LINENO"; then :
14272 ac_cv_c_gcc_strength_bug
="no"
14274 ac_cv_c_gcc_strength_bug
="yes"
14276 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext \
14277 conftest.
$ac_objext conftest.beam conftest.
$ac_ext
14281 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_gcc_strength_bug" >&5
14282 $as_echo "$ac_cv_c_gcc_strength_bug" >&6; }
14283 if test "$ac_cv_c_gcc_strength_bug" = "yes"
14285 EXTRACFLAGS
="$EXTRACFLAGS -fno-strength-reduce"
14288 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fno-builtin" >&5
14289 $as_echo_n "checking whether the compiler supports -fno-builtin... " >&6; }
14290 if ${ac_cv_cflags__fno_builtin+:} false
; then :
14291 $as_echo_n "(cached) " >&6
14293 ac_wine_try_cflags_saved
=$CFLAGS
14294 CFLAGS
="$CFLAGS -fno-builtin"
14295 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14296 /* end confdefs.h. */
14297 int main(int argc, char **argv) { return 0; }
14299 if ac_fn_c_try_link
"$LINENO"; then :
14300 ac_cv_cflags__fno_builtin
=yes
14302 ac_cv_cflags__fno_builtin
=no
14304 rm -f core conftest.err conftest.
$ac_objext \
14305 conftest
$ac_exeext conftest.
$ac_ext
14306 CFLAGS
=$ac_wine_try_cflags_saved
14308 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fno_builtin" >&5
14309 $as_echo "$ac_cv_cflags__fno_builtin" >&6; }
14310 if test "x$ac_cv_cflags__fno_builtin" = xyes
; then :
14311 BUILTINFLAG
="-fno-builtin"
14314 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fno-strict-aliasing" >&5
14315 $as_echo_n "checking whether the compiler supports -fno-strict-aliasing... " >&6; }
14316 if ${ac_cv_cflags__fno_strict_aliasing+:} false
; then :
14317 $as_echo_n "(cached) " >&6
14319 ac_wine_try_cflags_saved
=$CFLAGS
14320 CFLAGS
="$CFLAGS -fno-strict-aliasing"
14321 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14322 /* end confdefs.h. */
14323 int main(int argc, char **argv) { return 0; }
14325 if ac_fn_c_try_link
"$LINENO"; then :
14326 ac_cv_cflags__fno_strict_aliasing
=yes
14328 ac_cv_cflags__fno_strict_aliasing
=no
14330 rm -f core conftest.err conftest.
$ac_objext \
14331 conftest
$ac_exeext conftest.
$ac_ext
14332 CFLAGS
=$ac_wine_try_cflags_saved
14334 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fno_strict_aliasing" >&5
14335 $as_echo "$ac_cv_cflags__fno_strict_aliasing" >&6; }
14336 if test "x$ac_cv_cflags__fno_strict_aliasing" = xyes
; then :
14337 EXTRACFLAGS
="$EXTRACFLAGS -fno-strict-aliasing"
14339 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fexcess-precision=standard" >&5
14340 $as_echo_n "checking whether the compiler supports -fexcess-precision=standard... " >&6; }
14341 if ${ac_cv_cflags__fexcess_precision_standard+:} false
; then :
14342 $as_echo_n "(cached) " >&6
14344 ac_wine_try_cflags_saved
=$CFLAGS
14345 CFLAGS
="$CFLAGS -fexcess-precision=standard"
14346 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14347 /* end confdefs.h. */
14348 int main(int argc, char **argv) { return 0; }
14350 if ac_fn_c_try_link
"$LINENO"; then :
14351 ac_cv_cflags__fexcess_precision_standard
=yes
14353 ac_cv_cflags__fexcess_precision_standard
=no
14355 rm -f core conftest.err conftest.
$ac_objext \
14356 conftest
$ac_exeext conftest.
$ac_ext
14357 CFLAGS
=$ac_wine_try_cflags_saved
14359 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fexcess_precision_standard" >&5
14360 $as_echo "$ac_cv_cflags__fexcess_precision_standard" >&6; }
14361 if test "x$ac_cv_cflags__fexcess_precision_standard" = xyes
; then :
14362 EXCESS_PRECISION_CFLAGS
="-fexcess-precision=standard"
14365 saved_CFLAGS
=$CFLAGS
14366 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Werror=unknown-warning-option" >&5
14367 $as_echo_n "checking whether the compiler supports -Werror=unknown-warning-option... " >&6; }
14368 if ${ac_cv_cflags__Werror_unknown_warning_option+:} false
; then :
14369 $as_echo_n "(cached) " >&6
14371 ac_wine_try_cflags_saved
=$CFLAGS
14372 CFLAGS
="$CFLAGS -Werror=unknown-warning-option"
14373 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14374 /* end confdefs.h. */
14375 int main(int argc, char **argv) { return 0; }
14377 if ac_fn_c_try_link
"$LINENO"; then :
14378 ac_cv_cflags__Werror_unknown_warning_option
=yes
14380 ac_cv_cflags__Werror_unknown_warning_option
=no
14382 rm -f core conftest.err conftest.
$ac_objext \
14383 conftest
$ac_exeext conftest.
$ac_ext
14384 CFLAGS
=$ac_wine_try_cflags_saved
14386 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Werror_unknown_warning_option" >&5
14387 $as_echo "$ac_cv_cflags__Werror_unknown_warning_option" >&6; }
14388 if test "x$ac_cv_cflags__Werror_unknown_warning_option" = xyes
; then :
14389 CFLAGS
="$CFLAGS -Werror=unknown-warning-option"
14391 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wdeclaration-after-statement" >&5
14392 $as_echo_n "checking whether the compiler supports -Wdeclaration-after-statement... " >&6; }
14393 if ${ac_cv_cflags__Wdeclaration_after_statement+:} false
; then :
14394 $as_echo_n "(cached) " >&6
14396 ac_wine_try_cflags_saved
=$CFLAGS
14397 CFLAGS
="$CFLAGS -Wdeclaration-after-statement"
14398 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14399 /* end confdefs.h. */
14400 int main(int argc, char **argv) { return 0; }
14402 if ac_fn_c_try_link
"$LINENO"; then :
14403 ac_cv_cflags__Wdeclaration_after_statement
=yes
14405 ac_cv_cflags__Wdeclaration_after_statement
=no
14407 rm -f core conftest.err conftest.
$ac_objext \
14408 conftest
$ac_exeext conftest.
$ac_ext
14409 CFLAGS
=$ac_wine_try_cflags_saved
14411 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wdeclaration_after_statement" >&5
14412 $as_echo "$ac_cv_cflags__Wdeclaration_after_statement" >&6; }
14413 if test "x$ac_cv_cflags__Wdeclaration_after_statement" = xyes
; then :
14414 EXTRACFLAGS
="$EXTRACFLAGS -Wdeclaration-after-statement"
14416 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wempty-body" >&5
14417 $as_echo_n "checking whether the compiler supports -Wempty-body... " >&6; }
14418 if ${ac_cv_cflags__Wempty_body+:} false
; then :
14419 $as_echo_n "(cached) " >&6
14421 ac_wine_try_cflags_saved
=$CFLAGS
14422 CFLAGS
="$CFLAGS -Wempty-body"
14423 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14424 /* end confdefs.h. */
14425 int main(int argc, char **argv) { return 0; }
14427 if ac_fn_c_try_link
"$LINENO"; then :
14428 ac_cv_cflags__Wempty_body
=yes
14430 ac_cv_cflags__Wempty_body
=no
14432 rm -f core conftest.err conftest.
$ac_objext \
14433 conftest
$ac_exeext conftest.
$ac_ext
14434 CFLAGS
=$ac_wine_try_cflags_saved
14436 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wempty_body" >&5
14437 $as_echo "$ac_cv_cflags__Wempty_body" >&6; }
14438 if test "x$ac_cv_cflags__Wempty_body" = xyes
; then :
14439 EXTRACFLAGS
="$EXTRACFLAGS -Wempty-body"
14441 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wignored-qualifiers" >&5
14442 $as_echo_n "checking whether the compiler supports -Wignored-qualifiers... " >&6; }
14443 if ${ac_cv_cflags__Wignored_qualifiers+:} false
; then :
14444 $as_echo_n "(cached) " >&6
14446 ac_wine_try_cflags_saved
=$CFLAGS
14447 CFLAGS
="$CFLAGS -Wignored-qualifiers"
14448 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14449 /* end confdefs.h. */
14450 int main(int argc, char **argv) { return 0; }
14452 if ac_fn_c_try_link
"$LINENO"; then :
14453 ac_cv_cflags__Wignored_qualifiers
=yes
14455 ac_cv_cflags__Wignored_qualifiers
=no
14457 rm -f core conftest.err conftest.
$ac_objext \
14458 conftest
$ac_exeext conftest.
$ac_ext
14459 CFLAGS
=$ac_wine_try_cflags_saved
14461 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wignored_qualifiers" >&5
14462 $as_echo "$ac_cv_cflags__Wignored_qualifiers" >&6; }
14463 if test "x$ac_cv_cflags__Wignored_qualifiers" = xyes
; then :
14464 EXTRACFLAGS
="$EXTRACFLAGS -Wignored-qualifiers"
14466 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wshift-overflow=2" >&5
14467 $as_echo_n "checking whether the compiler supports -Wshift-overflow=2... " >&6; }
14468 if ${ac_cv_cflags__Wshift_overflow_2+:} false
; then :
14469 $as_echo_n "(cached) " >&6
14471 ac_wine_try_cflags_saved
=$CFLAGS
14472 CFLAGS
="$CFLAGS -Wshift-overflow=2"
14473 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14474 /* end confdefs.h. */
14475 int main(int argc, char **argv) { return 0; }
14477 if ac_fn_c_try_link
"$LINENO"; then :
14478 ac_cv_cflags__Wshift_overflow_2
=yes
14480 ac_cv_cflags__Wshift_overflow_2
=no
14482 rm -f core conftest.err conftest.
$ac_objext \
14483 conftest
$ac_exeext conftest.
$ac_ext
14484 CFLAGS
=$ac_wine_try_cflags_saved
14486 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wshift_overflow_2" >&5
14487 $as_echo "$ac_cv_cflags__Wshift_overflow_2" >&6; }
14488 if test "x$ac_cv_cflags__Wshift_overflow_2" = xyes
; then :
14489 EXTRACFLAGS
="$EXTRACFLAGS -Wshift-overflow=2"
14491 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wstrict-prototypes" >&5
14492 $as_echo_n "checking whether the compiler supports -Wstrict-prototypes... " >&6; }
14493 if ${ac_cv_cflags__Wstrict_prototypes+:} false
; then :
14494 $as_echo_n "(cached) " >&6
14496 ac_wine_try_cflags_saved
=$CFLAGS
14497 CFLAGS
="$CFLAGS -Wstrict-prototypes"
14498 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14499 /* end confdefs.h. */
14500 int main(int argc, char **argv) { return 0; }
14502 if ac_fn_c_try_link
"$LINENO"; then :
14503 ac_cv_cflags__Wstrict_prototypes
=yes
14505 ac_cv_cflags__Wstrict_prototypes
=no
14507 rm -f core conftest.err conftest.
$ac_objext \
14508 conftest
$ac_exeext conftest.
$ac_ext
14509 CFLAGS
=$ac_wine_try_cflags_saved
14511 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wstrict_prototypes" >&5
14512 $as_echo "$ac_cv_cflags__Wstrict_prototypes" >&6; }
14513 if test "x$ac_cv_cflags__Wstrict_prototypes" = xyes
; then :
14514 EXTRACFLAGS
="$EXTRACFLAGS -Wstrict-prototypes"
14516 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wtype-limits" >&5
14517 $as_echo_n "checking whether the compiler supports -Wtype-limits... " >&6; }
14518 if ${ac_cv_cflags__Wtype_limits+:} false
; then :
14519 $as_echo_n "(cached) " >&6
14521 ac_wine_try_cflags_saved
=$CFLAGS
14522 CFLAGS
="$CFLAGS -Wtype-limits"
14523 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14524 /* end confdefs.h. */
14525 int main(int argc, char **argv) { return 0; }
14527 if ac_fn_c_try_link
"$LINENO"; then :
14528 ac_cv_cflags__Wtype_limits
=yes
14530 ac_cv_cflags__Wtype_limits
=no
14532 rm -f core conftest.err conftest.
$ac_objext \
14533 conftest
$ac_exeext conftest.
$ac_ext
14534 CFLAGS
=$ac_wine_try_cflags_saved
14536 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wtype_limits" >&5
14537 $as_echo "$ac_cv_cflags__Wtype_limits" >&6; }
14538 if test "x$ac_cv_cflags__Wtype_limits" = xyes
; then :
14539 EXTRACFLAGS
="$EXTRACFLAGS -Wtype-limits"
14541 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wunused-but-set-parameter" >&5
14542 $as_echo_n "checking whether the compiler supports -Wunused-but-set-parameter... " >&6; }
14543 if ${ac_cv_cflags__Wunused_but_set_parameter+:} false
; then :
14544 $as_echo_n "(cached) " >&6
14546 ac_wine_try_cflags_saved
=$CFLAGS
14547 CFLAGS
="$CFLAGS -Wunused-but-set-parameter"
14548 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14549 /* end confdefs.h. */
14550 int main(int argc, char **argv) { return 0; }
14552 if ac_fn_c_try_link
"$LINENO"; then :
14553 ac_cv_cflags__Wunused_but_set_parameter
=yes
14555 ac_cv_cflags__Wunused_but_set_parameter
=no
14557 rm -f core conftest.err conftest.
$ac_objext \
14558 conftest
$ac_exeext conftest.
$ac_ext
14559 CFLAGS
=$ac_wine_try_cflags_saved
14561 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wunused_but_set_parameter" >&5
14562 $as_echo "$ac_cv_cflags__Wunused_but_set_parameter" >&6; }
14563 if test "x$ac_cv_cflags__Wunused_but_set_parameter" = xyes
; then :
14564 EXTRACFLAGS
="$EXTRACFLAGS -Wunused-but-set-parameter"
14566 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wvla" >&5
14567 $as_echo_n "checking whether the compiler supports -Wvla... " >&6; }
14568 if ${ac_cv_cflags__Wvla+:} false
; then :
14569 $as_echo_n "(cached) " >&6
14571 ac_wine_try_cflags_saved
=$CFLAGS
14572 CFLAGS
="$CFLAGS -Wvla"
14573 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14574 /* end confdefs.h. */
14575 int main(int argc, char **argv) { return 0; }
14577 if ac_fn_c_try_link
"$LINENO"; then :
14578 ac_cv_cflags__Wvla
=yes
14580 ac_cv_cflags__Wvla
=no
14582 rm -f core conftest.err conftest.
$ac_objext \
14583 conftest
$ac_exeext conftest.
$ac_ext
14584 CFLAGS
=$ac_wine_try_cflags_saved
14586 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wvla" >&5
14587 $as_echo "$ac_cv_cflags__Wvla" >&6; }
14588 if test "x$ac_cv_cflags__Wvla" = xyes
; then :
14589 EXTRACFLAGS
="$EXTRACFLAGS -Wvla"
14591 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wwrite-strings" >&5
14592 $as_echo_n "checking whether the compiler supports -Wwrite-strings... " >&6; }
14593 if ${ac_cv_cflags__Wwrite_strings+:} false
; then :
14594 $as_echo_n "(cached) " >&6
14596 ac_wine_try_cflags_saved
=$CFLAGS
14597 CFLAGS
="$CFLAGS -Wwrite-strings"
14598 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14599 /* end confdefs.h. */
14600 int main(int argc, char **argv) { return 0; }
14602 if ac_fn_c_try_link
"$LINENO"; then :
14603 ac_cv_cflags__Wwrite_strings
=yes
14605 ac_cv_cflags__Wwrite_strings
=no
14607 rm -f core conftest.err conftest.
$ac_objext \
14608 conftest
$ac_exeext conftest.
$ac_ext
14609 CFLAGS
=$ac_wine_try_cflags_saved
14611 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wwrite_strings" >&5
14612 $as_echo "$ac_cv_cflags__Wwrite_strings" >&6; }
14613 if test "x$ac_cv_cflags__Wwrite_strings" = xyes
; then :
14614 EXTRACFLAGS
="$EXTRACFLAGS -Wwrite-strings"
14617 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wpointer-arith" >&5
14618 $as_echo_n "checking whether the compiler supports -Wpointer-arith... " >&6; }
14619 if ${ac_cv_cflags__Wpointer_arith+:} false
; then :
14620 $as_echo_n "(cached) " >&6
14622 ac_wine_try_cflags_saved
=$CFLAGS
14623 CFLAGS
="$CFLAGS -Wpointer-arith"
14624 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14625 /* end confdefs.h. */
14626 int main(int argc, char **argv) { return 0; }
14628 if ac_fn_c_try_link
"$LINENO"; then :
14629 ac_cv_cflags__Wpointer_arith
=yes
14631 ac_cv_cflags__Wpointer_arith
=no
14633 rm -f core conftest.err conftest.
$ac_objext \
14634 conftest
$ac_exeext conftest.
$ac_ext
14635 CFLAGS
=$ac_wine_try_cflags_saved
14637 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wpointer_arith" >&5
14638 $as_echo "$ac_cv_cflags__Wpointer_arith" >&6; }
14639 if test "x$ac_cv_cflags__Wpointer_arith" = xyes
; then :
14640 saved_string_h_CFLAGS
=$CFLAGS
14641 CFLAGS
="$CFLAGS -Wpointer-arith -Werror"
14642 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for broken string.h that generates warnings with -Wpointer-arith" >&5
14643 $as_echo_n "checking for broken string.h that generates warnings with -Wpointer-arith... " >&6; }
14644 if ${ac_cv_c_string_h_warnings+:} false
; then :
14645 $as_echo_n "(cached) " >&6
14647 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14648 /* end confdefs.h. */
14649 #include <string.h>
14658 if ac_fn_c_try_compile
"$LINENO"; then :
14659 ac_cv_c_string_h_warnings
=no
14661 ac_cv_c_string_h_warnings
=yes
14663 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
14665 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_string_h_warnings" >&5
14666 $as_echo "$ac_cv_c_string_h_warnings" >&6; }
14667 test "$ac_cv_c_string_h_warnings" = yes || EXTRACFLAGS
="$EXTRACFLAGS -Wpointer-arith"
14668 CFLAGS
=$saved_string_h_CFLAGS
14671 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wlogical-op" >&5
14672 $as_echo_n "checking whether the compiler supports -Wlogical-op... " >&6; }
14673 if ${ac_cv_cflags__Wlogical_op+:} false
; then :
14674 $as_echo_n "(cached) " >&6
14676 ac_wine_try_cflags_saved
=$CFLAGS
14677 CFLAGS
="$CFLAGS -Wlogical-op"
14678 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14679 /* end confdefs.h. */
14680 int main(int argc, char **argv) { return 0; }
14682 if ac_fn_c_try_link
"$LINENO"; then :
14683 ac_cv_cflags__Wlogical_op
=yes
14685 ac_cv_cflags__Wlogical_op
=no
14687 rm -f core conftest.err conftest.
$ac_objext \
14688 conftest
$ac_exeext conftest.
$ac_ext
14689 CFLAGS
=$ac_wine_try_cflags_saved
14691 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wlogical_op" >&5
14692 $as_echo "$ac_cv_cflags__Wlogical_op" >&6; }
14693 if test "x$ac_cv_cflags__Wlogical_op" = xyes
; then :
14694 saved_string_h_CFLAGS
=$CFLAGS
14695 CFLAGS
="$CFLAGS -Wlogical-op -Werror"
14696 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for broken string.h that generates warnings with -Wlogical-op" >&5
14697 $as_echo_n "checking for broken string.h that generates warnings with -Wlogical-op... " >&6; }
14698 if ${ac_cv_c_logicalop_noisy+:} false
; then :
14699 $as_echo_n "(cached) " >&6
14701 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14702 /* end confdefs.h. */
14703 #include <string.h>
14704 char*f(const char *h,char n) {return strchr(h,n);}
14713 if ac_fn_c_try_compile
"$LINENO"; then :
14714 ac_cv_c_logicalop_noisy
=no
14716 ac_cv_c_logicalop_noisy
=yes
14718 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
14720 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_logicalop_noisy" >&5
14721 $as_echo "$ac_cv_c_logicalop_noisy" >&6; }
14722 CFLAGS
=$saved_string_h_CFLAGS
14723 test "$ac_cv_c_logicalop_noisy" = yes || EXTRACFLAGS
="$EXTRACFLAGS -Wlogical-op"
14726 CFLAGS
=$saved_CFLAGS
14728 for ac_flag
in $CFLAGS; do
14730 -g) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -gdwarf-2" >&5
14731 $as_echo_n "checking whether the compiler supports -gdwarf-2... " >&6; }
14732 if ${ac_cv_cflags__gdwarf_2+:} false
; then :
14733 $as_echo_n "(cached) " >&6
14735 ac_wine_try_cflags_saved
=$CFLAGS
14736 CFLAGS
="$CFLAGS -gdwarf-2"
14737 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14738 /* end confdefs.h. */
14739 int main(int argc, char **argv) { return 0; }
14741 if ac_fn_c_try_link
"$LINENO"; then :
14742 ac_cv_cflags__gdwarf_2
=yes
14744 ac_cv_cflags__gdwarf_2
=no
14746 rm -f core conftest.err conftest.
$ac_objext \
14747 conftest
$ac_exeext conftest.
$ac_ext
14748 CFLAGS
=$ac_wine_try_cflags_saved
14750 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__gdwarf_2" >&5
14751 $as_echo "$ac_cv_cflags__gdwarf_2" >&6; }
14752 if test "x$ac_cv_cflags__gdwarf_2" = xyes
; then :
14753 EXTRACFLAGS
="$EXTRACFLAGS -gdwarf-2"
14755 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -gstrict-dwarf" >&5
14756 $as_echo_n "checking whether the compiler supports -gstrict-dwarf... " >&6; }
14757 if ${ac_cv_cflags__gstrict_dwarf+:} false
; then :
14758 $as_echo_n "(cached) " >&6
14760 ac_wine_try_cflags_saved
=$CFLAGS
14761 CFLAGS
="$CFLAGS -gstrict-dwarf"
14762 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14763 /* end confdefs.h. */
14764 int main(int argc, char **argv) { return 0; }
14766 if ac_fn_c_try_link
"$LINENO"; then :
14767 ac_cv_cflags__gstrict_dwarf
=yes
14769 ac_cv_cflags__gstrict_dwarf
=no
14771 rm -f core conftest.err conftest.
$ac_objext \
14772 conftest
$ac_exeext conftest.
$ac_ext
14773 CFLAGS
=$ac_wine_try_cflags_saved
14775 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__gstrict_dwarf" >&5
14776 $as_echo "$ac_cv_cflags__gstrict_dwarf" >&6; }
14777 if test "x$ac_cv_cflags__gstrict_dwarf" = xyes
; then :
14778 EXTRACFLAGS
="$EXTRACFLAGS -gstrict-dwarf"
14784 *i
[3456789]86*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fno-omit-frame-pointer" >&5
14785 $as_echo_n "checking whether the compiler supports -fno-omit-frame-pointer... " >&6; }
14786 if ${ac_cv_cflags__fno_omit_frame_pointer+:} false
; then :
14787 $as_echo_n "(cached) " >&6
14789 ac_wine_try_cflags_saved
=$CFLAGS
14790 CFLAGS
="$CFLAGS -fno-omit-frame-pointer"
14791 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14792 /* end confdefs.h. */
14793 int main(int argc, char **argv) { return 0; }
14795 if ac_fn_c_try_link
"$LINENO"; then :
14796 ac_cv_cflags__fno_omit_frame_pointer
=yes
14798 ac_cv_cflags__fno_omit_frame_pointer
=no
14800 rm -f core conftest.err conftest.
$ac_objext \
14801 conftest
$ac_exeext conftest.
$ac_ext
14802 CFLAGS
=$ac_wine_try_cflags_saved
14804 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fno_omit_frame_pointer" >&5
14805 $as_echo "$ac_cv_cflags__fno_omit_frame_pointer" >&6; }
14806 if test "x$ac_cv_cflags__fno_omit_frame_pointer" = xyes
; then :
14807 EXTRACFLAGS
="$EXTRACFLAGS -fno-omit-frame-pointer"
14812 x86_64-
*mingw32
*|x86_64-
*cygwin
*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wno-format" >&5
14813 $as_echo_n "checking whether the compiler supports -Wno-format... " >&6; }
14814 if ${ac_cv_cflags__Wno_format+:} false
; then :
14815 $as_echo_n "(cached) " >&6
14817 ac_wine_try_cflags_saved
=$CFLAGS
14818 CFLAGS
="$CFLAGS -Wno-format"
14819 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14820 /* end confdefs.h. */
14821 int main(int argc, char **argv) { return 0; }
14823 if ac_fn_c_try_link
"$LINENO"; then :
14824 ac_cv_cflags__Wno_format
=yes
14826 ac_cv_cflags__Wno_format
=no
14828 rm -f core conftest.err conftest.
$ac_objext \
14829 conftest
$ac_exeext conftest.
$ac_ext
14830 CFLAGS
=$ac_wine_try_cflags_saved
14832 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wno_format" >&5
14833 $as_echo "$ac_cv_cflags__Wno_format" >&6; }
14834 if test "x$ac_cv_cflags__Wno_format" = xyes
; then :
14835 EXTRACFLAGS
="$EXTRACFLAGS -Wno-format"
14839 if test "x$enable_maintainer_mode" = "xyes"
14841 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Werror" >&5
14842 $as_echo_n "checking whether the compiler supports -Werror... " >&6; }
14843 if ${ac_cv_cflags__Werror+:} false
; then :
14844 $as_echo_n "(cached) " >&6
14846 ac_wine_try_cflags_saved
=$CFLAGS
14847 CFLAGS
="$CFLAGS -Werror"
14848 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14849 /* end confdefs.h. */
14850 int main(int argc, char **argv) { return 0; }
14852 if ac_fn_c_try_link
"$LINENO"; then :
14853 ac_cv_cflags__Werror
=yes
14855 ac_cv_cflags__Werror
=no
14857 rm -f core conftest.err conftest.
$ac_objext \
14858 conftest
$ac_exeext conftest.
$ac_ext
14859 CFLAGS
=$ac_wine_try_cflags_saved
14861 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Werror" >&5
14862 $as_echo "$ac_cv_cflags__Werror" >&6; }
14863 if test "x$ac_cv_cflags__Werror" = xyes
; then :
14864 EXTRACFLAGS
="$EXTRACFLAGS -Werror"
14868 saved_CFLAGS
="$CFLAGS"
14869 CFLAGS
="$CFLAGS -Werror"
14870 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ms_hook_prologue attribute" >&5
14871 $as_echo_n "checking for ms_hook_prologue attribute... " >&6; }
14872 if ${ac_cv_have_ms_hook_prologue+:} false
; then :
14873 $as_echo_n "(cached) " >&6
14875 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14876 /* end confdefs.h. */
14877 int __attribute__((__ms_hook_prologue__)) test(void) { return 0; }
14886 if ac_fn_c_try_compile
"$LINENO"; then :
14887 ac_cv_have_ms_hook_prologue
="yes"
14889 ac_cv_have_ms_hook_prologue
="no"
14891 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
14893 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_ms_hook_prologue" >&5
14894 $as_echo "$ac_cv_have_ms_hook_prologue" >&6; }
14895 CFLAGS
="$saved_CFLAGS"
14896 if test "$ac_cv_have_ms_hook_prologue" = "yes"
14899 $as_echo "#define DECLSPEC_HOTPATCH __attribute__((__ms_hook_prologue__))" >>confdefs.h
14902 $as_echo "#define DECLSPEC_HOTPATCH /* */" >>confdefs.h
14908 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for the need to disable Fortify" >&5
14909 $as_echo_n "checking for the need to disable Fortify... " >&6; }
14910 if ${ac_cv_c_fortify_enabled+:} false
; then :
14911 $as_echo_n "(cached) " >&6
14913 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14914 /* end confdefs.h. */
14915 #include <string.h>
14919 #if (defined(__USE_FORTIFY_LEVEL) && __USE_FORTIFY_LEVEL > 0) || (defined(_FORTIFY_SOURCE) && _FORTIFY_SOURCE > 0)
14920 #error Fortify enabled
14926 if ac_fn_c_try_compile
"$LINENO"; then :
14927 ac_cv_c_fortify_enabled
=no
14929 ac_cv_c_fortify_enabled
=yes
14931 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
14933 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_fortify_enabled" >&5
14934 $as_echo "$ac_cv_c_fortify_enabled" >&6; }
14935 if test "$ac_cv_c_fortify_enabled" = yes
14937 CFLAGS
="$CFLAGS -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=0"
14941 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether external symbols need an underscore prefix" >&5
14942 $as_echo_n "checking whether external symbols need an underscore prefix... " >&6; }
14943 if ${ac_cv_c_extern_prefix+:} false
; then :
14944 $as_echo_n "(cached) " >&6
14946 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14947 /* end confdefs.h. */
14948 extern int ac_test;
14952 asm(".globl _ac_test\n_ac_test:\t.long 0"); if (ac_test) return 1
14957 if ac_fn_c_try_link
"$LINENO"; then :
14958 ac_cv_c_extern_prefix
="yes"
14960 ac_cv_c_extern_prefix
="no"
14962 rm -f core conftest.err conftest.
$ac_objext \
14963 conftest
$ac_exeext conftest.
$ac_ext
14965 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_extern_prefix" >&5
14966 $as_echo "$ac_cv_c_extern_prefix" >&6; }
14970 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether external symbols need stdcall decoration" >&5
14971 $as_echo_n "checking whether external symbols need stdcall decoration... " >&6; }
14972 if ${ac_cv_c_stdcall_suffix+:} false
; then :
14973 $as_echo_n "(cached) " >&6
14975 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14976 /* end confdefs.h. */
14978 #define __stdcall __attribute__((__stdcall__))
14980 int __stdcall ac_test(int i) { return i; }
14984 asm("jmp _ac_test@4"); if (ac_test(1)) return 1
14989 if ac_fn_c_try_link
"$LINENO"; then :
14990 ac_cv_c_stdcall_suffix
="yes"
14992 ac_cv_c_stdcall_suffix
="no"
14994 rm -f core conftest.err conftest.
$ac_objext \
14995 conftest
$ac_exeext conftest.
$ac_ext
14997 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_stdcall_suffix" >&5
14998 $as_echo "$ac_cv_c_stdcall_suffix" >&6; } ;;
14999 *) ac_cv_c_stdcall_suffix
="no" ;;
15003 if test "$ac_cv_c_extern_prefix" = "yes"
15005 $as_echo "#define __ASM_NAME(name) \"_\" name" >>confdefs.h
15007 asm_name_prefix
="_"
15009 $as_echo "#define __ASM_NAME(name) name" >>confdefs.h
15015 if test "$ac_cv_c_stdcall_suffix" = "yes"
15017 $as_echo "#define __ASM_STDCALL(args) \"@\" #args" >>confdefs.h
15020 $as_echo "#define __ASM_STDCALL(args) \"\"" >>confdefs.h
15025 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to define a function in assembly code" >&5
15026 $as_echo_n "checking how to define a function in assembly code... " >&6; }
15027 if ${ac_cv_asm_func_def+:} false
; then :
15028 $as_echo_n "(cached) " >&6
15030 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15031 /* end confdefs.h. */
15036 asm("\t.globl _ac_test\n\t.def _ac_test; .scl 2; .type 32; .endef\n_ac_test:\t.long 0");
15041 if ac_fn_c_try_link
"$LINENO"; then :
15042 ac_cv_asm_func_def
=".def"
15044 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15045 /* end confdefs.h. */
15050 asm("\t.globl _ac_test\n\t.type _ac_test,@function\n_ac_test:\t.long 0");
15055 if ac_fn_c_try_link
"$LINENO"; then :
15056 ac_cv_asm_func_def
=".type @function"
15058 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15059 /* end confdefs.h. */
15064 asm("\t.globl _ac_test\n\t.type _ac_test,2\n_ac_test:\t.long 0");
15069 if ac_fn_c_try_link
"$LINENO"; then :
15070 ac_cv_asm_func_def
=".type 2"
15072 ac_cv_asm_func_def
="unknown"
15074 rm -f core conftest.err conftest.
$ac_objext \
15075 conftest
$ac_exeext conftest.
$ac_ext
15077 rm -f core conftest.err conftest.
$ac_objext \
15078 conftest
$ac_exeext conftest.
$ac_ext
15080 rm -f core conftest.err conftest.
$ac_objext \
15081 conftest
$ac_exeext conftest.
$ac_ext
15083 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_asm_func_def" >&5
15084 $as_echo "$ac_cv_asm_func_def" >&6; }
15087 case "$ac_cv_asm_func_def" in
15089 $as_echo "#define __ASM_FUNC(name) \".def \" __ASM_NAME(name) \"; .scl 2; .type 32; .endef\"" >>confdefs.h
15091 asm_func_header
=".def $asm_name_prefix\" #name suffix \"; .scl 2; .type 32; .endef" ;;
15093 $as_echo "#define __ASM_FUNC(name) \".type \" __ASM_NAME(name) \",@function\"" >>confdefs.h
15095 asm_func_header
=".type $asm_name_prefix\" #name suffix \",@function" ;;
15097 $as_echo "#define __ASM_FUNC(name) \".type \" __ASM_NAME(name) \",2\"" >>confdefs.h
15099 asm_func_header
=".type $asm_name_prefix\" #name suffix \",2" ;;
15101 $as_echo "#define __ASM_FUNC(name) \"\"" >>confdefs.h
15103 asm_func_header
="" ;;
15106 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether asm() works outside of functions" >&5
15107 $as_echo_n "checking whether asm() works outside of functions... " >&6; }
15108 if ${ac_cv_c_asm_outside_funcs+:} false
; then :
15109 $as_echo_n "(cached) " >&6
15111 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15112 /* end confdefs.h. */
15113 asm(".text\n\t.long 0");
15122 if ac_fn_c_try_compile
"$LINENO"; then :
15123 ac_cv_c_asm_outside_funcs
="yes"
15125 ac_cv_c_asm_outside_funcs
="no"
15127 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
15129 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_asm_outside_funcs" >&5
15130 $as_echo "$ac_cv_c_asm_outside_funcs" >&6; }
15132 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether .previous is supported in assembly code" >&5
15133 $as_echo_n "checking whether .previous is supported in assembly code... " >&6; }
15134 if ${ac_cv_c_dot_previous+:} false
; then :
15135 $as_echo_n "(cached) " >&6
15137 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15138 /* end confdefs.h. */
15143 asm(".text\nac_test:\t.long 0\n\t.previous");
15148 if ac_fn_c_try_link
"$LINENO"; then :
15149 ac_cv_c_dot_previous
="yes"
15151 ac_cv_c_dot_previous
="no"
15153 rm -f core conftest.err conftest.
$ac_objext \
15154 conftest
$ac_exeext conftest.
$ac_ext
15156 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_dot_previous" >&5
15157 $as_echo "$ac_cv_c_dot_previous" >&6; }
15159 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether CFI directives are supported in assembly code" >&5
15160 $as_echo_n "checking whether CFI directives are supported in assembly code... " >&6; }
15161 if ${ac_cv_c_cfi_support+:} false
; then :
15162 $as_echo_n "(cached) " >&6
15164 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15165 /* end confdefs.h. */
15166 asm(".text\nac_test:\t.cfi_startproc\n\t.long 0\n\t.cfi_endproc");
15175 if ac_fn_c_try_compile
"$LINENO"; then :
15176 ac_cv_c_cfi_support
="yes"
15178 ac_cv_c_cfi_support
="no"
15180 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
15182 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_cfi_support" >&5
15183 $as_echo "$ac_cv_c_cfi_support" >&6; }
15185 asm_func_header
=".globl $asm_name_prefix\" #name suffix \"\\n\\t$asm_func_header\\n$asm_name_prefix\" #name suffix \":\\n\\t"
15186 asm_func_trailer
=""
15187 if test "$ac_cv_c_dot_previous" = "yes"
15189 asm_func_trailer
="\\n\\t.previous"
15191 if test "$ac_cv_c_cfi_support" = "yes"
15193 asm_func_header
="$asm_func_header.cfi_startproc\\n\\t"
15194 asm_func_trailer
="\\n\\t.cfi_endproc$asm_func_trailer"
15196 $as_echo "#define __ASM_CFI(str) str" >>confdefs.h
15198 UNWINDFLAGS
=-fasynchronous-unwind-tables
15201 $as_echo "#define __ASM_CFI(str) \"\"" >>confdefs.h
15203 if test "x$enable_win64" = "xyes"
15205 as_fn_append wine_warnings
"|building 64-bit Wine without support for CFI directives; exception handling will not work properly."
15209 asm_func_code
="$asm_func_header\" code \"$asm_func_trailer"
15212 if test "$ac_cv_c_asm_outside_funcs" = "yes"
15214 cat >>confdefs.h
<<_ACEOF
15215 #define __ASM_DEFINE_FUNC(name,suffix,code) asm(".text\n\t.align 4\n\t$asm_func_code");
15219 cat >>confdefs.h
<<_ACEOF
15220 #define __ASM_DEFINE_FUNC(name,suffix,code) void __asm_dummy_##name(void) { asm(".text\n\t.align 4\n\t$asm_func_code"); }
15225 $as_echo "#define __ASM_GLOBAL_FUNC(name,code) __ASM_DEFINE_FUNC(name,\"\",code)" >>confdefs.h
15228 $as_echo "#define __ASM_STDCALL_FUNC(name,args,code) __ASM_DEFINE_FUNC(name,__ASM_STDCALL(args),code)" >>confdefs.h
15233 cygwin
*|mingw32
*) TOOLSEXT
=".exe"
15241 *i
[3456789]86*|x86_64
*)
15242 test "$wine_binary" = wine || wine_fn_append_file CONFIGURE_TARGETS
"loader/wine-preloader"
15243 WINELOADER_PROGRAMS
="$WINELOADER_PROGRAMS $wine_binary-preloader"
15250 ac_save_CFLAGS
="$CFLAGS"
15251 CFLAGS
="$CFLAGS $BUILTINFLAG"
15331 as_ac_var
=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
15332 ac_fn_c_check_func
"$LINENO" "$ac_func" "$as_ac_var"
15333 if eval test \"x\$
"$as_ac_var"\" = x
"yes"; then :
15334 cat >>confdefs.h
<<_ACEOF
15335 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
15341 CFLAGS
="$ac_save_CFLAGS"
15343 if test "$ac_cv_func_dlopen" = no
15345 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
15346 $as_echo_n "checking for dlopen in -ldl... " >&6; }
15347 if ${ac_cv_lib_dl_dlopen+:} false
; then :
15348 $as_echo_n "(cached) " >&6
15350 ac_check_lib_save_LIBS
=$LIBS
15352 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15353 /* end confdefs.h. */
15355 /* Override any GCC internal prototype to avoid an error.
15356 Use char because int might match the return type of a GCC
15357 builtin and then its argument prototype would still apply. */
15370 if ac_fn_c_try_link
"$LINENO"; then :
15371 ac_cv_lib_dl_dlopen
=yes
15373 ac_cv_lib_dl_dlopen
=no
15375 rm -f core conftest.err conftest.
$ac_objext \
15376 conftest
$ac_exeext conftest.
$ac_ext
15377 LIBS
=$ac_check_lib_save_LIBS
15379 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
15380 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
15381 if test "x$ac_cv_lib_dl_dlopen" = xyes
; then :
15382 $as_echo "#define HAVE_DLOPEN 1" >>confdefs.h
15388 ac_wine_check_funcs_save_LIBS
="$LIBS"
15389 LIBS
="$LIBS $DL_LIBS"
15390 for ac_func
in dladdr
15392 ac_fn_c_check_func
"$LINENO" "dladdr" "ac_cv_func_dladdr"
15393 if test "x$ac_cv_func_dladdr" = xyes
; then :
15394 cat >>confdefs.h
<<_ACEOF
15395 #define HAVE_DLADDR 1
15401 LIBS
="$ac_wine_check_funcs_save_LIBS"
15403 if test "$ac_cv_func_poll" = no
15405 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for poll in -lpoll" >&5
15406 $as_echo_n "checking for poll in -lpoll... " >&6; }
15407 if ${ac_cv_lib_poll_poll+:} false
; then :
15408 $as_echo_n "(cached) " >&6
15410 ac_check_lib_save_LIBS
=$LIBS
15411 LIBS
="-lpoll $LIBS"
15412 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15413 /* end confdefs.h. */
15415 /* Override any GCC internal prototype to avoid an error.
15416 Use char because int might match the return type of a GCC
15417 builtin and then its argument prototype would still apply. */
15430 if ac_fn_c_try_link
"$LINENO"; then :
15431 ac_cv_lib_poll_poll
=yes
15433 ac_cv_lib_poll_poll
=no
15435 rm -f core conftest.err conftest.
$ac_objext \
15436 conftest
$ac_exeext conftest.
$ac_ext
15437 LIBS
=$ac_check_lib_save_LIBS
15439 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_poll_poll" >&5
15440 $as_echo "$ac_cv_lib_poll_poll" >&6; }
15441 if test "x$ac_cv_lib_poll_poll" = xyes
; then :
15442 $as_echo "#define HAVE_POLL 1" >>confdefs.h
15449 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing gethostbyname" >&5
15450 $as_echo_n "checking for library containing gethostbyname... " >&6; }
15451 if ${ac_cv_search_gethostbyname+:} false
; then :
15452 $as_echo_n "(cached) " >&6
15454 ac_func_search_save_LIBS
=$LIBS
15455 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15456 /* end confdefs.h. */
15458 /* Override any GCC internal prototype to avoid an error.
15459 Use char because int might match the return type of a GCC
15460 builtin and then its argument prototype would still apply. */
15464 char gethostbyname ();
15468 return gethostbyname ();
15473 for ac_lib
in '' nsl
; do
15474 if test -z "$ac_lib"; then
15475 ac_res
="none required"
15478 LIBS
="-l$ac_lib $ac_func_search_save_LIBS"
15480 if ac_fn_c_try_link
"$LINENO"; then :
15481 ac_cv_search_gethostbyname
=$ac_res
15483 rm -f core conftest.err conftest.
$ac_objext \
15485 if ${ac_cv_search_gethostbyname+:} false
; then :
15489 if ${ac_cv_search_gethostbyname+:} false
; then :
15492 ac_cv_search_gethostbyname
=no
15494 rm conftest.
$ac_ext
15495 LIBS
=$ac_func_search_save_LIBS
15497 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_gethostbyname" >&5
15498 $as_echo "$ac_cv_search_gethostbyname" >&6; }
15499 ac_res
=$ac_cv_search_gethostbyname
15500 if test "$ac_res" != no
; then :
15501 test "$ac_res" = "none required" || LIBS
="$ac_res $LIBS"
15506 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing connect" >&5
15507 $as_echo_n "checking for library containing connect... " >&6; }
15508 if ${ac_cv_search_connect+:} false
; then :
15509 $as_echo_n "(cached) " >&6
15511 ac_func_search_save_LIBS
=$LIBS
15512 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15513 /* end confdefs.h. */
15515 /* Override any GCC internal prototype to avoid an error.
15516 Use char because int might match the return type of a GCC
15517 builtin and then its argument prototype would still apply. */
15530 for ac_lib
in '' socket
; do
15531 if test -z "$ac_lib"; then
15532 ac_res
="none required"
15535 LIBS
="-l$ac_lib $ac_func_search_save_LIBS"
15537 if ac_fn_c_try_link
"$LINENO"; then :
15538 ac_cv_search_connect
=$ac_res
15540 rm -f core conftest.err conftest.
$ac_objext \
15542 if ${ac_cv_search_connect+:} false
; then :
15546 if ${ac_cv_search_connect+:} false
; then :
15549 ac_cv_search_connect
=no
15551 rm conftest.
$ac_ext
15552 LIBS
=$ac_func_search_save_LIBS
15554 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_connect" >&5
15555 $as_echo "$ac_cv_search_connect" >&6; }
15556 ac_res
=$ac_cv_search_connect
15557 if test "$ac_res" != no
; then :
15558 test "$ac_res" = "none required" || LIBS
="$ac_res $LIBS"
15563 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing inet_aton" >&5
15564 $as_echo_n "checking for library containing inet_aton... " >&6; }
15565 if ${ac_cv_search_inet_aton+:} false
; then :
15566 $as_echo_n "(cached) " >&6
15568 ac_func_search_save_LIBS
=$LIBS
15569 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15570 /* end confdefs.h. */
15572 /* Override any GCC internal prototype to avoid an error.
15573 Use char because int might match the return type of a GCC
15574 builtin and then its argument prototype would still apply. */
15582 return inet_aton ();
15587 for ac_lib
in '' resolv
; do
15588 if test -z "$ac_lib"; then
15589 ac_res
="none required"
15592 LIBS
="-l$ac_lib $ac_func_search_save_LIBS"
15594 if ac_fn_c_try_link
"$LINENO"; then :
15595 ac_cv_search_inet_aton
=$ac_res
15597 rm -f core conftest.err conftest.
$ac_objext \
15599 if ${ac_cv_search_inet_aton+:} false
; then :
15603 if ${ac_cv_search_inet_aton+:} false
; then :
15606 ac_cv_search_inet_aton
=no
15608 rm conftest.
$ac_ext
15609 LIBS
=$ac_func_search_save_LIBS
15611 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_inet_aton" >&5
15612 $as_echo "$ac_cv_search_inet_aton" >&6; }
15613 ac_res
=$ac_cv_search_inet_aton
15614 if test "$ac_res" != no
; then :
15615 test "$ac_res" = "none required" || LIBS
="$ac_res $LIBS"
15635 as_ac_var
=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
15636 ac_fn_c_check_func
"$LINENO" "$ac_func" "$as_ac_var"
15637 if eval test \"x\$
"$as_ac_var"\" = x
"yes"; then :
15638 cat >>confdefs.h
<<_ACEOF
15639 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
15647 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing clock_gettime" >&5
15648 $as_echo_n "checking for library containing clock_gettime... " >&6; }
15649 if ${ac_cv_search_clock_gettime+:} false
; then :
15650 $as_echo_n "(cached) " >&6
15652 ac_func_search_save_LIBS
=$LIBS
15653 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15654 /* end confdefs.h. */
15656 /* Override any GCC internal prototype to avoid an error.
15657 Use char because int might match the return type of a GCC
15658 builtin and then its argument prototype would still apply. */
15662 char clock_gettime ();
15666 return clock_gettime ();
15671 for ac_lib
in '' rt
; do
15672 if test -z "$ac_lib"; then
15673 ac_res
="none required"
15676 LIBS
="-l$ac_lib $ac_func_search_save_LIBS"
15678 if ac_fn_c_try_link
"$LINENO"; then :
15679 ac_cv_search_clock_gettime
=$ac_res
15681 rm -f core conftest.err conftest.
$ac_objext \
15683 if ${ac_cv_search_clock_gettime+:} false
; then :
15687 if ${ac_cv_search_clock_gettime+:} false
; then :
15690 ac_cv_search_clock_gettime
=no
15692 rm conftest.
$ac_ext
15693 LIBS
=$ac_func_search_save_LIBS
15695 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_clock_gettime" >&5
15696 $as_echo "$ac_cv_search_clock_gettime" >&6; }
15697 ac_res
=$ac_cv_search_clock_gettime
15698 if test "$ac_res" != no
; then :
15699 test "$ac_res" = "none required" || LIBS
="$ac_res $LIBS"
15701 $as_echo "#define HAVE_CLOCK_GETTIME 1" >>confdefs.h
15703 test "$ac_res" = "none required" || RT_LIBS
="$ac_res"
15711 if test "$ac_cv_header_ldap_h" = "yes" -a "$ac_cv_header_lber_h" = "yes"
15713 ac_fn_c_check_type
"$LINENO" "LDAPSortKey" "ac_cv_type_LDAPSortKey" "#include <ldap.h>
15715 if test "x$ac_cv_type_LDAPSortKey" = xyes
; then :
15716 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldap_initialize in -lldap_r" >&5
15717 $as_echo_n "checking for ldap_initialize in -lldap_r... " >&6; }
15718 if ${ac_cv_lib_ldap_r_ldap_initialize+:} false
; then :
15719 $as_echo_n "(cached) " >&6
15721 ac_check_lib_save_LIBS
=$LIBS
15722 LIBS
="-lldap_r $PTHREAD_LIBS $LIBS"
15723 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15724 /* end confdefs.h. */
15726 /* Override any GCC internal prototype to avoid an error.
15727 Use char because int might match the return type of a GCC
15728 builtin and then its argument prototype would still apply. */
15732 char ldap_initialize ();
15736 return ldap_initialize ();
15741 if ac_fn_c_try_link
"$LINENO"; then :
15742 ac_cv_lib_ldap_r_ldap_initialize
=yes
15744 ac_cv_lib_ldap_r_ldap_initialize
=no
15746 rm -f core conftest.err conftest.
$ac_objext \
15747 conftest
$ac_exeext conftest.
$ac_ext
15748 LIBS
=$ac_check_lib_save_LIBS
15750 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ldap_r_ldap_initialize" >&5
15751 $as_echo "$ac_cv_lib_ldap_r_ldap_initialize" >&6; }
15752 if test "x$ac_cv_lib_ldap_r_ldap_initialize" = xyes
; then :
15753 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ber_init in -llber" >&5
15754 $as_echo_n "checking for ber_init in -llber... " >&6; }
15755 if ${ac_cv_lib_lber_ber_init+:} false
; then :
15756 $as_echo_n "(cached) " >&6
15758 ac_check_lib_save_LIBS
=$LIBS
15759 LIBS
="-llber $PTHREAD_LIBS $LIBS"
15760 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15761 /* end confdefs.h. */
15763 /* Override any GCC internal prototype to avoid an error.
15764 Use char because int might match the return type of a GCC
15765 builtin and then its argument prototype would still apply. */
15773 return ber_init ();
15778 if ac_fn_c_try_link
"$LINENO"; then :
15779 ac_cv_lib_lber_ber_init
=yes
15781 ac_cv_lib_lber_ber_init
=no
15783 rm -f core conftest.err conftest.
$ac_objext \
15784 conftest
$ac_exeext conftest.
$ac_ext
15785 LIBS
=$ac_check_lib_save_LIBS
15787 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_lber_ber_init" >&5
15788 $as_echo "$ac_cv_lib_lber_ber_init" >&6; }
15789 if test "x$ac_cv_lib_lber_ber_init" = xyes
; then :
15791 $as_echo "#define HAVE_LDAP 1" >>confdefs.h
15793 LDAP_LIBS
="-lldap_r -llber"
15800 ac_wine_check_funcs_save_LIBS
="$LIBS"
15801 LIBS
="$LIBS $LDAP_LIBS $PTHREAD_LIBS"
15803 ldap_count_references \
15804 ldap_first_reference \
15805 ldap_next_reference \
15806 ldap_parse_reference \
15807 ldap_parse_sort_control \
15808 ldap_parse_sortresponse_control \
15809 ldap_parse_vlv_control \
15810 ldap_parse_vlvresponse_control
15812 as_ac_var
=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
15813 ac_fn_c_check_func
"$LINENO" "$ac_func" "$as_ac_var"
15814 if eval test \"x\$
"$as_ac_var"\" = x
"yes"; then :
15815 cat >>confdefs.h
<<_ACEOF
15816 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
15822 LIBS
="$ac_wine_check_funcs_save_LIBS"
15824 if test "x$LDAP_LIBS" = "x"; then :
15825 case "x$with_ldap" in
15826 x
) as_fn_append wine_notices
"|libldap (OpenLDAP) ${notice_platform}development files not found, LDAP won't be supported." ;;
15828 *) as_fn_error $?
"libldap (OpenLDAP) ${notice_platform}development files not found, LDAP won't be supported.
15829 This is an error since --with-ldap was requested." "$LINENO" 5 ;;
15834 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether mkdir takes only one argument" >&5
15835 $as_echo_n "checking whether mkdir takes only one argument... " >&6; }
15836 if ${wine_cv_one_arg_mkdir+:} false
; then :
15837 $as_echo_n "(cached) " >&6
15839 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15840 /* end confdefs.h. */
15841 #include <sys/stat.h>
15850 if ac_fn_c_try_compile
"$LINENO"; then :
15851 wine_cv_one_arg_mkdir
=yes
15853 wine_cv_one_arg_mkdir
=no
15855 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
15857 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_one_arg_mkdir" >&5
15858 $as_echo "$wine_cv_one_arg_mkdir" >&6; }
15859 if test "$wine_cv_one_arg_mkdir" = "yes"
15862 $as_echo "#define HAVE_ONE_ARG_MKDIR 1" >>confdefs.h
15866 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sched_setaffinity" >&5
15867 $as_echo_n "checking for sched_setaffinity... " >&6; }
15868 if ${wine_cv_have_sched_setaffinity+:} false
; then :
15869 $as_echo_n "(cached) " >&6
15871 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15872 /* end confdefs.h. */
15873 #define _GNU_SOURCE
15878 sched_setaffinity(0, 0, 0);
15883 if ac_fn_c_try_link
"$LINENO"; then :
15884 wine_cv_have_sched_setaffinity
=yes
15886 wine_cv_have_sched_setaffinity
=no
15888 rm -f core conftest.err conftest.
$ac_objext \
15889 conftest
$ac_exeext conftest.
$ac_ext
15891 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_have_sched_setaffinity" >&5
15892 $as_echo "$wine_cv_have_sched_setaffinity" >&6; }
15893 if test "$wine_cv_have_sched_setaffinity" = "yes"
15896 $as_echo "#define HAVE_SCHED_SETAFFINITY 1" >>confdefs.h
15900 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fallocate" >&5
15901 $as_echo_n "checking for fallocate... " >&6; }
15902 if ${wine_cv_have_fallocate+:} false
; then :
15903 $as_echo_n "(cached) " >&6
15905 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15906 /* end confdefs.h. */
15907 #define _GNU_SOURCE
15912 fallocate(-1, 0, 0, 0);
15917 if ac_fn_c_try_link
"$LINENO"; then :
15918 wine_cv_have_fallocate
=yes
15920 wine_cv_have_fallocate
=no
15922 rm -f core conftest.err conftest.
$ac_objext \
15923 conftest
$ac_exeext conftest.
$ac_ext
15925 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_have_fallocate" >&5
15926 $as_echo "$wine_cv_have_fallocate" >&6; }
15927 if test "$wine_cv_have_fallocate" = "yes"
15930 $as_echo "#define HAVE_FALLOCATE 1" >>confdefs.h
15935 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for inline" >&5
15936 $as_echo_n "checking for inline... " >&6; }
15937 if ${ac_cv_c_inline+:} false
; then :
15938 $as_echo_n "(cached) " >&6
15941 for ac_kw
in inline __inline__ __inline
; do
15942 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15943 /* end confdefs.h. */
15944 #ifndef __cplusplus
15946 static $ac_kw foo_t static_foo () {return 0; }
15947 $ac_kw foo_t foo () {return 0; }
15951 if ac_fn_c_try_compile
"$LINENO"; then :
15952 ac_cv_c_inline
=$ac_kw
15954 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
15955 test "$ac_cv_c_inline" != no
&& break
15959 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_inline" >&5
15960 $as_echo "$ac_cv_c_inline" >&6; }
15962 case $ac_cv_c_inline in
15965 case $ac_cv_c_inline in
15967 *) ac_val
=$ac_cv_c_inline;;
15969 cat >>confdefs.h
<<_ACEOF
15970 #ifndef __cplusplus
15971 #define inline $ac_val
15977 ac_fn_c_check_type
"$LINENO" "mode_t" "ac_cv_type_mode_t" "$ac_includes_default"
15978 if test "x$ac_cv_type_mode_t" = xyes
; then :
15980 cat >>confdefs.h
<<_ACEOF
15981 #define HAVE_MODE_T 1
15986 ac_fn_c_check_type
"$LINENO" "off_t" "ac_cv_type_off_t" "$ac_includes_default"
15987 if test "x$ac_cv_type_off_t" = xyes
; then :
15989 cat >>confdefs.h
<<_ACEOF
15990 #define HAVE_OFF_T 1
15995 ac_fn_c_check_type
"$LINENO" "pid_t" "ac_cv_type_pid_t" "$ac_includes_default"
15996 if test "x$ac_cv_type_pid_t" = xyes
; then :
15998 cat >>confdefs.h
<<_ACEOF
15999 #define HAVE_PID_T 1
16004 ac_fn_c_check_type
"$LINENO" "size_t" "ac_cv_type_size_t" "$ac_includes_default"
16005 if test "x$ac_cv_type_size_t" = xyes
; then :
16007 cat >>confdefs.h
<<_ACEOF
16008 #define HAVE_SIZE_T 1
16013 ac_fn_c_check_type
"$LINENO" "ssize_t" "ac_cv_type_ssize_t" "$ac_includes_default"
16014 if test "x$ac_cv_type_ssize_t" = xyes
; then :
16016 cat >>confdefs.h
<<_ACEOF
16017 #define HAVE_SSIZE_T 1
16022 ac_fn_c_check_type
"$LINENO" "long long" "ac_cv_type_long_long" "$ac_includes_default"
16023 if test "x$ac_cv_type_long_long" = xyes
; then :
16025 cat >>confdefs.h
<<_ACEOF
16026 #define HAVE_LONG_LONG 1
16031 ac_fn_c_check_type
"$LINENO" "fsblkcnt_t" "ac_cv_type_fsblkcnt_t" "$ac_includes_default"
16032 if test "x$ac_cv_type_fsblkcnt_t" = xyes
; then :
16034 cat >>confdefs.h
<<_ACEOF
16035 #define HAVE_FSBLKCNT_T 1
16040 ac_fn_c_check_type
"$LINENO" "fsfilcnt_t" "ac_cv_type_fsfilcnt_t" "$ac_includes_default"
16041 if test "x$ac_cv_type_fsfilcnt_t" = xyes
; then :
16043 cat >>confdefs.h
<<_ACEOF
16044 #define HAVE_FSFILCNT_T 1
16050 ac_fn_c_check_type
"$LINENO" "sigset_t" "ac_cv_type_sigset_t" "#include <sys/types.h>
16051 #include <signal.h>
16053 if test "x$ac_cv_type_sigset_t" = xyes
; then :
16055 cat >>confdefs.h
<<_ACEOF
16056 #define HAVE_SIGSET_T 1
16062 ac_fn_c_check_type
"$LINENO" "request_sense" "ac_cv_type_request_sense" "#include <linux/cdrom.h>
16064 if test "x$ac_cv_type_request_sense" = xyes
; then :
16066 cat >>confdefs.h
<<_ACEOF
16067 #define HAVE_REQUEST_SENSE 1
16074 ac_fn_c_check_type
"$LINENO" "struct xinpgen" "ac_cv_type_struct_xinpgen" "#include <sys/types.h>
16075 #ifdef HAVE_SYS_SOCKET_H
16076 #include <sys/socket.h>
16078 #ifdef HAVE_SYS_SOCKETVAR_H
16079 #include <sys/socketvar.h>
16081 #ifdef HAVE_NET_ROUTE_H
16082 #include <net/route.h>
16084 #ifdef HAVE_NETINET_IN_H
16085 #include <netinet/in.h>
16087 #ifdef HAVE_NETINET_IN_SYSTM_H
16088 #include <netinet/in_systm.h>
16090 #ifdef HAVE_NETINET_IP_H
16091 #include <netinet/ip.h>
16093 #ifdef HAVE_NETINET_IN_PCB_H
16094 #include <netinet/in_pcb.h>
16097 if test "x$ac_cv_type_struct_xinpgen" = xyes
; then :
16099 cat >>confdefs.h
<<_ACEOF
16100 #define HAVE_STRUCT_XINPGEN 1
16107 ac_fn_c_check_type
"$LINENO" "struct r_debug" "ac_cv_type_struct_r_debug" "#ifdef HAVE_LINK_H
16110 #ifdef HAVE_SYS_LINK_H
16111 #include <sys/link.h>
16114 if test "x$ac_cv_type_struct_r_debug" = xyes
; then :
16116 cat >>confdefs.h
<<_ACEOF
16117 #define HAVE_STRUCT_R_DEBUG 1
16122 ac_fn_c_check_type
"$LINENO" "struct link_map" "ac_cv_type_struct_link_map" "#ifdef HAVE_LINK_H
16125 #ifdef HAVE_SYS_LINK_H
16126 #include <sys/link.h>
16129 if test "x$ac_cv_type_struct_link_map" = xyes
; then :
16131 cat >>confdefs.h
<<_ACEOF
16132 #define HAVE_STRUCT_LINK_MAP 1
16139 ac_fn_c_check_member
"$LINENO" "struct ff_effect" "direction" "ac_cv_member_struct_ff_effect_direction" "#ifdef HAVE_LINUX_INPUT_H
16140 #include <linux/input.h>
16143 if test "x$ac_cv_member_struct_ff_effect_direction" = xyes
; then :
16145 cat >>confdefs.h
<<_ACEOF
16146 #define HAVE_STRUCT_FF_EFFECT_DIRECTION 1
16153 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sigaddset" >&5
16154 $as_echo_n "checking for sigaddset... " >&6; }
16155 if ${wine_cv_have_sigaddset+:} false
; then :
16156 $as_echo_n "(cached) " >&6
16158 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
16159 /* end confdefs.h. */
16160 #include <signal.h>
16164 sigset_t set; sigaddset(&set,SIGTERM);
16169 if ac_fn_c_try_link
"$LINENO"; then :
16170 wine_cv_have_sigaddset
=yes
16172 wine_cv_have_sigaddset
=no
16174 rm -f core conftest.err conftest.
$ac_objext \
16175 conftest
$ac_exeext conftest.
$ac_ext
16177 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_have_sigaddset" >&5
16178 $as_echo "$wine_cv_have_sigaddset" >&6; }
16179 if test "$wine_cv_have_sigaddset" = "yes"
16182 $as_echo "#define HAVE_SIGADDSET 1" >>confdefs.h
16187 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we can use re-entrant gethostbyname_r Linux style" >&5
16188 $as_echo_n "checking whether we can use re-entrant gethostbyname_r Linux style... " >&6; }
16189 if ${wine_cv_linux_gethostbyname_r_6+:} false
; then :
16190 $as_echo_n "(cached) " >&6
16192 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
16193 /* end confdefs.h. */
16201 struct hostent *result;
16208 gethostbyname_r(name,&he,buf,bufsize,&result,&errnr);
16209 gethostbyaddr_r(addr, addrlen, addrtype,&he,buf,bufsize,&result,&errnr);
16215 if ac_fn_c_try_link
"$LINENO"; then :
16216 wine_cv_linux_gethostbyname_r_6
=yes
16218 wine_cv_linux_gethostbyname_r_6
=no
16221 rm -f core conftest.err conftest.
$ac_objext \
16222 conftest
$ac_exeext conftest.
$ac_ext
16225 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_linux_gethostbyname_r_6" >&5
16226 $as_echo "$wine_cv_linux_gethostbyname_r_6" >&6; }
16227 if test "$wine_cv_linux_gethostbyname_r_6" = "yes"
16230 $as_echo "#define HAVE_LINUX_GETHOSTBYNAME_R_6 1" >>confdefs.h
16234 if test "$ac_cv_header_linux_joystick_h" = "yes"
16236 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether linux/joystick.h uses the Linux 2.2+ API" >&5
16237 $as_echo_n "checking whether linux/joystick.h uses the Linux 2.2+ API... " >&6; }
16238 if ${wine_cv_linux_joystick_22_api+:} false
; then :
16239 $as_echo_n "(cached) " >&6
16241 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
16242 /* end confdefs.h. */
16244 #include <sys/ioctl.h>
16245 #include <sys/types.h>
16246 #include <linux/joystick.h>
16248 struct js_event blub;
16249 #if !defined(JS_EVENT_AXIS) || !defined(JS_EVENT_BUTTON)
16250 #error "no 2.2 header"
16261 if ac_fn_c_try_compile
"$LINENO"; then :
16262 wine_cv_linux_joystick_22_api
=yes
16264 wine_cv_linux_joystick_22_api
=no
16266 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
16269 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_linux_joystick_22_api" >&5
16270 $as_echo "$wine_cv_linux_joystick_22_api" >&6; }
16271 if test "$wine_cv_linux_joystick_22_api" = "yes"
16274 $as_echo "#define HAVE_LINUX_22_JOYSTICK_API 1" >>confdefs.h
16280 ac_fn_c_check_member
"$LINENO" "struct statfs" "f_bfree" "ac_cv_member_struct_statfs_f_bfree" "#include <sys/types.h>
16281 #ifdef HAVE_SYS_PARAM_H
16282 # include <sys/param.h>
16284 #ifdef HAVE_SYS_MOUNT_H
16285 # include <sys/mount.h>
16287 #ifdef HAVE_SYS_VFS_H
16288 # include <sys/vfs.h>
16290 #ifdef HAVE_SYS_STATFS_H
16291 # include <sys/statfs.h>
16294 if test "x$ac_cv_member_struct_statfs_f_bfree" = xyes
; then :
16296 cat >>confdefs.h
<<_ACEOF
16297 #define HAVE_STRUCT_STATFS_F_BFREE 1
16302 ac_fn_c_check_member
"$LINENO" "struct statfs" "f_bavail" "ac_cv_member_struct_statfs_f_bavail" "#include <sys/types.h>
16303 #ifdef HAVE_SYS_PARAM_H
16304 # include <sys/param.h>
16306 #ifdef HAVE_SYS_MOUNT_H
16307 # include <sys/mount.h>
16309 #ifdef HAVE_SYS_VFS_H
16310 # include <sys/vfs.h>
16312 #ifdef HAVE_SYS_STATFS_H
16313 # include <sys/statfs.h>
16316 if test "x$ac_cv_member_struct_statfs_f_bavail" = xyes
; then :
16318 cat >>confdefs.h
<<_ACEOF
16319 #define HAVE_STRUCT_STATFS_F_BAVAIL 1
16324 ac_fn_c_check_member
"$LINENO" "struct statfs" "f_frsize" "ac_cv_member_struct_statfs_f_frsize" "#include <sys/types.h>
16325 #ifdef HAVE_SYS_PARAM_H
16326 # include <sys/param.h>
16328 #ifdef HAVE_SYS_MOUNT_H
16329 # include <sys/mount.h>
16331 #ifdef HAVE_SYS_VFS_H
16332 # include <sys/vfs.h>
16334 #ifdef HAVE_SYS_STATFS_H
16335 # include <sys/statfs.h>
16338 if test "x$ac_cv_member_struct_statfs_f_frsize" = xyes
; then :
16340 cat >>confdefs.h
<<_ACEOF
16341 #define HAVE_STRUCT_STATFS_F_FRSIZE 1
16346 ac_fn_c_check_member
"$LINENO" "struct statfs" "f_ffree" "ac_cv_member_struct_statfs_f_ffree" "#include <sys/types.h>
16347 #ifdef HAVE_SYS_PARAM_H
16348 # include <sys/param.h>
16350 #ifdef HAVE_SYS_MOUNT_H
16351 # include <sys/mount.h>
16353 #ifdef HAVE_SYS_VFS_H
16354 # include <sys/vfs.h>
16356 #ifdef HAVE_SYS_STATFS_H
16357 # include <sys/statfs.h>
16360 if test "x$ac_cv_member_struct_statfs_f_ffree" = xyes
; then :
16362 cat >>confdefs.h
<<_ACEOF
16363 #define HAVE_STRUCT_STATFS_F_FFREE 1
16368 ac_fn_c_check_member
"$LINENO" "struct statfs" "f_favail" "ac_cv_member_struct_statfs_f_favail" "#include <sys/types.h>
16369 #ifdef HAVE_SYS_PARAM_H
16370 # include <sys/param.h>
16372 #ifdef HAVE_SYS_MOUNT_H
16373 # include <sys/mount.h>
16375 #ifdef HAVE_SYS_VFS_H
16376 # include <sys/vfs.h>
16378 #ifdef HAVE_SYS_STATFS_H
16379 # include <sys/statfs.h>
16382 if test "x$ac_cv_member_struct_statfs_f_favail" = xyes
; then :
16384 cat >>confdefs.h
<<_ACEOF
16385 #define HAVE_STRUCT_STATFS_F_FAVAIL 1
16390 ac_fn_c_check_member
"$LINENO" "struct statfs" "f_namelen" "ac_cv_member_struct_statfs_f_namelen" "#include <sys/types.h>
16391 #ifdef HAVE_SYS_PARAM_H
16392 # include <sys/param.h>
16394 #ifdef HAVE_SYS_MOUNT_H
16395 # include <sys/mount.h>
16397 #ifdef HAVE_SYS_VFS_H
16398 # include <sys/vfs.h>
16400 #ifdef HAVE_SYS_STATFS_H
16401 # include <sys/statfs.h>
16404 if test "x$ac_cv_member_struct_statfs_f_namelen" = xyes
; then :
16406 cat >>confdefs.h
<<_ACEOF
16407 #define HAVE_STRUCT_STATFS_F_NAMELEN 1
16414 ac_fn_c_check_member
"$LINENO" "struct statvfs" "f_blocks" "ac_cv_member_struct_statvfs_f_blocks" "#ifdef HAVE_SYS_STATVFS_H
16415 #include <sys/statvfs.h>
16418 if test "x$ac_cv_member_struct_statvfs_f_blocks" = xyes
; then :
16420 cat >>confdefs.h
<<_ACEOF
16421 #define HAVE_STRUCT_STATVFS_F_BLOCKS 1
16428 ac_fn_c_check_member
"$LINENO" "struct dirent" "d_reclen" "ac_cv_member_struct_dirent_d_reclen" "#ifdef HAVE_DIRENT_H
16429 #include <dirent.h>
16432 if test "x$ac_cv_member_struct_dirent_d_reclen" = xyes
; then :
16434 cat >>confdefs.h
<<_ACEOF
16435 #define HAVE_STRUCT_DIRENT_D_RECLEN 1
16442 ac_fn_c_check_member
"$LINENO" "struct msghdr" "msg_accrights" "ac_cv_member_struct_msghdr_msg_accrights" "#include <sys/types.h>
16443 #ifdef HAVE_SYS_SOCKET_H
16444 # include <sys/socket.h>
16446 #ifdef HAVE_SYS_UN_H
16447 # include <sys/un.h>
16450 if test "x$ac_cv_member_struct_msghdr_msg_accrights" = xyes
; then :
16452 cat >>confdefs.h
<<_ACEOF
16453 #define HAVE_STRUCT_MSGHDR_MSG_ACCRIGHTS 1
16458 ac_fn_c_check_member
"$LINENO" "struct sockaddr" "sa_len" "ac_cv_member_struct_sockaddr_sa_len" "#include <sys/types.h>
16459 #ifdef HAVE_SYS_SOCKET_H
16460 # include <sys/socket.h>
16462 #ifdef HAVE_SYS_UN_H
16463 # include <sys/un.h>
16466 if test "x$ac_cv_member_struct_sockaddr_sa_len" = xyes
; then :
16468 cat >>confdefs.h
<<_ACEOF
16469 #define HAVE_STRUCT_SOCKADDR_SA_LEN 1
16474 ac_fn_c_check_member
"$LINENO" "struct sockaddr_un" "sun_len" "ac_cv_member_struct_sockaddr_un_sun_len" "#include <sys/types.h>
16475 #ifdef HAVE_SYS_SOCKET_H
16476 # include <sys/socket.h>
16478 #ifdef HAVE_SYS_UN_H
16479 # include <sys/un.h>
16482 if test "x$ac_cv_member_struct_sockaddr_un_sun_len" = xyes
; then :
16484 cat >>confdefs.h
<<_ACEOF
16485 #define HAVE_STRUCT_SOCKADDR_UN_SUN_LEN 1
16492 ac_fn_c_check_member
"$LINENO" "scsireq_t" "cmd" "ac_cv_member_scsireq_t_cmd" "#include <sys/types.h>
16493 #ifdef HAVE_SCSI_SG_H
16494 #include <scsi/sg.h>
16497 if test "x$ac_cv_member_scsireq_t_cmd" = xyes
; then :
16499 cat >>confdefs.h
<<_ACEOF
16500 #define HAVE_SCSIREQ_T_CMD 1
16505 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>
16506 #ifdef HAVE_SCSI_SG_H
16507 #include <scsi/sg.h>
16510 if test "x$ac_cv_member_sg_io_hdr_t_interface_id" = xyes
; then :
16512 cat >>confdefs.h
<<_ACEOF
16513 #define HAVE_SG_IO_HDR_T_INTERFACE_ID 1
16520 ac_fn_c_check_member
"$LINENO" "siginfo_t" "si_fd" "ac_cv_member_siginfo_t_si_fd" "#include <signal.h>
16522 if test "x$ac_cv_member_siginfo_t_si_fd" = xyes
; then :
16524 cat >>confdefs.h
<<_ACEOF
16525 #define HAVE_SIGINFO_T_SI_FD 1
16532 ac_fn_c_check_member
"$LINENO" "struct mtget" "mt_blksiz" "ac_cv_member_struct_mtget_mt_blksiz" "#include <sys/types.h>
16533 #ifdef HAVE_SYS_MTIO_H
16534 #include <sys/mtio.h>
16537 if test "x$ac_cv_member_struct_mtget_mt_blksiz" = xyes
; then :
16539 cat >>confdefs.h
<<_ACEOF
16540 #define HAVE_STRUCT_MTGET_MT_BLKSIZ 1
16545 ac_fn_c_check_member
"$LINENO" "struct mtget" "mt_gstat" "ac_cv_member_struct_mtget_mt_gstat" "#include <sys/types.h>
16546 #ifdef HAVE_SYS_MTIO_H
16547 #include <sys/mtio.h>
16550 if test "x$ac_cv_member_struct_mtget_mt_gstat" = xyes
; then :
16552 cat >>confdefs.h
<<_ACEOF
16553 #define HAVE_STRUCT_MTGET_MT_GSTAT 1
16558 ac_fn_c_check_member
"$LINENO" "struct mtget" "mt_blkno" "ac_cv_member_struct_mtget_mt_blkno" "#include <sys/types.h>
16559 #ifdef HAVE_SYS_MTIO_H
16560 #include <sys/mtio.h>
16563 if test "x$ac_cv_member_struct_mtget_mt_blkno" = xyes
; then :
16565 cat >>confdefs.h
<<_ACEOF
16566 #define HAVE_STRUCT_MTGET_MT_BLKNO 1
16573 ac_fn_c_check_member
"$LINENO" "struct option" "name" "ac_cv_member_struct_option_name" "#ifdef HAVE_GETOPT_H
16574 #include <getopt.h>
16577 if test "x$ac_cv_member_struct_option_name" = xyes
; then :
16579 cat >>confdefs.h
<<_ACEOF
16580 #define HAVE_STRUCT_OPTION_NAME 1
16587 ac_fn_c_check_member
"$LINENO" "struct stat" "st_blocks" "ac_cv_member_struct_stat_st_blocks" "$ac_includes_default"
16588 if test "x$ac_cv_member_struct_stat_st_blocks" = xyes
; then :
16590 cat >>confdefs.h
<<_ACEOF
16591 #define HAVE_STRUCT_STAT_ST_BLOCKS 1
16596 ac_fn_c_check_member
"$LINENO" "struct stat" "st_mtim" "ac_cv_member_struct_stat_st_mtim" "$ac_includes_default"
16597 if test "x$ac_cv_member_struct_stat_st_mtim" = xyes
; then :
16599 cat >>confdefs.h
<<_ACEOF
16600 #define HAVE_STRUCT_STAT_ST_MTIM 1
16605 ac_fn_c_check_member
"$LINENO" "struct stat" "st_mtimespec" "ac_cv_member_struct_stat_st_mtimespec" "$ac_includes_default"
16606 if test "x$ac_cv_member_struct_stat_st_mtimespec" = xyes
; then :
16608 cat >>confdefs.h
<<_ACEOF
16609 #define HAVE_STRUCT_STAT_ST_MTIMESPEC 1
16614 ac_fn_c_check_member
"$LINENO" "struct stat" "st_ctim" "ac_cv_member_struct_stat_st_ctim" "$ac_includes_default"
16615 if test "x$ac_cv_member_struct_stat_st_ctim" = xyes
; then :
16617 cat >>confdefs.h
<<_ACEOF
16618 #define HAVE_STRUCT_STAT_ST_CTIM 1
16623 ac_fn_c_check_member
"$LINENO" "struct stat" "st_ctimespec" "ac_cv_member_struct_stat_st_ctimespec" "$ac_includes_default"
16624 if test "x$ac_cv_member_struct_stat_st_ctimespec" = xyes
; then :
16626 cat >>confdefs.h
<<_ACEOF
16627 #define HAVE_STRUCT_STAT_ST_CTIMESPEC 1
16632 ac_fn_c_check_member
"$LINENO" "struct stat" "st_atim" "ac_cv_member_struct_stat_st_atim" "$ac_includes_default"
16633 if test "x$ac_cv_member_struct_stat_st_atim" = xyes
; then :
16635 cat >>confdefs.h
<<_ACEOF
16636 #define HAVE_STRUCT_STAT_ST_ATIM 1
16641 ac_fn_c_check_member
"$LINENO" "struct stat" "st_atimespec" "ac_cv_member_struct_stat_st_atimespec" "$ac_includes_default"
16642 if test "x$ac_cv_member_struct_stat_st_atimespec" = xyes
; then :
16644 cat >>confdefs.h
<<_ACEOF
16645 #define HAVE_STRUCT_STAT_ST_ATIMESPEC 1
16650 ac_fn_c_check_member
"$LINENO" "struct stat" "st_birthtime" "ac_cv_member_struct_stat_st_birthtime" "$ac_includes_default"
16651 if test "x$ac_cv_member_struct_stat_st_birthtime" = xyes
; then :
16653 cat >>confdefs.h
<<_ACEOF
16654 #define HAVE_STRUCT_STAT_ST_BIRTHTIME 1
16659 ac_fn_c_check_member
"$LINENO" "struct stat" "st_birthtim" "ac_cv_member_struct_stat_st_birthtim" "$ac_includes_default"
16660 if test "x$ac_cv_member_struct_stat_st_birthtim" = xyes
; then :
16662 cat >>confdefs.h
<<_ACEOF
16663 #define HAVE_STRUCT_STAT_ST_BIRTHTIM 1
16668 ac_fn_c_check_member
"$LINENO" "struct stat" "st_birthtimespec" "ac_cv_member_struct_stat_st_birthtimespec" "$ac_includes_default"
16669 if test "x$ac_cv_member_struct_stat_st_birthtimespec" = xyes
; then :
16671 cat >>confdefs.h
<<_ACEOF
16672 #define HAVE_STRUCT_STAT_ST_BIRTHTIMESPEC 1
16677 ac_fn_c_check_member
"$LINENO" "struct stat" "__st_birthtime" "ac_cv_member_struct_stat___st_birthtime" "$ac_includes_default"
16678 if test "x$ac_cv_member_struct_stat___st_birthtime" = xyes
; then :
16680 cat >>confdefs.h
<<_ACEOF
16681 #define HAVE_STRUCT_STAT___ST_BIRTHTIME 1
16686 ac_fn_c_check_member
"$LINENO" "struct stat" "__st_birthtim" "ac_cv_member_struct_stat___st_birthtim" "$ac_includes_default"
16687 if test "x$ac_cv_member_struct_stat___st_birthtim" = xyes
; then :
16689 cat >>confdefs.h
<<_ACEOF
16690 #define HAVE_STRUCT_STAT___ST_BIRTHTIM 1
16697 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
16698 #include <sys/types.h>
16700 #ifdef HAVE_NETINET_IN_H
16701 #include <netinet/in.h>
16704 if test "x$ac_cv_member_struct_sockaddr_in6_sin6_scope_id" = xyes
; then :
16706 cat >>confdefs.h
<<_ACEOF
16707 #define HAVE_STRUCT_SOCKADDR_IN6_SIN6_SCOPE_ID 1
16714 ac_fn_c_check_type
"$LINENO" "struct __res_state" "ac_cv_type_struct___res_state" "#ifdef HAVE_SYS_TYPES_H
16715 #include <sys/types.h>
16717 #ifdef HAVE_NETINET_IN_H
16718 #include <netinet/in.h>
16720 #ifdef HAVE_RESOLV_H
16721 #include <resolv.h>
16724 if test "x$ac_cv_type_struct___res_state" = xyes
; then :
16726 cat >>confdefs.h
<<_ACEOF
16727 #define HAVE_STRUCT___RES_STATE 1
16734 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
16735 #include <resolv.h>
16738 if test "x$ac_cv_member_struct___res_state__u__ext_nscount6" = xyes
; then :
16740 cat >>confdefs.h
<<_ACEOF
16741 #define HAVE_STRUCT___RES_STATE__U__EXT_NSCOUNT6 1
16748 ac_fn_c_check_member
"$LINENO" "ns_msg" "_msg_ptr" "ac_cv_member_ns_msg__msg_ptr" "#ifdef HAVE_SYS_TYPES_H
16749 #include <sys/types.h>
16751 #ifdef HAVE_NETINET_IN_H
16752 # include <netinet/in.h>
16754 #ifdef HAVE_ARPA_NAMESER_H
16755 # include <arpa/nameser.h>
16758 if test "x$ac_cv_member_ns_msg__msg_ptr" = xyes
; then :
16760 cat >>confdefs.h
<<_ACEOF
16761 #define HAVE_NS_MSG__MSG_PTR 1
16768 ac_fn_c_check_member
"$LINENO" "struct icmpstat" "icps_inhist" "ac_cv_member_struct_icmpstat_icps_inhist" "#ifdef HAVE_SYS_TYPES_H
16769 #include <sys/types.h>
16771 #ifdef HAVE_NETINET_IN_H
16772 #include <netinet/in.h>
16774 #ifdef HAVE_NETINET_IP_H
16775 #include <netinet/ip.h>
16777 #ifdef HAVE_NETINET_IP_ICMP_H
16778 #include <netinet/ip_icmp.h>
16780 #ifdef HAVE_NETINET_ICMP_VAR_H
16781 #include <netinet/icmp_var.h>
16784 if test "x$ac_cv_member_struct_icmpstat_icps_inhist" = xyes
; then :
16786 cat >>confdefs.h
<<_ACEOF
16787 #define HAVE_STRUCT_ICMPSTAT_ICPS_INHIST 1
16794 ac_fn_c_check_member
"$LINENO" "struct icmpstat" "icps_outhist" "ac_cv_member_struct_icmpstat_icps_outhist" "#ifdef HAVE_SYS_TYPES_H
16795 #include <sys/types.h>
16797 #ifdef HAVE_ALIAS_H
16800 #ifdef HAVE_SYS_SOCKET_H
16801 #include <sys/socket.h>
16803 #ifdef HAVE_SYS_SOCKETVAR_H
16804 #include <sys/socketvar.h>
16806 #ifdef HAVE_SYS_TIMEOUT_H
16807 #include <sys/timeout.h>
16809 #ifdef HAVE_NETINET_IN_H
16810 #include <netinet/in.h>
16812 #ifdef HAVE_NETINET_IN_SYSTM_H
16813 #include <netinet/in_systm.h>
16815 #ifdef HAVE_NETINET_IP_H
16816 #include <netinet/ip.h>
16818 #ifdef HAVE_NETINET_IP_VAR_H
16819 #include <netinet/ip_var.h>
16821 #ifdef HAVE_NETINET_IP_ICMP_H
16822 #include <netinet/ip_icmp.h>
16824 #ifdef HAVE_NETINET_ICMP_VAR_H
16825 #include <netinet/icmp_var.h>
16828 if test "x$ac_cv_member_struct_icmpstat_icps_outhist" = xyes
; then :
16830 cat >>confdefs.h
<<_ACEOF
16831 #define HAVE_STRUCT_ICMPSTAT_ICPS_OUTHIST 1
16838 ac_fn_c_check_member
"$LINENO" "struct ipstat" "ips_total" "ac_cv_member_struct_ipstat_ips_total" "#ifdef HAVE_SYS_TYPES_H
16839 #include <sys/types.h>
16841 #ifdef HAVE_SYS_SOCKETVAR_H
16842 #include <sys/socketvar.h>
16844 #ifdef HAVE_NETINET_IN_H
16845 #include <netinet/in.h>
16847 #ifdef HAVE_NETINET_IP_VAR_H
16848 #include <netinet/ip_var.h>
16851 if test "x$ac_cv_member_struct_ipstat_ips_total" = xyes
; then :
16853 cat >>confdefs.h
<<_ACEOF
16854 #define HAVE_STRUCT_IPSTAT_IPS_TOTAL 1
16861 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
16862 #include <netinet/ip_var.h>
16865 if test "x$ac_cv_member_struct_ip_stats_ips_total" = xyes
; then :
16867 cat >>confdefs.h
<<_ACEOF
16868 #define HAVE_STRUCT_IP_STATS_IPS_TOTAL 1
16875 ac_fn_c_check_member
"$LINENO" "struct tcpstat" "tcps_connattempt" "ac_cv_member_struct_tcpstat_tcps_connattempt" "#ifdef HAVE_SYS_TYPES_H
16876 #include <sys/types.h>
16878 #ifdef HAVE_SYS_SOCKETVAR_H
16879 #include <sys/socketvar.h>
16881 #ifdef HAVE_NETINET_IN_H
16882 #include <netinet/in.h>
16884 #ifdef HAVE_NETINET_TCP_H
16885 #include <netinet/tcp.h>
16887 #ifdef HAVE_NETINET_TCP_VAR_H
16888 #include <netinet/tcp_var.h>
16891 if test "x$ac_cv_member_struct_tcpstat_tcps_connattempt" = xyes
; then :
16893 cat >>confdefs.h
<<_ACEOF
16894 #define HAVE_STRUCT_TCPSTAT_TCPS_CONNATTEMPT 1
16901 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
16902 #include <netinet/tcp_var.h>
16905 if test "x$ac_cv_member_struct_tcp_stats_tcps_connattempt" = xyes
; then :
16907 cat >>confdefs.h
<<_ACEOF
16908 #define HAVE_STRUCT_TCP_STATS_TCPS_CONNATTEMPT 1
16915 ac_fn_c_check_member
"$LINENO" "struct udpstat" "udps_ipackets" "ac_cv_member_struct_udpstat_udps_ipackets" "#ifdef HAVE_SYS_TYPES_H
16916 #include <sys/types.h>
16918 #ifdef HAVE_NETINET_IN_H
16919 #include <netinet/in.h>
16921 #ifdef HAVE_NETINET_IP_VAR_H
16922 #include <netinet/ip_var.h>
16924 #ifdef HAVE_NETINET_UDP_H
16925 #include <netinet/udp.h>
16927 #ifdef HAVE_NETINET_UDP_VAR_H
16928 #include <netinet/udp_var.h>
16931 if test "x$ac_cv_member_struct_udpstat_udps_ipackets" = xyes
; then :
16933 cat >>confdefs.h
<<_ACEOF
16934 #define HAVE_STRUCT_UDPSTAT_UDPS_IPACKETS 1
16941 ac_fn_c_check_member
"$LINENO" "struct ifreq" "ifr_hwaddr" "ac_cv_member_struct_ifreq_ifr_hwaddr" "#ifdef HAVE_SYS_TYPES_H
16942 #include <sys/types.h>
16944 #ifdef HAVE_NET_IF_H
16945 # include <net/if.h>
16948 if test "x$ac_cv_member_struct_ifreq_ifr_hwaddr" = xyes
; then :
16950 cat >>confdefs.h
<<_ACEOF
16951 #define HAVE_STRUCT_IFREQ_IFR_HWADDR 1
16958 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for timezone variable" >&5
16959 $as_echo_n "checking for timezone variable... " >&6; }
16960 if ${ac_cv_have_timezone+:} false
; then :
16961 $as_echo_n "(cached) " >&6
16963 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
16964 /* end confdefs.h. */
16974 if ac_fn_c_try_link
"$LINENO"; then :
16975 ac_cv_have_timezone
="yes"
16977 ac_cv_have_timezone
="no"
16979 rm -f core conftest.err conftest.
$ac_objext \
16980 conftest
$ac_exeext conftest.
$ac_ext
16982 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_timezone" >&5
16983 $as_echo "$ac_cv_have_timezone" >&6; }
16984 if test "$ac_cv_have_timezone" = "yes"
16987 $as_echo "#define HAVE_TIMEZONE 1" >>confdefs.h
16990 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for daylight variable" >&5
16991 $as_echo_n "checking for daylight variable... " >&6; }
16992 if ${ac_cv_have_daylight+:} false
; then :
16993 $as_echo_n "(cached) " >&6
16995 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
16996 /* end confdefs.h. */
17006 if ac_fn_c_try_link
"$LINENO"; then :
17007 ac_cv_have_daylight
="yes"
17009 ac_cv_have_daylight
="no"
17011 rm -f core conftest.err conftest.
$ac_objext \
17012 conftest
$ac_exeext conftest.
$ac_ext
17014 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_daylight" >&5
17015 $as_echo "$ac_cv_have_daylight" >&6; }
17016 if test "$ac_cv_have_daylight" = "yes"
17019 $as_echo "#define HAVE_DAYLIGHT 1" >>confdefs.h
17023 ac_save_LIBS
="$LIBS"
17025 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isfinite" >&5
17026 $as_echo_n "checking for isfinite... " >&6; }
17027 if ${ac_cv_have_isfinite+:} false
; then :
17028 $as_echo_n "(cached) " >&6
17030 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
17031 /* end confdefs.h. */
17032 #define _GNU_SOURCE
17037 float f = 0.0; return isfinite(f)
17042 if ac_fn_c_try_link
"$LINENO"; then :
17043 ac_cv_have_isfinite
="yes"
17045 ac_cv_have_isfinite
="no"
17047 rm -f core conftest.err conftest.
$ac_objext \
17048 conftest
$ac_exeext conftest.
$ac_ext
17050 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_isfinite" >&5
17051 $as_echo "$ac_cv_have_isfinite" >&6; }
17052 if test "$ac_cv_have_isfinite" = "yes"
17055 $as_echo "#define HAVE_ISFINITE 1" >>confdefs.h
17059 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinf" >&5
17060 $as_echo_n "checking for isinf... " >&6; }
17061 if ${ac_cv_have_isinf+:} false
; then :
17062 $as_echo_n "(cached) " >&6
17064 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
17065 /* end confdefs.h. */
17070 float f = 0.0; return isinf(f)
17075 if ac_fn_c_try_link
"$LINENO"; then :
17076 ac_cv_have_isinf
="yes"
17078 ac_cv_have_isinf
="no"
17080 rm -f core conftest.err conftest.
$ac_objext \
17081 conftest
$ac_exeext conftest.
$ac_ext
17083 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_isinf" >&5
17084 $as_echo "$ac_cv_have_isinf" >&6; }
17085 if test "$ac_cv_have_isinf" = "yes"
17088 $as_echo "#define HAVE_ISINF 1" >>confdefs.h
17092 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnan" >&5
17093 $as_echo_n "checking for isnan... " >&6; }
17094 if ${ac_cv_have_isnan+:} false
; then :
17095 $as_echo_n "(cached) " >&6
17097 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
17098 /* end confdefs.h. */
17103 float f = 0.0; return isnan(f)
17108 if ac_fn_c_try_link
"$LINENO"; then :
17109 ac_cv_have_isnan
="yes"
17111 ac_cv_have_isnan
="no"
17113 rm -f core conftest.err conftest.
$ac_objext \
17114 conftest
$ac_exeext conftest.
$ac_ext
17116 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_isnan" >&5
17117 $as_echo "$ac_cv_have_isnan" >&6; }
17118 if test "$ac_cv_have_isnan" = "yes"
17121 $as_echo "#define HAVE_ISNAN 1" >>confdefs.h
17159 as_ac_var
=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
17160 ac_fn_c_check_func
"$LINENO" "$ac_func" "$as_ac_var"
17161 if eval test \"x\$
"$as_ac_var"\" = x
"yes"; then :
17162 cat >>confdefs.h
<<_ACEOF
17163 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
17169 LIBS
="$ac_save_LIBS"
17171 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for __builtin_clz" >&5
17172 $as_echo_n "checking for __builtin_clz... " >&6; }
17173 if ${ac_cv_have___builtin_clz+:} false
; then :
17174 $as_echo_n "(cached) " >&6
17176 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
17177 /* end confdefs.h. */
17182 return __builtin_clz(1)
17187 if ac_fn_c_try_link
"$LINENO"; then :
17188 ac_cv_have___builtin_clz
="yes"
17190 ac_cv_have___builtin_clz
="no"
17192 rm -f core conftest.err conftest.
$ac_objext \
17193 conftest
$ac_exeext conftest.
$ac_ext
17195 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have___builtin_clz" >&5
17196 $as_echo "$ac_cv_have___builtin_clz" >&6; }
17197 if test "$ac_cv_have___builtin_clz" = "yes"
17200 $as_echo "#define HAVE___BUILTIN_CLZ 1" >>confdefs.h
17204 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for __builtin_popcount" >&5
17205 $as_echo_n "checking for __builtin_popcount... " >&6; }
17206 if ${ac_cv_have___builtin_popcount+:} false
; then :
17207 $as_echo_n "(cached) " >&6
17209 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
17210 /* end confdefs.h. */
17215 return __builtin_popcount(1)
17220 if ac_fn_c_try_link
"$LINENO"; then :
17221 ac_cv_have___builtin_popcount
="yes"
17223 ac_cv_have___builtin_popcount
="no"
17225 rm -f core conftest.err conftest.
$ac_objext \
17226 conftest
$ac_exeext conftest.
$ac_ext
17228 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have___builtin_popcount" >&5
17229 $as_echo "$ac_cv_have___builtin_popcount" >&6; }
17230 if test "$ac_cv_have___builtin_popcount" = "yes"
17233 $as_echo "#define HAVE___BUILTIN_POPCOUNT 1" >>confdefs.h
17239 *i
[3456789]86*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __i386__" >&5
17240 $as_echo_n "checking whether we need to define __i386__... " >&6; }
17241 if ${ac_cv_cpp_def___i386__+:} false
; then :
17242 $as_echo_n "(cached) " >&6
17244 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
17245 /* end confdefs.h. */
17250 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
17251 $EGREP "yes" >/dev
/null
2>&1; then :
17252 ac_cv_cpp_def___i386__
=yes
17254 ac_cv_cpp_def___i386__
=no
17259 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___i386__" >&5
17260 $as_echo "$ac_cv_cpp_def___i386__" >&6; }
17261 if test "x$ac_cv_cpp_def___i386__" = xyes
; then :
17262 CFLAGS
="$CFLAGS -D__i386__"
17263 LINTFLAGS
="$LINTFLAGS -D__i386__"
17265 *x86_64
*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __x86_64__" >&5
17266 $as_echo_n "checking whether we need to define __x86_64__... " >&6; }
17267 if ${ac_cv_cpp_def___x86_64__+:} false
; then :
17268 $as_echo_n "(cached) " >&6
17270 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
17271 /* end confdefs.h. */
17276 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
17277 $EGREP "yes" >/dev
/null
2>&1; then :
17278 ac_cv_cpp_def___x86_64__
=yes
17280 ac_cv_cpp_def___x86_64__
=no
17285 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___x86_64__" >&5
17286 $as_echo "$ac_cv_cpp_def___x86_64__" >&6; }
17287 if test "x$ac_cv_cpp_def___x86_64__" = xyes
; then :
17288 CFLAGS
="$CFLAGS -D__x86_64__"
17289 LINTFLAGS
="$LINTFLAGS -D__x86_64__"
17291 *sparc64
*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __sparc64__" >&5
17292 $as_echo_n "checking whether we need to define __sparc64__... " >&6; }
17293 if ${ac_cv_cpp_def___sparc64__+:} false
; then :
17294 $as_echo_n "(cached) " >&6
17296 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
17297 /* end confdefs.h. */
17298 #ifndef __sparc64__
17302 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
17303 $EGREP "yes" >/dev
/null
2>&1; then :
17304 ac_cv_cpp_def___sparc64__
=yes
17306 ac_cv_cpp_def___sparc64__
=no
17311 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___sparc64__" >&5
17312 $as_echo "$ac_cv_cpp_def___sparc64__" >&6; }
17313 if test "x$ac_cv_cpp_def___sparc64__" = xyes
; then :
17314 CFLAGS
="$CFLAGS -D__sparc64__"
17315 LINTFLAGS
="$LINTFLAGS -D__sparc64__"
17317 *sparc
*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __sparc__" >&5
17318 $as_echo_n "checking whether we need to define __sparc__... " >&6; }
17319 if ${ac_cv_cpp_def___sparc__+:} false
; then :
17320 $as_echo_n "(cached) " >&6
17322 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
17323 /* end confdefs.h. */
17328 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
17329 $EGREP "yes" >/dev
/null
2>&1; then :
17330 ac_cv_cpp_def___sparc__
=yes
17332 ac_cv_cpp_def___sparc__
=no
17337 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___sparc__" >&5
17338 $as_echo "$ac_cv_cpp_def___sparc__" >&6; }
17339 if test "x$ac_cv_cpp_def___sparc__" = xyes
; then :
17340 CFLAGS
="$CFLAGS -D__sparc__"
17341 LINTFLAGS
="$LINTFLAGS -D__sparc__"
17343 *powerpc64
*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __powerpc64__" >&5
17344 $as_echo_n "checking whether we need to define __powerpc64__... " >&6; }
17345 if ${ac_cv_cpp_def___powerpc64__+:} false
; then :
17346 $as_echo_n "(cached) " >&6
17348 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
17349 /* end confdefs.h. */
17350 #ifndef __powerpc64__
17354 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
17355 $EGREP "yes" >/dev
/null
2>&1; then :
17356 ac_cv_cpp_def___powerpc64__
=yes
17358 ac_cv_cpp_def___powerpc64__
=no
17363 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___powerpc64__" >&5
17364 $as_echo "$ac_cv_cpp_def___powerpc64__" >&6; }
17365 if test "x$ac_cv_cpp_def___powerpc64__" = xyes
; then :
17366 CFLAGS
="$CFLAGS -D__powerpc64__"
17367 LINTFLAGS
="$LINTFLAGS -D__powerpc64__"
17369 *powerpc
*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __powerpc__" >&5
17370 $as_echo_n "checking whether we need to define __powerpc__... " >&6; }
17371 if ${ac_cv_cpp_def___powerpc__+:} false
; then :
17372 $as_echo_n "(cached) " >&6
17374 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
17375 /* end confdefs.h. */
17376 #ifndef __powerpc__
17380 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
17381 $EGREP "yes" >/dev
/null
2>&1; then :
17382 ac_cv_cpp_def___powerpc__
=yes
17384 ac_cv_cpp_def___powerpc__
=no
17389 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___powerpc__" >&5
17390 $as_echo "$ac_cv_cpp_def___powerpc__" >&6; }
17391 if test "x$ac_cv_cpp_def___powerpc__" = xyes
; then :
17392 CFLAGS
="$CFLAGS -D__powerpc__"
17393 LINTFLAGS
="$LINTFLAGS -D__powerpc__"
17395 *aarch64
*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __aarch64__" >&5
17396 $as_echo_n "checking whether we need to define __aarch64__... " >&6; }
17397 if ${ac_cv_cpp_def___aarch64__+:} false
; then :
17398 $as_echo_n "(cached) " >&6
17400 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
17401 /* end confdefs.h. */
17402 #ifndef __aarch64__
17406 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
17407 $EGREP "yes" >/dev
/null
2>&1; then :
17408 ac_cv_cpp_def___aarch64__
=yes
17410 ac_cv_cpp_def___aarch64__
=no
17415 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___aarch64__" >&5
17416 $as_echo "$ac_cv_cpp_def___aarch64__" >&6; }
17417 if test "x$ac_cv_cpp_def___aarch64__" = xyes
; then :
17418 CFLAGS
="$CFLAGS -D__aarch64__"
17419 LINTFLAGS
="$LINTFLAGS -D__aarch64__"
17421 *arm
*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __arm__" >&5
17422 $as_echo_n "checking whether we need to define __arm__... " >&6; }
17423 if ${ac_cv_cpp_def___arm__+:} false
; then :
17424 $as_echo_n "(cached) " >&6
17426 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
17427 /* end confdefs.h. */
17432 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
17433 $EGREP "yes" >/dev
/null
2>&1; then :
17434 ac_cv_cpp_def___arm__
=yes
17436 ac_cv_cpp_def___arm__
=no
17441 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___arm__" >&5
17442 $as_echo "$ac_cv_cpp_def___arm__" >&6; }
17443 if test "x$ac_cv_cpp_def___arm__" = xyes
; then :
17444 CFLAGS
="$CFLAGS -D__arm__"
17445 LINTFLAGS
="$LINTFLAGS -D__arm__"
17449 case $host_vendor in
17450 *sun
*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __sun__" >&5
17451 $as_echo_n "checking whether we need to define __sun__... " >&6; }
17452 if ${ac_cv_cpp_def___sun__+:} false
; then :
17453 $as_echo_n "(cached) " >&6
17455 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
17456 /* end confdefs.h. */
17461 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
17462 $EGREP "yes" >/dev
/null
2>&1; then :
17463 ac_cv_cpp_def___sun__
=yes
17465 ac_cv_cpp_def___sun__
=no
17470 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___sun__" >&5
17471 $as_echo "$ac_cv_cpp_def___sun__" >&6; }
17472 if test "x$ac_cv_cpp_def___sun__" = xyes
; then :
17473 CFLAGS
="$CFLAGS -D__sun__"
17474 LINTFLAGS
="$LINTFLAGS -D__sun__"
17482 ac_config_commands
="$ac_config_commands include/stamp-h"
17484 $as_echo_n "creating Makefile rules..." >&6
17486 ALL_VARS_RULES
="OPENGL_LIBS = $OPENGL_LIBS
17487 SOCKET_LIBS = $SOCKET_LIBS
17488 COREFOUNDATION_LIBS = $COREFOUNDATION_LIBS
17489 IOKIT_LIBS = $IOKIT_LIBS
17490 FORCEFEEDBACK_LIBS = $FORCEFEEDBACK_LIBS
17491 APPLICATIONSERVICES_LIBS = $APPLICATIONSERVICES_LIBS
17492 CORESERVICES_LIBS = $CORESERVICES_LIBS
17493 APPKIT_LIBS = $APPKIT_LIBS
17494 DISKARBITRATION_LIBS = $DISKARBITRATION_LIBS
17495 SECURITY_LIBS = $SECURITY_LIBS
17496 COREAUDIO_LIBS = $COREAUDIO_LIBS
17497 OPENAL_LIBS = $OPENAL_LIBS
17498 OPENCL_LIBS = $OPENCL_LIBS
17499 QUICKTIME_LIBS = $QUICKTIME_LIBS
17500 CARBON_LIBS = $CARBON_LIBS
17501 PTHREAD_LIBS = $PTHREAD_LIBS
17502 X_CFLAGS = $X_CFLAGS
17503 X_PRE_LIBS = $X_PRE_LIBS
17505 X_EXTRA_LIBS = $X_EXTRA_LIBS
17506 PCAP_LIBS = $PCAP_LIBS
17507 XML2_CFLAGS = $XML2_CFLAGS
17508 XML2_LIBS = $XML2_LIBS
17509 XSLT_CFLAGS = $XSLT_CFLAGS
17510 XSLT_LIBS = $XSLT_LIBS
17511 DBUS_CFLAGS = $DBUS_CFLAGS
17512 DBUS_LIBS = $DBUS_LIBS
17513 HAL_CFLAGS = $HAL_CFLAGS
17514 HAL_LIBS = $HAL_LIBS
17515 GNUTLS_CFLAGS = $GNUTLS_CFLAGS
17516 GNUTLS_LIBS = $GNUTLS_LIBS
17517 SANE_CFLAGS = $SANE_CFLAGS
17518 SANE_LIBS = $SANE_LIBS
17519 GPHOTO2_CFLAGS = $GPHOTO2_CFLAGS
17520 GPHOTO2_LIBS = $GPHOTO2_LIBS
17521 GPHOTO2_PORT_CFLAGS = $GPHOTO2_PORT_CFLAGS
17522 GPHOTO2_PORT_LIBS = $GPHOTO2_PORT_LIBS
17523 RESOLV_LIBS = $RESOLV_LIBS
17524 LCMS2_CFLAGS = $LCMS2_CFLAGS
17525 LCMS2_LIBS = $LCMS2_LIBS
17526 FREETYPE_CFLAGS = $FREETYPE_CFLAGS
17527 FREETYPE_LIBS = $FREETYPE_LIBS
17529 GETTEXTPO_LIBS = $GETTEXTPO_LIBS
17530 PULSE_CFLAGS = $PULSE_CFLAGS
17531 PULSE_LIBS = $PULSE_LIBS
17532 GSTREAMER_CFLAGS = $GSTREAMER_CFLAGS
17533 GSTREAMER_LIBS = $GSTREAMER_LIBS
17534 ALSA_LIBS = $ALSA_LIBS
17535 OSS4_CFLAGS = $OSS4_CFLAGS
17536 UDEV_CFLAGS = $UDEV_CFLAGS
17537 UDEV_LIBS = $UDEV_LIBS
17538 CAPI20_CFLAGS = $CAPI20_CFLAGS
17539 CAPI20_LIBS = $CAPI20_LIBS
17540 CUPS_CFLAGS = $CUPS_CFLAGS
17541 FONTCONFIG_CFLAGS = $FONTCONFIG_CFLAGS
17542 FONTCONFIG_LIBS = $FONTCONFIG_LIBS
17543 JPEG_CFLAGS = $JPEG_CFLAGS
17544 JPEG_LIBS = $JPEG_LIBS
17545 PNG_CFLAGS = $PNG_CFLAGS
17546 PNG_LIBS = $PNG_LIBS
17547 TIFF_CFLAGS = $TIFF_CFLAGS
17548 TIFF_LIBS = $TIFF_LIBS
17549 MPG123_CFLAGS = $MPG123_CFLAGS
17550 MPG123_LIBS = $MPG123_LIBS
17551 KSTAT_LIBS = $KSTAT_LIBS
17552 PROCSTAT_LIBS = $PROCSTAT_LIBS
17553 NETAPI_CFLAGS = $NETAPI_CFLAGS
17554 NETAPI_LIBS = $NETAPI_LIBS
17555 EXCESS_PRECISION_CFLAGS = $EXCESS_PRECISION_CFLAGS
17557 POLL_LIBS = $POLL_LIBS
17559 LDAP_LIBS = $LDAP_LIBS
17564 wine_fn_append_rule
"
17565 # Rules automatically generated by configure
17567 CLEAN_FILES = *.o *.a *.so *.res *.fake *.ok *.tab.[ch] *.yy.c
17572 Makefile: $srcdir/Makefile.in config.status \$(MAKEDEP)
17573 @./config.status Make.tmp Makefile
17574 depend: \$(MAKEDEP) dummy
17577 test -n "$CROSSTARGET" || wine_fn_append_rule
"crosstest:
17578 @echo \"crosstest is not supported (mingw not installed?)\" && false"
17580 if test "x$enable_fonts" != xno
; then
17581 ac_config_links
="$ac_config_links fonts/marlett.ttf:fonts/marlett.ttf"
17582 ac_config_links
="$ac_config_links fonts/symbol.ttf:fonts/symbol.ttf"
17583 ac_config_links
="$ac_config_links fonts/tahoma.ttf:fonts/tahoma.ttf"
17584 ac_config_links
="$ac_config_links fonts/tahomabd.ttf:fonts/tahomabd.ttf"
17585 ac_config_links
="$ac_config_links fonts/wingding.ttf:fonts/wingding.ttf"
17586 test "$srcdir" = "." || wine_fn_config_symlink fonts
/marlett.ttf fonts
/symbol.ttf fonts
/tahoma.ttf fonts
/tahomabd.ttf fonts
/wingding.ttf
17588 ac_config_links
="$ac_config_links loader/l_intl.nls:loader/l_intl.nls"
17589 test "$srcdir" = "." || wine_fn_config_symlink loader
/l_intl.nls
17590 ac_config_links
="$ac_config_links wine:tools/winewrapper"
17591 wine_fn_config_symlink wine
17592 if test "x$enable_win64" != xno
; then
17593 ac_config_links
="$ac_config_links wine64:tools/winewrapper"
17594 wine_fn_config_symlink wine64
17597 wine_fn_config_dll acledit enable_acledit
17598 wine_fn_config_dll aclui enable_aclui implib
17599 wine_fn_config_dll activeds enable_activeds implib
17600 wine_fn_config_dll actxprxy enable_actxprxy clean
17601 wine_fn_config_lib adsiid
17602 wine_fn_config_dll advapi32 enable_advapi32 clean
,implib
17603 wine_fn_config_test dlls
/advapi32
/tests advapi32_test
17604 wine_fn_config_dll advpack enable_advpack implib
17605 wine_fn_config_test dlls
/advpack
/tests advpack_test
17606 wine_fn_config_dll amstream enable_amstream clean
17607 wine_fn_config_test dlls
/amstream
/tests amstream_test
17608 wine_fn_config_dll api-ms-win-appmodel-identity-l1-1-0 enable_api_ms_win_appmodel_identity_l1_1_0
17609 wine_fn_config_dll api-ms-win-appmodel-runtime-l1-1-1 enable_api_ms_win_appmodel_runtime_l1_1_1
17610 wine_fn_config_dll api-ms-win-core-apiquery-l1-1-0 enable_api_ms_win_core_apiquery_l1_1_0
17611 wine_fn_config_dll api-ms-win-core-appcompat-l1-1-1 enable_api_ms_win_core_appcompat_l1_1_1
17612 wine_fn_config_dll api-ms-win-core-appinit-l1-1-0 enable_api_ms_win_core_appinit_l1_1_0
17613 wine_fn_config_dll api-ms-win-core-atoms-l1-1-0 enable_api_ms_win_core_atoms_l1_1_0
17614 wine_fn_config_dll api-ms-win-core-bem-l1-1-0 enable_api_ms_win_core_bem_l1_1_0
17615 wine_fn_config_dll api-ms-win-core-com-l1-1-0 enable_api_ms_win_core_com_l1_1_0
17616 wine_fn_config_dll api-ms-win-core-com-l1-1-1 enable_api_ms_win_core_com_l1_1_1
17617 wine_fn_config_dll api-ms-win-core-com-private-l1-1-0 enable_api_ms_win_core_com_private_l1_1_0
17618 wine_fn_config_dll api-ms-win-core-console-l1-1-0 enable_api_ms_win_core_console_l1_1_0
17619 wine_fn_config_dll api-ms-win-core-console-l2-1-0 enable_api_ms_win_core_console_l2_1_0
17620 wine_fn_config_dll api-ms-win-core-datetime-l1-1-0 enable_api_ms_win_core_datetime_l1_1_0
17621 wine_fn_config_dll api-ms-win-core-datetime-l1-1-1 enable_api_ms_win_core_datetime_l1_1_1
17622 wine_fn_config_dll api-ms-win-core-debug-l1-1-0 enable_api_ms_win_core_debug_l1_1_0
17623 wine_fn_config_dll api-ms-win-core-debug-l1-1-1 enable_api_ms_win_core_debug_l1_1_1
17624 wine_fn_config_dll api-ms-win-core-delayload-l1-1-0 enable_api_ms_win_core_delayload_l1_1_0
17625 wine_fn_config_dll api-ms-win-core-delayload-l1-1-1 enable_api_ms_win_core_delayload_l1_1_1
17626 wine_fn_config_dll api-ms-win-core-errorhandling-l1-1-0 enable_api_ms_win_core_errorhandling_l1_1_0
17627 wine_fn_config_dll api-ms-win-core-errorhandling-l1-1-1 enable_api_ms_win_core_errorhandling_l1_1_1
17628 wine_fn_config_dll api-ms-win-core-errorhandling-l1-1-2 enable_api_ms_win_core_errorhandling_l1_1_2
17629 wine_fn_config_dll api-ms-win-core-fibers-l1-1-0 enable_api_ms_win_core_fibers_l1_1_0
17630 wine_fn_config_dll api-ms-win-core-fibers-l1-1-1 enable_api_ms_win_core_fibers_l1_1_1
17631 wine_fn_config_dll api-ms-win-core-file-l1-1-0 enable_api_ms_win_core_file_l1_1_0
17632 wine_fn_config_dll api-ms-win-core-file-l1-2-0 enable_api_ms_win_core_file_l1_2_0
17633 wine_fn_config_dll api-ms-win-core-file-l1-2-1 enable_api_ms_win_core_file_l1_2_1
17634 wine_fn_config_dll api-ms-win-core-file-l2-1-0 enable_api_ms_win_core_file_l2_1_0
17635 wine_fn_config_dll api-ms-win-core-file-l2-1-1 enable_api_ms_win_core_file_l2_1_1
17636 wine_fn_config_dll api-ms-win-core-handle-l1-1-0 enable_api_ms_win_core_handle_l1_1_0
17637 wine_fn_config_dll api-ms-win-core-heap-l1-1-0 enable_api_ms_win_core_heap_l1_1_0
17638 wine_fn_config_dll api-ms-win-core-heap-l1-2-0 enable_api_ms_win_core_heap_l1_2_0
17639 wine_fn_config_dll api-ms-win-core-heap-obsolete-l1-1-0 enable_api_ms_win_core_heap_obsolete_l1_1_0
17640 wine_fn_config_dll api-ms-win-core-interlocked-l1-1-0 enable_api_ms_win_core_interlocked_l1_1_0
17641 wine_fn_config_dll api-ms-win-core-interlocked-l1-2-0 enable_api_ms_win_core_interlocked_l1_2_0
17642 wine_fn_config_dll api-ms-win-core-io-l1-1-0 enable_api_ms_win_core_io_l1_1_0
17643 wine_fn_config_dll api-ms-win-core-io-l1-1-1 enable_api_ms_win_core_io_l1_1_1
17644 wine_fn_config_dll api-ms-win-core-job-l1-1-0 enable_api_ms_win_core_job_l1_1_0
17645 wine_fn_config_dll api-ms-win-core-job-l2-1-0 enable_api_ms_win_core_job_l2_1_0
17646 wine_fn_config_dll api-ms-win-core-kernel32-legacy-l1-1-0 enable_api_ms_win_core_kernel32_legacy_l1_1_0
17647 wine_fn_config_dll api-ms-win-core-kernel32-legacy-l1-1-1 enable_api_ms_win_core_kernel32_legacy_l1_1_1
17648 wine_fn_config_dll api-ms-win-core-kernel32-private-l1-1-1 enable_api_ms_win_core_kernel32_private_l1_1_1
17649 wine_fn_config_dll api-ms-win-core-libraryloader-l1-1-0 enable_api_ms_win_core_libraryloader_l1_1_0
17650 wine_fn_config_dll api-ms-win-core-libraryloader-l1-1-1 enable_api_ms_win_core_libraryloader_l1_1_1
17651 wine_fn_config_dll api-ms-win-core-libraryloader-l1-2-0 enable_api_ms_win_core_libraryloader_l1_2_0
17652 wine_fn_config_dll api-ms-win-core-libraryloader-l1-2-2 enable_api_ms_win_core_libraryloader_l1_2_2
17653 wine_fn_config_dll api-ms-win-core-localization-l1-1-0 enable_api_ms_win_core_localization_l1_1_0
17654 wine_fn_config_dll api-ms-win-core-localization-l1-2-0 enable_api_ms_win_core_localization_l1_2_0
17655 wine_fn_config_dll api-ms-win-core-localization-l1-2-1 enable_api_ms_win_core_localization_l1_2_1
17656 wine_fn_config_dll api-ms-win-core-localization-l2-1-0 enable_api_ms_win_core_localization_l2_1_0
17657 wine_fn_config_dll api-ms-win-core-localization-obsolete-l1-1-0 enable_api_ms_win_core_localization_obsolete_l1_1_0
17658 wine_fn_config_dll api-ms-win-core-localization-obsolete-l1-2-0 enable_api_ms_win_core_localization_obsolete_l1_2_0
17659 wine_fn_config_dll api-ms-win-core-localization-private-l1-1-0 enable_api_ms_win_core_localization_private_l1_1_0
17660 wine_fn_config_dll api-ms-win-core-localregistry-l1-1-0 enable_api_ms_win_core_localregistry_l1_1_0
17661 wine_fn_config_dll api-ms-win-core-memory-l1-1-0 enable_api_ms_win_core_memory_l1_1_0
17662 wine_fn_config_dll api-ms-win-core-memory-l1-1-1 enable_api_ms_win_core_memory_l1_1_1
17663 wine_fn_config_dll api-ms-win-core-memory-l1-1-2 enable_api_ms_win_core_memory_l1_1_2
17664 wine_fn_config_dll api-ms-win-core-misc-l1-1-0 enable_api_ms_win_core_misc_l1_1_0
17665 wine_fn_config_dll api-ms-win-core-namedpipe-l1-1-0 enable_api_ms_win_core_namedpipe_l1_1_0
17666 wine_fn_config_dll api-ms-win-core-namedpipe-l1-2-0 enable_api_ms_win_core_namedpipe_l1_2_0
17667 wine_fn_config_dll api-ms-win-core-namespace-l1-1-0 enable_api_ms_win_core_namespace_l1_1_0
17668 wine_fn_config_dll api-ms-win-core-normalization-l1-1-0 enable_api_ms_win_core_normalization_l1_1_0
17669 wine_fn_config_dll api-ms-win-core-path-l1-1-0 enable_api_ms_win_core_path_l1_1_0
17670 wine_fn_config_dll api-ms-win-core-privateprofile-l1-1-1 enable_api_ms_win_core_privateprofile_l1_1_1
17671 wine_fn_config_dll api-ms-win-core-processenvironment-l1-1-0 enable_api_ms_win_core_processenvironment_l1_1_0
17672 wine_fn_config_dll api-ms-win-core-processenvironment-l1-2-0 enable_api_ms_win_core_processenvironment_l1_2_0
17673 wine_fn_config_dll api-ms-win-core-processthreads-l1-1-0 enable_api_ms_win_core_processthreads_l1_1_0
17674 wine_fn_config_dll api-ms-win-core-processthreads-l1-1-1 enable_api_ms_win_core_processthreads_l1_1_1
17675 wine_fn_config_dll api-ms-win-core-processthreads-l1-1-2 enable_api_ms_win_core_processthreads_l1_1_2
17676 wine_fn_config_dll api-ms-win-core-profile-l1-1-0 enable_api_ms_win_core_profile_l1_1_0
17677 wine_fn_config_dll api-ms-win-core-psapi-l1-1-0 enable_api_ms_win_core_psapi_l1_1_0
17678 wine_fn_config_dll api-ms-win-core-psapi-obsolete-l1-1-0 enable_api_ms_win_core_psapi_obsolete_l1_1_0
17679 wine_fn_config_dll api-ms-win-core-realtime-l1-1-0 enable_api_ms_win_core_realtime_l1_1_0
17680 wine_fn_config_dll api-ms-win-core-registry-l1-1-0 enable_api_ms_win_core_registry_l1_1_0
17681 wine_fn_config_dll api-ms-win-core-registryuserspecific-l1-1-0 enable_api_ms_win_core_registryuserspecific_l1_1_0
17682 wine_fn_config_dll api-ms-win-core-rtlsupport-l1-1-0 enable_api_ms_win_core_rtlsupport_l1_1_0
17683 wine_fn_config_dll api-ms-win-core-rtlsupport-l1-2-0 enable_api_ms_win_core_rtlsupport_l1_2_0
17684 wine_fn_config_dll api-ms-win-core-shlwapi-legacy-l1-1-0 enable_api_ms_win_core_shlwapi_legacy_l1_1_0
17685 wine_fn_config_dll api-ms-win-core-shlwapi-obsolete-l1-1-0 enable_api_ms_win_core_shlwapi_obsolete_l1_1_0
17686 wine_fn_config_dll api-ms-win-core-sidebyside-l1-1-0 enable_api_ms_win_core_sidebyside_l1_1_0
17687 wine_fn_config_dll api-ms-win-core-string-l1-1-0 enable_api_ms_win_core_string_l1_1_0
17688 wine_fn_config_dll api-ms-win-core-string-l2-1-0 enable_api_ms_win_core_string_l2_1_0
17689 wine_fn_config_dll api-ms-win-core-string-obsolete-l1-1-0 enable_api_ms_win_core_string_obsolete_l1_1_0
17690 wine_fn_config_dll api-ms-win-core-stringansi-l1-1-0 enable_api_ms_win_core_stringansi_l1_1_0
17691 wine_fn_config_dll api-ms-win-core-synch-l1-1-0 enable_api_ms_win_core_synch_l1_1_0
17692 wine_fn_config_dll api-ms-win-core-synch-l1-2-0 enable_api_ms_win_core_synch_l1_2_0
17693 wine_fn_config_dll api-ms-win-core-sysinfo-l1-1-0 enable_api_ms_win_core_sysinfo_l1_1_0
17694 wine_fn_config_dll api-ms-win-core-sysinfo-l1-2-0 enable_api_ms_win_core_sysinfo_l1_2_0
17695 wine_fn_config_dll api-ms-win-core-sysinfo-l1-2-1 enable_api_ms_win_core_sysinfo_l1_2_1
17696 wine_fn_config_dll api-ms-win-core-threadpool-l1-1-0 enable_api_ms_win_core_threadpool_l1_1_0
17697 wine_fn_config_dll api-ms-win-core-threadpool-l1-2-0 enable_api_ms_win_core_threadpool_l1_2_0
17698 wine_fn_config_dll api-ms-win-core-threadpool-legacy-l1-1-0 enable_api_ms_win_core_threadpool_legacy_l1_1_0
17699 wine_fn_config_dll api-ms-win-core-timezone-l1-1-0 enable_api_ms_win_core_timezone_l1_1_0
17700 wine_fn_config_dll api-ms-win-core-toolhelp-l1-1-0 enable_api_ms_win_core_toolhelp_l1_1_0
17701 wine_fn_config_dll api-ms-win-core-url-l1-1-0 enable_api_ms_win_core_url_l1_1_0
17702 wine_fn_config_dll api-ms-win-core-util-l1-1-0 enable_api_ms_win_core_util_l1_1_0
17703 wine_fn_config_dll api-ms-win-core-version-l1-1-0 enable_api_ms_win_core_version_l1_1_0
17704 wine_fn_config_dll api-ms-win-core-version-private-l1-1-0 enable_api_ms_win_core_version_private_l1_1_0
17705 wine_fn_config_dll api-ms-win-core-versionansi-l1-1-0 enable_api_ms_win_core_versionansi_l1_1_0
17706 wine_fn_config_dll api-ms-win-core-windowserrorreporting-l1-1-0 enable_api_ms_win_core_windowserrorreporting_l1_1_0
17707 wine_fn_config_dll api-ms-win-core-winrt-error-l1-1-0 enable_api_ms_win_core_winrt_error_l1_1_0
17708 wine_fn_config_dll api-ms-win-core-winrt-error-l1-1-1 enable_api_ms_win_core_winrt_error_l1_1_1
17709 wine_fn_config_dll api-ms-win-core-winrt-errorprivate-l1-1-1 enable_api_ms_win_core_winrt_errorprivate_l1_1_1
17710 wine_fn_config_dll api-ms-win-core-winrt-l1-1-0 enable_api_ms_win_core_winrt_l1_1_0
17711 wine_fn_config_dll api-ms-win-core-winrt-registration-l1-1-0 enable_api_ms_win_core_winrt_registration_l1_1_0
17712 wine_fn_config_dll api-ms-win-core-winrt-string-l1-1-0 enable_api_ms_win_core_winrt_string_l1_1_0
17713 wine_fn_config_dll api-ms-win-core-wow64-l1-1-0 enable_api_ms_win_core_wow64_l1_1_0
17714 wine_fn_config_dll api-ms-win-core-xstate-l1-1-0 enable_api_ms_win_core_xstate_l1_1_0
17715 wine_fn_config_dll api-ms-win-core-xstate-l2-1-0 enable_api_ms_win_core_xstate_l2_1_0
17716 wine_fn_config_dll api-ms-win-crt-conio-l1-1-0 enable_api_ms_win_crt_conio_l1_1_0
17717 wine_fn_config_dll api-ms-win-crt-convert-l1-1-0 enable_api_ms_win_crt_convert_l1_1_0
17718 wine_fn_config_dll api-ms-win-crt-environment-l1-1-0 enable_api_ms_win_crt_environment_l1_1_0
17719 wine_fn_config_dll api-ms-win-crt-filesystem-l1-1-0 enable_api_ms_win_crt_filesystem_l1_1_0
17720 wine_fn_config_dll api-ms-win-crt-heap-l1-1-0 enable_api_ms_win_crt_heap_l1_1_0
17721 wine_fn_config_dll api-ms-win-crt-locale-l1-1-0 enable_api_ms_win_crt_locale_l1_1_0
17722 wine_fn_config_dll api-ms-win-crt-math-l1-1-0 enable_api_ms_win_crt_math_l1_1_0
17723 wine_fn_config_dll api-ms-win-crt-multibyte-l1-1-0 enable_api_ms_win_crt_multibyte_l1_1_0
17724 wine_fn_config_dll api-ms-win-crt-private-l1-1-0 enable_api_ms_win_crt_private_l1_1_0
17725 wine_fn_config_dll api-ms-win-crt-process-l1-1-0 enable_api_ms_win_crt_process_l1_1_0
17726 wine_fn_config_dll api-ms-win-crt-runtime-l1-1-0 enable_api_ms_win_crt_runtime_l1_1_0
17727 wine_fn_config_dll api-ms-win-crt-stdio-l1-1-0 enable_api_ms_win_crt_stdio_l1_1_0
17728 wine_fn_config_dll api-ms-win-crt-string-l1-1-0 enable_api_ms_win_crt_string_l1_1_0
17729 wine_fn_config_dll api-ms-win-crt-time-l1-1-0 enable_api_ms_win_crt_time_l1_1_0
17730 wine_fn_config_dll api-ms-win-crt-utility-l1-1-0 enable_api_ms_win_crt_utility_l1_1_0
17731 wine_fn_config_dll api-ms-win-devices-config-l1-1-1 enable_api_ms_win_devices_config_l1_1_1
17732 wine_fn_config_dll api-ms-win-devices-query-l1-1-1 enable_api_ms_win_devices_query_l1_1_1
17733 wine_fn_config_dll api-ms-win-downlevel-advapi32-l1-1-0 enable_api_ms_win_downlevel_advapi32_l1_1_0
17734 wine_fn_config_dll api-ms-win-downlevel-advapi32-l2-1-0 enable_api_ms_win_downlevel_advapi32_l2_1_0
17735 wine_fn_config_dll api-ms-win-downlevel-normaliz-l1-1-0 enable_api_ms_win_downlevel_normaliz_l1_1_0
17736 wine_fn_config_dll api-ms-win-downlevel-ole32-l1-1-0 enable_api_ms_win_downlevel_ole32_l1_1_0
17737 wine_fn_config_dll api-ms-win-downlevel-shell32-l1-1-0 enable_api_ms_win_downlevel_shell32_l1_1_0
17738 wine_fn_config_dll api-ms-win-downlevel-shlwapi-l1-1-0 enable_api_ms_win_downlevel_shlwapi_l1_1_0
17739 wine_fn_config_dll api-ms-win-downlevel-shlwapi-l2-1-0 enable_api_ms_win_downlevel_shlwapi_l2_1_0
17740 wine_fn_config_dll api-ms-win-downlevel-user32-l1-1-0 enable_api_ms_win_downlevel_user32_l1_1_0
17741 wine_fn_config_dll api-ms-win-downlevel-version-l1-1-0 enable_api_ms_win_downlevel_version_l1_1_0
17742 wine_fn_config_dll api-ms-win-dx-d3dkmt-l1-1-0 enable_api_ms_win_dx_d3dkmt_l1_1_0
17743 wine_fn_config_dll api-ms-win-eventing-classicprovider-l1-1-0 enable_api_ms_win_eventing_classicprovider_l1_1_0
17744 wine_fn_config_dll api-ms-win-eventing-consumer-l1-1-0 enable_api_ms_win_eventing_consumer_l1_1_0
17745 wine_fn_config_dll api-ms-win-eventing-controller-l1-1-0 enable_api_ms_win_eventing_controller_l1_1_0
17746 wine_fn_config_dll api-ms-win-eventing-provider-l1-1-0 enable_api_ms_win_eventing_provider_l1_1_0
17747 wine_fn_config_dll api-ms-win-eventlog-legacy-l1-1-0 enable_api_ms_win_eventlog_legacy_l1_1_0
17748 wine_fn_config_dll api-ms-win-ntuser-dc-access-l1-1-0 enable_api_ms_win_ntuser_dc_access_l1_1_0
17749 wine_fn_config_dll api-ms-win-power-base-l1-1-0 enable_api_ms_win_power_base_l1_1_0
17750 wine_fn_config_dll api-ms-win-power-setting-l1-1-0 enable_api_ms_win_power_setting_l1_1_0
17751 wine_fn_config_dll api-ms-win-rtcore-ntuser-private-l1-1-0 enable_api_ms_win_rtcore_ntuser_private_l1_1_0
17752 wine_fn_config_dll api-ms-win-security-audit-l1-1-1 enable_api_ms_win_security_audit_l1_1_1
17753 wine_fn_config_dll api-ms-win-security-base-l1-1-0 enable_api_ms_win_security_base_l1_1_0
17754 wine_fn_config_dll api-ms-win-security-base-l1-2-0 enable_api_ms_win_security_base_l1_2_0
17755 wine_fn_config_dll api-ms-win-security-base-private-l1-1-1 enable_api_ms_win_security_base_private_l1_1_1
17756 wine_fn_config_dll api-ms-win-security-lsalookup-l1-1-0 enable_api_ms_win_security_lsalookup_l1_1_0
17757 wine_fn_config_dll api-ms-win-security-lsalookup-l1-1-1 enable_api_ms_win_security_lsalookup_l1_1_1
17758 wine_fn_config_dll api-ms-win-security-lsalookup-l2-1-1 enable_api_ms_win_security_lsalookup_l2_1_1
17759 wine_fn_config_dll api-ms-win-security-lsapolicy-l1-1-0 enable_api_ms_win_security_lsapolicy_l1_1_0
17760 wine_fn_config_dll api-ms-win-security-sddl-l1-1-0 enable_api_ms_win_security_sddl_l1_1_0
17761 wine_fn_config_dll api-ms-win-service-core-l1-1-0 enable_api_ms_win_service_core_l1_1_0
17762 wine_fn_config_dll api-ms-win-service-core-l1-1-1 enable_api_ms_win_service_core_l1_1_1
17763 wine_fn_config_dll api-ms-win-service-management-l1-1-0 enable_api_ms_win_service_management_l1_1_0
17764 wine_fn_config_dll api-ms-win-service-management-l2-1-0 enable_api_ms_win_service_management_l2_1_0
17765 wine_fn_config_dll api-ms-win-service-private-l1-1-1 enable_api_ms_win_service_private_l1_1_1
17766 wine_fn_config_dll api-ms-win-service-winsvc-l1-1-0 enable_api_ms_win_service_winsvc_l1_1_0
17767 wine_fn_config_dll api-ms-win-service-winsvc-l1-2-0 enable_api_ms_win_service_winsvc_l1_2_0
17768 wine_fn_config_dll api-ms-win-shell-shellcom-l1-1-0 enable_api_ms_win_shell_shellcom_l1_1_0
17769 wine_fn_config_dll api-ms-win-shell-shellfolders-l1-1-0 enable_api_ms_win_shell_shellfolders_l1_1_0
17770 wine_fn_config_dll apphelp enable_apphelp
17771 wine_fn_config_test dlls
/apphelp
/tests apphelp_test
17772 wine_fn_config_dll appwiz.cpl enable_appwiz_cpl clean
17773 wine_fn_config_dll atl enable_atl clean
,implib
17774 wine_fn_config_test dlls
/atl
/tests atl_test
17775 wine_fn_config_dll atl100 enable_atl100 clean
,implib
17776 wine_fn_config_test dlls
/atl100
/tests atl100_test
17777 wine_fn_config_dll atl110 enable_atl110 clean
17778 wine_fn_config_dll atl80 enable_atl80 clean
,implib
17779 wine_fn_config_test dlls
/atl80
/tests atl80_test
17780 wine_fn_config_dll atl90 enable_atl90 clean
17781 wine_fn_config_dll authz enable_authz
17782 wine_fn_config_dll avicap32 enable_avicap32 implib
17783 wine_fn_config_dll avifil32 enable_avifil32 clean
,implib
17784 wine_fn_config_test dlls
/avifil32
/tests avifil32_test
17785 wine_fn_config_dll avifile.dll16 enable_win16
17786 wine_fn_config_dll avrt enable_avrt implib
17787 wine_fn_config_dll bcrypt enable_bcrypt implib
17788 wine_fn_config_test dlls
/bcrypt
/tests bcrypt_test
17789 wine_fn_config_dll bluetoothapis enable_bluetoothapis
17790 wine_fn_config_dll browseui enable_browseui clean
17791 wine_fn_config_test dlls
/browseui
/tests browseui_test
17792 wine_fn_config_dll bthprops.cpl enable_bthprops_cpl
17793 wine_fn_config_dll cabinet enable_cabinet implib
17794 wine_fn_config_test dlls
/cabinet
/tests cabinet_test
17795 wine_fn_config_dll capi2032 enable_capi2032 implib
17796 wine_fn_config_dll cards enable_cards implib
17797 wine_fn_config_dll cfgmgr32 enable_cfgmgr32 implib
17798 wine_fn_config_dll clusapi enable_clusapi implib
17799 wine_fn_config_dll combase enable_combase
17800 wine_fn_config_test dlls
/combase
/tests combase_test
17801 wine_fn_config_dll comcat enable_comcat
17802 wine_fn_config_test dlls
/comcat
/tests comcat_test
17803 wine_fn_config_dll comctl32 enable_comctl32 clean
,implib
17804 wine_fn_config_test dlls
/comctl32
/tests comctl32_test
17805 wine_fn_config_dll comdlg32 enable_comdlg32 clean
,implib
17806 wine_fn_config_test dlls
/comdlg32
/tests comdlg32_test
17807 wine_fn_config_dll
comm.drv16 enable_win16
17808 wine_fn_config_dll commdlg.dll16 enable_win16
17809 wine_fn_config_dll compobj.dll16 enable_win16
17810 wine_fn_config_dll compstui enable_compstui implib
17811 wine_fn_config_dll comsvcs enable_comsvcs clean
,implib
17812 wine_fn_config_dll concrt140 enable_concrt140
17813 wine_fn_config_dll connect enable_connect
17814 wine_fn_config_dll credui enable_credui clean
,implib
17815 wine_fn_config_test dlls
/credui
/tests credui_test
17816 wine_fn_config_dll crtdll enable_crtdll
17817 wine_fn_config_dll crypt32 enable_crypt32 clean
,implib
17818 wine_fn_config_test dlls
/crypt32
/tests crypt32_test
17819 wine_fn_config_dll cryptdlg enable_cryptdlg clean
17820 wine_fn_config_dll cryptdll enable_cryptdll implib
17821 wine_fn_config_dll cryptext enable_cryptext
17822 wine_fn_config_dll cryptnet enable_cryptnet implib
17823 wine_fn_config_test dlls
/cryptnet
/tests cryptnet_test
17824 wine_fn_config_dll cryptui enable_cryptui clean
,implib
17825 wine_fn_config_test dlls
/cryptui
/tests cryptui_test
17826 wine_fn_config_dll ctapi32 enable_ctapi32
17827 wine_fn_config_dll ctl3d.dll16 enable_win16
17828 wine_fn_config_dll ctl3d32 enable_ctl3d32
17829 wine_fn_config_dll ctl3dv2.dll16 enable_win16
17830 wine_fn_config_dll d2d1 enable_d2d1 implib
17831 wine_fn_config_test dlls
/d2d
1/tests d2d1_test
17832 wine_fn_config_dll d3d10 enable_d3d10 implib
17833 wine_fn_config_test dlls
/d3d10
/tests d3d10_test
17834 wine_fn_config_dll d3d10_1 enable_d3d10_1 implib
17835 wine_fn_config_test dlls
/d3d10_
1/tests d3d10_1_test
17836 wine_fn_config_dll d3d10core enable_d3d10core implib
17837 wine_fn_config_test dlls
/d3d10core
/tests d3d10core_test
17838 wine_fn_config_dll d3d11 enable_d3d11 implib
17839 wine_fn_config_test dlls
/d3d11
/tests d3d11_test
17840 wine_fn_config_dll d3d8 enable_d3d8 implib
17841 wine_fn_config_test dlls
/d3d
8/tests d3d8_test
17842 wine_fn_config_dll d3d9 enable_d3d9 implib
17843 wine_fn_config_test dlls
/d3d
9/tests d3d9_test
17844 wine_fn_config_dll d3dcompiler_33 enable_d3dcompiler_33
17845 wine_fn_config_dll d3dcompiler_34 enable_d3dcompiler_34
17846 wine_fn_config_dll d3dcompiler_35 enable_d3dcompiler_35
17847 wine_fn_config_dll d3dcompiler_36 enable_d3dcompiler_36
17848 wine_fn_config_dll d3dcompiler_37 enable_d3dcompiler_37
17849 wine_fn_config_dll d3dcompiler_38 enable_d3dcompiler_38
17850 wine_fn_config_dll d3dcompiler_39 enable_d3dcompiler_39
17851 wine_fn_config_dll d3dcompiler_40 enable_d3dcompiler_40
17852 wine_fn_config_dll d3dcompiler_41 enable_d3dcompiler_41
17853 wine_fn_config_dll d3dcompiler_42 enable_d3dcompiler_42
17854 wine_fn_config_dll d3dcompiler_43 enable_d3dcompiler_43 implib d3dcompiler
17855 wine_fn_config_test dlls
/d3dcompiler_43
/tests d3dcompiler_43_test
17856 wine_fn_config_dll d3dcompiler_46 enable_d3dcompiler_46
17857 wine_fn_config_dll d3dcompiler_47 enable_d3dcompiler_47
17858 wine_fn_config_dll d3dim enable_d3dim
17859 wine_fn_config_dll d3drm enable_d3drm implib
17860 wine_fn_config_test dlls
/d3drm
/tests d3drm_test
17861 wine_fn_config_dll d3dx10_33 enable_d3dx10_33
17862 wine_fn_config_dll d3dx10_34 enable_d3dx10_34
17863 wine_fn_config_dll d3dx10_35 enable_d3dx10_35
17864 wine_fn_config_dll d3dx10_36 enable_d3dx10_36
17865 wine_fn_config_dll d3dx10_37 enable_d3dx10_37
17866 wine_fn_config_dll d3dx10_38 enable_d3dx10_38
17867 wine_fn_config_dll d3dx10_39 enable_d3dx10_39
17868 wine_fn_config_dll d3dx10_40 enable_d3dx10_40
17869 wine_fn_config_dll d3dx10_41 enable_d3dx10_41
17870 wine_fn_config_dll d3dx10_42 enable_d3dx10_42
17871 wine_fn_config_dll d3dx10_43 enable_d3dx10_43 implib d3dx10
17872 wine_fn_config_test dlls
/d3dx10_43
/tests d3dx10_43_test
17873 wine_fn_config_dll d3dx11_42 enable_d3dx11_42
17874 wine_fn_config_dll d3dx11_43 enable_d3dx11_43 implib d3dx11
17875 wine_fn_config_test dlls
/d3dx11_43
/tests d3dx11_43_test
17876 wine_fn_config_dll d3dx9_24 enable_d3dx9_24
17877 wine_fn_config_dll d3dx9_25 enable_d3dx9_25
17878 wine_fn_config_dll d3dx9_26 enable_d3dx9_26
17879 wine_fn_config_dll d3dx9_27 enable_d3dx9_27
17880 wine_fn_config_dll d3dx9_28 enable_d3dx9_28
17881 wine_fn_config_dll d3dx9_29 enable_d3dx9_29
17882 wine_fn_config_dll d3dx9_30 enable_d3dx9_30
17883 wine_fn_config_dll d3dx9_31 enable_d3dx9_31
17884 wine_fn_config_dll d3dx9_32 enable_d3dx9_32
17885 wine_fn_config_dll d3dx9_33 enable_d3dx9_33
17886 wine_fn_config_dll d3dx9_34 enable_d3dx9_34
17887 wine_fn_config_dll d3dx9_35 enable_d3dx9_35
17888 wine_fn_config_dll d3dx9_36 enable_d3dx9_36 implib d3dx9
17889 wine_fn_config_test dlls
/d3dx9_36
/tests d3dx9_36_test
17890 wine_fn_config_dll d3dx9_37 enable_d3dx9_37
17891 wine_fn_config_dll d3dx9_38 enable_d3dx9_38
17892 wine_fn_config_dll d3dx9_39 enable_d3dx9_39
17893 wine_fn_config_dll d3dx9_40 enable_d3dx9_40
17894 wine_fn_config_dll d3dx9_41 enable_d3dx9_41
17895 wine_fn_config_dll d3dx9_42 enable_d3dx9_42
17896 wine_fn_config_dll d3dx9_43 enable_d3dx9_43
17897 wine_fn_config_dll d3dxof enable_d3dxof clean
,implib
17898 wine_fn_config_test dlls
/d3dxof
/tests d3dxof_test
17899 wine_fn_config_dll davclnt enable_davclnt
17900 wine_fn_config_dll dbgeng enable_dbgeng implib
17901 wine_fn_config_dll dbghelp enable_dbghelp implib
17902 wine_fn_config_dll dciman32 enable_dciman32 implib
17903 wine_fn_config_dll ddeml.dll16 enable_win16
17904 wine_fn_config_dll ddraw enable_ddraw clean
,implib
17905 wine_fn_config_test dlls
/ddraw
/tests ddraw_test
17906 wine_fn_config_dll ddrawex enable_ddrawex clean
17907 wine_fn_config_test dlls
/ddrawex
/tests ddrawex_test
17908 wine_fn_config_dll devenum enable_devenum clean
17909 wine_fn_config_test dlls
/devenum
/tests devenum_test
17910 wine_fn_config_dll dhcpcsvc enable_dhcpcsvc
17911 wine_fn_config_dll difxapi enable_difxapi
17912 wine_fn_config_dll dinput enable_dinput clean
,implib
,staticimplib
17913 wine_fn_config_test dlls
/dinput
/tests dinput_test
17914 wine_fn_config_dll dinput8 enable_dinput8 clean
,implib
17915 wine_fn_config_test dlls
/dinput
8/tests dinput8_test
17916 wine_fn_config_dll dispdib.dll16 enable_win16
17917 wine_fn_config_dll dispex enable_dispex clean
17918 wine_fn_config_test dlls
/dispex
/tests dispex_test
17919 wine_fn_config_dll display.drv16 enable_win16
17920 wine_fn_config_dll dmband enable_dmband clean
17921 wine_fn_config_test dlls
/dmband
/tests dmband_test
17922 wine_fn_config_dll dmcompos enable_dmcompos clean
17923 wine_fn_config_test dlls
/dmcompos
/tests dmcompos_test
17924 wine_fn_config_dll dmime enable_dmime clean
17925 wine_fn_config_test dlls
/dmime
/tests dmime_test
17926 wine_fn_config_dll dmloader enable_dmloader clean
17927 wine_fn_config_test dlls
/dmloader
/tests dmloader_test
17928 wine_fn_config_dll dmscript enable_dmscript clean
17929 wine_fn_config_test dlls
/dmscript
/tests dmscript_test
17930 wine_fn_config_dll dmstyle enable_dmstyle clean
17931 wine_fn_config_test dlls
/dmstyle
/tests dmstyle_test
17932 wine_fn_config_dll dmsynth enable_dmsynth clean
17933 wine_fn_config_test dlls
/dmsynth
/tests dmsynth_test
17934 wine_fn_config_dll dmusic enable_dmusic clean
17935 wine_fn_config_test dlls
/dmusic
/tests dmusic_test
17936 wine_fn_config_dll dmusic32 enable_dmusic32
17937 wine_fn_config_dll dnsapi enable_dnsapi implib
17938 wine_fn_config_test dlls
/dnsapi
/tests dnsapi_test
17939 wine_fn_config_dll dplay enable_dplay
17940 wine_fn_config_dll dplayx enable_dplayx clean
,implib
17941 wine_fn_config_test dlls
/dplayx
/tests dplayx_test
17942 wine_fn_config_dll dpnaddr enable_dpnaddr
17943 wine_fn_config_dll dpnet enable_dpnet clean
,implib
17944 wine_fn_config_test dlls
/dpnet
/tests dpnet_test
17945 wine_fn_config_dll dpnhpast enable_dpnhpast
17946 wine_fn_config_dll dpnlobby enable_dpnlobby
17947 wine_fn_config_dll dpvoice enable_dpvoice clean
17948 wine_fn_config_test dlls
/dpvoice
/tests dpvoice_test
17949 wine_fn_config_dll dpwsockx enable_dpwsockx
17950 wine_fn_config_dll drmclien enable_drmclien
17951 wine_fn_config_dll dsound enable_dsound clean
,implib
17952 wine_fn_config_test dlls
/dsound
/tests dsound_test
17953 wine_fn_config_dll dssenh enable_dssenh
17954 wine_fn_config_test dlls
/dssenh
/tests dssenh_test
17955 wine_fn_config_dll dswave enable_dswave clean
17956 wine_fn_config_test dlls
/dswave
/tests dswave_test
17957 wine_fn_config_dll dwmapi enable_dwmapi implib
17958 wine_fn_config_dll dwrite enable_dwrite implib
17959 wine_fn_config_test dlls
/dwrite
/tests dwrite_test
17960 wine_fn_config_dll dxdiagn enable_dxdiagn clean
17961 wine_fn_config_test dlls
/dxdiagn
/tests dxdiagn_test
17962 wine_fn_config_lib dxerr8
17963 wine_fn_config_lib dxerr9
17964 wine_fn_config_dll dxgi enable_dxgi implib
17965 wine_fn_config_test dlls
/dxgi
/tests dxgi_test
17966 wine_fn_config_lib dxguid
17967 wine_fn_config_dll dxva2 enable_dxva2
17968 wine_fn_config_dll esent enable_esent
17969 wine_fn_config_dll evr enable_evr
17970 wine_fn_config_dll explorerframe enable_explorerframe clean
17971 wine_fn_config_test dlls
/explorerframe
/tests explorerframe_test
17972 wine_fn_config_dll ext-ms-win-domainjoin-netjoin-l1-1-0 enable_ext_ms_win_domainjoin_netjoin_l1_1_0
17973 wine_fn_config_dll ext-ms-win-gdi-dc-create-l1-1-1 enable_ext_ms_win_gdi_dc_create_l1_1_1
17974 wine_fn_config_dll ext-ms-win-gdi-dc-l1-2-0 enable_ext_ms_win_gdi_dc_l1_2_0
17975 wine_fn_config_dll ext-ms-win-gdi-devcaps-l1-1-0 enable_ext_ms_win_gdi_devcaps_l1_1_0
17976 wine_fn_config_dll ext-ms-win-gdi-draw-l1-1-1 enable_ext_ms_win_gdi_draw_l1_1_1
17977 wine_fn_config_dll ext-ms-win-gdi-render-l1-1-0 enable_ext_ms_win_gdi_render_l1_1_0
17978 wine_fn_config_dll ext-ms-win-kernel32-package-current-l1-1-0 enable_ext_ms_win_kernel32_package_current_l1_1_0
17979 wine_fn_config_dll ext-ms-win-ntuser-message-l1-1-1 enable_ext_ms_win_ntuser_message_l1_1_1
17980 wine_fn_config_dll ext-ms-win-ntuser-private-l1-1-1 enable_ext_ms_win_ntuser_private_l1_1_1
17981 wine_fn_config_dll ext-ms-win-ntuser-rectangle-ext-l1-1-0 enable_ext_ms_win_ntuser_rectangle_ext_l1_1_0
17982 wine_fn_config_dll ext-ms-win-ntuser-uicontext-ext-l1-1-0 enable_ext_ms_win_ntuser_uicontext_ext_l1_1_0
17983 wine_fn_config_dll ext-ms-win-ntuser-window-l1-1-1 enable_ext_ms_win_ntuser_window_l1_1_1
17984 wine_fn_config_dll ext-ms-win-rtcore-gdi-object-l1-1-0 enable_ext_ms_win_rtcore_gdi_object_l1_1_0
17985 wine_fn_config_dll ext-ms-win-rtcore-gdi-rgn-l1-1-0 enable_ext_ms_win_rtcore_gdi_rgn_l1_1_0
17986 wine_fn_config_dll ext-ms-win-rtcore-ntuser-dc-access-l1-1-0 enable_ext_ms_win_rtcore_ntuser_dc_access_l1_1_0
17987 wine_fn_config_dll ext-ms-win-rtcore-ntuser-dpi-l1-1-0 enable_ext_ms_win_rtcore_ntuser_dpi_l1_1_0
17988 wine_fn_config_dll ext-ms-win-rtcore-ntuser-sysparams-l1-1-0 enable_ext_ms_win_rtcore_ntuser_sysparams_l1_1_0
17989 wine_fn_config_dll faultrep enable_faultrep implib
17990 wine_fn_config_test dlls
/faultrep
/tests faultrep_test
17991 wine_fn_config_dll fltlib enable_fltlib
17992 wine_fn_config_dll fltmgr.sys enable_fltmgr_sys
17993 wine_fn_config_dll fntcache enable_fntcache
17994 wine_fn_config_dll fontsub enable_fontsub
17995 wine_fn_config_dll fusion enable_fusion
17996 wine_fn_config_test dlls
/fusion
/tests fusion_test
17997 wine_fn_config_dll fwpuclnt enable_fwpuclnt
17998 wine_fn_config_dll gameux enable_gameux clean
17999 wine_fn_config_test dlls
/gameux
/tests gameux_test
18000 wine_fn_config_dll gdi.exe16 enable_win16
18001 wine_fn_config_dll gdi32 enable_gdi32 clean
,implib
18002 wine_fn_config_test dlls
/gdi32
/tests gdi32_test
18003 wine_fn_config_dll gdiplus enable_gdiplus implib
18004 wine_fn_config_test dlls
/gdiplus
/tests gdiplus_test
18005 wine_fn_config_dll glu32 enable_glu32 implib
18006 wine_fn_config_dll gphoto2.ds enable_gphoto2_ds clean
18007 wine_fn_config_dll gpkcsp enable_gpkcsp
18008 wine_fn_config_dll hal enable_hal
18009 wine_fn_config_dll hhctrl.ocx enable_hhctrl_ocx clean
,implib htmlhelp
18010 wine_fn_config_dll hid enable_hid implib
18011 wine_fn_config_test dlls
/hid
/tests hid_test
18012 wine_fn_config_dll hidclass.sys enable_hidclass_sys implib hidclass
18013 wine_fn_config_dll hlink enable_hlink clean
,implib
18014 wine_fn_config_test dlls
/hlink
/tests hlink_test
18015 wine_fn_config_dll hnetcfg enable_hnetcfg clean
18016 wine_fn_config_test dlls
/hnetcfg
/tests hnetcfg_test
18017 wine_fn_config_dll httpapi enable_httpapi
18018 wine_fn_config_dll iccvid enable_iccvid clean
18019 wine_fn_config_dll icmp enable_icmp
18020 wine_fn_config_dll ieframe enable_ieframe clean
,implib
18021 wine_fn_config_test dlls
/ieframe
/tests ieframe_test
18022 wine_fn_config_dll ifsmgr.vxd enable_win16
18023 wine_fn_config_dll imaadp32.acm enable_imaadp32_acm
18024 wine_fn_config_dll imagehlp enable_imagehlp implib
18025 wine_fn_config_test dlls
/imagehlp
/tests imagehlp_test
18026 wine_fn_config_dll imm.dll16 enable_win16
18027 wine_fn_config_dll imm32 enable_imm32 implib
18028 wine_fn_config_test dlls
/imm32
/tests imm32_test
18029 wine_fn_config_dll inetcomm enable_inetcomm clean
,implib
18030 wine_fn_config_test dlls
/inetcomm
/tests inetcomm_test
18031 wine_fn_config_dll inetcpl.cpl enable_inetcpl_cpl clean
18032 wine_fn_config_dll inetmib1 enable_inetmib1
18033 wine_fn_config_test dlls
/inetmib
1/tests inetmib1_test
18034 wine_fn_config_dll infosoft enable_infosoft clean
18035 wine_fn_config_test dlls
/infosoft
/tests infosoft_test
18036 wine_fn_config_dll initpki enable_initpki
18037 wine_fn_config_dll inkobj enable_inkobj
18038 wine_fn_config_dll inseng enable_inseng clean
18039 wine_fn_config_dll iphlpapi enable_iphlpapi implib
18040 wine_fn_config_test dlls
/iphlpapi
/tests iphlpapi_test
18041 wine_fn_config_dll iprop enable_iprop
18042 wine_fn_config_dll irprops.cpl enable_irprops_cpl
18043 wine_fn_config_dll itircl enable_itircl
18044 wine_fn_config_dll itss enable_itss clean
18045 wine_fn_config_test dlls
/itss
/tests itss_test
18046 wine_fn_config_dll joy.cpl enable_joy_cpl clean
18047 wine_fn_config_dll jscript enable_jscript clean
18048 wine_fn_config_test dlls
/jscript
/tests jscript_test
18049 wine_fn_config_dll jsproxy enable_jsproxy implib
18050 wine_fn_config_test dlls
/jsproxy
/tests jsproxy_test
18051 wine_fn_config_dll kernel32 enable_kernel32 clean
,implib
18052 wine_fn_config_test dlls
/kernel32
/tests kernel32_test
18053 wine_fn_config_dll kernelbase enable_kernelbase
18054 wine_fn_config_dll keyboard.drv16 enable_win16
18055 wine_fn_config_dll krnl386.exe16 enable_win16 implib kernel
18056 wine_fn_config_dll ksuser enable_ksuser
18057 wine_fn_config_dll ktmw32 enable_ktmw32
18058 wine_fn_config_dll loadperf enable_loadperf implib
18059 wine_fn_config_dll localspl enable_localspl clean
18060 wine_fn_config_test dlls
/localspl
/tests localspl_test
18061 wine_fn_config_dll localui enable_localui clean
18062 wine_fn_config_test dlls
/localui
/tests localui_test
18063 wine_fn_config_dll lz32 enable_lz32 implib
18064 wine_fn_config_test dlls
/lz32
/tests lz32_test
18065 wine_fn_config_dll lzexpand.dll16 enable_win16
18066 wine_fn_config_dll mapi32 enable_mapi32 clean
,implib
18067 wine_fn_config_test dlls
/mapi32
/tests mapi32_test
18068 wine_fn_config_dll mapistub enable_mapistub
18069 wine_fn_config_dll mciavi32 enable_mciavi32
18070 wine_fn_config_dll mcicda enable_mcicda
18071 wine_fn_config_dll mciqtz32 enable_mciqtz32
18072 wine_fn_config_dll mciseq enable_mciseq
18073 wine_fn_config_dll mciwave enable_mciwave
18074 wine_fn_config_dll mf enable_mf
18075 wine_fn_config_dll mf3216 enable_mf3216
18076 wine_fn_config_dll mfplat enable_mfplat
18077 wine_fn_config_dll mfreadwrite enable_mfreadwrite
18078 wine_fn_config_dll mgmtapi enable_mgmtapi
18079 wine_fn_config_dll midimap enable_midimap
18080 wine_fn_config_dll mlang enable_mlang clean
,implib
18081 wine_fn_config_test dlls
/mlang
/tests mlang_test
18082 wine_fn_config_dll mmcndmgr enable_mmcndmgr clean
18083 wine_fn_config_test dlls
/mmcndmgr
/tests mmcndmgr_test
18084 wine_fn_config_dll mmdevapi enable_mmdevapi clean
18085 wine_fn_config_test dlls
/mmdevapi
/tests mmdevapi_test
18086 wine_fn_config_dll mmdevldr.vxd enable_win16
18087 wine_fn_config_dll mmsystem.dll16 enable_win16
18088 wine_fn_config_dll monodebg.vxd enable_win16
18089 wine_fn_config_dll mountmgr.sys enable_mountmgr_sys
18090 wine_fn_config_dll mouse.drv16 enable_win16
18091 wine_fn_config_dll mpr enable_mpr clean
,implib
18092 wine_fn_config_test dlls
/mpr
/tests mpr_test
18093 wine_fn_config_dll mprapi enable_mprapi implib
18094 wine_fn_config_dll msacm.dll16 enable_win16
18095 wine_fn_config_dll msacm32.drv enable_msacm32_drv
18096 wine_fn_config_dll msacm32 enable_msacm32 clean
,implib
18097 wine_fn_config_test dlls
/msacm32
/tests msacm32_test
18098 wine_fn_config_dll msadp32.acm enable_msadp32_acm
18099 wine_fn_config_dll msasn1 enable_msasn1 implib
18100 wine_fn_config_dll mscat32 enable_mscat32
18101 wine_fn_config_dll mscms enable_mscms implib
18102 wine_fn_config_test dlls
/mscms
/tests mscms_test
18103 wine_fn_config_dll mscoree enable_mscoree clean
18104 wine_fn_config_test dlls
/mscoree
/tests mscoree_test
18105 wine_fn_config_dll msctf enable_msctf clean
18106 wine_fn_config_test dlls
/msctf
/tests msctf_test
18107 wine_fn_config_dll msctfp enable_msctfp clean
18108 wine_fn_config_dll msdaps enable_msdaps clean
18109 wine_fn_config_dll msdelta enable_msdelta
18110 wine_fn_config_dll msdmo enable_msdmo implib
18111 wine_fn_config_test dlls
/msdmo
/tests msdmo_test
18112 wine_fn_config_dll msdrm enable_msdrm
18113 wine_fn_config_dll msftedit enable_msftedit
18114 wine_fn_config_dll msg711.acm enable_msg711_acm
18115 wine_fn_config_dll msgsm32.acm enable_msgsm32_acm
18116 wine_fn_config_dll mshtml.tlb enable_mshtml_tlb clean
18117 wine_fn_config_dll mshtml enable_mshtml clean
,implib
18118 wine_fn_config_test dlls
/mshtml
/tests mshtml_test clean
18119 wine_fn_config_dll msi enable_msi clean
,implib
18120 wine_fn_config_test dlls
/msi
/tests msi_test
18121 wine_fn_config_dll msident enable_msident clean
18122 wine_fn_config_dll msimg32 enable_msimg32 implib
18123 wine_fn_config_dll msimsg enable_msimsg
18124 wine_fn_config_dll msimtf enable_msimtf clean
18125 wine_fn_config_dll msisip enable_msisip
18126 wine_fn_config_dll msisys.ocx enable_msisys_ocx
18127 wine_fn_config_dll msls31 enable_msls31
18128 wine_fn_config_dll msnet32 enable_msnet32
18129 wine_fn_config_dll mspatcha enable_mspatcha implib
18130 wine_fn_config_dll msports enable_msports
18131 wine_fn_config_dll msrle32 enable_msrle32 clean
18132 wine_fn_config_test dlls
/msrle32
/tests msrle32_test
18133 wine_fn_config_dll msscript.ocx enable_msscript_ocx clean
18134 wine_fn_config_test dlls
/msscript.ocx
/tests msscript.ocx_test clean
18135 wine_fn_config_dll mssign32 enable_mssign32
18136 wine_fn_config_dll mssip32 enable_mssip32
18137 wine_fn_config_dll mstask enable_mstask clean
18138 wine_fn_config_test dlls
/mstask
/tests mstask_test
18139 wine_fn_config_dll msvcirt enable_msvcirt
18140 wine_fn_config_test dlls
/msvcirt
/tests msvcirt_test
18141 wine_fn_config_dll msvcm80 enable_msvcm80
18142 wine_fn_config_dll msvcm90 enable_msvcm90
18143 wine_fn_config_dll msvcp100 enable_msvcp100
18144 wine_fn_config_test dlls
/msvcp100
/tests msvcp100_test
18145 wine_fn_config_dll msvcp110 enable_msvcp110
18146 wine_fn_config_test dlls
/msvcp110
/tests msvcp110_test
18147 wine_fn_config_dll msvcp120 enable_msvcp120
18148 wine_fn_config_test dlls
/msvcp120
/tests msvcp120_test
18149 wine_fn_config_dll msvcp120_app enable_msvcp120_app
18150 wine_fn_config_dll msvcp140 enable_msvcp140
18151 wine_fn_config_test dlls
/msvcp140
/tests msvcp140_test
18152 wine_fn_config_dll msvcp60 enable_msvcp60
18153 wine_fn_config_test dlls
/msvcp60
/tests msvcp60_test
18154 wine_fn_config_dll msvcp70 enable_msvcp70
18155 wine_fn_config_dll msvcp71 enable_msvcp71
18156 wine_fn_config_dll msvcp80 enable_msvcp80
18157 wine_fn_config_dll msvcp90 enable_msvcp90
18158 wine_fn_config_test dlls
/msvcp90
/tests msvcp90_test
18159 wine_fn_config_dll msvcr100 enable_msvcr100 implib
18160 wine_fn_config_test dlls
/msvcr100
/tests msvcr100_test
18161 wine_fn_config_dll msvcr110 enable_msvcr110 implib
18162 wine_fn_config_dll msvcr120 enable_msvcr120 implib
18163 wine_fn_config_test dlls
/msvcr120
/tests msvcr120_test
18164 wine_fn_config_dll msvcr120_app enable_msvcr120_app
18165 wine_fn_config_dll msvcr70 enable_msvcr70 implib
18166 wine_fn_config_dll msvcr71 enable_msvcr71 implib
18167 wine_fn_config_dll msvcr80 enable_msvcr80 implib
18168 wine_fn_config_dll msvcr90 enable_msvcr90 implib
18169 wine_fn_config_test dlls
/msvcr90
/tests msvcr90_test
18170 wine_fn_config_dll msvcrt enable_msvcrt implib
18171 wine_fn_config_test dlls
/msvcrt
/tests msvcrt_test
18172 wine_fn_config_dll msvcrt20 enable_msvcrt20
18173 wine_fn_config_dll msvcrt40 enable_msvcrt40
18174 wine_fn_config_dll msvcrtd enable_msvcrtd implib
18175 wine_fn_config_test dlls
/msvcrtd
/tests msvcrtd_test
18176 wine_fn_config_dll msvfw32 enable_msvfw32 clean
,implib
18177 wine_fn_config_test dlls
/msvfw32
/tests msvfw32_test
18178 wine_fn_config_dll msvidc32 enable_msvidc32 clean
18179 wine_fn_config_dll msvideo.dll16 enable_win16
18180 wine_fn_config_dll mswsock enable_mswsock implib
18181 wine_fn_config_dll msxml enable_msxml clean
18182 wine_fn_config_dll msxml2 enable_msxml2 clean
18183 wine_fn_config_dll msxml3 enable_msxml3 clean
18184 wine_fn_config_test dlls
/msxml
3/tests msxml3_test clean
18185 wine_fn_config_dll msxml4 enable_msxml4 clean
18186 wine_fn_config_dll msxml6 enable_msxml6 clean
18187 wine_fn_config_dll ncrypt enable_ncrypt
18188 wine_fn_config_dll nddeapi enable_nddeapi implib
18189 wine_fn_config_dll ndis.sys enable_ndis_sys
18190 wine_fn_config_dll netapi32 enable_netapi32 implib
18191 wine_fn_config_test dlls
/netapi32
/tests netapi32_test
18192 wine_fn_config_dll netcfgx enable_netcfgx clean
18193 wine_fn_config_test dlls
/netcfgx
/tests netcfgx_test
18194 wine_fn_config_dll netprofm enable_netprofm clean
18195 wine_fn_config_test dlls
/netprofm
/tests netprofm_test
18196 wine_fn_config_dll newdev enable_newdev implib
18197 wine_fn_config_dll normaliz enable_normaliz implib
18198 wine_fn_config_dll npmshtml enable_npmshtml
18199 wine_fn_config_dll npptools enable_npptools
18200 wine_fn_config_dll ntdll enable_ntdll implib
18201 wine_fn_config_test dlls
/ntdll
/tests ntdll_test
18202 wine_fn_config_dll ntdsapi enable_ntdsapi implib
18203 wine_fn_config_test dlls
/ntdsapi
/tests ntdsapi_test
18204 wine_fn_config_dll ntoskrnl.exe enable_ntoskrnl_exe implib ntoskrnl
18205 wine_fn_config_dll ntprint enable_ntprint
18206 wine_fn_config_test dlls
/ntprint
/tests ntprint_test
18207 wine_fn_config_dll objsel enable_objsel clean
18208 wine_fn_config_dll odbc32 enable_odbc32 implib
18209 wine_fn_config_dll odbccp32 enable_odbccp32 implib
18210 wine_fn_config_test dlls
/odbccp32
/tests odbccp32_test
18211 wine_fn_config_dll odbccu32 enable_odbccu32
18212 wine_fn_config_dll ole2.dll16 enable_win16
18213 wine_fn_config_dll ole2conv.dll16 enable_win16
18214 wine_fn_config_dll ole2disp.dll16 enable_win16
18215 wine_fn_config_dll ole2nls.dll16 enable_win16
18216 wine_fn_config_dll ole2prox.dll16 enable_win16
18217 wine_fn_config_dll ole2thk.dll16 enable_win16
18218 wine_fn_config_dll ole32 enable_ole32 clean
,implib
18219 wine_fn_config_test dlls
/ole32
/tests ole32_test
18220 wine_fn_config_dll oleacc enable_oleacc clean
,implib
18221 wine_fn_config_test dlls
/oleacc
/tests oleacc_test
18222 wine_fn_config_dll oleaut32 enable_oleaut32 clean
,implib
18223 wine_fn_config_test dlls
/oleaut32
/tests oleaut32_test clean
18224 wine_fn_config_dll olecli.dll16 enable_win16
18225 wine_fn_config_dll olecli32 enable_olecli32 implib
18226 wine_fn_config_dll oledb32 enable_oledb32 clean
18227 wine_fn_config_test dlls
/oledb32
/tests oledb32_test clean
18228 wine_fn_config_dll oledlg enable_oledlg clean
,implib
18229 wine_fn_config_test dlls
/oledlg
/tests oledlg_test
18230 wine_fn_config_dll olepro32 enable_olepro32 clean
,implib
18231 wine_fn_config_dll olesvr.dll16 enable_win16
18232 wine_fn_config_dll olesvr32 enable_olesvr32 implib
18233 wine_fn_config_dll olethk32 enable_olethk32
18234 wine_fn_config_dll openal32 enable_openal32
18235 wine_fn_config_dll opencl enable_opencl
18236 wine_fn_config_dll opengl32 enable_opengl32 implib
18237 wine_fn_config_test dlls
/opengl32
/tests opengl32_test
18238 wine_fn_config_dll packager enable_packager clean
18239 wine_fn_config_test dlls
/packager
/tests packager_test
18240 wine_fn_config_dll pdh enable_pdh implib
18241 wine_fn_config_test dlls
/pdh
/tests pdh_test
18242 wine_fn_config_dll photometadatahandler enable_photometadatahandler
18243 wine_fn_config_dll pidgen enable_pidgen
18244 wine_fn_config_dll powrprof enable_powrprof implib
18245 wine_fn_config_dll printui enable_printui
18246 wine_fn_config_dll prntvpt enable_prntvpt
18247 wine_fn_config_dll propsys enable_propsys clean
,implib
18248 wine_fn_config_test dlls
/propsys
/tests propsys_test
18249 wine_fn_config_dll psapi enable_psapi implib
18250 wine_fn_config_test dlls
/psapi
/tests psapi_test
18251 wine_fn_config_dll pstorec enable_pstorec clean
18252 wine_fn_config_test dlls
/pstorec
/tests pstorec_test
18253 wine_fn_config_dll qcap enable_qcap
18254 wine_fn_config_test dlls
/qcap
/tests qcap_test
18255 wine_fn_config_dll qedit enable_qedit clean
18256 wine_fn_config_test dlls
/qedit
/tests qedit_test
18257 wine_fn_config_dll qmgr enable_qmgr clean
18258 wine_fn_config_test dlls
/qmgr
/tests qmgr_test
18259 wine_fn_config_dll qmgrprxy enable_qmgrprxy clean
18260 wine_fn_config_dll quartz enable_quartz clean
,implib
18261 wine_fn_config_test dlls
/quartz
/tests quartz_test clean
18262 wine_fn_config_dll query enable_query
18263 wine_fn_config_dll rasapi16.dll16 enable_win16
18264 wine_fn_config_dll rasapi32 enable_rasapi32 implib
18265 wine_fn_config_test dlls
/rasapi32
/tests rasapi32_test
18266 wine_fn_config_dll rasdlg enable_rasdlg implib
18267 wine_fn_config_dll regapi enable_regapi
18268 wine_fn_config_dll resutils enable_resutils implib
18269 wine_fn_config_dll riched20 enable_riched20 clean
,implib
18270 wine_fn_config_test dlls
/riched20
/tests riched20_test
18271 wine_fn_config_dll riched32 enable_riched32
18272 wine_fn_config_test dlls
/riched32
/tests riched32_test
18273 wine_fn_config_dll rpcrt4 enable_rpcrt4 clean
,implib
18274 wine_fn_config_test dlls
/rpcrt
4/tests rpcrt4_test clean
18275 wine_fn_config_dll rsabase enable_rsabase
18276 wine_fn_config_dll rsaenh enable_rsaenh implib
18277 wine_fn_config_test dlls
/rsaenh
/tests rsaenh_test
18278 wine_fn_config_dll rstrtmgr enable_rstrtmgr
18279 wine_fn_config_dll rtutils enable_rtutils implib
18280 wine_fn_config_dll samlib enable_samlib
18281 wine_fn_config_dll sane.ds enable_sane_ds clean
18282 wine_fn_config_dll scarddlg enable_scarddlg
18283 wine_fn_config_dll sccbase enable_sccbase
18284 wine_fn_config_dll schannel enable_schannel
18285 wine_fn_config_test dlls
/schannel
/tests schannel_test
18286 wine_fn_config_dll schedsvc enable_schedsvc clean
18287 wine_fn_config_test dlls
/schedsvc
/tests schedsvc_test clean
18288 wine_fn_config_dll scrobj enable_scrobj clean
18289 wine_fn_config_dll scrrun enable_scrrun clean
18290 wine_fn_config_test dlls
/scrrun
/tests scrrun_test clean
18291 wine_fn_config_dll scsiport.sys enable_scsiport_sys
18292 wine_fn_config_dll secur32 enable_secur32 implib
18293 wine_fn_config_test dlls
/secur32
/tests secur32_test
18294 wine_fn_config_dll security enable_security
18295 wine_fn_config_dll sensapi enable_sensapi implib
18296 wine_fn_config_dll serialui enable_serialui clean
18297 wine_fn_config_test dlls
/serialui
/tests serialui_test
18298 wine_fn_config_dll setupapi enable_setupapi clean
,implib
18299 wine_fn_config_test dlls
/setupapi
/tests setupapi_test
18300 wine_fn_config_dll setupx.dll16 enable_win16
18301 wine_fn_config_dll sfc enable_sfc implib
18302 wine_fn_config_dll sfc_os enable_sfc_os implib
18303 wine_fn_config_dll shdoclc enable_shdoclc clean
18304 wine_fn_config_dll shdocvw enable_shdocvw clean
,implib
18305 wine_fn_config_test dlls
/shdocvw
/tests shdocvw_test
18306 wine_fn_config_dll shell.dll16 enable_win16
18307 wine_fn_config_dll shell32 enable_shell32 clean
,implib
18308 wine_fn_config_test dlls
/shell32
/tests shell32_test
18309 wine_fn_config_dll shfolder enable_shfolder implib
18310 wine_fn_config_dll shlwapi enable_shlwapi clean
,implib
18311 wine_fn_config_test dlls
/shlwapi
/tests shlwapi_test
18312 wine_fn_config_dll slbcsp enable_slbcsp
18313 wine_fn_config_dll slc enable_slc implib
18314 wine_fn_config_test dlls
/slc
/tests slc_test
18315 wine_fn_config_dll snmpapi enable_snmpapi implib
18316 wine_fn_config_test dlls
/snmpapi
/tests snmpapi_test
18317 wine_fn_config_dll softpub enable_softpub
18318 wine_fn_config_dll sound.drv16 enable_win16
18319 wine_fn_config_dll spoolss enable_spoolss implib
18320 wine_fn_config_test dlls
/spoolss
/tests spoolss_test
18321 wine_fn_config_dll sspicli enable_sspicli
18322 wine_fn_config_dll stdole2.tlb enable_stdole2_tlb clean
18323 wine_fn_config_dll stdole32.tlb enable_stdole32_tlb clean
18324 wine_fn_config_dll sti enable_sti clean
,implib
18325 wine_fn_config_test dlls
/sti
/tests sti_test
18326 wine_fn_config_dll storage.dll16 enable_win16
18327 wine_fn_config_dll stress.dll16 enable_win16
18328 wine_fn_config_lib strmbase
18329 wine_fn_config_lib strmiids
18330 wine_fn_config_dll svrapi enable_svrapi
18331 wine_fn_config_dll sxs enable_sxs implib
18332 wine_fn_config_test dlls
/sxs
/tests sxs_test
18333 wine_fn_config_dll system.drv16 enable_win16
18334 wine_fn_config_dll t2embed enable_t2embed implib
18335 wine_fn_config_test dlls
/t2embed
/tests t2embed_test
18336 wine_fn_config_dll tapi32 enable_tapi32 implib
18337 wine_fn_config_dll taskschd enable_taskschd clean
18338 wine_fn_config_test dlls
/taskschd
/tests taskschd_test
18339 wine_fn_config_dll tdi.sys enable_tdi_sys
18340 wine_fn_config_dll toolhelp.dll16 enable_win16
18341 wine_fn_config_dll traffic enable_traffic
18342 wine_fn_config_dll twain.dll16 enable_win16
18343 wine_fn_config_dll twain_32 enable_twain_32
18344 wine_fn_config_test dlls
/twain_32
/tests twain_32_test
18345 wine_fn_config_dll typelib.dll16 enable_win16
18346 wine_fn_config_dll ucrtbase enable_ucrtbase implib
18347 wine_fn_config_test dlls
/ucrtbase
/tests ucrtbase_test
18348 wine_fn_config_dll unicows enable_unicows implib
18349 wine_fn_config_dll updspapi enable_updspapi
18350 wine_fn_config_dll url enable_url implib
18351 wine_fn_config_dll urlmon enable_urlmon clean
,implib
18352 wine_fn_config_test dlls
/urlmon
/tests urlmon_test
18353 wine_fn_config_dll usbd.sys enable_usbd_sys implib usbd
18354 wine_fn_config_dll user.exe16 enable_win16
18355 wine_fn_config_dll user32 enable_user32 clean
,implib
18356 wine_fn_config_test dlls
/user32
/tests user32_test
18357 wine_fn_config_dll userenv enable_userenv implib
18358 wine_fn_config_test dlls
/userenv
/tests userenv_test
18359 wine_fn_config_dll usp10 enable_usp10 implib
18360 wine_fn_config_test dlls
/usp10
/tests usp10_test
18361 wine_fn_config_lib uuid
18362 wine_fn_config_dll uxtheme enable_uxtheme implib
18363 wine_fn_config_test dlls
/uxtheme
/tests uxtheme_test
18364 wine_fn_config_dll vbscript enable_vbscript clean
18365 wine_fn_config_test dlls
/vbscript
/tests vbscript_test clean
18366 wine_fn_config_dll vcomp enable_vcomp
18367 wine_fn_config_test dlls
/vcomp
/tests vcomp_test
18368 wine_fn_config_dll vcomp100 enable_vcomp100
18369 wine_fn_config_dll vcomp110 enable_vcomp110
18370 wine_fn_config_dll vcomp120 enable_vcomp120
18371 wine_fn_config_dll vcomp140 enable_vcomp140
18372 wine_fn_config_dll vcomp90 enable_vcomp90
18373 wine_fn_config_dll vcruntime140 enable_vcruntime140
18374 wine_fn_config_dll vdhcp.vxd enable_win16
18375 wine_fn_config_dll vdmdbg enable_vdmdbg implib
18376 wine_fn_config_dll ver.dll16 enable_win16
18377 wine_fn_config_dll version enable_version implib
18378 wine_fn_config_test dlls
/version
/tests version_test
18379 wine_fn_config_dll virtdisk enable_virtdisk
18380 wine_fn_config_dll vmm.vxd enable_win16
18381 wine_fn_config_dll vnbt.vxd enable_win16
18382 wine_fn_config_dll vnetbios.vxd enable_win16
18383 wine_fn_config_dll vssapi enable_vssapi
18384 wine_fn_config_dll vtdapi.vxd enable_win16
18385 wine_fn_config_dll vwin32.vxd enable_win16
18386 wine_fn_config_dll w32skrnl enable_win16
18387 wine_fn_config_dll w32sys.dll16 enable_win16
18388 wine_fn_config_dll wbemdisp enable_wbemdisp clean
18389 wine_fn_config_test dlls
/wbemdisp
/tests wbemdisp_test
18390 wine_fn_config_dll wbemprox enable_wbemprox clean
18391 wine_fn_config_test dlls
/wbemprox
/tests wbemprox_test
18392 wine_fn_config_dll webservices enable_webservices implib
18393 wine_fn_config_test dlls
/webservices
/tests webservices_test
18394 wine_fn_config_dll wer enable_wer implib
18395 wine_fn_config_test dlls
/wer
/tests wer_test
18396 wine_fn_config_dll wevtapi enable_wevtapi
18397 wine_fn_config_dll wiaservc enable_wiaservc clean
18398 wine_fn_config_test dlls
/wiaservc
/tests wiaservc_test
18399 wine_fn_config_dll wimgapi enable_wimgapi
18400 wine_fn_config_dll win32s16.dll16 enable_win16
18401 wine_fn_config_dll win87em.dll16 enable_win16
18402 wine_fn_config_dll winaspi.dll16 enable_win16
18403 wine_fn_config_dll windebug.dll16 enable_win16
18404 wine_fn_config_dll windowscodecs enable_windowscodecs clean
,implib
18405 wine_fn_config_test dlls
/windowscodecs
/tests windowscodecs_test
18406 wine_fn_config_dll windowscodecsext enable_windowscodecsext implib
18407 wine_fn_config_test dlls
/windowscodecsext
/tests windowscodecsext_test
18408 wine_fn_config_dll winealsa.drv enable_winealsa_drv
18409 wine_fn_config_dll winebus.sys enable_winebus_sys
18410 wine_fn_config_dll winecoreaudio.drv enable_winecoreaudio_drv
18411 wine_fn_config_lib winecrt0
18412 wine_fn_config_dll wined3d enable_wined3d implib
18413 wine_fn_config_dll winegstreamer enable_winegstreamer
18414 wine_fn_config_dll winehid.sys enable_winehid_sys
18415 wine_fn_config_dll winejoystick.drv enable_winejoystick_drv
18416 wine_fn_config_dll winemac.drv enable_winemac_drv clean
18417 wine_fn_config_dll winemapi enable_winemapi
18418 wine_fn_config_dll winemp3.acm enable_winemp3_acm
18419 wine_fn_config_dll wineoss.drv enable_wineoss_drv
18420 wine_fn_config_dll wineps.drv enable_wineps_drv clean
18421 wine_fn_config_dll wineps16.drv16 enable_win16
18422 wine_fn_config_dll winepulse.drv enable_winepulse_drv
18423 wine_fn_config_dll wineqtdecoder enable_wineqtdecoder
18424 wine_fn_config_dll winex11.drv enable_winex11_drv
18425 wine_fn_config_dll wing.dll16 enable_win16
18426 wine_fn_config_dll wing32 enable_wing32
18427 wine_fn_config_dll winhttp enable_winhttp clean
,implib
18428 wine_fn_config_test dlls
/winhttp
/tests winhttp_test
18429 wine_fn_config_dll wininet enable_wininet clean
,implib
18430 wine_fn_config_test dlls
/wininet
/tests wininet_test
18431 wine_fn_config_dll winmm enable_winmm clean
,implib
18432 wine_fn_config_test dlls
/winmm
/tests winmm_test
18433 wine_fn_config_dll winnls.dll16 enable_win16
18434 wine_fn_config_dll winnls32 enable_winnls32 implib
18435 wine_fn_config_dll winscard enable_winscard implib
18436 wine_fn_config_dll winsock.dll16 enable_win16
18437 wine_fn_config_dll winspool.drv enable_winspool_drv clean
,implib winspool
18438 wine_fn_config_test dlls
/winspool.drv
/tests winspool.drv_test
18439 wine_fn_config_dll winsta enable_winsta
18440 wine_fn_config_dll wintab.dll16 enable_win16
18441 wine_fn_config_dll wintab32 enable_wintab32 implib
18442 wine_fn_config_test dlls
/wintab32
/tests wintab32_test
18443 wine_fn_config_dll wintrust enable_wintrust implib
18444 wine_fn_config_test dlls
/wintrust
/tests wintrust_test
18445 wine_fn_config_dll winusb enable_winusb
18446 wine_fn_config_dll wlanapi enable_wlanapi implib
18447 wine_fn_config_test dlls
/wlanapi
/tests wlanapi_test
18448 wine_fn_config_dll wldap32 enable_wldap32 clean
,implib
18449 wine_fn_config_test dlls
/wldap32
/tests wldap32_test
18450 wine_fn_config_dll wmasf enable_wmasf
18451 wine_fn_config_dll wmi enable_wmi
18452 wine_fn_config_dll wmiutils enable_wmiutils clean
18453 wine_fn_config_test dlls
/wmiutils
/tests wmiutils_test
18454 wine_fn_config_dll wmp enable_wmp clean
18455 wine_fn_config_test dlls
/wmp
/tests wmp_test
18456 wine_fn_config_dll wmvcore enable_wmvcore
18457 wine_fn_config_dll wnaspi32 enable_wnaspi32 implib
18458 wine_fn_config_dll wow32 enable_win16 implib
18459 wine_fn_config_dll wpc enable_wpc clean
18460 wine_fn_config_test dlls
/wpc
/tests wpc_test
18461 wine_fn_config_dll wpcap enable_wpcap
18462 wine_fn_config_dll ws2_32 enable_ws2_32 implib
18463 wine_fn_config_test dlls
/ws2_32
/tests ws2_32_test
18464 wine_fn_config_dll wshom.ocx enable_wshom_ocx clean
18465 wine_fn_config_test dlls
/wshom.ocx
/tests wshom.ocx_test clean
18466 wine_fn_config_dll wsnmp32 enable_wsnmp32 implib
18467 wine_fn_config_test dlls
/wsnmp32
/tests wsnmp32_test
18468 wine_fn_config_dll wsock32 enable_wsock32 implib
18469 wine_fn_config_dll wtsapi32 enable_wtsapi32 implib
18470 wine_fn_config_test dlls
/wtsapi32
/tests wtsapi32_test
18471 wine_fn_config_dll wuapi enable_wuapi clean
18472 wine_fn_config_dll wuaueng enable_wuaueng
18473 wine_fn_config_dll x3daudio1_0 enable_x3daudio1_0
18474 wine_fn_config_dll x3daudio1_1 enable_x3daudio1_1
18475 wine_fn_config_dll x3daudio1_2 enable_x3daudio1_2
18476 wine_fn_config_dll x3daudio1_3 enable_x3daudio1_3
18477 wine_fn_config_dll x3daudio1_4 enable_x3daudio1_4
18478 wine_fn_config_dll x3daudio1_5 enable_x3daudio1_5
18479 wine_fn_config_dll x3daudio1_6 enable_x3daudio1_6
18480 wine_fn_config_dll x3daudio1_7 enable_x3daudio1_7
18481 wine_fn_config_dll xapofx1_1 enable_xapofx1_1
18482 wine_fn_config_dll xapofx1_2 enable_xapofx1_2
18483 wine_fn_config_dll xapofx1_3 enable_xapofx1_3
18484 wine_fn_config_dll xapofx1_4 enable_xapofx1_4
18485 wine_fn_config_dll xapofx1_5 enable_xapofx1_5
18486 wine_fn_config_dll xaudio2_0 enable_xaudio2_0 clean
18487 wine_fn_config_dll xaudio2_1 enable_xaudio2_1 clean
18488 wine_fn_config_dll xaudio2_2 enable_xaudio2_2 clean
18489 wine_fn_config_dll xaudio2_3 enable_xaudio2_3 clean
18490 wine_fn_config_dll xaudio2_4 enable_xaudio2_4 clean
18491 wine_fn_config_dll xaudio2_5 enable_xaudio2_5 clean
18492 wine_fn_config_dll xaudio2_6 enable_xaudio2_6 clean
18493 wine_fn_config_dll xaudio2_7 enable_xaudio2_7 clean
18494 wine_fn_config_test dlls
/xaudio2_
7/tests xaudio2_7_test
18495 wine_fn_config_dll xaudio2_8 enable_xaudio2_8 clean
18496 wine_fn_config_dll xaudio2_9 enable_xaudio2_9 clean
18497 wine_fn_config_dll xinput1_1 enable_xinput1_1
18498 wine_fn_config_dll xinput1_2 enable_xinput1_2
18499 wine_fn_config_dll xinput1_3 enable_xinput1_3 implib xinput
18500 wine_fn_config_test dlls
/xinput1_
3/tests xinput1_3_test
18501 wine_fn_config_dll xinput1_4 enable_xinput1_4
18502 wine_fn_config_dll xinput9_1_0 enable_xinput9_1_0
18503 wine_fn_config_dll xmllite enable_xmllite implib
18504 wine_fn_config_test dlls
/xmllite
/tests xmllite_test
18505 wine_fn_config_dll xolehlp enable_xolehlp
18506 wine_fn_config_dll xpsprint enable_xpsprint
18507 wine_fn_config_dll xpssvcs enable_xpssvcs
18508 wine_fn_config_makefile fonts enable_fonts clean
,install-lib
18509 wine_fn_config_makefile include enable_include clean
,install-dev
18510 wine_fn_config_makefile libs
/port enable_libs_port
18511 wine_fn_config_makefile libs
/wine enable_libs_wine clean
,implib
,install-dev
,install-lib
18512 wine_fn_config_makefile libs
/wpp enable_libs_wpp
18513 wine_fn_config_makefile loader enable_loader clean
,install-lib
18514 wine_fn_config_makefile po enable_po clean
18515 wine_fn_config_program arp enable_arp
install
18516 wine_fn_config_program aspnet_regiis enable_aspnet_regiis
install
18517 wine_fn_config_program attrib enable_attrib clean
,install
18518 wine_fn_config_program cabarc enable_cabarc
install
18519 wine_fn_config_program cacls enable_cacls
install
18520 wine_fn_config_program
clock enable_clock clean
,install
18521 wine_fn_config_program cmd enable_cmd clean
,install
18522 wine_fn_config_test programs
/cmd
/tests cmd.exe_test
18523 wine_fn_config_program conhost enable_conhost
install
18524 wine_fn_config_program control enable_control
install
18525 wine_fn_config_program cscript enable_cscript clean
,install
18526 wine_fn_config_program dpnsvr enable_dpnsvr
install
18527 wine_fn_config_program dxdiag enable_dxdiag clean
,install
18528 wine_fn_config_program eject enable_eject
install
18529 wine_fn_config_program
expand enable_expand
install
18530 wine_fn_config_program explorer enable_explorer clean
,install
18531 wine_fn_config_program extrac32 enable_extrac32
install
18532 wine_fn_config_program findstr enable_findstr
install
18533 wine_fn_config_program fsutil enable_fsutil
install
18534 wine_fn_config_program hh enable_hh
install
18535 wine_fn_config_program hostname enable_hostname clean
,install
18536 wine_fn_config_program icacls enable_icacls
install
18537 wine_fn_config_program icinfo enable_icinfo
install
18538 wine_fn_config_program iexplore enable_iexplore
install
18539 wine_fn_config_program ipconfig enable_ipconfig clean
,install
18540 wine_fn_config_program lodctr enable_lodctr
install
18541 wine_fn_config_program mofcomp enable_mofcomp
install
18542 wine_fn_config_program mshta enable_mshta
install
18543 wine_fn_config_program msiexec enable_msiexec
install,installbin
,manpage
18544 wine_fn_config_program msinfo32 enable_msinfo32 clean
,install
18545 wine_fn_config_program net enable_net clean
,install
18546 wine_fn_config_program netsh enable_netsh
install
18547 wine_fn_config_program netstat enable_netstat clean
,install
18548 wine_fn_config_program ngen enable_ngen
install
18549 wine_fn_config_program notepad enable_notepad clean
,install,installbin
,manpage
18550 wine_fn_config_program oleview enable_oleview clean
,install
18551 wine_fn_config_program
ping enable_ping
install
18552 wine_fn_config_program plugplay enable_plugplay
install
18553 wine_fn_config_program presentationfontcache enable_presentationfontcache
install
18554 wine_fn_config_program progman enable_progman clean
,install
18555 wine_fn_config_program reg enable_reg clean
,install
18556 wine_fn_config_test programs
/reg
/tests reg.exe_test
18557 wine_fn_config_program regasm enable_regasm
install
18558 wine_fn_config_program regedit enable_regedit clean
,install,installbin
,manpage
18559 wine_fn_config_test programs
/regedit
/tests regedit.exe_test
18560 wine_fn_config_program regsvcs enable_regsvcs
install
18561 wine_fn_config_program regsvr32 enable_regsvr32 clean
,install,installbin
,manpage
18562 wine_fn_config_program rpcss enable_rpcss clean
,install
18563 wine_fn_config_program rundll.exe16 enable_win16
install
18564 wine_fn_config_program rundll32 enable_rundll32
install
18565 wine_fn_config_program sc enable_sc
install
18566 wine_fn_config_program schtasks enable_schtasks
install
18567 wine_fn_config_program sdbinst enable_sdbinst
install
18568 wine_fn_config_program secedit enable_secedit
install
18569 wine_fn_config_program servicemodelreg enable_servicemodelreg
install
18570 wine_fn_config_program services enable_services clean
,install
18571 wine_fn_config_test programs
/services
/tests services.exe_test
18572 wine_fn_config_program shutdown enable_shutdown
install
18573 wine_fn_config_program spoolsv enable_spoolsv
install
18574 wine_fn_config_program start enable_start clean
,install
18575 wine_fn_config_program subst enable_subst
install
18576 wine_fn_config_program svchost enable_svchost
install
18577 wine_fn_config_program systeminfo enable_systeminfo
install
18578 wine_fn_config_program taskkill enable_taskkill clean
,install
18579 wine_fn_config_program tasklist enable_tasklist
install
18580 wine_fn_config_program taskmgr enable_taskmgr clean
,install
18581 wine_fn_config_program termsv enable_termsv
install
18582 wine_fn_config_program uninstaller enable_uninstaller clean
,install
18583 wine_fn_config_program unlodctr enable_unlodctr
install
18584 wine_fn_config_program view enable_view clean
,install
18585 wine_fn_config_program wevtutil enable_wevtutil
install
18586 wine_fn_config_program wineboot enable_wineboot clean
,install,installbin
,manpage
18587 wine_fn_config_program winebrowser enable_winebrowser
install
18588 wine_fn_config_program winecfg enable_winecfg clean
,install,installbin
,manpage
18589 wine_fn_config_program wineconsole enable_wineconsole clean
,install,installbin
,manpage
18590 wine_fn_config_program winedbg enable_winedbg clean
,install,installbin
,manpage
18591 wine_fn_config_program winedevice enable_winedevice
install
18592 wine_fn_config_program winefile enable_winefile clean
,install,installbin
,manpage
18593 wine_fn_config_program winemenubuilder enable_winemenubuilder
install
18594 wine_fn_config_program winemine enable_winemine clean
,install,installbin
,manpage
18595 wine_fn_config_program winemsibuilder enable_winemsibuilder
install
18596 wine_fn_config_program winepath enable_winepath
install,installbin
,manpage
18597 wine_fn_config_program winetest enable_winetest clean
18598 wine_fn_config_program winevdm enable_win16
install
18599 wine_fn_config_program winhelp.exe16 enable_win16
install
18600 wine_fn_config_program winhlp32 enable_winhlp32 clean
,install
18601 wine_fn_config_program winoldap.mod16 enable_win16
install
18602 wine_fn_config_program winver enable_winver
install
18603 wine_fn_config_program wmic enable_wmic clean
,install
18604 wine_fn_config_program wmplayer enable_wmplayer
install
18605 wine_fn_config_program wordpad enable_wordpad clean
,install
18606 wine_fn_config_program
write enable_write clean
,install
18607 wine_fn_config_program wscript enable_wscript clean
,install
18608 wine_fn_config_test programs
/wscript
/tests wscript.exe_test
18609 wine_fn_config_program wusa enable_wusa
install
18610 wine_fn_config_program xcopy enable_xcopy clean
,install
18611 wine_fn_config_test programs
/xcopy
/tests xcopy.exe_test
18612 wine_fn_config_makefile server enable_server clean
,install-lib
18613 wine_fn_config_tool tools clean
18614 wine_fn_config_tool tools
/sfnt2fon clean
18615 wine_fn_config_tool tools
/widl clean
,install-dev
18616 wine_fn_config_tool tools
/winebuild clean
,install-dev
18617 wine_fn_config_tool tools
/winedump clean
,install-dev
18618 wine_fn_config_tool tools
/winegcc clean
,install-dev
18619 wine_fn_config_tool tools
/winemaker clean
,install-dev
18620 wine_fn_config_tool tools
/wmc clean
,install-dev
18621 wine_fn_config_tool tools
/wrc clean
,install-dev
18624 wine_fn_append_file CONFIGURE_TARGETS
"TAGS"
18625 wine_fn_append_file CONFIGURE_TARGETS
"tags"
18626 wine_fn_append_file CONFIGURE_TARGETS
"autom4te.cache"
18627 wine_fn_append_file CONFIGURE_TARGETS
"config.log"
18628 wine_fn_append_file CONFIGURE_TARGETS
"config.status"
18629 wine_fn_append_file CONFIGURE_TARGETS
"include/config.h"
18630 wine_fn_append_file CONFIGURE_TARGETS
"include/stamp-h"
18631 test "$wine_binary" = wine || wine_fn_append_file CONFIGURE_TARGETS
"loader/wine"
18633 if test "x$enable_tools" != xno
18635 wine_fn_append_file CONFIGURE_TARGETS
"tools/makedep$ac_exeext"
18636 ac_config_commands
="$ac_config_commands tools/makedep"
18640 ac_config_commands
="$ac_config_commands Makefile"
18643 ac_config_files
="$ac_config_files Make.tmp:Makefile.in"
18647 if test "x$enable_maintainer_mode" = xyes
18649 wine_fn_append_rule
"configure: configure.ac aclocal.m4
18650 autoconf --warnings=all
18651 include/config.h.in: include/stamp-h.in
18652 include/stamp-h.in: configure.ac aclocal.m4
18653 autoheader --warnings=all
18654 @echo timestamp > \$@"
18657 if test "x$enable_tools" != xno
18659 wine_fn_append_rule
"tools/makedep$ac_exeext: $srcdir/tools/makedep.c include/config.h config.status
18660 @./config.status tools/makedep
18661 Makefile: tools/makedep$ac_exeext"
18663 wine_fn_append_rule
"\$(MAKEDEP):
18664 @echo \"You need to run make in $TOOLSDIR first\" && false"
18667 if test -n "$with_wine64"
18669 wine_fn_append_rule
"all: fonts server $with_wine64/loader/wine $with_wine64/loader/wine-preloader
18671 \$(RM) \$@ && \$(LN_S) $with_wine64/\$@ \$@
18672 $with_wine64/loader/wine:
18673 \$(RM) \$@ && \$(LN_S) $ac_pwd/loader/wine \$@
18674 $with_wine64/loader/wine-preloader:
18675 \$(RM) \$@ && \$(LN_S) $ac_pwd/loader/wine-preloader \$@
18677 \$(RM) fonts server $with_wine64/loader/wine $with_wine64/loader/wine-preloader"
18679 WINELOADER_INSTALL
="wine.inf"
18681 wine_fn_append_rule
"install install-lib::
18682 \$(INSTALL_DATA) $srcdir/loader/l_intl.nls \$(DESTDIR)\$(datadir)/wine/l_intl.nls
18684 \$(RM) \$(DESTDIR)\$(datadir)/wine/l_intl.nls"
18686 cygwin
*|mingw32
*|darwin
*|macosx
*|linux-android
*) ;;
18687 *) wine_fn_append_rule
"install install-lib::
18688 \$(INSTALL_DATA) $srcdir/loader/wine.desktop \$(DESTDIR)\$(datadir)/applications/wine.desktop
18690 \$(RM) \$(DESTDIR)\$(datadir)/applications/wine.desktop" ;;
18694 $as_echo " done" >&6
18695 cat >confcache
<<\_ACEOF
18696 # This file is a shell script that caches the results of configure
18697 # tests run on this system so they can be shared between configure
18698 # scripts and configure runs, see configure's option --config-cache.
18699 # It is not useful on other systems. If it contains results you don't
18700 # want to keep, you may remove or edit it.
18702 # config.status only pays attention to the cache file if you give it
18703 # the --recheck option to rerun configure.
18705 # `ac_cv_env_foo' variables (set or unset) will be overridden when
18706 # loading this file, other *unset* `ac_cv_foo' will be assigned the
18707 # following values.
18711 # The following way of writing the cache mishandles newlines in values,
18712 # but we know of no workaround that is simple, portable, and efficient.
18713 # So, we kill variables containing newlines.
18714 # Ultrix sh set writes to stderr and can't be redirected directly,
18715 # and sets the high bit in the cache file unless we assign to the vars.
18717 for ac_var
in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
18718 eval ac_val
=\$
$ac_var
18722 *_cv_
*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
18723 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
18726 _ | IFS | as_nl
) ;; #(
18727 BASH_ARGV | BASH_SOURCE
) eval $ac_var= ;; #(
18728 *) { eval $ac_var=; unset $ac_var;} ;;
18734 case $as_nl`(ac_space=' '; set) 2>&1` in #(
18735 *${as_nl}ac_space
=\
*)
18736 # `set' does not quote correctly, so add quotes: double-quote
18737 # substitution turns \\\\ into \\, and sed turns \\ into \.
18740 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
18743 # `set' quotes correctly as required by POSIX, so do not add quotes.
18744 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
18753 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
18755 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
18757 if diff "$cache_file" confcache
>/dev
/null
2>&1; then :; else
18758 if test -w "$cache_file"; then
18759 if test "x$cache_file" != "x/dev/null"; then
18760 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
18761 $as_echo "$as_me: updating cache $cache_file" >&6;}
18762 if test ! -f "$cache_file" ||
test -h "$cache_file"; then
18763 cat confcache
>"$cache_file"
18765 case $cache_file in #(
18767 mv -f confcache
"$cache_file"$$
&&
18768 mv -f "$cache_file"$$
"$cache_file" ;; #(
18770 mv -f confcache
"$cache_file" ;;
18775 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
18776 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
18781 test "x$prefix" = xNONE
&& prefix
=$ac_default_prefix
18782 # Let make expand exec_prefix.
18783 test "x$exec_prefix" = xNONE
&& exec_prefix
='${prefix}'
18785 DEFS
=-DHAVE_CONFIG_H
18790 for ac_i
in : $LIBOBJS; do test "x$ac_i" = x
: && continue
18791 # 1. Remove the extension, and $U if already installed.
18792 ac_script
='s/\$U\././;s/\.o$//;s/\.obj$//'
18793 ac_i
=`$as_echo "$ac_i" | sed "$ac_script"`
18794 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
18795 # will be set to the directory where LIBOBJS objects are built.
18796 as_fn_append ac_libobjs
" \${LIBOBJDIR}$ac_i\$U.$ac_objext"
18797 as_fn_append ac_ltlibobjs
" \${LIBOBJDIR}$ac_i"'$U.lo'
18799 LIBOBJS
=$ac_libobjs
18801 LTLIBOBJS
=$ac_ltlibobjs
18805 : "${CONFIG_STATUS=./config.status}"
18807 ac_clean_files_save
=$ac_clean_files
18808 ac_clean_files
="$ac_clean_files $CONFIG_STATUS"
18809 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
18810 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
18812 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
18814 # Generated by $as_me.
18815 # Run this file to recreate the current configuration.
18816 # Compiler output produced by configure, useful for debugging
18817 # configure, is in config.log if it exists.
18820 ac_cs_recheck=false
18823 SHELL=\${CONFIG_SHELL-$SHELL}
18826 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail
=1
18827 ## -------------------- ##
18828 ## M4sh Initialization. ##
18829 ## -------------------- ##
18831 # Be more Bourne compatible
18832 DUALCASE
=1; export DUALCASE
# for MKS sh
18833 if test -n "${ZSH_VERSION+set}" && (emulate sh
) >/dev
/null
2>&1; then :
18836 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
18837 # is contrary to our usage. Disable this feature.
18838 alias -g '${1+"$@"}'='"$@"'
18839 setopt NO_GLOB_SUBST
18841 case `(set -o) 2>/dev/null` in #(
18853 # Printing a long string crashes Solaris 7 /usr/bin/printf.
18854 as_echo
='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
18855 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
18856 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
18857 # Prefer a ksh shell builtin over an external printf program on Solaris,
18858 # but without wasting forks for bash or zsh.
18859 if test -z "$BASH_VERSION$ZSH_VERSION" \
18860 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
18861 as_echo='print
-r --'
18862 as_echo_n='print
-rn --'
18863 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
18864 as_echo='printf %s
\n'
18865 as_echo_n='printf %s
'
18867 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
18868 as_echo_body='eval /usr
/ucb
/echo -n "$1$as_nl"'
18869 as_echo_n='/usr
/ucb
/echo -n'
18871 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
18872 as_echo_n_body='eval
18876 expr "X$arg" : "X\\(.*\\)$as_nl";
18877 arg
=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
18879 expr "X$arg" : "X\\(.*\\)" |
tr -d "$as_nl"
18881 export as_echo_n_body
18882 as_echo_n='sh
-c $as_echo_n_body as_echo
'
18884 export as_echo_body
18885 as_echo='sh
-c $as_echo_body as_echo
'
18888 # The user is always right.
18889 if test "${PATH_SEPARATOR+set}" != set; then
18891 (PATH='/bin
;/bin
'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
18892 (PATH='/bin
:/bin
'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
18899 # We need space, tab and new line, in precisely that order. Quoting is
18900 # there to prevent editors from complaining about space-tab.
18901 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
18902 # splitting by setting IFS to empty value.)
18905 # Find who we are. Look in the path if we contain no directory separator.
18908 *[\\/]* ) as_myself=$0 ;;
18909 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
18910 for as_dir in $PATH
18913 test -z "$as_dir" && as_dir=.
18914 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
18920 # We did not find ourselves, most probably we were run as `sh COMMAND'
18921 # in which case we are not to be found in the path.
18922 if test "x$as_myself" = x
; then
18925 if test ! -f "$as_myself"; then
18926 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
18930 # Unset variables that we do not need and which cause bugs (e.g. in
18931 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
18932 # suppresses any "Segmentation fault" message there. '((' could
18933 # trigger a bug in pdksh 5.2.14.
18934 for as_var
in BASH_ENV ENV MAIL MAILPATH
18935 do eval test x\
${$as_var+set} = xset \
18936 && ( (unset $as_var) ||
exit 1) >/dev
/null
2>&1 && unset $as_var ||
:
18949 (unset CDPATH
) >/dev
/null
2>&1 && unset CDPATH
18952 # as_fn_error STATUS ERROR [LINENO LOG_FD]
18953 # ----------------------------------------
18954 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
18955 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
18956 # script with STATUS, using 1 if that was 0.
18959 as_status
=$1; test $as_status -eq 0 && as_status
=1
18961 as_lineno
=${as_lineno-"$3"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
18962 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
18964 $as_echo "$as_me: error: $2" >&2
18965 as_fn_exit
$as_status
18969 # as_fn_set_status STATUS
18970 # -----------------------
18971 # Set $? to STATUS, without forking.
18972 as_fn_set_status
()
18975 } # as_fn_set_status
18977 # as_fn_exit STATUS
18978 # -----------------
18979 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
18983 as_fn_set_status
$1
18989 # Portably unset VAR.
18992 { eval $1=; unset $1;}
18994 as_unset
=as_fn_unset
18995 # as_fn_append VAR VALUE
18996 # ----------------------
18997 # Append the text in VALUE to the end of the definition contained in VAR. Take
18998 # advantage of any shell optimizations that allow amortized linear growth over
18999 # repeated appends, instead of the typical quadratic growth present in naive
19001 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev
/null
; then :
19002 eval 'as_fn_append ()
19013 # as_fn_arith ARG...
19014 # ------------------
19015 # Perform arithmetic evaluation on the ARGs, and store the result in the
19016 # global $as_val. Take advantage of shells that can avoid forks. The arguments
19017 # must be portable across $(()) and expr.
19018 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev
/null
; then :
19019 eval 'as_fn_arith ()
19026 as_val
=`expr "$@" || test $? -eq 1`
19031 if expr a
: '\(a\)' >/dev
/null
2>&1 &&
19032 test "X`expr 00001 : '.*\(...\)'`" = X001
; then
19038 if (basename -- /) >/dev
/null
2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
19039 as_basename
=basename
19044 if (as_dir
=`dirname -- /` && test "X$as_dir" = X
/) >/dev
/null
2>&1; then
19050 as_me
=`$as_basename -- "$0" ||
19051 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
19052 X"$0" : 'X\(//\)$' \| \
19053 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
19055 sed '/^.*\/\([^/][^/]*\)\/*$/{
19069 # Avoid depending upon Character Ranges.
19070 as_cr_letters
='abcdefghijklmnopqrstuvwxyz'
19071 as_cr_LETTERS
='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
19072 as_cr_Letters
=$as_cr_letters$as_cr_LETTERS
19073 as_cr_digits
='0123456789'
19074 as_cr_alnum
=$as_cr_Letters$as_cr_digits
19076 ECHO_C
= ECHO_N
= ECHO_T
=
19077 case `echo -n x` in #(((((
19079 case `echo 'xy\c'` in
19080 *c
*) ECHO_T
=' ';; # ECHO_T is single tab character.
19082 *) echo `echo ksh88 bug on AIX 6.1` > /dev
/null
19089 rm -f conf$$ conf$$.exe conf$$.
file
19090 if test -d conf$$.dir
; then
19091 rm -f conf$$.dir
/conf$$.
file
19094 mkdir conf$$.dir
2>/dev
/null
19096 if (echo >conf$$.
file) 2>/dev
/null
; then
19097 if ln -s conf$$.
file conf$$
2>/dev
/null
; then
19099 # ... but there are two gotchas:
19100 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
19101 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
19102 # In both cases, we have to default to `cp -pR'.
19103 ln -s conf$$.
file conf$$.dir
2>/dev
/null
&& test ! -f conf$$.exe ||
19105 elif ln conf$$.
file conf$$
2>/dev
/null
; then
19113 rm -f conf$$ conf$$.exe conf$$.dir
/conf$$.
file conf$$.
file
19114 rmdir conf$$.dir
2>/dev
/null
19119 # Create "$as_dir" as a directory, including parents if necessary.
19124 -*) as_dir
=.
/$as_dir;;
19126 test -d "$as_dir" ||
eval $as_mkdir_p ||
{
19130 *\'*) as_qdir
=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
19131 *) as_qdir
=$as_dir;;
19133 as_dirs
="'$as_qdir' $as_dirs"
19134 as_dir
=`$as_dirname -- "$as_dir" ||
19135 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
19136 X"$as_dir" : 'X\(//\)[^/]' \| \
19137 X"$as_dir" : 'X\(//\)$' \| \
19138 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
19139 $as_echo X"$as_dir" |
19140 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
19144 /^X\(\/\/\)[^/].*/{
19157 test -d "$as_dir" && break
19159 test -z "$as_dirs" ||
eval "mkdir $as_dirs"
19160 } ||
test -d "$as_dir" || as_fn_error $?
"cannot create directory $as_dir"
19164 if mkdir
-p .
2>/dev
/null
; then
19165 as_mkdir_p
='mkdir -p "$as_dir"'
19167 test -d .
/-p && rmdir .
/-p
19172 # as_fn_executable_p FILE
19173 # -----------------------
19174 # Test if FILE is an executable regular file.
19175 as_fn_executable_p
()
19177 test -f "$1" && test -x "$1"
19178 } # as_fn_executable_p
19179 as_test_x
='test -x'
19180 as_executable_p
=as_fn_executable_p
19182 # Sed expression to map a string onto a valid CPP name.
19183 as_tr_cpp
="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
19185 # Sed expression to map a string onto a valid variable name.
19186 as_tr_sh
="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
19190 ## ----------------------------------- ##
19191 ## Main body of $CONFIG_STATUS script. ##
19192 ## ----------------------------------- ##
19194 test $as_write_fail = 0 && chmod +x
$CONFIG_STATUS || ac_write_fail
=1
19196 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
19197 # Save the log message, to keep $0 and so on meaningful, and to
19198 # report actual input values of CONFIG_FILES etc. instead of their
19199 # values after options handling.
19201 This file was extended by Wine $as_me 2.1, which was
19202 generated by GNU Autoconf 2.69. Invocation command line was
19204 CONFIG_FILES = $CONFIG_FILES
19205 CONFIG_HEADERS = $CONFIG_HEADERS
19206 CONFIG_LINKS = $CONFIG_LINKS
19207 CONFIG_COMMANDS = $CONFIG_COMMANDS
19210 on `(hostname || uname -n) 2>/dev/null | sed 1q`
19215 case $ac_config_files in *"
19216 "*) set x
$ac_config_files; shift; ac_config_files
=$
*;;
19219 case $ac_config_headers in *"
19220 "*) set x
$ac_config_headers; shift; ac_config_headers
=$
*;;
19224 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
19225 # Files that config.status was made for.
19226 config_files="$ac_config_files"
19227 config_headers="$ac_config_headers"
19228 config_links="$ac_config_links"
19229 config_commands="$ac_config_commands"
19233 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
19235 \`$as_me' instantiates files and other configuration actions
19236 from templates according to the current configuration. Unless the files
19237 and actions are specified as TAGs, all are instantiated by default.
19239 Usage: $0 [OPTION]... [TAG]...
19241 -h, --help print this help, then exit
19242 -V, --version print version number and configuration settings, then exit
19243 --config print configuration, then exit
19244 -q, --quiet, --silent
19245 do not print progress messages
19246 -d, --debug don't remove temporary files
19247 --recheck update $as_me by reconfiguring in the same conditions
19248 --file=FILE[:TEMPLATE]
19249 instantiate the configuration file FILE
19250 --header=FILE[:TEMPLATE]
19251 instantiate the configuration header FILE
19253 Configuration files:
19256 Configuration headers:
19259 Configuration links:
19262 Configuration commands:
19265 Report bugs to <wine-devel@winehq.org>.
19266 Wine home page: <http://www.winehq.org>."
19269 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
19270 ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
19272 Wine config.status 2.1
19273 configured by $0, generated by GNU Autoconf 2.69,
19274 with options \\"\$ac_cs_config\\"
19276 Copyright (C) 2012 Free Software Foundation, Inc.
19277 This config.status script is free software; the Free Software Foundation
19278 gives unlimited permission to copy, distribute and modify it."
19282 test -n "\$AWK" || AWK=awk
19285 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
19286 # The default lists apply if the user does not specify any file.
19292 ac_option
=`expr "X$1" : 'X\([^=]*\)='`
19293 ac_optarg
=`expr "X$1" : 'X[^=]*=\(.*\)'`
19297 ac_option
=`expr "X$1" : 'X\([^=]*\)='`
19309 # Handling of the options.
19310 -recheck |
--recheck |
--rechec |
--reche |
--rech |
--rec |
--re |
--r)
19312 --version |
--versio |
--versi |
--vers |
--ver |
--ve |
--v |
-V )
19313 $as_echo "$ac_cs_version"; exit ;;
19314 --config |
--confi |
--conf |
--con |
--co |
--c )
19315 $as_echo "$ac_cs_config"; exit ;;
19316 --debug |
--debu |
--deb |
--de |
--d |
-d )
19318 --file |
--fil |
--fi |
--f )
19321 *\'*) ac_optarg
=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
19322 '') as_fn_error $?
"missing file argument" ;;
19324 as_fn_append CONFIG_FILES
" '$ac_optarg'"
19325 ac_need_defaults
=false
;;
19326 --header |
--heade |
--head |
--hea )
19329 *\'*) ac_optarg
=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
19331 as_fn_append CONFIG_HEADERS
" '$ac_optarg'"
19332 ac_need_defaults
=false
;;
19334 # Conflict between --help and --header
19335 as_fn_error $?
"ambiguous option: \`$1'
19336 Try \`$0 --help' for more information.";;
19337 --help |
--hel |
-h )
19338 $as_echo "$ac_cs_usage"; exit ;;
19339 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
19340 |
-silent |
--silent |
--silen |
--sile |
--sil |
--si |
--s)
19343 # This is an error.
19344 -*) as_fn_error $?
"unrecognized option: \`$1'
19345 Try \`$0 --help' for more information." ;;
19347 *) as_fn_append ac_config_targets
" $1"
19348 ac_need_defaults
=false
;;
19354 ac_configure_extra_args
=
19356 if $ac_cs_silent; then
19358 ac_configure_extra_args
="$ac_configure_extra_args --silent"
19362 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
19363 if \$ac_cs_recheck; then
19364 set X $SHELL '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
19366 \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
19367 CONFIG_SHELL='$SHELL'
19368 export CONFIG_SHELL
19373 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
19377 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
19378 ## Running $as_me. ##
19384 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
19388 wine_fn_output_makedep ()
19390 as_dir=tools; as_fn_mkdir_p
19391 $CC -Iinclude -I$srcdir/include -D__WINESRC__ $EXTRACFLAGS $CPPFLAGS $CFLAGS -o tools/makedep$ac_exeext $srcdir/tools/makedep.c $LDFLAGS
19393 wine_fn_output_makefile ()
19395 cat Make.tmp - <<\_WINE_EOF >\$tmp/makefile && mv -f \$tmp/makefile \$1 && rm -f Make.tmp && "$wine_makedep" && return
19396 `cat $wine_rules_file`
19398 as_fn_error $? "could not create Makefile" "$LINENO" 5
19403 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
19405 # Handling of arguments.
19406 for ac_config_target
in $ac_config_targets
19408 case $ac_config_target in
19409 "include/config.h") CONFIG_HEADERS
="$CONFIG_HEADERS include/config.h" ;;
19410 "include/stamp-h") CONFIG_COMMANDS
="$CONFIG_COMMANDS include/stamp-h" ;;
19411 "fonts/marlett.ttf") CONFIG_LINKS
="$CONFIG_LINKS fonts/marlett.ttf:fonts/marlett.ttf" ;;
19412 "fonts/symbol.ttf") CONFIG_LINKS
="$CONFIG_LINKS fonts/symbol.ttf:fonts/symbol.ttf" ;;
19413 "fonts/tahoma.ttf") CONFIG_LINKS
="$CONFIG_LINKS fonts/tahoma.ttf:fonts/tahoma.ttf" ;;
19414 "fonts/tahomabd.ttf") CONFIG_LINKS
="$CONFIG_LINKS fonts/tahomabd.ttf:fonts/tahomabd.ttf" ;;
19415 "fonts/wingding.ttf") CONFIG_LINKS
="$CONFIG_LINKS fonts/wingding.ttf:fonts/wingding.ttf" ;;
19416 "loader/l_intl.nls") CONFIG_LINKS
="$CONFIG_LINKS loader/l_intl.nls:loader/l_intl.nls" ;;
19417 "wine") CONFIG_LINKS
="$CONFIG_LINKS wine:tools/winewrapper" ;;
19418 "wine64") CONFIG_LINKS
="$CONFIG_LINKS wine64:tools/winewrapper" ;;
19419 "tools/makedep") CONFIG_COMMANDS
="$CONFIG_COMMANDS tools/makedep" ;;
19420 "Makefile") CONFIG_COMMANDS
="$CONFIG_COMMANDS Makefile" ;;
19421 "Make.tmp") CONFIG_FILES
="$CONFIG_FILES Make.tmp:Makefile.in" ;;
19423 *) as_fn_error $?
"invalid argument: \`$ac_config_target'" "$LINENO" 5;;
19428 # If the user did not use the arguments to specify the items to instantiate,
19429 # then the envvar interface is used. Set only those that are not.
19430 # We use the long form for the default assignment because of an extremely
19431 # bizarre bug on SunOS 4.1.3.
19432 if $ac_need_defaults; then
19433 test "${CONFIG_FILES+set}" = set || CONFIG_FILES
=$config_files
19434 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS
=$config_headers
19435 test "${CONFIG_LINKS+set}" = set || CONFIG_LINKS
=$config_links
19436 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS
=$config_commands
19439 # Have a temporary directory for convenience. Make it in the build tree
19440 # simply because there is no reason against having it here, and in addition,
19441 # creating and moving files from /tmp can sometimes cause problems.
19442 # Hook for its removal unless debugging.
19443 # Note that there is a small window in which the directory will not be cleaned:
19444 # after its creation but before its name has been assigned to `$tmp'.
19448 trap 'exit_status=$?
19449 : "${ac_tmp:=$tmp}"
19450 { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
19452 trap 'as_fn_exit 1' 1 2 13 15
19454 # Create a (secure) tmp directory for tmp files.
19457 tmp
=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
19461 tmp
=.
/conf$$
-$RANDOM
19462 (umask 077 && mkdir
"$tmp")
19463 } || as_fn_error $?
"cannot create a temporary directory in ." "$LINENO" 5
19466 # Set up the scripts for CONFIG_FILES section.
19467 # No need to generate them if there are no CONFIG_FILES.
19468 # This happens for instance with `./config.status config.h'.
19469 if test -n "$CONFIG_FILES"; then
19472 ac_cr
=`echo X | tr X '\015'`
19473 # On cygwin, bash can eat \r inside `` if the user requested igncr.
19474 # But we know of no other shell where ac_cr would be empty at this
19475 # point, so we can use a bashism as a fallback.
19476 if test "x$ac_cr" = x
; then
19477 eval ac_cr
=\$
\'\\r
\'
19479 ac_cs_awk_cr
=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
19480 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
19483 ac_cs_awk_cr
=$ac_cr
19486 echo 'BEGIN {' >"$ac_tmp/subs1.awk" &&
19491 echo "cat >conf$$subs.awk <<_ACEOF" &&
19492 echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
19494 } >conf$$subs.sh ||
19495 as_fn_error $? "could not
make $CONFIG_STATUS" "$LINENO" 5
19496 ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
19498 for ac_last_try in false false false false false :; do
19499 . ./conf$$subs.sh ||
19500 as_fn_error $? "could not
make $CONFIG_STATUS" "$LINENO" 5
19502 ac_delim_n=`sed -n "s
/.
*$ac_delim\$
/X
/p
" conf$$subs.awk | grep -c X`
19503 if test $ac_delim_n = $ac_delim_num; then
19505 elif $ac_last_try; then
19506 as_fn_error $? "could not
make $CONFIG_STATUS" "$LINENO" 5
19508 ac_delim="$ac_delim!$ac_delim _
$ac_delim!! "
19511 rm -f conf$$subs.sh
19513 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
19514 cat >>"\
$ac_tmp/subs1.
awk" <<\\_ACAWK &&
19518 s/^/S["/; s
/!.
*/"]=/
19528 s/\(.\{148\}\)..*/\1/
19530 s/["\\]/\\&/g
; s
/^
/"/; s/$/\\n"\\/
19535 s
/["\\]/\\&/g; s/^/"/; s
/$
/"\\/
19542 s/\(.\{148\}\)..*/\1/
19544 s/["\\]/\\&/g
; s
/^
/"/; s/$/"/
19548 s
/["\\]/\\&/g; s/^/"/; s
/$
/"\\/
19553 ' <conf$$subs.awk | sed '
19558 ' >>$CONFIG_STATUS || ac_write_fail=1
19559 rm -f conf$$subs.awk
19560 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
19562 cat >>"\
$ac_tmp/subs1.
awk" <<_ACAWK &&
19563 for (key in S) S_is_set[key] = 1
19569 nfields = split(line, field, "@
")
19571 len = length(field[1])
19572 for (i = 2; i < nfields; i++) {
19574 keylen = length(key)
19575 if (S_is_set[key]) {
19577 line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
19578 len += length(value) + length(field[++i])
19589 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
19590 if sed "s
/$ac_cr//" < /dev/null > /dev/null 2>&1; then
19591 sed "s
/$ac_cr\$
//; s
/$ac_cr/$ac_cs_awk_cr/g
"
19594 fi < "$ac_tmp/subs1.
awk" > "$ac_tmp/subs.
awk" \
19595 || as_fn_error $? "could not setup config files machinery
" "$LINENO" 5
19598 # VPATH may cause trouble with some makes, so we remove sole $(srcdir),
19599 # ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".
", strip leading and
19600 # trailing colons and then remove the whole line if VPATH becomes empty
19601 # (actually we leave an empty line to preserve line numbers).
19602 if test "x
$srcdir" = x.; then
19603 ac_vpsub='/^[ ]*VPATH[ ]*=[ ]*/{
19621 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
19622 fi # test -n "$CONFIG_FILES"
19624 # Set up the scripts for CONFIG_HEADERS section.
19625 # No need to generate them if there are no CONFIG_HEADERS.
19626 # This happens for instance with `./config.status Makefile'.
19627 if test -n "$CONFIG_HEADERS"; then
19628 cat >"$ac_tmp/defines.
awk" <<\_ACAWK ||
19632 # Transform confdefs.h into an awk script `defines.awk', embedded as
19633 # here-document in config.status, that substitutes the proper values into
19634 # config.h.in to produce config.h.
19636 # Create a delimiter string that does not exist in confdefs.h, to ease
19637 # handling of long lines.
19639 for ac_last_try in false false :; do
19640 ac_tt=`sed -n "/$ac_delim/p
" confdefs.h`
19641 if test -z "$ac_tt"; then
19643 elif $ac_last_try; then
19644 as_fn_error $? "could not
make $CONFIG_HEADERS" "$LINENO" 5
19646 ac_delim="$ac_delim!$ac_delim _
$ac_delim!! "
19650 # For the awk script, D is an array of macro values keyed by name,
19651 # likewise P contains macro parameters if any. Preserve backslash
19652 # newline sequences.
19654 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
19656 s/.\{148\}/&'"$ac_delim"'/g
19659 s/^[ ]*#[ ]*define[ ][ ]*/ /
19666 s
/^ \
('"$ac_word_re"'\
)\
(([^
()]*)\
)[ ]*\
(.
*\
)/P
["\1"]="\2"\
19668 s
/^ \
('"$ac_word_re"'\
)[ ]*\
(.
*\
)/D
["\1"]=" \2"/p
19672 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\
1"]="\
2"\
19673 D["\
1"]=" \
3\\\\\\n
"\\/p
19675 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\
1"]=" \
2\\\\\\n
"\\/p
19680 s/.\{148\}/&'"$ac_delim"'/g
19685 s/["\\]/\\&/g
; s
/^
/"/; s/$/"/p
19688 s
/["\\]/\\&/g; s/^/"/; s
/$
/\\\\\\n
"\\/p
19690 ' <confdefs.h | sed '
19691 s/'"$ac_delim"'/"\\\
19692 "/g' >>$CONFIG_STATUS || ac_write_fail=1
19694 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
19695 for (key in D) D_is_set[key] = 1
19698 /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
19700 split(line, arg, " ")
19701 if (arg[1] == "#") {
19705 defundef
= substr
(arg
[1], 2)
19708 split(mac1
, mac2
, "(") #)
19710 prefix
= substr
(line
, 1, index
(line
, defundef
) - 1)
19711 if (D_is_set
[macro
]) {
19712 # Preserve the white space surrounding the "#".
19713 print prefix
"define", macro P
[macro
] D
[macro
]
19716 # Replace #undef with comments. This is necessary, for example,
19717 # in the case of _POSIX_SOURCE, which is predefined and required
19718 # on some systems where configure will not decide to define it.
19719 if (defundef
== "undef") {
19720 print
"/*", prefix defundef
, macro
, "*/"
19728 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
19729 as_fn_error $?
"could not setup config headers machinery" "$LINENO" 5
19730 fi # test -n "$CONFIG_HEADERS"
19733 eval set X
" :F $CONFIG_FILES :H $CONFIG_HEADERS :L $CONFIG_LINKS :C $CONFIG_COMMANDS"
19738 :[FHLC
]) ac_mode
=$ac_tag; continue;;
19740 case $ac_mode$ac_tag in
19742 :L
* |
:C
*:*) as_fn_error $?
"invalid tag \`$ac_tag'" "$LINENO" 5;;
19743 :[FH
]-) ac_tag
=-:-;;
19744 :[FH
]*) ac_tag
=$ac_tag:$ac_tag.
in;;
19761 -) ac_f
="$ac_tmp/stdin";;
19762 *) # Look for the file first in the build tree, then in the source tree
19763 # (if the path is not absolute). The absolute path cannot be DOS-style,
19764 # because $ac_f cannot contain `:'.
19768 *) test -f "$srcdir/$ac_f" && ac_f
="$srcdir/$ac_f";;
19770 as_fn_error
1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
19772 case $ac_f in *\'*) ac_f
=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
19773 as_fn_append ac_file_inputs
" '$ac_f'"
19776 # Let's still pretend it is `configure' which instantiates (i.e., don't
19777 # use $as_me), people would be surprised to read:
19778 # /* config.h. Generated by config.status. */
19779 configure_input
='Generated from '`
19780 $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
19782 if test x
"$ac_file" != x-
; then
19783 configure_input
="$ac_file. $configure_input"
19784 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
19785 $as_echo "$as_me: creating $ac_file" >&6;}
19787 # Neutralize special characters interpreted by sed in replacement strings.
19788 case $configure_input in #(
19789 *\
&* |
*\|
* |
*\\* )
19790 ac_sed_conf_input
=`$as_echo "$configure_input" |
19791 sed 's/[\\\\&|]/\\\\&/g'`;; #(
19792 *) ac_sed_conf_input
=$configure_input;;
19796 *:-:* |
*:-) cat >"$ac_tmp/stdin" \
19797 || as_fn_error $?
"could not create $ac_file" "$LINENO" 5 ;;
19802 ac_dir
=`$as_dirname -- "$ac_file" ||
19803 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
19804 X"$ac_file" : 'X\(//\)[^/]' \| \
19805 X"$ac_file" : 'X\(//\)$' \| \
19806 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
19807 $as_echo X"$ac_file" |
19808 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
19812 /^X\(\/\/\)[^/].*/{
19825 as_dir
="$ac_dir"; as_fn_mkdir_p
19829 .
) ac_dir_suffix
= ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
19831 ac_dir_suffix
=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
19832 # A ".." for each directory in $ac_dir_suffix.
19833 ac_top_builddir_sub
=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
19834 case $ac_top_builddir_sub in
19835 "") ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
19836 *) ac_top_build_prefix
=$ac_top_builddir_sub/ ;;
19839 ac_abs_top_builddir
=$ac_pwd
19840 ac_abs_builddir
=$ac_pwd$ac_dir_suffix
19841 # for backward compatibility:
19842 ac_top_builddir
=$ac_top_build_prefix
19845 .
) # We are building in place.
19847 ac_top_srcdir
=$ac_top_builddir_sub
19848 ac_abs_top_srcdir
=$ac_pwd ;;
19849 [\\/]* | ?
:[\\/]* ) # Absolute name.
19850 ac_srcdir
=$srcdir$ac_dir_suffix;
19851 ac_top_srcdir
=$srcdir
19852 ac_abs_top_srcdir
=$srcdir ;;
19853 *) # Relative name.
19854 ac_srcdir
=$ac_top_build_prefix$srcdir$ac_dir_suffix
19855 ac_top_srcdir
=$ac_top_build_prefix$srcdir
19856 ac_abs_top_srcdir
=$ac_pwd/$srcdir ;;
19858 ac_abs_srcdir
=$ac_abs_top_srcdir$ac_dir_suffix
19869 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
19870 # If the template does not know about datarootdir, expand it.
19871 # FIXME: This hack should be removed a few years after 2.60.
19872 ac_datarootdir_hack
=; ac_datarootdir_seen
=
19883 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
19884 *datarootdir
*) ac_datarootdir_seen
=yes;;
19885 *@datadir@
*|
*@docdir@
*|
*@infodir@
*|
*@localedir@
*|
*@mandir@
*)
19886 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
19887 $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
19889 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
19890 ac_datarootdir_hack='
19891 s&@datadir@&$datadir&g
19892 s&@docdir@&$docdir&g
19893 s&@infodir@&$infodir&g
19894 s&@localedir@&$localedir&g
19895 s&@mandir@&$mandir&g
19896 s&\\\${datarootdir}&$datarootdir&g' ;;
19900 # Neutralize VPATH when `$srcdir' = `.'.
19901 # Shell code in configure.ac might set extrasub.
19902 # FIXME: do we really want to maintain this feature?
19903 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
19904 ac_sed_extra="$ac_vpsub
19907 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
19909 /@
[a-zA-Z_
][a-zA-Z_0-9
]*@
/!b
19910 s|@configure_input@|
$ac_sed_conf_input|
;t t
19911 s
&@top_builddir@
&$ac_top_builddir_sub&;t t
19912 s
&@top_build_prefix@
&$ac_top_build_prefix&;t t
19913 s
&@srcdir@
&$ac_srcdir&;t t
19914 s
&@abs_srcdir@
&$ac_abs_srcdir&;t t
19915 s
&@top_srcdir@
&$ac_top_srcdir&;t t
19916 s
&@abs_top_srcdir@
&$ac_abs_top_srcdir&;t t
19917 s
&@builddir@
&$ac_builddir&;t t
19918 s
&@abs_builddir@
&$ac_abs_builddir&;t t
19919 s
&@abs_top_builddir@
&$ac_abs_top_builddir&;t t
19920 $ac_datarootdir_hack
19922 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.
awk" \
19923 >$ac_tmp/out || as_fn_error $? "could not create
$ac_file" "$LINENO" 5
19925 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
19926 { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out
"`; test -n "$ac_out"; } &&
19927 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' \
19928 "$ac_tmp/out
"`; test -z "$ac_out"; } &&
19929 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: $ac_file contains a reference to the variable \
`datarootdir'
19930 which seems to be undefined. Please make sure it is defined" >&5
19931 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir
'
19932 which seems to be undefined. Please make sure it is defined" >&2;}
19934 rm -f "$ac_tmp/stdin"
19936 -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";;
19937 *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";;
19939 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
19945 if test x"$ac_file" != x-; then
19947 $as_echo "/* $configure_input */" \
19948 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs"
19949 } >"$ac_tmp/config.h" \
19950 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
19951 if diff "$ac_file" "$ac_tmp/config.h" >/dev/null 2>&1; then
19952 { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
19953 $as_echo "$as_me: $ac_file is unchanged" >&6;}
19956 mv "$ac_tmp/config.h" "$ac_file" \
19957 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
19960 $as_echo "/* $configure_input */" \
19961 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" \
19962 || as_fn_error $? "could not create -" "$LINENO" 5
19970 if test "$ac_source" = "$ac_file" && test "$srcdir" = '.
'; then
19973 # Prefer the file from the source tree if names are identical.
19974 if test "$ac_source" = "$ac_file" || test ! -r "$ac_source"; then
19975 ac_source=$srcdir/$ac_source
19978 { $as_echo "$as_me:${as_lineno-$LINENO}: linking $ac_source to $ac_file" >&5
19979 $as_echo "$as_me: linking $ac_source to $ac_file" >&6;}
19981 if test ! -r "$ac_source"; then
19982 as_fn_error $? "$ac_source: file not found" "$LINENO" 5
19986 # Try a relative symlink, then a hard link, then a copy.
19988 [\\/$]* | ?:[\\/]* ) ac_rel_source=$ac_source ;;
19989 *) ac_rel_source=$ac_top_build_prefix$ac_source ;;
19991 ln -s "$ac_rel_source" "$ac_file" 2>/dev/null ||
19992 ln "$ac_source" "$ac_file" 2>/dev/null ||
19993 cp -p "$ac_source" "$ac_file" ||
19994 as_fn_error $? "cannot link or copy $ac_source to $ac_file" "$LINENO" 5
19997 :C) { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
19998 $as_echo "$as_me: executing $ac_file commands" >&6;}
20003 case $ac_file$ac_mode in
20004 "include/stamp-h":C) echo timestamp > include/stamp-h ;;
20005 "tools/makedep":C) wine_fn_output_makedep || as_fn_exit $? ;;
20006 "Makefile":C) wine_fn_output_makefile Makefile ;;
20014 ac_clean_files=$ac_clean_files_save
20016 test $ac_write_fail = 0 ||
20017 as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5
20020 # configure is writing to config.log, and then calls config.status.
20021 # config.status does its own redirection, appending to config.log.
20022 # Unfortunately, on DOS this fails, as config.log is still kept open
20023 # by configure, so config.status won't be able to
write to it
; its
20024 # output is simply discarded. So we exec the FD to /dev/null,
20025 # effectively closing config.log, so it can be properly (re)opened and
20026 # appended to by config.status. When coming back to configure, we
20027 # need to make the FD available again.
20028 if test "$no_create" != yes; then
20030 ac_config_status_args
=
20031 test "$silent" = yes &&
20032 ac_config_status_args
="$ac_config_status_args --quiet"
20034 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success
=false
20036 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
20037 # would make configure fail if this is the last instruction.
20038 $ac_cs_success || as_fn_exit
1
20040 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no
; then
20041 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
20042 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
20046 if test "$no_create" = "yes"
20052 if test "x$wine_notices" != x
; then
20055 for msg
in $wine_notices; do
20057 if ${msg:+false} :; then :
20060 { $as_echo "$as_me:${as_lineno-$LINENO}: $msg" >&5
20061 $as_echo "$as_me: $msg" >&6;}
20066 for msg
in $wine_warnings; do
20068 if ${msg:+false} :; then :
20072 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $msg" >&5
20073 $as_echo "$as_me: WARNING: $msg" >&2;}
20079 $as_me: Finished. Do '${ac_make}' to compile Wine.