2 # Guess values for system-dependent variables and create Makefiles.
3 # Generated by GNU Autoconf 2.69 for Wine 1.9.20.
5 # Report bugs to <wine-devel@winehq.org>.
8 # Copyright (C) 1992-1996, 1998-2012 Free Software Foundation, Inc.
11 # This configure script is free software; the Free Software Foundation
12 # gives unlimited permission to copy, distribute and modify it.
13 ## -------------------- ##
14 ## M4sh Initialization. ##
15 ## -------------------- ##
17 # Be more Bourne compatible
18 DUALCASE
=1; export DUALCASE
# for MKS sh
19 if test -n "${ZSH_VERSION+set}" && (emulate sh
) >/dev
/null
2>&1; then :
22 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
23 # is contrary to our usage. Disable this feature.
24 alias -g '${1+"$@"}'='"$@"'
27 case `(set -o) 2>/dev/null` in #(
39 # Printing a long string crashes Solaris 7 /usr/bin/printf.
40 as_echo
='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
41 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
42 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
43 # Prefer a ksh shell builtin over an external printf program on Solaris,
44 # but without wasting forks for bash or zsh.
45 if test -z "$BASH_VERSION$ZSH_VERSION" \
46 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
48 as_echo_n='print
-rn --'
49 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
53 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
54 as_echo_body='eval /usr
/ucb
/echo -n "$1$as_nl"'
55 as_echo_n='/usr
/ucb
/echo -n'
57 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
62 expr "X$arg" : "X\\(.*\\)$as_nl";
63 arg
=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
65 expr "X$arg" : "X\\(.*\\)" |
tr -d "$as_nl"
68 as_echo_n='sh
-c $as_echo_n_body as_echo
'
71 as_echo='sh
-c $as_echo_body as_echo
'
74 # The user is always right.
75 if test "${PATH_SEPARATOR+set}" != set; then
77 (PATH='/bin
;/bin
'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
78 (PATH='/bin
:/bin
'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
85 # We need space, tab and new line, in precisely that order. Quoting is
86 # there to prevent editors from complaining about space-tab.
87 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
88 # splitting by setting IFS to empty value.)
91 # Find who we are. Look in the path if we contain no directory separator.
94 *[\\/]* ) as_myself=$0 ;;
95 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
99 test -z "$as_dir" && as_dir=.
100 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
106 # We did not find ourselves, most probably we were run as `sh COMMAND'
107 # in which case we are not to be found in the path.
108 if test "x$as_myself" = x
; then
111 if test ! -f "$as_myself"; then
112 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
116 # Unset variables that we do not need and which cause bugs (e.g. in
117 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
118 # suppresses any "Segmentation fault" message there. '((' could
119 # trigger a bug in pdksh 5.2.14.
120 for as_var
in BASH_ENV ENV MAIL MAILPATH
121 do eval test x\
${$as_var+set} = xset \
122 && ( (unset $as_var) ||
exit 1) >/dev
/null
2>&1 && unset $as_var ||
:
135 (unset CDPATH
) >/dev
/null
2>&1 && unset CDPATH
137 # Use a proper internal environment variable to ensure we don't fall
138 # into an infinite loop, continuously re-executing ourselves.
139 if test x
"${_as_can_reexec}" != xno
&& test "x$CONFIG_SHELL" != x
; then
140 _as_can_reexec
=no
; export _as_can_reexec
;
141 # We cannot yet assume a decent shell, so we have to provide a
142 # neutralization value for shells without unset; and this also
143 # works around shells that cannot unset nonexistent variables.
144 # Preserve -v and -x to the replacement shell.
147 (unset BASH_ENV
) >/dev
/null
2>&1 && unset BASH_ENV ENV
149 *v
*x
* |
*x
*v
* ) as_opts
=-vx ;;
154 exec $CONFIG_SHELL $as_opts "$as_myself" ${1+"$@"}
155 # Admittedly, this is quite paranoid, since all the known shells bail
156 # out after a failed `exec'.
157 $as_echo "$0: could not re-execute with $CONFIG_SHELL" >&2
160 # We don't want this to propagate to other subprocesses.
161 { _as_can_reexec
=; unset _as_can_reexec
;}
162 if test "x$CONFIG_SHELL" = x
; then
163 as_bourne_compatible
="if test -n \"\${ZSH_VERSION+set}\" && (emulate sh) >/dev/null 2>&1; then :
166 # Pre-4.2 versions of Zsh do word splitting on \${1+\"\$@\"}, which
167 # is contrary to our usage. Disable this feature.
168 alias -g '\${1+\"\$@\"}'='\"\$@\"'
171 case \`(set -o) 2>/dev/null\` in #(
179 as_required
="as_fn_return () { (exit \$1); }
180 as_fn_success () { as_fn_return 0; }
181 as_fn_failure () { as_fn_return 1; }
182 as_fn_ret_success () { return 0; }
183 as_fn_ret_failure () { return 1; }
186 as_fn_success || { exitcode=1; echo as_fn_success failed.; }
187 as_fn_failure && { exitcode=1; echo as_fn_failure succeeded.; }
188 as_fn_ret_success || { exitcode=1; echo as_fn_ret_success failed.; }
189 as_fn_ret_failure && { exitcode=1; echo as_fn_ret_failure succeeded.; }
190 if ( set x; as_fn_ret_success y && test x = \"\$1\" ); then :
193 exitcode=1; echo positional parameters were not saved.
195 test x\$exitcode = x0 || exit 1
197 as_suggested
=" as_lineno_1=";as_suggested
=$as_suggested$LINENO;as_suggested
=$as_suggested" as_lineno_1a=\$LINENO
198 as_lineno_2=";as_suggested
=$as_suggested$LINENO;as_suggested
=$as_suggested" as_lineno_2a=\$LINENO
199 eval 'test \"x\$as_lineno_1'\$as_run'\" != \"x\$as_lineno_2'\$as_run'\" &&
200 test \"x\`expr \$as_lineno_1'\$as_run' + 1\`\" = \"x\$as_lineno_2'\$as_run'\"' || exit 1
201 test \$(( 1 + 1 )) = 2 || exit 1"
202 if (eval "$as_required") 2>/dev
/null
; then :
207 if test x
$as_have_required = xyes
&& (eval "$as_suggested") 2>/dev
/null
; then :
210 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
212 for as_dir
in /bin
$PATH_SEPARATOR/usr
/bin
$PATH_SEPARATOR$PATH
215 test -z "$as_dir" && as_dir
=.
219 for as_base
in sh bash ksh sh5
; do
220 # Try only shells that exist, to save several forks.
221 as_shell
=$as_dir/$as_base
222 if { test -f "$as_shell" ||
test -f "$as_shell.exe"; } &&
223 { $as_echo "$as_bourne_compatible""$as_required" | as_run
=a
"$as_shell"; } 2>/dev
/null
; then :
224 CONFIG_SHELL
=$as_shell as_have_required
=yes
225 if { $as_echo "$as_bourne_compatible""$as_suggested" | as_run
=a
"$as_shell"; } 2>/dev
/null
; then :
233 $as_found ||
{ if { test -f "$SHELL" ||
test -f "$SHELL.exe"; } &&
234 { $as_echo "$as_bourne_compatible""$as_required" | as_run
=a
"$SHELL"; } 2>/dev
/null
; then :
235 CONFIG_SHELL
=$SHELL as_have_required
=yes
240 if test "x$CONFIG_SHELL" != x
; then :
242 # We cannot yet assume a decent shell, so we have to provide a
243 # neutralization value for shells without unset; and this also
244 # works around shells that cannot unset nonexistent variables.
245 # Preserve -v and -x to the replacement shell.
248 (unset BASH_ENV
) >/dev
/null
2>&1 && unset BASH_ENV ENV
250 *v
*x
* |
*x
*v
* ) as_opts
=-vx ;;
255 exec $CONFIG_SHELL $as_opts "$as_myself" ${1+"$@"}
256 # Admittedly, this is quite paranoid, since all the known shells bail
257 # out after a failed `exec'.
258 $as_echo "$0: could not re-execute with $CONFIG_SHELL" >&2
262 if test x
$as_have_required = xno
; then :
263 $as_echo "$0: This script requires a shell more modern than all"
264 $as_echo "$0: the shells that I found on your system."
265 if test x
${ZSH_VERSION+set} = xset
; then
266 $as_echo "$0: In particular, zsh $ZSH_VERSION has bugs and should"
267 $as_echo "$0: be upgraded to zsh 4.3.4 or later."
269 $as_echo "$0: Please tell bug-autoconf@gnu.org and
270 $0: wine-devel@winehq.org about your system, including any
271 $0: error possibly output before this message. Then install
272 $0: a modern shell, or manually run the script under such a
273 $0: shell if you do have one."
279 SHELL
=${CONFIG_SHELL-/bin/sh}
281 # Unset more variables known to interfere with behavior of common tools.
282 CLICOLOR_FORCE
= GREP_OPTIONS
=
283 unset CLICOLOR_FORCE GREP_OPTIONS
285 ## --------------------- ##
286 ## M4sh Shell Functions. ##
287 ## --------------------- ##
290 # Portably unset VAR.
293 { eval $1=; unset $1;}
297 # as_fn_set_status STATUS
298 # -----------------------
299 # Set $? to STATUS, without forking.
307 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
317 # Create "$as_dir" as a directory, including parents if necessary.
322 -*) as_dir
=.
/$as_dir;;
324 test -d "$as_dir" ||
eval $as_mkdir_p ||
{
328 *\'*) as_qdir
=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
331 as_dirs
="'$as_qdir' $as_dirs"
332 as_dir
=`$as_dirname -- "$as_dir" ||
333 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
334 X"$as_dir" : 'X\(//\)[^/]' \| \
335 X"$as_dir" : 'X\(//\)$' \| \
336 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
337 $as_echo X"$as_dir" |
338 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
355 test -d "$as_dir" && break
357 test -z "$as_dirs" ||
eval "mkdir $as_dirs"
358 } ||
test -d "$as_dir" || as_fn_error $?
"cannot create directory $as_dir"
363 # as_fn_executable_p FILE
364 # -----------------------
365 # Test if FILE is an executable regular file.
366 as_fn_executable_p
()
368 test -f "$1" && test -x "$1"
369 } # as_fn_executable_p
370 # as_fn_append VAR VALUE
371 # ----------------------
372 # Append the text in VALUE to the end of the definition contained in VAR. Take
373 # advantage of any shell optimizations that allow amortized linear growth over
374 # repeated appends, instead of the typical quadratic growth present in naive
376 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev
/null
; then :
377 eval 'as_fn_append ()
390 # Perform arithmetic evaluation on the ARGs, and store the result in the
391 # global $as_val. Take advantage of shells that can avoid forks. The arguments
392 # must be portable across $(()) and expr.
393 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev
/null
; then :
401 as_val
=`expr "$@" || test $? -eq 1`
406 # as_fn_error STATUS ERROR [LINENO LOG_FD]
407 # ----------------------------------------
408 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
409 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
410 # script with STATUS, using 1 if that was 0.
413 as_status
=$1; test $as_status -eq 0 && as_status
=1
415 as_lineno
=${as_lineno-"$3"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
416 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
418 $as_echo "$as_me: error: $2" >&2
419 as_fn_exit
$as_status
422 if expr a
: '\(a\)' >/dev
/null
2>&1 &&
423 test "X`expr 00001 : '.*\(...\)'`" = X001
; then
429 if (basename -- /) >/dev
/null
2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
435 if (as_dir
=`dirname -- /` && test "X$as_dir" = X
/) >/dev
/null
2>&1; then
441 as_me
=`$as_basename -- "$0" ||
442 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
443 X"$0" : 'X\(//\)$' \| \
444 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
446 sed '/^.*\/\([^/][^/]*\)\/*$/{
460 # Avoid depending upon Character Ranges.
461 as_cr_letters
='abcdefghijklmnopqrstuvwxyz'
462 as_cr_LETTERS
='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
463 as_cr_Letters
=$as_cr_letters$as_cr_LETTERS
464 as_cr_digits
='0123456789'
465 as_cr_alnum
=$as_cr_Letters$as_cr_digits
468 as_lineno_1
=$LINENO as_lineno_1a
=$LINENO
469 as_lineno_2
=$LINENO as_lineno_2a
=$LINENO
470 eval 'test "x$as_lineno_1'$as_run'" != "x$as_lineno_2'$as_run'" &&
471 test "x`expr $as_lineno_1'$as_run' + 1`" = "x$as_lineno_2'$as_run'"' ||
{
472 # Blame Lee E. McMahon (1931-1989) for sed's syntax. :-)
484 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
488 chmod +x
"$as_me.lineno" ||
489 { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2; as_fn_exit
1; }
491 # If we had to re-execute with $CONFIG_SHELL, we're ensured to have
492 # already done that, so ensure we don't try to do so again and fall
493 # in an infinite loop. This has already happened in practice.
494 _as_can_reexec
=no
; export _as_can_reexec
495 # Don't try to exec as it changes $[0], causing all sort of problems
496 # (the dirname of $[0] is not the place where we might find the
497 # original and so on. Autoconf is especially sensitive to this).
499 # Exit status is that of the last command.
503 ECHO_C
= ECHO_N
= ECHO_T
=
504 case `echo -n x` in #(((((
506 case `echo 'xy\c'` in
507 *c
*) ECHO_T
=' ';; # ECHO_T is single tab character.
509 *) echo `echo ksh88 bug on AIX 6.1` > /dev
/null
516 rm -f conf$$ conf$$.exe conf$$.
file
517 if test -d conf$$.dir
; then
518 rm -f conf$$.dir
/conf$$.
file
521 mkdir conf$$.dir
2>/dev
/null
523 if (echo >conf$$.
file) 2>/dev
/null
; then
524 if ln -s conf$$.
file conf$$
2>/dev
/null
; then
526 # ... but there are two gotchas:
527 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
528 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
529 # In both cases, we have to default to `cp -pR'.
530 ln -s conf$$.
file conf$$.dir
2>/dev
/null
&& test ! -f conf$$.exe ||
532 elif ln conf$$.
file conf$$
2>/dev
/null
; then
540 rm -f conf$$ conf$$.exe conf$$.dir
/conf$$.
file conf$$.
file
541 rmdir conf$$.dir
2>/dev
/null
543 if mkdir
-p .
2>/dev
/null
; then
544 as_mkdir_p
='mkdir -p "$as_dir"'
546 test -d .
/-p && rmdir .
/-p
551 as_executable_p
=as_fn_executable_p
553 # Sed expression to map a string onto a valid CPP name.
554 as_tr_cpp
="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
556 # Sed expression to map a string onto a valid variable name.
557 as_tr_sh
="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
560 test -n "$DJDIR" ||
exec 7<&0 </dev
/null
564 # hostname on some systems (SVR3.2, old GNU/Linux) returns a bogus exit status,
565 # so uname gets run too.
566 ac_hostname
=`(hostname || uname -n) 2>/dev/null | sed 1q`
571 ac_default_prefix
=/usr
/local
573 ac_config_libobj_dir
=.
580 # Identity of this package.
582 PACKAGE_TARNAME
='wine'
583 PACKAGE_VERSION
='1.9.20'
584 PACKAGE_STRING
='Wine 1.9.20'
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_core_apiquery_l1_1_0
878 enable_api_ms_win_core_appcompat_l1_1_1
879 enable_api_ms_win_core_appinit_l1_1_0
880 enable_api_ms_win_core_atoms_l1_1_0
881 enable_api_ms_win_core_bem_l1_1_0
882 enable_api_ms_win_core_com_l1_1_0
883 enable_api_ms_win_core_com_l1_1_1
884 enable_api_ms_win_core_console_l1_1_0
885 enable_api_ms_win_core_console_l2_1_0
886 enable_api_ms_win_core_datetime_l1_1_0
887 enable_api_ms_win_core_datetime_l1_1_1
888 enable_api_ms_win_core_debug_l1_1_0
889 enable_api_ms_win_core_debug_l1_1_1
890 enable_api_ms_win_core_delayload_l1_1_0
891 enable_api_ms_win_core_delayload_l1_1_1
892 enable_api_ms_win_core_errorhandling_l1_1_0
893 enable_api_ms_win_core_errorhandling_l1_1_1
894 enable_api_ms_win_core_errorhandling_l1_1_2
895 enable_api_ms_win_core_fibers_l1_1_0
896 enable_api_ms_win_core_fibers_l1_1_1
897 enable_api_ms_win_core_file_l1_1_0
898 enable_api_ms_win_core_file_l1_2_0
899 enable_api_ms_win_core_file_l1_2_1
900 enable_api_ms_win_core_file_l2_1_0
901 enable_api_ms_win_core_file_l2_1_1
902 enable_api_ms_win_core_handle_l1_1_0
903 enable_api_ms_win_core_heap_l1_1_0
904 enable_api_ms_win_core_heap_l1_2_0
905 enable_api_ms_win_core_heap_obsolete_l1_1_0
906 enable_api_ms_win_core_interlocked_l1_1_0
907 enable_api_ms_win_core_interlocked_l1_2_0
908 enable_api_ms_win_core_io_l1_1_0
909 enable_api_ms_win_core_io_l1_1_1
910 enable_api_ms_win_core_job_l1_1_0
911 enable_api_ms_win_core_job_l2_1_0
912 enable_api_ms_win_core_kernel32_legacy_l1_1_0
913 enable_api_ms_win_core_kernel32_legacy_l1_1_1
914 enable_api_ms_win_core_kernel32_private_l1_1_1
915 enable_api_ms_win_core_libraryloader_l1_1_0
916 enable_api_ms_win_core_libraryloader_l1_1_1
917 enable_api_ms_win_core_libraryloader_l1_2_0
918 enable_api_ms_win_core_libraryloader_l1_2_2
919 enable_api_ms_win_core_localization_l1_1_0
920 enable_api_ms_win_core_localization_l1_2_0
921 enable_api_ms_win_core_localization_l1_2_1
922 enable_api_ms_win_core_localization_l2_1_0
923 enable_api_ms_win_core_localization_obsolete_l1_1_0
924 enable_api_ms_win_core_localization_obsolete_l1_2_0
925 enable_api_ms_win_core_localization_private_l1_1_0
926 enable_api_ms_win_core_localregistry_l1_1_0
927 enable_api_ms_win_core_memory_l1_1_0
928 enable_api_ms_win_core_memory_l1_1_1
929 enable_api_ms_win_core_memory_l1_1_2
930 enable_api_ms_win_core_misc_l1_1_0
931 enable_api_ms_win_core_namedpipe_l1_1_0
932 enable_api_ms_win_core_namedpipe_l1_2_0
933 enable_api_ms_win_core_namespace_l1_1_0
934 enable_api_ms_win_core_normalization_l1_1_0
935 enable_api_ms_win_core_path_l1_1_0
936 enable_api_ms_win_core_privateprofile_l1_1_1
937 enable_api_ms_win_core_processenvironment_l1_1_0
938 enable_api_ms_win_core_processenvironment_l1_2_0
939 enable_api_ms_win_core_processthreads_l1_1_0
940 enable_api_ms_win_core_processthreads_l1_1_1
941 enable_api_ms_win_core_processthreads_l1_1_2
942 enable_api_ms_win_core_profile_l1_1_0
943 enable_api_ms_win_core_psapi_l1_1_0
944 enable_api_ms_win_core_realtime_l1_1_0
945 enable_api_ms_win_core_registry_l1_1_0
946 enable_api_ms_win_core_registryuserspecific_l1_1_0
947 enable_api_ms_win_core_rtlsupport_l1_1_0
948 enable_api_ms_win_core_rtlsupport_l1_2_0
949 enable_api_ms_win_core_shlwapi_legacy_l1_1_0
950 enable_api_ms_win_core_shlwapi_obsolete_l1_1_0
951 enable_api_ms_win_core_sidebyside_l1_1_0
952 enable_api_ms_win_core_string_l1_1_0
953 enable_api_ms_win_core_string_l2_1_0
954 enable_api_ms_win_core_string_obsolete_l1_1_0
955 enable_api_ms_win_core_stringansi_l1_1_0
956 enable_api_ms_win_core_synch_l1_1_0
957 enable_api_ms_win_core_synch_l1_2_0
958 enable_api_ms_win_core_sysinfo_l1_1_0
959 enable_api_ms_win_core_sysinfo_l1_2_0
960 enable_api_ms_win_core_sysinfo_l1_2_1
961 enable_api_ms_win_core_threadpool_l1_1_0
962 enable_api_ms_win_core_threadpool_l1_2_0
963 enable_api_ms_win_core_threadpool_legacy_l1_1_0
964 enable_api_ms_win_core_timezone_l1_1_0
965 enable_api_ms_win_core_toolhelp_l1_1_0
966 enable_api_ms_win_core_url_l1_1_0
967 enable_api_ms_win_core_util_l1_1_0
968 enable_api_ms_win_core_version_l1_1_0
969 enable_api_ms_win_core_version_private_l1_1_0
970 enable_api_ms_win_core_versionansi_l1_1_0
971 enable_api_ms_win_core_windowserrorreporting_l1_1_0
972 enable_api_ms_win_core_winrt_error_l1_1_0
973 enable_api_ms_win_core_winrt_error_l1_1_1
974 enable_api_ms_win_core_winrt_errorprivate_l1_1_1
975 enable_api_ms_win_core_winrt_l1_1_0
976 enable_api_ms_win_core_winrt_registration_l1_1_0
977 enable_api_ms_win_core_winrt_string_l1_1_0
978 enable_api_ms_win_core_wow64_l1_1_0
979 enable_api_ms_win_core_xstate_l1_1_0
980 enable_api_ms_win_core_xstate_l2_1_0
981 enable_api_ms_win_crt_conio_l1_1_0
982 enable_api_ms_win_crt_convert_l1_1_0
983 enable_api_ms_win_crt_environment_l1_1_0
984 enable_api_ms_win_crt_filesystem_l1_1_0
985 enable_api_ms_win_crt_heap_l1_1_0
986 enable_api_ms_win_crt_locale_l1_1_0
987 enable_api_ms_win_crt_math_l1_1_0
988 enable_api_ms_win_crt_multibyte_l1_1_0
989 enable_api_ms_win_crt_private_l1_1_0
990 enable_api_ms_win_crt_process_l1_1_0
991 enable_api_ms_win_crt_runtime_l1_1_0
992 enable_api_ms_win_crt_stdio_l1_1_0
993 enable_api_ms_win_crt_string_l1_1_0
994 enable_api_ms_win_crt_time_l1_1_0
995 enable_api_ms_win_crt_utility_l1_1_0
996 enable_api_ms_win_downlevel_advapi32_l1_1_0
997 enable_api_ms_win_downlevel_advapi32_l2_1_0
998 enable_api_ms_win_downlevel_normaliz_l1_1_0
999 enable_api_ms_win_downlevel_ole32_l1_1_0
1000 enable_api_ms_win_downlevel_shell32_l1_1_0
1001 enable_api_ms_win_downlevel_shlwapi_l1_1_0
1002 enable_api_ms_win_downlevel_shlwapi_l2_1_0
1003 enable_api_ms_win_downlevel_user32_l1_1_0
1004 enable_api_ms_win_downlevel_version_l1_1_0
1005 enable_api_ms_win_eventing_classicprovider_l1_1_0
1006 enable_api_ms_win_eventing_consumer_l1_1_0
1007 enable_api_ms_win_eventing_controller_l1_1_0
1008 enable_api_ms_win_eventing_provider_l1_1_0
1009 enable_api_ms_win_eventlog_legacy_l1_1_0
1010 enable_api_ms_win_ntuser_dc_access_l1_1_0
1011 enable_api_ms_win_security_audit_l1_1_1
1012 enable_api_ms_win_security_base_l1_1_0
1013 enable_api_ms_win_security_base_l1_2_0
1014 enable_api_ms_win_security_base_private_l1_1_1
1015 enable_api_ms_win_security_lsalookup_l1_1_0
1016 enable_api_ms_win_security_lsalookup_l1_1_1
1017 enable_api_ms_win_security_sddl_l1_1_0
1018 enable_api_ms_win_service_core_l1_1_0
1019 enable_api_ms_win_service_core_l1_1_1
1020 enable_api_ms_win_service_management_l1_1_0
1021 enable_api_ms_win_service_management_l2_1_0
1022 enable_api_ms_win_service_private_l1_1_1
1023 enable_api_ms_win_service_winsvc_l1_1_0
1024 enable_api_ms_win_service_winsvc_l1_2_0
1025 enable_api_ms_win_shell_shellcom_l1_1_0
1026 enable_api_ms_win_shell_shellfolders_l1_1_0
1039 enable_bluetoothapis
1072 enable_d3dcompiler_33
1073 enable_d3dcompiler_34
1074 enable_d3dcompiler_35
1075 enable_d3dcompiler_36
1076 enable_d3dcompiler_37
1077 enable_d3dcompiler_38
1078 enable_d3dcompiler_39
1079 enable_d3dcompiler_40
1080 enable_d3dcompiler_41
1081 enable_d3dcompiler_42
1082 enable_d3dcompiler_43
1083 enable_d3dcompiler_46
1084 enable_d3dcompiler_47
1162 enable_explorerframe
1163 enable_ext_ms_win_gdi_devcaps_l1_1_0
1330 enable_photometadatahandler
1420 enable_windowscodecs
1421 enable_windowscodecsext
1424 enable_winecoreaudio_drv
1426 enable_winegstreamer
1427 enable_winejoystick_drv
1433 enable_winepulse_drv
1434 enable_wineqtdecoder
1503 enable_aspnet_regiis
1539 enable_presentationfontcache
1552 enable_servicemodelreg
1575 enable_winemenubuilder
1577 enable_winemsibuilder
1592 ac_precious_vars
='build_alias
1647 # Initialize some variables set by options.
1649 ac_init_version
=false
1650 ac_unrecognized_opts
=
1651 ac_unrecognized_sep
=
1652 # The variables have the same names as the options, with
1653 # dashes changed to underlines.
1654 cache_file
=/dev
/null
1661 program_transform_name
=s
,x
,x
,
1669 # Installation directory options.
1670 # These are left unexpanded so users can "make install exec_prefix=/foo"
1671 # and all the variables that are supposed to be based on exec_prefix
1672 # by default will actually change.
1673 # Use braces instead of parens because sh, perl, etc. also accept them.
1674 # (The list follows the same order as the GNU Coding Standards.)
1675 bindir
='${exec_prefix}/bin'
1676 sbindir
='${exec_prefix}/sbin'
1677 libexecdir
='${exec_prefix}/libexec'
1678 datarootdir
='${prefix}/share'
1679 datadir
='${datarootdir}'
1680 sysconfdir
='${prefix}/etc'
1681 sharedstatedir
='${prefix}/com'
1682 localstatedir
='${prefix}/var'
1683 runstatedir
='${localstatedir}/run'
1684 includedir
='${prefix}/include'
1685 oldincludedir
='/usr/include'
1686 docdir
='${datarootdir}/doc/${PACKAGE_TARNAME}'
1687 infodir
='${datarootdir}/info'
1692 libdir
='${exec_prefix}/lib'
1693 localedir
='${datarootdir}/locale'
1694 mandir
='${datarootdir}/man'
1700 # If the previous option needs an argument, assign it.
1701 if test -n "$ac_prev"; then
1702 eval $ac_prev=\
$ac_option
1708 *=?
*) ac_optarg
=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
1713 # Accept the important Cygnus configure options, so we can diagnose typos.
1715 case $ac_dashdash$ac_option in
1719 -bindir |
--bindir |
--bindi |
--bind |
--bin |
--bi)
1721 -bindir=* |
--bindir=* |
--bindi=* |
--bind=* |
--bin=* |
--bi=*)
1722 bindir
=$ac_optarg ;;
1724 -build |
--build |
--buil |
--bui |
--bu)
1725 ac_prev
=build_alias
;;
1726 -build=* |
--build=* |
--buil=* |
--bui=* |
--bu=*)
1727 build_alias
=$ac_optarg ;;
1729 -cache-file |
--cache-file |
--cache-fil |
--cache-fi \
1730 |
--cache-f |
--cache- |
--cache |
--cach |
--cac |
--ca |
--c)
1731 ac_prev
=cache_file
;;
1732 -cache-file=* |
--cache-file=* |
--cache-fil=* |
--cache-fi=* \
1733 |
--cache-f=* |
--cache-=* |
--cache=* |
--cach=* |
--cac=* |
--ca=* |
--c=*)
1734 cache_file
=$ac_optarg ;;
1736 --config-cache |
-C)
1737 cache_file
=config.cache
;;
1739 -datadir |
--datadir |
--datadi |
--datad)
1741 -datadir=* |
--datadir=* |
--datadi=* |
--datad=*)
1742 datadir
=$ac_optarg ;;
1744 -datarootdir |
--datarootdir |
--datarootdi |
--datarootd |
--dataroot \
1745 |
--dataroo |
--dataro |
--datar)
1746 ac_prev
=datarootdir
;;
1747 -datarootdir=* |
--datarootdir=* |
--datarootdi=* |
--datarootd=* \
1748 |
--dataroot=* |
--dataroo=* |
--dataro=* |
--datar=*)
1749 datarootdir
=$ac_optarg ;;
1751 -disable-* |
--disable-*)
1752 ac_useropt
=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
1753 # Reject names that are not valid shell variable names.
1754 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
1755 as_fn_error $?
"invalid feature name: $ac_useropt"
1756 ac_useropt_orig
=$ac_useropt
1757 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1758 case $ac_user_opts in
1760 "enable_
$ac_useropt"
1762 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
1763 ac_unrecognized_sep
=', ';;
1765 eval enable_
$ac_useropt=no
;;
1767 -docdir |
--docdir |
--docdi |
--doc |
--do)
1769 -docdir=* |
--docdir=* |
--docdi=* |
--doc=* |
--do=*)
1770 docdir
=$ac_optarg ;;
1772 -dvidir |
--dvidir |
--dvidi |
--dvid |
--dvi |
--dv)
1774 -dvidir=* |
--dvidir=* |
--dvidi=* |
--dvid=* |
--dvi=* |
--dv=*)
1775 dvidir
=$ac_optarg ;;
1777 -enable-* |
--enable-*)
1778 ac_useropt
=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
1779 # Reject names that are not valid shell variable names.
1780 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
1781 as_fn_error $?
"invalid feature name: $ac_useropt"
1782 ac_useropt_orig
=$ac_useropt
1783 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1784 case $ac_user_opts in
1786 "enable_
$ac_useropt"
1788 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
1789 ac_unrecognized_sep
=', ';;
1791 eval enable_
$ac_useropt=\
$ac_optarg ;;
1793 -exec-prefix |
--exec_prefix |
--exec-prefix |
--exec-prefi \
1794 |
--exec-pref |
--exec-pre |
--exec-pr |
--exec-p |
--exec- \
1795 |
--exec |
--exe |
--ex)
1796 ac_prev
=exec_prefix
;;
1797 -exec-prefix=* |
--exec_prefix=* |
--exec-prefix=* |
--exec-prefi=* \
1798 |
--exec-pref=* |
--exec-pre=* |
--exec-pr=* |
--exec-p=* |
--exec-=* \
1799 |
--exec=* |
--exe=* |
--ex=*)
1800 exec_prefix
=$ac_optarg ;;
1802 -gas |
--gas |
--ga |
--g)
1803 # Obsolete; use --with-gas.
1806 -help |
--help |
--hel |
--he |
-h)
1807 ac_init_help
=long
;;
1808 -help=r
* |
--help=r
* |
--hel=r
* |
--he=r
* |
-hr*)
1809 ac_init_help
=recursive
;;
1810 -help=s
* |
--help=s
* |
--hel=s
* |
--he=s
* |
-hs*)
1811 ac_init_help
=short
;;
1813 -host |
--host |
--hos |
--ho)
1814 ac_prev
=host_alias
;;
1815 -host=* |
--host=* |
--hos=* |
--ho=*)
1816 host_alias
=$ac_optarg ;;
1818 -htmldir |
--htmldir |
--htmldi |
--htmld |
--html |
--htm |
--ht)
1820 -htmldir=* |
--htmldir=* |
--htmldi=* |
--htmld=* |
--html=* |
--htm=* \
1822 htmldir
=$ac_optarg ;;
1824 -includedir |
--includedir |
--includedi |
--included |
--include \
1825 |
--includ |
--inclu |
--incl |
--inc)
1826 ac_prev
=includedir
;;
1827 -includedir=* |
--includedir=* |
--includedi=* |
--included=* |
--include=* \
1828 |
--includ=* |
--inclu=* |
--incl=* |
--inc=*)
1829 includedir
=$ac_optarg ;;
1831 -infodir |
--infodir |
--infodi |
--infod |
--info |
--inf)
1833 -infodir=* |
--infodir=* |
--infodi=* |
--infod=* |
--info=* |
--inf=*)
1834 infodir
=$ac_optarg ;;
1836 -libdir |
--libdir |
--libdi |
--libd)
1838 -libdir=* |
--libdir=* |
--libdi=* |
--libd=*)
1839 libdir
=$ac_optarg ;;
1841 -libexecdir |
--libexecdir |
--libexecdi |
--libexecd |
--libexec \
1842 |
--libexe |
--libex |
--libe)
1843 ac_prev
=libexecdir
;;
1844 -libexecdir=* |
--libexecdir=* |
--libexecdi=* |
--libexecd=* |
--libexec=* \
1845 |
--libexe=* |
--libex=* |
--libe=*)
1846 libexecdir
=$ac_optarg ;;
1848 -localedir |
--localedir |
--localedi |
--localed |
--locale)
1849 ac_prev
=localedir
;;
1850 -localedir=* |
--localedir=* |
--localedi=* |
--localed=* |
--locale=*)
1851 localedir
=$ac_optarg ;;
1853 -localstatedir |
--localstatedir |
--localstatedi |
--localstated \
1854 |
--localstate |
--localstat |
--localsta |
--localst |
--locals)
1855 ac_prev
=localstatedir
;;
1856 -localstatedir=* |
--localstatedir=* |
--localstatedi=* |
--localstated=* \
1857 |
--localstate=* |
--localstat=* |
--localsta=* |
--localst=* |
--locals=*)
1858 localstatedir
=$ac_optarg ;;
1860 -mandir |
--mandir |
--mandi |
--mand |
--man |
--ma |
--m)
1862 -mandir=* |
--mandir=* |
--mandi=* |
--mand=* |
--man=* |
--ma=* |
--m=*)
1863 mandir
=$ac_optarg ;;
1865 -nfp |
--nfp |
--nf)
1866 # Obsolete; use --without-fp.
1869 -no-create |
--no-create |
--no-creat |
--no-crea |
--no-cre \
1870 |
--no-cr |
--no-c |
-n)
1873 -no-recursion |
--no-recursion |
--no-recursio |
--no-recursi \
1874 |
--no-recurs |
--no-recur |
--no-recu |
--no-rec |
--no-re |
--no-r)
1877 -oldincludedir |
--oldincludedir |
--oldincludedi |
--oldincluded \
1878 |
--oldinclude |
--oldinclud |
--oldinclu |
--oldincl |
--oldinc \
1879 |
--oldin |
--oldi |
--old |
--ol |
--o)
1880 ac_prev
=oldincludedir
;;
1881 -oldincludedir=* |
--oldincludedir=* |
--oldincludedi=* |
--oldincluded=* \
1882 |
--oldinclude=* |
--oldinclud=* |
--oldinclu=* |
--oldincl=* |
--oldinc=* \
1883 |
--oldin=* |
--oldi=* |
--old=* |
--ol=* |
--o=*)
1884 oldincludedir
=$ac_optarg ;;
1886 -prefix |
--prefix |
--prefi |
--pref |
--pre |
--pr |
--p)
1888 -prefix=* |
--prefix=* |
--prefi=* |
--pref=* |
--pre=* |
--pr=* |
--p=*)
1889 prefix
=$ac_optarg ;;
1891 -program-prefix |
--program-prefix |
--program-prefi |
--program-pref \
1892 |
--program-pre |
--program-pr |
--program-p)
1893 ac_prev
=program_prefix
;;
1894 -program-prefix=* |
--program-prefix=* |
--program-prefi=* \
1895 |
--program-pref=* |
--program-pre=* |
--program-pr=* |
--program-p=*)
1896 program_prefix
=$ac_optarg ;;
1898 -program-suffix |
--program-suffix |
--program-suffi |
--program-suff \
1899 |
--program-suf |
--program-su |
--program-s)
1900 ac_prev
=program_suffix
;;
1901 -program-suffix=* |
--program-suffix=* |
--program-suffi=* \
1902 |
--program-suff=* |
--program-suf=* |
--program-su=* |
--program-s=*)
1903 program_suffix
=$ac_optarg ;;
1905 -program-transform-name |
--program-transform-name \
1906 |
--program-transform-nam |
--program-transform-na \
1907 |
--program-transform-n |
--program-transform- \
1908 |
--program-transform |
--program-transfor \
1909 |
--program-transfo |
--program-transf \
1910 |
--program-trans |
--program-tran \
1911 |
--progr-tra |
--program-tr |
--program-t)
1912 ac_prev
=program_transform_name
;;
1913 -program-transform-name=* |
--program-transform-name=* \
1914 |
--program-transform-nam=* |
--program-transform-na=* \
1915 |
--program-transform-n=* |
--program-transform-=* \
1916 |
--program-transform=* |
--program-transfor=* \
1917 |
--program-transfo=* |
--program-transf=* \
1918 |
--program-trans=* |
--program-tran=* \
1919 |
--progr-tra=* |
--program-tr=* |
--program-t=*)
1920 program_transform_name
=$ac_optarg ;;
1922 -pdfdir |
--pdfdir |
--pdfdi |
--pdfd |
--pdf |
--pd)
1924 -pdfdir=* |
--pdfdir=* |
--pdfdi=* |
--pdfd=* |
--pdf=* |
--pd=*)
1925 pdfdir
=$ac_optarg ;;
1927 -psdir |
--psdir |
--psdi |
--psd |
--ps)
1929 -psdir=* |
--psdir=* |
--psdi=* |
--psd=* |
--ps=*)
1932 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
1933 |
-silent |
--silent |
--silen |
--sile |
--sil)
1936 -runstatedir |
--runstatedir |
--runstatedi |
--runstated \
1937 |
--runstate |
--runstat |
--runsta |
--runst |
--runs \
1938 |
--run |
--ru |
--r)
1939 ac_prev
=runstatedir
;;
1940 -runstatedir=* |
--runstatedir=* |
--runstatedi=* |
--runstated=* \
1941 |
--runstate=* |
--runstat=* |
--runsta=* |
--runst=* |
--runs=* \
1942 |
--run=* |
--ru=* |
--r=*)
1943 runstatedir
=$ac_optarg ;;
1945 -sbindir |
--sbindir |
--sbindi |
--sbind |
--sbin |
--sbi |
--sb)
1947 -sbindir=* |
--sbindir=* |
--sbindi=* |
--sbind=* |
--sbin=* \
1949 sbindir
=$ac_optarg ;;
1951 -sharedstatedir |
--sharedstatedir |
--sharedstatedi \
1952 |
--sharedstated |
--sharedstate |
--sharedstat |
--sharedsta \
1953 |
--sharedst |
--shareds |
--shared |
--share |
--shar \
1955 ac_prev
=sharedstatedir
;;
1956 -sharedstatedir=* |
--sharedstatedir=* |
--sharedstatedi=* \
1957 |
--sharedstated=* |
--sharedstate=* |
--sharedstat=* |
--sharedsta=* \
1958 |
--sharedst=* |
--shareds=* |
--shared=* |
--share=* |
--shar=* \
1960 sharedstatedir
=$ac_optarg ;;
1962 -site |
--site |
--sit)
1964 -site=* |
--site=* |
--sit=*)
1967 -srcdir |
--srcdir |
--srcdi |
--srcd |
--src |
--sr)
1969 -srcdir=* |
--srcdir=* |
--srcdi=* |
--srcd=* |
--src=* |
--sr=*)
1970 srcdir
=$ac_optarg ;;
1972 -sysconfdir |
--sysconfdir |
--sysconfdi |
--sysconfd |
--sysconf \
1973 |
--syscon |
--sysco |
--sysc |
--sys |
--sy)
1974 ac_prev
=sysconfdir
;;
1975 -sysconfdir=* |
--sysconfdir=* |
--sysconfdi=* |
--sysconfd=* |
--sysconf=* \
1976 |
--syscon=* |
--sysco=* |
--sysc=* |
--sys=* |
--sy=*)
1977 sysconfdir
=$ac_optarg ;;
1979 -target |
--target |
--targe |
--targ |
--tar |
--ta |
--t)
1980 ac_prev
=target_alias
;;
1981 -target=* |
--target=* |
--targe=* |
--targ=* |
--tar=* |
--ta=* |
--t=*)
1982 target_alias
=$ac_optarg ;;
1984 -v |
-verbose |
--verbose |
--verbos |
--verbo |
--verb)
1987 -version |
--version |
--versio |
--versi |
--vers |
-V)
1988 ac_init_version
=: ;;
1991 ac_useropt
=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1992 # Reject names that are not valid shell variable names.
1993 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
1994 as_fn_error $?
"invalid package name: $ac_useropt"
1995 ac_useropt_orig
=$ac_useropt
1996 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1997 case $ac_user_opts in
2001 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
2002 ac_unrecognized_sep
=', ';;
2004 eval with_
$ac_useropt=\
$ac_optarg ;;
2006 -without-* |
--without-*)
2007 ac_useropt
=`expr "x$ac_option" : 'x-*without-\(.*\)'`
2008 # Reject names that are not valid shell variable names.
2009 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
2010 as_fn_error $?
"invalid package name: $ac_useropt"
2011 ac_useropt_orig
=$ac_useropt
2012 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
2013 case $ac_user_opts in
2017 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
2018 ac_unrecognized_sep
=', ';;
2020 eval with_
$ac_useropt=no
;;
2023 # Obsolete; use --with-x.
2026 -x-includes |
--x-includes |
--x-include |
--x-includ |
--x-inclu \
2027 |
--x-incl |
--x-inc |
--x-in |
--x-i)
2028 ac_prev
=x_includes
;;
2029 -x-includes=* |
--x-includes=* |
--x-include=* |
--x-includ=* |
--x-inclu=* \
2030 |
--x-incl=* |
--x-inc=* |
--x-in=* |
--x-i=*)
2031 x_includes
=$ac_optarg ;;
2033 -x-libraries |
--x-libraries |
--x-librarie |
--x-librari \
2034 |
--x-librar |
--x-libra |
--x-libr |
--x-lib |
--x-li |
--x-l)
2035 ac_prev
=x_libraries
;;
2036 -x-libraries=* |
--x-libraries=* |
--x-librarie=* |
--x-librari=* \
2037 |
--x-librar=* |
--x-libra=* |
--x-libr=* |
--x-lib=* |
--x-li=* |
--x-l=*)
2038 x_libraries
=$ac_optarg ;;
2040 -*) as_fn_error $?
"unrecognized option: \`$ac_option'
2041 Try \`$0 --help' for more information"
2045 ac_envvar
=`expr "x$ac_option" : 'x\([^=]*\)='`
2046 # Reject names that are not valid shell variable names.
2047 case $ac_envvar in #(
2048 '' |
[0-9]* |
*[!_
$as_cr_alnum]* )
2049 as_fn_error $?
"invalid variable name: \`$ac_envvar'" ;;
2051 eval $ac_envvar=\
$ac_optarg
2052 export $ac_envvar ;;
2055 # FIXME: should be removed in autoconf 3.0.
2056 $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
2057 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev
/null
&&
2058 $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
2059 : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}"
2065 if test -n "$ac_prev"; then
2066 ac_option
=--`echo $ac_prev | sed 's/_/-/g'`
2067 as_fn_error $?
"missing argument to $ac_option"
2070 if test -n "$ac_unrecognized_opts"; then
2071 case $enable_option_checking in
2073 fatal
) as_fn_error $?
"unrecognized options: $ac_unrecognized_opts" ;;
2074 *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
2078 # Check all directory arguments for consistency.
2079 for ac_var
in exec_prefix prefix bindir sbindir libexecdir datarootdir \
2080 datadir sysconfdir sharedstatedir localstatedir includedir \
2081 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
2082 libdir localedir mandir runstatedir
2084 eval ac_val
=\$
$ac_var
2085 # Remove trailing slashes.
2088 ac_val
=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
2089 eval $ac_var=\
$ac_val;;
2091 # Be sure to have absolute directory names.
2093 [\\/$
]* | ?
:[\\/]* ) continue;;
2094 NONE |
'' ) case $ac_var in *prefix
) continue;; esac;;
2096 as_fn_error $?
"expected an absolute directory name for --$ac_var: $ac_val"
2099 # There might be people who depend on the old broken behavior: `$host'
2100 # used to hold the argument of --host etc.
2101 # FIXME: To remove some day.
2104 target
=$target_alias
2106 # FIXME: To remove some day.
2107 if test "x$host_alias" != x
; then
2108 if test "x$build_alias" = x
; then
2109 cross_compiling
=maybe
2110 elif test "x$build_alias" != "x$host_alias"; then
2116 test -n "$host_alias" && ac_tool_prefix
=$host_alias-
2118 test "$silent" = yes && exec 6>/dev
/null
2121 ac_pwd
=`pwd` && test -n "$ac_pwd" &&
2122 ac_ls_di
=`ls -di .` &&
2123 ac_pwd_ls_di
=`cd "$ac_pwd" && ls -di .` ||
2124 as_fn_error $?
"working directory cannot be determined"
2125 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
2126 as_fn_error $?
"pwd does not report name of working directory"
2129 # Find the source files, if location was not specified.
2130 if test -z "$srcdir"; then
2131 ac_srcdir_defaulted
=yes
2132 # Try the directory containing this script, then the parent directory.
2133 ac_confdir
=`$as_dirname -- "$as_myself" ||
2134 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
2135 X"$as_myself" : 'X\(//\)[^/]' \| \
2136 X"$as_myself" : 'X\(//\)$' \| \
2137 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
2138 $as_echo X"$as_myself" |
2139 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
2157 if test ! -r "$srcdir/$ac_unique_file"; then
2161 ac_srcdir_defaulted
=no
2163 if test ! -r "$srcdir/$ac_unique_file"; then
2164 test "$ac_srcdir_defaulted" = yes && srcdir
="$ac_confdir or .."
2165 as_fn_error $?
"cannot find sources ($ac_unique_file) in $srcdir"
2167 ac_msg
="sources are in $srcdir, but \`cd $srcdir' does not work"
2169 cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
2171 # When building in place, set srcdir=.
2172 if test "$ac_abs_confdir" = "$ac_pwd"; then
2175 # Remove unnecessary trailing slashes from srcdir.
2176 # Double slashes in file names in object file debugging info
2177 # mess up M-x gdb in Emacs.
2179 */) srcdir
=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
2181 for ac_var
in $ac_precious_vars; do
2182 eval ac_env_
${ac_var}_set=\${${ac_var}+set}
2183 eval ac_env_
${ac_var}_value
=\$
${ac_var}
2184 eval ac_cv_env_
${ac_var}_set=\${${ac_var}+set}
2185 eval ac_cv_env_
${ac_var}_value
=\$
${ac_var}
2189 # Report the --help message.
2191 if test "$ac_init_help" = "long"; then
2192 # Omit some internal or obsolete options to make the list less imposing.
2193 # This message is too long to be a string in the A/UX 3.1 sh.
2195 \`configure' configures Wine 1.9.20 to adapt to many kinds of systems.
2197 Usage: $0 [OPTION]... [VAR=VALUE]...
2199 To assign environment variables (e.g., CC, CFLAGS...), specify them as
2200 VAR=VALUE. See below for descriptions of some of the useful variables.
2202 Defaults for the options are specified in brackets.
2205 -h, --help display this help and exit
2206 --help=short display options specific to this package
2207 --help=recursive display the short help of all the included packages
2208 -V, --version display version information and exit
2209 -q, --quiet, --silent do not print \`checking ...' messages
2210 --cache-file=FILE cache test results in FILE [disabled]
2211 -C, --config-cache alias for \`--cache-file=config.cache'
2212 -n, --no-create do not create output files
2213 --srcdir=DIR find the sources in DIR [configure dir or \`..']
2215 Installation directories:
2216 --prefix=PREFIX install architecture-independent files in PREFIX
2217 [$ac_default_prefix]
2218 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
2221 By default, \`make install' will install all the files in
2222 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
2223 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
2224 for instance \`--prefix=\$HOME'.
2226 For better control, use the options below.
2228 Fine tuning of the installation directories:
2229 --bindir=DIR user executables [EPREFIX/bin]
2230 --sbindir=DIR system admin executables [EPREFIX/sbin]
2231 --libexecdir=DIR program executables [EPREFIX/libexec]
2232 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
2233 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
2234 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
2235 --runstatedir=DIR modifiable per-process data [LOCALSTATEDIR/run]
2236 --libdir=DIR object code libraries [EPREFIX/lib]
2237 --includedir=DIR C header files [PREFIX/include]
2238 --oldincludedir=DIR C header files for non-gcc [/usr/include]
2239 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
2240 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
2241 --infodir=DIR info documentation [DATAROOTDIR/info]
2242 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
2243 --mandir=DIR man documentation [DATAROOTDIR/man]
2244 --docdir=DIR documentation root [DATAROOTDIR/doc/wine]
2245 --htmldir=DIR html documentation [DOCDIR]
2246 --dvidir=DIR dvi documentation [DOCDIR]
2247 --pdfdir=DIR pdf documentation [DOCDIR]
2248 --psdir=DIR ps documentation [DOCDIR]
2254 --x-includes=DIR X include files are
in DIR
2255 --x-libraries=DIR X library files are
in DIR
2258 --build=BUILD configure
for building on BUILD
[guessed
]
2259 --host=HOST cross-compile to build programs to run on HOST
[BUILD
]
2263 if test -n "$ac_init_help"; then
2264 case $ac_init_help in
2265 short | recursive
) echo "Configuration of Wine 1.9.20:";;
2270 --disable-option-checking ignore unrecognized
--enable/--with options
2271 --disable-FEATURE do not include FEATURE
(same as
--enable-FEATURE=no
)
2272 --enable-FEATURE[=ARG
] include FEATURE
[ARG
=yes]
2273 --disable-win16 do not include Win16 support
2274 --enable-win64 build a Win64 emulator on AMD64
(won
't run Win32
2276 --disable-tests do not build the regression tests
2277 --enable-maintainer-mode
2278 enable maintainer-specific build rules
2279 --disable-largefile omit support for large files
2282 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
2283 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
2284 --without-alsa do not use the Alsa sound support
2285 --without-capi do not use CAPI (ISDN support)
2286 --without-cms do not use CMS (color management support)
2287 --without-coreaudio do not use the CoreAudio sound support
2288 --without-cups do not use CUPS
2289 --without-curses do not use (n)curses
2290 --without-dbus do not use DBus (dynamic device support)
2291 --without-fontconfig do not use fontconfig
2292 --without-freetype do not use the FreeType library
2293 --without-gettext do not use gettext
2294 --with-gettextpo use the GetTextPO library to rebuild po files
2295 --without-gphoto do not use gphoto (Digital Camera support)
2296 --without-glu do not use the GLU library
2297 --without-gnutls do not use GnuTLS (schannel support)
2298 --without-gsm do not use libgsm (GSM 06.10 codec support)
2299 --without-gstreamer do not use GStreamer (codecs support)
2300 --without-hal do not use HAL (dynamic device support)
2301 --without-jpeg do not use JPEG
2302 --without-ldap do not use LDAP
2303 --without-mpg123 do not use the mpg123 library
2304 --without-netapi do not use the Samba NetAPI library
2305 --without-openal do not use OpenAL
2306 --without-opencl do not use OpenCL
2307 --without-opengl do not use OpenGL
2308 --without-osmesa do not use the OSMesa library
2309 --without-oss do not use the OSS sound support
2310 --without-pcap do not use the Packet Capture library
2311 --without-png do not use PNG
2312 --without-pthread do not use the pthread library
2313 --without-pulse do not use PulseAudio sound support
2314 --without-sane do not use SANE (scanner support)
2315 --without-tiff do not use TIFF
2316 --without-udev do not use udev (plug and play support)
2317 --without-v4l do not use v4l1 (v4l support)
2318 --without-xcomposite do not use the Xcomposite extension
2319 --without-xcursor do not use the Xcursor extension
2320 --without-xinerama do not use Xinerama (multi-monitor support)
2321 --without-xinput do not use the Xinput extension
2322 --without-xinput2 do not use the Xinput 2 extension
2323 --without-xml do not use XML
2324 --without-xrandr do not use Xrandr (resolution changes)
2325 --without-xrender do not use the Xrender extension
2326 --without-xshape do not use the Xshape extension
2327 --without-xshm do not use XShm (shared memory extension)
2328 --without-xslt do not use XSLT
2329 --without-xxf86vm do not use XFree video mode extension
2330 --without-zlib do not use Zlib (data compression)
2331 --with-wine-tools=DIR use Wine tools from directory DIR
2332 --with-wine64=DIR use the 64-bit Wine in DIR for a Wow64 build
2333 --with-x use the X Window System
2335 Some influential environment variables:
2336 CC C compiler command
2337 CFLAGS C compiler flags
2338 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
2339 nonstandard directory <lib dir>
2340 LIBS libraries to pass to the linker, e.g. -l<library>
2341 CPPFLAGS (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if
2342 you have headers in a nonstandard directory <include dir>
2343 CXX C++ compiler command
2344 CXXFLAGS C++ compiler flags
2346 XMKMF Path to xmkmf, Makefile generator for X Window System
2347 XML2_CFLAGS C compiler flags for libxml-2.0, overriding pkg-config
2348 XML2_LIBS Linker flags for libxml-2.0, overriding pkg-config
2349 XSLT_CFLAGS C compiler flags for libxslt, overriding pkg-config
2350 XSLT_LIBS Linker flags for libxslt, overriding pkg-config
2351 DBUS_CFLAGS C compiler flags for dbus-1, overriding pkg-config
2352 DBUS_LIBS Linker flags for dbus-1, overriding pkg-config
2353 HAL_CFLAGS C compiler flags for hal, overriding pkg-config
2354 HAL_LIBS Linker flags for hal, overriding pkg-config
2356 C compiler flags for gnutls, overriding pkg-config
2357 GNUTLS_LIBS Linker flags for gnutls, overriding pkg-config
2358 SANE_CFLAGS C compiler flags for libsane, overriding pkg-config
2359 SANE_LIBS Linker flags for libsane, overriding pkg-config
2361 C compiler flags for libgphoto2, overriding pkg-config
2363 Linker flags for libgphoto2, overriding pkg-config
2365 C compiler flags for libgphoto2_port, overriding pkg-config
2367 Linker flags for libgphoto2_port, overriding pkg-config
2369 C compiler flags for lcms2, overriding pkg-config
2370 LCMS2_LIBS Linker flags for lcms2, overriding pkg-config
2372 C compiler flags for freetype2, overriding pkg-config
2374 Linker flags for freetype2, overriding pkg-config
2376 C compiler flags for libpulse, overriding pkg-config
2377 PULSE_LIBS Linker flags for libpulse, overriding pkg-config
2379 C compiler flags for gstreamer-1.0 gstreamer-video-1.0
2380 gstreamer-audio-1.0, overriding pkg-config
2382 Linker flags for gstreamer-1.0 gstreamer-video-1.0
2383 gstreamer-audio-1.0, overriding pkg-config
2384 UDEV_CFLAGS C compiler flags for libudev, overriding pkg-config
2385 UDEV_LIBS Linker flags for libudev, overriding pkg-config
2387 C compiler flags for capi20, overriding pkg-config
2388 CAPI20_LIBS Linker flags for capi20, overriding pkg-config
2390 C compiler flags for fontconfig, overriding pkg-config
2392 Linker flags for fontconfig, overriding pkg-config
2393 JPEG_CFLAGS C compiler flags for libjpeg, overriding pkg-config
2394 JPEG_LIBS Linker flags for libjpeg, overriding pkg-config
2395 PNG_CFLAGS C compiler flags for libpng, overriding pkg-config
2396 PNG_LIBS Linker flags for libpng, overriding pkg-config
2397 TIFF_CFLAGS C compiler flags for libtiff-4, overriding pkg-config
2398 TIFF_LIBS Linker flags for libtiff-4, overriding pkg-config
2400 C compiler flags for libmpg123, overriding pkg-config
2401 MPG123_LIBS Linker flags for libmpg123, overriding pkg-config
2403 C compiler flags for netapi, overriding pkg-config
2404 NETAPI_LIBS Linker flags for netapi, overriding pkg-config
2406 Use these variables to override the choices made by `configure' or to
help
2407 it to
find libraries and programs with nonstandard names
/locations.
2409 Report bugs to
<wine-devel@winehq.org
>.
2410 Wine home page
: <http
://www.winehq.org
>.
2415 if test "$ac_init_help" = "recursive"; then
2416 # If there are subdirs, report their specific --help.
2417 for ac_dir
in : $ac_subdirs_all; do test "x$ac_dir" = x
: && continue
2418 test -d "$ac_dir" ||
2419 { cd "$srcdir" && ac_pwd
=`pwd` && srcdir
=.
&& test -d "$ac_dir"; } ||
2424 .
) ac_dir_suffix
= ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
2426 ac_dir_suffix
=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
2427 # A ".." for each directory in $ac_dir_suffix.
2428 ac_top_builddir_sub
=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
2429 case $ac_top_builddir_sub in
2430 "") ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
2431 *) ac_top_build_prefix
=$ac_top_builddir_sub/ ;;
2434 ac_abs_top_builddir
=$ac_pwd
2435 ac_abs_builddir
=$ac_pwd$ac_dir_suffix
2436 # for backward compatibility:
2437 ac_top_builddir
=$ac_top_build_prefix
2440 .
) # We are building in place.
2442 ac_top_srcdir
=$ac_top_builddir_sub
2443 ac_abs_top_srcdir
=$ac_pwd ;;
2444 [\\/]* | ?
:[\\/]* ) # Absolute name.
2445 ac_srcdir
=$srcdir$ac_dir_suffix;
2446 ac_top_srcdir
=$srcdir
2447 ac_abs_top_srcdir
=$srcdir ;;
2449 ac_srcdir
=$ac_top_build_prefix$srcdir$ac_dir_suffix
2450 ac_top_srcdir
=$ac_top_build_prefix$srcdir
2451 ac_abs_top_srcdir
=$ac_pwd/$srcdir ;;
2453 ac_abs_srcdir
=$ac_abs_top_srcdir$ac_dir_suffix
2455 cd "$ac_dir" ||
{ ac_status
=$?
; continue; }
2456 # Check for guested configure.
2457 if test -f "$ac_srcdir/configure.gnu"; then
2459 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
2460 elif test -f "$ac_srcdir/configure"; then
2462 $SHELL "$ac_srcdir/configure" --help=recursive
2464 $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
2466 cd "$ac_pwd" ||
{ ac_status
=$?
; break; }
2470 test -n "$ac_init_help" && exit $ac_status
2471 if $ac_init_version; then
2473 Wine configure
1.9.20
2474 generated by GNU Autoconf
2.69
2476 Copyright
(C
) 2012 Free Software Foundation
, Inc.
2477 This configure
script is free software
; the Free Software Foundation
2478 gives unlimited permission to copy
, distribute and modify it.
2483 ## ------------------------ ##
2484 ## Autoconf initialization. ##
2485 ## ------------------------ ##
2487 # ac_fn_c_try_compile LINENO
2488 # --------------------------
2489 # Try to compile conftest.$ac_ext, and return whether this succeeded.
2490 ac_fn_c_try_compile
()
2492 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
2493 rm -f conftest.
$ac_objext
2494 if { { ac_try
="$ac_compile"
2496 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
2497 *) ac_try_echo=$ac_try;;
2499 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2500 $as_echo "$ac_try_echo"; } >&5
2501 (eval "$ac_compile") 2>conftest.err
2503 if test -s conftest.err; then
2504 grep -v '^ *+' conftest.err >conftest.er1
2505 cat conftest.er1 >&5
2506 mv -f conftest.er1 conftest.err
2508 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2509 test $ac_status = 0; } && {
2510 test -z "$ac_c_werror_flag" ||
2511 test ! -s conftest.err
2512 } && test -s conftest.$ac_objext; then :
2515 $as_echo "$as_me: failed program was:" >&5
2516 sed 's/^/| /' conftest.$ac_ext >&5
2520 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2521 as_fn_set_status $ac_retval
2523 } # ac_fn_c_try_compile
2525 # ac_fn_cxx_try_compile LINENO
2526 # ----------------------------
2527 # Try to compile conftest.$ac_ext, and return whether this succeeded.
2528 ac_fn_cxx_try_compile ()
2530 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2531 rm -f conftest.$ac_objext
2532 if { { ac_try="$ac_compile"
2534 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
2535 *) ac_try_echo
=$ac_try;;
2537 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2538 $as_echo "$ac_try_echo"; } >&5
2539 (eval "$ac_compile") 2>conftest.err
2541 if test -s conftest.err
; then
2542 grep -v '^ *+' conftest.err
>conftest.er1
2543 cat conftest.er1
>&5
2544 mv -f conftest.er1 conftest.err
2546 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2547 test $ac_status = 0; } && {
2548 test -z "$ac_cxx_werror_flag" ||
2549 test ! -s conftest.err
2550 } && test -s conftest.
$ac_objext; then :
2553 $as_echo "$as_me: failed program was:" >&5
2554 sed 's/^/| /' conftest.
$ac_ext >&5
2558 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2559 as_fn_set_status
$ac_retval
2561 } # ac_fn_cxx_try_compile
2563 # ac_fn_c_try_link LINENO
2564 # -----------------------
2565 # Try to link conftest.$ac_ext, and return whether this succeeded.
2568 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
2569 rm -f conftest.
$ac_objext conftest
$ac_exeext
2570 if { { ac_try
="$ac_link"
2572 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
2573 *) ac_try_echo=$ac_try;;
2575 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2576 $as_echo "$ac_try_echo"; } >&5
2577 (eval "$ac_link") 2>conftest.err
2579 if test -s conftest.err; then
2580 grep -v '^ *+' conftest.err >conftest.er1
2581 cat conftest.er1 >&5
2582 mv -f conftest.er1 conftest.err
2584 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2585 test $ac_status = 0; } && {
2586 test -z "$ac_c_werror_flag" ||
2587 test ! -s conftest.err
2588 } && test -s conftest$ac_exeext && {
2589 test "$cross_compiling" = yes ||
2590 test -x conftest$ac_exeext
2594 $as_echo "$as_me: failed program was:" >&5
2595 sed 's/^/| /' conftest.$ac_ext >&5
2599 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
2600 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
2601 # interfere with the next link command; also delete a directory that is
2602 # left behind by Apple's compiler. We do this before executing the actions.
2603 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
2604 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2605 as_fn_set_status $ac_retval
2607 } # ac_fn_c_try_link
2609 # ac_fn_c_try_cpp LINENO
2610 # ----------------------
2611 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
2614 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2615 if { { ac_try="$ac_cpp conftest.$ac_ext"
2617 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
2618 *) ac_try_echo
=$ac_try;;
2620 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2621 $as_echo "$ac_try_echo"; } >&5
2622 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
2624 if test -s conftest.err
; then
2625 grep -v '^ *+' conftest.err
>conftest.er1
2626 cat conftest.er1
>&5
2627 mv -f conftest.er1 conftest.err
2629 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2630 test $ac_status = 0; } > conftest.i
&& {
2631 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
2632 test ! -s conftest.err
2636 $as_echo "$as_me: failed program was:" >&5
2637 sed 's/^/| /' conftest.
$ac_ext >&5
2641 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2642 as_fn_set_status
$ac_retval
2646 # ac_fn_c_check_header_mongrel LINENO HEADER VAR INCLUDES
2647 # -------------------------------------------------------
2648 # Tests whether HEADER exists, giving a warning if it cannot be compiled using
2649 # the include files in INCLUDES and setting the cache variable VAR
2651 ac_fn_c_check_header_mongrel
()
2653 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
2654 if eval \
${$3+:} false
; then :
2655 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2656 $as_echo_n "checking for $2... " >&6; }
2657 if eval \
${$3+:} false
; then :
2658 $as_echo_n "(cached) " >&6
2661 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2662 $as_echo "$ac_res" >&6; }
2664 # Is the header compilable?
2665 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
2666 $as_echo_n "checking $2 usability... " >&6; }
2667 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
2668 /* end confdefs.h. */
2672 if ac_fn_c_try_compile
"$LINENO"; then :
2673 ac_header_compiler
=yes
2675 ac_header_compiler
=no
2677 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
2678 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
2679 $as_echo "$ac_header_compiler" >&6; }
2681 # Is the header present?
2682 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
2683 $as_echo_n "checking $2 presence... " >&6; }
2684 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
2685 /* end confdefs.h. */
2688 if ac_fn_c_try_cpp
"$LINENO"; then :
2689 ac_header_preproc
=yes
2691 ac_header_preproc
=no
2693 rm -f conftest.err conftest.i conftest.
$ac_ext
2694 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
2695 $as_echo "$ac_header_preproc" >&6; }
2697 # So? What about this header?
2698 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in #((
2700 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
2701 $as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
2702 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
2703 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
2706 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
2707 $as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
2708 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: check for missing prerequisite headers?" >&5
2709 $as_echo "$as_me: WARNING: $2: check for missing prerequisite headers?" >&2;}
2710 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
2711 $as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
2712 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&5
2713 $as_echo "$as_me: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&2;}
2714 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
2715 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
2716 ( $as_echo "## ------------------------------------ ##
2717 ## Report this to wine-devel@winehq.org ##
2718 ## ------------------------------------ ##"
2719 ) |
sed "s/^/$as_me: WARNING: /" >&2
2722 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2723 $as_echo_n "checking for $2... " >&6; }
2724 if eval \
${$3+:} false
; then :
2725 $as_echo_n "(cached) " >&6
2727 eval "$3=\$ac_header_compiler"
2730 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2731 $as_echo "$ac_res" >&6; }
2733 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2735 } # ac_fn_c_check_header_mongrel
2737 # ac_fn_c_try_run LINENO
2738 # ----------------------
2739 # Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
2740 # that executables *can* be run.
2743 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
2744 if { { ac_try
="$ac_link"
2746 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
2747 *) ac_try_echo=$ac_try;;
2749 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2750 $as_echo "$ac_try_echo"; } >&5
2751 (eval "$ac_link") 2>&5
2753 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2754 test $ac_status = 0; } && { ac_try='./conftest$ac_exeext'
2755 { { case "(($ac_try" in
2756 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
2757 *) ac_try_echo
=$ac_try;;
2759 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2760 $as_echo "$ac_try_echo"; } >&5
2761 (eval "$ac_try") 2>&5
2763 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2764 test $ac_status = 0; }; }; then :
2767 $as_echo "$as_me: program exited with status $ac_status" >&5
2768 $as_echo "$as_me: failed program was:" >&5
2769 sed 's/^/| /' conftest.
$ac_ext >&5
2771 ac_retval
=$ac_status
2773 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
2774 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2775 as_fn_set_status
$ac_retval
2779 # ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
2780 # -------------------------------------------------------
2781 # Tests whether HEADER exists and can be compiled using the include files in
2782 # INCLUDES, setting the cache variable VAR accordingly.
2783 ac_fn_c_check_header_compile
()
2785 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
2786 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2787 $as_echo_n "checking for $2... " >&6; }
2788 if eval \
${$3+:} false
; then :
2789 $as_echo_n "(cached) " >&6
2791 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
2792 /* end confdefs.h. */
2796 if ac_fn_c_try_compile
"$LINENO"; then :
2801 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
2804 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2805 $as_echo "$ac_res" >&6; }
2806 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2808 } # ac_fn_c_check_header_compile
2810 # ac_fn_c_check_func LINENO FUNC VAR
2811 # ----------------------------------
2812 # Tests whether FUNC exists, setting the cache variable VAR accordingly
2813 ac_fn_c_check_func
()
2815 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
2816 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2817 $as_echo_n "checking for $2... " >&6; }
2818 if eval \
${$3+:} false
; then :
2819 $as_echo_n "(cached) " >&6
2821 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
2822 /* end confdefs.h. */
2823 /* Define $2 to an innocuous variant, in case <limits.h> declares $2.
2824 For example, HP-UX 11i <limits.h> declares gettimeofday. */
2825 #define $2 innocuous_$2
2827 /* System header to define __stub macros and hopefully few prototypes,
2828 which can conflict with char $2 (); below.
2829 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
2830 <limits.h> exists even on freestanding compilers. */
2833 # include <limits.h>
2835 # include <assert.h>
2840 /* Override any GCC internal prototype to avoid an error.
2841 Use char because int might match the return type of a GCC
2842 builtin and then its argument prototype would still apply. */
2847 /* The GNU C library defines this for functions which it implements
2848 to always fail with ENOSYS. Some functions are actually named
2849 something starting with __ and the normal name is an alias. */
2850 #if defined __stub_$2 || defined __stub___$2
2862 if ac_fn_c_try_link
"$LINENO"; then :
2867 rm -f core conftest.err conftest.
$ac_objext \
2868 conftest
$ac_exeext conftest.
$ac_ext
2871 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2872 $as_echo "$ac_res" >&6; }
2873 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2875 } # ac_fn_c_check_func
2877 # ac_fn_c_check_member LINENO AGGR MEMBER VAR INCLUDES
2878 # ----------------------------------------------------
2879 # Tries to find if the field MEMBER exists in type AGGR, after including
2880 # INCLUDES, setting cache variable VAR accordingly.
2881 ac_fn_c_check_member
()
2883 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
2884 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2.$3" >&5
2885 $as_echo_n "checking for $2.$3... " >&6; }
2886 if eval \
${$4+:} false
; then :
2887 $as_echo_n "(cached) " >&6
2889 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
2890 /* end confdefs.h. */
2902 if ac_fn_c_try_compile
"$LINENO"; then :
2905 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
2906 /* end confdefs.h. */
2912 if (sizeof ac_aggr.$3)
2918 if ac_fn_c_try_compile
"$LINENO"; then :
2923 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
2925 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
2928 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2929 $as_echo "$ac_res" >&6; }
2930 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2932 } # ac_fn_c_check_member
2934 # ac_fn_c_check_type LINENO TYPE VAR INCLUDES
2935 # -------------------------------------------
2936 # Tests whether TYPE exists after having included INCLUDES, setting cache
2937 # variable VAR accordingly.
2938 ac_fn_c_check_type
()
2940 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
2941 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2942 $as_echo_n "checking for $2... " >&6; }
2943 if eval \
${$3+:} false
; then :
2944 $as_echo_n "(cached) " >&6
2947 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
2948 /* end confdefs.h. */
2959 if ac_fn_c_try_compile
"$LINENO"; then :
2960 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
2961 /* end confdefs.h. */
2972 if ac_fn_c_try_compile
"$LINENO"; then :
2977 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
2979 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
2982 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2983 $as_echo "$ac_res" >&6; }
2984 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2986 } # ac_fn_c_check_type
2987 cat >config.log
<<_ACEOF
2988 This file contains any messages produced by compilers while
2989 running configure, to aid debugging if configure makes a mistake.
2991 It was created by Wine $as_me 1.9.20, which was
2992 generated by GNU Autoconf 2.69. Invocation command line was
3004 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
3005 uname -m = `(uname -m) 2>/dev/null || echo unknown`
3006 uname -r = `(uname -r) 2>/dev/null || echo unknown`
3007 uname -s = `(uname -s) 2>/dev/null || echo unknown`
3008 uname -v = `(uname -v) 2>/dev/null || echo unknown`
3010 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
3011 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
3013 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
3014 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
3015 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
3016 /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
3017 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
3018 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
3019 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
3023 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3027 test -z "$as_dir" && as_dir
=.
3028 $as_echo "PATH: $as_dir"
3044 # Keep a trace of the command line.
3045 # Strip out --no-create and --no-recursion so they do not pile up.
3046 # Strip out --silent because we don't want to record it for future runs.
3047 # Also quote any args containing shell meta-characters.
3048 # Make two passes to allow for proper duplicate-argument suppression.
3052 ac_must_keep_next
=false
3058 -no-create |
--no-c* |
-n |
-no-recursion |
--no-r*) continue ;;
3059 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
3060 |
-silent |
--silent |
--silen |
--sile |
--sil)
3063 ac_arg
=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
3066 1) as_fn_append ac_configure_args0
" '$ac_arg'" ;;
3068 as_fn_append ac_configure_args1
" '$ac_arg'"
3069 if test $ac_must_keep_next = true
; then
3070 ac_must_keep_next
=false
# Got value, back to normal.
3073 *=* |
--config-cache |
-C |
-disable-* |
--disable-* \
3074 |
-enable-* |
--enable-* |
-gas |
--g* |
-nfp |
--nf* \
3075 |
-q |
-quiet |
--q* |
-silent |
--sil* |
-v |
-verb* \
3076 |
-with-* |
--with-* |
-without-* |
--without-* |
--x)
3077 case "$ac_configure_args0 " in
3078 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
3081 -* ) ac_must_keep_next
=true
;;
3084 as_fn_append ac_configure_args
" '$ac_arg'"
3089 { ac_configure_args0
=; unset ac_configure_args0
;}
3090 { ac_configure_args1
=; unset ac_configure_args1
;}
3092 # When interrupted or exit'd, cleanup temporary files, and complete
3093 # config.log. We remove comments because anyway the quotes in there
3094 # would cause problems or look ugly.
3095 # WARNING: Use '\'' to represent an apostrophe within the trap.
3096 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
3097 trap 'exit_status=$?
3098 # Save into config.log some information that might help in debugging.
3102 $as_echo "## ---------------- ##
3103 ## Cache variables. ##
3104 ## ---------------- ##"
3106 # The following way of writing the cache mishandles newlines in values,
3108 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
3109 eval ac_val=\$$ac_var
3113 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
3114 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
3117 _ | IFS | as_nl) ;; #(
3118 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
3119 *) { eval $ac_var=; unset $ac_var;} ;;
3124 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
3125 *${as_nl}ac_space=\ *)
3127 "s/'\''/'\''\\\\'\'''\''/g;
3128 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
3131 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
3138 $as_echo "## ----------------- ##
3139 ## Output variables. ##
3140 ## ----------------- ##"
3142 for ac_var in $ac_subst_vars
3144 eval ac_val=\$$ac_var
3146 *\'\''*) ac_val
=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
3148 $as_echo "$ac_var='\''$ac_val'\''"
3152 if test -n "$ac_subst_files"; then
3153 $as_echo "## ------------------- ##
3154 ## File substitutions. ##
3155 ## ------------------- ##"
3157 for ac_var
in $ac_subst_files
3159 eval ac_val
=\$
$ac_var
3161 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
3163 $as_echo "$ac_var='\''$ac_val'\''"
3168 if test -s confdefs.h; then
3169 $as_echo "## ----------- ##
3176 test "$ac_signal" != 0 &&
3177 $as_echo "$as_me: caught signal $ac_signal"
3178 $as_echo "$as_me: exit $exit_status"
3180 rm -f core *.core core.conftest.* &&
3181 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
3184 for ac_signal
in 1 2 13 15; do
3185 trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
3189 # confdefs.h avoids OS command line length limits that DEFS can exceed.
3190 rm -f -r conftest
* confdefs.h
3192 $as_echo "/* confdefs.h */" > confdefs.h
3194 # Predefined preprocessor variables.
3196 cat >>confdefs.h
<<_ACEOF
3197 #define PACKAGE_NAME "$PACKAGE_NAME"
3200 cat >>confdefs.h
<<_ACEOF
3201 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
3204 cat >>confdefs.h
<<_ACEOF
3205 #define PACKAGE_VERSION "$PACKAGE_VERSION"
3208 cat >>confdefs.h
<<_ACEOF
3209 #define PACKAGE_STRING "$PACKAGE_STRING"
3212 cat >>confdefs.h
<<_ACEOF
3213 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
3216 cat >>confdefs.h
<<_ACEOF
3217 #define PACKAGE_URL "$PACKAGE_URL"
3221 # Let the site file select an alternate cache file if it wants to.
3222 # Prefer an explicitly selected file to automatically selected ones.
3225 if test -n "$CONFIG_SITE"; then
3226 # We do not want a PATH search for config.site.
3227 case $CONFIG_SITE in #((
3228 -*) ac_site_file1
=.
/$CONFIG_SITE;;
3229 */*) ac_site_file1
=$CONFIG_SITE;;
3230 *) ac_site_file1
=.
/$CONFIG_SITE;;
3232 elif test "x$prefix" != xNONE
; then
3233 ac_site_file1
=$prefix/share
/config.site
3234 ac_site_file2
=$prefix/etc
/config.site
3236 ac_site_file1
=$ac_default_prefix/share
/config.site
3237 ac_site_file2
=$ac_default_prefix/etc
/config.site
3239 for ac_site_file
in "$ac_site_file1" "$ac_site_file2"
3241 test "x$ac_site_file" = xNONE
&& continue
3242 if test /dev
/null
!= "$ac_site_file" && test -r "$ac_site_file"; then
3243 { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
3244 $as_echo "$as_me: loading site script $ac_site_file" >&6;}
3245 sed 's/^/| /' "$ac_site_file" >&5
3247 ||
{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3248 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3249 as_fn_error $?
"failed to load site script $ac_site_file
3250 See \`config.log' for more details" "$LINENO" 5; }
3254 if test -r "$cache_file"; then
3255 # Some versions of bash will fail to source /dev/null (special files
3256 # actually), so we avoid doing that. DJGPP emulates it as a regular file.
3257 if test /dev
/null
!= "$cache_file" && test -f "$cache_file"; then
3258 { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
3259 $as_echo "$as_me: loading cache $cache_file" >&6;}
3261 [\\/]* | ?
:[\\/]* ) .
"$cache_file";;
3262 *) .
"./$cache_file";;
3266 { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
3267 $as_echo "$as_me: creating cache $cache_file" >&6;}
3271 # Check that the precious variables saved in the cache have kept the same
3273 ac_cache_corrupted
=false
3274 for ac_var
in $ac_precious_vars; do
3275 eval ac_old_set
=\
$ac_cv_env_${ac_var}_set
3276 eval ac_new_set
=\
$ac_env_${ac_var}_set
3277 eval ac_old_val
=\
$ac_cv_env_${ac_var}_value
3278 eval ac_new_val
=\
$ac_env_${ac_var}_value
3279 case $ac_old_set,$ac_new_set in
3281 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
3282 $as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
3283 ac_cache_corrupted
=: ;;
3285 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
3286 $as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
3287 ac_cache_corrupted
=: ;;
3290 if test "x$ac_old_val" != "x$ac_new_val"; then
3291 # differences in whitespace do not lead to failure.
3292 ac_old_val_w
=`echo x $ac_old_val`
3293 ac_new_val_w
=`echo x $ac_new_val`
3294 if test "$ac_old_val_w" != "$ac_new_val_w"; then
3295 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
3296 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
3297 ac_cache_corrupted
=:
3299 { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
3300 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
3301 eval $ac_var=\
$ac_old_val
3303 { $as_echo "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5
3304 $as_echo "$as_me: former value: \`$ac_old_val'" >&2;}
3305 { $as_echo "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5
3306 $as_echo "$as_me: current value: \`$ac_new_val'" >&2;}
3309 # Pass precious variables to config.status.
3310 if test "$ac_new_set" = set; then
3312 *\'*) ac_arg
=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
3313 *) ac_arg
=$ac_var=$ac_new_val ;;
3315 case " $ac_configure_args " in
3316 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
3317 *) as_fn_append ac_configure_args
" '$ac_arg'" ;;
3321 if $ac_cache_corrupted; then
3322 { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3323 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3324 { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
3325 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
3326 as_fn_error $?
"run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
3328 ## -------------------- ##
3329 ## Main body of script. ##
3330 ## -------------------- ##
3333 ac_cpp
='$CPP $CPPFLAGS'
3334 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3335 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3336 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
3340 ac_config_headers
="$ac_config_headers include/config.h"
3343 for ac_dir
in tools
"$srcdir"/tools
; do
3344 if test -f "$ac_dir/install-sh"; then
3346 ac_install_sh
="$ac_aux_dir/install-sh -c"
3348 elif test -f "$ac_dir/install.sh"; then
3350 ac_install_sh
="$ac_aux_dir/install.sh -c"
3352 elif test -f "$ac_dir/shtool"; then
3354 ac_install_sh
="$ac_aux_dir/shtool install -c"
3358 if test -z "$ac_aux_dir"; then
3359 as_fn_error $?
"cannot find install-sh, install.sh, or shtool in tools \"$srcdir\"/tools" "$LINENO" 5
3362 # These three variables are undocumented and unsupported,
3363 # and are intended to be withdrawn in a future Autoconf release.
3364 # They can cause serious problems if a builder's source tree is in a directory
3365 # whose full name contains unusual characters.
3366 ac_config_guess
="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
3367 ac_config_sub
="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
3368 ac_configure
="$SHELL $ac_aux_dir/configure" # Please don't use this var.
3372 libwine_version
="1.0"
3376 # Check whether --enable-win16 was given.
3377 if test "${enable_win16+set}" = set; then :
3378 enableval
=$enable_win16;
3381 # Check whether --enable-win64 was given.
3382 if test "${enable_win64+set}" = set; then :
3383 enableval
=$enable_win64;
3386 # Check whether --enable-tests was given.
3387 if test "${enable_tests+set}" = set; then :
3388 enableval
=$enable_tests;
3391 # Check whether --enable-maintainer-mode was given.
3392 if test "${enable_maintainer_mode+set}" = set; then :
3393 enableval
=$enable_maintainer_mode;
3398 # Check whether --with-alsa was given.
3399 if test "${with_alsa+set}" = set; then :
3400 withval
=$with_alsa; if test "x$withval" = "xno"; then ac_cv_header_sys_asoundlib_h
=no
; ac_cv_header_alsa_asoundlib_h
=no
; fi
3404 # Check whether --with-capi was given.
3405 if test "${with_capi+set}" = set; then :
3410 # Check whether --with-cms was given.
3411 if test "${with_cms+set}" = set; then :
3416 # Check whether --with-coreaudio was given.
3417 if test "${with_coreaudio+set}" = set; then :
3418 withval
=$with_coreaudio; if test "x$withval" = "xno"; then ac_cv_header_CoreAudio_CoreAudio_h
=no
; fi
3422 # Check whether --with-cups was given.
3423 if test "${with_cups+set}" = set; then :
3428 # Check whether --with-curses was given.
3429 if test "${with_curses+set}" = set; then :
3430 withval
=$with_curses; if test "x$withval" = "xno"; then ac_cv_header_ncurses_h
=no
; ac_cv_header_curses_h
=no
; fi
3434 # Check whether --with-dbus was given.
3435 if test "${with_dbus+set}" = set; then :
3440 # Check whether --with-fontconfig was given.
3441 if test "${with_fontconfig+set}" = set; then :
3442 withval
=$with_fontconfig;
3446 # Check whether --with-freetype was given.
3447 if test "${with_freetype+set}" = set; then :
3448 withval
=$with_freetype;
3452 # Check whether --with-gettext was given.
3453 if test "${with_gettext+set}" = set; then :
3454 withval
=$with_gettext;
3458 # Check whether --with-gettextpo was given.
3459 if test "${with_gettextpo+set}" = set; then :
3460 withval
=$with_gettextpo; if test "x$withval" = "xno"; then ac_cv_header_gettext_po_h
=no
; fi
3464 # Check whether --with-gphoto was given.
3465 if test "${with_gphoto+set}" = set; then :
3466 withval
=$with_gphoto;
3470 # Check whether --with-glu was given.
3471 if test "${with_glu+set}" = set; then :
3476 # Check whether --with-gnutls was given.
3477 if test "${with_gnutls+set}" = set; then :
3478 withval
=$with_gnutls;
3482 # Check whether --with-gsm was given.
3483 if test "${with_gsm+set}" = set; then :
3484 withval
=$with_gsm; if test "x$withval" = "xno"; then ac_cv_header_gsm_h
=no
; ac_cv_header_gsm_gsm_h
=no
; fi
3488 # Check whether --with-gstreamer was given.
3489 if test "${with_gstreamer+set}" = set; then :
3490 withval
=$with_gstreamer;
3494 # Check whether --with-hal was given.
3495 if test "${with_hal+set}" = set; then :
3500 # Check whether --with-jpeg was given.
3501 if test "${with_jpeg+set}" = set; then :
3506 # Check whether --with-ldap was given.
3507 if test "${with_ldap+set}" = set; then :
3508 withval
=$with_ldap; if test "x$withval" = "xno"; then ac_cv_header_ldap_h
=no
; ac_cv_header_lber_h
=no
; fi
3512 # Check whether --with-mpg123 was given.
3513 if test "${with_mpg123+set}" = set; then :
3514 withval
=$with_mpg123;
3518 # Check whether --with-netapi was given.
3519 if test "${with_netapi+set}" = set; then :
3520 withval
=$with_netapi;
3524 # Check whether --with-openal was given.
3525 if test "${with_openal+set}" = set; then :
3526 withval
=$with_openal; if test "x$withval" = "xno"; then ac_cv_header_AL_al_h
=no
; ac_cv_header_OpenAL_al_h
=no
; fi
3530 # Check whether --with-opencl was given.
3531 if test "${with_opencl+set}" = set; then :
3532 withval
=$with_opencl; if test "x$withval" = "xno"; then ac_cv_header_CL_cl_h
=no
; ac_cv_header_OpenCL_opencl_h
=no
; fi
3536 # Check whether --with-opengl was given.
3537 if test "${with_opengl+set}" = set; then :
3538 withval
=$with_opengl;
3542 # Check whether --with-osmesa was given.
3543 if test "${with_osmesa+set}" = set; then :
3544 withval
=$with_osmesa;
3548 # Check whether --with-oss was given.
3549 if test "${with_oss+set}" = set; then :
3554 # Check whether --with-pcap was given.
3555 if test "${with_pcap+set}" = set; then :
3556 withval
=$with_pcap; if test "x$withval" = "xno"; then ac_cv_header_pcap_pcap_h
=no
; fi
3560 # Check whether --with-png was given.
3561 if test "${with_png+set}" = set; then :
3566 # Check whether --with-pthread was given.
3567 if test "${with_pthread+set}" = set; then :
3568 withval
=$with_pthread; if test "x$withval" = "xno"; then ac_cv_header_pthread_h
=no
; fi
3572 # Check whether --with-pulse was given.
3573 if test "${with_pulse+set}" = set; then :
3574 withval
=$with_pulse;
3578 # Check whether --with-sane was given.
3579 if test "${with_sane+set}" = set; then :
3584 # Check whether --with-tiff was given.
3585 if test "${with_tiff+set}" = set; then :
3590 # Check whether --with-udev was given.
3591 if test "${with_udev+set}" = set; then :
3596 # Check whether --with-v4l was given.
3597 if test "${with_v4l+set}" = set; then :
3602 # Check whether --with-xcomposite was given.
3603 if test "${with_xcomposite+set}" = set; then :
3604 withval
=$with_xcomposite; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xcomposite_h
=no
; fi
3608 # Check whether --with-xcursor was given.
3609 if test "${with_xcursor+set}" = set; then :
3610 withval
=$with_xcursor; if test "x$withval" = "xno"; then ac_cv_header_X11_Xcursor_Xcursor_h
=no
; fi
3614 # Check whether --with-xinerama was given.
3615 if test "${with_xinerama+set}" = set; then :
3616 withval
=$with_xinerama; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xinerama_h
=no
; fi
3620 # Check whether --with-xinput was given.
3621 if test "${with_xinput+set}" = set; then :
3622 withval
=$with_xinput; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_XInput_h
=no
; fi
3626 # Check whether --with-xinput2 was given.
3627 if test "${with_xinput2+set}" = set; then :
3628 withval
=$with_xinput2; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_XInput2_h
=no
; fi
3632 # Check whether --with-xml was given.
3633 if test "${with_xml+set}" = set; then :
3638 # Check whether --with-xrandr was given.
3639 if test "${with_xrandr+set}" = set; then :
3640 withval
=$with_xrandr; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xrandr_h
=no
; fi
3644 # Check whether --with-xrender was given.
3645 if test "${with_xrender+set}" = set; then :
3646 withval
=$with_xrender; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xrender_h
=no
; fi
3650 # Check whether --with-xshape was given.
3651 if test "${with_xshape+set}" = set; then :
3652 withval
=$with_xshape; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_shape_h
=no
; fi
3656 # Check whether --with-xshm was given.
3657 if test "${with_xshm+set}" = set; then :
3658 withval
=$with_xshm; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_XShm_h
=no
; fi
3662 # Check whether --with-xslt was given.
3663 if test "${with_xslt+set}" = set; then :
3668 # Check whether --with-xxf86vm was given.
3669 if test "${with_xxf86vm+set}" = set; then :
3670 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
3674 # Check whether --with-zlib was given.
3675 if test "${with_zlib+set}" = set; then :
3676 withval
=$with_zlib; if test "x$withval" = "xno"; then ac_cv_header_zlib_h
=no
; fi
3681 # Check whether --with-wine-tools was given.
3682 if test "${with_wine_tools+set}" = set; then :
3683 withval
=$with_wine_tools;
3687 # Check whether --with-wine64 was given.
3688 if test "${with_wine64+set}" = set; then :
3689 withval
=$with_wine64;
3693 # Make sure we can run config.sub.
3694 $SHELL "$ac_aux_dir/config.sub" sun4
>/dev
/null
2>&1 ||
3695 as_fn_error $?
"cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
3697 { $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
3698 $as_echo_n "checking build system type... " >&6; }
3699 if ${ac_cv_build+:} false
; then :
3700 $as_echo_n "(cached) " >&6
3702 ac_build_alias
=$build_alias
3703 test "x$ac_build_alias" = x
&&
3704 ac_build_alias
=`$SHELL "$ac_aux_dir/config.guess"`
3705 test "x$ac_build_alias" = x
&&
3706 as_fn_error $?
"cannot guess build type; you must specify one" "$LINENO" 5
3707 ac_cv_build
=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
3708 as_fn_error $?
"$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
3711 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
3712 $as_echo "$ac_cv_build" >&6; }
3713 case $ac_cv_build in
3715 *) as_fn_error $?
"invalid value of canonical build" "$LINENO" 5;;
3718 ac_save_IFS
=$IFS; IFS
='-'
3724 # Remember, the first character of IFS is used to create $*,
3725 # except with old shells:
3728 case $build_os in *\
*) build_os
=`echo "$build_os" | sed 's/ /-/g'`;; esac
3731 { $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
3732 $as_echo_n "checking host system type... " >&6; }
3733 if ${ac_cv_host+:} false
; then :
3734 $as_echo_n "(cached) " >&6
3736 if test "x$host_alias" = x
; then
3737 ac_cv_host
=$ac_cv_build
3739 ac_cv_host
=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
3740 as_fn_error $?
"$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
3744 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
3745 $as_echo "$ac_cv_host" >&6; }
3748 *) as_fn_error $?
"invalid value of canonical host" "$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 $host_os in *\
*) host_os
=`echo "$host_os" | sed 's/ /-/g'`;; esac
3767 *) if test -f "$srcdir/Makefile" -o -f "$srcdir/include/config.h"; then
3768 as_fn_error $?
"you are building out of the source tree, but the source tree contains object files.
3769 You need to run 'make distclean' in the source tree first." "$LINENO" 5
3774 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
3775 $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
3777 ac_make
=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
3778 if eval \
${ac_cv_prog_make_${ac_make}_set+:} false
; then :
3779 $as_echo_n "(cached) " >&6
3781 cat >conftest.
make <<\_ACEOF
3784 @
echo '@@@%%%=$(MAKE)=@@@%%%'
3786 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
3787 case `${MAKE-make} -f conftest.make 2>/dev/null` in
3789 eval ac_cv_prog_make_
${ac_make}_set
=yes;;
3791 eval ac_cv_prog_make_
${ac_make}_set
=no
;;
3795 if eval test \
$ac_cv_prog_make_${ac_make}_set
= yes; then
3796 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3797 $as_echo "yes" >&6; }
3800 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3801 $as_echo "no" >&6; }
3802 SET_MAKE
="MAKE=${MAKE-make}"
3806 ac_cpp
='$CPP $CPPFLAGS'
3807 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3808 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3809 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
3810 if test -n "$ac_tool_prefix"; then
3811 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
3812 set dummy
${ac_tool_prefix}gcc
; ac_word
=$2
3813 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3814 $as_echo_n "checking for $ac_word... " >&6; }
3815 if ${ac_cv_prog_CC+:} false
; then :
3816 $as_echo_n "(cached) " >&6
3818 if test -n "$CC"; then
3819 ac_cv_prog_CC
="$CC" # Let the user override the test.
3821 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3825 test -z "$as_dir" && as_dir
=.
3826 for ac_exec_ext
in '' $ac_executable_extensions; do
3827 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
3828 ac_cv_prog_CC
="${ac_tool_prefix}gcc"
3829 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3839 if test -n "$CC"; then
3840 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3841 $as_echo "$CC" >&6; }
3843 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3844 $as_echo "no" >&6; }
3849 if test -z "$ac_cv_prog_CC"; then
3851 # Extract the first word of "gcc", so it can be a program name with args.
3852 set dummy gcc
; ac_word
=$2
3853 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3854 $as_echo_n "checking for $ac_word... " >&6; }
3855 if ${ac_cv_prog_ac_ct_CC+:} false
; then :
3856 $as_echo_n "(cached) " >&6
3858 if test -n "$ac_ct_CC"; then
3859 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
3861 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3865 test -z "$as_dir" && as_dir
=.
3866 for ac_exec_ext
in '' $ac_executable_extensions; do
3867 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
3868 ac_cv_prog_ac_ct_CC
="gcc"
3869 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3878 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
3879 if test -n "$ac_ct_CC"; then
3880 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3881 $as_echo "$ac_ct_CC" >&6; }
3883 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3884 $as_echo "no" >&6; }
3887 if test "x$ac_ct_CC" = x
; then
3890 case $cross_compiling:$ac_tool_warned in
3892 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3893 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3894 ac_tool_warned
=yes ;;
3902 if test -z "$CC"; then
3903 if test -n "$ac_tool_prefix"; then
3904 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
3905 set dummy
${ac_tool_prefix}cc
; ac_word
=$2
3906 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3907 $as_echo_n "checking for $ac_word... " >&6; }
3908 if ${ac_cv_prog_CC+:} false
; then :
3909 $as_echo_n "(cached) " >&6
3911 if test -n "$CC"; then
3912 ac_cv_prog_CC
="$CC" # Let the user override the test.
3914 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3918 test -z "$as_dir" && as_dir
=.
3919 for ac_exec_ext
in '' $ac_executable_extensions; do
3920 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
3921 ac_cv_prog_CC
="${ac_tool_prefix}cc"
3922 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3932 if test -n "$CC"; then
3933 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3934 $as_echo "$CC" >&6; }
3936 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3937 $as_echo "no" >&6; }
3943 if test -z "$CC"; then
3944 # Extract the first word of "cc", so it can be a program name with args.
3945 set dummy cc
; ac_word
=$2
3946 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3947 $as_echo_n "checking for $ac_word... " >&6; }
3948 if ${ac_cv_prog_CC+:} false
; then :
3949 $as_echo_n "(cached) " >&6
3951 if test -n "$CC"; then
3952 ac_cv_prog_CC
="$CC" # Let the user override the test.
3955 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3959 test -z "$as_dir" && as_dir
=.
3960 for ac_exec_ext
in '' $ac_executable_extensions; do
3961 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
3962 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
3963 ac_prog_rejected
=yes
3967 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3974 if test $ac_prog_rejected = yes; then
3975 # We found a bogon in the path, so make sure we never use it.
3976 set dummy
$ac_cv_prog_CC
3978 if test $# != 0; then
3979 # We chose a different compiler from the bogus one.
3980 # However, it has the same basename, so the bogon will be chosen
3981 # first if we set CC to just the basename; use the full file name.
3983 ac_cv_prog_CC
="$as_dir/$ac_word${1+' '}$@"
3989 if test -n "$CC"; then
3990 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3991 $as_echo "$CC" >&6; }
3993 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3994 $as_echo "no" >&6; }
3999 if test -z "$CC"; then
4000 if test -n "$ac_tool_prefix"; then
4001 for ac_prog
in cl.exe
4003 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
4004 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
4005 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4006 $as_echo_n "checking for $ac_word... " >&6; }
4007 if ${ac_cv_prog_CC+:} false
; then :
4008 $as_echo_n "(cached) " >&6
4010 if test -n "$CC"; then
4011 ac_cv_prog_CC
="$CC" # Let the user override the test.
4013 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4017 test -z "$as_dir" && as_dir
=.
4018 for ac_exec_ext
in '' $ac_executable_extensions; do
4019 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
4020 ac_cv_prog_CC
="$ac_tool_prefix$ac_prog"
4021 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4031 if test -n "$CC"; then
4032 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4033 $as_echo "$CC" >&6; }
4035 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4036 $as_echo "no" >&6; }
4040 test -n "$CC" && break
4043 if test -z "$CC"; then
4045 for ac_prog
in cl.exe
4047 # Extract the first word of "$ac_prog", so it can be a program name with args.
4048 set dummy
$ac_prog; ac_word
=$2
4049 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4050 $as_echo_n "checking for $ac_word... " >&6; }
4051 if ${ac_cv_prog_ac_ct_CC+:} false
; then :
4052 $as_echo_n "(cached) " >&6
4054 if test -n "$ac_ct_CC"; then
4055 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
4057 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4061 test -z "$as_dir" && as_dir
=.
4062 for ac_exec_ext
in '' $ac_executable_extensions; do
4063 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
4064 ac_cv_prog_ac_ct_CC
="$ac_prog"
4065 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4074 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
4075 if test -n "$ac_ct_CC"; then
4076 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
4077 $as_echo "$ac_ct_CC" >&6; }
4079 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4080 $as_echo "no" >&6; }
4084 test -n "$ac_ct_CC" && break
4087 if test "x$ac_ct_CC" = x
; then
4090 case $cross_compiling:$ac_tool_warned in
4092 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4093 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4094 ac_tool_warned
=yes ;;
4103 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4104 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4105 as_fn_error $?
"no acceptable C compiler found in \$PATH
4106 See \`config.log' for more details" "$LINENO" 5; }
4108 # Provide some information about the compiler.
4109 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
4112 for ac_option
in --version -v -V -qversion; do
4113 { { ac_try
="$ac_compiler $ac_option >&5"
4115 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
4116 *) ac_try_echo=$ac_try;;
4118 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4119 $as_echo "$ac_try_echo"; } >&5
4120 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
4122 if test -s conftest.err; then
4124 ... rest of stderr output deleted ...
4125 10q' conftest.err >conftest.er1
4126 cat conftest.er1 >&5
4128 rm -f conftest.er1 conftest.err
4129 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4130 test $ac_status = 0; }
4133 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4134 /* end confdefs.h. */
4144 ac_clean_files_save=$ac_clean_files
4145 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
4146 # Try to create an executable without -o first, disregard a.out.
4147 # It will help us diagnose broken compilers, and finding out an intuition
4149 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
4150 $as_echo_n "checking whether the C compiler works... " >&6; }
4151 ac_link_default=`$as_echo "$ac_link" |
sed 's/ -o *conftest[^ ]*//'`
4153 # The possible output files:
4154 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
4157 for ac_file in $ac_files
4160 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
4161 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
4166 if { { ac_try="$ac_link_default"
4168 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
4169 *) ac_try_echo
=$ac_try;;
4171 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4172 $as_echo "$ac_try_echo"; } >&5
4173 (eval "$ac_link_default") 2>&5
4175 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4176 test $ac_status = 0; }; then :
4177 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
4178 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
4179 # in a Makefile. We should not override ac_cv_exeext if it was cached,
4180 # so that the user can short-circuit this test for compilers unknown to
4182 for ac_file
in $ac_files ''
4184 test -f "$ac_file" ||
continue
4186 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg |
*.map |
*.inf |
*.dSYM |
*.o |
*.obj
)
4189 # We found the default executable, but exeext='' is most
4193 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no
;
4195 ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
4197 # We set ac_cv_exeext here because the later test for it is not
4198 # safe: cross compilers may not add the suffix if given an `-o'
4199 # argument, so we may need to know it at that point already.
4200 # Even if this section looks crufty: it has the advantage of
4207 test "$ac_cv_exeext" = no
&& ac_cv_exeext
=
4212 if test -z "$ac_file"; then :
4213 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4214 $as_echo "no" >&6; }
4215 $as_echo "$as_me: failed program was:" >&5
4216 sed 's/^/| /' conftest.
$ac_ext >&5
4218 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4219 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4220 as_fn_error
77 "C compiler cannot create executables
4221 See \`config.log' for more details" "$LINENO" 5; }
4223 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4224 $as_echo "yes" >&6; }
4226 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
4227 $as_echo_n "checking for C compiler default output file name... " >&6; }
4228 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
4229 $as_echo "$ac_file" >&6; }
4230 ac_exeext
=$ac_cv_exeext
4232 rm -f -r a.out a.out.dSYM a.exe conftest
$ac_cv_exeext b.out
4233 ac_clean_files
=$ac_clean_files_save
4234 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
4235 $as_echo_n "checking for suffix of executables... " >&6; }
4236 if { { ac_try
="$ac_link"
4238 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
4239 *) ac_try_echo=$ac_try;;
4241 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4242 $as_echo "$ac_try_echo"; } >&5
4243 (eval "$ac_link") 2>&5
4245 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4246 test $ac_status = 0; }; then :
4247 # If both `conftest.exe
' and `conftest' are
`present' (well, observable)
4248 # catch `conftest.exe
'. For instance with Cygwin, `ls conftest' will
4249 # work properly (i.e., refer to `conftest.exe'), while it won't with
4251 for ac_file
in conftest.exe conftest conftest.
*; do
4252 test -f "$ac_file" ||
continue
4254 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg |
*.map |
*.inf |
*.dSYM |
*.o |
*.obj
) ;;
4255 *.
* ) ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
4261 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4262 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4263 as_fn_error $?
"cannot compute suffix of executables: cannot compile and link
4264 See \`config.log' for more details" "$LINENO" 5; }
4266 rm -f conftest conftest
$ac_cv_exeext
4267 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
4268 $as_echo "$ac_cv_exeext" >&6; }
4270 rm -f conftest.
$ac_ext
4271 EXEEXT
=$ac_cv_exeext
4273 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4274 /* end confdefs.h. */
4279 FILE *f = fopen ("conftest.out", "w");
4280 return ferror (f) || fclose (f) != 0;
4286 ac_clean_files
="$ac_clean_files conftest.out"
4287 # Check that the compiler produces executables we can run. If not, either
4288 # the compiler is broken, or we cross compile.
4289 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
4290 $as_echo_n "checking whether we are cross compiling... " >&6; }
4291 if test "$cross_compiling" != yes; then
4292 { { ac_try
="$ac_link"
4294 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
4295 *) ac_try_echo=$ac_try;;
4297 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4298 $as_echo "$ac_try_echo"; } >&5
4299 (eval "$ac_link") 2>&5
4301 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4302 test $ac_status = 0; }
4303 if { ac_try='./conftest$ac_cv_exeext'
4304 { { case "(($ac_try" in
4305 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
4306 *) ac_try_echo
=$ac_try;;
4308 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4309 $as_echo "$ac_try_echo"; } >&5
4310 (eval "$ac_try") 2>&5
4312 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4313 test $ac_status = 0; }; }; then
4316 if test "$cross_compiling" = maybe
; then
4319 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4320 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4321 as_fn_error $?
"cannot run C compiled programs.
4322 If you meant to cross compile, use \`--host'.
4323 See \`config.log' for more details" "$LINENO" 5; }
4327 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
4328 $as_echo "$cross_compiling" >&6; }
4330 rm -f conftest.
$ac_ext conftest
$ac_cv_exeext conftest.out
4331 ac_clean_files
=$ac_clean_files_save
4332 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
4333 $as_echo_n "checking for suffix of object files... " >&6; }
4334 if ${ac_cv_objext+:} false
; then :
4335 $as_echo_n "(cached) " >&6
4337 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4338 /* end confdefs.h. */
4348 rm -f conftest.o conftest.obj
4349 if { { ac_try
="$ac_compile"
4351 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
4352 *) ac_try_echo=$ac_try;;
4354 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4355 $as_echo "$ac_try_echo"; } >&5
4356 (eval "$ac_compile") 2>&5
4358 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4359 test $ac_status = 0; }; then :
4360 for ac_file in conftest.o conftest.obj conftest.*; do
4361 test -f "$ac_file" || continue;
4363 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
4364 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
4369 $as_echo "$as_me: failed program was:" >&5
4370 sed 's/^/| /' conftest.$ac_ext >&5
4372 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4373 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4374 as_fn_error $? "cannot compute suffix of object files
: cannot compile
4375 See \
`config.log' for more details" "$LINENO" 5; }
4377 rm -f conftest.$ac_cv_objext conftest.$ac_ext
4379 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
4380 $as_echo "$ac_cv_objext" >&6; }
4381 OBJEXT=$ac_cv_objext
4383 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
4384 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
4385 if ${ac_cv_c_compiler_gnu+:} false; then :
4386 $as_echo_n "(cached) " >&6
4388 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4389 /* end confdefs.h. */
4402 if ac_fn_c_try_compile "$LINENO"; then :
4407 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4408 ac_cv_c_compiler_gnu=$ac_compiler_gnu
4411 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
4412 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
4413 if test $ac_compiler_gnu = yes; then
4418 ac_test_CFLAGS=${CFLAGS+set}
4419 ac_save_CFLAGS=$CFLAGS
4420 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
4421 $as_echo_n "checking whether $CC accepts -g... " >&6; }
4422 if ${ac_cv_prog_cc_g+:} false; then :
4423 $as_echo_n "(cached) " >&6
4425 ac_save_c_werror_flag=$ac_c_werror_flag
4426 ac_c_werror_flag=yes
4429 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4430 /* end confdefs.h. */
4440 if ac_fn_c_try_compile "$LINENO"; then :
4444 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4445 /* end confdefs.h. */
4455 if ac_fn_c_try_compile "$LINENO"; then :
4458 ac_c_werror_flag=$ac_save_c_werror_flag
4460 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4461 /* end confdefs.h. */
4471 if ac_fn_c_try_compile "$LINENO"; then :
4474 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4476 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4478 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4479 ac_c_werror_flag=$ac_save_c_werror_flag
4481 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
4482 $as_echo "$ac_cv_prog_cc_g" >&6; }
4483 if test "$ac_test_CFLAGS" = set; then
4484 CFLAGS=$ac_save_CFLAGS
4485 elif test $ac_cv_prog_cc_g = yes; then
4486 if test "$GCC" = yes; then
4492 if test "$GCC" = yes; then
4498 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
4499 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
4500 if ${ac_cv_prog_cc_c89+:} false; then :
4501 $as_echo_n "(cached) " >&6
4503 ac_cv_prog_cc_c89=no
4505 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4506 /* end confdefs.h. */
4510 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
4511 struct buf { int x; };
4512 FILE * (*rcsopen) (struct buf *, struct stat *, int);
4513 static char *e (p, i)
4519 static char *f (char * (*g) (char **, int), char **p, ...)
4524 s = g (p, va_arg (v,int));
4529 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
4530 function prototypes and stuff, but not '\xHH' hex character constants.
4531 These don't provoke an error unfortunately, instead are silently treated
4532 as 'x'. The following induces an error, until -std is added to get
4533 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
4534 array size at least. It's necessary to write '\x00'==0 to get something
4535 that's true only with -std. */
4536 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
4538 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
4539 inside strings and character constants. */
4541 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
4543 int test (int i, double x);
4544 struct s1 {int (*f) (int a);};
4545 struct s2 {int (*f) (double a);};
4546 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
4552 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
4557 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
4558 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
4560 CC="$ac_save_CC $ac_arg"
4561 if ac_fn_c_try_compile "$LINENO"; then :
4562 ac_cv_prog_cc_c89=$ac_arg
4564 rm -f core conftest.err conftest.$ac_objext
4565 test "x$ac_cv_prog_cc_c89" != "xno" && break
4567 rm -f conftest.$ac_ext
4572 case "x$ac_cv_prog_cc_c89" in
4574 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
4575 $as_echo "none needed" >&6; } ;;
4577 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
4578 $as_echo "unsupported" >&6; } ;;
4580 CC="$CC $ac_cv_prog_cc_c89"
4581 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
4582 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
4584 if test "x$ac_cv_prog_cc_c89" != xno; then :
4589 ac_cpp='$CPP $CPPFLAGS'
4590 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4591 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4592 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4595 ac_cpp='$CXXCPP $CPPFLAGS'
4596 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4597 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4598 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
4599 if test -z "$CXX"; then
4600 if test -n "$CCC"; then
4603 if test -n "$ac_tool_prefix"; then
4604 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
4606 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
4607 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
4608 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4609 $as_echo_n "checking for $ac_word... " >&6; }
4610 if ${ac_cv_prog_CXX+:} false; then :
4611 $as_echo_n "(cached) " >&6
4613 if test -n "$CXX"; then
4614 ac_cv_prog_CXX="$CXX" # Let the user override the test.
4616 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4620 test -z "$as_dir" && as_dir=.
4621 for ac_exec_ext in '' $ac_executable_extensions; do
4622 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4623 ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"
4624 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4634 if test -n "$CXX"; then
4635 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXX" >&5
4636 $as_echo "$CXX" >&6; }
4638 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4639 $as_echo "no" >&6; }
4643 test -n "$CXX" && break
4646 if test -z "$CXX"; then
4648 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
4650 # Extract the first word of "$ac_prog", so it can be a program name with args.
4651 set dummy $ac_prog; ac_word=$2
4652 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4653 $as_echo_n "checking for $ac_word... " >&6; }
4654 if ${ac_cv_prog_ac_ct_CXX+:} false; then :
4655 $as_echo_n "(cached) " >&6
4657 if test -n "$ac_ct_CXX"; then
4658 ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
4660 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4664 test -z "$as_dir" && as_dir=.
4665 for ac_exec_ext in '' $ac_executable_extensions; do
4666 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4667 ac_cv_prog_ac_ct_CXX="$ac_prog"
4668 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4677 ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
4678 if test -n "$ac_ct_CXX"; then
4679 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CXX" >&5
4680 $as_echo "$ac_ct_CXX" >&6; }
4682 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4683 $as_echo "no" >&6; }
4687 test -n "$ac_ct_CXX" && break
4690 if test "x$ac_ct_CXX" = x; then
4693 case $cross_compiling:$ac_tool_warned in
4695 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4696 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4697 ac_tool_warned=yes ;;
4705 # Provide some information about the compiler.
4706 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C++ compiler version" >&5
4709 for ac_option in --version -v -V -qversion; do
4710 { { ac_try="$ac_compiler $ac_option >&5"
4712 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
4713 *) ac_try_echo
=$ac_try;;
4715 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4716 $as_echo "$ac_try_echo"; } >&5
4717 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
4719 if test -s conftest.err
; then
4721 ... rest of stderr output deleted ...
4722 10q' conftest.err
>conftest.er1
4723 cat conftest.er1
>&5
4725 rm -f conftest.er1 conftest.err
4726 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4727 test $ac_status = 0; }
4730 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C++ compiler" >&5
4731 $as_echo_n "checking whether we are using the GNU C++ compiler... " >&6; }
4732 if ${ac_cv_cxx_compiler_gnu+:} false
; then :
4733 $as_echo_n "(cached) " >&6
4735 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4736 /* end confdefs.h. */
4749 if ac_fn_cxx_try_compile
"$LINENO"; then :
4754 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
4755 ac_cv_cxx_compiler_gnu
=$ac_compiler_gnu
4758 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cxx_compiler_gnu" >&5
4759 $as_echo "$ac_cv_cxx_compiler_gnu" >&6; }
4760 if test $ac_compiler_gnu = yes; then
4765 ac_test_CXXFLAGS
=${CXXFLAGS+set}
4766 ac_save_CXXFLAGS
=$CXXFLAGS
4767 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CXX accepts -g" >&5
4768 $as_echo_n "checking whether $CXX accepts -g... " >&6; }
4769 if ${ac_cv_prog_cxx_g+:} false
; then :
4770 $as_echo_n "(cached) " >&6
4772 ac_save_cxx_werror_flag
=$ac_cxx_werror_flag
4773 ac_cxx_werror_flag
=yes
4776 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4777 /* end confdefs.h. */
4787 if ac_fn_cxx_try_compile
"$LINENO"; then :
4788 ac_cv_prog_cxx_g
=yes
4791 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4792 /* end confdefs.h. */
4802 if ac_fn_cxx_try_compile
"$LINENO"; then :
4805 ac_cxx_werror_flag
=$ac_save_cxx_werror_flag
4807 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4808 /* end confdefs.h. */
4818 if ac_fn_cxx_try_compile
"$LINENO"; then :
4819 ac_cv_prog_cxx_g
=yes
4821 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
4823 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
4825 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
4826 ac_cxx_werror_flag
=$ac_save_cxx_werror_flag
4828 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cxx_g" >&5
4829 $as_echo "$ac_cv_prog_cxx_g" >&6; }
4830 if test "$ac_test_CXXFLAGS" = set; then
4831 CXXFLAGS
=$ac_save_CXXFLAGS
4832 elif test $ac_cv_prog_cxx_g = yes; then
4833 if test "$GXX" = yes; then
4839 if test "$GXX" = yes; then
4846 ac_cpp
='$CPP $CPPFLAGS'
4847 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4848 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4849 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
4851 if test -n "$ac_tool_prefix"; then
4852 # Extract the first word of "${ac_tool_prefix}cpp", so it can be a program name with args.
4853 set dummy
${ac_tool_prefix}cpp
; ac_word
=$2
4854 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4855 $as_echo_n "checking for $ac_word... " >&6; }
4856 if ${ac_cv_prog_CPPBIN+:} false
; then :
4857 $as_echo_n "(cached) " >&6
4859 if test -n "$CPPBIN"; then
4860 ac_cv_prog_CPPBIN
="$CPPBIN" # Let the user override the test.
4862 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4866 test -z "$as_dir" && as_dir
=.
4867 for ac_exec_ext
in '' $ac_executable_extensions; do
4868 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
4869 ac_cv_prog_CPPBIN
="${ac_tool_prefix}cpp"
4870 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4879 CPPBIN
=$ac_cv_prog_CPPBIN
4880 if test -n "$CPPBIN"; then
4881 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPPBIN" >&5
4882 $as_echo "$CPPBIN" >&6; }
4884 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4885 $as_echo "no" >&6; }
4890 if test -z "$ac_cv_prog_CPPBIN"; then
4891 ac_ct_CPPBIN
=$CPPBIN
4892 # Extract the first word of "cpp", so it can be a program name with args.
4893 set dummy cpp
; ac_word
=$2
4894 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4895 $as_echo_n "checking for $ac_word... " >&6; }
4896 if ${ac_cv_prog_ac_ct_CPPBIN+:} false
; then :
4897 $as_echo_n "(cached) " >&6
4899 if test -n "$ac_ct_CPPBIN"; then
4900 ac_cv_prog_ac_ct_CPPBIN
="$ac_ct_CPPBIN" # Let the user override the test.
4902 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4906 test -z "$as_dir" && as_dir
=.
4907 for ac_exec_ext
in '' $ac_executable_extensions; do
4908 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
4909 ac_cv_prog_ac_ct_CPPBIN
="cpp"
4910 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4919 ac_ct_CPPBIN
=$ac_cv_prog_ac_ct_CPPBIN
4920 if test -n "$ac_ct_CPPBIN"; then
4921 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CPPBIN" >&5
4922 $as_echo "$ac_ct_CPPBIN" >&6; }
4924 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4925 $as_echo "no" >&6; }
4928 if test "x$ac_ct_CPPBIN" = x
; then
4931 case $cross_compiling:$ac_tool_warned in
4933 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4934 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4935 ac_tool_warned
=yes ;;
4937 CPPBIN
=$ac_ct_CPPBIN
4940 CPPBIN
="$ac_cv_prog_CPPBIN"
4944 cat >>confdefs.h
<<_ACEOF
4945 #define EXEEXT "$ac_exeext"
4948 if test -n "$ac_tool_prefix"; then
4949 # Extract the first word of "${ac_tool_prefix}ld", so it can be a program name with args.
4950 set dummy
${ac_tool_prefix}ld
; ac_word
=$2
4951 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4952 $as_echo_n "checking for $ac_word... " >&6; }
4953 if ${ac_cv_prog_LD+:} false
; then :
4954 $as_echo_n "(cached) " >&6
4956 if test -n "$LD"; then
4957 ac_cv_prog_LD
="$LD" # Let the user override the test.
4959 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4963 test -z "$as_dir" && as_dir
=.
4964 for ac_exec_ext
in '' $ac_executable_extensions; do
4965 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
4966 ac_cv_prog_LD
="${ac_tool_prefix}ld"
4967 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4977 if test -n "$LD"; then
4978 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
4979 $as_echo "$LD" >&6; }
4981 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4982 $as_echo "no" >&6; }
4987 if test -z "$ac_cv_prog_LD"; then
4989 # Extract the first word of "ld", so it can be a program name with args.
4990 set dummy ld
; ac_word
=$2
4991 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4992 $as_echo_n "checking for $ac_word... " >&6; }
4993 if ${ac_cv_prog_ac_ct_LD+:} false
; then :
4994 $as_echo_n "(cached) " >&6
4996 if test -n "$ac_ct_LD"; then
4997 ac_cv_prog_ac_ct_LD
="$ac_ct_LD" # Let the user override the test.
4999 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5003 test -z "$as_dir" && as_dir
=.
5004 for ac_exec_ext
in '' $ac_executable_extensions; do
5005 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
5006 ac_cv_prog_ac_ct_LD
="ld"
5007 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5016 ac_ct_LD
=$ac_cv_prog_ac_ct_LD
5017 if test -n "$ac_ct_LD"; then
5018 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_LD" >&5
5019 $as_echo "$ac_ct_LD" >&6; }
5021 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5022 $as_echo "no" >&6; }
5025 if test "x$ac_ct_LD" = x
; then
5028 case $cross_compiling:$ac_tool_warned in
5030 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5031 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5032 ac_tool_warned
=yes ;;
5043 with_fontconfig
=${with_fontconfig:-no}
5045 *-mingw32*|
*-cygwin*)
5046 enable_win16
=${enable_win16:-no}
5047 CFLAGS
="$CFLAGS -D_WIN32"
5053 if test "x$enable_win64" != "xyes" -a "$cross_compiling" != "yes"
5057 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC works" >&5
5058 $as_echo_n "checking whether $CC works... " >&6; }
5060 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5061 /* end confdefs.h. */
5071 if ac_fn_c_try_link
"$LINENO"; then :
5072 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5073 $as_echo "yes" >&6; }
5075 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5076 $as_echo "no" >&6; }
5077 as_fn_error $?
"Cannot build a 32-bit program, you need to install 32-bit development libraries." "$LINENO" 5
5079 rm -f core conftest.err conftest.
$ac_objext \
5080 conftest
$ac_exeext conftest.
$ac_ext
5082 notice_platform
="32-bit "
5085 enable_win16
=${enable_win16:-yes}
5087 if test "x${GCC}" = "xyes"
5089 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC supports __builtin_ms_va_list" >&5
5090 $as_echo_n "checking whether $CC supports __builtin_ms_va_list... " >&6; }
5091 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5092 /* end confdefs.h. */
5097 void func(__builtin_ms_va_list *args);
5102 if ac_fn_c_try_compile
"$LINENO"; then :
5103 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5104 $as_echo "yes" >&6; }
5106 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5107 $as_echo "no" >&6; }
5108 as_fn_error $?
"You need gcc >= 4.4 or clang >= 3.8 to build Wine as 64-bit." "$LINENO" 5
5110 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
5115 notice_platform
="64-bit "
5121 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC supports Thumb" >&5
5122 $as_echo_n "checking whether $CC supports Thumb... " >&6; }
5123 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5124 /* end confdefs.h. */
5125 int ac_test(int i) { return i; }
5129 asm(".thumb\nblx ac_test\n.arm"); if (ac_test(1)) return 1
5134 if ac_fn_c_try_link
"$LINENO"; then :
5135 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5136 $as_echo "yes" >&6; }
5138 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5139 $as_echo "no" >&6; }
5140 as_fn_error $?
"You need a target with Thumb support to build Wine for ARM." "$LINENO" 5
5142 rm -f core conftest.err conftest.
$ac_objext \
5143 conftest
$ac_exeext conftest.
$ac_ext
5144 CFLAGS
="$CFLAGS -marm"
5149 enable_win16
=${enable_win16:-yes}
5153 enable_win16
=${enable_win16:-no}
5154 enable_win64
=${enable_win64:-no}
5156 enable_winetest
=${enable_winetest:-$enable_tests}
5158 if test -n "$with_wine64"
5160 if test "x$enable_win64" = "xyes"
5162 as_fn_error $?
"--enable-win64 and --with-wine64 are mutually exclusive.
5163 --enable-win64 should be used in the 64-bit build tree, --with-wine64 in the 32-bit Wow64 build tree." "$LINENO" 5
5165 test "$srcdir" != . || as_fn_error $?
"--with-wine64 cannot be used when building inside the source tree.
5166 You should create a separate build directory and run configure from there." "$LINENO" 5
5167 enable_fonts
=${enable_fonts:-no}
5168 enable_server
=${enable_server:-no}
5169 elif test "x$enable_win64" = "xyes"
5171 test "x$libdir" != "x\${exec_prefix}/lib" || libdir
="\${exec_prefix}/lib64"
5174 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for the directory containing the Wine tools" >&5
5175 $as_echo_n "checking for the directory containing the Wine tools... " >&6; }
5176 if ${wine_cv_toolsdir+:} false
; then :
5177 $as_echo_n "(cached) " >&6
5179 wine_cv_toolsdir
="$with_wine_tools"
5180 if test -z "$with_wine_tools"; then
5181 if test "$cross_compiling" = "yes"; then
5182 as_fn_error $?
"you must use the --with-wine-tools option when cross-compiling." "$LINENO" 5
5183 elif test -n "$with_wine64"; then
5184 wine_cv_toolsdir
="$with_wine64"
5187 if test -z "$wine_cv_toolsdir"; then
5188 wine_makedep
=tools
/makedep
5189 wine_cv_toolsdir
="\$(top_builddir)"
5190 elif test -d "$wine_cv_toolsdir/tools/winebuild"; then
5191 wine_makedep
=$wine_cv_toolsdir/tools
/makedep
5192 case "$wine_cv_toolsdir" in
5194 *) wine_cv_toolsdir
="\$(top_builddir)/$wine_cv_toolsdir" ;;
5196 enable_tools
=${enable_tools:-no}
5197 test -f "$wine_makedep" || as_fn_error $?
"the Wine tools have not yet been built in $wine_cv_toolsdir" "$LINENO" 5
5199 as_fn_error $?
"could not find Wine tools in $wine_cv_toolsdir" "$LINENO" 5
5202 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_toolsdir" >&5
5203 $as_echo "$wine_cv_toolsdir" >&6; }
5204 TOOLSDIR
=$wine_cv_toolsdir
5206 if test -n "$host_alias" -a "$host_alias" != "$build_alias"
5208 TARGETFLAGS
="-b $host_alias $TARGETFLAGS"
5214 # Extract the first word of "$ac_prog", so it can be a program name with args.
5215 set dummy
$ac_prog; ac_word
=$2
5216 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5217 $as_echo_n "checking for $ac_word... " >&6; }
5218 if ${ac_cv_prog_FLEX+:} false
; then :
5219 $as_echo_n "(cached) " >&6
5221 if test -n "$FLEX"; then
5222 ac_cv_prog_FLEX
="$FLEX" # Let the user override the test.
5224 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5228 test -z "$as_dir" && as_dir
=.
5229 for ac_exec_ext
in '' $ac_executable_extensions; do
5230 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
5231 ac_cv_prog_FLEX
="$ac_prog"
5232 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5241 FLEX
=$ac_cv_prog_FLEX
5242 if test -n "$FLEX"; then
5243 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $FLEX" >&5
5244 $as_echo "$FLEX" >&6; }
5246 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5247 $as_echo "no" >&6; }
5251 test -n "$FLEX" && break
5253 test -n "$FLEX" || FLEX
="none"
5255 if test "$FLEX" = "none"
5257 as_fn_error $?
"no suitable flex found. Please install the 'flex' package." "$LINENO" 5
5259 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether flex is recent enough" >&5
5260 $as_echo_n "checking whether flex is recent enough... " >&6; }
5261 cat >conftest.l
<<EOF
5263 #include "prediluvian.h"
5267 if $FLEX -t conftest.l
>/dev
/null
2>&5
5269 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5270 $as_echo "yes" >&6; }
5272 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5273 $as_echo "no" >&6; }
5274 as_fn_error $?
"Your flex version is too old. Please install flex version 2.5.33 or newer." "$LINENO" 5
5277 for ac_prog
in bison
5279 # Extract the first word of "$ac_prog", so it can be a program name with args.
5280 set dummy
$ac_prog; ac_word
=$2
5281 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5282 $as_echo_n "checking for $ac_word... " >&6; }
5283 if ${ac_cv_prog_BISON+:} false
; then :
5284 $as_echo_n "(cached) " >&6
5286 if test -n "$BISON"; then
5287 ac_cv_prog_BISON
="$BISON" # Let the user override the test.
5289 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5293 test -z "$as_dir" && as_dir
=.
5294 for ac_exec_ext
in '' $ac_executable_extensions; do
5295 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
5296 ac_cv_prog_BISON
="$ac_prog"
5297 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5306 BISON
=$ac_cv_prog_BISON
5307 if test -n "$BISON"; then
5308 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $BISON" >&5
5309 $as_echo "$BISON" >&6; }
5311 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5312 $as_echo "no" >&6; }
5316 test -n "$BISON" && break
5318 test -n "$BISON" || BISON
="none"
5320 if test "$BISON" = "none"
5322 as_fn_error $?
"no suitable bison found. Please install the 'bison' package." "$LINENO" 5
5325 if test -n "$ac_tool_prefix"; then
5326 for ac_prog
in ar gar
5328 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
5329 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
5330 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5331 $as_echo_n "checking for $ac_word... " >&6; }
5332 if ${ac_cv_prog_AR+:} false
; then :
5333 $as_echo_n "(cached) " >&6
5335 if test -n "$AR"; then
5336 ac_cv_prog_AR
="$AR" # Let the user override the test.
5338 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5342 test -z "$as_dir" && as_dir
=.
5343 for ac_exec_ext
in '' $ac_executable_extensions; do
5344 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
5345 ac_cv_prog_AR
="$ac_tool_prefix$ac_prog"
5346 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5356 if test -n "$AR"; then
5357 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
5358 $as_echo "$AR" >&6; }
5360 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5361 $as_echo "no" >&6; }
5365 test -n "$AR" && break
5368 if test -z "$AR"; then
5370 for ac_prog
in ar gar
5372 # Extract the first word of "$ac_prog", so it can be a program name with args.
5373 set dummy
$ac_prog; ac_word
=$2
5374 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5375 $as_echo_n "checking for $ac_word... " >&6; }
5376 if ${ac_cv_prog_ac_ct_AR+:} false
; then :
5377 $as_echo_n "(cached) " >&6
5379 if test -n "$ac_ct_AR"; then
5380 ac_cv_prog_ac_ct_AR
="$ac_ct_AR" # Let the user override the test.
5382 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5386 test -z "$as_dir" && as_dir
=.
5387 for ac_exec_ext
in '' $ac_executable_extensions; do
5388 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
5389 ac_cv_prog_ac_ct_AR
="$ac_prog"
5390 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5399 ac_ct_AR
=$ac_cv_prog_ac_ct_AR
5400 if test -n "$ac_ct_AR"; then
5401 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5
5402 $as_echo "$ac_ct_AR" >&6; }
5404 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5405 $as_echo "no" >&6; }
5409 test -n "$ac_ct_AR" && break
5412 if test "x$ac_ct_AR" = x
; then
5415 case $cross_compiling:$ac_tool_warned in
5417 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5418 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5419 ac_tool_warned
=yes ;;
5425 if test -n "$ac_tool_prefix"; then
5426 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
5427 set dummy
${ac_tool_prefix}strip
; ac_word
=$2
5428 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5429 $as_echo_n "checking for $ac_word... " >&6; }
5430 if ${ac_cv_prog_STRIP+:} false
; then :
5431 $as_echo_n "(cached) " >&6
5433 if test -n "$STRIP"; then
5434 ac_cv_prog_STRIP
="$STRIP" # Let the user override the test.
5436 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5440 test -z "$as_dir" && as_dir
=.
5441 for ac_exec_ext
in '' $ac_executable_extensions; do
5442 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
5443 ac_cv_prog_STRIP
="${ac_tool_prefix}strip"
5444 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5453 STRIP
=$ac_cv_prog_STRIP
5454 if test -n "$STRIP"; then
5455 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
5456 $as_echo "$STRIP" >&6; }
5458 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5459 $as_echo "no" >&6; }
5464 if test -z "$ac_cv_prog_STRIP"; then
5466 # Extract the first word of "strip", so it can be a program name with args.
5467 set dummy strip
; ac_word
=$2
5468 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5469 $as_echo_n "checking for $ac_word... " >&6; }
5470 if ${ac_cv_prog_ac_ct_STRIP+:} false
; then :
5471 $as_echo_n "(cached) " >&6
5473 if test -n "$ac_ct_STRIP"; then
5474 ac_cv_prog_ac_ct_STRIP
="$ac_ct_STRIP" # Let the user override the test.
5476 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5480 test -z "$as_dir" && as_dir
=.
5481 for ac_exec_ext
in '' $ac_executable_extensions; do
5482 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
5483 ac_cv_prog_ac_ct_STRIP
="strip"
5484 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5493 ac_ct_STRIP
=$ac_cv_prog_ac_ct_STRIP
5494 if test -n "$ac_ct_STRIP"; then
5495 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
5496 $as_echo "$ac_ct_STRIP" >&6; }
5498 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5499 $as_echo "no" >&6; }
5502 if test "x$ac_ct_STRIP" = x
; then
5505 case $cross_compiling:$ac_tool_warned in
5507 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5508 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5509 ac_tool_warned
=yes ;;
5514 STRIP
="$ac_cv_prog_STRIP"
5519 if test -n "$ac_tool_prefix"; then
5520 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
5521 set dummy
${ac_tool_prefix}ranlib
; ac_word
=$2
5522 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5523 $as_echo_n "checking for $ac_word... " >&6; }
5524 if ${ac_cv_prog_RANLIB+:} false
; then :
5525 $as_echo_n "(cached) " >&6
5527 if test -n "$RANLIB"; then
5528 ac_cv_prog_RANLIB
="$RANLIB" # Let the user override the test.
5530 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5534 test -z "$as_dir" && as_dir
=.
5535 for ac_exec_ext
in '' $ac_executable_extensions; do
5536 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
5537 ac_cv_prog_RANLIB
="${ac_tool_prefix}ranlib"
5538 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5547 RANLIB
=$ac_cv_prog_RANLIB
5548 if test -n "$RANLIB"; then
5549 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
5550 $as_echo "$RANLIB" >&6; }
5552 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5553 $as_echo "no" >&6; }
5558 if test -z "$ac_cv_prog_RANLIB"; then
5559 ac_ct_RANLIB
=$RANLIB
5560 # Extract the first word of "ranlib", so it can be a program name with args.
5561 set dummy ranlib
; ac_word
=$2
5562 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5563 $as_echo_n "checking for $ac_word... " >&6; }
5564 if ${ac_cv_prog_ac_ct_RANLIB+:} false
; then :
5565 $as_echo_n "(cached) " >&6
5567 if test -n "$ac_ct_RANLIB"; then
5568 ac_cv_prog_ac_ct_RANLIB
="$ac_ct_RANLIB" # Let the user override the test.
5570 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5574 test -z "$as_dir" && as_dir
=.
5575 for ac_exec_ext
in '' $ac_executable_extensions; do
5576 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
5577 ac_cv_prog_ac_ct_RANLIB
="ranlib"
5578 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5587 ac_ct_RANLIB
=$ac_cv_prog_ac_ct_RANLIB
5588 if test -n "$ac_ct_RANLIB"; then
5589 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
5590 $as_echo "$ac_ct_RANLIB" >&6; }
5592 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5593 $as_echo "no" >&6; }
5596 if test "x$ac_ct_RANLIB" = x
; then
5599 case $cross_compiling:$ac_tool_warned in
5601 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5602 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5603 ac_tool_warned
=yes ;;
5605 RANLIB
=$ac_ct_RANLIB
5608 RANLIB
="$ac_cv_prog_RANLIB"
5611 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5
5612 $as_echo_n "checking whether ln -s works... " >&6; }
5614 if test "$LN_S" = "ln -s"; then
5615 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5616 $as_echo "yes" >&6; }
5618 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5
5619 $as_echo "no, using $LN_S" >&6; }
5622 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
5623 $as_echo_n "checking for grep that handles long lines and -e... " >&6; }
5624 if ${ac_cv_path_GREP+:} false
; then :
5625 $as_echo_n "(cached) " >&6
5627 if test -z "$GREP"; then
5628 ac_path_GREP_found
=false
5629 # Loop through the user's path and test for each of PROGNAME-LIST
5630 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5631 for as_dir
in $PATH$PATH_SEPARATOR/usr
/xpg
4/bin
5634 test -z "$as_dir" && as_dir
=.
5635 for ac_prog
in grep ggrep
; do
5636 for ac_exec_ext
in '' $ac_executable_extensions; do
5637 ac_path_GREP
="$as_dir/$ac_prog$ac_exec_ext"
5638 as_fn_executable_p
"$ac_path_GREP" ||
continue
5639 # Check for GNU ac_path_GREP and select it if it is found.
5640 # Check for GNU $ac_path_GREP
5641 case `"$ac_path_GREP" --version 2>&1` in
5643 ac_cv_path_GREP
="$ac_path_GREP" ac_path_GREP_found
=:;;
5646 $as_echo_n 0123456789 >"conftest.in"
5649 cat "conftest.in" "conftest.in" >"conftest.tmp"
5650 mv "conftest.tmp" "conftest.in"
5651 cp "conftest.in" "conftest.nl"
5652 $as_echo 'GREP' >> "conftest.nl"
5653 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev
/null ||
break
5654 diff "conftest.out" "conftest.nl" >/dev
/null
2>&1 ||
break
5655 as_fn_arith
$ac_count + 1 && ac_count
=$as_val
5656 if test $ac_count -gt ${ac_path_GREP_max-0}; then
5657 # Best one so far, save it but keep looking for a better one
5658 ac_cv_path_GREP
="$ac_path_GREP"
5659 ac_path_GREP_max
=$ac_count
5661 # 10*(2^10) chars as input seems more than enough
5662 test $ac_count -gt 10 && break
5664 rm -f conftest.
in conftest.tmp conftest.
nl conftest.out
;;
5667 $ac_path_GREP_found && break 3
5672 if test -z "$ac_cv_path_GREP"; then
5673 as_fn_error $?
"no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
5676 ac_cv_path_GREP
=$GREP
5680 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
5681 $as_echo "$ac_cv_path_GREP" >&6; }
5682 GREP
="$ac_cv_path_GREP"
5685 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
5686 $as_echo_n "checking for egrep... " >&6; }
5687 if ${ac_cv_path_EGREP+:} false
; then :
5688 $as_echo_n "(cached) " >&6
5690 if echo a |
$GREP -E '(a|b)' >/dev
/null
2>&1
5691 then ac_cv_path_EGREP
="$GREP -E"
5693 if test -z "$EGREP"; then
5694 ac_path_EGREP_found
=false
5695 # Loop through the user's path and test for each of PROGNAME-LIST
5696 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5697 for as_dir
in $PATH$PATH_SEPARATOR/usr
/xpg
4/bin
5700 test -z "$as_dir" && as_dir
=.
5701 for ac_prog
in egrep; do
5702 for ac_exec_ext
in '' $ac_executable_extensions; do
5703 ac_path_EGREP
="$as_dir/$ac_prog$ac_exec_ext"
5704 as_fn_executable_p
"$ac_path_EGREP" ||
continue
5705 # Check for GNU ac_path_EGREP and select it if it is found.
5706 # Check for GNU $ac_path_EGREP
5707 case `"$ac_path_EGREP" --version 2>&1` in
5709 ac_cv_path_EGREP
="$ac_path_EGREP" ac_path_EGREP_found
=:;;
5712 $as_echo_n 0123456789 >"conftest.in"
5715 cat "conftest.in" "conftest.in" >"conftest.tmp"
5716 mv "conftest.tmp" "conftest.in"
5717 cp "conftest.in" "conftest.nl"
5718 $as_echo 'EGREP' >> "conftest.nl"
5719 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev
/null ||
break
5720 diff "conftest.out" "conftest.nl" >/dev
/null
2>&1 ||
break
5721 as_fn_arith
$ac_count + 1 && ac_count
=$as_val
5722 if test $ac_count -gt ${ac_path_EGREP_max-0}; then
5723 # Best one so far, save it but keep looking for a better one
5724 ac_cv_path_EGREP
="$ac_path_EGREP"
5725 ac_path_EGREP_max
=$ac_count
5727 # 10*(2^10) chars as input seems more than enough
5728 test $ac_count -gt 10 && break
5730 rm -f conftest.
in conftest.tmp conftest.
nl conftest.out
;;
5733 $ac_path_EGREP_found && break 3
5738 if test -z "$ac_cv_path_EGREP"; then
5739 as_fn_error $?
"no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
5742 ac_cv_path_EGREP
=$EGREP
5747 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
5748 $as_echo "$ac_cv_path_EGREP" >&6; }
5749 EGREP
="$ac_cv_path_EGREP"
5752 # Extract the first word of "ldconfig", so it can be a program name with args.
5753 set dummy ldconfig
; ac_word
=$2
5754 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5755 $as_echo_n "checking for $ac_word... " >&6; }
5756 if ${ac_cv_path_LDCONFIG+:} false
; then :
5757 $as_echo_n "(cached) " >&6
5761 ac_cv_path_LDCONFIG
="$LDCONFIG" # Let the user override the test with a path.
5764 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5765 for as_dir
in /sbin
/usr
/sbin
$PATH
5768 test -z "$as_dir" && as_dir
=.
5769 for ac_exec_ext
in '' $ac_executable_extensions; do
5770 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
5771 ac_cv_path_LDCONFIG
="$as_dir/$ac_word$ac_exec_ext"
5772 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5779 test -z "$ac_cv_path_LDCONFIG" && ac_cv_path_LDCONFIG
="true"
5783 LDCONFIG
=$ac_cv_path_LDCONFIG
5784 if test -n "$LDCONFIG"; then
5785 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LDCONFIG" >&5
5786 $as_echo "$LDCONFIG" >&6; }
5788 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5789 $as_echo "no" >&6; }
5793 for ac_prog
in msgfmt
5795 # Extract the first word of "$ac_prog", so it can be a program name with args.
5796 set dummy
$ac_prog; ac_word
=$2
5797 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5798 $as_echo_n "checking for $ac_word... " >&6; }
5799 if ${ac_cv_prog_MSGFMT+:} false
; then :
5800 $as_echo_n "(cached) " >&6
5802 if test -n "$MSGFMT"; then
5803 ac_cv_prog_MSGFMT
="$MSGFMT" # Let the user override the test.
5805 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5809 test -z "$as_dir" && as_dir
=.
5810 for ac_exec_ext
in '' $ac_executable_extensions; do
5811 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
5812 ac_cv_prog_MSGFMT
="$ac_prog"
5813 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5822 MSGFMT
=$ac_cv_prog_MSGFMT
5823 if test -n "$MSGFMT"; then
5824 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MSGFMT" >&5
5825 $as_echo "$MSGFMT" >&6; }
5827 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5828 $as_echo "no" >&6; }
5832 test -n "$MSGFMT" && break
5834 test -n "$MSGFMT" || MSGFMT
="false"
5836 if ${ac_tool_prefix+:} false
; then :
5837 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
5838 set dummy
${ac_tool_prefix}pkg-config
; ac_word
=$2
5839 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5840 $as_echo_n "checking for $ac_word... " >&6; }
5841 if ${ac_cv_prog_PKG_CONFIG+:} false
; then :
5842 $as_echo_n "(cached) " >&6
5844 if test -n "$PKG_CONFIG"; then
5845 ac_cv_prog_PKG_CONFIG
="$PKG_CONFIG" # Let the user override the test.
5847 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5851 test -z "$as_dir" && as_dir
=.
5852 for ac_exec_ext
in '' $ac_executable_extensions; do
5853 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
5854 ac_cv_prog_PKG_CONFIG
="${ac_tool_prefix}pkg-config"
5855 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5864 PKG_CONFIG
=$ac_cv_prog_PKG_CONFIG
5865 if test -n "$PKG_CONFIG"; then
5866 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
5867 $as_echo "$PKG_CONFIG" >&6; }
5869 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5870 $as_echo "no" >&6; }
5875 if ${ac_cv_prog_PKG_CONFIG:+false} :; then :
5876 if test "x$cross_compiling" = xyes
; then :
5879 { ac_cv_prog_PKG_CONFIG
=; unset ac_cv_prog_PKG_CONFIG
;}
5880 # Extract the first word of "pkg-config", so it can be a program name with args.
5881 set dummy pkg-config
; ac_word
=$2
5882 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5883 $as_echo_n "checking for $ac_word... " >&6; }
5884 if ${ac_cv_prog_PKG_CONFIG+:} false
; then :
5885 $as_echo_n "(cached) " >&6
5887 if test -n "$PKG_CONFIG"; then
5888 ac_cv_prog_PKG_CONFIG
="$PKG_CONFIG" # Let the user override the test.
5890 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5894 test -z "$as_dir" && as_dir
=.
5895 for ac_exec_ext
in '' $ac_executable_extensions; do
5896 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
5897 ac_cv_prog_PKG_CONFIG
="pkg-config"
5898 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5907 PKG_CONFIG
=$ac_cv_prog_PKG_CONFIG
5908 if test -n "$PKG_CONFIG"; then
5909 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
5910 $as_echo "$PKG_CONFIG" >&6; }
5912 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5913 $as_echo "no" >&6; }
5919 PKG_CONFIG
=$ac_cv_prog_PKG_CONFIG
5922 if test "x$enable_maintainer_mode" != "xyes"
5929 test "$srcdir" = . || as_fn_error $?
"Maintainer mode cannot work out of tree." "$LINENO" 5
5930 for ac_prog
in fontforge
5932 # Extract the first word of "$ac_prog", so it can be a program name with args.
5933 set dummy
$ac_prog; ac_word
=$2
5934 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5935 $as_echo_n "checking for $ac_word... " >&6; }
5936 if ${ac_cv_prog_FONTFORGE+:} false
; then :
5937 $as_echo_n "(cached) " >&6
5939 if test -n "$FONTFORGE"; then
5940 ac_cv_prog_FONTFORGE
="$FONTFORGE" # Let the user override the test.
5942 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5946 test -z "$as_dir" && as_dir
=.
5947 for ac_exec_ext
in '' $ac_executable_extensions; do
5948 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
5949 ac_cv_prog_FONTFORGE
="$ac_prog"
5950 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5959 FONTFORGE
=$ac_cv_prog_FONTFORGE
5960 if test -n "$FONTFORGE"; then
5961 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $FONTFORGE" >&5
5962 $as_echo "$FONTFORGE" >&6; }
5964 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5965 $as_echo "no" >&6; }
5969 test -n "$FONTFORGE" && break
5971 test -n "$FONTFORGE" || FONTFORGE
="false"
5973 for ac_prog
in rsvg-convert rsvg
5975 # Extract the first word of "$ac_prog", so it can be a program name with args.
5976 set dummy
$ac_prog; ac_word
=$2
5977 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5978 $as_echo_n "checking for $ac_word... " >&6; }
5979 if ${ac_cv_prog_RSVG+:} false
; then :
5980 $as_echo_n "(cached) " >&6
5982 if test -n "$RSVG"; then
5983 ac_cv_prog_RSVG
="$RSVG" # Let the user override the test.
5985 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5989 test -z "$as_dir" && as_dir
=.
5990 for ac_exec_ext
in '' $ac_executable_extensions; do
5991 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
5992 ac_cv_prog_RSVG
="$ac_prog"
5993 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6002 RSVG
=$ac_cv_prog_RSVG
6003 if test -n "$RSVG"; then
6004 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RSVG" >&5
6005 $as_echo "$RSVG" >&6; }
6007 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6008 $as_echo "no" >&6; }
6012 test -n "$RSVG" && break
6014 test -n "$RSVG" || RSVG
="false"
6016 for ac_prog
in convert
6018 # Extract the first word of "$ac_prog", so it can be a program name with args.
6019 set dummy
$ac_prog; ac_word
=$2
6020 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6021 $as_echo_n "checking for $ac_word... " >&6; }
6022 if ${ac_cv_prog_CONVERT+:} false
; then :
6023 $as_echo_n "(cached) " >&6
6025 if test -n "$CONVERT"; then
6026 ac_cv_prog_CONVERT
="$CONVERT" # Let the user override the test.
6028 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6032 test -z "$as_dir" && as_dir
=.
6033 for ac_exec_ext
in '' $ac_executable_extensions; do
6034 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
6035 ac_cv_prog_CONVERT
="$ac_prog"
6036 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6045 CONVERT
=$ac_cv_prog_CONVERT
6046 if test -n "$CONVERT"; then
6047 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CONVERT" >&5
6048 $as_echo "$CONVERT" >&6; }
6050 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6051 $as_echo "no" >&6; }
6055 test -n "$CONVERT" && break
6057 test -n "$CONVERT" || CONVERT
="false"
6059 for ac_prog
in icotool
6061 # Extract the first word of "$ac_prog", so it can be a program name with args.
6062 set dummy
$ac_prog; ac_word
=$2
6063 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6064 $as_echo_n "checking for $ac_word... " >&6; }
6065 if ${ac_cv_prog_ICOTOOL+:} false
; then :
6066 $as_echo_n "(cached) " >&6
6068 if test -n "$ICOTOOL"; then
6069 ac_cv_prog_ICOTOOL
="$ICOTOOL" # Let the user override the test.
6071 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6075 test -z "$as_dir" && as_dir
=.
6076 for ac_exec_ext
in '' $ac_executable_extensions; do
6077 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
6078 ac_cv_prog_ICOTOOL
="$ac_prog"
6079 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6088 ICOTOOL
=$ac_cv_prog_ICOTOOL
6089 if test -n "$ICOTOOL"; then
6090 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ICOTOOL" >&5
6091 $as_echo "$ICOTOOL" >&6; }
6093 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6094 $as_echo "no" >&6; }
6098 test -n "$ICOTOOL" && break
6100 test -n "$ICOTOOL" || ICOTOOL
="false"
6102 test "$FONTFORGE" != "false" || as_fn_error $?
"You need fontforge to rebuild fonts in maintainer mode." "$LINENO" 5
6103 test "$RSVG" != "false" || as_fn_error $?
"You need rsvg to rebuild icons in maintainer mode." "$LINENO" 5
6105 if test "$CONVERT" = false
6107 as_fn_error $?
"You need imagemagick to rebuild icons in maintainer mode." "$LINENO" 5
6109 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for recent enough imagemagick" >&5
6110 $as_echo_n "checking for recent enough imagemagick... " >&6; }
6111 convert_version
=`convert --version | head -n1`
6112 if test "x$convert_version" != "x"
6114 convert_version_major
=`expr "$convert_version" : '.* \([0-9]*\)\.[0-9]*'`
6115 convert_version_minor
=`expr "$convert_version" : '.* [0-9]*\.\([0-9]*\)'`
6116 if test "$convert_version_major" -eq 6 -a "$convert_version_minor" -lt 6
6121 if test "$CONVERT" = false
6123 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no ($convert_version_major.$convert_version_minor)" >&5
6124 $as_echo "no ($convert_version_major.$convert_version_minor)" >&6; }
6125 as_fn_error $?
"You need imagemagick version 6.6 or newer to rebuild icons in maintainer mode." "$LINENO" 5
6127 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes ($convert_version_major.$convert_version_minor)" >&5
6128 $as_echo "yes ($convert_version_major.$convert_version_minor)" >&6; }
6132 if test "$ICOTOOL" = false
6134 as_fn_error $?
"You need icotool to rebuild icons in maintainer mode." "$LINENO" 5
6136 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for recent enough icotool" >&5
6137 $as_echo_n "checking for recent enough icotool... " >&6; }
6138 icotool_version
=`icotool --version | head -n1`
6139 if test "x$icotool_version" != "x"
6141 icotool_version_major
=`expr "$icotool_version" : '.* \([0-9]*\)\.[0-9]*'`
6142 icotool_version_minor
=`expr "$icotool_version" : '.* [0-9]*\.\([0-9]*\)'`
6143 if test "$icotool_version_major" -eq 0 -a "$icotool_version_minor" -lt 29
6146 as_fn_append wine_warnings
"|icotool version 0.29.0 or newer is needed to rebuild icons."
6149 if test "$ICOTOOL" = false
6151 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no ($icotool_version_major.$icotool_version_minor)" >&5
6152 $as_echo "no ($icotool_version_major.$icotool_version_minor)" >&6; }
6153 as_fn_error $?
"You need icotool version 0.29.0 or newer to rebuild icons in maintainer mode." "$LINENO" 5
6155 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes ($icotool_version_major.$icotool_version_minor)" >&5
6156 $as_echo "yes ($icotool_version_major.$icotool_version_minor)" >&6; }
6162 { ac_cv_header_gettext_po_h
=; unset ac_cv_header_gettext_po_h
;}
6165 test "x$with_gettext" != xno || MSGFMT
=false
6166 if test "$MSGFMT" != "false"
6168 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether msgfmt supports contexts" >&5
6169 $as_echo_n "checking whether msgfmt supports contexts... " >&6; }
6170 cat >conftest.po
<<EOF
6176 if $MSGFMT -o /dev
/null conftest.po
2>&5
6178 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
6179 $as_echo "yes" >&6; }
6181 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6182 $as_echo "no" >&6; }
6186 if test "$MSGFMT" = false
; then :
6187 case "x$with_gettext" in
6188 x
) as_fn_append wine_warnings
"|gettext tools not found (or too old), translations won't be built." ;;
6190 *) as_fn_error $?
"gettext tools not found (or too old), translations won't be built.
6191 This is an error since --with-gettext was requested." "$LINENO" 5 ;;
6193 enable_po
=${enable_po:-no}
6197 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for i386_set_ldt in -li386" >&5
6198 $as_echo_n "checking for i386_set_ldt in -li386... " >&6; }
6199 if ${ac_cv_lib_i386_i386_set_ldt+:} false
; then :
6200 $as_echo_n "(cached) " >&6
6202 ac_check_lib_save_LIBS
=$LIBS
6204 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6205 /* end confdefs.h. */
6207 /* Override any GCC internal prototype to avoid an error.
6208 Use char because int might match the return type of a GCC
6209 builtin and then its argument prototype would still apply. */
6213 char i386_set_ldt ();
6217 return i386_set_ldt ();
6222 if ac_fn_c_try_link
"$LINENO"; then :
6223 ac_cv_lib_i386_i386_set_ldt
=yes
6225 ac_cv_lib_i386_i386_set_ldt
=no
6227 rm -f core conftest.err conftest.
$ac_objext \
6228 conftest
$ac_exeext conftest.
$ac_ext
6229 LIBS
=$ac_check_lib_save_LIBS
6231 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_i386_i386_set_ldt" >&5
6232 $as_echo "$ac_cv_lib_i386_i386_set_ldt" >&6; }
6233 if test "x$ac_cv_lib_i386_i386_set_ldt" = xyes
; then :
6234 cat >>confdefs.h
<<_ACEOF
6235 #define HAVE_LIBI386 1
6242 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _oss_ioctl in -lossaudio" >&5
6243 $as_echo_n "checking for _oss_ioctl in -lossaudio... " >&6; }
6244 if ${ac_cv_lib_ossaudio__oss_ioctl+:} false
; then :
6245 $as_echo_n "(cached) " >&6
6247 ac_check_lib_save_LIBS
=$LIBS
6248 LIBS
="-lossaudio $LIBS"
6249 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6250 /* end confdefs.h. */
6252 /* Override any GCC internal prototype to avoid an error.
6253 Use char because int might match the return type of a GCC
6254 builtin and then its argument prototype would still apply. */
6262 return _oss_ioctl ();
6267 if ac_fn_c_try_link
"$LINENO"; then :
6268 ac_cv_lib_ossaudio__oss_ioctl
=yes
6270 ac_cv_lib_ossaudio__oss_ioctl
=no
6272 rm -f core conftest.err conftest.
$ac_objext \
6273 conftest
$ac_exeext conftest.
$ac_ext
6274 LIBS
=$ac_check_lib_save_LIBS
6276 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ossaudio__oss_ioctl" >&5
6277 $as_echo "$ac_cv_lib_ossaudio__oss_ioctl" >&6; }
6278 if test "x$ac_cv_lib_ossaudio__oss_ioctl" = xyes
; then :
6279 cat >>confdefs.h
<<_ACEOF
6280 #define HAVE_LIBOSSAUDIO 1
6283 LIBS
="-lossaudio $LIBS"
6292 # Check whether --enable-largefile was given.
6293 if test "${enable_largefile+set}" = set; then :
6294 enableval
=$enable_largefile;
6297 if test "$enable_largefile" != no
; then
6299 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for special C compiler options needed for large files" >&5
6300 $as_echo_n "checking for special C compiler options needed for large files... " >&6; }
6301 if ${ac_cv_sys_largefile_CC+:} false
; then :
6302 $as_echo_n "(cached) " >&6
6304 ac_cv_sys_largefile_CC
=no
6305 if test "$GCC" != yes; then
6308 # IRIX 6.2 and later do not support large files by default,
6309 # so use the C compiler's -n32 option if that helps.
6310 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6311 /* end confdefs.h. */
6312 #include <sys/types.h>
6313 /* Check that off_t can represent 2**63 - 1 correctly.
6314 We can't simply define LARGE_OFF_T to be 9223372036854775807,
6315 since some C++ compilers masquerading as C compilers
6316 incorrectly reject 9223372036854775807. */
6317 #define LARGE_OFF_T ((((off_t) 1 << 31) << 31) - 1 + (((off_t) 1 << 31) << 31))
6318 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
6319 && LARGE_OFF_T % 2147483647 == 1)
6329 if ac_fn_c_try_compile
"$LINENO"; then :
6332 rm -f core conftest.err conftest.
$ac_objext
6334 if ac_fn_c_try_compile
"$LINENO"; then :
6335 ac_cv_sys_largefile_CC
=' -n32'; break
6337 rm -f core conftest.err conftest.
$ac_objext
6341 rm -f conftest.
$ac_ext
6344 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_largefile_CC" >&5
6345 $as_echo "$ac_cv_sys_largefile_CC" >&6; }
6346 if test "$ac_cv_sys_largefile_CC" != no
; then
6347 CC
=$CC$ac_cv_sys_largefile_CC
6350 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _FILE_OFFSET_BITS value needed for large files" >&5
6351 $as_echo_n "checking for _FILE_OFFSET_BITS value needed for large files... " >&6; }
6352 if ${ac_cv_sys_file_offset_bits+:} false
; then :
6353 $as_echo_n "(cached) " >&6
6356 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6357 /* end confdefs.h. */
6358 #include <sys/types.h>
6359 /* Check that off_t can represent 2**63 - 1 correctly.
6360 We can't simply define LARGE_OFF_T to be 9223372036854775807,
6361 since some C++ compilers masquerading as C compilers
6362 incorrectly reject 9223372036854775807. */
6363 #define LARGE_OFF_T ((((off_t) 1 << 31) << 31) - 1 + (((off_t) 1 << 31) << 31))
6364 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
6365 && LARGE_OFF_T % 2147483647 == 1)
6375 if ac_fn_c_try_compile
"$LINENO"; then :
6376 ac_cv_sys_file_offset_bits
=no
; break
6378 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
6379 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6380 /* end confdefs.h. */
6381 #define _FILE_OFFSET_BITS 64
6382 #include <sys/types.h>
6383 /* Check that off_t can represent 2**63 - 1 correctly.
6384 We can't simply define LARGE_OFF_T to be 9223372036854775807,
6385 since some C++ compilers masquerading as C compilers
6386 incorrectly reject 9223372036854775807. */
6387 #define LARGE_OFF_T ((((off_t) 1 << 31) << 31) - 1 + (((off_t) 1 << 31) << 31))
6388 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
6389 && LARGE_OFF_T % 2147483647 == 1)
6399 if ac_fn_c_try_compile
"$LINENO"; then :
6400 ac_cv_sys_file_offset_bits
=64; break
6402 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
6403 ac_cv_sys_file_offset_bits
=unknown
6407 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_file_offset_bits" >&5
6408 $as_echo "$ac_cv_sys_file_offset_bits" >&6; }
6409 case $ac_cv_sys_file_offset_bits in #(
6412 cat >>confdefs.h
<<_ACEOF
6413 #define _FILE_OFFSET_BITS $ac_cv_sys_file_offset_bits
6418 if test $ac_cv_sys_file_offset_bits = unknown
; then
6419 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _LARGE_FILES value needed for large files" >&5
6420 $as_echo_n "checking for _LARGE_FILES value needed for large files... " >&6; }
6421 if ${ac_cv_sys_large_files+:} false
; then :
6422 $as_echo_n "(cached) " >&6
6425 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6426 /* end confdefs.h. */
6427 #include <sys/types.h>
6428 /* Check that off_t can represent 2**63 - 1 correctly.
6429 We can't simply define LARGE_OFF_T to be 9223372036854775807,
6430 since some C++ compilers masquerading as C compilers
6431 incorrectly reject 9223372036854775807. */
6432 #define LARGE_OFF_T ((((off_t) 1 << 31) << 31) - 1 + (((off_t) 1 << 31) << 31))
6433 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
6434 && LARGE_OFF_T % 2147483647 == 1)
6444 if ac_fn_c_try_compile
"$LINENO"; then :
6445 ac_cv_sys_large_files
=no
; break
6447 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
6448 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6449 /* end confdefs.h. */
6450 #define _LARGE_FILES 1
6451 #include <sys/types.h>
6452 /* Check that off_t can represent 2**63 - 1 correctly.
6453 We can't simply define LARGE_OFF_T to be 9223372036854775807,
6454 since some C++ compilers masquerading as C compilers
6455 incorrectly reject 9223372036854775807. */
6456 #define LARGE_OFF_T ((((off_t) 1 << 31) << 31) - 1 + (((off_t) 1 << 31) << 31))
6457 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
6458 && LARGE_OFF_T % 2147483647 == 1)
6468 if ac_fn_c_try_compile
"$LINENO"; then :
6469 ac_cv_sys_large_files
=1; break
6471 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
6472 ac_cv_sys_large_files
=unknown
6476 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_large_files" >&5
6477 $as_echo "$ac_cv_sys_large_files" >&6; }
6478 case $ac_cv_sys_large_files in #(
6481 cat >>confdefs.h
<<_ACEOF
6482 #define _LARGE_FILES $ac_cv_sys_large_files
6494 ac_cpp
='$CPP $CPPFLAGS'
6495 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6496 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6497 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
6498 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
6499 $as_echo_n "checking how to run the C preprocessor... " >&6; }
6500 # On Suns, sometimes $CPP names a directory.
6501 if test -n "$CPP" && test -d "$CPP"; then
6504 if test -z "$CPP"; then
6505 if ${ac_cv_prog_CPP+:} false
; then :
6506 $as_echo_n "(cached) " >&6
6508 # Double quotes because CPP needs to be expanded
6509 for CPP
in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
6512 for ac_c_preproc_warn_flag
in '' yes
6514 # Use a header file that comes with gcc, so configuring glibc
6515 # with a fresh cross-compiler works.
6516 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
6517 # <limits.h> exists even on freestanding compilers.
6518 # On the NeXT, cc -E runs the code through the compiler's parser,
6519 # not just through cpp. "Syntax error" is here to catch this case.
6520 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6521 /* end confdefs.h. */
6523 # include <limits.h>
6525 # include <assert.h>
6529 if ac_fn_c_try_cpp
"$LINENO"; then :
6532 # Broken: fails on valid input.
6535 rm -f conftest.err conftest.i conftest.
$ac_ext
6537 # OK, works on sane cases. Now check whether nonexistent headers
6538 # can be detected and how.
6539 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6540 /* end confdefs.h. */
6541 #include <ac_nonexistent.h>
6543 if ac_fn_c_try_cpp
"$LINENO"; then :
6544 # Broken: success on invalid input.
6547 # Passes both tests.
6551 rm -f conftest.err conftest.i conftest.
$ac_ext
6554 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
6555 rm -f conftest.i conftest.err conftest.
$ac_ext
6556 if $ac_preproc_ok; then :
6568 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
6569 $as_echo "$CPP" >&6; }
6571 for ac_c_preproc_warn_flag
in '' yes
6573 # Use a header file that comes with gcc, so configuring glibc
6574 # with a fresh cross-compiler works.
6575 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
6576 # <limits.h> exists even on freestanding compilers.
6577 # On the NeXT, cc -E runs the code through the compiler's parser,
6578 # not just through cpp. "Syntax error" is here to catch this case.
6579 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6580 /* end confdefs.h. */
6582 # include <limits.h>
6584 # include <assert.h>
6588 if ac_fn_c_try_cpp
"$LINENO"; then :
6591 # Broken: fails on valid input.
6594 rm -f conftest.err conftest.i conftest.
$ac_ext
6596 # OK, works on sane cases. Now check whether nonexistent headers
6597 # can be detected and how.
6598 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6599 /* end confdefs.h. */
6600 #include <ac_nonexistent.h>
6602 if ac_fn_c_try_cpp
"$LINENO"; then :
6603 # Broken: success on invalid input.
6606 # Passes both tests.
6610 rm -f conftest.err conftest.i conftest.
$ac_ext
6613 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
6614 rm -f conftest.i conftest.err conftest.
$ac_ext
6615 if $ac_preproc_ok; then :
6618 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
6619 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
6620 as_fn_error $?
"C preprocessor \"$CPP\" fails sanity check
6621 See \`config.log' for more details" "$LINENO" 5; }
6625 ac_cpp
='$CPP $CPPFLAGS'
6626 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6627 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6628 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
6631 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
6632 $as_echo_n "checking for ANSI C header files... " >&6; }
6633 if ${ac_cv_header_stdc+:} false
; then :
6634 $as_echo_n "(cached) " >&6
6636 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6637 /* end confdefs.h. */
6651 if ac_fn_c_try_compile
"$LINENO"; then :
6652 ac_cv_header_stdc
=yes
6654 ac_cv_header_stdc
=no
6656 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
6658 if test $ac_cv_header_stdc = yes; then
6659 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
6660 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6661 /* end confdefs.h. */
6665 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
6666 $EGREP "memchr" >/dev
/null
2>&1; then :
6669 ac_cv_header_stdc
=no
6675 if test $ac_cv_header_stdc = yes; then
6676 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
6677 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6678 /* end confdefs.h. */
6682 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
6683 $EGREP "free" >/dev
/null
2>&1; then :
6686 ac_cv_header_stdc
=no
6692 if test $ac_cv_header_stdc = yes; then
6693 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
6694 if test "$cross_compiling" = yes; then :
6697 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6698 /* end confdefs.h. */
6701 #if ((' ' & 0x0FF) == 0x020)
6702 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
6703 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
6705 # define ISLOWER(c) \
6706 (('a' <= (c) && (c) <= 'i') \
6707 || ('j' <= (c) && (c) <= 'r') \
6708 || ('s' <= (c) && (c) <= 'z'))
6709 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
6712 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
6717 for (i = 0; i < 256; i++)
6718 if (XOR (islower (i), ISLOWER (i))
6719 || toupper (i) != TOUPPER (i))
6724 if ac_fn_c_try_run
"$LINENO"; then :
6727 ac_cv_header_stdc
=no
6729 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext \
6730 conftest.
$ac_objext conftest.beam conftest.
$ac_ext
6735 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
6736 $as_echo "$ac_cv_header_stdc" >&6; }
6737 if test $ac_cv_header_stdc = yes; then
6739 $as_echo "#define STDC_HEADERS 1" >>confdefs.h
6743 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
6744 for ac_header
in sys
/types.h sys
/stat.h stdlib.h string.h memory.h
strings.h \
6745 inttypes.h stdint.h unistd.h
6747 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
6748 ac_fn_c_check_header_compile
"$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
6750 if eval test \"x\$
"$as_ac_Header"\" = x
"yes"; then :
6751 cat >>confdefs.h
<<_ACEOF
6752 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
6762 ApplicationServices
/ApplicationServices.h \
6763 AudioToolbox
/AudioConverter.h \
6764 AudioUnit
/AudioUnit.h \
6765 AudioUnit
/AudioComponent.h \
6768 CommonCrypto
/CommonDigest.h \
6769 CoreAudio
/CoreAudio.h \
6770 CoreServices
/CoreServices.h \
6771 DiskArbitration
/DiskArbitration.h \
6773 IOKit
/hid
/IOHIDLib.h \
6776 QuickTime
/ImageCompression.h \
6777 Security
/Security.h \
6828 netinet
/in_systm.h \
6892 valgrind
/memcheck.h \
6893 valgrind
/valgrind.h \
6897 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
6898 ac_fn_c_check_header_mongrel
"$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
6899 if eval test \"x\$
"$as_ac_Header"\" = x
"yes"; then :
6900 cat >>confdefs.h
<<_ACEOF
6901 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
6908 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether sys/types.h defines makedev" >&5
6909 $as_echo_n "checking whether sys/types.h defines makedev... " >&6; }
6910 if ${ac_cv_header_sys_types_h_makedev+:} false
; then :
6911 $as_echo_n "(cached) " >&6
6913 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6914 /* end confdefs.h. */
6915 #include <sys/types.h>
6919 return makedev(0, 0);
6924 if ac_fn_c_try_link
"$LINENO"; then :
6925 ac_cv_header_sys_types_h_makedev
=yes
6927 ac_cv_header_sys_types_h_makedev
=no
6929 rm -f core conftest.err conftest.
$ac_objext \
6930 conftest
$ac_exeext conftest.
$ac_ext
6933 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_sys_types_h_makedev" >&5
6934 $as_echo "$ac_cv_header_sys_types_h_makedev" >&6; }
6936 if test $ac_cv_header_sys_types_h_makedev = no
; then
6937 ac_fn_c_check_header_mongrel
"$LINENO" "sys/mkdev.h" "ac_cv_header_sys_mkdev_h" "$ac_includes_default"
6938 if test "x$ac_cv_header_sys_mkdev_h" = xyes
; then :
6940 $as_echo "#define MAJOR_IN_MKDEV 1" >>confdefs.h
6946 if test $ac_cv_header_sys_mkdev_h = no
; then
6947 ac_fn_c_check_header_mongrel
"$LINENO" "sys/sysmacros.h" "ac_cv_header_sys_sysmacros_h" "$ac_includes_default"
6948 if test "x$ac_cv_header_sys_sysmacros_h" = xyes
; then :
6950 $as_echo "#define MAJOR_IN_SYSMACROS 1" >>confdefs.h
6958 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether stat file-mode macros are broken" >&5
6959 $as_echo_n "checking whether stat file-mode macros are broken... " >&6; }
6960 if ${ac_cv_header_stat_broken+:} false
; then :
6961 $as_echo_n "(cached) " >&6
6963 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6964 /* end confdefs.h. */
6965 #include <sys/types.h>
6966 #include <sys/stat.h>
6968 #if defined S_ISBLK && defined S_IFDIR
6969 extern char c1[S_ISBLK (S_IFDIR) ? -1 : 1];
6972 #if defined S_ISBLK && defined S_IFCHR
6973 extern char c2[S_ISBLK (S_IFCHR) ? -1 : 1];
6976 #if defined S_ISLNK && defined S_IFREG
6977 extern char c3[S_ISLNK (S_IFREG) ? -1 : 1];
6980 #if defined S_ISSOCK && defined S_IFREG
6981 extern char c4[S_ISSOCK (S_IFREG) ? -1 : 1];
6985 if ac_fn_c_try_compile
"$LINENO"; then :
6986 ac_cv_header_stat_broken
=no
6988 ac_cv_header_stat_broken
=yes
6990 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
6992 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stat_broken" >&5
6993 $as_echo "$ac_cv_header_stat_broken" >&6; }
6994 if test $ac_cv_header_stat_broken = yes; then
6996 $as_echo "#define STAT_MACROS_BROKEN 1" >>confdefs.h
7002 for ac_header
in sys
/mount.h sys
/statfs.h sys
/sysctl.h sys
/user.h sys
/vfs.h
7004 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
7005 ac_fn_c_check_header_compile
"$LINENO" "$ac_header" "$as_ac_Header" "#include <sys/types.h>
7006 #ifdef HAVE_SYS_PARAM_H
7007 # include <sys/param.h>
7010 if eval test \"x\$
"$as_ac_Header"\" = x
"yes"; then :
7011 cat >>confdefs.h
<<_ACEOF
7012 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
7027 netinet
/if_ether.h \
7028 netinet
/if_inarp.h \
7037 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
7038 ac_fn_c_check_header_compile
"$LINENO" "$ac_header" "$as_ac_Header" "#include <sys/types.h>
7039 #ifdef HAVE_SYS_SOCKET_H
7040 # include <sys/socket.h>
7042 #ifdef HAVE_SYS_SOCKETVAR_H
7043 # include <sys/socketvar.h>
7045 #ifdef HAVE_NET_ROUTE_H
7046 # include <net/route.h>
7048 #ifdef HAVE_NETINET_IN_H
7049 # include <netinet/in.h>
7051 #ifdef HAVE_NETINET_IN_SYSTM_H
7052 # include <netinet/in_systm.h>
7054 #ifdef HAVE_NET_IF_H
7055 # include <net/if.h>
7057 #ifdef HAVE_NETINET_IP_H
7058 # include <netinet/ip.h>
7061 if eval test \"x\$
"$as_ac_Header"\" = x
"yes"; then :
7062 cat >>confdefs.h
<<_ACEOF
7063 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
7071 for ac_header
in netinet
/tcp_timer.h netinet
/udp_var.h netinet
/icmp_var.h netinet
/tcp_var.h
7073 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
7074 ac_fn_c_check_header_compile
"$LINENO" "$ac_header" "$as_ac_Header" "#include <sys/types.h>
7078 #ifdef HAVE_SYS_SOCKET_H
7079 # include <sys/socket.h>
7081 #ifdef HAVE_SYS_SOCKETVAR_H
7082 # include <sys/socketvar.h>
7084 #ifdef HAVE_SYS_TIMEOUT_H
7085 # include <sys/timeout.h>
7087 #ifdef HAVE_NETINET_IN_H
7088 # include <netinet/in.h>
7090 #ifdef HAVE_NETINET_IN_SYSTM_H
7091 # include <netinet/in_systm.h>
7093 #ifdef HAVE_NETINET_IP_H
7094 # include <netinet/ip.h>
7096 #ifdef HAVE_NETINET_IP_VAR_H
7097 # include <netinet/ip_var.h>
7099 #ifdef HAVE_NETINET_IP_ICMP_H
7100 # include <netinet/ip_icmp.h>
7102 #ifdef HAVE_NETINET_UDP_H
7103 # include <netinet/udp.h>
7105 #ifdef HAVE_NETINET_TCP_H
7106 # include <netinet/tcp.h>
7108 #ifdef HAVE_NETINET_TCP_TIMER_H
7109 #include <netinet/tcp_timer.h>
7112 if eval test \"x\$
"$as_ac_Header"\" = x
"yes"; then :
7113 cat >>confdefs.h
<<_ACEOF
7114 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
7122 for ac_header
in linux
/ipx.h linux
/irda.h linux
/rtnetlink.h
7124 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
7125 ac_fn_c_check_header_compile
"$LINENO" "$ac_header" "$as_ac_Header" "#include <sys/types.h>
7126 #ifdef HAVE_ASM_TYPES_H
7127 # include <asm/types.h>
7129 #ifdef HAVE_SYS_SOCKET_H
7130 # include <sys/socket.h>
7132 #ifdef HAVE_LINUX_TYPES_H
7133 # include <linux/types.h>
7136 if eval test \"x\$
"$as_ac_Header"\" = x
"yes"; then :
7137 cat >>confdefs.h
<<_ACEOF
7138 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
7146 for ac_header
in mach-o
/dyld_images.h
7148 ac_fn_c_check_header_compile
"$LINENO" "mach-o/dyld_images.h" "ac_cv_header_mach_o_dyld_images_h" "#ifdef HAVE_STDBOOL_H
7149 # include <stdbool.h>
7151 #ifdef HAVE_STDINT_H
7152 # include <stdint.h>
7155 if test "x$ac_cv_header_mach_o_dyld_images_h" = xyes
; then :
7156 cat >>confdefs.h
<<_ACEOF
7157 #define HAVE_MACH_O_DYLD_IMAGES_H 1
7165 for ac_header
in resolv.h
7167 ac_fn_c_check_header_compile
"$LINENO" "resolv.h" "ac_cv_header_resolv_h" "#include <sys/types.h>
7168 #ifdef HAVE_SYS_SOCKET_H
7169 # include <sys/socket.h>
7171 #ifdef HAVE_NETINET_IN_H
7172 # include <netinet/in.h>
7174 #ifdef HAVE_ARPA_NAMESER_H
7175 # include <arpa/nameser.h>
7178 if test "x$ac_cv_header_resolv_h" = xyes
; then :
7179 cat >>confdefs.h
<<_ACEOF
7180 #define HAVE_RESOLV_H 1
7188 for ac_header
in ifaddrs.h
7190 ac_fn_c_check_header_compile
"$LINENO" "ifaddrs.h" "ac_cv_header_ifaddrs_h" "#include <sys/types.h>
7192 if test "x$ac_cv_header_ifaddrs_h" = xyes
; then :
7193 cat >>confdefs.h
<<_ACEOF
7194 #define HAVE_IFADDRS_H 1
7202 for ac_header
in sys
/ucontext.h
7204 ac_fn_c_check_header_compile
"$LINENO" "sys/ucontext.h" "ac_cv_header_sys_ucontext_h" "#include <signal.h>
7206 if test "x$ac_cv_header_sys_ucontext_h" = xyes
; then :
7207 cat >>confdefs.h
<<_ACEOF
7208 #define HAVE_SYS_UCONTEXT_H 1
7216 for ac_header
in sys
/thr.h
7218 ac_fn_c_check_header_compile
"$LINENO" "sys/thr.h" "ac_cv_header_sys_thr_h" "#include <sys/types.h>
7219 #ifdef HAVE_SYS_UCONTEXT_H
7220 #include <sys/ucontext.h>
7223 if test "x$ac_cv_header_sys_thr_h" = xyes
; then :
7224 cat >>confdefs.h
<<_ACEOF
7225 #define HAVE_SYS_THR_H 1
7233 for ac_header
in pthread_np.h
7235 ac_fn_c_check_header_compile
"$LINENO" "pthread_np.h" "ac_cv_header_pthread_np_h" "#ifdef HAVE_PTHREAD_H
7236 #include <pthread.h>
7239 if test "x$ac_cv_header_pthread_np_h" = xyes
; then :
7240 cat >>confdefs.h
<<_ACEOF
7241 #define HAVE_PTHREAD_NP_H 1
7249 for ac_header
in linux
/videodev.h linux
/videodev2.h libv4l1.h
7251 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
7252 ac_fn_c_check_header_compile
"$LINENO" "$ac_header" "$as_ac_Header" "#ifdef HAVE_SYS_TIME_H
7253 #include <sys/time.h>
7255 #include <sys/types.h>
7256 #ifdef HAVE_ASM_TYPES_H
7257 #include <asm/types.h>
7260 if eval test \"x\$
"$as_ac_Header"\" = x
"yes"; then :
7261 cat >>confdefs.h
<<_ACEOF
7262 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
7270 for ac_header
in libprocstat.h
7272 ac_fn_c_check_header_compile
"$LINENO" "libprocstat.h" "ac_cv_header_libprocstat_h" "#ifdef HAVE_SYS_PARAM_H
7273 #include <sys/param.h>
7275 #ifdef HAVE_SYS_QUEUE_H
7276 #include <sys/queue.h>
7278 #ifdef HAVE_SYS_SOCKET_H
7279 #include <sys/socket.h>
7282 if test "x$ac_cv_header_libprocstat_h" = xyes
; then :
7283 cat >>confdefs.h
<<_ACEOF
7284 #define HAVE_LIBPROCSTAT_H 1
7293 dlldir
="\${libdir}/wine"
7295 DLLFLAGS
="-D_REENTRANT"
7306 # Extract the first word of "ldd", so it can be a program name with args.
7307 set dummy ldd
; ac_word
=$2
7308 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7309 $as_echo_n "checking for $ac_word... " >&6; }
7310 if ${ac_cv_path_LDD+:} false
; then :
7311 $as_echo_n "(cached) " >&6
7315 ac_cv_path_LDD
="$LDD" # Let the user override the test with a path.
7318 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7319 as_dummy
="/sbin:/usr/sbin:$PATH"
7320 for as_dir
in $as_dummy
7323 test -z "$as_dir" && as_dir
=.
7324 for ac_exec_ext
in '' $ac_executable_extensions; do
7325 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
7326 ac_cv_path_LDD
="$as_dir/$ac_word$ac_exec_ext"
7327 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7334 test -z "$ac_cv_path_LDD" && ac_cv_path_LDD
="true"
7339 if test -n "$LDD"; then
7340 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LDD" >&5
7341 $as_echo "$LDD" >&6; }
7343 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7344 $as_echo "no" >&6; }
7348 if test -n "$ac_tool_prefix"; then
7349 # Extract the first word of "${ac_tool_prefix}otool", so it can be a program name with args.
7350 set dummy
${ac_tool_prefix}otool
; ac_word
=$2
7351 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7352 $as_echo_n "checking for $ac_word... " >&6; }
7353 if ${ac_cv_prog_OTOOL+:} false
; then :
7354 $as_echo_n "(cached) " >&6
7356 if test -n "$OTOOL"; then
7357 ac_cv_prog_OTOOL
="$OTOOL" # Let the user override the test.
7359 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7363 test -z "$as_dir" && as_dir
=.
7364 for ac_exec_ext
in '' $ac_executable_extensions; do
7365 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
7366 ac_cv_prog_OTOOL
="${ac_tool_prefix}otool"
7367 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7376 OTOOL
=$ac_cv_prog_OTOOL
7377 if test -n "$OTOOL"; then
7378 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL" >&5
7379 $as_echo "$OTOOL" >&6; }
7381 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7382 $as_echo "no" >&6; }
7387 if test -z "$ac_cv_prog_OTOOL"; then
7389 # Extract the first word of "otool", so it can be a program name with args.
7390 set dummy otool
; ac_word
=$2
7391 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7392 $as_echo_n "checking for $ac_word... " >&6; }
7393 if ${ac_cv_prog_ac_ct_OTOOL+:} false
; then :
7394 $as_echo_n "(cached) " >&6
7396 if test -n "$ac_ct_OTOOL"; then
7397 ac_cv_prog_ac_ct_OTOOL
="$ac_ct_OTOOL" # Let the user override the test.
7399 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7403 test -z "$as_dir" && as_dir
=.
7404 for ac_exec_ext
in '' $ac_executable_extensions; do
7405 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
7406 ac_cv_prog_ac_ct_OTOOL
="otool"
7407 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7416 ac_ct_OTOOL
=$ac_cv_prog_ac_ct_OTOOL
7417 if test -n "$ac_ct_OTOOL"; then
7418 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL" >&5
7419 $as_echo "$ac_ct_OTOOL" >&6; }
7421 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7422 $as_echo "no" >&6; }
7425 if test "x$ac_ct_OTOOL" = x
; then
7428 case $cross_compiling:$ac_tool_warned in
7430 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7431 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7432 ac_tool_warned
=yes ;;
7437 OTOOL
="$ac_cv_prog_OTOOL"
7440 if test -n "$ac_tool_prefix"; then
7441 # Extract the first word of "${ac_tool_prefix}readelf", so it can be a program name with args.
7442 set dummy
${ac_tool_prefix}readelf
; ac_word
=$2
7443 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7444 $as_echo_n "checking for $ac_word... " >&6; }
7445 if ${ac_cv_prog_READELF+:} false
; then :
7446 $as_echo_n "(cached) " >&6
7448 if test -n "$READELF"; then
7449 ac_cv_prog_READELF
="$READELF" # Let the user override the test.
7451 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7455 test -z "$as_dir" && as_dir
=.
7456 for ac_exec_ext
in '' $ac_executable_extensions; do
7457 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
7458 ac_cv_prog_READELF
="${ac_tool_prefix}readelf"
7459 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7468 READELF
=$ac_cv_prog_READELF
7469 if test -n "$READELF"; then
7470 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $READELF" >&5
7471 $as_echo "$READELF" >&6; }
7473 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7474 $as_echo "no" >&6; }
7479 if test -z "$ac_cv_prog_READELF"; then
7480 ac_ct_READELF
=$READELF
7481 # Extract the first word of "readelf", so it can be a program name with args.
7482 set dummy readelf
; ac_word
=$2
7483 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7484 $as_echo_n "checking for $ac_word... " >&6; }
7485 if ${ac_cv_prog_ac_ct_READELF+:} false
; then :
7486 $as_echo_n "(cached) " >&6
7488 if test -n "$ac_ct_READELF"; then
7489 ac_cv_prog_ac_ct_READELF
="$ac_ct_READELF" # Let the user override the test.
7491 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7495 test -z "$as_dir" && as_dir
=.
7496 for ac_exec_ext
in '' $ac_executable_extensions; do
7497 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
7498 ac_cv_prog_ac_ct_READELF
="readelf"
7499 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7508 ac_ct_READELF
=$ac_cv_prog_ac_ct_READELF
7509 if test -n "$ac_ct_READELF"; then
7510 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_READELF" >&5
7511 $as_echo "$ac_ct_READELF" >&6; }
7513 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7514 $as_echo "no" >&6; }
7517 if test "x$ac_ct_READELF" = x
; then
7520 case $cross_compiling:$ac_tool_warned in
7522 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7523 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7524 ac_tool_warned
=yes ;;
7526 READELF
=$ac_ct_READELF
7529 READELF
="$ac_cv_prog_READELF"
7532 wine_rules_file
=conf$
$rules.
make
7533 rm -f $wine_rules_file
7538 CONFIGURE_TARGETS
=""
7540 ALL_TEST_RESOURCES
=""
7543 wine_fn_append_file
()
7545 as_fn_append
$1 " \\$as_nl $2"
7548 wine_fn_append_rule
()
7550 $as_echo "$1" >>$wine_rules_file
7555 expr ",$ac_flags," : ".*,$1,.*" >/dev
/null
7558 wine_fn_all_rules
()
7560 wine_fn_append_file SUBDIRS
$ac_dir
7561 wine_fn_append_rule \
7565 @cd $ac_dir && \$(MAKE)"
7568 wine_fn_install_rules
()
7570 wine_fn_has_flag install-lib || wine_fn_has_flag install-dev ||
return
7572 wine_fn_append_rule \
7573 ".PHONY: $ac_dir/install $ac_dir/uninstall
7574 $ac_dir/install:: $ac_dir
7575 @cd $ac_dir && \$(MAKE) install
7577 @cd $ac_dir && \$(MAKE) uninstall
7578 install:: $ac_dir/install
7579 __uninstall__: $ac_dir/uninstall"
7581 if wine_fn_has_flag install-lib
7583 wine_fn_append_rule \
7584 ".PHONY: $ac_dir/install-lib
7585 $ac_dir/install-lib:: $ac_dir
7586 @cd $ac_dir && \$(MAKE) install-lib
7587 install-lib:: $ac_dir/install-lib"
7590 if wine_fn_has_flag install-dev
7592 wine_fn_append_rule \
7593 ".PHONY: $ac_dir/install-dev
7594 $ac_dir/install-dev:: $ac_dir
7595 @cd $ac_dir && \$(MAKE) install-dev
7596 install-dev:: $ac_dir/install-dev"
7600 wine_fn_clean_rules
()
7604 if wine_fn_has_flag clean
7606 wine_fn_append_rule \
7607 "$ac_dir/clean: dummy
7608 @cd $ac_dir && \$(MAKE) clean"
7610 wine_fn_append_rule \
7611 "$ac_dir/clean: dummy
7612 \$(RM) \$(CLEAN_FILES:%=$ac_dir/%) $ac_clean"
7614 wine_fn_append_rule \
7615 "__clean__: $ac_dir/clean
7616 .PHONY: $ac_dir/clean"
7619 wine_fn_disabled_rules
()
7623 wine_fn_append_file SUBDIRS
$ac_dir
7624 wine_fn_append_file DISABLED_SUBDIRS
$ac_dir
7625 wine_fn_append_rule \
7626 "__clean__: $ac_dir/clean
7627 .PHONY: $ac_dir/clean
7628 $ac_dir/clean: dummy
7629 \$(RM) \$(CLEAN_FILES:%=$ac_dir/%) $ac_clean"
7632 wine_fn_config_makefile
()
7639 fonts|server
) test -z "$with_wine64" ||
return ;;
7641 if eval test \"x\$
"$ac_enable"\" = x
"no"; then :
7642 wine_fn_disabled_rules
; return
7645 wine_fn_install_rules
7649 wine_fn_config_lib
()
7653 ac_dir
=dlls
/$ac_name
7656 if test "x$enable_tools" = xno
; then :
7659 ac_deps
="tools/widl tools/winebuild tools/winegcc $ac_deps"
7664 wine_fn_append_rule \
7665 ".PHONY: $ac_dir/install $ac_dir/uninstall
7666 $ac_dir/install:: $ac_dir
7667 \$(INSTALL_DATA) $ac_dir/lib$ac_name.a \$(DESTDIR)\$(dlldir)/lib$ac_name.a
7669 \$(RM) \$(DESTDIR)\$(dlldir)/lib$ac_name.a
7670 install install-dev:: $ac_dir/install
7671 __uninstall__: $ac_dir/uninstall
7672 __builddeps__: $ac_dir
7676 wine_fn_config_dll
()
7679 ac_dir
=dlls
/$ac_name
7682 ac_implib
=${4:-$ac_name}
7683 ac_file
=$ac_dir/lib
$ac_implib
7688 if test "x$enable_tools" = xno
; then :
7691 ac_deps
="tools/widl tools/winebuild tools/winegcc $ac_deps"
7694 *16) ac_implibflags
=" -m16" ;;
7696 *) ac_dll
=$ac_dll.dll
;;
7700 wine_fn_has_flag implib
&& ac_clean
="$ac_clean $ac_file.$IMPLIBEXT"
7701 test -n "$DLLEXT" || ac_clean
="$ac_clean $ac_dir/$ac_dll"
7703 if eval test \"x\$
"$ac_enable"\" = x
"no"; then :
7704 if test "$ac_enable" != enable_win16
7706 wine_fn_clean_rules
$ac_clean
7707 wine_fn_append_file SUBDIRS
$ac_dir
7708 wine_fn_append_file DISABLED_SUBDIRS
$ac_dir
7710 wine_fn_disabled_rules
$ac_clean
7715 wine_fn_clean_rules
$ac_clean
7716 wine_fn_append_rule \
7717 "$ac_dir: __builddeps__
7718 manpages htmlpages sgmlpages xmlpages::
7719 @cd $ac_dir && \$(MAKE) \$@
7720 .PHONY: $ac_dir/install-lib $ac_dir/uninstall
7721 install install-lib:: $ac_dir/install-lib
7722 __uninstall__: $ac_dir/uninstall"
7723 if test -n "$DLLEXT"
7725 wine_fn_append_rule \
7726 "$ac_dir/install-lib:: $ac_dir
7727 \$(INSTALL_PROGRAM) $ac_dir/$ac_dll$DLLEXT \$(DESTDIR)\$(dlldir)/$ac_dll$DLLEXT
7728 \$(INSTALL_DATA) $ac_dir/$ac_dll.fake \$(DESTDIR)\$(fakedlldir)/$ac_dll
7730 \$(RM) \$(DESTDIR)\$(dlldir)/$ac_dll$DLLEXT \$(DESTDIR)\$(fakedlldir)/$ac_dll"
7732 wine_fn_append_rule \
7733 "$ac_dir/install-lib:: $ac_dir
7734 \$(INSTALL_PROGRAM) $ac_dir/$ac_dll \$(DESTDIR)\$(dlldir)/$ac_dll
7736 \$(RM) \$(DESTDIR)\$(dlldir)/$ac_dll"
7740 if wine_fn_has_flag staticimplib
7742 wine_fn_append_rule \
7743 "__builddeps__: $ac_file.a
7744 $ac_file.a $ac_file.cross.a: $ac_deps
7746 @cd $ac_dir && \$(MAKE) lib$ac_implib.a
7747 .PHONY: $ac_dir/install-dev $ac_dir/uninstall
7748 $ac_dir/install-dev:: $ac_file.a
7749 \$(INSTALL_DATA) $ac_file.a \$(DESTDIR)\$(dlldir)/lib$ac_implib.a
7751 \$(RM) \$(DESTDIR)\$(dlldir)/lib$ac_implib.a
7752 install install-dev:: $ac_dir/install-dev
7753 __uninstall__: $ac_dir/uninstall"
7755 if test -n "$CROSSTARGET" -a -z "$ac_implibflags"
7757 wine_fn_append_rule \
7758 "__builddeps__: $ac_file.cross.a
7759 $ac_file.cross.a: dummy
7760 @cd $ac_dir && \$(MAKE) lib$ac_implib.cross.a"
7763 elif wine_fn_has_flag implib
7765 wine_fn_append_rule \
7766 "__builddeps__: $ac_file.$IMPLIBEXT
7767 $ac_file.def: $srcdir/$ac_dir/$ac_name.spec \$(WINEBUILD)
7768 \$(WINEBUILD) \$(TARGETFLAGS)$ac_implibflags -w --def -o \$@ --export $srcdir/$ac_dir/$ac_name.spec
7769 $ac_file.a: $srcdir/$ac_dir/$ac_name.spec \$(WINEBUILD)
7770 \$(WINEBUILD) \$(TARGETFLAGS)$ac_implibflags -w --implib -o \$@ --export $srcdir/$ac_dir/$ac_name.spec
7771 .PHONY: $ac_dir/install-dev $ac_dir/uninstall
7772 $ac_dir/install-dev:: $ac_file.$IMPLIBEXT
7773 \$(INSTALL_DATA) $ac_file.$IMPLIBEXT \$(DESTDIR)\$(dlldir)/lib$ac_implib.$IMPLIBEXT
7775 \$(RM) \$(DESTDIR)\$(dlldir)/lib$ac_implib.$IMPLIBEXT
7776 install install-dev:: $ac_dir/install-dev
7777 __uninstall__: $ac_dir/uninstall"
7778 if test -n "$CROSSTARGET" -a -z "$ac_implibflags"
7780 wine_fn_append_rule \
7781 "__builddeps__: $ac_file.cross.a
7782 $ac_file.cross.a: $srcdir/$ac_dir/$ac_name.spec \$(WINEBUILD)
7783 \$(WINEBUILD) \$(CROSSTARGET:%=-b %)$ac_implibflags -w --implib -o \$@ --export $srcdir/$ac_dir/$ac_name.spec"
7788 wine_fn_config_program
()
7791 ac_dir
=programs
/$ac_name
7798 *) ac_program
=$ac_program.exe
;;
7802 wine_fn_has_flag manpage
&& ac_clean
="$ac_clean $ac_dir/$ac_name.man"
7803 test -n "$DLLEXT" || ac_clean
="$ac_clean $ac_dir/$ac_program"
7805 if eval test \"x\$
"$ac_enable"\" = x
"no"; then :
7806 wine_fn_disabled_rules
$ac_clean; return
7810 wine_fn_clean_rules
$ac_clean
7811 wine_fn_append_rule
"$ac_dir: __builddeps__"
7813 wine_fn_has_flag
install ||
return
7814 wine_fn_append_rule \
7815 ".PHONY: $ac_dir/install $ac_dir/uninstall
7816 install install-lib:: $ac_dir/install
7817 __uninstall__: $ac_dir/uninstall"
7819 if test -n "$DLLEXT"
7821 wine_fn_append_rule \
7822 "$ac_dir/install:: $ac_dir
7823 \$(INSTALL_PROGRAM) $ac_dir/$ac_program$DLLEXT \$(DESTDIR)\$(dlldir)/$ac_program$DLLEXT
7824 \$(INSTALL_DATA) $ac_dir/$ac_program.fake \$(DESTDIR)\$(fakedlldir)/$ac_program
7826 \$(RM) \$(DESTDIR)\$(dlldir)/$ac_program$DLLEXT \$(DESTDIR)\$(fakedlldir)/$ac_program"
7828 if test -z "$with_wine64" && wine_fn_has_flag installbin
7830 wine_fn_append_rule \
7831 "$ac_dir/install:: __tooldeps__
7832 \$(INSTALL_SCRIPT) \$(TOOLSDIR)/tools/wineapploader \$(DESTDIR)\$(bindir)/$ac_name
7834 \$(RM) \$(DESTDIR)\$(bindir)/$ac_name"
7837 wine_fn_append_rule \
7838 "$ac_dir/install:: $ac_dir
7839 \$(INSTALL_PROGRAM) $ac_dir/$ac_program \$(DESTDIR)\$(bindir)/$ac_program
7841 \$(RM) \$(DESTDIR)\$(bindir)/$ac_program"
7844 if test -z "$with_wine64" && wine_fn_has_flag manpage
7846 wine_fn_append_rule \
7847 "$ac_dir/install:: $ac_dir
7848 \$(INSTALL_DATA) $ac_dir/$ac_name.man \$(DESTDIR)\$(mandir)/man\$(prog_manext)/$ac_name.\$(prog_manext)
7850 \$(RM) \$(DESTDIR)\$(mandir)/man\$(prog_manext)/$ac_name.\$(prog_manext)"
7854 wine_fn_config_test
()
7861 test -n "$CROSSTARGET" && ac_clean
=`expr $ac_dir/${ac_name} : "\\(.*\\)_test"`_crosstest.exe
7862 test -n "$DLLEXT" || ac_clean
="$ac_dir/${ac_name}.exe $ac_dir/${ac_name}-stripped.exe"
7864 if test "x$enable_tests" = xno
; then :
7865 wine_fn_disabled_rules
$ac_clean; return
7868 wine_fn_append_file ALL_TEST_RESOURCES
$ac_name.res
7870 wine_fn_clean_rules
$ac_clean
7872 wine_fn_append_rule \
7873 "$ac_dir: __builddeps__
7874 programs/winetest: $ac_dir
7875 check test: $ac_dir/test
7876 .PHONY: $ac_dir/test
7878 @cd $ac_dir && \$(MAKE) test
7880 \$(RM) $ac_dir/*.ok"
7882 if test -n "$CROSSTARGET"
7884 wine_fn_append_rule \
7885 "crosstest: $ac_dir/crosstest
7886 .PHONY: $ac_dir/crosstest
7887 $ac_dir/crosstest: __builddeps__ dummy
7888 @cd $ac_dir && \$(MAKE) crosstest"
7892 wine_fn_config_tool
()
7896 if test "x$enable_tools" = xno
; then :
7897 wine_fn_append_file DISABLED_SUBDIRS
$ac_dir; return
7901 wine_fn_install_rules
7904 wine_fn_append_rule
"__tooldeps__: $ac_dir"
7905 wine_fn_append_rule
"$ac_dir: libs/port"
7907 tools
/winebuild
) wine_fn_append_rule
"\$(WINEBUILD): $ac_dir" ;;
7911 wine_fn_config_symlink
()
7914 if test "x$1" = "x-d"
7920 wine_fn_append_rule \
7922 @./config.status \$@"
7923 for f
in $ac_links; do wine_fn_append_file CONFIGURE_TARGETS
$f; done
7924 test -n "$ac_linkdir" ||
return
7925 wine_fn_append_rule
"$ac_linkdir/depend: $ac_links"
7929 test "x$enable_win64" != "xyes" || wine_binary
="wine64"
7930 WINELOADER_PROGRAMS
="$wine_binary"
7932 libwine_soversion
=`expr $libwine_version : '\([0-9]*\)\..*'`
7936 if test -n "$ac_tool_prefix"; then
7937 # Extract the first word of "${ac_tool_prefix}dlltool", so it can be a program name with args.
7938 set dummy
${ac_tool_prefix}dlltool
; ac_word
=$2
7939 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7940 $as_echo_n "checking for $ac_word... " >&6; }
7941 if ${ac_cv_prog_DLLTOOL+:} false
; then :
7942 $as_echo_n "(cached) " >&6
7944 if test -n "$DLLTOOL"; then
7945 ac_cv_prog_DLLTOOL
="$DLLTOOL" # Let the user override the test.
7947 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7951 test -z "$as_dir" && as_dir
=.
7952 for ac_exec_ext
in '' $ac_executable_extensions; do
7953 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
7954 ac_cv_prog_DLLTOOL
="${ac_tool_prefix}dlltool"
7955 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7964 DLLTOOL
=$ac_cv_prog_DLLTOOL
7965 if test -n "$DLLTOOL"; then
7966 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DLLTOOL" >&5
7967 $as_echo "$DLLTOOL" >&6; }
7969 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7970 $as_echo "no" >&6; }
7975 if test -z "$ac_cv_prog_DLLTOOL"; then
7976 ac_ct_DLLTOOL
=$DLLTOOL
7977 # Extract the first word of "dlltool", so it can be a program name with args.
7978 set dummy dlltool
; ac_word
=$2
7979 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7980 $as_echo_n "checking for $ac_word... " >&6; }
7981 if ${ac_cv_prog_ac_ct_DLLTOOL+:} false
; then :
7982 $as_echo_n "(cached) " >&6
7984 if test -n "$ac_ct_DLLTOOL"; then
7985 ac_cv_prog_ac_ct_DLLTOOL
="$ac_ct_DLLTOOL" # Let the user override the test.
7987 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7991 test -z "$as_dir" && as_dir
=.
7992 for ac_exec_ext
in '' $ac_executable_extensions; do
7993 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
7994 ac_cv_prog_ac_ct_DLLTOOL
="dlltool"
7995 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8004 ac_ct_DLLTOOL
=$ac_cv_prog_ac_ct_DLLTOOL
8005 if test -n "$ac_ct_DLLTOOL"; then
8006 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DLLTOOL" >&5
8007 $as_echo "$ac_ct_DLLTOOL" >&6; }
8009 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8010 $as_echo "no" >&6; }
8013 if test "x$ac_ct_DLLTOOL" = x
; then
8016 case $cross_compiling:$ac_tool_warned in
8018 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
8019 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
8020 ac_tool_warned
=yes ;;
8022 DLLTOOL
=$ac_ct_DLLTOOL
8025 DLLTOOL
="$ac_cv_prog_DLLTOOL"
8031 enable_iphlpapi
=${enable_iphlpapi:-no}
8032 enable_kernel32
=${enable_kernel32:-no}
8033 enable_msvcrt
=${enable_msvcrt:-no}
8034 enable_ntdll
=${enable_ntdll:-no}
8035 enable_ws2_32
=${enable_ws2_32:-no}
8036 enable_loader
=${enable_loader:-no}
8037 enable_server
=${enable_server:-no}
8038 with_x
=${with_x:-no}
8039 with_pthread
=${with_pthread:-no}
8045 SOCKET_LIBS
="-lws2_32"
8049 LIBWINE_SHAREDLIB
="libwine.dll"
8051 LIBWINE_IMPORTLIB
="libwine.a"
8053 LIBWINE_INSTALL_LIB
="libwine.dll"
8055 LIBWINE_INSTALL_DEV
="libwine.a"
8057 LIBWINE_LDFLAGS
="-shared \$(srcdir)/wine.def"
8059 LIBWINE_DEPENDS
="wine.def"
8064 for ac_header
in libunwind.h
8066 ac_fn_c_check_header_mongrel
"$LINENO" "libunwind.h" "ac_cv_header_libunwind_h" "$ac_includes_default"
8067 if test "x$ac_cv_header_libunwind_h" = xyes
; then :
8068 cat >>confdefs.h
<<_ACEOF
8069 #define HAVE_LIBUNWIND_H 1
8077 DLLFLAGS
="$DLLFLAGS -fPIC"
8078 LDRPATH_INSTALL
="-Wl,-rpath,@loader_path/\`\$(MAKEDEP) -R \${bindir} \${libdir}\`"
8079 LDRPATH_LOCAL
="-Wl,-rpath,@loader_path/\$(top_builddir)/libs/wine"
8080 COREFOUNDATION_LIBS
="-framework CoreFoundation"
8082 IOKIT_LIBS
="-framework IOKit -framework CoreFoundation"
8084 FORCEFEEDBACK_LIBS
="-framework ForceFeedback -framework CoreFoundation"
8086 APPLICATIONSERVICES_LIBS
="-framework ApplicationServices"
8088 CORESERVICES_LIBS
="-framework CoreServices"
8090 APPKIT_LIBS
="-framework AppKit"
8092 LDEXECFLAGS
="-image_base 0x7bf00000 -Wl,-pagezero_size,0x1000,-segaddr,WINE_DOS,0x00001000,-segaddr,WINE_SHAREDHEAP,0x7f000000,-sectcreate,__TEXT,__info_plist,wine_info.plist"
8093 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,-no_pie" >&5
8094 $as_echo_n "checking whether the compiler supports -Wl,-no_pie... " >&6; }
8095 if ${ac_cv_cflags__Wl__no_pie+:} false
; then :
8096 $as_echo_n "(cached) " >&6
8098 ac_wine_try_cflags_saved
=$CFLAGS
8099 CFLAGS
="$CFLAGS -Wl,-no_pie"
8100 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8101 /* end confdefs.h. */
8102 int main(int argc, char **argv) { return 0; }
8104 if ac_fn_c_try_link
"$LINENO"; then :
8105 ac_cv_cflags__Wl__no_pie
=yes
8107 ac_cv_cflags__Wl__no_pie
=no
8109 rm -f core conftest.err conftest.
$ac_objext \
8110 conftest
$ac_exeext conftest.
$ac_ext
8111 CFLAGS
=$ac_wine_try_cflags_saved
8113 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl__no_pie" >&5
8114 $as_echo "$ac_cv_cflags__Wl__no_pie" >&6; }
8115 if test "x$ac_cv_cflags__Wl__no_pie" = xyes
; then :
8116 LDEXECFLAGS
="-Wl,-no_pie $LDEXECFLAGS"
8118 if test "$ac_cv_header_DiskArbitration_DiskArbitration_h" = "yes"
8120 DISKARBITRATION_LIBS
="-framework DiskArbitration -framework CoreFoundation"
8123 if test "$ac_cv_header_Security_Security_h" = "yes"
8125 SECURITY_LIBS
="-framework Security -framework CoreFoundation"
8127 ac_save_LIBS
="$LIBS"
8128 LIBS
="$LIBS $SECURITY_LIBS"
8129 for ac_func
in SSLCopyPeerCertificates
8131 ac_fn_c_check_func
"$LINENO" "SSLCopyPeerCertificates" "ac_cv_func_SSLCopyPeerCertificates"
8132 if test "x$ac_cv_func_SSLCopyPeerCertificates" = xyes
; then :
8133 cat >>confdefs.h
<<_ACEOF
8134 #define HAVE_SSLCOPYPEERCERTIFICATES 1
8140 LIBS
="$ac_save_LIBS"
8141 with_gnutls
=${with_gnutls:-no}
8143 if test "$ac_cv_header_CoreAudio_CoreAudio_h" = "yes" -a "$ac_cv_header_AudioUnit_AudioUnit_h" = "yes"
8145 if test "$ac_cv_header_AudioUnit_AudioComponent_h" = "yes"
8147 COREAUDIO_LIBS
="-framework CoreFoundation -framework CoreAudio -framework AudioUnit -framework AudioToolbox -framework CoreMIDI"
8150 COREAUDIO_LIBS
="-framework CoreAudio -framework AudioUnit -framework CoreServices -framework AudioToolbox -framework CoreMIDI"
8153 enable_winecoreaudio_drv
=${enable_winecoreaudio_drv:-yes}
8154 ac_save_LIBS
="$LIBS"
8155 LIBS
="$LIBS $COREAUDIO_LIBS"
8156 for ac_func
in AUGraphAddNode
8158 ac_fn_c_check_func
"$LINENO" "AUGraphAddNode" "ac_cv_func_AUGraphAddNode"
8159 if test "x$ac_cv_func_AUGraphAddNode" = xyes
; then :
8160 cat >>confdefs.h
<<_ACEOF
8161 #define HAVE_AUGRAPHADDNODE 1
8167 LIBS
="$ac_save_LIBS"
8169 if test "$ac_cv_header_OpenAL_al_h" = "yes"
8171 OPENAL_LIBS
="-framework OpenAL"
8174 cat >>confdefs.h
<<_ACEOF
8175 #define HAVE_OPENAL 1
8178 ac_cv_lib_openal
=yes
8180 if test "$ac_cv_header_OpenCL_opencl_h" = "yes"
8182 OPENCL_LIBS
="-framework OpenCL"
8184 ac_cv_lib_OpenCL_clGetPlatformInfo
=yes
8186 if test "$ac_cv_header_IOKit_hid_IOHIDLib_h" = "yes"
8188 ac_save_LIBS
="$LIBS"
8189 LIBS
="$LIBS $IOKIT_LIBS"
8190 for ac_func
in IOHIDManagerCreate
8192 ac_fn_c_check_func
"$LINENO" "IOHIDManagerCreate" "ac_cv_func_IOHIDManagerCreate"
8193 if test "x$ac_cv_func_IOHIDManagerCreate" = xyes
; then :
8194 cat >>confdefs.h
<<_ACEOF
8195 #define HAVE_IOHIDMANAGERCREATE 1
8201 LIBS
="$ac_save_LIBS"
8203 if test "$ac_cv_header_QuickTime_ImageCompression_h" = "yes"
8205 ac_save_LIBS
="$LIBS"
8206 LIBS
="-framework QuickTime -framework ApplicationServices -framework CoreVideo $LIBS"
8207 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for the QuickTime framework" >&5
8208 $as_echo_n "checking for the QuickTime framework... " >&6; }
8209 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8210 /* end confdefs.h. */
8211 #include <QuickTime/ImageCompression.h>
8215 CodecManagerVersion(NULL);
8220 if ac_fn_c_try_link
"$LINENO"; then :
8221 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
8222 $as_echo "yes" >&6; }
8223 QUICKTIME_LIBS
="-framework QuickTime -framework ApplicationServices -framework CoreVideo"
8225 enable_wineqtdecoder
=${enable_wineqtdecoder:-yes}
8227 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8228 $as_echo "no" >&6; }
8229 ac_cv_header_QuickTime_ImageCompression_h
=no
8231 rm -f core conftest.err conftest.
$ac_objext \
8232 conftest
$ac_exeext conftest.
$ac_ext
8233 LIBS
="$ac_save_LIBS"
8235 if test "$ac_cv_header_QuickTime_ImageCompression_h" != "yes"
8237 as_fn_append wine_notices
"|QuickTime ${notice_platform}development files not found, video decoding won't be supported."
8239 if test "$ac_cv_header_Carbon_Carbon_h" = "yes"
8241 CARBON_LIBS
="-framework Carbon"
8245 if test "$ac_cv_header_ApplicationServices_ApplicationServices_h" = "yes"
8247 ac_save_LIBS
="$LIBS"
8248 LIBS
="$LIBS $APPLICATIONSERVICES_LIBS"
8249 ac_fn_c_check_func
"$LINENO" "CGDisplayModeGetWidth" "ac_cv_func_CGDisplayModeGetWidth"
8250 if test "x$ac_cv_func_CGDisplayModeGetWidth" = xyes
; then :
8251 enable_winemac_drv
=${enable_winemac_drv:-yes}
8254 LIBS
="$ac_save_LIBS"
8257 if test "x$enable_win16" = "xyes"
8259 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether 16-bit code can be built correctly" >&5
8260 $as_echo_n "checking whether 16-bit code can be built correctly... " >&6; }
8261 if test "$cross_compiling" = yes; then :
8262 { $as_echo "$as_me:${as_lineno-$LINENO}: result: cross-compiling, assuming yes" >&5
8263 $as_echo "cross-compiling, assuming yes" >&6; }
8265 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8266 /* end confdefs.h. */
8269 "good:\tnop;nop\n\t"
8270 ".globl _testfunc\n"
8271 "_testfunc:\tcallw good");
8272 extern void testfunc();
8276 unsigned short *p = (unsigned short *)testfunc;
8277 return p[0] != 0xe866 || p[1] != 0xfffa
8282 if ac_fn_c_try_run
"$LINENO"; then :
8283 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
8284 $as_echo "yes" >&6; }
8286 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8287 $as_echo "no" >&6; }
8288 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
8290 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext \
8291 conftest.
$ac_objext conftest.beam conftest.
$ac_ext
8296 LIBWINE_SHAREDLIB
="libwine.$libwine_version.dylib"
8298 LIBWINE_INSTALL_LIB
="libwine.$libwine_version.dylib libwine.$libwine_soversion.dylib"
8300 LIBWINE_INSTALL_DEV
="libwine.dylib"
8302 LIBWINE_LDFLAGS
="-dynamiclib -install_name @rpath/libwine.$libwine_soversion.dylib -Wl,-rpath,@loader_path/ -compatibility_version $libwine_soversion -current_version $libwine_version"
8304 WINELOADER_DEPENDS
="wine_info.plist"
8309 DLLFLAGS
="$DLLFLAGS -fPIC"
8310 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -Wl,--export-dynamic" >&5
8311 $as_echo_n "checking whether the compiler supports -fPIC -Wl,--export-dynamic... " >&6; }
8312 if ${ac_cv_cflags__fPIC__Wl___export_dynamic+:} false
; then :
8313 $as_echo_n "(cached) " >&6
8315 ac_wine_try_cflags_saved
=$CFLAGS
8316 CFLAGS
="$CFLAGS -fPIC -Wl,--export-dynamic"
8317 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8318 /* end confdefs.h. */
8319 int main(int argc, char **argv) { return 0; }
8321 if ac_fn_c_try_link
"$LINENO"; then :
8322 ac_cv_cflags__fPIC__Wl___export_dynamic
=yes
8324 ac_cv_cflags__fPIC__Wl___export_dynamic
=no
8326 rm -f core conftest.err conftest.
$ac_objext \
8327 conftest
$ac_exeext conftest.
$ac_ext
8328 CFLAGS
=$ac_wine_try_cflags_saved
8330 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fPIC__Wl___export_dynamic" >&5
8331 $as_echo "$ac_cv_cflags__fPIC__Wl___export_dynamic" >&6; }
8332 if test "x$ac_cv_cflags__fPIC__Wl___export_dynamic" = xyes
; then :
8333 LDEXECFLAGS
="-Wl,--export-dynamic"
8335 as_ac_var
=`$as_echo "ac_cv_cflags_-fPIC -Wl,--rpath,\\$ORIGIN/../lib" | $as_tr_sh`
8336 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -Wl,--rpath,\$ORIGIN/../lib" >&5
8337 $as_echo_n "checking whether the compiler supports -fPIC -Wl,--rpath,\$ORIGIN/../lib... " >&6; }
8338 if eval \
${$as_ac_var+:} false
; then :
8339 $as_echo_n "(cached) " >&6
8341 ac_wine_try_cflags_saved
=$CFLAGS
8342 CFLAGS
="$CFLAGS -fPIC -Wl,--rpath,\$ORIGIN/../lib"
8343 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8344 /* end confdefs.h. */
8345 int main(int argc, char **argv) { return 0; }
8347 if ac_fn_c_try_link
"$LINENO"; then :
8348 eval "$as_ac_var=yes"
8350 eval "$as_ac_var=no"
8352 rm -f core conftest.err conftest.
$ac_objext \
8353 conftest
$ac_exeext conftest.
$ac_ext
8354 CFLAGS
=$ac_wine_try_cflags_saved
8356 eval ac_res
=\$
$as_ac_var
8357 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
8358 $as_echo "$ac_res" >&6; }
8359 if eval test \"x\$
"$as_ac_var"\" = x
"yes"; then :
8360 LDRPATH_INSTALL
="-Wl,--rpath,\\\$\$ORIGIN/\`\$(MAKEDEP) -R \${bindir} \${libdir}\`"
8361 LDRPATH_LOCAL
="-Wl,--rpath,\\\$\$ORIGIN/\$(top_builddir)/libs/wine"
8363 as_ac_var
=`$as_echo "ac_cv_cflags_-fPIC -Wl,-R,\\$ORIGIN/../lib" | $as_tr_sh`
8364 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -Wl,-R,\$ORIGIN/../lib" >&5
8365 $as_echo_n "checking whether the compiler supports -fPIC -Wl,-R,\$ORIGIN/../lib... " >&6; }
8366 if eval \
${$as_ac_var+:} false
; then :
8367 $as_echo_n "(cached) " >&6
8369 ac_wine_try_cflags_saved
=$CFLAGS
8370 CFLAGS
="$CFLAGS -fPIC -Wl,-R,\$ORIGIN/../lib"
8371 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8372 /* end confdefs.h. */
8373 int main(int argc, char **argv) { return 0; }
8375 if ac_fn_c_try_link
"$LINENO"; then :
8376 eval "$as_ac_var=yes"
8378 eval "$as_ac_var=no"
8380 rm -f core conftest.err conftest.
$ac_objext \
8381 conftest
$ac_exeext conftest.
$ac_ext
8382 CFLAGS
=$ac_wine_try_cflags_saved
8384 eval ac_res
=\$
$as_ac_var
8385 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
8386 $as_echo "$ac_res" >&6; }
8387 if eval test \"x\$
"$as_ac_var"\" = x
"yes"; then :
8388 LDRPATH_INSTALL
="-Wl,-R,\\\$\$ORIGIN/\`\$(MAKEDEP) -R \${bindir} \${libdir}\`"
8389 LDRPATH_LOCAL
="-Wl,-R,\\\$\$ORIGIN/\$(top_builddir)/libs/wine"
8393 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,--enable-new-dtags" >&5
8394 $as_echo_n "checking whether the compiler supports -Wl,--enable-new-dtags... " >&6; }
8395 if ${ac_cv_cflags__Wl___enable_new_dtags+:} false
; then :
8396 $as_echo_n "(cached) " >&6
8398 ac_wine_try_cflags_saved
=$CFLAGS
8399 CFLAGS
="$CFLAGS -Wl,--enable-new-dtags"
8400 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8401 /* end confdefs.h. */
8402 int main(int argc, char **argv) { return 0; }
8404 if ac_fn_c_try_link
"$LINENO"; then :
8405 ac_cv_cflags__Wl___enable_new_dtags
=yes
8407 ac_cv_cflags__Wl___enable_new_dtags
=no
8409 rm -f core conftest.err conftest.
$ac_objext \
8410 conftest
$ac_exeext conftest.
$ac_ext
8411 CFLAGS
=$ac_wine_try_cflags_saved
8413 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl___enable_new_dtags" >&5
8414 $as_echo "$ac_cv_cflags__Wl___enable_new_dtags" >&6; }
8415 if test "x$ac_cv_cflags__Wl___enable_new_dtags" = xyes
; then :
8416 LDRPATH_INSTALL
="$LDRPATH_INSTALL -Wl,--enable-new-dtags"
8418 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,-pie" >&5
8419 $as_echo_n "checking whether the compiler supports -Wl,-pie... " >&6; }
8420 if ${ac_cv_cflags__Wl__pie+:} false
; then :
8421 $as_echo_n "(cached) " >&6
8423 ac_wine_try_cflags_saved
=$CFLAGS
8424 CFLAGS
="$CFLAGS -Wl,-pie"
8425 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8426 /* end confdefs.h. */
8427 int main(int argc, char **argv) { return 0; }
8429 if ac_fn_c_try_link
"$LINENO"; then :
8430 ac_cv_cflags__Wl__pie
=yes
8432 ac_cv_cflags__Wl__pie
=no
8434 rm -f core conftest.err conftest.
$ac_objext \
8435 conftest
$ac_exeext conftest.
$ac_ext
8436 CFLAGS
=$ac_wine_try_cflags_saved
8438 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl__pie" >&5
8439 $as_echo "$ac_cv_cflags__Wl__pie" >&6; }
8440 if test "x$ac_cv_cflags__Wl__pie" = xyes
; then :
8441 LDRPATH_INSTALL
="$LDRPATH_INSTALL -Wl,-pie"
8444 LIBWINE_SHAREDLIB
="libwine.so"
8446 LIBWINE_INSTALL_LIB
="libwine.so"
8448 LIBWINE_LDFLAGS
="-shared -Wl,-soname,libwine.so"
8453 DLLFLAGS
="$DLLFLAGS -fPIC"
8455 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we can build a GNU style ELF dll" >&5
8456 $as_echo_n "checking whether we can build a GNU style ELF dll... " >&6; }
8457 if ${ac_cv_c_dll_gnuelf+:} false
; then :
8458 $as_echo_n "(cached) " >&6
8460 ac_wine_try_cflags_saved
=$CFLAGS
8461 CFLAGS
="$CFLAGS -fPIC -shared -Wl,-Bsymbolic"
8462 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8463 /* end confdefs.h. */
8466 if ac_fn_c_try_link
"$LINENO"; then :
8467 ac_cv_c_dll_gnuelf
="yes"
8469 ac_cv_c_dll_gnuelf
="no"
8471 rm -f core conftest.err conftest.
$ac_objext \
8472 conftest
$ac_exeext conftest.
$ac_ext
8473 CFLAGS
=$ac_wine_try_cflags_saved
8475 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_dll_gnuelf" >&5
8476 $as_echo "$ac_cv_c_dll_gnuelf" >&6; }
8477 if test "$ac_cv_c_dll_gnuelf" = "yes"
8479 LIBWINE_LDFLAGS
="-shared"
8480 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -shared -Wl,-soname,confest.so.1" >&5
8481 $as_echo_n "checking whether the compiler supports -fPIC -shared -Wl,-soname,confest.so.1... " >&6; }
8482 if ${ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1+:} false
; then :
8483 $as_echo_n "(cached) " >&6
8485 ac_wine_try_cflags_saved
=$CFLAGS
8486 CFLAGS
="$CFLAGS -fPIC -shared -Wl,-soname,confest.so.1"
8487 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8488 /* end confdefs.h. */
8489 int main(int argc, char **argv) { return 0; }
8491 if ac_fn_c_try_link
"$LINENO"; then :
8492 ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1
=yes
8494 ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1
=no
8496 rm -f core conftest.err conftest.
$ac_objext \
8497 conftest
$ac_exeext conftest.
$ac_ext
8498 CFLAGS
=$ac_wine_try_cflags_saved
8500 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1" >&5
8501 $as_echo "$ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1" >&6; }
8502 if test "x$ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1" = xyes
; then :
8503 LIBWINE_LDFLAGS
="-shared -Wl,-soname,libwine.so.$libwine_soversion"
8505 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -shared -Wl,-h,confest.so.1" >&5
8506 $as_echo_n "checking whether the compiler supports -fPIC -shared -Wl,-h,confest.so.1... " >&6; }
8507 if ${ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1+:} false
; then :
8508 $as_echo_n "(cached) " >&6
8510 ac_wine_try_cflags_saved
=$CFLAGS
8511 CFLAGS
="$CFLAGS -fPIC -shared -Wl,-h,confest.so.1"
8512 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8513 /* end confdefs.h. */
8514 int main(int argc, char **argv) { return 0; }
8516 if ac_fn_c_try_link
"$LINENO"; then :
8517 ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1
=yes
8519 ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1
=no
8521 rm -f core conftest.err conftest.
$ac_objext \
8522 conftest
$ac_exeext conftest.
$ac_ext
8523 CFLAGS
=$ac_wine_try_cflags_saved
8525 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1" >&5
8526 $as_echo "$ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1" >&6; }
8527 if test "x$ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1" = xyes
; then :
8528 LIBWINE_LDFLAGS
="-shared -Wl,-h,libwine.so.$libwine_soversion"
8532 echo '{ global: *; };' >conftest.map
8533 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -shared -Wl,--version-script=conftest.map" >&5
8534 $as_echo_n "checking whether the compiler supports -fPIC -shared -Wl,--version-script=conftest.map... " >&6; }
8535 if ${ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map+:} false
; then :
8536 $as_echo_n "(cached) " >&6
8538 ac_wine_try_cflags_saved
=$CFLAGS
8539 CFLAGS
="$CFLAGS -fPIC -shared -Wl,--version-script=conftest.map"
8540 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8541 /* end confdefs.h. */
8542 int main(int argc, char **argv) { return 0; }
8544 if ac_fn_c_try_link
"$LINENO"; then :
8545 ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map
=yes
8547 ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map
=no
8549 rm -f core conftest.err conftest.
$ac_objext \
8550 conftest
$ac_exeext conftest.
$ac_ext
8551 CFLAGS
=$ac_wine_try_cflags_saved
8553 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map" >&5
8554 $as_echo "$ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map" >&6; }
8555 if test "x$ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map" = xyes
; then :
8556 LIBWINE_LDFLAGS
="$LIBWINE_LDFLAGS -Wl,--version-script=\$(srcdir)/wine.map"
8560 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -Wl,--export-dynamic" >&5
8561 $as_echo_n "checking whether the compiler supports -fPIC -Wl,--export-dynamic... " >&6; }
8562 if ${ac_cv_cflags__fPIC__Wl___export_dynamic+:} false
; then :
8563 $as_echo_n "(cached) " >&6
8565 ac_wine_try_cflags_saved
=$CFLAGS
8566 CFLAGS
="$CFLAGS -fPIC -Wl,--export-dynamic"
8567 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8568 /* end confdefs.h. */
8569 int main(int argc, char **argv) { return 0; }
8571 if ac_fn_c_try_link
"$LINENO"; then :
8572 ac_cv_cflags__fPIC__Wl___export_dynamic
=yes
8574 ac_cv_cflags__fPIC__Wl___export_dynamic
=no
8576 rm -f core conftest.err conftest.
$ac_objext \
8577 conftest
$ac_exeext conftest.
$ac_ext
8578 CFLAGS
=$ac_wine_try_cflags_saved
8580 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fPIC__Wl___export_dynamic" >&5
8581 $as_echo "$ac_cv_cflags__fPIC__Wl___export_dynamic" >&6; }
8582 if test "x$ac_cv_cflags__fPIC__Wl___export_dynamic" = xyes
; then :
8583 LDEXECFLAGS
="-Wl,--export-dynamic"
8586 as_ac_var
=`$as_echo "ac_cv_cflags_-fPIC -Wl,--rpath,\\$ORIGIN/../lib" | $as_tr_sh`
8587 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -Wl,--rpath,\$ORIGIN/../lib" >&5
8588 $as_echo_n "checking whether the compiler supports -fPIC -Wl,--rpath,\$ORIGIN/../lib... " >&6; }
8589 if eval \
${$as_ac_var+:} false
; then :
8590 $as_echo_n "(cached) " >&6
8592 ac_wine_try_cflags_saved
=$CFLAGS
8593 CFLAGS
="$CFLAGS -fPIC -Wl,--rpath,\$ORIGIN/../lib"
8594 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8595 /* end confdefs.h. */
8596 int main(int argc, char **argv) { return 0; }
8598 if ac_fn_c_try_link
"$LINENO"; then :
8599 eval "$as_ac_var=yes"
8601 eval "$as_ac_var=no"
8603 rm -f core conftest.err conftest.
$ac_objext \
8604 conftest
$ac_exeext conftest.
$ac_ext
8605 CFLAGS
=$ac_wine_try_cflags_saved
8607 eval ac_res
=\$
$as_ac_var
8608 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
8609 $as_echo "$ac_res" >&6; }
8610 if eval test \"x\$
"$as_ac_var"\" = x
"yes"; then :
8611 LDRPATH_INSTALL
="-Wl,--rpath,\\\$\$ORIGIN/\`\$(MAKEDEP) -R \${bindir} \${libdir}\`"
8612 LDRPATH_LOCAL
="-Wl,--rpath,\\\$\$ORIGIN/\$(top_builddir)/libs/wine"
8614 as_ac_var
=`$as_echo "ac_cv_cflags_-fPIC -Wl,-R,\\$ORIGIN/../lib" | $as_tr_sh`
8615 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -Wl,-R,\$ORIGIN/../lib" >&5
8616 $as_echo_n "checking whether the compiler supports -fPIC -Wl,-R,\$ORIGIN/../lib... " >&6; }
8617 if eval \
${$as_ac_var+:} false
; then :
8618 $as_echo_n "(cached) " >&6
8620 ac_wine_try_cflags_saved
=$CFLAGS
8621 CFLAGS
="$CFLAGS -fPIC -Wl,-R,\$ORIGIN/../lib"
8622 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8623 /* end confdefs.h. */
8624 int main(int argc, char **argv) { return 0; }
8626 if ac_fn_c_try_link
"$LINENO"; then :
8627 eval "$as_ac_var=yes"
8629 eval "$as_ac_var=no"
8631 rm -f core conftest.err conftest.
$ac_objext \
8632 conftest
$ac_exeext conftest.
$ac_ext
8633 CFLAGS
=$ac_wine_try_cflags_saved
8635 eval ac_res
=\$
$as_ac_var
8636 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
8637 $as_echo "$ac_res" >&6; }
8638 if eval test \"x\$
"$as_ac_var"\" = x
"yes"; then :
8639 LDRPATH_INSTALL
="-Wl,-R,\\\$\$ORIGIN/\`\$(MAKEDEP) -R \${bindir} \${libdir}\`"
8640 LDRPATH_LOCAL
="-Wl,-R,\\\$\$ORIGIN/\$(top_builddir)/libs/wine"
8644 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,--enable-new-dtags" >&5
8645 $as_echo_n "checking whether the compiler supports -Wl,--enable-new-dtags... " >&6; }
8646 if ${ac_cv_cflags__Wl___enable_new_dtags+:} false
; then :
8647 $as_echo_n "(cached) " >&6
8649 ac_wine_try_cflags_saved
=$CFLAGS
8650 CFLAGS
="$CFLAGS -Wl,--enable-new-dtags"
8651 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8652 /* end confdefs.h. */
8653 int main(int argc, char **argv) { return 0; }
8655 if ac_fn_c_try_link
"$LINENO"; then :
8656 ac_cv_cflags__Wl___enable_new_dtags
=yes
8658 ac_cv_cflags__Wl___enable_new_dtags
=no
8660 rm -f core conftest.err conftest.
$ac_objext \
8661 conftest
$ac_exeext conftest.
$ac_ext
8662 CFLAGS
=$ac_wine_try_cflags_saved
8664 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl___enable_new_dtags" >&5
8665 $as_echo "$ac_cv_cflags__Wl___enable_new_dtags" >&6; }
8666 if test "x$ac_cv_cflags__Wl___enable_new_dtags" = xyes
; then :
8667 LDRPATH_INSTALL
="$LDRPATH_INSTALL -Wl,--enable-new-dtags"
8671 *i
[3456789]86* | x86_64
)
8672 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,-Ttext-segment=0x7bc00000" >&5
8673 $as_echo_n "checking whether the compiler supports -Wl,-Ttext-segment=0x7bc00000... " >&6; }
8674 if ${ac_cv_cflags__Wl__Ttext_segment_0x7bc00000+:} false
; then :
8675 $as_echo_n "(cached) " >&6
8677 ac_wine_try_cflags_saved
=$CFLAGS
8678 CFLAGS
="$CFLAGS -Wl,-Ttext-segment=0x7bc00000"
8679 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8680 /* end confdefs.h. */
8681 int main(int argc, char **argv) { return 0; }
8683 if ac_fn_c_try_link
"$LINENO"; then :
8684 ac_cv_cflags__Wl__Ttext_segment_0x7bc00000
=yes
8686 ac_cv_cflags__Wl__Ttext_segment_0x7bc00000
=no
8688 rm -f core conftest.err conftest.
$ac_objext \
8689 conftest
$ac_exeext conftest.
$ac_ext
8690 CFLAGS
=$ac_wine_try_cflags_saved
8692 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl__Ttext_segment_0x7bc00000" >&5
8693 $as_echo "$ac_cv_cflags__Wl__Ttext_segment_0x7bc00000" >&6; }
8694 if test "x$ac_cv_cflags__Wl__Ttext_segment_0x7bc00000" = xyes
; then :
8696 freebsd
* | kfreebsd
*-gnu) LDEXECFLAGS
="$LDEXECFLAGS -Wl,-Ttext-segment=0x60000000" ;;
8697 *) LDEXECFLAGS
="$LDEXECFLAGS -Wl,-Ttext-segment=0x7c000000" ;;
8700 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,--section-start,.interp=0x7c000400" >&5
8701 $as_echo_n "checking whether the compiler supports -Wl,--section-start,.interp=0x7c000400... " >&6; }
8702 if ${ac_cv_cflags__Wl___section_start__interp_0x7c000400+:} false
; then :
8703 $as_echo_n "(cached) " >&6
8705 ac_wine_try_cflags_saved
=$CFLAGS
8706 CFLAGS
="$CFLAGS -Wl,--section-start,.interp=0x7c000400"
8707 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8708 /* end confdefs.h. */
8709 int main(int argc, char **argv) { return 0; }
8711 if ac_fn_c_try_link
"$LINENO"; then :
8712 ac_cv_cflags__Wl___section_start__interp_0x7c000400
=yes
8714 ac_cv_cflags__Wl___section_start__interp_0x7c000400
=no
8716 rm -f core conftest.err conftest.
$ac_objext \
8717 conftest
$ac_exeext conftest.
$ac_ext
8718 CFLAGS
=$ac_wine_try_cflags_saved
8720 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl___section_start__interp_0x7c000400" >&5
8721 $as_echo "$ac_cv_cflags__Wl___section_start__interp_0x7c000400" >&6; }
8722 if test "x$ac_cv_cflags__Wl___section_start__interp_0x7c000400" = xyes
; then :
8724 freebsd
* | kfreebsd
*-gnu) LDEXECFLAGS
="$LDEXECFLAGS -Wl,--section-start,.interp=0x60000400" ;;
8725 *) LDEXECFLAGS
="$LDEXECFLAGS -Wl,--section-start,.interp=0x7c000400" ;;
8728 # Extract the first word of "prelink", so it can be a program name with args.
8729 set dummy prelink
; ac_word
=$2
8730 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8731 $as_echo_n "checking for $ac_word... " >&6; }
8732 if ${ac_cv_path_PRELINK+:} false
; then :
8733 $as_echo_n "(cached) " >&6
8737 ac_cv_path_PRELINK
="$PRELINK" # Let the user override the test with a path.
8740 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
8741 for as_dir
in /sbin
/usr
/sbin
$PATH
8744 test -z "$as_dir" && as_dir
=.
8745 for ac_exec_ext
in '' $ac_executable_extensions; do
8746 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
8747 ac_cv_path_PRELINK
="$as_dir/$ac_word$ac_exec_ext"
8748 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8755 test -z "$ac_cv_path_PRELINK" && ac_cv_path_PRELINK
="false"
8759 PRELINK
=$ac_cv_path_PRELINK
8760 if test -n "$PRELINK"; then
8761 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PRELINK" >&5
8762 $as_echo "$PRELINK" >&6; }
8764 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8765 $as_echo "no" >&6; }
8769 if test "x$PRELINK" = xfalse
8771 as_fn_append wine_warnings
"|prelink not found and linker does not support relocation, base address of core dlls won't be set correctly."
8774 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,-z,max-page-size=0x1000" >&5
8775 $as_echo_n "checking whether the compiler supports -Wl,-z,max-page-size=0x1000... " >&6; }
8776 if ${ac_cv_cflags__Wl__z_max_page_size_0x1000+:} false
; then :
8777 $as_echo_n "(cached) " >&6
8779 ac_wine_try_cflags_saved
=$CFLAGS
8780 CFLAGS
="$CFLAGS -Wl,-z,max-page-size=0x1000"
8781 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8782 /* end confdefs.h. */
8783 int main(int argc, char **argv) { return 0; }
8785 if ac_fn_c_try_link
"$LINENO"; then :
8786 ac_cv_cflags__Wl__z_max_page_size_0x1000
=yes
8788 ac_cv_cflags__Wl__z_max_page_size_0x1000
=no
8790 rm -f core conftest.err conftest.
$ac_objext \
8791 conftest
$ac_exeext conftest.
$ac_ext
8792 CFLAGS
=$ac_wine_try_cflags_saved
8794 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl__z_max_page_size_0x1000" >&5
8795 $as_echo "$ac_cv_cflags__Wl__z_max_page_size_0x1000" >&6; }
8796 if test "x$ac_cv_cflags__Wl__z_max_page_size_0x1000" = xyes
; then :
8797 LDEXECFLAGS
="$LDEXECFLAGS -Wl,-z,max-page-size=0x1000"
8803 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we can build a UnixWare (Solaris) dll" >&5
8804 $as_echo_n "checking whether we can build a UnixWare (Solaris) dll... " >&6; }
8805 if ${ac_cv_c_dll_unixware+:} false
; then :
8806 $as_echo_n "(cached) " >&6
8808 ac_wine_try_cflags_saved
=$CFLAGS
8809 CFLAGS
="$CFLAGS -fPIC -Wl,-G,-h,conftest.so.1.0,-B,symbolic"
8810 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8811 /* end confdefs.h. */
8814 if ac_fn_c_try_link
"$LINENO"; then :
8815 ac_cv_c_dll_unixware
="yes"
8817 ac_cv_c_dll_unixware
="no"
8819 rm -f core conftest.err conftest.
$ac_objext \
8820 conftest
$ac_exeext conftest.
$ac_ext
8821 CFLAGS
=$ac_wine_try_cflags_saved
8823 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_dll_unixware" >&5
8824 $as_echo "$ac_cv_c_dll_unixware" >&6; }
8825 if test "$ac_cv_c_dll_unixware" = "yes"
8827 LIBWINE_LDFLAGS
="-Wl,-G,-h,libwine.so.$libwine_soversion"
8830 LIBWINE_SHAREDLIB
="libwine.so.$libwine_version"
8832 LIBWINE_INSTALL_LIB
="libwine.so.$libwine_version libwine.so.$libwine_soversion"
8834 LIBWINE_INSTALL_DEV
="libwine.so"
8836 LIBWINE_DEPENDS
="wine.map"
8841 enable_winecoreaudio_drv
=${enable_winecoreaudio_drv:-no}
8842 enable_wineqtdecoder
=${enable_wineqtdecoder:-no}
8843 enable_winemac_drv
=${enable_winemac_drv:-no}
8844 test "$ac_cv_header_linux_joystick_h" = "yes" -o "$ac_cv_header_IOKit_hid_IOHIDLib_h" = "yes" || enable_winejoystick_drv
=${enable_winejoystick_drv:-no}
8848 if test "x$enable_tests" != xno
-a "$LIBEXT" != "dll"
8852 ac_prefix_list
="armv7-w64-mingw32-clang armv7-w64-mingw32-gcc" ;;
8854 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
8855 i686-w64-mingw32-clang i586-w64-mingw32-clang i486-w64-mingw32-clang i386-w64-mingw32-clang
8858 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
8859 x86_64-w64-mingw32-clang amd64-w64-mingw32-clang " ;;
8861 ac_prefix_list
="" ;;
8863 for ac_prog
in $ac_prefix_list
8865 # Extract the first word of "$ac_prog", so it can be a program name with args.
8866 set dummy
$ac_prog; ac_word
=$2
8867 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8868 $as_echo_n "checking for $ac_word... " >&6; }
8869 if ${ac_cv_prog_CROSSCC+:} false
; then :
8870 $as_echo_n "(cached) " >&6
8872 if test -n "$CROSSCC"; then
8873 ac_cv_prog_CROSSCC
="$CROSSCC" # Let the user override the test.
8875 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
8879 test -z "$as_dir" && as_dir
=.
8880 for ac_exec_ext
in '' $ac_executable_extensions; do
8881 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
8882 ac_cv_prog_CROSSCC
="$ac_prog"
8883 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8892 CROSSCC
=$ac_cv_prog_CROSSCC
8893 if test -n "$CROSSCC"; then
8894 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CROSSCC" >&5
8895 $as_echo "$CROSSCC" >&6; }
8897 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8898 $as_echo "no" >&6; }
8902 test -n "$CROSSCC" && break
8904 test -n "$CROSSCC" || CROSSCC
="false"
8906 if test "$CROSSCC" != "false"
8910 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CROSSCC works" >&5
8911 $as_echo_n "checking whether $CROSSCC works... " >&6; }
8912 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8913 /* end confdefs.h. */
8923 if ac_fn_c_try_compile
"$LINENO"; then :
8924 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
8925 $as_echo "yes" >&6; }
8931 *-gcc) CROSSTARGET
=`expr "$1" : '\(.*\)-gcc'` ;;
8932 *-clang) CROSSTARGET
=`expr "$1" : '\(.*\)-clang'` ;;
8937 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8938 $as_echo "no" >&6; }
8940 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
8946 if test "$ac_cv_header_pthread_h" = "yes"
8948 ac_fn_c_check_func
"$LINENO" "pthread_create" "ac_cv_func_pthread_create"
8949 if test "x$ac_cv_func_pthread_create" = xyes
; then :
8952 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pthread_create in -lpthread" >&5
8953 $as_echo_n "checking for pthread_create in -lpthread... " >&6; }
8954 if ${ac_cv_lib_pthread_pthread_create+:} false
; then :
8955 $as_echo_n "(cached) " >&6
8957 ac_check_lib_save_LIBS
=$LIBS
8958 LIBS
="-lpthread $LIBS"
8959 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8960 /* end confdefs.h. */
8962 /* Override any GCC internal prototype to avoid an error.
8963 Use char because int might match the return type of a GCC
8964 builtin and then its argument prototype would still apply. */
8968 char pthread_create ();
8972 return pthread_create ();
8977 if ac_fn_c_try_link
"$LINENO"; then :
8978 ac_cv_lib_pthread_pthread_create
=yes
8980 ac_cv_lib_pthread_pthread_create
=no
8982 rm -f core conftest.err conftest.
$ac_objext \
8983 conftest
$ac_exeext conftest.
$ac_ext
8984 LIBS
=$ac_check_lib_save_LIBS
8986 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_pthread_pthread_create" >&5
8987 $as_echo "$ac_cv_lib_pthread_pthread_create" >&6; }
8988 if test "x$ac_cv_lib_pthread_pthread_create" = xyes
; then :
8989 PTHREAD_LIBS
="-lpthread"
8996 if test "x$ac_cv_func_pthread_create" != xyes
-a "x$PTHREAD_LIBS" = x
; then :
8997 case "x$with_pthread" in
8999 *) as_fn_error $?
"pthread ${notice_platform}development files not found.
9000 Wine cannot support threads without libpthread.
9001 Use the --without-pthread option if you really want this." "$LINENO" 5 ;;
9007 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for X" >&5
9008 $as_echo_n "checking for X... " >&6; }
9011 # Check whether --with-x was given.
9012 if test "${with_x+set}" = set; then :
9016 # $have_x is `yes', `no', `disabled', or empty when we do not yet know.
9017 if test "x$with_x" = xno
; then
9018 # The user explicitly disabled X.
9021 case $x_includes,$x_libraries in #(
9022 *\'*) as_fn_error $?
"cannot use X directory names containing '" "$LINENO" 5;; #(
9023 *,NONE | NONE
,*) if ${ac_cv_have_x+:} false
; then :
9024 $as_echo_n "(cached) " >&6
9026 # One or both of the vars are not set, and there is no cached value.
9027 ac_x_includes
=no ac_x_libraries
=no
9028 rm -f -r conftest.dir
9029 if mkdir conftest.dir
; then
9031 cat >Imakefile
<<'_ACEOF'
9033 @echo incroot='${INCROOT}'
9035 @echo usrlibdir='${USRLIBDIR}'
9037 @echo libdir='${LIBDIR}'
9039 if (export CC
; ${XMKMF-xmkmf}) >/dev
/null
2>/dev
/null
&& test -f Makefile
; then
9040 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
9041 for ac_var
in incroot usrlibdir libdir
; do
9042 eval "ac_im_$ac_var=\`\${MAKE-make} $ac_var 2>/dev/null | sed -n 's/^$ac_var=//p'\`"
9044 # Open Windows xmkmf reportedly sets LIBDIR instead of USRLIBDIR.
9045 for ac_extension
in a so sl dylib la dll
; do
9046 if test ! -f "$ac_im_usrlibdir/libX11.$ac_extension" &&
9047 test -f "$ac_im_libdir/libX11.$ac_extension"; then
9048 ac_im_usrlibdir
=$ac_im_libdir; break
9051 # Screen out bogus values from the imake configuration. They are
9052 # bogus both because they are the default anyway, and because
9053 # using them would break gcc on systems where it needs fixed includes.
9054 case $ac_im_incroot in
9055 /usr
/include
) ac_x_includes
= ;;
9056 *) test -f "$ac_im_incroot/X11/Xos.h" && ac_x_includes
=$ac_im_incroot;;
9058 case $ac_im_usrlibdir in
9059 /usr
/lib |
/usr
/lib64 |
/lib |
/lib64
) ;;
9060 *) test -d "$ac_im_usrlibdir" && ac_x_libraries
=$ac_im_usrlibdir ;;
9064 rm -f -r conftest.dir
9067 # Standard set of common directories for X headers.
9068 # Check X11 before X11Rn because it is often a symlink to the current release.
9082 /usr/local/X11/include
9083 /usr/local/X11R7/include
9084 /usr/local/X11R6/include
9085 /usr/local/X11R5/include
9086 /usr/local/X11R4/include
9088 /usr/local/include/X11
9089 /usr/local/include/X11R7
9090 /usr/local/include/X11R6
9091 /usr/local/include/X11R5
9092 /usr/local/include/X11R4
9096 /usr/XFree86/include/X11
9100 /usr/unsupported/include
9102 /usr/local/x11r5/include
9103 /usr/lpp/Xamples/include
9105 /usr/openwin/include
9106 /usr/openwin/share/include'
9108 if test "$ac_x_includes" = no
; then
9109 # Guess where to find include files, by looking for Xlib.h.
9110 # First, try using that file with no special directory specified.
9111 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9112 /* end confdefs.h. */
9113 #include <X11/Xlib.h>
9115 if ac_fn_c_try_cpp
"$LINENO"; then :
9116 # We can compile using X headers with no special include directory.
9119 for ac_dir
in $ac_x_header_dirs; do
9120 if test -r "$ac_dir/X11/Xlib.h"; then
9121 ac_x_includes
=$ac_dir
9126 rm -f conftest.err conftest.i conftest.
$ac_ext
9127 fi # $ac_x_includes = no
9129 if test "$ac_x_libraries" = no
; then
9130 # Check for the libraries.
9131 # See if we find them without any special options.
9132 # Don't add to $LIBS permanently.
9135 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9136 /* end confdefs.h. */
9137 #include <X11/Xlib.h>
9146 if ac_fn_c_try_link
"$LINENO"; then :
9148 # We can link X programs with no special library path.
9152 for ac_dir
in `$as_echo "$ac_x_includes $ac_x_header_dirs" | sed s/include/lib/g`
9154 # Don't even attempt the hair of trying to link an X program!
9155 for ac_extension
in a so sl dylib la dll
; do
9156 if test -r "$ac_dir/libX11.$ac_extension"; then
9157 ac_x_libraries
=$ac_dir
9163 rm -f core conftest.err conftest.
$ac_objext \
9164 conftest
$ac_exeext conftest.
$ac_ext
9165 fi # $ac_x_libraries = no
9167 case $ac_x_includes,$ac_x_libraries in #(
9169 # Didn't find X, or a directory has "'" in its name.
9170 ac_cv_have_x
="have_x=no";; #(
9172 # Record where we found X for the cache.
9173 ac_cv_have_x
="have_x=yes\
9174 ac_x_includes='$ac_x_includes'\
9175 ac_x_libraries='$ac_x_libraries'"
9181 eval "$ac_cv_have_x"
9184 if test "$have_x" != yes; then
9185 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $have_x" >&5
9186 $as_echo "$have_x" >&6; }
9189 # If each of the values was on the command line, it overrides each guess.
9190 test "x$x_includes" = xNONE
&& x_includes
=$ac_x_includes
9191 test "x$x_libraries" = xNONE
&& x_libraries
=$ac_x_libraries
9192 # Update the cache value to reflect the command line values.
9193 ac_cv_have_x
="have_x=yes\
9194 ac_x_includes='$x_includes'\
9195 ac_x_libraries='$x_libraries'"
9196 { $as_echo "$as_me:${as_lineno-$LINENO}: result: libraries $x_libraries, headers $x_includes" >&5
9197 $as_echo "libraries $x_libraries, headers $x_includes" >&6; }
9200 if test "$no_x" = yes; then
9201 # Not all programs may use this symbol, but it does not hurt to define it.
9203 $as_echo "#define X_DISPLAY_MISSING 1" >>confdefs.h
9205 X_CFLAGS
= X_PRE_LIBS
= X_LIBS
= X_EXTRA_LIBS
=
9207 if test -n "$x_includes"; then
9208 X_CFLAGS
="$X_CFLAGS -I$x_includes"
9211 # It would also be nice to do this for all -L options, not just this one.
9212 if test -n "$x_libraries"; then
9213 X_LIBS
="$X_LIBS -L$x_libraries"
9214 # For Solaris; some versions of Sun CC require a space after -R and
9215 # others require no space. Words are not sufficient . . . .
9216 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -R must be followed by a space" >&5
9217 $as_echo_n "checking whether -R must be followed by a space... " >&6; }
9218 ac_xsave_LIBS
=$LIBS; LIBS
="$LIBS -R$x_libraries"
9219 ac_xsave_c_werror_flag
=$ac_c_werror_flag
9220 ac_c_werror_flag
=yes
9221 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9222 /* end confdefs.h. */
9232 if ac_fn_c_try_link
"$LINENO"; then :
9233 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9234 $as_echo "no" >&6; }
9235 X_LIBS
="$X_LIBS -R$x_libraries"
9237 LIBS
="$ac_xsave_LIBS -R $x_libraries"
9238 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9239 /* end confdefs.h. */
9249 if ac_fn_c_try_link
"$LINENO"; then :
9250 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
9251 $as_echo "yes" >&6; }
9252 X_LIBS
="$X_LIBS -R $x_libraries"
9254 { $as_echo "$as_me:${as_lineno-$LINENO}: result: neither works" >&5
9255 $as_echo "neither works" >&6; }
9257 rm -f core conftest.err conftest.
$ac_objext \
9258 conftest
$ac_exeext conftest.
$ac_ext
9260 rm -f core conftest.err conftest.
$ac_objext \
9261 conftest
$ac_exeext conftest.
$ac_ext
9262 ac_c_werror_flag
=$ac_xsave_c_werror_flag
9266 # Check for system-dependent libraries X programs must link with.
9267 # Do this before checking for the system-independent R6 libraries
9268 # (-lICE), since we may need -lsocket or whatever for X linking.
9270 if test "$ISC" = yes; then
9271 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lnsl_s -linet"
9273 # Martyn Johnson says this is needed for Ultrix, if the X
9274 # libraries were built with DECnet support. And Karl Berry says
9275 # the Alpha needs dnet_stub (dnet does not exist).
9276 ac_xsave_LIBS
="$LIBS"; LIBS
="$LIBS $X_LIBS -lX11"
9277 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9278 /* end confdefs.h. */
9280 /* Override any GCC internal prototype to avoid an error.
9281 Use char because int might match the return type of a GCC
9282 builtin and then its argument prototype would still apply. */
9286 char XOpenDisplay ();
9290 return XOpenDisplay ();
9295 if ac_fn_c_try_link
"$LINENO"; then :
9298 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dnet_ntoa in -ldnet" >&5
9299 $as_echo_n "checking for dnet_ntoa in -ldnet... " >&6; }
9300 if ${ac_cv_lib_dnet_dnet_ntoa+:} false
; then :
9301 $as_echo_n "(cached) " >&6
9303 ac_check_lib_save_LIBS
=$LIBS
9305 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9306 /* end confdefs.h. */
9308 /* Override any GCC internal prototype to avoid an error.
9309 Use char because int might match the return type of a GCC
9310 builtin and then its argument prototype would still apply. */
9318 return dnet_ntoa ();
9323 if ac_fn_c_try_link
"$LINENO"; then :
9324 ac_cv_lib_dnet_dnet_ntoa
=yes
9326 ac_cv_lib_dnet_dnet_ntoa
=no
9328 rm -f core conftest.err conftest.
$ac_objext \
9329 conftest
$ac_exeext conftest.
$ac_ext
9330 LIBS
=$ac_check_lib_save_LIBS
9332 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dnet_dnet_ntoa" >&5
9333 $as_echo "$ac_cv_lib_dnet_dnet_ntoa" >&6; }
9334 if test "x$ac_cv_lib_dnet_dnet_ntoa" = xyes
; then :
9335 X_EXTRA_LIBS
="$X_EXTRA_LIBS -ldnet"
9338 if test $ac_cv_lib_dnet_dnet_ntoa = no
; then
9339 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dnet_ntoa in -ldnet_stub" >&5
9340 $as_echo_n "checking for dnet_ntoa in -ldnet_stub... " >&6; }
9341 if ${ac_cv_lib_dnet_stub_dnet_ntoa+:} false
; then :
9342 $as_echo_n "(cached) " >&6
9344 ac_check_lib_save_LIBS
=$LIBS
9345 LIBS
="-ldnet_stub $LIBS"
9346 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9347 /* end confdefs.h. */
9349 /* Override any GCC internal prototype to avoid an error.
9350 Use char because int might match the return type of a GCC
9351 builtin and then its argument prototype would still apply. */
9359 return dnet_ntoa ();
9364 if ac_fn_c_try_link
"$LINENO"; then :
9365 ac_cv_lib_dnet_stub_dnet_ntoa
=yes
9367 ac_cv_lib_dnet_stub_dnet_ntoa
=no
9369 rm -f core conftest.err conftest.
$ac_objext \
9370 conftest
$ac_exeext conftest.
$ac_ext
9371 LIBS
=$ac_check_lib_save_LIBS
9373 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dnet_stub_dnet_ntoa" >&5
9374 $as_echo "$ac_cv_lib_dnet_stub_dnet_ntoa" >&6; }
9375 if test "x$ac_cv_lib_dnet_stub_dnet_ntoa" = xyes
; then :
9376 X_EXTRA_LIBS
="$X_EXTRA_LIBS -ldnet_stub"
9381 rm -f core conftest.err conftest.
$ac_objext \
9382 conftest
$ac_exeext conftest.
$ac_ext
9383 LIBS
="$ac_xsave_LIBS"
9385 # msh@cis.ufl.edu says -lnsl (and -lsocket) are needed for his 386/AT,
9386 # to get the SysV transport functions.
9387 # Chad R. Larson says the Pyramis MIS-ES running DC/OSx (SVR4)
9389 # The nsl library prevents programs from opening the X display
9390 # on Irix 5.2, according to T.E. Dickey.
9391 # The functions gethostbyname, getservbyname, and inet_addr are
9392 # in -lbsd on LynxOS 3.0.1/i386, according to Lars Hecking.
9393 ac_fn_c_check_func
"$LINENO" "gethostbyname" "ac_cv_func_gethostbyname"
9394 if test "x$ac_cv_func_gethostbyname" = xyes
; then :
9398 if test $ac_cv_func_gethostbyname = no
; then
9399 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gethostbyname in -lnsl" >&5
9400 $as_echo_n "checking for gethostbyname in -lnsl... " >&6; }
9401 if ${ac_cv_lib_nsl_gethostbyname+:} false
; then :
9402 $as_echo_n "(cached) " >&6
9404 ac_check_lib_save_LIBS
=$LIBS
9406 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9407 /* end confdefs.h. */
9409 /* Override any GCC internal prototype to avoid an error.
9410 Use char because int might match the return type of a GCC
9411 builtin and then its argument prototype would still apply. */
9415 char gethostbyname ();
9419 return gethostbyname ();
9424 if ac_fn_c_try_link
"$LINENO"; then :
9425 ac_cv_lib_nsl_gethostbyname
=yes
9427 ac_cv_lib_nsl_gethostbyname
=no
9429 rm -f core conftest.err conftest.
$ac_objext \
9430 conftest
$ac_exeext conftest.
$ac_ext
9431 LIBS
=$ac_check_lib_save_LIBS
9433 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_nsl_gethostbyname" >&5
9434 $as_echo "$ac_cv_lib_nsl_gethostbyname" >&6; }
9435 if test "x$ac_cv_lib_nsl_gethostbyname" = xyes
; then :
9436 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lnsl"
9439 if test $ac_cv_lib_nsl_gethostbyname = no
; then
9440 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gethostbyname in -lbsd" >&5
9441 $as_echo_n "checking for gethostbyname in -lbsd... " >&6; }
9442 if ${ac_cv_lib_bsd_gethostbyname+:} false
; then :
9443 $as_echo_n "(cached) " >&6
9445 ac_check_lib_save_LIBS
=$LIBS
9447 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9448 /* end confdefs.h. */
9450 /* Override any GCC internal prototype to avoid an error.
9451 Use char because int might match the return type of a GCC
9452 builtin and then its argument prototype would still apply. */
9456 char gethostbyname ();
9460 return gethostbyname ();
9465 if ac_fn_c_try_link
"$LINENO"; then :
9466 ac_cv_lib_bsd_gethostbyname
=yes
9468 ac_cv_lib_bsd_gethostbyname
=no
9470 rm -f core conftest.err conftest.
$ac_objext \
9471 conftest
$ac_exeext conftest.
$ac_ext
9472 LIBS
=$ac_check_lib_save_LIBS
9474 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_bsd_gethostbyname" >&5
9475 $as_echo "$ac_cv_lib_bsd_gethostbyname" >&6; }
9476 if test "x$ac_cv_lib_bsd_gethostbyname" = xyes
; then :
9477 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lbsd"
9483 # lieder@skyler.mavd.honeywell.com says without -lsocket,
9484 # socket/setsockopt and other routines are undefined under SCO ODT
9485 # 2.0. But -lsocket is broken on IRIX 5.2 (and is not necessary
9486 # on later versions), says Simon Leinen: it contains gethostby*
9487 # variants that don't use the name server (or something). -lsocket
9488 # must be given before -lnsl if both are needed. We assume that
9489 # if connect needs -lnsl, so does gethostbyname.
9490 ac_fn_c_check_func
"$LINENO" "connect" "ac_cv_func_connect"
9491 if test "x$ac_cv_func_connect" = xyes
; then :
9495 if test $ac_cv_func_connect = no
; then
9496 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for connect in -lsocket" >&5
9497 $as_echo_n "checking for connect in -lsocket... " >&6; }
9498 if ${ac_cv_lib_socket_connect+:} false
; then :
9499 $as_echo_n "(cached) " >&6
9501 ac_check_lib_save_LIBS
=$LIBS
9502 LIBS
="-lsocket $X_EXTRA_LIBS $LIBS"
9503 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9504 /* end confdefs.h. */
9506 /* Override any GCC internal prototype to avoid an error.
9507 Use char because int might match the return type of a GCC
9508 builtin and then its argument prototype would still apply. */
9521 if ac_fn_c_try_link
"$LINENO"; then :
9522 ac_cv_lib_socket_connect
=yes
9524 ac_cv_lib_socket_connect
=no
9526 rm -f core conftest.err conftest.
$ac_objext \
9527 conftest
$ac_exeext conftest.
$ac_ext
9528 LIBS
=$ac_check_lib_save_LIBS
9530 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_socket_connect" >&5
9531 $as_echo "$ac_cv_lib_socket_connect" >&6; }
9532 if test "x$ac_cv_lib_socket_connect" = xyes
; then :
9533 X_EXTRA_LIBS
="-lsocket $X_EXTRA_LIBS"
9538 # Guillermo Gomez says -lposix is necessary on A/UX.
9539 ac_fn_c_check_func
"$LINENO" "remove" "ac_cv_func_remove"
9540 if test "x$ac_cv_func_remove" = xyes
; then :
9544 if test $ac_cv_func_remove = no
; then
9545 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for remove in -lposix" >&5
9546 $as_echo_n "checking for remove in -lposix... " >&6; }
9547 if ${ac_cv_lib_posix_remove+:} false
; then :
9548 $as_echo_n "(cached) " >&6
9550 ac_check_lib_save_LIBS
=$LIBS
9551 LIBS
="-lposix $LIBS"
9552 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9553 /* end confdefs.h. */
9555 /* Override any GCC internal prototype to avoid an error.
9556 Use char because int might match the return type of a GCC
9557 builtin and then its argument prototype would still apply. */
9570 if ac_fn_c_try_link
"$LINENO"; then :
9571 ac_cv_lib_posix_remove
=yes
9573 ac_cv_lib_posix_remove
=no
9575 rm -f core conftest.err conftest.
$ac_objext \
9576 conftest
$ac_exeext conftest.
$ac_ext
9577 LIBS
=$ac_check_lib_save_LIBS
9579 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_posix_remove" >&5
9580 $as_echo "$ac_cv_lib_posix_remove" >&6; }
9581 if test "x$ac_cv_lib_posix_remove" = xyes
; then :
9582 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lposix"
9587 # BSDI BSD/OS 2.1 needs -lipc for XOpenDisplay.
9588 ac_fn_c_check_func
"$LINENO" "shmat" "ac_cv_func_shmat"
9589 if test "x$ac_cv_func_shmat" = xyes
; then :
9593 if test $ac_cv_func_shmat = no
; then
9594 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shmat in -lipc" >&5
9595 $as_echo_n "checking for shmat in -lipc... " >&6; }
9596 if ${ac_cv_lib_ipc_shmat+:} false
; then :
9597 $as_echo_n "(cached) " >&6
9599 ac_check_lib_save_LIBS
=$LIBS
9601 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9602 /* end confdefs.h. */
9604 /* Override any GCC internal prototype to avoid an error.
9605 Use char because int might match the return type of a GCC
9606 builtin and then its argument prototype would still apply. */
9619 if ac_fn_c_try_link
"$LINENO"; then :
9620 ac_cv_lib_ipc_shmat
=yes
9622 ac_cv_lib_ipc_shmat
=no
9624 rm -f core conftest.err conftest.
$ac_objext \
9625 conftest
$ac_exeext conftest.
$ac_ext
9626 LIBS
=$ac_check_lib_save_LIBS
9628 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ipc_shmat" >&5
9629 $as_echo "$ac_cv_lib_ipc_shmat" >&6; }
9630 if test "x$ac_cv_lib_ipc_shmat" = xyes
; then :
9631 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lipc"
9637 # Check for libraries that X11R6 Xt/Xaw programs need.
9638 ac_save_LDFLAGS
=$LDFLAGS
9639 test -n "$x_libraries" && LDFLAGS
="$LDFLAGS -L$x_libraries"
9640 # SM needs ICE to (dynamically) link under SunOS 4.x (so we have to
9641 # check for ICE first), but we must link in the order -lSM -lICE or
9642 # we get undefined symbols. So assume we have SM if we have ICE.
9643 # These have to be linked with before -lX11, unlike the other
9644 # libraries we check for below, so use a different variable.
9645 # John Interrante, Karl Berry
9646 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for IceConnectionNumber in -lICE" >&5
9647 $as_echo_n "checking for IceConnectionNumber in -lICE... " >&6; }
9648 if ${ac_cv_lib_ICE_IceConnectionNumber+:} false
; then :
9649 $as_echo_n "(cached) " >&6
9651 ac_check_lib_save_LIBS
=$LIBS
9652 LIBS
="-lICE $X_EXTRA_LIBS $LIBS"
9653 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9654 /* end confdefs.h. */
9656 /* Override any GCC internal prototype to avoid an error.
9657 Use char because int might match the return type of a GCC
9658 builtin and then its argument prototype would still apply. */
9662 char IceConnectionNumber ();
9666 return IceConnectionNumber ();
9671 if ac_fn_c_try_link
"$LINENO"; then :
9672 ac_cv_lib_ICE_IceConnectionNumber
=yes
9674 ac_cv_lib_ICE_IceConnectionNumber
=no
9676 rm -f core conftest.err conftest.
$ac_objext \
9677 conftest
$ac_exeext conftest.
$ac_ext
9678 LIBS
=$ac_check_lib_save_LIBS
9680 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ICE_IceConnectionNumber" >&5
9681 $as_echo "$ac_cv_lib_ICE_IceConnectionNumber" >&6; }
9682 if test "x$ac_cv_lib_ICE_IceConnectionNumber" = xyes
; then :
9683 X_PRE_LIBS
="$X_PRE_LIBS -lSM -lICE"
9686 LDFLAGS
=$ac_save_LDFLAGS
9691 if test "$have_x" = "yes"
9693 ac_save_CPPFLAGS
="$CPPFLAGS"
9694 CPPFLAGS
="$CPPFLAGS $X_CFLAGS"
9696 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lX11" >&5
9697 $as_echo_n "checking for -lX11... " >&6; }
9698 if ${ac_cv_lib_soname_X11+:} false
; then :
9699 $as_echo_n "(cached) " >&6
9701 ac_check_soname_save_LIBS
=$LIBS
9702 LIBS
="-lX11 $X_LIBS $X_EXTRA_LIBS $LIBS"
9703 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9704 /* end confdefs.h. */
9706 /* Override any GCC internal prototype to avoid an error.
9707 Use char because int might match the return type of a GCC
9708 builtin and then its argument prototype would still apply. */
9712 char XCreateWindow ();
9716 return XCreateWindow ();
9721 if ac_fn_c_try_link
"$LINENO"; then :
9723 dll
) ac_cv_lib_soname_X11
=`$ac_cv_path_LDD conftest.exe | grep "X11" | sed -e "s/dll.*/dll/"';2,$d'` ;;
9724 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'` ;;
9725 *) ac_cv_lib_soname_X11
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libX11\\.$LIBEXT" | sed -e "s/^.*\\[\\(libX11\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
9726 if ${ac_cv_lib_soname_X11:+false} :; then :
9727 ac_cv_lib_soname_X11
=`$LDD conftest$ac_exeext | grep "libX11\\.$LIBEXT" | sed -e "s/^.*\(libX11\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
9731 rm -f core conftest.err conftest.
$ac_objext \
9732 conftest
$ac_exeext conftest.
$ac_ext
9733 LIBS
=$ac_check_soname_save_LIBS
9735 if ${ac_cv_lib_soname_X11:+false} :; then :
9736 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
9737 $as_echo "not found" >&6; }
9740 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_X11" >&5
9741 $as_echo "$ac_cv_lib_soname_X11" >&6; }
9743 cat >>confdefs.h
<<_ACEOF
9744 #define SONAME_LIBX11 "$ac_cv_lib_soname_X11"
9749 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXext" >&5
9750 $as_echo_n "checking for -lXext... " >&6; }
9751 if ${ac_cv_lib_soname_Xext+:} false
; then :
9752 $as_echo_n "(cached) " >&6
9754 ac_check_soname_save_LIBS
=$LIBS
9755 LIBS
="-lXext $X_LIBS -lX11 $X_EXTRA_LIBS $LIBS"
9756 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9757 /* end confdefs.h. */
9759 /* Override any GCC internal prototype to avoid an error.
9760 Use char because int might match the return type of a GCC
9761 builtin and then its argument prototype would still apply. */
9765 char XextCreateExtension ();
9769 return XextCreateExtension ();
9774 if ac_fn_c_try_link
"$LINENO"; then :
9776 dll
) ac_cv_lib_soname_Xext
=`$ac_cv_path_LDD conftest.exe | grep "Xext" | sed -e "s/dll.*/dll/"';2,$d'` ;;
9777 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'` ;;
9778 *) ac_cv_lib_soname_Xext
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXext\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXext\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
9779 if ${ac_cv_lib_soname_Xext:+false} :; then :
9780 ac_cv_lib_soname_Xext
=`$LDD conftest$ac_exeext | grep "libXext\\.$LIBEXT" | sed -e "s/^.*\(libXext\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
9784 rm -f core conftest.err conftest.
$ac_objext \
9785 conftest
$ac_exeext conftest.
$ac_ext
9786 LIBS
=$ac_check_soname_save_LIBS
9788 if ${ac_cv_lib_soname_Xext:+false} :; then :
9789 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
9790 $as_echo "not found" >&6; }
9793 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xext" >&5
9794 $as_echo "$ac_cv_lib_soname_Xext" >&6; }
9796 cat >>confdefs.h
<<_ACEOF
9797 #define SONAME_LIBXEXT "$ac_cv_lib_soname_Xext"
9800 X_LIBS
="$X_LIBS -lXext"
9802 X_LIBS
="$X_LIBS -lX11"
9804 for ac_header
in X11
/Xlib.h \
9807 X11
/Xcursor
/Xcursor.h \
9808 X11
/extensions
/shape.h \
9809 X11
/extensions
/XInput.h \
9810 X11
/extensions
/XInput2.h \
9811 X11
/extensions
/XShm.h \
9812 X11
/extensions
/Xcomposite.h \
9813 X11
/extensions
/Xinerama.h \
9814 X11
/extensions
/Xrandr.h \
9815 X11
/extensions
/Xrender.h \
9816 X11
/extensions
/xf86vmode.h \
9817 X11
/extensions
/xf86vmproto.h
9819 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
9820 ac_fn_c_check_header_compile
"$LINENO" "$ac_header" "$as_ac_Header" "#ifdef HAVE_X11_XLIB_H
9821 # include <X11/Xlib.h>
9823 #ifdef HAVE_X11_XUTIL_H
9824 # include <X11/Xutil.h>
9827 if eval test \"x\$
"$as_ac_Header"\" = x
"yes"; then :
9828 cat >>confdefs.h
<<_ACEOF
9829 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
9837 if test "$ac_cv_header_X11_XKBlib_h" = "yes"
9839 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XkbQueryExtension in -lX11" >&5
9840 $as_echo_n "checking for XkbQueryExtension in -lX11... " >&6; }
9841 if ${ac_cv_lib_X11_XkbQueryExtension+:} false
; then :
9842 $as_echo_n "(cached) " >&6
9844 ac_check_lib_save_LIBS
=$LIBS
9845 LIBS
="-lX11 $X_LIBS $X_EXTRA_LIBS $LIBS"
9846 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9847 /* end confdefs.h. */
9849 /* Override any GCC internal prototype to avoid an error.
9850 Use char because int might match the return type of a GCC
9851 builtin and then its argument prototype would still apply. */
9855 char XkbQueryExtension ();
9859 return XkbQueryExtension ();
9864 if ac_fn_c_try_link
"$LINENO"; then :
9865 ac_cv_lib_X11_XkbQueryExtension
=yes
9867 ac_cv_lib_X11_XkbQueryExtension
=no
9869 rm -f core conftest.err conftest.
$ac_objext \
9870 conftest
$ac_exeext conftest.
$ac_ext
9871 LIBS
=$ac_check_lib_save_LIBS
9873 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_X11_XkbQueryExtension" >&5
9874 $as_echo "$ac_cv_lib_X11_XkbQueryExtension" >&6; }
9875 if test "x$ac_cv_lib_X11_XkbQueryExtension" = xyes
; then :
9877 $as_echo "#define HAVE_XKB 1" >>confdefs.h
9883 if test "$ac_cv_header_X11_Xcursor_Xcursor_h" = "yes"
9885 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXcursor" >&5
9886 $as_echo_n "checking for -lXcursor... " >&6; }
9887 if ${ac_cv_lib_soname_Xcursor+:} false
; then :
9888 $as_echo_n "(cached) " >&6
9890 ac_check_soname_save_LIBS
=$LIBS
9891 LIBS
="-lXcursor $X_LIBS $X_EXTRA_LIBS $LIBS"
9892 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9893 /* end confdefs.h. */
9895 /* Override any GCC internal prototype to avoid an error.
9896 Use char because int might match the return type of a GCC
9897 builtin and then its argument prototype would still apply. */
9901 char XcursorImageLoadCursor ();
9905 return XcursorImageLoadCursor ();
9910 if ac_fn_c_try_link
"$LINENO"; then :
9912 dll
) ac_cv_lib_soname_Xcursor
=`$ac_cv_path_LDD conftest.exe | grep "Xcursor" | sed -e "s/dll.*/dll/"';2,$d'` ;;
9913 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'` ;;
9914 *) ac_cv_lib_soname_Xcursor
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXcursor\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXcursor\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
9915 if ${ac_cv_lib_soname_Xcursor:+false} :; then :
9916 ac_cv_lib_soname_Xcursor
=`$LDD conftest$ac_exeext | grep "libXcursor\\.$LIBEXT" | sed -e "s/^.*\(libXcursor\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
9920 rm -f core conftest.err conftest.
$ac_objext \
9921 conftest
$ac_exeext conftest.
$ac_ext
9922 LIBS
=$ac_check_soname_save_LIBS
9924 if ${ac_cv_lib_soname_Xcursor:+false} :; then :
9925 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
9926 $as_echo "not found" >&6; }
9929 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xcursor" >&5
9930 $as_echo "$ac_cv_lib_soname_Xcursor" >&6; }
9932 cat >>confdefs.h
<<_ACEOF
9933 #define SONAME_LIBXCURSOR "$ac_cv_lib_soname_Xcursor"
9939 if test "x$ac_cv_lib_soname_Xcursor" = "x"; then :
9940 case "x$with_xcursor" in
9941 x
) as_fn_append wine_notices
"|libxcursor ${notice_platform}development files not found, the Xcursor extension won't be supported." ;;
9943 *) as_fn_error $?
"libxcursor ${notice_platform}development files not found, the Xcursor extension won't be supported.
9944 This is an error since --with-xcursor was requested." "$LINENO" 5 ;;
9949 if test "$ac_cv_header_X11_extensions_XInput_h" = "yes"
9951 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXi" >&5
9952 $as_echo_n "checking for -lXi... " >&6; }
9953 if ${ac_cv_lib_soname_Xi+:} false
; then :
9954 $as_echo_n "(cached) " >&6
9956 ac_check_soname_save_LIBS
=$LIBS
9957 LIBS
="-lXi $X_LIBS $X_EXTRA_LIBS $LIBS"
9958 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9959 /* end confdefs.h. */
9961 /* Override any GCC internal prototype to avoid an error.
9962 Use char because int might match the return type of a GCC
9963 builtin and then its argument prototype would still apply. */
9967 char XOpenDevice ();
9971 return XOpenDevice ();
9976 if ac_fn_c_try_link
"$LINENO"; then :
9978 dll
) ac_cv_lib_soname_Xi
=`$ac_cv_path_LDD conftest.exe | grep "Xi" | sed -e "s/dll.*/dll/"';2,$d'` ;;
9979 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'` ;;
9980 *) ac_cv_lib_soname_Xi
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXi\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXi\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
9981 if ${ac_cv_lib_soname_Xi:+false} :; then :
9982 ac_cv_lib_soname_Xi
=`$LDD conftest$ac_exeext | grep "libXi\\.$LIBEXT" | sed -e "s/^.*\(libXi\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
9986 rm -f core conftest.err conftest.
$ac_objext \
9987 conftest
$ac_exeext conftest.
$ac_ext
9988 LIBS
=$ac_check_soname_save_LIBS
9990 if ${ac_cv_lib_soname_Xi:+false} :; then :
9991 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
9992 $as_echo "not found" >&6; }
9995 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xi" >&5
9996 $as_echo "$ac_cv_lib_soname_Xi" >&6; }
9998 cat >>confdefs.h
<<_ACEOF
9999 #define SONAME_LIBXI "$ac_cv_lib_soname_Xi"
10005 if test "x$ac_cv_lib_soname_Xi" = "x"; then :
10006 case "x$with_xinput" in
10007 x
) as_fn_append wine_notices
"|libxi ${notice_platform}development files not found, the Xinput extension won't be supported." ;;
10009 *) as_fn_error $?
"libxi ${notice_platform}development files not found, the Xinput extension won't be supported.
10010 This is an error since --with-xinput was requested." "$LINENO" 5 ;;
10015 if test "x$ac_cv_lib_soname_Xi" != x
10017 if test "$ac_cv_header_X11_extensions_XInput2_h" != "yes"; then :
10018 case "x$with_xinput2" in
10019 x
) as_fn_append wine_notices
"|XInput2 headers not found, the XInput 2 extension won't be supported." ;;
10021 *) as_fn_error $?
"XInput2 headers not found, the XInput 2 extension won't be supported.
10022 This is an error since --with-xinput2 was requested." "$LINENO" 5 ;;
10028 if test "$ac_cv_header_X11_extensions_XShm_h" = "yes"
10030 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XShmQueryExtension in -lXext" >&5
10031 $as_echo_n "checking for XShmQueryExtension in -lXext... " >&6; }
10032 if ${ac_cv_lib_Xext_XShmQueryExtension+:} false
; then :
10033 $as_echo_n "(cached) " >&6
10035 ac_check_lib_save_LIBS
=$LIBS
10036 LIBS
="-lXext $X_LIBS $X_EXTRA_LIBS $LIBS"
10037 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10038 /* end confdefs.h. */
10040 /* Override any GCC internal prototype to avoid an error.
10041 Use char because int might match the return type of a GCC
10042 builtin and then its argument prototype would still apply. */
10046 char XShmQueryExtension ();
10050 return XShmQueryExtension ();
10055 if ac_fn_c_try_link
"$LINENO"; then :
10056 ac_cv_lib_Xext_XShmQueryExtension
=yes
10058 ac_cv_lib_Xext_XShmQueryExtension
=no
10060 rm -f core conftest.err conftest.
$ac_objext \
10061 conftest
$ac_exeext conftest.
$ac_ext
10062 LIBS
=$ac_check_lib_save_LIBS
10064 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xext_XShmQueryExtension" >&5
10065 $as_echo "$ac_cv_lib_Xext_XShmQueryExtension" >&6; }
10066 if test "x$ac_cv_lib_Xext_XShmQueryExtension" = xyes
; then :
10068 $as_echo "#define HAVE_LIBXXSHM 1" >>confdefs.h
10073 if test "$ac_cv_lib_Xext_XShmQueryExtension" != "yes"; then :
10074 case "x$with_xshm" in
10075 x
) as_fn_append wine_notices
"|XShm ${notice_platform}development files not found, X Shared Memory won't be supported." ;;
10077 *) as_fn_error $?
"XShm ${notice_platform}development files not found, X Shared Memory won't be supported.
10078 This is an error since --with-xshm was requested." "$LINENO" 5 ;;
10083 if test "$ac_cv_header_X11_extensions_shape_h" = "yes"
10085 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XShapeQueryExtension in -lXext" >&5
10086 $as_echo_n "checking for XShapeQueryExtension in -lXext... " >&6; }
10087 if ${ac_cv_lib_Xext_XShapeQueryExtension+:} false
; then :
10088 $as_echo_n "(cached) " >&6
10090 ac_check_lib_save_LIBS
=$LIBS
10091 LIBS
="-lXext $X_LIBS $X_EXTRA_LIBS $LIBS"
10092 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10093 /* end confdefs.h. */
10095 /* Override any GCC internal prototype to avoid an error.
10096 Use char because int might match the return type of a GCC
10097 builtin and then its argument prototype would still apply. */
10101 char XShapeQueryExtension ();
10105 return XShapeQueryExtension ();
10110 if ac_fn_c_try_link
"$LINENO"; then :
10111 ac_cv_lib_Xext_XShapeQueryExtension
=yes
10113 ac_cv_lib_Xext_XShapeQueryExtension
=no
10115 rm -f core conftest.err conftest.
$ac_objext \
10116 conftest
$ac_exeext conftest.
$ac_ext
10117 LIBS
=$ac_check_lib_save_LIBS
10119 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xext_XShapeQueryExtension" >&5
10120 $as_echo "$ac_cv_lib_Xext_XShapeQueryExtension" >&6; }
10121 if test "x$ac_cv_lib_Xext_XShapeQueryExtension" = xyes
; then :
10123 $as_echo "#define HAVE_LIBXSHAPE 1" >>confdefs.h
10128 if test "$ac_cv_lib_Xext_XShapeQueryExtension" != "yes"; then :
10129 case "x$with_xshape" in
10130 x
) as_fn_append wine_notices
"|XShape ${notice_platform}development files not found, XShape won't be supported." ;;
10132 *) as_fn_error $?
"XShape ${notice_platform}development files not found, XShape won't be supported.
10133 This is an error since --with-xshape was requested." "$LINENO" 5 ;;
10138 if test "$ac_cv_header_X11_extensions_xf86vmode_h" = "yes" -o "$ac_cv_header_X11_extensions_xf86vmproto_h" = "yes"
10140 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXxf86vm" >&5
10141 $as_echo_n "checking for -lXxf86vm... " >&6; }
10142 if ${ac_cv_lib_soname_Xxf86vm+:} false
; then :
10143 $as_echo_n "(cached) " >&6
10145 ac_check_soname_save_LIBS
=$LIBS
10146 LIBS
="-lXxf86vm $X_LIBS $X_EXTRA_LIBS $LIBS"
10147 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10148 /* end confdefs.h. */
10150 /* Override any GCC internal prototype to avoid an error.
10151 Use char because int might match the return type of a GCC
10152 builtin and then its argument prototype would still apply. */
10156 char XF86VidModeQueryExtension ();
10160 return XF86VidModeQueryExtension ();
10165 if ac_fn_c_try_link
"$LINENO"; then :
10167 dll
) ac_cv_lib_soname_Xxf86vm
=`$ac_cv_path_LDD conftest.exe | grep "Xxf86vm" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10168 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'` ;;
10169 *) ac_cv_lib_soname_Xxf86vm
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXxf86vm\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXxf86vm\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10170 if ${ac_cv_lib_soname_Xxf86vm:+false} :; then :
10171 ac_cv_lib_soname_Xxf86vm
=`$LDD conftest$ac_exeext | grep "libXxf86vm\\.$LIBEXT" | sed -e "s/^.*\(libXxf86vm\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10175 rm -f core conftest.err conftest.
$ac_objext \
10176 conftest
$ac_exeext conftest.
$ac_ext
10177 LIBS
=$ac_check_soname_save_LIBS
10179 if ${ac_cv_lib_soname_Xxf86vm:+false} :; then :
10180 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10181 $as_echo "not found" >&6; }
10184 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xxf86vm" >&5
10185 $as_echo "$ac_cv_lib_soname_Xxf86vm" >&6; }
10187 cat >>confdefs.h
<<_ACEOF
10188 #define SONAME_LIBXXF86VM "$ac_cv_lib_soname_Xxf86vm"
10194 if test "x$ac_cv_lib_soname_Xxf86vm" = "x"; then :
10195 case "x$with_xxf86vm" in
10196 x
) as_fn_append wine_notices
"|libXxf86vm ${notice_platform}development files not found, XFree86 Vidmode won't be supported." ;;
10198 *) as_fn_error $?
"libXxf86vm ${notice_platform}development files not found, XFree86 Vidmode won't be supported.
10199 This is an error since --with-xxf86vm was requested." "$LINENO" 5 ;;
10204 if test "$ac_cv_header_X11_extensions_Xrender_h" = "yes" -a "x$ac_cv_lib_soname_X11" != "x"
10206 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXrender" >&5
10207 $as_echo_n "checking for -lXrender... " >&6; }
10208 if ${ac_cv_lib_soname_Xrender+:} false
; then :
10209 $as_echo_n "(cached) " >&6
10211 ac_check_soname_save_LIBS
=$LIBS
10212 LIBS
="-lXrender $X_LIBS $X_EXTRA_LIBS $LIBS"
10213 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10214 /* end confdefs.h. */
10216 /* Override any GCC internal prototype to avoid an error.
10217 Use char because int might match the return type of a GCC
10218 builtin and then its argument prototype would still apply. */
10222 char XRenderQueryExtension ();
10226 return XRenderQueryExtension ();
10231 if ac_fn_c_try_link
"$LINENO"; then :
10233 dll
) ac_cv_lib_soname_Xrender
=`$ac_cv_path_LDD conftest.exe | grep "Xrender" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10234 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'` ;;
10235 *) ac_cv_lib_soname_Xrender
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXrender\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXrender\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10236 if ${ac_cv_lib_soname_Xrender:+false} :; then :
10237 ac_cv_lib_soname_Xrender
=`$LDD conftest$ac_exeext | grep "libXrender\\.$LIBEXT" | sed -e "s/^.*\(libXrender\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10241 rm -f core conftest.err conftest.
$ac_objext \
10242 conftest
$ac_exeext conftest.
$ac_ext
10243 LIBS
=$ac_check_soname_save_LIBS
10245 if ${ac_cv_lib_soname_Xrender:+false} :; then :
10246 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10247 $as_echo "not found" >&6; }
10250 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xrender" >&5
10251 $as_echo "$ac_cv_lib_soname_Xrender" >&6; }
10253 cat >>confdefs.h
<<_ACEOF
10254 #define SONAME_LIBXRENDER "$ac_cv_lib_soname_Xrender"
10257 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XRenderSetPictureTransform in -lXrender" >&5
10258 $as_echo_n "checking for XRenderSetPictureTransform in -lXrender... " >&6; }
10259 if ${ac_cv_lib_Xrender_XRenderSetPictureTransform+:} false
; then :
10260 $as_echo_n "(cached) " >&6
10262 ac_check_lib_save_LIBS
=$LIBS
10263 LIBS
="-lXrender $X_LIBS $X_EXTRA_LIBS $LIBS"
10264 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10265 /* end confdefs.h. */
10267 /* Override any GCC internal prototype to avoid an error.
10268 Use char because int might match the return type of a GCC
10269 builtin and then its argument prototype would still apply. */
10273 char XRenderSetPictureTransform ();
10277 return XRenderSetPictureTransform ();
10282 if ac_fn_c_try_link
"$LINENO"; then :
10283 ac_cv_lib_Xrender_XRenderSetPictureTransform
=yes
10285 ac_cv_lib_Xrender_XRenderSetPictureTransform
=no
10287 rm -f core conftest.err conftest.
$ac_objext \
10288 conftest
$ac_exeext conftest.
$ac_ext
10289 LIBS
=$ac_check_lib_save_LIBS
10291 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xrender_XRenderSetPictureTransform" >&5
10292 $as_echo "$ac_cv_lib_Xrender_XRenderSetPictureTransform" >&6; }
10293 if test "x$ac_cv_lib_Xrender_XRenderSetPictureTransform" = xyes
; then :
10295 $as_echo "#define HAVE_XRENDERSETPICTURETRANSFORM 1" >>confdefs.h
10299 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XRenderCreateLinearGradient in -lXrender" >&5
10300 $as_echo_n "checking for XRenderCreateLinearGradient in -lXrender... " >&6; }
10301 if ${ac_cv_lib_Xrender_XRenderCreateLinearGradient+:} false
; then :
10302 $as_echo_n "(cached) " >&6
10304 ac_check_lib_save_LIBS
=$LIBS
10305 LIBS
="-lXrender $X_LIBS $X_EXTRA_LIBS $LIBS"
10306 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10307 /* end confdefs.h. */
10309 /* Override any GCC internal prototype to avoid an error.
10310 Use char because int might match the return type of a GCC
10311 builtin and then its argument prototype would still apply. */
10315 char XRenderCreateLinearGradient ();
10319 return XRenderCreateLinearGradient ();
10324 if ac_fn_c_try_link
"$LINENO"; then :
10325 ac_cv_lib_Xrender_XRenderCreateLinearGradient
=yes
10327 ac_cv_lib_Xrender_XRenderCreateLinearGradient
=no
10329 rm -f core conftest.err conftest.
$ac_objext \
10330 conftest
$ac_exeext conftest.
$ac_ext
10331 LIBS
=$ac_check_lib_save_LIBS
10333 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xrender_XRenderCreateLinearGradient" >&5
10334 $as_echo "$ac_cv_lib_Xrender_XRenderCreateLinearGradient" >&6; }
10335 if test "x$ac_cv_lib_Xrender_XRenderCreateLinearGradient" = xyes
; then :
10337 $as_echo "#define HAVE_XRENDERCREATELINEARGRADIENT 1" >>confdefs.h
10344 if test "x$ac_cv_lib_soname_Xrender" = "x"; then :
10345 case "x$with_xrender" in
10346 x
) as_fn_append wine_warnings
"|libxrender ${notice_platform}development files not found, XRender won't be supported." ;;
10348 *) as_fn_error $?
"libxrender ${notice_platform}development files not found, XRender won't be supported.
10349 This is an error since --with-xrender was requested." "$LINENO" 5 ;;
10354 if test "$ac_cv_header_X11_extensions_Xrandr_h" = "yes" -a "x$ac_cv_lib_soname_Xrender" != "x"
10356 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10357 /* end confdefs.h. */
10358 #include <X11/Xlib.h>
10359 #include <X11/extensions/Xrandr.h>
10363 static typeof(XRRSetScreenConfigAndRate) * func; if (func) return 0;
10368 if ac_fn_c_try_compile
"$LINENO"; then :
10369 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXrandr" >&5
10370 $as_echo_n "checking for -lXrandr... " >&6; }
10371 if ${ac_cv_lib_soname_Xrandr+:} false
; then :
10372 $as_echo_n "(cached) " >&6
10374 ac_check_soname_save_LIBS
=$LIBS
10375 LIBS
="-lXrandr $X_LIBS $X_EXTRA_LIBS $LIBS"
10376 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10377 /* end confdefs.h. */
10379 /* Override any GCC internal prototype to avoid an error.
10380 Use char because int might match the return type of a GCC
10381 builtin and then its argument prototype would still apply. */
10385 char XRRQueryExtension ();
10389 return XRRQueryExtension ();
10394 if ac_fn_c_try_link
"$LINENO"; then :
10396 dll
) ac_cv_lib_soname_Xrandr
=`$ac_cv_path_LDD conftest.exe | grep "Xrandr" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10397 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'` ;;
10398 *) ac_cv_lib_soname_Xrandr
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXrandr\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXrandr\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10399 if ${ac_cv_lib_soname_Xrandr:+false} :; then :
10400 ac_cv_lib_soname_Xrandr
=`$LDD conftest$ac_exeext | grep "libXrandr\\.$LIBEXT" | sed -e "s/^.*\(libXrandr\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10404 rm -f core conftest.err conftest.
$ac_objext \
10405 conftest
$ac_exeext conftest.
$ac_ext
10406 LIBS
=$ac_check_soname_save_LIBS
10408 if ${ac_cv_lib_soname_Xrandr:+false} :; then :
10409 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10410 $as_echo "not found" >&6; }
10413 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xrandr" >&5
10414 $as_echo "$ac_cv_lib_soname_Xrandr" >&6; }
10416 cat >>confdefs.h
<<_ACEOF
10417 #define SONAME_LIBXRANDR "$ac_cv_lib_soname_Xrandr"
10420 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10421 /* end confdefs.h. */
10422 #include <X11/Xlib.h>
10423 #include <X11/extensions/Xrandr.h>
10427 static typeof(XRRGetScreenResources) *f; if (f) return 0;
10432 if ac_fn_c_try_compile
"$LINENO"; then :
10434 $as_echo "#define HAVE_XRRGETSCREENRESOURCES 1" >>confdefs.h
10437 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
10440 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
10442 if test "x$ac_cv_lib_soname_Xrandr" = "x"; then :
10443 case "x$with_xrandr" in
10444 x
) as_fn_append wine_notices
"|libxrandr ${notice_platform}development files not found, XRandr won't be supported." ;;
10446 *) as_fn_error $?
"libxrandr ${notice_platform}development files not found, XRandr won't be supported.
10447 This is an error since --with-xrandr was requested." "$LINENO" 5 ;;
10452 if test "$ac_cv_header_X11_extensions_Xinerama_h" = "yes"
10454 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10455 /* end confdefs.h. */
10456 #include <X11/Xlib.h>
10457 #include <X11/extensions/Xinerama.h>
10461 static typeof(XineramaQueryScreens) * func; if (func) return 0;
10466 if ac_fn_c_try_compile
"$LINENO"; then :
10467 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXinerama" >&5
10468 $as_echo_n "checking for -lXinerama... " >&6; }
10469 if ${ac_cv_lib_soname_Xinerama+:} false
; then :
10470 $as_echo_n "(cached) " >&6
10472 ac_check_soname_save_LIBS
=$LIBS
10473 LIBS
="-lXinerama $X_LIBS $X_EXTRA_LIBS $LIBS"
10474 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10475 /* end confdefs.h. */
10477 /* Override any GCC internal prototype to avoid an error.
10478 Use char because int might match the return type of a GCC
10479 builtin and then its argument prototype would still apply. */
10483 char XineramaQueryScreens ();
10487 return XineramaQueryScreens ();
10492 if ac_fn_c_try_link
"$LINENO"; then :
10494 dll
) ac_cv_lib_soname_Xinerama
=`$ac_cv_path_LDD conftest.exe | grep "Xinerama" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10495 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'` ;;
10496 *) ac_cv_lib_soname_Xinerama
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXinerama\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXinerama\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10497 if ${ac_cv_lib_soname_Xinerama:+false} :; then :
10498 ac_cv_lib_soname_Xinerama
=`$LDD conftest$ac_exeext | grep "libXinerama\\.$LIBEXT" | sed -e "s/^.*\(libXinerama\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10502 rm -f core conftest.err conftest.
$ac_objext \
10503 conftest
$ac_exeext conftest.
$ac_ext
10504 LIBS
=$ac_check_soname_save_LIBS
10506 if ${ac_cv_lib_soname_Xinerama:+false} :; then :
10507 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10508 $as_echo "not found" >&6; }
10511 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xinerama" >&5
10512 $as_echo "$ac_cv_lib_soname_Xinerama" >&6; }
10514 cat >>confdefs.h
<<_ACEOF
10515 #define SONAME_LIBXINERAMA "$ac_cv_lib_soname_Xinerama"
10521 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
10523 if test "x$ac_cv_lib_soname_Xinerama" = "x"; then :
10524 case "x$with_xinerama" in
10525 x
) as_fn_append wine_notices
"|libxinerama ${notice_platform}development files not found, multi-monitor setups won't be supported." ;;
10527 *) as_fn_error $?
"libxinerama ${notice_platform}development files not found, multi-monitor setups won't be supported.
10528 This is an error since --with-xinerama was requested." "$LINENO" 5 ;;
10533 if test "$ac_cv_header_X11_extensions_Xcomposite_h" = "yes"
10535 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXcomposite" >&5
10536 $as_echo_n "checking for -lXcomposite... " >&6; }
10537 if ${ac_cv_lib_soname_Xcomposite+:} false
; then :
10538 $as_echo_n "(cached) " >&6
10540 ac_check_soname_save_LIBS
=$LIBS
10541 LIBS
="-lXcomposite $X_LIBS $X_EXTRA_LIBS $LIBS"
10542 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10543 /* end confdefs.h. */
10545 /* Override any GCC internal prototype to avoid an error.
10546 Use char because int might match the return type of a GCC
10547 builtin and then its argument prototype would still apply. */
10551 char XCompositeRedirectWindow ();
10555 return XCompositeRedirectWindow ();
10560 if ac_fn_c_try_link
"$LINENO"; then :
10562 dll
) ac_cv_lib_soname_Xcomposite
=`$ac_cv_path_LDD conftest.exe | grep "Xcomposite" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10563 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'` ;;
10564 *) ac_cv_lib_soname_Xcomposite
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXcomposite\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXcomposite\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10565 if ${ac_cv_lib_soname_Xcomposite:+false} :; then :
10566 ac_cv_lib_soname_Xcomposite
=`$LDD conftest$ac_exeext | grep "libXcomposite\\.$LIBEXT" | sed -e "s/^.*\(libXcomposite\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10570 rm -f core conftest.err conftest.
$ac_objext \
10571 conftest
$ac_exeext conftest.
$ac_ext
10572 LIBS
=$ac_check_soname_save_LIBS
10574 if ${ac_cv_lib_soname_Xcomposite:+false} :; then :
10575 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10576 $as_echo "not found" >&6; }
10579 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xcomposite" >&5
10580 $as_echo "$ac_cv_lib_soname_Xcomposite" >&6; }
10582 cat >>confdefs.h
<<_ACEOF
10583 #define SONAME_LIBXCOMPOSITE "$ac_cv_lib_soname_Xcomposite"
10589 if test "x$ac_cv_lib_soname_Xcomposite" = "x"; then :
10590 case "x$with_xcomposite" in
10591 x
) as_fn_append wine_notices
"|libxcomposite ${notice_platform}development files not found, Xcomposite won't be supported." ;;
10593 *) as_fn_error $?
"libxcomposite ${notice_platform}development files not found, Xcomposite won't be supported.
10594 This is an error since --with-xcomposite was requested." "$LINENO" 5 ;;
10599 ac_fn_c_check_member
"$LINENO" "XICCallback" "callback" "ac_cv_member_XICCallback_callback" "#ifdef HAVE_X11_XLIB_H
10600 #include <X11/Xlib.h>
10603 if test "x$ac_cv_member_XICCallback_callback" = xyes
; then :
10605 cat >>confdefs.h
<<_ACEOF
10606 #define HAVE_XICCALLBACK_CALLBACK 1
10611 ac_fn_c_check_member
"$LINENO" "XEvent" "xcookie" "ac_cv_member_XEvent_xcookie" "#ifdef HAVE_X11_XLIB_H
10612 #include <X11/Xlib.h>
10615 if test "x$ac_cv_member_XEvent_xcookie" = xyes
; then :
10617 cat >>confdefs.h
<<_ACEOF
10618 #define HAVE_XEVENT_XCOOKIE 1
10627 if test "x$with_opengl" != "xno"
10629 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lGL" >&5
10630 $as_echo_n "checking for -lGL... " >&6; }
10631 if ${ac_cv_lib_soname_GL+:} false
; then :
10632 $as_echo_n "(cached) " >&6
10634 ac_check_soname_save_LIBS
=$LIBS
10635 LIBS
="-lGL $X_LIBS -lm $X_EXTRA_LIBS $LIBS"
10636 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10637 /* end confdefs.h. */
10639 /* Override any GCC internal prototype to avoid an error.
10640 Use char because int might match the return type of a GCC
10641 builtin and then its argument prototype would still apply. */
10645 char glXCreateContext ();
10649 return glXCreateContext ();
10654 if ac_fn_c_try_link
"$LINENO"; then :
10656 dll
) ac_cv_lib_soname_GL
=`$ac_cv_path_LDD conftest.exe | grep "GL" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10657 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'` ;;
10658 *) ac_cv_lib_soname_GL
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libGL\\.$LIBEXT" | sed -e "s/^.*\\[\\(libGL\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10659 if ${ac_cv_lib_soname_GL:+false} :; then :
10660 ac_cv_lib_soname_GL
=`$LDD conftest$ac_exeext | grep "libGL\\.$LIBEXT" | sed -e "s/^.*\(libGL\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10664 rm -f core conftest.err conftest.
$ac_objext \
10665 conftest
$ac_exeext conftest.
$ac_ext
10666 LIBS
=$ac_check_soname_save_LIBS
10668 if ${ac_cv_lib_soname_GL:+false} :; then :
10669 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10670 $as_echo "not found" >&6; }
10671 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lGL" >&5
10672 $as_echo_n "checking for -lGL... " >&6; }
10673 if ${ac_cv_lib_soname_GL+:} false
; then :
10674 $as_echo_n "(cached) " >&6
10676 ac_check_soname_save_LIBS
=$LIBS
10677 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"
10678 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10679 /* end confdefs.h. */
10681 /* Override any GCC internal prototype to avoid an error.
10682 Use char because int might match the return type of a GCC
10683 builtin and then its argument prototype would still apply. */
10687 char glXCreateContext ();
10691 return glXCreateContext ();
10696 if ac_fn_c_try_link
"$LINENO"; then :
10698 dll
) ac_cv_lib_soname_GL
=`$ac_cv_path_LDD conftest.exe | grep "GL" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10699 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'` ;;
10700 *) ac_cv_lib_soname_GL
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libGL\\.$LIBEXT" | sed -e "s/^.*\\[\\(libGL\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10701 if ${ac_cv_lib_soname_GL:+false} :; then :
10702 ac_cv_lib_soname_GL
=`$LDD conftest$ac_exeext | grep "libGL\\.$LIBEXT" | sed -e "s/^.*\(libGL\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10706 rm -f core conftest.err conftest.
$ac_objext \
10707 conftest
$ac_exeext conftest.
$ac_ext
10708 LIBS
=$ac_check_soname_save_LIBS
10710 if ${ac_cv_lib_soname_GL:+false} :; then :
10711 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10712 $as_echo "not found" >&6; }
10713 if test -f /usr
/X11R
6/lib
/libGL.a
10715 opengl_msg
="/usr/X11R6/lib/libGL.a is present on your system.
10716 This probably prevents linking to OpenGL. Try deleting the file and restarting configure."
10718 opengl_msg
="No OpenGL library found on this system."
10721 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_GL" >&5
10722 $as_echo "$ac_cv_lib_soname_GL" >&6; }
10724 cat >>confdefs.h
<<_ACEOF
10725 #define SONAME_LIBGL "$ac_cv_lib_soname_GL"
10728 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"
10731 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_GL" >&5
10732 $as_echo "$ac_cv_lib_soname_GL" >&6; }
10734 cat >>confdefs.h
<<_ACEOF
10735 #define SONAME_LIBGL "$ac_cv_lib_soname_GL"
10740 if test "x$with_glu" != "xno"
10742 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gluLookAt in -lGLU" >&5
10743 $as_echo_n "checking for gluLookAt in -lGLU... " >&6; }
10744 if ${ac_cv_lib_GLU_gluLookAt+:} false
; then :
10745 $as_echo_n "(cached) " >&6
10747 ac_check_lib_save_LIBS
=$LIBS
10748 LIBS
="-lGLU $OPENGL_LIBS $X_LIBS -lm $X_EXTRA_LIBS $LIBS"
10749 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10750 /* end confdefs.h. */
10752 /* Override any GCC internal prototype to avoid an error.
10753 Use char because int might match the return type of a GCC
10754 builtin and then its argument prototype would still apply. */
10762 return gluLookAt ();
10767 if ac_fn_c_try_link
"$LINENO"; then :
10768 ac_cv_lib_GLU_gluLookAt
=yes
10770 ac_cv_lib_GLU_gluLookAt
=no
10772 rm -f core conftest.err conftest.
$ac_objext \
10773 conftest
$ac_exeext conftest.
$ac_ext
10774 LIBS
=$ac_check_lib_save_LIBS
10776 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_GLU_gluLookAt" >&5
10777 $as_echo "$ac_cv_lib_GLU_gluLookAt" >&6; }
10778 if test "x$ac_cv_lib_GLU_gluLookAt" = xyes
; then :
10782 if test "x$ac_cv_lib_GLU_gluLookAt" != xyes
; then :
10783 case "x$with_glu" in
10784 x
) as_fn_append wine_notices
"|libGLU ${notice_platform}development files not found, GLU won't be supported." ;;
10786 *) as_fn_error $?
"libGLU ${notice_platform}development files not found, GLU won't be supported.
10787 This is an error since --with-glu was requested." "$LINENO" 5 ;;
10793 if test "x$with_osmesa" != "xno"
10795 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lOSMesa" >&5
10796 $as_echo_n "checking for -lOSMesa... " >&6; }
10797 if ${ac_cv_lib_soname_OSMesa+:} false
; then :
10798 $as_echo_n "(cached) " >&6
10800 ac_check_soname_save_LIBS
=$LIBS
10801 LIBS
="-lOSMesa $X_LIBS -lm $X_EXTRA_LIBS $LIBS"
10802 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10803 /* end confdefs.h. */
10805 /* Override any GCC internal prototype to avoid an error.
10806 Use char because int might match the return type of a GCC
10807 builtin and then its argument prototype would still apply. */
10820 if ac_fn_c_try_link
"$LINENO"; then :
10822 dll
) ac_cv_lib_soname_OSMesa
=`$ac_cv_path_LDD conftest.exe | grep "OSMesa" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10823 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'` ;;
10824 *) ac_cv_lib_soname_OSMesa
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libOSMesa\\.$LIBEXT" | sed -e "s/^.*\\[\\(libOSMesa\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10825 if ${ac_cv_lib_soname_OSMesa:+false} :; then :
10826 ac_cv_lib_soname_OSMesa
=`$LDD conftest$ac_exeext | grep "libOSMesa\\.$LIBEXT" | sed -e "s/^.*\(libOSMesa\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10830 rm -f core conftest.err conftest.
$ac_objext \
10831 conftest
$ac_exeext conftest.
$ac_ext
10832 LIBS
=$ac_check_soname_save_LIBS
10834 if ${ac_cv_lib_soname_OSMesa:+false} :; then :
10835 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10836 $as_echo "not found" >&6; }
10839 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_OSMesa" >&5
10840 $as_echo "$ac_cv_lib_soname_OSMesa" >&6; }
10842 cat >>confdefs.h
<<_ACEOF
10843 #define SONAME_LIBOSMESA "$ac_cv_lib_soname_OSMesa"
10848 if test "x$ac_cv_lib_soname_OSMesa" = "x"; then :
10849 case "x$with_osmesa" in
10850 x
) as_fn_append wine_notices
"|libOSMesa ${notice_platform}development files not found (or too old), OpenGL rendering in bitmaps won't be supported." ;;
10852 *) as_fn_error $?
"libOSMesa ${notice_platform}development files not found (or too old), OpenGL rendering in bitmaps won't be supported.
10853 This is an error since --with-osmesa was requested." "$LINENO" 5 ;;
10859 if test -n "$opengl_msg"; then :
10860 case "x$with_opengl" in
10861 x
) as_fn_append wine_warnings
"|$opengl_msg
10862 OpenGL and Direct3D won't be supported." ;;
10864 *) as_fn_error $?
"$opengl_msg
10865 OpenGL and Direct3D won't be supported.
10866 This is an error since --with-opengl was requested." "$LINENO" 5 ;;
10871 CPPFLAGS
="$ac_save_CPPFLAGS"
10876 if test "x$X_LIBS" = "x"; then :
10879 *) as_fn_error $?
"X ${notice_platform}development files not found. Wine will be built
10880 without X support, which probably isn't what you want. You will need
10881 to install ${notice_platform}development packages of Xlib/Xfree86 at the very least.
10882 Use the --without-x option if you really want this." "$LINENO" 5 ;;
10884 enable_winex11_drv
=${enable_winex11_drv:-no}
10887 test "x$ac_cv_lib_GLU_gluLookAt" != xyes
&& enable_glu32
=${enable_glu32:-no}
10889 if test "$ac_cv_header_CL_cl_h" = "yes"
10891 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for clGetPlatformInfo in -lOpenCL" >&5
10892 $as_echo_n "checking for clGetPlatformInfo in -lOpenCL... " >&6; }
10893 if ${ac_cv_lib_OpenCL_clGetPlatformInfo+:} false
; then :
10894 $as_echo_n "(cached) " >&6
10896 ac_check_lib_save_LIBS
=$LIBS
10897 LIBS
="-lOpenCL $LIBS"
10898 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10899 /* end confdefs.h. */
10901 /* Override any GCC internal prototype to avoid an error.
10902 Use char because int might match the return type of a GCC
10903 builtin and then its argument prototype would still apply. */
10907 char clGetPlatformInfo ();
10911 return clGetPlatformInfo ();
10916 if ac_fn_c_try_link
"$LINENO"; then :
10917 ac_cv_lib_OpenCL_clGetPlatformInfo
=yes
10919 ac_cv_lib_OpenCL_clGetPlatformInfo
=no
10921 rm -f core conftest.err conftest.
$ac_objext \
10922 conftest
$ac_exeext conftest.
$ac_ext
10923 LIBS
=$ac_check_lib_save_LIBS
10925 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_OpenCL_clGetPlatformInfo" >&5
10926 $as_echo "$ac_cv_lib_OpenCL_clGetPlatformInfo" >&6; }
10927 if test "x$ac_cv_lib_OpenCL_clGetPlatformInfo" = xyes
; then :
10928 OPENCL_LIBS
="-lOpenCL"
10933 if test "x$ac_cv_lib_OpenCL_clGetPlatformInfo" != xyes
; then :
10934 case "x$with_opencl" in
10935 x
) as_fn_append wine_notices
"|OpenCL ${notice_platform}development files not found, OpenCL won't be supported." ;;
10937 *) as_fn_error $?
"OpenCL ${notice_platform}development files not found, OpenCL won't be supported.
10938 This is an error since --with-opencl was requested." "$LINENO" 5 ;;
10940 enable_opencl
=${enable_opencl:-no}
10943 if test "$ac_cv_header_pcap_pcap_h" = "yes"
10945 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pcap_create in -lpcap" >&5
10946 $as_echo_n "checking for pcap_create in -lpcap... " >&6; }
10947 if ${ac_cv_lib_pcap_pcap_create+:} false
; then :
10948 $as_echo_n "(cached) " >&6
10950 ac_check_lib_save_LIBS
=$LIBS
10951 LIBS
="-lpcap $LIBS"
10952 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10953 /* end confdefs.h. */
10955 /* Override any GCC internal prototype to avoid an error.
10956 Use char because int might match the return type of a GCC
10957 builtin and then its argument prototype would still apply. */
10961 char pcap_create ();
10965 return pcap_create ();
10970 if ac_fn_c_try_link
"$LINENO"; then :
10971 ac_cv_lib_pcap_pcap_create
=yes
10973 ac_cv_lib_pcap_pcap_create
=no
10975 rm -f core conftest.err conftest.
$ac_objext \
10976 conftest
$ac_exeext conftest.
$ac_ext
10977 LIBS
=$ac_check_lib_save_LIBS
10979 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_pcap_pcap_create" >&5
10980 $as_echo "$ac_cv_lib_pcap_pcap_create" >&6; }
10981 if test "x$ac_cv_lib_pcap_pcap_create" = xyes
; then :
10987 if test "x$ac_cv_lib_pcap_pcap_create" != xyes
; then :
10988 case "x$with_pcap" in
10989 x
) as_fn_append wine_notices
"|pcap ${notice_platform}development files not found, wpcap won't be supported." ;;
10991 *) as_fn_error $?
"pcap ${notice_platform}development files not found, wpcap won't be supported.
10992 This is an error since --with-pcap was requested." "$LINENO" 5 ;;
10994 enable_wpcap
=${enable_wpcap:-no}
10998 if test "x$with_xml" != "xno"
11000 if ${XML2_CFLAGS:+false} :; then :
11001 if ${PKG_CONFIG+:} false
; then :
11002 XML2_CFLAGS
=`$PKG_CONFIG --cflags libxml-2.0 2>/dev/null`
11005 test "$cross_compiling" = yes || XML2_CFLAGS
=${XML2_CFLAGS:-`${XML2_CONFIG:-xml2-config} --cflags 2>/dev/null`}
11006 if ${XML2_LIBS:+false} :; then :
11007 if ${PKG_CONFIG+:} false
; then :
11008 XML2_LIBS
=`$PKG_CONFIG --libs libxml-2.0 2>/dev/null`
11011 test "$cross_compiling" = yes || XML2_LIBS
=${XML2_LIBS:-`${XML2_CONFIG:-xml2-config} --libs 2>/dev/null`}
11012 XML2_LIBS
=${XML2_LIBS:-"-lxml2"}
11013 $as_echo "$as_me:${as_lineno-$LINENO}: libxml-2.0 cflags: $XML2_CFLAGS" >&5
11014 $as_echo "$as_me:${as_lineno-$LINENO}: libxml-2.0 libs: $XML2_LIBS" >&5
11015 ac_save_CPPFLAGS
=$CPPFLAGS
11016 CPPFLAGS
="$CPPFLAGS $XML2_CFLAGS"
11017 for ac_header
in libxml
/parser.h libxml
/xmlsave.h libxml
/SAX2.h
11019 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
11020 ac_fn_c_check_header_mongrel
"$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
11021 if eval test \"x\$
"$as_ac_Header"\" = x
"yes"; then :
11022 cat >>confdefs.h
<<_ACEOF
11023 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
11030 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"
11032 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlParseMemory in -lxml2" >&5
11033 $as_echo_n "checking for xmlParseMemory in -lxml2... " >&6; }
11034 if ${ac_cv_lib_xml2_xmlParseMemory+:} false
; then :
11035 $as_echo_n "(cached) " >&6
11037 ac_check_lib_save_LIBS
=$LIBS
11038 LIBS
="-lxml2 $XML2_LIBS $LIBS"
11039 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11040 /* end confdefs.h. */
11042 /* Override any GCC internal prototype to avoid an error.
11043 Use char because int might match the return type of a GCC
11044 builtin and then its argument prototype would still apply. */
11048 char xmlParseMemory ();
11052 return xmlParseMemory ();
11057 if ac_fn_c_try_link
"$LINENO"; then :
11058 ac_cv_lib_xml2_xmlParseMemory
=yes
11060 ac_cv_lib_xml2_xmlParseMemory
=no
11062 rm -f core conftest.err conftest.
$ac_objext \
11063 conftest
$ac_exeext conftest.
$ac_ext
11064 LIBS
=$ac_check_lib_save_LIBS
11066 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlParseMemory" >&5
11067 $as_echo "$ac_cv_lib_xml2_xmlParseMemory" >&6; }
11068 if test "x$ac_cv_lib_xml2_xmlParseMemory" = xyes
; then :
11070 $as_echo "#define HAVE_LIBXML2 1" >>confdefs.h
11076 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlReadMemory in -lxml2" >&5
11077 $as_echo_n "checking for xmlReadMemory in -lxml2... " >&6; }
11078 if ${ac_cv_lib_xml2_xmlReadMemory+:} false
; then :
11079 $as_echo_n "(cached) " >&6
11081 ac_check_lib_save_LIBS
=$LIBS
11082 LIBS
="-lxml2 $XML2_LIBS $LIBS"
11083 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11084 /* end confdefs.h. */
11086 /* Override any GCC internal prototype to avoid an error.
11087 Use char because int might match the return type of a GCC
11088 builtin and then its argument prototype would still apply. */
11092 char xmlReadMemory ();
11096 return xmlReadMemory ();
11101 if ac_fn_c_try_link
"$LINENO"; then :
11102 ac_cv_lib_xml2_xmlReadMemory
=yes
11104 ac_cv_lib_xml2_xmlReadMemory
=no
11106 rm -f core conftest.err conftest.
$ac_objext \
11107 conftest
$ac_exeext conftest.
$ac_ext
11108 LIBS
=$ac_check_lib_save_LIBS
11110 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlReadMemory" >&5
11111 $as_echo "$ac_cv_lib_xml2_xmlReadMemory" >&6; }
11112 if test "x$ac_cv_lib_xml2_xmlReadMemory" = xyes
; then :
11114 $as_echo "#define HAVE_XMLREADMEMORY 1" >>confdefs.h
11118 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlNewDocPI in -lxml2" >&5
11119 $as_echo_n "checking for xmlNewDocPI in -lxml2... " >&6; }
11120 if ${ac_cv_lib_xml2_xmlNewDocPI+:} false
; then :
11121 $as_echo_n "(cached) " >&6
11123 ac_check_lib_save_LIBS
=$LIBS
11124 LIBS
="-lxml2 $XML2_LIBS $LIBS"
11125 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11126 /* end confdefs.h. */
11128 /* Override any GCC internal prototype to avoid an error.
11129 Use char because int might match the return type of a GCC
11130 builtin and then its argument prototype would still apply. */
11134 char xmlNewDocPI ();
11138 return xmlNewDocPI ();
11143 if ac_fn_c_try_link
"$LINENO"; then :
11144 ac_cv_lib_xml2_xmlNewDocPI
=yes
11146 ac_cv_lib_xml2_xmlNewDocPI
=no
11148 rm -f core conftest.err conftest.
$ac_objext \
11149 conftest
$ac_exeext conftest.
$ac_ext
11150 LIBS
=$ac_check_lib_save_LIBS
11152 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlNewDocPI" >&5
11153 $as_echo "$ac_cv_lib_xml2_xmlNewDocPI" >&6; }
11154 if test "x$ac_cv_lib_xml2_xmlNewDocPI" = xyes
; then :
11156 $as_echo "#define HAVE_XMLNEWDOCPI 1" >>confdefs.h
11160 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlSchemaSetParserStructuredErrors in -lxml2" >&5
11161 $as_echo_n "checking for xmlSchemaSetParserStructuredErrors in -lxml2... " >&6; }
11162 if ${ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors+:} false
; then :
11163 $as_echo_n "(cached) " >&6
11165 ac_check_lib_save_LIBS
=$LIBS
11166 LIBS
="-lxml2 $XML2_LIBS $LIBS"
11167 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11168 /* end confdefs.h. */
11170 /* Override any GCC internal prototype to avoid an error.
11171 Use char because int might match the return type of a GCC
11172 builtin and then its argument prototype would still apply. */
11176 char xmlSchemaSetParserStructuredErrors ();
11180 return xmlSchemaSetParserStructuredErrors ();
11185 if ac_fn_c_try_link
"$LINENO"; then :
11186 ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors
=yes
11188 ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors
=no
11190 rm -f core conftest.err conftest.
$ac_objext \
11191 conftest
$ac_exeext conftest.
$ac_ext
11192 LIBS
=$ac_check_lib_save_LIBS
11194 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors" >&5
11195 $as_echo "$ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors" >&6; }
11196 if test "x$ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors" = xyes
; then :
11198 $as_echo "#define HAVE_XMLSCHEMASSETPARSERSTRUCTUREDERRORS 1" >>confdefs.h
11202 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlSchemaSetValidStructuredErrors in -lxml2" >&5
11203 $as_echo_n "checking for xmlSchemaSetValidStructuredErrors in -lxml2... " >&6; }
11204 if ${ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors+:} false
; then :
11205 $as_echo_n "(cached) " >&6
11207 ac_check_lib_save_LIBS
=$LIBS
11208 LIBS
="-lxml2 $XML2_LIBS $LIBS"
11209 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11210 /* end confdefs.h. */
11212 /* Override any GCC internal prototype to avoid an error.
11213 Use char because int might match the return type of a GCC
11214 builtin and then its argument prototype would still apply. */
11218 char xmlSchemaSetValidStructuredErrors ();
11222 return xmlSchemaSetValidStructuredErrors ();
11227 if ac_fn_c_try_link
"$LINENO"; then :
11228 ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors
=yes
11230 ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors
=no
11232 rm -f core conftest.err conftest.
$ac_objext \
11233 conftest
$ac_exeext conftest.
$ac_ext
11234 LIBS
=$ac_check_lib_save_LIBS
11236 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors" >&5
11237 $as_echo "$ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors" >&6; }
11238 if test "x$ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors" = xyes
; then :
11240 $as_echo "#define HAVE_XMLSCHEMASSETVALIDSTRUCTUREDERRORS 1" >>confdefs.h
11244 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlFirstElementChild in -lxml2" >&5
11245 $as_echo_n "checking for xmlFirstElementChild in -lxml2... " >&6; }
11246 if ${ac_cv_lib_xml2_xmlFirstElementChild+:} false
; then :
11247 $as_echo_n "(cached) " >&6
11249 ac_check_lib_save_LIBS
=$LIBS
11250 LIBS
="-lxml2 $XML2_LIBS $LIBS"
11251 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11252 /* end confdefs.h. */
11254 /* Override any GCC internal prototype to avoid an error.
11255 Use char because int might match the return type of a GCC
11256 builtin and then its argument prototype would still apply. */
11260 char xmlFirstElementChild ();
11264 return xmlFirstElementChild ();
11269 if ac_fn_c_try_link
"$LINENO"; then :
11270 ac_cv_lib_xml2_xmlFirstElementChild
=yes
11272 ac_cv_lib_xml2_xmlFirstElementChild
=no
11274 rm -f core conftest.err conftest.
$ac_objext \
11275 conftest
$ac_exeext conftest.
$ac_ext
11276 LIBS
=$ac_check_lib_save_LIBS
11278 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlFirstElementChild" >&5
11279 $as_echo "$ac_cv_lib_xml2_xmlFirstElementChild" >&6; }
11280 if test "x$ac_cv_lib_xml2_xmlFirstElementChild" = xyes
; then :
11282 $as_echo "#define HAVE_XMLFIRSTELEMENTCHILD 1" >>confdefs.h
11286 ac_fn_c_check_type
"$LINENO" "xmlDocProperties" "ac_cv_type_xmlDocProperties" "#include <libxml/tree.h>
11288 if test "x$ac_cv_type_xmlDocProperties" = xyes
; then :
11290 $as_echo "#define HAVE_XMLDOC_PROPERTIES 1" >>confdefs.h
11298 CPPFLAGS
=$ac_save_CPPFLAGS
11299 test -z "$XML2_CFLAGS" || XML2_CFLAGS
=`echo " $XML2_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
11300 test -z "$XML2_LIBS" || XML2_LIBS
=`echo " $XML2_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
11303 if test "$ac_cv_lib_xml2_xmlParseMemory" != "yes"; then :
11304 case "x$with_xml" in
11305 x
) as_fn_append wine_warnings
"|libxml2 ${notice_platform}development files not found (or too old), XML won't be supported." ;;
11307 *) as_fn_error $?
"libxml2 ${notice_platform}development files not found (or too old), XML won't be supported.
11308 This is an error since --with-xml was requested." "$LINENO" 5 ;;
11313 if test "x$with_xslt" != "xno"
11315 if ${XSLT_CFLAGS:+false} :; then :
11316 if ${PKG_CONFIG+:} false
; then :
11317 XSLT_CFLAGS
=`$PKG_CONFIG --cflags libxslt 2>/dev/null`
11320 test "$cross_compiling" = yes || XSLT_CFLAGS
=${XSLT_CFLAGS:-`${XSLT_CONFIG:-xslt-config} --cflags 2>/dev/null`}
11321 if ${XSLT_LIBS:+false} :; then :
11322 if ${PKG_CONFIG+:} false
; then :
11323 XSLT_LIBS
=`$PKG_CONFIG --libs libxslt 2>/dev/null`
11326 test "$cross_compiling" = yes || XSLT_LIBS
=${XSLT_LIBS:-`${XSLT_CONFIG:-xslt-config} --libs 2>/dev/null`}
11327 XSLT_LIBS
=${XSLT_LIBS:-"-lxml2"}
11328 $as_echo "$as_me:${as_lineno-$LINENO}: libxslt cflags: $XSLT_CFLAGS" >&5
11329 $as_echo "$as_me:${as_lineno-$LINENO}: libxslt libs: $XSLT_LIBS" >&5
11330 ac_save_CPPFLAGS
=$CPPFLAGS
11331 CPPFLAGS
="$CPPFLAGS $XSLT_CFLAGS"
11332 for ac_header
in libxslt
/pattern.h libxslt
/transform.h
11334 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
11335 ac_fn_c_check_header_compile
"$LINENO" "$ac_header" "$as_ac_Header" "#ifdef HAVE_LIBXSLT_PATTERN_H
11336 # include <libxslt/pattern.h>
11339 if eval test \"x\$
"$as_ac_Header"\" = x
"yes"; then :
11340 cat >>confdefs.h
<<_ACEOF
11341 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
11348 if test "$ac_cv_header_libxslt_transform_h" = "yes"
11350 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lxslt" >&5
11351 $as_echo_n "checking for -lxslt... " >&6; }
11352 if ${ac_cv_lib_soname_xslt+:} false
; then :
11353 $as_echo_n "(cached) " >&6
11355 ac_check_soname_save_LIBS
=$LIBS
11356 LIBS
="-lxslt $XSLT_LIBS $LIBS"
11357 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11358 /* end confdefs.h. */
11360 /* Override any GCC internal prototype to avoid an error.
11361 Use char because int might match the return type of a GCC
11362 builtin and then its argument prototype would still apply. */
11366 char xsltCompilePattern ();
11370 return xsltCompilePattern ();
11375 if ac_fn_c_try_link
"$LINENO"; then :
11377 dll
) ac_cv_lib_soname_xslt
=`$ac_cv_path_LDD conftest.exe | grep "xslt" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11378 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'` ;;
11379 *) ac_cv_lib_soname_xslt
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libxslt\\.$LIBEXT" | sed -e "s/^.*\\[\\(libxslt\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
11380 if ${ac_cv_lib_soname_xslt:+false} :; then :
11381 ac_cv_lib_soname_xslt
=`$LDD conftest$ac_exeext | grep "libxslt\\.$LIBEXT" | sed -e "s/^.*\(libxslt\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11385 rm -f core conftest.err conftest.
$ac_objext \
11386 conftest
$ac_exeext conftest.
$ac_ext
11387 LIBS
=$ac_check_soname_save_LIBS
11389 if ${ac_cv_lib_soname_xslt:+false} :; then :
11390 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11391 $as_echo "not found" >&6; }
11394 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_xslt" >&5
11395 $as_echo "$ac_cv_lib_soname_xslt" >&6; }
11397 cat >>confdefs.h
<<_ACEOF
11398 #define SONAME_LIBXSLT "$ac_cv_lib_soname_xslt"
11406 CPPFLAGS
=$ac_save_CPPFLAGS
11407 test -z "$XSLT_CFLAGS" || XSLT_CFLAGS
=`echo " $XSLT_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
11408 test -z "$XSLT_LIBS" || XSLT_LIBS
=`echo " $XSLT_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
11411 if test "x$ac_cv_lib_soname_xslt" = "x"; then :
11412 case "x$with_xslt" in
11413 x
) as_fn_append wine_warnings
"|libxslt ${notice_platform}development files not found, xslt won't be supported." ;;
11415 *) as_fn_error $?
"libxslt ${notice_platform}development files not found, xslt won't be supported.
11416 This is an error since --with-xslt was requested." "$LINENO" 5 ;;
11421 if test "x$with_dbus" != "xno"
11423 if ${DBUS_CFLAGS:+false} :; then :
11424 if ${PKG_CONFIG+:} false
; then :
11425 DBUS_CFLAGS
=`$PKG_CONFIG --cflags dbus-1 2>/dev/null`
11429 if ${DBUS_LIBS:+false} :; then :
11430 if ${PKG_CONFIG+:} false
; then :
11431 DBUS_LIBS
=`$PKG_CONFIG --libs dbus-1 2>/dev/null`
11436 $as_echo "$as_me:${as_lineno-$LINENO}: dbus-1 cflags: $DBUS_CFLAGS" >&5
11437 $as_echo "$as_me:${as_lineno-$LINENO}: dbus-1 libs: $DBUS_LIBS" >&5
11438 ac_save_CPPFLAGS
=$CPPFLAGS
11439 CPPFLAGS
="$CPPFLAGS $DBUS_CFLAGS"
11440 ac_fn_c_check_header_mongrel
"$LINENO" "dbus/dbus.h" "ac_cv_header_dbus_dbus_h" "$ac_includes_default"
11441 if test "x$ac_cv_header_dbus_dbus_h" = xyes
; then :
11442 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -ldbus-1" >&5
11443 $as_echo_n "checking for -ldbus-1... " >&6; }
11444 if ${ac_cv_lib_soname_dbus_1+:} false
; then :
11445 $as_echo_n "(cached) " >&6
11447 ac_check_soname_save_LIBS
=$LIBS
11448 LIBS
="-ldbus-1 $DBUS_LIBS $LIBS"
11449 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11450 /* end confdefs.h. */
11452 /* Override any GCC internal prototype to avoid an error.
11453 Use char because int might match the return type of a GCC
11454 builtin and then its argument prototype would still apply. */
11458 char dbus_connection_close ();
11462 return dbus_connection_close ();
11467 if ac_fn_c_try_link
"$LINENO"; then :
11469 dll
) ac_cv_lib_soname_dbus_1
=`$ac_cv_path_LDD conftest.exe | grep "dbus-1" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11470 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'` ;;
11471 *) 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'`
11472 if ${ac_cv_lib_soname_dbus_1:+false} :; then :
11473 ac_cv_lib_soname_dbus_1
=`$LDD conftest$ac_exeext | grep "libdbus-1\\.$LIBEXT" | sed -e "s/^.*\(libdbus-1\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11477 rm -f core conftest.err conftest.
$ac_objext \
11478 conftest
$ac_exeext conftest.
$ac_ext
11479 LIBS
=$ac_check_soname_save_LIBS
11481 if ${ac_cv_lib_soname_dbus_1:+false} :; then :
11482 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11483 $as_echo "not found" >&6; }
11486 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_dbus_1" >&5
11487 $as_echo "$ac_cv_lib_soname_dbus_1" >&6; }
11489 cat >>confdefs.h
<<_ACEOF
11490 #define SONAME_LIBDBUS_1 "$ac_cv_lib_soname_dbus_1"
11500 CPPFLAGS
=$ac_save_CPPFLAGS
11501 test -z "$DBUS_CFLAGS" || DBUS_CFLAGS
=`echo " $DBUS_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
11502 test -z "$DBUS_LIBS" || DBUS_LIBS
=`echo " $DBUS_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
11505 if test "x$ac_cv_lib_soname_dbus_1" = "x" -a \
11506 "x$ac_cv_header_DiskArbitration_DiskArbitration_h" != "xyes"; then :
11507 case "x$with_dbus" in
11508 x
) as_fn_append wine_notices
"|libdbus ${notice_platform}development files not found, no dynamic device support." ;;
11510 *) as_fn_error $?
"libdbus ${notice_platform}development files not found, no dynamic device support.
11511 This is an error since --with-dbus was requested." "$LINENO" 5 ;;
11516 if test "x$with_hal" != "xno" -a "x$ac_cv_lib_soname_dbus_1" != x
11518 if ${HAL_CFLAGS:+false} :; then :
11519 if ${PKG_CONFIG+:} false
; then :
11520 HAL_CFLAGS
=`$PKG_CONFIG --cflags hal 2>/dev/null`
11524 if ${HAL_LIBS:+false} :; then :
11525 if ${PKG_CONFIG+:} false
; then :
11526 HAL_LIBS
=`$PKG_CONFIG --libs hal 2>/dev/null`
11530 HAL_LIBS
=${HAL_LIBS:-"-ldbus-1"}
11531 $as_echo "$as_me:${as_lineno-$LINENO}: hal cflags: $HAL_CFLAGS" >&5
11532 $as_echo "$as_me:${as_lineno-$LINENO}: hal libs: $HAL_LIBS" >&5
11533 ac_save_CPPFLAGS
=$CPPFLAGS
11534 CPPFLAGS
="$CPPFLAGS $HAL_CFLAGS"
11535 ac_fn_c_check_header_mongrel
"$LINENO" "hal/libhal.h" "ac_cv_header_hal_libhal_h" "$ac_includes_default"
11536 if test "x$ac_cv_header_hal_libhal_h" = xyes
; then :
11537 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lhal" >&5
11538 $as_echo_n "checking for -lhal... " >&6; }
11539 if ${ac_cv_lib_soname_hal+:} false
; then :
11540 $as_echo_n "(cached) " >&6
11542 ac_check_soname_save_LIBS
=$LIBS
11543 LIBS
="-lhal $HAL_LIBS $LIBS"
11544 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11545 /* end confdefs.h. */
11547 /* Override any GCC internal prototype to avoid an error.
11548 Use char because int might match the return type of a GCC
11549 builtin and then its argument prototype would still apply. */
11553 char libhal_ctx_new ();
11557 return libhal_ctx_new ();
11562 if ac_fn_c_try_link
"$LINENO"; then :
11564 dll
) ac_cv_lib_soname_hal
=`$ac_cv_path_LDD conftest.exe | grep "hal" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11565 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'` ;;
11566 *) ac_cv_lib_soname_hal
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libhal\\.$LIBEXT" | sed -e "s/^.*\\[\\(libhal\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
11567 if ${ac_cv_lib_soname_hal:+false} :; then :
11568 ac_cv_lib_soname_hal
=`$LDD conftest$ac_exeext | grep "libhal\\.$LIBEXT" | sed -e "s/^.*\(libhal\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11572 rm -f core conftest.err conftest.
$ac_objext \
11573 conftest
$ac_exeext conftest.
$ac_ext
11574 LIBS
=$ac_check_soname_save_LIBS
11576 if ${ac_cv_lib_soname_hal:+false} :; then :
11577 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11578 $as_echo "not found" >&6; }
11581 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_hal" >&5
11582 $as_echo "$ac_cv_lib_soname_hal" >&6; }
11584 cat >>confdefs.h
<<_ACEOF
11585 #define SONAME_LIBHAL "$ac_cv_lib_soname_hal"
11595 CPPFLAGS
=$ac_save_CPPFLAGS
11596 test -z "$HAL_CFLAGS" || HAL_CFLAGS
=`echo " $HAL_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
11597 test -z "$HAL_LIBS" || HAL_LIBS
=`echo " $HAL_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
11599 if test "x$ac_cv_lib_soname_hal" = "x" -a \
11600 "x$ac_cv_header_DiskArbitration_DiskArbitration_h" != "xyes"; then :
11601 case "x$with_hal" in
11602 x
) as_fn_append wine_notices
"|libhal ${notice_platform}development files not found, no legacy dynamic device support." ;;
11604 *) as_fn_error $?
"libhal ${notice_platform}development files not found, no legacy dynamic device support.
11605 This is an error since --with-hal was requested." "$LINENO" 5 ;;
11611 if test "x$with_gnutls" != "xno"
11613 if ${GNUTLS_CFLAGS:+false} :; then :
11614 if ${PKG_CONFIG+:} false
; then :
11615 GNUTLS_CFLAGS
=`$PKG_CONFIG --cflags gnutls 2>/dev/null`
11619 if ${GNUTLS_LIBS:+false} :; then :
11620 if ${PKG_CONFIG+:} false
; then :
11621 GNUTLS_LIBS
=`$PKG_CONFIG --libs gnutls 2>/dev/null`
11626 $as_echo "$as_me:${as_lineno-$LINENO}: gnutls cflags: $GNUTLS_CFLAGS" >&5
11627 $as_echo "$as_me:${as_lineno-$LINENO}: gnutls libs: $GNUTLS_LIBS" >&5
11628 ac_save_CPPFLAGS
=$CPPFLAGS
11629 CPPFLAGS
="$CPPFLAGS $GNUTLS_CFLAGS"
11630 ac_fn_c_check_header_mongrel
"$LINENO" "gnutls/gnutls.h" "ac_cv_header_gnutls_gnutls_h" "$ac_includes_default"
11631 if test "x$ac_cv_header_gnutls_gnutls_h" = xyes
; then :
11632 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11633 /* end confdefs.h. */
11634 #include <gnutls/gnutls.h>
11635 #include <gnutls/crypto.h>
11639 static typeof(gnutls_mac_get_key_size) *func; if (func) return 0;
11644 if ac_fn_c_try_compile
"$LINENO"; then :
11645 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lgnutls" >&5
11646 $as_echo_n "checking for -lgnutls... " >&6; }
11647 if ${ac_cv_lib_soname_gnutls+:} false
; then :
11648 $as_echo_n "(cached) " >&6
11650 ac_check_soname_save_LIBS
=$LIBS
11651 LIBS
="-lgnutls $GNUTLS_LIBS $LIBS"
11652 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11653 /* end confdefs.h. */
11655 /* Override any GCC internal prototype to avoid an error.
11656 Use char because int might match the return type of a GCC
11657 builtin and then its argument prototype would still apply. */
11661 char gnutls_global_init ();
11665 return gnutls_global_init ();
11670 if ac_fn_c_try_link
"$LINENO"; then :
11672 dll
) ac_cv_lib_soname_gnutls
=`$ac_cv_path_LDD conftest.exe | grep "gnutls" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11673 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'` ;;
11674 *) 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'`
11675 if ${ac_cv_lib_soname_gnutls:+false} :; then :
11676 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'`
11680 rm -f core conftest.err conftest.
$ac_objext \
11681 conftest
$ac_exeext conftest.
$ac_ext
11682 LIBS
=$ac_check_soname_save_LIBS
11684 if ${ac_cv_lib_soname_gnutls:+false} :; then :
11685 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11686 $as_echo "not found" >&6; }
11689 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_gnutls" >&5
11690 $as_echo "$ac_cv_lib_soname_gnutls" >&6; }
11692 cat >>confdefs.h
<<_ACEOF
11693 #define SONAME_LIBGNUTLS "$ac_cv_lib_soname_gnutls"
11698 ac_wine_check_funcs_save_LIBS
="$LIBS"
11699 LIBS
="$LIBS $GNUTLS_LIBS"
11700 for ac_func
in gnutls_hash
11702 ac_fn_c_check_func
"$LINENO" "gnutls_hash" "ac_cv_func_gnutls_hash"
11703 if test "x$ac_cv_func_gnutls_hash" = xyes
; then :
11704 cat >>confdefs.h
<<_ACEOF
11705 #define HAVE_GNUTLS_HASH 1
11709 as_fn_append wine_notices
"|libgnutls ${notice_platform}development files too old, no bcrypt hash support."
11713 LIBS
="$ac_wine_check_funcs_save_LIBS"
11715 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
11721 CPPFLAGS
=$ac_save_CPPFLAGS
11722 test -z "$GNUTLS_CFLAGS" || GNUTLS_CFLAGS
=`echo " $GNUTLS_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
11723 test -z "$GNUTLS_LIBS" || GNUTLS_LIBS
=`echo " $GNUTLS_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
11726 if test "x$ac_cv_lib_soname_gnutls" = "x"; then :
11727 case "x$with_gnutls" in
11728 x
) as_fn_append wine_warnings
"|libgnutls ${notice_platform}development files not found, no schannel support." ;;
11730 *) as_fn_error $?
"libgnutls ${notice_platform}development files not found, no schannel support.
11731 This is an error since --with-gnutls was requested." "$LINENO" 5 ;;
11737 if test "$ac_cv_header_ncurses_h" = "yes"
11739 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lncurses" >&5
11740 $as_echo_n "checking for -lncurses... " >&6; }
11741 if ${ac_cv_lib_soname_ncurses+:} false
; then :
11742 $as_echo_n "(cached) " >&6
11744 ac_check_soname_save_LIBS
=$LIBS
11745 LIBS
="-lncurses $LIBS"
11746 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11747 /* end confdefs.h. */
11749 /* Override any GCC internal prototype to avoid an error.
11750 Use char because int might match the return type of a GCC
11751 builtin and then its argument prototype would still apply. */
11764 if ac_fn_c_try_link
"$LINENO"; then :
11766 dll
) ac_cv_lib_soname_ncurses
=`$ac_cv_path_LDD conftest.exe | grep "ncurses" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11767 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'` ;;
11768 *) 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'`
11769 if ${ac_cv_lib_soname_ncurses:+false} :; then :
11770 ac_cv_lib_soname_ncurses
=`$LDD conftest$ac_exeext | grep "libncursesw\\{0,1\\}\\.$LIBEXT" | sed -e "s/^.*\(libncursesw\\{0,1\\}\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11774 rm -f core conftest.err conftest.
$ac_objext \
11775 conftest
$ac_exeext conftest.
$ac_ext
11776 LIBS
=$ac_check_soname_save_LIBS
11778 if ${ac_cv_lib_soname_ncurses:+false} :; then :
11779 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11780 $as_echo "not found" >&6; }
11783 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_ncurses" >&5
11784 $as_echo "$ac_cv_lib_soname_ncurses" >&6; }
11786 cat >>confdefs.h
<<_ACEOF
11787 #define SONAME_LIBNCURSES "$ac_cv_lib_soname_ncurses"
11790 CURSES_LIBS
="-lncurses"
11792 elif test "$ac_cv_header_curses_h" = "yes"
11794 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lcurses" >&5
11795 $as_echo_n "checking for -lcurses... " >&6; }
11796 if ${ac_cv_lib_soname_curses+:} false
; then :
11797 $as_echo_n "(cached) " >&6
11799 ac_check_soname_save_LIBS
=$LIBS
11800 LIBS
="-lcurses $LIBS"
11801 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11802 /* end confdefs.h. */
11804 /* Override any GCC internal prototype to avoid an error.
11805 Use char because int might match the return type of a GCC
11806 builtin and then its argument prototype would still apply. */
11819 if ac_fn_c_try_link
"$LINENO"; then :
11821 dll
) ac_cv_lib_soname_curses
=`$ac_cv_path_LDD conftest.exe | grep "curses" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11822 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'` ;;
11823 *) ac_cv_lib_soname_curses
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libcurses\\.$LIBEXT" | sed -e "s/^.*\\[\\(libcurses\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
11824 if ${ac_cv_lib_soname_curses:+false} :; then :
11825 ac_cv_lib_soname_curses
=`$LDD conftest$ac_exeext | grep "libcurses\\.$LIBEXT" | sed -e "s/^.*\(libcurses\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11829 rm -f core conftest.err conftest.
$ac_objext \
11830 conftest
$ac_exeext conftest.
$ac_ext
11831 LIBS
=$ac_check_soname_save_LIBS
11833 if ${ac_cv_lib_soname_curses:+false} :; then :
11834 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11835 $as_echo "not found" >&6; }
11838 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_curses" >&5
11839 $as_echo "$ac_cv_lib_soname_curses" >&6; }
11841 cat >>confdefs.h
<<_ACEOF
11842 #define SONAME_LIBCURSES "$ac_cv_lib_soname_curses"
11845 CURSES_LIBS
="-lcurses"
11848 ac_save_LIBS
="$LIBS"
11849 LIBS
="$LIBS $CURSES_LIBS"
11850 for ac_func
in mousemask
11852 ac_fn_c_check_func
"$LINENO" "mousemask" "ac_cv_func_mousemask"
11853 if test "x$ac_cv_func_mousemask" = xyes
; then :
11854 cat >>confdefs.h
<<_ACEOF
11855 #define HAVE_MOUSEMASK 1
11861 LIBS
="$ac_save_LIBS"
11862 if test "x$ac_cv_lib_soname_curses$ac_cv_lib_soname_ncurses" = "x"; then :
11863 case "x$with_curses" in
11864 x
) as_fn_append wine_notices
"|lib(n)curses ${notice_platform}development files not found, curses won't be supported." ;;
11866 *) as_fn_error $?
"lib(n)curses ${notice_platform}development files not found, curses won't be supported.
11867 This is an error since --with-curses was requested." "$LINENO" 5 ;;
11872 if test "x$with_sane" != "xno"
11874 if ${SANE_CFLAGS:+false} :; then :
11875 if ${PKG_CONFIG+:} false
; then :
11876 SANE_CFLAGS
=`$PKG_CONFIG --cflags libsane 2>/dev/null`
11879 test "$cross_compiling" = yes || SANE_CFLAGS
=${SANE_CFLAGS:-`${SANE_CONFIG:-sane-config} --cflags 2>/dev/null`}
11880 if ${SANE_LIBS:+false} :; then :
11881 if ${PKG_CONFIG+:} false
; then :
11882 SANE_LIBS
=`$PKG_CONFIG --libs libsane 2>/dev/null`
11885 test "$cross_compiling" = yes || SANE_LIBS
=${SANE_LIBS:-`${SANE_CONFIG:-sane-config} --ldflags 2>/dev/null`}
11887 $as_echo "$as_me:${as_lineno-$LINENO}: libsane cflags: $SANE_CFLAGS" >&5
11888 $as_echo "$as_me:${as_lineno-$LINENO}: libsane libs: $SANE_LIBS" >&5
11889 ac_save_CPPFLAGS
=$CPPFLAGS
11890 CPPFLAGS
="$CPPFLAGS $SANE_CFLAGS"
11891 ac_fn_c_check_header_mongrel
"$LINENO" "sane/sane.h" "ac_cv_header_sane_sane_h" "$ac_includes_default"
11892 if test "x$ac_cv_header_sane_sane_h" = xyes
; then :
11893 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lsane" >&5
11894 $as_echo_n "checking for -lsane... " >&6; }
11895 if ${ac_cv_lib_soname_sane+:} false
; then :
11896 $as_echo_n "(cached) " >&6
11898 ac_check_soname_save_LIBS
=$LIBS
11899 LIBS
="-lsane $SANE_LIBS $LIBS"
11900 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11901 /* end confdefs.h. */
11903 /* Override any GCC internal prototype to avoid an error.
11904 Use char because int might match the return type of a GCC
11905 builtin and then its argument prototype would still apply. */
11913 return sane_init ();
11918 if ac_fn_c_try_link
"$LINENO"; then :
11920 dll
) ac_cv_lib_soname_sane
=`$ac_cv_path_LDD conftest.exe | grep "sane" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11921 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'` ;;
11922 *) ac_cv_lib_soname_sane
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libsane\\.$LIBEXT" | sed -e "s/^.*\\[\\(libsane\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
11923 if ${ac_cv_lib_soname_sane:+false} :; then :
11924 ac_cv_lib_soname_sane
=`$LDD conftest$ac_exeext | grep "libsane\\.$LIBEXT" | sed -e "s/^.*\(libsane\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11928 rm -f core conftest.err conftest.
$ac_objext \
11929 conftest
$ac_exeext conftest.
$ac_ext
11930 LIBS
=$ac_check_soname_save_LIBS
11932 if ${ac_cv_lib_soname_sane:+false} :; then :
11933 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11934 $as_echo "not found" >&6; }
11937 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_sane" >&5
11938 $as_echo "$ac_cv_lib_soname_sane" >&6; }
11940 cat >>confdefs.h
<<_ACEOF
11941 #define SONAME_LIBSANE "$ac_cv_lib_soname_sane"
11951 CPPFLAGS
=$ac_save_CPPFLAGS
11952 test -z "$SANE_CFLAGS" || SANE_CFLAGS
=`echo " $SANE_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
11953 test -z "$SANE_LIBS" || SANE_LIBS
=`echo " $SANE_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
11956 if test "x$ac_cv_lib_soname_sane" = "x"; then :
11957 case "x$with_sane" in
11958 x
) as_fn_append wine_notices
"|libsane ${notice_platform}development files not found, scanners won't be supported." ;;
11960 *) as_fn_error $?
"libsane ${notice_platform}development files not found, scanners won't be supported.
11961 This is an error since --with-sane was requested." "$LINENO" 5 ;;
11966 if test "x$with_v4l" != "xno"
11968 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lv4l1" >&5
11969 $as_echo_n "checking for -lv4l1... " >&6; }
11970 if ${ac_cv_lib_soname_v4l1+:} false
; then :
11971 $as_echo_n "(cached) " >&6
11973 ac_check_soname_save_LIBS
=$LIBS
11974 LIBS
="-lv4l1 $LIBS"
11975 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11976 /* end confdefs.h. */
11978 /* Override any GCC internal prototype to avoid an error.
11979 Use char because int might match the return type of a GCC
11980 builtin and then its argument prototype would still apply. */
11988 return v4l1_open ();
11993 if ac_fn_c_try_link
"$LINENO"; then :
11995 dll
) ac_cv_lib_soname_v4l1
=`$ac_cv_path_LDD conftest.exe | grep "v4l1" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11996 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'` ;;
11997 *) ac_cv_lib_soname_v4l1
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libv4l1\\.$LIBEXT" | sed -e "s/^.*\\[\\(libv4l1\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
11998 if ${ac_cv_lib_soname_v4l1:+false} :; then :
11999 ac_cv_lib_soname_v4l1
=`$LDD conftest$ac_exeext | grep "libv4l1\\.$LIBEXT" | sed -e "s/^.*\(libv4l1\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
12003 rm -f core conftest.err conftest.
$ac_objext \
12004 conftest
$ac_exeext conftest.
$ac_ext
12005 LIBS
=$ac_check_soname_save_LIBS
12007 if ${ac_cv_lib_soname_v4l1:+false} :; then :
12008 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
12009 $as_echo "not found" >&6; }
12012 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_v4l1" >&5
12013 $as_echo "$ac_cv_lib_soname_v4l1" >&6; }
12015 cat >>confdefs.h
<<_ACEOF
12016 #define SONAME_LIBV4L1 "$ac_cv_lib_soname_v4l1"
12022 if test "x$ac_cv_lib_soname_v4l1" = "x"; then :
12023 case "x$with_v4l" in
12024 x
) as_fn_append wine_notices
"|libv4l ${notice_platform}development files not found." ;;
12026 *) as_fn_error $?
"libv4l ${notice_platform}development files not found.
12027 This is an error since --with-v4l was requested." "$LINENO" 5 ;;
12032 if test "x$with_gphoto" != "xno"
12034 if ${GPHOTO2_CFLAGS:+false} :; then :
12035 if ${PKG_CONFIG+:} false
; then :
12036 GPHOTO2_CFLAGS
=`$PKG_CONFIG --cflags libgphoto2 2>/dev/null`
12039 test "$cross_compiling" = yes || GPHOTO2_CFLAGS
=${GPHOTO2_CFLAGS:-`${GPHOTO2_CONFIG:-gphoto2-config} --cflags 2>/dev/null`}
12040 if ${GPHOTO2_LIBS:+false} :; then :
12041 if ${PKG_CONFIG+:} false
; then :
12042 GPHOTO2_LIBS
=`$PKG_CONFIG --libs libgphoto2 2>/dev/null`
12045 test "$cross_compiling" = yes || GPHOTO2_LIBS
=${GPHOTO2_LIBS:-`${GPHOTO2_CONFIG:-gphoto2-config} --libs 2>/dev/null`}
12046 GPHOTO2_LIBS
=${GPHOTO2_LIBS:-"-lgphoto2"}
12047 $as_echo "$as_me:${as_lineno-$LINENO}: libgphoto2 cflags: $GPHOTO2_CFLAGS" >&5
12048 $as_echo "$as_me:${as_lineno-$LINENO}: libgphoto2 libs: $GPHOTO2_LIBS" >&5
12049 ac_save_CPPFLAGS
=$CPPFLAGS
12050 CPPFLAGS
="$CPPFLAGS $GPHOTO2_CFLAGS"
12051 ac_fn_c_check_header_mongrel
"$LINENO" "gphoto2-camera.h" "ac_cv_header_gphoto2_camera_h" "$ac_includes_default"
12052 if test "x$ac_cv_header_gphoto2_camera_h" = xyes
; then :
12053 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gp_camera_new in -lgphoto2" >&5
12054 $as_echo_n "checking for gp_camera_new in -lgphoto2... " >&6; }
12055 if ${ac_cv_lib_gphoto2_gp_camera_new+:} false
; then :
12056 $as_echo_n "(cached) " >&6
12058 ac_check_lib_save_LIBS
=$LIBS
12059 LIBS
="-lgphoto2 $GPHOTO2_LIBS $LIBS"
12060 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12061 /* end confdefs.h. */
12063 /* Override any GCC internal prototype to avoid an error.
12064 Use char because int might match the return type of a GCC
12065 builtin and then its argument prototype would still apply. */
12069 char gp_camera_new ();
12073 return gp_camera_new ();
12078 if ac_fn_c_try_link
"$LINENO"; then :
12079 ac_cv_lib_gphoto2_gp_camera_new
=yes
12081 ac_cv_lib_gphoto2_gp_camera_new
=no
12083 rm -f core conftest.err conftest.
$ac_objext \
12084 conftest
$ac_exeext conftest.
$ac_ext
12085 LIBS
=$ac_check_lib_save_LIBS
12087 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gphoto2_gp_camera_new" >&5
12088 $as_echo "$ac_cv_lib_gphoto2_gp_camera_new" >&6; }
12089 if test "x$ac_cv_lib_gphoto2_gp_camera_new" = xyes
; then :
12091 $as_echo "#define HAVE_GPHOTO2 1" >>confdefs.h
12094 GPHOTO2_LIBS
=""; GPHOTO2_CFLAGS
=""
12098 GPHOTO2_LIBS
=""; GPHOTO2_CFLAGS
=""
12102 CPPFLAGS
=$ac_save_CPPFLAGS
12103 test -z "$GPHOTO2_CFLAGS" || GPHOTO2_CFLAGS
=`echo " $GPHOTO2_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
12104 test -z "$GPHOTO2_LIBS" || GPHOTO2_LIBS
=`echo " $GPHOTO2_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
12106 if ${GPHOTO2_PORT_CFLAGS:+false} :; then :
12107 if ${PKG_CONFIG+:} false
; then :
12108 GPHOTO2_PORT_CFLAGS
=`$PKG_CONFIG --cflags libgphoto2_port 2>/dev/null`
12111 test "$cross_compiling" = yes || GPHOTO2_PORT_CFLAGS
=${GPHOTO2_PORT_CFLAGS:-`${GPHOTO2_PORT_CONFIG:-gphoto2-port-config} --cflags 2>/dev/null`}
12112 if ${GPHOTO2_PORT_LIBS:+false} :; then :
12113 if ${PKG_CONFIG+:} false
; then :
12114 GPHOTO2_PORT_LIBS
=`$PKG_CONFIG --libs libgphoto2_port 2>/dev/null`
12117 test "$cross_compiling" = yes || GPHOTO2_PORT_LIBS
=${GPHOTO2_PORT_LIBS:-`${GPHOTO2_PORT_CONFIG:-gphoto2-port-config} --libs 2>/dev/null`}
12118 GPHOTO2_PORT_LIBS
=${GPHOTO2_PORT_LIBS:-"-lgphoto2_port"}
12119 $as_echo "$as_me:${as_lineno-$LINENO}: libgphoto2_port cflags: $GPHOTO2_PORT_CFLAGS" >&5
12120 $as_echo "$as_me:${as_lineno-$LINENO}: libgphoto2_port libs: $GPHOTO2_PORT_LIBS" >&5
12121 ac_save_CPPFLAGS
=$CPPFLAGS
12122 CPPFLAGS
="$CPPFLAGS $GPHOTO2_PORT_CFLAGS"
12123 ac_fn_c_check_header_mongrel
"$LINENO" "gphoto2-port.h" "ac_cv_header_gphoto2_port_h" "$ac_includes_default"
12124 if test "x$ac_cv_header_gphoto2_port_h" = xyes
; then :
12125 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gp_port_info_list_new in -lgphoto2_port" >&5
12126 $as_echo_n "checking for gp_port_info_list_new in -lgphoto2_port... " >&6; }
12127 if ${ac_cv_lib_gphoto2_port_gp_port_info_list_new+:} false
; then :
12128 $as_echo_n "(cached) " >&6
12130 ac_check_lib_save_LIBS
=$LIBS
12131 LIBS
="-lgphoto2_port $GPHOTO2_PORT_LIBS $LIBS"
12132 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12133 /* end confdefs.h. */
12135 /* Override any GCC internal prototype to avoid an error.
12136 Use char because int might match the return type of a GCC
12137 builtin and then its argument prototype would still apply. */
12141 char gp_port_info_list_new ();
12145 return gp_port_info_list_new ();
12150 if ac_fn_c_try_link
"$LINENO"; then :
12151 ac_cv_lib_gphoto2_port_gp_port_info_list_new
=yes
12153 ac_cv_lib_gphoto2_port_gp_port_info_list_new
=no
12155 rm -f core conftest.err conftest.
$ac_objext \
12156 conftest
$ac_exeext conftest.
$ac_ext
12157 LIBS
=$ac_check_lib_save_LIBS
12159 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gphoto2_port_gp_port_info_list_new" >&5
12160 $as_echo "$ac_cv_lib_gphoto2_port_gp_port_info_list_new" >&6; }
12161 if test "x$ac_cv_lib_gphoto2_port_gp_port_info_list_new" = xyes
; then :
12163 $as_echo "#define HAVE_GPHOTO2_PORT 1" >>confdefs.h
12166 GPHOTO2_PORT_LIBS
=""; GPHOTO2_PORT_CFLAGS
=""
12170 GPHOTO2_PORT_LIBS
=""; GPHOTO2_PORT_CFLAGS
=""
12174 CPPFLAGS
=$ac_save_CPPFLAGS
12175 test -z "$GPHOTO2_PORT_CFLAGS" || GPHOTO2_PORT_CFLAGS
=`echo " $GPHOTO2_PORT_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
12176 test -z "$GPHOTO2_PORT_LIBS" || GPHOTO2_PORT_LIBS
=`echo " $GPHOTO2_PORT_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
12179 if test "$ac_cv_lib_gphoto2_gp_camera_new" != "yes"; then :
12180 case "x$with_gphoto" in
12181 x
) as_fn_append wine_notices
"|libgphoto2 ${notice_platform}development files not found, digital cameras won't be supported." ;;
12183 *) as_fn_error $?
"libgphoto2 ${notice_platform}development files not found, digital cameras won't be supported.
12184 This is an error since --with-gphoto was requested." "$LINENO" 5 ;;
12188 if test "$ac_cv_lib_gphoto2_port_gp_port_info_list_new" != "yes"; then :
12189 case "x$with_gphoto" in
12190 x
) as_fn_append wine_notices
"|libgphoto2_port ${notice_platform}development files not found, digital cameras won't be auto-detected." ;;
12192 *) as_fn_error $?
"libgphoto2_port ${notice_platform}development files not found, digital cameras won't be auto-detected.
12193 This is an error since --with-gphoto was requested." "$LINENO" 5 ;;
12199 if test "$ac_cv_header_resolv_h" = "yes"
12201 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for resolver library" >&5
12202 $as_echo_n "checking for resolver library... " >&6; }
12203 if ${ac_cv_have_resolv+:} false
; then :
12204 $as_echo_n "(cached) " >&6
12206 ac_save_LIBS
="$LIBS"
12207 for lib
in '' -lresolv
12209 LIBS
="$lib $ac_save_LIBS"
12210 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12211 /* end confdefs.h. */
12212 #ifdef HAVE_NETINET_IN_H
12213 #include <netinet/in.h>
12215 #include <resolv.h>
12219 if (!(_res.options & RES_INIT)) res_init(); res_query("foo",ns_c_in,0,0,0)
12224 if ac_fn_c_try_link
"$LINENO"; then :
12225 ac_cv_have_resolv
=${lib:-"none required"}
12227 ac_cv_have_resolv
="not found"
12229 rm -f core conftest.err conftest.
$ac_objext \
12230 conftest
$ac_exeext conftest.
$ac_ext
12231 test "x$ac_cv_have_resolv" = "xnot found" ||
break
12233 LIBS
="$ac_save_LIBS"
12235 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_resolv" >&5
12236 $as_echo "$ac_cv_have_resolv" >&6; }
12238 case "$ac_cv_have_resolv" in
12242 $as_echo "#define HAVE_RESOLV 1" >>confdefs.h
12245 $as_echo "#define HAVE_RESOLV 1" >>confdefs.h
12247 RESOLV_LIBS
=$ac_cv_have_resolv
12252 if test "x$with_cms" != "xno"
12254 if ${LCMS2_CFLAGS:+false} :; then :
12255 if ${PKG_CONFIG+:} false
; then :
12256 LCMS2_CFLAGS
=`$PKG_CONFIG --cflags lcms2 2>/dev/null`
12260 if ${LCMS2_LIBS:+false} :; then :
12261 if ${PKG_CONFIG+:} false
; then :
12262 LCMS2_LIBS
=`$PKG_CONFIG --libs lcms2 2>/dev/null`
12266 LCMS2_LIBS
=${LCMS2_LIBS:-"-llcms2"}
12267 $as_echo "$as_me:${as_lineno-$LINENO}: lcms2 cflags: $LCMS2_CFLAGS" >&5
12268 $as_echo "$as_me:${as_lineno-$LINENO}: lcms2 libs: $LCMS2_LIBS" >&5
12269 ac_save_CPPFLAGS
=$CPPFLAGS
12270 CPPFLAGS
="$CPPFLAGS $LCMS2_CFLAGS"
12271 for ac_header
in lcms2.h
12273 ac_fn_c_check_header_mongrel
"$LINENO" "lcms2.h" "ac_cv_header_lcms2_h" "$ac_includes_default"
12274 if test "x$ac_cv_header_lcms2_h" = xyes
; then :
12275 cat >>confdefs.h
<<_ACEOF
12276 #define HAVE_LCMS2_H 1
12283 if test "$ac_cv_header_lcms2_h" = "yes"
12285 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cmsOpenProfileFromFile in -llcms2" >&5
12286 $as_echo_n "checking for cmsOpenProfileFromFile in -llcms2... " >&6; }
12287 if ${ac_cv_lib_lcms2_cmsOpenProfileFromFile+:} false
; then :
12288 $as_echo_n "(cached) " >&6
12290 ac_check_lib_save_LIBS
=$LIBS
12291 LIBS
="-llcms2 $LCMS2_LIBS $LIBS"
12292 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12293 /* end confdefs.h. */
12295 /* Override any GCC internal prototype to avoid an error.
12296 Use char because int might match the return type of a GCC
12297 builtin and then its argument prototype would still apply. */
12301 char cmsOpenProfileFromFile ();
12305 return cmsOpenProfileFromFile ();
12310 if ac_fn_c_try_link
"$LINENO"; then :
12311 ac_cv_lib_lcms2_cmsOpenProfileFromFile
=yes
12313 ac_cv_lib_lcms2_cmsOpenProfileFromFile
=no
12315 rm -f core conftest.err conftest.
$ac_objext \
12316 conftest
$ac_exeext conftest.
$ac_ext
12317 LIBS
=$ac_check_lib_save_LIBS
12319 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_lcms2_cmsOpenProfileFromFile" >&5
12320 $as_echo "$ac_cv_lib_lcms2_cmsOpenProfileFromFile" >&6; }
12321 if test "x$ac_cv_lib_lcms2_cmsOpenProfileFromFile" = xyes
; then :
12323 $as_echo "#define HAVE_LCMS2 1" >>confdefs.h
12333 CPPFLAGS
=$ac_save_CPPFLAGS
12334 test -z "$LCMS2_CFLAGS" || LCMS2_CFLAGS
=`echo " $LCMS2_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
12335 test -z "$LCMS2_LIBS" || LCMS2_LIBS
=`echo " $LCMS2_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
12338 if test "$ac_cv_lib_lcms2_cmsOpenProfileFromFile" != "yes"; then :
12339 case "x$with_cms" in
12340 x
) as_fn_append wine_notices
"|liblcms2 ${notice_platform}development files not found, Color Management won't be supported." ;;
12342 *) as_fn_error $?
"liblcms2 ${notice_platform}development files not found, Color Management won't be supported.
12343 This is an error since --with-cms was requested." "$LINENO" 5 ;;
12348 if test "x$with_freetype" != "xno"
12350 if ${FREETYPE_CFLAGS:+false} :; then :
12351 if ${PKG_CONFIG+:} false
; then :
12352 FREETYPE_CFLAGS
=`$PKG_CONFIG --cflags freetype2 2>/dev/null`
12355 test "$cross_compiling" = yes || FREETYPE_CFLAGS
=${FREETYPE_CFLAGS:-`(${FREETYPE_CONFIG:-freetype-config} --cflags || ${FREETYPE2_CONFIG:-freetype2-config} --cflags) 2>/dev/null`}
12356 if ${FREETYPE_LIBS:+false} :; then :
12357 if ${PKG_CONFIG+:} false
; then :
12358 FREETYPE_LIBS
=`$PKG_CONFIG --libs freetype2 2>/dev/null`
12361 test "$cross_compiling" = yes || FREETYPE_LIBS
=${FREETYPE_LIBS:-`(${FREETYPE_CONFIG:-freetype-config} --libs || ${FREETYPE2_CONFIG:-freetype2-config} --libs) 2>/dev/null`}
12362 FREETYPE_LIBS
=${FREETYPE_LIBS:-"-lfreetype"}
12363 $as_echo "$as_me:${as_lineno-$LINENO}: freetype2 cflags: $FREETYPE_CFLAGS" >&5
12364 $as_echo "$as_me:${as_lineno-$LINENO}: freetype2 libs: $FREETYPE_LIBS" >&5
12365 ac_save_CPPFLAGS
=$CPPFLAGS
12366 CPPFLAGS
="$CPPFLAGS $FREETYPE_CFLAGS"
12367 for ac_header
in ft2build.h
12369 ac_fn_c_check_header_mongrel
"$LINENO" "ft2build.h" "ac_cv_header_ft2build_h" "$ac_includes_default"
12370 if test "x$ac_cv_header_ft2build_h" = xyes
; then :
12371 cat >>confdefs.h
<<_ACEOF
12372 #define HAVE_FT2BUILD_H 1
12379 if test "$ac_cv_header_ft2build_h" = "yes"
12381 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lfreetype" >&5
12382 $as_echo_n "checking for -lfreetype... " >&6; }
12383 if ${ac_cv_lib_soname_freetype+:} false
; then :
12384 $as_echo_n "(cached) " >&6
12386 ac_check_soname_save_LIBS
=$LIBS
12387 LIBS
="-lfreetype $FREETYPE_LIBS $LIBS"
12388 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12389 /* end confdefs.h. */
12391 /* Override any GCC internal prototype to avoid an error.
12392 Use char because int might match the return type of a GCC
12393 builtin and then its argument prototype would still apply. */
12397 char FT_Init_FreeType ();
12401 return FT_Init_FreeType ();
12406 if ac_fn_c_try_link
"$LINENO"; then :
12408 dll
) ac_cv_lib_soname_freetype
=`$ac_cv_path_LDD conftest.exe | grep "freetype" | sed -e "s/dll.*/dll/"';2,$d'` ;;
12409 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'` ;;
12410 *) ac_cv_lib_soname_freetype
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libfreetype\\.$LIBEXT" | sed -e "s/^.*\\[\\(libfreetype\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
12411 if ${ac_cv_lib_soname_freetype:+false} :; then :
12412 ac_cv_lib_soname_freetype
=`$LDD conftest$ac_exeext | grep "libfreetype\\.$LIBEXT" | sed -e "s/^.*\(libfreetype\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
12416 rm -f core conftest.err conftest.
$ac_objext \
12417 conftest
$ac_exeext conftest.
$ac_ext
12418 LIBS
=$ac_check_soname_save_LIBS
12420 if ${ac_cv_lib_soname_freetype:+false} :; then :
12421 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
12422 $as_echo "not found" >&6; }
12425 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_freetype" >&5
12426 $as_echo "$ac_cv_lib_soname_freetype" >&6; }
12428 cat >>confdefs.h
<<_ACEOF
12429 #define SONAME_LIBFREETYPE "$ac_cv_lib_soname_freetype"
12433 $as_echo "#define HAVE_FREETYPE 1" >>confdefs.h
12435 ac_fn_c_check_type
"$LINENO" "FT_TrueTypeEngineType" "ac_cv_type_FT_TrueTypeEngineType" "#include <ft2build.h>
12436 #include FT_MODULE_H
12438 if test "x$ac_cv_type_FT_TrueTypeEngineType" = xyes
; then :
12440 cat >>confdefs.h
<<_ACEOF
12441 #define HAVE_FT_TRUETYPEENGINETYPE 1
12452 CPPFLAGS
=$ac_save_CPPFLAGS
12453 test -z "$FREETYPE_CFLAGS" || FREETYPE_CFLAGS
=`echo " $FREETYPE_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
12454 test -z "$FREETYPE_LIBS" || FREETYPE_LIBS
=`echo " $FREETYPE_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
12457 if test "x$ac_cv_lib_soname_freetype" = x
; then :
12458 case "x$with_freetype" in
12460 *) as_fn_error $?
"FreeType ${notice_platform}development files not found. Fonts will not be built.
12461 Use the --without-freetype option if you really want this." "$LINENO" 5 ;;
12463 enable_fonts
=${enable_fonts:-no}
12466 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for parport header/ppdev.h" >&5
12467 $as_echo_n "checking for parport header/ppdev.h... " >&6; }
12468 if ${ac_cv_c_ppdev+:} false
; then :
12469 $as_echo_n "(cached) " >&6
12471 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12472 /* end confdefs.h. */
12473 #ifdef HAVE_SYS_IOCTL_H
12474 # include <sys/ioctl.h>
12476 #include <linux/ppdev.h>
12480 ioctl (1,PPCLAIM,0)
12485 if ac_fn_c_try_compile
"$LINENO"; then :
12486 ac_cv_c_ppdev
="yes"
12490 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
12492 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_ppdev" >&5
12493 $as_echo "$ac_cv_c_ppdev" >&6; }
12494 if test "$ac_cv_c_ppdev" = "yes"
12497 $as_echo "#define HAVE_PPDEV 1" >>confdefs.h
12501 ac_wine_check_funcs_save_LIBS
="$LIBS"
12502 LIBS
="$LIBS $PTHREAD_LIBS"
12504 pthread_attr_get_np \
12505 pthread_getattr_np \
12506 pthread_getthreadid_np \
12507 pthread_get_stackaddr_np \
12508 pthread_get_stacksize_np
12510 as_ac_var
=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
12511 ac_fn_c_check_func
"$LINENO" "$ac_func" "$as_ac_var"
12512 if eval test \"x\$
"$as_ac_var"\" = x
"yes"; then :
12513 cat >>confdefs.h
<<_ACEOF
12514 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
12520 LIBS
="$ac_wine_check_funcs_save_LIBS"
12522 if test "$ac_cv_header_zlib_h" = "yes"
12524 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for inflate in -lz" >&5
12525 $as_echo_n "checking for inflate in -lz... " >&6; }
12526 if ${ac_cv_lib_z_inflate+:} false
; then :
12527 $as_echo_n "(cached) " >&6
12529 ac_check_lib_save_LIBS
=$LIBS
12531 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12532 /* end confdefs.h. */
12534 /* Override any GCC internal prototype to avoid an error.
12535 Use char because int might match the return type of a GCC
12536 builtin and then its argument prototype would still apply. */
12549 if ac_fn_c_try_link
"$LINENO"; then :
12550 ac_cv_lib_z_inflate
=yes
12552 ac_cv_lib_z_inflate
=no
12554 rm -f core conftest.err conftest.
$ac_objext \
12555 conftest
$ac_exeext conftest.
$ac_ext
12556 LIBS
=$ac_check_lib_save_LIBS
12558 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_z_inflate" >&5
12559 $as_echo "$ac_cv_lib_z_inflate" >&6; }
12560 if test "x$ac_cv_lib_z_inflate" = xyes
; then :
12562 $as_echo "#define HAVE_ZLIB 1" >>confdefs.h
12569 if test "x$Z_LIBS" = "x"; then :
12570 case "x$with_zlib" in
12571 x
) as_fn_append wine_notices
"|libz ${notice_platform}development files not found, data compression won't be supported." ;;
12573 *) as_fn_error $?
"libz ${notice_platform}development files not found, data compression won't be supported.
12574 This is an error since --with-zlib was requested." "$LINENO" 5 ;;
12579 if test "x$enable_tools" != xno
-a "x$with_gettextpo" = xyes
12581 if test "$ac_cv_header_gettext_po_h" = "yes"
12583 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for po_message_msgctxt in -lgettextpo" >&5
12584 $as_echo_n "checking for po_message_msgctxt in -lgettextpo... " >&6; }
12585 if ${ac_cv_lib_gettextpo_po_message_msgctxt+:} false
; then :
12586 $as_echo_n "(cached) " >&6
12588 ac_check_lib_save_LIBS
=$LIBS
12589 LIBS
="-lgettextpo $LIBS"
12590 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12591 /* end confdefs.h. */
12593 /* Override any GCC internal prototype to avoid an error.
12594 Use char because int might match the return type of a GCC
12595 builtin and then its argument prototype would still apply. */
12599 char po_message_msgctxt ();
12603 return po_message_msgctxt ();
12608 if ac_fn_c_try_link
"$LINENO"; then :
12609 ac_cv_lib_gettextpo_po_message_msgctxt
=yes
12611 ac_cv_lib_gettextpo_po_message_msgctxt
=no
12613 rm -f core conftest.err conftest.
$ac_objext \
12614 conftest
$ac_exeext conftest.
$ac_ext
12615 LIBS
=$ac_check_lib_save_LIBS
12617 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gettextpo_po_message_msgctxt" >&5
12618 $as_echo "$ac_cv_lib_gettextpo_po_message_msgctxt" >&6; }
12619 if test "x$ac_cv_lib_gettextpo_po_message_msgctxt" = xyes
; then :
12621 $as_echo "#define HAVE_LIBGETTEXTPO 1" >>confdefs.h
12623 GETTEXTPO_LIBS
="-lgettextpo"
12628 if test "x$GETTEXTPO_LIBS" = "x"; then :
12629 case "x$with_gettextpo" in
12630 x
) as_fn_append wine_notices
"|GetText ${notice_platform}development files not found (or too old), po files can't be rebuilt." ;;
12632 *) as_fn_error $?
"GetText ${notice_platform}development files not found (or too old), po files can't be rebuilt.
12633 This is an error since --with-gettextpo was requested." "$LINENO" 5 ;;
12637 if test "$srcdir" != .
; then :
12638 case "x$with_gettextpo" in
12639 x
) as_fn_append wine_notices
"|Rebuilding po files is not supported for out of tree builds." ;;
12641 *) as_fn_error $?
"Rebuilding po files is not supported for out of tree builds.
12642 This is an error since --with-gettextpo was requested." "$LINENO" 5 ;;
12648 if test "x$with_pulse" != "xno";
12650 if ${PULSE_CFLAGS:+false} :; then :
12651 if ${PKG_CONFIG+:} false
; then :
12652 PULSE_CFLAGS
=`$PKG_CONFIG --cflags libpulse 2>/dev/null`
12656 if ${PULSE_LIBS:+false} :; then :
12657 if ${PKG_CONFIG+:} false
; then :
12658 PULSE_LIBS
=`$PKG_CONFIG --libs libpulse 2>/dev/null`
12663 $as_echo "$as_me:${as_lineno-$LINENO}: libpulse cflags: $PULSE_CFLAGS" >&5
12664 $as_echo "$as_me:${as_lineno-$LINENO}: libpulse libs: $PULSE_LIBS" >&5
12665 ac_save_CPPFLAGS
=$CPPFLAGS
12666 CPPFLAGS
="$CPPFLAGS $PULSE_CFLAGS"
12667 for ac_header
in pulse
/pulseaudio.h
12669 ac_fn_c_check_header_mongrel
"$LINENO" "pulse/pulseaudio.h" "ac_cv_header_pulse_pulseaudio_h" "$ac_includes_default"
12670 if test "x$ac_cv_header_pulse_pulseaudio_h" = xyes
; then :
12671 cat >>confdefs.h
<<_ACEOF
12672 #define HAVE_PULSE_PULSEAUDIO_H 1
12674 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pa_stream_is_corked in -lpulse" >&5
12675 $as_echo_n "checking for pa_stream_is_corked in -lpulse... " >&6; }
12676 if ${ac_cv_lib_pulse_pa_stream_is_corked+:} false
; then :
12677 $as_echo_n "(cached) " >&6
12679 ac_check_lib_save_LIBS
=$LIBS
12680 LIBS
="-lpulse $PULSE_LIBS $LIBS"
12681 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12682 /* end confdefs.h. */
12684 /* Override any GCC internal prototype to avoid an error.
12685 Use char because int might match the return type of a GCC
12686 builtin and then its argument prototype would still apply. */
12690 char pa_stream_is_corked ();
12694 return pa_stream_is_corked ();
12699 if ac_fn_c_try_link
"$LINENO"; then :
12700 ac_cv_lib_pulse_pa_stream_is_corked
=yes
12702 ac_cv_lib_pulse_pa_stream_is_corked
=no
12704 rm -f core conftest.err conftest.
$ac_objext \
12705 conftest
$ac_exeext conftest.
$ac_ext
12706 LIBS
=$ac_check_lib_save_LIBS
12708 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_pulse_pa_stream_is_corked" >&5
12709 $as_echo "$ac_cv_lib_pulse_pa_stream_is_corked" >&6; }
12710 if test "x$ac_cv_lib_pulse_pa_stream_is_corked" = xyes
; then :
12722 CPPFLAGS
=$ac_save_CPPFLAGS
12723 test -z "$PULSE_CFLAGS" || PULSE_CFLAGS
=`echo " $PULSE_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
12724 test -z "$PULSE_LIBS" || PULSE_LIBS
=`echo " $PULSE_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
12727 if test -z "$PULSE_LIBS"; then :
12728 case "x$with_pulse" in
12729 x
) as_fn_append wine_notices
"|libpulse ${notice_platform}development files not found or too old, Pulse won't be supported." ;;
12731 *) as_fn_error $?
"libpulse ${notice_platform}development files not found or too old, Pulse won't be supported.
12732 This is an error since --with-pulse was requested." "$LINENO" 5 ;;
12734 enable_winepulse_drv
=${enable_winepulse_drv:-no}
12737 if test "x$with_gstreamer" != "xno"
12739 if ${GSTREAMER_CFLAGS:+false} :; then :
12740 if ${PKG_CONFIG+:} false
; then :
12741 GSTREAMER_CFLAGS
=`$PKG_CONFIG --cflags gstreamer-1.0 gstreamer-video-1.0 gstreamer-audio-1.0 2>/dev/null`
12745 if ${GSTREAMER_LIBS:+false} :; then :
12746 if ${PKG_CONFIG+:} false
; then :
12747 GSTREAMER_LIBS
=`$PKG_CONFIG --libs gstreamer-1.0 gstreamer-video-1.0 gstreamer-audio-1.0 2>/dev/null`
12752 $as_echo "$as_me:${as_lineno-$LINENO}: gstreamer-1.0 gstreamer-video-1.0 gstreamer-audio-1.0 cflags: $GSTREAMER_CFLAGS" >&5
12753 $as_echo "$as_me:${as_lineno-$LINENO}: gstreamer-1.0 gstreamer-video-1.0 gstreamer-audio-1.0 libs: $GSTREAMER_LIBS" >&5
12754 ac_save_CPPFLAGS
=$CPPFLAGS
12755 CPPFLAGS
="$CPPFLAGS $GSTREAMER_CFLAGS"
12757 for i
in $GSTREAMER_CFLAGS
12760 -I*) ac_gst_incl
="$ac_gst_incl $i";;
12763 GSTREAMER_CFLAGS
=$ac_gst_incl
12764 CPPFLAGS
="$ac_save_CPPFLAGS $GSTREAMER_CFLAGS"
12765 ac_fn_c_check_header_mongrel
"$LINENO" "gst/gst.h" "ac_cv_header_gst_gst_h" "$ac_includes_default"
12766 if test "x$ac_cv_header_gst_gst_h" = xyes
; then :
12767 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether gint64 defined by gst/gst.h is indeed 64-bit" >&5
12768 $as_echo_n "checking whether gint64 defined by gst/gst.h is indeed 64-bit... " >&6; }
12769 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12770 /* end confdefs.h. */
12771 #include <gst/gst.h>
12775 static int a[sizeof(gint64) > 4 ? 1 : -1]; if (a[0]) return 0;
12780 if ac_fn_c_try_compile
"$LINENO"; then :
12781 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
12782 $as_echo "yes" >&6; }
12783 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gst_pad_new in -lgstreamer-1.0" >&5
12784 $as_echo_n "checking for gst_pad_new in -lgstreamer-1.0... " >&6; }
12785 if ${ac_cv_lib_gstreamer_1_0_gst_pad_new+:} false
; then :
12786 $as_echo_n "(cached) " >&6
12788 ac_check_lib_save_LIBS
=$LIBS
12789 LIBS
="-lgstreamer-1.0 $GSTREAMER_LIBS $LIBS"
12790 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12791 /* end confdefs.h. */
12793 /* Override any GCC internal prototype to avoid an error.
12794 Use char because int might match the return type of a GCC
12795 builtin and then its argument prototype would still apply. */
12799 char gst_pad_new ();
12803 return gst_pad_new ();
12808 if ac_fn_c_try_link
"$LINENO"; then :
12809 ac_cv_lib_gstreamer_1_0_gst_pad_new
=yes
12811 ac_cv_lib_gstreamer_1_0_gst_pad_new
=no
12813 rm -f core conftest.err conftest.
$ac_objext \
12814 conftest
$ac_exeext conftest.
$ac_ext
12815 LIBS
=$ac_check_lib_save_LIBS
12817 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gstreamer_1_0_gst_pad_new" >&5
12818 $as_echo "$ac_cv_lib_gstreamer_1_0_gst_pad_new" >&6; }
12819 if test "x$ac_cv_lib_gstreamer_1_0_gst_pad_new" = xyes
; then :
12824 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12825 $as_echo "no" >&6; }
12826 ac_glib2_broken
=yes
12827 as_fn_append wine_notices
"|glib-2.0 pkgconfig configuration is for the wrong architecture, winegstreamer won't be built."
12829 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
12833 CPPFLAGS
=$ac_save_CPPFLAGS
12834 test -z "$GSTREAMER_CFLAGS" || GSTREAMER_CFLAGS
=`echo " $GSTREAMER_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
12835 test -z "$GSTREAMER_LIBS" || GSTREAMER_LIBS
=`echo " $GSTREAMER_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
12838 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 :
12839 case "x$with_gstreamer" in
12840 x
) as_fn_append wine_notices
"|gstreamer-1.0 base plugins ${notice_platform}development files not found, gstreamer support disabled" ;;
12842 *) as_fn_error $?
"gstreamer-1.0 base plugins ${notice_platform}development files not found, gstreamer support disabled
12843 This is an error since --with-gstreamer was requested." "$LINENO" 5 ;;
12847 test "x$ac_cv_lib_gstreamer_1_0_gst_pad_new" = xyes || enable_winegstreamer
=${enable_winegstreamer:-no}
12851 if test "$ac_cv_header_sys_asoundlib_h" = "yes" -o "$ac_cv_header_alsa_asoundlib_h" = "yes"
12853 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for snd_pcm_hw_params_get_access_mask in -lasound" >&5
12854 $as_echo_n "checking for snd_pcm_hw_params_get_access_mask in -lasound... " >&6; }
12855 if ${ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask+:} false
; then :
12856 $as_echo_n "(cached) " >&6
12858 ac_check_lib_save_LIBS
=$LIBS
12859 LIBS
="-lasound $LIBS"
12860 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12861 /* end confdefs.h. */
12863 /* Override any GCC internal prototype to avoid an error.
12864 Use char because int might match the return type of a GCC
12865 builtin and then its argument prototype would still apply. */
12869 char snd_pcm_hw_params_get_access_mask ();
12873 return snd_pcm_hw_params_get_access_mask ();
12878 if ac_fn_c_try_link
"$LINENO"; then :
12879 ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask
=yes
12881 ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask
=no
12883 rm -f core conftest.err conftest.
$ac_objext \
12884 conftest
$ac_exeext conftest.
$ac_ext
12885 LIBS
=$ac_check_lib_save_LIBS
12887 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask" >&5
12888 $as_echo "$ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask" >&6; }
12889 if test "x$ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask" = xyes
; then :
12890 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12891 /* end confdefs.h. */
12892 #ifdef HAVE_ALSA_ASOUNDLIB_H
12893 #include <alsa/asoundlib.h>
12894 #elif defined(HAVE_SYS_ASOUNDLIB_H)
12895 #include <sys/asoundlib.h>
12900 snd_pcm_hw_params_get_access_mask(NULL, NULL)
12905 if ac_fn_c_try_compile
"$LINENO"; then :
12906 ALSA_LIBS
="-lasound"
12908 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
12912 test -n "$ALSA_LIBS" || enable_winealsa_drv
=${enable_winealsa_drv:-no}
12914 if test "x$with_oss" != xno
12916 ac_save_CPPFLAGS
="$CPPFLAGS"
12917 if test -f /etc
/oss.conf
12921 ac_oss_incl
="-I${OSSLIBDIR:-/usr/lib/oss}/include"
12922 CPPFLAGS
="$CPPFLAGS $ac_oss_incl"
12923 ac_fn_c_check_header_mongrel
"$LINENO" "sys/soundcard.h" "ac_cv_header_sys_soundcard_h" "$ac_includes_default"
12924 if test "x$ac_cv_header_sys_soundcard_h" = xyes
; then :
12925 ac_fn_c_check_member
"$LINENO" "oss_sysinfo" "numaudioengines" "ac_cv_member_oss_sysinfo_numaudioengines" "#include <sys/soundcard.h>
12927 if test "x$ac_cv_member_oss_sysinfo_numaudioengines" = xyes
; then :
12929 cat >>confdefs.h
<<_ACEOF
12930 #define HAVE_OSS_SYSINFO_NUMAUDIOENGINES 1
12933 OSS4_CFLAGS
="$ac_oss_incl"
12940 CPPFLAGS
="$ac_save_CPPFLAGS"
12942 if test "x$ac_cv_member_oss_sysinfo_numaudioengines" != xyes
; then :
12943 case "x$with_oss" in
12944 x
) as_fn_append wine_notices
"|OSS sound system found but too old (OSSv4 needed), OSS won't be supported." ;;
12946 *) as_fn_error $?
"OSS sound system found but too old (OSSv4 needed), OSS won't be supported.
12947 This is an error since --with-oss was requested." "$LINENO" 5 ;;
12949 enable_wineoss_drv
=${enable_wineoss_drv:-no}
12952 if test "x$with_udev" != "xno"
12954 if ${UDEV_CFLAGS:+false} :; then :
12955 if ${PKG_CONFIG+:} false
; then :
12956 UDEV_CFLAGS
=`$PKG_CONFIG --cflags libudev 2>/dev/null`
12960 if ${UDEV_LIBS:+false} :; then :
12961 if ${PKG_CONFIG+:} false
; then :
12962 UDEV_LIBS
=`$PKG_CONFIG --libs libudev 2>/dev/null`
12967 $as_echo "$as_me:${as_lineno-$LINENO}: libudev cflags: $UDEV_CFLAGS" >&5
12968 $as_echo "$as_me:${as_lineno-$LINENO}: libudev libs: $UDEV_LIBS" >&5
12969 ac_save_CPPFLAGS
=$CPPFLAGS
12970 CPPFLAGS
="$CPPFLAGS $UDEV_CFLAGS"
12971 for ac_header
in libudev.h
12973 ac_fn_c_check_header_mongrel
"$LINENO" "libudev.h" "ac_cv_header_libudev_h" "$ac_includes_default"
12974 if test "x$ac_cv_header_libudev_h" = xyes
; then :
12975 cat >>confdefs.h
<<_ACEOF
12976 #define HAVE_LIBUDEV_H 1
12978 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for udev_new in -ludev" >&5
12979 $as_echo_n "checking for udev_new in -ludev... " >&6; }
12980 if ${ac_cv_lib_udev_udev_new+:} false
; then :
12981 $as_echo_n "(cached) " >&6
12983 ac_check_lib_save_LIBS
=$LIBS
12984 LIBS
="-ludev $UDEV_LIBS $LIBS"
12985 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12986 /* end confdefs.h. */
12988 /* Override any GCC internal prototype to avoid an error.
12989 Use char because int might match the return type of a GCC
12990 builtin and then its argument prototype would still apply. */
12998 return udev_new ();
13003 if ac_fn_c_try_link
"$LINENO"; then :
13004 ac_cv_lib_udev_udev_new
=yes
13006 ac_cv_lib_udev_udev_new
=no
13008 rm -f core conftest.err conftest.
$ac_objext \
13009 conftest
$ac_exeext conftest.
$ac_ext
13010 LIBS
=$ac_check_lib_save_LIBS
13012 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_udev_udev_new" >&5
13013 $as_echo "$ac_cv_lib_udev_udev_new" >&6; }
13014 if test "x$ac_cv_lib_udev_udev_new" = xyes
; then :
13016 $as_echo "#define HAVE_UDEV 1" >>confdefs.h
13028 CPPFLAGS
=$ac_save_CPPFLAGS
13029 test -z "$UDEV_CFLAGS" || UDEV_CFLAGS
=`echo " $UDEV_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
13030 test -z "$UDEV_LIBS" || UDEV_LIBS
=`echo " $UDEV_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
13033 if test "x$UDEV_LIBS" = "x"; then :
13034 case "x$with_udev" in
13035 x
) as_fn_append wine_notices
"|libudev ${notice_platform}development files not found, plug and play won't be supported." ;;
13037 *) as_fn_error $?
"libudev ${notice_platform}development files not found, plug and play won't be supported.
13038 This is an error since --with-udev was requested." "$LINENO" 5 ;;
13043 if test "x$with_capi" != "xno"
13045 if ${CAPI20_CFLAGS:+false} :; then :
13046 if ${PKG_CONFIG+:} false
; then :
13047 CAPI20_CFLAGS
=`$PKG_CONFIG --cflags capi20 2>/dev/null`
13051 if ${CAPI20_LIBS:+false} :; then :
13052 if ${PKG_CONFIG+:} false
; then :
13053 CAPI20_LIBS
=`$PKG_CONFIG --libs capi20 2>/dev/null`
13058 $as_echo "$as_me:${as_lineno-$LINENO}: capi20 cflags: $CAPI20_CFLAGS" >&5
13059 $as_echo "$as_me:${as_lineno-$LINENO}: capi20 libs: $CAPI20_LIBS" >&5
13060 ac_save_CPPFLAGS
=$CPPFLAGS
13061 CPPFLAGS
="$CPPFLAGS $CAPI20_CFLAGS"
13062 for ac_header
in capi20.h linux
/capi.h
13064 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
13065 ac_fn_c_check_header_compile
"$LINENO" "$ac_header" "$as_ac_Header" "#define __user
13067 if eval test \"x\$
"$as_ac_Header"\" = x
"yes"; then :
13068 cat >>confdefs.h
<<_ACEOF
13069 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
13076 if test "$ac_cv_header_capi20_h" = "yes" -a "$ac_cv_header_linux_capi_h" = "yes"
13078 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lcapi20" >&5
13079 $as_echo_n "checking for -lcapi20... " >&6; }
13080 if ${ac_cv_lib_soname_capi20+:} false
; then :
13081 $as_echo_n "(cached) " >&6
13083 ac_check_soname_save_LIBS
=$LIBS
13084 LIBS
="-lcapi20 $CAPI20_LIBS $LIBS"
13085 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13086 /* end confdefs.h. */
13088 /* Override any GCC internal prototype to avoid an error.
13089 Use char because int might match the return type of a GCC
13090 builtin and then its argument prototype would still apply. */
13094 char capi20_register ();
13098 return capi20_register ();
13103 if ac_fn_c_try_link
"$LINENO"; then :
13105 dll
) ac_cv_lib_soname_capi20
=`$ac_cv_path_LDD conftest.exe | grep "capi20" | sed -e "s/dll.*/dll/"';2,$d'` ;;
13106 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'` ;;
13107 *) ac_cv_lib_soname_capi20
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libcapi20\\.$LIBEXT" | sed -e "s/^.*\\[\\(libcapi20\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
13108 if ${ac_cv_lib_soname_capi20:+false} :; then :
13109 ac_cv_lib_soname_capi20
=`$LDD conftest$ac_exeext | grep "libcapi20\\.$LIBEXT" | sed -e "s/^.*\(libcapi20\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
13113 rm -f core conftest.err conftest.
$ac_objext \
13114 conftest
$ac_exeext conftest.
$ac_ext
13115 LIBS
=$ac_check_soname_save_LIBS
13117 if ${ac_cv_lib_soname_capi20:+false} :; then :
13118 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13119 $as_echo "not found" >&6; }
13122 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_capi20" >&5
13123 $as_echo "$ac_cv_lib_soname_capi20" >&6; }
13125 cat >>confdefs.h
<<_ACEOF
13126 #define SONAME_LIBCAPI20 "$ac_cv_lib_soname_capi20"
13132 CPPFLAGS
=$ac_save_CPPFLAGS
13133 test -z "$CAPI20_CFLAGS" || CAPI20_CFLAGS
=`echo " $CAPI20_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
13134 test -z "$CAPI20_LIBS" || CAPI20_LIBS
=`echo " $CAPI20_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
13137 if test "x$ac_cv_lib_soname_capi20" = "x"; then :
13138 case "x$with_capi" in
13139 x
) as_fn_append wine_notices
"|libcapi20 ${notice_platform}development files not found, ISDN won't be supported." ;;
13141 *) as_fn_error $?
"libcapi20 ${notice_platform}development files not found, ISDN won't be supported.
13142 This is an error since --with-capi was requested." "$LINENO" 5 ;;
13149 if test "x$with_cups" != "xno"
13151 ac_save_CPPFLAGS
="$CPPFLAGS"
13152 ac_cups_cflags
=`${CUPS_CONFIG:-cups-config} --cflags 2>/dev/null`
13153 ac_cups_libs
=`${CUPS_CONFIG:-cups-config} --ldflags 2>/dev/null`
13154 CPPFLAGS
="$CPPFLAGS $ac_cups_cflags"
13155 for ac_header
in cups
/cups.h
13157 ac_fn_c_check_header_mongrel
"$LINENO" "cups/cups.h" "ac_cv_header_cups_cups_h" "$ac_includes_default"
13158 if test "x$ac_cv_header_cups_cups_h" = xyes
; then :
13159 cat >>confdefs.h
<<_ACEOF
13160 #define HAVE_CUPS_CUPS_H 1
13162 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lcups" >&5
13163 $as_echo_n "checking for -lcups... " >&6; }
13164 if ${ac_cv_lib_soname_cups+:} false
; then :
13165 $as_echo_n "(cached) " >&6
13167 ac_check_soname_save_LIBS
=$LIBS
13168 LIBS
="-lcups $ac_cups_libs $LIBS"
13169 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13170 /* end confdefs.h. */
13172 /* Override any GCC internal prototype to avoid an error.
13173 Use char because int might match the return type of a GCC
13174 builtin and then its argument prototype would still apply. */
13178 char cupsGetDefault ();
13182 return cupsGetDefault ();
13187 if ac_fn_c_try_link
"$LINENO"; then :
13189 dll
) ac_cv_lib_soname_cups
=`$ac_cv_path_LDD conftest.exe | grep "cups" | sed -e "s/dll.*/dll/"';2,$d'` ;;
13190 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'` ;;
13191 *) ac_cv_lib_soname_cups
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libcups\\.$LIBEXT" | sed -e "s/^.*\\[\\(libcups\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
13192 if ${ac_cv_lib_soname_cups:+false} :; then :
13193 ac_cv_lib_soname_cups
=`$LDD conftest$ac_exeext | grep "libcups\\.$LIBEXT" | sed -e "s/^.*\(libcups\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
13197 rm -f core conftest.err conftest.
$ac_objext \
13198 conftest
$ac_exeext conftest.
$ac_ext
13199 LIBS
=$ac_check_soname_save_LIBS
13201 if ${ac_cv_lib_soname_cups:+false} :; then :
13202 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13203 $as_echo "not found" >&6; }
13206 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_cups" >&5
13207 $as_echo "$ac_cv_lib_soname_cups" >&6; }
13209 cat >>confdefs.h
<<_ACEOF
13210 #define SONAME_LIBCUPS "$ac_cv_lib_soname_cups"
13213 CUPS_CFLAGS
="$ac_cups_cflags"
13215 for ac_header
in cups
/ppd.h
13217 ac_fn_c_check_header_mongrel
"$LINENO" "cups/ppd.h" "ac_cv_header_cups_ppd_h" "$ac_includes_default"
13218 if test "x$ac_cv_header_cups_ppd_h" = xyes
; then :
13219 cat >>confdefs.h
<<_ACEOF
13220 #define HAVE_CUPS_PPD_H 1
13231 CPPFLAGS
="$ac_save_CPPFLAGS"
13233 if test "x$ac_cv_lib_soname_cups" = "x"; then :
13234 case "x$with_cups" in
13235 x
) as_fn_append wine_notices
"|libcups ${notice_platform}development files not found, CUPS won't be supported." ;;
13237 *) as_fn_error $?
"libcups ${notice_platform}development files not found, CUPS won't be supported.
13238 This is an error since --with-cups was requested." "$LINENO" 5 ;;
13243 if test "x$with_fontconfig" != "xno"
13245 if ${FONTCONFIG_CFLAGS:+false} :; then :
13246 if ${PKG_CONFIG+:} false
; then :
13247 FONTCONFIG_CFLAGS
=`$PKG_CONFIG --cflags fontconfig 2>/dev/null`
13250 test "$cross_compiling" = yes || FONTCONFIG_CFLAGS
=${FONTCONFIG_CFLAGS:-$X_CFLAGS}
13251 if ${FONTCONFIG_LIBS:+false} :; then :
13252 if ${PKG_CONFIG+:} false
; then :
13253 FONTCONFIG_LIBS
=`$PKG_CONFIG --libs fontconfig 2>/dev/null`
13256 test "$cross_compiling" = yes || FONTCONFIG_LIBS
=${FONTCONFIG_LIBS:-$X_LIBS}
13258 $as_echo "$as_me:${as_lineno-$LINENO}: fontconfig cflags: $FONTCONFIG_CFLAGS" >&5
13259 $as_echo "$as_me:${as_lineno-$LINENO}: fontconfig libs: $FONTCONFIG_LIBS" >&5
13260 ac_save_CPPFLAGS
=$CPPFLAGS
13261 CPPFLAGS
="$CPPFLAGS $FONTCONFIG_CFLAGS"
13262 for ac_header
in fontconfig
/fontconfig.h
13264 ac_fn_c_check_header_mongrel
"$LINENO" "fontconfig/fontconfig.h" "ac_cv_header_fontconfig_fontconfig_h" "$ac_includes_default"
13265 if test "x$ac_cv_header_fontconfig_fontconfig_h" = xyes
; then :
13266 cat >>confdefs.h
<<_ACEOF
13267 #define HAVE_FONTCONFIG_FONTCONFIG_H 1
13274 if test "$ac_cv_header_fontconfig_fontconfig_h" = "yes"
13276 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lfontconfig" >&5
13277 $as_echo_n "checking for -lfontconfig... " >&6; }
13278 if ${ac_cv_lib_soname_fontconfig+:} false
; then :
13279 $as_echo_n "(cached) " >&6
13281 ac_check_soname_save_LIBS
=$LIBS
13282 LIBS
="-lfontconfig $FONTCONFIG_LIBS $LIBS"
13283 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13284 /* end confdefs.h. */
13286 /* Override any GCC internal prototype to avoid an error.
13287 Use char because int might match the return type of a GCC
13288 builtin and then its argument prototype would still apply. */
13301 if ac_fn_c_try_link
"$LINENO"; then :
13303 dll
) ac_cv_lib_soname_fontconfig
=`$ac_cv_path_LDD conftest.exe | grep "fontconfig" | sed -e "s/dll.*/dll/"';2,$d'` ;;
13304 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'` ;;
13305 *) ac_cv_lib_soname_fontconfig
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libfontconfig\\.$LIBEXT" | sed -e "s/^.*\\[\\(libfontconfig\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
13306 if ${ac_cv_lib_soname_fontconfig:+false} :; then :
13307 ac_cv_lib_soname_fontconfig
=`$LDD conftest$ac_exeext | grep "libfontconfig\\.$LIBEXT" | sed -e "s/^.*\(libfontconfig\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
13311 rm -f core conftest.err conftest.
$ac_objext \
13312 conftest
$ac_exeext conftest.
$ac_ext
13313 LIBS
=$ac_check_soname_save_LIBS
13315 if ${ac_cv_lib_soname_fontconfig:+false} :; then :
13316 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13317 $as_echo "not found" >&6; }
13318 FONTCONFIG_CFLAGS
=""
13320 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_fontconfig" >&5
13321 $as_echo "$ac_cv_lib_soname_fontconfig" >&6; }
13323 cat >>confdefs.h
<<_ACEOF
13324 #define SONAME_LIBFONTCONFIG "$ac_cv_lib_soname_fontconfig"
13330 FONTCONFIG_CFLAGS
=""
13332 CPPFLAGS
=$ac_save_CPPFLAGS
13333 test -z "$FONTCONFIG_CFLAGS" || FONTCONFIG_CFLAGS
=`echo " $FONTCONFIG_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
13334 test -z "$FONTCONFIG_LIBS" || FONTCONFIG_LIBS
=`echo " $FONTCONFIG_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
13337 if test "x$ac_cv_lib_soname_fontconfig" = "x"; then :
13338 case "x$with_fontconfig" in
13339 x
) as_fn_append wine_notices
"|fontconfig ${notice_platform}development files not found, fontconfig won't be supported." ;;
13341 *) as_fn_error $?
"fontconfig ${notice_platform}development files not found, fontconfig won't be supported.
13342 This is an error since --with-fontconfig was requested." "$LINENO" 5 ;;
13347 if test "$ac_cv_header_gsm_h" = "yes" -o "$ac_cv_header_gsm_gsm_h" = "yes"
13349 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lgsm" >&5
13350 $as_echo_n "checking for -lgsm... " >&6; }
13351 if ${ac_cv_lib_soname_gsm+:} false
; then :
13352 $as_echo_n "(cached) " >&6
13354 ac_check_soname_save_LIBS
=$LIBS
13356 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13357 /* end confdefs.h. */
13359 /* Override any GCC internal prototype to avoid an error.
13360 Use char because int might match the return type of a GCC
13361 builtin and then its argument prototype would still apply. */
13365 char gsm_create ();
13369 return gsm_create ();
13374 if ac_fn_c_try_link
"$LINENO"; then :
13376 dll
) ac_cv_lib_soname_gsm
=`$ac_cv_path_LDD conftest.exe | grep "gsm" | sed -e "s/dll.*/dll/"';2,$d'` ;;
13377 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'` ;;
13378 *) ac_cv_lib_soname_gsm
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libgsm\\.$LIBEXT" | sed -e "s/^.*\\[\\(libgsm\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
13379 if ${ac_cv_lib_soname_gsm:+false} :; then :
13380 ac_cv_lib_soname_gsm
=`$LDD conftest$ac_exeext | grep "libgsm\\.$LIBEXT" | sed -e "s/^.*\(libgsm\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
13384 rm -f core conftest.err conftest.
$ac_objext \
13385 conftest
$ac_exeext conftest.
$ac_ext
13386 LIBS
=$ac_check_soname_save_LIBS
13388 if ${ac_cv_lib_soname_gsm:+false} :; then :
13389 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13390 $as_echo "not found" >&6; }
13393 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_gsm" >&5
13394 $as_echo "$ac_cv_lib_soname_gsm" >&6; }
13396 cat >>confdefs.h
<<_ACEOF
13397 #define SONAME_LIBGSM "$ac_cv_lib_soname_gsm"
13403 if test "x$ac_cv_lib_soname_gsm" = "x"; then :
13404 case "x$with_gsm" in
13405 x
) as_fn_append wine_notices
"|libgsm ${notice_platform}development files not found, gsm 06.10 codec won't be supported." ;;
13407 *) as_fn_error $?
"libgsm ${notice_platform}development files not found, gsm 06.10 codec won't be supported.
13408 This is an error since --with-gsm was requested." "$LINENO" 5 ;;
13413 if test "x$with_jpeg" != "xno"
13415 if ${JPEG_CFLAGS:+false} :; then :
13416 if ${PKG_CONFIG+:} false
; then :
13417 JPEG_CFLAGS
=`$PKG_CONFIG --cflags libjpeg 2>/dev/null`
13421 if ${JPEG_LIBS:+false} :; then :
13422 if ${PKG_CONFIG+:} false
; then :
13423 JPEG_LIBS
=`$PKG_CONFIG --libs libjpeg 2>/dev/null`
13428 $as_echo "$as_me:${as_lineno-$LINENO}: libjpeg cflags: $JPEG_CFLAGS" >&5
13429 $as_echo "$as_me:${as_lineno-$LINENO}: libjpeg libs: $JPEG_LIBS" >&5
13430 ac_save_CPPFLAGS
=$CPPFLAGS
13431 CPPFLAGS
="$CPPFLAGS $JPEG_CFLAGS"
13432 for ac_header
in jpeglib.h
13434 ac_fn_c_check_header_mongrel
"$LINENO" "jpeglib.h" "ac_cv_header_jpeglib_h" "$ac_includes_default"
13435 if test "x$ac_cv_header_jpeglib_h" = xyes
; then :
13436 cat >>confdefs.h
<<_ACEOF
13437 #define HAVE_JPEGLIB_H 1
13444 if test "$ac_cv_header_jpeglib_h" = "yes"
13446 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -ljpeg" >&5
13447 $as_echo_n "checking for -ljpeg... " >&6; }
13448 if ${ac_cv_lib_soname_jpeg+:} false
; then :
13449 $as_echo_n "(cached) " >&6
13451 ac_check_soname_save_LIBS
=$LIBS
13452 LIBS
="-ljpeg $JPEG_LIBS $LIBS"
13453 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13454 /* end confdefs.h. */
13456 /* Override any GCC internal prototype to avoid an error.
13457 Use char because int might match the return type of a GCC
13458 builtin and then its argument prototype would still apply. */
13462 char jpeg_start_decompress ();
13466 return jpeg_start_decompress ();
13471 if ac_fn_c_try_link
"$LINENO"; then :
13473 dll
) ac_cv_lib_soname_jpeg
=`$ac_cv_path_LDD conftest.exe | grep "jpeg" | sed -e "s/dll.*/dll/"';2,$d'` ;;
13474 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'` ;;
13475 *) ac_cv_lib_soname_jpeg
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libjpeg\\.$LIBEXT" | sed -e "s/^.*\\[\\(libjpeg\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
13476 if ${ac_cv_lib_soname_jpeg:+false} :; then :
13477 ac_cv_lib_soname_jpeg
=`$LDD conftest$ac_exeext | grep "libjpeg\\.$LIBEXT" | sed -e "s/^.*\(libjpeg\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
13481 rm -f core conftest.err conftest.
$ac_objext \
13482 conftest
$ac_exeext conftest.
$ac_ext
13483 LIBS
=$ac_check_soname_save_LIBS
13485 if ${ac_cv_lib_soname_jpeg:+false} :; then :
13486 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13487 $as_echo "not found" >&6; }
13490 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_jpeg" >&5
13491 $as_echo "$ac_cv_lib_soname_jpeg" >&6; }
13493 cat >>confdefs.h
<<_ACEOF
13494 #define SONAME_LIBJPEG "$ac_cv_lib_soname_jpeg"
13502 CPPFLAGS
=$ac_save_CPPFLAGS
13503 test -z "$JPEG_CFLAGS" || JPEG_CFLAGS
=`echo " $JPEG_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
13504 test -z "$JPEG_LIBS" || JPEG_LIBS
=`echo " $JPEG_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
13507 if test "x$ac_cv_lib_soname_jpeg" = "x"; then :
13508 case "x$with_jpeg" in
13509 x
) as_fn_append wine_warnings
"|libjpeg ${notice_platform}development files not found, JPEG won't be supported." ;;
13511 *) as_fn_error $?
"libjpeg ${notice_platform}development files not found, JPEG won't be supported.
13512 This is an error since --with-jpeg was requested." "$LINENO" 5 ;;
13517 if test "x$with_png" != "xno"
13519 if ${PNG_CFLAGS:+false} :; then :
13520 if ${PKG_CONFIG+:} false
; then :
13521 PNG_CFLAGS
=`$PKG_CONFIG --cflags libpng 2>/dev/null`
13524 test "$cross_compiling" = yes || PNG_CFLAGS
=${PNG_CFLAGS:-$X_CFLAGS}
13525 if ${PNG_LIBS:+false} :; then :
13526 if ${PKG_CONFIG+:} false
; then :
13527 PNG_LIBS
=`$PKG_CONFIG --libs libpng 2>/dev/null`
13530 test "$cross_compiling" = yes || PNG_LIBS
=${PNG_LIBS:-$X_LIBS}
13532 $as_echo "$as_me:${as_lineno-$LINENO}: libpng cflags: $PNG_CFLAGS" >&5
13533 $as_echo "$as_me:${as_lineno-$LINENO}: libpng libs: $PNG_LIBS" >&5
13534 ac_save_CPPFLAGS
=$CPPFLAGS
13535 CPPFLAGS
="$CPPFLAGS $PNG_CFLAGS"
13536 for ac_header
in png.h
13538 ac_fn_c_check_header_mongrel
"$LINENO" "png.h" "ac_cv_header_png_h" "$ac_includes_default"
13539 if test "x$ac_cv_header_png_h" = xyes
; then :
13540 cat >>confdefs.h
<<_ACEOF
13541 #define HAVE_PNG_H 1
13548 if test "$ac_cv_header_png_h" = "yes"
13550 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lpng" >&5
13551 $as_echo_n "checking for -lpng... " >&6; }
13552 if ${ac_cv_lib_soname_png+:} false
; then :
13553 $as_echo_n "(cached) " >&6
13555 ac_check_soname_save_LIBS
=$LIBS
13556 LIBS
="-lpng $PNG_LIBS -lm -lz $LIBS"
13557 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13558 /* end confdefs.h. */
13560 /* Override any GCC internal prototype to avoid an error.
13561 Use char because int might match the return type of a GCC
13562 builtin and then its argument prototype would still apply. */
13566 char png_create_read_struct ();
13570 return png_create_read_struct ();
13575 if ac_fn_c_try_link
"$LINENO"; then :
13577 dll
) ac_cv_lib_soname_png
=`$ac_cv_path_LDD conftest.exe | grep "png" | sed -e "s/dll.*/dll/"';2,$d'` ;;
13578 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'` ;;
13579 *) 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'`
13580 if ${ac_cv_lib_soname_png:+false} :; then :
13581 ac_cv_lib_soname_png
=`$LDD conftest$ac_exeext | grep "libpng[0-9]*\\.$LIBEXT" | sed -e "s/^.*\(libpng[0-9]*\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
13585 rm -f core conftest.err conftest.
$ac_objext \
13586 conftest
$ac_exeext conftest.
$ac_ext
13587 LIBS
=$ac_check_soname_save_LIBS
13589 if ${ac_cv_lib_soname_png:+false} :; then :
13590 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13591 $as_echo "not found" >&6; }
13594 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_png" >&5
13595 $as_echo "$ac_cv_lib_soname_png" >&6; }
13597 cat >>confdefs.h
<<_ACEOF
13598 #define SONAME_LIBPNG "$ac_cv_lib_soname_png"
13601 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13602 /* end confdefs.h. */
13607 typeof(png_set_expand_gray_1_2_4_to_8) *p
13612 if ac_fn_c_try_compile
"$LINENO"; then :
13614 $as_echo "#define HAVE_PNG_SET_EXPAND_GRAY_1_2_4_TO_8 1" >>confdefs.h
13617 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
13622 CPPFLAGS
=$ac_save_CPPFLAGS
13623 test -z "$PNG_CFLAGS" || PNG_CFLAGS
=`echo " $PNG_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
13624 test -z "$PNG_LIBS" || PNG_LIBS
=`echo " $PNG_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
13627 if test "x$ac_cv_lib_soname_png" = "x"; then :
13628 case "x$with_png" in
13629 x
) as_fn_append wine_warnings
"|libpng ${notice_platform}development files not found, PNG won't be supported." ;;
13631 *) as_fn_error $?
"libpng ${notice_platform}development files not found, PNG won't be supported.
13632 This is an error since --with-png was requested." "$LINENO" 5 ;;
13637 if test "x$with_tiff" != "xno"
13639 if ${TIFF_CFLAGS:+false} :; then :
13640 if ${PKG_CONFIG+:} false
; then :
13641 TIFF_CFLAGS
=`$PKG_CONFIG --cflags libtiff-4 2>/dev/null`
13645 if ${TIFF_LIBS:+false} :; then :
13646 if ${PKG_CONFIG+:} false
; then :
13647 TIFF_LIBS
=`$PKG_CONFIG --libs libtiff-4 2>/dev/null`
13652 $as_echo "$as_me:${as_lineno-$LINENO}: libtiff-4 cflags: $TIFF_CFLAGS" >&5
13653 $as_echo "$as_me:${as_lineno-$LINENO}: libtiff-4 libs: $TIFF_LIBS" >&5
13654 ac_save_CPPFLAGS
=$CPPFLAGS
13655 CPPFLAGS
="$CPPFLAGS $TIFF_CFLAGS"
13656 for ac_header
in tiffio.h
13658 ac_fn_c_check_header_mongrel
"$LINENO" "tiffio.h" "ac_cv_header_tiffio_h" "$ac_includes_default"
13659 if test "x$ac_cv_header_tiffio_h" = xyes
; then :
13660 cat >>confdefs.h
<<_ACEOF
13661 #define HAVE_TIFFIO_H 1
13668 if test "$ac_cv_header_tiffio_h" = "yes"
13670 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -ltiff" >&5
13671 $as_echo_n "checking for -ltiff... " >&6; }
13672 if ${ac_cv_lib_soname_tiff+:} false
; then :
13673 $as_echo_n "(cached) " >&6
13675 ac_check_soname_save_LIBS
=$LIBS
13676 LIBS
="-ltiff $TIFF_LIBS $LIBS"
13677 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13678 /* end confdefs.h. */
13680 /* Override any GCC internal prototype to avoid an error.
13681 Use char because int might match the return type of a GCC
13682 builtin and then its argument prototype would still apply. */
13686 char TIFFClientOpen ();
13690 return TIFFClientOpen ();
13695 if ac_fn_c_try_link
"$LINENO"; then :
13697 dll
) ac_cv_lib_soname_tiff
=`$ac_cv_path_LDD conftest.exe | grep "tiff" | sed -e "s/dll.*/dll/"';2,$d'` ;;
13698 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'` ;;
13699 *) ac_cv_lib_soname_tiff
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libtiff\\.$LIBEXT" | sed -e "s/^.*\\[\\(libtiff\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
13700 if ${ac_cv_lib_soname_tiff:+false} :; then :
13701 ac_cv_lib_soname_tiff
=`$LDD conftest$ac_exeext | grep "libtiff\\.$LIBEXT" | sed -e "s/^.*\(libtiff\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
13705 rm -f core conftest.err conftest.
$ac_objext \
13706 conftest
$ac_exeext conftest.
$ac_ext
13707 LIBS
=$ac_check_soname_save_LIBS
13709 if ${ac_cv_lib_soname_tiff:+false} :; then :
13710 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13711 $as_echo "not found" >&6; }
13714 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_tiff" >&5
13715 $as_echo "$ac_cv_lib_soname_tiff" >&6; }
13717 cat >>confdefs.h
<<_ACEOF
13718 #define SONAME_LIBTIFF "$ac_cv_lib_soname_tiff"
13724 CPPFLAGS
=$ac_save_CPPFLAGS
13725 test -z "$TIFF_CFLAGS" || TIFF_CFLAGS
=`echo " $TIFF_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
13726 test -z "$TIFF_LIBS" || TIFF_LIBS
=`echo " $TIFF_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
13729 if test "x$ac_cv_lib_soname_tiff" = "x"; then :
13730 case "x$with_tiff" in
13731 x
) as_fn_append wine_notices
"|libtiff ${notice_platform}development files not found, TIFF won't be supported." ;;
13733 *) as_fn_error $?
"libtiff ${notice_platform}development files not found, TIFF won't be supported.
13734 This is an error since --with-tiff was requested." "$LINENO" 5 ;;
13739 if test "x$with_mpg123" != "xno"
13741 if ${MPG123_CFLAGS:+false} :; then :
13742 if ${PKG_CONFIG+:} false
; then :
13743 MPG123_CFLAGS
=`$PKG_CONFIG --cflags libmpg123 2>/dev/null`
13747 if ${MPG123_LIBS:+false} :; then :
13748 if ${PKG_CONFIG+:} false
; then :
13749 MPG123_LIBS
=`$PKG_CONFIG --libs libmpg123 2>/dev/null`
13753 MPG123_LIBS
=${MPG123_LIBS:-"-lmpg123"}
13754 $as_echo "$as_me:${as_lineno-$LINENO}: libmpg123 cflags: $MPG123_CFLAGS" >&5
13755 $as_echo "$as_me:${as_lineno-$LINENO}: libmpg123 libs: $MPG123_LIBS" >&5
13756 ac_save_CPPFLAGS
=$CPPFLAGS
13757 CPPFLAGS
="$CPPFLAGS $MPG123_CFLAGS"
13758 for ac_header
in mpg123.h
13760 ac_fn_c_check_header_mongrel
"$LINENO" "mpg123.h" "ac_cv_header_mpg123_h" "$ac_includes_default"
13761 if test "x$ac_cv_header_mpg123_h" = xyes
; then :
13762 cat >>confdefs.h
<<_ACEOF
13763 #define HAVE_MPG123_H 1
13770 if test "$ac_cv_header_mpg123_h" = "yes"
13772 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for mpg123_feed in -lmpg123" >&5
13773 $as_echo_n "checking for mpg123_feed in -lmpg123... " >&6; }
13774 if ${ac_cv_lib_mpg123_mpg123_feed+:} false
; then :
13775 $as_echo_n "(cached) " >&6
13777 ac_check_lib_save_LIBS
=$LIBS
13778 LIBS
="-lmpg123 $MPG123_LIBS $LIBS"
13779 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13780 /* end confdefs.h. */
13782 /* Override any GCC internal prototype to avoid an error.
13783 Use char because int might match the return type of a GCC
13784 builtin and then its argument prototype would still apply. */
13788 char mpg123_feed ();
13792 return mpg123_feed ();
13797 if ac_fn_c_try_link
"$LINENO"; then :
13798 ac_cv_lib_mpg123_mpg123_feed
=yes
13800 ac_cv_lib_mpg123_mpg123_feed
=no
13802 rm -f core conftest.err conftest.
$ac_objext \
13803 conftest
$ac_exeext conftest.
$ac_ext
13804 LIBS
=$ac_check_lib_save_LIBS
13806 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_mpg123_mpg123_feed" >&5
13807 $as_echo "$ac_cv_lib_mpg123_mpg123_feed" >&6; }
13808 if test "x$ac_cv_lib_mpg123_mpg123_feed" = xyes
; then :
13818 CPPFLAGS
=$ac_save_CPPFLAGS
13819 test -z "$MPG123_CFLAGS" || MPG123_CFLAGS
=`echo " $MPG123_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
13820 test -z "$MPG123_LIBS" || MPG123_LIBS
=`echo " $MPG123_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
13823 if test "x$ac_cv_lib_mpg123_mpg123_feed" != xyes
-a x
"$ac_cv_header_CoreAudio_CoreAudio_h" != xyes
; then :
13824 case "x$with_mpg123" in
13825 x
) as_fn_append wine_notices
"|libmpg123 ${notice_platform}development files not found (or too old), mp3 codec won't be supported." ;;
13827 *) as_fn_error $?
"libmpg123 ${notice_platform}development files not found (or too old), mp3 codec won't be supported.
13828 This is an error since --with-mpg123 was requested." "$LINENO" 5 ;;
13830 enable_winemp3_acm
=${enable_winemp3_acm:-no}
13833 if test "$ac_cv_header_AL_al_h" = "yes"
13835 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lopenal" >&5
13836 $as_echo_n "checking for -lopenal... " >&6; }
13837 if ${ac_cv_lib_soname_openal+:} false
; then :
13838 $as_echo_n "(cached) " >&6
13840 ac_check_soname_save_LIBS
=$LIBS
13841 LIBS
="-lopenal $LIBS"
13842 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13843 /* end confdefs.h. */
13845 /* Override any GCC internal prototype to avoid an error.
13846 Use char because int might match the return type of a GCC
13847 builtin and then its argument prototype would still apply. */
13851 char alGetSource3i ();
13855 return alGetSource3i ();
13860 if ac_fn_c_try_link
"$LINENO"; then :
13862 dll
) ac_cv_lib_soname_openal
=`$ac_cv_path_LDD conftest.exe | grep "openal" | sed -e "s/dll.*/dll/"';2,$d'` ;;
13863 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'` ;;
13864 *) ac_cv_lib_soname_openal
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libopenal\\.$LIBEXT" | sed -e "s/^.*\\[\\(libopenal\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
13865 if ${ac_cv_lib_soname_openal:+false} :; then :
13866 ac_cv_lib_soname_openal
=`$LDD conftest$ac_exeext | grep "libopenal\\.$LIBEXT" | sed -e "s/^.*\(libopenal\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
13870 rm -f core conftest.err conftest.
$ac_objext \
13871 conftest
$ac_exeext conftest.
$ac_ext
13872 LIBS
=$ac_check_soname_save_LIBS
13874 if ${ac_cv_lib_soname_openal:+false} :; then :
13875 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13876 $as_echo "not found" >&6; }
13879 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_openal" >&5
13880 $as_echo "$ac_cv_lib_soname_openal" >&6; }
13882 cat >>confdefs.h
<<_ACEOF
13883 #define SONAME_LIBOPENAL "$ac_cv_lib_soname_openal"
13886 OPENAL_LIBS
="-lopenal"
13888 ac_cv_lib_openal
=yes
13890 cat >>confdefs.h
<<_ACEOF
13891 #define HAVE_OPENAL 1
13896 if test "x$ac_cv_lib_openal" != xyes
; then :
13897 case "x$with_openal" in
13898 x
) as_fn_append wine_notices
"|libopenal ${notice_platform}development files not found (or too old), OpenAL won't be supported" ;;
13900 *) as_fn_error $?
"libopenal ${notice_platform}development files not found (or too old), OpenAL won't be supported
13901 This is an error since --with-openal was requested." "$LINENO" 5 ;;
13903 enable_openal32
=${enable_openal32:-no}
13906 if test "x$ac_cv_lib_openal" = xyes
13908 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for openal-soft" >&5
13909 $as_echo_n "checking for openal-soft... " >&6; }
13910 if ${ac_cv_have_openalsoft+:} false
; then :
13911 $as_echo_n "(cached) " >&6
13913 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13914 /* end confdefs.h. */
13916 #include <AL/alc.h>
13917 #include <AL/alext.h>
13918 LPALCRENDERSAMPLESSOFT x;
13927 if ac_fn_c_try_compile
"$LINENO"; then :
13928 ac_cv_have_openalsoft
=yes
13930 ac_cv_have_openalsoft
=no
13932 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
13934 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_openalsoft" >&5
13935 $as_echo "$ac_cv_have_openalsoft" >&6; }
13937 if test "x$ac_cv_have_openalsoft" != xyes
13939 as_fn_append wine_notices
"|openal-soft ${notice_platform}development files not found (or too old), XAudio2 won't be supported"
13940 enable_x3daudio1_0
=${enable_x3daudio1_0:-no}
13941 enable_x3daudio1_1
=${enable_x3daudio1_1:-no}
13942 enable_x3daudio1_2
=${enable_x3daudio1_2:-no}
13943 enable_x3daudio1_3
=${enable_x3daudio1_3:-no}
13944 enable_x3daudio1_4
=${enable_x3daudio1_4:-no}
13945 enable_x3daudio1_5
=${enable_x3daudio1_5:-no}
13946 enable_x3daudio1_6
=${enable_x3daudio1_6:-no}
13947 enable_x3daudio1_7
=${enable_x3daudio1_7:-no}
13948 enable_xapofx1_1
=${enable_xapofx1_1:-no}
13949 enable_xapofx1_2
=${enable_xapofx1_2:-no}
13950 enable_xapofx1_3
=${enable_xapofx1_3:-no}
13951 enable_xapofx1_4
=${enable_xapofx1_4:-no}
13952 enable_xapofx1_5
=${enable_xapofx1_5:-no}
13953 enable_xaudio2_0
=${enable_xaudio2_0:-no}
13954 enable_xaudio2_1
=${enable_xaudio2_1:-no}
13955 enable_xaudio2_2
=${enable_xaudio2_2:-no}
13956 enable_xaudio2_3
=${enable_xaudio2_3:-no}
13957 enable_xaudio2_4
=${enable_xaudio2_4:-no}
13958 enable_xaudio2_5
=${enable_xaudio2_5:-no}
13959 enable_xaudio2_6
=${enable_xaudio2_6:-no}
13960 enable_xaudio2_7
=${enable_xaudio2_7:-no}
13961 enable_xaudio2_8
=${enable_xaudio2_8:-no}
13962 enable_xaudio2_9
=${enable_xaudio2_9:-no}
13965 if test "$ac_cv_header_kstat_h" = "yes"
13967 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for kstat_open in -lkstat" >&5
13968 $as_echo_n "checking for kstat_open in -lkstat... " >&6; }
13969 if ${ac_cv_lib_kstat_kstat_open+:} false
; then :
13970 $as_echo_n "(cached) " >&6
13972 ac_check_lib_save_LIBS
=$LIBS
13973 LIBS
="-lkstat $LIBS"
13974 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13975 /* end confdefs.h. */
13977 /* Override any GCC internal prototype to avoid an error.
13978 Use char because int might match the return type of a GCC
13979 builtin and then its argument prototype would still apply. */
13983 char kstat_open ();
13987 return kstat_open ();
13992 if ac_fn_c_try_link
"$LINENO"; then :
13993 ac_cv_lib_kstat_kstat_open
=yes
13995 ac_cv_lib_kstat_kstat_open
=no
13997 rm -f core conftest.err conftest.
$ac_objext \
13998 conftest
$ac_exeext conftest.
$ac_ext
13999 LIBS
=$ac_check_lib_save_LIBS
14001 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_kstat_kstat_open" >&5
14002 $as_echo "$ac_cv_lib_kstat_kstat_open" >&6; }
14003 if test "x$ac_cv_lib_kstat_kstat_open" = xyes
; then :
14005 $as_echo "#define HAVE_LIBKSTAT 1" >>confdefs.h
14007 KSTAT_LIBS
="-lkstat"
14013 if test "$ac_cv_header_libprocstat_h" = "yes"
14015 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for procstat_open_sysctl in -lprocstat" >&5
14016 $as_echo_n "checking for procstat_open_sysctl in -lprocstat... " >&6; }
14017 if ${ac_cv_lib_procstat_procstat_open_sysctl+:} false
; then :
14018 $as_echo_n "(cached) " >&6
14020 ac_check_lib_save_LIBS
=$LIBS
14021 LIBS
="-lprocstat $LIBS"
14022 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14023 /* end confdefs.h. */
14025 /* Override any GCC internal prototype to avoid an error.
14026 Use char because int might match the return type of a GCC
14027 builtin and then its argument prototype would still apply. */
14031 char procstat_open_sysctl ();
14035 return procstat_open_sysctl ();
14040 if ac_fn_c_try_link
"$LINENO"; then :
14041 ac_cv_lib_procstat_procstat_open_sysctl
=yes
14043 ac_cv_lib_procstat_procstat_open_sysctl
=no
14045 rm -f core conftest.err conftest.
$ac_objext \
14046 conftest
$ac_exeext conftest.
$ac_ext
14047 LIBS
=$ac_check_lib_save_LIBS
14049 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_procstat_procstat_open_sysctl" >&5
14050 $as_echo "$ac_cv_lib_procstat_procstat_open_sysctl" >&6; }
14051 if test "x$ac_cv_lib_procstat_procstat_open_sysctl" = xyes
; then :
14053 $as_echo "#define HAVE_LIBPROCSTAT 1" >>confdefs.h
14055 PROCSTAT_LIBS
="-lprocstat"
14061 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lodbc" >&5
14062 $as_echo_n "checking for -lodbc... " >&6; }
14063 if ${ac_cv_lib_soname_odbc+:} false
; then :
14064 $as_echo_n "(cached) " >&6
14066 ac_check_soname_save_LIBS
=$LIBS
14067 LIBS
="-lodbc $LIBS"
14068 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14069 /* end confdefs.h. */
14071 /* Override any GCC internal prototype to avoid an error.
14072 Use char because int might match the return type of a GCC
14073 builtin and then its argument prototype would still apply. */
14077 char SQLConnect ();
14081 return SQLConnect ();
14086 if ac_fn_c_try_link
"$LINENO"; then :
14088 dll
) ac_cv_lib_soname_odbc
=`$ac_cv_path_LDD conftest.exe | grep "odbc" | sed -e "s/dll.*/dll/"';2,$d'` ;;
14089 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'` ;;
14090 *) ac_cv_lib_soname_odbc
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libodbc\\.$LIBEXT" | sed -e "s/^.*\\[\\(libodbc\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
14091 if ${ac_cv_lib_soname_odbc:+false} :; then :
14092 ac_cv_lib_soname_odbc
=`$LDD conftest$ac_exeext | grep "libodbc\\.$LIBEXT" | sed -e "s/^.*\(libodbc\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
14096 rm -f core conftest.err conftest.
$ac_objext \
14097 conftest
$ac_exeext conftest.
$ac_ext
14098 LIBS
=$ac_check_soname_save_LIBS
14100 if ${ac_cv_lib_soname_odbc:+false} :; then :
14101 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
14102 $as_echo "not found" >&6; }
14103 cat >>confdefs.h
<<_ACEOF
14104 #define SONAME_LIBODBC "libodbc.$LIBEXT"
14108 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_odbc" >&5
14109 $as_echo "$ac_cv_lib_soname_odbc" >&6; }
14111 cat >>confdefs.h
<<_ACEOF
14112 #define SONAME_LIBODBC "$ac_cv_lib_soname_odbc"
14118 if test "x$with_netapi" != "xno"
14120 if ${NETAPI_CFLAGS:+false} :; then :
14121 if ${PKG_CONFIG+:} false
; then :
14122 NETAPI_CFLAGS
=`$PKG_CONFIG --cflags netapi 2>/dev/null`
14126 if ${NETAPI_LIBS:+false} :; then :
14127 if ${PKG_CONFIG+:} false
; then :
14128 NETAPI_LIBS
=`$PKG_CONFIG --libs netapi 2>/dev/null`
14133 $as_echo "$as_me:${as_lineno-$LINENO}: netapi cflags: $NETAPI_CFLAGS" >&5
14134 $as_echo "$as_me:${as_lineno-$LINENO}: netapi libs: $NETAPI_LIBS" >&5
14135 ac_save_CPPFLAGS
=$CPPFLAGS
14136 CPPFLAGS
="$CPPFLAGS $NETAPI_CFLAGS"
14137 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lnetapi" >&5
14138 $as_echo_n "checking for -lnetapi... " >&6; }
14139 if ${ac_cv_lib_soname_netapi+:} false
; then :
14140 $as_echo_n "(cached) " >&6
14142 ac_check_soname_save_LIBS
=$LIBS
14143 LIBS
="-lnetapi $NETAPI_LIBS $LIBS"
14144 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14145 /* end confdefs.h. */
14147 /* Override any GCC internal prototype to avoid an error.
14148 Use char because int might match the return type of a GCC
14149 builtin and then its argument prototype would still apply. */
14153 char libnetapi_init ();
14157 return libnetapi_init ();
14162 if ac_fn_c_try_link
"$LINENO"; then :
14164 dll
) ac_cv_lib_soname_netapi
=`$ac_cv_path_LDD conftest.exe | grep "netapi" | sed -e "s/dll.*/dll/"';2,$d'` ;;
14165 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'` ;;
14166 *) ac_cv_lib_soname_netapi
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libnetapi\\.$LIBEXT" | sed -e "s/^.*\\[\\(libnetapi\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
14167 if ${ac_cv_lib_soname_netapi:+false} :; then :
14168 ac_cv_lib_soname_netapi
=`$LDD conftest$ac_exeext | grep "libnetapi\\.$LIBEXT" | sed -e "s/^.*\(libnetapi\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
14172 rm -f core conftest.err conftest.
$ac_objext \
14173 conftest
$ac_exeext conftest.
$ac_ext
14174 LIBS
=$ac_check_soname_save_LIBS
14176 if ${ac_cv_lib_soname_netapi:+false} :; then :
14177 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
14178 $as_echo "not found" >&6; }
14179 cat >>confdefs.h
<<_ACEOF
14180 #define SONAME_LIBNETAPI "libnetapi.$LIBEXT"
14184 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_netapi" >&5
14185 $as_echo "$ac_cv_lib_soname_netapi" >&6; }
14187 cat >>confdefs.h
<<_ACEOF
14188 #define SONAME_LIBNETAPI "$ac_cv_lib_soname_netapi"
14193 CPPFLAGS
=$ac_save_CPPFLAGS
14194 test -z "$NETAPI_CFLAGS" || NETAPI_CFLAGS
=`echo " $NETAPI_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
14195 test -z "$NETAPI_LIBS" || NETAPI_LIBS
=`echo " $NETAPI_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
14199 if test "x$enable_winealsa_drv$enable_winecoreaudio_drv$enable_winepulse_drv$enable_wineoss_drv" = xnononono
-a \
14200 "x$with_alsa$with_coreaudio$with_oss$with_pulse" != xnononono
14202 as_fn_append wine_warnings
"|No sound system was found. Windows applications will be silent."
14208 if test "x${GCC}" = "xyes"
14210 EXTRACFLAGS
="-Wall -pipe"
14212 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gcc strength-reduce bug" >&5
14213 $as_echo_n "checking for gcc strength-reduce bug... " >&6; }
14214 if ${ac_cv_c_gcc_strength_bug+:} false
; then :
14215 $as_echo_n "(cached) " >&6
14217 if test "$cross_compiling" = yes; then :
14218 ac_cv_c_gcc_strength_bug
="no"
14220 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14221 /* end confdefs.h. */
14222 int L[4] = {0,1,2,3};
14226 static int Array[3];
14227 unsigned int B = 3;
14229 for(i=0; i<B; i++) Array[i] = i - 3;
14230 for(i=0; i<4 - 1; i++) L[i] = L[i + 1];
14232 return (Array[1] != -2 || L[2] != 3)
14237 if ac_fn_c_try_run
"$LINENO"; then :
14238 ac_cv_c_gcc_strength_bug
="no"
14240 ac_cv_c_gcc_strength_bug
="yes"
14242 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext \
14243 conftest.
$ac_objext conftest.beam conftest.
$ac_ext
14247 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_gcc_strength_bug" >&5
14248 $as_echo "$ac_cv_c_gcc_strength_bug" >&6; }
14249 if test "$ac_cv_c_gcc_strength_bug" = "yes"
14251 EXTRACFLAGS
="$EXTRACFLAGS -fno-strength-reduce"
14254 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fno-builtin" >&5
14255 $as_echo_n "checking whether the compiler supports -fno-builtin... " >&6; }
14256 if ${ac_cv_cflags__fno_builtin+:} false
; then :
14257 $as_echo_n "(cached) " >&6
14259 ac_wine_try_cflags_saved
=$CFLAGS
14260 CFLAGS
="$CFLAGS -fno-builtin"
14261 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14262 /* end confdefs.h. */
14263 int main(int argc, char **argv) { return 0; }
14265 if ac_fn_c_try_link
"$LINENO"; then :
14266 ac_cv_cflags__fno_builtin
=yes
14268 ac_cv_cflags__fno_builtin
=no
14270 rm -f core conftest.err conftest.
$ac_objext \
14271 conftest
$ac_exeext conftest.
$ac_ext
14272 CFLAGS
=$ac_wine_try_cflags_saved
14274 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fno_builtin" >&5
14275 $as_echo "$ac_cv_cflags__fno_builtin" >&6; }
14276 if test "x$ac_cv_cflags__fno_builtin" = xyes
; then :
14277 BUILTINFLAG
="-fno-builtin"
14280 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fno-strict-aliasing" >&5
14281 $as_echo_n "checking whether the compiler supports -fno-strict-aliasing... " >&6; }
14282 if ${ac_cv_cflags__fno_strict_aliasing+:} false
; then :
14283 $as_echo_n "(cached) " >&6
14285 ac_wine_try_cflags_saved
=$CFLAGS
14286 CFLAGS
="$CFLAGS -fno-strict-aliasing"
14287 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14288 /* end confdefs.h. */
14289 int main(int argc, char **argv) { return 0; }
14291 if ac_fn_c_try_link
"$LINENO"; then :
14292 ac_cv_cflags__fno_strict_aliasing
=yes
14294 ac_cv_cflags__fno_strict_aliasing
=no
14296 rm -f core conftest.err conftest.
$ac_objext \
14297 conftest
$ac_exeext conftest.
$ac_ext
14298 CFLAGS
=$ac_wine_try_cflags_saved
14300 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fno_strict_aliasing" >&5
14301 $as_echo "$ac_cv_cflags__fno_strict_aliasing" >&6; }
14302 if test "x$ac_cv_cflags__fno_strict_aliasing" = xyes
; then :
14303 EXTRACFLAGS
="$EXTRACFLAGS -fno-strict-aliasing"
14305 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fexcess-precision=standard" >&5
14306 $as_echo_n "checking whether the compiler supports -fexcess-precision=standard... " >&6; }
14307 if ${ac_cv_cflags__fexcess_precision_standard+:} false
; then :
14308 $as_echo_n "(cached) " >&6
14310 ac_wine_try_cflags_saved
=$CFLAGS
14311 CFLAGS
="$CFLAGS -fexcess-precision=standard"
14312 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14313 /* end confdefs.h. */
14314 int main(int argc, char **argv) { return 0; }
14316 if ac_fn_c_try_link
"$LINENO"; then :
14317 ac_cv_cflags__fexcess_precision_standard
=yes
14319 ac_cv_cflags__fexcess_precision_standard
=no
14321 rm -f core conftest.err conftest.
$ac_objext \
14322 conftest
$ac_exeext conftest.
$ac_ext
14323 CFLAGS
=$ac_wine_try_cflags_saved
14325 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fexcess_precision_standard" >&5
14326 $as_echo "$ac_cv_cflags__fexcess_precision_standard" >&6; }
14327 if test "x$ac_cv_cflags__fexcess_precision_standard" = xyes
; then :
14328 EXCESS_PRECISION_CFLAGS
="-fexcess-precision=standard"
14331 saved_CFLAGS
=$CFLAGS
14332 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Werror=unknown-warning-option" >&5
14333 $as_echo_n "checking whether the compiler supports -Werror=unknown-warning-option... " >&6; }
14334 if ${ac_cv_cflags__Werror_unknown_warning_option+:} false
; then :
14335 $as_echo_n "(cached) " >&6
14337 ac_wine_try_cflags_saved
=$CFLAGS
14338 CFLAGS
="$CFLAGS -Werror=unknown-warning-option"
14339 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14340 /* end confdefs.h. */
14341 int main(int argc, char **argv) { return 0; }
14343 if ac_fn_c_try_link
"$LINENO"; then :
14344 ac_cv_cflags__Werror_unknown_warning_option
=yes
14346 ac_cv_cflags__Werror_unknown_warning_option
=no
14348 rm -f core conftest.err conftest.
$ac_objext \
14349 conftest
$ac_exeext conftest.
$ac_ext
14350 CFLAGS
=$ac_wine_try_cflags_saved
14352 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Werror_unknown_warning_option" >&5
14353 $as_echo "$ac_cv_cflags__Werror_unknown_warning_option" >&6; }
14354 if test "x$ac_cv_cflags__Werror_unknown_warning_option" = xyes
; then :
14355 CFLAGS
="$CFLAGS -Werror=unknown-warning-option"
14357 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wdeclaration-after-statement" >&5
14358 $as_echo_n "checking whether the compiler supports -Wdeclaration-after-statement... " >&6; }
14359 if ${ac_cv_cflags__Wdeclaration_after_statement+:} false
; then :
14360 $as_echo_n "(cached) " >&6
14362 ac_wine_try_cflags_saved
=$CFLAGS
14363 CFLAGS
="$CFLAGS -Wdeclaration-after-statement"
14364 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14365 /* end confdefs.h. */
14366 int main(int argc, char **argv) { return 0; }
14368 if ac_fn_c_try_link
"$LINENO"; then :
14369 ac_cv_cflags__Wdeclaration_after_statement
=yes
14371 ac_cv_cflags__Wdeclaration_after_statement
=no
14373 rm -f core conftest.err conftest.
$ac_objext \
14374 conftest
$ac_exeext conftest.
$ac_ext
14375 CFLAGS
=$ac_wine_try_cflags_saved
14377 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wdeclaration_after_statement" >&5
14378 $as_echo "$ac_cv_cflags__Wdeclaration_after_statement" >&6; }
14379 if test "x$ac_cv_cflags__Wdeclaration_after_statement" = xyes
; then :
14380 EXTRACFLAGS
="$EXTRACFLAGS -Wdeclaration-after-statement"
14382 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wempty-body" >&5
14383 $as_echo_n "checking whether the compiler supports -Wempty-body... " >&6; }
14384 if ${ac_cv_cflags__Wempty_body+:} false
; then :
14385 $as_echo_n "(cached) " >&6
14387 ac_wine_try_cflags_saved
=$CFLAGS
14388 CFLAGS
="$CFLAGS -Wempty-body"
14389 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14390 /* end confdefs.h. */
14391 int main(int argc, char **argv) { return 0; }
14393 if ac_fn_c_try_link
"$LINENO"; then :
14394 ac_cv_cflags__Wempty_body
=yes
14396 ac_cv_cflags__Wempty_body
=no
14398 rm -f core conftest.err conftest.
$ac_objext \
14399 conftest
$ac_exeext conftest.
$ac_ext
14400 CFLAGS
=$ac_wine_try_cflags_saved
14402 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wempty_body" >&5
14403 $as_echo "$ac_cv_cflags__Wempty_body" >&6; }
14404 if test "x$ac_cv_cflags__Wempty_body" = xyes
; then :
14405 EXTRACFLAGS
="$EXTRACFLAGS -Wempty-body"
14407 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wignored-qualifiers" >&5
14408 $as_echo_n "checking whether the compiler supports -Wignored-qualifiers... " >&6; }
14409 if ${ac_cv_cflags__Wignored_qualifiers+:} false
; then :
14410 $as_echo_n "(cached) " >&6
14412 ac_wine_try_cflags_saved
=$CFLAGS
14413 CFLAGS
="$CFLAGS -Wignored-qualifiers"
14414 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14415 /* end confdefs.h. */
14416 int main(int argc, char **argv) { return 0; }
14418 if ac_fn_c_try_link
"$LINENO"; then :
14419 ac_cv_cflags__Wignored_qualifiers
=yes
14421 ac_cv_cflags__Wignored_qualifiers
=no
14423 rm -f core conftest.err conftest.
$ac_objext \
14424 conftest
$ac_exeext conftest.
$ac_ext
14425 CFLAGS
=$ac_wine_try_cflags_saved
14427 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wignored_qualifiers" >&5
14428 $as_echo "$ac_cv_cflags__Wignored_qualifiers" >&6; }
14429 if test "x$ac_cv_cflags__Wignored_qualifiers" = xyes
; then :
14430 EXTRACFLAGS
="$EXTRACFLAGS -Wignored-qualifiers"
14432 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wshift-overflow=2" >&5
14433 $as_echo_n "checking whether the compiler supports -Wshift-overflow=2... " >&6; }
14434 if ${ac_cv_cflags__Wshift_overflow_2+:} false
; then :
14435 $as_echo_n "(cached) " >&6
14437 ac_wine_try_cflags_saved
=$CFLAGS
14438 CFLAGS
="$CFLAGS -Wshift-overflow=2"
14439 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14440 /* end confdefs.h. */
14441 int main(int argc, char **argv) { return 0; }
14443 if ac_fn_c_try_link
"$LINENO"; then :
14444 ac_cv_cflags__Wshift_overflow_2
=yes
14446 ac_cv_cflags__Wshift_overflow_2
=no
14448 rm -f core conftest.err conftest.
$ac_objext \
14449 conftest
$ac_exeext conftest.
$ac_ext
14450 CFLAGS
=$ac_wine_try_cflags_saved
14452 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wshift_overflow_2" >&5
14453 $as_echo "$ac_cv_cflags__Wshift_overflow_2" >&6; }
14454 if test "x$ac_cv_cflags__Wshift_overflow_2" = xyes
; then :
14455 EXTRACFLAGS
="$EXTRACFLAGS -Wshift-overflow=2"
14457 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wstrict-prototypes" >&5
14458 $as_echo_n "checking whether the compiler supports -Wstrict-prototypes... " >&6; }
14459 if ${ac_cv_cflags__Wstrict_prototypes+:} false
; then :
14460 $as_echo_n "(cached) " >&6
14462 ac_wine_try_cflags_saved
=$CFLAGS
14463 CFLAGS
="$CFLAGS -Wstrict-prototypes"
14464 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14465 /* end confdefs.h. */
14466 int main(int argc, char **argv) { return 0; }
14468 if ac_fn_c_try_link
"$LINENO"; then :
14469 ac_cv_cflags__Wstrict_prototypes
=yes
14471 ac_cv_cflags__Wstrict_prototypes
=no
14473 rm -f core conftest.err conftest.
$ac_objext \
14474 conftest
$ac_exeext conftest.
$ac_ext
14475 CFLAGS
=$ac_wine_try_cflags_saved
14477 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wstrict_prototypes" >&5
14478 $as_echo "$ac_cv_cflags__Wstrict_prototypes" >&6; }
14479 if test "x$ac_cv_cflags__Wstrict_prototypes" = xyes
; then :
14480 EXTRACFLAGS
="$EXTRACFLAGS -Wstrict-prototypes"
14482 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wtype-limits" >&5
14483 $as_echo_n "checking whether the compiler supports -Wtype-limits... " >&6; }
14484 if ${ac_cv_cflags__Wtype_limits+:} false
; then :
14485 $as_echo_n "(cached) " >&6
14487 ac_wine_try_cflags_saved
=$CFLAGS
14488 CFLAGS
="$CFLAGS -Wtype-limits"
14489 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14490 /* end confdefs.h. */
14491 int main(int argc, char **argv) { return 0; }
14493 if ac_fn_c_try_link
"$LINENO"; then :
14494 ac_cv_cflags__Wtype_limits
=yes
14496 ac_cv_cflags__Wtype_limits
=no
14498 rm -f core conftest.err conftest.
$ac_objext \
14499 conftest
$ac_exeext conftest.
$ac_ext
14500 CFLAGS
=$ac_wine_try_cflags_saved
14502 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wtype_limits" >&5
14503 $as_echo "$ac_cv_cflags__Wtype_limits" >&6; }
14504 if test "x$ac_cv_cflags__Wtype_limits" = xyes
; then :
14505 EXTRACFLAGS
="$EXTRACFLAGS -Wtype-limits"
14507 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wunused-but-set-parameter" >&5
14508 $as_echo_n "checking whether the compiler supports -Wunused-but-set-parameter... " >&6; }
14509 if ${ac_cv_cflags__Wunused_but_set_parameter+:} false
; then :
14510 $as_echo_n "(cached) " >&6
14512 ac_wine_try_cflags_saved
=$CFLAGS
14513 CFLAGS
="$CFLAGS -Wunused-but-set-parameter"
14514 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14515 /* end confdefs.h. */
14516 int main(int argc, char **argv) { return 0; }
14518 if ac_fn_c_try_link
"$LINENO"; then :
14519 ac_cv_cflags__Wunused_but_set_parameter
=yes
14521 ac_cv_cflags__Wunused_but_set_parameter
=no
14523 rm -f core conftest.err conftest.
$ac_objext \
14524 conftest
$ac_exeext conftest.
$ac_ext
14525 CFLAGS
=$ac_wine_try_cflags_saved
14527 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wunused_but_set_parameter" >&5
14528 $as_echo "$ac_cv_cflags__Wunused_but_set_parameter" >&6; }
14529 if test "x$ac_cv_cflags__Wunused_but_set_parameter" = xyes
; then :
14530 EXTRACFLAGS
="$EXTRACFLAGS -Wunused-but-set-parameter"
14532 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wvla" >&5
14533 $as_echo_n "checking whether the compiler supports -Wvla... " >&6; }
14534 if ${ac_cv_cflags__Wvla+:} false
; then :
14535 $as_echo_n "(cached) " >&6
14537 ac_wine_try_cflags_saved
=$CFLAGS
14538 CFLAGS
="$CFLAGS -Wvla"
14539 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14540 /* end confdefs.h. */
14541 int main(int argc, char **argv) { return 0; }
14543 if ac_fn_c_try_link
"$LINENO"; then :
14544 ac_cv_cflags__Wvla
=yes
14546 ac_cv_cflags__Wvla
=no
14548 rm -f core conftest.err conftest.
$ac_objext \
14549 conftest
$ac_exeext conftest.
$ac_ext
14550 CFLAGS
=$ac_wine_try_cflags_saved
14552 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wvla" >&5
14553 $as_echo "$ac_cv_cflags__Wvla" >&6; }
14554 if test "x$ac_cv_cflags__Wvla" = xyes
; then :
14555 EXTRACFLAGS
="$EXTRACFLAGS -Wvla"
14557 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wwrite-strings" >&5
14558 $as_echo_n "checking whether the compiler supports -Wwrite-strings... " >&6; }
14559 if ${ac_cv_cflags__Wwrite_strings+:} false
; then :
14560 $as_echo_n "(cached) " >&6
14562 ac_wine_try_cflags_saved
=$CFLAGS
14563 CFLAGS
="$CFLAGS -Wwrite-strings"
14564 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14565 /* end confdefs.h. */
14566 int main(int argc, char **argv) { return 0; }
14568 if ac_fn_c_try_link
"$LINENO"; then :
14569 ac_cv_cflags__Wwrite_strings
=yes
14571 ac_cv_cflags__Wwrite_strings
=no
14573 rm -f core conftest.err conftest.
$ac_objext \
14574 conftest
$ac_exeext conftest.
$ac_ext
14575 CFLAGS
=$ac_wine_try_cflags_saved
14577 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wwrite_strings" >&5
14578 $as_echo "$ac_cv_cflags__Wwrite_strings" >&6; }
14579 if test "x$ac_cv_cflags__Wwrite_strings" = xyes
; then :
14580 EXTRACFLAGS
="$EXTRACFLAGS -Wwrite-strings"
14583 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wpointer-arith" >&5
14584 $as_echo_n "checking whether the compiler supports -Wpointer-arith... " >&6; }
14585 if ${ac_cv_cflags__Wpointer_arith+:} false
; then :
14586 $as_echo_n "(cached) " >&6
14588 ac_wine_try_cflags_saved
=$CFLAGS
14589 CFLAGS
="$CFLAGS -Wpointer-arith"
14590 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14591 /* end confdefs.h. */
14592 int main(int argc, char **argv) { return 0; }
14594 if ac_fn_c_try_link
"$LINENO"; then :
14595 ac_cv_cflags__Wpointer_arith
=yes
14597 ac_cv_cflags__Wpointer_arith
=no
14599 rm -f core conftest.err conftest.
$ac_objext \
14600 conftest
$ac_exeext conftest.
$ac_ext
14601 CFLAGS
=$ac_wine_try_cflags_saved
14603 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wpointer_arith" >&5
14604 $as_echo "$ac_cv_cflags__Wpointer_arith" >&6; }
14605 if test "x$ac_cv_cflags__Wpointer_arith" = xyes
; then :
14606 saved_string_h_CFLAGS
=$CFLAGS
14607 CFLAGS
="$CFLAGS -Wpointer-arith -Werror"
14608 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for broken string.h that generates warnings with -Wpointer-arith" >&5
14609 $as_echo_n "checking for broken string.h that generates warnings with -Wpointer-arith... " >&6; }
14610 if ${ac_cv_c_string_h_warnings+:} false
; then :
14611 $as_echo_n "(cached) " >&6
14613 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14614 /* end confdefs.h. */
14615 #include <string.h>
14624 if ac_fn_c_try_compile
"$LINENO"; then :
14625 ac_cv_c_string_h_warnings
=no
14627 ac_cv_c_string_h_warnings
=yes
14629 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
14631 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_string_h_warnings" >&5
14632 $as_echo "$ac_cv_c_string_h_warnings" >&6; }
14633 test "$ac_cv_c_string_h_warnings" = yes || EXTRACFLAGS
="$EXTRACFLAGS -Wpointer-arith"
14634 CFLAGS
=$saved_string_h_CFLAGS
14637 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wlogical-op" >&5
14638 $as_echo_n "checking whether the compiler supports -Wlogical-op... " >&6; }
14639 if ${ac_cv_cflags__Wlogical_op+:} false
; then :
14640 $as_echo_n "(cached) " >&6
14642 ac_wine_try_cflags_saved
=$CFLAGS
14643 CFLAGS
="$CFLAGS -Wlogical-op"
14644 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14645 /* end confdefs.h. */
14646 int main(int argc, char **argv) { return 0; }
14648 if ac_fn_c_try_link
"$LINENO"; then :
14649 ac_cv_cflags__Wlogical_op
=yes
14651 ac_cv_cflags__Wlogical_op
=no
14653 rm -f core conftest.err conftest.
$ac_objext \
14654 conftest
$ac_exeext conftest.
$ac_ext
14655 CFLAGS
=$ac_wine_try_cflags_saved
14657 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wlogical_op" >&5
14658 $as_echo "$ac_cv_cflags__Wlogical_op" >&6; }
14659 if test "x$ac_cv_cflags__Wlogical_op" = xyes
; then :
14660 saved_string_h_CFLAGS
=$CFLAGS
14661 CFLAGS
="$CFLAGS -Wlogical-op -Werror"
14662 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for broken string.h that generates warnings with -Wlogical-op" >&5
14663 $as_echo_n "checking for broken string.h that generates warnings with -Wlogical-op... " >&6; }
14664 if ${ac_cv_c_logicalop_noisy+:} false
; then :
14665 $as_echo_n "(cached) " >&6
14667 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14668 /* end confdefs.h. */
14669 #include <string.h>
14670 char*f(const char *h,char n) {return strchr(h,n);}
14679 if ac_fn_c_try_compile
"$LINENO"; then :
14680 ac_cv_c_logicalop_noisy
=no
14682 ac_cv_c_logicalop_noisy
=yes
14684 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
14686 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_logicalop_noisy" >&5
14687 $as_echo "$ac_cv_c_logicalop_noisy" >&6; }
14688 CFLAGS
=$saved_string_h_CFLAGS
14689 test "$ac_cv_c_logicalop_noisy" = yes || EXTRACFLAGS
="$EXTRACFLAGS -Wlogical-op"
14692 CFLAGS
=$saved_CFLAGS
14694 for ac_flag
in $CFLAGS; do
14696 -g) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -gdwarf-2" >&5
14697 $as_echo_n "checking whether the compiler supports -gdwarf-2... " >&6; }
14698 if ${ac_cv_cflags__gdwarf_2+:} false
; then :
14699 $as_echo_n "(cached) " >&6
14701 ac_wine_try_cflags_saved
=$CFLAGS
14702 CFLAGS
="$CFLAGS -gdwarf-2"
14703 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14704 /* end confdefs.h. */
14705 int main(int argc, char **argv) { return 0; }
14707 if ac_fn_c_try_link
"$LINENO"; then :
14708 ac_cv_cflags__gdwarf_2
=yes
14710 ac_cv_cflags__gdwarf_2
=no
14712 rm -f core conftest.err conftest.
$ac_objext \
14713 conftest
$ac_exeext conftest.
$ac_ext
14714 CFLAGS
=$ac_wine_try_cflags_saved
14716 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__gdwarf_2" >&5
14717 $as_echo "$ac_cv_cflags__gdwarf_2" >&6; }
14718 if test "x$ac_cv_cflags__gdwarf_2" = xyes
; then :
14719 EXTRACFLAGS
="$EXTRACFLAGS -gdwarf-2"
14721 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -gstrict-dwarf" >&5
14722 $as_echo_n "checking whether the compiler supports -gstrict-dwarf... " >&6; }
14723 if ${ac_cv_cflags__gstrict_dwarf+:} false
; then :
14724 $as_echo_n "(cached) " >&6
14726 ac_wine_try_cflags_saved
=$CFLAGS
14727 CFLAGS
="$CFLAGS -gstrict-dwarf"
14728 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14729 /* end confdefs.h. */
14730 int main(int argc, char **argv) { return 0; }
14732 if ac_fn_c_try_link
"$LINENO"; then :
14733 ac_cv_cflags__gstrict_dwarf
=yes
14735 ac_cv_cflags__gstrict_dwarf
=no
14737 rm -f core conftest.err conftest.
$ac_objext \
14738 conftest
$ac_exeext conftest.
$ac_ext
14739 CFLAGS
=$ac_wine_try_cflags_saved
14741 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__gstrict_dwarf" >&5
14742 $as_echo "$ac_cv_cflags__gstrict_dwarf" >&6; }
14743 if test "x$ac_cv_cflags__gstrict_dwarf" = xyes
; then :
14744 EXTRACFLAGS
="$EXTRACFLAGS -gstrict-dwarf"
14750 *i
[3456789]86*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fno-omit-frame-pointer" >&5
14751 $as_echo_n "checking whether the compiler supports -fno-omit-frame-pointer... " >&6; }
14752 if ${ac_cv_cflags__fno_omit_frame_pointer+:} false
; then :
14753 $as_echo_n "(cached) " >&6
14755 ac_wine_try_cflags_saved
=$CFLAGS
14756 CFLAGS
="$CFLAGS -fno-omit-frame-pointer"
14757 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14758 /* end confdefs.h. */
14759 int main(int argc, char **argv) { return 0; }
14761 if ac_fn_c_try_link
"$LINENO"; then :
14762 ac_cv_cflags__fno_omit_frame_pointer
=yes
14764 ac_cv_cflags__fno_omit_frame_pointer
=no
14766 rm -f core conftest.err conftest.
$ac_objext \
14767 conftest
$ac_exeext conftest.
$ac_ext
14768 CFLAGS
=$ac_wine_try_cflags_saved
14770 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fno_omit_frame_pointer" >&5
14771 $as_echo "$ac_cv_cflags__fno_omit_frame_pointer" >&6; }
14772 if test "x$ac_cv_cflags__fno_omit_frame_pointer" = xyes
; then :
14773 EXTRACFLAGS
="$EXTRACFLAGS -fno-omit-frame-pointer"
14778 x86_64-
*mingw32
*|x86_64-
*cygwin
*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wno-format" >&5
14779 $as_echo_n "checking whether the compiler supports -Wno-format... " >&6; }
14780 if ${ac_cv_cflags__Wno_format+:} false
; then :
14781 $as_echo_n "(cached) " >&6
14783 ac_wine_try_cflags_saved
=$CFLAGS
14784 CFLAGS
="$CFLAGS -Wno-format"
14785 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14786 /* end confdefs.h. */
14787 int main(int argc, char **argv) { return 0; }
14789 if ac_fn_c_try_link
"$LINENO"; then :
14790 ac_cv_cflags__Wno_format
=yes
14792 ac_cv_cflags__Wno_format
=no
14794 rm -f core conftest.err conftest.
$ac_objext \
14795 conftest
$ac_exeext conftest.
$ac_ext
14796 CFLAGS
=$ac_wine_try_cflags_saved
14798 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wno_format" >&5
14799 $as_echo "$ac_cv_cflags__Wno_format" >&6; }
14800 if test "x$ac_cv_cflags__Wno_format" = xyes
; then :
14801 EXTRACFLAGS
="$EXTRACFLAGS -Wno-format"
14805 if test "x$enable_maintainer_mode" = "xyes"
14807 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Werror" >&5
14808 $as_echo_n "checking whether the compiler supports -Werror... " >&6; }
14809 if ${ac_cv_cflags__Werror+:} false
; then :
14810 $as_echo_n "(cached) " >&6
14812 ac_wine_try_cflags_saved
=$CFLAGS
14813 CFLAGS
="$CFLAGS -Werror"
14814 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14815 /* end confdefs.h. */
14816 int main(int argc, char **argv) { return 0; }
14818 if ac_fn_c_try_link
"$LINENO"; then :
14819 ac_cv_cflags__Werror
=yes
14821 ac_cv_cflags__Werror
=no
14823 rm -f core conftest.err conftest.
$ac_objext \
14824 conftest
$ac_exeext conftest.
$ac_ext
14825 CFLAGS
=$ac_wine_try_cflags_saved
14827 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Werror" >&5
14828 $as_echo "$ac_cv_cflags__Werror" >&6; }
14829 if test "x$ac_cv_cflags__Werror" = xyes
; then :
14830 EXTRACFLAGS
="$EXTRACFLAGS -Werror"
14834 saved_CFLAGS
="$CFLAGS"
14835 CFLAGS
="$CFLAGS -Werror"
14836 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ms_hook_prologue attribute" >&5
14837 $as_echo_n "checking for ms_hook_prologue attribute... " >&6; }
14838 if ${ac_cv_have_ms_hook_prologue+:} false
; then :
14839 $as_echo_n "(cached) " >&6
14841 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14842 /* end confdefs.h. */
14843 int __attribute__((__ms_hook_prologue__)) test(void) { return 0; }
14852 if ac_fn_c_try_compile
"$LINENO"; then :
14853 ac_cv_have_ms_hook_prologue
="yes"
14855 ac_cv_have_ms_hook_prologue
="no"
14857 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
14859 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_ms_hook_prologue" >&5
14860 $as_echo "$ac_cv_have_ms_hook_prologue" >&6; }
14861 CFLAGS
="$saved_CFLAGS"
14862 if test "$ac_cv_have_ms_hook_prologue" = "yes"
14865 $as_echo "#define DECLSPEC_HOTPATCH __attribute__((__ms_hook_prologue__))" >>confdefs.h
14868 $as_echo "#define DECLSPEC_HOTPATCH /* */" >>confdefs.h
14874 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for the need to disable Fortify" >&5
14875 $as_echo_n "checking for the need to disable Fortify... " >&6; }
14876 if ${ac_cv_c_fortify_enabled+:} false
; then :
14877 $as_echo_n "(cached) " >&6
14879 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14880 /* end confdefs.h. */
14881 #include <string.h>
14885 #if (defined(__USE_FORTIFY_LEVEL) && __USE_FORTIFY_LEVEL > 0) || (defined(_FORTIFY_SOURCE) && _FORTIFY_SOURCE > 0)
14886 #error Fortify enabled
14892 if ac_fn_c_try_compile
"$LINENO"; then :
14893 ac_cv_c_fortify_enabled
=no
14895 ac_cv_c_fortify_enabled
=yes
14897 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
14899 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_fortify_enabled" >&5
14900 $as_echo "$ac_cv_c_fortify_enabled" >&6; }
14901 if test "$ac_cv_c_fortify_enabled" = yes
14903 CFLAGS
="$CFLAGS -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=0"
14907 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether external symbols need an underscore prefix" >&5
14908 $as_echo_n "checking whether external symbols need an underscore prefix... " >&6; }
14909 if ${ac_cv_c_extern_prefix+:} false
; then :
14910 $as_echo_n "(cached) " >&6
14912 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14913 /* end confdefs.h. */
14914 extern int ac_test;
14918 asm(".globl _ac_test\n_ac_test:\t.long 0"); if (ac_test) return 1
14923 if ac_fn_c_try_link
"$LINENO"; then :
14924 ac_cv_c_extern_prefix
="yes"
14926 ac_cv_c_extern_prefix
="no"
14928 rm -f core conftest.err conftest.
$ac_objext \
14929 conftest
$ac_exeext conftest.
$ac_ext
14931 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_extern_prefix" >&5
14932 $as_echo "$ac_cv_c_extern_prefix" >&6; }
14936 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether external symbols need stdcall decoration" >&5
14937 $as_echo_n "checking whether external symbols need stdcall decoration... " >&6; }
14938 if ${ac_cv_c_stdcall_suffix+:} false
; then :
14939 $as_echo_n "(cached) " >&6
14941 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14942 /* end confdefs.h. */
14944 #define __stdcall __attribute__((__stdcall__))
14946 int __stdcall ac_test(int i) { return i; }
14950 asm("jmp _ac_test@4"); if (ac_test(1)) return 1
14955 if ac_fn_c_try_link
"$LINENO"; then :
14956 ac_cv_c_stdcall_suffix
="yes"
14958 ac_cv_c_stdcall_suffix
="no"
14960 rm -f core conftest.err conftest.
$ac_objext \
14961 conftest
$ac_exeext conftest.
$ac_ext
14963 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_stdcall_suffix" >&5
14964 $as_echo "$ac_cv_c_stdcall_suffix" >&6; } ;;
14965 *) ac_cv_c_stdcall_suffix
="no" ;;
14969 if test "$ac_cv_c_extern_prefix" = "yes"
14971 $as_echo "#define __ASM_NAME(name) \"_\" name" >>confdefs.h
14973 asm_name_prefix
="_"
14975 $as_echo "#define __ASM_NAME(name) name" >>confdefs.h
14981 if test "$ac_cv_c_stdcall_suffix" = "yes"
14983 $as_echo "#define __ASM_STDCALL(args) \"@\" #args" >>confdefs.h
14986 $as_echo "#define __ASM_STDCALL(args) \"\"" >>confdefs.h
14991 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to define a function in assembly code" >&5
14992 $as_echo_n "checking how to define a function in assembly code... " >&6; }
14993 if ${ac_cv_asm_func_def+:} false
; then :
14994 $as_echo_n "(cached) " >&6
14996 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14997 /* end confdefs.h. */
15002 asm("\t.globl _ac_test\n\t.def _ac_test; .scl 2; .type 32; .endef\n_ac_test:\t.long 0");
15007 if ac_fn_c_try_link
"$LINENO"; then :
15008 ac_cv_asm_func_def
=".def"
15010 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15011 /* end confdefs.h. */
15016 asm("\t.globl _ac_test\n\t.type _ac_test,@function\n_ac_test:\t.long 0");
15021 if ac_fn_c_try_link
"$LINENO"; then :
15022 ac_cv_asm_func_def
=".type @function"
15024 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15025 /* end confdefs.h. */
15030 asm("\t.globl _ac_test\n\t.type _ac_test,2\n_ac_test:\t.long 0");
15035 if ac_fn_c_try_link
"$LINENO"; then :
15036 ac_cv_asm_func_def
=".type 2"
15038 ac_cv_asm_func_def
="unknown"
15040 rm -f core conftest.err conftest.
$ac_objext \
15041 conftest
$ac_exeext conftest.
$ac_ext
15043 rm -f core conftest.err conftest.
$ac_objext \
15044 conftest
$ac_exeext conftest.
$ac_ext
15046 rm -f core conftest.err conftest.
$ac_objext \
15047 conftest
$ac_exeext conftest.
$ac_ext
15049 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_asm_func_def" >&5
15050 $as_echo "$ac_cv_asm_func_def" >&6; }
15053 case "$ac_cv_asm_func_def" in
15055 $as_echo "#define __ASM_FUNC(name) \".def \" __ASM_NAME(name) \"; .scl 2; .type 32; .endef\"" >>confdefs.h
15057 asm_func_header
=".def $asm_name_prefix\" #name suffix \"; .scl 2; .type 32; .endef" ;;
15059 $as_echo "#define __ASM_FUNC(name) \".type \" __ASM_NAME(name) \",@function\"" >>confdefs.h
15061 asm_func_header
=".type $asm_name_prefix\" #name suffix \",@function" ;;
15063 $as_echo "#define __ASM_FUNC(name) \".type \" __ASM_NAME(name) \",2\"" >>confdefs.h
15065 asm_func_header
=".type $asm_name_prefix\" #name suffix \",2" ;;
15067 $as_echo "#define __ASM_FUNC(name) \"\"" >>confdefs.h
15069 asm_func_header
="" ;;
15072 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether asm() works outside of functions" >&5
15073 $as_echo_n "checking whether asm() works outside of functions... " >&6; }
15074 if ${ac_cv_c_asm_outside_funcs+:} false
; then :
15075 $as_echo_n "(cached) " >&6
15077 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15078 /* end confdefs.h. */
15079 asm(".text\n\t.long 0");
15088 if ac_fn_c_try_compile
"$LINENO"; then :
15089 ac_cv_c_asm_outside_funcs
="yes"
15091 ac_cv_c_asm_outside_funcs
="no"
15093 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
15095 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_asm_outside_funcs" >&5
15096 $as_echo "$ac_cv_c_asm_outside_funcs" >&6; }
15098 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether .previous is supported in assembly code" >&5
15099 $as_echo_n "checking whether .previous is supported in assembly code... " >&6; }
15100 if ${ac_cv_c_dot_previous+:} false
; then :
15101 $as_echo_n "(cached) " >&6
15103 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15104 /* end confdefs.h. */
15109 asm(".text\nac_test:\t.long 0\n\t.previous");
15114 if ac_fn_c_try_link
"$LINENO"; then :
15115 ac_cv_c_dot_previous
="yes"
15117 ac_cv_c_dot_previous
="no"
15119 rm -f core conftest.err conftest.
$ac_objext \
15120 conftest
$ac_exeext conftest.
$ac_ext
15122 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_dot_previous" >&5
15123 $as_echo "$ac_cv_c_dot_previous" >&6; }
15125 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether CFI directives are supported in assembly code" >&5
15126 $as_echo_n "checking whether CFI directives are supported in assembly code... " >&6; }
15127 if ${ac_cv_c_cfi_support+:} false
; then :
15128 $as_echo_n "(cached) " >&6
15130 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15131 /* end confdefs.h. */
15132 asm(".text\nac_test:\t.cfi_startproc\n\t.long 0\n\t.cfi_endproc");
15141 if ac_fn_c_try_compile
"$LINENO"; then :
15142 ac_cv_c_cfi_support
="yes"
15144 ac_cv_c_cfi_support
="no"
15146 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
15148 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_cfi_support" >&5
15149 $as_echo "$ac_cv_c_cfi_support" >&6; }
15151 asm_func_header
=".globl $asm_name_prefix\" #name suffix \"\\n\\t$asm_func_header\\n$asm_name_prefix\" #name suffix \":\\n\\t"
15152 asm_func_trailer
=""
15153 if test "$ac_cv_c_dot_previous" = "yes"
15155 asm_func_trailer
="\\n\\t.previous"
15157 if test "$ac_cv_c_cfi_support" = "yes"
15159 asm_func_header
="$asm_func_header.cfi_startproc\\n\\t"
15160 asm_func_trailer
="\\n\\t.cfi_endproc$asm_func_trailer"
15162 $as_echo "#define __ASM_CFI(str) str" >>confdefs.h
15164 UNWINDFLAGS
=-fasynchronous-unwind-tables
15167 $as_echo "#define __ASM_CFI(str) \"\"" >>confdefs.h
15169 if test "x$enable_win64" = "xyes"
15171 as_fn_append wine_warnings
"|building 64-bit Wine without support for CFI directives; exception handling will not work properly."
15175 asm_func_code
="$asm_func_header\" code \"$asm_func_trailer"
15178 if test "$ac_cv_c_asm_outside_funcs" = "yes"
15180 cat >>confdefs.h
<<_ACEOF
15181 #define __ASM_DEFINE_FUNC(name,suffix,code) asm(".text\n\t.align 4\n\t$asm_func_code");
15185 cat >>confdefs.h
<<_ACEOF
15186 #define __ASM_DEFINE_FUNC(name,suffix,code) void __asm_dummy_##name(void) { asm(".text\n\t.align 4\n\t$asm_func_code"); }
15191 $as_echo "#define __ASM_GLOBAL_FUNC(name,code) __ASM_DEFINE_FUNC(name,\"\",code)" >>confdefs.h
15194 $as_echo "#define __ASM_STDCALL_FUNC(name,args,code) __ASM_DEFINE_FUNC(name,__ASM_STDCALL(args),code)" >>confdefs.h
15199 cygwin
*|mingw32
*) TOOLSEXT
=".exe"
15207 *i
[3456789]86*|x86_64
*)
15208 test "$wine_binary" = wine || wine_fn_append_file CONFIGURE_TARGETS
"loader/wine-preloader"
15209 WINELOADER_PROGRAMS
="$WINELOADER_PROGRAMS $wine_binary-preloader"
15216 ac_save_CFLAGS
="$CFLAGS"
15217 CFLAGS
="$CFLAGS $BUILTINFLAG"
15297 as_ac_var
=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
15298 ac_fn_c_check_func
"$LINENO" "$ac_func" "$as_ac_var"
15299 if eval test \"x\$
"$as_ac_var"\" = x
"yes"; then :
15300 cat >>confdefs.h
<<_ACEOF
15301 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
15307 CFLAGS
="$ac_save_CFLAGS"
15309 if test "$ac_cv_func_dlopen" = no
15311 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
15312 $as_echo_n "checking for dlopen in -ldl... " >&6; }
15313 if ${ac_cv_lib_dl_dlopen+:} false
; then :
15314 $as_echo_n "(cached) " >&6
15316 ac_check_lib_save_LIBS
=$LIBS
15318 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15319 /* end confdefs.h. */
15321 /* Override any GCC internal prototype to avoid an error.
15322 Use char because int might match the return type of a GCC
15323 builtin and then its argument prototype would still apply. */
15336 if ac_fn_c_try_link
"$LINENO"; then :
15337 ac_cv_lib_dl_dlopen
=yes
15339 ac_cv_lib_dl_dlopen
=no
15341 rm -f core conftest.err conftest.
$ac_objext \
15342 conftest
$ac_exeext conftest.
$ac_ext
15343 LIBS
=$ac_check_lib_save_LIBS
15345 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
15346 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
15347 if test "x$ac_cv_lib_dl_dlopen" = xyes
; then :
15348 $as_echo "#define HAVE_DLOPEN 1" >>confdefs.h
15354 ac_wine_check_funcs_save_LIBS
="$LIBS"
15355 LIBS
="$LIBS $DL_LIBS"
15356 for ac_func
in dladdr
15358 ac_fn_c_check_func
"$LINENO" "dladdr" "ac_cv_func_dladdr"
15359 if test "x$ac_cv_func_dladdr" = xyes
; then :
15360 cat >>confdefs.h
<<_ACEOF
15361 #define HAVE_DLADDR 1
15367 LIBS
="$ac_wine_check_funcs_save_LIBS"
15369 if test "$ac_cv_func_poll" = no
15371 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for poll in -lpoll" >&5
15372 $as_echo_n "checking for poll in -lpoll... " >&6; }
15373 if ${ac_cv_lib_poll_poll+:} false
; then :
15374 $as_echo_n "(cached) " >&6
15376 ac_check_lib_save_LIBS
=$LIBS
15377 LIBS
="-lpoll $LIBS"
15378 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15379 /* end confdefs.h. */
15381 /* Override any GCC internal prototype to avoid an error.
15382 Use char because int might match the return type of a GCC
15383 builtin and then its argument prototype would still apply. */
15396 if ac_fn_c_try_link
"$LINENO"; then :
15397 ac_cv_lib_poll_poll
=yes
15399 ac_cv_lib_poll_poll
=no
15401 rm -f core conftest.err conftest.
$ac_objext \
15402 conftest
$ac_exeext conftest.
$ac_ext
15403 LIBS
=$ac_check_lib_save_LIBS
15405 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_poll_poll" >&5
15406 $as_echo "$ac_cv_lib_poll_poll" >&6; }
15407 if test "x$ac_cv_lib_poll_poll" = xyes
; then :
15408 $as_echo "#define HAVE_POLL 1" >>confdefs.h
15415 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing gethostbyname" >&5
15416 $as_echo_n "checking for library containing gethostbyname... " >&6; }
15417 if ${ac_cv_search_gethostbyname+:} false
; then :
15418 $as_echo_n "(cached) " >&6
15420 ac_func_search_save_LIBS
=$LIBS
15421 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15422 /* end confdefs.h. */
15424 /* Override any GCC internal prototype to avoid an error.
15425 Use char because int might match the return type of a GCC
15426 builtin and then its argument prototype would still apply. */
15430 char gethostbyname ();
15434 return gethostbyname ();
15439 for ac_lib
in '' nsl
; do
15440 if test -z "$ac_lib"; then
15441 ac_res
="none required"
15444 LIBS
="-l$ac_lib $ac_func_search_save_LIBS"
15446 if ac_fn_c_try_link
"$LINENO"; then :
15447 ac_cv_search_gethostbyname
=$ac_res
15449 rm -f core conftest.err conftest.
$ac_objext \
15451 if ${ac_cv_search_gethostbyname+:} false
; then :
15455 if ${ac_cv_search_gethostbyname+:} false
; then :
15458 ac_cv_search_gethostbyname
=no
15460 rm conftest.
$ac_ext
15461 LIBS
=$ac_func_search_save_LIBS
15463 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_gethostbyname" >&5
15464 $as_echo "$ac_cv_search_gethostbyname" >&6; }
15465 ac_res
=$ac_cv_search_gethostbyname
15466 if test "$ac_res" != no
; then :
15467 test "$ac_res" = "none required" || LIBS
="$ac_res $LIBS"
15472 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing connect" >&5
15473 $as_echo_n "checking for library containing connect... " >&6; }
15474 if ${ac_cv_search_connect+:} false
; then :
15475 $as_echo_n "(cached) " >&6
15477 ac_func_search_save_LIBS
=$LIBS
15478 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15479 /* end confdefs.h. */
15481 /* Override any GCC internal prototype to avoid an error.
15482 Use char because int might match the return type of a GCC
15483 builtin and then its argument prototype would still apply. */
15496 for ac_lib
in '' socket
; do
15497 if test -z "$ac_lib"; then
15498 ac_res
="none required"
15501 LIBS
="-l$ac_lib $ac_func_search_save_LIBS"
15503 if ac_fn_c_try_link
"$LINENO"; then :
15504 ac_cv_search_connect
=$ac_res
15506 rm -f core conftest.err conftest.
$ac_objext \
15508 if ${ac_cv_search_connect+:} false
; then :
15512 if ${ac_cv_search_connect+:} false
; then :
15515 ac_cv_search_connect
=no
15517 rm conftest.
$ac_ext
15518 LIBS
=$ac_func_search_save_LIBS
15520 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_connect" >&5
15521 $as_echo "$ac_cv_search_connect" >&6; }
15522 ac_res
=$ac_cv_search_connect
15523 if test "$ac_res" != no
; then :
15524 test "$ac_res" = "none required" || LIBS
="$ac_res $LIBS"
15529 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing inet_aton" >&5
15530 $as_echo_n "checking for library containing inet_aton... " >&6; }
15531 if ${ac_cv_search_inet_aton+:} false
; then :
15532 $as_echo_n "(cached) " >&6
15534 ac_func_search_save_LIBS
=$LIBS
15535 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15536 /* end confdefs.h. */
15538 /* Override any GCC internal prototype to avoid an error.
15539 Use char because int might match the return type of a GCC
15540 builtin and then its argument prototype would still apply. */
15548 return inet_aton ();
15553 for ac_lib
in '' resolv
; do
15554 if test -z "$ac_lib"; then
15555 ac_res
="none required"
15558 LIBS
="-l$ac_lib $ac_func_search_save_LIBS"
15560 if ac_fn_c_try_link
"$LINENO"; then :
15561 ac_cv_search_inet_aton
=$ac_res
15563 rm -f core conftest.err conftest.
$ac_objext \
15565 if ${ac_cv_search_inet_aton+:} false
; then :
15569 if ${ac_cv_search_inet_aton+:} false
; then :
15572 ac_cv_search_inet_aton
=no
15574 rm conftest.
$ac_ext
15575 LIBS
=$ac_func_search_save_LIBS
15577 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_inet_aton" >&5
15578 $as_echo "$ac_cv_search_inet_aton" >&6; }
15579 ac_res
=$ac_cv_search_inet_aton
15580 if test "$ac_res" != no
; then :
15581 test "$ac_res" = "none required" || LIBS
="$ac_res $LIBS"
15601 as_ac_var
=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
15602 ac_fn_c_check_func
"$LINENO" "$ac_func" "$as_ac_var"
15603 if eval test \"x\$
"$as_ac_var"\" = x
"yes"; then :
15604 cat >>confdefs.h
<<_ACEOF
15605 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
15613 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing clock_gettime" >&5
15614 $as_echo_n "checking for library containing clock_gettime... " >&6; }
15615 if ${ac_cv_search_clock_gettime+:} false
; then :
15616 $as_echo_n "(cached) " >&6
15618 ac_func_search_save_LIBS
=$LIBS
15619 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15620 /* end confdefs.h. */
15622 /* Override any GCC internal prototype to avoid an error.
15623 Use char because int might match the return type of a GCC
15624 builtin and then its argument prototype would still apply. */
15628 char clock_gettime ();
15632 return clock_gettime ();
15637 for ac_lib
in '' rt
; do
15638 if test -z "$ac_lib"; then
15639 ac_res
="none required"
15642 LIBS
="-l$ac_lib $ac_func_search_save_LIBS"
15644 if ac_fn_c_try_link
"$LINENO"; then :
15645 ac_cv_search_clock_gettime
=$ac_res
15647 rm -f core conftest.err conftest.
$ac_objext \
15649 if ${ac_cv_search_clock_gettime+:} false
; then :
15653 if ${ac_cv_search_clock_gettime+:} false
; then :
15656 ac_cv_search_clock_gettime
=no
15658 rm conftest.
$ac_ext
15659 LIBS
=$ac_func_search_save_LIBS
15661 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_clock_gettime" >&5
15662 $as_echo "$ac_cv_search_clock_gettime" >&6; }
15663 ac_res
=$ac_cv_search_clock_gettime
15664 if test "$ac_res" != no
; then :
15665 test "$ac_res" = "none required" || LIBS
="$ac_res $LIBS"
15667 $as_echo "#define HAVE_CLOCK_GETTIME 1" >>confdefs.h
15669 test "$ac_res" = "none required" || RT_LIBS
="$ac_res"
15677 if test "$ac_cv_header_ldap_h" = "yes" -a "$ac_cv_header_lber_h" = "yes"
15679 ac_fn_c_check_type
"$LINENO" "LDAPSortKey" "ac_cv_type_LDAPSortKey" "#include <ldap.h>
15681 if test "x$ac_cv_type_LDAPSortKey" = xyes
; then :
15682 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldap_initialize in -lldap_r" >&5
15683 $as_echo_n "checking for ldap_initialize in -lldap_r... " >&6; }
15684 if ${ac_cv_lib_ldap_r_ldap_initialize+:} false
; then :
15685 $as_echo_n "(cached) " >&6
15687 ac_check_lib_save_LIBS
=$LIBS
15688 LIBS
="-lldap_r $PTHREAD_LIBS $LIBS"
15689 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15690 /* end confdefs.h. */
15692 /* Override any GCC internal prototype to avoid an error.
15693 Use char because int might match the return type of a GCC
15694 builtin and then its argument prototype would still apply. */
15698 char ldap_initialize ();
15702 return ldap_initialize ();
15707 if ac_fn_c_try_link
"$LINENO"; then :
15708 ac_cv_lib_ldap_r_ldap_initialize
=yes
15710 ac_cv_lib_ldap_r_ldap_initialize
=no
15712 rm -f core conftest.err conftest.
$ac_objext \
15713 conftest
$ac_exeext conftest.
$ac_ext
15714 LIBS
=$ac_check_lib_save_LIBS
15716 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ldap_r_ldap_initialize" >&5
15717 $as_echo "$ac_cv_lib_ldap_r_ldap_initialize" >&6; }
15718 if test "x$ac_cv_lib_ldap_r_ldap_initialize" = xyes
; then :
15719 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ber_init in -llber" >&5
15720 $as_echo_n "checking for ber_init in -llber... " >&6; }
15721 if ${ac_cv_lib_lber_ber_init+:} false
; then :
15722 $as_echo_n "(cached) " >&6
15724 ac_check_lib_save_LIBS
=$LIBS
15725 LIBS
="-llber $PTHREAD_LIBS $LIBS"
15726 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15727 /* end confdefs.h. */
15729 /* Override any GCC internal prototype to avoid an error.
15730 Use char because int might match the return type of a GCC
15731 builtin and then its argument prototype would still apply. */
15739 return ber_init ();
15744 if ac_fn_c_try_link
"$LINENO"; then :
15745 ac_cv_lib_lber_ber_init
=yes
15747 ac_cv_lib_lber_ber_init
=no
15749 rm -f core conftest.err conftest.
$ac_objext \
15750 conftest
$ac_exeext conftest.
$ac_ext
15751 LIBS
=$ac_check_lib_save_LIBS
15753 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_lber_ber_init" >&5
15754 $as_echo "$ac_cv_lib_lber_ber_init" >&6; }
15755 if test "x$ac_cv_lib_lber_ber_init" = xyes
; then :
15757 $as_echo "#define HAVE_LDAP 1" >>confdefs.h
15759 LDAP_LIBS
="-lldap_r -llber"
15766 ac_wine_check_funcs_save_LIBS
="$LIBS"
15767 LIBS
="$LIBS $LDAP_LIBS $PTHREAD_LIBS"
15769 ldap_count_references \
15770 ldap_first_reference \
15771 ldap_next_reference \
15772 ldap_parse_reference \
15773 ldap_parse_sort_control \
15774 ldap_parse_sortresponse_control \
15775 ldap_parse_vlv_control \
15776 ldap_parse_vlvresponse_control
15778 as_ac_var
=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
15779 ac_fn_c_check_func
"$LINENO" "$ac_func" "$as_ac_var"
15780 if eval test \"x\$
"$as_ac_var"\" = x
"yes"; then :
15781 cat >>confdefs.h
<<_ACEOF
15782 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
15788 LIBS
="$ac_wine_check_funcs_save_LIBS"
15790 if test "x$LDAP_LIBS" = "x"; then :
15791 case "x$with_ldap" in
15792 x
) as_fn_append wine_notices
"|libldap (OpenLDAP) ${notice_platform}development files not found, LDAP won't be supported." ;;
15794 *) as_fn_error $?
"libldap (OpenLDAP) ${notice_platform}development files not found, LDAP won't be supported.
15795 This is an error since --with-ldap was requested." "$LINENO" 5 ;;
15800 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether mkdir takes only one argument" >&5
15801 $as_echo_n "checking whether mkdir takes only one argument... " >&6; }
15802 if ${wine_cv_one_arg_mkdir+:} false
; then :
15803 $as_echo_n "(cached) " >&6
15805 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15806 /* end confdefs.h. */
15807 #include <sys/stat.h>
15816 if ac_fn_c_try_compile
"$LINENO"; then :
15817 wine_cv_one_arg_mkdir
=yes
15819 wine_cv_one_arg_mkdir
=no
15821 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
15823 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_one_arg_mkdir" >&5
15824 $as_echo "$wine_cv_one_arg_mkdir" >&6; }
15825 if test "$wine_cv_one_arg_mkdir" = "yes"
15828 $as_echo "#define HAVE_ONE_ARG_MKDIR 1" >>confdefs.h
15832 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sched_setaffinity" >&5
15833 $as_echo_n "checking for sched_setaffinity... " >&6; }
15834 if ${wine_cv_have_sched_setaffinity+:} false
; then :
15835 $as_echo_n "(cached) " >&6
15837 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15838 /* end confdefs.h. */
15839 #define _GNU_SOURCE
15844 sched_setaffinity(0, 0, 0);
15849 if ac_fn_c_try_link
"$LINENO"; then :
15850 wine_cv_have_sched_setaffinity
=yes
15852 wine_cv_have_sched_setaffinity
=no
15854 rm -f core conftest.err conftest.
$ac_objext \
15855 conftest
$ac_exeext conftest.
$ac_ext
15857 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_have_sched_setaffinity" >&5
15858 $as_echo "$wine_cv_have_sched_setaffinity" >&6; }
15859 if test "$wine_cv_have_sched_setaffinity" = "yes"
15862 $as_echo "#define HAVE_SCHED_SETAFFINITY 1" >>confdefs.h
15866 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fallocate" >&5
15867 $as_echo_n "checking for fallocate... " >&6; }
15868 if ${wine_cv_have_fallocate+:} 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 fallocate(-1, 0, 0, 0);
15883 if ac_fn_c_try_link
"$LINENO"; then :
15884 wine_cv_have_fallocate
=yes
15886 wine_cv_have_fallocate
=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_fallocate" >&5
15892 $as_echo "$wine_cv_have_fallocate" >&6; }
15893 if test "$wine_cv_have_fallocate" = "yes"
15896 $as_echo "#define HAVE_FALLOCATE 1" >>confdefs.h
15901 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for inline" >&5
15902 $as_echo_n "checking for inline... " >&6; }
15903 if ${ac_cv_c_inline+:} false
; then :
15904 $as_echo_n "(cached) " >&6
15907 for ac_kw
in inline __inline__ __inline
; do
15908 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15909 /* end confdefs.h. */
15910 #ifndef __cplusplus
15912 static $ac_kw foo_t static_foo () {return 0; }
15913 $ac_kw foo_t foo () {return 0; }
15917 if ac_fn_c_try_compile
"$LINENO"; then :
15918 ac_cv_c_inline
=$ac_kw
15920 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
15921 test "$ac_cv_c_inline" != no
&& break
15925 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_inline" >&5
15926 $as_echo "$ac_cv_c_inline" >&6; }
15928 case $ac_cv_c_inline in
15931 case $ac_cv_c_inline in
15933 *) ac_val
=$ac_cv_c_inline;;
15935 cat >>confdefs.h
<<_ACEOF
15936 #ifndef __cplusplus
15937 #define inline $ac_val
15943 ac_fn_c_check_type
"$LINENO" "mode_t" "ac_cv_type_mode_t" "$ac_includes_default"
15944 if test "x$ac_cv_type_mode_t" = xyes
; then :
15946 cat >>confdefs.h
<<_ACEOF
15947 #define HAVE_MODE_T 1
15952 ac_fn_c_check_type
"$LINENO" "off_t" "ac_cv_type_off_t" "$ac_includes_default"
15953 if test "x$ac_cv_type_off_t" = xyes
; then :
15955 cat >>confdefs.h
<<_ACEOF
15956 #define HAVE_OFF_T 1
15961 ac_fn_c_check_type
"$LINENO" "pid_t" "ac_cv_type_pid_t" "$ac_includes_default"
15962 if test "x$ac_cv_type_pid_t" = xyes
; then :
15964 cat >>confdefs.h
<<_ACEOF
15965 #define HAVE_PID_T 1
15970 ac_fn_c_check_type
"$LINENO" "size_t" "ac_cv_type_size_t" "$ac_includes_default"
15971 if test "x$ac_cv_type_size_t" = xyes
; then :
15973 cat >>confdefs.h
<<_ACEOF
15974 #define HAVE_SIZE_T 1
15979 ac_fn_c_check_type
"$LINENO" "ssize_t" "ac_cv_type_ssize_t" "$ac_includes_default"
15980 if test "x$ac_cv_type_ssize_t" = xyes
; then :
15982 cat >>confdefs.h
<<_ACEOF
15983 #define HAVE_SSIZE_T 1
15988 ac_fn_c_check_type
"$LINENO" "long long" "ac_cv_type_long_long" "$ac_includes_default"
15989 if test "x$ac_cv_type_long_long" = xyes
; then :
15991 cat >>confdefs.h
<<_ACEOF
15992 #define HAVE_LONG_LONG 1
15997 ac_fn_c_check_type
"$LINENO" "fsblkcnt_t" "ac_cv_type_fsblkcnt_t" "$ac_includes_default"
15998 if test "x$ac_cv_type_fsblkcnt_t" = xyes
; then :
16000 cat >>confdefs.h
<<_ACEOF
16001 #define HAVE_FSBLKCNT_T 1
16006 ac_fn_c_check_type
"$LINENO" "fsfilcnt_t" "ac_cv_type_fsfilcnt_t" "$ac_includes_default"
16007 if test "x$ac_cv_type_fsfilcnt_t" = xyes
; then :
16009 cat >>confdefs.h
<<_ACEOF
16010 #define HAVE_FSFILCNT_T 1
16016 ac_fn_c_check_type
"$LINENO" "sigset_t" "ac_cv_type_sigset_t" "#include <sys/types.h>
16017 #include <signal.h>
16019 if test "x$ac_cv_type_sigset_t" = xyes
; then :
16021 cat >>confdefs.h
<<_ACEOF
16022 #define HAVE_SIGSET_T 1
16028 ac_fn_c_check_type
"$LINENO" "request_sense" "ac_cv_type_request_sense" "#include <linux/cdrom.h>
16030 if test "x$ac_cv_type_request_sense" = xyes
; then :
16032 cat >>confdefs.h
<<_ACEOF
16033 #define HAVE_REQUEST_SENSE 1
16040 ac_fn_c_check_type
"$LINENO" "struct xinpgen" "ac_cv_type_struct_xinpgen" "#include <sys/types.h>
16041 #ifdef HAVE_SYS_SOCKET_H
16042 #include <sys/socket.h>
16044 #ifdef HAVE_SYS_SOCKETVAR_H
16045 #include <sys/socketvar.h>
16047 #ifdef HAVE_NET_ROUTE_H
16048 #include <net/route.h>
16050 #ifdef HAVE_NETINET_IN_H
16051 #include <netinet/in.h>
16053 #ifdef HAVE_NETINET_IN_SYSTM_H
16054 #include <netinet/in_systm.h>
16056 #ifdef HAVE_NETINET_IP_H
16057 #include <netinet/ip.h>
16059 #ifdef HAVE_NETINET_IN_PCB_H
16060 #include <netinet/in_pcb.h>
16063 if test "x$ac_cv_type_struct_xinpgen" = xyes
; then :
16065 cat >>confdefs.h
<<_ACEOF
16066 #define HAVE_STRUCT_XINPGEN 1
16073 ac_fn_c_check_type
"$LINENO" "struct r_debug" "ac_cv_type_struct_r_debug" "#ifdef HAVE_LINK_H
16076 #ifdef HAVE_SYS_LINK_H
16077 #include <sys/link.h>
16080 if test "x$ac_cv_type_struct_r_debug" = xyes
; then :
16082 cat >>confdefs.h
<<_ACEOF
16083 #define HAVE_STRUCT_R_DEBUG 1
16088 ac_fn_c_check_type
"$LINENO" "struct link_map" "ac_cv_type_struct_link_map" "#ifdef HAVE_LINK_H
16091 #ifdef HAVE_SYS_LINK_H
16092 #include <sys/link.h>
16095 if test "x$ac_cv_type_struct_link_map" = xyes
; then :
16097 cat >>confdefs.h
<<_ACEOF
16098 #define HAVE_STRUCT_LINK_MAP 1
16105 ac_fn_c_check_member
"$LINENO" "struct ff_effect" "direction" "ac_cv_member_struct_ff_effect_direction" "#ifdef HAVE_LINUX_INPUT_H
16106 #include <linux/input.h>
16109 if test "x$ac_cv_member_struct_ff_effect_direction" = xyes
; then :
16111 cat >>confdefs.h
<<_ACEOF
16112 #define HAVE_STRUCT_FF_EFFECT_DIRECTION 1
16119 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sigaddset" >&5
16120 $as_echo_n "checking for sigaddset... " >&6; }
16121 if ${wine_cv_have_sigaddset+:} false
; then :
16122 $as_echo_n "(cached) " >&6
16124 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
16125 /* end confdefs.h. */
16126 #include <signal.h>
16130 sigset_t set; sigaddset(&set,SIGTERM);
16135 if ac_fn_c_try_link
"$LINENO"; then :
16136 wine_cv_have_sigaddset
=yes
16138 wine_cv_have_sigaddset
=no
16140 rm -f core conftest.err conftest.
$ac_objext \
16141 conftest
$ac_exeext conftest.
$ac_ext
16143 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_have_sigaddset" >&5
16144 $as_echo "$wine_cv_have_sigaddset" >&6; }
16145 if test "$wine_cv_have_sigaddset" = "yes"
16148 $as_echo "#define HAVE_SIGADDSET 1" >>confdefs.h
16153 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we can use re-entrant gethostbyname_r Linux style" >&5
16154 $as_echo_n "checking whether we can use re-entrant gethostbyname_r Linux style... " >&6; }
16155 if ${wine_cv_linux_gethostbyname_r_6+:} false
; then :
16156 $as_echo_n "(cached) " >&6
16158 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
16159 /* end confdefs.h. */
16167 struct hostent *result;
16174 gethostbyname_r(name,&he,buf,bufsize,&result,&errnr);
16175 gethostbyaddr_r(addr, addrlen, addrtype,&he,buf,bufsize,&result,&errnr);
16181 if ac_fn_c_try_link
"$LINENO"; then :
16182 wine_cv_linux_gethostbyname_r_6
=yes
16184 wine_cv_linux_gethostbyname_r_6
=no
16187 rm -f core conftest.err conftest.
$ac_objext \
16188 conftest
$ac_exeext conftest.
$ac_ext
16191 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_linux_gethostbyname_r_6" >&5
16192 $as_echo "$wine_cv_linux_gethostbyname_r_6" >&6; }
16193 if test "$wine_cv_linux_gethostbyname_r_6" = "yes"
16196 $as_echo "#define HAVE_LINUX_GETHOSTBYNAME_R_6 1" >>confdefs.h
16200 if test "$ac_cv_header_linux_joystick_h" = "yes"
16202 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether linux/joystick.h uses the Linux 2.2+ API" >&5
16203 $as_echo_n "checking whether linux/joystick.h uses the Linux 2.2+ API... " >&6; }
16204 if ${wine_cv_linux_joystick_22_api+:} false
; then :
16205 $as_echo_n "(cached) " >&6
16207 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
16208 /* end confdefs.h. */
16210 #include <sys/ioctl.h>
16211 #include <sys/types.h>
16212 #include <linux/joystick.h>
16214 struct js_event blub;
16215 #if !defined(JS_EVENT_AXIS) || !defined(JS_EVENT_BUTTON)
16216 #error "no 2.2 header"
16227 if ac_fn_c_try_compile
"$LINENO"; then :
16228 wine_cv_linux_joystick_22_api
=yes
16230 wine_cv_linux_joystick_22_api
=no
16232 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
16235 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_linux_joystick_22_api" >&5
16236 $as_echo "$wine_cv_linux_joystick_22_api" >&6; }
16237 if test "$wine_cv_linux_joystick_22_api" = "yes"
16240 $as_echo "#define HAVE_LINUX_22_JOYSTICK_API 1" >>confdefs.h
16246 ac_fn_c_check_member
"$LINENO" "struct statfs" "f_bfree" "ac_cv_member_struct_statfs_f_bfree" "#include <sys/types.h>
16247 #ifdef HAVE_SYS_PARAM_H
16248 # include <sys/param.h>
16250 #ifdef HAVE_SYS_MOUNT_H
16251 # include <sys/mount.h>
16253 #ifdef HAVE_SYS_VFS_H
16254 # include <sys/vfs.h>
16256 #ifdef HAVE_SYS_STATFS_H
16257 # include <sys/statfs.h>
16260 if test "x$ac_cv_member_struct_statfs_f_bfree" = xyes
; then :
16262 cat >>confdefs.h
<<_ACEOF
16263 #define HAVE_STRUCT_STATFS_F_BFREE 1
16268 ac_fn_c_check_member
"$LINENO" "struct statfs" "f_bavail" "ac_cv_member_struct_statfs_f_bavail" "#include <sys/types.h>
16269 #ifdef HAVE_SYS_PARAM_H
16270 # include <sys/param.h>
16272 #ifdef HAVE_SYS_MOUNT_H
16273 # include <sys/mount.h>
16275 #ifdef HAVE_SYS_VFS_H
16276 # include <sys/vfs.h>
16278 #ifdef HAVE_SYS_STATFS_H
16279 # include <sys/statfs.h>
16282 if test "x$ac_cv_member_struct_statfs_f_bavail" = xyes
; then :
16284 cat >>confdefs.h
<<_ACEOF
16285 #define HAVE_STRUCT_STATFS_F_BAVAIL 1
16290 ac_fn_c_check_member
"$LINENO" "struct statfs" "f_frsize" "ac_cv_member_struct_statfs_f_frsize" "#include <sys/types.h>
16291 #ifdef HAVE_SYS_PARAM_H
16292 # include <sys/param.h>
16294 #ifdef HAVE_SYS_MOUNT_H
16295 # include <sys/mount.h>
16297 #ifdef HAVE_SYS_VFS_H
16298 # include <sys/vfs.h>
16300 #ifdef HAVE_SYS_STATFS_H
16301 # include <sys/statfs.h>
16304 if test "x$ac_cv_member_struct_statfs_f_frsize" = xyes
; then :
16306 cat >>confdefs.h
<<_ACEOF
16307 #define HAVE_STRUCT_STATFS_F_FRSIZE 1
16312 ac_fn_c_check_member
"$LINENO" "struct statfs" "f_ffree" "ac_cv_member_struct_statfs_f_ffree" "#include <sys/types.h>
16313 #ifdef HAVE_SYS_PARAM_H
16314 # include <sys/param.h>
16316 #ifdef HAVE_SYS_MOUNT_H
16317 # include <sys/mount.h>
16319 #ifdef HAVE_SYS_VFS_H
16320 # include <sys/vfs.h>
16322 #ifdef HAVE_SYS_STATFS_H
16323 # include <sys/statfs.h>
16326 if test "x$ac_cv_member_struct_statfs_f_ffree" = xyes
; then :
16328 cat >>confdefs.h
<<_ACEOF
16329 #define HAVE_STRUCT_STATFS_F_FFREE 1
16334 ac_fn_c_check_member
"$LINENO" "struct statfs" "f_favail" "ac_cv_member_struct_statfs_f_favail" "#include <sys/types.h>
16335 #ifdef HAVE_SYS_PARAM_H
16336 # include <sys/param.h>
16338 #ifdef HAVE_SYS_MOUNT_H
16339 # include <sys/mount.h>
16341 #ifdef HAVE_SYS_VFS_H
16342 # include <sys/vfs.h>
16344 #ifdef HAVE_SYS_STATFS_H
16345 # include <sys/statfs.h>
16348 if test "x$ac_cv_member_struct_statfs_f_favail" = xyes
; then :
16350 cat >>confdefs.h
<<_ACEOF
16351 #define HAVE_STRUCT_STATFS_F_FAVAIL 1
16356 ac_fn_c_check_member
"$LINENO" "struct statfs" "f_namelen" "ac_cv_member_struct_statfs_f_namelen" "#include <sys/types.h>
16357 #ifdef HAVE_SYS_PARAM_H
16358 # include <sys/param.h>
16360 #ifdef HAVE_SYS_MOUNT_H
16361 # include <sys/mount.h>
16363 #ifdef HAVE_SYS_VFS_H
16364 # include <sys/vfs.h>
16366 #ifdef HAVE_SYS_STATFS_H
16367 # include <sys/statfs.h>
16370 if test "x$ac_cv_member_struct_statfs_f_namelen" = xyes
; then :
16372 cat >>confdefs.h
<<_ACEOF
16373 #define HAVE_STRUCT_STATFS_F_NAMELEN 1
16380 ac_fn_c_check_member
"$LINENO" "struct statvfs" "f_blocks" "ac_cv_member_struct_statvfs_f_blocks" "#ifdef HAVE_SYS_STATVFS_H
16381 #include <sys/statvfs.h>
16384 if test "x$ac_cv_member_struct_statvfs_f_blocks" = xyes
; then :
16386 cat >>confdefs.h
<<_ACEOF
16387 #define HAVE_STRUCT_STATVFS_F_BLOCKS 1
16394 ac_fn_c_check_member
"$LINENO" "struct dirent" "d_reclen" "ac_cv_member_struct_dirent_d_reclen" "#ifdef HAVE_DIRENT_H
16395 #include <dirent.h>
16398 if test "x$ac_cv_member_struct_dirent_d_reclen" = xyes
; then :
16400 cat >>confdefs.h
<<_ACEOF
16401 #define HAVE_STRUCT_DIRENT_D_RECLEN 1
16408 ac_fn_c_check_member
"$LINENO" "struct msghdr" "msg_accrights" "ac_cv_member_struct_msghdr_msg_accrights" "#include <sys/types.h>
16409 #ifdef HAVE_SYS_SOCKET_H
16410 # include <sys/socket.h>
16412 #ifdef HAVE_SYS_UN_H
16413 # include <sys/un.h>
16416 if test "x$ac_cv_member_struct_msghdr_msg_accrights" = xyes
; then :
16418 cat >>confdefs.h
<<_ACEOF
16419 #define HAVE_STRUCT_MSGHDR_MSG_ACCRIGHTS 1
16424 ac_fn_c_check_member
"$LINENO" "struct sockaddr" "sa_len" "ac_cv_member_struct_sockaddr_sa_len" "#include <sys/types.h>
16425 #ifdef HAVE_SYS_SOCKET_H
16426 # include <sys/socket.h>
16428 #ifdef HAVE_SYS_UN_H
16429 # include <sys/un.h>
16432 if test "x$ac_cv_member_struct_sockaddr_sa_len" = xyes
; then :
16434 cat >>confdefs.h
<<_ACEOF
16435 #define HAVE_STRUCT_SOCKADDR_SA_LEN 1
16440 ac_fn_c_check_member
"$LINENO" "struct sockaddr_un" "sun_len" "ac_cv_member_struct_sockaddr_un_sun_len" "#include <sys/types.h>
16441 #ifdef HAVE_SYS_SOCKET_H
16442 # include <sys/socket.h>
16444 #ifdef HAVE_SYS_UN_H
16445 # include <sys/un.h>
16448 if test "x$ac_cv_member_struct_sockaddr_un_sun_len" = xyes
; then :
16450 cat >>confdefs.h
<<_ACEOF
16451 #define HAVE_STRUCT_SOCKADDR_UN_SUN_LEN 1
16458 ac_fn_c_check_member
"$LINENO" "scsireq_t" "cmd" "ac_cv_member_scsireq_t_cmd" "#include <sys/types.h>
16459 #ifdef HAVE_SCSI_SG_H
16460 #include <scsi/sg.h>
16463 if test "x$ac_cv_member_scsireq_t_cmd" = xyes
; then :
16465 cat >>confdefs.h
<<_ACEOF
16466 #define HAVE_SCSIREQ_T_CMD 1
16471 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>
16472 #ifdef HAVE_SCSI_SG_H
16473 #include <scsi/sg.h>
16476 if test "x$ac_cv_member_sg_io_hdr_t_interface_id" = xyes
; then :
16478 cat >>confdefs.h
<<_ACEOF
16479 #define HAVE_SG_IO_HDR_T_INTERFACE_ID 1
16486 ac_fn_c_check_member
"$LINENO" "siginfo_t" "si_fd" "ac_cv_member_siginfo_t_si_fd" "#include <signal.h>
16488 if test "x$ac_cv_member_siginfo_t_si_fd" = xyes
; then :
16490 cat >>confdefs.h
<<_ACEOF
16491 #define HAVE_SIGINFO_T_SI_FD 1
16498 ac_fn_c_check_member
"$LINENO" "struct mtget" "mt_blksiz" "ac_cv_member_struct_mtget_mt_blksiz" "#include <sys/types.h>
16499 #ifdef HAVE_SYS_MTIO_H
16500 #include <sys/mtio.h>
16503 if test "x$ac_cv_member_struct_mtget_mt_blksiz" = xyes
; then :
16505 cat >>confdefs.h
<<_ACEOF
16506 #define HAVE_STRUCT_MTGET_MT_BLKSIZ 1
16511 ac_fn_c_check_member
"$LINENO" "struct mtget" "mt_gstat" "ac_cv_member_struct_mtget_mt_gstat" "#include <sys/types.h>
16512 #ifdef HAVE_SYS_MTIO_H
16513 #include <sys/mtio.h>
16516 if test "x$ac_cv_member_struct_mtget_mt_gstat" = xyes
; then :
16518 cat >>confdefs.h
<<_ACEOF
16519 #define HAVE_STRUCT_MTGET_MT_GSTAT 1
16524 ac_fn_c_check_member
"$LINENO" "struct mtget" "mt_blkno" "ac_cv_member_struct_mtget_mt_blkno" "#include <sys/types.h>
16525 #ifdef HAVE_SYS_MTIO_H
16526 #include <sys/mtio.h>
16529 if test "x$ac_cv_member_struct_mtget_mt_blkno" = xyes
; then :
16531 cat >>confdefs.h
<<_ACEOF
16532 #define HAVE_STRUCT_MTGET_MT_BLKNO 1
16539 ac_fn_c_check_member
"$LINENO" "struct option" "name" "ac_cv_member_struct_option_name" "#ifdef HAVE_GETOPT_H
16540 #include <getopt.h>
16543 if test "x$ac_cv_member_struct_option_name" = xyes
; then :
16545 cat >>confdefs.h
<<_ACEOF
16546 #define HAVE_STRUCT_OPTION_NAME 1
16553 ac_fn_c_check_member
"$LINENO" "struct stat" "st_blocks" "ac_cv_member_struct_stat_st_blocks" "$ac_includes_default"
16554 if test "x$ac_cv_member_struct_stat_st_blocks" = xyes
; then :
16556 cat >>confdefs.h
<<_ACEOF
16557 #define HAVE_STRUCT_STAT_ST_BLOCKS 1
16562 ac_fn_c_check_member
"$LINENO" "struct stat" "st_mtim" "ac_cv_member_struct_stat_st_mtim" "$ac_includes_default"
16563 if test "x$ac_cv_member_struct_stat_st_mtim" = xyes
; then :
16565 cat >>confdefs.h
<<_ACEOF
16566 #define HAVE_STRUCT_STAT_ST_MTIM 1
16571 ac_fn_c_check_member
"$LINENO" "struct stat" "st_mtimespec" "ac_cv_member_struct_stat_st_mtimespec" "$ac_includes_default"
16572 if test "x$ac_cv_member_struct_stat_st_mtimespec" = xyes
; then :
16574 cat >>confdefs.h
<<_ACEOF
16575 #define HAVE_STRUCT_STAT_ST_MTIMESPEC 1
16580 ac_fn_c_check_member
"$LINENO" "struct stat" "st_ctim" "ac_cv_member_struct_stat_st_ctim" "$ac_includes_default"
16581 if test "x$ac_cv_member_struct_stat_st_ctim" = xyes
; then :
16583 cat >>confdefs.h
<<_ACEOF
16584 #define HAVE_STRUCT_STAT_ST_CTIM 1
16589 ac_fn_c_check_member
"$LINENO" "struct stat" "st_ctimespec" "ac_cv_member_struct_stat_st_ctimespec" "$ac_includes_default"
16590 if test "x$ac_cv_member_struct_stat_st_ctimespec" = xyes
; then :
16592 cat >>confdefs.h
<<_ACEOF
16593 #define HAVE_STRUCT_STAT_ST_CTIMESPEC 1
16598 ac_fn_c_check_member
"$LINENO" "struct stat" "st_atim" "ac_cv_member_struct_stat_st_atim" "$ac_includes_default"
16599 if test "x$ac_cv_member_struct_stat_st_atim" = xyes
; then :
16601 cat >>confdefs.h
<<_ACEOF
16602 #define HAVE_STRUCT_STAT_ST_ATIM 1
16607 ac_fn_c_check_member
"$LINENO" "struct stat" "st_atimespec" "ac_cv_member_struct_stat_st_atimespec" "$ac_includes_default"
16608 if test "x$ac_cv_member_struct_stat_st_atimespec" = xyes
; then :
16610 cat >>confdefs.h
<<_ACEOF
16611 #define HAVE_STRUCT_STAT_ST_ATIMESPEC 1
16616 ac_fn_c_check_member
"$LINENO" "struct stat" "st_birthtime" "ac_cv_member_struct_stat_st_birthtime" "$ac_includes_default"
16617 if test "x$ac_cv_member_struct_stat_st_birthtime" = xyes
; then :
16619 cat >>confdefs.h
<<_ACEOF
16620 #define HAVE_STRUCT_STAT_ST_BIRTHTIME 1
16625 ac_fn_c_check_member
"$LINENO" "struct stat" "st_birthtim" "ac_cv_member_struct_stat_st_birthtim" "$ac_includes_default"
16626 if test "x$ac_cv_member_struct_stat_st_birthtim" = xyes
; then :
16628 cat >>confdefs.h
<<_ACEOF
16629 #define HAVE_STRUCT_STAT_ST_BIRTHTIM 1
16634 ac_fn_c_check_member
"$LINENO" "struct stat" "st_birthtimespec" "ac_cv_member_struct_stat_st_birthtimespec" "$ac_includes_default"
16635 if test "x$ac_cv_member_struct_stat_st_birthtimespec" = xyes
; then :
16637 cat >>confdefs.h
<<_ACEOF
16638 #define HAVE_STRUCT_STAT_ST_BIRTHTIMESPEC 1
16643 ac_fn_c_check_member
"$LINENO" "struct stat" "__st_birthtime" "ac_cv_member_struct_stat___st_birthtime" "$ac_includes_default"
16644 if test "x$ac_cv_member_struct_stat___st_birthtime" = xyes
; then :
16646 cat >>confdefs.h
<<_ACEOF
16647 #define HAVE_STRUCT_STAT___ST_BIRTHTIME 1
16652 ac_fn_c_check_member
"$LINENO" "struct stat" "__st_birthtim" "ac_cv_member_struct_stat___st_birthtim" "$ac_includes_default"
16653 if test "x$ac_cv_member_struct_stat___st_birthtim" = xyes
; then :
16655 cat >>confdefs.h
<<_ACEOF
16656 #define HAVE_STRUCT_STAT___ST_BIRTHTIM 1
16663 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
16664 #include <sys/types.h>
16666 #ifdef HAVE_NETINET_IN_H
16667 #include <netinet/in.h>
16670 if test "x$ac_cv_member_struct_sockaddr_in6_sin6_scope_id" = xyes
; then :
16672 cat >>confdefs.h
<<_ACEOF
16673 #define HAVE_STRUCT_SOCKADDR_IN6_SIN6_SCOPE_ID 1
16680 ac_fn_c_check_type
"$LINENO" "struct __res_state" "ac_cv_type_struct___res_state" "#ifdef HAVE_RESOLV_H
16681 #include <resolv.h>
16684 if test "x$ac_cv_type_struct___res_state" = xyes
; then :
16686 cat >>confdefs.h
<<_ACEOF
16687 #define HAVE_STRUCT___RES_STATE 1
16694 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
16695 #include <resolv.h>
16698 if test "x$ac_cv_member_struct___res_state__u__ext_nscount6" = xyes
; then :
16700 cat >>confdefs.h
<<_ACEOF
16701 #define HAVE_STRUCT___RES_STATE__U__EXT_NSCOUNT6 1
16708 ac_fn_c_check_member
"$LINENO" "ns_msg" "_msg_ptr" "ac_cv_member_ns_msg__msg_ptr" "#ifdef HAVE_SYS_TYPES_H
16709 #include <sys/types.h>
16711 #ifdef HAVE_NETINET_IN_H
16712 # include <netinet/in.h>
16714 #ifdef HAVE_ARPA_NAMESER_H
16715 # include <arpa/nameser.h>
16718 if test "x$ac_cv_member_ns_msg__msg_ptr" = xyes
; then :
16720 cat >>confdefs.h
<<_ACEOF
16721 #define HAVE_NS_MSG__MSG_PTR 1
16728 ac_fn_c_check_member
"$LINENO" "struct icmpstat" "icps_inhist" "ac_cv_member_struct_icmpstat_icps_inhist" "#ifdef HAVE_SYS_TYPES_H
16729 #include <sys/types.h>
16731 #ifdef HAVE_NETINET_IP_H
16732 #include <netinet/ip.h>
16734 #ifdef HAVE_NETINET_IP_ICMP_H
16735 #include <netinet/ip_icmp.h>
16737 #ifdef HAVE_NETINET_ICMP_VAR_H
16738 #include <netinet/icmp_var.h>
16741 if test "x$ac_cv_member_struct_icmpstat_icps_inhist" = xyes
; then :
16743 cat >>confdefs.h
<<_ACEOF
16744 #define HAVE_STRUCT_ICMPSTAT_ICPS_INHIST 1
16751 ac_fn_c_check_member
"$LINENO" "struct icmpstat" "icps_outhist" "ac_cv_member_struct_icmpstat_icps_outhist" "#ifdef HAVE_SYS_TYPES_H
16752 #include <sys/types.h>
16754 #ifdef HAVE_ALIAS_H
16757 #ifdef HAVE_SYS_SOCKET_H
16758 #include <sys/socket.h>
16760 #ifdef HAVE_SYS_SOCKETVAR_H
16761 #include <sys/socketvar.h>
16763 #ifdef HAVE_SYS_TIMEOUT_H
16764 #include <sys/timeout.h>
16766 #ifdef HAVE_NETINET_IN_H
16767 #include <netinet/in.h>
16769 #ifdef HAVE_NETINET_IN_SYSTM_H
16770 #include <netinet/in_systm.h>
16772 #ifdef HAVE_NETINET_IP_H
16773 #include <netinet/ip.h>
16775 #ifdef HAVE_NETINET_IP_VAR_H
16776 #include <netinet/ip_var.h>
16778 #ifdef HAVE_NETINET_IP_ICMP_H
16779 #include <netinet/ip_icmp.h>
16781 #ifdef HAVE_NETINET_ICMP_VAR_H
16782 #include <netinet/icmp_var.h>
16785 if test "x$ac_cv_member_struct_icmpstat_icps_outhist" = xyes
; then :
16787 cat >>confdefs.h
<<_ACEOF
16788 #define HAVE_STRUCT_ICMPSTAT_ICPS_OUTHIST 1
16795 ac_fn_c_check_member
"$LINENO" "struct ipstat" "ips_total" "ac_cv_member_struct_ipstat_ips_total" "#ifdef HAVE_SYS_TYPES_H
16796 #include <sys/types.h>
16798 #ifdef HAVE_SYS_SOCKETVAR_H
16799 #include <sys/socketvar.h>
16801 #ifdef HAVE_NETINET_IN_H
16802 #include <netinet/in.h>
16804 #ifdef HAVE_NETINET_IP_VAR_H
16805 #include <netinet/ip_var.h>
16808 if test "x$ac_cv_member_struct_ipstat_ips_total" = xyes
; then :
16810 cat >>confdefs.h
<<_ACEOF
16811 #define HAVE_STRUCT_IPSTAT_IPS_TOTAL 1
16818 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
16819 #include <netinet/ip_var.h>
16822 if test "x$ac_cv_member_struct_ip_stats_ips_total" = xyes
; then :
16824 cat >>confdefs.h
<<_ACEOF
16825 #define HAVE_STRUCT_IP_STATS_IPS_TOTAL 1
16832 ac_fn_c_check_member
"$LINENO" "struct tcpstat" "tcps_connattempt" "ac_cv_member_struct_tcpstat_tcps_connattempt" "#ifdef HAVE_SYS_TYPES_H
16833 #include <sys/types.h>
16835 #ifdef HAVE_SYS_SOCKETVAR_H
16836 #include <sys/socketvar.h>
16838 #ifdef HAVE_NETINET_IN_H
16839 #include <netinet/in.h>
16841 #ifdef HAVE_NETINET_TCP_H
16842 #include <netinet/tcp.h>
16844 #ifdef HAVE_NETINET_TCP_VAR_H
16845 #include <netinet/tcp_var.h>
16848 if test "x$ac_cv_member_struct_tcpstat_tcps_connattempt" = xyes
; then :
16850 cat >>confdefs.h
<<_ACEOF
16851 #define HAVE_STRUCT_TCPSTAT_TCPS_CONNATTEMPT 1
16858 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
16859 #include <netinet/tcp_var.h>
16862 if test "x$ac_cv_member_struct_tcp_stats_tcps_connattempt" = xyes
; then :
16864 cat >>confdefs.h
<<_ACEOF
16865 #define HAVE_STRUCT_TCP_STATS_TCPS_CONNATTEMPT 1
16872 ac_fn_c_check_member
"$LINENO" "struct udpstat" "udps_ipackets" "ac_cv_member_struct_udpstat_udps_ipackets" "#ifdef HAVE_SYS_TYPES_H
16873 #include <sys/types.h>
16875 #ifdef HAVE_NETINET_IN_H
16876 #include <netinet/in.h>
16878 #ifdef HAVE_NETINET_IP_VAR_H
16879 #include <netinet/ip_var.h>
16881 #ifdef HAVE_NETINET_UDP_H
16882 #include <netinet/udp.h>
16884 #ifdef HAVE_NETINET_UDP_VAR_H
16885 #include <netinet/udp_var.h>
16888 if test "x$ac_cv_member_struct_udpstat_udps_ipackets" = xyes
; then :
16890 cat >>confdefs.h
<<_ACEOF
16891 #define HAVE_STRUCT_UDPSTAT_UDPS_IPACKETS 1
16898 ac_fn_c_check_member
"$LINENO" "struct ifreq" "ifr_hwaddr" "ac_cv_member_struct_ifreq_ifr_hwaddr" "#ifdef HAVE_SYS_TYPES_H
16899 #include <sys/types.h>
16901 #ifdef HAVE_NET_IF_H
16902 # include <net/if.h>
16905 if test "x$ac_cv_member_struct_ifreq_ifr_hwaddr" = xyes
; then :
16907 cat >>confdefs.h
<<_ACEOF
16908 #define HAVE_STRUCT_IFREQ_IFR_HWADDR 1
16915 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for timezone variable" >&5
16916 $as_echo_n "checking for timezone variable... " >&6; }
16917 if ${ac_cv_have_timezone+:} false
; then :
16918 $as_echo_n "(cached) " >&6
16920 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
16921 /* end confdefs.h. */
16931 if ac_fn_c_try_link
"$LINENO"; then :
16932 ac_cv_have_timezone
="yes"
16934 ac_cv_have_timezone
="no"
16936 rm -f core conftest.err conftest.
$ac_objext \
16937 conftest
$ac_exeext conftest.
$ac_ext
16939 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_timezone" >&5
16940 $as_echo "$ac_cv_have_timezone" >&6; }
16941 if test "$ac_cv_have_timezone" = "yes"
16944 $as_echo "#define HAVE_TIMEZONE 1" >>confdefs.h
16947 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for daylight variable" >&5
16948 $as_echo_n "checking for daylight variable... " >&6; }
16949 if ${ac_cv_have_daylight+:} false
; then :
16950 $as_echo_n "(cached) " >&6
16952 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
16953 /* end confdefs.h. */
16963 if ac_fn_c_try_link
"$LINENO"; then :
16964 ac_cv_have_daylight
="yes"
16966 ac_cv_have_daylight
="no"
16968 rm -f core conftest.err conftest.
$ac_objext \
16969 conftest
$ac_exeext conftest.
$ac_ext
16971 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_daylight" >&5
16972 $as_echo "$ac_cv_have_daylight" >&6; }
16973 if test "$ac_cv_have_daylight" = "yes"
16976 $as_echo "#define HAVE_DAYLIGHT 1" >>confdefs.h
16980 ac_save_LIBS
="$LIBS"
16982 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isfinite" >&5
16983 $as_echo_n "checking for isfinite... " >&6; }
16984 if ${ac_cv_have_isfinite+:} false
; then :
16985 $as_echo_n "(cached) " >&6
16987 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
16988 /* end confdefs.h. */
16989 #define _GNU_SOURCE
16994 float f = 0.0; return isfinite(f)
16999 if ac_fn_c_try_link
"$LINENO"; then :
17000 ac_cv_have_isfinite
="yes"
17002 ac_cv_have_isfinite
="no"
17004 rm -f core conftest.err conftest.
$ac_objext \
17005 conftest
$ac_exeext conftest.
$ac_ext
17007 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_isfinite" >&5
17008 $as_echo "$ac_cv_have_isfinite" >&6; }
17009 if test "$ac_cv_have_isfinite" = "yes"
17012 $as_echo "#define HAVE_ISFINITE 1" >>confdefs.h
17016 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinf" >&5
17017 $as_echo_n "checking for isinf... " >&6; }
17018 if ${ac_cv_have_isinf+:} false
; then :
17019 $as_echo_n "(cached) " >&6
17021 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
17022 /* end confdefs.h. */
17027 float f = 0.0; return isinf(f)
17032 if ac_fn_c_try_link
"$LINENO"; then :
17033 ac_cv_have_isinf
="yes"
17035 ac_cv_have_isinf
="no"
17037 rm -f core conftest.err conftest.
$ac_objext \
17038 conftest
$ac_exeext conftest.
$ac_ext
17040 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_isinf" >&5
17041 $as_echo "$ac_cv_have_isinf" >&6; }
17042 if test "$ac_cv_have_isinf" = "yes"
17045 $as_echo "#define HAVE_ISINF 1" >>confdefs.h
17049 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnan" >&5
17050 $as_echo_n "checking for isnan... " >&6; }
17051 if ${ac_cv_have_isnan+:} false
; then :
17052 $as_echo_n "(cached) " >&6
17054 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
17055 /* end confdefs.h. */
17060 float f = 0.0; return isnan(f)
17065 if ac_fn_c_try_link
"$LINENO"; then :
17066 ac_cv_have_isnan
="yes"
17068 ac_cv_have_isnan
="no"
17070 rm -f core conftest.err conftest.
$ac_objext \
17071 conftest
$ac_exeext conftest.
$ac_ext
17073 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_isnan" >&5
17074 $as_echo "$ac_cv_have_isnan" >&6; }
17075 if test "$ac_cv_have_isnan" = "yes"
17078 $as_echo "#define HAVE_ISNAN 1" >>confdefs.h
17114 as_ac_var
=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
17115 ac_fn_c_check_func
"$LINENO" "$ac_func" "$as_ac_var"
17116 if eval test \"x\$
"$as_ac_var"\" = x
"yes"; then :
17117 cat >>confdefs.h
<<_ACEOF
17118 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
17124 LIBS
="$ac_save_LIBS"
17126 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for __builtin_clz" >&5
17127 $as_echo_n "checking for __builtin_clz... " >&6; }
17128 if ${ac_cv_have___builtin_clz+:} false
; then :
17129 $as_echo_n "(cached) " >&6
17131 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
17132 /* end confdefs.h. */
17137 return __builtin_clz(1)
17142 if ac_fn_c_try_link
"$LINENO"; then :
17143 ac_cv_have___builtin_clz
="yes"
17145 ac_cv_have___builtin_clz
="no"
17147 rm -f core conftest.err conftest.
$ac_objext \
17148 conftest
$ac_exeext conftest.
$ac_ext
17150 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have___builtin_clz" >&5
17151 $as_echo "$ac_cv_have___builtin_clz" >&6; }
17152 if test "$ac_cv_have___builtin_clz" = "yes"
17155 $as_echo "#define HAVE___BUILTIN_CLZ 1" >>confdefs.h
17159 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for __builtin_popcount" >&5
17160 $as_echo_n "checking for __builtin_popcount... " >&6; }
17161 if ${ac_cv_have___builtin_popcount+:} false
; then :
17162 $as_echo_n "(cached) " >&6
17164 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
17165 /* end confdefs.h. */
17170 return __builtin_popcount(1)
17175 if ac_fn_c_try_link
"$LINENO"; then :
17176 ac_cv_have___builtin_popcount
="yes"
17178 ac_cv_have___builtin_popcount
="no"
17180 rm -f core conftest.err conftest.
$ac_objext \
17181 conftest
$ac_exeext conftest.
$ac_ext
17183 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have___builtin_popcount" >&5
17184 $as_echo "$ac_cv_have___builtin_popcount" >&6; }
17185 if test "$ac_cv_have___builtin_popcount" = "yes"
17188 $as_echo "#define HAVE___BUILTIN_POPCOUNT 1" >>confdefs.h
17194 *i
[3456789]86*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __i386__" >&5
17195 $as_echo_n "checking whether we need to define __i386__... " >&6; }
17196 if ${ac_cv_cpp_def___i386__+:} false
; then :
17197 $as_echo_n "(cached) " >&6
17199 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
17200 /* end confdefs.h. */
17205 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
17206 $EGREP "yes" >/dev
/null
2>&1; then :
17207 ac_cv_cpp_def___i386__
=yes
17209 ac_cv_cpp_def___i386__
=no
17214 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___i386__" >&5
17215 $as_echo "$ac_cv_cpp_def___i386__" >&6; }
17216 if test "x$ac_cv_cpp_def___i386__" = xyes
; then :
17217 CFLAGS
="$CFLAGS -D__i386__"
17218 LINTFLAGS
="$LINTFLAGS -D__i386__"
17220 *x86_64
*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __x86_64__" >&5
17221 $as_echo_n "checking whether we need to define __x86_64__... " >&6; }
17222 if ${ac_cv_cpp_def___x86_64__+:} false
; then :
17223 $as_echo_n "(cached) " >&6
17225 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
17226 /* end confdefs.h. */
17231 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
17232 $EGREP "yes" >/dev
/null
2>&1; then :
17233 ac_cv_cpp_def___x86_64__
=yes
17235 ac_cv_cpp_def___x86_64__
=no
17240 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___x86_64__" >&5
17241 $as_echo "$ac_cv_cpp_def___x86_64__" >&6; }
17242 if test "x$ac_cv_cpp_def___x86_64__" = xyes
; then :
17243 CFLAGS
="$CFLAGS -D__x86_64__"
17244 LINTFLAGS
="$LINTFLAGS -D__x86_64__"
17246 *sparc64
*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __sparc64__" >&5
17247 $as_echo_n "checking whether we need to define __sparc64__... " >&6; }
17248 if ${ac_cv_cpp_def___sparc64__+:} false
; then :
17249 $as_echo_n "(cached) " >&6
17251 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
17252 /* end confdefs.h. */
17253 #ifndef __sparc64__
17257 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
17258 $EGREP "yes" >/dev
/null
2>&1; then :
17259 ac_cv_cpp_def___sparc64__
=yes
17261 ac_cv_cpp_def___sparc64__
=no
17266 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___sparc64__" >&5
17267 $as_echo "$ac_cv_cpp_def___sparc64__" >&6; }
17268 if test "x$ac_cv_cpp_def___sparc64__" = xyes
; then :
17269 CFLAGS
="$CFLAGS -D__sparc64__"
17270 LINTFLAGS
="$LINTFLAGS -D__sparc64__"
17272 *sparc
*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __sparc__" >&5
17273 $as_echo_n "checking whether we need to define __sparc__... " >&6; }
17274 if ${ac_cv_cpp_def___sparc__+:} false
; then :
17275 $as_echo_n "(cached) " >&6
17277 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
17278 /* end confdefs.h. */
17283 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
17284 $EGREP "yes" >/dev
/null
2>&1; then :
17285 ac_cv_cpp_def___sparc__
=yes
17287 ac_cv_cpp_def___sparc__
=no
17292 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___sparc__" >&5
17293 $as_echo "$ac_cv_cpp_def___sparc__" >&6; }
17294 if test "x$ac_cv_cpp_def___sparc__" = xyes
; then :
17295 CFLAGS
="$CFLAGS -D__sparc__"
17296 LINTFLAGS
="$LINTFLAGS -D__sparc__"
17298 *powerpc64
*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __powerpc64__" >&5
17299 $as_echo_n "checking whether we need to define __powerpc64__... " >&6; }
17300 if ${ac_cv_cpp_def___powerpc64__+:} false
; then :
17301 $as_echo_n "(cached) " >&6
17303 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
17304 /* end confdefs.h. */
17305 #ifndef __powerpc64__
17309 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
17310 $EGREP "yes" >/dev
/null
2>&1; then :
17311 ac_cv_cpp_def___powerpc64__
=yes
17313 ac_cv_cpp_def___powerpc64__
=no
17318 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___powerpc64__" >&5
17319 $as_echo "$ac_cv_cpp_def___powerpc64__" >&6; }
17320 if test "x$ac_cv_cpp_def___powerpc64__" = xyes
; then :
17321 CFLAGS
="$CFLAGS -D__powerpc64__"
17322 LINTFLAGS
="$LINTFLAGS -D__powerpc64__"
17324 *powerpc
*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __powerpc__" >&5
17325 $as_echo_n "checking whether we need to define __powerpc__... " >&6; }
17326 if ${ac_cv_cpp_def___powerpc__+:} false
; then :
17327 $as_echo_n "(cached) " >&6
17329 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
17330 /* end confdefs.h. */
17331 #ifndef __powerpc__
17335 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
17336 $EGREP "yes" >/dev
/null
2>&1; then :
17337 ac_cv_cpp_def___powerpc__
=yes
17339 ac_cv_cpp_def___powerpc__
=no
17344 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___powerpc__" >&5
17345 $as_echo "$ac_cv_cpp_def___powerpc__" >&6; }
17346 if test "x$ac_cv_cpp_def___powerpc__" = xyes
; then :
17347 CFLAGS
="$CFLAGS -D__powerpc__"
17348 LINTFLAGS
="$LINTFLAGS -D__powerpc__"
17350 *aarch64
*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __aarch64__" >&5
17351 $as_echo_n "checking whether we need to define __aarch64__... " >&6; }
17352 if ${ac_cv_cpp_def___aarch64__+:} false
; then :
17353 $as_echo_n "(cached) " >&6
17355 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
17356 /* end confdefs.h. */
17357 #ifndef __aarch64__
17361 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
17362 $EGREP "yes" >/dev
/null
2>&1; then :
17363 ac_cv_cpp_def___aarch64__
=yes
17365 ac_cv_cpp_def___aarch64__
=no
17370 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___aarch64__" >&5
17371 $as_echo "$ac_cv_cpp_def___aarch64__" >&6; }
17372 if test "x$ac_cv_cpp_def___aarch64__" = xyes
; then :
17373 CFLAGS
="$CFLAGS -D__aarch64__"
17374 LINTFLAGS
="$LINTFLAGS -D__aarch64__"
17376 *arm
*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __arm__" >&5
17377 $as_echo_n "checking whether we need to define __arm__... " >&6; }
17378 if ${ac_cv_cpp_def___arm__+:} false
; then :
17379 $as_echo_n "(cached) " >&6
17381 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
17382 /* end confdefs.h. */
17387 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
17388 $EGREP "yes" >/dev
/null
2>&1; then :
17389 ac_cv_cpp_def___arm__
=yes
17391 ac_cv_cpp_def___arm__
=no
17396 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___arm__" >&5
17397 $as_echo "$ac_cv_cpp_def___arm__" >&6; }
17398 if test "x$ac_cv_cpp_def___arm__" = xyes
; then :
17399 CFLAGS
="$CFLAGS -D__arm__"
17400 LINTFLAGS
="$LINTFLAGS -D__arm__"
17404 case $host_vendor in
17405 *sun
*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __sun__" >&5
17406 $as_echo_n "checking whether we need to define __sun__... " >&6; }
17407 if ${ac_cv_cpp_def___sun__+:} false
; then :
17408 $as_echo_n "(cached) " >&6
17410 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
17411 /* end confdefs.h. */
17416 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
17417 $EGREP "yes" >/dev
/null
2>&1; then :
17418 ac_cv_cpp_def___sun__
=yes
17420 ac_cv_cpp_def___sun__
=no
17425 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___sun__" >&5
17426 $as_echo "$ac_cv_cpp_def___sun__" >&6; }
17427 if test "x$ac_cv_cpp_def___sun__" = xyes
; then :
17428 CFLAGS
="$CFLAGS -D__sun__"
17429 LINTFLAGS
="$LINTFLAGS -D__sun__"
17437 ac_config_commands
="$ac_config_commands include/stamp-h"
17439 $as_echo_n "creating Makefile rules..." >&6
17441 ALL_VARS_RULES
="OPENGL_LIBS = $OPENGL_LIBS
17442 SOCKET_LIBS = $SOCKET_LIBS
17443 COREFOUNDATION_LIBS = $COREFOUNDATION_LIBS
17444 IOKIT_LIBS = $IOKIT_LIBS
17445 FORCEFEEDBACK_LIBS = $FORCEFEEDBACK_LIBS
17446 APPLICATIONSERVICES_LIBS = $APPLICATIONSERVICES_LIBS
17447 CORESERVICES_LIBS = $CORESERVICES_LIBS
17448 APPKIT_LIBS = $APPKIT_LIBS
17449 DISKARBITRATION_LIBS = $DISKARBITRATION_LIBS
17450 SECURITY_LIBS = $SECURITY_LIBS
17451 COREAUDIO_LIBS = $COREAUDIO_LIBS
17452 OPENAL_LIBS = $OPENAL_LIBS
17453 OPENCL_LIBS = $OPENCL_LIBS
17454 QUICKTIME_LIBS = $QUICKTIME_LIBS
17455 CARBON_LIBS = $CARBON_LIBS
17456 PTHREAD_LIBS = $PTHREAD_LIBS
17457 X_CFLAGS = $X_CFLAGS
17458 X_PRE_LIBS = $X_PRE_LIBS
17460 X_EXTRA_LIBS = $X_EXTRA_LIBS
17461 PCAP_LIBS = $PCAP_LIBS
17462 XML2_CFLAGS = $XML2_CFLAGS
17463 XML2_LIBS = $XML2_LIBS
17464 XSLT_CFLAGS = $XSLT_CFLAGS
17465 XSLT_LIBS = $XSLT_LIBS
17466 DBUS_CFLAGS = $DBUS_CFLAGS
17467 DBUS_LIBS = $DBUS_LIBS
17468 HAL_CFLAGS = $HAL_CFLAGS
17469 HAL_LIBS = $HAL_LIBS
17470 GNUTLS_CFLAGS = $GNUTLS_CFLAGS
17471 GNUTLS_LIBS = $GNUTLS_LIBS
17472 SANE_CFLAGS = $SANE_CFLAGS
17473 SANE_LIBS = $SANE_LIBS
17474 GPHOTO2_CFLAGS = $GPHOTO2_CFLAGS
17475 GPHOTO2_LIBS = $GPHOTO2_LIBS
17476 GPHOTO2_PORT_CFLAGS = $GPHOTO2_PORT_CFLAGS
17477 GPHOTO2_PORT_LIBS = $GPHOTO2_PORT_LIBS
17478 RESOLV_LIBS = $RESOLV_LIBS
17479 LCMS2_CFLAGS = $LCMS2_CFLAGS
17480 LCMS2_LIBS = $LCMS2_LIBS
17481 FREETYPE_CFLAGS = $FREETYPE_CFLAGS
17482 FREETYPE_LIBS = $FREETYPE_LIBS
17484 GETTEXTPO_LIBS = $GETTEXTPO_LIBS
17485 PULSE_CFLAGS = $PULSE_CFLAGS
17486 PULSE_LIBS = $PULSE_LIBS
17487 GSTREAMER_CFLAGS = $GSTREAMER_CFLAGS
17488 GSTREAMER_LIBS = $GSTREAMER_LIBS
17489 ALSA_LIBS = $ALSA_LIBS
17490 OSS4_CFLAGS = $OSS4_CFLAGS
17491 UDEV_CFLAGS = $UDEV_CFLAGS
17492 UDEV_LIBS = $UDEV_LIBS
17493 CAPI20_CFLAGS = $CAPI20_CFLAGS
17494 CAPI20_LIBS = $CAPI20_LIBS
17495 CUPS_CFLAGS = $CUPS_CFLAGS
17496 FONTCONFIG_CFLAGS = $FONTCONFIG_CFLAGS
17497 FONTCONFIG_LIBS = $FONTCONFIG_LIBS
17498 JPEG_CFLAGS = $JPEG_CFLAGS
17499 JPEG_LIBS = $JPEG_LIBS
17500 PNG_CFLAGS = $PNG_CFLAGS
17501 PNG_LIBS = $PNG_LIBS
17502 TIFF_CFLAGS = $TIFF_CFLAGS
17503 TIFF_LIBS = $TIFF_LIBS
17504 MPG123_CFLAGS = $MPG123_CFLAGS
17505 MPG123_LIBS = $MPG123_LIBS
17506 KSTAT_LIBS = $KSTAT_LIBS
17507 PROCSTAT_LIBS = $PROCSTAT_LIBS
17508 NETAPI_CFLAGS = $NETAPI_CFLAGS
17509 NETAPI_LIBS = $NETAPI_LIBS
17510 EXCESS_PRECISION_CFLAGS = $EXCESS_PRECISION_CFLAGS
17512 POLL_LIBS = $POLL_LIBS
17514 LDAP_LIBS = $LDAP_LIBS
17519 wine_fn_append_rule
"
17520 # Rules automatically generated by configure
17522 CLEAN_FILES = *.o *.a *.so *.res *.fake *.ok *.tab.[ch] *.yy.c
17527 Makefile: $srcdir/Makefile.in config.status \$(MAKEDEP)
17528 @./config.status Make.tmp Makefile
17529 depend: \$(MAKEDEP) dummy
17532 test -n "$CROSSTARGET" || wine_fn_append_rule
"crosstest:
17533 @echo \"crosstest is not supported (mingw not installed?)\" && false"
17535 if test "x$enable_fonts" != xno
; then
17536 ac_config_links
="$ac_config_links fonts/marlett.ttf:fonts/marlett.ttf"
17537 ac_config_links
="$ac_config_links fonts/symbol.ttf:fonts/symbol.ttf"
17538 ac_config_links
="$ac_config_links fonts/tahoma.ttf:fonts/tahoma.ttf"
17539 ac_config_links
="$ac_config_links fonts/tahomabd.ttf:fonts/tahomabd.ttf"
17540 ac_config_links
="$ac_config_links fonts/wingding.ttf:fonts/wingding.ttf"
17541 test "$srcdir" = "." || wine_fn_config_symlink fonts
/marlett.ttf fonts
/symbol.ttf fonts
/tahoma.ttf fonts
/tahomabd.ttf fonts
/wingding.ttf
17543 ac_config_links
="$ac_config_links loader/l_intl.nls:loader/l_intl.nls"
17544 test "$srcdir" = "." || wine_fn_config_symlink loader
/l_intl.nls
17545 ac_config_links
="$ac_config_links wine:tools/winewrapper"
17546 wine_fn_config_symlink wine
17547 if test "x$enable_win64" != xno
; then
17548 ac_config_links
="$ac_config_links wine64:tools/winewrapper"
17549 wine_fn_config_symlink wine64
17552 wine_fn_config_dll acledit enable_acledit
17553 wine_fn_config_dll aclui enable_aclui implib
17554 wine_fn_config_dll activeds enable_activeds implib
17555 wine_fn_config_dll actxprxy enable_actxprxy clean
17556 wine_fn_config_lib adsiid
17557 wine_fn_config_dll advapi32 enable_advapi32 clean
,implib
17558 wine_fn_config_test dlls
/advapi32
/tests advapi32_test
17559 wine_fn_config_dll advpack enable_advpack implib
17560 wine_fn_config_test dlls
/advpack
/tests advpack_test
17561 wine_fn_config_dll amstream enable_amstream clean
17562 wine_fn_config_test dlls
/amstream
/tests amstream_test
17563 wine_fn_config_dll api-ms-win-core-apiquery-l1-1-0 enable_api_ms_win_core_apiquery_l1_1_0
17564 wine_fn_config_dll api-ms-win-core-appcompat-l1-1-1 enable_api_ms_win_core_appcompat_l1_1_1
17565 wine_fn_config_dll api-ms-win-core-appinit-l1-1-0 enable_api_ms_win_core_appinit_l1_1_0
17566 wine_fn_config_dll api-ms-win-core-atoms-l1-1-0 enable_api_ms_win_core_atoms_l1_1_0
17567 wine_fn_config_dll api-ms-win-core-bem-l1-1-0 enable_api_ms_win_core_bem_l1_1_0
17568 wine_fn_config_dll api-ms-win-core-com-l1-1-0 enable_api_ms_win_core_com_l1_1_0
17569 wine_fn_config_dll api-ms-win-core-com-l1-1-1 enable_api_ms_win_core_com_l1_1_1
17570 wine_fn_config_dll api-ms-win-core-console-l1-1-0 enable_api_ms_win_core_console_l1_1_0
17571 wine_fn_config_dll api-ms-win-core-console-l2-1-0 enable_api_ms_win_core_console_l2_1_0
17572 wine_fn_config_dll api-ms-win-core-datetime-l1-1-0 enable_api_ms_win_core_datetime_l1_1_0
17573 wine_fn_config_dll api-ms-win-core-datetime-l1-1-1 enable_api_ms_win_core_datetime_l1_1_1
17574 wine_fn_config_dll api-ms-win-core-debug-l1-1-0 enable_api_ms_win_core_debug_l1_1_0
17575 wine_fn_config_dll api-ms-win-core-debug-l1-1-1 enable_api_ms_win_core_debug_l1_1_1
17576 wine_fn_config_dll api-ms-win-core-delayload-l1-1-0 enable_api_ms_win_core_delayload_l1_1_0
17577 wine_fn_config_dll api-ms-win-core-delayload-l1-1-1 enable_api_ms_win_core_delayload_l1_1_1
17578 wine_fn_config_dll api-ms-win-core-errorhandling-l1-1-0 enable_api_ms_win_core_errorhandling_l1_1_0
17579 wine_fn_config_dll api-ms-win-core-errorhandling-l1-1-1 enable_api_ms_win_core_errorhandling_l1_1_1
17580 wine_fn_config_dll api-ms-win-core-errorhandling-l1-1-2 enable_api_ms_win_core_errorhandling_l1_1_2
17581 wine_fn_config_dll api-ms-win-core-fibers-l1-1-0 enable_api_ms_win_core_fibers_l1_1_0
17582 wine_fn_config_dll api-ms-win-core-fibers-l1-1-1 enable_api_ms_win_core_fibers_l1_1_1
17583 wine_fn_config_dll api-ms-win-core-file-l1-1-0 enable_api_ms_win_core_file_l1_1_0
17584 wine_fn_config_dll api-ms-win-core-file-l1-2-0 enable_api_ms_win_core_file_l1_2_0
17585 wine_fn_config_dll api-ms-win-core-file-l1-2-1 enable_api_ms_win_core_file_l1_2_1
17586 wine_fn_config_dll api-ms-win-core-file-l2-1-0 enable_api_ms_win_core_file_l2_1_0
17587 wine_fn_config_dll api-ms-win-core-file-l2-1-1 enable_api_ms_win_core_file_l2_1_1
17588 wine_fn_config_dll api-ms-win-core-handle-l1-1-0 enable_api_ms_win_core_handle_l1_1_0
17589 wine_fn_config_dll api-ms-win-core-heap-l1-1-0 enable_api_ms_win_core_heap_l1_1_0
17590 wine_fn_config_dll api-ms-win-core-heap-l1-2-0 enable_api_ms_win_core_heap_l1_2_0
17591 wine_fn_config_dll api-ms-win-core-heap-obsolete-l1-1-0 enable_api_ms_win_core_heap_obsolete_l1_1_0
17592 wine_fn_config_dll api-ms-win-core-interlocked-l1-1-0 enable_api_ms_win_core_interlocked_l1_1_0
17593 wine_fn_config_dll api-ms-win-core-interlocked-l1-2-0 enable_api_ms_win_core_interlocked_l1_2_0
17594 wine_fn_config_dll api-ms-win-core-io-l1-1-0 enable_api_ms_win_core_io_l1_1_0
17595 wine_fn_config_dll api-ms-win-core-io-l1-1-1 enable_api_ms_win_core_io_l1_1_1
17596 wine_fn_config_dll api-ms-win-core-job-l1-1-0 enable_api_ms_win_core_job_l1_1_0
17597 wine_fn_config_dll api-ms-win-core-job-l2-1-0 enable_api_ms_win_core_job_l2_1_0
17598 wine_fn_config_dll api-ms-win-core-kernel32-legacy-l1-1-0 enable_api_ms_win_core_kernel32_legacy_l1_1_0
17599 wine_fn_config_dll api-ms-win-core-kernel32-legacy-l1-1-1 enable_api_ms_win_core_kernel32_legacy_l1_1_1
17600 wine_fn_config_dll api-ms-win-core-kernel32-private-l1-1-1 enable_api_ms_win_core_kernel32_private_l1_1_1
17601 wine_fn_config_dll api-ms-win-core-libraryloader-l1-1-0 enable_api_ms_win_core_libraryloader_l1_1_0
17602 wine_fn_config_dll api-ms-win-core-libraryloader-l1-1-1 enable_api_ms_win_core_libraryloader_l1_1_1
17603 wine_fn_config_dll api-ms-win-core-libraryloader-l1-2-0 enable_api_ms_win_core_libraryloader_l1_2_0
17604 wine_fn_config_dll api-ms-win-core-libraryloader-l1-2-2 enable_api_ms_win_core_libraryloader_l1_2_2
17605 wine_fn_config_dll api-ms-win-core-localization-l1-1-0 enable_api_ms_win_core_localization_l1_1_0
17606 wine_fn_config_dll api-ms-win-core-localization-l1-2-0 enable_api_ms_win_core_localization_l1_2_0
17607 wine_fn_config_dll api-ms-win-core-localization-l1-2-1 enable_api_ms_win_core_localization_l1_2_1
17608 wine_fn_config_dll api-ms-win-core-localization-l2-1-0 enable_api_ms_win_core_localization_l2_1_0
17609 wine_fn_config_dll api-ms-win-core-localization-obsolete-l1-1-0 enable_api_ms_win_core_localization_obsolete_l1_1_0
17610 wine_fn_config_dll api-ms-win-core-localization-obsolete-l1-2-0 enable_api_ms_win_core_localization_obsolete_l1_2_0
17611 wine_fn_config_dll api-ms-win-core-localization-private-l1-1-0 enable_api_ms_win_core_localization_private_l1_1_0
17612 wine_fn_config_dll api-ms-win-core-localregistry-l1-1-0 enable_api_ms_win_core_localregistry_l1_1_0
17613 wine_fn_config_dll api-ms-win-core-memory-l1-1-0 enable_api_ms_win_core_memory_l1_1_0
17614 wine_fn_config_dll api-ms-win-core-memory-l1-1-1 enable_api_ms_win_core_memory_l1_1_1
17615 wine_fn_config_dll api-ms-win-core-memory-l1-1-2 enable_api_ms_win_core_memory_l1_1_2
17616 wine_fn_config_dll api-ms-win-core-misc-l1-1-0 enable_api_ms_win_core_misc_l1_1_0
17617 wine_fn_config_dll api-ms-win-core-namedpipe-l1-1-0 enable_api_ms_win_core_namedpipe_l1_1_0
17618 wine_fn_config_dll api-ms-win-core-namedpipe-l1-2-0 enable_api_ms_win_core_namedpipe_l1_2_0
17619 wine_fn_config_dll api-ms-win-core-namespace-l1-1-0 enable_api_ms_win_core_namespace_l1_1_0
17620 wine_fn_config_dll api-ms-win-core-normalization-l1-1-0 enable_api_ms_win_core_normalization_l1_1_0
17621 wine_fn_config_dll api-ms-win-core-path-l1-1-0 enable_api_ms_win_core_path_l1_1_0
17622 wine_fn_config_dll api-ms-win-core-privateprofile-l1-1-1 enable_api_ms_win_core_privateprofile_l1_1_1
17623 wine_fn_config_dll api-ms-win-core-processenvironment-l1-1-0 enable_api_ms_win_core_processenvironment_l1_1_0
17624 wine_fn_config_dll api-ms-win-core-processenvironment-l1-2-0 enable_api_ms_win_core_processenvironment_l1_2_0
17625 wine_fn_config_dll api-ms-win-core-processthreads-l1-1-0 enable_api_ms_win_core_processthreads_l1_1_0
17626 wine_fn_config_dll api-ms-win-core-processthreads-l1-1-1 enable_api_ms_win_core_processthreads_l1_1_1
17627 wine_fn_config_dll api-ms-win-core-processthreads-l1-1-2 enable_api_ms_win_core_processthreads_l1_1_2
17628 wine_fn_config_dll api-ms-win-core-profile-l1-1-0 enable_api_ms_win_core_profile_l1_1_0
17629 wine_fn_config_dll api-ms-win-core-psapi-l1-1-0 enable_api_ms_win_core_psapi_l1_1_0
17630 wine_fn_config_dll api-ms-win-core-realtime-l1-1-0 enable_api_ms_win_core_realtime_l1_1_0
17631 wine_fn_config_dll api-ms-win-core-registry-l1-1-0 enable_api_ms_win_core_registry_l1_1_0
17632 wine_fn_config_dll api-ms-win-core-registryuserspecific-l1-1-0 enable_api_ms_win_core_registryuserspecific_l1_1_0
17633 wine_fn_config_dll api-ms-win-core-rtlsupport-l1-1-0 enable_api_ms_win_core_rtlsupport_l1_1_0
17634 wine_fn_config_dll api-ms-win-core-rtlsupport-l1-2-0 enable_api_ms_win_core_rtlsupport_l1_2_0
17635 wine_fn_config_dll api-ms-win-core-shlwapi-legacy-l1-1-0 enable_api_ms_win_core_shlwapi_legacy_l1_1_0
17636 wine_fn_config_dll api-ms-win-core-shlwapi-obsolete-l1-1-0 enable_api_ms_win_core_shlwapi_obsolete_l1_1_0
17637 wine_fn_config_dll api-ms-win-core-sidebyside-l1-1-0 enable_api_ms_win_core_sidebyside_l1_1_0
17638 wine_fn_config_dll api-ms-win-core-string-l1-1-0 enable_api_ms_win_core_string_l1_1_0
17639 wine_fn_config_dll api-ms-win-core-string-l2-1-0 enable_api_ms_win_core_string_l2_1_0
17640 wine_fn_config_dll api-ms-win-core-string-obsolete-l1-1-0 enable_api_ms_win_core_string_obsolete_l1_1_0
17641 wine_fn_config_dll api-ms-win-core-stringansi-l1-1-0 enable_api_ms_win_core_stringansi_l1_1_0
17642 wine_fn_config_dll api-ms-win-core-synch-l1-1-0 enable_api_ms_win_core_synch_l1_1_0
17643 wine_fn_config_dll api-ms-win-core-synch-l1-2-0 enable_api_ms_win_core_synch_l1_2_0
17644 wine_fn_config_dll api-ms-win-core-sysinfo-l1-1-0 enable_api_ms_win_core_sysinfo_l1_1_0
17645 wine_fn_config_dll api-ms-win-core-sysinfo-l1-2-0 enable_api_ms_win_core_sysinfo_l1_2_0
17646 wine_fn_config_dll api-ms-win-core-sysinfo-l1-2-1 enable_api_ms_win_core_sysinfo_l1_2_1
17647 wine_fn_config_dll api-ms-win-core-threadpool-l1-1-0 enable_api_ms_win_core_threadpool_l1_1_0
17648 wine_fn_config_dll api-ms-win-core-threadpool-l1-2-0 enable_api_ms_win_core_threadpool_l1_2_0
17649 wine_fn_config_dll api-ms-win-core-threadpool-legacy-l1-1-0 enable_api_ms_win_core_threadpool_legacy_l1_1_0
17650 wine_fn_config_dll api-ms-win-core-timezone-l1-1-0 enable_api_ms_win_core_timezone_l1_1_0
17651 wine_fn_config_dll api-ms-win-core-toolhelp-l1-1-0 enable_api_ms_win_core_toolhelp_l1_1_0
17652 wine_fn_config_dll api-ms-win-core-url-l1-1-0 enable_api_ms_win_core_url_l1_1_0
17653 wine_fn_config_dll api-ms-win-core-util-l1-1-0 enable_api_ms_win_core_util_l1_1_0
17654 wine_fn_config_dll api-ms-win-core-version-l1-1-0 enable_api_ms_win_core_version_l1_1_0
17655 wine_fn_config_dll api-ms-win-core-version-private-l1-1-0 enable_api_ms_win_core_version_private_l1_1_0
17656 wine_fn_config_dll api-ms-win-core-versionansi-l1-1-0 enable_api_ms_win_core_versionansi_l1_1_0
17657 wine_fn_config_dll api-ms-win-core-windowserrorreporting-l1-1-0 enable_api_ms_win_core_windowserrorreporting_l1_1_0
17658 wine_fn_config_dll api-ms-win-core-winrt-error-l1-1-0 enable_api_ms_win_core_winrt_error_l1_1_0
17659 wine_fn_config_dll api-ms-win-core-winrt-error-l1-1-1 enable_api_ms_win_core_winrt_error_l1_1_1
17660 wine_fn_config_dll api-ms-win-core-winrt-errorprivate-l1-1-1 enable_api_ms_win_core_winrt_errorprivate_l1_1_1
17661 wine_fn_config_dll api-ms-win-core-winrt-l1-1-0 enable_api_ms_win_core_winrt_l1_1_0
17662 wine_fn_config_dll api-ms-win-core-winrt-registration-l1-1-0 enable_api_ms_win_core_winrt_registration_l1_1_0
17663 wine_fn_config_dll api-ms-win-core-winrt-string-l1-1-0 enable_api_ms_win_core_winrt_string_l1_1_0
17664 wine_fn_config_dll api-ms-win-core-wow64-l1-1-0 enable_api_ms_win_core_wow64_l1_1_0
17665 wine_fn_config_dll api-ms-win-core-xstate-l1-1-0 enable_api_ms_win_core_xstate_l1_1_0
17666 wine_fn_config_dll api-ms-win-core-xstate-l2-1-0 enable_api_ms_win_core_xstate_l2_1_0
17667 wine_fn_config_dll api-ms-win-crt-conio-l1-1-0 enable_api_ms_win_crt_conio_l1_1_0
17668 wine_fn_config_dll api-ms-win-crt-convert-l1-1-0 enable_api_ms_win_crt_convert_l1_1_0
17669 wine_fn_config_dll api-ms-win-crt-environment-l1-1-0 enable_api_ms_win_crt_environment_l1_1_0
17670 wine_fn_config_dll api-ms-win-crt-filesystem-l1-1-0 enable_api_ms_win_crt_filesystem_l1_1_0
17671 wine_fn_config_dll api-ms-win-crt-heap-l1-1-0 enable_api_ms_win_crt_heap_l1_1_0
17672 wine_fn_config_dll api-ms-win-crt-locale-l1-1-0 enable_api_ms_win_crt_locale_l1_1_0
17673 wine_fn_config_dll api-ms-win-crt-math-l1-1-0 enable_api_ms_win_crt_math_l1_1_0
17674 wine_fn_config_dll api-ms-win-crt-multibyte-l1-1-0 enable_api_ms_win_crt_multibyte_l1_1_0
17675 wine_fn_config_dll api-ms-win-crt-private-l1-1-0 enable_api_ms_win_crt_private_l1_1_0
17676 wine_fn_config_dll api-ms-win-crt-process-l1-1-0 enable_api_ms_win_crt_process_l1_1_0
17677 wine_fn_config_dll api-ms-win-crt-runtime-l1-1-0 enable_api_ms_win_crt_runtime_l1_1_0
17678 wine_fn_config_dll api-ms-win-crt-stdio-l1-1-0 enable_api_ms_win_crt_stdio_l1_1_0
17679 wine_fn_config_dll api-ms-win-crt-string-l1-1-0 enable_api_ms_win_crt_string_l1_1_0
17680 wine_fn_config_dll api-ms-win-crt-time-l1-1-0 enable_api_ms_win_crt_time_l1_1_0
17681 wine_fn_config_dll api-ms-win-crt-utility-l1-1-0 enable_api_ms_win_crt_utility_l1_1_0
17682 wine_fn_config_dll api-ms-win-downlevel-advapi32-l1-1-0 enable_api_ms_win_downlevel_advapi32_l1_1_0
17683 wine_fn_config_dll api-ms-win-downlevel-advapi32-l2-1-0 enable_api_ms_win_downlevel_advapi32_l2_1_0
17684 wine_fn_config_dll api-ms-win-downlevel-normaliz-l1-1-0 enable_api_ms_win_downlevel_normaliz_l1_1_0
17685 wine_fn_config_dll api-ms-win-downlevel-ole32-l1-1-0 enable_api_ms_win_downlevel_ole32_l1_1_0
17686 wine_fn_config_dll api-ms-win-downlevel-shell32-l1-1-0 enable_api_ms_win_downlevel_shell32_l1_1_0
17687 wine_fn_config_dll api-ms-win-downlevel-shlwapi-l1-1-0 enable_api_ms_win_downlevel_shlwapi_l1_1_0
17688 wine_fn_config_dll api-ms-win-downlevel-shlwapi-l2-1-0 enable_api_ms_win_downlevel_shlwapi_l2_1_0
17689 wine_fn_config_dll api-ms-win-downlevel-user32-l1-1-0 enable_api_ms_win_downlevel_user32_l1_1_0
17690 wine_fn_config_dll api-ms-win-downlevel-version-l1-1-0 enable_api_ms_win_downlevel_version_l1_1_0
17691 wine_fn_config_dll api-ms-win-eventing-classicprovider-l1-1-0 enable_api_ms_win_eventing_classicprovider_l1_1_0
17692 wine_fn_config_dll api-ms-win-eventing-consumer-l1-1-0 enable_api_ms_win_eventing_consumer_l1_1_0
17693 wine_fn_config_dll api-ms-win-eventing-controller-l1-1-0 enable_api_ms_win_eventing_controller_l1_1_0
17694 wine_fn_config_dll api-ms-win-eventing-provider-l1-1-0 enable_api_ms_win_eventing_provider_l1_1_0
17695 wine_fn_config_dll api-ms-win-eventlog-legacy-l1-1-0 enable_api_ms_win_eventlog_legacy_l1_1_0
17696 wine_fn_config_dll api-ms-win-ntuser-dc-access-l1-1-0 enable_api_ms_win_ntuser_dc_access_l1_1_0
17697 wine_fn_config_dll api-ms-win-security-audit-l1-1-1 enable_api_ms_win_security_audit_l1_1_1
17698 wine_fn_config_dll api-ms-win-security-base-l1-1-0 enable_api_ms_win_security_base_l1_1_0
17699 wine_fn_config_dll api-ms-win-security-base-l1-2-0 enable_api_ms_win_security_base_l1_2_0
17700 wine_fn_config_dll api-ms-win-security-base-private-l1-1-1 enable_api_ms_win_security_base_private_l1_1_1
17701 wine_fn_config_dll api-ms-win-security-lsalookup-l1-1-0 enable_api_ms_win_security_lsalookup_l1_1_0
17702 wine_fn_config_dll api-ms-win-security-lsalookup-l1-1-1 enable_api_ms_win_security_lsalookup_l1_1_1
17703 wine_fn_config_dll api-ms-win-security-sddl-l1-1-0 enable_api_ms_win_security_sddl_l1_1_0
17704 wine_fn_config_dll api-ms-win-service-core-l1-1-0 enable_api_ms_win_service_core_l1_1_0
17705 wine_fn_config_dll api-ms-win-service-core-l1-1-1 enable_api_ms_win_service_core_l1_1_1
17706 wine_fn_config_dll api-ms-win-service-management-l1-1-0 enable_api_ms_win_service_management_l1_1_0
17707 wine_fn_config_dll api-ms-win-service-management-l2-1-0 enable_api_ms_win_service_management_l2_1_0
17708 wine_fn_config_dll api-ms-win-service-private-l1-1-1 enable_api_ms_win_service_private_l1_1_1
17709 wine_fn_config_dll api-ms-win-service-winsvc-l1-1-0 enable_api_ms_win_service_winsvc_l1_1_0
17710 wine_fn_config_dll api-ms-win-service-winsvc-l1-2-0 enable_api_ms_win_service_winsvc_l1_2_0
17711 wine_fn_config_dll api-ms-win-shell-shellcom-l1-1-0 enable_api_ms_win_shell_shellcom_l1_1_0
17712 wine_fn_config_dll api-ms-win-shell-shellfolders-l1-1-0 enable_api_ms_win_shell_shellfolders_l1_1_0
17713 wine_fn_config_dll apphelp enable_apphelp
17714 wine_fn_config_test dlls
/apphelp
/tests apphelp_test
17715 wine_fn_config_dll appwiz.cpl enable_appwiz_cpl clean
17716 wine_fn_config_dll atl enable_atl clean
,implib
17717 wine_fn_config_test dlls
/atl
/tests atl_test
17718 wine_fn_config_dll atl100 enable_atl100 clean
,implib
17719 wine_fn_config_test dlls
/atl100
/tests atl100_test
17720 wine_fn_config_dll atl110 enable_atl110 clean
17721 wine_fn_config_dll atl80 enable_atl80 clean
,implib
17722 wine_fn_config_test dlls
/atl80
/tests atl80_test
17723 wine_fn_config_dll atl90 enable_atl90 clean
17724 wine_fn_config_dll authz enable_authz
17725 wine_fn_config_dll avicap32 enable_avicap32 implib
17726 wine_fn_config_dll avifil32 enable_avifil32 clean
,implib
17727 wine_fn_config_test dlls
/avifil32
/tests avifil32_test
17728 wine_fn_config_dll avifile.dll16 enable_win16
17729 wine_fn_config_dll avrt enable_avrt implib
17730 wine_fn_config_dll bcrypt enable_bcrypt implib
17731 wine_fn_config_test dlls
/bcrypt
/tests bcrypt_test
17732 wine_fn_config_dll bluetoothapis enable_bluetoothapis
17733 wine_fn_config_dll browseui enable_browseui clean
17734 wine_fn_config_test dlls
/browseui
/tests browseui_test
17735 wine_fn_config_dll bthprops.cpl enable_bthprops_cpl
17736 wine_fn_config_dll cabinet enable_cabinet implib
17737 wine_fn_config_test dlls
/cabinet
/tests cabinet_test
17738 wine_fn_config_dll capi2032 enable_capi2032 implib
17739 wine_fn_config_dll cards enable_cards implib
17740 wine_fn_config_dll cfgmgr32 enable_cfgmgr32 implib
17741 wine_fn_config_dll clusapi enable_clusapi implib
17742 wine_fn_config_dll combase enable_combase
17743 wine_fn_config_test dlls
/combase
/tests combase_test
17744 wine_fn_config_dll comcat enable_comcat
17745 wine_fn_config_test dlls
/comcat
/tests comcat_test
17746 wine_fn_config_dll comctl32 enable_comctl32 clean
,implib
17747 wine_fn_config_test dlls
/comctl32
/tests comctl32_test
17748 wine_fn_config_dll comdlg32 enable_comdlg32 clean
,implib
17749 wine_fn_config_test dlls
/comdlg32
/tests comdlg32_test
17750 wine_fn_config_dll
comm.drv16 enable_win16
17751 wine_fn_config_dll commdlg.dll16 enable_win16
17752 wine_fn_config_dll compobj.dll16 enable_win16
17753 wine_fn_config_dll compstui enable_compstui implib
17754 wine_fn_config_dll comsvcs enable_comsvcs implib
17755 wine_fn_config_dll concrt140 enable_concrt140
17756 wine_fn_config_dll connect enable_connect
17757 wine_fn_config_dll credui enable_credui clean
,implib
17758 wine_fn_config_test dlls
/credui
/tests credui_test
17759 wine_fn_config_dll crtdll enable_crtdll
17760 wine_fn_config_dll crypt32 enable_crypt32 clean
,implib
17761 wine_fn_config_test dlls
/crypt32
/tests crypt32_test
17762 wine_fn_config_dll cryptdlg enable_cryptdlg clean
17763 wine_fn_config_dll cryptdll enable_cryptdll implib
17764 wine_fn_config_dll cryptext enable_cryptext
17765 wine_fn_config_dll cryptnet enable_cryptnet implib
17766 wine_fn_config_test dlls
/cryptnet
/tests cryptnet_test
17767 wine_fn_config_dll cryptui enable_cryptui clean
,implib
17768 wine_fn_config_test dlls
/cryptui
/tests cryptui_test
17769 wine_fn_config_dll ctapi32 enable_ctapi32
17770 wine_fn_config_dll ctl3d.dll16 enable_win16
17771 wine_fn_config_dll ctl3d32 enable_ctl3d32
17772 wine_fn_config_dll ctl3dv2.dll16 enable_win16
17773 wine_fn_config_dll d2d1 enable_d2d1 implib
17774 wine_fn_config_test dlls
/d2d
1/tests d2d1_test
17775 wine_fn_config_dll d3d10 enable_d3d10 implib
17776 wine_fn_config_test dlls
/d3d10
/tests d3d10_test
17777 wine_fn_config_dll d3d10_1 enable_d3d10_1 implib
17778 wine_fn_config_test dlls
/d3d10_
1/tests d3d10_1_test
17779 wine_fn_config_dll d3d10core enable_d3d10core implib
17780 wine_fn_config_test dlls
/d3d10core
/tests d3d10core_test
17781 wine_fn_config_dll d3d11 enable_d3d11 implib
17782 wine_fn_config_test dlls
/d3d11
/tests d3d11_test
17783 wine_fn_config_dll d3d8 enable_d3d8 implib
17784 wine_fn_config_test dlls
/d3d
8/tests d3d8_test
17785 wine_fn_config_dll d3d9 enable_d3d9 implib
17786 wine_fn_config_test dlls
/d3d
9/tests d3d9_test
17787 wine_fn_config_dll d3dcompiler_33 enable_d3dcompiler_33
17788 wine_fn_config_dll d3dcompiler_34 enable_d3dcompiler_34
17789 wine_fn_config_dll d3dcompiler_35 enable_d3dcompiler_35
17790 wine_fn_config_dll d3dcompiler_36 enable_d3dcompiler_36
17791 wine_fn_config_dll d3dcompiler_37 enable_d3dcompiler_37
17792 wine_fn_config_dll d3dcompiler_38 enable_d3dcompiler_38
17793 wine_fn_config_dll d3dcompiler_39 enable_d3dcompiler_39
17794 wine_fn_config_dll d3dcompiler_40 enable_d3dcompiler_40
17795 wine_fn_config_dll d3dcompiler_41 enable_d3dcompiler_41
17796 wine_fn_config_dll d3dcompiler_42 enable_d3dcompiler_42
17797 wine_fn_config_dll d3dcompiler_43 enable_d3dcompiler_43 implib d3dcompiler
17798 wine_fn_config_test dlls
/d3dcompiler_43
/tests d3dcompiler_43_test
17799 wine_fn_config_dll d3dcompiler_46 enable_d3dcompiler_46
17800 wine_fn_config_dll d3dcompiler_47 enable_d3dcompiler_47
17801 wine_fn_config_dll d3dim enable_d3dim
17802 wine_fn_config_dll d3drm enable_d3drm implib
17803 wine_fn_config_test dlls
/d3drm
/tests d3drm_test
17804 wine_fn_config_dll d3dx10_33 enable_d3dx10_33
17805 wine_fn_config_dll d3dx10_34 enable_d3dx10_34
17806 wine_fn_config_dll d3dx10_35 enable_d3dx10_35
17807 wine_fn_config_dll d3dx10_36 enable_d3dx10_36
17808 wine_fn_config_dll d3dx10_37 enable_d3dx10_37
17809 wine_fn_config_dll d3dx10_38 enable_d3dx10_38
17810 wine_fn_config_dll d3dx10_39 enable_d3dx10_39
17811 wine_fn_config_dll d3dx10_40 enable_d3dx10_40
17812 wine_fn_config_dll d3dx10_41 enable_d3dx10_41
17813 wine_fn_config_dll d3dx10_42 enable_d3dx10_42
17814 wine_fn_config_dll d3dx10_43 enable_d3dx10_43 implib d3dx10
17815 wine_fn_config_test dlls
/d3dx10_43
/tests d3dx10_43_test
17816 wine_fn_config_dll d3dx11_42 enable_d3dx11_42
17817 wine_fn_config_dll d3dx11_43 enable_d3dx11_43 implib d3dx11
17818 wine_fn_config_dll d3dx9_24 enable_d3dx9_24
17819 wine_fn_config_dll d3dx9_25 enable_d3dx9_25
17820 wine_fn_config_dll d3dx9_26 enable_d3dx9_26
17821 wine_fn_config_dll d3dx9_27 enable_d3dx9_27
17822 wine_fn_config_dll d3dx9_28 enable_d3dx9_28
17823 wine_fn_config_dll d3dx9_29 enable_d3dx9_29
17824 wine_fn_config_dll d3dx9_30 enable_d3dx9_30
17825 wine_fn_config_dll d3dx9_31 enable_d3dx9_31
17826 wine_fn_config_dll d3dx9_32 enable_d3dx9_32
17827 wine_fn_config_dll d3dx9_33 enable_d3dx9_33
17828 wine_fn_config_dll d3dx9_34 enable_d3dx9_34
17829 wine_fn_config_dll d3dx9_35 enable_d3dx9_35
17830 wine_fn_config_dll d3dx9_36 enable_d3dx9_36 implib d3dx9
17831 wine_fn_config_test dlls
/d3dx9_36
/tests d3dx9_36_test
17832 wine_fn_config_dll d3dx9_37 enable_d3dx9_37
17833 wine_fn_config_dll d3dx9_38 enable_d3dx9_38
17834 wine_fn_config_dll d3dx9_39 enable_d3dx9_39
17835 wine_fn_config_dll d3dx9_40 enable_d3dx9_40
17836 wine_fn_config_dll d3dx9_41 enable_d3dx9_41
17837 wine_fn_config_dll d3dx9_42 enable_d3dx9_42
17838 wine_fn_config_dll d3dx9_43 enable_d3dx9_43
17839 wine_fn_config_dll d3dxof enable_d3dxof clean
,implib
17840 wine_fn_config_test dlls
/d3dxof
/tests d3dxof_test
17841 wine_fn_config_dll davclnt enable_davclnt
17842 wine_fn_config_dll dbgeng enable_dbgeng implib
17843 wine_fn_config_dll dbghelp enable_dbghelp implib
17844 wine_fn_config_dll dciman32 enable_dciman32 implib
17845 wine_fn_config_dll ddeml.dll16 enable_win16
17846 wine_fn_config_dll ddraw enable_ddraw clean
,implib
17847 wine_fn_config_test dlls
/ddraw
/tests ddraw_test
17848 wine_fn_config_dll ddrawex enable_ddrawex clean
17849 wine_fn_config_test dlls
/ddrawex
/tests ddrawex_test
17850 wine_fn_config_dll devenum enable_devenum clean
17851 wine_fn_config_test dlls
/devenum
/tests devenum_test
17852 wine_fn_config_dll dhcpcsvc enable_dhcpcsvc
17853 wine_fn_config_dll difxapi enable_difxapi
17854 wine_fn_config_dll dinput enable_dinput clean
,implib
,staticimplib
17855 wine_fn_config_test dlls
/dinput
/tests dinput_test
17856 wine_fn_config_dll dinput8 enable_dinput8 clean
,implib
17857 wine_fn_config_test dlls
/dinput
8/tests dinput8_test
17858 wine_fn_config_dll dispdib.dll16 enable_win16
17859 wine_fn_config_dll dispex enable_dispex clean
17860 wine_fn_config_test dlls
/dispex
/tests dispex_test
17861 wine_fn_config_dll display.drv16 enable_win16
17862 wine_fn_config_dll dmband enable_dmband clean
17863 wine_fn_config_test dlls
/dmband
/tests dmband_test
17864 wine_fn_config_dll dmcompos enable_dmcompos clean
17865 wine_fn_config_test dlls
/dmcompos
/tests dmcompos_test
17866 wine_fn_config_dll dmime enable_dmime clean
17867 wine_fn_config_test dlls
/dmime
/tests dmime_test
17868 wine_fn_config_dll dmloader enable_dmloader clean
17869 wine_fn_config_test dlls
/dmloader
/tests dmloader_test
17870 wine_fn_config_dll dmscript enable_dmscript clean
17871 wine_fn_config_test dlls
/dmscript
/tests dmscript_test
17872 wine_fn_config_dll dmstyle enable_dmstyle clean
17873 wine_fn_config_test dlls
/dmstyle
/tests dmstyle_test
17874 wine_fn_config_dll dmsynth enable_dmsynth clean
17875 wine_fn_config_test dlls
/dmsynth
/tests dmsynth_test
17876 wine_fn_config_dll dmusic enable_dmusic clean
17877 wine_fn_config_test dlls
/dmusic
/tests dmusic_test
17878 wine_fn_config_dll dmusic32 enable_dmusic32
17879 wine_fn_config_dll dnsapi enable_dnsapi implib
17880 wine_fn_config_test dlls
/dnsapi
/tests dnsapi_test
17881 wine_fn_config_dll dplay enable_dplay
17882 wine_fn_config_dll dplayx enable_dplayx clean
,implib
17883 wine_fn_config_test dlls
/dplayx
/tests dplayx_test
17884 wine_fn_config_dll dpnaddr enable_dpnaddr
17885 wine_fn_config_dll dpnet enable_dpnet clean
,implib
17886 wine_fn_config_test dlls
/dpnet
/tests dpnet_test
17887 wine_fn_config_dll dpnhpast enable_dpnhpast
17888 wine_fn_config_dll dpnlobby enable_dpnlobby
17889 wine_fn_config_dll dpvoice enable_dpvoice clean
17890 wine_fn_config_test dlls
/dpvoice
/tests dpvoice_test
17891 wine_fn_config_dll dpwsockx enable_dpwsockx
17892 wine_fn_config_dll drmclien enable_drmclien
17893 wine_fn_config_dll dsound enable_dsound clean
,implib
17894 wine_fn_config_test dlls
/dsound
/tests dsound_test
17895 wine_fn_config_dll dssenh enable_dssenh
17896 wine_fn_config_test dlls
/dssenh
/tests dssenh_test
17897 wine_fn_config_dll dswave enable_dswave clean
17898 wine_fn_config_test dlls
/dswave
/tests dswave_test
17899 wine_fn_config_dll dwmapi enable_dwmapi implib
17900 wine_fn_config_dll dwrite enable_dwrite implib
17901 wine_fn_config_test dlls
/dwrite
/tests dwrite_test
17902 wine_fn_config_dll dxdiagn enable_dxdiagn clean
17903 wine_fn_config_test dlls
/dxdiagn
/tests dxdiagn_test
17904 wine_fn_config_lib dxerr8
17905 wine_fn_config_lib dxerr9
17906 wine_fn_config_dll dxgi enable_dxgi implib
17907 wine_fn_config_test dlls
/dxgi
/tests dxgi_test
17908 wine_fn_config_lib dxguid
17909 wine_fn_config_dll dxva2 enable_dxva2
17910 wine_fn_config_dll esent enable_esent
17911 wine_fn_config_dll evr enable_evr
17912 wine_fn_config_dll explorerframe enable_explorerframe clean
17913 wine_fn_config_test dlls
/explorerframe
/tests explorerframe_test
17914 wine_fn_config_dll ext-ms-win-gdi-devcaps-l1-1-0 enable_ext_ms_win_gdi_devcaps_l1_1_0
17915 wine_fn_config_dll faultrep enable_faultrep implib
17916 wine_fn_config_test dlls
/faultrep
/tests faultrep_test
17917 wine_fn_config_dll fltlib enable_fltlib
17918 wine_fn_config_dll fltmgr.sys enable_fltmgr_sys
17919 wine_fn_config_dll fntcache enable_fntcache
17920 wine_fn_config_dll fontsub enable_fontsub
17921 wine_fn_config_dll fusion enable_fusion
17922 wine_fn_config_test dlls
/fusion
/tests fusion_test
17923 wine_fn_config_dll fwpuclnt enable_fwpuclnt
17924 wine_fn_config_dll gameux enable_gameux clean
17925 wine_fn_config_test dlls
/gameux
/tests gameux_test
17926 wine_fn_config_dll gdi.exe16 enable_win16
17927 wine_fn_config_dll gdi32 enable_gdi32 clean
,implib
17928 wine_fn_config_test dlls
/gdi32
/tests gdi32_test
17929 wine_fn_config_dll gdiplus enable_gdiplus implib
17930 wine_fn_config_test dlls
/gdiplus
/tests gdiplus_test
17931 wine_fn_config_dll glu32 enable_glu32 implib
17932 wine_fn_config_dll gphoto2.ds enable_gphoto2_ds clean
17933 wine_fn_config_dll gpkcsp enable_gpkcsp
17934 wine_fn_config_dll hal enable_hal
17935 wine_fn_config_dll hhctrl.ocx enable_hhctrl_ocx clean
,implib htmlhelp
17936 wine_fn_config_dll hid enable_hid implib
17937 wine_fn_config_dll hidclass.sys enable_hidclass_sys implib hidclass
17938 wine_fn_config_dll hlink enable_hlink clean
,implib
17939 wine_fn_config_test dlls
/hlink
/tests hlink_test
17940 wine_fn_config_dll hnetcfg enable_hnetcfg clean
17941 wine_fn_config_test dlls
/hnetcfg
/tests hnetcfg_test
17942 wine_fn_config_dll httpapi enable_httpapi
17943 wine_fn_config_dll iccvid enable_iccvid clean
17944 wine_fn_config_dll icmp enable_icmp
17945 wine_fn_config_dll ieframe enable_ieframe clean
,implib
17946 wine_fn_config_test dlls
/ieframe
/tests ieframe_test
17947 wine_fn_config_dll ifsmgr.vxd enable_win16
17948 wine_fn_config_dll imaadp32.acm enable_imaadp32_acm
17949 wine_fn_config_dll imagehlp enable_imagehlp implib
17950 wine_fn_config_test dlls
/imagehlp
/tests imagehlp_test
17951 wine_fn_config_dll imm.dll16 enable_win16
17952 wine_fn_config_dll imm32 enable_imm32 implib
17953 wine_fn_config_test dlls
/imm32
/tests imm32_test
17954 wine_fn_config_dll inetcomm enable_inetcomm clean
,implib
17955 wine_fn_config_test dlls
/inetcomm
/tests inetcomm_test
17956 wine_fn_config_dll inetcpl.cpl enable_inetcpl_cpl clean
17957 wine_fn_config_dll inetmib1 enable_inetmib1
17958 wine_fn_config_test dlls
/inetmib
1/tests inetmib1_test
17959 wine_fn_config_dll infosoft enable_infosoft clean
17960 wine_fn_config_test dlls
/infosoft
/tests infosoft_test
17961 wine_fn_config_dll initpki enable_initpki
17962 wine_fn_config_dll inkobj enable_inkobj
17963 wine_fn_config_dll inseng enable_inseng clean
17964 wine_fn_config_dll iphlpapi enable_iphlpapi implib
17965 wine_fn_config_test dlls
/iphlpapi
/tests iphlpapi_test
17966 wine_fn_config_dll iprop enable_iprop
17967 wine_fn_config_dll irprops.cpl enable_irprops_cpl
17968 wine_fn_config_dll itircl enable_itircl
17969 wine_fn_config_dll itss enable_itss clean
17970 wine_fn_config_test dlls
/itss
/tests itss_test
17971 wine_fn_config_dll joy.cpl enable_joy_cpl clean
17972 wine_fn_config_dll jscript enable_jscript clean
17973 wine_fn_config_test dlls
/jscript
/tests jscript_test
17974 wine_fn_config_dll jsproxy enable_jsproxy implib
17975 wine_fn_config_test dlls
/jsproxy
/tests jsproxy_test
17976 wine_fn_config_dll kernel32 enable_kernel32 clean
,implib
17977 wine_fn_config_test dlls
/kernel32
/tests kernel32_test
17978 wine_fn_config_dll kernelbase enable_kernelbase
17979 wine_fn_config_dll keyboard.drv16 enable_win16
17980 wine_fn_config_dll krnl386.exe16 enable_win16 implib kernel
17981 wine_fn_config_dll ksuser enable_ksuser
17982 wine_fn_config_dll ktmw32 enable_ktmw32
17983 wine_fn_config_dll loadperf enable_loadperf implib
17984 wine_fn_config_dll localspl enable_localspl clean
17985 wine_fn_config_test dlls
/localspl
/tests localspl_test
17986 wine_fn_config_dll localui enable_localui clean
17987 wine_fn_config_test dlls
/localui
/tests localui_test
17988 wine_fn_config_dll lz32 enable_lz32 implib
17989 wine_fn_config_test dlls
/lz32
/tests lz32_test
17990 wine_fn_config_dll lzexpand.dll16 enable_win16
17991 wine_fn_config_dll mapi32 enable_mapi32 clean
,implib
17992 wine_fn_config_test dlls
/mapi32
/tests mapi32_test
17993 wine_fn_config_dll mapistub enable_mapistub
17994 wine_fn_config_dll mciavi32 enable_mciavi32
17995 wine_fn_config_dll mcicda enable_mcicda
17996 wine_fn_config_dll mciqtz32 enable_mciqtz32
17997 wine_fn_config_dll mciseq enable_mciseq
17998 wine_fn_config_dll mciwave enable_mciwave
17999 wine_fn_config_dll mf enable_mf
18000 wine_fn_config_dll mfplat enable_mfplat
18001 wine_fn_config_dll mfreadwrite enable_mfreadwrite
18002 wine_fn_config_dll mgmtapi enable_mgmtapi
18003 wine_fn_config_dll midimap enable_midimap
18004 wine_fn_config_dll mlang enable_mlang clean
,implib
18005 wine_fn_config_test dlls
/mlang
/tests mlang_test
18006 wine_fn_config_dll mmcndmgr enable_mmcndmgr clean
18007 wine_fn_config_test dlls
/mmcndmgr
/tests mmcndmgr_test
18008 wine_fn_config_dll mmdevapi enable_mmdevapi clean
18009 wine_fn_config_test dlls
/mmdevapi
/tests mmdevapi_test
18010 wine_fn_config_dll mmdevldr.vxd enable_win16
18011 wine_fn_config_dll mmsystem.dll16 enable_win16
18012 wine_fn_config_dll monodebg.vxd enable_win16
18013 wine_fn_config_dll mountmgr.sys enable_mountmgr_sys
18014 wine_fn_config_dll mouse.drv16 enable_win16
18015 wine_fn_config_dll mpr enable_mpr clean
,implib
18016 wine_fn_config_test dlls
/mpr
/tests mpr_test
18017 wine_fn_config_dll mprapi enable_mprapi implib
18018 wine_fn_config_dll msacm.dll16 enable_win16
18019 wine_fn_config_dll msacm32.drv enable_msacm32_drv
18020 wine_fn_config_dll msacm32 enable_msacm32 clean
,implib
18021 wine_fn_config_test dlls
/msacm32
/tests msacm32_test
18022 wine_fn_config_dll msadp32.acm enable_msadp32_acm
18023 wine_fn_config_dll msasn1 enable_msasn1 implib
18024 wine_fn_config_dll mscat32 enable_mscat32
18025 wine_fn_config_dll mscms enable_mscms implib
18026 wine_fn_config_test dlls
/mscms
/tests mscms_test
18027 wine_fn_config_dll mscoree enable_mscoree clean
18028 wine_fn_config_test dlls
/mscoree
/tests mscoree_test
18029 wine_fn_config_dll msctf enable_msctf clean
18030 wine_fn_config_test dlls
/msctf
/tests msctf_test
18031 wine_fn_config_dll msctfp enable_msctfp clean
18032 wine_fn_config_dll msdaps enable_msdaps clean
18033 wine_fn_config_dll msdelta enable_msdelta
18034 wine_fn_config_dll msdmo enable_msdmo implib
18035 wine_fn_config_test dlls
/msdmo
/tests msdmo_test
18036 wine_fn_config_dll msdrm enable_msdrm
18037 wine_fn_config_dll msftedit enable_msftedit
18038 wine_fn_config_dll msg711.acm enable_msg711_acm
18039 wine_fn_config_dll msgsm32.acm enable_msgsm32_acm
18040 wine_fn_config_dll mshtml.tlb enable_mshtml_tlb clean
18041 wine_fn_config_dll mshtml enable_mshtml clean
,implib
18042 wine_fn_config_test dlls
/mshtml
/tests mshtml_test clean
18043 wine_fn_config_dll msi enable_msi clean
,implib
18044 wine_fn_config_test dlls
/msi
/tests msi_test
18045 wine_fn_config_dll msident enable_msident clean
18046 wine_fn_config_dll msimg32 enable_msimg32 implib
18047 wine_fn_config_dll msimsg enable_msimsg
18048 wine_fn_config_dll msimtf enable_msimtf clean
18049 wine_fn_config_dll msisip enable_msisip
18050 wine_fn_config_dll msisys.ocx enable_msisys_ocx
18051 wine_fn_config_dll msls31 enable_msls31
18052 wine_fn_config_dll msnet32 enable_msnet32
18053 wine_fn_config_dll mspatcha enable_mspatcha implib
18054 wine_fn_config_dll msports enable_msports
18055 wine_fn_config_dll msrle32 enable_msrle32 clean
18056 wine_fn_config_test dlls
/msrle32
/tests msrle32_test
18057 wine_fn_config_dll msscript.ocx enable_msscript_ocx clean
18058 wine_fn_config_test dlls
/msscript.ocx
/tests msscript.ocx_test clean
18059 wine_fn_config_dll mssign32 enable_mssign32
18060 wine_fn_config_dll mssip32 enable_mssip32
18061 wine_fn_config_dll mstask enable_mstask clean
18062 wine_fn_config_test dlls
/mstask
/tests mstask_test
18063 wine_fn_config_dll msvcirt enable_msvcirt
18064 wine_fn_config_test dlls
/msvcirt
/tests msvcirt_test
18065 wine_fn_config_dll msvcm80 enable_msvcm80
18066 wine_fn_config_dll msvcm90 enable_msvcm90
18067 wine_fn_config_dll msvcp100 enable_msvcp100
18068 wine_fn_config_test dlls
/msvcp100
/tests msvcp100_test
18069 wine_fn_config_dll msvcp110 enable_msvcp110
18070 wine_fn_config_test dlls
/msvcp110
/tests msvcp110_test
18071 wine_fn_config_dll msvcp120 enable_msvcp120
18072 wine_fn_config_test dlls
/msvcp120
/tests msvcp120_test
18073 wine_fn_config_dll msvcp120_app enable_msvcp120_app
18074 wine_fn_config_dll msvcp140 enable_msvcp140
18075 wine_fn_config_test dlls
/msvcp140
/tests msvcp140_test
18076 wine_fn_config_dll msvcp60 enable_msvcp60
18077 wine_fn_config_test dlls
/msvcp60
/tests msvcp60_test
18078 wine_fn_config_dll msvcp70 enable_msvcp70
18079 wine_fn_config_dll msvcp71 enable_msvcp71
18080 wine_fn_config_dll msvcp80 enable_msvcp80
18081 wine_fn_config_dll msvcp90 enable_msvcp90
18082 wine_fn_config_test dlls
/msvcp90
/tests msvcp90_test
18083 wine_fn_config_dll msvcr100 enable_msvcr100 implib
18084 wine_fn_config_test dlls
/msvcr100
/tests msvcr100_test
18085 wine_fn_config_dll msvcr110 enable_msvcr110 implib
18086 wine_fn_config_dll msvcr120 enable_msvcr120 implib
18087 wine_fn_config_test dlls
/msvcr120
/tests msvcr120_test
18088 wine_fn_config_dll msvcr120_app enable_msvcr120_app
18089 wine_fn_config_dll msvcr70 enable_msvcr70 implib
18090 wine_fn_config_dll msvcr71 enable_msvcr71 implib
18091 wine_fn_config_dll msvcr80 enable_msvcr80 implib
18092 wine_fn_config_dll msvcr90 enable_msvcr90 implib
18093 wine_fn_config_test dlls
/msvcr90
/tests msvcr90_test
18094 wine_fn_config_dll msvcrt enable_msvcrt implib
18095 wine_fn_config_test dlls
/msvcrt
/tests msvcrt_test
18096 wine_fn_config_dll msvcrt20 enable_msvcrt20
18097 wine_fn_config_dll msvcrt40 enable_msvcrt40
18098 wine_fn_config_dll msvcrtd enable_msvcrtd implib
18099 wine_fn_config_test dlls
/msvcrtd
/tests msvcrtd_test
18100 wine_fn_config_dll msvfw32 enable_msvfw32 clean
,implib
18101 wine_fn_config_test dlls
/msvfw32
/tests msvfw32_test
18102 wine_fn_config_dll msvidc32 enable_msvidc32 clean
18103 wine_fn_config_dll msvideo.dll16 enable_win16
18104 wine_fn_config_dll mswsock enable_mswsock implib
18105 wine_fn_config_dll msxml enable_msxml clean
18106 wine_fn_config_dll msxml2 enable_msxml2 clean
18107 wine_fn_config_dll msxml3 enable_msxml3 clean
18108 wine_fn_config_test dlls
/msxml
3/tests msxml3_test clean
18109 wine_fn_config_dll msxml4 enable_msxml4 clean
18110 wine_fn_config_dll msxml6 enable_msxml6 clean
18111 wine_fn_config_dll ncrypt enable_ncrypt
18112 wine_fn_config_dll nddeapi enable_nddeapi implib
18113 wine_fn_config_dll ndis.sys enable_ndis_sys
18114 wine_fn_config_dll netapi32 enable_netapi32 implib
18115 wine_fn_config_test dlls
/netapi32
/tests netapi32_test
18116 wine_fn_config_dll netcfgx enable_netcfgx clean
18117 wine_fn_config_test dlls
/netcfgx
/tests netcfgx_test
18118 wine_fn_config_dll netprofm enable_netprofm clean
18119 wine_fn_config_test dlls
/netprofm
/tests netprofm_test
18120 wine_fn_config_dll newdev enable_newdev implib
18121 wine_fn_config_dll normaliz enable_normaliz implib
18122 wine_fn_config_dll npmshtml enable_npmshtml
18123 wine_fn_config_dll npptools enable_npptools
18124 wine_fn_config_dll ntdll enable_ntdll implib
18125 wine_fn_config_test dlls
/ntdll
/tests ntdll_test
18126 wine_fn_config_dll ntdsapi enable_ntdsapi implib
18127 wine_fn_config_test dlls
/ntdsapi
/tests ntdsapi_test
18128 wine_fn_config_dll ntoskrnl.exe enable_ntoskrnl_exe implib ntoskrnl
18129 wine_fn_config_dll ntprint enable_ntprint
18130 wine_fn_config_test dlls
/ntprint
/tests ntprint_test
18131 wine_fn_config_dll objsel enable_objsel clean
18132 wine_fn_config_dll odbc32 enable_odbc32 implib
18133 wine_fn_config_dll odbccp32 enable_odbccp32 implib
18134 wine_fn_config_test dlls
/odbccp32
/tests odbccp32_test
18135 wine_fn_config_dll odbccu32 enable_odbccu32
18136 wine_fn_config_dll ole2.dll16 enable_win16
18137 wine_fn_config_dll ole2conv.dll16 enable_win16
18138 wine_fn_config_dll ole2disp.dll16 enable_win16
18139 wine_fn_config_dll ole2nls.dll16 enable_win16
18140 wine_fn_config_dll ole2prox.dll16 enable_win16
18141 wine_fn_config_dll ole2thk.dll16 enable_win16
18142 wine_fn_config_dll ole32 enable_ole32 clean
,implib
18143 wine_fn_config_test dlls
/ole32
/tests ole32_test
18144 wine_fn_config_dll oleacc enable_oleacc clean
,implib
18145 wine_fn_config_test dlls
/oleacc
/tests oleacc_test
18146 wine_fn_config_dll oleaut32 enable_oleaut32 clean
,implib
18147 wine_fn_config_test dlls
/oleaut32
/tests oleaut32_test clean
18148 wine_fn_config_dll olecli.dll16 enable_win16
18149 wine_fn_config_dll olecli32 enable_olecli32 implib
18150 wine_fn_config_dll oledb32 enable_oledb32 clean
18151 wine_fn_config_test dlls
/oledb32
/tests oledb32_test clean
18152 wine_fn_config_dll oledlg enable_oledlg clean
,implib
18153 wine_fn_config_test dlls
/oledlg
/tests oledlg_test
18154 wine_fn_config_dll olepro32 enable_olepro32 clean
,implib
18155 wine_fn_config_dll olesvr.dll16 enable_win16
18156 wine_fn_config_dll olesvr32 enable_olesvr32 implib
18157 wine_fn_config_dll olethk32 enable_olethk32
18158 wine_fn_config_dll openal32 enable_openal32
18159 wine_fn_config_dll opencl enable_opencl
18160 wine_fn_config_dll opengl32 enable_opengl32 implib
18161 wine_fn_config_test dlls
/opengl32
/tests opengl32_test
18162 wine_fn_config_dll packager enable_packager clean
18163 wine_fn_config_test dlls
/packager
/tests packager_test
18164 wine_fn_config_dll pdh enable_pdh implib
18165 wine_fn_config_test dlls
/pdh
/tests pdh_test
18166 wine_fn_config_dll photometadatahandler enable_photometadatahandler
18167 wine_fn_config_dll pidgen enable_pidgen
18168 wine_fn_config_dll powrprof enable_powrprof implib
18169 wine_fn_config_dll printui enable_printui
18170 wine_fn_config_dll prntvpt enable_prntvpt
18171 wine_fn_config_dll propsys enable_propsys clean
,implib
18172 wine_fn_config_test dlls
/propsys
/tests propsys_test
18173 wine_fn_config_dll psapi enable_psapi implib
18174 wine_fn_config_test dlls
/psapi
/tests psapi_test
18175 wine_fn_config_dll pstorec enable_pstorec clean
18176 wine_fn_config_dll qcap enable_qcap
18177 wine_fn_config_test dlls
/qcap
/tests qcap_test
18178 wine_fn_config_dll qedit enable_qedit clean
18179 wine_fn_config_test dlls
/qedit
/tests qedit_test
18180 wine_fn_config_dll qmgr enable_qmgr clean
18181 wine_fn_config_test dlls
/qmgr
/tests qmgr_test
18182 wine_fn_config_dll qmgrprxy enable_qmgrprxy clean
18183 wine_fn_config_dll quartz enable_quartz clean
,implib
18184 wine_fn_config_test dlls
/quartz
/tests quartz_test clean
18185 wine_fn_config_dll query enable_query
18186 wine_fn_config_dll rasapi16.dll16 enable_win16
18187 wine_fn_config_dll rasapi32 enable_rasapi32 implib
18188 wine_fn_config_test dlls
/rasapi32
/tests rasapi32_test
18189 wine_fn_config_dll rasdlg enable_rasdlg implib
18190 wine_fn_config_dll regapi enable_regapi
18191 wine_fn_config_dll resutils enable_resutils implib
18192 wine_fn_config_dll riched20 enable_riched20 clean
,implib
18193 wine_fn_config_test dlls
/riched20
/tests riched20_test
18194 wine_fn_config_dll riched32 enable_riched32
18195 wine_fn_config_test dlls
/riched32
/tests riched32_test
18196 wine_fn_config_dll rpcrt4 enable_rpcrt4 clean
,implib
18197 wine_fn_config_test dlls
/rpcrt
4/tests rpcrt4_test clean
18198 wine_fn_config_dll rsabase enable_rsabase
18199 wine_fn_config_dll rsaenh enable_rsaenh implib
18200 wine_fn_config_test dlls
/rsaenh
/tests rsaenh_test
18201 wine_fn_config_dll rstrtmgr enable_rstrtmgr
18202 wine_fn_config_dll rtutils enable_rtutils implib
18203 wine_fn_config_dll samlib enable_samlib
18204 wine_fn_config_dll sane.ds enable_sane_ds clean
18205 wine_fn_config_dll scarddlg enable_scarddlg
18206 wine_fn_config_dll sccbase enable_sccbase
18207 wine_fn_config_dll schannel enable_schannel
18208 wine_fn_config_test dlls
/schannel
/tests schannel_test
18209 wine_fn_config_dll schedsvc enable_schedsvc clean
18210 wine_fn_config_test dlls
/schedsvc
/tests schedsvc_test clean
18211 wine_fn_config_dll scrrun enable_scrrun clean
18212 wine_fn_config_test dlls
/scrrun
/tests scrrun_test clean
18213 wine_fn_config_dll scsiport.sys enable_scsiport_sys
18214 wine_fn_config_dll secur32 enable_secur32 implib
18215 wine_fn_config_test dlls
/secur32
/tests secur32_test
18216 wine_fn_config_dll security enable_security
18217 wine_fn_config_dll sensapi enable_sensapi implib
18218 wine_fn_config_dll serialui enable_serialui clean
18219 wine_fn_config_test dlls
/serialui
/tests serialui_test
18220 wine_fn_config_dll setupapi enable_setupapi clean
,implib
18221 wine_fn_config_test dlls
/setupapi
/tests setupapi_test
18222 wine_fn_config_dll setupx.dll16 enable_win16
18223 wine_fn_config_dll sfc enable_sfc implib
18224 wine_fn_config_dll sfc_os enable_sfc_os implib
18225 wine_fn_config_dll shdoclc enable_shdoclc clean
18226 wine_fn_config_dll shdocvw enable_shdocvw clean
,implib
18227 wine_fn_config_test dlls
/shdocvw
/tests shdocvw_test
18228 wine_fn_config_dll shell.dll16 enable_win16
18229 wine_fn_config_dll shell32 enable_shell32 clean
,implib
18230 wine_fn_config_test dlls
/shell32
/tests shell32_test
18231 wine_fn_config_dll shfolder enable_shfolder implib
18232 wine_fn_config_dll shlwapi enable_shlwapi clean
,implib
18233 wine_fn_config_test dlls
/shlwapi
/tests shlwapi_test
18234 wine_fn_config_dll slbcsp enable_slbcsp
18235 wine_fn_config_dll slc enable_slc implib
18236 wine_fn_config_test dlls
/slc
/tests slc_test
18237 wine_fn_config_dll snmpapi enable_snmpapi implib
18238 wine_fn_config_test dlls
/snmpapi
/tests snmpapi_test
18239 wine_fn_config_dll softpub enable_softpub
18240 wine_fn_config_dll sound.drv16 enable_win16
18241 wine_fn_config_dll spoolss enable_spoolss implib
18242 wine_fn_config_test dlls
/spoolss
/tests spoolss_test
18243 wine_fn_config_dll sspicli enable_sspicli
18244 wine_fn_config_dll stdole2.tlb enable_stdole2_tlb clean
18245 wine_fn_config_dll stdole32.tlb enable_stdole32_tlb clean
18246 wine_fn_config_dll sti enable_sti clean
,implib
18247 wine_fn_config_test dlls
/sti
/tests sti_test
18248 wine_fn_config_dll storage.dll16 enable_win16
18249 wine_fn_config_dll stress.dll16 enable_win16
18250 wine_fn_config_lib strmbase
18251 wine_fn_config_lib strmiids
18252 wine_fn_config_dll svrapi enable_svrapi
18253 wine_fn_config_dll sxs enable_sxs implib
18254 wine_fn_config_test dlls
/sxs
/tests sxs_test
18255 wine_fn_config_dll system.drv16 enable_win16
18256 wine_fn_config_dll t2embed enable_t2embed implib
18257 wine_fn_config_test dlls
/t2embed
/tests t2embed_test
18258 wine_fn_config_dll tapi32 enable_tapi32 implib
18259 wine_fn_config_dll taskschd enable_taskschd clean
18260 wine_fn_config_test dlls
/taskschd
/tests taskschd_test
18261 wine_fn_config_dll tdi.sys enable_tdi_sys
18262 wine_fn_config_dll toolhelp.dll16 enable_win16
18263 wine_fn_config_dll traffic enable_traffic
18264 wine_fn_config_dll twain.dll16 enable_win16
18265 wine_fn_config_dll twain_32 enable_twain_32
18266 wine_fn_config_test dlls
/twain_32
/tests twain_32_test
18267 wine_fn_config_dll typelib.dll16 enable_win16
18268 wine_fn_config_dll ucrtbase enable_ucrtbase implib
18269 wine_fn_config_test dlls
/ucrtbase
/tests ucrtbase_test
18270 wine_fn_config_dll unicows enable_unicows implib
18271 wine_fn_config_dll updspapi enable_updspapi
18272 wine_fn_config_dll url enable_url implib
18273 wine_fn_config_dll urlmon enable_urlmon clean
,implib
18274 wine_fn_config_test dlls
/urlmon
/tests urlmon_test
18275 wine_fn_config_dll usbd.sys enable_usbd_sys implib usbd
18276 wine_fn_config_dll user.exe16 enable_win16
18277 wine_fn_config_dll user32 enable_user32 clean
,implib
18278 wine_fn_config_test dlls
/user32
/tests user32_test
18279 wine_fn_config_dll userenv enable_userenv implib
18280 wine_fn_config_test dlls
/userenv
/tests userenv_test
18281 wine_fn_config_dll usp10 enable_usp10 implib
18282 wine_fn_config_test dlls
/usp10
/tests usp10_test
18283 wine_fn_config_lib uuid
18284 wine_fn_config_dll uxtheme enable_uxtheme implib
18285 wine_fn_config_test dlls
/uxtheme
/tests uxtheme_test
18286 wine_fn_config_dll vbscript enable_vbscript clean
18287 wine_fn_config_test dlls
/vbscript
/tests vbscript_test clean
18288 wine_fn_config_dll vcomp enable_vcomp
18289 wine_fn_config_test dlls
/vcomp
/tests vcomp_test
18290 wine_fn_config_dll vcomp100 enable_vcomp100
18291 wine_fn_config_dll vcomp110 enable_vcomp110
18292 wine_fn_config_dll vcomp120 enable_vcomp120
18293 wine_fn_config_dll vcomp140 enable_vcomp140
18294 wine_fn_config_dll vcomp90 enable_vcomp90
18295 wine_fn_config_dll vcruntime140 enable_vcruntime140
18296 wine_fn_config_dll vdhcp.vxd enable_win16
18297 wine_fn_config_dll vdmdbg enable_vdmdbg implib
18298 wine_fn_config_dll ver.dll16 enable_win16
18299 wine_fn_config_dll version enable_version implib
18300 wine_fn_config_test dlls
/version
/tests version_test
18301 wine_fn_config_dll vmm.vxd enable_win16
18302 wine_fn_config_dll vnbt.vxd enable_win16
18303 wine_fn_config_dll vnetbios.vxd enable_win16
18304 wine_fn_config_dll vssapi enable_vssapi
18305 wine_fn_config_dll vtdapi.vxd enable_win16
18306 wine_fn_config_dll vwin32.vxd enable_win16
18307 wine_fn_config_dll w32skrnl enable_win16
18308 wine_fn_config_dll w32sys.dll16 enable_win16
18309 wine_fn_config_dll wbemdisp enable_wbemdisp clean
18310 wine_fn_config_test dlls
/wbemdisp
/tests wbemdisp_test
18311 wine_fn_config_dll wbemprox enable_wbemprox clean
18312 wine_fn_config_test dlls
/wbemprox
/tests wbemprox_test
18313 wine_fn_config_dll webservices enable_webservices implib
18314 wine_fn_config_test dlls
/webservices
/tests webservices_test
18315 wine_fn_config_dll wer enable_wer implib
18316 wine_fn_config_test dlls
/wer
/tests wer_test
18317 wine_fn_config_dll wevtapi enable_wevtapi
18318 wine_fn_config_dll wiaservc enable_wiaservc clean
18319 wine_fn_config_test dlls
/wiaservc
/tests wiaservc_test
18320 wine_fn_config_dll wimgapi enable_wimgapi
18321 wine_fn_config_dll win32s16.dll16 enable_win16
18322 wine_fn_config_dll win87em.dll16 enable_win16
18323 wine_fn_config_dll winaspi.dll16 enable_win16
18324 wine_fn_config_dll windebug.dll16 enable_win16
18325 wine_fn_config_dll windowscodecs enable_windowscodecs clean
,implib
18326 wine_fn_config_test dlls
/windowscodecs
/tests windowscodecs_test
18327 wine_fn_config_dll windowscodecsext enable_windowscodecsext implib
18328 wine_fn_config_test dlls
/windowscodecsext
/tests windowscodecsext_test
18329 wine_fn_config_dll winealsa.drv enable_winealsa_drv
18330 wine_fn_config_dll winebus.sys enable_winebus_sys
18331 wine_fn_config_dll winecoreaudio.drv enable_winecoreaudio_drv
18332 wine_fn_config_lib winecrt0
18333 wine_fn_config_dll wined3d enable_wined3d implib
18334 wine_fn_config_dll winegstreamer enable_winegstreamer
18335 wine_fn_config_dll winejoystick.drv enable_winejoystick_drv
18336 wine_fn_config_dll winemac.drv enable_winemac_drv clean
18337 wine_fn_config_dll winemapi enable_winemapi
18338 wine_fn_config_dll winemp3.acm enable_winemp3_acm
18339 wine_fn_config_dll wineoss.drv enable_wineoss_drv
18340 wine_fn_config_dll wineps.drv enable_wineps_drv clean
18341 wine_fn_config_dll wineps16.drv16 enable_win16
18342 wine_fn_config_dll winepulse.drv enable_winepulse_drv
18343 wine_fn_config_dll wineqtdecoder enable_wineqtdecoder
18344 wine_fn_config_dll winex11.drv enable_winex11_drv
18345 wine_fn_config_dll wing.dll16 enable_win16
18346 wine_fn_config_dll wing32 enable_wing32
18347 wine_fn_config_dll winhttp enable_winhttp clean
,implib
18348 wine_fn_config_test dlls
/winhttp
/tests winhttp_test
18349 wine_fn_config_dll wininet enable_wininet clean
,implib
18350 wine_fn_config_test dlls
/wininet
/tests wininet_test
18351 wine_fn_config_dll winmm enable_winmm clean
,implib
18352 wine_fn_config_test dlls
/winmm
/tests winmm_test
18353 wine_fn_config_dll winnls.dll16 enable_win16
18354 wine_fn_config_dll winnls32 enable_winnls32 implib
18355 wine_fn_config_dll winscard enable_winscard implib
18356 wine_fn_config_dll winsock.dll16 enable_win16
18357 wine_fn_config_dll winspool.drv enable_winspool_drv clean
,implib winspool
18358 wine_fn_config_test dlls
/winspool.drv
/tests winspool.drv_test
18359 wine_fn_config_dll winsta enable_winsta
18360 wine_fn_config_dll wintab.dll16 enable_win16
18361 wine_fn_config_dll wintab32 enable_wintab32 implib
18362 wine_fn_config_test dlls
/wintab32
/tests wintab32_test
18363 wine_fn_config_dll wintrust enable_wintrust implib
18364 wine_fn_config_test dlls
/wintrust
/tests wintrust_test
18365 wine_fn_config_dll wlanapi enable_wlanapi
18366 wine_fn_config_dll wldap32 enable_wldap32 clean
,implib
18367 wine_fn_config_test dlls
/wldap32
/tests wldap32_test
18368 wine_fn_config_dll wmasf enable_wmasf
18369 wine_fn_config_dll wmi enable_wmi
18370 wine_fn_config_dll wmiutils enable_wmiutils clean
18371 wine_fn_config_test dlls
/wmiutils
/tests wmiutils_test
18372 wine_fn_config_dll wmp enable_wmp clean
18373 wine_fn_config_test dlls
/wmp
/tests wmp_test
18374 wine_fn_config_dll wmvcore enable_wmvcore
18375 wine_fn_config_dll wnaspi32 enable_wnaspi32 implib
18376 wine_fn_config_dll wow32 enable_win16 implib
18377 wine_fn_config_dll wpc enable_wpc clean
18378 wine_fn_config_test dlls
/wpc
/tests wpc_test
18379 wine_fn_config_dll wpcap enable_wpcap
18380 wine_fn_config_dll ws2_32 enable_ws2_32 implib
18381 wine_fn_config_test dlls
/ws2_32
/tests ws2_32_test
18382 wine_fn_config_dll wshom.ocx enable_wshom_ocx clean
18383 wine_fn_config_test dlls
/wshom.ocx
/tests wshom.ocx_test clean
18384 wine_fn_config_dll wsnmp32 enable_wsnmp32 implib
18385 wine_fn_config_test dlls
/wsnmp32
/tests wsnmp32_test
18386 wine_fn_config_dll wsock32 enable_wsock32 implib
18387 wine_fn_config_dll wtsapi32 enable_wtsapi32 implib
18388 wine_fn_config_test dlls
/wtsapi32
/tests wtsapi32_test
18389 wine_fn_config_dll wuapi enable_wuapi clean
18390 wine_fn_config_dll wuaueng enable_wuaueng
18391 wine_fn_config_dll x3daudio1_0 enable_x3daudio1_0
18392 wine_fn_config_dll x3daudio1_1 enable_x3daudio1_1
18393 wine_fn_config_dll x3daudio1_2 enable_x3daudio1_2
18394 wine_fn_config_dll x3daudio1_3 enable_x3daudio1_3
18395 wine_fn_config_dll x3daudio1_4 enable_x3daudio1_4
18396 wine_fn_config_dll x3daudio1_5 enable_x3daudio1_5
18397 wine_fn_config_dll x3daudio1_6 enable_x3daudio1_6
18398 wine_fn_config_dll x3daudio1_7 enable_x3daudio1_7
18399 wine_fn_config_dll xapofx1_1 enable_xapofx1_1
18400 wine_fn_config_dll xapofx1_2 enable_xapofx1_2
18401 wine_fn_config_dll xapofx1_3 enable_xapofx1_3
18402 wine_fn_config_dll xapofx1_4 enable_xapofx1_4
18403 wine_fn_config_dll xapofx1_5 enable_xapofx1_5
18404 wine_fn_config_dll xaudio2_0 enable_xaudio2_0 clean
18405 wine_fn_config_dll xaudio2_1 enable_xaudio2_1 clean
18406 wine_fn_config_dll xaudio2_2 enable_xaudio2_2 clean
18407 wine_fn_config_dll xaudio2_3 enable_xaudio2_3 clean
18408 wine_fn_config_dll xaudio2_4 enable_xaudio2_4 clean
18409 wine_fn_config_dll xaudio2_5 enable_xaudio2_5 clean
18410 wine_fn_config_dll xaudio2_6 enable_xaudio2_6 clean
18411 wine_fn_config_dll xaudio2_7 enable_xaudio2_7 clean
18412 wine_fn_config_test dlls
/xaudio2_
7/tests xaudio2_7_test
18413 wine_fn_config_dll xaudio2_8 enable_xaudio2_8 clean
18414 wine_fn_config_dll xaudio2_9 enable_xaudio2_9 clean
18415 wine_fn_config_dll xinput1_1 enable_xinput1_1
18416 wine_fn_config_dll xinput1_2 enable_xinput1_2
18417 wine_fn_config_dll xinput1_3 enable_xinput1_3 implib xinput
18418 wine_fn_config_test dlls
/xinput1_
3/tests xinput1_3_test
18419 wine_fn_config_dll xinput1_4 enable_xinput1_4
18420 wine_fn_config_dll xinput9_1_0 enable_xinput9_1_0
18421 wine_fn_config_dll xmllite enable_xmllite implib
18422 wine_fn_config_test dlls
/xmllite
/tests xmllite_test
18423 wine_fn_config_dll xolehlp enable_xolehlp
18424 wine_fn_config_dll xpsprint enable_xpsprint
18425 wine_fn_config_dll xpssvcs enable_xpssvcs
18426 wine_fn_config_makefile fonts enable_fonts clean
,install-lib
18427 wine_fn_config_makefile include enable_include clean
,install-dev
18428 wine_fn_config_makefile libs
/port enable_libs_port
18429 wine_fn_config_makefile libs
/wine enable_libs_wine clean
,implib
,install-dev
,install-lib
18430 wine_fn_config_makefile libs
/wpp enable_libs_wpp
18431 wine_fn_config_makefile loader enable_loader clean
,install-lib
18432 wine_fn_config_makefile po enable_po clean
18433 wine_fn_config_program arp enable_arp
install
18434 wine_fn_config_program aspnet_regiis enable_aspnet_regiis
install
18435 wine_fn_config_program attrib enable_attrib clean
,install
18436 wine_fn_config_program cabarc enable_cabarc
install
18437 wine_fn_config_program cacls enable_cacls
install
18438 wine_fn_config_program
clock enable_clock clean
,install
18439 wine_fn_config_program cmd enable_cmd clean
,install
18440 wine_fn_config_test programs
/cmd
/tests cmd.exe_test
18441 wine_fn_config_program conhost enable_conhost
install
18442 wine_fn_config_program control enable_control
install
18443 wine_fn_config_program cscript enable_cscript clean
,install
18444 wine_fn_config_program dpnsvr enable_dpnsvr
install
18445 wine_fn_config_program dxdiag enable_dxdiag clean
,install
18446 wine_fn_config_program eject enable_eject
install
18447 wine_fn_config_program
expand enable_expand
install
18448 wine_fn_config_program explorer enable_explorer clean
,install
18449 wine_fn_config_program extrac32 enable_extrac32
install
18450 wine_fn_config_program findstr enable_findstr
install
18451 wine_fn_config_program fsutil enable_fsutil
install
18452 wine_fn_config_program hh enable_hh
install
18453 wine_fn_config_program hostname enable_hostname clean
,install
18454 wine_fn_config_program icacls enable_icacls
install
18455 wine_fn_config_program icinfo enable_icinfo
install
18456 wine_fn_config_program iexplore enable_iexplore
install
18457 wine_fn_config_program ipconfig enable_ipconfig clean
,install
18458 wine_fn_config_program lodctr enable_lodctr
install
18459 wine_fn_config_program mofcomp enable_mofcomp
install
18460 wine_fn_config_program mshta enable_mshta
install
18461 wine_fn_config_program msiexec enable_msiexec
install,installbin
,manpage
18462 wine_fn_config_program msinfo32 enable_msinfo32
install
18463 wine_fn_config_program net enable_net clean
,install
18464 wine_fn_config_program netsh enable_netsh
install
18465 wine_fn_config_program netstat enable_netstat clean
,install
18466 wine_fn_config_program ngen enable_ngen
install
18467 wine_fn_config_program notepad enable_notepad clean
,install,installbin
,manpage
18468 wine_fn_config_program oleview enable_oleview clean
,install
18469 wine_fn_config_program
ping enable_ping
install
18470 wine_fn_config_program plugplay enable_plugplay
install
18471 wine_fn_config_program presentationfontcache enable_presentationfontcache
install
18472 wine_fn_config_program progman enable_progman clean
,install
18473 wine_fn_config_program reg enable_reg clean
,install
18474 wine_fn_config_test programs
/reg
/tests reg.exe_test
18475 wine_fn_config_program regasm enable_regasm
install
18476 wine_fn_config_program regedit enable_regedit clean
,install,installbin
,manpage
18477 wine_fn_config_test programs
/regedit
/tests regedit.exe_test
18478 wine_fn_config_program regsvcs enable_regsvcs
install
18479 wine_fn_config_program regsvr32 enable_regsvr32 clean
,install,installbin
,manpage
18480 wine_fn_config_program rpcss enable_rpcss clean
,install
18481 wine_fn_config_program rundll.exe16 enable_win16
install
18482 wine_fn_config_program rundll32 enable_rundll32
install
18483 wine_fn_config_program sc enable_sc
install
18484 wine_fn_config_program schtasks enable_schtasks
install
18485 wine_fn_config_program sdbinst enable_sdbinst
install
18486 wine_fn_config_program secedit enable_secedit
install
18487 wine_fn_config_program servicemodelreg enable_servicemodelreg
install
18488 wine_fn_config_program services enable_services clean
,install
18489 wine_fn_config_test programs
/services
/tests services.exe_test
18490 wine_fn_config_program shutdown enable_shutdown
install
18491 wine_fn_config_program spoolsv enable_spoolsv
install
18492 wine_fn_config_program start enable_start clean
,install
18493 wine_fn_config_program subst enable_subst
install
18494 wine_fn_config_program svchost enable_svchost
install
18495 wine_fn_config_program systeminfo enable_systeminfo
install
18496 wine_fn_config_program taskkill enable_taskkill clean
,install
18497 wine_fn_config_program tasklist enable_tasklist
install
18498 wine_fn_config_program taskmgr enable_taskmgr clean
,install
18499 wine_fn_config_program termsv enable_termsv
install
18500 wine_fn_config_program uninstaller enable_uninstaller clean
,install
18501 wine_fn_config_program unlodctr enable_unlodctr
install
18502 wine_fn_config_program view enable_view clean
,install
18503 wine_fn_config_program wevtutil enable_wevtutil
install
18504 wine_fn_config_program wineboot enable_wineboot clean
,install,installbin
,manpage
18505 wine_fn_config_program winebrowser enable_winebrowser
install
18506 wine_fn_config_program winecfg enable_winecfg clean
,install,installbin
,manpage
18507 wine_fn_config_program wineconsole enable_wineconsole clean
,install,installbin
,manpage
18508 wine_fn_config_program winedbg enable_winedbg clean
,install,installbin
,manpage
18509 wine_fn_config_program winedevice enable_winedevice
install
18510 wine_fn_config_program winefile enable_winefile clean
,install,installbin
,manpage
18511 wine_fn_config_program winemenubuilder enable_winemenubuilder
install
18512 wine_fn_config_program winemine enable_winemine clean
,install,installbin
,manpage
18513 wine_fn_config_program winemsibuilder enable_winemsibuilder
install
18514 wine_fn_config_program winepath enable_winepath
install,installbin
,manpage
18515 wine_fn_config_program winetest enable_winetest clean
18516 wine_fn_config_program winevdm enable_win16
install
18517 wine_fn_config_program winhelp.exe16 enable_win16
install
18518 wine_fn_config_program winhlp32 enable_winhlp32 clean
,install
18519 wine_fn_config_program winoldap.mod16 enable_win16
install
18520 wine_fn_config_program winver enable_winver
install
18521 wine_fn_config_program wmic enable_wmic clean
,install
18522 wine_fn_config_program wmplayer enable_wmplayer
install
18523 wine_fn_config_program wordpad enable_wordpad clean
,install
18524 wine_fn_config_program
write enable_write clean
,install
18525 wine_fn_config_program wscript enable_wscript clean
,install
18526 wine_fn_config_test programs
/wscript
/tests wscript.exe_test
18527 wine_fn_config_program wusa enable_wusa
install
18528 wine_fn_config_program xcopy enable_xcopy clean
,install
18529 wine_fn_config_test programs
/xcopy
/tests xcopy.exe_test
18530 wine_fn_config_makefile server enable_server clean
,install-lib
18531 wine_fn_config_tool tools clean
18532 wine_fn_config_tool tools
/sfnt2fon clean
18533 wine_fn_config_tool tools
/widl clean
,install-dev
18534 wine_fn_config_tool tools
/winebuild clean
,install-dev
18535 wine_fn_config_tool tools
/winedump clean
,install-dev
18536 wine_fn_config_tool tools
/winegcc clean
,install-dev
18537 wine_fn_config_tool tools
/winemaker clean
,install-dev
18538 wine_fn_config_tool tools
/wmc clean
,install-dev
18539 wine_fn_config_tool tools
/wrc clean
,install-dev
18542 wine_fn_append_file CONFIGURE_TARGETS
"TAGS"
18543 wine_fn_append_file CONFIGURE_TARGETS
"tags"
18544 wine_fn_append_file CONFIGURE_TARGETS
"autom4te.cache"
18545 wine_fn_append_file CONFIGURE_TARGETS
"config.log"
18546 wine_fn_append_file CONFIGURE_TARGETS
"config.status"
18547 wine_fn_append_file CONFIGURE_TARGETS
"include/config.h"
18548 wine_fn_append_file CONFIGURE_TARGETS
"include/stamp-h"
18549 test "$wine_binary" = wine || wine_fn_append_file CONFIGURE_TARGETS
"loader/wine"
18551 if test "x$enable_tools" != xno
18553 wine_fn_append_file CONFIGURE_TARGETS
"tools/makedep$ac_exeext"
18554 ac_config_commands
="$ac_config_commands tools/makedep"
18558 ac_config_commands
="$ac_config_commands Makefile"
18561 ac_config_files
="$ac_config_files Make.tmp:Makefile.in"
18565 if test "x$enable_maintainer_mode" = xyes
18567 wine_fn_append_rule
"configure: configure.ac aclocal.m4
18568 autoconf --warnings=all
18569 include/config.h.in: include/stamp-h.in
18570 include/stamp-h.in: configure.ac aclocal.m4
18571 autoheader --warnings=all
18572 @echo timestamp > \$@"
18575 if test "x$enable_tools" != xno
18577 wine_fn_append_rule
"tools/makedep$ac_exeext: $srcdir/tools/makedep.c include/config.h config.status
18578 @./config.status tools/makedep
18579 Makefile: tools/makedep$ac_exeext"
18581 wine_fn_append_rule
"\$(MAKEDEP):
18582 @echo \"You need to run make in $TOOLSDIR first\" && false"
18585 if test -n "$with_wine64"
18587 wine_fn_append_rule
"all: fonts server $with_wine64/loader/wine $with_wine64/loader/wine-preloader
18589 \$(RM) \$@ && \$(LN_S) $with_wine64/\$@ \$@
18590 $with_wine64/loader/wine:
18591 \$(RM) \$@ && \$(LN_S) $ac_pwd/loader/wine \$@
18592 $with_wine64/loader/wine-preloader:
18593 \$(RM) \$@ && \$(LN_S) $ac_pwd/loader/wine-preloader \$@
18595 \$(RM) fonts server $with_wine64/loader/wine $with_wine64/loader/wine-preloader"
18597 WINELOADER_INSTALL
="wine.inf"
18599 wine_fn_append_rule
"install install-lib::
18600 \$(INSTALL_DATA) $srcdir/loader/l_intl.nls \$(DESTDIR)\$(datadir)/wine/l_intl.nls
18602 \$(RM) \$(DESTDIR)\$(datadir)/wine/l_intl.nls"
18604 cygwin
*|mingw32
*|darwin
*|macosx
*|linux-android
*) ;;
18605 *) wine_fn_append_rule
"install install-lib::
18606 \$(INSTALL_DATA) $srcdir/loader/wine.desktop \$(DESTDIR)\$(datadir)/applications/wine.desktop
18608 \$(RM) \$(DESTDIR)\$(datadir)/applications/wine.desktop" ;;
18612 $as_echo " done" >&6
18613 cat >confcache
<<\_ACEOF
18614 # This file is a shell script that caches the results of configure
18615 # tests run on this system so they can be shared between configure
18616 # scripts and configure runs, see configure's option --config-cache.
18617 # It is not useful on other systems. If it contains results you don't
18618 # want to keep, you may remove or edit it.
18620 # config.status only pays attention to the cache file if you give it
18621 # the --recheck option to rerun configure.
18623 # `ac_cv_env_foo' variables (set or unset) will be overridden when
18624 # loading this file, other *unset* `ac_cv_foo' will be assigned the
18625 # following values.
18629 # The following way of writing the cache mishandles newlines in values,
18630 # but we know of no workaround that is simple, portable, and efficient.
18631 # So, we kill variables containing newlines.
18632 # Ultrix sh set writes to stderr and can't be redirected directly,
18633 # and sets the high bit in the cache file unless we assign to the vars.
18635 for ac_var
in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
18636 eval ac_val
=\$
$ac_var
18640 *_cv_
*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
18641 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
18644 _ | IFS | as_nl
) ;; #(
18645 BASH_ARGV | BASH_SOURCE
) eval $ac_var= ;; #(
18646 *) { eval $ac_var=; unset $ac_var;} ;;
18652 case $as_nl`(ac_space=' '; set) 2>&1` in #(
18653 *${as_nl}ac_space
=\
*)
18654 # `set' does not quote correctly, so add quotes: double-quote
18655 # substitution turns \\\\ into \\, and sed turns \\ into \.
18658 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
18661 # `set' quotes correctly as required by POSIX, so do not add quotes.
18662 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
18671 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
18673 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
18675 if diff "$cache_file" confcache
>/dev
/null
2>&1; then :; else
18676 if test -w "$cache_file"; then
18677 if test "x$cache_file" != "x/dev/null"; then
18678 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
18679 $as_echo "$as_me: updating cache $cache_file" >&6;}
18680 if test ! -f "$cache_file" ||
test -h "$cache_file"; then
18681 cat confcache
>"$cache_file"
18683 case $cache_file in #(
18685 mv -f confcache
"$cache_file"$$
&&
18686 mv -f "$cache_file"$$
"$cache_file" ;; #(
18688 mv -f confcache
"$cache_file" ;;
18693 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
18694 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
18699 test "x$prefix" = xNONE
&& prefix
=$ac_default_prefix
18700 # Let make expand exec_prefix.
18701 test "x$exec_prefix" = xNONE
&& exec_prefix
='${prefix}'
18703 DEFS
=-DHAVE_CONFIG_H
18708 for ac_i
in : $LIBOBJS; do test "x$ac_i" = x
: && continue
18709 # 1. Remove the extension, and $U if already installed.
18710 ac_script
='s/\$U\././;s/\.o$//;s/\.obj$//'
18711 ac_i
=`$as_echo "$ac_i" | sed "$ac_script"`
18712 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
18713 # will be set to the directory where LIBOBJS objects are built.
18714 as_fn_append ac_libobjs
" \${LIBOBJDIR}$ac_i\$U.$ac_objext"
18715 as_fn_append ac_ltlibobjs
" \${LIBOBJDIR}$ac_i"'$U.lo'
18717 LIBOBJS
=$ac_libobjs
18719 LTLIBOBJS
=$ac_ltlibobjs
18723 : "${CONFIG_STATUS=./config.status}"
18725 ac_clean_files_save
=$ac_clean_files
18726 ac_clean_files
="$ac_clean_files $CONFIG_STATUS"
18727 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
18728 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
18730 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
18732 # Generated by $as_me.
18733 # Run this file to recreate the current configuration.
18734 # Compiler output produced by configure, useful for debugging
18735 # configure, is in config.log if it exists.
18738 ac_cs_recheck=false
18741 SHELL=\${CONFIG_SHELL-$SHELL}
18744 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail
=1
18745 ## -------------------- ##
18746 ## M4sh Initialization. ##
18747 ## -------------------- ##
18749 # Be more Bourne compatible
18750 DUALCASE
=1; export DUALCASE
# for MKS sh
18751 if test -n "${ZSH_VERSION+set}" && (emulate sh
) >/dev
/null
2>&1; then :
18754 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
18755 # is contrary to our usage. Disable this feature.
18756 alias -g '${1+"$@"}'='"$@"'
18757 setopt NO_GLOB_SUBST
18759 case `(set -o) 2>/dev/null` in #(
18771 # Printing a long string crashes Solaris 7 /usr/bin/printf.
18772 as_echo
='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
18773 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
18774 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
18775 # Prefer a ksh shell builtin over an external printf program on Solaris,
18776 # but without wasting forks for bash or zsh.
18777 if test -z "$BASH_VERSION$ZSH_VERSION" \
18778 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
18779 as_echo='print
-r --'
18780 as_echo_n='print
-rn --'
18781 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
18782 as_echo='printf %s
\n'
18783 as_echo_n='printf %s
'
18785 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
18786 as_echo_body='eval /usr
/ucb
/echo -n "$1$as_nl"'
18787 as_echo_n='/usr
/ucb
/echo -n'
18789 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
18790 as_echo_n_body='eval
18794 expr "X$arg" : "X\\(.*\\)$as_nl";
18795 arg
=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
18797 expr "X$arg" : "X\\(.*\\)" |
tr -d "$as_nl"
18799 export as_echo_n_body
18800 as_echo_n='sh
-c $as_echo_n_body as_echo
'
18802 export as_echo_body
18803 as_echo='sh
-c $as_echo_body as_echo
'
18806 # The user is always right.
18807 if test "${PATH_SEPARATOR+set}" != set; then
18809 (PATH='/bin
;/bin
'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
18810 (PATH='/bin
:/bin
'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
18817 # We need space, tab and new line, in precisely that order. Quoting is
18818 # there to prevent editors from complaining about space-tab.
18819 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
18820 # splitting by setting IFS to empty value.)
18823 # Find who we are. Look in the path if we contain no directory separator.
18826 *[\\/]* ) as_myself=$0 ;;
18827 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
18828 for as_dir in $PATH
18831 test -z "$as_dir" && as_dir=.
18832 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
18838 # We did not find ourselves, most probably we were run as `sh COMMAND'
18839 # in which case we are not to be found in the path.
18840 if test "x$as_myself" = x
; then
18843 if test ! -f "$as_myself"; then
18844 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
18848 # Unset variables that we do not need and which cause bugs (e.g. in
18849 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
18850 # suppresses any "Segmentation fault" message there. '((' could
18851 # trigger a bug in pdksh 5.2.14.
18852 for as_var
in BASH_ENV ENV MAIL MAILPATH
18853 do eval test x\
${$as_var+set} = xset \
18854 && ( (unset $as_var) ||
exit 1) >/dev
/null
2>&1 && unset $as_var ||
:
18867 (unset CDPATH
) >/dev
/null
2>&1 && unset CDPATH
18870 # as_fn_error STATUS ERROR [LINENO LOG_FD]
18871 # ----------------------------------------
18872 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
18873 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
18874 # script with STATUS, using 1 if that was 0.
18877 as_status
=$1; test $as_status -eq 0 && as_status
=1
18879 as_lineno
=${as_lineno-"$3"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
18880 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
18882 $as_echo "$as_me: error: $2" >&2
18883 as_fn_exit
$as_status
18887 # as_fn_set_status STATUS
18888 # -----------------------
18889 # Set $? to STATUS, without forking.
18890 as_fn_set_status
()
18893 } # as_fn_set_status
18895 # as_fn_exit STATUS
18896 # -----------------
18897 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
18901 as_fn_set_status
$1
18907 # Portably unset VAR.
18910 { eval $1=; unset $1;}
18912 as_unset
=as_fn_unset
18913 # as_fn_append VAR VALUE
18914 # ----------------------
18915 # Append the text in VALUE to the end of the definition contained in VAR. Take
18916 # advantage of any shell optimizations that allow amortized linear growth over
18917 # repeated appends, instead of the typical quadratic growth present in naive
18919 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev
/null
; then :
18920 eval 'as_fn_append ()
18931 # as_fn_arith ARG...
18932 # ------------------
18933 # Perform arithmetic evaluation on the ARGs, and store the result in the
18934 # global $as_val. Take advantage of shells that can avoid forks. The arguments
18935 # must be portable across $(()) and expr.
18936 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev
/null
; then :
18937 eval 'as_fn_arith ()
18944 as_val
=`expr "$@" || test $? -eq 1`
18949 if expr a
: '\(a\)' >/dev
/null
2>&1 &&
18950 test "X`expr 00001 : '.*\(...\)'`" = X001
; then
18956 if (basename -- /) >/dev
/null
2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
18957 as_basename
=basename
18962 if (as_dir
=`dirname -- /` && test "X$as_dir" = X
/) >/dev
/null
2>&1; then
18968 as_me
=`$as_basename -- "$0" ||
18969 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
18970 X"$0" : 'X\(//\)$' \| \
18971 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
18973 sed '/^.*\/\([^/][^/]*\)\/*$/{
18987 # Avoid depending upon Character Ranges.
18988 as_cr_letters
='abcdefghijklmnopqrstuvwxyz'
18989 as_cr_LETTERS
='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
18990 as_cr_Letters
=$as_cr_letters$as_cr_LETTERS
18991 as_cr_digits
='0123456789'
18992 as_cr_alnum
=$as_cr_Letters$as_cr_digits
18994 ECHO_C
= ECHO_N
= ECHO_T
=
18995 case `echo -n x` in #(((((
18997 case `echo 'xy\c'` in
18998 *c
*) ECHO_T
=' ';; # ECHO_T is single tab character.
19000 *) echo `echo ksh88 bug on AIX 6.1` > /dev
/null
19007 rm -f conf$$ conf$$.exe conf$$.
file
19008 if test -d conf$$.dir
; then
19009 rm -f conf$$.dir
/conf$$.
file
19012 mkdir conf$$.dir
2>/dev
/null
19014 if (echo >conf$$.
file) 2>/dev
/null
; then
19015 if ln -s conf$$.
file conf$$
2>/dev
/null
; then
19017 # ... but there are two gotchas:
19018 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
19019 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
19020 # In both cases, we have to default to `cp -pR'.
19021 ln -s conf$$.
file conf$$.dir
2>/dev
/null
&& test ! -f conf$$.exe ||
19023 elif ln conf$$.
file conf$$
2>/dev
/null
; then
19031 rm -f conf$$ conf$$.exe conf$$.dir
/conf$$.
file conf$$.
file
19032 rmdir conf$$.dir
2>/dev
/null
19037 # Create "$as_dir" as a directory, including parents if necessary.
19042 -*) as_dir
=.
/$as_dir;;
19044 test -d "$as_dir" ||
eval $as_mkdir_p ||
{
19048 *\'*) as_qdir
=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
19049 *) as_qdir
=$as_dir;;
19051 as_dirs
="'$as_qdir' $as_dirs"
19052 as_dir
=`$as_dirname -- "$as_dir" ||
19053 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
19054 X"$as_dir" : 'X\(//\)[^/]' \| \
19055 X"$as_dir" : 'X\(//\)$' \| \
19056 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
19057 $as_echo X"$as_dir" |
19058 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
19062 /^X\(\/\/\)[^/].*/{
19075 test -d "$as_dir" && break
19077 test -z "$as_dirs" ||
eval "mkdir $as_dirs"
19078 } ||
test -d "$as_dir" || as_fn_error $?
"cannot create directory $as_dir"
19082 if mkdir
-p .
2>/dev
/null
; then
19083 as_mkdir_p
='mkdir -p "$as_dir"'
19085 test -d .
/-p && rmdir .
/-p
19090 # as_fn_executable_p FILE
19091 # -----------------------
19092 # Test if FILE is an executable regular file.
19093 as_fn_executable_p
()
19095 test -f "$1" && test -x "$1"
19096 } # as_fn_executable_p
19097 as_test_x
='test -x'
19098 as_executable_p
=as_fn_executable_p
19100 # Sed expression to map a string onto a valid CPP name.
19101 as_tr_cpp
="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
19103 # Sed expression to map a string onto a valid variable name.
19104 as_tr_sh
="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
19108 ## ----------------------------------- ##
19109 ## Main body of $CONFIG_STATUS script. ##
19110 ## ----------------------------------- ##
19112 test $as_write_fail = 0 && chmod +x
$CONFIG_STATUS || ac_write_fail
=1
19114 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
19115 # Save the log message, to keep $0 and so on meaningful, and to
19116 # report actual input values of CONFIG_FILES etc. instead of their
19117 # values after options handling.
19119 This file was extended by Wine $as_me 1.9.20, which was
19120 generated by GNU Autoconf 2.69. Invocation command line was
19122 CONFIG_FILES = $CONFIG_FILES
19123 CONFIG_HEADERS = $CONFIG_HEADERS
19124 CONFIG_LINKS = $CONFIG_LINKS
19125 CONFIG_COMMANDS = $CONFIG_COMMANDS
19128 on `(hostname || uname -n) 2>/dev/null | sed 1q`
19133 case $ac_config_files in *"
19134 "*) set x
$ac_config_files; shift; ac_config_files
=$
*;;
19137 case $ac_config_headers in *"
19138 "*) set x
$ac_config_headers; shift; ac_config_headers
=$
*;;
19142 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
19143 # Files that config.status was made for.
19144 config_files="$ac_config_files"
19145 config_headers="$ac_config_headers"
19146 config_links="$ac_config_links"
19147 config_commands="$ac_config_commands"
19151 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
19153 \`$as_me' instantiates files and other configuration actions
19154 from templates according to the current configuration. Unless the files
19155 and actions are specified as TAGs, all are instantiated by default.
19157 Usage: $0 [OPTION]... [TAG]...
19159 -h, --help print this help, then exit
19160 -V, --version print version number and configuration settings, then exit
19161 --config print configuration, then exit
19162 -q, --quiet, --silent
19163 do not print progress messages
19164 -d, --debug don't remove temporary files
19165 --recheck update $as_me by reconfiguring in the same conditions
19166 --file=FILE[:TEMPLATE]
19167 instantiate the configuration file FILE
19168 --header=FILE[:TEMPLATE]
19169 instantiate the configuration header FILE
19171 Configuration files:
19174 Configuration headers:
19177 Configuration links:
19180 Configuration commands:
19183 Report bugs to <wine-devel@winehq.org>.
19184 Wine home page: <http://www.winehq.org>."
19187 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
19188 ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
19190 Wine config.status 1.9.20
19191 configured by $0, generated by GNU Autoconf 2.69,
19192 with options \\"\$ac_cs_config\\"
19194 Copyright (C) 2012 Free Software Foundation, Inc.
19195 This config.status script is free software; the Free Software Foundation
19196 gives unlimited permission to copy, distribute and modify it."
19200 test -n "\$AWK" || AWK=awk
19203 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
19204 # The default lists apply if the user does not specify any file.
19210 ac_option
=`expr "X$1" : 'X\([^=]*\)='`
19211 ac_optarg
=`expr "X$1" : 'X[^=]*=\(.*\)'`
19215 ac_option
=`expr "X$1" : 'X\([^=]*\)='`
19227 # Handling of the options.
19228 -recheck |
--recheck |
--rechec |
--reche |
--rech |
--rec |
--re |
--r)
19230 --version |
--versio |
--versi |
--vers |
--ver |
--ve |
--v |
-V )
19231 $as_echo "$ac_cs_version"; exit ;;
19232 --config |
--confi |
--conf |
--con |
--co |
--c )
19233 $as_echo "$ac_cs_config"; exit ;;
19234 --debug |
--debu |
--deb |
--de |
--d |
-d )
19236 --file |
--fil |
--fi |
--f )
19239 *\'*) ac_optarg
=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
19240 '') as_fn_error $?
"missing file argument" ;;
19242 as_fn_append CONFIG_FILES
" '$ac_optarg'"
19243 ac_need_defaults
=false
;;
19244 --header |
--heade |
--head |
--hea )
19247 *\'*) ac_optarg
=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
19249 as_fn_append CONFIG_HEADERS
" '$ac_optarg'"
19250 ac_need_defaults
=false
;;
19252 # Conflict between --help and --header
19253 as_fn_error $?
"ambiguous option: \`$1'
19254 Try \`$0 --help' for more information.";;
19255 --help |
--hel |
-h )
19256 $as_echo "$ac_cs_usage"; exit ;;
19257 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
19258 |
-silent |
--silent |
--silen |
--sile |
--sil |
--si |
--s)
19261 # This is an error.
19262 -*) as_fn_error $?
"unrecognized option: \`$1'
19263 Try \`$0 --help' for more information." ;;
19265 *) as_fn_append ac_config_targets
" $1"
19266 ac_need_defaults
=false
;;
19272 ac_configure_extra_args
=
19274 if $ac_cs_silent; then
19276 ac_configure_extra_args
="$ac_configure_extra_args --silent"
19280 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
19281 if \$ac_cs_recheck; then
19282 set X $SHELL '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
19284 \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
19285 CONFIG_SHELL='$SHELL'
19286 export CONFIG_SHELL
19291 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
19295 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
19296 ## Running $as_me. ##
19302 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
19306 wine_fn_output_makedep ()
19308 as_dir=tools; as_fn_mkdir_p
19309 $CC -Iinclude -I$srcdir/include -D__WINESRC__ $EXTRACFLAGS $CPPFLAGS $CFLAGS -o tools/makedep$ac_exeext $srcdir/tools/makedep.c $LDFLAGS
19311 wine_fn_output_makefile ()
19313 cat Make.tmp - <<\_WINE_EOF >\$tmp/makefile && mv -f \$tmp/makefile \$1 && rm -f Make.tmp && "$wine_makedep" && return
19314 `cat $wine_rules_file`
19316 as_fn_error $? "could not create Makefile" "$LINENO" 5
19321 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
19323 # Handling of arguments.
19324 for ac_config_target
in $ac_config_targets
19326 case $ac_config_target in
19327 "include/config.h") CONFIG_HEADERS
="$CONFIG_HEADERS include/config.h" ;;
19328 "include/stamp-h") CONFIG_COMMANDS
="$CONFIG_COMMANDS include/stamp-h" ;;
19329 "fonts/marlett.ttf") CONFIG_LINKS
="$CONFIG_LINKS fonts/marlett.ttf:fonts/marlett.ttf" ;;
19330 "fonts/symbol.ttf") CONFIG_LINKS
="$CONFIG_LINKS fonts/symbol.ttf:fonts/symbol.ttf" ;;
19331 "fonts/tahoma.ttf") CONFIG_LINKS
="$CONFIG_LINKS fonts/tahoma.ttf:fonts/tahoma.ttf" ;;
19332 "fonts/tahomabd.ttf") CONFIG_LINKS
="$CONFIG_LINKS fonts/tahomabd.ttf:fonts/tahomabd.ttf" ;;
19333 "fonts/wingding.ttf") CONFIG_LINKS
="$CONFIG_LINKS fonts/wingding.ttf:fonts/wingding.ttf" ;;
19334 "loader/l_intl.nls") CONFIG_LINKS
="$CONFIG_LINKS loader/l_intl.nls:loader/l_intl.nls" ;;
19335 "wine") CONFIG_LINKS
="$CONFIG_LINKS wine:tools/winewrapper" ;;
19336 "wine64") CONFIG_LINKS
="$CONFIG_LINKS wine64:tools/winewrapper" ;;
19337 "tools/makedep") CONFIG_COMMANDS
="$CONFIG_COMMANDS tools/makedep" ;;
19338 "Makefile") CONFIG_COMMANDS
="$CONFIG_COMMANDS Makefile" ;;
19339 "Make.tmp") CONFIG_FILES
="$CONFIG_FILES Make.tmp:Makefile.in" ;;
19341 *) as_fn_error $?
"invalid argument: \`$ac_config_target'" "$LINENO" 5;;
19346 # If the user did not use the arguments to specify the items to instantiate,
19347 # then the envvar interface is used. Set only those that are not.
19348 # We use the long form for the default assignment because of an extremely
19349 # bizarre bug on SunOS 4.1.3.
19350 if $ac_need_defaults; then
19351 test "${CONFIG_FILES+set}" = set || CONFIG_FILES
=$config_files
19352 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS
=$config_headers
19353 test "${CONFIG_LINKS+set}" = set || CONFIG_LINKS
=$config_links
19354 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS
=$config_commands
19357 # Have a temporary directory for convenience. Make it in the build tree
19358 # simply because there is no reason against having it here, and in addition,
19359 # creating and moving files from /tmp can sometimes cause problems.
19360 # Hook for its removal unless debugging.
19361 # Note that there is a small window in which the directory will not be cleaned:
19362 # after its creation but before its name has been assigned to `$tmp'.
19366 trap 'exit_status=$?
19367 : "${ac_tmp:=$tmp}"
19368 { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
19370 trap 'as_fn_exit 1' 1 2 13 15
19372 # Create a (secure) tmp directory for tmp files.
19375 tmp
=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
19379 tmp
=.
/conf$$
-$RANDOM
19380 (umask 077 && mkdir
"$tmp")
19381 } || as_fn_error $?
"cannot create a temporary directory in ." "$LINENO" 5
19384 # Set up the scripts for CONFIG_FILES section.
19385 # No need to generate them if there are no CONFIG_FILES.
19386 # This happens for instance with `./config.status config.h'.
19387 if test -n "$CONFIG_FILES"; then
19390 ac_cr
=`echo X | tr X '\015'`
19391 # On cygwin, bash can eat \r inside `` if the user requested igncr.
19392 # But we know of no other shell where ac_cr would be empty at this
19393 # point, so we can use a bashism as a fallback.
19394 if test "x$ac_cr" = x
; then
19395 eval ac_cr
=\$
\'\\r
\'
19397 ac_cs_awk_cr
=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
19398 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
19401 ac_cs_awk_cr
=$ac_cr
19404 echo 'BEGIN {' >"$ac_tmp/subs1.awk" &&
19409 echo "cat >conf$$subs.awk <<_ACEOF" &&
19410 echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
19412 } >conf$$subs.sh ||
19413 as_fn_error $? "could not
make $CONFIG_STATUS" "$LINENO" 5
19414 ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
19416 for ac_last_try in false false false false false :; do
19417 . ./conf$$subs.sh ||
19418 as_fn_error $? "could not
make $CONFIG_STATUS" "$LINENO" 5
19420 ac_delim_n=`sed -n "s
/.
*$ac_delim\$
/X
/p
" conf$$subs.awk | grep -c X`
19421 if test $ac_delim_n = $ac_delim_num; then
19423 elif $ac_last_try; then
19424 as_fn_error $? "could not
make $CONFIG_STATUS" "$LINENO" 5
19426 ac_delim="$ac_delim!$ac_delim _
$ac_delim!! "
19429 rm -f conf$$subs.sh
19431 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
19432 cat >>"\
$ac_tmp/subs1.
awk" <<\\_ACAWK &&
19436 s/^/S["/; s
/!.
*/"]=/
19446 s/\(.\{148\}\)..*/\1/
19448 s/["\\]/\\&/g
; s
/^
/"/; s/$/\\n"\\/
19453 s
/["\\]/\\&/g; s/^/"/; s
/$
/"\\/
19460 s/\(.\{148\}\)..*/\1/
19462 s/["\\]/\\&/g
; s
/^
/"/; s/$/"/
19466 s
/["\\]/\\&/g; s/^/"/; s
/$
/"\\/
19471 ' <conf$$subs.awk | sed '
19476 ' >>$CONFIG_STATUS || ac_write_fail=1
19477 rm -f conf$$subs.awk
19478 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
19480 cat >>"\
$ac_tmp/subs1.
awk" <<_ACAWK &&
19481 for (key in S) S_is_set[key] = 1
19487 nfields = split(line, field, "@
")
19489 len = length(field[1])
19490 for (i = 2; i < nfields; i++) {
19492 keylen = length(key)
19493 if (S_is_set[key]) {
19495 line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
19496 len += length(value) + length(field[++i])
19507 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
19508 if sed "s
/$ac_cr//" < /dev/null > /dev/null 2>&1; then
19509 sed "s
/$ac_cr\$
//; s
/$ac_cr/$ac_cs_awk_cr/g
"
19512 fi < "$ac_tmp/subs1.
awk" > "$ac_tmp/subs.
awk" \
19513 || as_fn_error $? "could not setup config files machinery
" "$LINENO" 5
19516 # VPATH may cause trouble with some makes, so we remove sole $(srcdir),
19517 # ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".
", strip leading and
19518 # trailing colons and then remove the whole line if VPATH becomes empty
19519 # (actually we leave an empty line to preserve line numbers).
19520 if test "x
$srcdir" = x.; then
19521 ac_vpsub='/^[ ]*VPATH[ ]*=[ ]*/{
19539 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
19540 fi # test -n "$CONFIG_FILES"
19542 # Set up the scripts for CONFIG_HEADERS section.
19543 # No need to generate them if there are no CONFIG_HEADERS.
19544 # This happens for instance with `./config.status Makefile'.
19545 if test -n "$CONFIG_HEADERS"; then
19546 cat >"$ac_tmp/defines.
awk" <<\_ACAWK ||
19550 # Transform confdefs.h into an awk script `defines.awk', embedded as
19551 # here-document in config.status, that substitutes the proper values into
19552 # config.h.in to produce config.h.
19554 # Create a delimiter string that does not exist in confdefs.h, to ease
19555 # handling of long lines.
19557 for ac_last_try in false false :; do
19558 ac_tt=`sed -n "/$ac_delim/p
" confdefs.h`
19559 if test -z "$ac_tt"; then
19561 elif $ac_last_try; then
19562 as_fn_error $? "could not
make $CONFIG_HEADERS" "$LINENO" 5
19564 ac_delim="$ac_delim!$ac_delim _
$ac_delim!! "
19568 # For the awk script, D is an array of macro values keyed by name,
19569 # likewise P contains macro parameters if any. Preserve backslash
19570 # newline sequences.
19572 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
19574 s/.\{148\}/&'"$ac_delim"'/g
19577 s/^[ ]*#[ ]*define[ ][ ]*/ /
19584 s
/^ \
('"$ac_word_re"'\
)\
(([^
()]*)\
)[ ]*\
(.
*\
)/P
["\1"]="\2"\
19586 s
/^ \
('"$ac_word_re"'\
)[ ]*\
(.
*\
)/D
["\1"]=" \2"/p
19590 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\
1"]="\
2"\
19591 D["\
1"]=" \
3\\\\\\n
"\\/p
19593 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\
1"]=" \
2\\\\\\n
"\\/p
19598 s/.\{148\}/&'"$ac_delim"'/g
19603 s/["\\]/\\&/g
; s
/^
/"/; s/$/"/p
19606 s
/["\\]/\\&/g; s/^/"/; s
/$
/\\\\\\n
"\\/p
19608 ' <confdefs.h | sed '
19609 s/'"$ac_delim"'/"\\\
19610 "/g' >>$CONFIG_STATUS || ac_write_fail=1
19612 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
19613 for (key in D) D_is_set[key] = 1
19616 /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
19618 split(line, arg, " ")
19619 if (arg[1] == "#") {
19623 defundef
= substr
(arg
[1], 2)
19626 split(mac1
, mac2
, "(") #)
19628 prefix
= substr
(line
, 1, index
(line
, defundef
) - 1)
19629 if (D_is_set
[macro
]) {
19630 # Preserve the white space surrounding the "#".
19631 print prefix
"define", macro P
[macro
] D
[macro
]
19634 # Replace #undef with comments. This is necessary, for example,
19635 # in the case of _POSIX_SOURCE, which is predefined and required
19636 # on some systems where configure will not decide to define it.
19637 if (defundef
== "undef") {
19638 print
"/*", prefix defundef
, macro
, "*/"
19646 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
19647 as_fn_error $?
"could not setup config headers machinery" "$LINENO" 5
19648 fi # test -n "$CONFIG_HEADERS"
19651 eval set X
" :F $CONFIG_FILES :H $CONFIG_HEADERS :L $CONFIG_LINKS :C $CONFIG_COMMANDS"
19656 :[FHLC
]) ac_mode
=$ac_tag; continue;;
19658 case $ac_mode$ac_tag in
19660 :L
* |
:C
*:*) as_fn_error $?
"invalid tag \`$ac_tag'" "$LINENO" 5;;
19661 :[FH
]-) ac_tag
=-:-;;
19662 :[FH
]*) ac_tag
=$ac_tag:$ac_tag.
in;;
19679 -) ac_f
="$ac_tmp/stdin";;
19680 *) # Look for the file first in the build tree, then in the source tree
19681 # (if the path is not absolute). The absolute path cannot be DOS-style,
19682 # because $ac_f cannot contain `:'.
19686 *) test -f "$srcdir/$ac_f" && ac_f
="$srcdir/$ac_f";;
19688 as_fn_error
1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
19690 case $ac_f in *\'*) ac_f
=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
19691 as_fn_append ac_file_inputs
" '$ac_f'"
19694 # Let's still pretend it is `configure' which instantiates (i.e., don't
19695 # use $as_me), people would be surprised to read:
19696 # /* config.h. Generated by config.status. */
19697 configure_input
='Generated from '`
19698 $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
19700 if test x
"$ac_file" != x-
; then
19701 configure_input
="$ac_file. $configure_input"
19702 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
19703 $as_echo "$as_me: creating $ac_file" >&6;}
19705 # Neutralize special characters interpreted by sed in replacement strings.
19706 case $configure_input in #(
19707 *\
&* |
*\|
* |
*\\* )
19708 ac_sed_conf_input
=`$as_echo "$configure_input" |
19709 sed 's/[\\\\&|]/\\\\&/g'`;; #(
19710 *) ac_sed_conf_input
=$configure_input;;
19714 *:-:* |
*:-) cat >"$ac_tmp/stdin" \
19715 || as_fn_error $?
"could not create $ac_file" "$LINENO" 5 ;;
19720 ac_dir
=`$as_dirname -- "$ac_file" ||
19721 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
19722 X"$ac_file" : 'X\(//\)[^/]' \| \
19723 X"$ac_file" : 'X\(//\)$' \| \
19724 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
19725 $as_echo X"$ac_file" |
19726 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
19730 /^X\(\/\/\)[^/].*/{
19743 as_dir
="$ac_dir"; as_fn_mkdir_p
19747 .
) ac_dir_suffix
= ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
19749 ac_dir_suffix
=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
19750 # A ".." for each directory in $ac_dir_suffix.
19751 ac_top_builddir_sub
=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
19752 case $ac_top_builddir_sub in
19753 "") ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
19754 *) ac_top_build_prefix
=$ac_top_builddir_sub/ ;;
19757 ac_abs_top_builddir
=$ac_pwd
19758 ac_abs_builddir
=$ac_pwd$ac_dir_suffix
19759 # for backward compatibility:
19760 ac_top_builddir
=$ac_top_build_prefix
19763 .
) # We are building in place.
19765 ac_top_srcdir
=$ac_top_builddir_sub
19766 ac_abs_top_srcdir
=$ac_pwd ;;
19767 [\\/]* | ?
:[\\/]* ) # Absolute name.
19768 ac_srcdir
=$srcdir$ac_dir_suffix;
19769 ac_top_srcdir
=$srcdir
19770 ac_abs_top_srcdir
=$srcdir ;;
19771 *) # Relative name.
19772 ac_srcdir
=$ac_top_build_prefix$srcdir$ac_dir_suffix
19773 ac_top_srcdir
=$ac_top_build_prefix$srcdir
19774 ac_abs_top_srcdir
=$ac_pwd/$srcdir ;;
19776 ac_abs_srcdir
=$ac_abs_top_srcdir$ac_dir_suffix
19787 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
19788 # If the template does not know about datarootdir, expand it.
19789 # FIXME: This hack should be removed a few years after 2.60.
19790 ac_datarootdir_hack
=; ac_datarootdir_seen
=
19801 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
19802 *datarootdir
*) ac_datarootdir_seen
=yes;;
19803 *@datadir@
*|
*@docdir@
*|
*@infodir@
*|
*@localedir@
*|
*@mandir@
*)
19804 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
19805 $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
19807 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
19808 ac_datarootdir_hack='
19809 s&@datadir@&$datadir&g
19810 s&@docdir@&$docdir&g
19811 s&@infodir@&$infodir&g
19812 s&@localedir@&$localedir&g
19813 s&@mandir@&$mandir&g
19814 s&\\\${datarootdir}&$datarootdir&g' ;;
19818 # Neutralize VPATH when `$srcdir' = `.'.
19819 # Shell code in configure.ac might set extrasub.
19820 # FIXME: do we really want to maintain this feature?
19821 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
19822 ac_sed_extra="$ac_vpsub
19825 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
19827 /@
[a-zA-Z_
][a-zA-Z_0-9
]*@
/!b
19828 s|@configure_input@|
$ac_sed_conf_input|
;t t
19829 s
&@top_builddir@
&$ac_top_builddir_sub&;t t
19830 s
&@top_build_prefix@
&$ac_top_build_prefix&;t t
19831 s
&@srcdir@
&$ac_srcdir&;t t
19832 s
&@abs_srcdir@
&$ac_abs_srcdir&;t t
19833 s
&@top_srcdir@
&$ac_top_srcdir&;t t
19834 s
&@abs_top_srcdir@
&$ac_abs_top_srcdir&;t t
19835 s
&@builddir@
&$ac_builddir&;t t
19836 s
&@abs_builddir@
&$ac_abs_builddir&;t t
19837 s
&@abs_top_builddir@
&$ac_abs_top_builddir&;t t
19838 $ac_datarootdir_hack
19840 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.
awk" \
19841 >$ac_tmp/out || as_fn_error $? "could not create
$ac_file" "$LINENO" 5
19843 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
19844 { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out
"`; test -n "$ac_out"; } &&
19845 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' \
19846 "$ac_tmp/out
"`; test -z "$ac_out"; } &&
19847 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: $ac_file contains a reference to the variable \
`datarootdir'
19848 which seems to be undefined. Please make sure it is defined" >&5
19849 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir
'
19850 which seems to be undefined. Please make sure it is defined" >&2;}
19852 rm -f "$ac_tmp/stdin"
19854 -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";;
19855 *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";;
19857 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
19863 if test x"$ac_file" != x-; then
19865 $as_echo "/* $configure_input */" \
19866 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs"
19867 } >"$ac_tmp/config.h" \
19868 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
19869 if diff "$ac_file" "$ac_tmp/config.h" >/dev/null 2>&1; then
19870 { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
19871 $as_echo "$as_me: $ac_file is unchanged" >&6;}
19874 mv "$ac_tmp/config.h" "$ac_file" \
19875 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
19878 $as_echo "/* $configure_input */" \
19879 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" \
19880 || as_fn_error $? "could not create -" "$LINENO" 5
19888 if test "$ac_source" = "$ac_file" && test "$srcdir" = '.
'; then
19891 # Prefer the file from the source tree if names are identical.
19892 if test "$ac_source" = "$ac_file" || test ! -r "$ac_source"; then
19893 ac_source=$srcdir/$ac_source
19896 { $as_echo "$as_me:${as_lineno-$LINENO}: linking $ac_source to $ac_file" >&5
19897 $as_echo "$as_me: linking $ac_source to $ac_file" >&6;}
19899 if test ! -r "$ac_source"; then
19900 as_fn_error $? "$ac_source: file not found" "$LINENO" 5
19904 # Try a relative symlink, then a hard link, then a copy.
19906 [\\/$]* | ?:[\\/]* ) ac_rel_source=$ac_source ;;
19907 *) ac_rel_source=$ac_top_build_prefix$ac_source ;;
19909 ln -s "$ac_rel_source" "$ac_file" 2>/dev/null ||
19910 ln "$ac_source" "$ac_file" 2>/dev/null ||
19911 cp -p "$ac_source" "$ac_file" ||
19912 as_fn_error $? "cannot link or copy $ac_source to $ac_file" "$LINENO" 5
19915 :C) { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
19916 $as_echo "$as_me: executing $ac_file commands" >&6;}
19921 case $ac_file$ac_mode in
19922 "include/stamp-h":C) echo timestamp > include/stamp-h ;;
19923 "tools/makedep":C) wine_fn_output_makedep || as_fn_exit $? ;;
19924 "Makefile":C) wine_fn_output_makefile Makefile ;;
19932 ac_clean_files=$ac_clean_files_save
19934 test $ac_write_fail = 0 ||
19935 as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5
19938 # configure is writing to config.log, and then calls config.status.
19939 # config.status does its own redirection, appending to config.log.
19940 # Unfortunately, on DOS this fails, as config.log is still kept open
19941 # by configure, so config.status won't be able to
write to it
; its
19942 # output is simply discarded. So we exec the FD to /dev/null,
19943 # effectively closing config.log, so it can be properly (re)opened and
19944 # appended to by config.status. When coming back to configure, we
19945 # need to make the FD available again.
19946 if test "$no_create" != yes; then
19948 ac_config_status_args
=
19949 test "$silent" = yes &&
19950 ac_config_status_args
="$ac_config_status_args --quiet"
19952 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success
=false
19954 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
19955 # would make configure fail if this is the last instruction.
19956 $ac_cs_success || as_fn_exit
1
19958 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no
; then
19959 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
19960 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
19964 if test "$no_create" = "yes"
19970 if test "x$wine_notices" != x
; then
19973 for msg
in $wine_notices; do
19975 if ${msg:+false} :; then :
19978 { $as_echo "$as_me:${as_lineno-$LINENO}: $msg" >&5
19979 $as_echo "$as_me: $msg" >&6;}
19984 for msg
in $wine_warnings; do
19986 if ${msg:+false} :; then :
19990 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $msg" >&5
19991 $as_echo "$as_me: WARNING: $msg" >&2;}
19997 $as_me: Finished. Do '${ac_make}' to compile Wine.